@cloudbase/weda-ui 3.4.4 → 3.4.5
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/components/chart/bar.json +113 -8
- package/dist/configs/components/chart/line.js +113 -8
- package/dist/configs/components/chart/pie.json +113 -8
- package/dist/configs/components/chart/statisticsCard.json +57 -0
- package/dist/configs/components/dataView.js +7 -7
- package/dist/configs/components/graphicCard.json +1 -1
- package/dist/configs/components/listView.js +113 -9
- package/dist/configs/components/navLayout.json +1 -1
- package/dist/configs/components/table.json +124 -9
- package/dist/style/index.scss +1 -1
- package/dist/web/components/chart/common/data-transform.js +1 -1
- package/dist/web/components/chart/statisticsCard/index.js +1 -1
- package/dist/web/components/flow/components/UserSelectModel/UserSelect.js +9 -11
- package/dist/web/components/flow/components/UserSelectModel/UserSelectMobile.js +2 -6
- package/dist/web/components/flow/modules/chart/index.css +0 -3
- package/dist/web/components/flow/modules/control/ApprovalPopup.js +2 -3
- package/dist/web/components/flow/modules/control/Control.js +27 -15
- package/dist/web/components/flow/modules/control/ControlMobile.css +32 -0
- package/dist/web/components/flow/modules/control/ControlMobile.js +28 -13
- package/dist/web/components/flow/modules/control/FlowTaskInfoModal.js +4 -4
- package/dist/web/components/flow/modules/control/provider/useControlModel.js +2 -6
- package/dist/web/components/flow/modules/control/provider/useMobileModel.js +0 -2
- package/dist/web/components/flow/modules/control/provider/useRevokeAndBackHook.js +2 -0
- package/dist/web/components/flow/modules/control/utils/index.js +1 -0
- package/dist/web/components/flow/modules/control/utils/tools.js +3 -0
- package/dist/web/components/form/select/dropdown-select/h5.js +1 -1
- package/dist/web/components/form/select/dropdown-select/index.css +7 -0
- package/dist/web/components/form/select/index.js +2 -7
- package/dist/web/components/form/textarea/index.js +1 -1
- package/dist/web/components/form/uploaderFile/index.css +6 -5
- package/dist/web/components/form/uploaderFile/uploadFile.h5.js +10 -11
- package/dist/web/components/form/uploaderFile/uploadFile.pc.js +3 -2
- package/dist/web/components/form/userOrgSelect/component/user-select-h5/index.js +39 -22
- package/dist/web/components/form/userOrgSelect/component/user-select-h5/user-select-h5.js +11 -2
- package/dist/web/components/listView/index.js +94 -97
- package/dist/web/components/richTextView/index.css +2 -0
- package/dist/web/components/swiper/index.js +14 -8
- package/dist/web/components/table/BaseTable.js +3 -3
- package/dist/web/utils/hooks/use-cloud-id-temp-url.js +2 -1
- package/dist/web/utils/platform.js +9 -1
- package/package.json +3 -3
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"value": "data-model"
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
|
-
"label": "
|
|
155
|
+
"label": "APIs",
|
|
156
156
|
"value": "custom-connector"
|
|
157
157
|
},
|
|
158
158
|
{
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
|
-
"_comment": "
|
|
183
|
+
"_comment": "APIs才显示的",
|
|
184
184
|
"type": "value:state",
|
|
185
185
|
"target": "*(connector,connectorMethod,connectorParams)",
|
|
186
186
|
"condition": "{{$self.value === 'custom-connector'}}",
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
}
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
|
-
"_comment": "
|
|
192
|
+
"_comment": "APIs隐藏的",
|
|
193
193
|
"type": "value:state",
|
|
194
194
|
"target": "*(groupKey,filterData,xFieldShow,xField,yFieldSubTitle,yField,datasourceVariable,dataModel,xStatistics)",
|
|
195
195
|
"condition": "{{$self.value === 'custom-connector'}}",
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
"x-component": "variable-expression"
|
|
337
337
|
},
|
|
338
338
|
"connector": {
|
|
339
|
-
"title": "
|
|
339
|
+
"title": "APIs",
|
|
340
340
|
"type": "object",
|
|
341
341
|
"x-component": "connector-select",
|
|
342
342
|
"x-index": 54,
|
|
@@ -350,11 +350,13 @@
|
|
|
350
350
|
"type": "value:schema",
|
|
351
351
|
"target": "connectorMethod",
|
|
352
352
|
"schema": {
|
|
353
|
-
"x-component-props":
|
|
353
|
+
"x-component-props": {
|
|
354
|
+
"value": "{{$self.value}}"
|
|
355
|
+
}
|
|
354
356
|
}
|
|
355
357
|
}
|
|
356
358
|
],
|
|
357
|
-
"remarks": "
|
|
359
|
+
"remarks": "展示数据的APIs来源选择",
|
|
358
360
|
"properties": {
|
|
359
361
|
"datasource": {
|
|
360
362
|
"type": "object",
|
|
@@ -382,7 +384,110 @@
|
|
|
382
384
|
"x-component": "connector-method-select",
|
|
383
385
|
"x-index": 55,
|
|
384
386
|
"x-category": "基础属性",
|
|
385
|
-
"
|
|
387
|
+
"x-component-props": {
|
|
388
|
+
"docUrl": "https://cloud.tencent.com/document/product/1301/71197#.E6.9F.B1.E7.8A.B6.E5.9B.BE.E3.80.81.E6.8A.98.E7.BA.BF.E5.9B.BE.E3.80.81.E9.A5.BC.E5.9B.BE",
|
|
389
|
+
"paramsSchema": {
|
|
390
|
+
"type": "object",
|
|
391
|
+
"properties": {
|
|
392
|
+
"outParams": {
|
|
393
|
+
"type": "object",
|
|
394
|
+
"properties": {
|
|
395
|
+
"properties": {
|
|
396
|
+
"type": "object",
|
|
397
|
+
"properties": {
|
|
398
|
+
"result": {
|
|
399
|
+
"type": "object",
|
|
400
|
+
"properties": {
|
|
401
|
+
"type": {
|
|
402
|
+
"const": "array"
|
|
403
|
+
},
|
|
404
|
+
"items": {
|
|
405
|
+
"type": "object",
|
|
406
|
+
"properties": {
|
|
407
|
+
"type": {
|
|
408
|
+
"const": "object"
|
|
409
|
+
},
|
|
410
|
+
"properties": {
|
|
411
|
+
"type": "object",
|
|
412
|
+
"properties": {
|
|
413
|
+
"XLabel": {
|
|
414
|
+
"type": "object",
|
|
415
|
+
"properties": {
|
|
416
|
+
"type": {
|
|
417
|
+
"const": "object"
|
|
418
|
+
},
|
|
419
|
+
"properties": {
|
|
420
|
+
"type": "object",
|
|
421
|
+
"properties": {
|
|
422
|
+
"Value": {
|
|
423
|
+
"type": "object",
|
|
424
|
+
"properties": {
|
|
425
|
+
"type": {
|
|
426
|
+
"const": "string"
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"required": ["Value"]
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"YLabels": {
|
|
436
|
+
"type": "object",
|
|
437
|
+
"properties": {
|
|
438
|
+
"type": {
|
|
439
|
+
"const": "array"
|
|
440
|
+
},
|
|
441
|
+
"items": {
|
|
442
|
+
"type": "object",
|
|
443
|
+
"properties": {
|
|
444
|
+
"type": {
|
|
445
|
+
"const": "object"
|
|
446
|
+
},
|
|
447
|
+
"properties": {
|
|
448
|
+
"type": "object",
|
|
449
|
+
"properties": {
|
|
450
|
+
"Name": {
|
|
451
|
+
"type": "object",
|
|
452
|
+
"properties": {
|
|
453
|
+
"type": {
|
|
454
|
+
"const": "string"
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
"Value": {
|
|
459
|
+
"type": "object",
|
|
460
|
+
"properties": {
|
|
461
|
+
"type": {
|
|
462
|
+
"const": "number"
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
"required": ["Name", "Value"]
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
"required": ["XLabel", "YLabels"]
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"required": ["result"]
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
"x-helper-text": "方法的出入参需满足组件要求,[查看文档](https://cloud.tencent.com/document/product/1301/71197#.E6.9F.B1.E7.8A.B6.E5.9B.BE.E3.80.81.E6.8A.98.E7.BA.BF.E5.9B.BE.E3.80.81.E9.A5.BC.E5.9B.BE)",
|
|
489
|
+
"x-helper-text-color": "#E37318",
|
|
490
|
+
"remarks": "展示数据的APIs调用方法选择"
|
|
386
491
|
},
|
|
387
492
|
"connectorParams": {
|
|
388
493
|
"title": "查询入参",
|
|
@@ -397,7 +502,7 @@
|
|
|
397
502
|
},
|
|
398
503
|
"x-index": 56,
|
|
399
504
|
"x-category": "基础属性",
|
|
400
|
-
"remarks": "
|
|
505
|
+
"remarks": "对APIs调用方法获取的数据进行筛选过滤。支持对象类型,例如 {name:'',value:''}"
|
|
401
506
|
},
|
|
402
507
|
"filterData": {
|
|
403
508
|
"title": "数据筛选",
|
|
@@ -105,7 +105,7 @@ const data = Type.Object({
|
|
|
105
105
|
value: 'data-model',
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
|
-
label: '
|
|
108
|
+
label: 'APIs',
|
|
109
109
|
value: 'custom-connector',
|
|
110
110
|
},
|
|
111
111
|
{
|
|
@@ -133,7 +133,7 @@ const data = Type.Object({
|
|
|
133
133
|
},
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
|
-
_comment: '
|
|
136
|
+
_comment: 'APIs才显示的',
|
|
137
137
|
type: 'value:state',
|
|
138
138
|
target: '*(connector,connectorMethod,connectorParams)',
|
|
139
139
|
condition: "{{$self.value === 'custom-connector'}}",
|
|
@@ -142,7 +142,7 @@ const data = Type.Object({
|
|
|
142
142
|
},
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
|
-
_comment: '
|
|
145
|
+
_comment: 'APIs隐藏的',
|
|
146
146
|
type: 'value:state',
|
|
147
147
|
target: '*(groupKey,filterData,xFieldShow,xField,yFieldSubTitle,yField,datasourceVariable,dataModel,xStatistics)',
|
|
148
148
|
condition: "{{$self.value === 'custom-connector'}}",
|
|
@@ -265,7 +265,7 @@ const data = Type.Object({
|
|
|
265
265
|
}),
|
|
266
266
|
})),
|
|
267
267
|
}, {
|
|
268
|
-
title: '
|
|
268
|
+
title: 'APIs',
|
|
269
269
|
'x-component': 'connector-select',
|
|
270
270
|
required: true,
|
|
271
271
|
'x-props': {
|
|
@@ -278,11 +278,13 @@ const data = Type.Object({
|
|
|
278
278
|
type: 'value:schema',
|
|
279
279
|
target: 'connectorMethod',
|
|
280
280
|
schema: {
|
|
281
|
-
'x-component-props':
|
|
281
|
+
'x-component-props': {
|
|
282
|
+
value: '{{$self.value}}',
|
|
283
|
+
},
|
|
282
284
|
},
|
|
283
285
|
},
|
|
284
286
|
],
|
|
285
|
-
remarks: '
|
|
287
|
+
remarks: '展示数据的APIs来源选择',
|
|
286
288
|
}),
|
|
287
289
|
connectorMethod: Type.Object({
|
|
288
290
|
name: Type.Optional(Type.String({ title: '方法标识' })),
|
|
@@ -293,7 +295,110 @@ const data = Type.Object({
|
|
|
293
295
|
required: true,
|
|
294
296
|
'x-index': 55,
|
|
295
297
|
'x-category': '基础属性',
|
|
296
|
-
|
|
298
|
+
'x-component-props': {
|
|
299
|
+
docUrl: 'https://cloud.tencent.com/document/product/1301/71197#.E6.9F.B1.E7.8A.B6.E5.9B.BE.E3.80.81.E6.8A.98.E7.BA.BF.E5.9B.BE.E3.80.81.E9.A5.BC.E5.9B.BE',
|
|
300
|
+
paramsSchema: {
|
|
301
|
+
type: 'object',
|
|
302
|
+
properties: {
|
|
303
|
+
outParams: {
|
|
304
|
+
type: 'object',
|
|
305
|
+
properties: {
|
|
306
|
+
properties: {
|
|
307
|
+
type: 'object',
|
|
308
|
+
properties: {
|
|
309
|
+
result: {
|
|
310
|
+
type: 'object',
|
|
311
|
+
properties: {
|
|
312
|
+
type: {
|
|
313
|
+
const: 'array',
|
|
314
|
+
},
|
|
315
|
+
items: {
|
|
316
|
+
type: 'object',
|
|
317
|
+
properties: {
|
|
318
|
+
type: {
|
|
319
|
+
const: 'object',
|
|
320
|
+
},
|
|
321
|
+
properties: {
|
|
322
|
+
type: 'object',
|
|
323
|
+
properties: {
|
|
324
|
+
XLabel: {
|
|
325
|
+
type: 'object',
|
|
326
|
+
properties: {
|
|
327
|
+
type: {
|
|
328
|
+
const: 'object',
|
|
329
|
+
},
|
|
330
|
+
properties: {
|
|
331
|
+
type: 'object',
|
|
332
|
+
properties: {
|
|
333
|
+
Value: {
|
|
334
|
+
type: 'object',
|
|
335
|
+
properties: {
|
|
336
|
+
type: {
|
|
337
|
+
const: 'string',
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
},
|
|
341
|
+
},
|
|
342
|
+
required: ['Value'],
|
|
343
|
+
},
|
|
344
|
+
},
|
|
345
|
+
},
|
|
346
|
+
YLabels: {
|
|
347
|
+
type: 'object',
|
|
348
|
+
properties: {
|
|
349
|
+
type: {
|
|
350
|
+
const: 'array',
|
|
351
|
+
},
|
|
352
|
+
items: {
|
|
353
|
+
type: 'object',
|
|
354
|
+
properties: {
|
|
355
|
+
type: {
|
|
356
|
+
const: 'object',
|
|
357
|
+
},
|
|
358
|
+
properties: {
|
|
359
|
+
type: 'object',
|
|
360
|
+
properties: {
|
|
361
|
+
Name: {
|
|
362
|
+
type: 'object',
|
|
363
|
+
properties: {
|
|
364
|
+
type: {
|
|
365
|
+
const: 'string',
|
|
366
|
+
},
|
|
367
|
+
},
|
|
368
|
+
},
|
|
369
|
+
Value: {
|
|
370
|
+
type: 'object',
|
|
371
|
+
properties: {
|
|
372
|
+
type: {
|
|
373
|
+
const: 'number',
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
},
|
|
377
|
+
},
|
|
378
|
+
required: ['Name', 'Value'],
|
|
379
|
+
},
|
|
380
|
+
},
|
|
381
|
+
},
|
|
382
|
+
},
|
|
383
|
+
},
|
|
384
|
+
},
|
|
385
|
+
required: ['XLabel', 'YLabels'],
|
|
386
|
+
},
|
|
387
|
+
},
|
|
388
|
+
},
|
|
389
|
+
},
|
|
390
|
+
},
|
|
391
|
+
},
|
|
392
|
+
required: ['result'],
|
|
393
|
+
},
|
|
394
|
+
},
|
|
395
|
+
},
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
},
|
|
399
|
+
'x-helper-text': '方法的出入参需满足组件要求,[查看文档](https://cloud.tencent.com/document/product/1301/71197#.E6.9F.B1.E7.8A.B6.E5.9B.BE.E3.80.81.E6.8A.98.E7.BA.BF.E5.9B.BE.E3.80.81.E9.A5.BC.E5.9B.BE)',
|
|
400
|
+
'x-helper-text-color': '#E37318',
|
|
401
|
+
remarks: '展示数据的APIs调用方法选择',
|
|
297
402
|
}),
|
|
298
403
|
connectorParams: Type.Record(Type.String(), Type.Any(), {
|
|
299
404
|
title: '查询入参',
|
|
@@ -307,7 +412,7 @@ const data = Type.Object({
|
|
|
307
412
|
},
|
|
308
413
|
'x-index': 56,
|
|
309
414
|
'x-category': '基础属性',
|
|
310
|
-
remarks: "
|
|
415
|
+
remarks: "对APIs调用方法获取的数据进行筛选过滤。支持对象类型,例如 {name:'',value:''}",
|
|
311
416
|
}),
|
|
312
417
|
filterData: Type.Record(Type.String(), Type.Any(), {
|
|
313
418
|
title: '数据筛选',
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"value": "data-model"
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
|
-
"label": "
|
|
98
|
+
"label": "APIs",
|
|
99
99
|
"value": "custom-connector"
|
|
100
100
|
},
|
|
101
101
|
{
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
|
-
"_comment": "
|
|
126
|
+
"_comment": "APIs才显示的",
|
|
127
127
|
"type": "value:state",
|
|
128
128
|
"target": "*(connector,connectorMethod,connectorParams)",
|
|
129
129
|
"condition": "{{$self.value === 'custom-connector'}}",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
}
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
|
-
"_comment": "
|
|
135
|
+
"_comment": "APIs隐藏的",
|
|
136
136
|
"type": "value:state",
|
|
137
137
|
"target": "*(groupKey,filterData,xFieldShow,xField,yFieldSubTitle,yField,datasourceVariable,dataModel,xStatistics)",
|
|
138
138
|
"condition": "{{$self.value === 'custom-connector'}}",
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
"x-component": "variable-expression"
|
|
239
239
|
},
|
|
240
240
|
"connector": {
|
|
241
|
-
"title": "
|
|
241
|
+
"title": "APIs",
|
|
242
242
|
"type": "object",
|
|
243
243
|
"x-component": "connector-select",
|
|
244
244
|
"required": true,
|
|
@@ -252,11 +252,13 @@
|
|
|
252
252
|
"type": "value:schema",
|
|
253
253
|
"target": "connectorMethod",
|
|
254
254
|
"schema": {
|
|
255
|
-
"x-component-props":
|
|
255
|
+
"x-component-props": {
|
|
256
|
+
"value": "{{$self.value}}"
|
|
257
|
+
}
|
|
256
258
|
}
|
|
257
259
|
}
|
|
258
260
|
],
|
|
259
|
-
"remarks": "
|
|
261
|
+
"remarks": "展示数据的APIs来源选择",
|
|
260
262
|
"properties": {
|
|
261
263
|
"datasource": {
|
|
262
264
|
"type": "object",
|
|
@@ -284,7 +286,110 @@
|
|
|
284
286
|
"x-component": "connector-method-select",
|
|
285
287
|
"x-index": 46,
|
|
286
288
|
"x-category": "基础属性",
|
|
287
|
-
"
|
|
289
|
+
"x-component-props": {
|
|
290
|
+
"docUrl": "https://cloud.tencent.com/document/product/1301/71197#.E6.9F.B1.E7.8A.B6.E5.9B.BE.E3.80.81.E6.8A.98.E7.BA.BF.E5.9B.BE.E3.80.81.E9.A5.BC.E5.9B.BE",
|
|
291
|
+
"paramsSchema": {
|
|
292
|
+
"type": "object",
|
|
293
|
+
"properties": {
|
|
294
|
+
"outParams": {
|
|
295
|
+
"type": "object",
|
|
296
|
+
"properties": {
|
|
297
|
+
"properties": {
|
|
298
|
+
"type": "object",
|
|
299
|
+
"properties": {
|
|
300
|
+
"result": {
|
|
301
|
+
"type": "object",
|
|
302
|
+
"properties": {
|
|
303
|
+
"type": {
|
|
304
|
+
"const": "array"
|
|
305
|
+
},
|
|
306
|
+
"items": {
|
|
307
|
+
"type": "object",
|
|
308
|
+
"properties": {
|
|
309
|
+
"type": {
|
|
310
|
+
"const": "object"
|
|
311
|
+
},
|
|
312
|
+
"properties": {
|
|
313
|
+
"type": "object",
|
|
314
|
+
"properties": {
|
|
315
|
+
"XLabel": {
|
|
316
|
+
"type": "object",
|
|
317
|
+
"properties": {
|
|
318
|
+
"type": {
|
|
319
|
+
"const": "object"
|
|
320
|
+
},
|
|
321
|
+
"properties": {
|
|
322
|
+
"type": "object",
|
|
323
|
+
"properties": {
|
|
324
|
+
"Value": {
|
|
325
|
+
"type": "object",
|
|
326
|
+
"properties": {
|
|
327
|
+
"type": {
|
|
328
|
+
"const": "string"
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"required": ["Value"]
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"YLabels": {
|
|
338
|
+
"type": "object",
|
|
339
|
+
"properties": {
|
|
340
|
+
"type": {
|
|
341
|
+
"const": "array"
|
|
342
|
+
},
|
|
343
|
+
"items": {
|
|
344
|
+
"type": "object",
|
|
345
|
+
"properties": {
|
|
346
|
+
"type": {
|
|
347
|
+
"const": "object"
|
|
348
|
+
},
|
|
349
|
+
"properties": {
|
|
350
|
+
"type": "object",
|
|
351
|
+
"properties": {
|
|
352
|
+
"Name": {
|
|
353
|
+
"type": "object",
|
|
354
|
+
"properties": {
|
|
355
|
+
"type": {
|
|
356
|
+
"const": "string"
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
"Value": {
|
|
361
|
+
"type": "object",
|
|
362
|
+
"properties": {
|
|
363
|
+
"type": {
|
|
364
|
+
"const": "number"
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
"required": ["Name", "Value"]
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
"required": ["XLabel", "YLabels"]
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"required": ["result"]
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
"x-helper-text": "方法的出入参需满足组件要求,[查看文档](https://cloud.tencent.com/document/product/1301/71197#.E6.9F.B1.E7.8A.B6.E5.9B.BE.E3.80.81.E6.8A.98.E7.BA.BF.E5.9B.BE.E3.80.81.E9.A5.BC.E5.9B.BE)",
|
|
391
|
+
"x-helper-text-color": "#E37318",
|
|
392
|
+
"remarks": "展示数据的APIs调用方法选择"
|
|
288
393
|
},
|
|
289
394
|
"connectorParams": {
|
|
290
395
|
"title": "查询入参",
|
|
@@ -299,7 +404,7 @@
|
|
|
299
404
|
},
|
|
300
405
|
"x-index": 47,
|
|
301
406
|
"x-category": "基础属性",
|
|
302
|
-
"remarks": "
|
|
407
|
+
"remarks": "对APIs调用方法获取的数据进行筛选过滤。支持对象类型,例如 {name:'',value:''}"
|
|
303
408
|
},
|
|
304
409
|
"filterData": {
|
|
305
410
|
"title": "数据筛选",
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
"title": "数据源",
|
|
9
9
|
"x-index": 10,
|
|
10
10
|
"x-component": "chart-datasource-select",
|
|
11
|
+
"x-helper-text": "方法的出入参需满足组件要求,[查看文档](https://cloud.tencent.com/document/product/1301/71197#.E7.BB.9F.E8.AE.A1.E5.8D.A1.E7.89.87)",
|
|
12
|
+
"x-helper-text-color": "#E37318",
|
|
11
13
|
"x-component-props": {
|
|
12
14
|
"postChange": {
|
|
13
15
|
"addOrUpdateComponentDataBinds": {
|
|
@@ -18,6 +20,61 @@
|
|
|
18
20
|
"extra": {}
|
|
19
21
|
}
|
|
20
22
|
}
|
|
23
|
+
},
|
|
24
|
+
"docUrl": "https://cloud.tencent.com/document/product/1301/71197#.E7.BB.9F.E8.AE.A1.E5.8D.A1.E7.89.87",
|
|
25
|
+
"paramsSchema": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"properties": {
|
|
28
|
+
"outParams": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"properties": {
|
|
31
|
+
"properties": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"properties": {
|
|
34
|
+
"result": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"type": {
|
|
38
|
+
"const": "array"
|
|
39
|
+
},
|
|
40
|
+
"items": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"type": {
|
|
44
|
+
"const": "object"
|
|
45
|
+
},
|
|
46
|
+
"properties": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"Name": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"properties": {
|
|
52
|
+
"type": {
|
|
53
|
+
"const": "string"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"Value": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"type": {
|
|
61
|
+
"const": "number"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"required": ["Value"]
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"required": ["result"]
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
21
78
|
}
|
|
22
79
|
},
|
|
23
80
|
"x-linkages": [
|
|
@@ -183,7 +183,7 @@ const config = {
|
|
|
183
183
|
value: 'data-model',
|
|
184
184
|
},
|
|
185
185
|
{
|
|
186
|
-
label: '
|
|
186
|
+
label: 'APIs',
|
|
187
187
|
value: 'custom-connector',
|
|
188
188
|
},
|
|
189
189
|
],
|
|
@@ -238,8 +238,8 @@ const config = {
|
|
|
238
238
|
},
|
|
239
239
|
{
|
|
240
240
|
value: 'custom-connector',
|
|
241
|
-
text: '
|
|
242
|
-
label: '
|
|
241
|
+
text: 'APIs',
|
|
242
|
+
label: 'APIs',
|
|
243
243
|
icon: 'custom-connector',
|
|
244
244
|
isShow: true,
|
|
245
245
|
},
|
|
@@ -303,7 +303,7 @@ const config = {
|
|
|
303
303
|
remarks: '展示模型数据的数据来源',
|
|
304
304
|
},
|
|
305
305
|
bindConnectMetadata: {
|
|
306
|
-
title: '
|
|
306
|
+
title: 'APIs',
|
|
307
307
|
type: 'object',
|
|
308
308
|
required: true,
|
|
309
309
|
'x-component': 'connector-select',
|
|
@@ -321,7 +321,7 @@ const config = {
|
|
|
321
321
|
'x-props': {
|
|
322
322
|
'data-hidebind': true,
|
|
323
323
|
},
|
|
324
|
-
remarks: '
|
|
324
|
+
remarks: '展示数据的APIs来源选择',
|
|
325
325
|
},
|
|
326
326
|
connectorMethod: {
|
|
327
327
|
title: '调用方法',
|
|
@@ -333,14 +333,14 @@ const config = {
|
|
|
333
333
|
'x-props': {
|
|
334
334
|
'data-hidebind': true,
|
|
335
335
|
},
|
|
336
|
-
remarks: '
|
|
336
|
+
remarks: '展示数据的APIs调用方法选择',
|
|
337
337
|
},
|
|
338
338
|
connectorParams: {
|
|
339
339
|
title: '查询入参',
|
|
340
340
|
type: 'string',
|
|
341
341
|
'x-index': 18,
|
|
342
342
|
'x-category': '基础属性',
|
|
343
|
-
remarks: "
|
|
343
|
+
remarks: "对APIs调用方法获取的数据进行筛选过滤。支持对象类型,例如 {name:'',value:''}",
|
|
344
344
|
'x-component': 'property-object-params-field',
|
|
345
345
|
'x-component-props': {
|
|
346
346
|
dataSourceKeyName: 'bindConnectMetadata',
|