@ecan-bi/datav 1.5.28 → 1.5.29

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.5.28",
3
+ "version": "1.5.29",
4
4
  "main": "dist/index.umd.js",
5
5
  "module": "dist/index.es.js",
6
6
  "types": "types/index.d.ts",
@@ -30,7 +30,7 @@
30
30
  "prepublishOnly": "npm run build"
31
31
  },
32
32
  "devDependencies": {
33
- "@ecan-bi/tools": "^1.0.51",
33
+ "@ecan-bi/tools": "^1.0.52",
34
34
  "@sucrase/jest-plugin": "^2.2.0",
35
35
  "@types/echarts": "^4.9.15",
36
36
  "@types/jest": "^26.0.23",
@@ -461,6 +461,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
461
461
  type?: import("vue").PropType<string>;
462
462
  default?: string;
463
463
  };
464
+ isForbidClick: {
465
+ type?: import("vue").PropType<boolean>;
466
+ default?: boolean;
467
+ };
464
468
  position: {
465
469
  type?: import("vue").PropType<string>;
466
470
  default?: string;
@@ -1205,6 +1209,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
1205
1209
  type?: import("vue").PropType<string>;
1206
1210
  default?: string;
1207
1211
  };
1212
+ isForbidClick: {
1213
+ type?: import("vue").PropType<boolean>;
1214
+ default?: boolean;
1215
+ };
1208
1216
  position: {
1209
1217
  type?: import("vue").PropType<string>;
1210
1218
  default?: string;
@@ -461,6 +461,10 @@ export declare const EcanLine: import("../../utils/withInstall").SFCWithInstall<
461
461
  type?: import("vue").PropType<string>;
462
462
  default?: string;
463
463
  };
464
+ isForbidClick: {
465
+ type?: import("vue").PropType<boolean>;
466
+ default?: boolean;
467
+ };
464
468
  position: {
465
469
  type?: import("vue").PropType<string>;
466
470
  default?: string;
@@ -1205,6 +1209,10 @@ export declare const EcanLine: import("../../utils/withInstall").SFCWithInstall<
1205
1209
  type?: import("vue").PropType<string>;
1206
1210
  default?: string;
1207
1211
  };
1212
+ isForbidClick: {
1213
+ type?: import("vue").PropType<boolean>;
1214
+ default?: boolean;
1215
+ };
1208
1216
  position: {
1209
1217
  type?: import("vue").PropType<string>;
1210
1218
  default?: string;
@@ -105,6 +105,7 @@ export interface LineProps extends Props {
105
105
  defaultRangeValue: boolean;
106
106
  startValue: string;
107
107
  endValue: string;
108
+ isForbidClick: boolean;
108
109
  }
109
110
  export declare const lineProps: {
110
111
  id: string;
@@ -228,6 +229,7 @@ export declare const lineProps: {
228
229
  defaultRangeValue: boolean;
229
230
  startValue: string;
230
231
  endValue: string;
232
+ isForbidClick: boolean;
231
233
  position: string;
232
234
  zIndex: number;
233
235
  isShow: boolean;
@@ -719,6 +721,10 @@ export declare const lineComponentProps: {
719
721
  type?: import("vue").PropType<string>;
720
722
  default?: string;
721
723
  };
724
+ isForbidClick: {
725
+ type?: import("vue").PropType<boolean>;
726
+ default?: boolean;
727
+ };
722
728
  position: {
723
729
  type?: import("vue").PropType<string>;
724
730
  default?: string;
@@ -106,42 +106,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
106
106
  }, {
107
107
  providerConfig: import("vue").Ref<HTMLElement>;
108
108
  configStyle: any;
109
- indDetailInfo: {
110
- keyName: string;
111
- visible: boolean;
112
- dataSource: any[];
113
- columns: any[];
114
- title: string;
115
- pagination: {
116
- current: number;
117
- pageSize: number;
118
- total: number;
119
- showSizeChanger: boolean;
120
- showQuickJumper: boolean;
121
- showTotal: (total: number) => string;
122
- };
123
- };
124
- pivotTableConfig: any;
125
109
  indicatorUrl: import("vue").ComputedRef<any>;
126
- pivotTableRef: import("vue").Ref<any>;
127
- isIndFullScreen: import("vue").Ref<boolean>;
128
- wrapClassName: import("vue").ComputedRef<string>;
129
110
  theme: import("vue").ComputedRef<"light" | "darkBlue">;
130
- detailLoading: import("vue").Ref<boolean>;
131
- conditionInfo: import("vue").Ref<any[]>;
111
+ drillModalRef: import("vue").Ref<any>;
132
112
  indDetailModalRef: import("vue").Ref<any>;
133
113
  trendModalRef: import("vue").Ref<any>;
134
- allDimensions: import("vue").Ref<any[]>;
135
114
  scaleValue: any;
136
115
  defaultPivotTableFontSize: import("vue").ComputedRef<number>;
137
- getContainer: () => Element;
138
- handleTableChange: (page: any) => void;
139
- toggleFullScreen: () => void;
140
- onDetailCancel: () => void;
141
- onPivotTableChange: ({ type, data }: {
142
- type: any;
143
- data: any;
144
- }) => void;
116
+ isMobile: import("vue").ComputedRef<boolean>;
145
117
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
146
118
  pageId: {
147
119
  type: StringConstructor;
@@ -0,0 +1,107 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{
2
+ theme: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ drillingMode: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ pageMode: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ scaleValue: {
15
+ type: ObjectConstructor;
16
+ default: () => {};
17
+ };
18
+ pivotTableFontSize: {
19
+ type: NumberConstructor;
20
+ default: number;
21
+ };
22
+ width: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ }, {
27
+ indDetailInfo: {
28
+ keyName: string;
29
+ visible: boolean;
30
+ dataSource: any[];
31
+ columns: any[];
32
+ title: string;
33
+ pagination: {
34
+ current: number;
35
+ pageSize: number;
36
+ total: number;
37
+ showSizeChanger: boolean;
38
+ showQuickJumper: boolean;
39
+ showLessItems: boolean;
40
+ showTotal: (total: number) => string;
41
+ };
42
+ };
43
+ pivotTableConfig: any;
44
+ pivotTableStyle: import("vue").ComputedRef<{
45
+ width: any;
46
+ height: any;
47
+ }>;
48
+ detailBodyStyle: import("vue").ComputedRef<{
49
+ padding: string;
50
+ } | {
51
+ padding?: undefined;
52
+ }>;
53
+ wrapClassName: import("vue").ComputedRef<string>;
54
+ isIndFullScreen: import("vue").Ref<boolean>;
55
+ isMobile: boolean;
56
+ conditionInfo: import("vue").Ref<any[]>;
57
+ indicatorUrl: import("vue").ComputedRef<any>;
58
+ allDimensions: import("vue").Ref<any[]>;
59
+ detailLoading: import("vue").Ref<boolean>;
60
+ pivotTableRef: import("vue").Ref<any>;
61
+ lastDetailRef: import("vue").Ref<any>;
62
+ subDrillModalRef: import("vue").Ref<any>;
63
+ theDateInfo: any;
64
+ isShowSubDrillModal: import("vue").Ref<boolean>;
65
+ getContainer: () => Element;
66
+ toggleFullScreen: () => void;
67
+ onDetailCancel: () => void;
68
+ onPivotTableChange: ({ type, data }: {
69
+ type: any;
70
+ data: any;
71
+ }) => void;
72
+ handleTableChange: (page: any) => void;
73
+ onCloseModal: () => void;
74
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
75
+ theme: {
76
+ type: StringConstructor;
77
+ default: string;
78
+ };
79
+ drillingMode: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ };
83
+ pageMode: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ scaleValue: {
88
+ type: ObjectConstructor;
89
+ default: () => {};
90
+ };
91
+ pivotTableFontSize: {
92
+ type: NumberConstructor;
93
+ default: number;
94
+ };
95
+ width: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ };
99
+ }>>, {
100
+ pageMode: string;
101
+ width: string;
102
+ theme: string;
103
+ scaleValue: Record<string, any>;
104
+ drillingMode: string;
105
+ pivotTableFontSize: number;
106
+ }>;
107
+ export default _sfc_main;
@@ -0,0 +1,48 @@
1
+ export default _sfc_main;
2
+ declare const _sfc_main: import("vue").DefineComponent<{
3
+ theme: {
4
+ type: StringConstructor;
5
+ default: string;
6
+ };
7
+ theDateInfo: {
8
+ type: ObjectConstructor;
9
+ default: () => {};
10
+ };
11
+ }, {
12
+ visible: import("vue").Ref<boolean>;
13
+ loading: import("vue").Ref<boolean>;
14
+ pagination: import("vue").Ref<{
15
+ current: number;
16
+ pageSize: number;
17
+ total: number;
18
+ showSizeChanger: boolean;
19
+ showQuickJumper: boolean;
20
+ showTotal: (total: any) => string;
21
+ }>;
22
+ columns: import("vue").Ref<any[]>;
23
+ dataSource: import("vue").Ref<any[]>;
24
+ wrapClassName: import("vue").ComputedRef<string>;
25
+ detailBodyStyle: import("vue").ComputedRef<{
26
+ padding: string;
27
+ maxHeight?: undefined;
28
+ overflow?: undefined;
29
+ } | {
30
+ maxHeight: string;
31
+ overflow: string;
32
+ padding?: undefined;
33
+ }>;
34
+ handleTableChange: (page: any) => void;
35
+ getContainer: () => Element;
36
+ }, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
+ theme: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ theDateInfo: {
42
+ type: ObjectConstructor;
43
+ default: () => {};
44
+ };
45
+ }>>, {
46
+ theme: string;
47
+ theDateInfo: Record<string, any>;
48
+ }>;
@@ -0,0 +1,2 @@
1
+ import DrillModal from './DrillModal.vue';
2
+ export default DrillModal;
@@ -106,42 +106,14 @@ export declare const EcanProviderConfig: import('../../utils/withInstall').SFCWi
106
106
  }, {
107
107
  providerConfig: import("vue").Ref<HTMLElement>;
108
108
  configStyle: any;
109
- indDetailInfo: {
110
- keyName: string;
111
- visible: boolean;
112
- dataSource: any[];
113
- columns: any[];
114
- title: string;
115
- pagination: {
116
- current: number;
117
- pageSize: number;
118
- total: number;
119
- showSizeChanger: boolean;
120
- showQuickJumper: boolean;
121
- showTotal: (total: number) => string;
122
- };
123
- };
124
- pivotTableConfig: any;
125
109
  indicatorUrl: import("vue").ComputedRef<any>;
126
- pivotTableRef: import("vue").Ref<any>;
127
- isIndFullScreen: import("vue").Ref<boolean>;
128
- wrapClassName: import("vue").ComputedRef<string>;
129
110
  theme: import("vue").ComputedRef<"light" | "darkBlue">;
130
- detailLoading: import("vue").Ref<boolean>;
131
- conditionInfo: import("vue").Ref<any[]>;
111
+ drillModalRef: import("vue").Ref<any>;
132
112
  indDetailModalRef: import("vue").Ref<any>;
133
113
  trendModalRef: import("vue").Ref<any>;
134
- allDimensions: import("vue").Ref<any[]>;
135
114
  scaleValue: any;
136
115
  defaultPivotTableFontSize: import("vue").ComputedRef<number>;
137
- getContainer: () => Element;
138
- handleTableChange: (page: any) => void;
139
- toggleFullScreen: () => void;
140
- onDetailCancel: () => void;
141
- onPivotTableChange: ({ type, data }: {
142
- type: any;
143
- data: any;
144
- }) => void;
116
+ isMobile: import("vue").ComputedRef<boolean>;
145
117
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
146
118
  pageId: {
147
119
  type: StringConstructor;
@@ -19,6 +19,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
19
19
  transformOrigin?: undefined;
20
20
  }>;
21
21
  indDetailZoom: import("vue").Ref<number>;
22
+ isMobile: boolean;
22
23
  getContainer: () => Element;
23
24
  toggleFullScreen: () => void;
24
25
  onDetailCancel: () => void;
@@ -1,7 +1,21 @@
1
- declare const _sfc_main: import("vue").DefineComponent<{}, {
1
+ declare const _sfc_main: import("vue").DefineComponent<{
2
+ theme: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ }, {
2
7
  visible: import("vue").Ref<boolean>;
3
8
  componentConfig: import("vue").Ref<any>;
4
9
  lineRef: import("vue").Ref<any>;
10
+ wrapClassName: import("vue").ComputedRef<string>;
11
+ isMobile: boolean;
5
12
  getContainer: () => Element;
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
13
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ theme: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ }>>, {
19
+ theme: string;
20
+ }>;
7
21
  export default _sfc_main;
@@ -68,3 +68,4 @@ export declare function getNewValueFromUrlParams(pageId: string, keyName: string
68
68
  export declare function getFormatWh(target: any, pageTarget: any): number;
69
69
  export declare const hasChinese: (str: string) => boolean;
70
70
  export declare const dragModalAction: (e: any, target: string) => void;
71
+ export declare const getPageId: () => any;