| | |
| | | <script setup lang="ts"> |
| | | import type { SupportedLanguagesType } from '..\..\..\..\..\locales\src'; |
| | | import type { CustomPreferencesRecord } from '..\..\..\..\..\preferences\src'; |
| | | import type { SupportedLanguagesType } from '../../../../../locales/src'; |
| | | import type { CustomPreferencesRecord } from '../../../../../preferences/src'; |
| | | import type { |
| | | BreadcrumbStyleType, |
| | | BuiltinThemeType, |
| | |
| | | NavigationStyleType, |
| | | PreferencesButtonPositionType, |
| | | ThemeModeType, |
| | | } from '..\..\..\..\..\types\src'; |
| | | } from '../../../../../types/src'; |
| | | |
| | | import type { SegmentedItem } from '..\..\..\..\..\@core\ui-kit\shadcn-ui\src'; |
| | | import type { SegmentedItem } from '../../../../../@core/ui-kit/shadcn-ui/src'; |
| | | |
| | | import { computed, ref } from 'vue'; |
| | | |
| | | import { Copy, Pin, PinOff, RotateCw } from '..\..\..\..\..\icons\src'; |
| | | import { $t, loadLocaleMessages } from '..\..\..\..\..\locales\src'; |
| | | import { Copy, Pin, PinOff, RotateCw } from '../../../../../icons/src'; |
| | | import { $t, loadLocaleMessages } from '../../../../../locales/src'; |
| | | import { |
| | | clearCache, |
| | | preferences, |
| | | resetPreferences, |
| | | updateCustomPreferences, |
| | | usePreferences, |
| | | } from '..\..\..\..\..\preferences\src'; |
| | | } from '../../../../../preferences/src'; |
| | | |
| | | import { useVbenDrawer } from '..\..\..\..\..\@core\ui-kit\popup-ui\src'; |
| | | import { useVbenDrawer } from '../../../../../@core/ui-kit/popup-ui/src'; |
| | | import { |
| | | VbenButton, |
| | | VbenIconButton, |
| | | VbenSegmented, |
| | | } from '..\..\..\..\..\@core\ui-kit\shadcn-ui\src'; |
| | | import { globalShareState } from '..\..\..\..\..\@core\base\shared\src\global-state'; |
| | | } from '../../../../../@core/ui-kit/shadcn-ui/src'; |
| | | import { globalShareState } from '../../../../../@core/base/shared/src/global-state'; |
| | | |
| | | import { useClipboard } from '@vueuse/core'; |
| | | |
| | |
| | | Breadcrumb, |
| | | BuiltinTheme, |
| | | ColorMode, |
| | | Company, |
| | | Content, |
| | | Copyright, |
| | | Custom, |
| | |
| | | label: $t('preferences.general'), |
| | | value: 'general', |
| | | }, |
| | | { |
| | | label: $t('preferences.company.title'), |
| | | value: 'company', |
| | | }, |
| | | ]; |
| | | |
| | | if (showCustomTab.value) { |
| | |
| | | <VbenSegmented |
| | | v-model="activeTab" |
| | | :tabs="tabs" |
| | | scrollable |
| | | :class="{ |
| | | 'sticky-tabs-header': appEnableStickyPreferencesNavigationBar, |
| | | }" |
| | |
| | | v-model:copyright-enable="copyrightEnable" |
| | | v-model:copyright-icp="copyrightIcp" |
| | | v-model:copyright-icp-link="copyrightIcpLink" |
| | | :disabled="!footerEnable" |
| | | /> |
| | | </Block> |
| | | </template> |
| | |
| | | /> |
| | | </Block> |
| | | </template> |
| | | <template #company> |
| | | <Block :title="$t('preferences.company.title')"> |
| | | <Company /> |
| | | </Block> |
| | | </template> |
| | | <template #custom> |
| | | <Block :title="customTabTitle"> |
| | | <Custom |