@siemens/ix 0.0.0-pr-1974-20250624072317 → 0.0.0-pr-1974-20250627114851
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/dist/cjs/base-button-B-wht3TB.js +74 -0
- package/dist/cjs/base-button-B-wht3TB.js.map +1 -0
- package/dist/cjs/base-icon-button-DNisNrCZ.js +21 -0
- package/dist/cjs/base-icon-button-DNisNrCZ.js.map +1 -0
- package/dist/cjs/helper-text-util-B_J9aPv0.js +45 -0
- package/dist/cjs/helper-text-util-B_J9aPv0.js.map +1 -0
- package/dist/cjs/index-CbtIH46j.js +2734 -0
- package/dist/cjs/index-CbtIH46j.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -17
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/input.util-BDrqIfiB.js +215 -0
- package/dist/cjs/input.util-BDrqIfiB.js.map +1 -0
- package/dist/cjs/ix-action-card.cjs.entry.js +2 -2
- package/dist/cjs/ix-action-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-action-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +4 -4
- 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 +4 -4
- package/dist/cjs/ix-avatar_2.cjs.entry.js +3 -3
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +3 -3
- package/dist/cjs/ix-blind.cjs.entry.js +6 -6
- package/dist/cjs/ix-blind.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-blind.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/ix-breadcrumb-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-breadcrumb-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/ix-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-card-accordion.ix-card-title.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-card-accordion_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-card-list.cjs.entry.js +5 -5
- package/dist/cjs/ix-card.ix-card-content.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-card_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-card_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-category-filter.cjs.entry.js +5 -5
- package/dist/cjs/ix-checkbox-group.cjs.entry.js +4 -4
- package/dist/cjs/ix-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/ix-chip.cjs.entry.js +5 -5
- package/dist/cjs/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-col_4.cjs.entry.js +12 -12
- package/dist/cjs/ix-col_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-content-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-content-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-content-header.entry.cjs.js.map +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 +2 -2
- package/dist/cjs/ix-css-grid.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-css-grid.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-custom-field.cjs.entry.js +3 -3
- package/dist/cjs/ix-date-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/ix-date-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-dropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-input.cjs.entry.js +6 -6
- package/dist/cjs/ix-date-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -3
- package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-date-time-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +2 -2
- package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-datetime-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-divider.cjs.entry.js +2 -2
- package/dist/cjs/ix-drawer.cjs.entry.js +6 -6
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +3 -3
- package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-dropdown-button.entry.cjs.js.map +1 -1
- 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 +3 -3
- package/dist/cjs/ix-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ix-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-empty-state.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-event-list-item.cjs.entry.js +5 -5
- 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-field-label_2.cjs.entry.js +6 -6
- 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-group-context-menu_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-group.cjs.entry.js +9 -9
- package/dist/cjs/ix-helper-text.cjs.entry.js +4 -4
- package/dist/cjs/ix-icon-button.ix-spinner.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-icon-button_2.cjs.entry.js +5 -5
- package/dist/cjs/ix-icon-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-icon-toggle-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-input-group.cjs.entry.js +2 -2
- package/dist/cjs/ix-input.cjs.entry.js +7 -7
- 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-key-value.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-key-value.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +4 -4
- package/dist/cjs/ix-layout-auto.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/ix-menu-item.cjs.entry.js +4 -4
- package/dist/cjs/ix-menu-settings-Dbt7Q2tj.js +123 -0
- package/dist/cjs/ix-menu-settings-Dbt7Q2tj.js.map +1 -0
- 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-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 +5 -5
- package/dist/cjs/ix-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-number-input.cjs.entry.js +9 -9
- package/dist/cjs/ix-pagination.cjs.entry.js +4 -4
- package/dist/cjs/ix-pane-layout.cjs.entry.js +2 -2
- package/dist/cjs/ix-pane-layout.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pane-layout.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pane.cjs.entry.js +7 -7
- package/dist/cjs/ix-pane.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-pane.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-pill.cjs.entry.js +5 -5
- package/dist/cjs/ix-progress-indicator.cjs.entry.js +4 -4
- package/dist/cjs/ix-progress-indicator.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-progress-indicator.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-push-card.cjs.entry.js +2 -2
- package/dist/cjs/ix-push-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-push-card.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-radio-group.cjs.entry.js +4 -4
- package/dist/cjs/ix-radio.cjs.entry.js +6 -6
- package/dist/cjs/ix-select.cjs.entry.js +11 -11
- package/dist/cjs/ix-slider.cjs.entry.js +8 -8
- package/dist/cjs/ix-slider.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-slider.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-split-button.cjs.entry.js +2 -2
- package/dist/cjs/ix-split-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-split-button.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tab-item.ix-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tab-item_2.cjs.entry.js +6 -6
- package/dist/cjs/ix-tab-item_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-textarea.cjs.entry.js +5 -5
- package/dist/cjs/ix-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-tile.cjs.entry.js +5 -5
- package/dist/cjs/ix-time-input.cjs.entry.js +6 -6
- package/dist/cjs/ix-time-input.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-time-input.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/ix-time-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-time-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast-container.cjs.entry.js +3 -3
- package/dist/cjs/ix-toast-container.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-toast-container.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-toast.cjs.entry.js +3 -3
- package/dist/cjs/ix-toggle-button.cjs.entry.js +4 -4
- package/dist/cjs/ix-toggle.cjs.entry.js +5 -5
- package/dist/cjs/ix-tooltip.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/ix-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/ix-typography.entry.cjs.js.map +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +1 -1
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ix-workflow-step.cjs.entry.js +1 -1
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +1 -1
- package/dist/cjs/listener-BT212YoD.js +78 -0
- package/dist/cjs/listener-BT212YoD.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/modal-CR_0969h.js.map +1 -1
- package/dist/cjs/siemens-ix.cjs.js +1 -1
- package/dist/cjs/validation-rAd3wIQp.js +123 -0
- package/dist/cjs/validation-rAd3wIQp.js.map +1 -0
- package/dist/collection/collection-manifest.json +28 -28
- package/dist/collection/components/action-card/action-card.js +4 -4
- package/dist/collection/components/action-card/action-card.js.map +1 -1
- package/dist/collection/components/action-card/action-card.types.js +2 -0
- package/dist/collection/components/action-card/action-card.types.js.map +1 -0
- 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/blind/blind.js +8 -8
- package/dist/collection/components/blind/blind.js.map +1 -1
- package/dist/collection/components/blind/blind.types.js +2 -0
- package/dist/collection/components/blind/blind.types.js.map +1 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/card/card.js +5 -5
- package/dist/collection/components/card/card.js.map +1 -1
- package/dist/collection/components/card/card.types.js +2 -0
- package/dist/collection/components/card/card.types.js.map +1 -0
- package/dist/collection/components/card-accordion/card-accordion.js +6 -6
- package/dist/collection/components/card-accordion/card-accordion.js.map +1 -1
- package/dist/collection/components/card-accordion/card-accordion.types.js +2 -0
- package/dist/collection/components/card-accordion/card-accordion.types.js.map +1 -0
- 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.js +3 -3
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/checkbox-group/checkbox-group.js +2 -2
- package/dist/collection/components/chip/chip.js +4 -4
- package/dist/collection/components/col/col.js +13 -13
- package/dist/collection/components/col/col.js.map +1 -1
- package/dist/collection/components/col/col.types.js +2 -0
- package/dist/collection/components/col/col.types.js.map +1 -0
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/content-header/content-header.js +4 -4
- package/dist/collection/components/content-header/content-header.js.map +1 -1
- package/dist/collection/components/content-header/content-header.types.js +2 -0
- package/dist/collection/components/content-header/content-header.types.js.map +1 -0
- package/dist/collection/components/css-grid/css-grid-item.js +1 -1
- package/dist/collection/components/css-grid/css-grid.js +4 -4
- package/dist/collection/components/css-grid/css-grid.js.map +1 -1
- package/dist/collection/components/css-grid/css-grid.types.js +2 -0
- package/dist/collection/components/css-grid/css-grid.types.js.map +1 -0
- package/dist/collection/components/custom-field/custom-field.js +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.js +13 -13
- package/dist/collection/components/date-dropdown/date-dropdown.js.map +1 -1
- package/dist/collection/components/date-dropdown/date-dropdown.types.js +2 -0
- package/dist/collection/components/date-dropdown/date-dropdown.types.js.map +1 -0
- package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js.map +1 -1
- package/dist/collection/components/date-input/date-input.js +6 -6
- package/dist/collection/components/date-input/date-input.js.map +1 -1
- package/dist/collection/components/date-input/date-input.types.js +2 -0
- package/dist/collection/components/date-input/date-input.types.js.map +1 -0
- package/dist/collection/components/date-picker/date-picker-component.js.map +1 -1
- package/dist/collection/components/date-picker/date-picker.events.js +2 -0
- package/dist/collection/components/date-picker/date-picker.events.js.map +1 -0
- package/dist/collection/components/date-picker/date-picker.js +17 -17
- package/dist/collection/components/date-picker/date-picker.js.map +1 -1
- package/dist/collection/components/date-time-card/date-time-card.js +5 -5
- package/dist/collection/components/date-time-card/date-time-card.js.map +1 -1
- package/dist/collection/components/date-time-card/date-time-card.types.js +2 -0
- package/dist/collection/components/date-time-card/date-time-card.types.js.map +1 -0
- package/dist/collection/components/datetime-picker/datetime-picker.js +7 -7
- package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -1
- package/dist/collection/components/datetime-picker/datetime-picker.types.js +2 -0
- package/dist/collection/components/datetime-picker/datetime-picker.types.js.map +1 -0
- package/dist/collection/components/divider/divider.js +1 -1
- package/dist/collection/components/drawer/drawer.js +5 -5
- package/dist/collection/components/dropdown/dropdown.js +2 -2
- package/dist/collection/components/dropdown-button/dropdown-button.js +5 -5
- package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -1
- package/dist/collection/components/dropdown-button/dropdown-button.types.js +2 -0
- package/dist/collection/components/dropdown-button/dropdown-button.types.js.map +1 -0
- 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 +4 -4
- package/dist/collection/components/empty-state/empty-state.js.map +1 -1
- package/dist/collection/components/empty-state/empty-state.types.js +2 -0
- package/dist/collection/components/empty-state/empty-state.types.js.map +1 -0
- package/dist/collection/components/event-list/event-list.js +2 -2
- package/dist/collection/components/event-list-item/event-list-item.js +4 -4
- package/dist/collection/components/expanding-search/expanding-search.js +4 -4
- package/dist/collection/components/field-label/field-label.js +1 -1
- package/dist/collection/components/field-wrapper/field-wrapper.js +2 -2
- package/dist/collection/components/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/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/helper-text/helper-text.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +4 -4
- package/dist/collection/components/icon-button/icon-button.js.map +1 -1
- package/dist/collection/components/icon-button/icon-button.types.js +2 -0
- package/dist/collection/components/icon-button/icon-button.types.js.map +1 -0
- package/dist/collection/components/icon-toggle-button/icon-toggle-button.js +1 -1
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input/number-input.js +6 -6
- package/dist/collection/components/input/textarea.js +5 -5
- package/dist/collection/components/input/textarea.js.map +1 -1
- package/dist/collection/components/input/textarea.types.js +2 -0
- package/dist/collection/components/input/textarea.types.js.map +1 -0
- package/dist/collection/components/input-group/input-group.js +1 -1
- package/dist/collection/components/key-value/key-value.js +4 -4
- package/dist/collection/components/key-value/key-value.js.map +1 -1
- package/dist/collection/components/key-value/key-value.types.js +2 -0
- package/dist/collection/components/key-value/key-value.types.js.map +1 -0
- package/dist/collection/components/key-value-list/key-value-list.js +1 -1
- package/dist/collection/components/kpi/kpi.js +3 -3
- package/dist/collection/components/layout-auto/layout-auto.js +1 -1
- package/dist/collection/components/layout-grid/layout-grid.js +2 -2
- package/dist/collection/components/link-button/link-button.js +3 -3
- package/dist/collection/components/map-navigation/map-navigation.js +2 -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 +12 -12
- 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 +6 -6
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/modal/modal.types.js +2 -0
- package/dist/collection/components/modal/modal.types.js.map +1 -0
- 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 +24 -24
- package/dist/collection/components/pane/pane.js.map +1 -1
- package/dist/collection/components/pane/pane.types.js +2 -0
- package/dist/collection/components/pane/pane.types.js.map +1 -0
- package/dist/collection/components/pane-layout/pane-layout.js +1 -1
- package/dist/collection/components/pane-layout/pane-layout.js.map +1 -1
- package/dist/collection/components/pill/pill.js +4 -4
- package/dist/collection/components/progress-indicator/circular.js.map +1 -1
- package/dist/collection/components/progress-indicator/progress-indicator.js +6 -6
- package/dist/collection/components/progress-indicator/progress-indicator.js.map +1 -1
- package/dist/collection/components/progress-indicator/progress-indicator.types.js +2 -0
- package/dist/collection/components/progress-indicator/progress-indicator.types.js.map +1 -0
- package/dist/collection/components/push-card/push-card.js +4 -4
- package/dist/collection/components/push-card/push-card.js.map +1 -1
- package/dist/collection/components/push-card/push-card.types.js +2 -0
- package/dist/collection/components/push-card/push-card.types.js.map +1 -0
- package/dist/collection/components/radio/radio.js +4 -4
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/select/select.js +8 -8
- package/dist/collection/components/select-item/select-item.js +1 -1
- package/dist/collection/components/slider/slider.js +9 -9
- package/dist/collection/components/slider/slider.js.map +1 -1
- package/dist/collection/components/slider/slider.types.js +2 -0
- package/dist/collection/components/slider/slider.types.js.map +1 -0
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +4 -4
- package/dist/collection/components/split-button/split-button.js.map +1 -1
- package/dist/collection/components/split-button/split-button.types.js +2 -0
- package/dist/collection/components/split-button/split-button.types.js.map +1 -0
- package/dist/collection/components/tab-item/tab-item.js +6 -6
- package/dist/collection/components/tab-item/tab-item.js.map +1 -1
- package/dist/collection/components/tab-item/tab-item.types.js +2 -0
- package/dist/collection/components/tab-item/tab-item.types.js.map +1 -0
- package/dist/collection/components/tabs/tabs.js +2 -2
- package/dist/collection/components/tile/tile.js +4 -4
- package/dist/collection/components/time-input/time-input.js +6 -6
- package/dist/collection/components/time-input/time-input.js.map +1 -1
- package/dist/collection/components/time-input/time-input.types.js +2 -0
- package/dist/collection/components/time-input/time-input.types.js.map +1 -0
- package/dist/collection/components/time-picker/time-picker.js +7 -7
- package/dist/collection/components/time-picker/time-picker.js.map +1 -1
- package/dist/collection/components/time-picker/time-picker.types.js +2 -0
- package/dist/collection/components/time-picker/time-picker.types.js.map +1 -0
- package/dist/collection/components/toast/toast-container.js +5 -5
- package/dist/collection/components/toast/toast-container.js.map +1 -1
- package/dist/collection/components/toast/toast-container.types.js +2 -0
- package/dist/collection/components/toast/toast-container.types.js.map +1 -0
- package/dist/collection/components/toast/toast-utils.js.map +1 -1
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toggle-button/toggle-button.js +2 -2
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +4 -4
- package/dist/collection/components/typography/typography.js +10 -10
- package/dist/collection/components/typography/typography.js.map +1 -1
- package/dist/collection/components/typography/typography.types.js +2 -0
- package/dist/collection/components/typography/typography.types.js.map +1 -0
- package/dist/collection/components/utils/modal/modal.js.map +1 -1
- package/dist/collection/index.js +1 -19
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/public-api.js +22 -0
- package/dist/collection/public-api.js.map +1 -0
- package/dist/esm/base-button-CKT5FMT1.js +71 -0
- package/dist/esm/base-button-CKT5FMT1.js.map +1 -0
- package/dist/esm/base-icon-button-7cQMdhTz.js +19 -0
- package/dist/esm/base-icon-button-7cQMdhTz.js.map +1 -0
- package/dist/esm/helper-text-util-CBCAKFyG.js +42 -0
- package/dist/esm/helper-text-util-CBCAKFyG.js.map +1 -0
- package/dist/esm/index-DJsXFBNm.js +2702 -0
- package/dist/esm/index-DJsXFBNm.js.map +1 -0
- package/dist/esm/index.js +2 -17
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/input.util-DGHGYsFM.js +203 -0
- package/dist/esm/input.util-DGHGYsFM.js.map +1 -0
- package/dist/esm/ix-action-card.entry.js +2 -2
- package/dist/esm/ix-action-card.entry.js.map +1 -1
- package/dist/esm/ix-application-header.entry.js +4 -4
- 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 +4 -4
- package/dist/esm/ix-avatar_2.entry.js +3 -3
- package/dist/esm/ix-basic-navigation.entry.js +3 -3
- package/dist/esm/ix-blind.entry.js +6 -6
- package/dist/esm/ix-blind.entry.js.map +1 -1
- package/dist/esm/ix-breadcrumb-item.entry.js +2 -2
- package/dist/esm/ix-breadcrumb-item.entry.js.map +1 -1
- package/dist/esm/ix-breadcrumb.entry.js +3 -3
- package/dist/esm/ix-button.entry.js +4 -4
- package/dist/esm/ix-card-accordion.ix-card-title.entry.js.map +1 -1
- package/dist/esm/ix-card-accordion_2.entry.js +5 -5
- package/dist/esm/ix-card-accordion_2.entry.js.map +1 -1
- package/dist/esm/ix-card-list.entry.js +5 -5
- package/dist/esm/ix-card.ix-card-content.entry.js.map +1 -1
- package/dist/esm/ix-card_2.entry.js +4 -4
- package/dist/esm/ix-card_2.entry.js.map +1 -1
- package/dist/esm/ix-category-filter.entry.js +5 -5
- package/dist/esm/ix-checkbox-group.entry.js +4 -4
- package/dist/esm/ix-checkbox.entry.js +5 -5
- package/dist/esm/ix-chip.entry.js +5 -5
- package/dist/esm/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.js.map +1 -1
- package/dist/esm/ix-col_4.entry.js +12 -12
- package/dist/esm/ix-col_4.entry.js.map +1 -1
- package/dist/esm/ix-content-header.entry.js +2 -2
- package/dist/esm/ix-content-header.entry.js.map +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 +2 -2
- package/dist/esm/ix-css-grid.entry.js.map +1 -1
- package/dist/esm/ix-custom-field.entry.js +3 -3
- package/dist/esm/ix-date-dropdown.entry.js +5 -5
- package/dist/esm/ix-date-dropdown.entry.js.map +1 -1
- package/dist/esm/ix-date-input.entry.js +6 -6
- package/dist/esm/ix-date-input.entry.js.map +1 -1
- package/dist/esm/ix-date-time-card.entry.js +3 -3
- package/dist/esm/ix-date-time-card.entry.js.map +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +2 -2
- package/dist/esm/ix-datetime-picker.entry.js.map +1 -1
- package/dist/esm/ix-divider.entry.js +2 -2
- package/dist/esm/ix-drawer.entry.js +6 -6
- package/dist/esm/ix-dropdown-button.entry.js +3 -3
- package/dist/esm/ix-dropdown-button.entry.js.map +1 -1
- 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 +3 -3
- package/dist/esm/ix-empty-state.entry.js +2 -2
- package/dist/esm/ix-empty-state.entry.js.map +1 -1
- package/dist/esm/ix-event-list-item.entry.js +5 -5
- package/dist/esm/ix-event-list.entry.js +3 -3
- package/dist/esm/ix-expanding-search.entry.js +5 -5
- package/dist/esm/ix-field-label_2.entry.js +6 -6
- 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-group-context-menu_2.entry.js +4 -4
- package/dist/esm/ix-group.entry.js +9 -9
- package/dist/esm/ix-helper-text.entry.js +4 -4
- package/dist/esm/ix-icon-button.ix-spinner.entry.js.map +1 -1
- package/dist/esm/ix-icon-button_2.entry.js +5 -5
- package/dist/esm/ix-icon-button_2.entry.js.map +1 -1
- package/dist/esm/ix-icon-toggle-button.entry.js +4 -4
- package/dist/esm/ix-input-group.entry.js +2 -2
- package/dist/esm/ix-input.entry.js +7 -7
- 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-key-value.entry.js.map +1 -1
- package/dist/esm/ix-kpi.entry.js +4 -4
- package/dist/esm/ix-layout-auto.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/ix-menu-item.entry.js +4 -4
- package/dist/esm/ix-menu-settings-B56_taBh.js +118 -0
- package/dist/esm/ix-menu-settings-B56_taBh.js.map +1 -0
- 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-footer.entry.js +2 -2
- package/dist/esm/ix-modal-loading.entry.js +2 -2
- package/dist/esm/ix-modal.entry.js +5 -5
- package/dist/esm/ix-modal.entry.js.map +1 -1
- package/dist/esm/ix-number-input.entry.js +9 -9
- package/dist/esm/ix-pagination.entry.js +4 -4
- package/dist/esm/ix-pane-layout.entry.js +2 -2
- package/dist/esm/ix-pane-layout.entry.js.map +1 -1
- package/dist/esm/ix-pane.entry.js +7 -7
- package/dist/esm/ix-pane.entry.js.map +1 -1
- package/dist/esm/ix-pill.entry.js +5 -5
- package/dist/esm/ix-progress-indicator.entry.js +4 -4
- package/dist/esm/ix-progress-indicator.entry.js.map +1 -1
- package/dist/esm/ix-push-card.entry.js +2 -2
- package/dist/esm/ix-push-card.entry.js.map +1 -1
- package/dist/esm/ix-radio-group.entry.js +4 -4
- package/dist/esm/ix-radio.entry.js +6 -6
- package/dist/esm/ix-select.entry.js +11 -11
- package/dist/esm/ix-slider.entry.js +8 -8
- package/dist/esm/ix-slider.entry.js.map +1 -1
- package/dist/esm/ix-split-button.entry.js +2 -2
- package/dist/esm/ix-split-button.entry.js.map +1 -1
- package/dist/esm/ix-tab-item.ix-tabs.entry.js.map +1 -1
- package/dist/esm/ix-tab-item_2.entry.js +6 -6
- package/dist/esm/ix-tab-item_2.entry.js.map +1 -1
- package/dist/esm/ix-textarea.entry.js +5 -5
- package/dist/esm/ix-textarea.entry.js.map +1 -1
- package/dist/esm/ix-tile.entry.js +5 -5
- package/dist/esm/ix-time-input.entry.js +6 -6
- package/dist/esm/ix-time-input.entry.js.map +1 -1
- package/dist/esm/ix-time-picker.entry.js +6 -6
- 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-container.entry.js.map +1 -1
- package/dist/esm/ix-toast.entry.js +3 -3
- package/dist/esm/ix-toggle-button.entry.js +4 -4
- package/dist/esm/ix-toggle.entry.js +5 -5
- package/dist/esm/ix-tooltip.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/ix-typography.entry.js.map +1 -1
- package/dist/esm/ix-upload.entry.js +1 -1
- package/dist/esm/ix-validation-tooltip.entry.js +1 -1
- package/dist/esm/ix-workflow-step.entry.js +1 -1
- package/dist/esm/ix-workflow-steps.entry.js +1 -1
- package/dist/esm/listener-B0yYRvMl.js +76 -0
- package/dist/esm/listener-B0yYRvMl.js.map +1 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/modal-BldRA6Um.js.map +1 -1
- package/dist/esm/siemens-ix.js +2 -2
- package/dist/esm/validation-gQpVWmEm.js +118 -0
- package/dist/esm/validation-gQpVWmEm.js.map +1 -0
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/index.esm.js.map +1 -1
- package/dist/siemens-ix/ix-action-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-blind.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-breadcrumb-item.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-card-accordion.ix-card-title.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-card.ix-card-content.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-col.ix-date-picker.ix-layout-grid.ix-row.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-content-header.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-css-grid.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-dropdown.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-date-time-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-datetime-picker.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-dropdown-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-empty-state.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-icon-button.ix-spinner.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-key-value.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-modal.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pane-layout.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-pane.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-progress-indicator.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-push-card.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-slider.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-split-button.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-tab-item.ix-tabs.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-textarea.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-time-input.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-time-picker.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-toast-container.entry.esm.js.map +1 -1
- package/dist/siemens-ix/ix-typography.entry.esm.js.map +1 -1
- package/dist/siemens-ix/p--JQiLjHw.js +2 -0
- package/dist/siemens-ix/p--JQiLjHw.js.map +1 -0
- package/dist/siemens-ix/p-003ae2cf.entry.js +2 -0
- package/dist/siemens-ix/p-00eff8b5.entry.js +2 -0
- package/dist/siemens-ix/p-0195766f.entry.js +2 -0
- package/dist/siemens-ix/p-025c5b1b.entry.js +2 -0
- package/dist/siemens-ix/p-03b8e425.entry.js +2 -0
- package/dist/siemens-ix/p-04527b1e.entry.js +2 -0
- package/dist/siemens-ix/p-07b2da86.entry.js +2 -0
- package/dist/siemens-ix/p-0935e05e.entry.js +2 -0
- package/dist/siemens-ix/p-0935e05e.entry.js.map +1 -0
- package/dist/siemens-ix/p-098aa857.entry.js +2 -0
- package/dist/siemens-ix/p-0b2e7f25.entry.js +2 -0
- package/dist/siemens-ix/p-0b2e7f25.entry.js.map +1 -0
- package/dist/siemens-ix/p-130ffc16.entry.js +2 -0
- package/dist/siemens-ix/p-13b5f3c3.entry.js +2 -0
- package/dist/siemens-ix/p-14d2042d.entry.js +2 -0
- package/dist/siemens-ix/p-15e0db51.entry.js +2 -0
- package/dist/siemens-ix/p-15e0db51.entry.js.map +1 -0
- package/dist/siemens-ix/p-173dfb9e.entry.js +2 -0
- package/dist/siemens-ix/p-173dfb9e.entry.js.map +1 -0
- package/dist/siemens-ix/p-19501b80.entry.js +2 -0
- package/dist/siemens-ix/p-1df6d18f.entry.js +2 -0
- package/dist/siemens-ix/p-1fdfe35a.entry.js +2 -0
- package/dist/siemens-ix/p-2642d96b.entry.js +2 -0
- package/dist/siemens-ix/p-28aece6e.entry.js +2 -0
- package/dist/siemens-ix/p-29d44cef.entry.js +2 -0
- package/dist/siemens-ix/p-2db9bcfa.entry.js +2 -0
- package/dist/siemens-ix/p-2db9bcfa.entry.js.map +1 -0
- package/dist/siemens-ix/p-2f2dfb6e.entry.js +2 -0
- package/dist/siemens-ix/p-2f9b9e7a.entry.js +2 -0
- package/dist/siemens-ix/p-326c0944.entry.js +2 -0
- package/dist/siemens-ix/p-326c0944.entry.js.map +1 -0
- package/dist/siemens-ix/p-35054c78.entry.js +2 -0
- package/dist/siemens-ix/p-35054c78.entry.js.map +1 -0
- package/dist/siemens-ix/p-36b894a2.entry.js +2 -0
- package/dist/siemens-ix/p-36b894a2.entry.js.map +1 -0
- package/dist/siemens-ix/p-3b45287a.entry.js +2 -0
- package/dist/siemens-ix/p-3b45287a.entry.js.map +1 -0
- package/dist/siemens-ix/p-440a0ee0.entry.js +2 -0
- package/dist/siemens-ix/p-44be2535.entry.js +2 -0
- package/dist/siemens-ix/p-44be2535.entry.js.map +1 -0
- package/dist/siemens-ix/p-456ca686.entry.js +2 -0
- package/dist/siemens-ix/p-456ca686.entry.js.map +1 -0
- package/dist/siemens-ix/p-4657ec52.entry.js +2 -0
- package/dist/siemens-ix/p-4657ec52.entry.js.map +1 -0
- package/dist/siemens-ix/p-472c1d6b.entry.js +2 -0
- package/dist/siemens-ix/p-47f395be.entry.js +2 -0
- package/dist/siemens-ix/p-483bc052.entry.js +2 -0
- package/dist/siemens-ix/p-4959b8e6.entry.js +2 -0
- package/dist/siemens-ix/p-4e2b30a4.entry.js +2 -0
- package/dist/siemens-ix/p-4e2b30a4.entry.js.map +1 -0
- package/dist/siemens-ix/p-4ef7a072.entry.js +2 -0
- package/dist/siemens-ix/p-4ef7a072.entry.js.map +1 -0
- package/dist/siemens-ix/p-4fe2d0f7.entry.js +2 -0
- package/dist/siemens-ix/p-518b5533.entry.js +2 -0
- package/dist/siemens-ix/p-518b5533.entry.js.map +1 -0
- package/dist/siemens-ix/p-5b22342c.entry.js +2 -0
- package/dist/siemens-ix/p-605a9fe8.entry.js +2 -0
- package/dist/siemens-ix/p-6337e880.entry.js +2 -0
- package/dist/siemens-ix/p-6549edf0.entry.js +2 -0
- package/dist/siemens-ix/p-66d20585.entry.js +2 -0
- package/dist/siemens-ix/p-6adde42d.entry.js +2 -0
- package/dist/siemens-ix/p-6cc448b4.entry.js +2 -0
- package/dist/siemens-ix/p-7011678e.entry.js +2 -0
- package/dist/siemens-ix/p-7111f065.entry.js +2 -0
- package/dist/siemens-ix/p-71c14a29.entry.js +2 -0
- package/dist/siemens-ix/p-71c14a29.entry.js.map +1 -0
- package/dist/siemens-ix/p-76f59fa5.entry.js +2 -0
- package/dist/siemens-ix/p-777675ce.entry.js +2 -0
- package/dist/siemens-ix/p-7a336485.entry.js +2 -0
- package/dist/siemens-ix/p-7a336485.entry.js.map +1 -0
- package/dist/siemens-ix/p-8d4558b9.entry.js +2 -0
- package/dist/siemens-ix/p-8fcada5a.entry.js +2 -0
- package/dist/siemens-ix/p-91ba2527.entry.js +2 -0
- package/dist/siemens-ix/p-97693d72.entry.js +2 -0
- package/dist/siemens-ix/p-97a53af6.entry.js +2 -0
- package/dist/siemens-ix/p-981dae13.entry.js +2 -0
- package/dist/siemens-ix/p-981dae13.entry.js.map +1 -0
- package/dist/siemens-ix/p-988f37da.entry.js +2 -0
- package/dist/siemens-ix/p-9f74e709.entry.js +2 -0
- package/dist/siemens-ix/p-9f74e709.entry.js.map +1 -0
- package/dist/siemens-ix/p-9f7d82d2.entry.js +2 -0
- package/dist/siemens-ix/p-BsJawkTz.js +2 -0
- package/dist/siemens-ix/p-BsJawkTz.js.map +1 -0
- package/dist/siemens-ix/p-BxQZld1q.js.map +1 -1
- package/dist/siemens-ix/p-CFsAnuUU.js +2 -0
- package/dist/siemens-ix/p-CFsAnuUU.js.map +1 -0
- package/dist/siemens-ix/p-CpY7qbN7.js +2 -0
- package/dist/siemens-ix/p-CpY7qbN7.js.map +1 -0
- package/dist/siemens-ix/p-Cpl-a_ti.js +2 -0
- package/dist/siemens-ix/p-Cpl-a_ti.js.map +1 -0
- package/dist/siemens-ix/p-CthRnoDv.js +2 -0
- package/dist/siemens-ix/p-CthRnoDv.js.map +1 -0
- package/dist/siemens-ix/p-DJsXFBNm.js +3 -0
- package/dist/siemens-ix/p-DJsXFBNm.js.map +1 -0
- package/dist/siemens-ix/p-_tyNUrlp.js +2 -0
- package/dist/siemens-ix/p-_tyNUrlp.js.map +1 -0
- package/dist/siemens-ix/p-a43c4907.entry.js +2 -0
- package/dist/siemens-ix/p-a6ea8bc6.entry.js +2 -0
- package/dist/siemens-ix/p-a6ea8bc6.entry.js.map +1 -0
- package/dist/siemens-ix/p-a7bdd5fd.entry.js +2 -0
- package/dist/siemens-ix/p-a7bdd5fd.entry.js.map +1 -0
- package/dist/siemens-ix/p-a8cd5e58.entry.js +2 -0
- package/dist/siemens-ix/p-a8cd5e58.entry.js.map +1 -0
- package/dist/siemens-ix/p-a9336906.entry.js +2 -0
- package/dist/siemens-ix/p-a9336906.entry.js.map +1 -0
- package/dist/siemens-ix/p-a9ec8094.entry.js +2 -0
- package/dist/siemens-ix/p-aa2dd2c3.entry.js +2 -0
- package/dist/siemens-ix/p-aa2dd2c3.entry.js.map +1 -0
- package/dist/siemens-ix/p-afd392d5.entry.js +2 -0
- package/dist/siemens-ix/p-b00517df.entry.js +2 -0
- package/dist/siemens-ix/p-b3d4d2cd.entry.js +2 -0
- package/dist/siemens-ix/p-b548335e.entry.js +2 -0
- package/dist/siemens-ix/p-b735b8ce.entry.js +2 -0
- package/dist/siemens-ix/p-ba24447f.entry.js +2 -0
- package/dist/siemens-ix/p-ba24447f.entry.js.map +1 -0
- package/dist/siemens-ix/p-bec289d7.entry.js +2 -0
- package/dist/siemens-ix/p-bf7fbdfc.entry.js +2 -0
- package/dist/siemens-ix/p-bf8dd5a1.entry.js +2 -0
- package/dist/siemens-ix/p-c050d511.entry.js +2 -0
- package/dist/siemens-ix/p-c050d511.entry.js.map +1 -0
- package/dist/siemens-ix/p-c24a5925.entry.js +2 -0
- package/dist/siemens-ix/p-c24a5925.entry.js.map +1 -0
- package/dist/siemens-ix/p-c5f8ccc9.entry.js +2 -0
- package/dist/siemens-ix/p-c9ab3079.entry.js +2 -0
- package/dist/siemens-ix/p-c9ab3079.entry.js.map +1 -0
- package/dist/siemens-ix/p-c9d48927.entry.js +2 -0
- package/dist/siemens-ix/p-ce3aebe6.entry.js +2 -0
- package/dist/siemens-ix/p-cf052f87.entry.js +2 -0
- package/dist/siemens-ix/p-cf052f87.entry.js.map +1 -0
- package/dist/siemens-ix/p-d0c1473e.entry.js +2 -0
- package/dist/siemens-ix/p-d0c1473e.entry.js.map +1 -0
- package/dist/siemens-ix/p-d3458382.entry.js +2 -0
- package/dist/siemens-ix/p-d605b181.entry.js +2 -0
- package/dist/siemens-ix/p-db6d5110.entry.js +2 -0
- package/dist/siemens-ix/p-db6d5110.entry.js.map +1 -0
- package/dist/siemens-ix/p-de79e8c0.entry.js +2 -0
- package/dist/siemens-ix/p-de79e8c0.entry.js.map +1 -0
- package/dist/siemens-ix/p-dfb5f7d8.entry.js +2 -0
- package/dist/siemens-ix/p-dfe4de85.entry.js +2 -0
- package/dist/siemens-ix/p-ea142215.entry.js +2 -0
- package/dist/siemens-ix/p-ead88218.entry.js +2 -0
- package/dist/siemens-ix/p-ec7cd008.entry.js +2 -0
- package/dist/siemens-ix/p-ecd576f8.entry.js +2 -0
- package/dist/siemens-ix/p-ecd576f8.entry.js.map +1 -0
- package/dist/siemens-ix/p-ee2902a5.entry.js +2 -0
- package/dist/siemens-ix/p-f4415d44.entry.js +2 -0
- package/dist/siemens-ix/p-f4ce72e4.entry.js +2 -0
- package/dist/siemens-ix/p-f4ce72e4.entry.js.map +1 -0
- package/dist/siemens-ix/p-f6a6694e.entry.js +2 -0
- package/dist/siemens-ix/p-f6a6694e.entry.js.map +1 -0
- package/dist/siemens-ix/p-fbacd6eb.entry.js +2 -0
- package/dist/siemens-ix/p-fbacd6eb.entry.js.map +1 -0
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/action-card/action-card.d.ts +1 -2
- package/dist/types/components/action-card/action-card.types.d.ts +2 -0
- package/dist/types/components/blind/blind.d.ts +1 -2
- package/dist/types/components/blind/blind.types.d.ts +2 -0
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +0 -1
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/card/card.types.d.ts +1 -0
- package/dist/types/components/card-accordion/card-accordion.d.ts +1 -4
- package/dist/types/components/card-accordion/card-accordion.types.d.ts +4 -0
- package/dist/types/components/col/col.d.ts +1 -1
- package/dist/types/components/col/col.types.d.ts +1 -0
- package/dist/types/components/content-header/content-header.d.ts +1 -1
- package/dist/types/components/content-header/content-header.types.d.ts +1 -0
- package/dist/types/components/css-grid/css-grid.d.ts +1 -1
- package/dist/types/components/css-grid/css-grid.types.d.ts +1 -0
- package/dist/types/components/date-dropdown/date-dropdown.d.ts +1 -11
- package/dist/types/components/date-dropdown/date-dropdown.types.d.ts +11 -0
- package/dist/types/components/date-input/date-input.d.ts +1 -4
- package/dist/types/components/date-input/date-input.types.d.ts +4 -0
- package/dist/types/components/date-picker/date-picker-component.d.ts +1 -1
- package/dist/types/components/date-picker/date-picker.d.ts +2 -5
- package/dist/types/components/date-picker/date-picker.events.d.ts +4 -0
- package/dist/types/components/date-time-card/date-time-card.d.ts +1 -1
- package/dist/types/components/date-time-card/date-time-card.types.d.ts +1 -0
- package/dist/types/components/datetime-picker/datetime-picker.d.ts +1 -6
- package/dist/types/components/datetime-picker/datetime-picker.types.d.ts +6 -0
- package/dist/types/components/dropdown-button/dropdown-button.d.ts +1 -2
- package/dist/types/components/dropdown-button/dropdown-button.types.d.ts +2 -0
- package/dist/types/components/empty-state/empty-state.d.ts +1 -1
- package/dist/types/components/empty-state/empty-state.types.d.ts +1 -0
- package/dist/types/components/icon-button/icon-button.d.ts +1 -2
- package/dist/types/components/icon-button/icon-button.types.d.ts +2 -0
- package/dist/types/components/input/textarea.d.ts +1 -1
- package/dist/types/components/input/textarea.types.d.ts +1 -0
- package/dist/types/components/key-value/key-value.d.ts +1 -1
- package/dist/types/components/key-value/key-value.types.d.ts +1 -0
- package/dist/types/components/modal/modal.d.ts +1 -3
- package/dist/types/components/modal/modal.types.d.ts +3 -0
- package/dist/types/components/pane/pane.d.ts +1 -21
- package/dist/types/components/pane/pane.types.d.ts +21 -0
- package/dist/types/components/progress-indicator/circular.d.ts +1 -1
- package/dist/types/components/progress-indicator/progress-indicator.d.ts +1 -1
- package/dist/types/components/progress-indicator/progress-indicator.types.d.ts +1 -0
- package/dist/types/components/push-card/push-card.d.ts +1 -2
- package/dist/types/components/push-card/push-card.types.d.ts +2 -0
- package/dist/types/components/slider/slider.d.ts +1 -1
- package/dist/types/components/slider/slider.types.d.ts +1 -0
- package/dist/types/components/split-button/split-button.d.ts +1 -2
- package/dist/types/components/split-button/split-button.types.d.ts +2 -0
- package/dist/types/components/tab-item/tab-item.d.ts +1 -3
- package/dist/types/components/tab-item/tab-item.types.d.ts +3 -0
- package/dist/types/components/time-input/time-input.d.ts +1 -4
- package/dist/types/components/time-input/time-input.types.d.ts +4 -0
- package/dist/types/components/time-picker/time-picker.d.ts +1 -2
- package/dist/types/components/time-picker/time-picker.types.d.ts +2 -0
- package/dist/types/components/toast/toast-container.d.ts +1 -5
- package/dist/types/components/toast/toast-container.types.d.ts +5 -0
- package/dist/types/components/toast/toast-utils.d.ts +1 -1
- package/dist/types/components/typography/typography.d.ts +1 -10
- package/dist/types/components/typography/typography.types.d.ts +10 -0
- package/dist/types/components/utils/modal/modal.d.ts +1 -1
- package/dist/types/components.d.ts +58 -60
- package/dist/types/index.d.ts +3 -16
- package/dist/types/public-api.d.ts +15 -0
- package/hydrate/index.js +256 -256
- package/hydrate/index.mjs +256 -256
- package/package.json +4 -5
- package/components/custom-elements.d.ts +0 -10
- package/components/index.d.ts +0 -33
- package/components/index.js +0 -137
- package/components/index.js.map +0 -1
- package/components/ix-action-card.d.ts +0 -11
- package/components/ix-action-card.js +0 -72
- package/components/ix-action-card.js.map +0 -1
- package/components/ix-application-header.d.ts +0 -11
- package/components/ix-application-header.js +0 -9
- package/components/ix-application-header.js.map +0 -1
- package/components/ix-application-sidebar.d.ts +0 -11
- package/components/ix-application-sidebar.js +0 -64
- package/components/ix-application-sidebar.js.map +0 -1
- package/components/ix-application-switch-modal.d.ts +0 -11
- package/components/ix-application-switch-modal.js +0 -106
- package/components/ix-application-switch-modal.js.map +0 -1
- package/components/ix-application.d.ts +0 -11
- package/components/ix-application.js +0 -148
- package/components/ix-application.js.map +0 -1
- package/components/ix-avatar.d.ts +0 -11
- package/components/ix-avatar.js +0 -9
- package/components/ix-avatar.js.map +0 -1
- package/components/ix-basic-navigation.d.ts +0 -11
- package/components/ix-basic-navigation.js +0 -154
- package/components/ix-basic-navigation.js.map +0 -1
- package/components/ix-blind.d.ts +0 -11
- package/components/ix-blind.js +0 -130
- package/components/ix-blind.js.map +0 -1
- package/components/ix-breadcrumb-item.d.ts +0 -11
- package/components/ix-breadcrumb-item.js +0 -9
- package/components/ix-breadcrumb-item.js.map +0 -1
- package/components/ix-breadcrumb.d.ts +0 -11
- package/components/ix-breadcrumb.js +0 -169
- package/components/ix-breadcrumb.js.map +0 -1
- package/components/ix-button.d.ts +0 -11
- package/components/ix-button.js +0 -9
- package/components/ix-button.js.map +0 -1
- package/components/ix-card-accordion.d.ts +0 -11
- package/components/ix-card-accordion.js +0 -9
- package/components/ix-card-accordion.js.map +0 -1
- package/components/ix-card-content.d.ts +0 -11
- package/components/ix-card-content.js +0 -9
- package/components/ix-card-content.js.map +0 -1
- package/components/ix-card-list.d.ts +0 -11
- package/components/ix-card-list.js +0 -256
- package/components/ix-card-list.js.map +0 -1
- package/components/ix-card-title.d.ts +0 -11
- package/components/ix-card-title.js +0 -9
- package/components/ix-card-title.js.map +0 -1
- package/components/ix-card.d.ts +0 -11
- package/components/ix-card.js +0 -9
- package/components/ix-card.js.map +0 -1
- package/components/ix-category-filter.d.ts +0 -11
- package/components/ix-category-filter.js +0 -600
- package/components/ix-category-filter.js.map +0 -1
- package/components/ix-checkbox-group.d.ts +0 -11
- package/components/ix-checkbox-group.js +0 -158
- package/components/ix-checkbox-group.js.map +0 -1
- package/components/ix-checkbox.d.ts +0 -11
- package/components/ix-checkbox.js +0 -163
- package/components/ix-checkbox.js.map +0 -1
- package/components/ix-chip.d.ts +0 -11
- package/components/ix-chip.js +0 -154
- package/components/ix-chip.js.map +0 -1
- package/components/ix-col.d.ts +0 -11
- package/components/ix-col.js +0 -9
- package/components/ix-col.js.map +0 -1
- package/components/ix-content-header.d.ts +0 -11
- package/components/ix-content-header.js +0 -73
- package/components/ix-content-header.js.map +0 -1
- package/components/ix-content.d.ts +0 -11
- package/components/ix-content.js +0 -49
- package/components/ix-content.js.map +0 -1
- package/components/ix-css-grid-item.d.ts +0 -11
- package/components/ix-css-grid-item.js +0 -40
- package/components/ix-css-grid-item.js.map +0 -1
- package/components/ix-css-grid.d.ts +0 -11
- package/components/ix-css-grid.js +0 -117
- package/components/ix-css-grid.js.map +0 -1
- package/components/ix-custom-field.d.ts +0 -11
- package/components/ix-custom-field.js +0 -112
- package/components/ix-custom-field.js.map +0 -1
- package/components/ix-date-dropdown.d.ts +0 -11
- package/components/ix-date-dropdown.js +0 -368
- package/components/ix-date-dropdown.js.map +0 -1
- package/components/ix-date-input.d.ts +0 -11
- package/components/ix-date-input.js +0 -393
- package/components/ix-date-input.js.map +0 -1
- package/components/ix-date-picker.d.ts +0 -11
- package/components/ix-date-picker.js +0 -9
- package/components/ix-date-picker.js.map +0 -1
- package/components/ix-date-time-card.d.ts +0 -11
- package/components/ix-date-time-card.js +0 -9
- package/components/ix-date-time-card.js.map +0 -1
- package/components/ix-datetime-picker.d.ts +0 -11
- package/components/ix-datetime-picker.js +0 -204
- package/components/ix-datetime-picker.js.map +0 -1
- package/components/ix-divider.d.ts +0 -11
- package/components/ix-divider.js +0 -9
- package/components/ix-divider.js.map +0 -1
- package/components/ix-drawer.d.ts +0 -11
- package/components/ix-drawer.js +0 -200
- package/components/ix-drawer.js.map +0 -1
- package/components/ix-dropdown-button.d.ts +0 -11
- package/components/ix-dropdown-button.js +0 -106
- package/components/ix-dropdown-button.js.map +0 -1
- package/components/ix-dropdown-header.d.ts +0 -11
- package/components/ix-dropdown-header.js +0 -44
- package/components/ix-dropdown-header.js.map +0 -1
- package/components/ix-dropdown-item.d.ts +0 -11
- package/components/ix-dropdown-item.js +0 -9
- package/components/ix-dropdown-item.js.map +0 -1
- package/components/ix-dropdown-quick-actions.d.ts +0 -11
- package/components/ix-dropdown-quick-actions.js +0 -36
- package/components/ix-dropdown-quick-actions.js.map +0 -1
- package/components/ix-dropdown.d.ts +0 -11
- package/components/ix-dropdown.js +0 -9
- package/components/ix-dropdown.js.map +0 -1
- package/components/ix-empty-state.d.ts +0 -11
- package/components/ix-empty-state.js +0 -65
- package/components/ix-empty-state.js.map +0 -1
- package/components/ix-event-list-item.d.ts +0 -11
- package/components/ix-event-list-item.js +0 -72
- package/components/ix-event-list-item.js.map +0 -1
- package/components/ix-event-list.d.ts +0 -11
- package/components/ix-event-list.js +0 -173
- package/components/ix-event-list.js.map +0 -1
- package/components/ix-expanding-search.d.ts +0 -11
- package/components/ix-expanding-search.js +0 -145
- package/components/ix-expanding-search.js.map +0 -1
- package/components/ix-field-label.d.ts +0 -11
- package/components/ix-field-label.js +0 -9
- 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 -9
- package/components/ix-field-wrapper.js.map +0 -1
- package/components/ix-filter-chip.d.ts +0 -11
- package/components/ix-filter-chip.js +0 -9
- package/components/ix-filter-chip.js.map +0 -1
- package/components/ix-flip-tile-content.d.ts +0 -11
- package/components/ix-flip-tile-content.js +0 -44
- package/components/ix-flip-tile-content.js.map +0 -1
- package/components/ix-flip-tile.d.ts +0 -11
- package/components/ix-flip-tile.js +0 -153
- package/components/ix-flip-tile.js.map +0 -1
- package/components/ix-group-context-menu.d.ts +0 -11
- package/components/ix-group-context-menu.js +0 -9
- package/components/ix-group-context-menu.js.map +0 -1
- package/components/ix-group-item.d.ts +0 -11
- package/components/ix-group-item.js +0 -9
- package/components/ix-group-item.js.map +0 -1
- package/components/ix-group.d.ts +0 -11
- package/components/ix-group.js +0 -221
- package/components/ix-group.js.map +0 -1
- package/components/ix-helper-text.d.ts +0 -11
- package/components/ix-helper-text.js +0 -95
- package/components/ix-helper-text.js.map +0 -1
- package/components/ix-icon-button.d.ts +0 -11
- package/components/ix-icon-button.js +0 -9
- package/components/ix-icon-button.js.map +0 -1
- package/components/ix-icon-toggle-button.d.ts +0 -11
- package/components/ix-icon-toggle-button.js +0 -149
- package/components/ix-icon-toggle-button.js.map +0 -1
- package/components/ix-input-group.d.ts +0 -11
- package/components/ix-input-group.js +0 -152
- package/components/ix-input-group.js.map +0 -1
- package/components/ix-input.d.ts +0 -11
- package/components/ix-input.js +0 -248
- package/components/ix-input.js.map +0 -1
- package/components/ix-key-value-list.d.ts +0 -11
- package/components/ix-key-value-list.js +0 -42
- package/components/ix-key-value-list.js.map +0 -1
- package/components/ix-key-value.d.ts +0 -11
- package/components/ix-key-value.js +0 -48
- package/components/ix-key-value.js.map +0 -1
- package/components/ix-kpi.d.ts +0 -11
- package/components/ix-kpi.js +0 -74
- package/components/ix-kpi.js.map +0 -1
- package/components/ix-layout-auto.d.ts +0 -11
- package/components/ix-layout-auto.js +0 -113
- package/components/ix-layout-auto.js.map +0 -1
- package/components/ix-layout-grid.d.ts +0 -11
- package/components/ix-layout-grid.js +0 -9
- package/components/ix-layout-grid.js.map +0 -1
- package/components/ix-link-button.d.ts +0 -11
- package/components/ix-link-button.js +0 -57
- package/components/ix-link-button.js.map +0 -1
- package/components/ix-map-navigation-overlay.d.ts +0 -11
- package/components/ix-map-navigation-overlay.js +0 -9
- package/components/ix-map-navigation-overlay.js.map +0 -1
- package/components/ix-map-navigation.d.ts +0 -11
- package/components/ix-map-navigation.js +0 -240
- package/components/ix-map-navigation.js.map +0 -1
- package/components/ix-menu-about-item.d.ts +0 -11
- package/components/ix-menu-about-item.js +0 -51
- package/components/ix-menu-about-item.js.map +0 -1
- package/components/ix-menu-about-news.d.ts +0 -11
- package/components/ix-menu-about-news.js +0 -93
- package/components/ix-menu-about-news.js.map +0 -1
- package/components/ix-menu-about.d.ts +0 -11
- package/components/ix-menu-about.js +0 -89
- package/components/ix-menu-about.js.map +0 -1
- package/components/ix-menu-avatar-item.d.ts +0 -11
- package/components/ix-menu-avatar-item.js +0 -9
- package/components/ix-menu-avatar-item.js.map +0 -1
- package/components/ix-menu-avatar.d.ts +0 -11
- package/components/ix-menu-avatar.js +0 -115
- package/components/ix-menu-avatar.js.map +0 -1
- package/components/ix-menu-category.d.ts +0 -11
- package/components/ix-menu-category.js +0 -284
- package/components/ix-menu-category.js.map +0 -1
- package/components/ix-menu-expand-icon.d.ts +0 -11
- package/components/ix-menu-expand-icon.js +0 -9
- package/components/ix-menu-expand-icon.js.map +0 -1
- package/components/ix-menu-item.d.ts +0 -11
- package/components/ix-menu-item.js +0 -9
- package/components/ix-menu-item.js.map +0 -1
- package/components/ix-menu-settings-item.d.ts +0 -11
- package/components/ix-menu-settings-item.js +0 -51
- package/components/ix-menu-settings-item.js.map +0 -1
- package/components/ix-menu-settings.d.ts +0 -11
- package/components/ix-menu-settings.js +0 -9
- package/components/ix-menu-settings.js.map +0 -1
- package/components/ix-menu.d.ts +0 -11
- package/components/ix-menu.js +0 -590
- package/components/ix-menu.js.map +0 -1
- package/components/ix-message-bar.d.ts +0 -11
- package/components/ix-message-bar.js +0 -103
- package/components/ix-message-bar.js.map +0 -1
- package/components/ix-modal-content.d.ts +0 -11
- package/components/ix-modal-content.js +0 -9
- package/components/ix-modal-content.js.map +0 -1
- package/components/ix-modal-footer.d.ts +0 -11
- package/components/ix-modal-footer.js +0 -36
- package/components/ix-modal-footer.js.map +0 -1
- package/components/ix-modal-header.d.ts +0 -11
- package/components/ix-modal-header.js +0 -9
- package/components/ix-modal-header.js.map +0 -1
- package/components/ix-modal-loading.d.ts +0 -11
- package/components/ix-modal-loading.js +0 -42
- package/components/ix-modal-loading.js.map +0 -1
- package/components/ix-modal.d.ts +0 -11
- package/components/ix-modal.js +0 -241
- package/components/ix-modal.js.map +0 -1
- package/components/ix-number-input.d.ts +0 -11
- package/components/ix-number-input.js +0 -241
- package/components/ix-number-input.js.map +0 -1
- package/components/ix-pagination.d.ts +0 -11
- package/components/ix-pagination.js +0 -261
- package/components/ix-pagination.js.map +0 -1
- package/components/ix-pane-layout.d.ts +0 -11
- package/components/ix-pane-layout.js +0 -311
- package/components/ix-pane-layout.js.map +0 -1
- package/components/ix-pane.d.ts +0 -11
- package/components/ix-pane.js +0 -568
- package/components/ix-pane.js.map +0 -1
- package/components/ix-pill.d.ts +0 -11
- package/components/ix-pill.js +0 -127
- package/components/ix-pill.js.map +0 -1
- package/components/ix-progress-indicator.d.ts +0 -11
- package/components/ix-progress-indicator.js +0 -193
- package/components/ix-progress-indicator.js.map +0 -1
- package/components/ix-push-card.d.ts +0 -11
- package/components/ix-push-card.js +0 -82
- package/components/ix-push-card.js.map +0 -1
- package/components/ix-radio-group.d.ts +0 -11
- package/components/ix-radio-group.js +0 -195
- package/components/ix-radio-group.js.map +0 -1
- package/components/ix-radio.d.ts +0 -11
- package/components/ix-radio.js +0 -145
- package/components/ix-radio.js.map +0 -1
- package/components/ix-row.d.ts +0 -11
- package/components/ix-row.js +0 -9
- package/components/ix-row.js.map +0 -1
- package/components/ix-select-item.d.ts +0 -11
- package/components/ix-select-item.js +0 -9
- package/components/ix-select-item.js.map +0 -1
- package/components/ix-select.d.ts +0 -11
- package/components/ix-select.js +0 -9
- package/components/ix-select.js.map +0 -1
- package/components/ix-slider.d.ts +0 -11
- package/components/ix-slider.js +0 -255
- package/components/ix-slider.js.map +0 -1
- package/components/ix-spinner.d.ts +0 -11
- package/components/ix-spinner.js +0 -9
- package/components/ix-spinner.js.map +0 -1
- package/components/ix-split-button.d.ts +0 -11
- package/components/ix-split-button.js +0 -117
- package/components/ix-split-button.js.map +0 -1
- package/components/ix-tab-item.d.ts +0 -11
- package/components/ix-tab-item.js +0 -9
- package/components/ix-tab-item.js.map +0 -1
- package/components/ix-tabs.d.ts +0 -11
- package/components/ix-tabs.js +0 -9
- package/components/ix-tabs.js.map +0 -1
- package/components/ix-textarea.d.ts +0 -11
- package/components/ix-textarea.js +0 -192
- package/components/ix-textarea.js.map +0 -1
- package/components/ix-tile.d.ts +0 -11
- package/components/ix-tile.js +0 -63
- package/components/ix-tile.js.map +0 -1
- package/components/ix-time-input.d.ts +0 -11
- package/components/ix-time-input.js +0 -442
- package/components/ix-time-input.js.map +0 -1
- package/components/ix-time-picker.d.ts +0 -11
- package/components/ix-time-picker.js +0 -9
- package/components/ix-time-picker.js.map +0 -1
- package/components/ix-toast-container.d.ts +0 -11
- package/components/ix-toast-container.js +0 -143
- package/components/ix-toast-container.js.map +0 -1
- package/components/ix-toast.d.ts +0 -11
- package/components/ix-toast.js +0 -9
- package/components/ix-toast.js.map +0 -1
- package/components/ix-toggle-button.d.ts +0 -11
- package/components/ix-toggle-button.js +0 -128
- package/components/ix-toggle-button.js.map +0 -1
- package/components/ix-toggle.d.ts +0 -11
- package/components/ix-toggle.js +0 -188
- package/components/ix-toggle.js.map +0 -1
- package/components/ix-tooltip.d.ts +0 -11
- package/components/ix-tooltip.js +0 -9
- package/components/ix-tooltip.js.map +0 -1
- package/components/ix-tree-item.d.ts +0 -11
- package/components/ix-tree-item.js +0 -9
- package/components/ix-tree-item.js.map +0 -1
- package/components/ix-tree.d.ts +0 -11
- package/components/ix-tree.js +0 -610
- package/components/ix-tree.js.map +0 -1
- package/components/ix-typography.d.ts +0 -11
- package/components/ix-typography.js +0 -9
- package/components/ix-typography.js.map +0 -1
- package/components/ix-upload.d.ts +0 -11
- package/components/ix-upload.js +0 -234
- package/components/ix-upload.js.map +0 -1
- package/components/ix-validation-tooltip.d.ts +0 -11
- package/components/ix-validation-tooltip.js +0 -182
- package/components/ix-validation-tooltip.js.map +0 -1
- package/components/ix-workflow-step.d.ts +0 -11
- package/components/ix-workflow-step.js +0 -147
- package/components/ix-workflow-step.js.map +0 -1
- package/components/ix-workflow-steps.d.ts +0 -11
- package/components/ix-workflow-steps.js +0 -112
- package/components/ix-workflow-steps.js.map +0 -1
- package/components/p--2LOMK-5.js +0 -105
- package/components/p--2LOMK-5.js.map +0 -1
- package/components/p-18F-YfbC.js +0 -90
- package/components/p-18F-YfbC.js.map +0 -1
- package/components/p-2HalBYF6.js +0 -611
- package/components/p-2HalBYF6.js.map +0 -1
- package/components/p-6UCgBriG.js +0 -89
- package/components/p-6UCgBriG.js.map +0 -1
- package/components/p-B3NgetSU.js +0 -765
- package/components/p-B3NgetSU.js.map +0 -1
- package/components/p-BGzrnl_l.js +0 -21
- package/components/p-BGzrnl_l.js.map +0 -1
- package/components/p-BH3f5fa3.js +0 -37
- package/components/p-BH3f5fa3.js.map +0 -1
- package/components/p-BI91ISYc.js +0 -103
- package/components/p-BI91ISYc.js.map +0 -1
- package/components/p-BOARJXlu.js +0 -54
- package/components/p-BOARJXlu.js.map +0 -1
- package/components/p-BQ6999e5.js +0 -22
- package/components/p-BQ6999e5.js.map +0 -1
- package/components/p-BSRi3yyl.js +0 -164
- package/components/p-BSRi3yyl.js.map +0 -1
- package/components/p-BUVYgPbq.js +0 -207
- package/components/p-BUVYgPbq.js.map +0 -1
- package/components/p-BW7O4gSR.js +0 -64
- package/components/p-BW7O4gSR.js.map +0 -1
- package/components/p-BXGAr1UD.js +0 -130
- package/components/p-BXGAr1UD.js.map +0 -1
- package/components/p-Bb7pDeaQ.js +0 -144
- package/components/p-Bb7pDeaQ.js.map +0 -1
- package/components/p-BdCnOrqW.js +0 -47
- package/components/p-BdCnOrqW.js.map +0 -1
- package/components/p-Bi1VyG64.js +0 -46
- package/components/p-Bi1VyG64.js.map +0 -1
- package/components/p-BpwZ_OiO.js +0 -42
- package/components/p-BpwZ_OiO.js.map +0 -1
- package/components/p-C7qPn3fZ.js +0 -113
- package/components/p-C7qPn3fZ.js.map +0 -1
- package/components/p-C99qjEPE.js +0 -72
- package/components/p-C99qjEPE.js.map +0 -1
- package/components/p-C9zujPO0.js +0 -65
- package/components/p-C9zujPO0.js.map +0 -1
- package/components/p-CAqtPJ4-.js +0 -1786
- package/components/p-CAqtPJ4-.js.map +0 -1
- package/components/p-CGwHQeMX.js +0 -54
- package/components/p-CGwHQeMX.js.map +0 -1
- package/components/p-CI771zjd.js +0 -83
- package/components/p-CI771zjd.js.map +0 -1
- package/components/p-CJ9lFwzL.js +0 -33
- package/components/p-CJ9lFwzL.js.map +0 -1
- package/components/p-CLe5n0eR.js +0 -461
- package/components/p-CLe5n0eR.js.map +0 -1
- package/components/p-COgaNG0r.js +0 -162
- package/components/p-COgaNG0r.js.map +0 -1
- package/components/p-CX81WQtk.js +0 -14
- package/components/p-CX81WQtk.js.map +0 -1
- package/components/p-CYjLayhK.js +0 -33
- package/components/p-CYjLayhK.js.map +0 -1
- package/components/p-Ca62xqUI.js +0 -110
- package/components/p-Ca62xqUI.js.map +0 -1
- package/components/p-CdH-wF59.js +0 -107
- package/components/p-CdH-wF59.js.map +0 -1
- package/components/p-CdhP3eo7.js +0 -129
- package/components/p-CdhP3eo7.js.map +0 -1
- package/components/p-CmNagK_M.js +0 -61
- package/components/p-CmNagK_M.js.map +0 -1
- package/components/p-Cuf7Gv_k.js +0 -48
- package/components/p-Cuf7Gv_k.js.map +0 -1
- package/components/p-CvYq7fCI.js +0 -79
- package/components/p-CvYq7fCI.js.map +0 -1
- package/components/p-CyFFBc_G.js +0 -100
- package/components/p-CyFFBc_G.js.map +0 -1
- package/components/p-D-lOakIP.js +0 -54
- package/components/p-D-lOakIP.js.map +0 -1
- package/components/p-D-uSMBXb.js +0 -33
- package/components/p-D-uSMBXb.js.map +0 -1
- package/components/p-D0hxqaGs.js +0 -90
- package/components/p-D0hxqaGs.js.map +0 -1
- package/components/p-D2Fm_05X.js +0 -71
- package/components/p-D2Fm_05X.js.map +0 -1
- package/components/p-D3K9vmFp.js +0 -157
- package/components/p-D3K9vmFp.js.map +0 -1
- package/components/p-D54oqcBC.js +0 -146
- package/components/p-D54oqcBC.js.map +0 -1
- package/components/p-D6vSVaHq.js +0 -26
- package/components/p-D6vSVaHq.js.map +0 -1
- package/components/p-DBZZBDKR.js +0 -76
- package/components/p-DBZZBDKR.js.map +0 -1
- package/components/p-DDHkNPby.js +0 -79
- package/components/p-DDHkNPby.js.map +0 -1
- package/components/p-DEmiWcQ0.js +0 -51
- package/components/p-DEmiWcQ0.js.map +0 -1
- package/components/p-DQEpAmYe.js +0 -55
- package/components/p-DQEpAmYe.js.map +0 -1
- package/components/p-DUctjh_Y.js +0 -19
- package/components/p-DUctjh_Y.js.map +0 -1
- package/components/p-Da_mIDFR.js +0 -75
- package/components/p-Da_mIDFR.js.map +0 -1
- package/components/p-DeAFXXM2.js +0 -90
- package/components/p-DeAFXXM2.js.map +0 -1
- package/components/p-Dih6bry9.js +0 -33
- package/components/p-Dih6bry9.js.map +0 -1
- package/components/p-Dp15M30K.js +0 -20
- package/components/p-Dp15M30K.js.map +0 -1
- package/components/p-Dp4RJcgZ.js +0 -125
- package/components/p-Dp4RJcgZ.js.map +0 -1
- package/components/p-DpilwXvD.js +0 -33
- package/components/p-DpilwXvD.js.map +0 -1
- package/components/p-DqBfPYF2.js +0 -151
- package/components/p-DqBfPYF2.js.map +0 -1
- package/components/p-DzKDFBWC.js +0 -2042
- package/components/p-DzKDFBWC.js.map +0 -1
- package/components/p-IMKnzlUb.js +0 -110
- package/components/p-IMKnzlUb.js.map +0 -1
- package/components/p-JJddxCCh.js +0 -42
- package/components/p-JJddxCCh.js.map +0 -1
- package/components/p-Ooq8eqJM.js +0 -33
- package/components/p-Ooq8eqJM.js.map +0 -1
- package/components/p-Ou74PMQs.js +0 -1313
- package/components/p-Ou74PMQs.js.map +0 -1
- package/components/p-PxA_udyJ.js +0 -254
- package/components/p-PxA_udyJ.js.map +0 -1
- package/components/p-UQa1aROL.js +0 -23
- package/components/p-UQa1aROL.js.map +0 -1
- package/components/p-bDicGJUN.js +0 -7697
- package/components/p-bDicGJUN.js.map +0 -1
- package/components/p-bcj7UEIC.js +0 -24
- package/components/p-bcj7UEIC.js.map +0 -1
- package/components/p-cugF_dsq.js +0 -203
- package/components/p-cugF_dsq.js.map +0 -1
- package/components/p-kY0vP3rC.js +0 -122
- package/components/p-kY0vP3rC.js.map +0 -1
- package/components/p-mLgD4b4D.js +0 -359
- package/components/p-mLgD4b4D.js.map +0 -1
- package/components/p-m_8Hy4_G.js +0 -310
- package/components/p-m_8Hy4_G.js.map +0 -1
- package/components/p-pMSLP3h4.js +0 -757
- package/components/p-pMSLP3h4.js.map +0 -1
- package/components/p-t-aQDKhy.js +0 -118
- package/components/p-t-aQDKhy.js.map +0 -1
- package/components/package.json +0 -9
- package/dist/cjs/base-button-CaQoQTFI.js +0 -74
- package/dist/cjs/base-button-CaQoQTFI.js.map +0 -1
- package/dist/cjs/base-icon-button-C9L5Gii-.js +0 -21
- package/dist/cjs/base-icon-button-C9L5Gii-.js.map +0 -1
- package/dist/cjs/helper-text-util-BctMjApu.js +0 -45
- package/dist/cjs/helper-text-util-BctMjApu.js.map +0 -1
- package/dist/cjs/index-BDliOtbY.js +0 -2734
- package/dist/cjs/index-BDliOtbY.js.map +0 -1
- package/dist/cjs/input.util-Ch0ETA-v.js +0 -215
- package/dist/cjs/input.util-Ch0ETA-v.js.map +0 -1
- package/dist/cjs/ix-menu-settings-BkPNtMal.js +0 -123
- package/dist/cjs/ix-menu-settings-BkPNtMal.js.map +0 -1
- package/dist/cjs/listener-BJXzadPO.js +0 -78
- package/dist/cjs/listener-BJXzadPO.js.map +0 -1
- package/dist/cjs/validation-_-cW9Dku.js +0 -123
- package/dist/cjs/validation-_-cW9Dku.js.map +0 -1
- package/dist/esm/base-button-dtdYZqMt.js +0 -71
- package/dist/esm/base-button-dtdYZqMt.js.map +0 -1
- package/dist/esm/base-icon-button-BZvsimpZ.js +0 -19
- package/dist/esm/base-icon-button-BZvsimpZ.js.map +0 -1
- package/dist/esm/helper-text-util-Dyff2O6m.js +0 -42
- package/dist/esm/helper-text-util-Dyff2O6m.js.map +0 -1
- package/dist/esm/index-B6NtGPRE.js +0 -2702
- package/dist/esm/index-B6NtGPRE.js.map +0 -1
- package/dist/esm/input.util-HSoyR1ow.js +0 -203
- package/dist/esm/input.util-HSoyR1ow.js.map +0 -1
- package/dist/esm/ix-menu-settings-B5kM6fHy.js +0 -118
- package/dist/esm/ix-menu-settings-B5kM6fHy.js.map +0 -1
- package/dist/esm/listener-DCrO174s.js +0 -76
- package/dist/esm/listener-DCrO174s.js.map +0 -1
- package/dist/esm/validation-DuPOpjMi.js +0 -118
- package/dist/esm/validation-DuPOpjMi.js.map +0 -1
- package/dist/siemens-ix/p-0053fd70.entry.js +0 -2
- package/dist/siemens-ix/p-00668881.entry.js +0 -2
- package/dist/siemens-ix/p-0285fa1a.entry.js +0 -2
- package/dist/siemens-ix/p-07733f87.entry.js +0 -2
- package/dist/siemens-ix/p-07fa84e9.entry.js +0 -2
- package/dist/siemens-ix/p-07fa84e9.entry.js.map +0 -1
- package/dist/siemens-ix/p-094d6f0a.entry.js +0 -2
- package/dist/siemens-ix/p-0e0019a3.entry.js +0 -2
- package/dist/siemens-ix/p-125b66ec.entry.js +0 -2
- package/dist/siemens-ix/p-1363ac29.entry.js +0 -2
- package/dist/siemens-ix/p-138de76a.entry.js +0 -2
- package/dist/siemens-ix/p-17a19a44.entry.js +0 -2
- package/dist/siemens-ix/p-17a19a44.entry.js.map +0 -1
- package/dist/siemens-ix/p-1b04e58a.entry.js +0 -2
- package/dist/siemens-ix/p-1b04e58a.entry.js.map +0 -1
- package/dist/siemens-ix/p-1cff42a5.entry.js +0 -2
- package/dist/siemens-ix/p-1f5322d5.entry.js +0 -2
- package/dist/siemens-ix/p-1fc79a42.entry.js +0 -2
- package/dist/siemens-ix/p-227ea9bc.entry.js +0 -2
- package/dist/siemens-ix/p-227ea9bc.entry.js.map +0 -1
- package/dist/siemens-ix/p-25368187.entry.js +0 -2
- package/dist/siemens-ix/p-25c27b28.entry.js +0 -2
- package/dist/siemens-ix/p-26b072bb.entry.js +0 -2
- package/dist/siemens-ix/p-29eb0f3c.entry.js +0 -2
- package/dist/siemens-ix/p-2a1152d9.entry.js +0 -2
- package/dist/siemens-ix/p-2a1152d9.entry.js.map +0 -1
- package/dist/siemens-ix/p-2d383fa3.entry.js +0 -2
- package/dist/siemens-ix/p-2e0dab7b.entry.js +0 -2
- package/dist/siemens-ix/p-2e0dab7b.entry.js.map +0 -1
- package/dist/siemens-ix/p-2edc9a43.entry.js +0 -2
- package/dist/siemens-ix/p-2edc9a43.entry.js.map +0 -1
- package/dist/siemens-ix/p-30e325ee.entry.js +0 -2
- package/dist/siemens-ix/p-30e325ee.entry.js.map +0 -1
- package/dist/siemens-ix/p-3725e281.entry.js +0 -2
- package/dist/siemens-ix/p-381708ea.entry.js +0 -2
- package/dist/siemens-ix/p-38fa1eec.entry.js +0 -2
- package/dist/siemens-ix/p-3d4eba06.entry.js +0 -2
- package/dist/siemens-ix/p-42cf2d8f.entry.js +0 -2
- package/dist/siemens-ix/p-44a9c1db.entry.js +0 -2
- package/dist/siemens-ix/p-44a9c1db.entry.js.map +0 -1
- package/dist/siemens-ix/p-47956560.entry.js +0 -2
- package/dist/siemens-ix/p-4a666ab2.entry.js +0 -2
- package/dist/siemens-ix/p-4be22d4d.entry.js +0 -2
- package/dist/siemens-ix/p-518290fd.entry.js +0 -2
- package/dist/siemens-ix/p-53d1f804.entry.js +0 -2
- package/dist/siemens-ix/p-5f494293.entry.js +0 -2
- package/dist/siemens-ix/p-60c6eba1.entry.js +0 -2
- package/dist/siemens-ix/p-61944945.entry.js +0 -2
- package/dist/siemens-ix/p-61bf7678.entry.js +0 -2
- package/dist/siemens-ix/p-64a2f777.entry.js +0 -2
- package/dist/siemens-ix/p-64a2f777.entry.js.map +0 -1
- package/dist/siemens-ix/p-674dd99b.entry.js +0 -2
- package/dist/siemens-ix/p-6a275897.entry.js +0 -2
- package/dist/siemens-ix/p-6b5cb4c3.entry.js +0 -2
- package/dist/siemens-ix/p-6b5cb4c3.entry.js.map +0 -1
- package/dist/siemens-ix/p-6cc4c39e.entry.js +0 -2
- package/dist/siemens-ix/p-6dffce02.entry.js +0 -2
- package/dist/siemens-ix/p-6dffce02.entry.js.map +0 -1
- package/dist/siemens-ix/p-702d290f.entry.js +0 -2
- package/dist/siemens-ix/p-702d290f.entry.js.map +0 -1
- package/dist/siemens-ix/p-719704c7.entry.js +0 -2
- package/dist/siemens-ix/p-719704c7.entry.js.map +0 -1
- package/dist/siemens-ix/p-746f49b4.entry.js +0 -2
- package/dist/siemens-ix/p-77d586e5.entry.js +0 -2
- package/dist/siemens-ix/p-7978f54a.entry.js +0 -2
- package/dist/siemens-ix/p-7b455f16.entry.js +0 -2
- package/dist/siemens-ix/p-7b455f16.entry.js.map +0 -1
- package/dist/siemens-ix/p-7b5eb3ca.entry.js +0 -2
- package/dist/siemens-ix/p-7b5eb3ca.entry.js.map +0 -1
- package/dist/siemens-ix/p-7da60ba2.entry.js +0 -2
- package/dist/siemens-ix/p-7da60ba2.entry.js.map +0 -1
- package/dist/siemens-ix/p-7fcec901.entry.js +0 -2
- package/dist/siemens-ix/p-80dfc634.entry.js +0 -2
- package/dist/siemens-ix/p-80dfc634.entry.js.map +0 -1
- package/dist/siemens-ix/p-8774e0a8.entry.js +0 -2
- package/dist/siemens-ix/p-92513d0e.entry.js +0 -2
- package/dist/siemens-ix/p-92513d0e.entry.js.map +0 -1
- package/dist/siemens-ix/p-9513a275.entry.js +0 -2
- package/dist/siemens-ix/p-96687290.entry.js +0 -2
- package/dist/siemens-ix/p-96687290.entry.js.map +0 -1
- package/dist/siemens-ix/p-96c0acb2.entry.js +0 -2
- package/dist/siemens-ix/p-97029efe.entry.js +0 -2
- package/dist/siemens-ix/p-97eb6c3c.entry.js +0 -2
- package/dist/siemens-ix/p-97eb6c3c.entry.js.map +0 -1
- package/dist/siemens-ix/p-B6NtGPRE.js +0 -3
- package/dist/siemens-ix/p-B6NtGPRE.js.map +0 -1
- package/dist/siemens-ix/p-BaslXuvq.js +0 -2
- package/dist/siemens-ix/p-BaslXuvq.js.map +0 -1
- package/dist/siemens-ix/p-Bko0CTxK.js +0 -2
- package/dist/siemens-ix/p-Bko0CTxK.js.map +0 -1
- package/dist/siemens-ix/p-C1MjXHa0.js +0 -2
- package/dist/siemens-ix/p-C1MjXHa0.js.map +0 -1
- package/dist/siemens-ix/p-DeEsc3nL.js +0 -2
- package/dist/siemens-ix/p-DeEsc3nL.js.map +0 -1
- package/dist/siemens-ix/p-DhH1rUwy.js +0 -2
- package/dist/siemens-ix/p-DhH1rUwy.js.map +0 -1
- package/dist/siemens-ix/p-DyBJEhgA.js +0 -2
- package/dist/siemens-ix/p-DyBJEhgA.js.map +0 -1
- package/dist/siemens-ix/p-a09ec38c.entry.js +0 -2
- package/dist/siemens-ix/p-a09ec38c.entry.js.map +0 -1
- package/dist/siemens-ix/p-a15f3a9d.entry.js +0 -2
- package/dist/siemens-ix/p-a15f3a9d.entry.js.map +0 -1
- package/dist/siemens-ix/p-a7e339d0.entry.js +0 -2
- package/dist/siemens-ix/p-a7e339d0.entry.js.map +0 -1
- package/dist/siemens-ix/p-a951d9e7.entry.js +0 -2
- package/dist/siemens-ix/p-b1bc33ef.entry.js +0 -2
- package/dist/siemens-ix/p-b45ce132.entry.js +0 -2
- package/dist/siemens-ix/p-b45ce132.entry.js.map +0 -1
- package/dist/siemens-ix/p-b6f02420.entry.js +0 -2
- package/dist/siemens-ix/p-b6f02420.entry.js.map +0 -1
- package/dist/siemens-ix/p-c192caa5.entry.js +0 -2
- package/dist/siemens-ix/p-c192caa5.entry.js.map +0 -1
- package/dist/siemens-ix/p-c23031be.entry.js +0 -2
- package/dist/siemens-ix/p-c5921b21.entry.js +0 -2
- package/dist/siemens-ix/p-c6cb0b06.entry.js +0 -2
- package/dist/siemens-ix/p-c6cb0b06.entry.js.map +0 -1
- package/dist/siemens-ix/p-c7ead0ee.entry.js +0 -2
- package/dist/siemens-ix/p-c7ead0ee.entry.js.map +0 -1
- package/dist/siemens-ix/p-c9c30ce7.entry.js +0 -2
- package/dist/siemens-ix/p-cb076f29.entry.js +0 -2
- package/dist/siemens-ix/p-cf3c2573.entry.js +0 -2
- package/dist/siemens-ix/p-cf3cbb46.entry.js +0 -2
- package/dist/siemens-ix/p-cf3cbb46.entry.js.map +0 -1
- package/dist/siemens-ix/p-cf7448b1.entry.js +0 -2
- package/dist/siemens-ix/p-d2151941.entry.js +0 -2
- package/dist/siemens-ix/p-d4284927.entry.js +0 -2
- package/dist/siemens-ix/p-d4936531.entry.js +0 -2
- package/dist/siemens-ix/p-daf2c2fd.entry.js +0 -2
- package/dist/siemens-ix/p-de03778d.entry.js +0 -2
- package/dist/siemens-ix/p-de03778d.entry.js.map +0 -1
- package/dist/siemens-ix/p-e006c83c.entry.js +0 -2
- package/dist/siemens-ix/p-e088e1d9.entry.js +0 -2
- package/dist/siemens-ix/p-e40c900a.entry.js +0 -2
- package/dist/siemens-ix/p-e499f85d.entry.js +0 -2
- package/dist/siemens-ix/p-e636a236.entry.js +0 -2
- package/dist/siemens-ix/p-e636a236.entry.js.map +0 -1
- package/dist/siemens-ix/p-e850d862.entry.js +0 -2
- package/dist/siemens-ix/p-ea980990.entry.js +0 -2
- package/dist/siemens-ix/p-ec3786c3.entry.js +0 -2
- package/dist/siemens-ix/p-ed05a3ed.entry.js +0 -2
- package/dist/siemens-ix/p-ed05a3ed.entry.js.map +0 -1
- package/dist/siemens-ix/p-ef56e825.entry.js +0 -2
- package/dist/siemens-ix/p-f1d1c522.entry.js +0 -2
- package/dist/siemens-ix/p-f426aa64.entry.js +0 -2
- package/dist/siemens-ix/p-f426aa64.entry.js.map +0 -1
- package/dist/siemens-ix/p-f61c1785.entry.js +0 -2
- package/dist/siemens-ix/p-f66cb323.entry.js +0 -2
- package/dist/siemens-ix/p-f66cb323.entry.js.map +0 -1
- package/dist/siemens-ix/p-fadc415c.entry.js +0 -2
- package/dist/siemens-ix/p-fadc415c.entry.js.map +0 -1
- package/dist/siemens-ix/p-fe1e79d6.entry.js +0 -2
- package/dist/siemens-ix/p-zYzFdFx8.js +0 -2
- package/dist/siemens-ix/p-zYzFdFx8.js.map +0 -1
- package/dist/types/interfaces.d.ts +0 -27
- /package/dist/siemens-ix/{p-4be22d4d.entry.js.map → p-003ae2cf.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-094d6f0a.entry.js.map → p-00eff8b5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-47956560.entry.js.map → p-0195766f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c23031be.entry.js.map → p-025c5b1b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-25c27b28.entry.js.map → p-03b8e425.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-9513a275.entry.js.map → p-04527b1e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-07733f87.entry.js.map → p-07b2da86.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-746f49b4.entry.js.map → p-098aa857.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d4284927.entry.js.map → p-130ffc16.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1cff42a5.entry.js.map → p-13b5f3c3.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f61c1785.entry.js.map → p-14d2042d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cb076f29.entry.js.map → p-19501b80.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d2151941.entry.js.map → p-1df6d18f.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-518290fd.entry.js.map → p-1fdfe35a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-38fa1eec.entry.js.map → p-2642d96b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0053fd70.entry.js.map → p-28aece6e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-00668881.entry.js.map → p-29d44cef.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1f5322d5.entry.js.map → p-2f2dfb6e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7fcec901.entry.js.map → p-2f9b9e7a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-8774e0a8.entry.js.map → p-440a0ee0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0e0019a3.entry.js.map → p-472c1d6b.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1363ac29.entry.js.map → p-47f395be.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cf7448b1.entry.js.map → p-483bc052.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3d4eba06.entry.js.map → p-4959b8e6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e499f85d.entry.js.map → p-4fe2d0f7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e006c83c.entry.js.map → p-5b22342c.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-125b66ec.entry.js.map → p-605a9fe8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-2d383fa3.entry.js.map → p-6337e880.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-0285fa1a.entry.js.map → p-6549edf0.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-1fc79a42.entry.js.map → p-66d20585.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-53d1f804.entry.js.map → p-6adde42d.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-b1bc33ef.entry.js.map → p-6cc448b4.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ec3786c3.entry.js.map → p-7011678e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6cc4c39e.entry.js.map → p-7111f065.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-cf3c2573.entry.js.map → p-76f59fa5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c5921b21.entry.js.map → p-777675ce.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-4a666ab2.entry.js.map → p-8d4558b9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ef56e825.entry.js.map → p-8fcada5a.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-96c0acb2.entry.js.map → p-91ba2527.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e088e1d9.entry.js.map → p-97693d72.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-29eb0f3c.entry.js.map → p-97a53af6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-5f494293.entry.js.map → p-988f37da.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-61944945.entry.js.map → p-9f7d82d2.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-d4936531.entry.js.map → p-a43c4907.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-a951d9e7.entry.js.map → p-a9ec8094.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-7978f54a.entry.js.map → p-afd392d5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-381708ea.entry.js.map → p-b00517df.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-c9c30ce7.entry.js.map → p-b3d4d2cd.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-fe1e79d6.entry.js.map → p-b548335e.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-77d586e5.entry.js.map → p-b735b8ce.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-138de76a.entry.js.map → p-bec289d7.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-60c6eba1.entry.js.map → p-bf7fbdfc.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e850d862.entry.js.map → p-bf8dd5a1.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-42cf2d8f.entry.js.map → p-c5f8ccc9.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-26b072bb.entry.js.map → p-c9d48927.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-ea980990.entry.js.map → p-ce3aebe6.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-61bf7678.entry.js.map → p-d3458382.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-674dd99b.entry.js.map → p-d605b181.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-e40c900a.entry.js.map → p-dfb5f7d8.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-97029efe.entry.js.map → p-dfe4de85.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-f1d1c522.entry.js.map → p-ea142215.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-6a275897.entry.js.map → p-ead88218.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-25368187.entry.js.map → p-ec7cd008.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-3725e281.entry.js.map → p-ee2902a5.entry.js.map} +0 -0
- /package/dist/siemens-ix/{p-daf2c2fd.entry.js.map → p-f4415d44.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal-CR_0969h.js","sources":["src/components/utils/delegate.ts","src/components/utils/modal/message.ts","src/components/utils/modal/modal.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\nexport type DelegateConfig = {\n parentElement?: Element;\n};\n\nexport interface FrameworkDelegate {\n attachView<R = HTMLElement>(view: any, config?: DelegateConfig): Promise<R>;\n removeView(view: any): Promise<void>;\n}\n\nclass DefaultFrameworkDelegate implements FrameworkDelegate {\n async attachView<R = HTMLElement>(\n view: any,\n config?: DelegateConfig\n ): Promise<R> {\n const attachToElement = config?.parentElement ?? document.body;\n attachToElement.appendChild(view);\n return view;\n }\n\n async removeView(view: any) {\n view.remove();\n }\n}\n\nconst coreDelegate = new DefaultFrameworkDelegate();\nlet currentDelegate: FrameworkDelegate = coreDelegate;\n\nexport function registerFrameworkDelegate(delegate: FrameworkDelegate) {\n currentDelegate = delegate;\n}\n\nexport const resolveDelegate = () => {\n return currentDelegate;\n};\n\nexport const getCoreDelegate = () => coreDelegate;\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n iconError,\n iconInfo,\n iconQuestion,\n iconSuccess,\n iconWarning,\n} from '@siemens/ix-icons/icons';\nimport { getCoreDelegate } from '../delegate';\nimport { TypedEvent } from '../typed-event';\nimport { ModalConfig } from './modal';\n\nexport type MessageConfig<T> = Omit<\n ModalConfig<T, unknown>,\n 'content' | 'title'\n> &\n MessageContent;\n\nfunction setA11yAttributes(element: HTMLElement, config: MessageContent) {\n const ariaDescribedby = config.ariaDescribedby;\n const ariaLabelledby = config.ariaLabelledby;\n\n delete config['ariaDescribedby'];\n delete config['ariaLabelledby'];\n\n if (ariaDescribedby) {\n element.setAttribute('aria-describedby', ariaDescribedby);\n }\n\n if (ariaLabelledby) {\n element.setAttribute('aria-labelledby', ariaLabelledby);\n }\n}\n\nfunction createConfirmButtons(\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) {\n let actions: MessageAction[] = [];\n\n if (textCancel !== undefined) {\n actions = [\n ...actions,\n {\n id: 'cancel',\n text: textCancel,\n type: 'cancel',\n payload: payloadCancel,\n } as MessageAction,\n ];\n }\n return [\n ...actions,\n {\n id: 'okay',\n text: textOkay,\n type: 'okay',\n payload: payloadOkay,\n } as MessageAction,\n ];\n}\n\nexport type MessageAction = {\n id: string;\n type: 'button-primary' | 'button-secondary' | 'okay' | 'cancel';\n text: string;\n payload?: any;\n};\n\nexport type MessageContent = {\n icon: string;\n iconColor?: string;\n messageTitle: string;\n message: string;\n actions: MessageAction[];\n ariaLabelledby?: string;\n ariaDescribedby?: string;\n};\n\nexport async function showMessage<T>(config: MessageConfig<T>) {\n const onMessageAction = new TypedEvent<{\n actionId: string;\n payload: T;\n }>();\n const dialog = document.createElement('ix-modal');\n const header = document.createElement('ix-modal-header');\n const content = document.createElement('ix-modal-content');\n const footer = document.createElement('ix-modal-footer');\n\n setA11yAttributes(dialog, config);\n\n Object.assign(header, config);\n Object.assign(content, config);\n Object.assign(footer, config);\n\n header.innerText = config.messageTitle;\n content.innerText = config.message;\n\n config.actions.forEach(({ id, text, type, payload }) => {\n const button = document.createElement('ix-button');\n button.innerText = text;\n footer.appendChild(button);\n\n if (type === 'okay') {\n button.variant = 'primary';\n button.addEventListener('click', () =>\n dialog.closeModal({\n actionId: id,\n payload,\n })\n );\n return;\n } else if (type === 'cancel') {\n button.variant = 'primary';\n button.outline = true;\n button.addEventListener('click', () =>\n dialog.dismissModal({\n actionId: id,\n payload,\n })\n );\n return;\n }\n });\n\n dialog.appendChild(header);\n dialog.appendChild(content);\n dialog.appendChild(footer);\n\n const dialogRef =\n await getCoreDelegate().attachView<HTMLIxModalElement>(dialog);\n\n dialogRef.addEventListener(\n 'dialogClose',\n (\n event: CustomEvent<{\n actionId: string;\n payload: T;\n }>\n ) => {\n onMessageAction.emit(event.detail);\n dialogRef.remove();\n }\n );\n\n dialogRef.addEventListener(\n 'dialogDismiss',\n (\n event: CustomEvent<{\n actionId: string;\n payload: T;\n }>\n ) => {\n onMessageAction.emit(event.detail);\n dialogRef.remove();\n }\n );\n\n setA11yAttributes(dialogRef, config);\n Object.assign(dialogRef, config);\n\n dialogRef.showModal();\n return onMessageAction;\n}\n\nshowMessage.info = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconInfo,\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.warning = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconWarning,\n iconColor: 'color-warning',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.error = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconError,\n iconColor: 'color-alarm',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.success = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconSuccess,\n iconColor: 'color-success',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.question = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconQuestion,\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { IxModalSize } from '../../modal/modal';\nimport { getCoreDelegate, resolveDelegate } from '../delegate';\nimport { TypedEvent } from '../typed-event';\n\nexport function setA11yAttributes(element: HTMLElement, config: ModalConfig) {\n const ariaDescribedby = config.ariaDescribedby;\n const ariaLabelledby = config.ariaLabelledby;\n\n delete config['ariaDescribedby'];\n delete config['ariaLabelledby'];\n\n if (ariaDescribedby) {\n element.setAttribute('aria-describedby', ariaDescribedby);\n }\n\n if (ariaLabelledby) {\n element.setAttribute('aria-labelledby', ariaLabelledby);\n }\n}\n\nexport interface ModalConfig<TReason = any, CONTENT = any> {\n animation?: boolean;\n ariaDescribedby?: string;\n ariaLabelledby?: string;\n backdrop?: boolean;\n closeOnBackdropClick?: boolean;\n beforeDismiss?: (reason?: TReason) => boolean | Promise<boolean>;\n centered?: boolean;\n container?: string | HTMLElement;\n content: CONTENT | string;\n keyboard?: boolean;\n size?: IxModalSize;\n title?: string;\n}\n\nexport interface ModalInstance<TReason = any> {\n htmlElement: HTMLIxModalElement;\n onClose: TypedEvent<TReason>;\n onDismiss: TypedEvent<TReason>;\n}\n\nfunction getIxModal(element: Element) {\n return element.closest('ix-modal');\n}\n\nexport function closeModal<TClose = any>(\n element: Element,\n closeResult: TClose\n) {\n const dialog = getIxModal(element);\n if (dialog) {\n dialog.closeModal(closeResult);\n return;\n }\n}\n\nexport function dismissModal(element: Element, dismissResult?: any) {\n const dialog = getIxModal(element);\n if (dialog) {\n dialog.dismissModal(dismissResult);\n return;\n }\n}\n\nexport async function showModal<T>(\n config: ModalConfig<T>\n): Promise<ModalInstance<T>> {\n const delegate = resolveDelegate();\n let dialogRef: HTMLIxModalElement | undefined;\n const onClose = new TypedEvent<T>();\n const onDismiss = new TypedEvent<T>();\n\n if (typeof config.content === 'string') {\n const dialog = document.createElement('ix-modal');\n dialog.innerText = config.content;\n dialogRef = await getCoreDelegate().attachView(dialog);\n }\n\n if (\n config.content instanceof HTMLElement &&\n config.content.tagName !== 'IX-MODAL'\n ) {\n const dialog = document.createElement('ix-modal');\n dialog.appendChild(config.content);\n dialogRef = await getCoreDelegate().attachView(dialog);\n }\n if (!dialogRef) {\n dialogRef = await delegate.attachView<HTMLIxModalElement>(config.content);\n }\n\n setA11yAttributes(dialogRef, config);\n Object.assign(dialogRef, config);\n\n await dialogRef.showModal();\n dialogRef.addEventListener('dialogClose', async ({ detail }: CustomEvent) => {\n onClose.emit(detail);\n await delegate.removeView(dialogRef);\n });\n\n dialogRef.addEventListener(\n 'dialogDismiss',\n async ({ detail }: CustomEvent) => {\n onDismiss.emit(detail);\n await delegate.removeView(dialogRef);\n }\n );\n\n requestAnimationFrame(() => {\n const autofocusElement = dialogRef.querySelector(\n '[autofocus],[auto-focus]'\n );\n\n if (autofocusElement) {\n (autofocusElement as HTMLIxButtonElement).focus();\n }\n });\n\n return {\n htmlElement: dialogRef,\n onClose,\n onDismiss,\n };\n}\n"],"names":["setA11yAttributes","TypedEvent","iconInfo","iconWarning","iconError","iconSuccess","iconQuestion"],"mappings":";;;;;AAAA;;;;;;;AAOG;AAWH,MAAM,wBAAwB,CAAA;AAC5B,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AAE,MAAM,CAAC;AAEhC,IAAA,MAAM,SAAS,CAAC,SAAS,EAAE;IAC3B,SAAS,CAAC,gBAAgB,CAAC,aAAa,EAAE,OAAO,EAAE,MAAM,EAAe,KAAI;AAC1E,QAAA,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;AACpB,QAAA,MAAM,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;AACtC,KAAC,CAAC;IAEF,SAAS,CAAC,gBAAgB,CACxB,eAAe,EACf,OAAO,EAAE,MAAM,EAAe,KAAI;AAChC,QAAA,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC;AACtB,QAAA,MAAM,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC;AACtC,KAAC,CACF;IAED,qBAAqB,CAAC,MAAK;QACzB,MAAM,gBAAgB,GAAG,SAAS,CAAC,aAAa,CAC9C,0BAA0B,CAC3B;QAED,IAAI,gBAAgB,EAAE;YACnB,gBAAwC,CAAC,KAAK,EAAE;;AAErD,KAAC,CAAC;IAEF,OAAO;AACL,QAAA,WAAW,EAAE,SAAS;QACtB,OAAO;QACP,SAAS;KACV;AACH;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"modal-CR_0969h.js","sources":["src/components/utils/delegate.ts","src/components/utils/modal/message.ts","src/components/utils/modal/modal.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\nexport type DelegateConfig = {\n parentElement?: Element;\n};\n\nexport interface FrameworkDelegate {\n attachView<R = HTMLElement>(view: any, config?: DelegateConfig): Promise<R>;\n removeView(view: any): Promise<void>;\n}\n\nclass DefaultFrameworkDelegate implements FrameworkDelegate {\n async attachView<R = HTMLElement>(\n view: any,\n config?: DelegateConfig\n ): Promise<R> {\n const attachToElement = config?.parentElement ?? document.body;\n attachToElement.appendChild(view);\n return view;\n }\n\n async removeView(view: any) {\n view.remove();\n }\n}\n\nconst coreDelegate = new DefaultFrameworkDelegate();\nlet currentDelegate: FrameworkDelegate = coreDelegate;\n\nexport function registerFrameworkDelegate(delegate: FrameworkDelegate) {\n currentDelegate = delegate;\n}\n\nexport const resolveDelegate = () => {\n return currentDelegate;\n};\n\nexport const getCoreDelegate = () => coreDelegate;\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n iconError,\n iconInfo,\n iconQuestion,\n iconSuccess,\n iconWarning,\n} from '@siemens/ix-icons/icons';\nimport { getCoreDelegate } from '../delegate';\nimport { TypedEvent } from '../typed-event';\nimport { ModalConfig } from './modal';\n\nexport type MessageConfig<T> = Omit<\n ModalConfig<T, unknown>,\n 'content' | 'title'\n> &\n MessageContent;\n\nfunction setA11yAttributes(element: HTMLElement, config: MessageContent) {\n const ariaDescribedby = config.ariaDescribedby;\n const ariaLabelledby = config.ariaLabelledby;\n\n delete config['ariaDescribedby'];\n delete config['ariaLabelledby'];\n\n if (ariaDescribedby) {\n element.setAttribute('aria-describedby', ariaDescribedby);\n }\n\n if (ariaLabelledby) {\n element.setAttribute('aria-labelledby', ariaLabelledby);\n }\n}\n\nfunction createConfirmButtons(\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) {\n let actions: MessageAction[] = [];\n\n if (textCancel !== undefined) {\n actions = [\n ...actions,\n {\n id: 'cancel',\n text: textCancel,\n type: 'cancel',\n payload: payloadCancel,\n } as MessageAction,\n ];\n }\n return [\n ...actions,\n {\n id: 'okay',\n text: textOkay,\n type: 'okay',\n payload: payloadOkay,\n } as MessageAction,\n ];\n}\n\nexport type MessageAction = {\n id: string;\n type: 'button-primary' | 'button-secondary' | 'okay' | 'cancel';\n text: string;\n payload?: any;\n};\n\nexport type MessageContent = {\n icon: string;\n iconColor?: string;\n messageTitle: string;\n message: string;\n actions: MessageAction[];\n ariaLabelledby?: string;\n ariaDescribedby?: string;\n};\n\nexport async function showMessage<T>(config: MessageConfig<T>) {\n const onMessageAction = new TypedEvent<{\n actionId: string;\n payload: T;\n }>();\n const dialog = document.createElement('ix-modal');\n const header = document.createElement('ix-modal-header');\n const content = document.createElement('ix-modal-content');\n const footer = document.createElement('ix-modal-footer');\n\n setA11yAttributes(dialog, config);\n\n Object.assign(header, config);\n Object.assign(content, config);\n Object.assign(footer, config);\n\n header.innerText = config.messageTitle;\n content.innerText = config.message;\n\n config.actions.forEach(({ id, text, type, payload }) => {\n const button = document.createElement('ix-button');\n button.innerText = text;\n footer.appendChild(button);\n\n if (type === 'okay') {\n button.variant = 'primary';\n button.addEventListener('click', () =>\n dialog.closeModal({\n actionId: id,\n payload,\n })\n );\n return;\n } else if (type === 'cancel') {\n button.variant = 'primary';\n button.outline = true;\n button.addEventListener('click', () =>\n dialog.dismissModal({\n actionId: id,\n payload,\n })\n );\n return;\n }\n });\n\n dialog.appendChild(header);\n dialog.appendChild(content);\n dialog.appendChild(footer);\n\n const dialogRef =\n await getCoreDelegate().attachView<HTMLIxModalElement>(dialog);\n\n dialogRef.addEventListener(\n 'dialogClose',\n (\n event: CustomEvent<{\n actionId: string;\n payload: T;\n }>\n ) => {\n onMessageAction.emit(event.detail);\n dialogRef.remove();\n }\n );\n\n dialogRef.addEventListener(\n 'dialogDismiss',\n (\n event: CustomEvent<{\n actionId: string;\n payload: T;\n }>\n ) => {\n onMessageAction.emit(event.detail);\n dialogRef.remove();\n }\n );\n\n setA11yAttributes(dialogRef, config);\n Object.assign(dialogRef, config);\n\n dialogRef.showModal();\n return onMessageAction;\n}\n\nshowMessage.info = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconInfo,\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.warning = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconWarning,\n iconColor: 'color-warning',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.error = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconError,\n iconColor: 'color-alarm',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.success = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconSuccess,\n iconColor: 'color-success',\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n\nshowMessage.question = (\n title: string,\n message: string,\n textOkay: string,\n textCancel?: string,\n payloadOkay?: any,\n payloadCancel?: any\n) => {\n return showMessage({\n message,\n messageTitle: title,\n icon: iconQuestion,\n actions: createConfirmButtons(\n textOkay,\n textCancel,\n payloadOkay,\n payloadCancel\n ),\n });\n};\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport type { IxModalSize } from '../../modal/modal.types';\nimport { getCoreDelegate, resolveDelegate } from '../delegate';\nimport { TypedEvent } from '../typed-event';\n\nexport function setA11yAttributes(element: HTMLElement, config: ModalConfig) {\n const ariaDescribedby = config.ariaDescribedby;\n const ariaLabelledby = config.ariaLabelledby;\n\n delete config['ariaDescribedby'];\n delete config['ariaLabelledby'];\n\n if (ariaDescribedby) {\n element.setAttribute('aria-describedby', ariaDescribedby);\n }\n\n if (ariaLabelledby) {\n element.setAttribute('aria-labelledby', ariaLabelledby);\n }\n}\n\nexport interface ModalConfig<TReason = any, CONTENT = any> {\n animation?: boolean;\n ariaDescribedby?: string;\n ariaLabelledby?: string;\n backdrop?: boolean;\n closeOnBackdropClick?: boolean;\n beforeDismiss?: (reason?: TReason) => boolean | Promise<boolean>;\n centered?: boolean;\n container?: string | HTMLElement;\n content: CONTENT | string;\n keyboard?: boolean;\n size?: IxModalSize;\n title?: string;\n}\n\nexport interface ModalInstance<TReason = any> {\n htmlElement: HTMLIxModalElement;\n onClose: TypedEvent<TReason>;\n onDismiss: TypedEvent<TReason>;\n}\n\nfunction getIxModal(element: Element) {\n return element.closest('ix-modal');\n}\n\nexport function closeModal<TClose = any>(\n element: Element,\n closeResult: TClose\n) {\n const dialog = getIxModal(element);\n if (dialog) {\n dialog.closeModal(closeResult);\n return;\n }\n}\n\nexport function dismissModal(element: Element, dismissResult?: any) {\n const dialog = getIxModal(element);\n if (dialog) {\n dialog.dismissModal(dismissResult);\n return;\n }\n}\n\nexport async function showModal<T>(\n config: ModalConfig<T>\n): Promise<ModalInstance<T>> {\n const delegate = resolveDelegate();\n let dialogRef: HTMLIxModalElement | undefined;\n const onClose = new TypedEvent<T>();\n const onDismiss = new TypedEvent<T>();\n\n if (typeof config.content === 'string') {\n const dialog = document.createElement('ix-modal');\n dialog.innerText = config.content;\n dialogRef = await getCoreDelegate().attachView(dialog);\n }\n\n if (\n config.content instanceof HTMLElement &&\n config.content.tagName !== 'IX-MODAL'\n ) {\n const dialog = document.createElement('ix-modal');\n dialog.appendChild(config.content);\n dialogRef = await getCoreDelegate().attachView(dialog);\n }\n if (!dialogRef) {\n dialogRef = await delegate.attachView<HTMLIxModalElement>(config.content);\n }\n\n setA11yAttributes(dialogRef, config);\n Object.assign(dialogRef, config);\n\n await dialogRef.showModal();\n dialogRef.addEventListener('dialogClose', async ({ detail }: CustomEvent) => {\n onClose.emit(detail);\n await delegate.removeView(dialogRef);\n });\n\n dialogRef.addEventListener(\n 'dialogDismiss',\n async ({ detail }: CustomEvent) => {\n onDismiss.emit(detail);\n await delegate.removeView(dialogRef);\n }\n );\n\n requestAnimationFrame(() => {\n const autofocusElement = dialogRef.querySelector(\n '[autofocus],[auto-focus]'\n );\n\n if (autofocusElement) {\n (autofocusElement as HTMLIxButtonElement).focus();\n }\n });\n\n return {\n htmlElement: dialogRef,\n onClose,\n onDismiss,\n };\n}\n"],"names":["setA11yAttributes","TypedEvent","iconInfo","iconWarning","iconError","iconSuccess","iconQuestion"],"mappings":";;;;;AAAA;;;;;;;AAOG;AAWH,MAAM,wBAAwB,CAAA;AAC5B,IAAA,MAAM,UAAU,CACd,IAAS,EACT,MAAuB,EAAA;;AAEvB,QAAA,MAAM,eAAe,GAAG,CAAA,EAAA,GAAA,MAAM,aAAN,MAAM,KAAA,MAAA,GAAA,MAAA,GAAN,MAAM,CAAE,aAAa,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,QAAQ,CAAC,IAAI;AAC9D,QAAA,eAAe,CAAC,WAAW,CAAC,IAAI,CAAC;AACjC,QAAA,OAAO,IAAI;;IAGb,MAAM,UAAU,CAAC,IAAS,EAAA;QACxB,IAAI,CAAC,MAAM,EAAE;;AAEhB;AAED,MAAM,YAAY,GAAG,IAAI,wBAAwB,EAAE;AACnD,IAAI,eAAe,GAAsB,YAAY;AAE/C,SAAU,yBAAyB,CAAC,QAA2B,EAAA;IACnE,eAAe,GAAG,QAAQ;AAC5B;AAEO,MAAM,eAAe,GAAG,MAAK;AAClC,IAAA,OAAO,eAAe;AACxB;MAEa,eAAe,GAAG,MAAM;;AC5CrC;;;;;;;AAOG;AAmBH,SAASA,mBAAiB,CAAC,OAAoB,EAAE,MAAsB,EAAA;AACrE,IAAA,MAAM,eAAe,GAAG,MAAM,CAAC,eAAe;AAC9C,IAAA,MAAM,cAAc,GAAG,MAAM,CAAC,cAAc;AAE5C,IAAA,OAAO,MAAM,CAAC,iBAAiB,CAAC;AAChC,IAAA,O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CopyrightText: 2024 Siemens AG
|
|
7
|
+
*
|
|
8
|
+
* SPDX-License-Identifier: MIT
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/
|
|
13
|
+
async function isTouched(host) {
|
|
14
|
+
if (typeof host.isTouched === 'function') {
|
|
15
|
+
return host.isTouched();
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
async function shouldSuppressInternalValidation(host) {
|
|
19
|
+
if (host.getAssociatedFormElement &&
|
|
20
|
+
typeof host.getAssociatedFormElement === 'function') {
|
|
21
|
+
const form = await host.getAssociatedFormElement();
|
|
22
|
+
if (!form) {
|
|
23
|
+
return false;
|
|
24
|
+
}
|
|
25
|
+
return form.noValidate;
|
|
26
|
+
}
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
function createClassMutationObserver(element, callback, options) {
|
|
30
|
+
const observer = new MutationObserver(callback);
|
|
31
|
+
observer.observe(element, {
|
|
32
|
+
subtree: options === null || options === void 0 ? void 0 : options.includeChildren,
|
|
33
|
+
childList: options === null || options === void 0 ? void 0 : options.includeChildren,
|
|
34
|
+
attributes: true,
|
|
35
|
+
attributeFilter: ['class'],
|
|
36
|
+
});
|
|
37
|
+
return {
|
|
38
|
+
destroy() {
|
|
39
|
+
observer.disconnect();
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function containsClass(hostElement, className, includeChildren) {
|
|
44
|
+
return (hostElement.classList.contains(`${className}`) ||
|
|
45
|
+
(includeChildren ? !!hostElement.querySelector(`.${className}`) : false));
|
|
46
|
+
}
|
|
47
|
+
function checkFieldClasses(hostElement, includeChildren = false) {
|
|
48
|
+
return {
|
|
49
|
+
isInvalid: containsClass(hostElement, 'ix-invalid', includeChildren),
|
|
50
|
+
isInvalidByRequired: containsClass(hostElement, 'ix-invalid--required', includeChildren),
|
|
51
|
+
isValid: containsClass(hostElement, 'ix-valid', includeChildren),
|
|
52
|
+
isInfo: containsClass(hostElement, 'ix-info', includeChildren),
|
|
53
|
+
isWarning: containsClass(hostElement, 'ix-warning', includeChildren),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function HookValidationLifecycle(options) {
|
|
57
|
+
return (proto, methodName) => {
|
|
58
|
+
let checkIfRequiredFunction;
|
|
59
|
+
let classMutationObserver;
|
|
60
|
+
const { componentWillLoad, disconnectedCallback, connectedCallback } = proto;
|
|
61
|
+
proto.connectedCallback = function () {
|
|
62
|
+
const host = index.getElement(this);
|
|
63
|
+
checkIfRequiredFunction = async () => {
|
|
64
|
+
const skipValidation = await shouldSuppressInternalValidation(host);
|
|
65
|
+
if (skipValidation) {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
if (host.hasValidValue && typeof host.hasValidValue === 'function') {
|
|
69
|
+
const hasValue = await host.hasValidValue();
|
|
70
|
+
const touched = await isTouched(host);
|
|
71
|
+
if (host.required) {
|
|
72
|
+
host.classList.toggle('ix-invalid--required', !hasValue && touched);
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
host.classList.remove('ix-invalid--required');
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
if (host.getValidityState &&
|
|
79
|
+
typeof host.getValidityState === 'function') {
|
|
80
|
+
const validityState = await host.getValidityState();
|
|
81
|
+
host.classList.toggle(`ix-invalid--validity-patternMismatch`, validityState.patternMismatch);
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
host.addEventListener('checkedChange', checkIfRequiredFunction);
|
|
85
|
+
host.addEventListener('valueChange', checkIfRequiredFunction);
|
|
86
|
+
host.addEventListener('ixBlur', checkIfRequiredFunction);
|
|
87
|
+
setTimeout(checkIfRequiredFunction);
|
|
88
|
+
return connectedCallback === null || connectedCallback === void 0 ? void 0 : connectedCallback.call(this);
|
|
89
|
+
};
|
|
90
|
+
proto.componentWillLoad = function () {
|
|
91
|
+
const host = index.getElement(this);
|
|
92
|
+
classMutationObserver = createClassMutationObserver(host, () => {
|
|
93
|
+
const result = checkFieldClasses(host, options === null || options === void 0 ? void 0 : options.includeChildren);
|
|
94
|
+
proto[methodName].call(this, result);
|
|
95
|
+
}, options);
|
|
96
|
+
const result = checkFieldClasses(host, options === null || options === void 0 ? void 0 : options.includeChildren);
|
|
97
|
+
proto[methodName].call(this, result);
|
|
98
|
+
return componentWillLoad === null || componentWillLoad === void 0 ? void 0 : componentWillLoad.call(this);
|
|
99
|
+
};
|
|
100
|
+
proto.disconnectedCallback = function () {
|
|
101
|
+
const host = index.getElement(this);
|
|
102
|
+
if (host && classMutationObserver) {
|
|
103
|
+
classMutationObserver.destroy();
|
|
104
|
+
classMutationObserver = null;
|
|
105
|
+
}
|
|
106
|
+
if (host && checkIfRequiredFunction) {
|
|
107
|
+
host.removeEventListener('checkedChange', checkIfRequiredFunction);
|
|
108
|
+
host.removeEventListener('valueChange', checkIfRequiredFunction);
|
|
109
|
+
host.removeEventListener('ixBlur', checkIfRequiredFunction);
|
|
110
|
+
checkIfRequiredFunction = null;
|
|
111
|
+
}
|
|
112
|
+
return disconnectedCallback === null || disconnectedCallback === void 0 ? void 0 : disconnectedCallback.call(this);
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
exports.HookValidationLifecycle = HookValidationLifecycle;
|
|
118
|
+
exports.checkFieldClasses = checkFieldClasses;
|
|
119
|
+
exports.createClassMutationObserver = createClassMutationObserver;
|
|
120
|
+
exports.shouldSuppressInternalValidation = shouldSuppressInternalValidation;
|
|
121
|
+
//# sourceMappingURL=validation-rAd3wIQp.js.map
|
|
122
|
+
|
|
123
|
+
//# sourceMappingURL=validation-rAd3wIQp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation-rAd3wIQp.js","sources":["src/components/utils/input/validation.ts"],"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 { getElement } from '@stencil/core';\nimport { HTMLIxFormComponentElement, IxFormComponent } from '.';\nimport { IxComponent } from '../internal';\n\nexport type ClassMutationObserver = {\n destroy: () => void;\n};\n\nexport async function isTouched<T>(host: IxFormComponent<T>) {\n if (typeof host.isTouched === 'function') {\n return host.isTouched();\n }\n}\n\nexport async function shouldSuppressInternalValidation<T>(\n host: IxFormComponent<T>\n) {\n if (\n host.getAssociatedFormElement &&\n typeof host.getAssociatedFormElement === 'function'\n ) {\n const form = await host.getAssociatedFormElement();\n\n if (!form) {\n return false;\n }\n\n return form.noValidate;\n }\n\n return false;\n}\n\nexport function createClassMutationObserver(\n element: HTMLElement,\n callback: () => void,\n options?: {\n includeChildren?: boolean;\n }\n): ClassMutationObserver {\n const observer = new MutationObserver(callback);\n observer.observe(element, {\n subtree: options?.includeChildren,\n childList: options?.includeChildren,\n attributes: true,\n attributeFilter: ['class'],\n });\n\n return {\n destroy() {\n observer.disconnect();\n },\n };\n}\n\nexport type ValidationResultProperty =\n | 'isInvalid'\n | 'isInvalidByRequired'\n | 'isValid'\n | 'isInfo'\n | 'isWarning';\nexport type ValidationResults = Record<ValidationResultProperty, boolean>;\n\nfunction containsClass(\n hostElement: HTMLIxFormComponentElement<unknown>,\n className: string,\n includeChildren: boolean\n) {\n return (\n hostElement.classList.contains(`${className}`) ||\n (includeChildren ? !!hostElement.querySelector(`.${className}`) : false)\n );\n}\n\nexport function checkFieldClasses(\n hostElement: HTMLIxFormComponentElement<unknown>,\n includeChildren = false\n): ValidationResults {\n return {\n isInvalid: containsClass(hostElement, 'ix-invalid', includeChildren),\n isInvalidByRequired: containsClass(\n hostElement,\n 'ix-invalid--required',\n includeChildren\n ),\n isValid: containsClass(hostElement, 'ix-valid', includeChildren),\n isInfo: containsClass(hostElement, 'ix-info', includeChildren),\n isWarning: containsClass(hostElement, 'ix-warning', includeChildren),\n };\n}\n\nexport function HookValidationLifecycle(options?: {\n includeChildren?: boolean;\n}) {\n return (proto: IxComponent, methodName: string) => {\n let checkIfRequiredFunction: (() => Promise<void>) | null;\n let classMutationObserver: ClassMutationObserver | null;\n const { componentWillLoad, disconnectedCallback, connectedCallback } =\n proto;\n\n proto.connectedCallback = function () {\n const host = getElement(\n this\n ) as unknown as HTMLIxFormComponentElement<unknown>;\n\n checkIfRequiredFunction = async () => {\n const skipValidation = await shouldSuppressInternalValidation(host);\n if (skipValidation) {\n return;\n }\n\n if (host.hasValidValue && typeof host.hasValidValue === 'function') {\n const hasValue = await host.hasValidValue();\n const touched = await isTouched(host);\n\n if (host.required) {\n host.classList.toggle('ix-invalid--required', !hasValue && touched);\n } else {\n host.classList.remove('ix-invalid--required');\n }\n }\n\n if (\n host.getValidityState &&\n typeof host.getValidityState === 'function'\n ) {\n const validityState = await host.getValidityState();\n\n host.classList.toggle(\n `ix-invalid--validity-patternMismatch`,\n validityState.patternMismatch\n );\n }\n };\n\n host.addEventListener('checkedChange', checkIfRequiredFunction);\n host.addEventListener('valueChange', checkIfRequiredFunction);\n host.addEventListener('ixBlur', checkIfRequiredFunction);\n setTimeout(checkIfRequiredFunction);\n return connectedCallback?.call(this);\n };\n\n proto.componentWillLoad = function () {\n const host = getElement(\n this\n ) as unknown as HTMLIxFormComponentElement<unknown>;\n classMutationObserver = createClassMutationObserver(\n host,\n () => {\n const result = checkFieldClasses(host, options?.includeChildren);\n proto[methodName].call(this, result);\n },\n options\n );\n const result = checkFieldClasses(host, options?.includeChildren);\n proto[methodName].call(this, result);\n return componentWillLoad?.call(this);\n };\n\n proto.disconnectedCallback = function () {\n const host = getElement(this);\n\n if (host && classMutationObserver) {\n classMutationObserver.destroy();\n classMutationObserver = null;\n }\n\n if (host && checkIfRequiredFunction) {\n host.removeEventListener('checkedChange', checkIfRequiredFunction);\n host.removeEventListener('valueChange', checkIfRequiredFunction);\n host.removeEventListener('ixBlur', checkIfRequiredFunction);\n checkIfRequiredFunction = null;\n }\n\n return discon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AP,MAAA,GAAA,MAAA,GAAA,OAAO,CAAE,eAAe,CAAC;YAChE,KAAK,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC;YACpC,OAAO,iBAAiB,KAAjB,IAAA,IAAA,iBAAiB,KAAjB,MAAA,GAAA,MAAA,GAAA,iBAAiB,CAAE,IAAI,CAAC,IAAI,CAAC;AACtC,SAAC;QAED,KAAK,CAAC,oBAAoB,GAAG,YAAA;AAC3B,YAAA,MAAM,IAAI,GAAGA,gBAAU,CAAC,IAAI,CAAC;AAE7B,YAAA,IAAI,IAAI,IAAI,qBAAqB,EAAE;gBACjC,qBAAqB,CAAC,OAAO,EAAE;gBAC/B,qBAAqB,GAAG,IAAI;;AAG9B,YAAA,IAAI,IAAI,IAAI,uBAAuB,EAAE;AACnC,gBAAA,IAAI,CAAC,mBAAmB,CAAC,eAAe,EAAE,uBAAuB,CAAC;AAClE,gBAAA,IAAI,CAAC,mBAAmB,CAAC,aAAa,EAAE,uBAAuB,CAAC;AAChE,gBAAA,IAAI,CAAC,mBAAmB,CAAC,QAAQ,EAAE,uBAAuB,CAAC;gBAC3D,uBAAuB,GAAG,IAAI;;YAGhC,OAAO,oBAAoB,KAApB,IAAA,IAAA,oBAAoB,KAApB,MAAA,GAAA,MAAA,GAAA,oBAAoB,CAAE,IAAI,CAAC,IAAI,CAAC;AACzC,SAAC;AACH,KAAC;AACH;;;;;;;"}
|
|
@@ -1,44 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"entries": [
|
|
3
|
-
"components/card/card.js",
|
|
4
|
-
"components/action-card/action-card.js",
|
|
5
|
-
"components/blind/blind.js",
|
|
6
3
|
"components/button/button.js",
|
|
7
|
-
"components/card-accordion/card-accordion.js",
|
|
8
|
-
"components/col/col.js",
|
|
9
|
-
"components/content-header/content-header.js",
|
|
10
|
-
"components/css-grid/css-grid.js",
|
|
11
|
-
"components/date-time-card/date-time-card.js",
|
|
12
|
-
"components/date-dropdown/date-dropdown.js",
|
|
13
|
-
"components/date-input/date-input.js",
|
|
14
|
-
"components/date-picker/date-picker.js",
|
|
15
|
-
"components/datetime-picker/datetime-picker.js",
|
|
16
|
-
"components/dropdown-button/dropdown-button.js",
|
|
17
|
-
"components/empty-state/empty-state.js",
|
|
18
|
-
"components/icon-button/icon-button.js",
|
|
19
|
-
"components/key-value/key-value.js",
|
|
20
4
|
"components/menu-settings/menu-settings.js",
|
|
21
5
|
"components/menu-about/menu-about.js",
|
|
22
|
-
"components/
|
|
23
|
-
"components/pane/pane.js",
|
|
24
|
-
"components/progress-indicator/progress-indicator.js",
|
|
25
|
-
"components/push-card/push-card.js",
|
|
26
|
-
"components/slider/slider.js",
|
|
27
|
-
"components/split-button/split-button.js",
|
|
28
|
-
"components/tab-item/tab-item.js",
|
|
29
|
-
"components/input/textarea.js",
|
|
30
|
-
"components/time-input/time-input.js",
|
|
31
|
-
"components/time-picker/time-picker.js",
|
|
32
|
-
"components/toast/toast-container.js",
|
|
33
|
-
"components/typography/typography.js",
|
|
6
|
+
"components/action-card/action-card.js",
|
|
34
7
|
"components/application/application.js",
|
|
35
8
|
"components/application-header/application-header.js",
|
|
36
9
|
"components/application-header/application-switch-modal/application-switch-modal.js",
|
|
37
10
|
"components/application-sidebar/application-sidebar.js",
|
|
38
11
|
"components/avatar/avatar.js",
|
|
39
12
|
"components/basic-navigation/basic-navigation.js",
|
|
13
|
+
"components/blind/blind.js",
|
|
40
14
|
"components/breadcrumb/breadcrumb.js",
|
|
41
15
|
"components/breadcrumb-item/breadcrumb-item.js",
|
|
16
|
+
"components/card/card.js",
|
|
17
|
+
"components/card-accordion/card-accordion.js",
|
|
42
18
|
"components/card-content/card-content.js",
|
|
43
19
|
"components/card-list/card-list.js",
|
|
44
20
|
"components/card-title/card-title.js",
|
|
@@ -46,15 +22,25 @@
|
|
|
46
22
|
"components/checkbox/checkbox.js",
|
|
47
23
|
"components/checkbox-group/checkbox-group.js",
|
|
48
24
|
"components/chip/chip.js",
|
|
25
|
+
"components/col/col.js",
|
|
49
26
|
"components/content/content.js",
|
|
27
|
+
"components/content-header/content-header.js",
|
|
50
28
|
"components/css-grid/css-grid-item.js",
|
|
29
|
+
"components/css-grid/css-grid.js",
|
|
51
30
|
"components/custom-field/custom-field.js",
|
|
31
|
+
"components/date-dropdown/date-dropdown.js",
|
|
32
|
+
"components/date-input/date-input.js",
|
|
33
|
+
"components/date-picker/date-picker.js",
|
|
34
|
+
"components/date-time-card/date-time-card.js",
|
|
35
|
+
"components/datetime-picker/datetime-picker.js",
|
|
52
36
|
"components/divider/divider.js",
|
|
53
37
|
"components/drawer/drawer.js",
|
|
54
38
|
"components/dropdown/dropdown.js",
|
|
39
|
+
"components/dropdown-button/dropdown-button.js",
|
|
55
40
|
"components/dropdown-header/dropdown-header.js",
|
|
56
41
|
"components/dropdown-item/dropdown-item.js",
|
|
57
42
|
"components/dropdown-quick-actions/dropdown-quick-actions.js",
|
|
43
|
+
"components/empty-state/empty-state.js",
|
|
58
44
|
"components/event-list/event-list.js",
|
|
59
45
|
"components/event-list-item/event-list-item.js",
|
|
60
46
|
"components/expanding-search/expanding-search.js",
|
|
@@ -67,10 +53,13 @@
|
|
|
67
53
|
"components/group/group.js",
|
|
68
54
|
"components/group-item/group-item.js",
|
|
69
55
|
"components/helper-text/helper-text.js",
|
|
56
|
+
"components/icon-button/icon-button.js",
|
|
70
57
|
"components/icon-toggle-button/icon-toggle-button.js",
|
|
71
58
|
"components/input/input.js",
|
|
72
59
|
"components/input/number-input.js",
|
|
60
|
+
"components/input/textarea.js",
|
|
73
61
|
"components/input-group/input-group.js",
|
|
62
|
+
"components/key-value/key-value.js",
|
|
74
63
|
"components/key-value-list/key-value-list.js",
|
|
75
64
|
"components/kpi/kpi.js",
|
|
76
65
|
"components/layout-auto/layout-auto.js",
|
|
@@ -88,27 +77,38 @@
|
|
|
88
77
|
"components/menu-item/menu-item.js",
|
|
89
78
|
"components/menu-settings-item/menu-settings-item.js",
|
|
90
79
|
"components/message-bar/message-bar.js",
|
|
80
|
+
"components/modal/modal.js",
|
|
91
81
|
"components/modal-content/modal-content.js",
|
|
92
82
|
"components/modal-footer/modal-footer.js",
|
|
93
83
|
"components/modal-header/modal-header.js",
|
|
94
84
|
"components/modal-loading/modal-loading.js",
|
|
95
85
|
"components/pagination/pagination.js",
|
|
86
|
+
"components/pane/pane.js",
|
|
96
87
|
"components/pane-layout/pane-layout.js",
|
|
97
88
|
"components/pill/pill.js",
|
|
89
|
+
"components/progress-indicator/progress-indicator.js",
|
|
90
|
+
"components/push-card/push-card.js",
|
|
98
91
|
"components/radio/radio.js",
|
|
99
92
|
"components/radio-group/radio-group.js",
|
|
100
93
|
"components/row/row.js",
|
|
101
94
|
"components/select/select.js",
|
|
102
95
|
"components/select-item/select-item.js",
|
|
96
|
+
"components/slider/slider.js",
|
|
103
97
|
"components/spinner/spinner.js",
|
|
98
|
+
"components/split-button/split-button.js",
|
|
99
|
+
"components/tab-item/tab-item.js",
|
|
104
100
|
"components/tabs/tabs.js",
|
|
105
101
|
"components/tile/tile.js",
|
|
102
|
+
"components/time-input/time-input.js",
|
|
103
|
+
"components/time-picker/time-picker.js",
|
|
104
|
+
"components/toast/toast-container.js",
|
|
106
105
|
"components/toast/toast.js",
|
|
107
106
|
"components/toggle/toggle.js",
|
|
108
107
|
"components/toggle-button/toggle-button.js",
|
|
109
108
|
"components/tooltip/tooltip.js",
|
|
110
109
|
"components/tree/tree.js",
|
|
111
110
|
"components/tree-item/tree-item.js",
|
|
111
|
+
"components/typography/typography.js",
|
|
112
112
|
"components/upload/upload.js",
|
|
113
113
|
"components/validation-tooltip/validation-tooltip.js",
|
|
114
114
|
"components/workflow-step/workflow-step.js",
|
|
@@ -23,7 +23,7 @@ export class IxActionCard {
|
|
|
23
23
|
this.selected = false;
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '8baf09c7b0f2aef34a37dd639fb1d2629d143692' }, h("ix-card", { key: 'f21a1d74d716482bef98cb909da8192a78b8937a', selected: this.selected, variant: this.variant, class: 'pointer' }, h("ix-card-content", { key: '0edcd9783ea5ad0d8471d6aa4c4aa398dc329cf4' }, this.icon ? (h("ix-icon", { class: 'icon', name: this.icon, size: "32" })) : null, h("div", { key: 'be3798858f6fa19d8897d7cefb900fb1e14a4db2' }, this.heading ? (h("ix-typography", { format: "h4" }, this.heading)) : null, this.subheading ? (h("ix-typography", { format: "h5" }, this.subheading)) : null, h("slot", { key: '5014e3efdb43a20519cca4b5c5bfd21d7009983b' }))))));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "ix-action-card"; }
|
|
29
29
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,9 +48,9 @@ export class IxActionCard {
|
|
|
48
48
|
"resolved": "\"alarm\" | \"critical\" | \"filled\" | \"info\" | \"neutral\" | \"outline\" | \"primary\" | \"success\" | \"warning\"",
|
|
49
49
|
"references": {
|
|
50
50
|
"ActionCardVariant": {
|
|
51
|
-
"location": "
|
|
52
|
-
"path": "
|
|
53
|
-
"id": "src/components/action-card/action-card.
|
|
51
|
+
"location": "import",
|
|
52
|
+
"path": "./action-card.types",
|
|
53
|
+
"id": "src/components/action-card/action-card.types.ts::ActionCardVariant"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-card.js","sourceRoot":"","sources":["../../../src/components/action-card/action-card.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"action-card.js","sourceRoot":"","sources":["../../../src/components/action-card/action-card.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAQzD,MAAM,OAAO,YAAY;IALzB;QAME;;WAEG;QACK,YAAO,GAAsB,SAAS,CAAC;QAE/C;;WAEG;QACK,SAAI,GAAuB,SAAS,CAAC;QAY7C;;WAEG;QACK,aAAQ,GAAG,KAAK,CAAC;KA4B1B;IA1BC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,gEACE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,SAAS;gBAEhB;oBACG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CACX,eAAS,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAC,IAAI,GAAW,CAC9D,CAAC,CAAC,CAAC,IAAI;oBACR;wBACG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CACd,qBAAe,MAAM,EAAC,IAAI,IAAE,IAAI,CAAC,OAAO,CAAiB,CAC1D,CAAC,CAAC,CAAC,IAAI;wBACP,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CACjB,qBAAe,MAAM,EAAC,IAAI,IAAE,IAAI,CAAC,UAAU,CAAiB,CAC7D,CAAC,CAAC,CAAC,IAAI;wBACR,8DAAa,CACT,CACU,CACV,CACL,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","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 { Component, h, Host, Prop } from '@stencil/core';\nimport type { ActionCardVariant } from './action-card.types';\n\n@Component({\n tag: 'ix-action-card',\n styleUrl: 'action-card.scss',\n shadow: true,\n})\nexport class IxActionCard {\n /**\n * Card variant\n */\n @Prop() variant: ActionCardVariant = 'outline';\n\n /**\n * Card icon\n */\n @Prop() icon: string | undefined = undefined;\n\n /**\n * Card heading\n */\n @Prop() heading?: string;\n\n /**\n * Card subheading\n */\n @Prop() subheading?: string;\n\n /**\n * Card selection\n */\n @Prop() selected = false;\n\n render() {\n return (\n <Host>\n <ix-card\n selected={this.selected}\n variant={this.variant}\n class={'pointer'}\n >\n <ix-card-content>\n {this.icon ? (\n <ix-icon class={'icon'} name={this.icon} size=\"32\"></ix-icon>\n ) : null}\n <div>\n {this.heading ? (\n <ix-typography format=\"h4\">{this.heading}</ix-typography>\n ) : null}\n {this.subheading ? (\n <ix-typography format=\"h5\">{this.subheading}</ix-typography>\n ) : null}\n <slot></slot>\n </div>\n </ix-card-content>\n </ix-card>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action-card.types.js","sourceRoot":"","sources":["../../../src/components/action-card/action-card.types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG","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 { CardVariant } from '../card/card.types';\n\nexport type ActionCardVariant = CardVariant;\n"]}
|
|
@@ -97,12 +97,12 @@ export class Application {
|
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
|
-
return (h(Host, { key: '
|
|
100
|
+
return (h(Host, { key: 'aad0ef5275fe9f1171ae4dce908ddbdd7cdd11f5', "data-role": "", class: {
|
|
101
101
|
[`breakpoint-${this.breakpoint}`]: true,
|
|
102
|
-
} }, h("slot", { key: '
|
|
102
|
+
} }, h("slot", { key: 'd4316defd6187f58d1985ac6cfbfc8b6c00c8976', name: "application-header" }), h("div", { key: 'c469f5d352f3f3a5076048601d7f971e506b641f', class: "application" }, h("slot", { key: 'c4eb0d2ff1072d219471812327fcea9205ef6a68', name: "menu" }), h("aside", { key: '4a21967366659f686dd6a440f5a49656152c30db', class: {
|
|
103
103
|
'application-sidebar': true,
|
|
104
104
|
slotted: this.applicationSidebarSlotted,
|
|
105
|
-
}, onClick: () => this.onContentClick() }, h("slot", { key: '
|
|
105
|
+
}, onClick: () => this.onContentClick() }, h("slot", { key: '8755cb0a44d236370269f6b16efd5d7abe4a65b1', name: "application-sidebar", onSlotchange: () => (this.applicationSidebarSlotted = hasSlottedElements(this.applicationSidebarSlot)) })), h("div", { key: 'e3785747895c9088c05a31efcaa23fc24dfa9a1b', class: "content-area" }, h("main", { key: '5851ddbde96f58e34997e1170834fcbd1170788a', class: "content", onClick: () => this.onContentClick() }, h("slot", { key: '1f02153bf8b615bf9a2bcba687c355a3556a2269' })), h("footer", { key: 'cd197d08463928e3f99338fb5dc48c17d3478836', class: "footer" }, h("slot", { key: '8b171ae00d0634e38bc36e98be7b7982bd25dbc8', name: "bottom" }))))));
|
|
106
106
|
}
|
|
107
107
|
static get is() { return "ix-application"; }
|
|
108
108
|
static get encapsulation() { return "shadow"; }
|
|
@@ -136,12 +136,12 @@ export class ApplicationHeader {
|
|
|
136
136
|
const showApplicationSwitch = ((_a = this.applicationLayoutContext) === null || _a === void 0 ? void 0 : _a.appSwitchConfig) &&
|
|
137
137
|
this.breakpoint !== 'sm' &&
|
|
138
138
|
this.suppressResponsive === false;
|
|
139
|
-
return (h(Host, { key: '
|
|
139
|
+
return (h(Host, { key: 'ea35fc68c2e1908c7f54d34f5b2a6d40e1ff6848', class: {
|
|
140
140
|
[`breakpoint-${this.breakpoint}`]: true,
|
|
141
|
-
}, slot: "application-header" }, (this.showMenu || showMenuByApplicationFrame) && (h("ix-menu-expand-icon", { key: '
|
|
141
|
+
}, slot: "application-header" }, (this.showMenu || showMenuByApplicationFrame) && (h("ix-menu-expand-icon", { key: '23c6315c2dc9fc2bc508f756299303a9ee38d43d', onClick: () => this.onMenuClick(), expanded: this.menuExpanded })), showApplicationSwitch && (h("ix-icon-button", { key: '4fa7d4883123f64a1a9d6305195f6f16117bf3df', onClick: () => this.showAppSwitch(), icon: iconApps, ghost: true, class: "app-switch" })), h("div", { key: '855a8032a50adf8029e926633b5bc35f686344fa', class: { logo: true } }, h("slot", { key: '5dbf947fdeb4d5faefa7746f6f49ba40f2a4b43d', name: "logo" })), h("ix-typography", { key: '75055f9bff04a6dc5703b6126204d8ca172b586d', format: "body-lg", class: "name" }, this.name), h("div", { key: 'df59f3d7bdcbb43461f88564b59f0e3d913686a9', class: "content" }, this.breakpoint === 'sm' ? (h(Fragment, null, h("ix-icon-button", { class: {
|
|
142
142
|
['context-menu']: true,
|
|
143
143
|
['context-menu-visible']: this.hasSlottedElements,
|
|
144
|
-
}, "data-context-menu": true, "data-testid": "show-more", icon: iconMoreMenu, ghost: true }), h("ix-dropdown", { "data-overflow-dropdown": true, class: "dropdown", discoverAllSubmenus: true, trigger: this.resolveContextMenuButton() }, h("div", { class: "dropdown-content", onClick: (e) => this.onContentBgClick(e) }, h("slot", { onSlotchange: () => this.updateIsSlottedContent() }))))) : (h("slot", { onSlotchange: () => this.updateIsSlottedContent() })), h("slot", { key: '
|
|
144
|
+
}, "data-context-menu": true, "data-testid": "show-more", icon: iconMoreMenu, ghost: true }), h("ix-dropdown", { "data-overflow-dropdown": true, class: "dropdown", discoverAllSubmenus: true, trigger: this.resolveContextMenuButton() }, h("div", { class: "dropdown-content", onClick: (e) => this.onContentBgClick(e) }, h("slot", { onSlotchange: () => this.updateIsSlottedContent() }))))) : (h("slot", { onSlotchange: () => this.updateIsSlottedContent() })), h("slot", { key: '257f20905871e368edcfceb9bef84a843df457ed', name: "ix-application-header-avatar" }))));
|
|
145
145
|
}
|
|
146
146
|
static get is() { return "ix-application-header"; }
|
|
147
147
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,7 +41,7 @@ export class ApplicationSwitchModal {
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c, _d;
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: 'a4279dbad5812faf0833dccc9b872b4618d3b721' }, h("ix-modal-header", { key: '2aeba11eb0d8e2f927a1a454d462aa1d2be8f797', icon: iconApps }, ((_a = this.config) === null || _a === void 0 ? void 0 : _a.i18nAppSwitch) || 'Switch to application'), h("ix-modal-content", { key: 'e9b3da826aad0519a8ce43879f6ac609370c3e0b', class: "content" }, h("div", { key: '89696259fb23ca82f9be6614afa44aa0d4e0955a', class: "content-apps" }, (!this.config || ((_b = this.config) === null || _b === void 0 ? void 0 : _b.apps.length) === 0) && (h("div", { key: '411aaac0b82835301e909b751ee640054b1c7722', class: "loading" }, h("ix-spinner", { key: '3f1580e44ee6306acee76547fe375094a334e421', size: "medium", variant: "primary" }), h("span", { key: '434d97bd9e210b534a3461bf7c5578e13fd4fb3e' }, ((_c = this.config) === null || _c === void 0 ? void 0 : _c.i18nLoadingApps) ||
|
|
45
45
|
'Loading available applications...'))), (_d = this.config) === null || _d === void 0 ? void 0 :
|
|
46
46
|
_d.apps.map((appEntry) => {
|
|
47
47
|
var _a;
|
|
@@ -35,7 +35,7 @@ export class ApplicationSidebar {
|
|
|
35
35
|
anime(animation);
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: 'c8e82060904c6cdf605fc8330d4c355445bfc578', slot: "application-sidebar", class: {
|
|
39
39
|
visible: this.visible,
|
|
40
40
|
} }, this.visible ? h("slot", null) : null));
|
|
41
41
|
}
|
|
@@ -77,10 +77,10 @@ export class BasicNavigation {
|
|
|
77
77
|
(_a = this.modeDisposable) === null || _a === void 0 ? void 0 : _a.dispose();
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: '4822db1bf514b124a556e3ad84371ec65c80b79e', "data-role": "", class: {
|
|
81
81
|
'hide-header': this.hideHeader,
|
|
82
82
|
[`breakpoint-${this.breakpoint}`]: true,
|
|
83
|
-
} }, !this.hideHeader ? (h("ix-application-header", { name: this.applicationName }, h("slot", { name: "logo", slot: "logo" }))) : null, h("div", { key: '
|
|
83
|
+
} }, !this.hideHeader ? (h("ix-application-header", { name: this.applicationName }, h("slot", { name: "logo", slot: "logo" }))) : null, h("div", { key: '6dac9e78e5fdfcde1d6ceadb634edf144f92d533', class: "navigation-content" }, h("slot", { key: '32e0ae56a4bd3d71298fd8febf6dab05f352addf', name: "menu" }), h("div", { key: '9c58c183a31ab742153be18d439e44557caa70b3', class: "content", onClick: () => this.onContentClick() }, h("slot", { key: '8fba39214e60168b3780d95c1e262b976dc4a5a6' })))));
|
|
84
84
|
}
|
|
85
85
|
static get is() { return "ix-basic-navigation"; }
|
|
86
86
|
static get encapsulation() { return "shadow"; }
|
|
@@ -73,17 +73,17 @@ export class Blind {
|
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: '00b4ab66bca51be1fca9bc6e2546d8ffef6e971f', class: {
|
|
77
77
|
[`blind-${this.variant}`]: true,
|
|
78
|
-
} }, h("div", { key: '
|
|
78
|
+
} }, h("div", { key: '4536c0666dff1a7f592e2b82f174275388081f16', class: 'blind-header-wrapper' }, h("button", { key: '2813220b43b8b24e314ec45afa052b48f2d1c0d4', class: {
|
|
79
79
|
'blind-header': true,
|
|
80
80
|
[`blind-${this.variant}`]: true,
|
|
81
81
|
closed: this.collapsed,
|
|
82
|
-
}, type: "button", "aria-labelledby": `ix-blind-header-title-${this.blindId}`, "aria-controls": `ix-blind-content-section-${this.blindId}`, "aria-expanded": a11yBoolean(!this.collapsed), onClick: () => this.onHeaderClick() }, h("slot", { key: '
|
|
82
|
+
}, type: "button", "aria-labelledby": `ix-blind-header-title-${this.blindId}`, "aria-controls": `ix-blind-content-section-${this.blindId}`, "aria-expanded": a11yBoolean(!this.collapsed), onClick: () => this.onHeaderClick() }, h("slot", { key: '46a63c9003246ec317b3395f67a9d44e26d537fc', name: "custom-header" })), h("div", { key: '0077a2dcf44af78b231e5945c2cbb3d4d6657890', class: 'blind-header-content' }, h("ix-icon", { key: 'a4896c1311dfabee19992141a114761bca66d4ce', class: "collapse-icon", name: iconChevronRightSmall, color: this.variant === 'filled' || this.variant === 'outline'
|
|
83
83
|
? 'color-primary'
|
|
84
|
-
: `color-${this.variant}--contrast`, ref: (ref) => (this.chevronRef = ref) }), h("div", { key: '
|
|
84
|
+
: `color-${this.variant}--contrast`, ref: (ref) => (this.chevronRef = ref) }), h("div", { key: 'c9bf3d7cad6eb8c5c1c5838e13fd2ef93dfa9460', class: "blind-header-title", id: `ix-blind-header-title-${this.blindId}` }, this.label !== undefined ? (h(Fragment, null, this.icon && (h("ix-icon", { class: "blind-header-title-icon", name: this.icon, color: this.variant === 'filled' || this.variant === 'outline'
|
|
85
85
|
? 'color-std-text'
|
|
86
|
-
: `color-${this.variant}--contrast` })), h("div", { class: 'blind-header-title-row' }, h("div", { class: "blind-header-title-col" }, h("ix-typography", { title: this.label, format: "label-lg", bold: true }, h("div", { class: "blind-header-title-label", title: this.label }, this.label))), this.sublabel && (h("div", { class: "blind-header-title-col" }, h("ix-typography", { title: this.sublabel }, h("div", { class: "blind-header-title-sublabel" }, this.sublabel))))), h("div", { class: "header-actions" }, h("slot", { name: "header-actions" })))) : null))), h("section", { key: '
|
|
86
|
+
: `color-${this.variant}--contrast` })), h("div", { class: 'blind-header-title-row' }, h("div", { class: "blind-header-title-col" }, h("ix-typography", { title: this.label, format: "label-lg", bold: true }, h("div", { class: "blind-header-title-label", title: this.label }, this.label))), this.sublabel && (h("div", { class: "blind-header-title-col" }, h("ix-typography", { title: this.sublabel }, h("div", { class: "blind-header-title-sublabel" }, this.sublabel))))), h("div", { class: "header-actions" }, h("slot", { name: "header-actions" })))) : null))), h("section", { key: '33094dfc62a23ae50b28a37f44cf820f6cd9461b', id: `ix-blind-content-section-${this.blindId}`, "aria-labelledby": `ix-blind-header-title-${this.blindId}` }, h("div", { key: 'af22eeede3d3093d7b0ab24db17f335a02a430a2', class: {
|
|
87
87
|
'blind-content': true,
|
|
88
88
|
hide: this.collapsed,
|
|
89
89
|
} }, !this.collapsed ? h("slot", null) : null))));
|
|
@@ -188,9 +188,9 @@ export class Blind {
|
|
|
188
188
|
"resolved": "\"alarm\" | \"critical\" | \"filled\" | \"info\" | \"neutral\" | \"outline\" | \"primary\" | \"success\" | \"warning\"",
|
|
189
189
|
"references": {
|
|
190
190
|
"BlindVariant": {
|
|
191
|
-
"location": "
|
|
192
|
-
"path": "
|
|
193
|
-
"id": "src/components/blind/blind.
|
|
191
|
+
"location": "import",
|
|
192
|
+
"path": "./blind.types",
|
|
193
|
+
"id": "src/components/blind/blind.types.ts::BlindVariant"
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blind.js","sourceRoot":"","sources":["../../../src/components/blind/blind.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,QAAQ,EACR,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,GACN,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"blind.js","sourceRoot":"","sources":["../../../src/components/blind/blind.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,QAAQ,EACR,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,GACN,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGhE,IAAI,oBAAoB,GAAG,CAAC,CAAC;AAO7B,MAAM,O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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","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 */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n Fragment,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core';\nimport anime from 'animejs';\nimport { a11yBoolean } from '../utils/a11y';\nimport { iconChevronRightSmall } from '@siemens/ix-icons/icons';\nimport type { BlindVariant } from './blind.types';\n\nlet sequentialInstanceId = 0;\n\n@Component({\n tag: 'ix-blind',\n styleUrl: 'blind.scss',\n shadow: true,\n})\nexport class Blind {\n /**\n * Collapsed state\n */\n @Prop({ mutable: true, reflect: true }) collapsed = false;\n\n /**\n * Label of blind\n */\n @Prop() label?: string;\n\n /**\n * Secondary label inside blind header\n */\n @Prop() sublabel?: string;\n\n /**\n * Optional icon to be displayed next to the header label\n */\n @Prop() icon?: string;\n\n /**\n * Blind variant\n */\n @Prop() variant: BlindVariant = 'filled';\n\n /**\n * Collapsed state changed\n */\n @Event() collapsedChange!: EventEmitter<boolean>;\n\n @Element() hostElement!: HTMLIxBlindElement;\n\n private chevronRef?: HTMLElement;\n private blindId = ++sequentialInstanceId;\n\n constructor() {}\n\n private onHeaderClick() {\n this.collapsed = !this.collapsed;\n this.collapsedChange.emit(this.collapsed);\n }\n\n componentDidLoad() {\n this.animateCollapse(this.collapsed);\n }\n\n get content() {\n return this.hostElement.shadowRoot!.querySelector('.blind-content');\n }\n\n @Watch('collapsed')\n animation(isCollapsed: boolean) {\n this.animateCollapse(isCollapsed);\n }\n\n private animateCollapse(isCollapsed: boolean) {\n if (isCollapsed) {\n this.rotateChevronRight();\n } else {\n this.rotateChevronDown();\n }\n }\n\n private rotateChevronDown() {\n anime({\n targets: this.chevronRef,\n duration: 150,\n easing: 'easeInOutSine',\n rotateZ: 90,\n });\n anime({\n targets: this.content,\n duration: 150,\n easing: 'easeInOutSine',\n opacity: 1,\n });\n }\n\n private rotateChevronRight() {\n anime({\n targets: this.chevronRef,\n duration: 150,\n easing: 'easeInOutSine',\n rotateZ: 0,\n });\n anime({\n targets: this.content,\n duration: 150,\n easing: 'easeInOutSine',\n opacity: 0,\n });\n }\n\n render() {\n return (\n <Host\n class={{\n [`blind-${this.variant}`]: true,\n }}\n >\n <div class={'blind-header-wrapper'}>\n <button\n class={{\n 'blind-header': true,\n [`blind-${this.variant}`]: true,\n closed: this.collapsed,\n }}\n type=\"button\"\n aria-labelledby={`ix-blind-header-title-${this.blindId}`}\n aria-controls={`ix-blind-content-section-${this.blindId}`}\n aria-expanded={a11yBoolean(!this.collapsed)}\n onClick={() => this.onHeaderClick()}\n >\n <slot name=\"custom-header\"></slot>\n </button>\n\n <div class={'blind-header-content'}>\n <ix-icon\n class=\"collapse-icon\"\n name={iconChevronRightSmall}\n color={\n this.variant === 'filled' || this.variant === 'outline'\n ? 'color-primary'\n : `color-${this.variant}--contrast`\n }\n ref={(ref: HTMLElement | undefined) => (this.chevronRef = ref)}\n ></ix-icon>\n <div\n class=\"blind-header-title\"\n id={`ix-blind-header-title-${this.blindId}`}\n >\n {this.label !== undefined ? (\n <Fragment>\n {this.icon && (\n <ix-icon\n class=\"blind-header-title-icon\"\n name={this.icon}\n color={\n this.variant === 'filled' || this.variant === 'outline'\n ? 'color-std-text'\n : `color-${this.variant}--contrast`\n }\n ></ix-icon>\n )}\n <div class={'blind-header-title-row'}>\n <div class=\"blind-header-title-col\">\n <ix-typography title={this.label} format=\"label-lg\" bold>\n <div\n class=\"blind-header-title-label\"\n title={this.label}\n >\n {this.label}\n </div>\n </ix-typography>\n </div>\n\n {this.sublabel && (\n <div class=\"blind-header-title-col\">\n <ix-typography title={this.sublabel}>\n <div class=\"blind-header-title-sublabel\">\n {this.sublabel}\n </div>\n </ix-typography>\n </div>\n )}\n </div>\n <div class=\"header-actions\">\n <slot name=\"header-actions\"></slot>\n </div>\n </Fragment>\n ) : null}\n </div>\n </div>\n </div>\n <section\n id={`ix-blind-content-section-${this.blindId}`}\n aria-labelledby={`ix-blind-header-title-${this.blindId}`}\n >\n <div\n class={{\n 'blind-content': true,\n hide: this.collapsed,\n }}\n >\n {!this.collapsed ? <slot></slot> : null}\n </div>\n </section>\n </Host>\n );\n }\n}\n"]}
|