@ecan-bi/datav 1.1.4 → 1.1.6
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 +167 -40
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +166 -39
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +50 -12
- package/package.json +1 -1
- package/types/map/map/index.d.ts +1 -1
- package/types/table/table/Table.vue.d.ts +44 -6
- package/types/table/table/index.d.ts +44 -6
- package/types/table/table/props.d.ts +21 -0
package/dist/style.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.1.
|
|
1
|
+
/*! @ecan-bi/datav@1.1.6 */
|
|
2
2
|
x-vue-echarts{display:block;width:100%;height:100%}
|
|
3
3
|
.spin-wrapper {
|
|
4
4
|
position: relative;
|
|
@@ -24,10 +24,10 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
24
24
|
overflow: hidden;
|
|
25
25
|
background-size: cover;
|
|
26
26
|
}
|
|
27
|
-
.skeleton-wrapper[data-v-
|
|
27
|
+
.skeleton-wrapper[data-v-445a06d8] {
|
|
28
28
|
overflow: hidden;
|
|
29
29
|
}
|
|
30
|
-
.ecan-text[data-v-
|
|
30
|
+
.ecan-text[data-v-445a06d8] {
|
|
31
31
|
overflow: hidden;
|
|
32
32
|
display: flex;
|
|
33
33
|
}
|
|
@@ -694,16 +694,16 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
694
694
|
width: 100%;
|
|
695
695
|
overflow: hidden;
|
|
696
696
|
}
|
|
697
|
-
.table[data-v-
|
|
697
|
+
.table[data-v-915e7876] {
|
|
698
698
|
width: 100%;
|
|
699
699
|
}
|
|
700
|
-
.goUp[data-v-
|
|
700
|
+
.goUp[data-v-915e7876] {
|
|
701
701
|
color: #FF512E;
|
|
702
702
|
display: flex;
|
|
703
703
|
align-items: center;
|
|
704
704
|
justify-content: center;
|
|
705
705
|
}
|
|
706
|
-
.goUp[data-v-
|
|
706
|
+
.goUp[data-v-915e7876]:before {
|
|
707
707
|
content: '';
|
|
708
708
|
display: block;
|
|
709
709
|
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=");
|
|
@@ -713,13 +713,13 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
713
713
|
background-size: cover;
|
|
714
714
|
margin-right: 2px;
|
|
715
715
|
}
|
|
716
|
-
.goDown[data-v-
|
|
716
|
+
.goDown[data-v-915e7876] {
|
|
717
717
|
color: #39cf93;
|
|
718
718
|
display: flex;
|
|
719
719
|
align-items: center;
|
|
720
720
|
justify-content: center;
|
|
721
721
|
}
|
|
722
|
-
.goDown[data-v-
|
|
722
|
+
.goDown[data-v-915e7876]:before {
|
|
723
723
|
content: '';
|
|
724
724
|
display: block;
|
|
725
725
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6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 -729,13 +729,51 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
729
729
|
background-size: cover;
|
|
730
730
|
margin-right: 2px;
|
|
731
731
|
}
|
|
732
|
-
.action-list[data-v-
|
|
732
|
+
.action-list[data-v-915e7876] {
|
|
733
733
|
display: flex;
|
|
734
734
|
width: 100%;
|
|
735
735
|
}
|
|
736
|
-
.action[data-v-
|
|
736
|
+
.action[data-v-915e7876] {
|
|
737
737
|
flex: 1;
|
|
738
738
|
}
|
|
739
|
+
.filter-input[data-v-915e7876] {
|
|
740
|
+
width: 188px;
|
|
741
|
+
margin-bottom: 8px;
|
|
742
|
+
display: block;
|
|
743
|
+
}
|
|
744
|
+
.filter-checkbox[data-v-915e7876] {
|
|
745
|
+
width: 188px;
|
|
746
|
+
margin-bottom: 8px;
|
|
747
|
+
}
|
|
748
|
+
.ecan-table-filter {
|
|
749
|
+
padding: 8px;
|
|
750
|
+
display: flex;
|
|
751
|
+
flex-direction: column;
|
|
752
|
+
}
|
|
753
|
+
.ecan-table-filter .ant-checkbox-group {
|
|
754
|
+
display: flex;
|
|
755
|
+
flex-direction: column;
|
|
756
|
+
flex: 1;
|
|
757
|
+
overflow-y: auto;
|
|
758
|
+
overflow-x: hidden;
|
|
759
|
+
}
|
|
760
|
+
.ecan-table-filter .ant-checkbox-wrapper {
|
|
761
|
+
width: 100%;
|
|
762
|
+
padding: 5px 0;
|
|
763
|
+
font-size: 16px;
|
|
764
|
+
}
|
|
765
|
+
.ecan-table-filter .ant-checkbox-wrapper:hover {
|
|
766
|
+
background-color: #f5f5f5;
|
|
767
|
+
}
|
|
768
|
+
.ecan-table-filter .ant-checkbox-wrapper .ant-checkbox + span {
|
|
769
|
+
width: 100%;
|
|
770
|
+
word-break: break-all;
|
|
771
|
+
overflow: hidden;
|
|
772
|
+
text-overflow: ellipsis;
|
|
773
|
+
display: -webkit-box;
|
|
774
|
+
-webkit-line-clamp: 3;
|
|
775
|
+
-webkit-box-orient: vertical;
|
|
776
|
+
}
|
|
739
777
|
.ecan-table .highlight {
|
|
740
778
|
background: #e6f7ff !important;
|
|
741
779
|
}
|
|
@@ -769,7 +807,7 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
769
807
|
border-right: 1px solid #f0f0f0 !important;
|
|
770
808
|
}
|
|
771
809
|
.ecan-table .anticon {
|
|
772
|
-
color:
|
|
810
|
+
color: #bfbfbf;
|
|
773
811
|
}
|
|
774
812
|
[datav-theme='darkBlue'] .ecan-table .highlight {
|
|
775
813
|
background: #225b98 !important;
|
|
@@ -820,7 +858,7 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
820
858
|
[datav-theme='darkBlue'] td.ant-table-column-sort {
|
|
821
859
|
background: #225b98;
|
|
822
860
|
}
|
|
823
|
-
.ecan-map[data-v-
|
|
861
|
+
.ecan-map[data-v-1eea2b3c] {
|
|
824
862
|
display: flex;
|
|
825
863
|
justify-content: center;
|
|
826
864
|
align-items: center;
|
package/package.json
CHANGED
package/types/map/map/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const EcanMap: import(
|
|
1
|
+
export declare const EcanMap: import('../../utils/withInstall').SFCWithInstall<import("vue").DefineComponent<{
|
|
2
2
|
mapJson: {
|
|
3
3
|
type?: undefined;
|
|
4
4
|
default?: undefined;
|
|
@@ -439,6 +439,26 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
439
439
|
[key: string]: any;
|
|
440
440
|
}[];
|
|
441
441
|
};
|
|
442
|
+
filterDropdownHeight: {
|
|
443
|
+
type?: undefined;
|
|
444
|
+
default?: undefined;
|
|
445
|
+
} | {
|
|
446
|
+
type: any;
|
|
447
|
+
default: string | number | boolean | import("../../utils/props").Events | {
|
|
448
|
+
[key: string]: any;
|
|
449
|
+
} | import("../../utils/props").RequestParams | {
|
|
450
|
+
[key: string]: any;
|
|
451
|
+
}[] | {
|
|
452
|
+
[key: string]: any;
|
|
453
|
+
chartType: "table";
|
|
454
|
+
plugin: "1";
|
|
455
|
+
layer: "1";
|
|
456
|
+
} | {
|
|
457
|
+
[key: string]: any;
|
|
458
|
+
}[] | {
|
|
459
|
+
[key: string]: any;
|
|
460
|
+
}[];
|
|
461
|
+
};
|
|
442
462
|
graphicConfig: {
|
|
443
463
|
type?: undefined;
|
|
444
464
|
default?: undefined;
|
|
@@ -925,12 +945,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
925
945
|
tableChange: ({ current }: {
|
|
926
946
|
current: number;
|
|
927
947
|
}, _filters: any, sorter: any) => void;
|
|
928
|
-
myColumns: import("vue").Ref<{
|
|
929
|
-
[x: string]: any;
|
|
930
|
-
}[]>;
|
|
931
|
-
myDataSource: import("vue").Ref<{
|
|
932
|
-
[x: string]: any;
|
|
933
|
-
}[]>;
|
|
934
948
|
summaryList: import("vue").ComputedRef<{
|
|
935
949
|
[key: string]: any;
|
|
936
950
|
}[]>;
|
|
@@ -947,6 +961,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
947
961
|
tableDataSource: import("vue").Ref<{
|
|
948
962
|
[x: string]: any;
|
|
949
963
|
}[]>;
|
|
964
|
+
useFilterOptions: (column: any) => any;
|
|
965
|
+
useSetSelectedKeys: (setSelectedKeys: any, column: any) => void;
|
|
966
|
+
onResetFilter: (clearFilters: any, column: any) => void;
|
|
967
|
+
onSearchFilterOptions: () => void;
|
|
950
968
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
951
969
|
columns: {
|
|
952
970
|
type?: undefined;
|
|
@@ -1388,6 +1406,26 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1388
1406
|
[key: string]: any;
|
|
1389
1407
|
}[];
|
|
1390
1408
|
};
|
|
1409
|
+
filterDropdownHeight: {
|
|
1410
|
+
type?: undefined;
|
|
1411
|
+
default?: undefined;
|
|
1412
|
+
} | {
|
|
1413
|
+
type: any;
|
|
1414
|
+
default: string | number | boolean | import("../../utils/props").Events | {
|
|
1415
|
+
[key: string]: any;
|
|
1416
|
+
} | import("../../utils/props").RequestParams | {
|
|
1417
|
+
[key: string]: any;
|
|
1418
|
+
}[] | {
|
|
1419
|
+
[key: string]: any;
|
|
1420
|
+
chartType: "table";
|
|
1421
|
+
plugin: "1";
|
|
1422
|
+
layer: "1";
|
|
1423
|
+
} | {
|
|
1424
|
+
[key: string]: any;
|
|
1425
|
+
}[] | {
|
|
1426
|
+
[key: string]: any;
|
|
1427
|
+
}[];
|
|
1428
|
+
};
|
|
1391
1429
|
graphicConfig: {
|
|
1392
1430
|
type?: undefined;
|
|
1393
1431
|
default?: undefined;
|
|
@@ -439,6 +439,26 @@ export declare const EcanTable: import('../../utils/withInstall').SFCWithInstall
|
|
|
439
439
|
[key: string]: any;
|
|
440
440
|
}[];
|
|
441
441
|
};
|
|
442
|
+
filterDropdownHeight: {
|
|
443
|
+
type?: undefined;
|
|
444
|
+
default?: undefined;
|
|
445
|
+
} | {
|
|
446
|
+
type: any;
|
|
447
|
+
default: string | number | boolean | import("../../utils/props").Events | {
|
|
448
|
+
[key: string]: any;
|
|
449
|
+
} | import("../../utils/props").RequestParams | {
|
|
450
|
+
[key: string]: any;
|
|
451
|
+
}[] | {
|
|
452
|
+
[key: string]: any;
|
|
453
|
+
chartType: "table";
|
|
454
|
+
plugin: "1";
|
|
455
|
+
layer: "1";
|
|
456
|
+
} | {
|
|
457
|
+
[key: string]: any;
|
|
458
|
+
}[] | {
|
|
459
|
+
[key: string]: any;
|
|
460
|
+
}[];
|
|
461
|
+
};
|
|
442
462
|
graphicConfig: {
|
|
443
463
|
type?: undefined;
|
|
444
464
|
default?: undefined;
|
|
@@ -925,12 +945,6 @@ export declare const EcanTable: import('../../utils/withInstall').SFCWithInstall
|
|
|
925
945
|
tableChange: ({ current }: {
|
|
926
946
|
current: number;
|
|
927
947
|
}, _filters: any, sorter: any) => void;
|
|
928
|
-
myColumns: import("vue").Ref<{
|
|
929
|
-
[x: string]: any;
|
|
930
|
-
}[]>;
|
|
931
|
-
myDataSource: import("vue").Ref<{
|
|
932
|
-
[x: string]: any;
|
|
933
|
-
}[]>;
|
|
934
948
|
summaryList: import("vue").ComputedRef<{
|
|
935
949
|
[key: string]: any;
|
|
936
950
|
}[]>;
|
|
@@ -947,6 +961,10 @@ export declare const EcanTable: import('../../utils/withInstall').SFCWithInstall
|
|
|
947
961
|
tableDataSource: import("vue").Ref<{
|
|
948
962
|
[x: string]: any;
|
|
949
963
|
}[]>;
|
|
964
|
+
useFilterOptions: (column: any) => any;
|
|
965
|
+
useSetSelectedKeys: (setSelectedKeys: any, column: any) => void;
|
|
966
|
+
onResetFilter: (clearFilters: any, column: any) => void;
|
|
967
|
+
onSearchFilterOptions: () => void;
|
|
950
968
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
951
969
|
columns: {
|
|
952
970
|
type?: undefined;
|
|
@@ -1388,6 +1406,26 @@ export declare const EcanTable: import('../../utils/withInstall').SFCWithInstall
|
|
|
1388
1406
|
[key: string]: any;
|
|
1389
1407
|
}[];
|
|
1390
1408
|
};
|
|
1409
|
+
filterDropdownHeight: {
|
|
1410
|
+
type?: undefined;
|
|
1411
|
+
default?: undefined;
|
|
1412
|
+
} | {
|
|
1413
|
+
type: any;
|
|
1414
|
+
default: string | number | boolean | import("../../utils/props").Events | {
|
|
1415
|
+
[key: string]: any;
|
|
1416
|
+
} | import("../../utils/props").RequestParams | {
|
|
1417
|
+
[key: string]: any;
|
|
1418
|
+
}[] | {
|
|
1419
|
+
[key: string]: any;
|
|
1420
|
+
chartType: "table";
|
|
1421
|
+
plugin: "1";
|
|
1422
|
+
layer: "1";
|
|
1423
|
+
} | {
|
|
1424
|
+
[key: string]: any;
|
|
1425
|
+
}[] | {
|
|
1426
|
+
[key: string]: any;
|
|
1427
|
+
}[];
|
|
1428
|
+
};
|
|
1391
1429
|
graphicConfig: {
|
|
1392
1430
|
type?: undefined;
|
|
1393
1431
|
default?: undefined;
|
|
@@ -28,6 +28,7 @@ export interface TableProps extends Props {
|
|
|
28
28
|
fontWeight: number;
|
|
29
29
|
isReverse: boolean;
|
|
30
30
|
clickHighlight: boolean;
|
|
31
|
+
filterDropdownHeight: string;
|
|
31
32
|
graphicConfig: {
|
|
32
33
|
[key: string]: any;
|
|
33
34
|
chartType: 'table';
|
|
@@ -477,6 +478,26 @@ export declare const tableComponentProps: {
|
|
|
477
478
|
[key: string]: any;
|
|
478
479
|
}[];
|
|
479
480
|
};
|
|
481
|
+
filterDropdownHeight: {
|
|
482
|
+
type?: undefined;
|
|
483
|
+
default?: undefined;
|
|
484
|
+
} | {
|
|
485
|
+
type: any;
|
|
486
|
+
default: string | number | boolean | import('../../utils/props').Events | {
|
|
487
|
+
[key: string]: any;
|
|
488
|
+
} | import('../../utils/props').RequestParams | {
|
|
489
|
+
[key: string]: any;
|
|
490
|
+
}[] | {
|
|
491
|
+
[key: string]: any;
|
|
492
|
+
chartType: 'table';
|
|
493
|
+
plugin: '1';
|
|
494
|
+
layer: '1';
|
|
495
|
+
} | {
|
|
496
|
+
[key: string]: any;
|
|
497
|
+
}[] | {
|
|
498
|
+
[key: string]: any;
|
|
499
|
+
}[];
|
|
500
|
+
};
|
|
480
501
|
graphicConfig: {
|
|
481
502
|
type?: undefined;
|
|
482
503
|
default?: undefined;
|