mv my-ui form
This commit is contained in:
No files matched your search
@@ -4,9 +4,9 @@ import { toTypedSchema } from '@vee-validate/zod'
|
|||||||
import { Form } from '~/components/pub/ui/form'
|
import { Form } from '~/components/pub/ui/form'
|
||||||
|
|
||||||
// components
|
// components
|
||||||
import InputBase from '~/components/pub/my-ui/form/input-base.vue'
|
import * as DE from '~/components/pub/my-ui/doc-entry'
|
||||||
import FileUpload from '~/components/pub/my-ui/form/file-field.vue'
|
|
||||||
|
|
||||||
|
import { InputBase, FileField as FileUpload } from '~/components/pub/my-ui/form'
|
||||||
import { SelectBirthPlace } from '~/components/app/person/fields'
|
import { SelectBirthPlace } from '~/components/app/person/fields'
|
||||||
import {
|
import {
|
||||||
InputName,
|
InputName,
|
||||||
@@ -24,7 +24,6 @@ import {
|
|||||||
SelectMaritalStatus,
|
SelectMaritalStatus,
|
||||||
SelectReligion,
|
SelectReligion,
|
||||||
} from './fields'
|
} from './fields'
|
||||||
import * as DE from '~/components/pub/my-ui/doc-entry'
|
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
schema: any
|
schema: any
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { FormErrors } from '~/types/error'
|
import type { FormErrors } from '~/types/error'
|
||||||
import FieldGroup from '~/components/pub/my-ui/form/field-group.vue'
|
|
||||||
import Field from '~/components/pub/my-ui/form/field.vue'
|
|
||||||
import Label from '~/components/pub/my-ui/form/label.vue'
|
|
||||||
import { Input } from '~/components/pub/ui/input'
|
import { Input } from '~/components/pub/ui/input'
|
||||||
import { cn } from '~/lib/utils'
|
import { cn } from '~/lib/utils'
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
export { default as Block } from './block.vue'
|
||||||
|
export { default as FieldGroup } from './field-group.vue'
|
||||||
|
export { default as Field } from './field.vue'
|
||||||
|
export { default as FileField } from './file-field.vue'
|
||||||
|
export { default as InputBase } from './input-base.vue'
|
||||||
|
export { default as Label } from './label.vue'
|
||||||
|
export { default as Select } from './select.vue'
|
||||||
|
export { default as TextAreaInput } from './text-area-input.vue'
|
||||||
|
export { default as TextCaptcha } from './text-captcha.vue'
|
||||||
Reference in New Issue
Block a user