dream-weave
e726bc9278
feat: share app-defined locales across core UI and library adapters ( #8525 )
* feat(@vben/locales ): share app-defined locales across packages and UI adapters
BREAKING CHANGE: await setSupportLanguages and use fully qualified common keys in core UI.
* fix(@vben/locales ): keep valid switches pending after an unsupported locale
* fix(@vben/locales ): preserve startup cancellation and recover message fallbacks
* fix(@vben/locales ): isolate setup dictionaries and defer reentrant switches
5 days ago
dream-weave
f9af1af6fb
fix: clean up Tailwind configuration and utility merging ( #8518 )
* fix: clean up Tailwind configuration and utility merging
Register compound utilities with asymmetric conflicts to preserve alignment
and direction under atomic overrides.
Align Tailwind ecosystem dependencies and Vite resolutions, declare the
design build dependency, remove unused configuration, and document
merging rules.
* chore: add changeset
7 days ago
MindOfqc
0f0653da71
fix( @vben-core/shared ): keep a usable file name when downloading images by url ( #8502 )
* fix(@vben-core/shared ): keep a usable file name when downloading images by url
downloadFileFromImageUrl rasterises the source and then relied on the
base64 fallback name, so omitting the optional fileName saved an
extension-less "downloaded_file" whose bytes are actually PNG.
* fix(@vben-core/shared ): keep image data urls out of derived file names
* docs(@vben-core/shared ): describe the download file name helper
* docs(@vben-core/shared ): describe the image pipeline test stub
---------
Co-authored-by: MindOfqc <MindOfqc@users.noreply.github.com>
2 weeks ago
MindOfqc
8776a4432e
fix( @vben-core/shared ): keep the deployment base when opening routes in a new window ( #8500 )
* fix(@vben-core/shared ): keep the deployment base when opening routes in a new window
openRouteInNewWindow only recognised the hash href produced at the root
base ('/#/demo'), so a base-prefixed href ('/myapp/#/demo') got a second
'/#' injected and the new window landed on the wrong route.
* fix(test): safely read the mocked window open call
---------
Co-authored-by: MindOfqc <MindOfqc@users.noreply.github.com>
2 weeks ago
dream-weave
26706d65c9
feat: enable typecheck across all workspace packages ( #8482 )
* build(lint): bump oxc toolchain to the locked pairing
- oxlint ^1.90.0 + oxlint-tsgolint ^7.0.2005 + oxfmt ^0.75.0 锁定配对:
工具链版本间存在规则集兼容矩阵,浮动配对会错位;根 devDependencies
补充 eslint-plugin-oxlint 桥接依赖,catalog 与 lockfile 同步。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* feat(@vben/oxlint-config ): migrate to native extends with type-aware rules
- 配置迁移到 oxlint 原生 extends + ignorePatterns,根 ignore 列表收敛为
configs/ignores.ts 单源(oxlint/eslint 双消费不再手工同步);删除已按
category 覆盖的逐条规则;oxfmt-config 去掉包装层、采用 0.75 的 markdown
换行;tsgolint 类型感知规则三批全开,仅 2 条显式 off 附原因
(no-unsafe-enum-assignment=cz-git ESM 缺陷、no-unsafe-type-assertion=
359 处命中)。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* refactor(@vben/eslint-config ): restore the eslint-plugin-oxlint bridge
- 恢复官方 eslint-plugin-oxlint 桥接,替代 69 条手工维护的关停规则 Set;
桥接关停范围收敛到 oxlint 实际检查的文件;组装顺序改为 builtin →
oxlint 桥 → customConfig → 用户配置,customConfig 与用户配置保持
最终权威(与迁移前的覆盖契约一致)。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* build(project): enable typecheck across all workspace packages
- 45 个包补 typecheck 脚本(vue-tsc --noEmit,不带 CLI 标志,tsconfig
是 skipLibCheck 的唯一来源;packages/types 显式 skipLibCheck: false
以检查自身与工作区依赖的已发布声明,并把 global.d.ts 纳入检查);
turbo typecheck 任务依赖 ^typecheck 与 ^stub——工具包类型解析读
依赖的 dist 产物,无 stub 脚本的依赖被 turbo 自动跳过,无需逐包
覆写;tsconfig 键序对齐 jsonc/sort-keys;lockfile 同步。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* chore(project): split lint hooks and update toolchain scripts
- pre-commit 收敛为 oxlint/oxfmt/eslint 快检查,全量 typecheck 移交新增
pre-push 钩子;vsh lint 与 turbo-run 适配 oxc 调用;同步 .vscode 配置
与 lint 工具链文档。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* fix(@vben-core/typings ): latent d.ts errors and the RouteMeta augmentation
- 开启声明检查后暴露:vue-router.d.ts 裸用非 ambient 的 Recordable
(helper.d.ts 模块化后不再全局可见)改为显式导入;EmitType 引用
未定义的 Name 改为 string,并对这个零消费者的宽泛别名标
@deprecated;增强接口底名用 VbenRouteMeta 避免打包自引用,导入
本包即激活增强,删除悬空的根级再导出文件;@vben/types/global.d.ts
删除与这里逐字重复的 declare module 块,增强只保留单源。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* refactor(project): keep public signatures exact under type-aware rules
- 类型感知规则开启后被统一收窄/放宽的公共 API 恢复发布的泛型形态
(bindMethods/getNestedValue/use-sortable/use-priority-value 等),
保留跨包显式类型实参契约;form-ui 依赖回调语义还原(truthy 布尔化、
name 强转、trigger 顺序)并放宽条件类型;tabs-ui 将宽泛 EmitType
残留收窄为具体事件签名;typings、utils/helpers、hooks/access/
layouts/preferences 等的类型标注与泛型修复。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* fix(project): resolve latent type errors surfaced by the full typecheck
- stores tabbar 不再对路由 meta 做冗余强转(RouteMeta 增强后类型
已收敛);common-ui icon-picker 的 inputComponent 显式并列为
Component | VNode(adapter 传组件定义、演示页传 h() 节点);
vite-config 移除 vite 实例的 unknown 桥(vite 8 已解析为单一
实例类型);tabs-ui use-tabs-drag 事件签名收窄残留清理;vsh lint
的死索引守卫改为无分支过滤。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* fix(project): harden runtime paths surfaced by type-aware lint
- archiver 系列收敛为一个完整实现:outDir 依 vite root 解析、zip 失败
经 closeBundle 拒绝回传、输出流补 error 监听、watch 模式降级日志不再
杀 watcher;request 上传保留 axios 头抑制哨兵(AxiosHeaders 实例浅
拷贝自身属性,普通对象保持原样)、SSE 与响应拦截器默认值还原;
backend-mock 分页与同名参数规范化(firstQueryString/firstQueryInt);
echarts 30ms 窗口内卸载按 Nullable 语义 resolve(null);stores tabbar
刷新 fire-and-forget;各 app 入口/路由守卫与 playground 日期区间
守卫的浮动 Promise 处理。行为修复与对应回归测试同提交。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* test(project): adapt test suites to strict typecheck
- shared 脚本与 css 变量测试、utils 路由 fixtures 提供稳定句柄
(noUncheckedIndexedAccess)、layout-ui collapse mock 对齐 emit
载荷、shadcn-ui popconfirm 按钮提取守卫 helper、form-ui 测试
改为直接依赖 element-plus(替代 .pnpm 字面路径)、vite-config
四处 hook 调用提取 callGenerateBundle 统一适配 rolldown 签名。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* test(project): adapt tests to the toolchain and record changesets
- popup-ui drawer/modal 断言前先 await close;preferences 的两个存储
mock 派生自单一工厂;核心包测试适配类型感知规则;删除 image preview
adapter 遗留的无操作改名;记录 oxc 迁移 changeset。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* chore(project): record the workspace typecheck changeset
Co-Authored-By: Claude Code <noreply@anthropic.com>
* fix(@vben/types ): activate the RouteMeta augmentation for the ./global entrypoint
A program that only imports the `@vben/types/global` subpath never loads
src/index.ts, so it used to lose the RouteMeta augmentation this entry
historically provided. A side-effect import of @vben-core/typings keeps the
single-source augmentation active for that entrypoint as well.
Co-Authored-By: Claude Code <noreply@anthropic.com>
* test(@vben/hooks ): drop redundant any-casts in use-tabs tests
Upstream #8488/#8490 introduced getTabDisableState tests that assert
store.getTabByKey(...) results with `as any`. getTabByKey now returns
TabDefinition, which is structurally identical to the TabIdentity
parameter type, so the casts are dead weight and trip the type-aware
no-unnecessary-type-assertion rule.
Co-Authored-By: Claude Code <noreply@anthropic.com>
* fix(@vben/vite-config ): re-resolve vite to the catalog 8.3.0 instance
The lockfile still pinned internal/vite-config to vite@8.2.2 (with stale
@types/node@26.2.0 / yaml@2.9.0 peers) while the catalog declares ^8.3.0
and every other importer resolved to 8.3.0. vite-plugin-lazy-import's
d.ts imports 'vite' through the pnpm hidden hoist (it declares no vite
peer), so its Plugin<any> came from the 8.3.0 instance while
vite-config's own Plugin came from 8.2.2 — vue-tsc then fails with
TS2321 "Excessive stack depth comparing types 'Plugin<any>' and
'Plugin<any>'" once this package gains a typecheck script.
Rewire the importer to the shared 8.3.0 instance (specifier stays
'catalog:') and let pnpm prune the now-orphaned 8.2.2 peer entries.
Co-Authored-By: Claude Code <noreply@anthropic.com>
* chore(@vben/tsconfig ): align base moduleResolution with bundler
base.json 仍写着 node(node10),但 web/web-app/node/library 四个 preset
早已各自覆盖为 bundler,仓库内 48 个 tsconfig 无一直接 extends base,
该值仅对直接 extends base 的外部消费方生效:
- module: ESNext 的官方推荐搭配是 bundler,node 组合是历史遗留错配
- node10 忽略 package.json exports,与 Vite 实际解析不一致
- node10 已废弃,且 tsgo 原生编译器不支持,直接报错
Co-Authored-By: Claude Code <noreply@anthropic.com>
---------
Co-authored-by: Claude Code <noreply@anthropic.com>
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
3 weeks ago
MindOfqc
71dc5ac59d
fix( @vben-core/shared ): decode the derived download file name ( #8493 )
resolveFileName took everything after the last slash, so a signed link
saved as `%E6%8A%A5%E5%91%8A.pdf?token=abc`: the percent-encoded segment
was never decoded and the query string leaked into the download attribute.
Strip the query and fragment, then decode, falling back to the raw
segment when the escape sequence is malformed.
Co-authored-by: MindOfqc <MindOfqc@users.noreply.github.com>
3 weeks ago
dream-weave
0b863783ef
refactor: migrate lint toolchain to oxc locked pairing ( #8481 )
* build(lint): bump oxc toolchain to the locked pairing
- oxlint ^1.90.0 + oxlint-tsgolint ^7.0.2005 + oxfmt ^0.75.0 锁定配对:
工具链版本间存在规则集兼容矩阵,浮动配对会错位;根 devDependencies
补充 eslint-plugin-oxlint 桥接依赖,catalog 与 lockfile 同步。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* feat(@vben/oxlint-config ): migrate to native extends with type-aware rules
- 配置迁移到 oxlint 原生 extends + ignorePatterns,根 ignore 列表收敛为
configs/ignores.ts 单源(oxlint/eslint 双消费不再手工同步);删除已按
category 覆盖的逐条规则;oxfmt-config 去掉包装层、采用 0.75 的 markdown
换行;tsgolint 类型感知规则三批全开,仅 2 条显式 off 附原因
(no-unsafe-enum-assignment=cz-git ESM 缺陷、no-unsafe-type-assertion=
359 处命中)。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* refactor(@vben/eslint-config ): restore the eslint-plugin-oxlint bridge
- 恢复官方 eslint-plugin-oxlint 桥接,替代 69 条手工维护的关停规则 Set;
桥接关停范围收敛到 oxlint 实际检查的文件;组装顺序改为 builtin →
oxlint 桥 → customConfig → 用户配置,customConfig 与用户配置保持
最终权威(与迁移前的覆盖契约一致)。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* chore(project): split lint hooks and update toolchain scripts
- pre-commit 收敛为 oxlint/oxfmt/eslint 快检查,全量 typecheck 移交新增
pre-push 钩子;vsh lint 与 turbo-run 适配 oxc 调用;同步 .vscode 配置
与 lint 工具链文档。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* refactor(project): keep public signatures exact under type-aware rules
- 类型感知规则开启后被统一收窄/放宽的公共 API 恢复发布的泛型形态
(bindMethods/getNestedValue/use-sortable/use-priority-value 等),
保留跨包显式类型实参契约;form-ui 依赖回调语义还原(truthy 布尔化、
name 强转、trigger 顺序)并放宽条件类型;tabs-ui 将宽泛 EmitType
残留收窄为具体事件签名;typings、utils/helpers、hooks/access/
layouts/preferences 等的类型标注与泛型修复。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* fix(project): harden runtime paths surfaced by type-aware lint
- archiver 系列收敛为一个完整实现:outDir 依 vite root 解析、zip 失败
经 closeBundle 拒绝回传、输出流补 error 监听、watch 模式降级日志不再
杀 watcher;request 上传保留 axios 头抑制哨兵(AxiosHeaders 实例浅
拷贝自身属性,普通对象保持原样)、SSE 与响应拦截器默认值还原;
backend-mock 分页与同名参数规范化(firstQueryString/firstQueryInt);
echarts 30ms 窗口内卸载按 Nullable 语义 resolve(null);stores tabbar
刷新 fire-and-forget;各 app 入口/路由守卫与 playground 日期区间
守卫的浮动 Promise 处理。行为修复与对应回归测试同提交。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* test(project): adapt tests to the toolchain and record changesets
- popup-ui drawer/modal 断言前先 await close;preferences 的两个存储
mock 派生自单一工厂;核心包测试适配类型感知规则;删除 image preview
adapter 遗留的无操作改名;记录 oxc 迁移 changeset。
Co-Authored-By: Claude Code <noreply@anthropic.com>
* test(@vben/hooks ): drop redundant any-casts in use-tabs tests
Upstream #8488/#8490 introduced getTabDisableState tests that assert
store.getTabByKey(...) results with `as any`. getTabByKey now returns
TabDefinition, which is structurally identical to the TabIdentity
parameter type, so the casts are dead weight and trip the type-aware
no-unnecessary-type-assertion rule.
Co-Authored-By: Claude Code <noreply@anthropic.com>
---------
Co-authored-by: Claude Code <noreply@anthropic.com>
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
3 weeks ago
MindOfqc
eb47a1e694
fix( @vben-core/shared ): settle pending StateHandler waiters on reset ( #8476 )
Co-authored-by: rwzdk <rwzdk@users.noreply.github.com>
4 weeks ago
MindOfqc
c4b36d9d0e
fix( @vben-core/shared ): settle every StateHandler waiter ( #8462 )
StateHandler kept a single resolve/reject pair, so calling
waitForCondition() more than once before the condition flips overwrote the
previous handles and left the earlier waiters pending forever. form-api and
the vxe-table api both await this gate while mounting, so concurrent callers
could hang permanently. Collect all pending resolvers/rejecters and settle
them together on each transition.
Co-authored-by: rwzdk <rwzdk@users.noreply.github.com>
4 weeks ago
usertangxin
50f4ede309
fix(core): 同步插入样式标签,修复重复标签导致主题色无法实时更新 ( #8420 )
updateCSSVariables 原实现用 setTimeout 延迟插入新创建的样式标签。
当同一宏任务内被连续调用两次时(如应用初始化偏好后又恢复用户偏好),
querySelector 找不到尚未插入 DOM 的标签,会重复创建同 id 的
<style id="__vben-styles__">。此后运行时 querySelector 只能更新
第一个标签,而 CSS 级联获胜的是第二个标签(持有启动时的旧值)。
后果:切换主题色后,内联在 html 上的 --primary 立即生效(vben 组件
正常),但依赖调色板变量(--primary-500 等)的组件库适配层
(如 useElementPlusDesignTokens 读取旧值生成 --el-color-primary)
拿到的永远是旧颜色,需要刷新页面才能恢复。
修复:改为同步插入,消除并发创建窗口;并在每次更新时清理历史遗留
的重复标签(保留第一个,其内容总是最新的更新值)。补充两个回归
测试用例。
2 months ago
loseintwilight
9c1c38806b
fix( @vben-core/shared ): keep filterTree from mutating the source tree ( #8370 )
* fix(@vben-core/shared ): keep filterTree from mutating the source tree
filterTree assigned the filtered child array back onto the source node, so nodes that failed
the predicate were dropped from the input tree permanently instead of only from the result.
In frontend/mixed access mode generateRoutesByFrontend filters the module-level accessRoutes
on every login and role refresh, so routes stripped for a low-privilege user stayed missing
for later sessions until a full page reload.
filterTree is now pure: matched nodes owning a child array are copied, nodes without children
are still returned by reference.
* docs(@vben-core/shared ): correct filterTree reference-semantics comment
filterTree does not write its result back into the input tree, but childless
matched nodes are still returned by reference. The previous comment claimed no
source node is ever returned, which contradicted the implementation and could
mislead callers.
* fix(@vben-core/shared ): preserve branch references in filterTree
filterTree copied every matched branch node, so filtering a tree where nothing
changed still returned new branch objects. The previous implementation used
Array#filter, which keeps element references, so callers could rely on
filterTree(input, () => true)[0] === input[0].
Branch nodes are now shallow-copied only when their child sequence actually
changes; unchanged nodes are returned by reference, restoring the reference
semantics callers had before. The mutation fix itself is unaffected: the
filtered child array is never assigned back onto the source node.
3 months ago
wenbin-ding
af3d5f0e62
feat( @vben/layouts ): support activePath breadcrumb hierarchy ( #8346 )
* feat(@vben/layouts ): support activePath breadcrumb hierarchy
* fix(@vben/layouts ): preserve distinct unnamed breadcrumb routes
---------
Co-authored-by: dingwenbin <dingwenbin@jilinxiangyun.com>
3 months ago
github-actions[bot]
16ba48470a
chore: bump versions ( #8316 )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3 months ago
Dream
702d7ea7ee
refactor( @vben-core/typings ): 语言类型改为可声明合并扩展的接口注册表
53b1529 为支持运行时动态语言注册,将 SupportedLanguagesType
等四处语言类型从字面量联合放宽为 string,换来扩展便利的同时
完全丢失了编译期类型约束。
本提交以 keyof interface 注册表恢复类型安全:
- typings 新增 SupportedLanguages 接口(默认 en-US / zh-CN),
SupportedLanguagesType = keyof SupportedLanguages 派生联合
- locales / composables / preferences / constants 恢复引用该
联合,LanguageOption 泛型化(默认 string 保留运行时注册
自定义语言的逃生舱),SUPPORT_LANGUAGES 默认列表约束回联合
- 应用扩展语言时无需改动核心包:在应用内 d.ts 通过
declare module '@vben-core/typings' 追加接口键即可让联合
自动扩展(先例:vue-router 的 RouteMeta 增强)
- 运行时语言列表仍由 setSupportLanguages 注册,53b1529 的
动态注册机制与 en-US 回退行为完整保留
- 声明依赖的五个包补齐 @vben-core/typings workspace 依赖
3 months ago
Dream
522a83b2fb
fix( @vben-core/layout-ui ): add overlay viewport height fallback
3 months ago
zhongming4762
d3dc081b5d
perf: 优化路由动画切换 1、切换出现双页面问题 2、切换出现横向和纵向滚动条问题
4 months ago
Dream
baea741432
feat( @vben-core/shared ): add layout scroll helpers
4 months ago
xingyu
6b6708bcf2
fix: 修复点击退出图标确认后不能退出 && 图标排序等数组字段需顺序敏感比较 ( #8179 )
* chore: 调整 sortablejs 的位置,只在用到的模块引入
* fix: non-null assertion lint error
* fix: 修复点击退出图标确认后不能退出
* fix: 图标排序等数组字段需顺序敏感比较
* feat: 配置中增加 refresh 并统一位置
4 months ago
金毛88
f840d235ef
feat: 偏好设置小部件支持位置选择与拖拽排序
- 顶栏各小部件按钮支持选择位置(header/user-dropdown/none),偏好设置按钮额外保留 auto/fixed 智能兜底,移动端/全屏内容模式下自动切 fixed 浮动保命,避免偏好入口死锁
- draggable-list.vue 的 listRef 未在模板绑定,Sortable 永不初始化导致小部件无法拖拽;加 ref 绑定与 data-key 让 onEnd 从 DOM 读真实新顺序
- preferences.ts 的 updatePreferences 用 defu(merge) 合并数组,对 widget.order 是 concat 语义,每次拖拽触发更新都会把当前 order 追加一次,localStorage 里膨胀到上百条;改用 mergeWithArrayOverride 整体替换,加载缓存时 sanitizeCachedArray 去重已存在的脏数据
- preferences 按钮之前在 widget.order 里因 labelMap 未登记显示成裸字符串,且 widgetChecks 缺 refresh 导致刷新按钮不按 order 渲染;统一 preferences 与其它 widget 的拖拽排序与位置 select,refresh 补进 rightSlots.widgetChecks 并补模板渲染
- 补 sortablejs 依赖、WidgetPreferences.order 类型字段、preferences-drawer.vue 的 widgetOrder 绑定
4 months ago
luoqiz
14d03a1c2d
fix: 统一BasicUserInfo ( #8133 )
5 months ago
Evan
f00a881295
refactor( @vben/access ): 重构路由的重定向逻辑
@vben-core/shared
@vben/playground
@vben/backend-mock
@vben/web-antd
@vben/web-antdv-next
@vben/web-ele
@vben/naive
@vben/tdesign
5 months ago
xingyu
dc3466d77a
refactor: 将 unicorn / TypeScript 规则迁移至 oxlint,并完善 oxfmt 配置 ( #8067 )
* chore: update deps
* chore: update archiver v8
* fix: 还原 vue/html-closing-bracket-newline
* feat: 增加默认配置和配置注释
* feat: 增加oxlint默认插件配置和注释
* refactor: remove unicorn ESLint configuration and update dependencies
- Deleted the unicorn ESLint configuration file from the lint-configs package.
- Removed unicorn configuration from the main index file.
- Updated oxlint-config to include a comprehensive set of unicorn rules.
- Adjusted preferences and vxe-table files to disable specific unicorn rules.
- Removed references to eslint-plugin-unicorn from pnpm-lock.yaml and pnpm-workspace.yaml.
* refactor: 移除 eslint 的 @typescript-eslint/eslint-plugin 依赖,将 TypeScript 配置迁移到 oxlint
* feat: open typeAware
* fix: mac 和linux下报错
5 months ago
雪忆天堂
ebebb42625
feat: 1、FieldMappingTime拆解独立FieldMappingTimeItem+集合形式,方便单独对象定义;
2、表单submitOnChange增加changeDebouncedTime防抖处理,允许自定义防抖周期;
3、handleValuesChange事件set增加cloneDeep,防止对象值污染;
5 months ago
金毛88
0eb72ca4fd
feat: add useTDesignDesignTokens
6 months ago
xingyu
04fbb7a556
chore: 升级 shadcn-vue 组件到v4最新版 ( #7972 )
* fix: useStore is deprecated
* chore: update deps
* feat: 升级shadcn-ui v4
* fix: workbench style
* feat: 升级shadcn-ui v4 step2
* feat: 升级shadcn-ui v4 step3
* chore: 升级shadcn v4
* fix: pagination
* fix: dark style
* fix: doc import
* feat: 增加详情组件,参考 antdv-next
* docs: descriptions docs
* docs: Browser Support
* feat: add table action
* feat: icon use vbenIcon
* fix: type error
* fix: dropdown popConfirm
* feat: 使用默认的文字交互
* feat: 优化渲染性能
6 months ago
xingyu
f2b3b12553
chore: pnpm v11 ( #7942 )
* chore: remove rolldown dep
* fix: issues-helper and maintain-one-comment are temporarily disabled due to security issues
* chore: update deps
* fix: change error type to TypeError for non-browser environment check in LocalStorageDriver
* chore: update pnpm v11
6 months ago
PanFu
2a84b590b5
feat: 偏好设置按钮,支持在右上角用户的下拉框中展示;偏好设置中支持设置时区(多一个入口); ( #7931 )
* feat: 偏好设置按钮支持显示在用户下拉窗中的特性
* feat: 时区设置功能支持在偏好设置列表进行配置
* feat: 偏好设置按钮支持显示在用户下拉窗中的特性 - 完善示例代码
* feat: 时区设置功能支持在偏好设置列表进行配置
* feat: 时区设置功能支持在偏好设置列表进行配置-单元测试报错问题
* feat: 时区设置功能支持在偏好设置列表进行配置-修改代码QC问题
---------
Co-authored-by: PanFu <panfu@zhihuaai.com>
6 months ago
leo
d71c81e8ff
style: apply vsh lint formatting ( #7923 )
6 months ago
xingyu4j
0c1b737325
fix: fix lint && typecheck
6 months ago
layhuts
43717807a4
style: reformat code
7 months ago
layhuts
1b4e126128
fix: 处理localStorageDriver在某些受限浏览器环境下报错导致无法使用
7 months ago
layhuts
d23b246aee
fix: 处理localStorage prefix === ''时提醒用户可能会全部删除数据
7 months ago
layhuts
9667232684
fix: 加上 - 分隔符来避免跨前缀误匹配
7 months ago
layhuts
1f584ff0c9
fix: 处理window不可用时降级使用Memory
7 months ago
layhuts
75ed17a1f9
docs: 更正saveToCache所属组件
7 months ago
layhuts
cc6ccaab38
docs: 为符合 Markdown lint 规范,指定代码块语言。
7 months ago
layhuts
0be4b51eaa
fix: 解决window在构造函数中进行访问破坏SSR/Node环境。
7 months ago
layhuts
b40822e3ed
fix: 解决indexedDB的getDB在失败重试时永远返回错误Promise问题
7 months ago
layhuts
df5cb426d1
fix: 解决indexedDB的setItem、,removeItem以及clear在请求成功时而不是事务完成时触发resolve问题
7 months ago
layhuts
8ce773f264
feat: 在storage-manager添加keys方法
7 months ago
layhuts
51e8b27d4c
style( @vben-core/shared ): formatting
7 months ago
layhuts
e555ee065e
feat( @vben-core/shared ): 新增indexedDB
在cache下新增indexedDB缓存
7 months ago
boisduval
c7fd6ffb0e
feat: 添加日期格式化函数的空值处理
- 当传入的时间参数为 undefined、null 或空字符串时,直接返回空字符串而不是继续执行格式化逻辑,避免无效的时间值导致程序错误。
7 months ago
allen
6f18718c87
feat: add collapsible 组件,form表单增加单项可折叠,支持schema配置默认关闭/开启
feat: add collapsible 组件,form表单增加单项可折叠,支持schema配置默认关闭/开启
- shadcn-ui 增加 collapsible组件,collapsible-params组件
- form新增支持单项折叠
- collapsible-params组件在Form表单应用
7 months ago
xingyu4j
5eca357a5c
feat( @vben/plugins ): add tiptap rich text editor
8 months ago
雪忆天堂
fe77bc8bc9
feat: 通知模块自定义加强
7 months ago
xingyu4j
bb78882f72
feat( @vben/plugins ): add tiptap rich text editor
8 months ago
MistyMoon
3528517fe0
fix(project): fix sub sidebar theme in two-column menu ( #7708 )
- Reset light tokens for nested sub sidebars.
- Align the extra title logo theme with sidebarThemeSub.
8 months ago
xingyu
0c300d040c
fix: tailwindcss config ( #7693 )
* chore: update deps
* fix: tailwindcss config
* fix: lint
* fix: lint
* chore: update deps
8 months ago
Jin Mao
340baf4f0b
chore: 处理合并的一些问题
8 months ago