Commit Graph

346 Commits

Author SHA1 Message Date
Vben d71a20ad0a
perf: improve tabs-view scrolling (#4164) 2024-08-15 23:30:07 +08:00
P2K0 eb280ffeb7
feat: add left and right scroll buttons to Tabs bar (#4161) (#4162) 2024-08-15 21:54:55 +08:00
Vben debb32d353
fix: page spinner is styled incorrectly when scrolling (#4163)
* feat: add contributor information to documents

* fix: page spinner is styled incorrectly when scrolling
2024-08-15 21:48:52 +08:00
Zhang Zhi Chao 11551903f0
fix: newTabTitle does not work as expected (#4160)
* fix: cloneDeep tab close #4158

* Revert "fix: cloneDeep tab close #4158"

This reverts commit 8e2f4b39ad7442768bac964c6a113e5084b320a7.

* fix:  deep clone meta.newTabTitle
2024-08-15 21:47:54 +08:00
vben e2d9d08ced chore: release v5.1.0 [skip ci] 2024-08-14 23:04:44 +08:00
Vben 30223f18db
feat: supports specifying the position of the preference button (#4154) 2024-08-14 23:02:39 +08:00
Vben 9c6e059aac
chore: semiDarkMenu renamed semiDarkSidebar (#4152) 2024-08-14 22:20:10 +08:00
Vben 8f40d5107c
feat: support custom background colors for sidebar and header (#4151)
* feat: support custom background colors for sidebar and header

* fix: type error
2024-08-14 21:47:37 +08:00
Vben 83fcdec37c
feat: add swap component (#4149) 2024-08-14 20:37:21 +08:00
dependabot[bot] b28740042b
chore(deps): bump the non-breaking-changes group with 5 updates (#4147)
Bumps the non-breaking-changes group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [lint-staged](https://github.com/lint-staged/lint-staged) | `15.2.8` | `15.2.9` |
| [@iconify/json](https://github.com/iconify/icon-sets) | `2.2.236` | `2.2.237` |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `50.0.1` | `50.2.0` |
| [radix-vue](https://github.com/radix-vue/radix-vue) | `1.9.3` | `1.9.4` |
| [axios](https://github.com/axios/axios) | `1.7.3` | `1.7.4` |


Updates `lint-staged` from 15.2.8 to 15.2.9
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v15.2.8...v15.2.9)

Updates `@iconify/json` from 2.2.236 to 2.2.237
- [Commits](https://github.com/iconify/icon-sets/compare/2.2.236...2.2.237)

Updates `eslint-plugin-jsdoc` from 50.0.1 to 50.2.0
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v50.0.1...v50.2.0)

Updates `radix-vue` from 1.9.3 to 1.9.4
- [Release notes](https://github.com/radix-vue/radix-vue/releases)
- [Commits](https://github.com/radix-vue/radix-vue/compare/v1.9.3...v1.9.4)

Updates `axios` from 1.7.3 to 1.7.4
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.3...v1.7.4)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: "@iconify/json"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: radix-vue
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-14 05:45:17 +08:00
Li Kui 6a1e6ad99f
fix: the translation is incorrect when switching languages for the first time (#4146)
* fix: the translation is incorrect when switching languages for the first time

closes #4138

* chore: merge locale message even if default locale not exist
2024-08-14 05:29:31 +08:00
Vben 3b0f72330a
fix: automatic hiding and displaying of headers can only be used on content (#4145) 2024-08-13 22:09:46 +08:00
Li Kui 963e79063f
fix: some icons behave inconsistently on menu and tab (#4144) 2024-08-13 22:07:02 +08:00
Vben 4793c4c0db
perf: staticRoutes is renamed externalRoutes (#4143) 2024-08-13 21:48:01 +08:00
Li Kui 1a4d61cc17
fix: type `Component` is not assignable to `RouteMeta` (#4140)
* fix: type `Component` is not assignable to `RouteMeta`

* fix: ci fail
2024-08-13 21:30:14 +08:00
Vben 738bc456c8
perf: improve login page UI (#4142)
* perf: improve login page UI

* chore: update docs
2024-08-13 21:17:10 +08:00
invalid w e8dff517ba
fix(@vben/common-ui): text omission component expansion exception (#4139)
* fix(@vben/common-ui): 修复文本省略组件展开异常

* chore: 增加点击展开切换的测试
2024-08-13 20:58:47 +08:00
Netfan 843ec1e749
fix: tab close by key, fixed: #4132 (#4136) 2024-08-13 11:49:02 +08:00
dependabot[bot] bf021a0578
chore(deps): bump the non-breaking-changes group with 10 updates (#4131)
Bumps the non-breaking-changes group with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell) | `8.13.2` | `8.13.3` |
| [@iconify/json](https://github.com/iconify/icon-sets) | `2.2.235` | `2.2.236` |
| [vite-plugin-vue-devtools](https://github.com/vuejs/devtools-next/tree/HEAD/packages/vite) | `7.3.7` | `7.3.8` |
| [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.8.0` | `9.9.0` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `8.0.1` | `8.1.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `8.0.1` | `8.1.0` |
| [eslint](https://github.com/eslint/eslint) | `9.8.0` | `9.9.0` |
| [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `50.0.0` | `50.0.1` |
| [eslint-plugin-unused-imports](https://github.com/sweepline/eslint-plugin-unused-imports) | `4.1.2` | `4.1.3` |
| [tailwind-merge](https://github.com/dcastil/tailwind-merge) | `2.4.0` | `2.5.2` |


Updates `cspell` from 8.13.2 to 8.13.3
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v8.13.3/packages/cspell)

Updates `@iconify/json` from 2.2.235 to 2.2.236
- [Commits](https://github.com/iconify/icon-sets/compare/2.2.235...2.2.236)

Updates `vite-plugin-vue-devtools` from 7.3.7 to 7.3.8
- [Release notes](https://github.com/vuejs/devtools-next/releases)
- [Commits](https://github.com/vuejs/devtools-next/commits/v7.3.8/packages/vite)

Updates `@eslint/js` from 9.8.0 to 9.9.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.9.0/packages/js)

Updates `@typescript-eslint/eslint-plugin` from 8.0.1 to 8.1.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.1.0/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 8.0.1 to 8.1.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.1.0/packages/parser)

Updates `eslint` from 9.8.0 to 9.9.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.8.0...v9.9.0)

Updates `eslint-plugin-jsdoc` from 50.0.0 to 50.0.1
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v50.0.0...v50.0.1)

Updates `eslint-plugin-unused-imports` from 4.1.2 to 4.1.3
- [Commits](https://github.com/sweepline/eslint-plugin-unused-imports/compare/v4.1.2...v4.1.3)

Updates `tailwind-merge` from 2.4.0 to 2.5.2
- [Release notes](https://github.com/dcastil/tailwind-merge/releases)
- [Commits](https://github.com/dcastil/tailwind-merge/compare/v2.4.0...v2.5.2)

---
updated-dependencies:
- dependency-name: cspell
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: "@iconify/json"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: vite-plugin-vue-devtools
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: eslint-plugin-unused-imports
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: tailwind-merge
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 08:05:59 +08:00
Vben 7b46780af7
perf: optimize the diffPreferences logic and adjust the unit test (#4130) 2024-08-12 21:05:01 +08:00
Vben 3f9ce63868
feat: support vue file unit testing, add some components unit testing (#4119) 2024-08-11 21:01:22 +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
afe1 7a9ad7de63
perf: remove duplicate code (#4083)
Co-authored-by: afe1 <yunfei.zhu@nwowtec.com>
Co-authored-by: Vben <ann.vben@gmail.com>
2024-08-10 18:58:10 +08:00
Netfan cdeadafda5
fix: activePath not working in menu, fixed: #4112 (#4113) 2024-08-10 18:54:57 +08:00
Netfan ec49a04151
fix: use correct route data in tabbar, fixed: #4107 (#4110) 2024-08-10 16:33:38 +08:00
P2K0 4d4327cb25
fix: TabsToolMore cannot be opened in a new window (#4107) (#4109) 2024-08-10 16:31:09 +08:00
Vben 8725a01301
fix: inconsistent performance between breadcrumbs and tabs (#4105) 2024-08-10 10:30:15 +08:00
dependabot[bot] 07cdebb7f1
chore(deps): bump the non-breaking-changes group with 6 updates (#4103)
Bumps the non-breaking-changes group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.1.0` | `22.2.0` |
| [cssnano](https://github.com/cssnano/cssnano) | `7.0.4` | `7.0.5` |
| [vite-plugin-dts](https://github.com/qmhc/vite-plugin-dts) | `4.0.1` | `4.0.2` |
| [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) | `0.6.5` | `0.6.6` |
| [lucide-vue-next](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-vue-next) | `0.426.0` | `0.427.0` |
| [element-plus](https://github.com/element-plus/element-plus) | `2.7.8` | `2.8.0` |


Updates `@types/node` from 22.1.0 to 22.2.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `cssnano` from 7.0.4 to 7.0.5
- [Release notes](https://github.com/cssnano/cssnano/releases)
- [Commits](https://github.com/cssnano/cssnano/compare/cssnano@7.0.4...cssnano@7.0.5)

Updates `vite-plugin-dts` from 4.0.1 to 4.0.2
- [Release notes](https://github.com/qmhc/vite-plugin-dts/releases)
- [Changelog](https://github.com/qmhc/vite-plugin-dts/blob/main/CHANGELOG.md)
- [Commits](https://github.com/qmhc/vite-plugin-dts/compare/v4.0.1...v4.0.2)

Updates `prettier-plugin-tailwindcss` from 0.6.5 to 0.6.6
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.6.5...v0.6.6)

Updates `lucide-vue-next` from 0.426.0 to 0.427.0
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/0.427.0/packages/lucide-vue-next)

Updates `element-plus` from 2.7.8 to 2.8.0
- [Release notes](https://github.com/element-plus/element-plus/releases)
- [Changelog](https://github.com/element-plus/element-plus/blob/dev/CHANGELOG.en-US.md)
- [Commits](https://github.com/element-plus/element-plus/compare/2.7.8...2.8.0)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: cssnano
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: vite-plugin-dts
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: lucide-vue-next
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: element-plus
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-10 09:07:16 +08:00
Vben 344c499462
fix: when borderRaidus is a string, the component displays an exception (#4102) 2024-08-09 23:43:32 +08:00
z9130 2687cb11dd 订餐补助功能 2024-08-09 19:22:49 +08:00
aonoa 5b56c300ab
perf: correct cloneDeep spelling errors [skip ci] (#4099)
Signed-off-by: aonoa <1991849113@qq.com>
2024-08-09 18:24:52 +08:00
dependabot[bot] ca164b0f9b
chore(deps): bump the non-breaking-changes group with 14 updates (#4092)
* chore(deps): bump the non-breaking-changes group with 14 updates

Bumps the non-breaking-changes group with 14 updates:

| Package | From | To |
| --- | --- | --- |
| [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell) | `8.13.1` | `8.13.2` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss) | `3.4.7` | `3.4.9` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.3.5` | `5.4.0` |
| [@iconify/json](https://github.com/iconify/icon-sets) | `2.2.234` | `2.2.235` |
| [@tailwindcss/typography](https://github.com/tailwindlabs/tailwindcss-typography) | `0.5.13` | `0.5.14` |
| [vite-plugin-dts](https://github.com/qmhc/vite-plugin-dts) | `4.0.0` | `4.0.1` |
| [eslint-plugin-perfectionist](https://github.com/azat-io/eslint-plugin-perfectionist) | `3.1.2` | `3.1.3` |
| [eslint-plugin-unused-imports](https://github.com/sweepline/eslint-plugin-unused-imports) | `4.0.1` | `4.1.2` |
| [vue](https://github.com/vuejs/core) | `3.4.36` | `3.4.37` |
| [pinia](https://github.com/vuejs/pinia) | `2.2.0` | `2.2.1` |
| [lucide-vue-next](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-vue-next) | `0.424.0` | `0.426.0` |
| [@vue/shared](https://github.com/vuejs/core/tree/HEAD/packages/shared) | `3.4.36` | `3.4.37` |
| [@vueuse/core](https://github.com/vueuse/vueuse/tree/HEAD/packages/core) | `10.11.0` | `10.11.1` |
| [@vueuse/integrations](https://github.com/vueuse/vueuse/tree/HEAD/packages/integrations) | `10.11.0` | `10.11.1` |


Updates `cspell` from 8.13.1 to 8.13.2
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v8.13.2/packages/cspell)

Updates `tailwindcss` from 3.4.7 to 3.4.9
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.9/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.7...v3.4.9)

Updates `vite` from 5.3.5 to 5.4.0
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@5.4.0/packages/vite)

Updates `@iconify/json` from 2.2.234 to 2.2.235
- [Commits](https://github.com/iconify/icon-sets/compare/2.2.234...2.2.235)

Updates `@tailwindcss/typography` from 0.5.13 to 0.5.14
- [Release notes](https://github.com/tailwindlabs/tailwindcss-typography/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-typography/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.13...v0.5.14)

Updates `vite-plugin-dts` from 4.0.0 to 4.0.1
- [Release notes](https://github.com/qmhc/vite-plugin-dts/releases)
- [Changelog](https://github.com/qmhc/vite-plugin-dts/blob/main/CHANGELOG.md)
- [Commits](https://github.com/qmhc/vite-plugin-dts/compare/v4.0.0...v4.0.1)

Updates `eslint-plugin-perfectionist` from 3.1.2 to 3.1.3
- [Release notes](https://github.com/azat-io/eslint-plugin-perfectionist/releases)
- [Changelog](https://github.com/azat-io/eslint-plugin-perfectionist/blob/main/changelog.md)
- [Commits](https://github.com/azat-io/eslint-plugin-perfectionist/compare/v3.1.2...v3.1.3)

Updates `eslint-plugin-unused-imports` from 4.0.1 to 4.1.2
- [Commits](https://github.com/sweepline/eslint-plugin-unused-imports/commits/v4.1.2)

Updates `vue` from 3.4.36 to 3.4.37
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/compare/v3.4.36...v3.4.37)

Updates `pinia` from 2.2.0 to 2.2.1
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/pinia@2.2.0...pinia@2.2.1)

Updates `lucide-vue-next` from 0.424.0 to 0.426.0
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/0.426.0/packages/lucide-vue-next)

Updates `@vue/shared` from 3.4.36 to 3.4.37
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/commits/v3.4.37/packages/shared)

Updates `@vueuse/core` from 10.11.0 to 10.11.1
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v10.11.1/packages/core)

Updates `@vueuse/integrations` from 10.11.0 to 10.11.1
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v10.11.1/packages/integrations)

---
updated-dependencies:
- dependency-name: cspell
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: tailwindcss
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: vite
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: "@iconify/json"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: "@tailwindcss/typography"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: vite-plugin-dts
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: eslint-plugin-perfectionist
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: eslint-plugin-unused-imports
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: pinia
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: lucide-vue-next
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: "@vue/shared"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: "@vueuse/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: "@vueuse/integrations"
  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 pnpm.overrides

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: vince <vince292007@gmail.com>
2024-08-09 14:31:48 +08:00
invalid w 9487156938
chore: add colorInfo in SeedToken (#4096)
resolve #4095
2024-08-09 14:01:34 +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
Li Kui de90b07b6f
fix: menu-badge color not correct (#4089) 2024-08-09 10:52:47 +08:00
vben 3f04f6b01f chore: release v5.0.1 2024-08-08 21:10:43 +08:00
Li Kui 8ffc853b86
chore: switch back to `@ctrl/tinycolor` (#4077)
* chore: switch back to `@ctrl/tinycolor`

* fix: ci
2024-08-08 05:46:14 +08:00
Vben 5f4d3f2bce
chore(deps): bump the non-breaking-changes group with 10 updates (#4074) 2024-08-07 22:24:39 +08:00
Vben a27b1c40e5
fix: the failure of breadcrumb animation (#4073) 2024-08-07 22:01:45 +08:00
Li Kui 1d38fb647e
refactor: use @ant-design/fast-color instead (#4070)
* refactor: Use @ant-design/fast-color instead

* fix: test failed

* chore: remove isValidColor

All FastColor objects are valid. So isValid is always true.
FastColor("not-a-color") -> `#000000`

* refactor: rename directory `colorful` to `color`

* fix: ci fail
2024-08-07 21:28:25 +08:00
z9130 05f80e09cc 调整动态菜单适配;增加订餐开放时间 2024-08-07 13:06:01 +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
jinmao88 84c8fb0ecc
feat: add support for custom slot header-index, sorted by index (#4039)
* feat: header右侧支持n个自定义位置插槽,插槽命名方式header-index,根据index大小排序。
框架默认插槽user-dropdown的index:20,notification的index:10 (#4034)

* chore: 将默认组件加入排序

* chore: 更改slot命名方式支持header左侧自定义插槽,命名方式:header-right-n,header-left-n,具体位置看README

---------

Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
2024-08-06 22:32:51 +08:00
dependabot[bot] feda1484ab
chore(deps-dev): bump axios-mock-adapter from 1.22.0 to 2.0.0 (#4050)
Bumps [axios-mock-adapter](https://github.com/ctimmerm/axios-mock-adapter) from 1.22.0 to 2.0.0.
- [Release notes](https://github.com/ctimmerm/axios-mock-adapter/releases)
- [Changelog](https://github.com/ctimmerm/axios-mock-adapter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ctimmerm/axios-mock-adapter/compare/v1.22.0...v2.0.0)

---
updated-dependencies:
- dependency-name: axios-mock-adapter
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 18:36:56 +08:00
Vben 4f5783d00b
perf: enable strict ts type checking (#4045) 2024-08-05 21:12:22 +08:00
Gustin Lau 0d46a5471f
fix: scrollbar height is too small (#4038) 2024-08-04 22:25:12 +08:00
Li Kui 773b36aa17
chore: dark menu disable (#4036) 2024-08-04 21:54:33 +08:00
Li Kui e29352d0f1
fix: missing await for an async function call (#4035) 2024-08-04 21:53:44 +08:00
Vben ccaa32125a
fix: enablePreferences does not meet expectations (#4031) 2024-08-04 06:01:09 +08:00
Li Kui 0619faf61e
fix: typo in tabbar preferences (#4027) 2024-08-04 05:52:50 +08:00
Vben b6415fad2d
perf: optimize for some details and comments (#4030)
* perf: optimize for some details and comments

* fix: test case

* chore: update ci
2024-08-04 05:42:59 +08:00
dependabot[bot] 43224a4643
chore(deps): bump the non-breaking-changes group with 3 updates (#4013)
Bumps the non-breaking-changes group with 3 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [eslint-plugin-perfectionist](https://github.com/azat-io/eslint-plugin-perfectionist) and [lucide-vue-next](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-vue-next).


Updates `@types/node` from 22.0.3 to 22.1.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint-plugin-perfectionist` from 3.0.0 to 3.1.0
- [Release notes](https://github.com/azat-io/eslint-plugin-perfectionist/releases)
- [Changelog](https://github.com/azat-io/eslint-plugin-perfectionist/blob/main/changelog.md)
- [Commits](https://github.com/azat-io/eslint-plugin-perfectionist/compare/v3.0.0...v3.1.0)

Updates `lucide-vue-next` from 0.419.0 to 0.424.0
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/0.424.0/packages/lucide-vue-next)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: eslint-plugin-perfectionist
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: lucide-vue-next
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-03 04:41:47 +08:00
苗大 e544119aa3
perf: 全局搜索框打开后自动聚焦输入框 (#4006) 2024-08-02 21:56:47 +08:00
Li Kui 8313be8e08
fix: The menu background color is incorrect when toggling the dark menu (#4008)
* fix: the menu background color is incorrect when activating the dark menu light theme

* chore: update active-color & active-background-color
2024-08-02 21:36:36 +08:00
dependabot[bot] d025c1569e
chore(deps): bump the non-breaking-changes group across 1 directory with 4 updates (#3998)
Bumps the non-breaking-changes group with 4 updates in the / directory: [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue), [pinia](https://github.com/vuejs/pinia), [lucide-vue-next](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-vue-next) and [axios](https://github.com/axios/axios).


Updates `@vitejs/plugin-vue` from 5.1.1 to 5.1.2
- [Release notes](https://github.com/vitejs/vite-plugin-vue/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-vue/blob/main/packages/plugin-vue/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-vue/commits/plugin-vue@5.1.2/packages/plugin-vue)

Updates `pinia` from 2.1.7 to 2.2.0
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/pinia@2.1.7...pinia@2.2.0)

Updates `lucide-vue-next` from 0.418.0 to 0.419.0
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/0.419.0/packages/lucide-vue-next)

Updates `axios` from 1.7.2 to 1.7.3
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.2...v1.7.3)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-vue"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
- dependency-name: pinia
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: lucide-vue-next
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: non-breaking-changes
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: non-breaking-changes
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-02 07:18:03 +08:00
Li Kui 9348d65420
fix: Adjusted contentCompact without triggering ECharts resize (#3997) 2024-08-02 06:42:02 +08:00
Li Kui 69f0703701
fix: correct i18n translation (#3996) 2024-08-02 06:41:31 +08:00
vben f4bd0530cc chore: Delete unnecessary files 2024-08-01 21:33:32 +08:00
vben 06ad5ad871 chore: Rename the website directory to docs 2024-08-01 21:30:44 +08:00
vben 4236e9cb87 chore: update deps 2024-08-01 21:12:34 +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
vben 082847c441 chore: Resolve merge conflicts 2024-07-31 21:26:54 +08:00
Li Kui 4074a88c13
feat: element-plus app (#32)
* chore: init project

* chore: install element-plus

* chore: locale config

* fix: eslint error

* chore: merge from main

* fix: lint

* chore: finish todo

* chore: update comments

* chore: update

* fix: lint error

* chore: add unplugin-element-plus

* chore: add useElementPlusDesignTokens

* chore: configure some color
2024-07-31 21:22:43 +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 e6403868fc chore: update packages 2024-07-30 21:00:20 +08:00
vben 9307093fbc chore: update docs [deploy] 2024-07-29 23:56:59 +08:00
vben a80a9135fc fix: Fixed tab error,fixex #59 [deploy] 2024-07-29 23:46:22 +08:00
vben 239f681ea1 fix: The built-in theme does not take effect, fixed #55 [deploy] 2024-07-29 23:18:40 +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 fe829aa8e7 chore: update README.md 2024-07-28 17:16:50 +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
z9130 c4348d7926 字典功能优化并尝试自动化;合同立项功能 2024-07-26 19:33:04 +08:00
z9130 61781539f4 调整一些命名和api调用 2024-07-24 19:18:08 +08:00
z9130 4685718dbc first commit 2024-07-23 15:37:23 +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 a897929ea7 fix: Incorrect css variable,fixed #57 2024-07-20 16:59:32 +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 bcd5e49117 chore: update deps 2024-07-20 10:00:41 +08:00
vben 30d4057216 feat: add tabs demo 2024-07-20 09:36:10 +08:00
vben 9987451647 feat: use simpler nitro instead of nestjs to implement mock service 2024-07-20 08:31:05 +08:00
vince 9ec91ac16d feat: add breadcrumb navigation example 2024-07-19 01:26:13 +08:00
aonoa 0c245665a9 perf: footer ICP spacing
Signed-off-by: aonoa <1991849113@qq.com>
2024-07-19 04:48:01 +08:00
vince d494bf170c fix: css introduction order error 2024-07-18 22:05:26 +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 cb161eab89 fix: fixed svg icon load failure and enabled global injection bem.scss 2024-07-17 22:30:18 +08:00
vince 8b6d3a72e8 fix: style optimization 2024-07-16 23:13:03 +08:00
vince c2c32332d3 fix: shake when adding tabs 2024-07-16 22:07:28 +08:00
vince 09fa2af23d fix: fix known problems 2024-07-16 00:14:24 +08:00
vince cf16c7bdde perf: improve the dark theme 2024-07-15 23:59:22 +08:00
vince f95d9aa609 perf: improve overall theme color matching 2024-07-15 23:53:58 +08:00
vince caf1fc4375 perf: optimize interface color matching 2024-07-15 23:22:00 +08:00
vince b12266bb90 fix: lint error 2024-07-14 23:30:33 +08:00
vince a5edb67b12 chore: update app name 2024-07-14 23:10:48 +08:00
vince 3eb7a8bc6f chore: @vben-core/iconify was renamed @vben-core/icons. Add readme.md for some packages 2024-07-14 22:51:10 +08:00
vben 3a91a24e0d feat: tabs adds a variety of style configurations 2024-07-14 18:32:37 +08:00
vben ebf73b2df9 refactor(project): remove the use of core internal bem syntax 2024-07-14 16:32:13 +08:00
vben fed422e187 refactor(@vben-core/tabs-ui): refactor tabs chrome component 2024-07-14 15:18:41 +08:00
likui628 d1a19c525f chore: fix typecheck fail 2024-07-14 14:02:55 +08:00
likui628 91e769e53e fix: typos 2024-07-14 13:48:47 +08:00
likui628 3a7b5c2965 fix: resolve responsive layout issues 2024-07-14 11:17:40 +08:00
vben 31fd19f17a fix: some browser hsl function compatibility issues 2024-07-13 23:00:58 +08:00
vben 91058c3ed9 perf: improve the shadow in the upper and lower areas when the scrolling area is scrolling,close #20, close #26 2024-07-13 21:55:29 +08:00
vben e441d14fa2 refactor(project): @vben/vite-connect is reconfigured to support synchronization 2024-07-13 21:13:42 +08:00
vben c81ac5684c fix: when the request is wrong, no error is thrown 2024-07-13 18:27:57 +08:00
vben 18f9f5846a fix: lint error 2024-07-13 17:32:21 +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
vince 59a8ce9500 feat: tabs adds new window opening and maximizing/restore capabilities 2024-07-12 23:43:47 +08:00
vince f98f504534 chore: change how the package is built 2024-07-12 22:24:32 +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 2c79ac1e6c refactor: small refactor in @vben-core/request 2024-07-11 22:50:21 +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 0f246f7e9e feat(project): support app custom loading template 2024-07-10 22:44:48 +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 25a1e93ab2 fix: optimize the dependency detection script prompt and fix the loop dependency problem 2024-07-10 21:40:29 +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 41d0495630 perf: simplify the writing of preferences 2024-07-10 00:44:16 +08:00
vince c319317217 chore: update deps 2024-07-10 00:38:29 +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 d26a4ee022 fix: service request exceptions after deployment 2024-07-09 22:06:00 +08:00
vince f81ff8e3d4 chore: update deps 2024-07-09 00:30:54 +08:00
vince 04a1533a1e refactor: splitting and reorganizing style files 2024-07-08 22:30:19 +08:00
vince 414a639db1 chore: update deps 2024-07-08 10:23:56 +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
vben 0eda99ec3b perf: replace vue-sonner with the toast component of shadcn-ui 2024-07-07 11:36:32 +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 3571511394 perf: reduce the number of icon component instances 2024-07-06 21:53:02 +08:00
Li Kui 1f4ec6369c Merge branch 'main' into global-search 2024-07-06 18:17:31 +08:00
Li Kui f7ed8b3199 fix: prevent default searching in browser 2024-07-06 18:13:52 +08:00
vben 265ab1108a Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin-pro 2024-07-06 17:26:17 +08:00