<script setup lang="ts">import PageLayout from '../layouts/PageLayout.vue'; import FormPageLayout from '../layouts/FormPageLayout.vue'; defineProps<{ title: string; subtitle?: string; status?: string; version?: string }>(); defineEmits<{ submit: [] }>()</script>
<template><PageLayout v-bind="$props"><template #actions><slot name="actions" /></template><FormPageLayout @submit="$emit('submit')"><slot /><template #preview><slot name="preview" /></template></FormPageLayout><template #footer><slot name="footer" /></template></PageLayout></template>
