<script setup lang="ts">
import SharedWorkReportDetailDialog from '../../shared/components/detail-dialog.vue';
import type { WorkReportRow } from '../../shared/types';

defineOptions({ name: 'ProjectReportDetailPage' });

const visible = defineModel<boolean>('visible', { default: false });

defineProps<{
  rowData?: WorkReportRow | null;
}>();
</script>

<template>
  <SharedWorkReportDetailDialog v-model:visible="visible" report-type="project" :row-data="rowData" />
</template>
