Commit Graph

21 Commits (5ca746b021c8dfab6d8eb9f7961eb515bc45df9d)

Author SHA1 Message Date
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
Li Kui 3015912f1a
feat: page component (#4087)
* feat: page component

* chore: basic page

* chore: add demos

* chore: add header-sticky support

* chore: update web-ele

* chore: rename slot name

---------

Co-authored-by: Vben <ann.vben@gmail.com>
2024-08-11 16:29:39 +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
falcon-jin 654bf90c0d
fix: missing route data in guard of web-ele and web-naive, fixed: #4108 (#4115) (#4117) 2024-08-11 15:49:17 +08:00
sea 08391ad53e
feat: api suffix (#4065) 2024-08-07 13:42:33 +08:00
jinmao88 d9ba9917ff
fix: an error was reported in the adaptation of the naive component library theme (#4041)
* fix: naive组件库 主题适配报错,需将hsl转换为rgb格式

* feat: 增加NDataTable示例

* chore: hsl转换函数移动到@vben/utils内

* fix: 优化正则表达式

* fix: 优化正则表达式2

* fix: 正则表达式优化,优化hlsStringToRGB函数

* fix: 使用tinyColor进行转换

* Update packages/@core/base/shared/src/colorful/convert.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: lint error

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: vince <vince292007@gmail.com>
2024-08-07 12:13:54 +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
Li Kui 0c18912f4e
fix: typo (#4047) 2024-08-06 10:02:48 +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 9a6e29c401 fix: element theme adjustment 2024-07-31 22:11:39 +08:00
Li Kui 1c9525a013 chore(@vben/web-naive): Import on demand 2024-07-31 21:48:37 +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