Commit Graph

690 Commits

Author SHA1 Message Date
RUNZE LU
d9b750516a
fix: InputText组件autoComplete标签显示错误问题 (#7869) 2023-08-17 20:19:05 +08:00
lvxiaojiao
a180bfb36e fix:ajax/dialog相关动作args中存在非法配置时导致数据映射失败 2023-08-17 19:49:28 +08:00
wutong
9c3c6cc9d0
Merge pull request #7868 from igrowp/fix-action
fix: 修复download 动作执行报错问题
2023-08-17 19:44:38 +08:00
wutong25
9fbc3f86ef fix: 事件动作中download兼容问题 2023-08-17 19:10:45 +08:00
liaoxuezhi
b2c195021c
chore: 调整事件动作找不到组件时报错策略默认只是 warning, ignoreError 配置成 false 时中断, ignoreError true 时继续 (#7865) 2023-08-17 18:01:02 +08:00
lvxiaojiao
68fe3e286c chore:动作执行支持ignoreError,用于忽略执行错误继续执行动作列表 2023-08-17 13:44:12 +08:00
liaoxuezhi
6e64e5f74d
chore: 调整移动端判断逻辑、优化编辑器移动端预览逻辑 (#7840)
* chore: 调整移动端判断逻辑优化编辑器移动端预览逻辑

* 补充组件级别 useMobileUI 开关
2023-08-16 20:26:13 +08:00
liaoxuezhi
ecf7215665
chore: 调整 static 属性支持容器组件配置且支持表单项上配置,表单项优先 Close: #7698 (#7834) 2023-08-16 19:32:13 +08:00
2betop
2fe92887a7 Merge remote-tracking branch 'baidu/master' 2023-08-16 19:31:12 +08:00
2betop
6a1243a0c2 调整初始化宽度同步方式 2023-08-16 19:30:25 +08:00
hsm-lv
b06d3ebe66
Merge pull request #7822 from 2betop/chore-api-valid
chore: 允许 api 配置相对路径 Close: #7815
2023-08-16 18:44:42 +08:00
wanglinfang2014
0fb7d65a86
fix: picker selectedChange事件中缺少shift连续多选的数据 (#7831)
Co-authored-by: wanglinfang <wanglinfang@baidu.com>
2023-08-16 14:58:45 +08:00
2betop
7aba99acd5 调整初始化宽度同步方式 2023-08-16 14:41:29 +08:00
2betop
123840c49b chore: 记住上次调整的位置 2023-08-15 19:03:55 +08:00
wanglinfang2014
ed7779f326
fix: picker显隐勾选、value绑定上层数据变量等问题修复 (#7816)
Co-authored-by: wanglinfang <wanglinfang@baidu.com>
2023-08-15 15:36:23 +08:00
YangFong
933858c1dd fix: getBoundSuper() 兼容 2023-08-15 10:36:42 +08:00
sqzhou
2a102312f3
chore: 支持表达式多语言默认显示 (#7805) 2023-08-15 10:12:22 +08:00
YangQi
42d43050ce
chore: 优化编辑器工具函数逻辑 (#7813)
* refactor: 重构工具函数

* Modified according to review comments
2023-08-15 10:11:25 +08:00
liaoxuezhi
d0edce2291
feat: tinymce 支持扩充插件 Close: #7801 (#7821) 2023-08-15 10:09:01 +08:00
YangFong
2e508bdd73 refactor: 优化 autobind TS 类型 2023-08-15 09:52:01 +08:00
2betop
ca8a1bf6c9 chore: 允许 api 配置相对路径 Close: #7815 2023-08-15 08:55:45 +08:00
wutong
1882f91765
Merge pull request #7812 from CheshireJCat/fix-editor-select-keep-joinValues-after-close-multiple
fix: 修复 amis-editor 下拉框关闭可多选会自动干掉joinValues/delimiter/extractValue等相关…
2023-08-14 17:54:24 +08:00
jinye
40943ec52c fix: 修复 amis-editor 下拉框关闭可多选会自动干掉joinValues/delimiter/extractValue等相关选项的问题 2023-08-14 16:56:58 +08:00
2betop
f139567312 fix: 修复 table width 同步存在表头与内容列宽度不一致问题 2023-08-14 16:34:29 +08:00
liaoxuezhi
78c7141e1e
chore: 调整 table 宽度同步逻辑,OC 解决可能出现异常滚动条问题 (#7735) 2023-08-14 10:26:19 +08:00
lmaomaoz
fab42f8271
fix: 解决transfer\tree等options组件渲染大量节点约(10000以上)时页面卡死崩溃的问题 (#7679)
Co-authored-by: jinye <jinye@baidu.com>
2023-08-14 10:09:09 +08:00
lvxiaojiao
c71c5b24c1 chore:确认弹窗动作取消后阻止组件默认行为 2023-08-11 09:56:38 +08:00
2betop
d4b4c7d3af fix: 修复 #7443 引发问题 2023-08-10 08:50:59 +08:00
殷亮辉
24516cc0c2
form组件的messages属性支持表达式 #7443 (#7444) 2023-08-09 14:48:41 +08:00
wanglinfang2014
c8ad83ec03
fix:picker全选排除已禁用的行 (#7736)
Co-authored-by: wanglinfang <wanglinfang@baidu.com>
2023-08-08 19:20:36 +08:00
hsm-lv
c2abaec30e
Merge pull request #7684 from 2betop/chore-api803
chore: 调整 responseData 当接口返回错误但是有数据返回时也有用 Close: #7680
2023-08-08 13:02:37 +08:00
liaoxuezhi
21c1e5091f
feat: conditionBuilder 支持 showIf 来开启条件组启动条件配置 (#7649) 2023-08-08 13:00:32 +08:00
liaoxuezhi
890fec5a05
fix: 修复展示类组件 value 配置表达式可能会原样输出的问题 Close: #7662 (#7688) 2023-08-08 10:05:48 +08:00
lvxiaojiao
1100726a57 fix:ajax动作不配置data时不应该发送数据 2023-08-07 18:41:29 +08:00
qiaoganggang
654baa846e
fix: flex布局容器,、表单等取消边距 (#7681)
* feat: flex布局容器, 表单一些边距修复

* fix: 去掉分栏边距

---------

Co-authored-by: qiaoganggang <qiaoganggang@baidu.com>
2023-08-03 17:32:45 +08:00
2betop
9c1cb98416 chore: 调整 responseData 当接口返回错误但是有数据返回时也有用 Close: #7680 2023-08-03 12:11:31 +08:00
wanglinfang2014
d933aeb4a0
fix: table2 rowClassName兼容数据替换场景 (#7678)
Co-authored-by: wanglinfang <wanglinfang@baidu.com>
2023-08-03 10:30:27 +08:00
2betop
b2637905fa bump: amis v3.3.0 2023-08-01 10:28:48 +08:00
hsm-lv
cf373d0d6f
Merge pull request #7616 from wanglinfang2014/feat-crud
fix: table2支持批量编辑功能
2023-08-01 10:08:36 +08:00
liaoxuezhi
150accdfac
chore: 优化 input-kv 在编辑过程中不更换顺序 Close: #7201 (#7642) 2023-08-01 10:07:38 +08:00
liaoxuezhi
d09988a88a
fix: 修复 static 属性嵌套影响问题 Close: #7088 (#7643) 2023-08-01 10:06:28 +08:00
wanglinfang
f332a25bf9 fix: table2支持批量编辑功能 2023-07-28 15:24:05 +08:00
liaoxuezhi
b50a97a4b0
chore: 补充编辑器属性说明 (#7613) 2023-07-28 12:52:57 +08:00
hsm-lv
2620dbee2d
Merge pull request #7595 from hsm-lv/chore-action
chore:调用组件动作时找不到则throw Error
2023-07-27 11:31:02 +08:00
lvxiaojiao
e8f68a1c57 chore:调用组件动作时找不到则throw Error 2023-07-27 10:50:46 +08:00
liaoxuezhi
28c629f7fd
feat: 范围类组件支持 extraName 拆成两个字段 (#7583) 2023-07-27 08:52:17 +08:00
吴多益
c9fd4e3766
feat: form 的自动提交支持设置 close 来避免关闭弹框 (#7555) 2023-07-25 19:20:25 +08:00
liaoxuezhi
33cd873f89
fix: 修复日期默认值优先级过高的问题 (#7573) 2023-07-25 19:19:28 +08:00
liaoxuezhi
73a78a1406
feat: api 的 requestAdaptor 支持拦截请求 (#7566) 2023-07-25 14:31:19 +08:00
lvxiaojiao
03f01db1d1 Merge branch 'master' into fix-action 2023-07-25 09:57:41 +08:00
lvxiaojiao
3545bdef42 Merge branch 'master' into fix-action 2023-07-25 09:07:51 +08:00
liaoxuezhi
ef5741ce4b
chore: form 获取表单项应该排除子表单项内部的 (#7549) 2023-07-24 23:13:17 +08:00
lvxiaojiao
f549b502ff Merge branch 'master' into fix-action 2023-07-22 21:53:11 +08:00
liaoxuezhi
434219ff05
chore: 返还到 react 16 的语法 (#7546) 2023-07-21 14:10:27 +08:00
liaoxuezhi
2667ce67f0
chore: 调整 debug 样式 补充销毁逻辑, 适配 react 18 (#7535) 2023-07-20 20:38:57 +08:00
liaoxuezhi
e6c231c887
feat: api 发送适配器支持异步 (#7525) 2023-07-20 20:32:55 +08:00
lvxiaojiao
b5d6c0b1f5 fix:修复ajax动作数据获取不到问题 2023-07-20 14:09:27 +08:00
2betop
82a22d1c8e chore: 优化 svgr 产出代码便于打包 2023-07-18 19:04:20 +08:00
liaoxuezhi
f7373c5abf
chore: 调整 lodash 引用大文件改成异步加载 (#7469) 2023-07-18 12:24:45 +08:00
hsm-lv
95d7451af6
Merge pull request #7485 from blankzust/feat-npm-script-add-esm-build
feat: 添加只打包esm的npm script
2023-07-18 11:16:56 +08:00
liaoxuezhi
cabeb0ec3d
feat: api adpator 和 requestAdaptor 添加新变量 context 可用来获取请求发送前的上下文数据 Close: #7454 (#7456) 2023-07-13 19:46:38 +08:00
张淑峰
9726094813 feat: 添加只打包esm的npm script 2023-07-13 14:13:24 +08:00
hsm-lv
deefcb6923
chore:刷新动作支持覆盖模式&示例补充 (#7463) 2023-07-13 08:44:12 +08:00
liaoxuezhi
882354fb02
chore: table column 中如果设置了 width 也自动用 table-layout:fixed 模式 (#7461) 2023-07-12 20:04:27 +08:00
liaoxuezhi
b40b2680bb
chore: 调整 table 固定列和固定表头逻辑 (#7449) 2023-07-12 18:39:48 +08:00
lvxiaojiao
16c37f3387 Merge branch 'master' into fix-event 2023-07-10 18:44:52 +08:00
lvxiaojiao
53170c5418 chore:刷新动作参数调整(默认不传数据) 2023-07-10 14:19:01 +08:00
hsm-lv
1314d93c30
Merge pull request #7411 from 2betop/crud-reload
fix: 修复crud 中 drawer 动作后不刷新问题   Close: #6903
2023-07-10 11:09:33 +08:00
2betop
b337c1590d fix: 修复crud 中 drawer 动作后不刷新问题 Close: #6903 2023-07-10 10:37:18 +08:00
qkiroc
51bd288d0a
feat: 整理项目图标 (#7362)
* feat: 整理项目图标

* feat: 整理项目图标

* feat: 整理项目图标, 更新快照

* feat: 整理项目图标, 更新快照

* feat: 整理项目图标, 更新快照

* feat: 整理项目图标, 更新快照

* feat: 整理项目图标, 更新快照

* feat: 整理项目图标, 更新快照

---------

Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>
2023-07-10 10:34:42 +08:00
吴多益
b159a650e3
fix: 修复 office-viewer 开启变量后无限渲染问题 (#7414) 2023-07-07 18:08:51 +08:00
hsm-lv
04a947da42
Merge pull request #7363 from hsm-lv/chore-action
chore:表单校验和提交动作支持返回结果 Close #6941
2023-07-07 16:44:23 +08:00
hsm-lv
55320461f3
Merge pull request #7415 from allenve/master
feat: inputNubmer formatter优化
2023-07-07 16:26:07 +08:00
lvxiaojiao
7d7ac9a4a1 Merge branch 'master' into chore-action 2023-07-07 16:18:00 +08:00
allenve
db4ef97b82 feat: inputNubmer formatter优化 2023-07-07 15:36:54 +08:00
Allen
71b3eebabf
Merge pull request #7412 from allenve/master
feat: math.ts 单测
2023-07-07 15:28:24 +08:00
allenve
f97e1800d5 feat: math.ts 单测 2023-07-07 14:13:37 +08:00
hsm-lv
fce25b4975
Merge pull request #7395 from nwind/fix-office-viewer-uri
fix: office-viewer 加载错误时显示错误信息
2023-07-07 09:48:55 +08:00
sqzhou
06ad5abe50
fix: combo 唯一验证触发后,当删除其中一个时,唯一验证的报错没有消失 (#7388)
* fix: combo 唯一验证触发后,当删除其中一个时,唯一验证的报错没有消失

* fix: combo 唯一验证触发后,当删除其中一个时,唯一验证的报错没有消失
2023-07-06 20:19:53 +08:00
liaoxuezhi
97fef6a70a
fix: 修复 jssdk 中 popOver 问题 Close: #7372 (#7382) 2023-07-06 20:17:47 +08:00
liaoxuezhi
d1af07be7d
feat: App 应用支持设置菜单徽标 Close: #7380 (#7384) 2023-07-06 20:16:51 +08:00
liaoxuezhi
1a2cb0882e
fix: 修复 accessSuperData 逻辑解决表格中通过非 name 方式无法获取不到上下文数据的问题 Close: #7387 (#7396) 2023-07-06 20:14:56 +08:00
wuduoyi
4da094c70f fix: office-viewer 链接地址时显示错误信息 2023-07-06 16:36:17 +08:00
lvxiaojiao
c7f46eb326 fix:当按钮本身事件触发后,无法触发按钮的广播事件 Close #7358 2023-07-06 15:37:52 +08:00
liaoxuezhi
0537b6cd1e
fix: 修复容忍 null #7275 后导致的自动取对象第一个数组功能异常 (#7353) 2023-07-05 19:05:43 +08:00
liaoxuezhi
115c6a3eef
chore: api 变更检测优化补充从无到有的检测 (#7369) 2023-07-05 18:44:41 +08:00
lvxiaojiao
2528e7f0e8 Merge branch 'master' into chore-action 2023-07-05 18:23:15 +08:00
lvxiaojiao
f5c0a638fa Merge branch 'master' into chore-action 2023-07-05 16:06:28 +08:00
2betop
1f22bef018 Merge remote-tracking branch 'baidu/master' into fix-api-regxp 2023-07-05 16:02:25 +08:00
lvxiaojiao
59f8a3ec2d chore:表单校验和提交动作支持返回结果 2023-07-05 14:10:35 +08:00
liaoxuezhi
71c406883a chore: 优化判断是否是 api 的正则判断 2023-07-05 11:53:55 +08:00
allenve
035f6ceeee fix: 精度处理问题 2023-07-04 19:22:12 +08:00
hsm-lv
f5ccaf7d90
Merge pull request #7234 from pianruijie/feat/ajaxActionArgs
feat:ajaxAction传参处理
2023-07-04 11:11:21 +08:00
hsm-lv
3a2c649a36
Merge pull request #7340 from 2betop/fix-api-outdated
fix: 修复 api 无变量时的地址变化检测问题
2023-07-04 10:36:21 +08:00
廖学之
8c98da691f 默认不要收集覆盖率 2023-07-04 08:46:36 +08:00
lurunze1226
09601df439 bump: amis v3.2.0 2023-07-03 21:39:46 +08:00
廖学之
fec1c1f3ea fix: 修复 api 无变量时的地址变化检测问题 2023-07-03 21:32:07 +08:00
pianruijie
1b9a91d9d5 去掉log 2023-07-03 17:11:46 +08:00
pianruijie
9547578c34 feat:调整ajax动作配置结构 2023-07-03 16:32:09 +08:00
Hsirius
dbc4da2740
fix: 列表选取boolean类型选择错误 (#7328) 2023-07-03 15:02:33 +08:00
吴多益
caea8ec5b4
feat:导出 excel 支持指定行 Closes #2738 (#7316) 2023-07-03 14:19:55 +08:00
pianruijie
f50682f612 Merge remote-tracking branch 'upstream/master' into feat/ajaxActionArgs 2023-07-03 11:27:37 +08:00
RUNZE LU
a4aaac2d19
chore: renderTextByKeyword过滤掉非法输入 (#7319) 2023-06-30 14:46:56 +08:00
hsm-lv
fd54fcd378
Merge pull request #7312 from hsm-lv/chore-action
fix:修复确认弹窗自定义内容问题
2023-06-30 10:30:08 +08:00
lvxiaojiao
80243b84db fix:修复确认弹窗自定义内容问题 2023-06-30 09:22:31 +08:00
allenve
6c9cbc9f30 fix: normalizeLink url处理问题 2023-06-29 19:51:54 +08:00
hsm-lv
d9c7a5f230
Merge pull request #7202 from 2betop/feat-crud-filter
feat: crud filter 支持深层数组的清除 Close: #7083
2023-06-29 15:46:04 +08:00
hsm-lv
8473def58b
Merge pull request #7289 from 2betop/fix-input-group-validate
fix: 修复 inputGroup 表单项在 service 下时校验问题 Close: #7279
2023-06-29 14:46:31 +08:00
hsm-lv
8266789336
Merge pull request #7298 from 2betop/chore-table-orderby
chore: table 支持自己的排序逻辑并修复 table 嵌套 crud 时排序冲突问题 Close: #6774
2023-06-29 14:45:15 +08:00
hsm-lv
13fa5e4cbb
Merge pull request #7297 from hsm-lv/chore-event
chore:去掉组件动作调用目标为自身的判断
2023-06-29 14:35:55 +08:00
lvxiaojiao
d79e39469b chore:去掉组件动作调用目标为自身的判断&修复事件触发时renderer获取不准确的问题 2023-06-29 13:59:49 +08:00
Allen
9897d5e1c6
Merge pull request #7292 from allenve/master
fix: disabled 失效问题
2023-06-29 10:36:06 +08:00
2betop
b399c030e7 chore: table 支持自己的排序逻辑并修复 table 嵌套 crud 时排序冲突问题 Close: #6774 2023-06-29 10:30:32 +08:00
allenve
3e3bfdb45d fix: disabled static 失效问题 2023-06-29 10:06:00 +08:00
2betop
4fa2510d29 chore: 调整引用路径 2023-06-29 09:45:43 +08:00
lvxiaojiao
8715924425 chore:去掉组件动作调用目标为自身的判断 2023-06-29 08:56:55 +08:00
liaoxuezhi
8aacd4361e
chore: 调整 dataMapping 中 '&' 特殊 key 的逻辑 始终优先处理 Close: #7247 (#7264) 2023-06-28 19:27:46 +08:00
liaoxuezhi
71c0d6eda9
chore: 接口轮训添加限制, 接口正常返回才轮训 Close: #7260 (#7263) 2023-06-28 18:41:38 +08:00
liaoxuezhi
fc4c189f35
feat: app 渲染器页面配置支持 visibleOn Close: #7067 (#7273) 2023-06-28 18:39:25 +08:00
liaoxuezhi
58bb8d6466
chore: crud 的 api 返回容忍返回为空 null Close: #6391 (#7275) 2023-06-28 18:39:00 +08:00
2betop
f3c81b7944 fix: 修复 inputGroup 表单项在 service 下时校验问题 Close: #7279 2023-06-28 15:29:45 +08:00
pianruijie
4b793fde2e 逻辑优化 2023-06-27 11:44:14 +08:00
lvxiaojiao
0cb5d98ca6 feat:表达式输入框高亮改为源码 2023-06-26 19:16:29 +08:00
pianruijie
de12234640 fix: 兼容api string格式 2023-06-26 17:00:15 +08:00
lvxiaojiao
b1f5dba3ee feat:dataschema增加typeLabel 2023-06-26 12:57:03 +08:00
miaoxinyu01
dc6325be3b
Merge branch 'master' into feat-event-action-stop 2023-06-25 15:25:56 +08:00
pianruijie
202b9bb5af feat:ajaxAction传参处理 2023-06-21 11:20:51 +08:00
allenve
85d77a73ee feat: crud 导出csv支持自定义文件名 2023-06-20 15:49:22 +08:00
RUNZE LU
c644ef4f19
fix: GET请求中api.data未追加到query中问题 (#7214) 2023-06-19 13:06:12 +08:00
吴多益
d7675012e5
chore: 尝试修复 codecov 不生效问题 (#7207) 2023-06-16 21:46:02 +08:00
hsm-lv
0ce97c81f7
Merge pull request #7147 from hsm-lv/feat-formulaeditor
feat:表达式编辑器升级
2023-06-16 18:07:41 +08:00
liaoxuezhi
132761fcf1
fix: 修复 inputFile 的initAutoFill false 功能 Close: #7087 (#7191)
* chore: tpl 初始用同步模版渲染后更新异步模版 Close: #7099

* fix: 修复 inputFile 的initAutoFill false 功能 Close: #7087
2023-06-16 17:49:02 +08:00
hsm-lv
78a81e3d0e
Merge branch 'master' into feat-formulaeditor 2023-06-16 17:31:18 +08:00
2betop
ff8051fb0f feat: crud filter 支持深层数组的清除 Close: #7083 2023-06-16 16:05:20 +08:00
hsm-lv
321e66347c
Merge pull request #7182 from lurunze1226/chore-jsonql-req
chore: JSONQL请求支持追加 data 中的变量到 query 中
2023-06-16 13:46:09 +08:00
hsm-lv
8b48d3b7b3
Merge pull request #7169 from 2betop/feat-trackExpression
feat: 数据域组件扩充 trackExpression 属性用于显式的设置跟踪上层数据变化 Close: #7152
2023-06-16 13:23:29 +08:00
lvxiaojiao
2407e009bf feat:表达式编辑器升级 2023-06-15 17:40:36 +08:00
吴多益
a4f877587c
chore: ios 的 DragEvent 报错修复挪到 core 模块下 (#7154)
* chore: ios 的 DragEvent 报错修复挪到主项目中

* chore: ios 的 DragEvent 报错修复挪到 core 模块下
2023-06-15 11:36:29 +08:00
lurunze1226
8a62aa7d7d chore: JSONQL请求支持追加 data 中的变量到 query 中 2023-06-15 11:14:30 +08:00
2betop
fc33a00e73 feat: 数据域组件扩充 trackExpression 属性用于显式的设置跟踪上层数据变化 Close: #7152 2023-06-14 17:25:10 +08:00
ls
bfcfab6fa5
Merge branch 'baidu:master' into master 2023-06-13 17:50:20 +08:00
zhangxulong
1779966f85 fix: 调整class 2023-06-13 17:26:54 +08:00
zhangxulong
321c188758 fix: 移动端表单项错误提示、description 样式调整 2023-06-13 17:13:29 +08:00
hsm-lv
6e330227b0
fix:修复动作配置面板切换动作选中失效问题 (#7148) 2023-06-12 20:52:23 +08:00
liaoxuezhi
afada192bb
fix: 修复schemaApi直接返回表单项 label 不展示问题 Close: #2668 (#7091) 2023-06-09 14:54:41 +08:00
wutong25
0bb6590555 fix: 参照录入的悬浮窗的取消点击后无法关闭弹窗 2023-06-09 11:38:53 +08:00
hsm-lv
38d06a952e
Merge pull request #7103 from lurunze1226/chore-jsonql-api
fix: api使用JSONQL时无法解析上层变量; chore: 调整api中JSONQL结构
2023-06-09 09:08:02 +08:00
wibetter
3537a25a0c fix(amis-editor): 右侧属性配置 collapseGroup 增加可折叠控制项 2023-06-08 17:56:05 +08:00
lurunze1226
c0888b87be fix: api使用JSONQL时无法解析上层变量; chore: api中jsonql结构增加兼容场景 2023-06-08 16:37:13 +08:00
lurunze1226
17e32ce204 bump: amis v3.1.1 2023-06-05 14:58:42 +08:00