10BC0 refactor: 替换命名空间 · fe-lce/lowcode-engine-ext@cdcdb97 · GitHub
[go: up one dir, main page]

Skip to content

Commit cdcdb97

Browse files
committed
refactor: 替换命名空间
1 parent bad4a16 commit cdcdb97

File tree

44 files changed

+43912
-324
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+43912
-324
lines changed

README.md

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,39 @@
1-
### @alilc/lowcode-engine-ext
1+
## @felce/lowcode-engine-ext
22

33
### 简介
4-
lowcode-engine-ext 是阿里低代码引擎官方提供的 setter 和 setter 必须依赖的插件集合
54

6-
setter(设置器) 是用来展示每个物料的属性,[setter使用说明手册](https://www.yuque.com/lce/doc/cl03wo_nmhznb) [官方setter列表说明](https://www.yuque.com/lce/doc/oc220p#fl46)
5+
lowcode-engine-ext 引擎官方提供的 setter 和 setter 必须依赖的插件集合
6+
7+
setter(设置器) 是用来展示每个物料的属性,[setter 使用说明手册](https://www.yuque.com/lce/doc/cl03wo_nmhznb) [官方 setter 列表说明](https://www.yuque.com/lce/doc/oc220p#fl46)
78

89
### 使用方式
910

10-
使用 CDN 方式引用,下方是官方提供的两个稳定 CDN
11+
使用 CDN 方式引用
1112

12-
#### 方式 1:alifd cdn
13-
1: alifd cdn
14-
```html
15-
https://alifd.alicdn.com/npm/@alilc/lowcode-engine-ext@1.0.5/dist/css/engine-ext.css
13+
#### unpkg
1614

17-
https://alifd.alicdn.com/npm/@alilc/lowcode-engine-ext@1.0.5/dist/js/engine-ext.js
15+
```html
16+
https://unpkg.com/@felce/lowcode-engine-ext@1.1.0/dist/css/engine-ext.css
17+
https://unpkg.com/@felce/lowcode-engine-ext@1.1.0/dist/js/engine-ext.js
1818
```
1919

20-
#### 方式 2: uipaas cdn
20+
#### npmmirror
21+
2122
```html
22-
https://uipaas-assets.com/prod/npm/@alilc/lowcode-engine-ext/1.0.5/dist/css/engine-ext.css
23+
https://registry.npmmirror.com/@felce/lowcode-engine-ext@1.1.0/dist/css/engine-ext.css
24+
https://registry.npmmirror.com/@felce/lowcode-engine-ext@1.1.0/dist/js/engine-ext.js
25+
```
26+
27+
#### jsdelivr
2328

24-
https://uipaas-assets.com/prod/npm/@alilc/lowcode- 5285 engine-ext/1.0.5/dist/js/engine-ext.js
29+
```html
30+
https://cdn.jsdelivr.net/npm/@felce/lowcode-engine-ext@1.1.0/dist/css/engine-ext.css
31+
https://cdn.jsdelivr.net/npm/@felce/lowcode-engine-ext@1.1.0/dist/js/engine-ext.js
2532
```
2633

2734
#### 拓展变量绑定面板
2835

29-
通过传入extraDataMap拓展属性绑定面板
36+
通过传入 extraDataMap 拓展属性绑定面板
3037

3138
```typescript
3239
ctx.skeleton.add({
@@ -48,13 +55,11 @@ ctx.skeleton.add({
4855
},
4956
{
5057
label: 'prop2',
51-
children: [
52-
{ label: 'propxxx', value: 1 }
53-
]
54-
}
58+
children: [{ label: 'propxxx', value: 1 }],
59+
},
5560
],
56-
}
57-
}
61+
},
62+
},
5863
},
5964
});
6065
```

build.cloud.json

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"react-dom": "var window.ReactDOM",
1010
"prop-types": "var window.PropTypes",
1111
"rax": "var window.Rax",
12-
"@alilc/lowcode-engine": "var window.AliLowCodeEngine",
13-
"@alilc/lowcode-engine-ext": "var window.AliLowCodeEngineExt",
12+
"@felce/lowcode-engine": "var window.AliLowCodeEngine",
13+
"@felce/lowcode-engine-ext": "var window.AliLowCodeEngineExt",
1414
"moment": "var moment",
1515
"lodash": "var _",
1616
"@alifd/next": "var Next"
@@ -22,12 +22,18 @@
2222
"sourceMap": true,
2323
"plugins": [
2424
"build-plugin-react-app",
25-
["build-plugin-fusion", {
26-
"externalNext": "umd"
27-
}],
28-
["build-plugin-moment-locales", {
29-
"locales": ["zh-cn"]
30-
}],
25+
[
26+
"build-plugin-fusion",
27+
{
28+
"externalNext": "umd"
29+
}
30+
],
31+
[
32+
"build-plugin-moment-locales",
33+
{
34+
"locales": ["zh-cn"]
35+
}
36+
],
3137
"./build.plugin.js"
3238
]
3339
}

build.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
2-
32
"externals": {
43
"react": "var window.React",
54
"react-dom": "var window.ReactDOM",
65
"prop-types": "var window.PropTypes",
76
"rax": "var window.Rax",
8-
"@alilc/lowcode-engine": "var window.AliLowCodeEngine",
9-
"@alilc/lowcode-engine-ext": "var window.AliLowCodeEngineExt",
7+
"@felce/lowcode-engine": "var window.AliLowCodeEngine",
8+
"@felce/lowcode-engine-ext": "var window.AliLowCodeEngineExt",
109
"moment": "var moment",
1110
"lodash": "var _",
1211
"@alifd/next": "var Next"

demo/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line 6B44 change
@@ -8,7 +8,7 @@ order: 1
88
```jsx
99
import React, { Component } from 'react';
1010
import ReactDOM from 'react-dom';
11-
import LowcodeEngineExt from '@alilc/lowcode-engine-ext';
11+
import LowcodeEngineExt from '@felce/lowcode-engine-ext';
1212

1313
class App extends Component {
1414
render() {

0 commit comments

Comments
 (0)
0