<template>
  <form-file
    v-model="dataStore.panelData.file"
    elclass="panel-documents-item"
    :invalidText="validationStore.panelInvalidText.file"
    fileType="img"/>
  <form-checkbox
    :listData="kapakResim"
    listText="label"
    listVal="val"
    v-model="dataStore.panelData.isKapak"
    :invalidText="validationStore.panelInvalidText.isKapak" />
</template>
<script setup lang="ts">
  import { ref } from 'vue'
  import { useDataStore } from '@/stores/dataStore'
  const dataStore = useDataStore()
  import { useValidationStore } from '@/stores/validationStore'
  const validationStore = useValidationStore()

  const kapakResim = ref([
    {
      label: 'Site Kapak Resmi',
      val: 'uyelik'
    }
  ])
</script>
