@siemens/ix 0.0.0-pr-1318-20240627080522 → 0.0.0-pr-1373-20240705054533
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/a11y.js +2 -3
- package/components/a11y.js.map +1 -1
- package/components/application-header.js +3 -3
- package/components/card-content.js +1 -1
- package/components/card-title.js +1 -1
- package/components/date-picker.js +4 -4
- package/components/date-time-card.js +2 -2
- package/components/date-time-card.js.map +1 -1
- package/components/divider.js +1 -1
- package/components/dropdown-item.js +3 -3
- package/components/dropdown.js +9 -9
- package/components/dropdown.js.map +1 -1
- package/components/filter-chip.js +1 -1
- package/components/group-context-menu.js +1 -1
- package/components/group-item.js +2 -2
- package/components/icon-button.js +1 -1
- package/components/index.js +4 -19
- package/components/index.js.map +1 -1
- package/components/ix-application-sidebar.js +1 -1
- package/components/ix-application-switch-modal.js +1 -1
- package/components/ix-application.js +3 -3
- package/components/ix-basic-navigation.js +2 -2
- package/components/ix-breadcrumb.js +2 -2
- package/components/ix-card-list.js +4 -4
- package/components/ix-category-filter.js +4 -4
- package/components/ix-category-filter.js.map +1 -1
- package/components/ix-chip.js +4 -4
- package/components/ix-content.js +3 -3
- package/components/ix-css-grid-item.js +1 -1
- package/components/ix-datetime-picker.js +1 -1
- package/components/ix-drawer.js +2 -2
- package/components/ix-dropdown-button.js +2 -2
- package/components/ix-dropdown-header.js +1 -1
- package/components/ix-dropdown-quick-actions.js +1 -1
- package/components/ix-empty-state.js +1 -1
- package/components/ix-event-list-item.js +4 -4
- package/components/ix-event-list.js +2 -2
- package/components/ix-expanding-search.js +4 -4
- package/components/ix-flip-tile-content.js +1 -1
- package/components/ix-flip-tile.js +4 -4
- package/components/{ix-text-field.d.ts → ix-form-field.d.ts} +4 -4
- package/components/ix-form-field.js +44 -0
- package/components/ix-form-field.js.map +1 -0
- package/components/ix-group.js +8 -8
- package/components/ix-icon-toggle-button.js +1 -1
- package/components/ix-input-group.js +1 -1
- package/components/ix-key-value-list.js +1 -1
- package/components/ix-key-value.js +1 -1
- package/components/ix-kpi.js +3 -3
- package/components/ix-link-button.js +3 -3
- package/components/ix-map-navigation.js +2 -2
- package/components/ix-menu-about-item.js +1 -1
- package/components/ix-menu-about-news.js +4 -4
- package/components/ix-menu-about.js +1 -1
- package/components/ix-menu-avatar.js +2 -2
- package/components/ix-menu-category.js +5 -5
- package/components/ix-menu-settings-item.js +1 -1
- package/components/ix-menu.js +11 -11
- package/components/ix-message-bar.js +1 -1
- package/components/ix-modal-example.js +1 -1
- package/components/ix-modal-footer.js +1 -1
- package/components/ix-modal-loading.js +1 -1
- package/components/ix-modal.js +3 -3
- package/components/ix-pagination.js +16 -34
- package/components/ix-pagination.js.map +1 -1
- package/components/ix-pane-layout.js +1 -1
- package/components/ix-pane.js +6 -6
- package/components/ix-pill.js +4 -4
- package/components/ix-playground-internal.js +1 -1
- package/components/ix-playground-internal.js.map +1 -1
- package/components/ix-push-card.js +1 -1
- package/components/ix-slider.js +6 -6
- package/components/ix-split-button-item.js +1 -1
- package/components/ix-split-button.js +1 -1
- package/components/ix-tile.js +4 -4
- package/components/ix-toast-container.js +2 -2
- package/components/ix-toggle-button.js +2 -2
- package/components/ix-toggle.js +5 -43
- package/components/ix-toggle.js.map +1 -1
- package/components/ix-tree.js +1 -1
- package/components/ix-upload.js +3 -3
- 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/layout-grid.js +2 -2
- package/components/make-ref.js +0 -5
- package/components/make-ref.js.map +1 -1
- package/components/map-navigation-overlay.js +2 -2
- package/components/menu-avatar-item.js +1 -1
- package/components/menu-expand-icon.js +1 -1
- package/components/menu-item.js +3 -3
- package/components/menu-tabs-fc.js +1 -1
- package/components/modal-content.js +1 -1
- package/components/modal-header.js +1 -1
- package/components/row.js +1 -1
- package/components/select-item.js +1 -1
- package/components/select.js +71 -167
- package/components/select.js.map +1 -1
- package/components/service.js +2 -2
- package/components/service.js.map +1 -1
- package/components/spinner.js +1 -1
- package/components/tab-item.js +3 -3
- package/components/tab-item.js.map +1 -1
- package/components/tabs.js +2 -2
- package/components/time-picker.js +4 -4
- package/components/time-picker.js.map +1 -1
- package/components/toast.js +2 -2
- package/components/tooltip.js +2 -2
- package/components/tree-item.js +4 -4
- package/dist/cjs/{a11y-32046b56.js → a11y-d3ce56d1.js} +3 -4
- package/dist/cjs/a11y-d3ce56d1.js.map +1 -0
- package/dist/cjs/{base-button-16d4fadf.js → base-button-3735b8c2.js} +2 -2
- package/dist/cjs/{base-button-16d4fadf.js.map → base-button-3735b8c2.js.map} +1 -1
- package/dist/cjs/{base-icon-button-aba2ddbf.js → base-icon-button-44c72bc8.js} +3 -3
- package/dist/cjs/{base-icon-button-aba2ddbf.js.map → base-icon-button-44c72bc8.js.map} +1 -1
- package/dist/cjs/{index-0f6297c8.js → index-529f21c1.js} +156 -78
- package/dist/cjs/index-529f21c1.js.map +1 -0
- package/dist/cjs/index.cjs.js +0 -16
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/ix-action-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +5 -5
- package/dist/cjs/ix-application-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/ix-application-switch-modal.cjs.entry.js +2 -2
- package/dist/cjs/ix-application.cjs.entry.js +5 -5
- package/dist/cjs/ix-avatar_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +4 -4
- package/dist/cjs/ix-blind.cjs.entry.js +2 -2
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +3 -3
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +4 -4
- package/dist/cjs/ix-button.cjs.entry.js +2 -2
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-card-list.cjs.entry.js +5 -5
- package/dist/cjs/ix-card_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-category-filter.cjs.entry.js +6 -6
- package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-chip.cjs.entry.js +5 -5
- package/dist/cjs/ix-col_4.cjs.entry.js +9 -9
- package/dist/cjs/ix-content-header.cjs.entry.js +1 -1
- package/dist/cjs/ix-content.cjs.entry.js +4 -4
- package/dist/cjs/ix-css-grid-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-css-grid.cjs.entry.js +1 -1
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +2 -2
- package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
- package/dist/cjs/ix-divider.cjs.entry.js +2 -2
- package/dist/cjs/ix-drawer.cjs.entry.js +3 -3
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-dropdown-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +2 -2
- package/dist/cjs/ix-dropdown.cjs.entry.js +160 -21
- package/dist/cjs/ix-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ix-event-list-item.cjs.entry.js +6 -6
- package/dist/cjs/ix-event-list.cjs.entry.js +3 -3
- package/dist/cjs/ix-expanding-search.cjs.entry.js +5 -5
- package/dist/cjs/ix-filter-chip_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-flip-tile-content.cjs.entry.js +2 -2
- package/dist/cjs/ix-flip-tile.cjs.entry.js +5 -5
- package/dist/cjs/ix-form-field.cjs.entry.js +28 -0
- package/dist/cjs/ix-form-field.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-group-context-menu_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-group.cjs.entry.js +9 -9
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +6 -6
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +5 -5
- package/dist/cjs/ix-input-group.cjs.entry.js +2 -2
- package/dist/cjs/ix-key-value-list.cjs.entry.js +2 -2
- package/dist/cjs/ix-key-value.cjs.entry.js +2 -2
- package/dist/cjs/ix-kpi.cjs.entry.js +4 -4
- package/dist/cjs/ix-link-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-map-navigation-overlay.cjs.entry.js +3 -3
- package/dist/cjs/ix-map-navigation.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-about-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-about-news.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-about.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-avatar.cjs.entry.js +3 -3
- package/dist/cjs/ix-menu-category.cjs.entry.js +6 -6
- package/dist/cjs/ix-menu-expand-icon.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-item.cjs.entry.js +5 -5
- package/dist/cjs/ix-menu-settings-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu-settings.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu.cjs.entry.js +13 -13
- package/dist/cjs/ix-message-bar.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-content_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-modal-example.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-footer.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal-loading.cjs.entry.js +2 -2
- package/dist/cjs/ix-modal.cjs.entry.js +6 -6
- package/dist/cjs/ix-pagination.cjs.entry.js +5 -5
- package/dist/cjs/ix-pane-layout.cjs.entry.js +3 -3
- package/dist/cjs/ix-pane.cjs.entry.js +8 -8
- package/dist/cjs/ix-pill.cjs.entry.js +5 -5
- package/dist/cjs/ix-playground-internal.cjs.entry.js +2 -2
- package/dist/cjs/ix-playground-internal.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
- package/dist/cjs/ix-select.cjs.entry.js +59 -121
- package/dist/cjs/ix-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-slider.cjs.entry.js +9 -9
- package/dist/cjs/ix-split-button-item.cjs.entry.js +3 -3
- package/dist/cjs/ix-split-button.cjs.entry.js +2 -2
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +6 -6
- package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-tile.cjs.entry.js +5 -5
- package/dist/cjs/ix-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toast-container.cjs.entry.js +3 -3
- package/dist/cjs/ix-toast.cjs.entry.js +3 -3
- package/dist/cjs/ix-toggle-button.cjs.entry.js +5 -5
- package/dist/cjs/ix-toggle.cjs.entry.js +5 -42
- package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/{ix-field-label_3.cjs.entry.js → ix-tooltip.cjs.entry.js} +5 -146
- package/dist/cjs/ix-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-tree-item.cjs.entry.js +5 -5
- package/dist/cjs/ix-tree.cjs.entry.js +2 -2
- package/dist/cjs/ix-typography.cjs.entry.js +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +4 -4
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/ix-workflow-step.cjs.entry.js +4 -4
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +2 -2
- package/dist/cjs/{listener-0881dc51.js → listener-bc3e7c0c.js} +2 -2
- package/dist/cjs/{listener-0881dc51.js.map → listener-bc3e7c0c.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{make-ref-01530e5a.js → make-ref-c25629b7.js} +1 -6
- package/dist/cjs/make-ref-c25629b7.js.map +1 -0
- package/dist/cjs/{menu-tabs-fc-f6b706e3.js → menu-tabs-fc-df53f176.js} +3 -3
- package/dist/cjs/{menu-tabs-fc-f6b706e3.js.map → menu-tabs-fc-df53f176.js.map} +1 -1
- package/dist/cjs/{service-a42add5f.js → service-39a8e5fe.js} +3 -3
- package/dist/cjs/service-39a8e5fe.js.map +1 -0
- package/dist/cjs/siemens-ix.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -13
- package/dist/collection/components/application/application.js +3 -3
- package/dist/collection/components/application-header/application-header.js +3 -3
- package/dist/collection/components/application-header/application-switch-modal/application-switch-modal.js +1 -1
- package/dist/collection/components/application-sidebar/application-sidebar.js +1 -1
- package/dist/collection/components/basic-navigation/basic-navigation.js +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/card-content/card-content.js +1 -1
- package/dist/collection/components/card-list/card-list.js +4 -4
- package/dist/collection/components/card-title/card-title.js +1 -1
- package/dist/collection/components/category-filter/category-filter.css +20 -120
- package/dist/collection/components/category-filter/category-filter.js +3 -3
- package/dist/collection/components/chip/chip.js +4 -4
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/css-grid/css-grid-item.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +4 -4
- package/dist/collection/components/date-time-card/date-time-card.js +7 -6
- package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.js +1 -1
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/drawer/drawer.js +2 -2
- package/dist/collection/components/dropdown/dropdown-controller.js +0 -3
- package/dist/collection/components/dropdown/dropdown-controller.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.js +8 -5
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.ct.js +28 -0
- package/dist/collection/components/dropdown-button/dropdown-button.ct.js.map +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.js +2 -2
- 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/filter-chip/filter-chip.js +1 -1
- package/dist/collection/components/flip-tile/flip-tile.js +4 -4
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -1
- package/dist/collection/components/{text-field/number-field.css → form-field/form-field.css} +9 -236
- package/dist/collection/components/form-field/form-field.js +56 -0
- package/dist/collection/components/form-field/form-field.js.map +1 -0
- package/dist/collection/components/grid/layout-grid.js +2 -2
- package/dist/collection/components/group/group-context-menu.js +1 -1
- package/dist/collection/components/group/group.js +8 -8
- package/dist/collection/components/group-item/group-item.js +2 -2
- 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-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/link-button/link-button.js +3 -3
- package/dist/collection/components/map-navigation/map-navigation.js +2 -2
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +2 -2
- package/dist/collection/components/menu/menu-expand-icon.js +1 -1
- package/dist/collection/components/menu/menu.js +11 -11
- package/dist/collection/components/menu-about/menu-about.js +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 +3 -3
- package/dist/collection/components/menu-settings/menu-settings.js +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 +2 -2
- 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/playground/example-modal.js +1 -1
- package/dist/collection/components/playground/playground.js +3 -3
- package/dist/collection/components/playground/playground.js.map +1 -1
- package/dist/collection/components/push-card/push-card.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/select/select.css +0 -52
- package/dist/collection/components/select/select.js +59 -387
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/test/select.ct.js +96 -82
- package/dist/collection/components/select/test/select.ct.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 +1 -1
- package/dist/collection/components/split-button-item/split-button-item.js +1 -1
- package/dist/collection/components/tab-item/tab-item.js +4 -4
- package/dist/collection/components/tab-item/tab-item.js.map +1 -1
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tile/tile.js +4 -4
- package/dist/collection/components/time-picker/time-picker.css +7 -80
- package/dist/collection/components/time-picker/time-picker.js +3 -3
- package/dist/collection/components/toast/toast-container.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/test/toggle.ct.js +1 -24
- package/dist/collection/components/toggle/test/toggle.ct.js.map +1 -1
- package/dist/collection/components/toggle/toggle.css +1 -132
- package/dist/collection/components/toggle/toggle.js +2 -157
- package/dist/collection/components/toggle/toggle.js.map +1 -1
- package/dist/collection/components/toggle-button/toggle-button.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +4 -4
- package/dist/collection/components/upload/upload.js +3 -3
- package/dist/collection/components/utils/a11y.js +2 -3
- package/dist/collection/components/utils/a11y.js.map +1 -1
- package/dist/collection/components/utils/application-layout/service.js +2 -2
- package/dist/collection/components/utils/application-layout/service.js.map +1 -1
- package/dist/collection/components/utils/make-ref.js +0 -5
- package/dist/collection/components/utils/make-ref.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/collection/index.js +0 -6
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/tests/utils/test/index.js +0 -11
- package/dist/collection/tests/utils/test/index.js.map +1 -1
- package/dist/esm/{a11y-13dedaef.js → a11y-d5444a76.js} +3 -4
- package/dist/esm/a11y-d5444a76.js.map +1 -0
- package/dist/esm/{base-button-ea06697f.js → base-button-1b40b11d.js} +2 -2
- package/dist/esm/{base-button-ea06697f.js.map → base-button-1b40b11d.js.map} +1 -1
- package/dist/esm/{base-icon-button-c64fdb50.js → base-icon-button-bc1dabe0.js} +3 -3
- package/dist/esm/{base-icon-button-c64fdb50.js.map → base-icon-button-bc1dabe0.js.map} +1 -1
- package/dist/esm/{index-9103b14c.js → index-5429f20b.js} +156 -78
- package/dist/esm/index-5429f20b.js.map +1 -0
- package/dist/esm/index.js +1 -16
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/ix-action-card.entry.js +1 -1
- package/dist/esm/ix-application-header.entry.js +5 -5
- package/dist/esm/ix-application-sidebar.entry.js +2 -2
- package/dist/esm/ix-application-switch-modal.entry.js +2 -2
- package/dist/esm/ix-application.entry.js +5 -5
- package/dist/esm/ix-avatar_2.entry.js +4 -4
- package/dist/esm/ix-basic-navigation.entry.js +4 -4
- package/dist/esm/ix-blind.entry.js +2 -2
- package/dist/esm/ix-breadcrumb-item.entry.js +3 -3
- package/dist/esm/ix-breadcrumb.entry.js +4 -4
- package/dist/esm/ix-button.entry.js +2 -2
- package/dist/esm/ix-card-accordion_2.entry.js +2 -2
- package/dist/esm/ix-card-list.entry.js +5 -5
- package/dist/esm/ix-card_2.entry.js +2 -2
- package/dist/esm/ix-category-filter.entry.js +6 -6
- package/dist/esm/ix-category-filter.entry.js.map +1 -1
- package/dist/esm/ix-chip.entry.js +5 -5
- package/dist/esm/ix-col_4.entry.js +9 -9
- package/dist/esm/ix-content-header.entry.js +1 -1
- package/dist/esm/ix-content.entry.js +4 -4
- package/dist/esm/ix-css-grid-item.entry.js +2 -2
- package/dist/esm/ix-css-grid.entry.js +1 -1
- package/dist/esm/ix-date-dropdown.entry.js +1 -1
- package/dist/esm/ix-date-time-card.entry.js +2 -2
- 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-divider.entry.js +2 -2
- package/dist/esm/ix-drawer.entry.js +3 -3
- package/dist/esm/ix-dropdown-button.entry.js +3 -3
- package/dist/esm/ix-dropdown-header.entry.js +2 -2
- package/dist/esm/ix-dropdown-item.entry.js +4 -4
- package/dist/esm/ix-dropdown-quick-actions.entry.js +2 -2
- package/dist/esm/ix-dropdown.entry.js +146 -7
- package/dist/esm/ix-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-empty-state.entry.js +2 -2
- package/dist/esm/ix-event-list-item.entry.js +6 -6
- package/dist/esm/ix-event-list.entry.js +3 -3
- package/dist/esm/ix-expanding-search.entry.js +5 -5
- package/dist/esm/ix-filter-chip_2.entry.js +3 -3
- package/dist/esm/ix-flip-tile-content.entry.js +2 -2
- package/dist/esm/ix-flip-tile.entry.js +5 -5
- package/dist/esm/ix-form-field.entry.js +24 -0
- package/dist/esm/ix-form-field.entry.js.map +1 -0
- package/dist/esm/ix-group-context-menu_2.entry.js +4 -4
- package/dist/esm/ix-group.entry.js +9 -9
- package/dist/esm/ix-icon-button_2.entry.js +6 -6
- package/dist/esm/ix-icon-toggle-button.entry.js +5 -5
- package/dist/esm/ix-input-group.entry.js +2 -2
- package/dist/esm/ix-key-value-list.entry.js +2 -2
- package/dist/esm/ix-key-value.entry.js +2 -2
- package/dist/esm/ix-kpi.entry.js +4 -4
- package/dist/esm/ix-link-button.entry.js +4 -4
- package/dist/esm/ix-map-navigation-overlay.entry.js +3 -3
- package/dist/esm/ix-map-navigation.entry.js +3 -3
- package/dist/esm/ix-menu-about-item.entry.js +2 -2
- package/dist/esm/ix-menu-about-news.entry.js +5 -5
- package/dist/esm/ix-menu-about.entry.js +3 -3
- package/dist/esm/ix-menu-avatar.entry.js +3 -3
- package/dist/esm/ix-menu-category.entry.js +6 -6
- package/dist/esm/ix-menu-expand-icon.entry.js +4 -4
- package/dist/esm/ix-menu-item.entry.js +5 -5
- package/dist/esm/ix-menu-settings-item.entry.js +2 -2
- package/dist/esm/ix-menu-settings.entry.js +2 -2
- package/dist/esm/ix-menu.entry.js +13 -13
- package/dist/esm/ix-message-bar.entry.js +2 -2
- package/dist/esm/ix-modal-content_2.entry.js +3 -3
- package/dist/esm/ix-modal-example.entry.js +2 -2
- package/dist/esm/ix-modal-footer.entry.js +2 -2
- package/dist/esm/ix-modal-loading.entry.js +2 -2
- package/dist/esm/ix-modal.entry.js +6 -6
- package/dist/esm/ix-pagination.entry.js +5 -5
- package/dist/esm/ix-pane-layout.entry.js +3 -3
- package/dist/esm/ix-pane.entry.js +8 -8
- package/dist/esm/ix-pill.entry.js +5 -5
- package/dist/esm/ix-playground-internal.entry.js +2 -2
- package/dist/esm/ix-playground-internal.entry.js.map +1 -1
- package/dist/esm/ix-push-card.entry.js +2 -2
- package/dist/esm/ix-select.entry.js +59 -121
- package/dist/esm/ix-select.entry.js.map +1 -1
- package/dist/esm/ix-slider.entry.js +9 -9
- package/dist/esm/ix-split-button-item.entry.js +3 -3
- package/dist/esm/ix-split-button.entry.js +2 -2
- package/dist/esm/ix-tab-item_2.entry.js +6 -6
- package/dist/esm/ix-tab-item_2.entry.js.map +1 -1
- package/dist/esm/ix-tile.entry.js +5 -5
- package/dist/esm/ix-time-picker.entry.js +5 -5
- package/dist/esm/ix-time-picker.entry.js.map +1 -1
- package/dist/esm/ix-toast-container.entry.js +3 -3
- package/dist/esm/ix-toast.entry.js +3 -3
- package/dist/esm/ix-toggle-button.entry.js +5 -5
- package/dist/esm/ix-toggle.entry.js +5 -42
- package/dist/esm/ix-toggle.entry.js.map +1 -1
- package/dist/esm/{ix-field-label_3.entry.js → ix-tooltip.entry.js} +6 -145
- package/dist/esm/ix-tooltip.entry.js.map +1 -0
- package/dist/esm/ix-tree-item.entry.js +5 -5
- package/dist/esm/ix-tree.entry.js +2 -2
- package/dist/esm/ix-typography.entry.js +1 -1
- package/dist/esm/ix-upload.entry.js +4 -4
- package/dist/esm/ix-validation-tooltip.entry.js +3 -3
- package/dist/esm/ix-workflow-step.entry.js +4 -4
- package/dist/esm/ix-workflow-steps.entry.js +2 -2
- package/dist/esm/{listener-98571ba8.js → listener-4f3baab5.js} +2 -2
- package/dist/esm/{listener-98571ba8.js.map → listener-4f3baab5.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{make-ref-6b3b4e16.js → make-ref-c80046bf.js} +1 -6
- package/dist/esm/make-ref-c80046bf.js.map +1 -0
- package/dist/esm/{menu-tabs-fc-7ec1fb5d.js → menu-tabs-fc-d9a7dd06.js} +3 -3
- package/dist/esm/{menu-tabs-fc-7ec1fb5d.js.map → menu-tabs-fc-d9a7dd06.js.map} +1 -1
- package/dist/esm/{service-02cc9011.js → service-c7fc628b.js} +3 -3
- package/dist/esm/service-c7fc628b.js.map +1 -0
- package/dist/esm/siemens-ix.js +3 -3
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/{p-9cc0d11b.entry.js → p-052340f9.entry.js} +2 -2
- package/dist/siemens-ix/{p-dde0af66.entry.js → p-0653a145.entry.js} +2 -2
- package/dist/siemens-ix/{p-ac05950c.entry.js → p-0b4e398e.entry.js} +2 -2
- package/dist/siemens-ix/{p-224ebf90.js → p-0c8a98cd.js} +2 -2
- package/dist/siemens-ix/p-0d2a6886.entry.js +2 -0
- package/dist/siemens-ix/{p-4b69ab0d.entry.js → p-0f7ef743.entry.js} +2 -2
- package/dist/siemens-ix/{p-6bd0ba14.entry.js → p-112069ca.entry.js} +2 -2
- package/dist/siemens-ix/p-112069ca.entry.js.map +1 -0
- package/dist/siemens-ix/{p-6ca97a73.entry.js → p-113cc793.entry.js} +2 -2
- package/dist/siemens-ix/{p-1f771917.entry.js → p-14a41c8c.entry.js} +2 -2
- package/dist/siemens-ix/{p-787293f4.entry.js → p-15b3c17e.entry.js} +2 -2
- package/dist/siemens-ix/p-16b923e9.entry.js +2 -0
- package/dist/siemens-ix/{p-3b38f812.entry.js → p-1a122c76.entry.js} +2 -2
- package/dist/siemens-ix/{p-83b8b502.entry.js → p-1cff59db.entry.js} +2 -2
- package/dist/siemens-ix/{p-ed991838.js → p-1d581190.js} +2 -2
- package/dist/siemens-ix/{p-37ca7ed4.js → p-1db6be55.js} +2 -2
- package/dist/siemens-ix/{p-1ec8d2b9.entry.js → p-1f4b8463.entry.js} +2 -2
- package/dist/siemens-ix/{p-846cf6d2.entry.js → p-24a8737a.entry.js} +2 -2
- package/dist/siemens-ix/{p-fad5daa1.entry.js → p-2908cacd.entry.js} +2 -2
- package/dist/siemens-ix/{p-80051a81.entry.js → p-2946fd70.entry.js} +2 -2
- package/dist/siemens-ix/{p-b973db5e.entry.js → p-29df2e29.entry.js} +2 -2
- package/dist/siemens-ix/{p-35690183.entry.js → p-2c4c03d4.entry.js} +2 -2
- package/dist/siemens-ix/p-2ebfd4fd.entry.js +2 -0
- package/dist/siemens-ix/{p-02ed5606.entry.js.map → p-2ebfd4fd.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-edd99767.entry.js → p-2ec7f841.entry.js} +2 -2
- package/dist/siemens-ix/{p-576b09c9.entry.js → p-309ac3ad.entry.js} +2 -2
- package/dist/siemens-ix/p-315f070d.entry.js +2 -0
- package/dist/siemens-ix/p-315f070d.entry.js.map +1 -0
- package/dist/siemens-ix/p-32375ddb.entry.js +2 -0
- package/dist/siemens-ix/p-32d4ed3b.entry.js +2 -0
- package/dist/siemens-ix/{p-cfcd2bd3.entry.js → p-427676f4.entry.js} +2 -2
- package/dist/siemens-ix/{p-b6c0dfb5.entry.js → p-4430117a.entry.js} +2 -2
- package/dist/siemens-ix/p-44db3646.entry.js +2 -0
- package/dist/siemens-ix/{p-5924a783.entry.js → p-453fa360.entry.js} +2 -2
- package/dist/siemens-ix/p-4b3facea.entry.js +2 -0
- package/dist/siemens-ix/p-4f8ac3bf.js +2 -0
- package/dist/siemens-ix/p-4f8ac3bf.js.map +1 -0
- package/dist/siemens-ix/p-52857629.entry.js +2 -0
- package/dist/siemens-ix/p-52857629.entry.js.map +1 -0
- package/dist/siemens-ix/{p-f0bbd496.entry.js → p-53352bfb.entry.js} +2 -2
- package/dist/siemens-ix/p-5696bb62.entry.js +2 -0
- package/dist/siemens-ix/p-5696bb62.entry.js.map +1 -0
- package/dist/siemens-ix/{p-9840f086.entry.js → p-5aa0b93c.entry.js} +2 -2
- package/dist/siemens-ix/{p-628c8612.entry.js → p-5c673ae9.entry.js} +2 -2
- package/dist/siemens-ix/{p-b5c4fd55.entry.js → p-5f25e7fd.entry.js} +2 -2
- package/dist/siemens-ix/{p-1df98c59.entry.js → p-60c16878.entry.js} +2 -2
- package/dist/siemens-ix/{p-0681f4d8.entry.js → p-6227e62b.entry.js} +2 -2
- package/dist/siemens-ix/p-64c3fa3d.js +2 -0
- package/dist/siemens-ix/p-64c3fa3d.js.map +1 -0
- package/dist/siemens-ix/p-68532fa2.js +2 -0
- package/dist/siemens-ix/{p-b0fe18f7.entry.js → p-68644ee1.entry.js} +2 -2
- package/dist/siemens-ix/{p-8a9fc2f0.entry.js → p-6af4415c.entry.js} +2 -2
- package/dist/siemens-ix/{p-8dcf30ce.entry.js → p-6fd7ecd0.entry.js} +2 -2
- package/dist/siemens-ix/{p-ec0806c3.entry.js → p-7076210b.entry.js} +2 -2
- package/dist/siemens-ix/{p-86b46723.entry.js → p-713828ed.entry.js} +2 -2
- package/dist/siemens-ix/{p-8e10d2f2.entry.js → p-7bfd6cd2.entry.js} +2 -2
- package/dist/siemens-ix/p-7faa148f.entry.js +2 -0
- package/dist/siemens-ix/p-85423643.entry.js +2 -0
- package/dist/siemens-ix/p-85423643.entry.js.map +1 -0
- package/dist/siemens-ix/{p-97f475db.entry.js → p-8629db91.entry.js} +2 -2
- package/dist/siemens-ix/p-87e692d9.entry.js +2 -0
- package/dist/siemens-ix/{p-18d15442.entry.js.map → p-87e692d9.entry.js.map} +1 -1
- package/dist/siemens-ix/p-882a0233.entry.js +2 -0
- package/dist/siemens-ix/{p-0d907964.entry.js.map → p-882a0233.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-75c61fbf.entry.js → p-8d0758c1.entry.js} +2 -2
- package/dist/siemens-ix/{p-3a5f7b61.entry.js → p-8d599677.entry.js} +2 -2
- package/dist/siemens-ix/{p-504f43d4.entry.js → p-90440046.entry.js} +2 -2
- package/dist/siemens-ix/{p-504f43d4.entry.js.map → p-90440046.entry.js.map} +1 -1
- package/dist/siemens-ix/p-92a18c10.entry.js +2 -0
- package/dist/siemens-ix/{p-06965e5f.entry.js → p-96a3a750.entry.js} +2 -2
- package/dist/siemens-ix/{p-921c59c4.entry.js → p-9ebc4fc3.entry.js} +2 -2
- package/dist/siemens-ix/{p-d7131f75.entry.js → p-a0138163.entry.js} +2 -2
- package/dist/siemens-ix/{p-3730ac72.entry.js → p-a0a44a2b.entry.js} +2 -2
- package/dist/siemens-ix/{p-3de71a19.entry.js → p-a8d291fa.entry.js} +2 -2
- package/dist/siemens-ix/{p-c6dcff7e.entry.js → p-af099ca4.entry.js} +2 -2
- package/dist/siemens-ix/p-b3b23af7.entry.js +2 -0
- package/dist/siemens-ix/{p-f37ac17d.entry.js → p-b4ce366d.entry.js} +2 -2
- package/dist/siemens-ix/{p-293dd6d1.entry.js → p-b663ca16.entry.js} +2 -2
- package/dist/siemens-ix/{p-9569e1a2.entry.js → p-b804b8c5.entry.js} +2 -2
- package/dist/siemens-ix/{p-b789e0e7.entry.js → p-bc2c74c5.entry.js} +2 -2
- package/dist/siemens-ix/{p-8d737a35.entry.js → p-bea7c748.entry.js} +2 -2
- package/dist/siemens-ix/{p-781a1922.entry.js → p-bf14c60b.entry.js} +2 -2
- package/dist/siemens-ix/p-c1222581.entry.js +2 -0
- package/dist/siemens-ix/{p-934ae9a0.entry.js → p-c1968b80.entry.js} +2 -2
- package/dist/siemens-ix/{p-e1bd7b4f.entry.js → p-c33cee36.entry.js} +2 -2
- package/dist/siemens-ix/{p-5eb935a3.entry.js → p-c45601cb.entry.js} +2 -2
- package/dist/siemens-ix/{p-815dd9a1.entry.js → p-c55db6c7.entry.js} +2 -2
- package/dist/siemens-ix/p-d03df401.entry.js +2 -0
- package/dist/siemens-ix/p-d03df401.entry.js.map +1 -0
- package/dist/siemens-ix/{p-87d7aaf9.entry.js → p-d14024d3.entry.js} +2 -2
- package/dist/siemens-ix/{p-2442ad01.entry.js → p-d1f49940.entry.js} +2 -2
- package/dist/siemens-ix/{p-61265df9.entry.js → p-d95cbd1f.entry.js} +2 -2
- package/dist/siemens-ix/{p-e72dfb3c.entry.js → p-d998415f.entry.js} +2 -2
- package/dist/siemens-ix/{p-628f031a.entry.js → p-dcb3e5be.entry.js} +2 -2
- package/dist/siemens-ix/{p-724b98ce.entry.js → p-dde7eb80.entry.js} +2 -2
- package/dist/siemens-ix/{p-ae7fdfa6.entry.js → p-e30ed20a.entry.js} +2 -2
- package/dist/siemens-ix/{p-15a5bc5a.entry.js → p-e8d3cf35.entry.js} +2 -2
- package/dist/siemens-ix/{p-aca94a5e.entry.js → p-e9a3f58a.entry.js} +2 -2
- package/dist/siemens-ix/p-eb6268a6.entry.js +2 -0
- package/dist/siemens-ix/{p-79c848ec.entry.js.map → p-eb6268a6.entry.js.map} +1 -1
- package/dist/siemens-ix/{p-b8ed7953.entry.js → p-ebb277f0.entry.js} +2 -2
- package/dist/siemens-ix/{p-e5218382.entry.js → p-f07110c6.entry.js} +2 -2
- package/dist/siemens-ix/{p-6c412b52.entry.js → p-f78246bd.entry.js} +2 -2
- package/dist/siemens-ix/p-f87cd962.js +3 -0
- package/dist/siemens-ix/p-f87cd962.js.map +1 -0
- package/dist/siemens-ix/{p-104097fb.entry.js → p-fb2b78f7.entry.js} +2 -2
- package/dist/siemens-ix/{p-aae05303.entry.js → p-fb47546b.entry.js} +2 -2
- package/dist/siemens-ix/p-fb4c79c6.entry.js +2 -0
- package/dist/siemens-ix/{p-702f9349.js → p-fbe017b7.js} +2 -2
- package/dist/siemens-ix/p-fbe017b7.js.map +1 -0
- package/dist/siemens-ix/{p-9ec92185.entry.js → p-fc5814df.entry.js} +2 -2
- package/dist/siemens-ix/{p-bd24bbde.entry.js → p-feac09bc.entry.js} +2 -2
- package/dist/siemens-ix/p-ff148103.entry.js +2 -0
- package/dist/siemens-ix/p-ff148103.entry.js.map +1 -0
- package/dist/siemens-ix/{p-35fa9e1a.entry.js → p-ff1ac5b3.entry.js} +2 -2
- package/dist/siemens-ix/siemens-ix-core.css +1 -1
- package/dist/siemens-ix/siemens-ix.css +7 -80
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/siemens-ix/siemens-ix.esm.js.map +1 -1
- package/dist/types/components/date-time-card/date-time-card.d.ts +1 -1
- package/dist/types/components/dropdown/dropdown-controller.d.ts +0 -1
- package/dist/types/components/form-field/form-field.d.ts +10 -0
- package/dist/types/components/select/select.d.ts +4 -84
- package/dist/types/components/tab-item/tab-item.d.ts +1 -1
- package/dist/types/components/toggle/toggle.d.ts +1 -29
- package/dist/types/components/utils/a11y.d.ts +5 -5
- package/dist/types/components.d.ts +30 -1714
- package/dist/types/index.d.ts +0 -1
- package/dist/types/tests/utils/test/index.d.ts +0 -3
- package/hydrate/index.js +516 -2584
- package/package.json +3 -3
- package/scss/components/form/_input.scss +6 -56
- package/components/field-label.js +0 -127
- package/components/field-label.js.map +0 -1
- package/components/field-wrapper.js +0 -97
- package/components/field-wrapper.js.map +0 -1
- package/components/helper-text-util.js +0 -48
- package/components/helper-text-util.js.map +0 -1
- package/components/ix-checkbox-group.d.ts +0 -11
- package/components/ix-checkbox-group.js +0 -105
- package/components/ix-checkbox-group.js.map +0 -1
- package/components/ix-checkbox.d.ts +0 -11
- package/components/ix-checkbox.js +0 -141
- package/components/ix-checkbox.js.map +0 -1
- package/components/ix-custom-field.d.ts +0 -11
- package/components/ix-custom-field.js +0 -116
- package/components/ix-custom-field.js.map +0 -1
- package/components/ix-date-field.d.ts +0 -11
- package/components/ix-date-field.js +0 -351
- package/components/ix-date-field.js.map +0 -1
- package/components/ix-field-label.d.ts +0 -11
- package/components/ix-field-label.js +0 -8
- package/components/ix-field-label.js.map +0 -1
- package/components/ix-field-wrapper.d.ts +0 -11
- package/components/ix-field-wrapper.js +0 -8
- package/components/ix-field-wrapper.js.map +0 -1
- package/components/ix-helper-text.d.ts +0 -11
- package/components/ix-helper-text.js +0 -97
- package/components/ix-helper-text.js.map +0 -1
- package/components/ix-layout-form.d.ts +0 -11
- package/components/ix-layout-form.js +0 -113
- package/components/ix-layout-form.js.map +0 -1
- package/components/ix-number-field.d.ts +0 -11
- package/components/ix-number-field.js +0 -217
- package/components/ix-number-field.js.map +0 -1
- package/components/ix-radio-group.d.ts +0 -11
- package/components/ix-radio-group.js +0 -169
- package/components/ix-radio-group.js.map +0 -1
- package/components/ix-radio.d.ts +0 -11
- package/components/ix-radio.js +0 -115
- package/components/ix-radio.js.map +0 -1
- package/components/ix-text-field.js +0 -223
- package/components/ix-text-field.js.map +0 -1
- package/components/ix-textarea-field.d.ts +0 -11
- package/components/ix-textarea-field.js +0 -177
- package/components/ix-textarea-field.js.map +0 -1
- package/components/text-field.util.js +0 -167
- package/components/text-field.util.js.map +0 -1
- package/components/validation.js +0 -112
- package/components/validation.js.map +0 -1
- package/dist/cjs/a11y-32046b56.js.map +0 -1
- package/dist/cjs/dropdown-controller-403dc7fa.js +0 -147
- package/dist/cjs/dropdown-controller-403dc7fa.js.map +0 -1
- package/dist/cjs/helper-text-util-9f617ef2.js +0 -40
- package/dist/cjs/helper-text-util-9f617ef2.js.map +0 -1
- package/dist/cjs/index-0f6297c8.js.map +0 -1
- package/dist/cjs/index-762a29a3.js +0 -24
- package/dist/cjs/index-762a29a3.js.map +0 -1
- package/dist/cjs/ix-checkbox-group.cjs.entry.js +0 -56
- package/dist/cjs/ix-checkbox-group.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-checkbox.cjs.entry.js +0 -114
- package/dist/cjs/ix-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-custom-field.cjs.entry.js +0 -65
- package/dist/cjs/ix-custom-field.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-date-field.cjs.entry.js +0 -255
- package/dist/cjs/ix-date-field.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-field-label_3.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-helper-text.cjs.entry.js +0 -70
- package/dist/cjs/ix-helper-text.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-layout-form.cjs.entry.js +0 -94
- package/dist/cjs/ix-layout-form.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-number-field.cjs.entry.js +0 -148
- package/dist/cjs/ix-number-field.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-radio-group.cjs.entry.js +0 -116
- package/dist/cjs/ix-radio-group.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-radio.cjs.entry.js +0 -96
- package/dist/cjs/ix-radio.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-text-field.cjs.entry.js +0 -151
- package/dist/cjs/ix-text-field.cjs.entry.js.map +0 -1
- package/dist/cjs/ix-textarea-field.cjs.entry.js +0 -118
- package/dist/cjs/ix-textarea-field.cjs.entry.js.map +0 -1
- package/dist/cjs/make-ref-01530e5a.js.map +0 -1
- package/dist/cjs/service-a42add5f.js.map +0 -1
- package/dist/cjs/text-field.util-d7c5c1cd.js +0 -179
- package/dist/cjs/text-field.util-d7c5c1cd.js.map +0 -1
- package/dist/cjs/validation-c5a41d68.js +0 -117
- package/dist/cjs/validation-c5a41d68.js.map +0 -1
- package/dist/collection/components/checkbox/checkbox.css +0 -437
- package/dist/collection/components/checkbox/checkbox.js +0 -323
- package/dist/collection/components/checkbox/checkbox.js.map +0 -1
- package/dist/collection/components/checkbox/tests/checkbox.ct.js +0 -52
- package/dist/collection/components/checkbox/tests/checkbox.ct.js.map +0 -1
- package/dist/collection/components/checkbox-group/checkbox-group.css +0 -35
- package/dist/collection/components/checkbox-group/checkbox-group.js +0 -173
- package/dist/collection/components/checkbox-group/checkbox-group.js.map +0 -1
- package/dist/collection/components/custom-field/custom-field.css +0 -11
- package/dist/collection/components/custom-field/custom-field.js +0 -216
- package/dist/collection/components/custom-field/custom-field.js.map +0 -1
- package/dist/collection/components/custom-field/tests/custom-field.ct.js +0 -68
- package/dist/collection/components/custom-field/tests/custom-field.ct.js.map +0 -1
- package/dist/collection/components/date-field/date-field.css +0 -938
- package/dist/collection/components/date-field/date-field.js +0 -696
- package/dist/collection/components/date-field/date-field.js.map +0 -1
- package/dist/collection/components/date-field/tests/date-field.ct.js +0 -114
- package/dist/collection/components/date-field/tests/date-field.ct.js.map +0 -1
- package/dist/collection/components/field-label/field-label.css +0 -14
- package/dist/collection/components/field-label/field-label.js +0 -173
- package/dist/collection/components/field-label/field-label.js.map +0 -1
- package/dist/collection/components/field-label/tests/field-label.ct.js +0 -70
- package/dist/collection/components/field-label/tests/field-label.ct.js.map +0 -1
- package/dist/collection/components/field-wrapper/field-wrapper.css +0 -71
- package/dist/collection/components/field-wrapper/field-wrapper.js +0 -309
- package/dist/collection/components/field-wrapper/field-wrapper.js.map +0 -1
- package/dist/collection/components/field-wrapper/helper-text-util.js +0 -26
- package/dist/collection/components/field-wrapper/helper-text-util.js.map +0 -1
- package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js +0 -63
- package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js.map +0 -1
- package/dist/collection/components/helper-text/helper-text.css +0 -34
- package/dist/collection/components/helper-text/helper-text.js +0 -179
- package/dist/collection/components/helper-text/helper-text.js.map +0 -1
- package/dist/collection/components/layout-form/layout-form.css +0 -15
- package/dist/collection/components/layout-form/layout-form.js +0 -126
- package/dist/collection/components/layout-form/layout-form.js.map +0 -1
- package/dist/collection/components/radio/radio.css +0 -428
- package/dist/collection/components/radio/radio.js +0 -276
- package/dist/collection/components/radio/radio.js.map +0 -1
- package/dist/collection/components/radio/test/radio.ct.js +0 -36
- package/dist/collection/components/radio/test/radio.ct.js.map +0 -1
- package/dist/collection/components/radio-group/radio-group.css +0 -35
- package/dist/collection/components/radio-group/radio-group.js +0 -296
- package/dist/collection/components/radio-group/radio-group.js.map +0 -1
- package/dist/collection/components/radio-group/test/radio-group.ct.js +0 -99
- package/dist/collection/components/radio-group/test/radio-group.ct.js.map +0 -1
- package/dist/collection/components/text-field/input.fc.js +0 -38
- package/dist/collection/components/text-field/input.fc.js.map +0 -1
- package/dist/collection/components/text-field/number-field.js +0 -586
- package/dist/collection/components/text-field/number-field.js.map +0 -1
- package/dist/collection/components/text-field/tests/form-ready.ct.js +0 -63
- package/dist/collection/components/text-field/tests/form-ready.ct.js.map +0 -1
- package/dist/collection/components/text-field/text-field.animation.js +0 -36
- package/dist/collection/components/text-field/text-field.animation.js.map +0 -1
- package/dist/collection/components/text-field/text-field.css +0 -899
- package/dist/collection/components/text-field/text-field.js +0 -594
- package/dist/collection/components/text-field/text-field.js.map +0 -1
- package/dist/collection/components/text-field/text-field.util.js +0 -93
- package/dist/collection/components/text-field/text-field.util.js.map +0 -1
- package/dist/collection/components/text-field/textarea-field.css +0 -550
- package/dist/collection/components/text-field/textarea-field.js +0 -595
- package/dist/collection/components/text-field/textarea-field.js.map +0 -1
- package/dist/collection/components/utils/attributes.js +0 -25
- package/dist/collection/components/utils/attributes.js.map +0 -1
- package/dist/collection/components/utils/field/index.js +0 -9
- package/dist/collection/components/utils/field/index.js.map +0 -1
- package/dist/collection/components/utils/field/validation.js +0 -108
- package/dist/collection/components/utils/field/validation.js.map +0 -1
- package/dist/collection/components/utils/testing/index.js +0 -9
- package/dist/collection/components/utils/testing/index.js.map +0 -1
- package/dist/collection/components/utils/uuid.js +0 -16
- package/dist/collection/components/utils/uuid.js.map +0 -1
- package/dist/collection/tests/form-fields/form-fields.e2e.js +0 -57
- package/dist/collection/tests/form-fields/form-fields.e2e.js.map +0 -1
- package/dist/esm/a11y-13dedaef.js.map +0 -1
- package/dist/esm/dropdown-controller-d6d8b14a.js +0 -143
- package/dist/esm/dropdown-controller-d6d8b14a.js.map +0 -1
- package/dist/esm/helper-text-util-3dd33b44.js +0 -38
- package/dist/esm/helper-text-util-3dd33b44.js.map +0 -1
- package/dist/esm/index-9103b14c.js.map +0 -1
- package/dist/esm/index-f51bf247.js +0 -14
- package/dist/esm/index-f51bf247.js.map +0 -1
- package/dist/esm/ix-checkbox-group.entry.js +0 -52
- package/dist/esm/ix-checkbox-group.entry.js.map +0 -1
- package/dist/esm/ix-checkbox.entry.js +0 -110
- package/dist/esm/ix-checkbox.entry.js.map +0 -1
- package/dist/esm/ix-custom-field.entry.js +0 -61
- package/dist/esm/ix-custom-field.entry.js.map +0 -1
- package/dist/esm/ix-date-field.entry.js +0 -251
- package/dist/esm/ix-date-field.entry.js.map +0 -1
- package/dist/esm/ix-field-label_3.entry.js.map +0 -1
- package/dist/esm/ix-helper-text.entry.js +0 -66
- package/dist/esm/ix-helper-text.entry.js.map +0 -1
- package/dist/esm/ix-layout-form.entry.js +0 -90
- package/dist/esm/ix-layout-form.entry.js.map +0 -1
- package/dist/esm/ix-number-field.entry.js +0 -144
- package/dist/esm/ix-number-field.entry.js.map +0 -1
- package/dist/esm/ix-radio-group.entry.js +0 -112
- package/dist/esm/ix-radio-group.entry.js.map +0 -1
- package/dist/esm/ix-radio.entry.js +0 -92
- package/dist/esm/ix-radio.entry.js.map +0 -1
- package/dist/esm/ix-text-field.entry.js +0 -147
- package/dist/esm/ix-text-field.entry.js.map +0 -1
- package/dist/esm/ix-textarea-field.entry.js +0 -114
- package/dist/esm/ix-textarea-field.entry.js.map +0 -1
- package/dist/esm/make-ref-6b3b4e16.js.map +0 -1
- package/dist/esm/service-02cc9011.js.map +0 -1
- package/dist/esm/text-field.util-6a84bffd.js +0 -167
- package/dist/esm/text-field.util-6a84bffd.js.map +0 -1
- package/dist/esm/validation-9db7dfa3.js +0 -112
- package/dist/esm/validation-9db7dfa3.js.map +0 -1
- package/dist/siemens-ix/p-02ed5606.entry.js +0 -2
- package/dist/siemens-ix/p-08215ad3.entry.js +0 -2
- package/dist/siemens-ix/p-08215ad3.entry.js.map +0 -1
- package/dist/siemens-ix/p-0bed10af.entry.js +0 -2
- package/dist/siemens-ix/p-0d907964.entry.js +0 -2
- package/dist/siemens-ix/p-0dfc3b80.entry.js +0 -2
- package/dist/siemens-ix/p-18d15442.entry.js +0 -2
- package/dist/siemens-ix/p-277980fa.entry.js +0 -2
- package/dist/siemens-ix/p-277980fa.entry.js.map +0 -1
- package/dist/siemens-ix/p-36c0f378.js +0 -2
- package/dist/siemens-ix/p-36c0f378.js.map +0 -1
- package/dist/siemens-ix/p-3782e028.js +0 -2
- package/dist/siemens-ix/p-3782e028.js.map +0 -1
- package/dist/siemens-ix/p-399bb0ce.entry.js +0 -2
- package/dist/siemens-ix/p-4017727a.entry.js +0 -2
- package/dist/siemens-ix/p-4017727a.entry.js.map +0 -1
- package/dist/siemens-ix/p-42c66a44.js +0 -2
- package/dist/siemens-ix/p-42c66a44.js.map +0 -1
- package/dist/siemens-ix/p-4a335b55.entry.js +0 -2
- package/dist/siemens-ix/p-4a335b55.entry.js.map +0 -1
- package/dist/siemens-ix/p-50cae62d.entry.js +0 -2
- package/dist/siemens-ix/p-53e62b51.entry.js +0 -2
- package/dist/siemens-ix/p-56d01130.entry.js +0 -2
- package/dist/siemens-ix/p-56d01130.entry.js.map +0 -1
- package/dist/siemens-ix/p-5a6d8b69.entry.js +0 -2
- package/dist/siemens-ix/p-5a6d8b69.entry.js.map +0 -1
- package/dist/siemens-ix/p-5bf40a9f.entry.js +0 -2
- package/dist/siemens-ix/p-6bd0ba14.entry.js.map +0 -1
- package/dist/siemens-ix/p-6f83793b.entry.js +0 -2
- package/dist/siemens-ix/p-6f83793b.entry.js.map +0 -1
- package/dist/siemens-ix/p-702f9349.js.map +0 -1
- package/dist/siemens-ix/p-70a7bd22.entry.js +0 -2
- package/dist/siemens-ix/p-70a7bd22.entry.js.map +0 -1
- package/dist/siemens-ix/p-73e0eb40.entry.js +0 -2
- package/dist/siemens-ix/p-73e0eb40.entry.js.map +0 -1
- package/dist/siemens-ix/p-79c848ec.entry.js +0 -2
- package/dist/siemens-ix/p-7f4b78e5.js +0 -2
- package/dist/siemens-ix/p-7f4b78e5.js.map +0 -1
- package/dist/siemens-ix/p-9010831e.entry.js +0 -2
- package/dist/siemens-ix/p-9010831e.entry.js.map +0 -1
- package/dist/siemens-ix/p-a9b0c087.entry.js +0 -2
- package/dist/siemens-ix/p-ac6c6d3f.entry.js +0 -2
- package/dist/siemens-ix/p-ac6c6d3f.entry.js.map +0 -1
- package/dist/siemens-ix/p-b9b59a08.entry.js +0 -2
- package/dist/siemens-ix/p-b9b59a08.entry.js.map +0 -1
- package/dist/siemens-ix/p-bc1e92ac.js +0 -2
- package/dist/siemens-ix/p-c3db120e.entry.js +0 -2
- package/dist/siemens-ix/p-c66e4a5f.entry.js +0 -2
- package/dist/siemens-ix/p-c71d1690.entry.js +0 -2
- package/dist/siemens-ix/p-c71d1690.entry.js.map +0 -1
- package/dist/siemens-ix/p-cce7a3d5.js +0 -2
- package/dist/siemens-ix/p-cce7a3d5.js.map +0 -1
- package/dist/siemens-ix/p-ce8a0611.entry.js +0 -2
- package/dist/siemens-ix/p-ce8a0611.entry.js.map +0 -1
- package/dist/siemens-ix/p-cf65d3b6.entry.js +0 -2
- package/dist/siemens-ix/p-cf65d3b6.entry.js.map +0 -1
- package/dist/siemens-ix/p-da8517ed.js +0 -2
- package/dist/siemens-ix/p-da8517ed.js.map +0 -1
- package/dist/siemens-ix/p-dead9c8e.js +0 -2
- package/dist/siemens-ix/p-dead9c8e.js.map +0 -1
- package/dist/siemens-ix/p-ef6171a2.entry.js +0 -2
- package/dist/siemens-ix/p-f22e4bb2.entry.js +0 -2
- package/dist/siemens-ix/p-f22e4bb2.entry.js.map +0 -1
- package/dist/siemens-ix/p-f3c3366d.entry.js +0 -2
- package/dist/siemens-ix/p-f86a894a.js +0 -3
- package/dist/siemens-ix/p-f86a894a.js.map +0 -1
- package/dist/types/components/checkbox/checkbox.d.ts +0 -61
- package/dist/types/components/checkbox/tests/checkbox.ct.d.ts +0 -1
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +0 -40
- package/dist/types/components/custom-field/custom-field.d.ts +0 -46
- package/dist/types/components/custom-field/tests/custom-field.ct.d.ts +0 -1
- package/dist/types/components/date-field/date-field.d.ts +0 -127
- package/dist/types/components/date-field/tests/date-field.ct.d.ts +0 -1
- package/dist/types/components/field-label/field-label.d.ts +0 -27
- package/dist/types/components/field-label/tests/field-label.ct.d.ts +0 -1
- package/dist/types/components/field-wrapper/field-wrapper.d.ts +0 -64
- package/dist/types/components/field-wrapper/helper-text-util.d.ts +0 -11
- package/dist/types/components/field-wrapper/tests/field-wrapper.ct.d.ts +0 -1
- package/dist/types/components/helper-text/helper-text.d.ts +0 -37
- package/dist/types/components/layout-form/layout-form.d.ts +0 -22
- package/dist/types/components/radio/radio.d.ts +0 -53
- package/dist/types/components/radio/test/radio.ct.d.ts +0 -1
- package/dist/types/components/radio-group/radio-group.d.ts +0 -60
- package/dist/types/components/radio-group/test/radio-group.ct.d.ts +0 -1
- package/dist/types/components/text-field/input.fc.d.ts +0 -50
- package/dist/types/components/text-field/number-field.d.ts +0 -117
- package/dist/types/components/text-field/tests/form-ready.ct.d.ts +0 -1
- package/dist/types/components/text-field/text-field.animation.d.ts +0 -1
- package/dist/types/components/text-field/text-field.d.ts +0 -119
- package/dist/types/components/text-field/text-field.util.d.ts +0 -13
- package/dist/types/components/text-field/textarea-field.d.ts +0 -127
- package/dist/types/components/utils/attributes.d.ts +0 -2
- package/dist/types/components/utils/field/index.d.ts +0 -60
- package/dist/types/components/utils/field/validation.d.ts +0 -15
- package/dist/types/components/utils/testing/index.d.ts +0 -0
- package/dist/types/components/utils/uuid.d.ts +0 -1
- package/scss/mixins/_field.scss +0 -18
- package/scss/mixins/validation/_form-component.scss +0 -63
- /package/dist/siemens-ix/{p-9cc0d11b.entry.js.map → p-052340f9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-dde0af66.entry.js.map → p-0653a145.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ac05950c.entry.js.map → p-0b4e398e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-224ebf90.js.map → p-0c8a98cd.js.map} +0 -0
- /package/dist/siemens-ix/{p-ef6171a2.entry.js.map → p-0d2a6886.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4b69ab0d.entry.js.map → p-0f7ef743.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6ca97a73.entry.js.map → p-113cc793.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1f771917.entry.js.map → p-14a41c8c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-787293f4.entry.js.map → p-15b3c17e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c3db120e.entry.js.map → p-16b923e9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3b38f812.entry.js.map → p-1a122c76.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-83b8b502.entry.js.map → p-1cff59db.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ed991838.js.map → p-1d581190.js.map} +0 -0
- /package/dist/siemens-ix/{p-37ca7ed4.js.map → p-1db6be55.js.map} +0 -0
- /package/dist/siemens-ix/{p-1ec8d2b9.entry.js.map → p-1f4b8463.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-846cf6d2.entry.js.map → p-24a8737a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fad5daa1.entry.js.map → p-2908cacd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-80051a81.entry.js.map → p-2946fd70.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b973db5e.entry.js.map → p-29df2e29.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-35690183.entry.js.map → p-2c4c03d4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-edd99767.entry.js.map → p-2ec7f841.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-576b09c9.entry.js.map → p-309ac3ad.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-50cae62d.entry.js.map → p-32375ddb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a9b0c087.entry.js.map → p-32d4ed3b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cfcd2bd3.entry.js.map → p-427676f4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b6c0dfb5.entry.js.map → p-4430117a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0dfc3b80.entry.js.map → p-44db3646.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5924a783.entry.js.map → p-453fa360.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-399bb0ce.entry.js.map → p-4b3facea.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f0bbd496.entry.js.map → p-53352bfb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9840f086.entry.js.map → p-5aa0b93c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-628c8612.entry.js.map → p-5c673ae9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b5c4fd55.entry.js.map → p-5f25e7fd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1df98c59.entry.js.map → p-60c16878.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0681f4d8.entry.js.map → p-6227e62b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-bc1e92ac.js.map → p-68532fa2.js.map} +0 -0
- /package/dist/siemens-ix/{p-b0fe18f7.entry.js.map → p-68644ee1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8a9fc2f0.entry.js.map → p-6af4415c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8dcf30ce.entry.js.map → p-6fd7ecd0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ec0806c3.entry.js.map → p-7076210b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-86b46723.entry.js.map → p-713828ed.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8e10d2f2.entry.js.map → p-7bfd6cd2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5bf40a9f.entry.js.map → p-7faa148f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-97f475db.entry.js.map → p-8629db91.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-75c61fbf.entry.js.map → p-8d0758c1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3a5f7b61.entry.js.map → p-8d599677.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f3c3366d.entry.js.map → p-92a18c10.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-06965e5f.entry.js.map → p-96a3a750.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-921c59c4.entry.js.map → p-9ebc4fc3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d7131f75.entry.js.map → p-a0138163.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3730ac72.entry.js.map → p-a0a44a2b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3de71a19.entry.js.map → p-a8d291fa.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c6dcff7e.entry.js.map → p-af099ca4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0bed10af.entry.js.map → p-b3b23af7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f37ac17d.entry.js.map → p-b4ce366d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-293dd6d1.entry.js.map → p-b663ca16.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9569e1a2.entry.js.map → p-b804b8c5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b789e0e7.entry.js.map → p-bc2c74c5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8d737a35.entry.js.map → p-bea7c748.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-781a1922.entry.js.map → p-bf14c60b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c66e4a5f.entry.js.map → p-c1222581.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-934ae9a0.entry.js.map → p-c1968b80.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e1bd7b4f.entry.js.map → p-c33cee36.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5eb935a3.entry.js.map → p-c45601cb.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-815dd9a1.entry.js.map → p-c55db6c7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-87d7aaf9.entry.js.map → p-d14024d3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2442ad01.entry.js.map → p-d1f49940.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-61265df9.entry.js.map → p-d95cbd1f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e72dfb3c.entry.js.map → p-d998415f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-628f031a.entry.js.map → p-dcb3e5be.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-724b98ce.entry.js.map → p-dde7eb80.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ae7fdfa6.entry.js.map → p-e30ed20a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-15a5bc5a.entry.js.map → p-e8d3cf35.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-aca94a5e.entry.js.map → p-e9a3f58a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b8ed7953.entry.js.map → p-ebb277f0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e5218382.entry.js.map → p-f07110c6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6c412b52.entry.js.map → p-f78246bd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-104097fb.entry.js.map → p-fb2b78f7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-aae05303.entry.js.map → p-fb47546b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-53e62b51.entry.js.map → p-fb4c79c6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9ec92185.entry.js.map → p-fc5814df.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-bd24bbde.entry.js.map → p-feac09bc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-35fa9e1a.entry.js.map → p-ff1ac5b3.entry.js.map} +0 -0
|
@@ -2,148 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const a11y = require('./a11y-32046b56.js');
|
|
7
|
-
const makeRef = require('./make-ref-01530e5a.js');
|
|
8
|
-
const helperTextUtil = require('./helper-text-util-9f617ef2.js');
|
|
5
|
+
const index = require('./index-529f21c1.js');
|
|
9
6
|
const floatingUi_dom_esm = require('./floating-ui.dom.esm-94b4d17c.js');
|
|
10
|
-
const listener = require('./listener-
|
|
11
|
-
require('./index-762a29a3.js');
|
|
12
|
-
|
|
13
|
-
function isIxInputFieldComponent(obj) {
|
|
14
|
-
return (obj &&
|
|
15
|
-
'getAssociatedFormElement' in obj &&
|
|
16
|
-
typeof obj.getAssociatedFormElement === 'function' &&
|
|
17
|
-
'getNativeInputElement' in obj &&
|
|
18
|
-
typeof obj.getNativeInputElement === 'function');
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
const fieldLabelCss = ":host{display:inline-block;position:relative;margin-top:0.5rem;margin-bottom:0.25rem}";
|
|
22
|
-
const IxFieldLabelStyle0 = fieldLabelCss;
|
|
23
|
-
|
|
24
|
-
const FormFieldLabel = class {
|
|
25
|
-
constructor(hostRef) {
|
|
26
|
-
index.registerInstance(this, hostRef);
|
|
27
|
-
this.observer = new MutationObserver(() => this.checkForRequired());
|
|
28
|
-
this.a11yAttributes = {};
|
|
29
|
-
this.labelRef = makeRef.makeRef();
|
|
30
|
-
this.required = undefined;
|
|
31
|
-
this.htmlFor = undefined;
|
|
32
|
-
this.controlRef = undefined;
|
|
33
|
-
}
|
|
34
|
-
connectedCallback() {
|
|
35
|
-
this.registerObserver();
|
|
36
|
-
}
|
|
37
|
-
disconnectedCallback() {
|
|
38
|
-
this.destroyObserver();
|
|
39
|
-
}
|
|
40
|
-
componentWillRender() {
|
|
41
|
-
this.checkForRequired();
|
|
42
|
-
}
|
|
43
|
-
componentWillLoad() {
|
|
44
|
-
this.a11yAttributes = a11y.a11yHostAttributes(this.hostElement);
|
|
45
|
-
}
|
|
46
|
-
destroyObserver() {
|
|
47
|
-
if (this.observer) {
|
|
48
|
-
this.observer.disconnect();
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
registerObserver() {
|
|
52
|
-
if (typeof window === 'undefined') {
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
this.destroyObserver();
|
|
56
|
-
if (!this.htmlFor) {
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
this.observer.observe(window.document, {
|
|
60
|
-
childList: true,
|
|
61
|
-
subtree: true,
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
async checkForRequired() {
|
|
65
|
-
if (this.htmlFor) {
|
|
66
|
-
const forElement = document.getElementById(this.htmlFor);
|
|
67
|
-
if (forElement && typeof forElement.required === 'boolean') {
|
|
68
|
-
this.required = forElement.required;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
if (this.controlRef) {
|
|
72
|
-
const input = await this.controlRef.waitForCurrent();
|
|
73
|
-
this.required = input.required;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
async focusOnClick() {
|
|
77
|
-
if (this.htmlFor) {
|
|
78
|
-
const target = document.getElementById(this.htmlFor);
|
|
79
|
-
if (target) {
|
|
80
|
-
let input = null;
|
|
81
|
-
if (isIxInputFieldComponent(target)) {
|
|
82
|
-
input = await target.getNativeInputElement();
|
|
83
|
-
}
|
|
84
|
-
else {
|
|
85
|
-
input = target;
|
|
86
|
-
}
|
|
87
|
-
if (typeof input.focus === 'function') {
|
|
88
|
-
input.focus();
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
if (this.controlRef) {
|
|
93
|
-
(await this.controlRef.waitForCurrent()).focus();
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
render() {
|
|
97
|
-
return (index.h(index.Host, { key: '592ea81fa356fe38e4285116d8adea47b220dbd7', onClick: () => this.focusOnClick() }, index.h("label", Object.assign({ key: '2324be02438bc1807946b721a97c59b691d45db3', htmlFor: this.htmlFor }, this.a11yAttributes, { ref: this.labelRef }), index.h("ix-typography", { key: '3f4eeee6788394ee0afc92898f98284432213670', color: "soft", format: "label" }, index.h("slot", { key: '8a48ad5fe9ae212e0efb7cd9d507d5de3ef7ce99' }), this.required && index.h("span", { key: 'c387f27c7d1fef89f3ed5ecde0d113116a7b83fd' }, "\u00A0*")))));
|
|
98
|
-
}
|
|
99
|
-
get hostElement() { return index.getElement(this); }
|
|
100
|
-
static get watchers() { return {
|
|
101
|
-
"htmlFor": ["registerObserver"]
|
|
102
|
-
}; }
|
|
103
|
-
};
|
|
104
|
-
FormFieldLabel.style = IxFieldLabelStyle0;
|
|
105
|
-
|
|
106
|
-
const fieldWrapperCss = ":host{display:flex;position:relative;flex-direction:column}:host .slot-wrapper{display:flex;position:relative;align-items:center;justify-content:flex-start;gap:0.25rem}:host .field-bottom,:host .field-top{display:flex;flex-direction:row;position:relative;align-items:baseline;justify-content:space-between;gap:1rem;width:-moz-min-content;width:min-content;min-width:100%}:host .field-bottom .bottom-right{margin-left:auto;margin-right:0px}:host .bottom-text{display:flex;position:relative;align-items:flex-start;justify-content:flex-start;gap:0.25rem;margin-right:0.25rem}:host .text-icon{margin:0.125rem}:host .text-icon.invalid{color:var(--theme-helper-icon--color--invalid)}:host .text-icon.info{color:var(--theme-helper-icon--color--info)}:host .text-icon.warning{color:var(--theme-helper-icon--color--warning)}:host .text-icon.valid{color:var(--theme-helper-icon--color--valid)}:host .bottom-text{margin-top:0.25rem}:host(.text-behind-slotted-element){flex-direction:row;align-items:flex-start}:host(.text-behind-slotted-element) .bottom-text{margin-top:0.5rem;margin-left:0.5rem}";
|
|
107
|
-
const IxFieldWrapperStyle0 = fieldWrapperCss;
|
|
108
|
-
|
|
109
|
-
const FieldWrapper = class {
|
|
110
|
-
constructor(hostRef) {
|
|
111
|
-
index.registerInstance(this, hostRef);
|
|
112
|
-
this.slotRef = makeRef.makeRef();
|
|
113
|
-
this.helperText = undefined;
|
|
114
|
-
this.label = undefined;
|
|
115
|
-
this.invalidText = undefined;
|
|
116
|
-
this.validText = undefined;
|
|
117
|
-
this.infoText = undefined;
|
|
118
|
-
this.warningText = undefined;
|
|
119
|
-
this.isInvalid = false;
|
|
120
|
-
this.isValid = false;
|
|
121
|
-
this.isInfo = false;
|
|
122
|
-
this.isWarning = false;
|
|
123
|
-
this.showTextAsTooltip = false;
|
|
124
|
-
this.required = false;
|
|
125
|
-
this.htmlForLabel = undefined;
|
|
126
|
-
this.controlRef = undefined;
|
|
127
|
-
}
|
|
128
|
-
render() {
|
|
129
|
-
const textOptions = {
|
|
130
|
-
invalidText: this.invalidText,
|
|
131
|
-
isInvalid: this.isInvalid,
|
|
132
|
-
isValid: this.isValid,
|
|
133
|
-
validText: this.validText,
|
|
134
|
-
isWarning: this.isWarning,
|
|
135
|
-
warningText: this.warningText,
|
|
136
|
-
isInfo: this.isInfo,
|
|
137
|
-
infoText: this.infoText,
|
|
138
|
-
helperText: this.helperText,
|
|
139
|
-
};
|
|
140
|
-
return (index.h(index.Host, { key: 'abac5f314a561b000189c733e3f91a371dc3e4b7' }, index.h("div", { key: '007488d9b928ee7b5ad2f56a80860d32306ec77f', class: "field-top" }, this.label && (index.h("ix-field-label", { key: '13267ade8d55d0233160e9f796616d2e65999a34', required: this.required, htmlFor: this.htmlForLabel, controlRef: this.controlRef }, this.label)), index.h("slot", { key: '6b7c58e1ff035f8f3cfa4e0b7b0d7f9cbbd9c572', name: "label" }), index.h("slot", { key: 'f174f3f66045d74ad4e31d44dca9bf05f4e33db4', name: "top-right" })), index.h("div", { key: '08216ad8711e4df6df1177392fba6445b31fab87', class: {
|
|
141
|
-
'slot-wrapper': true,
|
|
142
|
-
}, ref: this.slotRef }, index.h("slot", { key: '10222a8ce126fadcf97e41610fc0b72f52330bd0' })), index.h("div", { key: '942bfe9452312713d3d63d56c4eede5711af4fde', class: 'field-bottom' }, !this.showTextAsTooltip && helperTextUtil.renderHelperText(textOptions), index.h("div", { key: '9ec72ec64106298218deb4d5be627a325e579936', class: "bottom-right" }, index.h("slot", { key: '5ec6a10b820193843cb29d1b09c77d3793799b35', name: "bottom-right" }))), this.showTextAsTooltip === true && (index.h("ix-tooltip", { key: '93eb798d342a4187e521f1072cf34f1e5cb9b5da', for: this.slotRef.waitForCurrent(), showDelay: 500 }, helperTextUtil.renderHelperText(textOptions)))));
|
|
143
|
-
}
|
|
144
|
-
get hostElement() { return index.getElement(this); }
|
|
145
|
-
};
|
|
146
|
-
FieldWrapper.style = IxFieldWrapperStyle0;
|
|
7
|
+
const listener = require('./listener-bc3e7c0c.js');
|
|
147
8
|
|
|
148
9
|
class OverlayController {
|
|
149
10
|
constructor() {
|
|
@@ -420,9 +281,9 @@ const Tooltip = class {
|
|
|
420
281
|
this.visible = false;
|
|
421
282
|
}
|
|
422
283
|
render() {
|
|
423
|
-
return (index.h(index.Host, { key: '
|
|
284
|
+
return (index.h(index.Host, { key: '990726c5c0bfdbdb0d5d1678ec54b5902d41d1cd', class: {
|
|
424
285
|
visible: this.visible,
|
|
425
|
-
}, role: "tooltip" }, index.h("div", { key: '
|
|
286
|
+
}, role: "tooltip" }, index.h("div", { key: 'ecab668bf3f4010329c611b3d44a8103080d185e', class: 'tooltip-title' }, index.h("slot", { key: '016c833df9a38916cbd805756c48098d491f5846', name: "title-icon" }), index.h("ix-typography", { key: 'fe0a3fe4e2c9735207e22befc6006700859df2fc', variant: "default-title" }, this.titleContent, index.h("slot", { key: '6fcb3c9a2534922477aeb8b833f4e806d4010b84', name: "title-content" }))), index.h("div", { key: 'fcc689886a4d9651b0f7f23fb71e7d738558fde7', class: 'tooltip-content' }, index.h("slot", { key: '610c6bc179044892c550fbfa71313a1d27ee917a' })), index.h("div", { key: 'faf7c2a5d6b6347bd5c4ce9de377680c1ad4f06c', class: "arrow" })));
|
|
426
287
|
}
|
|
427
288
|
get hostElement() { return index.getElement(this); }
|
|
428
289
|
};
|
|
@@ -431,8 +292,6 @@ __decorate([
|
|
|
431
292
|
], Tooltip.prototype, "onKeydown", null);
|
|
432
293
|
Tooltip.style = IxTooltipStyle0;
|
|
433
294
|
|
|
434
|
-
exports.ix_field_label = FormFieldLabel;
|
|
435
|
-
exports.ix_field_wrapper = FieldWrapper;
|
|
436
295
|
exports.ix_tooltip = Tooltip;
|
|
437
296
|
|
|
438
|
-
//# sourceMappingURL=ix-
|
|
297
|
+
//# sourceMappingURL=ix-tooltip.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-tooltip.entry.cjs.js","mappings":";;;;;;;;MAoBa,iBAAiB;IAA9B;QACE,aAAQ,GAA4B,IAAI,GAAG,EAAE,CAAC;KAgC/C;IA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CAAE,UAAU,EAAE,CAAC;QAC5B,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACzB,iBAAiB,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;KACtC;IAED,SAAS;QACP,OAAO,IAAI,CAAC,OAAO,CAAC;KACrB;IAED,OAAO;QACL,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;KACrB;IAED,OAAO;QACL,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;KACtB;IAED,MAAM;QACJ,QACEC,QAACC,UAAI,qDACH,KAAK,EAAE;gBACL,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,EACD,IAAI,EAAC,SAAS,IAEdD,kEAAK,KAAK,EAAE,eAAe,IACzBA,mEAAM,IAAI,EAAC,YAAY,GAAQ,EAC/BA,4EAAe,OAAO,EAAC,eAAe,IACnC,IAAI,CAAC,YAAY,EAClBA,mEAAM,IAAI,EAAC,eAAe,GAAQ,CACpB,CACZ,EACNA,kEAAK,KAAK,EAAE,iBAAiB,IAC3BA,oEAAa,CACT,EACNA,kEAAK,KAAK,EAAC,OAAO,GAAO,CACpB,EACP;KACH;;;AApEK;IADLE,mBAAU,CAAU,SAAS,EAAE,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,CAAC;wCAKtD;;;;;","names":["computePosition","shift","offset","arrow","flip","autoUpdate","h","Host","OnListener"],"sources":["src/components/utils/overlay.ts","src/components/tooltip/tooltip-controller.ts","src/components/tooltip/tooltip.scss?tag=ix-tooltip&encapsulation=shadow","src/components/tooltip/tooltip.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { IxComponent } from '../utils/internal';\n\nexport interface IxOverlayComponent extends IxComponent {\n isPresent(): boolean;\n\n willPresent?(): boolean;\n willDismiss?(): boolean;\n\n present(): void;\n dismiss(): void;\n}\n\nexport class OverlayController {\n overlays: Set<IxOverlayComponent> = new Set();\n\n connected(instance: IxOverlayComponent): void {\n this.overlays.add(instance);\n }\n\n disconnected(instance: IxOverlayComponent): void {\n this.overlays.delete(instance);\n }\n\n present(instance: IxOverlayComponent): void {\n if (instance.willPresent && !instance.willPresent()) {\n return;\n }\n this.dismissOthers(instance);\n instance.present();\n }\n\n dismiss(instance: IxOverlayComponent): void {\n if (instance.willDismiss && !instance.willDismiss()) {\n return;\n }\n instance.dismiss();\n }\n\n private dismissOthers(instance: IxOverlayComponent): void {\n this.overlays.forEach((overlay) => {\n if (overlay !== instance) {\n this.dismiss(overlay);\n }\n });\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2024 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { OverlayController } from '../utils/overlay';\n\nclass TooltipController extends OverlayController {}\n\nexport const tooltipController = new TooltipController();\n",":host {\n display: inline-block;\n position: fixed;\n left: 0px;\n top: 0px;\n z-index: var(--theme-z-index-tooltip);\n\n max-width: 18.25rem;\n\n opacity: 0;\n visibility: collapse !important;\n overflow-wrap: break-word;\n\n border-radius: 0.25rem;\n background-color: var(--theme-tootlip--background);\n padding: 0.375rem 0.75rem 0.375rem 0.875rem;\n\n box-shadow: var(--theme-shadow-4);\n\n .tooltip-title {\n display: flex;\n align-items: center;\n\n ::slotted(ix-icon) {\n margin-right: 0.35rem;\n }\n }\n}\n\n:host(.visible) {\n opacity: 1;\n visibility: visible !important;\n}\n\n:host(.visible) {\n .arrow,\n .arrow::before {\n position: absolute;\n width: 12px;\n height: 12px;\n background: inherit;\n }\n\n .arrow {\n visibility: hidden;\n }\n\n .arrow::before {\n visibility: visible;\n content: '';\n transform: rotate(45deg);\n background-color: var(--theme-tootlip--background);\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 */\nimport {\n arrow,\n autoUpdate,\n computePosition,\n ComputePositionReturn,\n flip,\n offset,\n shift,\n} from '@floating-ui/dom';\nimport {\n Component,\n Element,\n h,\n Host,\n Method,\n Prop,\n State,\n} from '@stencil/core';\nimport { OnListener } from '../utils/listener';\nimport { tooltipController } from './tooltip-controller';\nimport { IxOverlayComponent } from '../utils/overlay';\n\ntype ArrowPosition = {\n top?: string;\n left?: string;\n right?: string;\n};\n\nconst numberToPixel = (value: number) => (value != null ? `${value}px` : '');\n\n/**\n * @slot title-icon - Icon of tooltip title\n * @slot title-content - Content of tooltip title\n *\n * @since 1.4.0\n */\n@Component({\n tag: 'ix-tooltip',\n styleUrl: 'tooltip.scss',\n shadow: true,\n})\nexport class Tooltip implements IxOverlayComponent {\n /**\n * CSS selector for hover trigger element e.g. `for=\"[data-my-custom-select]\"`\n */\n @Prop() for: string | HTMLElement | Promise<HTMLElement>;\n\n /**\n * Title of the tooltip\n */\n @Prop() titleContent: string;\n\n /**\n * Define if the user can access the tooltip via mouse.\n */\n @Prop() interactive = false;\n\n /**\n * Initial placement of the tooltip. If the placement don\"t have enough space,\n * the tooltip will placed on another location.\n *\n * @since 1.5.0\n */\n @Prop() placement: 'top' | 'right' | 'bottom' | 'left' = 'top';\n\n /** @internal */\n @Prop() showDelay = 0;\n\n /** @internal */\n @Prop() hideDelay = 50;\n\n /** @internal */\n @Prop() animationFrame = false;\n\n @State() visible = false;\n\n @Element() hostElement: HTMLIxTooltipElement;\n\n private observer: MutationObserver;\n private hideTooltipTimeout: NodeJS.Timeout;\n private showTooltipTimeout: NodeJS.Timeout;\n private disposeAutoUpdate?: () => void;\n private disposeListener: () => void;\n\n private get arrowElement(): HTMLElement {\n return this.hostElement.shadowRoot.querySelector('.arrow');\n }\n\n private destroyAutoUpdate() {\n if (this.disposeAutoUpdate !== undefined) {\n this.disposeAutoUpdate();\n }\n }\n\n /** @internal */\n @Method()\n async showTooltip(anchorElement: any) {\n clearTimeout(this.hideTooltipTimeout);\n await this.applyTooltipPosition(anchorElement);\n\n this.showTooltipTimeout = setTimeout(() => {\n tooltipController.present(this);\n // Need to compute and apply tooltip position after initial render,\n // because arrow has no valid bounding rect before that\n this.applyTooltipPosition(anchorElement);\n }, this.showDelay);\n }\n\n /** @internal */\n @Method()\n async hideTooltip() {\n clearTimeout(this.showTooltipTimeout);\n let hideDelay = 50;\n\n if (this.interactive && this.hideDelay === hideDelay) {\n hideDelay = 150;\n }\n\n this.hideTooltipTimeout = setTimeout(() => {\n tooltipController.dismiss(this);\n }, hideDelay);\n this.destroyAutoUpdate();\n }\n\n private computeArrowPosition({\n placement,\n middlewareData,\n }: ComputePositionReturn): ArrowPosition {\n let { x, y } = middlewareData.arrow;\n\n if (placement.startsWith('top')) {\n return {\n left: numberToPixel(x),\n top: numberToPixel(y),\n };\n }\n\n if (placement.startsWith('right')) {\n return {\n left: numberToPixel(-6),\n top: numberToPixel(y),\n };\n }\n\n if (placement.startsWith('bottom')) {\n return {\n left: numberToPixel(x),\n top: numberToPixel(-6),\n };\n }\n\n if (placement.startsWith('left')) {\n return {\n right: numberToPixel(-6),\n top: numberToPixel(y),\n };\n }\n }\n\n private async computeTooltipPosition(target: Element) {\n const computeResponse = await computePosition(target, this.hostElement, {\n strategy: 'fixed',\n placement: this.placement,\n middleware: [\n shift(),\n offset(12),\n arrow({\n element: this.arrowElement,\n }),\n flip({\n fallbackStrategy: 'initialPlacement',\n padding: 10,\n }),\n ],\n });\n return computeResponse;\n }\n\n private applyTooltipArrowPosition(computeResponse: ComputePositionReturn) {\n const arrowPosition = this.computeArrowPosition(computeResponse);\n Object.assign(this.arrowElement.style, arrowPosition);\n }\n\n private async applyTooltipPosition(target: Element) {\n if (!target) {\n return;\n }\n\n return new Promise<ComputePositionReturn>((resolve) => {\n this.disposeAutoUpdate = autoUpdate(\n target,\n this.hostElement,\n async () => {\n setTimeout(async () => {\n const computeResponse = await this.computeTooltipPosition(target);\n\n if (computeResponse.middlewareData.arrow) {\n this.applyTooltipArrowPosition(computeResponse);\n }\n\n const { x, y } = computeResponse;\n Object.assign(this.hostElement.style, {\n left: x !== null ? `${x}px` : '',\n top: y !== null ? `${y}px` : '',\n });\n\n resolve(computeResponse);\n });\n },\n {\n ancestorResize: true,\n ancestorScroll: true,\n elementResize: true,\n animationFrame: this.animationFrame,\n }\n );\n });\n }\n\n private clearHideTimeout() {\n if (this.interactive) {\n clearTimeout(this.hideTooltipTimeout);\n }\n }\n\n private async queryAnchorElements(): Promise<Array<HTMLElement> | undefined> {\n if (typeof this.for === 'string') {\n return Promise.resolve(Array.from(document.querySelectorAll(this.for)));\n }\n\n if (this.for instanceof HTMLElement) {\n return Promise.resolve([this.for]);\n }\n\n if (this.for instanceof Promise) {\n const element = await this.for;\n return [element];\n }\n }\n\n private async registerTriggerListener() {\n const triggerElementList = await this.queryAnchorElements();\n\n if (this.disposeListener) {\n this.disposeListener();\n }\n\n if (!triggerElementList) {\n return;\n }\n\n triggerElementList.forEach((element) => {\n const onMouseEnter = () => {\n this.showTooltip(element);\n };\n\n const onMouseLeave = () => {\n this.hideTooltip();\n };\n\n const onFocusIn = () => {\n if (this.showTooltipTimeout !== undefined) {\n clearTimeout(this.showTooltipTimeout);\n }\n\n onMouseEnter();\n };\n\n const onFocusOut = () => {\n this.hideTooltip();\n };\n\n element.addEventListener('mouseenter', onMouseEnter);\n element.addEventListener('mouseleave', onMouseLeave);\n element.addEventListener('focusin', onFocusIn);\n element.addEventListener('focusout', onFocusOut);\n\n this.disposeListener = () => {\n element.removeEventListener('mouseenter', onMouseEnter);\n element.removeEventListener('mouseleave', onMouseLeave);\n element.removeEventListener('focusin', onFocusIn);\n element.removeEventListener('focusout', onFocusOut);\n };\n });\n }\n\n private registerTooltipListener() {\n const { hostElement } = this;\n hostElement.addEventListener('mouseenter', () => this.clearHideTimeout());\n hostElement.addEventListener('focusin', () => this.clearHideTimeout());\n\n hostElement.addEventListener('mouseleave', () => this.hideTooltip());\n hostElement.addEventListener('focusout', () => this.hideTooltip());\n }\n\n @OnListener<Tooltip>('keydown', (self) => self.visible)\n async onKeydown(event: KeyboardEvent) {\n if (event.code === 'Escape') {\n this.hideTooltip();\n }\n }\n\n componentWillLoad() {\n this.registerTriggerListener();\n }\n\n componentDidLoad() {\n this.observer = new MutationObserver(() => {\n this.registerTriggerListener();\n });\n\n this.observer.observe(document.body, {\n attributes: true,\n attributeFilter: ['data-ix-tooltip'],\n childList: true,\n subtree: true,\n });\n\n this.registerTooltipListener();\n }\n\n connectedCallback() {\n tooltipController.connected(this);\n }\n\n disconnectedCallback() {\n this.observer?.disconnect();\n this.destroyAutoUpdate();\n tooltipController.disconnected(this);\n }\n\n isPresent(): boolean {\n return this.visible;\n }\n\n present(): void {\n this.visible = true;\n }\n\n dismiss(): void {\n this.visible = false;\n }\n\n render() {\n return (\n <Host\n class={{\n visible: this.visible,\n }}\n role=\"tooltip\"\n >\n <div class={'tooltip-title'}>\n <slot name=\"title-icon\"></slot>\n <ix-typography variant=\"default-title\">\n {this.titleContent}\n <slot name=\"title-content\"></slot>\n </ix-typography>\n </div>\n <div class={'tooltip-content'}>\n <slot></slot>\n </div>\n <div class=\"arrow\"></div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-529f21c1.js');
|
|
6
6
|
|
|
7
7
|
const treeItemCss = ":host{display:flex;align-items:center;height:32px;width:100%;cursor:pointer}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .tree-node-container{display:flex;align-items:center;height:2rem;flex-grow:1;align-items:center}:host .icon-toggle-container{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem}:host .icon-toggle-container ix-icon{transition:transform var(--theme-default-time) ease-in-out}:host .icon-toggle-container ix-icon.icon-toggle-down{transform:rotate(90deg)}:host(:not(.disabled):not(:disabled):not(.selected).hover),:host(:not(.disabled):not(:disabled):not(.selected):hover){background-color:var(--theme-tree-item--background--hover)}:host(:not(.disabled):not(:disabled):not(.selected).active),:host(:not(.disabled):not(:disabled):not(.selected):active){background-color:var(--theme-tree-item--background--active)}:host(.selected){background-color:var(--theme-tree-item--background--selected)}:host(.selected.hover),:host(.selected:hover){background-color:var(--theme-tree-item--background--selected-hover)}:host(.selected.active),:host(.selected:active){background-color:var(--theme-tree-item--background--selected-active)}";
|
|
8
8
|
const IxTreeItemStyle0 = treeItemCss;
|
|
@@ -18,16 +18,16 @@ const TreeItem = class {
|
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
var _a, _b, _c;
|
|
21
|
-
return (index.h(index.Host, { key: '
|
|
21
|
+
return (index.h(index.Host, { key: '5f5481c56072db6ae30c67a9c9ed8a709679d55b', class: {
|
|
22
22
|
selected: (_a = this.context) === null || _a === void 0 ? void 0 : _a.isSelected,
|
|
23
|
-
} }, index.h("div", { key: '
|
|
23
|
+
} }, index.h("div", { key: '1d36c65d8c44ce04347888c1a43532717b9f7e54', class: "icon-toggle-container", onClick: (e) => {
|
|
24
24
|
e.preventDefault();
|
|
25
25
|
this.toggle.emit();
|
|
26
26
|
} }, this.hasChildren ? (index.h("ix-icon", { name: 'chevron-right', size: "16", class: {
|
|
27
27
|
['icon-toggle-down']: (_b = this.context) === null || _b === void 0 ? void 0 : _b.isExpanded,
|
|
28
|
-
}, color: `color-${((_c = this.context) === null || _c === void 0 ? void 0 : _c.isExpanded) ? 'primary' : 'std-text'}` })) : null), index.h("div", { key: '
|
|
28
|
+
}, color: `color-${((_c = this.context) === null || _c === void 0 ? void 0 : _c.isExpanded) ? 'primary' : 'std-text'}` })) : null), index.h("div", { key: '43f5718e1c18f5a755f01580692349195dbe2e7e', class: "tree-node-container", onClick: () => {
|
|
29
29
|
this.itemClick.emit();
|
|
30
|
-
} }, this.text, index.h("slot", { key: '
|
|
30
|
+
} }, this.text, index.h("slot", { key: '4f0556708349c484f97f3f687ab1f0974c4ef35e' }))));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
TreeItem.style = IxTreeItemStyle0;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-529f21c1.js');
|
|
6
6
|
const _commonjsHelpers = require('./_commonjsHelpers-0192c5b3.js');
|
|
7
7
|
const defaultTreeItem = require('./default-tree-item-309a50cd.js');
|
|
8
8
|
|
|
@@ -692,7 +692,7 @@ const Tree = class {
|
|
|
692
692
|
this.hyperlist = new Hyperlist(this.hostElement, config);
|
|
693
693
|
}
|
|
694
694
|
render() {
|
|
695
|
-
return (index.h(index.Host, { key: '
|
|
695
|
+
return (index.h(index.Host, { key: 'c663df76252b24029b33792151c943519a7c3be1' }, index.h("slot", { key: 'cfd96717be68c7c4e4c0b9e344ecd4c48481e1e0' })));
|
|
696
696
|
}
|
|
697
697
|
get hostElement() { return index.getElement(this); }
|
|
698
698
|
static get watchers() { return {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-529f21c1.js');
|
|
6
6
|
const uploadFileState = require('./upload-file-state-3e9d929d.js');
|
|
7
7
|
|
|
8
8
|
const uploadCss = ":host{display:block;min-height:4rem;height:4rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .file-upload-area{display:flex;flex-direction:row;align-items:center;justify-content:space-between;overflow:hidden;height:100%;width:100%;padding:1rem;border:1px dashed var(--theme-upload--border-color);border-radius:var(--theme-upload--border-radius);color:var(--theme-upload-text--color)}:host .file-upload-area.multiline{max-height:unset;height:auto}:host .file-upload-area.multiline .glyph{align-self:flex-start;margin-block-start:3px}:host .file-upload-area.multiline>div{align-self:flex-start}:host .file-upload-area:not(.multiline) .state,:host .file-upload-area:not(.multiline) .upload-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .file-upload-area:not(.disabled).file-over{border-color:var(--theme-upload--border-color--dragover);border-style:solid}:host .file-upload-area.checking{color:var(--theme-upload-text--color--checking);border-style:solid}:host .file-upload-area.disabled{border-style:solid;color:var(--theme-upload-text--color--disabled)}:host .file-upload-area ix-button{margin-inline-start:1rem}:host .file-upload-area .upload-browser{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}:host .file-upload-area .loader{margin:2.187rem auto;font-size:0.937rem;width:1rem;height:1rem;border-radius:50%;position:relative;text-indent:-9999em;animation:optimise-loading 1.1s infinite ease;transform:translateZ(0)}:host .file-upload-area .upload-filename{margin-bottom:1rem}:host .file-upload-area .state{display:flex;align-items:center}:host .file-upload-area .state>ix-spinner{margin-inline-end:0.5rem;height:1.5rem;width:1.5rem}:host .file-upload-area .state>ix-icon{margin-inline-end:0.5rem}:host .file-upload-area .state>ix-icon.icon-error{color:var(--theme-color-alarm)}:host .file-upload-area .state>ix-icon.icon-success{color:var(--theme-color-success)}:host(.disabled){pointer-events:none}";
|
|
@@ -87,7 +87,7 @@ const Upload = class {
|
|
|
87
87
|
this.filesToUpload = obj;
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (index.h(index.Host, { key: '
|
|
90
|
+
return (index.h(index.Host, { key: '65168929ba323f1a3eea30d4812d4da20f120fa4' }, index.h("div", { key: '9b6d1e303b8a117a329ce55fa54a05f7ecd59359', class: {
|
|
91
91
|
'file-upload-area': true,
|
|
92
92
|
'file-over': this.state !== uploadFileState.UploadFileState.LOADING && this.isFileOver,
|
|
93
93
|
checking: this.state === uploadFileState.UploadFileState.LOADING,
|
|
@@ -97,9 +97,9 @@ const Upload = class {
|
|
|
97
97
|
if (this.state !== uploadFileState.UploadFileState.LOADING) {
|
|
98
98
|
this.fileDropped(e);
|
|
99
99
|
}
|
|
100
|
-
}, onDragOver: (e) => this.fileOver(e), onDragLeave: () => this.fileLeave(), draggable: !this.disabled }, this.renderUploadState(), index.h("div", { key: '
|
|
100
|
+
}, onDragOver: (e) => this.fileOver(e), onDragLeave: () => this.fileLeave(), draggable: !this.disabled }, this.renderUploadState(), index.h("div", { key: '069112fd233fb12c6cd6512ad7283015952caf0b' }, index.h("input", { key: '64bfed06cda8cae2f20ab441f4b3f0fe373de90f', multiple: this.multiple, type: "file", class: "upload-browser", id: "upload-browser", onChange: (e) => {
|
|
101
101
|
this.fileChangeEvent(e);
|
|
102
|
-
}, accept: this.accept }), index.h("ix-button", { key: '
|
|
102
|
+
}, accept: this.accept }), index.h("ix-button", { key: '99f054605ac4d39ad7a6e1258e0cc50302305157', tabindex: "-1", outline: true, onClick: () => this.inputElement.click(), disabled: this.disabled || this.state === uploadFileState.UploadFileState.LOADING }, this.i18nUploadFile)))));
|
|
103
103
|
}
|
|
104
104
|
get hostElement() { return index.getElement(this); }
|
|
105
105
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-529f21c1.js');
|
|
6
6
|
const floatingUi_dom_esm = require('./floating-ui.dom.esm-94b4d17c.js');
|
|
7
7
|
|
|
8
8
|
const validationTooltipCss = ".text-xs{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.625rem;font-weight:400;line-height:1.4em;color:var(--theme-color-std-text)}.text-s{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-caption-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text)}.text-default{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text)}.text-default-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.429em;color:var(--theme-color-std-text)}.text-default-title-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:700;line-height:1.143em;color:var(--theme-color-std-text)}.text-l{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:400;line-height:1.25em;color:var(--theme-color-std-text)}.text-l-title{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.text-l-title-single{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.25em;color:var(--theme-color-std-text)}.text-h2{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text)}.text-xl{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text)}a{color:var(--theme-color-primary)}:host{display:inline-block;position:relative;width:100%}:host .validation-tooltip{background-color:var(--theme-tootlip--background);color:var(--theme-tooltip--color);padding:5px 10px;border-radius:4px;font-size:13px;border:1px solid var(--theme-tooltip--border-color);box-shadow:0 0 2px 0 rgba(0, 0, 40, 0.1), 0 4px 8px 0 rgba(0, 0, 40, 0.1), 0 12px 18px 0 rgba(0, 0, 40, 0.1)}:host .validation-tooltip #arrow,:host .validation-tooltip #arrow::before{position:absolute;width:8px;height:8px;background:inherit}:host .validation-tooltip #arrow{visibility:hidden}:host .validation-tooltip #arrow::before{visibility:visible;content:\"\";transform:rotate(45deg);background-color:var(--theme-tootlip--background)}:host .validation-tooltip>#arrow{bottom:-5px}:host .validation-tooltip>#arrow::before{border-right:1px solid var(--theme-tooltip--border-color);border-bottom:1px solid var(--theme-tooltip--border-color)}";
|
|
@@ -133,13 +133,13 @@ const ValidationTooltip = class {
|
|
|
133
133
|
}
|
|
134
134
|
render() {
|
|
135
135
|
var _a, _b;
|
|
136
|
-
return (index.h(index.Host, { key: '
|
|
136
|
+
return (index.h(index.Host, { key: '03529de843b174960fbf2305279a385863eafa97' }, index.h("slot", { key: '09d4953c82d7c7da4524f03e34bcfb14f0aecf0a' }), index.h("div", { key: 'de68c2b62188b7af6967c705406cd9ab16c6ae3c', role: "tooltip", style: {
|
|
137
137
|
display: 'none',
|
|
138
138
|
position: 'fixed',
|
|
139
139
|
top: '0',
|
|
140
140
|
left: '0',
|
|
141
141
|
transform: `translate(${Math.round(((_a = this.tooltipPosition) === null || _a === void 0 ? void 0 : _a.x) || 0)}px,${Math.round(((_b = this.tooltipPosition) === null || _b === void 0 ? void 0 : _b.y) || 0)}px)`,
|
|
142
|
-
}, class: "validation-tooltip text-default" }, this.message, index.h("slot", { key: '
|
|
142
|
+
}, class: "validation-tooltip text-default" }, this.message, index.h("slot", { key: 'd8e27c42630a720a9ecf52ee80d6a7eec3eb7105', name: "tooltip-message" }), index.h("div", { key: '89318eefd163aaff6cfb5c5d295423db498c26ca', id: "arrow" }))));
|
|
143
143
|
}
|
|
144
144
|
get hostElement() { return index.getElement(this); }
|
|
145
145
|
static get watchers() { return {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-529f21c1.js');
|
|
6
6
|
|
|
7
7
|
const workflowStepCss = ":host(:not(.host-vertical)){width:12rem;height:4rem;min-width:2rem;min-height:4rem;max-width:12rem}:host(.host-vertical){width:100%;height:4rem;min-width:4rem;min-height:2rem;max-height:12rem}:host{display:inline-block;position:relative}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .step{display:flex;flex-direction:column;align-items:center;background-color:var(--theme-workflow-step--background);border-radius:var(--theme-workflow--border-radius);padding:1.125rem 0 0.5rem 0}:host .step .wrapper{display:flex;width:100%;align-items:center;justify-content:center;position:relative}:host .step .wrapper .line{width:100%;height:0.125rem;background-color:var(--theme-workflow-step-icon-default--color)}:host .step .wrapper .line.first,:host .step .wrapper .line.last{width:50%;margin:0 0 0 auto}:host .step .wrapper .line.last{margin:0 auto 0 0}:host .step .wrapper .line.single{width:0}:host .step .wrapper .line.selected{background-color:var(--theme-workflow-step-icon-default--color--selected)}:host .step .wrapper .line.done{background-color:var(--theme-workflow-step-icon-done--color)}:host .step .wrapper .line.done.selected{background-color:var(--theme-workflow-step-icon-done--color--selected)}:host .step .wrapper .line.warning{background-color:var(--theme-color-warning)}:host .step .wrapper .line.success{background-color:var(--theme-color-success)}:host .step .wrapper .line.error{background-color:var(--theme-color-alarm)}:host .step .wrapper .iconWrapper{display:flex;align-items:center;justify-content:center;position:absolute}:host .step .wrapper .iconWrapper .absolute{position:absolute}:host .step .text{margin-top:1rem;width:100%;padding:0 0.5rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center}:host .step.vertical{flex-direction:row;padding:0;height:100%}:host .step.vertical .wrapper{width:auto;padding-left:1.125rem;height:100%}:host .step.vertical .wrapper .line{width:0.125rem;height:100%}:host .step.vertical .wrapper .line.first,:host .step.vertical .wrapper .line.last{height:50%;margin:auto 0 0 0}:host .step.vertical .wrapper .line.last{margin:0 0 auto 0}:host .step.vertical .wrapper .line.single{width:0}:host .step.vertical .text{margin:0 1rem;padding:0;width:auto}:host .step.clickable:hover{background-color:var(--theme-workflow-step--background--hover)}:host .step.clickable:active{background-color:var(--theme-workflow-step--background--active)}:host .step:focus-visible{outline:1px solid var(--focus--border-color);border-radius:0}:host .step.selected{background-color:var(--theme-workflow-step--background--selected)}:host .step.disabled{background-color:var(--theme-workflow-step--background--disabled)}:host .step.disabled .line{background-color:var(--theme-workflow-step-icon-default--color--disabled) !important}:host .step.disabled .text{color:var(--theme-workflow-step--color--disabled)}";
|
|
8
8
|
const IxWorkflowStepStyle0 = workflowStepCss;
|
|
@@ -72,18 +72,18 @@ const WorkflowStep = class {
|
|
|
72
72
|
}
|
|
73
73
|
render() {
|
|
74
74
|
const icons = !this.customIconSlot ? (index.h(index.Fragment, null, index.h("ix-icon", { color: "color-1", name: this.iconName === 'warning' ? 'triangle-filled' : 'circle-filled', class: "absolute", size: "24" }), index.h("ix-icon", { color: this.iconColor, name: this.iconName, class: "absolute", size: "24" }))) : null;
|
|
75
|
-
return (index.h(index.Host, { key: '
|
|
75
|
+
return (index.h(index.Host, { key: '399801862cd971d7a8ed9762cb95b391cce9af01', class: { 'host-vertical': this.vertical }, onClick: () => this.onStepClick() }, index.h("div", { key: '537f3ef137c71f2f4c24ac79e3ec1dcf577aa0dc', tabIndex: 0, class: {
|
|
76
76
|
step: true,
|
|
77
77
|
selected: this.selected,
|
|
78
78
|
vertical: this.vertical,
|
|
79
79
|
disabled: this.disabled,
|
|
80
80
|
clickable: this.clickable && !this.disabled,
|
|
81
|
-
} }, index.h("div", { key: '
|
|
81
|
+
} }, index.h("div", { key: '2b6c5f19e60bd856a1245e86ddd82b5cf9cbc1b7', class: "wrapper" }, index.h("div", { key: '40014bcae469af2dfb898b9542389436985f5df7', class: {
|
|
82
82
|
line: true,
|
|
83
83
|
selected: this.selected,
|
|
84
84
|
[this.status]: true,
|
|
85
85
|
[this.position]: true,
|
|
86
|
-
} }), index.h("div", { key: '
|
|
86
|
+
} }), index.h("div", { key: '878858a64710d9046d1707030f71c008c82f4b46', class: "iconWrapper" }, icons, index.h("slot", { key: '6a409ec904e6ab261ab76a5054d34bc7f52ca6d4', name: "custom-icon" }))), index.h("div", { key: '592e6f274fca0c93513451c1a8c534a4657ba7bb', class: "text" }, index.h("slot", { key: 'f5a005065392ade2f520ba18fdf29e0d43ac2036' })))));
|
|
87
87
|
}
|
|
88
88
|
get hostElement() { return index.getElement(this); }
|
|
89
89
|
static get watchers() { return {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-529f21c1.js');
|
|
6
6
|
const mutationObserver = require('./mutation-observer-babb20a5.js');
|
|
7
7
|
|
|
8
8
|
const workflowStepsCss = ":host{display:block;position:relative;width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;min-width:2rem}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host .steps{display:flex;height:100%}:host .steps.vertical{flex-direction:column}";
|
|
@@ -74,7 +74,7 @@ const WorkflowSteps = class {
|
|
|
74
74
|
this.updateSteps();
|
|
75
75
|
}
|
|
76
76
|
render() {
|
|
77
|
-
return (index.h(index.Host, { key: '
|
|
77
|
+
return (index.h(index.Host, { key: '55b4e6010ba6bc751be94a8790a8dd12d58c9830' }, index.h("div", { key: 'f8186e2ef01beda230a9f41000ec82456f198ff1', class: { steps: true, vertical: this.vertical } }, index.h("slot", { key: '1b2d632a8d0ba11a2425809aac3b6f31ce74588b' }))));
|
|
78
78
|
}
|
|
79
79
|
get hostElement() { return index.getElement(this); }
|
|
80
80
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-529f21c1.js');
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
* SPDX-FileCopyrightText: 2023 Siemens AG
|
|
@@ -74,4 +74,4 @@ function OnListener(event, fnExp) {
|
|
|
74
74
|
|
|
75
75
|
exports.OnListener = OnListener;
|
|
76
76
|
|
|
77
|
-
//# sourceMappingURL=listener-
|
|
77
|
+
//# sourceMappingURL=listener-bc3e7c0c.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"listener-
|
|
1
|
+
{"file":"listener-bc3e7c0c.js","mappings":";;;;AAAA;;;;;;;;AAgBA,MAAM,cAAc,GAAoB;IACtC,MAAM,EAAE,QAAQ;IAChB,cAAc,EAAE,IAAI;CACrB,CAAC;SAEc,cAAc,CAAC,KAAa,EAAE,UAA2B,EAAE;IACzE,MAAM,IAAI,mCACL,cAAc,GACd,OAAO,CACX,CAAC;IAEF,IAAI,QAAa,CAAC;IAClB,MAAM,OAAO,GAAG,CAAC,KAAY;QAC3B,QAAQ,CAAC,KAAK,CAAC,CAAC;KACjB,CAAC;IAEF,MAAM,YAAY,GAAG;QACnB,EAAE,EAAE,CAAC,eAAoB;YACvB,QAAQ,GAAG,eAAe,CAAC;SAC5B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CAAC,CAAC;YAC/B,OAAO,iBAAiB,IAAI,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SAC1D,CAAC;QAEF,KAAK,CAAC,oBAAoB,GAAG;;YAC3B,MAAM,IAAI,GAAGA,gBAAU,CAAC,IAAI,CAAC,CAAC;YAE9B,IAAI,IAAI,IAAI,IAAI,CAAC,SAAS,UAAU,EAAE,CAAC,EAAE;gBACvC,MAAA,IAAI,CAAC,SAAS,UAAU,EAAE,CAAC,0CAAE,OAAO,EAAE,CAAC;gBACvC,IAAI,CAAC,SAAS,UAAU,EAAE,CAAC,GAAG,IAAI,CAAC;aACpC;YAED,OAAO,oBAAoB,IAAI,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SAChE,CAAC;KACH,CAAC;AACJ;;;;","names":["getElement"],"sources":["src/components/utils/listener.ts"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { getElement } from '@stencil/core';\n\nexport type ListenerOptions = {\n target?: 'window';\n defaultEnabled?: boolean;\n};\n\nconst defaultOptions: ListenerOptions = {\n target: 'window',\n defaultEnabled: true,\n};\n\nexport function createListener(event: string, options: ListenerOptions = {}) {\n const opts = {\n ...defaultOptions,\n ...options,\n };\n\n let callback: any;\n const onEvent = (event: Event) => {\n callback(event);\n };\n\n const resultObject = {\n on: (onEventCallback: any) => {\n callback = onEventCallback;\n },\n\n isEnabled: opts.defaultEnabled,\n\n enable: (state: boolean) => {\n resultObject.isEnabled = state;\n\n if (state) {\n addEventListener(event, onEvent);\n } else {\n removeEventListener(event, onEvent);\n }\n },\n\n destroy: () => {\n resultObject.enable(false);\n },\n };\n\n resultObject.enable(opts.defaultEnabled);\n return resultObject;\n}\n\nexport function OnListener<T>(event: string, fnExp?: (self: T) => boolean) {\n return (proto: any, methodName: string) => {\n const { componentWillLoad, componentWillRender, disconnectedCallback } =\n proto;\n\n if (fnExp) {\n proto.componentWillRender = function () {\n const host = getElement(this);\n host[`__ix__${methodName}`]?.enable(fnExp(this));\n return componentWillRender && componentWillRender.call(this);\n };\n }\n\n proto.componentWillLoad = function () {\n const listener = createListener(event);\n const host = getElement(this);\n const method = this[methodName];\n\n host[`__ix__${methodName}`] = listener;\n\n listener.on(method.bind(this));\n return componentWillLoad && componentWillLoad.call(this);\n };\n\n proto.disconnectedCallback = function () {\n const host = getElement(this);\n\n if (host && host[`__ix__${methodName}`]) {\n host[`__ix__${methodName}`]?.destroy();\n host[`__ix__${methodName}`] = null;\n }\n\n return disconnectedCallback && disconnectedCallback.call(this);\n };\n };\n}\n"],"version":3}
|