@ecan-bi/datav 1.0.89 → 1.0.90
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 +35 -14
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +35 -14
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +9 -13
- package/es/hooks/useVariablesInText.js +0 -1
- package/package.json +1 -1
- package/types/control/select/Select.vue.d.ts +1 -0
- package/types/control/select/index.d.ts +1 -0
- package/types/table/table/Table.vue.d.ts +80 -0
- package/types/table/table/index.d.ts +80 -0
- package/types/table/table/props.d.ts +42 -0
package/dist/style.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.0.
|
|
1
|
+
/*! @ecan-bi/datav@1.0.90 */
|
|
2
2
|
x-vue-echarts{display:block;width:100%;height:100%}
|
|
3
3
|
.spin-wrapper {
|
|
4
4
|
position: relative;
|
|
@@ -249,7 +249,7 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
249
249
|
[datav-theme='darkBlue'] .ecan-date-picker-dropdown .ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner {
|
|
250
250
|
background: #1890ff;
|
|
251
251
|
}
|
|
252
|
-
.select[data-v-
|
|
252
|
+
.select[data-v-7ae9493f] {
|
|
253
253
|
width: 100%;
|
|
254
254
|
height: 100%;
|
|
255
255
|
}
|
|
@@ -685,16 +685,16 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
685
685
|
width: 100%;
|
|
686
686
|
overflow: hidden;
|
|
687
687
|
}
|
|
688
|
-
.table[data-v-
|
|
688
|
+
.table[data-v-32101ced] {
|
|
689
689
|
width: 100%;
|
|
690
690
|
}
|
|
691
|
-
.goUp[data-v-
|
|
691
|
+
.goUp[data-v-32101ced] {
|
|
692
692
|
color: #FF512E;
|
|
693
693
|
display: flex;
|
|
694
694
|
align-items: center;
|
|
695
695
|
justify-content: center;
|
|
696
696
|
}
|
|
697
|
-
.goUp[data-v-
|
|
697
|
+
.goUp[data-v-32101ced]:before {
|
|
698
698
|
content: '';
|
|
699
699
|
display: block;
|
|
700
700
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAV1BMVEUAAAD/WzT/WjP/WDD/WzT/WzP/WzT/WzT/WzT/WjT/WzT/WDT/YED/WzT/WzT/WjT/YED/WzT/WzT/WzT/XDT/WzT/WjX/WjP/XDT/XDT/WTL/Tif/WzReH8z5AAAAHHRSTlMA8RgS9W9YHbePZyME5sVjCP7bzcCxgndOQC4GFJJgKwAAAIJJREFUKM+Nkd0OgyAMRjvqcLA53fzXvv9zaokmxq8mnsue5ACFDjiy+XyjLZ7yyK35OxN5mSFZKa2QojEIKRhrZKM0QnsMQxirmJ0kBubTIZvAtUyiFAT4JFoUIYmIotZ5xjDPfyoCAV16nMPdFir8xZ16nM//tePtXw2ODOJY0V0WqQwM2rgKrU0AAAAASUVORK5CYII=");
|
|
@@ -704,13 +704,13 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
704
704
|
background-size: cover;
|
|
705
705
|
margin-right: 2px;
|
|
706
706
|
}
|
|
707
|
-
.goDown[data-v-
|
|
707
|
+
.goDown[data-v-32101ced] {
|
|
708
708
|
color: #39cf93;
|
|
709
709
|
display: flex;
|
|
710
710
|
align-items: center;
|
|
711
711
|
justify-content: center;
|
|
712
712
|
}
|
|
713
|
-
.goDown[data-v-
|
|
713
|
+
.goDown[data-v-32101ced]:before {
|
|
714
714
|
content: '';
|
|
715
715
|
display: block;
|
|
716
716
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlL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eKviliTdRSHmsrvBbMU+lzNg0oidaLvox7LIK+IHdem/iqIROzL/jG+NrT1BRsXKNQAAAABJRU5ErkJggg==");
|
|
@@ -720,17 +720,13 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
720
720
|
background-size: cover;
|
|
721
721
|
margin-right: 2px;
|
|
722
722
|
}
|
|
723
|
-
.action-list[data-v-
|
|
723
|
+
.action-list[data-v-32101ced] {
|
|
724
724
|
display: flex;
|
|
725
725
|
width: 100%;
|
|
726
726
|
}
|
|
727
|
-
.action[data-v-
|
|
727
|
+
.action[data-v-32101ced] {
|
|
728
728
|
flex: 1;
|
|
729
729
|
}
|
|
730
|
-
.ecan-table *::-webkit-scrollbar {
|
|
731
|
-
width: 6px;
|
|
732
|
-
height: 6px;
|
|
733
|
-
}
|
|
734
730
|
.ecan-table *::-webkit-scrollbar-thumb {
|
|
735
731
|
border-radius: 3px;
|
|
736
732
|
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
@@ -35,7 +35,6 @@ const useVariablesInText = (formatter = "", data = {}, { useNewline = false, use
|
|
|
35
35
|
if (useSpace) {
|
|
36
36
|
formatter = formatter == null ? void 0 : formatter.replace(/\s{2,}?/g, " ");
|
|
37
37
|
}
|
|
38
|
-
console.log("formatter", formatter);
|
|
39
38
|
return formatter;
|
|
40
39
|
};
|
|
41
40
|
export {
|
package/package.json
CHANGED
|
@@ -313,6 +313,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
313
313
|
title?: string;
|
|
314
314
|
}[]>;
|
|
315
315
|
filterOption: (input: string, option: any) => boolean;
|
|
316
|
+
loading: import("vue").Ref<boolean>;
|
|
316
317
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
317
318
|
data: {
|
|
318
319
|
type?: undefined;
|
|
@@ -312,6 +312,7 @@ export declare const EcanSelect: import("../../utils/withInstall").SFCWithInstal
|
|
|
312
312
|
title?: string;
|
|
313
313
|
}[]>;
|
|
314
314
|
filterOption: (input: string, option: any) => boolean;
|
|
315
|
+
loading: import("vue").Ref<boolean>;
|
|
315
316
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
316
317
|
data: {
|
|
317
318
|
type?: undefined;
|
|
@@ -339,6 +339,46 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
339
339
|
[key: string]: any;
|
|
340
340
|
}[];
|
|
341
341
|
};
|
|
342
|
+
headerFontSize: {
|
|
343
|
+
type?: undefined;
|
|
344
|
+
default?: undefined;
|
|
345
|
+
} | {
|
|
346
|
+
type: any;
|
|
347
|
+
default: string | number | boolean | import("../../utils/props").Events | {
|
|
348
|
+
[key: string]: any;
|
|
349
|
+
} | import("../../utils/props").RequestParams | {
|
|
350
|
+
[key: string]: any;
|
|
351
|
+
}[] | {
|
|
352
|
+
[key: string]: any;
|
|
353
|
+
chartType: "table";
|
|
354
|
+
plugin: "1";
|
|
355
|
+
layer: "1";
|
|
356
|
+
} | {
|
|
357
|
+
[key: string]: any;
|
|
358
|
+
}[] | {
|
|
359
|
+
[key: string]: any;
|
|
360
|
+
}[];
|
|
361
|
+
};
|
|
362
|
+
headerFontWeight: {
|
|
363
|
+
type?: undefined;
|
|
364
|
+
default?: undefined;
|
|
365
|
+
} | {
|
|
366
|
+
type: any;
|
|
367
|
+
default: string | number | boolean | import("../../utils/props").Events | {
|
|
368
|
+
[key: string]: any;
|
|
369
|
+
} | import("../../utils/props").RequestParams | {
|
|
370
|
+
[key: string]: any;
|
|
371
|
+
}[] | {
|
|
372
|
+
[key: string]: any;
|
|
373
|
+
chartType: "table";
|
|
374
|
+
plugin: "1";
|
|
375
|
+
layer: "1";
|
|
376
|
+
} | {
|
|
377
|
+
[key: string]: any;
|
|
378
|
+
}[] | {
|
|
379
|
+
[key: string]: any;
|
|
380
|
+
}[];
|
|
381
|
+
};
|
|
342
382
|
fontSize: {
|
|
343
383
|
type?: undefined;
|
|
344
384
|
default?: undefined;
|
|
@@ -1241,6 +1281,46 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1241
1281
|
[key: string]: any;
|
|
1242
1282
|
}[];
|
|
1243
1283
|
};
|
|
1284
|
+
headerFontSize: {
|
|
1285
|
+
type?: undefined;
|
|
1286
|
+
default?: undefined;
|
|
1287
|
+
} | {
|
|
1288
|
+
type: any;
|
|
1289
|
+
default: string | number | boolean | import("../../utils/props").Events | {
|
|
1290
|
+
[key: string]: any;
|
|
1291
|
+
} | import("../../utils/props").RequestParams | {
|
|
1292
|
+
[key: string]: any;
|
|
1293
|
+
}[] | {
|
|
1294
|
+
[key: string]: any;
|
|
1295
|
+
chartType: "table";
|
|
1296
|
+
plugin: "1";
|
|
1297
|
+
layer: "1";
|
|
1298
|
+
} | {
|
|
1299
|
+
[key: string]: any;
|
|
1300
|
+
}[] | {
|
|
1301
|
+
[key: string]: any;
|
|
1302
|
+
}[];
|
|
1303
|
+
};
|
|
1304
|
+
headerFontWeight: {
|
|
1305
|
+
type?: undefined;
|
|
1306
|
+
default?: undefined;
|
|
1307
|
+
} | {
|
|
1308
|
+
type: any;
|
|
1309
|
+
default: string | number | boolean | import("../../utils/props").Events | {
|
|
1310
|
+
[key: string]: any;
|
|
1311
|
+
} | import("../../utils/props").RequestParams | {
|
|
1312
|
+
[key: string]: any;
|
|
1313
|
+
}[] | {
|
|
1314
|
+
[key: string]: any;
|
|
1315
|
+
chartType: "table";
|
|
1316
|
+
plugin: "1";
|
|
1317
|
+
layer: "1";
|
|
1318
|
+
} | {
|
|
1319
|
+
[key: string]: any;
|
|
1320
|
+
}[] | {
|
|
1321
|
+
[key: string]: any;
|
|
1322
|
+
}[];
|
|
1323
|
+
};
|
|
1244
1324
|
fontSize: {
|
|
1245
1325
|
type?: undefined;
|
|
1246
1326
|
default?: undefined;
|
|
@@ -339,6 +339,46 @@ export declare const EcanTable: import('../../utils/withInstall').SFCWithInstall
|
|
|
339
339
|
[key: string]: any;
|
|
340
340
|
}[];
|
|
341
341
|
};
|
|
342
|
+
headerFontSize: {
|
|
343
|
+
type?: undefined;
|
|
344
|
+
default?: undefined;
|
|
345
|
+
} | {
|
|
346
|
+
type: any;
|
|
347
|
+
default: string | number | boolean | import("../../utils/props").Events | {
|
|
348
|
+
[key: string]: any;
|
|
349
|
+
} | import("../../utils/props").RequestParams | {
|
|
350
|
+
[key: string]: any;
|
|
351
|
+
}[] | {
|
|
352
|
+
[key: string]: any;
|
|
353
|
+
chartType: "table";
|
|
354
|
+
plugin: "1";
|
|
355
|
+
layer: "1";
|
|
356
|
+
} | {
|
|
357
|
+
[key: string]: any;
|
|
358
|
+
}[] | {
|
|
359
|
+
[key: string]: any;
|
|
360
|
+
}[];
|
|
361
|
+
};
|
|
362
|
+
headerFontWeight: {
|
|
363
|
+
type?: undefined;
|
|
364
|
+
default?: undefined;
|
|
365
|
+
} | {
|
|
366
|
+
type: any;
|
|
367
|
+
default: string | number | boolean | import("../../utils/props").Events | {
|
|
368
|
+
[key: string]: any;
|
|
369
|
+
} | import("../../utils/props").RequestParams | {
|
|
370
|
+
[key: string]: any;
|
|
371
|
+
}[] | {
|
|
372
|
+
[key: string]: any;
|
|
373
|
+
chartType: "table";
|
|
374
|
+
plugin: "1";
|
|
375
|
+
layer: "1";
|
|
376
|
+
} | {
|
|
377
|
+
[key: string]: any;
|
|
378
|
+
}[] | {
|
|
379
|
+
[key: string]: any;
|
|
380
|
+
}[];
|
|
381
|
+
};
|
|
342
382
|
fontSize: {
|
|
343
383
|
type?: undefined;
|
|
344
384
|
default?: undefined;
|
|
@@ -1241,6 +1281,46 @@ export declare const EcanTable: import('../../utils/withInstall').SFCWithInstall
|
|
|
1241
1281
|
[key: string]: any;
|
|
1242
1282
|
}[];
|
|
1243
1283
|
};
|
|
1284
|
+
headerFontSize: {
|
|
1285
|
+
type?: undefined;
|
|
1286
|
+
default?: undefined;
|
|
1287
|
+
} | {
|
|
1288
|
+
type: any;
|
|
1289
|
+
default: string | number | boolean | import("../../utils/props").Events | {
|
|
1290
|
+
[key: string]: any;
|
|
1291
|
+
} | import("../../utils/props").RequestParams | {
|
|
1292
|
+
[key: string]: any;
|
|
1293
|
+
}[] | {
|
|
1294
|
+
[key: string]: any;
|
|
1295
|
+
chartType: "table";
|
|
1296
|
+
plugin: "1";
|
|
1297
|
+
layer: "1";
|
|
1298
|
+
} | {
|
|
1299
|
+
[key: string]: any;
|
|
1300
|
+
}[] | {
|
|
1301
|
+
[key: string]: any;
|
|
1302
|
+
}[];
|
|
1303
|
+
};
|
|
1304
|
+
headerFontWeight: {
|
|
1305
|
+
type?: undefined;
|
|
1306
|
+
default?: undefined;
|
|
1307
|
+
} | {
|
|
1308
|
+
type: any;
|
|
1309
|
+
default: string | number | boolean | import("../../utils/props").Events | {
|
|
1310
|
+
[key: string]: any;
|
|
1311
|
+
} | import("../../utils/props").RequestParams | {
|
|
1312
|
+
[key: string]: any;
|
|
1313
|
+
}[] | {
|
|
1314
|
+
[key: string]: any;
|
|
1315
|
+
chartType: "table";
|
|
1316
|
+
plugin: "1";
|
|
1317
|
+
layer: "1";
|
|
1318
|
+
} | {
|
|
1319
|
+
[key: string]: any;
|
|
1320
|
+
}[] | {
|
|
1321
|
+
[key: string]: any;
|
|
1322
|
+
}[];
|
|
1323
|
+
};
|
|
1244
1324
|
fontSize: {
|
|
1245
1325
|
type?: undefined;
|
|
1246
1326
|
default?: undefined;
|
|
@@ -23,6 +23,8 @@ export interface TableProps extends Props {
|
|
|
23
23
|
actionList: {
|
|
24
24
|
[key: string]: any;
|
|
25
25
|
}[];
|
|
26
|
+
headerFontSize: string;
|
|
27
|
+
headerFontWeight: number;
|
|
26
28
|
fontSize: string;
|
|
27
29
|
fontWeight: number;
|
|
28
30
|
isReverse: boolean;
|
|
@@ -375,6 +377,46 @@ export declare const tableComponentProps: {
|
|
|
375
377
|
[key: string]: any;
|
|
376
378
|
}[];
|
|
377
379
|
};
|
|
380
|
+
headerFontSize: {
|
|
381
|
+
type?: undefined;
|
|
382
|
+
default?: undefined;
|
|
383
|
+
} | {
|
|
384
|
+
type: any;
|
|
385
|
+
default: string | number | boolean | import('../../utils/props').Events | {
|
|
386
|
+
[key: string]: any;
|
|
387
|
+
} | import('../../utils/props').RequestParams | {
|
|
388
|
+
[key: string]: any;
|
|
389
|
+
}[] | {
|
|
390
|
+
[key: string]: any;
|
|
391
|
+
chartType: 'table';
|
|
392
|
+
plugin: '1';
|
|
393
|
+
layer: '1';
|
|
394
|
+
} | {
|
|
395
|
+
[key: string]: any;
|
|
396
|
+
}[] | {
|
|
397
|
+
[key: string]: any;
|
|
398
|
+
}[];
|
|
399
|
+
};
|
|
400
|
+
headerFontWeight: {
|
|
401
|
+
type?: undefined;
|
|
402
|
+
default?: undefined;
|
|
403
|
+
} | {
|
|
404
|
+
type: any;
|
|
405
|
+
default: string | number | boolean | import('../../utils/props').Events | {
|
|
406
|
+
[key: string]: any;
|
|
407
|
+
} | import('../../utils/props').RequestParams | {
|
|
408
|
+
[key: string]: any;
|
|
409
|
+
}[] | {
|
|
410
|
+
[key: string]: any;
|
|
411
|
+
chartType: 'table';
|
|
412
|
+
plugin: '1';
|
|
413
|
+
layer: '1';
|
|
414
|
+
} | {
|
|
415
|
+
[key: string]: any;
|
|
416
|
+
}[] | {
|
|
417
|
+
[key: string]: any;
|
|
418
|
+
}[];
|
|
419
|
+
};
|
|
378
420
|
fontSize: {
|
|
379
421
|
type?: undefined;
|
|
380
422
|
default?: undefined;
|