@siemens/ix 0.0.0-pr-2166-20251001134702 → 0.0.0-pr-2212-20251017115125
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/READMEOSS.html +20 -20
- package/components/index.js +4 -4
- package/components/index.js.map +1 -1
- package/components/ix-action-card.js +3 -3
- package/components/ix-action-card.js.map +1 -1
- package/components/ix-application-header.js +1 -1
- package/components/ix-application-switch-modal.js +6 -6
- package/components/ix-application.js +2 -2
- package/components/ix-avatar.js +1 -1
- package/components/ix-basic-navigation.js +7 -7
- package/components/ix-blind.js +1 -1
- package/components/ix-breadcrumb-item.js +1 -1
- package/components/ix-breadcrumb.js +10 -10
- package/components/ix-breadcrumb.js.map +1 -1
- package/components/ix-button.js +1 -1
- package/components/ix-card-list.js +4 -4
- package/components/ix-category-filter.js +22 -13
- package/components/ix-category-filter.js.map +1 -1
- package/components/ix-checkbox-group.js +4 -4
- package/components/ix-checkbox.js +1 -1
- package/components/ix-chip.js +15 -14
- package/components/ix-chip.js.map +1 -1
- package/components/ix-content-header.js +3 -3
- package/components/ix-custom-field.js +4 -4
- package/components/ix-date-dropdown.js +20 -20
- package/components/ix-date-dropdown.js.map +1 -1
- package/components/ix-date-input.js +14 -14
- package/components/ix-date-input.js.map +1 -1
- package/components/ix-date-picker.js +1 -1
- package/components/ix-date-time-card.js +1 -1
- package/components/ix-datetime-picker.js +34 -13
- package/components/ix-datetime-picker.js.map +1 -1
- package/components/ix-drawer.js +7 -8
- package/components/ix-drawer.js.map +1 -1
- package/components/ix-dropdown-button.js +4 -4
- package/components/ix-dropdown-header.js +1 -1
- package/components/ix-dropdown.js +1 -1
- package/components/ix-empty-state.js +3 -3
- package/components/ix-event-list.js +4 -4
- package/components/ix-event-list.js.map +1 -1
- package/components/ix-expanding-search.js +2 -2
- 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.js +2 -2
- package/components/ix-group-context-menu.js +1 -1
- package/components/ix-group-item.js +1 -1
- package/components/ix-group.js +24 -24
- package/components/ix-group.js.map +1 -1
- package/components/ix-helper-text.js +2 -2
- package/components/ix-icon-button.js +1 -1
- package/components/ix-icon-toggle-button.js +2 -2
- package/components/ix-input-group.d.ts +11 -0
- package/components/ix-input-group.js +154 -0
- package/components/ix-input-group.js.map +1 -0
- package/components/ix-input.js +11 -11
- 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 +3 -3
- package/components/ix-layout-auto.js +1 -1
- package/components/ix-layout-grid.js +1 -1
- package/components/ix-link-button.js +3 -3
- package/components/ix-map-navigation-overlay.js +1 -1
- package/components/ix-map-navigation.js +9 -10
- package/components/ix-map-navigation.js.map +1 -1
- package/components/ix-menu-about-item.js +1 -1
- package/components/ix-menu-about-news.js +8 -8
- package/components/ix-menu-about.js +3 -3
- package/components/ix-menu-avatar-item.js +1 -1
- package/components/ix-menu-avatar.js +11 -11
- package/components/ix-menu-avatar.js.map +1 -1
- package/components/ix-menu-category.js +9 -9
- 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 +26 -21
- package/components/ix-menu.js.map +1 -1
- package/components/ix-message-bar.js +11 -8
- package/components/ix-message-bar.js.map +1 -1
- package/components/ix-modal-content.js +1 -1
- package/components/ix-modal-footer.js +1 -1
- package/components/ix-modal-header.js +1 -1
- package/components/ix-modal-loading.js +2 -2
- package/components/ix-modal.js +17 -17
- package/components/ix-modal.js.map +1 -1
- package/components/ix-number-input.js +12 -12
- package/components/ix-pagination.js +15 -15
- package/components/ix-pagination.js.map +1 -1
- package/components/ix-pane-layout.js +1 -1
- package/components/ix-pane.js +4 -4
- package/components/ix-pill.js +3 -3
- package/components/ix-pill.js.map +1 -1
- package/components/ix-progress-indicator.js +2 -2
- package/components/ix-push-card.js +5 -5
- package/components/ix-push-card.js.map +1 -1
- package/components/ix-radio-group.js +4 -4
- package/components/ix-radio.js +1 -1
- package/components/ix-select.js +1 -1
- package/components/ix-slider.js +2 -2
- package/components/ix-spinner.js +1 -1
- package/components/ix-split-button.js +4 -4
- package/components/ix-textarea.js +6 -6
- package/components/ix-time-input.js +20 -13
- package/components/ix-time-input.js.map +1 -1
- package/components/ix-time-picker.js +1 -1
- package/components/ix-toast-container.js +9 -9
- package/components/ix-toast-container.js.map +1 -1
- package/components/ix-toast.js +1 -1
- package/components/ix-toggle-button.js +1 -1
- package/components/ix-toggle.js +5 -5
- package/components/ix-toggle.js.map +1 -1
- package/components/ix-tooltip.js +1 -1
- package/components/ix-tree-item.js +1 -1
- package/components/ix-tree.js +2 -2
- package/components/ix-typography.js +1 -1
- package/components/ix-upload.js +5 -5
- package/components/ix-validation-tooltip.d.ts +11 -0
- package/components/ix-validation-tooltip.js +184 -0
- package/components/ix-validation-tooltip.js.map +1 -0
- package/components/ix-workflow-step.js +5 -4
- package/components/ix-workflow-step.js.map +1 -1
- package/components/ix-workflow-steps.js +1 -1
- package/components/{p-DklPCkRW.js → p-8MS-omi7.js} +3 -3
- package/components/{p-DklPCkRW.js.map → p-8MS-omi7.js.map} +1 -1
- package/components/{p-7-Wnr7e5.js → p-BFuOBAQB.js} +12 -6
- package/components/p-BFuOBAQB.js.map +1 -0
- package/components/{p-Baga5bu5.js → p-BSiqAMAr.js} +6 -6
- package/components/{p-Baga5bu5.js.map → p-BSiqAMAr.js.map} +1 -1
- package/components/{p-DE74-VWH.js → p-BYRT3Z1w.js} +12 -11
- package/components/p-BYRT3Z1w.js.map +1 -0
- package/components/{p-ts3VxLYi.js → p-BYvKfy9G.js} +6 -6
- package/components/{p-ts3VxLYi.js.map → p-BYvKfy9G.js.map} +1 -1
- package/components/{p-DOGuJxKg.js → p-BnT1mAuX.js} +6 -6
- package/components/{p-DOGuJxKg.js.map → p-BnT1mAuX.js.map} +1 -1
- package/components/{p-C8wXJCK3.js → p-BrKwrb_Z.js} +4 -4
- package/components/{p-C8wXJCK3.js.map → p-BrKwrb_Z.js.map} +1 -1
- package/components/{p-C4MK63gz.js → p-BrgHqrnH.js} +3 -3
- package/components/{p-C4MK63gz.js.map → p-BrgHqrnH.js.map} +1 -1
- package/components/{p-DaR6pX8w.js → p-C-7UhkWz.js} +8 -8
- package/components/{p-DaR6pX8w.js.map → p-C-7UhkWz.js.map} +1 -1
- package/components/{p-D3ZlTDAF.js → p-C3irznVN.js} +3 -3
- package/components/{p-D3ZlTDAF.js.map → p-C3irznVN.js.map} +1 -1
- package/components/{p-CiSM2A9Q.js → p-CAqtPJ4-.js} +3 -102
- package/components/p-CAqtPJ4-.js.map +1 -0
- package/components/p-CFRrPFxi.js +103 -0
- package/components/p-CFRrPFxi.js.map +1 -0
- package/components/{p-BmLRwuMH.js → p-CGPMGyof.js} +6 -5
- package/components/p-CGPMGyof.js.map +1 -0
- package/components/{p-DlNAQJQO.js → p-CMNpJTDF.js} +3 -3
- package/components/{p-DlNAQJQO.js.map → p-CMNpJTDF.js.map} +1 -1
- package/components/{p-uiKHewyI.js → p-CMk-tLmg.js} +4 -4
- package/components/{p-uiKHewyI.js.map → p-CMk-tLmg.js.map} +1 -1
- package/components/{p-CCyj6Nhd.js → p-CO2zhw6V.js} +3 -3
- package/components/{p-CCyj6Nhd.js.map → p-CO2zhw6V.js.map} +1 -1
- package/components/{p-BruPthTZ.js → p-CbQqqTKK.js} +71 -17
- package/components/p-CbQqqTKK.js.map +1 -0
- package/components/{p-w319yPRv.js → p-Cl420PSP.js} +6 -6
- package/components/{p-w319yPRv.js.map → p-Cl420PSP.js.map} +1 -1
- package/components/{p-C9yPT68I.js → p-CsHYWHE6.js} +25 -37
- package/components/p-CsHYWHE6.js.map +1 -0
- package/components/p-Ctze1Bh6.js +64 -0
- package/components/p-Ctze1Bh6.js.map +1 -0
- package/components/{p-BU9xngEb.js → p-CyJWaxhg.js} +9 -9
- package/components/{p-BU9xngEb.js.map → p-CyJWaxhg.js.map} +1 -1
- package/components/{p-gkooEHol.js → p-CzzcLSmV.js} +4 -4
- package/components/p-CzzcLSmV.js.map +1 -0
- package/components/{p-Cx5H0GeI.js → p-D5QNBS-J.js} +18 -21
- package/components/p-D5QNBS-J.js.map +1 -0
- package/components/{p-bBkFZC8X.js → p-D99ntB9D.js} +4 -4
- package/components/{p-bBkFZC8X.js.map → p-D99ntB9D.js.map} +1 -1
- package/components/{p-BLcKiU45.js → p-DAWZ76L0.js} +4 -4
- package/components/{p-BLcKiU45.js.map → p-DAWZ76L0.js.map} +1 -1
- package/components/{p-Ba6JlSP8.js → p-DRlGkOeX.js} +5 -5
- package/components/{p-Ba6JlSP8.js.map → p-DRlGkOeX.js.map} +1 -1
- package/components/{p-DSF854K6.js → p-DZNnQyWO.js} +4 -3
- package/components/p-DZNnQyWO.js.map +1 -0
- package/components/{p-DLcItN6d.js → p-DmTyQW2E.js} +5 -5
- package/components/p-DmTyQW2E.js.map +1 -0
- package/components/{p-Bc15ecXv.js → p-DyW_A5Tq.js} +13 -13
- package/components/p-DyW_A5Tq.js.map +1 -0
- package/components/{p-4dm0FrTr.js → p-FnN74Elm.js} +4 -3
- package/components/p-FnN74Elm.js.map +1 -0
- package/components/{p-CfOUCcs9.js → p-GkRC08qs.js} +3 -3
- package/components/{p-CfOUCcs9.js.map → p-GkRC08qs.js.map} +1 -1
- package/components/p-fef9-zXA.js +56 -0
- package/components/{p-R9YNQy08.js.map → p-fef9-zXA.js.map} +1 -1
- package/components/{p-BNYHD56q.js → p-j4BMT-Rr.js} +25 -25
- package/components/p-j4BMT-Rr.js.map +1 -0
- package/components/{p-Fbu6eUjk.js → p-s3E9saxz.js} +5 -5
- package/components/{p-Fbu6eUjk.js.map → p-s3E9saxz.js.map} +1 -1
- package/components/p-taILGXkr.js.map +1 -1
- package/dist/cjs/find-element-D7yD1Ukn.js +106 -0
- package/dist/cjs/find-element-D7yD1Ukn.js.map +1 -0
- package/dist/cjs/{find-element-BNZJcvT8.js → floating-ui.dom-CMzYsRR7.js} +2 -103
- package/dist/cjs/floating-ui.dom-CMzYsRR7.js.map +1 -0
- package/dist/cjs/{index-BJkiBUu0.js → index-B7AMgiIZ.js} +3 -3
- package/dist/cjs/{index-BJkiBUu0.js.map → index-B7AMgiIZ.js.map} +1 -1
- package/dist/cjs/index-DuDLgBnw.js +8 -0
- package/dist/cjs/index-Dyz3z1FD.js.map +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-action-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +3 -3
- package/dist/cjs/ix-application-switch-modal.cjs.entry.js +1 -1
- package/dist/cjs/ix-application.cjs.entry.js +2 -2
- package/dist/cjs/ix-avatar.ix-menu-avatar-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-avatar_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +7 -7
- package/dist/cjs/ix-breadcrumb-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +6 -6
- package/dist/cjs/ix-breadcrumb.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-category-filter.cjs.entry.js +16 -8
- package/dist/cjs/ix-category-filter.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-chip.cjs.entry.js +10 -9
- 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 +18 -18
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +11 -11
- package/dist/cjs/ix-date-dropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-input.cjs.entry.js +4 -4
- package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +8 -3
- package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +21 -3
- package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +5 -6
- package/dist/cjs/ix-drawer.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-dropdown.cjs.entry.js +8 -7
- package/dist/cjs/ix-dropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-event-list.cjs.entry.js +4 -4
- package/dist/cjs/ix-event-list.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-filter-chip.ix-select-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-group-context-menu.ix-group-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +5 -18
- package/dist/cjs/ix-group.cjs.entry.js +18 -18
- package/dist/cjs/ix-group.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-helper-text.cjs.entry.js +1 -1
- package/dist/cjs/ix-icon-button.ix-spinner.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +130 -0
- package/dist/cjs/ix-input-group.entry.cjs.js.map +1 -0
- package/dist/cjs/ix-input.cjs.entry.js +5 -5
- package/dist/cjs/ix-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
- package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
- package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
- package/dist/cjs/ix-link-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +2 -2
- package/dist/cjs/ix-map-navigation.cjs.entry.js +2 -3
- package/dist/cjs/ix-map-navigation.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-avatar.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-category.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu.cjs.entry.js +20 -16
- package/dist/cjs/ix-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js +8 -5
- package/dist/cjs/ix-message-bar.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal.cjs.entry.js +14 -14
- package/dist/cjs/ix-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-number-input.cjs.entry.js +6 -6
- package/dist/cjs/ix-pagination.cjs.entry.js +5 -5
- package/dist/cjs/ix-pagination.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
- package/dist/cjs/ix-pane.cjs.entry.js +1 -1
- package/dist/cjs/ix-pill.cjs.entry.js +1 -1
- package/dist/cjs/ix-pill.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +3 -3
- package/dist/cjs/ix-push-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-select.cjs.entry.js +8 -11
- package/dist/cjs/ix-select.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ix-time-input.cjs.entry.js +9 -3
- package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-time-picker.cjs.entry.js +58 -10
- package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast-container.cjs.entry.js +5 -5
- package/dist/cjs/ix-toast-container.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast.cjs.entry.js +6 -5
- package/dist/cjs/ix-toast.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toggle.cjs.entry.js +4 -4
- package/dist/cjs/ix-toggle.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tooltip.cjs.entry.js +10 -9
- package/dist/cjs/ix-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-tree.cjs.entry.js +1 -1
- package/dist/cjs/ix-typography.cjs.entry.js +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +3 -3
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +155 -0
- package/dist/cjs/ix-validation-tooltip.entry.cjs.js.map +1 -0
- package/dist/cjs/ix-workflow-step.cjs.entry.js +5 -4
- package/dist/cjs/ix-workflow-step.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{modal-BdSf3C6f.js → modal-CsEGB0kd.js} +4 -3
- package/dist/cjs/modal-CsEGB0kd.js.map +1 -0
- package/dist/cjs/{service-DuiJmf7R.js → service-FGbUpQQM.js} +4 -4
- package/dist/cjs/service-FGbUpQQM.js.map +1 -0
- package/dist/cjs/siemens-ix.cjs.js +1 -1
- package/dist/cjs/{theme-switcher-Do9dkNUv.js → theme-switcher-76Td30il.js} +25 -37
- package/dist/cjs/theme-switcher-76Td30il.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/action-card/action-card.js +2 -2
- package/dist/collection/components/action-card/action-card.js.map +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/avatar.js.map +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js +9 -9
- package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +16 -16
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
- package/dist/collection/components/category-filter/category-filter.js +43 -12
- package/dist/collection/components/category-filter/category-filter.js.map +1 -1
- package/dist/collection/components/chip/chip.css +1 -1
- package/dist/collection/components/chip/chip.js +13 -12
- package/dist/collection/components/chip/chip.js.map +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.js +19 -19
- package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
- package/dist/collection/components/date-input/date-input.js +5 -5
- package/dist/collection/components/date-input/date-input.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker-component.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.js +31 -26
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-time-card/date-time-card.js +30 -5
- package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.js +94 -7
- package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
- package/dist/collection/components/drawer/drawer.js +5 -6
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/event-list/event-list.js +6 -6
- package/dist/collection/components/event-list/event-list.js.map +1 -1
- package/dist/collection/components/filter-chip/filter-chip.css +1 -0
- package/dist/collection/components/group/group.css +0 -12
- package/dist/collection/components/group/group.js +23 -23
- package/dist/collection/components/group/group.js.map +1 -1
- package/dist/collection/components/group-item/group-item.css +6 -22
- package/dist/collection/components/group-item/group-item.js +8 -44
- package/dist/collection/components/group-item/group-item.js.map +1 -1
- package/dist/collection/components/helper-text/helper-text.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +2 -2
- package/dist/collection/components/icon-button/icon-button.js.map +1 -1
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
- package/dist/collection/components/input/input.js +5 -5
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/number-input.js +6 -6
- package/dist/collection/components/input/textarea.js +2 -2
- package/dist/collection/components/input-group/input-group.css +115 -0
- package/dist/collection/components/input-group/input-group.js +152 -0
- package/dist/collection/components/input-group/input-group.js.map +1 -0
- package/dist/collection/components/key-value/key-value.js +1 -1
- package/dist/collection/components/key-value-list/key-value-list.js +1 -1
- package/dist/collection/components/kpi/kpi.js +3 -3
- package/dist/collection/components/layout-auto/layout-auto.js +1 -1
- package/dist/collection/components/layout-grid/layout-grid.js +2 -2
- package/dist/collection/components/link-button/link-button.js +3 -3
- package/dist/collection/components/map-navigation/map-navigation.js +2 -3
- package/dist/collection/components/map-navigation/map-navigation.js.map +1 -1
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
- package/dist/collection/components/menu/menu-expand-icon.js +1 -1
- package/dist/collection/components/menu/menu.js +36 -12
- package/dist/collection/components/menu/menu.js.map +1 -1
- package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
- package/dist/collection/components/menu-avatar/menu-avatar.js +7 -7
- package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -1
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
- package/dist/collection/components/menu-category/menu-category.js +5 -5
- package/dist/collection/components/menu-item/menu-item.js +4 -4
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
- package/dist/collection/components/message-bar/message-bar.js +18 -12
- package/dist/collection/components/message-bar/message-bar.js.map +1 -1
- package/dist/collection/components/modal/modal.css +1 -1
- package/dist/collection/components/modal/modal.js +29 -29
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/modal-content/modal-content.js +1 -1
- package/dist/collection/components/modal-footer/modal-footer.js +1 -1
- package/dist/collection/components/modal-header/modal-header.js +1 -1
- package/dist/collection/components/modal-loading/modal-loading.js +1 -1
- package/dist/collection/components/pagination/pagination.js +9 -9
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/pill/pill.css +1 -1
- package/dist/collection/components/push-card/push-card.js +7 -7
- package/dist/collection/components/push-card/push-card.js.map +1 -1
- package/dist/collection/components/select/select.js +8 -11
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/spinner/spinner.css +5 -5
- package/dist/collection/components/time-input/time-input.js +32 -3
- package/dist/collection/components/time-input/time-input.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.js +199 -14
- package/dist/collection/components/time-picker/time-picker.js.map +1 -1
- package/dist/collection/components/toast/toast-container.js +5 -5
- package/dist/collection/components/toast/toast-container.js.map +1 -1
- package/dist/collection/components/toast/toast.js +9 -8
- package/dist/collection/components/toast/toast.js.map +1 -1
- package/dist/collection/components/toggle/toggle.css +227 -0
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +4 -4
- package/dist/collection/components/typography/typography.js +1 -1
- package/dist/collection/components/upload/upload.js +3 -3
- package/dist/collection/components/utils/application-layout/service.js +2 -2
- package/dist/collection/components/utils/application-layout/service.js.map +1 -1
- package/dist/collection/components/utils/modal/loading.js +1 -1
- package/dist/collection/components/utils/modal/loading.js.map +1 -1
- package/dist/collection/components/utils/modal/message.js +2 -1
- package/dist/collection/components/utils/modal/message.js.map +1 -1
- package/dist/collection/components/utils/notification-color.js.map +1 -1
- package/dist/collection/components/utils/theme-switcher.js +23 -35
- package/dist/collection/components/utils/theme-switcher.js.map +1 -1
- package/dist/collection/components/validation-tooltip/validation-tooltip.css +225 -0
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +250 -0
- package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -0
- package/dist/collection/components/workflow-step/workflow-step.js +5 -4
- 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/collection/tests/utils/test/page.js +2 -2
- package/dist/collection/tests/utils/test/page.js.map +1 -1
- package/dist/esm/find-element-CFRrPFxi.js +103 -0
- package/dist/esm/find-element-CFRrPFxi.js.map +1 -0
- package/dist/esm/{find-element-CiSM2A9Q.js → floating-ui.dom-CAqtPJ4-.js} +3 -102
- package/dist/esm/floating-ui.dom-CAqtPJ4-.js.map +1 -0
- package/dist/esm/{index-D4tQ_iTq.js → index--ZIr3Aqz.js} +3 -3
- package/dist/esm/{index-D4tQ_iTq.js.map → index--ZIr3Aqz.js.map} +1 -1
- package/dist/esm/index-Cz75KU1f.js.map +1 -1
- package/dist/esm/index-DGODjp4O.js +8 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/ix-action-card.entry.js +2 -2
- package/dist/esm/ix-action-card.entry.js.map +1 -1
- package/dist/esm/ix-application-header.entry.js +3 -3
- package/dist/esm/ix-application-switch-modal.entry.js +1 -1
- package/dist/esm/ix-application.entry.js +2 -2
- package/dist/esm/ix-avatar.ix-menu-avatar-item.entry.js.map +1 -1
- package/dist/esm/ix-avatar_2.entry.js +1 -1
- package/dist/esm/ix-basic-navigation.entry.js +1 -1
- package/dist/esm/ix-breadcrumb-item.entry.js +7 -7
- package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -1
- package/dist/esm/ix-breadcrumb.entry.js +6 -6
- package/dist/esm/ix-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ix-category-filter.entry.js +16 -8
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-chip.entry.js +10 -9
- 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 +18 -18
- package/dist/esm/ix-date-dropdown.entry.js +11 -11
- package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-date-input.entry.js +4 -4
- package/dist/esm/ix-date-input.entry.js.map +1 -1
- package/dist/esm/ix-date-time-card.entry.js +8 -3
- package/dist/esm/ix-date-time-card.entry.js.map +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +21 -3
- package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
- package/dist/esm/ix-drawer.entry.js +5 -6
- package/dist/esm/ix-drawer.entry.js.map +1 -1
- package/dist/esm/ix-dropdown.entry.js +2 -1
- package/dist/esm/ix-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-event-list.entry.js +4 -4
- package/dist/esm/ix-event-list.entry.js.map +1 -1
- package/dist/esm/ix-filter-chip.ix-select-item.entry.js.map +1 -1
- package/dist/esm/ix-filter-chip_2.entry.js +1 -1
- package/dist/esm/ix-group-context-menu.ix-group-item.entry.js.map +1 -1
- package/dist/esm/ix-group-context-menu_2.entry.js +5 -18
- package/dist/esm/ix-group.entry.js +19 -19
- package/dist/esm/ix-group.entry.js.map +1 -1
- package/dist/esm/ix-helper-text.entry.js +1 -1
- package/dist/esm/ix-icon-button.ix-spinner.entry.js.map +1 -1
- package/dist/esm/ix-icon-button_2.entry.js +2 -2
- package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
- package/dist/esm/ix-input-group.entry.js +128 -0
- package/dist/esm/ix-input-group.entry.js.map +1 -0
- package/dist/esm/ix-input.entry.js +5 -5
- 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 +3 -3
- package/dist/esm/ix-layout-auto.entry.js +1 -1
- package/dist/esm/ix-link-button.entry.js +3 -3
- package/dist/esm/ix-map-navigation-overlay.entry.js +2 -2
- package/dist/esm/ix-map-navigation.entry.js +2 -3
- package/dist/esm/ix-map-navigation.entry.js.map +1 -1
- package/dist/esm/ix-menu-about-item.entry.js +1 -1
- package/dist/esm/ix-menu-about-news.entry.js +4 -4
- package/dist/esm/ix-menu-avatar.entry.js +4 -4
- package/dist/esm/ix-menu-avatar.entry.js.map +1 -1
- package/dist/esm/ix-menu-category.entry.js +5 -5
- package/dist/esm/ix-menu-expand-icon.entry.js +1 -1
- package/dist/esm/ix-menu-item.entry.js +4 -4
- package/dist/esm/ix-menu-settings-item.entry.js +1 -1
- package/dist/esm/ix-menu.entry.js +20 -16
- package/dist/esm/ix-menu.entry.js.map +1 -1
- package/dist/esm/ix-message-bar.entry.js +8 -5
- package/dist/esm/ix-message-bar.entry.js.map +1 -1
- package/dist/esm/ix-modal-content_2.entry.js +2 -2
- package/dist/esm/ix-modal-footer.entry.js +1 -1
- package/dist/esm/ix-modal-loading.entry.js +1 -1
- package/dist/esm/ix-modal.entry.js +14 -14
- package/dist/esm/ix-modal.entry.js.map +1 -1
- package/dist/esm/ix-number-input.entry.js +6 -6
- package/dist/esm/ix-pagination.entry.js +5 -5
- package/dist/esm/ix-pagination.entry.js.map +1 -1
- package/dist/esm/ix-pane-layout.entry.js +1 -1
- package/dist/esm/ix-pane.entry.js +1 -1
- package/dist/esm/ix-pill.entry.js +1 -1
- package/dist/esm/ix-pill.entry.js.map +1 -1
- package/dist/esm/ix-push-card.entry.js +3 -3
- package/dist/esm/ix-push-card.entry.js.map +1 -1
- package/dist/esm/ix-select.entry.js +8 -11
- package/dist/esm/ix-select.entry.js.map +1 -1
- package/dist/esm/ix-textarea.entry.js +2 -2
- package/dist/esm/ix-time-input.entry.js +9 -3
- package/dist/esm/ix-time-input.entry.js.map +1 -1
- package/dist/esm/ix-time-picker.entry.js +58 -10
- package/dist/esm/ix-time-picker.entry.js.map +1 -1
- package/dist/esm/ix-toast-container.entry.js +5 -5
- package/dist/esm/ix-toast-container.entry.js.map +1 -1
- package/dist/esm/ix-toast.entry.js +6 -5
- package/dist/esm/ix-toast.entry.js.map +1 -1
- package/dist/esm/ix-toggle.entry.js +4 -4
- package/dist/esm/ix-toggle.entry.js.map +1 -1
- package/dist/esm/ix-tooltip.entry.js +3 -2
- package/dist/esm/ix-tooltip.entry.js.map +1 -1
- package/dist/esm/ix-tree-item.entry.js +4 -4
- package/dist/esm/ix-tree.entry.js +1 -1
- package/dist/esm/ix-typography.entry.js +1 -1
- package/dist/esm/ix-upload.entry.js +3 -3
- package/dist/esm/ix-validation-tooltip.entry.js +153 -0
- package/dist/esm/ix-validation-tooltip.entry.js.map +1 -0
- package/dist/esm/ix-workflow-step.entry.js +5 -4
- package/dist/esm/ix-workflow-step.entry.js.map +1 -1
- package/dist/esm/ix-workflow-steps.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{modal-BQcyFJfE.js → modal-D9BaTrTa.js} +4 -3
- package/dist/esm/modal-D9BaTrTa.js.map +1 -0
- package/dist/esm/{service-Da0kv8hS.js → service-ktcE7NzB.js} +4 -4
- package/dist/esm/service-ktcE7NzB.js.map +1 -0
- package/dist/esm/siemens-ix.js +1 -1
- package/dist/esm/{theme-switcher-Bg6wsOIn.js → theme-switcher-DRqJGlG2.js} +25 -37
- package/dist/esm/theme-switcher-DRqJGlG2.js.map +1 -0
- 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-avatar.ix-menu-avatar-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-breadcrumb-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-breadcrumb.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-category-filter.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-date-dropdown.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-time-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-datetime-picker.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-drawer.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-dropdown.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-event-list.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-filter-chip.ix-select-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-group-context-menu.ix-group-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-group.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-icon-button.ix-spinner.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-input-group.entry.esm.js.map +1 -0
- package/dist/siemens-ix/ix-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-map-navigation.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu-avatar.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-message-bar.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-modal.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pagination.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pill.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-push-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-select.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-time-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-time-picker.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-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.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-tooltip.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-validation-tooltip.entry.esm.js.map +1 -0
- package/dist/siemens-ix/ix-workflow-step.entry.esm.js.map +1 -1
- package/dist/siemens-ix/{p-639d0d7f.entry.js → p-02621eb8.entry.js} +2 -2
- package/dist/siemens-ix/p-02621eb8.entry.js.map +1 -0
- package/dist/siemens-ix/{p-bf2374a0.entry.js → p-0469aec7.entry.js} +2 -2
- package/dist/siemens-ix/{p-800f59a7.entry.js → p-09cce59e.entry.js} +2 -2
- package/dist/siemens-ix/p-09cce59e.entry.js.map +1 -0
- package/dist/siemens-ix/{p-f14790b4.entry.js → p-14fca48a.entry.js} +2 -2
- package/dist/siemens-ix/{p-111687a2.entry.js → p-19c2cb50.entry.js} +2 -2
- package/dist/siemens-ix/{p-111687a2.entry.js.map → p-19c2cb50.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-c31b2027.entry.js → p-1ca58d8b.entry.js} +2 -2
- package/dist/siemens-ix/p-1d0ae43f.entry.js +2 -0
- package/dist/siemens-ix/p-1d0ae43f.entry.js.map +1 -0
- package/dist/siemens-ix/p-1fa5a3e4.entry.js +2 -0
- package/dist/siemens-ix/p-1fa5a3e4.entry.js.map +1 -0
- package/dist/siemens-ix/{p-1ac88556.entry.js → p-223c9d79.entry.js} +2 -2
- package/dist/siemens-ix/{p-1ac88556.entry.js.map → p-223c9d79.entry.js.map} +1 -1
- package/dist/siemens-ix/p-27f1d6c9.entry.js +2 -0
- package/dist/siemens-ix/p-27f1d6c9.entry.js.map +1 -0
- package/dist/siemens-ix/p-2d01c802.entry.js +2 -0
- package/dist/siemens-ix/p-2d01c802.entry.js.map +1 -0
- package/dist/siemens-ix/p-2d3f7bb5.entry.js +2 -0
- package/dist/siemens-ix/p-2d3f7bb5.entry.js.map +1 -0
- package/dist/siemens-ix/p-2d9b7dbd.entry.js +2 -0
- package/dist/siemens-ix/p-2d9b7dbd.entry.js.map +1 -0
- package/dist/siemens-ix/p-30545ef9.entry.js +2 -0
- package/dist/siemens-ix/{p-13fb0104.entry.js → p-3522b3af.entry.js} +2 -2
- package/dist/siemens-ix/{p-13fb0104.entry.js.map → p-3522b3af.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-6645d4ee.entry.js → p-404dffde.entry.js} +2 -2
- package/dist/siemens-ix/{p-3f06687e.entry.js → p-42a70164.entry.js} +2 -2
- package/dist/siemens-ix/p-42a70164.entry.js.map +1 -0
- package/dist/siemens-ix/{p-2041357d.entry.js → p-48b0fef4.entry.js} +2 -2
- package/dist/siemens-ix/{p-ae2e5e0c.entry.js → p-4b88c430.entry.js} +2 -2
- package/dist/siemens-ix/{p-ae2e5e0c.entry.js.map → p-4b88c430.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-91fa3ab0.entry.js → p-5140e6e6.entry.js} +2 -2
- package/dist/siemens-ix/{p-28fe8512.entry.js → p-52dc3ba0.entry.js} +2 -2
- package/dist/siemens-ix/{p-fbd0973d.entry.js → p-53e82da9.entry.js} +2 -2
- package/dist/siemens-ix/p-53e82da9.entry.js.map +1 -0
- package/dist/siemens-ix/p-53e9e280.entry.js +2 -0
- package/dist/siemens-ix/p-53e9e280.entry.js.map +1 -0
- package/dist/siemens-ix/p-5bed04ac.entry.js +2 -0
- package/dist/siemens-ix/p-5bed04ac.entry.js.map +1 -0
- package/dist/siemens-ix/{p-c248940f.entry.js → p-5c109476.entry.js} +2 -2
- package/dist/siemens-ix/p-5f72640f.entry.js +2 -0
- package/dist/siemens-ix/p-5f72640f.entry.js.map +1 -0
- package/dist/siemens-ix/{p-e3a219e3.entry.js → p-6a39d630.entry.js} +2 -2
- package/dist/siemens-ix/p-6c873cc5.entry.js +2 -0
- package/dist/siemens-ix/p-6d8e725c.entry.js +2 -0
- package/dist/siemens-ix/p-6d8e725c.entry.js.map +1 -0
- package/dist/siemens-ix/{p-e201fa04.entry.js → p-71550396.entry.js} +2 -2
- package/dist/siemens-ix/{p-e201fa04.entry.js.map → p-71550396.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-32203c19.entry.js → p-71e94914.entry.js} +2 -2
- package/dist/siemens-ix/p-71e94914.entry.js.map +1 -0
- package/dist/siemens-ix/p-740420eb.entry.js +2 -0
- package/dist/siemens-ix/p-740420eb.entry.js.map +1 -0
- package/dist/siemens-ix/{p-c6ecc2e3.entry.js → p-746b04cb.entry.js} +2 -2
- package/dist/siemens-ix/p-78ddd5f5.entry.js +2 -0
- package/dist/siemens-ix/p-78ddd5f5.entry.js.map +1 -0
- package/dist/siemens-ix/{p-75edf091.entry.js → p-7989235e.entry.js} +2 -2
- package/dist/siemens-ix/p-7989235e.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9dbfd7cd.entry.js → p-7a108b0d.entry.js} +2 -2
- package/dist/siemens-ix/{p-1cd4280f.entry.js → p-7d95ae34.entry.js} +2 -2
- package/dist/siemens-ix/{p-75f4bbb1.entry.js → p-81c8d542.entry.js} +2 -2
- package/dist/siemens-ix/{p-d7c7d38b.entry.js → p-8dcc6456.entry.js} +2 -2
- package/dist/siemens-ix/{p-d1254b5b.entry.js → p-8e48a7a1.entry.js} +2 -2
- package/dist/siemens-ix/{p-c413e3c4.entry.js → p-8eee6a03.entry.js} +2 -2
- package/dist/siemens-ix/p-90089ce1.entry.js +2 -0
- package/dist/siemens-ix/{p-0ba7d263.entry.js → p-90bd8d7b.entry.js} +2 -2
- package/dist/siemens-ix/{p-1bd1380b.entry.js → p-95d4d849.entry.js} +2 -2
- package/dist/siemens-ix/{p-a7cb47ca.entry.js → p-9638c57b.entry.js} +2 -2
- package/dist/siemens-ix/p-9638c57b.entry.js.map +1 -0
- package/dist/siemens-ix/p-96a20067.entry.js +2 -0
- package/dist/siemens-ix/{p-2355f27d.entry.js.map → p-96a20067.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-38f9b6e2.entry.js → p-99ad8022.entry.js} +2 -2
- package/dist/siemens-ix/p-99ad8022.entry.js.map +1 -0
- package/dist/siemens-ix/p-9bd4c682.entry.js +2 -0
- package/dist/siemens-ix/{p-b895b3db.entry.js → p-9d7a2428.entry.js} +2 -2
- package/dist/siemens-ix/p-9d7a2428.entry.js.map +1 -0
- package/dist/siemens-ix/p-CAqtPJ4-.js +2 -0
- package/dist/siemens-ix/p-CAqtPJ4-.js.map +1 -0
- package/dist/siemens-ix/p-CFRrPFxi.js +2 -0
- package/dist/siemens-ix/p-CFRrPFxi.js.map +1 -0
- package/dist/siemens-ix/p-CpVbQsUI.js +2 -0
- package/dist/siemens-ix/p-CpVbQsUI.js.map +1 -0
- package/dist/siemens-ix/p-CsHYWHE6.js +2 -0
- package/dist/siemens-ix/p-CsHYWHE6.js.map +1 -0
- package/dist/siemens-ix/p-Cz75KU1f.js.map +1 -1
- package/dist/siemens-ix/{p-gkooEHol.js → p-CzzcLSmV.js} +2 -2
- package/dist/siemens-ix/p-CzzcLSmV.js.map +1 -0
- package/dist/siemens-ix/{p-CNToWy_R.js → p-DRnSC9aV.js} +2 -2
- package/dist/siemens-ix/{p-CNToWy_R.js.map → p-DRnSC9aV.js.map} +1 -1
- package/dist/siemens-ix/p-b11b63ca.entry.js +2 -0
- package/dist/siemens-ix/p-b11b63ca.entry.js.map +1 -0
- package/dist/siemens-ix/p-b59285eb.entry.js +2 -0
- package/dist/siemens-ix/{p-d9766334.entry.js.map → p-b59285eb.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-c949686e.entry.js → p-b6d9c16c.entry.js} +2 -2
- package/dist/siemens-ix/{p-c949686e.entry.js.map → p-b6d9c16c.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-d0213ff0.entry.js → p-b6dad40c.entry.js} +2 -2
- package/dist/siemens-ix/{p-331f1b60.entry.js → p-bb28a2d6.entry.js} +2 -2
- package/dist/siemens-ix/{p-e55cd52b.entry.js → p-bd369344.entry.js} +2 -2
- package/dist/siemens-ix/{p-db02f4c2.entry.js → p-c446ffdb.entry.js} +2 -2
- package/dist/siemens-ix/{p-96533ffc.entry.js → p-c8cf26c5.entry.js} +2 -2
- package/dist/siemens-ix/p-c8cf26c5.entry.js.map +1 -0
- package/dist/siemens-ix/{p-bb878ea4.entry.js → p-cd11dfa8.entry.js} +2 -2
- package/dist/siemens-ix/p-d0d972c2.entry.js +2 -0
- package/dist/siemens-ix/{p-5f7943f2.entry.js.map → p-d0d972c2.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-a67bc456.entry.js → p-dc5b5c0c.entry.js} +2 -2
- package/dist/siemens-ix/p-ddaf98b6.entry.js +2 -0
- package/dist/siemens-ix/p-ddaf98b6.entry.js.map +1 -0
- package/dist/siemens-ix/{p-7060645f.entry.js → p-eba51393.entry.js} +2 -2
- package/dist/siemens-ix/p-ec8f67b0.entry.js +2 -0
- package/dist/siemens-ix/p-ec8f67b0.entry.js.map +1 -0
- package/dist/siemens-ix/{p-d585e581.entry.js → p-f112fabd.entry.js} +2 -2
- package/dist/siemens-ix/{p-d585e581.entry.js.map → p-f112fabd.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-9272ae83.entry.js → p-f29eaee8.entry.js} +2 -2
- package/dist/siemens-ix/p-f55eef69.entry.js +2 -0
- package/dist/siemens-ix/p-f55eef69.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9b88a932.entry.js → p-f6d678a6.entry.js} +2 -2
- package/dist/siemens-ix/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix.css +2312 -2248
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/siemens-ix/theme/classic-dark.css +1 -1
- package/dist/siemens-ix/theme/classic-light.css +1 -1
- package/dist/types/components/avatar/avatar.d.ts +1 -1
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +3 -3
- package/dist/types/components/category-filter/category-filter.d.ts +9 -3
- package/dist/types/components/chip/chip.d.ts +2 -2
- package/dist/types/components/date-dropdown/date-dropdown.d.ts +6 -6
- package/dist/types/components/date-input/date-input.d.ts +4 -0
- package/dist/types/components/date-picker/date-picker-component.d.ts +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +5 -7
- package/dist/types/components/date-time-card/date-time-card.d.ts +5 -1
- package/dist/types/components/datetime-picker/datetime-picker.d.ts +20 -2
- package/dist/types/components/event-list/event-list.d.ts +1 -1
- package/dist/types/components/group/group.d.ts +4 -4
- package/dist/types/components/group-item/group-item.d.ts +2 -9
- package/dist/types/components/icon-button/icon-button.d.ts +1 -1
- package/dist/types/components/input-group/input-group.d.ts +24 -0
- package/dist/types/components/menu/menu.d.ts +4 -0
- package/dist/types/components/menu-avatar/menu-avatar.d.ts +1 -1
- package/dist/types/components/message-bar/message-bar.d.ts +4 -3
- package/dist/types/components/modal/modal.d.ts +9 -9
- package/dist/types/components/pagination/pagination.d.ts +2 -2
- package/dist/types/components/push-card/push-card.d.ts +2 -2
- package/dist/types/components/time-input/time-input.d.ts +6 -0
- package/dist/types/components/time-picker/time-picker.d.ts +40 -2
- package/dist/types/components/toast/toast.d.ts +1 -1
- package/dist/types/components/utils/notification-color.d.ts +1 -1
- package/dist/types/components/utils/theme-switcher.d.ts +4 -11
- package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +45 -0
- package/dist/types/components.d.ts +421 -197
- package/hydrate/index.js +714 -328
- package/hydrate/index.mjs +714 -328
- package/package.json +3 -3
- package/scss/_core.scss +1 -0
- package/scss/components/_input-group.scss +32 -0
- package/scss/theme/classic/dark/_variables.scss +185 -185
- package/scss/theme/classic/light/_variables.scss +185 -185
- package/scss/theme/core/_common.scss +123 -123
- package/scss/theme/core/components/action-card.scss +65 -65
- package/scss/theme/core/components/app-header.scss +3 -3
- package/scss/theme/core/components/avatar.scss +5 -5
- package/scss/theme/core/components/blind.scss +16 -16
- package/scss/theme/core/components/button.scss +124 -124
- package/scss/theme/core/components/card.scss +61 -61
- package/scss/theme/core/components/checkbox.scss +61 -61
- package/scss/theme/core/components/chip.scss +21 -21
- package/scss/theme/core/components/datepicker.scss +54 -54
- package/scss/theme/core/components/event-list.scss +14 -14
- package/scss/theme/core/components/flip.scss +23 -23
- package/scss/theme/core/components/ghost.scss +1 -1
- package/scss/theme/core/components/group.scss +16 -16
- package/scss/theme/core/components/input-helper.scss +2 -2
- package/scss/theme/core/components/input.scss +28 -28
- package/scss/theme/core/components/kpi.scss +5 -5
- package/scss/theme/core/components/label.scss +2 -2
- package/scss/theme/core/components/link.scss +6 -6
- package/scss/theme/core/components/map-navigation.scss +2 -2
- package/scss/theme/core/components/menu.scss +19 -19
- package/scss/theme/core/components/message-bar.scss +3 -3
- package/scss/theme/core/components/modal-dialog.scss +1 -1
- package/scss/theme/core/components/navigation.scss +11 -11
- package/scss/theme/core/components/pagination.scss +6 -6
- package/scss/theme/core/components/pane.scss +5 -5
- package/scss/theme/core/components/pill.scss +1 -1
- package/scss/theme/core/components/progress-indicator.scss +22 -22
- package/scss/theme/core/components/push-card.scss +124 -124
- package/scss/theme/core/components/radiobutton.scss +44 -44
- package/scss/theme/core/components/scrollbar.scss +3 -3
- package/scss/theme/core/components/select-list.scss +11 -11
- package/scss/theme/core/components/slider.scss +12 -12
- package/scss/theme/core/components/switch.scss +145 -109
- package/scss/theme/core/components/tab.scss +33 -33
- package/scss/theme/core/components/table.scss +30 -30
- package/scss/theme/core/components/tile.scss +1 -1
- package/scss/theme/core/components/toast.scss +5 -5
- package/scss/theme/core/components/tooltip.scss +2 -2
- package/scss/theme/core/components/tree.scss +7 -7
- package/scss/theme/core/components/upload.scss +4 -4
- package/scss/theme/core/components/workflow.scss +7 -7
- package/components/p-4dm0FrTr.js.map +0 -1
- package/components/p-7-Wnr7e5.js.map +0 -1
- package/components/p-BNYHD56q.js.map +0 -1
- package/components/p-Bc15ecXv.js.map +0 -1
- package/components/p-BmLRwuMH.js.map +0 -1
- package/components/p-BruPthTZ.js.map +0 -1
- package/components/p-C9yPT68I.js.map +0 -1
- package/components/p-CiSM2A9Q.js.map +0 -1
- package/components/p-Cx5H0GeI.js.map +0 -1
- package/components/p-DE74-VWH.js.map +0 -1
- package/components/p-DLcItN6d.js.map +0 -1
- package/components/p-DSF854K6.js.map +0 -1
- package/components/p-DVPJHakC.js +0 -78
- package/components/p-DVPJHakC.js.map +0 -1
- package/components/p-R9YNQy08.js +0 -56
- package/components/p-gkooEHol.js.map +0 -1
- package/dist/cjs/find-element-BNZJcvT8.js.map +0 -1
- package/dist/cjs/modal-BdSf3C6f.js.map +0 -1
- package/dist/cjs/service-DuiJmf7R.js.map +0 -1
- package/dist/cjs/theme-switcher-Do9dkNUv.js.map +0 -1
- package/dist/esm/find-element-CiSM2A9Q.js.map +0 -1
- package/dist/esm/modal-BQcyFJfE.js.map +0 -1
- package/dist/esm/service-Da0kv8hS.js.map +0 -1
- package/dist/esm/theme-switcher-Bg6wsOIn.js.map +0 -1
- package/dist/siemens-ix/p-21106fcd.entry.js +0 -2
- package/dist/siemens-ix/p-21106fcd.entry.js.map +0 -1
- package/dist/siemens-ix/p-2355f27d.entry.js +0 -2
- package/dist/siemens-ix/p-2b046df5.entry.js +0 -2
- package/dist/siemens-ix/p-2b046df5.entry.js.map +0 -1
- package/dist/siemens-ix/p-32200cc4.entry.js +0 -2
- package/dist/siemens-ix/p-32200cc4.entry.js.map +0 -1
- package/dist/siemens-ix/p-32203c19.entry.js.map +0 -1
- package/dist/siemens-ix/p-38f9b6e2.entry.js.map +0 -1
- package/dist/siemens-ix/p-3f06687e.entry.js.map +0 -1
- package/dist/siemens-ix/p-566a58f4.entry.js +0 -2
- package/dist/siemens-ix/p-566a58f4.entry.js.map +0 -1
- package/dist/siemens-ix/p-5d48f9cb.entry.js +0 -2
- package/dist/siemens-ix/p-5d48f9cb.entry.js.map +0 -1
- package/dist/siemens-ix/p-5f7943f2.entry.js +0 -2
- package/dist/siemens-ix/p-639d0d7f.entry.js.map +0 -1
- package/dist/siemens-ix/p-670d5b84.entry.js +0 -2
- package/dist/siemens-ix/p-670d5b84.entry.js.map +0 -1
- package/dist/siemens-ix/p-71a38f35.entry.js +0 -2
- package/dist/siemens-ix/p-75edf091.entry.js.map +0 -1
- package/dist/siemens-ix/p-78797f4b.entry.js +0 -2
- package/dist/siemens-ix/p-78797f4b.entry.js.map +0 -1
- package/dist/siemens-ix/p-800f59a7.entry.js.map +0 -1
- package/dist/siemens-ix/p-86ac2254.entry.js +0 -2
- package/dist/siemens-ix/p-86ac2254.entry.js.map +0 -1
- package/dist/siemens-ix/p-8bd3f89a.entry.js +0 -2
- package/dist/siemens-ix/p-8bd3f89a.entry.js.map +0 -1
- package/dist/siemens-ix/p-96533ffc.entry.js.map +0 -1
- package/dist/siemens-ix/p-98ab64dc.entry.js +0 -2
- package/dist/siemens-ix/p-98ab64dc.entry.js.map +0 -1
- package/dist/siemens-ix/p-9a8188a7.entry.js +0 -2
- package/dist/siemens-ix/p-9a8188a7.entry.js.map +0 -1
- package/dist/siemens-ix/p-C9yPT68I.js +0 -2
- package/dist/siemens-ix/p-C9yPT68I.js.map +0 -1
- package/dist/siemens-ix/p-CiSM2A9Q.js +0 -2
- package/dist/siemens-ix/p-CiSM2A9Q.js.map +0 -1
- package/dist/siemens-ix/p-DxCNpXRB.js +0 -2
- package/dist/siemens-ix/p-DxCNpXRB.js.map +0 -1
- package/dist/siemens-ix/p-a6612a5b.entry.js +0 -2
- package/dist/siemens-ix/p-a7cb47ca.entry.js.map +0 -1
- package/dist/siemens-ix/p-ac1f35ad.entry.js +0 -2
- package/dist/siemens-ix/p-ac1f35ad.entry.js.map +0 -1
- package/dist/siemens-ix/p-b895b3db.entry.js.map +0 -1
- package/dist/siemens-ix/p-c10b2e40.entry.js +0 -2
- package/dist/siemens-ix/p-d4b0b3d1.entry.js +0 -2
- package/dist/siemens-ix/p-d4b0b3d1.entry.js.map +0 -1
- package/dist/siemens-ix/p-d9766334.entry.js +0 -2
- package/dist/siemens-ix/p-ea435816.entry.js +0 -2
- package/dist/siemens-ix/p-ea435816.entry.js.map +0 -1
- package/dist/siemens-ix/p-fbd0973d.entry.js.map +0 -1
- package/dist/siemens-ix/p-fbedad11.entry.js +0 -2
- package/dist/siemens-ix/p-gkooEHol.js.map +0 -1
- /package/dist/siemens-ix/{p-bf2374a0.entry.js.map → p-0469aec7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f14790b4.entry.js.map → p-14fca48a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c31b2027.entry.js.map → p-1ca58d8b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c10b2e40.entry.js.map → p-30545ef9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6645d4ee.entry.js.map → p-404dffde.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2041357d.entry.js.map → p-48b0fef4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-91fa3ab0.entry.js.map → p-5140e6e6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-28fe8512.entry.js.map → p-52dc3ba0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c248940f.entry.js.map → p-5c109476.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e3a219e3.entry.js.map → p-6a39d630.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-71a38f35.entry.js.map → p-6c873cc5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c6ecc2e3.entry.js.map → p-746b04cb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9dbfd7cd.entry.js.map → p-7a108b0d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1cd4280f.entry.js.map → p-7d95ae34.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-75f4bbb1.entry.js.map → p-81c8d542.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d7c7d38b.entry.js.map → p-8dcc6456.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d1254b5b.entry.js.map → p-8e48a7a1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c413e3c4.entry.js.map → p-8eee6a03.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fbedad11.entry.js.map → p-90089ce1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0ba7d263.entry.js.map → p-90bd8d7b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1bd1380b.entry.js.map → p-95d4d849.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a6612a5b.entry.js.map → p-9bd4c682.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d0213ff0.entry.js.map → p-b6dad40c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-331f1b60.entry.js.map → p-bb28a2d6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e55cd52b.entry.js.map → p-bd369344.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-db02f4c2.entry.js.map → p-c446ffdb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-bb878ea4.entry.js.map → p-cd11dfa8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a67bc456.entry.js.map → p-dc5b5c0c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7060645f.entry.js.map → p-eba51393.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9272ae83.entry.js.map → p-f29eaee8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9b88a932.entry.js.map → p-f6d678a6.entry.js.map} +0 -0
package/hydrate/index.js
CHANGED
|
@@ -3622,12 +3622,12 @@ class ApplicationLayoutService {
|
|
|
3622
3622
|
const match = matchBreakpoint(breakpoint);
|
|
3623
3623
|
matchBreakpoints.push([breakpoint, match]);
|
|
3624
3624
|
});
|
|
3625
|
-
if (matchBreakpoints.every(([, match]) => match === false)) {
|
|
3625
|
+
if (matchBreakpoints.every(([_, match]) => match === false)) {
|
|
3626
3626
|
let breakPointIndex = 0;
|
|
3627
3627
|
if (!__classPrivateFieldGet$2(this, _ApplicationLayoutService_supportedBreakpoints, "f").includes('lg')) {
|
|
3628
3628
|
breakPointIndex = matchBreakpoints.length - 1;
|
|
3629
3629
|
}
|
|
3630
|
-
const [breakpoint] = matchBreakpoints[breakPointIndex];
|
|
3630
|
+
const [breakpoint, _] = matchBreakpoints[breakPointIndex];
|
|
3631
3631
|
requestAnimationFrame(() => __classPrivateFieldGet$2(this, _ApplicationLayoutService_breakpointChangeListener, "f").emit(breakpoint));
|
|
3632
3632
|
__classPrivateFieldSet$2(this, _ApplicationLayoutService_breakpoint, breakpoint, "f");
|
|
3633
3633
|
return;
|
|
@@ -3802,53 +3802,46 @@ class ThemeSwitcher {
|
|
|
3802
3802
|
isThemeClass(className) {
|
|
3803
3803
|
return (className.startsWith(this.prefixTheme) && this.hasVariantSuffix(className));
|
|
3804
3804
|
}
|
|
3805
|
-
setTheme(themeName, systemAppearance = false
|
|
3806
|
-
/**
|
|
3807
|
-
* @deprecated In v4 setTheme will always target the document.
|
|
3808
|
-
* TODO: IX-3024
|
|
3809
|
-
*/
|
|
3810
|
-
target = document.body) {
|
|
3805
|
+
setTheme(themeName, systemAppearance = false) {
|
|
3811
3806
|
if (this.isThemeClass(themeName)) {
|
|
3812
|
-
this.
|
|
3807
|
+
this.replaceThemeClass(themeName);
|
|
3813
3808
|
}
|
|
3814
3809
|
else {
|
|
3815
|
-
|
|
3810
|
+
document.documentElement.setAttribute(dataIxTheme, themeName);
|
|
3816
3811
|
}
|
|
3817
3812
|
if (systemAppearance) {
|
|
3818
3813
|
const currentSystemAppearance = getCurrentSystemAppearance();
|
|
3819
3814
|
this.setVariant(currentSystemAppearance);
|
|
3820
3815
|
}
|
|
3821
3816
|
}
|
|
3822
|
-
|
|
3817
|
+
replaceThemeClass(themeName) {
|
|
3823
3818
|
const oldThemes = [];
|
|
3824
|
-
Array.from(document.
|
|
3819
|
+
Array.from(document.documentElement.classList)
|
|
3825
3820
|
.filter((className) => className && this.isThemeClass(className))
|
|
3826
3821
|
.forEach((className) => {
|
|
3827
3822
|
oldThemes.push(className);
|
|
3828
3823
|
});
|
|
3829
|
-
document.
|
|
3830
|
-
document.
|
|
3824
|
+
document.documentElement.classList.remove(...oldThemes);
|
|
3825
|
+
document.documentElement.classList.add(themeName);
|
|
3831
3826
|
}
|
|
3832
3827
|
toggleMode() {
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
const currentSchema = this.getDataColorSchema(elementWithSchema);
|
|
3837
|
-
elementWithSchema.setAttribute(dataIxColorSchema, currentSchema === 'dark' ? 'light' : 'dark');
|
|
3828
|
+
if (document.documentElement.hasAttribute(dataIxColorSchema)) {
|
|
3829
|
+
const currentSchema = this.getDataColorSchema(document.documentElement);
|
|
3830
|
+
document.documentElement.setAttribute(dataIxColorSchema, currentSchema === 'dark' ? 'light' : 'dark');
|
|
3838
3831
|
return;
|
|
3839
3832
|
}
|
|
3840
3833
|
const oldThemes = [];
|
|
3841
|
-
Array.from(document.
|
|
3834
|
+
Array.from(document.documentElement.classList)
|
|
3842
3835
|
.filter((className) => className && this.isThemeClass(className))
|
|
3843
3836
|
.forEach((className) => {
|
|
3844
3837
|
oldThemes.push(className);
|
|
3845
3838
|
});
|
|
3846
3839
|
if (oldThemes.length === 0) {
|
|
3847
|
-
document.
|
|
3840
|
+
document.documentElement.classList.add(this.getOppositeMode(this.defaultTheme));
|
|
3848
3841
|
return;
|
|
3849
3842
|
}
|
|
3850
3843
|
oldThemes.forEach((themeName) => {
|
|
3851
|
-
document.
|
|
3844
|
+
document.documentElement.classList.replace(themeName, this.getOppositeMode(themeName));
|
|
3852
3845
|
});
|
|
3853
3846
|
}
|
|
3854
3847
|
getDataColorSchema(target) {
|
|
@@ -3856,26 +3849,23 @@ class ThemeSwitcher {
|
|
|
3856
3849
|
}
|
|
3857
3850
|
getCurrentTheme() {
|
|
3858
3851
|
var _a;
|
|
3859
|
-
return ((_a = Array.from(document.
|
|
3860
|
-
document.documentElement.getAttribute(dataIxTheme) ||
|
|
3861
|
-
'classic'}-${document.body.getAttribute(dataIxColorSchema) ||
|
|
3862
|
-
document.documentElement.getAttribute(dataIxColorSchema) ||
|
|
3852
|
+
return ((_a = Array.from(document.documentElement.classList).find((className) => this.isThemeClass(className))) !== null && _a !== void 0 ? _a : `theme-${document.documentElement.getAttribute(dataIxTheme) || 'classic'}-${document.documentElement.getAttribute(dataIxColorSchema) ||
|
|
3863
3853
|
getCurrentSystemAppearance()}`);
|
|
3864
3854
|
}
|
|
3865
|
-
setVariant(variant = getCurrentSystemAppearance()
|
|
3866
|
-
if (this.getDataColorSchema(
|
|
3867
|
-
|
|
3855
|
+
setVariant(variant = getCurrentSystemAppearance()) {
|
|
3856
|
+
if (this.getDataColorSchema(document.documentElement)) {
|
|
3857
|
+
document.documentElement.setAttribute(dataIxColorSchema, variant);
|
|
3868
3858
|
return;
|
|
3869
3859
|
}
|
|
3870
3860
|
const currentTheme = this.getCurrentTheme();
|
|
3871
|
-
document.
|
|
3861
|
+
document.documentElement.classList.remove(currentTheme);
|
|
3872
3862
|
if (currentTheme.endsWith(this.suffixDark)) {
|
|
3873
|
-
document.
|
|
3863
|
+
document.documentElement.classList.add(currentTheme.replace(/-dark$/g, `-${variant}`));
|
|
3874
3864
|
}
|
|
3875
3865
|
if (currentTheme.endsWith(this.suffixLight)) {
|
|
3876
|
-
document.
|
|
3866
|
+
document.documentElement.classList.add(currentTheme.replace(/-light$/g, `-${variant}`));
|
|
3877
3867
|
}
|
|
3878
|
-
|
|
3868
|
+
document.documentElement.setAttribute(dataIxColorSchema, variant);
|
|
3879
3869
|
}
|
|
3880
3870
|
getOppositeMode(themeName) {
|
|
3881
3871
|
if (themeName.endsWith(this.suffixDark)) {
|
|
@@ -3934,10 +3924,8 @@ class ThemeSwitcher {
|
|
|
3934
3924
|
this.handleClassMutations(classMutations);
|
|
3935
3925
|
this.handleDataMutations(dataMutations);
|
|
3936
3926
|
};
|
|
3937
|
-
this.
|
|
3938
|
-
this.
|
|
3939
|
-
this.mutationObserverBody = new MutationObserver(handleMutations);
|
|
3940
|
-
this.mutationObserverBody.observe(document.body, mutationObserverConfig);
|
|
3927
|
+
this.mutationObserver = new MutationObserver(handleMutations);
|
|
3928
|
+
this.mutationObserver.observe(document.documentElement, mutationObserverConfig);
|
|
3941
3929
|
}
|
|
3942
3930
|
constructor() {
|
|
3943
3931
|
this.prefixTheme = 'theme-';
|
|
@@ -8867,7 +8855,7 @@ class Breadcrumb {
|
|
|
8867
8855
|
/**
|
|
8868
8856
|
* Ghost breadcrumbs will not show solid backgrounds on individual crumbs unless there is a mouse event (e.g. hover)
|
|
8869
8857
|
*/
|
|
8870
|
-
this.
|
|
8858
|
+
this.ghost = true;
|
|
8871
8859
|
/**
|
|
8872
8860
|
* Accessibility label for the dropdown button (ellipsis icon) used to access the dropdown list
|
|
8873
8861
|
* with conditionally hidden previous items
|
|
@@ -8904,8 +8892,8 @@ class Breadcrumb {
|
|
|
8904
8892
|
const updatedItems = this.getItems();
|
|
8905
8893
|
updatedItems.forEach((bc, index) => {
|
|
8906
8894
|
const shouldShowDropdown = this.nextItems.length !== 0 && updatedItems.length - 1 === index;
|
|
8907
|
-
bc.
|
|
8908
|
-
bc.
|
|
8895
|
+
bc.ghost = this.ghost;
|
|
8896
|
+
bc.showChevron = updatedItems.length - 1 !== index || shouldShowDropdown;
|
|
8909
8897
|
bc.isDropdownTrigger = shouldShowDropdown;
|
|
8910
8898
|
if (shouldShowDropdown) {
|
|
8911
8899
|
this.nextButtonRef(bc);
|
|
@@ -8913,7 +8901,7 @@ class Breadcrumb {
|
|
|
8913
8901
|
if (updatedItems.length < this.visibleItemCount) {
|
|
8914
8902
|
return;
|
|
8915
8903
|
}
|
|
8916
|
-
bc.
|
|
8904
|
+
bc.visible = index >= updatedItems.length - this.visibleItemCount;
|
|
8917
8905
|
});
|
|
8918
8906
|
this.items = updatedItems;
|
|
8919
8907
|
}
|
|
@@ -8923,7 +8911,7 @@ class Breadcrumb {
|
|
|
8923
8911
|
render() {
|
|
8924
8912
|
var _a, _b, _c, _d;
|
|
8925
8913
|
const a11y = a11yHostAttributes(this.hostElement);
|
|
8926
|
-
return (hAsync(Host, { key: '
|
|
8914
|
+
return (hAsync(Host, { key: 'cd3fb633db6e273763b650dee6cf699190f9c66c' }, hAsync("ix-dropdown", { key: '4bb90841a1e65c3c43a5897cd3b7baffa304df6e', id: this.previousDropdownId, "aria-label": this.ariaLabelPreviousButton, trigger: ((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) > this.visibleItemCount
|
|
8927
8915
|
? this.previousButtonRef.waitForCurrent()
|
|
8928
8916
|
: undefined, onShowChanged: ({ detail }) => {
|
|
8929
8917
|
this.isPreviousDropdownExpanded = detail;
|
|
@@ -8936,7 +8924,7 @@ class Breadcrumb {
|
|
|
8936
8924
|
return (hAsync("ix-dropdown-item", { label: label, onClick: () => {
|
|
8937
8925
|
this.onItemClick(label);
|
|
8938
8926
|
}, onItemClick: (event) => event.stopPropagation() }));
|
|
8939
|
-
})), ((_b = this.items) === null || _b === void 0 ? void 0 : _b.length) > this.visibleItemCount ? (hAsync("ix-breadcrumb-item", { id: this.previousButtonId, ref: this.previousButtonRef, label: "...", tabIndex: 1, onItemClick: (event) => event.stopPropagation(), "aria-describedby": this.previousDropdownId, "aria-controls": this.previousDropdownId, "aria-expanded": a11yBoolean(this.isPreviousDropdownExpanded), class: 'previous-button' })) : null, hAsync("nav", { key: '
|
|
8927
|
+
})), ((_b = this.items) === null || _b === void 0 ? void 0 : _b.length) > this.visibleItemCount ? (hAsync("ix-breadcrumb-item", { id: this.previousButtonId, ref: this.previousButtonRef, label: "...", tabIndex: 1, onItemClick: (event) => event.stopPropagation(), "aria-describedby": this.previousDropdownId, "aria-controls": this.previousDropdownId, "aria-expanded": a11yBoolean(this.isPreviousDropdownExpanded), class: 'previous-button' })) : null, hAsync("nav", { key: '153d49ef29065bcc78cb3b06a1bcc6341b028cca', class: "crumb-items", "aria-label": (_c = a11y['aria-label']) !== null && _c !== void 0 ? _c : 'breadcrumbs' }, hAsync("ol", { key: '1d7dcd947a111b74dcee6779968b52f63e36c984' }, hAsync("slot", { key: 'c9d8ac0c01834d40d2ca1d3acfbb323d04954669' }))), hAsync("ix-dropdown", { key: 'ba8cb0f0ffd45556b76be3e65d45c742ab2312ed', trigger: this.nextButtonRef.waitForCurrent() }, (_d = this.nextItems) === null || _d === void 0 ? void 0 : _d.map((item) => (hAsync("ix-dropdown-item", { label: item, onClick: (e) => {
|
|
8940
8928
|
this.nextClick.emit({
|
|
8941
8929
|
event: e,
|
|
8942
8930
|
item,
|
|
@@ -8954,7 +8942,7 @@ class Breadcrumb {
|
|
|
8954
8942
|
"$members$": {
|
|
8955
8943
|
"visibleItemCount": [2, "visible-item-count"],
|
|
8956
8944
|
"nextItems": [16, "next-items"],
|
|
8957
|
-
"
|
|
8945
|
+
"ghost": [4],
|
|
8958
8946
|
"ariaLabelPreviousButton": [1, "aria-label-previous-button"],
|
|
8959
8947
|
"items": [32],
|
|
8960
8948
|
"isPreviousDropdownExpanded": [32]
|
|
@@ -8978,11 +8966,11 @@ class BreadcrumbItem {
|
|
|
8978
8966
|
*/
|
|
8979
8967
|
this.target = '_self';
|
|
8980
8968
|
/**@internal */
|
|
8981
|
-
this.
|
|
8969
|
+
this.ghost = true;
|
|
8982
8970
|
/**@internal */
|
|
8983
|
-
this.
|
|
8971
|
+
this.visible = true;
|
|
8984
8972
|
/**@internal */
|
|
8985
|
-
this.
|
|
8973
|
+
this.showChevron = true;
|
|
8986
8974
|
/** @internal */
|
|
8987
8975
|
this.isDropdownTrigger = false;
|
|
8988
8976
|
}
|
|
@@ -9006,7 +8994,7 @@ class BreadcrumbItem {
|
|
|
9006
8994
|
}
|
|
9007
8995
|
render() {
|
|
9008
8996
|
const props = {
|
|
9009
|
-
variant: this.
|
|
8997
|
+
variant: this.ghost ? 'tertiary' : 'subtle-primary',
|
|
9010
8998
|
iconOnly: false,
|
|
9011
8999
|
iconOval: false,
|
|
9012
9000
|
disabled: false,
|
|
@@ -9024,12 +9012,12 @@ class BreadcrumbItem {
|
|
|
9024
9012
|
target: this.target,
|
|
9025
9013
|
rel: this.rel,
|
|
9026
9014
|
};
|
|
9027
|
-
if (this.
|
|
9015
|
+
if (!this.visible) {
|
|
9028
9016
|
return hAsync(Host, { class: 'invisible' });
|
|
9029
9017
|
}
|
|
9030
9018
|
return (hAsync(Host, { class: {
|
|
9031
|
-
'hide-chevron': this.
|
|
9032
|
-
}, onClick: () => this.itemClick.emit(this.label) }, hAsync("li", null, hAsync(BaseButton, Object.assign({}, props, { afterContent: hAsync(Fragment, null,
|
|
9019
|
+
'hide-chevron': !this.showChevron,
|
|
9020
|
+
}, onClick: () => this.itemClick.emit(this.label) }, hAsync("li", null, hAsync(BaseButton, Object.assign({}, props, { afterContent: hAsync(Fragment, null, this.showChevron ? (hAsync("ix-icon", { name: iconChevronRightSmall, size: "16", class: 'chevron' })) : null) }), this.label, hAsync("slot", null)))));
|
|
9033
9021
|
}
|
|
9034
9022
|
get hostElement() { return getElement(this); }
|
|
9035
9023
|
static get style() { return breadcrumbItemCss; }
|
|
@@ -9043,9 +9031,9 @@ class BreadcrumbItem {
|
|
|
9043
9031
|
"href": [1],
|
|
9044
9032
|
"target": [1],
|
|
9045
9033
|
"rel": [1],
|
|
9046
|
-
"
|
|
9047
|
-
"
|
|
9048
|
-
"
|
|
9034
|
+
"ghost": [4],
|
|
9035
|
+
"visible": [4],
|
|
9036
|
+
"showChevron": [4, "show-chevron"],
|
|
9049
9037
|
"isDropdownTrigger": [4, "is-dropdown-trigger"],
|
|
9050
9038
|
"a11y": [32]
|
|
9051
9039
|
},
|
|
@@ -9647,10 +9635,16 @@ class CategoryFilter {
|
|
|
9647
9635
|
*/
|
|
9648
9636
|
this.hideIcon = false;
|
|
9649
9637
|
/**
|
|
9650
|
-
* If set to true,
|
|
9651
|
-
* An already set category will not appear in the category dropdown if set to
|
|
9638
|
+
* If set to true, allows that a single category can be set more than once.
|
|
9639
|
+
* An already set category will not appear in the category dropdown if set to false.
|
|
9640
|
+
*
|
|
9641
|
+
* Defaults to true
|
|
9642
|
+
*/
|
|
9643
|
+
this.repeatCategories = true;
|
|
9644
|
+
/**
|
|
9645
|
+
* @internal For debugging purposes only!
|
|
9652
9646
|
*/
|
|
9653
|
-
this.
|
|
9647
|
+
this.tmpDisableScrollIntoView = true;
|
|
9654
9648
|
/**
|
|
9655
9649
|
* i18n
|
|
9656
9650
|
*/
|
|
@@ -9910,7 +9904,7 @@ class CategoryFilter {
|
|
|
9910
9904
|
this.emitFilterEvent();
|
|
9911
9905
|
}
|
|
9912
9906
|
filterMultiples(value) {
|
|
9913
|
-
if (
|
|
9907
|
+
if (this.repeatCategories) {
|
|
9914
9908
|
return true;
|
|
9915
9909
|
}
|
|
9916
9910
|
const isCategoryAlreadySet = this.filterTokens.find((token) => token.id === value);
|
|
@@ -10056,7 +10050,9 @@ class CategoryFilter {
|
|
|
10056
10050
|
componentDidRender() {
|
|
10057
10051
|
var _a, _b;
|
|
10058
10052
|
if (this.isScrollStateDirty) {
|
|
10059
|
-
|
|
10053
|
+
if (!this.tmpDisableScrollIntoView) {
|
|
10054
|
+
(_b = (_a = this.textInput) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.scrollIntoView();
|
|
10055
|
+
}
|
|
10060
10056
|
this.isScrollStateDirty = false;
|
|
10061
10057
|
}
|
|
10062
10058
|
}
|
|
@@ -10098,19 +10094,19 @@ class CategoryFilter {
|
|
|
10098
10094
|
}
|
|
10099
10095
|
render() {
|
|
10100
10096
|
var _a, _b, _c;
|
|
10101
|
-
return (hAsync(Host, { key: '
|
|
10097
|
+
return (hAsync(Host, { key: 'b69168fccbcac0b261a929d4a44f6f693001714c' }, hAsync("form", { key: '3bad02565919f5e48674a5228ba0d7635b44a9d1', ref: (el) => (this.formElement = el) }, hAsync("div", { key: '732c413af7883a335c369bb4e2e02763d70f97d1', "read-only": this.readonly, class: {
|
|
10102
10098
|
'input-container': true,
|
|
10103
10099
|
disabled: this.disabled,
|
|
10104
10100
|
focus: this.hasFocus,
|
|
10105
10101
|
readonly: this.readonly,
|
|
10106
10102
|
'no-icon': this.hideIcon,
|
|
10107
|
-
} }, hAsync("ix-icon", { key: '
|
|
10103
|
+
} }, hAsync("ix-icon", { key: '67181824a8f1632c95fb686e0f6bc68c66fee398', color: this.getIconColor(), class: { 'display-none': this.hideIcon }, name: (_a = this.icon) !== null && _a !== void 0 ? _a : iconSearch, size: "16" }), hAsync("div", { key: '57d870d48eac869af8ae3a138e0ed10b7b781fcb', class: "token-container" }, hAsync("div", { key: '6fca67b428e8e9b5cef5e9e9980c220b1517c331', class: "list-unstyled" }, this.filterTokens.map((value, index) => (hAsync("span", { key: value.toString(), class: {
|
|
10108
10104
|
animate__animated: true,
|
|
10109
10105
|
animate__fadein: true,
|
|
10110
10106
|
} }, hAsync("ix-filter-chip", { disabled: this.disabled, readonly: this.readonly, onClick: (e) => e.stopPropagation(), onCloseClick: () => this.removeToken(index) }, this.getFilterChipLabel(value))))), this.categories === undefined ? ('') : (hAsync("span", { class: {
|
|
10111
10107
|
'category-preview': true,
|
|
10112
10108
|
'display-none': this.category === '',
|
|
10113
|
-
} }, (_b = this.categories[this.category]) === null || _b === void 0 ? void 0 : _b.label)), hAsync("input", Object.assign({ key: '
|
|
10109
|
+
} }, (_b = this.categories[this.category]) === null || _b === void 0 ? void 0 : _b.label)), hAsync("input", Object.assign({ key: '2796b54f0a20bbd63ac98e1fadc087caf1a55d27', class: {
|
|
10114
10110
|
'text-input': true,
|
|
10115
10111
|
'hide-placeholder': this.readonly || this.disabled || this.category !== '',
|
|
10116
10112
|
}, autocomplete: "off", name: "category-filter-input", disabled: this.disabled, readonly: this.readonly, ref: this.textInput, type: "text", placeholder: this.placeholder }, this.a11yAttributes, { "aria-label": this.ariaLabelFilterInput })))), !this.readonly && !this.disabled && this.getResetButton())), this.disabled || this.readonly ? ('') : (hAsync("ix-dropdown", { show: this.showDropdown, closeBehavior: "outside", offset: { mainAxis: 2 }, anchor: (_c = this.textInput) === null || _c === void 0 ? void 0 : _c.waitForCurrent(), trigger: this.hostElement, header: this.getDropdownHeader() }, this.renderDropdownContent()))));
|
|
@@ -10134,7 +10130,8 @@ class CategoryFilter {
|
|
|
10134
10130
|
"icon": [1],
|
|
10135
10131
|
"hideIcon": [4, "hide-icon"],
|
|
10136
10132
|
"staticOperator": [1, "static-operator"],
|
|
10137
|
-
"
|
|
10133
|
+
"repeatCategories": [4, "repeat-categories"],
|
|
10134
|
+
"tmpDisableScrollIntoView": [4, "tmp-disable-scroll-into-view"],
|
|
10138
10135
|
"labelCategories": [1, "label-categories"],
|
|
10139
10136
|
"i18nPlainText": [1, "i18n-plain-text"],
|
|
10140
10137
|
"ariaLabelResetButton": [1, "aria-label-reset-button"],
|
|
@@ -10537,7 +10534,7 @@ __decorate$d([
|
|
|
10537
10534
|
})
|
|
10538
10535
|
], CheckboxGroup.prototype, "onClassFieldUpdate", null);
|
|
10539
10536
|
|
|
10540
|
-
const chipCss = ":host{display:inline-block;position:relative;height:2rem;max-height:2rem;margin-left:0.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host(.inactive){pointer-events:none}.container{display:inline-flex;width:inherit;max-width:100%;box-sizing:border-box;position:relative;align-items:center;border-radius:100px;padding:0.5rem;vertical-align:top;height:2rem;max-height:2rem;cursor:pointer}.container .content-wrapper{display:inline-flex;align-items:center;flex:1;min-width:0}.container .with-icon{margin-right:0.25rem}.container .close-button-container{display:inline-flex;margin-left:auto;padding-left:0.5rem}.container .slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container.centerContent .content-wrapper{justify-content:center;text-align:center}.container.outline.icon{padding-left:calc(0.75rem - 1px)}.container.outline.icon.alarm .with-icon{color:var(--theme-color-alarm)}.container.outline.icon.critical .with-icon{color:var(--theme-color-critical)}.container.outline.icon.warning .with-icon{color:var(--theme-color-warning)}.container.outline.icon.info .with-icon{color:var(--theme-color-info)}.container.outline.icon.neutral .with-icon{color:var(--theme-color-neutral)}.container.outline.icon.success .with-icon{color:var(--theme-color-success)}.container.outline:not(.icon){padding-left:calc(0.5rem - 1px)}.container.outline.closable:not(.inactive){padding-right:calc(0.25rem - 1px)}.container.outline.closable.inactive,.container.outline:not(.closable){padding-right:calc(0.5rem - 1px)}.container.outline.icon:not(.closable){padding-right:calc(0.75rem - 1px)}.container:not(.outline).icon{padding-left:0.75rem}.container:not(.outline):not(.icon){padding-left:0.5rem}.container:not(.outline).closable:not(.inactive){padding-right:0.25rem}.container:not(.outline).closable.inactive{padding-right:0.5rem}.container:not(.outline):not(.closable).icon{padding-right:0.75rem}.container:not(.outline):not(.closable):not(.icon){padding-right:0.5rem}.container.primary{background-color:var(--theme-color-primary);color:var(--theme-chip-primary--color)}.container.primary .close-button{color:var(--theme-chip-primary--color);--ix-icon-button-color:var(--theme-chip-primary--color);pointer-events:auto}.container.primary:hover{background-color:var(--theme-chip-primary--background--hover)}.container.primary:active{background-color:var(--theme-chip-primary--background--active)}.container.primary:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.primary.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-primary-outline--background);border:solid 1px var(--theme-chip-primary-outline--border-color)}.container.primary.outline .close-button{color:var(--theme-chip-outline--color);--ix-icon-button-color:var(--theme-chip-outline--color)}.container.primary.outline .with-icon{color:var(--theme-color-primary)}.container.primary.outline:hover{background-color:var(--theme-chip-primary-outline--background--hover)}.container.primary.outline:active{background-color:var(--theme-chip-primary-outline--background--active)}.container.outline{border-width:1px;border-style:solid}.container.alarm{color:var(--theme-color-alarm--contrast)}.container.alarm:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.alarm.active::after,.container.alarm:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.alarm:not(.outline){background-color:var(--theme-color-alarm)}.container.alarm:not(.outline) .close-button{color:var(--theme-color-alarm--contrast);--ix-icon-button-color:var(--theme-color-alarm--contrast)}.container.alarm:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}.container.alarm:not(.outline).active::after,.container.alarm:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.alarm.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-alarm)}.container.alarm.outline:hover::after{display:none}.container.alarm.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.alarm.outline.active::after,.container.alarm.outline:active::after{display:none}.container.alarm.outline.active,.container.alarm.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.alarm:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.critical{color:var(--theme-color-critical--contrast)}.container.critical:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.critical.active::after,.container.critical:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.critical:not(.outline){background-color:var(--theme-color-critical)}.container.critical:not(.outline) .close-button{color:var(--theme-color-critical--contrast);--ix-icon-button-color:var(--theme-color-critical--contrast)}.container.critical:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}.container.critical:not(.outline).active::after,.container.critical:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.critical.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-critical)}.container.critical.outline:hover::after{display:none}.container.critical.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.critical.outline.active::after,.container.critical.outline:active::after{display:none}.container.critical.outline.active,.container.critical.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.critical:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.warning{color:var(--theme-color-warning--contrast)}.container.warning:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.warning.active::after,.container.warning:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.warning:not(.outline){background-color:var(--theme-color-warning)}.container.warning:not(.outline) .close-button{color:var(--theme-color-warning--contrast);--ix-icon-button-color:var(--theme-color-warning--contrast)}.container.warning:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}.container.warning:not(.outline).active::after,.container.warning:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.warning.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-warning)}.container.warning.outline:hover::after{display:none}.container.warning.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.warning.outline.active::after,.container.warning.outline:active::after{display:none}.container.warning.outline.active,.container.warning.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.warning:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.info{color:var(--theme-color-info--contrast)}.container.info:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.info.active::after,.container.info:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.info:not(.outline){background-color:var(--theme-color-info)}.container.info:not(.outline) .close-button{color:var(--theme-color-info--contrast);--ix-icon-button-color:var(--theme-color-info--contrast)}.container.info:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}.container.info:not(.outline).active::after,.container.info:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.info.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-info)}.container.info.outline:hover::after{display:none}.container.info.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.info.outline.active::after,.container.info.outline:active::after{display:none}.container.info.outline.active,.container.info.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.info:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.neutral{color:var(--theme-color-neutral--contrast)}.container.neutral:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.neutral.active::after,.container.neutral:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.neutral:not(.outline){background-color:var(--theme-color-neutral)}.container.neutral:not(.outline) .close-button{color:var(--theme-color-neutral--contrast);--ix-icon-button-color:var(--theme-color-neutral--contrast)}.container.neutral:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}.container.neutral:not(.outline).active::after,.container.neutral:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.neutral.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-neutral)}.container.neutral.outline:hover::after{display:none}.container.neutral.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.neutral.outline.active::after,.container.neutral.outline:active::after{display:none}.container.neutral.outline.active,.container.neutral.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.neutral:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.success{color:var(--theme-color-success--contrast)}.container.success:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.success.active::after,.container.success:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.success:not(.outline){background-color:var(--theme-color-success)}.container.success:not(.outline) .close-button{color:var(--theme-color-success--contrast);--ix-icon-button-color:var(--theme-color-success--contrast)}.container.success:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}.container.success:not(.outline).active::after,.container.success:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.success.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-success)}.container.success.outline:hover::after{display:none}.container.success.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.success.outline.active::after,.container.success.outline:active::after{display:none}.container.success.outline.active,.container.success.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.success:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}";
|
|
10537
|
+
const chipCss = ":host{display:inline-block;position:relative;height:2rem;max-height:2rem;margin-left:0.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host(.inactive){pointer-events:none}.container{display:inline-flex;width:inherit;max-width:100%;box-sizing:border-box;position:relative;align-items:center;border-radius:100px;padding:0.5rem;vertical-align:top;height:2rem;max-height:2rem;cursor:pointer}.container .content-wrapper{display:inline-flex;align-items:center;flex:1;min-width:0}.container .with-icon{margin-right:0.25rem}.container .close-button-container{display:inline-flex;margin-left:auto;padding-left:0.5rem}.container .slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container.centerContent .content-wrapper{justify-content:center;text-align:center}.container.outline.icon{padding-left:calc(0.75rem - 1px)}.container.outline.icon.alarm .with-icon{color:var(--theme-color-alarm)}.container.outline.icon.critical .with-icon{color:var(--theme-color-critical)}.container.outline.icon.warning .with-icon{color:var(--theme-color-warning-text)}.container.outline.icon.info .with-icon{color:var(--theme-color-info)}.container.outline.icon.neutral .with-icon{color:var(--theme-color-neutral)}.container.outline.icon.success .with-icon{color:var(--theme-color-success)}.container.outline:not(.icon){padding-left:calc(0.5rem - 1px)}.container.outline.closable:not(.inactive){padding-right:calc(0.25rem - 1px)}.container.outline.closable.inactive,.container.outline:not(.closable){padding-right:calc(0.5rem - 1px)}.container.outline.icon:not(.closable){padding-right:calc(0.75rem - 1px)}.container:not(.outline).icon{padding-left:0.75rem}.container:not(.outline):not(.icon){padding-left:0.5rem}.container:not(.outline).closable:not(.inactive){padding-right:0.25rem}.container:not(.outline).closable.inactive{padding-right:0.5rem}.container:not(.outline):not(.closable).icon{padding-right:0.75rem}.container:not(.outline):not(.closable):not(.icon){padding-right:0.5rem}.container.primary{background-color:var(--theme-color-primary);color:var(--theme-chip-primary--color)}.container.primary .close-button{color:var(--theme-chip-primary--color);--ix-icon-button-color:var(--theme-chip-primary--color);pointer-events:auto}.container.primary:hover{background-color:var(--theme-chip-primary--background--hover)}.container.primary:active{background-color:var(--theme-chip-primary--background--active)}.container.primary:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.primary.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-primary-outline--background);border:solid 1px var(--theme-chip-primary-outline--border-color)}.container.primary.outline .close-button{color:var(--theme-chip-outline--color);--ix-icon-button-color:var(--theme-chip-outline--color)}.container.primary.outline .with-icon{color:var(--theme-color-primary)}.container.primary.outline:hover{background-color:var(--theme-chip-primary-outline--background--hover)}.container.primary.outline:active{background-color:var(--theme-chip-primary-outline--background--active)}.container.outline{border-width:1px;border-style:solid}.container.alarm{color:var(--theme-color-alarm--contrast)}.container.alarm:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.alarm.active::after,.container.alarm:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.alarm:not(.outline){background-color:var(--theme-color-alarm)}.container.alarm:not(.outline) .close-button{color:var(--theme-color-alarm--contrast);--ix-icon-button-color:var(--theme-color-alarm--contrast)}.container.alarm:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}.container.alarm:not(.outline).active::after,.container.alarm:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.alarm.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-alarm)}.container.alarm.outline:hover::after{display:none}.container.alarm.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.alarm.outline.active::after,.container.alarm.outline:active::after{display:none}.container.alarm.outline.active,.container.alarm.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.alarm:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.critical{color:var(--theme-color-critical--contrast)}.container.critical:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.critical.active::after,.container.critical:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.critical:not(.outline){background-color:var(--theme-color-critical)}.container.critical:not(.outline) .close-button{color:var(--theme-color-critical--contrast);--ix-icon-button-color:var(--theme-color-critical--contrast)}.container.critical:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}.container.critical:not(.outline).active::after,.container.critical:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.critical.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-critical)}.container.critical.outline:hover::after{display:none}.container.critical.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.critical.outline.active::after,.container.critical.outline:active::after{display:none}.container.critical.outline.active,.container.critical.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.critical:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.warning{color:var(--theme-color-warning--contrast)}.container.warning:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.warning.active::after,.container.warning:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.warning:not(.outline){background-color:var(--theme-color-warning)}.container.warning:not(.outline) .close-button{color:var(--theme-color-warning--contrast);--ix-icon-button-color:var(--theme-color-warning--contrast)}.container.warning:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}.container.warning:not(.outline).active::after,.container.warning:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.warning.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-warning)}.container.warning.outline:hover::after{display:none}.container.warning.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.warning.outline.active::after,.container.warning.outline:active::after{display:none}.container.warning.outline.active,.container.warning.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.warning:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.info{color:var(--theme-color-info--contrast)}.container.info:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.info.active::after,.container.info:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.info:not(.outline){background-color:var(--theme-color-info)}.container.info:not(.outline) .close-button{color:var(--theme-color-info--contrast);--ix-icon-button-color:var(--theme-color-info--contrast)}.container.info:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}.container.info:not(.outline).active::after,.container.info:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.info.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-info)}.container.info.outline:hover::after{display:none}.container.info.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.info.outline.active::after,.container.info.outline:active::after{display:none}.container.info.outline.active,.container.info.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.info:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.neutral{color:var(--theme-color-neutral--contrast)}.container.neutral:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.neutral.active::after,.container.neutral:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.neutral:not(.outline){background-color:var(--theme-color-neutral)}.container.neutral:not(.outline) .close-button{color:var(--theme-color-neutral--contrast);--ix-icon-button-color:var(--theme-color-neutral--contrast)}.container.neutral:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}.container.neutral:not(.outline).active::after,.container.neutral:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.neutral.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-neutral)}.container.neutral.outline:hover::after{display:none}.container.neutral.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.neutral.outline.active::after,.container.neutral.outline:active::after{display:none}.container.neutral.outline.active,.container.neutral.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.neutral:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}.container.success{color:var(--theme-color-success--contrast)}.container.success:hover::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.05);left:0;border-radius:100px;pointer-events:none}.container.success.active::after,.container.success:active::after{content:\"\";display:block;position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.1);left:0;border-radius:100px;pointer-events:none}.container.success:not(.outline){background-color:var(--theme-color-success)}.container.success:not(.outline) .close-button{color:var(--theme-color-success--contrast);--ix-icon-button-color:var(--theme-color-success--contrast)}.container.success:not(.outline):hover::after{content:\"\";background-color:rgba(0, 0, 0, 0.05)}.container.success:not(.outline).active::after,.container.success:not(.outline):active::after{background-color:rgba(0, 0, 0, 0.1)}.container.success.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-success)}.container.success.outline:hover::after{display:none}.container.success.outline:hover{background-color:var(--theme-chip-outline--background--hover)}.container.success.outline.active::after,.container.success.outline:active::after{display:none}.container.success.outline.active,.container.success.outline:active{background-color:var(--theme-chip-outline--background--active)}.container.success:focus-visible{outline:1px solid #199fff;outline-offset:var(--theme-btn--focus--outline-offset)}";
|
|
10541
10538
|
|
|
10542
10539
|
class Chip {
|
|
10543
10540
|
constructor(hostRef) {
|
|
@@ -10548,10 +10545,10 @@ class Chip {
|
|
|
10548
10545
|
*/
|
|
10549
10546
|
this.variant = 'primary';
|
|
10550
10547
|
/**
|
|
10551
|
-
* Determines if the chip is interactive. If
|
|
10548
|
+
* Determines if the chip is interactive. If false no user input (e.g. mouse states, keyboard navigation)
|
|
10552
10549
|
* will be possible and also the close button will not be present.
|
|
10553
10550
|
*/
|
|
10554
|
-
this.
|
|
10551
|
+
this.active = true;
|
|
10555
10552
|
/**
|
|
10556
10553
|
* Show close icon
|
|
10557
10554
|
*/
|
|
@@ -10592,6 +10589,7 @@ class Chip {
|
|
|
10592
10589
|
return (hAsync("ix-tooltip", { for: this.containerElementRef.waitForCurrent() }, text));
|
|
10593
10590
|
}
|
|
10594
10591
|
render() {
|
|
10592
|
+
const isInactive = this.active === false;
|
|
10595
10593
|
let customStyle = {};
|
|
10596
10594
|
if (this.variant === 'custom') {
|
|
10597
10595
|
customStyle = {
|
|
@@ -10599,16 +10597,16 @@ class Chip {
|
|
|
10599
10597
|
[this.outline ? 'borderColor' : 'backgroundColor']: this.background,
|
|
10600
10598
|
};
|
|
10601
10599
|
}
|
|
10602
|
-
return (hAsync(Host, { key: '
|
|
10603
|
-
inactive:
|
|
10600
|
+
return (hAsync(Host, { key: '615e9cde354e947cfedf93f5d7049a55acd742f9', tabIndex: "-1", class: {
|
|
10601
|
+
inactive: isInactive,
|
|
10604
10602
|
}, style: this.variant === 'custom'
|
|
10605
10603
|
? {
|
|
10606
10604
|
'--ix-icon-button-color': this.chipColor,
|
|
10607
10605
|
}
|
|
10608
|
-
: {} }, hAsync("div", { key: '
|
|
10606
|
+
: {} }, hAsync("div", { key: '64c04ae766296f7913ea662db14b5ec3e3828193', ref: this.containerElementRef, style: Object.assign({}, customStyle), class: {
|
|
10609
10607
|
container: true,
|
|
10610
10608
|
outline: this.outline,
|
|
10611
|
-
inactive:
|
|
10609
|
+
inactive: isInactive,
|
|
10612
10610
|
alarm: this.variant === 'alarm',
|
|
10613
10611
|
critical: this.variant === 'critical',
|
|
10614
10612
|
info: this.variant === 'info',
|
|
@@ -10620,11 +10618,11 @@ class Chip {
|
|
|
10620
10618
|
closable: this.closable,
|
|
10621
10619
|
icon: !!this.icon,
|
|
10622
10620
|
centerContent: this.centerContent,
|
|
10623
|
-
} }, hAsync("div", { key: '
|
|
10621
|
+
} }, hAsync("div", { key: 'b56a1240130fb26f2d31a946e1d1b3199e851836', class: "content-wrapper" }, this.icon && (hAsync("ix-icon", { key: '546438997d8e9727f9d410c9c3a7be16a0f9c858', class: {
|
|
10624
10622
|
'with-icon': true,
|
|
10625
10623
|
}, name: this.icon, size: '24', style: this.variant === 'custom'
|
|
10626
10624
|
? { color: this.outline ? this.background : this.chipColor }
|
|
10627
|
-
: undefined })), hAsync("span", { key: '
|
|
10625
|
+
: undefined })), hAsync("span", { key: '0b7f723b1a687a0377f6b1d128d167c24c0ee43a', class: "slot-container" }, hAsync("slot", { key: '11dd6b1a9c781500c96d37563279f0359276c26d' }))), isInactive === false && this.closable ? this.getCloseButton() : null), this.getTooltip()));
|
|
10628
10626
|
}
|
|
10629
10627
|
get hostElement() { return getElement(this); }
|
|
10630
10628
|
static get style() { return chipCss; }
|
|
@@ -10633,7 +10631,7 @@ class Chip {
|
|
|
10633
10631
|
"$tagName$": "ix-chip",
|
|
10634
10632
|
"$members$": {
|
|
10635
10633
|
"variant": [513],
|
|
10636
|
-
"
|
|
10634
|
+
"active": [4],
|
|
10637
10635
|
"closable": [4],
|
|
10638
10636
|
"icon": [1],
|
|
10639
10637
|
"background": [1],
|
|
@@ -18718,9 +18716,9 @@ class DateDropdown {
|
|
|
18718
18716
|
*/
|
|
18719
18717
|
this.format = 'yyyy/LL/dd';
|
|
18720
18718
|
/**
|
|
18721
|
-
* If true
|
|
18719
|
+
* If true a range of dates can be selected.
|
|
18722
18720
|
*/
|
|
18723
|
-
this.
|
|
18721
|
+
this.range = true;
|
|
18724
18722
|
/**
|
|
18725
18723
|
* Picker date. If the picker is in range mode this property is the start date.
|
|
18726
18724
|
* If set to `null` no default start date will be pre-selected.
|
|
@@ -18765,11 +18763,11 @@ class DateDropdown {
|
|
|
18765
18763
|
*/
|
|
18766
18764
|
this.showWeekNumbers = false;
|
|
18767
18765
|
/**
|
|
18768
|
-
* Controls whether
|
|
18769
|
-
* When set to '
|
|
18770
|
-
* When set to '
|
|
18766
|
+
* Controls whether the user is allowed to pick custom date ranges in the component.
|
|
18767
|
+
* When set to 'true', the user can select a custom date range using the date picker.
|
|
18768
|
+
* When set to 'false', only predefined time date ranges are available for selection.
|
|
18771
18769
|
*/
|
|
18772
|
-
this.
|
|
18770
|
+
this.customRangeAllowed = true;
|
|
18773
18771
|
/**
|
|
18774
18772
|
* An array of predefined date range options for the date picker.
|
|
18775
18773
|
* Each option is an object with a label describing the range and a function
|
|
@@ -18843,7 +18841,7 @@ class DateDropdown {
|
|
|
18843
18841
|
initialize() {
|
|
18844
18842
|
const isCustomRange = this.dateRangeId === 'custom' ||
|
|
18845
18843
|
(!this.dateRangeId && !!this.from && !!this.to);
|
|
18846
|
-
if (isCustomRange &&
|
|
18844
|
+
if (isCustomRange && this.customRangeAllowed) {
|
|
18847
18845
|
this.selectedDateRangeId = 'custom';
|
|
18848
18846
|
this.updateCurrentDate();
|
|
18849
18847
|
return;
|
|
@@ -18913,21 +18911,21 @@ class DateDropdown {
|
|
|
18913
18911
|
}
|
|
18914
18912
|
render() {
|
|
18915
18913
|
var _a, _b, _c;
|
|
18916
|
-
return (hAsync(Host, { key: '
|
|
18914
|
+
return (hAsync(Host, { key: 'b977b971c393e2decb1ee6b5d9a0f289b97a9d49' }, hAsync("ix-button", { key: 'bb9b321daff499f439d555a5bdaca1beac6d945c', "data-testid": "date-dropdown-trigger", "data-date-dropdown-trigger": true, variant: this.variant, loading: this.loading, icon: iconHistory, ref: this.triggerRef, disabled: this.disabled, ariaLabel: this.ariaLabelDropdownButton }, this.getButtonLabel()), hAsync("ix-dropdown", { key: 'a9b816ca1356acaf7de353b30bfd0b248adddb67', "data-testid": "date-dropdown", "data-date-dropdown": true, class: "min-width max-height", trigger: this.triggerRef.waitForCurrent(), closeBehavior: "outside", placement: "bottom-start", onShowChanged: ({ detail: show }) => {
|
|
18917
18915
|
if (!show &&
|
|
18918
18916
|
this.selectedDateRangeId === 'custom' &&
|
|
18919
18917
|
this.datePickerTouched &&
|
|
18920
18918
|
this.currentRangeValue) {
|
|
18921
18919
|
this.onDateSelect(this.currentRangeValue);
|
|
18922
18920
|
}
|
|
18923
|
-
} }, hAsync("ix-layout-grid", { key: '
|
|
18921
|
+
} }, hAsync("ix-layout-grid", { key: '506cb9851836d4afd5cd3389392134711dbf6d06', noMargin: true }, hAsync("ix-row", { key: '3535f191761b9eba9acce33a00cfb0e57fb8dfcf' }, ((_a = this.dateRangeOptions) === null || _a === void 0 ? void 0 : _a.length) > 1 && (hAsync("ix-col", { key: '18aa27777967221e10c5e64463b2f06d00f5cb86', class: {
|
|
18924
18922
|
'no-margin': true,
|
|
18925
18923
|
'border-right': this.selectedDateRangeId === 'custom',
|
|
18926
|
-
} }, this.dateRangeOptions.map((dateRangeOption) => (hAsync("ix-dropdown-item", { label: dateRangeOption.label, onClick: () => this.onRangeListSelect(dateRangeOption.id), checked: this.selectedDateRangeId === dateRangeOption.id }))), hAsync("div", { key: '
|
|
18924
|
+
} }, this.dateRangeOptions.map((dateRangeOption) => (hAsync("ix-dropdown-item", { label: dateRangeOption.label, onClick: () => this.onRangeListSelect(dateRangeOption.id), checked: this.selectedDateRangeId === dateRangeOption.id }))), hAsync("div", { key: '99819aa2022de83a79f9a405e875dd0749ce7e8c', hidden: !this.customRangeAllowed }, hAsync("ix-dropdown-item", { key: 'd60f7d8ada6b1a8835289b39f70c4a2082c3bddc', label: this.i18nCustomItem, checked: this.selectedDateRangeId === 'custom', onClick: () => this.onRangeListSelect('custom') })))), hAsync("ix-col", { key: 'b20fd6accb39f3f91450c9474b726ec5cd80a7e7', class: "no-margin" }, this.selectedDateRangeId === 'custom' && (hAsync(Fragment, { key: '69fe830b8d426b735274ada9e2d600dd0b402f42' }, hAsync("ix-date-picker", { key: 'bcfd9bcfa0517dfd8947ce39668bfd2a9e732708', standaloneAppearance: false, locale: this.locale, onDateChange: (e) => {
|
|
18927
18925
|
e.stopPropagation();
|
|
18928
18926
|
this.currentRangeValue = Object.assign(Object.assign({}, e.detail), { id: 'custom' });
|
|
18929
18927
|
this.datePickerTouched = true;
|
|
18930
|
-
}, onDateRangeChange: (e) => e.stopPropagation(), format: this.format,
|
|
18928
|
+
}, onDateRangeChange: (e) => e.stopPropagation(), format: this.format, range: this.range, from: this.from || ((_b = this.currentRangeValue) === null || _b === void 0 ? void 0 : _b.from), to: this.to || ((_c = this.currentRangeValue) === null || _c === void 0 ? void 0 : _c.to), minDate: this.minDate, maxDate: this.maxDate, today: this.today, weekStartIndex: this.weekStartIndex, showWeekNumbers: this.showWeekNumbers }), hAsync("div", { key: '08f452db2c829fbb0e6e25e0c3ea38bb0c4a5361', class: "pull-right" }, hAsync("ix-button", { key: '33b0f283488347219afb840cfcdf92e308da58de', onClick: () => {
|
|
18931
18929
|
if (this.currentRangeValue) {
|
|
18932
18930
|
this.onDateSelect(this.currentRangeValue);
|
|
18933
18931
|
}
|
|
@@ -18948,7 +18946,7 @@ class DateDropdown {
|
|
|
18948
18946
|
"$members$": {
|
|
18949
18947
|
"disabled": [4],
|
|
18950
18948
|
"format": [1],
|
|
18951
|
-
"
|
|
18949
|
+
"range": [4],
|
|
18952
18950
|
"from": [1],
|
|
18953
18951
|
"to": [1],
|
|
18954
18952
|
"minDate": [1, "min-date"],
|
|
@@ -18958,7 +18956,7 @@ class DateDropdown {
|
|
|
18958
18956
|
"loading": [4],
|
|
18959
18957
|
"showWeekNumbers": [4, "show-week-numbers"],
|
|
18960
18958
|
"ariaLabelDropdownButton": [1, "aria-label-dropdown-button"],
|
|
18961
|
-
"
|
|
18959
|
+
"customRangeAllowed": [4, "custom-range-allowed"],
|
|
18962
18960
|
"dateRangeOptions": [16, "date-range-options"],
|
|
18963
18961
|
"locale": [1],
|
|
18964
18962
|
"weekStartIndex": [2, "week-start-index"],
|
|
@@ -19641,15 +19639,15 @@ class DateInput {
|
|
|
19641
19639
|
const invalidText = this.isInputInvalid
|
|
19642
19640
|
? this.i18nErrorDateUnparsable
|
|
19643
19641
|
: this.invalidText;
|
|
19644
|
-
return (hAsync(Host, { key: '
|
|
19642
|
+
return (hAsync(Host, { key: '5c7284b0afd8b3ee906370beb4b7e872a849f5cb', class: {
|
|
19645
19643
|
disabled: this.disabled,
|
|
19646
19644
|
readonly: this.readonly,
|
|
19647
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
19645
|
+
} }, hAsync("ix-field-wrapper", { key: '5e8c3a6dd37625cb818438fd8e0c7bef6daa46a1', label: this.label, helperText: this.helperText, isInvalid: this.isInvalid, invalidText: invalidText, infoText: this.infoText, isInfo: this.isInfo, isWarning: this.isWarning, warningText: this.warningText, isValid: this.isValid, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, required: this.required, controlRef: this.inputElementRef }, this.renderInput()), hAsync("ix-dropdown", { key: '5bffd40d906d1e1e929b4a6041ff2cec6f857d34', "data-testid": "date-dropdown", trigger: this.inputElementRef.waitForCurrent(), ref: this.dropdownElementRef, closeBehavior: "outside", suppressOverflowBehavior: true, show: this.show, onShowChanged: (event) => {
|
|
19648
19646
|
this.show = event.detail;
|
|
19649
|
-
} }, hAsync("ix-date-picker", { key: '
|
|
19647
|
+
} }, hAsync("ix-date-picker", { key: '56b7f9d28a733952ee5ea0e1555f88295f10f50e', ref: this.datepickerRef, format: this.format, locale: this.locale, range: false, from: (_a = this.from) !== null && _a !== void 0 ? _a : '', minDate: this.minDate, maxDate: this.maxDate, onDateChange: (event) => {
|
|
19650
19648
|
const { from } = event.detail;
|
|
19651
19649
|
this.onInput(from);
|
|
19652
|
-
}, showWeekNumbers: this.showWeekNumbers, ariaLabelNextMonthButton: this.ariaLabelNextMonthButton, ariaLabelPreviousMonthButton: this.ariaLabelPreviousMonthButton,
|
|
19650
|
+
}, showWeekNumbers: this.showWeekNumbers, ariaLabelNextMonthButton: this.ariaLabelNextMonthButton, ariaLabelPreviousMonthButton: this.ariaLabelPreviousMonthButton, standaloneAppearance: false }))));
|
|
19653
19651
|
}
|
|
19654
19652
|
static get formAssociated() { return true; }
|
|
19655
19653
|
get hostElement() { return getElement(this); }
|
|
@@ -19811,9 +19809,9 @@ class DatePicker {
|
|
|
19811
19809
|
*/
|
|
19812
19810
|
this.format = 'yyyy/LL/dd';
|
|
19813
19811
|
/**
|
|
19814
|
-
* If true
|
|
19812
|
+
* If true a date-range can be selected (from/to).
|
|
19815
19813
|
*/
|
|
19816
|
-
this.
|
|
19814
|
+
this.range = true;
|
|
19817
19815
|
/**
|
|
19818
19816
|
* Corner style
|
|
19819
19817
|
*/
|
|
@@ -19844,7 +19842,7 @@ class DatePicker {
|
|
|
19844
19842
|
*/
|
|
19845
19843
|
this.showWeekNumbers = false;
|
|
19846
19844
|
/** @internal */
|
|
19847
|
-
this.
|
|
19845
|
+
this.standaloneAppearance = true;
|
|
19848
19846
|
/** @internal */
|
|
19849
19847
|
this.today = DateTime.now().toISO();
|
|
19850
19848
|
this.selectedYear = 0;
|
|
@@ -19900,7 +19898,7 @@ class DatePicker {
|
|
|
19900
19898
|
const _to = ((_c = this.currToDate) === null || _c === void 0 ? void 0 : _c.isValid)
|
|
19901
19899
|
? (_d = this.currToDate) === null || _d === void 0 ? void 0 : _d.toFormat(this.format)
|
|
19902
19900
|
: undefined;
|
|
19903
|
-
if (
|
|
19901
|
+
if (this.range) {
|
|
19904
19902
|
return {
|
|
19905
19903
|
from: _from,
|
|
19906
19904
|
to: _to,
|
|
@@ -20150,7 +20148,7 @@ class DatePicker {
|
|
|
20150
20148
|
return;
|
|
20151
20149
|
}
|
|
20152
20150
|
const date = DateTime.fromJSDate(new Date(this.selectedYear, this.selectedMonth, selectedDay));
|
|
20153
|
-
if (this.
|
|
20151
|
+
if (!this.range || this.currFromDate === undefined) {
|
|
20154
20152
|
this.currFromDate = date;
|
|
20155
20153
|
this.onDateChange();
|
|
20156
20154
|
return;
|
|
@@ -20176,7 +20174,7 @@ class DatePicker {
|
|
|
20176
20174
|
onDateChange() {
|
|
20177
20175
|
this.getCurrentDate().then((date) => {
|
|
20178
20176
|
this.dateChange.emit(date);
|
|
20179
|
-
if (
|
|
20177
|
+
if (this.range) {
|
|
20180
20178
|
this.dateRangeChange.emit(date);
|
|
20181
20179
|
}
|
|
20182
20180
|
});
|
|
@@ -20189,12 +20187,12 @@ class DatePicker {
|
|
|
20189
20187
|
'calendar-item': true,
|
|
20190
20188
|
'empty-day': day === undefined,
|
|
20191
20189
|
today: todayObj.hasSame(selectedDayObj, 'day'),
|
|
20192
|
-
selected:
|
|
20193
|
-
((_b = this.currToDate) === null || _b === void 0 ? void 0 : _b.hasSame(selectedDayObj, 'day'))
|
|
20194
|
-
range:
|
|
20190
|
+
selected: ((_a = this.currFromDate) === null || _a === void 0 ? void 0 : _a.hasSame(selectedDayObj, 'day')) ||
|
|
20191
|
+
((_b = this.currToDate) === null || _b === void 0 ? void 0 : _b.hasSame(selectedDayObj, 'day')),
|
|
20192
|
+
range: this.currFromDate &&
|
|
20195
20193
|
selectedDayObj.startOf('day') > this.currFromDate.startOf('day') &&
|
|
20196
20194
|
this.currToDate !== undefined &&
|
|
20197
|
-
selectedDayObj.startOf('day') < ((_c = this.currToDate) === null || _c === void 0 ? void 0 : _c.startOf('day'))
|
|
20195
|
+
selectedDayObj.startOf('day') < ((_c = this.currToDate) === null || _c === void 0 ? void 0 : _c.startOf('day')),
|
|
20198
20196
|
disabled: !this.isWithinMinMaxDate(selectedDayObj),
|
|
20199
20197
|
};
|
|
20200
20198
|
}
|
|
@@ -20261,7 +20259,7 @@ class DatePicker {
|
|
|
20261
20259
|
return rows;
|
|
20262
20260
|
}
|
|
20263
20261
|
render() {
|
|
20264
|
-
return (hAsync(Host, { key: '
|
|
20262
|
+
return (hAsync(Host, { key: '3b20ed51203020978076dedd30ac649d16d7fd80' }, hAsync("ix-date-time-card", { key: 'a005b3d5e293d1985d0130b343e260f0c5eb9451', corners: this.corners, standaloneAppearance: this.standaloneAppearance }, hAsync("div", { key: '93646df15f3c696b994a5bf70d69c37514aaebd4', class: "header", slot: "header" }, hAsync("ix-icon-button", { key: 'f523e9357c8584bd244138964b2a04364d4937c2', onClick: () => this.changeToAdjacentMonth(-1), icon: iconChevronLeftSmall, variant: "tertiary", class: "arrows", "aria-label": this.ariaLabelPreviousMonthButton }), hAsync("div", { key: '038c847b675c52204e25af48175b260ae1fb0ae2', class: "selector" }, hAsync("ix-button", { key: 'e6c55b9c49452e03c9c5810d4e6a8a6363dfbc24', variant: "tertiary", ref: this.dropdownButtonRef, "data-testid": "year-month-button" }, hAsync("span", { key: 'a1a1a13112a61835a766ecbc64088d8b6f4bf4b2', class: "fontSize capitalize" }, this.monthNames[this.selectedMonth], " ", this.selectedYear)), hAsync("ix-dropdown", { key: '6b769eb21fb7effecc71f169e43155ae2b71055e', "data-testid": "year-month-dropdown", class: "dropdown", trigger: this.dropdownButtonRef.waitForCurrent(), ignoreRelatedSubmenu: true, placement: "bottom-start" }, hAsync("div", { key: '40403e97d28c97fd1da57968051e7ee4381ce307', class: "wrapper" }, hAsync("div", { key: '930ab7db24ffe11d38fd01c01599d8b8b4c9bb66', "data-testid": "year-container", class: "overflow", onScroll: () => this.infiniteScrollYears(), ref: this.yearContainerRef }, this.renderYears()), hAsync("div", { key: '4204d51c76c8420673966c9f98270dafdf78aebd', class: "overflow", "data-testid": "month-container" }, this.monthNames.map((month, index) => (hAsync("div", { key: month, ref: (ref) => {
|
|
20265
20263
|
if (month === this.monthNames[0]) {
|
|
20266
20264
|
this.firstMonthRef(ref);
|
|
20267
20265
|
}
|
|
@@ -20275,10 +20273,10 @@ class DatePicker {
|
|
|
20275
20273
|
hidden: this.tempYear !== this.selectedYear ||
|
|
20276
20274
|
this.tempMonth !== index,
|
|
20277
20275
|
checkPosition: true,
|
|
20278
|
-
}, name: iconSingleCheck, size: "16" }), hAsync("div", null, hAsync("span", { class: "capitalize monthMargin" }, `${month} ${this.tempYear}`))))))))), hAsync("ix-icon-button", { key: '
|
|
20276
|
+
}, name: iconSingleCheck, size: "16" }), hAsync("div", null, hAsync("span", { class: "capitalize monthMargin" }, `${month} ${this.tempYear}`))))))))), hAsync("ix-icon-button", { key: '2a36d2b492c6f3761d6538945ebdc627bc082efc', onClick: () => this.changeToAdjacentMonth(1), icon: iconChevronRightSmall, variant: "tertiary", class: "arrows", "aria-label": this.ariaLabelNextMonthButton })), hAsync("div", { key: '09fee287b15f21b7f615f52d1bbfd3baea3d2356', class: {
|
|
20279
20277
|
grid: true,
|
|
20280
20278
|
'grid--show-week-numbers': this.showWeekNumbers,
|
|
20281
|
-
} }, this.showWeekNumbers && hAsync("div", { key: '
|
|
20279
|
+
} }, this.showWeekNumbers && hAsync("div", { key: 'b07745571edb138152eba523bea081ce49c3637e', class: "calendar-item week-day" }), this.dayNames.map((name) => (hAsync("div", { key: name, class: "calendar-item week-day" }, hAsync("div", { class: "overflow" }, name.slice(0, 3))))), this.calendar.map((week) => {
|
|
20282
20280
|
return (hAsync(Fragment, null, this.showWeekNumbers && (hAsync("div", { class: "calendar-item week-number" }, week.weekNumber)), week.dayNumbers.map((day) => {
|
|
20283
20281
|
return day ? (hAsync("div", { key: day, id: `day-cell-${day}`, "date-calender-day": true, class: this.getDayClasses(day), onClick: (e) => {
|
|
20284
20282
|
const target = e.currentTarget;
|
|
@@ -20290,10 +20288,10 @@ class DatePicker {
|
|
|
20290
20288
|
}
|
|
20291
20289
|
}, tabIndex: day === this.focusedDay ? 0 : -1, onFocus: () => this.onDayFocus(), onBlur: () => this.onDayBlur(), "aria-label": `${this.selectedMonth}: ${day}` }, day)) : (hAsync("div", null));
|
|
20292
20290
|
})));
|
|
20293
|
-
})), hAsync("div", { key: '
|
|
20291
|
+
})), hAsync("div", { key: '5dc8efc666c7568ec2a3f59d5fa862e6a128c9e9', class: {
|
|
20294
20292
|
button: true,
|
|
20295
|
-
hidden: this.
|
|
20296
|
-
} }, hAsync("ix-button", { key: '
|
|
20293
|
+
hidden: !this.range || !this.standaloneAppearance,
|
|
20294
|
+
} }, hAsync("ix-button", { key: 'e42f6039dc5e3fb17dc105208c6028953281feff', onClick: () => this.onDone() }, this.i18nDone)))));
|
|
20297
20295
|
}
|
|
20298
20296
|
get hostElement() { return getElement(this); }
|
|
20299
20297
|
static get watchers() { return {
|
|
@@ -20307,7 +20305,7 @@ class DatePicker {
|
|
|
20307
20305
|
"$tagName$": "ix-date-picker",
|
|
20308
20306
|
"$members$": {
|
|
20309
20307
|
"format": [1],
|
|
20310
|
-
"
|
|
20308
|
+
"range": [4],
|
|
20311
20309
|
"corners": [1],
|
|
20312
20310
|
"from": [1],
|
|
20313
20311
|
"to": [1],
|
|
@@ -20319,7 +20317,7 @@ class DatePicker {
|
|
|
20319
20317
|
"weekStartIndex": [2, "week-start-index"],
|
|
20320
20318
|
"locale": [1],
|
|
20321
20319
|
"showWeekNumbers": [4, "show-week-numbers"],
|
|
20322
|
-
"
|
|
20320
|
+
"standaloneAppearance": [4, "standalone-appearance"],
|
|
20323
20321
|
"today": [1],
|
|
20324
20322
|
"currFromDate": [32],
|
|
20325
20323
|
"currToDate": [32],
|
|
@@ -20361,15 +20359,20 @@ class DateTimeCard {
|
|
|
20361
20359
|
* Display footer
|
|
20362
20360
|
*/
|
|
20363
20361
|
this.hasFooter = false;
|
|
20362
|
+
/**
|
|
20363
|
+
* set styles
|
|
20364
|
+
*/
|
|
20365
|
+
this.individual = true;
|
|
20364
20366
|
/**
|
|
20365
20367
|
* Set corners style
|
|
20366
20368
|
*/
|
|
20367
20369
|
this.corners = 'rounded';
|
|
20368
20370
|
}
|
|
20369
20371
|
cardClasses() {
|
|
20372
|
+
var _a;
|
|
20370
20373
|
return {
|
|
20371
20374
|
card: true,
|
|
20372
|
-
standaloneAppearance: this.
|
|
20375
|
+
standaloneAppearance: (_a = this.standaloneAppearance) !== null && _a !== void 0 ? _a : this.individual,
|
|
20373
20376
|
rounded: this.corners === 'rounded',
|
|
20374
20377
|
left: this.corners === 'left',
|
|
20375
20378
|
right: this.corners === 'right',
|
|
@@ -20377,20 +20380,21 @@ class DateTimeCard {
|
|
|
20377
20380
|
};
|
|
20378
20381
|
}
|
|
20379
20382
|
render() {
|
|
20380
|
-
return (hAsync(Host, { key: '
|
|
20383
|
+
return (hAsync(Host, { key: '1917611940e9015bd69c54a4d727490e32c6296a' }, hAsync("div", { key: 'd962cf1ab891fb257bdef627c19bf5265ac7ad06', class: this.cardClasses() }, !this.hideHeader && (hAsync("div", { key: '97ede2ac6f96e0802cd47deaa2ac19a6ffbb5d9c', class: "header-container" }, hAsync("div", { key: '14dc85b4c1141543db4069245981712e4ddc6632', class: "header" }, hAsync("slot", { key: '2f1656c886787682ed7b6c6cc340476664f61cee', name: "header" })), hAsync("div", { key: '6e5931822bd606f3c5851528ba2a61dde147eabc', class: "separator" }))), hAsync("div", { key: '1c90b793333c65471f03a8201206968b7f9e754c', class: {
|
|
20381
20384
|
content: true,
|
|
20382
20385
|
'content--time-picker': this.timePickerAppearance,
|
|
20383
|
-
} }, hAsync("slot", { key: '
|
|
20386
|
+
} }, hAsync("slot", { key: '9048c1df91da871f53bc050a83c50ccdc94cbaf4' })), this.hasFooter && (hAsync("div", { key: 'e3dcb1d1dc3aaaef5e7fca2456dd8fa84d0d5b05', class: "footer-container" }, hAsync("div", { key: '6f1433df5e0a8fcc4ecc5b49312e84ace6c25a2c', class: "separator" }), hAsync("div", { key: 'fa7fd4952aeb197504dd660857846c7d50146ebe', class: "footer" }, hAsync("slot", { key: '0493e93bf1fc30281bfe9e1e0fdc051d68edba61', name: "footer" })))))));
|
|
20384
20387
|
}
|
|
20385
20388
|
static get style() { return dateTimeCardCss; }
|
|
20386
20389
|
static get cmpMeta() { return {
|
|
20387
20390
|
"$flags$": 265,
|
|
20388
20391
|
"$tagName$": "ix-date-time-card",
|
|
20389
20392
|
"$members$": {
|
|
20390
|
-
"
|
|
20393
|
+
"standaloneAppearance": [4, "standalone-appearance"],
|
|
20391
20394
|
"timePickerAppearance": [4, "time-picker-appearance"],
|
|
20392
20395
|
"hideHeader": [4, "hide-header"],
|
|
20393
20396
|
"hasFooter": [4, "has-footer"],
|
|
20397
|
+
"individual": [4],
|
|
20394
20398
|
"corners": [1]
|
|
20395
20399
|
},
|
|
20396
20400
|
"$listeners$": undefined,
|
|
@@ -20408,9 +20412,27 @@ class DatetimePicker {
|
|
|
20408
20412
|
this.dateChange = createEvent(this, "dateChange", 7);
|
|
20409
20413
|
this.dateSelect = createEvent(this, "dateSelect", 7);
|
|
20410
20414
|
/**
|
|
20411
|
-
* If true
|
|
20415
|
+
* If true a date-range can be selected (from/to).
|
|
20416
|
+
*/
|
|
20417
|
+
this.range = true;
|
|
20418
|
+
/**
|
|
20419
|
+
* Show hour input
|
|
20420
|
+
*
|
|
20421
|
+
* @deprecated This is now determined by the format that is used. Will be removed in 4.0.0
|
|
20422
|
+
*/
|
|
20423
|
+
this.showHour = true;
|
|
20424
|
+
/**
|
|
20425
|
+
* Show minutes input
|
|
20426
|
+
*
|
|
20427
|
+
* @deprecated This is now determined by the format that is used. Will be removed in 4.0.0
|
|
20412
20428
|
*/
|
|
20413
|
-
this.
|
|
20429
|
+
this.showMinutes = true;
|
|
20430
|
+
/**
|
|
20431
|
+
* Show seconds input
|
|
20432
|
+
*
|
|
20433
|
+
* @deprecated This is now determined by the format that is used. Will be removed in 4.0.0
|
|
20434
|
+
*/
|
|
20435
|
+
this.showSeconds = true;
|
|
20414
20436
|
/**
|
|
20415
20437
|
* Date format string.
|
|
20416
20438
|
* See {@link https://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens.
|
|
@@ -20471,14 +20493,17 @@ class DatetimePicker {
|
|
|
20471
20493
|
this.timeChange.emit(time);
|
|
20472
20494
|
}
|
|
20473
20495
|
render() {
|
|
20474
|
-
return (hAsync(Host, { key: '
|
|
20496
|
+
return (hAsync(Host, { key: '92375c17933eb17041b078bbf8622552ded46226' }, hAsync("ix-layout-grid", { key: '012e77c15f250b7290926ef0cc9ea65ddfdc556f', class: "no-padding" }, hAsync("ix-row", { key: 'f495ce2c17a5ae0614be00b56a8be1214848e1cb' }, hAsync("ix-col", { key: 'd2863b9d3b90ed0e5d301ae595aec677f01a835f' }, hAsync("ix-date-picker", { key: '6586694bc13fc752d2fb29f2728ceb37ca31c336', ref: (ref) => (this.datePickerElement = ref), corners: "left", range: this.range, onDateChange: (event) => this.onDateChange(event), from: this.from, to: this.to, format: this.dateFormat, minDate: this.minDate, maxDate: this.maxDate, weekStartIndex: this.weekStartIndex, standaloneAppearance: false, locale: this.locale, showWeekNumbers: this.showWeekNumbers, ariaLabelPreviousMonthButton: this.ariaLabelPreviousMonthButton, ariaLabelNextMonthButton: this.ariaLabelNextMonthButton })), hAsync("ix-col", { key: 'e8ea30ea905b964be809634e21f17a57d664c62d' }, hAsync("ix-time-picker", { key: '106449dfab4cc641f179aea35068f36e95f50140', class: "min-width", ref: (ref) => (this.timePickerElement = ref), standaloneAppearance: false, dateTimePickerAppearance: true, onTimeChange: (event) => this.onTimeChange(event), format: this.timeFormat, textTime: this.i18nTime, time: this.time, showHour: this.showHour, showMinutes: this.showMinutes, showSeconds: this.showSeconds }), hAsync("div", { key: 'f4c41e1e9e9513a6a37b7f0111d64ef9e6be1adf', class: "btn-select-date-container" }, hAsync("ix-button", { key: '9fc8c6549c17e40a062e8e8a387e564822de4842', class: "btn-select-date", onClick: () => this.onDone() }, this.i18nDone)))))));
|
|
20475
20497
|
}
|
|
20476
20498
|
static get style() { return datetimePickerCss; }
|
|
20477
20499
|
static get cmpMeta() { return {
|
|
20478
20500
|
"$flags$": 265,
|
|
20479
20501
|
"$tagName$": "ix-datetime-picker",
|
|
20480
20502
|
"$members$": {
|
|
20481
|
-
"
|
|
20503
|
+
"range": [4],
|
|
20504
|
+
"showHour": [4, "show-hour"],
|
|
20505
|
+
"showMinutes": [4, "show-minutes"],
|
|
20506
|
+
"showSeconds": [4, "show-seconds"],
|
|
20482
20507
|
"minDate": [1, "min-date"],
|
|
20483
20508
|
"maxDate": [1, "max-date"],
|
|
20484
20509
|
"dateFormat": [1, "date-format"],
|
|
@@ -20539,7 +20564,6 @@ class Drawer {
|
|
|
20539
20564
|
/**
|
|
20540
20565
|
* Fired in case of an outside click during drawer showed state
|
|
20541
20566
|
*/
|
|
20542
|
-
// eslint-disable-next-line @stencil-community/ban-default-true
|
|
20543
20567
|
this.closeOnClickOutside = true;
|
|
20544
20568
|
/**
|
|
20545
20569
|
* Render the drawer with maximum height
|
|
@@ -20650,7 +20674,7 @@ class Drawer {
|
|
|
20650
20674
|
this.toggleDrawer(this.show);
|
|
20651
20675
|
}
|
|
20652
20676
|
render() {
|
|
20653
|
-
return (hAsync(Host, { key: '
|
|
20677
|
+
return (hAsync(Host, { key: '7be961a99e8e7ada4525260428b8cb05e9699813', class: {
|
|
20654
20678
|
'drawer-container': true,
|
|
20655
20679
|
'display-none': true,
|
|
20656
20680
|
}, style: {
|
|
@@ -20658,15 +20682,15 @@ class Drawer {
|
|
|
20658
20682
|
'max-width': `${this.maxWidth}rem`,
|
|
20659
20683
|
height: this.fullHeight ? '100%' : 'auto',
|
|
20660
20684
|
overflow: 'hidden',
|
|
20661
|
-
}, ref: (el) => (this.divElement = el), "data-testid": "container", id: "div-container" }, hAsync("div", { key: '
|
|
20685
|
+
}, ref: (el) => (this.divElement = el), "data-testid": "container", id: "div-container" }, hAsync("div", { key: '5c2b3998afbfb0d0f01b2a2634c6e6d28077af27', style: {
|
|
20662
20686
|
width: this.width === 'auto'
|
|
20663
20687
|
? 'auto'
|
|
20664
20688
|
: `${this.getConstrainedWidth(this.width)}rem`,
|
|
20665
|
-
} }, hAsync("div", { key: '
|
|
20689
|
+
} }, hAsync("div", { key: 'b82cde6e8125ea023a8d553434ec399f681038a9', class: "header" }, hAsync("div", { key: '5aa258a2f3cdcb742993993ea0ed9bca152c2db3', class: "header-content" }, hAsync("slot", { key: 'ef89dbef6fbc0cad872effee17836f82be5dc219', name: "header" })), hAsync("ix-icon-button", { key: '461b4ece5fb4933b84174f51ee25d7de19de3843', class: "close-button", style: {
|
|
20666
20690
|
display: this.showContent ? 'block' : 'none',
|
|
20667
|
-
}, icon: iconClose, iconColor: "color-soft-text", size: "24", variant: "tertiary", onClick: () => this.onCloseClicked(), "data-testid": "close-button", "aria-label": this.ariaLabelCloseButton })), hAsync("div", { key: '
|
|
20691
|
+
}, icon: iconClose, iconColor: "color-soft-text", size: "24", variant: "tertiary", onClick: () => this.onCloseClicked(), "data-testid": "close-button", "aria-label": this.ariaLabelCloseButton })), hAsync("div", { key: 'f1d1735e2ae9d8ee33771bd3d11459bb3ac84d65', class: "content", style: {
|
|
20668
20692
|
display: this.showContent ? 'block' : 'none',
|
|
20669
|
-
} }, hAsync("slot", { key: '
|
|
20693
|
+
} }, hAsync("slot", { key: 'c1506217b6b73a685df75906356c3c1f29470d46' })))));
|
|
20670
20694
|
}
|
|
20671
20695
|
static get watchers() { return {
|
|
20672
20696
|
"show": ["onShowChanged"]
|
|
@@ -23237,9 +23261,9 @@ class EventList {
|
|
|
23237
23261
|
*/
|
|
23238
23262
|
this.compact = false;
|
|
23239
23263
|
/**
|
|
23240
|
-
* Animate state change transitions. Defaults to '
|
|
23264
|
+
* Animate state change transitions. Defaults to 'true'.
|
|
23241
23265
|
*/
|
|
23242
|
-
this.animated =
|
|
23266
|
+
this.animated = true;
|
|
23243
23267
|
/**
|
|
23244
23268
|
* Display a chevron icon in list items. Defaults to 'false'
|
|
23245
23269
|
*/
|
|
@@ -23340,11 +23364,11 @@ class EventList {
|
|
|
23340
23364
|
});
|
|
23341
23365
|
}
|
|
23342
23366
|
render() {
|
|
23343
|
-
return (hAsync(Host, { key: '
|
|
23367
|
+
return (hAsync(Host, { key: '754948a81d85157177bfff7afeee4f4851540c4d', class: {
|
|
23344
23368
|
'item-size-s': this.itemHeight === 'S',
|
|
23345
23369
|
'item-size-l': this.itemHeight === 'L',
|
|
23346
23370
|
compact: this.compact,
|
|
23347
|
-
} }, hAsync("div", { key: '
|
|
23371
|
+
} }, hAsync("div", { key: '27c68dcf3eeddc91e31bd1bb3abd3f933aa3cbdf', role: "list" }, hAsync("slot", { key: '828bb7c4b9b39cfb6aff66f0cbe35b0705ae6419' }))));
|
|
23348
23372
|
}
|
|
23349
23373
|
get hostElement() { return getElement(this); }
|
|
23350
23374
|
static get watchers() { return {
|
|
@@ -23644,7 +23668,7 @@ class FieldWrapper {
|
|
|
23644
23668
|
}; }
|
|
23645
23669
|
}
|
|
23646
23670
|
|
|
23647
|
-
const filterChipCss = ":host{display:inline-flex;align-items:center;justify-content:space-between;height:1.5rem;padding-left:0.5rem;border:var(--theme-focus--border-thickness) solid var(--theme-chip-primary-outline--border-color);border-radius:2rem;background-color:var(--theme-color-ghost);color:var(--theme-chip-primary-outline--color)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .slot-container :host-context(.disabled){background-color:var(--theme-color-ghost);border-color:var(--theme-color-component-4);color:var(--theme-color-weak-text)}:host ix-icon-button{height:1.5rem;margin-left:0.25rem}:host ix-icon-button:not(.disabled):not(:disabled):focus-visible{outline:none}:host(.disabled){border:var(--theme-focus--border-thickness) solid var(--theme-color-component-4);color:var(--theme-color-weak-text);padding-right:0.5rem;cursor:default}:host(.readonly){padding-right:0.5rem}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:hover:not(.disabled):not(:disabled)){background-color:var(--theme-color-ghost-primary--hover);border-color:var(--theme-chip-primary-outline--border-color--hover);color:var(--theme-chip-primary-outline--color--hover)}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:active:not(.disabled):not(:disabled)){background-color:var(--theme-color-ghost-primary--active);border-color:var(--theme-chip-primary-outline--border-color--active);color:var(--theme-chip-primary-outline--color--active)}:host(:focus-visible:not(.disabled):not(:disabled)){outline:var(--theme-color-focus-bdr) solid var(--theme-focus--border-thickness);outline-offset:-0.125rem}";
|
|
23671
|
+
const filterChipCss = ":host{display:inline-flex;align-items:center;justify-content:space-between;height:1.5rem;padding-left:0.5rem;border:var(--theme-focus--border-thickness) solid var(--theme-chip-primary-outline--border-color);border-radius:2rem;background-color:var(--theme-color-ghost);color:var(--theme-chip-primary-outline--color)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem}:host .slot-container :host-context(.disabled){background-color:var(--theme-color-ghost);border-color:var(--theme-color-component-4);color:var(--theme-color-weak-text)}:host ix-icon-button{height:1.5rem;margin-left:0.25rem}:host ix-icon-button:not(.disabled):not(:disabled):focus-visible{outline:none}:host(.disabled){border:var(--theme-focus--border-thickness) solid var(--theme-color-component-4);color:var(--theme-color-weak-text);padding-right:0.5rem;cursor:default}:host(.readonly){padding-right:0.5rem}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:hover:not(.disabled):not(:disabled)){background-color:var(--theme-color-ghost-primary--hover);border-color:var(--theme-chip-primary-outline--border-color--hover);color:var(--theme-chip-primary-outline--color--hover)}:host(:not(.disabled):not(:disabled)){cursor:pointer}:host(:active:not(.disabled):not(:disabled)){background-color:var(--theme-color-ghost-primary--active);border-color:var(--theme-chip-primary-outline--border-color--active);color:var(--theme-chip-primary-outline--color--active)}:host(:focus-visible:not(.disabled):not(:disabled)){outline:var(--theme-color-focus-bdr) solid var(--theme-focus--border-thickness);outline-offset:-0.125rem}";
|
|
23648
23672
|
|
|
23649
23673
|
class FilterChip {
|
|
23650
23674
|
constructor(hostRef) {
|
|
@@ -23986,22 +24010,22 @@ class FormFieldLabel {
|
|
|
23986
24010
|
}; }
|
|
23987
24011
|
}
|
|
23988
24012
|
|
|
23989
|
-
const groupCss = ":host{display:flex;flex-direction:column;position:relative;width:19.75rem;min-width:12rem;border-color:var(--theme-group-item--border-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .group-header{height:4rem;min-height:4rem;max-height:4rem;border-radius:var(--theme-group--border-radius) var(--theme-group--border-radius) 0 0;display:flex;background-color:var(--theme-group-item--background);color:var(--theme-group-header--color);cursor:pointer}:host .group-header:not(.disabled):not(:disabled){cursor:pointer}:host .group-header:not(.disabled):not(:disabled):hover,:host .group-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-group-item--background--hover)}:host .group-header:not(.disabled):not(:disabled):hover.selected,:host .group-header:not(.disabled):not(:disabled).hover.selected{background-color:var(--theme-group-item--background--selected)}:host .group-header:not(.disabled):not(:disabled){cursor:pointer}:host .group-header:not(.disabled):not(:disabled):active,:host .group-header:not(.disabled):not(:disabled).active{background-color:var(--theme-group-item--background--active)}:host .group-header:not(.disabled):not(:disabled):active.selected,:host .group-header:not(.disabled):not(:disabled).active.selected{background-color:var(--theme-group-item--background--selected)}:host .group-header:not(.disabled):not(:disabled):focus-visible{
|
|
24013
|
+
const groupCss = ":host{display:flex;flex-direction:column;position:relative;width:19.75rem;min-width:12rem;border-color:var(--theme-group-item--border-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .group-header{height:4rem;min-height:4rem;max-height:4rem;border-radius:var(--theme-group--border-radius) var(--theme-group--border-radius) 0 0;display:flex;background-color:var(--theme-group-item--background);color:var(--theme-group-header--color);cursor:pointer}:host .group-header:not(.disabled):not(:disabled){cursor:pointer}:host .group-header:not(.disabled):not(:disabled):hover,:host .group-header:not(.disabled):not(:disabled).hover{background-color:var(--theme-group-item--background--hover)}:host .group-header:not(.disabled):not(:disabled):hover.selected,:host .group-header:not(.disabled):not(:disabled).hover.selected{background-color:var(--theme-group-item--background--selected)}:host .group-header:not(.disabled):not(:disabled){cursor:pointer}:host .group-header:not(.disabled):not(:disabled):active,:host .group-header:not(.disabled):not(:disabled).active{background-color:var(--theme-group-item--background--active)}:host .group-header:not(.disabled):not(:disabled):active.selected,:host .group-header:not(.disabled):not(:disabled).active.selected{background-color:var(--theme-group-item--background--selected)}:host .group-header:not(.disabled):not(:disabled):focus-visible{border:1px solid var(--theme-color-focus-bdr);border-radius:var(--theme-default-border-radius) var(--theme-default-border-radius) 0px 0px;outline:none}:host .group-header.selected{background-color:var(--theme-group-item--background--selected)}:host .group-header.selected .group-header-selection-indicator{background-color:var(--theme-group-item-indicator--background--selected)}:host .group-header .group-header-selection-indicator{background-color:var(--theme-color-input--focus)}:host .group-header .group-header-selection-indicator.group-header-selection-indicator-item-selected{background-color:var(--theme-group-item-indicator--background--selected)}:host .group-header-clickable{display:flex;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .group-header-selection-indicator{width:0.25rem;border-top-left-radius:var(--theme-group--border-radius)}:host .group-header-content{display:flex;flex-direction:row;justify-content:space-between;min-width:0;flex-grow:1;flex-basis:0;padding:0.5rem;padding-left:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .group-header-content .group-header-props-container{width:100%}:host .group-header-content .group-header-title{display:flex;align-items:center;font-size:1rem;font-weight:700;height:1.5rem}:host .group-header-content .group-header-title>*{min-width:0;padding-right:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .group-header-content .group-subheader{height:1.25rem;font-size:0.875rem;color:var(--theme-group-subheader--color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .expand-icon{padding:0.125rem 0.437rem;color:var(--theme-color-std-text)}:host .btn-expand-header{margin:0.5rem;margin-inline-end:0.25rem;min-width:1.5rem}:host .group-content{display:flex;flex-direction:column;gap:1px;margin-top:1px}:host .footer{visibility:collapse;height:auto;min-height:0}:host .footer-visible{visibility:visible}:host .hidden{display:none}";
|
|
23990
24014
|
|
|
23991
24015
|
class Group {
|
|
23992
24016
|
constructor(hostRef) {
|
|
23993
24017
|
registerInstance(this, hostRef);
|
|
23994
24018
|
this.selectGroup = createEvent(this, "selectGroup", 7);
|
|
23995
24019
|
this.selectItem = createEvent(this, "selectItem", 7);
|
|
23996
|
-
this.
|
|
24020
|
+
this.collapsedChanged = createEvent(this, "collapsedChanged", 7);
|
|
23997
24021
|
/**
|
|
23998
24022
|
* Prevent header from being selectable
|
|
23999
24023
|
*/
|
|
24000
24024
|
this.suppressHeaderSelection = false;
|
|
24001
24025
|
/**
|
|
24002
|
-
* Whether the group is
|
|
24026
|
+
* Whether the group is collapsed or expanded. Defaults to true.
|
|
24003
24027
|
*/
|
|
24004
|
-
this.
|
|
24028
|
+
this.collapsed = true;
|
|
24005
24029
|
/**
|
|
24006
24030
|
* Whether the group is selected.
|
|
24007
24031
|
*/
|
|
@@ -24033,12 +24057,12 @@ class Group {
|
|
|
24033
24057
|
return (_a = this.hostElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.group-content');
|
|
24034
24058
|
}
|
|
24035
24059
|
onExpandClick(event) {
|
|
24036
|
-
const
|
|
24037
|
-
this.
|
|
24038
|
-
const { defaultPrevented } = this.
|
|
24060
|
+
const oldCollapsed = this.collapsed;
|
|
24061
|
+
this.collapsed = !this.collapsed;
|
|
24062
|
+
const { defaultPrevented } = this.collapsedChanged.emit(this.collapsed);
|
|
24039
24063
|
event.stopPropagation();
|
|
24040
24064
|
if (defaultPrevented) {
|
|
24041
|
-
this.
|
|
24065
|
+
this.collapsed = oldCollapsed;
|
|
24042
24066
|
}
|
|
24043
24067
|
}
|
|
24044
24068
|
onHeaderClick(event) {
|
|
@@ -24119,27 +24143,27 @@ class Group {
|
|
|
24119
24143
|
}
|
|
24120
24144
|
}
|
|
24121
24145
|
render() {
|
|
24122
|
-
return (hAsync(Host, { key: '
|
|
24146
|
+
return (hAsync(Host, { key: '58701d250c8e595737fa95f9981e788298e26c2a' }, hAsync("div", { key: '0f754f0be1fe8278e882447cd95f84384b82c467', class: {
|
|
24123
24147
|
'group-header': true,
|
|
24124
|
-
expand: this.
|
|
24148
|
+
expand: !this.collapsed,
|
|
24125
24149
|
selected: this.selected,
|
|
24126
|
-
}, tabindex: "0" }, hAsync("div", { key: '
|
|
24150
|
+
}, tabindex: "0" }, hAsync("div", { key: 'b15eddf0aa21c1f392c49974624c4d66f7ca441f', class: "group-header-clickable", onClick: (e) => this.onHeaderClick(e) }, hAsync("div", { key: '5987826be949fabd86fe4ab2d5da9f6ee92becde', class: {
|
|
24127
24151
|
'group-header-selection-indicator': true,
|
|
24128
24152
|
'group-header-selection-indicator-item-selected': this.itemSelected,
|
|
24129
|
-
} }), hAsync("div", { key: '
|
|
24153
|
+
} }), hAsync("div", { key: 'fb364b83a2dff3fcacbd661e6093ce8b975e3930', class: "btn-expand-header" }, hAsync("ix-icon", { key: 'd308f69c7d8e12d34d3442ce9a318a91b67c2033', "data-testid": "expand-collapsed-icon", class: {
|
|
24130
24154
|
hidden: !this.showExpandCollapsedIcon,
|
|
24131
|
-
}, name: this.
|
|
24155
|
+
}, name: this.collapsed ? iconChevronDownSmall : iconChevronUpSmall, onClick: (event) => this.onExpandClick(event) })), hAsync("div", { key: 'c5bad9a9cb3d025b5ea2bf1b85f471687959c69b', class: "group-header-content" }, this.header ? (hAsync("div", { class: "group-header-props-container" }, hAsync("div", { class: "group-header-title" }, hAsync("span", { title: this.header }, this.header)), hAsync("div", { class: "group-subheader", title: this.subHeader }, this.subHeader))) : null, hAsync("slot", { key: '2b7b1d241e9a33609d5b28653aaeeb4a51bb64af', name: "header" }))), this.hasDropdown && (hAsync("ix-group-context-menu", { key: 'eb3c896e413299db1b9ce93173b9d926d938e3e1' }, hAsync("slot", { key: '35670588a1f87409787c75fc32d34bfa9355d160', name: "dropdown" })))), hAsync("div", { key: '11254313bc4e541b69f38071c027cdfd0ef735f5', class: {
|
|
24132
24156
|
'group-content': true,
|
|
24133
|
-
} }, hAsync("div", { key: '
|
|
24134
|
-
display: this.
|
|
24135
|
-
} }, hAsync("slot", { key: '
|
|
24157
|
+
} }, hAsync("div", { key: '0c24d4903f217ded9c6330b349de13abc77b464b', style: {
|
|
24158
|
+
display: this.collapsed ? 'none' : 'contents',
|
|
24159
|
+
} }, hAsync("slot", { key: '45e1064fa54bb32ad27ac9f502cb4ec9a38963bf', onSlotchange: () => {
|
|
24136
24160
|
var _a;
|
|
24137
24161
|
const slot = (_a = this.hostElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot:not([name])');
|
|
24138
24162
|
this.showExpandCollapsedIcon = hasSlottedElements(slot);
|
|
24139
|
-
} }), hAsync("ix-group-item", { key: '
|
|
24163
|
+
} }), hAsync("ix-group-item", { key: '81b3018f3cbafbcaf8c7ec0bad46b538944423b0', suppressSelection: true, focusable: false, class: {
|
|
24140
24164
|
footer: true,
|
|
24141
24165
|
'footer-visible': this.footerVisible,
|
|
24142
|
-
}
|
|
24166
|
+
} }, hAsync("slot", { key: 'e39c3a323325c7b6b1a2bc02c3c3fa47ad421a5d', name: "footer", onSlotchange: () => this.onSlotChange() }))))));
|
|
24143
24167
|
}
|
|
24144
24168
|
get hostElement() { return getElement(this); }
|
|
24145
24169
|
static get watchers() { return {
|
|
@@ -24153,7 +24177,7 @@ class Group {
|
|
|
24153
24177
|
"suppressHeaderSelection": [4, "suppress-header-selection"],
|
|
24154
24178
|
"header": [1],
|
|
24155
24179
|
"subHeader": [1, "sub-header"],
|
|
24156
|
-
"
|
|
24180
|
+
"collapsed": [1540],
|
|
24157
24181
|
"selected": [1540],
|
|
24158
24182
|
"index": [1538],
|
|
24159
24183
|
"expandOnHeaderClick": [4, "expand-on-header-click"],
|
|
@@ -24165,7 +24189,7 @@ class Group {
|
|
|
24165
24189
|
},
|
|
24166
24190
|
"$listeners$": [[0, "selectedChanged", "onItemClicked"]],
|
|
24167
24191
|
"$lazyBundleId$": "-",
|
|
24168
|
-
"$attrsToReflect$": [["
|
|
24192
|
+
"$attrsToReflect$": [["collapsed", "collapsed"], ["selected", "selected"], ["index", "index"]]
|
|
24169
24193
|
}; }
|
|
24170
24194
|
}
|
|
24171
24195
|
|
|
@@ -24217,7 +24241,7 @@ class GroupContextMenu {
|
|
|
24217
24241
|
}; }
|
|
24218
24242
|
}
|
|
24219
24243
|
|
|
24220
|
-
const groupItemCss = ":host{display:flex;min-height:2.25rem;height:2.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host>button
|
|
24244
|
+
const groupItemCss = ":host{display:flex;min-height:2.25rem;height:2.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host>button{display:flex;height:100%;width:100%;align-items:center;justify-content:flex-start;position:relative;outline:none;background-color:var(--theme-group-item--background);border:1px solid transparent;color:var(--theme-color-std-text);cursor:pointer;padding-left:2.5rem}:host>button:focus-visible{border:1px solid var(--theme-color-focus-bdr)}:host ix-icon{margin-right:0.25rem;margin-top:-0.125rem}:host .group-entry-selection-indicator{position:absolute;left:-1px;height:calc(100% + 2px);width:0.25rem}:host .group-entry-text{font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .group-entry-text-secondary{display:flex;justify-content:flex-end;flex-grow:1;white-space:nowrap;color:var(--theme-color-soft-text)}:host .group-entry-text-secondary,:host .group-entry-text-secondary span{font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.selected){border-top-width:0.062rem !important;background-color:var(--theme-color-ghost--selected)}:host(.selected) .group-entry-selection-indicator{background-color:var(--theme-group-item-indicator--background--selected)}:host(:hover){background-color:var(--theme-color-ghost--selected-hover);border-color:var(--theme-group-item--border-color--hover)}:host(.selected:hover){background-color:var(--theme-color-ghost--selected-hover)}:host(:active){background-color:var(--theme-color-ghost--selected-active);border-color:var(--theme-group-item--border-color--active)}:host(.selected:active){background-color:var(--theme-color-ghost--selected-active)}";
|
|
24221
24245
|
|
|
24222
24246
|
class GroupItem {
|
|
24223
24247
|
constructor(hostRef) {
|
|
@@ -24227,36 +24251,23 @@ class GroupItem {
|
|
|
24227
24251
|
* Supress the selection of the group
|
|
24228
24252
|
*/
|
|
24229
24253
|
this.suppressSelection = false;
|
|
24230
|
-
/**
|
|
24231
|
-
* @internal
|
|
24232
|
-
* Item represents the footer of the group
|
|
24233
|
-
*/
|
|
24234
|
-
this.groupFooter = false;
|
|
24235
24254
|
/**
|
|
24236
24255
|
* Show selected state
|
|
24237
24256
|
*/
|
|
24238
24257
|
this.selected = false;
|
|
24239
24258
|
/**
|
|
24240
|
-
* Disable the group item.
|
|
24241
24259
|
* The elements tabindex attribute will get set accordingly.
|
|
24242
|
-
*
|
|
24243
|
-
* If false tabindex will be 0, -1 otherwise.
|
|
24260
|
+
* If true tabindex will be 0, -1 otherwise.
|
|
24244
24261
|
*/
|
|
24245
|
-
this.
|
|
24262
|
+
this.focusable = true;
|
|
24246
24263
|
}
|
|
24247
24264
|
clickListen() {
|
|
24248
|
-
if (this.suppressSelection || this.disabled) {
|
|
24249
|
-
return;
|
|
24250
|
-
}
|
|
24251
24265
|
this.selectedChanged.emit(this.hostElement);
|
|
24252
24266
|
}
|
|
24253
24267
|
render() {
|
|
24254
|
-
|
|
24255
|
-
return (hAsync(Host, { class: "suppress-mouse-states" }, hAsync("div", { class: "group-footer" }, hAsync("slot", null))));
|
|
24256
|
-
}
|
|
24257
|
-
return (hAsync(Host, { class: {
|
|
24268
|
+
return (hAsync(Host, { key: '149648f824aeee11a3877fec7dba0b45ccef6ba1', class: {
|
|
24258
24269
|
selected: this.selected && !this.suppressSelection,
|
|
24259
|
-
} }, hAsync("button", { tabindex: this.
|
|
24270
|
+
} }, hAsync("button", { key: 'e367df0d5ea0af27e88a572f96b0ce151b5f02db', tabindex: this.focusable ? 0 : -1 }, hAsync("div", { key: '589e2774a57f474ed9b77639b262f9d0fa607473', class: "group-entry-selection-indicator" }), this.icon ? (hAsync("ix-icon", { size: "16", name: this.icon, "aria-label": this.ariaLabelIcon })) : null, this.text ? (hAsync("span", { class: "group-entry-text" }, hAsync("span", { title: this.text }, this.text))) : null, this.secondaryText ? (hAsync("span", { class: "group-entry-text-secondary" }, hAsync("span", { title: this.secondaryText }, this.secondaryText))) : null, hAsync("slot", { key: '9cebb9c4a0383c77e935f6c5937c86445f4c28ec' }))));
|
|
24260
24271
|
}
|
|
24261
24272
|
get hostElement() { return getElement(this); }
|
|
24262
24273
|
static get style() { return groupItemCss; }
|
|
@@ -24269,9 +24280,8 @@ class GroupItem {
|
|
|
24269
24280
|
"text": [1],
|
|
24270
24281
|
"secondaryText": [1, "secondary-text"],
|
|
24271
24282
|
"suppressSelection": [4, "suppress-selection"],
|
|
24272
|
-
"groupFooter": [4, "group-footer"],
|
|
24273
24283
|
"selected": [4],
|
|
24274
|
-
"
|
|
24284
|
+
"focusable": [4],
|
|
24275
24285
|
"index": [2]
|
|
24276
24286
|
},
|
|
24277
24287
|
"$listeners$": [[1, "click", "clickListen"]],
|
|
@@ -24325,7 +24335,7 @@ class HelperText {
|
|
|
24325
24335
|
this.validationResults = checkFieldClasses(forElement);
|
|
24326
24336
|
}
|
|
24327
24337
|
render() {
|
|
24328
|
-
return (hAsync(Host, { key: '
|
|
24338
|
+
return (hAsync(Host, { key: '9fa836439e6423067e2da4328bfaeefbe898109a' }, hAsync(HelperText$1, Object.assign({ key: '86d6666e919b9c80fd85e40a7b27dbbdeebd4a2c', helperText: this.helperText,
|
|
24329
24339
|
invalidText: this.invalidText,
|
|
24330
24340
|
validText: this.validText,
|
|
24331
24341
|
infoText: this.infoText,
|
|
@@ -24436,7 +24446,7 @@ class IconButton {
|
|
|
24436
24446
|
type: this.type,
|
|
24437
24447
|
extraClasses: this.getIconSizeClass(),
|
|
24438
24448
|
};
|
|
24439
|
-
return (hAsync(Host, { key: '
|
|
24449
|
+
return (hAsync(Host, { key: 'f14e9fcbcef5261063165d6a3e9a852a50f52685', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, hAsync(BaseIconButton, Object.assign({ key: '457e6e503a1ef75babc9894f8e44e6b672000d5c' }, baseButtonProps))));
|
|
24440
24450
|
}
|
|
24441
24451
|
get hostElement() { return getElement(this); }
|
|
24442
24452
|
static get style() { return iconButtonCss; }
|
|
@@ -24530,7 +24540,7 @@ class IconToggleButton {
|
|
|
24530
24540
|
},
|
|
24531
24541
|
extraClasses: Object.assign({ 'icon-button': true }, this.getIconSizeClass()),
|
|
24532
24542
|
};
|
|
24533
|
-
return (hAsync(Host, { key: '
|
|
24543
|
+
return (hAsync(Host, { key: '6c7f9e4e25875e5a688b4f211d596b458b819584', class: Object.assign(Object.assign({}, this.getIconSizeClass()), { disabled: this.disabled || this.loading }) }, hAsync(BaseIconButton, Object.assign({ key: '6813db68fff977b64748f962cde7836e72d06cb9' }, baseButtonProps))));
|
|
24534
24544
|
}
|
|
24535
24545
|
get hostElement() { return getElement(this); }
|
|
24536
24546
|
static get style() { return iconToggleButtonCss; }
|
|
@@ -24688,22 +24698,22 @@ class Input {
|
|
|
24688
24698
|
render() {
|
|
24689
24699
|
var _a;
|
|
24690
24700
|
const inputAria = getAriaAttributesForInput(this);
|
|
24691
|
-
return (hAsync(Host, { key: '
|
|
24701
|
+
return (hAsync(Host, { key: 'f1a0a8e252682aab237e572ad8079cf496d0b519', class: {
|
|
24692
24702
|
disabled: this.disabled,
|
|
24693
24703
|
readonly: this.readonly,
|
|
24694
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
24704
|
+
} }, hAsync("ix-field-wrapper", { key: 'a6bd8f0e90398dfb1288ceb585c9852fc4056552', htmlForLabel: this.inputId, required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, hAsync("div", { key: '30e5e1debfa21d1d6a9db780a1fa807e88e5fd62', class: "input-wrapper" }, hAsync(SlotStart, { key: '04338b8d4de55cb1cacfaeb381c39796ed542b27', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), hAsync(InputElement, { key: '3fe643f62d02522dad0bd63876bbf9873f77881b', id: this.inputId, readonly: this.readonly, disabled: this.disabled, maxLength: this.maxLength, minLength: this.minLength, pattern: this.pattern, type: this.inputType, isInvalid: this.isInvalid, required: this.required, value: this.value, placeholder: this.placeholder, inputRef: this.inputRef, onKeyPress: (event) => checkAllowedKeys(this, event), valueChange: (value) => this.valueChange.emit(value), updateFormInternalValue: (value) => this.updateFormInternalValue(value), onBlur: () => {
|
|
24695
24705
|
onInputBlur(this, this.inputRef.current);
|
|
24696
24706
|
this.touched = true;
|
|
24697
|
-
}, ariaAttributes: inputAria }), hAsync(SlotEnd, { key: '
|
|
24707
|
+
}, ariaAttributes: inputAria }), hAsync(SlotEnd, { key: '7b3f09276058e7c9081c5a5c406ccb6f31556593', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, hAsync("ix-icon-button", { key: '7a71d559e3f77db760039853e8e40144899a6d5b', color: "color-weak-text", class: {
|
|
24698
24708
|
'password-eye': true,
|
|
24699
|
-
'eye-hidden': this.type !== 'password',
|
|
24709
|
+
'eye-hidden': this.type !== 'password' || this.disabled,
|
|
24700
24710
|
}, variant: "tertiary", icon: this.inputType === 'password' ? iconEye : iconEyeCancelled, onClick: () => {
|
|
24701
24711
|
if (this.inputType === 'password') {
|
|
24702
24712
|
this.inputType = 'text';
|
|
24703
24713
|
return;
|
|
24704
24714
|
}
|
|
24705
24715
|
this.inputType = 'password';
|
|
24706
|
-
} }))), !!this.maxLength && this.maxLength > 0 && (hAsync("ix-typography", { key: '
|
|
24716
|
+
} }))), !!this.maxLength && this.maxLength > 0 && (hAsync("ix-typography", { key: '000514dd6f61b34ffb769b06e201e0f2fbb01a9d', class: "bottom-text", slot: "bottom-right", textColor: "soft" }, ((_a = this.value) !== null && _a !== void 0 ? _a : '').length, "/", this.maxLength)))));
|
|
24707
24717
|
}
|
|
24708
24718
|
static get formAssociated() { return true; }
|
|
24709
24719
|
get hostElement() { return getElement(this); }
|
|
@@ -24755,6 +24765,145 @@ __decorate$9([
|
|
|
24755
24765
|
HookValidationLifecycle()
|
|
24756
24766
|
], Input.prototype, "updateClassMappings", null);
|
|
24757
24767
|
|
|
24768
|
+
const inputGroupCss = ":host{position:relative;display:flex;width:100%;flex-wrap:wrap;align-items:stretch}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .group{display:flex;position:absolute;align-items:center;height:100%}:host .group-start{left:0px;height:2rem;margin-left:0.5rem;color:var(--theme-color-soft-text)}:host .group-end{right:0px;height:2rem;margin-right:0.5rem;color:var(--theme-color-soft-text)}:host ::slotted(*){display:flex}:host(.disabled){pointer-events:none}:host(.disabled) .group-start ::slotted(*),:host(.disabled) .group-end ::slotted(*){opacity:0.4 !important}";
|
|
24769
|
+
|
|
24770
|
+
/**
|
|
24771
|
+
* @deprecated Will be removed with 4.0.0
|
|
24772
|
+
* Use the 'ix-input' component instead
|
|
24773
|
+
*/
|
|
24774
|
+
class InputGroup {
|
|
24775
|
+
constructor(hostRef) {
|
|
24776
|
+
registerInstance(this, hostRef);
|
|
24777
|
+
this.disabled = false;
|
|
24778
|
+
this.inputPaddingLeft = 0;
|
|
24779
|
+
this.inputPaddingRight = 0;
|
|
24780
|
+
}
|
|
24781
|
+
get inputElement() {
|
|
24782
|
+
return this.hostElement.querySelector('input');
|
|
24783
|
+
}
|
|
24784
|
+
componentWillLoad() {
|
|
24785
|
+
var _a;
|
|
24786
|
+
const { valid } = this.inputElement.validity;
|
|
24787
|
+
this.inputElement.addEventListener('valid', () => {
|
|
24788
|
+
this.onValidInput();
|
|
24789
|
+
});
|
|
24790
|
+
this.inputElement.addEventListener('invalid', () => {
|
|
24791
|
+
this.onInvalidInput();
|
|
24792
|
+
});
|
|
24793
|
+
this.inputElement.addEventListener('input', () => {
|
|
24794
|
+
this.startSlotChanged();
|
|
24795
|
+
});
|
|
24796
|
+
(_a = this.inputElement.form) === null || _a === void 0 ? void 0 : _a.addEventListener('submit', () => {
|
|
24797
|
+
this.startSlotChanged();
|
|
24798
|
+
});
|
|
24799
|
+
valid ? this.onValidInput() : this.onInvalidInput();
|
|
24800
|
+
this.observer = new MutationObserver(() => {
|
|
24801
|
+
this.slotChanged();
|
|
24802
|
+
this.startSlotChanged();
|
|
24803
|
+
this.endSlotChanged();
|
|
24804
|
+
});
|
|
24805
|
+
this.observer.observe(this.hostElement, {
|
|
24806
|
+
subtree: true,
|
|
24807
|
+
childList: true,
|
|
24808
|
+
attributes: true,
|
|
24809
|
+
characterData: true,
|
|
24810
|
+
});
|
|
24811
|
+
}
|
|
24812
|
+
componentDidRender() {
|
|
24813
|
+
this.prepareInputElement();
|
|
24814
|
+
}
|
|
24815
|
+
onValidInput() {
|
|
24816
|
+
this.startSlotChanged();
|
|
24817
|
+
}
|
|
24818
|
+
onInvalidInput() {
|
|
24819
|
+
this.startSlotChanged();
|
|
24820
|
+
}
|
|
24821
|
+
prepareInputElement() {
|
|
24822
|
+
if (this.inputElement) {
|
|
24823
|
+
this.inputElement.style.width = '100%';
|
|
24824
|
+
if (this.inputPaddingRight !== 0) {
|
|
24825
|
+
this.inputElement.style.paddingRight = this.inputPaddingRight + 'px';
|
|
24826
|
+
}
|
|
24827
|
+
else {
|
|
24828
|
+
this.inputElement.style.paddingRight = '0.5rem';
|
|
24829
|
+
}
|
|
24830
|
+
if (this.inputPaddingLeft !== 0) {
|
|
24831
|
+
this.inputElement.style.paddingLeft = this.inputPaddingLeft + 'px';
|
|
24832
|
+
}
|
|
24833
|
+
else {
|
|
24834
|
+
this.inputElement.style.paddingLeft = '0.5rem';
|
|
24835
|
+
}
|
|
24836
|
+
}
|
|
24837
|
+
else {
|
|
24838
|
+
console.warn('You used the ix-input-group without an input tag, e.g. <input class="ix-form-control" />');
|
|
24839
|
+
}
|
|
24840
|
+
}
|
|
24841
|
+
slotChanged() {
|
|
24842
|
+
var _a;
|
|
24843
|
+
this.disabled = (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.disabled;
|
|
24844
|
+
}
|
|
24845
|
+
startSlotChanged() {
|
|
24846
|
+
setTimeout(() => {
|
|
24847
|
+
var _a, _b;
|
|
24848
|
+
const startPadding = this.getChildrenWidth(this.startSlotRef);
|
|
24849
|
+
if (startPadding !== 0) {
|
|
24850
|
+
this.inputPaddingLeft = 11 + startPadding;
|
|
24851
|
+
}
|
|
24852
|
+
else {
|
|
24853
|
+
this.inputPaddingLeft = 0;
|
|
24854
|
+
}
|
|
24855
|
+
if (!this.inputElement) {
|
|
24856
|
+
return;
|
|
24857
|
+
}
|
|
24858
|
+
const isInputInvalid = !this.inputElement.validity.valid ||
|
|
24859
|
+
this.inputElement.classList.contains('is-invalid');
|
|
24860
|
+
const formWasValidated = ((_a = this.inputElement.form) === null || _a === void 0 ? void 0 : _a.classList.contains('was-validated')) ||
|
|
24861
|
+
((_b = this.inputElement.form) === null || _b === void 0 ? void 0 : _b.noValidate) === false;
|
|
24862
|
+
if (formWasValidated && isInputInvalid) {
|
|
24863
|
+
const left = this.inputPaddingLeft !== 0 ? this.inputPaddingLeft : 7;
|
|
24864
|
+
this.inputElement.style.backgroundPosition = `left ${left}px center`;
|
|
24865
|
+
this.inputPaddingLeft += 26;
|
|
24866
|
+
}
|
|
24867
|
+
});
|
|
24868
|
+
}
|
|
24869
|
+
endSlotChanged() {
|
|
24870
|
+
setTimeout(() => {
|
|
24871
|
+
this.inputPaddingRight = 15 + this.getChildrenWidth(this.endSlotRef);
|
|
24872
|
+
});
|
|
24873
|
+
}
|
|
24874
|
+
getChildrenWidth(slotElement) {
|
|
24875
|
+
if (!slotElement) {
|
|
24876
|
+
return 0;
|
|
24877
|
+
}
|
|
24878
|
+
const endElements = getSlottedElements(slotElement);
|
|
24879
|
+
if (endElements.length === 0) {
|
|
24880
|
+
return 0;
|
|
24881
|
+
}
|
|
24882
|
+
let width = 0;
|
|
24883
|
+
endElements.forEach((element) => {
|
|
24884
|
+
width += element.getBoundingClientRect().width;
|
|
24885
|
+
});
|
|
24886
|
+
return width;
|
|
24887
|
+
}
|
|
24888
|
+
render() {
|
|
24889
|
+
return (hAsync(Host, { key: 'c957f5176fca638b1e84fb3aaec66feed288821f', class: { disabled: this.disabled } }, hAsync("div", { key: '4b77f75f4b402840fd94a4fa990a86f135a183b2', class: "group group-start" }, hAsync("slot", { key: '6fc6246c36799a567bc391aa20d0c9a944983e27', ref: (el) => (this.startSlotRef = el), name: "input-start" })), hAsync("slot", { key: 'd136710b684b584526c1a5685af1b6b45e4e4721' }), hAsync("div", { key: 'eafb23b6987f92876d9b4e1ea020ecd12d4a52f7', class: "group group-end" }, hAsync("slot", { key: '220f0582c0bd75488de9eefed451757502297c53', ref: (el) => (this.endSlotRef = el), name: "input-end" }))));
|
|
24890
|
+
}
|
|
24891
|
+
get hostElement() { return getElement(this); }
|
|
24892
|
+
static get style() { return inputGroupCss; }
|
|
24893
|
+
static get cmpMeta() { return {
|
|
24894
|
+
"$flags$": 265,
|
|
24895
|
+
"$tagName$": "ix-input-group",
|
|
24896
|
+
"$members$": {
|
|
24897
|
+
"disabled": [32],
|
|
24898
|
+
"inputPaddingLeft": [32],
|
|
24899
|
+
"inputPaddingRight": [32]
|
|
24900
|
+
},
|
|
24901
|
+
"$listeners$": undefined,
|
|
24902
|
+
"$lazyBundleId$": "-",
|
|
24903
|
+
"$attrsToReflect$": []
|
|
24904
|
+
}; }
|
|
24905
|
+
}
|
|
24906
|
+
|
|
24758
24907
|
const actionCardCss = ":host{display:block;position:relative;min-width:13.375rem;width:13.375rem;height:7.5rem;min-height:7.5rem;cursor:pointer;margin:0.25rem 0}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host ix-card{width:100%;height:100%}";
|
|
24759
24908
|
|
|
24760
24909
|
class IxActionCard {
|
|
@@ -24782,7 +24931,7 @@ class IxActionCard {
|
|
|
24782
24931
|
const ariaLabelledBy = !this.ariaLabelCard && this.heading
|
|
24783
24932
|
? 'ix-action-card-heading'
|
|
24784
24933
|
: undefined;
|
|
24785
|
-
return (hAsync(Host, { key: '
|
|
24934
|
+
return (hAsync(Host, { key: '167db61afb0880052edd6e28ec9e907dbe98a186' }, hAsync("ix-card", { key: 'e8014c544dbadee66135b8def9b868488a07773b', selected: this.selected, variant: this.variant, class: 'pointer', "aria-label": this.ariaLabelCard, "aria-labelledby": ariaLabelledBy, role: ariaLabelledBy ? 'group' : undefined }, hAsync("ix-card-content", { key: 'bcb177b0fbe2a709d3ab9d8479077eb64ef2496a' }, this.icon ? (hAsync("ix-icon", { class: 'icon', name: this.icon, size: "32", "aria-label": this.ariaLabelIcon || getFallbackLabelFromIconName(this.icon) })) : null, hAsync("div", { key: '65aa3882ad626df59598626bf7a67e1431fcf6e4' }, this.heading ? (hAsync("ix-typography", { id: "ix-action-card-heading", "aria-hidden": a11yBoolean(!ariaLabelledBy), format: "h4" }, this.heading)) : null, this.subheading ? (hAsync("ix-typography", { format: "h5", "text-color": this.getSubheadingTextColor() }, this.subheading)) : null, hAsync("slot", { key: '9ffacb3ea7d9642a2adbad41d9e6fc36a8e5118b' }))))));
|
|
24786
24935
|
}
|
|
24787
24936
|
static get style() { return actionCardCss; }
|
|
24788
24937
|
static get cmpMeta() { return {
|
|
@@ -24837,7 +24986,7 @@ class IxTypography {
|
|
|
24837
24986
|
color: IxTypography.getTextColor(this.textColor),
|
|
24838
24987
|
};
|
|
24839
24988
|
}
|
|
24840
|
-
return (hAsync(Host, { key: '
|
|
24989
|
+
return (hAsync(Host, { key: '423b6513833bef97a6ca053311ac4173861ebb83', class: typographyClass, style: style }, hAsync("slot", { key: 'f28c3f4a36fb4abd962cd9c00915ea930872e71c' })));
|
|
24841
24990
|
}
|
|
24842
24991
|
static get style() { return typographyCss; }
|
|
24843
24992
|
static get cmpMeta() { return {
|
|
@@ -24869,7 +25018,7 @@ class KeyValue {
|
|
|
24869
25018
|
this.labelPosition = 'top';
|
|
24870
25019
|
}
|
|
24871
25020
|
render() {
|
|
24872
|
-
return (hAsync(Host, { key: '
|
|
25021
|
+
return (hAsync(Host, { key: '313aba27b9a98274d46da2091d3c255b5b6021a9', class: `keyValue keyValue--${this.labelPosition === 'top' ? 'column' : 'row'}` }, this.icon && (hAsync("ix-icon", { key: 'a60ed526a2d725c3c40ffaeb1f97f70c655f1402', name: this.icon, size: "24", class: "keyValue__icon", "aria-label": this.ariaLabelIcon })), hAsync("div", { key: '3b156278c7a40eec4ac1fda6b284b6f9da5edc7b', class: "keyValue__content" }, hAsync("div", { key: '9ca6cbc3a9a85804a750f10936a582ee09500381', class: "content__label" }, this.label), hAsync("div", { key: '808806083e40420bd0461a38393e17b2cad307f0', class: {
|
|
24873
25022
|
content__value: true,
|
|
24874
25023
|
'has-customValue': this.value === undefined,
|
|
24875
25024
|
} }, this.value !== undefined ? (this.value) : (hAsync("slot", { name: "custom-value" }))))));
|
|
@@ -24902,7 +25051,7 @@ class KeyValueList {
|
|
|
24902
25051
|
this.striped = false;
|
|
24903
25052
|
}
|
|
24904
25053
|
render() {
|
|
24905
|
-
return (hAsync(Host, { key: '
|
|
25054
|
+
return (hAsync(Host, { key: '65f4f193bd4c3b76ee0ffbae7791ff080b1a028f', class: { keyValueList: true, 'keyValueList--striped': this.striped } }, hAsync("slot", { key: '966e32b4ce52d499e500fbcbed1a9c43cac1b3e5' })));
|
|
24906
25055
|
}
|
|
24907
25056
|
static get style() { return keyValueListCss; }
|
|
24908
25057
|
static get cmpMeta() { return {
|
|
@@ -24949,13 +25098,13 @@ class Kpi {
|
|
|
24949
25098
|
return tooltip;
|
|
24950
25099
|
}
|
|
24951
25100
|
render() {
|
|
24952
|
-
return (hAsync(Host, { key: '
|
|
25101
|
+
return (hAsync(Host, { key: 'f606b08119be0b32663efe2f51749fe88cb25608', title: this.getTooltipText(), tabindex: "1", class: {
|
|
24953
25102
|
stacked: this.orientation === 'vertical',
|
|
24954
|
-
} }, hAsync("div", { key: '
|
|
25103
|
+
} }, hAsync("div", { key: '2b7f2b65007d825f76b2380b25a81afe697fdcbf', class: {
|
|
24955
25104
|
'kpi-container': true,
|
|
24956
25105
|
alarm: this.state === 'alarm',
|
|
24957
25106
|
warning: this.state === 'warning',
|
|
24958
|
-
} }, hAsync("span", { key: '
|
|
25107
|
+
} }, hAsync("span", { key: '6241807a1c2497e3ed4ad6f498cd5c64c5b84185', class: "kpi-label" }, this.getStateIcon(), hAsync("span", { key: 'fcd050a162b9c3ac9a80abf54c3fe9000d9d2a8d', class: "kpi-label-text" }, this.label)), hAsync("span", { key: 'e0b0f5ce921c7579dc6f947c8129f1eec8377cc5', class: "kpi-value-container" }, hAsync("span", { key: '449f3de71bb4ee0b6a058f0fe8205aa06654dbc1', class: "kpi-value" }, this.value), this.unit ? hAsync("span", { class: "kpi-unit" }, this.unit) : ''))));
|
|
24959
25108
|
}
|
|
24960
25109
|
static get style() { return kpiCss; }
|
|
24961
25110
|
static get cmpMeta() { return {
|
|
@@ -25052,7 +25201,7 @@ class LayoutForm {
|
|
|
25052
25201
|
});
|
|
25053
25202
|
}
|
|
25054
25203
|
render() {
|
|
25055
|
-
return (hAsync(Host, { key: '
|
|
25204
|
+
return (hAsync(Host, { key: 'f29e16a0be5c5d3751bbe6cffc35a8b33bd69075' }, hAsync("div", { key: '2eeb15c4fe4d5b09cce40faef29502367eb576a5', class: "container" }, hAsync("slot", { key: 'b13b8c6a610d0d9fff987d48f6bc1810af1b7390' }))));
|
|
25056
25205
|
}
|
|
25057
25206
|
get hostElement() { return getElement(this); }
|
|
25058
25207
|
static get watchers() { return {
|
|
@@ -25090,12 +25239,12 @@ class LayoutGrid {
|
|
|
25090
25239
|
this.columns = 12;
|
|
25091
25240
|
}
|
|
25092
25241
|
render() {
|
|
25093
|
-
return (hAsync(Host, { key: '
|
|
25242
|
+
return (hAsync(Host, { key: '2772dd5c20d1b6e5da3fee9bbb1453ee6183755a', class: {
|
|
25094
25243
|
'no-margin': this.noMargin,
|
|
25095
25244
|
}, style: {
|
|
25096
25245
|
'--ix-layout-grid-columns': `${this.columns}`,
|
|
25097
25246
|
'--ix-layout-grid-gutter': `${this.gap}px`,
|
|
25098
|
-
} }, hAsync("slot", { key: '
|
|
25247
|
+
} }, hAsync("slot", { key: '0d3f8dad0571cf5b43762bf60657fbbf4f1a96b6' })));
|
|
25099
25248
|
}
|
|
25100
25249
|
static get style() { return layoutGridCss; }
|
|
25101
25250
|
static get cmpMeta() { return {
|
|
@@ -25129,13 +25278,13 @@ class LinkButton {
|
|
|
25129
25278
|
this.target = '_self';
|
|
25130
25279
|
}
|
|
25131
25280
|
render() {
|
|
25132
|
-
return (hAsync(Host, { key: '
|
|
25281
|
+
return (hAsync(Host, { key: '7f1fbbb36784bd6a5792da9ea48cc6e9c6aa5332' }, hAsync("a", { key: 'ffd97898fd1e720f6431e0f2405b3c23d765e0c6', title: this.url, tabindex: "0", class: {
|
|
25133
25282
|
'link-button': true,
|
|
25134
25283
|
disabled: this.disabled,
|
|
25135
|
-
}, href: this.disabled ? undefined : this.url, target: this.target }, hAsync("ix-icon", { key: '
|
|
25284
|
+
}, href: this.disabled ? undefined : this.url, target: this.target }, hAsync("ix-icon", { key: '9980af21cb250d099f2ba0ddd543d4934a6d0eb6', class: "icon", name: iconChevronRightSmall, size: "16", "aria-hidden": "true" }), hAsync("div", { key: '347fdc85236282e3b93b8215de0269dd4993a2f2', class: {
|
|
25136
25285
|
link: true,
|
|
25137
25286
|
disabled: this.disabled,
|
|
25138
|
-
} }, hAsync("slot", { key: '
|
|
25287
|
+
} }, hAsync("slot", { key: '79348eda083a81187f79e3a1c043982ae93c97a9' })))));
|
|
25139
25288
|
}
|
|
25140
25289
|
static get style() { return linkButtonCss; }
|
|
25141
25290
|
static get cmpMeta() { return {
|
|
@@ -25162,7 +25311,6 @@ class MapNavigation {
|
|
|
25162
25311
|
/**
|
|
25163
25312
|
* Hide the sidebar context menu button when set to true
|
|
25164
25313
|
*/
|
|
25165
|
-
// eslint-disable-next-line @stencil-community/ban-default-true
|
|
25166
25314
|
this.hideContextMenu = true;
|
|
25167
25315
|
this.isSidebarOpen = true;
|
|
25168
25316
|
this.hasContentHeader = false;
|
|
@@ -25299,11 +25447,11 @@ class MapNavigation {
|
|
|
25299
25447
|
this.hasContentHeader = (nodes === null || nodes === void 0 ? void 0 : nodes.length) !== 0;
|
|
25300
25448
|
}
|
|
25301
25449
|
render() {
|
|
25302
|
-
return (hAsync(Host, { key: '
|
|
25450
|
+
return (hAsync(Host, { key: '5e7b81e33095916809c72c77c58a0e9561e3eadc' }, hAsync("slot", { key: '6355eae609a9b40444e3af3f6ff344c657941eeb', name: "menu" }), hAsync("div", { key: '3b22b95b4816ed75f6eb186378be9dd025b9a8b0', class: "map-nav" }, hAsync("div", { key: 'dfe48e307748f1ec3115284f58a2f7e6eba704a9', class: "map-nav-sidebar" }, hAsync("div", { key: '330712680eaf25821f7f9819d2b07d1fee4f9077', class: "map-nav-header" }, hAsync("ix-application-header", { key: 'ac1b29fd7c20ef689b4ce2b41f1188444d492ecb', name: this.applicationName, class: "map-nav-header-brand" }, hAsync("slot", { key: 'a01977d24404f8db7e750e8cd61af5461183bf09', slot: "logo", name: "logo" }))), hAsync("div", { key: '409bf4a73f9c24cf7267380ce0bec7e91c51564e', class: "map-nav-sidebar-content" }, hAsync("div", { key: '26b2020c1f215665c7b40c2f81baf4d42620a482', class: "map-nav-sidebar-static-content" }, hAsync("div", { key: '265a149ce8f4f2502e45149a88159766556c37d3', class: "map-nav-title" }, this.navigationTitle), this.hideContextMenu ? ('') : (hAsync("ix-icon-button", { icon: iconContextMenu, size: "24", variant: "subtle-primary", onClick: (_) => this.contextMenuClick.emit(), "aria-label": this.ariaLabelContextIconButton }))), hAsync("div", { key: '2824fecae7636c4a68ab90dc06b0274afc031602', class: "map-nav-sidebar-user-content" }, hAsync("slot", { key: '1ef670f8310c5c3804c5eac3dc4d601898bf244d', name: "sidebar-content" })))), hAsync("div", { key: 'a383691fe6515768ef643ea8c69012d30c3b9d9b', class: "content" }, hAsync("div", { key: '9c2dee41f6fd805e31c0f555347a24f3e9f393b2', class: {
|
|
25303
25451
|
'map-nav-header-content': true,
|
|
25304
25452
|
'bg-2': true,
|
|
25305
25453
|
empty: !this.hasContentHeader,
|
|
25306
|
-
} }, hAsync("slot", { key: '
|
|
25454
|
+
} }, hAsync("slot", { key: 'f7136c106397b3e0df52c4b3a14b5dfddf73f793', name: "content-header", onSlotchange: (e) => this.checkHasContentHeader(e) })), hAsync("main", { key: 'ca7e27826c15a419d9803cf99d67587f26a1d6a0' }, hAsync("slot", { key: '7083d7482930fc674efe735972268b4eb14dd7d8' }), hAsync("slot", { key: 'a94b1a95f2941fec540bd63c97b23b261688c0ba', name: "overlay" }))))));
|
|
25307
25455
|
}
|
|
25308
25456
|
get hostElement() { return getElement(this); }
|
|
25309
25457
|
static get style() { return mapNavigationCss; }
|
|
@@ -25363,14 +25511,14 @@ class MapNavigationOverlay {
|
|
|
25363
25511
|
}
|
|
25364
25512
|
render() {
|
|
25365
25513
|
var _a, _b, _c;
|
|
25366
|
-
return (hAsync(Host, { key: '
|
|
25514
|
+
return (hAsync(Host, { key: 'c7a50abb3513fe85c2b49cacb0ad9db139eeff61' }, hAsync("div", { key: '877867feede603c1eb0977ceebe8c1efa8c223c4', class: "overlay-header" }, hAsync("div", { key: 'c85cd0ce6dc09266d331e7100235fe6469598d5a', class: {
|
|
25367
25515
|
'color-indicator': true,
|
|
25368
25516
|
'display-none': ((_a = this.iconColor) !== null && _a !== void 0 ? _a : this.color) === undefined,
|
|
25369
25517
|
}, style: {
|
|
25370
25518
|
'background-color': ((_b = this.iconColor) !== null && _b !== void 0 ? _b : this.color)
|
|
25371
25519
|
? `var(--theme-${(_c = this.iconColor) !== null && _c !== void 0 ? _c : this.color})`
|
|
25372
25520
|
: '',
|
|
25373
|
-
} }), hAsync("div", { key: '
|
|
25521
|
+
} }), hAsync("div", { key: '7b8a70dc3272d2c7a5a522accbafe58f330f1f30', class: "overlay-header-content" }, hAsync("ix-icon", { key: '4ec9d2689d01d79468bbeb1e395873264f8e14e0', size: "32", name: this.icon, "aria-label": this.ariaLabelIcon }), hAsync("span", { key: 'f0db6769dc5b3172f1196f1fbf8fe4b6210514d4', class: "overlay-header-title", title: this.name }, this.name)), hAsync("ix-icon-button", { key: '9c75f3ae0f263c2002c6e7e46e46b8379e7d63d1', class: "overlay-close", variant: "tertiary", icon: iconClose, iconColor: "color-soft-text", size: "24", onClick: () => this.closeOverlay(), "aria-label": this.ariaLabelCloseIconButton })), hAsync("slot", { key: 'd5c0fd5b40a7e33462e0f5aa2e1e491176583ae3' })));
|
|
25374
25522
|
}
|
|
25375
25523
|
get hostElement() { return getElement(this); }
|
|
25376
25524
|
static get style() { return mapNavigationOverlayCss; }
|
|
@@ -25429,6 +25577,10 @@ class Menu {
|
|
|
25429
25577
|
* Show toggle between light and dark variant. Only if the provided theme have implemented both!
|
|
25430
25578
|
*/
|
|
25431
25579
|
this.enableToggleTheme = false;
|
|
25580
|
+
/**
|
|
25581
|
+
* Is settings tab is visible
|
|
25582
|
+
*/
|
|
25583
|
+
this.enableSettings = true;
|
|
25432
25584
|
/** @internal */
|
|
25433
25585
|
this.enableMapExpand = false;
|
|
25434
25586
|
/**
|
|
@@ -25838,44 +25990,44 @@ class Menu {
|
|
|
25838
25990
|
}
|
|
25839
25991
|
render() {
|
|
25840
25992
|
var _a, _b;
|
|
25841
|
-
return (hAsync(Host, { key: '
|
|
25993
|
+
return (hAsync(Host, { key: '21781b7d2198837eb8b1007971832254941dcd9e', class: {
|
|
25842
25994
|
expanded: this.expand,
|
|
25843
25995
|
[`breakpoint-${this.breakpoint}`]: true,
|
|
25844
|
-
}, slot: "menu" }, hAsync("nav", { key: '
|
|
25996
|
+
}, slot: "menu" }, hAsync("nav", { key: 'dda9ce6ad8d552a6df80db4b5ebdf6e64893ae92', class: {
|
|
25845
25997
|
menu: true,
|
|
25846
25998
|
expanded: this.expand,
|
|
25847
|
-
} }, hAsync("div", { key: '
|
|
25848
|
-
((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) && (hAsync("ix-icon-button", { key: '
|
|
25999
|
+
} }, hAsync("div", { key: '45c1b1b1ad2b00f0f8bedf8b67c4fb4500f7c353', class: "menu-buttons" }, this.breakpoint !== 'sm' && (hAsync("ix-menu-expand-icon", { key: '6ba74e1b05b816f83efeee4cc2bba9eceec4c737', breakpoint: this.breakpoint, expanded: this.expand, pinned: this.pinned, class: "menu-expand-icon", ixAriaLabel: this.i18nExpandSidebar, onClick: async () => this.toggleMenu(), "data-testid": "expand-collapse-menu" })), this.breakpoint === 'sm' &&
|
|
26000
|
+
((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) && (hAsync("ix-icon-button", { key: '50d7e7c7561e2825940db7a886763f8e18b49012', onClick: () => {
|
|
25849
26001
|
this.showAppSwitch();
|
|
25850
|
-
}, icon: iconApps, variant: "subtle-tertiary" }))), hAsync("div", { key: '
|
|
26002
|
+
}, icon: iconApps, variant: "subtle-tertiary" }))), hAsync("div", { key: 'b28a77f0dc6f49dc8392e5c86620dc86280195de', id: "menu-tabs", style: {
|
|
25851
26003
|
display: 'contents',
|
|
25852
|
-
}, onClick: (e) => this.onMenuItemsClick(e) }, hAsync("div", { key: '
|
|
26004
|
+
}, onClick: (e) => this.onMenuItemsClick(e) }, hAsync("div", { key: '8efbc8954f8f22e6cf291fcbb62cf6c84388f493', class: "tabs-shadow-container" }, hAsync("div", { key: '42b2efd2c44adaf6af2afffdad66ec36bcb7b869', class: {
|
|
25853
26005
|
'tabs--shadow': true,
|
|
25854
26006
|
'tabs--shadow-top': true,
|
|
25855
26007
|
'tabs--shadow--show': this.itemsScrollShadowTop,
|
|
25856
|
-
} }), hAsync("div", { key: '
|
|
26008
|
+
} }), hAsync("div", { key: '1122c046c5e8dbdccbfb81c5a393d472aa1e8e17', class: {
|
|
25857
26009
|
tabs: true,
|
|
25858
26010
|
'show-scrollbar': this.expand,
|
|
25859
|
-
}, onScroll: () => this.handleOverflowIndicator() }, hAsync("div", { key: '
|
|
26011
|
+
}, onScroll: () => this.handleOverflowIndicator() }, hAsync("div", { key: '031a6f8e3754561a97af8425f59a6f5dc9b9a88b', class: "menu-avatar" }, hAsync("slot", { key: 'd41e50f41b3f01b00e3dc44a8a42d849efe5726a', name: "ix-menu-avatar" })), hAsync("slot", { key: '0509060cc3a069972c7625d17cb59f4357585c36', name: "home" }), this.breakpoint !== 'sm' || !this.isHiddenFromViewport() ? (hAsync("slot", null)) : null), hAsync("div", { key: '09b2730f12d8d8f8ea86a679e635df19f631c61c', class: {
|
|
25860
26012
|
'tabs--shadow': true,
|
|
25861
26013
|
'tabs--shadow-bottom': true,
|
|
25862
26014
|
'tabs--shadow--show': this.itemsScrollShadowBottom,
|
|
25863
|
-
} }))), hAsync("div", { key: '
|
|
26015
|
+
} }))), hAsync("div", { key: '7da7d49f4e88f714ec35e717106953311dc817be', class: "bottom-tab-divider" }), this.settings ? (hAsync("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "settings", class: {
|
|
25864
26016
|
'internal-tab': true,
|
|
25865
26017
|
'bottom-tab': true,
|
|
25866
26018
|
active: this.showSettings,
|
|
25867
|
-
}, icon: iconCogwheel, onClick: async () => this.toggleSettings(!this.showSettings), label: this.i18nSettings })) : null, this.enableToggleTheme ? (hAsync("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "toggleTheme", onClick: () => themeSwitcher.toggleMode(), class: "internal-tab bottom-tab", icon: iconLightDark, label: this.i18nToggleTheme })) : null, hAsync("div", { key: '
|
|
26019
|
+
}, icon: iconCogwheel, onClick: async () => this.toggleSettings(!this.showSettings), label: this.i18nSettings })) : null, this.enableToggleTheme ? (hAsync("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "toggleTheme", onClick: () => themeSwitcher.toggleMode(), class: "internal-tab bottom-tab", icon: iconLightDark, label: this.i18nToggleTheme })) : null, hAsync("div", { key: 'a380c205550f416b7b9673cb911775f5bf1d4ce2', onClick: (e) => this.onMenuItemsClick(e) }, hAsync("slot", { key: 'f8d0aa6edd3321fe5544f4a2d0d5e091ab253c62', name: "bottom" })), hAsync("div", { key: '89f030f3b42dadf3f684ca742a40d071301b4a6c', id: "popover-area" }), this.enableMapExpand || ((_b = this.applicationLayoutContext) === null || _b === void 0 ? void 0 : _b.sidebar) ? (hAsync("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "menu-collapse", onClick: () => this.sidebarToggle(), class: "internal-tab bottom-tab", icon: `${this.getCollapseIcon()}`, label: this.getCollapseText() })) : null, this.about ? (hAsync("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "aboutAndLegal", class: {
|
|
25868
26020
|
'internal-tab': true,
|
|
25869
26021
|
'bottom-tab': true,
|
|
25870
26022
|
active: this.showAbout,
|
|
25871
|
-
}, icon: iconInfo, onClick: async () => this.toggleAbout(!this.showAbout), label: this.i18nLegal })) : null), hAsync("div", { key: '
|
|
26023
|
+
}, icon: iconInfo, onClick: async () => this.toggleAbout(!this.showAbout), label: this.i18nLegal })) : null), hAsync("div", { key: '124c0cf340b5325e53ec1e5b27eb71c1293d1517', class: {
|
|
25872
26024
|
'menu-overlay': true,
|
|
25873
26025
|
visible: this.isOverlayVisible(),
|
|
25874
26026
|
expanded: this.expand,
|
|
25875
26027
|
}, onTransitionEnd: () => {
|
|
25876
26028
|
this.isTransitionDisabled = true;
|
|
25877
26029
|
this.checkTransition();
|
|
25878
|
-
} }, hAsync("div", { key: '
|
|
26030
|
+
} }, hAsync("div", { key: 'e2114d44fcd9591e8468d3f07e30eb1d9e7bafba', class: 'menu-overlay-container' }, this.showSettings ? hAsync("slot", { name: "ix-menu-settings" }) : null), hAsync("div", { key: '8b076aa64d4d6216d7cd1c75989def2bac7eeaa8', class: 'menu-overlay-container' }, this.showAbout ? hAsync("slot", { name: "ix-menu-about" }) : null))));
|
|
25879
26031
|
}
|
|
25880
26032
|
get hostElement() { return getElement(this); }
|
|
25881
26033
|
static get watchers() { return {
|
|
@@ -25889,6 +26041,7 @@ class Menu {
|
|
|
25889
26041
|
"showSettings": [1028, "show-settings"],
|
|
25890
26042
|
"showAbout": [1028, "show-about"],
|
|
25891
26043
|
"enableToggleTheme": [4, "enable-toggle-theme"],
|
|
26044
|
+
"enableSettings": [4, "enable-settings"],
|
|
25892
26045
|
"enableMapExpand": [4, "enable-map-expand"],
|
|
25893
26046
|
"applicationName": [1, "application-name"],
|
|
25894
26047
|
"applicationDescription": [1, "application-description"],
|
|
@@ -26096,7 +26249,7 @@ class MenuAboutItem {
|
|
|
26096
26249
|
});
|
|
26097
26250
|
}
|
|
26098
26251
|
render() {
|
|
26099
|
-
return (hAsync(Host, { key: '
|
|
26252
|
+
return (hAsync(Host, { key: 'd7fbd6d3eb9261ae581a3fc6aa0d4547835856b0' }, hAsync("slot", { key: '7032262b6fd0d7e86f5d290596e3dce0880b10b4' })));
|
|
26100
26253
|
}
|
|
26101
26254
|
static get watchers() { return {
|
|
26102
26255
|
"label": ["watchLabel"]
|
|
@@ -26137,16 +26290,16 @@ class MenuAboutNews {
|
|
|
26137
26290
|
this.expanded = false;
|
|
26138
26291
|
}
|
|
26139
26292
|
render() {
|
|
26140
|
-
return (hAsync(Host, { key: '
|
|
26293
|
+
return (hAsync(Host, { key: '95f151ad250c647ad5f14bd4f88d78e46e514ac1', class: {
|
|
26141
26294
|
expanded: this.expanded,
|
|
26142
26295
|
show: !this.show,
|
|
26143
|
-
} }, hAsync("div", { key: '
|
|
26296
|
+
} }, hAsync("div", { key: '368eaeb12a404db78aef6bcd787253e00c0497c1', class: "banner-container" }, hAsync("ix-icon", { key: '900e83916b49ed9193a7c86bd58a41e7afacf030', color: "color-inv-contrast-text", name: iconShout, size: "32" }), hAsync("svg", { key: '9b02bee68663b22c69e77294c34613145a6acae1', viewBox: "0 0 48 56", xmlns: "http://www.w3.org/2000/svg" }, hAsync("polygon", { key: '7ca8ba247adefcee66e3b6fb90766e1dac1c24e9', points: "0 0 48 0 48 56 24 48 0 56" }))), hAsync("div", { key: 'e51f022a72cbb89f12ae48230e454c420e739d6b', class: "cui-popover-news-header" }, hAsync("ix-typography", { key: '7342ce0e0fd3a3468d001f7d4a7f9fb1ded8e4d5', format: "label", bold: true }, this.label)), hAsync("ix-icon-button", { key: '78fc5325efc91de0dee537fb08fcef24cf4f2892', size: "24", icon: iconClose, iconColor: "color-soft-text", variant: "tertiary", onClick: () => {
|
|
26144
26297
|
this.show = false;
|
|
26145
26298
|
this.closePopover.emit();
|
|
26146
|
-
} }), hAsync("div", { key: '
|
|
26299
|
+
} }), hAsync("div", { key: 'a4d2e24f6145159bc37443f0698c44d010cfae9f', class: "slot-container" }, hAsync("slot", { key: '3910790a589f986676f96351bc1dee070d9e1c70' })), this.aboutItemLabel ? (hAsync("div", { class: "cui-popover-news-footer" }, hAsync("ix-button", { variant: "primary", onClick: (e) => {
|
|
26147
26300
|
this.show = false;
|
|
26148
26301
|
this.showMore.emit(e);
|
|
26149
|
-
} }, this.i18nShowMore))) : null, hAsync("div", { key: '
|
|
26302
|
+
} }, this.i18nShowMore))) : null, hAsync("div", { key: '57c21fae6edd0514ff8691488e6dc5144d771d3f', id: "arrow" })));
|
|
26150
26303
|
}
|
|
26151
26304
|
static get style() { return menuAboutNewsCss; }
|
|
26152
26305
|
static get cmpMeta() { return {
|
|
@@ -26179,7 +26332,7 @@ class MenuAvatar {
|
|
|
26179
26332
|
/**
|
|
26180
26333
|
* Control the visibility of the logout button
|
|
26181
26334
|
*/
|
|
26182
|
-
this.
|
|
26335
|
+
this.showLogoutButton = true;
|
|
26183
26336
|
/**
|
|
26184
26337
|
* Control the visibility of the dropdown menu
|
|
26185
26338
|
*/
|
|
@@ -26195,11 +26348,11 @@ class MenuAvatar {
|
|
|
26195
26348
|
this.showContextMenu = elements.length !== 0;
|
|
26196
26349
|
}
|
|
26197
26350
|
render() {
|
|
26198
|
-
return (hAsync(Host, { key: '
|
|
26351
|
+
return (hAsync(Host, { key: '7f79c4e8976609b457553718b3c7a6585343ef41', slot: "ix-menu-avatar" }, hAsync("button", { key: 'f7a1f54e92e994fde630950d14c2ab6d2f76cfca', class: "nav-item top-item avatar no-hover", title: this.top, id: this.avatarElementId, tabIndex: 0 }, hAsync("ix-avatar", { key: '4edcdbcb5888333209f3bac6ac83809199a1388b', image: this.image, initials: this.initials }), hAsync("div", { key: 'eb7445ac9e9b4b8805b16ddf658cecc8a92ce13b', class: "avatar-name" }, hAsync("span", { key: '5f45a9b27bab73604706cf12936e6dddb6c58ae8', class: "text-default-single", title: this.top }, this.top), hAsync("span", { key: '8244b2107e08794f2d0e69e254b67a21dc65b8a9', class: "text-default-single", title: this.bottom }, this.bottom))), hAsync("ix-dropdown", { key: '2ca742defd798ae705094d56a915d14a42002006', trigger: this.hostElement, placement: 'right-start', hidden: !this.showContextMenu && !this.showLogoutButton, offset: {
|
|
26199
26352
|
mainAxis: 16,
|
|
26200
|
-
} }, hAsync("slot", { key: '
|
|
26353
|
+
} }, hAsync("slot", { key: '05ee10031be21932e39653c9fb7a900ebb088f8f', onSlotchange: () => this.onSlotChange() }), this.showLogoutButton ? (hAsync("ix-menu-avatar-item", { label: this.i18nLogout, icon: iconLogOut, onClick: (e) => {
|
|
26201
26354
|
this.logoutClick.emit(e);
|
|
26202
|
-
} })))));
|
|
26355
|
+
} })) : null)));
|
|
26203
26356
|
}
|
|
26204
26357
|
get hostElement() { return getElement(this); }
|
|
26205
26358
|
static get style() { return menuAvatarCss; }
|
|
@@ -26212,7 +26365,7 @@ class MenuAvatar {
|
|
|
26212
26365
|
"image": [1],
|
|
26213
26366
|
"initials": [1],
|
|
26214
26367
|
"i18nLogout": [1, "i18n-logout"],
|
|
26215
|
-
"
|
|
26368
|
+
"showLogoutButton": [4, "show-logout-button"],
|
|
26216
26369
|
"showContextMenu": [32]
|
|
26217
26370
|
},
|
|
26218
26371
|
"$listeners$": undefined,
|
|
@@ -26234,7 +26387,7 @@ class MenuAvatarItem {
|
|
|
26234
26387
|
return this.dropdownItemRef.waitForCurrent();
|
|
26235
26388
|
}
|
|
26236
26389
|
render() {
|
|
26237
|
-
return (hAsync("ix-dropdown-item", { key: '
|
|
26390
|
+
return (hAsync("ix-dropdown-item", { key: '97bff4f37686e2e6613c8283595d918eac13a161', ref: this.dropdownItemRef, icon: this.icon, label: this.label, onClick: (e) => this.itemClick.emit(e) }));
|
|
26238
26391
|
}
|
|
26239
26392
|
get hostElement() { return getElement(this); }
|
|
26240
26393
|
static get style() { return menuAvatarItemCss; }
|
|
@@ -26427,7 +26580,7 @@ class MenuCategory {
|
|
|
26427
26580
|
}
|
|
26428
26581
|
}
|
|
26429
26582
|
render() {
|
|
26430
|
-
return (hAsync(Host, { key: '
|
|
26583
|
+
return (hAsync(Host, { key: '49275009853fd8a9c9231e41b206e3f2d1b0d6a9', class: {
|
|
26431
26584
|
expanded: this.showItems,
|
|
26432
26585
|
}, onPointerEnter: () => {
|
|
26433
26586
|
this.enterLeaveDebounce.onEnter();
|
|
@@ -26436,14 +26589,14 @@ class MenuCategory {
|
|
|
26436
26589
|
return;
|
|
26437
26590
|
}
|
|
26438
26591
|
this.enterLeaveDebounce.onLeave();
|
|
26439
|
-
} }, hAsync("ix-menu-item", { key: '
|
|
26592
|
+
} }, hAsync("ix-menu-item", { key: '9288752f9cd67d83434da74c8f4fe65e57f21b8a', class: 'category-parent', active: this.isNestedItemActive(), notifications: this.notifications, icon: this.icon, onClick: (e) => this.onCategoryClick(e), onFocus: () => this.onPointerEnter(), tooltipText: this.tooltipText, isCategory: true }, hAsync("div", { key: 'e45b143ed2316a69bcc06a8b7ee4b32895a25f67', class: "category" }, hAsync("div", { key: '34ab800b45131b0b7324921baa6883bc8f2f1bf2', class: "category-text" }, this.label), hAsync("ix-icon", { key: '54450dce975a283573a4a25aaff84cc43e3cfeee', name: iconChevronDownSmall, class: {
|
|
26440
26593
|
'category-chevron': true,
|
|
26441
26594
|
'category-chevron--open': this.showItems,
|
|
26442
|
-
} }))), hAsync("div", { key: '
|
|
26595
|
+
} }))), hAsync("div", { key: '71a3deccbecc34fe27423c0d8c5fe12648244a3e', ref: (ref) => (this.menuItemsContainer = ref), class: {
|
|
26443
26596
|
'menu-items': true,
|
|
26444
26597
|
'menu-items--expanded': this.showItems,
|
|
26445
26598
|
'menu-items--collapsed': !this.showItems,
|
|
26446
|
-
} }, this.showItems ? hAsync("slot", null) : null), hAsync("ix-dropdown", { key: '
|
|
26599
|
+
} }, this.showItems ? hAsync("slot", null) : null), hAsync("ix-dropdown", { key: 'c9ba4105259aea83ecd4a125a084a555299c83de', closeBehavior: 'both', show: this.showDropdown, onShowChanged: ({ detail: dropdownShown }) => {
|
|
26447
26600
|
this.showDropdown = dropdownShown;
|
|
26448
26601
|
}, class: 'category-dropdown', anchor: this.hostElement, placement: "right-start", offset: {
|
|
26449
26602
|
mainAxis: 3,
|
|
@@ -26456,7 +26609,7 @@ class MenuCategory {
|
|
|
26456
26609
|
e.preventDefault();
|
|
26457
26610
|
}
|
|
26458
26611
|
}
|
|
26459
|
-
} }, hAsync("ix-dropdown-item", { key: '
|
|
26612
|
+
} }, hAsync("ix-dropdown-item", { key: '1e5e1b3659d6359c7c613bf15e7f9993f716cfab', class: 'category-dropdown-header' }, hAsync("ix-typography", { key: 'ffd1265ecaa6a5edb29536088440d5654de2fd2f', format: "label", bold: true, textColor: "std" }, this.label)), hAsync("ix-divider", { key: '61d8dc31511e8ddf63233bd4bda467374fbe44ef' }), hAsync("slot", { key: 'c509e35530dc05faa847c9dbae7a16de0f84d415' }))));
|
|
26460
26613
|
}
|
|
26461
26614
|
get hostElement() { return getElement(this); }
|
|
26462
26615
|
static get style() { return menuCategoryCss; }
|
|
@@ -26513,7 +26666,7 @@ class MenuExpandIcon {
|
|
|
26513
26666
|
return this.getSmallScreenIcon();
|
|
26514
26667
|
}
|
|
26515
26668
|
render() {
|
|
26516
|
-
return (hAsync(Host, { key: '
|
|
26669
|
+
return (hAsync(Host, { key: 'ef8794f40bf74a03af8b8ddeab15da2bfd40096f', class: {
|
|
26517
26670
|
expanded: this.expanded,
|
|
26518
26671
|
}, type: "button", "aria-label": this.ixAriaLabel, "aria-pressed": a11yBoolean(this.expanded) }, this.getMenuIcon()));
|
|
26519
26672
|
}
|
|
@@ -26633,11 +26786,11 @@ class MenuItem {
|
|
|
26633
26786
|
tabIndex: this.disabled ? -1 : 0,
|
|
26634
26787
|
};
|
|
26635
26788
|
const menuContent = [
|
|
26636
|
-
this.icon && hAsync("ix-icon", { key: '
|
|
26789
|
+
this.icon && hAsync("ix-icon", { key: '247ccf76115c4f9a3504ae8625cd064da17cb5f4', class: 'tab-icon', name: this.icon }),
|
|
26637
26790
|
this.notifications ? (hAsync("div", { class: "notification" }, hAsync("div", { class: "pill" }, this.notifications))) : null,
|
|
26638
|
-
hAsync("span", { key: '
|
|
26791
|
+
hAsync("span", { key: 'c98c04295888f8be7e0016cce7d749c19d641d32', id: this.internalItemId, class: "tab-text text-default" }, this.label, hAsync("slot", { key: 'ce04723016a4187e57f1dd31e4cb43cbea1cde93' })),
|
|
26639
26792
|
];
|
|
26640
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
26793
|
+
return (hAsync(Host, Object.assign({ key: '4f5490aa3304bdaa57dfbe5f2f9e292f78571ef7', class: {
|
|
26641
26794
|
disabled: this.disabled,
|
|
26642
26795
|
'home-tab': this.home,
|
|
26643
26796
|
'bottom-tab': this.bottom,
|
|
@@ -26648,7 +26801,7 @@ class MenuItem {
|
|
|
26648
26801
|
e.preventDefault();
|
|
26649
26802
|
e.stopPropagation();
|
|
26650
26803
|
}
|
|
26651
|
-
} }), menuContent)) : (hAsync("button", Object.assign({}, commonAttributes, { ref: this.buttonRef }), menuContent)), hAsync("ix-tooltip", { key: '
|
|
26804
|
+
} }), menuContent)) : (hAsync("button", Object.assign({}, commonAttributes, { ref: this.buttonRef }), menuContent)), hAsync("ix-tooltip", { key: '9eb280ed1e0b95127eae4db991470111f1af550a', for: this.buttonRef.waitForCurrent(), placement: 'right', showDelay: 1000, interactive: false, "aria-hidden": a11yBoolean(this.ariaHiddenTooltip), "aria-labelledby": this.internalItemId }, this.tooltip)));
|
|
26652
26805
|
}
|
|
26653
26806
|
get hostElement() { return getElement(this); }
|
|
26654
26807
|
static get watchers() { return {
|
|
@@ -26696,7 +26849,7 @@ class MenuSettingsItem {
|
|
|
26696
26849
|
});
|
|
26697
26850
|
}
|
|
26698
26851
|
render() {
|
|
26699
|
-
return (hAsync(Host, { key: '
|
|
26852
|
+
return (hAsync(Host, { key: '70dbe5bb6bb618cf897ea60bae0febecde3021d1' }, hAsync("slot", { key: 'ec2608b87f8123513ce9b052c6035ec04a41aef8' })));
|
|
26700
26853
|
}
|
|
26701
26854
|
static get watchers() { return {
|
|
26702
26855
|
"label": ["watchLabel"]
|
|
@@ -26723,12 +26876,13 @@ class MessageBar {
|
|
|
26723
26876
|
this.closeAnimationCompleted = createEvent(this, "closeAnimationCompleted", 7);
|
|
26724
26877
|
/**
|
|
26725
26878
|
* Specifies the type of the alert.
|
|
26879
|
+
* @deprecated Type `danger` will be removed in 4.0. Use `alarm` instead.
|
|
26726
26880
|
*/
|
|
26727
26881
|
this.type = 'info';
|
|
26728
26882
|
/**
|
|
26729
|
-
* If true, close button is
|
|
26883
|
+
* If true, close button is enabled and alert can be dismissed by the user
|
|
26730
26884
|
*/
|
|
26731
|
-
this.
|
|
26885
|
+
this.dismissible = true;
|
|
26732
26886
|
}
|
|
26733
26887
|
componentWillRender() {
|
|
26734
26888
|
const config = MessageBar.messageTypeConfigs[this.type];
|
|
@@ -26752,11 +26906,11 @@ class MessageBar {
|
|
|
26752
26906
|
}
|
|
26753
26907
|
}
|
|
26754
26908
|
render() {
|
|
26755
|
-
return (hAsync(Host, { key: '
|
|
26909
|
+
return (hAsync(Host, { key: '6891d4beda70c732fe7dabcccbda52364f64421b' }, hAsync("div", { key: 'eb114c2e6af4fdd9acda5ccd69a2a2d662f84fa2', class: { 'message-container': true, [this.type]: true }, role: "alert", ref: (el) => (this.divElement = el) }, hAsync("ix-icon", { key: '19a67a4072f5f101374f8fb715521b60cddef90b', color: this.color, name: this.icon }), hAsync("div", { key: '616ae9cfd0f341f9eb555e0d6c6e1b79247833c1', class: "message-content" }, hAsync("slot", { key: 'a9f942a0f9d9439cdf3bcbab58c43afe3c92821d' })), this.dismissible ? (hAsync("ix-icon-button", { icon: iconClose, iconColor: "color-soft-text", size: "24", variant: "tertiary", onClick: () => {
|
|
26756
26910
|
if (this.divElement) {
|
|
26757
26911
|
this.closeAlert(this.divElement);
|
|
26758
26912
|
}
|
|
26759
|
-
}, "data-testid": "close-btn" })))));
|
|
26913
|
+
}, "data-testid": "close-btn" })) : (''))));
|
|
26760
26914
|
}
|
|
26761
26915
|
static get style() { return messageBarCss; }
|
|
26762
26916
|
static get cmpMeta() { return {
|
|
@@ -26764,7 +26918,7 @@ class MessageBar {
|
|
|
26764
26918
|
"$tagName$": "ix-message-bar",
|
|
26765
26919
|
"$members$": {
|
|
26766
26920
|
"type": [1],
|
|
26767
|
-
"
|
|
26921
|
+
"dismissible": [4],
|
|
26768
26922
|
"icon": [32],
|
|
26769
26923
|
"color": [32]
|
|
26770
26924
|
},
|
|
@@ -26775,9 +26929,11 @@ class MessageBar {
|
|
|
26775
26929
|
}
|
|
26776
26930
|
MessageBar.duration = 300;
|
|
26777
26931
|
MessageBar.messageTypeConfigs = {
|
|
26932
|
+
//TODO(IX-3400): Replace icon colors with proper CSS variables when available
|
|
26778
26933
|
alarm: { icon: iconError, color: 'color-alarm' },
|
|
26934
|
+
danger: { icon: iconError, color: 'color-alarm' },
|
|
26779
26935
|
critical: { icon: iconWarningRhomb, color: 'color-critical' },
|
|
26780
|
-
warning: { icon: iconWarning, color: 'color-warning' },
|
|
26936
|
+
warning: { icon: iconWarning, color: 'color-warning-text' },
|
|
26781
26937
|
success: { icon: iconSuccess, color: 'color-success' },
|
|
26782
26938
|
info: { icon: iconInfo, color: 'color-info' },
|
|
26783
26939
|
neutral: { icon: iconNotification, color: 'color-neutral' },
|
|
@@ -26813,7 +26969,7 @@ function waitForElement(selector, doc, timeout = 3000) {
|
|
|
26813
26969
|
});
|
|
26814
26970
|
}
|
|
26815
26971
|
|
|
26816
|
-
const modalCss = "::backdrop{background:var(--theme-color-lightbox, rgba(0, 0, 0, 0.5490196078))}:focus-visible{outline:none !important}:host{display:none}:host dialog{--ix-dialog-padding:1rem;margin:0;padding:var(--ix-dialog-padding);padding-top:calc(var(--ix-dialog-padding) + var(--ix-safe-area-inset-top));padding-bottom:calc(var(--ix-dialog-padding) + var(--ix-safe-area-inset-bottom));left:50%}:host dialog::backdrop{-webkit-backdrop-filter:blur(2.7182817459px);backdrop-filter:blur(2.7182817459px)}:host .modal{display:flex;flex-direction:column;position:
|
|
26972
|
+
const modalCss = "::backdrop{background:var(--theme-color-lightbox, rgba(0, 0, 0, 0.5490196078))}:focus-visible{outline:none !important}:host{display:none}:host dialog{--ix-dialog-padding:1rem;margin:0;padding:var(--ix-dialog-padding);padding-top:calc(var(--ix-dialog-padding) + var(--ix-safe-area-inset-top));padding-bottom:calc(var(--ix-dialog-padding) + var(--ix-safe-area-inset-bottom));left:50%}:host dialog::backdrop{-webkit-backdrop-filter:blur(2.7182817459px);backdrop-filter:blur(2.7182817459px)}:host .modal{display:flex;flex-direction:column;position:fixed;border:none;border-radius:var(--theme-default-border-radius);background:var(--theme-modal--background);box-shadow:var(--theme-shadow-4);color:var(--theme-color-std-text);overflow:visible;max-height:80vh;pointer-events:all}:host .modal-size-360{width:22.5rem}:host .modal-size-480{width:30rem}:host .modal-size-600{width:37.5rem}:host .modal-size-720{width:45rem}:host .modal-size-840{width:52.5rem}:host .modal-size-full-width{width:95%}:host .modal-size-full-screen{border-radius:0;left:0 !important;top:0 !important;transform:none !important;box-shadow:none;--ix-dialog-full-screen-height:calc(\n var(--ix-safe-area-inset-top) + var(--ix-safe-area-inset-bottom)\n );width:calc(100% - var(--ix-dialog-padding) * 2);min-width:calc(100% - var(--ix-dialog-padding) * 2);max-width:calc(100% - var(--ix-dialog-padding) * 2);min-height:calc(100% - var(--ix-dialog-padding) * 2 - var(--ix-dialog-full-screen-height));max-height:calc(100% - var(--ix-dialog-padding) * 2 - var(--ix-dialog-full-screen-height))}:host dialog.modal-size-full-screen::backdrop{background:var(--theme-modal--background)}:host .dialog-backdrop{display:block;position:fixed;width:100vw;height:100vh;top:0;left:0;pointer-events:none}:host ::slotted(ix-modal-footer){margin-top:auto}:host(.visible){display:block}:host(.align-center) dialog{margin:0;left:50%;top:50%}:host(.no-backdrop) dialog::backdrop{background-color:transparent !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important}:host(.with-icon) ::slotted(ix-modal-footer),:host(.with-icon) ::slotted(ix-modal-content){margin-left:3rem}";
|
|
26817
26973
|
|
|
26818
26974
|
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
26819
26975
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -26837,13 +26993,13 @@ class Modal {
|
|
|
26837
26993
|
*/
|
|
26838
26994
|
this.size = '360';
|
|
26839
26995
|
/**
|
|
26840
|
-
* Should the modal
|
|
26996
|
+
* Should the modal be animated
|
|
26841
26997
|
*/
|
|
26842
|
-
this.
|
|
26998
|
+
this.animation = true;
|
|
26843
26999
|
/**
|
|
26844
|
-
*
|
|
27000
|
+
* Show a backdrop behind the modal dialog
|
|
26845
27001
|
*/
|
|
26846
|
-
this.
|
|
27002
|
+
this.backdrop = true;
|
|
26847
27003
|
/**
|
|
26848
27004
|
* Dismiss modal on backdrop click
|
|
26849
27005
|
*/
|
|
@@ -26853,9 +27009,9 @@ class Modal {
|
|
|
26853
27009
|
*/
|
|
26854
27010
|
this.centered = false;
|
|
26855
27011
|
/**
|
|
26856
|
-
* If set to true the modal
|
|
27012
|
+
* If set to true the modal can be closed by pressing the Escape key
|
|
26857
27013
|
*/
|
|
26858
|
-
this.
|
|
27014
|
+
this.closeOnEscape = true;
|
|
26859
27015
|
this.modalVisible = false;
|
|
26860
27016
|
}
|
|
26861
27017
|
onKey(e) {
|
|
@@ -26867,7 +27023,7 @@ class Modal {
|
|
|
26867
27023
|
return this.hostElement.shadowRoot.querySelector('dialog');
|
|
26868
27024
|
}
|
|
26869
27025
|
slideInModal() {
|
|
26870
|
-
const duration = this.
|
|
27026
|
+
const duration = this.animation ? Animation.mediumTime : 0;
|
|
26871
27027
|
const translateY = this.centered ? ['-90%', '-50%'] : [0, 40];
|
|
26872
27028
|
animate(this.dialog, {
|
|
26873
27029
|
duration,
|
|
@@ -26878,7 +27034,7 @@ class Modal {
|
|
|
26878
27034
|
});
|
|
26879
27035
|
}
|
|
26880
27036
|
slideOutModal(completeCallback) {
|
|
26881
|
-
const duration = this.
|
|
27037
|
+
const duration = this.animation ? Animation.mediumTime : 0;
|
|
26882
27038
|
const translateY = this.centered ? ['-50%', '-90%'] : [40, 0];
|
|
26883
27039
|
animate(this.dialog, {
|
|
26884
27040
|
duration,
|
|
@@ -26967,17 +27123,17 @@ class Modal {
|
|
|
26967
27123
|
this.ariaAttributes = a11yHostAttributes(this.hostElement);
|
|
26968
27124
|
}
|
|
26969
27125
|
render() {
|
|
26970
|
-
return (hAsync(Host, { key: '
|
|
27126
|
+
return (hAsync(Host, { key: 'a564177392104f0864b5d3420cc16c902a932b02', class: {
|
|
26971
27127
|
visible: this.modalVisible,
|
|
26972
|
-
'no-backdrop': this.
|
|
27128
|
+
'no-backdrop': this.backdrop === false,
|
|
26973
27129
|
'align-center': this.centered,
|
|
26974
|
-
} }, hAsync("div", { key: '
|
|
27130
|
+
} }, hAsync("div", { key: '5d06f39b564cfca3e1b956cd2343fc29d8daf8ad', class: "dialog-backdrop" }, hAsync("dialog", { key: '5c47755164df8b5f6767e8dad6b5fbfbcfee03b7', "aria-modal": a11yBoolean(true), "aria-describedby": this.ariaAttributes['aria-describedby'], "aria-labelledby": this.ariaAttributes['aria-labelledby'], class: {
|
|
26975
27131
|
modal: true,
|
|
26976
27132
|
[`modal-size-${this.size}`]: true,
|
|
26977
27133
|
}, onClose: () => this.dismissModal(), onMouseDown: (event) => this.onMouseDown(event), onMouseUp: (event) => this.onMouseUp(event), onCancel: (e) => {
|
|
26978
27134
|
e.preventDefault();
|
|
26979
27135
|
this.dismissModal();
|
|
26980
|
-
} }, hAsync("slot", { key: '
|
|
27136
|
+
} }, hAsync("slot", { key: 'e2cd48ec148b91a57a467dfb903e1308e104a5ad' })))));
|
|
26981
27137
|
}
|
|
26982
27138
|
get hostElement() { return getElement(this); }
|
|
26983
27139
|
static get style() { return modalCss; }
|
|
@@ -26986,12 +27142,12 @@ class Modal {
|
|
|
26986
27142
|
"$tagName$": "ix-modal",
|
|
26987
27143
|
"$members$": {
|
|
26988
27144
|
"size": [1],
|
|
26989
|
-
"
|
|
26990
|
-
"
|
|
27145
|
+
"animation": [4],
|
|
27146
|
+
"backdrop": [4],
|
|
26991
27147
|
"closeOnBackdropClick": [4, "close-on-backdrop-click"],
|
|
26992
27148
|
"beforeDismiss": [16, "before-dismiss"],
|
|
26993
27149
|
"centered": [4],
|
|
26994
|
-
"
|
|
27150
|
+
"closeOnEscape": [4, "close-on-escape"],
|
|
26995
27151
|
"modalVisible": [32],
|
|
26996
27152
|
"showModal": [64],
|
|
26997
27153
|
"dismissModal": [64],
|
|
@@ -27003,7 +27159,7 @@ class Modal {
|
|
|
27003
27159
|
}; }
|
|
27004
27160
|
}
|
|
27005
27161
|
__decorate$8([
|
|
27006
|
-
OnListener('keydown', (self) => self.
|
|
27162
|
+
OnListener('keydown', (self) => !self.closeOnEscape)
|
|
27007
27163
|
], Modal.prototype, "onKey", null);
|
|
27008
27164
|
|
|
27009
27165
|
const modalContentCss = ":host{display:block;position:relative;overflow:auto;padding:0 0.5rem 0.5rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}";
|
|
@@ -27013,7 +27169,7 @@ class ModalContent {
|
|
|
27013
27169
|
registerInstance(this, hostRef);
|
|
27014
27170
|
}
|
|
27015
27171
|
render() {
|
|
27016
|
-
return (hAsync(Host, { key: '
|
|
27172
|
+
return (hAsync(Host, { key: 'd7bef3767ae242cfdd5a3367c9c2abb1f2c0d4d6' }, hAsync("slot", { key: 'e2b8abbf51791d879a28bc322578e571d5714e8a' })));
|
|
27017
27173
|
}
|
|
27018
27174
|
static get style() { return modalContentCss; }
|
|
27019
27175
|
static get cmpMeta() { return {
|
|
@@ -27033,7 +27189,7 @@ class ModalFooter {
|
|
|
27033
27189
|
registerInstance(this, hostRef);
|
|
27034
27190
|
}
|
|
27035
27191
|
render() {
|
|
27036
|
-
return (hAsync(Host, { key: '
|
|
27192
|
+
return (hAsync(Host, { key: 'e3164f3ff8999aca095a833b495e5194841f0039' }, hAsync("slot", { key: 'c3765f1f908b7375a6c9f5cf08e7a370a0d750b7' })));
|
|
27037
27193
|
}
|
|
27038
27194
|
static get style() { return modalFooterCss; }
|
|
27039
27195
|
static get cmpMeta() { return {
|
|
@@ -27079,7 +27235,7 @@ class ModalHeader {
|
|
|
27079
27235
|
this.parentDialog.dismissModal();
|
|
27080
27236
|
}
|
|
27081
27237
|
render() {
|
|
27082
|
-
return (hAsync(Host, { key: '
|
|
27238
|
+
return (hAsync(Host, { key: 'ec19146ced5b95a1b9723ece2aee4fbf6f3a666c' }, this.icon ? (hAsync("ix-icon", { name: this.icon, color: this.iconColor, size: "32", "aria-label": this.ariaLabelIcon })) : null, hAsync("div", { key: '46bac93f4005f43362c02a1852aa3e76e324358f', class: "modal-title" }, hAsync("ix-typography", { key: 'f201f3adcff612e81e34e60d3ed9470aac2f77e7', format: "h5" }, hAsync("slot", { key: '17302db5dbc882983abb1cbb1a46f4c2b9fce9ea' }))), !this.hideClose ? (hAsync("ix-icon-button", { class: "modal-close", onClick: (event) => this.onCloseClick(event), variant: "tertiary", icon: iconClose, iconColor: "color-soft-text", "aria-label": this.ariaLabelCloseIconButton })) : null));
|
|
27083
27239
|
}
|
|
27084
27240
|
get hostElement() { return getElement(this); }
|
|
27085
27241
|
static get watchers() { return {
|
|
@@ -27112,7 +27268,7 @@ class ModalLoading {
|
|
|
27112
27268
|
registerInstance(this, hostRef);
|
|
27113
27269
|
}
|
|
27114
27270
|
render() {
|
|
27115
|
-
return (hAsync(Host, { key: '
|
|
27271
|
+
return (hAsync(Host, { key: '6689de127dae752b929ac792e91a9ba2c4bc6691' }, hAsync("ix-spinner", { key: 'fd210b76ae2210b57f1418be5d589eac139ca1a4', variant: "primary" }), hAsync("span", { key: '3d1078bd723bfb37172630f8fd55b34cd2b77c4e', class: 'loading-text' }, hAsync("slot", { key: '21de9ad0be01c0da9b7c8ca0bfbca99f5f5731f4' }))));
|
|
27116
27272
|
}
|
|
27117
27273
|
static get style() { return modalLoadingCss; }
|
|
27118
27274
|
static get cmpMeta() { return {
|
|
@@ -27245,19 +27401,19 @@ class NumberInput {
|
|
|
27245
27401
|
}
|
|
27246
27402
|
render() {
|
|
27247
27403
|
const showStepperButtons = this.showStepperButtons && (this.disabled || this.readonly) === false;
|
|
27248
|
-
return (hAsync(Host, { key: '
|
|
27404
|
+
return (hAsync(Host, { key: 'f4469bdb3c05aa990e20a17467d67243056c2767', class: {
|
|
27249
27405
|
disabled: this.disabled,
|
|
27250
27406
|
readonly: this.readonly,
|
|
27251
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
27407
|
+
} }, hAsync("ix-field-wrapper", { key: 'b5172d5a04ff81b06484cd42bbafa95c4df918eb', id: this.numberInputId, required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, hAsync("div", { key: '40c286987ba4b67a3dde2f034db1d0c22d5a9cfe', class: {
|
|
27252
27408
|
'input-wrapper': true,
|
|
27253
27409
|
'show-stepper-buttons': !!this.showStepperButtons,
|
|
27254
|
-
} }, hAsync(SlotStart, { key: '
|
|
27410
|
+
} }, hAsync(SlotStart, { key: '75e15f42a93ebc862ac718c35092be8175e97ca6', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), hAsync(InputElement, { key: '552e8d9e1b0ee6f2359398b51d2d3690deb8f41d', id: this.numberInputId, readonly: this.readonly, disabled: this.disabled, step: this.step, min: this.min, max: this.max, pattern: this.pattern, type: 'number', isInvalid: this.isInvalid, required: this.required, value: this.value, placeholder: this.placeholder, inputRef: this.inputRef, onKeyPress: (event) => checkAllowedKeys(this, event), valueChange: (value) => this.valueChange.emit(Number(value)), updateFormInternalValue: (value) => this.updateFormInternalValue(Number(value)), onBlur: () => {
|
|
27255
27411
|
onInputBlur(this, this.inputRef.current);
|
|
27256
27412
|
this.touched = true;
|
|
27257
|
-
} }), hAsync(SlotEnd, { key: '
|
|
27413
|
+
} }), hAsync(SlotEnd, { key: '0a66c00a4c0c89543ceac9e67f3d20270811b606', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, hAsync("div", { key: '7b7f430745f590159d4a358e48fe8c1b425ceb7c', class: {
|
|
27258
27414
|
'number-stepper-container': true,
|
|
27259
27415
|
'container-hidden': !showStepperButtons,
|
|
27260
|
-
} }, hAsync("ix-icon-button", { key: '
|
|
27416
|
+
} }, hAsync("ix-icon-button", { key: '3d01783a59bf18983785052b697fefac4519d0c4', variant: "subtle-tertiary", icon: iconMinus, size: "16", class: "number-stepper-button step-minus", "aria-label": "decrement number", onClick: () => {
|
|
27261
27417
|
if (!this.inputRef.current) {
|
|
27262
27418
|
return;
|
|
27263
27419
|
}
|
|
@@ -27265,7 +27421,7 @@ class NumberInput {
|
|
|
27265
27421
|
checkInternalValidity(this, this.inputRef.current);
|
|
27266
27422
|
this.updateFormInternalValue(Number(this.inputRef.current.value));
|
|
27267
27423
|
this.valueChange.emit(this.value);
|
|
27268
|
-
} }), hAsync("ix-icon-button", { key: '
|
|
27424
|
+
} }), hAsync("ix-icon-button", { key: 'f4082f7d6c9f03369a3cd5d1259756bc9c61f831', variant: "subtle-tertiary", icon: iconPlus, size: "16", class: "number-stepper-button step-plus", "aria-label": "increment number", onClick: () => {
|
|
27269
27425
|
if (!this.inputRef.current) {
|
|
27270
27426
|
return;
|
|
27271
27427
|
}
|
|
@@ -27349,9 +27505,9 @@ class Pagination {
|
|
|
27349
27505
|
*/
|
|
27350
27506
|
this.itemCount = 15;
|
|
27351
27507
|
/**
|
|
27352
|
-
*
|
|
27508
|
+
* Show item count in advanced mode
|
|
27353
27509
|
*/
|
|
27354
|
-
this.
|
|
27510
|
+
this.showItemCount = true;
|
|
27355
27511
|
/**
|
|
27356
27512
|
* Total number of pages
|
|
27357
27513
|
*/
|
|
@@ -27462,16 +27618,16 @@ class Pagination {
|
|
|
27462
27618
|
return hAsync("span", { class: "page-buttons" }, pageButtons);
|
|
27463
27619
|
}
|
|
27464
27620
|
render() {
|
|
27465
|
-
return (hAsync(Host, { key: '
|
|
27621
|
+
return (hAsync(Host, { key: 'd8569f37bf15b09f97b84eaca4620f7fff2c4176' }, hAsync("ix-icon-button", { key: '774b6598068ca9226f53fa6212a63e6c0fb10c84', disabled: !this.count || this.selectedPage === 0, variant: "subtle-tertiary", icon: iconChevronLeftSmall, onClick: () => this.decrease(), "aria-label": this.ariaLabelChevronLeftIconButton }), this.advanced ? (hAsync("div", { class: "advanced-pagination" }, hAsync("ix-typography", { format: "body" }, this.i18nPage), hAsync("input", { class: "ix-form-control page-selection", type: "number", min: "1", max: this.count, value: this.selectedPage + 1, onChange: (event) => {
|
|
27466
27622
|
const eventTarget = event.target;
|
|
27467
27623
|
if (eventTarget) {
|
|
27468
27624
|
const index = Number.parseInt(eventTarget.value);
|
|
27469
27625
|
this.selectPage(index - 1);
|
|
27470
27626
|
}
|
|
27471
|
-
} }), hAsync("span", { class: "total-count" }, hAsync("ix-typography", { format: "body" }, this.i18nOf, " ", this.count)))) : (hAsync("span", { class: "basic-pagination" }, this.renderPageButtons(), " ")), hAsync("ix-icon-button", { key: '
|
|
27627
|
+
} }), hAsync("span", { class: "total-count" }, hAsync("ix-typography", { format: "body" }, this.i18nOf, " ", this.count)))) : (hAsync("span", { class: "basic-pagination" }, this.renderPageButtons(), " ")), hAsync("ix-icon-button", { key: '172d43a656479505535f3f07d651c3a55db6f66d', disabled: !this.count || this.selectedPage === this.count - 1, variant: "subtle-tertiary", icon: iconChevronRightSmall, onClick: () => this.increase(), "aria-label": this.ariaLabelChevronRightIconButton }), this.advanced && this.showItemCount ? (hAsync("span", { class: "item-count" }, hAsync("ix-typography", { format: "body" }, this.i18nItems), hAsync("ix-select", { hideListHeader: true, i18nPlaceholder: "", i18nSelectListHeader: "", value: `${this.itemCount}`, onValueChange: (e) => {
|
|
27472
27628
|
const count = Number.parseInt(Array.isArray(e.detail) ? e.detail[0] : e.detail);
|
|
27473
27629
|
this.itemCountChanged.emit(count);
|
|
27474
|
-
} }, hAsync("ix-select-item", {
|
|
27630
|
+
} }, hAsync("ix-select-item", { label: "10", value: "10" }), hAsync("ix-select-item", { label: "15", value: "15" }), hAsync("ix-select-item", { label: "20", value: "20" }), hAsync("ix-select-item", { label: "40", value: "40" }), hAsync("ix-select-item", { label: "100", value: "100" })))) : ('')));
|
|
27475
27631
|
}
|
|
27476
27632
|
get hostElement() { return getElement(this); }
|
|
27477
27633
|
static get style() { return paginationCss; }
|
|
@@ -27481,7 +27637,7 @@ class Pagination {
|
|
|
27481
27637
|
"$members$": {
|
|
27482
27638
|
"advanced": [4],
|
|
27483
27639
|
"itemCount": [2, "item-count"],
|
|
27484
|
-
"
|
|
27640
|
+
"showItemCount": [4, "show-item-count"],
|
|
27485
27641
|
"count": [2],
|
|
27486
27642
|
"selectedPage": [1026, "selected-page"],
|
|
27487
27643
|
"i18nPage": [1, "i18n-page"],
|
|
@@ -28321,7 +28477,7 @@ class Panes {
|
|
|
28321
28477
|
}; }
|
|
28322
28478
|
}
|
|
28323
28479
|
|
|
28324
|
-
const pillCss = ":host{display:inline-block;position:relative;height:1.25rem;max-height:1.25rem;margin-left:0.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.container{display:inline-flex;width:inherit;max-width:100%;box-sizing:border-box;position:relative;align-items:center;border-radius:100px;padding:0.5rem;vertical-align:top;height:2rem;max-height:2rem;cursor:default}.container .content-wrapper{display:inline-flex;align-items:center;flex:1;min-width:0}.container .with-icon{margin-right:0.25rem}.container .close-button-container{display:inline-flex;margin-left:auto;padding-left:0.5rem}.container .slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container.centerContent .content-wrapper{justify-content:center;text-align:center}.container.outline.icon{padding-left:calc(0.75rem - 1px)}.container.outline.icon.alarm .with-icon{color:var(--theme-color-alarm)}.container.outline.icon.critical .with-icon{color:var(--theme-color-critical)}.container.outline.icon.warning .with-icon{color:var(--theme-color-warning)}.container.outline.icon.info .with-icon{color:var(--theme-color-info)}.container.outline.icon.neutral .with-icon{color:var(--theme-color-neutral)}.container.outline.icon.success .with-icon{color:var(--theme-color-success)}.container.outline:not(.icon){padding-left:calc(0.5rem - 1px)}.container.outline.closable:not(.inactive){padding-right:calc(0.25rem - 1px)}.container.outline.closable.inactive,.container.outline:not(.closable){padding-right:calc(0.5rem - 1px)}.container.outline.icon:not(.closable){padding-right:calc(0.75rem - 1px)}.container:not(.outline).icon{padding-left:0.75rem}.container:not(.outline):not(.icon){padding-left:0.5rem}.container:not(.outline).closable:not(.inactive){padding-right:0.25rem}.container:not(.outline).closable.inactive{padding-right:0.5rem}.container:not(.outline):not(.closable).icon{padding-right:0.75rem}.container:not(.outline):not(.closable):not(.icon){padding-right:0.5rem}.container.primary{background-color:var(--theme-color-primary);color:var(--theme-chip-primary--color)}.container.primary .close-button{color:var(--theme-chip-primary--color);--ix-icon-button-color:var(--theme-chip-primary--color);pointer-events:auto}.container.primary.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-primary-outline--background);border:solid 1px var(--theme-chip-primary-outline--border-color)}.container.primary.outline .close-button{color:var(--theme-chip-outline--color);--ix-icon-button-color:var(--theme-chip-outline--color)}.container.primary.outline .with-icon{color:var(--theme-color-primary)}.container.outline{border-width:1px;border-style:solid}.container.alarm{color:var(--theme-color-alarm--contrast)}.container.alarm:not(.outline){background-color:var(--theme-color-alarm)}.container.alarm:not(.outline) .close-button{color:var(--theme-color-alarm--contrast);--ix-icon-button-color:var(--theme-color-alarm--contrast)}.container.alarm.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-alarm)}.container.critical{color:var(--theme-color-critical--contrast)}.container.critical:not(.outline){background-color:var(--theme-color-critical)}.container.critical:not(.outline) .close-button{color:var(--theme-color-critical--contrast);--ix-icon-button-color:var(--theme-color-critical--contrast)}.container.critical.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-critical)}.container.warning{color:var(--theme-color-warning--contrast)}.container.warning:not(.outline){background-color:var(--theme-color-warning)}.container.warning:not(.outline) .close-button{color:var(--theme-color-warning--contrast);--ix-icon-button-color:var(--theme-color-warning--contrast)}.container.warning.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-warning)}.container.info{color:var(--theme-color-info--contrast)}.container.info:not(.outline){background-color:var(--theme-color-info)}.container.info:not(.outline) .close-button{color:var(--theme-color-info--contrast);--ix-icon-button-color:var(--theme-color-info--contrast)}.container.info.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-info)}.container.neutral{color:var(--theme-color-neutral--contrast)}.container.neutral:not(.outline){background-color:var(--theme-color-neutral)}.container.neutral:not(.outline) .close-button{color:var(--theme-color-neutral--contrast);--ix-icon-button-color:var(--theme-color-neutral--contrast)}.container.neutral.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-neutral)}.container.success{color:var(--theme-color-success--contrast)}.container.success:not(.outline){background-color:var(--theme-color-success)}.container.success:not(.outline) .close-button{color:var(--theme-color-success--contrast);--ix-icon-button-color:var(--theme-color-success--contrast)}.container.success.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-success)}:host .container{height:100%;justify-content:center}:host .container .with-icon{margin-right:0}:host .container.outline{background-color:var(--theme-pill-outline--background)}:host .container.outline.icon{padding-left:0.4375rem;padding-right:0.4375rem}:host .container:not(.outline).icon{padding-left:0.5rem;padding-right:0.5rem}:host .with-gap{gap:0.25rem}:host(.align-left) .container{justify-content:flex-start}";
|
|
28480
|
+
const pillCss = ":host{display:inline-block;position:relative;height:1.25rem;max-height:1.25rem;margin-left:0.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.container{display:inline-flex;width:inherit;max-width:100%;box-sizing:border-box;position:relative;align-items:center;border-radius:100px;padding:0.5rem;vertical-align:top;height:2rem;max-height:2rem;cursor:default}.container .content-wrapper{display:inline-flex;align-items:center;flex:1;min-width:0}.container .with-icon{margin-right:0.25rem}.container .close-button-container{display:inline-flex;margin-left:auto;padding-left:0.5rem}.container .slot-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container.centerContent .content-wrapper{justify-content:center;text-align:center}.container.outline.icon{padding-left:calc(0.75rem - 1px)}.container.outline.icon.alarm .with-icon{color:var(--theme-color-alarm)}.container.outline.icon.critical .with-icon{color:var(--theme-color-critical)}.container.outline.icon.warning .with-icon{color:var(--theme-color-warning-text)}.container.outline.icon.info .with-icon{color:var(--theme-color-info)}.container.outline.icon.neutral .with-icon{color:var(--theme-color-neutral)}.container.outline.icon.success .with-icon{color:var(--theme-color-success)}.container.outline:not(.icon){padding-left:calc(0.5rem - 1px)}.container.outline.closable:not(.inactive){padding-right:calc(0.25rem - 1px)}.container.outline.closable.inactive,.container.outline:not(.closable){padding-right:calc(0.5rem - 1px)}.container.outline.icon:not(.closable){padding-right:calc(0.75rem - 1px)}.container:not(.outline).icon{padding-left:0.75rem}.container:not(.outline):not(.icon){padding-left:0.5rem}.container:not(.outline).closable:not(.inactive){padding-right:0.25rem}.container:not(.outline).closable.inactive{padding-right:0.5rem}.container:not(.outline):not(.closable).icon{padding-right:0.75rem}.container:not(.outline):not(.closable):not(.icon){padding-right:0.5rem}.container.primary{background-color:var(--theme-color-primary);color:var(--theme-chip-primary--color)}.container.primary .close-button{color:var(--theme-chip-primary--color);--ix-icon-button-color:var(--theme-chip-primary--color);pointer-events:auto}.container.primary.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-primary-outline--background);border:solid 1px var(--theme-chip-primary-outline--border-color)}.container.primary.outline .close-button{color:var(--theme-chip-outline--color);--ix-icon-button-color:var(--theme-chip-outline--color)}.container.primary.outline .with-icon{color:var(--theme-color-primary)}.container.outline{border-width:1px;border-style:solid}.container.alarm{color:var(--theme-color-alarm--contrast)}.container.alarm:not(.outline){background-color:var(--theme-color-alarm)}.container.alarm:not(.outline) .close-button{color:var(--theme-color-alarm--contrast);--ix-icon-button-color:var(--theme-color-alarm--contrast)}.container.alarm.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-alarm)}.container.critical{color:var(--theme-color-critical--contrast)}.container.critical:not(.outline){background-color:var(--theme-color-critical)}.container.critical:not(.outline) .close-button{color:var(--theme-color-critical--contrast);--ix-icon-button-color:var(--theme-color-critical--contrast)}.container.critical.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-critical)}.container.warning{color:var(--theme-color-warning--contrast)}.container.warning:not(.outline){background-color:var(--theme-color-warning)}.container.warning:not(.outline) .close-button{color:var(--theme-color-warning--contrast);--ix-icon-button-color:var(--theme-color-warning--contrast)}.container.warning.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-warning)}.container.info{color:var(--theme-color-info--contrast)}.container.info:not(.outline){background-color:var(--theme-color-info)}.container.info:not(.outline) .close-button{color:var(--theme-color-info--contrast);--ix-icon-button-color:var(--theme-color-info--contrast)}.container.info.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-info)}.container.neutral{color:var(--theme-color-neutral--contrast)}.container.neutral:not(.outline){background-color:var(--theme-color-neutral)}.container.neutral:not(.outline) .close-button{color:var(--theme-color-neutral--contrast);--ix-icon-button-color:var(--theme-color-neutral--contrast)}.container.neutral.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-neutral)}.container.success{color:var(--theme-color-success--contrast)}.container.success:not(.outline){background-color:var(--theme-color-success)}.container.success:not(.outline) .close-button{color:var(--theme-color-success--contrast);--ix-icon-button-color:var(--theme-color-success--contrast)}.container.success.outline{color:var(--theme-chip-outline--color);background-color:var(--theme-chip-outline--background);border-color:var(--theme-color-success)}:host .container{height:100%;justify-content:center}:host .container .with-icon{margin-right:0}:host .container.outline{background-color:var(--theme-pill-outline--background)}:host .container.outline.icon{padding-left:0.4375rem;padding-right:0.4375rem}:host .container:not(.outline).icon{padding-left:0.5rem;padding-right:0.5rem}:host .with-gap{gap:0.25rem}:host(.align-left) .container{justify-content:flex-start}";
|
|
28325
28481
|
|
|
28326
28482
|
class Pill {
|
|
28327
28483
|
constructor(hostRef) {
|
|
@@ -28599,13 +28755,13 @@ class PushCard {
|
|
|
28599
28755
|
*/
|
|
28600
28756
|
this.variant = 'outline';
|
|
28601
28757
|
/**
|
|
28602
|
-
*
|
|
28758
|
+
* Collapse the card
|
|
28603
28759
|
*/
|
|
28604
|
-
this.
|
|
28760
|
+
this.collapse = true;
|
|
28605
28761
|
}
|
|
28606
28762
|
render() {
|
|
28607
28763
|
var _a;
|
|
28608
|
-
return (hAsync(Host, { key: '
|
|
28764
|
+
return (hAsync(Host, { key: '6bbf00437c1ca66db153373bde27219f8e97a214', class: `card-${this.variant}` }, hAsync("ix-card", { key: 'd50854bbf3275c836c8007dcf718fe1d92696123', variant: this.variant }, hAsync("ix-card-content", { key: 'bef19c7cf43df532a478222958e0b4d860be1e30' }, hAsync("ix-card-title", { key: '123f9405b787ed426ffcc386ac3b28757bab3fcd' }, this.icon ? (hAsync("ix-icon", { class: 'icon', name: this.icon, size: "32", "aria-label": this.ariaLabelIcon })) : null, hAsync("ix-typography", { key: '3b792a4d47d354388e04e2f2692cfe670f086bae', format: "display-xxl" }, (_a = this.notification) !== null && _a !== void 0 ? _a : 0), hAsync("slot", { key: '99309088649ceed43b54101f59a69a57c6c7597d', name: "title-action" })), hAsync("ix-typography", { key: 'aded73b945315c1c572cb59251205a8d9b3c7f38', format: "h4" }, this.heading), hAsync("ix-typography", { key: '589fb71f937b9db408ed611721b36e1ab7c0969b' }, this.subheading)), hAsync("ix-card-accordion", { key: '1fd8fa45f096ba73c23d903d2f809f2fea0cb1d0', collapse: this.collapse, variant: this.variant }, hAsync("slot", { key: '5ef36bf26050df5b5a57c6725adc133367c266b5' })))));
|
|
28609
28765
|
}
|
|
28610
28766
|
static get style() { return pushCardCss; }
|
|
28611
28767
|
static get cmpMeta() { return {
|
|
@@ -28618,7 +28774,7 @@ class PushCard {
|
|
|
28618
28774
|
"heading": [1],
|
|
28619
28775
|
"subheading": [1],
|
|
28620
28776
|
"variant": [1],
|
|
28621
|
-
"
|
|
28777
|
+
"collapse": [4]
|
|
28622
28778
|
},
|
|
28623
28779
|
"$listeners$": undefined,
|
|
28624
28780
|
"$lazyBundleId$": "-",
|
|
@@ -29386,9 +29542,6 @@ class Select {
|
|
|
29386
29542
|
filterItemsWithTypeahead() {
|
|
29387
29543
|
var _a, _b;
|
|
29388
29544
|
this.inputFilterText = (_b = (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.value.trim()) !== null && _b !== void 0 ? _b : '';
|
|
29389
|
-
if (this.isSingleMode && this.inputFilterText === this.selectedLabels[0]) {
|
|
29390
|
-
return;
|
|
29391
|
-
}
|
|
29392
29545
|
if (this.inputFilterText) {
|
|
29393
29546
|
this.items.forEach((item) => {
|
|
29394
29547
|
var _a;
|
|
@@ -29494,9 +29647,9 @@ class Select {
|
|
|
29494
29647
|
}
|
|
29495
29648
|
render() {
|
|
29496
29649
|
var _a, _b, _c, _d;
|
|
29497
|
-
return (hAsync(Host, { key: '
|
|
29650
|
+
return (hAsync(Host, { key: 'c0099c77970de85593440ff14921f884c7837e39', "aria-disabled": a11yBoolean(this.disabled), class: {
|
|
29498
29651
|
disabled: this.disabled,
|
|
29499
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
29652
|
+
} }, hAsync("ix-field-wrapper", { key: '243ba88d3902a5e0dbd24d093d1a7ad26dba715a', required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, hAsync("div", { key: '663134035c1950d87214106f8768ddd18a6e0b7d', class: {
|
|
29500
29653
|
select: true,
|
|
29501
29654
|
disabled: this.disabled,
|
|
29502
29655
|
readonly: this.readonly,
|
|
@@ -29504,13 +29657,13 @@ class Select {
|
|
|
29504
29657
|
this.dropdownAnchorRef(ref);
|
|
29505
29658
|
if (!this.editable)
|
|
29506
29659
|
this.dropdownWrapperRef(ref);
|
|
29507
|
-
} }, hAsync("div", { key: '
|
|
29660
|
+
} }, hAsync("div", { key: 'a88f41411a227fef16c86692c8b89e392e909130', class: "input-container" }, hAsync("div", { key: '115652ec0955d9968f57d016ad64f9d42a40b00c', class: "chips" }, this.isMultipleMode
|
|
29508
29661
|
? (_a = this.selectedItems) === null || _a === void 0 ? void 0 : _a.map((item) => (hAsync("ix-filter-chip", { disabled: this.disabled || this.readonly, key: item.value, onCloseClick: (e) => {
|
|
29509
29662
|
e.preventDefault();
|
|
29510
29663
|
e.stopPropagation();
|
|
29511
29664
|
this.itemClick(item.value);
|
|
29512
29665
|
} }, item.label)))
|
|
29513
|
-
: '', hAsync("div", { key: '
|
|
29666
|
+
: '', hAsync("div", { key: '3427065a8dc112e5ea11bcd6b823a0f97b400216', class: "trigger" }, hAsync("input", { key: '6d83e566afc5749fd0fcd980bf81093b9e5d5656', autocomplete: "off", "data-testid": "input", disabled: this.disabled, readOnly: this.readonly, required: this.required, type: "text", class: {
|
|
29514
29667
|
'allow-clear': this.allowClear && !!((_b = this.selectedLabels) === null || _b === void 0 ? void 0 : _b.length),
|
|
29515
29668
|
}, placeholder: this.placeholderValue(), value: (_c = this.inputValue) !== null && _c !== void 0 ? _c : '', ref: (ref) => {
|
|
29516
29669
|
this.inputElement = ref;
|
|
@@ -29529,7 +29682,7 @@ class Select {
|
|
|
29529
29682
|
: iconChevronDownSmall, variant: "subtle-tertiary", ref: (ref) => {
|
|
29530
29683
|
if (this.editable)
|
|
29531
29684
|
this.dropdownWrapperRef(ref);
|
|
29532
|
-
}, "aria-label": this.ariaLabelChevronDownIconButton }))))))), hAsync("ix-dropdown", { key: '
|
|
29685
|
+
}, "aria-label": this.ariaLabelChevronDownIconButton }))))))), hAsync("ix-dropdown", { key: '1fc475094870358ca9746b7a0a17ba90c525fc19', ref: (ref) => (this.dropdownElement = ref), show: this.dropdownShow, closeBehavior: this.isMultipleMode ? 'outside' : 'both', class: {
|
|
29533
29686
|
'display-none': this.disabled || this.readonly,
|
|
29534
29687
|
}, anchor: this.dropdownAnchorRef.waitForCurrent(), trigger: this.dropdownWrapperRef.waitForCurrent(), onShowChanged: (e) => this.dropdownVisibilityChanged(e), placement: "bottom-start", overwriteDropdownStyle: async () => {
|
|
29535
29688
|
var _a, _b;
|
|
@@ -29545,12 +29698,12 @@ class Select {
|
|
|
29545
29698
|
styleOverwrites.maxWidth = `min(${this.dropdownMaxWidth}, 100%)`;
|
|
29546
29699
|
}
|
|
29547
29700
|
return styleOverwrites;
|
|
29548
|
-
} }, hAsync("div", { key: '
|
|
29701
|
+
} }, hAsync("div", { key: 'f31dea7cf6bf07744eb0570304fcf9783c8478cb', class: {
|
|
29549
29702
|
'select-list-header': true,
|
|
29550
29703
|
hidden: this.hideListHeader || this.isDropdownEmpty,
|
|
29551
|
-
}, title: this.i18nSelectListHeader, onClick: (e) => e.preventDefault() }, this.i18nSelectListHeader), hAsync("slot", { key: '
|
|
29704
|
+
}, title: this.i18nSelectListHeader, onClick: (e) => e.preventDefault() }, this.i18nSelectListHeader), hAsync("slot", { key: '7f8335b29e10f93c4a1fb85329d196439b16b5e8', onSlotchange: () => {
|
|
29552
29705
|
this.updateSelection();
|
|
29553
|
-
} }), hAsync("div", { key: '
|
|
29706
|
+
} }), hAsync("div", { key: '8166cdc348b9952f3a89f525855a9ee0ea07c41d', ref: (ref) => (this.customItemsContainerElement = ref) }), this.isAddItemVisible() ? (hAsync("ix-dropdown-item", { "data-testid": "add-item", icon: iconPlus, class: {
|
|
29554
29707
|
'add-item': true,
|
|
29555
29708
|
}, label: this.inputFilterText, onItemClick: (e) => {
|
|
29556
29709
|
e.preventDefault();
|
|
@@ -29952,7 +30105,7 @@ __decorate$4([
|
|
|
29952
30105
|
OnListener('pointerup', (self) => self.showTooltip)
|
|
29953
30106
|
], Slider.prototype, "onPointerUp", null);
|
|
29954
30107
|
|
|
29955
|
-
const spinnerCss = ":host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.xx-small{width:0.75rem;height:0.75rem;min-width:0.75rem;min-height:0.75rem;max-width:0.75rem;max-height:0.75rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.xx-small::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:1px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.xx-small:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:1px solid var(--theme-color-ghost--hover)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.x-small{width:1.25rem;height:1.25rem;min-width:1.25rem;min-height:1.25rem;max-width:1.25rem;max-height:1.25rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.x-small::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.x-small:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-ghost--hover)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.small{width:1.5rem;height:1.5rem;min-width:1.5rem;min-height:1.5rem;max-width:1.5rem;max-height:1.5rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.small::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.small:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-ghost--hover)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.medium{width:2rem;height:2rem;min-width:2rem;min-height:2rem;max-width:2rem;max-height:2rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.medium::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.medium:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-ghost--hover)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.large{width:6rem;height:6rem;min-width:6rem;min-height:6rem;max-width:6rem;max-height:6rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.large::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:4px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.large:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:4px solid var(--theme-color-ghost--hover)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}";
|
|
30108
|
+
const spinnerCss = ":host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.xx-small{width:0.75rem;height:0.75rem;min-width:0.75rem;min-height:0.75rem;max-width:0.75rem;max-height:0.75rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.xx-small::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:1px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.xx-small:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:1px solid var(--theme-color-component-3)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.x-small{width:1.25rem;height:1.25rem;min-width:1.25rem;min-height:1.25rem;max-width:1.25rem;max-height:1.25rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.x-small::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.x-small:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-component-3)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.small{width:1.5rem;height:1.5rem;min-width:1.5rem;min-height:1.5rem;max-width:1.5rem;max-height:1.5rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.small::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.small:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-component-3)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.medium{width:2rem;height:2rem;min-width:2rem;min-height:2rem;max-width:2rem;max-height:2rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.medium::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.medium:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:2px solid var(--theme-color-component-3)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}:host{display:block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}.large{width:6rem;height:6rem;min-width:6rem;min-height:6rem;max-width:6rem;max-height:6rem;border-radius:100%;position:relative;animation:rotate 2s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}@keyframes clipMask{0%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}12.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)}25%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)}37.5%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)}50%{clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)}62.5%{clip-path:polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0)}75%{clip-path:polygon(50% 50%, 100% 100%, 100% 100%, 100% 100%, 0 100%, 0 0)}87.5%{clip-path:polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0)}100%{clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)}}.large::after{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:4px solid var(--ix-button-color, var(--theme-color-soft-text));animation:clipMask 3s linear infinite}.large:not(.hide-track)::before{content:\"\";box-sizing:border-box;position:absolute;inset:8.33%;border-radius:100%;border:4px solid var(--theme-color-component-3)}.primary::after{border-color:var(--theme-color-dynamic)}.primary::before{border-color:var(--theme-color-ghost--hover)}";
|
|
29956
30109
|
|
|
29957
30110
|
class Spinner {
|
|
29958
30111
|
constructor(hostRef) {
|
|
@@ -30557,10 +30710,10 @@ class Textarea {
|
|
|
30557
30710
|
}
|
|
30558
30711
|
render() {
|
|
30559
30712
|
var _a;
|
|
30560
|
-
return (hAsync(Host, { key: '
|
|
30713
|
+
return (hAsync(Host, { key: '2bd17a0b362db1a3b47a40a335e9dad0aacf60b2', class: {
|
|
30561
30714
|
disabled: this.disabled,
|
|
30562
30715
|
readonly: this.readonly,
|
|
30563
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
30716
|
+
} }, hAsync("ix-field-wrapper", { key: '63f6f38a83f3ac585be94fcbae2f0a1f07a3594a', required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.textAreaRef }, !!this.maxLength && this.maxLength > 0 && (hAsync("ix-typography", { key: 'edec746b0b0f15b01a42f827d8ed77d5b2ff3fbb', class: "bottom-text", slot: "bottom-right", textColor: "soft" }, ((_a = this.value) !== null && _a !== void 0 ? _a : '').length, "/", this.maxLength)), hAsync("div", { key: 'bd53188011be0df0567500f6f4f85757210a5df3', class: "input-wrapper" }, hAsync(TextareaElement, { key: '2b38f2d805863b6f85630f2192a6c1dcd5238e5a', minLength: this.minLength, maxLength: this.maxLength, textareaCols: this.textareaCols, textareaRows: this.textareaRows, textareaHeight: this.textareaHeight, textareaWidth: this.textareaWidth, resizeBehavior: this.resizeBehavior, readonly: this.readonly, disabled: this.disabled, isInvalid: this.isInvalid, required: this.required, value: this.value, placeholder: this.placeholder, textAreaRef: this.textAreaRef, valueChange: (value) => this.valueChange.emit(value), updateFormInternalValue: (value) => this.updateFormInternalValue(value), onBlur: () => {
|
|
30564
30717
|
onInputBlur(this, this.textAreaRef.current);
|
|
30565
30718
|
this.touched = true;
|
|
30566
30719
|
} })))));
|
|
@@ -30763,6 +30916,12 @@ class TimeInput {
|
|
|
30763
30916
|
*/
|
|
30764
30917
|
// eslint-disable-next-line @stencil-community/decorators-style
|
|
30765
30918
|
this.i18nMillisecondColumnHeader = 'ms';
|
|
30919
|
+
/**
|
|
30920
|
+
* Hides the header of the picker.
|
|
30921
|
+
*
|
|
30922
|
+
* @since 4.0.0
|
|
30923
|
+
*/
|
|
30924
|
+
this.hideHeader = false;
|
|
30766
30925
|
this.show = false;
|
|
30767
30926
|
this.time = null;
|
|
30768
30927
|
this.isInputInvalid = false;
|
|
@@ -30922,12 +31081,12 @@ class TimeInput {
|
|
|
30922
31081
|
const invalidText = this.isInputInvalid
|
|
30923
31082
|
? this.i18nErrorTimeUnparsable
|
|
30924
31083
|
: this.invalidText;
|
|
30925
|
-
return (hAsync(Host, { key: '
|
|
31084
|
+
return (hAsync(Host, { key: '0001640191c8b6d5eae25490ea8d7759e1ce8466', class: {
|
|
30926
31085
|
disabled: this.disabled,
|
|
30927
31086
|
readonly: this.readonly,
|
|
30928
|
-
} }, hAsync("ix-field-wrapper", { key: '
|
|
31087
|
+
} }, hAsync("ix-field-wrapper", { key: '37c77257a9bb1b3d59de20534d21a22dfd0c94d3', label: this.label, helperText: this.helperText, isInvalid: this.isInvalid, invalidText: invalidText, infoText: this.infoText, isInfo: this.isInfo, isWarning: this.isWarning, warningText: this.warningText, isValid: this.isValid, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, required: this.required, controlRef: this.inputElementRef }, this.renderInput()), hAsync("ix-dropdown", { key: '07f92d4dff124abdd559c9d3b5bb4c6411f844db', "data-testid": "time-dropdown", trigger: this.inputElementRef.waitForCurrent(), ref: this.dropdownElementRef, closeBehavior: "outside", suppressOverflowBehavior: true, show: this.show, onShowChanged: (event) => {
|
|
30929
31088
|
this.show = event.detail;
|
|
30930
|
-
} }, hAsync("ix-time-picker", { key: '
|
|
31089
|
+
} }, hAsync("ix-time-picker", { key: '319619865e7f73b4896863289dc2a00b612ac8b2', ref: this.timePickerRef, format: this.format, time: (_a = this.time) !== null && _a !== void 0 ? _a : '', hourInterval: this.hourInterval, minuteInterval: this.minuteInterval, secondInterval: this.secondInterval, millisecondInterval: this.millisecondInterval, standaloneAppearance: false, hideHeader: this.hideHeader, i18nConfirmTime: this.i18nSelectTime, i18nHeader: this.i18nTime, i18nHourColumnHeader: this.i18nHourColumnHeader, i18nSecondColumnHeader: this.i18nSecondColumnHeader, i18nMinuteColumnHeader: this.i18nMinuteColumnHeader, i18nMillisecondColumnHeader: this.i18nMillisecondColumnHeader, onTimeSelect: (event) => {
|
|
30931
31090
|
this.onInput(event.detail);
|
|
30932
31091
|
this.show = false;
|
|
30933
31092
|
} }))));
|
|
@@ -30968,6 +31127,7 @@ class TimeInput {
|
|
|
30968
31127
|
"i18nMinuteColumnHeader": [1, "i18n-minute-column-header"],
|
|
30969
31128
|
"i18nSecondColumnHeader": [1, "i18n-second-column-header"],
|
|
30970
31129
|
"i18nMillisecondColumnHeader": [1, "i18n-millisecond-column-header"],
|
|
31130
|
+
"hideHeader": [4, "hide-header"],
|
|
30971
31131
|
"show": [32],
|
|
30972
31132
|
"time": [32],
|
|
30973
31133
|
"isInputInvalid": [32],
|
|
@@ -31050,13 +31210,31 @@ class TimePicker {
|
|
|
31050
31210
|
*/
|
|
31051
31211
|
this.corners = 'rounded';
|
|
31052
31212
|
/**
|
|
31053
|
-
*
|
|
31213
|
+
* Controls the visual presentation and styling of the component when it is displayed as a standalone element
|
|
31054
31214
|
*/
|
|
31055
|
-
this.
|
|
31215
|
+
this.standaloneAppearance = true;
|
|
31056
31216
|
/**
|
|
31057
31217
|
* @internal Temporary prop needed until datetime-picker is reworked for new design
|
|
31058
31218
|
*/
|
|
31059
31219
|
this.dateTimePickerAppearance = false;
|
|
31220
|
+
/**
|
|
31221
|
+
* Show hour input
|
|
31222
|
+
*
|
|
31223
|
+
* @deprecated This is now determined by the format that is used. Will be removed in 4.0.0
|
|
31224
|
+
*/
|
|
31225
|
+
this.showHour = true;
|
|
31226
|
+
/**
|
|
31227
|
+
* Show minutes input
|
|
31228
|
+
*
|
|
31229
|
+
* @deprecated This is now determined by the format that is used. Will be removed in 4.0.0
|
|
31230
|
+
*/
|
|
31231
|
+
this.showMinutes = true;
|
|
31232
|
+
/**
|
|
31233
|
+
* Show seconds input
|
|
31234
|
+
*
|
|
31235
|
+
* @deprecated This is now determined by the format that is used. Will be removed in 4.0.0
|
|
31236
|
+
*/
|
|
31237
|
+
this.showSeconds = true;
|
|
31060
31238
|
/**
|
|
31061
31239
|
* Hides the header of the picker.
|
|
31062
31240
|
*
|
|
@@ -31092,10 +31270,22 @@ class TimePicker {
|
|
|
31092
31270
|
* Format has to match the `format` property.
|
|
31093
31271
|
*/
|
|
31094
31272
|
this.time = DateTime.now().toFormat(this.format);
|
|
31273
|
+
/**
|
|
31274
|
+
* Text of time select button
|
|
31275
|
+
*
|
|
31276
|
+
* @deprecated Use `i18nConfirmTime` instead. Will be removed in 4.0.0.
|
|
31277
|
+
*/
|
|
31278
|
+
this.textSelectTime = CONFIRM_BUTTON_DEFAULT;
|
|
31095
31279
|
/**
|
|
31096
31280
|
* Text of the time confirm button
|
|
31097
31281
|
*/
|
|
31098
31282
|
this.i18nConfirmTime = CONFIRM_BUTTON_DEFAULT;
|
|
31283
|
+
/**
|
|
31284
|
+
* Text for top label
|
|
31285
|
+
*
|
|
31286
|
+
* @deprecated Use `i18nHeader` instead. Will be removed in 4.0.0.
|
|
31287
|
+
*/
|
|
31288
|
+
this.textTime = HEADER_DEFAULT;
|
|
31099
31289
|
/**
|
|
31100
31290
|
* Text for top header
|
|
31101
31291
|
*/
|
|
@@ -31484,21 +31674,21 @@ class TimePicker {
|
|
|
31484
31674
|
{
|
|
31485
31675
|
unit: 'hour',
|
|
31486
31676
|
header: this.i18nHourColumnHeader,
|
|
31487
|
-
hidden: !LUXON_FORMAT_PATTERNS.hours.test(this.format),
|
|
31677
|
+
hidden: !LUXON_FORMAT_PATTERNS.hours.test(this.format) || !this.showHour,
|
|
31488
31678
|
numberArray: hourNumbers,
|
|
31489
31679
|
focusedValue: this.getInitialFocusedValueForUnit('hour', hourNumbers),
|
|
31490
31680
|
},
|
|
31491
31681
|
{
|
|
31492
31682
|
unit: 'minute',
|
|
31493
31683
|
header: this.i18nMinuteColumnHeader,
|
|
31494
|
-
hidden: !LUXON_FORMAT_PATTERNS.minutes.test(this.format),
|
|
31684
|
+
hidden: !LUXON_FORMAT_PATTERNS.minutes.test(this.format) || !this.showMinutes,
|
|
31495
31685
|
numberArray: minuteNumbers,
|
|
31496
31686
|
focusedValue: this.getInitialFocusedValueForUnit('minute', minuteNumbers),
|
|
31497
31687
|
},
|
|
31498
31688
|
{
|
|
31499
31689
|
unit: 'second',
|
|
31500
31690
|
header: this.i18nSecondColumnHeader,
|
|
31501
|
-
hidden: !LUXON_FORMAT_PATTERNS.seconds.test(this.format),
|
|
31691
|
+
hidden: !LUXON_FORMAT_PATTERNS.seconds.test(this.format) || !this.showSeconds,
|
|
31502
31692
|
numberArray: secondNumbers,
|
|
31503
31693
|
focusedValue: this.getInitialFocusedValueForUnit('second', secondNumbers),
|
|
31504
31694
|
},
|
|
@@ -31590,23 +31780,41 @@ class TimePicker {
|
|
|
31590
31780
|
}
|
|
31591
31781
|
return '-1';
|
|
31592
31782
|
}
|
|
31783
|
+
getConfirmButtonText() {
|
|
31784
|
+
if (this.i18nConfirmTime !== CONFIRM_BUTTON_DEFAULT) {
|
|
31785
|
+
return this.i18nConfirmTime;
|
|
31786
|
+
}
|
|
31787
|
+
if (this.textSelectTime !== CONFIRM_BUTTON_DEFAULT) {
|
|
31788
|
+
return this.textSelectTime;
|
|
31789
|
+
}
|
|
31790
|
+
return this.i18nConfirmTime;
|
|
31791
|
+
}
|
|
31792
|
+
getHeaderText() {
|
|
31793
|
+
if (this.i18nHeader !== HEADER_DEFAULT) {
|
|
31794
|
+
return this.i18nHeader;
|
|
31795
|
+
}
|
|
31796
|
+
if (this.textTime != HEADER_DEFAULT) {
|
|
31797
|
+
return this.textTime;
|
|
31798
|
+
}
|
|
31799
|
+
return this.i18nHeader;
|
|
31800
|
+
}
|
|
31593
31801
|
render() {
|
|
31594
|
-
return (hAsync(Host, { key: '
|
|
31802
|
+
return (hAsync(Host, { key: 'deaf89167092b74d0b144e44c7e8cf65e99bdc48' }, hAsync("ix-date-time-card", { key: '1c4aca1d13138955fd6a5b632338521e3b05d3cd', standaloneAppearance: this.standaloneAppearance, timePickerAppearance: true, corners: this.corners, hasFooter: true, hideHeader: this.hideHeader }, hAsync("div", { key: '4d4a4029e1b500eb945bfad7e7a803ec4b05cd61', class: "header", slot: "header" }, hAsync("ix-typography", { key: '0519cca29f05a3671349c0deb23d97b289bba435', format: "h5" }, this.getHeaderText())), hAsync("div", { key: '09c8c237d92acd7be30b58a1eac69e2c5154f7f4', class: "clock" }, this.timePickerDescriptors.map((descriptor, index) => (hAsync("div", { class: "flex" }, hAsync("div", { class: { columns: true, hidden: descriptor.hidden } }, hAsync("div", { class: "column-header", title: descriptor.header }, descriptor.header), hAsync("div", { "data-element-list-id": descriptor.unit, class: "element-list", tabIndex: -1 }, descriptor.numberArray.map((number) => (hAsync("button", { "data-element-container-id": `${descriptor.unit}-${number}`, class: {
|
|
31595
31803
|
selected: this.isSelected(descriptor.unit, number),
|
|
31596
31804
|
'element-container': true,
|
|
31597
31805
|
}, onClick: () => this.select(descriptor.unit, number), onFocus: () => this.onUnitCellFocus(descriptor.unit, number), onBlur: () => this.onUnitCellBlur(descriptor.unit), tabindex: this.getElementContainerTabIndex(number, descriptor.unit), role: "button", "aria-label": `${descriptor.header}: ${number}` }, this.formatUnitValue(descriptor.unit, number)))), hAsync("div", { class: "element-list-padding" }))), index !== this.timePickerDescriptors.length - 1 && (hAsync("div", { class: {
|
|
31598
31806
|
'column-seperator': true,
|
|
31599
31807
|
hidden: descriptor.hidden,
|
|
31600
|
-
} }, this.getColumnSeparator(index))))))), hAsync("div", { key: '
|
|
31808
|
+
} }, this.getColumnSeparator(index))))))), hAsync("div", { key: '6e1560d71b59d8cbf32f9b201c3db2cea62bab38', class: {
|
|
31601
31809
|
footer: true,
|
|
31602
31810
|
'footer--compact': this.timePickerDescriptors.length <= 2,
|
|
31603
|
-
}, slot: "footer" }, this.timeRef && (hAsync("div", { key: '
|
|
31811
|
+
}, slot: "footer" }, this.timeRef && (hAsync("div", { key: '9f54da10f63c7cc75a09a22300c5714721c4ae59', class: {
|
|
31604
31812
|
'time-ref-buttons': true,
|
|
31605
31813
|
'time-ref-buttons--datetime-picker-appearance': this.dateTimePickerAppearance,
|
|
31606
|
-
} }, hAsync("button", { key: '
|
|
31814
|
+
} }, hAsync("button", { key: '8081ccea518718dac3ed324511626d964c57c9a4', "data-am-pm-id": "AM", class: { selected: this.timeRef === 'AM' }, onClick: () => this.changeTimeReference('AM') }, "AM"), hAsync("button", { key: '9b41178ad92d5f7aa549163f64eb2e16c81149be', "data-am-pm-id": "PM", class: { selected: this.timeRef === 'PM' }, onClick: () => this.changeTimeReference('PM') }, "PM"))), !this.dateTimePickerAppearance && (hAsync("ix-button", { key: '5cd17cb2c0271daee317155a5246299856550719', class: "confirm-button", onClick: () => {
|
|
31607
31815
|
var _a;
|
|
31608
31816
|
this.timeSelect.emit((_a = this._time) === null || _a === void 0 ? void 0 : _a.toFormat(this.format));
|
|
31609
|
-
} }, this.
|
|
31817
|
+
} }, this.getConfirmButtonText()))))));
|
|
31610
31818
|
}
|
|
31611
31819
|
get hostElement() { return getElement(this); }
|
|
31612
31820
|
static get watchers() { return {
|
|
@@ -31625,15 +31833,21 @@ class TimePicker {
|
|
|
31625
31833
|
"$members$": {
|
|
31626
31834
|
"format": [1],
|
|
31627
31835
|
"corners": [1],
|
|
31628
|
-
"
|
|
31836
|
+
"standaloneAppearance": [4, "standalone-appearance"],
|
|
31629
31837
|
"dateTimePickerAppearance": [4, "date-time-picker-appearance"],
|
|
31838
|
+
"showHour": [4, "show-hour"],
|
|
31839
|
+
"showMinutes": [4, "show-minutes"],
|
|
31840
|
+
"showSeconds": [4, "show-seconds"],
|
|
31630
31841
|
"hideHeader": [4, "hide-header"],
|
|
31631
31842
|
"hourInterval": [1026, "hour-interval"],
|
|
31632
31843
|
"minuteInterval": [1026, "minute-interval"],
|
|
31633
31844
|
"secondInterval": [1026, "second-interval"],
|
|
31634
31845
|
"millisecondInterval": [1026, "millisecond-interval"],
|
|
31635
31846
|
"time": [1],
|
|
31847
|
+
"timeReference": [1, "time-reference"],
|
|
31848
|
+
"textSelectTime": [1, "text-select-time"],
|
|
31636
31849
|
"i18nConfirmTime": [1, "i18n-confirm-time"],
|
|
31850
|
+
"textTime": [1, "text-time"],
|
|
31637
31851
|
"i18nHeader": [1, "i18n-header"],
|
|
31638
31852
|
"i18nHourColumnHeader": [1, "i18n-column-header"],
|
|
31639
31853
|
"i18nMinuteColumnHeader": [1, "i18n-minute-column-header"],
|
|
@@ -31674,7 +31888,7 @@ class Toast {
|
|
|
31674
31888
|
/**
|
|
31675
31889
|
* Autoclose behavior
|
|
31676
31890
|
*/
|
|
31677
|
-
this.
|
|
31891
|
+
this.autoClose = true;
|
|
31678
31892
|
this.progress = 0;
|
|
31679
31893
|
this.touched = false;
|
|
31680
31894
|
this.paused = false;
|
|
@@ -31691,7 +31905,8 @@ class Toast {
|
|
|
31691
31905
|
case 'success':
|
|
31692
31906
|
return (hAsync("ix-icon", { "data-testid": "toast-icon", name: iconSuccess, size: "24", color: "color-success" }));
|
|
31693
31907
|
case 'warning':
|
|
31694
|
-
|
|
31908
|
+
//TODO(IX-3400): Replace icon colors with proper CSS variables when available
|
|
31909
|
+
return (hAsync("ix-icon", { "data-testid": "toast-icon", name: iconWarning, size: "24", color: "color-warning-text" }));
|
|
31695
31910
|
default:
|
|
31696
31911
|
return '';
|
|
31697
31912
|
}
|
|
@@ -31730,17 +31945,17 @@ class Toast {
|
|
|
31730
31945
|
animationPlayState: this.touched || this.paused ? 'paused' : 'running',
|
|
31731
31946
|
};
|
|
31732
31947
|
progressBarClass.push('toast-progress-bar--animated');
|
|
31733
|
-
return (hAsync(Host, { key: '
|
|
31948
|
+
return (hAsync(Host, { key: '4be41b7d6326a30e985506471f5ef6a9fcfc4cf7', class: "animate__animated animate__fadeIn" }, hAsync("div", { key: '02ae41f684be0f0c1b304c6565c22ec4cd9ee9d4', class: "toast-body", onPointerLeave: () => {
|
|
31734
31949
|
this.touched = false;
|
|
31735
31950
|
}, onPointerEnter: () => {
|
|
31736
31951
|
this.touched = true;
|
|
31737
|
-
} }, this.type || this.icon ? (hAsync("div", { class: "toast-icon" }, this.getIcon())) : null, hAsync("div", { key: '
|
|
31952
|
+
} }, this.type || this.icon ? (hAsync("div", { class: "toast-icon" }, this.getIcon())) : null, hAsync("div", { key: 'e9b2d338091b227f41b4470803b305394f3b2228', class: "toast-content" }, this.toastTitle ? (hAsync("ix-typography", { class: "toast-title", format: "h5" }, this.toastTitle)) : null, hAsync("div", { key: '527acd28a634e03f57eb6d92b3f67c40e0d2346a', class: "toast-message" }, hAsync("slot", { key: '1574e31e91cb4f84af715e37da9adf396846951f' })), hAsync("div", { key: '147f2e4f356cc028307cc504601bc0591e2cbd99', class: "toast-action" }, hAsync("slot", { key: '3dfeccf1e8eb06fda37cef838a67abee67268190', name: "action" }))), hAsync("div", { key: '036f9123375077554e7250dd8aaea513685571c8', class: "toast-close" }, hAsync("ix-icon-button", { key: 'f2ef551fa606e0d03a9cb1f02d074bbe75d1e158', icon: iconClose, iconColor: "color-soft-text", size: "24", variant: "tertiary", onClick: () => this.closeToast.emit(), "aria-label": this.ariaLabelCloseIconButton }))), this.autoClose ? (hAsync("div", { class: progressBarClass.join(' '), style: progressBarStyle, onAnimationEnd: () => {
|
|
31738
31953
|
this.close();
|
|
31739
31954
|
}, onTransitionEnd: () => {
|
|
31740
31955
|
if (this.progress === 0) {
|
|
31741
31956
|
this.close();
|
|
31742
31957
|
}
|
|
31743
|
-
} }))));
|
|
31958
|
+
} })) : null));
|
|
31744
31959
|
}
|
|
31745
31960
|
get hostElement() { return getElement(this); }
|
|
31746
31961
|
static get style() { return toastCss; }
|
|
@@ -31751,7 +31966,7 @@ class Toast {
|
|
|
31751
31966
|
"type": [1],
|
|
31752
31967
|
"toastTitle": [1, "toast-title"],
|
|
31753
31968
|
"autoCloseDelay": [2, "auto-close-delay"],
|
|
31754
|
-
"
|
|
31969
|
+
"autoClose": [4, "auto-close"],
|
|
31755
31970
|
"icon": [1],
|
|
31756
31971
|
"iconColor": [1, "icon-color"],
|
|
31757
31972
|
"ariaLabelCloseIconButton": [1, "aria-label-close-icon-button"],
|
|
@@ -31818,7 +32033,7 @@ class ToastContainer {
|
|
|
31818
32033
|
* @param config
|
|
31819
32034
|
*/
|
|
31820
32035
|
async showToast(config) {
|
|
31821
|
-
var _a, _b;
|
|
32036
|
+
var _a, _b, _c;
|
|
31822
32037
|
const toast = document.createElement('ix-toast');
|
|
31823
32038
|
const onClose = new TypedEvent();
|
|
31824
32039
|
function removeToast(result) {
|
|
@@ -31827,8 +32042,8 @@ class ToastContainer {
|
|
|
31827
32042
|
}
|
|
31828
32043
|
toast.toastTitle = config.title;
|
|
31829
32044
|
toast.type = (_a = config.type) !== null && _a !== void 0 ? _a : 'info';
|
|
31830
|
-
toast.
|
|
31831
|
-
toast.autoCloseDelay = (
|
|
32045
|
+
toast.autoClose = (_b = config.autoClose) !== null && _b !== void 0 ? _b : true;
|
|
32046
|
+
toast.autoCloseDelay = (_c = config.autoCloseDelay) !== null && _c !== void 0 ? _c : 5000;
|
|
31832
32047
|
toast.icon = config.icon;
|
|
31833
32048
|
toast.iconColor = config.iconColor;
|
|
31834
32049
|
toast.addEventListener('closeToast', (event) => {
|
|
@@ -31865,10 +32080,10 @@ class ToastContainer {
|
|
|
31865
32080
|
};
|
|
31866
32081
|
}
|
|
31867
32082
|
render() {
|
|
31868
|
-
return (hAsync(Host, { key: '
|
|
32083
|
+
return (hAsync(Host, { key: '11f53d028ee14f4884f1a69b157298d53da4939c', class: {
|
|
31869
32084
|
'toast-container--bottom-right': this.position === 'bottom-right',
|
|
31870
32085
|
'toast-container--top-right': this.position === 'top-right',
|
|
31871
|
-
} }, hAsync("slot", { key: '
|
|
32086
|
+
} }, hAsync("slot", { key: 'be298b17f3b67ed5d6e2589b4bb041b6d7b90dbd' })));
|
|
31872
32087
|
}
|
|
31873
32088
|
static get watchers() { return {
|
|
31874
32089
|
"position": ["onPositionChange"]
|
|
@@ -31889,7 +32104,7 @@ class ToastContainer {
|
|
|
31889
32104
|
}; }
|
|
31890
32105
|
}
|
|
31891
32106
|
|
|
31892
|
-
const toggleCss = ":host{display:inline-flex;flex-direction:row;position:relative;min-height:1.5rem;max-height:calc(100% - 0.5rem);margin-block-start:0.25rem;margin-block-end:0.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host input[type=checkbox]{display:none}:host .wrapper{display:flex;align-items:flex-start;width:100%;max-height:100%}:host .label{word-break:break-word;display:block;white-space:normal;overflow:hidden;margin-block-start:0.125rem;margin-inline-start:0.5rem;min-height:1rem;margin-left:0.625rem}:host .switch{all:unset;position:relative;display:inline-block;width:3rem;min-width:3rem;max-width:3rem;height:1.5rem}:host .slider{position:absolute;top:0;left:0;right:0;bottom:0;background-color:var(--theme-switch-off--background);transition:var(--theme-default-time);border-radius:1.5rem;border:0.0625rem solid transparent}:host .slider:before{position:absolute;content:\"\";height:1.125rem;width:1.125rem;left:0.125rem;bottom:0.125rem;background-color:var(--theme-switch-thumb-off--background);transition:var(--theme-default-time);border-radius:50%}:host .switch.checked>.slider::before{background-color:var(--theme-switch-thumb-on--background);transform:translateX(1.5rem)}:host .switch>.slider{border-color:var(--theme-switch-off--border-color)}:host .switch:hover>.slider{background-color:var(--theme-switch-off--background--hover);border-color:var(--theme-switch-off--border-color--hover)}:host .switch:hover>.slider:before{background-color:var(--theme-switch-thumb-off--background--hover)}:host .switch:active>.slider{background-color:var(--theme-switch-off--background--active);border-color:var(--theme-switch-off--border-color--active)}:host .switch:active>.slider:before{background-color:var(--theme-switch-thumb-off--background--active)}:host .switch.checked>.slider{background-color:var(--theme-switch-on--background);border-color:var(--theme-switch-on--border-color)}:host .switch.checked:hover>.slider{background-color:var(--theme-switch-on--background--hover);border-color:var(--theme-switch-on--border-color--hover)}:host .switch.checked:hover>.slider:before{background-color:var(--theme-switch-thumb-on--background--hover)}:host .switch.checked:active>.slider{background-color:var(--theme-switch-on--background--active);border-color:var(--theme-switch-on--border-color--active)}:host .switch.checked:active>.slider:before{background-color:var(--theme-switch-thumb-on--background--active)}:host .switch.indeterminate>.slider::before{transform:translateX(0.75rem)}:host(:not(.disabled)) .wrapper{cursor:pointer}:host(:not(.disabled)) .switch:focus-visible>.slider{outline:0.0625rem solid var(--theme-color-focus-bdr);outline-offset:0.0625rem}:host(.disabled){pointer-events:none}:host(.disabled) .switch{opacity:0.5}:host(.disabled) .switch>.slider{background-color:var(--theme-switch-off--background--disabled)}:host(.disabled) .switch>.slider:before{background-color:var(--theme-switch-thumb-off--background--disabled)}:host(.disabled) .switch.checked>.slider{background-color:var(--theme-switch-on--background--disabled)}:host(.disabled) .switch.checked>.slider:before{background-color:var(--theme-switch-thumb-on--background--disabled)}:host(.disabled) .label{color:var(--theme-color-weak-text)}:host(.ix-info:not(.disabled)) .slider{--theme-switch-off--background:var(\n --theme-switch-off--background--info\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--info--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--info--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--info\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--info--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--info--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--info\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--info--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--info--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--info\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--info--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--info--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--info\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--info--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--info--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--info\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--info--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--info--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--info\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--info--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--info--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--info\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--info--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--info--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--info\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--info--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--info--active\n )}:host(.ix-warning:not(.disabled)) .slider{--theme-switch-off--background:var(\n --theme-switch-off--background--warning\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--warning--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--warning--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--warning\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--warning--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--warning--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--warning\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--warning--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--warning--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--warning\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--warning--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--warning--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--warning\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--warning--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--warning--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--warning\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--warning--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--warning--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--warning\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--warning--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--warning--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--warning\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--warning--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--warning--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--warning\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--warning--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--warning--active\n )}:host(.ix-invalid--required:not(.disabled)) .slider{--theme-switch-off--background:var(\n --theme-switch-off--background--invalid\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--invalid--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--invalid--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--invalid\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--invalid--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--invalid--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--invalid\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--invalid--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--invalid--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--invalid\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--invalid--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--invalid--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--invalid\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--invalid--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--invalid--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--invalid\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--invalid--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--invalid--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--invalid\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--invalid--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--invalid--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--invalid\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--invalid--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--invalid--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--invalid\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--invalid--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--invalid--active\n )}:host(.ix-invalid:not(.disabled)) .slider{--theme-switch-off--background:var(\n --theme-switch-off--background--invalid\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--invalid--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--invalid--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--invalid\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--invalid--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--invalid--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--invalid\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--invalid--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--invalid--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--invalid\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--invalid--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--invalid--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--invalid\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--invalid--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--invalid--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--invalid\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--invalid--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--invalid--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--invalid\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--invalid--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--invalid--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--invalid\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--invalid--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--invalid--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--invalid\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--invalid--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--invalid--active\n )}";
|
|
32107
|
+
const toggleCss = ":host{display:inline-flex;flex-direction:row;position:relative;min-height:1.5rem;max-height:calc(100% - 0.5rem);margin-block-start:0.25rem;margin-block-end:0.25rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host input[type=checkbox]{display:none}:host .wrapper{display:flex;align-items:flex-start;width:100%;max-height:100%}:host .label{word-break:break-word;display:block;white-space:normal;overflow:hidden;margin-block-start:0.125rem;margin-inline-start:0.5rem;min-height:1rem;margin-left:0.625rem}:host .switch{all:unset;position:relative;display:inline-block;width:3rem;min-width:3rem;max-width:3rem;height:1.5rem}:host .slider{position:absolute;top:0;left:0;right:0;bottom:0;background-color:var(--theme-switch-off--background);transition:var(--theme-default-time);border-radius:1.5rem;border:0.0625rem solid transparent}:host .slider:before{position:absolute;content:\"\";height:1.125rem;width:1.125rem;left:0.125rem;bottom:0.125rem;background-color:var(--theme-switch-thumb-off--background);transition:var(--theme-default-time);border-radius:50%;border:1px solid var(--theme-switch-thumb-off--border-color)}:host .switch.checked>.slider::before{background-color:var(--theme-switch-thumb-on--background);transform:translateX(1.5rem)}:host .switch>.slider{border-color:var(--theme-switch-off--border-color)}:host .switch:hover>.slider{background-color:var(--theme-switch-off--background--hover);border-color:var(--theme-switch-off--border-color--hover)}:host .switch:hover>.slider:before{background-color:var(--theme-switch-thumb-off--background--hover);border:1px solid var(--theme-switch-thumb-off--border-color--hover)}:host .switch:active>.slider{background-color:var(--theme-switch-off--background--active);border-color:var(--theme-switch-off--border-color--active)}:host .switch:active>.slider:before{background-color:var(--theme-switch-thumb-off--background--active);border:1px solid var(--theme-switch-thumb-off--border-color--active)}:host .switch.checked>.slider{background-color:var(--theme-switch-on--background);border-color:var(--theme-switch-on--border-color)}:host .switch.checked>.slider:before{border:1px solid var(--theme-switch-thumb-on--border-color)}:host .switch.checked:hover>.slider{background-color:var(--theme-switch-on--background--hover);border-color:var(--theme-switch-on--border-color--hover)}:host .switch.checked:hover>.slider:before{background-color:var(--theme-switch-thumb-on--background--hover);border:1px solid var(--theme-switch-thumb-on--border-color--hover)}:host .switch.checked:active>.slider{background-color:var(--theme-switch-on--background--active);border-color:var(--theme-switch-on--border-color--active)}:host .switch.checked:active>.slider:before{background-color:var(--theme-switch-thumb-on--background--active);border:1px solid var(--theme-switch-thumb-on--border-color--active)}:host .switch.indeterminate>.slider::before{transform:translateX(0.75rem)}:host(:not(.disabled)) .wrapper{cursor:pointer}:host(:not(.disabled)) .switch:focus-visible>.slider{outline:0.0625rem solid var(--theme-color-focus-bdr);outline-offset:0.0625rem}:host(.disabled){pointer-events:none}:host(.disabled) .switch{opacity:0.5}:host(.disabled) .switch>.slider{background-color:var(--theme-switch-off--background--disabled)}:host(.disabled) .switch>.slider:before{background-color:var(--theme-switch-thumb-off--background--disabled)}:host(.disabled) .switch.checked>.slider{background-color:var(--theme-switch-on--background--disabled)}:host(.disabled) .switch.checked>.slider:before{background-color:var(--theme-switch-thumb-on--background--disabled)}:host(.disabled) .label{color:var(--theme-color-weak-text)}:host(.ix-valid:not(.disabled)) .slider{--theme-switch-off--background:var(\n --theme-switch-off--background--valid\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--valid--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--valid--active\n );--theme-switch-thumb-off--border-color:var(\n --theme-switch-thumb-off--border-color--valid\n );--theme-switch-thumb-off--border-color--hover:var(\n --theme-switch-thumb-off--border-color--valid--hover\n );--theme-switch-thumb-off--border-color--active:var(\n --theme-switch-thumb-off--border-color--valid--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--valid\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--valid--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--valid--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--valid\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--valid--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--valid--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--valid\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--valid--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--valid--active\n );--theme-switch-thumb-on--border-color:var(\n --theme-switch-thumb-on--border-color--valid\n );--theme-switch-thumb-on--border-color--hover:var(\n --theme-switch-thumb-on--border-color--valid--hover\n );--theme-switch-thumb-on--border-color--active:var(\n --theme-switch-thumb-on--border-color--valid--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--valid\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--valid--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--valid--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--valid\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--valid--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--valid--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--valid\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--valid--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--valid--active\n );--theme-switch-thumb-mixed--border-color:var(\n --theme-switch-thumb-mixed--border-color--valid\n );--theme-switch-thumb-mixed--border-color--hover:var(\n --theme-switch-thumb-mixed--border-color--valid--hover\n );--theme-switch-thumb-mixed--border-color--active:var(\n --theme-switch-thumb-mixed--border-color--valid--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--valid\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--valid--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--valid--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--valid\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--valid--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--valid--active\n )}:host(.ix-info:not(.disabled)) .slider{--theme-switch-off--background:var(\n --theme-switch-off--background--info\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--info--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--info--active\n );--theme-switch-thumb-off--border-color:var(\n --theme-switch-thumb-off--border-color--info\n );--theme-switch-thumb-off--border-color--hover:var(\n --theme-switch-thumb-off--border-color--info--hover\n );--theme-switch-thumb-off--border-color--active:var(\n --theme-switch-thumb-off--border-color--info--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--info\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--info--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--info--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--info\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--info--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--info--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--info\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--info--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--info--active\n );--theme-switch-thumb-on--border-color:var(\n --theme-switch-thumb-on--border-color--info\n );--theme-switch-thumb-on--border-color--hover:var(\n --theme-switch-thumb-on--border-color--info--hover\n );--theme-switch-thumb-on--border-color--active:var(\n --theme-switch-thumb-on--border-color--info--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--info\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--info--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--info--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--info\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--info--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--info--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--info\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--info--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--info--active\n );--theme-switch-thumb-mixed--border-color:var(\n --theme-switch-thumb-mixed--border-color--info\n );--theme-switch-thumb-mixed--border-color--hover:var(\n --theme-switch-thumb-mixed--border-color--info--hover\n );--theme-switch-thumb-mixed--border-color--active:var(\n --theme-switch-thumb-mixed--border-color--info--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--info\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--info--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--info--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--info\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--info--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--info--active\n )}:host(.ix-warning:not(.disabled)) .slider{--theme-switch-off--background:var(\n --theme-switch-off--background--warning\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--warning--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--warning--active\n );--theme-switch-thumb-off--border-color:var(\n --theme-switch-thumb-off--border-color--warning\n );--theme-switch-thumb-off--border-color--hover:var(\n --theme-switch-thumb-off--border-color--warning--hover\n );--theme-switch-thumb-off--border-color--active:var(\n --theme-switch-thumb-off--border-color--warning--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--warning\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--warning--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--warning--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--warning\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--warning--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--warning--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--warning\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--warning--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--warning--active\n );--theme-switch-thumb-on--border-color:var(\n --theme-switch-thumb-on--border-color--warning\n );--theme-switch-thumb-on--border-color--hover:var(\n --theme-switch-thumb-on--border-color--warning--hover\n );--theme-switch-thumb-on--border-color--active:var(\n --theme-switch-thumb-on--border-color--warning--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--warning\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--warning--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--warning--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--warning\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--warning--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--warning--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--warning\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--warning--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--warning--active\n );--theme-switch-thumb-mixed--border-color:var(\n --theme-switch-thumb-mixed--border-color--warning\n );--theme-switch-thumb-mixed--border-color--hover:var(\n --theme-switch-thumb-mixed--border-color--warning--hover\n );--theme-switch-thumb-mixed--border-color--active:var(\n --theme-switch-thumb-mixed--border-color--warning--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--warning\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--warning--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--warning--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--warning\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--warning--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--warning--active\n )}:host(.ix-invalid--required:not(.disabled)) .slider{--theme-switch-off--background:var(\n --theme-switch-off--background--invalid\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--invalid--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--invalid--active\n );--theme-switch-thumb-off--border-color:var(\n --theme-switch-thumb-off--border-color--invalid\n );--theme-switch-thumb-off--border-color--hover:var(\n --theme-switch-thumb-off--border-color--invalid--hover\n );--theme-switch-thumb-off--border-color--active:var(\n --theme-switch-thumb-off--border-color--invalid--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--invalid\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--invalid--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--invalid--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--invalid\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--invalid--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--invalid--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--invalid\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--invalid--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--invalid--active\n );--theme-switch-thumb-on--border-color:var(\n --theme-switch-thumb-on--border-color--invalid\n );--theme-switch-thumb-on--border-color--hover:var(\n --theme-switch-thumb-on--border-color--invalid--hover\n );--theme-switch-thumb-on--border-color--active:var(\n --theme-switch-thumb-on--border-color--invalid--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--invalid\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--invalid--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--invalid--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--invalid\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--invalid--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--invalid--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--invalid\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--invalid--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--invalid--active\n );--theme-switch-thumb-mixed--border-color:var(\n --theme-switch-thumb-mixed--border-color--invalid\n );--theme-switch-thumb-mixed--border-color--hover:var(\n --theme-switch-thumb-mixed--border-color--invalid--hover\n );--theme-switch-thumb-mixed--border-color--active:var(\n --theme-switch-thumb-mixed--border-color--invalid--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--invalid\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--invalid--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--invalid--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--invalid\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--invalid--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--invalid--active\n )}:host(.ix-invalid:not(.disabled)) .slider{--theme-switch-off--background:var(\n --theme-switch-off--background--invalid\n );--theme-switch-off--background--hover:var(\n --theme-switch-off--background--invalid--hover\n );--theme-switch-off--background--active:var(\n --theme-switch-off--background--invalid--active\n );--theme-switch-thumb-off--border-color:var(\n --theme-switch-thumb-off--border-color--invalid\n );--theme-switch-thumb-off--border-color--hover:var(\n --theme-switch-thumb-off--border-color--invalid--hover\n );--theme-switch-thumb-off--border-color--active:var(\n --theme-switch-thumb-off--border-color--invalid--active\n );--theme-switch-thumb-off--background:var(\n --theme-switch-thumb-off--background--invalid\n );--theme-switch-thumb-off--background--hover:var(\n --theme-switch-thumb-off--background--invalid--hover\n );--theme-switch-thumb-off--background--active:var(\n --theme-switch-thumb-off--background--invalid--active\n );--theme-switch-off--border-color:var(\n --theme-switch-off--border-color--invalid\n );--theme-switch-off--border-color--hover:var(\n --theme-switch-off--border-color--invalid--hover\n );--theme-switch-off--border-color--active:var(\n --theme-switch-off--border-color--invalid--active\n );--theme-switch-on--background:var(\n --theme-switch-on--background--invalid\n );--theme-switch-on--background--hover:var(\n --theme-switch-on--background--invalid--hover\n );--theme-switch-on--background--active:var(\n --theme-switch-on--background--invalid--active\n );--theme-switch-thumb-on--border-color:var(\n --theme-switch-thumb-on--border-color--invalid\n );--theme-switch-thumb-on--border-color--hover:var(\n --theme-switch-thumb-on--border-color--invalid--hover\n );--theme-switch-thumb-on--border-color--active:var(\n --theme-switch-thumb-on--border-color--invalid--active\n );--theme-switch-thumb-on--background:var(\n --theme-switch-thumb-on--background--invalid\n );--theme-switch-thumb-on--background--hover:var(\n --theme-switch-thumb-on--background--invalid--hover\n );--theme-switch-thumb-on--background--active:var(\n --theme-switch-thumb-on--background--invalid--active\n );--theme-switch-on--border-color:var(\n --theme-switch-on--border-color--invalid\n );--theme-switch-on--border-color--hover:var(\n --theme-switch-on--border-color--invalid--hover\n );--theme-switch-on--border-color--active:var(\n --theme-switch-on--border-color--invalid--active\n );--theme-switch-mixed--background:var(\n --theme-switch-mixed--background--invalid\n );--theme-switch-mixed--background--hover:var(\n --theme-switch-mixed--background--invalid--hover\n );--theme-switch-mixed--background--active:var(\n --theme-switch-mixed--background--invalid--active\n );--theme-switch-thumb-mixed--border-color:var(\n --theme-switch-thumb-mixed--border-color--invalid\n );--theme-switch-thumb-mixed--border-color--hover:var(\n --theme-switch-thumb-mixed--border-color--invalid--hover\n );--theme-switch-thumb-mixed--border-color--active:var(\n --theme-switch-thumb-mixed--border-color--invalid--active\n );--theme-switch-thumb-mixed--background:var(\n --theme-switch-thumb-mixed--background--invalid\n );--theme-switch-thumb-mixed--background--hover:var(\n --theme-switch-thumb-mixed--background--invalid--hover\n );--theme-switch-thumb-mixed--background--active:var(\n --theme-switch-thumb-mixed--background--invalid--active\n );--theme-switch-mixed--border-color:var(\n --theme-switch-mixed--border-color--invalid\n );--theme-switch-mixed--border-color--hover:var(\n --theme-switch-mixed--border-color--invalid--hover\n );--theme-switch-mixed--border-color--active:var(\n --theme-switch-mixed--border-color--invalid--active\n )}";
|
|
31893
32108
|
|
|
31894
32109
|
/*
|
|
31895
32110
|
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
@@ -32019,13 +32234,13 @@ class Toggle {
|
|
|
32019
32234
|
if (this.indeterminate) {
|
|
32020
32235
|
toggleText = this.textIndeterminate;
|
|
32021
32236
|
}
|
|
32022
|
-
return (hAsync(Host, { key: '
|
|
32237
|
+
return (hAsync(Host, { key: '959c6b0e5f6c2ea7f2ce6cf79ba2280b3c8b65dd', class: {
|
|
32023
32238
|
disabled: this.disabled,
|
|
32024
|
-
}, onBlur: () => this.ixBlur.emit(), onFocus: () => (this.touched = true) }, hAsync("label", { key: '
|
|
32239
|
+
}, onBlur: () => this.ixBlur.emit(), onFocus: () => (this.touched = true) }, hAsync("label", { key: 'dc419b9a0a469ef8369b6c8cbc204a75367a7274', class: "wrapper" }, hAsync("button", { key: '3773fdea993e02d7aa7ee106aa08e1eee0768f65', role: "switch", "aria-checked": a11yBoolean(this.checked), class: {
|
|
32025
32240
|
switch: true,
|
|
32026
32241
|
checked: this.checked,
|
|
32027
32242
|
indeterminate: this.indeterminate,
|
|
32028
|
-
}, onClick: () => this.onCheckedChange(!this.checked) }, hAsync("div", { key: '
|
|
32243
|
+
}, onClick: () => this.onCheckedChange(!this.checked) }, hAsync("div", { key: '5c74f7c65e49e3c0cb55206ecc5fc4e045b8bd0c', class: "slider" })), hAsync("input", { key: '46e28932ab63dfa9af6bfa497b5db38e2d66e416', type: "checkbox", disabled: this.disabled, indeterminate: this.indeterminate, checked: this.checked, tabindex: 0, "aria-hidden": a11yBoolean(true), "aria-checked": a11yBoolean(this.checked), onChange: (event) => this.onCheckedChange(event.target.checked) }), !this.hideText && (hAsync("ix-typography", { key: '103c3c8dca7b36db893c108ce8c11acf014b57ee', class: "label" }, toggleText)))));
|
|
32029
32244
|
}
|
|
32030
32245
|
static get formAssociated() { return true; }
|
|
32031
32246
|
get hostElement() { return getElement(this); }
|
|
@@ -32442,7 +32657,7 @@ class Tooltip {
|
|
|
32442
32657
|
(_d = this.disposeDomChangeListener) === null || _d === void 0 ? void 0 : _d.call(this);
|
|
32443
32658
|
}
|
|
32444
32659
|
render() {
|
|
32445
|
-
return (hAsync(Host, { key: '
|
|
32660
|
+
return (hAsync(Host, { key: '259eb829430ac738cf85ebbdb5fc21ed112468d8', role: "tooltip", class: { visible: this.visible } }, hAsync("dialog", { key: 'cf3d57f55b780b98bfcf637aff5dc7b35c829f0d', ref: this.dialogRef, id: 'tooltip-' + this.instance, class: "dialog", popover: "manual", inert: !this.visible }, hAsync("div", { key: '1520c20ab3eb9f7e58134b3e9f722f4176e48318', class: "tooltip-container" }, hAsync("div", { key: '82500b59751ffeced15965f8955519fac1405b6c', class: "content-wrapper" }, hAsync("div", { key: 'b7dab9108c3e145f8dd70fb5eff1323a2384a9d1', class: 'tooltip-title' }, hAsync("slot", { key: 'a327597fd2b7790d4a15031e5038ac560b744fac', name: "title-icon" }), hAsync("ix-typography", { key: '68550d2f60baf4b4887fc3916d52aa34c0686d47', format: "h5" }, this.titleContent, hAsync("slot", { key: '808955669e8ef204c2a00a18c1a22a47e6b75529', name: "title-content" }))), hAsync("slot", { key: '8872e40443a635579dfabb070e16abd1b510cd96' }), hAsync("div", { key: '1c0f216282b430d911259808f2520cacd74bac87', class: "arrow" }))))));
|
|
32446
32661
|
}
|
|
32447
32662
|
get hostElement() { return getElement(this); }
|
|
32448
32663
|
static get style() { return tooltipCss; }
|
|
@@ -33077,7 +33292,7 @@ class Tree {
|
|
|
33077
33292
|
this.nodeClicked.emit(id);
|
|
33078
33293
|
}
|
|
33079
33294
|
render() {
|
|
33080
|
-
return (hAsync(Host, { key: '
|
|
33295
|
+
return (hAsync(Host, { key: 'ed47b138fb50d9b9803d52b40526922aa9e406ad', onClick: (event) => this.onTreeItemClick(event) }, hAsync("slot", { key: '8b8f8a37f440ae2658764b8da65a2cb8d1db7afb' })));
|
|
33081
33296
|
}
|
|
33082
33297
|
get hostElement() { return getElement(this); }
|
|
33083
33298
|
static get watchers() { return {
|
|
@@ -33116,17 +33331,17 @@ class TreeItem {
|
|
|
33116
33331
|
}
|
|
33117
33332
|
render() {
|
|
33118
33333
|
var _a, _b;
|
|
33119
|
-
return (hAsync(Host, { key: '
|
|
33334
|
+
return (hAsync(Host, { key: '05f896e21e252fab0d3f39b4d52885342522d0f9', class: {
|
|
33120
33335
|
selected: !!((_a = this.context) === null || _a === void 0 ? void 0 : _a.isSelected),
|
|
33121
|
-
} }, hAsync("div", { key: '
|
|
33336
|
+
} }, hAsync("div", { key: 'e716c8ee13d77bedf01cb603d8a65798a5cc647d', class: "icon-toggle-container" }, this.hasChildren ? (hAsync("ix-icon", { name: iconChevronRightSmall, size: "24", class: {
|
|
33122
33337
|
['icon-toggle-down']: !!((_b = this.context) === null || _b === void 0 ? void 0 : _b.isExpanded),
|
|
33123
33338
|
}, color: "color-std-text", onClick: (e) => {
|
|
33124
33339
|
e.preventDefault();
|
|
33125
33340
|
e.stopPropagation();
|
|
33126
33341
|
this.toggle.emit();
|
|
33127
|
-
}, "aria-label": this.ariaLabelChevronIcon })) : null), hAsync("div", { key: '
|
|
33342
|
+
}, "aria-label": this.ariaLabelChevronIcon })) : null), hAsync("div", { key: '433f67a985cea3d1ea88f85e51355977197ae2fd', class: "tree-node-container", onClick: () => {
|
|
33128
33343
|
this.itemClick.emit();
|
|
33129
|
-
} }, hAsync("div", { key: '
|
|
33344
|
+
} }, hAsync("div", { key: 'abd3864dc9a2425da258b1844617d37b5f38b831', class: "tree-node-text" }, this.text), hAsync("slot", { key: '16aa907095f9b1e28d825ca4cc6daacd04ca9bec' }))));
|
|
33130
33345
|
}
|
|
33131
33346
|
static get style() { return treeItemCss; }
|
|
33132
33347
|
static get cmpMeta() { return {
|
|
@@ -33324,7 +33539,7 @@ class Upload {
|
|
|
33324
33539
|
render() {
|
|
33325
33540
|
const disabled = this.disabled || this.state === UploadFileState.LOADING;
|
|
33326
33541
|
const _a = this.a11y, { 'aria-label': ariaLabel = 'Upload files' } = _a, a11y = __rest(_a, ['aria-label']);
|
|
33327
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
33542
|
+
return (hAsync(Host, Object.assign({ key: 'bf422891997d473a0d74b5654da1fc26df37b442' }, a11y, { "aria-disabled": disabled }), hAsync("div", { key: 'b37683a6d5e926dd4404374d58e9926f78bf41ec', class: {
|
|
33328
33543
|
'file-upload-area': true,
|
|
33329
33544
|
'file-over': this.state !== UploadFileState.LOADING && this.isFileOver,
|
|
33330
33545
|
checking: this.state === UploadFileState.LOADING,
|
|
@@ -33334,9 +33549,9 @@ class Upload {
|
|
|
33334
33549
|
if (this.state !== UploadFileState.LOADING) {
|
|
33335
33550
|
this.fileDropped(e);
|
|
33336
33551
|
}
|
|
33337
|
-
}, onDragOver: (e) => this.fileOver(e), onDragLeave: () => this.fileLeave(), draggable: !this.disabled }, this.renderUploadState(), hAsync("div", { key: '
|
|
33552
|
+
}, onDragOver: (e) => this.fileOver(e), onDragLeave: () => this.fileLeave(), draggable: !this.disabled }, this.renderUploadState(), hAsync("div", { key: '042a23a8c008f2e851afebf1e7c6ed8d0135c954' }, hAsync("input", { key: '8f0b147483d1a87481f854fc17e1bb05cb646ee3', "aria-label": ariaLabel, "aria-disabled": disabled, multiple: this.multiple, type: "file", class: "upload-browser", id: "upload-browser", tabindex: "-1", onChange: (e) => {
|
|
33338
33553
|
this.fileChangeEvent(e);
|
|
33339
|
-
}, accept: this.accept, disabled: disabled }), hAsync("ix-button", { key: '
|
|
33554
|
+
}, accept: this.accept, disabled: disabled }), hAsync("ix-button", { key: 'c6aa9a9ae0cb9c9fdc577c318e78d9f1fef4744c', variant: "secondary", "aria-disabled": disabled, onClick: () => this.inputElement.click(), disabled: disabled }, this.i18nUploadFile)))));
|
|
33340
33555
|
}
|
|
33341
33556
|
get hostElement() { return getElement(this); }
|
|
33342
33557
|
static get style() { return uploadCss; }
|
|
@@ -33364,6 +33579,174 @@ class Upload {
|
|
|
33364
33579
|
}; }
|
|
33365
33580
|
}
|
|
33366
33581
|
|
|
33582
|
+
const validationTooltipCss = ".text-xs{font-family:Siemens Sans, sans-serif;font-size:0.625rem;font-weight:400;line-height:1.4em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.text-s{font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.text-caption{font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.text-caption-single{font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.text-default{font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.text-default-single{font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.text-default-title{font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.text-default-title-single{font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.text-l{font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.text-l-single{font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.25em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.text-l-title{font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.text-l-title-single{font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.25em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.text-h2{font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}.text-xl{font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}a{color:var(--theme-color-primary)}:host{display:inline-block;position:relative;width:100%;z-index:var(--theme-z-index-tooltip)}:host .validation-tooltip{background-color:var(--theme-tooltip--background);color:var(--theme-tooltip--color);padding:5px 10px;border-radius:4px;font-size:13px;border:1px solid var(--theme-tooltip--border-color);box-shadow:0 0 2px 0 rgba(0, 0, 40, 0.1), 0 4px 8px 0 rgba(0, 0, 40, 0.1), 0 12px 18px 0 rgba(0, 0, 40, 0.1)}:host .validation-tooltip #arrow,:host .validation-tooltip #arrow::before{position:absolute;width:8px;height:8px;background:inherit}:host .validation-tooltip #arrow{visibility:hidden}:host .validation-tooltip #arrow::before{visibility:visible;content:\"\";transform:rotate(45deg);background-color:var(--theme-tooltip--background)}:host .validation-tooltip>#arrow{bottom:-5px}:host .validation-tooltip>#arrow::before{border-right:1px solid var(--theme-tooltip--border-color);border-bottom:1px solid var(--theme-tooltip--border-color)}";
|
|
33583
|
+
|
|
33584
|
+
/**
|
|
33585
|
+
* @slot tooltip-message - Custom tooltip message with html support
|
|
33586
|
+
*
|
|
33587
|
+
* @deprecated Will be removed with 4.0.0
|
|
33588
|
+
*/
|
|
33589
|
+
class ValidationTooltip {
|
|
33590
|
+
constructor(hostRef) {
|
|
33591
|
+
registerInstance(this, hostRef);
|
|
33592
|
+
/**
|
|
33593
|
+
* Placement of the tooltip
|
|
33594
|
+
*/
|
|
33595
|
+
this.placement = 'top';
|
|
33596
|
+
/**
|
|
33597
|
+
* Suppress the automatic placement of the dropdown.
|
|
33598
|
+
*/
|
|
33599
|
+
this.suppressAutomaticPlacement = false;
|
|
33600
|
+
this.isInputValid = true;
|
|
33601
|
+
this.onSubmitBind = this.onSubmit.bind(this);
|
|
33602
|
+
this.onInputFocusBind = this.onInputFocus.bind(this);
|
|
33603
|
+
}
|
|
33604
|
+
get arrow() {
|
|
33605
|
+
return this.hostElement.shadowRoot.querySelector('#arrow');
|
|
33606
|
+
}
|
|
33607
|
+
get inputElement() {
|
|
33608
|
+
return this.hostElement.querySelector('input');
|
|
33609
|
+
}
|
|
33610
|
+
get formElement() {
|
|
33611
|
+
var _a;
|
|
33612
|
+
return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.form;
|
|
33613
|
+
}
|
|
33614
|
+
get tooltipElement() {
|
|
33615
|
+
return this.hostElement.shadowRoot.querySelector('.validation-tooltip');
|
|
33616
|
+
}
|
|
33617
|
+
destroyAutoUpdate() {
|
|
33618
|
+
if (this.tooltipElement) {
|
|
33619
|
+
this.tooltipElement.style.display = 'none';
|
|
33620
|
+
}
|
|
33621
|
+
if (this.autoUpdateCleanup) {
|
|
33622
|
+
this.autoUpdateCleanup();
|
|
33623
|
+
}
|
|
33624
|
+
}
|
|
33625
|
+
applyTooltipPosition() {
|
|
33626
|
+
this.tooltipElement.style.display = 'block';
|
|
33627
|
+
let positionConfig = {
|
|
33628
|
+
strategy: 'fixed',
|
|
33629
|
+
middleware: [
|
|
33630
|
+
inline(),
|
|
33631
|
+
shift(),
|
|
33632
|
+
offset({
|
|
33633
|
+
mainAxis: 8,
|
|
33634
|
+
}),
|
|
33635
|
+
],
|
|
33636
|
+
};
|
|
33637
|
+
if (!positionConfig.middleware) {
|
|
33638
|
+
positionConfig.middleware = [];
|
|
33639
|
+
}
|
|
33640
|
+
if (!this.suppressAutomaticPlacement) {
|
|
33641
|
+
positionConfig.middleware.push(flip({ fallbackStrategy: 'initialPlacement' }));
|
|
33642
|
+
}
|
|
33643
|
+
positionConfig.placement = this.placement;
|
|
33644
|
+
this.autoUpdateCleanup = autoUpdate(this.inputElement, this.tooltipElement, async () => {
|
|
33645
|
+
positionConfig.middleware = [
|
|
33646
|
+
...positionConfig.middleware,
|
|
33647
|
+
arrow({
|
|
33648
|
+
element: this.arrow,
|
|
33649
|
+
}),
|
|
33650
|
+
];
|
|
33651
|
+
const computeResponse = await computePosition(this.inputElement, this.tooltipElement, positionConfig);
|
|
33652
|
+
if (computeResponse.middlewareData.arrow) {
|
|
33653
|
+
const { x, y } = computeResponse.middlewareData.arrow;
|
|
33654
|
+
this.arrowPosition = {
|
|
33655
|
+
x,
|
|
33656
|
+
y,
|
|
33657
|
+
};
|
|
33658
|
+
Object.assign(this.arrow.style, {
|
|
33659
|
+
left: x != null ? `${x}px` : '',
|
|
33660
|
+
top: y != null ? `${y}px` : '',
|
|
33661
|
+
});
|
|
33662
|
+
}
|
|
33663
|
+
this.tooltipPosition = {
|
|
33664
|
+
x: computeResponse.x,
|
|
33665
|
+
y: computeResponse.y,
|
|
33666
|
+
};
|
|
33667
|
+
}, {
|
|
33668
|
+
ancestorResize: true,
|
|
33669
|
+
ancestorScroll: true,
|
|
33670
|
+
elementResize: true,
|
|
33671
|
+
});
|
|
33672
|
+
}
|
|
33673
|
+
componentDidLoad() {
|
|
33674
|
+
if (!this.inputElement) {
|
|
33675
|
+
throw Error('Validation tooltip is only working with an direct input child.');
|
|
33676
|
+
}
|
|
33677
|
+
if (!this.formElement) {
|
|
33678
|
+
throw Error('Validation tooltip is only working with an form element.');
|
|
33679
|
+
}
|
|
33680
|
+
this.formElement.addEventListener('submit', this.onSubmitBind);
|
|
33681
|
+
this.inputElement.addEventListener('focus', this.onInputFocusBind);
|
|
33682
|
+
this.observer = new MutationObserver(() => {
|
|
33683
|
+
if (this.inputElement.classList.contains('is-invalid')) {
|
|
33684
|
+
this.isInputValid = false;
|
|
33685
|
+
this.validationChanged();
|
|
33686
|
+
}
|
|
33687
|
+
});
|
|
33688
|
+
this.observer.observe(this.inputElement, {
|
|
33689
|
+
childList: false,
|
|
33690
|
+
subtree: false,
|
|
33691
|
+
attributes: true,
|
|
33692
|
+
attributeFilter: ['class'],
|
|
33693
|
+
});
|
|
33694
|
+
}
|
|
33695
|
+
onInputFocus() {
|
|
33696
|
+
this.isInputValid = true;
|
|
33697
|
+
}
|
|
33698
|
+
onSubmit() {
|
|
33699
|
+
if (this.formElement.classList.contains('needs-validation')) {
|
|
33700
|
+
this.isInputValid = this.inputElement.validity.valid;
|
|
33701
|
+
}
|
|
33702
|
+
}
|
|
33703
|
+
disconnectedCallback() {
|
|
33704
|
+
var _a, _b, _c;
|
|
33705
|
+
(_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
33706
|
+
this.destroyAutoUpdate();
|
|
33707
|
+
(_b = this.formElement) === null || _b === void 0 ? void 0 : _b.removeEventListener('submit', this.onSubmitBind);
|
|
33708
|
+
(_c = this.inputElement) === null || _c === void 0 ? void 0 : _c.removeEventListener('focus', this.onInputFocusBind);
|
|
33709
|
+
}
|
|
33710
|
+
validationChanged() {
|
|
33711
|
+
if (!this.isInputValid) {
|
|
33712
|
+
this.applyTooltipPosition();
|
|
33713
|
+
}
|
|
33714
|
+
else {
|
|
33715
|
+
this.destroyAutoUpdate();
|
|
33716
|
+
}
|
|
33717
|
+
}
|
|
33718
|
+
render() {
|
|
33719
|
+
var _a, _b, _c, _d;
|
|
33720
|
+
return (hAsync(Host, { key: '4fb1bd884352a044ab9d4ea2eb70d2d80b331ebf' }, hAsync("slot", { key: '67df32333b98236630a4caf63776ea634129d1ae' }), hAsync("div", { key: '19cd5c7800c381a86b7135fb4538f3cad08abe46', role: "tooltip", style: {
|
|
33721
|
+
display: 'none',
|
|
33722
|
+
position: 'fixed',
|
|
33723
|
+
top: '0',
|
|
33724
|
+
left: '0',
|
|
33725
|
+
transform: `translate(${Math.round((_b = (_a = this.tooltipPosition) === null || _a === void 0 ? void 0 : _a.x) !== null && _b !== void 0 ? _b : 0)}px,${Math.round((_d = (_c = this.tooltipPosition) === null || _c === void 0 ? void 0 : _c.y) !== null && _d !== void 0 ? _d : 0)}px)`,
|
|
33726
|
+
}, class: "validation-tooltip text-default" }, this.message, hAsync("slot", { key: 'f1ff77002cc733ef058755cc117747f1ba00a3ea', name: "tooltip-message" }), hAsync("div", { key: '5bcb70ba97cad112c1c5945d32cd52fa37784bb6', id: "arrow" }))));
|
|
33727
|
+
}
|
|
33728
|
+
get hostElement() { return getElement(this); }
|
|
33729
|
+
static get watchers() { return {
|
|
33730
|
+
"isInputValid": ["validationChanged"]
|
|
33731
|
+
}; }
|
|
33732
|
+
static get style() { return validationTooltipCss; }
|
|
33733
|
+
static get cmpMeta() { return {
|
|
33734
|
+
"$flags$": 265,
|
|
33735
|
+
"$tagName$": "ix-validation-tooltip",
|
|
33736
|
+
"$members$": {
|
|
33737
|
+
"message": [1],
|
|
33738
|
+
"placement": [1],
|
|
33739
|
+
"suppressAutomaticPlacement": [4, "suppress-automatic-placement"],
|
|
33740
|
+
"isInputValid": [32],
|
|
33741
|
+
"tooltipPosition": [32],
|
|
33742
|
+
"arrowPosition": [32]
|
|
33743
|
+
},
|
|
33744
|
+
"$listeners$": undefined,
|
|
33745
|
+
"$lazyBundleId$": "-",
|
|
33746
|
+
"$attrsToReflect$": []
|
|
33747
|
+
}; }
|
|
33748
|
+
}
|
|
33749
|
+
|
|
33367
33750
|
const workflowStepCss = ":host(:not(.host-vertical)){width:12rem;height:4rem;min-width:2rem;min-height:4rem;max-width:12rem}:host(.host-vertical){width:100%;height:4rem;min-width:4rem;min-height:2rem;max-height:12rem}:host{display:inline-block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .step{display:flex;flex-direction:column;align-items:center;background-color:var(--theme-workflow-step--background);border-radius:var(--theme-workflow--border-radius);padding:1.125rem 0 0.5rem 0}:host .step .wrapper{display:flex;width:100%;align-items:center;justify-content:center;position:relative}:host .step .wrapper .line{width:100%;height:0.125rem;background-color:var(--theme-workflow-step-icon-default--color)}:host .step .wrapper .line.first,:host .step .wrapper .line.last{width:50%;margin:0 0 0 auto}:host .step .wrapper .line.last{margin:0 auto 0 0}:host .step .wrapper .line.single{width:0}:host .step .wrapper .line.selected{background-color:var(--theme-workflow-step-icon-default--color--selected)}:host .step .wrapper .line.done{background-color:var(--theme-workflow-step-icon-done--color)}:host .step .wrapper .line.done.selected{background-color:var(--theme-workflow-step-icon-done--color--selected)}:host .step .wrapper .line.warning{background-color:var(--theme-color-warning)}:host .step .wrapper .line.success{background-color:var(--theme-color-success)}:host .step .wrapper .line.error{background-color:var(--theme-color-alarm)}:host .step .wrapper .iconWrapper{display:flex;align-items:center;justify-content:center;position:absolute}:host .step .wrapper .iconWrapper .absolute{position:absolute}:host .step .text{margin-top:1rem;width:100%;padding:0 0.5rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center}:host .step.vertical{flex-direction:row;padding:0;height:100%}:host .step.vertical .wrapper{width:auto;padding-left:1.125rem;height:100%}:host .step.vertical .wrapper .line{width:0.125rem;height:100%}:host .step.vertical .wrapper .line.first,:host .step.vertical .wrapper .line.last{height:50%;margin:auto 0 0 0}:host .step.vertical .wrapper .line.last{margin:0 0 auto 0}:host .step.vertical .wrapper .line.single{width:0}:host .step.vertical .text{margin:0 1rem;padding:0;width:auto}:host .step.clickable:hover{background-color:var(--theme-workflow-step--background--hover)}:host .step.clickable:active{background-color:var(--theme-workflow-step--background--active)}:host .step:focus-visible{outline:1px solid var(--focus--border-color);border-radius:0}:host .step.selected{background-color:var(--theme-workflow-step--background--selected)}:host .step.disabled{background-color:var(--theme-workflow-step--background--disabled)}:host .step.disabled .line{background-color:var(--theme-workflow-step-icon-default--color--disabled) !important}:host .step.disabled .text{color:var(--theme-workflow-step--color--disabled)}";
|
|
33368
33751
|
|
|
33369
33752
|
class WorkflowStep {
|
|
@@ -33422,7 +33805,8 @@ class WorkflowStep {
|
|
|
33422
33805
|
break;
|
|
33423
33806
|
case 'warning':
|
|
33424
33807
|
this.iconName = iconWarning;
|
|
33425
|
-
|
|
33808
|
+
//TODO(IX-3400): Replace icon colors with proper CSS variables when available
|
|
33809
|
+
this.iconColor = 'color-warning-text';
|
|
33426
33810
|
break;
|
|
33427
33811
|
case 'error':
|
|
33428
33812
|
this.iconName = iconError;
|
|
@@ -33468,18 +33852,18 @@ class WorkflowStep {
|
|
|
33468
33852
|
}
|
|
33469
33853
|
render() {
|
|
33470
33854
|
const icons = !this.customIconSlot ? (hAsync(Fragment, null, hAsync("ix-icon", { color: "color-1", name: this.status === 'warning' ? iconTriangleFilled : iconCircleFilled, class: "absolute", size: "24" }), hAsync("ix-icon", { color: this.iconColor, name: this.iconName, class: "absolute", size: "24", "aria-label": this.getIconAriaLabel() }))) : null;
|
|
33471
|
-
return (hAsync(Host, { key: '
|
|
33855
|
+
return (hAsync(Host, { key: '488384edaa48299378abedcdff04034687550886', class: { 'host-vertical': this.vertical }, onClick: () => this.onStepClick() }, hAsync("div", { key: '2127d37a5062e645d50cc1b731c555b580ab2b16', tabIndex: 0, class: {
|
|
33472
33856
|
step: true,
|
|
33473
33857
|
selected: this.selected,
|
|
33474
33858
|
vertical: this.vertical,
|
|
33475
33859
|
disabled: this.disabled,
|
|
33476
33860
|
clickable: this.clickable && !this.disabled,
|
|
33477
|
-
} }, hAsync("div", { key: '
|
|
33861
|
+
} }, hAsync("div", { key: '26445756e35b3b15ab1d3a98a004f70300fe48e5', class: "wrapper" }, hAsync("div", { key: 'd1eaee49190a99111893a6c48f15b86c27fc2a7b', class: {
|
|
33478
33862
|
line: true,
|
|
33479
33863
|
selected: this.selected,
|
|
33480
33864
|
[this.status]: true,
|
|
33481
33865
|
[this.position]: true,
|
|
33482
|
-
} }), hAsync("div", { key: '
|
|
33866
|
+
} }), hAsync("div", { key: '89857433644f037867ff1de38c359617ae2ea0f6', class: "iconWrapper" }, icons, hAsync("slot", { key: 'de995c4b059a3959574dbc9362e771e8fe0739a7', name: "custom-icon" }))), hAsync("div", { key: '73a9e22a56933af2b3ee054aeab92ff7a8b5165a', class: "text" }, hAsync("slot", { key: 'b5123599dbc97cea396640ea56910b24c701c319' })))));
|
|
33483
33867
|
}
|
|
33484
33868
|
get hostElement() { return getElement(this); }
|
|
33485
33869
|
static get watchers() { return {
|
|
@@ -33584,7 +33968,7 @@ class WorkflowSteps {
|
|
|
33584
33968
|
this.updateSteps();
|
|
33585
33969
|
}
|
|
33586
33970
|
render() {
|
|
33587
|
-
return (hAsync(Host, { key: '
|
|
33971
|
+
return (hAsync(Host, { key: '58f2b6c6dadb7f4bcef41463aeb7d0e7c7b78903' }, hAsync("div", { key: '186972fd1f22f0a99af92bda5643c5156097122c', class: { steps: true, vertical: this.vertical } }, hAsync("slot", { key: '3d5efbb4c9ff065c8838a08c9ca5c9e4ce0daefb' }))));
|
|
33588
33972
|
}
|
|
33589
33973
|
get hostElement() { return getElement(this); }
|
|
33590
33974
|
static get style() { return workflowStepsCss; }
|
|
@@ -33656,6 +34040,7 @@ registerComponents([
|
|
|
33656
34040
|
IconButton,
|
|
33657
34041
|
IconToggleButton,
|
|
33658
34042
|
Input,
|
|
34043
|
+
InputGroup,
|
|
33659
34044
|
IxActionCard,
|
|
33660
34045
|
IxTypography,
|
|
33661
34046
|
KeyValue,
|
|
@@ -33712,6 +34097,7 @@ registerComponents([
|
|
|
33712
34097
|
Tree,
|
|
33713
34098
|
TreeItem,
|
|
33714
34099
|
Upload,
|
|
34100
|
+
ValidationTooltip,
|
|
33715
34101
|
WorkflowStep,
|
|
33716
34102
|
WorkflowSteps,
|
|
33717
34103
|
]);
|