@siemens/ix 0.0.0-pr-1974-20250627115746 → 0.0.0-pr-2015-20250716160704
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/index.js +4 -4
- package/components/index.js.map +1 -1
- package/components/ix-action-card.js +10 -5
- package/components/ix-action-card.js.map +1 -1
- package/components/ix-application-header.js +1 -1
- package/components/ix-application-sidebar.js +1 -1
- package/components/ix-application-switch-modal.js +8 -8
- package/components/ix-application.js +1 -1
- package/components/ix-avatar.js +1 -1
- package/components/ix-basic-navigation.js +7 -7
- package/components/ix-blind.js +3 -3
- package/components/ix-breadcrumb-item.js +1 -1
- package/components/ix-breadcrumb.js +5 -5
- 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 +8 -8
- package/components/ix-card-title.js +1 -1
- package/components/ix-card.js +1 -1
- package/components/ix-category-filter.js +7 -7
- package/components/ix-checkbox-group.js +6 -6
- package/components/ix-checkbox.js +3 -3
- package/components/ix-chip.js +7 -7
- package/components/ix-chip.js.map +1 -1
- package/components/ix-col.js +1 -1
- package/components/ix-content-header.js +5 -5
- 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 +14 -14
- 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 +4 -4
- package/components/ix-dropdown-button.js +6 -6
- 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 +2 -2
- package/components/ix-event-list.js +1 -1
- package/components/ix-expanding-search.js +4 -4
- 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 +4 -4
- package/components/ix-group-context-menu.js +1 -1
- package/components/ix-group-item.js +1 -1
- package/components/ix-group.js +6 -6
- package/components/ix-helper-text.js +4 -4
- package/components/ix-icon-button.js +1 -1
- package/components/ix-icon-toggle-button.js +4 -34
- package/components/ix-icon-toggle-button.js.map +1 -1
- package/components/ix-input-group.js +1 -1
- package/components/ix-input.js +11 -12
- package/components/ix-input.js.map +1 -1
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-key-value.js +1 -1
- package/components/ix-kpi.js +2 -2
- package/components/ix-layout-auto.js +1 -1
- package/components/ix-layout-grid.js +1 -1
- package/components/ix-link-button.js +2 -2
- package/components/ix-map-navigation-overlay.js +1 -1
- package/components/ix-map-navigation.js +9 -9
- package/components/ix-menu-about-item.js +1 -1
- package/components/ix-menu-about-news.js +6 -6
- package/components/ix-menu-about.js +6 -6
- package/components/ix-menu-avatar-item.js +1 -1
- package/components/ix-menu-avatar.js +9 -9
- package/components/ix-menu-category.js +8 -8
- 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 +12 -12
- package/components/ix-menu.js.map +1 -1
- package/components/ix-message-bar.js +4 -4
- 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 +2 -2
- package/components/ix-number-input.js +10 -10
- package/components/ix-pagination.js +14 -14
- package/components/ix-pane-layout.js +1 -1
- package/components/ix-pane.js +5 -5
- package/components/ix-pill.js +4 -4
- package/components/ix-pill.js.map +1 -1
- package/components/ix-progress-indicator.js +23 -15
- package/components/ix-progress-indicator.js.map +1 -1
- package/components/ix-push-card.js +6 -6
- package/components/ix-radio-group.js +6 -6
- package/components/ix-radio.js +3 -3
- 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 +6 -6
- package/components/ix-tab-item.js +1 -1
- package/components/ix-tabs.js +1 -1
- package/components/ix-textarea.js +9 -8
- package/components/ix-textarea.js.map +1 -1
- package/components/ix-tile.js +1 -1
- package/components/ix-time-input.js +17 -18
- package/components/ix-time-input.js.map +1 -1
- package/components/ix-time-picker.js +1 -1
- package/components/ix-toast-container.js +16 -10
- package/components/ix-toast-container.js.map +1 -1
- package/components/ix-toast.js +1 -1
- package/components/ix-toggle-button.js +5 -35
- package/components/ix-toggle-button.js.map +1 -1
- package/components/ix-toggle.js +6 -6
- package/components/ix-tooltip.js +1 -1
- package/components/ix-tree-item.js +1 -1
- package/components/ix-tree.js +3 -3
- package/components/ix-typography.js +1 -1
- package/components/ix-upload.js +7 -7
- package/components/ix-validation-tooltip.js +3 -3
- package/components/ix-workflow-step.js +34 -17
- package/components/ix-workflow-step.js.map +1 -1
- package/components/ix-workflow-steps.js +2 -2
- package/components/{p-D3Aowo70.js → p-7m6wlRo9.js} +8 -8
- package/components/p-7m6wlRo9.js.map +1 -0
- package/components/{p-Cb-eBcUF.js → p-B3zuhfFZ.js} +3 -3
- package/components/{p-Cb-eBcUF.js.map → p-B3zuhfFZ.js.map} +1 -1
- package/components/p-BM2qqhPf.js +45 -0
- package/components/p-BM2qqhPf.js.map +1 -0
- package/components/{p-BP-8cvOJ.js → p-BQHIjmQC.js} +4 -4
- package/components/{p-BP-8cvOJ.js.map → p-BQHIjmQC.js.map} +1 -1
- package/components/{p-CKkTXQiw.js → p-BXol_41M.js} +8 -8
- package/components/{p-CKkTXQiw.js.map → p-BXol_41M.js.map} +1 -1
- package/components/{p-DfbCO042.js → p-Bb7t1n8P.js} +10 -10
- package/components/{p-DfbCO042.js.map → p-Bb7t1n8P.js.map} +1 -1
- package/components/{p-G0biE2Kx.js → p-BdJ78pKu.js} +3 -3
- package/components/{p-G0biE2Kx.js.map → p-BdJ78pKu.js.map} +1 -1
- package/components/{p-Cut5OrRw.js → p-Bdgt58Io.js} +3 -3
- package/components/{p-Cut5OrRw.js.map → p-Bdgt58Io.js.map} +1 -1
- package/components/{p-5uA5ifmT.js → p-BiMu0TD8.js} +3 -3
- package/components/{p-5uA5ifmT.js.map → p-BiMu0TD8.js.map} +1 -1
- package/components/{p-DCx3-1oU.js → p-BmlpW0x9.js} +4 -4
- package/components/{p-DCx3-1oU.js.map → p-BmlpW0x9.js.map} +1 -1
- package/components/{p-9dLpp1OQ.js → p-BsUt3nQm.js} +3 -3
- package/components/{p-9dLpp1OQ.js.map → p-BsUt3nQm.js.map} +1 -1
- package/components/{p-DMlmNp-B.js → p-BtXurqtc.js} +3 -3
- package/components/{p-DMlmNp-B.js.map → p-BtXurqtc.js.map} +1 -1
- package/components/{p-Cpxz1Kcs.js → p-BvD0hd1u.js} +4 -4
- package/components/{p-Cpxz1Kcs.js.map → p-BvD0hd1u.js.map} +1 -1
- package/components/{p-BkWbk29R.js → p-BzI08Zm8.js} +6 -6
- package/components/{p-BkWbk29R.js.map → p-BzI08Zm8.js.map} +1 -1
- package/components/{p-DojBQCbP.js → p-C1BaPaPQ.js} +8 -8
- package/components/{p-DojBQCbP.js.map → p-C1BaPaPQ.js.map} +1 -1
- package/components/{p-BXjBChze.js → p-CCoF3K4C.js} +5 -5
- package/components/{p-BXjBChze.js.map → p-CCoF3K4C.js.map} +1 -1
- package/components/{p-tH4n038Z.js → p-CH3T27PM.js} +3 -3
- package/components/{p-tH4n038Z.js.map → p-CH3T27PM.js.map} +1 -1
- package/components/{p-CvvOe8xV.js → p-CKkrcVft.js} +5 -5
- package/components/{p-CvvOe8xV.js.map → p-CKkrcVft.js.map} +1 -1
- package/components/{p-DJ7U7oUq.js → p-CMl7lsVq.js} +7 -7
- package/components/{p-DJ7U7oUq.js.map → p-CMl7lsVq.js.map} +1 -1
- package/components/{p-BhLbU_vK.js → p-COfJ2PMW.js} +4 -4
- package/components/{p-BhLbU_vK.js.map → p-COfJ2PMW.js.map} +1 -1
- package/components/{p-BcGAKMQ_.js → p-CP1_JI7K.js} +3 -3
- package/components/{p-BcGAKMQ_.js.map → p-CP1_JI7K.js.map} +1 -1
- package/components/{p-BedSAVZh.js → p-CS-xbDhA.js} +3 -3
- package/components/{p-BedSAVZh.js.map → p-CS-xbDhA.js.map} +1 -1
- package/components/{p-PxA_udyJ.js → p-CX0Rpcr5.js} +3 -3
- package/components/{p-PxA_udyJ.js.map → p-CX0Rpcr5.js.map} +1 -1
- package/components/{p-DWO4uklL.js → p-C_ijW9ga.js} +6 -6
- package/components/{p-DWO4uklL.js.map → p-C_ijW9ga.js.map} +1 -1
- package/components/{p-DyMgW0fR.js → p-CbE4QYpW.js} +4 -4
- package/components/{p-DyMgW0fR.js.map → p-CbE4QYpW.js.map} +1 -1
- package/components/{p-B3duqvjW.js → p-ChMN8zgB.js} +3 -3
- package/components/{p-B3duqvjW.js.map → p-ChMN8zgB.js.map} +1 -1
- package/components/{p-B1Gzt08S.js → p-Cjv89Q6O.js} +4 -4
- package/components/{p-B1Gzt08S.js.map → p-Cjv89Q6O.js.map} +1 -1
- package/components/{p-Bu-j8wxy.js → p-CpEJAOhj.js} +5 -5
- package/components/{p-Bu-j8wxy.js.map → p-CpEJAOhj.js.map} +1 -1
- package/components/{p-TNoCM8Wi.js → p-CphWTFEb.js} +4 -4
- package/components/{p-TNoCM8Wi.js.map → p-CphWTFEb.js.map} +1 -1
- package/components/{p-DaztMgDr.js → p-CrHYUohw.js} +8 -8
- package/components/{p-DaztMgDr.js.map → p-CrHYUohw.js.map} +1 -1
- package/components/{p-BMU8AlMD.js → p-CxUD6Gkn.js} +7 -7
- package/components/{p-BMU8AlMD.js.map → p-CxUD6Gkn.js.map} +1 -1
- package/components/{p-BNu7ac9R.js → p-D11E9IHC.js} +7 -7
- package/components/{p-BNu7ac9R.js.map → p-D11E9IHC.js.map} +1 -1
- package/components/{p-Bzyt4nTL.js → p-DAfEIek1.js} +8 -8
- package/components/{p-Bzyt4nTL.js.map → p-DAfEIek1.js.map} +1 -1
- package/components/{p-DyHdZRT0.js → p-DCpHPB14.js} +5 -5
- package/components/{p-DyHdZRT0.js.map → p-DCpHPB14.js.map} +1 -1
- package/components/{p-DbR-LZrk.js → p-DTcroZ80.js} +3 -3
- package/components/{p-DbR-LZrk.js.map → p-DTcroZ80.js.map} +1 -1
- package/components/{p-r63hglsv.js → p-DXdd9Gp0.js} +6 -6
- package/components/{p-r63hglsv.js.map → p-DXdd9Gp0.js.map} +1 -1
- package/components/{p-Bvsx56zn.js → p-DYPhlKEH.js} +4 -4
- package/components/{p-Bvsx56zn.js.map → p-DYPhlKEH.js.map} +1 -1
- package/components/{p-qauH9Ci4.js → p-DZjZu1hH.js} +3 -3
- package/components/{p-qauH9Ci4.js.map → p-DZjZu1hH.js.map} +1 -1
- package/components/{p-BmmgJGNd.js → p-Dc_xlCex.js} +6 -6
- package/components/{p-BmmgJGNd.js.map → p-Dc_xlCex.js.map} +1 -1
- package/components/{p-BygLxZIM.js → p-DtMhlStk.js} +3 -3
- package/components/{p-BygLxZIM.js.map → p-DtMhlStk.js.map} +1 -1
- package/components/{p-D9LaIICQ.js → p-ETY_qKem.js} +3 -3
- package/components/{p-D9LaIICQ.js.map → p-ETY_qKem.js.map} +1 -1
- package/components/{p-Cs8DEpjh.js → p-IvmyFqsE.js} +18 -16
- package/components/p-IvmyFqsE.js.map +1 -0
- package/components/{p-Cp5J1RZq.js → p-Ox7VHYKV.js} +16 -16
- package/components/{p-Cp5J1RZq.js.map → p-Ox7VHYKV.js.map} +1 -1
- package/components/{p-BuJ6BWIi.js → p-TnTUyILo.js} +226 -153
- package/components/p-TnTUyILo.js.map +1 -0
- package/components/{p-BJcX2_-N.js → p-cMwmmkRL.js} +3 -3
- package/components/{p-BJcX2_-N.js.map → p-cMwmmkRL.js.map} +1 -1
- package/components/{p-DkGdSI6e.js → p-sDlrRKZx.js} +6 -6
- package/components/{p-DkGdSI6e.js.map → p-sDlrRKZx.js.map} +1 -1
- package/components/{p-Ooq8eqJM.js → p-v6yCC_BL.js} +3 -3
- package/components/{p-Ooq8eqJM.js.map → p-v6yCC_BL.js.map} +1 -1
- package/components/{p-CGwHQeMX.js → p-wyZAm6Wr.js} +3 -3
- package/components/{p-CGwHQeMX.js.map → p-wyZAm6Wr.js.map} +1 -1
- package/components/{p-C6o-AByw.js → p-xIjwtQh0.js} +3 -3
- package/components/{p-C6o-AByw.js.map → p-xIjwtQh0.js.map} +1 -1
- package/dist/cjs/app-globals-COfvzNLb.js +10 -0
- package/dist/cjs/app-globals-COfvzNLb.js.map +1 -0
- package/dist/cjs/{base-button-B-wht3TB.js → base-button-G3EyGW_x.js} +3 -3
- package/dist/cjs/{base-button-B-wht3TB.js.map → base-button-G3EyGW_x.js.map} +1 -1
- package/dist/cjs/{base-icon-button-DNisNrCZ.js → base-icon-button-CfhmHL0H.js} +4 -4
- package/dist/cjs/{base-icon-button-DNisNrCZ.js.map → base-icon-button-CfhmHL0H.js.map} +1 -1
- package/dist/cjs/{helper-text-util-B_J9aPv0.js → helper-text-util-CMF-krG2.js} +17 -14
- package/dist/cjs/helper-text-util-CMF-krG2.js.map +1 -0
- package/dist/cjs/{index-CbtIH46j.js → index-B60i3I3J.js} +248 -197
- package/dist/cjs/index-B60i3I3J.js.map +1 -0
- package/dist/cjs/index.cjs.js +3 -2
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/{input.util-BDrqIfiB.js → input.util-CJeJb7AB.js} +4 -4
- package/dist/cjs/{input.util-BDrqIfiB.js.map → input.util-CJeJb7AB.js.map} +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js +7 -2
- package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-action-card.entry.cjs.js.map +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 +2 -2
- package/dist/cjs/ix-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-chip.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-col_4.cjs.entry.js +10 -8
- 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 +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 +1 -1
- package/dist/cjs/ix-expanding-search.cjs.entry.js +1 -1
- package/dist/cjs/ix-field-label_2.cjs.entry.js +3 -3
- 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 +4 -30
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-icon-toggle-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-input.cjs.entry.js +4 -5
- package/dist/cjs/ix-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
- package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +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-Dbt7Q2tj.js → ix-menu-settings-ChBduISB.js} +3 -3
- package/dist/cjs/{ix-menu-settings-Dbt7Q2tj.js.map → ix-menu-settings-ChBduISB.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 +4 -4
- package/dist/cjs/ix-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +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 +2 -2
- package/dist/cjs/ix-pill.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pill.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-progress-indicator.cjs.entry.js +20 -12
- package/dist/cjs/ix-progress-indicator.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-progress-indicator.entry.cjs.js.map +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 +2 -2
- package/dist/cjs/ix-select.cjs.entry.js +3 -3
- 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 +5 -4
- package/dist/cjs/ix-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tile.cjs.entry.js +1 -1
- package/dist/cjs/ix-time-input.cjs.entry.js +6 -6
- package/dist/cjs/ix-time-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-time-picker.cjs.entry.js +2 -2
- package/dist/cjs/ix-toast-container.cjs.entry.js +13 -7
- package/dist/cjs/ix-toast-container.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toast-container.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast.cjs.entry.js +3 -3
- package/dist/cjs/ix-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toast.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toggle-button.cjs.entry.js +4 -30
- package/dist/cjs/ix-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toggle-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toggle.cjs.entry.js +5 -5
- package/dist/cjs/ix-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/ix-tree-item.cjs.entry.js +5 -5
- package/dist/cjs/ix-tree.cjs.entry.js +2 -2
- package/dist/cjs/ix-typography.cjs.entry.js +2 -2
- package/dist/cjs/ix-upload.cjs.entry.js +4 -4
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/ix-workflow-step.cjs.entry.js +33 -16
- package/dist/cjs/ix-workflow-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-workflow-step.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +2 -2
- package/dist/cjs/{listener-BT212YoD.js → listener-Dz30NpgY.js} +3 -3
- package/dist/cjs/{listener-BT212YoD.js.map → listener-Dz30NpgY.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +5 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/setup-67RdKH99.js +34 -0
- package/dist/cjs/setup-67RdKH99.js.map +1 -0
- package/dist/cjs/siemens-ix.cjs.js +6 -4
- package/dist/cjs/siemens-ix.cjs.js.map +1 -1
- package/dist/cjs/{validation-rAd3wIQp.js → validation-Dugh-A-f.js} +3 -3
- package/dist/cjs/{validation-rAd3wIQp.js.map → validation-Dugh-A-f.js.map} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/action-card/action-card.js +6 -1
- package/dist/collection/components/action-card/action-card.js.map +1 -1
- package/dist/collection/components/chip/chip.css +1 -0
- package/dist/collection/components/date-picker/date-picker.js +13 -11
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/field-wrapper/helper-text-util.js +14 -11
- package/dist/collection/components/field-wrapper/helper-text-util.js.map +1 -1
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +2 -35
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js.map +1 -1
- package/dist/collection/components/input/input.js +1 -2
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/textarea.js +2 -1
- package/dist/collection/components/input/textarea.js.map +1 -1
- package/dist/collection/components/menu/menu.js +3 -3
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/pill/pill.css +1 -0
- package/dist/collection/components/progress-indicator/circular.js +5 -2
- package/dist/collection/components/progress-indicator/circular.js.map +1 -1
- package/dist/collection/components/progress-indicator/progress-indicator.css +39 -11
- package/dist/collection/components/progress-indicator/progress-indicator.js +12 -7
- package/dist/collection/components/progress-indicator/progress-indicator.js.map +1 -1
- package/dist/collection/components/time-input/time-input.js +3 -22
- package/dist/collection/components/time-input/time-input.js.map +1 -1
- package/dist/collection/components/toast/toast-container.js +12 -6
- package/dist/collection/components/toast/toast-container.js.map +1 -1
- package/dist/collection/components/toast/toast-utils.js.map +1 -1
- package/dist/collection/components/toast/toast.css +10 -3
- package/dist/collection/components/toast/toast.js +1 -1
- package/dist/collection/components/toast/toast.js.map +1 -1
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toggle-button/toggle-button.js +4 -37
- package/dist/collection/components/toggle-button/toggle-button.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +4 -4
- package/dist/collection/components/typography/typography.js +1 -1
- package/dist/collection/components/upload/upload.js +3 -3
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
- package/dist/collection/components/workflow-step/workflow-step.js +32 -15
- package/dist/collection/components/workflow-step/workflow-step.js.map +1 -1
- package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
- package/dist/esm/app-globals-DgKvzqyQ.js +8 -0
- package/dist/esm/app-globals-DgKvzqyQ.js.map +1 -0
- package/dist/esm/{base-button-CKT5FMT1.js → base-button-zjR4O2_P.js} +3 -3
- package/dist/esm/{base-button-CKT5FMT1.js.map → base-button-zjR4O2_P.js.map} +1 -1
- package/dist/esm/{base-icon-button-7cQMdhTz.js → base-icon-button-BcxuN438.js} +4 -4
- package/dist/esm/{base-icon-button-7cQMdhTz.js.map → base-icon-button-BcxuN438.js.map} +1 -1
- package/dist/esm/helper-text-util-CJq9xu5x.js +45 -0
- package/dist/esm/helper-text-util-CJq9xu5x.js.map +1 -0
- package/dist/esm/{index-DLTnniMb.js → index-BSqRUSbt.js} +3 -3
- package/dist/esm/{index-DLTnniMb.js.map → index-BSqRUSbt.js.map} +1 -1
- package/dist/esm/{index-CxG62M3Y.js → index-DOzyfj6H.js} +3 -3
- package/dist/esm/{index-CxG62M3Y.js.map → index-DOzyfj6H.js.map} +1 -1
- package/dist/esm/{index-DJsXFBNm.js → index-DUcGWByh.js} +234 -182
- package/dist/esm/index-DUcGWByh.js.map +1 -0
- package/dist/esm/index.js +5 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{input.util-DGHGYsFM.js → input.util-BpyWOgPC.js} +4 -4
- package/dist/esm/{input.util-DGHGYsFM.js.map → input.util-BpyWOgPC.js.map} +1 -1
- package/dist/esm/ix-action-card.entry.js +7 -2
- package/dist/esm/ix-action-card.entry.js.map +1 -1
- package/dist/esm/ix-application-header.entry.js +4 -4
- package/dist/esm/ix-application-sidebar.entry.js +1 -1
- package/dist/esm/ix-application-switch-modal.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/ix-breadcrumb-item.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/ix-card-list.entry.js +2 -2
- package/dist/esm/ix-card_2.entry.js +1 -1
- package/dist/esm/ix-category-filter.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/ix-chip.entry.js.map +1 -1
- package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
- package/dist/esm/ix-col_4.entry.js +11 -9
- package/dist/esm/ix-col_4.entry.js.map +1 -1
- package/dist/esm/ix-content-header.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/ix-date-input.entry.js +4 -4
- 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 +2 -2
- package/dist/esm/ix-dropdown-button.entry.js +2 -2
- 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-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 +2 -2
- package/dist/esm/ix-event-list.entry.js +1 -1
- package/dist/esm/ix-expanding-search.entry.js +2 -2
- package/dist/esm/ix-field-label_2.entry.js +4 -4
- package/dist/esm/ix-filter-chip_2.entry.js +2 -2
- package/dist/esm/ix-flip-tile-content.entry.js +1 -1
- package/dist/esm/ix-flip-tile.entry.js +2 -2
- package/dist/esm/ix-group-context-menu_2.entry.js +2 -2
- package/dist/esm/ix-group.entry.js +2 -2
- package/dist/esm/ix-helper-text.entry.js +4 -4
- package/dist/esm/ix-icon-button_2.entry.js +3 -3
- package/dist/esm/ix-icon-toggle-button.entry.js +4 -30
- package/dist/esm/ix-icon-toggle-button.entry.js.map +1 -1
- package/dist/esm/ix-input-group.entry.js +1 -1
- package/dist/esm/ix-input.entry.js +5 -6
- package/dist/esm/ix-input.entry.js.map +1 -1
- package/dist/esm/ix-key-value-list.entry.js +1 -1
- package/dist/esm/ix-key-value.entry.js +1 -1
- package/dist/esm/ix-kpi.entry.js +2 -2
- package/dist/esm/ix-layout-auto.entry.js +1 -1
- package/dist/esm/ix-link-button.entry.js +2 -2
- package/dist/esm/ix-map-navigation-overlay.entry.js +2 -2
- package/dist/esm/ix-map-navigation.entry.js +2 -2
- package/dist/esm/ix-menu-about-item.entry.js +1 -1
- package/dist/esm/ix-menu-about-news.entry.js +2 -2
- package/dist/esm/ix-menu-about.entry.js +3 -3
- package/dist/esm/ix-menu-avatar.entry.js +2 -2
- package/dist/esm/ix-menu-category.entry.js +2 -2
- package/dist/esm/ix-menu-expand-icon.entry.js +3 -3
- package/dist/esm/ix-menu-item.entry.js +2 -2
- package/dist/esm/{ix-menu-settings-B56_taBh.js → ix-menu-settings-C4VUr6rS.js} +4 -4
- package/dist/esm/{ix-menu-settings-B56_taBh.js.map → ix-menu-settings-C4VUr6rS.js.map} +1 -1
- package/dist/esm/ix-menu-settings-item.entry.js +1 -1
- package/dist/esm/ix-menu-settings.entry.js +3 -3
- package/dist/esm/ix-menu.entry.js +7 -7
- package/dist/esm/ix-menu.entry.js.map +1 -1
- package/dist/esm/ix-message-bar.entry.js +2 -2
- package/dist/esm/ix-modal-content_2.entry.js +2 -2
- package/dist/esm/ix-modal-footer.entry.js +1 -1
- package/dist/esm/ix-modal-loading.entry.js +1 -1
- package/dist/esm/ix-modal.entry.js +2 -2
- package/dist/esm/ix-number-input.entry.js +4 -4
- package/dist/esm/ix-pagination.entry.js +3 -3
- package/dist/esm/ix-pane-layout.entry.js +1 -1
- package/dist/esm/ix-pane.entry.js +2 -2
- package/dist/esm/ix-pill.entry.js +2 -2
- package/dist/esm/ix-pill.entry.js.map +1 -1
- package/dist/esm/ix-progress-indicator.entry.js +21 -13
- package/dist/esm/ix-progress-indicator.entry.js.map +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 +2 -2
- package/dist/esm/ix-select.entry.js +4 -4
- package/dist/esm/ix-slider.entry.js +2 -2
- package/dist/esm/ix-split-button.entry.js +2 -2
- package/dist/esm/ix-tab-item_2.entry.js +2 -2
- package/dist/esm/ix-textarea.entry.js +5 -4
- package/dist/esm/ix-textarea.entry.js.map +1 -1
- package/dist/esm/ix-tile.entry.js +1 -1
- package/dist/esm/ix-time-input.entry.js +7 -7
- package/dist/esm/ix-time-input.entry.js.map +1 -1
- package/dist/esm/ix-time-picker.entry.js +2 -2
- package/dist/esm/ix-toast-container.entry.js +13 -7
- package/dist/esm/ix-toast-container.entry.js.map +1 -1
- package/dist/esm/ix-toast.entry.js +4 -4
- package/dist/esm/ix-toast.entry.js.map +1 -1
- package/dist/esm/ix-toggle-button.entry.js +4 -30
- package/dist/esm/ix-toggle-button.entry.js.map +1 -1
- package/dist/esm/ix-toggle.entry.js +5 -5
- package/dist/esm/ix-tooltip.entry.js +2 -2
- package/dist/esm/ix-tree-item.entry.js +6 -6
- package/dist/esm/ix-tree.entry.js +2 -2
- package/dist/esm/ix-typography.entry.js +2 -2
- package/dist/esm/ix-upload.entry.js +5 -5
- package/dist/esm/ix-validation-tooltip.entry.js +3 -3
- package/dist/esm/ix-workflow-step.entry.js +34 -17
- package/dist/esm/ix-workflow-step.entry.js.map +1 -1
- package/dist/esm/ix-workflow-steps.entry.js +2 -2
- package/dist/esm/{listener-B0yYRvMl.js → listener-C3U9b2OI.js} +3 -3
- package/dist/esm/{listener-B0yYRvMl.js.map → listener-C3U9b2OI.js.map} +1 -1
- package/dist/esm/loader.js +5 -3
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/{modal-BldRA6Um.js → modal-CzyxiSuv.js} +3 -3
- package/dist/esm/{modal-BldRA6Um.js.map → modal-CzyxiSuv.js.map} +1 -1
- package/dist/esm/setup-CyuN7hdW.js +31 -0
- package/dist/esm/setup-CyuN7hdW.js.map +1 -0
- package/dist/esm/siemens-ix.js +6 -4
- package/dist/esm/siemens-ix.js.map +1 -1
- package/dist/esm/{validation-gQpVWmEm.js → validation-C17ol6-l.js} +3 -3
- package/dist/esm/{validation-gQpVWmEm.js.map → validation-C17ol6-l.js.map} +1 -1
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/ix-action-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-chip.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-icon-toggle-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pill.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-progress-indicator.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-textarea.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-time-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-toast-container.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-toast.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-toggle-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-workflow-step.entry.esm.js.map +1 -1
- package/dist/siemens-ix/loader.esm.js.map +1 -1
- package/dist/siemens-ix/{p-6549edf0.entry.js → p-004329be.entry.js} +2 -2
- package/dist/siemens-ix/{p-173dfb9e.entry.js → p-0665081e.entry.js} +2 -2
- package/dist/siemens-ix/{p-d0c1473e.entry.js → p-0bfb601e.entry.js} +2 -2
- package/dist/siemens-ix/{p-5b22342c.entry.js → p-0e49595e.entry.js} +2 -2
- package/dist/siemens-ix/{p-4fe2d0f7.entry.js → p-0edb2d84.entry.js} +2 -2
- package/dist/siemens-ix/{p-4657ec52.entry.js → p-0f2e11db.entry.js} +2 -2
- package/dist/siemens-ix/{p-dfe4de85.entry.js → p-138781b7.entry.js} +2 -2
- package/dist/siemens-ix/p-13a6a804.entry.js +2 -0
- package/dist/siemens-ix/p-13a6a804.entry.js.map +1 -0
- package/dist/siemens-ix/{p-c9ab3079.entry.js → p-149c3d0b.entry.js} +2 -2
- package/dist/siemens-ix/{p-472c1d6b.entry.js → p-1cefca4b.entry.js} +2 -2
- package/dist/siemens-ix/{p-0195766f.entry.js → p-1f0aa4ee.entry.js} +2 -2
- package/dist/siemens-ix/{p-1fdfe35a.entry.js → p-214ddaea.entry.js} +2 -2
- package/dist/siemens-ix/{p-fbacd6eb.entry.js → p-21bdb952.entry.js} +2 -2
- package/dist/siemens-ix/p-21bdb952.entry.js.map +1 -0
- package/dist/siemens-ix/{p-66d20585.entry.js → p-22533d5d.entry.js} +2 -2
- package/dist/siemens-ix/p-24850bae.entry.js +2 -0
- package/dist/siemens-ix/p-24850bae.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9f74e709.entry.js → p-2a7a3603.entry.js} +2 -2
- package/dist/siemens-ix/{p-ce3aebe6.entry.js → p-2c52dd19.entry.js} +2 -2
- package/dist/siemens-ix/{p-44be2535.entry.js → p-2d41bd82.entry.js} +2 -2
- package/dist/siemens-ix/{p-07b2da86.entry.js → p-2fd6c84e.entry.js} +2 -2
- package/dist/siemens-ix/{p-ead88218.entry.js → p-3222601f.entry.js} +2 -2
- package/dist/siemens-ix/p-35e30061.entry.js +2 -0
- package/dist/siemens-ix/{p-aa2dd2c3.entry.js.map → p-35e30061.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-ea142215.entry.js → p-39dda65c.entry.js} +2 -2
- package/dist/siemens-ix/p-3b4b7666.entry.js +2 -0
- package/dist/siemens-ix/{p-326c0944.entry.js.map → p-3b4b7666.entry.js.map} +1 -1
- package/dist/siemens-ix/p-41def6c4.entry.js +2 -0
- package/dist/siemens-ix/{p-91ba2527.entry.js.map → p-41def6c4.entry.js.map} +1 -1
- package/dist/siemens-ix/p-41f019ce.entry.js +2 -0
- package/dist/siemens-ix/{p-6adde42d.entry.js.map → p-41f019ce.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-71c14a29.entry.js → p-42d8271d.entry.js} +2 -2
- package/dist/siemens-ix/{p-0935e05e.entry.js → p-44f97938.entry.js} +2 -2
- package/dist/siemens-ix/p-44f97938.entry.js.map +1 -0
- package/dist/siemens-ix/{p-29d44cef.entry.js → p-468ca2ca.entry.js} +2 -2
- package/dist/siemens-ix/{p-04527b1e.entry.js → p-487c986c.entry.js} +2 -2
- package/dist/siemens-ix/p-51d222c9.entry.js +2 -0
- package/dist/siemens-ix/{p-a6ea8bc6.entry.js → p-525fc4a1.entry.js} +2 -2
- package/dist/siemens-ix/{p-2642d96b.entry.js → p-530037ee.entry.js} +2 -2
- package/dist/siemens-ix/{p-518b5533.entry.js → p-5347954c.entry.js} +2 -2
- package/dist/siemens-ix/{p-025c5b1b.entry.js → p-53a4675f.entry.js} +2 -2
- package/dist/siemens-ix/{p-d605b181.entry.js → p-578b532f.entry.js} +2 -2
- package/dist/siemens-ix/{p-00eff8b5.entry.js → p-584bd0ab.entry.js} +2 -2
- package/dist/siemens-ix/{p-15e0db51.entry.js → p-5ad7ef14.entry.js} +2 -2
- package/dist/siemens-ix/{p-f4ce72e4.entry.js → p-5bf0960c.entry.js} +2 -2
- package/dist/siemens-ix/{p-8fcada5a.entry.js → p-5dc5598f.entry.js} +2 -2
- package/dist/siemens-ix/p-61ddad94.entry.js +2 -0
- package/dist/siemens-ix/p-61ddad94.entry.js.map +1 -0
- package/dist/siemens-ix/{p-c9d48927.entry.js → p-667fcb14.entry.js} +2 -2
- package/dist/siemens-ix/{p-7011678e.entry.js → p-6739a9f2.entry.js} +2 -2
- package/dist/siemens-ix/{p-c24a5925.entry.js → p-687c5bdf.entry.js} +2 -2
- package/dist/siemens-ix/p-6e967fc4.entry.js +2 -0
- package/dist/siemens-ix/{p-003ae2cf.entry.js.map → p-6e967fc4.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-483bc052.entry.js → p-7234a275.entry.js} +2 -2
- package/dist/siemens-ix/{p-2f2dfb6e.entry.js → p-723ccdc7.entry.js} +2 -2
- package/dist/siemens-ix/{p-6337e880.entry.js → p-730cee99.entry.js} +2 -2
- package/dist/siemens-ix/{p-c050d511.entry.js → p-73d0dd7a.entry.js} +2 -2
- package/dist/siemens-ix/{p-afd392d5.entry.js → p-782b1c6b.entry.js} +2 -2
- package/dist/siemens-ix/{p-7111f065.entry.js → p-789980b7.entry.js} +2 -2
- package/dist/siemens-ix/{p-db6d5110.entry.js → p-82ef65f9.entry.js} +2 -2
- package/dist/siemens-ix/{p-de79e8c0.entry.js → p-8425498c.entry.js} +2 -2
- package/dist/siemens-ix/{p-13b5f3c3.entry.js → p-85b51b32.entry.js} +2 -2
- package/dist/siemens-ix/{p-97a53af6.entry.js → p-8664190e.entry.js} +2 -2
- package/dist/siemens-ix/{p-f6a6694e.entry.js → p-86803b48.entry.js} +2 -2
- package/dist/siemens-ix/{p-440a0ee0.entry.js → p-87304815.entry.js} +2 -2
- package/dist/siemens-ix/{p-35054c78.entry.js → p-892de401.entry.js} +2 -2
- package/dist/siemens-ix/{p-d3458382.entry.js → p-8a28421e.entry.js} +2 -2
- package/dist/siemens-ix/{p-4e2b30a4.entry.js → p-8d2d5fab.entry.js} +2 -2
- package/dist/siemens-ix/p-8db25950.entry.js +2 -0
- package/dist/siemens-ix/p-8db25950.entry.js.map +1 -0
- package/dist/siemens-ix/p-9049a8ec.entry.js +2 -0
- package/dist/siemens-ix/p-9049a8ec.entry.js.map +1 -0
- package/dist/siemens-ix/{p-36b894a2.entry.js → p-9472c99c.entry.js} +2 -2
- package/dist/siemens-ix/{p-1df6d18f.entry.js → p-95eb68c1.entry.js} +2 -2
- package/dist/siemens-ix/{p-97693d72.entry.js → p-9ff68444.entry.js} +2 -2
- package/dist/siemens-ix/p-B4a0UD65.js +2 -0
- package/dist/siemens-ix/{p--JQiLjHw.js.map → p-B4a0UD65.js.map} +1 -1
- package/dist/siemens-ix/p-B76mE-dS.js +2 -0
- package/dist/siemens-ix/p-B76mE-dS.js.map +1 -0
- package/dist/siemens-ix/{p-BsJawkTz.js → p-BJqlaGxr.js} +2 -2
- package/dist/siemens-ix/{p-BsJawkTz.js.map → p-BJqlaGxr.js.map} +1 -1
- package/dist/siemens-ix/{p-DLTnniMb.js → p-BSqRUSbt.js} +2 -2
- package/dist/siemens-ix/{p-DLTnniMb.js.map → p-BSqRUSbt.js.map} +1 -1
- package/dist/siemens-ix/{p-Cpl-a_ti.js → p-CLItqyfi.js} +2 -2
- package/dist/siemens-ix/{p-Cpl-a_ti.js.map → p-CLItqyfi.js.map} +1 -1
- package/dist/siemens-ix/p-DFDkkDB8.js +2 -0
- package/dist/siemens-ix/{p-_tyNUrlp.js.map → p-DFDkkDB8.js.map} +1 -1
- package/dist/siemens-ix/p-DUcGWByh.js +3 -0
- package/dist/siemens-ix/p-DUcGWByh.js.map +1 -0
- package/dist/siemens-ix/{p-DH2uzaCC.js → p-DmGLQ0QW.js} +2 -2
- package/dist/siemens-ix/{p-DH2uzaCC.js.map → p-DmGLQ0QW.js.map} +1 -1
- package/dist/siemens-ix/p-DpMjBVmy.js +2 -0
- package/dist/siemens-ix/p-DpMjBVmy.js.map +1 -0
- package/dist/siemens-ix/{p-CpY7qbN7.js → p-DtbRs-BR.js} +2 -2
- package/dist/siemens-ix/{p-CpY7qbN7.js.map → p-DtbRs-BR.js.map} +1 -1
- package/dist/siemens-ix/{p-CFsAnuUU.js → p-KOszTQAT.js} +2 -2
- package/dist/siemens-ix/{p-CFsAnuUU.js.map → p-KOszTQAT.js.map} +1 -1
- package/dist/siemens-ix/p-S9TGLK4M.js +2 -0
- package/dist/siemens-ix/{p-BxQZld1q.js.map → p-S9TGLK4M.js.map} +1 -1
- package/dist/siemens-ix/{p-7a336485.entry.js → p-a47b3767.entry.js} +2 -2
- package/dist/siemens-ix/p-a47b3767.entry.js.map +1 -0
- package/dist/siemens-ix/{p-cf052f87.entry.js → p-a54ee67e.entry.js} +2 -2
- package/dist/siemens-ix/{p-03b8e425.entry.js → p-a9ee4523.entry.js} +2 -2
- package/dist/siemens-ix/{p-bf8dd5a1.entry.js → p-aa68cca6.entry.js} +2 -2
- package/dist/siemens-ix/{p-8d4558b9.entry.js → p-ac0332ab.entry.js} +2 -2
- package/dist/siemens-ix/{p-3b45287a.entry.js → p-ae1df757.entry.js} +2 -2
- package/dist/siemens-ix/{p-2db9bcfa.entry.js → p-b2f1b579.entry.js} +2 -2
- package/dist/siemens-ix/{p-b735b8ce.entry.js → p-b491101c.entry.js} +2 -2
- package/dist/siemens-ix/{p-a9ec8094.entry.js → p-b4ee9bb5.entry.js} +2 -2
- package/dist/siemens-ix/p-b5e4800b.entry.js +2 -0
- package/dist/siemens-ix/{p-ba24447f.entry.js.map → p-b5e4800b.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-456ca686.entry.js → p-b60736db.entry.js} +2 -2
- package/dist/siemens-ix/{p-ee2902a5.entry.js → p-b673e748.entry.js} +2 -2
- package/dist/siemens-ix/{p-dfb5f7d8.entry.js → p-b98f2a42.entry.js} +2 -2
- package/dist/siemens-ix/{p-bf7fbdfc.entry.js → p-bf201567.entry.js} +2 -2
- package/dist/siemens-ix/{p-2f9b9e7a.entry.js → p-c0c22b63.entry.js} +2 -2
- package/dist/siemens-ix/{p-a43c4907.entry.js → p-c0e22222.entry.js} +2 -2
- package/dist/siemens-ix/{p-28aece6e.entry.js → p-c1311d40.entry.js} +2 -2
- package/dist/siemens-ix/p-c1311d40.entry.js.map +1 -0
- package/dist/siemens-ix/{p-76f59fa5.entry.js → p-c35cac58.entry.js} +2 -2
- package/dist/siemens-ix/{p-b00517df.entry.js → p-c50bcb2c.entry.js} +2 -2
- package/dist/siemens-ix/{p-605a9fe8.entry.js → p-d02b54f1.entry.js} +2 -2
- package/dist/siemens-ix/p-d02b54f1.entry.js.map +1 -0
- package/dist/siemens-ix/{p-4ef7a072.entry.js → p-d09403b8.entry.js} +2 -2
- package/dist/siemens-ix/{p-47f395be.entry.js → p-d19563e9.entry.js} +2 -2
- package/dist/siemens-ix/{p-ec7cd008.entry.js → p-d36a2ba1.entry.js} +2 -2
- package/dist/siemens-ix/{p-b548335e.entry.js → p-d47fdfda.entry.js} +2 -2
- package/dist/siemens-ix/{p-981dae13.entry.js → p-d6cc910d.entry.js} +2 -2
- package/dist/siemens-ix/p-d8eeac56.entry.js +2 -0
- package/dist/siemens-ix/{p-6cc448b4.entry.js → p-de83a5b5.entry.js} +2 -2
- package/dist/siemens-ix/{p-6cc448b4.entry.js.map → p-de83a5b5.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-9f7d82d2.entry.js → p-e23690c5.entry.js} +2 -2
- package/dist/siemens-ix/{p-098aa857.entry.js → p-e25c96b0.entry.js} +2 -2
- package/dist/siemens-ix/{p-130ffc16.entry.js → p-e27cc04a.entry.js} +2 -2
- package/dist/siemens-ix/{p-4959b8e6.entry.js → p-e861adf8.entry.js} +2 -2
- package/dist/siemens-ix/{p-bec289d7.entry.js → p-eb2f5bf2.entry.js} +2 -2
- package/dist/siemens-ix/{p-988f37da.entry.js → p-ed05f18e.entry.js} +2 -2
- package/dist/siemens-ix/p-f33f67f6.entry.js +2 -0
- package/dist/siemens-ix/{p-a8cd5e58.entry.js.map → p-f33f67f6.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-0b2e7f25.entry.js → p-f605199b.entry.js} +2 -2
- package/dist/siemens-ix/{p-777675ce.entry.js → p-fb663a8e.entry.js} +2 -2
- package/dist/siemens-ix/{p-f4415d44.entry.js → p-fc3b9b6a.entry.js} +2 -2
- package/dist/siemens-ix/p-il4-T_hQ.js +2 -0
- package/dist/siemens-ix/p-il4-T_hQ.js.map +1 -0
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
- package/dist/types/components/action-card/action-card.d.ts +1 -0
- package/dist/types/components/date-picker/date-picker.d.ts +15 -5
- package/dist/types/components/field-wrapper/helper-text-util.d.ts +3 -3
- package/dist/types/components/icon-toggle-button/icon-toggle-button.d.ts +0 -7
- package/dist/types/components/progress-indicator/circular.d.ts +1 -0
- package/dist/types/components/time-input/time-input.d.ts +0 -4
- package/dist/types/components/toast/toast-utils.d.ts +2 -1
- package/dist/types/components/toggle-button/toggle-button.d.ts +0 -7
- package/dist/types/components/workflow-step/workflow-step.d.ts +2 -0
- package/dist/types/components.d.ts +10 -18
- package/dist/types/stencil-public-runtime.d.ts +12 -5
- package/hydrate/index.js +356 -263
- package/hydrate/index.mjs +356 -263
- package/package.json +3 -3
- package/components/p-B6e7P4xT.js +0 -42
- package/components/p-B6e7P4xT.js.map +0 -1
- package/components/p-BuJ6BWIi.js.map +0 -1
- package/components/p-Cs8DEpjh.js.map +0 -1
- package/components/p-D3Aowo70.js.map +0 -1
- package/dist/cjs/helper-text-util-B_J9aPv0.js.map +0 -1
- package/dist/cjs/index-CbtIH46j.js.map +0 -1
- package/dist/collection/components/application-header/test/application-header.ct.js +0 -389
- package/dist/collection/components/application-header/test/application-header.ct.js.map +0 -1
- package/dist/collection/components/avatar/test/avatar.ct.js +0 -85
- package/dist/collection/components/avatar/test/avatar.ct.js.map +0 -1
- package/dist/collection/components/blind/test/blind.ct.js +0 -16
- package/dist/collection/components/blind/test/blind.ct.js.map +0 -1
- package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js +0 -98
- package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js.map +0 -1
- package/dist/collection/components/button/test/button.ct.js +0 -153
- package/dist/collection/components/button/test/button.ct.js.map +0 -1
- package/dist/collection/components/category-filter/test/category-filter.ct.js +0 -62
- package/dist/collection/components/category-filter/test/category-filter.ct.js.map +0 -1
- package/dist/collection/components/checkbox/tests/checkbox.ct.js +0 -86
- package/dist/collection/components/checkbox/tests/checkbox.ct.js.map +0 -1
- package/dist/collection/components/checkbox-group/test/checkbox-group.ct.js +0 -48
- package/dist/collection/components/checkbox-group/test/checkbox-group.ct.js.map +0 -1
- package/dist/collection/components/chip/test/chip.ct.js +0 -76
- package/dist/collection/components/chip/test/chip.ct.js.map +0 -1
- package/dist/collection/components/custom-field/tests/custom-field.ct.js +0 -68
- package/dist/collection/components/custom-field/tests/custom-field.ct.js.map +0 -1
- package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js +0 -215
- package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js.map +0 -1
- package/dist/collection/components/date-input/tests/date-input.ct.js +0 -117
- package/dist/collection/components/date-input/tests/date-input.ct.js.map +0 -1
- package/dist/collection/components/date-picker/test/date-picker.ct.js +0 -221
- package/dist/collection/components/date-picker/test/date-picker.ct.js.map +0 -1
- package/dist/collection/components/datetime-picker/test/datetime-picker.ct.js +0 -55
- package/dist/collection/components/datetime-picker/test/datetime-picker.ct.js.map +0 -1
- package/dist/collection/components/drawer/test/drawer.ct.js +0 -67
- package/dist/collection/components/drawer/test/drawer.ct.js.map +0 -1
- package/dist/collection/components/dropdown/test/dropdown.ct.js +0 -624
- package/dist/collection/components/dropdown/test/dropdown.ct.js.map +0 -1
- package/dist/collection/components/dropdown-button/dropdown-button.ct.js +0 -51
- package/dist/collection/components/dropdown-button/dropdown-button.ct.js.map +0 -1
- package/dist/collection/components/event-list/test/event-list.ct.js +0 -88
- package/dist/collection/components/event-list/test/event-list.ct.js.map +0 -1
- package/dist/collection/components/expanding-search/test/expanding-search.ct.js +0 -56
- package/dist/collection/components/expanding-search/test/expanding-search.ct.js.map +0 -1
- package/dist/collection/components/field-label/tests/field-label.ct.js +0 -121
- package/dist/collection/components/field-label/tests/field-label.ct.js.map +0 -1
- package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js +0 -63
- package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js.map +0 -1
- package/dist/collection/components/flip-tile/test/flip-tile.ct.js +0 -89
- package/dist/collection/components/flip-tile/test/flip-tile.ct.js.map +0 -1
- package/dist/collection/components/group/test/group.ct.js +0 -115
- package/dist/collection/components/group/test/group.ct.js.map +0 -1
- package/dist/collection/components/icon-button/test/icon-button.ct.js +0 -30
- package/dist/collection/components/icon-button/test/icon-button.ct.js.map +0 -1
- package/dist/collection/components/input/tests/form-ready.ct.js +0 -73
- package/dist/collection/components/input/tests/form-ready.ct.js.map +0 -1
- package/dist/collection/components/input/tests/validation.ct.js +0 -84
- package/dist/collection/components/input/tests/validation.ct.js.map +0 -1
- package/dist/collection/components/input-group/tests/input-group.ct.js +0 -161
- package/dist/collection/components/input-group/tests/input-group.ct.js.map +0 -1
- package/dist/collection/components/menu/test/menu.ct.js +0 -256
- package/dist/collection/components/menu/test/menu.ct.js.map +0 -1
- package/dist/collection/components/menu-about/test/menu-about.ct.js +0 -65
- package/dist/collection/components/menu-about/test/menu-about.ct.js.map +0 -1
- package/dist/collection/components/menu-avatar-item/test/menu-avatar-item.ct.js +0 -47
- package/dist/collection/components/menu-avatar-item/test/menu-avatar-item.ct.js.map +0 -1
- package/dist/collection/components/menu-category/test/menu-category.ct.js +0 -274
- package/dist/collection/components/menu-category/test/menu-category.ct.js.map +0 -1
- package/dist/collection/components/menu-item/test/menu-item.ct.js +0 -67
- package/dist/collection/components/menu-item/test/menu-item.ct.js.map +0 -1
- package/dist/collection/components/menu-settings/test/menu-settings.ct.js +0 -32
- package/dist/collection/components/menu-settings/test/menu-settings.ct.js.map +0 -1
- package/dist/collection/components/message-bar/test/message-bar.ct.js +0 -28
- package/dist/collection/components/message-bar/test/message-bar.ct.js.map +0 -1
- package/dist/collection/components/modal/test/modal.ct.js +0 -204
- package/dist/collection/components/modal/test/modal.ct.js.map +0 -1
- package/dist/collection/components/pagination/test/pagination.ct.js +0 -68
- package/dist/collection/components/pagination/test/pagination.ct.js.map +0 -1
- package/dist/collection/components/pane/test/panes.ct.js +0 -59
- package/dist/collection/components/pane/test/panes.ct.js.map +0 -1
- package/dist/collection/components/pane-layout/test/pane-layout.ct.js +0 -60
- package/dist/collection/components/pane-layout/test/pane-layout.ct.js.map +0 -1
- package/dist/collection/components/pill/test/pill.ct.js +0 -63
- package/dist/collection/components/pill/test/pill.ct.js.map +0 -1
- package/dist/collection/components/radio/test/radio.ct.js +0 -77
- package/dist/collection/components/radio/test/radio.ct.js.map +0 -1
- package/dist/collection/components/radio-group/test/radio-group.ct.js +0 -117
- package/dist/collection/components/radio-group/test/radio-group.ct.js.map +0 -1
- package/dist/collection/components/select/test/select-keyboard.ct.js +0 -380
- package/dist/collection/components/select/test/select-keyboard.ct.js.map +0 -1
- package/dist/collection/components/select/test/select.ct.js +0 -594
- package/dist/collection/components/select/test/select.ct.js.map +0 -1
- package/dist/collection/components/slider/test/slider.ct.js +0 -65
- package/dist/collection/components/slider/test/slider.ct.js.map +0 -1
- package/dist/collection/components/tabs/test/tabs.ct.js +0 -134
- package/dist/collection/components/tabs/test/tabs.ct.js.map +0 -1
- package/dist/collection/components/time-input/test/time-input.ct.js +0 -62
- package/dist/collection/components/time-input/test/time-input.ct.js.map +0 -1
- package/dist/collection/components/time-picker/test/time-picker.ct.js +0 -172
- package/dist/collection/components/time-picker/test/time-picker.ct.js.map +0 -1
- package/dist/collection/components/toggle/test/toggle.ct.js +0 -84
- package/dist/collection/components/toggle/test/toggle.ct.js.map +0 -1
- package/dist/collection/components/tooltip/test/tooltip.ct.js +0 -243
- package/dist/collection/components/tooltip/test/tooltip.ct.js.map +0 -1
- package/dist/collection/components/tree/test/tree.ct.js +0 -355
- package/dist/collection/components/tree/test/tree.ct.js.map +0 -1
- package/dist/collection/components/upload/test/upload.ct.js +0 -17
- package/dist/collection/components/upload/test/upload.ct.js.map +0 -1
- package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js +0 -74
- package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js.map +0 -1
- package/dist/collection/tests/utils/test/matchMedia.mock.js +0 -22
- package/dist/esm/helper-text-util-CBCAKFyG.js +0 -42
- package/dist/esm/helper-text-util-CBCAKFyG.js.map +0 -1
- package/dist/esm/index-DJsXFBNm.js.map +0 -1
- package/dist/siemens-ix/p--JQiLjHw.js +0 -2
- package/dist/siemens-ix/p-003ae2cf.entry.js +0 -2
- package/dist/siemens-ix/p-0935e05e.entry.js.map +0 -1
- package/dist/siemens-ix/p-14d2042d.entry.js +0 -2
- package/dist/siemens-ix/p-14d2042d.entry.js.map +0 -1
- package/dist/siemens-ix/p-19501b80.entry.js +0 -2
- package/dist/siemens-ix/p-28aece6e.entry.js.map +0 -1
- package/dist/siemens-ix/p-326c0944.entry.js +0 -2
- package/dist/siemens-ix/p-605a9fe8.entry.js.map +0 -1
- package/dist/siemens-ix/p-6adde42d.entry.js +0 -2
- package/dist/siemens-ix/p-7a336485.entry.js.map +0 -1
- package/dist/siemens-ix/p-91ba2527.entry.js +0 -2
- package/dist/siemens-ix/p-BxQZld1q.js +0 -2
- package/dist/siemens-ix/p-CthRnoDv.js +0 -2
- package/dist/siemens-ix/p-CthRnoDv.js.map +0 -1
- package/dist/siemens-ix/p-DJsXFBNm.js +0 -3
- package/dist/siemens-ix/p-DJsXFBNm.js.map +0 -1
- package/dist/siemens-ix/p-_tyNUrlp.js +0 -2
- package/dist/siemens-ix/p-a7bdd5fd.entry.js +0 -2
- package/dist/siemens-ix/p-a7bdd5fd.entry.js.map +0 -1
- package/dist/siemens-ix/p-a8cd5e58.entry.js +0 -2
- package/dist/siemens-ix/p-a9336906.entry.js +0 -2
- package/dist/siemens-ix/p-a9336906.entry.js.map +0 -1
- package/dist/siemens-ix/p-aa2dd2c3.entry.js +0 -2
- package/dist/siemens-ix/p-b3d4d2cd.entry.js +0 -2
- package/dist/siemens-ix/p-ba24447f.entry.js +0 -2
- package/dist/siemens-ix/p-c5f8ccc9.entry.js +0 -2
- package/dist/siemens-ix/p-c5f8ccc9.entry.js.map +0 -1
- package/dist/siemens-ix/p-ecd576f8.entry.js +0 -2
- package/dist/siemens-ix/p-ecd576f8.entry.js.map +0 -1
- package/dist/siemens-ix/p-fbacd6eb.entry.js.map +0 -1
- package/dist/types/components/application-header/test/application-header.ct.d.ts +0 -1
- package/dist/types/components/avatar/test/avatar.ct.d.ts +0 -1
- package/dist/types/components/blind/test/blind.ct.d.ts +0 -1
- package/dist/types/components/breadcrumb/test/breadcrumb.ct.d.ts +0 -1
- package/dist/types/components/button/test/button.ct.d.ts +0 -7
- package/dist/types/components/category-filter/test/category-filter.ct.d.ts +0 -1
- package/dist/types/components/checkbox/tests/checkbox.ct.d.ts +0 -1
- package/dist/types/components/checkbox-group/test/checkbox-group.ct.d.ts +0 -1
- package/dist/types/components/chip/test/chip.ct.d.ts +0 -1
- package/dist/types/components/custom-field/tests/custom-field.ct.d.ts +0 -1
- package/dist/types/components/date-dropdown/test/date-dropdown.ct.d.ts +0 -1
- package/dist/types/components/date-input/tests/date-input.ct.d.ts +0 -1
- package/dist/types/components/date-picker/test/date-picker.ct.d.ts +0 -1
- package/dist/types/components/datetime-picker/test/datetime-picker.ct.d.ts +0 -1
- package/dist/types/components/drawer/test/drawer.ct.d.ts +0 -1
- package/dist/types/components/dropdown/test/dropdown.ct.d.ts +0 -1
- package/dist/types/components/dropdown-button/dropdown-button.ct.d.ts +0 -1
- package/dist/types/components/event-list/test/event-list.ct.d.ts +0 -1
- package/dist/types/components/expanding-search/test/expanding-search.ct.d.ts +0 -1
- package/dist/types/components/field-label/tests/field-label.ct.d.ts +0 -1
- package/dist/types/components/field-wrapper/tests/field-wrapper.ct.d.ts +0 -1
- package/dist/types/components/flip-tile/test/flip-tile.ct.d.ts +0 -1
- package/dist/types/components/group/test/group.ct.d.ts +0 -1
- package/dist/types/components/icon-button/test/icon-button.ct.d.ts +0 -1
- package/dist/types/components/input/tests/form-ready.ct.d.ts +0 -1
- package/dist/types/components/input/tests/validation.ct.d.ts +0 -1
- package/dist/types/components/input-group/tests/input-group.ct.d.ts +0 -1
- package/dist/types/components/menu/test/menu.ct.d.ts +0 -1
- package/dist/types/components/menu-about/test/menu-about.ct.d.ts +0 -1
- package/dist/types/components/menu-avatar-item/test/menu-avatar-item.ct.d.ts +0 -1
- package/dist/types/components/menu-category/test/menu-category.ct.d.ts +0 -1
- package/dist/types/components/menu-item/test/menu-item.ct.d.ts +0 -1
- package/dist/types/components/menu-settings/test/menu-settings.ct.d.ts +0 -1
- package/dist/types/components/message-bar/test/message-bar.ct.d.ts +0 -1
- package/dist/types/components/modal/test/modal.ct.d.ts +0 -8
- package/dist/types/components/pagination/test/pagination.ct.d.ts +0 -1
- package/dist/types/components/pane/test/panes.ct.d.ts +0 -1
- package/dist/types/components/pane-layout/test/pane-layout.ct.d.ts +0 -1
- package/dist/types/components/pill/test/pill.ct.d.ts +0 -1
- package/dist/types/components/radio/test/radio.ct.d.ts +0 -1
- package/dist/types/components/radio-group/test/radio-group.ct.d.ts +0 -1
- package/dist/types/components/select/test/select-keyboard.ct.d.ts +0 -1
- package/dist/types/components/select/test/select.ct.d.ts +0 -1
- package/dist/types/components/slider/test/slider.ct.d.ts +0 -1
- package/dist/types/components/tabs/test/tabs.ct.d.ts +0 -1
- package/dist/types/components/time-input/test/time-input.ct.d.ts +0 -1
- package/dist/types/components/time-picker/test/time-picker.ct.d.ts +0 -1
- package/dist/types/components/toggle/test/toggle.ct.d.ts +0 -1
- package/dist/types/components/tooltip/test/tooltip.ct.d.ts +0 -1
- package/dist/types/components/tree/test/tree.ct.d.ts +0 -1
- package/dist/types/components/upload/test/upload.ct.d.ts +0 -1
- package/dist/types/components/workflow-steps/test/workflow-steps.ct.d.ts +0 -1
- /package/dist/siemens-ix/{p-6549edf0.entry.js.map → p-004329be.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-173dfb9e.entry.js.map → p-0665081e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d0c1473e.entry.js.map → p-0bfb601e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5b22342c.entry.js.map → p-0e49595e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4fe2d0f7.entry.js.map → p-0edb2d84.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4657ec52.entry.js.map → p-0f2e11db.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-dfe4de85.entry.js.map → p-138781b7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c9ab3079.entry.js.map → p-149c3d0b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-472c1d6b.entry.js.map → p-1cefca4b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0195766f.entry.js.map → p-1f0aa4ee.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1fdfe35a.entry.js.map → p-214ddaea.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-66d20585.entry.js.map → p-22533d5d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9f74e709.entry.js.map → p-2a7a3603.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ce3aebe6.entry.js.map → p-2c52dd19.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-44be2535.entry.js.map → p-2d41bd82.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-07b2da86.entry.js.map → p-2fd6c84e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ead88218.entry.js.map → p-3222601f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ea142215.entry.js.map → p-39dda65c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-71c14a29.entry.js.map → p-42d8271d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-29d44cef.entry.js.map → p-468ca2ca.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-04527b1e.entry.js.map → p-487c986c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-19501b80.entry.js.map → p-51d222c9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a6ea8bc6.entry.js.map → p-525fc4a1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2642d96b.entry.js.map → p-530037ee.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-518b5533.entry.js.map → p-5347954c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-025c5b1b.entry.js.map → p-53a4675f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d605b181.entry.js.map → p-578b532f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-00eff8b5.entry.js.map → p-584bd0ab.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-15e0db51.entry.js.map → p-5ad7ef14.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f4ce72e4.entry.js.map → p-5bf0960c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8fcada5a.entry.js.map → p-5dc5598f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c9d48927.entry.js.map → p-667fcb14.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7011678e.entry.js.map → p-6739a9f2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c24a5925.entry.js.map → p-687c5bdf.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-483bc052.entry.js.map → p-7234a275.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2f2dfb6e.entry.js.map → p-723ccdc7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6337e880.entry.js.map → p-730cee99.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c050d511.entry.js.map → p-73d0dd7a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-afd392d5.entry.js.map → p-782b1c6b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7111f065.entry.js.map → p-789980b7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-db6d5110.entry.js.map → p-82ef65f9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-de79e8c0.entry.js.map → p-8425498c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-13b5f3c3.entry.js.map → p-85b51b32.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-97a53af6.entry.js.map → p-8664190e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f6a6694e.entry.js.map → p-86803b48.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-440a0ee0.entry.js.map → p-87304815.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-35054c78.entry.js.map → p-892de401.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d3458382.entry.js.map → p-8a28421e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4e2b30a4.entry.js.map → p-8d2d5fab.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-36b894a2.entry.js.map → p-9472c99c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1df6d18f.entry.js.map → p-95eb68c1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-97693d72.entry.js.map → p-9ff68444.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cf052f87.entry.js.map → p-a54ee67e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-03b8e425.entry.js.map → p-a9ee4523.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-bf8dd5a1.entry.js.map → p-aa68cca6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8d4558b9.entry.js.map → p-ac0332ab.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3b45287a.entry.js.map → p-ae1df757.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2db9bcfa.entry.js.map → p-b2f1b579.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b735b8ce.entry.js.map → p-b491101c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a9ec8094.entry.js.map → p-b4ee9bb5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-456ca686.entry.js.map → p-b60736db.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ee2902a5.entry.js.map → p-b673e748.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-dfb5f7d8.entry.js.map → p-b98f2a42.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-bf7fbdfc.entry.js.map → p-bf201567.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2f9b9e7a.entry.js.map → p-c0c22b63.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a43c4907.entry.js.map → p-c0e22222.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-76f59fa5.entry.js.map → p-c35cac58.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b00517df.entry.js.map → p-c50bcb2c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4ef7a072.entry.js.map → p-d09403b8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-47f395be.entry.js.map → p-d19563e9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ec7cd008.entry.js.map → p-d36a2ba1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b548335e.entry.js.map → p-d47fdfda.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-981dae13.entry.js.map → p-d6cc910d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b3d4d2cd.entry.js.map → p-d8eeac56.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9f7d82d2.entry.js.map → p-e23690c5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-098aa857.entry.js.map → p-e25c96b0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-130ffc16.entry.js.map → p-e27cc04a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4959b8e6.entry.js.map → p-e861adf8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-bec289d7.entry.js.map → p-eb2f5bf2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-988f37da.entry.js.map → p-ed05f18e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0b2e7f25.entry.js.map → p-f605199b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-777675ce.entry.js.map → p-fb663a8e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f4415d44.entry.js.map → p-fc3b9b6a.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"./p-Dp15M30K.js";import{s as o}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import"./p-Dp15M30K.js";import{s as o}from"./p-S9TGLK4M.js";async function t(t){const i=document.createElement("ix-application-switch-modal");i.config=t;const n=await o({content:i,size:"840",closeOnBackdropClick:true});const c=n.htmlElement.querySelector("ix-application-switch-modal");return o=>{if(!c){console.warn("ix-application-switch-modal element not found!");return}c.config=o}}export{t as s};
|
|
2
|
+
//# sourceMappingURL=p-DmGLQ0QW.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p-
|
|
1
|
+
{"version":3,"file":"p-DmGLQ0QW.js","sources":["src/components/utils/app-switch/index.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { AppSwitchConfiguration } from '../application-layout/context';\nimport { showModal } from '../modal';\n\nexport async function showAppSwitch(config: AppSwitchConfiguration) {\n const modal = document.createElement('ix-application-switch-modal');\n modal.config = config;\n const result = await showModal({\n content: modal,\n size: '840',\n closeOnBackdropClick: true,\n });\n\n const appSwitchElement = result.htmlElement.querySelector(\n 'ix-application-switch-modal'\n );\n\n return (updateAppSwitchConfig: AppSwitchConfiguration) => {\n if (!appSwitchElement) {\n console.warn('ix-application-switch-modal element not found!');\n return;\n }\n\n appSwitchElement.config = updateAppSwitchConfig;\n };\n}\n"],"names":[],"mappings":";;;AAAA;;;;;;;AAOG;AAKI,eAAe,aAAa,CAAC,MAA8B,EAAA;IAChE,MAAM,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,6BAA6B,CAAC;AACnE,IAAA,KAAK,CAAC,MAAM,GAAG,MAAM;AACrB,IAAA,MAAM,MAAM,GAAG,MAAM,SAAS,CAAC;AAC7B,QAAA,OAAO,EAAE,KAAK;AACd,QAAA,IAAI,EAAE,KAAK;AACX,QAAA,oBAAoB,EAAE,IAAI;AAC3B,KAAA,CAAC;IAEF,MAAM,gBAAgB,GAAG,MAAM,CAAC,WAAW,CAAC,aAAa,CACvD,6BAA6B,CAC9B;IAED,OAAO,CAAC,qBAA6C,KAAI;QACvD,IAAI,CAAC,gBAAgB,EAAE;AACrB,YAAA,OAAO,CAAC,IAAI,CAAC,gDAAgD,CAAC;YAC9D;;AAGF,QAAA,gBAAgB,CAAC,MAAM,GAAG,qBAAqB;AACjD,KAAC;AACH;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"p-DpMjBVmy.js","sources":["src/setup.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { setPlatformHelpers } from '@stencil/core';\n\nexport function handlePlatformHelpers(config: IxConfig) {\n const platformHelpers: Pick<IxConfig, 'ael' | 'rel' | 'ce'> = {};\n\n if (config.ael) {\n platformHelpers.ael = config.ael;\n }\n\n if (config.rel) {\n platformHelpers.rel = config.rel;\n }\n\n if (config.ce) {\n platformHelpers.ce = config.ce;\n }\n\n setPlatformHelpers(platformHelpers);\n}\n\nexport type IxConfig = {\n ael?: (\n el: unknown,\n name: string,\n cb: (...args: unknown[]) => unknown,\n opts: unknown\n ) => void;\n rel?: (\n el: unknown,\n name: string,\n cb: (...args: unknown[]) => unknown,\n opts: unknown\n ) => void;\n ce?: (eventName: string, opts: unknown) => unknown;\n};\n\nexport default async function (config?: IxConfig) {\n handlePlatformHelpers(config || {});\n}\n"],"names":[],"mappings":";;AAAA;;;;;;;AAOG;AAGG,SAAU,qBAAqB,CAAC,MAAgB,EAAA;IACpD,MAAM,eAAe,GAAyC,EAAE;AAEhE,IAAA,IAAI,MAAM,CAAC,GAAG,EAAE;AACd,QAAA,eAAe,CAAC,GAAG,GAAG,MAAM,CAAC,GAAG;;AAGlC,IAAA,IAAI,MAAM,CAAC,GAAG,EAAE;AACd,QAAA,eAAe,CAAC,GAAG,GAAG,MAAM,CAAC,GAAG;;AAGlC,IAAA,IAAI,MAAM,CAAC,EAAE,EAAE;AACb,QAAA,eAAe,CAAC,EAAE,GAAG,MAAM,CAAC,EAAE;;IAGhC,kBAAkB,CAAC,eAAe,CAAC;AACrC;AAkBe,gCAAgB,MAAiB,EAAA;AAC9C,IAAA,qBAAqB,CAAC,MAAM,IAAI,EAAE,CAAC;AACrC;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{g as t}from"./p-DUcGWByh.js";const n={target:"window",defaultEnabled:true};function e(t,e={}){const i=Object.assign(Object.assign({},n),e);let o;const s=t=>{o(t)};const c={on:t=>{o=t},isEnabled:i.defaultEnabled,enable:n=>{c.isEnabled=n;if(n){addEventListener(t,s)}else{removeEventListener(t,s)}},destroy:()=>{c.enable(false)}};c.enable(!!i.defaultEnabled);return c}function i(n,i){return(o,s)=>{const{componentWillLoad:c,componentWillRender:r,disconnectedCallback:_}=o;if(i){o.componentWillRender=function(){var n;const e=t(this);(n=e[`__ix__${s}`])===null||n===void 0?void 0:n.enable(i(this));return r&&r.call(this)}}o.componentWillLoad=function(){const i=e(n);const o=t(this);const r=this[s];o[`__ix__${s}`]=i;i.on(r.bind(this));return c&&c.call(this)};o.disconnectedCallback=function(){var n;const e=t(this);if(e&&e[`__ix__${s}`]){(n=e[`__ix__${s}`])===null||n===void 0?void 0:n.destroy();e[`__ix__${s}`]=null}return _&&_.call(this)}}}export{i as O};
|
|
2
|
+
//# sourceMappingURL=p-DtbRs-BR.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p-
|
|
1
|
+
{"version":3,"file":"p-DtbRs-BR.js","sources":["src/components/utils/listener.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { getElement } from '@stencil/core';\nimport { HTMLStencilElement } from '@stencil/core/internal';\n\nexport type ListenerOptions = {\n target?: 'window';\n defaultEnabled?: boolean;\n};\n\ntype HostListener = {\n on: (onEventCallback: any) => void;\n isEnabled: boolean | undefined;\n enable: (state: boolean) => void;\n destroy: () => void;\n};\n\nconst defaultOptions: ListenerOptions = {\n target: 'window',\n defaultEnabled: true,\n};\n\nexport function createListener(\n event: string,\n options: ListenerOptions = {}\n): HostListener {\n const opts = {\n ...defaultOptions,\n ...options,\n };\n\n let callback: any;\n const onEvent = (event: Event) => {\n callback(event);\n };\n\n const resultObject = {\n on: (onEventCallback: any) => {\n callback = onEventCallback;\n },\n\n isEnabled: opts.defaultEnabled,\n\n enable: (state: boolean) => {\n resultObject.isEnabled = state;\n\n if (state) {\n addEventListener(event, onEvent);\n } else {\n removeEventListener(event, onEvent);\n }\n },\n\n destroy: () => {\n resultObject.enable(false);\n },\n };\n\n resultObject.enable(!!opts.defaultEnabled);\n return resultObject;\n}\n\ntype HTMLStencilElementWithListener = HTMLStencilElement & {\n [K in `__ix__${string}`]?: HostListener | null;\n};\n\nexport function OnListener<T>(event: string, fnExp?: (self: T) => boolean) {\n return (proto: any, methodName: string) => {\n const { componentWillLoad, componentWillRender, disconnectedCallback } =\n proto;\n\n if (fnExp) {\n proto.componentWillRender = function () {\n const host = getElement(this) as HTMLStencilElementWithListener;\n host[`__ix__${methodName}`]?.enable(fnExp(this));\n return componentWillRender && componentWillRender.call(this);\n };\n }\n\n proto.componentWillLoad = function () {\n const listener = createListener(event);\n const host = getElement(this) as HTMLStencilElementWithListener;\n const method = this[methodName];\n\n host[`__ix__${methodName}`] = listener;\n\n listener.on(method.bind(this));\n return componentWillLoad && componentWillLoad.call(this);\n };\n\n proto.disconnectedCallback = function () {\n const host = getElement(this) as HTMLStencilElementWithListener;\n\n if (host && host[`__ix__${methodName}`]) {\n host[`__ix__${methodName}`]?.destroy();\n host[`__ix__${methodName}`] = null;\n }\n\n return disconnectedCallback && disconnectedCallback.call(this);\n };\n };\n}\n"],"names":[],"mappings":";;AAAA;;;;;;;AAOG;AAiBH,MAAM,cAAc,GAAoB;AACtC,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,cAAc,EAAE,IAAI;CACrB;SAEe,cAAc,CAC5B,KAAa,EACb,UAA2B,EAAE,EAAA;AAE7B,IAAA,MAAM,IAA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AAC,CAAC;gBAChD,OAAO,mBAAmB,IAAI,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC;AAC9D,aAAC;;QAGH,KAAK,CAAC,iBAAiB,GAAG,YAAA;AACxB,YAAA,MAAM,QAAQ,GAAG,cAAc,CAAC,KAAK,CAAC;AACtC,YAAA,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAmC;AAC/D,YAAA,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC;AAE/B,YAAA,IAAI,CAAC,CAAS,MAAA,EAAA,UAAU,EAAE,CAAC,GAAG,QAAQ;YAEtC,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAC9B,OAAO,iBAAiB,IAAI,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC;AAC1D,SAAC;QAED,KAAK,CAAC,oBAAoB,GAAG,YAAA;;AAC3B,YAAA,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAmC;YAE/D,IAAI,IAAI,IAAI,IAAI,CAAC,SAAS,UAAU,CAAA,CAAE,CAAC,EAAE;gBACvC,CAAA,EAAA,GAAA,IAAI,CAAC,CAAS,MAAA,EAAA,UAAU,EAAE,CAAC,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,OAAO,EAAE;AACtC,gBAAA,IAAI,CAAC,CAAS,MAAA,EAAA,UAAU,EAAE,CAAC,GAAG,IAAI;;YAGpC,OAAO,oBAAoB,IAAI,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC;AAChE,SAAC;AACH,KAAC;AACH;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{g as i}from"./p-DUcGWByh.js";async function n(i){if(typeof i.isTouched==="function"){return i.isTouched()}}async function t(i){if(i.getAssociatedFormElement&&typeof i.getAssociatedFormElement==="function"){const n=await i.getAssociatedFormElement();if(!n){return false}return n.noValidate}return false}function e(i,n,t){const e=new MutationObserver(n);e.observe(i,{subtree:t===null||t===void 0?void 0:t.includeChildren,childList:t===null||t===void 0?void 0:t.includeChildren,attributes:true,attributeFilter:["class"]});return{destroy(){e.disconnect()}}}function o(i,n,t){return i.classList.contains(`${n}`)||(t?!!i.querySelector(`.${n}`):false)}function a(i,n=false){return{isInvalid:o(i,"ix-invalid",n),isInvalidByRequired:o(i,"ix-invalid--required",n),isValid:o(i,"ix-valid",n),isInfo:o(i,"ix-info",n),isWarning:o(i,"ix-warning",n)}}function s(o){return(s,l)=>{let u;let r;const{componentWillLoad:c,disconnectedCallback:d,connectedCallback:f}=s;s.connectedCallback=function(){const e=i(this);u=async()=>{const i=await t(e);if(i){return}if(e.hasValidValue&&typeof e.hasValidValue==="function"){const i=await e.hasValidValue();const t=await n(e);if(e.required){e.classList.toggle("ix-invalid--required",!i&&t)}else{e.classList.remove("ix-invalid--required")}}if(e.getValidityState&&typeof e.getValidityState==="function"){const i=await e.getValidityState();e.classList.toggle(`ix-invalid--validity-patternMismatch`,i.patternMismatch)}};e.addEventListener("checkedChange",u);e.addEventListener("valueChange",u);e.addEventListener("ixBlur",u);setTimeout(u);return f===null||f===void 0?void 0:f.call(this)};s.componentWillLoad=function(){const n=i(this);r=e(n,(()=>{const i=a(n,o===null||o===void 0?void 0:o.includeChildren);s[l].call(this,i)}),o);const t=a(n,o===null||o===void 0?void 0:o.includeChildren);s[l].call(this,t);return c===null||c===void 0?void 0:c.call(this)};s.disconnectedCallback=function(){const n=i(this);if(n&&r){r.destroy();r=null}if(n&&u){n.removeEventListener("checkedChange",u);n.removeEventListener("valueChange",u);n.removeEventListener("ixBlur",u);u=null}return d===null||d===void 0?void 0:d.call(this)}}}export{s as H,a,e as c,t as s};
|
|
2
|
+
//# sourceMappingURL=p-KOszTQAT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p-
|
|
1
|
+
{"version":3,"file":"p-KOszTQAT.js","sources":["src/components/utils/input/validation.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { getElement } from '@stencil/core';\nimport { HTMLIxFormComponentElement, IxFormComponent } from '.';\nimport { IxComponent } from '../internal';\n\nexport type ClassMutationObserver = {\n destroy: () => void;\n};\n\nexport async function isTouched<T>(host: IxFormComponent<T>) {\n if (typeof host.isTouched === 'function') {\n return host.isTouched();\n }\n}\n\nexport async function shouldSuppressInternalValidation<T>(\n host: IxFormComponent<T>\n) {\n if (\n host.getAssociatedFormElement &&\n typeof host.getAssociatedFormElement === 'function'\n ) {\n const form = await host.getAssociatedFormElement();\n\n if (!form) {\n return false;\n }\n\n return form.noValidate;\n }\n\n return false;\n}\n\nexport function createClassMutationObserver(\n element: HTMLElement,\n callback: () => void,\n options?: {\n includeChildren?: boolean;\n }\n): ClassMutationObserver {\n const observer = new MutationObserver(callback);\n observer.observe(element, {\n subtree: options?.includeChildren,\n childList: options?.includeChildren,\n attributes: true,\n attributeFilter: ['class'],\n });\n\n return {\n destroy() {\n observer.disconnect();\n },\n };\n}\n\nexport type ValidationResultProperty =\n | 'isInvalid'\n | 'isInvalidByRequired'\n | 'isValid'\n | 'isInfo'\n | 'isWarning';\nexport type ValidationResults = Record<ValidationResultProperty, boolean>;\n\nfunction containsClass(\n hostElement: HTMLIxFormComponentElement<unknown>,\n className: string,\n includeChildren: boolean\n) {\n return (\n hostElement.classList.contains(`${className}`) ||\n (includeChildren ? !!hostElement.querySelector(`.${className}`) : false)\n );\n}\n\nexport function checkFieldClasses(\n hostElement: HTMLIxFormComponentElement<unknown>,\n includeChildren = false\n): ValidationResults {\n return {\n isInvalid: containsClass(hostElement, 'ix-invalid', includeChildren),\n isInvalidByRequired: containsClass(\n hostElement,\n 'ix-invalid--required',\n includeChildren\n ),\n isValid: containsClass(hostElement, 'ix-valid', includeChildren),\n isInfo: containsClass(hostElement, 'ix-info', includeChildren),\n isWarning: containsClass(hostElement, 'ix-warning', includeChildren),\n };\n}\n\nexport function HookValidationLifecycle(options?: {\n includeChildren?: boolean;\n}) {\n return (proto: IxComponent, methodName: string) => {\n let checkIfRequiredFunction: (() => Promise<void>) | null;\n let classMutationObserver: ClassMutationObserver | null;\n const { componentWillLoad, disconnectedCallback, connectedCallback } =\n proto;\n\n proto.connectedCallback = function () {\n const host = getElement(\n this\n ) as unknown as HTMLIxFormComponentElement<unknown>;\n\n checkIfRequiredFunction = async () => {\n const skipValidation = await shouldSuppressInternalValidation(host);\n if (skipValidation) {\n return;\n }\n\n if (host.hasValidValue && typeof host.hasValidValue === 'function') {\n const hasValue = await host.hasValidValue();\n const touched = await isTouched(host);\n\n if (host.required) {\n host.classList.toggle('ix-invalid--required', !hasValue && touched);\n } else {\n host.classList.remove('ix-invalid--required');\n }\n }\n\n if (\n host.getValidityState &&\n typeof host.getValidityState === 'function'\n ) {\n const validityState = await host.getValidityState();\n\n host.classList.toggle(\n `ix-invalid--validity-patternMismatch`,\n validityState.patternMismatch\n );\n }\n };\n\n host.addEventListener('checkedChange', checkIfRequiredFunction);\n host.addEventListener('valueChange', checkIfRequiredFunction);\n host.addEventListener('ixBlur', checkIfRequiredFunction);\n setTimeout(checkIfRequiredFunction);\n return connectedCallback?.call(this);\n };\n\n proto.componentWillLoad = function () {\n const host = getElement(\n this\n ) as unknown as HTMLIxFormComponentElement<unknown>;\n classMutationObserver = createClassMutationObserver(\n host,\n () => {\n const result = checkFieldClasses(host, options?.includeChildren);\n proto[methodName].call(this, result);\n },\n options\n );\n const result = checkFieldClasses(host, options?.includeChildren);\n proto[methodName].call(this, result);\n return componentWillLoad?.call(this);\n };\n\n proto.disconnectedCallback = function () {\n const host = getElement(this);\n\n if (host && classMutationObserver) {\n classMutationObserver.destroy();\n classMutationObserver = null;\n }\n\n if (host && checkIfRequiredFunction) {\n host.removeEventListener('checkedChange', checkIfRequiredFunction);\n host.removeEventListener('valueChange', checkIfRequiredFunction);\n host.removeEventListener('ixBlur', checkIfRequiredFunction);\n checkIfRequiredFunction = null;\n }\n\n return disconnectedCallback?.call(this);\n };\n };\n}\n"],"names":[],"mappings":";;AAAA;;;;;;;AAOG;AASI,eAAe,SAAS,CAAI,IAAwB,EAAA;AACzD,IAAA,IAAI,OAAO,IAAI,CAAC,SAAS,KAAK,UAAU,EAAE;AACxC,QAAA,OAAO,IAAI,CAAC,SAAS,EAAE;;AAE3B;AAEO,eAAe,gCAAgC,CACpD,IAAwB,EAAA;IAExB,IACE,IAAI,CAAC,wBAAwB;AAC7B,QAAA,OAAO,IAAI,CAAC,wBAAwB,KAAK,UAAU,EACnD;AACA,QAAA,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,wBAAwB,EAAE;QAElD,IAAI,CAAC,IAAI,EAAE;AACT,YAAA,OAAO,KAAK;;QAGd,OAAO,IAAI,CAAC,UAAU;;AAGxB,IAAA,OAAO,KAAK;AACd;SAEgB,2BAA2B,CACzC,OAAoB,EACpB,QAAoB,EACpB,OAEC,EAAA;AAED,IAAA,MAAM,QAAQ,GAAG,IAAI,gBAAgB,CAAC,QAAQ,CAAC;AAC/C,IAAA,QAAQ,CAAC,OAAO,CAAC,OAAO,EAAE;AACxB,QAAA,OAAO,EAAE,OAAO,KAAA,IAAA,IAAP,OAAO,KAAP,MAAA,GAAA,MAAA,GAAA,OAAO,CAAE,eAAe;AACjC,QAAA,SAAS,EAAE,OAAO,KAAA,IAAA,IAAP,OAAO,KAAP,MAAA,GAAA,MAAA,GAAA,OAAO,CAAE,eAAe;AACnC,QAAA,UAAU,EAAE,IAAI;QAChB,eAAe,EAAE,CAAC,OAAO,CAAC;AAC3B,KAAA,CAAC;IAEF,OAAO;QACL,OAAO,GAAA;YACL,QAAQ,CAAC,UAAU,EAAE;SACtB;KACF;AACH;AAUA,SAAS,aAAa,CACpB,WAAgD,EAChD,SAAiB,EACjB,eAAwB,EAAA;IAExB,Q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,CACR;AACD,YAAA,MAAM,MAAM,GAAG,iBAAiB,CAAC,IAAI,EAAE,OAAO,KAAP,IAAA,IAAA,OAAO,KAAP,MAAA,GAAA,MAAA,GAAA,OAAO,CAAE,eAAe,CAAC;YAChE,KAAK,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC;YACpC,OAAO,iBAAiB,KAAjB,IAAA,IAAA,iBAAiB,KAAjB,MAAA,GAAA,MAAA,GAAA,iBAAiB,CAAE,IAAI,CAAC,IAAI,CAAC;AACtC,SAAC;QAED,KAAK,CAAC,oBAAoB,GAAG,YAAA;AAC3B,YAAA,MAAM,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;AAE7B,YAAA,IAAI,IAAI,IAAI,qBAAqB,EAAE;gBACjC,qBAAqB,CAAC,OAAO,EAAE;gBAC/B,qBAAqB,GAAG,IAAI;;AAG9B,YAAA,IAAI,IAAI,IAAI,uBAAuB,EAAE;AACnC,gBAAA,IAAI,CAAC,mBAAmB,CAAC,eAAe,EAAE,uBAAuB,CAAC;AAClE,gBAAA,IAAI,CAAC,mBAAmB,CAAC,aAAa,EAAE,uBAAuB,CAAC;AAChE,gBAAA,IAAI,CAAC,mBAAmB,CAAC,QAAQ,EAAE,uBAAuB,CAAC;gBAC3D,uBAAuB,GAAG,IAAI;;YAGhC,OAAO,oBAAoB,KAApB,IAAA,IAAA,oBAAoB,KAApB,MAAA,GAAA,MAAA,GAAA,oBAAoB,CAAE,IAAI,CAAC,IAAI,CAAC;AACzC,SAAC;AACH,KAAC;AACH;;;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{b as t,a as e,i as o,c as a,O as n}from"./p-BSqRUSbt.js";import{T as i}from"./p-BdCnOrqW.js";class s{async attachView(t,e){var o;const a=(o=e===null||e===void 0?void 0:e.parentElement)!==null&&o!==void 0?o:document.body;a.appendChild(t);return t}async removeView(t){t.remove()}}const c=new s;let l=c;function r(t){l=t}const d=()=>l;const m=()=>c;function u(t,e){const o=e.ariaDescribedby;const a=e.ariaLabelledby;delete e["ariaDescribedby"];delete e["ariaLabelledby"];if(o){t.setAttribute("aria-describedby",o)}if(a){t.setAttribute("aria-labelledby",a)}}function f(t,e,o,a){let n=[];if(e!==undefined){n=[...n,{id:"cancel",text:e,type:"cancel",payload:a}]}return[...n,{id:"okay",text:t,type:"okay",payload:o}]}async function y(t){const e=new i;const o=document.createElement("ix-modal");const a=document.createElement("ix-modal-header");const n=document.createElement("ix-modal-content");const s=document.createElement("ix-modal-footer");u(o,t);Object.assign(a,t);Object.assign(n,t);Object.assign(s,t);a.innerText=t.messageTitle;n.innerText=t.message;t.actions.forEach((({id:t,text:e,type:a,payload:n})=>{const i=document.createElement("ix-button");i.innerText=e;s.appendChild(i);if(a==="okay"){i.variant="primary";i.addEventListener("click",(()=>o.closeModal({actionId:t,payload:n})));return}else if(a==="cancel"){i.variant="primary";i.outline=true;i.addEventListener("click",(()=>o.dismissModal({actionId:t,payload:n})));return}}));o.appendChild(a);o.appendChild(n);o.appendChild(s);const c=await m().attachView(o);c.addEventListener("dialogClose",(t=>{e.emit(t.detail);c.remove()}));c.addEventListener("dialogDismiss",(t=>{e.emit(t.detail);c.remove()}));u(c,t);Object.assign(c,t);c.showModal();return e}y.info=(e,o,a,n,i,s)=>y({message:o,messageTitle:e,icon:t,actions:f(a,n,i,s)});y.warning=(t,o,a,n,i,s)=>y({message:o,messageTitle:t,icon:e,iconColor:"color-warning",actions:f(a,n,i,s)});y.error=(t,e,a,n,i,s)=>y({message:e,messageTitle:t,icon:o,iconColor:"color-alarm",actions:f(a,n,i,s)});y.success=(t,e,o,n,i,s)=>y({message:e,messageTitle:t,icon:a,iconColor:"color-success",actions:f(o,n,i,s)});y.question=(t,e,o,a,i,s)=>y({message:e,messageTitle:t,icon:n,actions:f(o,a,i,s)});function b(t,e){const o=e.ariaDescribedby;const a=e.ariaLabelledby;delete e["ariaDescribedby"];delete e["ariaLabelledby"];if(o){t.setAttribute("aria-describedby",o)}if(a){t.setAttribute("aria-labelledby",a)}}function g(t){return t.closest("ix-modal")}function p(t,e){const o=g(t);if(o){o.closeModal(e);return}}function w(t,e){const o=g(t);if(o){o.dismissModal(e);return}}async function x(t){const e=d();let o;const a=new i;const n=new i;if(typeof t.content==="string"){const e=document.createElement("ix-modal");e.innerText=t.content;o=await m().attachView(e)}if(t.content instanceof HTMLElement&&t.content.tagName!=="IX-MODAL"){const e=document.createElement("ix-modal");e.appendChild(t.content);o=await m().attachView(e)}if(!o){o=await e.attachView(t.content)}b(o,t);Object.assign(o,t);await o.showModal();o.addEventListener("dialogClose",(async({detail:t})=>{a.emit(t);await e.removeView(o)}));o.addEventListener("dialogDismiss",(async({detail:t})=>{n.emit(t);await e.removeView(o)}));requestAnimationFrame((()=>{const t=o.querySelector("[autofocus],[auto-focus]");if(t){t.focus()}}));return{htmlElement:o,onClose:a,onDismiss:n}}export{d as a,y as b,p as c,w as d,m as g,r,x as s};
|
|
2
|
+
//# sourceMappingURL=p-S9TGLK4M.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p-BxQZld1q.js","sources":["src/components/utils/delegate.ts","src/components/utils/modal/message.ts","src/components/utils/modal/modal.ts"],"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\nexport type DelegateConfig = {\n parentElement?: Element;\n};\n\nexport interface FrameworkDelegate {\n attachView<R = HTMLElement>(view: any, config?: DelegateConfig): Promise<R>;\n removeView(view: any): Promise<void>;\n}\n\nclass DefaultFrameworkDelegate implements FrameworkDelegate {\n async attachView<R = HTMLElement>(\n view: any,\n config?: DelegateConfig\n ): Promise<R> {\n const attachToElement = config?.parentElement ?? document.body;\n attachToElement.appendChild(view);\n return view;\n }\n\n async removeView(view: any) {\n view.remove();\n }\n}\n\nconst coreDelegate = new DefaultFrameworkDelegate();\nlet currentDelegate: FrameworkDelegate = coreDelegate;\n\nexport function registerFrameworkDelegate(delegate: FrameworkDelegate) {\n currentDelegate = delegate;\n}\n\nexport const resolveDelegate = () => {\n return currentDelegate;\n};\n\nexport const getCoreDelegate = () => coreDelegate;\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 */\n\nimport {\n iconError,\n iconInfo,\n iconQuestion,\n iconSuccess,\n iconWarning,\n} from '@siemens/ix-icons/icons';\nimport { getCoreDelegate } from '../delegate';\nimport { TypedEvent } from '../typed-event';\nimport { ModalConfig } from './modal';\n\nexport type MessageConfig<T> = Omit<\n ModalConfig<T, unknown>,\n 'content' | 'title'\n> &\n MessageContent;\n\nfunction setA11yAttributes(element: HTMLElement, config: MessageContent) {\n const ariaDescribedby = config.ariaDescribedby;\n const ariaLabelledby = config.ariaLabelledby;\n\n delete config['ariaDescribedby'];\n delete config['ariaLabelledby'];\n\n if (ariaDescribedby) {\n element.setAttribute('aria-describedby', ariaDescribedby);\n }\n\n if (ariaLabelledby) {\n element.setAttribute('aria-labelledby', ariaLabelledby);\n }\n}\n\nfunction createConfirmButtons(\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) {\n let actions: MessageAction[] = [];\n\n if (textCancel !== undefined) {\n actions = [\n ...actions,\n {\n id: 'cancel',\n text: textCancel,\n type: 'cancel',\n payload: payloadCancel,\n } as MessageAction,\n ];\n }\n return [\n ...actions,\n {\n id: 'okay',\n text: textOkay,\n type: 'okay',\n payload: payloadOkay,\n } as MessageAction,\n ];\n}\n\nexport type MessageAction = {\n id: string;\n type: 'button-primary' | 'button-secondary' | 'okay' | 'cancel';\n text: string;\n payload?: any;\n};\n\nexport type MessageContent = {\n icon: string;\n iconColor?: string;\n messageTitle: string;\n message: string;\n actions: MessageAction[];\n ariaLabelledby?: string;\n ariaDescribedby?: string;\n};\n\nexport async function showMessage<T>(config: MessageConfig<T>) {\n const onMessageAction = new TypedEvent<{\n actionId: string;\n payload: T;\n }>();\n const dialog = document.createElement('ix-modal');\n const header = document.createElement('ix-modal-header');\n const content = document.createElement('ix-modal-content');\n const footer = document.createElement('ix-modal-footer');\n\n setA11yAttributes(dialog, config);\n\n Object.assign(header, config);\n Object.assign(content, config);\n Object.assign(footer, config);\n\n header.innerText = config.messageTitle;\n content.innerText = config.message;\n\n config.actions.forEach(({ id, text, type, payload }) => {\n const button = document.createElement('ix-button');\n button.innerText = text;\n footer.appendChild(button);\n\n if (type === 'okay') {\n button.variant = 'primary';\n button.addEventListener('click', () =>\n dialog.closeModal({\n actionId: id,\n payload,\n })\n );\n return;\n } else if (type === 'cancel') {\n button.variant = 'primary';\n button.outline = true;\n button.addEventListener('click', () =>\n dialog.dismissModal({\n actionId: id,\n payload,\n })\n );\n return;\n }\n });\n\n dialog.appendChild(header);\n dialog.appendChild(content);\n dialog.appendChild(footer);\n\n const dialogRef =\n await getCoreDelegate().attachView<HTMLIxModalElement>(dialog);\n\n dialogRef.addEventListener(\n 'dialogClose',\n (\n event: CustomEvent<{\n actionId: string;\n payload: T;\n }>\n ) => {\n onMessageAction.emit(event.detail);\n dialogRef.remove();\n }\n );\n\n dialogRef.addEventListener(\n 'dialogDismiss',\n (\n event: CustomEvent<{\n actionId: string;\n payload: T;\n }>\n ) => {\n onMessageAction.emit(event.detail);\n dialogRef.remove();\n }\n );\n\n setA11yAttributes(dialogRef, config);\n Object.assign(dialogRef, config);\n\n dialogRef.showModal();\n return onMessageAction;\n}\n\nshowMessage.info = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconInfo,\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.warning = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconWarning,\n iconColor: 'color-warning',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.error = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconError,\n iconColor: 'color-alarm',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.success = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconSuccess,\n iconColor: 'color-success',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.question = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconQuestion,\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\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 */\n\nimport type { IxModalSize } from '../../modal/modal.types';\nimport { getCoreDelegate, resolveDelegate } from '../delegate';\nimport { TypedEvent } from '../typed-event';\n\nexport function setA11yAttributes(element: HTMLElement, config: ModalConfig) {\n const ariaDescribedby = config.ariaDescribedby;\n const ariaLabelledby = config.ariaLabelledby;\n\n delete config['ariaDescribedby'];\n delete config['ariaLabelledby'];\n\n if (ariaDescribedby) {\n element.setAttribute('aria-describedby', ariaDescribedby);\n }\n\n if (ariaLabelledby) {\n element.setAttribute('aria-labelledby', ariaLabelledby);\n }\n}\n\nexport interface ModalConfig<TReason = any, CONTENT = any> {\n animation?: boolean;\n ariaDescribedby?: string;\n ariaLabelledby?: string;\n backdrop?: boolean;\n closeOnBackdropClick?: boolean;\n beforeDismiss?: (reason?: TReason) => boolean | Promise<boolean>;\n centered?: boolean;\n container?: string | HTMLElement;\n content: CONTENT | string;\n keyboard?: boolean;\n size?: IxModalSize;\n title?: string;\n}\n\nexport interface ModalInstance<TReason = any> {\n htmlElement: HTMLIxModalElement;\n onClose: TypedEvent<TReason>;\n onDismiss: TypedEvent<TReason>;\n}\n\nfunction getIxModal(element: Element) {\n return element.closest('ix-modal');\n}\n\nexport function closeModal<TClose = any>(\n element: Element,\n closeResult: TClose\n) {\n const dialog = getIxModal(element);\n if (dialog) {\n dialog.closeModal(closeResult);\n return;\n }\n}\n\nexport function dismissModal(element: Element, dismissResult?: any) {\n const dialog = getIxModal(element);\n if (dialog) {\n dialog.dismissModal(dismissResult);\n return;\n }\n}\n\nexport async function showModal<T>(\n config: ModalConfig<T>\n): Promise<ModalInstance<T>> {\n const delegate = resolveDelegate();\n let dialogRef: HTMLIxModalElement | undefined;\n const onClose = new TypedEvent<T>();\n const onDismiss = new TypedEvent<T>();\n\n if (typeof config.content === 'string') {\n const dialog = document.createElement('ix-modal');\n dialog.innerText = config.content;\n dialogRef = await getCoreDelegate().attachView(dialog);\n }\n\n if (\n config.content instanceof HTMLElement &&\n config.content.tagName !== 'IX-MODAL'\n ) {\n const dialog = document.createElement('ix-modal');\n dialog.appendChild(config.content);\n dialogRef = await getCoreDelegate().attachView(dialog);\n }\n if (!dialogRef) {\n dialogRef = await delegate.attachView<HTMLIxModalElement>(config.content);\n }\n\n setA11yAttributes(dialogRef, config);\n Object.assign(dialogRef, config);\n\n await dialogRef.showModal();\n dialogRef.addEventListener('dialogClose', async ({ detail }: CustomEvent) => {\n onClose.emit(detail);\n await delegate.removeView(dialogRef);\n });\n\n dialogRef.addEventListener(\n 'dialogDismiss',\n async ({ detail }: CustomEvent) => {\n onDismiss.emit(detail);\n await delegate.removeView(dialogRef);\n }\n );\n\n requestAnimationFrame(() => {\n const autofocusElement = dialogRef.querySelector(\n '[autofocus],[auto-focus]'\n );\n\n if (autofocusElement) {\n (autofocusElement as HTMLIxButtonElement).focus();\n }\n });\n\n return {\n htmlElement: dialogRef,\n onClose,\n onDismiss,\n };\n}\n"],"names":["setA11yAttributes"],"mappings":";;;AAAA;;;;;;;AAOG;AAWH,MAAM,wBAAwB,CAAA;AAC5B,IAAA,MAAM,UAAU,CACd,IAAS,EACT,MAAuB,EAAA;;AAEvB,QAAA,MAAM,eAAe,GAAG,CAAA,EAAA,GAAA,MAAM,aAAN,MAAM,KAAA,MAAA,GAAA,MAAA,GAAN,MAAM,CAAE,aAAa,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,QAAQ,CAAC,IAAI;AAC9D,QAAA,eAAe,CAAC,WAAW,CAAC,IAAI,CAAC;AACjC,QAAA,OAAO,IAAI;;IAGb,MAAM,UAAU,CAAC,IAAS,EAAA;QACxB,IAAI,CAAC,MAAM,EAAE;;AAEhB;AAED,MAAM,YAAY,GAAG,IAAI,wBAAwB,EAAE;AACnD,IAAI,eAAe,GAAsB,YAAY;AAE/C,SAAU,yBAAyB,CAAC,QAA2B,EAAA;IACnE,eAAe,GAAG,QAAQ;AAC5B;AAEO,MAAM,eAAe,GAAG,MAAK;AAClC,IAAA,OAAO,eAAe;AACxB;MAEa,eAAe,GAAG,MAAM;;AC5CrC;;;;;;;AAOG;AAmBH,SAASA,mBAAiB,CAAC,OAAoB,EAAE,MAAsB,EAAA;AACrE,IAAA,MAAM,eAAe,GAAG,MAAM,CAAC,eAAe;AAC9C,IAAA,MAAM,cAAc,GAAG,MAAM,CAAC,cAAc;AAE5C,IAAA,OAAO,MAAM,CAAC,iBAAiB,CAAC;AAChC,IAAA,OAAO,MAAM,CAAC,gBAAgB,CAAC;IAE/B,IAAI,eAAe,EAAE;AACnB,QAAA,OAAO,CAAC,YAAY,CAAC,kBAAk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ClC,SAAS,GAAG,MAAM,eAAe,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;;IAExD,IAAI,CAAC,SAAS,EAAE;QACd,SAAS,GAAG,MAAM,QAAQ,CAAC,UAAU,CAAqB,MAAM,CAAC,OAAO,CAAC;;AAG3E,IAAA,iBAAiB,CAAC,SAAS,EAAE,MAAM,CAAC;AACpC,IAAA,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC;AAEhC,IAAA,MAAM,SAAS,CAAC,SAAS,EAAE;IAC3B,SAAS,CAAC,gBAAgB,CAAC,aAAa,EAAE,OAAO,EAAE,MAAM,EAAe,KAAI;AAC1E,QAAA,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;AACpB,QAAA,MAAM,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;AACtC,KAAC,CAAC;IAEF,SAAS,CAAC,gBAAgB,CACxB,eAAe,EACf,OAAO,EAAE,MAAM,EAAe,KAAI;AAChC,QAAA,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC;AACtB,QAAA,MAAM,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;AACtC,KAAC,CACF;IAED,qBAAqB,CAAC,MAAK;QACzB,MAAM,gBAAgB,GAAG,SAAS,CAAC,aAAa,CAC9C,0BAA0B,CAC3B;QAED,IAAI,gBAAgB,EAAE;YACnB,gBAAwC,CAAC,KAAK,EAAE;;AAErD,KAAC,CAAC;IAEF,OAAO;AACL,QAAA,WAAW,EAAE,SAAS;QACtB,OAAO;QACP,SAAS;KACV;AACH;;;;"}
|
|
1
|
+
{"version":3,"file":"p-S9TGLK4M.js","sources":["src/components/utils/delegate.ts","src/components/utils/modal/message.ts","src/components/utils/modal/modal.ts"],"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\nexport type DelegateConfig = {\n parentElement?: Element;\n};\n\nexport interface FrameworkDelegate {\n attachView<R = HTMLElement>(view: any, config?: DelegateConfig): Promise<R>;\n removeView(view: any): Promise<void>;\n}\n\nclass DefaultFrameworkDelegate implements FrameworkDelegate {\n async attachView<R = HTMLElement>(\n view: any,\n config?: DelegateConfig\n ): Promise<R> {\n const attachToElement = config?.parentElement ?? document.body;\n attachToElement.appendChild(view);\n return view;\n }\n\n async removeView(view: any) {\n view.remove();\n }\n}\n\nconst coreDelegate = new DefaultFrameworkDelegate();\nlet currentDelegate: FrameworkDelegate = coreDelegate;\n\nexport function registerFrameworkDelegate(delegate: FrameworkDelegate) {\n currentDelegate = delegate;\n}\n\nexport const resolveDelegate = () => {\n return currentDelegate;\n};\n\nexport const getCoreDelegate = () => coreDelegate;\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 */\n\nimport {\n iconError,\n iconInfo,\n iconQuestion,\n iconSuccess,\n iconWarning,\n} from '@siemens/ix-icons/icons';\nimport { getCoreDelegate } from '../delegate';\nimport { TypedEvent } from '../typed-event';\nimport { ModalConfig } from './modal';\n\nexport type MessageConfig<T> = Omit<\n ModalConfig<T, unknown>,\n 'content' | 'title'\n> &\n MessageContent;\n\nfunction setA11yAttributes(element: HTMLElement, config: MessageContent) {\n const ariaDescribedby = config.ariaDescribedby;\n const ariaLabelledby = config.ariaLabelledby;\n\n delete config['ariaDescribedby'];\n delete config['ariaLabelledby'];\n\n if (ariaDescribedby) {\n element.setAttribute('aria-describedby', ariaDescribedby);\n }\n\n if (ariaLabelledby) {\n element.setAttribute('aria-labelledby', ariaLabelledby);\n }\n}\n\nfunction createConfirmButtons(\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) {\n let actions: MessageAction[] = [];\n\n if (textCancel !== undefined) {\n actions = [\n ...actions,\n {\n id: 'cancel',\n text: textCancel,\n type: 'cancel',\n payload: payloadCancel,\n } as MessageAction,\n ];\n }\n return [\n ...actions,\n {\n id: 'okay',\n text: textOkay,\n type: 'okay',\n payload: payloadOkay,\n } as MessageAction,\n ];\n}\n\nexport type MessageAction = {\n id: string;\n type: 'button-primary' | 'button-secondary' | 'okay' | 'cancel';\n text: string;\n payload?: any;\n};\n\nexport type MessageContent = {\n icon: string;\n iconColor?: string;\n messageTitle: string;\n message: string;\n actions: MessageAction[];\n ariaLabelledby?: string;\n ariaDescribedby?: string;\n};\n\nexport async function showMessage<T>(config: MessageConfig<T>) {\n const onMessageAction = new TypedEvent<{\n actionId: string;\n payload: T;\n }>();\n const dialog = document.createElement('ix-modal');\n const header = document.createElement('ix-modal-header');\n const content = document.createElement('ix-modal-content');\n const footer = document.createElement('ix-modal-footer');\n\n setA11yAttributes(dialog, config);\n\n Object.assign(header, config);\n Object.assign(content, config);\n Object.assign(footer, config);\n\n header.innerText = config.messageTitle;\n content.innerText = config.message;\n\n config.actions.forEach(({ id, text, type, payload }) => {\n const button = document.createElement('ix-button');\n button.innerText = text;\n footer.appendChild(button);\n\n if (type === 'okay') {\n button.variant = 'primary';\n button.addEventListener('click', () =>\n dialog.closeModal({\n actionId: id,\n payload,\n })\n );\n return;\n } else if (type === 'cancel') {\n button.variant = 'primary';\n button.outline = true;\n button.addEventListener('click', () =>\n dialog.dismissModal({\n actionId: id,\n payload,\n })\n );\n return;\n }\n });\n\n dialog.appendChild(header);\n dialog.appendChild(content);\n dialog.appendChild(footer);\n\n const dialogRef =\n await getCoreDelegate().attachView<HTMLIxModalElement>(dialog);\n\n dialogRef.addEventListener(\n 'dialogClose',\n (\n event: CustomEvent<{\n actionId: string;\n payload: T;\n }>\n ) => {\n onMessageAction.emit(event.detail);\n dialogRef.remove();\n }\n );\n\n dialogRef.addEventListener(\n 'dialogDismiss',\n (\n event: CustomEvent<{\n actionId: string;\n payload: T;\n }>\n ) => {\n onMessageAction.emit(event.detail);\n dialogRef.remove();\n }\n );\n\n setA11yAttributes(dialogRef, config);\n Object.assign(dialogRef, config);\n\n dialogRef.showModal();\n return onMessageAction;\n}\n\nshowMessage.info = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconInfo,\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.warning = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconWarning,\n iconColor: 'color-warning',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.error = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconError,\n iconColor: 'color-alarm',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.success = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconSuccess,\n iconColor: 'color-success',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.question = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconQuestion,\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\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 */\n\nimport type { IxModalSize } from '../../modal/modal.types';\nimport { getCoreDelegate, resolveDelegate } from '../delegate';\nimport { TypedEvent } from '../typed-event';\n\nexport function setA11yAttributes(element: HTMLElement, config: ModalConfig) {\n const ariaDescribedby = config.ariaDescribedby;\n const ariaLabelledby = config.ariaLabelledby;\n\n delete config['ariaDescribedby'];\n delete config['ariaLabelledby'];\n\n if (ariaDescribedby) {\n element.setAttribute('aria-describedby', ariaDescribedby);\n }\n\n if (ariaLabelledby) {\n element.setAttribute('aria-labelledby', ariaLabelledby);\n }\n}\n\nexport interface ModalConfig<TReason = any, CONTENT = any> {\n animation?: boolean;\n ariaDescribedby?: string;\n ariaLabelledby?: string;\n backdrop?: boolean;\n closeOnBackdropClick?: boolean;\n beforeDismiss?: (reason?: TReason) => boolean | Promise<boolean>;\n centered?: boolean;\n container?: string | HTMLElement;\n content: CONTENT | string;\n keyboard?: boolean;\n size?: IxModalSize;\n title?: string;\n}\n\nexport interface ModalInstance<TReason = any> {\n htmlElement: HTMLIxModalElement;\n onClose: TypedEvent<TReason>;\n onDismiss: TypedEvent<TReason>;\n}\n\nfunction getIxModal(element: Element) {\n return element.closest('ix-modal');\n}\n\nexport function closeModal<TClose = any>(\n element: Element,\n closeResult: TClose\n) {\n const dialog = getIxModal(element);\n if (dialog) {\n dialog.closeModal(closeResult);\n return;\n }\n}\n\nexport function dismissModal(element: Element, dismissResult?: any) {\n const dialog = getIxModal(element);\n if (dialog) {\n dialog.dismissModal(dismissResult);\n return;\n }\n}\n\nexport async function showModal<T>(\n config: ModalConfig<T>\n): Promise<ModalInstance<T>> {\n const delegate = resolveDelegate();\n let dialogRef: HTMLIxModalElement | undefined;\n const onClose = new TypedEvent<T>();\n const onDismiss = new TypedEvent<T>();\n\n if (typeof config.content === 'string') {\n const dialog = document.createElement('ix-modal');\n dialog.innerText = config.content;\n dialogRef = await getCoreDelegate().attachView(dialog);\n }\n\n if (\n config.content instanceof HTMLElement &&\n config.content.tagName !== 'IX-MODAL'\n ) {\n const dialog = document.createElement('ix-modal');\n dialog.appendChild(config.content);\n dialogRef = await getCoreDelegate().attachView(dialog);\n }\n if (!dialogRef) {\n dialogRef = await delegate.attachView<HTMLIxModalElement>(config.content);\n }\n\n setA11yAttributes(dialogRef, config);\n Object.assign(dialogRef, config);\n\n await dialogRef.showModal();\n dialogRef.addEventListener('dialogClose', async ({ detail }: CustomEvent) => {\n onClose.emit(detail);\n await delegate.removeView(dialogRef);\n });\n\n dialogRef.addEventListener(\n 'dialogDismiss',\n async ({ detail }: CustomEvent) => {\n onDismiss.emit(detail);\n await delegate.removeView(dialogRef);\n }\n );\n\n requestAnimationFrame(() => {\n const autofocusElement = dialogRef.querySelector(\n '[autofocus],[auto-focus]'\n );\n\n if (autofocusElement) {\n (autofocusElement as HTMLIxButtonElement).focus();\n }\n });\n\n return {\n htmlElement: dialogRef,\n onClose,\n onDismiss,\n };\n}\n"],"names":["setA11yAttributes"],"mappings":";;;AAAA;;;;;;;AAOG;AAWH,MAAM,wBAAwB,CAAA;AAC5B,IAAA,MAAM,UAAU,CACd,IAAS,EACT,MAAuB,EAAA;;AAEvB,QAAA,MAAM,eAAe,GAAG,CAAA,EAAA,GAAA,MAAM,aAAN,MAAM,KAAA,MAAA,GAAA,MAAA,GAAN,MAAM,CAAE,aAAa,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,QAAQ,CAAC,IAAI;AAC9D,QAAA,eAAe,CAAC,WAAW,CAAC,IAAI,CAAC;AACjC,QAAA,OAAO,IAAI;;IAGb,MAAM,UAAU,CAAC,IAAS,EAAA;QACxB,IAAI,CAAC,MAAM,EAAE;;AAEhB;AAED,MAAM,YAAY,GAAG,IAAI,wBAAwB,EAAE;AACnD,IAAI,eAAe,GAAsB,YAAY;AAE/C,SAAU,yBAAyB,CAAC,QAA2B,EAAA;IACnE,eAAe,GAAG,QAAQ;AAC5B;AAEO,MAAM,eAAe,GAAG,MAAK;AAClC,IAAA,OAAO,eAAe;AACxB;MAEa,eAAe,GAAG,MAAM;;AC5CrC;;;;;;;AAOG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SAAS;QACtB,OAAO;QACP,SAAS;KACV;AACH;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as o,H as r}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as o,H as r}from"./p-DUcGWByh.js";import{T as s}from"./p-BdCnOrqW.js";const e=":host{}: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}#toast-container>:not(:last-child){margin-block-end:1rem}.toast-container{display:block;position:fixed}.toast-container--top-right{right:1rem;top:2rem}.toast-container--bottom-right{right:1rem;bottom:2rem}";const a=class{constructor(o){t(this,o);this.containerId="toast-container";this.containerClass="toast-container";this.position="bottom-right";this.PREFIX_POSITION_CLASS="toast-container--"}get hostContainer(){return new Promise((t=>{const o=setInterval((()=>{const r=document.getElementById(this.containerId);if(r){clearInterval(o);t(r)}}))}))}componentDidLoad(){if(!document.getElementById(this.containerId)){const t=document.createElement("div");t.id=this.containerId;t.classList.add(this.containerClass);t.classList.add(`${this.PREFIX_POSITION_CLASS}${this.position}`);document.body.appendChild(t)}}onPositionChange(t,o){const r=document.getElementById(this.containerId);if(!r){console.warn("No toast container found, cannot configure toast position");return}r.classList.remove(`${this.PREFIX_POSITION_CLASS}${o}`);r.classList.add(`${this.PREFIX_POSITION_CLASS}${t}`)}async showToast(t){var o,r,e;const a=document.createElement("ix-toast");const n=new s;function i(t){a.remove();n.emit(t)}a.toastTitle=t.title;a.type=(o=t.type)!==null&&o!==void 0?o:"info";a.autoClose=(r=t.autoClose)!==null&&r!==void 0?r:true;a.autoCloseDelay=(e=t.autoCloseDelay)!==null&&e!==void 0?e:5e3;a.icon=t.icon;a.iconColor=t.iconColor;a.addEventListener("closeToast",(t=>{const{detail:o}=t;i(o)}));if(t.message){if(typeof t.message==="string"){a.innerText=t.message}else{a.appendChild(t.message)}}if(t.action&&t.action instanceof HTMLElement){t.action.slot="action";a.appendChild(t.action)}(await this.hostContainer).appendChild(a);return{onClose:n,close:t=>{i(t)}}}render(){return o(r,{key:"756d59c7192a6abdfd8e15b10763b28a55a676c1",class:{"toast-container--bottom-right":this.position==="bottom-right","toast-container--top-right":this.position==="top-right"}},o("slot",{key:"147f6eaac0d26f9ea3e31cc2214da04da039b2fd"}))}static get watchers(){return{position:["onPositionChange"]}}};a.style=e;export{a as ix_toast_container};
|
|
2
|
+
//# sourceMappingURL=p-a47b3767.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["toastContainerCss","ToastContainer","constructor","hostRef","this","containerId","containerClass","position","PREFIX_POSITION_CLASS","hostContainer","Promise","resolve","interval","setInterval","containerElement","document","getElementById","clearInterval","componentDidLoad","toastContainer","createElement","id","classList","add","body","appendChild","onPositionChange","newPosition","oldPosition","console","warn","remove","showToast","config","toast","onClose","TypedEvent","removeToast","result","emit","toastTitle","title","type","_a","autoClose","_b","autoCloseDelay","_c","icon","iconColor","addEventListener","event","detail","message","innerText","action","HTMLElement","slot","close","render","h","Host","key","class"],"sources":["src/components/toast/styles/toast-container.scss?tag=ix-toast-container&encapsulation=shadow","src/components/toast/toast-container.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n}\n\n#toast-container {\n > :not(:last-child) {\n margin-block-end: $default-space;\n }\n}\n\n.toast-container {\n display: block;\n position: fixed;\n}\n\n.toast-container--top-right {\n right: 1rem;\n top: 2rem;\n}\n\n.toast-container--bottom-right {\n right: 1rem;\n bottom: 2rem;\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 { Component, h, Host, Method, Prop, Watch } from '@stencil/core';\nimport { TypedEvent } from '../utils/typed-event';\nimport { ToastConfig } from './toast-utils';\nimport type { ShowToastResult } from './toast-container.types';\n\n@Component({\n tag: 'ix-toast-container',\n styleUrl: './styles/toast-container.scss',\n shadow: true,\n})\nexport class ToastContainer {\n /**\n */\n @Prop() containerId = 'toast-container';\n\n /**\n */\n @Prop() containerClass = 'toast-container';\n\n /**\n */\n @Prop() position: 'bottom-right' | 'top-right' = 'bottom-right';\n\n private readonly PREFIX_POSITION_CLASS = 'toast-container--';\n\n get hostContainer() {\n return new Promise<HTMLElement>((resolve) => {\n const interval = setInterval(() => {\n const containerElement = document.getElementById(this.containerId);\n if (containerElement) {\n clearInterval(interval);\n resolve(containerElement);\n }\n });\n });\n }\n\n componentDidLoad() {\n if (!document.getElementById(this.containerId)) {\n const toastContainer = document.createElement('div');\n toastContainer.id = this.containerId;\n toastContainer.classList.add(this.containerClass);\n toastContainer.classList.add(\n `${this.PREFIX_POSITION_CLASS}${this.position}`\n );\n document.body.appendChild(toastContainer);\n }\n }\n\n @Watch('position')\n onPositionChange(newPosition: string, oldPosition: string) {\n const toastContainer = document.getElementById(this.containerId);\n if (!toastContainer) {\n console.warn('No toast container found, cannot configure toast position');\n return;\n }\n toastContainer.classList.remove(\n `${this.PREFIX_POSITION_CLASS}${oldPosition}`\n );\n toastContainer.classList.add(`${this.PREFIX_POSITION_CLASS}${newPosition}`);\n }\n\n /**\n * Display a toast message\n * @param config\n */\n @Method()\n async showToast(config: ToastConfig): Promise<ShowToastResult> {\n const toast = document.createElement('ix-toast');\n const onClose = new TypedEvent<any | undefined>();\n\n function removeToast(result?: any) {\n toast.remove();\n onClose.emit(result);\n }\n\n toast.toastTitle = config.title;\n toast.type = config.type ?? 'info';\n toast.autoClose = config.autoClose ?? true;\n toast.autoCloseDelay = config.autoCloseDelay ?? 5000;\n toast.icon = config.icon;\n toast.iconColor = config.iconColor;\n toast.addEventListener(\n 'closeToast',\n (event: CustomEvent<any | undefined>) => {\n const { detail } = event;\n removeToast(detail);\n }\n );\n\n if (config.message) {\n if (typeof config.message === 'string') {\n toast.innerText = config.message;\n } else {\n toast.appendChild(config.message);\n }\n }\n\n if (config.action && config.action instanceof HTMLElement) {\n config.action.slot = 'action';\n toast.appendChild(config.action);\n }\n\n (await this.hostContainer).appendChild(toast);\n\n return {\n onClose,\n close: (result?: any) => {\n removeToast(result);\n },\n };\n }\n\n render() {\n return (\n <Host\n class={{\n 'toast-container--bottom-right': this.position === 'bottom-right',\n 'toast-container--top-right': this.position === 'top-right',\n }}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"],"mappings":"sFAAA,MAAMA,EAAoB,+8B,MCmBbC,EAAc,MAL3B,WAAAC,CAAAC,G,UAQUC,KAAWC,YAAG,kBAIdD,KAAcE,eAAG,kBAIjBF,KAAQG,SAAiC,eAEhCH,KAAqBI,sBAAG,mBAsG1C,CApGC,iBAAIC,GACF,OAAO,IAAIC,SAAsBC,IAC/B,MAAMC,EAAWC,aAAY,KAC3B,MAAMC,EAAmBC,SAASC,eAAeZ,KAAKC,aACtD,GAAIS,EAAkB,CACpBG,cAAcL,GACdD,EAAQG,E,IAEV,G,CAIN,gBAAAI,GACE,IAAKH,SAASC,eAAeZ,KAAKC,aAAc,CAC9C,MAAMc,EAAiBJ,SAASK,cAAc,OAC9CD,EAAeE,GAAKjB,KAAKC,YACzBc,EAAeG,UAAUC,IAAInB,KAAKE,gBAClCa,E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AAI,CAAAC,IAAA,2CACHC,MAAO,CACL,gCAAiC3D,KAAKG,WAAa,eACnD,6BAA8BH,KAAKG,WAAa,cAGlDqD,EAAa,QAAAE,IAAA,6C","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as r,h as o,H as i,
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as r,h as o,H as i,g as e}from"./p-DUcGWByh.js";import{v as s}from"./p-BSqRUSbt.js";const b=".btn-group ix-button:first-child .btn{border-top-right-radius:0px;border-bottom-right-radius:0px;border-right:0px}.btn-group ix-button:last-child .btn{border-top-left-radius:0px;border-bottom-left-radius:0px}.btn-group ix-button:not(:first-child):not(:last-child) .btn{border-radius:0px;border-right:0px}:host{display:inline-block}: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 .btn-group{position:relative;display:inline-flex;vertical-align:middle;width:100%}:host .btn-group>ix-button:nth-child(1){width:calc(100% - 2rem)}:host .btn-group>ix-button:nth-child(2){width:2rem}:host .middle-gap{gap:0.125rem}:host .left-button-border{border-top-width:0.125rem;border-right-width:0;border-left-width:0.125rem;border-bottom-width:0.125rem}";const a=class{constructor(o){t(this,o);this.buttonClick=r(this,"buttonClick",7);this.variant="primary";this.closeBehavior="both";this.outline=false;this.ghost=false;this.disabled=false;this.placement="bottom-start";this.toggle=false}linkTriggerRef(){if(this.triggerElement&&this.dropdownElement){this.dropdownElement.trigger=this.triggerElement}}componentDidLoad(){this.linkTriggerRef()}render(){var t;const r={variant:this.variant,outline:this.outline,ghost:this.ghost,disabled:this.disabled,class:{"left-button-border":!this.outline}};return o(i,{key:"fffcc88cca8fd26ab512c1aa379f63ada6a7154c"},o("div",{key:"725d5b7ec3e33f8bf6a1622e002fa315d07c3b55",class:{"btn-group":true,"middle-gap":!this.outline}},this.label?o("ix-button",Object.assign({},r,{icon:this.icon,onClick:t=>this.buttonClick.emit(t)}),this.label):o("ix-icon-button",Object.assign({},r,{icon:this.icon,onClick:t=>this.buttonClick.emit(t)})),o("ix-icon-button",Object.assign({key:"813952b6e5cffac369cee88e83bc25df35031603"},r,{ref:t=>this.triggerElement=t,class:"anchor",icon:(t=this.splitIcon)!==null&&t!==void 0?t:s}))),o("ix-dropdown",{key:"3af7c05ffa4aefad5746b591c30e11f9cceb9618",ref:t=>this.dropdownElement=t,closeBehavior:this.closeBehavior},o("slot",{key:"e6a334d684fef0f70011794a0be1ea1983bf5c5e"})))}get hostElement(){return e(this)}};a.style=b;export{a as ix_split_button};
|
|
2
|
+
//# sourceMappingURL=p-a54ee67e.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as r,
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as e,h as i,H as r,g as s}from"./p-DUcGWByh.js";import{c as o}from"./p-CX81WQtk.js";import{g as l,h as a}from"./p-BSqRUSbt.js";const n=":host{display:flex;position:relative;flex-direction:column;align-items:flex-start;margin:0.5rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-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 .CardList_Title{display:flex;position:relative;height:1.5rem;align-items:center;width:100%;margin-bottom:1rem}:host .CardList_Title__Label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .CardList__Title__Button{margin-right:1rem;transition:var(--theme-default-time) transform ease-in-out}:host .CardList__Title__Button__Collapsed{transform:rotate(-90deg)}:host .CardList__Title__Show__All{align-self:center;margin-left:auto;margin-right:0px;flex-shrink:0}:host .CardList__Content{display:flex;position:relative;height:calc(100% - 1.5rem);width:100%;gap:1.5rem;transition:var(--theme-default-time) ease-in-out;overflow:auto}:host .CardList__Content__Collapsed{min-height:0px;max-height:0px;overflow:hidden;opacity:0}:host .CardList__Style__Flexbox__Scroll{flex-wrap:wrap}:host .CardList__Style__Infinite__Scroll{flex-wrap:nowrap;-ms-overflow-style:none;scrollbar-width:none}:host .CardList__Style__Infinite__Scroll::-webkit-scrollbar{display:none}:host .CardList__Overflow{display:block;position:relative;height:100%;width:100%;pointer-events:all;-webkit-mask-image:var(--ix-card-list-overflow, none);mask-image:var(--ix-card-list-overflow, none)}:host .Show__All__Card{display:flex;position:relative;align-self:flex-start;justify-self:center;max-width:11.25rem;min-width:11.25rem;width:11.25rem;min-height:11.25rem;max-height:11.25rem;height:11.25rem;--ix-card-border-color:var(--theme-color-primary);color:var(--theme-color-primary)}:host .CardList__Style__Infinite__Scroll .Show__All__Card{margin-top:2.375rem}:host .CardList__Style__Flexbox__Scroll .Show__All__Card{margin-bottom:2.375rem}:host .Show__All__Card:hover{background-color:var(--theme-color-ghost--hover)}:host .Show__All__Card:active{background-color:var(--theme-color-ghost--active)}:host .Show__All__Card__Content{display:flex;justify-content:center;align-items:center;height:100%}:host .Show__All__Card__Icon{display:flex;position:absolute;height:4rem;width:4rem;justify-content:center;align-items:center}:host .Show__All__Card__Text{margin-bottom:0px;margin-top:auto}::slotted(.display-none){display:none !important}";function h(t){if(!t.label){return null}return i("div",{class:"CardList_Title"},i("ix-icon-button",{ghost:true,icon:a,onClick:t.onClick,iconColor:"color-primary",class:{CardList__Title__Button:true,CardList__Title__Button__Collapsed:t.isCollapsed}}),i("ix-typography",{class:"CardList_Title__Label",format:"body-lg"},t.label),!t.hideShowAll&&i("ix-button",{class:"CardList__Title__Show__All",ghost:true,onClick:t.onShowAllClick},i("span",null,t.showAllLabel),i("span",null,!isNaN(t.showAllCounter)?` (${t.showAllCounter})`:null)))}const _=class{constructor(i){t(this,i);this.collapseChanged=e(this,"collapseChanged",7);this.showAllClick=e(this,"showAllClick",7);this.showMoreCardClick=e(this,"showMoreCardClick",7);this.collapse=false;this.listStyle="stack";this.maxVisibleCards=12;this.suppressOverflowHandling=false;this.hideShowAll=false;this.i18nShowAll="Show all";this.i18nMoreCards="There are more cards available";this.hasOverflowingElements=false;this.numberOfOverflowingElements=0;this.numberOfAllChildElements=0;this.leftScrollDistance=0;this.rightScrollDistance=0}onCardListVisibilityToggle(){this.collapse=!this.collapse;this.collapseChanged.emit(this.collapse)}onShowAllClick(t){this.showAllClick.emit({nativeEvent:t})}getListChildren(){const t=this.hostElement.shadowRoot.querySelector(".CardList__Content > slot");return t.assignedElements({flatten:true})}changeVisibilityOfSlotChildren(){const t=this.getListChildren();t.forEach(((t,e)=>{if(t instanceof HTMLElement){if(e>this.maxVisibleCards-1){t.classList.add("display-none");return}t.classList.remove("display-none")}}));this.hasOverflowingElements=t.length>this.maxVisibleCards;this.numberOfOverflowingElements=t.length-this.maxVisibleCards;this.numberOfAllChildElements=t.length;this.detectOverflow()}registerOverflowHandler(){this.observer=o((()=>{this.changeVisibilityOfSlotChildren()}));this.observer.observe(this.hostElement.shadowRoot.querySelector(".CardList__Content"),{childList:true,subtree:true});requestAnimationFrame((()=>{this.changeVisibilityOfSlotChildren()}))}shouldHandleOverflow(){if(this.suppressOverflowHandling){return false}if(this.listStyle==="stack"||this.listStyle==="scroll"){return true}}get listElement(){return this.hostElement.shadowRoot.querySelector(".CardList__Content")}onCardListScroll(){this.detectOverflow()}isShowMoreCardVisible(){return this.suppressOverflowHandling===false&&this.hasOverflowingElements}getOpacityFromScrollDistance(t){if(!this.listElement){return 0}if(t===0){return 0}if(t>100){return 1}return t/100}computeMaskLayer(){const t=80;const e=`linear-gradient(\n 90deg,\n transparent 0px,\n black ${t*(this.getOpacityFromScrollDistance(this.leftScrollDistance)>0?1:0)}px,\n black calc(100% - ${t*(this.getOpacityFromScrollDistance(this.rightScrollDistance)>0?1:0)}px),\n transparent 100%\n )`;return{"--ix-card-list-overflow":e}}detectOverflow(){if(!this.listElement){return}const{clientWidth:t,scrollWidth:e,scrollLeft:i}=this.listElement;this.leftScrollDistance=i;this.rightScrollDistance=e-i-t}componentDidLoad(){if(this.shouldHandleOverflow()){this.registerOverflowHandler()}}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){return i(r,{key:"d7259ff82ceca3598f38522414b6e73b15686b48"},i(h,{key:"2de645a7bf9859e64ebefc8d9a42580d19adf898",isCollapsed:this.collapse,label:this.label,showAllLabel:this.i18nShowAll,showAllCounter:this.showAllCount===undefined?this.numberOfAllChildElements:this.showAllCount,onClick:()=>this.onCardListVisibilityToggle(),onShowAllClick:t=>this.onShowAllClick(t),hideShowAll:this.hideShowAll}),i("div",{key:"6b7e7893b1a83f167485af9e10a549ecfb7fca10",class:{CardList__Overflow:true},style:this.computeMaskLayer()},i("div",{key:"0627f7fa7cd2a606877995198d8ee8dc74144b87",class:{CardList__Content:true,CardList__Content__Collapsed:this.collapse,CardList__Style__Flexbox__Scroll:this.listStyle==="stack",CardList__Style__Infinite__Scroll:this.listStyle==="scroll"},onScroll:()=>this.onCardListScroll()},i("slot",{key:"7b9ccc49e435e65d2a72076d5843d338d844a742",onSlotchange:()=>this.changeVisibilityOfSlotChildren()}),this.isShowMoreCardVisible()?i("ix-card",{class:{Show__All__Card:true},onClick:t=>this.showMoreCardClick.emit({nativeEvent:t})},i("ix-card-content",null,i("div",{class:"Show__All__Card__Content"},i("ix-icon",{name:l,size:"32",class:"Show__All__Card__Icon"}),i("span",{class:"Show__All__Card__Text"},this.i18nMoreCards," (",this.numberOfOverflowingElements,")")))):null)))}get hostElement(){return s(this)}};_.style=n;export{_ as ix_card_list};
|
|
2
|
+
//# sourceMappingURL=p-a9ee4523.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as e,H as o,
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as e,H as o,g as i}from"./p-DUcGWByh.js";import{c as a}from"./p-CX81WQtk.js";import{m as s}from"./p-bcj7UEIC.js";import{m as r}from"./p-DDHkNPby.js";import{M as h}from"./p-BSqRUSbt.js";import"./p-BdCnOrqW.js";const n=':host{position:relative;display:block;cursor:pointer;height:var(--ix-menu-item-height, 3rem);min-height:var(--ix-menu-item-height, 3rem);max-height:var(--ix-menu-item-height, 3rem)}:host .tab{all:unset;box-sizing:border-box;display:flex;position:relative;align-items:center;height:var(--ix-menu-item-height, 3rem);width:100%;z-index:500;padding-left:0.875rem}:host .tab:not(.disabled):not(:disabled).hover,:host .tab:not(.disabled):not(:disabled):hover{background-color:var(--theme-ghost--background--hover)}:host .tab:not(.disabled):not(:disabled).active,:host .tab:not(.disabled):not(:disabled):active{background-color:var(--theme-ghost--background--active)}:host .tab-icon{color:var(--theme-nav-item-primary-icon--color);position:relative;pointer-events:none}:host .tab:focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:-1px}:host .notification{display:inline-flex;position:absolute;top:0.25rem;left:1.5rem}:host .notification .pill{display:inline-flex;justify-content:center;align-items:center;height:0.5rem;min-width:1rem;position:relative;border-radius:6.25rem;background-color:var(--theme-color-primary);font-size:0.75rem;font-weight:bold;line-height:1;font-family:Siemens Sans, Arial, sans-serif;color:var(--theme-color-primary--contrast);padding:0.25rem}:host .tab-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--theme-nav-item-primary--color);margin:0 1rem 0 1.25rem;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}:host(.active) .tab,:host(.selected) .tab{background-color:var(--theme-nav-item-primary--background--selected)}:host(.active) .tab::before,:host(.selected) .tab::before{content:"";background-color:var(--theme-nav-item-primary--border-color--selected);height:var(--ix-menu-item-height, 3rem);width:0.25rem;left:0;position:absolute}:host(.active) .tab>.glyph,:host(.selected) .tab>.glyph{color:var(--theme-nav-item-primary-icon--color--selected)}:host(.disabled){color:var(--theme-color-weak-text);pointer-events:none;cursor:default}:host(.disabled) .tab>.tab-icon{color:var(--theme-color-weak-text)}:host(.disabled) .tab-text{color:var(--theme-color-weak-text)}:host(.bottom-tab),:host([slot=bottom]){min-height:2.25rem;height:2.25rem;max-height:2.25rem}:host(.bottom-tab) .tab,:host([slot=bottom]) .tab{height:2.25rem}:host(.bottom-tab) .tab::before,:host([slot=bottom]) .tab::before{height:2.25rem;background-color:transparent}:host(.bottom-tab).active:hover,:host(.bottom-tab).selected:hover,:host([slot=bottom]).active:hover,:host([slot=bottom]).selected:hover{background-color:var(--theme-nav-item-secondary--background--selected)}:host(.bottom-tab).active:active,:host(.bottom-tab).selected:active,:host([slot=bottom]).active:active,:host([slot=bottom]).selected:active{background-color:var(--theme-nav-item-secondary--background--selected)}:host(.bottom-tab.active) .tab,:host(.bottom-tab.selected) .tab,:host(.active[slot=bottom]) .tab,:host(.selected[slot=bottom]) .tab{background-color:var(--theme-nav-item-secondary--background--selected)}:host(.tab-nested) .tab{flex-direction:row;padding-left:1.375rem}:host(.tab-nested) .tab .notification{position:relative;top:0;left:0;padding-left:0.5rem}:host(.tab-nested) .tab .tab-icon{padding-left:0.5rem;padding-right:0.5rem}:host(.tab-nested) .tab .tab-text{margin-left:0.5rem}:host(.tab-nested) .tab::before{display:none}';const l=class{constructor(e){t(this,e);this.home=false;this.bottom=false;this.active=false;this.disabled=false;this.isCategory=false;this.menuExpanded=false;this.buttonRef=s();this.isHostedInsideCategory=false;this.observer=a((()=>{this.setTooltip()}))}componentWillLoad(){var t;this.isHostedInsideCategory=!!this.hostElement.closest("ix-menu-category");this.onIconChange();this.menuExpanded=((t=r.nativeElement)===null||t===void 0?void 0:t.expand)||false;this.menuExpandedDisposer=r.expandChange.on((t=>this.menuExpanded=t))}componentWillRender(){this.setTooltip()}setTooltip(){var t,e;this.tooltip=(e=(t=this.label)!==null&&t!==void 0?t:this.hostElement.textContent)!==null&&e!==void 0?e:undefined}connectedCallback(){this.observer.observe(this.hostElement,{subtree:true,childList:true,characterData:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}if(this.menuExpandedDisposer){this.menuExpandedDisposer.dispose()}}onIconChange(){if(!this.isHostedInsideCategory&&!this.hostElement.icon){this.icon=h}}render(){let t={};if(this.home){t={slot:"home"}}if(this.bottom){t={slot:"bottom"}}return e(o,Object.assign({key:"3c97be99972609f07b9ebd733c84237e90a2061e",class:{disabled:this.disabled,"home-tab":this.home,"bottom-tab":this.bottom,active:this.active,"tab-nested":this.isHostedInsideCategory}},t),e("button",{key:"0a8a4ded3ca8f4fdfd8a875a62d2437d30098057",class:"tab",tabIndex:this.disabled?-1:0,ref:this.buttonRef},this.icon&&e("ix-icon",{key:"61ffdd54c8123942e05eea275a40e6dc099a0bba",class:"tab-icon",name:this.icon}),this.notifications?e("div",{class:"notification"},e("div",{class:"pill"},this.notifications)):null,e("span",{key:"54a456cb810b2c8c393b5b81ebee9334c58ce1db",class:"tab-text text-default"},this.label,e("slot",{key:"a4c0d80d3778add2f069dbc0c0597b257b468ec8"}))),!this.isCategory&&!this.isHostedInsideCategory&&!this.menuExpanded&&e("ix-tooltip",{key:"e9e5e232cb0e49f1e1e752a8a2baae31179cc86c",for:this.buttonRef.waitForCurrent(),placement:"right",showDelay:1e3},this.tooltip))}get hostElement(){return i(this)}static get watchers(){return{icon:["onIconChange"]}}};l.style=n;export{l as ix_menu_item};
|
|
2
|
+
//# sourceMappingURL=p-aa68cca6.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,c as t,h as i,H as r}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,c as t,h as i,H as r}from"./p-DUcGWByh.js";import{r as o}from"./p-BSqRUSbt.js";import{a as s}from"./p-Bb7pDeaQ.js";const n=":host{}: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 .event-list-item{display:flex;align-items:center;position:relative;height:var(--event-list-item-height, 2.5rem);max-height:var(--event-list-item-height, 2.5rem);border-radius:var(--event-list-item-border-radius, 0.25rem);background-color:var(--theme-event-item--background);overflow:hidden;transition:var(--theme-default-time);cursor:pointer;margin-bottom:var(--event-list-item-margin-bottom, 0.5rem)}:host .event-list-item .indicator{height:100%;width:0.5rem;max-width:0.5rem;min-width:0.5rem;border-top-left-radius:var(--event-list-item-border-radius, 0.25rem);border-bottom-left-radius:var(--event-list-item-border-radius, 0.25rem)}:host .event-list-item .indicator-empty{border:var(--theme-weak-bdr-1);border-right:none}:host .event-list-item .event-list-item-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-grow:1;width:calc(100% - (1rem + 0.5rem));height:100%;border:0.062rem solid;border-color:var(--theme-event-item--border);border-top-left-radius:0;border-top-right-radius:var(--event-list-item-border-radius, 0.25rem);border-bottom-left-radius:0;border-bottom-right-radius:var(--event-list-item-border-radius, 0.25rem);border-left:none;padding-left:1rem}:host .event-list-item .event-content{display:flex;align-items:center;width:100%;height:var(--event-list-item-height, 100%);max-height:var(--event-list-item-height, 100%);white-space:var(--event-list-item-content-white-space, inherit);overflow:hidden;padding-inline-end:0.5rem}:host .event-list-item .chevron-icon{margin-left:auto;margin-right:0.5rem;opacity:0.6;align-self:center}:host .event-list-item:not(.selected):not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected):not(.disabled):not(:disabled):hover,:host .event-list-item:not(.selected):not(.disabled):not(:disabled).hover{background-color:var(--theme-event-item--background--hover)}:host .event-list-item:not(.selected):not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected):not(.disabled):not(:disabled):active,:host .event-list-item:not(.selected):not(.disabled):not(:disabled).active{background-color:var(--theme-event-item--background--active)}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled):hover,:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled).hover{border-color:var(--theme-event-item--border--hover)}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled):active,:host .event-list-item:not(.selected) .event-list-item-container:not(.disabled):not(:disabled).active{border-color:var(--theme-event-item--border--active)}:host .event-list-item.selected .event-list-item-container{background-color:var(--theme-event-item--background--selected);border-color:var(--theme-event-item--border--selected)}:host .event-list-item[disabled],:host .event-list-item.disabled{pointer-events:none}:host .event-list-item[disabled] .event-list-item-container,:host .event-list-item.disabled .event-list-item-container{background-color:var(--theme-event-item--background--disabled);border-color:var(--theme-event-item--border--disabled)}:host(.disabled){pointer-events:none}";const a=class{constructor(i){e(this,i);this.itemClick=t(this,"itemClick",7);this.selected=false;this.disabled=false;this.chevron=false}handleItemClick(){this.itemClick.emit()}render(){var e;let t=((e=this.itemColor)===null||e===void 0?void 0:e.startsWith("--theme"))?`var(${this.itemColor})`:`var(--theme-${this.itemColor})`;return i(r,{key:"45315c323b72663ab459c1ac82be84a289719b6d",class:{disabled:this.disabled}},i("div",{key:"5d380bf2e02591a9be10a4e2b8b3585c83d035b5",role:"listitem","aria-disabled":s(this.disabled),class:{"event-list-item":true,selected:this.selected,disabled:this.disabled}},i("div",{key:"802085e76fa0a9c9d486f6f5777058da1d7ba9fd",class:`indicator ${!this.itemColor?"indicator-empty":""}`,style:{"background-color":this.itemColor?t:"inherit",opacity:`${this.disabled?.4:1}`}}),i("div",{key:"e90e4d2f639ec22b161e2c57d361f959e20f60a9",class:"event-list-item-container"},i("div",{key:"34a3a544f2f05078b9a75fbe80d1165a4bd10bde",class:"event-content"},i("slot",{key:"4ef3f92e68fa17c1369ccdd6b60d27cdafd84596"})),this.chevron&&i("ix-icon",{key:"8663521673022b881b4818367a0c97c3d5260e19",name:o,size:"16",class:"chevron-icon"}))))}};a.style=n;export{a as ix_event_list_item};
|
|
2
|
+
//# sourceMappingURL=p-ac0332ab.entry.js.map
|