Commit Graph

540 Commits

Author SHA1 Message Date
hsm-lv
47453da4a3
Merge pull request #9616 from 2betop/fix-mapping
fix: 修复 mapping 结合其他组件兜底显示时取值错误 Close: #9613
2024-02-29 15:14:00 +08:00
liaoxuezhi
e2db651475
fix: 修复 static-xxx 在列中始终是能获取上层数据的问题 Close: #9556 (#9581) 2024-02-24 17:35:28 +08:00
2betop
fe47227a33 ci: 更新 ss 2024-02-21 14:22:47 +08:00
liaoxuezhi
87b4dc226d
fix: 修复数据下发同步问题 (#9625) 2024-02-20 14:48:09 +08:00
2betop
2f92d68d79 fix: 修复 mapping 结合其他组件兜底显示时取值错误 Close: #9613 2024-02-19 14:36:31 +08:00
2betop
9cf4421189 fix: 修复 select 的 autoFill 在 inputTable 中赋值不正确的问题 Close: #9494 2024-02-19 11:29:19 +08:00
2betop
ad06c98315 style: 修复 table 在 safari 里面设置 width 无效问题 Close: #9486 2024-02-19 10:04:26 +08:00
2betop
be5123677d Merge remote-tracking branch 'baidu/master' into fix-ref 2024-02-18 12:26:16 +08:00
2betop
85995ded15 Merge remote-tracking branch 'baidu/master' 2024-02-18 12:23:14 +08:00
2betop
765c87a6cd ci: 修复用例错误 2024-02-18 12:22:59 +08:00
liaoxuezhi
0be59c10e4
fix: 修复表格视图显示边框默认没选中问题 (#9588)
* fix: 修复表格视图显示边框默认没选中问题

* fix: 修复用例错误
2024-02-18 12:22:32 +08:00
2betop
0b57f07907 fix: 修复 inputTable 行确认时没有触发校验的问题 Close: #9537 2024-02-18 11:22:26 +08:00
wuduoyi
eaac8a1e5a 更新 snapshot 2024-02-02 14:19:50 +08:00
wuduoyi
dc76dda5cd chore: jest 使用 @swc/jest 编译,提升性能 2024-02-02 13:55:23 +08:00
liaoxuezhi
41d3b12ed7
feat: 选项类的组件 autoFill 支持配置 initAutoFill 属性 Close: #9391 (#9547) 2024-01-31 16:09:30 +08:00
hsm-lv
3f349d37fd
Merge pull request #9543 from 2betop/fix-withStore
fix: 修改 withStore 更新逻辑修复 #9435
2024-01-30 20:16:57 +08:00
qkiroc
032ea5ac2c
chore: 固定icon组件支持的事件,避免警告 (#9529)
* chore: 固定icon组件支持的事件,避免警告

* 更新快照

---------

Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>
2024-01-30 11:11:49 +08:00
2betop
cce881170d fix: 修改 withStore 更新逻辑修复 #9435 2024-01-29 11:42:34 +08:00
jinye
60e7d1c93f fix: 完善身份证号码的校验逻辑 2024-01-26 21:39:05 +08:00
qkiroc
002b824c41
style: 优化input-tag、input-year-range、list-select等组件样式 (#9477)
* style: 优化tag组件样式

* 组件样式优化

* 修复编辑器组件提示溢出问题

* 优化年份\季度\月份范围选择器组件样式

* 更新快照

* 更新快照

---------

Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>
2024-01-23 18:34:32 +08:00
2betop
9b9a6b88ce fix: 修复 api 编辑输入太快立马弹出详情时出现弹窗空白问题 2024-01-18 15:24:14 +08:00
hsm-lv
04dfa35a4b
fix:crud2中行记录内switch无法change问题 (#9441) 2024-01-17 09:42:20 +08:00
liaoxuezhi
636156a7d1
fix: 修复单元格中直接放表单项可能取不到值的问题 (#9389) 2024-01-11 15:11:20 +08:00
吴多益
cb08444be3
feat: crud 的 filterable 支持 searchable (#9229) 2024-01-08 20:59:02 +08:00
wanglinfang2014
fba3074311
feat: 新增maxItemSelectionLength支持单独配置当前页最大勾选数 (#9249)
Co-authored-by: wanglinfang <wanglinfang@baidu.com>
2024-01-08 20:57:24 +08:00
hsm-lv
4b414ca9fe
revert:crud test (#9352) 2024-01-08 10:14:54 +08:00
lmaomaoz
0a1513c089
feat: 静态展示组件static的快速编辑支持配置图标 (#9324)
Co-authored-by: jinye <jinye@baidu.com>
2024-01-05 16:12:31 +08:00
wanglinfang2014
738e47d410
fix: Nav updateItems动作支持valueField属性 (#9316)
Co-authored-by: wanglinfang <wanglinfang@baidu.com>
2024-01-05 16:10:27 +08:00
zhaojianhui
3e08ea7b0e
feat: 事件动作-打开页面优化,新增内容区打开、浏览器当前页打开、浏览器新开页打开 (#9273)
* feat: 打开页面支持页面跳转、浏览器跳转

* 修改时处理

* feat: 打开页面支持页面跳转、浏览器跳转

* feat: 打开页面支持页面跳转、浏览器跳转-删除无用代码

* test: 打开页面-补充文档、测试用例

* test: 打开页面-补充文档、测试用例

* test: 打开页面动作修改字段linkType为targetType

* 遗漏文件提交

---------

Co-authored-by: zhaojianhui <zhaojianhui@baidu.com>
2024-01-05 15:54:20 +08:00
lghxuelang
78395d5e97
feat:(amis)调整color默认值逻辑 #9150 (#9325)
Co-authored-by: liuguihua <liuguihua@baidu.com>
2024-01-05 15:09:25 +08:00
sqzhou
ca343a98c6 chore: 去掉单测中多余的only 2024-01-03 20:24:20 +08:00
sqzhou
946c22093d test: 去掉多余only 2024-01-03 19:50:16 +08:00
zhaojianhui
de76135229
feat: Avatar组件支持事件动作 Close #3220 (#9272)
* feat: Avatar组件支持事件动作

* ts处理

* feat: Avatar组件支持事件动作

* feat: Avatar组件支持事件动作-补充版本说明

---------

Co-authored-by: zhaojianhui <zhaojianhui@baidu.com>
2024-01-03 14:53:20 +08:00
hsm-lv
268e31b4b8
Merge pull request #9292 from hsm-lv/fix-crud
fix:修复crud unSelectedItems无法在公式内解析问题
2024-01-03 10:29:38 +08:00
lvxiaojiao
b7d041b5f6 fix:修复crud unSelectedItems无法在公式内解析问题 2024-01-03 10:03:05 +08:00
Dora
d9fb3ddb75
feat: AnchorNav组件支持树形结构 (#8969)
Co-authored-by: yanglu19 <yanglu19@baidu.com>
2024-01-02 20:33:14 +08:00
RUNZE LU
3c755ec828
fix: InputDateTimeRanege组件首次选择后无法选择0点问题 (#9255) 2023-12-29 17:24:37 +08:00
sqzhou
bafa13e54e
fix: transfer级连模式支持虚拟列表时,显示文本问题 #9116 (#9264)
* fix:transfer级连模式支持虚拟列表时,显示文本问题

* fix:transfer级连模式支持虚拟列表时,显示文本问题

* fix:transfer级连模式支持虚拟列表时,显示文本问题

* test: transfer单测完善
2023-12-29 17:24:21 +08:00
hsm-lv
b301e81062
Merge pull request #9017 from yujinghan/feat-14768-pagination-optimization
feat:Pagination组件省略部分支持切换页码
2023-12-28 14:51:11 +08:00
hsm-lv
8ed279ab28
Merge pull request #9071 from Hsirius/feat-progress-event
feat: Progress组件支持事件动作
2023-12-27 20:55:39 +08:00
hsm-lv
e5f1f6defa
Merge pull request #9098 from yujinghan/feat-14711-inputrange-optimization
feat: Inputrange组件支持单位显示;优化marks显示位置
2023-12-27 10:31:11 +08:00
hsm-lv
068c4240d1
Merge pull request #9204 from gooolh/fix-input-number
fix: 默认值没有添加上单位, 点击事件阻止冒泡
2023-12-22 14:04:36 +08:00
sqzhou
2955833fd6
fix: NestedSelect级联下拉开启onlyChildren&onlyleaf后,导致下拉最后一项默认选中问题 (#9215)
* fix: 测试:「组件」级联下拉开启onlyleaf后,存在属性互斥的情况,组件表现不符合预期(onlyChildren&onlyleaf)

* fix: 测试:「组件」级联下拉开启onlyleaf后,存在属性互斥的情况
,组件表现不符合预期(onlyChildren&onlyleaf)

* fix: 测试:「组件」级联下拉开启onlyleaf后,存在属性互斥的情况
,组件表现不符合预期(onlyChildren&onlyleaf)
2023-12-22 10:31:31 +08:00
liujintao03
d2644f857c fix: 修复有单位时默认值不对,点击事件阻止冒泡 2023-12-21 19:50:39 +08:00
wanglinfang2014
b9aac39f67
fix: 表格数据源更新由嵌套切换为非嵌套单元格未更新问题修复 (#9211)
Co-authored-by: wanglinfang <wanglinfang@baidu.com>
2023-12-21 18:15:22 +08:00
RUNZE LU
2aee640fb4
fix: CRUD组件触发reload后已选项未清空问题 (#9196) 2023-12-20 20:10:22 +08:00
wutong
2b812344b1
Merge pull request #9186 from lurunze1226/fix-condition-builder-error
fix: ConditionBuilder使用公式编辑器切换类型异常问题
2023-12-20 19:13:40 +08:00
wutong
802f966a53
Merge pull request #9140 from lurunze1226/fix-table-drag-with-fixed-col
fix: Table、Table2组件列固定宽度时禁止拖拽伸缩
2023-12-20 19:03:48 +08:00
liaoxuezhi
493a29c862
fix: 修复 dialog 内部做常规动作没反应的问题 Close: #9149 (#9167) 2023-12-20 14:42:57 +08:00
lurunze1226
a02a2e3c3e fix: ConditionBuilder使用公式编辑器切换类型异常问题 2023-12-20 12:44:29 +08:00
RUNZE LU
c936aaedf2
feat: SearchBox组件支持disabled & loading状态 (#8821) 2023-12-18 18:20:58 +08:00
yujinghan
0ed629ccf5 fix:pagination simple mode supports small size & add test case 2023-12-15 16:04:09 +08:00
lurunze1226
b389f225c4 fix: Table、Table2组件列固定宽度时禁止拖拽伸缩 2023-12-15 13:10:22 +08:00
RUNZE LU
0364aa57a4
feat: InputText多选模式下的tag自适应展示tooltip(OverflowTpl) (#9055) 2023-12-14 19:36:37 +08:00
sailei
661bef5f9b chore: 补充测试用例 2023-12-14 17:09:11 +08:00
hsm-lv
3b3b3e8ed7
Merge pull request #9095 from CheshireJCat/feat-form-force-validate-before-submit
feat: 表单提交前进行强制校验
2023-12-13 11:16:07 +08:00
lmaomaoz
b8edd76e49
feat: 表单项支持校验 (#9072)
Co-authored-by: jinye <jinye@baidu.com>
2023-12-12 18:37:24 +08:00
hsm-lv
f0f2d9682d Merge pull request #9082 from hsm-lv/fix-event-config
fix:解决事件动作面板卡死问题
2023-12-11 15:19:35 +08:00
yujinghan
c2d314b44d feat:inputrange组件支持单位显示;优化marks显示位置 2023-12-11 14:43:58 +08:00
yujinghan
8115016854 feat:fix some cr questions 2023-12-08 17:55:03 +08:00
sailei
bfde9bef50 chore: 更新测试用例 2023-12-08 17:26:31 +08:00
sailei
88713aa4b3 feat: Progress组件支持事件动作 2023-12-08 14:43:00 +08:00
liaoxuezhi
feba8aef2b
feat: api 添加 concatDataFields 配置支持多次请求将数据字段自动合并功能 (#9038) 2023-12-06 15:45:17 +08:00
RUNZE LU
903172a0dd
cherry-pick: #9022 #9027 (#9035)
* fix: PopOver嵌套场景下错误触发hidden事件问题 Close: #9015 (#9022)

* fix: Combo配置flat且成员配置必填后校验无法通过问题 (#9027)
2023-12-06 12:38:59 +08:00
yujinghan
2a3994e291 feat:update CRUD snapshot 2023-12-05 11:32:28 +08:00
yujinghan
afc0996cf0 feat:Pagination组件省略部分支持切换页码 2023-12-04 20:52:32 +08:00
langrq
51f5d36519
chore: 分页组件 go 字符翻译 (#8979)
* fix: zh-CN 页码 go 字符翻译展示

* 更新 snapshot

---------

Co-authored-by: langrq <ruqing.lang@keymantech.cn>
Co-authored-by: wuduoyi <wuduoyi@baidu.com>
2023-12-01 18:10:26 +08:00
chengjinyang
e5afd9dbe1 feat: icon支持配置事件动作 2023-12-01 12:02:24 +08:00
sqzhou
6ac9b0f89e
fix: 刷新表格时,清空表格行状态,例如switch选中、select选中等 (#8951)
* fix: 支持刷新表格时,清空表格状态

* fix: 支持刷新表格时,清空表格状态
2023-11-30 18:44:36 +08:00
lghxuelang
c07217439e
feat(amis-editor): LocationPicker & Picker组件配置面板升级 (#8936)
* feat(amis-editor): Picker配置面板升级 (#8558)

* feat:(editor)picker面板升级

* merge master

---------

Co-authored-by: liuguihua <liuguihua@baidu.com>

* feat: location-picker-editor 优化

* feat: location-picker-editor 点击函数以及文档处理

* feat: location-picker-editor 取消输入框样式

* feat: location-picker-editor 地图ak支持变量映射 (#8881)

Co-authored-by: jiangchunhui <jiangchunhui@baidu.com>

* feat:(amis-editor)locationPicker & Picker组件配置面板升级

---------

Co-authored-by: liuguihua <liuguihua@baidu.com>
Co-authored-by: jiangchunhui <jiangchunhui@baidu.com>
Co-authored-by: hsm-lv <80095014+hsm-lv@users.noreply.github.com>
Co-authored-by: wutong <34541195+igrowp@users.noreply.github.com>
Co-authored-by: 青辉 <66730036+QingHui1229@users.noreply.github.com>
2023-11-29 11:47:11 +08:00
lvxiaojiao
d2e0f78e9c feat:ConditionBuilder字段配置支持defaultOp 2023-11-27 21:32:32 +08:00
RUNZE LU
2c110c9642
feat: Switch组件的onText和offText支持Schema配置 (#8816) 2023-11-24 12:26:21 +08:00
hsm-lv
af68cce8d3
Merge pull request #8842 from 2betop/fix-date-defaultValue
fix: 修复inputDate 配置 valueFormat + 表达式初始值时值不匹配 valueFormat Close: #8652
2023-11-23 19:54:22 +08:00
hsm-lv
3a82b18864
Merge pull request #8859 from 2betop/fix-quick-editor
fix: 修复 quickEdit 通信找不到的问题(由 #8206 引发优先级乱了)
2023-11-23 19:33:00 +08:00
liaoxuezhi
b292a66c42
Merge branch 'master' into fix-date-defaultValue 2023-11-23 19:29:51 +08:00
liaoxuezhi
f3d53fbf7e
style: 调整 table 固顶模式的样式兼容 safari Close: #8708 (#8863) 2023-11-23 19:19:06 +08:00
liaoxuezhi
be312da1c5
fix: 修复 combo 同步父级数据可能存在展示值和实际值不一致的问题 Close: #8773 (#8831) 2023-11-23 19:18:15 +08:00
liaoxuezhi
03f5fa9775
feat: input-date & input-date-range 事件动作 setValue 支持相对时间 Close: #8845 (#8848) 2023-11-23 19:14:11 +08:00
2betop
d2c883f504 fix: 修复 quickEditor 通信找不到的问题(由 #8206 引发优先级乱了) 2023-11-23 10:10:14 +08:00
wanglinfang2014
e3527b376e
fix: 修复由#8822引入的crud多选问题 (#8852)
Co-authored-by: wanglinfang <wanglinfang@baidu.com>
2023-11-22 19:16:08 +08:00
RUNZE LU
73ef317e2c
feat: Switch组件支持加载中状态 (#8814) 2023-11-22 16:46:22 +08:00
2betop
ae6e03e306 fix: 修复inputDate 配置 valueFormat + 表达式初始值时值不匹配 valueFormat Close: #8652 2023-11-21 21:26:09 +08:00
hsm-lv
b5fd4819e6
Merge pull request #8642 from ranwawa/feat/table-expandme-checkme-toggle-entire-tree
feat(amis): table嵌套批量操作时自动选择父/子级复选框
2023-11-17 10:19:52 +08:00
lurunze1226
f63b43a70e feat: Alert组件支持自定义操作项目 2023-11-16 14:27:28 +08:00
ranqirong
2808790a96 feat(amis): 子节点包含部分选中状态时,父节点也标记为部分选中
避免父节点是部分选中而祖先节点是未选中状态的问题
2023-11-15 15:01:17 +08:00
ranqirong
5108906e96 Merge remote-tracking branch 'baidu/master' into feat/table-expandme-checkme-toggle-entire-tree 2023-11-15 09:10:02 +08:00
ranqirong
603d7f52ae feat(amis): 子节点全部选中时,父节点才自动选中
避免父节点是部分选中而祖先节点是未选中状态的问题
2023-11-15 07:01:38 +08:00
lurunze1226
5327b0a53d feat: InputDateTime在closeOnSelect为false时开启确认模式; chore: InputDateTime&InputDateTimeRange首次选择时时间设置为当前值 2023-11-14 21:07:27 +08:00
chengjinyang0
6480245738
feat: 支持图片点击/鼠标移入移出事件 & 支持图片预览放大缩小动作 (#8266)
* feat: 支持图片点击/鼠标移入移出事件 & 支持图片预览放大缩小动作

* docs & test: 补充image文档及单测
2023-11-10 11:22:29 +08:00
RUNZE LU
67afdb0b05
chore: 修复Static单测问题 (#8683) 2023-11-10 10:28:50 +08:00
hsm-lv
36fd172c2f
Merge pull request #8637 from lurunze1226/fix-nestedselect-select-children
fix: NestedSelect开启onLeaf后选项children为空也视为叶节点
2023-11-10 10:21:22 +08:00
liaoxuezhi
7f92c30868
fix: 修复 column static 属性影响到 quickEdit 中问题 (#8677) 2023-11-09 20:05:17 +08:00
RUNZE LU
ed6db0fc10
fix: CRUD组件updateQuery严格比较逻辑写反问题(patch pr8631) (#8661) 2023-11-09 15:20:19 +08:00
RUNZE LU
729f599573
feat: Transfer组件支持分页 (#8512) 2023-11-07 15:31:05 +08:00
lurunze1226
946633303c fix: NestedSelect开启onLeaf后选项children为空也视为叶节点 2023-11-06 20:58:12 +08:00
liaoxuezhi
8af076ce0e
style: 调整 textarea 的 counter 结构方便定制样式 (#8627) 2023-11-06 13:15:08 +08:00
liaoxuezhi
b406b42e86
fix: 修复 quickSaveImmediately 同时配置 api 时上下文信息错误 Close: #8587 (#8588) 2023-11-02 12:16:45 +08:00
2betop
262cc8e48a fix: 修复用例判断错误 2023-11-01 13:45:49 +08:00
2betop
e7ec975f8f fix: 修复 tabs 下表单项禁用状态判断可能不正确的问题 2023-10-30 21:05:24 +08:00
liaoxuezhi
2fc6867f8f
fix: 修复 formItem label 做两次变量替换的问题同时优化 label 描述中取当前数据的及时性问题 (#8553) 2023-10-30 16:18:29 +08:00