feat(division): fix schemas

This commit is contained in:
riefive
2025-09-30 11:37:44 +07:00
parent 18eaef2e37
commit 9e4133b976
10 changed files with 456 additions and 130 deletions

No files matched your search

+6 -3
View File
@@ -1,13 +1,16 @@
<script setup lang="ts">
import type z from 'zod'
import { useForm } from 'vee-validate'
import { toTypedSchema } from '@vee-validate/zod'
// Components
import Block from '~/components/pub/custom-ui/doc-entry/block.vue'
import Cell from '~/components/pub/custom-ui/doc-entry/cell.vue'
import Field from '~/components/pub/custom-ui/doc-entry/field.vue'
import Label from '~/components/pub/custom-ui/doc-entry/label.vue'
import Button from '~/components/pub/ui/button/Button.vue'
// Helpers
import type z from 'zod'
import { useForm } from 'vee-validate'
import { toTypedSchema } from '@vee-validate/zod'
interface Props {
schema?: z.ZodSchema<any>
values?: any