@cloudbase/weda-ui 3.4.0 → 3.4.2

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.
Files changed (81) hide show
  1. package/dist/configs/actions/showMessage.json +45 -0
  2. package/dist/configs/actions/showModal.json +21 -0
  3. package/dist/configs/actions/showToast.json +11 -2
  4. package/dist/configs/components/button.json +1 -1
  5. package/dist/configs/components/calendar.json +1 -1
  6. package/dist/configs/components/carousel.json +76 -66
  7. package/dist/configs/components/chart/bar.json +39 -3
  8. package/dist/configs/components/chart/line.json +5 -2
  9. package/dist/configs/components/chart/pie.json +5 -2
  10. package/dist/configs/components/chart/statisticsCard.json +6 -6
  11. package/dist/configs/components/container.json +16 -2
  12. package/dist/configs/components/dataView.json +47 -4
  13. package/dist/configs/components/form/departTreeSelect.json +1 -1
  14. package/dist/configs/components/form/form.json +1 -1
  15. package/dist/configs/components/form/location.json +2 -2
  16. package/dist/configs/components/form/richText.json +2 -2
  17. package/dist/configs/components/form/uploader.json +1 -1
  18. package/dist/configs/components/form/uploaderFile.json +4 -3
  19. package/dist/configs/components/form/userTreeSelect.json +1 -1
  20. package/dist/configs/components/formdetail.json +6 -1
  21. package/dist/configs/components/graphicCard.json +1 -1
  22. package/dist/configs/components/image.json +6 -3
  23. package/dist/configs/components/link.json +5 -2
  24. package/dist/configs/components/listView.json +148 -43
  25. package/dist/configs/components/lottery.json +1 -1
  26. package/dist/configs/components/modal.json +2 -1
  27. package/dist/configs/components/navLayout.json +1 -1
  28. package/dist/configs/components/navigationBar.json +1 -1
  29. package/dist/configs/components/richtextview.json +5 -2
  30. package/dist/configs/components/scrollVeiw.json +109 -73
  31. package/dist/configs/components/swiper.json +47 -38
  32. package/dist/configs/components/tabs.json +1 -1
  33. package/dist/configs/components/text.json +12 -6
  34. package/dist/configs/components/wedaVideo.json +1 -1
  35. package/dist/configs/components/wxOpenApi/phone.json +2 -2
  36. package/dist/configs/components/wxOpenApi/phoneCode.json +2 -2
  37. package/dist/configs/components/wxOpenApi/share.json +9 -8
  38. package/dist/configs/components/wxOpenApi/userInfo.json +15 -3
  39. package/dist/configs/index.d.ts +2 -0
  40. package/dist/configs/index.js +2 -0
  41. package/dist/web/actions/index.d.ts +1 -0
  42. package/dist/web/actions/index.js +1 -0
  43. package/dist/web/actions/showMessage/index.css +6 -0
  44. package/dist/web/actions/showMessage/index.d.ts +17 -0
  45. package/dist/web/actions/showMessage/index.js +39 -0
  46. package/dist/web/components/button/index.d.ts +3 -2
  47. package/dist/web/components/button/index.js +14 -3
  48. package/dist/web/components/common/use-loop-render-detect.js +7 -6
  49. package/dist/web/components/form/form/index.js +21 -50
  50. package/dist/web/components/form/uploader/uploader.h5.js +1 -1
  51. package/dist/web/components/form/uploader/uploader.pc.js +2 -0
  52. package/dist/web/components/form/uploaderFile/uploadFile.h5.js +12 -10
  53. package/dist/web/components/form/uploaderFile/uploadFile.pc.d.ts +11 -0
  54. package/dist/web/components/form/uploaderFile/uploadFile.pc.js +10 -8
  55. package/dist/web/components/form/userOrgSelect/comTool.js +4 -3
  56. package/dist/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.h5.js +3 -4
  57. package/dist/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.pc.js +6 -7
  58. package/dist/web/components/form/userOrgSelect/getUserService.js +2 -1
  59. package/dist/web/components/form/userOrgSelect/userOrgSelect.css +10 -12
  60. package/dist/web/components/form/userOrgSelect/userTreeSelect.h5.js +4 -6
  61. package/dist/web/components/form/userOrgSelect/userTreeSelect.pc.js +49 -28
  62. package/dist/web/components/form/userOrgSelect/utils.d.ts +1 -0
  63. package/dist/web/components/form/userOrgSelect/utils.js +15 -0
  64. package/dist/web/components/formdetail/index.css +40 -27
  65. package/dist/web/components/formdetail/index.js +22 -19
  66. package/dist/web/components/link/index.js +2 -1
  67. package/dist/web/components/listView/index.css +5 -1
  68. package/dist/web/components/listView/index.js +22 -2
  69. package/dist/web/components/listView/interface.d.ts +1 -1
  70. package/dist/web/components/navigationBar/index.js +8 -3
  71. package/dist/web/components/phone/index.js +4 -1
  72. package/dist/web/components/phoneCode/index.js +4 -1
  73. package/dist/web/components/richText/index.d.ts +1 -1
  74. package/dist/web/components/richText/index.js +6 -6
  75. package/dist/web/components/share/index.js +4 -1
  76. package/dist/web/components/text/index.js +2 -1
  77. package/dist/web/components/userInfo/index.js +4 -1
  78. package/dist/web/utils/console.js +1 -1
  79. package/dist/web/utils/platform.d.ts +11 -1
  80. package/dist/web/utils/platform.js +61 -12
  81. package/package.json +12 -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
+ }
@@ -5,38 +5,59 @@
5
5
  "title": {
6
6
  "title": "标题",
7
7
  "default": "弹窗标题",
8
+ "x-props": {
9
+ "data-hidebind-variable": true
10
+ },
8
11
  "type": "string"
9
12
  },
10
13
  "content": {
11
14
  "title": "内容",
12
15
  "default": "请输入弹窗内容",
16
+ "x-props": {
17
+ "data-hidebind-variable": true
18
+ },
13
19
  "type": "string"
14
20
  },
15
21
  "showCancel": {
16
22
  "title": "是否显示取消按钮",
17
23
  "type": "boolean",
24
+ "x-props": {
25
+ "data-hidebind-variable": true
26
+ },
18
27
  "default": true
19
28
  },
20
29
  "cancelText": {
21
30
  "type": "string",
22
31
  "title": "取消按钮的文字",
23
32
  "description": "最多 4 个字符",
33
+ "x-props": {
34
+ "data-hidebind-variable": true
35
+ },
24
36
  "default": "取消"
25
37
  },
26
38
  "cancelColor": {
27
39
  "title": "取消按钮的文字颜色",
28
40
  "type": "color",
41
+ "x-props": {
42
+ "data-hidebind-variable": true
43
+ },
29
44
  "default": "#000000"
30
45
  },
31
46
  "confirmText": {
32
47
  "type": "string",
33
48
  "title": "确认按钮的文字",
49
+ "x-props": {
50
+ "data-hidebind-variable": true
51
+ },
34
52
  "description": "最多 4 个字符",
35
53
  "default": "确认"
36
54
  },
37
55
  "confirmColor": {
38
56
  "title": "确认按钮的文字颜色",
39
57
  "type": "color",
58
+ "x-props": {
59
+ "data-hidebind-variable": true
60
+ },
40
61
  "default": "#576B95"
41
62
  }
42
63
  }
@@ -5,13 +5,19 @@
5
5
  "title": {
6
6
  "title": "标题",
7
7
  "type": "string",
8
- "default": "提示的内容"
8
+ "default": "提示的内容",
9
+ "x-props": {
10
+ "data-hidebind-variable": true
11
+ }
9
12
  },
10
13
  "icon": {
11
14
  "title": "图标",
12
15
  "type": "string",
13
16
  "default": "success",
14
17
  "x-component": "radio",
18
+ "x-props": {
19
+ "data-hidebind-variable": true
20
+ },
15
21
  "enum": [
16
22
  {
17
23
  "label": "success",
@@ -30,7 +36,10 @@
30
36
  "duration": {
31
37
  "title": "提示的延迟时间",
32
38
  "type": "number",
33
- "default": 1500
39
+ "default": 1500,
40
+ "x-props": {
41
+ "data-hidebind-variable": true
42
+ }
34
43
  }
35
44
  }
36
45
  },
@@ -231,7 +231,7 @@
231
231
  "name": "Button",
232
232
  "title": "按钮",
233
233
  "description": "按钮组件",
234
- "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Button.svg",
234
+ "icon": "../icons/Button.svg",
235
235
  "category": "展示",
236
236
  "categoryOrder": 1,
237
237
  "componentOrder": 1
@@ -73,7 +73,7 @@
73
73
  "title": "日历",
74
74
  "description": "用于日历展示,例如考勤数据展示、日程展示。",
75
75
  "category": "展示",
76
- "icon": "https://imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Calendar.svg"
76
+ "icon": "../icons/Calendar.svg"
77
77
  },
78
78
  "configMeta": {
79
79
  "docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/show/Calendar"
@@ -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
  },
@@ -286,7 +296,7 @@
286
296
  "description": "轮播图",
287
297
  "category": "展示",
288
298
  "componentOrder": 80,
289
- "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Swiper.svg"
299
+ "icon": "../icons/Carousel.svg"
290
300
  },
291
301
  "mpOrigin": "swiper"
292
302
  }
@@ -142,7 +142,7 @@
142
142
  },
143
143
  "dataSourceType": {
144
144
  "x-index": 45,
145
- "title": "数据源类型",
145
+ "title": "数据源",
146
146
  "x-category": "基础属性",
147
147
  "type": "string",
148
148
  "default": "data-model",
@@ -292,7 +292,40 @@
292
292
  "remarks": "展示模型数据的数据来源"
293
293
  },
294
294
  "datasourceVariable": {
295
- "type": "object",
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",
@@ -951,7 +987,7 @@
951
987
  "meta": {
952
988
  "title": "柱状图",
953
989
  "description": "柱状图组件主要用于报表场景下展示数据之间大小的对比,支持小程序、H5 和 PC Web 端。",
954
- "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Histogram.svg",
990
+ "icon": "../../icons/Bar.svg",
955
991
  "category": "图表组件",
956
992
  "componentOrder": 1,
957
993
  "visible": ["APP"]
@@ -93,7 +93,7 @@
93
93
  },
94
94
  "dataSourceType": {
95
95
  "x-index": 45,
96
- "title": "数据源类型",
96
+ "title": "数据源",
97
97
  "x-category": "基础属性",
98
98
  "type": "string",
99
99
  "default": "data-model",
@@ -255,6 +255,9 @@
255
255
  "title": "自定义APIs",
256
256
  "type": "object",
257
257
  "x-component": "connector-select",
258
+ "x-props": {
259
+ "data-hidebind": true
260
+ },
258
261
  "x-index": 54,
259
262
  "x-category": "基础属性",
260
263
  "x-linkages": [
@@ -867,7 +870,7 @@
867
870
  "meta": {
868
871
  "title": "折线图",
869
872
  "description": "折线图组件主要用于报表场景下展示数据随时间变化产生的趋势,支持小程序、H5 和 PC Web 端。",
870
- "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/LineChart.svg",
873
+ "icon": "../../icons/Line.svg",
871
874
  "category": "图表组件",
872
875
  "componentOrder": 1,
873
876
  "visible": ["APP"]
@@ -85,7 +85,7 @@
85
85
  },
86
86
  "dataSourceType": {
87
87
  "x-index": 42,
88
- "title": "数据源类型",
88
+ "title": "数据源",
89
89
  "x-category": "基础属性",
90
90
  "type": "string",
91
91
  "default": "data-model",
@@ -239,6 +239,9 @@
239
239
  "title": "自定义APIs",
240
240
  "type": "object",
241
241
  "x-component": "connector-select",
242
+ "x-props": {
243
+ "data-hidebind": true
244
+ },
242
245
  "x-index": 45,
243
246
  "x-category": "基础属性",
244
247
  "x-linkages": [
@@ -674,7 +677,7 @@
674
677
  "meta": {
675
678
  "title": "饼图",
676
679
  "description": "饼图组件主要用于报表场景下表示数据在总体中的占比,支持小程序、H5 和 PC Web 端。",
677
- "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/PieChart.svg",
680
+ "icon": "../../icons/Pie.svg",
678
681
  "category": "图表组件",
679
682
  "componentOrder": 1,
680
683
  "visible": ["APP"]
@@ -50,11 +50,6 @@
50
50
  "x-index": 20,
51
51
  "x-category": "基础属性",
52
52
  "x-component": "condition-select",
53
- "x-props": {
54
- "data-hidebind": true,
55
- "data-hideBindValue": true,
56
- "data-withBindMeta": true
57
- },
58
53
  "x-component-props": {
59
54
  "dataSourceNamePropKey": "dataSource",
60
55
  "blackListConfig": {
@@ -136,6 +131,11 @@
136
131
  }
137
132
  ]
138
133
  }
134
+ },
135
+ "x-props": {
136
+ "data-hidebind": true,
137
+ "data-hideBindValue": true,
138
+ "data-withBindMeta": true
139
139
  }
140
140
  },
141
141
  "field": {
@@ -366,7 +366,7 @@
366
366
  "meta": {
367
367
  "title": "统计卡片",
368
368
  "description": "统计卡片组件主要提供报表场景下的指标数据统计并展示功能,支持小程序、H5 和 PC Web 端。",
369
- "icon": "//qcloudimg.tencent-cloud.cn/raw/8475042e83e7cb5731983a9432de9e30.svg",
369
+ "icon": "../../icons/StatisticsCard.svg",
370
370
  "category": "图表组件",
371
371
  "componentOrder": 1
372
372
  },
@@ -42,9 +42,23 @@
42
42
  "category": "布局容器",
43
43
  "description": "容器中可放入多个组件,常用于在前端中对页面布局进行管理的场景。 同时也可以通过容器组件绑定数据对容器内的组件进行循环遍历。",
44
44
  "componentOrder": 1000,
45
- "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/Container.svg"
45
+ "icon": "../icons/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
  }
@@ -4,7 +4,7 @@
4
4
  "properties": {
5
5
  "dataSourceType": {
6
6
  "x-index": 5,
7
- "title": "数据源类型",
7
+ "title": "数据源",
8
8
  "x-category": "基础属性",
9
9
  "type": "string",
10
10
  "default": "data-model",
@@ -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": "适用于以展示多条数据详细内容的场景,不借助变量绑定,即可获取数据模型或自定义APIs中的数据。",
269
+ "description": "适用于从数据源中查询一条数据,并将返回数据展示的场景,如查询访客预约详情。",
241
270
  "componentOrder": 1000,
242
- "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/DataView.svg"
271
+ "icon": "../icons/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
  }
@@ -113,7 +113,7 @@
113
113
  "title": "部门选择",
114
114
  "description": "部门选择",
115
115
  "category": "表单",
116
- "icon": "https://qcloudimg.tencent-cloud.cn/raw/6389c8eeb3c6a3227ab5d49574152582.svg"
116
+ "icon": "../../icons/DepartTreeSelect.svg"
117
117
  },
118
118
  "events": [
119
119
  {
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "datasourceType": {
11
11
  "type": "string",
12
- "title": "数据源类型",
12
+ "title": "数据源",
13
13
  "default": "model"
14
14
  },
15
15
  "dataSourceName": {
@@ -22,7 +22,7 @@
22
22
  "type": "object",
23
23
  "title": "地图数据源",
24
24
  "default": {},
25
- "remarks": "关联腾讯地图的API",
25
+ "remarks": "关联腾讯地图的APIs",
26
26
  "x-index": 20,
27
27
  "x-props": {
28
28
  "data-hidebind": true,
@@ -193,7 +193,7 @@
193
193
  "title": "地图定位",
194
194
  "description": "地图定位",
195
195
  "category": "表单",
196
- "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/FormLocation.svg",
196
+ "icon": "../../icons/Location.svg",
197
197
  "validate": [
198
198
  {
199
199
  "rule": "checkMapHost",
@@ -50,7 +50,7 @@
50
50
  "value": {
51
51
  "type": "string",
52
52
  "default": "",
53
- "title": "初始值",
53
+ "title": "输入值",
54
54
  "x-category": "基础属性",
55
55
  "x-index": 60
56
56
  },
@@ -122,7 +122,7 @@
122
122
  "title": "富文本",
123
123
  "description": "富文本编辑器",
124
124
  "category": "表单",
125
- "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/RichText.svg"
125
+ "icon": "../../icons/RichText.svg"
126
126
  },
127
127
  "events": [
128
128
  {
@@ -166,6 +166,6 @@
166
166
  "title": "上传图片",
167
167
  "description": "上传图片组件",
168
168
  "category": "表单",
169
- "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/UploadImage.svg"
169
+ "icon": "../../icons/Uploader.svg"
170
170
  }
171
171
  }