@dckj-npm/dc-material 0.1.0 → 0.1.3
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/build/docs/colorful-button.html +48 -0
- package/build/docs/colorful-input.html +48 -0
- package/build/docs/index.html +48 -0
- package/build/docs/umi.6846fe8b.js +1 -0
- package/build/docs/umi.7f7df875.css +8 -0
- package/build/docs/~demos/colorful-button-demo.html +47 -0
- package/build/docs/~demos/colorful-input-demo.html +47 -0
- package/build/index.js +19 -12
- package/build/lowcode/assets-daily.json +12 -12
- package/build/lowcode/assets-dev.json +3 -3
- package/build/lowcode/assets-prod.json +12 -12
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +147 -147
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +295 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +295 -1
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +6 -1
- package/dist/BizComps.js.map +1 -1
- package/es/assets/icon/navigation/index-selected.png +0 -0
- package/es/assets/icon/navigation/index.png +0 -0
- package/es/assets/icon/navigation/message-selected.png +0 -0
- package/es/assets/icon/navigation/message.png +0 -0
- package/es/assets/icon/navigation/mine-selected.png +0 -0
- package/es/assets/icon/navigation/mine.png +0 -0
- package/es/components/bottom-navigation/bottom-navigation.d.ts +13 -0
- package/es/components/bottom-navigation/bottom-navigation.js +39 -0
- package/es/components/bottom-navigation/index.d.ts +3 -0
- package/es/components/bottom-navigation/index.js +2 -0
- package/es/components/bottom-navigation/index.scss +16 -0
- package/es/components/colorful-button/colorful-button.d.ts +12 -12
- package/es/components/colorful-button/index.d.ts +3 -3
- package/es/components/colorful-input/colorful-input.d.ts +8 -8
- package/es/components/colorful-input/index.d.ts +3 -3
- package/es/components/dc-slider/index.d.ts +3 -0
- package/es/components/dc-slider/index.js +2 -0
- package/es/components/dc-slider/index.scss +8 -0
- package/es/components/dc-slider/slider.d.ts +32 -0
- package/es/components/dc-slider/slider.js +14 -0
- package/es/components/position/index.d.ts +3 -0
- package/es/components/position/index.js +2 -0
- package/es/components/position/index.scss +16 -0
- package/es/components/position/position.d.ts +13 -0
- package/es/components/position/position.js +39 -0
- package/es/components/teletext-list/index.d.ts +6 -6
- package/es/components/teletext-list/index.js +2 -2
- package/es/components/teletext-list/index.scss +16 -114
- package/es/components/teletext-list/teletext-list-item.d.ts +38 -0
- package/es/components/teletext-list/teletext-list-item.js +47 -0
- package/es/components/teletext-list/teletext-list-item.scss +74 -0
- package/es/components/teletext-list/teletext-list.d.ts +48 -48
- package/es/components/teletext-list/teletext-list.js +10 -33
- package/es/components/title/index.d.ts +8 -0
- package/es/components/title/index.js +7 -0
- package/es/components/title/title-1.d.ts +10 -0
- package/es/components/title/title-1.js +16 -0
- package/es/components/title/title-1.scss +26 -0
- package/es/components/title/title-2.d.ts +18 -0
- package/es/components/title/title-2.js +31 -0
- package/es/components/title/title-2.scss +22 -0
- package/es/index.d.ts +12 -8
- package/es/index.js +4 -2
- package/es/index.scss +3 -3
- package/es/style.js +2 -2
- package/es/variables.d.ts +2 -2
- package/lib/assets/icon/navigation/index-selected.png +0 -0
- package/lib/assets/icon/navigation/index.png +0 -0
- package/lib/assets/icon/navigation/message-selected.png +0 -0
- package/lib/assets/icon/navigation/message.png +0 -0
- package/lib/assets/icon/navigation/mine-selected.png +0 -0
- package/lib/assets/icon/navigation/mine.png +0 -0
- package/lib/components/bottom-navigation/bottom-navigation.d.ts +13 -0
- package/lib/components/bottom-navigation/bottom-navigation.js +46 -0
- package/lib/components/bottom-navigation/index.d.ts +3 -0
- package/lib/components/bottom-navigation/index.js +7 -0
- package/lib/components/bottom-navigation/index.scss +16 -0
- package/lib/components/colorful-button/colorful-button.d.ts +12 -12
- package/lib/components/colorful-button/index.d.ts +3 -3
- package/lib/components/colorful-input/colorful-input.d.ts +8 -8
- package/lib/components/colorful-input/index.d.ts +3 -3
- package/lib/components/dc-slider/index.d.ts +3 -0
- package/lib/components/dc-slider/index.js +7 -0
- package/lib/components/dc-slider/index.scss +8 -0
- package/lib/components/dc-slider/slider.d.ts +32 -0
- package/lib/components/dc-slider/slider.js +21 -0
- package/lib/components/position/index.d.ts +3 -0
- package/lib/components/position/index.js +7 -0
- package/lib/components/position/index.scss +16 -0
- package/lib/components/position/position.d.ts +13 -0
- package/lib/components/position/position.js +46 -0
- package/lib/components/teletext-list/index.d.ts +6 -6
- package/lib/components/teletext-list/index.js +2 -2
- package/lib/components/teletext-list/index.scss +16 -114
- package/lib/components/teletext-list/teletext-list-item.d.ts +38 -0
- package/lib/components/teletext-list/teletext-list-item.js +51 -0
- package/lib/components/teletext-list/teletext-list-item.scss +74 -0
- package/lib/components/teletext-list/teletext-list.d.ts +48 -48
- package/lib/components/teletext-list/teletext-list.js +10 -33
- package/lib/components/title/index.d.ts +8 -0
- package/lib/components/title/index.js +8 -0
- package/lib/components/title/title-1.d.ts +10 -0
- package/lib/components/title/title-1.js +21 -0
- package/lib/components/title/title-1.scss +26 -0
- package/lib/components/title/title-2.d.ts +18 -0
- package/lib/components/title/title-2.js +36 -0
- package/lib/components/title/title-2.scss +22 -0
- package/lib/index.d.ts +12 -8
- package/lib/index.js +8 -5
- package/lib/index.scss +3 -3
- package/lib/style.js +2 -2
- package/lib/variables.d.ts +2 -2
- package/lowcode/d-c-slider/meta.ts +331 -0
- package/lowcode/d-c-slider/snippets.ts +42 -0
- package/lowcode/navigation/meta.ts +151 -0
- package/lowcode/teletext-list/meta.ts +292 -292
- package/lowcode/{colorful-input → title1}/meta.ts +58 -56
- package/lowcode/title2/meta.ts +92 -0
- package/lowcode_es/d-c-slider/meta.d.ts +140 -0
- package/lowcode_es/d-c-slider/meta.js +298 -0
- package/lowcode_es/d-c-slider/snippets.d.ts +36 -0
- package/lowcode_es/d-c-slider/snippets.js +36 -0
- package/lowcode_es/meta.js +8 -6
- package/lowcode_es/{colorful-input → navigation}/meta.d.ts +22 -22
- package/lowcode_es/navigation/meta.js +135 -0
- package/lowcode_es/teletext-list/meta.d.ts +22 -22
- package/lowcode_es/teletext-list/meta.js +3 -3
- package/{lowcode_lib/colorful-button → lowcode_es/title1}/meta.d.ts +22 -22
- package/lowcode_es/{colorful-input → title1}/meta.js +15 -13
- package/lowcode_es/{colorful-button → title2}/meta.d.ts +22 -22
- package/lowcode_es/title2/meta.js +82 -0
- package/lowcode_es/view.js +3 -3
- package/lowcode_lib/d-c-slider/meta.d.ts +140 -0
- package/lowcode_lib/d-c-slider/meta.js +303 -0
- package/lowcode_lib/d-c-slider/snippets.d.ts +36 -0
- package/lowcode_lib/d-c-slider/snippets.js +40 -0
- package/lowcode_lib/meta.js +8 -6
- package/lowcode_lib/{colorful-input → navigation}/meta.d.ts +22 -22
- package/lowcode_lib/navigation/meta.js +140 -0
- package/lowcode_lib/teletext-list/meta.d.ts +22 -22
- package/lowcode_lib/teletext-list/meta.js +3 -3
- package/lowcode_lib/title1/meta.d.ts +22 -0
- package/lowcode_lib/{colorful-input → title1}/meta.js +15 -13
- package/lowcode_lib/title2/meta.d.ts +22 -0
- package/lowcode_lib/{colorful-button → title2}/meta.js +38 -41
- package/lowcode_lib/view.js +2 -2
- package/package.json +4 -4
- package/lowcode/colorful-button/meta.ts +0 -102
- package/lowcode_es/colorful-button/meta.js +0 -85
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export default [{
|
|
2
|
+
title: '图片轮播',
|
|
3
|
+
screenshot: 'https://alifd.oss-cn-hangzhou.aliyuncs.com/fusion-cool/icons/icon-light/ic_light_slider.png',
|
|
4
|
+
schema: {
|
|
5
|
+
componentName: 'DCSlider',
|
|
6
|
+
props: {
|
|
7
|
+
prefix: 'next-',
|
|
8
|
+
animation: 'slide',
|
|
9
|
+
arrows: true,
|
|
10
|
+
arrowSize: 'medium',
|
|
11
|
+
arrowPosition: 'inner',
|
|
12
|
+
arrowDirection: 'hoz',
|
|
13
|
+
autoplaySpeed: 3000,
|
|
14
|
+
dots: true,
|
|
15
|
+
dotsDirection: 'hoz',
|
|
16
|
+
draggable: true,
|
|
17
|
+
infinite: true,
|
|
18
|
+
slide: 'div',
|
|
19
|
+
slideDirection: 'hoz',
|
|
20
|
+
slidesToShow: 1,
|
|
21
|
+
slidesToScroll: 1,
|
|
22
|
+
speed: 600,
|
|
23
|
+
triggerType: 'click',
|
|
24
|
+
centerPadding: '50px',
|
|
25
|
+
cssEase: 'ease',
|
|
26
|
+
edgeFriction: 0.35,
|
|
27
|
+
swipe: true,
|
|
28
|
+
touchMove: true,
|
|
29
|
+
touchThreshold: 5,
|
|
30
|
+
useCSS: true,
|
|
31
|
+
waitForAnimate: true,
|
|
32
|
+
// 轮播路径
|
|
33
|
+
picUrls: ['https://img.alicdn.com/tps/TB1bewbNVXXXXc5XXXXXXXXXXXX-1000-300.png', 'https://img.alicdn.com/tps/TB1xuUcNVXXXXcRXXXXXXXXXXXX-1000-300.jpg', 'https://img.alicdn.com/tps/TB1ikP.NVXXXXaYXpXXXXXXXXXX-1000-300.jpg', 'https://img.alicdn.com/tps/TB1s1_JNVXXXXbhaXXXXXXXXXXX-1000-300.jpg']
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}];
|
package/lowcode_es/meta.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import TeletextListMeta from
|
|
2
|
+
import DCSliderMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/d-c-slider/meta';
|
|
3
|
+
import NavigationMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/navigation/meta';
|
|
4
|
+
import TeletextListMeta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/teletext-list/meta';
|
|
5
|
+
import Title1Meta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/title1/meta';
|
|
6
|
+
import Title2Meta from 'G:/Project/Company/DongChen/lowcode/dc-material/lowcode/title2/meta';
|
|
5
7
|
var componentCategorySort = {};
|
|
6
8
|
["基础元素", "布局容器类", "表格类", "表单详情类", "帮助类", "对话框类", "业务类", "通用", "引导", "信息输入", "信息展示", "信息反馈"].reverse().forEach(function (item, index) {
|
|
7
9
|
componentCategorySort[item] = ++index;
|
|
@@ -73,7 +75,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
73
75
|
packageName = '@dckj-npm/dc-material';
|
|
74
76
|
}
|
|
75
77
|
if (version === void 0) {
|
|
76
|
-
version = '0.1.
|
|
78
|
+
version = '0.1.3';
|
|
77
79
|
}
|
|
78
80
|
if (basicLibraryVersion === void 0) {
|
|
79
81
|
basicLibraryVersion = {
|
|
@@ -100,7 +102,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
100
102
|
}
|
|
101
103
|
return meta;
|
|
102
104
|
}
|
|
103
|
-
var componentMetas = [
|
|
105
|
+
var componentMetas = [DCSliderMeta, NavigationMeta, TeletextListMeta, Title1Meta, Title2Meta];
|
|
104
106
|
var components = [];
|
|
105
107
|
var npmInfo = {};
|
|
106
108
|
componentMetas.forEach(function (meta) {
|
|
@@ -163,4 +165,4 @@ if (!execCompile) {
|
|
|
163
165
|
components: components,
|
|
164
166
|
componentList: componentList
|
|
165
167
|
};
|
|
166
|
-
}
|
|
168
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
snippets: IPublicTypeSnippet[];
|
|
4
|
-
componentName: string;
|
|
5
|
-
uri?: string;
|
|
6
|
-
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
-
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
-
tags?: string[];
|
|
9
|
-
description?: string;
|
|
10
|
-
docUrl?: string;
|
|
11
|
-
screenshot?: string;
|
|
12
|
-
devMode?: "proCode" | "lowCode";
|
|
13
|
-
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
-
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
-
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
-
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
-
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
-
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
-
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
-
priority?: number;
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import messageIcon from "../../src/assets/icon/navigation/message.png";
|
|
3
|
+
import messageIconSelected from "../../src/assets/icon/navigation/message-selected.png";
|
|
4
|
+
import indexIcon from "../../src/assets/icon/navigation/index.png";
|
|
5
|
+
import indexIconSelected from "../../src/assets/icon/navigation/index-selected.png";
|
|
6
|
+
import mineIcon from "../../src/assets/icon/navigation/mine.png";
|
|
7
|
+
import mineIconSelected from "../../src/assets/icon/navigation/mine-selected.png";
|
|
8
|
+
var NavigationMeta = {
|
|
9
|
+
"componentName": "Navigation",
|
|
10
|
+
"title": "底部导航",
|
|
11
|
+
"docUrl": "",
|
|
12
|
+
"screenshot": "",
|
|
13
|
+
"devMode": "proCode",
|
|
14
|
+
"npm": {
|
|
15
|
+
"package": "@dckj-npm/dc-material",
|
|
16
|
+
"version": "0.1.1",
|
|
17
|
+
"exportName": "Navigation",
|
|
18
|
+
"main": "src\\index.tsx",
|
|
19
|
+
"destructuring": true,
|
|
20
|
+
"subName": ""
|
|
21
|
+
},
|
|
22
|
+
"configure": {
|
|
23
|
+
"props": [{
|
|
24
|
+
"title": {
|
|
25
|
+
"label": {
|
|
26
|
+
"type": "i18n",
|
|
27
|
+
"en-US": "itemArray",
|
|
28
|
+
"zh-CN": "导航项"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"name": "itemArray",
|
|
32
|
+
"setter": {
|
|
33
|
+
"componentName": "ArraySetter",
|
|
34
|
+
"props": {
|
|
35
|
+
"itemSetter": {
|
|
36
|
+
"componentName": "ObjectSetter",
|
|
37
|
+
"props": {
|
|
38
|
+
"config": {
|
|
39
|
+
"items": [{
|
|
40
|
+
"title": {
|
|
41
|
+
"label": {
|
|
42
|
+
"type": "i18n",
|
|
43
|
+
"en-US": "text",
|
|
44
|
+
"zh-CN": "名称"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"name": "text",
|
|
48
|
+
"setter": {
|
|
49
|
+
"componentName": "StringSetter",
|
|
50
|
+
"isRequired": true,
|
|
51
|
+
"initialValue": ""
|
|
52
|
+
}
|
|
53
|
+
}, {
|
|
54
|
+
"title": {
|
|
55
|
+
"label": {
|
|
56
|
+
"type": "i18n",
|
|
57
|
+
"en-US": "icon",
|
|
58
|
+
"zh-CN": "图标"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"name": "icon",
|
|
62
|
+
"setter": {
|
|
63
|
+
"componentName": "StringSetter",
|
|
64
|
+
"isRequired": true,
|
|
65
|
+
"initialValue": ""
|
|
66
|
+
}
|
|
67
|
+
}, {
|
|
68
|
+
"title": {
|
|
69
|
+
"label": {
|
|
70
|
+
"type": "i18n",
|
|
71
|
+
"en-US": "selectedIcon",
|
|
72
|
+
"zh-CN": "选中图标"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"name": "selectedIcon",
|
|
76
|
+
"setter": {
|
|
77
|
+
"componentName": "StringSetter",
|
|
78
|
+
"isRequired": true,
|
|
79
|
+
"initialValue": ""
|
|
80
|
+
}
|
|
81
|
+
}],
|
|
82
|
+
"extraSetter": {
|
|
83
|
+
"componentName": "MixedSetter",
|
|
84
|
+
"isRequired": false,
|
|
85
|
+
"props": {}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"isRequired": true,
|
|
92
|
+
"initialValue": []
|
|
93
|
+
}
|
|
94
|
+
}, {
|
|
95
|
+
"title": {
|
|
96
|
+
"label": {
|
|
97
|
+
"type": "i18n",
|
|
98
|
+
"en-US": "selectedColor",
|
|
99
|
+
"zh-CN": "选中颜色"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"name": "selectedColor",
|
|
103
|
+
"setter": "ColorSetter"
|
|
104
|
+
}],
|
|
105
|
+
"supports": {
|
|
106
|
+
"style": true
|
|
107
|
+
},
|
|
108
|
+
"component": {}
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
var snippets = [{
|
|
112
|
+
"title": "底部导航",
|
|
113
|
+
"screenshot": "",
|
|
114
|
+
"schema": {
|
|
115
|
+
"componentName": "Navigation",
|
|
116
|
+
"props": {
|
|
117
|
+
"itemArray": [{
|
|
118
|
+
"text": "首页",
|
|
119
|
+
"icon": indexIcon,
|
|
120
|
+
"selectedIcon": indexIconSelected
|
|
121
|
+
}, {
|
|
122
|
+
"text": "消息",
|
|
123
|
+
"icon": messageIcon,
|
|
124
|
+
"selectedIcon": messageIconSelected
|
|
125
|
+
}, {
|
|
126
|
+
"text": "我的",
|
|
127
|
+
"icon": mineIcon,
|
|
128
|
+
"selectedIcon": mineIconSelected
|
|
129
|
+
}]
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}];
|
|
133
|
+
export default _extends({}, NavigationMeta, {
|
|
134
|
+
snippets: snippets
|
|
135
|
+
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
snippets: IPublicTypeSnippet[];
|
|
4
|
-
componentName: string;
|
|
5
|
-
uri?: string;
|
|
6
|
-
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
-
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
-
tags?: string[];
|
|
9
|
-
description?: string;
|
|
10
|
-
docUrl?: string;
|
|
11
|
-
screenshot?: string;
|
|
12
|
-
devMode?: "proCode" | "lowCode";
|
|
13
|
-
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
-
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
-
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
-
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
-
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
-
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
-
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
-
priority?: number;
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
var TeletextListMeta = {
|
|
3
3
|
"componentName": "TeletextList",
|
|
4
|
-
"title": "
|
|
4
|
+
"title": "图文列表",
|
|
5
5
|
"docUrl": "",
|
|
6
6
|
"screenshot": "",
|
|
7
7
|
"devMode": "proCode",
|
|
@@ -242,7 +242,7 @@ var TeletextListMeta = {
|
|
|
242
242
|
}
|
|
243
243
|
};
|
|
244
244
|
var snippets = [{
|
|
245
|
-
"title": "
|
|
245
|
+
"title": "图文列表",
|
|
246
246
|
"screenshot": "",
|
|
247
247
|
"schema": {
|
|
248
248
|
"componentName": "TeletextList",
|
|
@@ -251,4 +251,4 @@ var snippets = [{
|
|
|
251
251
|
}];
|
|
252
252
|
export default _extends({}, TeletextListMeta, {
|
|
253
253
|
snippets: snippets
|
|
254
|
-
});
|
|
254
|
+
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
snippets: IPublicTypeSnippet[];
|
|
4
|
-
componentName: string;
|
|
5
|
-
uri?: string;
|
|
6
|
-
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
-
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
-
tags?: string[];
|
|
9
|
-
description?: string;
|
|
10
|
-
docUrl?: string;
|
|
11
|
-
screenshot?: string;
|
|
12
|
-
devMode?: "proCode" | "lowCode";
|
|
13
|
-
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
-
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
-
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
-
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
-
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
-
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
-
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
-
priority?: number;
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
var
|
|
3
|
-
"componentName": "
|
|
4
|
-
"title": "
|
|
2
|
+
var Title1Meta = {
|
|
3
|
+
"componentName": "Title1",
|
|
4
|
+
"title": "个性化标题1",
|
|
5
5
|
"docUrl": "",
|
|
6
6
|
"screenshot": "",
|
|
7
7
|
"devMode": "proCode",
|
|
8
8
|
"npm": {
|
|
9
9
|
"package": "@dckj-npm/dc-material",
|
|
10
10
|
"version": "0.1.0",
|
|
11
|
-
"exportName": "
|
|
11
|
+
"exportName": "Title1",
|
|
12
12
|
"main": "src/index.tsx",
|
|
13
13
|
"destructuring": true,
|
|
14
14
|
"subName": ""
|
|
@@ -18,15 +18,17 @@ var ColorfulInputMeta = {
|
|
|
18
18
|
"title": {
|
|
19
19
|
"label": {
|
|
20
20
|
"type": "i18n",
|
|
21
|
-
"en-US": "
|
|
22
|
-
"zh-CN": "
|
|
23
|
-
}
|
|
21
|
+
"en-US": "title",
|
|
22
|
+
"zh-CN": "标题"
|
|
23
|
+
},
|
|
24
|
+
"tip": "title | 标题"
|
|
24
25
|
},
|
|
25
|
-
"name": "
|
|
26
|
+
"name": "title",
|
|
27
|
+
"description": "标题",
|
|
26
28
|
"setter": {
|
|
27
29
|
"componentName": "StringSetter",
|
|
28
30
|
"isRequired": false,
|
|
29
|
-
"initialValue": ""
|
|
31
|
+
"initialValue": "标题名称"
|
|
30
32
|
}
|
|
31
33
|
}],
|
|
32
34
|
"supports": {
|
|
@@ -36,13 +38,13 @@ var ColorfulInputMeta = {
|
|
|
36
38
|
}
|
|
37
39
|
};
|
|
38
40
|
var snippets = [{
|
|
39
|
-
"title": "
|
|
41
|
+
"title": "个性化标题1",
|
|
40
42
|
"screenshot": "",
|
|
41
43
|
"schema": {
|
|
42
|
-
"componentName": "
|
|
44
|
+
"componentName": "Title1",
|
|
43
45
|
"props": {}
|
|
44
46
|
}
|
|
45
47
|
}];
|
|
46
|
-
export default _extends({},
|
|
48
|
+
export default _extends({}, Title1Meta, {
|
|
47
49
|
snippets: snippets
|
|
48
|
-
});
|
|
50
|
+
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
snippets: IPublicTypeSnippet[];
|
|
4
|
-
componentName: string;
|
|
5
|
-
uri?: string;
|
|
6
|
-
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
-
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
-
tags?: string[];
|
|
9
|
-
description?: string;
|
|
10
|
-
docUrl?: string;
|
|
11
|
-
screenshot?: string;
|
|
12
|
-
devMode?: "proCode" | "lowCode";
|
|
13
|
-
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
-
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
-
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
-
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
-
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
-
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
-
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
-
priority?: number;
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
var Title2Meta = {
|
|
3
|
+
"componentName": "Title2",
|
|
4
|
+
"title": "个性化标题2",
|
|
5
|
+
"docUrl": "",
|
|
6
|
+
"screenshot": "",
|
|
7
|
+
"devMode": "proCode",
|
|
8
|
+
"npm": {
|
|
9
|
+
"package": "@dckj-npm/dc-material",
|
|
10
|
+
"version": "0.1.0",
|
|
11
|
+
"exportName": "Title2",
|
|
12
|
+
"main": "src/index.tsx",
|
|
13
|
+
"destructuring": true,
|
|
14
|
+
"subName": ""
|
|
15
|
+
},
|
|
16
|
+
"configure": {
|
|
17
|
+
"props": [{
|
|
18
|
+
"title": {
|
|
19
|
+
"label": {
|
|
20
|
+
"type": "i18n",
|
|
21
|
+
"en-US": "title",
|
|
22
|
+
"zh-CN": "标题"
|
|
23
|
+
},
|
|
24
|
+
"tip": "title | 标题"
|
|
25
|
+
},
|
|
26
|
+
"name": "title",
|
|
27
|
+
"description": "标题",
|
|
28
|
+
"setter": {
|
|
29
|
+
"componentName": "StringSetter",
|
|
30
|
+
"isRequired": false,
|
|
31
|
+
"initialValue": "标题名称"
|
|
32
|
+
}
|
|
33
|
+
}, {
|
|
34
|
+
"title": {
|
|
35
|
+
"label": {
|
|
36
|
+
"type": "i18n",
|
|
37
|
+
"en-US": "color",
|
|
38
|
+
"zh-CN": "颜色"
|
|
39
|
+
},
|
|
40
|
+
"tip": "color | 颜色"
|
|
41
|
+
},
|
|
42
|
+
"name": "color",
|
|
43
|
+
"description": "颜色",
|
|
44
|
+
"setter": {
|
|
45
|
+
"componentName": "ColorSetter",
|
|
46
|
+
"isRequired": false,
|
|
47
|
+
"initialValue": "#144477"
|
|
48
|
+
}
|
|
49
|
+
}, {
|
|
50
|
+
"title": {
|
|
51
|
+
"label": {
|
|
52
|
+
"type": "i18n",
|
|
53
|
+
"en-US": "tipColor",
|
|
54
|
+
"zh-CN": "tip颜色"
|
|
55
|
+
},
|
|
56
|
+
"tip": "tipColor | tip颜色"
|
|
57
|
+
},
|
|
58
|
+
"name": "tipColor",
|
|
59
|
+
"description": "tip颜色",
|
|
60
|
+
"setter": {
|
|
61
|
+
"componentName": "ColorSetter",
|
|
62
|
+
"isRequired": false,
|
|
63
|
+
"initialValue": "#388AF7"
|
|
64
|
+
}
|
|
65
|
+
}],
|
|
66
|
+
"supports": {
|
|
67
|
+
"style": true
|
|
68
|
+
},
|
|
69
|
+
"component": {}
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
var snippets = [{
|
|
73
|
+
"title": "个性化标题2",
|
|
74
|
+
"screenshot": "",
|
|
75
|
+
"schema": {
|
|
76
|
+
"componentName": "Title2",
|
|
77
|
+
"props": {}
|
|
78
|
+
}
|
|
79
|
+
}];
|
|
80
|
+
export default _extends({}, Title2Meta, {
|
|
81
|
+
snippets: snippets
|
|
82
|
+
});
|
package/lowcode_es/view.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as componentInstances from
|
|
2
|
-
import
|
|
1
|
+
import * as componentInstances from 'G:/Project/Company/DongChen/lowcode/dc-material/src/index';
|
|
2
|
+
import 'G:/Project/Company/DongChen/lowcode/dc-material/src/index.scss';
|
|
3
3
|
var entryDefault = componentInstances["default"];
|
|
4
4
|
export { entryDefault as default };
|
|
5
|
-
export * from
|
|
5
|
+
export * from 'G:/Project/Company/DongChen/lowcode/dc-material/src/index';
|
|
6
6
|
var coveredComponents = {};
|
|
7
7
|
var library = 'BizComps';
|
|
8
8
|
var execCompile = !!true;
|