<script setup lang="ts">
import { DIALOG_WIDTH } from "../../../constants/ui";

const visible = defineModel<boolean>({ required: true });
const ocrRawDialogText = defineModel<string>("ocrRawDialogText", { required: true });

defineProps<{
  ocrRawDialogTitle: string;
}>();
</script>

<template>
  <el-dialog v-model="visible" :title="ocrRawDialogTitle" :width="DIALOG_WIDTH.lg" :close-on-click-modal="false">
    <el-input v-model="ocrRawDialogText" type="textarea" :rows="22" readonly />
  </el-dialog>
</template>
