@ecan-bi/datav 1.4.32 → 1.4.34
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 +15223 -15249
- 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 +2 -2
- package/types/container/modal/Modal.vue.d.ts +1 -1
- package/types/container/modal/index.d.ts +1 -1
- package/types/control/button/Button.vue.d.ts +2 -2
- package/types/control/button/index.d.ts +2 -2
- package/types/graph/bar/Bar.vue.d.ts +6 -6
- package/types/graph/bar/index.d.ts +6 -6
- package/types/graph/bar/props.d.ts +2 -2
- package/types/graph/combo-graph/ComboGraph.vue.d.ts +5 -5
- package/types/graph/combo-graph/index.d.ts +5 -5
- package/types/graph/combo-graph/props.d.ts +2 -2
- package/types/graph/line/Line.vue.d.ts +2 -2
- package/types/graph/line/index.d.ts +2 -2
- package/types/graph/pie/Pie.vue.d.ts +5 -5
- package/types/graph/pie/index.d.ts +5 -5
- package/types/graph/pie/props.d.ts +2 -2
- package/types/graph/scatter/Scatter.vue.d.ts +3 -3
- package/types/graph/scatter/index.d.ts +3 -3
- package/types/hooks/index.d.ts +0 -4
- package/types/laboratory/value-line/ValueLine.vue.d.ts +2 -2
- package/types/laboratory/value-line/index.d.ts +2 -2
- package/types/media/iframe/Iframe.vue.d.ts +1 -1
- package/types/media/iframe/index.d.ts +1 -1
- package/types/table/table/Table.vue.d.ts +1 -1
- package/types/table/table/index.d.ts +1 -1
- package/types/text/list/List.vue.d.ts +1 -1
- package/types/text/list/index.d.ts +1 -1
- package/types/utils/util.d.ts +1 -14
- package/types/hooks/useTransformChartDataByAttrKey.d.ts +0 -13
- package/types/hooks/useTransformChartDataByAttrValue.d.ts +0 -13
- package/types/hooks/useValueFormatter.d.ts +0 -2
- package/types/hooks/useVariablesInText.d.ts +0 -12
- package/types/utils/runCode.d.ts +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecan-bi/datav",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.34",
|
|
4
4
|
"main": "dist/index.umd.js",
|
|
5
5
|
"module": "dist/index.es.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"prepublishOnly": "npm run build"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@ecan-bi/tools": "^1.0.
|
|
33
|
+
"@ecan-bi/tools": "^1.0.26",
|
|
34
34
|
"@sucrase/jest-plugin": "^2.2.0",
|
|
35
35
|
"@types/echarts": "^4.9.15",
|
|
36
36
|
"@types/jest": "^26.0.23",
|
|
@@ -145,7 +145,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
145
145
|
usedComponentList: import("vue").ComputedRef<any>;
|
|
146
146
|
isMobile: boolean;
|
|
147
147
|
readyIds: any;
|
|
148
|
-
hasOwn:
|
|
148
|
+
hasOwn: any;
|
|
149
149
|
onComponentReady: (id: string) => void;
|
|
150
150
|
formatTitle: import("vue").Ref<string>;
|
|
151
151
|
requestLoaded: import("vue").Ref<boolean>;
|
|
@@ -144,7 +144,7 @@ export declare const EcanModal: import('../../utils/withInstall').SFCWithInstall
|
|
|
144
144
|
usedComponentList: import("vue").ComputedRef<any>;
|
|
145
145
|
isMobile: boolean;
|
|
146
146
|
readyIds: any;
|
|
147
|
-
hasOwn:
|
|
147
|
+
hasOwn: any;
|
|
148
148
|
onComponentReady: (id: string) => void;
|
|
149
149
|
formatTitle: import("vue").Ref<string>;
|
|
150
150
|
requestLoaded: import("vue").Ref<boolean>;
|
|
@@ -162,8 +162,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
162
162
|
}, {
|
|
163
163
|
style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
|
|
164
164
|
click: () => void;
|
|
165
|
-
myText: import("vue").ComputedRef<
|
|
166
|
-
myHref: import("vue").ComputedRef<
|
|
165
|
+
myText: import("vue").ComputedRef<any>;
|
|
166
|
+
myHref: import("vue").ComputedRef<any>;
|
|
167
167
|
myTarget: import("vue").ComputedRef<string>;
|
|
168
168
|
buttonStyle: import("vue").ComputedRef<any>;
|
|
169
169
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -162,8 +162,8 @@ export declare const EcanButton: import('../../utils/withInstall').SFCWithInstal
|
|
|
162
162
|
}, {
|
|
163
163
|
style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
|
|
164
164
|
click: () => void;
|
|
165
|
-
myText: import("vue").ComputedRef<
|
|
166
|
-
myHref: import("vue").ComputedRef<
|
|
165
|
+
myText: import("vue").ComputedRef<any>;
|
|
166
|
+
myHref: import("vue").ComputedRef<any>;
|
|
167
167
|
myTarget: import("vue").ComputedRef<string>;
|
|
168
168
|
buttonStyle: import("vue").ComputedRef<any>;
|
|
169
169
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -169,8 +169,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
169
169
|
default?: KeyTypeDataFieldNames;
|
|
170
170
|
};
|
|
171
171
|
dataFieldConfigType: {
|
|
172
|
-
type?: import("vue").PropType<"
|
|
173
|
-
default?: "
|
|
172
|
+
type?: import("vue").PropType<"key" | "value">;
|
|
173
|
+
default?: "key" | "value";
|
|
174
174
|
};
|
|
175
175
|
tooltipShow: {
|
|
176
176
|
type?: import("vue").PropType<boolean>;
|
|
@@ -672,7 +672,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
672
672
|
width: any;
|
|
673
673
|
overflow: any;
|
|
674
674
|
fontSize: any;
|
|
675
|
-
formatter(value: string):
|
|
675
|
+
formatter(value: string): any;
|
|
676
676
|
};
|
|
677
677
|
axisLine: {
|
|
678
678
|
show: any;
|
|
@@ -715,7 +715,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
715
715
|
rotate: any;
|
|
716
716
|
width: any;
|
|
717
717
|
overflow: any;
|
|
718
|
-
formatter(value: string):
|
|
718
|
+
formatter(value: string): any;
|
|
719
719
|
};
|
|
720
720
|
axisLine: {
|
|
721
721
|
show: any;
|
|
@@ -918,8 +918,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
918
918
|
default?: KeyTypeDataFieldNames;
|
|
919
919
|
};
|
|
920
920
|
dataFieldConfigType: {
|
|
921
|
-
type?: import("vue").PropType<"
|
|
922
|
-
default?: "
|
|
921
|
+
type?: import("vue").PropType<"key" | "value">;
|
|
922
|
+
default?: "key" | "value";
|
|
923
923
|
};
|
|
924
924
|
tooltipShow: {
|
|
925
925
|
type?: import("vue").PropType<boolean>;
|
|
@@ -168,8 +168,8 @@ export declare const EcanBar: import('../../utils/withInstall').SFCWithInstall<i
|
|
|
168
168
|
default?: import("../../utils/props").KeyTypeDataFieldNames;
|
|
169
169
|
};
|
|
170
170
|
dataFieldConfigType: {
|
|
171
|
-
type?: import("vue").PropType<"
|
|
172
|
-
default?: "
|
|
171
|
+
type?: import("vue").PropType<"key" | "value">;
|
|
172
|
+
default?: "key" | "value";
|
|
173
173
|
};
|
|
174
174
|
tooltipShow: {
|
|
175
175
|
type?: import("vue").PropType<boolean>;
|
|
@@ -671,7 +671,7 @@ export declare const EcanBar: import('../../utils/withInstall').SFCWithInstall<i
|
|
|
671
671
|
width: any;
|
|
672
672
|
overflow: any;
|
|
673
673
|
fontSize: any;
|
|
674
|
-
formatter(value: string):
|
|
674
|
+
formatter(value: string): any;
|
|
675
675
|
};
|
|
676
676
|
axisLine: {
|
|
677
677
|
show: any;
|
|
@@ -714,7 +714,7 @@ export declare const EcanBar: import('../../utils/withInstall').SFCWithInstall<i
|
|
|
714
714
|
rotate: any;
|
|
715
715
|
width: any;
|
|
716
716
|
overflow: any;
|
|
717
|
-
formatter(value: string):
|
|
717
|
+
formatter(value: string): any;
|
|
718
718
|
};
|
|
719
719
|
axisLine: {
|
|
720
720
|
show: any;
|
|
@@ -917,8 +917,8 @@ export declare const EcanBar: import('../../utils/withInstall').SFCWithInstall<i
|
|
|
917
917
|
default?: import("../../utils/props").KeyTypeDataFieldNames;
|
|
918
918
|
};
|
|
919
919
|
dataFieldConfigType: {
|
|
920
|
-
type?: import("vue").PropType<"
|
|
921
|
-
default?: "
|
|
920
|
+
type?: import("vue").PropType<"key" | "value">;
|
|
921
|
+
default?: "key" | "value";
|
|
922
922
|
};
|
|
923
923
|
tooltipShow: {
|
|
924
924
|
type?: import("vue").PropType<boolean>;
|
|
@@ -282,8 +282,8 @@ export declare const barComponentProps: {
|
|
|
282
282
|
default?: KeyTypeDataFieldNames;
|
|
283
283
|
};
|
|
284
284
|
dataFieldConfigType: {
|
|
285
|
-
type?: import("vue").PropType<"
|
|
286
|
-
default?: "
|
|
285
|
+
type?: import("vue").PropType<"key" | "value">;
|
|
286
|
+
default?: "key" | "value";
|
|
287
287
|
};
|
|
288
288
|
tooltipShow: {
|
|
289
289
|
type?: import("vue").PropType<boolean>;
|
|
@@ -165,8 +165,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
165
165
|
}[];
|
|
166
166
|
};
|
|
167
167
|
dataFieldConfigType: {
|
|
168
|
-
type?: import("vue").PropType<"
|
|
169
|
-
default?: "
|
|
168
|
+
type?: import("vue").PropType<"key" | "value">;
|
|
169
|
+
default?: "key" | "value";
|
|
170
170
|
};
|
|
171
171
|
yAxis: {
|
|
172
172
|
type?: import("vue").PropType<{
|
|
@@ -675,7 +675,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
675
675
|
width: any;
|
|
676
676
|
overflow: any;
|
|
677
677
|
fontSize: any;
|
|
678
|
-
formatter(value: string):
|
|
678
|
+
formatter(value: string): any;
|
|
679
679
|
};
|
|
680
680
|
axisLine: {
|
|
681
681
|
show: any;
|
|
@@ -878,8 +878,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
878
878
|
}[];
|
|
879
879
|
};
|
|
880
880
|
dataFieldConfigType: {
|
|
881
|
-
type?: import("vue").PropType<"
|
|
882
|
-
default?: "
|
|
881
|
+
type?: import("vue").PropType<"key" | "value">;
|
|
882
|
+
default?: "key" | "value";
|
|
883
883
|
};
|
|
884
884
|
yAxis: {
|
|
885
885
|
type?: import("vue").PropType<{
|
|
@@ -164,8 +164,8 @@ export declare const EcanComboGraph: import("../../utils/withInstall").SFCWithIn
|
|
|
164
164
|
}[];
|
|
165
165
|
};
|
|
166
166
|
dataFieldConfigType: {
|
|
167
|
-
type?: import("vue").PropType<"
|
|
168
|
-
default?: "
|
|
167
|
+
type?: import("vue").PropType<"key" | "value">;
|
|
168
|
+
default?: "key" | "value";
|
|
169
169
|
};
|
|
170
170
|
yAxis: {
|
|
171
171
|
type?: import("vue").PropType<{
|
|
@@ -674,7 +674,7 @@ export declare const EcanComboGraph: import("../../utils/withInstall").SFCWithIn
|
|
|
674
674
|
width: any;
|
|
675
675
|
overflow: any;
|
|
676
676
|
fontSize: any;
|
|
677
|
-
formatter(value: string):
|
|
677
|
+
formatter(value: string): any;
|
|
678
678
|
};
|
|
679
679
|
axisLine: {
|
|
680
680
|
show: any;
|
|
@@ -877,8 +877,8 @@ export declare const EcanComboGraph: import("../../utils/withInstall").SFCWithIn
|
|
|
877
877
|
}[];
|
|
878
878
|
};
|
|
879
879
|
dataFieldConfigType: {
|
|
880
|
-
type?: import("vue").PropType<"
|
|
881
|
-
default?: "
|
|
880
|
+
type?: import("vue").PropType<"key" | "value">;
|
|
881
|
+
default?: "key" | "value";
|
|
882
882
|
};
|
|
883
883
|
yAxis: {
|
|
884
884
|
type?: import("vue").PropType<{
|
|
@@ -281,8 +281,8 @@ export declare const comboGraphComponentProps: {
|
|
|
281
281
|
}[];
|
|
282
282
|
};
|
|
283
283
|
dataFieldConfigType: {
|
|
284
|
-
type?: import("vue").PropType<"
|
|
285
|
-
default?: "
|
|
284
|
+
type?: import("vue").PropType<"key" | "value">;
|
|
285
|
+
default?: "key" | "value";
|
|
286
286
|
};
|
|
287
287
|
yAxis: {
|
|
288
288
|
type?: import("vue").PropType<{
|
|
@@ -597,7 +597,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
597
597
|
width: any;
|
|
598
598
|
overflow: string;
|
|
599
599
|
fontSize: string;
|
|
600
|
-
formatter(value: string):
|
|
600
|
+
formatter(value: string): any;
|
|
601
601
|
};
|
|
602
602
|
axisLine: {
|
|
603
603
|
show: boolean;
|
|
@@ -633,7 +633,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
633
633
|
show: boolean;
|
|
634
634
|
fontSize: string;
|
|
635
635
|
color: string;
|
|
636
|
-
formatter(value: string):
|
|
636
|
+
formatter(value: string): any;
|
|
637
637
|
};
|
|
638
638
|
axisLine: {
|
|
639
639
|
show: boolean;
|
|
@@ -597,7 +597,7 @@ export declare const EcanLine: import("../../utils/withInstall").SFCWithInstall<
|
|
|
597
597
|
width: any;
|
|
598
598
|
overflow: string;
|
|
599
599
|
fontSize: string;
|
|
600
|
-
formatter(value: string):
|
|
600
|
+
formatter(value: string): any;
|
|
601
601
|
};
|
|
602
602
|
axisLine: {
|
|
603
603
|
show: boolean;
|
|
@@ -633,7 +633,7 @@ export declare const EcanLine: import("../../utils/withInstall").SFCWithInstall<
|
|
|
633
633
|
show: boolean;
|
|
634
634
|
fontSize: string;
|
|
635
635
|
color: string;
|
|
636
|
-
formatter(value: string):
|
|
636
|
+
formatter(value: string): any;
|
|
637
637
|
};
|
|
638
638
|
axisLine: {
|
|
639
639
|
show: boolean;
|
|
@@ -165,8 +165,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
165
165
|
default?: ValueTypeDataFieldNames;
|
|
166
166
|
};
|
|
167
167
|
dataFieldConfigType: {
|
|
168
|
-
type?: import("vue").PropType<"
|
|
169
|
-
default?: "
|
|
168
|
+
type?: import("vue").PropType<"key" | "value">;
|
|
169
|
+
default?: "key" | "value";
|
|
170
170
|
};
|
|
171
171
|
gridContainLabel: {
|
|
172
172
|
type?: import("vue").PropType<boolean>;
|
|
@@ -445,7 +445,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
445
445
|
tooltip: {
|
|
446
446
|
show: boolean;
|
|
447
447
|
trigger: "none" | "axis" | "item";
|
|
448
|
-
formatter: (params: any) =>
|
|
448
|
+
formatter: (params: any) => any;
|
|
449
449
|
textStyle: {
|
|
450
450
|
color: string;
|
|
451
451
|
};
|
|
@@ -659,8 +659,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
659
659
|
default?: ValueTypeDataFieldNames;
|
|
660
660
|
};
|
|
661
661
|
dataFieldConfigType: {
|
|
662
|
-
type?: import("vue").PropType<"
|
|
663
|
-
default?: "
|
|
662
|
+
type?: import("vue").PropType<"key" | "value">;
|
|
663
|
+
default?: "key" | "value";
|
|
664
664
|
};
|
|
665
665
|
gridContainLabel: {
|
|
666
666
|
type?: import("vue").PropType<boolean>;
|
|
@@ -164,8 +164,8 @@ export declare const EcanPie: import("../../utils/withInstall").SFCWithInstall<i
|
|
|
164
164
|
default?: import("../../utils/props").ValueTypeDataFieldNames;
|
|
165
165
|
};
|
|
166
166
|
dataFieldConfigType: {
|
|
167
|
-
type?: import("vue").PropType<"
|
|
168
|
-
default?: "
|
|
167
|
+
type?: import("vue").PropType<"key" | "value">;
|
|
168
|
+
default?: "key" | "value";
|
|
169
169
|
};
|
|
170
170
|
gridContainLabel: {
|
|
171
171
|
type?: import("vue").PropType<boolean>;
|
|
@@ -444,7 +444,7 @@ export declare const EcanPie: import("../../utils/withInstall").SFCWithInstall<i
|
|
|
444
444
|
tooltip: {
|
|
445
445
|
show: boolean;
|
|
446
446
|
trigger: "none" | "axis" | "item";
|
|
447
|
-
formatter: (params: any) =>
|
|
447
|
+
formatter: (params: any) => any;
|
|
448
448
|
textStyle: {
|
|
449
449
|
color: string;
|
|
450
450
|
};
|
|
@@ -658,8 +658,8 @@ export declare const EcanPie: import("../../utils/withInstall").SFCWithInstall<i
|
|
|
658
658
|
default?: import("../../utils/props").ValueTypeDataFieldNames;
|
|
659
659
|
};
|
|
660
660
|
dataFieldConfigType: {
|
|
661
|
-
type?: import("vue").PropType<"
|
|
662
|
-
default?: "
|
|
661
|
+
type?: import("vue").PropType<"key" | "value">;
|
|
662
|
+
default?: "key" | "value";
|
|
663
663
|
};
|
|
664
664
|
gridContainLabel: {
|
|
665
665
|
type?: import("vue").PropType<boolean>;
|
|
@@ -238,8 +238,8 @@ export declare const pieComponentProps: {
|
|
|
238
238
|
default?: ValueTypeDataFieldNames;
|
|
239
239
|
};
|
|
240
240
|
dataFieldConfigType: {
|
|
241
|
-
type?: import("vue").PropType<"
|
|
242
|
-
default?: "
|
|
241
|
+
type?: import("vue").PropType<"key" | "value">;
|
|
242
|
+
default?: "key" | "value";
|
|
243
243
|
};
|
|
244
244
|
gridContainLabel: {
|
|
245
245
|
type?: import("vue").PropType<boolean>;
|
|
@@ -519,7 +519,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
519
519
|
rotate: number;
|
|
520
520
|
width: number;
|
|
521
521
|
overflow: "none" | "truncate" | "break" | "breakAll";
|
|
522
|
-
formatter(value: string):
|
|
522
|
+
formatter(value: string): any;
|
|
523
523
|
};
|
|
524
524
|
axisLine: {
|
|
525
525
|
lineStyle: {
|
|
@@ -562,7 +562,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
562
562
|
show: boolean;
|
|
563
563
|
fontSize: string;
|
|
564
564
|
color: string;
|
|
565
|
-
formatter(value: string):
|
|
565
|
+
formatter(value: string): any;
|
|
566
566
|
};
|
|
567
567
|
axisLine: {
|
|
568
568
|
show: boolean;
|
|
@@ -587,7 +587,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
587
587
|
tooltip: {
|
|
588
588
|
show: boolean;
|
|
589
589
|
trigger: "none" | "axis" | "item";
|
|
590
|
-
formatter(params: any):
|
|
590
|
+
formatter(params: any): any;
|
|
591
591
|
axisPointer: {
|
|
592
592
|
type: string;
|
|
593
593
|
};
|
|
@@ -519,7 +519,7 @@ export declare const EcanScatter: import('../../utils/withInstall').SFCWithInsta
|
|
|
519
519
|
rotate: number;
|
|
520
520
|
width: number;
|
|
521
521
|
overflow: "none" | "truncate" | "break" | "breakAll";
|
|
522
|
-
formatter(value: string):
|
|
522
|
+
formatter(value: string): any;
|
|
523
523
|
};
|
|
524
524
|
axisLine: {
|
|
525
525
|
lineStyle: {
|
|
@@ -562,7 +562,7 @@ export declare const EcanScatter: import('../../utils/withInstall').SFCWithInsta
|
|
|
562
562
|
show: boolean;
|
|
563
563
|
fontSize: string;
|
|
564
564
|
color: string;
|
|
565
|
-
formatter(value: string):
|
|
565
|
+
formatter(value: string): any;
|
|
566
566
|
};
|
|
567
567
|
axisLine: {
|
|
568
568
|
show: boolean;
|
|
@@ -587,7 +587,7 @@ export declare const EcanScatter: import('../../utils/withInstall').SFCWithInsta
|
|
|
587
587
|
tooltip: {
|
|
588
588
|
show: boolean;
|
|
589
589
|
trigger: "none" | "axis" | "item";
|
|
590
|
-
formatter(params: any):
|
|
590
|
+
formatter(params: any): any;
|
|
591
591
|
axisPointer: {
|
|
592
592
|
type: string;
|
|
593
593
|
};
|
package/types/hooks/index.d.ts
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
export * from './usePickComponentStyle';
|
|
2
2
|
export * from './useOnEvent';
|
|
3
3
|
export * from './useEmitEvent';
|
|
4
|
-
export * from './useTransformChartDataByAttrValue';
|
|
5
4
|
export * from './useRequestData';
|
|
6
|
-
export * from './useTransformChartDataByAttrKey';
|
|
7
5
|
export * from './useImagePath';
|
|
8
6
|
export * from './usePageUrl';
|
|
9
|
-
export * from './useVariablesInText';
|
|
10
7
|
export * from './useRequestDiagramData';
|
|
11
|
-
export * from './useValueFormatter';
|
|
12
8
|
export * from './useIndicatorData';
|
|
13
9
|
export * from './useHrefParamsToGlobalVariables';
|
|
@@ -578,7 +578,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
578
578
|
width: any;
|
|
579
579
|
overflow: string;
|
|
580
580
|
fontSize: string;
|
|
581
|
-
formatter(value: string):
|
|
581
|
+
formatter(value: string): any;
|
|
582
582
|
};
|
|
583
583
|
axisLine: {
|
|
584
584
|
show: boolean;
|
|
@@ -614,7 +614,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
614
614
|
show: boolean;
|
|
615
615
|
fontSize: string;
|
|
616
616
|
color: string;
|
|
617
|
-
formatter(value: string):
|
|
617
|
+
formatter(value: string): any;
|
|
618
618
|
};
|
|
619
619
|
axisLine: {
|
|
620
620
|
show: boolean;
|
|
@@ -578,7 +578,7 @@ export declare const EcanValueLine: import("../../utils/withInstall").SFCWithIns
|
|
|
578
578
|
width: any;
|
|
579
579
|
overflow: string;
|
|
580
580
|
fontSize: string;
|
|
581
|
-
formatter(value: string):
|
|
581
|
+
formatter(value: string): any;
|
|
582
582
|
};
|
|
583
583
|
axisLine: {
|
|
584
584
|
show: boolean;
|
|
@@ -614,7 +614,7 @@ export declare const EcanValueLine: import("../../utils/withInstall").SFCWithIns
|
|
|
614
614
|
show: boolean;
|
|
615
615
|
fontSize: string;
|
|
616
616
|
color: string;
|
|
617
|
-
formatter(value: string):
|
|
617
|
+
formatter(value: string): any;
|
|
618
618
|
};
|
|
619
619
|
axisLine: {
|
|
620
620
|
show: boolean;
|
|
@@ -133,7 +133,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
133
133
|
};
|
|
134
134
|
}, {
|
|
135
135
|
style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
|
|
136
|
-
myLink: import("vue").ComputedRef<
|
|
136
|
+
myLink: import("vue").ComputedRef<any>;
|
|
137
137
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
138
138
|
link: {
|
|
139
139
|
type?: import("vue").PropType<string>;
|
|
@@ -133,7 +133,7 @@ export declare const EcanIframe: import('../../utils/withInstall').SFCWithInstal
|
|
|
133
133
|
};
|
|
134
134
|
}, {
|
|
135
135
|
style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
|
|
136
|
-
myLink: import("vue").ComputedRef<
|
|
136
|
+
myLink: import("vue").ComputedRef<any>;
|
|
137
137
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
138
138
|
link: {
|
|
139
139
|
type?: import("vue").PropType<string>;
|
|
@@ -374,7 +374,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
374
374
|
onTouchHrefEvent: (target: 'self' | 'blank' | 'event', href?: string) => void;
|
|
375
375
|
handleHref: (href: string, data: {
|
|
376
376
|
[key: string]: any;
|
|
377
|
-
}) =>
|
|
377
|
+
}) => any;
|
|
378
378
|
handleHrefTarget: (target: 'self' | 'blank' | 'event') => string;
|
|
379
379
|
useRowIndex: import("vue").Ref<number>;
|
|
380
380
|
tableColumns: import("vue").Ref<{
|
|
@@ -374,7 +374,7 @@ export declare const EcanTable: import('../../utils/withInstall').SFCWithInstall
|
|
|
374
374
|
onTouchHrefEvent: (target: "event" | "blank" | "self", href?: string) => void;
|
|
375
375
|
handleHref: (href: string, data: {
|
|
376
376
|
[key: string]: any;
|
|
377
|
-
}) =>
|
|
377
|
+
}) => any;
|
|
378
378
|
handleHrefTarget: (target: "event" | "blank" | "self") => string;
|
|
379
379
|
useRowIndex: import("vue").Ref<number>;
|
|
380
380
|
tableColumns: import("vue").Ref<{
|
|
@@ -272,7 +272,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
272
272
|
height: number;
|
|
273
273
|
}>;
|
|
274
274
|
isScroll: import("vue").ComputedRef<boolean>;
|
|
275
|
-
formatSeq: (index: number) =>
|
|
275
|
+
formatSeq: (index: number) => any;
|
|
276
276
|
wrapStyle: import("vue").ComputedRef<{
|
|
277
277
|
height: string;
|
|
278
278
|
} | {
|
|
@@ -272,7 +272,7 @@ export declare const EcanList: import("../../utils/withInstall").SFCWithInstall<
|
|
|
272
272
|
height: number;
|
|
273
273
|
}>;
|
|
274
274
|
isScroll: import("vue").ComputedRef<boolean>;
|
|
275
|
-
formatSeq: (index: number) =>
|
|
275
|
+
formatSeq: (index: number) => any;
|
|
276
276
|
wrapStyle: import("vue").ComputedRef<{
|
|
277
277
|
height: string;
|
|
278
278
|
} | {
|
package/types/utils/util.d.ts
CHANGED
|
@@ -32,20 +32,7 @@ export declare const formatDecimals: (value: string | number, decimalPlaces?: nu
|
|
|
32
32
|
* @param value 数值
|
|
33
33
|
* @param decimalPlaces 保留位数
|
|
34
34
|
*/
|
|
35
|
-
export declare const formatCustom: (value: string, formatter: string) =>
|
|
36
|
-
/**
|
|
37
|
-
* 字符串1 中是否包含 字符串2 (会全部转成小写)
|
|
38
|
-
* @param v1 字符串1
|
|
39
|
-
* @param v2 字符串2
|
|
40
|
-
* @constructor
|
|
41
|
-
*/
|
|
42
|
-
export declare const lowerCaseIncludes: (v1: any, v2: any) => boolean;
|
|
43
|
-
/**
|
|
44
|
-
* 判断 key 是否在对象上
|
|
45
|
-
* @param v
|
|
46
|
-
* @param k
|
|
47
|
-
*/
|
|
48
|
-
export declare const hasOwn: (v: object, k: string | symbol) => k is never;
|
|
35
|
+
export declare const formatCustom: (value: string, formatter: string) => any;
|
|
49
36
|
/**
|
|
50
37
|
* 获取指标中配的固定值
|
|
51
38
|
* @param graphicConfig
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Data, KeyTypeDataFieldNames } from '../utils/props';
|
|
2
|
-
/**
|
|
3
|
-
* 图形转化数据
|
|
4
|
-
* @param data 数据
|
|
5
|
-
* @param dataFieldNames 字段映射
|
|
6
|
-
*/
|
|
7
|
-
export declare const useTransformChartDataByAttrKey: (data: Data, dataFieldNames: KeyTypeDataFieldNames, isIndicator?: boolean) => {
|
|
8
|
-
dimensions: unknown[];
|
|
9
|
-
dataset: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
export default useTransformChartDataByAttrKey;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Data, ValueTypeDataFieldNames } from '../utils/props';
|
|
2
|
-
/**
|
|
3
|
-
* 图形转化数据
|
|
4
|
-
* @param data 数据
|
|
5
|
-
* @param dataFieldNames 字段映射
|
|
6
|
-
*/
|
|
7
|
-
export declare const useTransformChartDataByAttrValue: (data: Data, dataFieldNames?: ValueTypeDataFieldNames) => {
|
|
8
|
-
dimensions: any[];
|
|
9
|
-
dataset: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
export default useTransformChartDataByAttrValue;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const useVariablesInText: (formatter?: string, { textData, codeData }?: {
|
|
2
|
-
textData?: {
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
};
|
|
5
|
-
codeData?: {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
|
-
}, { useNewline, useSpace }?: {
|
|
9
|
-
useNewline?: boolean;
|
|
10
|
-
useSpace?: boolean;
|
|
11
|
-
}) => string;
|
|
12
|
-
export default useVariablesInText;
|
package/types/utils/runCode.d.ts
DELETED