Commit Graph

174 Commits (91d720f6a57054b78410c6000e480dfc62a18a53)

Author SHA1 Message Date
Vben 0df8c5c02c
refactor: reconstruct language files into multi-file structures (#4683)
* refactor: reconstruct language files into multi-file structures

* chore: typo
2024-10-19 14:28:21 +08:00
Vben 240f0b5f8d
perf: improved exception handling when request status code is 200 (#4679) 2024-10-18 22:00:41 +08:00
dependabot[bot] a0fbe0b21a
chore(deps): bump tailwindcss from 3.4.13 to 3.4.14 in the non-breaking-changes group (#4650)
* chore(deps): bump tailwindcss in the non-breaking-changes group

Bumps the non-breaking-changes group with 1 update: [tailwindcss](https://github.com/tailwindlabs/tailwindcss).


Updates `tailwindcss` from 3.4.13 to 3.4.14
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.14/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.13...v3.4.14)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: update deps

* chore: lint fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 21:23:11 +08:00
Vben 6c4a742627
refactor: remove the adapter bucket introduction pattern and improve potential introduction timing (#4635)
* refactor: remove the adapter bucket introduction pattern and improve potential introduction timing

* chore: update deps
2024-10-14 22:53:23 +08:00
Vben 24d14c2841
refactor(adapter): separate form and component adapters so that components adapt to components other than the form (#4628)
* refactor: global components can be customized

* refactor: remove use Toast and reconstruct the form adapter
2024-10-13 18:33:43 +08:00
Vben ba4662522e
fix: fix request not displaying interface error messages correctly (#4596) 2024-10-09 22:08:55 +08:00
Vben 60c615ce8a
refactor: adjust layout refresh button and watermark; allow static i18n on language switch (#4579)
* refactor: adjust layout refresh button and watermark; allow static i18n on language switch

* chore: typo
2024-10-06 17:27:32 +08:00
Vben d37e2f599c
fix: naive ui form reset does not meet expectations (#4569)
* fix: naive ui form reset does not meet expectations

* fix: typo
2024-10-05 17:09:42 +08:00
Vben 4173264805
feat: add vxe-table component (#4563)
* chore: wip vxe-table

* feat: add table demo

* chore: follow ci recommendations to adjust details

* chore: add custom-cell demo

* feat: add custom-cell table demo

* feat: add table from demo
2024-10-04 23:05:28 +08:00
Vben 0cd865e211
fix: fixed an error in the form onChange within Naive (#4558)
* fix: fixed an error in the form onChange within Naive

* chore: update
2024-10-03 14:22:18 +08:00
LinaBell aed31a5a4e
perf: [antd] default placeholder for input and select components (#4551)
* chore: demo of customizing form layout using tailwind

* perf: default placeholder for input and select components

* chore: update ts type

* chore: extract public methods
2024-10-03 13:04:19 +08:00
Vben a46c85d77d
chore: update documentation and deps (#4510)
* chore: update docs

* chore: update deps

* chore: update action

* fix: reset after preferences are refreshed

* fix: ci error
2024-09-25 23:09:48 +08:00
Vben f815dcf3ae
fix: after deleting the form item, you will also get the form value (#4481)
* fix: after deleting the form item, you will also get the form value
2024-09-23 22:59:58 +08:00
Vben 5ce3a18785
docs: update docs (#4466)
* chore: fixed known issues with form components

* docs: add vben form doc
2024-09-22 14:16:06 +08:00
Vben dac80703d9
feat: add sliding verification to the login form (#4461) 2024-09-21 21:51:40 +08:00
LinaBell fbd23701de
feat: default form validation rules applicable to selector components (#4442)
* fix: hover border style same as antd style when validate error

* fix: hover border style same as antd style when validate error

* feat(@vben-core/form-ui): Default form validation rules applicable to selector components

---------
2024-09-20 09:46:03 +08:00
Vben df48409814
fix: when the api returns 401, the page is refreshed not as expected (#4440) 2024-09-19 23:03:20 +08:00
Vben 9e88b8004f
fix: try to fix the ci error (#4381) 2024-09-12 22:43:37 +08:00
Vben 76a879d4d8
fix: fixed some style issues (#4379) 2024-09-12 22:03:58 +08:00
Li Kui 8f6bf6add3
perf: update menu icons (#4357) 2024-09-11 16:23:24 +08:00
Vben 524b9badf2
feat: add VbenForm component (#4352)
* feat: add form component

* fix: build error

* feat: add form adapter

* feat: add some component

* feat: add some component

* feat: add example

* feat: suppoer custom action button

* chore: update

* feat: add example

* feat: add formModel,formDrawer demo

* fix: build error

* fix: typo

* fix: ci error

---------

Co-authored-by: jinmao <jinmao88@qq.com>
Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
2024-09-10 21:48:51 +08:00
Vben 8404c12129
refactor: refactor AuthLayout to configure the login page more freely (#4294) 2024-08-31 21:38:24 +08:00
afe1 a7d322019e
style: optimize dashboard in small screen styles and demo (#4293) 2024-08-31 21:24:48 +08:00
afe1 071cc0dcec
style: optimize dashboard in small screen styles (#4288)
Co-authored-by: afe1 <yunfei.zhu@nwowtec.com>
2024-08-31 13:06:53 +08:00
Li Kui 08acaf05f1
fix: solve the problem of recursive call to logout api (#4265) 2024-08-28 22:37:47 +08:00
Vben 8a0b1e0c72
refactor: package chart-ui integrated into plugins (#4238)
* refactor: package chart-ui integrated into plugins

* fix: lint error
2024-08-26 21:42:56 +08:00
Li Kui cd652941cd
fix: switching language does not load the translation of the component correctly (#4205)
closes #4191
2024-08-21 10:06:06 +08:00
Vben 2288827265
fix: fixed the failure to refresh the page when login failed (#4204) 2024-08-20 22:33:25 +08:00
Li Kui 01d60336a6
feat: refactor and improve the request client and support refreshToken (#4157)
* feat: refreshToken

* chore: store refreshToken

* chore: generate token using jsonwebtoken

* chore: set refreshToken in httpOnly cookie

* perf: authHeader verify

* chore: add add response interceptor

* chore: test refresh

* chore: handle logout

* chore: type

* chore: update pnpm-lock.yaml

* chore: remove test code

* chore: add todo comment

* chore: update pnpm-lock.yaml

* chore: remove default interceptors

* chore: copy codes

* chore: handle refreshToken invalid

* chore: add refreshToken preference

* chore: typo

* chore: refresh token逻辑调整

* refactor: interceptor presets

* chore: copy codes

* fix: ci errors

* chore: add missing await

* feat: 完善refresh-token逻辑及文档

* fix: ci error

* chore: filename

---------

Co-authored-by: vince <vince292007@gmail.com>
2024-08-19 22:59:42 +08:00
Vben 3c17f4e9f8
perf: all icons used in the core are offline (#4173)
* perf: all icons used in the core are offline

* chore: update default icon

* chore: update shadow
2024-08-17 21:11:07 +08:00
Vben 4793c4c0db
perf: staticRoutes is renamed externalRoutes (#4143) 2024-08-13 21:48:01 +08:00
Vben 517acada1a
refactor: adjust all sample pages and use page components (#4118) 2024-08-11 20:05:52 +08:00
Vben b464b87ac5
refactor: migrate demo applications to playground (#4116)
* chore: detail adjustment

* refactor: Migrate demo applications to playground

* perf: logic optimization

* chore: update docs

* chore: update docs
2024-08-11 16:09:32 +08:00
Netfan 9d6cc22dfa
fix: missing route data in guard, fixed: #4108 (#4115) 2024-08-11 09:25:55 +08:00
invalid w f1e0278bd8
chore: define examples router & add ellipsis comp (#4019)
* chore: define components router

* chore: 组件路由放置到演示路由下

* Revert "chore: 组件路由放置到演示路由下"

This reverts commit 3c24632ad51f031cf95aafa49183d7c5538098bb.

* chore: typo

* chore: 增加密码强度组件

* chore: 国际化密码强度的菜单

* chore(@vben/web-antd): 迁移文本省略组件

* chore: typo

* chore: 组件命名方式遵从packages

* chore: Optimize the onExpand function

* chore: update css

* chore(@vben/web-antd): optimize the getPosition function

* chore: add ellipsis-text in comm-ui

* chore: 文本省略组件迁移至common-ui

* feat(@vben/common-ui): Tooltip的tip支持style传参

* chore: 优化组件渲染

* chore: 使用css module解决样式冲突

* chore: update props

* chore: 优化css

* chore: rm unuse attr

---------

Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
2024-08-09 10:57:46 +08:00
sea 08391ad53e
feat: api suffix (#4065) 2024-08-07 13:42:33 +08:00
Donny Wang e27be2d47a
fix: successful login should not take you to the login page (#4056)
* fix: successful login should not take you to the login page

* chore: use DEFAULT_HOME_PATH constants

* chore: remove invalid spaces in script

* fix: lint error
2024-08-06 21:52:06 +08:00
Vben 4f5783d00b
perf: enable strict ts type checking (#4045) 2024-08-05 21:12:22 +08:00
likui628 fd03b7c000 chore: update router locales 2024-08-01 12:53:02 +08:00
vben 9b98b3190e chore: update deps 2024-08-01 00:06:36 +08:00
vben 546ff7caeb chore: Update the preview address 2024-08-01 00:01:39 +08:00
vben a26630b6e0 feat: Support multiple application launch scripts 2024-07-31 00:29:15 +08:00
vben fdee2d2239 feat: add naive app 2024-07-31 00:19:17 +08:00
vben 89dcf522f5 refactor: Separate store 2024-07-30 21:10:28 +08:00
vben cf0ec053e4 refactor: Integrate the @vben-core/shared package 2024-07-30 21:05:03 +08:00
vben cd10eb9471 feat: Regular monitoring page update [deploy] 2024-07-29 22:35:18 +08:00
vince 66fd052709 fix: fix known issues. fixed #59,fixed #61, fixed #67, fixed #68 [deploy] 2024-07-29 00:19:26 +08:00
vben 5590cc8fa1 chore: update theme 2024-07-28 17:01:19 +08:00
Vben 376fd17a61
feat: Feature/pro docs (#70)
* chore: merge main

* feat: update docs

* feat: remove coze-assistant

* feat: add watermark plugin

* feat: update preferences

* feat: update docs

---------

Co-authored-by: vince <vince292007@gmail.com>
2024-07-28 14:29:05 +08:00
vince 14538f7ed5 refactor(project): re-adjust the overall folder 2024-07-23 00:03:59 +08:00
vben a1a566cb2f chore: update deps 2024-07-20 23:01:49 +08:00
vben 480580f104 feat: add 'maxNumOfOpenTab' to limit the maximum number of tabs with the same name 2024-07-20 11:14:32 +08:00
vben 30d4057216 feat: add tabs demo 2024-07-20 09:36:10 +08:00
vben 1fbf69e6eb chore: Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin-pro 2024-07-20 08:37:51 +08:00
vben 9987451647 feat: use simpler nitro instead of nestjs to implement mock service 2024-07-20 08:31:05 +08:00
likui628 0e13412f27 fix: page not found when clicked breadcrumb 2024-07-19 20:29:41 +08:00
vince 9ec91ac16d feat: add breadcrumb navigation example 2024-07-19 01:26:13 +08:00
vince 276ef2ebc3 fix: fix a series of known problems,fixed #54 2024-07-18 21:59:18 +08:00
vince 01e95e029f feat: add v-access directive 2024-07-18 21:31:34 +08:00
vince 910a3553ac perf: reorganize the icons and reduce the volume 2024-07-17 22:25:27 +08:00
vince c2c32332d3 fix: shake when adding tabs 2024-07-16 22:07:28 +08:00
Li Kui 9021e992ad fix: resolve redirect not found issue and remove /demos prefix
- Resolved the issue where redirects were not found in the router
- Standardized the removal of the /demos prefix from routes
2024-07-16 07:59:58 +08:00
vince f95d9aa609 perf: improve overall theme color matching 2024-07-15 23:53:58 +08:00
vben ebf73b2df9 refactor(project): remove the use of core internal bem syntax 2024-07-14 16:32:13 +08:00
likui628 d1a19c525f chore: fix typecheck fail 2024-07-14 14:02:55 +08:00
likui628 3a7b5c2965 fix: resolve responsive layout issues 2024-07-14 11:17:40 +08:00
vben 7eff46d80c refactor(project): business changed its name to effects, and universal-ui changed its name to common-ui 2024-07-13 17:25:15 +08:00
vben 5e0b01c725 feat: add @vben/hooks and @vben-core/constants 2024-07-13 16:53:22 +08:00
vben daa31f7156 refactor(project): simplified part of the package, code optimization 2024-07-13 16:35:47 +08:00
vben 5784d718c0 chore: update deps 2024-07-13 14:49:49 +08:00
Li Kui ba780a7d3f chore: update access demo 2024-07-13 11:49:18 +08:00
Li Kui 7801a90dcb
refactor: unify frontend and backend access control with shared page … (#43)
* refactor: unify frontend and backend access control with shared page components

* fix: role switch not show

* chore: update title
2024-07-13 11:26:36 +08:00
Li Kui 10b684832d
fix: back to login does not clear lock-screen state (#41)
* refactor: replace separate date variables with formatted date string

* fix: back to login does not clear lock-screen state
2024-07-12 22:22:36 +08:00
Laychen 06f5d5686d
feat: add the ability to lock the screen (#30)
* feat: 锁屏功能

* feat: 锁屏样式调整

* feat: complete the lock-screen screen and support shortcut keys and preference configuration

---------

Co-authored-by: vince <vince292007@gmail.com>
2024-07-12 12:14:09 +08:00
likui628 102249e0f3 Merge branch 'main' into small-change 2024-07-11 22:53:06 +08:00
likui628 2c79ac1e6c refactor: small refactor in @vben-core/request 2024-07-11 22:50:21 +08:00
vince c4c8103af2 perf: improve the login process 2024-07-11 21:48:56 +08:00
vince d62a3da009 perf: improve the logic related to login expiration 2024-07-11 20:11:11 +08:00
Li Kui 8e6c1abf19
feat: login dialog (#37)
* chore: login-dialog demo

* Merge branch 'main' into login-dialog

* chore: update dialog

* Merge branch 'main' into login-dialog

* chore: accept login params

* chore: redirect to login or show login dialog
2024-07-11 11:05:01 +08:00
vince 95b6bcce6a feat: can also see the menu without permission, but jump to 403 2024-07-10 22:13:55 +08:00
vince 4674380266 perf: optimize the naming of locale key 2024-07-10 21:55:16 +08:00
vince a765d3bbc0 feat: new interface pendant can be configured to display hidden 2024-07-10 21:20:11 +08:00
vince db76325d68 feat: configurable persistent tabs 2024-07-10 00:50:41 +08:00
vince 2731a1ec96 refactor(@vben/layouts): remove @vben/widgets and migrate to @vben/layouts/src/widgets 2024-07-09 22:49:36 +08:00
vince 04a1533a1e refactor: splitting and reorganizing style files 2024-07-08 22:30:19 +08:00
vben 6147d13a29 docs: update docs 2024-07-07 23:52:19 +08:00
vben e68e1b40ce perf: add eslint import rules, improve the coupling of some components 2024-07-07 22:14:40 +08:00
Li Kui fbe0fc1738
chore: conditionally display notification dot (#31) 2024-07-07 16:19:17 +08:00
vben fd61d2efc4 perf: remove the side effects of @vben-core/locales 2024-07-07 02:00:51 +08:00
vben 208d4188fc refactor: refactor locales, separate locales within apps,fixed #12 2024-07-07 00:17:44 +08:00
vben 826907f6c3 fix: fix content style error when footer is not fixed 2024-07-06 15:49:21 +08:00
vben 1425f1d11d feat: Preferences support clearing the cache and logging out 2024-07-06 14:41:18 +08:00
vben 37a4f971c8 feat: Improve the front-end and back-end permission mode and useAccess 2024-07-06 13:28:08 +08:00
vince a60467b01c feat: Improve the front-end permission access logic and sample code 2024-07-05 23:51:50 +08:00
vince dd71988253 chore: update deps 2024-07-05 23:22:37 +08:00
vince 8042e2b044 perf: Improve the use of store in the app 2024-07-05 23:15:46 +08:00
Li Kui b92ca41aa2 fix: fix 'page not found' error on clicking breadcrumbs 2024-07-04 10:03:58 +08:00
vben 692225cfff chore: remove sqlite 2024-06-30 22:28:35 +08:00
vben 9572d1a1c5 feat: Dynamically get the menu from the back end 2024-06-30 15:03:37 +08:00
vben 1d70d71537 feat: Support dayjs and component library in multiple languages 2024-06-30 15:42:30 +08:00