@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
|
@@ -1,195 +1,196 @@
|
|
|
1
1
|
import icon from '../../src/assets/icon/integral-task/icon1.png'
|
|
2
2
|
|
|
3
|
-
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
|
|
3
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
|
|
4
4
|
|
|
5
5
|
const IntegralTaskMeta: IPublicTypeComponentMetadata = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
6
|
+
componentName: 'IntegralTask',
|
|
7
|
+
title: '任务列表',
|
|
8
|
+
docUrl: '',
|
|
9
|
+
screenshot: '',
|
|
10
|
+
devMode: 'proCode',
|
|
11
|
+
npm: {
|
|
12
|
+
package: '@dckj-npm/dc-material',
|
|
13
|
+
version: '0.1.13',
|
|
14
|
+
exportName: 'IntegralTask',
|
|
15
|
+
main: 'src\\index.tsx',
|
|
16
|
+
destructuring: true,
|
|
17
|
+
subName: '',
|
|
18
18
|
},
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
configure: {
|
|
20
|
+
props: [
|
|
21
21
|
{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
22
|
+
title: '图标',
|
|
23
|
+
name: 'icon',
|
|
24
|
+
description: '图标',
|
|
25
|
+
setter: {
|
|
26
|
+
componentName: 'StringSetter',
|
|
27
|
+
isRequired: true,
|
|
28
|
+
initialValue: '',
|
|
29
|
+
},
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
}
|
|
32
|
+
title: '图片',
|
|
33
|
+
name: 'images',
|
|
34
|
+
description: '图片',
|
|
35
|
+
setter: {
|
|
36
|
+
componentName: 'ArraySetter',
|
|
37
|
+
props: {
|
|
38
|
+
itemSetter: 'StringSetter',
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
title: '未完成文案',
|
|
44
|
+
name: 'undoneLabel',
|
|
45
|
+
description: '未完成文案',
|
|
46
|
+
setter: 'StringSetter',
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
title: '完成文案',
|
|
50
|
+
name: 'completeLabel',
|
|
51
|
+
description: '完成文案',
|
|
52
|
+
setter: 'StringSetter',
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
title: {
|
|
56
|
+
label: {
|
|
57
|
+
type: 'i18n',
|
|
58
|
+
'en-US': 'list',
|
|
59
|
+
'zh-CN': '任务名称',
|
|
60
60
|
},
|
|
61
|
-
|
|
61
|
+
tip: 'list | 任务名称',
|
|
62
62
|
},
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
63
|
+
name: 'list',
|
|
64
|
+
description: '任务名称',
|
|
65
|
+
setter: {
|
|
66
|
+
componentName: 'ArraySetter',
|
|
67
|
+
props: {
|
|
68
|
+
itemSetter: {
|
|
69
|
+
componentName: 'ObjectSetter',
|
|
70
|
+
props: {
|
|
71
|
+
config: {
|
|
72
|
+
items: [
|
|
73
73
|
{
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
74
|
+
title: {
|
|
75
|
+
label: {
|
|
76
|
+
type: 'i18n',
|
|
77
|
+
'en-US': 'name',
|
|
78
|
+
'zh-CN': 'name',
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
name: 'name',
|
|
82
|
+
setter: {
|
|
83
|
+
componentName: 'StringSetter',
|
|
84
|
+
isRequired: true,
|
|
85
|
+
initialValue: '',
|
|
80
86
|
},
|
|
81
|
-
"name": "name",
|
|
82
|
-
"setter": {
|
|
83
|
-
"componentName": "StringSetter",
|
|
84
|
-
"isRequired": true,
|
|
85
|
-
"initialValue": ""
|
|
86
|
-
}
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
89
|
+
title: {
|
|
90
|
+
label: {
|
|
91
|
+
type: 'i18n',
|
|
92
|
+
'en-US': 'integral',
|
|
93
|
+
'zh-CN': 'integral',
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
name: 'integral',
|
|
97
|
+
setter: {
|
|
98
|
+
componentName: 'NumberSetter',
|
|
99
|
+
isRequired: true,
|
|
100
|
+
initialValue: 0,
|
|
95
101
|
},
|
|
96
|
-
"name": "integral",
|
|
97
|
-
"setter": {
|
|
98
|
-
"componentName": "NumberSetter",
|
|
99
|
-
"isRequired": true,
|
|
100
|
-
"initialValue": 0
|
|
101
|
-
}
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
104
|
+
title: {
|
|
105
|
+
label: {
|
|
106
|
+
type: 'i18n',
|
|
107
|
+
'en-US': 'status',
|
|
108
|
+
'zh-CN': 'status',
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
name: 'status',
|
|
112
|
+
setter: {
|
|
113
|
+
componentName: 'NumberSetter',
|
|
114
|
+
isRequired: true,
|
|
115
|
+
initialValue: 0,
|
|
110
116
|
},
|
|
111
|
-
|
|
112
|
-
"setter": {
|
|
113
|
-
"componentName": "NumberSetter",
|
|
114
|
-
"isRequired": true,
|
|
115
|
-
"initialValue": 0
|
|
116
|
-
}
|
|
117
|
-
}
|
|
117
|
+
},
|
|
118
118
|
],
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
119
|
+
extraSetter: {
|
|
120
|
+
componentName: 'MixedSetter',
|
|
121
|
+
isRequired: false,
|
|
122
|
+
props: {},
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
127
|
},
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
}
|
|
128
|
+
isRequired: true,
|
|
129
|
+
initialValue: [],
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
132
|
],
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
supports: {
|
|
134
|
+
style: true,
|
|
135
|
+
},
|
|
136
|
+
component: {
|
|
137
|
+
disableBehaviors: ['copy'],
|
|
135
138
|
},
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
};
|
|
139
|
+
},
|
|
140
|
+
}
|
|
139
141
|
const snippets: IPublicTypeSnippet[] = [
|
|
140
142
|
{
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
title: '任务列表',
|
|
144
|
+
screenshot: '',
|
|
145
|
+
schema: {
|
|
146
|
+
componentName: 'IntegralTask',
|
|
147
|
+
props: {
|
|
146
148
|
list: [
|
|
147
149
|
{
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
}
|
|
150
|
+
name: '标题名称',
|
|
151
|
+
integral: 10,
|
|
152
|
+
status: 0,
|
|
153
|
+
},
|
|
152
154
|
],
|
|
153
155
|
icon: icon,
|
|
154
156
|
images: [
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
'https://52pupu.com/source/api/upload/1036284777780613120/2024/202409/20240927/1037148079553384448.png',
|
|
158
|
+
'https://52pupu.com/source/api/upload/1036284777780613120/2024/202409/20240927/1037148108544413696.png',
|
|
159
|
+
'https://52pupu.com/source/api/upload/1036284777780613120/2024/202409/20240927/1037148142006571008.png',
|
|
160
|
+
'https://52pupu.com/source/api/upload/1036284777780613120/2024/202409/20240927/1037148168208388096.png',
|
|
159
161
|
],
|
|
160
162
|
undoneLabel: '去完成',
|
|
161
|
-
completeLabel: '领取奖励'
|
|
163
|
+
completeLabel: '领取奖励',
|
|
162
164
|
},
|
|
163
165
|
children: [
|
|
164
166
|
{
|
|
165
167
|
componentName: 'Image',
|
|
166
168
|
props: {
|
|
167
169
|
src: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
|
|
168
|
-
key: 'image-left'
|
|
169
|
-
}
|
|
170
|
+
key: 'image-left',
|
|
171
|
+
},
|
|
170
172
|
},
|
|
171
173
|
{
|
|
172
174
|
componentName: 'Image',
|
|
173
175
|
props: {
|
|
174
176
|
src: 'https://img.alicdn.com/tps/TB16TQvOXXXXXbiaFXXXXXXXXXX-120-120.svg',
|
|
175
|
-
key: 'image-icon'
|
|
176
|
-
}
|
|
177
|
+
key: 'image-icon',
|
|
178
|
+
},
|
|
177
179
|
},
|
|
178
180
|
{
|
|
179
181
|
componentName: 'NextText',
|
|
180
182
|
props: {
|
|
181
183
|
type: 'h5',
|
|
182
184
|
children: '购买礼品',
|
|
183
|
-
key: 'title'
|
|
185
|
+
key: 'title',
|
|
184
186
|
},
|
|
185
187
|
},
|
|
186
188
|
{
|
|
187
189
|
componentName: 'NextText',
|
|
188
190
|
props: {
|
|
189
191
|
type: 'inherit',
|
|
190
|
-
children:
|
|
191
|
-
|
|
192
|
-
key: 'integral'
|
|
192
|
+
children: '10积分',
|
|
193
|
+
key: 'integral',
|
|
193
194
|
},
|
|
194
195
|
},
|
|
195
196
|
{
|
|
@@ -197,15 +198,15 @@ const snippets: IPublicTypeSnippet[] = [
|
|
|
197
198
|
props: {
|
|
198
199
|
name: '去完成',
|
|
199
200
|
key: 'button2',
|
|
200
|
-
color: 'complete'
|
|
201
|
+
color: 'complete',
|
|
201
202
|
},
|
|
202
|
-
}
|
|
203
|
-
]
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
]
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
]
|
|
207
208
|
|
|
208
209
|
export default {
|
|
209
210
|
...IntegralTaskMeta,
|
|
210
|
-
snippets
|
|
211
|
-
}
|
|
211
|
+
snippets,
|
|
212
|
+
}
|
|
@@ -1,147 +1,154 @@
|
|
|
1
|
-
|
|
2
|
-
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
1
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
|
|
3
2
|
|
|
4
3
|
const MenuListMeta: IPublicTypeComponentMetadata = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
4
|
+
group: '低代码组件',
|
|
5
|
+
componentName: 'MenuList',
|
|
6
|
+
title: '列表菜单组件',
|
|
7
|
+
docUrl: '',
|
|
8
|
+
screenshot: '',
|
|
9
|
+
devMode: 'proCode',
|
|
10
|
+
npm: {
|
|
11
|
+
package: '@dckj-npm/dc-material',
|
|
12
|
+
version: '0.1.8',
|
|
13
|
+
exportName: 'MenuList',
|
|
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': 'dataList',
|
|
25
|
+
'zh-CN': '数据',
|
|
27
26
|
},
|
|
28
|
-
|
|
27
|
+
tip: 'dataList | 数据',
|
|
29
28
|
},
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
29
|
+
name: 'dataList',
|
|
30
|
+
description: '数据',
|
|
31
|
+
setter: {
|
|
32
|
+
componentName: 'ArraySetter',
|
|
33
|
+
props: {
|
|
34
|
+
itemSetter: {
|
|
35
|
+
componentName: 'ObjectSetter',
|
|
36
|
+
props: {
|
|
37
|
+
config: {
|
|
38
|
+
items: [
|
|
40
39
|
{
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
40
|
+
title: {
|
|
41
|
+
label: {
|
|
42
|
+
type: 'i18n',
|
|
43
|
+
'en-US': 'title',
|
|
44
|
+
'zh-CN': 'title',
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
name: 'title',
|
|
48
|
+
description: '菜单名称',
|
|
49
|
+
setter: {
|
|
50
|
+
componentName: 'StringSetter',
|
|
51
|
+
isRequired: true,
|
|
52
|
+
initialValue: '',
|
|
47
53
|
},
|
|
48
|
-
"name": "title",
|
|
49
|
-
"description": "菜单名称",
|
|
50
|
-
"setter": {
|
|
51
|
-
"componentName": "StringSetter",
|
|
52
|
-
"isRequired": true,
|
|
53
|
-
"initialValue": ""
|
|
54
|
-
}
|
|
55
54
|
},
|
|
56
55
|
{
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
56
|
+
title: {
|
|
57
|
+
label: {
|
|
58
|
+
type: 'i18n',
|
|
59
|
+
'en-US': 'iconUrl',
|
|
60
|
+
'zh-CN': 'iconUrl',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
name: 'iconUrl',
|
|
64
|
+
description: '菜单图标',
|
|
65
|
+
setter: {
|
|
66
|
+
componentName: 'CustomImageSetter',
|
|
67
|
+
isRequired: false,
|
|
68
|
+
initialValue: '',
|
|
63
69
|
},
|
|
64
|
-
"name": "iconUrl",
|
|
65
|
-
"description": "菜单图标",
|
|
66
|
-
"setter": {
|
|
67
|
-
"componentName": "CustomImageSetter",
|
|
68
|
-
"isRequired": false,
|
|
69
|
-
"initialValue": ""
|
|
70
|
-
}
|
|
71
70
|
},
|
|
72
71
|
{
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
72
|
+
title: {
|
|
73
|
+
label: {
|
|
74
|
+
type: 'i18n',
|
|
75
|
+
'en-US': 'click',
|
|
76
|
+
'zh-CN': '点击事件',
|
|
77
|
+
},
|
|
79
78
|
},
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
}
|
|
79
|
+
name: 'handleClick',
|
|
80
|
+
description: '菜单点击事件',
|
|
81
|
+
setter: {
|
|
82
|
+
componentName: 'FunctionSetter',
|
|
83
|
+
isRequired: false,
|
|
84
|
+
initialValue: '',
|
|
85
|
+
},
|
|
86
|
+
},
|
|
88
87
|
],
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
88
|
+
extraSetter: {
|
|
89
|
+
componentName: 'MixedSetter',
|
|
90
|
+
isRequired: false,
|
|
91
|
+
props: {},
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
},
|
|
97
96
|
},
|
|
98
|
-
|
|
97
|
+
initialValue: [
|
|
99
98
|
{
|
|
100
99
|
title: '我的名片',
|
|
101
|
-
iconUrl:
|
|
100
|
+
iconUrl:
|
|
101
|
+
'http://122.225.55.70:18084/files/upload/2024/09/12/139d14911a124bfc956a7f725e9470e1.png',
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
title: '邀请人名片',
|
|
105
|
-
iconUrl:
|
|
105
|
+
iconUrl:
|
|
106
|
+
'http://122.225.55.70:18084/files/upload/2024/09/12/50cdc578b82f48a2af504b283fd3c8e5.png',
|
|
106
107
|
},
|
|
107
108
|
{
|
|
108
109
|
title: '在线留言',
|
|
109
|
-
iconUrl:
|
|
110
|
+
iconUrl:
|
|
111
|
+
'http://122.225.55.70:18084/files/upload/2024/09/12/204802207fff4aaca5b002adebfa4b94.png',
|
|
110
112
|
},
|
|
111
113
|
{
|
|
112
114
|
title: '联系我们',
|
|
113
|
-
iconUrl:
|
|
115
|
+
iconUrl:
|
|
116
|
+
'http://122.225.55.70:18084/files/upload/2024/09/12/70a8c6d97c084484a1e19bb7ff1489d3.png',
|
|
114
117
|
},
|
|
115
118
|
{
|
|
116
119
|
title: '帮助中心',
|
|
117
|
-
iconUrl:
|
|
120
|
+
iconUrl:
|
|
121
|
+
'http://122.225.55.70:18084/files/upload/2024/09/12/02b52f9fe2294cd68b5a1f09a229194f.png',
|
|
118
122
|
},
|
|
119
123
|
{
|
|
120
124
|
title: '退出登录',
|
|
121
|
-
iconUrl:
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
125
|
+
iconUrl:
|
|
126
|
+
'http://122.225.55.70:18084/files/upload/2024/09/12/15ac6db27c84409fbacb2ee7826c31ab.png',
|
|
127
|
+
},
|
|
128
|
+
],
|
|
129
|
+
},
|
|
130
|
+
},
|
|
126
131
|
],
|
|
127
|
-
|
|
128
|
-
|
|
132
|
+
supports: {
|
|
133
|
+
style: true,
|
|
134
|
+
},
|
|
135
|
+
component: {
|
|
136
|
+
disableBehaviors: ['copy'],
|
|
129
137
|
},
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
};
|
|
138
|
+
},
|
|
139
|
+
}
|
|
133
140
|
const snippets: IPublicTypeSnippet[] = [
|
|
134
141
|
{
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
]
|
|
142
|
+
title: '列表菜单组件',
|
|
143
|
+
screenshot: '',
|
|
144
|
+
schema: {
|
|
145
|
+
componentName: 'MenuList',
|
|
146
|
+
props: {},
|
|
147
|
+
},
|
|
148
|
+
},
|
|
149
|
+
]
|
|
143
150
|
|
|
144
151
|
export default {
|
|
145
152
|
...MenuListMeta,
|
|
146
|
-
snippets
|
|
147
|
-
}
|
|
153
|
+
snippets,
|
|
154
|
+
}
|