@eui/components 17.0.0-next.4 → 17.0.0-next.5
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/directives/eui-clearable.directive.d.ts.map +1 -1
- package/directives/eui-tooltip/eui-tooltip.directive.d.ts.map +1 -1
- package/esm2022/directives/eui-clearable.directive.mjs +8 -9
- package/esm2022/directives/eui-has-permission.directive.mjs +7 -7
- package/esm2022/directives/eui-loading.directive.mjs +3 -3
- package/esm2022/directives/eui-maxlength.directive.mjs +7 -7
- package/esm2022/directives/eui-resizable/eui-resizable.component.mjs +3 -3
- package/esm2022/directives/eui-resizable/eui-resizable.directive.mjs +4 -5
- package/esm2022/directives/eui-resizable/eui-resizable.module.mjs +4 -4
- package/esm2022/directives/eui-scroll-handler.directive.mjs +10 -10
- package/esm2022/directives/eui-smooth-scroll.directive.mjs +10 -10
- package/esm2022/directives/eui-template.directive.mjs +7 -7
- package/esm2022/directives/eui-tooltip/container/eui-tooltip-container.component.mjs +3 -3
- package/esm2022/directives/eui-tooltip/eui-tooltip.directive.mjs +58 -26
- package/esm2022/directives/eui-tooltip/eui-tooltip.module.mjs +4 -4
- package/esm2022/eui-alert/eui-alert.component.mjs +9 -8
- package/esm2022/eui-all/eui-all.module.mjs +9 -10
- package/esm2022/eui-autocomplete/eui-autocomplete.component.mjs +31 -15
- package/esm2022/eui-autocomplete/eui-autocomplete.module.mjs +4 -4
- package/esm2022/eui-autocomplete/models/eui-autocomplete-item.model.mjs +2 -1
- package/esm2022/eui-badge/eui-badge.component.mjs +8 -8
- package/esm2022/eui-block-content/eui-block-content.component.mjs +5 -5
- package/esm2022/eui-block-content/eui-block-content.module.mjs +4 -4
- package/esm2022/eui-block-document/eui-block-document.component.mjs +3 -3
- package/esm2022/eui-block-document/eui-block-document.module.mjs +4 -4
- package/esm2022/eui-button/eui-button.component.mjs +10 -10
- package/esm2022/eui-button-group/eui-button-group.component.mjs +7 -7
- package/esm2022/eui-buttons/eui-buttons.component.mjs +17 -17
- package/esm2022/eui-card/components/eui-card-content/eui-card-content.component.mjs +3 -3
- package/esm2022/eui-card/components/eui-card-footer/eui-card-footer-action-buttons.component.mjs +3 -3
- package/esm2022/eui-card/components/eui-card-footer/eui-card-footer-action-icons.component.mjs +3 -3
- package/esm2022/eui-card/components/eui-card-footer/eui-card-footer-menu-content.component.mjs +3 -3
- package/esm2022/eui-card/components/eui-card-footer/eui-card-footer.component.mjs +3 -3
- package/esm2022/eui-card/components/eui-card-header/eui-card-header-left-content.component.mjs +3 -3
- package/esm2022/eui-card/components/eui-card-header/eui-card-header-right-content.component.mjs +3 -3
- package/esm2022/eui-card/components/eui-card-header/eui-card-header-subtitle.component.mjs +3 -3
- package/esm2022/eui-card/components/eui-card-header/eui-card-header-title.component.mjs +3 -3
- package/esm2022/eui-card/components/eui-card-header/eui-card-header.component.mjs +3 -3
- package/esm2022/eui-card/components/eui-card-header-body/eui-card-header-body.component.mjs +3 -3
- package/esm2022/eui-card/components/eui-card-media/eui-card-media.component.mjs +3 -3
- package/esm2022/eui-card/eui-card.component.mjs +3 -3
- package/esm2022/eui-card/eui-card.module.mjs +4 -4
- package/esm2022/eui-card/services/ui-state.service.mjs +3 -3
- package/esm2022/eui-chip/eui-chip.component.mjs +3 -3
- package/esm2022/eui-chip/eui-chip.module.mjs +4 -4
- package/esm2022/eui-chip-list/eui-chip-list.component.mjs +9 -9
- package/esm2022/eui-chip-list/eui-chip-list.module.mjs +4 -4
- package/esm2022/eui-chip-list/services/eui-chip-list-drag.service.mjs +3 -3
- package/esm2022/eui-dashboard-button/eui-dashboard-button.component.mjs +15 -15
- package/esm2022/eui-dashboard-card/eui-dashboard-card.component.mjs +9 -8
- package/esm2022/eui-date-range-selector/eui-date-range-selector.component.mjs +19 -6
- package/esm2022/eui-date-range-selector/eui-date-range-selector.module.mjs +4 -4
- package/esm2022/eui-datepicker/eui-datepicker.component.mjs +21 -21
- package/esm2022/eui-datepicker/eui-datepicker.module.mjs +4 -4
- package/esm2022/eui-dialog/container/eui-dialog-container.component.mjs +3 -3
- package/esm2022/eui-dialog/eui-dialog.component.mjs +10 -10
- package/esm2022/eui-dialog/eui-dialog.module.mjs +4 -4
- package/esm2022/eui-dialog/services/eui-dialog.service.mjs +5 -5
- package/esm2022/eui-dimmer/dimmer.component.mjs +4 -4
- package/esm2022/eui-dimmer/dimmer.module.mjs +4 -4
- package/esm2022/eui-disable-content/eui-disable-content.component.mjs +10 -10
- package/esm2022/eui-discussion-thread/eui-discussion-thread-item.component.mjs +5 -5
- package/esm2022/eui-discussion-thread/eui-discussion-thread.component.mjs +3 -3
- package/esm2022/eui-discussion-thread/eui-discussion-thread.module.mjs +4 -4
- package/esm2022/eui-dropdown/directives/eui-dropdown-content.directive.mjs +3 -3
- package/esm2022/eui-dropdown/dropdown-item/eui-dropdown-item.component.mjs +10 -8
- package/esm2022/eui-dropdown/eui-dropdown.component.mjs +3 -3
- package/esm2022/eui-dropdown/eui-dropdown.module.mjs +8 -8
- package/esm2022/eui-dropdown/eui-dropdown.service.mjs +3 -3
- package/esm2022/eui-feedback-message/eui-feedback-message.component.mjs +3 -3
- package/esm2022/eui-feedback-message/eui-feedback-message.module.mjs +4 -4
- package/esm2022/eui-fieldset/eui-fieldset.component.mjs +9 -9
- package/esm2022/eui-fieldset/eui-fieldset.module.mjs +4 -4
- package/esm2022/eui-file-upload/eui-file-upload.component.mjs +32 -18
- package/esm2022/eui-file-upload/eui-file-upload.module.mjs +6 -17
- package/esm2022/eui-file-upload/file-preview/file-preview.component.mjs +6 -4
- package/esm2022/eui-file-upload/pipes/filesize.pipe.mjs +3 -3
- package/esm2022/eui-file-upload/progress/eui-file-upload-progress.component.mjs +3 -3
- package/esm2022/eui-file-upload/utils/eui-file-upload.utils.mjs +4 -4
- package/esm2022/eui-file-upload/utils/eui-file-upload.validators.mjs +1 -1
- package/esm2022/eui-file-upload/utils/mime-types.mjs +3 -1
- package/esm2022/eui-growl/eui-growl.component.mjs +4 -4
- package/esm2022/eui-growl/eui-growl.module.mjs +4 -4
- package/esm2022/eui-growl/services/eui-growl.service.mjs +3 -3
- package/esm2022/eui-icon/eui-icon-color.component.mjs +3 -3
- package/esm2022/eui-icon/eui-icon-svg.component.mjs +3 -3
- package/esm2022/eui-icon/eui-icon.component.mjs +3 -3
- package/esm2022/eui-icon/eui-icon.module.mjs +4 -4
- package/esm2022/eui-icon-toggle/eui-icon-toggle.component.mjs +3 -3
- package/esm2022/eui-icon-toggle/eui-icon-toggle.module.mjs +4 -4
- package/esm2022/eui-input-checkbox/eui-input-checkbox.component.mjs +4 -4
- package/esm2022/eui-input-checkbox/eui-input-checkbox.module.mjs +4 -4
- package/esm2022/eui-input-group/eui-input-group.component.mjs +4 -4
- package/esm2022/eui-input-group/eui-input-group.module.mjs +4 -4
- package/esm2022/eui-input-number/eui-input-number.component.mjs +4 -4
- package/esm2022/eui-input-number/eui-input-number.module.mjs +4 -4
- package/esm2022/eui-input-number/eui-number-control.directive.mjs +4 -4
- package/esm2022/eui-input-radio/eui-input-radio.component.mjs +9 -11
- package/esm2022/eui-input-radio/eui-input-radio.module.mjs +4 -4
- package/esm2022/eui-input-text/eui-input-text.component.mjs +5 -5
- package/esm2022/eui-input-text/eui-input-text.module.mjs +4 -4
- package/esm2022/eui-label/eui-label.component.mjs +4 -4
- package/esm2022/eui-label/eui-label.module.mjs +4 -4
- package/esm2022/eui-list/eui-list-item/eui-list-item.component.mjs +4 -4
- package/esm2022/eui-list/eui-list.component.mjs +3 -3
- package/esm2022/eui-list/eui-list.module.mjs +4 -4
- package/esm2022/eui-list/services/eui-list.service.mjs +3 -3
- package/esm2022/eui-menu/eui-menu-item.component.mjs +4 -4
- package/esm2022/eui-menu/eui-menu.component.mjs +5 -5
- package/esm2022/eui-menu/eui-menu.module.mjs +4 -4
- package/esm2022/eui-message-box/eui-message-box.component.mjs +9 -7
- package/esm2022/eui-message-box/eui-message-box.module.mjs +4 -4
- package/esm2022/eui-message-box/services/eui-message-box.service.mjs +3 -3
- package/esm2022/eui-overlay/components/eui-overlay-body/eui-overlay-body.component.mjs +5 -5
- package/esm2022/eui-overlay/components/eui-overlay-footer/eui-overlay-footer.component.mjs +5 -5
- package/esm2022/eui-overlay/components/eui-overlay-header/eui-overlay-header-title/eui-overlay-header-title.component.mjs +38 -0
- package/esm2022/eui-overlay/components/eui-overlay-header/eui-overlay-header.component.mjs +5 -5
- package/esm2022/eui-overlay/eui-overlay.component.mjs +30 -12
- package/esm2022/eui-overlay/index.mjs +2 -1
- package/esm2022/eui-page/components/eui-page-breadcrumb/eui-page-breadcrumb.component.mjs +3 -3
- package/esm2022/eui-page/components/eui-page-column/eui-page-column.component.mjs +21 -21
- package/esm2022/eui-page/components/eui-page-columns/eui-page-columns.component.mjs +3 -3
- package/esm2022/eui-page/components/eui-page-content/eui-page-content.component.mjs +3 -3
- package/esm2022/eui-page/components/eui-page-footer/eui-page-footer.component.mjs +3 -3
- package/esm2022/eui-page/components/eui-page-header/eui-page-header.component.mjs +9 -9
- package/esm2022/eui-page/components/eui-page-hero-header/eui-page-hero-header.component.mjs +3 -3
- package/esm2022/eui-page/components/eui-page-top-content/eui-page-top-content.component.mjs +3 -3
- package/esm2022/eui-page/eui-page.component.mjs +3 -3
- package/esm2022/eui-page/eui-page.module.mjs +4 -4
- package/esm2022/eui-paginator/eui-paginator.component.mjs +10 -8
- package/esm2022/eui-paginator/eui-paginator.module.mjs +4 -4
- package/esm2022/eui-picker/eui-picker.component.mjs +8 -6
- package/esm2022/eui-picker/eui-picker.module.mjs +4 -4
- package/esm2022/eui-picker/modal-picker/eui-modal-picker.component.mjs +5 -5
- package/esm2022/eui-popover/directives/eui-popover-arrow-position.directive.mjs +58 -0
- package/esm2022/eui-popover/eui-popover.component.mjs +25 -19
- package/esm2022/eui-popover/eui-popover.module.mjs +7 -6
- package/esm2022/eui-popover/models/eui-popover-position.model.mjs +18 -0
- package/esm2022/eui-progress-bar/eui-progress-bar.component.mjs +3 -3
- package/esm2022/eui-progress-bar/eui-progress-bar.module.mjs +4 -4
- package/esm2022/eui-progress-circle/eui-progress-circle.component.mjs +7 -7
- package/esm2022/eui-select/eui-select-control.directive.mjs +4 -4
- package/esm2022/eui-select/eui-select-multiple.directive.mjs +10 -5
- package/esm2022/eui-select/eui-select-mutli-option.directive.mjs +4 -4
- package/esm2022/eui-select/eui-select-option.directive.mjs +5 -4
- package/esm2022/eui-select/eui-select.component.mjs +5 -5
- package/esm2022/eui-select/eui-select.module.mjs +4 -4
- package/esm2022/eui-sidebar-menu/eui-sidebar-menu.component.mjs +6 -4
- package/esm2022/eui-sidebar-menu/eui-sidebar-menu.module.mjs +4 -4
- package/esm2022/eui-slide-toggle/eui-slide-toggle.component.mjs +4 -4
- package/esm2022/eui-slide-toggle/eui-slide-toggle.module.mjs +4 -4
- package/esm2022/eui-table/directives/eui-table-sticky-columns.directive.mjs +3 -3
- package/esm2022/eui-table/eui-table.component.mjs +76 -29
- package/esm2022/eui-table/eui-table.module.mjs +4 -4
- package/esm2022/eui-table/expandable-row/eui-table-expandable-row.component.mjs +3 -3
- package/esm2022/eui-table/filter/eui-table-filter.component.mjs +3 -3
- package/esm2022/eui-table/pipes/eui-table-highlight-filter.pipe.mjs +3 -3
- package/esm2022/eui-table/selectable-header/eui-table-selectable-header.component.mjs +3 -3
- package/esm2022/eui-table/selectable-row/eui-table-selectable-row.component.mjs +3 -3
- package/esm2022/eui-table/services/eui-table-selectable-row.service.mjs +3 -3
- package/esm2022/eui-table/services/eui-table-sort.service.mjs +3 -3
- package/esm2022/eui-table/sortable-col/eui-table-sortable-col.component.mjs +4 -4
- package/esm2022/eui-tabs/eui-tab/eui-tab.component.mjs +3 -3
- package/esm2022/eui-tabs/eui-tab-content/eui-tab-content.component.mjs +3 -3
- package/esm2022/eui-tabs/eui-tab-label/eui-tab-label.component.mjs +6 -6
- package/esm2022/eui-tabs/eui-tabs.component.mjs +7 -7
- package/esm2022/eui-tabs/eui-tabs.module.mjs +4 -4
- package/esm2022/eui-textarea/auto-resize.directive.mjs +4 -4
- package/esm2022/eui-textarea/eui-textarea.component.mjs +5 -5
- package/esm2022/eui-textarea/eui-textarea.module.mjs +4 -4
- package/esm2022/eui-timebar/eui-timebar-item.model.mjs +3 -1
- package/esm2022/eui-timebar/eui-timebar.component.mjs +9 -9
- package/esm2022/eui-timeline/eui-timeline-item.component.mjs +3 -3
- package/esm2022/eui-timeline/eui-timeline.component.mjs +3 -3
- package/esm2022/eui-timeline/eui-timeline.module.mjs +4 -4
- package/esm2022/eui-timepicker/eui-timepicker.component.mjs +3 -3
- package/esm2022/eui-timepicker/eui-timepicker.module.mjs +11 -11
- package/esm2022/eui-timepicker/models/eui-date-time-picker.config.model.mjs +1 -1
- package/esm2022/eui-tree/eui-dropdown-tree.directive.mjs +8 -8
- package/esm2022/eui-tree/eui-tree-form-control.directive.mjs +8 -8
- package/esm2022/eui-tree/eui-tree-helper.mjs +1 -1
- package/esm2022/eui-tree/eui-tree.component.mjs +29 -11
- package/esm2022/eui-wizard/eui-wizard-step.component.mjs +3 -3
- package/esm2022/eui-wizard/eui-wizard.component.mjs +16 -14
- package/esm2022/eui-wizard/eui-wizard.module.mjs +4 -4
- package/esm2022/eui-wizard/services/eui-wizard.service.mjs +3 -3
- package/esm2022/externals/charts/chart/chart.component.mjs +3 -3
- package/esm2022/externals/charts/eui-charts.module.mjs +4 -4
- package/esm2022/externals/eui-editor/counters/eui-editor-counters.component.mjs +3 -3
- package/esm2022/externals/eui-editor/directives/eui-editor-maxlength.directive.mjs +3 -3
- package/esm2022/externals/eui-editor/eui-editor.component.mjs +8 -8
- package/esm2022/externals/eui-editor/eui-editor.module.mjs +4 -4
- package/esm2022/externals/eui-editor/html-view/eui-editor-html-view.component.mjs +3 -3
- package/esm2022/externals/eui-editor/image-url-dialog/image-url-dialog.component.mjs +3 -3
- package/esm2022/externals/eui-editor/json-view/eui-editor-json-view.component.mjs +3 -3
- package/esm2022/externals/quill/quill-editor.component.mjs +3 -3
- package/esm2022/externals/quill/quill.module.mjs +4 -4
- package/esm2022/layout/eui-app/eui-app-breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2022/layout/eui-app/eui-app-breadcrumb/breadcrumb.module.mjs +4 -4
- package/esm2022/layout/eui-app/eui-app-footer/footer.component.mjs +3 -3
- package/esm2022/layout/eui-app/eui-app-footer/footer.module.mjs +4 -4
- package/esm2022/layout/eui-app/eui-app-header/header.component.mjs +3 -3
- package/esm2022/layout/eui-app/eui-app-header/header.module.mjs +4 -4
- package/esm2022/layout/eui-app/eui-app-sidebar/sidebar-body/sidebar-body.component.mjs +3 -3
- package/esm2022/layout/eui-app/eui-app-sidebar/sidebar-drawer/sidebar-drawer.component.mjs +3 -3
- package/esm2022/layout/eui-app/eui-app-sidebar/sidebar-footer/sidebar-footer.component.mjs +3 -3
- package/esm2022/layout/eui-app/eui-app-sidebar/sidebar-header/sidebar-header.component.mjs +3 -3
- package/esm2022/layout/eui-app/eui-app-sidebar/sidebar-header-user-profile/sidebar-header-user-profile.component.mjs +3 -3
- package/esm2022/layout/eui-app/eui-app-sidebar/sidebar-menu/sidebar-menu.component.mjs +5 -4
- package/esm2022/layout/eui-app/eui-app-sidebar/sidebar.component.mjs +4 -4
- package/esm2022/layout/eui-app/eui-app-sidebar/sidebar.module.mjs +4 -4
- package/esm2022/layout/eui-app/eui-app-toolbar/toolbar.component.mjs +3 -3
- package/esm2022/layout/eui-app/eui-app-toolbar/toolbar.module.mjs +4 -4
- package/esm2022/layout/eui-app/eui-app-top-message/top-message.component.mjs +5 -4
- package/esm2022/layout/eui-app/eui-app-top-message/top-message.module.mjs +4 -4
- package/esm2022/layout/eui-app/eui-app.component.mjs +6 -6
- package/esm2022/layout/eui-app/eui-app.module.mjs +4 -4
- package/esm2022/layout/eui-breadcrumb/breadcrumb.component.mjs +10 -4
- package/esm2022/layout/eui-breadcrumb/breadcrumb.module.mjs +4 -4
- package/esm2022/layout/eui-breadcrumb/breadcrumb.service.mjs +3 -3
- package/esm2022/layout/eui-breadcrumb/collapsed-breadcrumb/collapsed-breadcrumb.component.mjs +8 -8
- package/esm2022/layout/eui-breadcrumb/item/breadcrumb-item.component.mjs +6 -6
- package/esm2022/layout/eui-footer/footer.component.mjs +3 -3
- package/esm2022/layout/eui-footer/footer.module.mjs +4 -4
- package/esm2022/layout/eui-header/header-app/header-app.component.mjs +12 -12
- package/esm2022/layout/eui-header/header-app-name/header-app-name.component.mjs +4 -4
- package/esm2022/layout/eui-header/header-app-name-logo/header-app-name-logo.component.mjs +7 -11
- package/esm2022/layout/eui-header/header-app-subtitle/header-app-subtitle.component.mjs +4 -4
- package/esm2022/layout/eui-header/header-environment/header-environment.component.mjs +4 -4
- package/esm2022/layout/eui-header/header-logo/header-logo.component.mjs +4 -4
- package/esm2022/layout/eui-header/header-user-profile/header-user-profile.component.mjs +3 -3
- package/esm2022/layout/eui-header/header.component.mjs +3 -3
- package/esm2022/layout/eui-header/header.module.mjs +4 -4
- package/esm2022/layout/eui-language-selector/language-selector.component.mjs +4 -4
- package/esm2022/layout/eui-language-selector/language-selector.module.mjs +4 -4
- package/esm2022/layout/eui-language-selector/modal-selector/modal-selector.component.mjs +3 -3
- package/esm2022/layout/eui-layout.module.mjs +10 -5
- package/esm2022/layout/eui-notifications/eui-notification-item.component.mjs +5 -5
- package/esm2022/layout/eui-notifications/eui-notifications.component.mjs +3 -3
- package/esm2022/layout/eui-notifications/eui-notifications.module.mjs +4 -4
- package/esm2022/layout/eui-notifications-v2/eui-notification-item.component.mjs +57 -0
- package/esm2022/layout/eui-notifications-v2/eui-notifications.component.mjs +244 -0
- package/esm2022/layout/eui-notifications-v2/eui-notifications.module.mjs +25 -0
- package/esm2022/layout/eui-notifications-v2/index.mjs +4 -0
- package/esm2022/layout/eui-search/search.component.mjs +3 -3
- package/esm2022/layout/eui-search/search.module.mjs +4 -4
- package/esm2022/layout/eui-sidebar-toggle/sidebar-toggle.component.mjs +3 -3
- package/esm2022/layout/eui-sidebar-toggle/sidebar-toggle.module.mjs +4 -4
- package/esm2022/layout/eui-toolbar/toolbar-app/toolbar-app.component.mjs +3 -3
- package/esm2022/layout/eui-toolbar/toolbar-center/toolbar-center.component.mjs +3 -3
- package/esm2022/layout/eui-toolbar/toolbar-environment/toolbar-environment.component.mjs +3 -3
- package/esm2022/layout/eui-toolbar/toolbar-item/toolbar-item.component.mjs +3 -3
- package/esm2022/layout/eui-toolbar/toolbar-item-notifications/toolbar-item-notifications.component.mjs +3 -3
- package/esm2022/layout/eui-toolbar/toolbar-item-search/toolbar-item-search.component.mjs +3 -3
- package/esm2022/layout/eui-toolbar/toolbar-item-user-profile/toolbar-item-user-profile.component.mjs +3 -3
- package/esm2022/layout/eui-toolbar/toolbar-items/toolbar-items.component.mjs +3 -3
- package/esm2022/layout/eui-toolbar/toolbar-logo/toolbar-logo.component.mjs +3 -3
- package/esm2022/layout/eui-toolbar/toolbar-menu/toolbar-menu.component.mjs +4 -4
- package/esm2022/layout/eui-toolbar/toolbar.component.mjs +4 -4
- package/esm2022/layout/eui-toolbar/toolbar.module.mjs +4 -4
- package/esm2022/layout/eui-user-profile/user-profile-card/user-profile-card.component.mjs +6 -5
- package/esm2022/layout/eui-user-profile/user-profile-menu/user-profile-menu.component.mjs +3 -3
- package/esm2022/layout/eui-user-profile/user-profile-menu-item/user-profile-menu-item.component.mjs +3 -3
- package/esm2022/layout/eui-user-profile/user-profile.component.mjs +14 -5
- package/esm2022/layout/eui-user-profile/user-profile.module.mjs +4 -4
- package/esm2022/layout/index.mjs +2 -1
- package/esm2022/pipes/eui-is-empty.pipe.mjs +7 -7
- package/esm2022/pipes/eui-truncate.pipe.mjs +7 -7
- package/esm2022/shared/base/base-states.directive.mjs +3 -3
- package/esm2022/shared/base/base.directive.mjs +3 -3
- package/esm2022/shared/base/mixins/index.mjs +1 -1
- package/esm2022/shared/eui-common-header/common-header.component.mjs +7 -7
- package/esm2022/shared/eui-expand-content/eui-expand-content.component.mjs +7 -7
- package/esm2022/shared/input.directive.mjs +4 -4
- package/eui-alert/eui-alert.component.d.ts.map +1 -1
- package/eui-all/eui-all.module.d.ts +19 -20
- package/eui-all/eui-all.module.d.ts.map +1 -1
- package/eui-autocomplete/eui-autocomplete.component.d.ts +12 -3
- package/eui-autocomplete/eui-autocomplete.component.d.ts.map +1 -1
- package/eui-autocomplete/models/eui-autocomplete-item.model.d.ts +1 -0
- package/eui-autocomplete/models/eui-autocomplete-item.model.d.ts.map +1 -1
- package/eui-badge/eui-badge.component.d.ts.map +1 -1
- package/eui-block-content/eui-block-content.component.d.ts.map +1 -1
- package/eui-button/eui-button.component.d.ts +1 -1
- package/eui-button/eui-button.component.d.ts.map +1 -1
- package/eui-buttons/eui-buttons.component.d.ts +2 -2
- package/eui-buttons/eui-buttons.component.d.ts.map +1 -1
- package/eui-chip-list/eui-chip-list.component.d.ts.map +1 -1
- package/eui-dashboard-button/eui-dashboard-button.component.d.ts.map +1 -1
- package/eui-dashboard-card/eui-dashboard-card.component.d.ts.map +1 -1
- package/eui-date-range-selector/eui-date-range-selector.component.d.ts +5 -1
- package/eui-date-range-selector/eui-date-range-selector.component.d.ts.map +1 -1
- package/eui-datepicker/eui-datepicker.component.d.ts.map +1 -1
- package/eui-dialog/eui-dialog.component.d.ts.map +1 -1
- package/eui-dialog/services/eui-dialog.service.d.ts.map +1 -1
- package/eui-dimmer/dimmer.component.d.ts.map +1 -1
- package/eui-disable-content/eui-disable-content.component.d.ts +1 -1
- package/eui-disable-content/eui-disable-content.component.d.ts.map +1 -1
- package/eui-dropdown/dropdown-item/eui-dropdown-item.component.d.ts.map +1 -1
- package/eui-file-upload/eui-file-upload.component.d.ts +8 -5
- package/eui-file-upload/eui-file-upload.component.d.ts.map +1 -1
- package/eui-file-upload/eui-file-upload.module.d.ts +5 -6
- package/eui-file-upload/eui-file-upload.module.d.ts.map +1 -1
- package/eui-file-upload/file-preview/file-preview.component.d.ts.map +1 -1
- package/eui-file-upload/utils/eui-file-upload.validators.d.ts.map +1 -1
- package/eui-file-upload/utils/mime-types.d.ts.map +1 -1
- package/eui-growl/eui-growl.component.d.ts.map +1 -1
- package/eui-input-checkbox/eui-input-checkbox.component.d.ts +1 -1
- package/eui-input-checkbox/eui-input-checkbox.component.d.ts.map +1 -1
- package/eui-input-number/eui-number-control.directive.d.ts.map +1 -1
- package/eui-input-radio/eui-input-radio.component.d.ts +2 -1
- package/eui-input-radio/eui-input-radio.component.d.ts.map +1 -1
- package/eui-input-text/eui-input-text.component.d.ts +1 -1
- package/eui-input-text/eui-input-text.component.d.ts.map +1 -1
- package/eui-label/eui-label.component.d.ts.map +1 -1
- package/eui-list/eui-list-item/eui-list-item.component.d.ts.map +1 -1
- package/eui-menu/eui-menu.component.d.ts.map +1 -1
- package/eui-message-box/eui-message-box.component.d.ts.map +1 -1
- package/eui-overlay/components/eui-overlay-body/eui-overlay-body.component.d.ts.map +1 -1
- package/eui-overlay/components/eui-overlay-footer/eui-overlay-footer.component.d.ts.map +1 -1
- package/eui-overlay/components/eui-overlay-header/eui-overlay-header-title/eui-overlay-header-title.component.d.ts +15 -0
- package/eui-overlay/components/eui-overlay-header/eui-overlay-header-title/eui-overlay-header-title.component.d.ts.map +1 -0
- package/eui-overlay/components/eui-overlay-header/eui-overlay-header.component.d.ts +1 -1
- package/eui-overlay/components/eui-overlay-header/eui-overlay-header.component.d.ts.map +1 -1
- package/eui-overlay/eui-overlay.component.d.ts +4 -2
- package/eui-overlay/eui-overlay.component.d.ts.map +1 -1
- package/eui-overlay/index.d.ts +1 -0
- package/eui-overlay/index.d.ts.map +1 -1
- package/eui-paginator/eui-paginator.component.d.ts +3 -1
- package/eui-paginator/eui-paginator.component.d.ts.map +1 -1
- package/eui-picker/eui-picker.component.d.ts.map +1 -1
- package/eui-picker/modal-picker/eui-modal-picker.component.d.ts.map +1 -1
- package/eui-popover/directives/eui-popover-arrow-position.directive.d.ts +18 -0
- package/eui-popover/directives/eui-popover-arrow-position.directive.d.ts.map +1 -0
- package/eui-popover/eui-popover.component.d.ts +7 -5
- package/eui-popover/eui-popover.component.d.ts.map +1 -1
- package/eui-popover/eui-popover.module.d.ts +8 -7
- package/eui-popover/eui-popover.module.d.ts.map +1 -1
- package/eui-popover/models/eui-popover-position.model.d.ts +8 -0
- package/eui-popover/models/eui-popover-position.model.d.ts.map +1 -0
- package/eui-select/eui-select-multiple.directive.d.ts +1 -1
- package/eui-select/eui-select-multiple.directive.d.ts.map +1 -1
- package/eui-select/eui-select-mutli-option.directive.d.ts.map +1 -1
- package/eui-select/eui-select-option.directive.d.ts.map +1 -1
- package/eui-select/eui-select.component.d.ts +1 -1
- package/eui-select/eui-select.component.d.ts.map +1 -1
- package/eui-sidebar-menu/eui-sidebar-menu.component.d.ts.map +1 -1
- package/eui-slide-toggle/eui-slide-toggle.component.d.ts.map +1 -1
- package/eui-table/eui-table.component.d.ts.map +1 -1
- package/eui-table/sortable-col/eui-table-sortable-col.component.d.ts.map +1 -1
- package/eui-tabs/eui-tabs.component.d.ts.map +1 -1
- package/eui-textarea/auto-resize.directive.d.ts.map +1 -1
- package/eui-textarea/eui-textarea.component.d.ts +3 -3
- package/eui-textarea/eui-textarea.component.d.ts.map +1 -1
- package/eui-timebar/eui-timebar-item.model.d.ts +2 -2
- package/eui-timebar/eui-timebar-item.model.d.ts.map +1 -1
- package/eui-timebar/eui-timebar.component.d.ts.map +1 -1
- package/eui-timepicker/eui-timepicker.module.d.ts +1 -1
- package/eui-timepicker/eui-timepicker.module.d.ts.map +1 -1
- package/eui-timepicker/models/eui-date-time-picker.config.model.d.ts +1 -10
- package/eui-timepicker/models/eui-date-time-picker.config.model.d.ts.map +1 -1
- package/eui-tree/eui-dropdown-tree.directive.d.ts.map +1 -1
- package/eui-tree/eui-tree-form-control.directive.d.ts.map +1 -1
- package/eui-tree/eui-tree.component.d.ts +4 -1
- package/eui-tree/eui-tree.component.d.ts.map +1 -1
- package/eui-wizard/eui-wizard.component.d.ts.map +1 -1
- package/fesm2022/eui-components-directives.mjs +125 -95
- package/fesm2022/eui-components-directives.mjs.map +1 -1
- package/fesm2022/eui-components-eui-alert.mjs +8 -7
- package/fesm2022/eui-components-eui-alert.mjs.map +1 -1
- package/fesm2022/eui-components-eui-all.mjs +8 -9
- package/fesm2022/eui-components-eui-all.mjs.map +1 -1
- package/fesm2022/eui-components-eui-autocomplete.mjs +35 -18
- package/fesm2022/eui-components-eui-autocomplete.mjs.map +1 -1
- package/fesm2022/eui-components-eui-badge.mjs +7 -7
- package/fesm2022/eui-components-eui-badge.mjs.map +1 -1
- package/fesm2022/eui-components-eui-block-content.mjs +8 -8
- package/fesm2022/eui-components-eui-block-content.mjs.map +1 -1
- package/fesm2022/eui-components-eui-block-document.mjs +7 -7
- package/fesm2022/eui-components-eui-button-group.mjs +7 -7
- package/fesm2022/eui-components-eui-button.mjs +9 -9
- package/fesm2022/eui-components-eui-button.mjs.map +1 -1
- package/fesm2022/eui-components-eui-buttons.mjs +16 -16
- package/fesm2022/eui-components-eui-buttons.mjs.map +1 -1
- package/fesm2022/eui-components-eui-card.mjs +46 -46
- package/fesm2022/eui-components-eui-chip-list.mjs +15 -15
- package/fesm2022/eui-components-eui-chip-list.mjs.map +1 -1
- package/fesm2022/eui-components-eui-chip.mjs +7 -7
- package/fesm2022/eui-components-eui-dashboard-button.mjs +13 -13
- package/fesm2022/eui-components-eui-dashboard-button.mjs.map +1 -1
- package/fesm2022/eui-components-eui-dashboard-card.mjs +8 -7
- package/fesm2022/eui-components-eui-dashboard-card.mjs.map +1 -1
- package/fesm2022/eui-components-eui-date-range-selector.mjs +22 -9
- package/fesm2022/eui-components-eui-date-range-selector.mjs.map +1 -1
- package/fesm2022/eui-components-eui-datepicker.mjs +24 -24
- package/fesm2022/eui-components-eui-datepicker.mjs.map +1 -1
- package/fesm2022/eui-components-eui-dialog.mjs +20 -20
- package/fesm2022/eui-components-eui-dialog.mjs.map +1 -1
- package/fesm2022/eui-components-eui-dimmer.mjs +7 -7
- package/fesm2022/eui-components-eui-dimmer.mjs.map +1 -1
- package/fesm2022/eui-components-eui-disable-content.mjs +9 -9
- package/fesm2022/eui-components-eui-disable-content.mjs.map +1 -1
- package/fesm2022/eui-components-eui-discussion-thread.mjs +11 -11
- package/fesm2022/eui-components-eui-discussion-thread.mjs.map +1 -1
- package/fesm2022/eui-components-eui-dropdown.mjs +26 -24
- package/fesm2022/eui-components-eui-dropdown.mjs.map +1 -1
- package/fesm2022/eui-components-eui-feedback-message.mjs +7 -7
- package/fesm2022/eui-components-eui-fieldset.mjs +13 -13
- package/fesm2022/eui-components-eui-file-upload.mjs +52 -153
- package/fesm2022/eui-components-eui-file-upload.mjs.map +1 -1
- package/fesm2022/eui-components-eui-growl.mjs +10 -10
- package/fesm2022/eui-components-eui-growl.mjs.map +1 -1
- package/fesm2022/eui-components-eui-icon-toggle.mjs +7 -7
- package/fesm2022/eui-components-eui-icon.mjs +13 -13
- package/fesm2022/eui-components-eui-input-checkbox.mjs +7 -7
- package/fesm2022/eui-components-eui-input-checkbox.mjs.map +1 -1
- package/fesm2022/eui-components-eui-input-group.mjs +8 -8
- package/fesm2022/eui-components-eui-input-group.mjs.map +1 -1
- package/fesm2022/eui-components-eui-input-number.mjs +11 -11
- package/fesm2022/eui-components-eui-input-number.mjs.map +1 -1
- package/fesm2022/eui-components-eui-input-radio.mjs +12 -14
- package/fesm2022/eui-components-eui-input-radio.mjs.map +1 -1
- package/fesm2022/eui-components-eui-input-text.mjs +8 -8
- package/fesm2022/eui-components-eui-input-text.mjs.map +1 -1
- package/fesm2022/eui-components-eui-label.mjs +7 -7
- package/fesm2022/eui-components-eui-label.mjs.map +1 -1
- package/fesm2022/eui-components-eui-list.mjs +13 -13
- package/fesm2022/eui-components-eui-list.mjs.map +1 -1
- package/fesm2022/eui-components-eui-menu.mjs +12 -12
- package/fesm2022/eui-components-eui-menu.mjs.map +1 -1
- package/fesm2022/eui-components-eui-message-box.mjs +15 -13
- package/fesm2022/eui-components-eui-message-box.mjs.map +1 -1
- package/fesm2022/eui-components-eui-overlay.mjs +76 -25
- package/fesm2022/eui-components-eui-overlay.mjs.map +1 -1
- package/fesm2022/eui-components-eui-page.mjs +55 -55
- package/fesm2022/eui-components-eui-paginator.mjs +14 -13
- package/fesm2022/eui-components-eui-paginator.mjs.map +1 -1
- package/fesm2022/eui-components-eui-picker.mjs +15 -13
- package/fesm2022/eui-components-eui-picker.mjs.map +1 -1
- package/fesm2022/eui-components-eui-popover.mjs +104 -28
- package/fesm2022/eui-components-eui-popover.mjs.map +1 -1
- package/fesm2022/eui-components-eui-progress-bar.mjs +7 -7
- package/fesm2022/eui-components-eui-progress-circle.mjs +7 -7
- package/fesm2022/eui-components-eui-select.mjs +27 -21
- package/fesm2022/eui-components-eui-select.mjs.map +1 -1
- package/fesm2022/eui-components-eui-sidebar-menu.mjs +9 -7
- package/fesm2022/eui-components-eui-sidebar-menu.mjs.map +1 -1
- package/fesm2022/eui-components-eui-slide-toggle.mjs +7 -7
- package/fesm2022/eui-components-eui-slide-toggle.mjs.map +1 -1
- package/fesm2022/eui-components-eui-table.mjs +106 -59
- package/fesm2022/eui-components-eui-table.mjs.map +1 -1
- package/fesm2022/eui-components-eui-tabs.mjs +22 -22
- package/fesm2022/eui-components-eui-tabs.mjs.map +1 -1
- package/fesm2022/eui-components-eui-textarea.mjs +11 -11
- package/fesm2022/eui-components-eui-textarea.mjs.map +1 -1
- package/fesm2022/eui-components-eui-timebar.mjs +10 -8
- package/fesm2022/eui-components-eui-timebar.mjs.map +1 -1
- package/fesm2022/eui-components-eui-timeline.mjs +10 -10
- package/fesm2022/eui-components-eui-timepicker.mjs +13 -12
- package/fesm2022/eui-components-eui-timepicker.mjs.map +1 -1
- package/fesm2022/eui-components-eui-tree.mjs +42 -24
- package/fesm2022/eui-components-eui-tree.mjs.map +1 -1
- package/fesm2022/eui-components-eui-wizard.mjs +25 -23
- package/fesm2022/eui-components-eui-wizard.mjs.map +1 -1
- package/fesm2022/eui-components-externals-charts.mjs +7 -7
- package/fesm2022/eui-components-externals-eui-editor.mjs +27 -27
- package/fesm2022/eui-components-externals-eui-editor.mjs.map +1 -1
- package/fesm2022/eui-components-externals-quill.mjs +7 -7
- package/fesm2022/eui-components-layout.mjs +553 -237
- package/fesm2022/eui-components-layout.mjs.map +1 -1
- package/fesm2022/eui-components-pipes.mjs +14 -14
- package/fesm2022/eui-components-shared-base.mjs +6 -6
- package/fesm2022/eui-components-shared-base.mjs.map +1 -1
- package/fesm2022/eui-components-shared.mjs +17 -17
- package/fesm2022/eui-components-shared.mjs.map +1 -1
- package/layout/eui-app/eui-app-sidebar/sidebar-menu/sidebar-menu.component.d.ts.map +1 -1
- package/layout/eui-app/eui-app-sidebar/sidebar.component.d.ts.map +1 -1
- package/layout/eui-app/eui-app-top-message/top-message.component.d.ts.map +1 -1
- package/layout/eui-breadcrumb/breadcrumb.component.d.ts.map +1 -1
- package/layout/eui-breadcrumb/collapsed-breadcrumb/collapsed-breadcrumb.component.d.ts.map +1 -1
- package/layout/eui-breadcrumb/item/breadcrumb-item.component.d.ts +1 -1
- package/layout/eui-breadcrumb/item/breadcrumb-item.component.d.ts.map +1 -1
- package/layout/eui-header/header-app-name/header-app-name.component.d.ts.map +1 -1
- package/layout/eui-header/header-app-name-logo/header-app-name-logo.component.d.ts +2 -4
- package/layout/eui-header/header-app-name-logo/header-app-name-logo.component.d.ts.map +1 -1
- package/layout/eui-header/header-app-subtitle/header-app-subtitle.component.d.ts.map +1 -1
- package/layout/eui-header/header-environment/header-environment.component.d.ts.map +1 -1
- package/layout/eui-header/header-logo/header-logo.component.d.ts.map +1 -1
- package/layout/eui-layout.module.d.ts +10 -9
- package/layout/eui-layout.module.d.ts.map +1 -1
- package/layout/eui-notifications-v2/eui-notification-item.component.d.ts +21 -0
- package/layout/eui-notifications-v2/eui-notification-item.component.d.ts.map +1 -0
- package/layout/eui-notifications-v2/eui-notifications.component.d.ts +78 -0
- package/layout/eui-notifications-v2/eui-notifications.component.d.ts.map +1 -0
- package/layout/eui-notifications-v2/eui-notifications.module.d.ts +16 -0
- package/layout/eui-notifications-v2/eui-notifications.module.d.ts.map +1 -0
- package/layout/eui-notifications-v2/index.d.ts +4 -0
- package/layout/eui-notifications-v2/index.d.ts.map +1 -0
- package/layout/eui-toolbar/toolbar-menu/toolbar-menu.component.d.ts.map +1 -1
- package/layout/eui-user-profile/user-profile-card/user-profile-card.component.d.ts.map +1 -1
- package/layout/eui-user-profile/user-profile.component.d.ts +5 -2
- package/layout/eui-user-profile/user-profile.component.d.ts.map +1 -1
- package/layout/index.d.ts +1 -0
- package/layout/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/shared/base/mixins/index.d.ts.map +1 -1
- package/shared/input.directive.d.ts.map +1 -1
- package/esm2022/eui-file-upload/uploaded-file/uploaded-file.component.mjs +0 -116
- package/eui-file-upload/uploaded-file/uploaded-file.component.d.ts +0 -51
- package/eui-file-upload/uploaded-file/uploaded-file.component.d.ts.map +0 -1
@@ -75,10 +75,10 @@ class EuiWizardStepComponent {
|
|
75
75
|
url: this.url,
|
76
76
|
};
|
77
77
|
}
|
78
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
79
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.0-next.
|
78
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiWizardStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
79
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.0-next.4", type: EuiWizardStepComponent, selector: "eui-wizard-step", inputs: { id: "id", indexLabel: "indexLabel", indexIconClass: "indexIconClass", indexIconSvgName: "indexIconSvgName", label: "label", subLabel: "subLabel", index: "index", url: "url", isCompleted: "isCompleted", isActive: "isActive", isShowStepTitle: "isShowStepTitle", isInvalid: "isInvalid", isWarning: "isWarning", isDisabled: "isDisabled" }, ngImport: i0, template: "<ng-container *ngIf=\"isActive\">\n <ng-content></ng-content>\n</ng-container>\n", styles: [".eui-wizard{border-bottom:1px solid var(--eui-base-color-grey-20);display:flex;margin:var(--eui-base-spacing-xl) 0 -1px 0;padding-bottom:var(--eui-base-spacing-l)}.eui-wizard-step{cursor:pointer;flex:1;position:relative;text-align:center}.eui-wizard-step__content{margin:var(--eui-base-spacing-m) 0}.eui-wizard-step__current-marker{bottom:0;left:50%;position:absolute;transform:translate(-50%,75%)}.eui-wizard-step__current-marker-icon>svg{color:var(--eui-base-color-grey-75);fill:var(--eui-base-color-grey-75);height:var(--eui-base-spacing-4xl);width:var(--eui-base-spacing-4xl)}.eui-wizard-step__indicator-wrapper{border-bottom:3px solid var(--eui-base-color-grey-25);content:\"\";margin-bottom:var(--eui-base-spacing-s);top:var(--eui-base-spacing-s);width:100%}.eui-wizard-step__bullet-item{background-color:var(--eui-base-color-white);border:2px solid var(--eui-base-color-grey-80);border-radius:100%;height:var(--eui-base-spacing-3xl);margin:-40px auto 0;padding-top:var(--eui-base-spacing-xs);width:var(--eui-base-spacing-3xl)}.eui-t-compact .eui-wizard-step__bullet-item{margin-top:-30px}.eui-wizard-step__bullet-item-icon,.eui-wizard-step__bullet-item-icon .eui-wizard-step__icon{font-size:var(--eui-base-font-size-3xl)}.eui-wizard-step__label-wrapper{margin-top:var(--eui-base-spacing-m)}.eui-wizard-step__label-wrapper-label{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700}.eui-wizard-step__label-wrapper-sub-label{font-size:95%;margin-top:var(--eui-base-spacing-2xs)}.eui-wizard-step--active .eui-wizard-step__bullet-item{border-color:var(--eui-base-color-primary-100);color:var(--eui-base-color-primary-100)}.eui-wizard-step--active .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-primary-100)}.eui-wizard-step--active .eui-wizard-step__label-wrapper-label{color:var(--eui-base-color-primary-100)}.eui-wizard-step--active .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-base-color-primary-75)}.eui-wizard-step--completed .eui-wizard-step__bullet-item{background-color:var(--eui-base-color-success-110);border-color:var(--eui-base-color-success-110);color:var(--eui-base-color-white)}.eui-wizard-step--completed .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-base-color-white);fill:var(--eui-base-color-white)}.eui-wizard-step--completed .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-success-110)}.eui-wizard-step--completed .eui-wizard-step__label-wrapper-label{color:var(--eui-base-color-success-120)}.eui-wizard-step--completed .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-base-color-success-110)}.eui-wizard-step--error .eui-wizard-step__bullet-item{background-color:var(--eui-base-color-danger-100);border-color:var(--eui-base-color-danger-100);color:var(--eui-base-color-white)}.eui-wizard-step--error .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-base-color-white);fill:var(--eui-base-color-white)}.eui-wizard-step--error .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-danger-100)}.eui-wizard-step--error .eui-wizard-step__label-wrapper-label,.eui-wizard-step--error .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-base-color-danger-100)}.eui-wizard-step--warning .eui-wizard-step__bullet-item{background-color:var(--eui-base-color-warning-100);border-color:var(--eui-base-color-warning-100);color:var(--eui-base-color-grey-100)}.eui-wizard-step--warning .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-base-color-white);fill:var(--eui-base-color-white)}.eui-wizard-step--warning .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-warning-140)}.eui-wizard-step--warning .eui-wizard-step__label-wrapper-label,.eui-wizard-step--warning .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-base-color-warning-140)}.eui-wizard-step--disabled .eui-wizard-step__label-wrapper-label,.eui-wizard-step--disabled .eui-wizard-step__label-wrapper-sub-label,.eui-wizard-step--disabled .eui-wizard-step__bullet-item{border-color:var(--eui-base-color-grey-20);color:var(--eui-base-color-grey-90)}.eui-wizard-step--disabled .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-grey-25)}.eui-wizard-step--disabled:hover{cursor:not-allowed}.eui-wizard-step--notallowed .eui-wizard-step__bullet-item-icon{color:var(--eui-base-color-white)}.eui-wizard-step--notallowed.eui-wizard-step--disabled .eui-wizard-step__bullet-item-icon{color:var(--eui-base-color-grey-80)}.eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--completed .eui-wizard-step__bullet-item-icon,.eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--error .eui-wizard-step__bullet-item-icon{color:var(--eui-base-color-white)}.eui-wizard-step--notallowed:hover{cursor:not-allowed}.eui-wizard-step:focus .eui-wizard-step__bullet-item{border:2px solid transparent;border-color:var(--eui-base-color-accent-110);border-radius:50%}.eui-wizard-step:first-child .eui-wizard-step__indicator-wrapper{margin-left:50%;width:50%}.eui-wizard-step:last-child .eui-wizard-step__indicator-wrapper{margin-right:50%;width:50%}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
80
80
|
}
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiWizardStepComponent, decorators: [{
|
82
82
|
type: Component,
|
83
83
|
args: [{ selector: 'eui-wizard-step', changeDetection: ChangeDetectionStrategy.Default, encapsulation: ViewEncapsulation.None, template: "<ng-container *ngIf=\"isActive\">\n <ng-content></ng-content>\n</ng-container>\n", styles: [".eui-wizard{border-bottom:1px solid var(--eui-base-color-grey-20);display:flex;margin:var(--eui-base-spacing-xl) 0 -1px 0;padding-bottom:var(--eui-base-spacing-l)}.eui-wizard-step{cursor:pointer;flex:1;position:relative;text-align:center}.eui-wizard-step__content{margin:var(--eui-base-spacing-m) 0}.eui-wizard-step__current-marker{bottom:0;left:50%;position:absolute;transform:translate(-50%,75%)}.eui-wizard-step__current-marker-icon>svg{color:var(--eui-base-color-grey-75);fill:var(--eui-base-color-grey-75);height:var(--eui-base-spacing-4xl);width:var(--eui-base-spacing-4xl)}.eui-wizard-step__indicator-wrapper{border-bottom:3px solid var(--eui-base-color-grey-25);content:\"\";margin-bottom:var(--eui-base-spacing-s);top:var(--eui-base-spacing-s);width:100%}.eui-wizard-step__bullet-item{background-color:var(--eui-base-color-white);border:2px solid var(--eui-base-color-grey-80);border-radius:100%;height:var(--eui-base-spacing-3xl);margin:-40px auto 0;padding-top:var(--eui-base-spacing-xs);width:var(--eui-base-spacing-3xl)}.eui-t-compact .eui-wizard-step__bullet-item{margin-top:-30px}.eui-wizard-step__bullet-item-icon,.eui-wizard-step__bullet-item-icon .eui-wizard-step__icon{font-size:var(--eui-base-font-size-3xl)}.eui-wizard-step__label-wrapper{margin-top:var(--eui-base-spacing-m)}.eui-wizard-step__label-wrapper-label{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700}.eui-wizard-step__label-wrapper-sub-label{font-size:95%;margin-top:var(--eui-base-spacing-2xs)}.eui-wizard-step--active .eui-wizard-step__bullet-item{border-color:var(--eui-base-color-primary-100);color:var(--eui-base-color-primary-100)}.eui-wizard-step--active .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-primary-100)}.eui-wizard-step--active .eui-wizard-step__label-wrapper-label{color:var(--eui-base-color-primary-100)}.eui-wizard-step--active .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-base-color-primary-75)}.eui-wizard-step--completed .eui-wizard-step__bullet-item{background-color:var(--eui-base-color-success-110);border-color:var(--eui-base-color-success-110);color:var(--eui-base-color-white)}.eui-wizard-step--completed .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-base-color-white);fill:var(--eui-base-color-white)}.eui-wizard-step--completed .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-success-110)}.eui-wizard-step--completed .eui-wizard-step__label-wrapper-label{color:var(--eui-base-color-success-120)}.eui-wizard-step--completed .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-base-color-success-110)}.eui-wizard-step--error .eui-wizard-step__bullet-item{background-color:var(--eui-base-color-danger-100);border-color:var(--eui-base-color-danger-100);color:var(--eui-base-color-white)}.eui-wizard-step--error .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-base-color-white);fill:var(--eui-base-color-white)}.eui-wizard-step--error .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-danger-100)}.eui-wizard-step--error .eui-wizard-step__label-wrapper-label,.eui-wizard-step--error .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-base-color-danger-100)}.eui-wizard-step--warning .eui-wizard-step__bullet-item{background-color:var(--eui-base-color-warning-100);border-color:var(--eui-base-color-warning-100);color:var(--eui-base-color-grey-100)}.eui-wizard-step--warning .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-base-color-white);fill:var(--eui-base-color-white)}.eui-wizard-step--warning .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-warning-140)}.eui-wizard-step--warning .eui-wizard-step__label-wrapper-label,.eui-wizard-step--warning .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-base-color-warning-140)}.eui-wizard-step--disabled .eui-wizard-step__label-wrapper-label,.eui-wizard-step--disabled .eui-wizard-step__label-wrapper-sub-label,.eui-wizard-step--disabled .eui-wizard-step__bullet-item{border-color:var(--eui-base-color-grey-20);color:var(--eui-base-color-grey-90)}.eui-wizard-step--disabled .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-grey-25)}.eui-wizard-step--disabled:hover{cursor:not-allowed}.eui-wizard-step--notallowed .eui-wizard-step__bullet-item-icon{color:var(--eui-base-color-white)}.eui-wizard-step--notallowed.eui-wizard-step--disabled .eui-wizard-step__bullet-item-icon{color:var(--eui-base-color-grey-80)}.eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--completed .eui-wizard-step__bullet-item-icon,.eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--error .eui-wizard-step__bullet-item-icon{color:var(--eui-base-color-white)}.eui-wizard-step--notallowed:hover{cursor:not-allowed}.eui-wizard-step:focus .eui-wizard-step__bullet-item{border:2px solid transparent;border-color:var(--eui-base-color-accent-110);border-radius:50%}.eui-wizard-step:first-child .eui-wizard-step__indicator-wrapper{margin-left:50%;width:50%}.eui-wizard-step:last-child .eui-wizard-step__indicator-wrapper{margin-right:50%;width:50%}\n"] }]
|
84
84
|
}], propDecorators: { id: [{
|
@@ -160,16 +160,18 @@ class EuiWizardComponent {
|
|
160
160
|
this.steps.forEach((step) => (step.isShowStepTitle = this.isShowStepTitle));
|
161
161
|
}
|
162
162
|
ngOnChanges(changes) {
|
163
|
-
if (
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
step.id
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
163
|
+
if (changes['steps'] || changes['activeStepIndex']) {
|
164
|
+
if (this.activeStepIndex && this.steps) {
|
165
|
+
this._selectStep(this._getStep(this.activeStepIndex - 1), this.activeStepIndex);
|
166
|
+
const stepIdsBuffer = [];
|
167
|
+
this.steps.forEach((step) => {
|
168
|
+
if (!step.id) {
|
169
|
+
step.id = uniqueId();
|
170
|
+
}
|
171
|
+
stepIdsBuffer.push(step.id);
|
172
|
+
});
|
173
|
+
this.stepIds = stepIdsBuffer.join(' ');
|
174
|
+
}
|
173
175
|
}
|
174
176
|
}
|
175
177
|
onSelectStep(step, index) {
|
@@ -239,10 +241,10 @@ class EuiWizardComponent {
|
|
239
241
|
}
|
240
242
|
return null;
|
241
243
|
}
|
242
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
243
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.0-next.
|
244
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiWizardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
245
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.0-next.4", type: EuiWizardComponent, selector: "eui-wizard", inputs: { activeStepIndex: "activeStepIndex", steps: "steps", tabindex: "tabindex", e2eAttr: "e2eAttr", isCustomContent: "isCustomContent", isShowStepTitle: "isShowStepTitle", isNavigationAllowed: "isNavigationAllowed" }, outputs: { selectStep: "selectStep" }, queries: [{ propertyName: "childrenSteps", predicate: EuiWizardStepComponent }], viewQueries: [{ propertyName: "canBeFocused", predicate: ["canBeFocused"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"eui-wizard\" role=\"tablist\" aria-orientation=\"horizontal\" aria-label=\"\" attr.data-e2e=\"{{ e2eAttr }}\">\n <div\n #canBeFocused\n *ngFor=\"let step of steps; let idx = index; trackBy: trackByFn\"\n class=\"eui-wizard-step\"\n role=\"tab\"\n [id]=\"step.id\"\n attr.aria-label=\"{{ step?.label }} {{ step?.subLabel }}\"\n [attr.aria-disabled]=\"step?.isDisabled\"\n [attr.aria-controls]=\"stepContentId\"\n [tabindex]=\"step?.isDisabled || !isNavigationAllowed ? -1 : tabindex\"\n [class.eui-wizard-step--completed]=\"step?.isCompleted\"\n [class.eui-wizard-step--notallowed]=\"!isNavigationAllowed\"\n [class.eui-wizard-step--active]=\"step?.isActive\"\n [class.eui-wizard-step--disabled]=\"step?.isDisabled || !isNavigationAllowed\"\n [class.eui-wizard-step--error]=\"step?.isInvalid\"\n [class.eui-wizard-step--warning]=\"step?.isWarning\"\n (click)=\"onSelectStep(step, idx + 1)\"\n (keydown)=\"onKeyDown($event)\">\n <div class=\"eui-wizard-step__indicator-wrapper\" role=\"presentation\"></div>\n\n <div class=\"eui-wizard-step__bullet-item\">\n <span class=\"eui-wizard-step__bullet-item-icon\">\n <ng-container *ngIf=\"!step?.indexIconClass && !step?.indexIconSvgName; else customIconContent\">\n <eui-icon-svg *ngIf=\"step?.isCompleted && !step?.isActive\" icon=\"eui-check\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"step?.isInvalid && !step?.isActive\" icon=\"eui-exclamation\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"step?.isActive\" icon=\"eui-create\"></eui-icon-svg>\n </ng-container>\n\n <ng-template #customIconContent>\n <!-- v15 OK-->\n <span *ngIf=\"step?.indexIconClass && step?.indexIconClass !== undefined\" role=\"presentation\">\n <span class=\"eui-wizard-step__icon eui-icon {{ step?.indexIconClass }}\"></span>\n </span>\n\n <span *ngIf=\"step?.indexIconSvgName && step?.indexIconSvgName !== undefined\" role=\"presentation\">\n <eui-icon-svg icon=\"{{ step?.indexIconSvgName }}\" class=\"eui-wizard-step__icon\"></eui-icon-svg>\n </span>\n </ng-template>\n\n <span\n *ngIf=\"!step?.indexIconClass && !step?.indexIconSvgName && !step?.isActive && !step?.isCompleted && !step?.isInvalid\"\n role=\"presentation\">\n {{ step?.indexLabel !== undefined ? step?.indexLabel : idx + 1 }}\n </span>\n </span>\n </div>\n <div class=\"eui-wizard-step__label-wrapper\" role=\"presentation\">\n <div class=\"eui-wizard-step__label-wrapper-label\" role=\"presentation\">\n {{ step?.label }}\n </div>\n <div class=\"eui-wizard-step__label-wrapper-sub-label\" role=\"presentation\">\n {{ step?.subLabel }}\n </div>\n </div>\n\n <div *ngIf=\"step?.isActive\" class=\"eui-wizard-step__current-marker\" role=\"presentation\">\n <eui-icon-svg icon=\"eui-ecl-solid-arrow\" class=\"eui-wizard-step__current-marker-icon\"></eui-icon-svg>\n </div>\n </div>\n</div>\n<div [id]=\"stepContentId\" class=\"step-content\" role=\"tabpanel\" [attr.aria-labelledby]=\"stepIds\">\n <ng-content></ng-content>\n</div>\n", styles: [".eui-wizard{border-bottom:1px solid var(--eui-base-color-grey-20);display:flex;margin:var(--eui-base-spacing-xl) 0 -1px 0;padding-bottom:var(--eui-base-spacing-l)}.eui-wizard-step{cursor:pointer;flex:1;position:relative;text-align:center}.eui-wizard-step__content{margin:var(--eui-base-spacing-m) 0}.eui-wizard-step__current-marker{bottom:0;left:50%;position:absolute;transform:translate(-50%,75%)}.eui-wizard-step__current-marker-icon>svg{color:var(--eui-base-color-grey-75);fill:var(--eui-base-color-grey-75);height:var(--eui-base-spacing-4xl);width:var(--eui-base-spacing-4xl)}.eui-wizard-step__indicator-wrapper{border-bottom:3px solid var(--eui-base-color-grey-25);content:\"\";margin-bottom:var(--eui-base-spacing-s);top:var(--eui-base-spacing-s);width:100%}.eui-wizard-step__bullet-item{background-color:var(--eui-base-color-white);border:2px solid var(--eui-base-color-grey-80);border-radius:100%;height:var(--eui-base-spacing-3xl);margin:-40px auto 0;padding-top:var(--eui-base-spacing-xs);width:var(--eui-base-spacing-3xl)}.eui-t-compact .eui-wizard-step__bullet-item{margin-top:-30px}.eui-wizard-step__bullet-item-icon,.eui-wizard-step__bullet-item-icon .eui-wizard-step__icon{font-size:var(--eui-base-font-size-3xl)}.eui-wizard-step__label-wrapper{margin-top:var(--eui-base-spacing-m)}.eui-wizard-step__label-wrapper-label{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700}.eui-wizard-step__label-wrapper-sub-label{font-size:95%;margin-top:var(--eui-base-spacing-2xs)}.eui-wizard-step--active .eui-wizard-step__bullet-item{border-color:var(--eui-base-color-primary-100);color:var(--eui-base-color-primary-100)}.eui-wizard-step--active .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-primary-100)}.eui-wizard-step--active .eui-wizard-step__label-wrapper-label{color:var(--eui-base-color-primary-100)}.eui-wizard-step--active .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-base-color-primary-75)}.eui-wizard-step--completed .eui-wizard-step__bullet-item{background-color:var(--eui-base-color-success-110);border-color:var(--eui-base-color-success-110);color:var(--eui-base-color-white)}.eui-wizard-step--completed .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-base-color-white);fill:var(--eui-base-color-white)}.eui-wizard-step--completed .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-success-110)}.eui-wizard-step--completed .eui-wizard-step__label-wrapper-label{color:var(--eui-base-color-success-120)}.eui-wizard-step--completed .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-base-color-success-110)}.eui-wizard-step--error .eui-wizard-step__bullet-item{background-color:var(--eui-base-color-danger-100);border-color:var(--eui-base-color-danger-100);color:var(--eui-base-color-white)}.eui-wizard-step--error .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-base-color-white);fill:var(--eui-base-color-white)}.eui-wizard-step--error .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-danger-100)}.eui-wizard-step--error .eui-wizard-step__label-wrapper-label,.eui-wizard-step--error .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-base-color-danger-100)}.eui-wizard-step--warning .eui-wizard-step__bullet-item{background-color:var(--eui-base-color-warning-100);border-color:var(--eui-base-color-warning-100);color:var(--eui-base-color-grey-100)}.eui-wizard-step--warning .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-base-color-white);fill:var(--eui-base-color-white)}.eui-wizard-step--warning .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-warning-140)}.eui-wizard-step--warning .eui-wizard-step__label-wrapper-label,.eui-wizard-step--warning .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-base-color-warning-140)}.eui-wizard-step--disabled .eui-wizard-step__label-wrapper-label,.eui-wizard-step--disabled .eui-wizard-step__label-wrapper-sub-label,.eui-wizard-step--disabled .eui-wizard-step__bullet-item{border-color:var(--eui-base-color-grey-20);color:var(--eui-base-color-grey-90)}.eui-wizard-step--disabled .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-grey-25)}.eui-wizard-step--disabled:hover{cursor:not-allowed}.eui-wizard-step--notallowed .eui-wizard-step__bullet-item-icon{color:var(--eui-base-color-white)}.eui-wizard-step--notallowed.eui-wizard-step--disabled .eui-wizard-step__bullet-item-icon{color:var(--eui-base-color-grey-80)}.eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--completed .eui-wizard-step__bullet-item-icon,.eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--error .eui-wizard-step__bullet-item-icon{color:var(--eui-base-color-white)}.eui-wizard-step--notallowed:hover{cursor:not-allowed}.eui-wizard-step:focus .eui-wizard-step__bullet-item{border:2px solid transparent;border-color:var(--eui-base-color-accent-110);border-radius:50%}.eui-wizard-step:first-child .eui-wizard-step__indicator-wrapper{margin-left:50%;width:50%}.eui-wizard-step:last-child .eui-wizard-step__indicator-wrapper{margin-right:50%;width:50%}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.EuiIconSvgComponent, selector: "eui-icon-svg, span[euiIconSvg], i[euiIconSvg]", inputs: ["icon", "size", "fillColor", "set", "ariaLabelledby", "role", "style", "iconUrl", "transform", "aria-label", "ariaHidden", "focusable", "isLoading"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
244
246
|
}
|
245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiWizardComponent, decorators: [{
|
246
248
|
type: Component,
|
247
249
|
args: [{ selector: 'eui-wizard', encapsulation: ViewEncapsulation.None, template: "<div class=\"eui-wizard\" role=\"tablist\" aria-orientation=\"horizontal\" aria-label=\"\" attr.data-e2e=\"{{ e2eAttr }}\">\n <div\n #canBeFocused\n *ngFor=\"let step of steps; let idx = index; trackBy: trackByFn\"\n class=\"eui-wizard-step\"\n role=\"tab\"\n [id]=\"step.id\"\n attr.aria-label=\"{{ step?.label }} {{ step?.subLabel }}\"\n [attr.aria-disabled]=\"step?.isDisabled\"\n [attr.aria-controls]=\"stepContentId\"\n [tabindex]=\"step?.isDisabled || !isNavigationAllowed ? -1 : tabindex\"\n [class.eui-wizard-step--completed]=\"step?.isCompleted\"\n [class.eui-wizard-step--notallowed]=\"!isNavigationAllowed\"\n [class.eui-wizard-step--active]=\"step?.isActive\"\n [class.eui-wizard-step--disabled]=\"step?.isDisabled || !isNavigationAllowed\"\n [class.eui-wizard-step--error]=\"step?.isInvalid\"\n [class.eui-wizard-step--warning]=\"step?.isWarning\"\n (click)=\"onSelectStep(step, idx + 1)\"\n (keydown)=\"onKeyDown($event)\">\n <div class=\"eui-wizard-step__indicator-wrapper\" role=\"presentation\"></div>\n\n <div class=\"eui-wizard-step__bullet-item\">\n <span class=\"eui-wizard-step__bullet-item-icon\">\n <ng-container *ngIf=\"!step?.indexIconClass && !step?.indexIconSvgName; else customIconContent\">\n <eui-icon-svg *ngIf=\"step?.isCompleted && !step?.isActive\" icon=\"eui-check\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"step?.isInvalid && !step?.isActive\" icon=\"eui-exclamation\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"step?.isActive\" icon=\"eui-create\"></eui-icon-svg>\n </ng-container>\n\n <ng-template #customIconContent>\n <!-- v15 OK-->\n <span *ngIf=\"step?.indexIconClass && step?.indexIconClass !== undefined\" role=\"presentation\">\n <span class=\"eui-wizard-step__icon eui-icon {{ step?.indexIconClass }}\"></span>\n </span>\n\n <span *ngIf=\"step?.indexIconSvgName && step?.indexIconSvgName !== undefined\" role=\"presentation\">\n <eui-icon-svg icon=\"{{ step?.indexIconSvgName }}\" class=\"eui-wizard-step__icon\"></eui-icon-svg>\n </span>\n </ng-template>\n\n <span\n *ngIf=\"!step?.indexIconClass && !step?.indexIconSvgName && !step?.isActive && !step?.isCompleted && !step?.isInvalid\"\n role=\"presentation\">\n {{ step?.indexLabel !== undefined ? step?.indexLabel : idx + 1 }}\n </span>\n </span>\n </div>\n <div class=\"eui-wizard-step__label-wrapper\" role=\"presentation\">\n <div class=\"eui-wizard-step__label-wrapper-label\" role=\"presentation\">\n {{ step?.label }}\n </div>\n <div class=\"eui-wizard-step__label-wrapper-sub-label\" role=\"presentation\">\n {{ step?.subLabel }}\n </div>\n </div>\n\n <div *ngIf=\"step?.isActive\" class=\"eui-wizard-step__current-marker\" role=\"presentation\">\n <eui-icon-svg icon=\"eui-ecl-solid-arrow\" class=\"eui-wizard-step__current-marker-icon\"></eui-icon-svg>\n </div>\n </div>\n</div>\n<div [id]=\"stepContentId\" class=\"step-content\" role=\"tabpanel\" [attr.aria-labelledby]=\"stepIds\">\n <ng-content></ng-content>\n</div>\n", styles: [".eui-wizard{border-bottom:1px solid var(--eui-base-color-grey-20);display:flex;margin:var(--eui-base-spacing-xl) 0 -1px 0;padding-bottom:var(--eui-base-spacing-l)}.eui-wizard-step{cursor:pointer;flex:1;position:relative;text-align:center}.eui-wizard-step__content{margin:var(--eui-base-spacing-m) 0}.eui-wizard-step__current-marker{bottom:0;left:50%;position:absolute;transform:translate(-50%,75%)}.eui-wizard-step__current-marker-icon>svg{color:var(--eui-base-color-grey-75);fill:var(--eui-base-color-grey-75);height:var(--eui-base-spacing-4xl);width:var(--eui-base-spacing-4xl)}.eui-wizard-step__indicator-wrapper{border-bottom:3px solid var(--eui-base-color-grey-25);content:\"\";margin-bottom:var(--eui-base-spacing-s);top:var(--eui-base-spacing-s);width:100%}.eui-wizard-step__bullet-item{background-color:var(--eui-base-color-white);border:2px solid var(--eui-base-color-grey-80);border-radius:100%;height:var(--eui-base-spacing-3xl);margin:-40px auto 0;padding-top:var(--eui-base-spacing-xs);width:var(--eui-base-spacing-3xl)}.eui-t-compact .eui-wizard-step__bullet-item{margin-top:-30px}.eui-wizard-step__bullet-item-icon,.eui-wizard-step__bullet-item-icon .eui-wizard-step__icon{font-size:var(--eui-base-font-size-3xl)}.eui-wizard-step__label-wrapper{margin-top:var(--eui-base-spacing-m)}.eui-wizard-step__label-wrapper-label{font:normal normal 400 1rem/1.25rem var(--eui-base-font-family);font-weight:700}.eui-wizard-step__label-wrapper-sub-label{font-size:95%;margin-top:var(--eui-base-spacing-2xs)}.eui-wizard-step--active .eui-wizard-step__bullet-item{border-color:var(--eui-base-color-primary-100);color:var(--eui-base-color-primary-100)}.eui-wizard-step--active .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-primary-100)}.eui-wizard-step--active .eui-wizard-step__label-wrapper-label{color:var(--eui-base-color-primary-100)}.eui-wizard-step--active .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-base-color-primary-75)}.eui-wizard-step--completed .eui-wizard-step__bullet-item{background-color:var(--eui-base-color-success-110);border-color:var(--eui-base-color-success-110);color:var(--eui-base-color-white)}.eui-wizard-step--completed .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-base-color-white);fill:var(--eui-base-color-white)}.eui-wizard-step--completed .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-success-110)}.eui-wizard-step--completed .eui-wizard-step__label-wrapper-label{color:var(--eui-base-color-success-120)}.eui-wizard-step--completed .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-base-color-success-110)}.eui-wizard-step--error .eui-wizard-step__bullet-item{background-color:var(--eui-base-color-danger-100);border-color:var(--eui-base-color-danger-100);color:var(--eui-base-color-white)}.eui-wizard-step--error .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-base-color-white);fill:var(--eui-base-color-white)}.eui-wizard-step--error .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-danger-100)}.eui-wizard-step--error .eui-wizard-step__label-wrapper-label,.eui-wizard-step--error .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-base-color-danger-100)}.eui-wizard-step--warning .eui-wizard-step__bullet-item{background-color:var(--eui-base-color-warning-100);border-color:var(--eui-base-color-warning-100);color:var(--eui-base-color-grey-100)}.eui-wizard-step--warning .eui-wizard-step__bullet-item .eui-icon-svg>svg{color:var(--eui-base-color-white);fill:var(--eui-base-color-white)}.eui-wizard-step--warning .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-warning-140)}.eui-wizard-step--warning .eui-wizard-step__label-wrapper-label,.eui-wizard-step--warning .eui-wizard-step__label-wrapper-sub-label{color:var(--eui-base-color-warning-140)}.eui-wizard-step--disabled .eui-wizard-step__label-wrapper-label,.eui-wizard-step--disabled .eui-wizard-step__label-wrapper-sub-label,.eui-wizard-step--disabled .eui-wizard-step__bullet-item{border-color:var(--eui-base-color-grey-20);color:var(--eui-base-color-grey-90)}.eui-wizard-step--disabled .eui-wizard-step__indicator-wrapper{border-bottom-color:var(--eui-base-color-grey-25)}.eui-wizard-step--disabled:hover{cursor:not-allowed}.eui-wizard-step--notallowed .eui-wizard-step__bullet-item-icon{color:var(--eui-base-color-white)}.eui-wizard-step--notallowed.eui-wizard-step--disabled .eui-wizard-step__bullet-item-icon{color:var(--eui-base-color-grey-80)}.eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--completed .eui-wizard-step__bullet-item-icon,.eui-wizard-step--notallowed.eui-wizard-step--disabled.eui-wizard-step--error .eui-wizard-step__bullet-item-icon{color:var(--eui-base-color-white)}.eui-wizard-step--notallowed:hover{cursor:not-allowed}.eui-wizard-step:focus .eui-wizard-step__bullet-item{border:2px solid transparent;border-color:var(--eui-base-color-accent-110);border-radius:50%}.eui-wizard-step:first-child .eui-wizard-step__indicator-wrapper{margin-left:50%;width:50%}.eui-wizard-step:last-child .eui-wizard-step__indicator-wrapper{margin-right:50%;width:50%}\n"] }]
|
248
250
|
}], propDecorators: { activeStepIndex: [{
|
@@ -334,19 +336,19 @@ class EuiWizardService {
|
|
334
336
|
_navigateToStep(url) {
|
335
337
|
this.router.navigate([url], { relativeTo: this.route });
|
336
338
|
}
|
337
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
338
|
-
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
339
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiWizardService, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
340
|
+
/** @nocollapse */ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiWizardService }); }
|
339
341
|
}
|
340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiWizardService, decorators: [{
|
341
343
|
type: Injectable
|
342
344
|
}], ctorParameters: function () { return [{ type: i1$1.Router }]; } });
|
343
345
|
|
344
346
|
class EuiWizardModule {
|
345
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
346
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.
|
347
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.
|
347
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiWizardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
348
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiWizardModule, declarations: [EuiWizardStepComponent, EuiWizardComponent], imports: [CommonModule, RouterModule, EuiIconModule], exports: [EuiWizardStepComponent, EuiWizardComponent] }); }
|
349
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiWizardModule, providers: [EuiWizardService], imports: [CommonModule, RouterModule, EuiIconModule] }); }
|
348
350
|
}
|
349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiWizardModule, decorators: [{
|
350
352
|
type: NgModule,
|
351
353
|
args: [{
|
352
354
|
imports: [CommonModule, RouterModule, EuiIconModule],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eui-components-eui-wizard.mjs","sources":["../../eui-wizard/eui-wizard-step.component.ts","../../eui-wizard/eui-wizard-step.component.html","../../eui-wizard/eui-wizard.component.ts","../../eui-wizard/eui-wizard.component.html","../../eui-wizard/models/eui-wizard-step.ts","../../eui-wizard/services/eui-wizard.service.ts","../../eui-wizard/eui-wizard.module.ts","../../eui-wizard/eui-components-eui-wizard.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { EuiWizardStep } from './models/eui-wizard-step';\nimport { coerceBooleanProperty, BooleanInput } from '@angular/cdk/coercion';\n\n@Component({\n selector: 'eui-wizard-step',\n templateUrl: './eui-wizard-step.component.html',\n styleUrls: ['./styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiWizardStepComponent implements EuiWizardStep {\n @Input() id: string;\n @Input() indexLabel: string;\n @Input() indexIconClass: string;\n @Input() indexIconSvgName: string;\n @Input() label: string;\n @Input() subLabel: string;\n @Input() index: number;\n @Input() url: string;\n\n @Input()\n get isCompleted(): boolean {\n return this._isCompleted;\n }\n set isCompleted(value: BooleanInput) {\n this._isCompleted = coerceBooleanProperty(value);\n }\n private _isCompleted = false;\n @Input()\n get isActive(): boolean {\n return this._isActive;\n }\n set isActive(value: BooleanInput) {\n this._isActive = coerceBooleanProperty(value);\n }\n private _isActive = false;\n @Input()\n get isShowStepTitle(): boolean {\n return this._isShowStepTitle;\n }\n set isShowStepTitle(value: BooleanInput) {\n this._isShowStepTitle = coerceBooleanProperty(value);\n }\n private _isShowStepTitle = false;\n @Input()\n get isInvalid(): boolean {\n return this._isInvalid;\n }\n set isInvalid(value: BooleanInput) {\n this._isInvalid = coerceBooleanProperty(value);\n }\n private _isInvalid = false;\n @Input()\n get isWarning(): boolean {\n return this._isWarning;\n }\n set isWarning(value: BooleanInput) {\n this._isWarning = coerceBooleanProperty(value);\n }\n private _isWarning = false;\n @Input()\n get isDisabled(): boolean {\n return this._isDisabled;\n }\n set isDisabled(value: BooleanInput) {\n this._isDisabled = coerceBooleanProperty(value);\n }\n private _isDisabled = false;\n\n /**\n * TODO: from which one is this method being used from?\n */\n toJSON(): object {\n return {\n id: this.id,\n indexLabel: this.indexLabel,\n indexIconClass: this.indexIconClass,\n indexIconSvgName: this.indexIconSvgName,\n label: this.label,\n subLabel: this.subLabel,\n isCompleted: this.isCompleted,\n isActive: this.isActive,\n isShowStepTitle: this.isShowStepTitle,\n isInvalid: this.isInvalid,\n isWarning: this.isWarning,\n isDisabled: this.isDisabled,\n index: this.index,\n url: this.url,\n };\n }\n}\n","<ng-container *ngIf=\"isActive\">\n <ng-content></ng-content>\n</ng-container>\n","import {\n AfterContentInit,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n Input,\n OnChanges,\n Output,\n QueryList,\n SimpleChanges,\n ViewChildren,\n ViewEncapsulation,\n} from '@angular/core';\nimport { EuiWizardStepComponent } from './eui-wizard-step.component';\nimport { EuiWizardStep } from './models/eui-wizard-step';\nimport { uniqueId, consumeEvent } from '@eui/core';\nimport { coerceBooleanProperty, BooleanInput } from '@angular/cdk/coercion';\n\n@Component({\n selector: 'eui-wizard',\n templateUrl: './eui-wizard.component.html',\n styleUrls: ['./styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiWizardComponent implements AfterContentInit, OnChanges {\n @Input() activeStepIndex: number;\n @Input() steps: Array<EuiWizardStep> = [];\n @Input() tabindex = 0;\n @Input() e2eAttr = 'eui-wizard';\n @Output() selectStep: EventEmitter<EuiWizardStep> = new EventEmitter();\n\n @ContentChildren(EuiWizardStepComponent) childrenSteps: QueryList<EuiWizardStepComponent>;\n @ViewChildren('canBeFocused') canBeFocused: QueryList<ElementRef>;\n\n stepContentId: string = uniqueId();\n stepIds: string; // space-separated list of all step IDs\n\n @Input()\n get isCustomContent(): boolean {\n return this._isCustomContent;\n }\n set isCustomContent(value: BooleanInput) {\n this._isCustomContent = coerceBooleanProperty(value);\n }\n private _isCustomContent = false;\n @Input()\n get isShowStepTitle(): boolean {\n return this._isShowStepTitle;\n }\n set isShowStepTitle(value: BooleanInput) {\n this._isShowStepTitle = coerceBooleanProperty(value);\n }\n private _isShowStepTitle = false;\n @Input()\n get isNavigationAllowed(): boolean {\n return this._isNavigationAllowed;\n }\n set isNavigationAllowed(value: BooleanInput) {\n this._isNavigationAllowed = coerceBooleanProperty(value);\n }\n private _isNavigationAllowed = true;\n\n ngAfterContentInit(): void {\n const stepIdsBuffer: string[] = [];\n this.childrenSteps.forEach((step) => {\n this.steps.push(step);\n if (!step.id) {\n step.id = uniqueId();\n }\n stepIdsBuffer.push(step.id);\n });\n this.stepIds = stepIdsBuffer.join(' ');\n\n const activeSteps = this.steps.filter((step) => step.isActive);\n\n if (activeSteps.length === 0 && !this.activeStepIndex) {\n this._selectStep(this.steps[0], 1);\n } else if (this.activeStepIndex) {\n this._selectStep(this._getStep(this.activeStepIndex - 1), this.activeStepIndex);\n }\n\n this.steps.forEach((step) => (step.isShowStepTitle = this.isShowStepTitle));\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (this.activeStepIndex && this.steps) {\n this._selectStep(this._getStep(this.activeStepIndex - 1), this.activeStepIndex);\n\n const stepIdsBuffer = [];\n this.steps.forEach((step) => {\n if (!step.id) {\n step.id = uniqueId();\n }\n stepIdsBuffer.push(step.id);\n });\n this.stepIds = stepIdsBuffer.join(' ');\n }\n }\n\n onSelectStep(step: EuiWizardStep, index: number): void {\n if (!step.isDisabled && this.isNavigationAllowed) {\n this._selectStep(step, index);\n }\n }\n\n onKeyDown(event: KeyboardEvent): void {\n if (this.isNavigationAllowed) {\n // eslint-disable-next-line\n switch (event.keyCode) {\n case 37: // ARROW LEFT\n consumeEvent(event);\n this.selectPreviousStep();\n break;\n case 39: // ARROW RIGHT\n consumeEvent(event);\n this.selectNextStep();\n break;\n }\n }\n }\n\n public trackByFn(index: number, item: EuiWizardStep): string {\n return item.id;\n }\n\n protected selectPreviousStep(): void {\n if (this.isNavigationAllowed && this.steps) {\n // get the index of active step\n const activeStepIndex = this.steps.findIndex((step) => step.isActive);\n\n let previousIndex = activeStepIndex < 0 ? 0 : activeStepIndex;\n do {\n previousIndex--;\n if (previousIndex < 0) {\n previousIndex = this.steps.length - 1;\n }\n } while (this.steps[previousIndex].isDisabled);\n\n this._selectStep(this.steps[previousIndex], previousIndex + 1);\n this.canBeFocused.toArray()[previousIndex].nativeElement.focus();\n }\n }\n\n protected selectNextStep(): void {\n if (this.isNavigationAllowed && this.steps) {\n // get the index of active step\n let activeStepIndex = this.steps.findIndex((step) => step.isActive);\n // in case no step is active point to the first step\n activeStepIndex = activeStepIndex < 0 ? 0 : activeStepIndex;\n\n do {\n if (++activeStepIndex >= this.steps.length) {\n activeStepIndex = 0;\n }\n } while (this.steps[activeStepIndex].isDisabled);\n\n this._selectStep(this.steps[activeStepIndex], activeStepIndex + 1);\n this.canBeFocused.toArray()[activeStepIndex].nativeElement.focus();\n }\n }\n\n private _selectStep(step: EuiWizardStep, index: number): void {\n if (step) {\n this.steps.forEach((currentStep) => (currentStep.isActive = false));\n step.isActive = true;\n step.index = index;\n this.selectStep.emit(step);\n }\n }\n\n private _getStep(index: number): EuiWizardStep {\n if (index >= 0 && index <= this.steps.length) {\n return this.steps[index];\n }\n return null;\n }\n}\n","<div class=\"eui-wizard\" role=\"tablist\" aria-orientation=\"horizontal\" aria-label=\"\" attr.data-e2e=\"{{ e2eAttr }}\">\n <div\n #canBeFocused\n *ngFor=\"let step of steps; let idx = index; trackBy: trackByFn\"\n class=\"eui-wizard-step\"\n role=\"tab\"\n [id]=\"step.id\"\n attr.aria-label=\"{{ step?.label }} {{ step?.subLabel }}\"\n [attr.aria-disabled]=\"step?.isDisabled\"\n [attr.aria-controls]=\"stepContentId\"\n [tabindex]=\"step?.isDisabled || !isNavigationAllowed ? -1 : tabindex\"\n [class.eui-wizard-step--completed]=\"step?.isCompleted\"\n [class.eui-wizard-step--notallowed]=\"!isNavigationAllowed\"\n [class.eui-wizard-step--active]=\"step?.isActive\"\n [class.eui-wizard-step--disabled]=\"step?.isDisabled || !isNavigationAllowed\"\n [class.eui-wizard-step--error]=\"step?.isInvalid\"\n [class.eui-wizard-step--warning]=\"step?.isWarning\"\n (click)=\"onSelectStep(step, idx + 1)\"\n (keydown)=\"onKeyDown($event)\">\n <div class=\"eui-wizard-step__indicator-wrapper\" role=\"presentation\"></div>\n\n <div class=\"eui-wizard-step__bullet-item\">\n <span class=\"eui-wizard-step__bullet-item-icon\">\n <ng-container *ngIf=\"!step?.indexIconClass && !step?.indexIconSvgName; else customIconContent\">\n <eui-icon-svg *ngIf=\"step?.isCompleted && !step?.isActive\" icon=\"eui-check\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"step?.isInvalid && !step?.isActive\" icon=\"eui-exclamation\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"step?.isActive\" icon=\"eui-create\"></eui-icon-svg>\n </ng-container>\n\n <ng-template #customIconContent>\n <!-- v15 OK-->\n <span *ngIf=\"step?.indexIconClass && step?.indexIconClass !== undefined\" role=\"presentation\">\n <span class=\"eui-wizard-step__icon eui-icon {{ step?.indexIconClass }}\"></span>\n </span>\n\n <span *ngIf=\"step?.indexIconSvgName && step?.indexIconSvgName !== undefined\" role=\"presentation\">\n <eui-icon-svg icon=\"{{ step?.indexIconSvgName }}\" class=\"eui-wizard-step__icon\"></eui-icon-svg>\n </span>\n </ng-template>\n\n <span\n *ngIf=\"!step?.indexIconClass && !step?.indexIconSvgName && !step?.isActive && !step?.isCompleted && !step?.isInvalid\"\n role=\"presentation\">\n {{ step?.indexLabel !== undefined ? step?.indexLabel : idx + 1 }}\n </span>\n </span>\n </div>\n <div class=\"eui-wizard-step__label-wrapper\" role=\"presentation\">\n <div class=\"eui-wizard-step__label-wrapper-label\" role=\"presentation\">\n {{ step?.label }}\n </div>\n <div class=\"eui-wizard-step__label-wrapper-sub-label\" role=\"presentation\">\n {{ step?.subLabel }}\n </div>\n </div>\n\n <div *ngIf=\"step?.isActive\" class=\"eui-wizard-step__current-marker\" role=\"presentation\">\n <eui-icon-svg icon=\"eui-ecl-solid-arrow\" class=\"eui-wizard-step__current-marker-icon\"></eui-icon-svg>\n </div>\n </div>\n</div>\n<div [id]=\"stepContentId\" class=\"step-content\" role=\"tabpanel\" [attr.aria-labelledby]=\"stepIds\">\n <ng-content></ng-content>\n</div>\n","export interface IEuiWizardStep {\n id: string;\n indexLabel: string;\n indexIconClass: string;\n indexIconSvgName: string;\n label: string;\n subLabel: string;\n isCompleted: boolean;\n isActive: boolean;\n isShowStepTitle: boolean;\n isInvalid: boolean;\n isWarning: boolean;\n isDisabled: boolean;\n index: number;\n url: string;\n}\n\nexport class EuiWizardStep implements IEuiWizardStep {\n id: string;\n indexLabel: string;\n indexIconClass: string;\n indexIconSvgName: string;\n label: string;\n subLabel: string;\n isCompleted = false;\n isActive = false;\n isShowStepTitle = false;\n isInvalid = false;\n isWarning = false;\n isDisabled = false;\n index: number;\n url: string;\n\n constructor(values: any = {}) {\n Object.assign(this, values);\n }\n\n toString(): string {\n return JSON.stringify(this.toJSON());\n }\n\n toJSON(): object {\n return {\n id: this.id,\n indexLabel: this.indexLabel,\n indexIconClass: this.indexIconClass,\n indexIconSvgName: this.indexIconSvgName,\n label: this.label,\n subLabel: this.subLabel,\n isCompleted: this.isCompleted,\n isActive: this.isActive,\n isShowStepTitle: this.isShowStepTitle,\n isInvalid: this.isInvalid,\n isWarning: this.isWarning,\n isDisabled: this.isDisabled,\n index: this.index,\n url: this.url,\n };\n }\n}\n","import { Injectable } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { EuiWizardStep } from '../models/eui-wizard-step';\n\n@Injectable()\nexport class EuiWizardService {\n activeStepIndex = 1;\n steps: EuiWizardStep[] = [];\n route: ActivatedRoute;\n\n constructor(private router: Router) {}\n\n init(steps: EuiWizardStep[], route: ActivatedRoute): void {\n this.steps = steps;\n this.route = route;\n const currentRoute = this.router.url;\n const currentStepUrl = currentRoute.substr(currentRoute.lastIndexOf('/') + 1);\n this.steps.forEach((step, index) => {\n if (step.url === currentStepUrl) {\n this.activeStepIndex = index + 1;\n }\n });\n }\n\n navigationIncrement(increment: number): void {\n const newIndex: number = this.activeStepIndex + increment;\n if (newIndex >= 1 && newIndex <= this.steps.length) {\n this.activeStepIndex = newIndex;\n }\n }\n\n selectStep(step: EuiWizardStep): void {\n this.activeStepIndex = step.index;\n if (step.url) {\n this._navigateToStep(step.url);\n }\n }\n\n private _navigateToStep(url: string): void {\n this.router.navigate([url], { relativeTo: this.route });\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\nimport { EuiWizardStepComponent } from './eui-wizard-step.component';\nimport { EuiWizardService } from './services/eui-wizard.service';\nimport { EuiWizardComponent } from './eui-wizard.component';\nimport { EuiIconModule } from '@eui/components/eui-icon';\n\n@NgModule({\n imports: [CommonModule, RouterModule, EuiIconModule],\n exports: [EuiWizardStepComponent, EuiWizardComponent],\n declarations: [EuiWizardStepComponent, EuiWizardComponent],\n providers: [EuiWizardService],\n})\nexport class EuiWizardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;MAWa,sBAAsB,CAAA;AAPnC,IAAA,WAAA,GAAA;QAwBY,IAAY,CAAA,YAAA,GAAG,KAAK,CAAC;QAQrB,IAAS,CAAA,SAAA,GAAG,KAAK,CAAC;QAQlB,IAAgB,CAAA,gBAAA,GAAG,KAAK,CAAC;QAQzB,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC;QAQnB,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC;QAQnB,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;AAuB/B,KAAA;AAtEG,IAAA,IACI,WAAW,GAAA;QACX,OAAO,IAAI,CAAC,YAAY,CAAC;KAC5B;IACD,IAAI,WAAW,CAAC,KAAmB,EAAA;AAC/B,QAAA,IAAI,CAAC,YAAY,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;KACpD;AAED,IAAA,IACI,QAAQ,GAAA;QACR,OAAO,IAAI,CAAC,SAAS,CAAC;KACzB;IACD,IAAI,QAAQ,CAAC,KAAmB,EAAA;AAC5B,QAAA,IAAI,CAAC,SAAS,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;KACjD;AAED,IAAA,IACI,eAAe,GAAA;QACf,OAAO,IAAI,CAAC,gBAAgB,CAAC;KAChC;IACD,IAAI,eAAe,CAAC,KAAmB,EAAA;AACnC,QAAA,IAAI,CAAC,gBAAgB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;KACxD;AAED,IAAA,IACI,SAAS,GAAA;QACT,OAAO,IAAI,CAAC,UAAU,CAAC;KAC1B;IACD,IAAI,SAAS,CAAC,KAAmB,EAAA;AAC7B,QAAA,IAAI,CAAC,UAAU,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;KAClD;AAED,IAAA,IACI,SAAS,GAAA;QACT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AAA,CAAA,CAAA,EAAA;4IAAhB,gBAAgB,EAAA,CAAA,CAAA,EAAA;;kGAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAD5B,UAAU;;;MCUE,eAAe,CAAA;wIAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAf,uBAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAHT,YAAA,EAAA,CAAA,sBAAsB,EAAE,kBAAkB,CAF/C,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,YAAY,EAAE,aAAa,CACzC,EAAA,OAAA,EAAA,CAAA,sBAAsB,EAAE,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;yIAI3C,eAAe,EAAA,SAAA,EAFb,CAAC,gBAAgB,CAAC,YAHnB,YAAY,EAAE,YAAY,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;kGAK1C,eAAe,EAAA,UAAA,EAAA,CAAA;kBAN3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,aAAa,CAAC;AACpD,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,kBAAkB,CAAC;AACrD,oBAAA,YAAY,EAAE,CAAC,sBAAsB,EAAE,kBAAkB,CAAC;oBAC1D,SAAS,EAAE,CAAC,gBAAgB,CAAC;AAChC,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"eui-components-eui-wizard.mjs","sources":["../../eui-wizard/eui-wizard-step.component.ts","../../eui-wizard/eui-wizard-step.component.html","../../eui-wizard/eui-wizard.component.ts","../../eui-wizard/eui-wizard.component.html","../../eui-wizard/models/eui-wizard-step.ts","../../eui-wizard/services/eui-wizard.service.ts","../../eui-wizard/eui-wizard.module.ts","../../eui-wizard/eui-components-eui-wizard.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { EuiWizardStep } from './models/eui-wizard-step';\nimport { coerceBooleanProperty, BooleanInput } from '@angular/cdk/coercion';\n\n@Component({\n selector: 'eui-wizard-step',\n templateUrl: './eui-wizard-step.component.html',\n styleUrls: ['./styles/_index.scss'],\n changeDetection: ChangeDetectionStrategy.Default,\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiWizardStepComponent implements EuiWizardStep {\n @Input() id: string;\n @Input() indexLabel: string;\n @Input() indexIconClass: string;\n @Input() indexIconSvgName: string;\n @Input() label: string;\n @Input() subLabel: string;\n @Input() index: number;\n @Input() url: string;\n\n @Input()\n get isCompleted(): boolean {\n return this._isCompleted;\n }\n set isCompleted(value: BooleanInput) {\n this._isCompleted = coerceBooleanProperty(value);\n }\n private _isCompleted = false;\n @Input()\n get isActive(): boolean {\n return this._isActive;\n }\n set isActive(value: BooleanInput) {\n this._isActive = coerceBooleanProperty(value);\n }\n private _isActive = false;\n @Input()\n get isShowStepTitle(): boolean {\n return this._isShowStepTitle;\n }\n set isShowStepTitle(value: BooleanInput) {\n this._isShowStepTitle = coerceBooleanProperty(value);\n }\n private _isShowStepTitle = false;\n @Input()\n get isInvalid(): boolean {\n return this._isInvalid;\n }\n set isInvalid(value: BooleanInput) {\n this._isInvalid = coerceBooleanProperty(value);\n }\n private _isInvalid = false;\n @Input()\n get isWarning(): boolean {\n return this._isWarning;\n }\n set isWarning(value: BooleanInput) {\n this._isWarning = coerceBooleanProperty(value);\n }\n private _isWarning = false;\n @Input()\n get isDisabled(): boolean {\n return this._isDisabled;\n }\n set isDisabled(value: BooleanInput) {\n this._isDisabled = coerceBooleanProperty(value);\n }\n private _isDisabled = false;\n\n /**\n * TODO: from which one is this method being used from?\n */\n toJSON(): object {\n return {\n id: this.id,\n indexLabel: this.indexLabel,\n indexIconClass: this.indexIconClass,\n indexIconSvgName: this.indexIconSvgName,\n label: this.label,\n subLabel: this.subLabel,\n isCompleted: this.isCompleted,\n isActive: this.isActive,\n isShowStepTitle: this.isShowStepTitle,\n isInvalid: this.isInvalid,\n isWarning: this.isWarning,\n isDisabled: this.isDisabled,\n index: this.index,\n url: this.url,\n };\n }\n}\n","<ng-container *ngIf=\"isActive\">\n <ng-content></ng-content>\n</ng-container>\n","import {\n AfterContentInit,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n Input,\n OnChanges,\n Output,\n QueryList,\n SimpleChanges,\n ViewChildren,\n ViewEncapsulation,\n} from '@angular/core';\nimport { EuiWizardStepComponent } from './eui-wizard-step.component';\nimport { EuiWizardStep } from './models/eui-wizard-step';\nimport { uniqueId, consumeEvent } from '@eui/core';\nimport { coerceBooleanProperty, BooleanInput } from '@angular/cdk/coercion';\n\n@Component({\n selector: 'eui-wizard',\n templateUrl: './eui-wizard.component.html',\n styleUrls: ['./styles/_index.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class EuiWizardComponent implements AfterContentInit, OnChanges {\n @Input() activeStepIndex: number;\n @Input() steps: Array<EuiWizardStep> = [];\n @Input() tabindex = 0;\n @Input() e2eAttr = 'eui-wizard';\n @Output() selectStep: EventEmitter<EuiWizardStep> = new EventEmitter();\n\n @ContentChildren(EuiWizardStepComponent) childrenSteps: QueryList<EuiWizardStepComponent>;\n @ViewChildren('canBeFocused') canBeFocused: QueryList<ElementRef>;\n\n stepContentId: string = uniqueId();\n stepIds: string; // space-separated list of all step IDs\n\n @Input()\n get isCustomContent(): boolean {\n return this._isCustomContent;\n }\n set isCustomContent(value: BooleanInput) {\n this._isCustomContent = coerceBooleanProperty(value);\n }\n private _isCustomContent = false;\n @Input()\n get isShowStepTitle(): boolean {\n return this._isShowStepTitle;\n }\n set isShowStepTitle(value: BooleanInput) {\n this._isShowStepTitle = coerceBooleanProperty(value);\n }\n private _isShowStepTitle = false;\n @Input()\n get isNavigationAllowed(): boolean {\n return this._isNavigationAllowed;\n }\n set isNavigationAllowed(value: BooleanInput) {\n this._isNavigationAllowed = coerceBooleanProperty(value);\n }\n private _isNavigationAllowed = true;\n\n ngAfterContentInit(): void {\n const stepIdsBuffer: string[] = [];\n this.childrenSteps.forEach((step) => {\n this.steps.push(step);\n if (!step.id) {\n step.id = uniqueId();\n }\n stepIdsBuffer.push(step.id);\n });\n this.stepIds = stepIdsBuffer.join(' ');\n\n const activeSteps = this.steps.filter((step) => step.isActive);\n\n if (activeSteps.length === 0 && !this.activeStepIndex) {\n this._selectStep(this.steps[0], 1);\n } else if (this.activeStepIndex) {\n this._selectStep(this._getStep(this.activeStepIndex - 1), this.activeStepIndex);\n }\n\n this.steps.forEach((step) => (step.isShowStepTitle = this.isShowStepTitle));\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes['steps'] || changes['activeStepIndex']) {\n if (this.activeStepIndex && this.steps) {\n this._selectStep(this._getStep(this.activeStepIndex - 1), this.activeStepIndex);\n\n const stepIdsBuffer = [];\n this.steps.forEach((step) => {\n if (!step.id) {\n step.id = uniqueId();\n }\n stepIdsBuffer.push(step.id);\n });\n this.stepIds = stepIdsBuffer.join(' ');\n }\n }\n }\n\n onSelectStep(step: EuiWizardStep, index: number): void {\n if (!step.isDisabled && this.isNavigationAllowed) {\n this._selectStep(step, index);\n }\n }\n\n onKeyDown(event: KeyboardEvent): void {\n if (this.isNavigationAllowed) {\n // eslint-disable-next-line\n switch (event.keyCode) {\n case 37: // ARROW LEFT\n consumeEvent(event);\n this.selectPreviousStep();\n break;\n case 39: // ARROW RIGHT\n consumeEvent(event);\n this.selectNextStep();\n break;\n }\n }\n }\n\n public trackByFn(index: number, item: EuiWizardStep): string {\n return item.id;\n }\n\n protected selectPreviousStep(): void {\n if (this.isNavigationAllowed && this.steps) {\n // get the index of active step\n const activeStepIndex = this.steps.findIndex((step) => step.isActive);\n\n let previousIndex = activeStepIndex < 0 ? 0 : activeStepIndex;\n do {\n previousIndex--;\n if (previousIndex < 0) {\n previousIndex = this.steps.length - 1;\n }\n } while (this.steps[previousIndex].isDisabled);\n\n this._selectStep(this.steps[previousIndex], previousIndex + 1);\n this.canBeFocused.toArray()[previousIndex].nativeElement.focus();\n }\n }\n\n protected selectNextStep(): void {\n if (this.isNavigationAllowed && this.steps) {\n // get the index of active step\n let activeStepIndex = this.steps.findIndex((step) => step.isActive);\n // in case no step is active point to the first step\n activeStepIndex = activeStepIndex < 0 ? 0 : activeStepIndex;\n\n do {\n if (++activeStepIndex >= this.steps.length) {\n activeStepIndex = 0;\n }\n } while (this.steps[activeStepIndex].isDisabled);\n\n this._selectStep(this.steps[activeStepIndex], activeStepIndex + 1);\n this.canBeFocused.toArray()[activeStepIndex].nativeElement.focus();\n }\n }\n\n private _selectStep(step: EuiWizardStep, index: number): void {\n if (step) {\n this.steps.forEach((currentStep) => (currentStep.isActive = false));\n step.isActive = true;\n step.index = index;\n this.selectStep.emit(step);\n }\n }\n\n private _getStep(index: number): EuiWizardStep {\n if (index >= 0 && index <= this.steps.length) {\n return this.steps[index];\n }\n return null;\n }\n}\n","<div class=\"eui-wizard\" role=\"tablist\" aria-orientation=\"horizontal\" aria-label=\"\" attr.data-e2e=\"{{ e2eAttr }}\">\n <div\n #canBeFocused\n *ngFor=\"let step of steps; let idx = index; trackBy: trackByFn\"\n class=\"eui-wizard-step\"\n role=\"tab\"\n [id]=\"step.id\"\n attr.aria-label=\"{{ step?.label }} {{ step?.subLabel }}\"\n [attr.aria-disabled]=\"step?.isDisabled\"\n [attr.aria-controls]=\"stepContentId\"\n [tabindex]=\"step?.isDisabled || !isNavigationAllowed ? -1 : tabindex\"\n [class.eui-wizard-step--completed]=\"step?.isCompleted\"\n [class.eui-wizard-step--notallowed]=\"!isNavigationAllowed\"\n [class.eui-wizard-step--active]=\"step?.isActive\"\n [class.eui-wizard-step--disabled]=\"step?.isDisabled || !isNavigationAllowed\"\n [class.eui-wizard-step--error]=\"step?.isInvalid\"\n [class.eui-wizard-step--warning]=\"step?.isWarning\"\n (click)=\"onSelectStep(step, idx + 1)\"\n (keydown)=\"onKeyDown($event)\">\n <div class=\"eui-wizard-step__indicator-wrapper\" role=\"presentation\"></div>\n\n <div class=\"eui-wizard-step__bullet-item\">\n <span class=\"eui-wizard-step__bullet-item-icon\">\n <ng-container *ngIf=\"!step?.indexIconClass && !step?.indexIconSvgName; else customIconContent\">\n <eui-icon-svg *ngIf=\"step?.isCompleted && !step?.isActive\" icon=\"eui-check\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"step?.isInvalid && !step?.isActive\" icon=\"eui-exclamation\"></eui-icon-svg>\n <eui-icon-svg *ngIf=\"step?.isActive\" icon=\"eui-create\"></eui-icon-svg>\n </ng-container>\n\n <ng-template #customIconContent>\n <!-- v15 OK-->\n <span *ngIf=\"step?.indexIconClass && step?.indexIconClass !== undefined\" role=\"presentation\">\n <span class=\"eui-wizard-step__icon eui-icon {{ step?.indexIconClass }}\"></span>\n </span>\n\n <span *ngIf=\"step?.indexIconSvgName && step?.indexIconSvgName !== undefined\" role=\"presentation\">\n <eui-icon-svg icon=\"{{ step?.indexIconSvgName }}\" class=\"eui-wizard-step__icon\"></eui-icon-svg>\n </span>\n </ng-template>\n\n <span\n *ngIf=\"!step?.indexIconClass && !step?.indexIconSvgName && !step?.isActive && !step?.isCompleted && !step?.isInvalid\"\n role=\"presentation\">\n {{ step?.indexLabel !== undefined ? step?.indexLabel : idx + 1 }}\n </span>\n </span>\n </div>\n <div class=\"eui-wizard-step__label-wrapper\" role=\"presentation\">\n <div class=\"eui-wizard-step__label-wrapper-label\" role=\"presentation\">\n {{ step?.label }}\n </div>\n <div class=\"eui-wizard-step__label-wrapper-sub-label\" role=\"presentation\">\n {{ step?.subLabel }}\n </div>\n </div>\n\n <div *ngIf=\"step?.isActive\" class=\"eui-wizard-step__current-marker\" role=\"presentation\">\n <eui-icon-svg icon=\"eui-ecl-solid-arrow\" class=\"eui-wizard-step__current-marker-icon\"></eui-icon-svg>\n </div>\n </div>\n</div>\n<div [id]=\"stepContentId\" class=\"step-content\" role=\"tabpanel\" [attr.aria-labelledby]=\"stepIds\">\n <ng-content></ng-content>\n</div>\n","export interface IEuiWizardStep {\n id: string;\n indexLabel: string;\n indexIconClass: string;\n indexIconSvgName: string;\n label: string;\n subLabel: string;\n isCompleted: boolean;\n isActive: boolean;\n isShowStepTitle: boolean;\n isInvalid: boolean;\n isWarning: boolean;\n isDisabled: boolean;\n index: number;\n url: string;\n}\n\nexport class EuiWizardStep implements IEuiWizardStep {\n id: string;\n indexLabel: string;\n indexIconClass: string;\n indexIconSvgName: string;\n label: string;\n subLabel: string;\n isCompleted = false;\n isActive = false;\n isShowStepTitle = false;\n isInvalid = false;\n isWarning = false;\n isDisabled = false;\n index: number;\n url: string;\n\n constructor(values: any = {}) {\n Object.assign(this, values);\n }\n\n toString(): string {\n return JSON.stringify(this.toJSON());\n }\n\n toJSON(): object {\n return {\n id: this.id,\n indexLabel: this.indexLabel,\n indexIconClass: this.indexIconClass,\n indexIconSvgName: this.indexIconSvgName,\n label: this.label,\n subLabel: this.subLabel,\n isCompleted: this.isCompleted,\n isActive: this.isActive,\n isShowStepTitle: this.isShowStepTitle,\n isInvalid: this.isInvalid,\n isWarning: this.isWarning,\n isDisabled: this.isDisabled,\n index: this.index,\n url: this.url,\n };\n }\n}\n","import { Injectable } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { EuiWizardStep } from '../models/eui-wizard-step';\n\n@Injectable()\nexport class EuiWizardService {\n activeStepIndex = 1;\n steps: EuiWizardStep[] = [];\n route: ActivatedRoute;\n\n constructor(private router: Router) {}\n\n init(steps: EuiWizardStep[], route: ActivatedRoute): void {\n this.steps = steps;\n this.route = route;\n const currentRoute = this.router.url;\n const currentStepUrl = currentRoute.substr(currentRoute.lastIndexOf('/') + 1);\n this.steps.forEach((step, index) => {\n if (step.url === currentStepUrl) {\n this.activeStepIndex = index + 1;\n }\n });\n }\n\n navigationIncrement(increment: number): void {\n const newIndex: number = this.activeStepIndex + increment;\n if (newIndex >= 1 && newIndex <= this.steps.length) {\n this.activeStepIndex = newIndex;\n }\n }\n\n selectStep(step: EuiWizardStep): void {\n this.activeStepIndex = step.index;\n if (step.url) {\n this._navigateToStep(step.url);\n }\n }\n\n private _navigateToStep(url: string): void {\n this.router.navigate([url], { relativeTo: this.route });\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\nimport { EuiWizardStepComponent } from './eui-wizard-step.component';\nimport { EuiWizardService } from './services/eui-wizard.service';\nimport { EuiWizardComponent } from './eui-wizard.component';\nimport { EuiIconModule } from '@eui/components/eui-icon';\n\n@NgModule({\n imports: [CommonModule, RouterModule, EuiIconModule],\n exports: [EuiWizardStepComponent, EuiWizardComponent],\n declarations: [EuiWizardStepComponent, EuiWizardComponent],\n providers: [EuiWizardService],\n})\nexport class EuiWizardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;MAWa,sBAAsB,CAAA;AAPnC,IAAA,WAAA,GAAA;QAwBY,IAAY,CAAA,YAAA,GAAG,KAAK,CAAC;QAQrB,IAAS,CAAA,SAAA,GAAG,KAAK,CAAC;QAQlB,IAAgB,CAAA,gBAAA,GAAG,KAAK,CAAC;QAQzB,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC;QAQnB,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC;QAQnB,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;AAuB/B,KAAA;AAtEG,IAAA,IACI,WAAW,GAAA;QACX,OAAO,IAAI,CAAC,YAAY,CAAC;KAC5B;IACD,IAAI,WAAW,CAAC,KAAmB,EAAA;AAC/B,QAAA,IAAI,CAAC,YAAY,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;KACpD;AAED,IAAA,IACI,QAAQ,G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AAA,CAAA,CAAA,EAAA;yIAI3C,eAAe,EAAA,SAAA,EAFb,CAAC,gBAAgB,CAAC,YAHnB,YAAY,EAAE,YAAY,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;kGAK1C,eAAe,EAAA,UAAA,EAAA,CAAA;kBAN3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,aAAa,CAAC;AACpD,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,kBAAkB,CAAC;AACrD,oBAAA,YAAY,EAAE,CAAC,sBAAsB,EAAE,kBAAkB,CAAC;oBAC1D,SAAS,EAAE,CAAC,gBAAgB,CAAC;AAChC,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
|
@@ -182,10 +182,10 @@ class ChartComponent {
|
|
182
182
|
this.chartObj = new ApexCharts(this.chartElement.nativeElement, options);
|
183
183
|
this.render();
|
184
184
|
}
|
185
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
186
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.0-next.
|
185
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: ChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
186
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.0-next.4", type: ChartComponent, selector: "eui-apex-chart", inputs: { chart: "chart", annotations: "annotations", colors: "colors", dataLabels: "dataLabels", series: "series", stroke: "stroke", labels: "labels", legend: "legend", markers: "markers", noData: "noData", fill: "fill", tooltip: "tooltip", plotOptions: "plotOptions", responsive: "responsive", xaxis: "xaxis", yaxis: "yaxis", grid: "grid", states: "states", title: "title", subtitle: "subtitle", theme: "theme", forecastDataPoints: "forecastDataPoints", autoUpdateSeries: "autoUpdateSeries", hasTableLegend: "hasTableLegend" }, viewQueries: [{ propertyName: "chartElement", first: true, predicate: ["chart"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"eui-apex-chart-wrapper\">\n <div #chart></div>\n</div>\n\n<div *ngIf=\"chartType === 'pie' && getHasTableLegend\" class=\"chart-legend__container text-center\">\n <ul class=\"chart-legend\">\n <li class=\"chart-legend-item\" *ngFor=\"let item of getSeries; let i = index\">\n <span class=\"chart-legend-item-marker ux-icon ux-icon-fw ux-icon-circle\" [style.color]=\"colors[i]\"></span>\n <span class=\"chart-legend-item-label\">{{ labels[i] }}</span>\n <span class=\"chart-legend-item-counter\" *ngIf=\"chartType === 'pie'\">{{ item }}</span>\n </li>\n </ul>\n</div>\n", styles: [".eui-apex-chart-wrapper{display:block!important;margin:1rem auto;min-height:10px!important;position:relative;width:100%}.eui-apex-chart-wrapper .apexcharts-canvas{margin:0 auto}.apexcharts-legend-series{font-weight:400}.apexcharts-gridline{pointer-events:none;stroke:#efefef}.apexcharts-legend-text{font-size:13px!important}.apexcharts-pie-label{fill:#fff!important}.apexcharts-yaxis text,.apexcharts-xaxis text{fill:#fff}.apexcharts-point-annotations text,.apexcharts-xaxis-annotations text,.apexcharts-yaxis-annotations text{fill:#fff}.apexcharts-radar-series polygon{fill:transparent}.apexcharts-pie-label,.apexcharts-datalabel,.apexcharts-datalabel-label,.apexcharts-datalabel-value{fill:#fff!important}.chart-legend__container{margin-bottom:var(--eui-base-spacing-l)}.chart-legend__container .chart-legend{display:block;margin:0;padding:0}.chart-legend{background-color:var(--eui-base-color-grey-15);font-size:var(--eui-base-font-size-s);margin:var(--eui-base-spacing-l) 2% 0 2%;padding:var(--eui-base-spacing-xs)}.chart-legend .chart-legend-item{align-items:center;border-bottom:1px solid var(--eui-base-color-grey-35);display:flex;padding:var(--eui-base-spacing-s)}.chart-legend .chart-legend-item:last-child{border-bottom:none}.chart-legend .chart-legend-item .chart-legend-item-marker{flex:none;margin-right:var(--eui-base-spacing-xs)}.chart-legend .chart-legend-item .chart-legend-item-counter{flex:none;margin-left:auto;padding-left:var(--eui-base-spacing-xs)}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
187
187
|
}
|
188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: ChartComponent, decorators: [{
|
189
189
|
type: Component,
|
190
190
|
args: [{ selector: 'eui-apex-chart', template: "<div class=\"eui-apex-chart-wrapper\">\n <div #chart></div>\n</div>\n\n<div *ngIf=\"chartType === 'pie' && getHasTableLegend\" class=\"chart-legend__container text-center\">\n <ul class=\"chart-legend\">\n <li class=\"chart-legend-item\" *ngFor=\"let item of getSeries; let i = index\">\n <span class=\"chart-legend-item-marker ux-icon ux-icon-fw ux-icon-circle\" [style.color]=\"colors[i]\"></span>\n <span class=\"chart-legend-item-label\">{{ labels[i] }}</span>\n <span class=\"chart-legend-item-counter\" *ngIf=\"chartType === 'pie'\">{{ item }}</span>\n </li>\n </ul>\n</div>\n", styles: [".eui-apex-chart-wrapper{display:block!important;margin:1rem auto;min-height:10px!important;position:relative;width:100%}.eui-apex-chart-wrapper .apexcharts-canvas{margin:0 auto}.apexcharts-legend-series{font-weight:400}.apexcharts-gridline{pointer-events:none;stroke:#efefef}.apexcharts-legend-text{font-size:13px!important}.apexcharts-pie-label{fill:#fff!important}.apexcharts-yaxis text,.apexcharts-xaxis text{fill:#fff}.apexcharts-point-annotations text,.apexcharts-xaxis-annotations text,.apexcharts-yaxis-annotations text{fill:#fff}.apexcharts-radar-series polygon{fill:transparent}.apexcharts-pie-label,.apexcharts-datalabel,.apexcharts-datalabel-label,.apexcharts-datalabel-value{fill:#fff!important}.chart-legend__container{margin-bottom:var(--eui-base-spacing-l)}.chart-legend__container .chart-legend{display:block;margin:0;padding:0}.chart-legend{background-color:var(--eui-base-color-grey-15);font-size:var(--eui-base-font-size-s);margin:var(--eui-base-spacing-l) 2% 0 2%;padding:var(--eui-base-spacing-xs)}.chart-legend .chart-legend-item{align-items:center;border-bottom:1px solid var(--eui-base-color-grey-35);display:flex;padding:var(--eui-base-spacing-s)}.chart-legend .chart-legend-item:last-child{border-bottom:none}.chart-legend .chart-legend-item .chart-legend-item-marker{flex:none;margin-right:var(--eui-base-spacing-xs)}.chart-legend .chart-legend-item .chart-legend-item-counter{flex:none;margin-left:auto;padding-left:var(--eui-base-spacing-xs)}\n"] }]
|
191
191
|
}], propDecorators: { chart: [{
|
@@ -244,11 +244,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.3",
|
|
244
244
|
window.ApexCharts = ApexCharts;
|
245
245
|
const COMPONENTS = [ChartComponent];
|
246
246
|
class EuiChartsModule {
|
247
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
248
|
-
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.
|
249
|
-
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.
|
247
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiChartsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
248
|
+
/** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiChartsModule, declarations: [ChartComponent], imports: [CommonModule], exports: [ChartComponent] }); }
|
249
|
+
/** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiChartsModule, imports: [CommonModule] }); }
|
250
250
|
}
|
251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: EuiChartsModule, decorators: [{
|
252
252
|
type: NgModule,
|
253
253
|
args: [{
|
254
254
|
imports: [CommonModule],
|