@ecan-bi/datav 1.6.41 → 1.6.43
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 +9617 -9469
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +45 -45
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/types/container/flow-layout/FlowLayout.vue.d.ts +350 -0
- package/types/container/flow-layout/index.d.ts +351 -0
- package/types/container/flow-layout/props.d.ts +185 -0
- package/types/container/index.d.ts +1 -0
- package/types/setting/provider-config/drill-modal/DrillModal.vue.d.ts +11 -2
- package/types/setting/provider-config/drill-modal/LastDetail.vue.d.ts +2 -2
- package/types/text/text/Text.vue.d.ts +1 -0
- package/types/text/text/index.d.ts +1 -0
- package/types/utils/util.d.ts +1 -0
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { Props } from '../../utils/props';
|
|
2
|
+
export interface FlowLayoutProps extends Props {
|
|
3
|
+
layOutType: 'col' | 'row';
|
|
4
|
+
isFlex: boolean;
|
|
5
|
+
isWrap: boolean;
|
|
6
|
+
showOverflowX: boolean;
|
|
7
|
+
showOverflowY: boolean;
|
|
8
|
+
batchInsertColRow: null;
|
|
9
|
+
}
|
|
10
|
+
export declare const flowLayoutProps: FlowLayoutProps;
|
|
11
|
+
export declare const flowLayoutComponentProps: {
|
|
12
|
+
layOutType: {
|
|
13
|
+
type?: import("vue").PropType<"col" | "row">;
|
|
14
|
+
default?: "col" | "row";
|
|
15
|
+
};
|
|
16
|
+
isFlex: {
|
|
17
|
+
type?: import("vue").PropType<boolean>;
|
|
18
|
+
default?: boolean;
|
|
19
|
+
};
|
|
20
|
+
isWrap: {
|
|
21
|
+
type?: import("vue").PropType<boolean>;
|
|
22
|
+
default?: boolean;
|
|
23
|
+
};
|
|
24
|
+
showOverflowX: {
|
|
25
|
+
type?: import("vue").PropType<boolean>;
|
|
26
|
+
default?: boolean;
|
|
27
|
+
};
|
|
28
|
+
showOverflowY: {
|
|
29
|
+
type?: import("vue").PropType<boolean>;
|
|
30
|
+
default?: boolean;
|
|
31
|
+
};
|
|
32
|
+
batchInsertColRow: {
|
|
33
|
+
type?: import("vue").PropType<null>;
|
|
34
|
+
default?: null;
|
|
35
|
+
};
|
|
36
|
+
id: {
|
|
37
|
+
type?: import("vue").PropType<string>;
|
|
38
|
+
default?: string;
|
|
39
|
+
};
|
|
40
|
+
name: {
|
|
41
|
+
type?: import("vue").PropType<string>;
|
|
42
|
+
default?: string;
|
|
43
|
+
};
|
|
44
|
+
keyName: {
|
|
45
|
+
type?: import("vue").PropType<string>;
|
|
46
|
+
default?: string;
|
|
47
|
+
};
|
|
48
|
+
type: {
|
|
49
|
+
type?: import("vue").PropType<string>;
|
|
50
|
+
default?: string;
|
|
51
|
+
};
|
|
52
|
+
width: {
|
|
53
|
+
type?: import("vue").PropType<string>;
|
|
54
|
+
default?: string;
|
|
55
|
+
};
|
|
56
|
+
height: {
|
|
57
|
+
type?: import("vue").PropType<string>;
|
|
58
|
+
default?: string;
|
|
59
|
+
};
|
|
60
|
+
position: {
|
|
61
|
+
type?: import("vue").PropType<string>;
|
|
62
|
+
default?: string;
|
|
63
|
+
};
|
|
64
|
+
top: {
|
|
65
|
+
type?: import("vue").PropType<string>;
|
|
66
|
+
default?: string;
|
|
67
|
+
};
|
|
68
|
+
left: {
|
|
69
|
+
type?: import("vue").PropType<string>;
|
|
70
|
+
default?: string;
|
|
71
|
+
};
|
|
72
|
+
zIndex: {
|
|
73
|
+
type?: import("vue").PropType<number>;
|
|
74
|
+
default?: number;
|
|
75
|
+
};
|
|
76
|
+
rotate: {
|
|
77
|
+
type?: import("vue").PropType<string>;
|
|
78
|
+
default?: string;
|
|
79
|
+
};
|
|
80
|
+
isShow: {
|
|
81
|
+
type?: import("vue").PropType<boolean>;
|
|
82
|
+
default?: boolean;
|
|
83
|
+
};
|
|
84
|
+
isRender: {
|
|
85
|
+
type?: import("vue").PropType<boolean>;
|
|
86
|
+
default?: boolean;
|
|
87
|
+
};
|
|
88
|
+
events: {
|
|
89
|
+
type?: import("vue").PropType<import('../../utils/props').Events>;
|
|
90
|
+
default?: import('../../utils/props').Events;
|
|
91
|
+
};
|
|
92
|
+
requestUrl: {
|
|
93
|
+
type?: import("vue").PropType<string>;
|
|
94
|
+
default?: string;
|
|
95
|
+
};
|
|
96
|
+
requestMethod: {
|
|
97
|
+
type?: import("vue").PropType<import('../../utils/props').RequestMethod>;
|
|
98
|
+
default?: import('../../utils/props').RequestMethod;
|
|
99
|
+
};
|
|
100
|
+
requestHeaders: {
|
|
101
|
+
type?: import("vue").PropType<string>;
|
|
102
|
+
default?: string;
|
|
103
|
+
};
|
|
104
|
+
isOpenRequestTimer: {
|
|
105
|
+
type?: import("vue").PropType<boolean>;
|
|
106
|
+
default?: boolean;
|
|
107
|
+
};
|
|
108
|
+
isViewRedrawing: {
|
|
109
|
+
type?: import("vue").PropType<boolean>;
|
|
110
|
+
default?: boolean;
|
|
111
|
+
};
|
|
112
|
+
requestInterval: {
|
|
113
|
+
type?: import("vue").PropType<number>;
|
|
114
|
+
default?: number;
|
|
115
|
+
};
|
|
116
|
+
requestParams: {
|
|
117
|
+
type?: import("vue").PropType<import('../../utils/props').RequestParams>;
|
|
118
|
+
default?: import('../../utils/props').RequestParams;
|
|
119
|
+
};
|
|
120
|
+
requestSort: {
|
|
121
|
+
type?: import("vue").PropType<number>;
|
|
122
|
+
default?: number;
|
|
123
|
+
};
|
|
124
|
+
dataType: {
|
|
125
|
+
type?: import("vue").PropType<"indicator" | "request" | "component" | "static">;
|
|
126
|
+
default?: "indicator" | "request" | "component" | "static";
|
|
127
|
+
};
|
|
128
|
+
scale?: {
|
|
129
|
+
type?: import("vue").PropType<number>;
|
|
130
|
+
default?: number;
|
|
131
|
+
};
|
|
132
|
+
requestParamsMode: {
|
|
133
|
+
type?: import("vue").PropType<"2" | "1">;
|
|
134
|
+
default?: "2" | "1";
|
|
135
|
+
};
|
|
136
|
+
customRequestParams: {
|
|
137
|
+
type?: import("vue").PropType<string>;
|
|
138
|
+
default?: string;
|
|
139
|
+
};
|
|
140
|
+
dataSetParam?: {
|
|
141
|
+
type?: import("vue").PropType<any>;
|
|
142
|
+
default?: any;
|
|
143
|
+
};
|
|
144
|
+
requestType?: {
|
|
145
|
+
type?: import("vue").PropType<any>;
|
|
146
|
+
default?: any;
|
|
147
|
+
};
|
|
148
|
+
componentDoc?: {
|
|
149
|
+
type?: import("vue").PropType<null>;
|
|
150
|
+
default?: null;
|
|
151
|
+
};
|
|
152
|
+
extendData?: {
|
|
153
|
+
type?: import("vue").PropType<{
|
|
154
|
+
[key: string]: any;
|
|
155
|
+
}>;
|
|
156
|
+
default?: {
|
|
157
|
+
[key: string]: any;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
toolboxShow?: {
|
|
161
|
+
type?: import("vue").PropType<boolean>;
|
|
162
|
+
default?: boolean;
|
|
163
|
+
};
|
|
164
|
+
isShowIndDetail?: {
|
|
165
|
+
type?: import("vue").PropType<boolean>;
|
|
166
|
+
default?: boolean;
|
|
167
|
+
};
|
|
168
|
+
isShowTrend?: {
|
|
169
|
+
type?: import("vue").PropType<boolean>;
|
|
170
|
+
default?: boolean;
|
|
171
|
+
};
|
|
172
|
+
isShowSource?: {
|
|
173
|
+
type?: import("vue").PropType<boolean>;
|
|
174
|
+
default?: boolean;
|
|
175
|
+
};
|
|
176
|
+
indDetailIconColor?: {
|
|
177
|
+
type?: import("vue").PropType<string>;
|
|
178
|
+
default?: string;
|
|
179
|
+
};
|
|
180
|
+
indDetailIconFontSize?: {
|
|
181
|
+
type?: import("vue").PropType<string>;
|
|
182
|
+
default?: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
export declare const flowLayoutEvents: any[];
|
|
@@ -113,6 +113,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
113
113
|
dropDownMenuVisible: import("vue").Ref<boolean>;
|
|
114
114
|
toBeSelectedDims: any;
|
|
115
115
|
unitMap: any;
|
|
116
|
+
pageSizeOptions: {
|
|
117
|
+
label: string;
|
|
118
|
+
value: number;
|
|
119
|
+
}[];
|
|
120
|
+
pageSizeSelectRef: import("vue").Ref<any>;
|
|
121
|
+
pageSizeDropdownStyle: import("vue").Ref<{}>;
|
|
116
122
|
getContainer: () => Element;
|
|
117
123
|
toggleFullScreen: () => void;
|
|
118
124
|
onDetailCancel: () => void;
|
|
@@ -120,8 +126,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
120
126
|
type: any;
|
|
121
127
|
data: any;
|
|
122
128
|
}) => void;
|
|
123
|
-
handlePageChange: (current: number
|
|
124
|
-
handleTableChange: (_page: any, _filters: any, sorter: any) => void
|
|
129
|
+
handlePageChange: (current: number) => Promise<void>;
|
|
130
|
+
handleTableChange: (_page: any, _filters: any, sorter: any) => Promise<void>;
|
|
125
131
|
onCloseDetailModal: () => void;
|
|
126
132
|
onCloseModal: () => void;
|
|
127
133
|
onZoomModal: () => void;
|
|
@@ -130,6 +136,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
130
136
|
formatCellPercent: (text: any, column: any) => string;
|
|
131
137
|
handleExport: () => Promise<void>;
|
|
132
138
|
drillByDimension: (event: any, typeGuid: string) => void;
|
|
139
|
+
getPageSizeSelectContainer: () => Element;
|
|
140
|
+
pageSizeDropdownVisibleChange: (open: any) => void;
|
|
141
|
+
onPageSizeChange: (pageSize: number) => void;
|
|
133
142
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
134
143
|
theme: {
|
|
135
144
|
type: StringConstructor;
|
|
@@ -67,8 +67,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
67
67
|
downloading: import("vue").Ref<boolean>;
|
|
68
68
|
summaryList: import("vue").Ref<any[]>;
|
|
69
69
|
summaryHeight: import("vue").Ref<number>;
|
|
70
|
-
handleTableChange: (_page: any, _filters: any, sorter: any) => void
|
|
71
|
-
handlePageChange: (current: any, pageSize: any) => void
|
|
70
|
+
handleTableChange: (_page: any, _filters: any, sorter: any) => Promise<void>;
|
|
71
|
+
handlePageChange: (current: any, pageSize: any) => Promise<void>;
|
|
72
72
|
getContainer: () => Element;
|
|
73
73
|
onDetailCancel: () => void;
|
|
74
74
|
toggleFullScreen: () => void;
|
|
@@ -552,6 +552,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
552
552
|
onTransitionend?: (payload: TransitionEvent) => void;
|
|
553
553
|
onTransitionstart?: (payload: TransitionEvent) => void;
|
|
554
554
|
}>;
|
|
555
|
+
clickHandler: (e: MouseEvent) => void;
|
|
555
556
|
myText: import("vue").ComputedRef<string>;
|
|
556
557
|
loading: import("vue").Ref<boolean>;
|
|
557
558
|
click: () => void;
|
|
@@ -552,6 +552,7 @@ export declare const EcanText: import("../../utils/withInstall").SFCWithInstall<
|
|
|
552
552
|
onTransitionend?: (payload: TransitionEvent) => void;
|
|
553
553
|
onTransitionstart?: (payload: TransitionEvent) => void;
|
|
554
554
|
}>;
|
|
555
|
+
clickHandler: (e: MouseEvent) => void;
|
|
555
556
|
myText: import("vue").ComputedRef<string>;
|
|
556
557
|
loading: import("vue").Ref<boolean>;
|
|
557
558
|
click: () => void;
|
package/types/utils/util.d.ts
CHANGED
|
@@ -73,3 +73,4 @@ export declare function loopConditions(list: any[], field: string, flag: boolean
|
|
|
73
73
|
export declare function isThousandWithUnit(str: string): boolean;
|
|
74
74
|
export declare function isValidDateStr(str: string): boolean;
|
|
75
75
|
export declare function swapArrItem(arr: any[], i: number, j: number): any[];
|
|
76
|
+
export declare function estimateWidth(text: string, fontSize: string): number;
|