@ecan-bi/datav 1.0.96 → 1.0.97

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/style.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! @ecan-bi/datav@1.0.96 */
1
+ /*! @ecan-bi/datav@1.0.97 */
2
2
  x-vue-echarts{display:block;width:100%;height:100%}
3
3
  .spin-wrapper {
4
4
  position: relative;
@@ -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-392a99da] {
697
+ .table[data-v-9d631b38] {
698
698
  width: 100%;
699
699
  }
700
- .goUp[data-v-392a99da] {
700
+ .goUp[data-v-9d631b38] {
701
701
  color: #FF512E;
702
702
  display: flex;
703
703
  align-items: center;
704
704
  justify-content: center;
705
705
  }
706
- .goUp[data-v-392a99da]:before {
706
+ .goUp[data-v-9d631b38]: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-392a99da] {
716
+ .goDown[data-v-9d631b38] {
717
717
  color: #39cf93;
718
718
  display: flex;
719
719
  align-items: center;
720
720
  justify-content: center;
721
721
  }
722
- .goDown[data-v-392a99da]:before {
722
+ .goDown[data-v-9d631b38]:before {
723
723
  content: '';
724
724
  display: block;
725
725
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIy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z3nPPPe+tK5fLqtF3tSESzRjFAJ4vemams4IaYqulCq9gEo34QGco+LcCg9hHaxW3jpsiBIZxmMp5kXQTRH1k8S4cZCxoE6//FaiXbEtThm87JjkPI+jN4E9xW4TAQoA/isjNFehCT8B3VoTAUID/xHURAn0B/g5fRQh0B/j7mOJkf2gTaKvY7YG8FsxXPe/hIVbgCTs5C+vAasU+xlooMGuLTrCVI/CDR0zVCgi9gzmUIgQmBbYmT+AdY5LjGMKWpNuaqHWKLrEY8JUkXeYi75iu4DzFfUi6ey9C4AvjeKviliTdRSHmsrvBbMU+lzNg0oidaLvox7LIK+IHdem/iqIROzL/jG+NrT1BRsXKNQAAAABJRU5ErkJggg==");
@@ -729,13 +729,16 @@ 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-392a99da] {
732
+ .action-list[data-v-9d631b38] {
733
733
  display: flex;
734
734
  width: 100%;
735
735
  }
736
- .action[data-v-392a99da] {
736
+ .action[data-v-9d631b38] {
737
737
  flex: 1;
738
738
  }
739
+ .ecan-table .highlight {
740
+ background: #e6f7ff !important;
741
+ }
739
742
  .ecan-table *::-webkit-scrollbar-thumb {
740
743
  border-radius: 3px;
741
744
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
@@ -768,6 +771,9 @@ x-vue-echarts{display:block;width:100%;height:100%}
768
771
  .ecan-table .anticon {
769
772
  color: rgba(0, 0, 0, 0.65) !important;
770
773
  }
774
+ [datav-theme='darkBlue'] .ecan-table .highlight {
775
+ background: #225b98 !important;
776
+ }
771
777
  [datav-theme='darkBlue'] .ecan-table *::-webkit-scrollbar-thumb {
772
778
  background-color: #2f4dac !important;
773
779
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecan-bi/datav",
3
- "version": "1.0.96",
3
+ "version": "1.0.97",
4
4
  "main": "./dist/index.umd.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "types": "./types/index.d.ts",
@@ -742,6 +742,34 @@ declare const _sfc_main: import("vue").DefineComponent<{
742
742
  layer: "2";
743
743
  };
744
744
  };
745
+ labelShow: {
746
+ type?: undefined;
747
+ default?: undefined;
748
+ } | {
749
+ type: any;
750
+ default: string | number | boolean | string[] | import('../../utils/props').Events | Data | KeyTypeDataFieldNames | ValueTypeDataFieldNames | {
751
+ [key: string]: any;
752
+ } | import('../../utils/props').RequestParams | {
753
+ [key: string]: any;
754
+ chartType: "bar";
755
+ plugin: "1";
756
+ layer: "2";
757
+ };
758
+ };
759
+ labelFontSize: {
760
+ type?: undefined;
761
+ default?: undefined;
762
+ } | {
763
+ type: any;
764
+ default: string | number | boolean | string[] | import('../../utils/props').Events | Data | KeyTypeDataFieldNames | ValueTypeDataFieldNames | {
765
+ [key: string]: any;
766
+ } | import('../../utils/props').RequestParams | {
767
+ [key: string]: any;
768
+ chartType: "bar";
769
+ plugin: "1";
770
+ layer: "2";
771
+ };
772
+ };
745
773
  id: {
746
774
  type?: undefined;
747
775
  default?: undefined;
@@ -1988,6 +2016,34 @@ declare const _sfc_main: import("vue").DefineComponent<{
1988
2016
  layer: "2";
1989
2017
  };
1990
2018
  };
2019
+ labelShow: {
2020
+ type?: undefined;
2021
+ default?: undefined;
2022
+ } | {
2023
+ type: any;
2024
+ default: string | number | boolean | string[] | import('../../utils/props').Events | Data | KeyTypeDataFieldNames | ValueTypeDataFieldNames | {
2025
+ [key: string]: any;
2026
+ } | import('../../utils/props').RequestParams | {
2027
+ [key: string]: any;
2028
+ chartType: "bar";
2029
+ plugin: "1";
2030
+ layer: "2";
2031
+ };
2032
+ };
2033
+ labelFontSize: {
2034
+ type?: undefined;
2035
+ default?: undefined;
2036
+ } | {
2037
+ type: any;
2038
+ default: string | number | boolean | string[] | import('../../utils/props').Events | Data | KeyTypeDataFieldNames | ValueTypeDataFieldNames | {
2039
+ [key: string]: any;
2040
+ } | import('../../utils/props').RequestParams | {
2041
+ [key: string]: any;
2042
+ chartType: "bar";
2043
+ plugin: "1";
2044
+ layer: "2";
2045
+ };
2046
+ };
1991
2047
  id: {
1992
2048
  type?: undefined;
1993
2049
  default?: undefined;
@@ -741,6 +741,34 @@ export declare const EcanBar: import('../../utils/withInstall').SFCWithInstall<i
741
741
  layer: "2";
742
742
  };
743
743
  };
744
+ labelShow: {
745
+ type?: undefined;
746
+ default?: undefined;
747
+ } | {
748
+ type: any;
749
+ default: string | number | boolean | string[] | import("../../utils/props").Events | import("../../utils/props").Data | import("../../utils/props").KeyTypeDataFieldNames | import("../../utils/props").ValueTypeDataFieldNames | {
750
+ [key: string]: any;
751
+ } | import("../../utils/props").RequestParams | {
752
+ [key: string]: any;
753
+ chartType: "bar";
754
+ plugin: "1";
755
+ layer: "2";
756
+ };
757
+ };
758
+ labelFontSize: {
759
+ type?: undefined;
760
+ default?: undefined;
761
+ } | {
762
+ type: any;
763
+ default: string | number | boolean | string[] | import("../../utils/props").Events | import("../../utils/props").Data | import("../../utils/props").KeyTypeDataFieldNames | import("../../utils/props").ValueTypeDataFieldNames | {
764
+ [key: string]: any;
765
+ } | import("../../utils/props").RequestParams | {
766
+ [key: string]: any;
767
+ chartType: "bar";
768
+ plugin: "1";
769
+ layer: "2";
770
+ };
771
+ };
744
772
  id: {
745
773
  type?: undefined;
746
774
  default?: undefined;
@@ -1987,6 +2015,34 @@ export declare const EcanBar: import('../../utils/withInstall').SFCWithInstall<i
1987
2015
  layer: "2";
1988
2016
  };
1989
2017
  };
2018
+ labelShow: {
2019
+ type?: undefined;
2020
+ default?: undefined;
2021
+ } | {
2022
+ type: any;
2023
+ default: string | number | boolean | string[] | import("../../utils/props").Events | import("../../utils/props").Data | import("../../utils/props").KeyTypeDataFieldNames | import("../../utils/props").ValueTypeDataFieldNames | {
2024
+ [key: string]: any;
2025
+ } | import("../../utils/props").RequestParams | {
2026
+ [key: string]: any;
2027
+ chartType: "bar";
2028
+ plugin: "1";
2029
+ layer: "2";
2030
+ };
2031
+ };
2032
+ labelFontSize: {
2033
+ type?: undefined;
2034
+ default?: undefined;
2035
+ } | {
2036
+ type: any;
2037
+ default: string | number | boolean | string[] | import("../../utils/props").Events | import("../../utils/props").Data | import("../../utils/props").KeyTypeDataFieldNames | import("../../utils/props").ValueTypeDataFieldNames | {
2038
+ [key: string]: any;
2039
+ } | import("../../utils/props").RequestParams | {
2040
+ [key: string]: any;
2041
+ chartType: "bar";
2042
+ plugin: "1";
2043
+ layer: "2";
2044
+ };
2045
+ };
1990
2046
  id: {
1991
2047
  type?: undefined;
1992
2048
  default?: undefined;
@@ -58,6 +58,8 @@ export interface BarProps extends Props {
58
58
  xAxisInverse: boolean;
59
59
  yAxisInverse: boolean;
60
60
  isStack: boolean;
61
+ labelShow: boolean;
62
+ labelFontSize: string;
61
63
  }
62
64
  export declare const barProps: BarProps;
63
65
  export declare const barComponentProps: {
@@ -803,6 +805,34 @@ export declare const barComponentProps: {
803
805
  layer: '2';
804
806
  };
805
807
  };
808
+ labelShow: {
809
+ type?: undefined;
810
+ default?: undefined;
811
+ } | {
812
+ type: any;
813
+ default: string | number | boolean | string[] | import('../../utils/props').Events | Data | KeyTypeDataFieldNames | ValueTypeDataFieldNames | {
814
+ [key: string]: any;
815
+ } | import('../../utils/props').RequestParams | {
816
+ [key: string]: any;
817
+ chartType: 'bar';
818
+ plugin: '1';
819
+ layer: '2';
820
+ };
821
+ };
822
+ labelFontSize: {
823
+ type?: undefined;
824
+ default?: undefined;
825
+ } | {
826
+ type: any;
827
+ default: string | number | boolean | string[] | import('../../utils/props').Events | Data | KeyTypeDataFieldNames | ValueTypeDataFieldNames | {
828
+ [key: string]: any;
829
+ } | import('../../utils/props').RequestParams | {
830
+ [key: string]: any;
831
+ chartType: 'bar';
832
+ plugin: '1';
833
+ layer: '2';
834
+ };
835
+ };
806
836
  id: {
807
837
  type?: undefined;
808
838
  default?: undefined;
@@ -419,6 +419,26 @@ declare const _sfc_main: import("vue").DefineComponent<{
419
419
  [key: string]: any;
420
420
  }[];
421
421
  };
422
+ clickHighlight: {
423
+ type?: undefined;
424
+ default?: undefined;
425
+ } | {
426
+ type: any;
427
+ default: string | number | boolean | import("../../utils/props").Events | {
428
+ [key: string]: any;
429
+ } | import("../../utils/props").RequestParams | {
430
+ [key: string]: any;
431
+ }[] | {
432
+ [key: string]: any;
433
+ chartType: "table";
434
+ plugin: "1";
435
+ layer: "1";
436
+ } | {
437
+ [key: string]: any;
438
+ }[] | {
439
+ [key: string]: any;
440
+ }[];
441
+ };
422
442
  graphicConfig: {
423
443
  type?: undefined;
424
444
  default?: undefined;
@@ -885,7 +905,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
885
905
  }>;
886
906
  y: import("vue").ComputedRef<number>;
887
907
  style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
888
- customRow: (record: any) => {
908
+ customRow: (record: any, index: any) => {
889
909
  onClick: () => void;
890
910
  };
891
911
  pagination: import("vue").ComputedRef<{
@@ -920,6 +940,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
920
940
  [key: string]: any;
921
941
  }) => string;
922
942
  handleHrefTarget: (target: 'self' | 'blank' | 'event') => string;
943
+ useRowIndex: import("vue").Ref<number>;
923
944
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
924
945
  columns: {
925
946
  type?: undefined;
@@ -1341,6 +1362,26 @@ declare const _sfc_main: import("vue").DefineComponent<{
1341
1362
  [key: string]: any;
1342
1363
  }[];
1343
1364
  };
1365
+ clickHighlight: {
1366
+ type?: undefined;
1367
+ default?: undefined;
1368
+ } | {
1369
+ type: any;
1370
+ default: string | number | boolean | import("../../utils/props").Events | {
1371
+ [key: string]: any;
1372
+ } | import("../../utils/props").RequestParams | {
1373
+ [key: string]: any;
1374
+ }[] | {
1375
+ [key: string]: any;
1376
+ chartType: "table";
1377
+ plugin: "1";
1378
+ layer: "1";
1379
+ } | {
1380
+ [key: string]: any;
1381
+ }[] | {
1382
+ [key: string]: any;
1383
+ }[];
1384
+ };
1344
1385
  graphicConfig: {
1345
1386
  type?: undefined;
1346
1387
  default?: undefined;
@@ -419,6 +419,26 @@ export declare const EcanTable: import('../../utils/withInstall').SFCWithInstall
419
419
  [key: string]: any;
420
420
  }[];
421
421
  };
422
+ clickHighlight: {
423
+ type?: undefined;
424
+ default?: undefined;
425
+ } | {
426
+ type: any;
427
+ default: string | number | boolean | import("../../utils/props").Events | {
428
+ [key: string]: any;
429
+ } | import("../../utils/props").RequestParams | {
430
+ [key: string]: any;
431
+ }[] | {
432
+ [key: string]: any;
433
+ chartType: "table";
434
+ plugin: "1";
435
+ layer: "1";
436
+ } | {
437
+ [key: string]: any;
438
+ }[] | {
439
+ [key: string]: any;
440
+ }[];
441
+ };
422
442
  graphicConfig: {
423
443
  type?: undefined;
424
444
  default?: undefined;
@@ -885,7 +905,7 @@ export declare const EcanTable: import('../../utils/withInstall').SFCWithInstall
885
905
  }>;
886
906
  y: import("vue").ComputedRef<number>;
887
907
  style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
888
- customRow: (record: any) => {
908
+ customRow: (record: any, index: any) => {
889
909
  onClick: () => void;
890
910
  };
891
911
  pagination: import("vue").ComputedRef<{
@@ -920,6 +940,7 @@ export declare const EcanTable: import('../../utils/withInstall').SFCWithInstall
920
940
  [key: string]: any;
921
941
  }) => string;
922
942
  handleHrefTarget: (target: "self" | "blank" | "event") => string;
943
+ useRowIndex: import("vue").Ref<number>;
923
944
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
924
945
  columns: {
925
946
  type?: undefined;
@@ -1341,6 +1362,26 @@ export declare const EcanTable: import('../../utils/withInstall').SFCWithInstall
1341
1362
  [key: string]: any;
1342
1363
  }[];
1343
1364
  };
1365
+ clickHighlight: {
1366
+ type?: undefined;
1367
+ default?: undefined;
1368
+ } | {
1369
+ type: any;
1370
+ default: string | number | boolean | import("../../utils/props").Events | {
1371
+ [key: string]: any;
1372
+ } | import("../../utils/props").RequestParams | {
1373
+ [key: string]: any;
1374
+ }[] | {
1375
+ [key: string]: any;
1376
+ chartType: "table";
1377
+ plugin: "1";
1378
+ layer: "1";
1379
+ } | {
1380
+ [key: string]: any;
1381
+ }[] | {
1382
+ [key: string]: any;
1383
+ }[];
1384
+ };
1344
1385
  graphicConfig: {
1345
1386
  type?: undefined;
1346
1387
  default?: undefined;
@@ -27,6 +27,7 @@ export interface TableProps extends Props {
27
27
  fontSize: string;
28
28
  fontWeight: number;
29
29
  isReverse: boolean;
30
+ clickHighlight: boolean;
30
31
  graphicConfig: {
31
32
  [key: string]: any;
32
33
  chartType: 'table';
@@ -456,6 +457,26 @@ export declare const tableComponentProps: {
456
457
  [key: string]: any;
457
458
  }[];
458
459
  };
460
+ clickHighlight: {
461
+ type?: undefined;
462
+ default?: undefined;
463
+ } | {
464
+ type: any;
465
+ default: string | number | boolean | import('../../utils/props').Events | {
466
+ [key: string]: any;
467
+ } | import('../../utils/props').RequestParams | {
468
+ [key: string]: any;
469
+ }[] | {
470
+ [key: string]: any;
471
+ chartType: 'table';
472
+ plugin: '1';
473
+ layer: '1';
474
+ } | {
475
+ [key: string]: any;
476
+ }[] | {
477
+ [key: string]: any;
478
+ }[];
479
+ };
459
480
  graphicConfig: {
460
481
  type?: undefined;
461
482
  default?: undefined;