@dckj-npm/dc-material 0.1.149 → 0.1.152
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/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 +290 -142
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +290 -142
- package/lowcode/address-list/meta.ts +71 -0
- package/lowcode/d-c-slider/meta.ts +11 -168
- package/lowcode/d-c-slider/snippets.ts +2 -1
- package/lowcode/member-card/meta.ts +187 -0
- package/lowcode/message-list/meta.ts +16 -0
- package/lowcode/search-bar/meta.ts +4 -0
- package/lowcode/shopping-cart/meta.ts +494 -0
- package/lowcode/swiper/meta.ts +2 -1
- package/lowcode/tab-message/meta.ts +1 -1
- package/lowcode/user-card/meta.ts +130 -0
- package/lowcode_es/address-list/meta.d.ts +22 -0
- package/lowcode_es/address-list/meta.js +62 -0
- package/lowcode_es/d-c-slider/meta.d.ts +5 -4
- package/lowcode_es/d-c-slider/meta.design.d.ts +1 -0
- package/lowcode_es/d-c-slider/meta.js +12 -152
- package/lowcode_es/d-c-slider/snippets.d.ts +1 -0
- package/lowcode_es/d-c-slider/snippets.js +2 -1
- package/lowcode_es/member-card/meta.d.ts +22 -0
- package/lowcode_es/member-card/meta.js +168 -0
- package/lowcode_es/message-list/meta.js +15 -0
- package/lowcode_es/meta.js +6 -2
- package/lowcode_es/search-bar/meta.js +3 -0
- package/lowcode_es/shopping-cart/meta.d.ts +22 -0
- package/lowcode_es/shopping-cart/meta.js +431 -0
- package/lowcode_es/swiper/meta.js +2 -1
- package/lowcode_es/user-card/meta.d.ts +22 -0
- package/lowcode_es/user-card/meta.js +117 -0
- package/lowcode_lib/address-list/meta.d.ts +22 -0
- package/lowcode_lib/address-list/meta.js +67 -0
- package/lowcode_lib/d-c-slider/meta.d.ts +5 -4
- package/lowcode_lib/d-c-slider/meta.design.d.ts +1 -0
- package/lowcode_lib/d-c-slider/meta.js +12 -152
- package/lowcode_lib/d-c-slider/snippets.d.ts +1 -0
- package/lowcode_lib/d-c-slider/snippets.js +2 -1
- package/lowcode_lib/member-card/meta.d.ts +22 -0
- package/lowcode_lib/member-card/meta.js +173 -0
- package/lowcode_lib/message-list/meta.js +15 -0
- package/lowcode_lib/meta.js +31 -27
- package/lowcode_lib/search-bar/meta.js +3 -0
- package/lowcode_lib/shopping-cart/meta.d.ts +22 -0
- package/lowcode_lib/shopping-cart/meta.js +436 -0
- package/lowcode_lib/swiper/meta.js +2 -1
- package/lowcode_lib/user-card/meta.d.ts +22 -0
- package/lowcode_lib/user-card/meta.js +122 -0
- package/package.json +7 -4
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'
|
|
2
|
+
|
|
3
|
+
const AddressListMeta: IPublicTypeComponentMetadata = {
|
|
4
|
+
group: '低代码组件',
|
|
5
|
+
componentName: 'AddressList',
|
|
6
|
+
title: '地址列表',
|
|
7
|
+
docUrl: '',
|
|
8
|
+
screenshot: '',
|
|
9
|
+
devMode: 'proCode',
|
|
10
|
+
npm: {
|
|
11
|
+
package: '@dckj-npm/dc-material',
|
|
12
|
+
version: '0.1.150',
|
|
13
|
+
exportName: 'AddressList',
|
|
14
|
+
main: 'src\\index.tsx',
|
|
15
|
+
destructuring: true,
|
|
16
|
+
subName: '',
|
|
17
|
+
},
|
|
18
|
+
configure: {
|
|
19
|
+
component: {
|
|
20
|
+
isContainer: true,
|
|
21
|
+
nestingRule: {
|
|
22
|
+
childWhitelist: ['NextText', 'AddressListItem'],
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
props: [],
|
|
26
|
+
supports: {
|
|
27
|
+
style: true,
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
}
|
|
31
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
32
|
+
{
|
|
33
|
+
title: '地址列表',
|
|
34
|
+
screenshot: '',
|
|
35
|
+
schema: {
|
|
36
|
+
componentName: 'AddressList',
|
|
37
|
+
props: {},
|
|
38
|
+
children: [
|
|
39
|
+
{
|
|
40
|
+
componentName: 'NextText',
|
|
41
|
+
props: {
|
|
42
|
+
type: 'inherit',
|
|
43
|
+
children: '我的地址是xx市xx区xxxxxx203',
|
|
44
|
+
key: 'address',
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
componentName: 'NextText',
|
|
49
|
+
props: {
|
|
50
|
+
type: 'h5',
|
|
51
|
+
children: '标题2',
|
|
52
|
+
key: 'title',
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
componentName: 'NextText',
|
|
57
|
+
props: {
|
|
58
|
+
type: 'h5',
|
|
59
|
+
children: '13819025571',
|
|
60
|
+
key: 'phone',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
]
|
|
67
|
+
|
|
68
|
+
export default {
|
|
69
|
+
...AddressListMeta,
|
|
70
|
+
snippets,
|
|
71
|
+
}
|
|
@@ -30,26 +30,6 @@ export default {
|
|
|
30
30
|
propType: 'any',
|
|
31
31
|
description: '自定义传入的样式',
|
|
32
32
|
},
|
|
33
|
-
{
|
|
34
|
-
name: 'slidesToShow',
|
|
35
|
-
title: {
|
|
36
|
-
label: '图片数量',
|
|
37
|
-
tip: 'slidesToShow|同时展示的图片数量',
|
|
38
|
-
},
|
|
39
|
-
propType: 'number',
|
|
40
|
-
description: '同时展示的图片数量',
|
|
41
|
-
defaultValue: 1,
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
name: 'slidesToScroll',
|
|
45
|
-
title: {
|
|
46
|
-
label: '同时滑动的图片数量',
|
|
47
|
-
tip: 'slidesToScroll',
|
|
48
|
-
},
|
|
49
|
-
propType: 'number',
|
|
50
|
-
description: '同时滑动的图片数量',
|
|
51
|
-
defaultValue: 1,
|
|
52
|
-
},
|
|
53
33
|
{
|
|
54
34
|
name: 'speed',
|
|
55
35
|
title: {
|
|
@@ -69,78 +49,6 @@ export default {
|
|
|
69
49
|
propType: 'number',
|
|
70
50
|
description: '跳转到指定的轮播图(受控)',
|
|
71
51
|
},
|
|
72
|
-
{
|
|
73
|
-
name: 'adaptiveHeight',
|
|
74
|
-
title: {
|
|
75
|
-
label: '自适应高度',
|
|
76
|
-
tip: 'adaptiveHeight',
|
|
77
|
-
},
|
|
78
|
-
propType: 'bool',
|
|
79
|
-
description: '是否使用自适应高度',
|
|
80
|
-
defaultValue: true,
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
name: 'animation',
|
|
84
|
-
title: {
|
|
85
|
-
label: '动效类型',
|
|
86
|
-
tip: 'animation',
|
|
87
|
-
},
|
|
88
|
-
propType: {
|
|
89
|
-
type: 'oneOfType',
|
|
90
|
-
value: ['string', 'bool'],
|
|
91
|
-
},
|
|
92
|
-
description: "动效类型,默认是'slide'",
|
|
93
|
-
defaultValue: 'slide',
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
name: 'arrows',
|
|
97
|
-
title: {
|
|
98
|
-
label: '箭头',
|
|
99
|
-
tip: 'arrows|是否显示箭头',
|
|
100
|
-
},
|
|
101
|
-
propType: 'bool',
|
|
102
|
-
description: '是否显示箭头',
|
|
103
|
-
defaultValue: true,
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
name: 'arrowSize',
|
|
107
|
-
title: {
|
|
108
|
-
label: '箭头大小',
|
|
109
|
-
tip: "arrowSize|导航箭头大小 可选值: 'medium', 'large'",
|
|
110
|
-
},
|
|
111
|
-
propType: {
|
|
112
|
-
type: 'oneOf',
|
|
113
|
-
value: ['medium', 'large'],
|
|
114
|
-
},
|
|
115
|
-
description: "导航箭头大小 可选值: 'medium', 'large'",
|
|
116
|
-
defaultValue: 'medium',
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
name: 'arrowPosition',
|
|
120
|
-
title: {
|
|
121
|
-
label: '箭头位置',
|
|
122
|
-
tip: "arrowPosition|导航箭头位置 可选值: 'inner', 'outer'",
|
|
123
|
-
},
|
|
124
|
-
propType: {
|
|
125
|
-
type: 'oneOf',
|
|
126
|
-
value: ['inner', 'outer'],
|
|
127
|
-
},
|
|
128
|
-
description: "导航箭头位置 可选值: 'inner', 'outer'",
|
|
129
|
-
defaultValue: 'inner',
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
name: 'arrowDirection',
|
|
133
|
-
title: {
|
|
134
|
-
label: '箭头方向',
|
|
135
|
-
tip: "arrowDirection|导航箭头的方向 可选值: 'hoz', 'ver'",
|
|
136
|
-
},
|
|
137
|
-
propType: {
|
|
138
|
-
type: 'oneOf',
|
|
139
|
-
value: ['hoz', 'ver'],
|
|
140
|
-
},
|
|
141
|
-
description: "导航箭头的方向 可选值: 'hoz', 'ver'",
|
|
142
|
-
defaultValue: 'hoz',
|
|
143
|
-
},
|
|
144
52
|
{
|
|
145
53
|
name: 'autoplay',
|
|
146
54
|
title: {
|
|
@@ -161,28 +69,6 @@ export default {
|
|
|
161
69
|
description: '自动播放的速度',
|
|
162
70
|
defaultValue: 3000,
|
|
163
71
|
},
|
|
164
|
-
{
|
|
165
|
-
name: 'nextArrow',
|
|
166
|
-
propType: 'node',
|
|
167
|
-
description: '向后箭头',
|
|
168
|
-
defaultValue: null,
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
name: 'prevArrow',
|
|
172
|
-
propType: 'node',
|
|
173
|
-
description: '向前箭头',
|
|
174
|
-
defaultValue: null,
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
name: 'centerMode',
|
|
178
|
-
title: {
|
|
179
|
-
label: '居中模式',
|
|
180
|
-
tip: 'centerMode',
|
|
181
|
-
},
|
|
182
|
-
propType: 'bool',
|
|
183
|
-
description: '是否启用居中模式',
|
|
184
|
-
defaultValue: false,
|
|
185
|
-
},
|
|
186
72
|
{
|
|
187
73
|
name: 'dots',
|
|
188
74
|
title: {
|
|
@@ -206,16 +92,6 @@ export default {
|
|
|
206
92
|
description: '导航锚点位置',
|
|
207
93
|
defaultValue: 'hoz',
|
|
208
94
|
},
|
|
209
|
-
{
|
|
210
|
-
name: 'draggable',
|
|
211
|
-
title: {
|
|
212
|
-
label: '可拖拽',
|
|
213
|
-
tip: 'draggable',
|
|
214
|
-
},
|
|
215
|
-
propType: 'bool',
|
|
216
|
-
description: '是否可拖拽',
|
|
217
|
-
defaultValue: true,
|
|
218
|
-
},
|
|
219
95
|
{
|
|
220
96
|
name: 'infinite',
|
|
221
97
|
title: {
|
|
@@ -226,26 +102,16 @@ export default {
|
|
|
226
102
|
description: '是否使用无穷循环模式',
|
|
227
103
|
defaultValue: true,
|
|
228
104
|
},
|
|
229
|
-
{
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
name: 'lazyLoad',
|
|
241
|
-
title: {
|
|
242
|
-
label: '懒加载',
|
|
243
|
-
tip: 'lazyLoad|是否启用懒加载',
|
|
244
|
-
},
|
|
245
|
-
propType: 'bool',
|
|
246
|
-
description: '是否启用懒加载',
|
|
247
|
-
defaultValue: false,
|
|
248
|
-
},
|
|
105
|
+
// {
|
|
106
|
+
// name: 'defaultActiveIndex',
|
|
107
|
+
// title: {
|
|
108
|
+
// label: '初始轮播图',
|
|
109
|
+
// tip: 'defaultActiveIndex|初始被激活的轮播图',
|
|
110
|
+
// },
|
|
111
|
+
// propType: 'number',
|
|
112
|
+
// description: '初始被激活的轮播图',
|
|
113
|
+
// defaultValue: 0,
|
|
114
|
+
// },
|
|
249
115
|
{
|
|
250
116
|
name: 'slideDirection',
|
|
251
117
|
title: {
|
|
@@ -259,19 +125,6 @@ export default {
|
|
|
259
125
|
description: '轮播方向',
|
|
260
126
|
defaultValue: 'hoz',
|
|
261
127
|
},
|
|
262
|
-
{
|
|
263
|
-
name: 'triggerType',
|
|
264
|
-
title: {
|
|
265
|
-
label: '触发方式',
|
|
266
|
-
tip: 'triggerType|锚点导航触发方式',
|
|
267
|
-
},
|
|
268
|
-
propType: {
|
|
269
|
-
type: 'oneOf',
|
|
270
|
-
value: ['click', 'hover'],
|
|
271
|
-
},
|
|
272
|
-
description: '锚点导航触发方式',
|
|
273
|
-
defaultValue: 'click',
|
|
274
|
-
},
|
|
275
128
|
{
|
|
276
129
|
name: 'onChange',
|
|
277
130
|
propType: 'func',
|
|
@@ -291,17 +144,7 @@ export default {
|
|
|
291
144
|
name: 'picUrls',
|
|
292
145
|
propType: 'array',
|
|
293
146
|
description: '图片路径',
|
|
294
|
-
}
|
|
295
|
-
{
|
|
296
|
-
name: 'focusOnSelect',
|
|
297
|
-
title: {
|
|
298
|
-
label: '自动居中',
|
|
299
|
-
tip: 'focusOnSelect|多图轮播时,点击选中后自动居中',
|
|
300
|
-
},
|
|
301
|
-
propType: 'bool',
|
|
302
|
-
description: '多图轮播时,点击选中后自动居中',
|
|
303
|
-
defaultValue: false,
|
|
304
|
-
},
|
|
147
|
+
}
|
|
305
148
|
],
|
|
306
149
|
configure: {
|
|
307
150
|
component: {
|
|
@@ -8,11 +8,12 @@ export default [
|
|
|
8
8
|
props: {
|
|
9
9
|
prefix: 'next-',
|
|
10
10
|
animation: 'slide',
|
|
11
|
-
arrows:
|
|
11
|
+
arrows: false,
|
|
12
12
|
arrowSize: 'medium',
|
|
13
13
|
arrowPosition: 'inner',
|
|
14
14
|
arrowDirection: 'hoz',
|
|
15
15
|
autoplaySpeed: 3000,
|
|
16
|
+
autoplay: true,
|
|
16
17
|
dots: true,
|
|
17
18
|
dotsDirection: 'hoz',
|
|
18
19
|
draggable: true,
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
|
|
2
|
+
import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
3
|
+
|
|
4
|
+
const MemberCardMeta: IPublicTypeComponentMetadata = {
|
|
5
|
+
"componentName": "MemberCard",
|
|
6
|
+
"title": "MemberCard",
|
|
7
|
+
"docUrl": "",
|
|
8
|
+
"screenshot": "",
|
|
9
|
+
"devMode": "proCode",
|
|
10
|
+
"npm": {
|
|
11
|
+
"package": "@dckj-npm/dc-material",
|
|
12
|
+
"version": "0.1.149",
|
|
13
|
+
"exportName": "MemberCard",
|
|
14
|
+
"main": "src/index.tsx",
|
|
15
|
+
"destructuring": true,
|
|
16
|
+
"subName": ""
|
|
17
|
+
},
|
|
18
|
+
"configure": {
|
|
19
|
+
"props": [
|
|
20
|
+
{
|
|
21
|
+
"title": {
|
|
22
|
+
"label": {
|
|
23
|
+
"type": "i18n",
|
|
24
|
+
"en-US": "userName",
|
|
25
|
+
"zh-CN": "userName"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"name": "userName",
|
|
29
|
+
"setter": {
|
|
30
|
+
"componentName": "StringSetter",
|
|
31
|
+
"isRequired": true,
|
|
32
|
+
"initialValue": ""
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"title": {
|
|
37
|
+
"label": {
|
|
38
|
+
"type": "i18n",
|
|
39
|
+
"en-US": "discount",
|
|
40
|
+
"zh-CN": "discount"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"name": "discount",
|
|
44
|
+
"setter": {
|
|
45
|
+
"componentName": "MixedSetter",
|
|
46
|
+
"props": {
|
|
47
|
+
"setters": [
|
|
48
|
+
{
|
|
49
|
+
"componentName": "StringSetter",
|
|
50
|
+
"isRequired": false,
|
|
51
|
+
"initialValue": ""
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"componentName": "NumberSetter",
|
|
55
|
+
"isRequired": false,
|
|
56
|
+
"initialValue": 0
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"isRequired": true
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"title": {
|
|
65
|
+
"label": {
|
|
66
|
+
"type": "i18n",
|
|
67
|
+
"en-US": "maxTotal",
|
|
68
|
+
"zh-CN": "maxTotal"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"name": "maxTotal",
|
|
72
|
+
"setter": {
|
|
73
|
+
"componentName": "NumberSetter",
|
|
74
|
+
"isRequired": true,
|
|
75
|
+
"initialValue": 0
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"title": {
|
|
80
|
+
"label": {
|
|
81
|
+
"type": "i18n",
|
|
82
|
+
"en-US": "currentNum",
|
|
83
|
+
"zh-CN": "currentNum"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"name": "currentNum",
|
|
87
|
+
"setter": {
|
|
88
|
+
"componentName": "NumberSetter",
|
|
89
|
+
"isRequired": true,
|
|
90
|
+
"initialValue": 0
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"title": {
|
|
95
|
+
"label": {
|
|
96
|
+
"type": "i18n",
|
|
97
|
+
"en-US": "isMaxLevel",
|
|
98
|
+
"zh-CN": "isMaxLevel"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"name": "isMaxLevel",
|
|
102
|
+
"setter": {
|
|
103
|
+
"componentName": "BoolSetter",
|
|
104
|
+
"isRequired": true,
|
|
105
|
+
"initialValue": false
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"title": {
|
|
110
|
+
"label": {
|
|
111
|
+
"type": "i18n",
|
|
112
|
+
"en-US": "gradeImg",
|
|
113
|
+
"zh-CN": "gradeImg"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"name": "gradeImg",
|
|
117
|
+
"setter": {
|
|
118
|
+
"componentName": "StringSetter",
|
|
119
|
+
"isRequired": true,
|
|
120
|
+
"initialValue": ""
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"title": {
|
|
125
|
+
"label": {
|
|
126
|
+
"type": "i18n",
|
|
127
|
+
"en-US": "isFastExpireCoupon",
|
|
128
|
+
"zh-CN": "isFastExpireCoupon"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"name": "isFastExpireCoupon",
|
|
132
|
+
"setter": {
|
|
133
|
+
"componentName": "BoolSetter",
|
|
134
|
+
"isRequired": true,
|
|
135
|
+
"initialValue": false
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"title": {
|
|
140
|
+
"label": {
|
|
141
|
+
"type": "i18n",
|
|
142
|
+
"en-US": "handleClick",
|
|
143
|
+
"zh-CN": "handleClick"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"name": "handleClick",
|
|
147
|
+
"setter": {
|
|
148
|
+
"componentName": "FunctionSetter",
|
|
149
|
+
"isRequired": false
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"title": {
|
|
154
|
+
"label": {
|
|
155
|
+
"type": "i18n",
|
|
156
|
+
"en-US": "handleCouponClick",
|
|
157
|
+
"zh-CN": "handleCouponClick"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"name": "handleCouponClick",
|
|
161
|
+
"setter": {
|
|
162
|
+
"componentName": "FunctionSetter",
|
|
163
|
+
"isRequired": false
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"supports": {
|
|
168
|
+
"style": true
|
|
169
|
+
},
|
|
170
|
+
"component": {}
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
174
|
+
{
|
|
175
|
+
"title": "MemberCard",
|
|
176
|
+
"screenshot": "",
|
|
177
|
+
"schema": {
|
|
178
|
+
"componentName": "MemberCard",
|
|
179
|
+
"props": {}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
];
|
|
183
|
+
|
|
184
|
+
export default {
|
|
185
|
+
...MemberCardMeta,
|
|
186
|
+
snippets
|
|
187
|
+
};
|
|
@@ -76,6 +76,22 @@ const MessageListMeta: IPublicTypeComponentMetadata = {
|
|
|
76
76
|
componentName: 'FunctionSetter',
|
|
77
77
|
},
|
|
78
78
|
},
|
|
79
|
+
{
|
|
80
|
+
title: {
|
|
81
|
+
label: {
|
|
82
|
+
type: 'i18n',
|
|
83
|
+
'en-US': 'handleDataList',
|
|
84
|
+
'zh-CN': 'tab改变事件',
|
|
85
|
+
},
|
|
86
|
+
tip: 'onChange | 改变事件',
|
|
87
|
+
},
|
|
88
|
+
name: 'handleDataList',
|
|
89
|
+
description: 'tab改变事件',
|
|
90
|
+
setter: {
|
|
91
|
+
componentName: 'FunctionSetter',
|
|
92
|
+
isRequired: true,
|
|
93
|
+
},
|
|
94
|
+
}
|
|
79
95
|
],
|
|
80
96
|
supports: {
|
|
81
97
|
style: true,
|
|
@@ -23,6 +23,10 @@ const SearchBarMeta: IPublicTypeComponentMetadata = {
|
|
|
23
23
|
name: 'onClick',
|
|
24
24
|
// template: "onSearch(params,${extParams}){\n window.location.href=`http://localhost:4500/preview.html?pathId=${params.pathId}`;\n console.log(params.pathId) \n}"
|
|
25
25
|
},
|
|
26
|
+
{
|
|
27
|
+
name: 'onConfirm',
|
|
28
|
+
// template: "onSearch(params,${extParams}){\n window.location.href=`http://localhost:4500/preview.html?pathId=${params.pathId}`;\n console.log(params.pathId) \n}"
|
|
29
|
+
},
|
|
26
30
|
],
|
|
27
31
|
},
|
|
28
32
|
props: [
|