YunaiV
8ab0c53011
Merge remote-tracking branch 'origin/master' into migration
...
# Conflicts:
# apps/web-antd/src/views/iot/home/modules/message-trend-card.vue
# apps/web-antd/src/views/iot/rule/data/sink/config/redis-stream-config-form.vue
# apps/web-antd/src/views/mes/md/client/components/md-client-select-dialog.vue
# apps/web-ele/src/views/iot/home/modules/message-trend-card.vue
# apps/web-ele/src/views/iot/rule/data/sink/config/redis-stream-config-form.vue
# apps/web-ele/src/views/iot/thingmodel/modules/input-output-param.vue
# pnpm-lock.yaml
# pnpm-workspace.yaml
2026-05-24 22:20:36 +08:00
YunaiV
6fb45f1ded
fix(iot): 修复场景联动动态列表 key 与校验问题
...
- 新增 getStableObjectKey,统一处理对象列表 v-for 稳定 key
- 场景联动触发器、执行器、条件组、条件项改用稳定对象 key
- 保持场景规则 API 类型不包含 UI 专用 _key 字段
- 修复场景联动触发器/执行器校验与地图详情跳转
2026-05-24 16:43:02 +08:00
YunaiV
aeff25209d
fix(iot): 修复 13 处 bug 并完成 codex 三轮收口
...
按 codex 两轮 review 分批处理 IoT 模块 13 处 bug,对第二轮反馈中
B42/B47 的类型/字段问题做最终收尾,所有修复 web-antd / web-ele 两端同步。
主要修复:
- B91 设备分组:删除前校验 deviceCount,分组下有设备时弹警告
- B40 物模型 array 数据规格:从 Radio.Group @change 事件正确取值(antd)
- B42 物模型属性历史:list 写入时按 idx 生成 _rowKey,模板 row-key="_rowKey"
list 类型改 IotDeviceApi.DeviceProperty & { _rowKey: string }
匹配后端 IotDevicePropertyMapper.xml 实际返回的字段
(修掉 codex 指出的 antd row-key TS2322 与 ele 同毫秒撞键)
- B119 物模型表单:edit 模式禁用 identifier 编辑
- B47 场景规则主条件:产品/设备切换时清 deviceId/identifier/operator/value
(修掉 codex 指出的 condition.value.param TS2339,Trigger 无 param)
- B44 数据目的数据库配置:SQL 复制按钮 setTimeout 在 onBeforeUnmount 中清理
- B51 场景规则首页统计:total 取接口 result.total,其余基于当前页
- B29 产品卡片视图:图标为 URL 时改用 <img> 渲染,复用 @vben/utils 的 isHttpUrl
- B43 首页设备地图:移除过度设计的 AbortController,回归 vue3 源项目同款
InfoWindow 监听写法,querySelector 限定到 .BMap_bubble_content 子树
- B105 场景规则设备选择器:productId 变化后旧 deviceId 不在新列表则清空
- B45 通用 key-value 编辑器:v-for key 改用递增的 _uid,避免编辑/删除时 DOM 复用错乱
- B132 设备导入表单:beforeUpload 校验 .xls/.xlsx
- B126 设备详情:四个 tab 子组件 v-if 增加 device.id 守卫
附带工具收敛:
- @vben-core/shared/utils 新增 formatDayjs,统一 antd TimePicker/DatePicker
value-format 后回传的 Dayjs|string 归一
- 场景规则首页 updateStatistics 补回 JSDoc,对齐文件内其他 function 风格
验证:
- 改动文件 pnpm exec eslint 0 error
- pnpm -F @vben/web-antd / @vben/web-ele exec vue-tsc --noEmit --skipLibCheck
过滤 src/views/iot/|src/api/iot/ 均 0 hit
2026-05-24 10:11:43 +08:00
xingyu4j
fb2595ef90
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin
2026-05-23 18:39:12 +08:00
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
2026-05-22 12:02:14 +08:00
PanFu
2a84b590b5
feat: 偏好设置按钮,支持在右上角用户的下拉框中展示;偏好设置中支持设置时区(多一个入口); ( #7931 )
...
* feat: 偏好设置按钮支持显示在用户下拉窗中的特性
* feat: 时区设置功能支持在偏好设置列表进行配置
* feat: 偏好设置按钮支持显示在用户下拉窗中的特性 - 完善示例代码
* feat: 时区设置功能支持在偏好设置列表进行配置
* feat: 时区设置功能支持在偏好设置列表进行配置-单元测试报错问题
* feat: 时区设置功能支持在偏好设置列表进行配置-修改代码QC问题
---------
Co-authored-by: PanFu <panfu@zhihuaai.com>
2026-05-20 17:24:53 +08:00
YunaiV
e7a61ce150
feat(iot): 优化 antd 里的整体代码风格。
2026-05-20 00:41:06 +08:00
xingyu4j
0c1b737325
fix: fix lint && typecheck
2026-05-18 16:50:14 +08:00
layhuts
43717807a4
style: reformat code
2026-05-09 23:18:44 +08:00
layhuts
1b4e126128
fix: 处理localStorageDriver在某些受限浏览器环境下报错导致无法使用
2026-05-09 23:10:05 +08:00
layhuts
d23b246aee
fix: 处理localStorage prefix === ''时提醒用户可能会全部删除数据
2026-05-09 23:04:38 +08:00
layhuts
9667232684
fix: 加上 - 分隔符来避免跨前缀误匹配
2026-05-09 12:56:50 +08:00
layhuts
1f584ff0c9
fix: 处理window不可用时降级使用Memory
2026-05-09 12:49:21 +08:00
layhuts
75ed17a1f9
docs: 更正saveToCache所属组件
2026-05-09 12:41:10 +08:00
layhuts
cc6ccaab38
docs: 为符合 Markdown lint 规范,指定代码块语言。
2026-05-09 12:38:13 +08:00
layhuts
0be4b51eaa
fix: 解决window在构造函数中进行访问破坏SSR/Node环境。
2026-05-09 12:33:15 +08:00
layhuts
b40822e3ed
fix: 解决indexedDB的getDB在失败重试时永远返回错误Promise问题
2026-05-09 12:02:41 +08:00
layhuts
df5cb426d1
fix: 解决indexedDB的setItem、,removeItem以及clear在请求成功时而不是事务完成时触发resolve问题
2026-05-09 11:54:11 +08:00
layhuts
8ce773f264
feat: 在storage-manager添加keys方法
2026-05-09 10:58:41 +08:00
layhuts
51e8b27d4c
style(@vben-core/shared): formatting
2026-05-08 17:36:47 +08:00
layhuts
e555ee065e
feat(@vben-core/shared): 新增indexedDB
...
在cache下新增indexedDB缓存
2026-05-08 17:34:54 +08:00
YunaiV
e385823d46
fix: 修复 Vben5.0 form-create 多图上传校验拒绝 png/jpeg/gif,isImage 兼容 MIME 与扩展名两种 accept 写法
2026-05-02 22:56:38 +08:00
boisduval
c7fd6ffb0e
feat: 添加日期格式化函数的空值处理
...
- 当传入的时间参数为 undefined、null 或空字符串时,直接返回空字符串而不是继续执行格式化逻辑,避免无效的时间值导致程序错误。
2026-04-23 17:25:10 +08:00
Jin Mao
f2652833a1
Merge branch 'fork/xueyitt/main'
2026-04-15 17:20:10 +08:00
allen
6f18718c87
feat: add collapsible 组件,form表单增加单项可折叠,支持schema配置默认关闭/开启
...
feat: add collapsible 组件,form表单增加单项可折叠,支持schema配置默认关闭/开启
- shadcn-ui 增加 collapsible组件,collapsible-params组件
- form新增支持单项折叠
- collapsible-params组件在Form表单应用
2026-04-13 19:20:01 +08:00
xingyu4j
5eca357a5c
feat(@vben/plugins): add tiptap rich text editor
2026-04-13 17:52:13 +08:00
xingyu4j
b2cf1646a4
fix: lint
2026-04-13 16:46:44 +08:00
xingyu4j
a653e428f3
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin
2026-04-13 16:45:32 +08:00
雪忆天堂
fe77bc8bc9
feat: 通知模块自定义加强
2026-04-13 16:05:42 +08:00
YunaiV
76f9d3d9fc
merge: 合并 master 分支,解决 isUrl 冲突(保留从 @vben/utils 导出的方式)
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 21:27:05 +08:00
xingyu4j
bb78882f72
feat(@vben/plugins): add tiptap rich text editor
2026-03-30 19:36:29 +08:00
xingyu4j
fece74f744
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into vite8
2026-03-23 16:55:27 +08:00
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.
2026-03-22 09:15:56 +08:00
xingyu
0c300d040c
fix: tailwindcss config ( #7693 )
...
* chore: update deps
* fix: tailwindcss config
* fix: lint
* fix: lint
* chore: update deps
2026-03-19 15:51:09 +08:00
Jin Mao
340baf4f0b
chore: 处理合并的一些问题
2026-03-16 20:50:01 +08:00
xingyu4j
5558249cd3
chore: unbuild
2026-03-15 23:11:41 +08:00
xingyu4j
3946253d6e
chore(tsdown): align stub scripts and package exports
2026-03-15 21:17:41 +08:00
xingyu4j
26e9aa244b
fix(vite): adapt rolldown workspace resolution
2026-03-15 20:27:01 +08:00
xingyu4j
ed3cd2fe3b
chore(core-typings): migrate build to tsdown
2026-03-15 19:40:36 +08:00
xingyu4j
59912a00bc
chore(core-shared): migrate build to tsdown
2026-03-15 19:40:29 +08:00
xingyu4j
675d8b0179
chore(core-icons): migrate build to tsdown
2026-03-15 19:40:17 +08:00
xingyu4j
ae6a75e913
build: migrate core ts packages to tsdown
2026-03-15 18:13:49 +08:00
Jin Mao
1f2df3e944
Merge branch 'fork/Lmx1220/main'
...
# Conflicts:
# pnpm-lock.yaml
2026-03-15 03:53:43 +08:00
xingyu4j
b9467b2bc3
chore: configure tailwind v4 dynamic spacing
2026-03-14 18:14:44 +08:00
xingyu4j
fa190e0975
chore: checkpoint tailwind spacing updates
2026-03-14 18:11:08 +08:00
xingyu4j
a83d8248d7
fix: lint
2026-03-14 12:27:31 +08:00
xingyu4j
4cdc92f759
fix: lint
2026-03-14 12:16:31 +08:00
xingyu4j
ac3fc6b7d3
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into vite8
2026-03-14 11:34:06 +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
c7d7529c00
chore: ts
2026-03-13 23:07:04 +08:00