@siemens/ix 4.4.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/READMEOSS.html +24 -10
- package/components/index.js +1 -1
- package/components/ix-action-card.js +1 -1
- package/components/ix-application-header.js +1 -1
- package/components/ix-application-switch-modal.js +1 -1
- package/components/ix-application.js +1 -1
- package/components/ix-avatar.js +1 -1
- package/components/ix-blind.js +1 -1
- package/components/ix-breadcrumb-item.js +1 -1
- package/components/ix-breadcrumb.js +1 -1
- package/components/ix-button.js +1 -1
- package/components/ix-card-accordion.js +1 -1
- package/components/ix-card-content.js +1 -1
- package/components/ix-card-list.js +1 -1
- package/components/ix-card-title.js +1 -1
- package/components/ix-card.js +1 -1
- package/components/ix-category-filter.js +1 -1
- package/components/ix-checkbox-group.js +1 -1
- package/components/ix-checkbox.js +1 -1
- package/components/ix-chip.js +1 -1
- package/components/ix-col.js +1 -1
- package/components/ix-content-header.js +1 -1
- package/components/ix-content.js +1 -1
- package/components/ix-css-grid-item.js +1 -1
- package/components/ix-css-grid.js +1 -1
- package/components/ix-custom-field.js +1 -1
- package/components/ix-date-dropdown.js +1 -1
- package/components/ix-date-input.js +1 -1
- package/components/ix-date-picker.js +1 -1
- package/components/ix-date-time-card.js +1 -1
- package/components/{ix-validation-tooltip.d.ts → ix-datetime-input.d.ts} +4 -4
- package/components/ix-datetime-input.js +1 -0
- package/components/ix-datetime-picker.js +1 -1
- package/components/ix-divider.js +1 -1
- package/components/ix-dropdown-button.js +1 -1
- package/components/ix-dropdown-header.js +1 -1
- package/components/ix-dropdown-item.js +1 -1
- package/components/ix-dropdown-quick-actions.js +1 -1
- package/components/ix-dropdown.js +1 -1
- package/components/ix-empty-state.js +1 -1
- package/components/ix-event-list-item.js +1 -1
- package/components/ix-event-list.js +1 -1
- package/components/ix-expanding-search.js +1 -1
- package/components/ix-field-label.js +1 -1
- package/components/ix-field-wrapper.js +1 -1
- package/components/ix-filter-chip.js +1 -1
- package/components/ix-flip-tile-content.js +1 -1
- package/components/ix-flip-tile.js +1 -1
- package/components/ix-group-context-menu.js +1 -1
- package/components/ix-group-item.js +1 -1
- package/components/ix-group.js +1 -1
- package/components/ix-helper-text.js +1 -1
- package/components/ix-icon-button.js +1 -1
- package/components/ix-icon-toggle-button.js +1 -1
- package/components/ix-input.js +1 -1
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-key-value.js +1 -1
- package/components/ix-kpi.js +1 -1
- package/components/ix-layout-auto.js +1 -1
- package/components/ix-layout-grid.js +1 -1
- package/components/ix-link-button.js +1 -1
- package/components/ix-menu-about-item.js +1 -1
- package/components/ix-menu-about-news.js +1 -1
- package/components/ix-menu-about.js +1 -1
- package/components/ix-menu-avatar-item.js +1 -1
- package/components/ix-menu-avatar.js +1 -1
- package/components/ix-menu-category.js +1 -1
- package/components/ix-menu-expand-icon.js +1 -1
- package/components/ix-menu-item.js +1 -1
- package/components/ix-menu-settings-item.js +1 -1
- package/components/ix-menu-settings.js +1 -1
- package/components/ix-menu.js +1 -1
- package/components/ix-message-bar.js +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 +1 -1
- package/components/ix-modal.js +1 -1
- package/components/ix-number-input.js +1 -1
- package/components/ix-pagination.js +1 -1
- package/components/ix-pane-layout.js +1 -1
- package/components/ix-pane.js +1 -1
- package/components/ix-pill.js +1 -1
- package/components/ix-progress-indicator.js +1 -1
- package/components/ix-push-card.js +1 -1
- package/components/ix-radio-group.js +1 -1
- package/components/ix-radio.js +1 -1
- package/components/{ix-input-group.d.ts → ix-range-field.d.ts} +4 -4
- package/components/ix-range-field.js +1 -0
- package/components/ix-row.js +1 -1
- package/components/ix-select-item.js +1 -1
- package/components/ix-select.js +1 -1
- package/components/ix-slider.js +1 -1
- package/components/ix-spinner.js +1 -1
- package/components/ix-split-button.js +1 -1
- package/components/ix-tab-item.js +1 -1
- package/components/{ix-application-sidebar.d.ts → ix-tab-panel.d.ts} +4 -4
- package/components/ix-tab-panel.js +1 -0
- package/components/{ix-drawer.d.ts → ix-tab-set.d.ts} +4 -4
- package/components/ix-tab-set.js +1 -0
- package/components/ix-tabs.js +1 -1
- package/components/ix-textarea.js +1 -1
- package/components/ix-tile.js +1 -1
- package/components/ix-time-input.js +1 -1
- package/components/ix-time-picker.js +1 -1
- package/components/ix-toast-container.js +1 -1
- package/components/ix-toast.js +1 -1
- package/components/ix-toggle-button.js +1 -1
- package/components/ix-toggle.js +1 -1
- package/components/ix-tooltip.js +1 -1
- package/components/ix-tree-item.js +1 -1
- package/components/ix-tree.js +1 -1
- package/components/ix-typography.js +1 -1
- package/components/ix-upload.js +1 -1
- package/components/ix-workflow-step.js +1 -1
- package/components/ix-workflow-steps.js +1 -1
- package/components/p-4pTtJwcY.js +1 -0
- package/components/p-546lBshK.js +1 -0
- package/components/p-5jph302v.js +1 -0
- package/components/p-B1ZcjHve.js +1 -0
- package/components/{p-CRcg3Wl9.js → p-B1q6Xh9M.js} +1 -1
- package/components/p-B4Yxzuow.js +1 -0
- package/components/p-B5k8YVR0.js +1 -0
- package/components/p-B8RlWbEh.js +1 -0
- package/components/p-BE4QI9tD.js +1 -0
- package/components/p-BL9SR36X.js +1 -0
- package/components/p-BP8g-yqY.js +1 -0
- package/components/p-B_czElDE.js +1 -0
- package/components/p-BcxPyyrm.js +1 -0
- package/components/p-BooU9e46.js +1 -0
- package/components/p-Btv5ReUJ.js +1 -0
- package/components/p-BtvsjuLo.js +1 -0
- package/components/p-BwC_Hmai.js +1 -0
- package/components/p-Bxdy-8CE.js +1 -0
- package/components/p-Bxrgt3H_.js +1 -0
- package/components/p-By6x--zJ.js +1 -0
- package/components/p-Byed_Z2G.js +1 -0
- package/components/p-C-wf4kbs.js +1 -0
- package/components/p-C95SE6lT.js +1 -0
- package/components/p-C9HBQRMb.js +1 -0
- package/components/p-CDKHgTB8.js +1 -0
- package/components/p-CJ3dR7zd.js +1 -0
- package/components/p-CKYjdhXo.js +1 -0
- package/components/p-CQj_gEvY.js +1 -0
- package/components/p-CVmLf9WY.js +1 -0
- package/components/p-CWlPNXA-.js +1 -0
- package/components/p-CWshStHZ.js +1 -0
- package/components/p-CYgb41KQ.js +1 -0
- package/components/p-C_95k0nq.js +1 -0
- package/components/p-CcllZcv2.js +1 -0
- package/components/p-Cf71L4Ol.js +1 -0
- package/components/p-CgOv_MV_.js +1 -0
- package/components/p-CsP_r-y6.js +1 -0
- package/components/p-CuswfnZ5.js +1 -0
- package/components/p-D4RWuUBi.js +1 -0
- package/components/p-D4T7_gkf.js +1 -0
- package/components/p-D5gbubPJ.js +1 -0
- package/components/{p-DSTYytot.js → p-D5rshXh5.js} +1 -1
- package/components/p-D6Wm2E-0.js +1 -0
- package/components/p-D8Wb4thH.js +1 -0
- package/components/p-DN2Mr91y.js +1 -0
- package/components/p-DNIQ2C1K.js +1 -0
- package/components/p-DOCAISxs.js +1 -0
- package/components/p-DQql_9wo.js +1 -0
- package/components/p-DRw2l8Az.js +1 -0
- package/components/p-DSpVcflZ.js +1 -0
- package/components/p-DTcUamMt.js +1 -0
- package/components/p-DUkuP1OH.js +1 -0
- package/components/p-DdMuwGlF.js +1 -0
- package/components/p-DfnCSsMy.js +1 -0
- package/components/p-Djkc69iv.js +1 -0
- package/components/p-Dpk_WgCl.js +1 -0
- package/components/p-DuTDx0c-.js +1 -0
- package/components/p-Dx6rQdpk.js +1 -0
- package/components/p-Dx8kFukG.js +1 -0
- package/components/p-JXbYOM9q.js +1 -0
- package/components/p-JevOq-9X.js +1 -0
- package/components/p-MZOpritx.js +1 -0
- package/components/p-NLlCSNeG.js +1 -0
- package/components/p-VEcjhpT4.js +1 -0
- package/components/p-W0q0WVKl.js +1 -0
- package/components/p-XBJqkmoc.js +1 -0
- package/components/p-XBTykBKS.js +1 -0
- package/components/{p-BJxTLVYT.js → p-_Uc7YwjU.js} +1 -1
- package/components/p-qsIASuyM.js +1 -0
- package/components/p-uIG84RqI.js +1 -0
- package/components/p-wEbi9beJ.js +1 -0
- package/components/p-zs7a2E3b.js +1 -0
- package/components/package.json +1 -1
- package/dist/cjs/{a11y-DldCLr8D.js → a11y-C_6YiIMa.js} +1 -2
- package/dist/cjs/animation-hxDbANsw.js +81 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/aria-activedescendant.mixin-_lb0Xz2S.js +85 -0
- package/dist/cjs/{base-button-BvWcXXIH.js → base-button-C-1izOSS.js} +14 -10
- package/dist/cjs/{base-icon-button-DgnV_-qM.js → base-icon-button-BeXf6v9s.js} +3 -3
- package/dist/cjs/component-CYtonfpw.js +143 -0
- package/dist/cjs/{context-CmNuiaNz.js → context-DqdXbKw_.js} +5 -2
- package/dist/cjs/{dropdown-controller-BLOjtc6w.js → dropdown-controller-DeBeUVhj.js} +12 -9
- package/dist/cjs/{floating-ui.dom-CMzYsRR7.js → find-element-DPxOAdgO.js} +101 -0
- package/dist/cjs/focus-proxy-BCuVbpDb.js +48 -0
- package/dist/cjs/focus-trap-_cyPFvFq.js +106 -0
- package/dist/cjs/focus-utilities-yx7wWjEO.js +119 -0
- package/dist/cjs/focus-visible.mixin-BU5Ql7d1.js +42 -0
- package/dist/cjs/{helper-text-util-CX9jWl8m.js → helper-text-util-CvfY1JxE.js} +26 -8
- package/dist/cjs/id.mixin-DINDQztK.js +21 -0
- package/dist/cjs/index-B4J4JK0P.js +17 -0
- package/dist/cjs/{index-Dxeom0qd.js → index-BKQkUbyE.js} +529 -126
- package/dist/cjs/{index-DIYO-Liy.js → index-Dw-NwUuT.js} +2 -4
- package/dist/cjs/{index-BxmN3RtX.js → index-SVeYVn-h.js} +1 -2
- package/dist/cjs/index.cjs.js +266 -47
- package/dist/cjs/inherit-aria-attributes.mixin-Sl7J-OlO.js +36 -0
- package/dist/cjs/{picker-input.util-DJNAVluZ.js → input-picker.mixin-EoIayQV9.js} +25 -1
- package/dist/cjs/{input.fc-BIQRswZt.js → input.fc-CsACCdp7.js} +15 -17
- package/dist/cjs/ix-action-card.cjs.entry.js +39 -19
- package/dist/cjs/ix-application-header.cjs.entry.js +126 -69
- package/dist/cjs/ix-application-switch-modal.cjs.entry.js +9 -13
- package/dist/cjs/ix-application.cjs.entry.js +46 -34
- package/dist/cjs/ix-avatar_2.cjs.entry.js +126 -22
- package/dist/cjs/ix-blind.cjs.entry.js +37 -23
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +234 -43
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +85 -68
- package/dist/cjs/ix-button.cjs.entry.js +227 -40
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +30 -19
- package/dist/cjs/ix-card-list.cjs.entry.js +104 -54
- package/dist/cjs/ix-card_2.cjs.entry.js +17 -17
- package/dist/cjs/ix-category-filter.cjs.entry.js +180 -111
- package/dist/cjs/ix-checkbox-group.cjs.entry.js +52 -27
- package/dist/cjs/ix-checkbox.cjs.entry.js +58 -37
- package/dist/cjs/ix-chip.cjs.entry.js +317 -81
- package/dist/cjs/ix-col_4.cjs.entry.js +1109 -495
- package/dist/cjs/ix-content-header.cjs.entry.js +25 -17
- package/dist/cjs/ix-content.cjs.entry.js +7 -7
- package/dist/cjs/ix-css-grid-item.cjs.entry.js +6 -2
- package/dist/cjs/ix-css-grid.cjs.entry.js +13 -5
- package/dist/cjs/ix-custom-field.cjs.entry.js +41 -12
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +170 -145
- package/dist/cjs/ix-date-input.cjs.entry.js +212 -125
- package/dist/cjs/ix-date-picker.cjs.entry.js +752 -0
- package/dist/cjs/ix-date-time-card.cjs.entry.js +25 -18
- package/dist/cjs/ix-datetime-input.cjs.entry.js +548 -0
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +242 -58
- package/dist/cjs/ix-divider.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +155 -38
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +6 -2
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +992 -0
- package/dist/cjs/ix-empty-state.cjs.entry.js +32 -6
- package/dist/cjs/ix-event-list-item.cjs.entry.js +38 -27
- package/dist/cjs/ix-event-list.cjs.entry.js +26 -26
- package/dist/cjs/ix-expanding-search.cjs.entry.js +58 -44
- package/dist/cjs/ix-field-label_2.cjs.entry.js +178 -56
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +85 -37
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js +8 -8
- package/dist/cjs/ix-flip-tile.cjs.entry.js +43 -30
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +51 -27
- package/dist/cjs/ix-group.cjs.entry.js +63 -40
- package/dist/cjs/ix-helper-text.cjs.entry.js +43 -16
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +232 -52
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +221 -45
- package/dist/cjs/ix-input.cjs.entry.js +128 -56
- package/dist/cjs/ix-key-value-list.cjs.entry.js +6 -6
- package/dist/cjs/ix-key-value.cjs.entry.js +24 -6
- package/dist/cjs/ix-kpi.cjs.entry.js +37 -13
- package/dist/cjs/ix-layout-auto.cjs.entry.js +15 -15
- package/dist/cjs/ix-link-button.cjs.entry.js +19 -15
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +13 -6
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +45 -18
- package/dist/cjs/ix-menu-about.cjs.entry.js +72 -28
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +62 -31
- package/dist/cjs/ix-menu-category.cjs.entry.js +157 -74
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +24 -24
- package/dist/cjs/ix-menu-item.cjs.entry.js +100 -51
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +13 -6
- package/dist/cjs/ix-menu-settings.cjs.entry.js +87 -4
- package/dist/cjs/ix-menu.cjs.entry.js +123 -136
- package/dist/cjs/ix-message-bar.cjs.entry.js +33 -22
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +36 -17
- package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-loading.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal.cjs.entry.js +98 -61
- package/dist/cjs/ix-number-input.cjs.entry.js +211 -131
- package/dist/cjs/ix-pagination.cjs.entry.js +108 -89
- package/dist/cjs/ix-pane-layout.cjs.entry.js +26 -27
- package/dist/cjs/ix-pane.cjs.entry.js +114 -82
- package/dist/cjs/ix-pill_4.cjs.entry.js +746 -0
- package/dist/cjs/ix-progress-indicator.cjs.entry.js +48 -40
- package/dist/cjs/ix-push-card.cjs.entry.js +36 -15
- package/dist/cjs/ix-radio-group.cjs.entry.js +63 -26
- package/dist/cjs/ix-radio.cjs.entry.js +51 -25
- package/dist/cjs/ix-range-field.cjs.entry.js +122 -0
- package/dist/cjs/ix-select.cjs.entry.js +398 -373
- package/dist/cjs/ix-slider.cjs.entry.js +108 -68
- package/dist/cjs/ix-split-button.cjs.entry.js +118 -48
- package/dist/cjs/ix-tab-panel.cjs.entry.js +30 -0
- package/dist/cjs/ix-textarea.cjs.entry.js +135 -48
- package/dist/cjs/ix-tile.cjs.entry.js +12 -12
- package/dist/cjs/ix-time-input.cjs.entry.js +298 -152
- package/dist/cjs/ix-toast-container.cjs.entry.js +14 -54
- package/dist/cjs/ix-toast.cjs.entry.js +47 -31
- package/dist/cjs/ix-toggle-button.cjs.entry.js +200 -27
- package/dist/cjs/ix-toggle.cjs.entry.js +244 -48
- package/dist/cjs/ix-tooltip.cjs.entry.js +76 -52
- package/dist/cjs/ix-tree-item.cjs.entry.js +50 -16
- package/dist/cjs/ix-tree.cjs.entry.js +101 -45
- package/dist/cjs/ix-typography.cjs.entry.js +19 -12
- package/dist/cjs/ix-upload.cjs.entry.js +80 -76
- package/dist/cjs/ix-workflow-step.cjs.entry.js +39 -34
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +20 -15
- package/dist/cjs/{listener-BShKJBRB.js → listener-BafrcTaM.js} +7 -6
- package/dist/cjs/loader.cjs.js +3 -4
- package/dist/cjs/{logical-filter-operator-q-2KOPJs.js → logical-filter-operator-Dv9-d8FB.js} +2 -0
- package/dist/cjs/luxon-datetime-format-masks-DQVILoY7.js +43 -0
- package/dist/cjs/{make-ref-BaH6_YJk.js → make-ref-CHsa3FY7.js} +6 -2
- package/dist/cjs/menu-service-D_QsHUgR.js +63 -0
- package/dist/cjs/modal-_AhJoT78.js +190 -0
- package/dist/cjs/service-CRjXhKel.js +94 -0
- package/dist/cjs/shadow-dom-BG8VqeIu.js +91 -0
- package/dist/cjs/siemens-ix.cjs.js +4 -5
- package/dist/cjs/tab.mixin-DObUK6A4.js +21 -0
- package/dist/cjs/theme-switcher-sbkXOvhB.js +127 -0
- package/dist/cjs/time-picker-constraints-CxGhm1qV.js +79 -0
- package/dist/cjs/{tree.types-BygtRFW3.js → tree.types-Cs9O1Wtf.js} +2 -0
- package/dist/cjs/typed-event-Bw4IfJC0.js +44 -0
- package/dist/cjs/{validation-DF9UXqHB.js → validation-Dier-uPA.js} +32 -9
- package/dist/collection/collection-manifest.json +16 -9
- package/dist/collection/components/action-card/action-card.js +37 -19
- package/dist/collection/components/application/application.js +62 -48
- package/dist/collection/components/application-header/application-header.js +116 -84
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +5 -7
- package/dist/collection/components/avatar/avatar.css +30 -5
- package/dist/collection/components/avatar/avatar.js +108 -35
- package/dist/collection/components/blind/blind.js +33 -16
- package/dist/collection/components/breadcrumb/breadcrumb.css +7 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +125 -79
- package/dist/collection/components/breadcrumb/breadcrumb.types.js +1 -0
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +66 -90
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +131 -69
- package/dist/collection/components/button/base-button.js +13 -9
- package/dist/collection/components/button/button.css +38 -45
- package/dist/collection/components/button/button.js +69 -59
- package/dist/collection/components/card/card.js +15 -16
- package/dist/collection/components/card-accordion/card-accordion.js +27 -17
- package/dist/collection/components/card-content/card-content.js +1 -1
- package/dist/collection/components/card-list/card-list.js +127 -54
- package/dist/collection/components/card-title/card-title.js +1 -1
- package/dist/collection/components/category-filter/category-filter.css +38 -45
- package/dist/collection/components/category-filter/category-filter.js +173 -105
- package/dist/collection/components/category-filter/filter-state.js +2 -4
- package/dist/collection/components/category-filter/input-state.js +2 -0
- package/dist/collection/components/checkbox/checkbox.css +1 -0
- package/dist/collection/components/checkbox/checkbox.js +52 -33
- package/dist/collection/components/checkbox-group/checkbox-group.js +48 -25
- package/dist/collection/components/chip/chip.css +369 -346
- package/dist/collection/components/chip/chip.js +171 -80
- package/dist/collection/components/chip/chip.types.js +18 -0
- package/dist/collection/components/col/col.js +20 -2
- package/dist/collection/components/content/content.js +5 -6
- package/dist/collection/components/content-header/content-header.js +23 -17
- package/dist/collection/components/css-grid/css-grid-item.js +5 -1
- package/dist/collection/components/css-grid/css-grid.js +12 -6
- package/dist/collection/components/custom-field/custom-field.js +38 -11
- package/dist/collection/components/date-dropdown/date-dropdown.css +202 -18
- package/dist/collection/components/date-dropdown/date-dropdown.js +168 -201
- package/dist/collection/components/date-input/date-input.css +4 -4
- package/dist/collection/components/date-input/date-input.js +199 -112
- package/dist/collection/components/date-picker/date-picker.css +66 -25
- package/dist/collection/components/date-picker/date-picker.js +582 -193
- package/dist/collection/components/date-time-card/date-time-card.css +3 -0
- package/dist/collection/components/date-time-card/date-time-card.js +43 -18
- package/dist/collection/components/datetime-input/datetime-input.css +621 -0
- package/dist/collection/components/datetime-input/datetime-input.js +1372 -0
- package/dist/collection/components/datetime-input/datetime-input.types.js +1 -0
- package/dist/collection/components/datetime-picker/datetime-picker.css +2 -10
- package/dist/collection/components/datetime-picker/datetime-picker.js +364 -58
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/dropdown/dropdown-controller.js +12 -9
- package/dist/collection/components/dropdown/dropdown-focus.js +178 -0
- package/dist/collection/components/dropdown/dropdown.css +1 -1
- package/dist/collection/components/dropdown/dropdown.js +809 -201
- package/dist/collection/components/dropdown-button/dropdown-button.css +38 -0
- package/dist/collection/components/dropdown-button/dropdown-button.js +258 -36
- package/dist/collection/components/dropdown-header/dropdown-header.js +5 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +23 -3
- package/dist/collection/components/dropdown-item/dropdown-item.js +129 -26
- package/dist/collection/components/dropdown-item/dropdown-item.types.js +1 -0
- package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
- package/dist/collection/components/empty-state/empty-state.js +31 -7
- package/dist/collection/components/event-list/event-list.js +25 -26
- package/dist/collection/components/event-list-item/event-list-item.js +35 -26
- package/dist/collection/components/expanding-search/expanding-search.js +56 -42
- package/dist/collection/components/field-label/field-label.css +10 -0
- package/dist/collection/components/field-label/field-label.js +34 -11
- package/dist/collection/components/field-wrapper/field-wrapper.css +1 -2
- package/dist/collection/components/field-wrapper/field-wrapper.js +193 -49
- package/dist/collection/components/field-wrapper/helper-text-util.js +22 -5
- package/dist/collection/components/filter-chip/filter-chip.css +0 -5
- package/dist/collection/components/filter-chip/filter-chip.js +33 -11
- package/dist/collection/components/flip-tile/flip-tile.js +39 -27
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +7 -9
- package/dist/collection/components/group/group-context-menu.js +3 -4
- package/dist/collection/components/group/group.js +60 -38
- package/dist/collection/components/group-item/group-item.js +45 -22
- package/dist/collection/components/helper-text/helper-text.js +37 -12
- package/dist/collection/components/icon-button/base-icon-button.js +1 -1
- package/dist/collection/components/icon-button/icon-button.css +38 -45
- package/dist/collection/components/icon-button/icon-button.js +58 -56
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +38 -45
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +61 -63
- package/dist/collection/components/input/input.css +4 -8
- package/dist/collection/components/input/input.fc.js +10 -11
- package/dist/collection/components/input/input.js +119 -49
- package/dist/collection/components/input/input.util.js +1 -2
- package/dist/collection/components/input/number-input.css +4 -4
- package/dist/collection/components/input/number-input.js +202 -124
- package/dist/collection/components/input/textarea.css +4 -4
- package/dist/collection/components/input/textarea.js +127 -42
- package/dist/collection/components/ix-playground/ix-playground.js +25 -0
- package/dist/collection/components/key-value/key-value.js +23 -7
- package/dist/collection/components/key-value-list/key-value-list.js +5 -7
- package/dist/collection/components/kpi/kpi.js +35 -13
- package/dist/collection/components/layout-auto/layout-auto.js +14 -15
- package/dist/collection/components/layout-grid/layout-grid.js +14 -16
- package/dist/collection/components/link-button/link-button.js +17 -15
- package/dist/collection/components/menu/menu-expand-icon.css +12 -5
- package/dist/collection/components/menu/menu-expand-icon.js +60 -45
- package/dist/collection/components/menu/menu.js +114 -160
- package/dist/collection/components/menu-about/menu-about.css +63 -3
- package/dist/collection/components/menu-about/menu-about.js +111 -36
- package/dist/collection/components/menu-about-item/menu-about-item.js +18 -14
- package/dist/collection/components/menu-about-news/menu-about-news.js +65 -17
- package/dist/collection/components/menu-avatar/menu-avatar.js +57 -27
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +15 -4
- package/dist/collection/components/menu-category/menu-category.js +156 -42
- package/dist/collection/components/menu-item/menu-item.js +94 -46
- package/dist/collection/components/menu-settings/menu-settings.css +0 -3
- package/dist/collection/components/menu-settings/menu-settings.js +111 -36
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +23 -16
- package/dist/collection/components/message-bar/message-bar.js +31 -22
- package/dist/collection/components/modal/modal.css +2 -1
- package/dist/collection/components/modal/modal.js +98 -63
- 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 +34 -16
- package/dist/collection/components/modal-loading/modal-loading.js +1 -1
- package/dist/collection/components/pagination/pagination.css +38 -45
- package/dist/collection/components/pagination/pagination.js +103 -85
- package/dist/collection/components/pane/pane.js +108 -77
- package/dist/collection/components/pane-layout/pane-layout.js +23 -25
- package/dist/collection/components/pill/pill.css +8 -24
- package/dist/collection/components/pill/pill.js +60 -29
- package/dist/collection/components/progress-indicator/progress-indicator.js +46 -39
- package/dist/collection/components/push-card/push-card.js +35 -16
- package/dist/collection/components/radio/radio.js +47 -23
- package/dist/collection/components/radio-group/radio-group.js +59 -24
- package/dist/collection/components/{input-group/input-group.css → range-field/range-field.css} +26 -39
- package/dist/collection/components/range-field/range-field.js +193 -0
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/select/select.css +36 -13
- package/dist/collection/components/select/select.js +427 -383
- package/dist/collection/components/select/test/select-controller.js +89 -0
- package/dist/collection/components/select-item/select-item.js +46 -59
- package/dist/collection/components/slider/slider.css +0 -7
- package/dist/collection/components/slider/slider.js +101 -85
- package/dist/collection/components/spinner/spinner.js +14 -15
- package/dist/collection/components/split-button/split-button.css +36 -19
- package/dist/collection/components/split-button/split-button.js +116 -77
- package/dist/collection/components/tab-item/tab-item.css +73 -81
- package/dist/collection/components/tab-item/tab-item.js +279 -93
- package/dist/collection/components/tab-item/tab.mixin.js +40 -0
- package/dist/collection/components/{application-sidebar/application-sidebar.css → tab-panel/tab-panel.css} +3 -11
- package/dist/collection/components/tab-panel/tab-panel.js +67 -0
- package/dist/collection/components/{drawer/drawer.css → tab-set/tab-set.css} +1 -62
- package/dist/collection/components/tab-set/tab-set.js +92 -0
- package/dist/collection/components/tabs/tabs.css +71 -39
- package/dist/collection/components/tabs/tabs.js +261 -416
- package/dist/collection/components/tile/tile.js +11 -12
- package/dist/collection/components/time-input/time-input.css +4 -4
- package/dist/collection/components/time-input/time-input.js +349 -138
- package/dist/collection/components/time-picker/time-picker-column-values.js +25 -0
- package/dist/collection/components/time-picker/time-picker-compute-time.js +64 -0
- package/dist/collection/components/time-picker/time-picker-constraints.js +71 -0
- package/dist/collection/components/time-picker/time-picker-display.js +21 -0
- package/dist/collection/components/time-picker/time-picker-format.js +40 -0
- package/dist/collection/components/time-picker/time-picker-range.js +50 -0
- package/dist/collection/components/time-picker/time-picker-step-focus.js +32 -0
- package/dist/collection/components/time-picker/time-picker.css +17 -4
- package/dist/collection/components/time-picker/time-picker.js +544 -264
- package/dist/collection/components/toast/{styles/toast-container.css → toast-container.css} +6 -8
- package/dist/collection/components/toast/toast-container.js +15 -97
- package/dist/collection/components/toast/toast-utils.js +16 -4
- package/dist/collection/components/toast/toast.js +45 -30
- package/dist/collection/components/toggle/toggle.css +7 -4
- package/dist/collection/components/toggle/toggle.js +85 -44
- package/dist/collection/components/toggle-button/toggle-button.css +38 -45
- package/dist/collection/components/toggle-button/toggle-button.js +41 -46
- package/dist/collection/components/tooltip/tooltip.js +68 -44
- package/dist/collection/components/tree/tree.js +74 -34
- package/dist/collection/components/tree-item/default-tree-item.js +2 -0
- package/dist/collection/components/tree-item/tree-item.css +9 -4
- package/dist/collection/components/tree-item/tree-item.js +70 -15
- package/dist/collection/components/typography/typography.js +18 -13
- package/dist/collection/components/upload/upload.js +110 -75
- package/dist/collection/components/utils/a11y.js +1 -2
- package/dist/collection/components/utils/animation.js +24 -44
- package/dist/collection/components/utils/application-layout/service.js +22 -40
- package/dist/collection/components/utils/context.js +4 -1
- package/dist/collection/components/utils/delegate.js +1 -2
- package/dist/collection/components/utils/dependency-function.js +55 -0
- package/dist/collection/components/utils/event.js +16 -0
- package/dist/collection/components/utils/find-element.js +1 -1
- package/dist/collection/components/utils/focus/detect-keyboard-mode.js +28 -0
- package/dist/collection/components/utils/focus/focus-proxy.js +40 -0
- package/dist/collection/components/utils/focus/focus-trap.js +99 -0
- package/dist/collection/components/utils/focus/focus-utilities.js +117 -0
- package/dist/collection/components/utils/focus.js +9 -6
- package/dist/collection/components/utils/input/index.js +5 -0
- package/dist/collection/components/utils/input/validation.js +31 -8
- package/dist/collection/components/utils/internal/component.js +2 -1
- package/dist/collection/components/utils/internal/index.js +1 -1
- package/dist/collection/components/utils/internal/mixins/accessibility/aria-activedescendant.mixin.js +84 -0
- package/dist/collection/components/utils/internal/mixins/accessibility/inherit-aria-attributes.mixin.js +190 -0
- package/dist/collection/components/utils/internal/mixins/focus-visible.mixin.js +91 -0
- package/dist/collection/components/utils/internal/mixins/id.mixin.js +17 -0
- package/dist/collection/components/utils/internal/mixins/input/input-picker.mixin.js +45 -0
- package/dist/collection/components/utils/internal/mixins/setup.mixin.js +118 -0
- package/dist/collection/components/utils/lazy-list/lazy.js +24 -9
- package/dist/collection/components/utils/listener.js +6 -5
- package/dist/collection/components/utils/luxon-datetime-format-masks.js +38 -0
- package/dist/collection/components/utils/make-ref.js +5 -2
- package/dist/collection/components/utils/menu-service/menu-service.js +17 -37
- package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js +1 -49
- package/dist/collection/components/utils/modal/index.js +2 -2
- package/dist/collection/components/utils/modal/loading.js +34 -29
- package/dist/collection/components/utils/modal/message.js +133 -106
- package/dist/collection/components/utils/modal/modal.js +11 -8
- package/dist/collection/components/utils/overlay.js +1 -3
- package/dist/collection/components/utils/shadow-dom.js +42 -0
- package/dist/collection/components/{drawer → utils}/test/animejs.mock.js +8 -8
- package/dist/collection/components/utils/theme-switcher.js +85 -133
- package/dist/collection/components/utils/typed-event.js +29 -31
- package/dist/collection/components/workflow-step/workflow-step.js +37 -33
- package/dist/collection/components/workflow-steps/workflow-steps.js +19 -15
- package/dist/collection/public-api.js +4 -0
- package/dist/collection/tests/utils/test/page.js +34 -9
- package/dist/esm/{a11y-DAzBNVe7.js → a11y-B5k8YVR0.js} +1 -2
- package/dist/esm/animation-DNIQ2C1K.js +79 -0
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/aria-activedescendant.mixin-CM-NUHTW.js +83 -0
- package/dist/esm/{base-button-CV0w47z9.js → base-button-hppF0uUM.js} +14 -10
- package/dist/esm/{base-icon-button-BuHd34qo.js → base-icon-button-_xVULsPr.js} +3 -3
- package/dist/esm/component-Chfbghog.js +139 -0
- package/dist/esm/{context-BniHpAE1.js → context-zqk3Dkv-.js} +5 -2
- package/dist/esm/{dropdown-controller-D3K9vmFp.js → dropdown-controller-D6Wm2E-0.js} +12 -9
- package/dist/esm/{floating-ui.dom-CAqtPJ4-.js → find-element-Bxrgt3H_.js} +100 -1
- package/dist/esm/focus-proxy-BgLEsVE2.js +43 -0
- package/dist/esm/focus-trap-DDLHqzV2.js +102 -0
- package/dist/esm/focus-utilities-DnaItyVQ.js +108 -0
- package/dist/esm/focus-visible.mixin-CoMZ6z5Z.js +40 -0
- package/dist/esm/{helper-text-util-C9sLzo0k.js → helper-text-util-AEl-1QU6.js} +26 -9
- package/dist/esm/id.mixin-CUbYLenp.js +19 -0
- package/dist/esm/{index-BEPo7U1W.js → index-Ca5WUunf.js} +529 -127
- package/dist/esm/{index-BBzEV-f4.js → index-Cl7fhG1I.js} +2 -3
- package/dist/esm/index-XBTykBKS.js +14 -0
- package/dist/esm/{index-BG5XMoOy.js → index-nCVTBc9Y.js} +1 -2
- package/dist/esm/index.js +262 -45
- package/dist/esm/inherit-aria-attributes.mixin-CBuZQFB-.js +34 -0
- package/dist/esm/{picker-input.util-D1uMJUKN.js → input-picker.mixin-Bo_sZpC4.js} +25 -2
- package/dist/esm/{input.fc-C1ytwpkt.js → input.fc-DjE-oOZc.js} +17 -19
- package/dist/esm/ix-action-card.entry.js +39 -19
- package/dist/esm/ix-application-header.entry.js +126 -69
- package/dist/esm/ix-application-switch-modal.entry.js +9 -13
- package/dist/esm/ix-application.entry.js +46 -34
- package/dist/esm/ix-avatar_2.entry.js +126 -22
- package/dist/esm/ix-blind.entry.js +37 -23
- package/dist/esm/ix-breadcrumb-item.entry.js +234 -43
- package/dist/esm/ix-breadcrumb.entry.js +85 -68
- package/dist/esm/ix-button.entry.js +227 -40
- package/dist/esm/ix-card-accordion_2.entry.js +30 -19
- package/dist/esm/ix-card-list.entry.js +104 -54
- package/dist/esm/ix-card_2.entry.js +17 -17
- package/dist/esm/ix-category-filter.entry.js +180 -111
- package/dist/esm/ix-checkbox-group.entry.js +52 -27
- package/dist/esm/ix-checkbox.entry.js +58 -37
- package/dist/esm/ix-chip.entry.js +317 -81
- package/dist/esm/ix-col_4.entry.js +1110 -496
- package/dist/esm/ix-content-header.entry.js +25 -17
- package/dist/esm/ix-content.entry.js +7 -7
- package/dist/esm/ix-css-grid-item.entry.js +6 -2
- package/dist/esm/ix-css-grid.entry.js +13 -5
- package/dist/esm/ix-custom-field.entry.js +41 -12
- package/dist/esm/ix-date-dropdown.entry.js +170 -145
- package/dist/esm/ix-date-input.entry.js +209 -122
- package/dist/esm/ix-date-picker.entry.js +750 -0
- package/dist/esm/ix-date-time-card.entry.js +25 -18
- package/dist/esm/ix-datetime-input.entry.js +546 -0
- package/dist/esm/ix-datetime-picker.entry.js +242 -58
- package/dist/esm/ix-divider.entry.js +2 -2
- package/dist/esm/ix-dropdown-button.entry.js +155 -38
- package/dist/esm/ix-dropdown-header.entry.js +6 -2
- package/dist/esm/ix-dropdown-quick-actions.entry.js +2 -2
- package/dist/esm/ix-dropdown_2.entry.js +989 -0
- package/dist/esm/ix-empty-state.entry.js +32 -6
- package/dist/esm/ix-event-list-item.entry.js +38 -27
- package/dist/esm/ix-event-list.entry.js +27 -27
- package/dist/esm/ix-expanding-search.entry.js +58 -44
- package/dist/esm/ix-field-label_2.entry.js +177 -55
- package/dist/esm/ix-filter-chip_2.entry.js +85 -37
- package/dist/esm/ix-flip-tile-content.entry.js +8 -8
- package/dist/esm/ix-flip-tile.entry.js +43 -30
- package/dist/esm/ix-group-context-menu_2.entry.js +51 -27
- package/dist/esm/ix-group.entry.js +63 -40
- package/dist/esm/ix-helper-text.entry.js +43 -16
- package/dist/esm/ix-icon-button_2.entry.js +232 -52
- package/dist/esm/ix-icon-toggle-button.entry.js +221 -45
- package/dist/esm/ix-input.entry.js +129 -57
- package/dist/esm/ix-key-value-list.entry.js +6 -6
- package/dist/esm/ix-key-value.entry.js +24 -6
- package/dist/esm/ix-kpi.entry.js +37 -13
- package/dist/esm/ix-layout-auto.entry.js +15 -15
- package/dist/esm/ix-link-button.entry.js +19 -15
- package/dist/esm/ix-menu-about-item.entry.js +13 -6
- package/dist/esm/ix-menu-about-news.entry.js +45 -18
- package/dist/esm/ix-menu-about.entry.js +72 -28
- package/dist/esm/ix-menu-avatar.entry.js +62 -31
- package/dist/esm/ix-menu-category.entry.js +157 -74
- package/dist/esm/ix-menu-expand-icon.entry.js +24 -24
- package/dist/esm/ix-menu-item.entry.js +100 -51
- package/dist/esm/ix-menu-settings-item.entry.js +13 -6
- package/dist/esm/ix-menu-settings.entry.js +90 -3
- package/dist/esm/ix-menu.entry.js +123 -136
- package/dist/esm/ix-message-bar.entry.js +33 -22
- package/dist/esm/ix-modal-content_2.entry.js +36 -17
- package/dist/esm/ix-modal-footer.entry.js +2 -2
- package/dist/esm/ix-modal-loading.entry.js +2 -2
- package/dist/esm/ix-modal.entry.js +98 -61
- package/dist/esm/ix-number-input.entry.js +212 -132
- package/dist/esm/ix-pagination.entry.js +108 -89
- package/dist/esm/ix-pane-layout.entry.js +26 -27
- package/dist/esm/ix-pane.entry.js +114 -82
- package/dist/esm/ix-pill_4.entry.js +741 -0
- package/dist/esm/ix-progress-indicator.entry.js +48 -40
- package/dist/esm/ix-push-card.entry.js +36 -15
- package/dist/esm/ix-radio-group.entry.js +63 -26
- package/dist/esm/ix-radio.entry.js +51 -25
- package/dist/esm/ix-range-field.entry.js +120 -0
- package/dist/esm/ix-select.entry.js +398 -373
- package/dist/esm/ix-slider.entry.js +108 -68
- package/dist/esm/ix-split-button.entry.js +118 -48
- package/dist/esm/ix-tab-panel.entry.js +28 -0
- package/dist/esm/ix-textarea.entry.js +136 -49
- package/dist/esm/ix-tile.entry.js +12 -12
- package/dist/esm/ix-time-input.entry.js +295 -149
- package/dist/esm/ix-toast-container.entry.js +14 -54
- package/dist/esm/ix-toast.entry.js +47 -31
- package/dist/esm/ix-toggle-button.entry.js +200 -27
- package/dist/esm/ix-toggle.entry.js +244 -48
- package/dist/esm/ix-tooltip.entry.js +69 -45
- package/dist/esm/ix-tree-item.entry.js +50 -16
- package/dist/esm/ix-tree.entry.js +101 -45
- package/dist/esm/ix-typography.entry.js +19 -12
- package/dist/esm/ix-upload.entry.js +80 -76
- package/dist/esm/ix-workflow-step.entry.js +39 -34
- package/dist/esm/ix-workflow-steps.entry.js +20 -15
- package/dist/esm/{listener-DcAn-vyA.js → listener-Dk6XGheN.js} +7 -6
- package/dist/esm/loader.js +4 -5
- package/dist/esm/{logical-filter-operator-BH3f5fa3.js → logical-filter-operator-C9HBQRMb.js} +2 -0
- package/dist/esm/luxon-datetime-format-masks-CoQiziG8.js +40 -0
- package/dist/esm/{make-ref-bcj7UEIC.js → make-ref-Djkc69iv.js} +6 -3
- package/dist/esm/menu-service-DTIYRV47.js +61 -0
- package/dist/esm/modal-DaGSr1j4.js +181 -0
- package/dist/esm/{rwd.util-pXYAoEyc.js → rwd.util-JJddxCCh.js} +1 -1
- package/dist/esm/service-CEglFEKY.js +92 -0
- package/dist/esm/shadow-dom-BIe8Nw9M.js +85 -0
- package/dist/esm/siemens-ix.js +5 -6
- package/dist/esm/tab.mixin-2hU1i4Yk.js +19 -0
- package/dist/esm/theme-switcher-CRVG13AN.js +124 -0
- package/dist/esm/time-picker-constraints-Bsg2RskF.js +74 -0
- package/dist/esm/{tree.types-DSTYytot.js → tree.types-D5rshXh5.js} +2 -0
- package/dist/esm/typed-event-CWshStHZ.js +42 -0
- package/dist/esm/{validation-CTBekLDe.js → validation-BT5aAuSO.js} +32 -9
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/p-04bbcd53.entry.js +1 -0
- package/dist/siemens-ix/p-077cb0a7.entry.js +1 -0
- package/dist/siemens-ix/p-0de68f63.entry.js +1 -0
- package/dist/siemens-ix/p-12647d5d.entry.js +1 -0
- package/dist/siemens-ix/p-12750b7b.entry.js +1 -0
- package/dist/siemens-ix/p-15aefb52.entry.js +1 -0
- package/dist/siemens-ix/p-1629de03.entry.js +1 -0
- package/dist/siemens-ix/p-1ce32501.entry.js +1 -0
- package/dist/siemens-ix/p-1fa6a663.entry.js +1 -0
- package/dist/siemens-ix/p-2142fab0.entry.js +1 -0
- package/dist/siemens-ix/p-21c0d22c.entry.js +1 -0
- package/dist/siemens-ix/p-222881a1.entry.js +1 -0
- package/dist/siemens-ix/p-232da11d.entry.js +1 -0
- package/dist/siemens-ix/p-23aaf08e.entry.js +1 -0
- package/dist/siemens-ix/p-25c784e4.entry.js +1 -0
- package/dist/siemens-ix/p-280d8b68.entry.js +1 -0
- package/dist/siemens-ix/{p-6aadd69d.entry.js → p-2a735134.entry.js} +1 -1
- package/dist/siemens-ix/p-2afcdc78.entry.js +1 -0
- package/dist/siemens-ix/p-2bef3c58.entry.js +1 -0
- package/dist/siemens-ix/p-2d7e415f.entry.js +1 -0
- package/dist/siemens-ix/p-2d8f3ea3.entry.js +1 -0
- package/dist/siemens-ix/p-2e5e7ccf.entry.js +1 -0
- package/dist/siemens-ix/p-38cb18b4.entry.js +1 -0
- package/dist/siemens-ix/p-3f752a9c.entry.js +1 -0
- package/dist/siemens-ix/p-40a26154.entry.js +1 -0
- package/dist/siemens-ix/p-44a3f1f0.entry.js +1 -0
- package/dist/siemens-ix/p-45552c4c.entry.js +1 -0
- package/dist/siemens-ix/p-48386b43.entry.js +1 -0
- package/dist/siemens-ix/p-4pTtJwcY.js +1 -0
- package/dist/siemens-ix/p-5024bd91.entry.js +1 -0
- package/dist/siemens-ix/p-50b75fdf.entry.js +1 -0
- package/dist/siemens-ix/p-58d349a2.entry.js +1 -0
- package/dist/siemens-ix/p-5a44cb29.entry.js +1 -0
- package/dist/siemens-ix/p-5ae844d7.entry.js +1 -0
- package/dist/siemens-ix/p-5b3f7baa.entry.js +1 -0
- package/dist/siemens-ix/p-5c478e3e.entry.js +1 -0
- package/dist/siemens-ix/p-61a481f3.entry.js +1 -0
- package/dist/siemens-ix/p-65b8ad90.entry.js +1 -0
- package/dist/siemens-ix/p-65bc8a0d.entry.js +1 -0
- package/dist/siemens-ix/p-68eb9150.entry.js +1 -0
- package/dist/siemens-ix/p-69459b73.entry.js +1 -0
- package/dist/siemens-ix/p-6df3d9e4.entry.js +1 -0
- package/dist/siemens-ix/p-6e63af65.entry.js +1 -0
- package/dist/siemens-ix/p-6fb379fb.entry.js +1 -0
- package/dist/siemens-ix/p-756c8779.entry.js +1 -0
- package/dist/siemens-ix/p-782fb465.entry.js +1 -0
- package/dist/siemens-ix/p-7a83e693.entry.js +1 -0
- package/dist/siemens-ix/p-82f44b05.entry.js +1 -0
- package/dist/siemens-ix/p-834330b3.entry.js +1 -0
- package/dist/siemens-ix/p-8493e35e.entry.js +1 -0
- package/dist/siemens-ix/p-84fbdef9.entry.js +1 -0
- package/dist/siemens-ix/p-85ce0a9f.entry.js +1 -0
- package/dist/siemens-ix/p-8937e9b1.entry.js +1 -0
- package/dist/siemens-ix/p-8cfddec2.entry.js +1 -0
- package/dist/siemens-ix/p-8d76c0b0.entry.js +1 -0
- package/dist/siemens-ix/p-9015a4c5.entry.js +1 -0
- package/dist/siemens-ix/p-91b02cb7.entry.js +1 -0
- package/dist/siemens-ix/p-9362c304.entry.js +1 -0
- package/dist/siemens-ix/p-9586a886.entry.js +1 -0
- package/dist/siemens-ix/p-986142f0.entry.js +1 -0
- package/dist/siemens-ix/p-9907d408.entry.js +1 -0
- package/dist/siemens-ix/p-9b8f1bc7.entry.js +1 -0
- package/dist/siemens-ix/p-B5k8YVR0.js +1 -0
- package/dist/siemens-ix/p-BFUINhFM.js +1 -0
- package/dist/siemens-ix/p-BIe8Nw9M.js +1 -0
- package/dist/siemens-ix/p-BL9SR36X.js +1 -0
- package/dist/siemens-ix/p-BZApVtkF.js +1 -0
- package/dist/siemens-ix/p-BgL7Z4IG.js +1 -0
- package/dist/siemens-ix/p-Bxrgt3H_.js +1 -0
- package/dist/siemens-ix/p-C9HBQRMb.js +1 -0
- package/dist/siemens-ix/p-CM-NUHTW.js +1 -0
- package/dist/siemens-ix/p-CUbYLenp.js +1 -0
- package/dist/siemens-ix/p-CWlPNXA-.js +1 -0
- package/dist/siemens-ix/p-CWshStHZ.js +1 -0
- package/dist/siemens-ix/p-Ca5WUunf.js +2 -0
- package/dist/siemens-ix/p-CgOv_MV_.js +1 -0
- package/dist/siemens-ix/p-Cl7fhG1I.js +1 -0
- package/dist/siemens-ix/p-CoQiziG8.js +1 -0
- package/dist/siemens-ix/p-CxGywkh5.js +1 -0
- package/dist/siemens-ix/p-D148LCh1.js +1 -0
- package/dist/siemens-ix/{p-DSTYytot.js → p-D5rshXh5.js} +1 -1
- package/dist/siemens-ix/p-D6Wm2E-0.js +1 -0
- package/dist/siemens-ix/p-DIWED8Ls.js +1 -0
- package/dist/siemens-ix/p-DNIQ2C1K.js +1 -0
- package/dist/siemens-ix/p-DQuL1Twl.js +1 -0
- package/dist/siemens-ix/p-Djkc69iv.js +1 -0
- package/dist/siemens-ix/p-Dl_bUxb7.js +1 -0
- package/dist/siemens-ix/p-DnCbHs-d.js +1 -0
- package/dist/siemens-ix/p-DnaItyVQ.js +1 -0
- package/dist/siemens-ix/p-DuTDx0c-.js +1 -0
- package/dist/siemens-ix/p-Dx6rQdpk.js +1 -0
- package/dist/siemens-ix/p-DzWThpzp.js +1 -0
- package/dist/siemens-ix/p-GLcPX9PU.js +1 -0
- package/dist/siemens-ix/{p-pXYAoEyc.js → p-JJddxCCh.js} +1 -1
- package/dist/siemens-ix/p-XBTykBKS.js +1 -0
- package/dist/siemens-ix/p-Z4IKO1Dx.js +1 -0
- package/dist/siemens-ix/p-a44e8a8f.entry.js +1 -0
- package/dist/siemens-ix/p-a5d60068.entry.js +1 -0
- package/dist/siemens-ix/p-ae5569aa.entry.js +1 -0
- package/dist/siemens-ix/p-afa900f7.entry.js +1 -0
- package/dist/siemens-ix/p-b17053bc.entry.js +1 -0
- package/dist/siemens-ix/p-b1930204.entry.js +1 -0
- package/dist/siemens-ix/{p-d458b450.entry.js → p-b517c2e1.entry.js} +1 -1
- package/dist/siemens-ix/p-b96eabf7.entry.js +1 -0
- package/dist/siemens-ix/p-ba0eaaf5.entry.js +1 -0
- package/dist/siemens-ix/p-bd60b9fe.entry.js +1 -0
- package/dist/siemens-ix/p-bef76eac.entry.js +1 -0
- package/dist/siemens-ix/p-c350c5d0.entry.js +1 -0
- package/dist/siemens-ix/p-c56497da.entry.js +1 -0
- package/dist/siemens-ix/p-c78a5414.entry.js +1 -0
- package/dist/siemens-ix/p-c921c01b.entry.js +1 -0
- package/dist/siemens-ix/p-cb9f8b47.entry.js +1 -0
- package/dist/siemens-ix/p-d34c0c51.entry.js +1 -0
- package/dist/siemens-ix/p-d440cd94.entry.js +1 -0
- package/dist/siemens-ix/{p-2b559d4b.entry.js → p-d798773f.entry.js} +1 -1
- package/dist/siemens-ix/p-d8c99656.entry.js +1 -0
- package/dist/siemens-ix/p-da8840cc.entry.js +1 -0
- package/dist/siemens-ix/p-dd2b271e.entry.js +1 -0
- package/dist/siemens-ix/p-de79c9cf.entry.js +1 -0
- package/dist/siemens-ix/p-dedd5fc0.entry.js +1 -0
- package/dist/siemens-ix/p-df13643b.entry.js +1 -0
- package/dist/siemens-ix/p-df32a25c.entry.js +1 -0
- package/dist/siemens-ix/p-e09fcd95.entry.js +1 -0
- package/dist/siemens-ix/p-e316d8a5.entry.js +1 -0
- package/dist/siemens-ix/p-ea440d84.entry.js +1 -0
- package/dist/siemens-ix/p-ed2aea43.entry.js +1 -0
- package/dist/siemens-ix/p-edb738d9.entry.js +1 -0
- package/dist/siemens-ix/p-f107a580.entry.js +1 -0
- package/dist/siemens-ix/p-f847a799.entry.js +1 -0
- package/dist/siemens-ix/p-fcac86a5.entry.js +1 -0
- package/dist/siemens-ix/p-fpBGwEVT.js +1 -0
- package/dist/siemens-ix/p-jBB3q9qq.js +1 -0
- package/dist/siemens-ix/p-yAf8WIcn.js +1 -0
- package/dist/siemens-ix/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix-standalone.css +1 -0
- package/dist/siemens-ix/siemens-ix.css +285 -988
- 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/application/application.d.ts +8 -5
- package/dist/types/components/application-header/application-header.d.ts +0 -7
- package/dist/types/components/avatar/avatar.d.ts +60 -8
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +29 -9
- package/dist/types/components/breadcrumb/breadcrumb.types.d.ts +9 -0
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +42 -12
- package/dist/types/components/button/button.d.ts +31 -8
- package/dist/types/components/card-list/card-list.d.ts +8 -0
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +2 -2
- package/dist/types/components/chip/chip.d.ts +48 -4
- package/dist/types/components/chip/chip.types.d.ts +2 -0
- package/dist/types/components/custom-field/custom-field.d.ts +2 -2
- package/dist/types/components/date-dropdown/date-dropdown.d.ts +18 -17
- package/dist/types/components/date-input/date-input.d.ts +18 -5
- package/dist/types/components/date-picker/date-picker.d.ts +62 -10
- package/dist/types/components/date-time-card/date-time-card.d.ts +4 -0
- package/dist/types/components/datetime-input/datetime-input.d.ts +210 -0
- package/dist/types/components/datetime-input/datetime-input.types.d.ts +3 -0
- package/dist/types/components/datetime-picker/datetime-picker.d.ts +32 -0
- package/dist/types/components/dropdown/dropdown-controller.d.ts +3 -2
- package/dist/types/components/dropdown/dropdown-focus.d.ts +20 -0
- package/dist/types/components/dropdown/dropdown.d.ts +109 -14
- package/dist/types/components/dropdown-button/dropdown-button.d.ts +82 -2
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +55 -1
- package/dist/types/components/dropdown-item/dropdown-item.types.d.ts +1 -0
- package/dist/types/components/field-label/field-label.d.ts +3 -2
- package/dist/types/components/field-wrapper/field-wrapper.d.ts +39 -5
- package/dist/types/components/field-wrapper/helper-text-util.d.ts +11 -0
- package/dist/types/components/helper-text/helper-text.d.ts +2 -2
- package/dist/types/components/icon-button/icon-button.d.ts +31 -8
- package/dist/types/components/icon-toggle-button/icon-toggle-button.d.ts +31 -8
- package/dist/types/components/layout-auto/layout-auto.d.ts +2 -2
- package/dist/types/components/menu/menu-expand-icon.d.ts +4 -5
- package/dist/types/components/menu/menu.d.ts +0 -11
- package/dist/types/components/menu-about/menu-about.d.ts +19 -6
- package/dist/types/components/menu-about-item/menu-about-item.d.ts +20 -1
- package/dist/types/components/menu-about-news/menu-about-news.d.ts +22 -1
- package/dist/types/components/menu-category/menu-category.d.ts +23 -4
- package/dist/types/components/menu-item/menu-item.d.ts +2 -0
- package/dist/types/components/menu-settings/menu-settings.d.ts +19 -6
- package/dist/types/components/menu-settings-item/menu-settings-item.d.ts +21 -2
- package/dist/types/components/modal/modal.d.ts +6 -4
- package/dist/types/components/modal-header/modal-header.d.ts +2 -2
- package/dist/types/components/pill/pill.d.ts +16 -2
- package/dist/types/components/range-field/range-field.d.ts +34 -0
- package/dist/types/components/select/select.d.ts +82 -32
- package/dist/types/components/select/test/select-controller.d.ts +15 -0
- package/dist/types/components/select-item/select-item.d.ts +47 -7
- package/dist/types/components/slider/slider.d.ts +0 -6
- package/dist/types/components/split-button/split-button.d.ts +43 -8
- package/dist/types/components/tab-item/tab-item.d.ts +77 -15
- package/dist/types/components/tab-item/tab-item.types.d.ts +2 -1
- package/dist/types/components/tab-item/tab.mixin.d.ts +26 -0
- package/dist/types/components/tab-panel/tab-panel.d.ts +42 -0
- package/dist/types/components/tab-set/tab-set.d.ts +17 -0
- package/dist/types/components/tabs/tabs.d.ts +68 -58
- package/dist/types/components/time-input/time-input.d.ts +43 -6
- package/dist/types/components/time-picker/time-picker-column-values.d.ts +15 -0
- package/dist/types/components/time-picker/time-picker-compute-time.d.ts +6 -0
- package/dist/types/components/time-picker/time-picker-constraints.d.ts +16 -0
- package/dist/types/components/time-picker/time-picker-display.d.ts +6 -0
- package/dist/types/components/time-picker/time-picker-format.d.ts +13 -0
- package/dist/types/components/time-picker/time-picker-range.d.ts +11 -0
- package/dist/types/components/time-picker/time-picker-step-focus.d.ts +7 -0
- package/dist/types/components/time-picker/time-picker.d.ts +51 -9
- package/dist/types/components/time-picker/time-picker.types.d.ts +1 -0
- package/dist/types/components/toast/toast-container.d.ts +3 -11
- package/dist/types/components/toggle/toggle.d.ts +32 -1
- package/dist/types/components/toggle-button/toggle-button.d.ts +31 -6
- package/dist/types/components/tooltip/tooltip.d.ts +1 -1
- package/dist/types/components/tree/tree-model.d.ts +4 -0
- package/dist/types/components/tree-item/tree-item.d.ts +6 -0
- package/dist/types/components/upload/upload.d.ts +10 -4
- package/dist/types/components/utils/dependency-function.d.ts +16 -0
- package/dist/types/components/utils/event.d.ts +8 -0
- package/dist/types/components/utils/focus/detect-keyboard-mode.d.ts +5 -0
- package/dist/types/components/utils/focus/focus-proxy.d.ts +12 -0
- package/dist/types/components/utils/focus/focus-trap.d.ts +12 -0
- package/dist/types/components/utils/focus/focus-utilities.d.ts +32 -0
- package/dist/types/components/utils/input/index.d.ts +6 -2
- package/dist/types/components/utils/input/validation.d.ts +2 -2
- package/dist/types/components/utils/internal/component.d.ts +107 -2
- package/dist/types/components/utils/internal/index.d.ts +2 -1
- package/dist/types/components/utils/internal/mixins/accessibility/aria-activedescendant.mixin.d.ts +30 -0
- package/dist/types/components/utils/internal/mixins/accessibility/inherit-aria-attributes.mixin.d.ts +25 -0
- package/dist/types/components/utils/internal/mixins/focus-visible.mixin.d.ts +33 -0
- package/dist/types/components/utils/internal/mixins/id.mixin.d.ts +22 -0
- package/dist/types/components/utils/internal/mixins/input/input-picker.mixin.d.ts +24 -0
- package/dist/types/components/utils/internal/mixins/setup.mixin.d.ts +31 -0
- package/dist/types/components/utils/luxon-datetime-format-masks.d.ts +13 -0
- package/dist/types/components/utils/make-ref.d.ts +1 -0
- package/dist/types/components/utils/menu-tabs/menu-tabs-utils.d.ts +0 -5
- package/dist/types/components/utils/modal/index.d.ts +2 -2
- package/dist/types/components/utils/modal/loading.d.ts +8 -7
- package/dist/types/components/utils/modal/message.d.ts +27 -27
- package/dist/types/components/utils/modal/modal.d.ts +9 -18
- package/dist/types/components/utils/overlay.d.ts +2 -2
- package/dist/types/components/utils/shadow-dom.d.ts +16 -0
- package/dist/types/components/utils/test/animejs.mock.d.ts +1 -0
- package/dist/types/components/utils/theme-switcher.d.ts +24 -22
- package/dist/types/components.d.ts +1192 -613
- package/dist/types/public-api.d.ts +5 -0
- package/dist/types/tests/utils/test/page.d.ts +7 -1
- package/hydrate/index.js +12689 -6438
- package/hydrate/index.mjs +12689 -6438
- package/package.json +13 -7
- package/scss/_core.scss +3 -45
- package/scss/_standalone.scss +45 -0
- package/scss/components/_table.scss +5 -1
- package/scss/ix-core.scss +0 -2
- package/{dist/collection/components/menu-settings-item/menu-settings-item.css → scss/ix-standalone.scss} +2 -5
- package/scss/legacy/components/_checkboxes.scss +1 -1
- package/scss/legacy/components/_dropdown.scss +1 -1
- package/scss/legacy/components/_forms.scss +1 -1
- package/scss/legacy/components/_modal.scss +1 -1
- package/scss/legacy/components/_radiobuttons.scss +1 -1
- package/scss/legacy/mixins/_fonts.scss +1 -1
- package/scss/mixins/shadow-dom/_focus-visible.scss +12 -0
- package/scss/theme/classic/dark/_index.scss +0 -1
- package/scss/theme/classic/dark/_variables.scss +40 -40
- package/scss/theme/classic/light/_index.scss +0 -1
- package/scss/theme/classic/light/_variables.scss +40 -40
- package/scss/theme/classic/theme.scss +22 -28
- package/scss/theme/core/components/button.scss +29 -29
- package/scss/theme/core/components/chip.scss +4 -4
- package/scss/theme/core/components/link.scss +2 -2
- package/scss/theme/core/components/tab.scss +4 -4
- package/components/ix-application-sidebar.js +0 -1
- package/components/ix-drawer.js +0 -1
- package/components/ix-input-group.js +0 -1
- package/components/ix-validation-tooltip.js +0 -1
- package/components/p-0oJ9dyRQ.js +0 -1
- package/components/p-9tuDiQEH.js +0 -1
- package/components/p-AHG5KaOt.js +0 -1
- package/components/p-B0gQmZW3.js +0 -1
- package/components/p-B81cFxT_.js +0 -1
- package/components/p-BAIdCBnK.js +0 -1
- package/components/p-BH3f5fa3.js +0 -1
- package/components/p-BKNhBo9h.js +0 -1
- package/components/p-BLaucX4x.js +0 -1
- package/components/p-BM_otpzy.js +0 -1
- package/components/p-BWHIcA46.js +0 -1
- package/components/p-BWRJteYa.js +0 -1
- package/components/p-BYACnsyo.js +0 -1
- package/components/p-BbN-BCaw.js +0 -1
- package/components/p-BdCnOrqW.js +0 -1
- package/components/p-BhgW5qDm.js +0 -1
- package/components/p-Bi1VyG64.js +0 -1
- package/components/p-BncjKdXL.js +0 -1
- package/components/p-Bo9ALIy0.js +0 -1
- package/components/p-BvFOMxgl.js +0 -1
- package/components/p-C9SfsAWb.js +0 -1
- package/components/p-CAqtPJ4-.js +0 -1
- package/components/p-CFRrPFxi.js +0 -1
- package/components/p-CMi1hdQj.js +0 -1
- package/components/p-CPz6ThvB.js +0 -1
- package/components/p-CS1HnwQr.js +0 -1
- package/components/p-CYMB75De.js +0 -1
- package/components/p-CZsAGuDS.js +0 -1
- package/components/p-C_3dz2Xl.js +0 -1
- package/components/p-C_6_Rh7K.js +0 -1
- package/components/p-Cce1kE8J.js +0 -1
- package/components/p-CdT1qV2I.js +0 -1
- package/components/p-Cgi0rnuQ.js +0 -1
- package/components/p-ChDWY0o5.js +0 -1
- package/components/p-CjFgf9s9.js +0 -1
- package/components/p-CkBQGLbj.js +0 -1
- package/components/p-ClVzB9MP.js +0 -1
- package/components/p-CsGkJrm6.js +0 -1
- package/components/p-CxWzccPV.js +0 -1
- package/components/p-D3K9vmFp.js +0 -1
- package/components/p-DAzBNVe7.js +0 -1
- package/components/p-DNJriU2G.js +0 -1
- package/components/p-DQgVT_uh.js +0 -1
- package/components/p-DaVdylP8.js +0 -1
- package/components/p-DnKEXwdz.js +0 -1
- package/components/p-DrsekPHj.js +0 -1
- package/components/p-IsTvRVoY.js +0 -1
- package/components/p-LoRL-toz.js +0 -1
- package/components/p-MJm14Xlr.js +0 -1
- package/components/p-VHuL40oZ.js +0 -1
- package/components/p-WUp_O0u4.js +0 -1
- package/components/p-bcj7UEIC.js +0 -1
- package/components/p-gkooEHol.js +0 -1
- package/components/p-mraQmnXA.js +0 -1
- package/components/p-rBthI1EV.js +0 -1
- package/components/p-t0v_1-tY.js +0 -1
- package/components/p-unwtt2da.js +0 -1
- package/components/p-xCBXKXNq.js +0 -1
- package/components/p-xrAJuWDf.js +0 -1
- package/dist/cjs/animation-D5wGQwTg.js +0 -100
- package/dist/cjs/app-globals-Cu3bQGoC.js +0 -8
- package/dist/cjs/find-element-D7yD1Ukn.js +0 -103
- package/dist/cjs/focus-Cl8_98b5.js +0 -67
- package/dist/cjs/ix-application-sidebar.cjs.entry.js +0 -42
- package/dist/cjs/ix-drawer.cjs.entry.js +0 -166
- package/dist/cjs/ix-dropdown-item.cjs.entry.js +0 -63
- package/dist/cjs/ix-dropdown.cjs.entry.js +0 -436
- package/dist/cjs/ix-input-group.cjs.entry.js +0 -129
- package/dist/cjs/ix-menu-settings-B3zMjM3D.js +0 -128
- package/dist/cjs/ix-pill.cjs.entry.js +0 -87
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +0 -495
- package/dist/cjs/ix-time-picker.cjs.entry.js +0 -689
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +0 -156
- package/dist/cjs/menu-service-CW0vT80Q.js +0 -83
- package/dist/cjs/modal-BPMUkqrW.js +0 -289
- package/dist/cjs/service-DuiJmf7R.js +0 -104
- package/dist/cjs/setup-icNDj1cf.js +0 -31
- package/dist/cjs/shadow-dom-DT01VwcB.js +0 -48
- package/dist/cjs/theme-switcher-BfjZ3MX8.js +0 -175
- package/dist/cjs/typed-event-DxWATHPL.js +0 -46
- package/dist/collection/components/application-sidebar/application-sidebar.js +0 -68
- package/dist/collection/components/application-sidebar/events.js +0 -14
- package/dist/collection/components/drawer/drawer.js +0 -392
- package/dist/collection/components/input-group/input-group.js +0 -152
- package/dist/collection/components/menu-about-item/menu-about-item.css +0 -12
- package/dist/collection/components/menu-category/enter-leave.js +0 -29
- package/dist/collection/components/utils/menu-tabs/menu-tabs-fc.js +0 -32
- package/dist/collection/components/validation-tooltip/validation-tooltip.css +0 -225
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +0 -251
- package/dist/esm/animation-BLaucX4x.js +0 -98
- package/dist/esm/app-globals-Ciii0tIL.js +0 -6
- package/dist/esm/find-element-CFRrPFxi.js +0 -100
- package/dist/esm/focus-BAKpVknt.js +0 -65
- package/dist/esm/ix-application-sidebar.entry.js +0 -40
- package/dist/esm/ix-drawer.entry.js +0 -164
- package/dist/esm/ix-dropdown-item.entry.js +0 -61
- package/dist/esm/ix-dropdown.entry.js +0 -434
- package/dist/esm/ix-input-group.entry.js +0 -127
- package/dist/esm/ix-menu-settings-BrtDbSQ1.js +0 -123
- package/dist/esm/ix-pill.entry.js +0 -85
- package/dist/esm/ix-tab-item_2.entry.js +0 -492
- package/dist/esm/ix-time-picker.entry.js +0 -687
- package/dist/esm/ix-validation-tooltip.entry.js +0 -154
- package/dist/esm/menu-service-BMvtckRa.js +0 -81
- package/dist/esm/modal-BJAcx3Qd.js +0 -281
- package/dist/esm/service-Da0kv8hS.js +0 -102
- package/dist/esm/setup-eUHKNfBC.js +0 -28
- package/dist/esm/shadow-dom-i60z1FJC.js +0 -43
- package/dist/esm/theme-switcher-CpQ8JvHL.js +0 -172
- package/dist/esm/typed-event-BdCnOrqW.js +0 -44
- package/dist/siemens-ix/p-01283ae6.entry.js +0 -1
- package/dist/siemens-ix/p-048bcd80.entry.js +0 -1
- package/dist/siemens-ix/p-05d31b79.entry.js +0 -1
- package/dist/siemens-ix/p-086cadf8.entry.js +0 -1
- package/dist/siemens-ix/p-18c9b87e.entry.js +0 -1
- package/dist/siemens-ix/p-1b119c78.entry.js +0 -1
- package/dist/siemens-ix/p-1cdd52bc.entry.js +0 -1
- package/dist/siemens-ix/p-23df8fd9.entry.js +0 -1
- package/dist/siemens-ix/p-2441d048.entry.js +0 -1
- package/dist/siemens-ix/p-24947da1.entry.js +0 -1
- package/dist/siemens-ix/p-2b155e81.entry.js +0 -1
- package/dist/siemens-ix/p-2d817735.entry.js +0 -1
- package/dist/siemens-ix/p-3190954f.entry.js +0 -1
- package/dist/siemens-ix/p-359fd705.entry.js +0 -1
- package/dist/siemens-ix/p-3950fb46.entry.js +0 -1
- package/dist/siemens-ix/p-39bab003.entry.js +0 -1
- package/dist/siemens-ix/p-41e6c15a.entry.js +0 -1
- package/dist/siemens-ix/p-44ceb2c5.entry.js +0 -1
- package/dist/siemens-ix/p-46992171.entry.js +0 -1
- package/dist/siemens-ix/p-48f612e5.entry.js +0 -1
- package/dist/siemens-ix/p-49394ea8.entry.js +0 -1
- package/dist/siemens-ix/p-526f3a49.entry.js +0 -1
- package/dist/siemens-ix/p-52edd3f5.entry.js +0 -1
- package/dist/siemens-ix/p-555ee3b3.entry.js +0 -1
- package/dist/siemens-ix/p-57c72eda.entry.js +0 -1
- package/dist/siemens-ix/p-599176fb.entry.js +0 -1
- package/dist/siemens-ix/p-5a69c9e8.entry.js +0 -1
- package/dist/siemens-ix/p-5d1b7333.entry.js +0 -1
- package/dist/siemens-ix/p-5dca1d52.entry.js +0 -1
- package/dist/siemens-ix/p-5f471e1f.entry.js +0 -1
- package/dist/siemens-ix/p-60f84e32.entry.js +0 -1
- package/dist/siemens-ix/p-62156528.entry.js +0 -1
- package/dist/siemens-ix/p-6525aed2.entry.js +0 -1
- package/dist/siemens-ix/p-67eacb9b.entry.js +0 -1
- package/dist/siemens-ix/p-6e6dd3b2.entry.js +0 -1
- package/dist/siemens-ix/p-772b82bc.entry.js +0 -1
- package/dist/siemens-ix/p-77940c84.entry.js +0 -1
- package/dist/siemens-ix/p-7a50b7bc.entry.js +0 -1
- package/dist/siemens-ix/p-7bd3643e.entry.js +0 -1
- package/dist/siemens-ix/p-7c83069f.entry.js +0 -1
- package/dist/siemens-ix/p-7c9f479c.entry.js +0 -1
- package/dist/siemens-ix/p-80d52f41.entry.js +0 -1
- package/dist/siemens-ix/p-83ebc68a.entry.js +0 -1
- package/dist/siemens-ix/p-87ddae31.entry.js +0 -1
- package/dist/siemens-ix/p-8a49d412.entry.js +0 -1
- package/dist/siemens-ix/p-90afea9d.entry.js +0 -1
- package/dist/siemens-ix/p-91b62848.entry.js +0 -1
- package/dist/siemens-ix/p-9432d8bc.entry.js +0 -1
- package/dist/siemens-ix/p-9502ad09.entry.js +0 -1
- package/dist/siemens-ix/p-957439fa.entry.js +0 -1
- package/dist/siemens-ix/p-963a2b1c.entry.js +0 -1
- package/dist/siemens-ix/p-9987b6aa.entry.js +0 -1
- package/dist/siemens-ix/p-9ab70f63.entry.js +0 -1
- package/dist/siemens-ix/p-9b042e1e.entry.js +0 -1
- package/dist/siemens-ix/p-9cc7b831.entry.js +0 -1
- package/dist/siemens-ix/p-9cd5c8fd.entry.js +0 -1
- package/dist/siemens-ix/p-9d26ab4c.entry.js +0 -1
- package/dist/siemens-ix/p-9f22ba26.entry.js +0 -1
- package/dist/siemens-ix/p-BBzEV-f4.js +0 -1
- package/dist/siemens-ix/p-BEPo7U1W.js +0 -2
- package/dist/siemens-ix/p-BH3f5fa3.js +0 -1
- package/dist/siemens-ix/p-BLaucX4x.js +0 -1
- package/dist/siemens-ix/p-BUNsXW03.js +0 -1
- package/dist/siemens-ix/p-BXpulp6I.js +0 -1
- package/dist/siemens-ix/p-BayAOLV_.js +0 -1
- package/dist/siemens-ix/p-BdCnOrqW.js +0 -1
- package/dist/siemens-ix/p-BhgW5qDm.js +0 -1
- package/dist/siemens-ix/p-BncjKdXL.js +0 -1
- package/dist/siemens-ix/p-BtTxCH_z.js +0 -1
- package/dist/siemens-ix/p-BvFOMxgl.js +0 -1
- package/dist/siemens-ix/p-C6fzB3UQ.js +0 -1
- package/dist/siemens-ix/p-CAqtPJ4-.js +0 -1
- package/dist/siemens-ix/p-CFRrPFxi.js +0 -1
- package/dist/siemens-ix/p-CUWFODSd.js +0 -1
- package/dist/siemens-ix/p-CZsAGuDS.js +0 -1
- package/dist/siemens-ix/p-Cv_GwYyx.js +0 -1
- package/dist/siemens-ix/p-D3K9vmFp.js +0 -1
- package/dist/siemens-ix/p-DAzBNVe7.js +0 -1
- package/dist/siemens-ix/p-DKTq7BLY.js +0 -1
- package/dist/siemens-ix/p-EA1w1TTe.js +0 -1
- package/dist/siemens-ix/p-GJWUiWDT.js +0 -1
- package/dist/siemens-ix/p-Tgy1PBFv.js +0 -1
- package/dist/siemens-ix/p-W85AQR46.js +0 -1
- package/dist/siemens-ix/p-a2651024.entry.js +0 -1
- package/dist/siemens-ix/p-a37cd269.entry.js +0 -1
- package/dist/siemens-ix/p-a41f8be4.entry.js +0 -1
- package/dist/siemens-ix/p-a91f7f14.entry.js +0 -1
- package/dist/siemens-ix/p-aa36835f.entry.js +0 -1
- package/dist/siemens-ix/p-ab9cbf10.entry.js +0 -1
- package/dist/siemens-ix/p-ada8618e.entry.js +0 -1
- package/dist/siemens-ix/p-ae55e8e6.entry.js +0 -1
- package/dist/siemens-ix/p-b2bd816c.entry.js +0 -1
- package/dist/siemens-ix/p-b41a3733.entry.js +0 -1
- package/dist/siemens-ix/p-b6ae81a9.entry.js +0 -1
- package/dist/siemens-ix/p-bafa90ed.entry.js +0 -1
- package/dist/siemens-ix/p-bbcef047.entry.js +0 -1
- package/dist/siemens-ix/p-bcj7UEIC.js +0 -1
- package/dist/siemens-ix/p-c187909f.entry.js +0 -1
- package/dist/siemens-ix/p-c94c1d45.entry.js +0 -1
- package/dist/siemens-ix/p-ced4c721.entry.js +0 -1
- package/dist/siemens-ix/p-d3ad73e1.entry.js +0 -1
- package/dist/siemens-ix/p-d3afd82f.entry.js +0 -1
- package/dist/siemens-ix/p-d7086b5a.entry.js +0 -1
- package/dist/siemens-ix/p-d8bc930c.entry.js +0 -1
- package/dist/siemens-ix/p-daadd1ae.entry.js +0 -1
- package/dist/siemens-ix/p-dd3bb443.entry.js +0 -1
- package/dist/siemens-ix/p-df0fc6d4.entry.js +0 -1
- package/dist/siemens-ix/p-e09125fd.entry.js +0 -1
- package/dist/siemens-ix/p-e1978224.entry.js +0 -1
- package/dist/siemens-ix/p-e1c15a19.entry.js +0 -1
- package/dist/siemens-ix/p-e91b7758.entry.js +0 -1
- package/dist/siemens-ix/p-f75eab15.entry.js +0 -1
- package/dist/siemens-ix/p-f7b73fa9.entry.js +0 -1
- package/dist/siemens-ix/p-f8a078e5.entry.js +0 -1
- package/dist/siemens-ix/p-faa0599d.entry.js +0 -1
- package/dist/siemens-ix/p-fb077c75.entry.js +0 -1
- package/dist/siemens-ix/p-fb52d56c.entry.js +0 -1
- package/dist/siemens-ix/p-fb75665a.entry.js +0 -1
- package/dist/siemens-ix/p-fce55dc2.entry.js +0 -1
- package/dist/siemens-ix/p-fe1c3443.entry.js +0 -1
- package/dist/siemens-ix/p-fe5f2f38.entry.js +0 -1
- package/dist/siemens-ix/p-gkooEHol.js +0 -1
- package/dist/siemens-ix/p-i60z1FJC.js +0 -1
- package/dist/types/components/application-sidebar/application-sidebar.d.ts +0 -7
- package/dist/types/components/application-sidebar/events.d.ts +0 -4
- package/dist/types/components/drawer/drawer.d.ts +0 -62
- package/dist/types/components/drawer/test/animejs.mock.d.ts +0 -0
- package/dist/types/components/input-group/input-group.d.ts +0 -25
- package/dist/types/components/menu-category/enter-leave.d.ts +0 -7
- package/dist/types/components/utils/menu-tabs/menu-tabs-fc.d.ts +0 -8
- package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +0 -46
- /package/scss/{_common-variables.scss → misc/_common-variables.scss} +0 -0
- /package/scss/{_normalize.scss → misc/_normalize.scss} +0 -0
- /package/scss/{_z-index.scss → misc/_z-index.scss} +0 -0
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: MIT
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
function closestElement(selector, el) {
|
|
10
|
-
if (!el) {
|
|
11
|
-
return null;
|
|
12
|
-
}
|
|
13
|
-
return (el.closest(selector) ||
|
|
14
|
-
closestElement(selector, el.getRootNode().host));
|
|
15
|
-
}
|
|
16
|
-
function getSlottedElements(slot) {
|
|
17
|
-
return slot.assignedElements({ flatten: true });
|
|
18
|
-
}
|
|
19
|
-
function hasSlottedElements(slot) {
|
|
20
|
-
if (!slot) {
|
|
21
|
-
return false;
|
|
22
|
-
}
|
|
23
|
-
return slot.assignedElements({ flatten: true }).length !== 0;
|
|
24
|
-
}
|
|
25
|
-
function closestPassShadow(node, selector) {
|
|
26
|
-
if (!node) {
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
if (node instanceof ShadowRoot) {
|
|
30
|
-
return closestPassShadow(node.host, selector);
|
|
31
|
-
}
|
|
32
|
-
if (node instanceof HTMLElement) {
|
|
33
|
-
if (node.matches(selector)) {
|
|
34
|
-
return node;
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
return closestPassShadow(node.parentNode, selector);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
return closestPassShadow(node.parentNode, selector);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export { closestPassShadow as a, closestElement as c, getSlottedElements as g, hasSlottedElements as h };
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
import { T as TypedEvent } from './typed-event-BdCnOrqW.js';
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
* SPDX-FileCopyrightText: 2025 Siemens AG
|
|
5
|
-
*
|
|
6
|
-
* SPDX-License-Identifier: MIT
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/
|
|
11
|
-
const dataIxTheme = 'data-ix-theme';
|
|
12
|
-
const dataIxColorSchema = 'data-ix-color-schema';
|
|
13
|
-
class ThemeSwitcher {
|
|
14
|
-
hasVariantSuffix(className) {
|
|
15
|
-
return (className.endsWith(this.suffixDark) ||
|
|
16
|
-
className.endsWith(this.suffixLight));
|
|
17
|
-
}
|
|
18
|
-
isThemeClass(className) {
|
|
19
|
-
return (className.startsWith(this.prefixTheme) && this.hasVariantSuffix(className));
|
|
20
|
-
}
|
|
21
|
-
getMode() {
|
|
22
|
-
const colorSchema = document.documentElement.dataset.ixColorSchema;
|
|
23
|
-
if (colorSchema === 'dark' || colorSchema === 'light') {
|
|
24
|
-
return colorSchema;
|
|
25
|
-
}
|
|
26
|
-
const bodyThemeClass = this.getThemeClassFromBody();
|
|
27
|
-
if (bodyThemeClass) {
|
|
28
|
-
return bodyThemeClass.endsWith(this.suffixDark) ? 'dark' : 'light';
|
|
29
|
-
}
|
|
30
|
-
return getCurrentSystemAppearance();
|
|
31
|
-
}
|
|
32
|
-
getThemeClassFromBody() {
|
|
33
|
-
if (!document.body) {
|
|
34
|
-
return undefined;
|
|
35
|
-
}
|
|
36
|
-
return (document.body.className || '')
|
|
37
|
-
.split(' ')
|
|
38
|
-
.find((cls) => cls && this.isThemeClass(cls));
|
|
39
|
-
}
|
|
40
|
-
setTheme(themeName, systemAppearance = false) {
|
|
41
|
-
if (this.isThemeClass(themeName)) {
|
|
42
|
-
this.replaceThemeClass(themeName);
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
document.documentElement.dataset.ixTheme = themeName;
|
|
46
|
-
}
|
|
47
|
-
if (systemAppearance) {
|
|
48
|
-
this.setVariant();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
replaceThemeClass(themeName) {
|
|
52
|
-
const oldThemes = Array.from(document.documentElement.classList).filter((cls) => this.isThemeClass(cls));
|
|
53
|
-
document.documentElement.classList.remove(...oldThemes);
|
|
54
|
-
document.documentElement.classList.add(themeName);
|
|
55
|
-
}
|
|
56
|
-
toggleMode() {
|
|
57
|
-
if (document.documentElement.hasAttribute(dataIxColorSchema)) {
|
|
58
|
-
const currentSchema = document.documentElement.dataset.ixColorSchema;
|
|
59
|
-
document.documentElement.dataset.ixColorSchema =
|
|
60
|
-
currentSchema === 'dark' ? 'light' : 'dark';
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
const bodyThemeClass = this.getThemeClassFromBody();
|
|
64
|
-
if (bodyThemeClass) {
|
|
65
|
-
const newTheme = bodyThemeClass.replace(/-(dark|light)$/, (m) => m === '-dark' ? '-light' : '-dark');
|
|
66
|
-
document.body.classList.remove(bodyThemeClass);
|
|
67
|
-
document.body.classList.add(newTheme);
|
|
68
|
-
this.themeChanged.emit(newTheme);
|
|
69
|
-
this.schemaChanged.emit(newTheme.endsWith(this.suffixDark) ? 'dark' : 'light');
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
const newMode = this.defaultTheme.endsWith(this.suffixDark)
|
|
73
|
-
? 'light'
|
|
74
|
-
: 'dark';
|
|
75
|
-
if (!document.documentElement.hasAttribute(dataIxTheme)) {
|
|
76
|
-
document.documentElement.dataset.ixTheme = 'classic';
|
|
77
|
-
}
|
|
78
|
-
document.documentElement.dataset.ixColorSchema = newMode;
|
|
79
|
-
}
|
|
80
|
-
getCurrentTheme() {
|
|
81
|
-
const bodyThemeClass = this.getThemeClassFromBody();
|
|
82
|
-
return (bodyThemeClass !== null && bodyThemeClass !== void 0 ? bodyThemeClass : `theme-${document.documentElement.dataset.ixTheme || 'classic'}-${document.documentElement.dataset.ixColorSchema ||
|
|
83
|
-
getCurrentSystemAppearance()}`);
|
|
84
|
-
}
|
|
85
|
-
setVariant(variant = getCurrentSystemAppearance()) {
|
|
86
|
-
if (document.documentElement.dataset.ixColorSchema) {
|
|
87
|
-
document.documentElement.dataset.ixColorSchema = variant;
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
const bodyThemeClass = this.getThemeClassFromBody();
|
|
91
|
-
if (bodyThemeClass) {
|
|
92
|
-
const newTheme = bodyThemeClass.replace(/-(dark|light)$/, `-${variant}`);
|
|
93
|
-
document.body.classList.remove(bodyThemeClass);
|
|
94
|
-
document.body.classList.add(newTheme);
|
|
95
|
-
this.themeChanged.emit(newTheme);
|
|
96
|
-
this.schemaChanged.emit(variant);
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
if (!document.documentElement.hasAttribute(dataIxTheme)) {
|
|
100
|
-
document.documentElement.dataset.ixTheme = 'classic';
|
|
101
|
-
}
|
|
102
|
-
document.documentElement.dataset.ixColorSchema = variant;
|
|
103
|
-
}
|
|
104
|
-
splitMutations(mutations) {
|
|
105
|
-
const classMutations = mutations.filter((mutation) => mutation.attributeName === 'class');
|
|
106
|
-
const dataMutations = mutations.filter((mutation) => mutation.attributeName === dataIxTheme ||
|
|
107
|
-
mutation.attributeName === dataIxColorSchema);
|
|
108
|
-
return { classMutations, dataMutations };
|
|
109
|
-
}
|
|
110
|
-
handleClassMutations(mutations) {
|
|
111
|
-
mutations.forEach((mutation) => {
|
|
112
|
-
const { target } = mutation;
|
|
113
|
-
target.classList.forEach((className) => {
|
|
114
|
-
var _a;
|
|
115
|
-
if (this.isThemeClass(className) &&
|
|
116
|
-
!((_a = mutation.oldValue) === null || _a === void 0 ? void 0 : _a.includes(className))) {
|
|
117
|
-
this.themeChanged.emit(className);
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
handleDataMutations(mutations) {
|
|
123
|
-
mutations.forEach((mutation) => {
|
|
124
|
-
const { target } = mutation;
|
|
125
|
-
const theme = target.attributes.getNamedItem(dataIxTheme);
|
|
126
|
-
if ((theme === null || theme === void 0 ? void 0 : theme.value) && mutation.oldValue !== theme.value) {
|
|
127
|
-
this.themeChanged.emit(theme.value);
|
|
128
|
-
}
|
|
129
|
-
const colorSchema = target.attributes.getNamedItem(dataIxColorSchema);
|
|
130
|
-
if ((colorSchema === null || colorSchema === void 0 ? void 0 : colorSchema.value) && mutation.oldValue !== colorSchema.value) {
|
|
131
|
-
this.schemaChanged.emit(colorSchema.value);
|
|
132
|
-
}
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
registerMutationObservers() {
|
|
136
|
-
if (typeof window === 'undefined') {
|
|
137
|
-
return;
|
|
138
|
-
}
|
|
139
|
-
if (!('MutationObserver' in window)) {
|
|
140
|
-
console.warn('ThemeSwitcher not supported by your browser. Missing MutationObserver API');
|
|
141
|
-
return;
|
|
142
|
-
}
|
|
143
|
-
const mutationObserverConfig = {
|
|
144
|
-
attributeFilter: ['class', dataIxTheme, dataIxColorSchema],
|
|
145
|
-
attributeOldValue: true,
|
|
146
|
-
};
|
|
147
|
-
const handleMutations = (mutations) => {
|
|
148
|
-
const { classMutations, dataMutations } = this.splitMutations(mutations);
|
|
149
|
-
this.handleClassMutations(classMutations);
|
|
150
|
-
this.handleDataMutations(dataMutations);
|
|
151
|
-
};
|
|
152
|
-
this.mutationObserver = new MutationObserver(handleMutations);
|
|
153
|
-
this.mutationObserver.observe(document.documentElement, mutationObserverConfig);
|
|
154
|
-
}
|
|
155
|
-
constructor() {
|
|
156
|
-
this.prefixTheme = 'theme-';
|
|
157
|
-
this.suffixLight = '-light';
|
|
158
|
-
this.suffixDark = '-dark';
|
|
159
|
-
this.defaultTheme = 'theme-classic-dark';
|
|
160
|
-
this.themeChanged = new TypedEvent();
|
|
161
|
-
this.schemaChanged = new TypedEvent();
|
|
162
|
-
this.registerMutationObservers();
|
|
163
|
-
}
|
|
164
|
-
destroy() {
|
|
165
|
-
var _a;
|
|
166
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
const getCurrentSystemAppearance = () => window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
|
|
170
|
-
const themeSwitcher = new ThemeSwitcher();
|
|
171
|
-
|
|
172
|
-
export { getCurrentSystemAppearance as g, themeSwitcher as t };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: MIT
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
class TypedEvent {
|
|
10
|
-
constructor() {
|
|
11
|
-
this.listeners = [];
|
|
12
|
-
this.listenersOncer = [];
|
|
13
|
-
this.on = (listener) => {
|
|
14
|
-
this.listeners.push(listener);
|
|
15
|
-
return {
|
|
16
|
-
dispose: () => this.off(listener),
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
this.once = (listener) => {
|
|
20
|
-
this.listenersOncer.push(listener);
|
|
21
|
-
};
|
|
22
|
-
this.off = (listener) => {
|
|
23
|
-
const callbackIndex = this.listeners.indexOf(listener);
|
|
24
|
-
if (callbackIndex > -1) {
|
|
25
|
-
this.listeners.splice(callbackIndex, 1);
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
this.emit = (event) => {
|
|
29
|
-
/** Update any general listeners */
|
|
30
|
-
this.listeners.forEach((listener) => listener(event));
|
|
31
|
-
/** Clear the `once` queue */
|
|
32
|
-
if (this.listenersOncer.length > 0) {
|
|
33
|
-
const toCall = this.listenersOncer;
|
|
34
|
-
this.listenersOncer = [];
|
|
35
|
-
toCall.forEach((listener) => listener(event));
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
this.pipe = (te) => {
|
|
39
|
-
return this.on((e) => te.emit(e));
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export { TypedEvent as T };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as s,f as i,H as o,g as r}from"./p-BEPo7U1W.js";import{b as a,a as h}from"./p-DAzBNVe7.js";import{m as l}from"./p-bcj7UEIC.js";import{c}from"./p-CX81WQtk.js";let n=0;const b=(t="breadcrumb-")=>`${t}-${n++}`,d=class{constructor(s){t(this,s),this.itemClick=e(this,"itemClick",7),this.nextClick=e(this,"nextClick",7),this.visibleItemCount=9,this.nextItems=[],this.subtle=!1,this.ariaLabelPreviousButton="previous",this.enableTopLayer=!1,this.previousButtonRef=l(),this.nextButtonRef=l(),this.items=[],this.isPreviousDropdownExpanded=!1,this.previousButtonId=b(),this.previousDropdownId=b()}onNextItemsChange(){this.onChildMutation()}onItemClick(t){this.itemClick.emit(t)}componentDidLoad(){this.mutationObserver=c((()=>this.onChildMutation())),this.mutationObserver.observe(this.hostElement,{subtree:!0,childList:!0})}componentWillLoad(){this.onChildMutation()}disconnectedCallback(){var t;null===(t=this.mutationObserver)||void 0===t||t.disconnect()}async onChildMutation(){const t=this.getItems();t.forEach(((e,s)=>{const i=0!==this.nextItems.length&&t.length-1===s;e.subtle=this.subtle,e.hideChevron=t.length-1===s&&!i,e.isDropdownTrigger=i,i&&this.nextButtonRef(e),t.length<this.visibleItemCount||(e.invisible=s<t.length-this.visibleItemCount)})),this.items=t}getItems(){return Array.from(this.hostElement.querySelectorAll("ix-breadcrumb-item"))}render(){var t,e,r,l;const c=a(this.hostElement);return s(o,{key:"6c7e20e30924d04854ca78ead9fd98d5ebe346bf"},s("ix-dropdown",{key:"822c078f94f89e66db61e65f77d5e7bc6fb40aa2",id:this.previousDropdownId,"aria-label":this.ariaLabelPreviousButton,trigger:(null===(t=this.items)||void 0===t?void 0:t.length)>this.visibleItemCount?this.previousButtonRef.waitForCurrent():void 0,enableTopLayer:this.enableTopLayer,onShowChanged:({detail:t})=>{this.isPreviousDropdownExpanded=t;const e=this.hostElement.shadowRoot.getElementById(this.previousButtonId);e&&i(e)}},this.items.slice(0,this.items.length-this.visibleItemCount).map((t=>{var e;const i=null!==(e=t.label)&&void 0!==e?e:t.innerText;return s("ix-dropdown-item",{label:i,onClick:()=>{this.onItemClick(i)},onItemClick:t=>t.stopPropagation()})}))),(null===(e=this.items)||void 0===e?void 0:e.length)>this.visibleItemCount?s("ix-breadcrumb-item",{id:this.previousButtonId,ref:this.previousButtonRef,label:"...",tabIndex:1,onItemClick:t=>t.stopPropagation(),"aria-describedby":this.previousDropdownId,"aria-controls":this.previousDropdownId,"aria-expanded":h(this.isPreviousDropdownExpanded),class:"previous-button"}):null,s("nav",{key:"e9f69c0666458f34d930bc5e19663fc9a8e69d90",class:"crumb-items","aria-label":null!==(r=c["aria-label"])&&void 0!==r?r:"breadcrumbs"},s("ol",{key:"2ad3f37c9baffbd9eb8789dc8304dceb6772e0d4"},s("slot",{key:"2bd136c9714401ddf2ea8bc5e3cb783b128ce795"}))),s("ix-dropdown",{key:"ce382ec6bd3590e678a03517b31ec15bb7f2528f",trigger:this.nextButtonRef.waitForCurrent(),enableTopLayer:this.enableTopLayer},null===(l=this.nextItems)||void 0===l?void 0:l.map((t=>s("ix-dropdown-item",{label:t,onClick:e=>{this.nextClick.emit({event:e,item:t})},onItemClick:t=>t.stopPropagation()})))))}get hostElement(){return r(this)}static get watchers(){return{nextItems:[{onNextItemsChange:0}]}}};d.style=":host{display:flex;justify-content:flex-start;height:2.5rem;align-items:center;background-color:transparent;overflow:hidden}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}: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 .previous-button{width:3rem;min-width:0px}:host .crumb-dropdown{overflow:visible}:host .remove-anchor::after{display:none}:host .more-text{display:flex}:host .more-text .more-text-ellipsis{width:1rem;display:inline-block;font-weight:700}:host .more-text ix-icon{padding-top:2px}:host nav,:host ol,:host .crumb-items{display:contents}";export{d as ix_breadcrumb}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as s,g as a}from"./p-BEPo7U1W.js";import{p as o,D as h,E as r,F as n,G as l}from"./p-BBzEV-f4.js";import{a as d}from"./p-DhE1t8Qh.js";import{A as p}from"./p-BLaucX4x.js";import{a as c}from"./p-gkooEHol.js";import{m as b}from"./p-D_Hmobxf.js";import{a as m}from"./p-CKoABG1h.js";import{a as g}from"./p-DAzBNVe7.js";import"./p-BdCnOrqW.js";const x=class{constructor(i){t(this,i),this.expandedChanged=e(this,"expandedChanged",7),this.variantChanged=e(this,"variantChanged",7),this.borderlessChanged=e(this,"borderlessChanged",7),this.hideOnCollapseChanged=e(this,"hideOnCollapseChanged",7),this.slotChanged=e(this,"slotChanged",7),this.variant="inline",this.hideOnCollapse=!1,this.size="240px",this.borderless=!1,this.expanded=!1,this.composition="top",this.closeOnClickOutside=!1,this.ignoreLayoutSettings=!1,this.isMobile=!1,this.expandIcon="",this.showContent=!1,this.minimizeIcon="",this.floating=!1,this.parentWidthPx=0,this.parentHeightPx=0,this.animations=new Map,this.animationCounter=0}get currentSlot(){return this.hostElement.getAttribute("slot")}get isBottomTopPane(){return"bottom"===this.composition||"top"===this.composition}get isLeftRightPane(){return"left"===this.composition||"right"===this.composition}get isMobileTop(){return"top"===this.composition||"left"===this.composition}disconnectedCallback(){var t,e,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(e=this.resizeObserver)||void 0===e||e.disconnect(),null===(i=this.disposableWindowClick)||void 0===i||i.call(this)}onExpandedChange(){var t;this.closeOnClickOutside&&this.expanded?this.disposableWindowClick=m(window,"click",(t=>{var e;((null===(e=t.composedPath)||void 0===e?void 0:e.call(t))||[]).includes(this.hostElement)||this.dispatchExpandedChangedEvent()})):null===(t=this.disposableWindowClick)||void 0===t||t.call(this)}componentWillLoad(){this.onExpandedChange(),this.floating="floating"===this.variant,this.expanded&&this.onParentSizeChange(),this.isMobile=b("sm"),c.onChange.on((()=>{this.isMobile=b("sm")})),this.currentSlot&&this.setPosition(this.currentSlot),this.setIcons(),this.mutationObserver=new MutationObserver((t=>{t.forEach((t=>{if("attributes"===t.type&&"slot"===t.attributeName){const e=this.currentSlot,i=t.oldValue;e!==i&&(this.slotChanged.emit({slot:null!=i?i:"",newSlot:null!=e?e:""}),e&&this.setPosition(e))}}))})),this.mutationObserver.observe(this.hostElement,{attributes:!0,attributeOldValue:!0});const t=this.hostElement.parentElement;this.resizeObserver=new ResizeObserver((t=>{this.parentWidthPx=t[0].borderBoxSize[0].inlineSize,this.parentHeightPx=t[0].borderBoxSize[0].blockSize})),t&&this.resizeObserver.observe(t)}setPosition(t){x.validPositions.includes(t)&&(this.composition=t)}getExpandPaneSize(){let t;if(this.isBottomTopPane)if(this.size.includes("px")){const e=Math.round(this.parentHeightPx/2),i=Number(this.size.replace("px",""));t=e&&e<i?`${e}px`:`${i}px`}else t="50%"===this.size?`${Math.round(this.parentHeightPx/2)}px`:`${Math.round(this.parentHeightPx/3)}px`;else if(this.size.includes("px")){const e=Math.round(this.parentWidthPx/2),i=Number(this.size.replace("px",""));t=e&&e<i?`${e}px`:`${i}px`}else t="50%"===this.size?`${Math.round(this.parentWidthPx/2)}px`:`${Math.round(this.parentWidthPx/3)}px`;return t}setIcons(){const{expandIcon:t,minimizeIcon:e}=this.getIconNames();this.expandIcon=t,this.minimizeIcon=e}getIconNames(){let t="",e="";switch(this.composition){case"left":t=this.isMobile?h:l,e=this.isMobile?r:n;break;case"right":t=this.isMobile?r:n,e=this.isMobile?h:l;break;case"bottom":t=r,e=h;break;case"top":t=h,e=r}return{expandIcon:t,minimizeIcon:e}}getKey(){return(this.animationCounter++).toString()}animateVerticalFadeIn(t){let e=this.getKey(),i=d(this.hostElement,{duration:p.mediumTime,width:t,easing:"easeInOutSine",delay:0,begin:()=>{this.expanded?this.animateVerticalPadding("8px"):(this.showContent=!1,this.animateVerticalPadding("0px"))},complete:()=>{this.expanded&&(this.showContent=!0),this.animations.delete(e)}});this.animations.set(e,i)}animateHorizontalFadeIn(t){let e=this.getKey(),i=d(this.hostElement,{duration:p.mediumTime,height:t,easing:"easeInOutSine",delay:0,onBegin:()=>{this.expanded?this.isMobile||this.animateHorizontalPadding("8px"):(this.showContent=!1,this.isMobile||this.animateHorizontalPadding("0px"))},onComplete:()=>{this.expanded&&(this.showContent=!0),this.animations.delete(e)}});this.animations.set(e,i)}removePadding(){d(this.hostElement.shadowRoot.querySelector("#title-div"),{duration:0,paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0,delay:0})}animateHorizontalPadding(t,e=p.mediumTime){let i=this.getKey(),s=d(this.hostElement.shadowRoot.querySelector("#title-div"),{duration:e,paddingTop:t,paddingBottom:t,easing:"easeInOutSine",delay:0,onComplete:()=>{this.animations.delete(i)}});this.animations.set(i,s)}animateVerticalPadding(t,e=p.mediumTime){let i=this.getKey(),s=d(this.hostElement.shadowRoot.querySelector("#title-div"),{duration:e,paddingLeft:t,paddingRight:t,easing:"easeInOutSine",delay:0,onComplete:()=>{this.animations.delete(i)}});this.animations.set(i,s)}clearAnimations(){this.animations.forEach((t=>t.pause())),this.animations.clear(),this.animationCounter=0}onMobileChange(){this.setIcons(),this.hostElement.style.removeProperty("width"),this.hostElement.style.removeProperty("height"),this.hostElement.style.removeProperty("min-height"),this.onParentSizeChange()}onPositionChange(){this.setIcons(),this.hostElement.style.removeProperty("width"),this.hostElement.style.removeProperty("height"),this.onParentSizeChange()}onHideOnCollapseChange(t){var e;this.onParentSizeChange(),this.hideOnCollapseChanged.emit({slot:null!==(e=this.currentSlot)&&void 0!==e?e:"",hideOnCollapse:t})}onVariantChange(t){var e;this.floating="floating"===t,this.variantChanged.emit({slot:null!==(e=this.currentSlot)&&void 0!==e?e:"",variant:t})}onBorderlessChange(t){var e;this.borderlessChanged.emit({slot:null!==(e=this.currentSlot)&&void 0!==e?e:"",borderless:t})}dispatchExpandedChangedEvent(){var t;const e=!this.expanded;this.expandedChanged.emit({slot:null!==(t=this.currentSlot)&&void 0!==t?t:"",expanded:e}).defaultPrevented||(this.expanded=e)}onParentSizeChange(){if(this.clearAnimations(),this.removePadding(),this.expanded){if(this.isMobile)this.hostElement.style.height="100%";else{const t=this.getExpandPaneSize();this.isBottomTopPane?(this.hostElement.style.height=t,this.animateHorizontalPadding("8px",0)):(this.hostElement.style.width=t,this.animateVerticalPadding("8px",0))}this.showContent=!0}else this.showContent=!1,this.isMobile?this.hostElement.style.height=this.hideOnCollapse?"0":x.collapsedPaneMobile:this.isBottomTopPane?this.hostElement.style.height=this.hideOnCollapse?"0":x.collapsedPane:this.hostElement.style.width=this.hideOnCollapse?"0":x.collapsedPane}onSizeChange(){if(this.expanded)if(this.isMobile)this.hostElement.style.minHeight=this.hideOnCollapse?"0":x.collapsedPaneMobile,this.animateHorizontalFadeIn("100%");else{const t=this.getExpandPaneSize();this.isBottomTopPane?(this.hostElement.style.height=this.hideOnCollapse?"0":x.collapsedPane,this.animateHorizontalFadeIn(t)):(this.hostElement.style.width=this.hideOnCollapse?"0":x.collapsedPane,this.animateVerticalFadeIn(t))}else this.showContent=!1,this.isMobile?this.hostElement.style.height=x.collapsedPaneMobile:this.isBottomTopPane?this.animateHorizontalFadeIn(x.collapsedPane):this.animateVerticalFadeIn(x.collapsedPane)}render(){const t=!this.expanded&&!this.isMobile&&this.isLeftRightPane;let e;return e=this.ariaLabelCollapseCloseButton?this.ariaLabelCollapseCloseButton:this.expanded?this.isMobile||this.hideOnCollapse?"Close pane":"Collapse pane":"Expand pane",i(s,{key:"721b37ecf81c48cf26977b3e2db0f76541632096",class:{"floating-pane":this.floating,"inline-pane":!this.floating,"mobile-overlay":this.expanded&&this.isMobile,"top-expanded":this.expanded&&this.isMobileTop&&this.isMobile,"bottom-expanded":this.expanded&&!this.isMobileTop&&this.isMobile,"top-bottom-pane":this.isBottomTopPane&&!this.isMobile,"left-right-pane":this.isLeftRightPane&&!this.isMobile,[`${this.composition}-pane-border`]:!this.borderless&&!this.isMobile&&!this.floating,"nav-left-border":!this.borderless&&!this.isMobile&&"right"!==this.composition&&this.floating,"mobile-border-top":!this.borderless&&this.isMobileTop&&this.isMobile&&!this.expanded&&!this.floating,"mobile-border-bottom":!this.borderless&&!this.isMobileTop&&this.isMobile&&!this.expanded&&!this.floating,"not-visible":this.hideOnCollapse&&!this.expanded},"aria-expanded":g(this.expanded)},i("aside",{key:"206a7094a94dcb5156b1ed407dd7db20838352bc",id:`pane-${this.composition}`,class:{"top-bottom-pane":this.isBottomTopPane&&!this.isMobile,"left-right-pane":this.isLeftRightPane&&!this.isMobile,"mobile-pane":this.isMobile,expanded:this.expanded}},i("div",{key:"1ecb31589789658568a199f696876aac4dfdbd96",id:"title-div",class:{title:!this.isMobile&&!this.hideOnCollapse&&!this.showContent,"title-finished":!this.isMobile&&!this.hideOnCollapse&&this.showContent,"title-expanded":!this.isMobile&&!this.hideOnCollapse&&this.expanded,"title-hide-on-collapse":!this.isMobile&&this.hideOnCollapse,"title-mobile":this.isMobile,"header-gap":!this.isMobile&&!this.hideOnCollapse}},i("ix-icon-button",{key:"bfa93a835e4920d11630a71c1a0b39f92df350ab",class:"title-icon",size:"24",icon:this.expanded?this.isMobile||this.hideOnCollapse?o:this.expandIcon:this.minimizeIcon,iconColor:this.expanded&&(this.isMobile||this.hideOnCollapse)?"color-soft-text":void 0,variant:"subtle-tertiary",onClick:()=>this.dispatchExpandedChangedEvent(),"aria-controls":`pane-${this.composition}`,"aria-label":e}),i("div",{key:"3b44fd29336d3f5c101a5d686980b2393a1f2c40",class:{"title-text":!0,rotate:t}},this.icon&&i("ix-icon",{key:"d34df615df28f1ae6914c0a857735116d77502bc",class:"pane-icon",size:"24",name:this.icon,"aria-label":this.ariaLabelIcon}),i("div",{key:"4d02fb8581426e62c241a2c1e6c5540831a367be",class:"title-text-overflow"},i("ix-typography",{key:"203fa19a4972dc9c3ed8654c8c6d176fd168437d",format:"h4"},this.heading)),this.expanded&&i("div",{key:"d0aca67aed9c641414da008290ad12371561a569",class:"slot-header"},i("slot",{key:"0ec16f51b61c80b66eb9e1b17045888db8be7d2c",name:"header"})))),i("div",{key:"fa06f41c546340e08a249774fbe9fea9aa8513b7",class:"side-pane-content",hidden:!this.showContent},i("slot",{key:"7cca7b8b2c9198fbd1921ab7ff58ef2d31548f1e"}))))}get hostElement(){return a(this)}static get watchers(){return{expanded:[{onExpandedChange:0},{onSizeChange:0}],isMobile:[{onMobileChange:0}],composition:[{onPositionChange:0}],hideOnCollapse:[{onHideOnCollapseChange:0}],variant:[{onVariantChange:0}],borderless:[{onBorderlessChange:0}],parentHeightPx:[{onParentSizeChange:0}],parentWidthPx:[{onParentSizeChange:0}],size:[{onSizeChange:0}]}}};x.validPositions=["top","left","bottom","right"],x.collapsedPane="40px",x.collapsedPaneMobile="48px",x.style=":host(.floating-pane){--ix-pane--background:var(--theme-pane-floating--background);--ix-pane--border-color:var(--theme-pane-floating--border-color);--ix-pane--color:var(--theme-pane-floating--color);--ix-pane--box-shadow:var(--theme-pane-floating--box-shadow)}:host(.inline-pane){--ix-pane--background:var(--theme-pane-inline--background);--ix-pane--border-color:var(--theme-pane-inline--border-color);--ix-pane--color:var(--theme-pane-inline--color);--ix-pane--box-shadow:var(--theme-pane-inline--box-shadow)}:host{display:flex;position:relative;overflow:hidden;box-sizing:border-box;box-shadow:var(--ix-pane--box-shadow);background-color:var(--ix-pane--background)}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host aside{width:100%;height:100%}:host .pane-icon{color:var(--ix-pane--color)}:host .slot-header-content{display:inline-block;position:relative;max-height:2rem}:host .title-text{display:flex;align-items:center;gap:var(--theme-space-1);overflow:hidden}:host .title-text .title-text-overflow{width:100%;height:100%;display:contents}:host .title-text .title-text-overflow *{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host .header-gap{gap:var(--theme-space-1)}:host .top-bottom-pane{display:flex;flex-direction:column;flex-grow:1}:host .top-bottom-pane .title{display:flex;flex-direction:row;align-items:center;margin:var(--theme-space--1) var(--theme-space-2) var(--theme-space--1) var(--theme-space-2)}:host .top-bottom-pane .title-finished{padding:0 !important;margin:var(--theme-space-2) var(--theme-space-2) var(--theme-space-2) var(--theme-space-2)}:host .top-bottom-pane .title-expanded{display:flex;flex-direction:row}:host .top-bottom-pane .title-hide-on-collapse{display:flex;flex-direction:row-reverse;justify-content:space-between;padding:0 !important;margin:var(--theme-space-2) var(--theme-space-2) var(--theme-space-2) var(--theme-space-2)}:host .left-right-pane{display:flex;flex-grow:1}:host .left-right-pane .title{display:flex;flex-direction:column;align-items:center;margin:var(--theme-space-2) var(--theme-space--1) var(--theme-space-2) var(--theme-space--1)}:host .left-right-pane .title .title-text{flex-direction:row-reverse;justify-content:start;flex-direction:row}:host .left-right-pane .title .rotate{writing-mode:vertical-lr;text-orientation:mixed;transform:rotate(180deg);flex-direction:row-reverse}:host .left-right-pane .title .rotate ix-icon{transform:rotate(90deg)}:host .left-right-pane .title-finished{padding:0 !important;margin:var(--theme-space-2) var(--theme-space-2) var(--theme-space-2) var(--theme-space-2)}:host .left-right-pane .title-expanded{display:flex;flex-direction:row}:host .left-right-pane .title-hide-on-collapse{display:flex;flex-direction:row-reverse;justify-content:space-between;padding:0 !important;margin:var(--theme-space-2) var(--theme-space-2) var(--theme-space-2) var(--theme-space-2)}:host .left-right-pane.expanded{flex-direction:column}:host .mobile-pane{display:flex;flex-direction:column;flex-grow:1}:host .mobile-pane .title-mobile{display:flex;flex-direction:row-reverse;justify-content:space-between;margin:var(--theme-space-1) var(--theme-space-2)}:host .side-pane-content{padding:var(--theme-space-1) var(--theme-space-2) var(--theme-space-3) var(--theme-space-2);overflow:auto;height:100%;width:100%}:host .slot-header{max-height:2rem;max-width:unset}:host .slot-header.rotate{max-height:unset;max-width:2rem}:host(.not-visible){display:none}:host(.nav-left-border){border-left:var(--theme-app-header--border-width) solid var(--ix-pane--border-color)}:host(.left-pane-border){border-right:var(--theme-app-header--border-width) solid var(--ix-pane--border-color)}:host(.right-pane-border){border-left:var(--theme-app-header--border-width) solid var(--ix-pane--border-color)}:host(.top-pane-border){border-bottom:var(--theme-app-header--border-width) solid var(--ix-pane--border-color)}:host(.bottom-pane-border){border-top:var(--theme-app-header--border-width) solid var(--ix-pane--border-color)}:host(.mobile-overlay){width:100%;position:absolute;z-index:100 !important}:host(.mobile-overlay) .side-pane-content{height:calc(100% - 2.5rem)}:host(.mobile-border-top){border-bottom:var(--theme-app-header--border-width) solid var(--ix-pane--border-color)}:host(.mobile-border-bottom){border-top:var(--theme-app-header--border-width) solid var(--ix-pane--border-color)}:host(.top-expanded){top:0}:host(.bottom-expanded){bottom:0}:host(.left-right-pane){height:100%}:host(.top-bottom-pane){width:100%}";export{x as ix_pane}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,c as e,h as t,H as s}from"./p-BEPo7U1W.js";const c=class{constructor(t){a(this,t),this.labelChange=e(this,"labelChange",7)}watchLabel(a,e){this.labelChange.emit({name:"ix-menu-about-item",oldLabel:e,newLabel:a})}render(){return t(s,{key:"2877a9c9386fb74d8c4fcfb72d5f31d8aa9057f1"},t("slot",{key:"fc2e89e7a6a427dbbf3e2030949a4db31c34957e"}))}static get watchers(){return{label:[{watchLabel:0}]}}};c.style=":host{display:block}";export{c as ix_menu_about_item}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,c as t,h as e,H as r,g as n}from"./p-BEPo7U1W.js";import{o as a}from"./p-BBzEV-f4.js";import{D as i}from"./p-D1WplX1z.js";import{c as d,a as l,b as s,o as h,h as c,S as b,d as u,e as p,f as m}from"./p-EA1w1TTe.js";import{H as v,c as y,g as f}from"./p-Tgy1PBFv.js";import{h as g,o as x,c as k,a as w}from"./p-BvFOMxgl.js";import{m as z}from"./p-bcj7UEIC.js";import"./p-DAzBNVe7.js";import"./p-CX81WQtk.js";import"./p-pXYAoEyc.js";import"./p-DhE1t8Qh.js";import"./p-BLaucX4x.js";import"./p-D3K9vmFp.js";const C=class{constructor(e){o(this,e),this.valueChange=t(this,"valueChange",6),this.validityStateChange=t(this,"validityStateChange",7),this.ixFocus=t(this,"ixFocus",7),this.ixBlur=t(this,"ixBlur",7),this.ixChange=t(this,"ixChange",7),e.$hostElement$["s-ei"]?this.formInternals=e.$hostElement$["s-ei"]:(this.formInternals=e.$hostElement$.attachInternals(),e.$hostElement$["s-ei"]=this.formInternals),this.value="",this.minDate="",this.maxDate="",this.format="yyyy/LL/dd",this.ariaLabelCalendarButton="Open calendar",this.readonly=!1,this.disabled=!1,this.i18nErrorDateUnparsable="Date is not valid",this.showWeekNumbers=!1,this.weekStartIndex=0,this.ariaLabelPreviousMonthButton="Previous month",this.ariaLabelNextMonthButton="Next month",this.suppressSubmitOnEnter=!1,this.textAlignment="start",this.enableTopLayer=!1,this.show=!1,this.from=null,this.isInputInvalid=!1,this.isInvalid=!1,this.isValid=!1,this.isInfo=!1,this.isWarning=!1,this.focus=!1,this.slotStartRef=z(),this.slotEndRef=z(),this.datepickerRef=z(),this.inputElementRef=z(),this.dropdownElementRef=z(),this.touched=!1,this.validityTracker=d()}watchValuePropHandler(o){this.onInput(o)}updateFormInternalValue(o){this.formInternals.setFormValue(o||null),this.value=o}connectedCallback(){this.classObserver=y(this.hostElement,(()=>this.checkClassList())),this.disposableChangesAndVisibilityObservers=l(this.hostElement,this.updatePaddings.bind(this))}componentWillLoad(){this.onInput(this.value),this.isInputInvalid?this.from=null:this.watchValue(),this.checkClassList(),this.updateFormInternalValue(this.value)}updatePaddings(){s(this.slotStartRef.current,this.slotEndRef.current,this.inputElementRef.current)}disconnectedCallback(){var o,t;null===(o=this.classObserver)||void 0===o||o.destroy(),null===(t=this.disposableChangesAndVisibilityObservers)||void 0===t||t.call(this)}watchValue(){this.from=this.value}hasValidValue(){return Promise.resolve(!!this.value)}getAssociatedFormElement(){return Promise.resolve(this.formInternals.form)}async onInput(o){var t;if(this.value=o,!o)return this.isInputInvalid=!1,this.invalidReason=void 0,this.emitValidityStateChangeIfChanged(),this.updateFormInternalValue(o),void this.valueChange.emit(o);if(!this.format)return;const e=i.fromFormat(o,this.format),r=i.fromFormat(this.minDate,this.format),n=i.fromFormat(this.maxDate,this.format);this.isInputInvalid=!e.isValid||e<r||e>n,this.isInputInvalid?(this.invalidReason=null!==(t=e.invalidReason)&&void 0!==t?t:void 0,this.from=void 0):(this.updateFormInternalValue(o),this.closeDropdown()),this.emitValidityStateChangeIfChanged(),this.valueChange.emit(o)}onCalenderClick(o){g(o,this.show,(()=>this.openDropdown()),this.inputElementRef)}async openDropdown(){return x(this.dropdownElementRef)}async closeDropdown(){return k(this.dropdownElementRef)}checkClassList(){this.isInvalid=this.hostElement.classList.contains("ix-invalid")}handleInputKeyDown(o){h(o,this,this.value),c(o,this.suppressSubmitOnEnter,this.formInternals.form)}renderInput(){var o;return e("div",{class:"input-wrapper"},e(p,{slotStartRef:this.slotStartRef,onSlotChange:()=>this.updatePaddings()}),e("input",{autoComplete:"off",class:{"is-invalid":this.isInputInvalid},disabled:this.disabled,readOnly:this.readonly,readonly:this.readonly,required:this.required,ref:this.inputElementRef,type:"text",value:null!==(o=this.value)&&void 0!==o?o:"",placeholder:this.placeholder,name:this.name,onInput:o=>{this.onInput(o.target.value)},onClick:o=>{this.show&&(o.stopPropagation(),o.preventDefault())},onFocus:async()=>{this.initialValue=this.value,this.openDropdown(),this.ixFocus.emit()},onBlur:()=>{u(this,this.inputElementRef.current,this.value),this.touched=!0,this.emitValidityStateChangeIfChanged()},onKeyDown:o=>this.handleInputKeyDown(o),style:{textAlign:this.textAlignment}}),e(b,{slotEndRef:this.slotEndRef,onSlotChange:()=>this.updatePaddings()},e("ix-icon-button",{"data-testid":"open-calendar",class:{"calendar-hidden":this.disabled||this.readonly},variant:"subtle-tertiary",size:"16",icon:a,onClick:o=>this.onCalenderClick(o),"aria-label":this.ariaLabelCalendarButton})))}hookValidationLifecycle({isInfo:o,isInvalid:t,isInvalidByRequired:e,isValid:r,isWarning:n}){this.isInvalid=t||e||this.isInputInvalid,this.isInfo=o,this.isValid=r,this.isWarning=n}emitValidityStateChangeIfChanged(){return m(this)}getValidityState(){return Promise.resolve(w(this.isInputInvalid,!!this.required,this.value))}getNativeInputElement(){return this.inputElementRef.waitForCurrent()}async focusInput(){return(await this.getNativeInputElement()).focus()}isTouched(){return Promise.resolve(this.touched)}render(){var o;const t=f(this.isInputInvalid,this.invalidText,this.i18nErrorDateUnparsable);return e(r,{key:"a188d09b1e24447e3fbc5a7a09c6e34042548a8c",class:{disabled:this.disabled,readonly:this.readonly}},e("ix-field-wrapper",{key:"c50fde9b3aee7a2645a70fd3bb090471f633d6a9",label:this.label,helperText:this.helperText,isInvalid:this.isInvalid,invalidText:t,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()),e("ix-dropdown",{key:"7a95a993e629b158905a32c1538e96a2d6275799","data-testid":"date-dropdown",trigger:this.inputElementRef.waitForCurrent(),ref:this.dropdownElementRef,closeBehavior:"outside",enableTopLayer:this.enableTopLayer,suppressOverflowBehavior:!0,show:this.show,onShowChanged:o=>{this.show=o.detail}},e("ix-date-picker",{key:"7375826a1d3df9751f387422db39206bc4fd4837",ref:this.datepickerRef,format:this.format,locale:this.locale,singleSelection:!0,from:null!==(o=this.from)&&void 0!==o?o:"",minDate:this.minDate,maxDate:this.maxDate,onDateChange:o=>{const{from:t}=o.detail;this.onInput(t),this.initialValue!==t&&(this.ixChange.emit(t),this.initialValue=t)},showWeekNumbers:this.showWeekNumbers,ariaLabelNextMonthButton:this.ariaLabelNextMonthButton,ariaLabelPreviousMonthButton:this.ariaLabelPreviousMonthButton,embedded:!0})))}static get formAssociated(){return!0}get hostElement(){return n(this)}static get watchers(){return{value:[{watchValuePropHandler:0},{watchValue:0}]}}};(function(o,t,e,r){var n,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,e):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(o,t,e,r);else for(var d=o.length-1;d>=0;d--)(n=o[d])&&(i=(a<3?n(i):a>3?n(t,e,i):n(t,e))||i);a>3&&i&&Object.defineProperty(t,e,i)})([v()],C.prototype,"hookValidationLifecycle",null),C.style='input{min-height:2rem;width:auto;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow);font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}input[type=number]{text-align:right}input[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}input:-webkit-autofill,input:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}input::-moz-placeholder{color:var(--theme-input-hint--color)}input::placeholder{color:var(--theme-input-hint--color)}input.hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),input:hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}input.hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),input:hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}input.focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),input:focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}input.focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),input:focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}input:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:var(--theme-input--border-thickness) solid var(--theme-input--border-color--readonly)}input.read-only,input:read-only{box-shadow:none;background-color:transparent;outline:none;border:var(--theme-input--border-thickness) solid var(--theme-input--border-color--readonly)}input.read-only::-moz-placeholder,input:read-only::-moz-placeholder{color:transparent}input:-moz-read-only::placeholder{color:transparent}input.read-only::placeholder,input:read-only::placeholder{color:transparent}input:disabled,input.disabled{box-shadow:none;background-color:transparent;outline:none;border:var(--theme-input--border-thickness) solid var(--theme-input--border-color--disabled)}input:disabled::-moz-placeholder,input.disabled::-moz-placeholder{color:transparent}input:disabled::placeholder,input.disabled::placeholder{color:transparent}textarea{min-height:2rem;width:auto;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow);font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}textarea[type=number]{text-align:right}textarea[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}textarea:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}textarea:-webkit-autofill,textarea:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}textarea::-moz-placeholder{color:var(--theme-input-hint--color)}textarea::placeholder{color:var(--theme-input-hint--color)}textarea.hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),textarea:hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}textarea.hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),textarea:hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}textarea.focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),textarea:focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}textarea.focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),textarea:focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}textarea:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:var(--theme-input--border-thickness) solid var(--theme-input--border-color--readonly)}textarea.read-only,textarea:read-only{box-shadow:none;background-color:transparent;outline:none;border:var(--theme-input--border-thickness) solid var(--theme-input--border-color--readonly)}textarea.read-only::-moz-placeholder,textarea:read-only::-moz-placeholder{color:transparent}textarea:-moz-read-only::placeholder{color:transparent}textarea.read-only::placeholder,textarea:read-only::placeholder{color:transparent}textarea:disabled,textarea.disabled{box-shadow:none;background-color:transparent;outline:none;border:var(--theme-input--border-thickness) solid var(--theme-input--border-color--disabled)}textarea:disabled::-moz-placeholder,textarea.disabled::-moz-placeholder{color:transparent}textarea:disabled::placeholder,textarea.disabled::placeholder{color:transparent}textarea{min-height:2rem;padding:calc(0.375rem - var(--theme-input--border-thickness)) calc(0.5rem - var(--theme-input--border-thickness))}textarea:not([rows]){height:3.25rem}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]),input.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]){border-color:var(--theme-input--border-color--info)}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):hover,input.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):hover{border-color:var(--theme-input--border-color--info--hover) !important}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):active,input.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):active{border-color:var(--theme-input--border-color--info--active) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]),input.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]){background-color:var(--theme-input--background--warning);border-color:var(--theme-input--border-color--warning--active) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):hover,input.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):hover{background-color:var(--theme-input--background--warning--hover);border-color:var(--theme-input--border-color--warning--hover) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):active,input.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):active{border-color:var(--theme-input--border-color--warning--active) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]),input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]){background-color:var(--theme-input--background--invalid);border-color:var(--theme-input--border-color--invalid) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):hover,input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):hover{background-color:var(--theme-input--background--invalid--hover);border-color:var(--theme-input--border-color--invalid--hover) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):active,input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly]):active{border-color:var(--theme-input--border-color--invalid--active) !important}:host{display:inline-block;position:relative;width:auto}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .input-wrapper{display:flex;position:relative;align-items:center;width:100%;height:100%}:host input{width:100%;height:100%}:host .start-container,:host .end-container{display:flex;position:absolute;align-items:center;justify-content:center;z-index:1}:host .start-container{left:var(--theme-input--border-thickness)}:host .end-container{right:calc(var(--theme-input--border-thickness) + 0.125rem)}:host .start-container ::slotted(*){margin-left:0.5rem}:host .start-container ::slotted(ix-icon.size-24),:host .start-container ::slotted(ix-icon-button.btn-icon-16){margin-left:0.25rem}:host .start-container ::slotted(ix-icon-button.btn-icon-32){margin-left:0}:host .end-container ::slotted(*){margin-right:0.5rem}:host .end-container ::slotted(ix-icon.size-24),:host .end-container ::slotted(ix-icon-button.btn-icon-16){margin-right:0.25rem}:host .end-container ::slotted(ix-icon-button.btn-icon-32){margin-right:0}:host .bottom-text{margin-top:0.25rem;margin-bottom:0.25rem}:host .input-wrapper:hover input:not(:disabled):not(:-moz-read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}:host .input-wrapper:hover input:not(:disabled):not(:read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}:host(.disabled){pointer-events:none}:host(.disabled) input,:host(.disabled) textarea{pointer-events:none}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input{border-color:var(--theme-input--border-color--info)}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input:hover,:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .input-wrapper:hover input{border-color:var(--theme-input--border-color--info--hover) !important}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input:active{border-color:var(--theme-input--border-color--info--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input{background-color:var(--theme-input--background--warning);border-color:var(--theme-input--border-color--warning--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input:hover,:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .input-wrapper:hover input{background-color:var(--theme-input--background--warning--hover);border-color:var(--theme-input--border-color--warning--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input:active{border-color:var(--theme-input--border-color--warning--active) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input{background-color:var(--theme-input--background--invalid);border-color:var(--theme-input--border-color--invalid) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input:hover,:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .input-wrapper:hover input,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input:hover,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .input-wrapper:hover input{background-color:var(--theme-input--background--invalid--hover);border-color:var(--theme-input--border-color--invalid--hover) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input:active,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) input:active{border-color:var(--theme-input--border-color--invalid--active) !important}: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 input{width:100%;height:100%}:host .calendar-hidden{display:none}:host(.readonly) input{pointer-events:none}';export{C as ix_date_input}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,f as t,h as r,H as o,c as a,F as i,g as s}from"./p-BEPo7U1W.js";import{m as d}from"./p-D_Hmobxf.js";import{v as c,C as h,N as n}from"./p-BBzEV-f4.js";import{D as l,I as b}from"./p-D1WplX1z.js";import{O as u}from"./p-BUNsXW03.js";import{m}from"./p-bcj7UEIC.js";const g=class{constructor(t){e(this,t)}onResize(){t(this)}getSize(e){return""===e?this.size:"sm"===e?this.sizeSm:"md"===e?this.sizeMd:"lg"===e?this.sizeLg:void 0}getColumnSize(){let e;return g.Breakpoints.forEach((t=>{if(""!==t&&!d(t))return;const r=this.getSize(t);r&&(e=r)})),e}getColumnSizeStyling(){const e=this.getColumnSize();if(!e)return;if("auto"===e)return{flex:"0 0 auto",width:"auto","max-width":"auto"};const t=`calc(calc(${e} / var(--ix-layout-grid-columns)) * 100%)`;return{flex:`0 0 ${t}`,width:`${t}`,"max-width":`${t}`}}render(){return r(o,{key:"552bf87dd4905b2cfc67dbda7c33e1edf89a9cf8",style:Object.assign({},this.getColumnSizeStyling())},r("slot",{key:"293331e4b2de069f550f0d47e1525228e49fc159"}))}};g.Breakpoints=["","sm","md","lg"],g.style=":host{position:relative;flex-basis:0;flex-grow:1;width:100%;max-width:100%;min-height:1px;padding:calc(var(--ix-layout-grid-gutter) * 0.5)}: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}";const v=class{constructor(t){e(this,t),this.dateChange=a(this,"dateChange",7),this.dateRangeChange=a(this,"dateRangeChange",7),this.dateSelect=a(this,"dateSelect",7),this.format="yyyy/LL/dd",this.singleSelection=!1,this.corners="rounded",this.minDate="",this.maxDate="",this.i18nDone="Done",this.ariaLabelPreviousMonthButton="Previous month",this.ariaLabelNextMonthButton="Next month",this.weekStartIndex=0,this.showWeekNumbers=!1,this.embedded=!1,this.today=l.now().toISO(),this.enableTopLayer=!1,this.selectedYear=0,this.tempYear=0,this.startYear=0,this.endYear=0,this.selectedMonth=0,this.tempMonth=0,this.dropdownButtonRef=m(),this.yearContainerRef=m(),this.firstMonthRef=m(),this.focusedDay=1,this.isDayFocus=!1,this.monthChangedFromFocus=!1,this.DAYS_IN_WEEK=7,this.calendar=[]}watchFromPropHandler(e){if(!e)return void(this.currFromDate=void 0);const t=this.parseDateString(e);t&&(this.currFromDate=t,this.updateSelectedYearMonth(t))}watchToPropHandler(e){if(!e)return void(this.currToDate=void 0);const t=this.parseDateString(e);t&&(this.currToDate=t,this.updateSelectedYearMonth(t))}onLocaleChange(){this.setTranslations()}async getCurrentDate(){var e,t,r,o;const a=(null===(e=this.currFromDate)||void 0===e?void 0:e.isValid)?null===(t=this.currFromDate)||void 0===t?void 0:t.toFormat(this.format):void 0,i=(null===(r=this.currToDate)||void 0===r?void 0:r.isValid)?null===(o=this.currToDate)||void 0===o?void 0:o.toFormat(this.format):void 0;return this.singleSelection?{from:a,to:void 0}:{from:a,to:i}}handleKeyUp(e){if(!this.isDayFocus)return;let t=this.focusedDay;switch(e.key){case"ArrowLeft":t--;break;case"ArrowRight":t++;break;case"ArrowUp":t-=7;break;case"ArrowDown":t+=7;break;default:return}t>this.getDaysInCurrentMonth()?(t-=this.getDaysInCurrentMonth(),this.changeToAdjacentMonth(1),this.monthChangedFromFocus=!0):t<1&&(this.changeToAdjacentMonth(-1),t+=this.getDaysInCurrentMonth(),this.monthChangedFromFocus=!0),this.focusedDay=t}getDaysInCurrentMonth(){return l.utc(this.selectedYear,this.selectedMonth+1).daysInMonth||0}getDateTimeNow(){return l.fromISO(this.today)}parseDateString(e){const t=l.fromFormat(e,this.format);if(t.isValid)return t;console.error(t.invalidExplanation)}updateSelectedYearMonth(e){this.selectedYear=e.year,this.selectedMonth=e.month-1}onDayBlur(){this.isDayFocus=!1}onDayFocus(){this.isDayFocus=!0}componentWillLoad(){var e,t,r,o;this.setTranslations(),this.currFromDate=this.from?l.fromFormat(this.from,this.format):void 0,this.currToDate=this.to?l.fromFormat(this.to,this.format):void 0;const a=null!==(t=null===(e=this.currFromDate)||void 0===e?void 0:e.year)&&void 0!==t?t:this.getDateTimeNow().year;this.startYear=a-5,this.endYear=a+5,this.selectedMonth=(null!==(o=null===(r=this.currFromDate)||void 0===r?void 0:r.month)&&void 0!==o?o:this.getDateTimeNow().month)-1,this.selectedYear=a,this.tempMonth=this.selectedMonth,this.tempYear=this.selectedYear}componentWillRender(){this.calculateCalendar()}componentDidRender(){(this.monthChangedFromFocus||this.isDayFocus)&&this.hostElement.shadowRoot.querySelector(`[id=day-cell-${this.focusedDay}]`).focus()}setTranslations(){this.dayNames=this.rotateWeekDayNames(b.weekdays("long",{locale:this.locale}),this.weekStartIndex),this.monthNames=b.months("long",{locale:this.locale})}rotateWeekDayNames(e,t){const r=[...e];if(0===t)return r;const o=e.length;return r.push(...r.splice(0,(-(t=-t)%o+o)%o)),r}async onDone(){const e=await this.getCurrentDate();this.dateSelect.emit(e)}calculateCalendar(){const e=[],t=l.utc(this.selectedYear,this.selectedMonth+1),r=t.startOf("month"),o=t.endOf("month");let a=r.weekNumber,i=o.weekNumber,s=r.weekday-1,d=o.weekday-1;if(0!==this.weekStartIndex){const e=b.weekdays(),t=e[r.weekday];s=this.dayNames.findIndex((e=>e===t));const a=e[o.weekday];d=this.dayNames.findIndex((e=>e===a))}let c=!1;1===i&&(i=o.weeksInWeekYear+1,c=!0);let h=!1;a===r.weeksInWeekYear&&(a=1,i++,h=!0);let n=1;for(let t=a;t<=i&&n<=31;t++){const l=[];for(let e=0;e<this.DAYS_IN_WEEK&&n<=31;e++)l.push(t===a&&e<s||t===i&&e>d?void 0:n++);e.push(h||c?1===t?{weekNumber:r.weeksInWeekYear,dayNumbers:l}:t===o.weekNumber?{weekNumber:1,dayNumbers:l}:{weekNumber:t-1,dayNumbers:l}:{weekNumber:t,dayNumbers:l})}this.calendar=e}selectTempYear(e,t){null==e||e.stopPropagation(),this.tempYear=t}focusMonth(){var e;null===(e=this.firstMonthRef.current)||void 0===e||e.focus()}infiniteScrollYears(){const e=this.yearContainerRef.current;if(!e)return;const t=e.scrollTop,r=e.scrollHeight,o=0===t,a=Math.round(t+e.offsetHeight)>=r;if(!(this.endYear-this.startYear>200)){if(o){const t=e.firstElementChild;return this.startYear-=5,void e.scrollTo(0,t.offsetTop)}if(a){const t=e.lastElementChild;this.endYear+=5,e.scrollTo(0,t.offsetTop)}}}selectMonth(e){this.selectedMonth=e,this.selectedYear=this.tempYear,this.tempMonth=e;const t=this.hostElement.shadowRoot.querySelector("ix-dropdown");t&&(t.show=!1)}changeToAdjacentMonth(e){this.selectedMonth+e<0?(this.selectedYear--,this.selectedMonth=11):this.selectedMonth+e>11?(this.selectedYear++,this.selectedMonth=0):this.selectedMonth+=e}selectDay(e,t){if(t.classList.contains("disabled"))return;const r=l.fromJSDate(new Date(this.selectedYear,this.selectedMonth,e));return this.singleSelection||void 0===this.currFromDate?(this.currFromDate=r,void this.onDateChange()):void 0!==this.currToDate?(this.currFromDate=r,this.currToDate=void 0,void this.onDateChange()):r<this.currFromDate?(this.currToDate=this.currFromDate,this.currFromDate=r,void this.onDateChange()):(this.currToDate=r,void this.onDateChange())}onDateChange(){this.getCurrentDate().then((e=>{this.dateChange.emit(e),this.singleSelection||this.dateRangeChange.emit(e)}))}getDayClasses(e){var t,r,o;const a=this.getDateTimeNow(),i=l.fromJSDate(new Date(this.selectedYear,this.selectedMonth,e));return{"calendar-item":!0,"empty-day":void 0===e,today:a.hasSame(i,"day"),selected:!(!(null===(t=this.currFromDate)||void 0===t?void 0:t.hasSame(i,"day"))&&!(null===(r=this.currToDate)||void 0===r?void 0:r.hasSame(i,"day"))),range:!!(this.currFromDate&&i.startOf("day")>this.currFromDate.startOf("day")&&void 0!==this.currToDate&&i.startOf("day")<(null===(o=this.currToDate)||void 0===o?void 0:o.startOf("day"))),disabled:!this.isWithinMinMaxDate(i)}}isWithinMinMaxYear(e){const t=this.minDate?l.fromFormat(this.minDate,this.format).year:void 0,r=this.maxDate?l.fromFormat(this.maxDate,this.format).year:void 0;return!(t&&e<t||r&&e>r)}isWithinMinMaxMonth(e){const t=this.minDate?l.fromFormat(this.minDate,this.format):void 0,r=this.maxDate?l.fromFormat(this.maxDate,this.format):void 0,o=null==t?void 0:t.month,a=null==r?void 0:r.month;return!(o&&this.tempYear===t.year&&e<o||a&&this.tempYear===r.year&&e>a)}isWithinMinMaxDate(e){const t=this.minDate?l.fromFormat(this.minDate,this.format):void 0,r=this.maxDate?l.fromFormat(this.maxDate,this.format):void 0,o=!!t&&e.startOf("day")<t.startOf("day"),a=!!r&&e.startOf("day")>r.startOf("day");return!o&&!a}renderYears(){const e=[];for(let t=this.startYear;t<=this.endYear;t++)e.push(r("div",{key:t,class:{arrowYear:!0,"month-dropdown-item":!0,"disabled-item":!this.isWithinMinMaxYear(t)},onClick:e=>this.selectTempYear(e,t),onKeyUp:e=>{"Enter"===e.key&&(this.tempYear=t,this.focusMonth())},tabIndex:0},r("ix-icon",{class:{hidden:this.tempYear!==t,arrowPosition:!0},name:c,size:"12"}),r("div",{style:{"min-width":"max-content"}},`${t}`)));return e}render(){return r(o,{key:"98ea6b7a88faa52ff75b8bba1cb2c9e22c4e73e8"},r("ix-date-time-card",{key:"e16c7a978263147e3e6b4a71f32d934eddf06d2c",corners:this.corners,embedded:this.embedded},r("div",{key:"b96e24b6b2d1876c9e10be3791a8a7417d83a380",class:"header",slot:"header"},r("ix-icon-button",{key:"10ca5417cb64bb25679269f4608868d057cb9f54",onClick:()=>this.changeToAdjacentMonth(-1),icon:h,variant:"tertiary",class:"arrows","aria-label":this.ariaLabelPreviousMonthButton}),r("div",{key:"9a286af048e16def6e92bb5aaeef56ca63eeb819",class:"selector"},r("ix-button",{key:"9c95aef10ee98999301b796562109b62ab460328",variant:"tertiary",ref:this.dropdownButtonRef,"data-testid":"year-month-button"},r("span",{key:"87f8874169536008fc5a95ebb5f27c2d90c74013",class:"capitalize"},this.monthNames[this.selectedMonth]," ",this.selectedYear)),r("ix-dropdown",{key:"03b7ee75c45fbf966782b6685956ca16f1b9ea7d","data-testid":"year-month-dropdown",class:"dropdown",trigger:this.dropdownButtonRef.waitForCurrent(),ignoreRelatedSubmenu:!0,placement:"bottom-start",enableTopLayer:this.enableTopLayer},r("div",{key:"6ebe9445e018d9ea0d8ea234ffe04bd5b7c756d6",class:"wrapper"},r("div",{key:"560f769508c69c1ca7ae836f657d6b2a9a0f54dc","data-testid":"year-container",class:"overflow",onScroll:()=>this.infiniteScrollYears(),ref:this.yearContainerRef},this.renderYears()),r("div",{key:"8a933460c220113a5bfe96d8b59948c43095e073",class:"overflow","data-testid":"month-container"},this.monthNames.map(((e,t)=>r("div",{key:e,ref:t=>{e===this.monthNames[0]&&this.firstMonthRef(t)},class:{arrowYear:!0,"month-dropdown-item":!0,selected:this.tempYear===this.selectedYear&&this.tempMonth===t,"disabled-item":!this.isWithinMinMaxMonth(t)},onClick:()=>this.selectMonth(t),onKeyUp:e=>"Enter"===e.key&&this.selectMonth(t),tabIndex:0},r("ix-icon",{class:{hidden:this.tempYear!==this.selectedYear||this.tempMonth!==t,checkPosition:!0},name:n,size:"16"}),r("div",null,r("span",{class:"capitalize monthMargin"},`${e} ${this.tempYear}`))))))))),r("ix-icon-button",{key:"d183b81face1835095ebf6b0f0b741f3bd177434",onClick:()=>this.changeToAdjacentMonth(1),icon:c,variant:"tertiary",class:"arrows","aria-label":this.ariaLabelNextMonthButton})),r("div",{key:"747249d090059b0beea2d522efaafa0e816bd9b5",class:{grid:!0,"grid--show-week-numbers":this.showWeekNumbers}},this.showWeekNumbers&&r("div",{key:"30566707d9ad58aea828bc579abb42fab5078d4e",class:"calendar-item week-day"}),this.dayNames.map((e=>r("div",{key:e,class:"calendar-item week-day"},r("div",{class:"overflow"},e.slice(0,3))))),this.calendar.map((e=>r(i,null,this.showWeekNumbers&&r("div",{class:"calendar-item week-number"},e.weekNumber),e.dayNumbers.map((e=>e?r("div",{key:e,id:`day-cell-${e}`,"date-calender-day":!0,class:this.getDayClasses(e),onClick:t=>{this.selectDay(e,t.currentTarget)},onKeyUp:t=>{"Enter"===t.key&&this.selectDay(e,t.currentTarget)},tabIndex:e===this.focusedDay?0:-1,onFocus:()=>this.onDayFocus(),onBlur:()=>this.onDayBlur(),"aria-label":`${this.selectedMonth}: ${e}`},e):r("div",null))))))),r("div",{key:"2b9a45684c662329a1e6e16062f5710d62112210",class:{button:!0,hidden:this.singleSelection||this.embedded}},r("ix-button",{key:"35de7243b5de0016794880b7287a96b60dc2676c",onClick:()=>this.onDone()},this.i18nDone))))}get hostElement(){return s(this)}static get watchers(){return{from:[{watchFromPropHandler:0}],to:[{watchToPropHandler:0}],locale:[{onLocaleChange:0}]}}};(function(e,t,r,o){var a,i=arguments.length,s=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,o);else for(var d=e.length-1;d>=0;d--)(a=e[d])&&(s=(i<3?a(s):i>3?a(t,r,s):a(t,r))||s);i>3&&s&&Object.defineProperty(t,r,s)})([u("keydown")],v.prototype,"handleKeyUp",null),v.style=":host{display:block;position:relative;max-width:21rem}: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 .header{display:flex;align-items:center;justify-content:space-between}:host .disabled-item{pointer-events:none;background-color:var(--theme-datepicker-day--background--disabled);color:var(--theme-datepicker-day--color--disabled);cursor:default}:host .selector{flex-basis:100%;display:flex;align-items:center;justify-content:center;padding:0 1rem}:host .selector .dropdown{color:var(--theme-menu-item--color);font-size:14px;line-height:20px}:host .selector .capitalize{text-transform:capitalize}:host .selector .month-dropdown-item{margin-left:4px;margin-right:4px}:host .selector .month-dropdown-item:focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .selector .arrowYear{display:flex;position:relative;padding:0.75rem 2rem;align-items:center;cursor:pointer}:host .selector .arrowYear:hover{background-color:var(--theme-select-list-item--background--hover)}:host .selector .arrowYear.selected{background-color:var(--theme-select-list-item--background--selected)}:host .selector .arrowYear .arrowPosition{position:absolute;left:calc(1rem - 6px);top:calc(50% - 6px)}:host .selector .arrowYear .checkPosition{position:absolute;left:calc(1rem - 6px);top:calc(50% - 8px)}:host .selector .arrowYear .monthMargin{margin-left:10px}:host .wrapper{display:flex}:host .wrapper .overflow{overflow-y:scroll;max-height:250px}:host .grid{display:grid;grid-template-columns:repeat(7, 40px);grid-template-rows:repeat(7, 40px);align-items:center;justify-items:center;justify-content:center;color:var(--theme-datepicker-today--color)}:host .grid--show-week-numbers{grid-template-columns:24px repeat(7, 40px)}:host .grid .calendar-item{position:relative;display:flex;justify-content:center;align-items:center;background-color:var(--theme-datepicker-day--background);border:1px solid var(--theme-datepicker-day--background);width:40px;height:40px;cursor:pointer}:host .grid .calendar-item:focus-visible{outline:1px solid var(--theme-color-focus-bdr);box-shadow:inset 0 0 0 1px var(--theme-color-inv-contrast-text);background-color:var(--theme-datepicker-day--background--selected);border:inset 1px solid var(--theme-datepicker-day--border-color--selected);color:var(--theme-datepicker-day--color--selected);font-size:14px;line-height:20px;letter-spacing:0}:host .grid .calendar-item.today{border:1px solid var(--theme-datepicker-today--border-color)}:host .grid .calendar-item.today:hover{background-color:var(--theme-datepicker-day--background--hover)}:host .grid .calendar-item.today:active{background-color:var(--theme-datepicker-day--background--active)}:host .grid .calendar-item.today.selected{box-shadow:inset 0 0 0 1px white}:host .grid .calendar-item.today.selected:hover{background-color:var(--theme-datepicker-day--background--selected-hover)}:host .grid .calendar-item.today.selected:active{background-color:var(--theme-datepicker-day--background--selected-active)}:host .grid .calendar-item.today.selected.disabled{pointer-events:none;background-color:var(--theme-datepicker-day--background--selected-disabled);border:1px solid var(--theme-datepicker-day--background--selected-disabled);color:var(--theme-datepicker-day--color--selected-disabled)}:host .grid .calendar-item.today.range{background-color:var(--theme-datepicker-day--background--range);color:var(--theme-datepicker-day--color--range);border:1px solid var(--theme-datepicker-today--border-color--range);box-shadow:inset 0 0 0 1px white}:host .grid .calendar-item.today.range:hover{background-color:var(--theme-datepicker-day--background--range-hover);border:1px solid var(--theme-datepicker-today--border-color--range-hover)}:host .grid .calendar-item.today.range:active{background-color:var(--theme-datepicker-day--background--range-active);border:1px solid var(--theme-datepicker-today--border-color--range-active)}:host .grid .calendar-item.today.range.disabled{background-color:var(--theme-datepicker-day--background--range-disabled);color:var(--theme-datepicker-day--color--range-disabled);border:1px solid var(--theme-datepicker-today--border-color--range-disabled)}:host .grid .calendar-item.today.disabled{pointer-events:none;background-color:var(--theme-datepicker-day--background--disabled);color:var(--theme-datepicker-day--color--disabled);cursor:default}:host .grid .calendar-item:hover{background-color:var(--theme-datepicker-day--background--hover)}:host .grid .calendar-item:active{background-color:var(--theme-datepicker-day--background--active)}:host .grid .calendar-item.selected{background-color:var(--theme-datepicker-day--background--selected);color:var(--theme-datepicker-day--color--selected);border:1px solid var(--theme-datepicker-day--background--selected);font-weight:var(--theme-font-weight-bold)}:host .grid .calendar-item.selected:hover{background-color:var(--theme-datepicker-day--background--selected-hover)}:host .grid .calendar-item.selected:active{background-color:var(--theme-datepicker-day--background--selected-active)}:host .grid .calendar-item.selected.disabled{pointer-events:none;background-color:var(--theme-datepicker-day--background--selected-disabled);color:var(--theme-datepicker-day--color--selected-disabled)}:host .grid .calendar-item.range{background-color:var(--theme-datepicker-day--background--range);color:var(--theme-datepicker-day--color--range)}:host .grid .calendar-item.range:hover{background-color:var(--theme-datepicker-day--background--range-hover)}:host .grid .calendar-item.range:active{background-color:var(--theme-datepicker-day--background--range-active)}:host .grid .calendar-item.range.disabled{pointer-events:none;background-color:var(--theme-datepicker-day--background--range-disabled);color:var(--theme-datepicker-day--color--range-disabled)}:host .grid .calendar-item.disabled{pointer-events:none;background-color:var(--theme-datepicker-day--background--disabled);color:var(--theme-datepicker-day--color--disabled)}:host .grid .calendar-item.week-day{color:var(--theme-datepicker-weekday--color);font-size:var(--theme-ms-0);line-height:143%;border:none;background:none;cursor:initial}:host .grid .calendar-item.week-day .overflow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .grid .calendar-item.empty-day{border:none;background:none;cursor:initial}:host .grid .calendar-item.week-number{font-size:10px;line-height:14px;color:var(--theme-datepicker-weekday--color);border:none;background:none;cursor:initial;width:1.5rem}:host .button{display:flex;justify-content:flex-end;margin-top:1rem}:host .hidden{display:none}";const k=class{constructor(t){e(this,t),this.noMargin=!1,this.gap="24",this.columns=12}render(){return r(o,{key:"7ca75d3fb578d30d3b8e3d5d4455123ee7344456",class:{"no-margin":this.noMargin},style:{"--ix-layout-grid-columns":`${this.columns}`,"--ix-layout-grid-gutter":`${this.gap}px`}},r("slot",{key:"566e2bf1294f8780e4aedb8e2874bd2f216d3712"}))}};k.style=":host{--ix-layout-grid-gutter:24px;display:block;flex:1 1 0%;width:100%;padding-left:calc(var(--ix-layout-grid-gutter) * 0.5);padding-right:calc(var(--ix-layout-grid-gutter) * 0.5)}:host(.no-margin){padding-left:0;padding-right:0}";const p=class{constructor(t){e(this,t)}render(){return r(o,{key:"f38fd53867857b85a1b2d618125c81bba478cdac"},r("slot",{key:"1fbd414a8c0bb275dcdc88a0e4ff54e944212739"}))}};p.style=":host{display:flex;flex-wrap:wrap}:host(:not(:first-of-type)){margin-block-start:var(--ix-layout-grid-row-margin, 0)}";export{g as ix_col,v as ix_date_picker,k as ix_layout_grid,p as ix_row}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as s,g as r}from"./p-BEPo7U1W.js";import{H as o}from"./p-Tgy1PBFv.js";import{m as a}from"./p-bcj7UEIC.js";const h=class{constructor(e){t(this,e),this.valueChange=i(this,"valueChange",7),this.direction="column",this.required=!1,this.isInvalid=!1,this.isValid=!1,this.isInfo=!1,this.isWarning=!1,this.touched=!1,this.groupRef=a(),this.observer=new MutationObserver((()=>{this.ensureOnlyLastRadioChecked(),this.hasNestedRequiredRadio()}))}get radiobuttonElements(){return Array.from(this.hostElement.querySelectorAll("ix-radio"))}connectedCallback(){this.observer.observe(this.hostElement,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["checked","required"]})}componentWillLoad(){this.selectInitialValue(),this.ensureOnlyLastRadioChecked(),this.hasNestedRequiredRadio()}disconnectedCallback(){this.observer&&this.observer.disconnect()}selectInitialValue(){this.value&&this.radiobuttonElements.forEach((t=>{t.checked=t.value===this.value}))}ensureOnlyLastRadioChecked(){const t=this.radiobuttonElements.filter((t=>t.checked));t.forEach(((i,e)=>{e!==t.length-1&&(i.checked=!1)}));const i=this.isSomeRadioChecked();for(const t of this.radiobuttonElements)t.tabIndex=t.checked?0:-1;!i&&this.radiobuttonElements.length>0&&(this.radiobuttonElements[0].tabIndex=0)}hasNestedRequiredRadio(){this.required=this.radiobuttonElements.some((t=>t.required))}isSomeRadioChecked(){return this.radiobuttonElements.some((t=>t.checked))}onValueChangeHandler(t){this.touched=!0,this.radiobuttonElements.forEach((i=>{i.checked=i.value===t}))}onCheckedChangeHandler(t){this.radiobuttonElements.forEach((i=>{i===t.target?(i.checked=!0,this.valueChange.emit(i.value)):i.checked=!1}))}onClassField({isInvalid:t,isInfo:i,isValid:e,isWarning:s,isInvalidByRequired:r}){this.isInvalid=t||r,this.isInfo=i,this.isValid=e,this.isWarning=s}hasValidValue(){return Promise.resolve(!!Array.from(this.hostElement.querySelectorAll("ix-radio")).find((t=>t.checked)))}isTouched(){return Promise.resolve(this.touched)}async setCheckedToNextItem(t,i=!0){const{radiobuttonElements:e}=this,{length:s}=e;if(s<=1)return;const r=e.indexOf(t),o=i?1:-1;let a=(r+o+s)%s;for(;e[a].disabled;){if(a===r)return;a=(a+o+s)%s}const h=e[a];h.setCheckedState(!0),h.focus()}render(){return e(s,{key:"829b222152a0cfcbdf561425591174ad3bb3716a",onIxBlur:()=>this.touched=!0,ref:this.groupRef,role:"radiogroup"},e("ix-field-wrapper",{key:"f9cc7e451c564f554fbe13b9631934b1776f4dc8",label:this.label,helperText:this.helperText,invalidText:this.invalidText,infoText:this.infoText,warningText:this.warningText,validText:this.validText,showTextAsTooltip:this.showTextAsTooltip,isValid:this.isValid,isInfo:this.isInfo,isWarning:this.isWarning,isInvalid:this.isInvalid,controlRef:this.groupRef},e("div",{key:"a7a67482251f6ee87f5266959f01fff3c51dda99",class:{"checkbox-container":!0,"row-layout":"row"===this.direction}},e("slot",{key:"9a99b6cdced60eb7234e2d28645ba074ef79cb4a"}))))}get hostElement(){return r(this)}static get watchers(){return{value:[{onValueChangeHandler:0}]}}};(function(t,i,e,s){var r,o=arguments.length,a=o<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,e,s);else for(var h=t.length-1;h>=0;h--)(r=t[h])&&(a=(o<3?r(a):o>3?r(i,e,a):r(i,e))||a);o>3&&a&&Object.defineProperty(i,e,a)})([o({includeChildren:!0})],h.prototype,"onClassField",null),h.style=":host{display:inline-block;position:relative}:host .checkbox-container{display:flex;flex-direction:column;gap:0.5rem 1rem;margin:0.375rem 0;flex-wrap:wrap}:host .checkbox-container.row-layout{flex-direction:row}";export{h as ix_radio_group}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,c as e,h as t,H as o,g as a}from"./p-BEPo7U1W.js";import{B as d}from"./p-W85AQR46.js";import{a as s}from"./p-DAzBNVe7.js";import"./p-BayAOLV_.js";const n=class{constructor(t){r(this,t),this.pressedChange=e(this,"pressedChange",7),this.variant="subtle-primary",this.outline=!1,this.ghost=!1,this.oval=!1,this.pressed=!1,this.size="24",this.disabled=!1,this.loading=!1}dispatchPressedChange(){this.pressedChange.emit(!this.pressed)}getIconSizeClass(){return{"btn-icon-12":"12"===this.size,"btn-icon-16":"16"===this.size,"btn-icon-32":"24"===this.size}}render(){const r={variant:this.variant,iconOnly:!0,iconOval:this.oval,selected:this.pressed,disabled:this.disabled||this.loading,icon:this.icon,iconSize:this.size,loading:this.loading,onClick:()=>this.dispatchPressedChange(),type:"button",ariaAttributes:{"aria-pressed":s(this.pressed),"aria-label":this.ariaLabelIconButton},extraClasses:Object.assign({"icon-button":!0},this.getIconSizeClass())};return t(o,{key:"7e569390966cec8f23e66418506df999e26aeebd",class:Object.assign(Object.assign({},this.getIconSizeClass()),{disabled:this.disabled||this.loading})},t(d,Object.assign({key:"b055971a9ea7d2bd859c5c71ceaf0d39e05e1b54"},r)))}get hostElement(){return a(this)}};n.style=":host{--ix-button-border-radius-left:var(--theme-btn--border-radius);--ix-button-border-radius-right:var(--theme-btn--border-radius);display:inline-block;height:2rem;vertical-align:middle;cursor:pointer;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host button,:host a{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;overflow:hidden;align-items:center;justify-content:center;width:100%;height:100%;padding:0 0.5rem}:host ix-spinner{margin-right:0.25rem}:host .content{display:inline-block;position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host .content-start{width:100%}:host .icon{pointer-events:none;margin-right:0.25rem}:host .icon-right{margin-left:0.25rem}:host(.disabled){cursor:default}:host{--ix-button-border-radius-left:var(--theme-btn--border-radius);--ix-button-border-radius-right:var(--theme-btn--border-radius);display:inline-block;height:2rem;vertical-align:middle;cursor:pointer;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host button,:host a{all:unset;box-sizing:border-box;display:inline-flex;flex-direction:row;flex-wrap:nowrap;overflow:hidden;align-items:center;justify-content:center;width:100%;height:100%;padding:0 0.5rem}:host ix-spinner{margin-right:0.25rem}:host .content{display:inline-block;position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host .content-start{width:100%}:host .icon{pointer-events:none;margin-right:0.25rem}:host .icon-right{margin-left:0.25rem}:host(.disabled){cursor:default}:host .btn-primary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-primary,:host .btn-primary.focus,:host .btn-primary:focus-visible{background-color:var(--theme-btn-primary--background);color:var(--theme-btn-primary--color);--ix-button-color:var(--theme-btn-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-primary--border-color);border-style:solid}:host .btn-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-primary.selected{background-color:var(--theme-btn-primary--background--pressed);color:var(--theme-btn-primary--color--pressed)}:host .btn-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary.selected:not(.disabled):not(:disabled):hover,:host .btn-primary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-primary--background--pressed-hover);color:var(--theme-btn-primary--color--pressed-hover)}:host .btn-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary.selected:not(.disabled):not(:disabled):active,:host .btn-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-primary--background--pressed-hover);color:var(--theme-btn-primary--color--pressed-active)}:host .btn-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary:not(.disabled):not(:disabled):hover,:host .btn-primary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-primary--border-color--hover);background-color:var(--theme-btn-primary--background--hover);color:var(--theme-btn-primary--color--hover)}:host .btn-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-primary:not(.disabled):not(:disabled):active,:host .btn-primary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-primary--border-color--active);background-color:var(--theme-btn-primary--background--active);color:var(--theme-btn-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-primary.disabled,:host(.disabled) .btn-primary:disabled{pointer-events:none;border-color:var(--theme-btn-primary--border-color--disabled);background-color:var(--theme-btn-primary--background--disabled);color:var(--theme-btn-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-primary--color--disabled)}:host .btn-secondary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-secondary,:host .btn-secondary.focus,:host .btn-secondary:focus-visible{background-color:var(--theme-btn-secondary--background);color:var(--theme-btn-secondary--color);--ix-button-color:var(--theme-btn-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-secondary--border-color);border-style:solid}:host .btn-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-secondary.selected{background-color:var(--theme-btn-secondary--background--pressed);color:var(--theme-btn-secondary--color--pressed)}:host .btn-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary.selected:not(.disabled):not(:disabled):hover,:host .btn-secondary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-secondary--background--pressed-hover);color:var(--theme-btn-secondary--color--pressed-hover)}:host .btn-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-secondary--background--pressed-hover);color:var(--theme-btn-secondary--color--pressed-active)}:host .btn-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary:not(.disabled):not(:disabled):hover,:host .btn-secondary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-secondary--border-color--hover);background-color:var(--theme-btn-secondary--background--hover);color:var(--theme-btn-secondary--color--hover)}:host .btn-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-secondary:not(.disabled):not(:disabled):active,:host .btn-secondary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-secondary--border-color--active);background-color:var(--theme-btn-secondary--background--active);color:var(--theme-btn-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-secondary.disabled,:host(.disabled) .btn-secondary:disabled{pointer-events:none;border-color:var(--theme-btn-secondary--border-color--disabled);background-color:var(--theme-btn-secondary--background--disabled);color:var(--theme-btn-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-secondary--color--disabled)}:host .btn-tertiary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-tertiary,:host .btn-tertiary.focus,:host .btn-tertiary:focus-visible{background-color:var(--theme-btn-tertiary--background);color:var(--theme-btn-tertiary--color);--ix-button-color:var(--theme-btn-tertiary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-tertiary--border-color);border-style:solid}:host .btn-tertiary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-tertiary.selected{background-color:var(--theme-btn-tertiary--background--pressed);color:var(--theme-btn-tertiary--color--pressed)}:host .btn-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-tertiary.selected:not(.disabled):not(:disabled):hover,:host .btn-tertiary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-tertiary--background--pressed-hover);color:var(--theme-btn-tertiary--color--pressed-hover)}:host .btn-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-tertiary.selected:not(.disabled):not(:disabled):active,:host .btn-tertiary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-tertiary--background--pressed-hover);color:var(--theme-btn-tertiary--color--pressed-active)}:host .btn-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-tertiary:not(.disabled):not(:disabled):hover,:host .btn-tertiary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-tertiary--border-color--hover);background-color:var(--theme-btn-tertiary--background--hover);color:var(--theme-btn-tertiary--color--hover)}:host .btn-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-tertiary:not(.disabled):not(:disabled):active,:host .btn-tertiary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-tertiary--border-color--active);background-color:var(--theme-btn-tertiary--background--active);color:var(--theme-btn-tertiary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-tertiary.disabled,:host(.disabled) .btn-tertiary:disabled{pointer-events:none;border-color:var(--theme-btn-tertiary--border-color--disabled);background-color:var(--theme-btn-tertiary--background--disabled);color:var(--theme-btn-tertiary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-tertiary--color--disabled)}:host .btn-subtle-primary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-subtle-primary,:host .btn-subtle-primary.focus,:host .btn-subtle-primary:focus-visible{background-color:var(--theme-btn-subtle-primary--background);color:var(--theme-btn-subtle-primary--color);--ix-button-color:var(--theme-btn-subtle-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-subtle-primary--border-color);border-style:solid}:host .btn-subtle-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-subtle-primary.selected{background-color:var(--theme-btn-subtle-primary--background--pressed);color:var(--theme-btn-subtle-primary--color--pressed)}:host .btn-subtle-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-primary.selected:not(.disabled):not(:disabled):hover,:host .btn-subtle-primary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-subtle-primary--background--pressed-hover);color:var(--theme-btn-subtle-primary--color--pressed-hover)}:host .btn-subtle-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-primary.selected:not(.disabled):not(:disabled):active,:host .btn-subtle-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-subtle-primary--background--pressed-hover);color:var(--theme-btn-subtle-primary--color--pressed-active)}:host .btn-subtle-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-primary:not(.disabled):not(:disabled):hover,:host .btn-subtle-primary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-subtle-primary--border-color--hover);background-color:var(--theme-btn-subtle-primary--background--hover);color:var(--theme-btn-subtle-primary--color--hover)}:host .btn-subtle-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-primary:not(.disabled):not(:disabled):active,:host .btn-subtle-primary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-subtle-primary--border-color--active);background-color:var(--theme-btn-subtle-primary--background--active);color:var(--theme-btn-subtle-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-subtle-primary.disabled,:host(.disabled) .btn-subtle-primary:disabled{pointer-events:none;border-color:var(--theme-btn-subtle-primary--border-color--disabled);background-color:var(--theme-btn-subtle-primary--background--disabled);color:var(--theme-btn-subtle-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-subtle-primary--color--disabled)}:host .btn-subtle-secondary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-subtle-secondary,:host .btn-subtle-secondary.focus,:host .btn-subtle-secondary:focus-visible{background-color:var(--theme-btn-subtle-secondary--background);color:var(--theme-btn-subtle-secondary--color);--ix-button-color:var(--theme-btn-subtle-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-subtle-secondary--border-color);border-style:solid}:host .btn-subtle-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-subtle-secondary.selected{background-color:var(--theme-btn-subtle-secondary--background--pressed);color:var(--theme-btn-subtle-secondary--color--pressed)}:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled):hover,:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-subtle-secondary--background--pressed-hover);color:var(--theme-btn-subtle-secondary--color--pressed-hover)}:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-subtle-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-subtle-secondary--background--pressed-hover);color:var(--theme-btn-subtle-secondary--color--pressed-active)}:host .btn-subtle-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-secondary:not(.disabled):not(:disabled):hover,:host .btn-subtle-secondary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-subtle-secondary--border-color--hover);background-color:var(--theme-btn-subtle-secondary--background--hover);color:var(--theme-btn-subtle-secondary--color--hover)}:host .btn-subtle-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-secondary:not(.disabled):not(:disabled):active,:host .btn-subtle-secondary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-subtle-secondary--border-color--active);background-color:var(--theme-btn-subtle-secondary--background--active);color:var(--theme-btn-subtle-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-subtle-secondary.disabled,:host(.disabled) .btn-subtle-secondary:disabled{pointer-events:none;border-color:var(--theme-btn-subtle-secondary--border-color--disabled);background-color:var(--theme-btn-subtle-secondary--background--disabled);color:var(--theme-btn-subtle-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-subtle-secondary--color--disabled)}:host .btn-subtle-tertiary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-subtle-tertiary,:host .btn-subtle-tertiary.focus,:host .btn-subtle-tertiary:focus-visible{background-color:var(--theme-btn-subtle-tertiary--background);color:var(--theme-btn-subtle-tertiary--color);--ix-button-color:var(--theme-btn-subtle-tertiary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-subtle-tertiary--border-color);border-style:solid}:host .btn-subtle-tertiary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-subtle-tertiary.selected{background-color:var(--theme-btn-subtle-tertiary--background--pressed);color:var(--theme-btn-subtle-tertiary--color--pressed)}:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled):hover,:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-subtle-tertiary--background--pressed-hover);color:var(--theme-btn-subtle-tertiary--color--pressed-hover)}:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled):active,:host .btn-subtle-tertiary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-subtle-tertiary--background--pressed-hover);color:var(--theme-btn-subtle-tertiary--color--pressed-active)}:host .btn-subtle-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-tertiary:not(.disabled):not(:disabled):hover,:host .btn-subtle-tertiary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-subtle-tertiary--border-color--hover);background-color:var(--theme-btn-subtle-tertiary--background--hover);color:var(--theme-btn-subtle-tertiary--color--hover)}:host .btn-subtle-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-subtle-tertiary:not(.disabled):not(:disabled):active,:host .btn-subtle-tertiary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-subtle-tertiary--border-color--active);background-color:var(--theme-btn-subtle-tertiary--background--active);color:var(--theme-btn-subtle-tertiary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-subtle-tertiary.disabled,:host(.disabled) .btn-subtle-tertiary:disabled{pointer-events:none;border-color:var(--theme-btn-subtle-tertiary--border-color--disabled);background-color:var(--theme-btn-subtle-tertiary--background--disabled);color:var(--theme-btn-subtle-tertiary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-subtle-tertiary--color--disabled)}:host .btn-danger-primary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-danger-primary,:host .btn-danger-primary.focus,:host .btn-danger-primary:focus-visible{background-color:var(--theme-btn-danger-primary--background);color:var(--theme-btn-danger-primary--color);--ix-button-color:var(--theme-btn-danger-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-danger-primary--border-color);border-style:solid}:host .btn-danger-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-danger-primary.selected{background-color:var(--theme-btn-danger-primary--background--pressed);color:var(--theme-btn-danger-primary--color--pressed)}:host .btn-danger-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-primary.selected:not(.disabled):not(:disabled):hover,:host .btn-danger-primary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-danger-primary--background--pressed-hover);color:var(--theme-btn-danger-primary--color--pressed-hover)}:host .btn-danger-primary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-primary.selected:not(.disabled):not(:disabled):active,:host .btn-danger-primary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-danger-primary--background--pressed-hover);color:var(--theme-btn-danger-primary--color--pressed-active)}:host .btn-danger-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-primary:not(.disabled):not(:disabled):hover,:host .btn-danger-primary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-danger-primary--border-color--hover);background-color:var(--theme-btn-danger-primary--background--hover);color:var(--theme-btn-danger-primary--color--hover)}:host .btn-danger-primary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-primary:not(.disabled):not(:disabled):active,:host .btn-danger-primary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-danger-primary--border-color--active);background-color:var(--theme-btn-danger-primary--background--active);color:var(--theme-btn-danger-primary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-danger-primary.disabled,:host(.disabled) .btn-danger-primary:disabled{pointer-events:none;border-color:var(--theme-btn-danger-primary--border-color--disabled);background-color:var(--theme-btn-danger-primary--background--disabled);color:var(--theme-btn-danger-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-danger-primary--color--disabled)}:host .btn-danger-secondary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-danger-secondary,:host .btn-danger-secondary.focus,:host .btn-danger-secondary:focus-visible{background-color:var(--theme-btn-danger-secondary--background);color:var(--theme-btn-danger-secondary--color);--ix-button-color:var(--theme-btn-danger-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-danger-secondary--border-color);border-style:solid}:host .btn-danger-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-danger-secondary.selected{background-color:var(--theme-btn-danger-secondary--background--pressed);color:var(--theme-btn-danger-secondary--color--pressed)}:host .btn-danger-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-secondary.selected:not(.disabled):not(:disabled):hover,:host .btn-danger-secondary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-danger-secondary--background--pressed-hover);color:var(--theme-btn-danger-secondary--color--pressed-hover)}:host .btn-danger-secondary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-secondary.selected:not(.disabled):not(:disabled):active,:host .btn-danger-secondary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-danger-secondary--background--pressed-hover);color:var(--theme-btn-danger-secondary--color--pressed-active)}:host .btn-danger-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-secondary:not(.disabled):not(:disabled):hover,:host .btn-danger-secondary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-danger-secondary--border-color--hover);background-color:var(--theme-btn-danger-secondary--background--hover);color:var(--theme-btn-danger-secondary--color--hover)}:host .btn-danger-secondary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-secondary:not(.disabled):not(:disabled):active,:host .btn-danger-secondary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-danger-secondary--border-color--active);background-color:var(--theme-btn-danger-secondary--background--active);color:var(--theme-btn-danger-secondary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-danger-secondary.disabled,:host(.disabled) .btn-danger-secondary:disabled{pointer-events:none;border-color:var(--theme-btn-danger-secondary--border-color--disabled);background-color:var(--theme-btn-danger-secondary--background--disabled);color:var(--theme-btn-danger-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-danger-secondary--color--disabled)}:host .btn-danger-tertiary{border-top-left-radius:var(--ix-button-border-radius-left);border-bottom-left-radius:var(--ix-button-border-radius-left);border-top-right-radius:var(--ix-button-border-radius-right);border-bottom-right-radius:var(--ix-button-border-radius-right)}:host .btn-danger-tertiary,:host .btn-danger-tertiary.focus,:host .btn-danger-tertiary:focus-visible{background-color:var(--theme-btn-danger-tertiary--background);color:var(--theme-btn-danger-tertiary--color);--ix-button-color:var(--theme-btn-danger-tertiary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-danger-tertiary--border-color);border-style:solid}:host .btn-danger-tertiary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .btn-danger-tertiary.selected{background-color:var(--theme-btn-danger-tertiary--background--pressed);color:var(--theme-btn-danger-tertiary--color--pressed)}:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled):hover,:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled).hover{background-color:var(--theme-btn-danger-tertiary--background--pressed-hover);color:var(--theme-btn-danger-tertiary--color--pressed-hover)}:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled):active,:host .btn-danger-tertiary.selected:not(.disabled):not(:disabled).active{background-color:var(--theme-btn-danger-tertiary--background--pressed-hover);color:var(--theme-btn-danger-tertiary--color--pressed-active)}:host .btn-danger-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-tertiary:not(.disabled):not(:disabled):hover,:host .btn-danger-tertiary:not(.disabled):not(:disabled).hover{border-color:var(--theme-btn-danger-tertiary--border-color--hover);background-color:var(--theme-btn-danger-tertiary--background--hover);color:var(--theme-btn-danger-tertiary--color--hover)}:host .btn-danger-tertiary:not(.disabled):not(:disabled){cursor:pointer}:host .btn-danger-tertiary:not(.disabled):not(:disabled):active,:host .btn-danger-tertiary:not(.disabled):not(:disabled).active{border-color:var(--theme-btn-danger-tertiary--border-color--active);background-color:var(--theme-btn-danger-tertiary--background--active);color:var(--theme-btn-danger-tertiary--color--active)}:host(.disabled){pointer-events:none}:host(.disabled) .btn-danger-tertiary.disabled,:host(.disabled) .btn-danger-tertiary:disabled{pointer-events:none;border-color:var(--theme-btn-danger-tertiary--border-color--disabled);background-color:var(--theme-btn-danger-tertiary--background--disabled);color:var(--theme-btn-danger-tertiary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-danger-tertiary--color--disabled)}*,*::after,*::before{box-sizing:border-box}::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){*{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}::-webkit-scrollbar{width:0.5rem;height:0.5rem}::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}::-webkit-scrollbar-corner{display:none}:host{display:inline-flex;justify-content:center;align-items:center}:host button{width:100%;height:100%;overflow:hidden;padding:0}:host button.btn-oval{border-radius:6.25rem}:host .icon{color:var(--ix-icon-button-color, currentColor);margin:0}:host ix-spinner{margin:0}:host(.btn-icon-12){height:1rem;width:1rem;min-width:1rem;min-height:1rem}:host(.btn-icon-16){height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}:host(.btn-icon-32){height:2rem;width:2rem;min-width:2rem;min-height:2rem}";export{n as ix_icon_toggle_button}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as s}from"./p-BEPo7U1W.js";const i=[{name:"sm",query:"only screen and (max-width: 576px)"},{name:"md",query:"only screen and (max-width: 768px)"},{name:"lg",query:"only screen and (max-width: 992px)"}],n=class{constructor(e){t(this,e),this.disposeMediaQueryListener=[],this.mediaQueries=[]}componentWillRender(){this.mediaQueries=i.map((t=>{const e=window.matchMedia(t.query),s=()=>{this.applyTemplate()};return this.disposeMediaQueryListener.push(s),e.addEventListener("change",s),Object.assign(Object.assign({},t),{mediaQuery:e})})),this.applyTemplate()}disconnectedCallback(){this.mediaQueries.forEach(((t,e)=>{t.mediaQuery.removeEventListener("change",this.disposeMediaQueryListener[e])}))}findNextTemplate(t){if(!this.templates)return[];const e=this.mediaQueries.findIndex((e=>e.name===t));return this.templates[this.mediaQueries[e+1].name]||this.findNextTemplate(this.mediaQueries[e+1].name)}applyTemplate(){if(!this.templates)return;let t=this.mediaQueries.find((t=>t.mediaQuery.matches));t||(t=this.mediaQueries[this.mediaQueries.length-1]);this.currentTemplate=this.templates[t.name]||this.findNextTemplate(t.name)}render(){const t={};return this.currentTemplate&&0!==this.currentTemplate.length&&(t["grid-template-areas"]=function(t){let e="";return t.forEach((t=>{e+='"',e=t.reduce(((t,e)=>`${t} ${e}`),e),e+='"\n'})),e}(this.currentTemplate)),e(s,{key:"470c3da8301e7d99e603b78cfd9c2883e4801c76",style:t},e("slot",{key:"64f7e86981ba37aeb20223bd672bc1190dba4619"}))}};n.style=":host{display:grid;position:relative;row-gap:1.5rem;-moz-column-gap:1.5rem;column-gap:1.5rem}";export{n as ix_css_grid}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as o,g as e}from"./p-BEPo7U1W.js";import{f as r,i as h,s as a,o as n,a as d,c as l}from"./p-CAqtPJ4-.js";import{a as c}from"./p-CKoABG1h.js";import{f as m}from"./p-CFRrPFxi.js";import{A as u}from"./p-CUWFODSd.js";import{m as b}from"./p-bcj7UEIC.js";import{r as w}from"./p-BEuV0Xpe.js";import{d as p,h as v}from"./p-D3K9vmFp.js";let g=0;const f=class{constructor(s){t(this,s),this.showChanged=i(this,"showChanged",7),this.suppressAutomaticPlacement=!1,this.show=!1,this.closeBehavior="both",this.placement="bottom-start",this.positioningStrategy="fixed",this.discoverAllSubmenus=!1,this.ignoreRelatedSubmenu=!1,this.suppressOverflowBehavior=!1,this.enableTopLayer=!1,this.dialogRef=b(),this.localUId="dropdown-"+g++,this.assignedSubmenu=[],this.itemObserver=new MutationObserver((()=>{this.arrowFocusController&&(this.arrowFocusController.items=this.dropdownItems)}))}connectedCallback(){p.connected(this),null!=this.trigger&&this.registerListener(this.trigger)}cacheSubmenuId(t){t.stopImmediatePropagation(),t.preventDefault();const{detail:i}=t;-1===this.assignedSubmenu.indexOf(i)&&this.assignedSubmenu.push(i)}disconnectedCallback(){var t;p.dismiss(this),p.disconnected(this),this.arrowFocusController&&(null===(t=this.arrowFocusController)||void 0===t||t.disconnect(),this.arrowFocusController=void 0),this.itemObserver&&(this.itemObserver.disconnect(),this.itemObserver=void 0),this.disposeClickListener&&(this.disposeClickListener(),this.disposeClickListener=void 0),this.disposeKeyListener&&(this.disposeKeyListener(),this.disposeKeyListener=void 0),this.autoUpdateCleanup&&(this.autoUpdateCleanup(),this.autoUpdateCleanup=void 0)}getAssignedSubmenuIds(){return this.assignedSubmenu}isPresent(){return this.show}present(){this.show=!0}dismiss(){this.show=!1}getId(){return this.localUId}willDismiss(){const{defaultPrevented:t}=this.showChanged.emit(!1);return!t}willPresent(){const{defaultPrevented:t}=this.showChanged.emit(!0);return!t}get dropdownItems(){return Array.from(this.hostElement.querySelectorAll("ix-dropdown-item"))}get slotElement(){return this.hostElement.shadowRoot.querySelector("slot")}addEventListenersFor(){var t,i,s;null===(t=this.disposeClickListener)||void 0===t||t.call(this),null===(i=this.disposeKeyListener)||void 0===i||i.call(this);const o=()=>{this.isPresent()?p.dismiss(this):p.present(this),p.dismissOthers(this.getId())};this.triggerElement&&(this.disposeClickListener=c(this.triggerElement,"click",(t=>{t.defaultPrevented||o()})),null===(s=this.triggerElement)||void 0===s||s.setAttribute("data-ix-dropdown-trigger",this.localUId))}async discoverSubmenu(){var t;null===(t=this.triggerElement)||void 0===t||t.dispatchEvent(new CustomEvent("ix-assign-sub-menu",{bubbles:!0,composed:!0,cancelable:!0,detail:this.localUId}))}registerKeyListener(){this.triggerElement&&(this.disposeKeyListener=c(this.triggerElement,"keydown",(t=>{"ArrowDown"===t.key&&document.activeElement===this.triggerElement&&(p.present(this),setTimeout((()=>{this.focusDropdownItem(0)})))})))}async registerListener(t){this.triggerElement=await this.resolveElement(t),this.triggerElement&&(this.addEventListenersFor(),this.discoverSubmenu())}async resolveElement(t){const i=await m(t);return this.checkForSubmenuAnchor(i)}async checkForSubmenuAnchor(t){if(t)return v(t)&&((await t.getDropdownItemElement()).isSubMenu=!0,this.hostElement.style.zIndex="var(--theme-z-index-dropdown)"),"IX-DROPDOWN-ITEM"===t.tagName&&(t.isSubMenu=!0,this.hostElement.style.zIndex="var(--theme-z-index-dropdown)"),t}async resolveAnchorElement(){this.anchor?this.anchorElement=await this.resolveElement(this.anchor):this.trigger&&(this.anchorElement=await this.resolveElement(this.trigger))}async changedShow(t){var i;if(!t)return this.cleanupOnHide(),void(this.enableTopLayer&&await this.hideDropdownAsync());this.arrowFocusController=new u(this.dropdownItems,this.hostElement,(t=>this.focusDropdownItem(t))),null===(i=this.itemObserver)||void 0===i||i.observe(this.hostElement,{childList:!0,subtree:!0}),this.registerKeyListener(),this.enableTopLayer?await this.showDropdownAsync():(await this.resolveAnchorElement(),this.anchorElement&&this.applyDropdownPosition())}changedTrigger(t){this.registerListener(t)}destroyAutoUpdate(){this.autoUpdateCleanup&&(this.autoUpdateCleanup(),this.autoUpdateCleanup=void 0)}isAnchorSubmenu(){var t;return!!v(this.anchorElement)||!!(null===(t=this.anchorElement)||void 0===t?void 0:t.closest("ix-dropdown-item"))}async showDropdownAsync(){const t=await this.dialogRef.waitForCurrent();t&&(t.showPopover(),await this.resolveAnchorElement(),this.anchorElement?this.applyDropdownPosition():w((()=>{const i=(this.hostElement.parentElement||this.hostElement).getBoundingClientRect(),s=`translate(${Math.round(i.left)}px, ${Math.round(i.top)}px)`;Object.assign(t.style,{top:"0",left:"0",transform:s})})))}async hideDropdownAsync(){const t=await this.dialogRef.waitForCurrent();(null==t?void 0:t.matches(":popover-open"))&&t.hidePopover()}cleanupOnHide(){var t,i,s;this.destroyAutoUpdate(),null===(t=this.arrowFocusController)||void 0===t||t.disconnect(),null===(i=this.itemObserver)||void 0===i||i.disconnect(),null===(s=this.disposeKeyListener)||void 0===s||s.call(this)}async applyDropdownPosition(){var t,i;if(!this.show)return;if(!this.anchorElement)return;const s=this.anchorElement,o=this.isAnchorSubmenu();let e=this.hostElement,c=this.positioningStrategy;if(this.enableTopLayer){const t=await this.dialogRef.waitForCurrent();if(!t)return;e=t,c="fixed"}let m={strategy:c,middleware:[]};this.suppressAutomaticPlacement||null===(t=m.middleware)||void 0===t||t.push(r({fallbackStrategy:"initialPlacement"})),m.placement=o?"right-start":this.placement,m.middleware=[...(null===(i=m.middleware)||void 0===i?void 0:i.filter(Boolean))||[],h(),a()],this.offset&&m.middleware.push(n(this.offset)),this.destroyAutoUpdate(),this.autoUpdateCleanup=d(s,e,(async()=>{const t=await l(s,e,m);if(Object.assign(e.style,{top:"0",left:"0",transform:`translate(${Math.round(t.x)}px,${Math.round(t.y)}px)`}),this.overwriteDropdownStyle){const t=await this.overwriteDropdownStyle({dropdownRef:e,triggerRef:this.triggerElement});Object.assign(e.style,t)}}),{ancestorResize:!0,ancestorScroll:!0,elementResize:!0})}focusDropdownItem(t){w((()=>{var i,s;const o=null===(s=null===(i=this.dropdownItems[t])||void 0===i?void 0:i.shadowRoot)||void 0===s?void 0:s.querySelector("button");o&&o.focus()}))}async componentDidLoad(){this.show&&this.changedShow(!0),this.trigger&&this.changedTrigger(this.trigger)}async componentDidRender(){await this.applyDropdownPosition(),await this.resolveAnchorElement()}isTriggerElement(t){return!!t.hasAttribute("data-ix-dropdown-trigger")}onDropdownClick(t){const i=p.pathIncludesTrigger(t.composedPath());i&&(i!==this.triggerElement&&t.preventDefault(),this.isTriggerElement(i))?"outside"===this.closeBehavior&&t.preventDefault():t.defaultPrevented||"inside"!==this.closeBehavior&&"both"!==this.closeBehavior?p.dismissOthers(this.getId()):p.dismissAll([this.getId()],this.ignoreRelatedSubmenu)}async updatePosition(){this.applyDropdownPosition()}render(){return this.enableTopLayer?s(o,{"data-ix-dropdown":this.localUId,class:{"dropdown-menu":!0,show:this.show}},s("dialog",{ref:this.dialogRef,class:{dialog:!0,overflow:!this.suppressOverflowBehavior},popover:"manual","aria-modal":"true","aria-label":this.header,tabindex:-1,onClick:t=>this.onDropdownClick(t)},s("div",{class:"dropdown-container"},this.header&&s("div",{class:"dropdown-header"},this.header),this.show&&s("slot",null)))):s(o,{"data-ix-dropdown":this.localUId,class:{"dropdown-menu":!0,show:this.show,overflow:!this.suppressOverflowBehavior},style:{margin:"0",minWidth:"0px",position:this.positioningStrategy},role:"list",onClick:t=>this.onDropdownClick(t)},s("div",{style:{display:"contents"}},this.header&&s("div",{class:"dropdown-header"},this.header),this.show&&s("slot",null)))}get hostElement(){return e(this)}static get watchers(){return{show:[{changedShow:0}],trigger:[{changedTrigger:0}]}}};f.style=":host{background-color:var(--theme-color-2);border-radius:var(--theme-default-border-radius);min-width:0px;z-index:var(--theme-z-index-dropdown);box-shadow:var(--theme-shadow-4);padding:0.25rem 0px}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .dropdown-header{display:flex;align-items:center;height:2.5rem;color:var(--theme-menu-header--color);padding:0 1rem}:host(.overflow){max-height:calc(50vh - 3rem);overflow-y:auto}:host(:not(.show)){display:none}.dialog{margin:0;border:none;outline:none;padding:0.25rem 0px;min-width:0;max-width:100vw;width:-moz-max-content;width:max-content;height:-moz-fit-content;height:fit-content;background-color:var(--theme-color-2);border-radius:var(--theme-default-border-radius);box-shadow:var(--theme-shadow-4);overflow-x:visible;overflow-y:visible;inset:unset;color-scheme:inherit;color:var(--theme-color-std-text);box-sizing:border-box}.dialog *,.dialog *::after,.dialog *::before{box-sizing:border-box}.dialog .dropdown-container{display:block;position:relative}.dialog .dropdown-header{display:flex;align-items:center;height:2.5rem;color:var(--theme-menu-header--color);padding:0 1rem}.dialog.overflow{max-height:calc(50vh - 3rem);overflow-y:auto}";export{f as ix_dropdown}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as a,H as r,g as s}from"./p-BEPo7U1W.js";import{U as i}from"./p-BGzrnl_l.js";import{c as o,i as l}from"./p-BBzEV-f4.js";import{b as n}from"./p-DAzBNVe7.js";const h=class{get inputElement(){return this.hostElement.shadowRoot.querySelector("#upload-browser")}constructor(a){e(this,a),this.filesChanged=t(this,"filesChanged",7),this.multiple=!1,this.multiline=!1,this.disabled=!1,this.state=i.SELECT_FILE,this.selectFileText="+ Drag files here or…",this.loadingText="Checking files…",this.uploadFailedText="Upload failed. Please try again.",this.uploadSuccessText="Upload successful",this.i18nUploadFile="Upload file…",this.i18nUploadDisabled="File upload currently not possible.",this.isFileOver=!1,this.a11y={}}componentWillLoad(){this.a11y=n(this.hostElement)}fileDropped(e){if(e.preventDefault(),this.disabled)return;if(!e.dataTransfer)return;const t=e.dataTransfer.files;this.isFileOver=!1,this.filesToUpload=this.convertToFileArray(t),this.filesChanged.emit(this.filesToUpload)}fileOver(e){e.dataTransfer&&(this.state!==i.LOADING&&(e.preventDefault(),e.dataTransfer.dropEffect="move"),!this.multiple&&e.dataTransfer.items.length>1?(e.preventDefault(),e.stopPropagation(),e.dataTransfer.effectAllowed="none",e.dataTransfer.dropEffect="none"):this.isFileOver=!0)}fileLeave(){this.isFileOver=!1}fileChangeEvent(e){this.disabled||e.target&&(this.filesToUpload=this.convertToFileArray(e.target.files),this.filesChanged.emit(this.filesToUpload),this.inputElement.type="",this.inputElement.type="file")}convertToFileArray(e){let t=[];return e?(t=e instanceof FileList?Array.from(e):[e],t):[]}renderUploadState(){if(this.disabled)return a("span",{class:"state"},a("span",{class:"upload-text"},this.i18nUploadDisabled));switch(this.state){case i.SELECT_FILE:return a("span",{class:"state"},a("span",{class:"upload-text"},this.selectFileText));case i.LOADING:return a("span",{class:"state"},a("ix-spinner",{variant:"primary"}),a("span",{class:"upload-text"},this.loadingText));case i.UPLOAD_FAILED:return a("span",{class:"state"},a("ix-icon",{name:l,class:"icon-error"}),a("span",{class:"upload-text"},this.uploadFailedText));case i.UPLOAD_SUCCESSED:return a("span",{class:"state"},a("ix-icon",{name:o,class:"icon-success"}),a("span",{class:"upload-text"},this.uploadSuccessText));default:return""}}async setFilesToUpload(e){this.filesToUpload=e}render(){const e=this.disabled||this.state===i.LOADING,t=this.a11y,{"aria-label":s="Upload files"}=t,o=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(a[r[s]]=e[r[s]])}return a}(t,["aria-label"]);return a(r,Object.assign({key:"f6688a85aea9e0d89501ad0228672c3d8e7d1510"},o,{"aria-disabled":e}),a("div",{key:"df7497428db60a2b3e67a4363c646cfe6b48ad00",class:{"file-upload-area":!0,"file-over":this.state!==i.LOADING&&this.isFileOver,checking:this.state===i.LOADING,disabled:this.disabled,multiline:this.multiline},onDrop:e=>{this.state!==i.LOADING&&this.fileDropped(e)},onDragOver:e=>this.fileOver(e),onDragLeave:()=>this.fileLeave()},this.renderUploadState(),a("div",{key:"2d5be47bf62d7ee550161a9f3144360008a8c15a"},a("input",{key:"65906ff25aef00a22ba14ca0c9ac06f5ba2f0a14","aria-label":s,"aria-disabled":e,multiple:this.multiple,type:"file",class:"upload-browser",id:"upload-browser",tabindex:"-1",onChange:e=>{this.fileChangeEvent(e)},accept:this.accept,disabled:e}),a("ix-button",{key:"2aa95b1069cf60552bee194095cb2cb6cdc66d65",variant:"secondary","aria-disabled":e,onClick:()=>this.inputElement.click(),disabled:e},this.i18nUploadFile))))}get hostElement(){return s(this)}};h.style=":host{display:block;min-height:4rem;height:4rem}: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 .file-upload-area{display:flex;flex-direction:row;align-items:center;justify-content:space-between;overflow:hidden;height:100%;width:100%;padding:1rem;border:1px dashed var(--theme-upload--border-color);border-radius:var(--theme-upload--border-radius);color:var(--theme-upload-text--color)}:host .file-upload-area.multiline{max-height:unset;height:auto}:host .file-upload-area.multiline .glyph{align-self:flex-start;margin-block-start:3px}:host .file-upload-area.multiline>div{align-self:flex-start}:host .file-upload-area:not(.multiline) .state,:host .file-upload-area:not(.multiline) .upload-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .file-upload-area:not(.disabled).file-over{border-color:var(--theme-upload--border-color--dragover);border-style:solid}:host .file-upload-area.checking{color:var(--theme-upload-text--color--checking);border-style:solid}:host .file-upload-area.disabled{border-style:solid;color:var(--theme-upload-text--color--disabled)}:host .file-upload-area ix-button{margin-inline-start:1rem}:host .file-upload-area .upload-browser{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}:host .file-upload-area .loader{margin:2.187rem auto;font-size:0.937rem;width:1rem;height:1rem;border-radius:50%;position:relative;text-indent:-9999em;animation:optimise-loading 1.1s infinite ease;transform:translateZ(0)}:host .file-upload-area .upload-filename{margin-bottom:1rem}:host .file-upload-area .state{display:flex;align-items:center}:host .file-upload-area .state>ix-spinner{margin-inline-end:0.5rem}:host .file-upload-area .state>ix-icon{margin-inline-end:0.5rem}:host .file-upload-area .state>ix-icon.icon-error{color:var(--theme-color-alarm)}:host .file-upload-area .state>ix-icon.icon-success{color:var(--theme-color-success)}:host(.disabled){pointer-events:none}";export{h as ix_upload}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as t,H as o,g as e}from"./p-BEPo7U1W.js";import{q as a,g as s}from"./p-BBzEV-f4.js";import{a as i}from"./p-DAzBNVe7.js";import{m as l}from"./p-bcj7UEIC.js";const n=class{constructor(t){r(this,t),this.variant="primary",this.disabled=!1,this.closeBehavior="both",this.enableTopLayer=!1,this.dropdownShow=!1,this.dropdownAnchor=l(),this.onDropdownShowChanged=r=>{this.disabled&&r.detail||(this.dropdownShow=r.detail)}}getTriangle(){return t("div",{class:{triangle:!0,[this.variant]:!0,hide:!!this.label,disabled:this.disabled}})}render(){var r,e;return t(o,{key:"2232add1b732f43028df1725baa05a08ce025b69","aria-disabled":i(this.disabled),class:{disabled:this.disabled},ref:this.dropdownAnchor},t("div",{key:"0bbbbef21fd826b770c8231e449dd5beb9d799e1",class:"dropdown-button"},this.label?t("ix-button",{variant:this.variant,disabled:this.disabled,alignment:"start",ariaLabelButton:null!==(r=this.ariaLabelDropdownButton)&&void 0!==r?r:this.dropdownShow?"Close dropdown":"Open dropdown",tabIndex:this.disabled?-1:0},t("div",{class:"content"},this.icon?t("ix-icon",{name:this.icon,size:"24",class:"dropdown-icon"}):null,t("div",{class:"button-label"},this.label),t("ix-icon",{name:this.dropdownShow?a:s,size:"24"}))):t("div",null,t("ix-icon-button",{icon:this.icon,variant:this.variant,disabled:this.disabled,tabIndex:this.disabled?-1:0,"aria-label":null!==(e=this.ariaLabelDropdownButton)&&void 0!==e?e:this.dropdownShow?"Close dropdown":"Open dropdown"}),this.getTriangle())),t("ix-dropdown",{key:"656053246dbf11c11da0cd70114b2fdb107cc320",class:"dropdown",trigger:this.dropdownAnchor.waitForCurrent(),placement:this.placement,closeBehavior:this.closeBehavior,enableTopLayer:this.enableTopLayer,onShowChanged:this.onDropdownShowChanged},t("slot",{key:"feeae55a471643b170804911b9fdf5107a70ec7e"})))}get hostElement(){return e(this)}};n.style=":host{display:inline-block;position:relative;height:2rem;width:auto}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .hide{display:none}:host .dropdown-button{display:block;position:relative;width:100%;height:100%}:host .dropdown-button>ix-button{width:100%;height:100%}:host .dropdown-button .button-label{margin-right:auto;min-width:0px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:host .dropdown-button .dropdown-icon{margin-right:0.25rem}:host .triangle{position:absolute;margin-inline-start:1.5625rem;margin-block-start:-0.4375rem;border-right:0 solid transparent;border-left:4px solid transparent;border-top:0 solid transparent;border-bottom:4px solid;color:var(--theme-btn-primary--color)}:host .triangle.primary{color:var(--theme-btn-primary--color)}:host .triangle.secondary{color:var(--theme-btn-secondary--color)}:host .triangle.tertiary{color:var(--theme-btn-tertiary--color)}:host .triangle.primary.disabled{color:var(--theme-btn-primary--color--disabled)}:host .triangle.secondary.disabled{color:var(--theme-btn-secondary--color--disabled)}:host .triangle.tertiary.disabled{color:var(--theme-btn-tertiary--color--disabled)}:host .triangle.subtle-primary{color:var(--theme-btn-subtle-primary--color)}:host .triangle.subtle-secondary{color:var(--theme-btn-subtle-secondary--color)}:host .triangle.subtle-tertiary{color:var(--theme-btn-subtle-tertiary--color)}:host .triangle.subtle-primary.disabled{color:var(--theme-btn-subtle-primary--color--disabled)}:host .triangle.subtle-secondary.disabled{color:var(--theme-btn-subtle-secondary--color--disabled)}:host .triangle.subtle-tertiary.disabled{color:var(--theme-btn-subtle-tertiary--color--disabled)}:host .triangle.danger-primary{color:var(--theme-btn-danger-primary--color)}:host .triangle.danger-secondary{color:var(--theme-btn-danger-secondary--color)}:host .triangle.danger-tertiary{color:var(--theme-btn-danger-tertiary--color)}:host .triangle.danger-primary.disabled{color:var(--theme-btn-danger-primary--color--disabled)}:host .triangle.danger-secondary.disabled{color:var(--theme-btn-danger-secondary--color--disabled)}:host .triangle.danger-tertiary.disabled{color:var(--theme-btn-danger-tertiary--color--disabled)}:host .content{display:flex;align-items:center}:host(.disabled){pointer-events:none}";export{n as ix_dropdown_button}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as a,H as i}from"./p-BEPo7U1W.js";import{m as s}from"./p-BBzEV-f4.js";const o=class{constructor(a){e(this,a),this.backButtonClick=t(this,"backButtonClick",7),this.variant="primary",this.headerSubtitle=void 0,this.hasBackButton=!1}render(){return a(i,{key:"b422be3706aac399ed76b4c491d61e2da8561b24"},this.hasBackButton?a("ix-icon-button",{class:"backButton",variant:"tertiary",icon:s,onClick:()=>this.backButtonClick.emit()}):null,a("div",{key:"7606ba97f834f591a78fc2cca74bdaf3b3a09feb",class:"titleGroup"},a("div",{key:"df174e297a1b2075bcab0182a80f626162d1c319",class:"headerTitleRow"},a("ix-typography",{key:"d8ab10dc801306dafe0f3e6e39ed93e0fa162ca1",format:"secondary"===this.variant?"h4":"h3",class:{secondary:"secondary"===this.variant,titleOverflow:!0}},this.headerTitle),a("div",{key:"e24d6b450426931aaead3732fa20161bc5aab4e2",class:"headerSlot"},a("slot",{key:"e9a471492f2693fc6abe546d1febbc06834fef1c",name:"header"}))),!!this.headerSubtitle&&a("ix-typography",{key:"5fdb5ebce68a3aae09df3299093bca156468933c",format:"h6","text-color":"soft",class:{subtitle:"secondary"===this.variant,titleOverflow:!0},title:this.headerSubtitle},this.headerSubtitle)),a("div",{key:"6648f93246d2e8d79cc2d3e7eae65009d578632c",class:"buttons"},a("slot",{key:"1c3ee8084521a9a799e3b2444b1edc0c1cee5066"})))}};o.style=":host{display:flex;flex-direction:row;align-items:flex-start;padding:0}:host .titleGroup{display:flex;flex-direction:column;flex:1 1 0;min-width:0;white-space:nowrap;margin-right:0.5rem}:host .titleGroup .titleOverflow{overflow:hidden;text-overflow:ellipsis}:host .titleGroup .headerTitleRow{display:flex}:host .titleGroup .headerTitleRow .headerSlot{display:inline-flex;margin-left:0.5rem}:host .titleGroup .secondary{padding:0.25rem 0}:host .subtitle{margin-top:-0.125rem}:host .backButton{margin-right:0.5rem}:host .buttons{flex:0 0 auto}";export{o as ix_content_header}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as s}from"./p-BEPo7U1W.js";const o=class{constructor(t){e(this,t),this.striped=!1}render(){return t(s,{key:"8ac8c1edacddbe11072e692c165c338bdaa6fcdf",class:{keyValueList:!0,"keyValueList--striped":this.striped}},t("slot",{key:"844c573286e6022f4d3f53086b584425306f7f1e"}))}};o.style=":host(.keyValueList) ::slotted(ix-key-value){border-bottom:1px solid var(--theme-color-weak-bdr)}:host(.keyValueList.keyValueList--striped) ::slotted(ix-key-value:nth-child(odd)){background:var(--theme-color-ghost-alt)}";export{o as ix_key_value_list}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as o,H as i}from"./p-BEPo7U1W.js";const a=class{constructor(o){t(this,o),this.timeChange=e(this,"timeChange",7),this.dateChange=e(this,"dateChange",7),this.dateSelect=e(this,"dateSelect",7),this.singleSelection=!1,this.dateFormat="yyyy/LL/dd",this.timeFormat="HH:mm:ss",this.showTimeReference=!1,this.i18nDone="Done",this.i18nTime="Time",this.ariaLabelPreviousMonthButton="Previous month",this.ariaLabelNextMonthButton="Next month",this.weekStartIndex=0,this.showWeekNumbers=!1}async onDone(){var t,e,o,i;const a=await(null===(t=this.datePickerElement)||void 0===t?void 0:t.getCurrentDate()),r=await(null===(e=this.timePickerElement)||void 0===e?void 0:e.getCurrentTime());this.dateSelect.emit({from:null!==(o=null==a?void 0:a.from)&&void 0!==o?o:"",to:null!==(i=null==a?void 0:a.to)&&void 0!==i?i:"",time:null!=r?r:""})}async onDateChange(t){t.preventDefault(),t.stopPropagation();const{detail:e}=t;this.dateChange.emit(e)}async onTimeChange(t){t.preventDefault(),t.stopPropagation();const{detail:e}=t;this.timeChange.emit(e)}render(){return o(i,{key:"b9d86c0b546ff3dd211233be90f45cf340904392"},o("ix-layout-grid",{key:"70904c2a642e1365186ce7e7d4b9bf5adb79eefb",class:"no-padding"},o("ix-row",{key:"434f29448c882e9699b36f5f6556a685d9c62b94",class:"row-separator"},o("ix-col",{key:"869ff4df2ee82fd9d5e852b466b7a82f56dd5cf4",class:"col-separator"},o("ix-date-picker",{key:"2f5de1e8d151e03d09c57c365a7cfa25e3c8beb1",ref:t=>this.datePickerElement=t,corners:"left",singleSelection:this.singleSelection,onDateChange:t=>this.onDateChange(t),from:this.from,to:this.to,format:this.dateFormat,minDate:this.minDate,maxDate:this.maxDate,weekStartIndex:this.weekStartIndex,embedded:!0,locale:this.locale,showWeekNumbers:this.showWeekNumbers,ariaLabelPreviousMonthButton:this.ariaLabelPreviousMonthButton,ariaLabelNextMonthButton:this.ariaLabelNextMonthButton})),o("ix-col",{key:"118da04fff83d0c5980dddf257e9065b73d48e6e"},o("ix-time-picker",{key:"93683737b572f841bc3b5e0158013cff8f0c0015",class:"min-width",ref:t=>this.timePickerElement=t,embedded:!0,dateTimePickerAppearance:!0,onTimeChange:t=>this.onTimeChange(t),format:this.timeFormat,time:this.time}))),o("ix-row",{key:"d2b71237c70c8305ba5ccf7026d03e7b32445bae"},o("ix-col",{key:"5da543ff42da3110b1cdfdd1690c0ccd5612e3de"},o("div",{key:"1fc6d77082b8dd7469ab417a9837007b46efcdf0",class:"btn-select-date-container"},o("ix-button",{key:"35678b604a1f84eeeea63d0566c3f51895956a1f",class:"btn-select-date",onClick:()=>this.onDone()},this.i18nDone))))))}};a.style=":host{display:block;background-color:var(--theme-menu--background);border-radius:4px;position:relative;width:-moz-min-content;width:min-content}: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-layout-grid{border-radius:0.25rem;box-shadow:var(--theme-shadow-4)}:host ix-time-picker{width:100%}:host .no-padding{padding:0}:host ix-col{display:flex;flex-direction:column;padding:0}:host .flex{display:flex;justify-content:center;flex-direction:column}:host .row-separator,:host .col-separator{border-bottom:0.0625rem solid var(--theme-datepicker-separator--background)}:host .col-separator{border-right:none}@media (min-width: 576px){:host{min-width:-moz-max-content;min-width:max-content}:host .btn-select-date-container{display:inline-flex;flex-grow:1}:host .btn-select-date-container ix-button{margin-left:auto;margin-top:auto}:host .min-width{width:-moz-min-content;width:min-content}:host ix-time-picker{width:initial}:host .col-separator{border-right:0.0625rem solid var(--theme-datepicker-separator--background);border-bottom:none}}:host .individual{box-shadow:none;border:none}:host .btn-select-date-container{padding:1rem}@media (max-width: 576px){:host .btn-select-date-container .btn-select-date{width:100%}}";export{a as ix_datetime_picker}
|