@ecan-bi/datav 1.0.50 → 1.0.53
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 +125 -76
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +124 -75
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +37 -35
- package/package.json +1 -1
- package/types/_utils/constant.d.ts +9 -0
- package/types/_utils/hooks/index.d.ts +15 -0
- package/types/_utils/hooks/useDownloadFile.d.ts +2 -0
- package/types/_utils/hooks/useEmitEvent.d.ts +7 -0
- package/types/_utils/hooks/useHrefParamsToGlobalVariables.d.ts +2 -0
- package/types/_utils/hooks/useImagePath.d.ts +2 -0
- package/types/_utils/hooks/useIndicatorData.d.ts +4 -0
- package/types/_utils/hooks/useOnEvent.d.ts +6 -0
- package/types/_utils/hooks/usePageUrl.d.ts +2 -0
- package/types/_utils/hooks/usePickComponentStyle.d.ts +9 -0
- package/types/_utils/hooks/usePickEchartsData.d.ts +2 -0
- package/types/_utils/hooks/useRequestData.d.ts +6 -0
- package/types/_utils/hooks/useRequestDiagramData.d.ts +6 -0
- package/types/_utils/hooks/useTooltipFormatter.d.ts +4 -0
- package/types/_utils/hooks/useTransformChartDataByAttrKey.d.ts +13 -0
- package/types/_utils/hooks/useTransformChartDataByAttrValue.d.ts +13 -0
- package/types/_utils/hooks/useValueFormatter.d.ts +2 -0
- package/types/_utils/hooks/useVariablesInText.d.ts +4 -0
- package/types/_utils/props.d.ts +71 -0
- package/types/_utils/request.d.ts +2 -0
- package/types/_utils/util.d.ts +20 -0
- package/types/_utils/withInstall.d.ts +5 -0
- package/types/common/echarts/Echarts.d.ts +418 -0
- package/types/common/echarts/composables/api.d.ts +7 -0
- package/types/common/echarts/composables/autoresize.d.ts +6 -0
- package/types/common/echarts/composables/index.d.ts +3 -0
- package/types/common/echarts/composables/loading.d.ts +10 -0
- package/types/common/echarts/index.d.ts +2 -0
- package/types/common/echarts/types.d.ts +20 -0
- package/types/common/echarts/utils.d.ts +6 -0
- package/types/common/index.d.ts +3 -0
- package/types/common/skeleton/Skeleton.vue.d.ts +14 -0
- package/types/common/skeleton/index.d.ts +2 -0
- package/types/common/spin/Spin.vue.d.ts +18 -0
- package/types/common/spin/index.d.ts +2 -0
- package/types/components.d.ts +9 -0
- package/types/container/border/Border.vue.d.ts +622 -0
- package/types/container/border/index.d.ts +622 -0
- package/types/container/border/props.d.ts +315 -0
- package/types/container/index.d.ts +3 -0
- package/types/container/modal/Modal.vue.d.ts +505 -0
- package/types/container/modal/index.d.ts +506 -0
- package/types/container/modal/props.d.ts +179 -0
- package/types/container/tabs/Tabs.vue.d.ts +475 -0
- package/types/container/tabs/index.d.ts +476 -0
- package/types/container/tabs/props.d.ts +251 -0
- package/types/control/button/Button.vue.d.ts +550 -0
- package/types/control/button/index.d.ts +550 -0
- package/types/control/button/props.d.ts +285 -0
- package/types/control/date-picker/DatePicker.vue.d.ts +480 -0
- package/types/control/date-picker/index.d.ts +479 -0
- package/types/control/date-picker/props.d.ts +245 -0
- package/types/control/index.d.ts +5 -0
- package/types/control/input/Input.vue.d.ts +438 -0
- package/types/control/input/index.d.ts +439 -0
- package/types/control/input/props.d.ts +224 -0
- package/types/control/range-picker/RangePicker.vue.d.ts +596 -0
- package/types/control/range-picker/index.d.ts +595 -0
- package/types/control/range-picker/props.d.ts +245 -0
- package/types/control/select/Select.vue.d.ts +613 -0
- package/types/control/select/index.d.ts +613 -0
- package/types/control/select/props.d.ts +321 -0
- package/types/graph/bar/Bar.vue.d.ts +2028 -0
- package/types/graph/bar/index.d.ts +2028 -0
- package/types/graph/bar/props.d.ts +984 -0
- package/types/graph/combo-graph/ComboGraph.vue.d.ts +1008 -0
- package/types/graph/combo-graph/index.d.ts +1009 -0
- package/types/graph/combo-graph/props.d.ts +501 -0
- package/types/graph/custom-graph/CustomGraph.vue.d.ts +537 -0
- package/types/graph/custom-graph/index.d.ts +537 -0
- package/types/graph/custom-graph/props.d.ts +274 -0
- package/types/graph/index.d.ts +6 -0
- package/types/graph/line/Line.vue.d.ts +973 -0
- package/types/graph/line/index.d.ts +974 -0
- package/types/graph/line/props.d.ts +481 -0
- package/types/graph/pie/Pie.vue.d.ts +1049 -0
- package/types/graph/pie/index.d.ts +1050 -0
- package/types/graph/pie/props.d.ts +533 -0
- package/types/graph/scatter/Scatter.vue.d.ts +949 -0
- package/types/graph/scatter/index.d.ts +950 -0
- package/types/graph/scatter/props.d.ts +468 -0
- package/types/index.d.ts +6 -0
- package/types/map/index.d.ts +1 -0
- package/types/map/map/Map.vue.d.ts +1699 -0
- package/types/map/map/index.d.ts +1700 -0
- package/types/map/map/props.d.ts +829 -0
- package/types/media/image/Image.vue.d.ts +476 -0
- package/types/media/image/index.d.ts +477 -0
- package/types/media/image/props.d.ts +244 -0
- package/types/media/index.d.ts +1 -0
- package/types/setting/index.d.ts +3 -0
- package/types/setting/page-config/PageConfig.vue.d.ts +112 -0
- package/types/setting/page-config/index.d.ts +113 -0
- package/types/setting/page-config/props.d.ts +61 -0
- package/types/setting/provider-config/ProviderConfig.vue.d.ts +78 -0
- package/types/setting/provider-config/index.d.ts +79 -0
- package/types/setting/provider-config/props.d.ts +47 -0
- package/types/setting/renderer/Renderer.vue.d.ts +22 -0
- package/types/setting/renderer/index.d.ts +23 -0
- package/types/setting/renderer/props.d.ts +17 -0
- package/types/table/index.d.ts +1 -0
- package/types/table/table/Table.vue.d.ts +1724 -0
- package/types/table/table/index.d.ts +1724 -0
- package/types/table/table/props.d.ts +878 -0
- package/types/text/index.d.ts +5 -0
- package/types/text/list/List.vue.d.ts +849 -0
- package/types/text/list/index.d.ts +849 -0
- package/types/text/list/props.d.ts +441 -0
- package/types/text/proportion/Proportion.vue.d.ts +782 -0
- package/types/text/proportion/index.d.ts +782 -0
- package/types/text/proportion/props.d.ts +407 -0
- package/types/text/scroll-text/ScrollText.vue.d.ts +4 -0
- package/types/text/scroll-text/index.d.ts +4 -0
- package/types/text/text/Text.vue.d.ts +736 -0
- package/types/text/text/index.d.ts +736 -0
- package/types/text/text/props.d.ts +383 -0
- package/types/text/time-display/TimeDisplay.vue.d.ts +547 -0
- package/types/text/time-display/index.d.ts +548 -0
- package/types/text/time-display/props.d.ts +284 -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-f55c66cc] {
|
|
175
175
|
overflow: hidden;
|
|
176
176
|
}
|
|
177
|
-
.progress[data-v-
|
|
177
|
+
.progress[data-v-f55c66cc] {
|
|
178
178
|
width: 100%;
|
|
179
179
|
height: 100%;
|
|
180
180
|
}
|
|
181
|
-
.format[data-v-
|
|
181
|
+
.format[data-v-f55c66cc] {
|
|
182
182
|
margin: 0 auto;
|
|
183
183
|
}
|
|
184
184
|
.input[data-v-506cf42a] {
|
|
@@ -478,15 +478,15 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
478
478
|
.full-modal .ant-modal-body {
|
|
479
479
|
padding: 45px 30px 0;
|
|
480
480
|
}
|
|
481
|
-
.top-title[data-v-
|
|
482
|
-
.no-title[data-v-
|
|
481
|
+
.top-title[data-v-6e332bd5],
|
|
482
|
+
.no-title[data-v-6e332bd5] {
|
|
483
483
|
position: relative;
|
|
484
484
|
box-sizing: border-box;
|
|
485
485
|
width: 100%;
|
|
486
486
|
height: 100%;
|
|
487
487
|
}
|
|
488
|
-
.top-title .border-item[data-v-
|
|
489
|
-
.no-title .border-item[data-v-
|
|
488
|
+
.top-title .border-item[data-v-6e332bd5],
|
|
489
|
+
.no-title .border-item[data-v-6e332bd5] {
|
|
490
490
|
position: absolute;
|
|
491
491
|
z-index: 2;
|
|
492
492
|
border-color: #50FCFC;
|
|
@@ -494,8 +494,8 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
494
494
|
width: 13px;
|
|
495
495
|
height: 11px;
|
|
496
496
|
}
|
|
497
|
-
.top-title .top-left[data-v-
|
|
498
|
-
.no-title .top-left[data-v-
|
|
497
|
+
.top-title .top-left[data-v-6e332bd5],
|
|
498
|
+
.no-title .top-left[data-v-6e332bd5] {
|
|
499
499
|
top: 0;
|
|
500
500
|
left: 0;
|
|
501
501
|
border-top-width: 1px;
|
|
@@ -503,8 +503,8 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
503
503
|
border-bottom-width: 0;
|
|
504
504
|
border-left-width: 1px;
|
|
505
505
|
}
|
|
506
|
-
.top-title .top-right[data-v-
|
|
507
|
-
.no-title .top-right[data-v-
|
|
506
|
+
.top-title .top-right[data-v-6e332bd5],
|
|
507
|
+
.no-title .top-right[data-v-6e332bd5] {
|
|
508
508
|
top: 0;
|
|
509
509
|
right: -2px;
|
|
510
510
|
border-top-width: 1px;
|
|
@@ -512,8 +512,8 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
512
512
|
border-bottom-width: 0;
|
|
513
513
|
border-left-width: 0;
|
|
514
514
|
}
|
|
515
|
-
.top-title .bottom-left[data-v-
|
|
516
|
-
.no-title .bottom-left[data-v-
|
|
515
|
+
.top-title .bottom-left[data-v-6e332bd5],
|
|
516
|
+
.no-title .bottom-left[data-v-6e332bd5] {
|
|
517
517
|
bottom: -2px;
|
|
518
518
|
left: 0;
|
|
519
519
|
border-top-width: 0;
|
|
@@ -521,8 +521,8 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
521
521
|
border-bottom-width: 1px;
|
|
522
522
|
border-left-width: 1px;
|
|
523
523
|
}
|
|
524
|
-
.top-title .bottom-right[data-v-
|
|
525
|
-
.no-title .bottom-right[data-v-
|
|
524
|
+
.top-title .bottom-right[data-v-6e332bd5],
|
|
525
|
+
.no-title .bottom-right[data-v-6e332bd5] {
|
|
526
526
|
bottom: -2px;
|
|
527
527
|
right: -2px;
|
|
528
528
|
border-top-width: 0;
|
|
@@ -530,8 +530,8 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
530
530
|
border-bottom-width: 1px;
|
|
531
531
|
border-left-width: 0;
|
|
532
532
|
}
|
|
533
|
-
.top-title .title-item-wrapper[data-v-
|
|
534
|
-
.no-title .title-item-wrapper[data-v-
|
|
533
|
+
.top-title .title-item-wrapper[data-v-6e332bd5],
|
|
534
|
+
.no-title .title-item-wrapper[data-v-6e332bd5] {
|
|
535
535
|
width: 100%;
|
|
536
536
|
padding: 5px 0;
|
|
537
537
|
background-image: url("data:image/png;base64,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");
|
|
@@ -539,37 +539,37 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
539
539
|
display: grid;
|
|
540
540
|
place-content: center;
|
|
541
541
|
}
|
|
542
|
-
.top-title .title-item[data-v-
|
|
543
|
-
.no-title .title-item[data-v-
|
|
542
|
+
.top-title .title-item[data-v-6e332bd5],
|
|
543
|
+
.no-title .title-item[data-v-6e332bd5] {
|
|
544
544
|
display: flex;
|
|
545
545
|
align-items: center;
|
|
546
546
|
}
|
|
547
|
-
.top-title .title[data-v-
|
|
548
|
-
.no-title .title[data-v-
|
|
547
|
+
.top-title .title[data-v-6e332bd5],
|
|
548
|
+
.no-title .title[data-v-6e332bd5] {
|
|
549
549
|
padding: 0 17px;
|
|
550
550
|
color: #d5fdfd;
|
|
551
551
|
background: linear-gradient(0deg, #01aaff, #00eaff);
|
|
552
552
|
-webkit-background-clip: text;
|
|
553
553
|
-webkit-text-fill-color: transparent;
|
|
554
554
|
}
|
|
555
|
-
.top-title .title-decoration-left[data-v-
|
|
556
|
-
.no-title .title-decoration-left[data-v-
|
|
555
|
+
.top-title .title-decoration-left[data-v-6e332bd5],
|
|
556
|
+
.no-title .title-decoration-left[data-v-6e332bd5] {
|
|
557
557
|
width: 58px;
|
|
558
558
|
height: 14px;
|
|
559
559
|
}
|
|
560
|
-
.top-title .title-decoration-right[data-v-
|
|
561
|
-
.no-title .title-decoration-right[data-v-
|
|
560
|
+
.top-title .title-decoration-right[data-v-6e332bd5],
|
|
561
|
+
.no-title .title-decoration-right[data-v-6e332bd5] {
|
|
562
562
|
width: 58px;
|
|
563
563
|
height: 14px;
|
|
564
564
|
}
|
|
565
|
-
.left-title[data-v-
|
|
565
|
+
.left-title[data-v-6e332bd5] {
|
|
566
566
|
position: relative;
|
|
567
567
|
width: 100%;
|
|
568
568
|
height: 100%;
|
|
569
569
|
border: 2px solid #375A8899;
|
|
570
570
|
border-radius: 0;
|
|
571
571
|
}
|
|
572
|
-
.left-title .title[data-v-
|
|
572
|
+
.left-title .title[data-v-6e332bd5] {
|
|
573
573
|
position: absolute;
|
|
574
574
|
left: -33px;
|
|
575
575
|
top: -14px;
|
|
@@ -584,7 +584,7 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
584
584
|
font-weight: 500;
|
|
585
585
|
text-align: center;
|
|
586
586
|
}
|
|
587
|
-
.left-title .title span[data-v-
|
|
587
|
+
.left-title .title span[data-v-6e332bd5] {
|
|
588
588
|
writing-mode: vertical-lr;
|
|
589
589
|
}
|
|
590
590
|
.contain[data-v-378919f0] {
|
|
@@ -664,15 +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-a84f3122] {
|
|
668
668
|
width: 100%;
|
|
669
669
|
}
|
|
670
|
-
.goUp[data-v-
|
|
670
|
+
.goUp[data-v-a84f3122] {
|
|
671
671
|
color: #FF512E;
|
|
672
672
|
display: flex;
|
|
673
673
|
align-items: center;
|
|
674
|
+
justify-content: center;
|
|
674
675
|
}
|
|
675
|
-
.goUp[data-v-
|
|
676
|
+
.goUp[data-v-a84f3122]:before {
|
|
676
677
|
content: '';
|
|
677
678
|
display: block;
|
|
678
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=");
|
|
@@ -682,12 +683,13 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
682
683
|
background-size: cover;
|
|
683
684
|
margin-right: 2px;
|
|
684
685
|
}
|
|
685
|
-
.goDown[data-v-
|
|
686
|
+
.goDown[data-v-a84f3122] {
|
|
686
687
|
color: #00F7B4;
|
|
687
688
|
display: flex;
|
|
688
689
|
align-items: center;
|
|
690
|
+
justify-content: center;
|
|
689
691
|
}
|
|
690
|
-
.goDown[data-v-
|
|
692
|
+
.goDown[data-v-a84f3122]:before {
|
|
691
693
|
content: '';
|
|
692
694
|
display: block;
|
|
693
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=");
|
|
@@ -697,11 +699,11 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
697
699
|
background-size: cover;
|
|
698
700
|
margin-right: 2px;
|
|
699
701
|
}
|
|
700
|
-
.action-list[data-v-
|
|
702
|
+
.action-list[data-v-a84f3122] {
|
|
701
703
|
display: flex;
|
|
702
704
|
width: 100%;
|
|
703
705
|
}
|
|
704
|
-
.action[data-v-
|
|
706
|
+
.action[data-v-a84f3122] {
|
|
705
707
|
flex: 1;
|
|
706
708
|
}
|
|
707
709
|
.ecan-table *::-webkit-scrollbar {
|
package/package.json
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,15 @@
|
|
|
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';
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,13 @@
|
|
|
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;
|
|
@@ -0,0 +1,13 @@
|
|
|
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;
|
|
@@ -0,0 +1,71 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,20 @@
|
|
|
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;
|
|
@@ -0,0 +1,5 @@
|
|
|
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>;
|