@siemens/ix 4.0.0 → 4.2.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 +1 -1
- package/components/index.js.map +1 -1
- package/components/ix-action-card.js +1 -1
- package/components/ix-application-header.js +5 -5
- package/components/ix-application-switch-modal.js +5 -5
- 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 +4 -4
- package/components/ix-button.js +1 -1
- package/components/ix-card-list.js +4 -4
- package/components/ix-category-filter.js +18 -12
- package/components/ix-category-filter.js.map +1 -1
- package/components/ix-checkbox-group.js +5 -5
- package/components/ix-checkbox.js +2 -2
- package/components/ix-chip.js +4 -4
- package/components/ix-content-header.js +3 -3
- package/components/ix-custom-field.js +5 -5
- package/components/ix-date-dropdown.js +9 -9
- package/components/ix-date-input.js +32 -18
- package/components/ix-date-input.js.map +1 -1
- package/components/ix-date-picker.js +1 -1
- package/components/ix-date-time-card.js +1 -1
- package/components/ix-datetime-picker.js +12 -12
- package/components/ix-datetime-picker.js.map +1 -1
- package/components/ix-divider.js +1 -1
- package/components/ix-drawer.js +7 -7
- package/components/ix-dropdown-button.js +7 -7
- package/components/ix-dropdown-header.js +2 -2
- package/components/ix-dropdown-item.js +1 -1
- package/components/ix-dropdown-quick-actions.js +1 -1
- package/components/ix-dropdown.js +1 -1
- package/components/ix-empty-state.js +4 -4
- package/components/ix-event-list-item.js +4 -4
- package/components/ix-event-list.js +2 -2
- package/components/ix-expanding-search.js +6 -6
- 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 +5 -5
- package/components/ix-group-context-menu.js +1 -1
- package/components/ix-group.js +11 -11
- package/components/ix-helper-text.js +4 -4
- package/components/ix-icon-button.js +1 -1
- package/components/ix-icon-toggle-button.js +2 -2
- package/components/ix-input-group.js +1 -1
- package/components/ix-input.js +24 -13
- package/components/ix-input.js.map +1 -1
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-key-value.js +1 -1
- package/components/ix-kpi.js +3 -3
- package/components/ix-layout-auto.js +1 -1
- package/components/ix-layout-grid.js +1 -1
- package/components/ix-link-button.js +4 -4
- package/components/ix-link-button.js.map +1 -1
- package/components/ix-menu-about-item.js +1 -1
- package/components/ix-menu-about-news.js +8 -8
- package/components/ix-menu-about.js +10 -8
- package/components/ix-menu-about.js.map +1 -1
- package/components/ix-menu-avatar-item.js +1 -1
- package/components/ix-menu-avatar.js +10 -10
- package/components/ix-menu-category.js +11 -11
- 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 +18 -18
- package/components/ix-message-bar.js +3 -3
- package/components/ix-modal-content.js +1 -1
- package/components/ix-modal-footer.js +1 -1
- package/components/ix-modal-header.js +1 -1
- package/components/ix-modal-loading.js +2 -2
- package/components/ix-modal.js +3 -3
- package/components/ix-number-input.js +170 -37
- package/components/ix-number-input.js.map +1 -1
- package/components/ix-pagination.js +42 -19
- package/components/ix-pagination.js.map +1 -1
- package/components/ix-pane-layout.js +1 -1
- package/components/ix-pane.js +9 -9
- package/components/ix-pill.js +6 -6
- package/components/ix-progress-indicator.js +5 -5
- package/components/ix-push-card.js +2 -2
- package/components/ix-radio-group.js +7 -7
- package/components/ix-radio.js +5 -5
- 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 +8 -8
- package/components/ix-spinner.js +1 -1
- package/components/ix-split-button.js +30 -16
- package/components/ix-split-button.js.map +1 -1
- package/components/ix-tab-item.js +1 -1
- package/components/ix-tabs.js +1 -1
- package/components/ix-textarea.js +8 -8
- package/components/ix-tile.js +4 -4
- package/components/ix-time-input.js +33 -19
- package/components/ix-time-input.js.map +1 -1
- package/components/ix-time-picker.js +1 -1
- package/components/ix-toast-container.js +6 -6
- package/components/ix-toast.js +1 -1
- package/components/ix-toggle-button.js +1 -1
- package/components/ix-toggle.js +5 -5
- package/components/ix-tooltip.js +1 -1
- package/components/ix-tree-item.js +1 -1
- package/components/ix-tree.js +2 -2
- package/components/ix-typography.js +1 -1
- package/components/ix-upload.js +5 -5
- package/components/ix-validation-tooltip.js +2 -2
- package/components/ix-workflow-step.js +3 -3
- package/components/ix-workflow-steps.js +1 -1
- package/components/{p-ChZQLy9v.js → p-10zMtvCF.js} +4 -4
- package/components/{p-ChZQLy9v.js.map → p-10zMtvCF.js.map} +1 -1
- package/components/{p-D8hPr0Kb.js → p-1pd_0dhF.js} +3 -3
- package/components/{p-D8hPr0Kb.js.map → p-1pd_0dhF.js.map} +1 -1
- package/components/{p-BAG4Ixzu.js → p-7E7AMiQV.js} +6 -6
- package/components/p-7E7AMiQV.js.map +1 -0
- package/components/{p-axBTucsn.js → p-B006bhbX.js} +3 -3
- package/components/{p-axBTucsn.js.map → p-B006bhbX.js.map} +1 -1
- package/components/{p-4kEXJDiJ.js → p-B1p0kpQJ.js} +5 -5
- package/components/{p-4kEXJDiJ.js.map → p-B1p0kpQJ.js.map} +1 -1
- package/components/{p-B-mB5dVY.js → p-BBwXlKhE.js} +3 -3
- package/components/{p-B-mB5dVY.js.map → p-BBwXlKhE.js.map} +1 -1
- package/components/{p-DInJFFDT.js → p-BEDohapR.js} +4 -4
- package/components/{p-DInJFFDT.js.map → p-BEDohapR.js.map} +1 -1
- package/components/{p-DkDGUG2W.js → p-BI7B-PUA.js} +4 -4
- package/components/{p-DkDGUG2W.js.map → p-BI7B-PUA.js.map} +1 -1
- package/components/{p-Cj9oZ8ym.js → p-BIg1TSrD.js} +8 -8
- package/components/{p-Cj9oZ8ym.js.map → p-BIg1TSrD.js.map} +1 -1
- package/components/{p-DvD1nW88.js → p-BLeWaHpy.js} +5 -5
- package/components/{p-DvD1nW88.js.map → p-BLeWaHpy.js.map} +1 -1
- package/components/{p-CvuFiT5X.js → p-BOQ00Fbs.js} +67 -26
- package/components/p-BOQ00Fbs.js.map +1 -0
- package/components/{p-CFDRGf6r.js → p-BR5ayBuu.js} +3 -3
- package/components/{p-CFDRGf6r.js.map → p-BR5ayBuu.js.map} +1 -1
- package/components/{p-C56HnkHy.js → p-BiqdnsgA.js} +18 -11
- package/components/p-BiqdnsgA.js.map +1 -0
- package/components/{p-BHcP7TVn.js → p-Bk0vKwmt.js} +4 -4
- package/components/{p-BHcP7TVn.js.map → p-Bk0vKwmt.js.map} +1 -1
- package/components/{p-CDPfohEH.js → p-BmMUyJRQ.js} +87 -51
- package/components/p-BmMUyJRQ.js.map +1 -0
- package/components/{p-GPVWLtS3.js → p-Bye33cYU.js} +7 -7
- package/components/{p-GPVWLtS3.js.map → p-Bye33cYU.js.map} +1 -1
- package/components/{p-D6KzHh-w.js → p-C4KxNeD2.js} +3 -3
- package/components/{p-D6KzHh-w.js.map → p-C4KxNeD2.js.map} +1 -1
- package/components/{p-DWRnKXkl.js → p-C6_1qmP4.js} +3 -3
- package/components/{p-DWRnKXkl.js.map → p-C6_1qmP4.js.map} +1 -1
- package/components/{p-OLe05BAC.js → p-COWPG_SD.js} +3 -3
- package/components/p-COWPG_SD.js.map +1 -0
- package/components/{p-FWLjfP4_.js → p-CjDPpSJX.js} +13 -13
- package/components/p-CjDPpSJX.js.map +1 -0
- package/components/{p-DkKuaBAh.js → p-ClQxnZ3d.js} +6 -6
- package/components/{p-DkKuaBAh.js.map → p-ClQxnZ3d.js.map} +1 -1
- package/components/{p-CL7Uj2A_.js → p-ColBHyXN.js} +5 -5
- package/components/{p-CL7Uj2A_.js.map → p-ColBHyXN.js.map} +1 -1
- package/components/{p-ChFNWyCb.js → p-CrqgL2m1.js} +8 -4
- package/components/p-CrqgL2m1.js.map +1 -0
- package/components/{p-De0habf3.js → p-CvD2yWeJ.js} +4 -4
- package/components/{p-De0habf3.js.map → p-CvD2yWeJ.js.map} +1 -1
- package/components/{p-B1sSJ2R2.js → p-DC9anobw.js} +6 -6
- package/components/{p-B1sSJ2R2.js.map → p-DC9anobw.js.map} +1 -1
- package/components/{p-BTR8UA6s.js → p-DSTHZygb.js} +8 -8
- package/components/{p-BTR8UA6s.js.map → p-DSTHZygb.js.map} +1 -1
- package/components/{p-S6nC3Yb4.js → p-DUU5I7wZ.js} +69 -44
- package/components/p-DUU5I7wZ.js.map +1 -0
- package/components/{p-Ow_osSm5.js → p-DXFN8JXp.js} +20 -9
- package/components/p-DXFN8JXp.js.map +1 -0
- package/components/{p-BtDCIGt3.js → p-Db0RazS2.js} +3 -3
- package/components/{p-BtDCIGt3.js.map → p-Db0RazS2.js.map} +1 -1
- package/components/{p-DTo0UW1Q.js → p-DlVaL0Yi.js} +7 -7
- package/components/{p-DTo0UW1Q.js.map → p-DlVaL0Yi.js.map} +1 -1
- package/components/{p-LVGd1t9U.js → p-Dp03DeD0.js} +5 -5
- package/components/{p-LVGd1t9U.js.map → p-Dp03DeD0.js.map} +1 -1
- package/components/{p-xHo-3QVy.js → p-Dq_H2flK.js} +9 -3
- package/components/p-Dq_H2flK.js.map +1 -0
- package/components/{p-CMC0yuht.js → p-Dy6xvLn4.js} +4 -4
- package/components/{p-CMC0yuht.js.map → p-Dy6xvLn4.js.map} +1 -1
- package/components/{p-CwFNYtOl.js → p-PpLLlogo.js} +5 -5
- package/components/{p-CwFNYtOl.js.map → p-PpLLlogo.js.map} +1 -1
- package/dist/cjs/{helper-text-util-BlElJLxk.js → helper-text-util-D2W-yNmK.js} +8 -4
- package/dist/cjs/helper-text-util-D2W-yNmK.js.map +1 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/{input.util-4AhBphgX.js → input.fc-DrxRYq_G.js} +69 -43
- package/dist/cjs/input.fc-DrxRYq_G.js.map +1 -0
- package/dist/cjs/ix-avatar_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-category-filter.cjs.entry.js +14 -8
- package/dist/cjs/ix-category-filter.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-col_4.cjs.entry.js +9 -9
- package/dist/cjs/ix-custom-field.cjs.entry.js +1 -1
- package/dist/cjs/ix-date-input.cjs.entry.js +24 -12
- package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
- package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-divider.cjs.entry.js +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +5 -5
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-item.cjs.entry.js +3 -3
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/ix-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/ix-event-list-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-event-list.cjs.entry.js +2 -2
- package/dist/cjs/ix-expanding-search.cjs.entry.js +4 -4
- package/dist/cjs/ix-field-label_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js +1 -1
- package/dist/cjs/ix-flip-tile.cjs.entry.js +3 -3
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-group.cjs.entry.js +8 -8
- package/dist/cjs/ix-helper-text.cjs.entry.js +3 -3
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-input.cjs.entry.js +21 -12
- package/dist/cjs/ix-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-key-value-list.cjs.entry.js +1 -1
- package/dist/cjs/ix-key-value.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +3 -3
- package/dist/cjs/ix-layout-auto.cjs.entry.js +1 -1
- package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-link-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-about.cjs.entry.js +6 -4
- package/dist/cjs/ix-menu-about.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-category.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-item.cjs.entry.js +4 -4
- package/dist/cjs/{ix-menu-settings-Cdqo0r8E.js → ix-menu-settings-CtWl0bME.js} +14 -7
- package/dist/cjs/ix-menu-settings-CtWl0bME.js.map +1 -0
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu-settings.cjs.entry.js +1 -1
- package/dist/cjs/ix-menu.cjs.entry.js +12 -12
- package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-footer.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-loading.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal.cjs.entry.js +3 -3
- package/dist/cjs/ix-number-input.cjs.entry.js +162 -34
- package/dist/cjs/ix-number-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pagination.cjs.entry.js +29 -7
- package/dist/cjs/ix-pagination.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pane-layout.cjs.entry.js +1 -1
- package/dist/cjs/ix-pane.cjs.entry.js +6 -6
- package/dist/cjs/ix-pill.cjs.entry.js +4 -4
- package/dist/cjs/ix-progress-indicator.cjs.entry.js +3 -3
- package/dist/cjs/ix-push-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-radio-group.cjs.entry.js +3 -3
- package/dist/cjs/ix-radio.cjs.entry.js +4 -4
- package/dist/cjs/ix-select.cjs.entry.js +53 -14
- package/dist/cjs/ix-select.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-slider.cjs.entry.js +6 -6
- package/dist/cjs/ix-split-button.cjs.entry.js +24 -12
- package/dist/cjs/ix-split-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tab-item.ix-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +6 -6
- package/dist/cjs/ix-textarea.cjs.entry.js +6 -6
- package/dist/cjs/ix-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tile.cjs.entry.js +4 -4
- package/dist/cjs/ix-time-input.cjs.entry.js +24 -12
- package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-time-picker.cjs.entry.js +81 -45
- package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/ix-toast.cjs.entry.js +2 -2
- package/dist/cjs/ix-toggle.cjs.entry.js +4 -4
- package/dist/cjs/ix-tooltip.cjs.entry.js +17 -6
- package/dist/cjs/ix-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tree-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-tree.cjs.entry.js +1 -1
- package/dist/cjs/ix-typography.cjs.entry.js +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +3 -3
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/ix-workflow-step.cjs.entry.js +3 -3
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/siemens-ix.cjs.js +1 -1
- package/dist/cjs/{validation-CfL71_0d.js → validation-DTmSqO2d.js} +9 -2
- package/dist/{esm/validation-D_dk-JqT.js.map → cjs/validation-DTmSqO2d.js.map} +1 -1
- package/dist/collection/components/category-filter/category-filter.css +321 -50
- package/dist/collection/components/category-filter/category-filter.js +13 -7
- package/dist/collection/components/category-filter/category-filter.js.map +1 -1
- package/dist/collection/components/date-input/date-input.js +60 -8
- package/dist/collection/components/date-input/date-input.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.css +6 -8
- package/dist/collection/components/date-picker/date-picker.js +5 -5
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-time-card/date-time-card.css +3 -2
- package/dist/collection/components/datetime-picker/datetime-picker.css +12 -1
- package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/drawer/drawer.js +5 -5
- package/dist/collection/components/dropdown/dropdown.js +2 -2
- package/dist/collection/components/dropdown-button/dropdown-button.js +3 -3
- package/dist/collection/components/dropdown-header/dropdown-header.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -1
- package/dist/collection/components/empty-state/empty-state.js +1 -1
- package/dist/collection/components/event-list/event-list.js +2 -2
- package/dist/collection/components/event-list-item/event-list-item.js +4 -4
- package/dist/collection/components/expanding-search/expanding-search.js +4 -4
- package/dist/collection/components/field-label/field-label.js +1 -1
- package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
- package/dist/collection/components/field-wrapper/helper-text-util.js +6 -2
- package/dist/collection/components/field-wrapper/helper-text-util.js.map +1 -1
- package/dist/collection/components/filter-chip/filter-chip.js +1 -1
- package/dist/collection/components/flip-tile/flip-tile.js +3 -3
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
- package/dist/collection/components/group/group-context-menu.js +1 -1
- package/dist/collection/components/group/group.js +8 -8
- package/dist/collection/components/helper-text/helper-text.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
- package/dist/collection/components/input/input.fc.js +10 -1
- package/dist/collection/components/input/input.fc.js.map +1 -1
- package/dist/collection/components/input/input.js +54 -5
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/input.util.js +20 -3
- package/dist/collection/components/input/input.util.js.map +1 -1
- package/dist/collection/components/input/number-input.js +228 -36
- package/dist/collection/components/input/number-input.js.map +1 -1
- package/dist/collection/components/input/textarea.js +2 -2
- package/dist/collection/components/input-group/input-group.js +1 -1
- package/dist/collection/components/key-value/key-value.js +1 -1
- package/dist/collection/components/key-value-list/key-value-list.js +1 -1
- package/dist/collection/components/kpi/kpi.js +3 -3
- package/dist/collection/components/layout-auto/layout-auto.js +1 -1
- package/dist/collection/components/layout-grid/layout-grid.js +2 -2
- package/dist/collection/components/link-button/link-button.css +2 -8
- package/dist/collection/components/link-button/link-button.js +3 -3
- package/dist/collection/components/menu/menu-expand-icon.js +1 -1
- package/dist/collection/components/menu/menu.js +12 -12
- package/dist/collection/components/menu-about/menu-about.js +6 -4
- package/dist/collection/components/menu-about/menu-about.js.map +1 -1
- package/dist/collection/components/menu-about-item/menu-about-item.js +1 -1
- package/dist/collection/components/menu-about-news/menu-about-news.js +4 -4
- package/dist/collection/components/menu-avatar/menu-avatar.js +2 -2
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -1
- package/dist/collection/components/menu-category/menu-category.js +5 -5
- package/dist/collection/components/menu-item/menu-item.js +4 -4
- package/dist/collection/components/menu-settings/menu-settings.js +6 -4
- package/dist/collection/components/menu-settings/menu-settings.js.map +1 -1
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -1
- package/dist/collection/components/message-bar/message-bar.js +1 -1
- package/dist/collection/components/modal/modal.js +3 -3
- package/dist/collection/components/modal-content/modal-content.js +1 -1
- package/dist/collection/components/modal-footer/modal-footer.js +1 -1
- package/dist/collection/components/modal-header/modal-header.js +1 -1
- package/dist/collection/components/modal-loading/modal-loading.js +1 -1
- package/dist/collection/components/pagination/pagination.js +52 -7
- package/dist/collection/components/pagination/pagination.js.map +1 -1
- package/dist/collection/components/pane/pane.js +6 -6
- package/dist/collection/components/pane-layout/pane-layout.js +1 -1
- package/dist/collection/components/pill/pill.js +4 -4
- package/dist/collection/components/progress-indicator/progress-indicator.js +3 -3
- package/dist/collection/components/push-card/push-card.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/select/select.js +94 -14
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select-item/select-item.js +1 -1
- package/dist/collection/components/slider/slider.js +6 -6
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +70 -12
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/tab-item/tab-item.css +1 -1
- package/dist/collection/components/tab-item/tab-item.js +3 -3
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tile/tile.js +4 -4
- package/dist/collection/components/time-input/time-input.js +61 -9
- package/dist/collection/components/time-input/time-input.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.css +20 -52
- package/dist/collection/components/time-picker/time-picker.js +83 -48
- package/dist/collection/components/time-picker/time-picker.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.types.js.map +1 -1
- package/dist/collection/components/toast/toast-container.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/tooltip/tooltip.css +2 -3
- package/dist/collection/components/tooltip/tooltip.js +17 -6
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +4 -4
- package/dist/collection/components/typography/typography.js +1 -1
- package/dist/collection/components/upload/upload.js +3 -3
- package/dist/collection/components/utils/input/validation.js +6 -0
- package/dist/collection/components/utils/input/validation.js.map +1 -1
- package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js +6 -1
- package/dist/collection/components/utils/menu-tabs/menu-tabs-utils.js.map +1 -1
- package/dist/collection/components/utils/modal/index.js.map +1 -1
- package/dist/collection/components/utils/modal/loading.js.map +1 -1
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +2 -2
- package/dist/collection/components/workflow-step/workflow-step.js +3 -3
- package/dist/collection/components/workflow-steps/workflow-steps.js +1 -1
- package/dist/esm/{helper-text-util-BurV4TiQ.js → helper-text-util-gKdL-wH2.js} +8 -4
- package/dist/esm/helper-text-util-gKdL-wH2.js.map +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{input.util-VHrSuCP7.js → input.fc-KJF8Z9iJ.js} +69 -44
- package/dist/esm/input.fc-KJF8Z9iJ.js.map +1 -0
- package/dist/esm/ix-avatar_2.entry.js +1 -1
- package/dist/esm/ix-category-filter.entry.js +14 -8
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-checkbox-group.entry.js +1 -1
- package/dist/esm/ix-checkbox.entry.js +1 -1
- package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
- package/dist/esm/ix-col_4.entry.js +9 -9
- package/dist/esm/ix-custom-field.entry.js +1 -1
- package/dist/esm/ix-date-input.entry.js +20 -8
- package/dist/esm/ix-date-input.entry.js.map +1 -1
- package/dist/esm/ix-date-time-card.entry.js +1 -1
- package/dist/esm/ix-date-time-card.entry.js.map +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +2 -2
- package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
- package/dist/esm/ix-divider.entry.js +1 -1
- package/dist/esm/ix-drawer.entry.js +5 -5
- package/dist/esm/ix-dropdown-button.entry.js +3 -3
- package/dist/esm/ix-dropdown-header.entry.js +1 -1
- package/dist/esm/ix-dropdown-item.entry.js +3 -3
- package/dist/esm/ix-dropdown-quick-actions.entry.js +1 -1
- package/dist/esm/ix-dropdown.entry.js +2 -2
- package/dist/esm/ix-empty-state.entry.js +1 -1
- package/dist/esm/ix-event-list-item.entry.js +4 -4
- package/dist/esm/ix-event-list.entry.js +2 -2
- package/dist/esm/ix-expanding-search.entry.js +4 -4
- package/dist/esm/ix-field-label_2.entry.js +5 -5
- package/dist/esm/ix-filter-chip_2.entry.js +2 -2
- package/dist/esm/ix-flip-tile-content.entry.js +1 -1
- package/dist/esm/ix-flip-tile.entry.js +3 -3
- package/dist/esm/ix-group-context-menu_2.entry.js +1 -1
- package/dist/esm/ix-group.entry.js +8 -8
- package/dist/esm/ix-helper-text.entry.js +3 -3
- package/dist/esm/ix-icon-button_2.entry.js +2 -2
- package/dist/esm/ix-icon-toggle-button.entry.js +1 -1
- package/dist/esm/ix-input-group.entry.js +1 -1
- package/dist/esm/ix-input.entry.js +16 -7
- package/dist/esm/ix-input.entry.js.map +1 -1
- package/dist/esm/ix-key-value-list.entry.js +1 -1
- package/dist/esm/ix-key-value.entry.js +1 -1
- package/dist/esm/ix-kpi.entry.js +3 -3
- package/dist/esm/ix-layout-auto.entry.js +1 -1
- package/dist/esm/ix-link-button.entry.js +4 -4
- package/dist/esm/ix-link-button.entry.js.map +1 -1
- package/dist/esm/ix-menu-about-item.entry.js +1 -1
- package/dist/esm/ix-menu-about-news.entry.js +4 -4
- package/dist/esm/ix-menu-about.entry.js +6 -4
- package/dist/esm/ix-menu-about.entry.js.map +1 -1
- package/dist/esm/ix-menu-avatar.entry.js +2 -2
- package/dist/esm/ix-menu-category.entry.js +5 -5
- package/dist/esm/ix-menu-expand-icon.entry.js +1 -1
- package/dist/esm/ix-menu-item.entry.js +4 -4
- package/dist/esm/{ix-menu-settings-Bif4wByb.js → ix-menu-settings-f9o5GGw5.js} +14 -7
- package/dist/esm/ix-menu-settings-f9o5GGw5.js.map +1 -0
- package/dist/esm/ix-menu-settings-item.entry.js +1 -1
- package/dist/esm/ix-menu-settings.entry.js +1 -1
- package/dist/esm/ix-menu.entry.js +12 -12
- package/dist/esm/ix-message-bar.entry.js +1 -1
- package/dist/esm/ix-modal-content_2.entry.js +2 -2
- package/dist/esm/ix-modal-footer.entry.js +1 -1
- package/dist/esm/ix-modal-loading.entry.js +1 -1
- package/dist/esm/ix-modal.entry.js +3 -3
- package/dist/esm/ix-number-input.entry.js +159 -31
- package/dist/esm/ix-number-input.entry.js.map +1 -1
- package/dist/esm/ix-pagination.entry.js +29 -7
- package/dist/esm/ix-pagination.entry.js.map +1 -1
- package/dist/esm/ix-pane-layout.entry.js +1 -1
- package/dist/esm/ix-pane.entry.js +6 -6
- package/dist/esm/ix-pill.entry.js +4 -4
- package/dist/esm/ix-progress-indicator.entry.js +3 -3
- package/dist/esm/ix-push-card.entry.js +1 -1
- package/dist/esm/ix-radio-group.entry.js +3 -3
- package/dist/esm/ix-radio.entry.js +4 -4
- package/dist/esm/ix-select.entry.js +53 -14
- package/dist/esm/ix-select.entry.js.map +1 -1
- package/dist/esm/ix-slider.entry.js +6 -6
- package/dist/esm/ix-split-button.entry.js +24 -12
- package/dist/esm/ix-split-button.entry.js.map +1 -1
- package/dist/esm/ix-tab-item.ix-tabs.entry.js.map +1 -1
- package/dist/esm/ix-tab-item_2.entry.js +6 -6
- package/dist/esm/ix-textarea.entry.js +4 -4
- package/dist/esm/ix-tile.entry.js +4 -4
- package/dist/esm/ix-time-input.entry.js +21 -9
- package/dist/esm/ix-time-input.entry.js.map +1 -1
- package/dist/esm/ix-time-picker.entry.js +81 -45
- package/dist/esm/ix-time-picker.entry.js.map +1 -1
- package/dist/esm/ix-toast-container.entry.js +2 -2
- package/dist/esm/ix-toast.entry.js +2 -2
- package/dist/esm/ix-toggle.entry.js +4 -4
- package/dist/esm/ix-tooltip.entry.js +17 -6
- package/dist/esm/ix-tooltip.entry.js.map +1 -1
- package/dist/esm/ix-tree-item.entry.js +4 -4
- package/dist/esm/ix-tree.entry.js +1 -1
- package/dist/esm/ix-typography.entry.js +1 -1
- package/dist/esm/ix-upload.entry.js +3 -3
- package/dist/esm/ix-validation-tooltip.entry.js +2 -2
- package/dist/esm/ix-workflow-step.entry.js +3 -3
- package/dist/esm/ix-workflow-steps.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/siemens-ix.js +1 -1
- package/dist/esm/{validation-D_dk-JqT.js → validation-LJh16vt2.js} +9 -3
- package/dist/{cjs/validation-CfL71_0d.js.map → esm/validation-LJh16vt2.js.map} +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/ix-category-filter.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-time-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-datetime-picker.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-link-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-menu-about.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-number-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pagination.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-select.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-split-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-tab-item.ix-tabs.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-time-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-time-picker.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-tooltip.entry.esm.js.map +1 -1
- package/dist/siemens-ix/p-0411df39.entry.js +2 -0
- package/dist/siemens-ix/p-051f428c.entry.js +2 -0
- package/dist/siemens-ix/{p-4288bd66.entry.js.map → p-051f428c.entry.js.map} +1 -1
- package/dist/siemens-ix/p-0c325f08.entry.js +2 -0
- package/dist/siemens-ix/p-0c325f08.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9f7f5cd3.entry.js → p-0ce03ad3.entry.js} +2 -2
- package/dist/siemens-ix/{p-60d2f3db.entry.js → p-0d621531.entry.js} +2 -2
- package/dist/siemens-ix/p-0eca5a77.entry.js +2 -0
- package/dist/siemens-ix/{p-65c759c5.entry.js.map → p-0eca5a77.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-d70cd703.entry.js → p-196cffb5.entry.js} +2 -2
- package/dist/siemens-ix/{p-94596bff.entry.js → p-1de1a2bf.entry.js} +2 -2
- package/dist/siemens-ix/{p-b7c64537.entry.js → p-2597a988.entry.js} +2 -2
- package/dist/siemens-ix/{p-49843cce.entry.js → p-26c629c3.entry.js} +2 -2
- package/dist/siemens-ix/p-26c629c3.entry.js.map +1 -0
- package/dist/siemens-ix/{p-a8f08878.entry.js → p-2ffde2d5.entry.js} +2 -2
- package/dist/siemens-ix/p-31a8eaf9.entry.js +2 -0
- package/dist/siemens-ix/p-33b3ed5b.entry.js +2 -0
- package/dist/siemens-ix/p-33b3ed5b.entry.js.map +1 -0
- package/dist/siemens-ix/{p-2e3ac12c.entry.js → p-33fcea65.entry.js} +2 -2
- package/dist/siemens-ix/{p-bd2127d0.entry.js → p-367df024.entry.js} +2 -2
- package/dist/siemens-ix/{p-76bd4cf9.entry.js → p-37bd983a.entry.js} +2 -2
- package/dist/siemens-ix/{p-d2831f7b.entry.js → p-38e45020.entry.js} +2 -2
- package/dist/siemens-ix/{p-d997238b.entry.js → p-396e1f3d.entry.js} +2 -2
- package/dist/siemens-ix/p-3ce5fd87.entry.js +2 -0
- package/dist/siemens-ix/p-3ce5fd87.entry.js.map +1 -0
- package/dist/siemens-ix/p-3f62166e.entry.js +2 -0
- package/dist/siemens-ix/{p-6880e267.entry.js.map → p-3f62166e.entry.js.map} +1 -1
- package/dist/siemens-ix/p-425d6925.entry.js +2 -0
- package/dist/siemens-ix/{p-ffe0835b.entry.js → p-4431f891.entry.js} +2 -2
- package/dist/siemens-ix/{p-ec3ec461.entry.js → p-484bddf4.entry.js} +2 -2
- package/dist/siemens-ix/{p-df5494ff.entry.js → p-496e98ac.entry.js} +2 -2
- package/dist/siemens-ix/{p-ab6d123c.entry.js → p-4c18f123.entry.js} +2 -2
- package/dist/siemens-ix/{p-c96ce76c.entry.js → p-4c1f90cb.entry.js} +2 -2
- package/dist/siemens-ix/{p-a53d7dbb.entry.js → p-4e4d792d.entry.js} +2 -2
- package/dist/siemens-ix/{p-620158aa.entry.js → p-4e77d861.entry.js} +2 -2
- package/dist/siemens-ix/{p-80981f03.entry.js → p-5779f16e.entry.js} +2 -2
- package/dist/siemens-ix/{p-4d0e900c.entry.js → p-5b57bde1.entry.js} +2 -2
- package/dist/siemens-ix/{p-acb7c236.entry.js → p-667e3184.entry.js} +2 -2
- package/dist/siemens-ix/p-68aaf0fe.entry.js +2 -0
- package/dist/siemens-ix/p-68aaf0fe.entry.js.map +1 -0
- package/dist/siemens-ix/{p-92e0ebf1.entry.js → p-6a4bc78a.entry.js} +2 -2
- package/dist/siemens-ix/p-6dc6eb63.entry.js +2 -0
- package/dist/siemens-ix/{p-453aa17a.entry.js.map → p-6dc6eb63.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-319e292f.entry.js → p-74e7b03f.entry.js} +2 -2
- package/dist/siemens-ix/{p-7c474c82.entry.js → p-77fd2138.entry.js} +2 -2
- package/dist/siemens-ix/p-79537728.entry.js +2 -0
- package/dist/siemens-ix/{p-11b1eaa3.entry.js → p-7bad0544.entry.js} +2 -2
- package/dist/siemens-ix/{p-23e4f5f3.entry.js → p-7beba4ad.entry.js} +2 -2
- package/dist/siemens-ix/p-7beba4ad.entry.js.map +1 -0
- package/dist/siemens-ix/p-8b42ad35.entry.js +2 -0
- package/dist/siemens-ix/{p-31f77d98.entry.js.map → p-8b42ad35.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-5c22d3e5.entry.js → p-8f9368b8.entry.js} +2 -2
- package/dist/siemens-ix/p-8fa8d0e3.entry.js +2 -0
- package/dist/siemens-ix/p-92ec7f27.entry.js +2 -0
- package/dist/siemens-ix/{p-DBsKyLIP.js → p-BcCDexod.js} +2 -2
- package/dist/siemens-ix/p-BcCDexod.js.map +1 -0
- package/dist/siemens-ix/{p-CAj3Tlcn.js → p-C7nQNUsO.js} +2 -2
- package/dist/siemens-ix/{p-CAj3Tlcn.js.map → p-C7nQNUsO.js.map} +1 -1
- package/dist/siemens-ix/p-Cn013Iz8.js +2 -0
- package/dist/siemens-ix/p-Cn013Iz8.js.map +1 -0
- package/dist/siemens-ix/p-DaswuiGO.js +2 -0
- package/dist/siemens-ix/p-DaswuiGO.js.map +1 -0
- package/dist/siemens-ix/p-a3baca2f.entry.js +2 -0
- package/dist/siemens-ix/{p-0fd006b9.entry.js → p-a4225101.entry.js} +2 -2
- package/dist/siemens-ix/{p-1c83cb5f.entry.js → p-b27a9744.entry.js} +2 -2
- package/dist/siemens-ix/{p-75a10c1e.entry.js → p-b3453edf.entry.js} +2 -2
- package/dist/siemens-ix/p-b41a7abb.entry.js +2 -0
- package/dist/siemens-ix/{p-53df921a.entry.js.map → p-b41a7abb.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-9a4db5e9.entry.js → p-b76df1c7.entry.js} +2 -2
- package/dist/siemens-ix/{p-332dccc7.entry.js → p-b7ef70d4.entry.js} +2 -2
- package/dist/siemens-ix/{p-43ecc5c3.entry.js → p-b8f4b001.entry.js} +2 -2
- package/dist/siemens-ix/{p-531f9746.entry.js → p-b9880608.entry.js} +2 -2
- package/dist/siemens-ix/p-ba9ed3d1.entry.js +2 -0
- package/dist/siemens-ix/p-ba9ed3d1.entry.js.map +1 -0
- package/dist/siemens-ix/{p-4a127027.entry.js → p-c15e64a8.entry.js} +2 -2
- package/dist/siemens-ix/{p-7364534a.entry.js → p-c43b201b.entry.js} +2 -2
- package/dist/siemens-ix/{p-619a3dc8.entry.js → p-c5c863e1.entry.js} +2 -2
- package/dist/siemens-ix/{p-bb744e91.entry.js → p-c94739d0.entry.js} +2 -2
- package/dist/siemens-ix/{p-8cb3d70c.entry.js → p-ca3b24b1.entry.js} +2 -2
- package/dist/siemens-ix/{p-4acf0d7b.entry.js → p-cd1afcc9.entry.js} +2 -2
- package/dist/siemens-ix/{p-713df610.entry.js → p-cf041cfd.entry.js} +2 -2
- package/dist/siemens-ix/{p-338c68ea.entry.js → p-d10b9798.entry.js} +2 -2
- package/dist/siemens-ix/{p-6fd7d11a.entry.js → p-d193381f.entry.js} +2 -2
- package/dist/siemens-ix/{p-b76ed7c3.entry.js → p-d2c18c15.entry.js} +2 -2
- package/dist/siemens-ix/p-d2c18c15.entry.js.map +1 -0
- package/dist/siemens-ix/{p-d90d1310.entry.js → p-d3a60c52.entry.js} +2 -2
- package/dist/siemens-ix/p-d688f76e.entry.js +2 -0
- package/dist/siemens-ix/{p-2d96a4a1.entry.js.map → p-d688f76e.entry.js.map} +1 -1
- package/dist/siemens-ix/p-dc8de6cb.entry.js +2 -0
- package/dist/siemens-ix/p-dc8de6cb.entry.js.map +1 -0
- package/dist/siemens-ix/p-de12078d.entry.js +2 -0
- package/dist/siemens-ix/{p-418671c7.entry.js.map → p-de12078d.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-f40573e7.entry.js → p-df6bb698.entry.js} +2 -2
- package/dist/siemens-ix/p-e0b9cf68.entry.js +2 -0
- package/dist/siemens-ix/{p-5bb86bf7.entry.js → p-e42f62a1.entry.js} +2 -2
- package/dist/siemens-ix/{p-fb02d7fd.entry.js → p-e48977ed.entry.js} +2 -2
- package/dist/siemens-ix/{p-3099c12a.entry.js → p-e7bdc0a0.entry.js} +2 -2
- package/dist/siemens-ix/p-e7bdc0a0.entry.js.map +1 -0
- package/dist/siemens-ix/{p-ff6f13e1.entry.js → p-ea15fc79.entry.js} +2 -2
- package/dist/siemens-ix/{p-18d4645d.entry.js → p-ea37abf6.entry.js} +2 -2
- package/dist/siemens-ix/{p-f253d38c.entry.js → p-eba7f62c.entry.js} +2 -2
- package/dist/siemens-ix/{p-6045dce9.entry.js → p-f119c105.entry.js} +2 -2
- package/dist/siemens-ix/p-fb8877bc.entry.js +2 -0
- package/dist/siemens-ix/p-fb8877bc.entry.js.map +1 -0
- package/dist/siemens-ix/{p-2b2f339e.entry.js → p-fc73c8cc.entry.js} +2 -2
- package/dist/siemens-ix/{p-e3dca831.entry.js → p-ff83eafd.entry.js} +2 -2
- package/dist/siemens-ix/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix.css +2 -5
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/date-input/date-input.d.ts +10 -0
- package/dist/types/components/field-wrapper/helper-text-util.d.ts +5 -1
- package/dist/types/components/input/input.d.ts +9 -0
- package/dist/types/components/input/input.fc.d.ts +6 -0
- package/dist/types/components/input/input.util.d.ts +1 -0
- package/dist/types/components/input/number-input.d.ts +31 -5
- package/dist/types/components/menu-about/menu-about.d.ts +1 -1
- package/dist/types/components/menu-settings/menu-settings.d.ts +1 -1
- package/dist/types/components/pagination/pagination.d.ts +8 -0
- package/dist/types/components/select/select.d.ts +11 -0
- package/dist/types/components/split-button/split-button.d.ts +15 -4
- package/dist/types/components/time-input/time-input.d.ts +10 -0
- package/dist/types/components/time-picker/time-picker.d.ts +8 -2
- package/dist/types/components/tooltip/tooltip.d.ts +2 -1
- package/dist/types/components/utils/input/validation.d.ts +1 -0
- package/dist/types/components/utils/menu-tabs/menu-tabs-utils.d.ts +1 -0
- package/dist/types/components/utils/modal/index.d.ts +1 -1
- package/dist/types/components/utils/modal/loading.d.ts +4 -0
- package/dist/types/components.d.ts +160 -12
- package/hydrate/index.js +707 -364
- package/hydrate/index.mjs +707 -364
- package/package.json +1 -1
- package/scss/components/_links.scss +2 -5
- package/scss/mixins/_input.scss +2 -2
- package/scss/theme/classic/dark/_variables.scss +1 -1
- package/components/p-BAG4Ixzu.js.map +0 -1
- package/components/p-C56HnkHy.js.map +0 -1
- package/components/p-CDPfohEH.js.map +0 -1
- package/components/p-ChFNWyCb.js.map +0 -1
- package/components/p-CvuFiT5X.js.map +0 -1
- package/components/p-FWLjfP4_.js.map +0 -1
- package/components/p-OLe05BAC.js.map +0 -1
- package/components/p-Ow_osSm5.js.map +0 -1
- package/components/p-S6nC3Yb4.js.map +0 -1
- package/components/p-xHo-3QVy.js.map +0 -1
- package/dist/cjs/helper-text-util-BlElJLxk.js.map +0 -1
- package/dist/cjs/input.util-4AhBphgX.js.map +0 -1
- package/dist/cjs/ix-menu-settings-Cdqo0r8E.js.map +0 -1
- package/dist/esm/helper-text-util-BurV4TiQ.js.map +0 -1
- package/dist/esm/input.util-VHrSuCP7.js.map +0 -1
- package/dist/esm/ix-menu-settings-Bif4wByb.js.map +0 -1
- package/dist/siemens-ix/p-10ed549b.entry.js +0 -2
- package/dist/siemens-ix/p-10ed549b.entry.js.map +0 -1
- package/dist/siemens-ix/p-1550973a.entry.js +0 -2
- package/dist/siemens-ix/p-1de6e736.entry.js +0 -2
- package/dist/siemens-ix/p-1de6e736.entry.js.map +0 -1
- package/dist/siemens-ix/p-23e4f5f3.entry.js.map +0 -1
- package/dist/siemens-ix/p-2d96a4a1.entry.js +0 -2
- package/dist/siemens-ix/p-3099c12a.entry.js.map +0 -1
- package/dist/siemens-ix/p-31f77d98.entry.js +0 -2
- package/dist/siemens-ix/p-418671c7.entry.js +0 -2
- package/dist/siemens-ix/p-4288bd66.entry.js +0 -2
- package/dist/siemens-ix/p-453aa17a.entry.js +0 -2
- package/dist/siemens-ix/p-45b53c34.entry.js +0 -2
- package/dist/siemens-ix/p-45b53c34.entry.js.map +0 -1
- package/dist/siemens-ix/p-49843cce.entry.js.map +0 -1
- package/dist/siemens-ix/p-53df921a.entry.js +0 -2
- package/dist/siemens-ix/p-598ece5a.entry.js +0 -2
- package/dist/siemens-ix/p-65c759c5.entry.js +0 -2
- package/dist/siemens-ix/p-6880e267.entry.js +0 -2
- package/dist/siemens-ix/p-712e393d.entry.js +0 -2
- package/dist/siemens-ix/p-712e393d.entry.js.map +0 -1
- package/dist/siemens-ix/p-89a7705b.entry.js +0 -2
- package/dist/siemens-ix/p-89a7705b.entry.js.map +0 -1
- package/dist/siemens-ix/p-DBsKyLIP.js.map +0 -1
- package/dist/siemens-ix/p-DS9crO46.js +0 -2
- package/dist/siemens-ix/p-DS9crO46.js.map +0 -1
- package/dist/siemens-ix/p-DXAZefAa.js +0 -2
- package/dist/siemens-ix/p-DXAZefAa.js.map +0 -1
- package/dist/siemens-ix/p-a0ffeea7.entry.js +0 -2
- package/dist/siemens-ix/p-a6e398d2.entry.js +0 -2
- package/dist/siemens-ix/p-b64a3d8a.entry.js +0 -2
- package/dist/siemens-ix/p-b76ed7c3.entry.js.map +0 -1
- package/dist/siemens-ix/p-b7da78c6.entry.js +0 -2
- package/dist/siemens-ix/p-b7da78c6.entry.js.map +0 -1
- package/dist/siemens-ix/p-c6536a88.entry.js +0 -2
- package/dist/siemens-ix/p-d18df859.entry.js +0 -2
- package/dist/siemens-ix/p-e5180acd.entry.js +0 -2
- package/dist/siemens-ix/p-e5180acd.entry.js.map +0 -1
- package/dist/siemens-ix/p-fdb802ac.entry.js +0 -2
- /package/dist/siemens-ix/{p-fdb802ac.entry.js.map → p-0411df39.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9f7f5cd3.entry.js.map → p-0ce03ad3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-60d2f3db.entry.js.map → p-0d621531.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d70cd703.entry.js.map → p-196cffb5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-94596bff.entry.js.map → p-1de1a2bf.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b7c64537.entry.js.map → p-2597a988.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a8f08878.entry.js.map → p-2ffde2d5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-598ece5a.entry.js.map → p-31a8eaf9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2e3ac12c.entry.js.map → p-33fcea65.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-bd2127d0.entry.js.map → p-367df024.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-76bd4cf9.entry.js.map → p-37bd983a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d2831f7b.entry.js.map → p-38e45020.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d997238b.entry.js.map → p-396e1f3d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c6536a88.entry.js.map → p-425d6925.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ffe0835b.entry.js.map → p-4431f891.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ec3ec461.entry.js.map → p-484bddf4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-df5494ff.entry.js.map → p-496e98ac.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ab6d123c.entry.js.map → p-4c18f123.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c96ce76c.entry.js.map → p-4c1f90cb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a53d7dbb.entry.js.map → p-4e4d792d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-620158aa.entry.js.map → p-4e77d861.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-80981f03.entry.js.map → p-5779f16e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4d0e900c.entry.js.map → p-5b57bde1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-acb7c236.entry.js.map → p-667e3184.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-92e0ebf1.entry.js.map → p-6a4bc78a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-319e292f.entry.js.map → p-74e7b03f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7c474c82.entry.js.map → p-77fd2138.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b64a3d8a.entry.js.map → p-79537728.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-11b1eaa3.entry.js.map → p-7bad0544.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5c22d3e5.entry.js.map → p-8f9368b8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d18df859.entry.js.map → p-8fa8d0e3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a6e398d2.entry.js.map → p-92ec7f27.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1550973a.entry.js.map → p-a3baca2f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0fd006b9.entry.js.map → p-a4225101.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1c83cb5f.entry.js.map → p-b27a9744.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-75a10c1e.entry.js.map → p-b3453edf.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9a4db5e9.entry.js.map → p-b76df1c7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-332dccc7.entry.js.map → p-b7ef70d4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-43ecc5c3.entry.js.map → p-b8f4b001.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-531f9746.entry.js.map → p-b9880608.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4a127027.entry.js.map → p-c15e64a8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7364534a.entry.js.map → p-c43b201b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-619a3dc8.entry.js.map → p-c5c863e1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-bb744e91.entry.js.map → p-c94739d0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8cb3d70c.entry.js.map → p-ca3b24b1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4acf0d7b.entry.js.map → p-cd1afcc9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-713df610.entry.js.map → p-cf041cfd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-338c68ea.entry.js.map → p-d10b9798.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6fd7d11a.entry.js.map → p-d193381f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d90d1310.entry.js.map → p-d3a60c52.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f40573e7.entry.js.map → p-df6bb698.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a0ffeea7.entry.js.map → p-e0b9cf68.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5bb86bf7.entry.js.map → p-e42f62a1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fb02d7fd.entry.js.map → p-e48977ed.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ff6f13e1.entry.js.map → p-ea15fc79.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-18d4645d.entry.js.map → p-ea37abf6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f253d38c.entry.js.map → p-eba7f62c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6045dce9.entry.js.map → p-f119c105.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2b2f339e.entry.js.map → p-fc73c8cc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e3dca831.entry.js.map → p-ff83eafd.entry.js.map} +0 -0
|
@@ -17,8 +17,10 @@ const MenuSettings = class {
|
|
|
17
17
|
/** @internal */
|
|
18
18
|
this.show = false;
|
|
19
19
|
}
|
|
20
|
-
updateTab(
|
|
21
|
-
|
|
20
|
+
updateTab(newLabel, oldLabel) {
|
|
21
|
+
if (newLabel !== oldLabel) {
|
|
22
|
+
syncTabDisplay(this, newLabel);
|
|
23
|
+
}
|
|
22
24
|
}
|
|
23
25
|
componentWillLoad() {
|
|
24
26
|
initialize(this);
|
|
@@ -27,7 +29,7 @@ const MenuSettings = class {
|
|
|
27
29
|
index.forceUpdate(this.el);
|
|
28
30
|
}
|
|
29
31
|
render() {
|
|
30
|
-
return index.h(MenuTabs, { key: '
|
|
32
|
+
return index.h(MenuTabs, { key: 'bff35655d1e57ea807a1d8a6bd0879f8804e3ef4', context: this });
|
|
31
33
|
}
|
|
32
34
|
get el() { return index.getElement(this); }
|
|
33
35
|
static get watchers() { return {
|
|
@@ -50,14 +52,19 @@ function getItems(context) {
|
|
|
50
52
|
: 'ix-menu-about-item'));
|
|
51
53
|
}
|
|
52
54
|
function setTab(context, label) {
|
|
55
|
+
if (context.activeTabLabel === label) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
53
58
|
const { defaultPrevented } = context.tabChange.emit(label);
|
|
54
59
|
if (defaultPrevented) {
|
|
55
60
|
return;
|
|
56
61
|
}
|
|
57
62
|
context.activeTabLabel = label;
|
|
63
|
+
}
|
|
64
|
+
function syncTabDisplay(context, label) {
|
|
58
65
|
context.items.forEach((i) => {
|
|
59
66
|
i.style.display = 'none';
|
|
60
|
-
if (i.label ===
|
|
67
|
+
if (i.label === label) {
|
|
61
68
|
i.style.display = 'block';
|
|
62
69
|
}
|
|
63
70
|
});
|
|
@@ -112,7 +119,7 @@ const MenuTabs = ({ context }) => {
|
|
|
112
119
|
exports.MenuSettings = MenuSettings;
|
|
113
120
|
exports.MenuTabs = MenuTabs;
|
|
114
121
|
exports.initialize = initialize;
|
|
115
|
-
exports.
|
|
116
|
-
//# sourceMappingURL=ix-menu-settings-
|
|
122
|
+
exports.syncTabDisplay = syncTabDisplay;
|
|
123
|
+
//# sourceMappingURL=ix-menu-settings-CtWl0bME.js.map
|
|
117
124
|
|
|
118
|
-
//# sourceMappingURL=ix-menu-settings-
|
|
125
|
+
//# sourceMappingURL=ix-menu-settings-CtWl0bME.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ix-menu-settings-CtWl0bME.js","sources":["src/components/menu-settings/menu-settings.scss?tag=ix-menu-settings&encapsulation=shadow","src/components/menu-settings/menu-settings.tsx","src/components/utils/menu-tabs/menu-tabs-utils.ts","src/components/utils/menu-tabs/menu-tabs-fc.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@use './common-variables' as vars;\n@use 'legacy/fonts';\n@use 'mixins/shadow-dom/component';\n\n:host {\n display: block;\n background-color: var(--theme-nav-overlay--background);\n padding: vars.$medium-space vars.$default-space vars.$default-space vars.$x-large-space;\n flex-grow: 1;\n position: absolute;\n width: 100%;\n height: 100%;\n\n @include component.ix-component;\n\n .settings-header {\n display: flex;\n justify-content: space-between;\n flex-direction: row;\n align-items: center;\n height: vars.$x-large-space;\n margin-bottom: vars.$small-space;\n\n h2 {\n color: var(--theme-nav-overlay-header--color);\n margin-bottom: 1rem;\n }\n }\n\n ix-tabs {\n margin-bottom: 1.5rem;\n }\n\n .settings-tabs {\n margin-bottom: vars.$large-space;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n forceUpdate,\n h,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { MenuTabs } from '../utils/menu-tabs/menu-tabs-fc';\nimport {\n CustomCloseEvent,\n initialize,\n syncTabDisplay,\n} from '../utils/menu-tabs/menu-tabs-utils';\n\n@Component({\n tag: 'ix-menu-settings',\n styleUrl: 'menu-settings.scss',\n shadow: true,\n})\nexport class MenuSettings {\n @Element() el!: HTMLIxMenuSettingsElement;\n\n /**\n * Active tab\n */\n // eslint-disable-next-line @stencil-community/strict-mutable\n @Prop({ mutable: true }) activeTabLabel?: string;\n\n /**\n * Label of first tab\n */\n @Prop() label = 'Settings';\n\n /** @internal */\n @Prop() show = false;\n\n /**\n * Active tab changed\n * @since 3.0.0\n */\n @Event() tabChange!: EventEmitter<string>;\n\n /**\n * Popover closed\n */\n @Event() close!: EventEmitter<CustomCloseEvent>;\n\n @State() items!: HTMLIxMenuSettingsItemElement[];\n\n @Watch('activeTabLabel')\n updateTab(newLabel: string, oldLabel: string) {\n if (newLabel !== oldLabel) {\n syncTabDisplay(this, newLabel);\n }\n }\n\n componentWillLoad() {\n initialize(this);\n }\n\n componentDidLoad() {\n forceUpdate(this.el);\n }\n\n render() {\n return <MenuTabs context={this} />;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { MenuAbout } from '../../menu-about/menu-about';\nimport { MenuSettings } from '../../menu-settings/menu-settings';\n\nfunction getItems(\n context: MenuSettings | MenuAbout\n): HTMLIxMenuSettingsItemElement[] | HTMLIxMenuAboutItemElement[] {\n return Array.from(\n context.el.querySelectorAll(\n context instanceof MenuSettings\n ? 'ix-menu-settings-item'\n : 'ix-menu-about-item'\n )\n );\n}\n\nexport function setTab(context: MenuSettings | MenuAbout, label: string) {\n if (context.activeTabLabel === label) {\n return;\n }\n const { defaultPrevented } = context.tabChange.emit(label);\n\n if (defaultPrevented) {\n return;\n }\n context.activeTabLabel = label;\n}\n\nexport function syncTabDisplay(\n context: MenuSettings | MenuAbout,\n label: string\n) {\n context.items.forEach((i) => {\n i.style.display = 'none';\n if (i.label === label) {\n i.style.display = 'block';\n }\n });\n}\n\nexport function initialize(context: MenuSettings | MenuAbout) {\n context.items = getItems(context);\n\n if (context.items.length) {\n const selectedLabel = context.activeTabLabel || context.items[0].label;\n if (selectedLabel) {\n setTab(context, selectedLabel);\n }\n }\n\n context.items.forEach((item) => {\n item.addEventListener('labelChange', (e: CustomEvent) => {\n context.items = getItems(context);\n\n if (e.detail.oldLabel === context.activeTabLabel) {\n context.activeTabLabel = e.detail.newLabel;\n }\n });\n });\n}\n\nexport interface CustomLabelChangeEvent {\n name: string;\n oldLabel: string;\n newLabel: string;\n}\n\nexport interface CustomCloseEvent {\n nativeEvent: MouseEvent;\n name: string;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { FunctionalComponent, h, Host } from '@stencil/core';\nimport { setTab } from './menu-tabs-utils';\nimport { MenuAbout } from '../../menu-about/menu-about';\nimport { MenuSettings } from '../../menu-settings/menu-settings';\nimport { iconClose } from '@siemens/ix-icons/icons';\n\ninterface MenuTabsProps {\n context: MenuSettings | MenuAbout;\n}\n\nconst getTabItems = (context: MenuSettings | MenuAbout) => {\n return context.items.map(({ label }) => {\n return (\n <ix-tab-item\n selected={label === context.activeTabLabel}\n onTabClick={(e) => e.preventDefault()}\n onClick={() => {\n if (label) {\n setTab(context, label);\n }\n }}\n >\n {label}\n </ix-tab-item>\n );\n });\n};\n\nexport const MenuTabs: FunctionalComponent<MenuTabsProps> = ({ context }) => {\n const selectedIndex = context.items.findIndex(\n (item) => item.label === context.activeTabLabel\n );\n return (\n <Host\n slot={\n context instanceof MenuSettings ? 'ix-menu-settings' : 'ix-menu-about'\n }\n class={{\n show: context.show,\n }}\n >\n <div\n class={\n context instanceof MenuSettings ? 'settings-header' : 'about-header'\n }\n >\n <h2 class=\"text-h2\">{context.label}</h2>\n <ix-icon-button\n variant=\"tertiary\"\n size=\"24\"\n icon={iconClose}\n iconColor=\"color-soft-text\"\n onClick={(e) =>\n context.close.emit({\n name:\n context instanceof MenuSettings\n ? 'ix-menu-settings'\n : 'ix-menu-about',\n nativeEvent: e,\n })\n }\n ></ix-icon-button>\n </div>\n <ix-tabs selected={selectedIndex !== -1 ? selectedIndex : 0}>\n {getTabItems(context)}\n </ix-tabs>\n <slot></slot>\n </Host>\n );\n};\n"],"names":["forceUpdate","h","Host","iconClose"],"mappings":";;;;;AAAA,MAAM,eAAe,GAAG,klIAAklI;;MCgC7lI,YAAY,GAAA,MAAA;AALzB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAcE;;AAEG;AACK,QAAA,IAAK,CAAA,KAAA,GAAG,UAAU;;AAGlB,QAAA,IAAI,CAAA,IAAA,GAAG,KAAK;AAiCrB;IAjBC,SAAS,CAAC,QAAgB,EAAE,QAAgB,EAAA;AAC1C,QAAA,IAAI,QAAQ,KAAK,QAAQ,EAAE;AACzB,YAAA,cAAc,CAAC,IAAI,EAAE,QAAQ,CAAC;;;IAIlC,iBAAiB,GAAA;QACf,UAAU,CAAC,IAAI,CAAC;;IAGlB,gBAAgB,GAAA;AACd,QAAAA,iBAAW,CAAC,IAAI,CAAC,EAAE,CAAC;;IAGtB,MAAM,GAAA;AACJ,QAAA,OAAOC,QAAC,QAAQ,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,OAAO,EAAE,IAAI,GAAI;;;;;;;;;AC9EtC;;;;;;;AAOG;AAKH,SAAS,QAAQ,CACf,OAAiC,EAAA;AAEjC,IAAA,OAAO,KAAK,CAAC,IAAI,CACf,OAAO,CAAC,EAAE,CAAC,gBAAgB,CACzB,OAAO,YAAY;AACjB,UAAE;AACF,UAAE,oBAAoB,CACzB,CACF;AACH;AAEgB,SAAA,MAAM,CAAC,OAAiC,EAAE,KAAa,EAAA;AACrE,IAAA,IAAI,OAAO,CAAC,cAAc,KAAK,KAAK,EAAE;QACpC;;AAEF,IAAA,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC;IAE1D,IAAI,gBAAgB,EAAE;QACpB;;AAEF,IAAA,OAAO,CAAC,cAAc,GAAG,KAAK;AAChC;AAEgB,SAAA,cAAc,CAC5B,OAAiC,EACjC,KAAa,EAAA;IAEb,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAI;AAC1B,QAAA,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM;AACxB,QAAA,IAAI,CAAC,CAAC,KAAK,KAAK,KAAK,EAAE;AACrB,YAAA,CAAC,CAAC,KAAK,CAAC,OAAO,GAAG,OAAO;;AAE7B,KAAC,CAAC;AACJ;AAEM,SAAU,UAAU,CAAC,OAAiC,EAAA;AAC1D,IAAA,OAAO,CAAC,KAAK,GAAG,QAAQ,CAAC,OAAO,CAAC;AAEjC,IAAA,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,EAAE;AACxB,QAAA,MAAM,aAAa,GAAG,OAAO,CAAC,cAAc,IAAI,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK;QACtE,IAAI,aAAa,EAAE;AACjB,YAAA,MAAM,CAAC,OAAO,EAAE,aAAa,CAAC;;;IAIlC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;QAC7B,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,CAAC,CAAc,KAAI;AACtD,YAAA,OAAO,CAAC,KAAK,GAAG,QAAQ,CAAC,OAAO,CAAC;YAEjC,IAAI,CAAC,CAAC,MAAM,CAAC,QAAQ,KAAK,OAAO,CAAC,cAAc,EAAE;gBAChD,OAAO,CAAC,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,QAAQ;;AAE9C,SAAC,CAAC;AACJ,KAAC,CAAC;AACJ;;ACnEA;;;;;;;AAOG;AAYH,MAAM,WAAW,GAAG,CAAC,OAAiC,KAAI;IACxD,OAAO,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,KAAI;AACrC,QAAA,QACEA,OACE,CAAA,aAAA,EAAA,EAAA,QAAQ,EAAE,KAAK,KAAK,OAAO,CAAC,cAAc,EAC1C,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,cAAc,EAAE,EACrC,OAAO,EAAE,MAAK;gBACZ,IAAI,KAAK,EAAE;AACT,oBAAA,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC;;AAE1B,aAAC,EAEA,EAAA,KAAK,CACM;AAElB,KAAC,CAAC;AACJ,CAAC;MAEY,QAAQ,GAAuC,CAAC,EAAE,OAAO,EAAE,KAAI;IAC1E,MAAM,aAAa,GAAG,OAAO,CAAC,KAAK,CAAC,SAAS,CAC3C,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,KAAK,OAAO,CAAC,cAAc,CAChD;IACD,QACEA,OAAC,CAAAC,UAAI,IACH,IAAI,EACF,OAAO,YAAY,YAAY,GAAG,kBAAkB,GAAG,eAAe,EAExE,KAAK,EAAE;YACL,IAAI,EAAE,OAAO,CAAC,IAAI;AACnB,SAAA,EAAA,EAEDD,OAAA,CAAA,KAAA,EAAA,EACE,KAAK,EACH,OAAO,YAAY,YAAY,GAAG,iBAAiB,GAAG,cAAc,EAAA,EAGtEA,OAAA,CAAA,IAAA,EAAA,EAAI,KAAK,EAAC,SAAS,IAAE,OAAO,CAAC,KAAK,CAAM,EACxCA,OAAA,CAAA,gBAAA,EAAA,EACE,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,IAAI,EACT,IAAI,EAAEE,iBAAS,EACf,SAAS,EAAC,iBAAiB,EAC3B,OAAO,EAAE,CAAC,CAAC,KACT,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC;YACjB,IAAI,EACF,OAAO,YAAY;AACjB,kBAAE;AACF,kBAAE,eAAe;AACrB,YAAA,WAAW,EAAE,CAAC;AACf,SAAA,CAAC,GAEY,CACd,EACNF,OAAA,CAAA,SAAA,EAAA,EAAS,QAAQ,EAAE,aAAa,KAAK,EAAE,GAAG,aAAa,GAAG,CAAC,EAAA,EACxD,WAAW,CAAC,OAAO,CAAC,CACb,EACVA,OAAa,CAAA,MAAA,EAAA,IAAA,CAAA,CACR;AAEX;;;;;;;"}
|
|
@@ -17,7 +17,7 @@ const MenuSettingsItem = class {
|
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (index.h(index.Host, { key: '
|
|
20
|
+
return (index.h(index.Host, { key: '69dac244a2c3b427237e8dceec64fad9c16600e9' }, index.h("slot", { key: 'ccfc87d1f061f0d4195f943dec3782b655626aae' })));
|
|
21
21
|
}
|
|
22
22
|
static get watchers() { return {
|
|
23
23
|
"label": ["watchLabel"]
|
|
@@ -450,44 +450,44 @@ const Menu = class {
|
|
|
450
450
|
}
|
|
451
451
|
render() {
|
|
452
452
|
var _a, _b;
|
|
453
|
-
return (index.h(index.Host, { key: '
|
|
453
|
+
return (index.h(index.Host, { key: 'b36f27c9c7b9342fd8f984dd5d00ad73d735b2ff', class: {
|
|
454
454
|
expanded: this.expand,
|
|
455
455
|
[`breakpoint-${this.breakpoint}`]: true,
|
|
456
|
-
}, slot: "menu" }, index.h("nav", { key: '
|
|
456
|
+
}, slot: "menu" }, index.h("nav", { key: '4f4b1378ddfe2cb243d0a5305679c98084490e8b', class: {
|
|
457
457
|
menu: true,
|
|
458
458
|
expanded: this.expand,
|
|
459
|
-
} }, index.h("div", { key: '
|
|
460
|
-
((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) && (index.h("ix-icon-button", { key: '
|
|
459
|
+
} }, index.h("div", { key: '70d117cfe299bdb3f3b0ed9639d5ee83bfc33cf1', class: "menu-buttons" }, this.breakpoint !== 'sm' && (index.h("ix-menu-expand-icon", { key: 'fa76b253e6cf1ae30e3257cc3c186dc23215b516', breakpoint: this.breakpoint, expanded: this.expand, pinned: this.pinned, class: "menu-expand-icon", ixAriaLabel: this.i18nExpandSidebar, onClick: async () => this.toggleMenu(), "data-testid": "expand-collapse-menu" })), this.breakpoint === 'sm' &&
|
|
460
|
+
((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) && (index.h("ix-icon-button", { key: '927aede1c7824c6c21eed072e7dba6db8d5f8df5', onClick: () => {
|
|
461
461
|
this.showAppSwitch();
|
|
462
|
-
}, icon: index$1.iconApps, variant: "subtle-tertiary" }))), index.h("div", { key: '
|
|
462
|
+
}, icon: index$1.iconApps, variant: "subtle-tertiary" }))), index.h("div", { key: '795f32dc8f94404a75c9a0d0cfb7c8e8d429d8d2', id: "menu-tabs", style: {
|
|
463
463
|
display: 'contents',
|
|
464
|
-
}, onClick: (e) => this.onMenuItemsClick(e) }, index.h("div", { key: '
|
|
464
|
+
}, onClick: (e) => this.onMenuItemsClick(e) }, index.h("div", { key: '4d609cfd70659c0adfcb1cfca0485edff3b05d08', class: "tabs-shadow-container" }, index.h("div", { key: 'b8b81a13d75c56f9a460f0db382acef185b1c11c', class: {
|
|
465
465
|
'tabs--shadow': true,
|
|
466
466
|
'tabs--shadow-top': true,
|
|
467
467
|
'tabs--shadow--show': this.itemsScrollShadowTop,
|
|
468
|
-
} }), index.h("div", { key: '
|
|
468
|
+
} }), index.h("div", { key: '1095f30e782665f9d66d7f2619eb3a68806ccf54', class: {
|
|
469
469
|
tabs: true,
|
|
470
470
|
'show-scrollbar': this.expand,
|
|
471
|
-
}, onScroll: () => this.handleOverflowIndicator() }, index.h("div", { key: '
|
|
471
|
+
}, onScroll: () => this.handleOverflowIndicator() }, index.h("div", { key: '55ec2b8a3b535c8ed7dfc4c80ecdeedf9add4d34', class: "menu-avatar" }, index.h("slot", { key: 'a893aea63d56c2b4e7fd5997904704639257f65b', name: "ix-menu-avatar" })), index.h("slot", { key: '85505735fc0f7c9075340389597565bd99e64801', name: "home" }), this.breakpoint !== 'sm' || !this.isHiddenFromViewport() ? (index.h("slot", null)) : null), index.h("div", { key: '7a0013bb20500931471b1ee1273615d0ae740d11', class: {
|
|
472
472
|
'tabs--shadow': true,
|
|
473
473
|
'tabs--shadow-bottom': true,
|
|
474
474
|
'tabs--shadow--show': this.itemsScrollShadowBottom,
|
|
475
|
-
} }))), index.h("div", { key: '
|
|
475
|
+
} }))), index.h("div", { key: '92a48e39684e2bbbb6078dcafc5c8b7103a693de', class: "bottom-tab-divider" }), this.settings ? (index.h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "settings", class: {
|
|
476
476
|
'internal-tab': true,
|
|
477
477
|
'bottom-tab': true,
|
|
478
478
|
active: this.showSettings,
|
|
479
|
-
}, icon: index$1.iconCogwheel, onClick: async () => this.toggleSettings(!this.showSettings), label: this.i18nSettings })) : null, this.enableToggleTheme ? (index.h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "toggleTheme", onClick: () => themeSwitcher.themeSwitcher.toggleMode(), class: "internal-tab bottom-tab", icon: index$1.iconLightDark, label: this.i18nToggleTheme })) : null, index.h("div", { key: '
|
|
479
|
+
}, icon: index$1.iconCogwheel, onClick: async () => this.toggleSettings(!this.showSettings), label: this.i18nSettings })) : null, this.enableToggleTheme ? (index.h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "toggleTheme", onClick: () => themeSwitcher.themeSwitcher.toggleMode(), class: "internal-tab bottom-tab", icon: index$1.iconLightDark, label: this.i18nToggleTheme })) : null, index.h("div", { key: '2a5bad2eb493be6ee59fc101fab300bdb154feb0', onClick: (e) => this.onMenuItemsClick(e) }, index.h("slot", { key: '5a1e19962a88ceeb1f82ac385dba49d0c311e3d7', name: "bottom" })), index.h("div", { key: '65802881403efad9dbae84ef9bf5d441e3915150', id: "popover-area" }), this.enableMapExpand || ((_b = this.applicationLayoutContext) === null || _b === void 0 ? void 0 : _b.sidebar) ? (index.h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "menu-collapse", onClick: () => this.sidebarToggle(), class: "internal-tab bottom-tab", icon: `${this.getCollapseIcon()}`, label: this.getCollapseText() })) : null, this.about ? (index.h("ix-menu-item", { disabled: this.isHiddenFromViewport(), id: "aboutAndLegal", class: {
|
|
480
480
|
'internal-tab': true,
|
|
481
481
|
'bottom-tab': true,
|
|
482
482
|
active: this.showAbout,
|
|
483
|
-
}, icon: index$1.iconInfo, onClick: async () => this.toggleAbout(!this.showAbout), label: this.i18nLegal })) : null), index.h("div", { key: '
|
|
483
|
+
}, icon: index$1.iconInfo, onClick: async () => this.toggleAbout(!this.showAbout), label: this.i18nLegal })) : null), index.h("div", { key: 'e6dd7e53abbd5e4ce11cc5d2be882dd52e335275', class: {
|
|
484
484
|
'menu-overlay': true,
|
|
485
485
|
visible: this.isOverlayVisible(),
|
|
486
486
|
expanded: this.expand,
|
|
487
487
|
}, onTransitionEnd: () => {
|
|
488
488
|
this.isTransitionDisabled = true;
|
|
489
489
|
this.checkTransition();
|
|
490
|
-
} }, index.h("div", { key: '
|
|
490
|
+
} }, index.h("div", { key: 'd8a49e3983b5d060190f1440b4aacd44243894a8', class: 'menu-overlay-container' }, this.showSettings ? index.h("slot", { name: "ix-menu-settings" }) : null), index.h("div", { key: '92ddf6c21d3d08c5d1961200ac598a6135c9ef89', class: 'menu-overlay-container' }, this.showAbout ? index.h("slot", { name: "ix-menu-about" }) : null))));
|
|
491
491
|
}
|
|
492
492
|
get hostElement() { return index.getElement(this); }
|
|
493
493
|
static get watchers() { return {
|
|
@@ -42,7 +42,7 @@ const MessageBar = class {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (index.h(index.Host, { key: '
|
|
45
|
+
return (index.h(index.Host, { key: '538fcc08ad07fe808f424e067a361f4a56f4c0ec' }, index.h("div", { key: '4a75052efe1b22c247dcfcd298aabbd1098ff7b6', class: { 'message-container': true, [this.type]: true }, role: "alert", ref: (el) => (this.divElement = el) }, index.h("ix-icon", { key: 'd348829692e38a1023e044834aefa45516b4d916', color: this.color, name: this.icon }), index.h("div", { key: '0ac0a509efe1dd246f7732660e4cf16416c8655d', class: "message-content" }, index.h("slot", { key: '6143bfa9cf39d32d149c2893b7712358337833c9' })), !this.persistent && (index.h("ix-icon-button", { key: 'b118c91956af0fd00d02cfefdb7da36d46f2d360', icon: index$1.iconClose, iconColor: "color-soft-text", size: "24", variant: "tertiary", onClick: () => {
|
|
46
46
|
if (this.divElement) {
|
|
47
47
|
this.closeAlert(this.divElement);
|
|
48
48
|
}
|
|
@@ -11,7 +11,7 @@ const ModalContent = class {
|
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(index.Host, { key: '
|
|
14
|
+
return (index.h(index.Host, { key: 'b45bdd4b47ca580de9e3419c9c081f8e30b1da09' }, index.h("slot", { key: 'ad2d19f3f3053ea927d6d45ff54bcfff1e74345d' })));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
ModalContent.style = modalContentCss;
|
|
@@ -49,7 +49,7 @@ const ModalHeader = class {
|
|
|
49
49
|
this.parentDialog.dismissModal();
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (index.h(index.Host, { key: '
|
|
52
|
+
return (index.h(index.Host, { key: '7dd6b1964ed537b20a90f9007afb767414fad240' }, this.icon ? (index.h("ix-icon", { name: this.icon, color: this.iconColor, size: "32", "aria-label": this.ariaLabelIcon })) : null, index.h("div", { key: '4c6d8c7716ba99eed36e7b9c741dce4ebb0bb092', class: "modal-title" }, index.h("ix-typography", { key: '1db5a1e1cd434c67578a8c276b497284e5447f8d', format: "h5" }, index.h("slot", { key: '920833a9e7d2c8e15dc4bff1b18c6daa8a9ee4b5' }))), !this.hideClose ? (index.h("ix-icon-button", { class: "modal-close", onClick: (event) => this.onCloseClick(event), variant: "tertiary", icon: index$1.iconClose, iconColor: "color-soft-text", "aria-label": this.ariaLabelCloseIconButton })) : null));
|
|
53
53
|
}
|
|
54
54
|
get hostElement() { return index.getElement(this); }
|
|
55
55
|
static get watchers() { return {
|
|
@@ -9,7 +9,7 @@ const ModalFooter = class {
|
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (index.h(index.Host, { key: '
|
|
12
|
+
return (index.h(index.Host, { key: '11eb649edd163b25fdeb4b533bf513a861c1d7ec' }, index.h("slot", { key: '9a2cb92b8df8220ed2307d98ec7a1ce6a6d9196b' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
ModalFooter.style = modalFooterCss;
|
|
@@ -9,7 +9,7 @@ const ModalLoading = class {
|
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (index.h(index.Host, { key: '
|
|
12
|
+
return (index.h(index.Host, { key: '404214a461e55c9ee78aad8dc277dab5be8a9b42' }, index.h("ix-spinner", { key: '96278c04d8c7798b411f6807e5c7a1ea26b03d45', variant: "primary" }), index.h("span", { key: 'cad3eec78defa832ffc679f86941ffc301bc5b5c', class: 'loading-text' }, index.h("slot", { key: '96cf92b74f62260ee97b7bdae73557a2ee5517ec' }))));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
ModalLoading.style = modalLoadingCss;
|
|
@@ -189,17 +189,17 @@ const Modal = class {
|
|
|
189
189
|
this.ariaAttributes = a11y.a11yHostAttributes(this.hostElement);
|
|
190
190
|
}
|
|
191
191
|
render() {
|
|
192
|
-
return (index.h(index.Host, { key: '
|
|
192
|
+
return (index.h(index.Host, { key: '0170729f63356223c39bcd6b0bb7124b2036f2c4', class: {
|
|
193
193
|
visible: this.modalVisible,
|
|
194
194
|
'no-backdrop': this.hideBackdrop,
|
|
195
195
|
'align-center': this.centered,
|
|
196
|
-
} }, index.h("div", { key: '
|
|
196
|
+
} }, index.h("div", { key: '436b9f2efce7279defa936c9ee79fa44d090e388', class: "dialog-backdrop" }, index.h("dialog", { key: 'e3bc4891433993a5dcbe186011fd91d70277ca3d', "aria-modal": a11y.a11yBoolean(true), "aria-describedby": this.ariaAttributes['aria-describedby'], "aria-labelledby": this.ariaAttributes['aria-labelledby'], class: {
|
|
197
197
|
modal: true,
|
|
198
198
|
[`modal-size-${this.size}`]: true,
|
|
199
199
|
}, onClose: () => this.dismissModal(), onMouseDown: (event) => this.onMouseDown(event), onMouseUp: (event) => this.onMouseUp(event), onCancel: (e) => {
|
|
200
200
|
e.preventDefault();
|
|
201
201
|
this.dismissModal();
|
|
202
|
-
} }, index.h("slot", { key: '
|
|
202
|
+
} }, index.h("slot", { key: '5a3e86b9c04f8e1564be6026b0352940978f0666' })))));
|
|
203
203
|
}
|
|
204
204
|
get hostElement() { return index.getElement(this); }
|
|
205
205
|
};
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-C8Xo8L1k.js');
|
|
4
4
|
var index$1 = require('./index-Dyz3z1FD.js');
|
|
5
|
-
var validation = require('./validation-
|
|
5
|
+
var validation = require('./validation-DTmSqO2d.js');
|
|
6
6
|
var makeRef = require('./make-ref-BaH6_YJk.js');
|
|
7
|
-
var
|
|
7
|
+
var input_fc = require('./input.fc-DrxRYq_G.js');
|
|
8
8
|
require('./a11y-B_6chCvu.js');
|
|
9
9
|
require('./mutation-observer-DE0YMfYu.js');
|
|
10
10
|
require('./rwd.util-GTn-vgCJ.js');
|
|
@@ -14,7 +14,7 @@ require('./animation-DtTuOXbI.js');
|
|
|
14
14
|
const numberInputCss = "input{min-height:2rem;width:auto;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow);font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}input[type=number]{text-align:right}input[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}input:-webkit-autofill,input:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}input::-moz-placeholder{color:var(--theme-input-hint--color)}input::placeholder{color:var(--theme-input-hint--color)}input.hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),input:hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}input.hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),input:hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}input.focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),input:focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}input.focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),input:focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}input:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}input.read-only,input:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}input.read-only::-moz-placeholder,input:read-only::-moz-placeholder{color:transparent}input:-moz-read-only::placeholder{color:transparent}input.read-only::placeholder,input:read-only::placeholder{color:transparent}input:disabled,input.disabled{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}input:disabled::-moz-placeholder,input.disabled::-moz-placeholder{color:transparent}input:disabled::placeholder,input.disabled::placeholder{color:transparent}textarea{min-height:2rem;width:auto;padding:0.25rem 0.5rem;background-color:var(--theme-input--background);color:var(--theme-input--color);-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;text-overflow:ellipsis;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);box-shadow:var(--theme-input--box-shadow);font-feature-settings:\"clig\" off, \"liga\" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale}textarea[type=number]{text-align:right}textarea[type=number]::-webkit-inner-spin-button{margin-right:-2px;margin-left:2px;display:none}textarea:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}textarea:-webkit-autofill,textarea:autofill{-webkit-box-shadow:0 0 0 1000px var(--theme-color-component-info) inset !important;-webkit-text-fill-color:var(--theme-input--color--autofill) !important;background-color:var(--theme-input--background--autofill) !important;border:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color--autofill) !important;color:var(--theme-input--color--autofill) !important}textarea::-moz-placeholder{color:var(--theme-input-hint--color)}textarea::placeholder{color:var(--theme-input-hint--color)}textarea.hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),textarea:hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}textarea.hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),textarea:hover:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){border-color:var(--theme-input--border-color--hover) !important;background-color:var(--theme-input--background--hover)}textarea.focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only),textarea:focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:-moz-read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}textarea.focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only),textarea:focus:not(.readonly,.read-only,.disabled,[readonly],[disabled],:read-only){outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-input--focus--outline-offset);border-color:var(--theme-input--border-color--focus) !important}textarea:-moz-read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}textarea.read-only,textarea:read-only{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--readonly)}textarea.read-only::-moz-placeholder,textarea:read-only::-moz-placeholder{color:transparent}textarea:-moz-read-only::placeholder{color:transparent}textarea.read-only::placeholder,textarea:read-only::placeholder{color:transparent}textarea:disabled,textarea.disabled{box-shadow:none;background-color:transparent;outline:none;border:none;border-radius:0;color:var(--theme-input--color--disabled);border-bottom:var(--theme-input--border-thickness, 1px) solid var(--theme-input--border-color-bottom--disabled)}textarea:disabled::-moz-placeholder,textarea.disabled::-moz-placeholder{color:transparent}textarea:disabled::placeholder,textarea.disabled::placeholder{color:transparent}textarea{min-height:2rem;height:3.25rem;padding:calc(0.375rem - var(--theme-input--border-thickness)) calc(0.5rem - var(--theme-input--border-thickness))}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]),input.ix-info:not(.disabled):not(:disabled):not([disabled]){border-color:var(--theme-input--border-color--info)}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):hover,input.ix-info:not(.disabled):not(:disabled):not([disabled]):hover{border-color:var(--theme-input--border-color--info--hover) !important}textarea.ix-info:not(.disabled):not(:disabled):not([disabled]):active,input.ix-info:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--info--active) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]),input.ix-warning:not(.disabled):not(:disabled):not([disabled]){background-color:var(--theme-input--background--warning);border-color:var(--theme-input--border-color--warning--active) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):hover,input.ix-warning:not(.disabled):not(:disabled):not([disabled]):hover{background-color:var(--theme-input--background--warning--hover);border-color:var(--theme-input--border-color--warning--hover) !important}textarea.ix-warning:not(.disabled):not(:disabled):not([disabled]):active,input.ix-warning:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--warning--active) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]),input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]){background-color:var(--theme-input--background--invalid);border-color:var(--theme-input--border-color--invalid) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):hover,input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):hover{background-color:var(--theme-input--background--invalid--hover);border-color:var(--theme-input--border-color--invalid--hover) !important}textarea[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active,input[class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled]):active{border-color:var(--theme-input--border-color--invalid--active) !important}:host{display:inline-block;position:relative;width:auto}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host{}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host{}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host{}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host{}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .input-wrapper{display:flex;position:relative;align-items:center;width:100%;height:100%}:host input{width:100%;height:100%}:host .start-container,:host .end-container{display:flex;position:absolute;align-items:center;justify-content:center;z-index:1}:host .start-container{left:0}:host .end-container{right:0}:host .start-container ::slotted(*){margin-left:0.5rem}:host .start-container ::slotted(ix-icon.size-24),:host .start-container ::slotted(ix-icon-button.btn-icon-16){margin-left:0.25rem}:host .start-container ::slotted(ix-icon-button.btn-icon-32){margin-left:0}:host .end-container ::slotted(*){margin-right:0.5rem}:host .end-container ::slotted(ix-icon.size-24),:host .end-container ::slotted(ix-icon-button.btn-icon-16){margin-right:0.25rem}:host .end-container ::slotted(ix-icon-button.btn-icon-32){margin-right:0}:host .bottom-text{margin-top:0.25rem;margin-bottom:0.25rem}:host(.disabled){pointer-events:none}:host(.disabled) input,:host(.disabled) textarea{pointer-events:none}:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) input{border-color:var(--theme-input--border-color--info)}:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) input:hover{border-color:var(--theme-input--border-color--info--hover) !important}:host(.ix-info:not(.disabled):not(:disabled):not([disabled])) input:active{border-color:var(--theme-input--border-color--info--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) input{background-color:var(--theme-input--background--warning);border-color:var(--theme-input--border-color--warning--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) input:hover{background-color:var(--theme-input--background--warning--hover);border-color:var(--theme-input--border-color--warning--active) !important}:host(.ix-warning:not(.disabled):not(:disabled):not([disabled])) input:active{border-color:var(--theme-input--border-color--warning--active) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input{background-color:var(--theme-input--background--invalid);border-color:var(--theme-input--border-color--invalid) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input:hover,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input:hover{background-color:var(--theme-input--background--invalid--hover);border-color:var(--theme-input--border-color--invalid--hover) !important}:host([class*=ix-invalid]:not(.disabled):not(:disabled):not([disabled])) input:active,:host(.ix-invalid--required:not(.disabled):not(:disabled):not([disabled])) input:active{border-color:var(--theme-input--border-color--invalid--active) !important}:host .input-wrapper.show-stepper-buttons input[type=number]{min-width:6rem}:host .number-stepper-container{display:flex;position:relative;flex-direction:row;flex-wrap:nowrap;margin-right:0.25rem}:host .number-stepper-container.container-hidden{display:none}";
|
|
15
15
|
|
|
16
16
|
/*
|
|
17
|
-
* SPDX-FileCopyrightText:
|
|
17
|
+
* SPDX-FileCopyrightText: 2025 Siemens AG
|
|
18
18
|
*
|
|
19
19
|
* SPDX-License-Identifier: MIT
|
|
20
20
|
*
|
|
@@ -32,6 +32,7 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
32
32
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
33
33
|
};
|
|
34
34
|
let numberInputIds = 0;
|
|
35
|
+
const INVALID_NUMBER_INPUT_REGEX = /[^\dEe+\-.,]/;
|
|
35
36
|
const NumberInput = class {
|
|
36
37
|
constructor(hostRef) {
|
|
37
38
|
index.registerInstance(this, hostRef);
|
|
@@ -46,11 +47,11 @@ const NumberInput = class {
|
|
|
46
47
|
hostRef.$hostElement$["s-ei"] = this.formInternals;
|
|
47
48
|
}
|
|
48
49
|
/**
|
|
49
|
-
* The value of the input field
|
|
50
|
+
* The value of the input field. Supports numeric values, scientific notation (1E6, 1E-6), or undefined for empty.
|
|
50
51
|
*/
|
|
51
52
|
this.value = 0;
|
|
52
53
|
/**
|
|
53
|
-
* Indicates if the field is required
|
|
54
|
+
* Indicates if the field is required. When required, empty values (undefined) are not accepted.
|
|
54
55
|
*/
|
|
55
56
|
this.required = false;
|
|
56
57
|
/**
|
|
@@ -61,6 +62,27 @@ const NumberInput = class {
|
|
|
61
62
|
* Indicates if the field is read-only
|
|
62
63
|
*/
|
|
63
64
|
this.readonly = false;
|
|
65
|
+
/**
|
|
66
|
+
* Step value to increment or decrement the input value. Default step value is 1.
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
this.step = 1;
|
|
70
|
+
/**
|
|
71
|
+
* If false, pressing Enter will submit the form (if inside a form).
|
|
72
|
+
* Set to true to suppress submit on Enter.
|
|
73
|
+
*/
|
|
74
|
+
this.suppressSubmitOnEnter = false;
|
|
75
|
+
/**
|
|
76
|
+
* Text alignment within the number input. 'start' aligns the text to the start of the input, 'end' aligns the text to the end of the input.
|
|
77
|
+
*/
|
|
78
|
+
this.textAlignment = 'end';
|
|
79
|
+
/**
|
|
80
|
+
* If true, the valueChange event will return null instead of 0 for an empty input state.
|
|
81
|
+
* This property will be removed in 5.0.0 and this behaviour will be default.
|
|
82
|
+
*
|
|
83
|
+
* @since 4.1.0
|
|
84
|
+
*/
|
|
85
|
+
this.allowEmptyValueChange = false;
|
|
64
86
|
this.isInvalid = false;
|
|
65
87
|
this.isValid = false;
|
|
66
88
|
this.isInfo = false;
|
|
@@ -71,28 +93,142 @@ const NumberInput = class {
|
|
|
71
93
|
this.slotStartRef = makeRef.makeRef();
|
|
72
94
|
this.numberInputId = `number-input-${numberInputIds++}`;
|
|
73
95
|
this.touched = false;
|
|
96
|
+
this.handleInputChange = (inputValue) => {
|
|
97
|
+
const parsedValue = this.convertNumberStringToFloat(inputValue);
|
|
98
|
+
const isScientificNotation = this.isScientificNotation(inputValue.trim());
|
|
99
|
+
if (isScientificNotation) {
|
|
100
|
+
this.formInternals.setFormValue(inputValue);
|
|
101
|
+
}
|
|
102
|
+
this.handleValueChangeEvent(parsedValue);
|
|
103
|
+
};
|
|
104
|
+
this.handleBlur = () => {
|
|
105
|
+
if (!this.inputRef.current)
|
|
106
|
+
return;
|
|
107
|
+
const inputValue = this.inputRef.current.value;
|
|
108
|
+
const parsedValue = this.convertNumberStringToFloat(inputValue);
|
|
109
|
+
if (parsedValue !== undefined) {
|
|
110
|
+
this.inputRef.current.value = this.formatValue(parsedValue);
|
|
111
|
+
}
|
|
112
|
+
this.updateFormInternalValue(parsedValue);
|
|
113
|
+
input_fc.onInputBlur(this, this.inputRef.current);
|
|
114
|
+
this.touched = true;
|
|
115
|
+
};
|
|
116
|
+
this.handleKeyDown = (event) => {
|
|
117
|
+
if (this.disabled || this.readonly) {
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
switch (event.key) {
|
|
121
|
+
case 'ArrowUp':
|
|
122
|
+
event.preventDefault();
|
|
123
|
+
this.handleStepOperation('up');
|
|
124
|
+
break;
|
|
125
|
+
case 'ArrowDown':
|
|
126
|
+
event.preventDefault();
|
|
127
|
+
this.handleStepOperation('down');
|
|
128
|
+
break;
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
this.handleBeforeInput = (e) => {
|
|
132
|
+
var _a, _b;
|
|
133
|
+
if (this.disabled || this.readonly)
|
|
134
|
+
return;
|
|
135
|
+
if (e.inputType === 'insertText') {
|
|
136
|
+
const character = e.data;
|
|
137
|
+
if (character && INVALID_NUMBER_INPUT_REGEX.test(character)) {
|
|
138
|
+
e.preventDefault();
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
if (e.inputType === 'insertFromPaste') {
|
|
142
|
+
const dt = e.dataTransfer || e.clipboardData;
|
|
143
|
+
const text = (_b = (_a = dt === null || dt === void 0 ? void 0 : dt.getData) === null || _a === void 0 ? void 0 : _a.call(dt, 'text')) !== null && _b !== void 0 ? _b : '';
|
|
144
|
+
if (INVALID_NUMBER_INPUT_REGEX.test(text)) {
|
|
145
|
+
e.preventDefault();
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
this.handlePaste = (e) => {
|
|
150
|
+
var _a, _b;
|
|
151
|
+
// Fallback for browsers that don’t fire beforeinput for paste
|
|
152
|
+
const text = (_b = (_a = e.clipboardData) === null || _a === void 0 ? void 0 : _a.getData('text')) !== null && _b !== void 0 ? _b : '';
|
|
153
|
+
if (INVALID_NUMBER_INPUT_REGEX.test(text)) {
|
|
154
|
+
e.preventDefault();
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
onValueChange(newValue) {
|
|
159
|
+
this.updateFormInternalValue(newValue);
|
|
74
160
|
}
|
|
75
161
|
updateClassMappings(result) {
|
|
76
|
-
|
|
162
|
+
input_fc.mapValidationResult(this, result);
|
|
77
163
|
}
|
|
78
164
|
componentWillLoad() {
|
|
79
165
|
this.updateFormInternalValue(this.value);
|
|
80
166
|
}
|
|
81
167
|
connectedCallback() {
|
|
82
168
|
this.disposableChangesAndVisibilityObservers =
|
|
83
|
-
|
|
169
|
+
input_fc.addDisposableChangesAndVisibilityObservers(this.hostElement, this.updatePaddings.bind(this));
|
|
84
170
|
}
|
|
85
171
|
disconnectedCallback() {
|
|
86
172
|
var _a;
|
|
87
173
|
(_a = this.disposableChangesAndVisibilityObservers) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
88
174
|
}
|
|
89
175
|
updatePaddings() {
|
|
90
|
-
|
|
176
|
+
input_fc.adjustPaddingForStartAndEnd(this.slotStartRef.current, this.slotEndRef.current, this.inputRef.current);
|
|
177
|
+
}
|
|
178
|
+
convertNumberStringToFloat(input) {
|
|
179
|
+
if (!input || input.trim() === '') {
|
|
180
|
+
return undefined;
|
|
181
|
+
}
|
|
182
|
+
const parsed = Number.parseFloat(input);
|
|
183
|
+
return Number.isNaN(parsed) ? undefined : parsed;
|
|
184
|
+
}
|
|
185
|
+
isScientificNotation(input) {
|
|
186
|
+
const parsed = Number.parseFloat(input);
|
|
187
|
+
return (!Number.isNaN(parsed) && Number.isFinite(parsed) && /[eE]/.test(input));
|
|
188
|
+
}
|
|
189
|
+
formatValue(value) {
|
|
190
|
+
if (value === undefined || value === null) {
|
|
191
|
+
return '';
|
|
192
|
+
}
|
|
193
|
+
return value.toString();
|
|
194
|
+
}
|
|
195
|
+
handleValueChangeEvent(value) {
|
|
196
|
+
this.valueChange.emit(this.allowEmptyValueChange ? value : (value !== null && value !== void 0 ? value : 0));
|
|
91
197
|
}
|
|
92
198
|
updateFormInternalValue(value) {
|
|
93
|
-
|
|
199
|
+
const formValue = value !== undefined && value !== null ? value.toString() : '';
|
|
200
|
+
this.formInternals.setFormValue(formValue);
|
|
94
201
|
this.value = value;
|
|
95
202
|
}
|
|
203
|
+
handleStepOperation(operation) {
|
|
204
|
+
var _a, _b;
|
|
205
|
+
if (!this.inputRef.current) {
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
const currentValue = (_a = this.value) !== null && _a !== void 0 ? _a : 0;
|
|
209
|
+
const stepValue = typeof this.step === 'string'
|
|
210
|
+
? Number.parseFloat(this.step)
|
|
211
|
+
: ((_b = this.step) !== null && _b !== void 0 ? _b : 1);
|
|
212
|
+
let newValue;
|
|
213
|
+
if (operation === 'up') {
|
|
214
|
+
newValue = currentValue + stepValue;
|
|
215
|
+
}
|
|
216
|
+
else {
|
|
217
|
+
newValue = currentValue - stepValue;
|
|
218
|
+
}
|
|
219
|
+
if (this.min !== undefined) {
|
|
220
|
+
const minValue = typeof this.min === 'string' ? Number.parseFloat(this.min) : this.min;
|
|
221
|
+
newValue = Math.max(newValue, minValue);
|
|
222
|
+
}
|
|
223
|
+
if (this.max !== undefined) {
|
|
224
|
+
const maxValue = typeof this.max === 'string' ? Number.parseFloat(this.max) : this.max;
|
|
225
|
+
newValue = Math.min(newValue, maxValue);
|
|
226
|
+
}
|
|
227
|
+
this.inputRef.current.value = newValue.toString();
|
|
228
|
+
this.updateFormInternalValue(newValue);
|
|
229
|
+
input_fc.checkInternalValidity(this, this.inputRef.current);
|
|
230
|
+
this.handleValueChangeEvent(newValue);
|
|
231
|
+
}
|
|
96
232
|
/** @internal */
|
|
97
233
|
async getAssociatedFormElement() {
|
|
98
234
|
return this.formInternals.form;
|
|
@@ -101,9 +237,10 @@ const NumberInput = class {
|
|
|
101
237
|
async hasValidValue() {
|
|
102
238
|
const nativeInput = await this.getNativeInputElement();
|
|
103
239
|
if (nativeInput.value === '') {
|
|
104
|
-
return
|
|
240
|
+
return !this.required;
|
|
105
241
|
}
|
|
106
|
-
|
|
242
|
+
const parsedValue = this.convertNumberStringToFloat(nativeInput.value);
|
|
243
|
+
return parsedValue !== undefined;
|
|
107
244
|
}
|
|
108
245
|
/**
|
|
109
246
|
* Returns the native input element used under the hood
|
|
@@ -125,39 +262,30 @@ const NumberInput = class {
|
|
|
125
262
|
return Promise.resolve(this.touched);
|
|
126
263
|
}
|
|
127
264
|
render() {
|
|
265
|
+
var _a;
|
|
128
266
|
const showStepperButtons = this.showStepperButtons && (this.disabled || this.readonly) === false;
|
|
129
|
-
return (index.h(index.Host, { key: '
|
|
267
|
+
return (index.h(index.Host, { key: '4b541dbe6fe2b32b5158eed8f398de300ea71bb4', class: {
|
|
130
268
|
disabled: this.disabled,
|
|
131
269
|
readonly: this.readonly,
|
|
132
|
-
} }, index.h("ix-field-wrapper", { key: '
|
|
270
|
+
} }, index.h("ix-field-wrapper", { key: '7ef2bb50ba7c9b3b24612752155a2072329e4b61', id: this.numberInputId, required: this.required, label: this.label, helperText: this.helperText, invalidText: this.invalidText, infoText: this.infoText, warningText: this.warningText, validText: this.validText, showTextAsTooltip: this.showTextAsTooltip, isInvalid: this.isInvalid, isValid: this.isValid, isInfo: this.isInfo, isWarning: this.isWarning, controlRef: this.inputRef }, index.h("div", { key: '7e71d63d2a9ecbb16550925e68f3dc8dd76c3968', class: {
|
|
133
271
|
'input-wrapper': true,
|
|
134
272
|
'show-stepper-buttons': !!this.showStepperButtons,
|
|
135
|
-
} }, index.h(
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
273
|
+
} }, index.h(input_fc.SlotStart, { key: '8d936c9126f94c42db87b2d95d34ab178eadd31d', slotStartRef: this.slotStartRef, onSlotChange: () => this.updatePaddings() }), index.h(input_fc.InputElement, { key: 'c56f510ea8a519204d3d36136d4b0a5a17246370', id: this.numberInputId, readonly: this.readonly, disabled: this.disabled, step: this.step, min: this.min, max: this.max, pattern: this.pattern, type: 'number', isInvalid: this.isInvalid, required: this.required, value: this.formatValue(this.value), placeholder: this.placeholder, inputRef: this.inputRef, onKeyPress: (event) => input_fc.checkAllowedKeys(this, event), onKeyDown: (event) => this.handleKeyDown(event), onBeforeInput: (event) => this.handleBeforeInput(event), onPaste: (event) => this.handlePaste(event), valueChange: this.handleInputChange, updateFormInternalValue: (value) => {
|
|
274
|
+
const isScientificNotation = this.isScientificNotation(value.trim());
|
|
275
|
+
if (!isScientificNotation) {
|
|
276
|
+
const parsedValue = this.convertNumberStringToFloat(value);
|
|
277
|
+
this.updateFormInternalValue(parsedValue);
|
|
278
|
+
}
|
|
279
|
+
}, onBlur: this.handleBlur, form: (_a = this.formInternals.form) !== null && _a !== void 0 ? _a : undefined, suppressSubmitOnEnter: this.suppressSubmitOnEnter, textAlignment: this.textAlignment }), index.h(input_fc.SlotEnd, { key: '2d7e82c421d51985c9d24c69b6f641279e3e84aa', slotEndRef: this.slotEndRef, onSlotChange: () => this.updatePaddings() }, index.h("div", { key: '5b1e6f03bf456305386537428b23b3fc2706e411', class: {
|
|
139
280
|
'number-stepper-container': true,
|
|
140
281
|
'container-hidden': !showStepperButtons,
|
|
141
|
-
} }, index.h("ix-icon-button", { key: '
|
|
142
|
-
if (!this.inputRef.current) {
|
|
143
|
-
return;
|
|
144
|
-
}
|
|
145
|
-
this.inputRef.current.stepDown();
|
|
146
|
-
input_util.checkInternalValidity(this, this.inputRef.current);
|
|
147
|
-
this.updateFormInternalValue(Number(this.inputRef.current.value));
|
|
148
|
-
this.valueChange.emit(this.value);
|
|
149
|
-
} }), index.h("ix-icon-button", { key: '34f4f8b3dc4e90ec9ada96f15280b39320ed5fb9', variant: "subtle-tertiary", icon: index$1.iconPlus, size: "16", class: "number-stepper-button step-plus", "aria-label": "increment number", onClick: () => {
|
|
150
|
-
if (!this.inputRef.current) {
|
|
151
|
-
return;
|
|
152
|
-
}
|
|
153
|
-
this.inputRef.current.stepUp();
|
|
154
|
-
input_util.checkInternalValidity(this, this.inputRef.current);
|
|
155
|
-
this.updateFormInternalValue(Number(this.inputRef.current.value));
|
|
156
|
-
this.valueChange.emit(this.value);
|
|
157
|
-
} })))))));
|
|
282
|
+
} }, index.h("ix-icon-button", { key: '44a5f583fb174c556a063f384174883ec307f9f4', variant: "subtle-tertiary", icon: index$1.iconMinus, size: "16", class: "number-stepper-button step-minus", "aria-label": "decrement number", onClick: () => this.handleStepOperation('down') }), index.h("ix-icon-button", { key: 'c007fe5451c3f124e61214160c7ebc8cc1150b25', variant: "subtle-tertiary", icon: index$1.iconPlus, size: "16", class: "number-stepper-button step-plus", "aria-label": "increment number", onClick: () => this.handleStepOperation('up') })))))));
|
|
158
283
|
}
|
|
159
284
|
static get formAssociated() { return true; }
|
|
160
285
|
get hostElement() { return index.getElement(this); }
|
|
286
|
+
static get watchers() { return {
|
|
287
|
+
"value": ["onValueChange"]
|
|
288
|
+
}; }
|
|
161
289
|
};
|
|
162
290
|
__decorate([
|
|
163
291
|
validation.HookValidationLifecycle()
|