@dckj-npm/dc-material 0.1.166 → 0.1.168

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.
@@ -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: 'left',
80
+ label: '',
36
81
  value: 'left',
37
82
  },
38
83
  {
39
- label: 'right',
84
+ label: '',
40
85
  value: 'right',
41
86
  },
42
87
  {
43
- label: 'none',
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: 'left',
102
+ label: '',
50
103
  value: 'left',
51
104
  },
52
105
  {
53
- label: 'right',
106
+ label: '',
54
107
  value: 'right',
55
108
  },
56
109
  {
57
- label: 'none',
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: {
@@ -274,7 +345,22 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
274
345
  isRequired: false,
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,
@@ -286,14 +372,14 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
286
372
  {
287
373
  name: 'handleMoreClick',
288
374
  template: "handleMoreClick(){\n// 查看更多\nconsole.log('handleMoreClick');}",
289
- }
375
+ },
290
376
  ],
291
377
  },
292
- "component": {
378
+ component: {
293
379
  disableBehaviors: ['copy'],
294
- }
295
- }
296
- };
380
+ },
381
+ },
382
+ }
297
383
  const snippets: IPublicTypeSnippet[] = [
298
384
  {
299
385
  title: '图文列表',
@@ -303,11 +389,15 @@ const snippets: IPublicTypeSnippet[] = [
303
389
  props: {},
304
390
  children: [
305
391
  {
306
- componentName: 'Title1',
392
+ componentName: 'NextText',
307
393
  props: {
308
394
  type: 'h5',
309
395
  children: '列表标题',
310
396
  key: 'box-title',
397
+ style: {
398
+ fontSize: '16px',
399
+ fontWeight: 'bold',
400
+ },
311
401
  },
312
402
  },
313
403
  {
@@ -339,13 +429,13 @@ const snippets: IPublicTypeSnippet[] = [
339
429
  props: {
340
430
  name: '报名火热',
341
431
  color: 'orange',
342
- key: 'teletext-tag-c'
432
+ key: 'teletext-tag-c',
343
433
  },
344
- }
345
- ]
346
- }
347
- }
348
- ];
434
+ },
435
+ ],
436
+ },
437
+ },
438
+ ]
349
439
 
350
440
  export default {
351
441
  ...TeletextListMeta,
@@ -99,7 +99,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
99
99
  packageName = '@dckj-npm/dc-material';
100
100
  }
101
101
  if (version === void 0) {
102
- version = '0.1.166';
102
+ version = '0.1.168';
103
103
  }
104
104
  if (basicLibraryVersion === void 0) {
105
105
  basicLibraryVersion = {
@@ -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: 'left',
68
+ label: '',
33
69
  value: 'left'
34
70
  }, {
35
- label: 'right',
71
+ label: '',
36
72
  value: 'right'
37
73
  }, {
38
- label: 'none',
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: 'left',
84
+ label: '',
43
85
  value: 'left'
44
86
  }, {
45
- label: 'right',
87
+ label: '',
46
88
  value: 'right'
47
89
  }, {
48
- label: 'none',
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,
@@ -258,7 +329,7 @@ var TeletextListMeta = {
258
329
  template: "handleMoreClick(){\n// 查看更多\nconsole.log('handleMoreClick');}"
259
330
  }]
260
331
  },
261
- "component": {
332
+ component: {
262
333
  disableBehaviors: ['copy']
263
334
  }
264
335
  }
@@ -270,11 +341,15 @@ var snippets = [{
270
341
  componentName: 'TeletextList',
271
342
  props: {},
272
343
  children: [{
273
- componentName: 'Title1',
344
+ componentName: 'NextText',
274
345
  props: {
275
346
  type: 'h5',
276
347
  children: '列表标题',
277
- key: 'box-title'
348
+ key: 'box-title',
349
+ style: {
350
+ fontSize: '16px',
351
+ fontWeight: 'bold'
352
+ }
278
353
  }
279
354
  }, {
280
355
  componentName: 'Image',
@@ -104,7 +104,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
104
104
  packageName = '@dckj-npm/dc-material';
105
105
  }
106
106
  if (version === void 0) {
107
- version = '0.1.166';
107
+ version = '0.1.168';
108
108
  }
109
109
  if (basicLibraryVersion === void 0) {
110
110
  basicLibraryVersion = {
@@ -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: 'left',
73
+ label: '',
38
74
  value: 'left'
39
75
  }, {
40
- label: 'right',
76
+ label: '',
41
77
  value: 'right'
42
78
  }, {
43
- label: 'none',
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: 'left',
89
+ label: '',
48
90
  value: 'left'
49
91
  }, {
50
- label: 'right',
92
+ label: '',
51
93
  value: 'right'
52
94
  }, {
53
- label: 'none',
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,
@@ -263,7 +334,7 @@ var TeletextListMeta = {
263
334
  template: "handleMoreClick(){\n// 查看更多\nconsole.log('handleMoreClick');}"
264
335
  }]
265
336
  },
266
- "component": {
337
+ component: {
267
338
  disableBehaviors: ['copy']
268
339
  }
269
340
  }
@@ -275,11 +346,15 @@ var snippets = [{
275
346
  componentName: 'TeletextList',
276
347
  props: {},
277
348
  children: [{
278
- componentName: 'Title1',
349
+ componentName: 'NextText',
279
350
  props: {
280
351
  type: 'h5',
281
352
  children: '列表标题',
282
- key: 'box-title'
353
+ key: 'box-title',
354
+ style: {
355
+ fontSize: '16px',
356
+ fontWeight: 'bold'
357
+ }
283
358
  }
284
359
  }, {
285
360
  componentName: 'Image',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dckj-npm/dc-material",
3
- "version": "0.1.166",
3
+ "version": "0.1.168",
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.166/build/lowcode/assets-prod.json"
109
+ "materialSchema": "https://unpkg.com/@dckj-npm/dc-material@0.1.168/build/lowcode/assets-prod.json"
110
110
  },
111
111
  "lcMeta": {
112
112
  "type": "component"