@zhubangyun/lowcode-core 5.3.191 → 5.4.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,6 +8,7 @@ export function initEngine() {
|
|
|
8
8
|
}
|
|
9
9
|
function _initEngine() {
|
|
10
10
|
_initEngine = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
11
|
+
var _window$AntdProMateri, _window$AntdProMateri2;
|
|
11
12
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
12
13
|
while (1) switch (_context.prev = _context.next) {
|
|
13
14
|
case 0:
|
|
@@ -19,8 +20,13 @@ function _initEngine() {
|
|
|
19
20
|
return "https://cdn.zhiyunhe.com/lowcode/designer/" + uri;
|
|
20
21
|
}));
|
|
21
22
|
case 2:
|
|
23
|
+
_context.next = 4;
|
|
24
|
+
return loadPlugins(["https://cdn.zhiyunhe.com/plugin/dayjs/dayjs.min.js", "https://cdn.zhiyunhe.com/plugin/antd/latest/reset.css", "https://cdn.zhiyunhe.com/plugin/antd/latest/antd.min.js", "https://cdn.zhiyunhe.com/plugin/lowcode/materials/antd-pro/view.css", "https://cdn.zhiyunhe.com/plugin/lowcode/materials/antd-pro/view.js"]);
|
|
25
|
+
case 4:
|
|
26
|
+
//注册setter
|
|
27
|
+
(_window$AntdProMateri = window.AntdProMaterial) === null || _window$AntdProMateri === void 0 ? void 0 : (_window$AntdProMateri2 = _window$AntdProMateri.registerSetters) === null || _window$AntdProMateri2 === void 0 ? void 0 : _window$AntdProMateri2.call(_window$AntdProMateri);
|
|
22
28
|
return _context.abrupt("return", new Engine());
|
|
23
|
-
case
|
|
29
|
+
case 6:
|
|
24
30
|
case "end":
|
|
25
31
|
return _context.stop();
|
|
26
32
|
}
|
|
@@ -15,6 +15,7 @@ function initEngine() {
|
|
|
15
15
|
}
|
|
16
16
|
function _initEngine() {
|
|
17
17
|
_initEngine = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
18
|
+
var _window$AntdProMateri, _window$AntdProMateri2;
|
|
18
19
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
19
20
|
while (1) switch (_context.prev = _context.next) {
|
|
20
21
|
case 0:
|
|
@@ -26,8 +27,13 @@ function _initEngine() {
|
|
|
26
27
|
return "https://cdn.zhiyunhe.com/lowcode/designer/" + uri;
|
|
27
28
|
}));
|
|
28
29
|
case 2:
|
|
30
|
+
_context.next = 4;
|
|
31
|
+
return (0, _common.loadPlugins)(["https://cdn.zhiyunhe.com/plugin/dayjs/dayjs.min.js", "https://cdn.zhiyunhe.com/plugin/antd/latest/reset.css", "https://cdn.zhiyunhe.com/plugin/antd/latest/antd.min.js", "https://cdn.zhiyunhe.com/plugin/lowcode/materials/antd-pro/view.css", "https://cdn.zhiyunhe.com/plugin/lowcode/materials/antd-pro/view.js"]);
|
|
32
|
+
case 4:
|
|
33
|
+
//注册setter
|
|
34
|
+
(_window$AntdProMateri = window.AntdProMaterial) === null || _window$AntdProMateri === void 0 ? void 0 : (_window$AntdProMateri2 = _window$AntdProMateri.registerSetters) === null || _window$AntdProMateri2 === void 0 ? void 0 : _window$AntdProMateri2.call(_window$AntdProMateri);
|
|
29
35
|
return _context.abrupt("return", new _engine.Engine());
|
|
30
|
-
case
|
|
36
|
+
case 6:
|
|
31
37
|
case "end":
|
|
32
38
|
return _context.stop();
|
|
33
39
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhubangyun/lowcode-core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.021",
|
|
4
4
|
"description": "低代码核心",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib",
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@alib/build-scripts": "^0.1.18",
|
|
31
|
-
|
|
32
31
|
"@alilc/build-plugin-lce": "^0.0.5",
|
|
33
32
|
"@alilc/lowcode-engine": "^1.1.2",
|
|
34
33
|
"@alilc/lowcode-test-mate": "^1.0.1",
|