chore: cleanup

This commit is contained in:
Bereket Engida
2025-01-06 14:30:39 +03:00
parent 753f930e88
commit 9f2e45b8c7
525 changed files with 218 additions and 1357 deletions

View File

@@ -1,23 +1,9 @@
<script setup lang="ts" generic="T extends ZodRawShape">
import type { ZodAny, ZodObject, ZodRawShape } from "zod";
import type { ZodAny, ZodObject } from "zod";
import { computed, provide } from "vue";
import { FieldContextKey, useField } from "vee-validate";
import AutoFormField from "./AutoFormField.vue";
import type { Config, ConfigItem, Shape } from "./interface";
import {
beautifyObjectName,
getBaseSchema,
getBaseType,
getDefaultValueInZodStack,
} from "./utils";
import AutoFormLabel from "./AutoFormLabel.vue";
import {
Accordion,
AccordionContent,
AccordionItem,
AccordionTrigger,
} from "@/components/ui/accordion";
import { FormItem } from "@/components/ui/form";
import type { Config, Shape } from "./interface";
import { getBaseSchema, getBaseType, getDefaultValueInZodStack } from "./utils";
const props = defineProps<{
fieldName: string;