@ecan-bi/datav 1.0.6 → 1.0.9

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.
Files changed (85) hide show
  1. package/README.dev.md +16 -0
  2. package/dist/_utils/constant.d.ts +3 -0
  3. package/dist/_utils/hooks/index.d.ts +6 -0
  4. package/dist/_utils/hooks/useEmitEvent.d.ts +7 -0
  5. package/dist/_utils/hooks/useOnEvent.d.ts +6 -0
  6. package/dist/_utils/{hooks.d.ts → hooks/usePickComponentStyle.d.ts} +3 -3
  7. package/dist/_utils/hooks/usePickEchartsData.d.ts +2 -0
  8. package/dist/_utils/hooks/useRequestData.d.ts +14 -0
  9. package/dist/_utils/hooks/useRequestParams.d.ts +5 -0
  10. package/dist/_utils/hooks/useTransformEchartsDataset.d.ts +8 -0
  11. package/dist/_utils/props.d.ts +43 -2
  12. package/dist/_utils/request.d.ts +2 -0
  13. package/dist/_utils/util.d.ts +5 -0
  14. package/dist/common/{vue-echarts/VueEcharts.d.ts → echarts/ECharts.d.ts} +0 -0
  15. package/dist/common/{vue-echarts → echarts}/composables/api.d.ts +0 -0
  16. package/dist/common/{vue-echarts → echarts}/composables/autoresize.d.ts +0 -0
  17. package/dist/common/{vue-echarts → echarts}/composables/index.d.ts +0 -0
  18. package/dist/common/{vue-echarts → echarts}/composables/loading.d.ts +0 -0
  19. package/dist/common/echarts/index.d.ts +2 -0
  20. package/dist/common/{vue-echarts → echarts}/types.d.ts +0 -0
  21. package/dist/common/{vue-echarts → echarts}/utils.d.ts +0 -0
  22. package/dist/common/index.d.ts +1 -0
  23. package/dist/components.d.ts +4 -0
  24. package/dist/container/border/index.d.ts +3 -0
  25. package/dist/container/border/props.d.ts +235 -0
  26. package/dist/container/index.d.ts +2 -0
  27. package/dist/container/modal/Modal.vue.d.ts +364 -0
  28. package/dist/container/modal/index.d.ts +3 -0
  29. package/dist/container/modal/props.d.ts +138 -0
  30. package/dist/control/button/Button.vue.d.ts +283 -0
  31. package/dist/control/button/index.d.ts +3 -0
  32. package/dist/control/button/props.d.ts +196 -0
  33. package/dist/control/date-picker/DatePicker.vue.d.ts +397 -0
  34. package/dist/control/date-picker/index.d.ts +3 -0
  35. package/dist/control/date-picker/props.d.ts +236 -0
  36. package/dist/control/index.d.ts +4 -0
  37. package/dist/control/input/Input.vue.d.ts +306 -3
  38. package/dist/control/input/index.d.ts +1 -0
  39. package/dist/control/input/props.d.ts +215 -0
  40. package/dist/control/range-picker/RangePicker.vue.d.ts +296 -0
  41. package/dist/control/range-picker/index.d.ts +3 -0
  42. package/dist/control/range-picker/props.d.ts +205 -0
  43. package/dist/control/select/Select.vue.d.ts +308 -0
  44. package/dist/control/select/index.d.ts +3 -0
  45. package/dist/control/select/props.d.ts +223 -0
  46. package/dist/graph/bar/Bar.vue.d.ts +617 -0
  47. package/dist/graph/bar/index.d.ts +3 -0
  48. package/dist/graph/bar/props.d.ts +382 -0
  49. package/dist/graph/custom-graph/CustomGraph.vue.d.ts +355 -0
  50. package/dist/graph/custom-graph/index.d.ts +3 -0
  51. package/dist/graph/custom-graph/props.d.ts +263 -0
  52. package/dist/graph/index.d.ts +4 -0
  53. package/dist/graph/line/Line.vue.d.ts +655 -0
  54. package/dist/graph/line/index.d.ts +3 -0
  55. package/dist/graph/line/props.d.ts +405 -0
  56. package/dist/graph/pie/Pie.vue.d.ts +732 -18
  57. package/dist/graph/pie/index.d.ts +2 -306
  58. package/dist/graph/pie/props.d.ts +480 -6
  59. package/dist/graph/scatter/Scatter.vue.d.ts +655 -0
  60. package/dist/graph/scatter/index.d.ts +3 -0
  61. package/dist/graph/scatter/props.d.ts +405 -0
  62. package/dist/index.esm.js +2 -2
  63. package/dist/index.umd.js +2 -2
  64. package/dist/media/image/Image.vue.d.ts +293 -0
  65. package/dist/media/image/index.d.ts +3 -0
  66. package/dist/media/image/props.d.ts +205 -0
  67. package/dist/media/index.d.ts +1 -0
  68. package/dist/setting/index.d.ts +2 -1
  69. package/dist/setting/page-config/PageConfig.vue.d.ts +78 -0
  70. package/dist/setting/page-config/index.d.ts +3 -0
  71. package/dist/setting/page-config/props.d.ts +61 -0
  72. package/dist/setting/provider-config/ProviderConfig.vue.d.ts +34 -0
  73. package/dist/setting/{page-cofig → provider-config}/index.d.ts +2 -2
  74. package/dist/setting/provider-config/props.d.ts +29 -0
  75. package/dist/table/index.d.ts +1 -0
  76. package/dist/table/table/Table.vue.d.ts +495 -0
  77. package/dist/table/table/index.d.ts +3 -0
  78. package/dist/table/table/props.d.ts +382 -0
  79. package/dist/text/text/Text.vue.d.ts +383 -5
  80. package/dist/text/text/index.d.ts +1 -1
  81. package/dist/text/text/props.d.ts +264 -1
  82. package/package.json +15 -13
  83. package/dist/common/vue-echarts/index.d.ts +0 -2
  84. package/dist/setting/page-cofig/PageConfig.vue.d.ts +0 -13
  85. package/dist/setting/page-cofig/props.d.ts +0 -8
@@ -0,0 +1,382 @@
1
+ import { Props, Data } from '../../_utils/props';
2
+ export interface BarProps extends Props {
3
+ data: Data;
4
+ titleText: string;
5
+ titleSubtext: string;
6
+ colors: string[];
7
+ legendShow: boolean;
8
+ legendTextStyleColor: string;
9
+ legendLeft: 'left' | 'center' | 'right';
10
+ legendTop: 'top' | 'middle' | 'bottom';
11
+ legendOrient: 'vertical' | 'horizontal';
12
+ xAxisSplitLineShow: boolean;
13
+ xAxisLabelColor: string;
14
+ xAxisLineStyleColor: string;
15
+ xAxisTickShow: boolean;
16
+ yAxisSplitLineShow: boolean;
17
+ xAxisSplitLineStyleColor: string;
18
+ yAxisSplitLineStyleColor: string;
19
+ yAxisLabelColor: string;
20
+ yAxisLineStyleColor: string;
21
+ }
22
+ export declare const barProps: BarProps;
23
+ export declare const barComponentProps: {
24
+ data: {
25
+ type?: undefined;
26
+ default?: undefined;
27
+ } | {
28
+ type: any;
29
+ default: string | number | boolean | Data | string[] | {
30
+ [key: string]: any;
31
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
32
+ };
33
+ titleText: {
34
+ type?: undefined;
35
+ default?: undefined;
36
+ } | {
37
+ type: any;
38
+ default: string | number | boolean | Data | string[] | {
39
+ [key: string]: any;
40
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
41
+ };
42
+ titleSubtext: {
43
+ type?: undefined;
44
+ default?: undefined;
45
+ } | {
46
+ type: any;
47
+ default: string | number | boolean | Data | string[] | {
48
+ [key: string]: any;
49
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
50
+ };
51
+ colors: {
52
+ type?: undefined;
53
+ default?: undefined;
54
+ } | {
55
+ type: any;
56
+ default: string | number | boolean | Data | string[] | {
57
+ [key: string]: any;
58
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
59
+ };
60
+ legendShow: {
61
+ type?: undefined;
62
+ default?: undefined;
63
+ } | {
64
+ type: any;
65
+ default: string | number | boolean | Data | string[] | {
66
+ [key: string]: any;
67
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
68
+ };
69
+ legendTextStyleColor: {
70
+ type?: undefined;
71
+ default?: undefined;
72
+ } | {
73
+ type: any;
74
+ default: string | number | boolean | Data | string[] | {
75
+ [key: string]: any;
76
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
77
+ };
78
+ legendLeft: {
79
+ type?: undefined;
80
+ default?: undefined;
81
+ } | {
82
+ type: any;
83
+ default: string | number | boolean | Data | string[] | {
84
+ [key: string]: any;
85
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
86
+ };
87
+ legendTop: {
88
+ type?: undefined;
89
+ default?: undefined;
90
+ } | {
91
+ type: any;
92
+ default: string | number | boolean | Data | string[] | {
93
+ [key: string]: any;
94
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
95
+ };
96
+ legendOrient: {
97
+ type?: undefined;
98
+ default?: undefined;
99
+ } | {
100
+ type: any;
101
+ default: string | number | boolean | Data | string[] | {
102
+ [key: string]: any;
103
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
104
+ };
105
+ xAxisSplitLineShow: {
106
+ type?: undefined;
107
+ default?: undefined;
108
+ } | {
109
+ type: any;
110
+ default: string | number | boolean | Data | string[] | {
111
+ [key: string]: any;
112
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
113
+ };
114
+ xAxisLabelColor: {
115
+ type?: undefined;
116
+ default?: undefined;
117
+ } | {
118
+ type: any;
119
+ default: string | number | boolean | Data | string[] | {
120
+ [key: string]: any;
121
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
122
+ };
123
+ xAxisLineStyleColor: {
124
+ type?: undefined;
125
+ default?: undefined;
126
+ } | {
127
+ type: any;
128
+ default: string | number | boolean | Data | string[] | {
129
+ [key: string]: any;
130
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
131
+ };
132
+ xAxisTickShow: {
133
+ type?: undefined;
134
+ default?: undefined;
135
+ } | {
136
+ type: any;
137
+ default: string | number | boolean | Data | string[] | {
138
+ [key: string]: any;
139
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
140
+ };
141
+ yAxisSplitLineShow: {
142
+ type?: undefined;
143
+ default?: undefined;
144
+ } | {
145
+ type: any;
146
+ default: string | number | boolean | Data | string[] | {
147
+ [key: string]: any;
148
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
149
+ };
150
+ xAxisSplitLineStyleColor: {
151
+ type?: undefined;
152
+ default?: undefined;
153
+ } | {
154
+ type: any;
155
+ default: string | number | boolean | Data | string[] | {
156
+ [key: string]: any;
157
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
158
+ };
159
+ yAxisSplitLineStyleColor: {
160
+ type?: undefined;
161
+ default?: undefined;
162
+ } | {
163
+ type: any;
164
+ default: string | number | boolean | Data | string[] | {
165
+ [key: string]: any;
166
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
167
+ };
168
+ yAxisLabelColor: {
169
+ type?: undefined;
170
+ default?: undefined;
171
+ } | {
172
+ type: any;
173
+ default: string | number | boolean | Data | string[] | {
174
+ [key: string]: any;
175
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
176
+ };
177
+ yAxisLineStyleColor: {
178
+ type?: undefined;
179
+ default?: undefined;
180
+ } | {
181
+ type: any;
182
+ default: string | number | boolean | Data | string[] | {
183
+ [key: string]: any;
184
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
185
+ };
186
+ id: {
187
+ type?: undefined;
188
+ default?: undefined;
189
+ } | {
190
+ type: any;
191
+ default: string | number | boolean | Data | string[] | {
192
+ [key: string]: any;
193
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
194
+ };
195
+ name: {
196
+ type?: undefined;
197
+ default?: undefined;
198
+ } | {
199
+ type: any;
200
+ default: string | number | boolean | Data | string[] | {
201
+ [key: string]: any;
202
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
203
+ };
204
+ keyName: {
205
+ type?: undefined;
206
+ default?: undefined;
207
+ } | {
208
+ type: any;
209
+ default: string | number | boolean | Data | string[] | {
210
+ [key: string]: any;
211
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
212
+ };
213
+ type: {
214
+ type?: undefined;
215
+ default?: undefined;
216
+ } | {
217
+ type: any;
218
+ default: string | number | boolean | Data | string[] | {
219
+ [key: string]: any;
220
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
221
+ };
222
+ width: {
223
+ type?: undefined;
224
+ default?: undefined;
225
+ } | {
226
+ type: any;
227
+ default: string | number | boolean | Data | string[] | {
228
+ [key: string]: any;
229
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
230
+ };
231
+ height: {
232
+ type?: undefined;
233
+ default?: undefined;
234
+ } | {
235
+ type: any;
236
+ default: string | number | boolean | Data | string[] | {
237
+ [key: string]: any;
238
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
239
+ };
240
+ position: {
241
+ type?: undefined;
242
+ default?: undefined;
243
+ } | {
244
+ type: any;
245
+ default: string | number | boolean | Data | string[] | {
246
+ [key: string]: any;
247
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
248
+ };
249
+ top: {
250
+ type?: undefined;
251
+ default?: undefined;
252
+ } | {
253
+ type: any;
254
+ default: string | number | boolean | Data | string[] | {
255
+ [key: string]: any;
256
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
257
+ };
258
+ left: {
259
+ type?: undefined;
260
+ default?: undefined;
261
+ } | {
262
+ type: any;
263
+ default: string | number | boolean | Data | string[] | {
264
+ [key: string]: any;
265
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
266
+ };
267
+ zIndex: {
268
+ type?: undefined;
269
+ default?: undefined;
270
+ } | {
271
+ type: any;
272
+ default: string | number | boolean | Data | string[] | {
273
+ [key: string]: any;
274
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
275
+ };
276
+ rotate: {
277
+ type?: undefined;
278
+ default?: undefined;
279
+ } | {
280
+ type: any;
281
+ default: string | number | boolean | Data | string[] | {
282
+ [key: string]: any;
283
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
284
+ };
285
+ isShow: {
286
+ type?: undefined;
287
+ default?: undefined;
288
+ } | {
289
+ type: any;
290
+ default: string | number | boolean | Data | string[] | {
291
+ [key: string]: any;
292
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
293
+ };
294
+ isRender: {
295
+ type?: undefined;
296
+ default?: undefined;
297
+ } | {
298
+ type: any;
299
+ default: string | number | boolean | Data | string[] | {
300
+ [key: string]: any;
301
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
302
+ };
303
+ isRequestData: {
304
+ type?: undefined;
305
+ default?: undefined;
306
+ } | {
307
+ type: any;
308
+ default: string | number | boolean | Data | string[] | {
309
+ [key: string]: any;
310
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
311
+ };
312
+ requestUrl: {
313
+ type?: undefined;
314
+ default?: undefined;
315
+ } | {
316
+ type: any;
317
+ default: string | number | boolean | Data | string[] | {
318
+ [key: string]: any;
319
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
320
+ };
321
+ requestMethod: {
322
+ type?: undefined;
323
+ default?: undefined;
324
+ } | {
325
+ type: any;
326
+ default: string | number | boolean | Data | string[] | {
327
+ [key: string]: any;
328
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
329
+ };
330
+ requestHeaders: {
331
+ type?: undefined;
332
+ default?: undefined;
333
+ } | {
334
+ type: any;
335
+ default: string | number | boolean | Data | string[] | {
336
+ [key: string]: any;
337
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
338
+ };
339
+ isOpenRequestTimer: {
340
+ type?: undefined;
341
+ default?: undefined;
342
+ } | {
343
+ type: any;
344
+ default: string | number | boolean | Data | string[] | {
345
+ [key: string]: any;
346
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
347
+ };
348
+ requestInterval: {
349
+ type?: undefined;
350
+ default?: undefined;
351
+ } | {
352
+ type: any;
353
+ default: string | number | boolean | Data | string[] | {
354
+ [key: string]: any;
355
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
356
+ };
357
+ requestParams: {
358
+ type?: undefined;
359
+ default?: undefined;
360
+ } | {
361
+ type: any;
362
+ default: string | number | boolean | Data | string[] | {
363
+ [key: string]: any;
364
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
365
+ };
366
+ events: {
367
+ type?: undefined;
368
+ default?: undefined;
369
+ } | {
370
+ type: any;
371
+ default: string | number | boolean | Data | string[] | {
372
+ [key: string]: any;
373
+ } | import("../../_utils/props").RequestParams | import("../../_utils/props").Events;
374
+ };
375
+ };
376
+ export interface BarEvents {
377
+ refreshData: () => void;
378
+ click: () => void;
379
+ }
380
+ declare type BarEventsKey = Array<keyof BarEvents>;
381
+ export declare const barEvents: BarEventsKey;
382
+ export {};