@cloudbase/weda-ui 3.4.1 → 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.
- package/dist/configs/actions/showModal.json +21 -0
- package/dist/configs/actions/showToast.json +11 -2
- package/dist/configs/components/button.json +1 -1
- package/dist/configs/components/calendar.json +1 -1
- package/dist/configs/components/carousel.json +1 -1
- package/dist/configs/components/chart/bar.json +2 -2
- package/dist/configs/components/chart/line.json +2 -2
- package/dist/configs/components/chart/pie.json +2 -2
- package/dist/configs/components/chart/statisticsCard.json +6 -6
- package/dist/configs/components/container.json +1 -1
- package/dist/configs/components/dataView.json +2 -2
- package/dist/configs/components/form/departTreeSelect.json +1 -1
- package/dist/configs/components/form/form.json +1 -1
- package/dist/configs/components/form/location.json +1 -1
- package/dist/configs/components/form/richText.json +1 -1
- package/dist/configs/components/form/uploader.json +1 -1
- package/dist/configs/components/form/uploaderFile.json +1 -1
- package/dist/configs/components/form/userTreeSelect.json +1 -1
- package/dist/configs/components/formdetail.json +1 -1
- package/dist/configs/components/graphicCard.json +1 -1
- package/dist/configs/components/image.json +1 -1
- package/dist/configs/components/link.json +1 -1
- package/dist/configs/components/listView.json +39 -9
- package/dist/configs/components/lottery.json +1 -1
- package/dist/configs/components/modal.json +2 -1
- package/dist/configs/components/navLayout.json +1 -1
- package/dist/configs/components/navigationBar.json +1 -1
- package/dist/configs/components/richtextview.json +1 -1
- package/dist/configs/components/scrollVeiw.json +93 -72
- package/dist/configs/components/swiper.json +1 -1
- package/dist/configs/components/tabs.json +1 -1
- package/dist/configs/components/text.json +1 -1
- package/dist/configs/components/wedaVideo.json +1 -1
- package/dist/configs/components/wxOpenApi/phone.json +1 -1
- package/dist/configs/components/wxOpenApi/phoneCode.json +1 -1
- package/dist/configs/components/wxOpenApi/share.json +9 -8
- package/dist/configs/components/wxOpenApi/userInfo.json +3 -3
- package/dist/web/components/form/form/index.js +18 -7
- package/dist/web/components/form/userOrgSelect/comTool.js +2 -4
- package/dist/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.h5.js +3 -4
- package/dist/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.pc.js +3 -4
- package/dist/web/components/form/userOrgSelect/userTreeSelect.h5.js +4 -6
- package/dist/web/components/form/userOrgSelect/userTreeSelect.pc.js +30 -28
- package/dist/web/components/listView/interface.d.ts +1 -1
- package/package.json +11 -1
|
@@ -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": "
|
|
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": "
|
|
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"
|
|
@@ -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",
|
|
@@ -987,7 +987,7 @@
|
|
|
987
987
|
"meta": {
|
|
988
988
|
"title": "柱状图",
|
|
989
989
|
"description": "柱状图组件主要用于报表场景下展示数据之间大小的对比,支持小程序、H5 和 PC Web 端。",
|
|
990
|
-
"icon": "
|
|
990
|
+
"icon": "../../icons/Bar.svg",
|
|
991
991
|
"category": "图表组件",
|
|
992
992
|
"componentOrder": 1,
|
|
993
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",
|
|
@@ -870,7 +870,7 @@
|
|
|
870
870
|
"meta": {
|
|
871
871
|
"title": "折线图",
|
|
872
872
|
"description": "折线图组件主要用于报表场景下展示数据随时间变化产生的趋势,支持小程序、H5 和 PC Web 端。",
|
|
873
|
-
"icon": "
|
|
873
|
+
"icon": "../../icons/Line.svg",
|
|
874
874
|
"category": "图表组件",
|
|
875
875
|
"componentOrder": 1,
|
|
876
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",
|
|
@@ -677,7 +677,7 @@
|
|
|
677
677
|
"meta": {
|
|
678
678
|
"title": "饼图",
|
|
679
679
|
"description": "饼图组件主要用于报表场景下表示数据在总体中的占比,支持小程序、H5 和 PC Web 端。",
|
|
680
|
-
"icon": "
|
|
680
|
+
"icon": "../../icons/Pie.svg",
|
|
681
681
|
"category": "图表组件",
|
|
682
682
|
"componentOrder": 1,
|
|
683
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": "
|
|
369
|
+
"icon": "../../icons/StatisticsCard.svg",
|
|
370
370
|
"category": "图表组件",
|
|
371
371
|
"componentOrder": 1
|
|
372
372
|
},
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"category": "布局容器",
|
|
43
43
|
"description": "容器中可放入多个组件,常用于在前端中对页面布局进行管理的场景。 同时也可以通过容器组件绑定数据对容器内的组件进行循环遍历。",
|
|
44
44
|
"componentOrder": 1000,
|
|
45
|
-
"icon": "
|
|
45
|
+
"icon": "../icons/Container.svg"
|
|
46
46
|
},
|
|
47
47
|
"configMeta": {
|
|
48
48
|
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/grid/Container",
|
|
@@ -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",
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
"category": "数据容器",
|
|
269
269
|
"description": "适用于从数据源中查询一条数据,并将返回数据展示的场景,如查询访客预约详情。",
|
|
270
270
|
"componentOrder": 1000,
|
|
271
|
-
"icon": "
|
|
271
|
+
"icon": "../icons/DataView.svg"
|
|
272
272
|
},
|
|
273
273
|
"configMeta": {
|
|
274
274
|
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/database/DataView",
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
"title": "地图定位",
|
|
194
194
|
"description": "地图定位",
|
|
195
195
|
"category": "表单",
|
|
196
|
-
"icon": "
|
|
196
|
+
"icon": "../../icons/Location.svg",
|
|
197
197
|
"validate": [
|
|
198
198
|
{
|
|
199
199
|
"rule": "checkMapHost",
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
"description": "以卡片形式展示包含图片、标题、描述信息在内的列表信息。",
|
|
415
415
|
"category": "展示",
|
|
416
416
|
"componentOrder": 501,
|
|
417
|
-
"icon": "
|
|
417
|
+
"icon": "../icons/GraphicCard.svg"
|
|
418
418
|
},
|
|
419
419
|
"configMeta": {
|
|
420
420
|
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/show/GraphicCard"
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
"title": "图片",
|
|
180
180
|
"description": "用于在页面进行图片的展示。",
|
|
181
181
|
"category": "多媒体",
|
|
182
|
-
"icon": "
|
|
182
|
+
"icon": "../icons/Image.svg"
|
|
183
183
|
},
|
|
184
184
|
"configMeta": {
|
|
185
185
|
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/media/Image",
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
"condition": "{{ Boolean(!$value || !$value.name) }}",
|
|
195
195
|
"target": "orderBy",
|
|
196
196
|
"schema": {
|
|
197
|
-
"x-props": "{{{
|
|
197
|
+
"x-props": "{{{disabled: true, tooltip: '请先选择数据源'}}}"
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
{
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
"condition": "{{ Boolean($value && $value.name) }}",
|
|
203
203
|
"target": "orderBy",
|
|
204
204
|
"schema": {
|
|
205
|
-
"x-props": "{{{
|
|
205
|
+
"x-props": "{{{disabled: false, tooltip: ''}}}"
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
],
|
|
@@ -312,9 +312,24 @@
|
|
|
312
312
|
"title": "排序字段",
|
|
313
313
|
"x-category": "基础属性",
|
|
314
314
|
"type": "string",
|
|
315
|
-
"x-
|
|
316
|
-
|
|
317
|
-
|
|
315
|
+
"x-linkages": [
|
|
316
|
+
{
|
|
317
|
+
"type": "value:schema",
|
|
318
|
+
"condition": "{{ Boolean($value) }}",
|
|
319
|
+
"target": "orderBy",
|
|
320
|
+
"schema": {
|
|
321
|
+
"x-props": "{{{clearable: true}}}"
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"type": "value:schema",
|
|
326
|
+
"condition": "{{ Boolean(!$value) }}",
|
|
327
|
+
"target": "orderBy",
|
|
328
|
+
"schema": {
|
|
329
|
+
"x-props": "{{{clearable: false}}}"
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
],
|
|
318
333
|
"remarks": "选取对数据进行排序的字段"
|
|
319
334
|
},
|
|
320
335
|
"orderType": {
|
|
@@ -332,9 +347,24 @@
|
|
|
332
347
|
"value": "desc"
|
|
333
348
|
}
|
|
334
349
|
],
|
|
335
|
-
"x-
|
|
336
|
-
|
|
337
|
-
|
|
350
|
+
"x-linkages": [
|
|
351
|
+
{
|
|
352
|
+
"type": "value:schema",
|
|
353
|
+
"condition": "{{ Boolean($value) }}",
|
|
354
|
+
"target": "orderType",
|
|
355
|
+
"schema": {
|
|
356
|
+
"x-props": "{{{clearable: true}}}"
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"type": "value:schema",
|
|
361
|
+
"condition": "{{ Boolean(!$value) }}",
|
|
362
|
+
"target": "orderType",
|
|
363
|
+
"schema": {
|
|
364
|
+
"x-props": "{{{clearable: false}}}"
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
],
|
|
338
368
|
"remarks": "设置升序或降序"
|
|
339
369
|
},
|
|
340
370
|
"pageSize": {
|
|
@@ -415,7 +445,7 @@
|
|
|
415
445
|
"category": "数据容器",
|
|
416
446
|
"description": "适用于从数据源中查询多条数据,并将返回列表循环展示的场景,如查询用户列表。",
|
|
417
447
|
"componentOrder": 1000,
|
|
418
|
-
"icon": "
|
|
448
|
+
"icon": "../icons/ListView.svg"
|
|
419
449
|
},
|
|
420
450
|
"configMeta": {
|
|
421
451
|
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/database/ListView",
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"description": "用于实现简单的活动抽奖功能。",
|
|
152
152
|
"category": "高级",
|
|
153
153
|
"componentOrder": 101,
|
|
154
|
-
"icon": "
|
|
154
|
+
"icon": "../icons/Lottery.svg",
|
|
155
155
|
"visible": ["APP"]
|
|
156
156
|
},
|
|
157
157
|
"methods": [
|
|
@@ -369,7 +369,7 @@
|
|
|
369
369
|
"description": "用于宫格布局样式下的导航项目展示。",
|
|
370
370
|
"category": "导航菜单",
|
|
371
371
|
"componentOrder": 100,
|
|
372
|
-
"icon": "
|
|
372
|
+
"icon": "../icons/NavLayout.svg"
|
|
373
373
|
},
|
|
374
374
|
"configMeta": {
|
|
375
375
|
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/navmenu/NavLayout"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"description": "用于对富文本类型的数据进行转换与展示。",
|
|
19
19
|
"category": "文本",
|
|
20
20
|
"componentOrder": 0,
|
|
21
|
-
"icon": "
|
|
21
|
+
"icon": "../icons/RichTextView.svg"
|
|
22
22
|
},
|
|
23
23
|
"configMeta": {
|
|
24
24
|
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/text/RichTextView",
|