chore: 依赖更新

This commit is contained in:
dap 2024-09-07 11:01:51 +08:00
parent aa13d8c909
commit 0613e35932
31 changed files with 582 additions and 610 deletions

View File

@ -51,7 +51,7 @@
"lodash-es": "^4.17.21",
"pinia": "2.2.2",
"tinymce": "^7.3.0",
"vue": "^3.5.1",
"vue": "^3.5.2",
"vue-router": "^4.4.3"
},
"devDependencies": {

View File

@ -44,7 +44,7 @@
"dayjs": "^1.11.13",
"element-plus": "^2.8.1",
"pinia": "2.2.2",
"vue": "^3.5.1",
"vue": "^3.5.2",
"vue-router": "^4.4.3"
},
"devDependencies": {

View File

@ -43,7 +43,7 @@
"@vueuse/core": "^11.0.3",
"naive-ui": "^2.39.0",
"pinia": "2.2.2",
"vue": "^3.5.1",
"vue": "^3.5.2",
"vue-router": "^4.4.3"
}
}

View File

@ -18,8 +18,8 @@
"devDependencies": {
"@nolebase/vitepress-plugin-git-changelog": "^2.5.0",
"@vben/vite-config": "workspace:*",
"@vite-pwa/vitepress": "^0.5.1",
"@vite-pwa/vitepress": "^0.5.3",
"vitepress": "^1.3.4",
"vue": "^3.5.1"
"vue": "^3.5.2"
}
}

View File

@ -2,10 +2,14 @@
社区交流群主要是为了方便大家交流,提问,解答问题,分享经验等。偏自助方式,如果你有问题,可以通过以下方式加入社区交流群:
- [QQ频道](https://pd.qq.com/s/16p8lvvob):推荐主要提供问题解答,分享经验等。
- QQ群[1群(满)](https://qm.qq.com/q/YacMHPYAMu)、[2群(满)](https://qm.qq.com/q/ajVKZvFICk)、[3群](https://qm.qq.com/q/36zdwThP2E),主要使用者的交流群。
- [QQ频道](https://pd.qq.com/s/16p8lvvob):推荐主要提供问题解答,分享经验等。
- QQ群[1群](https://qm.qq.com/q/YacMHPYAMu)、[2群](https://qm.qq.com/q/ajVKZvFICk)、[3群](https://qm.qq.com/q/36zdwThP2E)[4群](https://qm.qq.com/q/sCzSlm3504)[老群](https://qm.qq.com/q/MEmHoCLbG0),主要使用者的交流群。
- [Discord](https://discord.com/invite/VU62jTecad): 主要提供问题解答,分享经验等。
::: tip
免费QQ群人数上限200将会不定期清理。推荐加入QQ频道进行交流
## 微信群
::: tip

View File

@ -29,7 +29,7 @@
"dependencies": {
"eslint-config-turbo": "^2.1.1",
"eslint-plugin-command": "^0.2.3",
"eslint-plugin-import-x": "^4.2.0"
"eslint-plugin-import-x": "^4.2.1"
},
"devDependencies": {
"@eslint/js": "^9.9.1",
@ -43,7 +43,7 @@
"eslint-plugin-jsonc": "^2.16.0",
"eslint-plugin-n": "^17.10.2",
"eslint-plugin-no-only-tests": "^3.3.0",
"eslint-plugin-perfectionist": "^3.3.0",
"eslint-plugin-perfectionist": "^3.4.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-regexp": "^2.6.0",
"eslint-plugin-unicorn": "^55.0.0",

View File

@ -51,7 +51,7 @@
"@tailwindcss/nesting": "0.0.0-insiders.565cd3e",
"@tailwindcss/typography": "^0.5.15",
"autoprefixer": "^10.4.20",
"cssnano": "^7.0.5",
"cssnano": "^7.0.6",
"postcss": "^8.4.45",
"postcss-antd-fixes": "^0.2.0",
"postcss-import": "^16.1.0",

View File

@ -36,8 +36,8 @@
"nitropack": "^2.9.7",
"resolve.exports": "^2.0.2",
"vite-plugin-lib-inject-css": "^2.1.1",
"vite-plugin-pwa": "^0.20.4",
"vite-plugin-vue-devtools": "^7.4.0"
"vite-plugin-pwa": "^0.20.5",
"vite-plugin-vue-devtools": "^7.4.4"
},
"devDependencies": {
"@types/archiver": "^6.0.2",

View File

@ -64,7 +64,7 @@
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.8",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.5.3",
"@types/node": "^22.5.4",
"@vben/commitlint-config": "workspace:*",
"@vben/eslint-config": "workspace:*",
"@vben/prettier-config": "workspace:*",
@ -91,8 +91,8 @@
"unbuild": "^2.0.0",
"vite": "^5.4.3",
"vitest": "^2.0.5",
"vue": "^3.5.1",
"vue-tsc": "^2.1.4"
"vue": "^3.5.2",
"vue-tsc": "^2.1.6"
},
"engines": {
"node": ">=20",
@ -109,7 +109,7 @@
"@ctrl/tinycolor": "4.1.0",
"clsx": "2.1.1",
"pinia": "2.2.2",
"vue": "3.5.0"
"vue": "3.5.2"
},
"neverBuiltDependencies": [
"canvas",

View File

@ -36,6 +36,6 @@
"dependencies": {
"@iconify/vue": "^4.1.2",
"lucide-vue-next": "^0.438.0",
"vue": "^3.5.1"
"vue": "^3.5.2"
}
}

View File

@ -62,7 +62,7 @@
"dependencies": {
"@ctrl/tinycolor": "^4.1.0",
"@tanstack/vue-store": "^0.5.5",
"@vue/shared": "^3.5.1",
"@vue/shared": "^3.5.2",
"clsx": "^2.1.1",
"defu": "^6.1.4",
"lodash.clonedeep": "^4.5.0",

View File

@ -38,7 +38,7 @@
}
},
"dependencies": {
"vue": "^3.5.1",
"vue": "^3.5.2",
"vue-router": "^4.4.3"
}
}

View File

@ -39,7 +39,7 @@
"@vueuse/core": "^11.0.3",
"radix-vue": "^1.9.5",
"sortablejs": "^1.15.3",
"vue": "^3.5.1"
"vue": "^3.5.2"
},
"devDependencies": {
"@types/sortablejs": "^1.15.8"

View File

@ -32,6 +32,6 @@
"@vben-core/shared": "workspace:*",
"@vben-core/typings": "workspace:*",
"@vueuse/core": "^11.0.3",
"vue": "^3.5.1"
"vue": "^3.5.2"
}
}

View File

@ -42,6 +42,6 @@
"@vben-core/shadcn-ui": "workspace:*",
"@vben-core/typings": "workspace:*",
"@vueuse/core": "^11.0.3",
"vue": "^3.5.1"
"vue": "^3.5.2"
}
}

View File

@ -43,6 +43,6 @@
"@vben-core/shared": "workspace:*",
"@vben-core/typings": "workspace:*",
"@vueuse/core": "^11.0.3",
"vue": "^3.5.1"
"vue": "^3.5.2"
}
}

View File

@ -42,6 +42,6 @@
"@vben-core/shadcn-ui": "workspace:*",
"@vben-core/shared": "workspace:*",
"@vueuse/core": "^11.0.3",
"vue": "^3.5.1"
"vue": "^3.5.2"
}
}

View File

@ -50,6 +50,6 @@
"class-variance-authority": "^0.7.0",
"lucide-vue-next": "^0.438.0",
"radix-vue": "^1.9.5",
"vue": "^3.5.1"
"vue": "^3.5.2"
}
}

View File

@ -42,6 +42,6 @@
"@vben-core/shadcn-ui": "workspace:*",
"@vben-core/typings": "workspace:*",
"@vueuse/core": "^11.0.3",
"vue": "^3.5.1"
"vue": "^3.5.2"
}
}

View File

@ -24,6 +24,6 @@
"@vben/stores": "workspace:*",
"@vben/types": "workspace:*",
"@vben/utils": "workspace:*",
"vue": "^3.5.1"
"vue": "^3.5.2"
}
}

View File

@ -29,7 +29,7 @@
"@vben/types": "workspace:*",
"@vueuse/integrations": "^11.0.3",
"qrcode": "^1.5.4",
"vue": "^3.5.1",
"vue": "^3.5.2",
"vue-router": "^4.4.3"
},
"devDependencies": {

View File

@ -25,8 +25,8 @@
"@vben/stores": "workspace:*",
"@vben/types": "workspace:*",
"@vben/utils": "workspace:*",
"vue": "^3.5.1",
"vue": "^3.5.2",
"vue-router": "^4.4.3",
"watermark-js-plus": "^1.5.4"
"watermark-js-plus": "^1.5.5"
}
}

View File

@ -24,6 +24,7 @@
"@vben-core/menu-ui": "workspace:*",
"@vben-core/popup-ui": "workspace:*",
"@vben-core/shadcn-ui": "workspace:*",
"@vben-core/shared": "workspace:*",
"@vben-core/tabs-ui": "workspace:*",
"@vben/constants": "workspace:*",
"@vben/hooks": "workspace:*",
@ -34,7 +35,7 @@
"@vben/types": "workspace:*",
"@vben/utils": "workspace:*",
"@vueuse/core": "^11.0.3",
"vue": "^3.5.1",
"vue": "^3.5.2",
"vue-router": "^4.4.3"
}
}

View File

@ -8,6 +8,7 @@ import { SearchX, X } from '@vben/icons';
import { $t } from '@vben/locales';
import { mapTree, traverseTreeValues, uniqueByField } from '@vben/utils';
import { VbenIcon, VbenScrollbar } from '@vben-core/shadcn-ui';
import { isHttpUrl } from '@vben-core/shared';
import { onKeyStroke, useLocalStorage, useThrottleFn } from '@vueuse/core';
@ -99,7 +100,11 @@ async function handleEnter() {
searchHistory.value.push(to);
handleClose();
await nextTick();
router.push(to.path);
if (isHttpUrl(to.path)) {
window.open(to.path, '_blank');
} else {
router.push({ path: to.path, replace: true });
}
}
}
@ -157,14 +162,14 @@ const code = new Set([
'*',
'+',
'.',
'[',
']',
'?',
'[',
'\\',
']',
'^',
'{',
'}',
'|',
'}',
]);
//

View File

@ -1,5 +1,5 @@
<script setup lang="ts">
import { computed, reactive, ref, watchEffect } from 'vue';
import { computed, reactive, ref } from 'vue';
import { LockKeyhole } from '@vben/icons';
import { $t, useI18n } from '@vben/locales';
@ -36,7 +36,6 @@ const minute = useDateFormat(now, 'mm');
const date = useDateFormat(now, 'YYYY-MM-DD dddd', { locales: locale.value });
const showUnlockForm = ref(false);
const validPass = ref(true);
const { lockScreenPassword } = storeToRefs(lockStore);
const formState = reactive({
@ -44,15 +43,14 @@ const formState = reactive({
submitted: false,
});
const passwordStatus = computed(() => {
if (formState.submitted && !formState.password) {
return 'error';
}
const validPass = computed(
() => lockScreenPassword?.value === formState.password,
);
const passwordStatus = computed(() => {
if (formState.submitted && !validPass.value) {
return 'error';
}
return 'default';
});
@ -62,21 +60,13 @@ const errorTip = computed(() => {
: $t('widgets.lockScreen.errorPasswordTip');
});
watchEffect(() => {
if (!formState.password) {
validPass.value = true;
}
});
function handleSubmit() {
formState.submitted = true;
if (passwordStatus.value !== 'default') {
return;
}
if (lockScreenPassword?.value !== formState.password) {
validPass.value = false;
if (!validPass.value) {
return;
}
lockStore.unlockScreen();
}

View File

@ -23,6 +23,6 @@
"@vben/preferences": "workspace:*",
"@vueuse/core": "^11.0.3",
"echarts": "^5.5.1",
"vue": "^3.5.1"
"vue": "^3.5.2"
}
}

View File

@ -22,7 +22,7 @@
"dependencies": {
"@intlify/core-base": "^9.14.0",
"@vben-core/composables": "workspace:*",
"vue": "^3.5.1",
"vue": "^3.5.2",
"vue-i18n": "^9.14.0"
}
}

View File

@ -24,7 +24,7 @@
"@vben-core/typings": "workspace:*",
"pinia": "2.2.2",
"pinia-plugin-persistedstate": "^3.2.3",
"vue": "^3.5.1",
"vue": "^3.5.2",
"vue-router": "^4.4.3"
}
}

View File

@ -21,7 +21,7 @@
},
"dependencies": {
"@vben-core/typings": "workspace:*",
"vue": "^3.5.1",
"vue": "^3.5.2",
"vue-router": "^4.4.3"
}
}

View File

@ -44,7 +44,7 @@
"ant-design-vue": "^4.2.3",
"dayjs": "^1.11.13",
"pinia": "2.2.2",
"vue": "^3.5.1",
"vue": "^3.5.2",
"vue-router": "^4.4.3"
}
}

File diff suppressed because it is too large Load Diff