From 001dffaacb452ea8fc63598eb170670f29045415 Mon Sep 17 00:00:00 2001 From: Munawwirul Jamal Date: Mon, 29 Sep 2025 10:13:05 +0700 Subject: [PATCH] dev: hotfix, build error on importing form --- app/components/app/divison/entry-form.vue | 1 + .../app/installation/entry-form.vue | 1 + .../app/person-address/entry-form.vue | 1 + .../app/person-contact/entry-form.vue | 1 + .../app/person-relative/entry-form.vue | 1 + app/components/app/person/entry-form.vue | 1 + .../app/specialist-intern/entry-form.vue | 1 + app/components/app/specialist/entry-form.vue | 1 + .../app/subspecialist/entry-form.vue | 1 + app/components/app/unit/entry-form.vue | 1 + app/components/content/encounter/list.vue | 19 +++++++++---------- app/components/content/satusehat/list.vue | 1 + .../(features)/rehab/registration/add.vue | 4 ++-- 13 files changed, 22 insertions(+), 12 deletions(-) diff --git a/app/components/app/divison/entry-form.vue b/app/components/app/divison/entry-form.vue index 7f21d90a..864e0cea 100644 --- a/app/components/app/divison/entry-form.vue +++ b/app/components/app/divison/entry-form.vue @@ -7,6 +7,7 @@ import Combobox from '~/components/pub/custom-ui/form/combobox.vue' import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue' import Field from '~/components/pub/custom-ui/form/field.vue' import Label from '~/components/pub/custom-ui/form/label.vue' +import { Form } from '~/components/pub/ui/form' interface DivisionFormData { name: string diff --git a/app/components/app/installation/entry-form.vue b/app/components/app/installation/entry-form.vue index 0b3a0049..8272fc27 100644 --- a/app/components/app/installation/entry-form.vue +++ b/app/components/app/installation/entry-form.vue @@ -5,6 +5,7 @@ import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue' import Field from '~/components/pub/custom-ui/form/field.vue' import Label from '~/components/pub/custom-ui/form/label.vue' import Select from '~/components/pub/custom-ui/form/select.vue' +import { Form } from '~/components/pub/ui/form' interface InstallationFormData { name: string diff --git a/app/components/app/person-address/entry-form.vue b/app/components/app/person-address/entry-form.vue index 3160ea82..88cbed61 100644 --- a/app/components/app/person-address/entry-form.vue +++ b/app/components/app/person-address/entry-form.vue @@ -8,6 +8,7 @@ import Field from '~/components/pub/custom-ui/form/field.vue' import Label from '~/components/pub/custom-ui/form/label.vue' import { educationCodes, genderCodes, occupationCodes, religionCodes } from '~/lib/constants' import { mapToComboboxOptList } from '~/lib/utils' +import { Form } from '~/components/pub/ui/form' interface DivisionFormData { name: string diff --git a/app/components/app/person-contact/entry-form.vue b/app/components/app/person-contact/entry-form.vue index a5a4d58c..9b15c534 100644 --- a/app/components/app/person-contact/entry-form.vue +++ b/app/components/app/person-contact/entry-form.vue @@ -8,6 +8,7 @@ import Field from '~/components/pub/custom-ui/form/field.vue' import Label from '~/components/pub/custom-ui/form/label.vue' import { educationCodes, genderCodes, occupationCodes, religionCodes } from '~/lib/constants' import { mapToComboboxOptList } from '~/lib/utils' +import { Form } from '~/components/pub/ui/form' interface DivisionFormData { name: string diff --git a/app/components/app/person-relative/entry-form.vue b/app/components/app/person-relative/entry-form.vue index fc961520..37e6bcdc 100644 --- a/app/components/app/person-relative/entry-form.vue +++ b/app/components/app/person-relative/entry-form.vue @@ -8,6 +8,7 @@ import Field from '~/components/pub/custom-ui/form/field.vue' import Label from '~/components/pub/custom-ui/form/label.vue' import { educationCodes, genderCodes, occupationCodes, religionCodes, relationshipCodes } from '~/lib/constants' import { mapToComboboxOptList } from '~/lib/utils' +import { Form } from '~/components/pub/ui/form' interface DivisionFormData { name: string diff --git a/app/components/app/person/entry-form.vue b/app/components/app/person/entry-form.vue index ee365b7b..e5d527a9 100644 --- a/app/components/app/person/entry-form.vue +++ b/app/components/app/person/entry-form.vue @@ -8,6 +8,7 @@ import Field from '~/components/pub/custom-ui/form/field.vue' import Label from '~/components/pub/custom-ui/form/label.vue' import { educationCodes, genderCodes, occupationCodes, religionCodes } from '~/lib/constants' import { mapToComboboxOptList } from '~/lib/utils' +import { Form } from '~/components/pub/ui/form' interface DivisionFormData { name: string diff --git a/app/components/app/specialist-intern/entry-form.vue b/app/components/app/specialist-intern/entry-form.vue index 632e415c..e91346f8 100644 --- a/app/components/app/specialist-intern/entry-form.vue +++ b/app/components/app/specialist-intern/entry-form.vue @@ -8,6 +8,7 @@ import Field from '~/components/pub/custom-ui/form/field.vue' import Label from '~/components/pub/custom-ui/form/label.vue' import { educationCodes, genderCodes, occupationCodes, religionCodes, relationshipCodes } from '~/lib/constants' import { mapToComboboxOptList } from '~/lib/utils' +import { Form } from '~/components/pub/ui/form' interface DivisionFormData { name: string diff --git a/app/components/app/specialist/entry-form.vue b/app/components/app/specialist/entry-form.vue index 2dbfffc1..f9044f0e 100644 --- a/app/components/app/specialist/entry-form.vue +++ b/app/components/app/specialist/entry-form.vue @@ -5,6 +5,7 @@ import Combobox from '~/components/pub/custom-ui/form/combobox.vue' import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue' import Field from '~/components/pub/custom-ui/form/field.vue' import Label from '~/components/pub/custom-ui/form/label.vue' +import { Form } from '~/components/pub/ui/form' interface SpecialistFormData { name: string diff --git a/app/components/app/subspecialist/entry-form.vue b/app/components/app/subspecialist/entry-form.vue index 9d31fd3f..f5115504 100644 --- a/app/components/app/subspecialist/entry-form.vue +++ b/app/components/app/subspecialist/entry-form.vue @@ -5,6 +5,7 @@ import Combobox from '~/components/pub/custom-ui/form/combobox.vue' import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue' import Field from '~/components/pub/custom-ui/form/field.vue' import Label from '~/components/pub/custom-ui/form/label.vue' +import { Form } from '~/components/pub/ui/form' interface SubSpecialistFormData { name: string diff --git a/app/components/app/unit/entry-form.vue b/app/components/app/unit/entry-form.vue index 463a6683..ae710a2b 100644 --- a/app/components/app/unit/entry-form.vue +++ b/app/components/app/unit/entry-form.vue @@ -5,6 +5,7 @@ import Combobox from '~/components/pub/custom-ui/form/combobox.vue' import FieldGroup from '~/components/pub/custom-ui/form/field-group.vue' import Field from '~/components/pub/custom-ui/form/field.vue' import Label from '~/components/pub/custom-ui/form/label.vue' +import { Form } from '~/components/pub/ui/form' interface UnitFormData { name: string diff --git a/app/components/content/encounter/list.vue b/app/components/content/encounter/list.vue index 33ed1483..23e8c00f 100644 --- a/app/components/content/encounter/list.vue +++ b/app/components/content/encounter/list.vue @@ -96,15 +96,14 @@ provide('table_data_loader', isLoading) diff --git a/app/components/content/satusehat/list.vue b/app/components/content/satusehat/list.vue index ab0bf8c2..742fb8bc 100644 --- a/app/components/content/satusehat/list.vue +++ b/app/components/content/satusehat/list.vue @@ -4,6 +4,7 @@ import { useUrlSearchParams } from '@vueuse/core' import Header from '~/components/pub/custom-ui/nav-header/header.vue' import { actions, headerPrep, refSearchNav, service, summaryData, tabs } from './const' import { defaultQuery, querySchema, tabSwitcher } from './schema.query' +import { Form } from '~/components/pub/ui/form' // State management const data = ref([]) diff --git a/app/pages/(features)/rehab/registration/add.vue b/app/pages/(features)/rehab/registration/add.vue index d316351e..1ef3e3fa 100644 --- a/app/pages/(features)/rehab/registration/add.vue +++ b/app/pages/(features)/rehab/registration/add.vue @@ -34,8 +34,8 @@ const canCreate = hasCreateAccess(roleAccess)