1369 Commits

Author SHA1 Message Date
dap
5586be16b9 style: 优化 loading 样式格式化 2026-04-16 20:06:59 +08:00
dap
96136af631 feat: 支持删除通知消息 2026-04-16 20:01:01 +08:00
dap
2dc05a1992 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2026-04-16 19:56:08 +08:00
xueyitt
6c029bfa32 Merge branch 'main' into main 2026-04-13 16:10:29 +08:00
雪忆天堂
fe77bc8bc9 feat: 通知模块自定义加强 2026-04-13 16:05:42 +08:00
Caisin
ccabbf0e97 feat: enable project-scoped preferences extension tabs (#7803)
* feat: enable project-scoped preferences extension tabs

Add a typed extension schema so subprojects can define extra settings,
render them in the shared preferences drawer only when configured, and
consume them in playground as a real feature demo. Extension labels now
follow locale keys instead of hardcoded app-specific strings.

Constraint: Reuse the shared preferences drawer and field blocks
Rejected: Add app-specific fields to core preferences | too tightly coupled
Rejected: Inline localized label objects | breaks existing locale-key flow
Confidence: high
Scope-risk: moderate
Reversibility: clean
Directive: Keep extension labels as locale keys rendered via $t in UI
Tested: Vitest preferences tests
Tested: Turbo typecheck for preferences, layouts, web-antd, and playground
Tested: ESLint for touched preferences and playground files
Not-tested: Manual browser interaction in playground preferences drawer

* fix: satisfy lint formatting for preferences extension demo

Adjust the playground preferences extension demo template so formatter and
Vue template lint rules agree on the rendered markup. This keeps CI green
without changing runtime behavior.

Constraint: Must preserve the existing demo behavior while fixing CI only
Rejected: Disable the Vue newline rule | would weaken shared lint guarantees
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Prefer computed/template structures that avoid formatter-vs-lint conflicts
Tested: pnpm run lint
Not-tested: Manual browser interaction in playground preferences extension demo

* fix: harden custom preferences validation and i18n labels

Tighten custom preferences handling so numeric extension fields respect
min, max, and step constraints. Number inputs now ignore NaN values,
and web-antd extension metadata uses locale keys instead of raw strings.
Also align tip-based hover guards in shared preference inputs/selects.

Constraint: Keep fixes scoped to verified findings only
Rejected: Broader refactor of preferences field components | not needed for these fixes
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Reuse the same validation path for updates and cache hydration
Tested: Vitest preferences tests
Tested: ESLint for touched preferences and widget files
Tested: Typecheck for web-antd, layouts, and core preferences
Not-tested: Manual browser interaction for all preference field variants

* fix: remove localized default from playground extension config

Drop the hardcoded Chinese default value from the playground extension
report title field and fall back to an empty string instead. This keeps
extension config locale-neutral while preserving localized labels and
placeholders through translation keys.

Constraint: Keep the fix limited to the verified localized default issue
Rejected: Compute the default from runtime locale in config | unnecessary for this finding
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Avoid embedding localized literals in extension default values
Tested: ESLint for playground/src/preferences.ts
Tested: Oxfmt check for playground/src/preferences.ts
Not-tested: Manual playground preferences interaction

* docs: document project-scoped preferences extension workflow

Add Chinese and English guide sections explaining how to define,
initialize, read, and update project-scoped preferences extensions.
Also document numeric field validation and point readers to the
playground demo for a complete example.

Constraint: Keep this docs-only and aligned with the shipped API
Rejected: Update only Chinese docs | would leave English docs inconsistent
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep zh/en examples and playground demo paths synchronized
Tested: git diff --check; pnpm build:docs
Not-tested: Manual browser review of the rendered docs site

* fix: harden custom preferences defaults and baselines

Use a locale-neutral default for the web-antd report title.
Also stop preference getters from exposing mutable baseline
or extension schema objects, and add a regression test for
external mutation attempts.

Constraint: Keep behavior compatible with the shipped preferences API
Rejected: Return raw refs with readonly typing only | callers could still mutate internals
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep defensive copies for baseline and schema getters unless storage semantics change
Tested: eslint, oxlint, targeted vitest, filtered typecheck, git diff --check
Not-tested: Full monorepo typecheck and test suite

* test: relax custom preference cache key matching

Avoid coupling the custom-number cache test to one exact
localStorage key string. Match the intended cache lookup
more loosely so the test still verifies filtering behavior
without depending on the full namespaced cache key.

Constraint: Focus the test on cache filtering behavior
Rejected: Assert one exact key | brittle with namespace changes
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Prefer behavior tests over literal storage keys
Tested: targeted vitest, eslint, git diff --check
Not-tested: Full monorepo test suite

---------

Co-authored-by: caisin <caisin@caisins-Mac-mini.local>
2026-04-13 15:11:57 +08:00
Jin Mao
53ccec1d80 fix: 修复VITE_APP_TITLE变量替换语法
- 将index.html中的<%= VITE_APP_TITLE %>替换为%VITE_APP_TITLE%
- 更新web-antd、web-antdv-next、web-ele、web-naive、web-tdesign应用
- 修改文档中loading组件的VITE_APP_TITLE引用方式
- 修复vite-config插件中默认加载模板的变量语法
- 统一所有应用和模板中的环境变量引用格式
2026-04-11 14:29:18 +08:00
dap
373dcaa956 feat: 更新上传进度处理逻辑,使用 Alova 处理上传进度事件 2026-04-08 11:32:00 +08:00
dap
f2e99d115a feat: 添加 TinymceProps 类型定义并更新相关组件以支持新属性 2026-04-08 11:24:16 +08:00
dap
8b20546670 feat: 添加 AutoComplete 组件并更新 ComponentType 类型定义 2026-04-08 10:53:05 +08:00
dap
1e0a3b4162 fix: 更新 VbenFormSchema 类型以包含 ComponentPropsMap 2026-04-08 10:45:02 +08:00
dap
fc266d3d47 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2026-04-08 10:34:35 +08:00
dullathanol
7e4edd270d fix: 补全 ComponentPropsMap 与 Vxe 表格表单链路的类型 2026-04-05 19:03:03 +08:00
dullathanol
5211f5065d feat: 表单 Schema 支持组件 Props 映射泛型,同步适配VxeGrid 2026-04-04 23:40:27 +08:00
dullathanol
96d6f89732 refactor: 简化 componentProps 回调的类型写法 2026-04-03 15:02:32 +08:00
dullathanol
6ab06584eb fix: 函数式 componentProps 按已注册 component 的 Props 校验返回值 2026-04-03 13:36:03 +08:00
dullathanol
a6433c2b50 feat: Schema 中 componentProps 随注册组件联动类型提示 2026-04-03 01:39:49 +08:00
Ham
58b7155ea2 fix(ui): 修复个人中心样式间距 2026-03-31 22:20:10 +08:00
dap
f7d50c7e09 Merge branch 'main' into antdv-next 2026-03-31 10:45:50 +08:00
dap
17fe8ad193 chore: version 2026-03-31 10:42:22 +08:00
dap
3b0b853e79 feat(system): 添加显示排序字段的组件属性 2026-03-31 10:36:13 +08:00
dap
605cc1b695 style: 格式化代码和更新文档 2026-03-31 10:30:35 +08:00
dap
d4c344f506 docs: 更新CHANGELOG.md并移除index.vue中的弃用代码 2026-03-31 10:20:22 +08:00
dap
bac08efbea refactor(apps/web-antd/package.json): 移除echarts的conflicts_echarts_h5_5_1标签
移除echarts依赖项中的conflicts_echarts_h5_5_1标签,使其恢复到标准的catalog标签。

catalogs(pnpm-workspace.yaml): 添加conflicts_echarts_catalog配置

在pnpm-workspace.yaml文件中添加conflicts_echarts_catalog配置,用于处理echarts相关的冲突。
2026-03-31 10:15:23 +08:00
dap
079bb6cf96 chore: 还原clientId 2026-03-31 10:13:54 +08:00
dap
9e5ed238ce fix(ui): 修复设置面板的样式问题 2026-03-31 09:45:12 +08:00
dap
8bed02003d feat(ui): 添加部门选择后提交表单功能 2026-03-25 16:41:48 +08:00
dap
f0f24a09f5 feat(tool/gen): 添加如何使用代码生成模板的模态框 2026-03-23 20:54:51 +08:00
dap
96a9c41032 chore: 修改说明 发布v1-latest 2026-03-23 13:43:28 +08:00
dap
457c59e6a8 fix: 取值 2026-03-23 13:29:04 +08:00
dap
8133ebf501 fix: 取值问题 2026-03-23 11:58:19 +08:00
dap
b69447efea refactor(ui): 优化 Alert 组件的包裹结构 2026-03-23 11:49:44 +08:00
dap
3a2d051992 fix: 解决window.xxx在路由报错情况下的undefined问题 2026-03-23 11:38:51 +08:00
dap
f4461d35a5 chore: node版本需要大于等于22 更改readme等文档说明 2026-03-17 21:57:24 +08:00
dap
0af6ca0fcb Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into antdv-next 2026-03-16 21:38:01 +08:00
dap
58969bd511 refactor: 适配tailwind4 2026-03-16 20:57:35 +08:00
dap
104a0ad449 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into antdv-next 2026-03-16 20:33:39 +08:00
吉远
4b3205fee8 feat: antd Upload 组件上传文件组支持拖拽排序 2026-03-16 15:01:43 +08:00
Jin Mao
a6a6efdf59 chore: release 5.7.0
- 更新 backend-mock 包版本
- 更新 web-antd 包版本
- 更新 web-antdv-next 包版本
- 更新 web-ele 包版本
- 更新 web-naive 包版本
- 更新 web-tdesign 包版本
- 更新 docs 包版本
- 更新 commitlint-config 包版本
- 更新 eslint-config 包版本
- 更新 oxfmt-config 包版本
- 更新 oxlint-config 包版本
- 更新 stylelint-config 包版本
- 更新 node-utils 包版本
- 更新 tsconfig 包版本
- 更新 vite-config 包版本
- 更新 @core/base/design 包版本
- 更新 @core/base/icons 包版本
- 更新 @core/base/shared 包版本
- 更新 @core/base/typings 包版本
- 更新 @core/composables 包版本
- 更新 @core/preferences 包版本
- 更新 @core/ui-kit/form-ui 包版本
- 更新 @core/ui-kit/layout-ui 包版本
- 更新 @core/ui-kit/menu-ui 包版本
- 更新 @core/ui-kit/popup-ui 包版本
- 更新 @core/ui-kit/shadcn-ui 包版本
- 更新 @core/ui-kit/tabs-ui 包版本
- 更新 constants 包版本
- 更新 access 包版本
- 更新 common-ui 包版本
- 更新 hooks 包版本
- 更新 layouts 包版本
- 更新 plugins 包版本
- 更新 request 包版本
- 更新 icons 包版本
- 更新 locales 包版本
- 更新 preferences 包版本
- 更新 stores 包版本
- 更新 styles 包版本
- 更新 types 包版本
- 更新 utils 包版本
- 更新 playground 包版本
- 更新 turbo-run 包版本
- 更新 vsh 包版本
- 更新根目录包版本
2026-03-14 09:14:23 +08:00
xingyu4j
395babc1f5 feat: tsgolint 2026-03-13 23:13:10 +08:00
xingyu4j
68cde54bad feat: add tsgolint 2026-03-13 23:13:01 +08:00
xingyu4j
c7d7529c00 chore: ts 2026-03-13 23:07:04 +08:00
xingyu4j
a850d426ef chore: fix lint and typecheck issues 2026-03-13 20:57:52 +08:00
dap
486ce6a567 fix(router): 修正根路由匹配逻辑和仪表板路由路径
修正根路由匹配逻辑,从基于路径匹配改为同时检查名称和路径,以避免潜在的路由冲突。同时将仪表板模块的基础路径从'/'改为'/dashboard',以改善路由结构。
2026-03-10 19:25:05 +08:00
xingyu
a4736a49f8 feat: migrate to Tailwind CSS v4 (#7614)
* chore: update deps

* feat: use jsonc/x language

* chore: update eslint 10.0

* fix: no-useless-assignment

* feat: add CLAUDE.md

* chore: ignore

* feat: claude

* fix: lint

* chore: suppot eslint v10

* fix: lint

* fix: lint

* fix: type check

* fix: unit test

* fix: Suggested fix

* fix: unit test

* chore: update stylelint v17

* chore: update all major deps

* fix:  echarts console warn

* chore: update vitest v4

* feat: add skills ignores

* chore: update deps

* chore: update deps

* fix: cspell

* chore: update deps

* chore: update tailwindcss v4

* chore: remove postcss config

* fix: no use catalog

* chore: tailwind v4 config

* fix: tailwindcss v4 sort

* feat: use eslint-plugin-better-tailwindcss

* fix: Interference between enforce-consistent-line-wrapping, jsx-curly-brace-presence and Prettier

* fix: Interference between enforce-consistent-line-wrapping, jsx-curly-brace-presence and Prettier

* fix(lint): resolve prettier and better-tailwindcss formatting conflicts

* fix(tailwind): update theme references and lint sources

* style(format): normalize apps docs and playground vue files

* style(format): normalize core ui-kit components

* style(format): normalize effects ui and layout components
2026-03-10 05:08:45 +08:00
dap
a9241aef84 chore: 更新web-antd版本并调整按钮水波纹样式为默认
将版本号从2.0.0-alpha.2升级至2.0.0-alpha.3
将按钮水波纹样式从'Happy'改为'Default',以准备正式版发布
2026-03-03 19:53:28 +08:00
dap
6c6fb316f0 docs: 为配置更新提示添加多语言注释
在配置文件顶部添加多语言注释,提醒用户在更改配置后需清空 localStorage 缓存,以提高国际团队开发者的理解度。
2026-03-03 16:10:49 +08:00
dap
a272c54561 refactor(表单): 移除查询表单中时间组件的冗余默认值
清理多个模块查询表单中 RangePicker 组件的 defaultValue 设置,因为框架后续版本已修复重置问题,不再需要显式设置为 [null, null] 来确保表单重置正常工作。同时更新相关文档说明。
2026-02-26 19:24:06 +08:00
dap
ba6c450298 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into antdv-next 2026-02-26 19:16:40 +08:00
dap
5177f5c98d style(web-antd): 统一输入框圆角样式
为客户端配置表单中的超时输入框添加一致的圆角样式,确保与设计系统变量保持一致
2026-02-11 11:28:57 +08:00