@cloudbase/weda-ui 0.2.17 → 1.0.21
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/README.md +3 -0
- package/package.json +6 -3
- package/src/configs/components/calendar.json +4 -1
- package/src/configs/components/chart/bar.json +19 -6
- package/src/configs/components/chart/line.json +19 -6
- package/src/configs/components/chart/pie.json +14 -4
- package/src/configs/components/chart/statisticsCard.json +61 -13
- package/src/configs/components/container.json +7 -2
- package/src/configs/components/dataView.json +21 -6
- package/src/configs/components/form/checkbox.json +97 -5
- package/src/configs/components/form/radio.json +96 -4
- package/src/configs/components/form/select.json +245 -11
- package/src/configs/components/graphicCard.json +84 -73
- package/src/configs/components/image.json +7 -2
- package/src/configs/components/link.json +19 -3
- package/src/configs/components/listView.json +63 -17
- package/src/configs/components/modal.json +37 -5
- package/src/configs/components/navLayout.json +87 -75
- package/src/configs/components/navigationBar.json +59 -0
- package/src/configs/components/richtextview.json +4 -1
- package/src/configs/components/scrollVeiw.json +74 -22
- package/src/configs/components/swiper.json +4 -1
- package/src/configs/components/tabs.json +51 -8
- package/src/configs/components/text.json +33 -25
- package/src/configs/components/wxOpenApi/phone.json +141 -0
- package/src/configs/components/wxOpenApi/phoneCode.json +121 -0
- package/src/configs/components/wxOpenApi/share.json +167 -0
- package/src/configs/components/wxOpenApi/userInfo.json +174 -0
- package/src/configs/index.js +11 -0
- package/src/mp/components/chart/bar/index.js +6 -2
- package/src/mp/components/chart/common/core/eChartBar.js +9 -8
- package/src/mp/components/chart/common/core/eChartBase.js +20 -16
- package/src/mp/components/chart/common/core/eChartLine.js +6 -5
- package/src/mp/components/chart/line/index.js +10 -6
- package/src/mp/components/chart/pie/index.js +6 -2
- package/src/mp/components/chart/statisticsCard/index.js +33 -6
- package/src/mp/components/dataView/index.json +1 -1
- package/src/mp/components/form/checkbox/index.js +41 -2
- package/src/mp/components/form/checkbox/index.wxml +1 -1
- package/src/mp/components/form/input/index.js +1 -1
- package/src/mp/components/form/location/index.js +43 -2
- package/src/mp/components/form/radio/index.js +34 -1
- package/src/mp/components/form/select/index.js +360 -40
- package/src/mp/components/form/select/index.wxml +17 -2
- package/src/mp/components/form/select/region/index.js +98 -0
- package/src/mp/components/form/uploader/index.js +39 -27
- package/src/mp/components/form/uploaderFile/index.js +10 -6
- package/src/mp/components/listView/index.js +33 -27
- package/src/mp/components/listView/index.wxml +1 -1
- package/src/mp/components/listView/index.wxss +5 -0
- package/src/mp/components/navigationBar/index.js +193 -0
- package/src/mp/components/navigationBar/index.json +6 -0
- package/src/mp/components/navigationBar/index.wxml +88 -0
- package/src/mp/components/navigationBar/index.wxss +1257 -0
- package/src/mp/components/tabs/index.js +7 -2
- package/src/mp/components/tabs/index.wxml +2 -1
- package/src/mp/components/text/index.js +0 -25
- package/src/mp/components/text/index.wxml +3 -3
- package/src/mp/components/wxOpenApi/phone/index.js +117 -0
- package/src/mp/components/{internals/listView → wxOpenApi/phone}/index.json +0 -0
- package/src/mp/components/wxOpenApi/phone/index.wxml +15 -0
- package/src/mp/components/wxOpenApi/phone/index.wxss +22 -0
- package/src/mp/components/wxOpenApi/phoneCode/index.js +89 -0
- package/src/mp/components/wxOpenApi/phoneCode/index.json +4 -0
- package/src/mp/components/wxOpenApi/phoneCode/index.wxml +15 -0
- package/src/mp/components/wxOpenApi/phoneCode/index.wxss +22 -0
- package/src/mp/components/wxOpenApi/share/index.js +117 -0
- package/src/mp/components/wxOpenApi/share/index.json +4 -0
- package/src/mp/components/wxOpenApi/share/index.wxml +15 -0
- package/src/mp/components/wxOpenApi/share/index.wxss +22 -0
- package/src/mp/components/wxOpenApi/userInfo/index.js +88 -0
- package/src/mp/components/wxOpenApi/userInfo/index.json +4 -0
- package/src/mp/components/wxOpenApi/userInfo/index.wxml +14 -0
- package/src/mp/components/wxOpenApi/userInfo/index.wxss +22 -0
- package/src/mp/index.json +7 -2
- package/src/mp/style/weda-ui.wxss +2 -0
- package/src/mp/utils/destr.js +48 -0
- package/src/mp/utils/platform.js +10 -0
- package/src/mp/utils/tcb.js +44 -0
- package/src/web/components/button/index.css +8 -1
- package/src/web/components/button/index.tsx +3 -2
- package/src/web/components/chart/bar/index.tsx +40 -39
- package/src/web/components/chart/common/core/eChartBar.js +7 -6
- package/src/web/components/chart/common/core/eChartBase.ts +20 -16
- package/src/web/components/chart/common/core/eChartLine.js +8 -6
- package/src/web/components/chart/line/index.tsx +40 -39
- package/src/web/components/chart/statisticsCard/index.tsx +29 -8
- package/src/web/components/form/checkbox/index.tsx +55 -23
- package/src/web/components/form/radio/index.tsx +84 -53
- package/src/web/components/form/select/h5.tsx +388 -72
- package/src/web/components/form/select/index.css +10 -0
- package/src/web/components/form/select/index.tsx +404 -144
- package/src/web/components/form/select/region/index.ts +122 -31
- package/src/web/components/form/select/time.jsx +89 -0
- package/src/web/components/form/select/year.tsx +170 -0
- package/src/web/components/form/uploader/uploader.h5.tsx +9 -2
- package/src/web/components/form/uploader/uploader.pc.tsx +4 -4
- package/src/web/components/form/uploaderFile/uploadFile.h5.tsx +13 -7
- package/src/web/components/form/uploaderFile/uploadFile.pc.tsx +13 -5
- package/src/web/components/image/image.tsx +1 -1
- package/src/web/components/image/index.tsx +1 -1
- package/src/web/components/index.js +7 -0
- package/src/web/components/link/index.tsx +6 -3
- package/src/web/components/listView/index.css +4 -0
- package/src/web/components/listView/index.tsx +6 -1
- package/src/web/components/modal/index.tsx +3 -1
- package/src/web/components/navigationBar/chevron-right--double.svg +3 -0
- package/src/web/components/navigationBar/common.tsx +198 -0
- package/src/web/components/navigationBar/h5Menu.tsx +179 -0
- package/src/web/components/navigationBar/horizontalMenu.tsx +200 -0
- package/src/web/components/navigationBar/index.css +762 -0
- package/src/web/components/navigationBar/index.tsx +231 -0
- package/src/web/components/navigationBar/type.d.ts +111 -0
- package/src/web/components/navigationBar/verticalMenu.tsx +81 -0
- package/src/web/components/phone/index.css +0 -0
- package/src/web/components/phone/index.tsx +22 -0
- package/src/web/components/phoneCode/index.css +0 -0
- package/src/web/components/phoneCode/index.tsx +22 -0
- package/src/web/components/richTextView/index.tsx +3 -5
- package/src/web/components/share/index.css +0 -0
- package/src/web/components/share/index.tsx +38 -0
- package/src/web/components/tabs/index.tsx +2 -0
- package/src/web/components/tabs/tabs.h5.tsx +43 -33
- package/src/web/components/tabs/tabs.pc.tsx +23 -10
- package/src/web/components/text/index.tsx +6 -14
- package/src/web/components/userInfo/index.css +0 -0
- package/src/web/components/userInfo/index.tsx +30 -0
- package/src/web/utils/platform.js +9 -0
- package/src/web/utils/tcb.js +26 -0
- package/src/web/weda-ui.css +2 -0
- package/src/mp/components/internals/listView/arrow-right-line.svg +0 -3
- package/src/mp/components/internals/listView/index.js +0 -286
- package/src/mp/components/internals/listView/index.wxml +0 -40
- package/src/mp/components/internals/listView/index.wxss +0 -150
- package/src/mp/components/internals/listView/more-line.svg +0 -3
- package/src/web/components/form/select/region/cities.ts +0 -2410
- package/src/web/components/form/select/region/provinces.ts +0 -240
- package/src/web/components/form/select/region/regions.ts +0 -20645
|
@@ -28,8 +28,12 @@
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"x-component": "datasource-selector",
|
|
31
|
-
"x-component-props": {
|
|
32
|
-
|
|
31
|
+
"x-component-props": {
|
|
32
|
+
"dataContainerType": "listView"
|
|
33
|
+
},
|
|
34
|
+
"x-props": {
|
|
35
|
+
"data-hidebind": true
|
|
36
|
+
},
|
|
33
37
|
"x-linkages": [
|
|
34
38
|
{
|
|
35
39
|
"type": "value:schema",
|
|
@@ -96,8 +100,14 @@
|
|
|
96
100
|
}
|
|
97
101
|
],
|
|
98
102
|
"blackListConfig": {
|
|
99
|
-
"format": [
|
|
100
|
-
|
|
103
|
+
"format": [
|
|
104
|
+
"x-file",
|
|
105
|
+
"x-image"
|
|
106
|
+
],
|
|
107
|
+
"type": [
|
|
108
|
+
"object",
|
|
109
|
+
"array"
|
|
110
|
+
]
|
|
101
111
|
},
|
|
102
112
|
"customRelOptions": {
|
|
103
113
|
"number": [
|
|
@@ -155,8 +165,14 @@
|
|
|
155
165
|
"x-category": "基础属性",
|
|
156
166
|
"type": "string",
|
|
157
167
|
"enum": [
|
|
158
|
-
{
|
|
159
|
-
|
|
168
|
+
{
|
|
169
|
+
"label": "升序",
|
|
170
|
+
"value": "asc"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"label": "降序",
|
|
174
|
+
"value": "desc"
|
|
175
|
+
}
|
|
160
176
|
],
|
|
161
177
|
"x-props": {
|
|
162
178
|
"clearable": true
|
|
@@ -179,11 +195,26 @@
|
|
|
179
195
|
"x-category": "基础属性",
|
|
180
196
|
"default": "simpleList",
|
|
181
197
|
"enum": [
|
|
182
|
-
{
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
{
|
|
198
|
+
{
|
|
199
|
+
"label": "简单列表",
|
|
200
|
+
"value": "simpleList"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"label": "详细列表",
|
|
204
|
+
"value": "detailList"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"label": "图文列表",
|
|
208
|
+
"value": "imageTextList"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"label": "卡片列表",
|
|
212
|
+
"value": "cardList"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"label": "不使用模板",
|
|
216
|
+
"value": "none"
|
|
217
|
+
}
|
|
187
218
|
],
|
|
188
219
|
"x-component": "data-sources-template-selector"
|
|
189
220
|
},
|
|
@@ -194,10 +225,22 @@
|
|
|
194
225
|
"x-category": "基础属性",
|
|
195
226
|
"default": "loadMoreButton",
|
|
196
227
|
"enum": [
|
|
197
|
-
{
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
228
|
+
{
|
|
229
|
+
"label": "点击加载更多",
|
|
230
|
+
"value": "loadMoreButton"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"label": "触底加载更多",
|
|
234
|
+
"value": "bottomLoad"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"label": "分页器",
|
|
238
|
+
"value": "pagination"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"label": "不分页",
|
|
242
|
+
"value": "none"
|
|
243
|
+
}
|
|
201
244
|
]
|
|
202
245
|
}
|
|
203
246
|
}
|
|
@@ -222,10 +265,13 @@
|
|
|
222
265
|
},
|
|
223
266
|
"isContainer": true,
|
|
224
267
|
"meta": {
|
|
225
|
-
"title": "
|
|
268
|
+
"title": "数据列表",
|
|
226
269
|
"category": "数据容器",
|
|
227
|
-
"description": "
|
|
270
|
+
"description": "原数据列表组件,适用于以列表形式展示多条数据的场景,不借助变量绑定,即可获取数据模型中的数据。",
|
|
228
271
|
"componentOrder": 1000,
|
|
229
272
|
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/ListView.svg"
|
|
273
|
+
},
|
|
274
|
+
"configMeta": {
|
|
275
|
+
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/database/ListView"
|
|
230
276
|
}
|
|
231
277
|
}
|
|
@@ -6,31 +6,62 @@
|
|
|
6
6
|
"type": "string",
|
|
7
7
|
"title": "窗口内容",
|
|
8
8
|
"default": "",
|
|
9
|
-
"x-index":
|
|
9
|
+
"x-index": 10
|
|
10
10
|
},
|
|
11
11
|
"visible": {
|
|
12
12
|
"type": "boolean",
|
|
13
13
|
"title": "显示窗口",
|
|
14
14
|
"default": true,
|
|
15
|
-
"x-index":
|
|
15
|
+
"x-index": 20
|
|
16
|
+
},
|
|
17
|
+
"size": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"x-component": "select",
|
|
20
|
+
"title": "大小",
|
|
21
|
+
"default": "m",
|
|
22
|
+
"x-component-props": {
|
|
23
|
+
"options": [
|
|
24
|
+
{
|
|
25
|
+
"value": "s",
|
|
26
|
+
"label": "小"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"value": "m",
|
|
30
|
+
"label": "中"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"value": "l",
|
|
34
|
+
"label": "大"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"value": "xl",
|
|
38
|
+
"label": "超大"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"value": "auto",
|
|
42
|
+
"label": "自动"
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
]
|
|
46
|
+
}
|
|
16
47
|
},
|
|
17
48
|
"isDefaultButton": {
|
|
18
49
|
"type": "boolean",
|
|
19
50
|
"title": "显示默认按钮",
|
|
20
51
|
"default": true,
|
|
21
|
-
"x-index":
|
|
52
|
+
"x-index": 30
|
|
22
53
|
},
|
|
23
54
|
"customContent": {
|
|
24
55
|
"type": "string",
|
|
25
56
|
"title": "customContent",
|
|
26
57
|
"isReactNode": true,
|
|
27
|
-
"x-index":
|
|
58
|
+
"x-index": 40
|
|
28
59
|
},
|
|
29
60
|
"customButton": {
|
|
30
61
|
"type": "string",
|
|
31
62
|
"title": "customButton",
|
|
32
63
|
"isReactNode": true,
|
|
33
|
-
"x-index":
|
|
64
|
+
"x-index": 50
|
|
34
65
|
}
|
|
35
66
|
}
|
|
36
67
|
},
|
|
@@ -40,6 +71,7 @@
|
|
|
40
71
|
],
|
|
41
72
|
"meta": {
|
|
42
73
|
"title": "弹窗",
|
|
74
|
+
"name": "Modal",
|
|
43
75
|
"description": "模态弹窗",
|
|
44
76
|
"category": "高级"
|
|
45
77
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"navOption": {
|
|
6
6
|
"type": "array",
|
|
7
7
|
"title": "导航设置",
|
|
8
|
-
"icon":"icon",
|
|
8
|
+
"icon": "icon",
|
|
9
9
|
"items": {
|
|
10
10
|
"type": "object",
|
|
11
11
|
"title": "tabs",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"default": {
|
|
15
15
|
"icon": "自定义图片",
|
|
16
16
|
"title": "导航标题",
|
|
17
|
-
"iconSrc":"https://qcloudimg.tencent-cloud.cn/raw/fe54a986a821473655ba20afe30a543a.png"
|
|
17
|
+
"iconSrc": "https://qcloudimg.tencent-cloud.cn/raw/fe54a986a821473655ba20afe30a543a.png"
|
|
18
18
|
},
|
|
19
19
|
"display": "title",
|
|
20
20
|
"properties": {
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
"x-component": "icon2",
|
|
24
24
|
"x-component-props": {
|
|
25
25
|
"footer": {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
"value": "自定义图片",
|
|
27
|
+
"label": "自定义图片"
|
|
28
28
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
},
|
|
30
|
+
"x-linkages": [
|
|
31
|
+
{
|
|
32
|
+
"type": "value:visible",
|
|
33
|
+
"target": "*(dataForm.iconSrc)",
|
|
34
|
+
"condition": "{{$self.value=='自定义图片'}}"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
37
|
"title": "icon",
|
|
38
38
|
"default": "td:image",
|
|
39
39
|
"enum": [
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"default": "导航标题",
|
|
84
84
|
"x-index": 10
|
|
85
85
|
},
|
|
86
|
-
"tapStatus":{
|
|
86
|
+
"tapStatus": {
|
|
87
87
|
"enum": [
|
|
88
88
|
{
|
|
89
89
|
"value": "tap",
|
|
@@ -99,13 +99,22 @@
|
|
|
99
99
|
"value": "outer",
|
|
100
100
|
"label": "外部链接",
|
|
101
101
|
"icon": "weda-editor-icon-link",
|
|
102
|
-
"tooltip":[
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
102
|
+
"tooltip": [
|
|
103
|
+
{
|
|
104
|
+
"platform": [
|
|
105
|
+
"ALL",
|
|
106
|
+
"MP"
|
|
107
|
+
],
|
|
108
|
+
"text": "小程序平台不支持跳转外部链接"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"disabled": [
|
|
112
|
+
{
|
|
113
|
+
"platform": [
|
|
114
|
+
"MP"
|
|
115
|
+
]
|
|
116
|
+
}
|
|
117
|
+
]
|
|
109
118
|
}
|
|
110
119
|
],
|
|
111
120
|
"type": "string",
|
|
@@ -144,20 +153,21 @@
|
|
|
144
153
|
"x-category": "基础属性",
|
|
145
154
|
"x-index": 120,
|
|
146
155
|
"x-component-props": {
|
|
147
|
-
"hideAddPlatform": [
|
|
148
|
-
|
|
156
|
+
"hideAddPlatform": [
|
|
157
|
+
"MP"
|
|
158
|
+
],
|
|
159
|
+
"addHidden": true
|
|
149
160
|
},
|
|
150
161
|
"x-linkages": [
|
|
151
162
|
{
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
163
|
+
"type": "value:state",
|
|
164
|
+
"target": "*(dataForm.params)",
|
|
165
|
+
"condition": "{{$self.value && $self.value.length>0}}",
|
|
166
|
+
"state": {
|
|
167
|
+
"pageId": "{{$self.value}}"
|
|
168
|
+
}
|
|
158
169
|
}
|
|
159
|
-
|
|
160
|
-
]
|
|
170
|
+
]
|
|
161
171
|
},
|
|
162
172
|
"outerUrl": {
|
|
163
173
|
"title": "URL地址",
|
|
@@ -174,18 +184,18 @@
|
|
|
174
184
|
"default": false,
|
|
175
185
|
"type": "boolean",
|
|
176
186
|
"x-linkages": [
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
187
|
+
{
|
|
188
|
+
"type": "value:visible",
|
|
189
|
+
"target": "*(dataForm.params)",
|
|
190
|
+
"condition": "{{$self.value==true}}"
|
|
191
|
+
}
|
|
182
192
|
]
|
|
183
193
|
},
|
|
184
194
|
"params": {
|
|
185
195
|
"type": "array",
|
|
186
196
|
"title": "参数",
|
|
187
|
-
"pageId":"",
|
|
188
|
-
"x-component":"page-params",
|
|
197
|
+
"pageId": "",
|
|
198
|
+
"x-component": "page-params",
|
|
189
199
|
"default": []
|
|
190
200
|
}
|
|
191
201
|
}
|
|
@@ -193,25 +203,25 @@
|
|
|
193
203
|
"default": [
|
|
194
204
|
{
|
|
195
205
|
"icon": "自定义图片",
|
|
196
|
-
"iconSrc":"https://qcloudimg.tencent-cloud.cn/raw/82b92ea0caf05f372f3432bd44764f0a.png",
|
|
206
|
+
"iconSrc": "https://qcloudimg.tencent-cloud.cn/raw/82b92ea0caf05f372f3432bd44764f0a.png",
|
|
197
207
|
"title": "导航标题",
|
|
198
208
|
"tapStatus": "tap"
|
|
199
209
|
},
|
|
200
210
|
{
|
|
201
211
|
"icon": "自定义图片",
|
|
202
|
-
"iconSrc":"https://qcloudimg.tencent-cloud.cn/raw/fe54a986a821473655ba20afe30a543a.png",
|
|
212
|
+
"iconSrc": "https://qcloudimg.tencent-cloud.cn/raw/fe54a986a821473655ba20afe30a543a.png",
|
|
203
213
|
"title": "导航标题",
|
|
204
214
|
"tapStatus": "tap"
|
|
205
215
|
},
|
|
206
216
|
{
|
|
207
217
|
"icon": "自定义图片",
|
|
208
|
-
"iconSrc":"https://qcloudimg.tencent-cloud.cn/raw/12a888a3abe20890894ccf6e73a9eb06.png",
|
|
218
|
+
"iconSrc": "https://qcloudimg.tencent-cloud.cn/raw/12a888a3abe20890894ccf6e73a9eb06.png",
|
|
209
219
|
"title": "导航标题",
|
|
210
220
|
"tapStatus": "tap"
|
|
211
221
|
},
|
|
212
222
|
{
|
|
213
223
|
"icon": "自定义图片",
|
|
214
|
-
"iconSrc":"https://qcloudimg.tencent-cloud.cn/raw/8330f8833919254e6b779fb543a53e39.png",
|
|
224
|
+
"iconSrc": "https://qcloudimg.tencent-cloud.cn/raw/8330f8833919254e6b779fb543a53e39.png",
|
|
215
225
|
"title": "导航标题",
|
|
216
226
|
"tapStatus": "tap"
|
|
217
227
|
}
|
|
@@ -268,20 +278,20 @@
|
|
|
268
278
|
"default": "medium",
|
|
269
279
|
"title": "icon尺寸",
|
|
270
280
|
"x-category": "基础属性",
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
281
|
+
"enum": [
|
|
282
|
+
{
|
|
283
|
+
"label": "小",
|
|
284
|
+
"value": "small"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"label": "中",
|
|
288
|
+
"value": "medium"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"label": "大",
|
|
292
|
+
"value": "big"
|
|
293
|
+
}
|
|
294
|
+
]
|
|
285
295
|
},
|
|
286
296
|
"textColor": {
|
|
287
297
|
"title": "标题颜色",
|
|
@@ -291,38 +301,37 @@
|
|
|
291
301
|
"x-category": "高级属性",
|
|
292
302
|
"default": "rgb(0, 0, 0)"
|
|
293
303
|
},
|
|
294
|
-
|
|
295
304
|
"fontWeight": {
|
|
296
305
|
"type": "string",
|
|
297
306
|
"title": "字重",
|
|
298
307
|
"default": "normal",
|
|
299
308
|
"x-category": "高级属性",
|
|
300
309
|
"x-index": 40,
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
310
|
+
"enum": [
|
|
311
|
+
{
|
|
312
|
+
"label": "细",
|
|
313
|
+
"value": "lighter"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"label": "正常",
|
|
317
|
+
"value": "normal"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"label": "粗",
|
|
321
|
+
"value": "bolder"
|
|
322
|
+
}
|
|
323
|
+
]
|
|
315
324
|
},
|
|
316
325
|
"fontSize": {
|
|
317
326
|
"type": "number",
|
|
318
327
|
"title": "字号",
|
|
319
328
|
"default": 14,
|
|
320
329
|
"x-category": "高级属性",
|
|
321
|
-
"x-props":{
|
|
322
|
-
"min":0,
|
|
323
|
-
"max":100
|
|
330
|
+
"x-props": {
|
|
331
|
+
"min": 0,
|
|
332
|
+
"max": 100
|
|
324
333
|
},
|
|
325
|
-
"x-index":45
|
|
334
|
+
"x-index": 45
|
|
326
335
|
},
|
|
327
336
|
"lineHeight": {
|
|
328
337
|
"title": "行高",
|
|
@@ -342,9 +351,12 @@
|
|
|
342
351
|
},
|
|
343
352
|
"meta": {
|
|
344
353
|
"title": "宫格导航",
|
|
345
|
-
"description": "
|
|
354
|
+
"description": "用于宫格布局样式下的导航项目展示。",
|
|
346
355
|
"category": "导航菜单",
|
|
347
356
|
"componentOrder": 100,
|
|
348
357
|
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/NavLayout.svg"
|
|
358
|
+
},
|
|
359
|
+
"configMeta": {
|
|
360
|
+
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/navmenu/NavLayout"
|
|
349
361
|
}
|
|
350
362
|
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
|
|
3
|
+
"data": {
|
|
4
|
+
"properties": {
|
|
5
|
+
"navigationbar": {
|
|
6
|
+
"title": "导航",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"x-component": "navigationbar",
|
|
9
|
+
"x-props": {
|
|
10
|
+
"data-hidebind": true,
|
|
11
|
+
"itemClassName": "navigation-menu-form-item"
|
|
12
|
+
},
|
|
13
|
+
"properties": {
|
|
14
|
+
"menuData": {
|
|
15
|
+
"title": "",
|
|
16
|
+
"type": "array",
|
|
17
|
+
"items": { "type": "object", "properties": {} }
|
|
18
|
+
},
|
|
19
|
+
"navigationStyle": {
|
|
20
|
+
"title": "",
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"default": {
|
|
26
|
+
"menuData": [],
|
|
27
|
+
"navigationStyle": {
|
|
28
|
+
"isHorizontal": false,
|
|
29
|
+
"showMenuIcon": true,
|
|
30
|
+
"fixedTop": true,
|
|
31
|
+
"menuFontSize": 16,
|
|
32
|
+
"menuBackgroundColor": "#fff",
|
|
33
|
+
"menuColor": "#000",
|
|
34
|
+
"menuHoverColor": "#f3f3f3",
|
|
35
|
+
"showTitle": true,
|
|
36
|
+
"title": "标题",
|
|
37
|
+
"showLogo": true,
|
|
38
|
+
"logoUrl": "https://imgcache.qq.com/qcloud/tcloud_dtc/static/static_source_business/43d3b2b7-445c-4858-8eb0-50ac5d5cc08e.svg ",
|
|
39
|
+
"titleFontSize": 18,
|
|
40
|
+
"titleColor": "#000",
|
|
41
|
+
"logoWidth": 32,
|
|
42
|
+
"logoHeight": 32
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"contentSlot": {
|
|
47
|
+
"type": "slot"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"meta": {
|
|
52
|
+
"title": "菜单导航",
|
|
53
|
+
"description": "菜单导航",
|
|
54
|
+
"category": "导航菜单",
|
|
55
|
+
"componentOrder": 100,
|
|
56
|
+
"icon": "//qcloudimg.tencent-cloud.cn/raw/ceb22869566dbc9fd6cc0d090b324171.svg",
|
|
57
|
+
"visible": "(APP & !MODEL_APP) | COMPONENT"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -14,9 +14,12 @@
|
|
|
14
14
|
},
|
|
15
15
|
"meta": {
|
|
16
16
|
"title": "富文本展示",
|
|
17
|
-
"description": "
|
|
17
|
+
"description": "用于对富文本类型的数据进行转换与展示。",
|
|
18
18
|
"category": "文本",
|
|
19
19
|
"componentOrder": 0,
|
|
20
20
|
"icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/RichTextView.svg"
|
|
21
|
+
},
|
|
22
|
+
"configMeta": {
|
|
23
|
+
"docsUrl": "https://docs.cloudbase.net/lowcode/components/wedaUI/src/docs/compsdocs/text/RichTextView"
|
|
21
24
|
}
|
|
22
25
|
}
|