From 89bc67680ebc6c4cca2943056bbd43ae66b927f0 Mon Sep 17 00:00:00 2001 From: Khafid Prayoga Date: Fri, 21 Nov 2025 17:00:33 +0700 Subject: [PATCH] mv my-ui form --- app/components/app/patient/entry-form.vue | 5 ++--- app/components/pub/my-ui/form/file-field.vue | 5 +---- app/components/pub/my-ui/form/index.ts | 9 +++++++++ 3 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 app/components/pub/my-ui/form/index.ts diff --git a/app/components/app/patient/entry-form.vue b/app/components/app/patient/entry-form.vue index bd128248..55efeadb 100644 --- a/app/components/app/patient/entry-form.vue +++ b/app/components/app/patient/entry-form.vue @@ -4,9 +4,9 @@ import { toTypedSchema } from '@vee-validate/zod' import { Form } from '~/components/pub/ui/form' // components -import InputBase from '~/components/pub/my-ui/form/input-base.vue' -import FileUpload from '~/components/pub/my-ui/form/file-field.vue' +import * as DE from '~/components/pub/my-ui/doc-entry' +import { InputBase, FileField as FileUpload } from '~/components/pub/my-ui/form' import { SelectBirthPlace } from '~/components/app/person/fields' import { InputName, @@ -24,7 +24,6 @@ import { SelectMaritalStatus, SelectReligion, } from './fields' -import * as DE from '~/components/pub/my-ui/doc-entry' const props = defineProps<{ schema: any diff --git a/app/components/pub/my-ui/form/file-field.vue b/app/components/pub/my-ui/form/file-field.vue index 31885a6f..332d2e88 100644 --- a/app/components/pub/my-ui/form/file-field.vue +++ b/app/components/pub/my-ui/form/file-field.vue @@ -1,8 +1,5 @@