@cloudbase/weda-ui 3.4.0 → 3.4.1
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/dist/configs/actions/showMessage.json +45 -0
- package/dist/configs/components/carousel.json +75 -65
- package/dist/configs/components/chart/bar.json +37 -1
- package/dist/configs/components/chart/line.json +3 -0
- package/dist/configs/components/chart/pie.json +3 -0
- package/dist/configs/components/container.json +15 -1
- package/dist/configs/components/dataView.json +45 -2
- package/dist/configs/components/form/location.json +1 -1
- package/dist/configs/components/form/richText.json +1 -1
- package/dist/configs/components/form/uploaderFile.json +3 -2
- package/dist/configs/components/formdetail.json +5 -0
- package/dist/configs/components/image.json +5 -2
- package/dist/configs/components/link.json +4 -1
- package/dist/configs/components/listView.json +109 -34
- package/dist/configs/components/richtextview.json +4 -1
- package/dist/configs/components/scrollVeiw.json +16 -1
- package/dist/configs/components/swiper.json +46 -37
- package/dist/configs/components/text.json +11 -5
- package/dist/configs/components/wxOpenApi/phone.json +1 -1
- package/dist/configs/components/wxOpenApi/phoneCode.json +1 -1
- package/dist/configs/components/wxOpenApi/userInfo.json +13 -1
- package/dist/configs/index.d.ts +2 -0
- package/dist/configs/index.js +2 -0
- package/dist/web/actions/index.d.ts +1 -0
- package/dist/web/actions/index.js +1 -0
- package/dist/web/actions/showMessage/index.css +6 -0
- package/dist/web/actions/showMessage/index.d.ts +17 -0
- package/dist/web/actions/showMessage/index.js +39 -0
- package/dist/web/components/button/index.d.ts +3 -2
- package/dist/web/components/button/index.js +14 -3
- package/dist/web/components/common/use-loop-render-detect.js +7 -6
- package/dist/web/components/form/form/index.js +13 -53
- package/dist/web/components/form/uploader/uploader.h5.js +1 -1
- package/dist/web/components/form/uploader/uploader.pc.js +2 -0
- package/dist/web/components/form/uploaderFile/uploadFile.h5.js +12 -10
- package/dist/web/components/form/uploaderFile/uploadFile.pc.d.ts +11 -0
- package/dist/web/components/form/uploaderFile/uploadFile.pc.js +10 -8
- package/dist/web/components/form/userOrgSelect/comTool.js +6 -3
- package/dist/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.pc.js +4 -4
- package/dist/web/components/form/userOrgSelect/getUserService.js +2 -1
- package/dist/web/components/form/userOrgSelect/userOrgSelect.css +10 -12
- package/dist/web/components/form/userOrgSelect/userTreeSelect.pc.js +36 -17
- package/dist/web/components/form/userOrgSelect/utils.d.ts +1 -0
- package/dist/web/components/form/userOrgSelect/utils.js +15 -0
- package/dist/web/components/formdetail/index.css +40 -27
- package/dist/web/components/formdetail/index.js +22 -19
- package/dist/web/components/link/index.js +2 -1
- package/dist/web/components/listView/index.css +5 -1
- package/dist/web/components/listView/index.js +22 -2
- package/dist/web/components/navigationBar/index.js +8 -3
- package/dist/web/components/phone/index.js +4 -1
- package/dist/web/components/phoneCode/index.js +4 -1
- package/dist/web/components/richText/index.d.ts +1 -1
- package/dist/web/components/richText/index.js +6 -6
- package/dist/web/components/share/index.js +4 -1
- package/dist/web/components/text/index.js +2 -1
- package/dist/web/components/userInfo/index.js +4 -1
- package/dist/web/utils/console.js +1 -1
- package/dist/web/utils/platform.d.ts +11 -1
- package/dist/web/utils/platform.js +61 -12
- package/package.json +2 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_action.json",
|
|
3
|
+
"data": {
|
|
4
|
+
"properties": {
|
|
5
|
+
"title": {
|
|
6
|
+
"title": "标题",
|
|
7
|
+
"type": "string",
|
|
8
|
+
"default": "提示的内容"
|
|
9
|
+
},
|
|
10
|
+
"icon": {
|
|
11
|
+
"title": "图标",
|
|
12
|
+
"type": "string",
|
|
13
|
+
"default": "success",
|
|
14
|
+
"x-component": "radio",
|
|
15
|
+
"enum": [
|
|
16
|
+
{
|
|
17
|
+
"label": "success",
|
|
18
|
+
"value": "success"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"label": "loading",
|
|
22
|
+
"value": "loading"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"label": "error",
|
|
26
|
+
"value": "error"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"label": "none",
|
|
30
|
+
"value": "none"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"duration": {
|
|
35
|
+
"title": "提示的延迟时间",
|
|
36
|
+
"type": "number",
|
|
37
|
+
"default": 1500
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"meta": {
|
|
42
|
+
"title": "showMessage",
|
|
43
|
+
"description": "信息提示"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -2,71 +2,6 @@
|
|
|
2
2
|
"$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
|
-
"autoplay": {
|
|
6
|
-
"title": "自动切换",
|
|
7
|
-
"default": true,
|
|
8
|
-
"type": "boolean",
|
|
9
|
-
"x-category": "基础属性",
|
|
10
|
-
"remarks": "开启后,轮播图将会自动根据配置的时间间隔进行自动滚动,关闭后则轮播图仅支持通过点击锚点的方式进行切换"
|
|
11
|
-
},
|
|
12
|
-
"indicatorDots": {
|
|
13
|
-
"title": "导航锚点",
|
|
14
|
-
"default": true,
|
|
15
|
-
"type": "boolean",
|
|
16
|
-
"x-category": "高级属性",
|
|
17
|
-
"remarks": "开启/关闭轮播图锚点"
|
|
18
|
-
},
|
|
19
|
-
"current": {
|
|
20
|
-
"title": "当前所在滑块的 index",
|
|
21
|
-
"default": 0,
|
|
22
|
-
"type": "number",
|
|
23
|
-
"x-category": "高级属性",
|
|
24
|
-
"remarks": "更改轮播图的默认展示位置,0为默认展示第一张轮播图,以此类推"
|
|
25
|
-
},
|
|
26
|
-
"interval": {
|
|
27
|
-
"title": "自动切换时间间隔",
|
|
28
|
-
"default": 5000,
|
|
29
|
-
"type": "number",
|
|
30
|
-
"x-category": "基础属性",
|
|
31
|
-
"remarks": "配置轮播图滚动的时间间隔,时间单位为ms"
|
|
32
|
-
},
|
|
33
|
-
"duration": {
|
|
34
|
-
"title": "滑动动画时长",
|
|
35
|
-
"default": 500,
|
|
36
|
-
"type": "number",
|
|
37
|
-
"x-category": "高级属性",
|
|
38
|
-
"remarks": "更改轮播图切换时的滑动动画时长"
|
|
39
|
-
},
|
|
40
|
-
"circular": {
|
|
41
|
-
"title": "衔接滑动",
|
|
42
|
-
"default": true,
|
|
43
|
-
"type": "boolean",
|
|
44
|
-
"x-category": "高级属性",
|
|
45
|
-
"remarks": "更改轮播图切换时动画的滑动方式"
|
|
46
|
-
},
|
|
47
|
-
"vertical": {
|
|
48
|
-
"title": "纵向轮播",
|
|
49
|
-
"default": false,
|
|
50
|
-
"type": "boolean",
|
|
51
|
-
"x-category": "基础属性",
|
|
52
|
-
"remarks": "开启后,轮播的滚动方式将会由横向滚动变更为纵向滚动"
|
|
53
|
-
},
|
|
54
|
-
"indicatorColor": {
|
|
55
|
-
"title": "锚点颜色",
|
|
56
|
-
"type": "string",
|
|
57
|
-
"x-component": "color",
|
|
58
|
-
"default": "rgba(200, 200, 200, 0.9)",
|
|
59
|
-
"x-category": "高级属性",
|
|
60
|
-
"remarks": "更改锚点普通状态下的颜色"
|
|
61
|
-
},
|
|
62
|
-
"indicatorActiveColor": {
|
|
63
|
-
"title": "锚点激活色",
|
|
64
|
-
"type": "string",
|
|
65
|
-
"x-component": "color",
|
|
66
|
-
"default": "rgba(0, 0, 0, 0.9)",
|
|
67
|
-
"x-category": "高级属性",
|
|
68
|
-
"remarks": "更改锚点选中时的颜色"
|
|
69
|
-
},
|
|
70
5
|
"images": {
|
|
71
6
|
"type": "array",
|
|
72
7
|
"items": {
|
|
@@ -271,7 +206,82 @@
|
|
|
271
206
|
"width": "100%"
|
|
272
207
|
}
|
|
273
208
|
],
|
|
209
|
+
"x-index": 1,
|
|
274
210
|
"x-component": "list"
|
|
211
|
+
},
|
|
212
|
+
"interval": {
|
|
213
|
+
"title": "自动切换时间间隔",
|
|
214
|
+
"default": 5000,
|
|
215
|
+
"type": "number",
|
|
216
|
+
"x-index": 2,
|
|
217
|
+
"x-category": "基础属性",
|
|
218
|
+
"remarks": "配置轮播图滚动的时间间隔,时间单位为ms"
|
|
219
|
+
},
|
|
220
|
+
"vertical": {
|
|
221
|
+
"title": "纵向轮播",
|
|
222
|
+
"default": false,
|
|
223
|
+
"type": "boolean",
|
|
224
|
+
"x-category": "基础属性",
|
|
225
|
+
"x-index": 3,
|
|
226
|
+
"remarks": "开启后,轮播的滚动方式将会由横向滚动变更为纵向滚动"
|
|
227
|
+
},
|
|
228
|
+
"autoplay": {
|
|
229
|
+
"title": "自动切换",
|
|
230
|
+
"default": true,
|
|
231
|
+
"type": "boolean",
|
|
232
|
+
"x-index": 4,
|
|
233
|
+
"x-category": "基础属性",
|
|
234
|
+
"remarks": "开启后,轮播图将会自动根据配置的时间间隔进行自动滚动,关闭后则轮播图仅支持通过点击锚点的方式进行切换"
|
|
235
|
+
},
|
|
236
|
+
"indicatorActiveColor": {
|
|
237
|
+
"title": "锚点激活色",
|
|
238
|
+
"type": "string",
|
|
239
|
+
"x-component": "color",
|
|
240
|
+
"x-index": 5,
|
|
241
|
+
"default": "rgba(0, 0, 0, 0.9)",
|
|
242
|
+
"x-category": "高级属性",
|
|
243
|
+
"remarks": "更改锚点选中时的颜色"
|
|
244
|
+
},
|
|
245
|
+
"indicatorColor": {
|
|
246
|
+
"title": "锚点颜色",
|
|
247
|
+
"type": "string",
|
|
248
|
+
"x-component": "color",
|
|
249
|
+
"x-index": 6,
|
|
250
|
+
"default": "rgba(200, 200, 200, 0.9)",
|
|
251
|
+
"x-category": "高级属性",
|
|
252
|
+
"remarks": "更改锚点普通状态下的颜色"
|
|
253
|
+
},
|
|
254
|
+
"duration": {
|
|
255
|
+
"title": "滑动动画时长",
|
|
256
|
+
"default": 500,
|
|
257
|
+
"type": "number",
|
|
258
|
+
"x-index": 7,
|
|
259
|
+
"x-category": "高级属性",
|
|
260
|
+
"remarks": "更改轮播图切换时的滑动动画时长"
|
|
261
|
+
},
|
|
262
|
+
"current": {
|
|
263
|
+
"title": "当前所在滑块的 index",
|
|
264
|
+
"default": 0,
|
|
265
|
+
"type": "number",
|
|
266
|
+
"x-index": 8,
|
|
267
|
+
"x-category": "高级属性",
|
|
268
|
+
"remarks": "更改轮播图的默认展示位置,0为默认展示第一张轮播图,以此类推"
|
|
269
|
+
},
|
|
270
|
+
"circular": {
|
|
271
|
+
"title": "衔接滑动",
|
|
272
|
+
"default": true,
|
|
273
|
+
"x-index": 9,
|
|
274
|
+
"type": "boolean",
|
|
275
|
+
"x-category": "高级属性",
|
|
276
|
+
"remarks": "更改轮播图切换时动画的滑动方式"
|
|
277
|
+
},
|
|
278
|
+
"indicatorDots": {
|
|
279
|
+
"title": "导航锚点",
|
|
280
|
+
"default": true,
|
|
281
|
+
"type": "boolean",
|
|
282
|
+
"x-category": "高级属性",
|
|
283
|
+
"x-index": 10,
|
|
284
|
+
"remarks": "开启/关闭轮播图锚点"
|
|
275
285
|
}
|
|
276
286
|
}
|
|
277
287
|
},
|
|
@@ -292,7 +292,40 @@
|
|
|
292
292
|
"remarks": "展示模型数据的数据来源"
|
|
293
293
|
},
|
|
294
294
|
"datasourceVariable": {
|
|
295
|
-
"type": "
|
|
295
|
+
"type": "array",
|
|
296
|
+
"items": {
|
|
297
|
+
"type": "object",
|
|
298
|
+
"properties": {
|
|
299
|
+
"XLabel": {
|
|
300
|
+
"type": "object",
|
|
301
|
+
"properties": {
|
|
302
|
+
"Name": {
|
|
303
|
+
"type": "string"
|
|
304
|
+
},
|
|
305
|
+
"Value": {
|
|
306
|
+
"type": "string"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
"required": ["Name", "Value"]
|
|
310
|
+
},
|
|
311
|
+
"YLabels": {
|
|
312
|
+
"type": "array",
|
|
313
|
+
"items": {
|
|
314
|
+
"type": "object",
|
|
315
|
+
"properties": {
|
|
316
|
+
"Name": {
|
|
317
|
+
"type": "string"
|
|
318
|
+
},
|
|
319
|
+
"Value": {
|
|
320
|
+
"type": "number"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"required": ["Name", "Value"]
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"required": ["XLabel", "YLabels"]
|
|
328
|
+
},
|
|
296
329
|
"x-index": 53,
|
|
297
330
|
"title": "数据源变量",
|
|
298
331
|
"x-category": "基础属性",
|
|
@@ -306,6 +339,9 @@
|
|
|
306
339
|
"x-component": "connector-select",
|
|
307
340
|
"x-index": 54,
|
|
308
341
|
"x-category": "基础属性",
|
|
342
|
+
"x-props": {
|
|
343
|
+
"data-hidebind": true
|
|
344
|
+
},
|
|
309
345
|
"x-linkages": [
|
|
310
346
|
{
|
|
311
347
|
"type": "value:schema",
|
|
@@ -45,6 +45,20 @@
|
|
|
45
45
|
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Container.svg"
|
|
46
46
|
},
|
|
47
47
|
"configMeta": {
|
|
48
|
-
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/grid/Container"
|
|
48
|
+
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/grid/Container",
|
|
49
|
+
"shortcut": {
|
|
50
|
+
"extra": {
|
|
51
|
+
"container": {
|
|
52
|
+
"x-component": "container",
|
|
53
|
+
"x-component-props": [
|
|
54
|
+
"gsd-h5-react:Text",
|
|
55
|
+
"CLOUDBASE_STANDARD:Button",
|
|
56
|
+
"gsd-h5-react:Image",
|
|
57
|
+
"CLOUDBASE_STANDARD:FormInput"
|
|
58
|
+
],
|
|
59
|
+
"x-index": 1
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
49
63
|
}
|
|
50
64
|
}
|
|
@@ -56,6 +56,29 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
],
|
|
59
|
+
"x-component": "dsc-datasource-type-select",
|
|
60
|
+
"x-component-props": {
|
|
61
|
+
"defaultValue": "data-model",
|
|
62
|
+
"options": [
|
|
63
|
+
{
|
|
64
|
+
"value": "data-model",
|
|
65
|
+
"text": "数据模型",
|
|
66
|
+
"label": "数据模型",
|
|
67
|
+
"icon": "database",
|
|
68
|
+
"isShow": true
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"value": "custom-connector",
|
|
72
|
+
"text": "自定义APIs",
|
|
73
|
+
"label": "自定义APIs",
|
|
74
|
+
"icon": "custom-connector",
|
|
75
|
+
"isShow": true
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"x-props": {
|
|
80
|
+
"data-hidebind": true
|
|
81
|
+
},
|
|
59
82
|
"remarks": "数据源类型选择"
|
|
60
83
|
},
|
|
61
84
|
"datasource": {
|
|
@@ -124,6 +147,9 @@
|
|
|
124
147
|
}
|
|
125
148
|
}
|
|
126
149
|
],
|
|
150
|
+
"x-props": {
|
|
151
|
+
"data-hidebind": true
|
|
152
|
+
},
|
|
127
153
|
"remarks": "展示数据的自定义APIs来源选择"
|
|
128
154
|
},
|
|
129
155
|
"connectorMethod": {
|
|
@@ -132,6 +158,9 @@
|
|
|
132
158
|
"x-component": "connector-method-select",
|
|
133
159
|
"x-index": 16,
|
|
134
160
|
"x-category": "基础属性",
|
|
161
|
+
"x-props": {
|
|
162
|
+
"data-hidebind": true
|
|
163
|
+
},
|
|
135
164
|
"remarks": "展示数据的自定义APIs调用方法选择"
|
|
136
165
|
},
|
|
137
166
|
"connectorParams": {
|
|
@@ -237,11 +266,25 @@
|
|
|
237
266
|
"meta": {
|
|
238
267
|
"title": "数据详情",
|
|
239
268
|
"category": "数据容器",
|
|
240
|
-
"description": "
|
|
269
|
+
"description": "适用于从数据源中查询一条数据,并将返回数据展示的场景,如查询访客预约详情。",
|
|
241
270
|
"componentOrder": 1000,
|
|
242
271
|
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/DataView.svg"
|
|
243
272
|
},
|
|
244
273
|
"configMeta": {
|
|
245
|
-
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/database/DataView"
|
|
274
|
+
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/database/DataView",
|
|
275
|
+
"shortcut": {
|
|
276
|
+
"props": [
|
|
277
|
+
"dataSourceType",
|
|
278
|
+
"datasource",
|
|
279
|
+
"where",
|
|
280
|
+
"bindConnectMetadata",
|
|
281
|
+
"connectorMethod",
|
|
282
|
+
"connectorParams"
|
|
283
|
+
]
|
|
284
|
+
},
|
|
285
|
+
"contextData": {
|
|
286
|
+
"setField": true,
|
|
287
|
+
"setRelated": true
|
|
288
|
+
}
|
|
246
289
|
}
|
|
247
290
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
5
|
"src": {
|
|
6
|
-
"title": "
|
|
6
|
+
"title": "地址",
|
|
7
7
|
"type": "string",
|
|
8
8
|
"x-component": "image",
|
|
9
9
|
"x-rules": [
|
|
@@ -182,6 +182,9 @@
|
|
|
182
182
|
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Image.svg"
|
|
183
183
|
},
|
|
184
184
|
"configMeta": {
|
|
185
|
-
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/media/Image"
|
|
185
|
+
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/media/Image",
|
|
186
|
+
"shortcut": {
|
|
187
|
+
"props": ["src"]
|
|
188
|
+
}
|
|
186
189
|
}
|
|
187
190
|
}
|
|
@@ -68,7 +68,10 @@
|
|
|
68
68
|
"platform": ["MOBILEWEB", "PCWEB"]
|
|
69
69
|
},
|
|
70
70
|
"configMeta": {
|
|
71
|
-
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/text/Link"
|
|
71
|
+
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/text/Link",
|
|
72
|
+
"shortcut": {
|
|
73
|
+
"props": ["content", "url"]
|
|
74
|
+
}
|
|
72
75
|
},
|
|
73
76
|
"events": [
|
|
74
77
|
{
|
|
@@ -2,9 +2,53 @@
|
|
|
2
2
|
"$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
|
|
3
3
|
"data": {
|
|
4
4
|
"properties": {
|
|
5
|
+
"template": {
|
|
6
|
+
"x-index": 4,
|
|
7
|
+
"title": "模板",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"x-category": "基础属性",
|
|
10
|
+
"default": "simpleList",
|
|
11
|
+
"enum": [
|
|
12
|
+
{
|
|
13
|
+
"label": "空白",
|
|
14
|
+
"value": "none",
|
|
15
|
+
"tooltip": "不使用模板",
|
|
16
|
+
"src": "https://cloudcache.tencent-cloud.com/qcloud/ui/static/static_source_business/924e8472-9c52-46bc-bae7-e1ec30b92974.svg"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"label": "简单列表",
|
|
20
|
+
"value": "simpleList",
|
|
21
|
+
"tooltip": "使用简单列表模板",
|
|
22
|
+
"src": "https://cloudcache.tencent-cloud.com/qcloud/ui/static/static_source_business/2563df4d-2db0-449f-a545-825f5a66a848.svg"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"label": "详细列表",
|
|
26
|
+
"value": "detailList",
|
|
27
|
+
"tooltip": "使用详细列表模板",
|
|
28
|
+
"src": "https://cloudcache.tencent-cloud.com/qcloud/ui/static/static_source_business/c4f78f1c-f93a-4b40-8253-42541a609fa4.svg"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"label": "图文列表",
|
|
32
|
+
"value": "imageTextList",
|
|
33
|
+
"tooltip": "使用图文列表模板",
|
|
34
|
+
"src": "https://cloudcache.tencent-cloud.com/qcloud/ui/static/static_source_business/58cad863-a9b6-4c51-b3f3-d6036ef4d0b7.svg"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"label": "卡片列表",
|
|
38
|
+
"value": "cardList",
|
|
39
|
+
"tooltip": "使用卡片列表模板",
|
|
40
|
+
"src": "https://cloudcache.tencent-cloud.com/qcloud/ui/static/static_source_business/d92ff460-bc94-4162-9c0e-d04224dd1919.svg"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"x-component": "data-sources-template-selector",
|
|
44
|
+
"x-props": {
|
|
45
|
+
"data-hidebind": true
|
|
46
|
+
},
|
|
47
|
+
"remarks": "列表内容样式的预设模板"
|
|
48
|
+
},
|
|
5
49
|
"dataSourceType": {
|
|
6
50
|
"x-index": 5,
|
|
7
|
-
"title": "
|
|
51
|
+
"title": "数据源",
|
|
8
52
|
"x-category": "基础属性",
|
|
9
53
|
"type": "string",
|
|
10
54
|
"default": "data-model",
|
|
@@ -56,6 +100,29 @@
|
|
|
56
100
|
}
|
|
57
101
|
}
|
|
58
102
|
],
|
|
103
|
+
"x-component": "dsc-datasource-type-select",
|
|
104
|
+
"x-component-props": {
|
|
105
|
+
"defaultValue": "data-model",
|
|
106
|
+
"options": [
|
|
107
|
+
{
|
|
108
|
+
"value": "data-model",
|
|
109
|
+
"text": "数据模型",
|
|
110
|
+
"label": "数据模型",
|
|
111
|
+
"icon": "database",
|
|
112
|
+
"isShow": true
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"value": "custom-connector",
|
|
116
|
+
"text": "自定义APIs",
|
|
117
|
+
"label": "自定义APIs",
|
|
118
|
+
"icon": "custom-connector",
|
|
119
|
+
"isShow": true
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"x-props": {
|
|
124
|
+
"data-hidebind": true
|
|
125
|
+
},
|
|
59
126
|
"remarks": "数据源类型选择"
|
|
60
127
|
},
|
|
61
128
|
"datasource": {
|
|
@@ -156,6 +223,9 @@
|
|
|
156
223
|
}
|
|
157
224
|
}
|
|
158
225
|
],
|
|
226
|
+
"x-props": {
|
|
227
|
+
"data-hidebind": true
|
|
228
|
+
},
|
|
159
229
|
"remarks": "展示数据的自定义APIs来源选择"
|
|
160
230
|
},
|
|
161
231
|
"connectorMethod": {
|
|
@@ -164,6 +234,9 @@
|
|
|
164
234
|
"x-component": "connector-method-select",
|
|
165
235
|
"x-index": 16,
|
|
166
236
|
"x-category": "基础属性",
|
|
237
|
+
"x-props": {
|
|
238
|
+
"data-hidebind": true
|
|
239
|
+
},
|
|
167
240
|
"remarks": "展示数据的自定义APIs调用方法选择"
|
|
168
241
|
},
|
|
169
242
|
"connectorParams": {
|
|
@@ -276,37 +349,6 @@
|
|
|
276
349
|
"remarks": "设置单次加载的数据条数",
|
|
277
350
|
"display": true
|
|
278
351
|
},
|
|
279
|
-
"template": {
|
|
280
|
-
"x-index": 65,
|
|
281
|
-
"title": "模板",
|
|
282
|
-
"type": "string",
|
|
283
|
-
"x-category": "基础属性",
|
|
284
|
-
"default": "simpleList",
|
|
285
|
-
"enum": [
|
|
286
|
-
{
|
|
287
|
-
"label": "简单列表",
|
|
288
|
-
"value": "simpleList"
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"label": "详细列表",
|
|
292
|
-
"value": "detailList"
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
"label": "图文列表",
|
|
296
|
-
"value": "imageTextList"
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"label": "卡片列表",
|
|
300
|
-
"value": "cardList"
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"label": "不使用模板",
|
|
304
|
-
"value": "none"
|
|
305
|
-
}
|
|
306
|
-
],
|
|
307
|
-
"x-component": "data-sources-template-selector",
|
|
308
|
-
"remarks": "列表内容样式的预设模板"
|
|
309
|
-
},
|
|
310
352
|
"pagination": {
|
|
311
353
|
"x-index": 70,
|
|
312
354
|
"title": "分页",
|
|
@@ -331,6 +373,9 @@
|
|
|
331
373
|
"value": "none"
|
|
332
374
|
}
|
|
333
375
|
],
|
|
376
|
+
"x-props": {
|
|
377
|
+
"data-hidebind": true
|
|
378
|
+
},
|
|
334
379
|
"remarks": "数据分页样式"
|
|
335
380
|
},
|
|
336
381
|
"isSetStatus": {
|
|
@@ -368,11 +413,41 @@
|
|
|
368
413
|
"meta": {
|
|
369
414
|
"title": "数据列表",
|
|
370
415
|
"category": "数据容器",
|
|
371
|
-
"description": "
|
|
416
|
+
"description": "适用于从数据源中查询多条数据,并将返回列表循环展示的场景,如查询用户列表。",
|
|
372
417
|
"componentOrder": 1000,
|
|
373
418
|
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/ListView.svg"
|
|
374
419
|
},
|
|
375
420
|
"configMeta": {
|
|
376
|
-
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/database/ListView"
|
|
421
|
+
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/database/ListView",
|
|
422
|
+
"shortcut": {
|
|
423
|
+
"props": [
|
|
424
|
+
"dataSourceType",
|
|
425
|
+
"datasource",
|
|
426
|
+
"bindConnectMetadata",
|
|
427
|
+
"connectorMethod",
|
|
428
|
+
"template"
|
|
429
|
+
]
|
|
430
|
+
},
|
|
431
|
+
"contextData": {
|
|
432
|
+
"setField": true,
|
|
433
|
+
"setRelated": true,
|
|
434
|
+
"extra": {
|
|
435
|
+
"total": {
|
|
436
|
+
"title": "记录总条数",
|
|
437
|
+
"type": "number",
|
|
438
|
+
"x-index": 2
|
|
439
|
+
},
|
|
440
|
+
"pageNo": {
|
|
441
|
+
"title": "页码",
|
|
442
|
+
"type": "number",
|
|
443
|
+
"x-index": 3
|
|
444
|
+
},
|
|
445
|
+
"pageSize": {
|
|
446
|
+
"title": "每页大小",
|
|
447
|
+
"type": "number",
|
|
448
|
+
"x-index": 4
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
}
|
|
377
452
|
}
|
|
378
453
|
}
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/RichTextView.svg"
|
|
22
22
|
},
|
|
23
23
|
"configMeta": {
|
|
24
|
-
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/text/RichTextView"
|
|
24
|
+
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/text/RichTextView",
|
|
25
|
+
"shortcut": {
|
|
26
|
+
"props": ["value"]
|
|
27
|
+
}
|
|
25
28
|
}
|
|
26
29
|
}
|