@dckj-npm/dc-material 0.1.165 → 0.1.167
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 +126 -12
- package/lowcode_es/meta.js +2 -3
- package/lowcode_es/teletext-list/meta.js +106 -12
- package/lowcode_lib/meta.js +6 -7
- package/lowcode_lib/teletext-list/meta.js +106 -12
- package/package.json +2 -2
- package/lowcode/teletext-list-item/meta.ts +0 -222
- package/lowcode_es/teletext-list-item/meta.d.ts +0 -22
- package/lowcode_es/teletext-list-item/meta.js +0 -195
- package/lowcode_lib/teletext-list-item/meta.d.ts +0 -22
- package/lowcode_lib/teletext-list-item/meta.js +0 -200
|
@@ -17,6 +17,51 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
17
17
|
},
|
|
18
18
|
configure: {
|
|
19
19
|
props: [
|
|
20
|
+
{
|
|
21
|
+
title: {
|
|
22
|
+
label: {
|
|
23
|
+
type: 'i18n',
|
|
24
|
+
'en-US': 'type',
|
|
25
|
+
'zh-CN': '类型',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
name: 'type',
|
|
29
|
+
description: '类型',
|
|
30
|
+
setter: {
|
|
31
|
+
componentName: 'RadioGroupSetter',
|
|
32
|
+
props: {
|
|
33
|
+
dataSource: [
|
|
34
|
+
{
|
|
35
|
+
label: '图文',
|
|
36
|
+
value: 'textAndImg',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
label: '仅有图片',
|
|
40
|
+
value: 'imgOnly',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
label: '仅有文字',
|
|
44
|
+
value: 'textOnly',
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
options: [
|
|
48
|
+
{
|
|
49
|
+
label: '图文',
|
|
50
|
+
value: 'textAndImg',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
label: '仅有图片',
|
|
54
|
+
value: 'imgOnly',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
label: '仅有文字',
|
|
58
|
+
value: 'textOnly',
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
initialValue: 'textAndImg',
|
|
63
|
+
},
|
|
64
|
+
},
|
|
20
65
|
{
|
|
21
66
|
title: {
|
|
22
67
|
label: {
|
|
@@ -32,29 +77,45 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
32
77
|
props: {
|
|
33
78
|
dataSource: [
|
|
34
79
|
{
|
|
35
|
-
label: '
|
|
80
|
+
label: '左',
|
|
36
81
|
value: 'left',
|
|
37
82
|
},
|
|
38
83
|
{
|
|
39
|
-
label: '
|
|
84
|
+
label: '右',
|
|
40
85
|
value: 'right',
|
|
41
86
|
},
|
|
42
87
|
{
|
|
43
|
-
label: '
|
|
88
|
+
label: '上',
|
|
89
|
+
value: 'top',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
label: '下',
|
|
93
|
+
value: 'bottom',
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
label: '无',
|
|
44
97
|
value: 'none',
|
|
45
98
|
},
|
|
46
99
|
],
|
|
47
100
|
options: [
|
|
48
101
|
{
|
|
49
|
-
label: '
|
|
102
|
+
label: '左',
|
|
50
103
|
value: 'left',
|
|
51
104
|
},
|
|
52
105
|
{
|
|
53
|
-
label: '
|
|
106
|
+
label: '右',
|
|
54
107
|
value: 'right',
|
|
55
108
|
},
|
|
56
109
|
{
|
|
57
|
-
label: '
|
|
110
|
+
label: '上',
|
|
111
|
+
value: 'top',
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
label: '下',
|
|
115
|
+
value: 'bottom',
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
label: '无',
|
|
58
119
|
value: 'none',
|
|
59
120
|
},
|
|
60
121
|
],
|
|
@@ -258,6 +319,16 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
258
319
|
],
|
|
259
320
|
},
|
|
260
321
|
},
|
|
322
|
+
{
|
|
323
|
+
title: '标题',
|
|
324
|
+
name: 'title',
|
|
325
|
+
description: '标题',
|
|
326
|
+
setter: {
|
|
327
|
+
componentName: 'StringSetter',
|
|
328
|
+
isRequired: false,
|
|
329
|
+
initialValue: '',
|
|
330
|
+
},
|
|
331
|
+
},
|
|
261
332
|
{
|
|
262
333
|
title: {
|
|
263
334
|
label: {
|
|
@@ -275,6 +346,21 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
275
346
|
initialValue: '',
|
|
276
347
|
},
|
|
277
348
|
},
|
|
349
|
+
{
|
|
350
|
+
title: '文字行数',
|
|
351
|
+
name: 'textLines',
|
|
352
|
+
description: '文字行数',
|
|
353
|
+
setter: {
|
|
354
|
+
componentName: 'NumberSetter',
|
|
355
|
+
isRequired: false,
|
|
356
|
+
initialValue: '',
|
|
357
|
+
defaultValue: 2,
|
|
358
|
+
props: {
|
|
359
|
+
min: 2,
|
|
360
|
+
max: 4,
|
|
361
|
+
},
|
|
362
|
+
},
|
|
363
|
+
},
|
|
278
364
|
],
|
|
279
365
|
supports: {
|
|
280
366
|
style: true,
|
|
@@ -290,10 +376,6 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
290
376
|
],
|
|
291
377
|
},
|
|
292
378
|
component: {
|
|
293
|
-
isContainer: true,
|
|
294
|
-
nestingRule: {
|
|
295
|
-
childWhitelist: ['TeletextListItem'],
|
|
296
|
-
},
|
|
297
379
|
disableBehaviors: ['copy'],
|
|
298
380
|
},
|
|
299
381
|
},
|
|
@@ -307,13 +389,45 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
307
389
|
props: {},
|
|
308
390
|
children: [
|
|
309
391
|
{
|
|
310
|
-
componentName: '
|
|
392
|
+
componentName: 'NextText',
|
|
311
393
|
props: {
|
|
312
|
-
type: '
|
|
394
|
+
type: 'h2',
|
|
313
395
|
children: '列表标题',
|
|
314
396
|
key: 'box-title',
|
|
315
397
|
},
|
|
316
398
|
},
|
|
399
|
+
{
|
|
400
|
+
componentName: 'Image',
|
|
401
|
+
props: {
|
|
402
|
+
src: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
|
|
403
|
+
key: 'image',
|
|
404
|
+
},
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
componentName: 'NextText',
|
|
408
|
+
props: {
|
|
409
|
+
type: 'h5',
|
|
410
|
+
children: '标题标题',
|
|
411
|
+
key: 'title',
|
|
412
|
+
},
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
componentName: 'NextText',
|
|
416
|
+
props: {
|
|
417
|
+
type: 'inherit',
|
|
418
|
+
children:
|
|
419
|
+
'基于 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
|
|
420
|
+
key: 'content',
|
|
421
|
+
},
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
componentName: 'TagC',
|
|
425
|
+
props: {
|
|
426
|
+
name: '报名火热',
|
|
427
|
+
color: 'orange',
|
|
428
|
+
key: 'teletext-tag-c',
|
|
429
|
+
},
|
|
430
|
+
},
|
|
317
431
|
],
|
|
318
432
|
},
|
|
319
433
|
},
|
package/lowcode_es/meta.js
CHANGED
|
@@ -24,7 +24,6 @@ import TabContainerItemMeta from 'D:/project/company2/lowcode-material/lowcode/t
|
|
|
24
24
|
import TabContainerMeta from 'D:/project/company2/lowcode-material/lowcode/tab-container/meta';
|
|
25
25
|
import TabMessageMeta from 'D:/project/company2/lowcode-material/lowcode/tab-message/meta';
|
|
26
26
|
import TagCMeta from 'D:/project/company2/lowcode-material/lowcode/tag-c/meta';
|
|
27
|
-
import TeletextListItemMeta from 'D:/project/company2/lowcode-material/lowcode/teletext-list-item/meta';
|
|
28
27
|
import TeletextListMeta from 'D:/project/company2/lowcode-material/lowcode/teletext-list/meta';
|
|
29
28
|
import Title1Meta from 'D:/project/company2/lowcode-material/lowcode/title1/meta';
|
|
30
29
|
import Title2Meta from 'D:/project/company2/lowcode-material/lowcode/title2/meta';
|
|
@@ -100,7 +99,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
100
99
|
packageName = '@dckj-npm/dc-material';
|
|
101
100
|
}
|
|
102
101
|
if (version === void 0) {
|
|
103
|
-
version = '0.1.
|
|
102
|
+
version = '0.1.167';
|
|
104
103
|
}
|
|
105
104
|
if (basicLibraryVersion === void 0) {
|
|
106
105
|
basicLibraryVersion = {
|
|
@@ -127,7 +126,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
127
126
|
}
|
|
128
127
|
return meta;
|
|
129
128
|
}
|
|
130
|
-
var componentMetas = [AddressListMeta, Button2Meta, CustomRadioGroupItemMeta, CustomRadioGroupMeta, DCSliderMeta, FormMeta, GoodsCardListCommonMeta, GoodsCardListMeta, GridNavMeta, IntegralTaskMeta, MemberCardMeta, MenuListMeta, MessageListMeta, NavigationMeta, NoticeBarMeta, PositionMeta, RichTextMeta, SearchBarMeta, ShoppingCartMeta, StreamListMeta, SwiperMeta, TabContainerItemMeta, TabContainerMeta, TabMessageMeta, TagCMeta,
|
|
129
|
+
var componentMetas = [AddressListMeta, Button2Meta, CustomRadioGroupItemMeta, CustomRadioGroupMeta, DCSliderMeta, FormMeta, GoodsCardListCommonMeta, GoodsCardListMeta, GridNavMeta, IntegralTaskMeta, MemberCardMeta, MenuListMeta, MessageListMeta, NavigationMeta, NoticeBarMeta, PositionMeta, RichTextMeta, SearchBarMeta, ShoppingCartMeta, StreamListMeta, SwiperMeta, TabContainerItemMeta, TabContainerMeta, TabMessageMeta, TagCMeta, TeletextListMeta, Title1Meta, Title2Meta, UserCardMeta];
|
|
131
130
|
var components = [];
|
|
132
131
|
var npmInfo = {};
|
|
133
132
|
componentMetas.forEach(function (meta) {
|
|
@@ -16,6 +16,42 @@ var TeletextListMeta = {
|
|
|
16
16
|
},
|
|
17
17
|
configure: {
|
|
18
18
|
props: [{
|
|
19
|
+
title: {
|
|
20
|
+
label: {
|
|
21
|
+
type: 'i18n',
|
|
22
|
+
'en-US': 'type',
|
|
23
|
+
'zh-CN': '类型'
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
name: 'type',
|
|
27
|
+
description: '类型',
|
|
28
|
+
setter: {
|
|
29
|
+
componentName: 'RadioGroupSetter',
|
|
30
|
+
props: {
|
|
31
|
+
dataSource: [{
|
|
32
|
+
label: '图文',
|
|
33
|
+
value: 'textAndImg'
|
|
34
|
+
}, {
|
|
35
|
+
label: '仅有图片',
|
|
36
|
+
value: 'imgOnly'
|
|
37
|
+
}, {
|
|
38
|
+
label: '仅有文字',
|
|
39
|
+
value: 'textOnly'
|
|
40
|
+
}],
|
|
41
|
+
options: [{
|
|
42
|
+
label: '图文',
|
|
43
|
+
value: 'textAndImg'
|
|
44
|
+
}, {
|
|
45
|
+
label: '仅有图片',
|
|
46
|
+
value: 'imgOnly'
|
|
47
|
+
}, {
|
|
48
|
+
label: '仅有文字',
|
|
49
|
+
value: 'textOnly'
|
|
50
|
+
}]
|
|
51
|
+
},
|
|
52
|
+
initialValue: 'textAndImg'
|
|
53
|
+
}
|
|
54
|
+
}, {
|
|
19
55
|
title: {
|
|
20
56
|
label: {
|
|
21
57
|
type: 'i18n',
|
|
@@ -29,23 +65,35 @@ var TeletextListMeta = {
|
|
|
29
65
|
componentName: 'RadioGroupSetter',
|
|
30
66
|
props: {
|
|
31
67
|
dataSource: [{
|
|
32
|
-
label: '
|
|
68
|
+
label: '左',
|
|
33
69
|
value: 'left'
|
|
34
70
|
}, {
|
|
35
|
-
label: '
|
|
71
|
+
label: '右',
|
|
36
72
|
value: 'right'
|
|
37
73
|
}, {
|
|
38
|
-
label: '
|
|
74
|
+
label: '上',
|
|
75
|
+
value: 'top'
|
|
76
|
+
}, {
|
|
77
|
+
label: '下',
|
|
78
|
+
value: 'bottom'
|
|
79
|
+
}, {
|
|
80
|
+
label: '无',
|
|
39
81
|
value: 'none'
|
|
40
82
|
}],
|
|
41
83
|
options: [{
|
|
42
|
-
label: '
|
|
84
|
+
label: '左',
|
|
43
85
|
value: 'left'
|
|
44
86
|
}, {
|
|
45
|
-
label: '
|
|
87
|
+
label: '右',
|
|
46
88
|
value: 'right'
|
|
47
89
|
}, {
|
|
48
|
-
label: '
|
|
90
|
+
label: '上',
|
|
91
|
+
value: 'top'
|
|
92
|
+
}, {
|
|
93
|
+
label: '下',
|
|
94
|
+
value: 'bottom'
|
|
95
|
+
}, {
|
|
96
|
+
label: '无',
|
|
49
97
|
value: 'none'
|
|
50
98
|
}]
|
|
51
99
|
},
|
|
@@ -231,6 +279,15 @@ var TeletextListMeta = {
|
|
|
231
279
|
}]
|
|
232
280
|
}]
|
|
233
281
|
}
|
|
282
|
+
}, {
|
|
283
|
+
title: '标题',
|
|
284
|
+
name: 'title',
|
|
285
|
+
description: '标题',
|
|
286
|
+
setter: {
|
|
287
|
+
componentName: 'StringSetter',
|
|
288
|
+
isRequired: false,
|
|
289
|
+
initialValue: ''
|
|
290
|
+
}
|
|
234
291
|
}, {
|
|
235
292
|
title: {
|
|
236
293
|
label: {
|
|
@@ -247,6 +304,20 @@ var TeletextListMeta = {
|
|
|
247
304
|
isRequired: false,
|
|
248
305
|
initialValue: ''
|
|
249
306
|
}
|
|
307
|
+
}, {
|
|
308
|
+
title: '文字行数',
|
|
309
|
+
name: 'textLines',
|
|
310
|
+
description: '文字行数',
|
|
311
|
+
setter: {
|
|
312
|
+
componentName: 'NumberSetter',
|
|
313
|
+
isRequired: false,
|
|
314
|
+
initialValue: '',
|
|
315
|
+
defaultValue: 2,
|
|
316
|
+
props: {
|
|
317
|
+
min: 2,
|
|
318
|
+
max: 4
|
|
319
|
+
}
|
|
320
|
+
}
|
|
250
321
|
}],
|
|
251
322
|
supports: {
|
|
252
323
|
style: true,
|
|
@@ -259,10 +330,6 @@ var TeletextListMeta = {
|
|
|
259
330
|
}]
|
|
260
331
|
},
|
|
261
332
|
component: {
|
|
262
|
-
isContainer: true,
|
|
263
|
-
nestingRule: {
|
|
264
|
-
childWhitelist: ['TeletextListItem']
|
|
265
|
-
},
|
|
266
333
|
disableBehaviors: ['copy']
|
|
267
334
|
}
|
|
268
335
|
}
|
|
@@ -274,12 +341,39 @@ var snippets = [{
|
|
|
274
341
|
componentName: 'TeletextList',
|
|
275
342
|
props: {},
|
|
276
343
|
children: [{
|
|
277
|
-
componentName: '
|
|
344
|
+
componentName: 'NextText',
|
|
278
345
|
props: {
|
|
279
|
-
type: '
|
|
346
|
+
type: 'h2',
|
|
280
347
|
children: '列表标题',
|
|
281
348
|
key: 'box-title'
|
|
282
349
|
}
|
|
350
|
+
}, {
|
|
351
|
+
componentName: 'Image',
|
|
352
|
+
props: {
|
|
353
|
+
src: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
|
|
354
|
+
key: 'image'
|
|
355
|
+
}
|
|
356
|
+
}, {
|
|
357
|
+
componentName: 'NextText',
|
|
358
|
+
props: {
|
|
359
|
+
type: 'h5',
|
|
360
|
+
children: '标题标题',
|
|
361
|
+
key: 'title'
|
|
362
|
+
}
|
|
363
|
+
}, {
|
|
364
|
+
componentName: 'NextText',
|
|
365
|
+
props: {
|
|
366
|
+
type: 'inherit',
|
|
367
|
+
children: '基于 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
|
|
368
|
+
key: 'content'
|
|
369
|
+
}
|
|
370
|
+
}, {
|
|
371
|
+
componentName: 'TagC',
|
|
372
|
+
props: {
|
|
373
|
+
name: '报名火热',
|
|
374
|
+
color: 'orange',
|
|
375
|
+
key: 'teletext-tag-c'
|
|
376
|
+
}
|
|
283
377
|
}]
|
|
284
378
|
}
|
|
285
379
|
}];
|
package/lowcode_lib/meta.js
CHANGED
|
@@ -29,11 +29,10 @@ var _meta22 = _interopRequireDefault(require("D:/project/company2/lowcode-materi
|
|
|
29
29
|
var _meta23 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/tab-container/meta"));
|
|
30
30
|
var _meta24 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/tab-message/meta"));
|
|
31
31
|
var _meta25 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/tag-c/meta"));
|
|
32
|
-
var _meta26 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/teletext-list
|
|
33
|
-
var _meta27 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/
|
|
34
|
-
var _meta28 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/
|
|
35
|
-
var _meta29 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/
|
|
36
|
-
var _meta30 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/user-card/meta"));
|
|
32
|
+
var _meta26 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/teletext-list/meta"));
|
|
33
|
+
var _meta27 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/title1/meta"));
|
|
34
|
+
var _meta28 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/title2/meta"));
|
|
35
|
+
var _meta29 = _interopRequireDefault(require("D:/project/company2/lowcode-material/lowcode/user-card/meta"));
|
|
37
36
|
var componentCategorySort = {};
|
|
38
37
|
["基础元素", "布局容器类", "表格类", "表单详情类", "帮助类", "对话框类", "业务类", "通用", "引导", "信息输入", "信息展示", "信息反馈"].reverse().forEach(function (item, index) {
|
|
39
38
|
componentCategorySort[item] = ++index;
|
|
@@ -105,7 +104,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
105
104
|
packageName = '@dckj-npm/dc-material';
|
|
106
105
|
}
|
|
107
106
|
if (version === void 0) {
|
|
108
|
-
version = '0.1.
|
|
107
|
+
version = '0.1.167';
|
|
109
108
|
}
|
|
110
109
|
if (basicLibraryVersion === void 0) {
|
|
111
110
|
basicLibraryVersion = {
|
|
@@ -132,7 +131,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
132
131
|
}
|
|
133
132
|
return meta;
|
|
134
133
|
}
|
|
135
|
-
var componentMetas = [_meta["default"], _meta2["default"], _meta3["default"], _meta4["default"], _meta5["default"], _meta6["default"], _meta7["default"], _meta8["default"], _meta9["default"], _meta10["default"], _meta11["default"], _meta12["default"], _meta13["default"], _meta14["default"], _meta15["default"], _meta16["default"], _meta17["default"], _meta18["default"], _meta19["default"], _meta20["default"], _meta21["default"], _meta22["default"], _meta23["default"], _meta24["default"], _meta25["default"], _meta26["default"], _meta27["default"], _meta28["default"], _meta29["default"]
|
|
134
|
+
var componentMetas = [_meta["default"], _meta2["default"], _meta3["default"], _meta4["default"], _meta5["default"], _meta6["default"], _meta7["default"], _meta8["default"], _meta9["default"], _meta10["default"], _meta11["default"], _meta12["default"], _meta13["default"], _meta14["default"], _meta15["default"], _meta16["default"], _meta17["default"], _meta18["default"], _meta19["default"], _meta20["default"], _meta21["default"], _meta22["default"], _meta23["default"], _meta24["default"], _meta25["default"], _meta26["default"], _meta27["default"], _meta28["default"], _meta29["default"]];
|
|
136
135
|
var components = exports.components = [];
|
|
137
136
|
var npmInfo = {};
|
|
138
137
|
componentMetas.forEach(function (meta) {
|
|
@@ -21,6 +21,42 @@ var TeletextListMeta = {
|
|
|
21
21
|
},
|
|
22
22
|
configure: {
|
|
23
23
|
props: [{
|
|
24
|
+
title: {
|
|
25
|
+
label: {
|
|
26
|
+
type: 'i18n',
|
|
27
|
+
'en-US': 'type',
|
|
28
|
+
'zh-CN': '类型'
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
name: 'type',
|
|
32
|
+
description: '类型',
|
|
33
|
+
setter: {
|
|
34
|
+
componentName: 'RadioGroupSetter',
|
|
35
|
+
props: {
|
|
36
|
+
dataSource: [{
|
|
37
|
+
label: '图文',
|
|
38
|
+
value: 'textAndImg'
|
|
39
|
+
}, {
|
|
40
|
+
label: '仅有图片',
|
|
41
|
+
value: 'imgOnly'
|
|
42
|
+
}, {
|
|
43
|
+
label: '仅有文字',
|
|
44
|
+
value: 'textOnly'
|
|
45
|
+
}],
|
|
46
|
+
options: [{
|
|
47
|
+
label: '图文',
|
|
48
|
+
value: 'textAndImg'
|
|
49
|
+
}, {
|
|
50
|
+
label: '仅有图片',
|
|
51
|
+
value: 'imgOnly'
|
|
52
|
+
}, {
|
|
53
|
+
label: '仅有文字',
|
|
54
|
+
value: 'textOnly'
|
|
55
|
+
}]
|
|
56
|
+
},
|
|
57
|
+
initialValue: 'textAndImg'
|
|
58
|
+
}
|
|
59
|
+
}, {
|
|
24
60
|
title: {
|
|
25
61
|
label: {
|
|
26
62
|
type: 'i18n',
|
|
@@ -34,23 +70,35 @@ var TeletextListMeta = {
|
|
|
34
70
|
componentName: 'RadioGroupSetter',
|
|
35
71
|
props: {
|
|
36
72
|
dataSource: [{
|
|
37
|
-
label: '
|
|
73
|
+
label: '左',
|
|
38
74
|
value: 'left'
|
|
39
75
|
}, {
|
|
40
|
-
label: '
|
|
76
|
+
label: '右',
|
|
41
77
|
value: 'right'
|
|
42
78
|
}, {
|
|
43
|
-
label: '
|
|
79
|
+
label: '上',
|
|
80
|
+
value: 'top'
|
|
81
|
+
}, {
|
|
82
|
+
label: '下',
|
|
83
|
+
value: 'bottom'
|
|
84
|
+
}, {
|
|
85
|
+
label: '无',
|
|
44
86
|
value: 'none'
|
|
45
87
|
}],
|
|
46
88
|
options: [{
|
|
47
|
-
label: '
|
|
89
|
+
label: '左',
|
|
48
90
|
value: 'left'
|
|
49
91
|
}, {
|
|
50
|
-
label: '
|
|
92
|
+
label: '右',
|
|
51
93
|
value: 'right'
|
|
52
94
|
}, {
|
|
53
|
-
label: '
|
|
95
|
+
label: '上',
|
|
96
|
+
value: 'top'
|
|
97
|
+
}, {
|
|
98
|
+
label: '下',
|
|
99
|
+
value: 'bottom'
|
|
100
|
+
}, {
|
|
101
|
+
label: '无',
|
|
54
102
|
value: 'none'
|
|
55
103
|
}]
|
|
56
104
|
},
|
|
@@ -236,6 +284,15 @@ var TeletextListMeta = {
|
|
|
236
284
|
}]
|
|
237
285
|
}]
|
|
238
286
|
}
|
|
287
|
+
}, {
|
|
288
|
+
title: '标题',
|
|
289
|
+
name: 'title',
|
|
290
|
+
description: '标题',
|
|
291
|
+
setter: {
|
|
292
|
+
componentName: 'StringSetter',
|
|
293
|
+
isRequired: false,
|
|
294
|
+
initialValue: ''
|
|
295
|
+
}
|
|
239
296
|
}, {
|
|
240
297
|
title: {
|
|
241
298
|
label: {
|
|
@@ -252,6 +309,20 @@ var TeletextListMeta = {
|
|
|
252
309
|
isRequired: false,
|
|
253
310
|
initialValue: ''
|
|
254
311
|
}
|
|
312
|
+
}, {
|
|
313
|
+
title: '文字行数',
|
|
314
|
+
name: 'textLines',
|
|
315
|
+
description: '文字行数',
|
|
316
|
+
setter: {
|
|
317
|
+
componentName: 'NumberSetter',
|
|
318
|
+
isRequired: false,
|
|
319
|
+
initialValue: '',
|
|
320
|
+
defaultValue: 2,
|
|
321
|
+
props: {
|
|
322
|
+
min: 2,
|
|
323
|
+
max: 4
|
|
324
|
+
}
|
|
325
|
+
}
|
|
255
326
|
}],
|
|
256
327
|
supports: {
|
|
257
328
|
style: true,
|
|
@@ -264,10 +335,6 @@ var TeletextListMeta = {
|
|
|
264
335
|
}]
|
|
265
336
|
},
|
|
266
337
|
component: {
|
|
267
|
-
isContainer: true,
|
|
268
|
-
nestingRule: {
|
|
269
|
-
childWhitelist: ['TeletextListItem']
|
|
270
|
-
},
|
|
271
338
|
disableBehaviors: ['copy']
|
|
272
339
|
}
|
|
273
340
|
}
|
|
@@ -279,12 +346,39 @@ var snippets = [{
|
|
|
279
346
|
componentName: 'TeletextList',
|
|
280
347
|
props: {},
|
|
281
348
|
children: [{
|
|
282
|
-
componentName: '
|
|
349
|
+
componentName: 'NextText',
|
|
283
350
|
props: {
|
|
284
|
-
type: '
|
|
351
|
+
type: 'h2',
|
|
285
352
|
children: '列表标题',
|
|
286
353
|
key: 'box-title'
|
|
287
354
|
}
|
|
355
|
+
}, {
|
|
356
|
+
componentName: 'Image',
|
|
357
|
+
props: {
|
|
358
|
+
src: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
|
|
359
|
+
key: 'image'
|
|
360
|
+
}
|
|
361
|
+
}, {
|
|
362
|
+
componentName: 'NextText',
|
|
363
|
+
props: {
|
|
364
|
+
type: 'h5',
|
|
365
|
+
children: '标题标题',
|
|
366
|
+
key: 'title'
|
|
367
|
+
}
|
|
368
|
+
}, {
|
|
369
|
+
componentName: 'NextText',
|
|
370
|
+
props: {
|
|
371
|
+
type: 'inherit',
|
|
372
|
+
children: '基于 Ali-Lowcode-Engine 快速打造高生产力的低代码研发平台, 基于自然布局体系快速搭建页面',
|
|
373
|
+
key: 'content'
|
|
374
|
+
}
|
|
375
|
+
}, {
|
|
376
|
+
componentName: 'TagC',
|
|
377
|
+
props: {
|
|
378
|
+
name: '报名火热',
|
|
379
|
+
color: 'orange',
|
|
380
|
+
key: 'teletext-tag-c'
|
|
381
|
+
}
|
|
288
382
|
}]
|
|
289
383
|
}
|
|
290
384
|
}];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dckj-npm/dc-material",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.167",
|
|
4
4
|
"description": "dc低代码物料",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
},
|
|
107
107
|
"componentConfig": {
|
|
108
108
|
"isComponentLibrary": true,
|
|
109
|
-
"materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.
|
|
109
|
+
"materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.167/build/lowcode/assets-prod.json"
|
|
110
110
|
},
|
|
111
111
|
"lcMeta": {
|
|
112
112
|
"type": "component"
|