<!-- eslint-disable vue/no-v-html -->
<template>
  <div class="fill-preview">
    <div class="stem">
      <span class="question-number">{{ data.property.question_number }}.</span>
      <span v-html="sanitizeHTML(data.stem)"></span>
    </div>
    <div v-if="data.property.is_enable_description" class="description">{{ data.description }}</div>
    <AudioPlay
      v-if="data.property.is_enable_listening && data.file_id_list.length > 0"
      :file-id="data.file_id_list[0]"
    />
    <div>{{ data.model_essay }}</div>
  </div>
</template>

<script>
import PreviewMixin from './components/PreviewMixin';

export default {
  name: 'FillPreview',
  mixins: [PreviewMixin],
  data() {
    return {};
  },
  methods: {},
};
</script>

<style lang="scss" scoped>
@use '@/styles/mixin.scss' as *;

.fill-preview {
  @include preview;
}
</style>
