<template>
  <form-input
    v-model="piyangoDocumentStore.piyangoDocumentForm.dokumanAdi"
    label="Dosya Başlığı"
    modelKey="dokumanAdi"
    minlength="2"
    :invalidText="piyangoDocumentValidationStore.invalidTexts.dokumanAdi" />
  <form-file
    v-model="piyangoDocumentStore.piyangoDocumentForm.dosya"
    elclass="panel-documents-item"
    :invalidText="piyangoDocumentValidationStore.invalidTexts.dosya" />
</template>
<script setup lang="ts">
  import { useValidationStore } from '@/stores/validationStore'
  const validationStore = useValidationStore()
  import { usePiyangoDocumentStore } from '../../stores/piyangoDocumentStore'
  const piyangoDocumentStore = usePiyangoDocumentStore()
  import { usePiyangoDocumentValidationStore } from '../../validation/piyangoDocumentValidationStore'
  const piyangoDocumentValidationStore = usePiyangoDocumentValidationStore()
</script>
