| 1 | <template> |
| 2 | <div class="page flex flex-col pb-0!"> |
| 3 | <n-tabs v-model:value="activeTab" type="segment" animated tab-class="px-5!" class="[&_.n-tabs-nav]:mx-auto"> |
| 4 | <n-tab-pane name="overview" tab="Overview" display-directive="show:lazy"> |
| 5 | <TalonOverview /> |
| 6 | </n-tab-pane> |
| 7 | <n-tab-pane name="talon" tab="Talon Chat" display-directive="show:lazy"> |
| 8 | <TalonChat class="h-fixed" /> |
| 9 | </n-tab-pane> |
| 10 | <n-tab-pane name="reports" tab="Reports" display-directive="show:lazy"> |
| 11 | <AlertsReportsList /> |
| 12 | </n-tab-pane> |
| 13 | <n-tab-pane name="feedback" tab="Feedback" display-directive="show:lazy"> |
| 14 | <FeedbackDashboard class="pt-8" /> |
| 15 | </n-tab-pane> |
| 16 | </n-tabs> |
| 17 | </div> |
| 18 | </template> |
| 19 | |
| 20 | <script setup lang="ts"> |
| 21 | import { NTabPane, NTabs } from "naive-ui" |
| 22 | import { ref } from "vue" |
| 23 | import AlertsReportsList from "@/components/aiAnalyst/AlertsReportsList.vue" |
| 24 | import FeedbackDashboard from "@/components/aiAnalyst/Feedback/FeedbackDashboard.vue" |
| 25 | import TalonOverview from "@/components/aiAnalyst/TalonOverview.vue" |
| 26 | import TalonChat from "@/components/talonChat/TalonChatContainer.vue" |
| 27 | |
| 28 | const activeTab = ref("overview") |
| 29 | </script> |
| 30 | |
| 31 | <style lang="scss"> |
| 32 | .h-fixed { |
| 33 | height: calc(100svh - var(--toolbar-height) - var(--view-padding) - 70px); |
| 34 | } |
| 35 | </style> |