@ecan-bi/datav 1.3.4 → 1.3.6

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.
@@ -375,6 +375,26 @@ export declare const EcanComboGraph: import("../../utils/withInstall").SFCWithIn
375
375
  type?: import("vue").PropType<"min" | "max" | "average" | "median">;
376
376
  default?: "min" | "max" | "average" | "median";
377
377
  };
378
+ legendFormatter: {
379
+ type?: import("vue").PropType<string>;
380
+ default?: string;
381
+ };
382
+ legendWidth: {
383
+ type?: import("vue").PropType<number>;
384
+ default?: number;
385
+ };
386
+ legendHeight: {
387
+ type?: import("vue").PropType<number>;
388
+ default?: number;
389
+ };
390
+ legendTextWidth: {
391
+ type?: import("vue").PropType<number>;
392
+ default?: number;
393
+ };
394
+ legendScroll: {
395
+ type?: import("vue").PropType<boolean>;
396
+ default?: boolean;
397
+ };
378
398
  id: {
379
399
  type?: import("vue").PropType<string>;
380
400
  default?: string;
@@ -522,13 +542,22 @@ export declare const EcanComboGraph: import("../../utils/withInstall").SFCWithIn
522
542
  };
523
543
  color: string[];
524
544
  legend: {
545
+ type: string;
546
+ width: number;
547
+ height: number;
525
548
  show: boolean;
526
549
  orient: "horizontal" | "vertical";
527
550
  top: "top" | "bottom" | "middle";
528
551
  left: "left" | "center" | "right";
529
552
  textStyle: {
530
- color: string;
531
- fontSize: string | number;
553
+ lineHeight: number;
554
+ rich: {
555
+ text: {
556
+ width: number;
557
+ color: string;
558
+ fontSize: string | number;
559
+ };
560
+ };
532
561
  };
533
562
  itemHeight: number;
534
563
  itemWidth: number;
@@ -540,6 +569,7 @@ export declare const EcanComboGraph: import("../../utils/withInstall").SFCWithIn
540
569
  };
541
570
  icon: string;
542
571
  }[];
572
+ formatter: (name: string) => string;
543
573
  };
544
574
  tooltip: {
545
575
  trigger: string;
@@ -1004,6 +1034,26 @@ export declare const EcanComboGraph: import("../../utils/withInstall").SFCWithIn
1004
1034
  type?: import("vue").PropType<"min" | "max" | "average" | "median">;
1005
1035
  default?: "min" | "max" | "average" | "median";
1006
1036
  };
1037
+ legendFormatter: {
1038
+ type?: import("vue").PropType<string>;
1039
+ default?: string;
1040
+ };
1041
+ legendWidth: {
1042
+ type?: import("vue").PropType<number>;
1043
+ default?: number;
1044
+ };
1045
+ legendHeight: {
1046
+ type?: import("vue").PropType<number>;
1047
+ default?: number;
1048
+ };
1049
+ legendTextWidth: {
1050
+ type?: import("vue").PropType<number>;
1051
+ default?: number;
1052
+ };
1053
+ legendScroll: {
1054
+ type?: import("vue").PropType<boolean>;
1055
+ default?: boolean;
1056
+ };
1007
1057
  id: {
1008
1058
  type?: import("vue").PropType<string>;
1009
1059
  default?: string;
@@ -97,6 +97,11 @@ export interface ComboGraphProps extends Props {
97
97
  tooltipPosition: string;
98
98
  isShowMarkLine: boolean;
99
99
  markLineType: 'min' | 'max' | 'average' | 'median';
100
+ legendFormatter: string;
101
+ legendWidth: number | null;
102
+ legendHeight: number | null;
103
+ legendTextWidth: number | null;
104
+ legendScroll: boolean;
100
105
  }
101
106
  export declare const comboGraphProps: ComboGraphProps;
102
107
  export declare const comboGraphComponentProps: {
@@ -476,6 +481,26 @@ export declare const comboGraphComponentProps: {
476
481
  type?: import("vue").PropType<"min" | "max" | "average" | "median">;
477
482
  default?: "min" | "max" | "average" | "median";
478
483
  };
484
+ legendFormatter: {
485
+ type?: import("vue").PropType<string>;
486
+ default?: string;
487
+ };
488
+ legendWidth: {
489
+ type?: import("vue").PropType<number>;
490
+ default?: number;
491
+ };
492
+ legendHeight: {
493
+ type?: import("vue").PropType<number>;
494
+ default?: number;
495
+ };
496
+ legendTextWidth: {
497
+ type?: import("vue").PropType<number>;
498
+ default?: number;
499
+ };
500
+ legendScroll: {
501
+ type?: import("vue").PropType<boolean>;
502
+ default?: boolean;
503
+ };
479
504
  id: {
480
505
  type?: import("vue").PropType<string>;
481
506
  default?: string;
@@ -389,6 +389,26 @@ declare const _sfc_main: import("vue").DefineComponent<{
389
389
  type?: import("vue").PropType<string>;
390
390
  default?: string;
391
391
  };
392
+ legendFormatter: {
393
+ type?: import("vue").PropType<string>;
394
+ default?: string;
395
+ };
396
+ legendWidth: {
397
+ type?: import("vue").PropType<any>;
398
+ default?: any;
399
+ };
400
+ legendHeight: {
401
+ type?: import("vue").PropType<any>;
402
+ default?: any;
403
+ };
404
+ legendTextWidth: {
405
+ type?: import("vue").PropType<any>;
406
+ default?: any;
407
+ };
408
+ legendScroll: {
409
+ type?: import("vue").PropType<boolean>;
410
+ default?: boolean;
411
+ };
392
412
  position: {
393
413
  type?: import("vue").PropType<string>;
394
414
  default?: string;
@@ -562,13 +582,22 @@ declare const _sfc_main: import("vue").DefineComponent<{
562
582
  };
563
583
  };
564
584
  legend: {
585
+ type: string;
586
+ width: any;
587
+ height: any;
565
588
  show: boolean;
566
589
  orient: string;
567
590
  top: string;
568
591
  left: string;
569
592
  textStyle: {
570
- color: string;
571
- fontSize: string | number;
593
+ lineHeight: number;
594
+ rich: {
595
+ text: {
596
+ width: any;
597
+ color: string;
598
+ fontSize: string | number;
599
+ };
600
+ };
572
601
  };
573
602
  itemHeight: number;
574
603
  itemWidth: number;
@@ -577,6 +606,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
577
606
  name: any;
578
607
  icon: string;
579
608
  }[];
609
+ formatter: (name: string) => string;
580
610
  };
581
611
  series: {
582
612
  [x: string]: any;
@@ -982,6 +1012,26 @@ declare const _sfc_main: import("vue").DefineComponent<{
982
1012
  type?: import("vue").PropType<string>;
983
1013
  default?: string;
984
1014
  };
1015
+ legendFormatter: {
1016
+ type?: import("vue").PropType<string>;
1017
+ default?: string;
1018
+ };
1019
+ legendWidth: {
1020
+ type?: import("vue").PropType<any>;
1021
+ default?: any;
1022
+ };
1023
+ legendHeight: {
1024
+ type?: import("vue").PropType<any>;
1025
+ default?: any;
1026
+ };
1027
+ legendTextWidth: {
1028
+ type?: import("vue").PropType<any>;
1029
+ default?: any;
1030
+ };
1031
+ legendScroll: {
1032
+ type?: import("vue").PropType<boolean>;
1033
+ default?: boolean;
1034
+ };
985
1035
  position: {
986
1036
  type?: import("vue").PropType<string>;
987
1037
  default?: string;
@@ -389,6 +389,26 @@ export declare const EcanLine: import("../../utils/withInstall").SFCWithInstall<
389
389
  type?: import("vue").PropType<string>;
390
390
  default?: string;
391
391
  };
392
+ legendFormatter: {
393
+ type?: import("vue").PropType<string>;
394
+ default?: string;
395
+ };
396
+ legendWidth: {
397
+ type?: import("vue").PropType<any>;
398
+ default?: any;
399
+ };
400
+ legendHeight: {
401
+ type?: import("vue").PropType<any>;
402
+ default?: any;
403
+ };
404
+ legendTextWidth: {
405
+ type?: import("vue").PropType<any>;
406
+ default?: any;
407
+ };
408
+ legendScroll: {
409
+ type?: import("vue").PropType<boolean>;
410
+ default?: boolean;
411
+ };
392
412
  position: {
393
413
  type?: import("vue").PropType<string>;
394
414
  default?: string;
@@ -562,13 +582,22 @@ export declare const EcanLine: import("../../utils/withInstall").SFCWithInstall<
562
582
  };
563
583
  };
564
584
  legend: {
585
+ type: string;
586
+ width: any;
587
+ height: any;
565
588
  show: boolean;
566
589
  orient: string;
567
590
  top: string;
568
591
  left: string;
569
592
  textStyle: {
570
- color: string;
571
- fontSize: string | number;
593
+ lineHeight: number;
594
+ rich: {
595
+ text: {
596
+ width: any;
597
+ color: string;
598
+ fontSize: string | number;
599
+ };
600
+ };
572
601
  };
573
602
  itemHeight: number;
574
603
  itemWidth: number;
@@ -577,6 +606,7 @@ export declare const EcanLine: import("../../utils/withInstall").SFCWithInstall<
577
606
  name: any;
578
607
  icon: string;
579
608
  }[];
609
+ formatter: (name: string) => string;
580
610
  };
581
611
  series: {
582
612
  [x: string]: any;
@@ -982,6 +1012,26 @@ export declare const EcanLine: import("../../utils/withInstall").SFCWithInstall<
982
1012
  type?: import("vue").PropType<string>;
983
1013
  default?: string;
984
1014
  };
1015
+ legendFormatter: {
1016
+ type?: import("vue").PropType<string>;
1017
+ default?: string;
1018
+ };
1019
+ legendWidth: {
1020
+ type?: import("vue").PropType<any>;
1021
+ default?: any;
1022
+ };
1023
+ legendHeight: {
1024
+ type?: import("vue").PropType<any>;
1025
+ default?: any;
1026
+ };
1027
+ legendTextWidth: {
1028
+ type?: import("vue").PropType<any>;
1029
+ default?: any;
1030
+ };
1031
+ legendScroll: {
1032
+ type?: import("vue").PropType<boolean>;
1033
+ default?: boolean;
1034
+ };
985
1035
  position: {
986
1036
  type?: import("vue").PropType<string>;
987
1037
  default?: string;
@@ -87,6 +87,11 @@ export interface LineProps extends Props {
87
87
  tooltipPosition: string;
88
88
  isShowMarkLine: boolean;
89
89
  markLineType: 'min' | 'max' | 'average' | 'median';
90
+ legendFormatter: string;
91
+ legendWidth: number | null;
92
+ legendHeight: number | null;
93
+ legendTextWidth: number | null;
94
+ legendScroll: boolean;
90
95
  }
91
96
  export declare const lineProps: {
92
97
  id: string;
@@ -192,6 +197,11 @@ export declare const lineProps: {
192
197
  tooltipPosition: string;
193
198
  isShowMarkLine: boolean;
194
199
  markLineType: string;
200
+ legendFormatter: string;
201
+ legendWidth: any;
202
+ legendHeight: any;
203
+ legendTextWidth: any;
204
+ legendScroll: boolean;
195
205
  position: string;
196
206
  zIndex: number;
197
207
  isShow: boolean;
@@ -599,6 +609,26 @@ export declare const lineComponentProps: {
599
609
  type?: import("vue").PropType<string>;
600
610
  default?: string;
601
611
  };
612
+ legendFormatter: {
613
+ type?: import("vue").PropType<string>;
614
+ default?: string;
615
+ };
616
+ legendWidth: {
617
+ type?: import("vue").PropType<any>;
618
+ default?: any;
619
+ };
620
+ legendHeight: {
621
+ type?: import("vue").PropType<any>;
622
+ default?: any;
623
+ };
624
+ legendTextWidth: {
625
+ type?: import("vue").PropType<any>;
626
+ default?: any;
627
+ };
628
+ legendScroll: {
629
+ type?: import("vue").PropType<boolean>;
630
+ default?: boolean;
631
+ };
602
632
  position: {
603
633
  type?: import("vue").PropType<string>;
604
634
  default?: string;
@@ -268,6 +268,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
268
268
  type?: import("vue").PropType<number>;
269
269
  default?: number;
270
270
  };
271
+ legendScroll: {
272
+ type?: import("vue").PropType<boolean>;
273
+ default?: boolean;
274
+ };
271
275
  id: {
272
276
  type?: import("vue").PropType<string>;
273
277
  default?: string;
@@ -725,6 +729,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
725
729
  type?: import("vue").PropType<number>;
726
730
  default?: number;
727
731
  };
732
+ legendScroll: {
733
+ type?: import("vue").PropType<boolean>;
734
+ default?: boolean;
735
+ };
728
736
  id: {
729
737
  type?: import("vue").PropType<string>;
730
738
  default?: string;
@@ -267,6 +267,10 @@ export declare const EcanPie: import("../../utils/withInstall").SFCWithInstall<i
267
267
  type?: import("vue").PropType<number>;
268
268
  default?: number;
269
269
  };
270
+ legendScroll: {
271
+ type?: import("vue").PropType<boolean>;
272
+ default?: boolean;
273
+ };
270
274
  id: {
271
275
  type?: import("vue").PropType<string>;
272
276
  default?: string;
@@ -724,6 +728,10 @@ export declare const EcanPie: import("../../utils/withInstall").SFCWithInstall<i
724
728
  type?: import("vue").PropType<number>;
725
729
  default?: number;
726
730
  };
731
+ legendScroll: {
732
+ type?: import("vue").PropType<boolean>;
733
+ default?: boolean;
734
+ };
727
735
  id: {
728
736
  type?: import("vue").PropType<string>;
729
737
  default?: string;
@@ -68,6 +68,7 @@ export interface PieProps extends Props {
68
68
  legendWidth: number | null;
69
69
  legendHeight: number | null;
70
70
  legendTextWidth: number | null;
71
+ legendScroll: boolean;
71
72
  }
72
73
  export declare const pieProps: PieProps;
73
74
  export declare const pieComponentProps: {
@@ -339,6 +340,10 @@ export declare const pieComponentProps: {
339
340
  type?: import("vue").PropType<number>;
340
341
  default?: number;
341
342
  };
343
+ legendScroll: {
344
+ type?: import("vue").PropType<boolean>;
345
+ default?: boolean;
346
+ };
342
347
  id: {
343
348
  type?: import("vue").PropType<string>;
344
349
  default?: string;
@@ -249,6 +249,26 @@ declare const _sfc_main: import("vue").DefineComponent<{
249
249
  type?: import("vue").PropType<string>;
250
250
  default?: string;
251
251
  };
252
+ legendFormatter: {
253
+ type?: import("vue").PropType<string>;
254
+ default?: string;
255
+ };
256
+ legendWidth: {
257
+ type?: import("vue").PropType<any>;
258
+ default?: any;
259
+ };
260
+ legendHeight: {
261
+ type?: import("vue").PropType<any>;
262
+ default?: any;
263
+ };
264
+ legendTextWidth: {
265
+ type?: import("vue").PropType<any>;
266
+ default?: any;
267
+ };
268
+ legendScroll: {
269
+ type?: import("vue").PropType<boolean>;
270
+ default?: boolean;
271
+ };
252
272
  position: {
253
273
  type?: import("vue").PropType<string>;
254
274
  default?: string;
@@ -361,13 +381,22 @@ declare const _sfc_main: import("vue").DefineComponent<{
361
381
  };
362
382
  };
363
383
  legend: {
384
+ type: string;
385
+ width: any;
386
+ height: any;
364
387
  show: boolean;
365
388
  orient: string;
366
389
  top: string;
367
390
  left: string;
368
391
  textStyle: {
369
- color: string;
370
- fontSize: string | number;
392
+ lineHeight: number;
393
+ rich: {
394
+ text: {
395
+ width: any;
396
+ color: string;
397
+ fontSize: string | number;
398
+ };
399
+ };
371
400
  };
372
401
  itemHeight: number;
373
402
  itemWidth: number;
@@ -376,6 +405,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
376
405
  name: any;
377
406
  icon: string;
378
407
  }[];
408
+ formatter: (name: string) => string;
379
409
  };
380
410
  series: any[];
381
411
  }>;
@@ -636,6 +666,26 @@ declare const _sfc_main: import("vue").DefineComponent<{
636
666
  type?: import("vue").PropType<string>;
637
667
  default?: string;
638
668
  };
669
+ legendFormatter: {
670
+ type?: import("vue").PropType<string>;
671
+ default?: string;
672
+ };
673
+ legendWidth: {
674
+ type?: import("vue").PropType<any>;
675
+ default?: any;
676
+ };
677
+ legendHeight: {
678
+ type?: import("vue").PropType<any>;
679
+ default?: any;
680
+ };
681
+ legendTextWidth: {
682
+ type?: import("vue").PropType<any>;
683
+ default?: any;
684
+ };
685
+ legendScroll: {
686
+ type?: import("vue").PropType<boolean>;
687
+ default?: boolean;
688
+ };
639
689
  position: {
640
690
  type?: import("vue").PropType<string>;
641
691
  default?: string;
@@ -249,6 +249,26 @@ export declare const EcanRadar: import("../../utils/withInstall").SFCWithInstall
249
249
  type?: import("vue").PropType<string>;
250
250
  default?: string;
251
251
  };
252
+ legendFormatter: {
253
+ type?: import("vue").PropType<string>;
254
+ default?: string;
255
+ };
256
+ legendWidth: {
257
+ type?: import("vue").PropType<any>;
258
+ default?: any;
259
+ };
260
+ legendHeight: {
261
+ type?: import("vue").PropType<any>;
262
+ default?: any;
263
+ };
264
+ legendTextWidth: {
265
+ type?: import("vue").PropType<any>;
266
+ default?: any;
267
+ };
268
+ legendScroll: {
269
+ type?: import("vue").PropType<boolean>;
270
+ default?: boolean;
271
+ };
252
272
  position: {
253
273
  type?: import("vue").PropType<string>;
254
274
  default?: string;
@@ -361,13 +381,22 @@ export declare const EcanRadar: import("../../utils/withInstall").SFCWithInstall
361
381
  };
362
382
  };
363
383
  legend: {
384
+ type: string;
385
+ width: any;
386
+ height: any;
364
387
  show: boolean;
365
388
  orient: string;
366
389
  top: string;
367
390
  left: string;
368
391
  textStyle: {
369
- color: string;
370
- fontSize: string | number;
392
+ lineHeight: number;
393
+ rich: {
394
+ text: {
395
+ width: any;
396
+ color: string;
397
+ fontSize: string | number;
398
+ };
399
+ };
371
400
  };
372
401
  itemHeight: number;
373
402
  itemWidth: number;
@@ -376,6 +405,7 @@ export declare const EcanRadar: import("../../utils/withInstall").SFCWithInstall
376
405
  name: any;
377
406
  icon: string;
378
407
  }[];
408
+ formatter: (name: string) => string;
379
409
  };
380
410
  series: any[];
381
411
  }>;
@@ -636,6 +666,26 @@ export declare const EcanRadar: import("../../utils/withInstall").SFCWithInstall
636
666
  type?: import("vue").PropType<string>;
637
667
  default?: string;
638
668
  };
669
+ legendFormatter: {
670
+ type?: import("vue").PropType<string>;
671
+ default?: string;
672
+ };
673
+ legendWidth: {
674
+ type?: import("vue").PropType<any>;
675
+ default?: any;
676
+ };
677
+ legendHeight: {
678
+ type?: import("vue").PropType<any>;
679
+ default?: any;
680
+ };
681
+ legendTextWidth: {
682
+ type?: import("vue").PropType<any>;
683
+ default?: any;
684
+ };
685
+ legendScroll: {
686
+ type?: import("vue").PropType<boolean>;
687
+ default?: boolean;
688
+ };
639
689
  position: {
640
690
  type?: import("vue").PropType<string>;
641
691
  default?: string;
@@ -50,6 +50,11 @@ export interface RadarProps extends Props {
50
50
  };
51
51
  graphicType: string;
52
52
  tooltipPosition: string;
53
+ legendFormatter: string;
54
+ legendWidth: number | null;
55
+ legendHeight: number | null;
56
+ legendTextWidth: number | null;
57
+ legendScroll: boolean;
53
58
  }
54
59
  export declare const radarProps: {
55
60
  id: string;
@@ -120,6 +125,11 @@ export declare const radarProps: {
120
125
  graphicConfig: {};
121
126
  graphicType: string;
122
127
  tooltipPosition: string;
128
+ legendFormatter: string;
129
+ legendWidth: any;
130
+ legendHeight: any;
131
+ legendTextWidth: any;
132
+ legendScroll: boolean;
123
133
  position: string;
124
134
  zIndex: number;
125
135
  isShow: boolean;
@@ -387,6 +397,26 @@ export declare const radarComponentProps: {
387
397
  type?: import("vue").PropType<string>;
388
398
  default?: string;
389
399
  };
400
+ legendFormatter: {
401
+ type?: import("vue").PropType<string>;
402
+ default?: string;
403
+ };
404
+ legendWidth: {
405
+ type?: import("vue").PropType<any>;
406
+ default?: any;
407
+ };
408
+ legendHeight: {
409
+ type?: import("vue").PropType<any>;
410
+ default?: any;
411
+ };
412
+ legendTextWidth: {
413
+ type?: import("vue").PropType<any>;
414
+ default?: any;
415
+ };
416
+ legendScroll: {
417
+ type?: import("vue").PropType<boolean>;
418
+ default?: boolean;
419
+ };
390
420
  position: {
391
421
  type?: import("vue").PropType<string>;
392
422
  default?: string;
@@ -212,5 +212,6 @@ export declare const listComponentProps: {
212
212
  export interface ListEvents {
213
213
  refreshData: () => void;
214
214
  click: () => void;
215
+ resetRecord: () => void;
215
216
  }
216
217
  export declare const listEvents: Array<keyof ListEvents>;
@@ -61,3 +61,10 @@ export declare const getFixedValueDatas: (graphicConfig: any) => {
61
61
  * @returns
62
62
  */
63
63
  export declare const canRequestIndicator: (graphicConfig: any, loadedData: any) => boolean;
64
+ /**
65
+ * 图表的图例格式化
66
+ * @param format 表达式
67
+ * @param textData 传入参数
68
+ * @returns 显示的图例文本
69
+ */
70
+ export declare const getLegendFormat: (format: string, textData: any) => string;