@siemens/ix 4.4.0 → 5.1.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-application-sidebar.d.ts → ix-popover-content.d.ts} +4 -4
- package/components/ix-popover-content.js +1 -0
- package/components/ix-popover-footer.d.ts +11 -0
- package/components/ix-popover-footer.js +1 -0
- package/components/ix-popover-header.d.ts +11 -0
- package/components/ix-popover-header.js +1 -0
- package/components/ix-popover-image.d.ts +11 -0
- package/components/ix-popover-image.js +1 -0
- package/components/ix-popover.d.ts +11 -0
- package/components/ix-popover.js +1 -0
- 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-tab-panel.d.ts +11 -0
- 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-3VG6z9c3.js +1 -0
- package/components/p-4pTtJwcY.js +1 -0
- package/components/p-5ntkLbuJ.js +1 -0
- package/components/{p-BWRJteYa.js → p-7HGOhDMX.js} +1 -1
- package/components/p-B-O0ylt_.js +1 -0
- package/components/p-BBCsPlPH.js +1 -0
- package/components/p-BDlGgfYh.js +1 -0
- package/components/p-BL9SR36X.js +1 -0
- package/components/p-BNAvpXSk.js +1 -0
- package/components/p-BST8QY5w.js +1 -0
- package/components/p-BWH03B1n.js +1 -0
- package/components/p-BWknDysp.js +1 -0
- package/components/p-BbW5EIKF.js +1 -0
- package/components/p-BbwShqw_.js +1 -0
- package/components/p-BtSt9tC5.js +1 -0
- package/components/p-BuBQiemL.js +1 -0
- package/components/p-Bxrgt3H_.js +1 -0
- package/components/p-Byed_Z2G.js +1 -0
- package/components/p-BzFLbXmT.js +1 -0
- package/components/p-C-sZLWci.js +1 -0
- package/components/p-C0WZnIxc.js +1 -0
- package/components/p-C21npbUc.js +1 -0
- package/components/p-C2jvmCOl.js +1 -0
- package/components/p-C5UTTqsv.js +1 -0
- package/components/p-C9HBQRMb.js +1 -0
- package/components/p-CAH3dF6j.js +1 -0
- package/components/p-CApDAYIa.js +1 -0
- package/components/{p-CRcg3Wl9.js → p-CDf5TQum.js} +1 -1
- package/components/p-CG9cQxRO.js +1 -0
- package/components/p-CGHbrmJg.js +1 -0
- package/components/p-CIA8i4dm.js +1 -0
- package/components/p-CJoOEoc-.js +1 -0
- package/components/p-CMtwWb3-.js +1 -0
- package/components/p-CNLoALIl.js +1 -0
- package/components/p-CT5pAQCz.js +1 -0
- package/components/p-CTbTAb9U.js +1 -0
- package/components/p-CWlPNXA-.js +1 -0
- package/components/p-CWshStHZ.js +1 -0
- package/components/p-CpOGS2e_.js +1 -0
- package/components/p-CrDBjFhu.js +1 -0
- package/components/p-CrLxhwo2.js +1 -0
- package/components/p-CtDOTMOT.js +1 -0
- package/components/p-CuFZ7CXu.js +1 -0
- package/components/p-Cy2KAdml.js +1 -0
- package/components/p-Czy7a3I4.js +1 -0
- package/components/{p-DSTYytot.js → p-D5rshXh5.js} +1 -1
- package/components/p-DDvuSQX3.js +1 -0
- package/components/p-DHydRnvu.js +1 -0
- package/components/p-DKH7tPDu.js +1 -0
- package/components/p-DM7ma3Eh.js +1 -0
- package/components/p-DNIQ2C1K.js +1 -0
- package/components/p-DRw2l8Az.js +1 -0
- package/components/p-DT02jDB7.js +1 -0
- package/components/p-Dfd_ifAu.js +1 -0
- package/components/p-DhWkcMmR.js +1 -0
- package/components/p-DiLKm3tq.js +1 -0
- package/components/p-Djkc69iv.js +1 -0
- package/components/p-Dpk_WgCl.js +1 -0
- package/components/p-DtOqKp7K.js +1 -0
- package/components/p-DtmgZu-S.js +1 -0
- package/components/p-DuTDx0c-.js +1 -0
- package/components/p-Dw_A3HUC.js +1 -0
- package/components/p-Dwe6tWhq.js +1 -0
- package/components/p-Dx6rQdpk.js +1 -0
- package/components/p-DziPiOL3.js +1 -0
- package/components/p-GGleop6j.js +1 -0
- package/components/p-GmOVROeD.js +1 -0
- package/components/p-ImMb0joA.js +1 -0
- package/components/p-Wr4Qf8LA.js +1 -0
- package/components/p-XBTykBKS.js +1 -0
- package/components/p-aUZgVnx5.js +1 -0
- package/components/p-wFiL3dN1.js +1 -0
- package/components/{p-BJxTLVYT.js → p-zqHenwXl.js} +1 -1
- package/components/p-zyYHTdEN.js +1 -0
- package/components/package.json +1 -1
- package/dist/cjs/{a11y-DldCLr8D.js → a11y-_XjpTo2w.js} +11 -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-BP6iIMR7.js} +14 -10
- package/dist/cjs/{base-icon-button-DgnV_-qM.js → base-icon-button-BmiGQb9v.js} +3 -3
- package/dist/cjs/component-DgA9FH-W.js +143 -0
- package/dist/cjs/{context-CmNuiaNz.js → context-DqdXbKw_.js} +5 -2
- package/dist/cjs/dropdown-controller-kBwdbfGD.js +99 -0
- package/dist/cjs/{floating-ui.dom-CMzYsRR7.js → find-element-DPxOAdgO.js} +101 -0
- package/dist/cjs/focus-proxy-CjxFZupW.js +49 -0
- package/dist/cjs/focus-trap-Be3N4ytz.js +310 -0
- package/dist/cjs/focus-utilities-5SZMxJg4.js +161 -0
- package/dist/cjs/focus-visible.mixin-1V7Eldn_.js +42 -0
- package/dist/cjs/{helper-text-util-CX9jWl8m.js → helper-text-util-BkHm7ofh.js} +26 -8
- package/dist/cjs/id.mixin-DINDQztK.js +21 -0
- package/dist/cjs/index-B4J4JK0P.js +17 -0
- package/dist/cjs/{index-DIYO-Liy.js → index-CwJ-mkQd.js} +4 -6
- package/dist/cjs/{index-Dxeom0qd.js → index-DnclGKUw.js} +549 -126
- 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-EyRU0cDO.js +36 -0
- package/dist/cjs/{picker-input.util-DJNAVluZ.js → input-picker.mixin-Cf82jV-C.js} +25 -1
- package/dist/cjs/{input.fc-BIQRswZt.js → input.fc-DM-hX3xb.js} +15 -17
- package/dist/cjs/ix-action-card.cjs.entry.js +41 -20
- package/dist/cjs/ix-application-header.cjs.entry.js +126 -69
- package/dist/cjs/ix-application-switch-modal.cjs.entry.js +11 -15
- package/dist/cjs/ix-application.cjs.entry.js +68 -41
- package/dist/cjs/ix-avatar_2.cjs.entry.js +125 -21
- package/dist/cjs/ix-blind.cjs.entry.js +38 -24
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +235 -44
- 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 +106 -56
- 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 +71 -37
- package/dist/cjs/ix-chip.cjs.entry.js +317 -81
- package/dist/cjs/ix-col_4.cjs.entry.js +1107 -495
- package/dist/cjs/ix-content-header.cjs.entry.js +25 -17
- package/dist/cjs/ix-content.cjs.entry.js +8 -8
- 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 +213 -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 +549 -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 +993 -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 +103 -38
- 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 +129 -59
- 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 +60 -29
- package/dist/cjs/ix-menu-category.cjs.entry.js +377 -77
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +24 -24
- package/dist/cjs/ix-menu-item.cjs.entry.js +306 -68
- 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 +302 -138
- package/dist/cjs/ix-message-bar.cjs.entry.js +33 -22
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +37 -18
- 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 +206 -97
- package/dist/cjs/ix-pill_4.cjs.entry.js +746 -0
- package/dist/cjs/ix-popover-content.cjs.entry.js +26 -0
- package/dist/cjs/ix-popover-footer.cjs.entry.js +26 -0
- package/dist/cjs/ix-popover-header.cjs.entry.js +70 -0
- package/dist/cjs/ix-popover-image.cjs.entry.js +33 -0
- package/dist/cjs/ix-popover.cjs.entry.js +996 -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 +770 -375
- 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 +299 -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 +85 -52
- package/dist/cjs/ix-tree-item.cjs.entry.js +50 -16
- package/dist/cjs/ix-tree.cjs.entry.js +102 -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-ClEsCfX0.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-DBg-0e5W.js +74 -0
- package/dist/cjs/modal-_AhJoT78.js +190 -0
- package/dist/cjs/path-utils-CQKWhbQW.js +169 -0
- package/dist/cjs/service-CRjXhKel.js +94 -0
- package/dist/cjs/shadow-dom-BL5F7RFW.js +104 -0
- package/dist/cjs/siemens-ix.cjs.js +4 -5
- package/dist/cjs/tab.mixin-C1KwKb64.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/uuid-Bo2QzEg9.js +15 -0
- package/dist/cjs/{validation-DF9UXqHB.js → validation-DJaUH-UR.js} +32 -9
- package/dist/collection/collection-manifest.json +21 -9
- package/dist/collection/components/action-card/action-card.css +18 -0
- package/dist/collection/components/action-card/action-card.js +41 -19
- package/dist/collection/components/application/application.js +83 -54
- package/dist/collection/components/application-header/application-header.js +116 -84
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.css +2 -2
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +6 -8
- package/dist/collection/components/avatar/avatar.css +31 -6
- package/dist/collection/components/avatar/avatar.js +108 -35
- package/dist/collection/components/blind/blind.css +27 -0
- 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 +69 -93
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +132 -70
- package/dist/collection/components/button/base-button.js +13 -9
- package/dist/collection/components/button/button.css +40 -47
- 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.css +1 -1
- package/dist/collection/components/card-list/card-list.js +129 -56
- package/dist/collection/components/card-title/card-title.js +1 -1
- package/dist/collection/components/category-filter/category-filter.css +40 -47
- 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 +14 -4
- package/dist/collection/components/checkbox/checkbox.js +70 -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.css +2 -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 +200 -112
- package/dist/collection/components/date-picker/date-picker.css +70 -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 +25 -84
- 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 +3 -6
- package/dist/collection/components/filter-chip/filter-chip.js +63 -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 +40 -47
- package/dist/collection/components/icon-button/icon-button.js +58 -56
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.css +40 -47
- 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 +120 -52
- 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 +13 -6
- package/dist/collection/components/menu/menu-expand-icon.js +60 -45
- package/dist/collection/components/menu/menu.css +21 -3
- package/dist/collection/components/menu/menu.js +339 -161
- 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 +55 -25
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +14 -3
- package/dist/collection/components/menu-category/menu-category.js +249 -45
- package/dist/collection/components/menu-item/menu-item.js +199 -53
- 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.css +1 -0
- 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 +40 -47
- package/dist/collection/components/pagination/pagination.js +103 -85
- package/dist/collection/components/pane/pane.css +4 -0
- package/dist/collection/components/pane/pane.js +220 -91
- 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/popover/popover-controller.js +161 -0
- package/dist/collection/components/popover/popover.css +75 -0
- package/dist/collection/components/popover/popover.js +940 -0
- package/dist/collection/components/popover/test/popover.constants.js +19 -0
- package/dist/collection/components/popover/test/popover.fixtures.js +111 -0
- package/dist/collection/components/popover/test/popover.page.js +318 -0
- package/dist/collection/components/{application-sidebar/application-sidebar.css → popover-content/popover-content.css} +5 -7
- package/dist/collection/components/popover-content/popover-content.js +67 -0
- package/dist/collection/components/{input-group/input-group.css → popover-footer/popover-footer.css} +13 -37
- package/dist/collection/components/popover-footer/popover-footer.js +68 -0
- package/dist/collection/components/{drawer/drawer.css → popover-header/popover-header.css} +28 -55
- package/dist/collection/components/popover-header/popover-header.js +205 -0
- package/dist/collection/components/popover-image/popover-image.css +80 -0
- package/dist/collection/components/popover-image/popover-image.js +96 -0
- 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/range-field/range-field.css +102 -0
- 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 +61 -16
- package/dist/collection/components/select/select.js +833 -385
- package/dist/collection/components/select/test/select-controller.js +89 -0
- package/dist/collection/components/select-item/select-item.css +5 -0
- package/dist/collection/components/select-item/select-item.js +76 -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/tab-panel/tab-panel.css +75 -0
- package/dist/collection/components/tab-panel/tab-panel.js +67 -0
- package/dist/collection/components/tab-set/tab-set.css +71 -0
- 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 +350 -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 +550 -272
- 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 +40 -47
- package/dist/collection/components/toggle-button/toggle-button.js +41 -46
- package/dist/collection/components/tooltip/tooltip.js +77 -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 +10 -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 +41 -0
- package/dist/collection/components/utils/focus/focus-trap.js +316 -0
- package/dist/collection/components/utils/focus/focus-utilities.js +159 -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 +29 -38
- 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/nested-overlay/hierarchy.js +44 -0
- package/dist/collection/components/utils/nested-overlay/index.js +11 -0
- package/dist/collection/components/utils/nested-overlay/nested-overlay-stack.js +101 -0
- package/dist/collection/components/utils/nested-overlay/path-utils.js +17 -0
- package/dist/collection/components/utils/nested-overlay/types.js +1 -0
- package/dist/collection/components/utils/overlay.js +1 -3
- package/dist/collection/components/utils/shadow-dom.js +54 -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-C21npbUc.js} +11 -3
- 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-DZdtpLxn.js} +14 -10
- package/dist/esm/{base-icon-button-BuHd34qo.js → base-icon-button-DufFLJC-.js} +3 -3
- package/dist/esm/component-DqJSHc3A.js +139 -0
- package/dist/esm/{context-BniHpAE1.js → context-zqk3Dkv-.js} +5 -2
- package/dist/esm/dropdown-controller-Jfg3ZWk6.js +96 -0
- package/dist/esm/{floating-ui.dom-CAqtPJ4-.js → find-element-Bxrgt3H_.js} +100 -1
- package/dist/esm/focus-proxy-BQyoX-Kl.js +44 -0
- package/dist/esm/focus-trap-IK9ialav.js +304 -0
- package/dist/esm/focus-utilities-6ZxKp7Jn.js +150 -0
- package/dist/esm/focus-visible.mixin-CaRK3Ex_.js +40 -0
- package/dist/esm/{helper-text-util-C9sLzo0k.js → helper-text-util-D0LEFZuB.js} +26 -9
- package/dist/esm/id.mixin-CUbYLenp.js +19 -0
- package/dist/esm/{index-BBzEV-f4.js → index-DgUGsIlh.js} +3 -4
- package/dist/esm/{index-BEPo7U1W.js → index-EBgS4zhE.js} +549 -127
- 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-nCmPujqf.js +34 -0
- package/dist/esm/{picker-input.util-D1uMJUKN.js → input-picker.mixin-DudWFH-e.js} +25 -2
- package/dist/esm/{input.fc-C1ytwpkt.js → input.fc-CE3kP-L_.js} +17 -19
- package/dist/esm/ix-action-card.entry.js +41 -20
- package/dist/esm/ix-application-header.entry.js +126 -69
- package/dist/esm/ix-application-switch-modal.entry.js +11 -15
- package/dist/esm/ix-application.entry.js +68 -41
- package/dist/esm/ix-avatar_2.entry.js +125 -21
- package/dist/esm/ix-blind.entry.js +38 -24
- package/dist/esm/ix-breadcrumb-item.entry.js +235 -44
- 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 +106 -56
- 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 +71 -37
- package/dist/esm/ix-chip.entry.js +317 -81
- package/dist/esm/ix-col_4.entry.js +1108 -496
- package/dist/esm/ix-content-header.entry.js +25 -17
- package/dist/esm/ix-content.entry.js +8 -8
- 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 +210 -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 +547 -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 +990 -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 +103 -38
- 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 +130 -60
- 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 +60 -29
- package/dist/esm/ix-menu-category.entry.js +377 -77
- package/dist/esm/ix-menu-expand-icon.entry.js +24 -24
- package/dist/esm/ix-menu-item.entry.js +306 -68
- 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 +302 -138
- package/dist/esm/ix-message-bar.entry.js +33 -22
- package/dist/esm/ix-modal-content_2.entry.js +37 -18
- 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 +206 -97
- package/dist/esm/ix-pill_4.entry.js +741 -0
- package/dist/esm/ix-popover-content.entry.js +24 -0
- package/dist/esm/ix-popover-footer.entry.js +24 -0
- package/dist/esm/ix-popover-header.entry.js +68 -0
- package/dist/esm/ix-popover-image.entry.js +31 -0
- package/dist/esm/ix-popover.entry.js +994 -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 +770 -375
- 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 +296 -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 +78 -45
- package/dist/esm/ix-tree-item.entry.js +50 -16
- package/dist/esm/ix-tree.entry.js +102 -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-BjluJgvO.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-DYOa8RGJ.js +72 -0
- package/dist/esm/modal-DaGSr1j4.js +181 -0
- package/dist/esm/path-utils-CNLoALIl.js +165 -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-BClJdFQP.js +97 -0
- package/dist/esm/siemens-ix.js +5 -6
- package/dist/esm/tab.mixin-BjAM99yM.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/uuid-D3T7Lr4G.js +13 -0
- package/dist/esm/{validation-CTBekLDe.js → validation-VVt5EFy0.js} +32 -9
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/p-074c8b24.entry.js +1 -0
- package/dist/siemens-ix/p-080147bd.entry.js +1 -0
- package/dist/siemens-ix/p-0d60bd71.entry.js +1 -0
- package/dist/siemens-ix/p-0eb3a12a.entry.js +1 -0
- package/dist/siemens-ix/p-12930fcd.entry.js +1 -0
- package/dist/siemens-ix/p-18cae4df.entry.js +1 -0
- package/dist/siemens-ix/p-1a6b7e92.entry.js +1 -0
- package/dist/siemens-ix/p-2072682b.entry.js +1 -0
- package/dist/siemens-ix/p-21b09017.entry.js +1 -0
- package/dist/siemens-ix/p-21e8ccb6.entry.js +1 -0
- package/dist/siemens-ix/p-2202ae94.entry.js +1 -0
- package/dist/siemens-ix/p-247d2e7a.entry.js +1 -0
- package/dist/siemens-ix/p-24c54468.entry.js +1 -0
- package/dist/siemens-ix/p-264e971c.entry.js +1 -0
- package/dist/siemens-ix/p-2b9f7512.entry.js +1 -0
- package/dist/siemens-ix/p-2f7b1e1e.entry.js +1 -0
- package/dist/siemens-ix/p-321a10b6.entry.js +1 -0
- package/dist/siemens-ix/p-34f61a28.entry.js +1 -0
- package/dist/siemens-ix/p-35bfaa91.entry.js +1 -0
- package/dist/siemens-ix/p-3854287c.entry.js +1 -0
- package/dist/siemens-ix/p-3bb5600a.entry.js +1 -0
- package/dist/siemens-ix/p-3bc384b7.entry.js +1 -0
- package/dist/siemens-ix/p-3pidUFd-.js +1 -0
- package/dist/siemens-ix/p-46768472.entry.js +1 -0
- package/dist/siemens-ix/p-46b2b660.entry.js +1 -0
- package/dist/siemens-ix/p-4bc4a175.entry.js +1 -0
- package/dist/siemens-ix/p-4f0f97dd.entry.js +1 -0
- package/dist/siemens-ix/p-4pTtJwcY.js +1 -0
- package/dist/siemens-ix/p-52dc064a.entry.js +1 -0
- package/dist/siemens-ix/p-54a22a58.entry.js +1 -0
- package/dist/siemens-ix/p-5685a2e6.entry.js +1 -0
- package/dist/siemens-ix/p-56d2d54c.entry.js +1 -0
- package/dist/siemens-ix/p-5ff289c7.entry.js +1 -0
- package/dist/siemens-ix/p-601224bd.entry.js +1 -0
- package/dist/siemens-ix/{p-2b559d4b.entry.js → p-62a7ae9c.entry.js} +1 -1
- package/dist/siemens-ix/p-63491f83.entry.js +1 -0
- package/dist/siemens-ix/p-641bc66c.entry.js +1 -0
- package/dist/siemens-ix/p-646d5219.entry.js +1 -0
- package/dist/siemens-ix/p-66b4875e.entry.js +1 -0
- package/dist/siemens-ix/p-6ZxKp7Jn.js +1 -0
- package/dist/siemens-ix/p-6f78e0f1.entry.js +1 -0
- package/dist/siemens-ix/p-705eded9.entry.js +1 -0
- package/dist/siemens-ix/p-710d32a6.entry.js +1 -0
- package/dist/siemens-ix/p-71feb871.entry.js +1 -0
- package/dist/siemens-ix/p-7c120d09.entry.js +1 -0
- package/dist/siemens-ix/p-7e6a5c38.entry.js +1 -0
- package/dist/siemens-ix/p-7fc7c67f.entry.js +1 -0
- package/dist/siemens-ix/p-81248fd2.entry.js +1 -0
- package/dist/siemens-ix/p-8164a98b.entry.js +1 -0
- package/dist/siemens-ix/p-83f4cd88.entry.js +1 -0
- package/dist/siemens-ix/p-8900e229.entry.js +1 -0
- package/dist/siemens-ix/p-8969b2f9.entry.js +1 -0
- package/dist/siemens-ix/p-8c2365cc.entry.js +1 -0
- package/dist/siemens-ix/p-8cea823b.entry.js +1 -0
- package/dist/siemens-ix/p-8d05ae35.entry.js +1 -0
- package/dist/siemens-ix/p-8d73ddac.entry.js +1 -0
- package/dist/siemens-ix/p-90a5cda7.entry.js +1 -0
- package/dist/siemens-ix/p-957b77ec.entry.js +1 -0
- package/dist/siemens-ix/p-9a88ff9c.entry.js +1 -0
- package/dist/siemens-ix/p-9d9fec8c.entry.js +1 -0
- package/dist/siemens-ix/p-B0y5hnj5.js +1 -0
- package/dist/siemens-ix/p-B4oiZyZC.js +1 -0
- package/dist/siemens-ix/p-BClJdFQP.js +1 -0
- package/dist/siemens-ix/p-BFUINhFM.js +1 -0
- package/dist/siemens-ix/p-BKuq0po2.js +1 -0
- package/dist/siemens-ix/p-BL9SR36X.js +1 -0
- package/dist/siemens-ix/p-BWgttsqY.js +1 -0
- package/dist/siemens-ix/p-BbwShqw_.js +1 -0
- package/dist/siemens-ix/p-Bxrgt3H_.js +1 -0
- package/dist/siemens-ix/p-C21npbUc.js +1 -0
- package/dist/siemens-ix/p-C518yBiI.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-CNLoALIl.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-CXbob2Ew.js +1 -0
- package/dist/siemens-ix/p-CoQiziG8.js +1 -0
- package/dist/siemens-ix/p-D3T7Lr4G.js +1 -0
- package/dist/siemens-ix/{p-DSTYytot.js → p-D5rshXh5.js} +1 -1
- package/dist/siemens-ix/p-DNIQ2C1K.js +1 -0
- package/dist/siemens-ix/p-DQuL1Twl.js +1 -0
- package/dist/siemens-ix/p-DT02jDB7.js +1 -0
- package/dist/siemens-ix/p-DVJeDueL.js +1 -0
- package/dist/siemens-ix/p-DgUGsIlh.js +1 -0
- package/dist/siemens-ix/p-Djkc69iv.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-EBgS4zhE.js +2 -0
- package/dist/siemens-ix/p-HpQs38Y0.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-a6a0b240.entry.js +1 -0
- package/dist/siemens-ix/p-ae07f671.entry.js +1 -0
- package/dist/siemens-ix/p-aec23f79.entry.js +1 -0
- package/dist/siemens-ix/p-b13f34d1.entry.js +1 -0
- package/dist/siemens-ix/p-b181bf0b.entry.js +1 -0
- package/dist/siemens-ix/p-b534dadd.entry.js +1 -0
- package/dist/siemens-ix/p-b63d7f36.entry.js +1 -0
- package/dist/siemens-ix/p-b75db823.entry.js +1 -0
- package/dist/siemens-ix/p-b7f2f229.entry.js +1 -0
- package/dist/siemens-ix/p-b8beb613.entry.js +1 -0
- package/dist/siemens-ix/p-ba9dcd79.entry.js +1 -0
- package/dist/siemens-ix/p-bc0f5cbe.entry.js +1 -0
- package/dist/siemens-ix/p-bc11adcd.entry.js +1 -0
- package/dist/siemens-ix/p-bfb758cb.entry.js +1 -0
- package/dist/siemens-ix/p-c0c6d772.entry.js +1 -0
- package/dist/siemens-ix/p-c0dc5a8e.entry.js +1 -0
- package/dist/siemens-ix/p-c6d63b3c.entry.js +1 -0
- package/dist/siemens-ix/p-c97c218d.entry.js +1 -0
- package/dist/siemens-ix/p-cYKY6sUE.js +1 -0
- package/dist/siemens-ix/p-d13c0b78.entry.js +1 -0
- package/dist/siemens-ix/p-d1ab68b3.entry.js +1 -0
- package/dist/siemens-ix/p-d253dadb.entry.js +1 -0
- package/dist/siemens-ix/p-d6c906b7.entry.js +1 -0
- package/dist/siemens-ix/p-d74baa8a.entry.js +1 -0
- package/dist/siemens-ix/p-d770d8ba.entry.js +1 -0
- package/dist/siemens-ix/p-d80e7d50.entry.js +1 -0
- package/dist/siemens-ix/p-d830e3d6.entry.js +1 -0
- package/dist/siemens-ix/p-da2e0f0e.entry.js +1 -0
- package/dist/siemens-ix/p-db105778.entry.js +1 -0
- package/dist/siemens-ix/p-dc16a32d.entry.js +1 -0
- package/dist/siemens-ix/p-de58069d.entry.js +1 -0
- package/dist/siemens-ix/p-e283d7d1.entry.js +1 -0
- package/dist/siemens-ix/p-e5d2a048.entry.js +1 -0
- package/dist/siemens-ix/p-e698e193.entry.js +1 -0
- package/dist/siemens-ix/p-e9b37020.entry.js +1 -0
- package/dist/siemens-ix/p-ee1617da.entry.js +1 -0
- package/dist/siemens-ix/p-f0d97723.entry.js +1 -0
- package/dist/siemens-ix/p-f1257e08.entry.js +1 -0
- package/dist/siemens-ix/p-f8561834.entry.js +1 -0
- package/dist/siemens-ix/p-f9628912.entry.js +1 -0
- package/dist/siemens-ix/p-fa5c236f.entry.js +1 -0
- package/dist/siemens-ix/p-fb1e66a7.entry.js +1 -0
- package/dist/siemens-ix/p-fdec73d4.entry.js +1 -0
- package/dist/siemens-ix/p-ff1967de.entry.js +1 -0
- package/dist/siemens-ix/p-vphIrWGB.js +1 -0
- package/dist/siemens-ix/p-wfVRhTWc.js +1 -0
- package/dist/siemens-ix/p-yZFaEeBW.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/action-card/action-card.d.ts +3 -0
- package/dist/types/components/application/application.d.ts +10 -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/checkbox.d.ts +5 -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 +4 -5
- 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/filter-chip/filter-chip.d.ts +6 -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/input/input.d.ts +1 -0
- 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 +31 -12
- 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 +49 -4
- package/dist/types/components/menu-item/menu-item.d.ts +41 -2
- 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/pane/pane.d.ts +14 -1
- package/dist/types/components/pill/pill.d.ts +16 -2
- package/dist/types/components/popover/popover-controller.d.ts +52 -0
- package/dist/types/components/popover/popover.d.ts +190 -0
- package/dist/types/components/popover/test/popover.constants.d.ts +11 -0
- package/dist/types/components/popover/test/popover.fixtures.d.ts +29 -0
- package/dist/types/components/popover/test/popover.page.d.ts +118 -0
- package/dist/types/components/popover-content/popover-content.d.ts +16 -0
- package/dist/types/components/popover-footer/popover-footer.d.ts +17 -0
- package/dist/types/components/popover-header/popover-header.d.ts +49 -0
- package/dist/types/components/popover-image/popover-image.d.ts +21 -0
- package/dist/types/components/range-field/range-field.d.ts +34 -0
- package/dist/types/components/select/select.d.ts +131 -32
- package/dist/types/components/select/test/select-controller.d.ts +15 -0
- package/dist/types/components/select-item/select-item.d.ts +54 -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 +3 -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/a11y.d.ts +5 -0
- 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 +14 -0
- package/dist/types/components/utils/focus/focus-trap.d.ts +27 -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-service/menu-service.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/nested-overlay/hierarchy.d.ts +6 -0
- package/dist/types/components/utils/nested-overlay/index.d.ts +6 -0
- package/dist/types/components/utils/nested-overlay/nested-overlay-stack.d.ts +28 -0
- package/dist/types/components/utils/nested-overlay/path-utils.d.ts +1 -0
- package/dist/types/components/utils/nested-overlay/types.d.ts +13 -0
- package/dist/types/components/utils/overlay.d.ts +2 -2
- package/dist/types/components/utils/shadow-dom.d.ts +17 -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 +1744 -691
- package/dist/types/public-api.d.ts +5 -0
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/dist/types/tests/utils/test/page.d.ts +7 -1
- package/hydrate/index.js +15692 -6765
- package/hydrate/index.mjs +15692 -6765
- package/package.json +14 -8
- 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-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/dropdown-controller-BLOjtc6w.js +0 -157
- 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/dropdown-controller-D3K9vmFp.js +0 -154
- 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-6aadd69d.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-d458b450.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,17 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var index$1 = require('./index-
|
|
5
|
-
var a11y = require('./a11y-
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
3
|
+
var index = require('./index-DnclGKUw.js');
|
|
4
|
+
var index$1 = require('./index-CwJ-mkQd.js');
|
|
5
|
+
var a11y = require('./a11y-_XjpTo2w.js');
|
|
6
|
+
var focusProxy = require('./focus-proxy-CjxFZupW.js');
|
|
7
|
+
var focusUtilities = require('./focus-utilities-5SZMxJg4.js');
|
|
8
|
+
var component = require('./component-DgA9FH-W.js');
|
|
9
|
+
var ariaActivedescendant_mixin = require('./aria-activedescendant.mixin-_lb0Xz2S.js');
|
|
10
|
+
var id_mixin = require('./id.mixin-DINDQztK.js');
|
|
11
|
+
var makeRef = require('./make-ref-CHsa3FY7.js');
|
|
11
12
|
var requestAnimationFrame = require('./requestAnimationFrame-B0rWQ3G-.js');
|
|
12
|
-
require('./
|
|
13
|
+
var validation = require('./validation-DJaUH-UR.js');
|
|
14
|
+
require('./shadow-dom-BL5F7RFW.js');
|
|
15
|
+
require('./index-B4J4JK0P.js');
|
|
13
16
|
|
|
14
|
-
const selectCss = () => `:host{display:inline-block;position:relative;min-height:2rem;height:auto;border-radius:var(--theme-input--border-radius)}: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 .
|
|
17
|
+
const selectCss = () => `:host{display:inline-block;position:relative;min-height:2rem;height:auto;border-radius:var(--theme-input--border-radius)}: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 .select{position:relative;display:flex;align-items:center;width:100%;background-color:var(--theme-input--background);border:var(--theme-input--border-thickness) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);padding:0 0 0 0.5rem;box-shadow:var(--theme-inset-shadow-1) !important}:host .select:hover:not(.readonly):not(.disabled){background-color:var(--theme-input--background--hover);border-color:var(--theme-input--border-color--hover)}:host .select.readonly,:host .select.disabled{box-shadow:none !important}:host .select.readonly,:host .select.readonly:hover,:host .select.readonly:active,:host .select.disabled,:host .select.disabled:hover,:host .select.disabled:active{background-color:transparent !important}:host .select.readonly:focus,:host .select.readonly:focus-within,:host .select.readonly:focus-visible,:host .select.disabled:focus,:host .select.disabled:focus-within,:host .select.disabled:focus-visible{outline:none}:host .select.readonly input:focus,:host .select.readonly input:focus-visible,:host .select.disabled input:focus,:host .select.disabled input:focus-visible{outline:none}:host .select.disabled{border:var(--theme-input--border-thickness) solid var(--theme-input--border-color--disabled)}:host .select.disabled input{color:var(--theme-input--color--disabled)}:host .select.readonly{border:var(--theme-input--border-thickness) solid var(--theme-input--border-color--readonly)}:host .select.readonly input{color:var(--theme-input--color--readonly)}:host .trigger{display:flex;align-items:center;flex-grow:1;height:100%}:host .input-container{display:flex;position:relative;align-items:flex-start;width:100%;height:100%}:host .input-container .chips{position:relative;display:flex;align-items:center;flex-wrap:nowrap;height:100%;flex-grow:1;overflow:hidden}:host .input-container .chips>ix-filter-chip{margin:0.1rem;flex-shrink:0;max-width:min(40%, 14rem)}:host .input-container .chips>ix-filter-chip.chip-measuring{position:absolute;visibility:hidden;pointer-events:none}:host .input-container .chips>ix-filter-chip.chip-overflow{cursor:pointer}:host .input-container .chips>ix-filter-chip.chip-overflow:focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host .input-container ix-icon-button{height:1.875rem;width:1.875rem;min-height:1.875rem;min-width:1.875rem}:host .input-container input{background:transparent;height:1.75rem;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}:host .input-container input,:host .input-container input:hover,:host .input-container input:focus-visible{border:none;outline:none}:host .input-container input::-moz-placeholder{color:var(--theme-input-select-icon--color)}:host .input-container input::placeholder{color:var(--theme-input-select-icon--color)}:host .input-container input.hide-placeholder::-moz-placeholder{opacity:0}:host .input-container input.hide-placeholder::placeholder{opacity:0}:host ix-dropdown{display:flex;flex-direction:column;max-width:100%}:host .overflow-dropdown-content{display:flex;flex-direction:column;align-items:flex-start;gap:0.25rem;max-height:16rem;overflow-y:auto;padding:0.5rem}:host .dropdown-visible{--ix-icon-button-color:var(--theme-color-std-text--hover)}:host .add-item{display:flex;justify-content:flex-start;align-items:center;position:relative;width:100%}:host .select-list-header{display:flex;align-items:center;height:2rem;color:var(--theme-select-list-item-hint--color);margin:0 0.5rem 0 1rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .hidden{display:none !important}:host .proxy-list{all:unset;position:absolute;left:0px;top:0px;overflow:hidden;color:transparent;opacity:0;pointer-events:all;z-index:1000}:host .proxy-list li{height:2px;width:2px;pointer-events:all}:host(.ix-focused) .select,:host(.show-focus-outline) .select{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select{border-color:var(--theme-input--border-color--info)}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:hover{border-color:var(--theme-input--border-color--info--hover) !important}:host(.ix-info:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:active{border-color:var(--theme-input--border-color--info--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select{border-color:var(--theme-input--border-color--warning);background-color:var(--theme-input--background--warning)}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:hover{border-color:var(--theme-input--border-color--warning--hover) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select: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])) .select,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select{border-color:var(--theme-input--border-color--invalid);background-color:var(--theme-input--background--invalid)}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:hover,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select: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])) .select:active,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled]):not(.readonly):not([readonly])) .select:active{border-color:var(--theme-input--border-color--invalid--active) !important}`;
|
|
15
18
|
|
|
16
19
|
/*
|
|
17
20
|
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
@@ -31,8 +34,10 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
31
34
|
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
32
35
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
33
36
|
};
|
|
34
|
-
|
|
37
|
+
let selectId = 0;
|
|
38
|
+
const Select = class extends index.Mixin(...component.DefaultMixins, id_mixin.ComponentIdMixin, ariaActivedescendant_mixin.AriaActiveDescendantMixin) {
|
|
35
39
|
constructor(hostRef) {
|
|
40
|
+
super();
|
|
36
41
|
index.registerInstance(this, hostRef);
|
|
37
42
|
this.valueChange = index.createEvent(this, "valueChange", 7);
|
|
38
43
|
this.inputChange = index.createEvent(this, "inputChange", 7);
|
|
@@ -45,121 +50,212 @@ const Select = class {
|
|
|
45
50
|
this.formInternals = hostRef.$hostElement$.attachInternals();
|
|
46
51
|
hostRef.$hostElement$["s-ei"] = this.formInternals;
|
|
47
52
|
}
|
|
48
|
-
/**
|
|
49
|
-
* A Boolean attribute indicating that an option with a non-empty string value must be selected
|
|
50
|
-
*/
|
|
51
|
-
this.required = false;
|
|
52
|
-
/**
|
|
53
|
-
* ARIA label for the clear icon button
|
|
54
|
-
* Will be set as aria-label on the nested HTML button element
|
|
55
|
-
*
|
|
56
|
-
* @since 3.2.0
|
|
57
|
-
*/
|
|
58
|
-
this.ariaLabelClearIconButton = 'Clear selection';
|
|
59
|
-
/**
|
|
60
|
-
* Current selected value.
|
|
61
|
-
* This corresponds to the value property of ix-select-items
|
|
62
|
-
*/
|
|
63
|
-
this.value = '';
|
|
64
|
-
/**
|
|
65
|
-
* Show clear button
|
|
66
|
-
*/
|
|
67
|
-
this.allowClear = false;
|
|
68
|
-
/**
|
|
69
|
-
* Selection mode
|
|
70
|
-
*/
|
|
71
|
-
this.mode = 'single';
|
|
72
|
-
/**
|
|
73
|
-
* Select is extendable
|
|
74
|
-
*/
|
|
75
|
-
this.editable = false;
|
|
76
|
-
/**
|
|
77
|
-
* If true the select will be in disabled state
|
|
78
|
-
*/
|
|
79
|
-
this.disabled = false;
|
|
80
|
-
/**
|
|
81
|
-
* If true the select will be in readonly mode
|
|
82
|
-
*/
|
|
83
|
-
this.readonly = false;
|
|
84
|
-
/**
|
|
85
|
-
* Input field placeholder
|
|
86
|
-
*/
|
|
87
|
-
this.i18nPlaceholder = 'Select an option';
|
|
88
|
-
/**
|
|
89
|
-
* Input field placeholder for editable select
|
|
90
|
-
*/
|
|
91
|
-
this.i18nPlaceholderEditable = 'Type of select option';
|
|
92
|
-
/**
|
|
93
|
-
* Select list header
|
|
94
|
-
*/
|
|
95
|
-
this.i18nSelectListHeader = 'Select an option';
|
|
96
|
-
/**
|
|
97
|
-
* Information inside of dropdown if no items where found with current filter text
|
|
98
|
-
*/
|
|
99
|
-
this.i18nNoMatches = 'No matches';
|
|
100
|
-
/**
|
|
101
|
-
* Chip label for all selected items in multiple mode.
|
|
102
|
-
*/
|
|
103
|
-
this.i18nAllSelected = 'All';
|
|
104
|
-
/**
|
|
105
|
-
* Hide list header
|
|
106
|
-
*/
|
|
107
|
-
this.hideListHeader = false;
|
|
108
|
-
/**
|
|
109
|
-
* Show "all" chip when all items are selected in multiple mode
|
|
110
|
-
*/
|
|
111
|
-
this.collapseMultipleSelection = false;
|
|
112
|
-
/**
|
|
113
|
-
* Enable Popover API rendering for dropdown.
|
|
114
|
-
*
|
|
115
|
-
* @default false
|
|
116
|
-
* @since 4.3.0
|
|
117
|
-
*/
|
|
118
|
-
this.enableTopLayer = false;
|
|
119
|
-
this.dropdownShow = false;
|
|
120
|
-
this.selectedLabels = [];
|
|
121
|
-
this.isDropdownEmpty = false;
|
|
122
|
-
this.inputFilterText = '';
|
|
123
|
-
this.inputValue = '';
|
|
124
|
-
this.isInvalid = false;
|
|
125
|
-
this.isValid = false;
|
|
126
|
-
this.isInfo = false;
|
|
127
|
-
this.isWarning = false;
|
|
128
|
-
this.dropdownWrapperRef = makeRef.makeRef();
|
|
129
|
-
this.dropdownAnchorRef = makeRef.makeRef();
|
|
130
|
-
this.inputRef = makeRef.makeRef();
|
|
131
|
-
this.touched = false;
|
|
132
|
-
this.itemObserver = mutationObserver.createMutationObserver(() => {
|
|
133
|
-
if (!this.arrowFocusController) {
|
|
134
|
-
return;
|
|
135
|
-
}
|
|
136
|
-
this.arrowFocusController.items = this.visibleNonShadowItems;
|
|
137
|
-
});
|
|
138
|
-
this.focusControllerCallbackBind = this.focusDropdownItem.bind(this);
|
|
139
53
|
}
|
|
54
|
+
get hostElement() { return index.getElement(this); }
|
|
55
|
+
formInternals;
|
|
56
|
+
/**
|
|
57
|
+
* A string that represents the element's name attribute,
|
|
58
|
+
* containing a name that identifies the element when submitting the form.
|
|
59
|
+
*/
|
|
60
|
+
name;
|
|
61
|
+
/**
|
|
62
|
+
* A Boolean attribute indicating that an option with a non-empty string value must be selected
|
|
63
|
+
*/
|
|
64
|
+
required = false;
|
|
65
|
+
/**
|
|
66
|
+
* Label for the select component
|
|
67
|
+
*/
|
|
68
|
+
label;
|
|
69
|
+
/**
|
|
70
|
+
* ARIA label for the clear icon button
|
|
71
|
+
* Will be set as aria-label on the nested HTML button element
|
|
72
|
+
*
|
|
73
|
+
* @since 3.2.0
|
|
74
|
+
*/
|
|
75
|
+
ariaLabelClearIconButton = 'Clear selection';
|
|
76
|
+
/**
|
|
77
|
+
* ARIA label for the add item
|
|
78
|
+
*
|
|
79
|
+
* @since TODO: Define
|
|
80
|
+
*/
|
|
81
|
+
ariaLabelAddItem = 'Add item';
|
|
82
|
+
/**
|
|
83
|
+
* Accessible label template for the overflow indicator chip shown in multiple
|
|
84
|
+
* mode when not all selected chips fit on a single row. The `{count}`
|
|
85
|
+
* placeholder is replaced with the number of hidden items (e.g. "3 more").
|
|
86
|
+
*
|
|
87
|
+
* @since 5.1.0
|
|
88
|
+
*/
|
|
89
|
+
i18nMoreItems = '{count} more';
|
|
90
|
+
/**
|
|
91
|
+
* Warning text for the select component
|
|
92
|
+
**/
|
|
93
|
+
warningText;
|
|
94
|
+
/**
|
|
95
|
+
* Info text for the select component
|
|
96
|
+
**/
|
|
97
|
+
infoText;
|
|
98
|
+
/**
|
|
99
|
+
* Error text for the select component
|
|
100
|
+
**/
|
|
101
|
+
invalidText;
|
|
102
|
+
/**
|
|
103
|
+
* Valid text for the select component
|
|
104
|
+
**/
|
|
105
|
+
validText;
|
|
106
|
+
/**
|
|
107
|
+
* Helper text for the select component
|
|
108
|
+
**/
|
|
109
|
+
helperText;
|
|
110
|
+
/**
|
|
111
|
+
* Show helper, error, info, warning text as tooltip
|
|
112
|
+
*/
|
|
113
|
+
showTextAsTooltip;
|
|
114
|
+
/**
|
|
115
|
+
* Current selected value.
|
|
116
|
+
* This corresponds to the value property of ix-select-items
|
|
117
|
+
*/
|
|
118
|
+
value = '';
|
|
119
|
+
/**
|
|
120
|
+
* Show clear button
|
|
121
|
+
*/
|
|
122
|
+
allowClear = false;
|
|
123
|
+
/**
|
|
124
|
+
* Selection mode
|
|
125
|
+
*/
|
|
126
|
+
mode = 'single';
|
|
127
|
+
/**
|
|
128
|
+
* Select is extendable
|
|
129
|
+
*/
|
|
130
|
+
editable = false;
|
|
131
|
+
/**
|
|
132
|
+
* If true the select will be in disabled state
|
|
133
|
+
*/
|
|
134
|
+
disabled = false;
|
|
135
|
+
/**
|
|
136
|
+
* If true the select will be in readonly mode
|
|
137
|
+
*/
|
|
138
|
+
readonly = false;
|
|
139
|
+
/**
|
|
140
|
+
* Input field placeholder
|
|
141
|
+
*/
|
|
142
|
+
i18nPlaceholder = 'Select an option';
|
|
143
|
+
/**
|
|
144
|
+
* Input field placeholder for editable select
|
|
145
|
+
*/
|
|
146
|
+
i18nPlaceholderEditable = 'Type of select option';
|
|
147
|
+
/**
|
|
148
|
+
* Select list header
|
|
149
|
+
*/
|
|
150
|
+
i18nSelectListHeader = 'Select an option';
|
|
151
|
+
/**
|
|
152
|
+
* Information inside of dropdown if no items where found with current filter text
|
|
153
|
+
*/
|
|
154
|
+
i18nNoMatches = 'No matches';
|
|
155
|
+
/**
|
|
156
|
+
* Chip label for all selected items in multiple mode.
|
|
157
|
+
*/
|
|
158
|
+
i18nAllSelected = 'All';
|
|
159
|
+
/**
|
|
160
|
+
* Prefix for the accessible name of the close control on a selected chip in multiple mode.
|
|
161
|
+
* The chip label or value is appended (e.g. "Remove Item 1").
|
|
162
|
+
*
|
|
163
|
+
* @since 5.0.0
|
|
164
|
+
*/
|
|
165
|
+
i18nRemoveSelectedItem = 'Remove';
|
|
166
|
+
/**
|
|
167
|
+
* Hide list header
|
|
168
|
+
*/
|
|
169
|
+
hideListHeader = false;
|
|
170
|
+
/**
|
|
171
|
+
* The width of the dropdown element with value and unit (e.g. "200px" or "12.5rem").
|
|
172
|
+
*/
|
|
173
|
+
dropdownWidth;
|
|
174
|
+
/**
|
|
175
|
+
* The maximum width of the dropdown element with value and unit (e.g. "200px" or "12.5rem").
|
|
176
|
+
* By default the maximum width of the dropdown element is set to 100%.
|
|
177
|
+
*/
|
|
178
|
+
dropdownMaxWidth;
|
|
179
|
+
/**
|
|
180
|
+
* Show "all" chip when all items are selected in multiple mode
|
|
181
|
+
*/
|
|
182
|
+
collapseMultipleSelection = false;
|
|
183
|
+
/**
|
|
184
|
+
* Enable Popover API rendering for dropdown.
|
|
185
|
+
*
|
|
186
|
+
* @default false
|
|
187
|
+
* @since 4.3.0
|
|
188
|
+
*/
|
|
189
|
+
enableTopLayer = false;
|
|
190
|
+
/**
|
|
191
|
+
* Value changed
|
|
192
|
+
*/
|
|
193
|
+
valueChange;
|
|
194
|
+
/**
|
|
195
|
+
* Event dispatched whenever the text input changes.
|
|
196
|
+
*/
|
|
197
|
+
inputChange;
|
|
198
|
+
/**
|
|
199
|
+
* Item added to selection
|
|
200
|
+
*/
|
|
201
|
+
addItem;
|
|
202
|
+
/**
|
|
203
|
+
* Blur input
|
|
204
|
+
*/
|
|
205
|
+
ixBlur;
|
|
206
|
+
dropdownShow = false;
|
|
207
|
+
selectedLabels = [];
|
|
208
|
+
isDropdownEmpty = false;
|
|
209
|
+
inputFilterText = '';
|
|
210
|
+
inputValue = '';
|
|
211
|
+
visibleChipValues = null;
|
|
212
|
+
hiddenChipValues = [];
|
|
213
|
+
overflowDropdownShow = false;
|
|
214
|
+
hasInputFocus = false;
|
|
215
|
+
dropdownItemsVisualFocused = false;
|
|
216
|
+
isInvalid = false;
|
|
217
|
+
isValid = false;
|
|
218
|
+
isInfo = false;
|
|
219
|
+
isWarning = false;
|
|
220
|
+
hostId = `ix-select-${selectId++}`;
|
|
221
|
+
dropdownWrapperRef = makeRef.makeRef();
|
|
222
|
+
dropdownAnchorRef = makeRef.makeRef();
|
|
223
|
+
inputRef = makeRef.makeRef();
|
|
224
|
+
dropdownRef = makeRef.makeRef();
|
|
225
|
+
chipElementRefs = new Map();
|
|
226
|
+
chipWidths = new Map();
|
|
227
|
+
overflowChipRef = makeRef.makeRef();
|
|
228
|
+
chipsContainerRef = makeRef.makeRef();
|
|
229
|
+
clearButtonRef = makeRef.makeRef();
|
|
230
|
+
chipHorizontalMargin = 4;
|
|
231
|
+
triggerMinWidth = 78;
|
|
232
|
+
overflowChipFallbackWidth = 52;
|
|
233
|
+
overflowChipWidth = 0;
|
|
234
|
+
chipsResizeObserver;
|
|
235
|
+
overflowDropdownOpenedByKeyboard = false;
|
|
236
|
+
proxyListObserver = null;
|
|
237
|
+
inputElement;
|
|
238
|
+
touched = false;
|
|
140
239
|
get nonShadowItems() {
|
|
141
240
|
return Array.from(this.hostElement.querySelectorAll('ix-select-item'));
|
|
142
241
|
}
|
|
143
|
-
get visibleNonShadowItems() {
|
|
144
|
-
return this.nonShadowItems.filter((item) => !item.classList.contains('display-none'));
|
|
145
|
-
}
|
|
146
242
|
get shadowItems() {
|
|
147
243
|
return Array.from(this.hostElement.shadowRoot.querySelectorAll('ix-select-item'));
|
|
148
244
|
}
|
|
149
|
-
get
|
|
150
|
-
return this.
|
|
245
|
+
get focusableItems() {
|
|
246
|
+
return Array.from(this.hostElement.querySelectorAll('ix-select-item:not([disabled]):not([hidden]), ix-dropdown-item:not([disabled]):not([hidden])'));
|
|
247
|
+
}
|
|
248
|
+
get allFocusableItems() {
|
|
249
|
+
return Array.from(this.hostElement.querySelectorAll('ix-select-item, ix-dropdown-item'));
|
|
151
250
|
}
|
|
152
251
|
get items() {
|
|
153
252
|
return [...this.nonShadowItems, ...this.shadowItems];
|
|
154
253
|
}
|
|
155
|
-
get visibleItems() {
|
|
156
|
-
return this.items.filter((item) => !item.classList.contains('display-none'));
|
|
157
|
-
}
|
|
158
254
|
get selectedItems() {
|
|
159
255
|
return this.items.filter((item) => item.selected);
|
|
160
256
|
}
|
|
161
|
-
get
|
|
162
|
-
return this.hostElement.
|
|
257
|
+
get addItemElement() {
|
|
258
|
+
return this.hostElement.querySelector('ix-dropdown-item.add-item');
|
|
163
259
|
}
|
|
164
260
|
get isSingleMode() {
|
|
165
261
|
return this.mode === 'single';
|
|
@@ -168,32 +264,17 @@ const Select = class {
|
|
|
168
264
|
return this.mode === 'multiple';
|
|
169
265
|
}
|
|
170
266
|
get isEveryDropdownItemHidden() {
|
|
171
|
-
return this.items.every((item) => item.
|
|
267
|
+
return this.items.every((item) => item.hidden === true);
|
|
172
268
|
}
|
|
173
269
|
watchValue(value) {
|
|
174
270
|
this.value = value;
|
|
175
271
|
this.updateSelection();
|
|
176
272
|
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
else {
|
|
185
|
-
this.cleanupResources();
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
cleanupResources() {
|
|
189
|
-
var _a, _b;
|
|
190
|
-
(_a = this.arrowFocusController) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
191
|
-
this.arrowFocusController = undefined;
|
|
192
|
-
(_b = this.itemObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
193
|
-
}
|
|
194
|
-
onItemClicked(event) {
|
|
195
|
-
const newId = event.detail;
|
|
196
|
-
this.itemClick(newId);
|
|
273
|
+
watchDisabledReadonly() {
|
|
274
|
+
// Disabled/readonly hides the chip close button, changing chip widths, so
|
|
275
|
+
// invalidate the measurement cache to force a re-measure on next render.
|
|
276
|
+
this.chipWidths.clear();
|
|
277
|
+
this.overflowChipWidth = 0;
|
|
197
278
|
}
|
|
198
279
|
updateFormInternalValue(value) {
|
|
199
280
|
if (Array.isArray(value)) {
|
|
@@ -213,20 +294,6 @@ const Select = class {
|
|
|
213
294
|
}
|
|
214
295
|
return !!this.value;
|
|
215
296
|
}
|
|
216
|
-
focusDropdownItem(index) {
|
|
217
|
-
var _a, _b;
|
|
218
|
-
this.navigationItem = undefined;
|
|
219
|
-
if (index < this.visibleNonShadowItems.length) {
|
|
220
|
-
const nestedDropdownItem = (_b = (_a = this.visibleNonShadowItems[index]) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('ix-dropdown-item');
|
|
221
|
-
if (!nestedDropdownItem) {
|
|
222
|
-
return;
|
|
223
|
-
}
|
|
224
|
-
requestAnimationFrame.requestAnimationFrameNoNgZone(() => {
|
|
225
|
-
var _a, _b;
|
|
226
|
-
(_b = (_a = nestedDropdownItem === null || nestedDropdownItem === void 0 ? void 0 : nestedDropdownItem.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('button')) === null || _b === void 0 ? void 0 : _b.focus();
|
|
227
|
-
});
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
297
|
itemClick(newId) {
|
|
231
298
|
const oldValue = this.value;
|
|
232
299
|
const value = this.toggleValue(newId);
|
|
@@ -239,15 +306,10 @@ const Select = class {
|
|
|
239
306
|
this.updateSelection();
|
|
240
307
|
if (this.isMultipleMode && this.inputFilterText) {
|
|
241
308
|
this.clearInput();
|
|
242
|
-
this.
|
|
243
|
-
if (this.arrowFocusController) {
|
|
244
|
-
this.arrowFocusController.items = this.visibleNonShadowItems;
|
|
245
|
-
}
|
|
246
|
-
this.navigationItem = undefined;
|
|
309
|
+
this.removeHiddenAttributeFromItems();
|
|
247
310
|
}
|
|
248
311
|
}
|
|
249
312
|
emitAddItem(value) {
|
|
250
|
-
var _a;
|
|
251
313
|
if (value === undefined || value.trim() === '') {
|
|
252
314
|
return false;
|
|
253
315
|
}
|
|
@@ -258,9 +320,11 @@ const Select = class {
|
|
|
258
320
|
const newItem = document.createElement('ix-select-item');
|
|
259
321
|
newItem.value = value;
|
|
260
322
|
newItem.label = value;
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
323
|
+
this.addItemElement?.before(newItem);
|
|
324
|
+
requestAnimationFrame.requestAnimationFrameNoNgZone(() => {
|
|
325
|
+
this.clearInput();
|
|
326
|
+
this.itemClick(value);
|
|
327
|
+
});
|
|
264
328
|
return false;
|
|
265
329
|
}
|
|
266
330
|
toggleValue(itemValue) {
|
|
@@ -282,7 +346,6 @@ const Select = class {
|
|
|
282
346
|
}
|
|
283
347
|
}
|
|
284
348
|
updateSelection() {
|
|
285
|
-
var _a, _b;
|
|
286
349
|
let ids = [];
|
|
287
350
|
if (this.value) {
|
|
288
351
|
ids = Array.isArray(this.value) ? [...this.value] : [this.value];
|
|
@@ -297,12 +360,13 @@ const Select = class {
|
|
|
297
360
|
}
|
|
298
361
|
});
|
|
299
362
|
});
|
|
300
|
-
this.selectedLabels = this.selectedItems.map((item) => item.label);
|
|
363
|
+
this.selectedLabels = this.selectedItems.map((item) => item.label ?? item.value);
|
|
364
|
+
this.pruneChipWidthCache();
|
|
301
365
|
if (this.dropdownShow && this.inputFilterText) {
|
|
302
366
|
return;
|
|
303
367
|
}
|
|
304
|
-
if (
|
|
305
|
-
this.inputValue =
|
|
368
|
+
if (this.selectedLabels?.length && this.isSingleMode) {
|
|
369
|
+
this.inputValue = this.selectedLabels[0] ?? '';
|
|
306
370
|
}
|
|
307
371
|
else {
|
|
308
372
|
this.inputValue = '';
|
|
@@ -317,209 +381,139 @@ const Select = class {
|
|
|
317
381
|
this.updateFormInternalValue(value);
|
|
318
382
|
return false;
|
|
319
383
|
}
|
|
384
|
+
createAddItemElement() {
|
|
385
|
+
const onAddItemButtonClick = () => {
|
|
386
|
+
this.emitAddItem(this.inputFilterText);
|
|
387
|
+
};
|
|
388
|
+
const createElement = () => {
|
|
389
|
+
const addItemElement = document.createElement('ix-dropdown-item');
|
|
390
|
+
addItemElement.hidden = true;
|
|
391
|
+
addItemElement.setAttribute('data-testid', 'add-item');
|
|
392
|
+
addItemElement.icon = index$1.iconPlus;
|
|
393
|
+
addItemElement.classList.add('add-item');
|
|
394
|
+
addItemElement.addEventListener('click', onAddItemButtonClick);
|
|
395
|
+
addItemElement.style.order = Number.MAX_SAFE_INTEGER.toString();
|
|
396
|
+
addItemElement.ariaHidden = 'true';
|
|
397
|
+
addItemElement.role = 'presentation';
|
|
398
|
+
return addItemElement;
|
|
399
|
+
};
|
|
400
|
+
const isRendered = this.hostElement.querySelector('.add-item');
|
|
401
|
+
if (!isRendered) {
|
|
402
|
+
this.hostElement.appendChild(createElement());
|
|
403
|
+
}
|
|
404
|
+
}
|
|
320
405
|
componentDidLoad() {
|
|
321
|
-
|
|
322
|
-
(_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.addEventListener('input', () => {
|
|
323
|
-
var _a;
|
|
406
|
+
this.inputElement?.addEventListener('input', () => {
|
|
324
407
|
this.dropdownShow = true;
|
|
325
|
-
this.inputChange.emit(
|
|
408
|
+
this.inputChange.emit(this.inputElement?.value);
|
|
409
|
+
});
|
|
410
|
+
this.createAddItemElement();
|
|
411
|
+
this.proxyListObserver = new MutationObserver(() => {
|
|
412
|
+
this.updateAriaProxyListbox();
|
|
413
|
+
});
|
|
414
|
+
this.proxyListObserver.observe(this.hostElement, {
|
|
415
|
+
attributes: true,
|
|
416
|
+
attributeFilter: ['aria-selected'],
|
|
417
|
+
subtree: true,
|
|
418
|
+
childList: true,
|
|
326
419
|
});
|
|
420
|
+
const chipsContainer = this.chipsContainerRef.current;
|
|
421
|
+
if (chipsContainer) {
|
|
422
|
+
this.chipsResizeObserver = new ResizeObserver(() => {
|
|
423
|
+
this.handleChipsContainerResize();
|
|
424
|
+
});
|
|
425
|
+
this.chipsResizeObserver.observe(chipsContainer);
|
|
426
|
+
}
|
|
327
427
|
}
|
|
328
428
|
componentWillLoad() {
|
|
329
429
|
this.updateSelection();
|
|
330
430
|
this.updateFormInternalValue(this.value);
|
|
331
431
|
}
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
return;
|
|
337
|
-
}
|
|
338
|
-
this.arrowFocusController = new focus.ArrowFocusController(this.visibleNonShadowItems, this.dropdownElement, this.focusControllerCallbackBind);
|
|
339
|
-
this.arrowFocusController.wrap =
|
|
340
|
-
!this.isAddItemVisible() && !this.visibleShadowItems.length;
|
|
432
|
+
disconnectedCallback() {
|
|
433
|
+
super.disconnectedCallback();
|
|
434
|
+
this.proxyListObserver?.disconnect();
|
|
435
|
+
this.chipsResizeObserver?.disconnect();
|
|
341
436
|
}
|
|
342
437
|
onLabelChange(event) {
|
|
343
438
|
event.preventDefault();
|
|
344
439
|
event.stopImmediatePropagation();
|
|
440
|
+
// A changed label/value alters the chip width, so drop the cache and let
|
|
441
|
+
// the next render re-measure the affected chips.
|
|
442
|
+
this.chipWidths.clear();
|
|
345
443
|
this.updateSelection();
|
|
346
444
|
}
|
|
347
|
-
disconnectedCallback() {
|
|
348
|
-
this.cleanupResources();
|
|
349
|
-
}
|
|
350
445
|
itemExists(item) {
|
|
351
446
|
return this.items.find((i) => i.label === item);
|
|
352
447
|
}
|
|
448
|
+
getActiveVisualFocusedItem() {
|
|
449
|
+
const elements = focusUtilities.queryElements(this.hostElement, `.${focusUtilities.IX_FOCUS_VISIBLE_ACTIVE}`);
|
|
450
|
+
if (elements.length > 0) {
|
|
451
|
+
return elements[0];
|
|
452
|
+
}
|
|
453
|
+
return null;
|
|
454
|
+
}
|
|
353
455
|
dropdownVisibilityChanged(event) {
|
|
354
|
-
var _a, _b;
|
|
355
456
|
this.dropdownShow = event.detail;
|
|
356
457
|
if (event.detail) {
|
|
357
|
-
|
|
358
|
-
(
|
|
359
|
-
|
|
458
|
+
this.inputElement?.focus();
|
|
459
|
+
if (this.hasValue()) {
|
|
460
|
+
this.inputElement?.select();
|
|
461
|
+
}
|
|
462
|
+
if (!this.inputFilterText) {
|
|
463
|
+
this.removeHiddenAttributeFromItems();
|
|
464
|
+
}
|
|
360
465
|
this.isDropdownEmpty = this.isEveryDropdownItemHidden;
|
|
466
|
+
this.checkVisibilityOfProxyList();
|
|
361
467
|
}
|
|
362
468
|
else {
|
|
363
|
-
this.navigationItem = undefined;
|
|
364
469
|
this.updateSelection();
|
|
365
470
|
this.inputFilterText = '';
|
|
471
|
+
this.dropdownItemsVisualFocused = false;
|
|
472
|
+
this.inputElement?.setAttribute('aria-activedescendant', '');
|
|
366
473
|
}
|
|
367
474
|
}
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
await this.onArrowNavigation(event, event.code);
|
|
371
|
-
}
|
|
372
|
-
if (!this.dropdownShow) {
|
|
373
|
-
return;
|
|
374
|
-
}
|
|
375
|
-
if (event.code === 'Enter' || event.code === 'NumpadEnter') {
|
|
376
|
-
await this.onEnterNavigation(event.target);
|
|
377
|
-
}
|
|
378
|
-
if (event.code === 'Escape') {
|
|
379
|
-
this.dropdownShow = false;
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
async onEnterNavigation(el) {
|
|
383
|
-
if (this.isMultipleMode) {
|
|
384
|
-
return;
|
|
385
|
-
}
|
|
386
|
-
const itemLabel = el === null || el === void 0 ? void 0 : el.label;
|
|
387
|
-
const item = this.itemExists(this.inputFilterText);
|
|
388
|
-
if (item) {
|
|
389
|
-
this.itemClick(item.value);
|
|
390
|
-
}
|
|
391
|
-
else if (this.editable && !this.itemExists(itemLabel)) {
|
|
392
|
-
const defaultPrevented = this.emitAddItem(this.inputFilterText);
|
|
393
|
-
if (defaultPrevented) {
|
|
394
|
-
return;
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
this.dropdownShow = false;
|
|
398
|
-
this.updateSelection();
|
|
399
|
-
}
|
|
400
|
-
async onArrowNavigation(event, key) {
|
|
401
|
-
var _a;
|
|
402
|
-
if (event.defaultPrevented) {
|
|
403
|
-
return;
|
|
404
|
-
}
|
|
405
|
-
event.preventDefault();
|
|
406
|
-
event.stopPropagation();
|
|
407
|
-
this.dropdownShow = true;
|
|
408
|
-
if (!this.navigationItem && document.activeElement === this.hostElement) {
|
|
409
|
-
if (this.visibleItems.length) {
|
|
410
|
-
this.applyFocusTo(this.visibleItems.shift());
|
|
411
|
-
}
|
|
412
|
-
else if (this.isAddItemVisible()) {
|
|
413
|
-
this.focusAddItemButton();
|
|
414
|
-
}
|
|
415
|
-
return;
|
|
416
|
-
}
|
|
417
|
-
const moveUp = key === 'ArrowUp';
|
|
418
|
-
const indexNonShadow = document.activeElement
|
|
419
|
-
? this.visibleNonShadowItems.indexOf(document.activeElement)
|
|
420
|
-
: -1;
|
|
421
|
-
// Slotted select items
|
|
422
|
-
if (indexNonShadow === 0) {
|
|
423
|
-
if (!this.visibleShadowItems.length && this.isAddItemVisible()) {
|
|
424
|
-
this.focusAddItemButton();
|
|
425
|
-
}
|
|
426
|
-
else {
|
|
427
|
-
this.applyFocusTo(this.visibleShadowItems.pop());
|
|
428
|
-
}
|
|
429
|
-
return;
|
|
430
|
-
}
|
|
431
|
-
else if (indexNonShadow !== -1 &&
|
|
432
|
-
indexNonShadow === this.visibleNonShadowItems.length - 1) {
|
|
433
|
-
if (this.visibleShadowItems.length) {
|
|
434
|
-
this.applyFocusTo(this.visibleShadowItems.shift());
|
|
435
|
-
}
|
|
436
|
-
else if (this.isAddItemVisible()) {
|
|
437
|
-
this.focusAddItemButton();
|
|
438
|
-
}
|
|
439
|
-
return;
|
|
440
|
-
}
|
|
441
|
-
if (!this.navigationItem) {
|
|
442
|
-
return;
|
|
443
|
-
}
|
|
444
|
-
if (this.isAddItemVisible() &&
|
|
445
|
-
((_a = this.addItemElement) === null || _a === void 0 ? void 0 : _a.contains(await this.navigationItem.getDropdownItemElement()))) {
|
|
446
|
-
if (moveUp) {
|
|
447
|
-
this.applyFocusTo(this.visibleItems.pop());
|
|
448
|
-
}
|
|
449
|
-
else if (this.visibleItems.length) {
|
|
450
|
-
this.applyFocusTo(this.visibleItems.shift());
|
|
451
|
-
}
|
|
452
|
-
return;
|
|
453
|
-
}
|
|
454
|
-
// Custom select items
|
|
455
|
-
const indexShadow = this.visibleShadowItems.indexOf(this.navigationItem);
|
|
456
|
-
if (moveUp) {
|
|
457
|
-
if (indexShadow === 0) {
|
|
458
|
-
if (this.visibleNonShadowItems.length) {
|
|
459
|
-
this.applyFocusTo(this.visibleNonShadowItems.pop());
|
|
460
|
-
}
|
|
461
|
-
else if (this.isAddItemVisible()) {
|
|
462
|
-
this.focusAddItemButton();
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
else {
|
|
466
|
-
this.applyFocusTo(this.visibleShadowItems[indexShadow - 1]);
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
else {
|
|
470
|
-
if (indexShadow === this.visibleShadowItems.length - 1) {
|
|
471
|
-
if (this.isAddItemVisible()) {
|
|
472
|
-
this.focusAddItemButton();
|
|
473
|
-
}
|
|
474
|
-
else {
|
|
475
|
-
this.applyFocusTo(this.visibleItems.shift());
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
else {
|
|
479
|
-
this.applyFocusTo(this.visibleShadowItems[indexShadow + 1]);
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
applyFocusTo(element) {
|
|
484
|
-
if (!element) {
|
|
485
|
-
return;
|
|
486
|
-
}
|
|
487
|
-
this.navigationItem = element;
|
|
488
|
-
setTimeout(() => {
|
|
489
|
-
var _a, _b, _c, _d;
|
|
490
|
-
(_d = (_c = (_b = (_a = element.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('ix-dropdown-item')) === null || _b === void 0 ? void 0 : _b.shadowRoot) === null || _c === void 0 ? void 0 : _c.querySelector('button')) === null || _d === void 0 ? void 0 : _d.focus();
|
|
491
|
-
});
|
|
492
|
-
}
|
|
493
|
-
focusAddItemButton() {
|
|
494
|
-
var _a, _b;
|
|
495
|
-
if (this.addItemButton) {
|
|
496
|
-
(_b = (_a = this.addItemButton.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('button')) === null || _b === void 0 ? void 0 : _b.focus();
|
|
497
|
-
this.navigationItem = this.addItemElement;
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
filterItemsWithTypeahead() {
|
|
501
|
-
var _a, _b;
|
|
502
|
-
this.inputFilterText = (_b = (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.value.trim()) !== null && _b !== void 0 ? _b : '';
|
|
475
|
+
setItemFilter() {
|
|
476
|
+
this.inputFilterText = this.inputElement?.value.trim() ?? '';
|
|
503
477
|
if (this.inputFilterText) {
|
|
504
478
|
this.items.forEach((item) => {
|
|
505
|
-
|
|
506
|
-
item.
|
|
507
|
-
if (
|
|
508
|
-
|
|
479
|
+
const proxyItem = this.hostElement.shadowRoot?.getElementById(`${item.id}-${focusProxy.PROXY_LISTITEM_ID_SUFFIX}`);
|
|
480
|
+
item.hidden = false;
|
|
481
|
+
if (proxyItem) {
|
|
482
|
+
proxyItem.hidden = false;
|
|
483
|
+
proxyItem.setAttribute('aria-hidden', 'false');
|
|
484
|
+
}
|
|
485
|
+
if (!item.label
|
|
486
|
+
?.toLowerCase()
|
|
487
|
+
.includes(this.inputFilterText.toLowerCase())) {
|
|
488
|
+
item.hidden = true;
|
|
489
|
+
if (proxyItem) {
|
|
490
|
+
proxyItem.hidden = true;
|
|
491
|
+
proxyItem.setAttribute('aria-hidden', 'true');
|
|
492
|
+
}
|
|
509
493
|
}
|
|
510
494
|
});
|
|
511
495
|
}
|
|
512
496
|
else {
|
|
513
|
-
this.
|
|
514
|
-
}
|
|
515
|
-
if (this.arrowFocusController) {
|
|
516
|
-
this.arrowFocusController.items = this.visibleNonShadowItems;
|
|
497
|
+
this.removeHiddenAttributeFromItems();
|
|
517
498
|
}
|
|
518
499
|
this.isDropdownEmpty = this.isEveryDropdownItemHidden;
|
|
500
|
+
this.checkVisibilityOfProxyList();
|
|
501
|
+
}
|
|
502
|
+
checkVisibilityOfProxyList() {
|
|
503
|
+
const proxyList = this.hostElement?.shadowRoot?.getElementById(`${this.hostId}-${focusProxy.PROXY_LIST_ID_SUFFIX}`);
|
|
504
|
+
if (!proxyList) {
|
|
505
|
+
return;
|
|
506
|
+
}
|
|
507
|
+
proxyList.hidden = this.isDropdownEmpty;
|
|
519
508
|
}
|
|
520
|
-
|
|
509
|
+
removeHiddenAttributeFromItems() {
|
|
521
510
|
this.items.forEach((item) => {
|
|
522
|
-
item.
|
|
511
|
+
item.hidden = false;
|
|
512
|
+
const proxyItem = this.hostElement.shadowRoot?.getElementById(`${item.id}-${focusProxy.PROXY_LISTITEM_ID_SUFFIX}`);
|
|
513
|
+
if (proxyItem) {
|
|
514
|
+
proxyItem.hidden = false;
|
|
515
|
+
proxyItem.setAttribute('aria-hidden', 'false');
|
|
516
|
+
}
|
|
523
517
|
});
|
|
524
518
|
}
|
|
525
519
|
clearInput() {
|
|
@@ -539,6 +533,7 @@ const Select = class {
|
|
|
539
533
|
onInputBlur(event) {
|
|
540
534
|
this.ixBlur.emit();
|
|
541
535
|
this.touched = true;
|
|
536
|
+
this.hasInputFocus = false;
|
|
542
537
|
if (this.editable) {
|
|
543
538
|
return;
|
|
544
539
|
}
|
|
@@ -550,6 +545,9 @@ const Select = class {
|
|
|
550
545
|
target.value = this.selectedLabels.toString();
|
|
551
546
|
}
|
|
552
547
|
}
|
|
548
|
+
onInputFocus() {
|
|
549
|
+
this.hasInputFocus = true;
|
|
550
|
+
}
|
|
553
551
|
placeholderValue() {
|
|
554
552
|
if (this.disabled) {
|
|
555
553
|
return '';
|
|
@@ -571,20 +569,343 @@ const Select = class {
|
|
|
571
569
|
return (this.selectedItems.length === this.items.length &&
|
|
572
570
|
this.collapseMultipleSelection);
|
|
573
571
|
}
|
|
572
|
+
getRemoveChipAriaLabel(item) {
|
|
573
|
+
const name = (item.label ?? item.value)?.toString().trim();
|
|
574
|
+
if (!name) {
|
|
575
|
+
return this.i18nRemoveSelectedItem;
|
|
576
|
+
}
|
|
577
|
+
return `${this.i18nRemoveSelectedItem} ${name}`;
|
|
578
|
+
}
|
|
574
579
|
renderAllChip() {
|
|
575
|
-
return (index.h("ix-filter-chip", { disabled: this.disabled || this.readonly, ariaLabelCloseIconButton: this.i18nAllSelected
|
|
580
|
+
return (index.h("ix-filter-chip", { disabled: this.disabled || this.readonly, ariaLabelCloseIconButton: `${this.i18nRemoveSelectedItem} ${this.i18nAllSelected}`, onCloseClick: (e) => {
|
|
576
581
|
e.preventDefault();
|
|
577
582
|
e.stopPropagation();
|
|
578
583
|
this.clear();
|
|
579
584
|
} }, `${this.i18nAllSelected} (${this.selectedItems.length})`));
|
|
580
585
|
}
|
|
581
|
-
renderChip(item) {
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
586
|
+
renderChip(item, measuring) {
|
|
587
|
+
const value = item.value.toString();
|
|
588
|
+
return (index.h("ix-filter-chip", { class: {
|
|
589
|
+
'chip-measuring': measuring,
|
|
590
|
+
}, disabled: this.disabled || this.readonly, key: value, ariaLabelCloseIconButton: this.getRemoveChipAriaLabel(item), ref: (ref) => {
|
|
591
|
+
if (ref) {
|
|
592
|
+
this.chipElementRefs.set(value, ref);
|
|
593
|
+
return;
|
|
594
|
+
}
|
|
595
|
+
this.chipElementRefs.delete(value);
|
|
596
|
+
}, onCloseClick: () => {
|
|
597
|
+
this.itemClick(item.value);
|
|
598
|
+
this.inputElement?.focus();
|
|
599
|
+
} }, item.label));
|
|
600
|
+
}
|
|
601
|
+
renderHiddenChip(item) {
|
|
602
|
+
return (index.h("ix-filter-chip", { class: "chip-hidden-item", disabled: this.disabled || this.readonly, key: `hidden-${item.value}`, ariaLabelCloseIconButton: this.getRemoveChipAriaLabel(item), onCloseClick: () => {
|
|
603
|
+
this.overflowDropdownShow = false;
|
|
585
604
|
this.itemClick(item.value);
|
|
605
|
+
this.inputElement?.focus();
|
|
586
606
|
} }, item.label));
|
|
587
607
|
}
|
|
608
|
+
renderOverflowChip() {
|
|
609
|
+
const count = this.hiddenChipValues.length;
|
|
610
|
+
const ariaLabel = this.i18nMoreItems.replace('{count}', count.toString());
|
|
611
|
+
return (index.h("ix-filter-chip", { key: "overflow-chip", class: "chip-overflow", hideCloseButton: true, disabled: this.disabled || this.readonly, tabindex: this.disabled || this.readonly ? -1 : 0, role: "button", "aria-haspopup": "listbox", "aria-expanded": a11y.a11yBoolean(this.overflowDropdownShow), "aria-label": ariaLabel, ref: this.overflowChipRef, onClick: (event) => {
|
|
612
|
+
event.preventDefault();
|
|
613
|
+
event.stopPropagation();
|
|
614
|
+
this.toggleOverflowDropdown();
|
|
615
|
+
}, onKeyDown: (event) => {
|
|
616
|
+
if (event.key === 'Enter' ||
|
|
617
|
+
event.key === ' ' ||
|
|
618
|
+
event.key === 'ArrowDown') {
|
|
619
|
+
event.preventDefault();
|
|
620
|
+
event.stopImmediatePropagation();
|
|
621
|
+
this.overflowDropdownOpenedByKeyboard = true;
|
|
622
|
+
this.overflowDropdownShow = true;
|
|
623
|
+
}
|
|
624
|
+
} }, `+${count}`));
|
|
625
|
+
}
|
|
626
|
+
renderMultipleModeChips() {
|
|
627
|
+
if (this.items.length === 0) {
|
|
628
|
+
return null;
|
|
629
|
+
}
|
|
630
|
+
if (this.shouldDisplayAllChip()) {
|
|
631
|
+
return this.renderAllChip();
|
|
632
|
+
}
|
|
633
|
+
const selected = this.selectedItems;
|
|
634
|
+
if (selected.length === 0) {
|
|
635
|
+
return null;
|
|
636
|
+
}
|
|
637
|
+
const visibleItems = selected.filter((item) => {
|
|
638
|
+
const value = item.value.toString();
|
|
639
|
+
if (!this.chipWidths.has(value)) {
|
|
640
|
+
return false;
|
|
641
|
+
}
|
|
642
|
+
return (this.visibleChipValues === null ||
|
|
643
|
+
this.visibleChipValues.includes(value));
|
|
644
|
+
});
|
|
645
|
+
const unmeasuredItems = selected.filter((item) => !this.chipWidths.has(item.value.toString()));
|
|
646
|
+
return [
|
|
647
|
+
...visibleItems.map((item) => this.renderChip(item, false)),
|
|
648
|
+
this.hiddenChipValues.length > 0 ? this.renderOverflowChip() : null,
|
|
649
|
+
...unmeasuredItems.map((item) => this.renderChip(item, true)),
|
|
650
|
+
];
|
|
651
|
+
}
|
|
652
|
+
renderOverflowDropdown() {
|
|
653
|
+
return (index.h("ix-dropdown", { class: "overflow-dropdown", show: this.overflowDropdownShow, anchor: this.overflowChipRef.waitForCurrent(), closeBehavior: "outside", placement: "bottom-start", onShowChanged: (event) => {
|
|
654
|
+
this.overflowDropdownShow = event.detail;
|
|
655
|
+
if (event.detail && this.overflowDropdownOpenedByKeyboard) {
|
|
656
|
+
this.overflowDropdownOpenedByKeyboard = false;
|
|
657
|
+
this.focusOverflowRemoveButton(0);
|
|
658
|
+
}
|
|
659
|
+
} }, index.h("div", { class: "overflow-dropdown-content" }, this.hiddenChipValues.map((value) => {
|
|
660
|
+
const item = this.selectedItems.find((selectedItem) => selectedItem.value.toString() === value);
|
|
661
|
+
return item ? this.renderHiddenChip(item) : null;
|
|
662
|
+
}))));
|
|
663
|
+
}
|
|
664
|
+
toggleOverflowDropdown() {
|
|
665
|
+
if (this.disabled || this.readonly) {
|
|
666
|
+
return;
|
|
667
|
+
}
|
|
668
|
+
this.overflowDropdownShow = !this.overflowDropdownShow;
|
|
669
|
+
}
|
|
670
|
+
getOverflowRemoveButtons() {
|
|
671
|
+
const dropdown = this.hostElement.shadowRoot?.querySelector('ix-dropdown.overflow-dropdown');
|
|
672
|
+
if (!dropdown) {
|
|
673
|
+
return [];
|
|
674
|
+
}
|
|
675
|
+
return Array.from(dropdown.querySelectorAll('ix-filter-chip.chip-hidden-item')).flatMap((chip) => {
|
|
676
|
+
const iconButton = chip.shadowRoot?.querySelector('ix-icon-button');
|
|
677
|
+
const button = iconButton?.shadowRoot?.querySelector('button');
|
|
678
|
+
return button ? [button] : [];
|
|
679
|
+
});
|
|
680
|
+
}
|
|
681
|
+
focusOverflowRemoveButton(index) {
|
|
682
|
+
requestAnimationFrame.requestAnimationFrameNoNgZone(() => {
|
|
683
|
+
const buttons = this.getOverflowRemoveButtons();
|
|
684
|
+
const button = buttons[index];
|
|
685
|
+
if (!button) {
|
|
686
|
+
return;
|
|
687
|
+
}
|
|
688
|
+
button.focus({ preventScroll: true });
|
|
689
|
+
button.scrollIntoView({ block: 'nearest' });
|
|
690
|
+
});
|
|
691
|
+
}
|
|
692
|
+
onOverflowRemoveButtonKeyDown(event) {
|
|
693
|
+
if (!this.overflowDropdownShow) {
|
|
694
|
+
return;
|
|
695
|
+
}
|
|
696
|
+
const buttons = this.getOverflowRemoveButtons();
|
|
697
|
+
const currentIndex = buttons.findIndex((button) => event.composedPath().includes(button));
|
|
698
|
+
if (currentIndex === -1) {
|
|
699
|
+
return;
|
|
700
|
+
}
|
|
701
|
+
switch (event.key) {
|
|
702
|
+
case 'ArrowDown': {
|
|
703
|
+
event.preventDefault();
|
|
704
|
+
event.stopImmediatePropagation();
|
|
705
|
+
this.focusOverflowRemoveButton((currentIndex + 1) % buttons.length);
|
|
706
|
+
break;
|
|
707
|
+
}
|
|
708
|
+
case 'ArrowUp': {
|
|
709
|
+
event.preventDefault();
|
|
710
|
+
event.stopImmediatePropagation();
|
|
711
|
+
this.focusOverflowRemoveButton((currentIndex - 1 + buttons.length) % buttons.length);
|
|
712
|
+
break;
|
|
713
|
+
}
|
|
714
|
+
case 'Tab': {
|
|
715
|
+
event.preventDefault();
|
|
716
|
+
event.stopImmediatePropagation();
|
|
717
|
+
this.focusOverflowRemoveButton(event.shiftKey
|
|
718
|
+
? (currentIndex - 1 + buttons.length) % buttons.length
|
|
719
|
+
: (currentIndex + 1) % buttons.length);
|
|
720
|
+
break;
|
|
721
|
+
}
|
|
722
|
+
case 'Escape': {
|
|
723
|
+
event.preventDefault();
|
|
724
|
+
event.stopImmediatePropagation();
|
|
725
|
+
this.overflowDropdownShow = false;
|
|
726
|
+
this.focusOverflowChip();
|
|
727
|
+
break;
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
focusOverflowChip() {
|
|
732
|
+
requestAnimationFrame.requestAnimationFrameNoNgZone(() => {
|
|
733
|
+
this.overflowChipRef.current?.focus({ preventScroll: true });
|
|
734
|
+
});
|
|
735
|
+
}
|
|
736
|
+
pruneChipWidthCache() {
|
|
737
|
+
const validValues = new Set(this.selectedItems.map((item) => item.value.toString()));
|
|
738
|
+
for (const value of this.chipWidths.keys()) {
|
|
739
|
+
if (!validValues.has(value)) {
|
|
740
|
+
this.chipWidths.delete(value);
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
sameChipValues(a, b) {
|
|
745
|
+
if (a === b) {
|
|
746
|
+
return true;
|
|
747
|
+
}
|
|
748
|
+
if (a === null || b === null) {
|
|
749
|
+
return false;
|
|
750
|
+
}
|
|
751
|
+
if (a.length !== b.length) {
|
|
752
|
+
return false;
|
|
753
|
+
}
|
|
754
|
+
return a.every((value, index) => value === b[index]);
|
|
755
|
+
}
|
|
756
|
+
applyOverflowState(visible, hidden) {
|
|
757
|
+
if (!this.sameChipValues(this.visibleChipValues, visible)) {
|
|
758
|
+
this.visibleChipValues = visible;
|
|
759
|
+
}
|
|
760
|
+
if (!this.sameChipValues(this.hiddenChipValues, hidden)) {
|
|
761
|
+
this.hiddenChipValues = hidden;
|
|
762
|
+
}
|
|
763
|
+
if (hidden.length === 0 && this.overflowDropdownShow) {
|
|
764
|
+
this.overflowDropdownShow = false;
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
getChipWidthWithMargin(value) {
|
|
768
|
+
return (this.chipWidths.get(value) ?? 0) + this.chipHorizontalMargin;
|
|
769
|
+
}
|
|
770
|
+
getOverflowChipWidthWithMargin() {
|
|
771
|
+
return ((this.overflowChipWidth || this.overflowChipFallbackWidth) +
|
|
772
|
+
this.chipHorizontalMargin);
|
|
773
|
+
}
|
|
774
|
+
canShowAllChips(values, available) {
|
|
775
|
+
const totalWidth = values.reduce((width, value) => width + this.getChipWidthWithMargin(value), 0);
|
|
776
|
+
return totalWidth <= available;
|
|
777
|
+
}
|
|
778
|
+
getOverflowChipValues(values, available) {
|
|
779
|
+
const [firstValue, ...remainingValues] = values;
|
|
780
|
+
if (firstValue === undefined) {
|
|
781
|
+
return { visible: [], hidden: [] };
|
|
782
|
+
}
|
|
783
|
+
const visible = [firstValue];
|
|
784
|
+
const hidden = [];
|
|
785
|
+
let usedWidth = this.getChipWidthWithMargin(firstValue);
|
|
786
|
+
const overflowChipWidth = this.getOverflowChipWidthWithMargin();
|
|
787
|
+
for (const [index, value] of remainingValues.entries()) {
|
|
788
|
+
const width = this.getChipWidthWithMargin(value);
|
|
789
|
+
if (usedWidth + width + overflowChipWidth <= available) {
|
|
790
|
+
visible.push(value);
|
|
791
|
+
usedWidth += width;
|
|
792
|
+
continue;
|
|
793
|
+
}
|
|
794
|
+
hidden.push(...remainingValues.slice(index));
|
|
795
|
+
break;
|
|
796
|
+
}
|
|
797
|
+
return { visible, hidden };
|
|
798
|
+
}
|
|
799
|
+
hasUnmeasuredSelectedChips(values) {
|
|
800
|
+
return values.some((value) => !this.chipWidths.has(value));
|
|
801
|
+
}
|
|
802
|
+
getChipOverflowContext() {
|
|
803
|
+
if (!this.isMultipleMode || this.shouldDisplayAllChip()) {
|
|
804
|
+
this.applyOverflowState(null, []);
|
|
805
|
+
return null;
|
|
806
|
+
}
|
|
807
|
+
const container = this.chipsContainerRef.current;
|
|
808
|
+
if (!container) {
|
|
809
|
+
return null;
|
|
810
|
+
}
|
|
811
|
+
const values = this.selectedItems.map((item) => item.value.toString());
|
|
812
|
+
if (values.length === 0) {
|
|
813
|
+
this.applyOverflowState(null, []);
|
|
814
|
+
return null;
|
|
815
|
+
}
|
|
816
|
+
return { container, values };
|
|
817
|
+
}
|
|
818
|
+
handleChipsContainerResize() {
|
|
819
|
+
const context = this.getChipOverflowContext();
|
|
820
|
+
if (!context) {
|
|
821
|
+
return;
|
|
822
|
+
}
|
|
823
|
+
if (this.hasUnmeasuredSelectedChips(context.values)) {
|
|
824
|
+
// If the select was initially hidden, widths can be 0 on first render.
|
|
825
|
+
// A resize after becoming visible should trigger a re-measure pass.
|
|
826
|
+
index.forceUpdate(this);
|
|
827
|
+
return;
|
|
828
|
+
}
|
|
829
|
+
this.calculateChipOverflow(context);
|
|
830
|
+
}
|
|
831
|
+
calculateChipOverflow(context = this.getChipOverflowContext()) {
|
|
832
|
+
if (!context) {
|
|
833
|
+
return;
|
|
834
|
+
}
|
|
835
|
+
const { container, values } = context;
|
|
836
|
+
if (!values.every((value) => this.chipWidths.has(value))) {
|
|
837
|
+
return;
|
|
838
|
+
}
|
|
839
|
+
const clearButtonWidth = this.allowClear && this.clearButtonRef.current
|
|
840
|
+
? this.clearButtonRef.current.offsetWidth
|
|
841
|
+
: 0;
|
|
842
|
+
const available = container.clientWidth - this.triggerMinWidth - clearButtonWidth;
|
|
843
|
+
if (this.canShowAllChips(values, available)) {
|
|
844
|
+
this.applyOverflowState(null, []);
|
|
845
|
+
return;
|
|
846
|
+
}
|
|
847
|
+
const { visible, hidden } = this.getOverflowChipValues(values, available);
|
|
848
|
+
this.applyOverflowState(visible, hidden);
|
|
849
|
+
}
|
|
850
|
+
async waitForComponentReady(element) {
|
|
851
|
+
const stencilComponent = element;
|
|
852
|
+
if (typeof stencilComponent?.componentOnReady === 'function') {
|
|
853
|
+
await stencilComponent.componentOnReady();
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
waitForNextFrame() {
|
|
857
|
+
return new Promise((resolve) => requestAnimationFrame.requestAnimationFrameNoNgZone(() => resolve()));
|
|
858
|
+
}
|
|
859
|
+
async waitForChipLayout(elements) {
|
|
860
|
+
await Promise.all(elements.map((element) => this.waitForComponentReady(element)));
|
|
861
|
+
await this.waitForNextFrame();
|
|
862
|
+
}
|
|
863
|
+
async measureSelectedChipWidths(items) {
|
|
864
|
+
const elements = items.map((item) => this.chipElementRefs.get(item.value.toString()));
|
|
865
|
+
await this.waitForChipLayout(elements);
|
|
866
|
+
let measuredAny = false;
|
|
867
|
+
for (const item of items) {
|
|
868
|
+
const value = item.value.toString();
|
|
869
|
+
const element = this.chipElementRefs.get(value);
|
|
870
|
+
if (element && element.offsetWidth > 0) {
|
|
871
|
+
this.chipWidths.set(value, element.offsetWidth);
|
|
872
|
+
measuredAny = true;
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
return measuredAny;
|
|
876
|
+
}
|
|
877
|
+
async measureOverflowChipWidth() {
|
|
878
|
+
if (this.hiddenChipValues.length === 0 || this.overflowChipWidth > 0) {
|
|
879
|
+
return;
|
|
880
|
+
}
|
|
881
|
+
const overflowElement = await this.overflowChipRef.waitForCurrent();
|
|
882
|
+
await this.waitForChipLayout([overflowElement]);
|
|
883
|
+
if (overflowElement.offsetWidth > 0) {
|
|
884
|
+
this.overflowChipWidth = overflowElement.offsetWidth;
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
async componentDidRender() {
|
|
888
|
+
if (!this.isMultipleMode || this.shouldDisplayAllChip()) {
|
|
889
|
+
this.applyOverflowState(null, []);
|
|
890
|
+
return;
|
|
891
|
+
}
|
|
892
|
+
const selected = this.selectedItems;
|
|
893
|
+
if (selected.length === 0) {
|
|
894
|
+
this.applyOverflowState(null, []);
|
|
895
|
+
return;
|
|
896
|
+
}
|
|
897
|
+
const unmeasured = selected.filter((item) => !this.chipWidths.has(item.value.toString()));
|
|
898
|
+
if (unmeasured.length > 0) {
|
|
899
|
+
const measuredAny = await this.measureSelectedChipWidths(unmeasured);
|
|
900
|
+
if (measuredAny) {
|
|
901
|
+
this.calculateChipOverflow();
|
|
902
|
+
index.forceUpdate(this);
|
|
903
|
+
}
|
|
904
|
+
return;
|
|
905
|
+
}
|
|
906
|
+
await this.measureOverflowChipWidth();
|
|
907
|
+
this.calculateChipOverflow();
|
|
908
|
+
}
|
|
588
909
|
onValidationChange({ isInvalid, isInvalidByRequired, isValid, isInfo, isWarning, }) {
|
|
589
910
|
this.isInvalid = isInvalid || isInvalidByRequired;
|
|
590
911
|
this.isValid = isValid;
|
|
@@ -622,50 +943,105 @@ const Select = class {
|
|
|
622
943
|
isTouched() {
|
|
623
944
|
return Promise.resolve(this.touched);
|
|
624
945
|
}
|
|
946
|
+
getControllingAriaElement() {
|
|
947
|
+
return this.inputRef.waitForCurrent();
|
|
948
|
+
}
|
|
949
|
+
isAriaActiveDescendantActive() {
|
|
950
|
+
return this.dropdownShow;
|
|
951
|
+
}
|
|
952
|
+
getAriaActiveDescendantProxyItemId() {
|
|
953
|
+
return 'proxy-listbox-item';
|
|
954
|
+
}
|
|
955
|
+
componentWillRender() {
|
|
956
|
+
if (this.addItemElement) {
|
|
957
|
+
this.addItemElement.hidden = !this.isAddItemVisible();
|
|
958
|
+
this.addItemElement.label = this.inputFilterText;
|
|
959
|
+
}
|
|
960
|
+
this.updateAriaProxyListbox();
|
|
961
|
+
if (this.isMultipleMode && !this.shouldDisplayAllChip()) {
|
|
962
|
+
const selected = this.selectedItems;
|
|
963
|
+
const allMeasured = selected.length > 0 &&
|
|
964
|
+
selected.every((item) => this.chipWidths.has(item.value.toString()));
|
|
965
|
+
if (allMeasured) {
|
|
966
|
+
this.calculateChipOverflow();
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
updateAriaProxyListbox() {
|
|
971
|
+
const ariaActiveDescendantHelper = this.hostElement.shadowRoot?.getElementById(`${this.hostId}-proxy-listbox`);
|
|
972
|
+
if (this.focusableItems.length === 0) {
|
|
973
|
+
return;
|
|
974
|
+
}
|
|
975
|
+
focusProxy.updateFocusProxyList(ariaActiveDescendantHelper, this.focusableItems, (item, proxyElement) => {
|
|
976
|
+
const isSelectItem = item.tagName === 'IX-SELECT-ITEM';
|
|
977
|
+
const ariaLabel = item.getAttribute('aria-label') ||
|
|
978
|
+
item.label ||
|
|
979
|
+
(isSelectItem ? item.value : '') ||
|
|
980
|
+
'';
|
|
981
|
+
const selected = isSelectItem
|
|
982
|
+
? item.selected
|
|
983
|
+
: item.checked;
|
|
984
|
+
proxyElement.role = 'option';
|
|
985
|
+
proxyElement.innerText = item.label ?? '';
|
|
986
|
+
proxyElement.ariaLabel = ariaLabel;
|
|
987
|
+
proxyElement.ariaSelected = a11y.a11yBoolean(!!selected);
|
|
988
|
+
// Forward clicks from the proxy element to the actual dropdown item
|
|
989
|
+
proxyElement.addEventListener('click', (event) => {
|
|
990
|
+
event.stopPropagation();
|
|
991
|
+
event.preventDefault();
|
|
992
|
+
item.click();
|
|
993
|
+
});
|
|
994
|
+
if (this.addItemElement === item) {
|
|
995
|
+
proxyElement.ariaLabel = `${this.ariaLabelAddItem}: ${item.label}`;
|
|
996
|
+
}
|
|
997
|
+
// Bad for building playwright selectors but necessary to ensure that assistive technologies
|
|
998
|
+
// can announce the items in the dropdown with their respective aria-labels
|
|
999
|
+
item.ariaHidden = 'true';
|
|
1000
|
+
});
|
|
1001
|
+
}
|
|
625
1002
|
render() {
|
|
626
|
-
|
|
627
|
-
return (index.h(index.Host, { key: '44a92192a5bb2243e52b5dedfc6513b75e1762e6', "aria-disabled": a11y.a11yBoolean(this.disabled), class: {
|
|
1003
|
+
return (index.h(index.Host, { key: '3d24590fff4b5d99842ec846719e68d65e13d69d', id: this.getHostElementId(), class: {
|
|
628
1004
|
readonly: this.readonly,
|
|
629
1005
|
disabled: this.disabled,
|
|
630
|
-
|
|
1006
|
+
'show-focus-outline': this.hasInputFocus && !this.dropdownItemsVisualFocused,
|
|
1007
|
+
}, tabIndex: this.disabled ? -1 : 0 }, index.h("ix-field-wrapper", { key: '38d7afa06295f5ad795a43cfbe875e341f9837bd', required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, index.h("div", { key: 'e3640d7028f8e43208243a7a49d1065897199f85', class: {
|
|
631
1008
|
select: true,
|
|
632
1009
|
disabled: this.disabled,
|
|
633
1010
|
readonly: this.readonly,
|
|
634
1011
|
}, ref: (ref) => {
|
|
635
1012
|
this.dropdownAnchorRef(ref);
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
this.
|
|
640
|
-
(this.shouldDisplayAllChip()
|
|
641
|
-
? this.renderAllChip()
|
|
642
|
-
: (_a = this.selectedItems) === null || _a === void 0 ? void 0 : _a.map((item) => this.renderChip(item))), index.h("div", { key: 'bf4730e7d19381c632063670ef11178e6998fe21', class: "trigger" }, index.h("input", { key: '5191e5a69165d1f22a0b807612d5c0eef16e4429', autocomplete: "off", "data-testid": "input", disabled: this.disabled, readOnly: this.readonly, required: this.required, type: "text", class: {
|
|
643
|
-
'allow-clear': this.allowClear && !!((_b = this.selectedLabels) === null || _b === void 0 ? void 0 : _b.length),
|
|
644
|
-
}, placeholder: this.placeholderValue(), value: (_c = this.inputValue) !== null && _c !== void 0 ? _c : '', ref: (ref) => {
|
|
1013
|
+
this.dropdownWrapperRef(ref);
|
|
1014
|
+
} }, index.h("div", { key: '8f7f92597a46203db9c2bb9d6059dec538d5b288', class: "input-container" }, index.h("div", { key: '500f47f8ae57080d867b84ce31972108d5ef931d', class: "chips", ref: this.chipsContainerRef }, this.isMultipleMode && this.renderMultipleModeChips(), index.h("div", { key: '330c7e488669f0ca1283e0f2fe1a09ed9a823397', class: "trigger" }, index.h("input", { key: '69b2a620b3802ad51d9a092b589e9ab48290cb4c', id: `${this.hostId}-input`, role: "combobox", "aria-controls": `${this.hostId}-proxy-listbox`, "aria-expanded": a11y.a11yBoolean(this.dropdownShow), "aria-autocomplete": "list", "aria-disabled": a11y.a11yBoolean(this.disabled), autocomplete: "off", "data-testid": "input", disabled: this.disabled, readOnly: this.readonly, required: this.required, type: "text", class: {
|
|
1015
|
+
'allow-clear': this.allowClear && !!this.selectedLabels?.length,
|
|
1016
|
+
}, placeholder: this.placeholderValue(), value: this.inputValue ?? '', ref: (ref) => {
|
|
645
1017
|
this.inputElement = ref;
|
|
646
1018
|
this.inputRef(ref);
|
|
647
|
-
}, onBlur: (e) => this.onInputBlur(e),
|
|
648
|
-
this.navigationItem = undefined;
|
|
649
|
-
}, onInput: () => this.filterItemsWithTypeahead(), onKeyDown: (e) => this.onKeyDown(e) }), this.allowClear &&
|
|
1019
|
+
}, onFocus: () => this.onInputFocus(), onBlur: (e) => this.onInputBlur(e), onInput: () => this.setItemFilter() }), this.allowClear &&
|
|
650
1020
|
!this.disabled &&
|
|
651
1021
|
!this.readonly &&
|
|
652
|
-
(
|
|
1022
|
+
(this.selectedLabels?.length || this.inputFilterText) ? (index.h("ix-icon-button", { key: "clear", class: "clear", icon: index$1.iconClear, variant: "subtle-tertiary", oval: true, size: "16", ref: this.clearButtonRef, onClick: (e) => {
|
|
653
1023
|
e.preventDefault();
|
|
654
1024
|
e.stopPropagation();
|
|
655
1025
|
this.clear();
|
|
656
|
-
}, "aria-label": this.ariaLabelClearIconButton })) : null, this.disabled || this.readonly ? null : (index.h("ix-icon-button", { "
|
|
657
|
-
? index$1.iconChevronUpSmall
|
|
658
|
-
: index$1.iconChevronDownSmall, variant: "subtle-tertiary", ref: (ref) => {
|
|
659
|
-
if (this.editable)
|
|
660
|
-
this.dropdownWrapperRef(ref);
|
|
661
|
-
}, "aria-label": (_e = this.ariaLabelChevronDownIconButton) !== null && _e !== void 0 ? _e : (this.dropdownShow
|
|
1026
|
+
}, "aria-label": this.ariaLabelClearIconButton })) : null, this.disabled || this.readonly ? null : (index.h("ix-icon-button", { "aria-label": this.dropdownShow
|
|
662
1027
|
? 'Close select dropdown'
|
|
663
|
-
: 'Open select dropdown'
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
1028
|
+
: 'Open select dropdown', "aria-hidden": "true", ref: (ref) => {
|
|
1029
|
+
const element = ref;
|
|
1030
|
+
// VDOM issue if tabIndex is provided via property <ix-icon-button tabIndex={-1}>
|
|
1031
|
+
// the tabindex will be '0' after expanding the dropdown
|
|
1032
|
+
element.tabIndex = -1;
|
|
1033
|
+
element.ariaHidden = 'true';
|
|
1034
|
+
}, "data-select-dropdown": true, key: "dropdown", class: { 'dropdown-visible': this.dropdownShow }, icon: this.dropdownShow
|
|
1035
|
+
? index$1.iconChevronUpSmall
|
|
1036
|
+
: index$1.iconChevronDownSmall, variant: "subtle-tertiary" }))))))), index.h("ix-dropdown", { key: 'c44d1ab3cc63edc72b69a328290f51b677002bfa', id: `${this.hostId}-listbox`, keyboardActivationKeys: ['ArrowUp', 'ArrowDown'], keyboardItemTriggerKeys: ['Enter'], disableFocusTrap: true, focusHost: this.hostElement, ref: this.dropdownRef, show: this.dropdownShow, closeBehavior: this.isMultipleMode ? 'outside' : 'both', hidden: this.disabled || this.readonly, anchor: this.dropdownAnchorRef.waitForCurrent(), trigger: this.dropdownWrapperRef.waitForCurrent(), onShowChange: (event) => {
|
|
1037
|
+
if ((this.disabled || this.readonly) && event.detail) {
|
|
1038
|
+
event.preventDefault();
|
|
1039
|
+
}
|
|
1040
|
+
}, onShowChanged: (e) => this.dropdownVisibilityChanged(e), placement: "bottom-start", enableTopLayer: this.enableTopLayer, overwriteDropdownStyle: async () => {
|
|
667
1041
|
const styleOverwrites = {};
|
|
668
|
-
const minWidth =
|
|
1042
|
+
const minWidth = this.hostElement.shadowRoot
|
|
1043
|
+
?.querySelector('.select')
|
|
1044
|
+
?.getBoundingClientRect().width;
|
|
669
1045
|
if (minWidth) {
|
|
670
1046
|
styleOverwrites.minWidth = `${minWidth}px`;
|
|
671
1047
|
}
|
|
@@ -676,35 +1052,54 @@ const Select = class {
|
|
|
676
1052
|
styleOverwrites.maxWidth = `min(${this.dropdownMaxWidth}, 100%)`;
|
|
677
1053
|
}
|
|
678
1054
|
return styleOverwrites;
|
|
679
|
-
}
|
|
1055
|
+
}, onClick: (event) => {
|
|
1056
|
+
const target = event.target;
|
|
1057
|
+
const isTargetElement = target.tagName === 'IX-DROPDOWN-ITEM' ||
|
|
1058
|
+
target.tagName === 'IX-SELECT-ITEM';
|
|
1059
|
+
if (!isTargetElement) {
|
|
1060
|
+
return;
|
|
1061
|
+
}
|
|
1062
|
+
const activeVisualFocusedItem = this.getActiveVisualFocusedItem();
|
|
1063
|
+
const item = activeVisualFocusedItem ?? target;
|
|
1064
|
+
if (!item) {
|
|
1065
|
+
return;
|
|
1066
|
+
}
|
|
1067
|
+
event.stopPropagation();
|
|
1068
|
+
if (!item.classList.contains('add-item')) {
|
|
1069
|
+
this.itemClick(item.value);
|
|
1070
|
+
this.setItemFilter();
|
|
1071
|
+
}
|
|
1072
|
+
if (this.isSingleMode) {
|
|
1073
|
+
this.dropdownShow = false;
|
|
1074
|
+
}
|
|
1075
|
+
} }, index.h("div", { key: '992a4564d8d601adad70a14fb45efc22155f66ea', "aria-hidden": "true", class: {
|
|
680
1076
|
'select-list-header': true,
|
|
681
1077
|
hidden: this.hideListHeader || this.isDropdownEmpty,
|
|
682
|
-
}, title: this.i18nSelectListHeader, onClick: (e) => e.preventDefault() }, this.i18nSelectListHeader), index.h("slot", { key: '
|
|
1078
|
+
}, title: this.i18nSelectListHeader, onClick: (e) => e.preventDefault() }, this.i18nSelectListHeader), index.h("slot", { key: 'e4294d41e1d797ad9fff11f36deb1bdc9cf87208', onSlotchange: () => {
|
|
683
1079
|
this.updateSelection();
|
|
684
|
-
} }), index.h(
|
|
685
|
-
'
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
} })) : null, this.isDropdownEmpty && !this.editable ? (index.h("div", { class: "select-list-header" }, this.i18nNoMatches)) : (''))));
|
|
1080
|
+
} }), index.h(focusProxy.FocusProxy, { key: '4d1c63a6f403f3cac6558176d3360d68b21c78c8', hostId: this.hostId, otherProps: {
|
|
1081
|
+
'aria-hidden': a11y.a11yBoolean(!this.dropdownShow),
|
|
1082
|
+
'aria-multiselectable': a11y.a11yBoolean(this.isMultipleMode),
|
|
1083
|
+
hidden: this.disabled || this.readonly,
|
|
1084
|
+
} }), this.isDropdownEmpty && !this.editable && (index.h("div", { key: 'a962db05209dba24fd4e800fc79c0a2c220ebe88', class: "select-list-header" }, this.i18nNoMatches))), this.isMultipleMode &&
|
|
1085
|
+
!this.shouldDisplayAllChip() &&
|
|
1086
|
+
this.hiddenChipValues.length > 0 &&
|
|
1087
|
+
this.renderOverflowDropdown()));
|
|
693
1088
|
}
|
|
1089
|
+
static get delegatesFocus() { return true; }
|
|
694
1090
|
static get formAssociated() { return true; }
|
|
695
|
-
get hostElement() { return index.getElement(this); }
|
|
696
1091
|
static get watchers() { return {
|
|
697
1092
|
"value": [{
|
|
698
1093
|
"watchValue": 0
|
|
699
1094
|
}],
|
|
700
|
-
"
|
|
701
|
-
"
|
|
1095
|
+
"disabled": [{
|
|
1096
|
+
"watchDisabledReadonly": 0
|
|
1097
|
+
}],
|
|
1098
|
+
"readonly": [{
|
|
1099
|
+
"watchDisabledReadonly": 0
|
|
702
1100
|
}]
|
|
703
1101
|
}; }
|
|
704
1102
|
};
|
|
705
|
-
__decorate([
|
|
706
|
-
listener.OnListener('keydown', (self) => self.dropdownShow)
|
|
707
|
-
], Select.prototype, "onKeyDown", null);
|
|
708
1103
|
__decorate([
|
|
709
1104
|
validation.HookValidationLifecycle()
|
|
710
1105
|
], Select.prototype, "onValidationChange", null);
|