refactor: project structure (1)

This commit is contained in:
Methapon Metanipat 2024-10-30 09:34:46 +07:00
parent 725edad3e1
commit 7ea8a618fa
12 changed files with 23 additions and 48 deletions

View file

@ -1,23 +0,0 @@
<script setup lang="ts">
defineProps<{
label: string;
color?: string;
}>();
</script>
<template>
<div
class="q-pl-md q-pr-sm row items-center justify-between rounded hover-item"
:style="`border:1px solid ${color};color:${color}`"
@click.stop="$emit('viewDetail')"
>
{{ $t(label) }}
<q-icon name="mdi-arrow-right" class="q-ml-md" />
</div>
</template>
<style scoped>
.hover-item:hover {
background-color: var(--surface-3);
}
</style>

View file

@ -1,6 +1,5 @@
export { default as AddButton } from './AddButton.vue';
export { default as AllAroundBtn } from './AllAroundBtn.vue';
export { default as ButtonAddCompoent } from './ButtonAddCompoent.vue';
export { default as FloatingActionButton } from './FloatingActionButton.vue';
export { default as CanvasComponent } from './CanvasComponent.vue';
export { default as DialogForm } from './DialogForm.vue';
export { default as DrawerInfo } from './DrawerInfo.vue';
@ -15,6 +14,5 @@ export { default as ProfileBanner } from './ProfileBanner.vue';
export { default as ProfileUpload } from './ProfileUpload.vue';
export { default as SideMenu } from './SideMenu.vue';
export { default as StatCardComponent } from './StatCardComponent.vue';
export { default as TabComponent } from './TabComponent.vue';
export { default as TooltipComponent } from './TooltipComponent.vue';
export { default as TreeComponent } from './TreeComponent.vue';

View file

@ -4,4 +4,4 @@ export { default as FormCitizen } from './FormCitizen.vue';
export { default as FormTm6 } from './FormTm6.vue';
export { default as CorpFormBusinessRegistration } from './CorpFormBusinessRegistration.vue';
export { default as PersFormBusinessRegistration } from './PersFormBusinessRegistration.vue';
export { default as noticeJobEmployment } from './noticeJobEmployment.vue';
export { default as NoticeJobEmployment } from './NoticeJobEmployment.vue';