diff --git a/components.d.ts b/components.d.ts index a55febc..57ec093 100644 --- a/components.d.ts +++ b/components.d.ts @@ -9,10 +9,12 @@ declare module 'vue' { AppLogoText: typeof import('./src/components/icons/AppLogoText.vue')['default'] AppLogoV: typeof import('./src/components/icons/AppLogoV.vue')['default'] BellIcon: typeof import('./src/components/icons/BellIcon.vue')['default'] + CarbonDicomOverlay: typeof import('~icons/carbon/dicom-overlay')['default'] CarbonEdit: typeof import('~icons/carbon/edit')['default'] CarbonErase: typeof import('~icons/carbon/erase')['default'] CarbonHome: typeof import('~icons/carbon/home')['default'] CarbonLanguage: typeof import('~icons/carbon/language')['default'] + CarbonWarning: typeof import('~icons/carbon/warning')['default'] CheckInput: typeof import('./src/components/forms/CheckInput.vue')['default'] ChevronDoubleRight: typeof import('./src/components/icons/ChevronDoubleRight.vue')['default'] CloseIcon: typeof import('./src/components/icons/CloseIcon.vue')['default'] diff --git a/src/components/InputValue.vue b/src/components/InputValue.vue index c24a64f..370d0d1 100644 --- a/src/components/InputValue.vue +++ b/src/components/InputValue.vue @@ -81,7 +81,7 @@ import { PropType } from 'vue' import TextInput from './forms/TextInput.vue' import CheckInput from './forms/CheckInput.vue' import { InputValueOption,InputValidateOption,InputValueModeOption} from '~/typs/inputs' -import { generate_value } from '~/hooks/utils' +import { generate_value } from '~/hooks/tools' const emit = defineEmits(['inputChange','inputAdd','inputDelete']) const t = useI18n().t @@ -172,4 +172,4 @@ const onAddItem= () => { } onBeforeMount(async() => { }) - \ No newline at end of file + diff --git a/src/components/forms/DataInput.vue b/src/components/forms/DataInput.vue index 2afad9b..b49d17f 100644 --- a/src/components/forms/DataInput.vue +++ b/src/components/forms/DataInput.vue @@ -80,7 +80,7 @@ import { PropType } from 'vue' import { useI18n } from 'vue-i18n' import InputValue from '@/InputValue.vue' import { InputValueOption, InputValidateOption,VarsDataType} from '~/typs/inputs' -import { generate_value,email_info } from '~/hooks/utils' +import { generate_value,email_info } from '~/hooks/tools' const emit = defineEmits(['inputChange','inputModelAdd','inputModelDelete']) const t = useI18n().t @@ -179,4 +179,4 @@ const onEmailItem= (id: string) => { email_info(props.varname,props.vardef,ky,targetData[ky],t(props.title,props.varname)) }) } - \ No newline at end of file + diff --git a/src/components/forms/TextInput.vue b/src/components/forms/TextInput.vue index 545cd35..f647702 100644 --- a/src/components/forms/TextInput.vue +++ b/src/components/forms/TextInput.vue @@ -66,7 +66,8 @@ import { useI18n } from 'vue-i18n' const { t } = useI18n() import { MessageType} from '~/typs' import { InputValueOption,InputValidateOption,InputValueModeOption} from '~/typs/inputs' -import { show_message,generate_value} from '~/hooks/utils' +import { show_message } from '~/hooks/utils' +import { generate_value} from '~/hooks/tools' import { input_validate } from '~/hooks/validation' const emit = defineEmits(['inputChange']) const props = defineProps({ @@ -141,4 +142,4 @@ const onInputChange = (ev: any) => { show_message(MessageType.Error, `${t(props.title,props.varname)} not valid`,5000) } } - \ No newline at end of file +