Commit Graph

10773 Commits

Author SHA1 Message Date
2betop
3eefcbd45e chore: 添加 amis-editor 本地开发入口 2023-03-20 21:40:40 +08:00
吴多益
85bae586a9
feat: office-viewer Word 文档渲染 (#6412)
* init

* theme

* 基础文本渲染

* 基础文本样式

* 支持简单链接和图片

* 修复 jc 解析不正确问题

* 解析和渲染分离

* 初步支持列表渲染

* 完善样式表的实现

* 表格解析初步

* 避免解析顺序不一致

* 避免解析顺序不一致导致的问题

* 基于 DOMParser 来实现解析; 初步实现表格渲染

* 修复行高解析不正确问题

* 修复变量替换不正确问题

* 补充注释

* 用 fflate 替换 jszip, 支持同步使用

* 支持渲染 tab

* 支持表格条件渲染

* 优化表格样式适配

* 完善背景色支持

* 支持 ruby

* 支持简单 inserttext

* 修复表格合并不正确问题

* amis 渲染初步

* 整合 amis 初步

* 支持 input-file 上传预览

* styles: 优化button组件单icon情况的样式 (#6269)

Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>

* fix: Badge设置overflowCount不生效问题修复 (#6267)

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

* feat: InputGroup报错展示优化 (#5803)

* feat:增加DATETOWEEK表达式

* feat:增加DATETOWEEK表达式

* feat:增加WEEKDAY和WEEK表达式

* feat:增加WEEKDAY和WEEK表达式

* feat:增加WEEKDAY和WEEK表达式

* feat:增加WEEKDAY和WEEK表达式

* feat:增加WEEKDAY和WEEK表达式

* chore: 2.7.3版本改为2.8.0 (#6272)

* styles: 输入框附加组件样式 (#6271)

Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>

* styles: 优化checkbox组件选中态样式 (#6277)

Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>

* feat:增加判断日期范围的表达式BETWEENRANGE&&优化STARTOF和ENDOF

* docs:表达式文档 (#6282)

* fix: Nav样式问题、性能优化 (#6280)

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

* chore: 还原几个 antd 导航及表格的颜色 (#6276)

* chore: Action倒计时key添加id避免冲突 (#5943)

* fix: nav同层拖拽问题修复 (#6285)

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

* v2.8.0

* chore: 删除在 ts 编译后永远都不会成立的代码 (#6291)

* styles: 将组件透明背景颜色改为白色 (#6289)

* styles: 将组件透明背景颜色改为白色

* styles: 将组件透明背景颜色改为白色

---------

Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>

* fix: Select组件overlay属性在popOverContainer时宽度错误问题 (#6284)

* fix:Select组件overlay属性在popOverContainer时宽度错误问题

* 问题修改

* styles: 优化link组件svg图标样式 (#6292)

Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>

* chore: Tree 组件中使用 value 替换 key (#6194)

* fix: 单选选项值包含逗号时获取选项错误问题 (#6258)

* fix: 单选选项值包含逗号时获取选项错误问题

* 加个单测

* 单测问题

* 在WrapControl 中使渲染器默认 multiple 生效

* 修改

* fix: select 各种模式支持 checkAll (#5941)

* feat(页面交互行为跟踪): 新增pageLoaded事件 (#6299)

* fix: nav拖拽卡顿、更多操作打开定位等问题修复 (#6304)

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

* fix: toast组件css变量拼错 (#6302)

Co-authored-by: renjianhua <renjianhua@zuoshouyisheng.com>

* fix: CRUD2 加载更多时接口page传参始终为1 (#6298)

* fix: 日期范围底部按钮居中 (#6301)

* 调整 saveAs  fileName 优先级

* feat: 移动端人员选择增加确定按钮

* Update UserSelect.tsx

* fix: 人员选择ts 类型错误

* fix: 城市选择组件移动端回显问题

* fix: 移动端级联选择器选中值bug修复

* Update Cascader.tsx

* fix: 城市选择香港、澳门不能选择市

* fix: 删除错误城市数据

* feat: 移动端人员选择支持字段配置

* feat: 人员选择组件支持字段配置

* Update UserSelect.tsx

* fix: 移动端人员选择静态展示头像url回显

* fix: 日期时间选择器底部按钮居中

---------

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

* fix: table2全选、嵌套展开等问题修复 (#6313)

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

* docs(API 适配器): 调整文档细节 (#6314)

* styles: 优化清除图标样式 (#6312)

Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>

* fix: 修复 Tree 在传入 pathSeparator 时,非根节点无法选中 (#6315)

* Update README.md

* fix: 解决因部分组件默认配置,导致编辑器配置面板宽度溢出问题 (#6328)

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

* chore: svg 瘦身 (#6320)

* chore: svg 瘦身

* chore: svg 瘦身

* chore: svg 瘦身

* feat: mapping 的 source 接口支持 select 选项类接口 (#6326)

* fix: 调整 spinner-overlay 和 dialog 的 z-index,使关闭按钮不会被 spinner 遮挡 (#6321)

* feat: 新增 number 组件用来展示数字 (#6330)

* feat: 新增 number 组件用来展示数字

* feat: 新增 number 组件用来展示数字

* chore: tableCell 内部属性换个名字,以免跟已有其他组件组合使用时冲突

* fix: 注销renderer问题 (#6327)

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

* feat: InputExcel支持placeholder (#6295)

* feat: button-group-select支持角标 (#6309)

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

* chore: 暴露 InputBoxWithSuggestion (#6337)

* fix: 注销renderer问题 (#6338)

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

* docs: 补充trackExpression用法示例 (#6286)

* fix: 解决monaco环境变量和monaco插件的冲突 (#6283)

Co-authored-by: renjianhua <renjianhua@zuoshouyisheng.com>

* fix: Cards嵌套List组件时, props透传导致Schema不生效问题 (#6110)

* styles: 优化带单位的number组件样式 (#6054)

* styles: 优化待单位的number组件样式

* 更新快照

---------

Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>

* fix(Table): #2978 嵌套表格如何设置默认全部展开 (#6028)

* fix(Table): #2978 嵌套表格如何设置默认全部展开

* fix(Table): #2978 更改函数命名

* fix: now表达式作为form组件默认值时,增加特殊逻辑,处理数据更新 (#5783)

* fix: 解决公式编辑器 搜索变量失效bug (#6345)

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

* fix: nav角标、悬浮展开子菜单、更多操作不可点击等问题修复 (#6346)

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

* feat:config动作优化

* fix: 修复卡片的 checkOnItemClick 配置问题 (#6365)

* fix: 修复弹窗中 form 配置 closeDialogOnSubmit 无效的问题 (#6368)

* fix: Transfer tree mode 支持 onlyChildren;两个值为undefined的Option不相等 (#6342)

* fix:transfer tree 支持 onlyChildren;两个值为undefined的Option不相等

* 修改

* 修改

* feat:carousel支持卡片动画模式 (#6354)

* feat:carousel支持多图配置

* Update carousel.md

---------

Co-authored-by: zhaowenli <zhaowenli@baidu.com>
Co-authored-by: RUNZE LU <36724300+lurunze1226@users.noreply.github.com>

* fix: inputTable 组件value依赖别的字段时,不同步数据域的问题 (#6360)

* fix: inputTable 组件value依赖别的字段时,不同步数据域的问题

* 修改

* 修改

* feat: 添加input-table子表单校验 (#6357)

* feat: 添加input-table子表单校验

* feat: 添加input-table snapshots更新

* feat: 添加input-table子表单校验

* feat: 添加input-table子表单校验

* feat: 添加input-table子表单校验

* feat: input-table snapshots更新

* feat: 添加input-table子表单校验

* feat: 添加input-table子表单校验

* feat: Steps source支持动态获取value status (#6370)

* fix: 修复 drawer reload 目标可能找不到的问题 (#6373)

* fix: 修复 crud 嵌套会触发多次快速保存接口问题 (#6374)

* fix: 修复 this.model.validated 可能读取不到的报错 (#6375)

* chore: alert 支持多个实例

* feat: Tag支持事件动作 (#6325)

* feat: reload 支持动态目标, 解决目标在循环中场景 (#6372)

* chore: Select组件checkAllBySearch默认为true (#6347)

* fix: Nav切换数据源实时更新、点击分组卡顿、横向模式排序等问题修复 (#6371)

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

* fix: table单元格支持自定义样式、crud支持本地数据快速过滤 (#6353)

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

* fix: 修改角标样式 (#6383)

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

* fix: 图标选择器,如果图标不属于saas项目中的,则默认显示schema配置的内容 (#6394)

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

* feat: icon支持自定义样式 (#6379)

Co-authored-by: sarding <hongfuquan@baidu.com>

* fix: 解决input-table某些场景下无法新增的bug (#6400)

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

* fix: 解决input-table某些场景下无法新增的bug (#6404)

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

* fix: input-table内columns为下拉框时,删掉下拉框的选中值,发现input-table的数据域更新错误 (#6402)

* fix: input-table内columns为下拉框时,删掉下拉框的选中值,发现input-table的数据域更新错误

* fix: input-table内columns为下拉框时,删掉下拉框的选中值,发现input-table的数据域更新错误

* 修复示例文档错误

* 修复用例报错

* 修复 fis 报错

---------

Co-authored-by: qkiroc <30946345+qkiroc@users.noreply.github.com>
Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>
Co-authored-by: wanglinfang2014 <w.l.fang@foxmail.com>
Co-authored-by: wanglinfang <wanglinfang@baidu.com>
Co-authored-by: RUNZE LU <36724300+lurunze1226@users.noreply.github.com>
Co-authored-by: lvxiaojiao <lvxiaojiao@baidu.com>
Co-authored-by: hsm-lv <80095014+hsm-lv@users.noreply.github.com>
Co-authored-by: lurunze1226 <lurunze1226@foxmail.com>
Co-authored-by: liaoxuezhi <2betop.cn@gmail.com>
Co-authored-by: sansiro <sansiro@sansiro.me>
Co-authored-by: meerkat <kit_hack@outlook.com>
Co-authored-by: 刘丹 <365533093@qq.com>
Co-authored-by: backpast <agileago@gmail.com>
Co-authored-by: renjianhua <renjianhua@zuoshouyisheng.com>
Co-authored-by: ls <1769057083@qq.com>
Co-authored-by: zhangxulong <zhangxulong@baidu.com>
Co-authored-by: zhangzhulei <30931358+DynaZhang@users.noreply.github.com>
Co-authored-by: zhangzhulei <zhangzhulei@baidu.com>
Co-authored-by: gooolh <57032082+gooolh@users.noreply.github.com>
Co-authored-by: liujintao03 <liujintao03@baidu.com>
Co-authored-by: Dora <53067150+Dora-boots@users.noreply.github.com>
Co-authored-by: yanglu19 <yanglu19@baidu.com>
Co-authored-by: TommyShao <tomieric@gmail.com>
Co-authored-by: pianruijie <13522335863@163.com>
Co-authored-by: xiangwaner <1186355501@qq.com>
Co-authored-by: zhaowenli <zhaowenli@baidu.com>
Co-authored-by: zhou999 <zhousq809@163.com>
Co-authored-by: Allen <yupeng.fe@qq.com>
Co-authored-by: sarding <37691952+sarding@users.noreply.github.com>
Co-authored-by: sarding <hongfuquan@baidu.com>
2023-03-20 20:09:13 +08:00
吴多益
6e346a3f13
Merge pull request #6413 from 2betop/master
feat: 添加 amis-editor 代码
2023-03-20 20:07:08 +08:00
2betop
8d6f9038a7 add nav-mode.gif 2023-03-20 19:45:44 +08:00
2betop
b2b33d6337 Merge branch 'master' of ../amis-editor 2023-03-20 19:29:11 +08:00
2betop
db0eda3bab Merge branch 'master' of ../amis-editor-core 2023-03-20 19:28:48 +08:00
zhou999
11905ea4c7
fix: input-table内columns为下拉框时,删掉下拉框的选中值,发现input-table的数据域更新错误 (#6402)
* fix: input-table内columns为下拉框时,删掉下拉框的选中值,发现input-table的数据域更新错误

* fix: input-table内columns为下拉框时,删掉下拉框的选中值,发现input-table的数据域更新错误
2023-03-20 16:53:49 +08:00
wibetter
3a68160337 fix(amis-saas-9318): 外网发版 5.2.5-beta.3
Change-Id: I513d361dfb6c30294b61d5f89f67b20e0f2500e5
2023-03-20 14:54:13 +08:00
wibetter
b1ad6ab662 fix(amis-saas-9318): 外网发版 5.2.5-beta.3
Change-Id: I513d361dfb6c30294b61d5f89f67b20e0f2500e5
2023-03-20 14:54:13 +08:00
zhangzhulei
07ae363786
fix: 解决input-table某些场景下无法新增的bug (#6404)
Co-authored-by: zhangzhulei <zhangzhulei@baidu.com>
2023-03-20 14:12:12 +08:00
zhangzhulei
5cb2dc0402
fix: 解决input-table某些场景下无法新增的bug (#6400)
Co-authored-by: zhangzhulei <zhangzhulei@baidu.com>
2023-03-20 11:23:00 +08:00
yinchunyu
e04696056c [BCE-FE-1573] editor版本
Change-Id: Iaf63250ffc9b027ebb1c89ae0af8f1f58eaa44d8
2023-03-17 19:05:58 +08:00
yinchunyu
3add96a25a [BCE-FE-1237] layout代码合入 Merge remote-tracking branch 'origin/feat-nav-release' into pre-release
Change-Id: Ib4285811ce5db6cb7c1ae9f7c3a8258c7ef7dad1
2023-03-17 10:37:23 +08:00
yinchunyu
3456f13f3d [BCE-FE-1237] layout代码合入 Merge remote-tracking branch 'origin/feat-nav-release' into pre-release
Change-Id: Ib4285811ce5db6cb7c1ae9f7c3a8258c7ef7dad1
2023-03-17 10:37:23 +08:00
sarding
30055e438b
feat: icon支持自定义样式 (#6379)
Co-authored-by: sarding <hongfuquan@baidu.com>
2023-03-17 10:04:24 +08:00
yinchunyu
deac5198eb [BCE-FE-1311] 按钮点选配置面板增加描述
Change-Id: I27277fc54f08fffcbdf90719be556f02231a88e4
2023-03-17 10:01:28 +08:00
wibetter
b8b28128cf Merge branch 'pre-release' of ssh://icode.baidu.com:8235/baidu/amis/editor into pre-release
Change-Id: Iee1a756b448a922db75b59b0137ad0ef848f06c6
2023-03-16 20:52:43 +08:00
wibetter
ae9d1ebde9 Merge branch 'pre-release' of ssh://icode.baidu.com:8235/baidu/amis/editor into pre-release
Change-Id: Iee1a756b448a922db75b59b0137ad0ef848f06c6
2023-03-16 20:52:43 +08:00
wibetter
0d00fa1dfe fix(amis-saas-10174): 悬浮和吸附容器点选插入页面时自动插入页面根结点
Change-Id: Idc15457b978ecd77a0a9ab0f2b32d8a3e5f43257
2023-03-16 20:52:23 +08:00
lurunze1226
8383739a8a amis-saas-10440 merge: branch 'origin/master' into pre-release; chore:
应用临时变量 => 内存变量

Change-Id: I05fd9720c0c31c1b080a3de2913a19282d8fabd3
2023-03-16 20:12:02 +08:00
lurunze1226
c9a2f0c42f amis-saas-10440 merge: branch 'origin/master' into pre-release; chore:
应用临时变量 => 内存变量

Change-Id: I05fd9720c0c31c1b080a3de2913a19282d8fabd3
2023-03-16 20:12:02 +08:00
zhangzhulei
351571c4c4
fix: 图标选择器,如果图标不属于saas项目中的,则默认显示schema配置的内容 (#6394)
Co-authored-by: zhangzhulei <zhangzhulei@baidu.com>
2023-03-16 20:03:31 +08:00
wibetter
8735bda440 Merge branch 'master' into pre-release
Change-Id: I68c7ef37efc9e5e2558838f9e6a9aaf18c885d12
2023-03-16 19:40:30 +08:00
tooeast
8d810754dc [amis-saas-9600]fix: crud组件 更换模式不正常显示数据
Change-Id: I0df73d91b292637ece824d98f2ebde1bbf025885
2023-03-16 17:18:00 +08:00
wibetter
ba99125f82 fix(amis-saas-10455): 修复移动端自由拖拽失效问题
Change-Id: I38694d94b3d9219111c8d46f61a8c1e2e5db5fa0
2023-03-16 12:23:17 +08:00
wibetter
5293796a0d fix(amis-saas-10455): 修复移动端自由拖拽失效问题
Change-Id: I38694d94b3d9219111c8d46f61a8c1e2e5db5fa0
2023-03-16 12:23:17 +08:00
zhangzhulei
a4401b0d3c BCE-FE-1316 perf:input-table构建表格弹窗,label字段组件换成input-text-i18n
Change-Id: Ibf0f68453f77c127a609fc32faa8b6d1298fd253
2023-03-15 22:56:23 +08:00
wibetter
6e37ae6510 fix(amis-saas-10453): 修复自由容器中的元素拖拽后会导致组件面板中的拖拽插入失效问题
Change-Id: Iefc8bd09e3ae2c03458f21d6f5fe2570d5ad8e79
2023-03-15 21:12:08 +08:00
Dora
158e9912de
fix: 修改角标样式 (#6383)
Co-authored-by: yanglu19 <yanglu19@baidu.com>
2023-03-15 20:32:45 +08:00
wanglinfang2014
69b1cb3f29
fix: table单元格支持自定义样式、crud支持本地数据快速过滤 (#6353)
Co-authored-by: wanglinfang <wanglinfang@baidu.com>
2023-03-15 19:52:20 +08:00
wanglinfang2014
fb8be7c6dc
fix: Nav切换数据源实时更新、点击分组卡顿、横向模式排序等问题修复 (#6371)
Co-authored-by: wanglinfang <wanglinfang@baidu.com>
2023-03-15 19:50:51 +08:00
wibetter
de78f696a5 fix(amis-saas-10392): 分栏选中时改为插入组件后面
Change-Id: I8c2ee71a3eccc59e6dc547b5d866b912cf45fb34
2023-03-15 19:34:30 +08:00
wibetter
b8be1782e1 Merge branch 'master' of ssh://icode.baidu.com:8235/baidu/amis/editor
Change-Id: I9c753798238051a4f814576d88797cea13771b3b
2023-03-15 18:12:32 +08:00
wibetter
228ab768eb fix(amis-saas-10401): 撤销、重做和版本切换后,如果此前选中元素不存在时自动选中根节点
Change-Id: I0fbaa9bec64c3163d898a924096671bc693a78b8
2023-03-15 18:11:35 +08:00
wibetter
a667a85296 fix(amis-saas-10449): 特殊布局容器不显示滚动吸附配置项
Change-Id: Ib638a76e56535bb2252f2027609333fdd8ac9d74
2023-03-15 17:36:21 +08:00
RUNZE LU
169924981b
chore: Select组件checkAllBySearch默认为true (#6347) 2023-03-15 16:23:23 +08:00
liaoxuezhi
b415a1f0f7
feat: reload 支持动态目标, 解决目标在循环中场景 (#6372) 2023-03-15 16:18:05 +08:00
meerkat
e15892f8dd
feat: Tag支持事件动作 (#6325) 2023-03-15 15:17:58 +08:00
hsm-lv
4b3b1505dc
Merge pull request #6378 from 2betop/chore-alert
chore: alert 支持多个实例
2023-03-15 14:03:28 +08:00
2betop
fb89400139 chore: alert 支持多个实例 2023-03-15 12:27:47 +08:00
liaoxuezhi
7035ee73eb
fix: 修复 this.model.validated 可能读取不到的报错 (#6375) 2023-03-15 11:00:45 +08:00
liaoxuezhi
f3296dde2d
fix: 修复 crud 嵌套会触发多次快速保存接口问题 (#6374) 2023-03-15 11:00:25 +08:00
liaoxuezhi
033ba27ef7
fix: 修复 drawer reload 目标可能找不到的问题 (#6373) 2023-03-15 10:59:53 +08:00
Allen
8da83968e6
feat: Steps source支持动态获取value status (#6370) 2023-03-15 10:14:27 +08:00
zhangzhulei
90c76e23e3 BCE-FE-1589 fix: 树选择器 级联选择器组件 选项管理 添加完选项后label没有保存
Change-Id: I98ba6016a9f6ac5f621f6fa1d1de3f2f61d68561
2023-03-14 21:17:55 +08:00
wibetter
1f2aee085e pre-release合入master
Change-Id: Iea48e35d02addf518804bed75af65534cde92bfb
2023-03-14 20:28:19 +08:00
wibetter
c801d24313 Merge branch 'pre-release'
Change-Id: I772a7053aabaa2c2a1b1d7d008135de47e80fbfb
2023-03-14 20:27:37 +08:00
zhou999
af3514f288
feat: 添加input-table子表单校验 (#6357)
* feat: 添加input-table子表单校验

* feat: 添加input-table snapshots更新

* feat: 添加input-table子表单校验

* feat: 添加input-table子表单校验

* feat: 添加input-table子表单校验

* feat: input-table snapshots更新

* feat: 添加input-table子表单校验

* feat: 添加input-table子表单校验
2023-03-14 18:47:57 +08:00
sansiro
06b533f139
fix: inputTable 组件value依赖别的字段时,不同步数据域的问题 (#6360)
* fix: inputTable 组件value依赖别的字段时,不同步数据域的问题

* 修改

* 修改
2023-03-14 15:21:08 +08:00
xiangwaner
b69f9c5b08
feat:carousel支持卡片动画模式 (#6354)
* feat:carousel支持多图配置

* Update carousel.md

---------

Co-authored-by: zhaowenli <zhaowenli@baidu.com>
Co-authored-by: RUNZE LU <36724300+lurunze1226@users.noreply.github.com>
2023-03-14 15:10:14 +08:00