@dckj-npm/dc-material 0.1.71 → 0.1.73
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 +13 -13
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +13 -13
- package/build/lowcode/meta.design.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/lowcode/teletext-list/meta.ts +232 -223
- package/lowcode_es/meta.js +1 -1
- package/lowcode_es/teletext-list/meta.js +171 -164
- package/lowcode_lib/meta.js +1 -1
- package/lowcode_lib/teletext-list/meta.js +171 -164
- package/package.json +2 -2
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import {IPublicTypeComponentMetadata, IPublicTypeSnippet} from '@alilc/lowcode-types'
|
|
1
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
|
|
2
2
|
|
|
3
3
|
const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
group: '低代码组件',
|
|
5
|
+
componentName: 'TeletextList',
|
|
6
|
+
title: '图文列表',
|
|
7
|
+
docUrl: '',
|
|
8
|
+
screenshot: '',
|
|
9
|
+
devMode: 'proCode',
|
|
10
|
+
npm: {
|
|
11
|
+
package: '@dckj-npm/dc-material',
|
|
12
|
+
version: '0.1.8',
|
|
13
|
+
exportName: 'TeletextList',
|
|
14
|
+
main: 'src/index.tsx',
|
|
15
|
+
destructuring: true,
|
|
16
|
+
subName: '',
|
|
17
17
|
},
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
configure: {
|
|
19
|
+
props: [
|
|
20
20
|
{
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
21
|
+
title: {
|
|
22
|
+
label: {
|
|
23
|
+
type: 'i18n',
|
|
24
|
+
'en-US': 'imagePlacement',
|
|
25
|
+
'zh-CN': '图片位置',
|
|
26
|
+
},
|
|
27
27
|
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
name: 'imagePlacement',
|
|
29
|
+
description: '图片位置',
|
|
30
|
+
setter: {
|
|
31
|
+
componentName: 'RadioGroupSetter',
|
|
32
|
+
props: {
|
|
33
|
+
dataSource: [
|
|
34
34
|
{
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
label: 'left',
|
|
36
|
+
value: 'left',
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
label: 'right',
|
|
40
|
+
value: 'right',
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
43
|
+
label: 'none',
|
|
44
|
+
value: 'none',
|
|
45
|
+
},
|
|
46
46
|
],
|
|
47
|
-
|
|
47
|
+
options: [
|
|
48
48
|
{
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
label: 'left',
|
|
50
|
+
value: 'left',
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
label: 'right',
|
|
54
|
+
value: 'right',
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
]
|
|
57
|
+
label: 'none',
|
|
58
|
+
value: 'none',
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
61
|
},
|
|
62
|
-
|
|
63
|
-
}
|
|
62
|
+
initialValue: 'left',
|
|
63
|
+
},
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
name: '数据源绑定',
|
|
@@ -72,225 +72,226 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
72
72
|
label: '图文数据',
|
|
73
73
|
value: 'dataList',
|
|
74
74
|
children: [
|
|
75
|
-
{label: '图片链接', value: 'image'},
|
|
76
|
-
{label: '标题', value: 'title'},
|
|
77
|
-
{label: '说明', value: 'description'},
|
|
78
|
-
{label: '标签', value: 'tags'}
|
|
79
|
-
]
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
}
|
|
75
|
+
{ label: '图片链接', value: 'image' },
|
|
76
|
+
{ label: '标题', value: 'title' },
|
|
77
|
+
{ label: '说明', value: 'description' },
|
|
78
|
+
{ label: '标签', value: 'tags' },
|
|
79
|
+
],
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
86
|
+
title: {
|
|
87
|
+
label: {
|
|
88
|
+
type: 'i18n',
|
|
89
|
+
'en-US': 'dataList',
|
|
90
|
+
'zh-CN': '数据',
|
|
91
91
|
},
|
|
92
|
-
|
|
92
|
+
tip: 'dataList | 数据',
|
|
93
93
|
},
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
94
|
+
name: 'dataList',
|
|
95
|
+
description: '数据',
|
|
96
|
+
setter: {
|
|
97
|
+
componentName: 'ArraySetter',
|
|
98
|
+
props: {
|
|
99
|
+
itemSetter: {
|
|
100
|
+
componentName: 'ObjectSetter',
|
|
101
|
+
props: {
|
|
102
|
+
config: {
|
|
103
|
+
items: [
|
|
104
104
|
{
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}
|
|
105
|
+
title: {
|
|
106
|
+
label: {
|
|
107
|
+
type: 'i18n',
|
|
108
|
+
'en-US': 'title',
|
|
109
|
+
'zh-CN': '标题',
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
name: 'title',
|
|
113
|
+
description: '标题',
|
|
114
|
+
setter: {
|
|
115
|
+
componentName: 'StringSetter',
|
|
116
|
+
isRequired: false,
|
|
117
|
+
initialValue: '',
|
|
111
118
|
},
|
|
112
|
-
"name": "title",
|
|
113
|
-
"description": "标题",
|
|
114
|
-
"setter": {
|
|
115
|
-
"componentName": "StringSetter",
|
|
116
|
-
"isRequired": false,
|
|
117
|
-
"initialValue": ""
|
|
118
|
-
}
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}
|
|
121
|
+
title: {
|
|
122
|
+
label: {
|
|
123
|
+
type: 'i18n',
|
|
124
|
+
'en-US': 'image',
|
|
125
|
+
'zh-CN': '图片地址',
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
name: 'image',
|
|
129
|
+
description: '图片地址',
|
|
130
|
+
setter: {
|
|
131
|
+
componentName: 'CustomImageSetter',
|
|
132
|
+
isRequired: false,
|
|
133
|
+
initialValue: '',
|
|
127
134
|
},
|
|
128
|
-
"name": "image",
|
|
129
|
-
"description": "图片地址",
|
|
130
|
-
"setter": {
|
|
131
|
-
"componentName": "CustomImageSetter",
|
|
132
|
-
"isRequired": false,
|
|
133
|
-
"initialValue": ""
|
|
134
|
-
}
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}
|
|
137
|
+
title: {
|
|
138
|
+
label: {
|
|
139
|
+
type: 'i18n',
|
|
140
|
+
'en-US': 'description',
|
|
141
|
+
'zh-CN': '描述',
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
name: 'description',
|
|
145
|
+
description: '描述',
|
|
146
|
+
setter: {
|
|
147
|
+
componentName: 'StringSetter',
|
|
148
|
+
isRequired: false,
|
|
149
|
+
initialValue: '',
|
|
143
150
|
},
|
|
144
|
-
"name": "description",
|
|
145
|
-
"description": "描述",
|
|
146
|
-
"setter": {
|
|
147
|
-
"componentName": "StringSetter",
|
|
148
|
-
"isRequired": false,
|
|
149
|
-
"initialValue": ""
|
|
150
|
-
}
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
153
|
+
title: {
|
|
154
|
+
label: {
|
|
155
|
+
type: 'i18n',
|
|
156
|
+
'en-US': 'tags',
|
|
157
|
+
'zh-CN': '标签列表',
|
|
158
|
+
},
|
|
159
159
|
},
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
160
|
+
name: 'tags',
|
|
161
|
+
description: '标签列表',
|
|
162
|
+
setter: {
|
|
163
|
+
componentName: 'ArraySetter',
|
|
164
|
+
props: {
|
|
165
|
+
itemSetter: {
|
|
166
|
+
componentName: 'ObjectSetter',
|
|
167
|
+
props: {
|
|
168
|
+
config: {
|
|
169
|
+
items: [
|
|
170
170
|
{
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
}
|
|
171
|
+
title: {
|
|
172
|
+
label: {
|
|
173
|
+
type: 'i18n',
|
|
174
|
+
'en-US': 'name',
|
|
175
|
+
'zh-CN': '标签名称',
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
name: 'name',
|
|
179
|
+
description: '标签名称',
|
|
180
|
+
setter: {
|
|
181
|
+
componentName: 'StringSetter',
|
|
182
|
+
isRequired: true,
|
|
183
|
+
initialValue: '',
|
|
177
184
|
},
|
|
178
|
-
"name": "name",
|
|
179
|
-
"description": "标签名称",
|
|
180
|
-
"setter": {
|
|
181
|
-
"componentName": "StringSetter",
|
|
182
|
-
"isRequired": true,
|
|
183
|
-
"initialValue": ""
|
|
184
|
-
}
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
}
|
|
187
|
+
title: {
|
|
188
|
+
label: {
|
|
189
|
+
type: 'i18n',
|
|
190
|
+
'en-US': 'color',
|
|
191
|
+
'zh-CN': '标签颜色',
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
name: 'color',
|
|
195
|
+
description: '标签颜色',
|
|
196
|
+
setter: {
|
|
197
|
+
componentName: 'StringSetter',
|
|
198
|
+
isRequired: true,
|
|
199
|
+
initialValue: '',
|
|
193
200
|
},
|
|
194
|
-
|
|
195
|
-
"description": "标签颜色",
|
|
196
|
-
"setter": {
|
|
197
|
-
"componentName": "StringSetter",
|
|
198
|
-
"isRequired": true,
|
|
199
|
-
"initialValue": ""
|
|
200
|
-
}
|
|
201
|
-
}
|
|
201
|
+
},
|
|
202
202
|
],
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
203
|
+
extraSetter: {
|
|
204
|
+
componentName: 'MixedSetter',
|
|
205
|
+
isRequired: false,
|
|
206
|
+
props: {},
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
211
|
},
|
|
212
|
-
|
|
213
|
-
}
|
|
214
|
-
}
|
|
212
|
+
initialValue: [],
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
215
|
],
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
216
|
+
extraSetter: {
|
|
217
|
+
componentName: 'MixedSetter',
|
|
218
|
+
isRequired: false,
|
|
219
|
+
props: {},
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
224
|
},
|
|
225
|
-
|
|
225
|
+
initialValue: [
|
|
226
226
|
{
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
227
|
+
image: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
|
|
228
|
+
title: '标题名称',
|
|
229
|
+
description:
|
|
230
|
+
'说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字',
|
|
231
|
+
tags: [
|
|
231
232
|
{
|
|
232
|
-
|
|
233
|
-
|
|
233
|
+
name: '报名火热',
|
|
234
|
+
color: 'orange',
|
|
234
235
|
},
|
|
235
236
|
{
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
}
|
|
239
|
-
]
|
|
237
|
+
name: '人数众多',
|
|
238
|
+
color: 'blue',
|
|
239
|
+
},
|
|
240
|
+
],
|
|
240
241
|
},
|
|
241
242
|
{
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
243
|
+
image: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
|
|
244
|
+
title: '标题名称',
|
|
245
|
+
description:
|
|
246
|
+
'说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字说明文字',
|
|
247
|
+
tags: [
|
|
246
248
|
{
|
|
247
|
-
|
|
248
|
-
|
|
249
|
+
name: '报名火热',
|
|
250
|
+
color: 'orange',
|
|
249
251
|
},
|
|
250
252
|
{
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
}
|
|
254
|
-
]
|
|
255
|
-
}
|
|
256
|
-
]
|
|
257
|
-
}
|
|
258
|
-
}
|
|
253
|
+
name: '人数众多',
|
|
254
|
+
color: 'blue',
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
},
|
|
258
|
+
],
|
|
259
|
+
},
|
|
260
|
+
},
|
|
259
261
|
],
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
262
|
+
supports: {
|
|
263
|
+
style: true,
|
|
264
|
+
events: [
|
|
263
265
|
{
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
"onClick(key,${extParams}){\n// 点击项目的事件\nconsole.log('onClick', key);}",
|
|
266
|
+
name: 'onClick',
|
|
267
|
+
template: "onClick(key,${extParams}){\n// 点击项目的事件\nconsole.log('onClick', key);}",
|
|
267
268
|
},
|
|
268
269
|
],
|
|
269
270
|
},
|
|
270
|
-
|
|
271
|
-
}
|
|
272
|
-
}
|
|
271
|
+
component: {},
|
|
272
|
+
},
|
|
273
|
+
}
|
|
273
274
|
const snippets: IPublicTypeSnippet[] = [
|
|
274
275
|
{
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
276
|
+
title: '图文列表',
|
|
277
|
+
screenshot: '',
|
|
278
|
+
schema: {
|
|
279
|
+
componentName: 'TeletextList',
|
|
280
|
+
props: {},
|
|
280
281
|
children: [
|
|
281
282
|
{
|
|
282
283
|
componentName: 'Title1',
|
|
283
284
|
props: {
|
|
284
285
|
type: 'h5',
|
|
285
286
|
children: '列表标题',
|
|
286
|
-
key: 'box-title'
|
|
287
|
+
key: 'box-title',
|
|
287
288
|
},
|
|
288
289
|
},
|
|
289
290
|
{
|
|
290
291
|
componentName: 'Image',
|
|
291
292
|
props: {
|
|
292
293
|
src: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
|
|
293
|
-
key: 'image'
|
|
294
|
+
key: 'image',
|
|
294
295
|
},
|
|
295
296
|
},
|
|
296
297
|
{
|
|
@@ -298,7 +299,7 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
298
299
|
props: {
|
|
299
300
|
type: 'h5',
|
|
300
301
|
children: '标题标题',
|
|
301
|
-
key: 'title'
|
|
302
|
+
key: 'title',
|
|
302
303
|
},
|
|
303
304
|
},
|
|
304
305
|
{
|
|
@@ -307,7 +308,7 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
307
308
|
type: 'inherit',
|
|
308
309
|
children:
|
|
309
310
|
'基于 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
|
|
310
|
-
key: 'content'
|
|
311
|
+
key: 'content',
|
|
311
312
|
},
|
|
312
313
|
},
|
|
313
314
|
{
|
|
@@ -315,15 +316,23 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
315
316
|
props: {
|
|
316
317
|
name: '报名火热',
|
|
317
318
|
color: 'orange',
|
|
318
|
-
key: 'teletext-tag-
|
|
319
|
+
key: 'teletext-tag-1',
|
|
319
320
|
},
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
componentName: 'TagC',
|
|
324
|
+
props: {
|
|
325
|
+
name: '报名火热',
|
|
326
|
+
color: 'green-n',
|
|
327
|
+
key: 'teletext-tag-2',
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
],
|
|
331
|
+
},
|
|
332
|
+
},
|
|
333
|
+
]
|
|
325
334
|
|
|
326
335
|
export default {
|
|
327
336
|
...TeletextListMeta,
|
|
328
|
-
snippets
|
|
329
|
-
}
|
|
337
|
+
snippets,
|
|
338
|
+
}
|
package/lowcode_es/meta.js
CHANGED
|
@@ -93,7 +93,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
93
93
|
packageName = '@dckj-npm/dc-material';
|
|
94
94
|
}
|
|
95
95
|
if (version === void 0) {
|
|
96
|
-
version = '0.1.
|
|
96
|
+
version = '0.1.73';
|
|
97
97
|
}
|
|
98
98
|
if (basicLibraryVersion === void 0) {
|
|
99
99
|
basicLibraryVersion = {
|