{"version":3,"file":"eui-components-eui-wizard-v2.mjs","sources":["../../eui-wizard-v2/eui-wizard-step.component.ts","../../eui-wizard-v2/eui-wizard-step.component.html","../../eui-wizard-v2/services/eui-wizard.service.ts","../../eui-wizard-v2/eui-wizard.component.ts","../../eui-wizard-v2/eui-wizard.component.html","../../eui-wizard-v2/models/eui-wizard-step.ts","../../eui-wizard-v2/index.ts","../../eui-wizard-v2/eui-components-eui-wizard-v2.ts"],"sourcesContent":["import { booleanAttribute, Component, Input, ViewEncapsulation } from '@angular/core';\nimport { EuiWizardStep } from './models/eui-wizard-step';\n\n/**\n * @ignore\n * @internal\n */\n@Component({\n    selector: 'eui-wizard-step',\n    templateUrl: './eui-wizard-step.component.html',\n    encapsulation: ViewEncapsulation.None,\n})\nexport class EuiWizardStepComponent implements EuiWizardStep {\n    @Input() id: string;\n    @Input() indexLabel: string;\n    @Input() indexIconSvgName: string;\n    @Input() label: string;\n    @Input() subLabel: string;\n    @Input() index: number;\n    @Input() url: string;\n\n    @Input({ transform: booleanAttribute }) isCompleted = false;\n    @Input({ transform: booleanAttribute }) isActive = false;\n    @Input({ transform: booleanAttribute }) isShowStepTitle = false;\n    @Input({ transform: booleanAttribute }) isInvalid = false;\n    @Input({ transform: booleanAttribute }) isWarning = false;\n    @Input({ transform: booleanAttribute }) 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            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","@if(isActive) {\n    <ng-content />\n}\n","import { Injectable, inject } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { EuiWizardStep } from '../models/eui-wizard-step';\n\n/**\n * @ignore\n * @internal\n */\n@Injectable()\nexport class EuiWizardService {\n    activeStepIndex = 1;\n    steps: EuiWizardStep[] = [];\n    route: ActivatedRoute;\n    private router = inject(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 {\n    AfterContentInit,\n    AfterViewInit,\n    booleanAttribute,\n    Component,\n    ContentChildren,\n    ElementRef,\n    EventEmitter,\n    Input,\n    OnChanges,\n    OnDestroy,\n    Output,\n    QueryList,\n    SimpleChanges,\n    ViewChildren,\n    ViewEncapsulation,\n} from '@angular/core';\nimport { uniqueId, consumeEvent } from '@eui/core';\nimport { EUI_ICON } from '@eui/components/eui-icon';\nimport { EuiWizardStepComponent } from './eui-wizard-step.component';\nimport { EuiWizardStep } from './models/eui-wizard-step';\nimport { EuiWizardService } from './services/eui-wizard.service';\nimport { Subject, takeUntil } from 'rxjs';\n\n/**\n * @ignore\n * @internal\n * @description\n * Enhanced wizard component (version 2) for guiding users through sequential processes or forms.\n * Displays step indicators with navigation controls and manages step activation state.\n * Supports keyboard navigation, custom content mode, and programmatic step selection.\n * Provides both declarative (content children) and programmatic (steps array) configuration.\n * Commonly used for onboarding flows, multi-page forms, checkout processes, and guided workflows.\n *\n * @usageNotes\n * ### Basic Usage\n * ```html\n * <eui-wizard [activeStepIndex]=\"1\" (selectStep)=\"onStepChange($event)\">\n *   <eui-wizard-step label=\"Account Details\">\n *     <form><!-- step 1 content --></form>\n *   </eui-wizard-step>\n *   <eui-wizard-step label=\"Preferences\">\n *     <form><!-- step 2 content --></form>\n *   </eui-wizard-step>\n *   <eui-wizard-step label=\"Confirmation\">\n *     <div><!-- step 3 content --></div>\n *   </eui-wizard-step>\n * </eui-wizard>\n * ```\n *\n * ### Custom Content Mode\n * ```html\n * <eui-wizard\n *   [isCustomContent]=\"true\"\n *   [steps]=\"wizardSteps\"\n *   [activeStepIndex]=\"currentStep\">\n * </eui-wizard>\n *\n * <!-- Render step content externally -->\n * <div *ngIf=\"currentStep === 1\">Step 1 Content</div>\n * <div *ngIf=\"currentStep === 2\">Step 2 Content</div>\n * ```\n *\n * ### Accessibility\n * - Use role=\"navigation\" with aria-label describing the wizard\n * - Each step has clear labels and state indicators\n * - Keyboard navigation: Arrow keys to move between steps\n * - Current step is announced to screen readers\n *\n * ### Notes\n * - activeStepIndex is 1-based (first step is 1, not 0)\n * - isCustomContent mode displays only step indicators\n * - isShowStepTitle displays step labels below indicators\n * - isNavigationAllowed controls whether users can click steps directly\n * - Version 2 provides enhanced features over original wizard\n */\n@Component({\n    selector: 'eui-wizard',\n    templateUrl: './eui-wizard.component.html',\n    styleUrl: './eui-wizard.scss',\n    encapsulation: ViewEncapsulation.None,\n    providers: [EuiWizardService],\n    imports: [\n        ...EUI_ICON,\n    ],\n})\nexport class EuiWizardComponent implements AfterContentInit, OnChanges, AfterViewInit, OnDestroy {\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({ transform: booleanAttribute }) isCustomContent = false;\n    @Input({ transform: booleanAttribute }) isShowStepTitle = false;\n    @Input({ transform: booleanAttribute }) isNavigationAllowed = true;\n\n    private destroy$: Subject<boolean> = new Subject<boolean>();\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    ngAfterViewInit(): void {\n        this.childrenSteps.changes.pipe(takeUntil(this.destroy$)).subscribe((childrenSteps: QueryList<EuiWizardStepComponent>) => {\n            this.rebuildSteps(childrenSteps);\n        });\n    }\n\n    ngAfterContentInit(): void {\n        this.rebuildSteps(this.childrenSteps);\n    }\n\n    ngOnDestroy(): void {\n        this.destroy$.next(true);\n        this.destroy$.unsubscribe();\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            switch (event.key) {\n                case 'ArrowLeft':\n                    consumeEvent(event);\n                    this.selectPreviousStep();\n                    break;\n                case 'ArrowRight':\n                    consumeEvent(event);\n                    this.selectNextStep();\n                    break;\n            }\n        }\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 rebuildSteps(childrenSteps: QueryList<EuiWizardStepComponent>): void {\n        this.steps = [];\n        const stepIdsBuffer: string[] = [];\n        childrenSteps.forEach((step) => {\n            this.steps.push(step);\n            if (!step.id) {\n                step.id = uniqueId();\n            }\n            step.isShowStepTitle = this.isShowStepTitle;\n            stepIdsBuffer.push(step.id);\n        });\n        this.stepIds = stepIdsBuffer.join(' ');\n\n        const activeIndex = this.activeStepIndex\n            ? this.activeStepIndex - 1\n            : this.steps.findIndex((s) => s.isActive);\n        this._selectStep(this._getStep(activeIndex >= 0 ? activeIndex : 0), (activeIndex >= 0 ? activeIndex : 0) + 1);\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\" attr.data-e2e=\"{{ e2eAttr }}\">\n    @for (step of steps; track step.id; let idx = $index) {\n        <div\n            #canBeFocused\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            [attr.aria-describedby]=\"step?.isActive? stepContentId: null\"\n            [attr.aria-selected]=\"step?.isActive\"\n            [tabindex]=\"!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\"\n            [class.eui-wizard-step--error]=\"step?.isInvalid\"\n            [class.eui--danger]=\"step?.isInvalid\"\n            [class.eui-wizard-step--warning]=\"step?.isWarning\"\n            [class.eui--warning]=\"step?.isWarning\"\n            (click)=\"onSelectStep(step, idx + 1)\"\n            (keydown)=\"onKeyDown($event)\">\n\n            <div class=\"eui-wizard-step-item\" role=\"presentation\">\n                <div class=\"eui-wizard-step-item-number\" role=\"presentation\">\n                    @if(!step?.indexIconSvgName) {\n                        @if (step?.isCompleted) {\n                            <eui-icon-svg icon=\"eui-checkmark\" />\n                        }\n                        @if (step?.isInvalid) {\n                            <eui-icon-svg icon=\"eui-alert\" />\n                        }\n                    } @else {\n                        @if(step?.indexIconSvgName && step?.indexIconSvgName !== undefined) {\n                            <eui-icon-svg icon=\"{{ step?.indexIconSvgName }}\" class=\"eui-wizard-step__icon\" role=\"presentation\" />\n                        }\n                    }\n\n                    @if(!step?.indexIconSvgName && !step?.isCompleted && !step?.isInvalid) {\n                        <span role=\"presentation\">\n                            {{ step?.indexLabel !== undefined ? step?.indexLabel : idx + 1 }}\n                        </span>\n                    }\n                </div>\n                <div class=\"eui-wizard-step-item-label-wrapper\" role=\"presentation\">\n                    <div class=\"eui-wizard-step-item-label\" role=\"presentation\">\n                        {{ step?.label }}\n                    </div>\n                    <div class=\"eui-wizard-step-item-sub-label\" role=\"presentation\">\n                        {{ step?.subLabel }}\n                    </div>\n                </div>                \n            </div>\n\n            <div class=\"eui-wizard-step-separator\" role=\"presentation\"></div>\n        </div>\n    }\n</div>\n<div [id]=\"stepContentId\" class=\"step-content\" role=\"tabpanel\">\n    <ng-content></ng-content>\n</div>\n","/**\n * @ignore\n * @internal\n */\nexport interface IEuiWizardStep {\n    id: string;\n    indexLabel: 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\n/**\n * @ignore\n * @internal\n */\nexport class EuiWizardStep implements IEuiWizardStep {\n    id: string;\n    indexLabel: 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    // TODO:  find the correct type or turn into a generic, https://www.typescriptlang.org/docs/handbook/2/generics.html\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\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            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 { EuiWizardStepComponent } from './eui-wizard-step.component';\nimport { EuiWizardComponent } from './eui-wizard.component';\n\nexport * from './eui-wizard.component';\nexport * from './eui-wizard-step.component';\nexport * from './models/eui-wizard-step';\nexport * from './services/eui-wizard.service';\n\nexport const EUI_WIZARD_V2 = [\n    EuiWizardStepComponent, \n    EuiWizardCompon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