@siemens/ix 3.0.0-alpha.3 → 3.0.0-alpha.4
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 +2 -2
- package/components/ix-action-card.js +4 -4
- package/components/ix-application-header.js +1 -1
- package/components/ix-application-sidebar.js +1 -1
- package/components/ix-application-switch-modal.js +6 -6
- package/components/ix-application.js +2 -2
- package/components/ix-avatar.js +1 -1
- package/components/ix-basic-navigation.js +7 -7
- package/components/ix-blind.js +2 -2
- package/components/ix-breadcrumb-item.js +1 -1
- package/components/ix-breadcrumb.js +6 -6
- 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 +7 -7
- package/components/ix-card-title.js +1 -1
- package/components/ix-card.js +1 -1
- package/components/ix-category-filter.js +8 -8
- package/components/ix-checkbox-group.js +6 -6
- package/components/ix-checkbox.js +3 -3
- package/components/ix-chip.js +5 -5
- package/components/ix-col.js +1 -1
- package/components/ix-content-header.js +4 -4
- package/components/ix-content.js +1 -1
- package/components/ix-css-grid-item.js +1 -1
- package/components/ix-css-grid.js +1 -1
- package/components/ix-custom-field.js +6 -6
- package/components/ix-date-dropdown.js +12 -12
- package/components/ix-date-input.js +13 -13
- package/components/ix-date-picker.js +1 -1
- package/components/ix-date-time-card.js +1 -1
- package/components/ix-datetime-picker.js +12 -12
- package/components/ix-divider.js +1 -1
- package/components/ix-drawer.js +3 -3
- package/components/ix-dropdown-button.js +5 -5
- package/components/ix-dropdown-header.js +2 -2
- package/components/ix-dropdown-item.js +1 -1
- package/components/ix-dropdown-quick-actions.js +1 -1
- package/components/ix-dropdown.js +1 -1
- package/components/ix-empty-state.js +4 -4
- package/components/ix-event-list-item.js +1 -1
- package/components/ix-event-list.js +21 -10
- package/components/ix-event-list.js.map +1 -1
- package/components/ix-expanding-search.js +3 -3
- package/components/ix-field-label.js +1 -1
- package/components/ix-field-wrapper.js +1 -1
- package/components/ix-filter-chip.js +1 -1
- package/components/ix-flip-tile-content.js +1 -1
- package/components/ix-flip-tile.js +3 -3
- package/components/ix-group-context-menu.js +1 -1
- package/components/ix-group-item.js +1 -1
- package/components/ix-group.js +5 -5
- package/components/ix-helper-text.js +4 -4
- package/components/ix-icon-button.js +1 -1
- package/components/ix-icon-toggle-button.js +3 -3
- package/components/ix-input-group.js +1 -1
- package/components/ix-input.js +9 -9
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-key-value.js +1 -1
- package/components/ix-kpi.js +1 -1
- package/components/ix-layout-auto.js +1 -1
- package/components/ix-layout-grid.js +1 -1
- package/components/ix-link-button.js +1 -1
- package/components/ix-map-navigation-overlay.js +1 -1
- package/components/ix-map-navigation.js +8 -8
- package/components/ix-menu-about-item.js +1 -1
- package/components/ix-menu-about-news.js +5 -5
- package/components/ix-menu-about.js +6 -6
- package/components/ix-menu-avatar-item.js +1 -1
- package/components/ix-menu-avatar.js +8 -8
- package/components/ix-menu-category.js +7 -7
- package/components/ix-menu-expand-icon.js +1 -1
- package/components/ix-menu-item.js +1 -1
- package/components/ix-menu-settings-item.js +1 -1
- package/components/ix-menu-settings.js +1 -1
- package/components/ix-menu.js +7 -7
- package/components/ix-message-bar.js +3 -3
- package/components/ix-modal-content.js +1 -1
- package/components/ix-modal-footer.js +1 -1
- package/components/ix-modal-header.js +1 -1
- package/components/ix-modal-loading.js +2 -2
- package/components/ix-modal.js +3 -3
- package/components/ix-number-input.js +9 -9
- package/components/ix-pagination.js +13 -13
- package/components/ix-pane-layout.js +1 -1
- package/components/ix-pane.js +4 -4
- package/components/ix-pill.js +3 -3
- package/components/ix-push-card.js +6 -6
- package/components/ix-radio-group.js +6 -6
- package/components/ix-radio.js +2 -2
- 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 +4 -4
- package/components/ix-spinner.js +1 -1
- package/components/ix-split-button.js +5 -5
- package/components/ix-tab-item.js +1 -1
- package/components/ix-tabs.js +1 -1
- package/components/ix-textarea.js +7 -7
- package/components/ix-tile.js +1 -1
- package/components/ix-time-picker.js +1 -1
- package/components/ix-toast-container.js +4 -4
- package/components/ix-toast.js +1 -1
- package/components/ix-toggle-button.js +3 -3
- package/components/ix-toggle.js +2 -2
- package/components/ix-tooltip.js +1 -1
- package/components/ix-tree-item.js +1 -1
- package/components/ix-tree.js +26 -12
- package/components/ix-tree.js.map +1 -1
- package/components/ix-typography.js +1 -1
- package/components/ix-upload.js +5 -5
- package/components/ix-upload.js.map +1 -1
- package/components/ix-validation-tooltip.js +1 -1
- package/components/ix-workflow-step.js +1 -1
- package/components/ix-workflow-steps.js +1 -1
- package/components/{p-BkRdUBrT.js → p--wpo4GlP.js} +4 -4
- package/components/{p-BkRdUBrT.js.map → p--wpo4GlP.js.map} +1 -1
- package/components/{p-D60flNJM.js → p-0nVQO6bk.js} +5 -5
- package/components/{p-D60flNJM.js.map → p-0nVQO6bk.js.map} +1 -1
- package/components/{p-nRLifbYD.js → p-12nKYxsa.js} +8 -8
- package/components/{p-nRLifbYD.js.map → p-12nKYxsa.js.map} +1 -1
- package/components/{p-DcNP8_7d.js → p-2g5-4fWy.js} +3 -3
- package/components/{p-DcNP8_7d.js.map → p-2g5-4fWy.js.map} +1 -1
- package/components/{p-CAVJJh8O.js → p-B-zHEqXz.js} +8 -8
- package/components/{p-CAVJJh8O.js.map → p-B-zHEqXz.js.map} +1 -1
- package/components/{p-nxsAEeRV.js → p-B55mem60.js} +3 -3
- package/components/{p-nxsAEeRV.js.map → p-B55mem60.js.map} +1 -1
- package/components/{p-CIrU33UT.js → p-B9lvhAOc.js} +3 -3
- package/components/{p-CIrU33UT.js.map → p-B9lvhAOc.js.map} +1 -1
- package/components/{p-CtTl3_AV.js → p-BA1wZ05L.js} +158 -5
- package/components/p-BA1wZ05L.js.map +1 -0
- package/components/{p-jiOZu5Rs.js → p-BBSHeR_p.js} +3 -3
- package/components/{p-jiOZu5Rs.js.map → p-BBSHeR_p.js.map} +1 -1
- package/components/{p-DzCmj5t-.js → p-BBozAuYN.js} +3 -3
- package/components/{p-DzCmj5t-.js.map → p-BBozAuYN.js.map} +1 -1
- package/components/{p-CB5DzBgb.js → p-BDzoigTw.js} +9 -8
- package/components/p-BDzoigTw.js.map +1 -0
- package/components/{p-BAPgZLqz.js → p-BgpUzYBq.js} +3 -3
- package/components/{p-BAPgZLqz.js.map → p-BgpUzYBq.js.map} +1 -1
- package/components/{p-CI5W8CAi.js → p-Bnux5wOx.js} +3 -3
- package/components/{p-CI5W8CAi.js.map → p-Bnux5wOx.js.map} +1 -1
- package/components/{p-B_ksjKbq.js → p-BtKUjD8M.js} +4 -4
- package/components/p-BtKUjD8M.js.map +1 -0
- package/components/{p-BcWYFLel.js → p-BuK5WByk.js} +7 -7
- package/components/p-BuK5WByk.js.map +1 -0
- package/components/{p-CNFJ8TIs.js → p-BwyqOnwc.js} +31 -31
- package/components/p-BwyqOnwc.js.map +1 -0
- package/components/{p-D-z4lnIJ.js → p-C1BF91hb.js} +3 -3
- package/components/{p-D-z4lnIJ.js.map → p-C1BF91hb.js.map} +1 -1
- package/components/{p-C-mNdLd6.js → p-C7EBCKmV.js} +3 -3
- package/components/{p-C-mNdLd6.js.map → p-C7EBCKmV.js.map} +1 -1
- package/components/{p-BIjJHJC6.js → p-C8vn2GFY.js} +4 -4
- package/components/{p-BIjJHJC6.js.map → p-C8vn2GFY.js.map} +1 -1
- package/components/{p-vcRya6fE.js → p-CB1ADCkU.js} +4 -4
- package/components/{p-vcRya6fE.js.map → p-CB1ADCkU.js.map} +1 -1
- package/components/{p-CrQyJEVL.js → p-CEyDHqBY.js} +3 -3
- package/components/{p-CrQyJEVL.js.map → p-CEyDHqBY.js.map} +1 -1
- package/components/{p-C4TYRqdI.js → p-CVSy9bZ3.js} +3 -3
- package/components/{p-C4TYRqdI.js.map → p-CVSy9bZ3.js.map} +1 -1
- package/components/{p-DYsshkPV.js → p-CjvgrV9j.js} +5 -5
- package/components/{p-DYsshkPV.js.map → p-CjvgrV9j.js.map} +1 -1
- package/components/{p-Da1A2O4N.js → p-CniBfLG8.js} +6 -6
- package/components/{p-Da1A2O4N.js.map → p-CniBfLG8.js.map} +1 -1
- package/components/{p-C3b1PgFA.js → p-D-nh05RY.js} +3 -3
- package/components/{p-C3b1PgFA.js.map → p-D-nh05RY.js.map} +1 -1
- package/components/{p-Dly1Khc2.js → p-D0LdqSVb.js} +8 -8
- package/components/{p-Dly1Khc2.js.map → p-D0LdqSVb.js.map} +1 -1
- package/components/{p-CPbbOJ_i.js → p-DDisdyRU.js} +8 -8
- package/components/{p-CPbbOJ_i.js.map → p-DDisdyRU.js.map} +1 -1
- package/components/{p-1f50E84W.js → p-DFQ_caA4.js} +3 -3
- package/components/{p-1f50E84W.js.map → p-DFQ_caA4.js.map} +1 -1
- package/components/{p-DWZGOVME.js → p-DGeWaNlt.js} +3 -3
- package/components/{p-DWZGOVME.js.map → p-DGeWaNlt.js.map} +1 -1
- package/components/{p-BvVFL6_X.js → p-DIzxAERt.js} +5 -5
- package/components/{p-BvVFL6_X.js.map → p-DIzxAERt.js.map} +1 -1
- package/components/{p-rAP-ASw3.js → p-DM43N7pD.js} +42 -28
- package/components/p-DM43N7pD.js.map +1 -0
- package/components/{p-BNJ4Ws7A.js → p-DPZsirnB.js} +6 -6
- package/components/{p-BNJ4Ws7A.js.map → p-DPZsirnB.js.map} +1 -1
- package/components/{p-CDvg2uVS.js → p-DXzHgqiB.js} +3 -3
- package/components/{p-CDvg2uVS.js.map → p-DXzHgqiB.js.map} +1 -1
- package/components/{p-Ctm7nqyL.js → p-D_ThwWq-.js} +3 -3
- package/components/{p-Ctm7nqyL.js.map → p-D_ThwWq-.js.map} +1 -1
- package/components/{p-CA8lgT01.js → p-D_wwWxx8.js} +5 -5
- package/components/{p-CA8lgT01.js.map → p-D_wwWxx8.js.map} +1 -1
- package/components/{p-C1wxjy2C.js → p-Dfzl82x1.js} +11 -5
- package/components/p-Dfzl82x1.js.map +1 -0
- package/components/{p-DcqQbhTb.js → p-Dlmgmbod.js} +3 -3
- package/components/{p-DcqQbhTb.js.map → p-Dlmgmbod.js.map} +1 -1
- package/components/{p-D3VIxufW.js → p-DuEVN6w5.js} +4 -4
- package/components/{p-D3VIxufW.js.map → p-DuEVN6w5.js.map} +1 -1
- package/components/{p-CV6yma_f.js → p-Dy35mbzK.js} +4 -4
- package/components/{p-CV6yma_f.js.map → p-Dy35mbzK.js.map} +1 -1
- package/components/{p-BzcD2jYB.js → p-DylMlJTZ.js} +5 -5
- package/components/{p-BzcD2jYB.js.map → p-DylMlJTZ.js.map} +1 -1
- package/components/{p-CBVGeMwV.js → p-HblhO3lB.js} +5 -5
- package/components/{p-CBVGeMwV.js.map → p-HblhO3lB.js.map} +1 -1
- package/components/{p-CAtsUR4G.js → p-bM5r59DG.js} +3 -3
- package/components/{p-CAtsUR4G.js.map → p-bM5r59DG.js.map} +1 -1
- package/components/{p-TGPySHuR.js → p-iEAZQC4t.js} +5 -5
- package/components/{p-TGPySHuR.js.map → p-iEAZQC4t.js.map} +1 -1
- package/components/{p-0LfxrxE4.js → p-pyY5jSfE.js} +7 -7
- package/components/{p-0LfxrxE4.js.map → p-pyY5jSfE.js.map} +1 -1
- package/components/{p-C5YFrAhW.js → p-qnnCtPgc.js} +5 -5
- package/components/{p-C5YFrAhW.js.map → p-qnnCtPgc.js.map} +1 -1
- package/components/{p-BUgeMHDy.js → p-uv1SlmiP.js} +4 -4
- package/components/{p-BUgeMHDy.js.map → p-uv1SlmiP.js.map} +1 -1
- package/dist/cjs/app-globals-DOYDhlYa.js +10 -0
- package/dist/cjs/{app-globals-Dl9nm3FH.js.map → app-globals-DOYDhlYa.js.map} +1 -1
- package/dist/cjs/{base-button-CqhWuxXr.js → base-button-CAt4UMAy.js} +3 -3
- package/dist/cjs/{base-button-CqhWuxXr.js.map → base-button-CAt4UMAy.js.map} +1 -1
- package/dist/cjs/{base-icon-button-D0j4OzyN.js → base-icon-button-BOVJplyV.js} +4 -4
- package/dist/cjs/{base-icon-button-D0j4OzyN.js.map → base-icon-button-BOVJplyV.js.map} +1 -1
- package/dist/cjs/{helper-text-util-x8PVAsbI.js → helper-text-util-Dk2i8B86.js} +3 -3
- package/dist/cjs/{helper-text-util-x8PVAsbI.js.map → helper-text-util-Dk2i8B86.js.map} +1 -1
- package/dist/cjs/{index-DUl1Kp3_.js → index-CnXGUOZU.js} +158 -5
- package/dist/cjs/index-CnXGUOZU.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{input.util-DKYtpTVn.js → input.util-DuJG4-L-.js} +4 -4
- package/dist/cjs/{input.util-DKYtpTVn.js.map → input.util-DuJG4-L-.js.map} +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-application-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/ix-application-switch-modal.cjs.entry.js +1 -1
- package/dist/cjs/ix-application.cjs.entry.js +1 -1
- package/dist/cjs/ix-avatar_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ix-blind.cjs.entry.js +1 -1
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ix-button.cjs.entry.js +2 -2
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-card-list.cjs.entry.js +1 -1
- package/dist/cjs/ix-card_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-category-filter.cjs.entry.js +2 -2
- package/dist/cjs/ix-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/ix-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ix-chip.cjs.entry.js +1 -1
- package/dist/cjs/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-col_4.cjs.entry.js +35 -21
- package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-content-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-content.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/ix-date-input.cjs.entry.js +3 -3
- package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +1 -1
- package/dist/cjs/ix-divider.cjs.entry.js +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ix-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/ix-event-list-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-event-list.cjs.entry.js +21 -10
- package/dist/cjs/ix-event-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-event-list.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-expanding-search.cjs.entry.js +1 -1
- package/dist/cjs/ix-field-label.ix-field-wrapper.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-field-label_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-field-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
- package/dist/cjs/ix-flip-tile.cjs.entry.js +1 -1
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-helper-text.cjs.entry.js +3 -3
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-input.cjs.entry.js +3 -3
- 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 +1 -1
- package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
- package/dist/cjs/ix-link-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +1 -1
- package/dist/cjs/ix-map-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-about.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-category.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/{ix-menu-settings-CNmiFF1r.js → ix-menu-settings-WDbyAxNK.js} +3 -3
- package/dist/cjs/{ix-menu-settings-CNmiFF1r.js.map → ix-menu-settings-WDbyAxNK.js.map} +1 -1
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-settings.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu.cjs.entry.js +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/ix-number-input.cjs.entry.js +3 -3
- package/dist/cjs/ix-pagination.cjs.entry.js +2 -2
- package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
- package/dist/cjs/ix-pane.cjs.entry.js +1 -1
- package/dist/cjs/ix-pill.cjs.entry.js +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/ix-radio.cjs.entry.js +1 -1
- package/dist/cjs/ix-select.cjs.entry.js +19 -19
- package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-select.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-slider.cjs.entry.js +2 -2
- package/dist/cjs/ix-split-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ix-tile.cjs.entry.js +1 -1
- package/dist/cjs/ix-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/ix-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/ix-toast.cjs.entry.js +1 -1
- package/dist/cjs/ix-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/ix-toggle.cjs.entry.js +1 -1
- package/dist/cjs/ix-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ix-tree-item.cjs.entry.js +7 -6
- package/dist/cjs/ix-tree-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tree-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tree.cjs.entry.js +22 -9
- package/dist/cjs/ix-tree.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tree.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-typography.cjs.entry.js +9 -3
- package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-typography.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +3 -3
- package/dist/cjs/ix-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-upload.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ix-workflow-step.cjs.entry.js +1 -1
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
- package/dist/cjs/{listener-dZdfN-j_.js → listener-CF6zdO2s.js} +3 -3
- package/dist/cjs/{listener-dZdfN-j_.js.map → listener-CF6zdO2s.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{setup-CubfbTM8.js → setup-C3hsSIIc.js} +3 -3
- package/dist/cjs/{setup-CubfbTM8.js.map → setup-C3hsSIIc.js.map} +1 -1
- package/dist/cjs/siemens-ix.cjs.js +5 -5
- package/dist/cjs/siemens-ix.cjs.js.map +1 -1
- package/dist/cjs/{validation-CAJ2gTIK.js → validation-B-wzGaWF.js} +3 -3
- package/dist/cjs/{validation-CAJ2gTIK.js.map → validation-B-wzGaWF.js.map} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/action-card/action-card.js +5 -5
- package/dist/collection/components/application/application.js +5 -3
- package/dist/collection/components/application/application.js.map +1 -1
- package/dist/collection/components/application-header/application-header.js +2 -2
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +1 -0
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js.map +1 -1
- package/dist/collection/components/avatar/avatar.js +4 -4
- package/dist/collection/components/basic-navigation/basic-navigation.js +4 -3
- package/dist/collection/components/basic-navigation/basic-navigation.js.map +1 -1
- package/dist/collection/components/blind/blind.js +5 -5
- package/dist/collection/components/breadcrumb/breadcrumb.js +4 -3
- package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +6 -6
- package/dist/collection/components/button/button.js +9 -9
- package/dist/collection/components/card/card.js +2 -2
- package/dist/collection/components/card-accordion/card-accordion.js +1 -1
- package/dist/collection/components/card-list/card-list.js +9 -9
- package/dist/collection/components/category-filter/category-filter.js +14 -10
- package/dist/collection/components/category-filter/category-filter.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.js +7 -7
- package/dist/collection/components/checkbox-group/checkbox-group.js +8 -8
- package/dist/collection/components/chip/chip.js +8 -8
- package/dist/collection/components/col/col.js +4 -4
- package/dist/collection/components/content-header/content-header.js +4 -4
- package/dist/collection/components/css-grid/css-grid-item.js +1 -1
- package/dist/collection/components/css-grid/css-grid.js +1 -0
- package/dist/collection/components/css-grid/css-grid.js.map +1 -1
- package/dist/collection/components/custom-field/custom-field.js +8 -8
- package/dist/collection/components/custom-field/tests/custom-field.ct.js +1 -1
- package/dist/collection/components/custom-field/tests/custom-field.ct.js.map +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.js +21 -20
- package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
- package/dist/collection/components/date-input/date-input.js +17 -17
- package/dist/collection/components/date-input/tests/date-input.ct.js +1 -1
- package/dist/collection/components/date-input/tests/date-input.ct.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.js +46 -32
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-picker/test/date-picker.ct.js +17 -0
- package/dist/collection/components/date-picker/test/date-picker.ct.js.map +1 -1
- package/dist/collection/components/date-time-card/date-time-card.js +3 -3
- package/dist/collection/components/datetime-picker/datetime-picker.js +18 -18
- package/dist/collection/components/drawer/drawer.js +6 -6
- package/dist/collection/components/dropdown/dropdown.js +13 -11
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.js +8 -8
- package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +7 -7
- package/dist/collection/components/empty-state/empty-state.js +5 -5
- package/dist/collection/components/event-list/event-list.js +24 -13
- package/dist/collection/components/event-list/event-list.js.map +1 -1
- package/dist/collection/components/event-list/test/event-list.ct.js +27 -0
- package/dist/collection/components/event-list/test/event-list.ct.js.map +1 -1
- package/dist/collection/components/event-list-item/event-list-item.js +4 -4
- package/dist/collection/components/expanding-search/expanding-search.js +7 -7
- package/dist/collection/components/field-label/field-label.js +5 -4
- package/dist/collection/components/field-label/field-label.js.map +1 -1
- package/dist/collection/components/field-label/tests/field-label.ct.js +1 -1
- package/dist/collection/components/field-label/tests/field-label.ct.js.map +1 -1
- package/dist/collection/components/field-wrapper/field-wrapper.js +14 -13
- package/dist/collection/components/field-wrapper/field-wrapper.js.map +1 -1
- package/dist/collection/components/filter-chip/filter-chip.js +2 -2
- package/dist/collection/components/flip-tile/flip-tile.js +4 -4
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
- package/dist/collection/components/group/group.js +7 -7
- package/dist/collection/components/group-item/group-item.js +7 -7
- package/dist/collection/components/helper-text/helper-text.js +6 -6
- package/dist/collection/components/icon-button/icon-button.js +11 -11
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +8 -8
- package/dist/collection/components/input/input.js +18 -18
- package/dist/collection/components/input/number-input.js +18 -18
- package/dist/collection/components/input/textarea.js +20 -20
- package/dist/collection/components/key-value/key-value.js +4 -4
- package/dist/collection/components/key-value-list/key-value-list.js +1 -1
- package/dist/collection/components/kpi/kpi.js +5 -5
- package/dist/collection/components/layout-auto/layout-auto.js +1 -0
- package/dist/collection/components/layout-auto/layout-auto.js.map +1 -1
- package/dist/collection/components/layout-grid/layout-grid.js +3 -3
- package/dist/collection/components/link-button/link-button.js +3 -3
- package/dist/collection/components/map-navigation/map-navigation.js +3 -3
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +4 -4
- package/dist/collection/components/menu/menu-expand-icon.js +4 -4
- package/dist/collection/components/menu/menu.js +16 -16
- package/dist/collection/components/menu-about/menu-about.js +3 -3
- package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.js +6 -6
- package/dist/collection/components/menu-avatar/menu-avatar.js +6 -6
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +2 -2
- package/dist/collection/components/menu-category/menu-category.js +3 -3
- package/dist/collection/components/menu-item/menu-item.js +8 -8
- package/dist/collection/components/menu-settings/menu-settings.js +3 -3
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
- package/dist/collection/components/message-bar/message-bar.js +2 -2
- package/dist/collection/components/modal/modal.js +7 -6
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/modal-header/modal-header.js +3 -3
- package/dist/collection/components/pagination/pagination.js +8 -8
- package/dist/collection/components/pane/pane.js +10 -10
- package/dist/collection/components/pane-layout/pane-layout.js +3 -3
- package/dist/collection/components/pill/pill.js +7 -7
- package/dist/collection/components/push-card/push-card.js +6 -6
- package/dist/collection/components/radio/radio.js +5 -5
- package/dist/collection/components/radio-group/radio-group.js +9 -9
- package/dist/collection/components/select/select.js +38 -38
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/test/select.ct.js +66 -0
- package/dist/collection/components/select/test/select.ct.js.map +1 -1
- package/dist/collection/components/select-item/select-item.js +4 -4
- package/dist/collection/components/slider/slider.js +9 -8
- package/dist/collection/components/slider/slider.js.map +1 -1
- package/dist/collection/components/spinner/spinner.js +3 -3
- package/dist/collection/components/split-button/split-button.js +9 -9
- package/dist/collection/components/tab-item/tab-item.js +8 -8
- package/dist/collection/components/tabs/tabs.js +5 -5
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +10 -10
- package/dist/collection/components/toast/toast-container.js +3 -3
- package/dist/collection/components/toast/toast.js +6 -6
- package/dist/collection/components/toggle/toggle.js +10 -10
- package/dist/collection/components/toggle-button/toggle-button.js +7 -7
- package/dist/collection/components/tooltip/tooltip.js +8 -8
- package/dist/collection/components/tree/test/tree.ct.js +165 -0
- package/dist/collection/components/tree/test/tree.ct.js.map +1 -1
- package/dist/collection/components/tree/tree.js +47 -9
- package/dist/collection/components/tree/tree.js.map +1 -1
- package/dist/collection/components/tree-item/tree-item.js +9 -7
- package/dist/collection/components/tree-item/tree-item.js.map +1 -1
- package/dist/collection/components/typography/typography.js +13 -7
- package/dist/collection/components/typography/typography.js.map +1 -1
- package/dist/collection/components/upload/upload.js +13 -13
- package/dist/collection/components/upload/upload.js.map +1 -1
- package/dist/collection/components/utils/input/index.js.map +1 -1
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +3 -3
- package/dist/collection/components/workflow-step/workflow-step.js +6 -6
- package/dist/collection/components/workflow-steps/workflow-steps.js +3 -3
- package/dist/esm/app-globals-BvoVB2w2.js +8 -0
- package/dist/esm/{app-globals-u1To5tos.js.map → app-globals-BvoVB2w2.js.map} +1 -1
- package/dist/esm/{base-button-IZFEmS6o.js → base-button-BfH8hAk6.js} +3 -3
- package/dist/esm/{base-button-IZFEmS6o.js.map → base-button-BfH8hAk6.js.map} +1 -1
- package/dist/esm/{base-icon-button-bH_gbsvW.js → base-icon-button-B43h4CjD.js} +4 -4
- package/dist/esm/{base-icon-button-bH_gbsvW.js.map → base-icon-button-B43h4CjD.js.map} +1 -1
- package/dist/esm/{helper-text-util-BUSv2nIj.js → helper-text-util-DR9KOBuX.js} +3 -3
- package/dist/esm/{helper-text-util-BUSv2nIj.js.map → helper-text-util-DR9KOBuX.js.map} +1 -1
- package/dist/esm/{index-DtF9fwpD.js → index-BNpBEtDH.js} +158 -5
- package/dist/esm/index-BNpBEtDH.js.map +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/{input.util-BbBYOl1b.js → input.util-DpnoI5lb.js} +4 -4
- package/dist/esm/{input.util-BbBYOl1b.js.map → input.util-DpnoI5lb.js.map} +1 -1
- package/dist/esm/ix-action-card.entry.js +1 -1
- package/dist/esm/ix-application-header.entry.js +1 -1
- package/dist/esm/ix-application-sidebar.entry.js +1 -1
- package/dist/esm/ix-application-switch-modal.entry.js +1 -1
- package/dist/esm/ix-application.entry.js +1 -1
- package/dist/esm/ix-avatar_2.entry.js +2 -2
- package/dist/esm/ix-basic-navigation.entry.js +1 -1
- package/dist/esm/ix-blind.entry.js +1 -1
- package/dist/esm/ix-breadcrumb-item.entry.js +2 -2
- package/dist/esm/ix-breadcrumb.entry.js +1 -1
- package/dist/esm/ix-button.entry.js +2 -2
- package/dist/esm/ix-card-accordion_2.entry.js +1 -1
- package/dist/esm/ix-card-list.entry.js +1 -1
- package/dist/esm/ix-card_2.entry.js +1 -1
- package/dist/esm/ix-category-filter.entry.js +2 -2
- package/dist/esm/ix-checkbox-group.entry.js +2 -2
- package/dist/esm/ix-checkbox.entry.js +2 -2
- package/dist/esm/ix-chip.entry.js +1 -1
- package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
- package/dist/esm/ix-col_4.entry.js +35 -21
- package/dist/esm/ix-col_4.entry.js.map +1 -1
- package/dist/esm/ix-content-header.entry.js +1 -1
- package/dist/esm/ix-content.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/ix-date-input.entry.js +3 -3
- package/dist/esm/ix-date-time-card.entry.js +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +1 -1
- package/dist/esm/ix-divider.entry.js +1 -1
- package/dist/esm/ix-drawer.entry.js +1 -1
- package/dist/esm/ix-dropdown-button.entry.js +1 -1
- package/dist/esm/ix-dropdown-header.entry.js +1 -1
- package/dist/esm/ix-dropdown-item.entry.js +2 -2
- package/dist/esm/ix-dropdown-item.entry.js.map +1 -1
- package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
- package/dist/esm/ix-dropdown.entry.js +1 -1
- package/dist/esm/ix-empty-state.entry.js +1 -1
- package/dist/esm/ix-event-list-item.entry.js +1 -1
- package/dist/esm/ix-event-list.entry.js +21 -10
- package/dist/esm/ix-event-list.entry.js.map +1 -1
- package/dist/esm/ix-expanding-search.entry.js +1 -1
- package/dist/esm/ix-field-label.ix-field-wrapper.entry.js.map +1 -1
- package/dist/esm/ix-field-label_2.entry.js +4 -4
- package/dist/esm/ix-field-label_2.entry.js.map +1 -1
- package/dist/esm/ix-filter-chip_2.entry.js +1 -1
- package/dist/esm/ix-flip-tile-content.entry.js +1 -1
- package/dist/esm/ix-flip-tile.entry.js +1 -1
- package/dist/esm/ix-group-context-menu_2.entry.js +1 -1
- package/dist/esm/ix-group.entry.js +1 -1
- package/dist/esm/ix-helper-text.entry.js +3 -3
- package/dist/esm/ix-icon-button_2.entry.js +3 -3
- package/dist/esm/ix-icon-toggle-button.entry.js +3 -3
- package/dist/esm/ix-input-group.entry.js +1 -1
- package/dist/esm/ix-input.entry.js +3 -3
- 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 +1 -1
- package/dist/esm/ix-layout-auto.entry.js +1 -1
- package/dist/esm/ix-link-button.entry.js +1 -1
- package/dist/esm/ix-map-navigation-overlay.entry.js +1 -1
- package/dist/esm/ix-map-navigation.entry.js +1 -1
- package/dist/esm/ix-menu-about-item.entry.js +1 -1
- package/dist/esm/ix-menu-about-news.entry.js +1 -1
- package/dist/esm/ix-menu-about.entry.js +2 -2
- package/dist/esm/ix-menu-avatar.entry.js +1 -1
- package/dist/esm/ix-menu-category.entry.js +1 -1
- package/dist/esm/ix-menu-expand-icon.entry.js +2 -2
- package/dist/esm/ix-menu-item.entry.js +1 -1
- package/dist/esm/{ix-menu-settings-BOBnQeQI.js → ix-menu-settings-B4RirRi3.js} +3 -3
- package/dist/esm/{ix-menu-settings-BOBnQeQI.js.map → ix-menu-settings-B4RirRi3.js.map} +1 -1
- 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 +1 -1
- package/dist/esm/ix-message-bar.entry.js +1 -1
- package/dist/esm/ix-modal-content_2.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/ix-number-input.entry.js +3 -3
- package/dist/esm/ix-pagination.entry.js +2 -2
- package/dist/esm/ix-pane-layout.entry.js +1 -1
- package/dist/esm/ix-pane.entry.js +1 -1
- package/dist/esm/ix-pill.entry.js +1 -1
- package/dist/esm/ix-push-card.entry.js +1 -1
- package/dist/esm/ix-radio-group.entry.js +2 -2
- package/dist/esm/ix-radio.entry.js +1 -1
- package/dist/esm/ix-select.entry.js +19 -19
- package/dist/esm/ix-select.entry.js.map +1 -1
- package/dist/esm/ix-slider.entry.js +2 -2
- package/dist/esm/ix-split-button.entry.js +1 -1
- package/dist/esm/ix-tab-item_2.entry.js +1 -1
- package/dist/esm/ix-textarea.entry.js +3 -3
- package/dist/esm/ix-tile.entry.js +1 -1
- package/dist/esm/ix-time-picker.entry.js +1 -1
- package/dist/esm/ix-toast-container.entry.js +1 -1
- package/dist/esm/ix-toast.entry.js +1 -1
- package/dist/esm/ix-toggle-button.entry.js +2 -2
- package/dist/esm/ix-toggle.entry.js +1 -1
- package/dist/esm/ix-tooltip.entry.js +1 -1
- package/dist/esm/ix-tree-item.entry.js +7 -6
- package/dist/esm/ix-tree-item.entry.js.map +1 -1
- package/dist/esm/ix-tree.entry.js +22 -9
- package/dist/esm/ix-tree.entry.js.map +1 -1
- package/dist/esm/ix-typography.entry.js +9 -3
- package/dist/esm/ix-typography.entry.js.map +1 -1
- package/dist/esm/ix-upload.entry.js +3 -3
- package/dist/esm/ix-upload.entry.js.map +1 -1
- package/dist/esm/ix-validation-tooltip.entry.js +1 -1
- package/dist/esm/ix-workflow-step.entry.js +1 -1
- package/dist/esm/ix-workflow-steps.entry.js +1 -1
- package/dist/esm/{listener-CNnvvup1.js → listener-Cu2ljot5.js} +3 -3
- package/dist/esm/{listener-CNnvvup1.js.map → listener-Cu2ljot5.js.map} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{setup-BbF8F_t9.js → setup-BKhm4UrF.js} +3 -3
- package/dist/esm/{setup-BbF8F_t9.js.map → setup-BKhm4UrF.js.map} +1 -1
- package/dist/esm/siemens-ix.js +6 -6
- package/dist/esm/siemens-ix.js.map +1 -1
- package/dist/esm/{validation-C3siDfPQ.js → validation-C_w_pHgR.js} +3 -3
- package/dist/esm/{validation-C3siDfPQ.js.map → validation-C_w_pHgR.js.map} +1 -1
- package/dist/siemens-ix/index.esm.js +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-dropdown-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-event-list.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-field-label.ix-field-wrapper.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-select.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-tree-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-tree.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-typography.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-upload.entry.esm.js.map +1 -1
- package/dist/siemens-ix/{p-a2c05b1b.entry.js → p-000cfb14.entry.js} +2 -2
- package/dist/siemens-ix/p-003f8d27.entry.js +2 -0
- package/dist/siemens-ix/p-0488a734.entry.js +2 -0
- package/dist/siemens-ix/p-0488a734.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9505ff9d.entry.js → p-08931f8c.entry.js} +2 -2
- package/dist/siemens-ix/{p-8960c872.entry.js → p-0c830977.entry.js} +2 -2
- package/dist/siemens-ix/{p-08e33f34.entry.js → p-12110136.entry.js} +2 -2
- package/dist/siemens-ix/{p-3af8304e.entry.js → p-163e742f.entry.js} +2 -2
- package/dist/siemens-ix/{p-cc843644.entry.js → p-191c9ec6.entry.js} +2 -2
- package/dist/siemens-ix/{p-9185b8c1.entry.js → p-19ae7d99.entry.js} +2 -2
- package/dist/siemens-ix/{p-538743fb.entry.js → p-19e9505f.entry.js} +2 -2
- package/dist/siemens-ix/p-1HUk727A.js +2 -0
- package/dist/siemens-ix/{p-CKA5agGR.js.map → p-1HUk727A.js.map} +1 -1
- package/dist/siemens-ix/{p-b761a9d6.entry.js → p-20d1d114.entry.js} +2 -2
- package/dist/siemens-ix/{p-10d57ca2.entry.js → p-2290614f.entry.js} +2 -2
- package/dist/siemens-ix/{p-316cf983.entry.js → p-2295246b.entry.js} +2 -2
- package/dist/siemens-ix/{p-eba65395.entry.js → p-273bd3ab.entry.js} +2 -2
- package/dist/siemens-ix/{p-ce331bdc.entry.js → p-28055ea5.entry.js} +2 -2
- package/dist/siemens-ix/{p-d1420219.entry.js → p-2e4b9c1a.entry.js} +2 -2
- package/dist/siemens-ix/{p-Cdt22lfd.js → p-2j3Ly91D.js} +2 -2
- package/dist/siemens-ix/{p-Cdt22lfd.js.map → p-2j3Ly91D.js.map} +1 -1
- package/dist/siemens-ix/{p-e5ab9886.entry.js → p-3138015e.entry.js} +2 -2
- package/dist/siemens-ix/{p-d1e08a10.entry.js → p-3283a5f3.entry.js} +2 -2
- package/dist/siemens-ix/{p-765ffc2a.entry.js → p-34ff567f.entry.js} +2 -2
- package/dist/siemens-ix/{p-2d9eb88d.entry.js → p-374de51d.entry.js} +2 -2
- package/dist/siemens-ix/{p-91a5bb6c.entry.js → p-37fa26f9.entry.js} +2 -2
- package/dist/siemens-ix/{p-a0ef8437.entry.js → p-3a0a5bc2.entry.js} +2 -2
- package/dist/siemens-ix/{p-718a54f8.entry.js → p-3d8a3b8a.entry.js} +2 -2
- package/dist/siemens-ix/{p-523e3cce.entry.js → p-3db26a34.entry.js} +2 -2
- package/dist/siemens-ix/{p-1b4019b5.entry.js → p-3e1a9763.entry.js} +2 -2
- package/dist/siemens-ix/{p-ac9215b9.entry.js → p-3edc7dd2.entry.js} +2 -2
- package/dist/siemens-ix/{p-43e8cbf1.entry.js → p-4b0c3eeb.entry.js} +2 -2
- package/dist/siemens-ix/{p-19b855f3.entry.js → p-518b1e6b.entry.js} +2 -2
- package/dist/siemens-ix/p-575b3137.entry.js +2 -0
- package/dist/siemens-ix/p-575b3137.entry.js.map +1 -0
- package/dist/siemens-ix/{p-3d57eed7.entry.js → p-576fade1.entry.js} +2 -2
- package/dist/siemens-ix/{p-6d38bed7.entry.js → p-5963369c.entry.js} +2 -2
- package/dist/siemens-ix/{p-320281ab.entry.js → p-5b0d1cc9.entry.js} +2 -2
- package/dist/siemens-ix/{p-0f72ac93.entry.js → p-5b1d3595.entry.js} +2 -2
- package/dist/siemens-ix/{p-1b488eb2.entry.js → p-5fe74d24.entry.js} +2 -2
- package/dist/siemens-ix/{p-1e2dfffb.entry.js → p-5fef5328.entry.js} +2 -2
- package/dist/siemens-ix/{p-fa3623a3.entry.js → p-6691703e.entry.js} +2 -2
- package/dist/siemens-ix/{p-bd6e324a.entry.js → p-66fb6549.entry.js} +2 -2
- package/dist/siemens-ix/{p-3677ae1c.entry.js → p-6d197072.entry.js} +2 -2
- package/dist/siemens-ix/{p-1a1e0f93.entry.js → p-734bcb23.entry.js} +2 -2
- package/dist/siemens-ix/{p-32612a51.entry.js → p-78f99962.entry.js} +2 -2
- package/dist/siemens-ix/{p-001a084b.entry.js → p-79febe81.entry.js} +2 -2
- package/dist/siemens-ix/{p-e8252fd7.entry.js → p-7abb0f0c.entry.js} +2 -2
- package/dist/siemens-ix/{p-8920bbfe.entry.js → p-8702121e.entry.js} +2 -2
- package/dist/siemens-ix/{p-8920bbfe.entry.js.map → p-8702121e.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-61140574.entry.js → p-87b30e60.entry.js} +2 -2
- package/dist/siemens-ix/{p-2aa40bcf.entry.js → p-87c777a1.entry.js} +2 -2
- package/dist/siemens-ix/{p-71eaa791.entry.js → p-888fa4b1.entry.js} +2 -2
- package/dist/siemens-ix/{p-b0a445d7.entry.js → p-89edecbd.entry.js} +2 -2
- package/dist/siemens-ix/{p-1837e711.entry.js → p-8c24d360.entry.js} +2 -2
- package/dist/siemens-ix/p-8c24d360.entry.js.map +1 -0
- package/dist/siemens-ix/{p-d6bf2d75.entry.js → p-933f6e1f.entry.js} +2 -2
- package/dist/siemens-ix/p-93ba92af.entry.js +2 -0
- package/dist/siemens-ix/p-93ba92af.entry.js.map +1 -0
- package/dist/siemens-ix/{p-d3e0d6d9.entry.js → p-96bbbbcb.entry.js} +2 -2
- package/dist/siemens-ix/{p-ff85bd49.entry.js → p-9a679e62.entry.js} +2 -2
- package/dist/siemens-ix/{p-a1c09e3c.entry.js → p-9e3a36df.entry.js} +2 -2
- package/dist/siemens-ix/{p-afd2fa29.entry.js → p-9e83986f.entry.js} +2 -2
- package/dist/siemens-ix/p-B5WJpsEz.js +2 -0
- package/dist/siemens-ix/{p-Dk_lr0xl.js.map → p-B5WJpsEz.js.map} +1 -1
- package/dist/siemens-ix/p-BNpBEtDH.js +3 -0
- package/dist/siemens-ix/p-BNpBEtDH.js.map +1 -0
- package/dist/siemens-ix/{p-CANRrgK_.js → p-BPfEX8mR.js} +2 -2
- package/dist/siemens-ix/{p-CANRrgK_.js.map → p-BPfEX8mR.js.map} +1 -1
- package/dist/siemens-ix/{p-z5yZxfe2.js → p-BXguuvvE.js} +2 -2
- package/dist/siemens-ix/{p-z5yZxfe2.js.map → p-BXguuvvE.js.map} +1 -1
- package/dist/siemens-ix/{p-CdOJ663o.js → p-CFHLJNAe.js} +2 -2
- package/dist/siemens-ix/{p-CdOJ663o.js.map → p-CFHLJNAe.js.map} +1 -1
- package/dist/siemens-ix/p-DTE55Tq_.js +2 -0
- package/dist/siemens-ix/{p-CYvkc2CR.js.map → p-DTE55Tq_.js.map} +1 -1
- package/dist/siemens-ix/{p-CZ1HWy6s.js → p-Df9aoecP.js} +2 -2
- package/dist/siemens-ix/{p-CZ1HWy6s.js.map → p-Df9aoecP.js.map} +1 -1
- package/dist/siemens-ix/{p-DQmgxFuB.js → p-MzQjR-h5.js} +2 -2
- package/dist/siemens-ix/{p-DQmgxFuB.js.map → p-MzQjR-h5.js.map} +1 -1
- package/dist/siemens-ix/{p-c56c3898.entry.js → p-a4d17743.entry.js} +2 -2
- package/dist/siemens-ix/{p-a55e1df3.entry.js → p-a963c368.entry.js} +2 -2
- package/dist/siemens-ix/{p-8b41e47d.entry.js → p-ac5f5042.entry.js} +2 -2
- package/dist/siemens-ix/{p-3f03f070.entry.js → p-aeb1eb75.entry.js} +2 -2
- package/dist/siemens-ix/{p-2927de2b.entry.js → p-aee95ea9.entry.js} +2 -2
- package/dist/siemens-ix/{p-9a7db83b.entry.js → p-af701797.entry.js} +2 -2
- package/dist/siemens-ix/{p-ecefabdb.entry.js → p-b01c5093.entry.js} +2 -2
- package/dist/siemens-ix/p-b11fe6c8.entry.js +2 -0
- package/dist/siemens-ix/p-b11fe6c8.entry.js.map +1 -0
- package/dist/siemens-ix/{p-b0cfcae1.entry.js → p-b39463a7.entry.js} +2 -2
- package/dist/siemens-ix/{p-45427457.entry.js → p-b59f5bf2.entry.js} +2 -2
- package/dist/siemens-ix/{p-9ca14286.entry.js → p-b7d15091.entry.js} +2 -2
- package/dist/siemens-ix/{p-5e241a1f.entry.js → p-ba7b399c.entry.js} +2 -2
- package/dist/siemens-ix/p-bb6c203d.entry.js +2 -0
- package/dist/siemens-ix/p-bb6c203d.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9439d379.entry.js → p-bc3714e4.entry.js} +2 -2
- package/dist/siemens-ix/{p-127a8ea3.entry.js → p-bf8e97d7.entry.js} +2 -2
- package/dist/siemens-ix/{p-6b316d6a.entry.js → p-c0e4bf8a.entry.js} +2 -2
- package/dist/siemens-ix/{p-e59e6e87.entry.js → p-c675b650.entry.js} +2 -2
- package/dist/siemens-ix/p-c7384379.entry.js +2 -0
- package/dist/siemens-ix/{p-6ae131ad.entry.js.map → p-c7384379.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-a48f6140.entry.js → p-c80dddf1.entry.js} +2 -2
- package/dist/siemens-ix/{p-cb5000ac.entry.js → p-c93a8094.entry.js} +2 -2
- package/dist/siemens-ix/{p-08d2c2e8.entry.js → p-ca328fc2.entry.js} +2 -2
- package/dist/siemens-ix/{p-033a9520.entry.js → p-cd52e37a.entry.js} +2 -2
- package/dist/siemens-ix/{p-b2fd83da.entry.js → p-ce0642f0.entry.js} +2 -2
- package/dist/siemens-ix/{p-b606a172.entry.js → p-d132ce81.entry.js} +2 -2
- package/dist/siemens-ix/{p-f30f9b01.entry.js → p-d1cf2407.entry.js} +2 -2
- package/dist/siemens-ix/{p-89868ccc.entry.js → p-d2da2e45.entry.js} +2 -2
- package/dist/siemens-ix/{p-accb8080.entry.js → p-d3f99d59.entry.js} +2 -2
- package/dist/siemens-ix/{p-38d3e0c8.entry.js → p-da378974.entry.js} +2 -2
- package/dist/siemens-ix/{p-2240c295.entry.js → p-dd627440.entry.js} +2 -2
- package/dist/siemens-ix/{p-66e7e232.entry.js → p-e365aee3.entry.js} +2 -2
- package/dist/siemens-ix/{p-802636fd.entry.js → p-e501b6ca.entry.js} +2 -2
- package/dist/siemens-ix/{p-01c3ef64.entry.js → p-e6c7e87a.entry.js} +2 -2
- package/dist/siemens-ix/{p-1bf52529.entry.js → p-eb5da5a0.entry.js} +2 -2
- package/dist/siemens-ix/{p-eccfb343.entry.js → p-ee76fac1.entry.js} +2 -2
- package/dist/siemens-ix/{p-ee807086.entry.js → p-efe78c2f.entry.js} +2 -2
- package/dist/siemens-ix/{p-f8976f8e.entry.js → p-f0575255.entry.js} +2 -2
- package/dist/siemens-ix/{p-7cb18fa5.entry.js → p-f3022851.entry.js} +2 -2
- package/dist/siemens-ix/p-f3022851.entry.js.map +1 -0
- package/dist/siemens-ix/{p-c210f347.entry.js → p-f3f6e45d.entry.js} +2 -2
- package/dist/siemens-ix/{p-c2b23c82.entry.js → p-f3ffbaf9.entry.js} +2 -2
- package/dist/siemens-ix/{p-d1e55b65.entry.js → p-f7bfd5f6.entry.js} +2 -2
- package/dist/siemens-ix/{p-cbf9dc1c.entry.js → p-f81de54a.entry.js} +2 -2
- package/dist/siemens-ix/{p-9ed2e8df.entry.js → p-f8a852c3.entry.js} +2 -2
- package/dist/siemens-ix/{p-736a7446.entry.js → p-f8b08d7b.entry.js} +2 -2
- package/dist/siemens-ix/p-f8b08d7b.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9170f4cd.entry.js → p-ff072152.entry.js} +2 -2
- package/dist/siemens-ix/{p-aaf423b9.entry.js → p-ff2171f6.entry.js} +2 -2
- package/dist/siemens-ix/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
- package/dist/siemens-ix/theme/classic-dark.css +1 -1
- package/dist/siemens-ix/theme/classic-light.css +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +2 -0
- package/dist/types/components/event-list/event-list.d.ts +1 -0
- package/dist/types/components/tree/tree.d.ts +6 -0
- package/dist/types/components/typography/typography.d.ts +2 -1
- package/dist/types/components/utils/input/index.d.ts +1 -1
- package/dist/types/components.d.ts +10 -0
- package/dist/types/stencil-public-runtime.d.ts +2 -0
- package/hydrate/index.d.ts +12 -0
- package/hydrate/index.js +646 -89
- package/hydrate/index.mjs +645 -90
- package/package.json +5 -5
- package/components/p-B_ksjKbq.js.map +0 -1
- package/components/p-BcWYFLel.js.map +0 -1
- package/components/p-C1wxjy2C.js.map +0 -1
- package/components/p-CB5DzBgb.js.map +0 -1
- package/components/p-CNFJ8TIs.js.map +0 -1
- package/components/p-CtTl3_AV.js.map +0 -1
- package/components/p-rAP-ASw3.js.map +0 -1
- package/dist/cjs/app-globals-Dl9nm3FH.js +0 -10
- package/dist/cjs/index-DUl1Kp3_.js.map +0 -1
- package/dist/esm/app-globals-u1To5tos.js +0 -8
- package/dist/esm/index-DtF9fwpD.js.map +0 -1
- package/dist/siemens-ix/p-1837e711.entry.js.map +0 -1
- package/dist/siemens-ix/p-2c95e67c.entry.js +0 -2
- package/dist/siemens-ix/p-6ae131ad.entry.js +0 -2
- package/dist/siemens-ix/p-6c554ece.entry.js +0 -2
- package/dist/siemens-ix/p-6c554ece.entry.js.map +0 -1
- package/dist/siemens-ix/p-736a7446.entry.js.map +0 -1
- package/dist/siemens-ix/p-7cb18fa5.entry.js.map +0 -1
- package/dist/siemens-ix/p-9196f153.entry.js +0 -2
- package/dist/siemens-ix/p-9196f153.entry.js.map +0 -1
- package/dist/siemens-ix/p-CKA5agGR.js +0 -2
- package/dist/siemens-ix/p-CYvkc2CR.js +0 -2
- package/dist/siemens-ix/p-Dk_lr0xl.js +0 -2
- package/dist/siemens-ix/p-DtF9fwpD.js +0 -3
- package/dist/siemens-ix/p-DtF9fwpD.js.map +0 -1
- package/dist/siemens-ix/p-cefd8579.entry.js +0 -2
- package/dist/siemens-ix/p-cefd8579.entry.js.map +0 -1
- package/dist/siemens-ix/p-ec92f199.entry.js +0 -2
- package/dist/siemens-ix/p-ec92f199.entry.js.map +0 -1
- package/dist/siemens-ix/p-f607e4c0.entry.js +0 -2
- package/dist/siemens-ix/p-f607e4c0.entry.js.map +0 -1
- /package/dist/siemens-ix/{p-a2c05b1b.entry.js.map → p-000cfb14.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2c95e67c.entry.js.map → p-003f8d27.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9505ff9d.entry.js.map → p-08931f8c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8960c872.entry.js.map → p-0c830977.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-08e33f34.entry.js.map → p-12110136.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3af8304e.entry.js.map → p-163e742f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cc843644.entry.js.map → p-191c9ec6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9185b8c1.entry.js.map → p-19ae7d99.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-538743fb.entry.js.map → p-19e9505f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b761a9d6.entry.js.map → p-20d1d114.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-10d57ca2.entry.js.map → p-2290614f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-316cf983.entry.js.map → p-2295246b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-eba65395.entry.js.map → p-273bd3ab.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ce331bdc.entry.js.map → p-28055ea5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d1420219.entry.js.map → p-2e4b9c1a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e5ab9886.entry.js.map → p-3138015e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d1e08a10.entry.js.map → p-3283a5f3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-765ffc2a.entry.js.map → p-34ff567f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2d9eb88d.entry.js.map → p-374de51d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-91a5bb6c.entry.js.map → p-37fa26f9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a0ef8437.entry.js.map → p-3a0a5bc2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-718a54f8.entry.js.map → p-3d8a3b8a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-523e3cce.entry.js.map → p-3db26a34.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1b4019b5.entry.js.map → p-3e1a9763.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ac9215b9.entry.js.map → p-3edc7dd2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-43e8cbf1.entry.js.map → p-4b0c3eeb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-19b855f3.entry.js.map → p-518b1e6b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3d57eed7.entry.js.map → p-576fade1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6d38bed7.entry.js.map → p-5963369c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-320281ab.entry.js.map → p-5b0d1cc9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0f72ac93.entry.js.map → p-5b1d3595.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1b488eb2.entry.js.map → p-5fe74d24.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1e2dfffb.entry.js.map → p-5fef5328.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fa3623a3.entry.js.map → p-6691703e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-bd6e324a.entry.js.map → p-66fb6549.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3677ae1c.entry.js.map → p-6d197072.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1a1e0f93.entry.js.map → p-734bcb23.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-32612a51.entry.js.map → p-78f99962.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-001a084b.entry.js.map → p-79febe81.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e8252fd7.entry.js.map → p-7abb0f0c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-61140574.entry.js.map → p-87b30e60.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2aa40bcf.entry.js.map → p-87c777a1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-71eaa791.entry.js.map → p-888fa4b1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b0a445d7.entry.js.map → p-89edecbd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d6bf2d75.entry.js.map → p-933f6e1f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d3e0d6d9.entry.js.map → p-96bbbbcb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ff85bd49.entry.js.map → p-9a679e62.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a1c09e3c.entry.js.map → p-9e3a36df.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-afd2fa29.entry.js.map → p-9e83986f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c56c3898.entry.js.map → p-a4d17743.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a55e1df3.entry.js.map → p-a963c368.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8b41e47d.entry.js.map → p-ac5f5042.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3f03f070.entry.js.map → p-aeb1eb75.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2927de2b.entry.js.map → p-aee95ea9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9a7db83b.entry.js.map → p-af701797.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ecefabdb.entry.js.map → p-b01c5093.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b0cfcae1.entry.js.map → p-b39463a7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-45427457.entry.js.map → p-b59f5bf2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9ca14286.entry.js.map → p-b7d15091.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5e241a1f.entry.js.map → p-ba7b399c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9439d379.entry.js.map → p-bc3714e4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-127a8ea3.entry.js.map → p-bf8e97d7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6b316d6a.entry.js.map → p-c0e4bf8a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e59e6e87.entry.js.map → p-c675b650.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a48f6140.entry.js.map → p-c80dddf1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cb5000ac.entry.js.map → p-c93a8094.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-08d2c2e8.entry.js.map → p-ca328fc2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-033a9520.entry.js.map → p-cd52e37a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b2fd83da.entry.js.map → p-ce0642f0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b606a172.entry.js.map → p-d132ce81.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f30f9b01.entry.js.map → p-d1cf2407.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-89868ccc.entry.js.map → p-d2da2e45.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-accb8080.entry.js.map → p-d3f99d59.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-38d3e0c8.entry.js.map → p-da378974.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2240c295.entry.js.map → p-dd627440.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-66e7e232.entry.js.map → p-e365aee3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-802636fd.entry.js.map → p-e501b6ca.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-01c3ef64.entry.js.map → p-e6c7e87a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1bf52529.entry.js.map → p-eb5da5a0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-eccfb343.entry.js.map → p-ee76fac1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ee807086.entry.js.map → p-efe78c2f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f8976f8e.entry.js.map → p-f0575255.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c210f347.entry.js.map → p-f3f6e45d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c2b23c82.entry.js.map → p-f3ffbaf9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d1e55b65.entry.js.map → p-f7bfd5f6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cbf9dc1c.entry.js.map → p-f81de54a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9ed2e8df.entry.js.map → p-f8a852c3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9170f4cd.entry.js.map → p-ff072152.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-aaf423b9.entry.js.map → p-ff2171f6.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-nRLifbYD.js","mappings":";;;;;;;;;;;;;AAAA,MAAM,oBAAoB,GAAG,8oEAA8oE;;MC0C9pE,iBAAiB,iBAAAA,kBAAA,CAAA,MAAA,iBAAA,SAAAC,CAAA,CAAA;AAL9B,IAAA,WAAA,GAAA;;;;;;AAaE;;;;;;;AAOG;AACsB,QAAA,IAAQ,CAAA,QAAA,GAAa,KAAK;AAgB1C,QAAA,IAAU,CAAA,UAAA,GAAe,IAAI;AAC7B,QAAA,IAAY,CAAA,YAAA,GAAG,KAAK;AACpB,QAAA,IAAkB,CAAA,kBAAA,GAAG,KAAK;AAE1B,QAAA,IAAkB,CAAA,kBAAA,GAAG,KAAK;AAuOpC;AA3NC,IAAA,IAAI,iBAAiB,GAAA;QACnB,OAAO,IAAI,CAAC,WAAW,CAAC,UAAW,CAAC,aAAa,CAAC,mBAAmB,CAAC;;IAGxE,iBAAiB,GAAA;QACf,kBAAkB,CAChB,IAAI,CAAC,WAAW,EAChB,wBAAwB,EACxB,CAAC,GAAG,KAAI;YACN,IAAI,CAAA,GAAG,KAAA,IAAA,IAAH,GAAG,KAAA,MAAA,GAAA,MAAA,GAAH,GAAG,CAAE,IAAI,MAAK,gBAAgB,EAAE;AAClC,gBAAA,IAAI,CAAC,kBAAkB,GAAG,IAAI;AAC9B,gBAAA,IAAI,CAAC,UAAU,GAAG,IAAI;gBACtB;;AAGF,YAAA,IAAI,CAAC,UAAU,GAAG,wBAAwB,CAAC,UAAU;AACrD,YAAA,IAAI,CAAC,wBAAwB,GAAG,GAAG;YAEnC,IAA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A,EACE,KAAK,EAAC,kBAAkB,EACxB,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAA,EAExC,CAAA,CAAA,MAAA,EAAA,EACE,YAAY,EAAE,MAAM,IAAI,CAAC,sBAAsB,EAAE,EAAA,CAC3C,CACJ,CACM,CACL,KAEX,CAAM,CAAA,MAAA,EAAA,EAAA,YAAY,EAAE,MAAM,IAAI,CAAC,sBAAsB,EAAE,GAAS,CACjE,EACD,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,8BAA8B,GAAQ,CAC7C,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/application-header/application-header.scss?tag=ix-application-header&encapsulation=shadow","src/components/application-header/application-header.tsx"],"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@import 'mixins/shadow-dom/component';\n@import 'mixins/break-points';\n\n:host {\n @include ix-component;\n\n display: flex;\n align-items: flex-end;\n flex-wrap: nowrap;\n position: relative;\n width: 100%;\n height: calc(2.75rem + var(--ix-safe-area-inset-top, 0rem));\n min-height: calc(2.75rem + var(--ix-safe-area-inset-top, 0rem));\n padding-top: 0;\n padding-right: calc(1rem + var(--ix-safe-area-inset-right, 0rem));\n padding-bottom: 0.3rem;\n padding-left: calc(0.625rem + var(--ix-safe-area-inset-left, 0rem));\n\n color: var(--theme-app-header--color);\n background-color: var(--theme-app-header--background);\n\n border-bottom: var(--theme-app-header--border-width) solid\n var(--theme-app-header--border-color);\n\n z-index: var(--theme-z-index-fixed);\n\n .app-switch {\n margin-right: 1rem;\n }\n\n .name {\n overflow: hidden;\n overflow-wrap: anywhere;\n text-overflow: ellipsis;\n text-wrap: nowrap;\n max-width: 50%;\n margin-left: 1.5rem;\n margin-right: 2.5rem;\n margin-bottom: 0.25rem;\n color: var(--theme-app-header--color);\n }\n\n .logo {\n display: inline-flex;\n align-items: center;\n position: relative;\n height: 32px;\n overflow: hidden;\n line-height: 0rem;\n color: var(--theme-app-header-logo--color);\n margin-left: 0.375rem;\n }\n\n .content {\n display: flex;\n position: relative;\n flex-direction: row;\n margin-left: auto;\n margin-right: 0px;\n }\n\n .dropdown {\n overflow: visible;\n }\n\n .dropdown-content {\n padding: 1rem;\n }\n\n .context-menu {\n display: none;\n }\n\n .context-menu.context-menu-visible {\n display: block;\n }\n\n @include media-breakpoint-match('sm') {\n .logo {\n display: none;\n }\n }\n\n ::slotted(ix-avatar) {\n margin-left: 1rem;\n }\n}\n\n:host(.breakpoint-sm) {\n .logo {\n margin-left: 0.5rem;\n }\n}\n","/*\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 Fragment,\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 } 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';\n\n/**\n * @slot logo - Location of the logo\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 * 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 * @since 2.5.0\n */\n @Prop({ mutable: true }) showMenu?: boolean = false;\n\n /**\n * Event emitted when the menu toggle button is clicked\n *\n * @since 2.5.0\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() hasSlottedElements = false;\n\n private menuDisposable?: Disposable;\n private modeDisposable?: Disposable;\n private callbackUpdateAppSwitchModal?: (\n config: AppSwitchConfiguration\n ) => void;\n\n @State() applicationLayoutContext?: ContextType<\n typeof ApplicationLayoutContext\n >;\n\n get contentBackground() {\n return this.hostElement.shadowRoot!.querySelector('.dropdown-content');\n }\n\n componentWillLoad() {\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.updateIsSlottedContent();\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 isLogoSlotted() {\n const slotElement = this.hostElement.shadowRoot!.querySelector(\n 'slot[name=\"logo\"]'\n ) as HTMLSlotElement;\n const nodes = slotElement.assignedNodes({\n flatten: true,\n });\n\n return nodes.length !== 0;\n }\n\n private attachSiemensLogoIfLoaded() {\n const logoElement = document.createElement('ix-siemens-logo');\n if (!this.isLogoSlotted()) {\n this.hostElement\n .shadowRoot!.querySelector('.logo')\n ?.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 updateIsSlottedContent() {\n const slotElement =\n this.hostElement.shadowRoot!.querySelector('.content slot');\n\n this.hasSlottedElements = hasSlottedElements(slotElement);\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 return (\n <Host\n class={{\n [`breakpoint-${this.breakpoint}`]: true,\n }}\n slot=\"application-header\"\n >\n {(this.showMenu || showMenuByApplicationFrame) && (\n <ix-menu-expand-icon\n onClick={() => this.onMenuClick()}\n expanded={this.menuExpanded}\n ></ix-menu-expand-icon>\n )}\n {showApplicationSwitch && (\n <ix-icon-button\n onClick={() => this.showAppSwitch()}\n icon={iconApps}\n ghost\n class=\"app-switch\"\n ></ix-icon-button>\n )}\n <div class={{ logo: true }}>\n <slot name=\"logo\"></slot>\n </div>\n <ix-typography format=\"body-lg\" class=\"name\">\n {this.name}\n </ix-typography>\n <div class=\"content\">\n {this.breakpoint === 'sm' ? (\n <Fragment>\n <ix-icon-button\n class={{\n ['context-menu']: true,\n ['context-menu-visible']: this.hasSlottedElements,\n }}\n data-context-menu\n data-testid=\"show-more\"\n icon={iconMoreMenu}\n ghost\n ></ix-icon-button>\n <ix-dropdown\n data-overflow-dropdown\n class=\"dropdown\"\n discoverAllSubmenus\n trigger={this.resolveContextMenuButton()}\n >\n <div\n class=\"dropdown-content\"\n onClick={(e) => this.onContentBgClick(e)}\n >\n <slot\n onSlotchange={() => this.updateIsSlottedContent()}\n ></slot>\n </div>\n </ix-dropdown>\n </Fragment>\n ) : (\n <slot onSlotchange={() => this.updateIsSlottedContent()}></slot>\n )}\n <slot name=\"ix-application-header-avatar\"></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"p-12nKYxsa.js","mappings":";;;;;;;;;;;;;AAAA,MAAM,oBAAoB,GAAG,8oEAA8oE;;MC0C9pE,iBAAiB,iBAAAA,kBAAA,CAAA,MAAA,iBAAA,SAAAC,CAAA,CAAA;AAL9B,IAAA,WAAA,GAAA;;;;;;AAaE;;;;;;;AAOG;AACsB,QAAA,IAAQ,CAAA,QAAA,GAAa,KAAK;AAgB1C,QAAA,IAAU,CAAA,UAAA,GAAe,IAAI;AAC7B,QAA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AAC,SAAS,EAAC,KAAK,EAAC,MAAM,EACzC,EAAA,IAAI,CAAC,IAAI,CACI,EAChB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,SAAS,EAAA,EACjB,IAAI,CAAC,UAAU,KAAK,IAAI,IACvB,CAAA,CAAC,QAAQ,EAAA,IAAA,EACP,CAAA,CAAA,gBAAA,EAAA,EACE,KAAK,EAAE;gBACL,CAAC,cAAc,GAAG,IAAI;AACtB,gBAAA,CAAC,sBAAsB,GAAG,IAAI,CAAC,kBAAkB;AAClD,aAAA,EAAA,mBAAA,EAAA,IAAA,EAAA,aAAA,EAEW,WAAW,EACvB,IAAI,EAAE,YAAY,EAClB,KAAK,EACW,IAAA,EAAA,CAAA,EAClB,CAEE,CAAA,aAAA,EAAA,EAAA,wBAAA,EAAA,IAAA,EAAA,KAAK,EAAC,UAAU,EAChB,mBAAmB,EACnB,IAAA,EAAA,OAAO,EAAE,IAAI,CAAC,wBAAwB,EAAE,EAAA,EAExC,CAAA,CAAA,KAAA,EAAA,EACE,KAAK,EAAC,kBAAkB,EACxB,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAA,EAExC,CAAA,CAAA,MAAA,EAAA,EACE,YAAY,EAAE,MAAM,IAAI,CAAC,sBAAsB,EAAE,EAAA,CAC3C,CACJ,CACM,CACL,KAEX,CAAM,CAAA,MAAA,EAAA,EAAA,YAAY,EAAE,MAAM,IAAI,CAAC,sBAAsB,EAAE,GAAS,CACjE,EACD,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,8BAA8B,GAAQ,CAC7C,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/application-header/application-header.scss?tag=ix-application-header&encapsulation=shadow","src/components/application-header/application-header.tsx"],"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@import 'mixins/shadow-dom/component';\n@import 'mixins/break-points';\n\n:host {\n @include ix-component;\n\n display: flex;\n align-items: flex-end;\n flex-wrap: nowrap;\n position: relative;\n width: 100%;\n height: calc(2.75rem + var(--ix-safe-area-inset-top, 0rem));\n min-height: calc(2.75rem + var(--ix-safe-area-inset-top, 0rem));\n padding-top: 0;\n padding-right: calc(1rem + var(--ix-safe-area-inset-right, 0rem));\n padding-bottom: 0.3rem;\n padding-left: calc(0.625rem + var(--ix-safe-area-inset-left, 0rem));\n\n color: var(--theme-app-header--color);\n background-color: var(--theme-app-header--background);\n\n border-bottom: var(--theme-app-header--border-width) solid\n var(--theme-app-header--border-color);\n\n z-index: var(--theme-z-index-fixed);\n\n .app-switch {\n margin-right: 1rem;\n }\n\n .name {\n overflow: hidden;\n overflow-wrap: anywhere;\n text-overflow: ellipsis;\n text-wrap: nowrap;\n max-width: 50%;\n margin-left: 1.5rem;\n margin-right: 2.5rem;\n margin-bottom: 0.25rem;\n color: var(--theme-app-header--color);\n }\n\n .logo {\n display: inline-flex;\n align-items: center;\n position: relative;\n height: 32px;\n overflow: hidden;\n line-height: 0rem;\n color: var(--theme-app-header-logo--color);\n margin-left: 0.375rem;\n }\n\n .content {\n display: flex;\n position: relative;\n flex-direction: row;\n margin-left: auto;\n margin-right: 0px;\n }\n\n .dropdown {\n overflow: visible;\n }\n\n .dropdown-content {\n padding: 1rem;\n }\n\n .context-menu {\n display: none;\n }\n\n .context-menu.context-menu-visible {\n display: block;\n }\n\n @include media-breakpoint-match('sm') {\n .logo {\n display: none;\n }\n }\n\n ::slotted(ix-avatar) {\n margin-left: 1rem;\n }\n}\n\n:host(.breakpoint-sm) {\n .logo {\n margin-left: 0.5rem;\n }\n}\n","/*\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 Fragment,\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 } 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';\n\n/**\n * @slot logo - Location of the logo\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 * 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 * @since 2.5.0\n */\n @Prop({ mutable: true }) showMenu?: boolean = false;\n\n /**\n * Event emitted when the menu toggle button is clicked\n *\n * @since 2.5.0\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() hasSlottedElements = false;\n\n private menuDisposable?: Disposable;\n private modeDisposable?: Disposable;\n private callbackUpdateAppSwitchModal?: (\n config: AppSwitchConfiguration\n ) => void;\n\n @State() applicationLayoutContext?: ContextType<\n typeof ApplicationLayoutContext\n >;\n\n get contentBackground() {\n return this.hostElement.shadowRoot!.querySelector('.dropdown-content');\n }\n\n componentWillLoad() {\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.updateIsSlottedContent();\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 isLogoSlotted() {\n const slotElement = this.hostElement.shadowRoot!.querySelector(\n 'slot[name=\"logo\"]'\n ) as HTMLSlotElement;\n const nodes = slotElement.assignedNodes({\n flatten: true,\n });\n\n return nodes.length !== 0;\n }\n\n private attachSiemensLogoIfLoaded() {\n const logoElement = document.createElement('ix-siemens-logo');\n if (!this.isLogoSlotted()) {\n this.hostElement\n .shadowRoot!.querySelector('.logo')\n ?.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 updateIsSlottedContent() {\n const slotElement =\n this.hostElement.shadowRoot!.querySelector('.content slot');\n\n this.hasSlottedElements = hasSlottedElements(slotElement);\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 return (\n <Host\n class={{\n [`breakpoint-${this.breakpoint}`]: true,\n }}\n slot=\"application-header\"\n >\n {(this.showMenu || showMenuByApplicationFrame) && (\n <ix-menu-expand-icon\n onClick={() => this.onMenuClick()}\n expanded={this.menuExpanded}\n ></ix-menu-expand-icon>\n )}\n {showApplicationSwitch && (\n <ix-icon-button\n onClick={() => this.showAppSwitch()}\n icon={iconApps}\n ghost\n class=\"app-switch\"\n ></ix-icon-button>\n )}\n <div class={{ logo: true }}>\n <slot name=\"logo\"></slot>\n </div>\n <ix-typography format=\"body-lg\" class=\"name\">\n {this.name}\n </ix-typography>\n <div class=\"content\">\n {this.breakpoint === 'sm' ? (\n <Fragment>\n <ix-icon-button\n class={{\n ['context-menu']: true,\n ['context-menu-visible']: this.hasSlottedElements,\n }}\n data-context-menu\n data-testid=\"show-more\"\n icon={iconMoreMenu}\n ghost\n ></ix-icon-button>\n <ix-dropdown\n data-overflow-dropdown\n class=\"dropdown\"\n discoverAllSubmenus\n trigger={this.resolveContextMenuButton()}\n >\n <div\n class=\"dropdown-content\"\n onClick={(e) => this.onContentBgClick(e)}\n >\n <slot\n onSlotchange={() => this.updateIsSlottedContent()}\n ></slot>\n </div>\n </ix-dropdown>\n </Fragment>\n ) : (\n <slot onSlotchange={() => this.updateIsSlottedContent()}></slot>\n )}\n <slot name=\"ix-application-header-avatar\"></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, e as createEvent, h, d as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, e as createEvent, h, d as Host } from './p-BA1wZ05L.js';
|
|
2
2
|
import { b as iconChevronRightSmall } from './p-Dn_WjwtW.js';
|
|
3
3
|
|
|
4
4
|
const cardAccordionCss = ":host{display:flex;position:relative;flex-direction:column;width:100%;transition:var(--theme-default-time) ease-in-out}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .expand-action{all:unset;display:flex;position:relative;-webkit-appearance:button;-moz-appearance:button;appearance:button;height:2.5rem;width:100%;background-color:var(--theme-color-component-1);align-items:center;justify-content:flex-start}:host .expand-action:hover{background:var(--theme-color-component-1--hover)}:host .expand-action:active{background:var(--theme-color-component-1--active)}:host .expand-action:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .expand-action::before{content:\"\";position:absolute;width:100%;height:100%;background-color:var(--ix-card-background);z-index:-1}:host .expand-action:not(.show),:host .expand-action:not(.show)::before{border-bottom-left-radius:var(--theme-default-border-radius);border-bottom-right-radius:var(--theme-default-border-radius)}:host .expand-icon{margin-left:0.5rem;transition:var(--theme-default-time) transform ease-in-out}:host .expand-icon.show{transform:rotate(90deg)}:host .expand-content{display:grid;position:relative;grid-template-rows:0fr;transition:var(--theme-default-time) ease-in-out;width:100%;max-height:14.75rem;opacity:0;background-color:var(--theme-color-component-1)}:host .expand-content.show{grid-template-rows:14.75rem;opacity:1}:host .expand-content-inner{position:relative;height:100%;overflow:hidden}:host .expand-content.show .expand-content-body{display:none;overflow:hidden;color:var(--theme-color-std-text)}:host .expand-content.show .expand-content-body{display:block;overflow:auto;height:calc(100% - 1rem)}:host .expand-content-footer{display:block;position:relative;width:100%;height:1rem;margin-top:auto;margin-bottom:0px;background-color:var(--theme-color-component-1);border-bottom-left-radius:var(--theme-default-border-radius);border-bottom-right-radius:var(--theme-default-border-radius)}";
|
|
@@ -86,6 +86,6 @@ function defineCustomElement() {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
export { CardAccordion as C, defineCustomElement as d };
|
|
89
|
-
//# sourceMappingURL=p-
|
|
89
|
+
//# sourceMappingURL=p-2g5-4fWy.js.map
|
|
90
90
|
|
|
91
|
-
//# sourceMappingURL=p-
|
|
91
|
+
//# sourceMappingURL=p-2g5-4fWy.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-2g5-4fWy.js","mappings":";;;AAAA,MAAM,gBAAgB,GAAG,6tFAA6tF;;ACatvF,IAAI,kBAAkB,GAAG,CAAC;AAC1B,MAAM,iBAAiB,GAAG,CAAC,MAAiB,GAAA,gBAAgB,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"],"sources":["src/components/card-accordion/card-accordion.scss?tag=ix-card-accordion&encapsulation=shadow","src/components/card-accordion/card-accordion.tsx"],"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@import 'mixins/hover';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: flex;\n position: relative;\n flex-direction: column;\n width: 100%;\n transition: var(--theme-default-time) ease-in-out;\n\n .expand-action {\n all: unset;\n display: flex;\n position: relative;\n\n appearance: button;\n\n height: 2.5rem;\n width: 100%;\n\n background-color: var(--theme-color-component-1);\n align-items: center;\n justify-content: flex-start;\n\n &:hover {\n background: var(--theme-color-component-1--hover);\n }\n\n &:active {\n background: var(--theme-color-component-1--active);\n }\n\n @include focus-visible {\n outline: 1px solid var(--theme-color-focus-bdr);\n outline-offset: var(--theme-btn--focus--outline-offset);\n }\n }\n\n .expand-action::before {\n content: '';\n position: absolute;\n width: 100%;\n height: 100%;\n background-color: var(--ix-card-background);\n z-index: -1;\n }\n\n .expand-action:not(.show),\n .expand-action:not(.show)::before {\n border-bottom-left-radius: var(--theme-default-border-radius);\n border-bottom-right-radius: var(--theme-default-border-radius);\n }\n\n .expand-icon {\n margin-left: 0.5rem;\n transition: var(--theme-default-time) transform ease-in-out;\n }\n\n .expand-icon.show {\n transform: rotate(90deg);\n }\n\n .expand-content {\n display: grid;\n position: relative;\n grid-template-rows: 0fr;\n transition: var(--theme-default-time) ease-in-out;\n width: 100%;\n max-height: 14.75rem;\n opacity: 0;\n background-color: var(--theme-color-component-1);\n }\n\n .expand-content.show {\n grid-template-rows: 14.75rem;\n opacity: 1;\n }\n\n .expand-content-inner {\n position: relative;\n height: 100%;\n overflow: hidden;\n }\n\n .expand-content.show .expand-content-body {\n display: none;\n overflow: hidden;\n color: var(--theme-color-std-text);\n }\n\n .expand-content.show .expand-content-body {\n display: block;\n overflow: auto;\n height: calc(100% - 1rem);\n }\n\n .expand-content-footer {\n display: block;\n position: relative;\n width: 100%;\n height: 1rem;\n\n margin-top: auto;\n margin-bottom: 0px;\n\n background-color: var(--theme-color-component-1);\n border-bottom-left-radius: var(--theme-default-border-radius);\n border-bottom-right-radius: var(--theme-default-border-radius);\n }\n}\n","import { iconChevronRightSmall } from '@siemens/ix-icons/icons';\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\n\nlet accordionControlId = 0;\nconst getAriaControlsId = (prefix: string = 'expand-content') => {\n return [prefix, accordionControlId++].join('-');\n};\n\nexport type CardAccordionExpandChangeEvent = {\n expand: boolean;\n nativeEvent: Event;\n};\n\n/**\n * @since 1.6.0\n */\n@Component({\n tag: 'ix-card-accordion',\n styleUrl: 'card-accordion.scss',\n shadow: true,\n})\nexport class CardAccordion {\n /**\n * Collapse the card\n * @since 2.1.0\n */\n @Prop() collapse = false;\n\n @Element() hostElement!: HTMLIxCardAccordionElement;\n\n /**\n * @internal\n */\n @Event() accordionExpand!: EventEmitter<CardAccordionExpandChangeEvent>;\n\n @State() expandContent = false;\n\n @Watch('collapse')\n onInitialExpandChange() {\n this.expandContent = !this.collapse;\n }\n\n get expandedContent() {\n return this.hostElement.shadowRoot!.querySelector('.expand-content');\n }\n\n onExpandActionClick(event: Event) {\n event.preventDefault();\n event.stopPropagation();\n this.expandContent = !this.expandContent;\n this.accordionExpand.emit({\n expand: this.expandContent,\n nativeEvent: event,\n });\n\n if (this.expandContent) {\n this.scrollExpandedContentIntoView();\n }\n }\n\n private scrollExpandedContentIntoView() {\n setTimeout(() => {\n const rect = this.expandedContent!.getBoundingClientRect();\n if (rect.bottom > window.innerHeight) {\n this.hostElement\n .shadowRoot!.querySelector('.expand-content')!\n .scrollIntoView(false);\n }\n }, 150);\n }\n\n componentWillLoad() {\n this.onInitialExpandChange();\n }\n\n render() {\n return (\n <Host slot=\"card-accordion\">\n <button\n tabIndex={0}\n class={{ 'expand-action': true, show: this.expandContent }}\n onClick={(event) => this.onExpandActionClick(event)}\n role=\"button\"\n type=\"button\"\n aria-expanded={this.expandContent}\n aria-controls={getAriaControlsId()}\n >\n <ix-icon\n name={iconChevronRightSmall}\n class={{\n 'expand-icon': true,\n show: this.expandContent,\n }}\n ></ix-icon>\n </button>\n <div\n class={{\n 'expand-content': true,\n show: this.expandContent,\n }}\n >\n <div class=\"expand-content-inner\">\n <div class=\"expand-content-body\">\n <slot></slot>\n </div>\n <div class=\"expand-content-footer\"></div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-BA1wZ05L.js';
|
|
2
2
|
import { m as makeRef } from './p-bcj7UEIC.js';
|
|
3
|
-
import { h as hasAnyText, r as renderHelperText } from './p-
|
|
4
|
-
import { d as defineCustomElement$3 } from './p-
|
|
5
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
-
import { d as defineCustomElement$1 } from './p-
|
|
3
|
+
import { h as hasAnyText, r as renderHelperText } from './p-BBozAuYN.js';
|
|
4
|
+
import { d as defineCustomElement$3 } from './p-BuK5WByk.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './p-CB1ADCkU.js';
|
|
6
|
+
import { d as defineCustomElement$1 } from './p-Dfzl82x1.js';
|
|
7
7
|
|
|
8
8
|
const fieldWrapperCss = ":host{display:flex;position:relative;flex-direction:column}:host .slot-wrapper{display:flex;position:relative;align-items:center;justify-content:flex-start;gap:0.25rem}:host .field-bottom,:host .field-top{display:flex;flex-direction:row;position:relative;justify-content:space-between;gap:1rem;width:-moz-min-content;width:min-content;min-width:100%}:host .field-bottom .bottom-right{margin-left:auto;margin-right:0px}:host .bottom-text{display:flex;position:relative;align-items:flex-start;justify-content:flex-start;gap:0.25rem;margin-right:0.25rem}:host .text-icon{margin:0.125rem}:host .text-icon.invalid{color:var(--theme-helper-icon--color--invalid)}:host .text-icon.info{color:var(--theme-helper-icon--color--info)}:host .text-icon.warning{color:var(--theme-helper-icon--color--warning)}:host .text-icon.valid{color:var(--theme-helper-icon--color--valid)}:host .bottom-text{margin-top:0.25rem;margin-bottom:0.25rem}";
|
|
9
9
|
|
|
@@ -70,7 +70,7 @@ const FieldWrapper = /*@__PURE__*/ proxyCustomElement(class FieldWrapper extends
|
|
|
70
70
|
"showTextAsTooltip": [4, "show-text-as-tooltip"],
|
|
71
71
|
"required": [4],
|
|
72
72
|
"htmlForLabel": [1, "html-for-label"],
|
|
73
|
-
"controlRef": [16]
|
|
73
|
+
"controlRef": [16, "control-ref"]
|
|
74
74
|
}]);
|
|
75
75
|
function defineCustomElement() {
|
|
76
76
|
if (typeof customElements === "undefined") {
|
|
@@ -102,6 +102,6 @@ function defineCustomElement() {
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
export { FieldWrapper as F, defineCustomElement as d };
|
|
105
|
-
//# sourceMappingURL=p-
|
|
105
|
+
//# sourceMappingURL=p-B-zHEqXz.js.map
|
|
106
106
|
|
|
107
|
-
//# sourceMappingURL=p-
|
|
107
|
+
//# sourceMappingURL=p-B-zHEqXz.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-B-zHEqXz.js","mappings":";;;;;;;AAAA,MAAM,eAAe,GAAG,45BAA45B;;MCmBv6B,YAAY,iBAAAA,kBAAA,CAAA,MAAA,YAAA,SAAAC,CAAA,CAAA;AALzB,IAAA,WAAA,GAAA;;;;AAsCE;;AAEG;AACK,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK;AAElC;;AAEG;AACK,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;AAEhC;;AAEG;AACK,QAAA,IAAM,CAAA,MAAA,GAAY,KAAK;AAE/B;;AAEG;AACK,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK;AAElC;;AAE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A,0CAAA,EAAA,KAAK,EAAE,cAAc,EAAA,EACvB,CAAC,IAAI,CAAC,iBAAiB,IAAI,gBAAgB,CAAC,WAAW,CAAC,EACzD,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,cAAc,EAAA,EACvB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,cAAc,EAAA,CAAQ,CAC7B,CACF,EAEL,IAAI,CAAC,iBAAiB,KAAK,IAAI,IAAI,UAAU,CAAC,WAAW,CAAC,KACzD,CACE,CAAA,YAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,EAClC,SAAS,EAAE,GAAG,EACd,SAAS,EAAC,QAAQ,EAEjB,EAAA,gBAAgB,CAAC,WAAW,CAAC,CACnB,CACd,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/field-wrapper/field-wrapper.scss?tag=ix-field-wrapper&encapsulation=shadow","src/components/field-wrapper/field-wrapper.tsx"],"sourcesContent":["@import \"./field-wrapper.mixins.scss\";\n\n:host {\n display: flex;\n position: relative;\n flex-direction: column;\n\n .slot-wrapper {\n display: flex;\n position: relative;\n align-items: center;\n justify-content: flex-start;\n gap: 0.25rem;\n }\n\n .field-bottom,\n .field-top {\n display: flex;\n flex-direction: row;\n position: relative;\n justify-content: space-between;\n gap: 1rem;\n width: min-content;\n min-width: 100%;\n }\n\n .field-bottom .bottom-right {\n margin-left: auto;\n margin-right: 0px;\n }\n\n @include helper-text;\n\n .bottom-text {\n margin-top: 0.25rem;\n margin-bottom: 0.25rem;\n }\n}\n","/*\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 { Component, Element, Host, Prop, h } from '@stencil/core';\nimport { FieldWrapperInterface } from '../utils/input';\nimport { MakeRef, makeRef } from '../utils/make-ref';\nimport { hasAnyText, renderHelperText } from './helper-text-util';\n\n/** @internal */\n@Component({\n tag: 'ix-field-wrapper',\n styleUrl: 'field-wrapper.scss',\n shadow: true,\n})\nexport class FieldWrapper implements FieldWrapperInterface {\n @Element() hostElement!: HTMLIxFieldWrapperElement;\n\n /**\n * Show text below the field component\n */\n @Prop() helperText?: string;\n\n /**\n * Label for the field component\n */\n @Prop() label?: string;\n\n /**\n * Error text for the field component\n */\n @Prop() invalidText?: string;\n\n /**\n * Valid text for the field component\n */\n @Prop() validText?: string;\n\n /**\n * Info text for the field component\n */\n @Prop() infoText?: string;\n\n /**\n * Warning text for the field component\n */\n @Prop() warningText?: string;\n\n /**\n * Is the field component invalid\n */\n @Prop() isInvalid: boolean = false;\n\n /**\n * Is the field component valid\n */\n @Prop() isValid: boolean = false;\n\n /**\n * Is the field component info\n */\n @Prop() isInfo: boolean = false;\n\n /**\n * Is the field component warning\n */\n @Prop() isWarning: boolean = false;\n\n /**\n * Show helper, error, info, warning text as tooltip\n */\n @Prop() showTextAsTooltip: boolean = false;\n\n /**\n * Show label as required\n */\n @Prop() required: boolean = false;\n\n /**\n * The id of the form element that the label is associated with\n */\n @Prop() htmlForLabel?: string;\n\n /**\n * The control element that the label is associated with\n */\n @Prop() controlRef?:\n | MakeRef<HTMLElement>\n | MakeRef<HTMLInputElement>\n | MakeRef<HTMLTextAreaElement>;\n\n private readonly slotRef = makeRef<HTMLDivElement>();\n\n render() {\n const textOptions = {\n invalidText: this.invalidText,\n isInvalid: this.isInvalid,\n isValid: this.isValid,\n validText: this.validText,\n isWarning: this.isWarning,\n warningText: this.warningText,\n isInfo: this.isInfo,\n infoText: this.infoText,\n helperText: this.helperText,\n };\n return (\n <Host>\n {this.label && (\n <div class=\"field-top\">\n <ix-field-label\n required={this.required}\n htmlFor={this.htmlForLabel}\n controlRef={this.controlRef}\n isInvalid={this.isInvalid}\n >\n {this.label}\n </ix-field-label>\n </div>\n )}\n <div\n class={{\n 'slot-wrapper': true,\n }}\n ref={this.slotRef}\n >\n <slot></slot>\n </div>\n <div class={'field-bottom'}>\n {!this.showTextAsTooltip && renderHelperText(textOptions)}\n <div class=\"bottom-right\">\n <slot name=\"bottom-right\"></slot>\n </div>\n </div>\n\n {this.showTextAsTooltip === true && hasAnyText(textOptions) && (\n <ix-tooltip\n for={this.slotRef.waitForCurrent()}\n showDelay={500}\n placement=\"bottom\"\n >\n {renderHelperText(textOptions)}\n </ix-tooltip>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, e as createEvent, h, d as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, e as createEvent, h, d as Host } from './p-BA1wZ05L.js';
|
|
2
2
|
import { b as iconChevronRightSmall, l as iconChevronLeftSmall } from './p-Dn_WjwtW.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
@@ -305,6 +305,6 @@ function defineCustomElement() {
|
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
export { Tabs as T, defineCustomElement as d };
|
|
308
|
-
//# sourceMappingURL=p-
|
|
308
|
+
//# sourceMappingURL=p-B55mem60.js.map
|
|
309
309
|
|
|
310
|
-
//# sourceMappingURL=p-
|
|
310
|
+
//# sourceMappingURL=p-B55mem60.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-nxsAEeRV.js","mappings":";;;AAAA;;;;;;;AAOG;AAIH;;;;;AAKG;AACI,MAAM,6BAA6B,GAAG,CAC3C,QAAkC,KAChC;AACF,IAAA,IAAI,OAAO,oCAAoC,KAAK,UAAU,EAAE;AAC9D,QAAA,OAAO,oCAAoC,CAAC,QAAQ,CAAC;;AAEvD,IAAA,IAAI,OAAO,qBAAqB,KAAK,UAAU,EAAE;AAC/C,QAAA,OAAO,qBAAqB,CA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,EACD,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,WAAW,EAAE,IAAI;AACjB,gBAAA,iBAAiB,EAAE,IAAI;gBACvB,aAAa,EAAE,IAAI,CAAC,iBAAiB;gBACrC,cAAc,EAAE,IAAI,CAAC,aAAa;AAClC,gBAAA,aAAa,EAAE,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,iBAAiB;AAC5D,aAAA,EAAA,EAED,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,eAAe,EAAA,EACxB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACF,EACL,IAAI,CAAC,aAAa,KACjB,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,aAAa,EACnB,OAAO,EAAE,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,EAAA,EAElD,CAAS,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAE,qBAAqB,EAAA,CAAY,CAC5C,CACP,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/utils/requestAnimationFrame.ts","src/components/tabs/tabs.scss?tag=ix-tabs&encapsulation=shadow","src/components/tabs/tabs.tsx"],"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\ndeclare const __zone_symbol__requestAnimationFrame: any;\n\n/**\n * Prevents angular from change detection when requesting an animation frame\n *\n * Credits goes to:\n * https://github.com/ionic-team/ionic-framework/blob/main/core/src/utils/helpers.ts\n */\nexport const requestAnimationFrameNoNgZone = (\n callback: (...args: any[]) => void\n) => {\n if (typeof __zone_symbol__requestAnimationFrame === 'function') {\n return __zone_symbol__requestAnimationFrame(callback);\n }\n if (typeof requestAnimationFrame === 'function') {\n return requestAnimationFrame(callback);\n }\n return setTimeout(callback);\n};\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n width: auto;\n display: flex;\n align-items: center;\n position: relative;\n\n .tab-items {\n overflow: hidden;\n scroll-behavior: smooth;\n width: 100%;\n\n .items-content {\n display: flex;\n align-items: center;\n }\n }\n\n .arrow {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n top: 0;\n bottom: 0;\n left: 0;\n margin: auto 0;\n border-radius: 4px;\n color: var(--theme-btn-invisible-primary--color);\n background-color: var(--theme-btn-invisible-primary--background);\n z-index: 2;\n\n &:hover {\n color: var(--theme-btn-invisible-primary--color--hover);\n background-color: var(--theme-btn-invisible-primary--background--hover);\n }\n\n &:active {\n color: var(--theme-btn-invisible-primary--color--active);\n background-color: var(--theme-btn-invisible-primary--background--active);\n }\n\n &.right {\n left: auto;\n right: 0;\n }\n }\n\n .overflow-shadow {\n display: block;\n position: relative;\n height: 100%;\n width: 100%;\n pointer-events: all;\n\n &.shadow-left {\n mask-image: linear-gradient(90deg, transparent 0px, black 45px);\n }\n\n &.shadow-right {\n mask-image: linear-gradient(\n 90deg,\n black calc(100% - 45px),\n transparent 100%\n );\n }\n\n &.shadow-both {\n mask-image: linear-gradient(\n 90deg,\n transparent 0px,\n black 45px,\n black calc(100% - 45px),\n transparent 100%\n );\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { requestAnimationFrameNoNgZone } from '../utils/requestAnimationFrame';\nimport {\n iconChevronLeftSmall,\n iconChevronRightSmall,\n} from '@siemens/ix-icons/icons';\n\n@Component({\n tag: 'ix-tabs',\n styleUrl: 'tabs.scss',\n shadow: true,\n})\nexport class Tabs {\n @Element() hostElement!: HTMLIxTabsElement;\n\n /**\n * Set tab items to small size\n */\n @Prop() small = false;\n\n /**\n * Set rounded tabs\n */\n @Prop() rounded = false;\n\n /**\n * Set default selected tab by index\n */\n @Prop({ mutable: true }) selected = 0;\n\n /**\n * Set layout width style\n */\n @Prop() layout: 'auto' | 'stretched' = 'auto';\n\n /**\n * Set placement style\n */\n @Prop() placement: 'bottom' | 'top' = 'bottom';\n\n /**\n * `selected` property changed\n *\n * @since 2.0.0\n */\n @Event() selectedChange!: EventEmitter<number>;\n\n @State() totalItems = 0;\n @State() currentScrollAmount = 0;\n @State() scrollAmount = 100;\n @State() scrollActionAmount = 0;\n @State() showArrowPrevious = false;\n @State() showArrowNext = false;\n\n private windowStartSize = window.innerWidth;\n private resizeObserver?: ResizeObserver;\n\n private clickAction: {\n timeout: NodeJS.Timeout | null;\n isClick: boolean;\n } = {\n timeout: null,\n isClick: true,\n };\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.totalItems = 0;\n this.totalItems = this.getTabs().length;\n\n if (this.windowStartSize === 0)\n return (this.windowStartSize = window.innerWidth);\n this.move(this.windowStartSize - window.innerWidth);\n this.windowStartSize = window.innerWidth;\n }\n\n private getTabs() {\n return Array.from(this.hostElement.querySelectorAll('ix-tab-item'));\n }\n\n private getTab(tabIndex: number) {\n return this.getTabs()[tabIndex];\n }\n\n private getTabsWrapper() {\n return this.hostElement.shadowRoot?.querySelector('.items-content');\n }\n\n private initResizeObserver() {\n const parentElement = this.hostElement.parentElement;\n if (!parentElement) return;\n this.resizeObserver = new ResizeObserver(() => {\n this.renderArrows();\n });\n this.resizeObserver.observe(parentElement);\n }\n\n private showArrows() {\n try {\n const tabWrapper = this.getTabsWrapper();\n return (\n tabWrapper &&\n tabWrapper.scrollWidth >\n Math.ceil(tabWrapper.getBoundingClientRect().width) &&\n this.layout === 'auto'\n );\n } catch (error) {\n return false;\n }\n }\n\n private showPreviousArrow() {\n try {\n return this.showArrows() === true && this.scrollActionAmount < 0;\n } catch (error) {\n return false;\n }\n }\n\n private showNextArrow() {\n try {\n const tabWrapper = this.getTabsWrapper();\n\n if (!tabWrapper) {\n return false;\n }\n\n const tabWrapperRect = tabWrapper.getBoundingClientRect();\n\n return (\n this.showArrows() === true &&\n this.scrollActionAmount >\n (tabWrapper.scrollWidth - tabWrapperRect.width) * -1\n );\n } catch (error) {\n return false;\n }\n }\n\n private move(amount: number, click = false) {\n const tabsWrapper = this.getTabsWrapper();\n\n if (!tabsWrapper) {\n return;\n }\n\n const tabsWrapperVisibleWidth = tabsWrapper.getBoundingClientRect().width;\n const maxScrollWidth =\n -this.currentScrollAmount +\n tabsWrapperVisibleWidth -\n tabsWrapper.scrollWidth;\n\n amount = amount < maxScrollWidth ? maxScrollWidth : amount;\n amount += this.currentScrollAmount;\n amount = Math.min(amount, 0);\n\n const styles = [\n `transform: translateX(${amount}px);`,\n click ? 'transition: all ease-in-out 400ms;' : '',\n ].join('');\n\n tabsWrapper.setAttribute('style', styles);\n\n if (click) this.currentScrollAmount = this.scrollActionAmount = amount;\n else this.scrollActionAmount = amount;\n }\n\n @Watch('selected')\n onSelectedChange(newValue: number) {\n if (!this.showArrows()) return;\n\n const tabRect = this.getTab(newValue).getBoundingClientRect();\n const wrapperWidth = this.getTabsWrapper()?.clientWidth;\n const arrowWidth = 32;\n\n if (tabRect.left < arrowWidth) {\n this.move(-tabRect.left + arrowWidth, true);\n } else if (wrapperWidth && tabRect.right > wrapperWidth - arrowWidth) {\n this.move(wrapperWidth - tabRect.right - arrowWidth, true);\n }\n }\n\n private setSelected(index: number) {\n this.selected = index;\n }\n\n private clickTab(index: number) {\n if (!this.clickAction.isClick || this.dragStop()) {\n return;\n }\n\n const { defaultPrevented } = this.selectedChange.emit(index);\n if (defaultPrevented) {\n return;\n }\n\n this.setSelected(index);\n }\n\n private dragStart(element: HTMLIxTabItemElement, event: MouseEvent) {\n if (!this.showArrows()) return;\n if (event.button > 0) return;\n\n this.clickAction.timeout =\n this.clickAction.timeout === null\n ? setTimeout(() => (this.clickAction.isClick = false), 300)\n : null;\n\n const tabPositionX = parseFloat(window.getComputedStyle(element).left);\n const mousedownPositionX = event.clientX;\n const move = (event: MouseEvent) =>\n this.dragMove(event, tabPositionX, mousedownPositionX);\n const windowClick = () => {\n window.removeEventListener('mousemove', move, false);\n window.removeEventListener('click', windowClick, false);\n this.dragStop();\n };\n window.addEventListener('click', windowClick);\n window.addEventListener('mousemove', move, false);\n }\n\n private dragMove(event: MouseEvent, tabX: number, mousedownX: number) {\n this.move(event.clientX + tabX - mousedownX);\n }\n\n private dragStop() {\n if (this.clickAction.timeout) {\n clearTimeout(this.clickAction.timeout);\n this.clickAction.timeout = null;\n }\n\n if (this.clickAction.isClick) return false;\n\n this.currentScrollAmount = this.scrollActionAmount;\n this.clickAction.isClick = true;\n\n return true;\n }\n\n componentWillLoad() {\n const tabs = this.getTabs();\n\n tabs.map((element, index) => {\n if (this.small) element.setAttribute('small', 'true');\n\n if (this.rounded) element.setAttribute('rounded', 'true');\n\n element.setAttribute('layout', this.layout);\n element.setAttribute(\n 'selected',\n index === this.selected ? 'true' : 'false'\n );\n\n element.setAttribute('placement', this.placement);\n });\n\n this.initResizeObserver();\n }\n\n componentDidRender() {\n const tabs = this.getTabs();\n this.totalItems = tabs.length;\n\n tabs.map((element, index) => {\n element.setAttribute(\n 'selected',\n index === this.selected ? 'true' : 'false'\n );\n });\n }\n\n componentWillRender() {\n this.renderArrows();\n }\n\n private renderArrows() {\n requestAnimationFrameNoNgZone(() => {\n this.showArrowNext = this.showNextArrow();\n this.showArrowPrevious = this.showPreviousArrow();\n });\n }\n\n componentDidLoad() {\n const tabs = this.getTabs();\n tabs.forEach((element) => {\n element.addEventListener('mousedown', (event) =>\n this.dragStart(element, event)\n );\n });\n }\n\n disconnectedCallback() {\n this.resizeObserver?.disconnect();\n }\n\n @Listen('tabClick')\n onTabClick(event: CustomEvent) {\n if (event.defaultPrevented) {\n return;\n }\n\n const target = event.target;\n const tabs = this.getTabs();\n\n tabs.forEach((tab, index) => {\n if (!tab.disabled && tab === target) {\n this.clickTab(index);\n }\n });\n }\n\n render() {\n return (\n <Host>\n {this.showArrowPrevious && (\n <div class=\"arrow\" onClick={() => this.move(this.scrollAmount, true)}>\n <ix-icon name={iconChevronLeftSmall}></ix-icon>\n </div>\n )}\n <div\n class={{\n 'tab-items': true,\n 'overflow-shadow': true,\n 'shadow-left': this.showArrowPrevious,\n 'shadow-right': this.showArrowNext,\n 'shadow-both': this.showArrowNext && this.showArrowPrevious,\n }}\n >\n <div class=\"items-content\">\n <slot></slot>\n </div>\n </div>\n {this.showArrowNext && (\n <div\n class=\"arrow right\"\n onClick={() => this.move(-this.scrollAmount, true)}\n >\n <ix-icon name={iconChevronRightSmall}></ix-icon>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"p-B55mem60.js","mappings":";;;AAAA;;;;;;;AAOG;AAIH;;;;;AAKG;AACI,MAAM,6BAA6B,GAAG,CAC3C,QAAkC,KAChC;AACF,IAAA,IAAI,OAAO,oCAAoC,KAAK,UAAU,EAAE;AAC9D,QAAA,OAAO,oCAAoC,CAAC,QAAQ,CAAC;;AAEvD,IAAA,IAAI,OAAO,qBAAqB,KAAK,UAAU,EAAE;AAC/C,QAAA,OAAO,qBAAqB,CAAC,QAAQ,CAAC;;AAExC,IAAA,OAAO,UAAU,CAAC,QAAQ,CAAC;AAC7B,CAAC;;AC3BD,MAAM,OAAO,GAAG,svEAAsvE;;MCgCzvE,IAAI,iBAA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AI;gBACvB,aAAa,EAAE,IAAI,CAAC,iBAAiB;gBACrC,cAAc,EAAE,IAAI,CAAC,aAAa;AAClC,gBAAA,aAAa,EAAE,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,iBAAiB;AAC5D,aAAA,EAAA,EAED,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,eAAe,EAAA,EACxB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACF,EACL,IAAI,CAAC,aAAa,KACjB,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,aAAa,EACnB,OAAO,EAAE,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,EAAA,EAElD,CAAS,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAE,qBAAqB,EAAA,CAAY,CAC5C,CACP,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/utils/requestAnimationFrame.ts","src/components/tabs/tabs.scss?tag=ix-tabs&encapsulation=shadow","src/components/tabs/tabs.tsx"],"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\ndeclare const __zone_symbol__requestAnimationFrame: any;\n\n/**\n * Prevents angular from change detection when requesting an animation frame\n *\n * Credits goes to:\n * https://github.com/ionic-team/ionic-framework/blob/main/core/src/utils/helpers.ts\n */\nexport const requestAnimationFrameNoNgZone = (\n callback: (...args: any[]) => void\n) => {\n if (typeof __zone_symbol__requestAnimationFrame === 'function') {\n return __zone_symbol__requestAnimationFrame(callback);\n }\n if (typeof requestAnimationFrame === 'function') {\n return requestAnimationFrame(callback);\n }\n return setTimeout(callback);\n};\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n width: auto;\n display: flex;\n align-items: center;\n position: relative;\n\n .tab-items {\n overflow: hidden;\n scroll-behavior: smooth;\n width: 100%;\n\n .items-content {\n display: flex;\n align-items: center;\n }\n }\n\n .arrow {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 32px;\n height: 32px;\n top: 0;\n bottom: 0;\n left: 0;\n margin: auto 0;\n border-radius: 4px;\n color: var(--theme-btn-invisible-primary--color);\n background-color: var(--theme-btn-invisible-primary--background);\n z-index: 2;\n\n &:hover {\n color: var(--theme-btn-invisible-primary--color--hover);\n background-color: var(--theme-btn-invisible-primary--background--hover);\n }\n\n &:active {\n color: var(--theme-btn-invisible-primary--color--active);\n background-color: var(--theme-btn-invisible-primary--background--active);\n }\n\n &.right {\n left: auto;\n right: 0;\n }\n }\n\n .overflow-shadow {\n display: block;\n position: relative;\n height: 100%;\n width: 100%;\n pointer-events: all;\n\n &.shadow-left {\n mask-image: linear-gradient(90deg, transparent 0px, black 45px);\n }\n\n &.shadow-right {\n mask-image: linear-gradient(\n 90deg,\n black calc(100% - 45px),\n transparent 100%\n );\n }\n\n &.shadow-both {\n mask-image: linear-gradient(\n 90deg,\n transparent 0px,\n black 45px,\n black calc(100% - 45px),\n transparent 100%\n );\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { requestAnimationFrameNoNgZone } from '../utils/requestAnimationFrame';\nimport {\n iconChevronLeftSmall,\n iconChevronRightSmall,\n} from '@siemens/ix-icons/icons';\n\n@Component({\n tag: 'ix-tabs',\n styleUrl: 'tabs.scss',\n shadow: true,\n})\nexport class Tabs {\n @Element() hostElement!: HTMLIxTabsElement;\n\n /**\n * Set tab items to small size\n */\n @Prop() small = false;\n\n /**\n * Set rounded tabs\n */\n @Prop() rounded = false;\n\n /**\n * Set default selected tab by index\n */\n @Prop({ mutable: true }) selected = 0;\n\n /**\n * Set layout width style\n */\n @Prop() layout: 'auto' | 'stretched' = 'auto';\n\n /**\n * Set placement style\n */\n @Prop() placement: 'bottom' | 'top' = 'bottom';\n\n /**\n * `selected` property changed\n *\n * @since 2.0.0\n */\n @Event() selectedChange!: EventEmitter<number>;\n\n @State() totalItems = 0;\n @State() currentScrollAmount = 0;\n @State() scrollAmount = 100;\n @State() scrollActionAmount = 0;\n @State() showArrowPrevious = false;\n @State() showArrowNext = false;\n\n private windowStartSize = window.innerWidth;\n private resizeObserver?: ResizeObserver;\n\n private clickAction: {\n timeout: NodeJS.Timeout | null;\n isClick: boolean;\n } = {\n timeout: null,\n isClick: true,\n };\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.totalItems = 0;\n this.totalItems = this.getTabs().length;\n\n if (this.windowStartSize === 0)\n return (this.windowStartSize = window.innerWidth);\n this.move(this.windowStartSize - window.innerWidth);\n this.windowStartSize = window.innerWidth;\n }\n\n private getTabs() {\n return Array.from(this.hostElement.querySelectorAll('ix-tab-item'));\n }\n\n private getTab(tabIndex: number) {\n return this.getTabs()[tabIndex];\n }\n\n private getTabsWrapper() {\n return this.hostElement.shadowRoot?.querySelector('.items-content');\n }\n\n private initResizeObserver() {\n const parentElement = this.hostElement.parentElement;\n if (!parentElement) return;\n this.resizeObserver = new ResizeObserver(() => {\n this.renderArrows();\n });\n this.resizeObserver.observe(parentElement);\n }\n\n private showArrows() {\n try {\n const tabWrapper = this.getTabsWrapper();\n return (\n tabWrapper &&\n tabWrapper.scrollWidth >\n Math.ceil(tabWrapper.getBoundingClientRect().width) &&\n this.layout === 'auto'\n );\n } catch (error) {\n return false;\n }\n }\n\n private showPreviousArrow() {\n try {\n return this.showArrows() === true && this.scrollActionAmount < 0;\n } catch (error) {\n return false;\n }\n }\n\n private showNextArrow() {\n try {\n const tabWrapper = this.getTabsWrapper();\n\n if (!tabWrapper) {\n return false;\n }\n\n const tabWrapperRect = tabWrapper.getBoundingClientRect();\n\n return (\n this.showArrows() === true &&\n this.scrollActionAmount >\n (tabWrapper.scrollWidth - tabWrapperRect.width) * -1\n );\n } catch (error) {\n return false;\n }\n }\n\n private move(amount: number, click = false) {\n const tabsWrapper = this.getTabsWrapper();\n\n if (!tabsWrapper) {\n return;\n }\n\n const tabsWrapperVisibleWidth = tabsWrapper.getBoundingClientRect().width;\n const maxScrollWidth =\n -this.currentScrollAmount +\n tabsWrapperVisibleWidth -\n tabsWrapper.scrollWidth;\n\n amount = amount < maxScrollWidth ? maxScrollWidth : amount;\n amount += this.currentScrollAmount;\n amount = Math.min(amount, 0);\n\n const styles = [\n `transform: translateX(${amount}px);`,\n click ? 'transition: all ease-in-out 400ms;' : '',\n ].join('');\n\n tabsWrapper.setAttribute('style', styles);\n\n if (click) this.currentScrollAmount = this.scrollActionAmount = amount;\n else this.scrollActionAmount = amount;\n }\n\n @Watch('selected')\n onSelectedChange(newValue: number) {\n if (!this.showArrows()) return;\n\n const tabRect = this.getTab(newValue).getBoundingClientRect();\n const wrapperWidth = this.getTabsWrapper()?.clientWidth;\n const arrowWidth = 32;\n\n if (tabRect.left < arrowWidth) {\n this.move(-tabRect.left + arrowWidth, true);\n } else if (wrapperWidth && tabRect.right > wrapperWidth - arrowWidth) {\n this.move(wrapperWidth - tabRect.right - arrowWidth, true);\n }\n }\n\n private setSelected(index: number) {\n this.selected = index;\n }\n\n private clickTab(index: number) {\n if (!this.clickAction.isClick || this.dragStop()) {\n return;\n }\n\n const { defaultPrevented } = this.selectedChange.emit(index);\n if (defaultPrevented) {\n return;\n }\n\n this.setSelected(index);\n }\n\n private dragStart(element: HTMLIxTabItemElement, event: MouseEvent) {\n if (!this.showArrows()) return;\n if (event.button > 0) return;\n\n this.clickAction.timeout =\n this.clickAction.timeout === null\n ? setTimeout(() => (this.clickAction.isClick = false), 300)\n : null;\n\n const tabPositionX = parseFloat(window.getComputedStyle(element).left);\n const mousedownPositionX = event.clientX;\n const move = (event: MouseEvent) =>\n this.dragMove(event, tabPositionX, mousedownPositionX);\n const windowClick = () => {\n window.removeEventListener('mousemove', move, false);\n window.removeEventListener('click', windowClick, false);\n this.dragStop();\n };\n window.addEventListener('click', windowClick);\n window.addEventListener('mousemove', move, false);\n }\n\n private dragMove(event: MouseEvent, tabX: number, mousedownX: number) {\n this.move(event.clientX + tabX - mousedownX);\n }\n\n private dragStop() {\n if (this.clickAction.timeout) {\n clearTimeout(this.clickAction.timeout);\n this.clickAction.timeout = null;\n }\n\n if (this.clickAction.isClick) return false;\n\n this.currentScrollAmount = this.scrollActionAmount;\n this.clickAction.isClick = true;\n\n return true;\n }\n\n componentWillLoad() {\n const tabs = this.getTabs();\n\n tabs.map((element, index) => {\n if (this.small) element.setAttribute('small', 'true');\n\n if (this.rounded) element.setAttribute('rounded', 'true');\n\n element.setAttribute('layout', this.layout);\n element.setAttribute(\n 'selected',\n index === this.selected ? 'true' : 'false'\n );\n\n element.setAttribute('placement', this.placement);\n });\n\n this.initResizeObserver();\n }\n\n componentDidRender() {\n const tabs = this.getTabs();\n this.totalItems = tabs.length;\n\n tabs.map((element, index) => {\n element.setAttribute(\n 'selected',\n index === this.selected ? 'true' : 'false'\n );\n });\n }\n\n componentWillRender() {\n this.renderArrows();\n }\n\n private renderArrows() {\n requestAnimationFrameNoNgZone(() => {\n this.showArrowNext = this.showNextArrow();\n this.showArrowPrevious = this.showPreviousArrow();\n });\n }\n\n componentDidLoad() {\n const tabs = this.getTabs();\n tabs.forEach((element) => {\n element.addEventListener('mousedown', (event) =>\n this.dragStart(element, event)\n );\n });\n }\n\n disconnectedCallback() {\n this.resizeObserver?.disconnect();\n }\n\n @Listen('tabClick')\n onTabClick(event: CustomEvent) {\n if (event.defaultPrevented) {\n return;\n }\n\n const target = event.target;\n const tabs = this.getTabs();\n\n tabs.forEach((tab, index) => {\n if (!tab.disabled && tab === target) {\n this.clickTab(index);\n }\n });\n }\n\n render() {\n return (\n <Host>\n {this.showArrowPrevious && (\n <div class=\"arrow\" onClick={() => this.move(this.scrollAmount, true)}>\n <ix-icon name={iconChevronLeftSmall}></ix-icon>\n </div>\n )}\n <div\n class={{\n 'tab-items': true,\n 'overflow-shadow': true,\n 'shadow-left': this.showArrowPrevious,\n 'shadow-right': this.showArrowNext,\n 'shadow-both': this.showArrowNext && this.showArrowPrevious,\n }}\n >\n <div class=\"items-content\">\n <slot></slot>\n </div>\n </div>\n {this.showArrowNext && (\n <div\n class=\"arrow right\"\n onClick={() => this.move(-this.scrollAmount, true)}\n >\n <ix-icon name={iconChevronRightSmall}></ix-icon>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-BA1wZ05L.js';
|
|
2
2
|
|
|
3
3
|
const cardContentCss = ":host{display:flex;padding:1rem;height:100%;overflow:hidden}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .content-wrapper{box-sizing:border-box;height:100%;width:100%;overflow:hidden;gap:0.5rem;display:flex;flex-direction:column;align-items:flex-start}";
|
|
4
4
|
|
|
@@ -28,6 +28,6 @@ function defineCustomElement() {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export { CardContent as C, defineCustomElement as d };
|
|
31
|
-
//# sourceMappingURL=p-
|
|
31
|
+
//# sourceMappingURL=p-B9lvhAOc.js.map
|
|
32
32
|
|
|
33
|
-
//# sourceMappingURL=p-
|
|
33
|
+
//# sourceMappingURL=p-B9lvhAOc.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-B9lvhAOc.js","mappings":";;AAAA,MAAM,cAAc,GAAG,+8BAA+8B;;MCUz9B,WAAW,iBAAAA,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA;;;;;;IACtB,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,iBAAiB,EAAA,EAC1B,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/card-content/card-content.scss?tag=ix-card-content&encapsulation=shadow","src/components/card-content/card-content.tsx"],"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@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n display: flex;\n padding: 1rem;\n height: 100%;\n overflow: hidden;\n\n .content-wrapper {\n box-sizing: border-box;\n height: 100%;\n width: 100%;\n overflow: hidden;\n gap: 0.5rem;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n }\n}\n","import { Component, h, Host } from '@stencil/core';\n\n/**\n * @since 1.6.0\n */\n@Component({\n tag: 'ix-card-content',\n styleUrl: 'card-content.scss',\n shadow: true,\n})\nexport class CardContent {\n render() {\n return (\n <Host>\n <div class=\"content-wrapper\">\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'siemens-ix';
|
|
|
2
2
|
const BUILD = /* siemens-ix */ { hydratedSelectorName: "hydrated", lazyLoad: false, updatable: true};
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.29.0 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
@@ -13,6 +13,30 @@ var __export = (target, all) => {
|
|
|
13
13
|
// src/utils/constants.ts
|
|
14
14
|
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
15
15
|
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
16
|
+
var PrimitiveType = /* @__PURE__ */ ((PrimitiveType2) => {
|
|
17
|
+
PrimitiveType2["Undefined"] = "undefined";
|
|
18
|
+
PrimitiveType2["Null"] = "null";
|
|
19
|
+
PrimitiveType2["String"] = "string";
|
|
20
|
+
PrimitiveType2["Number"] = "number";
|
|
21
|
+
PrimitiveType2["SpecialNumber"] = "number";
|
|
22
|
+
PrimitiveType2["Boolean"] = "boolean";
|
|
23
|
+
PrimitiveType2["BigInt"] = "bigint";
|
|
24
|
+
return PrimitiveType2;
|
|
25
|
+
})(PrimitiveType || {});
|
|
26
|
+
var NonPrimitiveType = /* @__PURE__ */ ((NonPrimitiveType2) => {
|
|
27
|
+
NonPrimitiveType2["Array"] = "array";
|
|
28
|
+
NonPrimitiveType2["Date"] = "date";
|
|
29
|
+
NonPrimitiveType2["Map"] = "map";
|
|
30
|
+
NonPrimitiveType2["Object"] = "object";
|
|
31
|
+
NonPrimitiveType2["RegularExpression"] = "regexp";
|
|
32
|
+
NonPrimitiveType2["Set"] = "set";
|
|
33
|
+
NonPrimitiveType2["Channel"] = "channel";
|
|
34
|
+
NonPrimitiveType2["Symbol"] = "symbol";
|
|
35
|
+
return NonPrimitiveType2;
|
|
36
|
+
})(NonPrimitiveType || {});
|
|
37
|
+
var TYPE_CONSTANT = "type";
|
|
38
|
+
var VALUE_CONSTANT = "value";
|
|
39
|
+
var SERIALIZED_PREFIX = "serialized:";
|
|
16
40
|
|
|
17
41
|
// src/client/client-host-ref.ts
|
|
18
42
|
var getHostRef = (ref) => {
|
|
@@ -155,6 +179,101 @@ function queryNonceMetaTagContent(doc) {
|
|
|
155
179
|
return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
156
180
|
}
|
|
157
181
|
|
|
182
|
+
// src/utils/remote-value.ts
|
|
183
|
+
var RemoteValue = class _RemoteValue {
|
|
184
|
+
/**
|
|
185
|
+
* Deserializes a LocalValue serialized object back to its original JavaScript representation
|
|
186
|
+
*
|
|
187
|
+
* @param serialized The serialized LocalValue object
|
|
188
|
+
* @returns The original JavaScript value/object
|
|
189
|
+
*/
|
|
190
|
+
static fromLocalValue(serialized) {
|
|
191
|
+
const type = serialized[TYPE_CONSTANT];
|
|
192
|
+
const value = VALUE_CONSTANT in serialized ? serialized[VALUE_CONSTANT] : void 0;
|
|
193
|
+
switch (type) {
|
|
194
|
+
case "string" /* String */:
|
|
195
|
+
return value;
|
|
196
|
+
case "boolean" /* Boolean */:
|
|
197
|
+
return value;
|
|
198
|
+
case "bigint" /* BigInt */:
|
|
199
|
+
return BigInt(value);
|
|
200
|
+
case "undefined" /* Undefined */:
|
|
201
|
+
return void 0;
|
|
202
|
+
case "null" /* Null */:
|
|
203
|
+
return null;
|
|
204
|
+
case "number" /* Number */:
|
|
205
|
+
if (value === "NaN") return NaN;
|
|
206
|
+
if (value === "-0") return -0;
|
|
207
|
+
if (value === "Infinity") return Infinity;
|
|
208
|
+
if (value === "-Infinity") return -Infinity;
|
|
209
|
+
return value;
|
|
210
|
+
case "array" /* Array */:
|
|
211
|
+
return value.map((item) => _RemoteValue.fromLocalValue(item));
|
|
212
|
+
case "date" /* Date */:
|
|
213
|
+
return new Date(value);
|
|
214
|
+
case "map" /* Map */:
|
|
215
|
+
const map2 = /* @__PURE__ */ new Map();
|
|
216
|
+
for (const [key, val] of value) {
|
|
217
|
+
const deserializedKey = typeof key === "object" && key !== null ? _RemoteValue.fromLocalValue(key) : key;
|
|
218
|
+
const deserializedValue = _RemoteValue.fromLocalValue(val);
|
|
219
|
+
map2.set(deserializedKey, deserializedValue);
|
|
220
|
+
}
|
|
221
|
+
return map2;
|
|
222
|
+
case "object" /* Object */:
|
|
223
|
+
const obj = {};
|
|
224
|
+
for (const [key, val] of value) {
|
|
225
|
+
obj[key] = _RemoteValue.fromLocalValue(val);
|
|
226
|
+
}
|
|
227
|
+
return obj;
|
|
228
|
+
case "regexp" /* RegularExpression */:
|
|
229
|
+
const { pattern, flags } = value;
|
|
230
|
+
return new RegExp(pattern, flags);
|
|
231
|
+
case "set" /* Set */:
|
|
232
|
+
const set = /* @__PURE__ */ new Set();
|
|
233
|
+
for (const item of value) {
|
|
234
|
+
set.add(_RemoteValue.fromLocalValue(item));
|
|
235
|
+
}
|
|
236
|
+
return set;
|
|
237
|
+
case "symbol" /* Symbol */:
|
|
238
|
+
return Symbol(value);
|
|
239
|
+
default:
|
|
240
|
+
throw new Error(`Unsupported type: ${type}`);
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Utility method to deserialize multiple LocalValues at once
|
|
245
|
+
*
|
|
246
|
+
* @param serializedValues Array of serialized LocalValue objects
|
|
247
|
+
* @returns Array of deserialized JavaScript values
|
|
248
|
+
*/
|
|
249
|
+
static fromLocalValueArray(serializedValues) {
|
|
250
|
+
return serializedValues.map((value) => _RemoteValue.fromLocalValue(value));
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* Verifies if the given object matches the structure of a serialized LocalValue
|
|
254
|
+
*
|
|
255
|
+
* @param obj Object to verify
|
|
256
|
+
* @returns boolean indicating if the object has LocalValue structure
|
|
257
|
+
*/
|
|
258
|
+
static isLocalValueObject(obj) {
|
|
259
|
+
if (typeof obj !== "object" || obj === null) {
|
|
260
|
+
return false;
|
|
261
|
+
}
|
|
262
|
+
if (!obj.hasOwnProperty(TYPE_CONSTANT)) {
|
|
263
|
+
return false;
|
|
264
|
+
}
|
|
265
|
+
const type = obj[TYPE_CONSTANT];
|
|
266
|
+
const hasTypeProperty = Object.values({ ...PrimitiveType, ...NonPrimitiveType }).includes(type);
|
|
267
|
+
if (!hasTypeProperty) {
|
|
268
|
+
return false;
|
|
269
|
+
}
|
|
270
|
+
if (type !== "null" /* Null */ && type !== "undefined" /* Undefined */) {
|
|
271
|
+
return obj.hasOwnProperty(VALUE_CONSTANT);
|
|
272
|
+
}
|
|
273
|
+
return true;
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
|
|
158
277
|
// src/utils/result.ts
|
|
159
278
|
var result_exports = {};
|
|
160
279
|
__export(result_exports, {
|
|
@@ -203,6 +322,14 @@ var unwrapErr = (result) => {
|
|
|
203
322
|
throw result.value;
|
|
204
323
|
}
|
|
205
324
|
};
|
|
325
|
+
|
|
326
|
+
// src/utils/serialize.ts
|
|
327
|
+
function deserializeProperty(value) {
|
|
328
|
+
if (typeof value !== "string" || !value.startsWith(SERIALIZED_PREFIX)) {
|
|
329
|
+
return value;
|
|
330
|
+
}
|
|
331
|
+
return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
|
|
332
|
+
}
|
|
206
333
|
var getSlottedChildNodes = (childNodes) => {
|
|
207
334
|
const result = [];
|
|
208
335
|
for (let i2 = 0; i2 < childNodes.length; i2++) {
|
|
@@ -390,6 +517,7 @@ var convertToPrivate = (node) => {
|
|
|
390
517
|
|
|
391
518
|
// src/runtime/client-hydrate.ts
|
|
392
519
|
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
520
|
+
var _a;
|
|
393
521
|
const endHydrate = createTime("hydrateClient", tagName);
|
|
394
522
|
const shadowRoot = hostElm.shadowRoot;
|
|
395
523
|
const childRenderNodes = [];
|
|
@@ -398,6 +526,19 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
398
526
|
const shadowRootNodes = shadowRoot ? [] : null;
|
|
399
527
|
const vnode = newVNode(tagName, null);
|
|
400
528
|
vnode.$elm$ = hostElm;
|
|
529
|
+
const members = Object.entries(((_a = hostRef.$cmpMeta$) == null ? void 0 : _a.$members$) || {});
|
|
530
|
+
members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
|
|
531
|
+
var _a2;
|
|
532
|
+
if (!(memberFlags & 31 /* Prop */)) {
|
|
533
|
+
return;
|
|
534
|
+
}
|
|
535
|
+
const attributeName = metaAttributeName || memberName;
|
|
536
|
+
const attrVal = hostElm.getAttribute(attributeName);
|
|
537
|
+
if (attrVal !== null) {
|
|
538
|
+
const attrPropVal = parsePropertyValue(attrVal, memberFlags);
|
|
539
|
+
(_a2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _a2.set(memberName, attrPropVal);
|
|
540
|
+
}
|
|
541
|
+
});
|
|
401
542
|
if (win.document && (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size)) {
|
|
402
543
|
initializeDocumentHydrate(win.document.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
|
|
403
544
|
}
|
|
@@ -754,12 +895,23 @@ var findCorrespondingNode = (node, type) => {
|
|
|
754
895
|
return sibling;
|
|
755
896
|
};
|
|
756
897
|
var parsePropertyValue = (propValue, propType) => {
|
|
898
|
+
if (typeof propValue === "string" && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
|
|
899
|
+
try {
|
|
900
|
+
propValue = JSON.parse(propValue);
|
|
901
|
+
return propValue;
|
|
902
|
+
} catch (e) {
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
if (typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
|
|
906
|
+
propValue = deserializeProperty(propValue);
|
|
907
|
+
return propValue;
|
|
908
|
+
}
|
|
757
909
|
if (propValue != null && !isComplexType(propValue)) {
|
|
758
910
|
if (propType & 4 /* Boolean */) {
|
|
759
911
|
return propValue === "false" ? false : propValue === "" || !!propValue;
|
|
760
912
|
}
|
|
761
913
|
if (propType & 2 /* Number */) {
|
|
762
|
-
return parseFloat(propValue);
|
|
914
|
+
return typeof propValue === "string" ? parseFloat(propValue) : typeof propValue === "number" ? propValue : NaN;
|
|
763
915
|
}
|
|
764
916
|
if (propType & 1 /* String */) {
|
|
765
917
|
return String(propValue);
|
|
@@ -1281,7 +1433,8 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1281
1433
|
const hostElm = hostRef.$hostElement$;
|
|
1282
1434
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
1283
1435
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
1284
|
-
const
|
|
1436
|
+
const isHostElement = isHost(renderFnResults);
|
|
1437
|
+
const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
|
|
1285
1438
|
hostTagName = hostElm.tagName;
|
|
1286
1439
|
if (cmpMeta.$attrsToReflect$) {
|
|
1287
1440
|
rootVnode.$attrs$ = rootVnode.$attrs$ || {};
|
|
@@ -1828,6 +1981,6 @@ var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
|
1828
1981
|
var setPlatformOptions = (opts) => Object.assign(plt, opts);
|
|
1829
1982
|
|
|
1830
1983
|
export { Fragment as F, H, setAssetPath as a, setNonce as b, setPlatformOptions as c, Host as d, createEvent as e, forceUpdate as f, getAssetPath as g, h, getElement as i, proxyCustomElement as p, readTask as r, setPlatformHelpers as s };
|
|
1831
|
-
//# sourceMappingURL=p-
|
|
1984
|
+
//# sourceMappingURL=p-BA1wZ05L.js.map
|
|
1832
1985
|
|
|
1833
|
-
//# sourceMappingURL=p-
|
|
1986
|
+
//# sourceMappingURL=p-BA1wZ05L.js.map
|