@ecan-bi/datav 1.0.17 → 1.0.20
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/_utils/constant.d.ts +8 -0
- package/dist/_utils/hooks/index.d.ts +3 -1
- package/dist/_utils/hooks/useImagePath.d.ts +2 -0
- package/dist/_utils/hooks/useRequestParams.d.ts +5 -0
- package/dist/_utils/hooks/useTransformChartDataByAttrKey.d.ts +13 -0
- package/dist/_utils/hooks/useTransformChartDataByAttrValue.d.ts +13 -0
- package/dist/_utils/props.d.ts +13 -0
- package/dist/_utils/request.d.ts +2 -0
- package/dist/common/Skeleton/Skeleton.vue.d.ts +20 -0
- package/dist/common/Skeleton/index.d.ts +2 -0
- package/dist/common/echarts/ECharts.d.ts +2 -2
- package/dist/common/index.d.ts +2 -0
- package/dist/common/spin/Spin.vue.d.ts +17 -0
- package/dist/common/spin/index.d.ts +2 -0
- package/dist/container/border/props.d.ts +9 -0
- package/dist/container/card/index.d.ts +3 -0
- package/dist/container/card/props.d.ts +244 -0
- package/dist/container/index.d.ts +0 -1
- package/dist/container/modal/Modal.vue.d.ts +1 -0
- package/dist/control/button/Button.vue.d.ts +13 -0
- package/dist/control/button/props.d.ts +9 -0
- package/dist/control/date-picker/DatePicker.vue.d.ts +14 -1
- package/dist/control/date-picker/props.d.ts +9 -0
- package/dist/control/index.d.ts +1 -0
- package/dist/control/input/Input.vue.d.ts +13 -0
- package/dist/control/input/props.d.ts +9 -0
- package/dist/control/range-picker/RangePicker.vue.d.ts +194 -22
- package/dist/control/range-picker/props.d.ts +40 -0
- package/dist/control/select/Select.vue.d.ts +129 -26
- package/dist/control/select/props.d.ts +121 -23
- package/dist/{container → control}/tabs/Tabs.vue.d.ts +23 -1
- package/dist/{container → control}/tabs/index.d.ts +0 -0
- package/dist/{container → control}/tabs/props.d.ts +16 -0
- package/dist/graph/bar/Bar.vue.d.ts +88 -224
- package/dist/graph/bar/props.d.ts +76 -227
- package/dist/graph/combo-graph/ComboGraph.vue.d.ts +89 -229
- package/dist/graph/combo-graph/props.d.ts +78 -232
- package/dist/graph/custom-graph/CustomGraph.vue.d.ts +15 -0
- package/dist/graph/custom-graph/props.d.ts +11 -0
- package/dist/graph/line/Line.vue.d.ts +87 -219
- package/dist/graph/line/props.d.ts +76 -222
- package/dist/graph/pie/Pie.vue.d.ts +82 -259
- package/dist/graph/pie/props.d.ts +74 -262
- package/dist/graph/scatter/Scatter.vue.d.ts +17 -0
- package/dist/graph/scatter/props.d.ts +13 -0
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -0
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -0
- package/dist/media/image/Image.vue.d.ts +14 -0
- package/dist/media/image/props.d.ts +9 -0
- package/dist/setting/event-config/index.d.ts +2 -0
- package/dist/table/table/Table.vue.d.ts +19 -1
- package/dist/table/table/props.d.ts +13 -0
- package/dist/text/list/List.vue.d.ts +21 -0
- package/dist/text/list/props.d.ts +18 -0
- package/dist/text/text/Text.vue.d.ts +16 -0
- package/dist/text/text/props.d.ts +12 -0
- package/dist/text/time-display/TimeDisplay.vue.d.ts +13 -0
- package/dist/text/time-display/props.d.ts +9 -0
- package/package.json +1 -4
- package/dist/_utils/hooks/useTransformEchartsDataset.d.ts +0 -17
|
@@ -197,8 +197,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
197
197
|
[key: string]: any;
|
|
198
198
|
} | import("../../_utils/props").RequestParams;
|
|
199
199
|
};
|
|
200
|
+
requestSort: {
|
|
201
|
+
type?: undefined;
|
|
202
|
+
default?: undefined;
|
|
203
|
+
} | {
|
|
204
|
+
type: any;
|
|
205
|
+
default: string | number | boolean | import("../../_utils/props").Events | {
|
|
206
|
+
[key: string]: any;
|
|
207
|
+
} | import("../../_utils/props").RequestParams;
|
|
208
|
+
};
|
|
200
209
|
}, {
|
|
201
210
|
style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
|
|
211
|
+
myImgUrl: import("vue").ComputedRef<string>;
|
|
202
212
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
203
213
|
imgUrl?: unknown;
|
|
204
214
|
id?: unknown;
|
|
@@ -222,6 +232,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
222
232
|
isOpenRequestTimer?: unknown;
|
|
223
233
|
requestInterval?: unknown;
|
|
224
234
|
requestParams?: unknown;
|
|
235
|
+
requestSort?: unknown;
|
|
225
236
|
} & {} & {
|
|
226
237
|
type?: string | number | boolean | {
|
|
227
238
|
[key: string]: any;
|
|
@@ -289,5 +300,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
289
300
|
requestParams?: string | number | boolean | {
|
|
290
301
|
[key: string]: any;
|
|
291
302
|
};
|
|
303
|
+
requestSort?: string | number | boolean | {
|
|
304
|
+
[key: string]: any;
|
|
305
|
+
};
|
|
292
306
|
}>, {}>;
|
|
293
307
|
export default _default;
|
|
@@ -202,4 +202,13 @@ export declare const imageComponentProps: {
|
|
|
202
202
|
[key: string]: any;
|
|
203
203
|
} | import("../../_utils/props").RequestParams;
|
|
204
204
|
};
|
|
205
|
+
requestSort: {
|
|
206
|
+
type?: undefined;
|
|
207
|
+
default?: undefined;
|
|
208
|
+
} | {
|
|
209
|
+
type: any;
|
|
210
|
+
default: string | number | boolean | import("../../_utils/props").Events | {
|
|
211
|
+
[key: string]: any;
|
|
212
|
+
} | import("../../_utils/props").RequestParams;
|
|
213
|
+
};
|
|
205
214
|
};
|
|
@@ -456,6 +456,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
456
456
|
[key: string]: any;
|
|
457
457
|
} | import("src/_utils/props").RequestParams;
|
|
458
458
|
};
|
|
459
|
+
requestSort: {
|
|
460
|
+
type?: undefined;
|
|
461
|
+
default?: undefined;
|
|
462
|
+
} | {
|
|
463
|
+
type: any;
|
|
464
|
+
default: string | number | boolean | {
|
|
465
|
+
[key: string]: any;
|
|
466
|
+
}[] | {
|
|
467
|
+
[key: string]: any;
|
|
468
|
+
}[] | Events | {
|
|
469
|
+
[key: string]: any;
|
|
470
|
+
} | import("src/_utils/props").RequestParams;
|
|
471
|
+
};
|
|
459
472
|
}, {
|
|
460
473
|
x: import("vue").ComputedRef<string | number | boolean | {
|
|
461
474
|
[key: string]: any;
|
|
@@ -483,13 +496,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
483
496
|
contrastClass: (value: string | number, format: "" | "money" | "percentage" | "contrast") => "" | "goUp" | "goDown";
|
|
484
497
|
tableChange: ({ current }: {
|
|
485
498
|
current: number;
|
|
486
|
-
}, _filters: any,
|
|
499
|
+
}, _filters: any, _sorter: any) => void;
|
|
487
500
|
dataSource: import("vue").Ref<{
|
|
488
501
|
[x: string]: any;
|
|
489
502
|
}[]>;
|
|
490
503
|
summaryList: import("vue").ComputedRef<{
|
|
491
504
|
[key: string]: any;
|
|
492
505
|
}[]>;
|
|
506
|
+
loading: import("vue").Ref<boolean>;
|
|
493
507
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
494
508
|
columns?: unknown;
|
|
495
509
|
data?: unknown;
|
|
@@ -526,6 +540,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
526
540
|
isOpenRequestTimer?: unknown;
|
|
527
541
|
requestInterval?: unknown;
|
|
528
542
|
requestParams?: unknown;
|
|
543
|
+
requestSort?: unknown;
|
|
529
544
|
} & {} & {
|
|
530
545
|
type?: string | number | boolean | {
|
|
531
546
|
[key: string]: any;
|
|
@@ -632,5 +647,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
632
647
|
requestParams?: string | number | boolean | {
|
|
633
648
|
[key: string]: any;
|
|
634
649
|
};
|
|
650
|
+
requestSort?: string | number | boolean | {
|
|
651
|
+
[key: string]: any;
|
|
652
|
+
};
|
|
635
653
|
}>, {}>;
|
|
636
654
|
export default _default;
|
|
@@ -476,5 +476,18 @@ export declare const tableComponentProps: {
|
|
|
476
476
|
[key: string]: any;
|
|
477
477
|
} | import("../../_utils/props").RequestParams;
|
|
478
478
|
};
|
|
479
|
+
requestSort: {
|
|
480
|
+
type?: undefined;
|
|
481
|
+
default?: undefined;
|
|
482
|
+
} | {
|
|
483
|
+
type: any;
|
|
484
|
+
default: string | number | boolean | {
|
|
485
|
+
[key: string]: any;
|
|
486
|
+
}[] | {
|
|
487
|
+
[key: string]: any;
|
|
488
|
+
}[] | import("../../_utils/props").Events | {
|
|
489
|
+
[key: string]: any;
|
|
490
|
+
} | import("../../_utils/props").RequestParams;
|
|
491
|
+
};
|
|
479
492
|
};
|
|
480
493
|
export declare const tableEvents: string[];
|
|
@@ -350,6 +350,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
350
350
|
[key: string]: any;
|
|
351
351
|
} | import("../../_utils/props").RequestParams;
|
|
352
352
|
};
|
|
353
|
+
requestSort: {
|
|
354
|
+
type?: undefined;
|
|
355
|
+
default?: undefined;
|
|
356
|
+
} | {
|
|
357
|
+
type: any;
|
|
358
|
+
default: string | number | boolean | {
|
|
359
|
+
[key: string]: any;
|
|
360
|
+
}[] | {
|
|
361
|
+
[key: string]: any;
|
|
362
|
+
}[] | import("../../_utils/props").Events | {
|
|
363
|
+
[key: string]: any;
|
|
364
|
+
} | import("../../_utils/props").RequestParams;
|
|
365
|
+
};
|
|
353
366
|
}, {
|
|
354
367
|
style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
|
|
355
368
|
formatFn: (value: string | number, format?: "" | "money" | "percentage" | "contrast") => string | number;
|
|
@@ -357,6 +370,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
357
370
|
textAlign: string;
|
|
358
371
|
}>;
|
|
359
372
|
contrastClass: (value: string | number, format: "" | "money" | "percentage" | "contrast") => "" | "goUp" | "goDown";
|
|
373
|
+
dataSource: import("vue").Ref<{
|
|
374
|
+
[x: string]: any;
|
|
375
|
+
}[]>;
|
|
376
|
+
loading: import("vue").Ref<boolean>;
|
|
360
377
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
361
378
|
data?: unknown;
|
|
362
379
|
columns?: unknown;
|
|
@@ -385,6 +402,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
385
402
|
isOpenRequestTimer?: unknown;
|
|
386
403
|
requestInterval?: unknown;
|
|
387
404
|
requestParams?: unknown;
|
|
405
|
+
requestSort?: unknown;
|
|
388
406
|
} & {} & {
|
|
389
407
|
type?: string | number | boolean | {
|
|
390
408
|
[key: string]: any;
|
|
@@ -467,5 +485,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
467
485
|
requestParams?: string | number | boolean | {
|
|
468
486
|
[key: string]: any;
|
|
469
487
|
};
|
|
488
|
+
requestSort?: string | number | boolean | {
|
|
489
|
+
[key: string]: any;
|
|
490
|
+
};
|
|
470
491
|
}>, {}>;
|
|
471
492
|
export default _default;
|
|
@@ -364,4 +364,22 @@ export declare const listComponentProps: {
|
|
|
364
364
|
[key: string]: any;
|
|
365
365
|
} | import("../../_utils/props").RequestParams;
|
|
366
366
|
};
|
|
367
|
+
requestSort: {
|
|
368
|
+
type?: undefined;
|
|
369
|
+
default?: undefined;
|
|
370
|
+
} | {
|
|
371
|
+
type: any;
|
|
372
|
+
default: string | number | boolean | {
|
|
373
|
+
[key: string]: any;
|
|
374
|
+
}[] | {
|
|
375
|
+
[key: string]: any;
|
|
376
|
+
}[] | import("../../_utils/props").Events | {
|
|
377
|
+
[key: string]: any;
|
|
378
|
+
} | import("../../_utils/props").RequestParams;
|
|
379
|
+
};
|
|
367
380
|
};
|
|
381
|
+
export interface ListEvents {
|
|
382
|
+
refreshData: () => void;
|
|
383
|
+
click: () => void;
|
|
384
|
+
}
|
|
385
|
+
export declare const listEvents: Array<keyof ListEvents>;
|
|
@@ -340,9 +340,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
340
340
|
[key: string]: any;
|
|
341
341
|
} | import("../../_utils/props").RequestParams;
|
|
342
342
|
};
|
|
343
|
+
requestSort: {
|
|
344
|
+
type?: undefined;
|
|
345
|
+
default?: undefined;
|
|
346
|
+
} | {
|
|
347
|
+
type: any;
|
|
348
|
+
default: string | number | boolean | {
|
|
349
|
+
[key: string]: any;
|
|
350
|
+
} | import("../../_utils/props").Events | {
|
|
351
|
+
[key: string]: any;
|
|
352
|
+
} | import("../../_utils/props").RequestParams;
|
|
353
|
+
};
|
|
343
354
|
}, {
|
|
344
355
|
style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
|
|
345
356
|
myText: import("vue").ComputedRef<string>;
|
|
357
|
+
loading: import("vue").Ref<boolean>;
|
|
346
358
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
347
359
|
text?: unknown;
|
|
348
360
|
color?: unknown;
|
|
@@ -375,6 +387,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
375
387
|
isOpenRequestTimer?: unknown;
|
|
376
388
|
requestInterval?: unknown;
|
|
377
389
|
requestParams?: unknown;
|
|
390
|
+
requestSort?: unknown;
|
|
378
391
|
} & {} & {
|
|
379
392
|
type?: string | number | boolean | {
|
|
380
393
|
[key: string]: any;
|
|
@@ -469,5 +482,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
469
482
|
requestParams?: string | number | boolean | {
|
|
470
483
|
[key: string]: any;
|
|
471
484
|
};
|
|
485
|
+
requestSort?: string | number | boolean | {
|
|
486
|
+
[key: string]: any;
|
|
487
|
+
};
|
|
472
488
|
}>, {}>;
|
|
473
489
|
export default _default;
|
|
@@ -356,4 +356,16 @@ export declare const textComponentProps: {
|
|
|
356
356
|
[key: string]: any;
|
|
357
357
|
} | import("../../_utils/props").RequestParams;
|
|
358
358
|
};
|
|
359
|
+
requestSort: {
|
|
360
|
+
type?: undefined;
|
|
361
|
+
default?: undefined;
|
|
362
|
+
} | {
|
|
363
|
+
type: any;
|
|
364
|
+
default: string | number | boolean | {
|
|
365
|
+
[key: string]: any;
|
|
366
|
+
} | import("../../_utils/props").Events | {
|
|
367
|
+
[key: string]: any;
|
|
368
|
+
} | import("../../_utils/props").RequestParams;
|
|
369
|
+
};
|
|
359
370
|
};
|
|
371
|
+
export declare const textEvents: string[];
|
|
@@ -260,6 +260,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
260
260
|
[key: string]: any;
|
|
261
261
|
} | import("../../_utils/props").RequestParams;
|
|
262
262
|
};
|
|
263
|
+
requestSort: {
|
|
264
|
+
type?: undefined;
|
|
265
|
+
default?: undefined;
|
|
266
|
+
} | {
|
|
267
|
+
type: any;
|
|
268
|
+
default: string | number | boolean | import("../../_utils/props").Events | {
|
|
269
|
+
[key: string]: any;
|
|
270
|
+
} | import("../../_utils/props").RequestParams;
|
|
271
|
+
};
|
|
263
272
|
}, {
|
|
264
273
|
style: import("vue").ComputedRef<import("vue").HTMLAttributes>;
|
|
265
274
|
time: import("vue").Ref<string>;
|
|
@@ -293,6 +302,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
293
302
|
isOpenRequestTimer?: unknown;
|
|
294
303
|
requestInterval?: unknown;
|
|
295
304
|
requestParams?: unknown;
|
|
305
|
+
requestSort?: unknown;
|
|
296
306
|
} & {} & {
|
|
297
307
|
type?: string | number | boolean | {
|
|
298
308
|
[key: string]: any;
|
|
@@ -381,5 +391,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
381
391
|
requestParams?: string | number | boolean | {
|
|
382
392
|
[key: string]: any;
|
|
383
393
|
};
|
|
394
|
+
requestSort?: string | number | boolean | {
|
|
395
|
+
[key: string]: any;
|
|
396
|
+
};
|
|
384
397
|
}>, {}>;
|
|
385
398
|
export default _default;
|
|
@@ -272,4 +272,13 @@ export declare const timeDisplayComponentProps: {
|
|
|
272
272
|
[key: string]: any;
|
|
273
273
|
} | import("../../_utils/props").RequestParams;
|
|
274
274
|
};
|
|
275
|
+
requestSort: {
|
|
276
|
+
type?: undefined;
|
|
277
|
+
default?: undefined;
|
|
278
|
+
} | {
|
|
279
|
+
type: any;
|
|
280
|
+
default: string | number | boolean | import("../../_utils/props").Events | {
|
|
281
|
+
[key: string]: any;
|
|
282
|
+
} | import("../../_utils/props").RequestParams;
|
|
283
|
+
};
|
|
275
284
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecan-bi/datav",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"import": "./dist/index.esm.js",
|
|
@@ -20,9 +20,6 @@
|
|
|
20
20
|
"publishConfig": {
|
|
21
21
|
"access": "public"
|
|
22
22
|
},
|
|
23
|
-
"sideEffects": [
|
|
24
|
-
"dist/*"
|
|
25
|
-
],
|
|
26
23
|
"license": "ISC",
|
|
27
24
|
"scripts": {
|
|
28
25
|
"build": "npm run clean && npm run lint && rollup -c ./rollup.config.js",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Data } from '../props';
|
|
2
|
-
/**
|
|
3
|
-
* 图形转化数据
|
|
4
|
-
* @param data 数据
|
|
5
|
-
* @param dataFieldNames 字段映射
|
|
6
|
-
*/
|
|
7
|
-
export declare const useTransformEchartsDataset: (data: Data, dataFieldNames?: {
|
|
8
|
-
name: string;
|
|
9
|
-
value: string;
|
|
10
|
-
type: string;
|
|
11
|
-
}) => {
|
|
12
|
-
dimensions: unknown[];
|
|
13
|
-
dataset: {
|
|
14
|
-
[key: string]: any;
|
|
15
|
-
}[];
|
|
16
|
-
};
|
|
17
|
-
export default useTransformEchartsDataset;
|