-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(@vben/common-ui): add verify component (#4390)
* chore(@vben/common-ui): 增加拖拽校验组件 * chore: 增加样式 * Merge branch 'main' into wangjue-verify-comp * chore: 封装action组件 * chore: 拆分完成拖拽功能 * chore: 样式调整为tailwindcss语法 * chore: 导出check图标 * chore: 拖动的图标变为@vben/icons的 * chore: 完成插槽功能迁移 * fix: ci error * chore: 适配暗黑主题 * chore: 国际化 * chore: resolve conflict * chore: 迁移v2的图片旋转校验组件 * chore: 完善选择校验demo * chore: 转换为tailwindcss * chore: 替换为系统的颜色变量 * chore: 使用interface代替组件的props声明 * chore: 调整props * chore: 优化demo背景 * chore: follow suggest * chore: rm unnecessary style tag * chore: update demo * perf: improve the experience of Captcha components --------- Co-authored-by: vince <[email protected]> Co-authored-by: Vben <[email protected]>
- Loading branch information
1 parent
dbe5b33
commit 000172e
Showing
39 changed files
with
1,017 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div align="center"> <a href="https://github.com/anncwb/vue-vben-admin"> <img alt="VbenAdmin Logo" width="215" src="https://unpkg.com/@vbenjs/[email protected].6/source/logo-v1.webp"> </a> <br> <br> | ||
<div align="center"> <a href="https://github.com/anncwb/vue-vben-admin"> <img alt="VbenAdmin Logo" width="215" src="https://unpkg.com/@vbenjs/[email protected].7/source/logo-v1.webp"> </a> <br> <br> | ||
|
||
[![license](https://img.shields.io/github/license/anncwb/vue-vben-admin.svg)](LICENSE) | ||
|
||
|
@@ -129,7 +129,7 @@ pnpm build | |
|
||
このプロジェクトが役に立つと思われた場合、作者にコーヒーを一杯おごってサポートを示すことができます! | ||
|
||
![donate](https://unpkg.com/@vbenjs/[email protected].6/source/sponsor.png) | ||
![donate](https://unpkg.com/@vbenjs/[email protected].7/source/sponsor.png) | ||
|
||
<a style="display: block;width: 100px;height: 50px;line-height: 50px; color: #fff;text-align: center; background: #408aed;border-radius: 4px;" href="https://www.paypal.com/paypalme/cvvben">Paypal Me</a> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div align="center"> <a href="https://github.com/anncwb/vue-vben-admin"> <img alt="VbenAdmin Logo" width="215" src="https://unpkg.com/@vbenjs/[email protected].6/source/logo-v1.webp"> </a> <br> <br> | ||
<div align="center"> <a href="https://github.com/anncwb/vue-vben-admin"> <img alt="VbenAdmin Logo" width="215" src="https://unpkg.com/@vbenjs/[email protected].7/source/logo-v1.webp"> </a> <br> <br> | ||
|
||
[![license](https://img.shields.io/github/license/anncwb/vue-vben-admin.svg)](LICENSE) | ||
|
||
|
@@ -128,7 +128,7 @@ Support modern browsers, not IE | |
|
||
If you think this project is helpful to you, you can help the author buy a cup of coffee to show your support! | ||
|
||
![donate](https://unpkg.com/@vbenjs/[email protected].6/source/sponsor.png) | ||
![donate](https://unpkg.com/@vbenjs/[email protected].7/source/sponsor.png) | ||
|
||
<a style="display: block;width: 100px;height: 50px;line-height: 50px; color: #fff;text-align: center; background: #408aed;border-radius: 4px;" href="https://www.paypal.com/paypalme/cvvben">Paypal Me</a> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div align="center"> <a href="https://github.com/anncwb/vue-vben-admin"> <img alt="VbenAdmin Logo" width="215" src="https://unpkg.com/@vbenjs/[email protected].6/source/logo-v1.webp"> </a> <br> <br> | ||
<div align="center"> <a href="https://github.com/anncwb/vue-vben-admin"> <img alt="VbenAdmin Logo" width="215" src="https://unpkg.com/@vbenjs/[email protected].7/source/logo-v1.webp"> </a> <br> <br> | ||
|
||
[![license](https://img.shields.io/github/license/anncwb/vue-vben-admin.svg)](LICENSE) | ||
|
||
|
@@ -124,7 +124,7 @@ pnpm build | |
|
||
如果你觉得这个项目对你有帮助,你可以帮作者买一杯咖啡表示支持! | ||
|
||
![donate](https://unpkg.com/@vbenjs/[email protected].6/source/sponsor.png) | ||
![donate](https://unpkg.com/@vbenjs/[email protected].7/source/sponsor.png) | ||
|
||
<a style="display: block;width: 100px;height: 50px;line-height: 50px; color: #fff;text-align: center; background: #408aed;border-radius: 4px;" href="https://www.paypal.com/paypalme/cvvben">Paypal Me</a> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ export const shared = defineConfig({ | |
srcDir: 'src', | ||
themeConfig: { | ||
i18nRouting: true, | ||
logo: 'https://unpkg.com/@vbenjs/[email protected].6/source/logo-v1.webp', | ||
logo: 'https://unpkg.com/@vbenjs/[email protected].7/source/logo-v1.webp', | ||
search: { | ||
options: { | ||
locales: { | ||
|
@@ -138,12 +138,12 @@ function pwa(): PwaOptions { | |
icons: [ | ||
{ | ||
sizes: '192x192', | ||
src: 'https://unpkg.com/@vbenjs/[email protected].6/source/pwa-icon-192.png', | ||
src: 'https://unpkg.com/@vbenjs/[email protected].7/source/pwa-icon-192.png', | ||
type: 'image/png', | ||
}, | ||
{ | ||
sizes: '512x512', | ||
src: 'https://unpkg.com/@vbenjs/[email protected].6/source/pwa-icon-512.png', | ||
src: 'https://unpkg.com/@vbenjs/[email protected].7/source/pwa-icon-512.png', | ||
type: 'image/png', | ||
}, | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ | |
|
||
::: | ||
|
||
<img src="https://unpkg.com/@vbenjs/[email protected].6/source/wechat.jpg" style="width: 300px;"/> | ||
<img src="https://unpkg.com/@vbenjs/[email protected].7/source/wechat.jpg" style="width: 300px;"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,6 @@ | |
- 通过邮箱联系开发者: [[email protected]](mailto:[email protected]) | ||
- 通过微信联系开发者: | ||
|
||
<img src="https://unpkg.com/@vbenjs/[email protected].6/source/wechat.jpg" style="width: 300px;"/> | ||
<img src="https://unpkg.com/@vbenjs/[email protected].7/source/wechat.jpg" style="width: 300px;"/> | ||
|
||
我们会在第一时间回复您,定制费用根据需求而定。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -163,7 +163,7 @@ const defaultPreferences: Preferences = { | |
compact: false, | ||
contentCompact: 'wide', | ||
defaultAvatar: | ||
'https://unpkg.com/@vbenjs/[email protected].6/source/avatar-v1.webp', | ||
'https://unpkg.com/@vbenjs/[email protected].7/source/avatar-v1.webp', | ||
dynamicTitle: true, | ||
enableCheckUpdates: true, | ||
enablePreferences: true, | ||
|
@@ -202,7 +202,7 @@ const defaultPreferences: Preferences = { | |
}, | ||
logo: { | ||
enable: true, | ||
source: 'https://unpkg.com/@vbenjs/[email protected].6/source/logo-v1.webp', | ||
source: 'https://unpkg.com/@vbenjs/[email protected].7/source/logo-v1.webp', | ||
}, | ||
navigation: { | ||
accordion: true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ hero: | |
text: Enterprise-Level Management System Framework | ||
tagline: Fully Upgraded, Ready to Use, Simple and Efficient | ||
image: | ||
src: https://unpkg.com/@vbenjs/[email protected].6/source/logo-v1.webp | ||
src: https://unpkg.com/@vbenjs/[email protected].7/source/logo-v1.webp | ||
alt: Vben Admin | ||
actions: | ||
- theme: brand | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
- 通过邮箱联系作者: [[email protected]](mailto:[email protected]) | ||
- 通过微信联系作者: | ||
|
||
<img src="https://unpkg.com/@vbenjs/[email protected].6/source/wechat.jpg" style="width: 300px;"/> | ||
<img src="https://unpkg.com/@vbenjs/[email protected].7/source/wechat.jpg" style="width: 300px;"/> | ||
|
||
### 提供资料 | ||
|
||
|
@@ -22,6 +22,6 @@ | |
- 名称:Vben Admin | ||
- 链接:https://www.vben.pro | ||
- 描述:Vben Admin 企业级开箱即用的中后台前端解决方案 | ||
- Logo:https://unpkg.com/@vbenjs/[email protected].6/source/logo-v1.webp | ||
- Logo:https://unpkg.com/@vbenjs/[email protected].7/source/logo-v1.webp | ||
|
||
我们将定期的检查友情链接,如果发现您的网站已经删除了我们的友情链接以及链接地址是否正确。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -185,7 +185,7 @@ const defaultPreferences: Preferences = { | |
compact: false, | ||
contentCompact: 'wide', | ||
defaultAvatar: | ||
'https://unpkg.com/@vbenjs/[email protected].6/source/avatar-v1.webp', | ||
'https://unpkg.com/@vbenjs/[email protected].7/source/avatar-v1.webp', | ||
dynamicTitle: true, | ||
enableCheckUpdates: true, | ||
enablePreferences: true, | ||
|
@@ -224,7 +224,7 @@ const defaultPreferences: Preferences = { | |
}, | ||
logo: { | ||
enable: true, | ||
source: 'https://unpkg.com/@vbenjs/[email protected].6/source/logo-v1.webp', | ||
source: 'https://unpkg.com/@vbenjs/[email protected].7/source/logo-v1.webp', | ||
}, | ||
navigation: { | ||
accordion: true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ hero: | |
text: 企业级管理系统框架 | ||
tagline: 全新升级,开箱即用,简单高效 | ||
image: | ||
src: https://unpkg.com/@vbenjs/[email protected].6/source/logo-v1.webp | ||
src: https://unpkg.com/@vbenjs/[email protected].7/source/logo-v1.webp | ||
alt: Vben Admin | ||
actions: | ||
- theme: brand | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
如果你觉得这个项目对你有帮助,你可以帮作者买一杯咖啡表示支持! | ||
|
||
![](https://unpkg.com/@vbenjs/[email protected].6/source/sponsor.png) | ||
![](https://unpkg.com/@vbenjs/[email protected].7/source/sponsor.png) | ||
|
||
您的赞助将帮助我们: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,12 @@ const getDefaultPwaOptions = (name: string): Partial<PwaPluginOptions> => ({ | |
icons: [ | ||
{ | ||
sizes: '192x192', | ||
src: 'https://unpkg.com/@vbenjs/[email protected].6/source/pwa-icon-192.png', | ||
src: 'https://unpkg.com/@vbenjs/[email protected].7/source/pwa-icon-192.png', | ||
type: 'image/png', | ||
}, | ||
{ | ||
sizes: '512x512', | ||
src: 'https://unpkg.com/@vbenjs/[email protected].6/source/pwa-icon-512.png', | ||
src: 'https://unpkg.com/@vbenjs/[email protected].7/source/pwa-icon-512.png', | ||
type: 'image/png', | ||
}, | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ export { | |
ArrowUpToLine, | ||
Bell, | ||
BookOpenText, | ||
Check, | ||
ChevronDown, | ||
ChevronLeft, | ||
ChevronRight, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ export const VBEN_DOC_URL = 'https://doc.vben.pro'; | |
* @zh_CN Vben Logo | ||
*/ | ||
export const VBEN_LOGO_URL = | ||
'https://unpkg.com/@vbenjs/[email protected].6/source/logo-v1.webp'; | ||
'https://unpkg.com/@vbenjs/[email protected].7/source/logo-v1.webp'; | ||
|
||
/** | ||
* @zh_CN Vben Admin 首页地址 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ exports[`defaultPreferences immutability test > should not modify the config obj | |
"colorWeakMode": false, | ||
"compact": false, | ||
"contentCompact": "wide", | ||
"defaultAvatar": "https://unpkg.com/@vbenjs/[email protected].6/source/avatar-v1.webp", | ||
"defaultAvatar": "https://unpkg.com/@vbenjs/[email protected].7/source/avatar-v1.webp", | ||
"dynamicTitle": true, | ||
"enableCheckUpdates": true, | ||
"enablePreferences": true, | ||
|
@@ -49,7 +49,7 @@ exports[`defaultPreferences immutability test > should not modify the config obj | |
}, | ||
"logo": { | ||
"enable": true, | ||
"source": "https://unpkg.com/@vbenjs/[email protected].6/source/logo-v1.webp", | ||
"source": "https://unpkg.com/@vbenjs/[email protected].7/source/logo-v1.webp", | ||
}, | ||
"navigation": { | ||
"accordion": true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ const defaultPreferences: Preferences = { | |
compact: false, | ||
contentCompact: 'wide', | ||
defaultAvatar: | ||
'https://unpkg.com/@vbenjs/[email protected].6/source/avatar-v1.webp', | ||
'https://unpkg.com/@vbenjs/[email protected].7/source/avatar-v1.webp', | ||
dynamicTitle: true, | ||
enableCheckUpdates: true, | ||
enablePreferences: true, | ||
|
@@ -49,7 +49,7 @@ const defaultPreferences: Preferences = { | |
}, | ||
logo: { | ||
enable: true, | ||
source: 'https://unpkg.com/@vbenjs/[email protected].6/source/logo-v1.webp', | ||
source: 'https://unpkg.com/@vbenjs/[email protected].7/source/logo-v1.webp', | ||
}, | ||
navigation: { | ||
accordion: true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
export { default as CaptchaCard } from './captcha-card.vue'; | ||
export { default as PointSelectionCaptcha } from './point-selection-captcha.vue'; | ||
export { default as PointSelectionCaptcha } from './point-selection-captcha/index.vue'; | ||
export { default as PointSelectionCaptchaCard } from './point-selection-captcha/index.vue'; | ||
|
||
export { default as SliderCaptcha } from './slider-captcha/index.vue'; | ||
export { default as SliderRotateCaptcha } from './slider-rotate-captcha/index.vue'; | ||
export type * from './types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.