Compare commits

...

8 Commits
v2.1.0 ... main

23 changed files with 1247 additions and 2075 deletions

View File

@@ -9,6 +9,7 @@
"mhutchie.git-graph",
"mikestead.dotenv",
"naumovs.color-highlight",
"oxc.oxc-vscode",
"pkief.material-icon-theme",
"sdras.vue-vscode-snippets",
"vue.volar",

View File

@@ -15,6 +15,6 @@
"i18n-ally.parsers.typescript.compilerOptions": {
"moduleResolution": "node"
},
"prettier.enable": false,
"oxc.fmt.configPath": ".oxfmtrc.json",
"unocss.root": ["./"]
}

View File

@@ -53,7 +53,7 @@
"@sa/utils": "workspace:*",
"@vueuse/core": "14.2.1",
"clipboard": "2.0.11",
"dayjs": "1.11.19",
"dayjs": "1.11.20",
"defu": "6.1.4",
"echarts": "6.0.0",
"json5": "2.2.3",
@@ -61,39 +61,39 @@
"nprogress": "0.2.0",
"pinia": "3.0.4",
"tailwind-merge": "3.5.0",
"vue": "3.5.29",
"vue": "3.5.31",
"vue-draggable-plus": "0.6.1",
"vue-i18n": "11.3.0",
"vue-router": "5.0.3"
"vue-router": "5.0.4"
},
"devDependencies": {
"@elegant-router/vue": "0.3.8",
"@iconify/json": "2.2.447",
"@iconify/json": "2.2.456",
"@sa/scripts": "workspace:*",
"@sa/uno-preset": "workspace:*",
"@soybeanjs/eslint-config-vue": "^0.0.2",
"@types/node": "25.3.5",
"@types/node": "25.5.0",
"@types/nprogress": "0.2.3",
"@vitejs/plugin-vue": "6.0.4",
"@vitejs/plugin-vue-jsx": "5.1.4",
"@vitejs/plugin-vue": "6.0.5",
"@vitejs/plugin-vue-jsx": "5.1.5",
"consola": "3.4.2",
"eslint": "10.0.3",
"eslint": "10.1.0",
"kolorist": "1.8.0",
"oxfmt": "^0.36.0",
"oxlint": "^1.51.0",
"sass": "1.97.3",
"oxfmt": "^0.42.0",
"oxlint": "^1.57.0",
"sass": "1.98.0",
"simple-git-hooks": "2.13.1",
"tsx": "4.21.0",
"typescript": "5.9.3",
"unocss": "^66.6.6",
"typescript": "6.0.2",
"unocss": "^66.6.7",
"unplugin-icons": "23.0.1",
"unplugin-vue-components": "31.0.0",
"vite": "7.3.1",
"unplugin-vue-components": "32.0.0",
"vite": "8.0.3",
"vite-plugin-progress": "0.0.7",
"vite-plugin-svg-icons": "2.0.1",
"vite-plugin-vue-devtools": "8.0.7",
"vite-plugin-vue-devtools": "8.1.1",
"vite-plugin-vue-transition-root-validator": "^0.1.0",
"vue-tsc": "3.2.5"
"vue-tsc": "3.2.6"
},
"simple-git-hooks": {
"commit-msg": "pnpm sa git-commit-verify",

View File

@@ -15,7 +15,7 @@
"./mock": "./src/mock.ts"
},
"dependencies": {
"@alova/mock": "2.0.19",
"@alova/mock": "2.0.20",
"@sa/utils": "workspace:*",
"alova": "3.5.1"
}

View File

@@ -3,9 +3,8 @@
"target": "ESNext",
"jsx": "preserve",
"lib": ["DOM", "ESNext"],
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"types": ["node"],
"strict": true,

View File

@@ -13,7 +13,7 @@
},
"dependencies": {
"@sa/utils": "workspace:*",
"axios": "1.13.6",
"axios": "1.14.0",
"axios-retry": "4.5.0",
"qs": "6.15.0"
},

View File

@@ -3,9 +3,8 @@
"target": "ESNext",
"jsx": "preserve",
"lib": ["DOM", "ESNext"],
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"types": ["node"],
"strict": true,

View File

@@ -3,9 +3,8 @@
"target": "ESNext",
"jsx": "preserve",
"lib": ["DOM", "ESNext"],
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"types": ["node"],
"strict": true,

View File

@@ -3,9 +3,8 @@
"target": "ESNext",
"jsx": "preserve",
"lib": ["DOM", "ESNext"],
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"types": ["node"],
"strict": true,

View File

@@ -3,9 +3,8 @@
"target": "ESNext",
"jsx": "preserve",
"lib": ["DOM", "ESNext"],
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"types": ["node"],
"strict": true,

View File

@@ -1,3 +1,3 @@
#!/usr/bin/env tsx
import './src/index.ts';
import './src/index';

View File

@@ -15,16 +15,16 @@
".": "./src/index.ts"
},
"devDependencies": {
"@soybeanjs/changelog": "0.4.3",
"bumpp": "10.4.1",
"@soybeanjs/changelog": "0.4.5",
"bumpp": "11.0.1",
"c12": "3.3.3",
"cac": "6.7.14",
"cac": "7.0.0",
"consola": "3.4.2",
"enquirer": "2.4.1",
"execa": "9.6.1",
"kolorist": "1.8.0",
"npm-check-updates": "19.6.3",
"picomatch": "4.0.3",
"npm-check-updates": "19.6.6",
"picomatch": "4.0.4",
"rimraf": "6.1.3"
}
}

View File

@@ -3,9 +3,8 @@
"target": "ESNext",
"jsx": "preserve",
"lib": ["DOM", "ESNext"],
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"types": ["node"],
"strict": true,

View File

@@ -3,9 +3,8 @@
"target": "ESNext",
"jsx": "preserve",
"lib": ["DOM", "ESNext"],
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"types": ["node"],
"strict": true,

View File

@@ -16,7 +16,7 @@
"crypto-js": "4.2.0",
"klona": "2.0.6",
"localforage": "1.10.0",
"nanoid": "5.1.6"
"nanoid": "5.1.7"
},
"devDependencies": {
"@types/crypto-js": "4.2.2"

View File

@@ -3,9 +3,8 @@
"target": "ESNext",
"jsx": "preserve",
"lib": ["DOM", "ESNext"],
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"types": ["node"],
"strict": true,

3215
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -68,14 +68,15 @@ const swatches: string[] = [
{{ $t('theme.appearance.themeColor.followPrimary') }}
</NCheckbox>
</template>
<NColorPicker
class="w-90px"
:value="themeStore.themeColors[key]"
:disabled="key === 'info' && themeStore.isInfoFollowPrimary"
:show-alpha="false"
:swatches="swatches"
@update:value="handleUpdateColor($event, key)"
/>
<div class="w-90px">
<NColorPicker
:value="themeStore.themeColors[key]"
:disabled="key === 'info' && themeStore.isInfoFollowPrimary"
:show-alpha="false"
:swatches="swatches"
@update:value="handleUpdateColor($event, key)"
/>
</div>
</SettingItem>
</div>
</template>

View File

@@ -135,7 +135,7 @@ const local: App.I18n.Schema = {
title: 'Tab Settings',
visible: 'Tab Visible',
cache: 'Tag Bar Info Cache',
cacheTip: 'One-click to open/close global keepalive',
cacheTip: 'Keep the tab bar information after leaving the page',
height: 'Tab Height',
mode: {
title: 'Tab Mode',

View File

@@ -132,7 +132,7 @@ const local: App.I18n.Schema = {
title: '标签栏设置',
visible: '显示标签栏',
cache: '标签栏信息缓存',
cacheTip: '一键开启/关闭全局 keepalive',
cacheTip: '离开页面后仍然保留标签栏信息',
height: '标签栏高度',
mode: {
title: '标签栏风格',

View File

@@ -1,3 +1,4 @@
// @ts-expect-error ignore type error of svg icons
import 'virtual:svg-icons-register';
import 'uno.css';
import '../styles/css/global.css';

View File

@@ -38,8 +38,7 @@ export function createRouteGuard(router: Router) {
// if the route does not need login, then it is allowed to access directly
if (!needLogin) {
handleRouteSwitch(to, from);
return;
return handleRouteSwitch(to, from);
}
// the route need login but the user is not logged in, then switch to the login page
@@ -53,7 +52,7 @@ export function createRouteGuard(router: Router) {
}
// switch route normally
handleRouteSwitch(to, from);
return handleRouteSwitch(to, from);
});
}

View File

@@ -4,7 +4,6 @@
"jsx": "preserve",
"jsxImportSource": "vue",
"lib": ["DOM", "ESNext"],
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "bundler",
"paths": {