@siemens/ix 0.0.0-pr-2238-20251103105018 → 0.0.0-pr-2297-20251204163058
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/index.js +4 -4
- package/components/index.js.map +1 -1
- package/components/ix-action-card.js +4 -4
- package/components/ix-application-header.js +263 -1
- package/components/ix-application-header.js.map +1 -1
- package/components/ix-application-sidebar.js +1 -1
- package/components/ix-application-switch-modal.js +8 -8
- package/components/ix-application.js +5 -7
- package/components/ix-application.js.map +1 -1
- package/components/ix-avatar.js +1 -1
- package/components/ix-blind.js +8 -8
- package/components/ix-breadcrumb-item.js +1 -1
- package/components/ix-breadcrumb.js +7 -7
- package/components/ix-button.js +1 -1
- package/components/ix-card-accordion.js +1 -1
- package/components/ix-card-content.js +1 -1
- package/components/ix-card-list.js +12 -12
- package/components/ix-card-title.js +1 -1
- package/components/ix-card.js +1 -1
- package/components/ix-category-filter.js +21 -15
- package/components/ix-category-filter.js.map +1 -1
- package/components/ix-checkbox-group.js +8 -8
- package/components/ix-checkbox.js +6 -6
- package/components/ix-chip.js +10 -10
- package/components/ix-col.js +1 -1
- package/components/ix-content-header.js +8 -8
- package/components/ix-content.js +4 -4
- package/components/ix-css-grid-item.js +2 -2
- package/components/ix-css-grid.js +2 -2
- package/components/ix-custom-field.js +7 -7
- package/components/ix-date-dropdown.js +16 -16
- package/components/ix-date-input.js +34 -20
- package/components/ix-date-input.js.map +1 -1
- package/components/ix-date-picker.js +1 -1
- package/components/ix-date-time-card.js +1 -1
- package/components/ix-datetime-picker.js +14 -14
- package/components/ix-datetime-picker.js.map +1 -1
- package/components/ix-divider.js +1 -1
- package/components/ix-drawer.js +9 -9
- package/components/ix-dropdown-button.js +9 -9
- package/components/ix-dropdown-header.js +3 -3
- package/components/ix-dropdown-item.js +1 -1
- package/components/ix-dropdown-quick-actions.js +2 -2
- package/components/ix-dropdown.js +1 -1
- package/components/ix-empty-state.js +5 -5
- package/components/ix-event-list-item.js +6 -6
- package/components/ix-event-list.js +3 -3
- package/components/ix-expanding-search.js +8 -8
- 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 +2 -2
- package/components/ix-flip-tile.js +7 -7
- package/components/ix-group-context-menu.js +1 -1
- package/components/ix-group-item.js +1 -1
- package/components/ix-group.js +14 -14
- package/components/ix-helper-text.js +5 -5
- package/components/ix-icon-button.js +1 -1
- package/components/ix-icon-toggle-button.js +4 -4
- package/components/ix-input-group.js +2 -2
- package/components/ix-input.js +26 -15
- package/components/ix-input.js.map +1 -1
- package/components/ix-key-value-list.js +2 -2
- package/components/ix-key-value.js +2 -2
- package/components/ix-kpi.js +5 -5
- package/components/ix-layout-auto.js +2 -2
- package/components/ix-layout-grid.js +1 -1
- package/components/ix-link-button.js +6 -6
- package/components/ix-link-button.js.map +1 -1
- package/components/ix-menu-about-item.js +2 -2
- package/components/ix-menu-about-news.js +10 -10
- package/components/ix-menu-about.js +11 -9
- package/components/ix-menu-about.js.map +1 -1
- package/components/ix-menu-avatar-item.js +1 -1
- package/components/ix-menu-avatar.js +12 -12
- package/components/ix-menu-category.js +14 -14
- package/components/ix-menu-expand-icon.js +1 -1
- package/components/ix-menu-item.js +1 -1
- package/components/ix-menu-settings-item.js +2 -2
- package/components/ix-menu-settings.js +1 -1
- package/components/ix-menu.js +22 -32
- package/components/ix-menu.js.map +1 -1
- package/components/ix-message-bar.js +5 -5
- package/components/ix-modal-content.js +1 -1
- package/components/ix-modal-footer.js +2 -2
- package/components/ix-modal-header.js +1 -1
- package/components/ix-modal-loading.js +3 -3
- package/components/ix-modal.js +5 -5
- package/components/ix-number-input.js +172 -39
- package/components/ix-number-input.js.map +1 -1
- package/components/ix-pagination.js +45 -22
- package/components/ix-pagination.js.map +1 -1
- package/components/ix-pane-layout.js +2 -2
- package/components/ix-pane.js +11 -11
- package/components/ix-pill.js +7 -7
- package/components/ix-progress-indicator.js +7 -7
- package/components/ix-push-card.js +7 -7
- package/components/ix-radio-group.js +40 -9
- package/components/ix-radio-group.js.map +1 -1
- package/components/ix-radio.js +46 -20
- package/components/ix-radio.js.map +1 -1
- package/components/ix-row.js +1 -1
- package/components/ix-select-item.js +1 -1
- package/components/ix-select.js +1 -1
- package/components/ix-slider.js +10 -10
- package/components/ix-spinner.js +1 -1
- package/components/ix-split-button.js +32 -18
- 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 +9 -9
- package/components/ix-tile.js +5 -5
- package/components/ix-time-input.js +35 -21
- package/components/ix-time-input.js.map +1 -1
- package/components/ix-time-picker.js +1 -1
- package/components/ix-toast-container.js +7 -7
- package/components/ix-toast.js +1 -1
- package/components/ix-toggle-button.js +3 -3
- package/components/ix-toggle.js +6 -6
- package/components/ix-toggle.js.map +1 -1
- package/components/ix-tooltip.js +1 -1
- package/components/ix-tree-item.js +1 -1
- package/components/ix-tree.js +3 -3
- package/components/ix-typography.js +1 -1
- package/components/ix-upload.js +7 -7
- package/components/ix-validation-tooltip.js +3 -3
- package/components/ix-workflow-step.js +5 -5
- package/components/ix-workflow-steps.js +2 -2
- package/components/{p-BccEFWg2.js → p-10zMtvCF.js} +6 -6
- package/components/{p-BccEFWg2.js.map → p-10zMtvCF.js.map} +1 -1
- package/components/{p-CkrLmEP7.js → p-1pd_0dhF.js} +4 -4
- package/components/{p-CkrLmEP7.js.map → p-1pd_0dhF.js.map} +1 -1
- package/components/{p-BUIOrNGz.js → p-7E7AMiQV.js} +7 -7
- package/components/p-7E7AMiQV.js.map +1 -0
- package/components/{p-BNwXjBuF.js → p-B006bhbX.js} +4 -4
- package/components/{p-BNwXjBuF.js.map → p-B006bhbX.js.map} +1 -1
- package/components/{p-DrH8EeUB.js → p-B1p0kpQJ.js} +6 -6
- package/components/{p-DrH8EeUB.js.map → p-B1p0kpQJ.js.map} +1 -1
- package/components/{p-DOEb0lKA.js → p-B45tl2du.js} +4 -4
- package/components/{p-DOEb0lKA.js.map → p-B45tl2du.js.map} +1 -1
- package/components/{p-DgfGA7Z3.js → p-BBwXlKhE.js} +4 -4
- package/components/{p-DgfGA7Z3.js.map → p-BBwXlKhE.js.map} +1 -1
- package/components/{p-ciUqTzkB.js → p-BEDohapR.js} +6 -6
- package/components/{p-ciUqTzkB.js.map → p-BEDohapR.js.map} +1 -1
- package/components/{p-DsftMeEA.js → p-BGdI6-nv.js} +4 -4
- package/components/{p-DsftMeEA.js.map → p-BGdI6-nv.js.map} +1 -1
- package/components/{p-XiZWDi7n.js → p-BGjnKa2h.js} +4 -4
- package/components/{p-XiZWDi7n.js.map → p-BGjnKa2h.js.map} +1 -1
- package/components/{p-D1In20Wh.js → p-BI7B-PUA.js} +5 -5
- package/components/{p-D1In20Wh.js.map → p-BI7B-PUA.js.map} +1 -1
- package/components/{p-VMk3rl5y.js → p-BIg1TSrD.js} +9 -9
- package/components/{p-VMk3rl5y.js.map → p-BIg1TSrD.js.map} +1 -1
- package/components/{p-CCQYIDJK.js → p-BLeWaHpy.js} +7 -7
- package/components/{p-CCQYIDJK.js.map → p-BLeWaHpy.js.map} +1 -1
- package/components/{p-DBsESzrF.js → p-BOQ00Fbs.js} +70 -29
- package/components/p-BOQ00Fbs.js.map +1 -0
- package/components/{p-CO2zhw6V.js → p-BQk7HpA-.js} +3 -3
- package/components/{p-CO2zhw6V.js.map → p-BQk7HpA-.js.map} +1 -1
- package/components/{p-CtusOOtv.js → p-BR5ayBuu.js} +6 -6
- package/components/{p-CtusOOtv.js.map → p-BR5ayBuu.js.map} +1 -1
- package/components/{p--2LOMK-5.js → p-BhgW5qDm.js} +2 -3
- package/components/p-BhgW5qDm.js.map +1 -0
- package/components/{p-BaWdG-ph.js → p-BiqdnsgA.js} +20 -13
- package/components/p-BiqdnsgA.js.map +1 -0
- package/components/{p-BxNzvWr2.js → p-Bk0vKwmt.js} +5 -5
- package/components/{p-BxNzvWr2.js.map → p-Bk0vKwmt.js.map} +1 -1
- package/components/{p-Bvf7gwPU.js → p-BmMUyJRQ.js} +89 -53
- package/components/p-BmMUyJRQ.js.map +1 -0
- package/components/{p-taILGXkr.js → p-BvsadYCu.js} +3 -3
- package/components/{p-taILGXkr.js.map → p-BvsadYCu.js.map} +1 -1
- package/components/{p-BEzKnceP.js → p-Bye33cYU.js} +9 -9
- package/components/{p-BEzKnceP.js.map → p-Bye33cYU.js.map} +1 -1
- package/components/{p-BvKUU6Ta.js → p-C4KxNeD2.js} +4 -4
- package/components/{p-BvKUU6Ta.js.map → p-C4KxNeD2.js.map} +1 -1
- package/components/{p-Qsbo2ls8.js → p-C6_1qmP4.js} +5 -5
- package/components/{p-Qsbo2ls8.js.map → p-C6_1qmP4.js.map} +1 -1
- package/components/{p-CQhe_rqk.js → p-COWPG_SD.js} +6 -6
- package/components/p-COWPG_SD.js.map +1 -0
- package/components/{p-CFAI8dx_.js → p-CV_EVAOW.js} +3 -3
- package/components/{p-CFAI8dx_.js.map → p-CV_EVAOW.js.map} +1 -1
- package/components/{p-D_rmJU0n.js → p-CjDPpSJX.js} +16 -16
- package/components/p-CjDPpSJX.js.map +1 -0
- package/components/{p-DeBhxnHo.js → p-ClQxnZ3d.js} +8 -8
- package/components/{p-DeBhxnHo.js.map → p-ClQxnZ3d.js.map} +1 -1
- package/components/{p-DcjRXRwg.js → p-ColBHyXN.js} +7 -7
- package/components/{p-DcjRXRwg.js.map → p-ColBHyXN.js.map} +1 -1
- package/components/{p-0MSWDTqB.js → p-CrqgL2m1.js} +10 -6
- package/components/p-CrqgL2m1.js.map +1 -0
- package/components/{p-By1IU8iL.js → p-CvD2yWeJ.js} +5 -5
- package/components/{p-By1IU8iL.js.map → p-CvD2yWeJ.js.map} +1 -1
- package/components/{p-fahyavc3.js → p-CvF96Z51.js} +8 -8
- package/components/{p-fahyavc3.js.map → p-CvF96Z51.js.map} +1 -1
- package/components/{p-CKuNFgoe.js → p-D-__gyet.js} +3 -3
- package/components/{p-CKuNFgoe.js.map → p-D-__gyet.js.map} +1 -1
- package/components/{p-cw5RHost.js → p-DC9anobw.js} +8 -8
- package/components/{p-cw5RHost.js.map → p-DC9anobw.js.map} +1 -1
- package/components/{p-CHAuj3bi.js → p-DSTHZygb.js} +10 -10
- package/components/{p-CHAuj3bi.js.map → p-DSTHZygb.js.map} +1 -1
- package/components/{p-DLPEB4G8.js → p-DUU5I7wZ.js} +70 -45
- package/components/p-DUU5I7wZ.js.map +1 -0
- package/components/{p-IgT3dgxG.js → p-DXFN8JXp.js} +21 -10
- package/components/p-DXFN8JXp.js.map +1 -0
- package/components/{p-JUUSQc_M.js → p-D_4Mf9jE.js} +3 -3
- package/components/{p-JUUSQc_M.js.map → p-D_4Mf9jE.js.map} +1 -1
- package/components/{p-BWTF-D2w.js → p-Db0RazS2.js} +4 -4
- package/components/{p-BWTF-D2w.js.map → p-Db0RazS2.js.map} +1 -1
- package/components/{p-W_8b1-4d.js → p-DdLose3V.js} +3 -3
- package/components/{p-W_8b1-4d.js.map → p-DdLose3V.js.map} +1 -1
- package/components/{p-DzscKBhb.js → p-DlVaL0Yi.js} +9 -9
- package/components/{p-DzscKBhb.js.map → p-DlVaL0Yi.js.map} +1 -1
- package/components/{p-CJphMgA7.js → p-Dp03DeD0.js} +7 -7
- package/components/{p-CJphMgA7.js.map → p-Dp03DeD0.js.map} +1 -1
- package/components/{p-2fxFa_VL.js → p-Dq_H2flK.js} +10 -4
- package/components/p-Dq_H2flK.js.map +1 -0
- package/components/{p-jbrSDf3o.js → p-Dy6xvLn4.js} +5 -5
- package/components/{p-jbrSDf3o.js.map → p-Dy6xvLn4.js.map} +1 -1
- package/components/{p-FnN74Elm.js → p-MuPiaYr1.js} +3 -3
- package/components/{p-FnN74Elm.js.map → p-MuPiaYr1.js.map} +1 -1
- package/components/{p-CINrBR9H.js → p-N4h8LKe5.js} +4 -4
- package/components/{p-CINrBR9H.js.map → p-N4h8LKe5.js.map} +1 -1
- package/components/{p-C6MbjoUl.js → p-PpLLlogo.js} +8 -8
- package/components/{p-C6MbjoUl.js.map → p-PpLLlogo.js.map} +1 -1
- package/components/{p-xZXH2vKm.js → p-hwPzPVf8.js} +5 -5
- package/components/{p-xZXH2vKm.js.map → p-hwPzPVf8.js.map} +1 -1
- package/dist/cjs/{context-B8bRIFA2.js → context-CmNuiaNz.js} +2 -3
- package/dist/{esm/context-CKM5pVsv.js.map → cjs/context-CmNuiaNz.js.map} +1 -1
- package/dist/cjs/{helper-text-util-BlElJLxk.js → helper-text-util-D2W-yNmK.js} +8 -4
- package/dist/cjs/helper-text-util-D2W-yNmK.js.map +1 -0
- package/dist/cjs/index-C8Xo8L1k.js +6 -18
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/{input.util-4AhBphgX.js → input.fc-DrxRYq_G.js} +69 -43
- package/dist/cjs/input.fc-DrxRYq_G.js.map +1 -0
- package/dist/cjs/ix-application-header.cjs.entry.js +10 -15
- package/dist/cjs/ix-application-header.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-application.cjs.entry.js +4 -6
- package/dist/cjs/ix-application.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-avatar_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-blind.cjs.entry.js +5 -5
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-card-list.cjs.entry.js +4 -4
- package/dist/cjs/ix-card_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-category-filter.cjs.entry.js +14 -8
- package/dist/cjs/ix-category-filter.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-checkbox-group.cjs.entry.js +3 -3
- package/dist/cjs/ix-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/ix-chip.cjs.entry.js +4 -4
- 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 +10 -10
- package/dist/cjs/ix-content-header.cjs.entry.js +3 -3
- package/dist/cjs/ix-content.cjs.entry.js +3 -3
- package/dist/cjs/ix-css-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
- package/dist/cjs/ix-custom-field.cjs.entry.js +2 -2
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/ix-date-input.cjs.entry.js +24 -12
- package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -3
- package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
- package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-divider.cjs.entry.js +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +5 -5
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-item.cjs.entry.js +3 -3
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown.cjs.entry.js +2 -2
- 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_2.cjs.entry.js +5 -5
- 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 +3 -3
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-input.cjs.entry.js +21 -12
- package/dist/cjs/ix-input.entry.cjs.js.map +1 -1
- 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 +4 -4
- package/dist/cjs/ix-link-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-about.cjs.entry.js +6 -4
- package/dist/cjs/ix-menu-about.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-category.cjs.entry.js +6 -6
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-item.cjs.entry.js +4 -4
- package/dist/cjs/{ix-menu-settings-Cdqo0r8E.js → ix-menu-settings-CtWl0bME.js} +14 -7
- package/dist/cjs/ix-menu-settings-CtWl0bME.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 +13 -23
- package/dist/cjs/ix-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js +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 +3 -3
- package/dist/cjs/ix-number-input.cjs.entry.js +162 -34
- package/dist/cjs/ix-number-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pagination.cjs.entry.js +29 -7
- package/dist/cjs/ix-pagination.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
- package/dist/cjs/ix-pane.cjs.entry.js +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 +1 -1
- package/dist/cjs/ix-radio-group.cjs.entry.js +33 -3
- package/dist/cjs/ix-radio-group.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-radio.cjs.entry.js +43 -18
- package/dist/cjs/ix-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-select.cjs.entry.js +53 -14
- package/dist/cjs/ix-select.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-slider.cjs.entry.js +6 -6
- package/dist/cjs/ix-split-button.cjs.entry.js +24 -12
- package/dist/cjs/ix-split-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tab-item.ix-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +6 -6
- package/dist/cjs/ix-textarea.cjs.entry.js +6 -6
- package/dist/cjs/ix-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tile.cjs.entry.js +4 -4
- package/dist/cjs/ix-time-input.cjs.entry.js +24 -12
- package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-time-picker.cjs.entry.js +81 -45
- package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/ix-toast.cjs.entry.js +2 -2
- package/dist/cjs/ix-toggle.cjs.entry.js +4 -4
- package/dist/cjs/ix-toggle.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tooltip.cjs.entry.js +17 -6
- package/dist/cjs/ix-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-tree.cjs.entry.js +1 -1
- package/dist/cjs/ix-typography.cjs.entry.js +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +3 -3
- package/dist/cjs/ix-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/siemens-ix.cjs.js +1 -1
- package/dist/cjs/{validation-CfL71_0d.js → validation-DTmSqO2d.js} +9 -2
- package/dist/{esm/validation-D_dk-JqT.js.map → cjs/validation-DTmSqO2d.js.map} +1 -1
- package/dist/collection/collection-manifest.json +0 -3
- package/dist/collection/components/application/application.js +3 -5
- package/dist/collection/components/application/application.js.map +1 -1
- package/dist/collection/components/application-header/application-header.js +9 -14
- package/dist/collection/components/application-header/application-header.js.map +1 -1
- package/dist/collection/components/blind/blind.js +5 -5
- package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card-accordion/card-accordion.js +4 -4
- package/dist/collection/components/card-content/card-content.js +1 -1
- package/dist/collection/components/card-list/card-list.js +4 -4
- package/dist/collection/components/card-title/card-title.js +1 -1
- package/dist/collection/components/category-filter/category-filter.css +321 -50
- package/dist/collection/components/category-filter/category-filter.js +13 -7
- package/dist/collection/components/category-filter/category-filter.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/checkbox-group/checkbox-group.js +2 -2
- package/dist/collection/components/chip/chip.js +4 -4
- package/dist/collection/components/col/col.js +1 -1
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/content-header/content-header.js +3 -3
- package/dist/collection/components/css-grid/css-grid-item.js +1 -1
- package/dist/collection/components/css-grid/css-grid.js +1 -1
- package/dist/collection/components/custom-field/custom-field.js +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.js +4 -4
- package/dist/collection/components/date-input/date-input.js +60 -8
- package/dist/collection/components/date-input/date-input.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.css +6 -8
- package/dist/collection/components/date-picker/date-picker.js +5 -5
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-time-card/date-time-card.css +3 -2
- package/dist/collection/components/date-time-card/date-time-card.js +2 -2
- package/dist/collection/components/datetime-picker/datetime-picker.css +12 -1
- package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/drawer/drawer.js +5 -5
- package/dist/collection/components/dropdown/dropdown.js +2 -2
- package/dist/collection/components/dropdown-button/dropdown-button.js +3 -3
- package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/event-list/event-list.js +2 -2
- package/dist/collection/components/event-list-item/event-list-item.js +4 -4
- package/dist/collection/components/expanding-search/expanding-search.js +4 -4
- package/dist/collection/components/field-label/field-label.js +1 -1
- package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
- package/dist/collection/components/field-wrapper/helper-text-util.js +6 -2
- package/dist/collection/components/field-wrapper/helper-text-util.js.map +1 -1
- 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 +1 -1
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
- package/dist/collection/components/input/input.fc.js +10 -1
- package/dist/collection/components/input/input.fc.js.map +1 -1
- package/dist/collection/components/input/input.js +54 -5
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/input.util.js +20 -3
- package/dist/collection/components/input/input.util.js.map +1 -1
- package/dist/collection/components/input/number-input.js +228 -36
- package/dist/collection/components/input/number-input.js.map +1 -1
- 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.css +2 -8
- package/dist/collection/components/link-button/link-button.js +3 -3
- package/dist/collection/components/menu/menu-expand-icon.js +1 -1
- package/dist/collection/components/menu/menu.js +12 -22
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu-about/menu-about.js +6 -4
- 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 +2 -2
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
- package/dist/collection/components/menu-category/menu-category.js +5 -5
- package/dist/collection/components/menu-item/menu-item.js +4 -4
- package/dist/collection/components/menu-settings/menu-settings.js +6 -4
- 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.js +1 -1
- package/dist/collection/components/modal/modal.js +3 -3
- package/dist/collection/components/modal-content/modal-content.js +1 -1
- package/dist/collection/components/modal-footer/modal-footer.js +1 -1
- package/dist/collection/components/modal-header/modal-header.js +1 -1
- package/dist/collection/components/modal-loading/modal-loading.js +1 -1
- package/dist/collection/components/pagination/pagination.js +52 -7
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/pane/pane.js +6 -6
- package/dist/collection/components/pane-layout/pane-layout.js +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 +1 -1
- package/dist/collection/components/radio/radio.css +70 -72
- package/dist/collection/components/radio/radio.js +69 -18
- package/dist/collection/components/radio/radio.js.map +1 -1
- package/dist/collection/components/radio-group/radio-group.js +64 -2
- package/dist/collection/components/radio-group/radio-group.js.map +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/select/select.js +94 -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.js +6 -6
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +70 -12
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/tab-item/tab-item.css +1 -1
- package/dist/collection/components/tab-item/tab-item.js +3 -3
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tile/tile.js +4 -4
- package/dist/collection/components/time-input/time-input.js +61 -9
- package/dist/collection/components/time-input/time-input.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.css +20 -52
- package/dist/collection/components/time-picker/time-picker.js +83 -48
- package/dist/collection/components/time-picker/time-picker.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.types.js.map +1 -1
- package/dist/collection/components/toast/toast-container.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toggle/toggle.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.css +2 -3
- package/dist/collection/components/tooltip/tooltip.js +17 -6
- package/dist/collection/components/tooltip/tooltip.js.map +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/application-layout/context.js +0 -1
- package/dist/collection/components/utils/application-layout/context.js.map +1 -1
- package/dist/collection/components/utils/input/validation.js +6 -0
- package/dist/collection/components/utils/input/validation.js.map +1 -1
- package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js +6 -1
- package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js.map +1 -1
- package/dist/collection/components/utils/modal/index.js.map +1 -1
- package/dist/collection/components/utils/modal/loading.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/{context-CKM5pVsv.js → context-BniHpAE1.js} +2 -3
- package/dist/{cjs/context-B8bRIFA2.js.map → esm/context-BniHpAE1.js.map} +1 -1
- package/dist/esm/{helper-text-util-rnbkuaac.js → helper-text-util-gKdL-wH2.js} +9 -5
- package/dist/esm/helper-text-util-gKdL-wH2.js.map +1 -0
- package/dist/esm/{index-Cz75KU1f.js → index-8HpPmDK_.js} +3 -3
- package/dist/esm/{index-Cz75KU1f.js.map → index-8HpPmDK_.js.map} +1 -1
- package/dist/esm/index-CtoreFVF.js +6 -18
- package/dist/esm/{index--ZIr3Aqz.js → index-Kp5Wf9wr.js} +3 -3
- package/dist/esm/{index--ZIr3Aqz.js.map → index-Kp5Wf9wr.js.map} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{input.util-VHrSuCP7.js → input.fc-KJF8Z9iJ.js} +69 -44
- package/dist/esm/input.fc-KJF8Z9iJ.js.map +1 -0
- package/dist/esm/ix-application-header.entry.js +13 -18
- package/dist/esm/ix-application-header.entry.js.map +1 -1
- package/dist/esm/ix-application-switch-modal.entry.js +2 -2
- package/dist/esm/ix-application.entry.js +4 -6
- package/dist/esm/ix-application.entry.js.map +1 -1
- package/dist/esm/ix-avatar_2.entry.js +1 -1
- package/dist/esm/ix-blind.entry.js +6 -6
- package/dist/esm/ix-breadcrumb-item.entry.js +1 -1
- package/dist/esm/ix-breadcrumb.entry.js +2 -2
- package/dist/esm/ix-card-accordion_2.entry.js +6 -6
- package/dist/esm/ix-card-list.entry.js +5 -5
- package/dist/esm/ix-card_2.entry.js +3 -3
- package/dist/esm/ix-category-filter.entry.js +15 -9
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-checkbox-group.entry.js +3 -3
- package/dist/esm/ix-checkbox.entry.js +4 -4
- package/dist/esm/ix-chip.entry.js +5 -5
- package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
- package/dist/esm/ix-col_4.entry.js +11 -11
- package/dist/esm/ix-content-header.entry.js +4 -4
- package/dist/esm/ix-content.entry.js +3 -3
- package/dist/esm/ix-css-grid-item.entry.js +1 -1
- package/dist/esm/ix-css-grid.entry.js +1 -1
- package/dist/esm/ix-custom-field.entry.js +2 -2
- package/dist/esm/ix-date-dropdown.entry.js +5 -5
- package/dist/esm/ix-date-input.entry.js +21 -9
- package/dist/esm/ix-date-input.entry.js.map +1 -1
- package/dist/esm/ix-date-time-card.entry.js +3 -3
- package/dist/esm/ix-date-time-card.entry.js.map +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +2 -2
- package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
- package/dist/esm/ix-divider.entry.js +1 -1
- package/dist/esm/ix-drawer.entry.js +6 -6
- package/dist/esm/ix-dropdown-button.entry.js +4 -4
- package/dist/esm/ix-dropdown-header.entry.js +1 -1
- package/dist/esm/ix-dropdown-item.entry.js +4 -4
- package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
- package/dist/esm/ix-dropdown.entry.js +2 -2
- package/dist/esm/ix-empty-state.entry.js +1 -1
- package/dist/esm/ix-event-list-item.entry.js +5 -5
- package/dist/esm/ix-event-list.entry.js +2 -2
- package/dist/esm/ix-expanding-search.entry.js +5 -5
- package/dist/esm/ix-field-label_2.entry.js +6 -6
- package/dist/esm/ix-filter-chip_2.entry.js +3 -3
- package/dist/esm/ix-flip-tile-content.entry.js +1 -1
- package/dist/esm/ix-flip-tile.entry.js +4 -4
- package/dist/esm/ix-group-context-menu_2.entry.js +2 -2
- package/dist/esm/ix-group.entry.js +9 -9
- package/dist/esm/ix-helper-text.entry.js +4 -4
- package/dist/esm/ix-icon-button_2.entry.js +2 -2
- package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
- package/dist/esm/ix-input-group.entry.js +1 -1
- package/dist/esm/ix-input.entry.js +17 -8
- package/dist/esm/ix-input.entry.js.map +1 -1
- 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 +4 -4
- package/dist/esm/ix-layout-auto.entry.js +1 -1
- package/dist/esm/ix-link-button.entry.js +5 -5
- package/dist/esm/ix-link-button.entry.js.map +1 -1
- package/dist/esm/ix-menu-about-item.entry.js +1 -1
- package/dist/esm/ix-menu-about-news.entry.js +5 -5
- package/dist/esm/ix-menu-about.entry.js +7 -5
- package/dist/esm/ix-menu-about.entry.js.map +1 -1
- package/dist/esm/ix-menu-avatar.entry.js +3 -3
- package/dist/esm/ix-menu-category.entry.js +7 -7
- package/dist/esm/ix-menu-expand-icon.entry.js +2 -2
- package/dist/esm/ix-menu-item.entry.js +5 -5
- package/dist/esm/{ix-menu-settings-DRSkDgox.js → ix-menu-settings-f9o5GGw5.js} +15 -8
- package/dist/esm/ix-menu-settings-f9o5GGw5.js.map +1 -0
- package/dist/esm/ix-menu-settings-item.entry.js +1 -1
- package/dist/esm/ix-menu-settings.entry.js +2 -2
- package/dist/esm/ix-menu.entry.js +16 -26
- package/dist/esm/ix-menu.entry.js.map +1 -1
- package/dist/esm/ix-message-bar.entry.js +2 -2
- package/dist/esm/ix-modal-content_2.entry.js +3 -3
- package/dist/esm/ix-modal-footer.entry.js +1 -1
- package/dist/esm/ix-modal-loading.entry.js +1 -1
- package/dist/esm/ix-modal.entry.js +3 -3
- package/dist/esm/ix-number-input.entry.js +160 -32
- package/dist/esm/ix-number-input.entry.js.map +1 -1
- package/dist/esm/ix-pagination.entry.js +30 -8
- package/dist/esm/ix-pagination.entry.js.map +1 -1
- package/dist/esm/ix-pane-layout.entry.js +1 -1
- package/dist/esm/ix-pane.entry.js +7 -7
- package/dist/esm/ix-pill.entry.js +4 -4
- package/dist/esm/ix-progress-indicator.entry.js +4 -4
- package/dist/esm/ix-push-card.entry.js +1 -1
- package/dist/esm/ix-radio-group.entry.js +33 -3
- package/dist/esm/ix-radio-group.entry.js.map +1 -1
- package/dist/esm/ix-radio.entry.js +43 -18
- package/dist/esm/ix-radio.entry.js.map +1 -1
- package/dist/esm/ix-select.entry.js +54 -15
- package/dist/esm/ix-select.entry.js.map +1 -1
- package/dist/esm/ix-slider.entry.js +6 -6
- package/dist/esm/ix-split-button.entry.js +25 -13
- 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 +7 -7
- package/dist/esm/ix-textarea.entry.js +4 -4
- package/dist/esm/ix-tile.entry.js +4 -4
- package/dist/esm/ix-time-input.entry.js +22 -10
- package/dist/esm/ix-time-input.entry.js.map +1 -1
- package/dist/esm/ix-time-picker.entry.js +81 -45
- package/dist/esm/ix-time-picker.entry.js.map +1 -1
- package/dist/esm/ix-toast-container.entry.js +2 -2
- package/dist/esm/ix-toast.entry.js +3 -3
- package/dist/esm/ix-toggle.entry.js +4 -4
- package/dist/esm/ix-toggle.entry.js.map +1 -1
- package/dist/esm/ix-tooltip.entry.js +17 -6
- package/dist/esm/ix-tooltip.entry.js.map +1 -1
- package/dist/esm/ix-tree-item.entry.js +5 -5
- package/dist/esm/ix-tree.entry.js +1 -1
- package/dist/esm/ix-typography.entry.js +1 -1
- package/dist/esm/ix-upload.entry.js +4 -4
- package/dist/esm/ix-validation-tooltip.entry.js +2 -2
- package/dist/esm/ix-workflow-step.entry.js +4 -4
- package/dist/esm/ix-workflow-steps.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{modal-D9BaTrTa.js → modal-BTxff2hq.js} +3 -3
- package/dist/esm/{modal-D9BaTrTa.js.map → modal-BTxff2hq.js.map} +1 -1
- package/dist/esm/siemens-ix.js +1 -1
- package/dist/esm/{validation-D_dk-JqT.js → validation-LJh16vt2.js} +9 -3
- package/dist/{cjs/validation-CfL71_0d.js.map → esm/validation-LJh16vt2.js.map} +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-application-header.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-application.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-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-time-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-datetime-picker.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-link-button.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.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-number-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pagination.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-radio-group.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-radio.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-select.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-time-picker.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-toggle.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-tooltip.entry.esm.js.map +1 -1
- package/dist/siemens-ix/p-0411df39.entry.js +2 -0
- package/dist/siemens-ix/p-051f428c.entry.js +2 -0
- package/dist/siemens-ix/{p-f753f1f5.entry.js.map → p-051f428c.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-6f152ed2.entry.js → p-06a2c69b.entry.js} +2 -2
- package/dist/siemens-ix/p-07c079fd.entry.js +2 -0
- package/dist/siemens-ix/{p-f29f280b.entry.js.map → p-07c079fd.entry.js.map} +1 -1
- package/dist/siemens-ix/p-0c325f08.entry.js +2 -0
- package/dist/siemens-ix/p-0c325f08.entry.js.map +1 -0
- package/dist/siemens-ix/{p-7e6beda5.entry.js → p-0ce03ad3.entry.js} +2 -2
- package/dist/siemens-ix/{p-17a74a48.entry.js → p-0d621531.entry.js} +2 -2
- package/dist/siemens-ix/p-0eca5a77.entry.js +2 -0
- package/dist/siemens-ix/{p-75d8b192.entry.js.map → p-0eca5a77.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-f9b4e5f1.entry.js → p-162a4cc0.entry.js} +2 -2
- package/dist/siemens-ix/{p-337a3457.entry.js → p-196cffb5.entry.js} +2 -2
- package/dist/siemens-ix/{p-3acbbe01.entry.js → p-1de1a2bf.entry.js} +2 -2
- package/dist/siemens-ix/{p-89449e22.entry.js → p-2597a988.entry.js} +2 -2
- package/dist/siemens-ix/{p-4b1745dc.entry.js → p-26c629c3.entry.js} +2 -2
- package/dist/siemens-ix/p-26c629c3.entry.js.map +1 -0
- package/dist/siemens-ix/{p-e825a921.entry.js → p-2ffde2d5.entry.js} +2 -2
- package/dist/siemens-ix/{p-759ba03d.entry.js → p-31a8eaf9.entry.js} +2 -2
- package/dist/siemens-ix/p-33b3ed5b.entry.js +2 -0
- package/dist/siemens-ix/p-33b3ed5b.entry.js.map +1 -0
- package/dist/siemens-ix/{p-7cf61ff6.entry.js → p-33fcea65.entry.js} +2 -2
- package/dist/siemens-ix/p-35d6b656.entry.js +2 -0
- package/dist/siemens-ix/p-35d6b656.entry.js.map +1 -0
- package/dist/siemens-ix/{p-34e530b9.entry.js → p-367df024.entry.js} +2 -2
- package/dist/siemens-ix/{p-67e4f814.entry.js → p-37bd983a.entry.js} +2 -2
- package/dist/siemens-ix/{p-a02e0685.entry.js → p-38e45020.entry.js} +2 -2
- package/dist/siemens-ix/{p-fabcc5f5.entry.js → p-396e1f3d.entry.js} +2 -2
- package/dist/siemens-ix/p-3ce5fd87.entry.js +2 -0
- package/dist/siemens-ix/p-3ce5fd87.entry.js.map +1 -0
- package/dist/siemens-ix/p-3f62166e.entry.js +2 -0
- package/dist/siemens-ix/{p-9d135d59.entry.js.map → p-3f62166e.entry.js.map} +1 -1
- package/dist/siemens-ix/p-425d6925.entry.js +2 -0
- package/dist/siemens-ix/{p-9c862819.entry.js → p-4431f891.entry.js} +2 -2
- package/dist/siemens-ix/{p-9c862819.entry.js.map → p-4431f891.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-db9d5872.entry.js → p-484bddf4.entry.js} +2 -2
- package/dist/siemens-ix/{p-51786593.entry.js → p-496e98ac.entry.js} +2 -2
- package/dist/siemens-ix/{p-7388d2ee.entry.js → p-4c18f123.entry.js} +2 -2
- package/dist/siemens-ix/{p-548a2231.entry.js → p-4c1f90cb.entry.js} +2 -2
- package/dist/siemens-ix/{p-3b314194.entry.js → p-4e4d792d.entry.js} +2 -2
- package/dist/siemens-ix/p-4e77d861.entry.js +2 -0
- package/dist/siemens-ix/{p-d8fb5a86.entry.js → p-5779f16e.entry.js} +2 -2
- package/dist/siemens-ix/{p-48cbacaf.entry.js → p-5b57bde1.entry.js} +2 -2
- package/dist/siemens-ix/{p-aa6368b4.entry.js → p-667e3184.entry.js} +2 -2
- package/dist/siemens-ix/p-68aaf0fe.entry.js +2 -0
- package/dist/siemens-ix/p-68aaf0fe.entry.js.map +1 -0
- package/dist/siemens-ix/{p-538843d4.entry.js → p-6a4bc78a.entry.js} +2 -2
- package/dist/siemens-ix/{p-4b65234d.entry.js → p-6dc6eb63.entry.js} +2 -2
- package/dist/siemens-ix/p-70af7f44.entry.js +2 -0
- package/dist/siemens-ix/{p-788e1ef8.entry.js → p-74e7b03f.entry.js} +2 -2
- package/dist/siemens-ix/{p-e562ffb2.entry.js → p-77fd2138.entry.js} +2 -2
- package/dist/siemens-ix/{p-0d4f0223.entry.js → p-7827c263.entry.js} +2 -2
- package/dist/siemens-ix/p-79537728.entry.js +2 -0
- package/dist/siemens-ix/p-79537728.entry.js.map +1 -0
- package/dist/siemens-ix/{p-a4d6ee80.entry.js → p-7bad0544.entry.js} +2 -2
- package/dist/siemens-ix/{p-e25aa385.entry.js → p-7beba4ad.entry.js} +2 -2
- package/dist/siemens-ix/p-7beba4ad.entry.js.map +1 -0
- package/dist/siemens-ix/p-8418f756.entry.js +2 -0
- package/dist/siemens-ix/p-8418f756.entry.js.map +1 -0
- package/dist/siemens-ix/{p-Cz75KU1f.js → p-8HpPmDK_.js} +2 -2
- package/dist/siemens-ix/{p-Cz75KU1f.js.map → p-8HpPmDK_.js.map} +1 -1
- package/dist/siemens-ix/p-8b42ad35.entry.js +2 -0
- package/dist/siemens-ix/{p-5e86944d.entry.js.map → p-8b42ad35.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-784c6dd6.entry.js → p-8ce61408.entry.js} +2 -2
- package/dist/siemens-ix/{p-c0064123.entry.js → p-8f17f6ec.entry.js} +2 -2
- package/dist/siemens-ix/{p-67766c28.entry.js → p-8f9368b8.entry.js} +2 -2
- package/dist/siemens-ix/p-8fa8d0e3.entry.js +2 -0
- package/dist/siemens-ix/{p-3472fc1a.entry.js → p-8fc2bea6.entry.js} +2 -2
- package/dist/siemens-ix/{p-9e7223f6.entry.js → p-905d4977.entry.js} +2 -2
- package/dist/siemens-ix/p-92ec7f27.entry.js +2 -0
- package/dist/siemens-ix/{p-CpVbQsUI.js → p-BC0Exw_O.js} +2 -2
- package/dist/siemens-ix/{p-CpVbQsUI.js.map → p-BC0Exw_O.js.map} +1 -1
- package/dist/siemens-ix/{p-sxLz5AVO.js → p-BcCDexod.js} +2 -2
- package/dist/siemens-ix/p-BcCDexod.js.map +1 -0
- package/dist/siemens-ix/{p--2LOMK-5.js → p-BhgW5qDm.js} +2 -2
- package/dist/siemens-ix/{p--2LOMK-5.js.map → p-BhgW5qDm.js.map} +1 -1
- package/dist/siemens-ix/{p-CAj3Tlcn.js → p-C7nQNUsO.js} +2 -2
- package/dist/siemens-ix/{p-CAj3Tlcn.js.map → p-C7nQNUsO.js.map} +1 -1
- package/dist/siemens-ix/{p-DRnSC9aV.js → p-CObJ-t0Z.js} +2 -2
- package/dist/siemens-ix/{p-DRnSC9aV.js.map → p-CObJ-t0Z.js.map} +1 -1
- package/dist/siemens-ix/p-Cn013Iz8.js +2 -0
- package/dist/siemens-ix/p-Cn013Iz8.js.map +1 -0
- package/dist/siemens-ix/p-DaswuiGO.js +2 -0
- package/dist/siemens-ix/p-DaswuiGO.js.map +1 -0
- package/dist/siemens-ix/p-a3baca2f.entry.js +2 -0
- package/dist/siemens-ix/{p-0e2b89f2.entry.js → p-a4225101.entry.js} +2 -2
- package/dist/siemens-ix/p-a61972c5.entry.js +2 -0
- package/dist/siemens-ix/{p-2180ddb8.entry.js.map → p-a61972c5.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-20ad8d1e.entry.js → p-b27a9744.entry.js} +2 -2
- package/dist/siemens-ix/{p-fea12773.entry.js → p-b3453edf.entry.js} +2 -2
- package/dist/siemens-ix/{p-556417c6.entry.js → p-b41a7abb.entry.js} +2 -2
- package/dist/siemens-ix/{p-957d0d0b.entry.js → p-b76df1c7.entry.js} +2 -2
- package/dist/siemens-ix/{p-65842e35.entry.js → p-b7ef70d4.entry.js} +2 -2
- package/dist/siemens-ix/{p-b7c5ab43.entry.js → p-b8f4b001.entry.js} +2 -2
- package/dist/siemens-ix/p-b8f4b001.entry.js.map +1 -0
- package/dist/siemens-ix/{p-2f54ce99.entry.js → p-b9880608.entry.js} +2 -2
- package/dist/siemens-ix/p-ba9ed3d1.entry.js +2 -0
- package/dist/siemens-ix/p-ba9ed3d1.entry.js.map +1 -0
- package/dist/siemens-ix/p-c15e64a8.entry.js +2 -0
- package/dist/siemens-ix/p-c15e64a8.entry.js.map +1 -0
- package/dist/siemens-ix/{p-467c0fff.entry.js → p-c43b201b.entry.js} +2 -2
- package/dist/siemens-ix/{p-fc3071d0.entry.js → p-c5c863e1.entry.js} +2 -2
- package/dist/siemens-ix/{p-d1941577.entry.js → p-c94739d0.entry.js} +2 -2
- package/dist/siemens-ix/{p-04f1b89a.entry.js → p-ca3b24b1.entry.js} +2 -2
- package/dist/siemens-ix/p-ca43aa61.entry.js +2 -0
- package/dist/siemens-ix/{p-58219b7e.entry.js → p-cd1afcc9.entry.js} +2 -2
- package/dist/siemens-ix/{p-d4ba3f9f.entry.js → p-cf041cfd.entry.js} +2 -2
- package/dist/siemens-ix/{p-80f55403.entry.js → p-d10b9798.entry.js} +2 -2
- package/dist/siemens-ix/{p-ecff1e2f.entry.js → p-d193381f.entry.js} +2 -2
- package/dist/siemens-ix/{p-f3b485de.entry.js → p-d2c18c15.entry.js} +2 -2
- package/dist/siemens-ix/p-d2c18c15.entry.js.map +1 -0
- package/dist/siemens-ix/{p-dff78943.entry.js → p-d3a60c52.entry.js} +2 -2
- package/dist/siemens-ix/p-d688f76e.entry.js +2 -0
- package/dist/siemens-ix/{p-d49f7ae4.entry.js.map → p-d688f76e.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-41b9392e.entry.js → p-da3a9845.entry.js} +2 -2
- package/dist/siemens-ix/p-dc8de6cb.entry.js +2 -0
- package/dist/siemens-ix/p-dc8de6cb.entry.js.map +1 -0
- package/dist/siemens-ix/p-de12078d.entry.js +2 -0
- package/dist/siemens-ix/{p-608b3631.entry.js.map → p-de12078d.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-94fa5d00.entry.js → p-df6bb698.entry.js} +2 -2
- package/dist/siemens-ix/{p-85f3aa13.entry.js → p-e0b9cf68.entry.js} +2 -2
- package/dist/siemens-ix/{p-81120f11.entry.js → p-e42f62a1.entry.js} +2 -2
- package/dist/siemens-ix/{p-da6a27c1.entry.js → p-e48977ed.entry.js} +2 -2
- package/dist/siemens-ix/{p-2db36aa6.entry.js → p-e7bdc0a0.entry.js} +2 -2
- package/dist/siemens-ix/p-e7bdc0a0.entry.js.map +1 -0
- package/dist/siemens-ix/{p-1f5befb2.entry.js → p-ea15fc79.entry.js} +2 -2
- package/dist/siemens-ix/{p-4448252f.entry.js → p-ea37abf6.entry.js} +2 -2
- package/dist/siemens-ix/{p-b5e0ddb3.entry.js → p-ea410634.entry.js} +2 -2
- package/dist/siemens-ix/{p-39950a1c.entry.js → p-eba7f62c.entry.js} +2 -2
- package/dist/siemens-ix/{p-9d8fb7dd.entry.js → p-f119c105.entry.js} +2 -2
- package/dist/siemens-ix/p-fb8877bc.entry.js +2 -0
- package/dist/siemens-ix/p-fb8877bc.entry.js.map +1 -0
- package/dist/siemens-ix/{p-347fcf94.entry.js → p-fc73c8cc.entry.js} +2 -2
- package/dist/siemens-ix/{p-79798af1.entry.js → p-ff83eafd.entry.js} +2 -2
- package/dist/siemens-ix/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix.css +2 -22
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/date-input/date-input.d.ts +10 -0
- package/dist/types/components/field-wrapper/helper-text-util.d.ts +5 -1
- package/dist/types/components/input/input.d.ts +9 -0
- package/dist/types/components/input/input.fc.d.ts +6 -0
- package/dist/types/components/input/input.util.d.ts +1 -0
- package/dist/types/components/input/number-input.d.ts +31 -5
- package/dist/types/components/menu-about/menu-about.d.ts +1 -1
- package/dist/types/components/menu-settings/menu-settings.d.ts +1 -1
- package/dist/types/components/pagination/pagination.d.ts +8 -0
- package/dist/types/components/radio/radio.d.ts +3 -2
- package/dist/types/components/radio-group/radio-group.d.ts +3 -0
- package/dist/types/components/select/select.d.ts +11 -0
- package/dist/types/components/split-button/split-button.d.ts +15 -4
- package/dist/types/components/time-input/time-input.d.ts +10 -0
- package/dist/types/components/time-picker/time-picker.d.ts +8 -2
- package/dist/types/components/tooltip/tooltip.d.ts +2 -1
- package/dist/types/components/utils/application-layout/context.d.ts +0 -1
- package/dist/types/components/utils/input/validation.d.ts +1 -0
- package/dist/types/components/utils/menu-tabs/menu-tabs-utils.d.ts +1 -0
- package/dist/types/components/utils/modal/index.d.ts +1 -1
- package/dist/types/components/utils/modal/loading.d.ts +4 -0
- package/dist/types/components.d.ts +162 -241
- package/hydrate/index.js +835 -791
- package/hydrate/index.mjs +835 -791
- package/package.json +1 -1
- package/scss/components/_links.scss +2 -5
- package/scss/mixins/_input.scss +2 -2
- package/scss/theme/classic/dark/_variables.scss +1 -1
- package/scss/theme/core/_components.scss +0 -2
- package/components/ix-basic-navigation.d.ts +0 -11
- package/components/ix-basic-navigation.js +0 -156
- package/components/ix-basic-navigation.js.map +0 -1
- package/components/ix-map-navigation-overlay.d.ts +0 -11
- package/components/ix-map-navigation-overlay.js +0 -9
- package/components/ix-map-navigation-overlay.js.map +0 -1
- package/components/ix-map-navigation.d.ts +0 -11
- package/components/ix-map-navigation.js +0 -240
- package/components/ix-map-navigation.js.map +0 -1
- package/components/p--2LOMK-5.js.map +0 -1
- package/components/p-0MSWDTqB.js.map +0 -1
- package/components/p-2fxFa_VL.js.map +0 -1
- package/components/p-BUIOrNGz.js.map +0 -1
- package/components/p-BaWdG-ph.js.map +0 -1
- package/components/p-Bvf7gwPU.js.map +0 -1
- package/components/p-CQhe_rqk.js.map +0 -1
- package/components/p-DBsESzrF.js.map +0 -1
- package/components/p-DLPEB4G8.js.map +0 -1
- package/components/p-D_rmJU0n.js.map +0 -1
- package/components/p-IgT3dgxG.js.map +0 -1
- package/components/p-UEMLzDk6.js +0 -92
- package/components/p-UEMLzDk6.js.map +0 -1
- package/components/p-yuZO1O90.js +0 -273
- package/components/p-yuZO1O90.js.map +0 -1
- package/dist/cjs/helper-text-util-BlElJLxk.js.map +0 -1
- package/dist/cjs/input.util-4AhBphgX.js.map +0 -1
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +0 -93
- package/dist/cjs/ix-basic-navigation.entry.cjs.js.map +0 -1
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +0 -56
- package/dist/cjs/ix-map-navigation-overlay.entry.cjs.js.map +0 -1
- package/dist/cjs/ix-map-navigation.cjs.entry.js +0 -169
- package/dist/cjs/ix-map-navigation.entry.cjs.js.map +0 -1
- package/dist/cjs/ix-menu-settings-Cdqo0r8E.js.map +0 -1
- package/dist/collection/components/basic-navigation/basic-navigation.css +0 -113
- package/dist/collection/components/basic-navigation/basic-navigation.js +0 -209
- package/dist/collection/components/basic-navigation/basic-navigation.js.map +0 -1
- package/dist/collection/components/map-navigation/map-navigation.css +0 -212
- package/dist/collection/components/map-navigation/map-navigation.js +0 -401
- package/dist/collection/components/map-navigation/map-navigation.js.map +0 -1
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +0 -156
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +0 -209
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js.map +0 -1
- package/dist/esm/helper-text-util-rnbkuaac.js.map +0 -1
- package/dist/esm/input.util-VHrSuCP7.js.map +0 -1
- package/dist/esm/ix-basic-navigation.entry.js +0 -91
- package/dist/esm/ix-basic-navigation.entry.js.map +0 -1
- package/dist/esm/ix-map-navigation-overlay.entry.js +0 -54
- package/dist/esm/ix-map-navigation-overlay.entry.js.map +0 -1
- package/dist/esm/ix-map-navigation.entry.js +0 -167
- package/dist/esm/ix-map-navigation.entry.js.map +0 -1
- package/dist/esm/ix-menu-settings-DRSkDgox.js.map +0 -1
- package/dist/siemens-ix/ix-basic-navigation.entry.esm.js.map +0 -1
- package/dist/siemens-ix/ix-map-navigation-overlay.entry.esm.js.map +0 -1
- package/dist/siemens-ix/ix-map-navigation.entry.esm.js.map +0 -1
- package/dist/siemens-ix/p-01030dfb.entry.js +0 -2
- package/dist/siemens-ix/p-01030dfb.entry.js.map +0 -1
- package/dist/siemens-ix/p-08f4c3f0.entry.js +0 -2
- package/dist/siemens-ix/p-2055daf3.entry.js +0 -2
- package/dist/siemens-ix/p-2055daf3.entry.js.map +0 -1
- package/dist/siemens-ix/p-2180ddb8.entry.js +0 -2
- package/dist/siemens-ix/p-2db36aa6.entry.js.map +0 -1
- package/dist/siemens-ix/p-4b1745dc.entry.js.map +0 -1
- package/dist/siemens-ix/p-4f2fb1c5.entry.js +0 -2
- package/dist/siemens-ix/p-4f2fb1c5.entry.js.map +0 -1
- package/dist/siemens-ix/p-52d377d1.entry.js +0 -2
- package/dist/siemens-ix/p-52d377d1.entry.js.map +0 -1
- package/dist/siemens-ix/p-5e86944d.entry.js +0 -2
- package/dist/siemens-ix/p-608b3631.entry.js +0 -2
- package/dist/siemens-ix/p-710af987.entry.js +0 -2
- package/dist/siemens-ix/p-710af987.entry.js.map +0 -1
- package/dist/siemens-ix/p-730a6161.entry.js +0 -2
- package/dist/siemens-ix/p-730a6161.entry.js.map +0 -1
- package/dist/siemens-ix/p-75d8b192.entry.js +0 -2
- package/dist/siemens-ix/p-7e612a3b.entry.js +0 -2
- package/dist/siemens-ix/p-7e612a3b.entry.js.map +0 -1
- package/dist/siemens-ix/p-845054ca.entry.js +0 -2
- package/dist/siemens-ix/p-879a0cc5.entry.js +0 -2
- package/dist/siemens-ix/p-879a0cc5.entry.js.map +0 -1
- package/dist/siemens-ix/p-8aa0fda7.entry.js +0 -2
- package/dist/siemens-ix/p-8aa0fda7.entry.js.map +0 -1
- package/dist/siemens-ix/p-92a6324b.entry.js +0 -2
- package/dist/siemens-ix/p-9d135d59.entry.js +0 -2
- package/dist/siemens-ix/p-CX3n_rRh.js +0 -2
- package/dist/siemens-ix/p-CX3n_rRh.js.map +0 -1
- package/dist/siemens-ix/p-DS9crO46.js +0 -2
- package/dist/siemens-ix/p-DS9crO46.js.map +0 -1
- package/dist/siemens-ix/p-ad20efd0.entry.js +0 -2
- package/dist/siemens-ix/p-b6736ce7.entry.js +0 -2
- package/dist/siemens-ix/p-b6736ce7.entry.js.map +0 -1
- package/dist/siemens-ix/p-b7c5ab43.entry.js.map +0 -1
- package/dist/siemens-ix/p-c4b26603.entry.js +0 -2
- package/dist/siemens-ix/p-cc80918d.entry.js +0 -2
- package/dist/siemens-ix/p-d120adf6.entry.js +0 -2
- package/dist/siemens-ix/p-d120adf6.entry.js.map +0 -1
- package/dist/siemens-ix/p-d49f7ae4.entry.js +0 -2
- package/dist/siemens-ix/p-dd89a190.entry.js +0 -2
- package/dist/siemens-ix/p-e25aa385.entry.js.map +0 -1
- package/dist/siemens-ix/p-e3c57208.entry.js +0 -2
- package/dist/siemens-ix/p-eebe632b.entry.js +0 -2
- package/dist/siemens-ix/p-eebe632b.entry.js.map +0 -1
- package/dist/siemens-ix/p-eef311b1.entry.js +0 -2
- package/dist/siemens-ix/p-eef311b1.entry.js.map +0 -1
- package/dist/siemens-ix/p-f29f280b.entry.js +0 -2
- package/dist/siemens-ix/p-f3b485de.entry.js.map +0 -1
- package/dist/siemens-ix/p-f753f1f5.entry.js +0 -2
- package/dist/siemens-ix/p-f82e4e0f.entry.js +0 -2
- package/dist/siemens-ix/p-f82e4e0f.entry.js.map +0 -1
- package/dist/siemens-ix/p-sxLz5AVO.js.map +0 -1
- package/dist/types/components/basic-navigation/basic-navigation.d.ts +0 -33
- package/dist/types/components/map-navigation/map-navigation.d.ts +0 -68
- package/dist/types/components/map-navigation-overlay/map-navigation-overlay.d.ts +0 -43
- package/scss/theme/core/components/map-navigation.scss +0 -20
- /package/dist/siemens-ix/{p-08f4c3f0.entry.js.map → p-0411df39.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6f152ed2.entry.js.map → p-06a2c69b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7e6beda5.entry.js.map → p-0ce03ad3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-17a74a48.entry.js.map → p-0d621531.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f9b4e5f1.entry.js.map → p-162a4cc0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-337a3457.entry.js.map → p-196cffb5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3acbbe01.entry.js.map → p-1de1a2bf.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-89449e22.entry.js.map → p-2597a988.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e825a921.entry.js.map → p-2ffde2d5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-759ba03d.entry.js.map → p-31a8eaf9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7cf61ff6.entry.js.map → p-33fcea65.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-34e530b9.entry.js.map → p-367df024.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-67e4f814.entry.js.map → p-37bd983a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a02e0685.entry.js.map → p-38e45020.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fabcc5f5.entry.js.map → p-396e1f3d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-845054ca.entry.js.map → p-425d6925.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-db9d5872.entry.js.map → p-484bddf4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-51786593.entry.js.map → p-496e98ac.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7388d2ee.entry.js.map → p-4c18f123.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-548a2231.entry.js.map → p-4c1f90cb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3b314194.entry.js.map → p-4e4d792d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-dd89a190.entry.js.map → p-4e77d861.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d8fb5a86.entry.js.map → p-5779f16e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-48cbacaf.entry.js.map → p-5b57bde1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-aa6368b4.entry.js.map → p-667e3184.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-538843d4.entry.js.map → p-6a4bc78a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4b65234d.entry.js.map → p-6dc6eb63.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e3c57208.entry.js.map → p-70af7f44.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-788e1ef8.entry.js.map → p-74e7b03f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e562ffb2.entry.js.map → p-77fd2138.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0d4f0223.entry.js.map → p-7827c263.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a4d6ee80.entry.js.map → p-7bad0544.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-784c6dd6.entry.js.map → p-8ce61408.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c0064123.entry.js.map → p-8f17f6ec.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-67766c28.entry.js.map → p-8f9368b8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-92a6324b.entry.js.map → p-8fa8d0e3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3472fc1a.entry.js.map → p-8fc2bea6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9e7223f6.entry.js.map → p-905d4977.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c4b26603.entry.js.map → p-92ec7f27.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ad20efd0.entry.js.map → p-a3baca2f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0e2b89f2.entry.js.map → p-a4225101.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-20ad8d1e.entry.js.map → p-b27a9744.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fea12773.entry.js.map → p-b3453edf.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-556417c6.entry.js.map → p-b41a7abb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-957d0d0b.entry.js.map → p-b76df1c7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-65842e35.entry.js.map → p-b7ef70d4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2f54ce99.entry.js.map → p-b9880608.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-467c0fff.entry.js.map → p-c43b201b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fc3071d0.entry.js.map → p-c5c863e1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d1941577.entry.js.map → p-c94739d0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-04f1b89a.entry.js.map → p-ca3b24b1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cc80918d.entry.js.map → p-ca43aa61.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-58219b7e.entry.js.map → p-cd1afcc9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d4ba3f9f.entry.js.map → p-cf041cfd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-80f55403.entry.js.map → p-d10b9798.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ecff1e2f.entry.js.map → p-d193381f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-dff78943.entry.js.map → p-d3a60c52.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-41b9392e.entry.js.map → p-da3a9845.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-94fa5d00.entry.js.map → p-df6bb698.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-85f3aa13.entry.js.map → p-e0b9cf68.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-81120f11.entry.js.map → p-e42f62a1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-da6a27c1.entry.js.map → p-e48977ed.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1f5befb2.entry.js.map → p-ea15fc79.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4448252f.entry.js.map → p-ea37abf6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b5e0ddb3.entry.js.map → p-ea410634.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-39950a1c.entry.js.map → p-eba7f62c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9d8fb7dd.entry.js.map → p-f119c105.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-347fcf94.entry.js.map → p-fc73c8cc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-79798af1.entry.js.map → p-ff83eafd.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-D_dk-JqT.js","sources":["src/components/utils/input/validation.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { getElement } from '@stencil/core';\nimport { HTMLIxFormComponentElement, IxFormComponent } from '.';\nimport { IxComponent } from '../internal';\n\nexport type ClassMutationObserver = {\n destroy: () => void;\n};\n\nexport async function isTouched<T>(host: IxFormComponent<T>) {\n if (typeof host.isTouched === 'function') {\n return host.isTouched();\n }\n}\n\nexport async function shouldSuppressInternalValidation<T>(\n host: IxFormComponent<T>\n) {\n if (\n host.getAssociatedFormElement &&\n typeof host.getAssociatedFormElement === 'function'\n ) {\n const form = await host.getAssociatedFormElement();\n\n if (!form) {\n return false;\n }\n\n return form.noValidate;\n }\n\n return false;\n}\n\nexport function createClassMutationObserver(\n element: HTMLElement,\n callback: () => void,\n options?: {\n includeChildren?: boolean;\n }\n): ClassMutationObserver {\n const observer = new MutationObserver(callback);\n observer.observe(element, {\n subtree: options?.includeChildren,\n childList: options?.includeChildren,\n attributes: true,\n attributeFilter: ['class'],\n });\n\n return {\n destroy() {\n observer.disconnect();\n },\n };\n}\n\nexport type ValidationResultProperty =\n | 'isInvalid'\n | 'isInvalidByRequired'\n | 'isValid'\n | 'isInfo'\n | 'isWarning';\nexport type ValidationResults = Record<ValidationResultProperty, boolean>;\n\nfunction classListContains(\n hostElement: HTMLIxFormComponentElement<unknown>,\n className: string,\n includeChildren: boolean\n) {\n return (\n hostElement.classList.contains(`${className}`) ||\n (includeChildren ? !!hostElement.querySelector(`.${className}`) : false)\n );\n}\n\nexport function checkFieldClasses(\n hostElement: HTMLIxFormComponentElement<unknown>,\n includeChildren = false\n): ValidationResults {\n return {\n isInvalid:\n classListContains(hostElement, 'ix-invalid', includeChildren) ||\n classListContains(\n hostElement,\n 'ix-invalid--validity-invalid',\n includeChildren\n ),\n isInvalidByRequired: classListContains(\n hostElement,\n 'ix-invalid--required',\n includeChildren\n ),\n isValid: classListContains(hostElement, 'ix-valid', includeChildren),\n isInfo: classListContains(hostElement, 'ix-info', includeChildren),\n isWarning: classListContains(hostElement, 'ix-warning', includeChildren),\n };\n}\n\nexport function HookValidationLifecycle(options?: {\n includeChildren?: boolean;\n}) {\n return (proto: IxComponent, methodName: string) => {\n let checkIfRequiredFunction: (() => Promise<void>) | null;\n let classMutationObserver: ClassMutationObserver | null;\n const { componentWillLoad, disconnectedCallback, connectedCallback } =\n proto;\n\n proto.connectedCallback = function () {\n const host = getElement(\n this\n ) as unknown as HTMLIxFormComponentElement<unknown>;\n\n checkIfRequiredFunction = async () => {\n const skipValidation = await shouldSuppressInternalValidation(host);\n if (skipValidation) {\n return;\n }\n\n if (host.hasValidValue && typeof host.hasValidValue === 'function') {\n const hasValue = await host.hasValidValue();\n const touched = await isTouched(host);\n\n if (host.required) {\n host.classList.toggle('ix-invalid--required', !hasValue && touched);\n } else {\n host.classList.remove('ix-invalid--required');\n }\n }\n\n if (\n host.getValidityState &&\n typeof host.getValidityState === 'function'\n ) {\n const validityState = await host.getValidityState();\n\n host.classList.toggle(\n `ix-invalid--validity-patternMismatch`,\n validityState.patternMismatch\n );\n }\n };\n\n host.addEventListener('checkedChange', checkIfRequiredFunction);\n host.addEventListener('valueChange', checkIfRequiredFunction);\n host.addEventListener('ixBlur', checkIfRequiredFunction);\n setTimeout(checkIfRequiredFunction);\n return connectedCallback?.call(this);\n };\n\n proto.componentWillLoad = function () {\n const host = getElement(\n this\n ) as unknown as HTMLIxFormComponentElement<unknown>;\n classMutationObserver = createClassMutationObserver(\n host,\n () => {\n const result = checkFieldClasses(host, options?.includeChildren);\n proto[methodName].call(this, result);\n },\n options\n );\n const result = checkFieldClasses(host, options?.includeChildren);\n proto[methodName].call(this, result);\n return componentWillLoad?.call(this);\n };\n\n proto.disconnectedCallback = function () {\n const host = getElement(this);\n\n if (host && classMutationObserver) {\n classMutationObserver.destroy();\n classMutationObserver = null;\n }\n\n if (host && checkIfRequiredFunction) {\n host.removeEventListener('checkedChange', checkIfRequiredFunction);\n host.removeEventListener('valueChange', checkIfRequiredFunction);\n host.removeEventListener('ixBlur', checkIfRequiredFunction);\n checkIfRequiredFunction = null;\n }\n\n return disconnectedCallback?.call(this);\n };\n };\n}\n"],"names":[],"mappings":";;AAAA;;;;;;;AAOG;AASI,eAAe,SAAS,CAAI,IAAwB,EAAA;AACzD,IAAA,IAAI,OAAO,IAAI,CAAC,SAAS,KAAK,UAAU,EAAE;AACxC,QAAA,OAAO,IAAI,CAAC,SAAS,EAAE;;AAE3B;AAEO,eAAe,gCAAgC,CACpD,IAAwB,EAAA;IAExB,IACE,IAAI,CAAC,wBAAwB;AAC7B,QAAA,OAAO,IAAI,CAAC,wBAAwB,KAAK,UAAU,EACnD;AACA,QAAA,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,wBAAwB,EAAE;QAElD,IAAI,CAAC,IAAI,EAAE;AACT,YAAA,OAAO,KAAK;;QAGd,OAAO,IAAI,CAAC,UAAU;;AAGxB,IAAA,OAAO,KAAK;AACd;SAEgB,2BAA2B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I,IAAI,uBAAuB,EAAE;AACnC,gBAAA,IAAI,CAAC,mBAAmB,CAAC,eAAe,EAAE,uBAAuB,CAAC;AAClE,gBAAA,IAAI,CAAC,mBAAmB,CAAC,aAAa,EAAE,uBAAuB,CAAC;AAChE,gBAAA,IAAI,CAAC,mBAAmB,CAAC,QAAQ,EAAE,uBAAuB,CAAC;gBAC3D,uBAAuB,GAAG,IAAI;;YAGhC,OAAO,oBAAoB,KAApB,IAAA,IAAA,oBAAoB,KAApB,MAAA,GAAA,MAAA,GAAA,oBAAoB,CAAE,IAAI,CAAC,IAAI,CAAC;AACzC,SAAC;AACH,KAAC;AACH;;;;"}
|
|
1
|
+
{"version":3,"file":"validation-DTmSqO2d.js","sources":["src/components/utils/input/validation.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { getElement } from '@stencil/core';\nimport { HTMLIxFormComponentElement, IxFormComponent } from '.';\nimport { IxComponent } from '../internal';\n\nexport type ClassMutationObserver = {\n destroy: () => void;\n};\n\nexport async function isTouched<T>(host: IxFormComponent<T>) {\n if (typeof host.isTouched === 'function') {\n return host.isTouched();\n }\n}\n\nexport async function shouldSuppressInternalValidation<T>(\n host: IxFormComponent<T>\n) {\n if (\n host.getAssociatedFormElement &&\n typeof host.getAssociatedFormElement === 'function'\n ) {\n const form = await host.getAssociatedFormElement();\n\n if (!form) {\n return false;\n }\n\n return form.noValidate;\n }\n\n return false;\n}\n\nexport function createClassMutationObserver(\n element: HTMLElement,\n callback: () => void,\n options?: {\n includeChildren?: boolean;\n }\n): ClassMutationObserver {\n const observer = new MutationObserver(callback);\n observer.observe(element, {\n subtree: options?.includeChildren,\n childList: options?.includeChildren,\n attributes: true,\n attributeFilter: ['class'],\n });\n\n return {\n destroy() {\n observer.disconnect();\n },\n };\n}\n\nexport type ValidationResultProperty =\n | 'isInvalid'\n | 'isInvalidByRequired'\n | 'isValid'\n | 'isInfo'\n | 'isWarning';\nexport type ValidationResults = Record<ValidationResultProperty, boolean>;\n\nfunction classListContains(\n hostElement: HTMLIxFormComponentElement<unknown>,\n className: string,\n includeChildren: boolean\n) {\n return (\n hostElement.classList.contains(`${className}`) ||\n (includeChildren ? !!hostElement.querySelector(`.${className}`) : false)\n );\n}\n\nexport function checkFieldClasses(\n hostElement: HTMLIxFormComponentElement<unknown>,\n includeChildren = false\n): ValidationResults {\n return {\n isInvalid:\n classListContains(hostElement, 'ix-invalid', includeChildren) ||\n classListContains(\n hostElement,\n 'ix-invalid--validity-invalid',\n includeChildren\n ),\n isInvalidByRequired: classListContains(\n hostElement,\n 'ix-invalid--required',\n includeChildren\n ),\n isValid: classListContains(hostElement, 'ix-valid', includeChildren),\n isInfo: classListContains(hostElement, 'ix-info', includeChildren),\n isWarning: classListContains(hostElement, 'ix-warning', includeChildren),\n };\n}\n\nexport function HookValidationLifecycle(options?: {\n includeChildren?: boolean;\n}) {\n return (proto: IxComponent, methodName: string) => {\n let checkIfRequiredFunction: (() => Promise<void>) | null;\n let classMutationObserver: ClassMutationObserver | null;\n const { componentWillLoad, disconnectedCallback, connectedCallback } =\n proto;\n\n proto.connectedCallback = function () {\n const host = getElement(\n this\n ) as unknown as HTMLIxFormComponentElement<unknown>;\n\n checkIfRequiredFunction = async () => {\n const skipValidation = await shouldSuppressInternalValidation(host);\n if (skipValidation) {\n return;\n }\n\n if (host.hasValidValue && typeof host.hasValidValue === 'function') {\n const hasValue = await host.hasValidValue();\n const touched = await isTouched(host);\n\n if (host.required) {\n host.classList.toggle('ix-invalid--required', !hasValue && touched);\n } else {\n host.classList.remove('ix-invalid--required');\n }\n }\n\n if (\n host.getValidityState &&\n typeof host.getValidityState === 'function'\n ) {\n const validityState = await host.getValidityState();\n\n host.classList.toggle(\n `ix-invalid--validity-patternMismatch`,\n validityState.patternMismatch\n );\n }\n };\n\n host.addEventListener('checkedChange', checkIfRequiredFunction);\n host.addEventListener('valueChange', checkIfRequiredFunction);\n host.addEventListener('ixBlur', checkIfRequiredFunction);\n setTimeout(checkIfRequiredFunction);\n return connectedCallback?.call(this);\n };\n\n proto.componentWillLoad = function () {\n const host = getElement(\n this\n ) as unknown as HTMLIxFormComponentElement<unknown>;\n classMutationObserver = createClassMutationObserver(\n host,\n () => {\n const result = checkFieldClasses(host, options?.includeChildren);\n proto[methodName].call(this, result);\n },\n options\n );\n const result = checkFieldClasses(host, options?.includeChildren);\n proto[methodName].call(this, result);\n return componentWillLoad?.call(this);\n };\n\n proto.disconnectedCallback = function () {\n const host = getElement(this);\n\n if (host && classMutationObserver) {\n classMutationObserver.destroy();\n classMutationObserver = null;\n }\n\n if (host && checkIfRequiredFunction) {\n host.removeEventListener('checkedChange', checkIfRequiredFunction);\n host.removeEventListener('valueChange', checkIfRequiredFunction);\n host.removeEventListener('ixBlur', checkIfRequiredFunction);\n checkIfRequiredFunction = null;\n }\n\n return disconnectedCallback?.call(this);\n };\n };\n}\n\nexport function getValidationText(\n isInputInvalid: boolean,\n customInvalidText: string | undefined,\n i18nFallbackText: string\n): string | undefined {\n if (isInputInvalid) {\n return customInvalidText ?? i18nFallbackText;\n }\n return customInvalidText;\n}\n"],"names":["getElement"],"mappings":";;;;AAAA;;;;;;;AAOG;AASI,eAAe,SAAS,CAAI,IAAwB,EAAA;AACzD,IAAA,IAAI,OAAO,IAAI,CAAC,SAAS,KAAK,UAAU,EAAE;AACxC,QAAA,OAAO,IAAI,CAAC,SAAS,EAAE;;AAE3B;AAEO,eAAe,gCAAgC,CACpD,IAAwB,EAAA;IAExB,IACE,IAAI,CAAC,wBAAwB;AAC7B,QAAA,OAAO,IAAI,CAAC,wBAAwB,KAAK,UAAU,EACnD;AACA,QAAA,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,wBAAwB,EAAE;QAElD,IAAI,CAAC,IAAI,EAAE;AACT,YAAA,OAAO,KAAK;;QAGd,OAAO,IAAI,CAAC,UAAU;;AAG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/B,qBAAqB,GAAG,IAAI;;AAG9B,YAAA,IAAI,IAAI,IAAI,uBAAuB,EAAE;AACnC,gBAAA,IAAI,CAAC,mBAAmB,CAAC,eAAe,EAAE,uBAAuB,CAAC;AAClE,gBAAA,IAAI,CAAC,mBAAmB,CAAC,aAAa,EAAE,uBAAuB,CAAC;AAChE,gBAAA,IAAI,CAAC,mBAAmB,CAAC,QAAQ,EAAE,uBAAuB,CAAC;gBAC3D,uBAAuB,GAAG,IAAI;;YAGhC,OAAO,oBAAoB,KAApB,IAAA,IAAA,oBAAoB,KAApB,MAAA,GAAA,MAAA,GAAA,oBAAoB,CAAE,IAAI,CAAC,IAAI,CAAC;AACzC,SAAC;AACH,KAAC;AACH;SAEgB,iBAAiB,CAC/B,cAAuB,EACvB,iBAAqC,EACrC,gBAAwB,EAAA;IAExB,IAAI,cAAc,EAAE;AAClB,QAAA,OAAO,iBAAiB,KAAjB,IAAA,IAAA,iBAAiB,cAAjB,iBAAiB,GAAI,gBAAgB;;AAE9C,IAAA,OAAO,iBAAiB;AAC1B;;;;;;;;"}
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"components/application-header/application-switch-modal/application-switch-modal.js",
|
|
11
11
|
"components/application-sidebar/application-sidebar.js",
|
|
12
12
|
"components/avatar/avatar.js",
|
|
13
|
-
"components/basic-navigation/basic-navigation.js",
|
|
14
13
|
"components/blind/blind.js",
|
|
15
14
|
"components/breadcrumb/breadcrumb.js",
|
|
16
15
|
"components/breadcrumb-item/breadcrumb-item.js",
|
|
@@ -66,8 +65,6 @@
|
|
|
66
65
|
"components/layout-auto/layout-auto.js",
|
|
67
66
|
"components/layout-grid/layout-grid.js",
|
|
68
67
|
"components/link-button/link-button.js",
|
|
69
|
-
"components/map-navigation/map-navigation.js",
|
|
70
|
-
"components/map-navigation-overlay/map-navigation-overlay.js",
|
|
71
68
|
"components/menu/menu-expand-icon.js",
|
|
72
69
|
"components/menu/menu.js",
|
|
73
70
|
"components/menu-about-item/menu-about-item.js",
|
|
@@ -54,7 +54,6 @@ export class Application {
|
|
|
54
54
|
applicationLayoutService.setBreakpoints(this.breakpoints);
|
|
55
55
|
this.contextProvider = useContextProvider(this.hostElement, ApplicationLayoutContext, {
|
|
56
56
|
hideHeader: false,
|
|
57
|
-
host: 'basic-navigation',
|
|
58
57
|
sidebar: this.applicationSidebarSlotted,
|
|
59
58
|
appSwitchConfig: this.appSwitchConfig,
|
|
60
59
|
});
|
|
@@ -91,18 +90,17 @@ export class Application {
|
|
|
91
90
|
}
|
|
92
91
|
this.contextProvider.emit({
|
|
93
92
|
hideHeader: false,
|
|
94
|
-
host: 'basic-navigation',
|
|
95
93
|
sidebar: this.applicationSidebarSlotted,
|
|
96
94
|
appSwitchConfig: this.appSwitchConfig,
|
|
97
95
|
});
|
|
98
96
|
}
|
|
99
97
|
render() {
|
|
100
|
-
return (h(Host, { key: '
|
|
98
|
+
return (h(Host, { key: '80437ae705c381c0167b8d7c5ce429e611b03f91', "data-role": "", class: {
|
|
101
99
|
[`breakpoint-${this.breakpoint}`]: true,
|
|
102
|
-
} }, h("slot", { key: '
|
|
100
|
+
} }, h("slot", { key: '865d2e5a9252459f62ff8ab5dce1413d11c04379', name: "application-header" }), h("div", { key: 'ae1960437e8721fbc4afab659d149265660e4164', class: "application" }, h("slot", { key: 'a2a9a835af35e30d2ebe52347903f1838e75ac8d', name: "menu" }), h("aside", { key: '6141152471ac7dc7310247b23278dc594e025fa3', class: {
|
|
103
101
|
'application-sidebar': true,
|
|
104
102
|
slotted: this.applicationSidebarSlotted,
|
|
105
|
-
}, onClick: () => this.onContentClick() }, h("slot", { key: '
|
|
103
|
+
}, onClick: () => this.onContentClick() }, h("slot", { key: '3285cc16452a7a6936a542dd26758beebb515972', name: "application-sidebar", onSlotchange: () => (this.applicationSidebarSlotted = hasSlottedElements(this.applicationSidebarSlot)) })), h("div", { key: 'c6d022a1a5c220ed088adeba49ab5daa27ff8c77', class: "content-area" }, h("main", { key: '8ab781e17318078290a6ce4e1e64dfea43d5ae00', class: "content", onClick: () => this.onContentClick() }, h("slot", { key: '24e83882ab5746f4e00a0c16c797ddf4111aa1e8' })), h("footer", { key: '3ce838daa8f8f4b4e56cb2626476223d9575177c', class: "footer" }, h("slot", { key: 'e49d1cd476554dfddca3b538194040ca29394967', name: "bottom" }))))));
|
|
106
104
|
}
|
|
107
105
|
static get is() { return "ix-application"; }
|
|
108
106
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.js","sourceRoot":"","sources":["../../../src/components/application/application.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,EACL,wBAAwB,GAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,OAAO,EAAmB,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAW,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAQjE,MAAM,OAAO,WAAW;IALxB;QAaE;;WAEG;QACK,0BAAqB,GAAG,KAAK,CAAC;QAgBtC;;WAEG;QACK,gBAAW,GAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAW9C,eAAU,GAAe,IAAI,CAAC;QAC9B,8BAAyB,GAAG,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"application.js","sourceRoot":"","sources":["../../../src/components/application/application.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop, State, Watch } from '@stencil/core';\nimport {\n ApplicationLayoutContext,\n AppSwitchConfiguration,\n} from '../utils/application-layout/context';\nimport { applicationLayoutService } from '../utils/application-layout/service';\nimport { Breakpoint } from '../utils/breakpoints';\nimport { ContextProvider, useContextProvider } from '../utils/context';\nimport { menuController } from '../utils/menu-service/menu-service';\nimport { hasSlottedElements } from '../utils/shadow-dom';\nimport { IxTheme, themeSwitcher } from '../utils/theme-switcher';\nimport { Disposable } from '../utils/typed-event';\n\n@Component({\n tag: 'ix-application',\n styleUrl: 'application.scss',\n shadow: true,\n})\nexport class Application {\n @Element() hostElement!: HTMLIxApplicationElement;\n\n /**\n * Application theme\n */\n @Prop() theme?: IxTheme;\n\n /**\n * Use the system appearance dark or light\n */\n @Prop() themeSystemAppearance = false;\n\n /**\n * Change the responsive layout of the menu structure\n */\n @Prop() forceBreakpoint: Breakpoint | undefined;\n forceLayoutChange(newMode: Breakpoint | undefined) {\n if (!newMode) {\n applicationLayoutService.enableBreakpointDetection();\n return;\n }\n\n applicationLayoutService.disableBreakpointDetection();\n applicationLayoutService.setBreakpoint(newMode);\n }\n\n /**\n * Supported layouts\n */\n @Prop() breakpoints: Breakpoint[] = ['sm', 'md', 'lg'];\n @Watch('breakpoints')\n onBreakpointsChange(breakpoints: Breakpoint[]) {\n applicationLayoutService.setBreakpoints(breakpoints);\n }\n\n /**\n * Define application switch configuration\n */\n @Prop() appSwitchConfig?: AppSwitchConfiguration;\n\n @State() breakpoint: Breakpoint = 'lg';\n @State() applicationSidebarSlotted = false;\n\n private contextProvider?: ContextProvider<typeof ApplicationLayoutContext>;\n\n get menu(): HTMLIxMenuElement | null {\n return this.hostElement.querySelector('ix-menu');\n }\n\n get applicationSidebarSlot() {\n return this.hostElement.shadowRoot!.querySelector(\n '.application-sidebar slot'\n ) as HTMLSlotElement;\n }\n\n private modeDisposable?: Disposable;\n\n private onContentClick() {\n if (menuController.isPinned) {\n return;\n }\n this.menu?.toggleMenu(false);\n }\n\n componentWillLoad() {\n applicationLayoutService.setBreakpoints(this.breakpoints);\n\n this.contextProvider = useContextProvider(\n this.hostElement,\n ApplicationLayoutContext,\n {\n hideHeader: false,\n sidebar: this.applicationSidebarSlotted,\n appSwitchConfig: this.appSwitchConfig,\n }\n );\n\n this.modeDisposable = applicationLayoutService.onChange.on((mode) => {\n this.breakpoint = mode;\n });\n this.breakpoint = applicationLayoutService.breakpoint;\n\n if (this.forceBreakpoint) {\n this.forceLayoutChange(this.forceBreakpoint);\n }\n\n this.changeTheme();\n }\n\n disconnectedCallback() {\n this.modeDisposable?.dispose();\n }\n\n @Watch('theme')\n @Watch('themeSystemAppearance')\n private changeTheme() {\n if (!this.theme) {\n if (this.themeSystemAppearance) {\n themeSwitcher.setVariant();\n }\n\n return;\n }\n\n if (themeSwitcher.hasVariantSuffix(this.theme)) {\n themeSwitcher.setTheme(`theme-${this.theme}`);\n return;\n }\n\n themeSwitcher.setTheme(\n `theme-${this.theme}-dark`,\n this.themeSystemAppearance\n );\n }\n\n @Watch('appSwitchConfig')\n @Watch('applicationSidebarSlotted')\n onApplicationSidebarChange() {\n if (!this.contextProvider) {\n console.error('Context provider not available');\n return;\n }\n this.contextProvider.emit({\n hideHeader: false,\n sidebar: this.applicationSidebarSlotted,\n appSwitchConfig: this.appSwitchConfig,\n });\n }\n\n render() {\n return (\n <Host\n data-role=\"\"\n class={{\n [`breakpoint-${this.breakpoint}`]: true,\n }}\n >\n <slot name=\"application-header\"></slot>\n <div class=\"application\">\n <slot name=\"menu\"></slot>\n <aside\n class={{\n 'application-sidebar': true,\n slotted: this.applicationSidebarSlotted,\n }}\n onClick={() => this.onContentClick()}\n >\n <slot\n name=\"application-sidebar\"\n onSlotchange={() =>\n (this.applicationSidebarSlotted = hasSlottedElements(\n this.applicationSidebarSlot\n ))\n }\n ></slot>\n </aside>\n <div class=\"content-area\">\n <main class=\"content\" onClick={() => this.onContentClick()}>\n <slot></slot>\n </main>\n <footer class=\"footer\">\n <slot name=\"bottom\"></slot>\n </footer>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -58,11 +58,6 @@ export class ApplicationHeader {
|
|
|
58
58
|
componentWillLoad() {
|
|
59
59
|
this.breakpoint = getCurrentBreakpoint();
|
|
60
60
|
useContextConsumer(this.hostElement, ApplicationLayoutContext, (ctx) => {
|
|
61
|
-
if ((ctx === null || ctx === void 0 ? void 0 : ctx.host) === 'map-navigation') {
|
|
62
|
-
this.suppressResponsive = true;
|
|
63
|
-
this.breakpoint = 'md';
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
61
|
this.breakpoint = applicationLayoutService.breakpoint;
|
|
67
62
|
this.applicationLayoutContext = ctx;
|
|
68
63
|
this.tryUpdateAppSwitch();
|
|
@@ -170,31 +165,31 @@ export class ApplicationHeader {
|
|
|
170
165
|
this.breakpoint !== 'sm' &&
|
|
171
166
|
this.suppressResponsive === false;
|
|
172
167
|
const showCompanyLogoByProperty = this.breakpoint !== 'sm' && !!this.companyLogo;
|
|
173
|
-
return (h(Host, { key: '
|
|
168
|
+
return (h(Host, { key: '0568c65fa9cfe4f1250a5f7704cc19f7e38a5d19', class: {
|
|
174
169
|
[`breakpoint-${this.breakpoint}`]: true,
|
|
175
170
|
'hide-bottom-border': this.hideBottomBorder,
|
|
176
|
-
}, slot: "application-header" }, h("div", { key: '
|
|
171
|
+
}, slot: "application-header" }, h("div", { key: 'a5c4fa84d92bd9ce8e236f117605652bfc92e60d', class: "left-side" }, this.appIcon && this.breakpoint !== 'sm' && (h("div", { key: '0f790883c295875ef6b3f023cd9daa34980c5c96', class: {
|
|
177
172
|
'app-icon': true,
|
|
178
173
|
'app-icon-outline': this.appIconOutline,
|
|
179
|
-
} }, h("img", { key: '
|
|
174
|
+
} }, h("img", { key: '3e20234523c716d04e123706912eef1023eb884f', src: this.appIcon, alt: this.appIconAlt }))), (this.showMenu || showMenuByApplicationFrame) && (h("ix-menu-expand-icon", { key: 'b46e806adadc12a7a355691bdb14bb2a3ee0f98f', onClick: () => this.onMenuClick(), expanded: this.menuExpanded, ixAriaLabel: this.ariaLabelMenuExpandIconButton })), showApplicationSwitch && (h("ix-icon-button", { key: '57112cb328fc5231871e18496863ebc3a38f978b', onClick: () => this.showAppSwitch(), icon: iconApps, variant: "subtle-tertiary", class: {
|
|
180
175
|
'app-switch': true,
|
|
181
176
|
'without-app-icon': !this.appIcon,
|
|
182
|
-
}, "aria-label": this.ariaLabelAppSwitchIconButton })), showCompanyLogoByProperty && (h("div", { key: '
|
|
177
|
+
}, "aria-label": this.ariaLabelAppSwitchIconButton })), showCompanyLogoByProperty && (h("div", { key: 'b622ece9a3c1645141c1cb54d9cb88f0b2b12646', class: "logo" }, h("img", { key: '854a9696190d015ce052c745f9ed7acc206f16d5', src: this.companyLogo, alt: this.companyLogoAlt }))), h("div", { key: '0d5ff7f62bb55cb15d2e15e41279ca671716224c', class: {
|
|
183
178
|
logo: true,
|
|
184
179
|
'hide-logo': !this.hasSlottedLogo,
|
|
185
|
-
} }, h("slot", { key: '
|
|
180
|
+
} }, h("slot", { key: '42d42aab0493036c165f1d7d969288bc2dc339c8', name: "logo", onSlotchange: () => (this.hasSlottedLogo = this.checkLogoSlot()) })), h("div", { key: 'a388e25471839639f82f2e3d8798d041cdab1f78', class: "name" }, h("ix-typography", { key: 'f7d197105b6609597fa742ca8b85aa2c80b2c25d', format: "body-lg", class: "application-name" }, this.name), this.nameSuffix && this.breakpoint !== 'sm' && (h("ix-typography", { key: '5a78095814f0d39666bbe26bb968d4df72233016', format: "body-xs", class: "application-name-suffix" }, this.nameSuffix)))), h("div", { key: 'e4a01fd2bf06bd9ae064c5f336e7ef2fe2880e1c', class: { 'right-side': true, sm: this.breakpoint === 'sm' } }, this.breakpoint !== 'sm' && (h("div", { key: 'f3c3221c2dbcccf19d23502ff05984815fc8ea1e', class: "secondary" }, h("slot", { key: '9392845b82451cb62b886ab1bafa7ba7ddf21d13', name: "secondary" }))), h("div", { key: 'a288be02d9ee23480339d8de284c186fbc9bfd26', class: "content" }, this.breakpoint !== 'sm' && h("slot", { key: '34dfa9b114c85e3e59183fce1b5a977eabe02d6a' }), h("ix-icon-button", { key: 'c884b249320deb5f105538dd0fd7e47efd6207c0', class: {
|
|
186
181
|
'context-menu': true,
|
|
187
182
|
'context-menu-visible': this.hasOverflowContextMenu || this.hasOverflowSlotElements,
|
|
188
|
-
}, "data-context-menu": true, "data-testid": "show-more", icon: iconMoreMenu, variant: "subtle-tertiary", "aria-label": this.ariaLabelMoreMenuIconButton, "aria-hidden": a11yBoolean(!(this.hasOverflowContextMenu || this.hasOverflowSlotElements)) }), h("ix-dropdown", { key: '
|
|
183
|
+
}, "data-context-menu": true, "data-testid": "show-more", icon: iconMoreMenu, variant: "subtle-tertiary", "aria-label": this.ariaLabelMoreMenuIconButton, "aria-hidden": a11yBoolean(!(this.hasOverflowContextMenu || this.hasOverflowSlotElements)) }), h("ix-dropdown", { key: '42ea43e1f28ecdd7651a2f652edb6eb2462a0df3', "data-overflow-dropdown": true, class: "dropdown", discoverAllSubmenus: true, trigger: this.resolveContextMenuButton(), "aria-hidden": a11yBoolean(!(this.hasOverflowContextMenu || this.hasOverflowSlotElements)) }, h("div", { key: 'b57645df48b14862e17510560386dffdc7f918f2', class: "dropdown-content", onClick: (e) => this.onContentBgClick(e) }, this.breakpoint === 'sm' && (h("div", { key: 'd27a3ab3dcccb24deea6452aab078975d7657c1f', class: {
|
|
189
184
|
'slot-content': true,
|
|
190
185
|
'slot-content-active': this.hasSecondarySlotElements,
|
|
191
|
-
} }, h("slot", { key: '
|
|
186
|
+
} }, h("slot", { key: '8236935ea329c8650b08c0fbb2be11a4233b54a5', name: "secondary", onSlotchange: () => this.updateHasSlotAssignedElementsStates() }))), this.breakpoint === 'sm' && (h("div", { key: 'd947b3da7b1c2683f319604698550e6deede8bb5', class: {
|
|
192
187
|
'slot-content': true,
|
|
193
188
|
'slot-content-active': this.hasDefaultSlotElements,
|
|
194
|
-
} }, h("slot", { key: '
|
|
189
|
+
} }, h("slot", { key: '5e60684fe9b2d19e67a4b8c56225be76a2aff668', onSlotchange: () => this.updateHasSlotAssignedElementsStates() }))), h("div", { key: 'c072ab98aa238e71087064f9ffcbc46a8b43cacd', class: {
|
|
195
190
|
'slot-content': true,
|
|
196
191
|
'slot-content-active': this.hasOverflowSlotElements,
|
|
197
|
-
} }, h("slot", { key: '
|
|
192
|
+
} }, h("slot", { key: '99752eacbebd15e6b9dda9b9dc96c919ed8ebcf6', name: "overflow", onSlotchange: () => this.updateHasSlotAssignedElementsStates() })))), h("slot", { key: 'c6c071f3ee91c6f0aa709ba59e979e644f22f22d', name: "ix-application-header-avatar" })))));
|
|
198
193
|
}
|
|
199
194
|
static get is() { return "ix-application-header"; }
|
|
200
195
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-header.js","sourceRoot":"","sources":["../../../src/components/application-header/application-header.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,KAAK,GACN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EACL,wBAAwB,GAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAc,oBAAoB,EAAE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B;iCACpD;gCAED,6DACE,IAAI,EAAC,UAAU,EACf,YAAY,EAAE,GAAG,EAAE,CACjB,IAAI,CAAC,mCAAmC,EAAE,GAEtC,CACJ,CACF,CACM;oBACd,6DAAM,IAAI,EAAC,8BAA8B,GAAQ,CAC7C,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { iconApps, iconMoreMenu } from '@siemens/ix-icons/icons';\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n readTask,\n State,\n Watch,\n} from '@stencil/core';\nimport { showAppSwitch } from '../utils/app-switch';\nimport { applicationLayoutService } from '../utils/application-layout';\nimport {\n ApplicationLayoutContext,\n AppSwitchConfiguration,\n} from '../utils/application-layout/context';\nimport { Breakpoint, getCurrentBreakpoint } from '../utils/breakpoints';\nimport { ContextType, useContextConsumer } from '../utils/context';\nimport { menuController } from '../utils/menu-service/menu-service';\nimport { hasSlottedElements } from '../utils/shadow-dom';\nimport { Disposable } from '../utils/typed-event';\nimport { a11yBoolean } from '../utils/a11y';\n\n/**\n * @slot default - Place items on the right side of the header. If the screen size is small, the items will be shown inside a dropdown.\n * @slot secondary - Place additional items inside the header. They will appear after logo and name. If the screen size is small, the items will be shown inside a dropdown.\n * @slot overflow - Use this slot to display additional items that do not fit in the default or secondary slot.\n * @slot logo - Place a company logo inside the header. Alternatively the companyLogo property can be set.\n */\n@Component({\n tag: 'ix-application-header',\n styleUrl: 'application-header.scss',\n shadow: true,\n})\nexport class ApplicationHeader {\n @Element() hostElement!: HTMLIxApplicationHeaderElement;\n\n /**\n * Application name\n */\n @Prop() name?: string;\n\n /**\n * Define a suffix which will be displayed next to the application name\n *\n * @since 4.0.0\n */\n @Prop() nameSuffix?: string;\n\n /**\n * Company logo will be show on the left side of the application name.\n * It will be hidden on smaller screens.\n *\n * @since 4.0.0\n */\n @Prop() companyLogo?: string;\n\n /**\n * Alt text for the company logo\n *\n * @since 4.0.0\n */\n @Prop() companyLogoAlt?: string;\n\n /**\n * The app icon will be shown as the first element inside the header.\n * It will be hidden on smaller screens.\n *\n * @since 4.0.0\n */\n @Prop() appIcon?: string;\n\n /**\n * Alt text for the app icon\n *\n * @since 4.0.0\n */\n @Prop() appIconAlt?: string;\n\n /**\n * Render subtle outline around app icon to ensure proper contrast.\n *\n * @since 4.0.0\n */\n @Prop() appIconOutline = false;\n\n /**\n * Hides the bottom border of the header\n *\n * @since 4.0.0\n */\n @Prop() hideBottomBorder = false;\n\n /**\n * Controls the visibility of the menu toggle button based on the context of the application header.\n *\n * When the application header is utilized outside the application frame, the menu toggle button is displayed.\n * Conversely, if the header is within the application frame, this property is ineffective.\n */\n @Prop({ mutable: true }) showMenu?: boolean = false;\n\n /**\n * ARIA label for the menu expand icon button\n *\n * @since 3.2.0\n */\n @Prop() ariaLabelMenuExpandIconButton?: string;\n\n /**\n * ARIA label for the app switch icon button\n *\n * @since 3.2.0\n */\n @Prop() ariaLabelAppSwitchIconButton?: string;\n\n /**\n * ARIA label for the more menu icon button\n *\n * @since 3.2.0\n */\n @Prop() ariaLabelMoreMenuIconButton?: string;\n\n /**\n * Event emitted when the menu toggle button is clicked\n */\n @Event() menuToggle!: EventEmitter<boolean>;\n\n /**\n * Event emitted when the app switch button is clicked\n *\n * @since 3.0.0\n */\n @Event() openAppSwitch!: EventEmitter<void>;\n\n @State() breakpoint: Breakpoint = 'lg';\n @State() menuExpanded = false;\n @State() suppressResponsive = false;\n\n @State() hasSlottedLogo = false;\n @State() hasOverflowContextMenu = false;\n @State() hasSecondarySlotElements = false;\n @State() hasDefaultSlotElements = false;\n @State() hasOverflowSlotElements = false;\n @State() applicationLayoutContext?: ContextType<\n typeof ApplicationLayoutContext\n >;\n private menuDisposable?: Disposable;\n private modeDisposable?: Disposable;\n private callbackUpdateAppSwitchModal?: (\n config: AppSwitchConfiguration\n ) => void;\n\n get contentBackground() {\n return this.hostElement.shadowRoot!.querySelector('.dropdown-content');\n }\n\n componentWillLoad() {\n this.breakpoint = getCurrentBreakpoint();\n\n useContextConsumer(\n this.hostElement,\n ApplicationLayoutContext,\n (ctx) => {\n if (ctx?.host === 'map-navigation') {\n this.suppressResponsive = true;\n this.breakpoint = 'md';\n return;\n }\n\n this.breakpoint = applicationLayoutService.breakpoint;\n this.applicationLayoutContext = ctx;\n\n this.tryUpdateAppSwitch();\n },\n true\n );\n\n this.menuDisposable = menuController.expandChange.on((show) => {\n this.menuExpanded = show;\n });\n\n this.modeDisposable = applicationLayoutService.onChange.on((mode) => {\n if (this.suppressResponsive) {\n return;\n }\n\n this.breakpoint = mode;\n });\n\n this.updateHasSlotAssignedElementsStates();\n }\n\n componentDidLoad() {\n this.attachSiemensLogoIfLoaded();\n }\n\n disconnectedCallback() {\n this.menuDisposable?.dispose();\n this.modeDisposable?.dispose();\n }\n\n @Watch('applicationLayoutContext')\n watchApplicationLayoutContext() {\n if (this.applicationLayoutContext) {\n this.showMenu = false;\n }\n }\n @Watch('suppressResponsive')\n watchSuppressResponsive() {\n this.breakpoint = 'md';\n }\n\n private checkLogoSlot() {\n const slotElement = this.hostElement.shadowRoot!.querySelector(\n 'slot[name=\"logo\"]'\n ) as HTMLSlotElement;\n\n const isSiemensLogoDefined =\n window.customElements.get('ix-siemens-logo') !== undefined;\n\n if (isSiemensLogoDefined) {\n return hasSlottedElements(slotElement);\n }\n\n let assignedElements = slotElement?.assignedElements({ flatten: true });\n\n assignedElements = assignedElements?.filter(\n (element) => element.tagName !== 'IX-SIEMENS-LOGO'\n );\n\n return assignedElements?.length !== 0;\n }\n\n private attachSiemensLogoIfLoaded() {\n if (this.companyLogo) {\n return;\n }\n\n if (!this.checkLogoSlot()) {\n const logoElement = document.createElement('ix-siemens-logo');\n logoElement.slot = 'logo';\n this.hostElement.appendChild(logoElement);\n }\n }\n\n private async onMenuClick() {\n if (this.applicationLayoutContext) {\n menuController.toggle();\n } else {\n this.menuExpanded = !this.menuExpanded;\n }\n\n this.menuToggle.emit(this.menuExpanded);\n }\n\n private resolveContextMenuButton() {\n return new Promise<HTMLElement>((resolve) =>\n readTask(() =>\n resolve(\n this.hostElement.shadowRoot!.querySelector(\n '[data-context-menu]'\n ) as HTMLElement\n )\n )\n );\n }\n\n private tryUpdateAppSwitch() {\n if (\n !this.callbackUpdateAppSwitchModal ||\n !this.applicationLayoutContext?.appSwitchConfig\n ) {\n return;\n }\n\n this.callbackUpdateAppSwitchModal(\n this.applicationLayoutContext?.appSwitchConfig\n );\n }\n\n private async showAppSwitch() {\n const { defaultPrevented } = this.openAppSwitch.emit();\n\n if (defaultPrevented) {\n return;\n }\n\n if (!this.applicationLayoutContext?.appSwitchConfig) {\n return;\n }\n\n this.callbackUpdateAppSwitchModal = await showAppSwitch(\n this.applicationLayoutContext?.appSwitchConfig\n );\n }\n\n private updateHasSlotAssignedElementsStates() {\n const defaultSlot = this.hostElement.shadowRoot!.querySelector(\n '.content slot:not([name])'\n );\n\n const secondarySlot = this.hostElement.shadowRoot!.querySelector(\n '.content slot[name=\"secondary\"]'\n );\n\n const overflowSlot = this.hostElement.shadowRoot!.querySelector(\n '.content slot[name=\"overflow\"]'\n );\n\n this.hasDefaultSlotElements = hasSlottedElements(defaultSlot);\n this.hasSecondarySlotElements = hasSlottedElements(secondarySlot);\n this.hasOverflowSlotElements = hasSlottedElements(overflowSlot);\n\n this.hasOverflowContextMenu =\n this.hasDefaultSlotElements || this.hasSecondarySlotElements;\n }\n\n private onContentBgClick(e: MouseEvent) {\n if (e.target === this.contentBackground) {\n e.preventDefault();\n }\n }\n\n render() {\n const hasApplicationContextAvailable = !!this.applicationLayoutContext;\n\n const showMenuByApplicationFrame =\n this.breakpoint === 'sm' &&\n this.suppressResponsive === false &&\n hasApplicationContextAvailable;\n\n const showApplicationSwitch =\n this.applicationLayoutContext?.appSwitchConfig &&\n this.breakpoint !== 'sm' &&\n this.suppressResponsive === false;\n\n const showCompanyLogoByProperty =\n this.breakpoint !== 'sm' && !!this.companyLogo;\n\n return (\n <Host\n class={{\n [`breakpoint-${this.breakpoint}`]: true,\n 'hide-bottom-border': this.hideBottomBorder,\n }}\n slot=\"application-header\"\n >\n <div class=\"left-side\">\n {this.appIcon && this.breakpoint !== 'sm' && (\n <div\n class={{\n 'app-icon': true,\n 'app-icon-outline': this.appIconOutline,\n }}\n >\n <img src={this.appIcon} alt={this.appIconAlt} />\n </div>\n )}\n {(this.showMenu || showMenuByApplicationFrame) && (\n <ix-menu-expand-icon\n onClick={() => this.onMenuClick()}\n expanded={this.menuExpanded}\n ixAriaLabel={this.ariaLabelMenuExpandIconButton}\n ></ix-menu-expand-icon>\n )}\n {showApplicationSwitch && (\n <ix-icon-button\n onClick={() => this.showAppSwitch()}\n icon={iconApps}\n variant=\"subtle-tertiary\"\n class={{\n 'app-switch': true,\n 'without-app-icon': !this.appIcon,\n }}\n aria-label={this.ariaLabelAppSwitchIconButton}\n ></ix-icon-button>\n )}\n {showCompanyLogoByProperty && (\n <div class=\"logo\">\n <img src={this.companyLogo} alt={this.companyLogoAlt} />\n </div>\n )}\n <div\n class={{\n logo: true,\n 'hide-logo': !this.hasSlottedLogo,\n }}\n >\n <slot\n name=\"logo\"\n onSlotchange={() => (this.hasSlottedLogo = this.checkLogoSlot())}\n ></slot>\n </div>\n <div class=\"name\">\n <ix-typography format=\"body-lg\" class=\"application-name\">\n {this.name}\n </ix-typography>\n {this.nameSuffix && this.breakpoint !== 'sm' && (\n <ix-typography format=\"body-xs\" class=\"application-name-suffix\">\n {this.nameSuffix}\n </ix-typography>\n )}\n </div>\n </div>\n <div class={{ 'right-side': true, sm: this.breakpoint === 'sm' }}>\n {this.breakpoint !== 'sm' && (\n <div class=\"secondary\">\n <slot name=\"secondary\"></slot>\n </div>\n )}\n <div class=\"content\">\n {this.breakpoint !== 'sm' && <slot></slot>}\n <ix-icon-button\n class={{\n 'context-menu': true,\n 'context-menu-visible':\n this.hasOverflowContextMenu || this.hasOverflowSlotElements,\n }}\n data-context-menu\n data-testid=\"show-more\"\n icon={iconMoreMenu}\n variant=\"subtle-tertiary\"\n aria-label={this.ariaLabelMoreMenuIconButton}\n aria-hidden={a11yBoolean(\n !(this.hasOverflowContextMenu || this.hasOverflowSlotElements)\n )}\n ></ix-icon-button>\n <ix-dropdown\n data-overflow-dropdown\n class=\"dropdown\"\n discoverAllSubmenus\n trigger={this.resolveContextMenuButton()}\n aria-hidden={a11yBoolean(\n !(this.hasOverflowContextMenu || this.hasOverflowSlotElements)\n )}\n >\n <div\n class=\"dropdown-content\"\n onClick={(e) => this.onContentBgClick(e)}\n >\n {this.breakpoint === 'sm' && (\n <div\n class={{\n 'slot-content': true,\n 'slot-content-active': this.hasSecondarySlotElements,\n }}\n >\n <slot\n name=\"secondary\"\n onSlotchange={() =>\n this.updateHasSlotAssignedElementsStates()\n }\n ></slot>\n </div>\n )}\n {this.breakpoint === 'sm' && (\n <div\n class={{\n 'slot-content': true,\n 'slot-content-active': this.hasDefaultSlotElements,\n }}\n >\n <slot\n onSlotchange={() =>\n this.updateHasSlotAssignedElementsStates()\n }\n ></slot>\n </div>\n )}\n <div\n class={{\n 'slot-content': true,\n 'slot-content-active': this.hasOverflowSlotElements,\n }}\n >\n <slot\n name=\"overflow\"\n onSlotchange={() =>\n this.updateHasSlotAssignedElementsStates()\n }\n ></slot>\n </div>\n </div>\n </ix-dropdown>\n <slot name=\"ix-application-header-avatar\"></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"application-header.js","sourceRoot":"","sources":["../../../src/components/application-header/application-header.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,KAAK,GACN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EACL,wBAAwB,GAEzB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAc,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAe,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;;;;GAKG;AAMH,MAAM,OAAO,iBAAiB;IAL9B;QAkDE;;;;WAIG;QACK,mBAAc,GAAG,KAAK,CAAC;QAE/B;;;;WAIG;QACK,qBAAgB,GAAG,KAAK,CAAC;QAEjC;;;;;WAKG;QACsB,aAAQ,GAAa,KAAK,CAAC;QAmC3C,eAAU,GAAe,IAAI,CAAC;QAC9B,iBAAY,GAAG,KAAK,CAAC;QACrB,uBAAkB,GAAG,KAAK,CAAC;QAE3B,mBAAc,GAAG,KAAK,CAAC;QACvB,2BAAsB,GAAG,KAAK,CAAC;QAC/B,6BAAwB,GAAG,KAAK,CAA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IAAI,EAAC,WAAW,EAChB,YAAY,EAAE,GAAG,EAAE,CACjB,IAAI,CAAC,mCAAmC,EAAE,GAEtC,CACJ,CACP;4BACA,IAAI,CAAC,UAAU,KAAK,IAAI,IAAI,CAC3B,4DACE,KAAK,EAAE;oCACL,cAAc,EAAE,IAAI;oCACpB,qBAAqB,EAAE,IAAI,CAAC,sBAAsB;iCACnD;gCAED,6DACE,YAAY,EAAE,GAAG,EAAE,CACjB,IAAI,CAAC,mCAAmC,EAAE,GAEtC,CACJ,CACP;4BACD,4DACE,KAAK,EAAE;oCACL,cAAc,EAAE,IAAI;oCACpB,qBAAqB,EAAE,IAAI,CAAC,uBAAuB;iCACpD;gCAED,6DACE,IAAI,EAAC,UAAU,EACf,YAAY,EAAE,GAAG,EAAE,CACjB,IAAI,CAAC,mCAAmC,EAAE,GAEtC,CACJ,CACF,CACM;oBACd,6DAAM,IAAI,EAAC,8BAA8B,GAAQ,CAC7C,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { iconApps, iconMoreMenu } from '@siemens/ix-icons/icons';\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n readTask,\n State,\n Watch,\n} from '@stencil/core';\nimport { showAppSwitch } from '../utils/app-switch';\nimport { applicationLayoutService } from '../utils/application-layout';\nimport {\n ApplicationLayoutContext,\n AppSwitchConfiguration,\n} from '../utils/application-layout/context';\nimport { Breakpoint, getCurrentBreakpoint } from '../utils/breakpoints';\nimport { ContextType, useContextConsumer } from '../utils/context';\nimport { menuController } from '../utils/menu-service/menu-service';\nimport { hasSlottedElements } from '../utils/shadow-dom';\nimport { Disposable } from '../utils/typed-event';\nimport { a11yBoolean } from '../utils/a11y';\n\n/**\n * @slot default - Place items on the right side of the header. If the screen size is small, the items will be shown inside a dropdown.\n * @slot secondary - Place additional items inside the header. They will appear after logo and name. If the screen size is small, the items will be shown inside a dropdown.\n * @slot overflow - Use this slot to display additional items that do not fit in the default or secondary slot.\n * @slot logo - Place a company logo inside the header. Alternatively the companyLogo property can be set.\n */\n@Component({\n tag: 'ix-application-header',\n styleUrl: 'application-header.scss',\n shadow: true,\n})\nexport class ApplicationHeader {\n @Element() hostElement!: HTMLIxApplicationHeaderElement;\n\n /**\n * Application name\n */\n @Prop() name?: string;\n\n /**\n * Define a suffix which will be displayed next to the application name\n *\n * @since 4.0.0\n */\n @Prop() nameSuffix?: string;\n\n /**\n * Company logo will be show on the left side of the application name.\n * It will be hidden on smaller screens.\n *\n * @since 4.0.0\n */\n @Prop() companyLogo?: string;\n\n /**\n * Alt text for the company logo\n *\n * @since 4.0.0\n */\n @Prop() companyLogoAlt?: string;\n\n /**\n * The app icon will be shown as the first element inside the header.\n * It will be hidden on smaller screens.\n *\n * @since 4.0.0\n */\n @Prop() appIcon?: string;\n\n /**\n * Alt text for the app icon\n *\n * @since 4.0.0\n */\n @Prop() appIconAlt?: string;\n\n /**\n * Render subtle outline around app icon to ensure proper contrast.\n *\n * @since 4.0.0\n */\n @Prop() appIconOutline = false;\n\n /**\n * Hides the bottom border of the header\n *\n * @since 4.0.0\n */\n @Prop() hideBottomBorder = false;\n\n /**\n * Controls the visibility of the menu toggle button based on the context of the application header.\n *\n * When the application header is utilized outside the application frame, the menu toggle button is displayed.\n * Conversely, if the header is within the application frame, this property is ineffective.\n */\n @Prop({ mutable: true }) showMenu?: boolean = false;\n\n /**\n * ARIA label for the menu expand icon button\n *\n * @since 3.2.0\n */\n @Prop() ariaLabelMenuExpandIconButton?: string;\n\n /**\n * ARIA label for the app switch icon button\n *\n * @since 3.2.0\n */\n @Prop() ariaLabelAppSwitchIconButton?: string;\n\n /**\n * ARIA label for the more menu icon button\n *\n * @since 3.2.0\n */\n @Prop() ariaLabelMoreMenuIconButton?: string;\n\n /**\n * Event emitted when the menu toggle button is clicked\n */\n @Event() menuToggle!: EventEmitter<boolean>;\n\n /**\n * Event emitted when the app switch button is clicked\n *\n * @since 3.0.0\n */\n @Event() openAppSwitch!: EventEmitter<void>;\n\n @State() breakpoint: Breakpoint = 'lg';\n @State() menuExpanded = false;\n @State() suppressResponsive = false;\n\n @State() hasSlottedLogo = false;\n @State() hasOverflowContextMenu = false;\n @State() hasSecondarySlotElements = false;\n @State() hasDefaultSlotElements = false;\n @State() hasOverflowSlotElements = false;\n @State() applicationLayoutContext?: ContextType<\n typeof ApplicationLayoutContext\n >;\n private menuDisposable?: Disposable;\n private modeDisposable?: Disposable;\n private callbackUpdateAppSwitchModal?: (\n config: AppSwitchConfiguration\n ) => void;\n\n get contentBackground() {\n return this.hostElement.shadowRoot!.querySelector('.dropdown-content');\n }\n\n componentWillLoad() {\n this.breakpoint = getCurrentBreakpoint();\n\n useContextConsumer(\n this.hostElement,\n ApplicationLayoutContext,\n (ctx) => {\n this.breakpoint = applicationLayoutService.breakpoint;\n this.applicationLayoutContext = ctx;\n\n this.tryUpdateAppSwitch();\n },\n true\n );\n\n this.menuDisposable = menuController.expandChange.on((show) => {\n this.menuExpanded = show;\n });\n\n this.modeDisposable = applicationLayoutService.onChange.on((mode) => {\n if (this.suppressResponsive) {\n return;\n }\n\n this.breakpoint = mode;\n });\n\n this.updateHasSlotAssignedElementsStates();\n }\n\n componentDidLoad() {\n this.attachSiemensLogoIfLoaded();\n }\n\n disconnectedCallback() {\n this.menuDisposable?.dispose();\n this.modeDisposable?.dispose();\n }\n\n @Watch('applicationLayoutContext')\n watchApplicationLayoutContext() {\n if (this.applicationLayoutContext) {\n this.showMenu = false;\n }\n }\n @Watch('suppressResponsive')\n watchSuppressResponsive() {\n this.breakpoint = 'md';\n }\n\n private checkLogoSlot() {\n const slotElement = this.hostElement.shadowRoot!.querySelector(\n 'slot[name=\"logo\"]'\n ) as HTMLSlotElement;\n\n const isSiemensLogoDefined =\n window.customElements.get('ix-siemens-logo') !== undefined;\n\n if (isSiemensLogoDefined) {\n return hasSlottedElements(slotElement);\n }\n\n let assignedElements = slotElement?.assignedElements({ flatten: true });\n\n assignedElements = assignedElements?.filter(\n (element) => element.tagName !== 'IX-SIEMENS-LOGO'\n );\n\n return assignedElements?.length !== 0;\n }\n\n private attachSiemensLogoIfLoaded() {\n if (this.companyLogo) {\n return;\n }\n\n if (!this.checkLogoSlot()) {\n const logoElement = document.createElement('ix-siemens-logo');\n logoElement.slot = 'logo';\n this.hostElement.appendChild(logoElement);\n }\n }\n\n private async onMenuClick() {\n if (this.applicationLayoutContext) {\n menuController.toggle();\n } else {\n this.menuExpanded = !this.menuExpanded;\n }\n\n this.menuToggle.emit(this.menuExpanded);\n }\n\n private resolveContextMenuButton() {\n return new Promise<HTMLElement>((resolve) =>\n readTask(() =>\n resolve(\n this.hostElement.shadowRoot!.querySelector(\n '[data-context-menu]'\n ) as HTMLElement\n )\n )\n );\n }\n\n private tryUpdateAppSwitch() {\n if (\n !this.callbackUpdateAppSwitchModal ||\n !this.applicationLayoutContext?.appSwitchConfig\n ) {\n return;\n }\n\n this.callbackUpdateAppSwitchModal(\n this.applicationLayoutContext?.appSwitchConfig\n );\n }\n\n private async showAppSwitch() {\n const { defaultPrevented } = this.openAppSwitch.emit();\n\n if (defaultPrevented) {\n return;\n }\n\n if (!this.applicationLayoutContext?.appSwitchConfig) {\n return;\n }\n\n this.callbackUpdateAppSwitchModal = await showAppSwitch(\n this.applicationLayoutContext?.appSwitchConfig\n );\n }\n\n private updateHasSlotAssignedElementsStates() {\n const defaultSlot = this.hostElement.shadowRoot!.querySelector(\n '.content slot:not([name])'\n );\n\n const secondarySlot = this.hostElement.shadowRoot!.querySelector(\n '.content slot[name=\"secondary\"]'\n );\n\n const overflowSlot = this.hostElement.shadowRoot!.querySelector(\n '.content slot[name=\"overflow\"]'\n );\n\n this.hasDefaultSlotElements = hasSlottedElements(defaultSlot);\n this.hasSecondarySlotElements = hasSlottedElements(secondarySlot);\n this.hasOverflowSlotElements = hasSlottedElements(overflowSlot);\n\n this.hasOverflowContextMenu =\n this.hasDefaultSlotElements || this.hasSecondarySlotElements;\n }\n\n private onContentBgClick(e: MouseEvent) {\n if (e.target === this.contentBackground) {\n e.preventDefault();\n }\n }\n\n render() {\n const hasApplicationContextAvailable = !!this.applicationLayoutContext;\n\n const showMenuByApplicationFrame =\n this.breakpoint === 'sm' &&\n this.suppressResponsive === false &&\n hasApplicationContextAvailable;\n\n const showApplicationSwitch =\n this.applicationLayoutContext?.appSwitchConfig &&\n this.breakpoint !== 'sm' &&\n this.suppressResponsive === false;\n\n const showCompanyLogoByProperty =\n this.breakpoint !== 'sm' && !!this.companyLogo;\n\n return (\n <Host\n class={{\n [`breakpoint-${this.breakpoint}`]: true,\n 'hide-bottom-border': this.hideBottomBorder,\n }}\n slot=\"application-header\"\n >\n <div class=\"left-side\">\n {this.appIcon && this.breakpoint !== 'sm' && (\n <div\n class={{\n 'app-icon': true,\n 'app-icon-outline': this.appIconOutline,\n }}\n >\n <img src={this.appIcon} alt={this.appIconAlt} />\n </div>\n )}\n {(this.showMenu || showMenuByApplicationFrame) && (\n <ix-menu-expand-icon\n onClick={() => this.onMenuClick()}\n expanded={this.menuExpanded}\n ixAriaLabel={this.ariaLabelMenuExpandIconButton}\n ></ix-menu-expand-icon>\n )}\n {showApplicationSwitch && (\n <ix-icon-button\n onClick={() => this.showAppSwitch()}\n icon={iconApps}\n variant=\"subtle-tertiary\"\n class={{\n 'app-switch': true,\n 'without-app-icon': !this.appIcon,\n }}\n aria-label={this.ariaLabelAppSwitchIconButton}\n ></ix-icon-button>\n )}\n {showCompanyLogoByProperty && (\n <div class=\"logo\">\n <img src={this.companyLogo} alt={this.companyLogoAlt} />\n </div>\n )}\n <div\n class={{\n logo: true,\n 'hide-logo': !this.hasSlottedLogo,\n }}\n >\n <slot\n name=\"logo\"\n onSlotchange={() => (this.hasSlottedLogo = this.checkLogoSlot())}\n ></slot>\n </div>\n <div class=\"name\">\n <ix-typography format=\"body-lg\" class=\"application-name\">\n {this.name}\n </ix-typography>\n {this.nameSuffix && this.breakpoint !== 'sm' && (\n <ix-typography format=\"body-xs\" class=\"application-name-suffix\">\n {this.nameSuffix}\n </ix-typography>\n )}\n </div>\n </div>\n <div class={{ 'right-side': true, sm: this.breakpoint === 'sm' }}>\n {this.breakpoint !== 'sm' && (\n <div class=\"secondary\">\n <slot name=\"secondary\"></slot>\n </div>\n )}\n <div class=\"content\">\n {this.breakpoint !== 'sm' && <slot></slot>}\n <ix-icon-button\n class={{\n 'context-menu': true,\n 'context-menu-visible':\n this.hasOverflowContextMenu || this.hasOverflowSlotElements,\n }}\n data-context-menu\n data-testid=\"show-more\"\n icon={iconMoreMenu}\n variant=\"subtle-tertiary\"\n aria-label={this.ariaLabelMoreMenuIconButton}\n aria-hidden={a11yBoolean(\n !(this.hasOverflowContextMenu || this.hasOverflowSlotElements)\n )}\n ></ix-icon-button>\n <ix-dropdown\n data-overflow-dropdown\n class=\"dropdown\"\n discoverAllSubmenus\n trigger={this.resolveContextMenuButton()}\n aria-hidden={a11yBoolean(\n !(this.hasOverflowContextMenu || this.hasOverflowSlotElements)\n )}\n >\n <div\n class=\"dropdown-content\"\n onClick={(e) => this.onContentBgClick(e)}\n >\n {this.breakpoint === 'sm' && (\n <div\n class={{\n 'slot-content': true,\n 'slot-content-active': this.hasSecondarySlotElements,\n }}\n >\n <slot\n name=\"secondary\"\n onSlotchange={() =>\n this.updateHasSlotAssignedElementsStates()\n }\n ></slot>\n </div>\n )}\n {this.breakpoint === 'sm' && (\n <div\n class={{\n 'slot-content': true,\n 'slot-content-active': this.hasDefaultSlotElements,\n }}\n >\n <slot\n onSlotchange={() =>\n this.updateHasSlotAssignedElementsStates()\n }\n ></slot>\n </div>\n )}\n <div\n class={{\n 'slot-content': true,\n 'slot-content-active': this.hasOverflowSlotElements,\n }}\n >\n <slot\n name=\"overflow\"\n onSlotchange={() =>\n this.updateHasSlotAssignedElementsStates()\n }\n ></slot>\n </div>\n </div>\n </ix-dropdown>\n <slot name=\"ix-application-header-avatar\"></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -70,17 +70,17 @@ export class Blind {
|
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: '671ad2c0686ea67b8dd5a3b6259edd8cd2667b19', class: {
|
|
74
74
|
[`blind-${this.variant}`]: true,
|
|
75
|
-
} }, h("div", { key: '
|
|
75
|
+
} }, h("div", { key: '40fa7a9d37b674e2979022aadc84a4496ea9a9f5', class: 'blind-header-wrapper' }, h("button", { key: '29c3e84c41ec924f2b3c5a373778130afa943626', class: {
|
|
76
76
|
'blind-header': true,
|
|
77
77
|
[`blind-${this.variant}`]: true,
|
|
78
78
|
closed: this.collapsed,
|
|
79
|
-
}, type: "button", "aria-labelledby": `ix-blind-header-title-${this.blindId}`, "aria-controls": `ix-blind-content-section-${this.blindId}`, "aria-expanded": a11yBoolean(!this.collapsed), onClick: () => this.onHeaderClick() }, h("slot", { key: '
|
|
79
|
+
}, type: "button", "aria-labelledby": `ix-blind-header-title-${this.blindId}`, "aria-controls": `ix-blind-content-section-${this.blindId}`, "aria-expanded": a11yBoolean(!this.collapsed), onClick: () => this.onHeaderClick() }, h("slot", { key: 'b252b735380d02d028f14e7d9fbe4c5eba8c6602', name: "custom-header" })), h("div", { key: '6bf0d3c1465c63a94c8f022734ed826c4028855a', class: 'blind-header-content' }, h("ix-icon", { key: 'd21dd7db4cb813e4becce868c4dbe340a12b1e65', class: "collapse-icon", name: iconChevronDownSmall, color: this.variant === 'filled' || this.variant === 'outline'
|
|
80
80
|
? 'color-std-text'
|
|
81
|
-
: `color-${this.variant}--contrast`, ref: (ref) => (this.chevronRef = ref) }), h("div", { key: '
|
|
81
|
+
: `color-${this.variant}--contrast`, ref: (ref) => (this.chevronRef = ref) }), h("div", { key: 'da2e1435ca1070eed1794226ca721e7e3fb22390', class: "blind-header-title", id: `ix-blind-header-title-${this.blindId}` }, this.label !== undefined ? (h(Fragment, null, this.icon && (h("ix-icon", { class: "blind-header-title-icon", name: this.icon, color: this.variant === 'filled' || this.variant === 'outline'
|
|
82
82
|
? 'color-std-text'
|
|
83
|
-
: `color-${this.variant}--contrast` })), h("div", { class: 'blind-header-title-row' }, h("div", { class: "blind-header-title-col" }, h("ix-typography", { title: this.label, format: "label-lg", bold: true }, h("div", { class: "blind-header-title-label", title: this.label }, this.label))), this.sublabel && (h("div", { class: "blind-header-title-col" }, h("ix-typography", { title: this.sublabel }, h("div", { class: "blind-header-title-sublabel" }, this.sublabel))))), h("div", { class: "header-actions" }, h("slot", { name: "header-actions" })))) : null))), h("section", { key: '
|
|
83
|
+
: `color-${this.variant}--contrast` })), h("div", { class: 'blind-header-title-row' }, h("div", { class: "blind-header-title-col" }, h("ix-typography", { title: this.label, format: "label-lg", bold: true }, h("div", { class: "blind-header-title-label", title: this.label }, this.label))), this.sublabel && (h("div", { class: "blind-header-title-col" }, h("ix-typography", { title: this.sublabel }, h("div", { class: "blind-header-title-sublabel" }, this.sublabel))))), h("div", { class: "header-actions" }, h("slot", { name: "header-actions" })))) : null))), h("section", { key: '854dd19e82a63ccb31f090dadfbcfa46d7346d21', id: `ix-blind-content-section-${this.blindId}`, "aria-labelledby": `ix-blind-header-title-${this.blindId}` }, h("div", { key: '12f77fdbb29c89d5ab26877e9db8ad9ec79f1e6f', class: {
|
|
84
84
|
'blind-content': true,
|
|
85
85
|
hide: this.collapsed,
|
|
86
86
|
} }, !this.collapsed ? h("slot", null) : null))));
|
|
@@ -83,7 +83,7 @@ export class Breadcrumb {
|
|
|
83
83
|
render() {
|
|
84
84
|
var _a, _b, _c, _d;
|
|
85
85
|
const a11y = a11yHostAttributes(this.hostElement);
|
|
86
|
-
return (h(Host, { key: '
|
|
86
|
+
return (h(Host, { key: 'c5457acd786da77d474f83613a2c12910a193779' }, h("ix-dropdown", { key: '3f1e0ae1e4ac1d192ff7c0d5619329cfbcdf8a62', id: this.previousDropdownId, "aria-label": this.ariaLabelPreviousButton, trigger: ((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) > this.visibleItemCount
|
|
87
87
|
? this.previousButtonRef.waitForCurrent()
|
|
88
88
|
: undefined, onShowChanged: ({ detail }) => {
|
|
89
89
|
this.isPreviousDropdownExpanded = detail;
|
|
@@ -100,7 +100,7 @@ export class Breadcrumb {
|
|
|
100
100
|
return (h("ix-dropdown-item", { label: label, onClick: () => {
|
|
101
101
|
this.onItemClick(label);
|
|
102
102
|
}, onItemClick: (event) => event.stopPropagation() }));
|
|
103
|
-
})), ((_b = this.items) === null || _b === void 0 ? void 0 : _b.length) > this.visibleItemCount ? (h("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, h("nav", { key: '
|
|
103
|
+
})), ((_b = this.items) === null || _b === void 0 ? void 0 : _b.length) > this.visibleItemCount ? (h("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, h("nav", { key: '11b4a0c0cbad59437fccee34a73cd4e89de39a1c', class: "crumb-items", "aria-label": (_c = a11y['aria-label']) !== null && _c !== void 0 ? _c : 'breadcrumbs' }, h("ol", { key: 'ad9d8c27e05b76f334f7cf6f79038d339e8d538c' }, h("slot", { key: 'd84c2c0028e22cbfd126b867177ba9b4271e8c24' }))), h("ix-dropdown", { key: '6ba681eb8f116ec287961a7e873b90d381baefdb', trigger: this.nextButtonRef.waitForCurrent() }, (_d = this.nextItems) === null || _d === void 0 ? void 0 : _d.map((item) => (h("ix-dropdown-item", { label: item, onClick: (e) => {
|
|
104
104
|
this.nextClick.emit({
|
|
105
105
|
event: e,
|
|
106
106
|
item,
|
|
@@ -11,10 +11,10 @@ export class Card {
|
|
|
11
11
|
this.selected = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '3b734eddf8516af24b52b1b2ba27766a913f943d', class: {
|
|
15
15
|
selected: this.selected,
|
|
16
16
|
[`card-${this.variant}`]: true,
|
|
17
|
-
} }, h("div", { key: '
|
|
17
|
+
} }, h("div", { key: '7a2cce1797c1e89c8568e9e196020747f0f4150b', class: "card-content" }, h("slot", { key: 'ea837bde282a62637ed15b96b8ca407219e949ae' })), h("div", { key: 'acc07c72e4a63a671fb945e4c0332825f4781a1d', class: "card-footer" }, h("slot", { key: '870004ea22909180bac56c8b7c040d914e268f1d', name: "card-accordion" }))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "ix-card"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -50,15 +50,15 @@ export class CardAccordion {
|
|
|
50
50
|
this.onInitialExpandChange();
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: 'dc1b41f8878a1aa87869d11829c9a3cc218ca12e', slot: "card-accordion", class: {
|
|
54
54
|
[`variant-${this.variant}`]: true,
|
|
55
|
-
} }, h("button", { key: '
|
|
55
|
+
} }, h("button", { key: '0fc447aadb0c86405700f00c18d17be887eef3fb', tabIndex: 0, class: { 'expand-action': true, show: this.expandContent }, onClick: (event) => this.onExpandActionClick(event), role: "button", type: "button", "aria-expanded": this.expandContent, "aria-controls": getAriaControlsId(), "aria-label": this.ariaLabelExpandButton }, h("ix-icon", { key: 'b044d6c5c9561355750483c29824bfe27af75db5', name: iconChevronDownSmall, class: {
|
|
56
56
|
'expand-icon': true,
|
|
57
57
|
show: this.expandContent,
|
|
58
|
-
} })), h("div", { key: '
|
|
58
|
+
} })), h("div", { key: 'df7c48aaa25ad38136479fb972ffe0776efa0ae3', class: {
|
|
59
59
|
'expand-content': true,
|
|
60
60
|
show: this.expandContent,
|
|
61
|
-
} }, h("div", { key: '
|
|
61
|
+
} }, h("div", { key: '9f9bd7ef6d674f0d6561ac9c237443062eec9693', class: "expand-content-inner" }, h("div", { key: '1576b901ba50a5ec7e765ae64e8cd6acba047973', class: "expand-content-body" }, h("slot", { key: 'ef118ded7d20ba6dd70c45a0d34f86a89959e69c' })), h("div", { key: '248e9c925bf36e9598386a78562abd8a3db77c06', class: "expand-content-footer" })))));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "ix-card-accordion"; }
|
|
64
64
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class CardContent {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '6ab30045a9e41189eafb31d4bbdf90cb29867159' }, h("div", { key: '834be9e77d7c38b529810d0608383108bbf827e6', class: "content-wrapper" }, h("slot", { key: '7f01d3a7338051365a5f377cc69032ebef937d9d' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "ix-card-content"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -155,16 +155,16 @@ export class CardList {
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
render() {
|
|
158
|
-
return (h(Host, { key: '
|
|
158
|
+
return (h(Host, { key: '37a1bb98b5703b76b6f0f5038561917bef13916b' }, h(CardListTitle, { key: '8f90c6052259ff8e1bbb377a9fa9cc465c951aab', isCollapsed: this.collapse, label: this.label, showAllLabel: this.i18nShowAll, showAllCounter: this.showAllCount === undefined
|
|
159
159
|
? this.numberOfAllChildElements
|
|
160
|
-
: this.showAllCount, onClick: () => this.onCardListVisibilityToggle(), onShowAllClick: (e) => this.onShowAllClick(e), hideShowAll: this.hideShowAll }), h("div", { key: '
|
|
160
|
+
: this.showAllCount, onClick: () => this.onCardListVisibilityToggle(), onShowAllClick: (e) => this.onShowAllClick(e), hideShowAll: this.hideShowAll }), h("div", { key: '1d1162c53d8fb1d97dfb4b00ae1c1a5942a0b0f7', class: {
|
|
161
161
|
CardList__Overflow: true,
|
|
162
|
-
}, style: this.computeMaskLayer() }, h("div", { key: '
|
|
162
|
+
}, style: this.computeMaskLayer() }, h("div", { key: '298741cb6e8f1617e9a3ca1f0b49d713c3421977', class: {
|
|
163
163
|
CardList__Content: true,
|
|
164
164
|
CardList__Content__Collapsed: this.collapse,
|
|
165
165
|
CardList__Style__Flexbox__Scroll: this.listStyle === 'stack',
|
|
166
166
|
CardList__Style__Infinite__Scroll: this.listStyle === 'scroll',
|
|
167
|
-
}, onScroll: () => this.onCardListScroll() }, h("slot", { key: '
|
|
167
|
+
}, onScroll: () => this.onCardListScroll() }, h("slot", { key: 'abccd55d11dae4c83b6d7dcdabc77aec0a2f7b32', onSlotchange: () => this.changeVisibilityOfSlotChildren() }), this.isShowMoreCardVisible() ? (h("ix-card", { class: {
|
|
168
168
|
Show__All__Card: true,
|
|
169
169
|
}, onClick: (event) => this.showMoreCardClick.emit({
|
|
170
170
|
nativeEvent: event,
|
|
@@ -4,7 +4,7 @@ import { h, Host } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class CardHeader {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: 'a25925e3092733c276c366875802163184f79a2b' }, h("slot", { key: 'c379e97f4966141ac879c9df014f793955d1d2f3' }), h("div", { key: '5ea530ca1110748ed53b7b0724d5ec0920194628', class: "title-actions" }, h("slot", { key: '10f91158d202b321c21d07dda30ff7e59999aaa9', name: "title-actions" }))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "ix-card-title"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|