mirror of
				https://github.com/soybeanjs/soybean-admin.git
				synced 2025-11-04 15:53:43 +08:00 
			
		
		
		
	chore(deps): update deps
This commit is contained in:
		@@ -1,12 +1,12 @@
 | 
				
			|||||||
import process from 'node:process';
 | 
					import process from 'node:process';
 | 
				
			||||||
import path from 'node:path';
 | 
					import path from 'node:path';
 | 
				
			||||||
import type { PluginOption } from 'vite';
 | 
					import type { PluginOption } from 'vite';
 | 
				
			||||||
 | 
					import { createSvgIconsPlugin } from 'vite-plugin-svg-icons';
 | 
				
			||||||
import Icons from 'unplugin-icons/vite';
 | 
					import Icons from 'unplugin-icons/vite';
 | 
				
			||||||
import IconsResolver from 'unplugin-icons/resolver';
 | 
					import IconsResolver from 'unplugin-icons/resolver';
 | 
				
			||||||
import Components from 'unplugin-vue-components/vite';
 | 
					import Components from 'unplugin-vue-components/vite';
 | 
				
			||||||
import { NaiveUiResolver } from 'unplugin-vue-components/resolvers';
 | 
					import { NaiveUiResolver } from 'unplugin-vue-components/resolvers';
 | 
				
			||||||
import { FileSystemIconLoader } from 'unplugin-icons/loaders';
 | 
					import { FileSystemIconLoader } from 'unplugin-icons/loaders';
 | 
				
			||||||
import { createSvgIconsPlugin } from 'vite-plugin-svg-icons';
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
export function setupUnplugin(viteEnv: Env.ImportMeta) {
 | 
					export function setupUnplugin(viteEnv: Env.ImportMeta) {
 | 
				
			||||||
  const { VITE_ICON_PREFIX, VITE_ICON_LOCAL_PREFIX } = viteEnv;
 | 
					  const { VITE_ICON_PREFIX, VITE_ICON_LOCAL_PREFIX } = viteEnv;
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										18
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								package.json
									
									
									
									
									
								
							@@ -54,7 +54,7 @@
 | 
				
			|||||||
    "@sa/hooks": "workspace:*",
 | 
					    "@sa/hooks": "workspace:*",
 | 
				
			||||||
    "@sa/materials": "workspace:*",
 | 
					    "@sa/materials": "workspace:*",
 | 
				
			||||||
    "@sa/utils": "workspace:*",
 | 
					    "@sa/utils": "workspace:*",
 | 
				
			||||||
    "@vueuse/core": "12.8.1",
 | 
					    "@vueuse/core": "13.0.0",
 | 
				
			||||||
    "clipboard": "2.0.11",
 | 
					    "clipboard": "2.0.11",
 | 
				
			||||||
    "dayjs": "1.11.13",
 | 
					    "dayjs": "1.11.13",
 | 
				
			||||||
    "defu": "6.1.4",
 | 
					    "defu": "6.1.4",
 | 
				
			||||||
@@ -66,16 +66,16 @@
 | 
				
			|||||||
    "tailwind-merge": "3.0.2",
 | 
					    "tailwind-merge": "3.0.2",
 | 
				
			||||||
    "vue": "3.5.13",
 | 
					    "vue": "3.5.13",
 | 
				
			||||||
    "vue-draggable-plus": "0.6.0",
 | 
					    "vue-draggable-plus": "0.6.0",
 | 
				
			||||||
    "vue-i18n": "11.1.1",
 | 
					    "vue-i18n": "11.1.2",
 | 
				
			||||||
    "vue-router": "4.5.0"
 | 
					    "vue-router": "4.5.0"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
    "@elegant-router/vue": "0.3.8",
 | 
					    "@elegant-router/vue": "0.3.8",
 | 
				
			||||||
    "@iconify/json": "2.2.313",
 | 
					    "@iconify/json": "2.2.316",
 | 
				
			||||||
    "@sa/scripts": "workspace:*",
 | 
					    "@sa/scripts": "workspace:*",
 | 
				
			||||||
    "@sa/uno-preset": "workspace:*",
 | 
					    "@sa/uno-preset": "workspace:*",
 | 
				
			||||||
    "@soybeanjs/eslint-config": "1.4.4",
 | 
					    "@soybeanjs/eslint-config": "1.6.0",
 | 
				
			||||||
    "@types/node": "22.13.9",
 | 
					    "@types/node": "22.13.10",
 | 
				
			||||||
    "@types/nprogress": "0.2.3",
 | 
					    "@types/nprogress": "0.2.3",
 | 
				
			||||||
    "@unocss/eslint-config": "66.0.0",
 | 
					    "@unocss/eslint-config": "66.0.0",
 | 
				
			||||||
    "@unocss/preset-icons": "66.0.0",
 | 
					    "@unocss/preset-icons": "66.0.0",
 | 
				
			||||||
@@ -85,8 +85,8 @@
 | 
				
			|||||||
    "@unocss/vite": "66.0.0",
 | 
					    "@unocss/vite": "66.0.0",
 | 
				
			||||||
    "@vitejs/plugin-vue": "5.2.1",
 | 
					    "@vitejs/plugin-vue": "5.2.1",
 | 
				
			||||||
    "@vitejs/plugin-vue-jsx": "4.1.1",
 | 
					    "@vitejs/plugin-vue-jsx": "4.1.1",
 | 
				
			||||||
    "eslint": "9.20.0",
 | 
					    "eslint": "9.22.0",
 | 
				
			||||||
    "eslint-plugin-vue": "9.32.0",
 | 
					    "eslint-plugin-vue": "10.0.0",
 | 
				
			||||||
    "lint-staged": "15.4.3",
 | 
					    "lint-staged": "15.4.3",
 | 
				
			||||||
    "sass": "1.85.1",
 | 
					    "sass": "1.85.1",
 | 
				
			||||||
    "simple-git-hooks": "2.11.1",
 | 
					    "simple-git-hooks": "2.11.1",
 | 
				
			||||||
@@ -94,11 +94,11 @@
 | 
				
			|||||||
    "typescript": "5.8.2",
 | 
					    "typescript": "5.8.2",
 | 
				
			||||||
    "unplugin-icons": "22.1.0",
 | 
					    "unplugin-icons": "22.1.0",
 | 
				
			||||||
    "unplugin-vue-components": "28.4.1",
 | 
					    "unplugin-vue-components": "28.4.1",
 | 
				
			||||||
    "vite": "6.2.0",
 | 
					    "vite": "6.2.1",
 | 
				
			||||||
    "vite-plugin-progress": "0.0.7",
 | 
					    "vite-plugin-progress": "0.0.7",
 | 
				
			||||||
    "vite-plugin-svg-icons": "2.0.1",
 | 
					    "vite-plugin-svg-icons": "2.0.1",
 | 
				
			||||||
    "vite-plugin-vue-devtools": "7.7.2",
 | 
					    "vite-plugin-vue-devtools": "7.7.2",
 | 
				
			||||||
    "vue-eslint-parser": "9.4.3",
 | 
					    "vue-eslint-parser": "10.1.1",
 | 
				
			||||||
    "vue-tsc": "2.2.8"
 | 
					    "vue-tsc": "2.2.8"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "simple-git-hooks": {
 | 
					  "simple-git-hooks": {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,6 +15,6 @@
 | 
				
			|||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
    "@alova/mock": "2.0.12",
 | 
					    "@alova/mock": "2.0.12",
 | 
				
			||||||
    "@sa/utils": "workspace:*",
 | 
					    "@sa/utils": "workspace:*",
 | 
				
			||||||
    "alova": "3.2.9"
 | 
					    "alova": "3.2.10"
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -11,7 +11,7 @@
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  "dependencies": {
 | 
					  "dependencies": {
 | 
				
			||||||
    "@sa/utils": "workspace:*",
 | 
					    "@sa/utils": "workspace:*",
 | 
				
			||||||
    "axios": "1.8.1",
 | 
					    "axios": "1.8.3",
 | 
				
			||||||
    "axios-retry": "4.5.0",
 | 
					    "axios-retry": "4.5.0",
 | 
				
			||||||
    "qs": "6.14.0"
 | 
					    "qs": "6.14.0"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,7 +14,7 @@
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
    "@soybeanjs/changelog": "0.3.24",
 | 
					    "@soybeanjs/changelog": "0.3.24",
 | 
				
			||||||
    "bumpp": "10.0.3",
 | 
					    "bumpp": "10.1.0",
 | 
				
			||||||
    "c12": "3.0.2",
 | 
					    "c12": "3.0.2",
 | 
				
			||||||
    "cac": "6.7.14",
 | 
					    "cac": "6.7.14",
 | 
				
			||||||
    "consola": "3.4.0",
 | 
					    "consola": "3.4.0",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,7 +14,7 @@
 | 
				
			|||||||
    "crypto-js": "4.2.0",
 | 
					    "crypto-js": "4.2.0",
 | 
				
			||||||
    "klona": "2.0.6",
 | 
					    "klona": "2.0.6",
 | 
				
			||||||
    "localforage": "1.10.0",
 | 
					    "localforage": "1.10.0",
 | 
				
			||||||
    "nanoid": "5.1.2"
 | 
					    "nanoid": "5.1.3"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
    "@types/crypto-js": "4.2.2"
 | 
					    "@types/crypto-js": "4.2.2"
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1831
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1831
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -1,7 +1,7 @@
 | 
				
			|||||||
<script lang="ts" setup>
 | 
					<script lang="ts" setup>
 | 
				
			||||||
import { computed } from 'vue';
 | 
					import { computed } from 'vue';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					 | 
				
			||||||
import { useRouterPush } from '@/hooks/common/router';
 | 
					import { useRouterPush } from '@/hooks/common/router';
 | 
				
			||||||
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({ name: 'ExceptionBase' });
 | 
					defineOptions({ name: 'ExceptionBase' });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
import { computed } from 'vue';
 | 
					import { computed } from 'vue';
 | 
				
			||||||
import { useCountDown, useLoading } from '@sa/hooks';
 | 
					import { useCountDown, useLoading } from '@sa/hooks';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					 | 
				
			||||||
import { REG_PHONE } from '@/constants/reg';
 | 
					import { REG_PHONE } from '@/constants/reg';
 | 
				
			||||||
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export function useCaptcha() {
 | 
					export function useCaptcha() {
 | 
				
			||||||
  const { loading, startLoading, endLoading } = useLoading();
 | 
					  const { loading, startLoading, endLoading } = useLoading();
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,5 @@
 | 
				
			|||||||
import { computed, effectScope, nextTick, onScopeDispose, ref, watch } from 'vue';
 | 
					import { computed, effectScope, nextTick, onScopeDispose, ref, watch } from 'vue';
 | 
				
			||||||
 | 
					import { useElementSize } from '@vueuse/core';
 | 
				
			||||||
import * as echarts from 'echarts/core';
 | 
					import * as echarts from 'echarts/core';
 | 
				
			||||||
import { BarChart, GaugeChart, LineChart, PictorialBarChart, PieChart, RadarChart, ScatterChart } from 'echarts/charts';
 | 
					import { BarChart, GaugeChart, LineChart, PictorialBarChart, PieChart, RadarChart, ScatterChart } from 'echarts/charts';
 | 
				
			||||||
import type {
 | 
					import type {
 | 
				
			||||||
@@ -29,7 +30,6 @@ import type {
 | 
				
			|||||||
} from 'echarts/components';
 | 
					} from 'echarts/components';
 | 
				
			||||||
import { LabelLayout, UniversalTransition } from 'echarts/features';
 | 
					import { LabelLayout, UniversalTransition } from 'echarts/features';
 | 
				
			||||||
import { CanvasRenderer } from 'echarts/renderers';
 | 
					import { CanvasRenderer } from 'echarts/renderers';
 | 
				
			||||||
import { useElementSize } from '@vueuse/core';
 | 
					 | 
				
			||||||
import { useThemeStore } from '@/store/modules/theme';
 | 
					import { useThemeStore } from '@/store/modules/theme';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export type ECOption = echarts.ComposeOption<
 | 
					export type ECOption = echarts.ComposeOption<
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,8 +1,8 @@
 | 
				
			|||||||
<script setup lang="ts">
 | 
					<script setup lang="ts">
 | 
				
			||||||
import { useFullscreen } from '@vueuse/core';
 | 
					import { useFullscreen } from '@vueuse/core';
 | 
				
			||||||
 | 
					import { GLOBAL_HEADER_MENU_ID } from '@/constants/app';
 | 
				
			||||||
import { useAppStore } from '@/store/modules/app';
 | 
					import { useAppStore } from '@/store/modules/app';
 | 
				
			||||||
import { useThemeStore } from '@/store/modules/theme';
 | 
					import { useThemeStore } from '@/store/modules/theme';
 | 
				
			||||||
import { GLOBAL_HEADER_MENU_ID } from '@/constants/app';
 | 
					 | 
				
			||||||
import GlobalLogo from '../global-logo/index.vue';
 | 
					import GlobalLogo from '../global-logo/index.vue';
 | 
				
			||||||
import GlobalBreadcrumb from '../global-breadcrumb/index.vue';
 | 
					import GlobalBreadcrumb from '../global-breadcrumb/index.vue';
 | 
				
			||||||
import GlobalSearch from '../global-search/index.vue';
 | 
					import GlobalSearch from '../global-search/index.vue';
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,11 +2,11 @@
 | 
				
			|||||||
import { computed, ref, watch } from 'vue';
 | 
					import { computed, ref, watch } from 'vue';
 | 
				
			||||||
import { useRoute } from 'vue-router';
 | 
					import { useRoute } from 'vue-router';
 | 
				
			||||||
import { SimpleScrollbar } from '@sa/materials';
 | 
					import { SimpleScrollbar } from '@sa/materials';
 | 
				
			||||||
 | 
					import { GLOBAL_SIDER_MENU_ID } from '@/constants/app';
 | 
				
			||||||
import { useAppStore } from '@/store/modules/app';
 | 
					import { useAppStore } from '@/store/modules/app';
 | 
				
			||||||
import { useThemeStore } from '@/store/modules/theme';
 | 
					import { useThemeStore } from '@/store/modules/theme';
 | 
				
			||||||
import { useRouteStore } from '@/store/modules/route';
 | 
					import { useRouteStore } from '@/store/modules/route';
 | 
				
			||||||
import { useRouterPush } from '@/hooks/common/router';
 | 
					import { useRouterPush } from '@/hooks/common/router';
 | 
				
			||||||
import { GLOBAL_SIDER_MENU_ID } from '@/constants/app';
 | 
					 | 
				
			||||||
import { useMenu } from '../../../context';
 | 
					import { useMenu } from '../../../context';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({
 | 
					defineOptions({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,12 +3,12 @@ import { computed, ref, watch } from 'vue';
 | 
				
			|||||||
import { useRoute } from 'vue-router';
 | 
					import { useRoute } from 'vue-router';
 | 
				
			||||||
import { SimpleScrollbar } from '@sa/materials';
 | 
					import { SimpleScrollbar } from '@sa/materials';
 | 
				
			||||||
import { useBoolean } from '@sa/hooks';
 | 
					import { useBoolean } from '@sa/hooks';
 | 
				
			||||||
 | 
					import { GLOBAL_SIDER_MENU_ID } from '@/constants/app';
 | 
				
			||||||
import { useAppStore } from '@/store/modules/app';
 | 
					import { useAppStore } from '@/store/modules/app';
 | 
				
			||||||
import { useThemeStore } from '@/store/modules/theme';
 | 
					import { useThemeStore } from '@/store/modules/theme';
 | 
				
			||||||
import { useRouteStore } from '@/store/modules/route';
 | 
					import { useRouteStore } from '@/store/modules/route';
 | 
				
			||||||
import { useRouterPush } from '@/hooks/common/router';
 | 
					import { useRouterPush } from '@/hooks/common/router';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
import { GLOBAL_SIDER_MENU_ID } from '@/constants/app';
 | 
					 | 
				
			||||||
import { useMenu, useMixMenuContext } from '../../../context';
 | 
					import { useMenu, useMixMenuContext } from '../../../context';
 | 
				
			||||||
import FirstLevelMenu from '../components/first-level-menu.vue';
 | 
					import FirstLevelMenu from '../components/first-level-menu.vue';
 | 
				
			||||||
import GlobalLogo from '../../global-logo/index.vue';
 | 
					import GlobalLogo from '../../global-logo/index.vue';
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,8 +1,8 @@
 | 
				
			|||||||
<script setup lang="ts">
 | 
					<script setup lang="ts">
 | 
				
			||||||
import { computed } from 'vue';
 | 
					import { computed } from 'vue';
 | 
				
			||||||
 | 
					import { GLOBAL_SIDER_MENU_ID } from '@/constants/app';
 | 
				
			||||||
import { useAppStore } from '@/store/modules/app';
 | 
					import { useAppStore } from '@/store/modules/app';
 | 
				
			||||||
import { useThemeStore } from '@/store/modules/theme';
 | 
					import { useThemeStore } from '@/store/modules/theme';
 | 
				
			||||||
import { GLOBAL_SIDER_MENU_ID } from '@/constants/app';
 | 
					 | 
				
			||||||
import GlobalLogo from '../global-logo/index.vue';
 | 
					import GlobalLogo from '../global-logo/index.vue';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({
 | 
					defineOptions({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,9 +1,9 @@
 | 
				
			|||||||
<script setup lang="ts">
 | 
					<script setup lang="ts">
 | 
				
			||||||
import { computed } from 'vue';
 | 
					import { computed } from 'vue';
 | 
				
			||||||
import type { VNode } from 'vue';
 | 
					import type { VNode } from 'vue';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					 | 
				
			||||||
import { useTabStore } from '@/store/modules/tab';
 | 
					import { useTabStore } from '@/store/modules/tab';
 | 
				
			||||||
import { useSvgIcon } from '@/hooks/common/icon';
 | 
					import { useSvgIcon } from '@/hooks/common/icon';
 | 
				
			||||||
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({
 | 
					defineOptions({
 | 
				
			||||||
  name: 'ContextMenu'
 | 
					  name: 'ContextMenu'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,12 +3,12 @@ import { nextTick, reactive, ref, watch } from 'vue';
 | 
				
			|||||||
import { useRoute } from 'vue-router';
 | 
					import { useRoute } from 'vue-router';
 | 
				
			||||||
import { useElementBounding } from '@vueuse/core';
 | 
					import { useElementBounding } from '@vueuse/core';
 | 
				
			||||||
import { PageTab } from '@sa/materials';
 | 
					import { PageTab } from '@sa/materials';
 | 
				
			||||||
import BetterScroll from '@/components/custom/better-scroll.vue';
 | 
					 | 
				
			||||||
import { useAppStore } from '@/store/modules/app';
 | 
					import { useAppStore } from '@/store/modules/app';
 | 
				
			||||||
import { useThemeStore } from '@/store/modules/theme';
 | 
					import { useThemeStore } from '@/store/modules/theme';
 | 
				
			||||||
import { useRouteStore } from '@/store/modules/route';
 | 
					import { useRouteStore } from '@/store/modules/route';
 | 
				
			||||||
import { useTabStore } from '@/store/modules/tab';
 | 
					import { useTabStore } from '@/store/modules/tab';
 | 
				
			||||||
import { isPC } from '@/utils/agent';
 | 
					import { isPC } from '@/utils/agent';
 | 
				
			||||||
 | 
					import BetterScroll from '@/components/custom/better-scroll.vue';
 | 
				
			||||||
import ContextMenu from './context-menu.vue';
 | 
					import ContextMenu from './context-menu.vue';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({
 | 
					defineOptions({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,8 +1,8 @@
 | 
				
			|||||||
<script setup lang="ts">
 | 
					<script setup lang="ts">
 | 
				
			||||||
import { computed, onMounted, ref } from 'vue';
 | 
					import { computed, onMounted, ref } from 'vue';
 | 
				
			||||||
import Clipboard from 'clipboard';
 | 
					import Clipboard from 'clipboard';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					 | 
				
			||||||
import { useThemeStore } from '@/store/modules/theme';
 | 
					import { useThemeStore } from '@/store/modules/theme';
 | 
				
			||||||
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({
 | 
					defineOptions({
 | 
				
			||||||
  name: 'ConfigOperation'
 | 
					  name: 'ConfigOperation'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,14 +1,14 @@
 | 
				
			|||||||
<script setup lang="ts">
 | 
					<script setup lang="ts">
 | 
				
			||||||
import { computed } from 'vue';
 | 
					import { computed } from 'vue';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					 | 
				
			||||||
import { useThemeStore } from '@/store/modules/theme';
 | 
					 | 
				
			||||||
import {
 | 
					import {
 | 
				
			||||||
  resetCacheStrategyOptions,
 | 
					  resetCacheStrategyOptions,
 | 
				
			||||||
  themePageAnimationModeOptions,
 | 
					  themePageAnimationModeOptions,
 | 
				
			||||||
  themeScrollModeOptions,
 | 
					  themeScrollModeOptions,
 | 
				
			||||||
  themeTabModeOptions
 | 
					  themeTabModeOptions
 | 
				
			||||||
} from '@/constants/app';
 | 
					} from '@/constants/app';
 | 
				
			||||||
 | 
					import { useThemeStore } from '@/store/modules/theme';
 | 
				
			||||||
import { translateOptions } from '@/utils/common';
 | 
					import { translateOptions } from '@/utils/common';
 | 
				
			||||||
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
import SettingItem from '../components/setting-item.vue';
 | 
					import SettingItem from '../components/setting-item.vue';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({
 | 
					defineOptions({
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,10 +1,10 @@
 | 
				
			|||||||
// @unocss-include
 | 
					// @unocss-include
 | 
				
			||||||
import { getRgb } from '@sa/color';
 | 
					import { getRgb } from '@sa/color';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					 | 
				
			||||||
import { localStg } from '@/utils/storage';
 | 
					 | 
				
			||||||
import systemLogo from '@/assets/svg-icon/logo.svg?raw';
 | 
					 | 
				
			||||||
import { DARK_CLASS } from '@/constants/app';
 | 
					import { DARK_CLASS } from '@/constants/app';
 | 
				
			||||||
 | 
					import { localStg } from '@/utils/storage';
 | 
				
			||||||
import { toggleHtmlClass } from '@/utils/common';
 | 
					import { toggleHtmlClass } from '@/utils/common';
 | 
				
			||||||
 | 
					import systemLogo from '@/assets/svg-icon/logo.svg?raw';
 | 
				
			||||||
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export function setupLoading() {
 | 
					export function setupLoading() {
 | 
				
			||||||
  const themeColor = localStg.get('themeColor') || '#646cff';
 | 
					  const themeColor = localStg.get('themeColor') || '#646cff';
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,10 +6,10 @@ import type {
 | 
				
			|||||||
  Router
 | 
					  Router
 | 
				
			||||||
} from 'vue-router';
 | 
					} from 'vue-router';
 | 
				
			||||||
import type { RouteKey, RoutePath } from '@elegant-router/types';
 | 
					import type { RouteKey, RoutePath } from '@elegant-router/types';
 | 
				
			||||||
import { getRouteName } from '@/router/elegant/transform';
 | 
					 | 
				
			||||||
import { useAuthStore } from '@/store/modules/auth';
 | 
					import { useAuthStore } from '@/store/modules/auth';
 | 
				
			||||||
import { useRouteStore } from '@/store/modules/route';
 | 
					import { useRouteStore } from '@/store/modules/route';
 | 
				
			||||||
import { localStg } from '@/utils/storage';
 | 
					import { localStg } from '@/utils/storage';
 | 
				
			||||||
 | 
					import { getRouteName } from '@/router/elegant/transform';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * create route guard
 | 
					 * create route guard
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
import { useTitle } from '@vueuse/core';
 | 
					 | 
				
			||||||
import type { Router } from 'vue-router';
 | 
					import type { Router } from 'vue-router';
 | 
				
			||||||
 | 
					import { useTitle } from '@vueuse/core';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export function createDocumentTitleGuard(router: Router) {
 | 
					export function createDocumentTitleGuard(router: Router) {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,9 +1,9 @@
 | 
				
			|||||||
import type { AxiosResponse } from 'axios';
 | 
					import type { AxiosResponse } from 'axios';
 | 
				
			||||||
import { BACKEND_ERROR_CODE, createFlatRequest, createRequest } from '@sa/axios';
 | 
					import { BACKEND_ERROR_CODE, createFlatRequest, createRequest } from '@sa/axios';
 | 
				
			||||||
import { useAuthStore } from '@/store/modules/auth';
 | 
					import { useAuthStore } from '@/store/modules/auth';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					 | 
				
			||||||
import { localStg } from '@/utils/storage';
 | 
					import { localStg } from '@/utils/storage';
 | 
				
			||||||
import { getServiceBaseURL } from '@/utils/service';
 | 
					import { getServiceBaseURL } from '@/utils/service';
 | 
				
			||||||
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
import { getAuthorization, handleExpiredRequest, showErrorMsg } from './shared';
 | 
					import { getAuthorization, handleExpiredRequest, showErrorMsg } from './shared';
 | 
				
			||||||
import type { RequestInstanceState } from './type';
 | 
					import type { RequestInstanceState } from './type';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,12 +1,12 @@
 | 
				
			|||||||
import { effectScope, nextTick, onScopeDispose, ref, watch } from 'vue';
 | 
					import { effectScope, nextTick, onScopeDispose, ref, watch } from 'vue';
 | 
				
			||||||
import { defineStore } from 'pinia';
 | 
					 | 
				
			||||||
import { breakpointsTailwind, useBreakpoints, useEventListener, useTitle } from '@vueuse/core';
 | 
					import { breakpointsTailwind, useBreakpoints, useEventListener, useTitle } from '@vueuse/core';
 | 
				
			||||||
 | 
					import { defineStore } from 'pinia';
 | 
				
			||||||
import { useBoolean } from '@sa/hooks';
 | 
					import { useBoolean } from '@sa/hooks';
 | 
				
			||||||
import { SetupStoreId } from '@/enum';
 | 
					 | 
				
			||||||
import { router } from '@/router';
 | 
					import { router } from '@/router';
 | 
				
			||||||
 | 
					import { localStg } from '@/utils/storage';
 | 
				
			||||||
 | 
					import { SetupStoreId } from '@/enum';
 | 
				
			||||||
import { $t, setLocale } from '@/locales';
 | 
					import { $t, setLocale } from '@/locales';
 | 
				
			||||||
import { setDayjsLocale } from '@/locales/dayjs';
 | 
					import { setDayjsLocale } from '@/locales/dayjs';
 | 
				
			||||||
import { localStg } from '@/utils/storage';
 | 
					 | 
				
			||||||
import { useRouteStore } from '../route';
 | 
					import { useRouteStore } from '../route';
 | 
				
			||||||
import { useTabStore } from '../tab';
 | 
					import { useTabStore } from '../tab';
 | 
				
			||||||
import { useThemeStore } from '../theme';
 | 
					import { useThemeStore } from '../theme';
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,10 +2,10 @@ import { computed, reactive, ref } from 'vue';
 | 
				
			|||||||
import { useRoute } from 'vue-router';
 | 
					import { useRoute } from 'vue-router';
 | 
				
			||||||
import { defineStore } from 'pinia';
 | 
					import { defineStore } from 'pinia';
 | 
				
			||||||
import { useLoading } from '@sa/hooks';
 | 
					import { useLoading } from '@sa/hooks';
 | 
				
			||||||
import { SetupStoreId } from '@/enum';
 | 
					 | 
				
			||||||
import { useRouterPush } from '@/hooks/common/router';
 | 
					 | 
				
			||||||
import { fetchGetUserInfo, fetchLogin } from '@/service/api';
 | 
					import { fetchGetUserInfo, fetchLogin } from '@/service/api';
 | 
				
			||||||
 | 
					import { useRouterPush } from '@/hooks/common/router';
 | 
				
			||||||
import { localStg } from '@/utils/storage';
 | 
					import { localStg } from '@/utils/storage';
 | 
				
			||||||
 | 
					import { SetupStoreId } from '@/enum';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
import { useRouteStore } from '../route';
 | 
					import { useRouteStore } from '../route';
 | 
				
			||||||
import { useTabStore } from '../tab';
 | 
					import { useTabStore } from '../tab';
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,12 +3,12 @@ import type { RouteRecordRaw } from 'vue-router';
 | 
				
			|||||||
import { defineStore } from 'pinia';
 | 
					import { defineStore } from 'pinia';
 | 
				
			||||||
import { useBoolean } from '@sa/hooks';
 | 
					import { useBoolean } from '@sa/hooks';
 | 
				
			||||||
import type { CustomRoute, ElegantConstRoute, LastLevelRouteKey, RouteKey, RouteMap } from '@elegant-router/types';
 | 
					import type { CustomRoute, ElegantConstRoute, LastLevelRouteKey, RouteKey, RouteMap } from '@elegant-router/types';
 | 
				
			||||||
import { SetupStoreId } from '@/enum';
 | 
					 | 
				
			||||||
import { router } from '@/router';
 | 
					import { router } from '@/router';
 | 
				
			||||||
 | 
					import { fetchGetConstantRoutes, fetchGetUserRoutes, fetchIsRouteExist } from '@/service/api';
 | 
				
			||||||
 | 
					import { SetupStoreId } from '@/enum';
 | 
				
			||||||
import { createStaticRoutes, getAuthVueRoutes } from '@/router/routes';
 | 
					import { createStaticRoutes, getAuthVueRoutes } from '@/router/routes';
 | 
				
			||||||
import { ROOT_ROUTE } from '@/router/routes/builtin';
 | 
					import { ROOT_ROUTE } from '@/router/routes/builtin';
 | 
				
			||||||
import { getRouteName, getRoutePath } from '@/router/elegant/transform';
 | 
					import { getRouteName, getRoutePath } from '@/router/elegant/transform';
 | 
				
			||||||
import { fetchGetConstantRoutes, fetchGetUserRoutes, fetchIsRouteExist } from '@/service/api';
 | 
					 | 
				
			||||||
import { useAuthStore } from '../auth';
 | 
					import { useAuthStore } from '../auth';
 | 
				
			||||||
import { useTabStore } from '../tab';
 | 
					import { useTabStore } from '../tab';
 | 
				
			||||||
import {
 | 
					import {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
import type { RouteLocationNormalizedLoaded, RouteRecordRaw, _RouteRecordBase } from 'vue-router';
 | 
					import type { RouteLocationNormalizedLoaded, RouteRecordRaw, _RouteRecordBase } from 'vue-router';
 | 
				
			||||||
import type { ElegantConstRoute, LastLevelRouteKey, RouteKey, RouteMap } from '@elegant-router/types';
 | 
					import type { ElegantConstRoute, LastLevelRouteKey, RouteKey, RouteMap } from '@elegant-router/types';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					 | 
				
			||||||
import { useSvgIcon } from '@/hooks/common/icon';
 | 
					import { useSvgIcon } from '@/hooks/common/icon';
 | 
				
			||||||
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Filter auth routes by roles
 | 
					 * Filter auth routes by roles
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,12 +1,12 @@
 | 
				
			|||||||
import { computed, ref } from 'vue';
 | 
					import { computed, ref } from 'vue';
 | 
				
			||||||
import { defineStore } from 'pinia';
 | 
					 | 
				
			||||||
import { useEventListener } from '@vueuse/core';
 | 
					import { useEventListener } from '@vueuse/core';
 | 
				
			||||||
 | 
					import { defineStore } from 'pinia';
 | 
				
			||||||
import type { RouteKey } from '@elegant-router/types';
 | 
					import type { RouteKey } from '@elegant-router/types';
 | 
				
			||||||
import { router } from '@/router';
 | 
					import { router } from '@/router';
 | 
				
			||||||
import { SetupStoreId } from '@/enum';
 | 
					import { useRouteStore } from '@/store/modules/route';
 | 
				
			||||||
import { useRouterPush } from '@/hooks/common/router';
 | 
					import { useRouterPush } from '@/hooks/common/router';
 | 
				
			||||||
import { localStg } from '@/utils/storage';
 | 
					import { localStg } from '@/utils/storage';
 | 
				
			||||||
import { useRouteStore } from '@/store/modules/route';
 | 
					import { SetupStoreId } from '@/enum';
 | 
				
			||||||
import { useThemeStore } from '../theme';
 | 
					import { useThemeStore } from '../theme';
 | 
				
			||||||
import {
 | 
					import {
 | 
				
			||||||
  extractTabsByAllRoutes,
 | 
					  extractTabsByAllRoutes,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,10 +1,10 @@
 | 
				
			|||||||
import { computed, effectScope, onScopeDispose, ref, toRefs, watch } from 'vue';
 | 
					import { computed, effectScope, onScopeDispose, ref, toRefs, watch } from 'vue';
 | 
				
			||||||
import type { Ref } from 'vue';
 | 
					import type { Ref } from 'vue';
 | 
				
			||||||
import { defineStore } from 'pinia';
 | 
					 | 
				
			||||||
import { useEventListener, usePreferredColorScheme } from '@vueuse/core';
 | 
					import { useEventListener, usePreferredColorScheme } from '@vueuse/core';
 | 
				
			||||||
 | 
					import { defineStore } from 'pinia';
 | 
				
			||||||
import { getPaletteColorByNumber } from '@sa/color';
 | 
					import { getPaletteColorByNumber } from '@sa/color';
 | 
				
			||||||
import { SetupStoreId } from '@/enum';
 | 
					 | 
				
			||||||
import { localStg } from '@/utils/storage';
 | 
					import { localStg } from '@/utils/storage';
 | 
				
			||||||
 | 
					import { SetupStoreId } from '@/enum';
 | 
				
			||||||
import {
 | 
					import {
 | 
				
			||||||
  addThemeVarsToGlobal,
 | 
					  addThemeVarsToGlobal,
 | 
				
			||||||
  createThemeToken,
 | 
					  createThemeToken,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,11 +1,11 @@
 | 
				
			|||||||
import type { GlobalThemeOverrides } from 'naive-ui';
 | 
					import type { GlobalThemeOverrides } from 'naive-ui';
 | 
				
			||||||
import { defu } from 'defu';
 | 
					import { defu } from 'defu';
 | 
				
			||||||
import { addColorAlpha, getColorPalette, getPaletteColorByNumber, getRgb } from '@sa/color';
 | 
					import { addColorAlpha, getColorPalette, getPaletteColorByNumber, getRgb } from '@sa/color';
 | 
				
			||||||
import { overrideThemeSettings, themeSettings } from '@/theme/settings';
 | 
					import { DARK_CLASS } from '@/constants/app';
 | 
				
			||||||
import { themeVars } from '@/theme/vars';
 | 
					 | 
				
			||||||
import { toggleHtmlClass } from '@/utils/common';
 | 
					import { toggleHtmlClass } from '@/utils/common';
 | 
				
			||||||
import { localStg } from '@/utils/storage';
 | 
					import { localStg } from '@/utils/storage';
 | 
				
			||||||
import { DARK_CLASS } from '@/constants/app';
 | 
					import { overrideThemeSettings, themeSettings } from '@/theme/settings';
 | 
				
			||||||
 | 
					import { themeVars } from '@/theme/vars';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/** Init theme settings */
 | 
					/** Init theme settings */
 | 
				
			||||||
export function initThemeSettings() {
 | 
					export function initThemeSettings() {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -113,7 +113,8 @@ code,
 | 
				
			|||||||
kbd,
 | 
					kbd,
 | 
				
			||||||
samp,
 | 
					samp,
 | 
				
			||||||
pre {
 | 
					pre {
 | 
				
			||||||
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; /* 1 */
 | 
					  font-family:
 | 
				
			||||||
 | 
					    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; /* 1 */
 | 
				
			||||||
  font-size: 1em; /* 2 */
 | 
					  font-size: 1em; /* 2 */
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1
									
								
								src/typings/components.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								src/typings/components.d.ts
									
									
									
									
										vendored
									
									
								
							@@ -2,6 +2,7 @@
 | 
				
			|||||||
// @ts-nocheck
 | 
					// @ts-nocheck
 | 
				
			||||||
// Generated by unplugin-vue-components
 | 
					// Generated by unplugin-vue-components
 | 
				
			||||||
// Read more: https://github.com/vuejs/core/pull/3399
 | 
					// Read more: https://github.com/vuejs/core/pull/3399
 | 
				
			||||||
 | 
					// biome-ignore lint: disable
 | 
				
			||||||
export {}
 | 
					export {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* prettier-ignore */
 | 
					/* prettier-ignore */
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1
									
								
								src/typings/vite-env.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								src/typings/vite-env.d.ts
									
									
									
									
										vendored
									
									
								
							@@ -8,6 +8,7 @@ declare namespace Env {
 | 
				
			|||||||
  type RouterHistoryMode = 'hash' | 'history' | 'memory';
 | 
					  type RouterHistoryMode = 'hash' | 'history' | 'memory';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /** Interface for import.meta */
 | 
					  /** Interface for import.meta */
 | 
				
			||||||
 | 
					  // eslint-disable-next-line @typescript-eslint/no-shadow
 | 
				
			||||||
  interface ImportMeta extends ImportMetaEnv {
 | 
					  interface ImportMeta extends ImportMetaEnv {
 | 
				
			||||||
    /** The base url of the application */
 | 
					    /** The base url of the application */
 | 
				
			||||||
    readonly VITE_BASE_URL: string;
 | 
					    readonly VITE_BASE_URL: string;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,10 +2,10 @@
 | 
				
			|||||||
import { computed } from 'vue';
 | 
					import { computed } from 'vue';
 | 
				
			||||||
import type { Component } from 'vue';
 | 
					import type { Component } from 'vue';
 | 
				
			||||||
import { getPaletteColorByNumber, mixColor } from '@sa/color';
 | 
					import { getPaletteColorByNumber, mixColor } from '@sa/color';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					import { loginModuleRecord } from '@/constants/app';
 | 
				
			||||||
import { useAppStore } from '@/store/modules/app';
 | 
					import { useAppStore } from '@/store/modules/app';
 | 
				
			||||||
import { useThemeStore } from '@/store/modules/theme';
 | 
					import { useThemeStore } from '@/store/modules/theme';
 | 
				
			||||||
import { loginModuleRecord } from '@/constants/app';
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
import PwdLogin from './modules/pwd-login.vue';
 | 
					import PwdLogin from './modules/pwd-login.vue';
 | 
				
			||||||
import CodeLogin from './modules/code-login.vue';
 | 
					import CodeLogin from './modules/code-login.vue';
 | 
				
			||||||
import Register from './modules/register.vue';
 | 
					import Register from './modules/register.vue';
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,9 +1,9 @@
 | 
				
			|||||||
<script setup lang="ts">
 | 
					<script setup lang="ts">
 | 
				
			||||||
import { computed, reactive } from 'vue';
 | 
					import { computed, reactive } from 'vue';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					 | 
				
			||||||
import { useRouterPush } from '@/hooks/common/router';
 | 
					import { useRouterPush } from '@/hooks/common/router';
 | 
				
			||||||
import { useFormRules, useNaiveForm } from '@/hooks/common/form';
 | 
					import { useFormRules, useNaiveForm } from '@/hooks/common/form';
 | 
				
			||||||
import { useCaptcha } from '@/hooks/business/captcha';
 | 
					import { useCaptcha } from '@/hooks/business/captcha';
 | 
				
			||||||
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({
 | 
					defineOptions({
 | 
				
			||||||
  name: 'CodeLogin'
 | 
					  name: 'CodeLogin'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,10 +1,10 @@
 | 
				
			|||||||
<script setup lang="ts">
 | 
					<script setup lang="ts">
 | 
				
			||||||
import { computed, reactive } from 'vue';
 | 
					import { computed, reactive } from 'vue';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					 | 
				
			||||||
import { loginModuleRecord } from '@/constants/app';
 | 
					import { loginModuleRecord } from '@/constants/app';
 | 
				
			||||||
 | 
					import { useAuthStore } from '@/store/modules/auth';
 | 
				
			||||||
import { useRouterPush } from '@/hooks/common/router';
 | 
					import { useRouterPush } from '@/hooks/common/router';
 | 
				
			||||||
import { useFormRules, useNaiveForm } from '@/hooks/common/form';
 | 
					import { useFormRules, useNaiveForm } from '@/hooks/common/form';
 | 
				
			||||||
import { useAuthStore } from '@/store/modules/auth';
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({
 | 
					defineOptions({
 | 
				
			||||||
  name: 'PwdLogin'
 | 
					  name: 'PwdLogin'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,9 +1,9 @@
 | 
				
			|||||||
<script setup lang="ts">
 | 
					<script setup lang="ts">
 | 
				
			||||||
import { computed, reactive } from 'vue';
 | 
					import { computed, reactive } from 'vue';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					 | 
				
			||||||
import { useRouterPush } from '@/hooks/common/router';
 | 
					import { useRouterPush } from '@/hooks/common/router';
 | 
				
			||||||
import { useFormRules, useNaiveForm } from '@/hooks/common/form';
 | 
					import { useFormRules, useNaiveForm } from '@/hooks/common/form';
 | 
				
			||||||
import { useCaptcha } from '@/hooks/business/captcha';
 | 
					import { useCaptcha } from '@/hooks/business/captcha';
 | 
				
			||||||
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({
 | 
					defineOptions({
 | 
				
			||||||
  name: 'Register'
 | 
					  name: 'Register'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,8 +1,8 @@
 | 
				
			|||||||
<script setup lang="ts">
 | 
					<script setup lang="ts">
 | 
				
			||||||
import { computed, reactive } from 'vue';
 | 
					import { computed, reactive } from 'vue';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					 | 
				
			||||||
import { useRouterPush } from '@/hooks/common/router';
 | 
					import { useRouterPush } from '@/hooks/common/router';
 | 
				
			||||||
import { useFormRules, useNaiveForm } from '@/hooks/common/form';
 | 
					import { useFormRules, useNaiveForm } from '@/hooks/common/form';
 | 
				
			||||||
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({
 | 
					defineOptions({
 | 
				
			||||||
  name: 'ResetPwd'
 | 
					  name: 'ResetPwd'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,8 +1,8 @@
 | 
				
			|||||||
<script setup lang="ts">
 | 
					<script setup lang="ts">
 | 
				
			||||||
import { computed } from 'vue';
 | 
					import { computed } from 'vue';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					 | 
				
			||||||
import { useAppStore } from '@/store/modules/app';
 | 
					import { useAppStore } from '@/store/modules/app';
 | 
				
			||||||
import { useAuthStore } from '@/store/modules/auth';
 | 
					import { useAuthStore } from '@/store/modules/auth';
 | 
				
			||||||
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({
 | 
					defineOptions({
 | 
				
			||||||
  name: 'HeaderBanner'
 | 
					  name: 'HeaderBanner'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,8 +1,8 @@
 | 
				
			|||||||
<script setup lang="ts">
 | 
					<script setup lang="ts">
 | 
				
			||||||
import { watch } from 'vue';
 | 
					import { watch } from 'vue';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					 | 
				
			||||||
import { useAppStore } from '@/store/modules/app';
 | 
					import { useAppStore } from '@/store/modules/app';
 | 
				
			||||||
import { useEcharts } from '@/hooks/common/echarts';
 | 
					import { useEcharts } from '@/hooks/common/echarts';
 | 
				
			||||||
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({
 | 
					defineOptions({
 | 
				
			||||||
  name: 'LineChart'
 | 
					  name: 'LineChart'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,8 +1,8 @@
 | 
				
			|||||||
<script setup lang="ts">
 | 
					<script setup lang="ts">
 | 
				
			||||||
import { watch } from 'vue';
 | 
					import { watch } from 'vue';
 | 
				
			||||||
import { $t } from '@/locales';
 | 
					 | 
				
			||||||
import { useAppStore } from '@/store/modules/app';
 | 
					import { useAppStore } from '@/store/modules/app';
 | 
				
			||||||
import { useEcharts } from '@/hooks/common/echarts';
 | 
					import { useEcharts } from '@/hooks/common/echarts';
 | 
				
			||||||
 | 
					import { $t } from '@/locales';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
defineOptions({
 | 
					defineOptions({
 | 
				
			||||||
  name: 'PieChart'
 | 
					  name: 'PieChart'
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user