@ecan-bi/datav 1.0.52 → 1.0.55
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 +116 -45
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +116 -45
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +10 -10
- package/package.json +2 -2
- package/types/control/button/Button.vue.d.ts +1 -0
- package/types/control/button/index.d.ts +1 -0
- package/types/control/button/props.d.ts +1 -1
- package/types/table/table/Table.vue.d.ts +4 -2
- package/types/table/table/index.d.ts +4 -2
- package/types/text/proportion/Proportion.vue.d.ts +45 -1
- package/types/text/proportion/index.d.ts +46 -2
- package/types/text/proportion/props.d.ts +24 -0
package/dist/style.css
CHANGED
|
@@ -171,14 +171,14 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
171
171
|
[datav-theme='darkBlue'] .ecan-list .empty {
|
|
172
172
|
color: #ffffff;
|
|
173
173
|
}
|
|
174
|
-
.ecan-proportion[data-v-
|
|
174
|
+
.ecan-proportion[data-v-4a25add6] {
|
|
175
175
|
overflow: hidden;
|
|
176
176
|
}
|
|
177
|
-
.progress[data-v-
|
|
177
|
+
.progress[data-v-4a25add6] {
|
|
178
178
|
width: 100%;
|
|
179
179
|
height: 100%;
|
|
180
180
|
}
|
|
181
|
-
.format[data-v-
|
|
181
|
+
.format[data-v-4a25add6] {
|
|
182
182
|
margin: 0 auto;
|
|
183
183
|
}
|
|
184
184
|
.input[data-v-506cf42a] {
|
|
@@ -664,16 +664,16 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
664
664
|
font-size: 16px;
|
|
665
665
|
color: #333;
|
|
666
666
|
}
|
|
667
|
-
.table[data-v-
|
|
667
|
+
.table[data-v-e3b6ea7c] {
|
|
668
668
|
width: 100%;
|
|
669
669
|
}
|
|
670
|
-
.goUp[data-v-
|
|
670
|
+
.goUp[data-v-e3b6ea7c] {
|
|
671
671
|
color: #FF512E;
|
|
672
672
|
display: flex;
|
|
673
673
|
align-items: center;
|
|
674
674
|
justify-content: center;
|
|
675
675
|
}
|
|
676
|
-
.goUp[data-v-
|
|
676
|
+
.goUp[data-v-e3b6ea7c]:before {
|
|
677
677
|
content: '';
|
|
678
678
|
display: block;
|
|
679
679
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAV1BMVEUAAAD/WzT/WjP/WDD/WzT/WzP/WzT/WzT/WzT/WjT/WzT/WDT/YED/WzT/WzT/WjT/YED/WzT/WzT/WzT/XDT/WzT/WjX/WjP/XDT/XDT/WTL/Tif/WzReH8z5AAAAHHRSTlMA8RgS9W9YHbePZyME5sVjCP7bzcCxgndOQC4GFJJgKwAAAIJJREFUKM+Nkd0OgyAMRjvqcLA53fzXvv9zaokmxq8mnsue5ACFDjiy+XyjLZ7yyK35OxN5mSFZKa2QojEIKRhrZKM0QnsMQxirmJ0kBubTIZvAtUyiFAT4JFoUIYmIotZ5xjDPfyoCAV16nMPdFir8xZ16nM//tePtXw2ODOJY0V0WqQwM2rgKrU0AAAAASUVORK5CYII=");
|
|
@@ -683,13 +683,13 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
683
683
|
background-size: cover;
|
|
684
684
|
margin-right: 2px;
|
|
685
685
|
}
|
|
686
|
-
.goDown[data-v-
|
|
686
|
+
.goDown[data-v-e3b6ea7c] {
|
|
687
687
|
color: #00F7B4;
|
|
688
688
|
display: flex;
|
|
689
689
|
align-items: center;
|
|
690
690
|
justify-content: center;
|
|
691
691
|
}
|
|
692
|
-
.goDown[data-v-
|
|
692
|
+
.goDown[data-v-e3b6ea7c]:before {
|
|
693
693
|
content: '';
|
|
694
694
|
display: block;
|
|
695
695
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAaVBMVEUAAAAA+b0A+LwA+L0A/6AA+LwA+L0A+L0A+b0A+LwA/78A+LwA+L0A+LwA+LwA+b0A+LsA970A+LwA+r0A9boA/7YA+LwA+LwA+LwA+L0A97wA+bwA970A970A+bwA+bwA+LsA9rkA+LzcCa+5AAAAInRSTlMAd/uVAvjYxCsiDvPp37F7aWBMNBgK7s/NvKidh4NXUEcdp9A1SAAAAI5JREFUKM+l0UcOwzAMRFGqWZbcW3rl/Q8ZhUGKMN7lLedD4EKUi/3BEIrGsQu432pmPuF+1WnfRNjLipMz7HbHT3cIF9n3BLYSerzAooSgZNcWQiuhIdBI8JQblNISCqXU/BNG/mqzJ+az13MWluIdRspNmgV+Rvc6vkCwPu1uIhQq5o7WDOwtrToG+ssDeh4QPgfT2X0AAAAASUVORK5CYII=");
|
|
@@ -699,11 +699,11 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
699
699
|
background-size: cover;
|
|
700
700
|
margin-right: 2px;
|
|
701
701
|
}
|
|
702
|
-
.action-list[data-v-
|
|
702
|
+
.action-list[data-v-e3b6ea7c] {
|
|
703
703
|
display: flex;
|
|
704
704
|
width: 100%;
|
|
705
705
|
}
|
|
706
|
-
.action[data-v-
|
|
706
|
+
.action[data-v-e3b6ea7c] {
|
|
707
707
|
flex: 1;
|
|
708
708
|
}
|
|
709
709
|
.ecan-table *::-webkit-scrollbar {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecan-bi/datav",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.55",
|
|
4
4
|
"main": "./dist/index.umd.js",
|
|
5
5
|
"module": "./dist/index.es.js",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dist": "vite build -c vite.config.js",
|
|
25
25
|
"lint": "eslint ./src --ext .vue,.js,.ts,.jsx,.tsx",
|
|
26
26
|
"lint:fix": "eslint --fix ./src --ext .vue,.js,.ts,.jsx,.tsx",
|
|
27
|
-
"clean": "rimraf ./dist",
|
|
27
|
+
"clean": "rimraf ./dist ./types",
|
|
28
28
|
"prepublishOnly": "npm run dist",
|
|
29
29
|
"test": "jest"
|
|
30
30
|
},
|
|
@@ -275,6 +275,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
275
275
|
click: () => void;
|
|
276
276
|
myText: import("vue").ComputedRef<string>;
|
|
277
277
|
myHref: import("vue").ComputedRef<string>;
|
|
278
|
+
myTarget: import("vue").ComputedRef<string>;
|
|
278
279
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
279
280
|
text: {
|
|
280
281
|
type?: undefined;
|
|
@@ -274,6 +274,7 @@ export declare const EcanButton: import('../../_utils/withInstall').SFCWithInsta
|
|
|
274
274
|
click: () => void;
|
|
275
275
|
myText: import("vue").ComputedRef<string>;
|
|
276
276
|
myHref: import("vue").ComputedRef<string>;
|
|
277
|
+
myTarget: import("vue").ComputedRef<string>;
|
|
277
278
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
278
279
|
text: {
|
|
279
280
|
type?: undefined;
|
|
@@ -876,9 +876,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
876
876
|
[key: string]: any;
|
|
877
877
|
}[]>;
|
|
878
878
|
loading: import("vue").Ref<boolean>;
|
|
879
|
-
|
|
879
|
+
onTouchHrefEvent: (target: 'self' | 'blank' | 'event', href?: string) => void;
|
|
880
|
+
handleHref: (target: 'self' | 'blank' | 'event', href: string, data: {
|
|
880
881
|
[key: string]: any;
|
|
881
|
-
}) =>
|
|
882
|
+
}) => any;
|
|
883
|
+
handleHrefTarget: (target: 'self' | 'blank' | 'event') => string;
|
|
882
884
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
883
885
|
columns: {
|
|
884
886
|
type?: undefined;
|
|
@@ -875,9 +875,11 @@ export declare const EcanTable: import("../../_utils/withInstall").SFCWithInstal
|
|
|
875
875
|
[key: string]: any;
|
|
876
876
|
}[]>;
|
|
877
877
|
loading: import("vue").Ref<boolean>;
|
|
878
|
-
|
|
878
|
+
onTouchHrefEvent: (target: "self" | "blank" | "event", href?: string) => void;
|
|
879
|
+
handleHref: (target: "self" | "blank" | "event", href: string, data: {
|
|
879
880
|
[key: string]: any;
|
|
880
|
-
}) =>
|
|
881
|
+
}) => any;
|
|
882
|
+
handleHrefTarget: (target: "self" | "blank" | "event") => string;
|
|
881
883
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
882
884
|
columns: {
|
|
883
885
|
type?: undefined;
|
|
@@ -132,6 +132,28 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
132
132
|
[key: string]: any;
|
|
133
133
|
};
|
|
134
134
|
};
|
|
135
|
+
decimalFormat: {
|
|
136
|
+
type?: undefined;
|
|
137
|
+
default?: undefined;
|
|
138
|
+
} | {
|
|
139
|
+
type: any;
|
|
140
|
+
default: string | number | boolean | Events | {
|
|
141
|
+
[key: string]: any;
|
|
142
|
+
} | import('../../_utils/props').RequestParams | {
|
|
143
|
+
[key: string]: any;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
variableDefaultValue: {
|
|
147
|
+
type?: undefined;
|
|
148
|
+
default?: undefined;
|
|
149
|
+
} | {
|
|
150
|
+
type: any;
|
|
151
|
+
default: string | number | boolean | Events | {
|
|
152
|
+
[key: string]: any;
|
|
153
|
+
} | import('../../_utils/props').RequestParams | {
|
|
154
|
+
[key: string]: any;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
135
157
|
id: {
|
|
136
158
|
type?: undefined;
|
|
137
159
|
default?: undefined;
|
|
@@ -378,7 +400,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
378
400
|
style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
|
|
379
401
|
myWidth: import("vue").ComputedRef<number>;
|
|
380
402
|
text: import("vue").ComputedRef<string>;
|
|
381
|
-
value: import("vue").ComputedRef<number>;
|
|
403
|
+
value: import("vue").ComputedRef<string | number>;
|
|
382
404
|
loading: import("vue").Ref<boolean>;
|
|
383
405
|
click: () => void;
|
|
384
406
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -514,6 +536,28 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
514
536
|
[key: string]: any;
|
|
515
537
|
};
|
|
516
538
|
};
|
|
539
|
+
decimalFormat: {
|
|
540
|
+
type?: undefined;
|
|
541
|
+
default?: undefined;
|
|
542
|
+
} | {
|
|
543
|
+
type: any;
|
|
544
|
+
default: string | number | boolean | Events | {
|
|
545
|
+
[key: string]: any;
|
|
546
|
+
} | import('../../_utils/props').RequestParams | {
|
|
547
|
+
[key: string]: any;
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
variableDefaultValue: {
|
|
551
|
+
type?: undefined;
|
|
552
|
+
default?: undefined;
|
|
553
|
+
} | {
|
|
554
|
+
type: any;
|
|
555
|
+
default: string | number | boolean | Events | {
|
|
556
|
+
[key: string]: any;
|
|
557
|
+
} | import('../../_utils/props').RequestParams | {
|
|
558
|
+
[key: string]: any;
|
|
559
|
+
};
|
|
560
|
+
};
|
|
517
561
|
id: {
|
|
518
562
|
type?: undefined;
|
|
519
563
|
default?: undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const EcanProportion: import(
|
|
1
|
+
export declare const EcanProportion: import('../../_utils/withInstall').SFCWithInstall<import("vue").DefineComponent<{
|
|
2
2
|
strokeColor: {
|
|
3
3
|
type?: undefined;
|
|
4
4
|
default?: undefined;
|
|
@@ -131,6 +131,28 @@ export declare const EcanProportion: import("../../_utils/withInstall").SFCWithI
|
|
|
131
131
|
[key: string]: any;
|
|
132
132
|
};
|
|
133
133
|
};
|
|
134
|
+
decimalFormat: {
|
|
135
|
+
type?: undefined;
|
|
136
|
+
default?: undefined;
|
|
137
|
+
} | {
|
|
138
|
+
type: any;
|
|
139
|
+
default: string | number | boolean | import("../../_utils/props").Events | {
|
|
140
|
+
[key: string]: any;
|
|
141
|
+
} | import("../../_utils/props").RequestParams | {
|
|
142
|
+
[key: string]: any;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
variableDefaultValue: {
|
|
146
|
+
type?: undefined;
|
|
147
|
+
default?: undefined;
|
|
148
|
+
} | {
|
|
149
|
+
type: any;
|
|
150
|
+
default: string | number | boolean | import("../../_utils/props").Events | {
|
|
151
|
+
[key: string]: any;
|
|
152
|
+
} | import("../../_utils/props").RequestParams | {
|
|
153
|
+
[key: string]: any;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
134
156
|
id: {
|
|
135
157
|
type?: undefined;
|
|
136
158
|
default?: undefined;
|
|
@@ -377,7 +399,7 @@ export declare const EcanProportion: import("../../_utils/withInstall").SFCWithI
|
|
|
377
399
|
style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
|
|
378
400
|
myWidth: import("vue").ComputedRef<number>;
|
|
379
401
|
text: import("vue").ComputedRef<string>;
|
|
380
|
-
value: import("vue").ComputedRef<number>;
|
|
402
|
+
value: import("vue").ComputedRef<string | number>;
|
|
381
403
|
loading: import("vue").Ref<boolean>;
|
|
382
404
|
click: () => void;
|
|
383
405
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -513,6 +535,28 @@ export declare const EcanProportion: import("../../_utils/withInstall").SFCWithI
|
|
|
513
535
|
[key: string]: any;
|
|
514
536
|
};
|
|
515
537
|
};
|
|
538
|
+
decimalFormat: {
|
|
539
|
+
type?: undefined;
|
|
540
|
+
default?: undefined;
|
|
541
|
+
} | {
|
|
542
|
+
type: any;
|
|
543
|
+
default: string | number | boolean | import("../../_utils/props").Events | {
|
|
544
|
+
[key: string]: any;
|
|
545
|
+
} | import("../../_utils/props").RequestParams | {
|
|
546
|
+
[key: string]: any;
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
variableDefaultValue: {
|
|
550
|
+
type?: undefined;
|
|
551
|
+
default?: undefined;
|
|
552
|
+
} | {
|
|
553
|
+
type: any;
|
|
554
|
+
default: string | number | boolean | import("../../_utils/props").Events | {
|
|
555
|
+
[key: string]: any;
|
|
556
|
+
} | import("../../_utils/props").RequestParams | {
|
|
557
|
+
[key: string]: any;
|
|
558
|
+
};
|
|
559
|
+
};
|
|
516
560
|
id: {
|
|
517
561
|
type?: undefined;
|
|
518
562
|
default?: undefined;
|
|
@@ -14,6 +14,8 @@ export interface ProportionProps extends Props {
|
|
|
14
14
|
fontWeight: number;
|
|
15
15
|
strokeTextWidth: string;
|
|
16
16
|
lineHeight: string;
|
|
17
|
+
decimalFormat: boolean;
|
|
18
|
+
variableDefaultValue: string;
|
|
17
19
|
}
|
|
18
20
|
export declare const proportionProps: ProportionProps;
|
|
19
21
|
export declare const proportionComponentProps: {
|
|
@@ -149,6 +151,28 @@ export declare const proportionComponentProps: {
|
|
|
149
151
|
[key: string]: any;
|
|
150
152
|
};
|
|
151
153
|
};
|
|
154
|
+
decimalFormat: {
|
|
155
|
+
type?: undefined;
|
|
156
|
+
default?: undefined;
|
|
157
|
+
} | {
|
|
158
|
+
type: any;
|
|
159
|
+
default: string | number | boolean | import('../../_utils/props').Events | {
|
|
160
|
+
[key: string]: any;
|
|
161
|
+
} | import('../../_utils/props').RequestParams | {
|
|
162
|
+
[key: string]: any;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
variableDefaultValue: {
|
|
166
|
+
type?: undefined;
|
|
167
|
+
default?: undefined;
|
|
168
|
+
} | {
|
|
169
|
+
type: any;
|
|
170
|
+
default: string | number | boolean | import('../../_utils/props').Events | {
|
|
171
|
+
[key: string]: any;
|
|
172
|
+
} | import('../../_utils/props').RequestParams | {
|
|
173
|
+
[key: string]: any;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
152
176
|
id: {
|
|
153
177
|
type?: undefined;
|
|
154
178
|
default?: undefined;
|