import Component from '../../component.js'
import CoUxWizardStepsStep from './ux-wizard-steps-step.js'
import CoUxWizardStep from './ux-wizard-step.js'

export default class CoUxWizardSteps extends Component {

  constructor(parent) {
    let selector = 'ux-wizard-steps';
    super(parent, selector);
    //https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui/browse/packages/components/src/lib/ux-components/ux-wizard-step/ux-wizard-steps.component.ts
  }
  get dataE2E()  {
    let path = '//div[@data-e2e = "ux-wizard-steps"]';
    return this.currentPath + path;
  }
  get wizardStepsStepCO() {
    return new CoUxWizardStepsStep(this.dataE2E);
  }
  wizardStepsStepByIndex(index) {
    return this.wizardStepsStepCO.byIndex(index);
  }
  get content() {
    let path = '//div[contains(@class, "step-content")]';
    return this.currentPath + path;
  }
  get wizardStepCO() {
    return new CoUxWizardStep(this.currentPath);
  }
  wizardStepByIndex(index) {
    return this.wizardStepCO.byIndex(index);
  }
}


