@dckj-npm/dc-material 0.1.126 → 0.1.128
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/index.js +1 -1
- 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/index.js +1 -1
- package/build/lowcode/meta.design.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +6 -6
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +6 -6
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +2 -2
- package/dist/BizComps.js.map +1 -1
- package/es/components/message-list/message-list-item.scss +1 -1
- package/es/components/notice-bar/index.scss +6 -6
- package/es/components/stream-list/index.d.ts +6 -0
- package/es/components/stream-list/index.js +6 -0
- package/es/components/stream-list/index.scss +26 -0
- package/es/components/stream-list/stream-list.d.ts +54 -0
- package/es/components/stream-list/stream-list.js +159 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +4 -0
- package/lib/components/message-list/message-list-item.scss +1 -1
- package/lib/components/notice-bar/index.scss +6 -6
- package/lib/components/stream-list/index.d.ts +6 -0
- package/lib/components/stream-list/index.js +6 -0
- package/lib/components/stream-list/index.scss +26 -0
- package/lib/components/stream-list/stream-list.d.ts +54 -0
- package/lib/components/stream-list/stream-list.js +166 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +5 -1
- package/lowcode/button2/meta.ts +59 -58
- package/lowcode/custom-radio-group/meta.ts +3 -1
- package/lowcode/custom-radio-group-item/meta.ts +185 -184
- package/lowcode/d-c-slider/meta.design.ts +3 -2
- package/lowcode/d-c-slider/meta.ts +16 -15
- package/lowcode/goods-card-list/meta.ts +3 -1
- package/lowcode/goods-card-list-common/meta.ts +3 -1
- package/lowcode/grid-nav/meta.ts +144 -129
- package/lowcode/integral-task/meta.ts +141 -140
- package/lowcode/menu-list/meta.ts +114 -107
- package/lowcode/message-list/meta.ts +105 -98
- package/lowcode/navigation/meta.ts +139 -127
- package/lowcode/notice-bar/meta.ts +6 -4
- package/lowcode/position/meta.ts +111 -110
- package/lowcode/rich-text/meta.ts +49 -50
- package/lowcode/search-bar/meta.ts +38 -35
- package/lowcode/stream-list/meta.ts +209 -0
- package/lowcode/swiper/meta.ts +102 -1
- package/lowcode/tab-container/meta.ts +45 -44
- package/lowcode/tab-message/meta.ts +84 -80
- package/lowcode/tag-c/meta.ts +59 -58
- package/lowcode/teletext-list/meta.ts +11 -17
- package/lowcode/title1/meta.ts +47 -46
- package/lowcode/title2/meta.ts +73 -72
- package/lowcode_es/button2/meta.js +48 -46
- package/lowcode_es/custom-radio-group/meta.js +3 -1
- package/lowcode_es/custom-radio-group-item/meta.js +152 -150
- package/lowcode_es/d-c-slider/meta.d.ts +3 -1
- package/lowcode_es/d-c-slider/meta.design.d.ts +1 -0
- package/lowcode_es/d-c-slider/meta.design.js +2 -1
- package/lowcode_es/d-c-slider/meta.js +8 -7
- package/lowcode_es/goods-card-list/meta.js +3 -1
- package/lowcode_es/goods-card-list-common/meta.js +3 -1
- package/lowcode_es/grid-nav/meta.js +109 -108
- package/lowcode_es/integral-task/meta.js +101 -99
- package/lowcode_es/menu-list/meta.js +79 -77
- package/lowcode_es/message-list/meta.js +65 -63
- package/lowcode_es/meta.js +3 -2
- package/lowcode_es/navigation/meta.js +98 -96
- package/lowcode_es/notice-bar/meta.js +3 -1
- package/lowcode_es/position/meta.js +77 -75
- package/lowcode_es/rich-text/meta.js +34 -32
- package/lowcode_es/search-bar/meta.js +23 -21
- package/lowcode_es/stream-list/meta.d.ts +22 -0
- package/lowcode_es/stream-list/meta.js +196 -0
- package/lowcode_es/swiper/meta.js +91 -1
- package/lowcode_es/tab-container/meta.d.ts +1 -1
- package/lowcode_es/tab-container/meta.js +27 -26
- package/lowcode_es/tab-message/meta.js +66 -64
- package/lowcode_es/tag-c/meta.js +48 -46
- package/lowcode_es/teletext-list/meta.js +4 -9
- package/lowcode_es/title1/meta.js +37 -35
- package/lowcode_es/title2/meta.js +61 -59
- package/lowcode_lib/button2/meta.js +48 -46
- package/lowcode_lib/custom-radio-group/meta.js +3 -1
- package/lowcode_lib/custom-radio-group-item/meta.js +152 -150
- package/lowcode_lib/d-c-slider/meta.d.ts +3 -1
- package/lowcode_lib/d-c-slider/meta.design.d.ts +1 -0
- package/lowcode_lib/d-c-slider/meta.design.js +2 -1
- package/lowcode_lib/d-c-slider/meta.js +8 -7
- package/lowcode_lib/goods-card-list/meta.js +3 -1
- package/lowcode_lib/goods-card-list-common/meta.js +3 -1
- package/lowcode_lib/grid-nav/meta.js +109 -108
- package/lowcode_lib/integral-task/meta.js +101 -99
- package/lowcode_lib/menu-list/meta.js +79 -77
- package/lowcode_lib/message-list/meta.js +65 -63
- package/lowcode_lib/meta.js +11 -10
- package/lowcode_lib/navigation/meta.js +98 -96
- package/lowcode_lib/notice-bar/meta.js +3 -1
- package/lowcode_lib/position/meta.js +77 -75
- package/lowcode_lib/rich-text/meta.js +34 -32
- package/lowcode_lib/search-bar/meta.js +23 -21
- package/lowcode_lib/stream-list/meta.d.ts +22 -0
- package/lowcode_lib/stream-list/meta.js +201 -0
- package/lowcode_lib/swiper/meta.js +91 -1
- package/lowcode_lib/tab-container/meta.d.ts +1 -1
- package/lowcode_lib/tab-container/meta.js +27 -26
- package/lowcode_lib/tab-message/meta.js +66 -64
- package/lowcode_lib/tag-c/meta.js +48 -46
- package/lowcode_lib/teletext-list/meta.js +4 -9
- package/lowcode_lib/title1/meta.js +37 -35
- package/lowcode_lib/title2/meta.js +61 -59
- package/package.json +3 -3
package/lowcode/tag-c/meta.ts
CHANGED
|
@@ -1,75 +1,76 @@
|
|
|
1
|
-
|
|
2
|
-
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
1
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
|
|
3
2
|
|
|
4
3
|
const TagCMeta: IPublicTypeComponentMetadata = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
componentName: 'TagC',
|
|
5
|
+
title: 'TagC',
|
|
6
|
+
docUrl: '',
|
|
7
|
+
screenshot: '',
|
|
8
|
+
devMode: 'proCode',
|
|
9
|
+
npm: {
|
|
10
|
+
package: '@dckj-npm/dc-material',
|
|
11
|
+
version: '0.1.8',
|
|
12
|
+
exportName: 'TagC',
|
|
13
|
+
main: 'src\\index.tsx',
|
|
14
|
+
destructuring: true,
|
|
15
|
+
subName: '',
|
|
17
16
|
},
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
configure: {
|
|
18
|
+
props: [
|
|
20
19
|
{
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
title: {
|
|
21
|
+
label: {
|
|
22
|
+
type: 'i18n',
|
|
23
|
+
'en-US': 'name',
|
|
24
|
+
'zh-CN': '标签名称',
|
|
26
25
|
},
|
|
27
|
-
|
|
26
|
+
tip: 'name | 标签名称',
|
|
27
|
+
},
|
|
28
|
+
name: 'name',
|
|
29
|
+
description: '标签名称',
|
|
30
|
+
setter: {
|
|
31
|
+
componentName: 'StringSetter',
|
|
32
|
+
isRequired: true,
|
|
33
|
+
initialValue: '',
|
|
28
34
|
},
|
|
29
|
-
"name": "name",
|
|
30
|
-
"description": "标签名称",
|
|
31
|
-
"setter": {
|
|
32
|
-
"componentName": "StringSetter",
|
|
33
|
-
"isRequired": true,
|
|
34
|
-
"initialValue": ""
|
|
35
|
-
}
|
|
36
35
|
},
|
|
37
36
|
{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
title: {
|
|
38
|
+
label: {
|
|
39
|
+
type: 'i18n',
|
|
40
|
+
'en-US': 'color',
|
|
41
|
+
'zh-CN': '标签颜色',
|
|
43
42
|
},
|
|
44
|
-
|
|
43
|
+
tip: 'color | 标签颜色',
|
|
45
44
|
},
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
}
|
|
45
|
+
name: 'color',
|
|
46
|
+
description: '标签颜色',
|
|
47
|
+
setter: {
|
|
48
|
+
componentName: 'StringSetter',
|
|
49
|
+
isRequired: true,
|
|
50
|
+
initialValue: '',
|
|
51
|
+
},
|
|
52
|
+
},
|
|
54
53
|
],
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
supports: {
|
|
55
|
+
style: true,
|
|
57
56
|
},
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
57
|
+
component: {
|
|
58
|
+
disableBehaviors: ['copy'],
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
}
|
|
61
62
|
const snippets: IPublicTypeSnippet[] = [
|
|
62
63
|
{
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
]
|
|
64
|
+
title: 'TagC',
|
|
65
|
+
screenshot: '',
|
|
66
|
+
schema: {
|
|
67
|
+
componentName: 'TagC',
|
|
68
|
+
props: {},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
]
|
|
71
72
|
|
|
72
73
|
export default {
|
|
73
74
|
...TagCMeta,
|
|
74
|
-
snippets
|
|
75
|
-
}
|
|
75
|
+
snippets,
|
|
76
|
+
}
|
|
@@ -268,9 +268,11 @@ const TeletextListMeta: IPublicTypeComponentMetadata = {
|
|
|
268
268
|
},
|
|
269
269
|
],
|
|
270
270
|
},
|
|
271
|
-
component: {
|
|
272
|
-
|
|
273
|
-
}
|
|
271
|
+
"component": {
|
|
272
|
+
disableBehaviors: ['copy'],
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
};
|
|
274
276
|
const snippets: IPublicTypeSnippet[] = [
|
|
275
277
|
{
|
|
276
278
|
title: '图文列表',
|
|
@@ -316,21 +318,13 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
316
318
|
props: {
|
|
317
319
|
name: '报名火热',
|
|
318
320
|
color: 'orange',
|
|
319
|
-
key: 'teletext-
|
|
320
|
-
},
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
componentName: 'TagC',
|
|
324
|
-
props: {
|
|
325
|
-
name: '报名火热',
|
|
326
|
-
color: 'green',
|
|
327
|
-
key: 'teletext-tagc-2',
|
|
321
|
+
key: 'teletext-tag-c'
|
|
328
322
|
},
|
|
329
|
-
}
|
|
330
|
-
]
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
]
|
|
323
|
+
}
|
|
324
|
+
]
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
];
|
|
334
328
|
|
|
335
329
|
export default {
|
|
336
330
|
...TeletextListMeta,
|
package/lowcode/title1/meta.ts
CHANGED
|
@@ -1,59 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
1
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
|
|
3
2
|
|
|
4
3
|
const Title1Meta: IPublicTypeComponentMetadata = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
4
|
+
group: '低代码组件',
|
|
5
|
+
componentName: 'Title1',
|
|
6
|
+
title: '个性化标题1',
|
|
7
|
+
docUrl: '',
|
|
8
|
+
screenshot: '',
|
|
9
|
+
devMode: 'proCode',
|
|
10
|
+
npm: {
|
|
11
|
+
package: '@dckj-npm/dc-material',
|
|
12
|
+
version: '0.1.8',
|
|
13
|
+
exportName: 'Title1',
|
|
14
|
+
main: 'src/index.tsx',
|
|
15
|
+
destructuring: true,
|
|
16
|
+
subName: '',
|
|
18
17
|
},
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
configure: {
|
|
19
|
+
props: [
|
|
21
20
|
{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
title: {
|
|
22
|
+
label: {
|
|
23
|
+
type: 'i18n',
|
|
24
|
+
'en-US': 'title',
|
|
25
|
+
'zh-CN': '标题',
|
|
27
26
|
},
|
|
28
|
-
|
|
27
|
+
tip: 'title | 标题',
|
|
28
|
+
},
|
|
29
|
+
name: 'title',
|
|
30
|
+
description: '标题',
|
|
31
|
+
setter: {
|
|
32
|
+
componentName: 'StringSetter',
|
|
33
|
+
isRequired: false,
|
|
34
|
+
initialValue: '标题名称',
|
|
29
35
|
},
|
|
30
|
-
|
|
31
|
-
"description": "标题",
|
|
32
|
-
"setter": {
|
|
33
|
-
"componentName": "StringSetter",
|
|
34
|
-
"isRequired": false,
|
|
35
|
-
"initialValue": "标题名称"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
36
|
+
},
|
|
38
37
|
],
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
supports: {
|
|
39
|
+
style: true,
|
|
40
|
+
},
|
|
41
|
+
component: {
|
|
42
|
+
disableBehaviors: ['copy'],
|
|
41
43
|
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
};
|
|
44
|
+
},
|
|
45
|
+
}
|
|
45
46
|
const snippets: IPublicTypeSnippet[] = [
|
|
46
47
|
{
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
]
|
|
48
|
+
title: '个性化标题1',
|
|
49
|
+
screenshot: '',
|
|
50
|
+
schema: {
|
|
51
|
+
componentName: 'Title1',
|
|
52
|
+
props: {},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
]
|
|
55
56
|
|
|
56
57
|
export default {
|
|
57
58
|
...Title1Meta,
|
|
58
|
-
snippets
|
|
59
|
-
}
|
|
59
|
+
snippets,
|
|
60
|
+
}
|
package/lowcode/title2/meta.ts
CHANGED
|
@@ -1,93 +1,94 @@
|
|
|
1
|
-
|
|
2
|
-
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
1
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
|
|
3
2
|
|
|
4
3
|
const Title2Meta: IPublicTypeComponentMetadata = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
4
|
+
group: '低代码组件',
|
|
5
|
+
componentName: 'Title2',
|
|
6
|
+
title: '个性化标题2',
|
|
7
|
+
docUrl: '',
|
|
8
|
+
screenshot: '',
|
|
9
|
+
devMode: 'proCode',
|
|
10
|
+
npm: {
|
|
11
|
+
package: '@dckj-npm/dc-material',
|
|
12
|
+
version: '0.1.8',
|
|
13
|
+
exportName: 'Title2',
|
|
14
|
+
main: 'src/index.tsx',
|
|
15
|
+
destructuring: true,
|
|
16
|
+
subName: '',
|
|
18
17
|
},
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
configure: {
|
|
19
|
+
props: [
|
|
21
20
|
{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
title: {
|
|
22
|
+
label: {
|
|
23
|
+
type: 'i18n',
|
|
24
|
+
'en-US': 'title',
|
|
25
|
+
'zh-CN': '标题',
|
|
27
26
|
},
|
|
28
|
-
|
|
27
|
+
tip: 'title | 标题',
|
|
28
|
+
},
|
|
29
|
+
name: 'title',
|
|
30
|
+
description: '标题',
|
|
31
|
+
setter: {
|
|
32
|
+
componentName: 'StringSetter',
|
|
33
|
+
isRequired: false,
|
|
34
|
+
initialValue: '标题名称',
|
|
29
35
|
},
|
|
30
|
-
"name": "title",
|
|
31
|
-
"description": "标题",
|
|
32
|
-
"setter": {
|
|
33
|
-
"componentName": "StringSetter",
|
|
34
|
-
"isRequired": false,
|
|
35
|
-
"initialValue": "标题名称"
|
|
36
|
-
}
|
|
37
36
|
},
|
|
38
37
|
{
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
title: {
|
|
39
|
+
label: {
|
|
40
|
+
type: 'i18n',
|
|
41
|
+
'en-US': 'color',
|
|
42
|
+
'zh-CN': '颜色',
|
|
44
43
|
},
|
|
45
|
-
|
|
44
|
+
tip: 'color | 颜色',
|
|
45
|
+
},
|
|
46
|
+
name: 'color',
|
|
47
|
+
description: '颜色',
|
|
48
|
+
setter: {
|
|
49
|
+
componentName: 'ColorSetter',
|
|
50
|
+
isRequired: false,
|
|
51
|
+
initialValue: '#144477',
|
|
46
52
|
},
|
|
47
|
-
"name": "color",
|
|
48
|
-
"description": "颜色",
|
|
49
|
-
"setter": {
|
|
50
|
-
"componentName": "ColorSetter",
|
|
51
|
-
"isRequired": false,
|
|
52
|
-
"initialValue": "#144477"
|
|
53
|
-
}
|
|
54
53
|
},
|
|
55
54
|
{
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
55
|
+
title: {
|
|
56
|
+
label: {
|
|
57
|
+
type: 'i18n',
|
|
58
|
+
'en-US': 'tipColor',
|
|
59
|
+
'zh-CN': 'tip颜色',
|
|
61
60
|
},
|
|
62
|
-
|
|
61
|
+
tip: 'tipColor | tip颜色',
|
|
63
62
|
},
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
}
|
|
63
|
+
name: 'tipColor',
|
|
64
|
+
description: 'tip颜色',
|
|
65
|
+
setter: {
|
|
66
|
+
componentName: 'ColorSetter',
|
|
67
|
+
isRequired: false,
|
|
68
|
+
initialValue: '#388AF7',
|
|
69
|
+
},
|
|
70
|
+
},
|
|
72
71
|
],
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
supports: {
|
|
73
|
+
style: true,
|
|
75
74
|
},
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
75
|
+
component: {
|
|
76
|
+
disableBehaviors: ['copy'],
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
}
|
|
79
80
|
const snippets: IPublicTypeSnippet[] = [
|
|
80
81
|
{
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
]
|
|
82
|
+
title: '个性化标题2',
|
|
83
|
+
screenshot: '',
|
|
84
|
+
schema: {
|
|
85
|
+
componentName: 'Title2',
|
|
86
|
+
props: {},
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
]
|
|
89
90
|
|
|
90
91
|
export default {
|
|
91
92
|
...Title2Meta,
|
|
92
|
-
snippets
|
|
93
|
-
}
|
|
93
|
+
snippets,
|
|
94
|
+
}
|
|
@@ -1,64 +1,66 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
var Button2Meta = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"package":
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
3
|
+
componentName: 'Button2',
|
|
4
|
+
title: '按钮',
|
|
5
|
+
docUrl: '',
|
|
6
|
+
screenshot: '',
|
|
7
|
+
devMode: 'proCode',
|
|
8
|
+
npm: {
|
|
9
|
+
"package": '@dckj-npm/dc-material',
|
|
10
|
+
version: '0.1.13',
|
|
11
|
+
exportName: 'Button2',
|
|
12
|
+
main: 'src\\index.tsx',
|
|
13
|
+
destructuring: true,
|
|
14
|
+
subName: ''
|
|
15
15
|
},
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
configure: {
|
|
17
|
+
props: [{
|
|
18
|
+
title: {
|
|
19
|
+
label: {
|
|
20
|
+
type: 'i18n',
|
|
21
|
+
'en-US': 'name',
|
|
22
|
+
'zh-CN': '标签名称'
|
|
23
23
|
},
|
|
24
|
-
|
|
24
|
+
tip: 'name | 标签名称'
|
|
25
25
|
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
name: 'name',
|
|
27
|
+
description: '标签名称',
|
|
28
|
+
setter: {
|
|
29
|
+
componentName: 'StringSetter',
|
|
30
|
+
isRequired: true,
|
|
31
|
+
initialValue: ''
|
|
32
32
|
}
|
|
33
33
|
}, {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
title: {
|
|
35
|
+
label: {
|
|
36
|
+
type: 'i18n',
|
|
37
|
+
'en-US': 'color',
|
|
38
|
+
'zh-CN': '标签颜色'
|
|
39
39
|
},
|
|
40
|
-
|
|
40
|
+
tip: 'color | 标签颜色'
|
|
41
41
|
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
name: 'color',
|
|
43
|
+
description: '标签颜色',
|
|
44
|
+
setter: {
|
|
45
|
+
componentName: 'StringSetter',
|
|
46
|
+
isRequired: true,
|
|
47
|
+
initialValue: ''
|
|
48
48
|
}
|
|
49
49
|
}],
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
supports: {
|
|
51
|
+
style: true
|
|
52
52
|
},
|
|
53
|
-
|
|
53
|
+
component: {
|
|
54
|
+
disableBehaviors: ['copy']
|
|
55
|
+
}
|
|
54
56
|
}
|
|
55
57
|
};
|
|
56
58
|
var snippets = [{
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
title: '按钮',
|
|
60
|
+
screenshot: '',
|
|
61
|
+
schema: {
|
|
62
|
+
componentName: 'Button2',
|
|
63
|
+
props: {}
|
|
62
64
|
}
|
|
63
65
|
}];
|
|
64
66
|
export default _extends({}, Button2Meta, {
|