@ecan-bi/datav 1.0.47 → 1.0.50
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 +238 -206
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +237 -205
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +41 -34
- package/package.json +1 -1
- package/types/_utils/constant.d.ts +0 -9
- package/types/_utils/hooks/index.d.ts +0 -15
- package/types/_utils/hooks/useDownloadFile.d.ts +0 -2
- package/types/_utils/hooks/useEmitEvent.d.ts +0 -7
- package/types/_utils/hooks/useHrefParamsToGlobalVariables.d.ts +0 -2
- package/types/_utils/hooks/useImagePath.d.ts +0 -2
- package/types/_utils/hooks/useIndicatorData.d.ts +0 -4
- package/types/_utils/hooks/useOnEvent.d.ts +0 -6
- package/types/_utils/hooks/usePageUrl.d.ts +0 -2
- package/types/_utils/hooks/usePickComponentStyle.d.ts +0 -9
- package/types/_utils/hooks/usePickEchartsData.d.ts +0 -2
- package/types/_utils/hooks/useRequestData.d.ts +0 -6
- package/types/_utils/hooks/useRequestDiagramData.d.ts +0 -6
- package/types/_utils/hooks/useTooltipFormatter.d.ts +0 -4
- package/types/_utils/hooks/useTransformChartDataByAttrKey.d.ts +0 -13
- package/types/_utils/hooks/useTransformChartDataByAttrValue.d.ts +0 -13
- package/types/_utils/hooks/useValueFormatter.d.ts +0 -2
- package/types/_utils/hooks/useVariablesInText.d.ts +0 -4
- package/types/_utils/props.d.ts +0 -71
- package/types/_utils/request.d.ts +0 -2
- package/types/_utils/util.d.ts +0 -20
- package/types/_utils/withInstall.d.ts +0 -5
- package/types/common/echarts/Echarts.d.ts +0 -418
- package/types/common/echarts/composables/api.d.ts +0 -7
- package/types/common/echarts/composables/autoresize.d.ts +0 -6
- package/types/common/echarts/composables/index.d.ts +0 -3
- package/types/common/echarts/composables/loading.d.ts +0 -10
- package/types/common/echarts/index.d.ts +0 -2
- package/types/common/echarts/types.d.ts +0 -20
- package/types/common/echarts/utils.d.ts +0 -6
- package/types/common/index.d.ts +0 -3
- package/types/common/skeleton/Skeleton.vue.d.ts +0 -14
- package/types/common/skeleton/index.d.ts +0 -2
- package/types/common/spin/Spin.vue.d.ts +0 -18
- package/types/common/spin/index.d.ts +0 -2
- package/types/components.d.ts +0 -9
- package/types/container/border/Border.vue.d.ts +0 -623
- package/types/container/border/index.d.ts +0 -623
- package/types/container/border/props.d.ts +0 -315
- package/types/container/index.d.ts +0 -2
- package/types/container/modal/Modal.vue.d.ts +0 -505
- package/types/container/modal/index.d.ts +0 -506
- package/types/container/modal/props.d.ts +0 -179
- package/types/control/button/Button.vue.d.ts +0 -514
- package/types/control/button/index.d.ts +0 -514
- package/types/control/button/props.d.ts +0 -265
- package/types/control/date-picker/DatePicker.vue.d.ts +0 -480
- package/types/control/date-picker/index.d.ts +0 -479
- package/types/control/date-picker/props.d.ts +0 -245
- package/types/control/index.d.ts +0 -6
- package/types/control/input/Input.vue.d.ts +0 -438
- package/types/control/input/index.d.ts +0 -439
- package/types/control/input/props.d.ts +0 -224
- package/types/control/range-picker/RangePicker.vue.d.ts +0 -596
- package/types/control/range-picker/index.d.ts +0 -595
- package/types/control/range-picker/props.d.ts +0 -245
- package/types/control/select/Select.vue.d.ts +0 -613
- package/types/control/select/index.d.ts +0 -613
- package/types/control/select/props.d.ts +0 -321
- package/types/control/tabs/Tabs.vue.d.ts +0 -475
- package/types/control/tabs/index.d.ts +0 -476
- package/types/control/tabs/props.d.ts +0 -251
- package/types/graph/bar/Bar.vue.d.ts +0 -1963
- package/types/graph/bar/index.d.ts +0 -1963
- package/types/graph/bar/props.d.ts +0 -954
- package/types/graph/combo-graph/ComboGraph.vue.d.ts +0 -1008
- package/types/graph/combo-graph/index.d.ts +0 -1009
- package/types/graph/combo-graph/props.d.ts +0 -501
- package/types/graph/custom-graph/CustomGraph.vue.d.ts +0 -537
- package/types/graph/custom-graph/index.d.ts +0 -537
- package/types/graph/custom-graph/props.d.ts +0 -274
- package/types/graph/index.d.ts +0 -6
- package/types/graph/line/Line.vue.d.ts +0 -973
- package/types/graph/line/index.d.ts +0 -974
- package/types/graph/line/props.d.ts +0 -481
- package/types/graph/pie/Pie.vue.d.ts +0 -1049
- package/types/graph/pie/index.d.ts +0 -1050
- package/types/graph/pie/props.d.ts +0 -533
- package/types/graph/scatter/Scatter.vue.d.ts +0 -949
- package/types/graph/scatter/index.d.ts +0 -950
- package/types/graph/scatter/props.d.ts +0 -468
- package/types/index.d.ts +0 -6
- package/types/map/index.d.ts +0 -1
- package/types/map/map/Map.vue.d.ts +0 -1699
- package/types/map/map/index.d.ts +0 -1700
- package/types/map/map/props.d.ts +0 -829
- package/types/media/image/Image.vue.d.ts +0 -476
- package/types/media/image/index.d.ts +0 -477
- package/types/media/image/props.d.ts +0 -244
- package/types/media/index.d.ts +0 -1
- package/types/setting/index.d.ts +0 -3
- package/types/setting/page-config/PageConfig.vue.d.ts +0 -112
- package/types/setting/page-config/index.d.ts +0 -113
- package/types/setting/page-config/props.d.ts +0 -61
- package/types/setting/provider-config/ProviderConfig.vue.d.ts +0 -78
- package/types/setting/provider-config/index.d.ts +0 -79
- package/types/setting/provider-config/props.d.ts +0 -47
- package/types/setting/renderer/Renderer.vue.d.ts +0 -22
- package/types/setting/renderer/index.d.ts +0 -23
- package/types/setting/renderer/props.d.ts +0 -17
- package/types/table/index.d.ts +0 -1
- package/types/table/table/Table.vue.d.ts +0 -1373
- package/types/table/table/index.d.ts +0 -1373
- package/types/table/table/props.d.ts +0 -697
- package/types/text/index.d.ts +0 -5
- package/types/text/list/List.vue.d.ts +0 -849
- package/types/text/list/index.d.ts +0 -849
- package/types/text/list/props.d.ts +0 -441
- package/types/text/proportion/Proportion.vue.d.ts +0 -760
- package/types/text/proportion/index.d.ts +0 -760
- package/types/text/proportion/props.d.ts +0 -395
- package/types/text/scroll-text/ScrollText.vue.d.ts +0 -4
- package/types/text/scroll-text/index.d.ts +0 -4
- package/types/text/text/Text.vue.d.ts +0 -736
- package/types/text/text/index.d.ts +0 -736
- package/types/text/text/props.d.ts +0 -383
- package/types/text/time-display/TimeDisplay.vue.d.ts +0 -547
- package/types/text/time-display/index.d.ts +0 -548
- package/types/text/time-display/props.d.ts +0 -284
package/dist/style.css
CHANGED
|
@@ -10,7 +10,7 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
10
10
|
left: 50%;
|
|
11
11
|
transform: translate(-50%, -50%);
|
|
12
12
|
}
|
|
13
|
-
#container[data-v-
|
|
13
|
+
#container[data-v-c850087e] {
|
|
14
14
|
position: fixed;
|
|
15
15
|
top: 0;
|
|
16
16
|
left: 0;
|
|
@@ -18,7 +18,7 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
18
18
|
transform-origin: left top;
|
|
19
19
|
z-index: 999;
|
|
20
20
|
}
|
|
21
|
-
.page-config[data-v-
|
|
21
|
+
.page-config[data-v-c850087e] {
|
|
22
22
|
position: relative;
|
|
23
23
|
overflow: hidden;
|
|
24
24
|
background-size: cover;
|
|
@@ -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-206755e6] {
|
|
175
175
|
overflow: hidden;
|
|
176
176
|
}
|
|
177
|
-
.progress[data-v-
|
|
177
|
+
.progress[data-v-206755e6] {
|
|
178
178
|
width: 100%;
|
|
179
179
|
height: 100%;
|
|
180
180
|
}
|
|
181
|
-
.format[data-v-
|
|
181
|
+
.format[data-v-206755e6] {
|
|
182
182
|
margin: 0 auto;
|
|
183
183
|
}
|
|
184
184
|
.input[data-v-506cf42a] {
|
|
@@ -393,30 +393,6 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
393
393
|
justify-content: center;
|
|
394
394
|
align-items: center;
|
|
395
395
|
}
|
|
396
|
-
.ecan-tabs[data-v-55d33fb6] {
|
|
397
|
-
display: flex;
|
|
398
|
-
flex-direction: column;
|
|
399
|
-
}
|
|
400
|
-
.tabs-header[data-v-55d33fb6] {
|
|
401
|
-
color: #333333;
|
|
402
|
-
display: flex;
|
|
403
|
-
width: 100%;
|
|
404
|
-
}
|
|
405
|
-
.tab[data-v-55d33fb6] {
|
|
406
|
-
background-size: 100% 100%;
|
|
407
|
-
background-repeat: no-repeat;
|
|
408
|
-
padding: 0 12px;
|
|
409
|
-
cursor: default;
|
|
410
|
-
}
|
|
411
|
-
.tab-inner[data-v-55d33fb6] {
|
|
412
|
-
padding: 12px 0;
|
|
413
|
-
}
|
|
414
|
-
.tab[data-v-55d33fb6]:last-child {
|
|
415
|
-
margin-right: 0 !important;
|
|
416
|
-
}
|
|
417
|
-
.tabs-content[data-v-55d33fb6] {
|
|
418
|
-
flex: 1;
|
|
419
|
-
}
|
|
420
396
|
.full-modal .ant-modal {
|
|
421
397
|
max-width: 100%;
|
|
422
398
|
top: 0;
|
|
@@ -657,6 +633,30 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
657
633
|
[datav-theme='darkBlue'] .ecan-modal .anticon-close > svg > path {
|
|
658
634
|
fill: #fff;
|
|
659
635
|
}
|
|
636
|
+
.ecan-tabs[data-v-ee8e9884] {
|
|
637
|
+
display: flex;
|
|
638
|
+
flex-direction: column;
|
|
639
|
+
}
|
|
640
|
+
.tabs-header[data-v-ee8e9884] {
|
|
641
|
+
color: #333333;
|
|
642
|
+
display: flex;
|
|
643
|
+
width: 100%;
|
|
644
|
+
padding: 0 12px;
|
|
645
|
+
}
|
|
646
|
+
.tab[data-v-ee8e9884] {
|
|
647
|
+
background-size: 100% 100%;
|
|
648
|
+
background-repeat: no-repeat;
|
|
649
|
+
cursor: default;
|
|
650
|
+
}
|
|
651
|
+
.tab-inner[data-v-ee8e9884] {
|
|
652
|
+
padding: 12px 0;
|
|
653
|
+
}
|
|
654
|
+
.tab[data-v-ee8e9884]:last-child {
|
|
655
|
+
margin-right: 0 !important;
|
|
656
|
+
}
|
|
657
|
+
.tabs-content[data-v-ee8e9884] {
|
|
658
|
+
flex: 1;
|
|
659
|
+
}
|
|
660
660
|
.image-placeholder[data-v-03ae963a] {
|
|
661
661
|
display: grid;
|
|
662
662
|
place-content: center;
|
|
@@ -664,15 +664,15 @@ 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-11728224] {
|
|
668
668
|
width: 100%;
|
|
669
669
|
}
|
|
670
|
-
.goUp[data-v-
|
|
670
|
+
.goUp[data-v-11728224] {
|
|
671
671
|
color: #FF512E;
|
|
672
672
|
display: flex;
|
|
673
673
|
align-items: center;
|
|
674
674
|
}
|
|
675
|
-
.goUp[data-v-
|
|
675
|
+
.goUp[data-v-11728224]:before {
|
|
676
676
|
content: '';
|
|
677
677
|
display: block;
|
|
678
678
|
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=");
|
|
@@ -682,12 +682,12 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
682
682
|
background-size: cover;
|
|
683
683
|
margin-right: 2px;
|
|
684
684
|
}
|
|
685
|
-
.goDown[data-v-
|
|
685
|
+
.goDown[data-v-11728224] {
|
|
686
686
|
color: #00F7B4;
|
|
687
687
|
display: flex;
|
|
688
688
|
align-items: center;
|
|
689
689
|
}
|
|
690
|
-
.goDown[data-v-
|
|
690
|
+
.goDown[data-v-11728224]:before {
|
|
691
691
|
content: '';
|
|
692
692
|
display: block;
|
|
693
693
|
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=");
|
|
@@ -697,6 +697,13 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
697
697
|
background-size: cover;
|
|
698
698
|
margin-right: 2px;
|
|
699
699
|
}
|
|
700
|
+
.action-list[data-v-11728224] {
|
|
701
|
+
display: flex;
|
|
702
|
+
width: 100%;
|
|
703
|
+
}
|
|
704
|
+
.action[data-v-11728224] {
|
|
705
|
+
flex: 1;
|
|
706
|
+
}
|
|
700
707
|
.ecan-table *::-webkit-scrollbar {
|
|
701
708
|
width: 6px;
|
|
702
709
|
height: 6px;
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const EVENT_BUS = "EVENT_BUS";
|
|
2
|
-
export declare const GLOBAL_CONFIG = "GLOBAL_CONFIG";
|
|
3
|
-
export declare const GLOBAL_MODEL = "GLOBAL_MODEL";
|
|
4
|
-
export declare const REQUEST_MODEL = "REQUEST_MODEL";
|
|
5
|
-
export declare const GLOBAL_TOKEN = "GLOBAL_TOKEN";
|
|
6
|
-
export declare const REFRESH_PAGE = "REFRESH_PAGE";
|
|
7
|
-
export declare const INDICATOR_URL: any;
|
|
8
|
-
export declare const UPLOAD_PATH: any;
|
|
9
|
-
export declare const BASE_URL: any;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export * from './usePickComponentStyle';
|
|
2
|
-
export * from './usePickEchartsData';
|
|
3
|
-
export * from './useOnEvent';
|
|
4
|
-
export * from './useEmitEvent';
|
|
5
|
-
export * from './useTransformChartDataByAttrValue';
|
|
6
|
-
export * from './useRequestData';
|
|
7
|
-
export * from './useTransformChartDataByAttrKey';
|
|
8
|
-
export * from './useImagePath';
|
|
9
|
-
export * from './usePageUrl';
|
|
10
|
-
export * from './useVariablesInText';
|
|
11
|
-
export * from './useRequestDiagramData';
|
|
12
|
-
export * from './useValueFormatter';
|
|
13
|
-
export * from './useTooltipFormatter';
|
|
14
|
-
export * from './useIndicatorData';
|
|
15
|
-
export * from './useHrefParamsToGlobalVariables';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'vue';
|
|
2
|
-
/**
|
|
3
|
-
* 过滤不是 style 属性的组件属性
|
|
4
|
-
* @param props 组件属性
|
|
5
|
-
* @param excludeStyleList 剔除组件的属性
|
|
6
|
-
* @returns style属性
|
|
7
|
-
*/
|
|
8
|
-
export declare const usePickComponentStyle: <T>(props: Readonly<Partial<T>>, excludeStyleList?: string[]) => import("vue").ComputedRef<HTMLAttributes>;
|
|
9
|
-
export default usePickComponentStyle;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Data, KeyTypeDataFieldNames } from '../props';
|
|
2
|
-
/**
|
|
3
|
-
* 图形转化数据
|
|
4
|
-
* @param data 数据
|
|
5
|
-
* @param dataFieldNames 字段映射
|
|
6
|
-
*/
|
|
7
|
-
export declare const useTransformChartDataByAttrKey: (data: Data, dataFieldNames: KeyTypeDataFieldNames) => {
|
|
8
|
-
dimensions: unknown[];
|
|
9
|
-
dataset: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
export default useTransformChartDataByAttrKey;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Data, ValueTypeDataFieldNames } from '../props';
|
|
2
|
-
/**
|
|
3
|
-
* 图形转化数据
|
|
4
|
-
* @param data 数据
|
|
5
|
-
* @param dataFieldNames 字段映射
|
|
6
|
-
*/
|
|
7
|
-
export declare const useTransformChartDataByAttrValue: (data: Data, dataFieldNames?: ValueTypeDataFieldNames) => {
|
|
8
|
-
dimensions: unknown[];
|
|
9
|
-
dataset: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
export default useTransformChartDataByAttrValue;
|
package/types/_utils/props.d.ts
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
interface Event {
|
|
2
|
-
on: string;
|
|
3
|
-
target: string;
|
|
4
|
-
emit: string;
|
|
5
|
-
}
|
|
6
|
-
export declare type Events = Event[];
|
|
7
|
-
export declare type RequestMethod = 'get' | 'post' | 'put' | 'delete' | 'head';
|
|
8
|
-
export interface RequestParam {
|
|
9
|
-
key: string;
|
|
10
|
-
value: {
|
|
11
|
-
id: string;
|
|
12
|
-
prop: string;
|
|
13
|
-
} | string;
|
|
14
|
-
}
|
|
15
|
-
export declare type RequestParams = RequestParam[];
|
|
16
|
-
export interface Props {
|
|
17
|
-
id: string;
|
|
18
|
-
name: string;
|
|
19
|
-
keyName: string;
|
|
20
|
-
type: string;
|
|
21
|
-
width: string;
|
|
22
|
-
height: string;
|
|
23
|
-
position: string;
|
|
24
|
-
top: string;
|
|
25
|
-
left: string;
|
|
26
|
-
zIndex: number;
|
|
27
|
-
rotate: string;
|
|
28
|
-
isShow: boolean;
|
|
29
|
-
isRender: boolean;
|
|
30
|
-
events: Events;
|
|
31
|
-
requestUrl: string;
|
|
32
|
-
requestMethod: RequestMethod;
|
|
33
|
-
requestHeaders: {
|
|
34
|
-
[key: string]: any;
|
|
35
|
-
};
|
|
36
|
-
isOpenRequestTimer: boolean;
|
|
37
|
-
requestInterval: number;
|
|
38
|
-
requestParams: RequestParams;
|
|
39
|
-
requestSort: number;
|
|
40
|
-
dataType: 'static' | 'request' | 'indicator';
|
|
41
|
-
}
|
|
42
|
-
export declare const props: Props;
|
|
43
|
-
export declare const transformToComponentProps: <T extends {}>(props: T) => { [P in keyof T]: {
|
|
44
|
-
type?: undefined;
|
|
45
|
-
default?: undefined;
|
|
46
|
-
} | {
|
|
47
|
-
type: any;
|
|
48
|
-
default: T[keyof T];
|
|
49
|
-
}; };
|
|
50
|
-
export interface EventsProp {
|
|
51
|
-
events: Events;
|
|
52
|
-
}
|
|
53
|
-
interface DataItem {
|
|
54
|
-
name: string | number;
|
|
55
|
-
value: string | number;
|
|
56
|
-
type?: string;
|
|
57
|
-
}
|
|
58
|
-
export declare type Data = DataItem[];
|
|
59
|
-
export interface KeyTypeDataFieldNames {
|
|
60
|
-
name: string;
|
|
61
|
-
types: {
|
|
62
|
-
label: string;
|
|
63
|
-
value: string;
|
|
64
|
-
}[];
|
|
65
|
-
}
|
|
66
|
-
export interface ValueTypeDataFieldNames {
|
|
67
|
-
name: string;
|
|
68
|
-
value: string;
|
|
69
|
-
type: string;
|
|
70
|
-
}
|
|
71
|
-
export {};
|
package/types/_utils/util.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const handleAxisLabelFormatter: (formatter: string) => string;
|
|
2
|
-
/**
|
|
3
|
-
* 处理图表format, 目前只做 \\n => \n 转化
|
|
4
|
-
* @param formatter 格式化字符串
|
|
5
|
-
*/
|
|
6
|
-
export declare const handleFormatter: (formatter: string) => string;
|
|
7
|
-
/**
|
|
8
|
-
* 格式化金额
|
|
9
|
-
* @param value 数值
|
|
10
|
-
* @param decimalPlaces 格式化位数
|
|
11
|
-
*/
|
|
12
|
-
export declare const formatMoney: (value: string | number, decimalPlaces?: number) => string | number;
|
|
13
|
-
export declare const formatPercentage: (value: string | number, decimalPlaces?: number) => string | number;
|
|
14
|
-
/**
|
|
15
|
-
* 字符串1 中是否包含 字符串2 (会全部转成小写)
|
|
16
|
-
* @param v1 字符串1
|
|
17
|
-
* @param v2 字符串2
|
|
18
|
-
* @constructor
|
|
19
|
-
*/
|
|
20
|
-
export declare const lowerCaseIncludes: (v1: any, v2: any) => boolean;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Plugin } from 'vue';
|
|
2
|
-
export declare type SFCWithInstall<T> = T & Plugin;
|
|
3
|
-
export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E;
|
|
4
|
-
export declare const withInstallFunction: <T>(fn: T, name: string) => SFCWithInstall<T>;
|
|
5
|
-
export declare const withNoopInstall: <T>(component: T) => SFCWithInstall<T>;
|