@dckj-npm/dc-material 0.1.12 → 0.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/build/lowcode/assets-daily.json +67 -0
- package/build/lowcode/assets-dev.json +67 -0
- package/build/lowcode/assets-prod.json +67 -0
- package/build/lowcode/designer.html +302 -0
- package/build/lowcode/index.html +304 -0
- package/build/lowcode/index.js +1 -0
- package/build/lowcode/meta.js +1 -0
- package/build/lowcode/preview.css +1 -0
- package/build/lowcode/preview.html +33 -0
- package/build/lowcode/preview.js +308 -0
- package/build/lowcode/render/default/view.css +1 -0
- package/build/lowcode/render/default/view.js +295 -0
- package/build/lowcode/view.css +1 -0
- package/build/lowcode/view.js +295 -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/grid-nav/meta.d.ts +22 -0
- package/lowcode_es/grid-nav/meta.js +152 -0
- package/lowcode_es/menu-list/meta.d.ts +22 -0
- package/lowcode_es/menu-list/meta.js +128 -0
- package/lowcode_es/meta.js +173 -0
- package/lowcode_es/navigation/meta.d.ts +22 -0
- package/lowcode_es/navigation/meta.js +136 -0
- package/lowcode_es/position/meta.d.ts +22 -0
- package/lowcode_es/position/meta.js +190 -0
- package/lowcode_es/search-bar/meta.d.ts +22 -0
- package/lowcode_es/search-bar/meta.js +46 -0
- package/lowcode_es/tag-c/meta.d.ts +22 -0
- package/lowcode_es/tag-c/meta.js +66 -0
- package/lowcode_es/teletext-list/meta.d.ts +22 -0
- package/lowcode_es/teletext-list/meta.js +294 -0
- package/lowcode_es/title1/meta.d.ts +22 -0
- package/lowcode_es/title1/meta.js +51 -0
- package/lowcode_es/title2/meta.d.ts +22 -0
- package/lowcode_es/title2/meta.js +83 -0
- package/lowcode_es/view.js +18 -0
- 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/grid-nav/meta.d.ts +22 -0
- package/lowcode_lib/grid-nav/meta.js +157 -0
- package/lowcode_lib/menu-list/meta.d.ts +22 -0
- package/lowcode_lib/menu-list/meta.js +133 -0
- package/lowcode_lib/meta.js +177 -0
- package/lowcode_lib/navigation/meta.d.ts +22 -0
- package/lowcode_lib/navigation/meta.js +141 -0
- package/lowcode_lib/position/meta.d.ts +22 -0
- package/lowcode_lib/position/meta.js +195 -0
- package/lowcode_lib/search-bar/meta.d.ts +22 -0
- package/lowcode_lib/search-bar/meta.js +51 -0
- package/lowcode_lib/tag-c/meta.d.ts +22 -0
- package/lowcode_lib/tag-c/meta.js +71 -0
- package/lowcode_lib/teletext-list/meta.d.ts +22 -0
- package/lowcode_lib/teletext-list/meta.js +299 -0
- package/lowcode_lib/title1/meta.d.ts +22 -0
- package/lowcode_lib/title1/meta.js +56 -0
- package/lowcode_lib/title2/meta.d.ts +22 -0
- package/lowcode_lib/title2/meta.js +88 -0
- package/lowcode_lib/view.js +29 -0
- package/package.json +110 -110
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
|
+
var PositionMeta = {
|
|
8
|
+
group: '低代码组件',
|
|
9
|
+
"componentName": "Position",
|
|
10
|
+
"title": "Position",
|
|
11
|
+
"docUrl": "",
|
|
12
|
+
"screenshot": "",
|
|
13
|
+
"devMode": "proCode",
|
|
14
|
+
"npm": {
|
|
15
|
+
"package": "@dckj-npm/dc-material",
|
|
16
|
+
"version": "0.1.7",
|
|
17
|
+
"exportName": "Position",
|
|
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": "lat",
|
|
44
|
+
"zh-CN": "lat"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"name": "lat",
|
|
48
|
+
"setter": {
|
|
49
|
+
"componentName": "StringSetter",
|
|
50
|
+
"isRequired": true,
|
|
51
|
+
"initialValue": ""
|
|
52
|
+
}
|
|
53
|
+
}, {
|
|
54
|
+
"title": {
|
|
55
|
+
"label": {
|
|
56
|
+
"type": "i18n",
|
|
57
|
+
"en-US": "lng",
|
|
58
|
+
"zh-CN": "lng"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"name": "lng",
|
|
62
|
+
"setter": {
|
|
63
|
+
"componentName": "StringSetter",
|
|
64
|
+
"isRequired": true,
|
|
65
|
+
"initialValue": ""
|
|
66
|
+
}
|
|
67
|
+
}, {
|
|
68
|
+
"title": {
|
|
69
|
+
"label": {
|
|
70
|
+
"type": "i18n",
|
|
71
|
+
"en-US": "address",
|
|
72
|
+
"zh-CN": "address"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"name": "address",
|
|
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": "defaultLocation",
|
|
99
|
+
"zh-CN": "默认地址"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"name": "defaultLocation",
|
|
103
|
+
"setter": {
|
|
104
|
+
"componentName": "ObjectSetter",
|
|
105
|
+
"props": {
|
|
106
|
+
"config": {
|
|
107
|
+
"items": [{
|
|
108
|
+
"title": {
|
|
109
|
+
"label": {
|
|
110
|
+
"type": "i18n",
|
|
111
|
+
"en-US": "lat",
|
|
112
|
+
"zh-CN": "lat"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"name": "lat",
|
|
116
|
+
"setter": {
|
|
117
|
+
"componentName": "StringSetter",
|
|
118
|
+
"isRequired": true,
|
|
119
|
+
"initialValue": ""
|
|
120
|
+
}
|
|
121
|
+
}, {
|
|
122
|
+
"title": {
|
|
123
|
+
"label": {
|
|
124
|
+
"type": "i18n",
|
|
125
|
+
"en-US": "lng",
|
|
126
|
+
"zh-CN": "lng"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"name": "lng",
|
|
130
|
+
"setter": {
|
|
131
|
+
"componentName": "StringSetter",
|
|
132
|
+
"isRequired": true,
|
|
133
|
+
"initialValue": ""
|
|
134
|
+
}
|
|
135
|
+
}, {
|
|
136
|
+
"title": {
|
|
137
|
+
"label": {
|
|
138
|
+
"type": "i18n",
|
|
139
|
+
"en-US": "address",
|
|
140
|
+
"zh-CN": "address"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"name": "address",
|
|
144
|
+
"setter": {
|
|
145
|
+
"componentName": "StringSetter",
|
|
146
|
+
"isRequired": true,
|
|
147
|
+
"initialValue": ""
|
|
148
|
+
}
|
|
149
|
+
}],
|
|
150
|
+
"extraSetter": {
|
|
151
|
+
"componentName": "MixedSetter",
|
|
152
|
+
"isRequired": false,
|
|
153
|
+
"props": {}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"isRequired": true
|
|
158
|
+
}
|
|
159
|
+
}],
|
|
160
|
+
"supports": {
|
|
161
|
+
"style": true
|
|
162
|
+
},
|
|
163
|
+
"component": {}
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
var snippets = [{
|
|
167
|
+
"title": "定位",
|
|
168
|
+
"screenshot": "",
|
|
169
|
+
"schema": {
|
|
170
|
+
"componentName": "Position",
|
|
171
|
+
"props": {
|
|
172
|
+
defaultLocation: {
|
|
173
|
+
lng: '123',
|
|
174
|
+
lat: '123',
|
|
175
|
+
address: '嘉兴市'
|
|
176
|
+
},
|
|
177
|
+
itemArray: [{
|
|
178
|
+
lng: '123',
|
|
179
|
+
lat: '123',
|
|
180
|
+
address: '嘉兴市'
|
|
181
|
+
}, {
|
|
182
|
+
lng: '123',
|
|
183
|
+
lat: '123',
|
|
184
|
+
address: '杭州市'
|
|
185
|
+
}, {
|
|
186
|
+
lng: '123',
|
|
187
|
+
lat: '123',
|
|
188
|
+
address: '上海市'
|
|
189
|
+
}]
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}];
|
|
193
|
+
var _default = exports["default"] = (0, _extends2["default"])({}, PositionMeta, {
|
|
194
|
+
snippets: snippets
|
|
195
|
+
});
|
|
@@ -0,0 +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;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
|
+
var SearchBarMeta = {
|
|
8
|
+
"group": '低代码组件',
|
|
9
|
+
"componentName": "SearchBar",
|
|
10
|
+
"title": "搜索栏",
|
|
11
|
+
"docUrl": "",
|
|
12
|
+
"screenshot": "",
|
|
13
|
+
"devMode": "proCode",
|
|
14
|
+
"npm": {
|
|
15
|
+
"package": "@dckj-npm/dc-material",
|
|
16
|
+
"version": "0.1.0",
|
|
17
|
+
"exportName": "SearchBar",
|
|
18
|
+
"main": "src\\index.tsx",
|
|
19
|
+
"destructuring": true,
|
|
20
|
+
"subName": ""
|
|
21
|
+
},
|
|
22
|
+
"configure": {
|
|
23
|
+
supports: {
|
|
24
|
+
style: true,
|
|
25
|
+
events: [{
|
|
26
|
+
name: 'onClick'
|
|
27
|
+
// template: "onSearch(params,${extParams}){\n window.location.href=`http://localhost:4500/preview.html?pathId=${params.pathId}`;\n console.log(params.pathId) \n}"
|
|
28
|
+
}]
|
|
29
|
+
},
|
|
30
|
+
"props": [{
|
|
31
|
+
name: 'defaultValue',
|
|
32
|
+
title: '绑定跳转',
|
|
33
|
+
setter: 'StringSetter',
|
|
34
|
+
supportVariable: true,
|
|
35
|
+
description: '搜索框绑定跳转',
|
|
36
|
+
defaultValue: '请输入'
|
|
37
|
+
}],
|
|
38
|
+
"component": {}
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
var snippets = [{
|
|
42
|
+
"title": "搜索栏",
|
|
43
|
+
"screenshot": "",
|
|
44
|
+
"schema": {
|
|
45
|
+
"componentName": "SearchBar",
|
|
46
|
+
"props": {}
|
|
47
|
+
}
|
|
48
|
+
}];
|
|
49
|
+
var _default = exports["default"] = (0, _extends2["default"])({}, SearchBarMeta, {
|
|
50
|
+
snippets: snippets
|
|
51
|
+
});
|
|
@@ -0,0 +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;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
|
+
var TagCMeta = {
|
|
8
|
+
"componentName": "TagC",
|
|
9
|
+
"title": "TagC",
|
|
10
|
+
"docUrl": "",
|
|
11
|
+
"screenshot": "",
|
|
12
|
+
"devMode": "proCode",
|
|
13
|
+
"npm": {
|
|
14
|
+
"package": "@dckj-npm/dc-material",
|
|
15
|
+
"version": "0.1.8",
|
|
16
|
+
"exportName": "TagC",
|
|
17
|
+
"main": "src\\index.tsx",
|
|
18
|
+
"destructuring": true,
|
|
19
|
+
"subName": ""
|
|
20
|
+
},
|
|
21
|
+
"configure": {
|
|
22
|
+
"props": [{
|
|
23
|
+
"title": {
|
|
24
|
+
"label": {
|
|
25
|
+
"type": "i18n",
|
|
26
|
+
"en-US": "name",
|
|
27
|
+
"zh-CN": "标签名称"
|
|
28
|
+
},
|
|
29
|
+
"tip": "name | 标签名称"
|
|
30
|
+
},
|
|
31
|
+
"name": "name",
|
|
32
|
+
"description": "标签名称",
|
|
33
|
+
"setter": {
|
|
34
|
+
"componentName": "StringSetter",
|
|
35
|
+
"isRequired": true,
|
|
36
|
+
"initialValue": ""
|
|
37
|
+
}
|
|
38
|
+
}, {
|
|
39
|
+
"title": {
|
|
40
|
+
"label": {
|
|
41
|
+
"type": "i18n",
|
|
42
|
+
"en-US": "color",
|
|
43
|
+
"zh-CN": "标签颜色"
|
|
44
|
+
},
|
|
45
|
+
"tip": "color | 标签颜色"
|
|
46
|
+
},
|
|
47
|
+
"name": "color",
|
|
48
|
+
"description": "标签颜色",
|
|
49
|
+
"setter": {
|
|
50
|
+
"componentName": "StringSetter",
|
|
51
|
+
"isRequired": true,
|
|
52
|
+
"initialValue": ""
|
|
53
|
+
}
|
|
54
|
+
}],
|
|
55
|
+
"supports": {
|
|
56
|
+
"style": true
|
|
57
|
+
},
|
|
58
|
+
"component": {}
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
var snippets = [{
|
|
62
|
+
"title": "TagC",
|
|
63
|
+
"screenshot": "",
|
|
64
|
+
"schema": {
|
|
65
|
+
"componentName": "TagC",
|
|
66
|
+
"props": {}
|
|
67
|
+
}
|
|
68
|
+
}];
|
|
69
|
+
var _default = exports["default"] = (0, _extends2["default"])({}, TagCMeta, {
|
|
70
|
+
snippets: snippets
|
|
71
|
+
});
|
|
@@ -0,0 +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;
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports["default"] = void 0;
|
|
6
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
|
+
var TeletextListMeta = {
|
|
8
|
+
"group": "低代码组件",
|
|
9
|
+
"componentName": "TeletextList",
|
|
10
|
+
"title": "图文列表",
|
|
11
|
+
"docUrl": "",
|
|
12
|
+
"screenshot": "",
|
|
13
|
+
"devMode": "proCode",
|
|
14
|
+
"npm": {
|
|
15
|
+
"package": "@dckj-npm/dc-material",
|
|
16
|
+
"version": "0.1.8",
|
|
17
|
+
"exportName": "TeletextList",
|
|
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": "title",
|
|
28
|
+
"zh-CN": "标题"
|
|
29
|
+
},
|
|
30
|
+
"tip": "title | 标题"
|
|
31
|
+
},
|
|
32
|
+
"name": "title",
|
|
33
|
+
"description": "标题",
|
|
34
|
+
"setter": {
|
|
35
|
+
"componentName": "StringSetter",
|
|
36
|
+
"isRequired": false,
|
|
37
|
+
"initialValue": "图文列表标题"
|
|
38
|
+
}
|
|
39
|
+
}, {
|
|
40
|
+
"title": {
|
|
41
|
+
"label": {
|
|
42
|
+
"type": "i18n",
|
|
43
|
+
"en-US": "dataList",
|
|
44
|
+
"zh-CN": "数据"
|
|
45
|
+
},
|
|
46
|
+
"tip": "dataList | 数据"
|
|
47
|
+
},
|
|
48
|
+
"name": "dataList",
|
|
49
|
+
"description": "数据",
|
|
50
|
+
"setter": {
|
|
51
|
+
"componentName": "ArraySetter",
|
|
52
|
+
"props": {
|
|
53
|
+
"itemSetter": {
|
|
54
|
+
"componentName": "ObjectSetter",
|
|
55
|
+
"props": {
|
|
56
|
+
"config": {
|
|
57
|
+
"items": [{
|
|
58
|
+
"title": {
|
|
59
|
+
"label": {
|
|
60
|
+
"type": "i18n",
|
|
61
|
+
"en-US": "title",
|
|
62
|
+
"zh-CN": "标题"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"name": "title",
|
|
66
|
+
"description": "标题",
|
|
67
|
+
"setter": {
|
|
68
|
+
"componentName": "StringSetter",
|
|
69
|
+
"isRequired": false,
|
|
70
|
+
"initialValue": ""
|
|
71
|
+
}
|
|
72
|
+
}, {
|
|
73
|
+
"title": {
|
|
74
|
+
"label": {
|
|
75
|
+
"type": "i18n",
|
|
76
|
+
"en-US": "image",
|
|
77
|
+
"zh-CN": "图片地址"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"name": "image",
|
|
81
|
+
"description": "图片地址",
|
|
82
|
+
"setter": {
|
|
83
|
+
"componentName": "CustomImageSetter",
|
|
84
|
+
"isRequired": false,
|
|
85
|
+
"initialValue": ""
|
|
86
|
+
}
|
|
87
|
+
}, {
|
|
88
|
+
"title": {
|
|
89
|
+
"label": {
|
|
90
|
+
"type": "i18n",
|
|
91
|
+
"en-US": "imagePlacement",
|
|
92
|
+
"zh-CN": "图片位置"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"name": "imagePlacement",
|
|
96
|
+
"description": "图片位置",
|
|
97
|
+
"setter": {
|
|
98
|
+
"componentName": "RadioGroupSetter",
|
|
99
|
+
"props": {
|
|
100
|
+
"dataSource": [{
|
|
101
|
+
"label": "left",
|
|
102
|
+
"value": "left"
|
|
103
|
+
}, {
|
|
104
|
+
"label": "right",
|
|
105
|
+
"value": "right"
|
|
106
|
+
}, {
|
|
107
|
+
"label": "none",
|
|
108
|
+
"value": "none"
|
|
109
|
+
}],
|
|
110
|
+
"options": [{
|
|
111
|
+
"label": "left",
|
|
112
|
+
"value": "left"
|
|
113
|
+
}, {
|
|
114
|
+
"label": "right",
|
|
115
|
+
"value": "right"
|
|
116
|
+
}, {
|
|
117
|
+
"label": "none",
|
|
118
|
+
"value": "none"
|
|
119
|
+
}]
|
|
120
|
+
},
|
|
121
|
+
"initialValue": "left"
|
|
122
|
+
}
|
|
123
|
+
}, {
|
|
124
|
+
"title": {
|
|
125
|
+
"label": {
|
|
126
|
+
"type": "i18n",
|
|
127
|
+
"en-US": "description",
|
|
128
|
+
"zh-CN": "描述"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"name": "description",
|
|
132
|
+
"description": "描述",
|
|
133
|
+
"setter": {
|
|
134
|
+
"componentName": "StringSetter",
|
|
135
|
+
"isRequired": false,
|
|
136
|
+
"initialValue": ""
|
|
137
|
+
}
|
|
138
|
+
}, {
|
|
139
|
+
"title": {
|
|
140
|
+
"label": {
|
|
141
|
+
"type": "i18n",
|
|
142
|
+
"en-US": "tags",
|
|
143
|
+
"zh-CN": "标签列表"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"name": "tags",
|
|
147
|
+
"description": "标签列表",
|
|
148
|
+
"setter": {
|
|
149
|
+
"componentName": "ArraySetter",
|
|
150
|
+
"props": {
|
|
151
|
+
"itemSetter": {
|
|
152
|
+
"componentName": "ObjectSetter",
|
|
153
|
+
"props": {
|
|
154
|
+
"config": {
|
|
155
|
+
"items": [{
|
|
156
|
+
"title": {
|
|
157
|
+
"label": {
|
|
158
|
+
"type": "i18n",
|
|
159
|
+
"en-US": "name",
|
|
160
|
+
"zh-CN": "标签名称"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"name": "name",
|
|
164
|
+
"description": "标签名称",
|
|
165
|
+
"setter": {
|
|
166
|
+
"componentName": "StringSetter",
|
|
167
|
+
"isRequired": true,
|
|
168
|
+
"initialValue": ""
|
|
169
|
+
}
|
|
170
|
+
}, {
|
|
171
|
+
"title": {
|
|
172
|
+
"label": {
|
|
173
|
+
"type": "i18n",
|
|
174
|
+
"en-US": "color",
|
|
175
|
+
"zh-CN": "标签颜色"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"name": "color",
|
|
179
|
+
"description": "标签颜色",
|
|
180
|
+
"setter": {
|
|
181
|
+
"componentName": "StringSetter",
|
|
182
|
+
"isRequired": true,
|
|
183
|
+
"initialValue": ""
|
|
184
|
+
}
|
|
185
|
+
}],
|
|
186
|
+
"extraSetter": {
|
|
187
|
+
"componentName": "MixedSetter",
|
|
188
|
+
"isRequired": false,
|
|
189
|
+
"props": {}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"initialValue": []
|
|
196
|
+
}
|
|
197
|
+
}],
|
|
198
|
+
"extraSetter": {
|
|
199
|
+
"componentName": "MixedSetter",
|
|
200
|
+
"isRequired": false,
|
|
201
|
+
"props": {}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"initialValue": [{
|
|
208
|
+
"image": "https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg",
|
|
209
|
+
"imagePlacement": "left",
|
|
210
|
+
"title": "标题名称",
|
|
211
|
+
"description": "说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
|
|
212
|
+
"tags": [{
|
|
213
|
+
"name": "报名火热",
|
|
214
|
+
"color": "orange"
|
|
215
|
+
}, {
|
|
216
|
+
"name": "人数众多",
|
|
217
|
+
"color": "blue"
|
|
218
|
+
}]
|
|
219
|
+
}, {
|
|
220
|
+
"image": "https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg",
|
|
221
|
+
"imagePlacement": "right",
|
|
222
|
+
"title": "标题名称",
|
|
223
|
+
"description": "说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
|
|
224
|
+
"tags": [{
|
|
225
|
+
"name": "报名火热",
|
|
226
|
+
"color": "orange"
|
|
227
|
+
}, {
|
|
228
|
+
"name": "人数众多",
|
|
229
|
+
"color": "blue"
|
|
230
|
+
}]
|
|
231
|
+
}, {
|
|
232
|
+
"title": "标题名称",
|
|
233
|
+
"description": "说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字",
|
|
234
|
+
"tags": [{
|
|
235
|
+
"name": "报名火热",
|
|
236
|
+
"color": "orange"
|
|
237
|
+
}, {
|
|
238
|
+
"name": "人数众多",
|
|
239
|
+
"color": "blue"
|
|
240
|
+
}]
|
|
241
|
+
}]
|
|
242
|
+
}
|
|
243
|
+
}],
|
|
244
|
+
"supports": {
|
|
245
|
+
"style": true,
|
|
246
|
+
"events": [{
|
|
247
|
+
"name": "onClick",
|
|
248
|
+
"template": "onClick(key,${extParams}){\n// 点击项目的事件\nconsole.log('onClick', key);}"
|
|
249
|
+
}]
|
|
250
|
+
},
|
|
251
|
+
"component": {}
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
var snippets = [{
|
|
255
|
+
"title": "图文列表",
|
|
256
|
+
"screenshot": "",
|
|
257
|
+
"schema": {
|
|
258
|
+
"componentName": "TeletextList",
|
|
259
|
+
"props": {},
|
|
260
|
+
children: [{
|
|
261
|
+
componentName: 'Title1',
|
|
262
|
+
props: {
|
|
263
|
+
type: 'h5',
|
|
264
|
+
children: '列表标题',
|
|
265
|
+
key: 'box-title'
|
|
266
|
+
}
|
|
267
|
+
}, {
|
|
268
|
+
componentName: 'Image',
|
|
269
|
+
props: {
|
|
270
|
+
src: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
|
|
271
|
+
key: 'image'
|
|
272
|
+
}
|
|
273
|
+
}, {
|
|
274
|
+
componentName: 'NextText',
|
|
275
|
+
props: {
|
|
276
|
+
type: 'h5',
|
|
277
|
+
children: '标题标题',
|
|
278
|
+
key: 'title'
|
|
279
|
+
}
|
|
280
|
+
}, {
|
|
281
|
+
componentName: 'NextText',
|
|
282
|
+
props: {
|
|
283
|
+
type: 'inherit',
|
|
284
|
+
children: '基于 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
|
|
285
|
+
key: 'content'
|
|
286
|
+
}
|
|
287
|
+
}, {
|
|
288
|
+
componentName: 'TagC',
|
|
289
|
+
props: {
|
|
290
|
+
name: '报名火热',
|
|
291
|
+
color: 'orange',
|
|
292
|
+
key: 'teletext-tagc-1'
|
|
293
|
+
}
|
|
294
|
+
}]
|
|
295
|
+
}
|
|
296
|
+
}];
|
|
297
|
+
var _default = exports["default"] = (0, _extends2["default"])({}, TeletextListMeta, {
|
|
298
|
+
snippets: snippets
|
|
299
|
+
});
|