<commit_before>import { Component, OnInit } from '@angular/core';
import {
  FormBuilder,
  FormControl,
  FormGroup,
  Validators,
} from '@angular/forms';
import { SkyModalInstance } from '@skyux/modals';

@Component({
  selector: 'app-wizard-demo-modal',
  templateUrl: './wizard-demo-modal.component.html',
})
export class WizardDemoModalComponent implements OnInit {
  constructor(
    public instance: SkyModalInstance,
    private formBuilder: FormBuilder
  ) {}

  public newMemberForm: FormGroup;
  public title = 'New Member Sign-up';
  public activeIndex = 0;
  public step2Disabled = true;
  public step3Disabled = true;
  public saveDisabled = true;

  public firstName: FormControl;
  public middleName: FormControl;
  public lastName: FormControl;
  public phoneNumber: FormControl;
  public email: FormControl;
  public termsAccepted: FormControl;
  public mailingList: FormControl;

  public ngOnInit(): void {
    this.firstName = new FormControl('', Validators.required);
    this.middleName = new FormControl();<commit_msg>docs(apps/code-examples): add SkyTabIndex type to wizard demo (#416)<commit_after>import { Component, OnInit } from '@angular/core';
import {
  FormBuilder,
  FormControl,
  FormGroup,
  Validators,
} from '@angular/forms';
import { SkyModalInstance } from '@skyux/modals';
import { SkyTabIndex } from '@skyux/tabs';

@Component({
  selector: 'app-wizard-demo-modal',
  templateUrl: './wizard-demo-modal.component.html',
})
export class WizardDemoModalComponent implements OnInit {
  constructor(
    public instance: SkyModalInstance,
    private formBuilder: FormBuilder
  ) {}

  public newMemberForm: FormGroup;
  public title = 'New Member Sign-up';
  public activeIndex: SkyTabIndex = 0;
  public step2Disabled = true;
  public step3Disabled = true;
  public saveDisabled = true;

  public firstName: FormControl;
  public middleName: FormControl;
  public lastName: FormControl;
  public phoneNumber: FormControl;
  public email: FormControl;
  public termsAccepted: FormControl;
  public mailingList: FormControl;

  public ngOnInit(): void {
    this.firstName = new FormControl('', Validators.required);
    this.middleName = new FormControl();
{'fraction_non_alphanumeric': 0.10377787892580792, 'fraction_numerical': 0.004096495220755576, 'mean_word_length': 4.78421052631579, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5329916', 'n_tokens_mistral': 647, 'n_tokens_neox': 627, 'n_words': 179}