@cloudbase/weda-ui 0.2.15 → 0.2.16

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 (112) hide show
  1. package/package.json +10 -7
  2. package/src/configs/components/calendar.json +75 -0
  3. package/src/configs/components/carousel.json +273 -0
  4. package/src/configs/components/chart/statisticsCard.json +331 -0
  5. package/src/configs/components/dataView.json +139 -0
  6. package/src/configs/components/form/location.json +152 -0
  7. package/src/configs/components/form/uploaderFile.json +2 -1
  8. package/src/configs/components/graphicCard.json +399 -0
  9. package/src/configs/components/link.json +2 -2
  10. package/src/configs/components/listView.json +230 -0
  11. package/src/configs/components/navLayout.json +350 -0
  12. package/src/configs/components/swiper.json +3 -3
  13. package/src/configs/index.js +16 -0
  14. package/src/mp/components/button/index.js +12 -13
  15. package/src/mp/components/button/index.wxml +1 -1
  16. package/src/mp/components/calendar/arrowright--line.svg +11 -0
  17. package/src/mp/components/calendar/index.js +238 -0
  18. package/src/mp/components/calendar/index.json +4 -0
  19. package/src/mp/components/calendar/index.wxml +37 -0
  20. package/src/mp/components/calendar/index.wxss +178 -0
  21. package/src/mp/components/carousel/index.js +88 -0
  22. package/src/mp/components/carousel/index.json +7 -0
  23. package/src/mp/components/carousel/index.wxml +6 -0
  24. package/src/mp/components/chart/statisticsCard/index.js +226 -0
  25. package/src/mp/components/chart/statisticsCard/index.json +4 -0
  26. package/src/mp/components/chart/statisticsCard/index.wxml +9 -0
  27. package/src/mp/components/chart/statisticsCard/index.wxss +45 -0
  28. package/src/mp/components/dataView/index.js +34 -0
  29. package/src/mp/components/dataView/index.json +7 -0
  30. package/src/mp/components/dataView/index.wxml +15 -0
  31. package/src/mp/components/dataView/index.wxss +0 -0
  32. package/src/mp/components/form/location/components/mapChoose/index.js +201 -0
  33. package/src/mp/components/form/location/components/mapChoose/index.json +4 -0
  34. package/src/mp/components/form/location/components/mapChoose/index.wxml +42 -0
  35. package/src/mp/components/form/location/components/mapChoose/index.wxss +188 -0
  36. package/src/mp/components/form/location/index.js +341 -0
  37. package/src/mp/components/form/location/index.json +6 -0
  38. package/src/mp/components/form/location/index.wxml +25 -0
  39. package/src/mp/components/form/location/index.wxss +91 -0
  40. package/src/mp/components/form/uploader/index.js +39 -35
  41. package/src/mp/components/form/uploaderFile/index.js +61 -14
  42. package/src/mp/components/graphicCard/chevron-right.svg +3 -0
  43. package/src/mp/components/graphicCard/index.js +205 -0
  44. package/src/mp/components/graphicCard/index.json +4 -0
  45. package/src/mp/components/graphicCard/index.wxml +29 -0
  46. package/src/mp/components/graphicCard/index.wxss +157 -0
  47. package/src/mp/components/image/index.js +0 -1
  48. package/src/mp/components/listView/arrow-right-line.svg +3 -0
  49. package/src/mp/components/listView/index.js +286 -0
  50. package/src/mp/components/listView/index.json +4 -0
  51. package/src/mp/components/listView/index.wxml +40 -0
  52. package/src/mp/components/listView/index.wxss +150 -0
  53. package/src/mp/components/listView/more-line.svg +3 -0
  54. package/src/mp/components/navLayout/index.js +123 -0
  55. package/src/mp/components/navLayout/index.json +7 -0
  56. package/src/mp/components/navLayout/index.wxml +25 -0
  57. package/src/mp/components/navLayout/index.wxss +1193 -0
  58. package/src/mp/components/swiper/index.wxml +2 -0
  59. package/src/mp/index.json +9 -1
  60. package/src/mp/utils/debounce.js +133 -0
  61. package/src/mp/utils/dr_square_point.js +25 -0
  62. package/src/mp/utils/qqmap-wx-jssdk1.2/qqmap-wx-jssdk.js +1336 -0
  63. package/src/mp/utils/spark-md5.js +776 -0
  64. package/src/mp/utils/tcb.js +18 -0
  65. package/src/web/components/calendar/index.css +382 -0
  66. package/src/web/components/calendar/index.jsx +312 -0
  67. package/src/web/components/calendar/util.js +90 -0
  68. package/src/web/components/carousel/index.css +119 -0
  69. package/src/web/components/carousel/index.tsx +417 -0
  70. package/src/web/components/chart/statisticsCard/index.css +62 -0
  71. package/src/web/components/chart/statisticsCard/index.tsx +286 -0
  72. package/src/web/components/chart/statisticsCard/interface.ts +14 -0
  73. package/src/web/components/dataView/index.tsx +20 -0
  74. package/src/web/components/dataView/interface.ts +6 -0
  75. package/src/web/components/form/location/common/mapChoose.css +178 -0
  76. package/src/web/components/form/location/common/mapChoose.jsx +343 -0
  77. package/src/web/components/form/location/common/mapView.jsx +190 -0
  78. package/src/web/components/form/location/common/propsConfig.js +54 -0
  79. package/src/web/components/form/location/common/selectModal.css +44 -0
  80. package/src/web/components/form/location/common/selectModal.jsx +82 -0
  81. package/src/web/components/form/location/common/useLocationInfo.js +100 -0
  82. package/src/web/components/form/location/components/LocationH5/index.css +243 -0
  83. package/src/web/components/form/location/components/LocationH5/location.h5.jsx +403 -0
  84. package/src/web/components/form/location/components/LocationPC/Header.jsx +109 -0
  85. package/src/web/components/form/location/components/LocationPC/index.css +44 -0
  86. package/src/web/components/form/location/components/LocationPC/location.PC.jsx +323 -0
  87. package/src/web/components/form/location/constants.js +4 -0
  88. package/src/web/components/form/location/index.css +0 -0
  89. package/src/web/components/form/location/index.jsx +25 -0
  90. package/src/web/components/form/uploader/uploader.h5.tsx +16 -10
  91. package/src/web/components/form/uploader/uploader.pc.tsx +15 -11
  92. package/src/web/components/form/uploaderFile/uploadFile.h5.tsx +122 -107
  93. package/src/web/components/form/uploaderFile/uploadFile.pc.tsx +22 -19
  94. package/src/web/components/graphicCard/index.css +163 -0
  95. package/src/web/components/graphicCard/index.tsx +309 -0
  96. package/src/web/components/image/image.tsx +0 -1
  97. package/src/web/components/index.js +12 -0
  98. package/src/web/components/listView/arrow-right-line.svg +3 -0
  99. package/src/web/components/listView/index.css +139 -0
  100. package/src/web/components/listView/index.tsx +354 -0
  101. package/src/web/components/listView/interface.ts +98 -0
  102. package/src/web/components/navLayout/index.css +332 -0
  103. package/src/web/components/navLayout/index.tsx +247 -0
  104. package/src/web/components/tabs/index.tsx +2 -2
  105. package/src/web/components/tabs/tabs.h5.tsx +7 -4
  106. package/src/web/components/uploaderFileView/index.css +9 -9
  107. package/src/web/components/uploaderFileView/index.jsx +32 -23
  108. package/src/web/types.d.ts +15 -14
  109. package/src/web/utils/debounce.js +98 -0
  110. package/src/web/utils/platform.js +31 -0
  111. package/src/web/utils/tcb.js +35 -0
  112. package/src/web/utils/tmap.js +4 -0
@@ -0,0 +1,331 @@
1
+ {
2
+ "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
3
+ "data": {
4
+ "type": "object",
5
+ "properties": {
6
+ "dataSource": {
7
+ "type": "string",
8
+ "title": "数据源",
9
+ "x-index": 10,
10
+ "x-component": "chart-datasource-select",
11
+ "x-component-props": {
12
+ "postChange": {
13
+ "addOrUpdateComponentDataBinds": {
14
+ "dataBind": {
15
+ "propertyPath": "filterData",
16
+ "bindDataPath": "[]",
17
+ "type": "expression",
18
+ "extra": {}
19
+ }
20
+ }
21
+ }
22
+ },
23
+ "x-linkages": [
24
+ {
25
+ "type": "value:visible",
26
+ "target": "*(filterData,field,operationType,isCountEmpty)",
27
+ "condition": "{{ $self.value && $self.value.type === 'database' }}"
28
+ },
29
+ {
30
+ "type": "value:schema",
31
+ "target": "filterData",
32
+ "schema": {
33
+ "x-component-props": {
34
+ "selectedDataSourceName": "{{ $self.value && $self.value.name }}"
35
+ }
36
+ }
37
+ },
38
+ {
39
+ "type": "value:state",
40
+ "target": "*(operationType,field,filterData)",
41
+ "condition": "{{ $self.inputed }}",
42
+ "state": {
43
+ "value": ""
44
+ }
45
+ }
46
+ ]
47
+ },
48
+ "filterData": {
49
+ "title": "数据筛选",
50
+ "x-index": 20,
51
+ "x-category": "基础属性",
52
+ "x-component": "condition-select",
53
+ "x-props": {
54
+ "data-hidebind": true,
55
+ "data-hideBindValue": true,
56
+ "data-withBindMeta": true
57
+ },
58
+ "x-component-props": {
59
+ "dataSourceNamePropKey": "dataSource",
60
+ "blackListConfig": {
61
+ "type": ["object", "array"]
62
+ },
63
+ "customRelOptions": {
64
+ "string": [
65
+ { "text": "等于", "value": "eq" },
66
+ { "text": "不等于", "value": "neq" },
67
+ { "text": "包含", "value": "in" },
68
+ { "text": "不包含", "value": "nin" }
69
+ ],
70
+ "boolean": [{ "text": "等于", "value": "eq" }],
71
+ "keyVarType": [
72
+ {
73
+ "value": "eq",
74
+ "text": "等于"
75
+ },
76
+ {
77
+ "value": "neq",
78
+ "text": "不等于"
79
+ },
80
+ {
81
+ "value": "gt",
82
+ "text": "大于"
83
+ },
84
+ {
85
+ "value": "lt",
86
+ "text": "小于"
87
+ }
88
+ ],
89
+ "number": [
90
+ { "text": "等于", "value": "eq", "type": "equal" },
91
+ { "text": "不等于", "value": "neq", "type": "unequal" },
92
+ { "text": "小于", "value": "lt", "type": "less" },
93
+ { "text": "小于或等于", "value": "lte", "type": "less_or_equal" },
94
+ { "text": "大于", "value": "gt", "type": "greater" },
95
+ {
96
+ "text": "大于或等于",
97
+ "value": "gte",
98
+ "type": "greater_or_equal"
99
+ }
100
+ ]
101
+ }
102
+ }
103
+ },
104
+ "field": {
105
+ "type": "string",
106
+ "title": "字段选择",
107
+ "x-index": 30,
108
+ "x-category": "基础属性",
109
+ "x-component": "data-source-field-select",
110
+ "x-datasource-method-reset": "",
111
+ "x-component-props": {
112
+ "dataSourceNamePropKey": "dataSource",
113
+ "isMethod": true
114
+ },
115
+ "x-linkages": [
116
+ {
117
+ "type": "value:schema",
118
+ "target": "operationType",
119
+ "condition": "{{ $self.value && ($self.value.type !=='number' || ['datetime','date','time'].includes($self.value.format)) }}",
120
+ "schema": {
121
+ "enum": [
122
+ {
123
+ "label": "计数",
124
+ "value": "count"
125
+ }
126
+ ]
127
+ }
128
+ },
129
+ {
130
+ "type": "value:state",
131
+ "target": "operationType",
132
+ "condition": "{{ $self.inputed }}",
133
+ "state": {
134
+ "value": ""
135
+ }
136
+ },
137
+ {
138
+ "type": "value:schema",
139
+ "target": "operationType",
140
+ "condition": "{{ !$self.value || ($self.value.type ==='number' && !(['datetime','date','time'].includes($self.value.format)) ) }}",
141
+ "schema": {
142
+ "enum": [
143
+ {
144
+ "label": "计数",
145
+ "value": "count"
146
+ },
147
+ {
148
+ "label": "求和",
149
+ "value": "sum"
150
+ },
151
+ {
152
+ "label": "最大值",
153
+ "value": "max"
154
+ },
155
+ {
156
+ "label": "最小值",
157
+ "value": "min"
158
+ },
159
+ {
160
+ "label": "平均值",
161
+ "value": "avg"
162
+ }
163
+ ]
164
+ }
165
+ }
166
+ ]
167
+ },
168
+ "operationType": {
169
+ "type": "string",
170
+ "title": "统计方式",
171
+ "x-category": "基础属性",
172
+ "x-index": 40,
173
+ "x-linkages": [
174
+ {
175
+ "type": "value:state",
176
+ "target": "label",
177
+ "condition": "{{ $self.inputed && !!$form.values.field && !!$self.value }}",
178
+ "state": {
179
+ "value": "{{ $form.values.field.title + ['计数','最大值','最小值','平均值'][['count','max','min','avg'].indexOf($self.value)] }}"
180
+ }
181
+ },
182
+ {
183
+ "type": "value:state",
184
+ "target": "label",
185
+ "condition": "{{ $self.inputed && !!$form.values.field && $self.value==='sum' }}",
186
+ "state": {
187
+ "value": "{{ $form.values.field.title + '总和' }}"
188
+ }
189
+ }
190
+ ]
191
+ },
192
+ "label": {
193
+ "type": "string",
194
+ "title": "字段展示名称",
195
+ "x-category": "基础属性",
196
+ "x-index": 50,
197
+ "x-props": {
198
+ "placeholder": "根据字段选择自动填充"
199
+ },
200
+ "default": "今日活跃用户数"
201
+ },
202
+ "isCountEmpty": {
203
+ "type": "boolean",
204
+ "title": "是否统计空值",
205
+ "x-category": "基础属性",
206
+ "x-index": 60,
207
+ "default": false
208
+ },
209
+ "isShowUnit": {
210
+ "type": "boolean",
211
+ "title": "是否显示单位",
212
+ "x-category": "高级属性",
213
+ "x-index": 70,
214
+ "default": true,
215
+ "x-linkages": [
216
+ {
217
+ "type": "value:visible",
218
+ "target": "*(unit,decimalDigits,suffix)",
219
+ "condition": "{{ $self.value }}"
220
+ }
221
+ ]
222
+ },
223
+ "unit": {
224
+ "type": "number",
225
+ "title": "数值量级",
226
+ "x-category": "高级属性",
227
+ "x-index": 80,
228
+ "default": 1,
229
+ "enum": [
230
+ {
231
+ "label": "个",
232
+ "value": 1
233
+ },
234
+ {
235
+ "label": "十",
236
+ "value": 10
237
+ },
238
+ {
239
+ "label": "百",
240
+ "value": 100
241
+ },
242
+ {
243
+ "label": "千",
244
+ "value": 1000
245
+ },
246
+ {
247
+ "label": "万",
248
+ "value": 10000
249
+ },
250
+ {
251
+ "label": "十万",
252
+ "value": 100000
253
+ },
254
+ {
255
+ "label": "百万",
256
+ "value": 1000000
257
+ },
258
+ {
259
+ "label": "千万",
260
+ "value": 10000000
261
+ },
262
+ {
263
+ "label": "亿",
264
+ "value": 100000000
265
+ }
266
+ ],
267
+ "x-linkages": [
268
+ {
269
+ "type": "value:state",
270
+ "target": "suffix",
271
+ "condition": "{{ $self.inputed && $self.value!==1 }}",
272
+ "state": {
273
+ "value": "{{$self.props.enum.find(s=>s.value===$self.value) ? $self.props.enum.find(s=>s.value===$self.value).label: '' }}"
274
+ }
275
+ },
276
+ {
277
+ "type": "value:state",
278
+ "target": "suffix",
279
+ "condition": "{{ $self.inputed && $self.value===1 }}",
280
+ "state": {
281
+ "value": ""
282
+ }
283
+ }
284
+ ]
285
+ },
286
+ "decimalDigits": {
287
+ "type": "number",
288
+ "title": "小数位数",
289
+ "x-category": "高级属性",
290
+ "x-index": 90,
291
+ "default": 0,
292
+ "x-props": {
293
+ "max": 10,
294
+ "min": 0
295
+ },
296
+ "x-linkages": [
297
+ {
298
+ "type": "value:state",
299
+ "target": "decimalDigits",
300
+ "condition": "{{ $self.value == '' || isNaN($self.value) || $self.value < 0 }}",
301
+ "state": {
302
+ "value": 0
303
+ }
304
+ },
305
+ {
306
+ "type": "value:state",
307
+ "target": "decimalDigits",
308
+ "condition": "{{ $self.value > 10 }}",
309
+ "state": {
310
+ "value": 10
311
+ }
312
+ }
313
+ ]
314
+ },
315
+ "suffix": {
316
+ "type": "string",
317
+ "title": "后缀",
318
+ "x-category": "高级属性",
319
+ "x-index": 100
320
+ }
321
+ }
322
+ },
323
+ "events": [{ "title": "点击", "name": "tap" }],
324
+ "meta": {
325
+ "title": "统计卡片",
326
+ "description": "统计卡片",
327
+ "icon": "//qcloudimg.tencent-cloud.cn/raw/8475042e83e7cb5731983a9432de9e30.svg",
328
+ "category": "图表组件",
329
+ "componentOrder": 1
330
+ }
331
+ }
@@ -0,0 +1,139 @@
1
+ {
2
+ "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
3
+ "data": {
4
+ "properties": {
5
+ "datasource": {
6
+ "x-index": 10,
7
+ "title": "数据模型",
8
+ "type": "object",
9
+ "x-category": "基础属性",
10
+ "properties": {
11
+ "name": {
12
+ "title": "数据模型名",
13
+ "type": "string"
14
+ },
15
+ "extra": {
16
+ "title": "数据模型属性",
17
+ "type": "object",
18
+ "properties": {
19
+ "viewId": {
20
+ "title": "数据模型视图id",
21
+ "type": "string"
22
+ },
23
+ "methodName": {
24
+ "title": "数据模型方法名",
25
+ "type": "object"
26
+ }
27
+ }
28
+ }
29
+ },
30
+ "x-component": "datasource-selector",
31
+ "x-component-props": { "dataContainerType": "dataView" },
32
+ "x-props": { "data-hidebind": true },
33
+ "x-linkages": [
34
+ {
35
+ "type": "value:schema",
36
+ "target": "params",
37
+ "schema": {
38
+ "x-component-props": "{{$value}}"
39
+ }
40
+ },
41
+ {
42
+ "type": "value:schema",
43
+ "condition": "{{ !!$value.name }}",
44
+ "target": "where",
45
+ "schema": {
46
+ "x-component-props": "{{{selectedDataSourceName: $value.name}}}"
47
+ }
48
+ }
49
+ ]
50
+ },
51
+ "where": {
52
+ "x-index": 20,
53
+ "title": "数据筛选",
54
+ "x-category": "基础属性",
55
+ "type": "array",
56
+ "items": {},
57
+ "x-component": "condition-select",
58
+ "x-component-props": {
59
+ "selectedDataSourceName": null,
60
+ "customLogicOptions": [
61
+ {
62
+ "text": "且",
63
+ "value": "and"
64
+ }
65
+ ],
66
+ "blackListConfig": {
67
+ "format": ["related", "father-son", "x-file", "x-image"],
68
+ "type": ["object", "array"]
69
+ },
70
+ "customRelOptions": {
71
+ "number": [
72
+ {
73
+ "value": "equal",
74
+ "text": "等于",
75
+ "type": "equal"
76
+ },
77
+ {
78
+ "value": "unequal",
79
+ "text": "不等于",
80
+ "type": "unequal"
81
+ },
82
+ {
83
+ "value": "greater",
84
+ "text": "大于",
85
+ "type": "greate"
86
+ },
87
+ {
88
+ "value": "greater_or_equal",
89
+ "text": "大于等于",
90
+ "type": "greater_or_equal"
91
+ },
92
+ {
93
+ "value": "less",
94
+ "text": "小于",
95
+ "type": "less"
96
+ },
97
+ {
98
+ "value": "less_or_equal",
99
+ "text": "小于等于",
100
+ "type": "less_or_equal"
101
+ }
102
+ ]
103
+ }
104
+ },
105
+ "x-props": {
106
+ "data-hidebind": true,
107
+ "data-hideBindValue": true,
108
+ "data-withBindMeta": true
109
+ }
110
+ }
111
+ }
112
+ },
113
+ "events": [
114
+ {
115
+ "name": "queryEmpty",
116
+ "title": "查询为空"
117
+ },
118
+ {
119
+ "name": "querySuccess",
120
+ "title": "查询成功"
121
+ },
122
+ {
123
+ "name": "queryFail",
124
+ "title": "查询失败"
125
+ }
126
+ ],
127
+ "compConfig": {
128
+ "isDataContainer": true,
129
+ "componentType": "dataview"
130
+ },
131
+ "isContainer": true,
132
+ "meta": {
133
+ "title": "数据视图",
134
+ "category": "数据容器",
135
+ "description": "数据容器组件",
136
+ "componentOrder": 1000,
137
+ "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/DataView.svg"
138
+ }
139
+ }
@@ -0,0 +1,152 @@
1
+ {
2
+ "$schema": "https://comp-public-1303824488.cos.ap-shanghai.myqcloud.com/schema/lcds_component.json",
3
+ "data": {
4
+ "properties": {
5
+ "dataSource": {
6
+ "type": "object",
7
+ "default": {},
8
+ "title": "数据源属性"
9
+ },
10
+ "label": {
11
+ "type": "string",
12
+ "default": "地图定位",
13
+ "title": "标题"
14
+ },
15
+ "locationType": {
16
+ "enum": [
17
+ {
18
+ "label": "无",
19
+ "value": 1
20
+ },
21
+ {
22
+ "label": "用户当前位置",
23
+ "value": 2
24
+ },
25
+ {
26
+ "label": "自定义",
27
+ "value": 3
28
+ }
29
+ ],
30
+ "type": "string",
31
+ "title": "默认显示位置",
32
+ "default": 1,
33
+ "x-index": 3
34
+ },
35
+ "customLocation": {
36
+ "type": "object",
37
+ "title": "位置输入",
38
+ "x-index": 4,
39
+ "x-category": "基础属性",
40
+ "properties":{
41
+ "latitude":{
42
+ "title": "纬度",
43
+ "type":"number",
44
+ "default":22.540366
45
+ },
46
+ "longitude":{
47
+ "title": "经度",
48
+ "type":"number",
49
+ "default":113.934559
50
+ },
51
+ "poiname":{
52
+ "title": "详细位置",
53
+ "type":"string",
54
+ "default":"深圳市南山区深南大道10000号腾讯大厦"
55
+ }
56
+ },
57
+ "default": {
58
+ "latitude":22.540366,
59
+ "longitude":113.934559,
60
+ "poiname":"深圳市南山区深南大道10000号腾讯大厦"
61
+ }
62
+ },
63
+ "value": {
64
+ "type": "object",
65
+ "title": "默认值",
66
+ "x-category": "基础属性",
67
+ "x-component": "jsontext",
68
+ "properties":{
69
+ "address": {
70
+ "description":"地点名称",
71
+ "type":"string",
72
+ "default":""
73
+ },
74
+ "geopoint":{
75
+ "description": "经纬度",
76
+ "type": "object",
77
+ "properties": {
78
+ "coordinates": {
79
+ "x-required": true,
80
+ "type": "array",
81
+ "items": {
82
+ "minItems": 2,
83
+ "maxItems": 2,
84
+ "type": "number"
85
+ }
86
+ },
87
+ "type": {
88
+ "x-required": true,
89
+ "type": "string"
90
+ }
91
+ },
92
+ "default":{
93
+ "coordinates":[39.98410411,116.307503],
94
+ "type":"Point"
95
+ }
96
+ }
97
+ },
98
+ "default": {
99
+ "address": "",
100
+ "geopoint": {
101
+ "coordinates": [39.98410411, 116.307503],
102
+ "type": "Point"
103
+ }
104
+ }
105
+ },
106
+ "labelVisible": {
107
+ "type": "boolean",
108
+ "default": true,
109
+ "title": "显示标题"
110
+ },
111
+ "showLngLat": {
112
+ "type": "boolean",
113
+ "default": false,
114
+ "title": "显示经纬度"
115
+ },
116
+ "showMap": {
117
+ "type": "boolean",
118
+ "default": false,
119
+ "title": "显示地图"
120
+ },
121
+ "defauleShowLocation": {
122
+ "type": "boolean",
123
+ "default": true,
124
+ "title": "默认显示当前位置"
125
+ },
126
+ "drag": {
127
+ "type": "boolean",
128
+ "default": true,
129
+ "title": "允许拖动"
130
+ },
131
+ "zoom": {
132
+ "type": "boolean",
133
+ "default": true,
134
+ "title": "允许缩放"
135
+ },
136
+ "disabled": {
137
+ "type": "boolean",
138
+ "default": false,
139
+ "title": "是否禁用"
140
+ }
141
+ }
142
+ },
143
+ "meta": {
144
+ "title": "地图定位",
145
+ "description": "地图定位",
146
+ "category": "表单",
147
+ "icon": "//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/FormLocation.svg"
148
+ },
149
+ "events": [
150
+ { "name": "change", "title": "选择定位坐标改变" }
151
+ ]
152
+ }
@@ -153,6 +153,7 @@
153
153
  "meta": {
154
154
  "title": "上传文件",
155
155
  "description": "上传文件组件",
156
- "category": "表单"
156
+ "category": "表单",
157
+ "icon":"//imgcache.qq.com/qcloud/lowcode/static/ide/left-material-icon/UploadFile.svg"
157
158
  }
158
159
  }