{"version":3,"file":"usitsdasdesign-dds-ng-wizard.mjs","sources":["../../src/app/dds/wizard/wizard/constants.ts","../../src/app/dds/wizard/wizard/wizard.component.ts","../../src/app/dds/wizard/wizard/wizard.component.html","../../src/app/dds/wizard/wizard-item/wizard-item.component.ts","../../src/app/dds/wizard/wizard-item/wizard-item.component.html","../../src/app/dds/wizard/wizard.module.ts","../../src/app/dds/wizard/typings.ts","../../src/app/dds/wizard/usitsdasdesign-dds-ng-wizard.ts"],"sourcesContent":["import { ThemeClassesMap, ThemeMapEnum } from '@usitsdasdesign/dds-ng/core/theme';\nimport { Themes } from '@usitsdasdesign/dds-ng/shared';\n\nexport const DEFAULT_ACTIVE_INDEX = 0;\nexport const MIN_PROGRESS = 0;\nexport const MAX_PROGRESS = 100;\n\nexport const themeClassesMap: ThemeClassesMap = {\n  [ThemeMapEnum.Themes]: {\n    [Themes.green]: 'dds-wizard_green',\n    [Themes.blue]: 'dds-wizard_blue',\n  },\n};\n","import { CommonModule } from '@angular/common';\nimport {\n  AfterContentInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, HostBinding, Input, Output, QueryList, ViewChildren\n} from '@angular/core';\nimport { DestroyCtor, DestroyMixin, I18nCtor, I18nMixin } from '@usitsdasdesign/dds-ng/core/common-behaviors';\nimport { FocusHandlerModule } from '@usitsdasdesign/dds-ng/core/focus-handler';\nimport { ThemeClassesMap, ThemeModule } from '@usitsdasdesign/dds-ng/core/theme';\nimport { ProgressModule } from '@usitsdasdesign/dds-ng/progress';\nimport { AdditionalClass } from '@usitsdasdesign/dds-ng/shared';\nimport { DdsConfigService } from '@usitsdasdesign/dds-ng/shared/dds-config';\nimport { I18nModule, I18nService, ITranslation } from '@usitsdasdesign/dds-ng/shared/i18n';\nimport { WizardThemes } from '../typings';\nimport { WizardItemComponent } from '../wizard-item/wizard-item.component';\nimport { DEFAULT_ACTIVE_INDEX, MAX_PROGRESS, MIN_PROGRESS, themeClassesMap } from './constants';\n\nconst WizardBase: DestroyCtor & I18nCtor = DestroyMixin(I18nMixin());\n\n@Component({\n  selector: 'dds-wizard',\n  templateUrl: './wizard.component.html',\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  standalone: true,\n  imports: [CommonModule, ProgressModule, FocusHandlerModule, ThemeModule, I18nModule],\n})\nexport class WizardComponent extends WizardBase implements AfterContentInit {\n  // Bind the 'flex' class to the host element\n  @HostBinding('class') class = AdditionalClass.flex;\n\n  // Query list of wizard buttons\n  @ViewChildren('wizardBtns') wizardBtns: QueryList<ElementRef<HTMLButtonElement>>;\n\n  // Input properties for various configurations\n  @Input() theme: WizardThemes | string | undefined = this.ddsConfig.getConfig().theme;\n  @Input() customClass: string | undefined;\n  @Input() startNumbering: number | undefined;\n  @Input() isNumeric: boolean | undefined;\n  @Input() isVertical: boolean | undefined;\n  @Input() isInverse: boolean | undefined;\n  @Input() isCompact: boolean | undefined;\n\n  // Active index input with setter and getter\n  @Input() set activeIndex(index: number | undefined) {\n    this._activeIndex = this.validateActiveIndex(index);\n    this.setActiveWizardItem(this._activeIndex);\n    this.cdr.markForCheck();\n  }\n  get activeIndex(): number | undefined {\n    return this._activeIndex;\n  }\n\n  // Output event emitter for wizard item change\n  @Output() wizardItemChanged: EventEmitter<WizardItemComponent> = new EventEmitter();\n\n  // Public properties for wizard items, theme configuration, and aria label\n  public wizardItems: WizardItemComponent[] = [];\n  public themeConfig: ThemeClassesMap = themeClassesMap;\n  public ariaLabel: string;\n\n  // Private property for active index with default value\n  private _activeIndex: number = DEFAULT_ACTIVE_INDEX;\n\n  constructor(public cdr: ChangeDetectorRef, public i18n: I18nService, private ddsConfig: DdsConfigService) {\n    super();\n  }\n\n  public ngAfterContentInit(): void {\n    this.setActiveWizardItem(this.activeIndex);\n  }\n\n  // Check if the wizard step is completed\n  public isCompleted(index: number): boolean {\n    return this.activeIndex > index;\n  }\n\n  // Determine if the step number should be shown\n  public shownNumber(wizardItem: WizardItemComponent): boolean {\n    return (this.isNumeric && !wizardItem.icon) || (!wizardItem.label && !wizardItem.icon);\n  }\n\n  // Calculate the step number based on the start numbering\n  public stepNumber(index: number): number {\n    return this.startNumbering ? this.startNumbering + index : index + 1;\n  }\n\n  // Calculate the progress value for a wizard item\n  public progressValue(wizardItem: WizardItemComponent, index: number): number {\n    let value: number = MIN_PROGRESS;\n\n    if (wizardItem.progress === undefined) {\n      value = this.isCompleted(index) || wizardItem.isActive ? MAX_PROGRESS : MIN_PROGRESS;\n    } else if (this.isCompleted(index)) {\n      value = MAX_PROGRESS;\n    } else if (wizardItem.isActive) {\n      value = wizardItem.progress;\n    }\n    return value;\n  }\n\n  // Add a wizard item to the list\n  public addWizardItem(wizardItem: WizardItemComponent): void {\n    this.wizardItems.push(wizardItem);\n  }\n\n  // Remove a wizard item from the list\n  public removeWizardItem(wizardItem: WizardItemComponent): void {\n    this.wizardItems = this.wizardItems.filter((item) => item !== wizardItem);\n  }\n\n  // Change the active step to the specified index\n  public changeStep(index: number): void {\n    this.activeIndex = index;\n    this.wizardItemChanged.emit(this.wizardItems[index]);\n  }\n\n  // Set the active wizard item based on the index\n  public setActiveWizardItem(index: number): void {\n    this.wizardItems.forEach((item, itemIndex) => {\n      item.isActive = itemIndex === index;\n    });\n  }\n\n  // Move to the next step\n  public nextStep(): void {\n    this.activeIndex = this.activeIndex + 1;\n\n    if (this.wizardItems[this.activeIndex].disabled) {\n      this.nextStep();\n    }\n  }\n\n  // Move to the previous step\n  public prevStep(): void {\n    this.activeIndex = this.activeIndex - 1;\n\n    if (this.wizardItems[this.activeIndex].disabled) {\n      this.prevStep();\n    }\n  }\n\n  // Validate the active index to ensure it is not negative\n  private validateActiveIndex(index: number): number {\n    return index < 0 ? DEFAULT_ACTIVE_INDEX : index;\n  }\n\n  // Set the i18n texts for accessibility\n  protected setI18nTexts(translation: ITranslation): void {\n    this.ariaLabel = translation.WIZARD.A11Y.ARIA_LABEL;\n    this.cdr.detectChanges();\n  }\n}\n","<div [ngClass]=\"{\n      'dds-wizard_vertical': isVertical,\n      'dds-wizard_compact': isCompact,\n      'dds-wizard_inverse': isInverse\n     }\"\n     [theme]=\"theme\"\n     [ddsTheme]=\"themeConfig\"\n     class=\"dds-wizard {{customClass}}\">\n  <div [attr.aria-label]=\"ariaLabel\"\n       class=\"dds-wizard__header\"\n       role=\"list\">\n\n    @for (wizardItem of wizardItems; track wizardItem; let index = $index) {\n      <button [ngClass]=\"{\n              'dds-wizard__step_completed': isCompleted(index),\n              'dds-wizard__step_active': wizardItem.isActive,\n              'dds-wizard__step_disabled': wizardItem.disabled\n            }\"\n              [disabled]=\"wizardItem.disabled\"\n              [attr.aria-disabled]=\"wizardItem.disabled\"\n              [attr.aria-current]=\"wizardItem.isActive\"\n              ddsFocus\n              role=\"listitem\"\n              class=\"dds-wizard__step\"\n              (click)=\"changeStep(index)\"\n              #wizardBtns>\n        <div class=\"dds-wizard__heading\">\n          @if (wizardItem.icon) {\n            <span class=\"dds-wizard__icon dds-icon {{wizardItem.icon}}\"></span>\n          }\n          @if (shownNumber(wizardItem)) {\n            <span class=\"dds-wizard__number\">{{stepNumber(index) | number: '2.0'}}</span>\n          }\n          @if (wizardItem.label) {\n            <span class=\"dds-wizard__label\">\n              {{wizardItem.label}}\n            </span>\n          }\n        </div>\n        <dds-progress [value]=\"progressValue(wizardItem, index)\"\n                      [theme]=\"theme\"\n                      [isVertical]=\"isVertical\"\n                      [isInverse]=\"isInverse\"\n                      class=\"dds-wizard__progress\"></dds-progress>\n      </button>\n    }\n\n  </div>\n\n  <div class=\"dds-wizard__content\">\n    <ng-content></ng-content>\n  </div>\n</div>","import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnChanges, OnDestroy, OnInit } from '@angular/core';\nimport { WizardComponent } from '../wizard/wizard.component';\n\n@Component({\n  selector: 'dds-wizard-item',\n  templateUrl: './wizard-item.component.html',\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  standalone: true,\n  imports: [],\n})\nexport class WizardItemComponent implements OnInit, OnDestroy, OnChanges {\n  // The label for the wizard item.\n  @Input() label: string | undefined;\n\n  // The icon for the wizard item.\n  @Input() icon: string | undefined;\n\n  // Custom CSS class for the wizard item.\n  @Input() customClass: string | undefined;\n\n  // Progress value for the wizard item.\n  @Input() progress: number | undefined;\n\n  // Indicates whether the wizard item is disabled.\n  @Input() disabled: boolean | undefined;\n\n  // Sets the active state of the wizard item.\n  set isActive(value: boolean) {\n    this._isActive = value;\n    this.cdr.detectChanges();\n  }\n\n  // Gets the active state of the wizard item.\n  get isActive(): boolean {\n    return this._isActive;\n  }\n\n  private _isActive: boolean;\n\n  constructor(public cdr: ChangeDetectorRef, public wizard: WizardComponent) { }\n\n  public ngOnInit(): void {\n    this.wizard.addWizardItem(this);\n  }\n\n  public ngOnChanges(): void {\n    this.wizard.cdr.markForCheck();\n  }\n\n  public ngOnDestroy(): void {\n    this.wizard.removeWizardItem(this);\n  }\n}\n","@if (isActive && !disabled) {\n  <div class=\"dds-wizard__item {{customClass}}\">\n    <ng-content></ng-content>\n  </div>\n}","import { NgModule } from '@angular/core';\nimport { WizardItemComponent } from './wizard-item/wizard-item.component';\nimport { WizardComponent } from './wizard/wizard.component';\n\n@NgModule({\n  declarations: [],\n  imports: [WizardItemComponent, WizardComponent],\n  exports: [WizardItemComponent, WizardComponent],\n})\nexport class WizardModule { }\n","export interface WizardOptions {\n  theme?: WizardThemes | string;\n  customClass?: string;\n  startNumbering?: number;\n  activeIndex?: number;\n  isNumeric?: boolean;\n  isVertical?: boolean;\n  isCompact?: boolean;\n  isInverse?: boolean;\n}\n\nexport interface WizardItemOptions {\n  label?: string;\n  icon?: string;\n  customClass?: string;\n  progress?: number;\n  disabled?: boolean;\n}\n\nexport enum WizardThemes {\n  green = 'green',\n  dark = 'dark',\n  blue = 'blue',\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.WizardComponent"],"mappings":";;;;;;;;;;;;;;;;AAGO,MAAM,oBAAoB,GAAG,CAAC;AAC9B,MAAM,YAA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