jojotaoo_components 0.0.1-beta.0

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 (115) hide show
  1. package/dist/assets/maps/heilongjiang.json +25543 -0
  2. package/dist/components/charts/BackgroundCard.vue.d.ts +17 -0
  3. package/dist/components/charts/BackgroundCard.vue.d.ts.map +1 -0
  4. package/dist/components/charts/BackgroundCard.vue.js +140 -0
  5. package/dist/components/charts/BarChart.vue.d.ts +20 -0
  6. package/dist/components/charts/BarChart.vue.d.ts.map +1 -0
  7. package/dist/components/charts/BarChart.vue.js +109 -0
  8. package/dist/components/charts/CustomLegend.vue.d.ts +28 -0
  9. package/dist/components/charts/CustomLegend.vue.d.ts.map +1 -0
  10. package/dist/components/charts/CustomLegend.vue.js +198 -0
  11. package/dist/components/charts/DataFetchManager.vue.d.ts +10 -0
  12. package/dist/components/charts/DataFetchManager.vue.d.ts.map +1 -0
  13. package/dist/components/charts/DataFetchManager.vue.js +127 -0
  14. package/dist/components/charts/DateTimeDisplay.vue.d.ts +17 -0
  15. package/dist/components/charts/DateTimeDisplay.vue.d.ts.map +1 -0
  16. package/dist/components/charts/DateTimeDisplay.vue.js +112 -0
  17. package/dist/components/charts/GroupComponent.vue.d.ts +13 -0
  18. package/dist/components/charts/GroupComponent.vue.d.ts.map +1 -0
  19. package/dist/components/charts/GroupComponent.vue.js +106 -0
  20. package/dist/components/charts/GroupPreview.vue.d.ts +10 -0
  21. package/dist/components/charts/GroupPreview.vue.d.ts.map +1 -0
  22. package/dist/components/charts/GroupPreview.vue.js +76 -0
  23. package/dist/components/charts/HeaderLineChart.vue.d.ts +17 -0
  24. package/dist/components/charts/HeaderLineChart.vue.d.ts.map +1 -0
  25. package/dist/components/charts/HeaderLineChart.vue.js +62 -0
  26. package/dist/components/charts/ImageDisplay.vue.d.ts +17 -0
  27. package/dist/components/charts/ImageDisplay.vue.d.ts.map +1 -0
  28. package/dist/components/charts/ImageDisplay.vue.js +106 -0
  29. package/dist/components/charts/LineChart.vue.d.ts +20 -0
  30. package/dist/components/charts/LineChart.vue.d.ts.map +1 -0
  31. package/dist/components/charts/LineChart.vue.js +116 -0
  32. package/dist/components/charts/MapChart.vue.d.ts +22 -0
  33. package/dist/components/charts/MapChart.vue.d.ts.map +1 -0
  34. package/dist/components/charts/MapChart.vue.js +680 -0
  35. package/dist/components/charts/PieChart.vue.d.ts +20 -0
  36. package/dist/components/charts/PieChart.vue.d.ts.map +1 -0
  37. package/dist/components/charts/PieChart.vue.js +106 -0
  38. package/dist/components/charts/PieGridChart.vue.d.ts +20 -0
  39. package/dist/components/charts/PieGridChart.vue.d.ts.map +1 -0
  40. package/dist/components/charts/PieGridChart.vue.js +214 -0
  41. package/dist/components/charts/RiskScrollList.vue.d.ts +15 -0
  42. package/dist/components/charts/RiskScrollList.vue.d.ts.map +1 -0
  43. package/dist/components/charts/RiskScrollList.vue.js +294 -0
  44. package/dist/components/charts/ScrollList.vue.d.ts +15 -0
  45. package/dist/components/charts/ScrollList.vue.d.ts.map +1 -0
  46. package/dist/components/charts/ScrollList.vue.js +149 -0
  47. package/dist/components/charts/TextDisplay.vue.d.ts +17 -0
  48. package/dist/components/charts/TextDisplay.vue.d.ts.map +1 -0
  49. package/dist/components/charts/TextDisplay.vue.js +209 -0
  50. package/dist/composables/useChartDataFetch.d.ts +18 -0
  51. package/dist/composables/useChartDataFetch.d.ts.map +1 -0
  52. package/dist/composables/useChartDataFetch.js +131 -0
  53. package/dist/composables/useComponentRender.d.ts +20 -0
  54. package/dist/composables/useComponentRender.d.ts.map +1 -0
  55. package/dist/composables/useComponentRender.js +45 -0
  56. package/dist/composables/useDataPondManager.d.ts +20 -0
  57. package/dist/composables/useDataPondManager.d.ts.map +1 -0
  58. package/dist/composables/useDataPondManager.js +105 -0
  59. package/dist/composables/useECharts.d.ts +9 -0
  60. package/dist/composables/useECharts.d.ts.map +1 -0
  61. package/dist/composables/useECharts.js +118 -0
  62. package/dist/composables/useEventListener.d.ts +2 -0
  63. package/dist/composables/useEventListener.d.ts.map +1 -0
  64. package/dist/composables/useEventListener.js +5 -0
  65. package/dist/composables/useId.d.ts +3 -0
  66. package/dist/composables/useId.d.ts.map +1 -0
  67. package/dist/composables/useId.js +6 -0
  68. package/dist/composables/useInteractClear.d.ts +4 -0
  69. package/dist/composables/useInteractClear.d.ts.map +1 -0
  70. package/dist/composables/useInteractClear.js +26 -0
  71. package/dist/composables/useInteractDispatch.d.ts +5 -0
  72. package/dist/composables/useInteractDispatch.d.ts.map +1 -0
  73. package/dist/composables/useInteractDispatch.js +44 -0
  74. package/dist/composables/useInteractFilter.d.ts +5 -0
  75. package/dist/composables/useInteractFilter.d.ts.map +1 -0
  76. package/dist/composables/useInteractFilter.js +24 -0
  77. package/dist/composables/usePollingManager.d.ts +10 -0
  78. package/dist/composables/usePollingManager.d.ts.map +1 -0
  79. package/dist/composables/usePollingManager.js +42 -0
  80. package/dist/composables/useRequestMerge.d.ts +32 -0
  81. package/dist/composables/useRequestMerge.d.ts.map +1 -0
  82. package/dist/composables/useRequestMerge.js +131 -0
  83. package/dist/config/chartThemes.d.ts +26 -0
  84. package/dist/config/chartThemes.d.ts.map +1 -0
  85. package/dist/config/chartThemes.js +221 -0
  86. package/dist/config/componentDefinitions.d.ts +12 -0
  87. package/dist/config/componentDefinitions.d.ts.map +1 -0
  88. package/dist/config/componentDefinitions.js +503 -0
  89. package/dist/index.cjs +1 -0
  90. package/dist/index.css +2 -0
  91. package/dist/index.d.ts +33 -0
  92. package/dist/index.d.ts.map +1 -0
  93. package/dist/index.js +38 -0
  94. package/dist/stores/dashboard.d.ts +3240 -0
  95. package/dist/stores/dashboard.d.ts.map +1 -0
  96. package/dist/stores/dashboard.js +666 -0
  97. package/dist/stores/utils.d.ts +15 -0
  98. package/dist/stores/utils.d.ts.map +1 -0
  99. package/dist/stores/utils.js +28 -0
  100. package/dist/types/canvas.d.ts +36 -0
  101. package/dist/types/canvas.d.ts.map +1 -0
  102. package/dist/types/canvas.js +1 -0
  103. package/dist/types/component.d.ts +175 -0
  104. package/dist/types/component.d.ts.map +1 -0
  105. package/dist/types/component.js +63 -0
  106. package/dist/types/events.d.ts +43 -0
  107. package/dist/types/events.d.ts.map +1 -0
  108. package/dist/types/events.js +1 -0
  109. package/dist/types/index.d.ts +5 -0
  110. package/dist/types/index.d.ts.map +1 -0
  111. package/dist/types/index.js +4 -0
  112. package/dist/types/request.d.ts +43 -0
  113. package/dist/types/request.d.ts.map +1 -0
  114. package/dist/types/request.js +18 -0
  115. package/package.json +33 -0
@@ -0,0 +1,3240 @@
1
+ import type { EditCanvasConfigType, RequestGlobalConfigType, RequestConfigType, DataPondItem, CanvasComponent } from '../types';
2
+ import { DEFAULT_ATTR } from '../types';
3
+ import type { EventsType, InteractActionItem, InteractEventItem } from '../types/events';
4
+ import { type ChartThemePreset } from '../config/chartThemes';
5
+ export declare const useDashboardStore: import("pinia").StoreDefinition<"dashboard", Pick<{
6
+ components: import("vue").Ref<{
7
+ props: Record<string, any>;
8
+ id: string;
9
+ key: string;
10
+ isGroup?: boolean | undefined;
11
+ chartConfig: {
12
+ key: string;
13
+ chartKey: string;
14
+ conKey: string;
15
+ title: string;
16
+ category: string;
17
+ categoryName: string;
18
+ package: string;
19
+ chartFrame: string;
20
+ image: string;
21
+ redirectComponent?: string | undefined;
22
+ dataset?: any;
23
+ disabled?: boolean | undefined;
24
+ icon?: string | undefined;
25
+ };
26
+ attr: {
27
+ x: number;
28
+ y: number;
29
+ w: number;
30
+ h: number;
31
+ offsetX: number;
32
+ offsetY: number;
33
+ zIndex: number;
34
+ };
35
+ styles: {
36
+ filterShow: boolean;
37
+ opacity: number;
38
+ saturate: number;
39
+ contrast: number;
40
+ hueRotate: number;
41
+ brightness: number;
42
+ rotateZ: number;
43
+ rotateX: number;
44
+ rotateY: number;
45
+ skewX: number;
46
+ skewY: number;
47
+ blendMode: string;
48
+ animations: string[];
49
+ };
50
+ status: {
51
+ lock: boolean;
52
+ hide: boolean;
53
+ };
54
+ filter?: string | undefined;
55
+ preview: {
56
+ overFlowHidden: boolean;
57
+ };
58
+ events?: {
59
+ baseEvent?: {
60
+ click?: string | undefined;
61
+ dblclick?: string | undefined;
62
+ mouseenter?: string | undefined;
63
+ mouseleave?: string | undefined;
64
+ } | undefined;
65
+ advancedEvents?: {
66
+ vnodeMounted?: string | undefined;
67
+ vnodeBeforeMount?: string | undefined;
68
+ } | undefined;
69
+ interactEvents?: {
70
+ interactOn: string;
71
+ interactComponentId?: string | undefined;
72
+ interactComponentIds: string[];
73
+ interactFn: Record<string, string>;
74
+ requestOverrides?: {
75
+ params: Record<string, string>;
76
+ body: Record<string, string>;
77
+ } | undefined;
78
+ }[] | undefined;
79
+ } | undefined;
80
+ interactActions?: {
81
+ interactType: string;
82
+ interactName: string;
83
+ componentEmitEvents: Record<string, {
84
+ value: string;
85
+ label: string;
86
+ }[]>;
87
+ }[] | undefined;
88
+ interactOverrides?: Record<string, any> | undefined;
89
+ request?: {
90
+ requestDataType: 0 | 1 | 2;
91
+ requestUrl?: string | undefined;
92
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
93
+ requestContentType?: number | undefined;
94
+ requestParamsBodyType?: string | undefined;
95
+ requestSQLContent?: {
96
+ sql: string;
97
+ } | undefined;
98
+ requestParams?: {
99
+ Params: Record<string, string>;
100
+ Header: Record<string, string>;
101
+ Body: {
102
+ 'form-data': Record<string, string>;
103
+ 'x-www-form-urlencoded': Record<string, string>;
104
+ json: string;
105
+ xml: string;
106
+ };
107
+ } | undefined;
108
+ requestInterval?: number | null | undefined;
109
+ requestIntervalUnit?: string | undefined;
110
+ requestDataPondId?: string | undefined;
111
+ } | undefined;
112
+ option: Record<string, any>;
113
+ chartStyle?: {
114
+ themeName: string;
115
+ grid: {
116
+ top: number;
117
+ bottom: number;
118
+ left: number;
119
+ right: number;
120
+ };
121
+ titleStyle: {
122
+ show: boolean;
123
+ fontSize: number;
124
+ color: string;
125
+ left: number | string;
126
+ top: number | string;
127
+ };
128
+ legend: {
129
+ show: boolean;
130
+ orient: "horizontal" | "vertical";
131
+ left: number | string;
132
+ top: number | string;
133
+ fontSize: number;
134
+ icon: "circle" | "rect" | "roundRect" | "triangle" | "diamond";
135
+ textColor: string;
136
+ layoutMode: "echarts" | "grid";
137
+ gridColumns: number;
138
+ itemGap: number;
139
+ unit: string;
140
+ };
141
+ xAxis: {
142
+ show: boolean;
143
+ name: string;
144
+ labelFontSize: number;
145
+ labelRotate: number;
146
+ lineColor: string;
147
+ labelColor: string;
148
+ };
149
+ yAxis: {
150
+ show: boolean;
151
+ name: string;
152
+ labelFontSize: number;
153
+ min: number | null;
154
+ max: number | null;
155
+ splitLineShow: boolean;
156
+ splitLineColor: string;
157
+ labelColor: string;
158
+ };
159
+ series: {
160
+ smooth: boolean;
161
+ symbol: string;
162
+ symbolSize: number;
163
+ barWidth: number | string;
164
+ barGap: string | number;
165
+ barCategoryGap: string | number;
166
+ barBorderRadius: number;
167
+ barColorByData: boolean;
168
+ lineWidth: number;
169
+ showArea: boolean;
170
+ showLabel: boolean;
171
+ labelFontSize: number;
172
+ color: string;
173
+ colorEnd: string;
174
+ colorList: string[];
175
+ areaOpacityStart: number;
176
+ areaOpacityEnd: number;
177
+ labelColor: string;
178
+ pieRadius: number;
179
+ pieRoseType: boolean;
180
+ pieLabelPosition: "inside" | "outside" | "center";
181
+ subTitle: string;
182
+ mapRegionColor: string;
183
+ mapRegionBorderColor: string;
184
+ mapRegionHoverColor: string;
185
+ mapLabelShow: boolean;
186
+ mapLabelColor: string;
187
+ mapLabelFontSize: number;
188
+ mapVisualMin: number;
189
+ mapVisualMax: number;
190
+ mapVisualColors: string[];
191
+ mapVisualMapShow: boolean;
192
+ mapMarkPointShow: boolean;
193
+ mapMarkPointSymbolSize: number;
194
+ mapMarkPointColor: string;
195
+ mapMarkPointBorderWidth: number;
196
+ mapMarkPointShadowColor: string;
197
+ mapMarkPointLabelShow: boolean;
198
+ mapMarkPointLabelFontSize: number;
199
+ mapSelectColor: string;
200
+ mapSelectLabelColor: string;
201
+ mapSelectBorderColor: string;
202
+ mapSelectBorderWidth: number;
203
+ mapSelectShadowBlur: number;
204
+ mapSelectShadowColor: string;
205
+ mapHoverBorderColor: string;
206
+ mapHoverBorderWidth: number;
207
+ mapHoverShadowBlur: number;
208
+ mapHoverShadowColor: string;
209
+ mapEmphasisLabelColor: string;
210
+ mapEmphasisLabelFontSize: number;
211
+ mapLabelFontWeight: number;
212
+ mapMiniMapShow: boolean;
213
+ mapMiniMapWidth: number;
214
+ mapMiniMapHeight: number;
215
+ mapTooltipDimensionUnits: Record<string, string>;
216
+ };
217
+ tooltip: {
218
+ show: boolean;
219
+ trigger: "axis" | "item" | "none";
220
+ backgroundColor: string;
221
+ borderColor: string;
222
+ textColor: string;
223
+ };
224
+ backgroundColor: string;
225
+ backgroundOpacity: number;
226
+ } | undefined;
227
+ groupList?: {
228
+ id: string;
229
+ key: string;
230
+ isGroup?: boolean | undefined;
231
+ chartConfig: {
232
+ key: string;
233
+ chartKey: string;
234
+ conKey: string;
235
+ title: string;
236
+ category: string;
237
+ categoryName: string;
238
+ package: string;
239
+ chartFrame: string;
240
+ image: string;
241
+ redirectComponent?: string | undefined;
242
+ dataset?: any;
243
+ disabled?: boolean | undefined;
244
+ icon?: string | undefined;
245
+ };
246
+ attr: {
247
+ x: number;
248
+ y: number;
249
+ w: number;
250
+ h: number;
251
+ offsetX: number;
252
+ offsetY: number;
253
+ zIndex: number;
254
+ };
255
+ styles: {
256
+ filterShow: boolean;
257
+ opacity: number;
258
+ saturate: number;
259
+ contrast: number;
260
+ hueRotate: number;
261
+ brightness: number;
262
+ rotateZ: number;
263
+ rotateX: number;
264
+ rotateY: number;
265
+ skewX: number;
266
+ skewY: number;
267
+ blendMode: string;
268
+ animations: string[];
269
+ };
270
+ status: {
271
+ lock: boolean;
272
+ hide: boolean;
273
+ };
274
+ filter?: string | undefined;
275
+ preview: {
276
+ overFlowHidden: boolean;
277
+ };
278
+ events?: {
279
+ baseEvent?: {
280
+ click?: string | undefined;
281
+ dblclick?: string | undefined;
282
+ mouseenter?: string | undefined;
283
+ mouseleave?: string | undefined;
284
+ } | undefined;
285
+ advancedEvents?: {
286
+ vnodeMounted?: string | undefined;
287
+ vnodeBeforeMount?: string | undefined;
288
+ } | undefined;
289
+ interactEvents?: {
290
+ interactOn: string;
291
+ interactComponentId?: string | undefined;
292
+ interactComponentIds: string[];
293
+ interactFn: Record<string, string>;
294
+ requestOverrides?: {
295
+ params: Record<string, string>;
296
+ body: Record<string, string>;
297
+ } | undefined;
298
+ }[] | undefined;
299
+ } | undefined;
300
+ interactActions?: {
301
+ interactType: string;
302
+ interactName: string;
303
+ componentEmitEvents: Record<string, {
304
+ value: string;
305
+ label: string;
306
+ }[]>;
307
+ }[] | undefined;
308
+ interactOverrides?: Record<string, any> | undefined;
309
+ request?: {
310
+ requestDataType: 0 | 1 | 2;
311
+ requestUrl?: string | undefined;
312
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
313
+ requestContentType?: number | undefined;
314
+ requestParamsBodyType?: string | undefined;
315
+ requestSQLContent?: {
316
+ sql: string;
317
+ } | undefined;
318
+ requestParams?: {
319
+ Params: Record<string, string>;
320
+ Header: Record<string, string>;
321
+ Body: {
322
+ 'form-data': Record<string, string>;
323
+ 'x-www-form-urlencoded': Record<string, string>;
324
+ json: string;
325
+ xml: string;
326
+ };
327
+ } | undefined;
328
+ requestInterval?: number | null | undefined;
329
+ requestIntervalUnit?: string | undefined;
330
+ requestDataPondId?: string | undefined;
331
+ } | undefined;
332
+ option: Record<string, any>;
333
+ chartStyle?: {
334
+ themeName: string;
335
+ grid: {
336
+ top: number;
337
+ bottom: number;
338
+ left: number;
339
+ right: number;
340
+ };
341
+ titleStyle: {
342
+ show: boolean;
343
+ fontSize: number;
344
+ color: string;
345
+ left: number | string;
346
+ top: number | string;
347
+ };
348
+ legend: {
349
+ show: boolean;
350
+ orient: "horizontal" | "vertical";
351
+ left: number | string;
352
+ top: number | string;
353
+ fontSize: number;
354
+ icon: "circle" | "rect" | "roundRect" | "triangle" | "diamond";
355
+ textColor: string;
356
+ layoutMode: "echarts" | "grid";
357
+ gridColumns: number;
358
+ itemGap: number;
359
+ unit: string;
360
+ };
361
+ xAxis: {
362
+ show: boolean;
363
+ name: string;
364
+ labelFontSize: number;
365
+ labelRotate: number;
366
+ lineColor: string;
367
+ labelColor: string;
368
+ };
369
+ yAxis: {
370
+ show: boolean;
371
+ name: string;
372
+ labelFontSize: number;
373
+ min: number | null;
374
+ max: number | null;
375
+ splitLineShow: boolean;
376
+ splitLineColor: string;
377
+ labelColor: string;
378
+ };
379
+ series: {
380
+ smooth: boolean;
381
+ symbol: string;
382
+ symbolSize: number;
383
+ barWidth: number | string;
384
+ barGap: string | number;
385
+ barCategoryGap: string | number;
386
+ barBorderRadius: number;
387
+ barColorByData: boolean;
388
+ lineWidth: number;
389
+ showArea: boolean;
390
+ showLabel: boolean;
391
+ labelFontSize: number;
392
+ color: string;
393
+ colorEnd: string;
394
+ colorList: string[];
395
+ areaOpacityStart: number;
396
+ areaOpacityEnd: number;
397
+ labelColor: string;
398
+ pieRadius: number;
399
+ pieRoseType: boolean;
400
+ pieLabelPosition: "inside" | "outside" | "center";
401
+ subTitle: string;
402
+ mapRegionColor: string;
403
+ mapRegionBorderColor: string;
404
+ mapRegionHoverColor: string;
405
+ mapLabelShow: boolean;
406
+ mapLabelColor: string;
407
+ mapLabelFontSize: number;
408
+ mapVisualMin: number;
409
+ mapVisualMax: number;
410
+ mapVisualColors: string[];
411
+ mapVisualMapShow: boolean;
412
+ mapMarkPointShow: boolean;
413
+ mapMarkPointSymbolSize: number;
414
+ mapMarkPointColor: string;
415
+ mapMarkPointBorderWidth: number;
416
+ mapMarkPointShadowColor: string;
417
+ mapMarkPointLabelShow: boolean;
418
+ mapMarkPointLabelFontSize: number;
419
+ mapSelectColor: string;
420
+ mapSelectLabelColor: string;
421
+ mapSelectBorderColor: string;
422
+ mapSelectBorderWidth: number;
423
+ mapSelectShadowBlur: number;
424
+ mapSelectShadowColor: string;
425
+ mapHoverBorderColor: string;
426
+ mapHoverBorderWidth: number;
427
+ mapHoverShadowBlur: number;
428
+ mapHoverShadowColor: string;
429
+ mapEmphasisLabelColor: string;
430
+ mapEmphasisLabelFontSize: number;
431
+ mapLabelFontWeight: number;
432
+ mapMiniMapShow: boolean;
433
+ mapMiniMapWidth: number;
434
+ mapMiniMapHeight: number;
435
+ mapTooltipDimensionUnits: Record<string, string>;
436
+ };
437
+ tooltip: {
438
+ show: boolean;
439
+ trigger: "axis" | "item" | "none";
440
+ backgroundColor: string;
441
+ borderColor: string;
442
+ textColor: string;
443
+ };
444
+ backgroundColor: string;
445
+ backgroundOpacity: number;
446
+ } | undefined;
447
+ groupList?: /*elided*/ any[] | undefined;
448
+ }[] | undefined;
449
+ }[], CanvasComponent[] | {
450
+ props: Record<string, any>;
451
+ id: string;
452
+ key: string;
453
+ isGroup?: boolean | undefined;
454
+ chartConfig: {
455
+ key: string;
456
+ chartKey: string;
457
+ conKey: string;
458
+ title: string;
459
+ category: string;
460
+ categoryName: string;
461
+ package: string;
462
+ chartFrame: string;
463
+ image: string;
464
+ redirectComponent?: string | undefined;
465
+ dataset?: any;
466
+ disabled?: boolean | undefined;
467
+ icon?: string | undefined;
468
+ };
469
+ attr: {
470
+ x: number;
471
+ y: number;
472
+ w: number;
473
+ h: number;
474
+ offsetX: number;
475
+ offsetY: number;
476
+ zIndex: number;
477
+ };
478
+ styles: {
479
+ filterShow: boolean;
480
+ opacity: number;
481
+ saturate: number;
482
+ contrast: number;
483
+ hueRotate: number;
484
+ brightness: number;
485
+ rotateZ: number;
486
+ rotateX: number;
487
+ rotateY: number;
488
+ skewX: number;
489
+ skewY: number;
490
+ blendMode: string;
491
+ animations: string[];
492
+ };
493
+ status: {
494
+ lock: boolean;
495
+ hide: boolean;
496
+ };
497
+ filter?: string | undefined;
498
+ preview: {
499
+ overFlowHidden: boolean;
500
+ };
501
+ events?: {
502
+ baseEvent?: {
503
+ click?: string | undefined;
504
+ dblclick?: string | undefined;
505
+ mouseenter?: string | undefined;
506
+ mouseleave?: string | undefined;
507
+ } | undefined;
508
+ advancedEvents?: {
509
+ vnodeMounted?: string | undefined;
510
+ vnodeBeforeMount?: string | undefined;
511
+ } | undefined;
512
+ interactEvents?: {
513
+ interactOn: string;
514
+ interactComponentId?: string | undefined;
515
+ interactComponentIds: string[];
516
+ interactFn: Record<string, string>;
517
+ requestOverrides?: {
518
+ params: Record<string, string>;
519
+ body: Record<string, string>;
520
+ } | undefined;
521
+ }[] | undefined;
522
+ } | undefined;
523
+ interactActions?: {
524
+ interactType: string;
525
+ interactName: string;
526
+ componentEmitEvents: Record<string, {
527
+ value: string;
528
+ label: string;
529
+ }[]>;
530
+ }[] | undefined;
531
+ interactOverrides?: Record<string, any> | undefined;
532
+ request?: {
533
+ requestDataType: 0 | 1 | 2;
534
+ requestUrl?: string | undefined;
535
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
536
+ requestContentType?: number | undefined;
537
+ requestParamsBodyType?: string | undefined;
538
+ requestSQLContent?: {
539
+ sql: string;
540
+ } | undefined;
541
+ requestParams?: {
542
+ Params: Record<string, string>;
543
+ Header: Record<string, string>;
544
+ Body: {
545
+ 'form-data': Record<string, string>;
546
+ 'x-www-form-urlencoded': Record<string, string>;
547
+ json: string;
548
+ xml: string;
549
+ };
550
+ } | undefined;
551
+ requestInterval?: number | null | undefined;
552
+ requestIntervalUnit?: string | undefined;
553
+ requestDataPondId?: string | undefined;
554
+ } | undefined;
555
+ option: Record<string, any>;
556
+ chartStyle?: {
557
+ themeName: string;
558
+ grid: {
559
+ top: number;
560
+ bottom: number;
561
+ left: number;
562
+ right: number;
563
+ };
564
+ titleStyle: {
565
+ show: boolean;
566
+ fontSize: number;
567
+ color: string;
568
+ left: number | string;
569
+ top: number | string;
570
+ };
571
+ legend: {
572
+ show: boolean;
573
+ orient: "horizontal" | "vertical";
574
+ left: number | string;
575
+ top: number | string;
576
+ fontSize: number;
577
+ icon: "circle" | "rect" | "roundRect" | "triangle" | "diamond";
578
+ textColor: string;
579
+ layoutMode: "echarts" | "grid";
580
+ gridColumns: number;
581
+ itemGap: number;
582
+ unit: string;
583
+ };
584
+ xAxis: {
585
+ show: boolean;
586
+ name: string;
587
+ labelFontSize: number;
588
+ labelRotate: number;
589
+ lineColor: string;
590
+ labelColor: string;
591
+ };
592
+ yAxis: {
593
+ show: boolean;
594
+ name: string;
595
+ labelFontSize: number;
596
+ min: number | null;
597
+ max: number | null;
598
+ splitLineShow: boolean;
599
+ splitLineColor: string;
600
+ labelColor: string;
601
+ };
602
+ series: {
603
+ smooth: boolean;
604
+ symbol: string;
605
+ symbolSize: number;
606
+ barWidth: number | string;
607
+ barGap: string | number;
608
+ barCategoryGap: string | number;
609
+ barBorderRadius: number;
610
+ barColorByData: boolean;
611
+ lineWidth: number;
612
+ showArea: boolean;
613
+ showLabel: boolean;
614
+ labelFontSize: number;
615
+ color: string;
616
+ colorEnd: string;
617
+ colorList: string[];
618
+ areaOpacityStart: number;
619
+ areaOpacityEnd: number;
620
+ labelColor: string;
621
+ pieRadius: number;
622
+ pieRoseType: boolean;
623
+ pieLabelPosition: "inside" | "outside" | "center";
624
+ subTitle: string;
625
+ mapRegionColor: string;
626
+ mapRegionBorderColor: string;
627
+ mapRegionHoverColor: string;
628
+ mapLabelShow: boolean;
629
+ mapLabelColor: string;
630
+ mapLabelFontSize: number;
631
+ mapVisualMin: number;
632
+ mapVisualMax: number;
633
+ mapVisualColors: string[];
634
+ mapVisualMapShow: boolean;
635
+ mapMarkPointShow: boolean;
636
+ mapMarkPointSymbolSize: number;
637
+ mapMarkPointColor: string;
638
+ mapMarkPointBorderWidth: number;
639
+ mapMarkPointShadowColor: string;
640
+ mapMarkPointLabelShow: boolean;
641
+ mapMarkPointLabelFontSize: number;
642
+ mapSelectColor: string;
643
+ mapSelectLabelColor: string;
644
+ mapSelectBorderColor: string;
645
+ mapSelectBorderWidth: number;
646
+ mapSelectShadowBlur: number;
647
+ mapSelectShadowColor: string;
648
+ mapHoverBorderColor: string;
649
+ mapHoverBorderWidth: number;
650
+ mapHoverShadowBlur: number;
651
+ mapHoverShadowColor: string;
652
+ mapEmphasisLabelColor: string;
653
+ mapEmphasisLabelFontSize: number;
654
+ mapLabelFontWeight: number;
655
+ mapMiniMapShow: boolean;
656
+ mapMiniMapWidth: number;
657
+ mapMiniMapHeight: number;
658
+ mapTooltipDimensionUnits: Record<string, string>;
659
+ };
660
+ tooltip: {
661
+ show: boolean;
662
+ trigger: "axis" | "item" | "none";
663
+ backgroundColor: string;
664
+ borderColor: string;
665
+ textColor: string;
666
+ };
667
+ backgroundColor: string;
668
+ backgroundOpacity: number;
669
+ } | undefined;
670
+ groupList?: {
671
+ id: string;
672
+ key: string;
673
+ isGroup?: boolean | undefined;
674
+ chartConfig: {
675
+ key: string;
676
+ chartKey: string;
677
+ conKey: string;
678
+ title: string;
679
+ category: string;
680
+ categoryName: string;
681
+ package: string;
682
+ chartFrame: string;
683
+ image: string;
684
+ redirectComponent?: string | undefined;
685
+ dataset?: any;
686
+ disabled?: boolean | undefined;
687
+ icon?: string | undefined;
688
+ };
689
+ attr: {
690
+ x: number;
691
+ y: number;
692
+ w: number;
693
+ h: number;
694
+ offsetX: number;
695
+ offsetY: number;
696
+ zIndex: number;
697
+ };
698
+ styles: {
699
+ filterShow: boolean;
700
+ opacity: number;
701
+ saturate: number;
702
+ contrast: number;
703
+ hueRotate: number;
704
+ brightness: number;
705
+ rotateZ: number;
706
+ rotateX: number;
707
+ rotateY: number;
708
+ skewX: number;
709
+ skewY: number;
710
+ blendMode: string;
711
+ animations: string[];
712
+ };
713
+ status: {
714
+ lock: boolean;
715
+ hide: boolean;
716
+ };
717
+ filter?: string | undefined;
718
+ preview: {
719
+ overFlowHidden: boolean;
720
+ };
721
+ events?: {
722
+ baseEvent?: {
723
+ click?: string | undefined;
724
+ dblclick?: string | undefined;
725
+ mouseenter?: string | undefined;
726
+ mouseleave?: string | undefined;
727
+ } | undefined;
728
+ advancedEvents?: {
729
+ vnodeMounted?: string | undefined;
730
+ vnodeBeforeMount?: string | undefined;
731
+ } | undefined;
732
+ interactEvents?: {
733
+ interactOn: string;
734
+ interactComponentId?: string | undefined;
735
+ interactComponentIds: string[];
736
+ interactFn: Record<string, string>;
737
+ requestOverrides?: {
738
+ params: Record<string, string>;
739
+ body: Record<string, string>;
740
+ } | undefined;
741
+ }[] | undefined;
742
+ } | undefined;
743
+ interactActions?: {
744
+ interactType: string;
745
+ interactName: string;
746
+ componentEmitEvents: Record<string, {
747
+ value: string;
748
+ label: string;
749
+ }[]>;
750
+ }[] | undefined;
751
+ interactOverrides?: Record<string, any> | undefined;
752
+ request?: {
753
+ requestDataType: 0 | 1 | 2;
754
+ requestUrl?: string | undefined;
755
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
756
+ requestContentType?: number | undefined;
757
+ requestParamsBodyType?: string | undefined;
758
+ requestSQLContent?: {
759
+ sql: string;
760
+ } | undefined;
761
+ requestParams?: {
762
+ Params: Record<string, string>;
763
+ Header: Record<string, string>;
764
+ Body: {
765
+ 'form-data': Record<string, string>;
766
+ 'x-www-form-urlencoded': Record<string, string>;
767
+ json: string;
768
+ xml: string;
769
+ };
770
+ } | undefined;
771
+ requestInterval?: number | null | undefined;
772
+ requestIntervalUnit?: string | undefined;
773
+ requestDataPondId?: string | undefined;
774
+ } | undefined;
775
+ option: Record<string, any>;
776
+ chartStyle?: {
777
+ themeName: string;
778
+ grid: {
779
+ top: number;
780
+ bottom: number;
781
+ left: number;
782
+ right: number;
783
+ };
784
+ titleStyle: {
785
+ show: boolean;
786
+ fontSize: number;
787
+ color: string;
788
+ left: number | string;
789
+ top: number | string;
790
+ };
791
+ legend: {
792
+ show: boolean;
793
+ orient: "horizontal" | "vertical";
794
+ left: number | string;
795
+ top: number | string;
796
+ fontSize: number;
797
+ icon: "circle" | "rect" | "roundRect" | "triangle" | "diamond";
798
+ textColor: string;
799
+ layoutMode: "echarts" | "grid";
800
+ gridColumns: number;
801
+ itemGap: number;
802
+ unit: string;
803
+ };
804
+ xAxis: {
805
+ show: boolean;
806
+ name: string;
807
+ labelFontSize: number;
808
+ labelRotate: number;
809
+ lineColor: string;
810
+ labelColor: string;
811
+ };
812
+ yAxis: {
813
+ show: boolean;
814
+ name: string;
815
+ labelFontSize: number;
816
+ min: number | null;
817
+ max: number | null;
818
+ splitLineShow: boolean;
819
+ splitLineColor: string;
820
+ labelColor: string;
821
+ };
822
+ series: {
823
+ smooth: boolean;
824
+ symbol: string;
825
+ symbolSize: number;
826
+ barWidth: number | string;
827
+ barGap: string | number;
828
+ barCategoryGap: string | number;
829
+ barBorderRadius: number;
830
+ barColorByData: boolean;
831
+ lineWidth: number;
832
+ showArea: boolean;
833
+ showLabel: boolean;
834
+ labelFontSize: number;
835
+ color: string;
836
+ colorEnd: string;
837
+ colorList: string[];
838
+ areaOpacityStart: number;
839
+ areaOpacityEnd: number;
840
+ labelColor: string;
841
+ pieRadius: number;
842
+ pieRoseType: boolean;
843
+ pieLabelPosition: "inside" | "outside" | "center";
844
+ subTitle: string;
845
+ mapRegionColor: string;
846
+ mapRegionBorderColor: string;
847
+ mapRegionHoverColor: string;
848
+ mapLabelShow: boolean;
849
+ mapLabelColor: string;
850
+ mapLabelFontSize: number;
851
+ mapVisualMin: number;
852
+ mapVisualMax: number;
853
+ mapVisualColors: string[];
854
+ mapVisualMapShow: boolean;
855
+ mapMarkPointShow: boolean;
856
+ mapMarkPointSymbolSize: number;
857
+ mapMarkPointColor: string;
858
+ mapMarkPointBorderWidth: number;
859
+ mapMarkPointShadowColor: string;
860
+ mapMarkPointLabelShow: boolean;
861
+ mapMarkPointLabelFontSize: number;
862
+ mapSelectColor: string;
863
+ mapSelectLabelColor: string;
864
+ mapSelectBorderColor: string;
865
+ mapSelectBorderWidth: number;
866
+ mapSelectShadowBlur: number;
867
+ mapSelectShadowColor: string;
868
+ mapHoverBorderColor: string;
869
+ mapHoverBorderWidth: number;
870
+ mapHoverShadowBlur: number;
871
+ mapHoverShadowColor: string;
872
+ mapEmphasisLabelColor: string;
873
+ mapEmphasisLabelFontSize: number;
874
+ mapLabelFontWeight: number;
875
+ mapMiniMapShow: boolean;
876
+ mapMiniMapWidth: number;
877
+ mapMiniMapHeight: number;
878
+ mapTooltipDimensionUnits: Record<string, string>;
879
+ };
880
+ tooltip: {
881
+ show: boolean;
882
+ trigger: "axis" | "item" | "none";
883
+ backgroundColor: string;
884
+ borderColor: string;
885
+ textColor: string;
886
+ };
887
+ backgroundColor: string;
888
+ backgroundOpacity: number;
889
+ } | undefined;
890
+ groupList?: /*elided*/ any[] | undefined;
891
+ }[] | undefined;
892
+ }[]>;
893
+ selectedId: import("vue").Ref<string | null, string | null>;
894
+ selectedIds: import("vue").Ref<string[], string[]>;
895
+ selectedComponent: import("vue").ComputedRef<CanvasComponent | null>;
896
+ isPreviewMode: import("vue").Ref<boolean, boolean>;
897
+ componentDefinitions: import("../config/componentDefinitions").ComponentDefinition[];
898
+ editCanvasConfig: import("vue").Ref<{
899
+ projectName: string;
900
+ width: number;
901
+ height: number;
902
+ background: string;
903
+ backgroundImage: string | null;
904
+ filterShow: boolean;
905
+ opacity: number;
906
+ saturate: number;
907
+ contrast: number;
908
+ hueRotate: number;
909
+ brightness: number;
910
+ blendMode: string;
911
+ customTheme: {
912
+ name: string;
913
+ label: string;
914
+ colors: {
915
+ titleColor: string;
916
+ legendTextColor: string;
917
+ axisLineColor: string;
918
+ axisLabelColor: string;
919
+ splitLineColor: string;
920
+ seriesColor: string;
921
+ seriesColorEnd: string;
922
+ seriesColorList: string[];
923
+ areaOpacityStart: number;
924
+ areaOpacityEnd: number;
925
+ labelColor: string;
926
+ tooltipBg: string;
927
+ tooltipBorder: string;
928
+ tooltipTextColor: string;
929
+ backgroundColor: string;
930
+ };
931
+ } | null;
932
+ }, EditCanvasConfigType | {
933
+ projectName: string;
934
+ width: number;
935
+ height: number;
936
+ background: string;
937
+ backgroundImage: string | null;
938
+ filterShow: boolean;
939
+ opacity: number;
940
+ saturate: number;
941
+ contrast: number;
942
+ hueRotate: number;
943
+ brightness: number;
944
+ blendMode: string;
945
+ customTheme: {
946
+ name: string;
947
+ label: string;
948
+ colors: {
949
+ titleColor: string;
950
+ legendTextColor: string;
951
+ axisLineColor: string;
952
+ axisLabelColor: string;
953
+ splitLineColor: string;
954
+ seriesColor: string;
955
+ seriesColorEnd: string;
956
+ seriesColorList: string[];
957
+ areaOpacityStart: number;
958
+ areaOpacityEnd: number;
959
+ labelColor: string;
960
+ tooltipBg: string;
961
+ tooltipBorder: string;
962
+ tooltipTextColor: string;
963
+ backgroundColor: string;
964
+ };
965
+ } | null;
966
+ }>;
967
+ requestGlobalConfig: import("vue").Ref<{
968
+ requestOriginUrl: string;
969
+ requestInterval: number;
970
+ requestIntervalUnit: "second" | "minute" | "hour" | "day";
971
+ requestHeader: Record<string, string>;
972
+ requestDataPond: {
973
+ dataPondId: string;
974
+ dataPondName: string;
975
+ dataPondRequestConfig: {
976
+ requestDataType: 0 | 1 | 2;
977
+ requestUrl?: string | undefined;
978
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
979
+ requestContentType?: number | undefined;
980
+ requestParamsBodyType?: string | undefined;
981
+ requestSQLContent?: {
982
+ sql: string;
983
+ } | undefined;
984
+ requestParams?: {
985
+ Params: Record<string, string>;
986
+ Header: Record<string, string>;
987
+ Body: {
988
+ 'form-data': Record<string, string>;
989
+ 'x-www-form-urlencoded': Record<string, string>;
990
+ json: string;
991
+ xml: string;
992
+ };
993
+ } | undefined;
994
+ requestInterval?: number | null | undefined;
995
+ requestIntervalUnit?: string | undefined;
996
+ requestDataPondId?: string | undefined;
997
+ };
998
+ }[];
999
+ }, RequestGlobalConfigType | {
1000
+ requestOriginUrl: string;
1001
+ requestInterval: number;
1002
+ requestIntervalUnit: "second" | "minute" | "hour" | "day";
1003
+ requestHeader: Record<string, string>;
1004
+ requestDataPond: {
1005
+ dataPondId: string;
1006
+ dataPondName: string;
1007
+ dataPondRequestConfig: {
1008
+ requestDataType: 0 | 1 | 2;
1009
+ requestUrl?: string | undefined;
1010
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
1011
+ requestContentType?: number | undefined;
1012
+ requestParamsBodyType?: string | undefined;
1013
+ requestSQLContent?: {
1014
+ sql: string;
1015
+ } | undefined;
1016
+ requestParams?: {
1017
+ Params: Record<string, string>;
1018
+ Header: Record<string, string>;
1019
+ Body: {
1020
+ 'form-data': Record<string, string>;
1021
+ 'x-www-form-urlencoded': Record<string, string>;
1022
+ json: string;
1023
+ xml: string;
1024
+ };
1025
+ } | undefined;
1026
+ requestInterval?: number | null | undefined;
1027
+ requestIntervalUnit?: string | undefined;
1028
+ requestDataPondId?: string | undefined;
1029
+ };
1030
+ }[];
1031
+ }>;
1032
+ addComponent: (key: string) => void;
1033
+ removeComponent: (id: string) => void;
1034
+ selectComponent: (id: string | null) => void;
1035
+ toggleSelectComponent: (id: string) => void;
1036
+ selectComponentsByRect: (x: number, y: number, w: number, h: number) => void;
1037
+ clearSelection: () => void;
1038
+ setPreviewMode: (value: boolean) => void;
1039
+ groupSelectedComponents: () => void;
1040
+ ungroupComponent: (groupId: string) => void;
1041
+ updateComponentProp: (id: string, key: string, value: any) => void;
1042
+ updateComponentProps: (id: string, props: Record<string, any>) => void;
1043
+ updateComponentTitle: (id: string, title: string) => void;
1044
+ updateComponentPosition: (id: string, x: number, y: number) => void;
1045
+ updateComponentSize: (id: string, w: number, h: number) => void;
1046
+ updateCanvasConfig: (config: Partial<EditCanvasConfigType>) => void;
1047
+ updateRequestGlobalConfig: (config: Partial<RequestGlobalConfigType>) => void;
1048
+ findComponent: (id: string) => CanvasComponent | null;
1049
+ updateComponentAttr: (id: string, key: keyof typeof DEFAULT_ATTR, value: number) => void;
1050
+ updateComponentStyle: (id: string, key: string, value: number | string) => void;
1051
+ updateComponentOption: (id: string, key: string, value: any) => void;
1052
+ updateChartStyle: (id: string, path: string, value: any) => void;
1053
+ applyThemeToAll: (preset: ChartThemePreset) => void;
1054
+ saveCustomTheme: (preset: ChartThemePreset) => void;
1055
+ toggleComponentStatus: (id: string, statusKey: "lock" | "hide") => void;
1056
+ toggleComponentPreviewOverflow: (id: string) => void;
1057
+ toggleComponentFilterShow: (id: string) => void;
1058
+ updateComponentFilter: (id: string, value: string) => void;
1059
+ moveComponentDelta: (id: string, dx: number, dy: number, baseX: number, baseY: number, pageW?: number, pageH?: number) => void;
1060
+ resizeComponentDelta: (id: string, dw: number, dh: number, baseW: number, baseH: number, maxW?: number, maxH?: number) => void;
1061
+ updateOptionDatasetDimension: (id: string, index: number, value: string) => void;
1062
+ updateOptionDatasetCell: (id: string, rowIndex: number, colIndex: number, value: string) => void;
1063
+ addOptionDatasetRow: (id: string) => void;
1064
+ removeOptionDatasetRow: (id: string, rowIndex: number) => void;
1065
+ addDataPond: (item: DataPondItem) => void;
1066
+ updateDataPond: (id: string, item: Partial<DataPondItem>) => void;
1067
+ removeDataPond: (id: string) => void;
1068
+ updateComponentRequest: (id: string, request: Partial<RequestConfigType>) => void;
1069
+ interactFilters: import("vue").Ref<Record<string, Record<string, any>>, Record<string, Record<string, any>>>;
1070
+ updateComponentEvents: (id: string, events: EventsType) => void;
1071
+ updateComponentInteractActions: (id: string, actions: InteractActionItem[]) => void;
1072
+ addInteractEvent: (id: string, event: InteractEventItem) => void;
1073
+ removeInteractEvent: (id: string, index: number) => void;
1074
+ updateInteractEvent: (id: string, index: number, patch: Partial<InteractEventItem>) => void;
1075
+ applyInteractAction: (targetId: string, method: string, value: any) => void;
1076
+ clearInteractFilters: (targetId?: string) => void;
1077
+ duplicateComponent: (id: string) => void;
1078
+ loadSchema: (schema: {
1079
+ editCanvasConfig?: any;
1080
+ requestGlobalConfig?: any;
1081
+ componentList?: any[];
1082
+ }) => void;
1083
+ }, "components" | "selectedId" | "selectedIds" | "isPreviewMode" | "componentDefinitions" | "editCanvasConfig" | "requestGlobalConfig" | "interactFilters">, Pick<{
1084
+ components: import("vue").Ref<{
1085
+ props: Record<string, any>;
1086
+ id: string;
1087
+ key: string;
1088
+ isGroup?: boolean | undefined;
1089
+ chartConfig: {
1090
+ key: string;
1091
+ chartKey: string;
1092
+ conKey: string;
1093
+ title: string;
1094
+ category: string;
1095
+ categoryName: string;
1096
+ package: string;
1097
+ chartFrame: string;
1098
+ image: string;
1099
+ redirectComponent?: string | undefined;
1100
+ dataset?: any;
1101
+ disabled?: boolean | undefined;
1102
+ icon?: string | undefined;
1103
+ };
1104
+ attr: {
1105
+ x: number;
1106
+ y: number;
1107
+ w: number;
1108
+ h: number;
1109
+ offsetX: number;
1110
+ offsetY: number;
1111
+ zIndex: number;
1112
+ };
1113
+ styles: {
1114
+ filterShow: boolean;
1115
+ opacity: number;
1116
+ saturate: number;
1117
+ contrast: number;
1118
+ hueRotate: number;
1119
+ brightness: number;
1120
+ rotateZ: number;
1121
+ rotateX: number;
1122
+ rotateY: number;
1123
+ skewX: number;
1124
+ skewY: number;
1125
+ blendMode: string;
1126
+ animations: string[];
1127
+ };
1128
+ status: {
1129
+ lock: boolean;
1130
+ hide: boolean;
1131
+ };
1132
+ filter?: string | undefined;
1133
+ preview: {
1134
+ overFlowHidden: boolean;
1135
+ };
1136
+ events?: {
1137
+ baseEvent?: {
1138
+ click?: string | undefined;
1139
+ dblclick?: string | undefined;
1140
+ mouseenter?: string | undefined;
1141
+ mouseleave?: string | undefined;
1142
+ } | undefined;
1143
+ advancedEvents?: {
1144
+ vnodeMounted?: string | undefined;
1145
+ vnodeBeforeMount?: string | undefined;
1146
+ } | undefined;
1147
+ interactEvents?: {
1148
+ interactOn: string;
1149
+ interactComponentId?: string | undefined;
1150
+ interactComponentIds: string[];
1151
+ interactFn: Record<string, string>;
1152
+ requestOverrides?: {
1153
+ params: Record<string, string>;
1154
+ body: Record<string, string>;
1155
+ } | undefined;
1156
+ }[] | undefined;
1157
+ } | undefined;
1158
+ interactActions?: {
1159
+ interactType: string;
1160
+ interactName: string;
1161
+ componentEmitEvents: Record<string, {
1162
+ value: string;
1163
+ label: string;
1164
+ }[]>;
1165
+ }[] | undefined;
1166
+ interactOverrides?: Record<string, any> | undefined;
1167
+ request?: {
1168
+ requestDataType: 0 | 1 | 2;
1169
+ requestUrl?: string | undefined;
1170
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
1171
+ requestContentType?: number | undefined;
1172
+ requestParamsBodyType?: string | undefined;
1173
+ requestSQLContent?: {
1174
+ sql: string;
1175
+ } | undefined;
1176
+ requestParams?: {
1177
+ Params: Record<string, string>;
1178
+ Header: Record<string, string>;
1179
+ Body: {
1180
+ 'form-data': Record<string, string>;
1181
+ 'x-www-form-urlencoded': Record<string, string>;
1182
+ json: string;
1183
+ xml: string;
1184
+ };
1185
+ } | undefined;
1186
+ requestInterval?: number | null | undefined;
1187
+ requestIntervalUnit?: string | undefined;
1188
+ requestDataPondId?: string | undefined;
1189
+ } | undefined;
1190
+ option: Record<string, any>;
1191
+ chartStyle?: {
1192
+ themeName: string;
1193
+ grid: {
1194
+ top: number;
1195
+ bottom: number;
1196
+ left: number;
1197
+ right: number;
1198
+ };
1199
+ titleStyle: {
1200
+ show: boolean;
1201
+ fontSize: number;
1202
+ color: string;
1203
+ left: number | string;
1204
+ top: number | string;
1205
+ };
1206
+ legend: {
1207
+ show: boolean;
1208
+ orient: "horizontal" | "vertical";
1209
+ left: number | string;
1210
+ top: number | string;
1211
+ fontSize: number;
1212
+ icon: "circle" | "rect" | "roundRect" | "triangle" | "diamond";
1213
+ textColor: string;
1214
+ layoutMode: "echarts" | "grid";
1215
+ gridColumns: number;
1216
+ itemGap: number;
1217
+ unit: string;
1218
+ };
1219
+ xAxis: {
1220
+ show: boolean;
1221
+ name: string;
1222
+ labelFontSize: number;
1223
+ labelRotate: number;
1224
+ lineColor: string;
1225
+ labelColor: string;
1226
+ };
1227
+ yAxis: {
1228
+ show: boolean;
1229
+ name: string;
1230
+ labelFontSize: number;
1231
+ min: number | null;
1232
+ max: number | null;
1233
+ splitLineShow: boolean;
1234
+ splitLineColor: string;
1235
+ labelColor: string;
1236
+ };
1237
+ series: {
1238
+ smooth: boolean;
1239
+ symbol: string;
1240
+ symbolSize: number;
1241
+ barWidth: number | string;
1242
+ barGap: string | number;
1243
+ barCategoryGap: string | number;
1244
+ barBorderRadius: number;
1245
+ barColorByData: boolean;
1246
+ lineWidth: number;
1247
+ showArea: boolean;
1248
+ showLabel: boolean;
1249
+ labelFontSize: number;
1250
+ color: string;
1251
+ colorEnd: string;
1252
+ colorList: string[];
1253
+ areaOpacityStart: number;
1254
+ areaOpacityEnd: number;
1255
+ labelColor: string;
1256
+ pieRadius: number;
1257
+ pieRoseType: boolean;
1258
+ pieLabelPosition: "inside" | "outside" | "center";
1259
+ subTitle: string;
1260
+ mapRegionColor: string;
1261
+ mapRegionBorderColor: string;
1262
+ mapRegionHoverColor: string;
1263
+ mapLabelShow: boolean;
1264
+ mapLabelColor: string;
1265
+ mapLabelFontSize: number;
1266
+ mapVisualMin: number;
1267
+ mapVisualMax: number;
1268
+ mapVisualColors: string[];
1269
+ mapVisualMapShow: boolean;
1270
+ mapMarkPointShow: boolean;
1271
+ mapMarkPointSymbolSize: number;
1272
+ mapMarkPointColor: string;
1273
+ mapMarkPointBorderWidth: number;
1274
+ mapMarkPointShadowColor: string;
1275
+ mapMarkPointLabelShow: boolean;
1276
+ mapMarkPointLabelFontSize: number;
1277
+ mapSelectColor: string;
1278
+ mapSelectLabelColor: string;
1279
+ mapSelectBorderColor: string;
1280
+ mapSelectBorderWidth: number;
1281
+ mapSelectShadowBlur: number;
1282
+ mapSelectShadowColor: string;
1283
+ mapHoverBorderColor: string;
1284
+ mapHoverBorderWidth: number;
1285
+ mapHoverShadowBlur: number;
1286
+ mapHoverShadowColor: string;
1287
+ mapEmphasisLabelColor: string;
1288
+ mapEmphasisLabelFontSize: number;
1289
+ mapLabelFontWeight: number;
1290
+ mapMiniMapShow: boolean;
1291
+ mapMiniMapWidth: number;
1292
+ mapMiniMapHeight: number;
1293
+ mapTooltipDimensionUnits: Record<string, string>;
1294
+ };
1295
+ tooltip: {
1296
+ show: boolean;
1297
+ trigger: "axis" | "item" | "none";
1298
+ backgroundColor: string;
1299
+ borderColor: string;
1300
+ textColor: string;
1301
+ };
1302
+ backgroundColor: string;
1303
+ backgroundOpacity: number;
1304
+ } | undefined;
1305
+ groupList?: {
1306
+ id: string;
1307
+ key: string;
1308
+ isGroup?: boolean | undefined;
1309
+ chartConfig: {
1310
+ key: string;
1311
+ chartKey: string;
1312
+ conKey: string;
1313
+ title: string;
1314
+ category: string;
1315
+ categoryName: string;
1316
+ package: string;
1317
+ chartFrame: string;
1318
+ image: string;
1319
+ redirectComponent?: string | undefined;
1320
+ dataset?: any;
1321
+ disabled?: boolean | undefined;
1322
+ icon?: string | undefined;
1323
+ };
1324
+ attr: {
1325
+ x: number;
1326
+ y: number;
1327
+ w: number;
1328
+ h: number;
1329
+ offsetX: number;
1330
+ offsetY: number;
1331
+ zIndex: number;
1332
+ };
1333
+ styles: {
1334
+ filterShow: boolean;
1335
+ opacity: number;
1336
+ saturate: number;
1337
+ contrast: number;
1338
+ hueRotate: number;
1339
+ brightness: number;
1340
+ rotateZ: number;
1341
+ rotateX: number;
1342
+ rotateY: number;
1343
+ skewX: number;
1344
+ skewY: number;
1345
+ blendMode: string;
1346
+ animations: string[];
1347
+ };
1348
+ status: {
1349
+ lock: boolean;
1350
+ hide: boolean;
1351
+ };
1352
+ filter?: string | undefined;
1353
+ preview: {
1354
+ overFlowHidden: boolean;
1355
+ };
1356
+ events?: {
1357
+ baseEvent?: {
1358
+ click?: string | undefined;
1359
+ dblclick?: string | undefined;
1360
+ mouseenter?: string | undefined;
1361
+ mouseleave?: string | undefined;
1362
+ } | undefined;
1363
+ advancedEvents?: {
1364
+ vnodeMounted?: string | undefined;
1365
+ vnodeBeforeMount?: string | undefined;
1366
+ } | undefined;
1367
+ interactEvents?: {
1368
+ interactOn: string;
1369
+ interactComponentId?: string | undefined;
1370
+ interactComponentIds: string[];
1371
+ interactFn: Record<string, string>;
1372
+ requestOverrides?: {
1373
+ params: Record<string, string>;
1374
+ body: Record<string, string>;
1375
+ } | undefined;
1376
+ }[] | undefined;
1377
+ } | undefined;
1378
+ interactActions?: {
1379
+ interactType: string;
1380
+ interactName: string;
1381
+ componentEmitEvents: Record<string, {
1382
+ value: string;
1383
+ label: string;
1384
+ }[]>;
1385
+ }[] | undefined;
1386
+ interactOverrides?: Record<string, any> | undefined;
1387
+ request?: {
1388
+ requestDataType: 0 | 1 | 2;
1389
+ requestUrl?: string | undefined;
1390
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
1391
+ requestContentType?: number | undefined;
1392
+ requestParamsBodyType?: string | undefined;
1393
+ requestSQLContent?: {
1394
+ sql: string;
1395
+ } | undefined;
1396
+ requestParams?: {
1397
+ Params: Record<string, string>;
1398
+ Header: Record<string, string>;
1399
+ Body: {
1400
+ 'form-data': Record<string, string>;
1401
+ 'x-www-form-urlencoded': Record<string, string>;
1402
+ json: string;
1403
+ xml: string;
1404
+ };
1405
+ } | undefined;
1406
+ requestInterval?: number | null | undefined;
1407
+ requestIntervalUnit?: string | undefined;
1408
+ requestDataPondId?: string | undefined;
1409
+ } | undefined;
1410
+ option: Record<string, any>;
1411
+ chartStyle?: {
1412
+ themeName: string;
1413
+ grid: {
1414
+ top: number;
1415
+ bottom: number;
1416
+ left: number;
1417
+ right: number;
1418
+ };
1419
+ titleStyle: {
1420
+ show: boolean;
1421
+ fontSize: number;
1422
+ color: string;
1423
+ left: number | string;
1424
+ top: number | string;
1425
+ };
1426
+ legend: {
1427
+ show: boolean;
1428
+ orient: "horizontal" | "vertical";
1429
+ left: number | string;
1430
+ top: number | string;
1431
+ fontSize: number;
1432
+ icon: "circle" | "rect" | "roundRect" | "triangle" | "diamond";
1433
+ textColor: string;
1434
+ layoutMode: "echarts" | "grid";
1435
+ gridColumns: number;
1436
+ itemGap: number;
1437
+ unit: string;
1438
+ };
1439
+ xAxis: {
1440
+ show: boolean;
1441
+ name: string;
1442
+ labelFontSize: number;
1443
+ labelRotate: number;
1444
+ lineColor: string;
1445
+ labelColor: string;
1446
+ };
1447
+ yAxis: {
1448
+ show: boolean;
1449
+ name: string;
1450
+ labelFontSize: number;
1451
+ min: number | null;
1452
+ max: number | null;
1453
+ splitLineShow: boolean;
1454
+ splitLineColor: string;
1455
+ labelColor: string;
1456
+ };
1457
+ series: {
1458
+ smooth: boolean;
1459
+ symbol: string;
1460
+ symbolSize: number;
1461
+ barWidth: number | string;
1462
+ barGap: string | number;
1463
+ barCategoryGap: string | number;
1464
+ barBorderRadius: number;
1465
+ barColorByData: boolean;
1466
+ lineWidth: number;
1467
+ showArea: boolean;
1468
+ showLabel: boolean;
1469
+ labelFontSize: number;
1470
+ color: string;
1471
+ colorEnd: string;
1472
+ colorList: string[];
1473
+ areaOpacityStart: number;
1474
+ areaOpacityEnd: number;
1475
+ labelColor: string;
1476
+ pieRadius: number;
1477
+ pieRoseType: boolean;
1478
+ pieLabelPosition: "inside" | "outside" | "center";
1479
+ subTitle: string;
1480
+ mapRegionColor: string;
1481
+ mapRegionBorderColor: string;
1482
+ mapRegionHoverColor: string;
1483
+ mapLabelShow: boolean;
1484
+ mapLabelColor: string;
1485
+ mapLabelFontSize: number;
1486
+ mapVisualMin: number;
1487
+ mapVisualMax: number;
1488
+ mapVisualColors: string[];
1489
+ mapVisualMapShow: boolean;
1490
+ mapMarkPointShow: boolean;
1491
+ mapMarkPointSymbolSize: number;
1492
+ mapMarkPointColor: string;
1493
+ mapMarkPointBorderWidth: number;
1494
+ mapMarkPointShadowColor: string;
1495
+ mapMarkPointLabelShow: boolean;
1496
+ mapMarkPointLabelFontSize: number;
1497
+ mapSelectColor: string;
1498
+ mapSelectLabelColor: string;
1499
+ mapSelectBorderColor: string;
1500
+ mapSelectBorderWidth: number;
1501
+ mapSelectShadowBlur: number;
1502
+ mapSelectShadowColor: string;
1503
+ mapHoverBorderColor: string;
1504
+ mapHoverBorderWidth: number;
1505
+ mapHoverShadowBlur: number;
1506
+ mapHoverShadowColor: string;
1507
+ mapEmphasisLabelColor: string;
1508
+ mapEmphasisLabelFontSize: number;
1509
+ mapLabelFontWeight: number;
1510
+ mapMiniMapShow: boolean;
1511
+ mapMiniMapWidth: number;
1512
+ mapMiniMapHeight: number;
1513
+ mapTooltipDimensionUnits: Record<string, string>;
1514
+ };
1515
+ tooltip: {
1516
+ show: boolean;
1517
+ trigger: "axis" | "item" | "none";
1518
+ backgroundColor: string;
1519
+ borderColor: string;
1520
+ textColor: string;
1521
+ };
1522
+ backgroundColor: string;
1523
+ backgroundOpacity: number;
1524
+ } | undefined;
1525
+ groupList?: /*elided*/ any[] | undefined;
1526
+ }[] | undefined;
1527
+ }[], CanvasComponent[] | {
1528
+ props: Record<string, any>;
1529
+ id: string;
1530
+ key: string;
1531
+ isGroup?: boolean | undefined;
1532
+ chartConfig: {
1533
+ key: string;
1534
+ chartKey: string;
1535
+ conKey: string;
1536
+ title: string;
1537
+ category: string;
1538
+ categoryName: string;
1539
+ package: string;
1540
+ chartFrame: string;
1541
+ image: string;
1542
+ redirectComponent?: string | undefined;
1543
+ dataset?: any;
1544
+ disabled?: boolean | undefined;
1545
+ icon?: string | undefined;
1546
+ };
1547
+ attr: {
1548
+ x: number;
1549
+ y: number;
1550
+ w: number;
1551
+ h: number;
1552
+ offsetX: number;
1553
+ offsetY: number;
1554
+ zIndex: number;
1555
+ };
1556
+ styles: {
1557
+ filterShow: boolean;
1558
+ opacity: number;
1559
+ saturate: number;
1560
+ contrast: number;
1561
+ hueRotate: number;
1562
+ brightness: number;
1563
+ rotateZ: number;
1564
+ rotateX: number;
1565
+ rotateY: number;
1566
+ skewX: number;
1567
+ skewY: number;
1568
+ blendMode: string;
1569
+ animations: string[];
1570
+ };
1571
+ status: {
1572
+ lock: boolean;
1573
+ hide: boolean;
1574
+ };
1575
+ filter?: string | undefined;
1576
+ preview: {
1577
+ overFlowHidden: boolean;
1578
+ };
1579
+ events?: {
1580
+ baseEvent?: {
1581
+ click?: string | undefined;
1582
+ dblclick?: string | undefined;
1583
+ mouseenter?: string | undefined;
1584
+ mouseleave?: string | undefined;
1585
+ } | undefined;
1586
+ advancedEvents?: {
1587
+ vnodeMounted?: string | undefined;
1588
+ vnodeBeforeMount?: string | undefined;
1589
+ } | undefined;
1590
+ interactEvents?: {
1591
+ interactOn: string;
1592
+ interactComponentId?: string | undefined;
1593
+ interactComponentIds: string[];
1594
+ interactFn: Record<string, string>;
1595
+ requestOverrides?: {
1596
+ params: Record<string, string>;
1597
+ body: Record<string, string>;
1598
+ } | undefined;
1599
+ }[] | undefined;
1600
+ } | undefined;
1601
+ interactActions?: {
1602
+ interactType: string;
1603
+ interactName: string;
1604
+ componentEmitEvents: Record<string, {
1605
+ value: string;
1606
+ label: string;
1607
+ }[]>;
1608
+ }[] | undefined;
1609
+ interactOverrides?: Record<string, any> | undefined;
1610
+ request?: {
1611
+ requestDataType: 0 | 1 | 2;
1612
+ requestUrl?: string | undefined;
1613
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
1614
+ requestContentType?: number | undefined;
1615
+ requestParamsBodyType?: string | undefined;
1616
+ requestSQLContent?: {
1617
+ sql: string;
1618
+ } | undefined;
1619
+ requestParams?: {
1620
+ Params: Record<string, string>;
1621
+ Header: Record<string, string>;
1622
+ Body: {
1623
+ 'form-data': Record<string, string>;
1624
+ 'x-www-form-urlencoded': Record<string, string>;
1625
+ json: string;
1626
+ xml: string;
1627
+ };
1628
+ } | undefined;
1629
+ requestInterval?: number | null | undefined;
1630
+ requestIntervalUnit?: string | undefined;
1631
+ requestDataPondId?: string | undefined;
1632
+ } | undefined;
1633
+ option: Record<string, any>;
1634
+ chartStyle?: {
1635
+ themeName: string;
1636
+ grid: {
1637
+ top: number;
1638
+ bottom: number;
1639
+ left: number;
1640
+ right: number;
1641
+ };
1642
+ titleStyle: {
1643
+ show: boolean;
1644
+ fontSize: number;
1645
+ color: string;
1646
+ left: number | string;
1647
+ top: number | string;
1648
+ };
1649
+ legend: {
1650
+ show: boolean;
1651
+ orient: "horizontal" | "vertical";
1652
+ left: number | string;
1653
+ top: number | string;
1654
+ fontSize: number;
1655
+ icon: "circle" | "rect" | "roundRect" | "triangle" | "diamond";
1656
+ textColor: string;
1657
+ layoutMode: "echarts" | "grid";
1658
+ gridColumns: number;
1659
+ itemGap: number;
1660
+ unit: string;
1661
+ };
1662
+ xAxis: {
1663
+ show: boolean;
1664
+ name: string;
1665
+ labelFontSize: number;
1666
+ labelRotate: number;
1667
+ lineColor: string;
1668
+ labelColor: string;
1669
+ };
1670
+ yAxis: {
1671
+ show: boolean;
1672
+ name: string;
1673
+ labelFontSize: number;
1674
+ min: number | null;
1675
+ max: number | null;
1676
+ splitLineShow: boolean;
1677
+ splitLineColor: string;
1678
+ labelColor: string;
1679
+ };
1680
+ series: {
1681
+ smooth: boolean;
1682
+ symbol: string;
1683
+ symbolSize: number;
1684
+ barWidth: number | string;
1685
+ barGap: string | number;
1686
+ barCategoryGap: string | number;
1687
+ barBorderRadius: number;
1688
+ barColorByData: boolean;
1689
+ lineWidth: number;
1690
+ showArea: boolean;
1691
+ showLabel: boolean;
1692
+ labelFontSize: number;
1693
+ color: string;
1694
+ colorEnd: string;
1695
+ colorList: string[];
1696
+ areaOpacityStart: number;
1697
+ areaOpacityEnd: number;
1698
+ labelColor: string;
1699
+ pieRadius: number;
1700
+ pieRoseType: boolean;
1701
+ pieLabelPosition: "inside" | "outside" | "center";
1702
+ subTitle: string;
1703
+ mapRegionColor: string;
1704
+ mapRegionBorderColor: string;
1705
+ mapRegionHoverColor: string;
1706
+ mapLabelShow: boolean;
1707
+ mapLabelColor: string;
1708
+ mapLabelFontSize: number;
1709
+ mapVisualMin: number;
1710
+ mapVisualMax: number;
1711
+ mapVisualColors: string[];
1712
+ mapVisualMapShow: boolean;
1713
+ mapMarkPointShow: boolean;
1714
+ mapMarkPointSymbolSize: number;
1715
+ mapMarkPointColor: string;
1716
+ mapMarkPointBorderWidth: number;
1717
+ mapMarkPointShadowColor: string;
1718
+ mapMarkPointLabelShow: boolean;
1719
+ mapMarkPointLabelFontSize: number;
1720
+ mapSelectColor: string;
1721
+ mapSelectLabelColor: string;
1722
+ mapSelectBorderColor: string;
1723
+ mapSelectBorderWidth: number;
1724
+ mapSelectShadowBlur: number;
1725
+ mapSelectShadowColor: string;
1726
+ mapHoverBorderColor: string;
1727
+ mapHoverBorderWidth: number;
1728
+ mapHoverShadowBlur: number;
1729
+ mapHoverShadowColor: string;
1730
+ mapEmphasisLabelColor: string;
1731
+ mapEmphasisLabelFontSize: number;
1732
+ mapLabelFontWeight: number;
1733
+ mapMiniMapShow: boolean;
1734
+ mapMiniMapWidth: number;
1735
+ mapMiniMapHeight: number;
1736
+ mapTooltipDimensionUnits: Record<string, string>;
1737
+ };
1738
+ tooltip: {
1739
+ show: boolean;
1740
+ trigger: "axis" | "item" | "none";
1741
+ backgroundColor: string;
1742
+ borderColor: string;
1743
+ textColor: string;
1744
+ };
1745
+ backgroundColor: string;
1746
+ backgroundOpacity: number;
1747
+ } | undefined;
1748
+ groupList?: {
1749
+ id: string;
1750
+ key: string;
1751
+ isGroup?: boolean | undefined;
1752
+ chartConfig: {
1753
+ key: string;
1754
+ chartKey: string;
1755
+ conKey: string;
1756
+ title: string;
1757
+ category: string;
1758
+ categoryName: string;
1759
+ package: string;
1760
+ chartFrame: string;
1761
+ image: string;
1762
+ redirectComponent?: string | undefined;
1763
+ dataset?: any;
1764
+ disabled?: boolean | undefined;
1765
+ icon?: string | undefined;
1766
+ };
1767
+ attr: {
1768
+ x: number;
1769
+ y: number;
1770
+ w: number;
1771
+ h: number;
1772
+ offsetX: number;
1773
+ offsetY: number;
1774
+ zIndex: number;
1775
+ };
1776
+ styles: {
1777
+ filterShow: boolean;
1778
+ opacity: number;
1779
+ saturate: number;
1780
+ contrast: number;
1781
+ hueRotate: number;
1782
+ brightness: number;
1783
+ rotateZ: number;
1784
+ rotateX: number;
1785
+ rotateY: number;
1786
+ skewX: number;
1787
+ skewY: number;
1788
+ blendMode: string;
1789
+ animations: string[];
1790
+ };
1791
+ status: {
1792
+ lock: boolean;
1793
+ hide: boolean;
1794
+ };
1795
+ filter?: string | undefined;
1796
+ preview: {
1797
+ overFlowHidden: boolean;
1798
+ };
1799
+ events?: {
1800
+ baseEvent?: {
1801
+ click?: string | undefined;
1802
+ dblclick?: string | undefined;
1803
+ mouseenter?: string | undefined;
1804
+ mouseleave?: string | undefined;
1805
+ } | undefined;
1806
+ advancedEvents?: {
1807
+ vnodeMounted?: string | undefined;
1808
+ vnodeBeforeMount?: string | undefined;
1809
+ } | undefined;
1810
+ interactEvents?: {
1811
+ interactOn: string;
1812
+ interactComponentId?: string | undefined;
1813
+ interactComponentIds: string[];
1814
+ interactFn: Record<string, string>;
1815
+ requestOverrides?: {
1816
+ params: Record<string, string>;
1817
+ body: Record<string, string>;
1818
+ } | undefined;
1819
+ }[] | undefined;
1820
+ } | undefined;
1821
+ interactActions?: {
1822
+ interactType: string;
1823
+ interactName: string;
1824
+ componentEmitEvents: Record<string, {
1825
+ value: string;
1826
+ label: string;
1827
+ }[]>;
1828
+ }[] | undefined;
1829
+ interactOverrides?: Record<string, any> | undefined;
1830
+ request?: {
1831
+ requestDataType: 0 | 1 | 2;
1832
+ requestUrl?: string | undefined;
1833
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
1834
+ requestContentType?: number | undefined;
1835
+ requestParamsBodyType?: string | undefined;
1836
+ requestSQLContent?: {
1837
+ sql: string;
1838
+ } | undefined;
1839
+ requestParams?: {
1840
+ Params: Record<string, string>;
1841
+ Header: Record<string, string>;
1842
+ Body: {
1843
+ 'form-data': Record<string, string>;
1844
+ 'x-www-form-urlencoded': Record<string, string>;
1845
+ json: string;
1846
+ xml: string;
1847
+ };
1848
+ } | undefined;
1849
+ requestInterval?: number | null | undefined;
1850
+ requestIntervalUnit?: string | undefined;
1851
+ requestDataPondId?: string | undefined;
1852
+ } | undefined;
1853
+ option: Record<string, any>;
1854
+ chartStyle?: {
1855
+ themeName: string;
1856
+ grid: {
1857
+ top: number;
1858
+ bottom: number;
1859
+ left: number;
1860
+ right: number;
1861
+ };
1862
+ titleStyle: {
1863
+ show: boolean;
1864
+ fontSize: number;
1865
+ color: string;
1866
+ left: number | string;
1867
+ top: number | string;
1868
+ };
1869
+ legend: {
1870
+ show: boolean;
1871
+ orient: "horizontal" | "vertical";
1872
+ left: number | string;
1873
+ top: number | string;
1874
+ fontSize: number;
1875
+ icon: "circle" | "rect" | "roundRect" | "triangle" | "diamond";
1876
+ textColor: string;
1877
+ layoutMode: "echarts" | "grid";
1878
+ gridColumns: number;
1879
+ itemGap: number;
1880
+ unit: string;
1881
+ };
1882
+ xAxis: {
1883
+ show: boolean;
1884
+ name: string;
1885
+ labelFontSize: number;
1886
+ labelRotate: number;
1887
+ lineColor: string;
1888
+ labelColor: string;
1889
+ };
1890
+ yAxis: {
1891
+ show: boolean;
1892
+ name: string;
1893
+ labelFontSize: number;
1894
+ min: number | null;
1895
+ max: number | null;
1896
+ splitLineShow: boolean;
1897
+ splitLineColor: string;
1898
+ labelColor: string;
1899
+ };
1900
+ series: {
1901
+ smooth: boolean;
1902
+ symbol: string;
1903
+ symbolSize: number;
1904
+ barWidth: number | string;
1905
+ barGap: string | number;
1906
+ barCategoryGap: string | number;
1907
+ barBorderRadius: number;
1908
+ barColorByData: boolean;
1909
+ lineWidth: number;
1910
+ showArea: boolean;
1911
+ showLabel: boolean;
1912
+ labelFontSize: number;
1913
+ color: string;
1914
+ colorEnd: string;
1915
+ colorList: string[];
1916
+ areaOpacityStart: number;
1917
+ areaOpacityEnd: number;
1918
+ labelColor: string;
1919
+ pieRadius: number;
1920
+ pieRoseType: boolean;
1921
+ pieLabelPosition: "inside" | "outside" | "center";
1922
+ subTitle: string;
1923
+ mapRegionColor: string;
1924
+ mapRegionBorderColor: string;
1925
+ mapRegionHoverColor: string;
1926
+ mapLabelShow: boolean;
1927
+ mapLabelColor: string;
1928
+ mapLabelFontSize: number;
1929
+ mapVisualMin: number;
1930
+ mapVisualMax: number;
1931
+ mapVisualColors: string[];
1932
+ mapVisualMapShow: boolean;
1933
+ mapMarkPointShow: boolean;
1934
+ mapMarkPointSymbolSize: number;
1935
+ mapMarkPointColor: string;
1936
+ mapMarkPointBorderWidth: number;
1937
+ mapMarkPointShadowColor: string;
1938
+ mapMarkPointLabelShow: boolean;
1939
+ mapMarkPointLabelFontSize: number;
1940
+ mapSelectColor: string;
1941
+ mapSelectLabelColor: string;
1942
+ mapSelectBorderColor: string;
1943
+ mapSelectBorderWidth: number;
1944
+ mapSelectShadowBlur: number;
1945
+ mapSelectShadowColor: string;
1946
+ mapHoverBorderColor: string;
1947
+ mapHoverBorderWidth: number;
1948
+ mapHoverShadowBlur: number;
1949
+ mapHoverShadowColor: string;
1950
+ mapEmphasisLabelColor: string;
1951
+ mapEmphasisLabelFontSize: number;
1952
+ mapLabelFontWeight: number;
1953
+ mapMiniMapShow: boolean;
1954
+ mapMiniMapWidth: number;
1955
+ mapMiniMapHeight: number;
1956
+ mapTooltipDimensionUnits: Record<string, string>;
1957
+ };
1958
+ tooltip: {
1959
+ show: boolean;
1960
+ trigger: "axis" | "item" | "none";
1961
+ backgroundColor: string;
1962
+ borderColor: string;
1963
+ textColor: string;
1964
+ };
1965
+ backgroundColor: string;
1966
+ backgroundOpacity: number;
1967
+ } | undefined;
1968
+ groupList?: /*elided*/ any[] | undefined;
1969
+ }[] | undefined;
1970
+ }[]>;
1971
+ selectedId: import("vue").Ref<string | null, string | null>;
1972
+ selectedIds: import("vue").Ref<string[], string[]>;
1973
+ selectedComponent: import("vue").ComputedRef<CanvasComponent | null>;
1974
+ isPreviewMode: import("vue").Ref<boolean, boolean>;
1975
+ componentDefinitions: import("../config/componentDefinitions").ComponentDefinition[];
1976
+ editCanvasConfig: import("vue").Ref<{
1977
+ projectName: string;
1978
+ width: number;
1979
+ height: number;
1980
+ background: string;
1981
+ backgroundImage: string | null;
1982
+ filterShow: boolean;
1983
+ opacity: number;
1984
+ saturate: number;
1985
+ contrast: number;
1986
+ hueRotate: number;
1987
+ brightness: number;
1988
+ blendMode: string;
1989
+ customTheme: {
1990
+ name: string;
1991
+ label: string;
1992
+ colors: {
1993
+ titleColor: string;
1994
+ legendTextColor: string;
1995
+ axisLineColor: string;
1996
+ axisLabelColor: string;
1997
+ splitLineColor: string;
1998
+ seriesColor: string;
1999
+ seriesColorEnd: string;
2000
+ seriesColorList: string[];
2001
+ areaOpacityStart: number;
2002
+ areaOpacityEnd: number;
2003
+ labelColor: string;
2004
+ tooltipBg: string;
2005
+ tooltipBorder: string;
2006
+ tooltipTextColor: string;
2007
+ backgroundColor: string;
2008
+ };
2009
+ } | null;
2010
+ }, EditCanvasConfigType | {
2011
+ projectName: string;
2012
+ width: number;
2013
+ height: number;
2014
+ background: string;
2015
+ backgroundImage: string | null;
2016
+ filterShow: boolean;
2017
+ opacity: number;
2018
+ saturate: number;
2019
+ contrast: number;
2020
+ hueRotate: number;
2021
+ brightness: number;
2022
+ blendMode: string;
2023
+ customTheme: {
2024
+ name: string;
2025
+ label: string;
2026
+ colors: {
2027
+ titleColor: string;
2028
+ legendTextColor: string;
2029
+ axisLineColor: string;
2030
+ axisLabelColor: string;
2031
+ splitLineColor: string;
2032
+ seriesColor: string;
2033
+ seriesColorEnd: string;
2034
+ seriesColorList: string[];
2035
+ areaOpacityStart: number;
2036
+ areaOpacityEnd: number;
2037
+ labelColor: string;
2038
+ tooltipBg: string;
2039
+ tooltipBorder: string;
2040
+ tooltipTextColor: string;
2041
+ backgroundColor: string;
2042
+ };
2043
+ } | null;
2044
+ }>;
2045
+ requestGlobalConfig: import("vue").Ref<{
2046
+ requestOriginUrl: string;
2047
+ requestInterval: number;
2048
+ requestIntervalUnit: "second" | "minute" | "hour" | "day";
2049
+ requestHeader: Record<string, string>;
2050
+ requestDataPond: {
2051
+ dataPondId: string;
2052
+ dataPondName: string;
2053
+ dataPondRequestConfig: {
2054
+ requestDataType: 0 | 1 | 2;
2055
+ requestUrl?: string | undefined;
2056
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
2057
+ requestContentType?: number | undefined;
2058
+ requestParamsBodyType?: string | undefined;
2059
+ requestSQLContent?: {
2060
+ sql: string;
2061
+ } | undefined;
2062
+ requestParams?: {
2063
+ Params: Record<string, string>;
2064
+ Header: Record<string, string>;
2065
+ Body: {
2066
+ 'form-data': Record<string, string>;
2067
+ 'x-www-form-urlencoded': Record<string, string>;
2068
+ json: string;
2069
+ xml: string;
2070
+ };
2071
+ } | undefined;
2072
+ requestInterval?: number | null | undefined;
2073
+ requestIntervalUnit?: string | undefined;
2074
+ requestDataPondId?: string | undefined;
2075
+ };
2076
+ }[];
2077
+ }, RequestGlobalConfigType | {
2078
+ requestOriginUrl: string;
2079
+ requestInterval: number;
2080
+ requestIntervalUnit: "second" | "minute" | "hour" | "day";
2081
+ requestHeader: Record<string, string>;
2082
+ requestDataPond: {
2083
+ dataPondId: string;
2084
+ dataPondName: string;
2085
+ dataPondRequestConfig: {
2086
+ requestDataType: 0 | 1 | 2;
2087
+ requestUrl?: string | undefined;
2088
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
2089
+ requestContentType?: number | undefined;
2090
+ requestParamsBodyType?: string | undefined;
2091
+ requestSQLContent?: {
2092
+ sql: string;
2093
+ } | undefined;
2094
+ requestParams?: {
2095
+ Params: Record<string, string>;
2096
+ Header: Record<string, string>;
2097
+ Body: {
2098
+ 'form-data': Record<string, string>;
2099
+ 'x-www-form-urlencoded': Record<string, string>;
2100
+ json: string;
2101
+ xml: string;
2102
+ };
2103
+ } | undefined;
2104
+ requestInterval?: number | null | undefined;
2105
+ requestIntervalUnit?: string | undefined;
2106
+ requestDataPondId?: string | undefined;
2107
+ };
2108
+ }[];
2109
+ }>;
2110
+ addComponent: (key: string) => void;
2111
+ removeComponent: (id: string) => void;
2112
+ selectComponent: (id: string | null) => void;
2113
+ toggleSelectComponent: (id: string) => void;
2114
+ selectComponentsByRect: (x: number, y: number, w: number, h: number) => void;
2115
+ clearSelection: () => void;
2116
+ setPreviewMode: (value: boolean) => void;
2117
+ groupSelectedComponents: () => void;
2118
+ ungroupComponent: (groupId: string) => void;
2119
+ updateComponentProp: (id: string, key: string, value: any) => void;
2120
+ updateComponentProps: (id: string, props: Record<string, any>) => void;
2121
+ updateComponentTitle: (id: string, title: string) => void;
2122
+ updateComponentPosition: (id: string, x: number, y: number) => void;
2123
+ updateComponentSize: (id: string, w: number, h: number) => void;
2124
+ updateCanvasConfig: (config: Partial<EditCanvasConfigType>) => void;
2125
+ updateRequestGlobalConfig: (config: Partial<RequestGlobalConfigType>) => void;
2126
+ findComponent: (id: string) => CanvasComponent | null;
2127
+ updateComponentAttr: (id: string, key: keyof typeof DEFAULT_ATTR, value: number) => void;
2128
+ updateComponentStyle: (id: string, key: string, value: number | string) => void;
2129
+ updateComponentOption: (id: string, key: string, value: any) => void;
2130
+ updateChartStyle: (id: string, path: string, value: any) => void;
2131
+ applyThemeToAll: (preset: ChartThemePreset) => void;
2132
+ saveCustomTheme: (preset: ChartThemePreset) => void;
2133
+ toggleComponentStatus: (id: string, statusKey: "lock" | "hide") => void;
2134
+ toggleComponentPreviewOverflow: (id: string) => void;
2135
+ toggleComponentFilterShow: (id: string) => void;
2136
+ updateComponentFilter: (id: string, value: string) => void;
2137
+ moveComponentDelta: (id: string, dx: number, dy: number, baseX: number, baseY: number, pageW?: number, pageH?: number) => void;
2138
+ resizeComponentDelta: (id: string, dw: number, dh: number, baseW: number, baseH: number, maxW?: number, maxH?: number) => void;
2139
+ updateOptionDatasetDimension: (id: string, index: number, value: string) => void;
2140
+ updateOptionDatasetCell: (id: string, rowIndex: number, colIndex: number, value: string) => void;
2141
+ addOptionDatasetRow: (id: string) => void;
2142
+ removeOptionDatasetRow: (id: string, rowIndex: number) => void;
2143
+ addDataPond: (item: DataPondItem) => void;
2144
+ updateDataPond: (id: string, item: Partial<DataPondItem>) => void;
2145
+ removeDataPond: (id: string) => void;
2146
+ updateComponentRequest: (id: string, request: Partial<RequestConfigType>) => void;
2147
+ interactFilters: import("vue").Ref<Record<string, Record<string, any>>, Record<string, Record<string, any>>>;
2148
+ updateComponentEvents: (id: string, events: EventsType) => void;
2149
+ updateComponentInteractActions: (id: string, actions: InteractActionItem[]) => void;
2150
+ addInteractEvent: (id: string, event: InteractEventItem) => void;
2151
+ removeInteractEvent: (id: string, index: number) => void;
2152
+ updateInteractEvent: (id: string, index: number, patch: Partial<InteractEventItem>) => void;
2153
+ applyInteractAction: (targetId: string, method: string, value: any) => void;
2154
+ clearInteractFilters: (targetId?: string) => void;
2155
+ duplicateComponent: (id: string) => void;
2156
+ loadSchema: (schema: {
2157
+ editCanvasConfig?: any;
2158
+ requestGlobalConfig?: any;
2159
+ componentList?: any[];
2160
+ }) => void;
2161
+ }, "selectedComponent">, Pick<{
2162
+ components: import("vue").Ref<{
2163
+ props: Record<string, any>;
2164
+ id: string;
2165
+ key: string;
2166
+ isGroup?: boolean | undefined;
2167
+ chartConfig: {
2168
+ key: string;
2169
+ chartKey: string;
2170
+ conKey: string;
2171
+ title: string;
2172
+ category: string;
2173
+ categoryName: string;
2174
+ package: string;
2175
+ chartFrame: string;
2176
+ image: string;
2177
+ redirectComponent?: string | undefined;
2178
+ dataset?: any;
2179
+ disabled?: boolean | undefined;
2180
+ icon?: string | undefined;
2181
+ };
2182
+ attr: {
2183
+ x: number;
2184
+ y: number;
2185
+ w: number;
2186
+ h: number;
2187
+ offsetX: number;
2188
+ offsetY: number;
2189
+ zIndex: number;
2190
+ };
2191
+ styles: {
2192
+ filterShow: boolean;
2193
+ opacity: number;
2194
+ saturate: number;
2195
+ contrast: number;
2196
+ hueRotate: number;
2197
+ brightness: number;
2198
+ rotateZ: number;
2199
+ rotateX: number;
2200
+ rotateY: number;
2201
+ skewX: number;
2202
+ skewY: number;
2203
+ blendMode: string;
2204
+ animations: string[];
2205
+ };
2206
+ status: {
2207
+ lock: boolean;
2208
+ hide: boolean;
2209
+ };
2210
+ filter?: string | undefined;
2211
+ preview: {
2212
+ overFlowHidden: boolean;
2213
+ };
2214
+ events?: {
2215
+ baseEvent?: {
2216
+ click?: string | undefined;
2217
+ dblclick?: string | undefined;
2218
+ mouseenter?: string | undefined;
2219
+ mouseleave?: string | undefined;
2220
+ } | undefined;
2221
+ advancedEvents?: {
2222
+ vnodeMounted?: string | undefined;
2223
+ vnodeBeforeMount?: string | undefined;
2224
+ } | undefined;
2225
+ interactEvents?: {
2226
+ interactOn: string;
2227
+ interactComponentId?: string | undefined;
2228
+ interactComponentIds: string[];
2229
+ interactFn: Record<string, string>;
2230
+ requestOverrides?: {
2231
+ params: Record<string, string>;
2232
+ body: Record<string, string>;
2233
+ } | undefined;
2234
+ }[] | undefined;
2235
+ } | undefined;
2236
+ interactActions?: {
2237
+ interactType: string;
2238
+ interactName: string;
2239
+ componentEmitEvents: Record<string, {
2240
+ value: string;
2241
+ label: string;
2242
+ }[]>;
2243
+ }[] | undefined;
2244
+ interactOverrides?: Record<string, any> | undefined;
2245
+ request?: {
2246
+ requestDataType: 0 | 1 | 2;
2247
+ requestUrl?: string | undefined;
2248
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
2249
+ requestContentType?: number | undefined;
2250
+ requestParamsBodyType?: string | undefined;
2251
+ requestSQLContent?: {
2252
+ sql: string;
2253
+ } | undefined;
2254
+ requestParams?: {
2255
+ Params: Record<string, string>;
2256
+ Header: Record<string, string>;
2257
+ Body: {
2258
+ 'form-data': Record<string, string>;
2259
+ 'x-www-form-urlencoded': Record<string, string>;
2260
+ json: string;
2261
+ xml: string;
2262
+ };
2263
+ } | undefined;
2264
+ requestInterval?: number | null | undefined;
2265
+ requestIntervalUnit?: string | undefined;
2266
+ requestDataPondId?: string | undefined;
2267
+ } | undefined;
2268
+ option: Record<string, any>;
2269
+ chartStyle?: {
2270
+ themeName: string;
2271
+ grid: {
2272
+ top: number;
2273
+ bottom: number;
2274
+ left: number;
2275
+ right: number;
2276
+ };
2277
+ titleStyle: {
2278
+ show: boolean;
2279
+ fontSize: number;
2280
+ color: string;
2281
+ left: number | string;
2282
+ top: number | string;
2283
+ };
2284
+ legend: {
2285
+ show: boolean;
2286
+ orient: "horizontal" | "vertical";
2287
+ left: number | string;
2288
+ top: number | string;
2289
+ fontSize: number;
2290
+ icon: "circle" | "rect" | "roundRect" | "triangle" | "diamond";
2291
+ textColor: string;
2292
+ layoutMode: "echarts" | "grid";
2293
+ gridColumns: number;
2294
+ itemGap: number;
2295
+ unit: string;
2296
+ };
2297
+ xAxis: {
2298
+ show: boolean;
2299
+ name: string;
2300
+ labelFontSize: number;
2301
+ labelRotate: number;
2302
+ lineColor: string;
2303
+ labelColor: string;
2304
+ };
2305
+ yAxis: {
2306
+ show: boolean;
2307
+ name: string;
2308
+ labelFontSize: number;
2309
+ min: number | null;
2310
+ max: number | null;
2311
+ splitLineShow: boolean;
2312
+ splitLineColor: string;
2313
+ labelColor: string;
2314
+ };
2315
+ series: {
2316
+ smooth: boolean;
2317
+ symbol: string;
2318
+ symbolSize: number;
2319
+ barWidth: number | string;
2320
+ barGap: string | number;
2321
+ barCategoryGap: string | number;
2322
+ barBorderRadius: number;
2323
+ barColorByData: boolean;
2324
+ lineWidth: number;
2325
+ showArea: boolean;
2326
+ showLabel: boolean;
2327
+ labelFontSize: number;
2328
+ color: string;
2329
+ colorEnd: string;
2330
+ colorList: string[];
2331
+ areaOpacityStart: number;
2332
+ areaOpacityEnd: number;
2333
+ labelColor: string;
2334
+ pieRadius: number;
2335
+ pieRoseType: boolean;
2336
+ pieLabelPosition: "inside" | "outside" | "center";
2337
+ subTitle: string;
2338
+ mapRegionColor: string;
2339
+ mapRegionBorderColor: string;
2340
+ mapRegionHoverColor: string;
2341
+ mapLabelShow: boolean;
2342
+ mapLabelColor: string;
2343
+ mapLabelFontSize: number;
2344
+ mapVisualMin: number;
2345
+ mapVisualMax: number;
2346
+ mapVisualColors: string[];
2347
+ mapVisualMapShow: boolean;
2348
+ mapMarkPointShow: boolean;
2349
+ mapMarkPointSymbolSize: number;
2350
+ mapMarkPointColor: string;
2351
+ mapMarkPointBorderWidth: number;
2352
+ mapMarkPointShadowColor: string;
2353
+ mapMarkPointLabelShow: boolean;
2354
+ mapMarkPointLabelFontSize: number;
2355
+ mapSelectColor: string;
2356
+ mapSelectLabelColor: string;
2357
+ mapSelectBorderColor: string;
2358
+ mapSelectBorderWidth: number;
2359
+ mapSelectShadowBlur: number;
2360
+ mapSelectShadowColor: string;
2361
+ mapHoverBorderColor: string;
2362
+ mapHoverBorderWidth: number;
2363
+ mapHoverShadowBlur: number;
2364
+ mapHoverShadowColor: string;
2365
+ mapEmphasisLabelColor: string;
2366
+ mapEmphasisLabelFontSize: number;
2367
+ mapLabelFontWeight: number;
2368
+ mapMiniMapShow: boolean;
2369
+ mapMiniMapWidth: number;
2370
+ mapMiniMapHeight: number;
2371
+ mapTooltipDimensionUnits: Record<string, string>;
2372
+ };
2373
+ tooltip: {
2374
+ show: boolean;
2375
+ trigger: "axis" | "item" | "none";
2376
+ backgroundColor: string;
2377
+ borderColor: string;
2378
+ textColor: string;
2379
+ };
2380
+ backgroundColor: string;
2381
+ backgroundOpacity: number;
2382
+ } | undefined;
2383
+ groupList?: {
2384
+ id: string;
2385
+ key: string;
2386
+ isGroup?: boolean | undefined;
2387
+ chartConfig: {
2388
+ key: string;
2389
+ chartKey: string;
2390
+ conKey: string;
2391
+ title: string;
2392
+ category: string;
2393
+ categoryName: string;
2394
+ package: string;
2395
+ chartFrame: string;
2396
+ image: string;
2397
+ redirectComponent?: string | undefined;
2398
+ dataset?: any;
2399
+ disabled?: boolean | undefined;
2400
+ icon?: string | undefined;
2401
+ };
2402
+ attr: {
2403
+ x: number;
2404
+ y: number;
2405
+ w: number;
2406
+ h: number;
2407
+ offsetX: number;
2408
+ offsetY: number;
2409
+ zIndex: number;
2410
+ };
2411
+ styles: {
2412
+ filterShow: boolean;
2413
+ opacity: number;
2414
+ saturate: number;
2415
+ contrast: number;
2416
+ hueRotate: number;
2417
+ brightness: number;
2418
+ rotateZ: number;
2419
+ rotateX: number;
2420
+ rotateY: number;
2421
+ skewX: number;
2422
+ skewY: number;
2423
+ blendMode: string;
2424
+ animations: string[];
2425
+ };
2426
+ status: {
2427
+ lock: boolean;
2428
+ hide: boolean;
2429
+ };
2430
+ filter?: string | undefined;
2431
+ preview: {
2432
+ overFlowHidden: boolean;
2433
+ };
2434
+ events?: {
2435
+ baseEvent?: {
2436
+ click?: string | undefined;
2437
+ dblclick?: string | undefined;
2438
+ mouseenter?: string | undefined;
2439
+ mouseleave?: string | undefined;
2440
+ } | undefined;
2441
+ advancedEvents?: {
2442
+ vnodeMounted?: string | undefined;
2443
+ vnodeBeforeMount?: string | undefined;
2444
+ } | undefined;
2445
+ interactEvents?: {
2446
+ interactOn: string;
2447
+ interactComponentId?: string | undefined;
2448
+ interactComponentIds: string[];
2449
+ interactFn: Record<string, string>;
2450
+ requestOverrides?: {
2451
+ params: Record<string, string>;
2452
+ body: Record<string, string>;
2453
+ } | undefined;
2454
+ }[] | undefined;
2455
+ } | undefined;
2456
+ interactActions?: {
2457
+ interactType: string;
2458
+ interactName: string;
2459
+ componentEmitEvents: Record<string, {
2460
+ value: string;
2461
+ label: string;
2462
+ }[]>;
2463
+ }[] | undefined;
2464
+ interactOverrides?: Record<string, any> | undefined;
2465
+ request?: {
2466
+ requestDataType: 0 | 1 | 2;
2467
+ requestUrl?: string | undefined;
2468
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
2469
+ requestContentType?: number | undefined;
2470
+ requestParamsBodyType?: string | undefined;
2471
+ requestSQLContent?: {
2472
+ sql: string;
2473
+ } | undefined;
2474
+ requestParams?: {
2475
+ Params: Record<string, string>;
2476
+ Header: Record<string, string>;
2477
+ Body: {
2478
+ 'form-data': Record<string, string>;
2479
+ 'x-www-form-urlencoded': Record<string, string>;
2480
+ json: string;
2481
+ xml: string;
2482
+ };
2483
+ } | undefined;
2484
+ requestInterval?: number | null | undefined;
2485
+ requestIntervalUnit?: string | undefined;
2486
+ requestDataPondId?: string | undefined;
2487
+ } | undefined;
2488
+ option: Record<string, any>;
2489
+ chartStyle?: {
2490
+ themeName: string;
2491
+ grid: {
2492
+ top: number;
2493
+ bottom: number;
2494
+ left: number;
2495
+ right: number;
2496
+ };
2497
+ titleStyle: {
2498
+ show: boolean;
2499
+ fontSize: number;
2500
+ color: string;
2501
+ left: number | string;
2502
+ top: number | string;
2503
+ };
2504
+ legend: {
2505
+ show: boolean;
2506
+ orient: "horizontal" | "vertical";
2507
+ left: number | string;
2508
+ top: number | string;
2509
+ fontSize: number;
2510
+ icon: "circle" | "rect" | "roundRect" | "triangle" | "diamond";
2511
+ textColor: string;
2512
+ layoutMode: "echarts" | "grid";
2513
+ gridColumns: number;
2514
+ itemGap: number;
2515
+ unit: string;
2516
+ };
2517
+ xAxis: {
2518
+ show: boolean;
2519
+ name: string;
2520
+ labelFontSize: number;
2521
+ labelRotate: number;
2522
+ lineColor: string;
2523
+ labelColor: string;
2524
+ };
2525
+ yAxis: {
2526
+ show: boolean;
2527
+ name: string;
2528
+ labelFontSize: number;
2529
+ min: number | null;
2530
+ max: number | null;
2531
+ splitLineShow: boolean;
2532
+ splitLineColor: string;
2533
+ labelColor: string;
2534
+ };
2535
+ series: {
2536
+ smooth: boolean;
2537
+ symbol: string;
2538
+ symbolSize: number;
2539
+ barWidth: number | string;
2540
+ barGap: string | number;
2541
+ barCategoryGap: string | number;
2542
+ barBorderRadius: number;
2543
+ barColorByData: boolean;
2544
+ lineWidth: number;
2545
+ showArea: boolean;
2546
+ showLabel: boolean;
2547
+ labelFontSize: number;
2548
+ color: string;
2549
+ colorEnd: string;
2550
+ colorList: string[];
2551
+ areaOpacityStart: number;
2552
+ areaOpacityEnd: number;
2553
+ labelColor: string;
2554
+ pieRadius: number;
2555
+ pieRoseType: boolean;
2556
+ pieLabelPosition: "inside" | "outside" | "center";
2557
+ subTitle: string;
2558
+ mapRegionColor: string;
2559
+ mapRegionBorderColor: string;
2560
+ mapRegionHoverColor: string;
2561
+ mapLabelShow: boolean;
2562
+ mapLabelColor: string;
2563
+ mapLabelFontSize: number;
2564
+ mapVisualMin: number;
2565
+ mapVisualMax: number;
2566
+ mapVisualColors: string[];
2567
+ mapVisualMapShow: boolean;
2568
+ mapMarkPointShow: boolean;
2569
+ mapMarkPointSymbolSize: number;
2570
+ mapMarkPointColor: string;
2571
+ mapMarkPointBorderWidth: number;
2572
+ mapMarkPointShadowColor: string;
2573
+ mapMarkPointLabelShow: boolean;
2574
+ mapMarkPointLabelFontSize: number;
2575
+ mapSelectColor: string;
2576
+ mapSelectLabelColor: string;
2577
+ mapSelectBorderColor: string;
2578
+ mapSelectBorderWidth: number;
2579
+ mapSelectShadowBlur: number;
2580
+ mapSelectShadowColor: string;
2581
+ mapHoverBorderColor: string;
2582
+ mapHoverBorderWidth: number;
2583
+ mapHoverShadowBlur: number;
2584
+ mapHoverShadowColor: string;
2585
+ mapEmphasisLabelColor: string;
2586
+ mapEmphasisLabelFontSize: number;
2587
+ mapLabelFontWeight: number;
2588
+ mapMiniMapShow: boolean;
2589
+ mapMiniMapWidth: number;
2590
+ mapMiniMapHeight: number;
2591
+ mapTooltipDimensionUnits: Record<string, string>;
2592
+ };
2593
+ tooltip: {
2594
+ show: boolean;
2595
+ trigger: "axis" | "item" | "none";
2596
+ backgroundColor: string;
2597
+ borderColor: string;
2598
+ textColor: string;
2599
+ };
2600
+ backgroundColor: string;
2601
+ backgroundOpacity: number;
2602
+ } | undefined;
2603
+ groupList?: /*elided*/ any[] | undefined;
2604
+ }[] | undefined;
2605
+ }[], CanvasComponent[] | {
2606
+ props: Record<string, any>;
2607
+ id: string;
2608
+ key: string;
2609
+ isGroup?: boolean | undefined;
2610
+ chartConfig: {
2611
+ key: string;
2612
+ chartKey: string;
2613
+ conKey: string;
2614
+ title: string;
2615
+ category: string;
2616
+ categoryName: string;
2617
+ package: string;
2618
+ chartFrame: string;
2619
+ image: string;
2620
+ redirectComponent?: string | undefined;
2621
+ dataset?: any;
2622
+ disabled?: boolean | undefined;
2623
+ icon?: string | undefined;
2624
+ };
2625
+ attr: {
2626
+ x: number;
2627
+ y: number;
2628
+ w: number;
2629
+ h: number;
2630
+ offsetX: number;
2631
+ offsetY: number;
2632
+ zIndex: number;
2633
+ };
2634
+ styles: {
2635
+ filterShow: boolean;
2636
+ opacity: number;
2637
+ saturate: number;
2638
+ contrast: number;
2639
+ hueRotate: number;
2640
+ brightness: number;
2641
+ rotateZ: number;
2642
+ rotateX: number;
2643
+ rotateY: number;
2644
+ skewX: number;
2645
+ skewY: number;
2646
+ blendMode: string;
2647
+ animations: string[];
2648
+ };
2649
+ status: {
2650
+ lock: boolean;
2651
+ hide: boolean;
2652
+ };
2653
+ filter?: string | undefined;
2654
+ preview: {
2655
+ overFlowHidden: boolean;
2656
+ };
2657
+ events?: {
2658
+ baseEvent?: {
2659
+ click?: string | undefined;
2660
+ dblclick?: string | undefined;
2661
+ mouseenter?: string | undefined;
2662
+ mouseleave?: string | undefined;
2663
+ } | undefined;
2664
+ advancedEvents?: {
2665
+ vnodeMounted?: string | undefined;
2666
+ vnodeBeforeMount?: string | undefined;
2667
+ } | undefined;
2668
+ interactEvents?: {
2669
+ interactOn: string;
2670
+ interactComponentId?: string | undefined;
2671
+ interactComponentIds: string[];
2672
+ interactFn: Record<string, string>;
2673
+ requestOverrides?: {
2674
+ params: Record<string, string>;
2675
+ body: Record<string, string>;
2676
+ } | undefined;
2677
+ }[] | undefined;
2678
+ } | undefined;
2679
+ interactActions?: {
2680
+ interactType: string;
2681
+ interactName: string;
2682
+ componentEmitEvents: Record<string, {
2683
+ value: string;
2684
+ label: string;
2685
+ }[]>;
2686
+ }[] | undefined;
2687
+ interactOverrides?: Record<string, any> | undefined;
2688
+ request?: {
2689
+ requestDataType: 0 | 1 | 2;
2690
+ requestUrl?: string | undefined;
2691
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
2692
+ requestContentType?: number | undefined;
2693
+ requestParamsBodyType?: string | undefined;
2694
+ requestSQLContent?: {
2695
+ sql: string;
2696
+ } | undefined;
2697
+ requestParams?: {
2698
+ Params: Record<string, string>;
2699
+ Header: Record<string, string>;
2700
+ Body: {
2701
+ 'form-data': Record<string, string>;
2702
+ 'x-www-form-urlencoded': Record<string, string>;
2703
+ json: string;
2704
+ xml: string;
2705
+ };
2706
+ } | undefined;
2707
+ requestInterval?: number | null | undefined;
2708
+ requestIntervalUnit?: string | undefined;
2709
+ requestDataPondId?: string | undefined;
2710
+ } | undefined;
2711
+ option: Record<string, any>;
2712
+ chartStyle?: {
2713
+ themeName: string;
2714
+ grid: {
2715
+ top: number;
2716
+ bottom: number;
2717
+ left: number;
2718
+ right: number;
2719
+ };
2720
+ titleStyle: {
2721
+ show: boolean;
2722
+ fontSize: number;
2723
+ color: string;
2724
+ left: number | string;
2725
+ top: number | string;
2726
+ };
2727
+ legend: {
2728
+ show: boolean;
2729
+ orient: "horizontal" | "vertical";
2730
+ left: number | string;
2731
+ top: number | string;
2732
+ fontSize: number;
2733
+ icon: "circle" | "rect" | "roundRect" | "triangle" | "diamond";
2734
+ textColor: string;
2735
+ layoutMode: "echarts" | "grid";
2736
+ gridColumns: number;
2737
+ itemGap: number;
2738
+ unit: string;
2739
+ };
2740
+ xAxis: {
2741
+ show: boolean;
2742
+ name: string;
2743
+ labelFontSize: number;
2744
+ labelRotate: number;
2745
+ lineColor: string;
2746
+ labelColor: string;
2747
+ };
2748
+ yAxis: {
2749
+ show: boolean;
2750
+ name: string;
2751
+ labelFontSize: number;
2752
+ min: number | null;
2753
+ max: number | null;
2754
+ splitLineShow: boolean;
2755
+ splitLineColor: string;
2756
+ labelColor: string;
2757
+ };
2758
+ series: {
2759
+ smooth: boolean;
2760
+ symbol: string;
2761
+ symbolSize: number;
2762
+ barWidth: number | string;
2763
+ barGap: string | number;
2764
+ barCategoryGap: string | number;
2765
+ barBorderRadius: number;
2766
+ barColorByData: boolean;
2767
+ lineWidth: number;
2768
+ showArea: boolean;
2769
+ showLabel: boolean;
2770
+ labelFontSize: number;
2771
+ color: string;
2772
+ colorEnd: string;
2773
+ colorList: string[];
2774
+ areaOpacityStart: number;
2775
+ areaOpacityEnd: number;
2776
+ labelColor: string;
2777
+ pieRadius: number;
2778
+ pieRoseType: boolean;
2779
+ pieLabelPosition: "inside" | "outside" | "center";
2780
+ subTitle: string;
2781
+ mapRegionColor: string;
2782
+ mapRegionBorderColor: string;
2783
+ mapRegionHoverColor: string;
2784
+ mapLabelShow: boolean;
2785
+ mapLabelColor: string;
2786
+ mapLabelFontSize: number;
2787
+ mapVisualMin: number;
2788
+ mapVisualMax: number;
2789
+ mapVisualColors: string[];
2790
+ mapVisualMapShow: boolean;
2791
+ mapMarkPointShow: boolean;
2792
+ mapMarkPointSymbolSize: number;
2793
+ mapMarkPointColor: string;
2794
+ mapMarkPointBorderWidth: number;
2795
+ mapMarkPointShadowColor: string;
2796
+ mapMarkPointLabelShow: boolean;
2797
+ mapMarkPointLabelFontSize: number;
2798
+ mapSelectColor: string;
2799
+ mapSelectLabelColor: string;
2800
+ mapSelectBorderColor: string;
2801
+ mapSelectBorderWidth: number;
2802
+ mapSelectShadowBlur: number;
2803
+ mapSelectShadowColor: string;
2804
+ mapHoverBorderColor: string;
2805
+ mapHoverBorderWidth: number;
2806
+ mapHoverShadowBlur: number;
2807
+ mapHoverShadowColor: string;
2808
+ mapEmphasisLabelColor: string;
2809
+ mapEmphasisLabelFontSize: number;
2810
+ mapLabelFontWeight: number;
2811
+ mapMiniMapShow: boolean;
2812
+ mapMiniMapWidth: number;
2813
+ mapMiniMapHeight: number;
2814
+ mapTooltipDimensionUnits: Record<string, string>;
2815
+ };
2816
+ tooltip: {
2817
+ show: boolean;
2818
+ trigger: "axis" | "item" | "none";
2819
+ backgroundColor: string;
2820
+ borderColor: string;
2821
+ textColor: string;
2822
+ };
2823
+ backgroundColor: string;
2824
+ backgroundOpacity: number;
2825
+ } | undefined;
2826
+ groupList?: {
2827
+ id: string;
2828
+ key: string;
2829
+ isGroup?: boolean | undefined;
2830
+ chartConfig: {
2831
+ key: string;
2832
+ chartKey: string;
2833
+ conKey: string;
2834
+ title: string;
2835
+ category: string;
2836
+ categoryName: string;
2837
+ package: string;
2838
+ chartFrame: string;
2839
+ image: string;
2840
+ redirectComponent?: string | undefined;
2841
+ dataset?: any;
2842
+ disabled?: boolean | undefined;
2843
+ icon?: string | undefined;
2844
+ };
2845
+ attr: {
2846
+ x: number;
2847
+ y: number;
2848
+ w: number;
2849
+ h: number;
2850
+ offsetX: number;
2851
+ offsetY: number;
2852
+ zIndex: number;
2853
+ };
2854
+ styles: {
2855
+ filterShow: boolean;
2856
+ opacity: number;
2857
+ saturate: number;
2858
+ contrast: number;
2859
+ hueRotate: number;
2860
+ brightness: number;
2861
+ rotateZ: number;
2862
+ rotateX: number;
2863
+ rotateY: number;
2864
+ skewX: number;
2865
+ skewY: number;
2866
+ blendMode: string;
2867
+ animations: string[];
2868
+ };
2869
+ status: {
2870
+ lock: boolean;
2871
+ hide: boolean;
2872
+ };
2873
+ filter?: string | undefined;
2874
+ preview: {
2875
+ overFlowHidden: boolean;
2876
+ };
2877
+ events?: {
2878
+ baseEvent?: {
2879
+ click?: string | undefined;
2880
+ dblclick?: string | undefined;
2881
+ mouseenter?: string | undefined;
2882
+ mouseleave?: string | undefined;
2883
+ } | undefined;
2884
+ advancedEvents?: {
2885
+ vnodeMounted?: string | undefined;
2886
+ vnodeBeforeMount?: string | undefined;
2887
+ } | undefined;
2888
+ interactEvents?: {
2889
+ interactOn: string;
2890
+ interactComponentId?: string | undefined;
2891
+ interactComponentIds: string[];
2892
+ interactFn: Record<string, string>;
2893
+ requestOverrides?: {
2894
+ params: Record<string, string>;
2895
+ body: Record<string, string>;
2896
+ } | undefined;
2897
+ }[] | undefined;
2898
+ } | undefined;
2899
+ interactActions?: {
2900
+ interactType: string;
2901
+ interactName: string;
2902
+ componentEmitEvents: Record<string, {
2903
+ value: string;
2904
+ label: string;
2905
+ }[]>;
2906
+ }[] | undefined;
2907
+ interactOverrides?: Record<string, any> | undefined;
2908
+ request?: {
2909
+ requestDataType: 0 | 1 | 2;
2910
+ requestUrl?: string | undefined;
2911
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
2912
+ requestContentType?: number | undefined;
2913
+ requestParamsBodyType?: string | undefined;
2914
+ requestSQLContent?: {
2915
+ sql: string;
2916
+ } | undefined;
2917
+ requestParams?: {
2918
+ Params: Record<string, string>;
2919
+ Header: Record<string, string>;
2920
+ Body: {
2921
+ 'form-data': Record<string, string>;
2922
+ 'x-www-form-urlencoded': Record<string, string>;
2923
+ json: string;
2924
+ xml: string;
2925
+ };
2926
+ } | undefined;
2927
+ requestInterval?: number | null | undefined;
2928
+ requestIntervalUnit?: string | undefined;
2929
+ requestDataPondId?: string | undefined;
2930
+ } | undefined;
2931
+ option: Record<string, any>;
2932
+ chartStyle?: {
2933
+ themeName: string;
2934
+ grid: {
2935
+ top: number;
2936
+ bottom: number;
2937
+ left: number;
2938
+ right: number;
2939
+ };
2940
+ titleStyle: {
2941
+ show: boolean;
2942
+ fontSize: number;
2943
+ color: string;
2944
+ left: number | string;
2945
+ top: number | string;
2946
+ };
2947
+ legend: {
2948
+ show: boolean;
2949
+ orient: "horizontal" | "vertical";
2950
+ left: number | string;
2951
+ top: number | string;
2952
+ fontSize: number;
2953
+ icon: "circle" | "rect" | "roundRect" | "triangle" | "diamond";
2954
+ textColor: string;
2955
+ layoutMode: "echarts" | "grid";
2956
+ gridColumns: number;
2957
+ itemGap: number;
2958
+ unit: string;
2959
+ };
2960
+ xAxis: {
2961
+ show: boolean;
2962
+ name: string;
2963
+ labelFontSize: number;
2964
+ labelRotate: number;
2965
+ lineColor: string;
2966
+ labelColor: string;
2967
+ };
2968
+ yAxis: {
2969
+ show: boolean;
2970
+ name: string;
2971
+ labelFontSize: number;
2972
+ min: number | null;
2973
+ max: number | null;
2974
+ splitLineShow: boolean;
2975
+ splitLineColor: string;
2976
+ labelColor: string;
2977
+ };
2978
+ series: {
2979
+ smooth: boolean;
2980
+ symbol: string;
2981
+ symbolSize: number;
2982
+ barWidth: number | string;
2983
+ barGap: string | number;
2984
+ barCategoryGap: string | number;
2985
+ barBorderRadius: number;
2986
+ barColorByData: boolean;
2987
+ lineWidth: number;
2988
+ showArea: boolean;
2989
+ showLabel: boolean;
2990
+ labelFontSize: number;
2991
+ color: string;
2992
+ colorEnd: string;
2993
+ colorList: string[];
2994
+ areaOpacityStart: number;
2995
+ areaOpacityEnd: number;
2996
+ labelColor: string;
2997
+ pieRadius: number;
2998
+ pieRoseType: boolean;
2999
+ pieLabelPosition: "inside" | "outside" | "center";
3000
+ subTitle: string;
3001
+ mapRegionColor: string;
3002
+ mapRegionBorderColor: string;
3003
+ mapRegionHoverColor: string;
3004
+ mapLabelShow: boolean;
3005
+ mapLabelColor: string;
3006
+ mapLabelFontSize: number;
3007
+ mapVisualMin: number;
3008
+ mapVisualMax: number;
3009
+ mapVisualColors: string[];
3010
+ mapVisualMapShow: boolean;
3011
+ mapMarkPointShow: boolean;
3012
+ mapMarkPointSymbolSize: number;
3013
+ mapMarkPointColor: string;
3014
+ mapMarkPointBorderWidth: number;
3015
+ mapMarkPointShadowColor: string;
3016
+ mapMarkPointLabelShow: boolean;
3017
+ mapMarkPointLabelFontSize: number;
3018
+ mapSelectColor: string;
3019
+ mapSelectLabelColor: string;
3020
+ mapSelectBorderColor: string;
3021
+ mapSelectBorderWidth: number;
3022
+ mapSelectShadowBlur: number;
3023
+ mapSelectShadowColor: string;
3024
+ mapHoverBorderColor: string;
3025
+ mapHoverBorderWidth: number;
3026
+ mapHoverShadowBlur: number;
3027
+ mapHoverShadowColor: string;
3028
+ mapEmphasisLabelColor: string;
3029
+ mapEmphasisLabelFontSize: number;
3030
+ mapLabelFontWeight: number;
3031
+ mapMiniMapShow: boolean;
3032
+ mapMiniMapWidth: number;
3033
+ mapMiniMapHeight: number;
3034
+ mapTooltipDimensionUnits: Record<string, string>;
3035
+ };
3036
+ tooltip: {
3037
+ show: boolean;
3038
+ trigger: "axis" | "item" | "none";
3039
+ backgroundColor: string;
3040
+ borderColor: string;
3041
+ textColor: string;
3042
+ };
3043
+ backgroundColor: string;
3044
+ backgroundOpacity: number;
3045
+ } | undefined;
3046
+ groupList?: /*elided*/ any[] | undefined;
3047
+ }[] | undefined;
3048
+ }[]>;
3049
+ selectedId: import("vue").Ref<string | null, string | null>;
3050
+ selectedIds: import("vue").Ref<string[], string[]>;
3051
+ selectedComponent: import("vue").ComputedRef<CanvasComponent | null>;
3052
+ isPreviewMode: import("vue").Ref<boolean, boolean>;
3053
+ componentDefinitions: import("../config/componentDefinitions").ComponentDefinition[];
3054
+ editCanvasConfig: import("vue").Ref<{
3055
+ projectName: string;
3056
+ width: number;
3057
+ height: number;
3058
+ background: string;
3059
+ backgroundImage: string | null;
3060
+ filterShow: boolean;
3061
+ opacity: number;
3062
+ saturate: number;
3063
+ contrast: number;
3064
+ hueRotate: number;
3065
+ brightness: number;
3066
+ blendMode: string;
3067
+ customTheme: {
3068
+ name: string;
3069
+ label: string;
3070
+ colors: {
3071
+ titleColor: string;
3072
+ legendTextColor: string;
3073
+ axisLineColor: string;
3074
+ axisLabelColor: string;
3075
+ splitLineColor: string;
3076
+ seriesColor: string;
3077
+ seriesColorEnd: string;
3078
+ seriesColorList: string[];
3079
+ areaOpacityStart: number;
3080
+ areaOpacityEnd: number;
3081
+ labelColor: string;
3082
+ tooltipBg: string;
3083
+ tooltipBorder: string;
3084
+ tooltipTextColor: string;
3085
+ backgroundColor: string;
3086
+ };
3087
+ } | null;
3088
+ }, EditCanvasConfigType | {
3089
+ projectName: string;
3090
+ width: number;
3091
+ height: number;
3092
+ background: string;
3093
+ backgroundImage: string | null;
3094
+ filterShow: boolean;
3095
+ opacity: number;
3096
+ saturate: number;
3097
+ contrast: number;
3098
+ hueRotate: number;
3099
+ brightness: number;
3100
+ blendMode: string;
3101
+ customTheme: {
3102
+ name: string;
3103
+ label: string;
3104
+ colors: {
3105
+ titleColor: string;
3106
+ legendTextColor: string;
3107
+ axisLineColor: string;
3108
+ axisLabelColor: string;
3109
+ splitLineColor: string;
3110
+ seriesColor: string;
3111
+ seriesColorEnd: string;
3112
+ seriesColorList: string[];
3113
+ areaOpacityStart: number;
3114
+ areaOpacityEnd: number;
3115
+ labelColor: string;
3116
+ tooltipBg: string;
3117
+ tooltipBorder: string;
3118
+ tooltipTextColor: string;
3119
+ backgroundColor: string;
3120
+ };
3121
+ } | null;
3122
+ }>;
3123
+ requestGlobalConfig: import("vue").Ref<{
3124
+ requestOriginUrl: string;
3125
+ requestInterval: number;
3126
+ requestIntervalUnit: "second" | "minute" | "hour" | "day";
3127
+ requestHeader: Record<string, string>;
3128
+ requestDataPond: {
3129
+ dataPondId: string;
3130
+ dataPondName: string;
3131
+ dataPondRequestConfig: {
3132
+ requestDataType: 0 | 1 | 2;
3133
+ requestUrl?: string | undefined;
3134
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
3135
+ requestContentType?: number | undefined;
3136
+ requestParamsBodyType?: string | undefined;
3137
+ requestSQLContent?: {
3138
+ sql: string;
3139
+ } | undefined;
3140
+ requestParams?: {
3141
+ Params: Record<string, string>;
3142
+ Header: Record<string, string>;
3143
+ Body: {
3144
+ 'form-data': Record<string, string>;
3145
+ 'x-www-form-urlencoded': Record<string, string>;
3146
+ json: string;
3147
+ xml: string;
3148
+ };
3149
+ } | undefined;
3150
+ requestInterval?: number | null | undefined;
3151
+ requestIntervalUnit?: string | undefined;
3152
+ requestDataPondId?: string | undefined;
3153
+ };
3154
+ }[];
3155
+ }, RequestGlobalConfigType | {
3156
+ requestOriginUrl: string;
3157
+ requestInterval: number;
3158
+ requestIntervalUnit: "second" | "minute" | "hour" | "day";
3159
+ requestHeader: Record<string, string>;
3160
+ requestDataPond: {
3161
+ dataPondId: string;
3162
+ dataPondName: string;
3163
+ dataPondRequestConfig: {
3164
+ requestDataType: 0 | 1 | 2;
3165
+ requestUrl?: string | undefined;
3166
+ requestHttpType?: "get" | "post" | "put" | "delete" | "patch" | undefined;
3167
+ requestContentType?: number | undefined;
3168
+ requestParamsBodyType?: string | undefined;
3169
+ requestSQLContent?: {
3170
+ sql: string;
3171
+ } | undefined;
3172
+ requestParams?: {
3173
+ Params: Record<string, string>;
3174
+ Header: Record<string, string>;
3175
+ Body: {
3176
+ 'form-data': Record<string, string>;
3177
+ 'x-www-form-urlencoded': Record<string, string>;
3178
+ json: string;
3179
+ xml: string;
3180
+ };
3181
+ } | undefined;
3182
+ requestInterval?: number | null | undefined;
3183
+ requestIntervalUnit?: string | undefined;
3184
+ requestDataPondId?: string | undefined;
3185
+ };
3186
+ }[];
3187
+ }>;
3188
+ addComponent: (key: string) => void;
3189
+ removeComponent: (id: string) => void;
3190
+ selectComponent: (id: string | null) => void;
3191
+ toggleSelectComponent: (id: string) => void;
3192
+ selectComponentsByRect: (x: number, y: number, w: number, h: number) => void;
3193
+ clearSelection: () => void;
3194
+ setPreviewMode: (value: boolean) => void;
3195
+ groupSelectedComponents: () => void;
3196
+ ungroupComponent: (groupId: string) => void;
3197
+ updateComponentProp: (id: string, key: string, value: any) => void;
3198
+ updateComponentProps: (id: string, props: Record<string, any>) => void;
3199
+ updateComponentTitle: (id: string, title: string) => void;
3200
+ updateComponentPosition: (id: string, x: number, y: number) => void;
3201
+ updateComponentSize: (id: string, w: number, h: number) => void;
3202
+ updateCanvasConfig: (config: Partial<EditCanvasConfigType>) => void;
3203
+ updateRequestGlobalConfig: (config: Partial<RequestGlobalConfigType>) => void;
3204
+ findComponent: (id: string) => CanvasComponent | null;
3205
+ updateComponentAttr: (id: string, key: keyof typeof DEFAULT_ATTR, value: number) => void;
3206
+ updateComponentStyle: (id: string, key: string, value: number | string) => void;
3207
+ updateComponentOption: (id: string, key: string, value: any) => void;
3208
+ updateChartStyle: (id: string, path: string, value: any) => void;
3209
+ applyThemeToAll: (preset: ChartThemePreset) => void;
3210
+ saveCustomTheme: (preset: ChartThemePreset) => void;
3211
+ toggleComponentStatus: (id: string, statusKey: "lock" | "hide") => void;
3212
+ toggleComponentPreviewOverflow: (id: string) => void;
3213
+ toggleComponentFilterShow: (id: string) => void;
3214
+ updateComponentFilter: (id: string, value: string) => void;
3215
+ moveComponentDelta: (id: string, dx: number, dy: number, baseX: number, baseY: number, pageW?: number, pageH?: number) => void;
3216
+ resizeComponentDelta: (id: string, dw: number, dh: number, baseW: number, baseH: number, maxW?: number, maxH?: number) => void;
3217
+ updateOptionDatasetDimension: (id: string, index: number, value: string) => void;
3218
+ updateOptionDatasetCell: (id: string, rowIndex: number, colIndex: number, value: string) => void;
3219
+ addOptionDatasetRow: (id: string) => void;
3220
+ removeOptionDatasetRow: (id: string, rowIndex: number) => void;
3221
+ addDataPond: (item: DataPondItem) => void;
3222
+ updateDataPond: (id: string, item: Partial<DataPondItem>) => void;
3223
+ removeDataPond: (id: string) => void;
3224
+ updateComponentRequest: (id: string, request: Partial<RequestConfigType>) => void;
3225
+ interactFilters: import("vue").Ref<Record<string, Record<string, any>>, Record<string, Record<string, any>>>;
3226
+ updateComponentEvents: (id: string, events: EventsType) => void;
3227
+ updateComponentInteractActions: (id: string, actions: InteractActionItem[]) => void;
3228
+ addInteractEvent: (id: string, event: InteractEventItem) => void;
3229
+ removeInteractEvent: (id: string, index: number) => void;
3230
+ updateInteractEvent: (id: string, index: number, patch: Partial<InteractEventItem>) => void;
3231
+ applyInteractAction: (targetId: string, method: string, value: any) => void;
3232
+ clearInteractFilters: (targetId?: string) => void;
3233
+ duplicateComponent: (id: string) => void;
3234
+ loadSchema: (schema: {
3235
+ editCanvasConfig?: any;
3236
+ requestGlobalConfig?: any;
3237
+ componentList?: any[];
3238
+ }) => void;
3239
+ }, "addComponent" | "removeComponent" | "selectComponent" | "toggleSelectComponent" | "selectComponentsByRect" | "clearSelection" | "setPreviewMode" | "groupSelectedComponents" | "ungroupComponent" | "updateComponentProp" | "updateComponentProps" | "updateComponentTitle" | "updateComponentPosition" | "updateComponentSize" | "updateCanvasConfig" | "updateRequestGlobalConfig" | "findComponent" | "updateComponentAttr" | "updateComponentStyle" | "updateComponentOption" | "updateChartStyle" | "applyThemeToAll" | "saveCustomTheme" | "toggleComponentStatus" | "toggleComponentPreviewOverflow" | "toggleComponentFilterShow" | "updateComponentFilter" | "moveComponentDelta" | "resizeComponentDelta" | "updateOptionDatasetDimension" | "updateOptionDatasetCell" | "addOptionDatasetRow" | "removeOptionDatasetRow" | "addDataPond" | "updateDataPond" | "removeDataPond" | "updateComponentRequest" | "updateComponentEvents" | "updateComponentInteractActions" | "addInteractEvent" | "removeInteractEvent" | "updateInteractEvent" | "applyInteractAction" | "clearInteractFilters" | "duplicateComponent" | "loadSchema">>;
3240
+ //# sourceMappingURL=dashboard.d.ts.map