@ecan-bi/datav 1.2.84 → 1.2.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +4794 -4605
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +31 -31
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/types/control/radio/Radio.vue.d.ts +58 -0
- package/types/control/radio/index.d.ts +58 -0
- package/types/control/radio/props.d.ts +35 -0
- package/types/graph/bar/Bar.vue.d.ts +9 -0
- package/types/graph/bar/index.d.ts +9 -0
- package/types/graph/bar/props.d.ts +5 -0
- package/types/graph/combo-graph/ComboGraph.vue.d.ts +9 -0
- package/types/graph/combo-graph/index.d.ts +9 -0
- package/types/graph/combo-graph/props.d.ts +5 -0
- package/types/graph/line/Line.vue.d.ts +9 -0
- package/types/graph/line/index.d.ts +9 -0
- package/types/graph/line/props.d.ts +6 -0
- package/types/graph/pie/Pie.vue.d.ts +9 -0
- package/types/graph/pie/index.d.ts +9 -0
- package/types/graph/pie/props.d.ts +5 -0
- package/types/graph/radar/Radar.vue.d.ts +9 -0
- package/types/graph/radar/index.d.ts +9 -0
- package/types/graph/radar/props.d.ts +6 -0
- package/types/graph/scatter/Scatter.vue.d.ts +9 -0
- package/types/graph/scatter/index.d.ts +9 -0
- package/types/graph/scatter/props.d.ts +5 -0
- package/types/utils/util.d.ts +15 -0
|
@@ -68,6 +68,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
68
68
|
type?: import("vue").PropType<string>;
|
|
69
69
|
default?: string;
|
|
70
70
|
};
|
|
71
|
+
tooltipPosition: {
|
|
72
|
+
type?: import("vue").PropType<string>;
|
|
73
|
+
default?: string;
|
|
74
|
+
};
|
|
71
75
|
legendShow: {
|
|
72
76
|
type?: import("vue").PropType<boolean>;
|
|
73
77
|
default?: boolean;
|
|
@@ -397,6 +401,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
397
401
|
textStyle: {
|
|
398
402
|
color: string;
|
|
399
403
|
};
|
|
404
|
+
position: string;
|
|
400
405
|
};
|
|
401
406
|
legend: {
|
|
402
407
|
[x: string]: any;
|
|
@@ -508,6 +513,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
508
513
|
type?: import("vue").PropType<string>;
|
|
509
514
|
default?: string;
|
|
510
515
|
};
|
|
516
|
+
tooltipPosition: {
|
|
517
|
+
type?: import("vue").PropType<string>;
|
|
518
|
+
default?: string;
|
|
519
|
+
};
|
|
511
520
|
legendShow: {
|
|
512
521
|
type?: import("vue").PropType<boolean>;
|
|
513
522
|
default?: boolean;
|
|
@@ -67,6 +67,10 @@ export declare const EcanPie: import("../../utils/withInstall").SFCWithInstall<i
|
|
|
67
67
|
type?: import("vue").PropType<string>;
|
|
68
68
|
default?: string;
|
|
69
69
|
};
|
|
70
|
+
tooltipPosition: {
|
|
71
|
+
type?: import("vue").PropType<string>;
|
|
72
|
+
default?: string;
|
|
73
|
+
};
|
|
70
74
|
legendShow: {
|
|
71
75
|
type?: import("vue").PropType<boolean>;
|
|
72
76
|
default?: boolean;
|
|
@@ -396,6 +400,7 @@ export declare const EcanPie: import("../../utils/withInstall").SFCWithInstall<i
|
|
|
396
400
|
textStyle: {
|
|
397
401
|
color: string;
|
|
398
402
|
};
|
|
403
|
+
position: string;
|
|
399
404
|
};
|
|
400
405
|
legend: {
|
|
401
406
|
[x: string]: any;
|
|
@@ -507,6 +512,10 @@ export declare const EcanPie: import("../../utils/withInstall").SFCWithInstall<i
|
|
|
507
512
|
type?: import("vue").PropType<string>;
|
|
508
513
|
default?: string;
|
|
509
514
|
};
|
|
515
|
+
tooltipPosition: {
|
|
516
|
+
type?: import("vue").PropType<string>;
|
|
517
|
+
default?: string;
|
|
518
|
+
};
|
|
510
519
|
legendShow: {
|
|
511
520
|
type?: import("vue").PropType<boolean>;
|
|
512
521
|
default?: boolean;
|
|
@@ -17,6 +17,7 @@ export interface PieProps extends Props {
|
|
|
17
17
|
tooltipTrigger: 'item' | 'axis' | 'none';
|
|
18
18
|
tooltipTextStyleColor: string;
|
|
19
19
|
tooltipFormatter: string;
|
|
20
|
+
tooltipPosition: string;
|
|
20
21
|
legendShow: boolean;
|
|
21
22
|
legendLeft: 'left' | 'center' | 'right';
|
|
22
23
|
legendTop: 'top' | 'middle' | 'bottom';
|
|
@@ -135,6 +136,10 @@ export declare const pieComponentProps: {
|
|
|
135
136
|
type?: import("vue").PropType<string>;
|
|
136
137
|
default?: string;
|
|
137
138
|
};
|
|
139
|
+
tooltipPosition: {
|
|
140
|
+
type?: import("vue").PropType<string>;
|
|
141
|
+
default?: string;
|
|
142
|
+
};
|
|
138
143
|
legendShow: {
|
|
139
144
|
type?: import("vue").PropType<boolean>;
|
|
140
145
|
default?: boolean;
|
|
@@ -245,6 +245,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
245
245
|
type?: import("vue").PropType<string>;
|
|
246
246
|
default?: string;
|
|
247
247
|
};
|
|
248
|
+
tooltipPosition: {
|
|
249
|
+
type?: import("vue").PropType<string>;
|
|
250
|
+
default?: string;
|
|
251
|
+
};
|
|
248
252
|
position: {
|
|
249
253
|
type?: import("vue").PropType<string>;
|
|
250
254
|
default?: string;
|
|
@@ -348,6 +352,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
348
352
|
};
|
|
349
353
|
show: boolean;
|
|
350
354
|
formatter: (params: any) => string;
|
|
355
|
+
position: string;
|
|
351
356
|
};
|
|
352
357
|
radar: {
|
|
353
358
|
indicator: any[];
|
|
@@ -630,6 +635,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
630
635
|
type?: import("vue").PropType<string>;
|
|
631
636
|
default?: string;
|
|
632
637
|
};
|
|
638
|
+
tooltipPosition: {
|
|
639
|
+
type?: import("vue").PropType<string>;
|
|
640
|
+
default?: string;
|
|
641
|
+
};
|
|
633
642
|
position: {
|
|
634
643
|
type?: import("vue").PropType<string>;
|
|
635
644
|
default?: string;
|
|
@@ -245,6 +245,10 @@ export declare const EcanRadar: import("../../utils/withInstall").SFCWithInstall
|
|
|
245
245
|
type?: import("vue").PropType<string>;
|
|
246
246
|
default?: string;
|
|
247
247
|
};
|
|
248
|
+
tooltipPosition: {
|
|
249
|
+
type?: import("vue").PropType<string>;
|
|
250
|
+
default?: string;
|
|
251
|
+
};
|
|
248
252
|
position: {
|
|
249
253
|
type?: import("vue").PropType<string>;
|
|
250
254
|
default?: string;
|
|
@@ -348,6 +352,7 @@ export declare const EcanRadar: import("../../utils/withInstall").SFCWithInstall
|
|
|
348
352
|
};
|
|
349
353
|
show: boolean;
|
|
350
354
|
formatter: (params: any) => string;
|
|
355
|
+
position: string;
|
|
351
356
|
};
|
|
352
357
|
radar: {
|
|
353
358
|
indicator: any[];
|
|
@@ -630,6 +635,10 @@ export declare const EcanRadar: import("../../utils/withInstall").SFCWithInstall
|
|
|
630
635
|
type?: import("vue").PropType<string>;
|
|
631
636
|
default?: string;
|
|
632
637
|
};
|
|
638
|
+
tooltipPosition: {
|
|
639
|
+
type?: import("vue").PropType<string>;
|
|
640
|
+
default?: string;
|
|
641
|
+
};
|
|
633
642
|
position: {
|
|
634
643
|
type?: import("vue").PropType<string>;
|
|
635
644
|
default?: string;
|
|
@@ -49,6 +49,7 @@ export interface RadarProps extends Props {
|
|
|
49
49
|
[key: string]: any;
|
|
50
50
|
};
|
|
51
51
|
graphicType: string;
|
|
52
|
+
tooltipPosition: string;
|
|
52
53
|
}
|
|
53
54
|
export declare const radarProps: {
|
|
54
55
|
id: string;
|
|
@@ -118,6 +119,7 @@ export declare const radarProps: {
|
|
|
118
119
|
legendFontSize: string;
|
|
119
120
|
graphicConfig: {};
|
|
120
121
|
graphicType: string;
|
|
122
|
+
tooltipPosition: string;
|
|
121
123
|
position: string;
|
|
122
124
|
zIndex: number;
|
|
123
125
|
isShow: boolean;
|
|
@@ -381,6 +383,10 @@ export declare const radarComponentProps: {
|
|
|
381
383
|
type?: import("vue").PropType<string>;
|
|
382
384
|
default?: string;
|
|
383
385
|
};
|
|
386
|
+
tooltipPosition: {
|
|
387
|
+
type?: import("vue").PropType<string>;
|
|
388
|
+
default?: string;
|
|
389
|
+
};
|
|
384
390
|
position: {
|
|
385
391
|
type?: import("vue").PropType<string>;
|
|
386
392
|
default?: string;
|
|
@@ -249,6 +249,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
249
249
|
type?: import("vue").PropType<string>;
|
|
250
250
|
default?: string;
|
|
251
251
|
};
|
|
252
|
+
tooltipPosition: {
|
|
253
|
+
type?: import("vue").PropType<string>;
|
|
254
|
+
default?: string;
|
|
255
|
+
};
|
|
252
256
|
id: {
|
|
253
257
|
type?: import("vue").PropType<string>;
|
|
254
258
|
default?: string;
|
|
@@ -451,6 +455,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
451
455
|
textStyle: {
|
|
452
456
|
fontSize: number;
|
|
453
457
|
};
|
|
458
|
+
position: string;
|
|
454
459
|
};
|
|
455
460
|
legend: {
|
|
456
461
|
show: boolean;
|
|
@@ -726,6 +731,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
726
731
|
type?: import("vue").PropType<string>;
|
|
727
732
|
default?: string;
|
|
728
733
|
};
|
|
734
|
+
tooltipPosition: {
|
|
735
|
+
type?: import("vue").PropType<string>;
|
|
736
|
+
default?: string;
|
|
737
|
+
};
|
|
729
738
|
id: {
|
|
730
739
|
type?: import("vue").PropType<string>;
|
|
731
740
|
default?: string;
|
|
@@ -249,6 +249,10 @@ export declare const EcanScatter: import('../../utils/withInstall').SFCWithInsta
|
|
|
249
249
|
type?: import("vue").PropType<string>;
|
|
250
250
|
default?: string;
|
|
251
251
|
};
|
|
252
|
+
tooltipPosition: {
|
|
253
|
+
type?: import("vue").PropType<string>;
|
|
254
|
+
default?: string;
|
|
255
|
+
};
|
|
252
256
|
id: {
|
|
253
257
|
type?: import("vue").PropType<string>;
|
|
254
258
|
default?: string;
|
|
@@ -451,6 +455,7 @@ export declare const EcanScatter: import('../../utils/withInstall').SFCWithInsta
|
|
|
451
455
|
textStyle: {
|
|
452
456
|
fontSize: number;
|
|
453
457
|
};
|
|
458
|
+
position: string;
|
|
454
459
|
};
|
|
455
460
|
legend: {
|
|
456
461
|
show: boolean;
|
|
@@ -726,6 +731,10 @@ export declare const EcanScatter: import('../../utils/withInstall').SFCWithInsta
|
|
|
726
731
|
type?: import("vue").PropType<string>;
|
|
727
732
|
default?: string;
|
|
728
733
|
};
|
|
734
|
+
tooltipPosition: {
|
|
735
|
+
type?: import("vue").PropType<string>;
|
|
736
|
+
default?: string;
|
|
737
|
+
};
|
|
729
738
|
id: {
|
|
730
739
|
type?: import("vue").PropType<string>;
|
|
731
740
|
default?: string;
|
|
@@ -65,6 +65,7 @@ export interface ScatterProps extends Props {
|
|
|
65
65
|
xAxisLabelFontSize: string;
|
|
66
66
|
yAxisLabelFontSize: string;
|
|
67
67
|
graphicType: string;
|
|
68
|
+
tooltipPosition: string;
|
|
68
69
|
}
|
|
69
70
|
export declare const scatterProps: ScatterProps;
|
|
70
71
|
export declare const scatterComponentProps: {
|
|
@@ -318,6 +319,10 @@ export declare const scatterComponentProps: {
|
|
|
318
319
|
type?: import("vue").PropType<string>;
|
|
319
320
|
default?: string;
|
|
320
321
|
};
|
|
322
|
+
tooltipPosition: {
|
|
323
|
+
type?: import("vue").PropType<string>;
|
|
324
|
+
default?: string;
|
|
325
|
+
};
|
|
321
326
|
id: {
|
|
322
327
|
type?: import("vue").PropType<string>;
|
|
323
328
|
default?: string;
|
package/types/utils/util.d.ts
CHANGED
|
@@ -46,3 +46,18 @@ export declare const lowerCaseIncludes: (v1: any, v2: any) => boolean;
|
|
|
46
46
|
* @param k
|
|
47
47
|
*/
|
|
48
48
|
export declare const hasOwn: (v: object, k: string | symbol) => k is never;
|
|
49
|
+
/**
|
|
50
|
+
* 获取指标中配的固定值
|
|
51
|
+
* @param graphicConfig
|
|
52
|
+
*/
|
|
53
|
+
export declare const getFixedValueDatas: (graphicConfig: any) => {
|
|
54
|
+
keyName: any;
|
|
55
|
+
id: any;
|
|
56
|
+
}[];
|
|
57
|
+
/**
|
|
58
|
+
* 根据固定值相关的组件判断是否可以请求当前组件的指标库数据
|
|
59
|
+
* @param graphicConfig
|
|
60
|
+
* @param loadedData
|
|
61
|
+
* @returns
|
|
62
|
+
*/
|
|
63
|
+
export declare const canRequestIndicator: (graphicConfig: any, loadedData: any) => boolean;
|