@ecan-bi/datav 1.3.29 → 1.3.30
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 +3276 -3096
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +26 -26
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/types/text/counter/Counter.vue.d.ts +309 -0
- package/types/text/counter/index.d.ts +310 -0
- package/types/text/counter/props.d.ts +169 -0
- package/types/text/index.d.ts +1 -0
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
export declare const EcanCounter: import("../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
digits: {
|
|
3
|
+
type?: import("vue").PropType<number>;
|
|
4
|
+
default?: number;
|
|
5
|
+
};
|
|
6
|
+
counterBackgroundImage: {
|
|
7
|
+
type?: import("vue").PropType<string>;
|
|
8
|
+
default?: string;
|
|
9
|
+
};
|
|
10
|
+
color: {
|
|
11
|
+
type?: import("vue").PropType<string>;
|
|
12
|
+
default?: string;
|
|
13
|
+
};
|
|
14
|
+
unitInterval: {
|
|
15
|
+
type?: import("vue").PropType<number>;
|
|
16
|
+
default?: number;
|
|
17
|
+
};
|
|
18
|
+
fontSize: {
|
|
19
|
+
type?: import("vue").PropType<string>;
|
|
20
|
+
default?: string;
|
|
21
|
+
};
|
|
22
|
+
fontWeight: {
|
|
23
|
+
type?: import("vue").PropType<number>;
|
|
24
|
+
default?: number;
|
|
25
|
+
};
|
|
26
|
+
fontStyle: {
|
|
27
|
+
type?: import("vue").PropType<string>;
|
|
28
|
+
default?: string;
|
|
29
|
+
};
|
|
30
|
+
unitWidth: {
|
|
31
|
+
type?: import("vue").PropType<string>;
|
|
32
|
+
default?: string;
|
|
33
|
+
};
|
|
34
|
+
unitHeight: {
|
|
35
|
+
type?: import("vue").PropType<string>;
|
|
36
|
+
default?: string;
|
|
37
|
+
};
|
|
38
|
+
data: {
|
|
39
|
+
type?: import("vue").PropType<string>;
|
|
40
|
+
default?: string;
|
|
41
|
+
};
|
|
42
|
+
graphicConfig: {
|
|
43
|
+
type?: import("vue").PropType<{
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
}>;
|
|
46
|
+
default?: {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
id: {
|
|
51
|
+
type?: import("vue").PropType<string>;
|
|
52
|
+
default?: string;
|
|
53
|
+
};
|
|
54
|
+
name: {
|
|
55
|
+
type?: import("vue").PropType<string>;
|
|
56
|
+
default?: string;
|
|
57
|
+
};
|
|
58
|
+
keyName: {
|
|
59
|
+
type?: import("vue").PropType<string>;
|
|
60
|
+
default?: string;
|
|
61
|
+
};
|
|
62
|
+
type: {
|
|
63
|
+
type?: import("vue").PropType<string>;
|
|
64
|
+
default?: string;
|
|
65
|
+
};
|
|
66
|
+
width: {
|
|
67
|
+
type?: import("vue").PropType<string>;
|
|
68
|
+
default?: string;
|
|
69
|
+
};
|
|
70
|
+
height: {
|
|
71
|
+
type?: import("vue").PropType<string>;
|
|
72
|
+
default?: string;
|
|
73
|
+
};
|
|
74
|
+
position: {
|
|
75
|
+
type?: import("vue").PropType<string>;
|
|
76
|
+
default?: string;
|
|
77
|
+
};
|
|
78
|
+
top: {
|
|
79
|
+
type?: import("vue").PropType<string>;
|
|
80
|
+
default?: string;
|
|
81
|
+
};
|
|
82
|
+
left: {
|
|
83
|
+
type?: import("vue").PropType<string>;
|
|
84
|
+
default?: string;
|
|
85
|
+
};
|
|
86
|
+
zIndex: {
|
|
87
|
+
type?: import("vue").PropType<number>;
|
|
88
|
+
default?: number;
|
|
89
|
+
};
|
|
90
|
+
rotate: {
|
|
91
|
+
type?: import("vue").PropType<string>;
|
|
92
|
+
default?: string;
|
|
93
|
+
};
|
|
94
|
+
isShow: {
|
|
95
|
+
type?: import("vue").PropType<boolean>;
|
|
96
|
+
default?: boolean;
|
|
97
|
+
};
|
|
98
|
+
isRender: {
|
|
99
|
+
type?: import("vue").PropType<boolean>;
|
|
100
|
+
default?: boolean;
|
|
101
|
+
};
|
|
102
|
+
events: {
|
|
103
|
+
type?: import("vue").PropType<import("../../utils/props").Events>;
|
|
104
|
+
default?: import("../../utils/props").Events;
|
|
105
|
+
};
|
|
106
|
+
requestUrl: {
|
|
107
|
+
type?: import("vue").PropType<string>;
|
|
108
|
+
default?: string;
|
|
109
|
+
};
|
|
110
|
+
requestMethod: {
|
|
111
|
+
type?: import("vue").PropType<import("../../utils/props").RequestMethod>;
|
|
112
|
+
default?: import("../../utils/props").RequestMethod;
|
|
113
|
+
};
|
|
114
|
+
requestHeaders: {
|
|
115
|
+
type?: import("vue").PropType<{
|
|
116
|
+
[key: string]: any;
|
|
117
|
+
}>;
|
|
118
|
+
default?: {
|
|
119
|
+
[key: string]: any;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
isOpenRequestTimer: {
|
|
123
|
+
type?: import("vue").PropType<boolean>;
|
|
124
|
+
default?: boolean;
|
|
125
|
+
};
|
|
126
|
+
requestInterval: {
|
|
127
|
+
type?: import("vue").PropType<number>;
|
|
128
|
+
default?: number;
|
|
129
|
+
};
|
|
130
|
+
requestParams: {
|
|
131
|
+
type?: import("vue").PropType<import("../../utils/props").RequestParams>;
|
|
132
|
+
default?: import("../../utils/props").RequestParams;
|
|
133
|
+
};
|
|
134
|
+
requestSort: {
|
|
135
|
+
type?: import("vue").PropType<number>;
|
|
136
|
+
default?: number;
|
|
137
|
+
};
|
|
138
|
+
dataType: {
|
|
139
|
+
type?: import("vue").PropType<"indicator" | "static" | "request">;
|
|
140
|
+
default?: "indicator" | "static" | "request";
|
|
141
|
+
};
|
|
142
|
+
scale?: {
|
|
143
|
+
type?: import("vue").PropType<number>;
|
|
144
|
+
default?: number;
|
|
145
|
+
};
|
|
146
|
+
}, {
|
|
147
|
+
style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
|
|
148
|
+
valueList: import("vue").ComputedRef<string[]>;
|
|
149
|
+
digitsStyle: import("vue").ComputedRef<{
|
|
150
|
+
width: string;
|
|
151
|
+
height: string;
|
|
152
|
+
marginRight: string;
|
|
153
|
+
}>;
|
|
154
|
+
fontStyle: import("vue").ComputedRef<{
|
|
155
|
+
color: string;
|
|
156
|
+
fontSize: string;
|
|
157
|
+
fontWeight: number;
|
|
158
|
+
fontStyle: string;
|
|
159
|
+
}>;
|
|
160
|
+
loading: import("vue").Ref<boolean>;
|
|
161
|
+
useImagePath: (path: string, isFormat?: boolean) => string;
|
|
162
|
+
click: () => void;
|
|
163
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
164
|
+
digits: {
|
|
165
|
+
type?: import("vue").PropType<number>;
|
|
166
|
+
default?: number;
|
|
167
|
+
};
|
|
168
|
+
counterBackgroundImage: {
|
|
169
|
+
type?: import("vue").PropType<string>;
|
|
170
|
+
default?: string;
|
|
171
|
+
};
|
|
172
|
+
color: {
|
|
173
|
+
type?: import("vue").PropType<string>;
|
|
174
|
+
default?: string;
|
|
175
|
+
};
|
|
176
|
+
unitInterval: {
|
|
177
|
+
type?: import("vue").PropType<number>;
|
|
178
|
+
default?: number;
|
|
179
|
+
};
|
|
180
|
+
fontSize: {
|
|
181
|
+
type?: import("vue").PropType<string>;
|
|
182
|
+
default?: string;
|
|
183
|
+
};
|
|
184
|
+
fontWeight: {
|
|
185
|
+
type?: import("vue").PropType<number>;
|
|
186
|
+
default?: number;
|
|
187
|
+
};
|
|
188
|
+
fontStyle: {
|
|
189
|
+
type?: import("vue").PropType<string>;
|
|
190
|
+
default?: string;
|
|
191
|
+
};
|
|
192
|
+
unitWidth: {
|
|
193
|
+
type?: import("vue").PropType<string>;
|
|
194
|
+
default?: string;
|
|
195
|
+
};
|
|
196
|
+
unitHeight: {
|
|
197
|
+
type?: import("vue").PropType<string>;
|
|
198
|
+
default?: string;
|
|
199
|
+
};
|
|
200
|
+
data: {
|
|
201
|
+
type?: import("vue").PropType<string>;
|
|
202
|
+
default?: string;
|
|
203
|
+
};
|
|
204
|
+
graphicConfig: {
|
|
205
|
+
type?: import("vue").PropType<{
|
|
206
|
+
[key: string]: any;
|
|
207
|
+
}>;
|
|
208
|
+
default?: {
|
|
209
|
+
[key: string]: any;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
id: {
|
|
213
|
+
type?: import("vue").PropType<string>;
|
|
214
|
+
default?: string;
|
|
215
|
+
};
|
|
216
|
+
name: {
|
|
217
|
+
type?: import("vue").PropType<string>;
|
|
218
|
+
default?: string;
|
|
219
|
+
};
|
|
220
|
+
keyName: {
|
|
221
|
+
type?: import("vue").PropType<string>;
|
|
222
|
+
default?: string;
|
|
223
|
+
};
|
|
224
|
+
type: {
|
|
225
|
+
type?: import("vue").PropType<string>;
|
|
226
|
+
default?: string;
|
|
227
|
+
};
|
|
228
|
+
width: {
|
|
229
|
+
type?: import("vue").PropType<string>;
|
|
230
|
+
default?: string;
|
|
231
|
+
};
|
|
232
|
+
height: {
|
|
233
|
+
type?: import("vue").PropType<string>;
|
|
234
|
+
default?: string;
|
|
235
|
+
};
|
|
236
|
+
position: {
|
|
237
|
+
type?: import("vue").PropType<string>;
|
|
238
|
+
default?: string;
|
|
239
|
+
};
|
|
240
|
+
top: {
|
|
241
|
+
type?: import("vue").PropType<string>;
|
|
242
|
+
default?: string;
|
|
243
|
+
};
|
|
244
|
+
left: {
|
|
245
|
+
type?: import("vue").PropType<string>;
|
|
246
|
+
default?: string;
|
|
247
|
+
};
|
|
248
|
+
zIndex: {
|
|
249
|
+
type?: import("vue").PropType<number>;
|
|
250
|
+
default?: number;
|
|
251
|
+
};
|
|
252
|
+
rotate: {
|
|
253
|
+
type?: import("vue").PropType<string>;
|
|
254
|
+
default?: string;
|
|
255
|
+
};
|
|
256
|
+
isShow: {
|
|
257
|
+
type?: import("vue").PropType<boolean>;
|
|
258
|
+
default?: boolean;
|
|
259
|
+
};
|
|
260
|
+
isRender: {
|
|
261
|
+
type?: import("vue").PropType<boolean>;
|
|
262
|
+
default?: boolean;
|
|
263
|
+
};
|
|
264
|
+
events: {
|
|
265
|
+
type?: import("vue").PropType<import("../../utils/props").Events>;
|
|
266
|
+
default?: import("../../utils/props").Events;
|
|
267
|
+
};
|
|
268
|
+
requestUrl: {
|
|
269
|
+
type?: import("vue").PropType<string>;
|
|
270
|
+
default?: string;
|
|
271
|
+
};
|
|
272
|
+
requestMethod: {
|
|
273
|
+
type?: import("vue").PropType<import("../../utils/props").RequestMethod>;
|
|
274
|
+
default?: import("../../utils/props").RequestMethod;
|
|
275
|
+
};
|
|
276
|
+
requestHeaders: {
|
|
277
|
+
type?: import("vue").PropType<{
|
|
278
|
+
[key: string]: any;
|
|
279
|
+
}>;
|
|
280
|
+
default?: {
|
|
281
|
+
[key: string]: any;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
isOpenRequestTimer: {
|
|
285
|
+
type?: import("vue").PropType<boolean>;
|
|
286
|
+
default?: boolean;
|
|
287
|
+
};
|
|
288
|
+
requestInterval: {
|
|
289
|
+
type?: import("vue").PropType<number>;
|
|
290
|
+
default?: number;
|
|
291
|
+
};
|
|
292
|
+
requestParams: {
|
|
293
|
+
type?: import("vue").PropType<import("../../utils/props").RequestParams>;
|
|
294
|
+
default?: import("../../utils/props").RequestParams;
|
|
295
|
+
};
|
|
296
|
+
requestSort: {
|
|
297
|
+
type?: import("vue").PropType<number>;
|
|
298
|
+
default?: number;
|
|
299
|
+
};
|
|
300
|
+
dataType: {
|
|
301
|
+
type?: import("vue").PropType<"indicator" | "static" | "request">;
|
|
302
|
+
default?: "indicator" | "static" | "request";
|
|
303
|
+
};
|
|
304
|
+
scale?: {
|
|
305
|
+
type?: import("vue").PropType<number>;
|
|
306
|
+
default?: number;
|
|
307
|
+
};
|
|
308
|
+
}>>, {}>> & Record<string, any>;
|
|
309
|
+
export default EcanCounter;
|
|
310
|
+
export * from './props';
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { Props } from '../../utils/props';
|
|
2
|
+
export interface CounterProps extends Props {
|
|
3
|
+
digits: number;
|
|
4
|
+
counterBackgroundImage: string;
|
|
5
|
+
color: string;
|
|
6
|
+
unitInterval: number;
|
|
7
|
+
fontSize: string;
|
|
8
|
+
fontWeight: number;
|
|
9
|
+
fontStyle: string;
|
|
10
|
+
unitWidth: string;
|
|
11
|
+
unitHeight: string;
|
|
12
|
+
data: string;
|
|
13
|
+
graphicConfig: {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export declare const counterProps: CounterProps;
|
|
18
|
+
export declare const counterComponentProps: {
|
|
19
|
+
digits: {
|
|
20
|
+
type?: import("vue").PropType<number>;
|
|
21
|
+
default?: number;
|
|
22
|
+
};
|
|
23
|
+
counterBackgroundImage: {
|
|
24
|
+
type?: import("vue").PropType<string>;
|
|
25
|
+
default?: string;
|
|
26
|
+
};
|
|
27
|
+
color: {
|
|
28
|
+
type?: import("vue").PropType<string>;
|
|
29
|
+
default?: string;
|
|
30
|
+
};
|
|
31
|
+
unitInterval: {
|
|
32
|
+
type?: import("vue").PropType<number>;
|
|
33
|
+
default?: number;
|
|
34
|
+
};
|
|
35
|
+
fontSize: {
|
|
36
|
+
type?: import("vue").PropType<string>;
|
|
37
|
+
default?: string;
|
|
38
|
+
};
|
|
39
|
+
fontWeight: {
|
|
40
|
+
type?: import("vue").PropType<number>;
|
|
41
|
+
default?: number;
|
|
42
|
+
};
|
|
43
|
+
fontStyle: {
|
|
44
|
+
type?: import("vue").PropType<string>;
|
|
45
|
+
default?: string;
|
|
46
|
+
};
|
|
47
|
+
unitWidth: {
|
|
48
|
+
type?: import("vue").PropType<string>;
|
|
49
|
+
default?: string;
|
|
50
|
+
};
|
|
51
|
+
unitHeight: {
|
|
52
|
+
type?: import("vue").PropType<string>;
|
|
53
|
+
default?: string;
|
|
54
|
+
};
|
|
55
|
+
data: {
|
|
56
|
+
type?: import("vue").PropType<string>;
|
|
57
|
+
default?: string;
|
|
58
|
+
};
|
|
59
|
+
graphicConfig: {
|
|
60
|
+
type?: import("vue").PropType<{
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
}>;
|
|
63
|
+
default?: {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
id: {
|
|
68
|
+
type?: import("vue").PropType<string>;
|
|
69
|
+
default?: string;
|
|
70
|
+
};
|
|
71
|
+
name: {
|
|
72
|
+
type?: import("vue").PropType<string>;
|
|
73
|
+
default?: string;
|
|
74
|
+
};
|
|
75
|
+
keyName: {
|
|
76
|
+
type?: import("vue").PropType<string>;
|
|
77
|
+
default?: string;
|
|
78
|
+
};
|
|
79
|
+
type: {
|
|
80
|
+
type?: import("vue").PropType<string>;
|
|
81
|
+
default?: string;
|
|
82
|
+
};
|
|
83
|
+
width: {
|
|
84
|
+
type?: import("vue").PropType<string>;
|
|
85
|
+
default?: string;
|
|
86
|
+
};
|
|
87
|
+
height: {
|
|
88
|
+
type?: import("vue").PropType<string>;
|
|
89
|
+
default?: string;
|
|
90
|
+
};
|
|
91
|
+
position: {
|
|
92
|
+
type?: import("vue").PropType<string>;
|
|
93
|
+
default?: string;
|
|
94
|
+
};
|
|
95
|
+
top: {
|
|
96
|
+
type?: import("vue").PropType<string>;
|
|
97
|
+
default?: string;
|
|
98
|
+
};
|
|
99
|
+
left: {
|
|
100
|
+
type?: import("vue").PropType<string>;
|
|
101
|
+
default?: string;
|
|
102
|
+
};
|
|
103
|
+
zIndex: {
|
|
104
|
+
type?: import("vue").PropType<number>;
|
|
105
|
+
default?: number;
|
|
106
|
+
};
|
|
107
|
+
rotate: {
|
|
108
|
+
type?: import("vue").PropType<string>;
|
|
109
|
+
default?: string;
|
|
110
|
+
};
|
|
111
|
+
isShow: {
|
|
112
|
+
type?: import("vue").PropType<boolean>;
|
|
113
|
+
default?: boolean;
|
|
114
|
+
};
|
|
115
|
+
isRender: {
|
|
116
|
+
type?: import("vue").PropType<boolean>;
|
|
117
|
+
default?: boolean;
|
|
118
|
+
};
|
|
119
|
+
events: {
|
|
120
|
+
type?: import("vue").PropType<import('../../utils/props').Events>;
|
|
121
|
+
default?: import('../../utils/props').Events;
|
|
122
|
+
};
|
|
123
|
+
requestUrl: {
|
|
124
|
+
type?: import("vue").PropType<string>;
|
|
125
|
+
default?: string;
|
|
126
|
+
};
|
|
127
|
+
requestMethod: {
|
|
128
|
+
type?: import("vue").PropType<import('../../utils/props').RequestMethod>;
|
|
129
|
+
default?: import('../../utils/props').RequestMethod;
|
|
130
|
+
};
|
|
131
|
+
requestHeaders: {
|
|
132
|
+
type?: import("vue").PropType<{
|
|
133
|
+
[key: string]: any;
|
|
134
|
+
}>;
|
|
135
|
+
default?: {
|
|
136
|
+
[key: string]: any;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
isOpenRequestTimer: {
|
|
140
|
+
type?: import("vue").PropType<boolean>;
|
|
141
|
+
default?: boolean;
|
|
142
|
+
};
|
|
143
|
+
requestInterval: {
|
|
144
|
+
type?: import("vue").PropType<number>;
|
|
145
|
+
default?: number;
|
|
146
|
+
};
|
|
147
|
+
requestParams: {
|
|
148
|
+
type?: import("vue").PropType<import('../../utils/props').RequestParams>;
|
|
149
|
+
default?: import('../../utils/props').RequestParams;
|
|
150
|
+
};
|
|
151
|
+
requestSort: {
|
|
152
|
+
type?: import("vue").PropType<number>;
|
|
153
|
+
default?: number;
|
|
154
|
+
};
|
|
155
|
+
dataType: {
|
|
156
|
+
type?: import("vue").PropType<"indicator" | "static" | "request">;
|
|
157
|
+
default?: "indicator" | "static" | "request";
|
|
158
|
+
};
|
|
159
|
+
scale?: {
|
|
160
|
+
type?: import("vue").PropType<number>;
|
|
161
|
+
default?: number;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
export interface CounterEvents {
|
|
165
|
+
refreshData: () => void;
|
|
166
|
+
click: () => void;
|
|
167
|
+
resetRecord: () => void;
|
|
168
|
+
}
|
|
169
|
+
export declare const counterEvents: Array<keyof CounterEvents>;
|
package/types/text/index.d.ts
CHANGED