Skip to content

Releases: baidu/amis

1.9.0

29 Apr 11:44
ba9cf4a
Compare
Choose a tag to compare

2022-04-29

新功能 Features✨

重大变更 Breaking Changes🔥

  • 动作执行条件属性execOn更名为expression,与逻辑编排动作中分支条件属性名称保持一致
  • 通用/组件动作的属性配置下沉到动作参数args中,即通用/组件动作的属性需要包裹在args中,弹框(dialog)/抽屉(drawer)/广播(eventName)/自定义JS(script)除外

问题修复 Bugfix 🐛

样式调整 Styles 🌈

文档更新 Docs

日常维护 Chore

  • chore: 调整判断颜色逻辑 (#4186) @gooolh
  • chore: 修复按钮样式问题 (#4172) @RickCole21
  • chore: 调整 example 改大预览区域,代码改成drawer展示与编辑 (#4173) @2betop
  • chore: 调整公式上下文变量选择控件相关逻辑 (#4159) @2betop
  • chore: 先重新恢复 e.persisit (#4146) @RickCole21
  • chore: 优化 dataSchema 相关逻辑 (#4111) @2betop
  • chore:更新默认loading icon (#4099) @qinhaoyan
  • chore: 优化 InputKV 在有重复值时的编辑体验 Closes #4071 (#4094) @nwind
  • chore: 评分组件 texts、colors 过滤非数字key, 如:$$id (#4062) @tooeast
  • chore: 去除有安全风险的 async 库依赖 (#4051) @nwind
  • chore: select 的值没有跟选项关联上时依然显示同时飘红 (#4028) @2betop
  • chore: 修复测试用例报错 (#4021) @2betop
  • chore: nav 当 label 是自定义渲染器时不要显示 title (#3989) @2betop
  • chore: app 模式自动加 affixOffsetTop Closes #3963 (#3970) @nwind
  • chore: api 左侧路径上获取的数据有可能已经包含了问号所以得动态检测 (#3952) @2betop
  • chore: api 地址替换 undefined 值优化 (#3946) @2betop
  • chore: 修复 schemaid 属性不存在报错 Closes #3931 (#3941) @nwind
  • chore: api 问号左侧不做 url 转义 (#3937) @2betop
  • chore: api query 部分没有值也发送空字符 (#3936) @2betop

1.8.0

31 Mar 13:50
2ed9776
Compare
Choose a tag to compare

更新记录

Feature✨

Enhancement 🚀

  • chore: api 在 patch 时支持 body (#3815) @nwind
  • chore: api 支持 forceAppendDataToQuery 配置 (#3824) @2betop
  • chore: api 默认trim 一下 (#3910) @2betop
  • chore: autoGenerateFilter 时 searchable 部分属性不配置会出现展示异常,修改与非 autoGenerateFilter 保持统一 (#3900) @2betop
  • chore: buildApi 拦截语法解析错误,避免程序奔溃 (#3859) @2betop
  • chore: crud 的 export excel 支持配置 label 和 icon (#3782) @2betop
  • chore: cxd 边框颜色调回 G8 (#3911) @nwind
  • chore: debug 功能改成在 env 里初始化,方便针对特定 amis 渲染区域关闭 (#3738) @nwind
  • chore: debug 按钮样式和爱速搭保持一致 (#3737) @nwind
  • chore: input-year 对超出范围的年份置灰显示 (#3708) @nwind
  • chore: service 组件去掉 Service-body 层级 (#3818) @nwind
  • chore: 优化 aside styicky 的位置, 如果父级有 scroll 元素,之前的位置不对 (#3847) @2betop
  • chore: 优化日期时间范围编辑体验,两侧日历独立控制开始和结束 (#3839) @nwind
  • chore: 修复 DropDownButton 在 hover 状态下不好点击按钮的问题 (#3690) @nwind
  • chore: 修复多选 select 文本样式未垂直居中问题 (#3901) @nwind
  • chore: 增加 .npmrc 避免安装时报错 (#3729) @nwind
  • chore: 提升输入框边框可见度 (#3759) @nwind
  • chore: 文件上传默认拖入文件也应该有视觉反馈 (#3779) @2betop
  • chore: 条形码使用 img 方便右键复制 Closes #3716 (#3720) @nwind
  • chore: 统一一下 cxd 表单的边框颜色 (#3898) @nwind
  • deps: 更新 echarts 到 5.3.1,monaco-editor 到 0.33.0,qrcode.react 到 3.0.0,… (#3897) @nwind
  • feat: 补充事件动作文档 (#3765) @hsm-lv
  • form 事件&动作扩充 (#3597) @pianruijie
  • input-text相关测试问题 (#3809) @yangwei9012
  • InputFormula functions 改为附加模式 (#3751) @allenve
  • nav 组件增加 onchange 方法, 获取排序后的结果 (#3810) @QKflame
  • style: 日期输入框增加最小宽度 (#3780) @lurunze1226
  • style: 调整菜单面板样式 (#3873) @wibetter
  • Tabs 宽度问题修改,与样式优化 (#3654) @tooeast
  • tabTransfer 搜索框优化 (#3812) @allenve
  • 右键菜单支持多主题配置 (#3880) @wibetter
  • 将tabs的toolbar改成默认右侧展示 (#3895) @wibetter
  • 补充form事件表&动作表 (#3840) @pianruijie
  • action onClick事件增加data参数,crud点击单项的时候可以使用 (#3865) @metooweb
  • docs: InputText/Textarea/Editor/DiffEditor事件动作文档 (#3791) @lurunze1226
  • docs: range & combo事件动作文档补充 (#3789) @kano233333
  • docs: 上传类 事件文档补充 (#3785) @gooolh
  • docs: 修复文档错误 (#3854) @charescape
  • docs: 剔除多余注释 (#3876) @wibetter
  • docs: 时间类组件事件动作文档&动作reset的完善 (#3806) @sqzhou
  • docs: 补充 form 静态 data 数据映射的处理办法 Closes #3905 (#3922) @nwind
  • docs: 补充开关、选项卡、数字输入文档 (#3790) @igrowp

Bugfix 🐞

  • fix: Alert cxd主题下marginBottom失效问题 (#3878) @lurunze1226
  • fix: ButtonGroupSelect文档加载错误, 圆角样式错误; docs: 文档补充 (#3660) @lurunze1226
  • fix: checkbox对齐云舍样式 (#3817) @lghxuelang
  • fix: combo 组件 Tabs 模式下值丢失的 bug (#3658) @biley
  • fix: conditionBuilder 弹层问题 (#3778) @allenve
  • fix: CRUD列排序面板文字显示不完全问题; docs: 补充column-toggler属性表 (#3800) @lurunze1226
  • fix: DateTimePicker (#3923) @bailing530
  • fix: input-number圆角显示可能不完整,数字颜色跟随主题 (#3471) @AegeanSeaBlue
  • fix: inputRange最大值、最小值设置问题修复 & 支持分块 (#3718) @kano233333
  • fix: ranges兼容1dayago&1daysago用法 (#3715) @lurunze1226
  • fix: range组件去除循环引用 (#3727) @agileago
  • fix: replaceText 替换文本不全 (#3687) @biley
  • fix: Select loading组件size过大 (#3907) @lurunze1226
  • fix: tabs 触发change事件调整 (#3892) @igrowp
  • fix: tabTrenafer leftOption value第一次加载失败的问题 (#3748) @allenve
  • fix: transfer-selection添加最大高度限制 (#3802) @lurunze1226
  • fix: tree onRef属性不存在情况 (#3856) @lurunze1226
  • fix: 上传组件autoFill包含自身字段时渲染错误问题 (#3740) @lurunze1226
  • fix: 为tooltipwrapper浮层绑定指定事件,并丰富enterable属性 (#3832) @jiatianqi
  • fix: 人员选择懒加载失效问题 (#3743) @lurunze1226
  • fix: 修复 action 为 reload 时获取目标逻辑问题 (#3666) @2betop
  • fix: 修复 ang 等主题下 tabs 边框颜色问题 (#3855) @nwind
  • fix: 修复 crud 在 crud 中批量操作对应的勾选功能异常问题 (#3904) @2betop
  • fix: 修复 CRUD 多选模式表头初始 checkbox 展现错误 (#3747) @nwind
  • fix: 修复 froala 编辑器在弹框中被遮挡问题 (#3899) @nwind
  • fix: 修复 iframe postMessage 可能会报 could not be cloned 错问题 (#3919) @nwind
  • fix: 修复 input-date 不支持 initApi 问题 (#3761) @nwind
  • fix: 修复 input-date 初始加载可能会报错问题 (#3850) @nwind
  • fix: 修复 input-datetime 无法输入问题 (#3914) @nwind
  • fix: 修复 input-datetime 的时间输入样式折行 (#3739) @nwind
  • fix: 修复 input-table placeholder 国际化问题 Closes #3909 (#3915) @nwind
  • fix: 修复 inputDate 显示值不同步的问题 (#3849) @2betop
  • fix: 修复 Markdown 组件的 componentDidUpdate hook 反复被触发导致无限循环 (#3867) @charescape
  • fix: 修复 Picker 删除提示未翻译问题 Closes #3769 (#3924) @nwind
  • fix: 修复 query 参数值中部分用表达式没有替换的情况 (#3913) @2betop
  • fix: 修复 service 中 ajax 的 feedback 功能无效的问题 (#3798) @2betop
  • fix: 修复 table 关联字符数组时的异常报错 (#3906) @2betop
  • fix: 修复 textarea、select、input-number 禁用样式和普通文本框不一致问题 (#3846) @nwind
  • fix: 修复 time-range-picker 无法使用问题 (#3745) @nwind
  • fix: 修复 timeConstraints 属性不生效问题 (#3797) @nwind
  • fix: 修复在输入框开启自动补全&选项组的时候无法展示计数器问题 (#3801) @jiatianqi
  • fix: 修复嵌套 table 无法展开问题 (#3685) @nwind
  • fix: 修复弹框中日期时间范围无法点击问题 (#3841) @nwind
  • fix: 修复日期输入框盖住后面节点问题 (#3853) @nwind
  • fix: 修复示例里面 Nav 选中不高亮的问题 (#3920) @2betop
  • fix: 修复进度条样式问题 (#3857) @gooolh
  • fix: 修复部分组件属性未翻译问题 (#3926) @nwind
  • fix: 修复非 cxd 主题下 switch onText 错位问题 Closes #3843 (#3868) @nwind
  • fix: 修复页面切换 page 层数据丢失的问题 (#3852) @2betop
  • fix: 公式编辑器可能导致的死循环问题 (#3793) @allenve
  • fix: 增加 Pagination 跳转的宽度,在输入状态下加宽 Closes #3894 (#3917) @nwind
  • fix: 多层Form嵌套情况下Editor无法完整显示问题 (#3713) @lurunze1226
  • fix: 恢复 combo 添加按钮的样式 (#3700) @nwind
  • fix: 日期选择器样式错误, 输入框展示不同步, disabled下focus问题 (#3714) @lurunze1226
  • fix: 编辑器禁用状态下的提示图标位置样式的问题修复 (#3816) @jiatianqi
  • fix: 表单项两端对齐样式修复 (#3836) @jiatianqi
  • fix: 避免 table/nav 里数据 id 不一致导致页面报错,将之前的 id 换成更不容易冲突的 __id 字段 (#3731) @nwind
  • fix: areatext&number&docs& (#3884) @hsm-lv
  • fix: 修复半选状态 (#3774) @lghxuelang
  • fix: 修复时间类组件动作不生效&时间类组件清空功能 (#3877) @sqzhou
  • fix: 修复 embed 模式下 input-date-range 无法使用问题 (#3875) @nwind
  • fix: 修复input-email配置clearable,清空内容报错问题 (#3886) @qinhaoyan
  • fix: 文本框在非表单容器下配置自动补全出错 (#3760) @yangwei9012

1.7.0

28 Feb 12:36
Compare
Choose a tag to compare

Feature✨

Enhancement 🚀

  • Log 组件的 fetch 默认加上 cookie Closes #3639 (#3648) @nwind
  • 表单报错时表单的 notify 里不再显示表单项的报错信息,等后续能拿到 label 的时候再加回来 (#3632) @nwind
  • 调整 input-file 样式,宽度占满可用空间 (#3633) @nwind
  • 优化 InputDateRange 交互,在有数据的时候也能点击后面的起始时间 (#3623) @nwind
  • InputSubForm 默认关闭严格模式, 可以实时拿到外部最新数据 (#3626) @2betop
  • 日期输入框默认值支持公式中的日期函数 (#3617) @2betop
  • 修复编译报错;文档自动从 gitee 跳转到爱速搭避免卡顿 (#3611) @nwind
  • 补充部分组件的单元测试 (#3604) @nwind
  • InputRange 优化 (#3405) @kano233333
  • 扩充 toast 配置 (#3546) @hy993658052
  • 容错请求错误的情况 (#3601) @zhyc9de
  • Radios 功能补齐 (#3475) @QingHui1229
  • Drawer 组件功能丰富 (#3473) @igrowp
  • select对齐云舍4.0规范 (#3025) @blue-squirrel
  • page 的 style 里针对 backgroundImage 自动加上 url (#3581) @nwind
  • tooltip hover 模式下鼠标移上去时不会关闭,新增 popover 独立文档页面 (#3573) @nwind
  • 调整表单项默认值的处理, 原来的实现会导致其他场景出问题,换种方式解决 #2674 的问题 (#3566) @2betop
  • input-excel 解析后显示文件名 (#3571) @nwind
  • 补充 chart-radios 文档 (#3561) @2betop
  • 升级 fontawesome-free 到 6,升级 tinymce 等依赖到最新 bugfix 版本 (#3551) @nwind
  • 去除 react-datetime 依赖,升级相关组件支持 React 17 (#3548) @nwind
  • 上传组件功能对齐4.1规范,云舍色值更新为4.1 (#3498) @xiangwaner
  • Tabs 组件功能对齐4.0规范 (#3468) @tooeast
  • cascader-select 组件升级 (#3450) @VitoBeijing

Bugfix 🐞

  • 修复 popOver true 关联字段不对的问题 (#3649) @2betop
  • 解决弹框容器内容多时popup遮挡问题 (#3645) @z1769057083
  • 修复 Table 默认 expandAll 的情况下不可展开行有部分展开样式的问题 (#3635) @smadey
  • 修复在使用App路由时, Tabs组件页面跳转其他路由出现白屏 #3636 (#3637) @luckyufei
  • 文档:service组件文档示例里将dataProvider错写成func (#3638) @luckyufei
  • input-excel 事件动作补充 (#3634) @gooolh
  • tab-transfer 懒加载问题 (#3630) @allenve
  • combo 的 tabsMode 如果值为空不显示新增按钮问题修复 (#3620) @2betop
  • 修复 CRUD 列中 className 为 Object 时报错 (#3607) @nwind
  • ConditionBuilder 配置远程拉取并有初始值时options渲染失败的问题 (#3584) @allenve
  • Tabs-transfer treeMode defer fail (#3576) @allenve
  • 修复 inputTree 懒加载 spinner 上下摆动问题 (#3572) @2betop
  • 修复 lib 目录下面 xxx-ie11.css 没有被正确编译的问题 (#3575) @2betop
  • 修复inputDate初始化日期为当前日期,移动端picker的形式去掉快捷键 (#3565) @ucasliyuan
  • 修复导出 CSV 的 api 不支持数据域变量问题 (#3547) @nwind

1.6.4

28 Jan 08:50
d05fc47
Compare
Choose a tag to compare

Feature✨

Enhancement 🚀

Bugfix 🐞

  • 修复 input-table 里 select transfer 模型被遮挡问题 Closes #3470 (#3527) @nwind
  • 修复 helper 里没包含 opacity 问题 (#3528) @nwind
  • 修复 flex、grid 等几个容器组件没有向下传递 disabled 问题 Closes #3420 (#3524) @nwind
  • 修复一下 select 重置时的值格式可能为 [''] 的问题 (#3518) @2betop
  • 修复 input-table 中初始值显示不正确问题 (#3523) @2betop
  • 修复 associatedSelection 超出出现双滚动条问题 (#3516) @2betop
  • 修复 transfer 的 associated 模式由于值没有关联选项时导致的异常 (#3515) @2betop
  • Pagination mode字段失效问题 (#3513) @lurunze1226
  • 修复 sdk 下 debug 功能样式问题 Closes #3467 (#3502) @nwind
  • timeline angular样式缺失 (#3501) @Dora-boots
  • 修复 toast 不居中问题 (#3497) @2betop
  • 修复开启 autoGenerateFilter 后同时有没有可搜索项时, 接口不初始化的问题 (#3500) @2betop
  • 修复 calendar长日期放大模式显示问题 (#3481) @hy993658052
  • 修复 Chained Select 在移动端 jssdk 下无法弹出问题 Closes #3410 @nwind
  • 修复文档链接错误 (#3480) @belongwqz
  • 修复文档组件中链接404 (#3469) @fairyly
  • 修复调试工具文档链接错误 Closes #3430 (#3486) @nwind

1.6.3

21 Jan 02:25
9e7c211
Compare
Choose a tag to compare

Feature✨

Enhancement 🚀

  • card 组件文档新增demo (#3452) @hzh11012
  • TransferDropDown 设置个最小宽度避免弹框太小 (#3454) @nwind
  • 文档补充 crud resizable 属性 (#3434) @nwind
  • input-kv 增加 defaultValue 设置,默认开启排序功能 (#3433) @nwind
  • 更新 marked 修复安全 alert (#3422) @nwind
  • api 下载提供更多提示方便排查问题 (#3413) @nwind
  • 补充 condition builder 在简单模式下是否显示顶部 AND OR 切换按钮 (#3404) @nwind

Bugfix 🐞

  • 修复 autoGenerateFilter 导致 crud 加载两次问题 (#3462) @nwind
  • form 的 columnCount 用法优化, 解决最后一行因为缺少表单项而存在不对齐问题 (#3456) @2betop
  • close #3445: textarea支持clearable; style: 输入框清除Icon, input-text addOn,… (#3453) @lurunze1226
  • 修复 select tree 模式值格式不正确的问题 (#3458) @nwind
  • 修复日期范围选择在有默认值的时候没法选择同一天问题 (#3448) @nwind
  • 修复 Card 点选不可关闭问题 (#3435) @2betop
  • 修复文档App 多页应用内链接404 (#3432) @fairyly
  • 修改文档切换主题重复问题 (#3423) @fairyly
  • 修复 input-table 里 color/date/daterange 组件 被遮挡问题 Closes #3406 (#3408) @nwind
  • 公式编辑器样式优化,新增部分属性 (#3409) @lurunze1226
  • 修复 iframe src 里 query 会因为 buildApi 里的 qsstringify 导致转义问题 (#3407) @nwind

1.6.2

13 Jan 10:51
d5f1462
Compare
Choose a tag to compare

Feature✨

Enhancement 🚀

  • chore: 去掉 js require css 用法, 依赖的 css 内嵌在 amis css 文件中 (#3399) @2betop

Bugfix 🐞

  • fix:amis-editor更新到最新版组合组件combo报错 (#3403) @hsm-lv
  • fix: 修复 sdk 自定义组件报错 Closes #3396 (#3397) @nwind

1.6.1

12 Jan 10:55
Compare
Choose a tag to compare

Feature✨

Enhancement 🚀

Bugfix 🐞

1.6.0

31 Dec 08:38
Compare
Choose a tag to compare

Feature✨

Enhancement 🚀

  • CRUD 在没数据的时候也显示配置的批量操作按钮 (#3248) @nwind
  • Nav组件折叠/展开时阻止事件冒泡 (#3247) @allenve
  • app 模式不再使用 react router,方便后续开发调试 (#3244) @nwind
  • typo: 请求适配器 requestAdaptor (#3242) @rovast
  • inputRating 组件功能对齐4.0规范 (#2949) @liuzedong-xyz
  • input-image 兼容返回字符串 0 的情况 (#3196) @nwind
  • 补全 wizard 中 feedback 用法 (#3209) @2betop
  • Switch 组件功能对齐4.0规范 (#3154) @tsuihe
  • Card对齐云舍4.0规范,组件拆分 (#3024) @hzh11012

Bugfix 🐞

1.5.3

07 Dec 03:25
Compare
Choose a tag to compare

更新记录

1.5.2

02 Dec 04:38
9e4471c
Compare
Choose a tag to compare

Feature✨

  • code 组件支持 wordWrap 折行设置 (#3116) @nwind

Enhancement 🚀

  • 更新 amis-formula、echarts、keycode、monaco-editor、mpegts、rc-input-… (#3117) @nwind

Bugfix 🐞

  • amis-formula 改成 rollup 打包, 修复 webpack 使用报错问题 (#3124) @2betop
  • 修复 filter 用法不兼容问题 (#3111) @2betop
  • 修复 form 关联的数据在地址栏, 地址栏变化不会同步的问题 (#3108) @2betop
  • 修复 card 变量经过多次处理的问题 (#3102) @2betop
  • 修复 card avatarText 变形问题 (#3100) @2betop
  • fix: 修复crud中filter区域表单提交失效 (#3127) @2betop