@ecan-bi/datav 1.6.30 → 1.6.32

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecan-bi/datav",
3
- "version": "1.6.30",
3
+ "version": "1.6.32",
4
4
  "main": "dist/index.umd.js",
5
5
  "module": "dist/index.es.js",
6
6
  "types": "types/index.d.ts",
@@ -79,7 +79,7 @@
79
79
  },
80
80
  "dependencies": {
81
81
  "@ecan-bi/indicator-library": "^1.1.1",
82
- "@ecan-bi/tools": "^1.0.71",
82
+ "@ecan-bi/tools": "^1.0.73",
83
83
  "@microsoft/fetch-event-source": "2.0.1",
84
84
  "@types/big.js": "^6.1.6",
85
85
  "ant-design-vue": "^3.1.1",
@@ -71,6 +71,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
71
71
  type?: import("vue").PropType<number>;
72
72
  default?: number;
73
73
  };
74
+ maxTagTextLength: {
75
+ type?: import("vue").PropType<number>;
76
+ default?: number;
77
+ };
74
78
  id: {
75
79
  type?: import("vue").PropType<string>;
76
80
  default?: string;
@@ -248,6 +252,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
248
252
  isCheckAll: import("vue").Ref<boolean>;
249
253
  indeterminate: import("vue").Ref<boolean>;
250
254
  hideCheckAll: import("vue").Ref<boolean>;
255
+ selectOpen: import("vue").Ref<boolean>;
256
+ getTagLabelText: (label: any, ellipsis?: boolean) => string;
257
+ openDropdown: () => void;
251
258
  onSearch: (value: string) => void;
252
259
  onSelect: () => void;
253
260
  onOptionAll: (e: any) => void;
@@ -336,6 +343,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
336
343
  type?: import("vue").PropType<number>;
337
344
  default?: number;
338
345
  };
346
+ maxTagTextLength: {
347
+ type?: import("vue").PropType<number>;
348
+ default?: number;
349
+ };
339
350
  id: {
340
351
  type?: import("vue").PropType<string>;
341
352
  default?: string;
@@ -71,6 +71,10 @@ export declare const EcanSelect: import('../../utils/withInstall').SFCWithInstal
71
71
  type?: import("vue").PropType<number>;
72
72
  default?: number;
73
73
  };
74
+ maxTagTextLength: {
75
+ type?: import("vue").PropType<number>;
76
+ default?: number;
77
+ };
74
78
  id: {
75
79
  type?: import("vue").PropType<string>;
76
80
  default?: string;
@@ -248,6 +252,9 @@ export declare const EcanSelect: import('../../utils/withInstall').SFCWithInstal
248
252
  isCheckAll: import("vue").Ref<boolean>;
249
253
  indeterminate: import("vue").Ref<boolean>;
250
254
  hideCheckAll: import("vue").Ref<boolean>;
255
+ selectOpen: import("vue").Ref<boolean>;
256
+ getTagLabelText: (label: any, ellipsis?: boolean) => string;
257
+ openDropdown: () => void;
251
258
  onSearch: (value: string) => void;
252
259
  onSelect: () => void;
253
260
  onOptionAll: (e: any) => void;
@@ -336,6 +343,10 @@ export declare const EcanSelect: import('../../utils/withInstall').SFCWithInstal
336
343
  type?: import("vue").PropType<number>;
337
344
  default?: number;
338
345
  };
346
+ maxTagTextLength: {
347
+ type?: import("vue").PropType<number>;
348
+ default?: number;
349
+ };
339
350
  id: {
340
351
  type?: import("vue").PropType<string>;
341
352
  default?: string;
@@ -29,6 +29,7 @@ export interface SelectProps extends Props {
29
29
  optionFontSize: string;
30
30
  hasAllCheck: boolean;
31
31
  minTagCount: number;
32
+ maxTagTextLength: number;
32
33
  }
33
34
  export declare const selectProps: SelectProps;
34
35
  export declare const selectComponentProps: {
@@ -104,6 +105,10 @@ export declare const selectComponentProps: {
104
105
  type?: import("vue").PropType<number>;
105
106
  default?: number;
106
107
  };
108
+ maxTagTextLength: {
109
+ type?: import("vue").PropType<number>;
110
+ default?: number;
111
+ };
107
112
  id: {
108
113
  type?: import("vue").PropType<string>;
109
114
  default?: string;
@@ -2,11 +2,7 @@ declare const _sfc_main: {
2
2
  name: string;
3
3
  components: {
4
4
  ATreeSelect: any;
5
- ADivider: any;
6
- ACheckbox: any;
7
- VNodes: (_: any, { attrs }: {
8
- attrs: any;
9
- }) => any;
5
+ CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
10
6
  };
11
7
  props: {
12
8
  data: {
@@ -41,6 +37,10 @@ declare const _sfc_main: {
41
37
  type?: import("vue").PropType<string>;
42
38
  default?: string;
43
39
  };
40
+ maxTagTextLength: {
41
+ type?: import("vue").PropType<number>;
42
+ default?: number;
43
+ };
44
44
  treeCheckable: {
45
45
  type?: import("vue").PropType<boolean>;
46
46
  default?: boolean;
@@ -69,6 +69,10 @@ declare const _sfc_main: {
69
69
  type?: import("vue").PropType<boolean>;
70
70
  default?: boolean;
71
71
  };
72
+ isLinkageSekectAll: {
73
+ type?: import("vue").PropType<boolean>;
74
+ default?: boolean;
75
+ };
72
76
  id: {
73
77
  type?: import("vue").PropType<string>;
74
78
  default?: string;
@@ -223,6 +227,11 @@ declare const _sfc_main: {
223
227
  }): {
224
228
  style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
225
229
  treeData: any;
230
+ treeRenderKey: import("vue").Ref<number>;
231
+ dropdownStyle: {
232
+ width: string;
233
+ maxWidth: string;
234
+ };
226
235
  filterTreeNode: (inputValue: string, treeNode: any) => boolean;
227
236
  myValue: import("vue").Ref<any>;
228
237
  loading: import("vue").Ref<boolean>;
@@ -231,6 +240,9 @@ declare const _sfc_main: {
231
240
  isCheckAll: import("vue").Ref<boolean>;
232
241
  indeterminate: import("vue").Ref<boolean>;
233
242
  hideCheckAll: import("vue").Ref<boolean>;
243
+ treeSelectOpen: import("vue").Ref<boolean>;
244
+ getTagLabelText: (label: any, ellipsis?: boolean) => string;
245
+ openDropdown: () => void;
234
246
  renderDropdown: ({ menuNode }: {
235
247
  menuNode: any;
236
248
  }) => any;
@@ -2,11 +2,7 @@ export declare const EcanTreeSelect: import('../../utils/withInstall').SFCWithIn
2
2
  name: string;
3
3
  components: {
4
4
  ATreeSelect: any;
5
- ADivider: any;
6
- ACheckbox: any;
7
- VNodes: (_: any, { attrs }: {
8
- attrs: any;
9
- }) => any;
5
+ CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
10
6
  };
11
7
  props: {
12
8
  data: {
@@ -41,6 +37,10 @@ export declare const EcanTreeSelect: import('../../utils/withInstall').SFCWithIn
41
37
  type?: import("vue").PropType<string>;
42
38
  default?: string;
43
39
  };
40
+ maxTagTextLength: {
41
+ type?: import("vue").PropType<number>;
42
+ default?: number;
43
+ };
44
44
  treeCheckable: {
45
45
  type?: import("vue").PropType<boolean>;
46
46
  default?: boolean;
@@ -69,6 +69,10 @@ export declare const EcanTreeSelect: import('../../utils/withInstall').SFCWithIn
69
69
  type?: import("vue").PropType<boolean>;
70
70
  default?: boolean;
71
71
  };
72
+ isLinkageSekectAll: {
73
+ type?: import("vue").PropType<boolean>;
74
+ default?: boolean;
75
+ };
72
76
  id: {
73
77
  type?: import("vue").PropType<string>;
74
78
  default?: string;
@@ -223,6 +227,11 @@ export declare const EcanTreeSelect: import('../../utils/withInstall').SFCWithIn
223
227
  }): {
224
228
  style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
225
229
  treeData: any;
230
+ treeRenderKey: import("vue").Ref<number>;
231
+ dropdownStyle: {
232
+ width: string;
233
+ maxWidth: string;
234
+ };
226
235
  filterTreeNode: (inputValue: string, treeNode: any) => boolean;
227
236
  myValue: import("vue").Ref<any>;
228
237
  loading: import("vue").Ref<boolean>;
@@ -231,6 +240,9 @@ export declare const EcanTreeSelect: import('../../utils/withInstall').SFCWithIn
231
240
  isCheckAll: import("vue").Ref<boolean>;
232
241
  indeterminate: import("vue").Ref<boolean>;
233
242
  hideCheckAll: import("vue").Ref<boolean>;
243
+ treeSelectOpen: import("vue").Ref<boolean>;
244
+ getTagLabelText: (label: any, ellipsis?: boolean) => string;
245
+ openDropdown: () => void;
234
246
  renderDropdown: ({ menuNode }: {
235
247
  menuNode: any;
236
248
  }) => any;
@@ -21,6 +21,7 @@ export interface TreeSelectProps extends Props {
21
21
  multiple: boolean;
22
22
  maxTagCount: number | undefined;
23
23
  placeholder: string;
24
+ maxTagTextLength: number;
24
25
  treeCheckable: boolean;
25
26
  treeCheckStrictly: boolean;
26
27
  selectFirstOption: boolean;
@@ -29,6 +30,7 @@ export interface TreeSelectProps extends Props {
29
30
  };
30
31
  selectAllOption: boolean;
31
32
  hasAllCheck: boolean;
33
+ isLinkageSekectAll: boolean;
32
34
  }
33
35
  export declare const treeSelectProps: TreeSelectProps;
34
36
  export declare const treeSelectComponentProps: {
@@ -64,6 +66,10 @@ export declare const treeSelectComponentProps: {
64
66
  type?: import("vue").PropType<string>;
65
67
  default?: string;
66
68
  };
69
+ maxTagTextLength: {
70
+ type?: import("vue").PropType<number>;
71
+ default?: number;
72
+ };
67
73
  treeCheckable: {
68
74
  type?: import("vue").PropType<boolean>;
69
75
  default?: boolean;
@@ -92,6 +98,10 @@ export declare const treeSelectComponentProps: {
92
98
  type?: import("vue").PropType<boolean>;
93
99
  default?: boolean;
94
100
  };
101
+ isLinkageSekectAll: {
102
+ type?: import("vue").PropType<boolean>;
103
+ default?: boolean;
104
+ };
95
105
  id: {
96
106
  type?: import("vue").PropType<string>;
97
107
  default?: string;
@@ -27,10 +27,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
27
27
  type?: import("vue").PropType<"left" | "center" | "right">;
28
28
  default?: "left" | "center" | "right";
29
29
  };
30
- colors: {
31
- type?: import("vue").PropType<string[]>;
32
- default?: string[];
33
- };
34
30
  legendShow: {
35
31
  type?: import("vue").PropType<boolean>;
36
32
  default?: boolean;
@@ -381,6 +377,30 @@ declare const _sfc_main: import("vue").DefineComponent<{
381
377
  type?: import("vue").PropType<string>;
382
378
  default?: string;
383
379
  };
380
+ visualColorKey: {
381
+ type?: import("vue").PropType<string>;
382
+ default?: string;
383
+ };
384
+ visualColorCondition: {
385
+ type?: import("vue").PropType<{
386
+ [key: string]: any;
387
+ }[]>;
388
+ default?: {
389
+ [key: string]: any;
390
+ }[];
391
+ };
392
+ visualSizeKey: {
393
+ type?: import("vue").PropType<string>;
394
+ default?: string;
395
+ };
396
+ visualSizeCondition: {
397
+ type?: import("vue").PropType<{
398
+ [key: string]: any;
399
+ }[]>;
400
+ default?: {
401
+ [key: string]: any;
402
+ }[];
403
+ };
384
404
  id: {
385
405
  type?: import("vue").PropType<string>;
386
406
  default?: string;
@@ -563,10 +583,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
563
583
  type?: import("vue").PropType<"left" | "center" | "right">;
564
584
  default?: "left" | "center" | "right";
565
585
  };
566
- colors: {
567
- type?: import("vue").PropType<string[]>;
568
- default?: string[];
569
- };
570
586
  legendShow: {
571
587
  type?: import("vue").PropType<boolean>;
572
588
  default?: boolean;
@@ -917,6 +933,30 @@ declare const _sfc_main: import("vue").DefineComponent<{
917
933
  type?: import("vue").PropType<string>;
918
934
  default?: string;
919
935
  };
936
+ visualColorKey: {
937
+ type?: import("vue").PropType<string>;
938
+ default?: string;
939
+ };
940
+ visualColorCondition: {
941
+ type?: import("vue").PropType<{
942
+ [key: string]: any;
943
+ }[]>;
944
+ default?: {
945
+ [key: string]: any;
946
+ }[];
947
+ };
948
+ visualSizeKey: {
949
+ type?: import("vue").PropType<string>;
950
+ default?: string;
951
+ };
952
+ visualSizeCondition: {
953
+ type?: import("vue").PropType<{
954
+ [key: string]: any;
955
+ }[]>;
956
+ default?: {
957
+ [key: string]: any;
958
+ }[];
959
+ };
920
960
  id: {
921
961
  type?: import("vue").PropType<string>;
922
962
  default?: string;
@@ -27,10 +27,6 @@ export declare const EcanScatter: import('../../utils/withInstall').SFCWithInsta
27
27
  type?: import("vue").PropType<"left" | "center" | "right">;
28
28
  default?: "left" | "center" | "right";
29
29
  };
30
- colors: {
31
- type?: import("vue").PropType<string[]>;
32
- default?: string[];
33
- };
34
30
  legendShow: {
35
31
  type?: import("vue").PropType<boolean>;
36
32
  default?: boolean;
@@ -381,6 +377,30 @@ export declare const EcanScatter: import('../../utils/withInstall').SFCWithInsta
381
377
  type?: import("vue").PropType<string>;
382
378
  default?: string;
383
379
  };
380
+ visualColorKey: {
381
+ type?: import("vue").PropType<string>;
382
+ default?: string;
383
+ };
384
+ visualColorCondition: {
385
+ type?: import("vue").PropType<{
386
+ [key: string]: any;
387
+ }[]>;
388
+ default?: {
389
+ [key: string]: any;
390
+ }[];
391
+ };
392
+ visualSizeKey: {
393
+ type?: import("vue").PropType<string>;
394
+ default?: string;
395
+ };
396
+ visualSizeCondition: {
397
+ type?: import("vue").PropType<{
398
+ [key: string]: any;
399
+ }[]>;
400
+ default?: {
401
+ [key: string]: any;
402
+ }[];
403
+ };
384
404
  id: {
385
405
  type?: import("vue").PropType<string>;
386
406
  default?: string;
@@ -563,10 +583,6 @@ export declare const EcanScatter: import('../../utils/withInstall').SFCWithInsta
563
583
  type?: import("vue").PropType<"left" | "center" | "right">;
564
584
  default?: "left" | "center" | "right";
565
585
  };
566
- colors: {
567
- type?: import("vue").PropType<string[]>;
568
- default?: string[];
569
- };
570
586
  legendShow: {
571
587
  type?: import("vue").PropType<boolean>;
572
588
  default?: boolean;
@@ -917,6 +933,30 @@ export declare const EcanScatter: import('../../utils/withInstall').SFCWithInsta
917
933
  type?: import("vue").PropType<string>;
918
934
  default?: string;
919
935
  };
936
+ visualColorKey: {
937
+ type?: import("vue").PropType<string>;
938
+ default?: string;
939
+ };
940
+ visualColorCondition: {
941
+ type?: import("vue").PropType<{
942
+ [key: string]: any;
943
+ }[]>;
944
+ default?: {
945
+ [key: string]: any;
946
+ }[];
947
+ };
948
+ visualSizeKey: {
949
+ type?: import("vue").PropType<string>;
950
+ default?: string;
951
+ };
952
+ visualSizeCondition: {
953
+ type?: import("vue").PropType<{
954
+ [key: string]: any;
955
+ }[]>;
956
+ default?: {
957
+ [key: string]: any;
958
+ }[];
959
+ };
920
960
  id: {
921
961
  type?: import("vue").PropType<string>;
922
962
  default?: string;
@@ -7,7 +7,6 @@ export interface ScatterProps extends Props {
7
7
  titleColor: string;
8
8
  fontWeight: number;
9
9
  textAlign: 'left' | 'right' | 'center';
10
- colors: string[];
11
10
  legendShow: boolean;
12
11
  tooltipShow: boolean;
13
12
  tooltipTrigger: 'item' | 'axis' | 'none';
@@ -101,6 +100,14 @@ export interface ScatterProps extends Props {
101
100
  labelWidth: number;
102
101
  labelOverflow: 'none' | 'truncate' | 'break';
103
102
  labelFormatter: string;
103
+ visualColorKey: string;
104
+ visualColorCondition: {
105
+ [key: string]: any;
106
+ }[];
107
+ visualSizeKey: string;
108
+ visualSizeCondition: {
109
+ [key: string]: any;
110
+ }[];
104
111
  }
105
112
  export declare const scatterProps: ScatterProps;
106
113
  export declare const scatterComponentProps: {
@@ -132,10 +139,6 @@ export declare const scatterComponentProps: {
132
139
  type?: import("vue").PropType<"left" | "center" | "right">;
133
140
  default?: "left" | "center" | "right";
134
141
  };
135
- colors: {
136
- type?: import("vue").PropType<string[]>;
137
- default?: string[];
138
- };
139
142
  legendShow: {
140
143
  type?: import("vue").PropType<boolean>;
141
144
  default?: boolean;
@@ -486,6 +489,30 @@ export declare const scatterComponentProps: {
486
489
  type?: import("vue").PropType<string>;
487
490
  default?: string;
488
491
  };
492
+ visualColorKey: {
493
+ type?: import("vue").PropType<string>;
494
+ default?: string;
495
+ };
496
+ visualColorCondition: {
497
+ type?: import("vue").PropType<{
498
+ [key: string]: any;
499
+ }[]>;
500
+ default?: {
501
+ [key: string]: any;
502
+ }[];
503
+ };
504
+ visualSizeKey: {
505
+ type?: import("vue").PropType<string>;
506
+ default?: string;
507
+ };
508
+ visualSizeCondition: {
509
+ type?: import("vue").PropType<{
510
+ [key: string]: any;
511
+ }[]>;
512
+ default?: {
513
+ [key: string]: any;
514
+ }[];
515
+ };
489
516
  id: {
490
517
  type?: import("vue").PropType<string>;
491
518
  default?: string;
@@ -421,7 +421,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
421
421
  style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
422
422
  pagination: import("vue").ComputedRef<any>;
423
423
  formatFn: (value: string | number, column: any) => string | number;
424
- contrastClass: (format: "" | "boolean" | "progress" | "custom" | "money" | "percentage" | "contrast" | "decimals") => "" | "upDown";
424
+ contrastClass: (format: "" | "boolean" | "progress" | "custom" | "money" | "percentage" | "contrast" | "decimals" | "thousands") => "" | "upDown";
425
425
  tableChange: ({ current }: {
426
426
  current: number;
427
427
  }, _filters: any, sorter: any) => void;
@@ -421,7 +421,7 @@ export declare const EcanTable: import('../../utils/withInstall').SFCWithInstall
421
421
  style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
422
422
  pagination: import("vue").ComputedRef<any>;
423
423
  formatFn: (value: string | number, column: any) => string | number;
424
- contrastClass: (format: "" | "boolean" | "progress" | "custom" | "money" | "percentage" | "contrast" | "decimals") => "" | "upDown";
424
+ contrastClass: (format: "" | "boolean" | "progress" | "custom" | "money" | "percentage" | "contrast" | "decimals" | "thousands") => "" | "upDown";
425
425
  tableChange: ({ current }: {
426
426
  current: number;
427
427
  }, _filters: any, sorter: any) => void;
@@ -36,8 +36,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
36
36
  default?: string;
37
37
  };
38
38
  format: {
39
- type?: import("vue").PropType<"" | "money" | "percentage" | "percent" | "thousands">;
40
- default?: "" | "money" | "percentage" | "percent" | "thousands";
39
+ type?: import("vue").PropType<"" | "money" | "percentage" | "thousands" | "percent">;
40
+ default?: "" | "money" | "percentage" | "thousands" | "percent";
41
41
  };
42
42
  href: {
43
43
  type?: import("vue").PropType<string>;
@@ -601,8 +601,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
601
601
  default?: string;
602
602
  };
603
603
  format: {
604
- type?: import("vue").PropType<"" | "money" | "percentage" | "percent" | "thousands">;
605
- default?: "" | "money" | "percentage" | "percent" | "thousands";
604
+ type?: import("vue").PropType<"" | "money" | "percentage" | "thousands" | "percent">;
605
+ default?: "" | "money" | "percentage" | "thousands" | "percent";
606
606
  };
607
607
  href: {
608
608
  type?: import("vue").PropType<string>;
@@ -36,8 +36,8 @@ export declare const EcanText: import("../../utils/withInstall").SFCWithInstall<
36
36
  default?: string;
37
37
  };
38
38
  format: {
39
- type?: import("vue").PropType<"" | "money" | "percentage" | "percent" | "thousands">;
40
- default?: "" | "money" | "percentage" | "percent" | "thousands";
39
+ type?: import("vue").PropType<"" | "money" | "percentage" | "thousands" | "percent">;
40
+ default?: "" | "money" | "percentage" | "thousands" | "percent";
41
41
  };
42
42
  href: {
43
43
  type?: import("vue").PropType<string>;
@@ -601,8 +601,8 @@ export declare const EcanText: import("../../utils/withInstall").SFCWithInstall<
601
601
  default?: string;
602
602
  };
603
603
  format: {
604
- type?: import("vue").PropType<"" | "money" | "percentage" | "percent" | "thousands">;
605
- default?: "" | "money" | "percentage" | "percent" | "thousands";
604
+ type?: import("vue").PropType<"" | "money" | "percentage" | "thousands" | "percent">;
605
+ default?: "" | "money" | "percentage" | "thousands" | "percent";
606
606
  };
607
607
  href: {
608
608
  type?: import("vue").PropType<string>;
@@ -101,8 +101,8 @@ export declare const textComponentProps: {
101
101
  default?: string;
102
102
  };
103
103
  format: {
104
- type?: import("vue").PropType<"" | "money" | "percentage" | "percent" | "thousands">;
105
- default?: "" | "money" | "percentage" | "percent" | "thousands";
104
+ type?: import("vue").PropType<"" | "money" | "percentage" | "thousands" | "percent">;
105
+ default?: "" | "money" | "percentage" | "thousands" | "percent";
106
106
  };
107
107
  href: {
108
108
  type?: import("vue").PropType<string>;