<commit_before><template>
  <div
    class="q-stepper-step"
    :style="style"
  >
    <step-tab
      v-if="__stepper.vertical"
      :vm="this"
    ></step-tab>

    <q-slide-transition>
      <div v-if="active" class="q-stepper-step-content">
        <div class="q-stepper-step-inner">
          <slot></slot>
        </div>
      </div>
    </q-slide-transition>
  </div>
</template>

<script>
import { QSlideTransition } from '../slide-transition'
import StepTab from './StepTab.vue'
import uid from '../../utils/uid'

export default {
  name: 'q-step',
  components: {
    QSlideTransition,
    StepTab
  },
  props: {
    name: {
      type: [Number, String],
      default () {
        return uid()
      }
    },
    default: Boolean,
    title: {
      type: String,
      required: true
    },
    subtitle: String,
    icon: String,
    order: [Number, String],
    error: Boolean,
    activeIcon: String,
    errorIcon: String,
    disable: Boolean
  },
  inject: ['__stepper'],
  watch: {
    order () {
      this.__stepper.__sortSteps()
    }
  },
  data () {
    return {
      innerOrder: 0,
      first: false,
      last: false
    }
  },
  computed: {
    stepIcon () {
      const data = this.__stepper

      if (this.active) {
        return this.activeIcon || data.activeIcon
      }
      if (this.error) {
        return this.errorIcon || data.errorIcon
      }
      if (this.done && !this.disable) {
        return this.doneIcon || data.doneIcon
      }
<commit_msg>Bugfix add undeclared prop "doneIcon" (#873)<commit_after><template>
  <div
    class="q-stepper-step"
    :style="style"
  >
    <step-tab
      v-if="__stepper.vertical"
      :vm="this"
    ></step-tab>

    <q-slide-transition>
      <div v-if="active" class="q-stepper-step-content">
        <div class="q-stepper-step-inner">
          <slot></slot>
        </div>
      </div>
    </q-slide-transition>
  </div>
</template>

<script>
import { QSlideTransition } from '../slide-transition'
import StepTab from './StepTab.vue'
import uid from '../../utils/uid'

export default {
  name: 'q-step',
  components: {
    QSlideTransition,
    StepTab
  },
  props: {
    name: {
      type: [Number, String],
      default () {
        return uid()
      }
    },
    default: Boolean,
    title: {
      type: String,
      required: true
    },
    subtitle: String,
    icon: String,
    order: [Number, String],
    error: Boolean,
    activeIcon: String,
    errorIcon: String,
    doneIcon: String,
    disable: Boolean
  },
  inject: ['__stepper'],
  watch: {
    order () {
      this.__stepper.__sortSteps()
    }
  },
  data () {
    return {
      innerOrder: 0,
      first: false,
      last: false
    }
  },
  computed: {
    stepIcon () {
      const data = this.__stepper

      if (this.active) {
        return this.activeIcon || data.activeIcon
      }
      if (this.error) {
        return this.errorIcon || data.errorIcon
      }
      if (this.done && !this.disable) {
        return this.doneIcon || data.doneIcon
      }

{'fraction_non_alphanumeric': 0.15018074268813672, 'fraction_numerical': 0.001643115346697338, 'mean_word_length': 1.9784735812133072, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '3809004', 'n_tokens_mistral': 1026, 'n_tokens_neox': 1015, 'n_words': 215}