@zhubangyun/lowcode-core 1.1.21 → 5.1.13
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.
- package/es/utils/designer/assets/assets.data.base.js +1 -8
- package/es/utils/designer/assets/assets.data.page.d.ts +3 -0
- package/es/utils/designer/assets/assets.data.page.js +12 -0
- package/es/utils/designer/assets/assets.parse.js +0 -1
- package/es/utils/designer/assets/index.d.ts +1 -1
- package/es/utils/designer/assets/index.js +5 -1
- package/lib/utils/designer/assets/assets.data.base.js +1 -8
- package/lib/utils/designer/assets/assets.data.page.d.ts +3 -0
- package/lib/utils/designer/assets/assets.data.page.js +16 -0
- package/lib/utils/designer/assets/assets.parse.js +0 -1
- package/lib/utils/designer/assets/index.d.ts +1 -1
- package/lib/utils/designer/assets/index.js +5 -1
- package/package.json +3 -3
|
@@ -35,14 +35,7 @@ var BaseAssets = {
|
|
|
35
35
|
"library": "AntdProMaterial",
|
|
36
36
|
"urls": ["https://cdn.zhiyunhe.com/plugin/lowcode/materials/antd-pro/view.js", "https://cdn.zhiyunhe.com/plugin/lowcode/materials/antd-pro/view.css"]
|
|
37
37
|
}],
|
|
38
|
-
"components": [
|
|
39
|
-
"exportName": "RootMaterialMeta",
|
|
40
|
-
"npm": {
|
|
41
|
-
"package": "root-material",
|
|
42
|
-
"version": "1.0.0"
|
|
43
|
-
},
|
|
44
|
-
"url": "https://cdn.zhiyunhe.com/plugin/lowcode/materials/root/meta.js"
|
|
45
|
-
}],
|
|
38
|
+
"components": [],
|
|
46
39
|
"sort": {
|
|
47
40
|
"categoryList": ["布局", "通用", "导航", "数据录入", "数据展示", "反馈", "大屏组件", "图表", "基础元素", "表格类", "表单详情类", "帮助类", "对话框类", "业务类", "引导", "信息输入", "信息展示", "信息反馈", "布局容器类", "增强组件", "工具组件"],
|
|
48
41
|
"groupList": ["", "原子组件", "精选组件", "增强分组", "图表组件", "默认分组"]
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var PageAssets = {
|
|
2
|
+
packages: [],
|
|
3
|
+
components: [{
|
|
4
|
+
"exportName": "RootMaterialMeta",
|
|
5
|
+
"npm": {
|
|
6
|
+
"package": "root-material",
|
|
7
|
+
"version": "1.0.0"
|
|
8
|
+
},
|
|
9
|
+
"url": "https://cdn.zhiyunhe.com/plugin/lowcode/materials/root/meta.js"
|
|
10
|
+
}]
|
|
11
|
+
};
|
|
12
|
+
export default PageAssets;
|
|
@@ -83,7 +83,6 @@ function _assetsParse() {
|
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
85
|
newComponents = [].concat(componentDescriptions);
|
|
86
|
-
|
|
87
86
|
// 如果有远程组件描述协议,则自动加载并补充到资产包中,同时出发 designer.incrementalAssetsReady 通知组件面板更新数据
|
|
88
87
|
if (!(remoteComponentDescriptions && remoteComponentDescriptions.length)) {
|
|
89
88
|
_context2.next = 18;
|
|
@@ -2,6 +2,7 @@ import BaseAssets from "./assets.data.base";
|
|
|
2
2
|
import DesignAssets from "./assets.data.design";
|
|
3
3
|
import AntdAssets from "./assets.data.antd";
|
|
4
4
|
import ChartAssets from "./assets.data.chart";
|
|
5
|
+
import PageAssets from "./assets.data.page";
|
|
5
6
|
export var DesignerAssets = /*#__PURE__*/function () {
|
|
6
7
|
function DesignerAssets() {
|
|
7
8
|
var _this = this;
|
|
@@ -22,7 +23,7 @@ export var DesignerAssets = /*#__PURE__*/function () {
|
|
|
22
23
|
}
|
|
23
24
|
var _proto = DesignerAssets.prototype;
|
|
24
25
|
_proto.addDefaultAssets = function addDefaultAssets(types) {
|
|
25
|
-
var _types, _types2;
|
|
26
|
+
var _types, _types2, _types3;
|
|
26
27
|
if (types === void 0) {
|
|
27
28
|
types = [];
|
|
28
29
|
}
|
|
@@ -32,6 +33,9 @@ export var DesignerAssets = /*#__PURE__*/function () {
|
|
|
32
33
|
if ((_types2 = types) !== null && _types2 !== void 0 && _types2.includes("chart")) {
|
|
33
34
|
this.addAssets(ChartAssets);
|
|
34
35
|
}
|
|
36
|
+
if ((_types3 = types) !== null && _types3 !== void 0 && _types3.includes("page")) {
|
|
37
|
+
this.addAssets(PageAssets);
|
|
38
|
+
}
|
|
35
39
|
};
|
|
36
40
|
_proto.addAssets = function addAssets(assert) {
|
|
37
41
|
var _assert$components, _assert$components$fo, _assert$packages, _assert$packages$forE;
|
|
@@ -39,14 +39,7 @@ var BaseAssets = {
|
|
|
39
39
|
"library": "AntdProMaterial",
|
|
40
40
|
"urls": ["https://cdn.zhiyunhe.com/plugin/lowcode/materials/antd-pro/view.js", "https://cdn.zhiyunhe.com/plugin/lowcode/materials/antd-pro/view.css"]
|
|
41
41
|
}],
|
|
42
|
-
"components": [
|
|
43
|
-
"exportName": "RootMaterialMeta",
|
|
44
|
-
"npm": {
|
|
45
|
-
"package": "root-material",
|
|
46
|
-
"version": "1.0.0"
|
|
47
|
-
},
|
|
48
|
-
"url": "https://cdn.zhiyunhe.com/plugin/lowcode/materials/root/meta.js"
|
|
49
|
-
}],
|
|
42
|
+
"components": [],
|
|
50
43
|
"sort": {
|
|
51
44
|
"categoryList": ["布局", "通用", "导航", "数据录入", "数据展示", "反馈", "大屏组件", "图表", "基础元素", "表格类", "表单详情类", "帮助类", "对话框类", "业务类", "引导", "信息输入", "信息展示", "信息反馈", "布局容器类", "增强组件", "工具组件"],
|
|
52
45
|
"groupList": ["", "原子组件", "精选组件", "增强分组", "图表组件", "默认分组"]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports["default"] = void 0;
|
|
5
|
+
var PageAssets = {
|
|
6
|
+
packages: [],
|
|
7
|
+
components: [{
|
|
8
|
+
"exportName": "RootMaterialMeta",
|
|
9
|
+
"npm": {
|
|
10
|
+
"package": "root-material",
|
|
11
|
+
"version": "1.0.0"
|
|
12
|
+
},
|
|
13
|
+
"url": "https://cdn.zhiyunhe.com/plugin/lowcode/materials/root/meta.js"
|
|
14
|
+
}]
|
|
15
|
+
};
|
|
16
|
+
var _default = exports["default"] = PageAssets;
|
|
@@ -90,7 +90,6 @@ function _assetsParse() {
|
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
92
|
newComponents = [].concat(componentDescriptions);
|
|
93
|
-
|
|
94
93
|
// 如果有远程组件描述协议,则自动加载并补充到资产包中,同时出发 designer.incrementalAssetsReady 通知组件面板更新数据
|
|
95
94
|
if (!(remoteComponentDescriptions && remoteComponentDescriptions.length)) {
|
|
96
95
|
_context2.next = 18;
|
|
@@ -7,6 +7,7 @@ var _assetsData = _interopRequireDefault(require("./assets.data.base"));
|
|
|
7
7
|
var _assetsData2 = _interopRequireDefault(require("./assets.data.design"));
|
|
8
8
|
var _assetsData3 = _interopRequireDefault(require("./assets.data.antd"));
|
|
9
9
|
var _assetsData4 = _interopRequireDefault(require("./assets.data.chart"));
|
|
10
|
+
var _assetsData5 = _interopRequireDefault(require("./assets.data.page"));
|
|
10
11
|
var DesignerAssets = exports.DesignerAssets = /*#__PURE__*/function () {
|
|
11
12
|
function DesignerAssets() {
|
|
12
13
|
var _this = this;
|
|
@@ -27,7 +28,7 @@ var DesignerAssets = exports.DesignerAssets = /*#__PURE__*/function () {
|
|
|
27
28
|
}
|
|
28
29
|
var _proto = DesignerAssets.prototype;
|
|
29
30
|
_proto.addDefaultAssets = function addDefaultAssets(types) {
|
|
30
|
-
var _types, _types2;
|
|
31
|
+
var _types, _types2, _types3;
|
|
31
32
|
if (types === void 0) {
|
|
32
33
|
types = [];
|
|
33
34
|
}
|
|
@@ -37,6 +38,9 @@ var DesignerAssets = exports.DesignerAssets = /*#__PURE__*/function () {
|
|
|
37
38
|
if ((_types2 = types) !== null && _types2 !== void 0 && _types2.includes("chart")) {
|
|
38
39
|
this.addAssets(_assetsData4["default"]);
|
|
39
40
|
}
|
|
41
|
+
if ((_types3 = types) !== null && _types3 !== void 0 && _types3.includes("page")) {
|
|
42
|
+
this.addAssets(_assetsData5["default"]);
|
|
43
|
+
}
|
|
40
44
|
};
|
|
41
45
|
_proto.addAssets = function addAssets(assert) {
|
|
42
46
|
var _assert$components, _assert$components$fo, _assert$packages, _assert$packages$forE;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhubangyun/lowcode-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.1.13",
|
|
4
4
|
"description": "低代码核心",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib",
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"build:npm": "build-scripts build",
|
|
15
15
|
"build:umd": "build-scripts build --config build.umd.json",
|
|
16
16
|
"publish:npm": "npm run build:npm && npm publish",
|
|
17
|
-
"publish:
|
|
17
|
+
"publish:oss": "npm run build:umd && node scripts/publishToCdn.ts"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@alilc/lowcode-datasource-fetch-handler": "^1.1.4",
|
|
21
|
-
"@zhubangyun/lowcode-
|
|
21
|
+
"@zhubangyun/lowcode-render-core": "^5.1.13",
|
|
22
22
|
"axios": "^1.7.9",
|
|
23
23
|
"case": "^1.6.3",
|
|
24
24
|
"uuid": "^8.3.2"
|