@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,62 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
var AddressListMeta = {
|
|
3
|
+
group: '低代码组件',
|
|
4
|
+
componentName: 'AddressList',
|
|
5
|
+
title: '地址列表',
|
|
6
|
+
docUrl: '',
|
|
7
|
+
screenshot: '',
|
|
8
|
+
devMode: 'proCode',
|
|
9
|
+
npm: {
|
|
10
|
+
"package": '@dckj-npm/dc-material',
|
|
11
|
+
version: '0.1.150',
|
|
12
|
+
exportName: 'AddressList',
|
|
13
|
+
main: 'src\\index.tsx',
|
|
14
|
+
destructuring: true,
|
|
15
|
+
subName: ''
|
|
16
|
+
},
|
|
17
|
+
configure: {
|
|
18
|
+
component: {
|
|
19
|
+
isContainer: true,
|
|
20
|
+
nestingRule: {
|
|
21
|
+
childWhitelist: ['NextText', 'AddressListItem']
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
props: [],
|
|
25
|
+
supports: {
|
|
26
|
+
style: true
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
var snippets = [{
|
|
31
|
+
title: '地址列表',
|
|
32
|
+
screenshot: '',
|
|
33
|
+
schema: {
|
|
34
|
+
componentName: 'AddressList',
|
|
35
|
+
props: {},
|
|
36
|
+
children: [{
|
|
37
|
+
componentName: 'Title1',
|
|
38
|
+
props: {
|
|
39
|
+
type: 'h5',
|
|
40
|
+
children: '标题1',
|
|
41
|
+
key: 'address'
|
|
42
|
+
}
|
|
43
|
+
}, {
|
|
44
|
+
componentName: 'Title1',
|
|
45
|
+
props: {
|
|
46
|
+
type: 'h5',
|
|
47
|
+
children: '标题2',
|
|
48
|
+
key: 'name'
|
|
49
|
+
}
|
|
50
|
+
}, {
|
|
51
|
+
componentName: 'Title1',
|
|
52
|
+
props: {
|
|
53
|
+
type: 'h5',
|
|
54
|
+
children: '标题3',
|
|
55
|
+
key: 'phone'
|
|
56
|
+
}
|
|
57
|
+
}]
|
|
58
|
+
}
|
|
59
|
+
}];
|
|
60
|
+
export default _extends({}, AddressListMeta, {
|
|
61
|
+
snippets: snippets
|
|
62
|
+
});
|
|
@@ -72,14 +72,14 @@ declare const _default: {
|
|
|
72
72
|
} | {
|
|
73
73
|
name: string;
|
|
74
74
|
propType: string;
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
defaultValue?: undefined;
|
|
76
|
+
description?: undefined;
|
|
77
77
|
title?: undefined;
|
|
78
78
|
} | {
|
|
79
79
|
name: string;
|
|
80
80
|
propType: string;
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
description: string;
|
|
82
|
+
defaultValue: any;
|
|
83
83
|
title?: undefined;
|
|
84
84
|
})[];
|
|
85
85
|
configure: {
|
|
@@ -124,6 +124,7 @@ declare const _default: {
|
|
|
124
124
|
arrowPosition: string;
|
|
125
125
|
arrowDirection: string;
|
|
126
126
|
autoplaySpeed: number;
|
|
127
|
+
autoplay: boolean;
|
|
127
128
|
dots: boolean;
|
|
128
129
|
dotsDirection: string;
|
|
129
130
|
draggable: boolean;
|
|
@@ -25,24 +25,6 @@ export default {
|
|
|
25
25
|
name: 'className',
|
|
26
26
|
propType: 'any',
|
|
27
27
|
description: '自定义传入的样式'
|
|
28
|
-
}, {
|
|
29
|
-
name: 'slidesToShow',
|
|
30
|
-
title: {
|
|
31
|
-
label: '图片数量',
|
|
32
|
-
tip: 'slidesToShow|同时展示的图片数量'
|
|
33
|
-
},
|
|
34
|
-
propType: 'number',
|
|
35
|
-
description: '同时展示的图片数量',
|
|
36
|
-
defaultValue: 1
|
|
37
|
-
}, {
|
|
38
|
-
name: 'slidesToScroll',
|
|
39
|
-
title: {
|
|
40
|
-
label: '同时滑动的图片数量',
|
|
41
|
-
tip: 'slidesToScroll'
|
|
42
|
-
},
|
|
43
|
-
propType: 'number',
|
|
44
|
-
description: '同时滑动的图片数量',
|
|
45
|
-
defaultValue: 1
|
|
46
28
|
}, {
|
|
47
29
|
name: 'speed',
|
|
48
30
|
title: {
|
|
@@ -60,72 +42,6 @@ export default {
|
|
|
60
42
|
},
|
|
61
43
|
propType: 'number',
|
|
62
44
|
description: '跳转到指定的轮播图(受控)'
|
|
63
|
-
}, {
|
|
64
|
-
name: 'adaptiveHeight',
|
|
65
|
-
title: {
|
|
66
|
-
label: '自适应高度',
|
|
67
|
-
tip: 'adaptiveHeight'
|
|
68
|
-
},
|
|
69
|
-
propType: 'bool',
|
|
70
|
-
description: '是否使用自适应高度',
|
|
71
|
-
defaultValue: true
|
|
72
|
-
}, {
|
|
73
|
-
name: 'animation',
|
|
74
|
-
title: {
|
|
75
|
-
label: '动效类型',
|
|
76
|
-
tip: 'animation'
|
|
77
|
-
},
|
|
78
|
-
propType: {
|
|
79
|
-
type: 'oneOfType',
|
|
80
|
-
value: ['string', 'bool']
|
|
81
|
-
},
|
|
82
|
-
description: "动效类型,默认是'slide'",
|
|
83
|
-
defaultValue: 'slide'
|
|
84
|
-
}, {
|
|
85
|
-
name: 'arrows',
|
|
86
|
-
title: {
|
|
87
|
-
label: '箭头',
|
|
88
|
-
tip: 'arrows|是否显示箭头'
|
|
89
|
-
},
|
|
90
|
-
propType: 'bool',
|
|
91
|
-
description: '是否显示箭头',
|
|
92
|
-
defaultValue: true
|
|
93
|
-
}, {
|
|
94
|
-
name: 'arrowSize',
|
|
95
|
-
title: {
|
|
96
|
-
label: '箭头大小',
|
|
97
|
-
tip: "arrowSize|导航箭头大小 可选值: 'medium', 'large'"
|
|
98
|
-
},
|
|
99
|
-
propType: {
|
|
100
|
-
type: 'oneOf',
|
|
101
|
-
value: ['medium', 'large']
|
|
102
|
-
},
|
|
103
|
-
description: "导航箭头大小 可选值: 'medium', 'large'",
|
|
104
|
-
defaultValue: 'medium'
|
|
105
|
-
}, {
|
|
106
|
-
name: 'arrowPosition',
|
|
107
|
-
title: {
|
|
108
|
-
label: '箭头位置',
|
|
109
|
-
tip: "arrowPosition|导航箭头位置 可选值: 'inner', 'outer'"
|
|
110
|
-
},
|
|
111
|
-
propType: {
|
|
112
|
-
type: 'oneOf',
|
|
113
|
-
value: ['inner', 'outer']
|
|
114
|
-
},
|
|
115
|
-
description: "导航箭头位置 可选值: 'inner', 'outer'",
|
|
116
|
-
defaultValue: 'inner'
|
|
117
|
-
}, {
|
|
118
|
-
name: 'arrowDirection',
|
|
119
|
-
title: {
|
|
120
|
-
label: '箭头方向',
|
|
121
|
-
tip: "arrowDirection|导航箭头的方向 可选值: 'hoz', 'ver'"
|
|
122
|
-
},
|
|
123
|
-
propType: {
|
|
124
|
-
type: 'oneOf',
|
|
125
|
-
value: ['hoz', 'ver']
|
|
126
|
-
},
|
|
127
|
-
description: "导航箭头的方向 可选值: 'hoz', 'ver'",
|
|
128
|
-
defaultValue: 'hoz'
|
|
129
45
|
}, {
|
|
130
46
|
name: 'autoplay',
|
|
131
47
|
title: {
|
|
@@ -144,25 +60,6 @@ export default {
|
|
|
144
60
|
propType: 'number',
|
|
145
61
|
description: '自动播放的速度',
|
|
146
62
|
defaultValue: 3000
|
|
147
|
-
}, {
|
|
148
|
-
name: 'nextArrow',
|
|
149
|
-
propType: 'node',
|
|
150
|
-
description: '向后箭头',
|
|
151
|
-
defaultValue: null
|
|
152
|
-
}, {
|
|
153
|
-
name: 'prevArrow',
|
|
154
|
-
propType: 'node',
|
|
155
|
-
description: '向前箭头',
|
|
156
|
-
defaultValue: null
|
|
157
|
-
}, {
|
|
158
|
-
name: 'centerMode',
|
|
159
|
-
title: {
|
|
160
|
-
label: '居中模式',
|
|
161
|
-
tip: 'centerMode'
|
|
162
|
-
},
|
|
163
|
-
propType: 'bool',
|
|
164
|
-
description: '是否启用居中模式',
|
|
165
|
-
defaultValue: false
|
|
166
63
|
}, {
|
|
167
64
|
name: 'dots',
|
|
168
65
|
title: {
|
|
@@ -184,15 +81,6 @@ export default {
|
|
|
184
81
|
},
|
|
185
82
|
description: '导航锚点位置',
|
|
186
83
|
defaultValue: 'hoz'
|
|
187
|
-
}, {
|
|
188
|
-
name: 'draggable',
|
|
189
|
-
title: {
|
|
190
|
-
label: '可拖拽',
|
|
191
|
-
tip: 'draggable'
|
|
192
|
-
},
|
|
193
|
-
propType: 'bool',
|
|
194
|
-
description: '是否可拖拽',
|
|
195
|
-
defaultValue: true
|
|
196
84
|
}, {
|
|
197
85
|
name: 'infinite',
|
|
198
86
|
title: {
|
|
@@ -202,25 +90,18 @@ export default {
|
|
|
202
90
|
propType: 'bool',
|
|
203
91
|
description: '是否使用无穷循环模式',
|
|
204
92
|
defaultValue: true
|
|
205
|
-
},
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
label: '懒加载',
|
|
218
|
-
tip: 'lazyLoad|是否启用懒加载'
|
|
219
|
-
},
|
|
220
|
-
propType: 'bool',
|
|
221
|
-
description: '是否启用懒加载',
|
|
222
|
-
defaultValue: false
|
|
223
|
-
}, {
|
|
93
|
+
},
|
|
94
|
+
// {
|
|
95
|
+
// name: 'defaultActiveIndex',
|
|
96
|
+
// title: {
|
|
97
|
+
// label: '初始轮播图',
|
|
98
|
+
// tip: 'defaultActiveIndex|初始被激活的轮播图',
|
|
99
|
+
// },
|
|
100
|
+
// propType: 'number',
|
|
101
|
+
// description: '初始被激活的轮播图',
|
|
102
|
+
// defaultValue: 0,
|
|
103
|
+
// },
|
|
104
|
+
{
|
|
224
105
|
name: 'slideDirection',
|
|
225
106
|
title: {
|
|
226
107
|
label: '轮播方向',
|
|
@@ -232,18 +113,6 @@ export default {
|
|
|
232
113
|
},
|
|
233
114
|
description: '轮播方向',
|
|
234
115
|
defaultValue: 'hoz'
|
|
235
|
-
}, {
|
|
236
|
-
name: 'triggerType',
|
|
237
|
-
title: {
|
|
238
|
-
label: '触发方式',
|
|
239
|
-
tip: 'triggerType|锚点导航触发方式'
|
|
240
|
-
},
|
|
241
|
-
propType: {
|
|
242
|
-
type: 'oneOf',
|
|
243
|
-
value: ['click', 'hover']
|
|
244
|
-
},
|
|
245
|
-
description: '锚点导航触发方式',
|
|
246
|
-
defaultValue: 'click'
|
|
247
116
|
}, {
|
|
248
117
|
name: 'onChange',
|
|
249
118
|
propType: 'func',
|
|
@@ -260,15 +129,6 @@ export default {
|
|
|
260
129
|
name: 'picUrls',
|
|
261
130
|
propType: 'array',
|
|
262
131
|
description: '图片路径'
|
|
263
|
-
}, {
|
|
264
|
-
name: 'focusOnSelect',
|
|
265
|
-
title: {
|
|
266
|
-
label: '自动居中',
|
|
267
|
-
tip: 'focusOnSelect|多图轮播时,点击选中后自动居中'
|
|
268
|
-
},
|
|
269
|
-
propType: 'bool',
|
|
270
|
-
description: '多图轮播时,点击选中后自动居中',
|
|
271
|
-
defaultValue: false
|
|
272
132
|
}],
|
|
273
133
|
configure: {
|
|
274
134
|
component: {
|
|
@@ -6,11 +6,12 @@ export default [{
|
|
|
6
6
|
props: {
|
|
7
7
|
prefix: 'next-',
|
|
8
8
|
animation: 'slide',
|
|
9
|
-
arrows:
|
|
9
|
+
arrows: false,
|
|
10
10
|
arrowSize: 'medium',
|
|
11
11
|
arrowPosition: 'inner',
|
|
12
12
|
arrowDirection: 'hoz',
|
|
13
13
|
autoplaySpeed: 3000,
|
|
14
|
+
autoplay: true,
|
|
14
15
|
dots: true,
|
|
15
16
|
dotsDirection: 'hoz',
|
|
16
17
|
draggable: true,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
var MemberCardMeta = {
|
|
3
|
+
"componentName": "MemberCard",
|
|
4
|
+
"title": "MemberCard",
|
|
5
|
+
"docUrl": "",
|
|
6
|
+
"screenshot": "",
|
|
7
|
+
"devMode": "proCode",
|
|
8
|
+
"npm": {
|
|
9
|
+
"package": "@dckj-npm/dc-material",
|
|
10
|
+
"version": "0.1.149",
|
|
11
|
+
"exportName": "MemberCard",
|
|
12
|
+
"main": "src/index.tsx",
|
|
13
|
+
"destructuring": true,
|
|
14
|
+
"subName": ""
|
|
15
|
+
},
|
|
16
|
+
"configure": {
|
|
17
|
+
"props": [{
|
|
18
|
+
"title": {
|
|
19
|
+
"label": {
|
|
20
|
+
"type": "i18n",
|
|
21
|
+
"en-US": "userName",
|
|
22
|
+
"zh-CN": "userName"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"name": "userName",
|
|
26
|
+
"setter": {
|
|
27
|
+
"componentName": "StringSetter",
|
|
28
|
+
"isRequired": true,
|
|
29
|
+
"initialValue": ""
|
|
30
|
+
}
|
|
31
|
+
}, {
|
|
32
|
+
"title": {
|
|
33
|
+
"label": {
|
|
34
|
+
"type": "i18n",
|
|
35
|
+
"en-US": "discount",
|
|
36
|
+
"zh-CN": "discount"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"name": "discount",
|
|
40
|
+
"setter": {
|
|
41
|
+
"componentName": "MixedSetter",
|
|
42
|
+
"props": {
|
|
43
|
+
"setters": [{
|
|
44
|
+
"componentName": "StringSetter",
|
|
45
|
+
"isRequired": false,
|
|
46
|
+
"initialValue": ""
|
|
47
|
+
}, {
|
|
48
|
+
"componentName": "NumberSetter",
|
|
49
|
+
"isRequired": false,
|
|
50
|
+
"initialValue": 0
|
|
51
|
+
}]
|
|
52
|
+
},
|
|
53
|
+
"isRequired": true
|
|
54
|
+
}
|
|
55
|
+
}, {
|
|
56
|
+
"title": {
|
|
57
|
+
"label": {
|
|
58
|
+
"type": "i18n",
|
|
59
|
+
"en-US": "maxTotal",
|
|
60
|
+
"zh-CN": "maxTotal"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"name": "maxTotal",
|
|
64
|
+
"setter": {
|
|
65
|
+
"componentName": "NumberSetter",
|
|
66
|
+
"isRequired": true,
|
|
67
|
+
"initialValue": 0
|
|
68
|
+
}
|
|
69
|
+
}, {
|
|
70
|
+
"title": {
|
|
71
|
+
"label": {
|
|
72
|
+
"type": "i18n",
|
|
73
|
+
"en-US": "currentNum",
|
|
74
|
+
"zh-CN": "currentNum"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"name": "currentNum",
|
|
78
|
+
"setter": {
|
|
79
|
+
"componentName": "NumberSetter",
|
|
80
|
+
"isRequired": true,
|
|
81
|
+
"initialValue": 0
|
|
82
|
+
}
|
|
83
|
+
}, {
|
|
84
|
+
"title": {
|
|
85
|
+
"label": {
|
|
86
|
+
"type": "i18n",
|
|
87
|
+
"en-US": "isMaxLevel",
|
|
88
|
+
"zh-CN": "isMaxLevel"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"name": "isMaxLevel",
|
|
92
|
+
"setter": {
|
|
93
|
+
"componentName": "BoolSetter",
|
|
94
|
+
"isRequired": true,
|
|
95
|
+
"initialValue": false
|
|
96
|
+
}
|
|
97
|
+
}, {
|
|
98
|
+
"title": {
|
|
99
|
+
"label": {
|
|
100
|
+
"type": "i18n",
|
|
101
|
+
"en-US": "gradeImg",
|
|
102
|
+
"zh-CN": "gradeImg"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"name": "gradeImg",
|
|
106
|
+
"setter": {
|
|
107
|
+
"componentName": "StringSetter",
|
|
108
|
+
"isRequired": true,
|
|
109
|
+
"initialValue": ""
|
|
110
|
+
}
|
|
111
|
+
}, {
|
|
112
|
+
"title": {
|
|
113
|
+
"label": {
|
|
114
|
+
"type": "i18n",
|
|
115
|
+
"en-US": "isFastExpireCoupon",
|
|
116
|
+
"zh-CN": "isFastExpireCoupon"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"name": "isFastExpireCoupon",
|
|
120
|
+
"setter": {
|
|
121
|
+
"componentName": "BoolSetter",
|
|
122
|
+
"isRequired": true,
|
|
123
|
+
"initialValue": false
|
|
124
|
+
}
|
|
125
|
+
}, {
|
|
126
|
+
"title": {
|
|
127
|
+
"label": {
|
|
128
|
+
"type": "i18n",
|
|
129
|
+
"en-US": "handleClick",
|
|
130
|
+
"zh-CN": "handleClick"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"name": "handleClick",
|
|
134
|
+
"setter": {
|
|
135
|
+
"componentName": "FunctionSetter",
|
|
136
|
+
"isRequired": false
|
|
137
|
+
}
|
|
138
|
+
}, {
|
|
139
|
+
"title": {
|
|
140
|
+
"label": {
|
|
141
|
+
"type": "i18n",
|
|
142
|
+
"en-US": "handleCouponClick",
|
|
143
|
+
"zh-CN": "handleCouponClick"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"name": "handleCouponClick",
|
|
147
|
+
"setter": {
|
|
148
|
+
"componentName": "FunctionSetter",
|
|
149
|
+
"isRequired": false
|
|
150
|
+
}
|
|
151
|
+
}],
|
|
152
|
+
"supports": {
|
|
153
|
+
"style": true
|
|
154
|
+
},
|
|
155
|
+
"component": {}
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
var snippets = [{
|
|
159
|
+
"title": "MemberCard",
|
|
160
|
+
"screenshot": "",
|
|
161
|
+
"schema": {
|
|
162
|
+
"componentName": "MemberCard",
|
|
163
|
+
"props": {}
|
|
164
|
+
}
|
|
165
|
+
}];
|
|
166
|
+
export default _extends({}, MemberCardMeta, {
|
|
167
|
+
snippets: snippets
|
|
168
|
+
});
|
|
@@ -70,6 +70,21 @@ var MessageListMeta = {
|
|
|
70
70
|
setter: {
|
|
71
71
|
componentName: 'FunctionSetter'
|
|
72
72
|
}
|
|
73
|
+
}, {
|
|
74
|
+
title: {
|
|
75
|
+
label: {
|
|
76
|
+
type: 'i18n',
|
|
77
|
+
'en-US': 'handleDataList',
|
|
78
|
+
'zh-CN': 'tab改变事件'
|
|
79
|
+
},
|
|
80
|
+
tip: 'onChange | 改变事件'
|
|
81
|
+
},
|
|
82
|
+
name: 'handleDataList',
|
|
83
|
+
description: 'tab改变事件',
|
|
84
|
+
setter: {
|
|
85
|
+
componentName: 'FunctionSetter',
|
|
86
|
+
isRequired: true
|
|
87
|
+
}
|
|
73
88
|
}],
|
|
74
89
|
supports: {
|
|
75
90
|
style: true
|
package/lowcode_es/meta.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import AddressListMeta from 'D:/project/company2/lowcode-material/lowcode/address-list/meta';
|
|
2
3
|
import Button2Meta from 'D:/project/company2/lowcode-material/lowcode/button2/meta';
|
|
3
4
|
import CustomRadioGroupItemMeta from 'D:/project/company2/lowcode-material/lowcode/custom-radio-group-item/meta';
|
|
4
5
|
import CustomRadioGroupMeta from 'D:/project/company2/lowcode-material/lowcode/custom-radio-group/meta';
|
|
@@ -8,6 +9,7 @@ import GoodsCardListCommonMeta from 'D:/project/company2/lowcode-material/lowcod
|
|
|
8
9
|
import GoodsCardListMeta from 'D:/project/company2/lowcode-material/lowcode/goods-card-list/meta';
|
|
9
10
|
import GridNavMeta from 'D:/project/company2/lowcode-material/lowcode/grid-nav/meta';
|
|
10
11
|
import IntegralTaskMeta from 'D:/project/company2/lowcode-material/lowcode/integral-task/meta';
|
|
12
|
+
import MemberCardMeta from 'D:/project/company2/lowcode-material/lowcode/member-card/meta';
|
|
11
13
|
import MenuListMeta from 'D:/project/company2/lowcode-material/lowcode/menu-list/meta';
|
|
12
14
|
import MessageListMeta from 'D:/project/company2/lowcode-material/lowcode/message-list/meta';
|
|
13
15
|
import NavigationMeta from 'D:/project/company2/lowcode-material/lowcode/navigation/meta';
|
|
@@ -15,6 +17,7 @@ import NoticeBarMeta from 'D:/project/company2/lowcode-material/lowcode/notice-b
|
|
|
15
17
|
import PositionMeta from 'D:/project/company2/lowcode-material/lowcode/position/meta';
|
|
16
18
|
import RichTextMeta from 'D:/project/company2/lowcode-material/lowcode/rich-text/meta';
|
|
17
19
|
import SearchBarMeta from 'D:/project/company2/lowcode-material/lowcode/search-bar/meta';
|
|
20
|
+
import ShoppingCartMeta from 'D:/project/company2/lowcode-material/lowcode/shopping-cart/meta';
|
|
18
21
|
import StreamListMeta from 'D:/project/company2/lowcode-material/lowcode/stream-list/meta';
|
|
19
22
|
import SwiperMeta from 'D:/project/company2/lowcode-material/lowcode/swiper/meta';
|
|
20
23
|
import TabContainerItemMeta from 'D:/project/company2/lowcode-material/lowcode/tab-container-item/meta';
|
|
@@ -24,6 +27,7 @@ import TagCMeta from 'D:/project/company2/lowcode-material/lowcode/tag-c/meta';
|
|
|
24
27
|
import TeletextListMeta from 'D:/project/company2/lowcode-material/lowcode/teletext-list/meta';
|
|
25
28
|
import Title1Meta from 'D:/project/company2/lowcode-material/lowcode/title1/meta';
|
|
26
29
|
import Title2Meta from 'D:/project/company2/lowcode-material/lowcode/title2/meta';
|
|
30
|
+
import UserCardMeta from 'D:/project/company2/lowcode-material/lowcode/user-card/meta';
|
|
27
31
|
var componentCategorySort = {};
|
|
28
32
|
["基础元素", "布局容器类", "表格类", "表单详情类", "帮助类", "对话框类", "业务类", "通用", "引导", "信息输入", "信息展示", "信息反馈"].reverse().forEach(function (item, index) {
|
|
29
33
|
componentCategorySort[item] = ++index;
|
|
@@ -95,7 +99,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
95
99
|
packageName = '@dckj-npm/dc-material';
|
|
96
100
|
}
|
|
97
101
|
if (version === void 0) {
|
|
98
|
-
version = '0.1.
|
|
102
|
+
version = '0.1.150';
|
|
99
103
|
}
|
|
100
104
|
if (basicLibraryVersion === void 0) {
|
|
101
105
|
basicLibraryVersion = {
|
|
@@ -122,7 +126,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
|
|
|
122
126
|
}
|
|
123
127
|
return meta;
|
|
124
128
|
}
|
|
125
|
-
var componentMetas = [Button2Meta, CustomRadioGroupItemMeta, CustomRadioGroupMeta, DCSliderMeta, FormMeta, GoodsCardListCommonMeta, GoodsCardListMeta, GridNavMeta, IntegralTaskMeta, MenuListMeta, MessageListMeta, NavigationMeta, NoticeBarMeta, PositionMeta, RichTextMeta, SearchBarMeta, StreamListMeta, SwiperMeta, TabContainerItemMeta, TabContainerMeta, TabMessageMeta, TagCMeta, TeletextListMeta, Title1Meta, Title2Meta];
|
|
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];
|
|
126
130
|
var components = [];
|
|
127
131
|
var npmInfo = {};
|
|
128
132
|
componentMetas.forEach(function (meta) {
|
|
@@ -20,6 +20,9 @@ var SearchBarMeta = {
|
|
|
20
20
|
events: [{
|
|
21
21
|
name: 'onClick'
|
|
22
22
|
// template: "onSearch(params,${extParams}){\n window.location.href=`http://localhost:4500/preview.html?pathId=${params.pathId}`;\n console.log(params.pathId) \n}"
|
|
23
|
+
}, {
|
|
24
|
+
name: 'onConfirm'
|
|
25
|
+
// template: "onSearch(params,${extParams}){\n window.location.href=`http://localhost:4500/preview.html?pathId=${params.pathId}`;\n console.log(params.pathId) \n}"
|
|
23
26
|
}]
|
|
24
27
|
},
|
|
25
28
|
props: [{
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
snippets: IPublicTypeSnippet[];
|
|
4
|
+
componentName: string;
|
|
5
|
+
uri?: string;
|
|
6
|
+
title?: import("@alilc/lowcode-types").IPublicTypeTitleContent;
|
|
7
|
+
icon?: import("@alilc/lowcode-types").IPublicTypeIconType;
|
|
8
|
+
tags?: string[];
|
|
9
|
+
description?: string;
|
|
10
|
+
docUrl?: string;
|
|
11
|
+
screenshot?: string;
|
|
12
|
+
devMode?: "proCode" | "lowCode";
|
|
13
|
+
npm?: import("@alilc/lowcode-types").IPublicTypeNpmInfo;
|
|
14
|
+
props?: import("@alilc/lowcode-types").IPublicTypePropConfig[];
|
|
15
|
+
configure?: import("@alilc/lowcode-types").IPublicTypeFieldConfig[] | import("@alilc/lowcode-types").IPublicTypeConfigure;
|
|
16
|
+
experimental?: import("@alilc/lowcode-types").IPublicTypeAdvanced;
|
|
17
|
+
schema?: import("@alilc/lowcode-types").IPublicTypeComponentSchema;
|
|
18
|
+
group?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
19
|
+
category?: string | import("@alilc/lowcode-types").IPublicTypeI18nData;
|
|
20
|
+
priority?: number;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|