{"version":3,"file":"tableau-ui-angular-stepper.mjs","sources":["../../../projects/component-library/stepper/src/step/step.component.ts","../../../projects/component-library/stepper/src/step/step.component.html","../../../projects/component-library/stepper/src/stepper/stepper.component.ts","../../../projects/component-library/stepper/src/stepper/stepper.component.html","../../../projects/component-library/stepper/src/tableau-ui-stepper.module.ts","../../../projects/component-library/stepper/src/tableau-ui-angular-stepper.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\n\n@Component({\n  selector: 'tab-step',\n  standalone: false,\n  templateUrl: './step.component.html',\n  styleUrl: './step.component.scss',\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class StepComponent {}\n","<p>step works!</p>\n","import { ChangeDetectionStrategy, Component, input, model, output } from '@angular/core';\nimport type { StepComponent } from '../step/step.component';\n\n@Component({\n  selector: 'tab-stepper',\n  standalone: false,\n  templateUrl: './stepper.component.html',\n  styleUrl: './stepper.component.scss',\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class StepperComponent {\n  /**\n   * The orientation of the stepper.\n   * @default 'horizontal'\n   */\n  readonly $orientation = input<'horizontal' | 'vertical'>('horizontal', {\n    alias: 'orientation',\n  });\n\n  /**\n   * Whether the validity of a step needs to be checked before moving to the next step.\n   * If set to true, the stepper will not allow moving to the next step until the current step is valid.\n   * @default false\n   */\n  readonly $linear = input<boolean>(false, {\n    alias: 'linear',\n  });\n\n  /**\n   * The index of the currently selected step.\n   * This is used to control the active step in the stepper.\n   * When it's -1, it selects the first navigable step.\n   * Allows for two way data binding.\n   * @default -1 (no step selected)\n   */\n  readonly $selectedIndex = model<number>(-1, {\n    alias: 'selectedIndex',\n  });\n\n  /**\n   * The anumation duration in milliseconds for the stepper transitions.\n   * @default 300\n   */\n  readonly $animationDuration = input<number>(300, {\n    alias: 'animationDuration',\n  });\n\n  /**\n   * The position of the stepper label. relative to the stepper icon.\n   * Only applicable when the stepper is horizontal.\n   * @default 'right'\n   */\n  readonly $labelPosition = input<'right' | 'bottom'>('right', {\n    alias: 'labelPosition',\n  });\n\n  /**\n   * Event emitted when the selected step changes.\n   */\n  readonly selectedStepChanged = output<StepComponent>();\n}\n","<p>stepper works!</p>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { TableauUiIconModule } from 'tableau-ui-angular/icon';\nimport { TableauUiUtilsModule } from 'tableau-ui-angular/utils';\nimport { StepperComponent } from './stepper/stepper.component';\nimport { StepComponent } from './step/step.component';\n\n@NgModule({\n  imports: [CommonModule, TableauUiIconModule, TableauUiUtilsModule],\n  declarations: [StepperComponent, StepComponent],\n  exports: [StepperComponent, StepComponent],\n})\nexport class TableauUiStepperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MASa,aAAa,CAAA;uGAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAb,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,aAAa,qECT1B,sBACA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FDQa,aAAa,EAAA,UAAA,EAAA,CAAA;kBAPzB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,UAAU,EACR,UAAA,EAAA,KAAK,EAGA,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,sBAAA,EAAA;;;MEGpC,gBAAgB,CAAA;AAC3B;;;AAGG;AACM,IAAA,YAAY,GAAG,KAAK,CAA4B,YAAY,EAAE;AACrE,QAAA,KAAK,EAAE,aAAa;AACrB,KAAA,CAAC;AAEF;;;;AAIG;AACM,IAAA,OAAO,GAAG,KAAK,CAAU,KAAK,EAAE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