<script setup lang="ts">
import { ref } from "vue";

/** importComponents*/
import OtherInformation from "@/modules/04_registryNew/components/detail/Other/01_OtherInformation.vue";
import Documentipline from "@/modules/04_registryNew/components/detail/Other/02_Document.vue";

const tab = ref<string>("1");
</script>
<template>
  <div class="row items-center q-my-md">
    <div class="text-dark row items-center q-px-md">
      <q-icon name="mdi-account" class="q-mr-md" size="22px" />
      <div class="text-subtitle1 text-weight-bold">เอกสารหลักฐานและอื่นๆ</div>
    </div>
  </div>

  <q-separator />
  <q-tabs
    v-model="tab"
    active-color="blue-8"
    align="left"
    bordered
    narrow-indicator
    indicator-color="transparent"
    dense
    class="text-grey q-pl-sm"
  >
    <q-tab name="1" label="ข้อมูลอื่นๆ" />
    <q-tab name="2" label="เอกสารหลักฐาน" />
  </q-tabs>
  <q-separator />

  <q-tab-panels v-model="tab" animated>
    <q-tab-panel name="1">
      <OtherInformation />
    </q-tab-panel>
    <q-tab-panel name="2">
      <Documentipline />
    </q-tab-panel>
  </q-tab-panels>
</template>

<style scoped></style>
