@ecan-bi/datav 1.0.13 → 1.0.16

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 (53) hide show
  1. package/dist/_utils/constant.d.ts +1 -1
  2. package/dist/_utils/hooks/index.d.ts +1 -1
  3. package/dist/_utils/hooks/usePickEchartsData.d.ts +1 -1
  4. package/dist/_utils/hooks/useRequestData.d.ts +5 -13
  5. package/dist/_utils/hooks/useTransformEchartsDataset.d.ts +12 -3
  6. package/dist/_utils/props.d.ts +1 -1
  7. package/dist/_utils/util.d.ts +14 -0
  8. package/dist/common/echarts/ECharts.d.ts +1 -0
  9. package/dist/container/border/props.d.ts +67 -57
  10. package/dist/container/index.d.ts +1 -0
  11. package/dist/container/modal/Modal.vue.d.ts +49 -32
  12. package/dist/container/modal/props.d.ts +29 -18
  13. package/dist/container/tabs/Tabs.vue.d.ts +271 -0
  14. package/dist/container/tabs/index.d.ts +3 -0
  15. package/dist/container/tabs/props.d.ts +219 -0
  16. package/dist/control/button/Button.vue.d.ts +53 -53
  17. package/dist/control/button/props.d.ts +49 -49
  18. package/dist/control/date-picker/DatePicker.vue.d.ts +61 -61
  19. package/dist/control/date-picker/props.d.ts +7 -7
  20. package/dist/control/input/Input.vue.d.ts +59 -59
  21. package/dist/control/input/props.d.ts +53 -53
  22. package/dist/control/range-picker/RangePicker.vue.d.ts +55 -55
  23. package/dist/control/range-picker/props.d.ts +51 -51
  24. package/dist/control/select/Select.vue.d.ts +65 -61
  25. package/dist/control/select/props.d.ts +53 -53
  26. package/dist/graph/bar/Bar.vue.d.ts +304 -57
  27. package/dist/graph/bar/props.d.ts +277 -49
  28. package/dist/graph/custom-graph/CustomGraph.vue.d.ts +57 -57
  29. package/dist/graph/custom-graph/props.d.ts +53 -53
  30. package/dist/graph/line/Line.vue.d.ts +286 -109
  31. package/dist/graph/line/props.d.ts +235 -49
  32. package/dist/graph/pie/Pie.vue.d.ts +332 -114
  33. package/dist/graph/pie/props.d.ts +279 -57
  34. package/dist/graph/scatter/Scatter.vue.d.ts +157 -209
  35. package/dist/graph/scatter/props.d.ts +148 -123
  36. package/dist/index.esm.js +2 -2
  37. package/dist/index.umd.js +2 -2
  38. package/dist/media/image/Image.vue.d.ts +55 -55
  39. package/dist/media/image/props.d.ts +51 -51
  40. package/dist/table/table/Table.vue.d.ts +208 -67
  41. package/dist/table/table/props.d.ts +160 -62
  42. package/dist/text/index.d.ts +2 -0
  43. package/dist/text/list/List.vue.d.ts +471 -0
  44. package/dist/text/list/index.d.ts +3 -0
  45. package/dist/text/list/props.d.ts +367 -0
  46. package/dist/text/text/Text.vue.d.ts +132 -43
  47. package/dist/text/text/props.d.ts +122 -38
  48. package/dist/text/time-display/TimeDisplay.vue.d.ts +385 -0
  49. package/dist/text/time-display/index.d.ts +3 -0
  50. package/dist/text/time-display/props.d.ts +275 -0
  51. package/package.json +12 -5
  52. package/dist/_utils/hooks/useRequestParams.d.ts +0 -5
  53. package/dist/_utils/request.d.ts +0 -2
@@ -10,9 +10,9 @@ declare const _default: import("vue").DefineComponent<{
10
10
  [key: string]: any;
11
11
  }[] | {
12
12
  [key: string]: any;
13
- }[] | {
13
+ }[] | Events | {
14
14
  [key: string]: any;
15
- } | import("src/_utils/props").RequestParams | Events;
15
+ } | import("src/_utils/props").RequestParams;
16
16
  };
17
17
  data: {
18
18
  type?: undefined;
@@ -23,9 +23,9 @@ declare const _default: import("vue").DefineComponent<{
23
23
  [key: string]: any;
24
24
  }[] | {
25
25
  [key: string]: any;
26
- }[] | {
26
+ }[] | Events | {
27
27
  [key: string]: any;
28
- } | import("src/_utils/props").RequestParams | Events;
28
+ } | import("src/_utils/props").RequestParams;
29
29
  };
30
30
  bordered: {
31
31
  type?: undefined;
@@ -36,9 +36,9 @@ declare const _default: import("vue").DefineComponent<{
36
36
  [key: string]: any;
37
37
  }[] | {
38
38
  [key: string]: any;
39
- }[] | {
39
+ }[] | Events | {
40
40
  [key: string]: any;
41
- } | import("src/_utils/props").RequestParams | Events;
41
+ } | import("src/_utils/props").RequestParams;
42
42
  };
43
43
  size: {
44
44
  type?: undefined;
@@ -49,9 +49,9 @@ declare const _default: import("vue").DefineComponent<{
49
49
  [key: string]: any;
50
50
  }[] | {
51
51
  [key: string]: any;
52
- }[] | {
52
+ }[] | Events | {
53
53
  [key: string]: any;
54
- } | import("src/_utils/props").RequestParams | Events;
54
+ } | import("src/_utils/props").RequestParams;
55
55
  };
56
56
  isUseSeq: {
57
57
  type?: undefined;
@@ -62,9 +62,9 @@ declare const _default: import("vue").DefineComponent<{
62
62
  [key: string]: any;
63
63
  }[] | {
64
64
  [key: string]: any;
65
- }[] | {
65
+ }[] | Events | {
66
66
  [key: string]: any;
67
- } | import("src/_utils/props").RequestParams | Events;
67
+ } | import("src/_utils/props").RequestParams;
68
68
  };
69
69
  columnsFixedNum: {
70
70
  type?: undefined;
@@ -75,9 +75,9 @@ declare const _default: import("vue").DefineComponent<{
75
75
  [key: string]: any;
76
76
  }[] | {
77
77
  [key: string]: any;
78
- }[] | {
78
+ }[] | Events | {
79
79
  [key: string]: any;
80
- } | import("src/_utils/props").RequestParams | Events;
80
+ } | import("src/_utils/props").RequestParams;
81
81
  };
82
82
  scrollX: {
83
83
  type?: undefined;
@@ -88,11 +88,24 @@ declare const _default: import("vue").DefineComponent<{
88
88
  [key: string]: any;
89
89
  }[] | {
90
90
  [key: string]: any;
91
+ }[] | Events | {
92
+ [key: string]: any;
93
+ } | import("src/_utils/props").RequestParams;
94
+ };
95
+ paginationShow: {
96
+ type?: undefined;
97
+ default?: undefined;
98
+ } | {
99
+ type: any;
100
+ default: string | number | boolean | {
101
+ [key: string]: any;
91
102
  }[] | {
92
103
  [key: string]: any;
93
- } | import("src/_utils/props").RequestParams | Events;
104
+ }[] | Events | {
105
+ [key: string]: any;
106
+ } | import("src/_utils/props").RequestParams;
94
107
  };
95
- id: {
108
+ paginationPosition: {
96
109
  type?: undefined;
97
110
  default?: undefined;
98
111
  } | {
@@ -101,11 +114,24 @@ declare const _default: import("vue").DefineComponent<{
101
114
  [key: string]: any;
102
115
  }[] | {
103
116
  [key: string]: any;
117
+ }[] | Events | {
118
+ [key: string]: any;
119
+ } | import("src/_utils/props").RequestParams;
120
+ };
121
+ simple: {
122
+ type?: undefined;
123
+ default?: undefined;
124
+ } | {
125
+ type: any;
126
+ default: string | number | boolean | {
127
+ [key: string]: any;
104
128
  }[] | {
105
129
  [key: string]: any;
106
- } | import("src/_utils/props").RequestParams | Events;
130
+ }[] | Events | {
131
+ [key: string]: any;
132
+ } | import("src/_utils/props").RequestParams;
107
133
  };
108
- name: {
134
+ headerCellBackgroundColor: {
109
135
  type?: undefined;
110
136
  default?: undefined;
111
137
  } | {
@@ -114,11 +140,24 @@ declare const _default: import("vue").DefineComponent<{
114
140
  [key: string]: any;
115
141
  }[] | {
116
142
  [key: string]: any;
143
+ }[] | Events | {
144
+ [key: string]: any;
145
+ } | import("src/_utils/props").RequestParams;
146
+ };
147
+ cellBackgroundColor: {
148
+ type?: undefined;
149
+ default?: undefined;
150
+ } | {
151
+ type: any;
152
+ default: string | number | boolean | {
153
+ [key: string]: any;
117
154
  }[] | {
118
155
  [key: string]: any;
119
- } | import("src/_utils/props").RequestParams | Events;
156
+ }[] | Events | {
157
+ [key: string]: any;
158
+ } | import("src/_utils/props").RequestParams;
120
159
  };
121
- keyName: {
160
+ borderColor: {
122
161
  type?: undefined;
123
162
  default?: undefined;
124
163
  } | {
@@ -127,11 +166,37 @@ declare const _default: import("vue").DefineComponent<{
127
166
  [key: string]: any;
128
167
  }[] | {
129
168
  [key: string]: any;
169
+ }[] | Events | {
170
+ [key: string]: any;
171
+ } | import("src/_utils/props").RequestParams;
172
+ };
173
+ paginationPageSize: {
174
+ type?: undefined;
175
+ default?: undefined;
176
+ } | {
177
+ type: any;
178
+ default: string | number | boolean | {
179
+ [key: string]: any;
130
180
  }[] | {
131
181
  [key: string]: any;
132
- } | import("src/_utils/props").RequestParams | Events;
182
+ }[] | Events | {
183
+ [key: string]: any;
184
+ } | import("src/_utils/props").RequestParams;
133
185
  };
134
- type: {
186
+ id: {
187
+ type?: undefined;
188
+ default?: undefined;
189
+ } | {
190
+ type: any;
191
+ default: string | number | boolean | {
192
+ [key: string]: any;
193
+ }[] | {
194
+ [key: string]: any;
195
+ }[] | Events | {
196
+ [key: string]: any;
197
+ } | import("src/_utils/props").RequestParams;
198
+ };
199
+ name: {
135
200
  type?: undefined;
136
201
  default?: undefined;
137
202
  } | {
@@ -140,11 +205,24 @@ declare const _default: import("vue").DefineComponent<{
140
205
  [key: string]: any;
141
206
  }[] | {
142
207
  [key: string]: any;
208
+ }[] | Events | {
209
+ [key: string]: any;
210
+ } | import("src/_utils/props").RequestParams;
211
+ };
212
+ keyName: {
213
+ type?: undefined;
214
+ default?: undefined;
215
+ } | {
216
+ type: any;
217
+ default: string | number | boolean | {
218
+ [key: string]: any;
143
219
  }[] | {
144
220
  [key: string]: any;
145
- } | import("src/_utils/props").RequestParams | Events;
221
+ }[] | Events | {
222
+ [key: string]: any;
223
+ } | import("src/_utils/props").RequestParams;
146
224
  };
147
- width: {
225
+ type: {
148
226
  type?: undefined;
149
227
  default?: undefined;
150
228
  } | {
@@ -153,9 +231,22 @@ declare const _default: import("vue").DefineComponent<{
153
231
  [key: string]: any;
154
232
  }[] | {
155
233
  [key: string]: any;
234
+ }[] | Events | {
235
+ [key: string]: any;
236
+ } | import("src/_utils/props").RequestParams;
237
+ };
238
+ width: {
239
+ type?: undefined;
240
+ default?: undefined;
241
+ } | {
242
+ type: any;
243
+ default: string | number | boolean | {
244
+ [key: string]: any;
156
245
  }[] | {
157
246
  [key: string]: any;
158
- } | import("src/_utils/props").RequestParams | Events;
247
+ }[] | Events | {
248
+ [key: string]: any;
249
+ } | import("src/_utils/props").RequestParams;
159
250
  };
160
251
  height: {
161
252
  type?: undefined;
@@ -166,9 +257,9 @@ declare const _default: import("vue").DefineComponent<{
166
257
  [key: string]: any;
167
258
  }[] | {
168
259
  [key: string]: any;
169
- }[] | {
260
+ }[] | Events | {
170
261
  [key: string]: any;
171
- } | import("src/_utils/props").RequestParams | Events;
262
+ } | import("src/_utils/props").RequestParams;
172
263
  };
173
264
  position: {
174
265
  type?: undefined;
@@ -179,9 +270,9 @@ declare const _default: import("vue").DefineComponent<{
179
270
  [key: string]: any;
180
271
  }[] | {
181
272
  [key: string]: any;
182
- }[] | {
273
+ }[] | Events | {
183
274
  [key: string]: any;
184
- } | import("src/_utils/props").RequestParams | Events;
275
+ } | import("src/_utils/props").RequestParams;
185
276
  };
186
277
  top: {
187
278
  type?: undefined;
@@ -192,9 +283,9 @@ declare const _default: import("vue").DefineComponent<{
192
283
  [key: string]: any;
193
284
  }[] | {
194
285
  [key: string]: any;
195
- }[] | {
286
+ }[] | Events | {
196
287
  [key: string]: any;
197
- } | import("src/_utils/props").RequestParams | Events;
288
+ } | import("src/_utils/props").RequestParams;
198
289
  };
199
290
  left: {
200
291
  type?: undefined;
@@ -205,9 +296,9 @@ declare const _default: import("vue").DefineComponent<{
205
296
  [key: string]: any;
206
297
  }[] | {
207
298
  [key: string]: any;
208
- }[] | {
299
+ }[] | Events | {
209
300
  [key: string]: any;
210
- } | import("src/_utils/props").RequestParams | Events;
301
+ } | import("src/_utils/props").RequestParams;
211
302
  };
212
303
  zIndex: {
213
304
  type?: undefined;
@@ -218,9 +309,9 @@ declare const _default: import("vue").DefineComponent<{
218
309
  [key: string]: any;
219
310
  }[] | {
220
311
  [key: string]: any;
221
- }[] | {
312
+ }[] | Events | {
222
313
  [key: string]: any;
223
- } | import("src/_utils/props").RequestParams | Events;
314
+ } | import("src/_utils/props").RequestParams;
224
315
  };
225
316
  rotate: {
226
317
  type?: undefined;
@@ -231,9 +322,9 @@ declare const _default: import("vue").DefineComponent<{
231
322
  [key: string]: any;
232
323
  }[] | {
233
324
  [key: string]: any;
234
- }[] | {
325
+ }[] | Events | {
235
326
  [key: string]: any;
236
- } | import("src/_utils/props").RequestParams | Events;
327
+ } | import("src/_utils/props").RequestParams;
237
328
  };
238
329
  isShow: {
239
330
  type?: undefined;
@@ -244,9 +335,9 @@ declare const _default: import("vue").DefineComponent<{
244
335
  [key: string]: any;
245
336
  }[] | {
246
337
  [key: string]: any;
247
- }[] | {
338
+ }[] | Events | {
248
339
  [key: string]: any;
249
- } | import("src/_utils/props").RequestParams | Events;
340
+ } | import("src/_utils/props").RequestParams;
250
341
  };
251
342
  isRender: {
252
343
  type?: undefined;
@@ -257,9 +348,9 @@ declare const _default: import("vue").DefineComponent<{
257
348
  [key: string]: any;
258
349
  }[] | {
259
350
  [key: string]: any;
260
- }[] | {
351
+ }[] | Events | {
261
352
  [key: string]: any;
262
- } | import("src/_utils/props").RequestParams | Events;
353
+ } | import("src/_utils/props").RequestParams;
263
354
  };
264
355
  isRequestData: {
265
356
  type?: undefined;
@@ -270,11 +361,11 @@ declare const _default: import("vue").DefineComponent<{
270
361
  [key: string]: any;
271
362
  }[] | {
272
363
  [key: string]: any;
273
- }[] | {
364
+ }[] | Events | {
274
365
  [key: string]: any;
275
- } | import("src/_utils/props").RequestParams | Events;
366
+ } | import("src/_utils/props").RequestParams;
276
367
  };
277
- requestUrl: {
368
+ events: {
278
369
  type?: undefined;
279
370
  default?: undefined;
280
371
  } | {
@@ -283,11 +374,11 @@ declare const _default: import("vue").DefineComponent<{
283
374
  [key: string]: any;
284
375
  }[] | {
285
376
  [key: string]: any;
286
- }[] | {
377
+ }[] | Events | {
287
378
  [key: string]: any;
288
- } | import("src/_utils/props").RequestParams | Events;
379
+ } | import("src/_utils/props").RequestParams;
289
380
  };
290
- requestMethod: {
381
+ requestUrl: {
291
382
  type?: undefined;
292
383
  default?: undefined;
293
384
  } | {
@@ -296,11 +387,11 @@ declare const _default: import("vue").DefineComponent<{
296
387
  [key: string]: any;
297
388
  }[] | {
298
389
  [key: string]: any;
299
- }[] | {
390
+ }[] | Events | {
300
391
  [key: string]: any;
301
- } | import("src/_utils/props").RequestParams | Events;
392
+ } | import("src/_utils/props").RequestParams;
302
393
  };
303
- requestHeaders: {
394
+ requestMethod: {
304
395
  type?: undefined;
305
396
  default?: undefined;
306
397
  } | {
@@ -309,11 +400,11 @@ declare const _default: import("vue").DefineComponent<{
309
400
  [key: string]: any;
310
401
  }[] | {
311
402
  [key: string]: any;
312
- }[] | {
403
+ }[] | Events | {
313
404
  [key: string]: any;
314
- } | import("src/_utils/props").RequestParams | Events;
405
+ } | import("src/_utils/props").RequestParams;
315
406
  };
316
- isOpenRequestTimer: {
407
+ requestHeaders: {
317
408
  type?: undefined;
318
409
  default?: undefined;
319
410
  } | {
@@ -322,11 +413,11 @@ declare const _default: import("vue").DefineComponent<{
322
413
  [key: string]: any;
323
414
  }[] | {
324
415
  [key: string]: any;
325
- }[] | {
416
+ }[] | Events | {
326
417
  [key: string]: any;
327
- } | import("src/_utils/props").RequestParams | Events;
418
+ } | import("src/_utils/props").RequestParams;
328
419
  };
329
- requestInterval: {
420
+ isOpenRequestTimer: {
330
421
  type?: undefined;
331
422
  default?: undefined;
332
423
  } | {
@@ -335,11 +426,11 @@ declare const _default: import("vue").DefineComponent<{
335
426
  [key: string]: any;
336
427
  }[] | {
337
428
  [key: string]: any;
338
- }[] | {
429
+ }[] | Events | {
339
430
  [key: string]: any;
340
- } | import("src/_utils/props").RequestParams | Events;
431
+ } | import("src/_utils/props").RequestParams;
341
432
  };
342
- requestParams: {
433
+ requestInterval: {
343
434
  type?: undefined;
344
435
  default?: undefined;
345
436
  } | {
@@ -348,11 +439,11 @@ declare const _default: import("vue").DefineComponent<{
348
439
  [key: string]: any;
349
440
  }[] | {
350
441
  [key: string]: any;
351
- }[] | {
442
+ }[] | Events | {
352
443
  [key: string]: any;
353
- } | import("src/_utils/props").RequestParams | Events;
444
+ } | import("src/_utils/props").RequestParams;
354
445
  };
355
- events: {
446
+ requestParams: {
356
447
  type?: undefined;
357
448
  default?: undefined;
358
449
  } | {
@@ -361,9 +452,9 @@ declare const _default: import("vue").DefineComponent<{
361
452
  [key: string]: any;
362
453
  }[] | {
363
454
  [key: string]: any;
364
- }[] | {
455
+ }[] | Events | {
365
456
  [key: string]: any;
366
- } | import("src/_utils/props").RequestParams | Events;
457
+ } | import("src/_utils/props").RequestParams;
367
458
  };
368
459
  }, {
369
460
  x: import("vue").ComputedRef<string | number | boolean | {
@@ -374,9 +465,31 @@ declare const _default: import("vue").DefineComponent<{
374
465
  [key: string]: any;
375
466
  }[]>;
376
467
  style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
377
- customRow: () => {
468
+ customRow: (record: any) => {
378
469
  onClick: () => void;
379
470
  };
471
+ pagination: import("vue").ComputedRef<{
472
+ simple: string | number | boolean | {
473
+ [key: string]: any;
474
+ };
475
+ position: (string | number | boolean | {
476
+ [key: string]: any;
477
+ })[];
478
+ total: number;
479
+ current: number;
480
+ pageSize: number;
481
+ }>;
482
+ formatFn: (value: string | number, format?: "" | "money" | "percentage" | "contrast") => string | number;
483
+ contrastClass: (value: string | number, format: "" | "money" | "percentage" | "contrast") => "" | "goUp" | "goDown";
484
+ tableChange: ({ current }: {
485
+ current: number;
486
+ }, _filters: any, sorter: any) => void;
487
+ dataSource: import("vue").Ref<{
488
+ [x: string]: any;
489
+ }[]>;
490
+ summaryList: import("vue").ComputedRef<{
491
+ [key: string]: any;
492
+ }[]>;
380
493
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
381
494
  columns?: unknown;
382
495
  data?: unknown;
@@ -385,6 +498,13 @@ declare const _default: import("vue").DefineComponent<{
385
498
  isUseSeq?: unknown;
386
499
  columnsFixedNum?: unknown;
387
500
  scrollX?: unknown;
501
+ paginationShow?: unknown;
502
+ paginationPosition?: unknown;
503
+ simple?: unknown;
504
+ headerCellBackgroundColor?: unknown;
505
+ cellBackgroundColor?: unknown;
506
+ borderColor?: unknown;
507
+ paginationPageSize?: unknown;
388
508
  id?: unknown;
389
509
  name?: unknown;
390
510
  keyName?: unknown;
@@ -399,13 +519,13 @@ declare const _default: import("vue").DefineComponent<{
399
519
  isShow?: unknown;
400
520
  isRender?: unknown;
401
521
  isRequestData?: unknown;
522
+ events?: unknown;
402
523
  requestUrl?: unknown;
403
524
  requestMethod?: unknown;
404
525
  requestHeaders?: unknown;
405
526
  isOpenRequestTimer?: unknown;
406
527
  requestInterval?: unknown;
407
528
  requestParams?: unknown;
408
- events?: unknown;
409
529
  } & {} & {
410
530
  type?: string | number | boolean | {
411
531
  [key: string]: any;
@@ -431,6 +551,27 @@ declare const _default: import("vue").DefineComponent<{
431
551
  scrollX?: string | number | boolean | {
432
552
  [key: string]: any;
433
553
  };
554
+ paginationShow?: string | number | boolean | {
555
+ [key: string]: any;
556
+ };
557
+ paginationPosition?: string | number | boolean | {
558
+ [key: string]: any;
559
+ };
560
+ simple?: string | number | boolean | {
561
+ [key: string]: any;
562
+ };
563
+ headerCellBackgroundColor?: string | number | boolean | {
564
+ [key: string]: any;
565
+ };
566
+ cellBackgroundColor?: string | number | boolean | {
567
+ [key: string]: any;
568
+ };
569
+ borderColor?: string | number | boolean | {
570
+ [key: string]: any;
571
+ };
572
+ paginationPageSize?: string | number | boolean | {
573
+ [key: string]: any;
574
+ };
434
575
  id?: string | number | boolean | {
435
576
  [key: string]: any;
436
577
  };
@@ -470,6 +611,9 @@ declare const _default: import("vue").DefineComponent<{
470
611
  isRequestData?: string | number | boolean | {
471
612
  [key: string]: any;
472
613
  };
614
+ events?: string | number | boolean | {
615
+ [key: string]: any;
616
+ };
473
617
  requestUrl?: string | number | boolean | {
474
618
  [key: string]: any;
475
619
  };
@@ -488,8 +632,5 @@ declare const _default: import("vue").DefineComponent<{
488
632
  requestParams?: string | number | boolean | {
489
633
  [key: string]: any;
490
634
  };
491
- events?: string | number | boolean | {
492
- [key: string]: any;
493
- };
494
635
  }>, {}>;
495
636
  export default _default;