1619 Commits

Author SHA1 Message Date
力皓
446ff98ba7 chore: 增加 ignitor(点火器) 2020-12-04 16:36:07 +08:00
力皓
609e653938 chore: 删除 demo / demo-server 2020-12-04 16:04:07 +08:00
zude.hzd
747c3f11d6 refactor: 移除 @ali/lowcode-editor-setters 大包 2020-12-04 14:26:30 +08:00
力皓
e8b172cc80 chore: 删除 code-generator / material-parser 2020-12-04 14:16:35 +08:00
力皓
d035d7362c chore: 删除 plugins / runtime / react-provider / rax-provider 2020-12-04 14:13:51 +08:00
彼洋
6a6d32c4e4 Merge branch 'feat/material-parser-publish-v1.0.23' into 'release/1.0.0'
feat(material-parser): fix react-color version in tc & publish v1.0.23

1. 为修复react-docgen升级带来的问题,固化其版本,并发布@ali/lowcode-material-parser@1.0.23
2. 固化react-color版本,以解决单测中npm包入料结果版本不一致问题

See merge request !1070920
@ali/lowcode-material-parser@1.0.23
2020-12-03 15:24:40 +08:00
gengyang
975a5cdb07 feat(material-parser): fix react-color version in tc & publish v1.0.23 2020-12-03 15:13:14 +08:00
rongbin.arb
c89eff7367 Merge branch feat/plugin-utils-pane into release/1.0.0
Title: feat: 🎸 完善 utils 面板, 默认不用传入类型则表示支持NPM, TNPM 和 function 类型 

Link: https://code.aone.alibaba-inc.com/ali-lowcode/ali-lowcode-engine/codereview/4229857
2020-12-02 17:25:09 +08:00
牧毅
3e9a445001 feat: 🎸 完善 utils 面板, 默认不用传入类型则表示支持NPM, TNPM 和 function 类型 2020-12-02 16:55:28 +08:00
rongbin.arb
47a32edcd9 Merge branch feat/plugin-utils-pane into release/1.0.0
Title: feat: 完成 utils 面板的基本功能 

Link: https://code.aone.alibaba-inc.com/ali-lowcode/ali-lowcode-engine/codereview/4227732
2020-12-02 16:04:26 +08:00
牧毅
425c24d03b feat: 完成 utils 面板的基本功能 2020-12-02 03:48:09 +08:00
牧毅
29ad679e87 feat: 添加 utils 面板 2020-12-01 13:25:42 +08:00
度城
31609d2732 Merge branch 'fix/setter-default-value' into 'release/1.0.0'
fix: 修复setter设置defaultValue不生效的问题

给setter设置defaultValue不生效,因为fusion的输入类组件都是通过 `'value' in props` 来判断是否用 defaultValue ([代码](726db8808a/src/input/input.jsx (L111)))

所以在初始化setter时,判断value为undefined时,则不传value,兼容这种情况

See merge request !1064947
2020-12-01 11:00:46 +08:00
荣彬
ec68b04852 Merge branch 'fix-Promise.allSettled' into 'release/1.0.0'
Fix promise.all settled



See merge request !1066749
2020-12-01 10:41:51 +08:00
guokai.jgk
3423dc5dea fix: this 丢失问题 2020-12-01 10:20:40 +08:00
jiulong.hjl
a701d5ef3d fix: 修复BoolSetter的defaultValue不生效的问题 2020-11-29 19:21:42 +08:00
jiulong.hjl
0cf47daac1 fix: 修复setter设置defaultValue不生效的问题 2020-11-29 19:21:17 +08:00
guokai.jgk
9c672eb404 v1.0.23-alpha.2 2020-11-26 14:19:19 +08:00
荣彬
ff647f6f26 Merge branch 'fix-Promise.allSettled' into 'release/1.0.0'
Fix promise.all settled



See merge request !1060540
2020-11-25 20:01:44 +08:00
guokai.jgk
2e07aa3886 v1.0.23-alpha.1 2020-11-25 19:56:45 +08:00
guokai.jgk
9ca4b3f92f fix: polyfill Promise.allSettled 2020-11-25 19:56:18 +08:00
力皓
142aee55d2 Merge branch 'fix/remove-icelib' into 'release/1.0.0'
fix: 重构jsonsetter,移除iceluna



See merge request !1059805
2020-11-25 15:36:19 +08:00
zude.hzd
cd7ee0d2fb fix: 重构jsonsetter,移除iceluna 2020-11-25 15:19:48 +08:00
彼洋
d66a7190b1 Merge branch 'fix/material-parser-react-docgen-version' into 'release/1.0.0'
feat: use fixed version of react-docgen

固定react-docgen版本号

See merge request !1055512
2020-11-23 10:29:21 +08:00
gengyang
2993287be8 feat: use fixed version of react-docgen 2020-11-23 10:14:47 +08:00
彼洋
c06249b1a4 Merge branch 'fix/ducheng-1116-bugs' into 'release/1.0.0'
feat: 新增插件的静态函数onInit,每次插件安装的时候会执行



See merge request !1053631
2020-11-20 12:30:49 +08:00
zude.hzd
fb943c530e feat: 新增插件的静态函数onInit,每次插件安装的时候会执行 2020-11-19 23:03:51 +08:00
荣彬
753bb7f277 Merge branch 'fix-api-field' into 'release/1.0.0'
Fix api field



See merge request !1050673
2020-11-18 14:35:12 +08:00
guokai.jgk
8f5d0ce6ee fix: 兼容服务大厅已有的的 api 字段 2020-11-18 14:14:22 +08:00
guokai.jgk
7757ef7af7 v1.0.22-alpha.1 2020-11-18 14:11:55 +08:00
guokai.jgk
6edf60c129 v1.0.22-alpha.2 2020-11-18 14:06:22 +08:00
guokai.jgk
d73e2d961f v1.0.22-alpha.1 2020-11-18 14:03:54 +08:00
armslave.yy
4bc37a2fe3 Merge branch hotfix/code-generator-condition-expr-optimize into release/1.0.0
Title: fix: 🐛 解决条件渲染场景下若条件值为 0 会误渲染出 0 的问题 

RT

Link: https://code.aone.alibaba-inc.com/ali-lowcode/ali-lowcode-engine/codereview/4116856
2020-11-18 10:28:27 +08:00
牧毅
71aa2f6b6e fix: 🐛 解决条件渲染场景下若条件值为 0 会误渲染出 0 的问题 2020-11-18 10:17:12 +08:00
荣彬
56010f2750 Publish
- @ali/lowcode-code-generator@1.0.22
 - @ali/lowcode-datasource-engine@1.0.22
 - @ali/lowcode-datasource-fetch-handler@1.0.21
 - @ali/lowcode-datasource-jsonp-handler@1.0.21
 - @ali/lowcode-datasource-mopen-handler@1.0.21
 - @ali/lowcode-datasource-mtop-handler@1.0.21
 - @ali/lowcode-datasource-types@1.0.21
 - @ali/lowcode-datasource-universal-mtop-handler@1.0.21
 - @ali/lowcode-datasource-url-params-handler@1.0.21
 - @ali/lowcode-demo-server@1.0.22
 - @ali/lowcode-demo@1.0.22
 - @ali/lowcode-designer@1.0.22
 - @ali/lowcode-editor-core@1.0.22
 - @ali/lowcode-editor-preset-general@1.0.22
 - @ali/lowcode-editor-preset-vision@1.0.22
 - @ali/lowcode-editor-setters@1.0.22
 - @ali/lowcode-editor-skeleton@1.0.22
 - @ali/lowcode-material-parser@1.0.22
 - @ali/lowcode-plugin-components-pane@1.0.22
 - @ali/lowcode-plugin-datasource-pane@1.0.21
 - @ali/lowcode-plugin-designer@1.0.22
 - @ali/lowcode-plugin-event-bind-dialog@1.0.21
 - @ali/lowcode-plugin-outline-pane@1.0.21
 - @ali/lowcode-plugin-sample-logo@1.0.21
 - @ali/lowcode-plugin-sample-preview@1.0.21
 - @ali/lowcode-plugin-source-editor@1.0.20
 - @ali/lowcode-plugin-undo-redo@1.0.21
 - @ali/lowcode-plugin-variable-bind-dialog@1.0.21
 - @ali/lowcode-plugin-zh-en@1.0.21
 - @ali/lowcode-rax-provider@1.0.21
 - @ali/lowcode-rax-renderer@1.0.21
 - @ali/lowcode-rax-simulator-renderer@1.0.21
 - @ali/lowcode-react-provider@1.0.23
 - @ali/lowcode-react-renderer@1.0.21
 - @ali/lowcode-react-simulator-renderer@1.0.21
 - @ali/lowcode-runtime@1.0.23
 - @ali/lowcode-types@1.0.20
 - @ali/lowcode-utils@1.0.21
@ali/lowcode-plugin-designer@1.0.22 @ali/lowcode-rax-renderer@1.0.21 @ali/lowcode-demo@1.0.22 @ali/lowcode-designer@1.0.22 @ali/lowcode-editor-core@1.0.22 @ali/lowcode-editor-preset-general@1.0.22 @ali/lowcode-utils@1.0.21 @ali/lowcode-types@1.0.20 @ali/lowcode-runtime@1.0.23 @ali/lowcode-react-simulator-renderer@1.0.21 @ali/lowcode-react-renderer@1.0.21 @ali/lowcode-react-provider@1.0.23 @ali/lowcode-editor-preset-vision@1.0.22 @ali/lowcode-editor-setters@1.0.22 @ali/lowcode-editor-skeleton@1.0.22 @ali/lowcode-material-parser@1.0.22 @ali/lowcode-plugin-components-pane@1.0.22 @ali/lowcode-plugin-datasource-pane@1.0.21 @ali/lowcode-plugin-event-bind-dialog@1.0.21 @ali/lowcode-plugin-outline-pane@1.0.21 @ali/lowcode-rax-simulator-renderer@1.0.21 @ali/lowcode-plugin-sample-logo@1.0.21 @ali/lowcode-plugin-sample-preview@1.0.21 @ali/lowcode-plugin-source-editor@1.0.20 @ali/lowcode-plugin-undo-redo@1.0.21 @ali/lowcode-plugin-variable-bind-dialog@1.0.21 @ali/lowcode-plugin-zh-en@1.0.21 @ali/lowcode-rax-provider@1.0.21 @ali/lowcode-demo-server@1.0.22 @ali/lowcode-datasource-mtop-handler@1.0.21 @ali/lowcode-datasource-mopen-handler@1.0.21 @ali/lowcode-datasource-jsonp-handler@1.0.21 @ali/lowcode-datasource-fetch-handler@1.0.21 @ali/lowcode-datasource-engine@1.0.22 @ali/lowcode-code-generator@1.0.22 @ali/lowcode-datasource-types@1.0.21 @ali/lowcode-datasource-universal-mtop-handler@1.0.21 @ali/lowcode-datasource-url-params-handler@1.0.21
2020-11-16 14:34:20 +08:00
荣彬
f4e9b3a339 Merge branch 'fix-datasource-engine' into 'release/1.0.0'
fix: datasource engine adpater



See merge request !1045742
2020-11-13 20:06:48 +08:00
荣彬
55e548b377 Merge branch 'fix/ducheng-1112-bugs' into 'release/1.0.0'
fix: js编辑器移除尾逗号



See merge request !1044875
2020-11-13 20:06:30 +08:00
guokai.jgk
52d0d882b6 fix: datasource engine adpater 2020-11-13 16:15:13 +08:00
荣彬
7856d7a8cc Merge branch 'fix/start-shell' into 'release/1.0.0'
fix: start shell add datasource build



See merge request !1044307
2020-11-13 11:19:58 +08:00
rongbin.arb
3853302678 Merge branch hotfix/code-generator-initial-state into release/1.0.0
Title: fix: 🐛 schema 中没有 state 的定义, 出码后的 Rax/React 组件应有个默认的空的 state 

即使 schema 中没有 state 的定义,根据 React 和 Rax 的 class 组件的规范,也应该有一个空的 state 的 -- 否则在访问数据源, this.state.xxx 或 this.setState 等相关的一些 API 的时候会报错的。

Link: https://code.aone.alibaba-inc.com/ali-lowcode/ali-lowcode-engine/codereview/4083908
2020-11-12 22:55:11 +08:00
zude.hzd
7cd5c5c256 fix: js编辑器移除尾逗号 2020-11-12 22:32:34 +08:00
牧毅
7e37f8dd16 fix: 🐛 schema 中没有 state 的定义, 出码后的 Rax/React 组件应有个默认的空的 state 2020-11-12 20:50:54 +08:00
guokai.jgk
0537495486 fix: start shell add datasource build 2020-11-12 17:15:16 +08:00
changyun.pcy
c8cde85201 Merge branch hotfix/code-string-jsx-node into release/1.0.0
Title: fix: JSX 中导出字符串内容时的处理方式 

Link: https://code.aone.alibaba-inc.com/ali-lowcode/ali-lowcode-engine/codereview/4076609
2020-11-12 11:48:38 +08:00
春希
1a9e9534ae fix: pure string export in jsx 2020-11-12 11:26:27 +08:00
armslave.yy
d719c43e60 Merge branch hotfix/code-generator-sub-folder-not-created into release/1.0.0
Title: fix: 🐛 解决出码的 disk publisher 不能正确地创建子目录的问题 

解决出码的 disk publisher 不能正确地创建子目录的问题

Link: https://code.aone.alibaba-inc.com/ali-lowcode/ali-lowcode-engine/codereview/4075073
2020-11-12 10:13:19 +08:00
牧毅
fb5ba936a9 fix: 🐛 解决出码的 disk publisher 不能正确地创建子目录的问题 2020-11-12 09:58:12 +08:00
rongbin.arb
eafaedb4dc Merge branch hotfix/code-generator-multi-line-string into release/1.0.0
Title: fix: 🐛 解决多行文本在出码的时候生成的字符串是无效代码的问题 

我们这边有个 schema 里有个多行文本,如:
![image](http://git.cn-hangzhou.oss-cdn.aliyun-inc.com/uploads/ali-lowcode/ali-lowcode-engine/24b255170cc884aac9eeed4fa2019401/image.png)

经过目前的出码模块出码后这块会变成:
![image](http://git.cn-hangzhou.oss-cdn.aliyun-inc.com/uploads/ali-lowcode/ali-lowcode-engine/d16c83a0bf27ec14fecfdb8544e9aff0/image.png)

可以看到缺少对换行等特殊字符的处理。故改之。

Link: https://code.aone.alibaba-inc.com/ali-lowcode/ali-lowcode-engine/codereview/4071413
2020-11-11 16:22:49 +08:00
牧毅
fa688577e0 fix: 🐛 解决多行文本在出码的时候生成的字符串是无效代码的问题 2020-11-11 16:13:58 +08:00
mark.ck
19537aad22 Merge branch hotfix/code-propname-fix into release/1.0.0
Title: fix: Object 类型数据属性名处理方法修复 

Link: https://code.aone.alibaba-inc.com/ali-lowcode/ali-lowcode-engine/codereview/4068950
2020-11-11 11:24:21 +08:00