@visactor/vseed 0.0.23 → 0.0.25
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/builder/builder/builder.d.ts +1125 -757
- package/dist/builder/register/chartType.d.ts +2 -0
- package/dist/dataReshape/dataReshapeFor2D1M0Name.d.ts +19 -0
- package/dist/dataReshape/index.d.ts +1 -0
- package/dist/dataReshape/unfoldZeroDimensions.d.ts +10 -0
- package/dist/index.cjs +921 -193
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +870 -181
- package/dist/index.js.map +1 -1
- package/dist/pipeline/advanced/chart/pipeline/heatmap.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/index.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/radar.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/config/config.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/encoding/encodingAR.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/encoding/encodingMatrix.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/encoding/index.d.ts +1 -0
- package/dist/pipeline/advanced/chart/pipes/reshape/index.d.ts +3 -1
- package/dist/pipeline/advanced/chart/pipes/reshape/pivotReshapeTo2D1M0Name.d.ts +8 -0
- package/dist/pipeline/advanced/chart/pipes/reshape/reshapeTo2D1M0Name.d.ts +8 -0
- package/dist/pipeline/spec/chart/pipeline/heatmap.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipeline/index.d.ts +3 -1
- package/dist/pipeline/spec/chart/pipeline/radar.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipes/axes/index.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipes/axes/radarAngle.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipes/axes/radarRadius.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipes/color/index.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipes/color/linearColor.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipes/dataset/{dataset.d.ts → datasetXY.d.ts} +1 -1
- package/dist/pipeline/spec/chart/pipes/{axes/a.d.ts → dataset/datasetYX.d.ts} +1 -1
- package/dist/pipeline/spec/chart/pipes/dataset/index.d.ts +2 -1
- package/dist/pipeline/spec/chart/pipes/init/heatmap.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipes/init/index.d.ts +3 -2
- package/dist/pipeline/spec/chart/pipes/init/radar.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipes/label/index.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipes/label/labelColorInversion.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipes/legend/colorLegend.d.ts +2 -0
- package/dist/pipeline/spec/chart/pipes/legend/index.d.ts +1 -0
- package/dist/types/advancedVSeed.d.ts +457 -187
- package/dist/types/chartType/area/area.d.ts +1 -1
- package/dist/types/chartType/areaPercent/areaPercent.d.ts +1 -1
- package/dist/types/chartType/areaRange/areaRange.d.ts +1 -1
- package/dist/types/chartType/funnel/funnel.d.ts +6 -39
- package/dist/types/chartType/heatmap/heatmap.d.ts +176 -0
- package/dist/types/chartType/heatmap/index.d.ts +1 -0
- package/dist/types/chartType/index.d.ts +4 -2
- package/dist/types/chartType/line/line.d.ts +1 -1
- package/dist/types/chartType/radar/index.d.ts +1 -0
- package/dist/types/chartType/radar/radar.d.ts +207 -0
- package/dist/types/properties/chartType/chartType.d.ts +10 -6
- package/dist/types/properties/config/color/color.d.ts +11 -0
- package/dist/types/properties/config/config.d.ts +519 -238
- package/dist/types/properties/config/legend/legend.d.ts +26 -0
- package/dist/types/properties/markStyle/areaStyle.d.ts +0 -2
- package/dist/types/properties/markStyle/barStyle.d.ts +0 -6
- package/dist/types/properties/markStyle/lineStyle.d.ts +1 -6
- package/dist/types/properties/markStyle/markStyle.d.ts +2 -2
- package/dist/types/properties/markStyle/pointStyle.d.ts +0 -6
- package/dist/types/properties/theme/customTheme.d.ts +496 -228
- package/dist/types/vseed.d.ts +838 -664
- package/dist/umd/index.js +895 -193
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
@@ -106,3 +106,29 @@ export declare const zLegend: z.ZodObject<{
|
|
106
106
|
labelFontColor: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
107
107
|
labelFontWeight: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
108
108
|
}, z.core.$strip>;
|
109
|
+
export type ColorLegend = Pick<Legend, 'position' | 'enable'>;
|
110
|
+
export declare const zColorLegend: z.ZodObject<{
|
111
|
+
position: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
112
|
+
left: "left";
|
113
|
+
leftTop: "leftTop";
|
114
|
+
leftBottom: "leftBottom";
|
115
|
+
lt: "lt";
|
116
|
+
lb: "lb";
|
117
|
+
top: "top";
|
118
|
+
topLeft: "topLeft";
|
119
|
+
topRight: "topRight";
|
120
|
+
tl: "tl";
|
121
|
+
tr: "tr";
|
122
|
+
right: "right";
|
123
|
+
rightTop: "rightTop";
|
124
|
+
rightBottom: "rightBottom";
|
125
|
+
rt: "rt";
|
126
|
+
rb: "rb";
|
127
|
+
bottom: "bottom";
|
128
|
+
bottomLeft: "bottomLeft";
|
129
|
+
bottomRight: "bottomRight";
|
130
|
+
bl: "bl";
|
131
|
+
br: "br";
|
132
|
+
}>>>;
|
133
|
+
enable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
134
|
+
}, z.core.$strip>;
|
@@ -43,14 +43,12 @@ export type AreaStyle = {
|
|
43
43
|
* 面积图元的颜色
|
44
44
|
* @description 面积图元的颜色
|
45
45
|
* @type {string}
|
46
|
-
* @default {undefined} follow series color
|
47
46
|
*/
|
48
47
|
areaColor?: string;
|
49
48
|
/**
|
50
49
|
* 面积图元的颜色透明度
|
51
50
|
* @description 面积图元的颜色透明度
|
52
51
|
* @type {number}
|
53
|
-
* @default 1
|
54
52
|
*/
|
55
53
|
areaColorOpacity?: number;
|
56
54
|
};
|
@@ -43,35 +43,30 @@ export type BarStyle = {
|
|
43
43
|
* 柱状图颜色
|
44
44
|
* @description 柱状图颜色
|
45
45
|
* @type {string}
|
46
|
-
* @default #000000
|
47
46
|
*/
|
48
47
|
barColor?: string;
|
49
48
|
/**
|
50
49
|
* 柱状图颜色透明度
|
51
50
|
* @description 柱状图颜色透明度
|
52
51
|
* @type {number}
|
53
|
-
* @default 1
|
54
52
|
*/
|
55
53
|
barColorOpacity?: number;
|
56
54
|
/**
|
57
55
|
* 柱状图边框颜色
|
58
56
|
* @description 柱状图边框颜色
|
59
57
|
* @type {string}
|
60
|
-
* @default #000000
|
61
58
|
*/
|
62
59
|
barBorderColor?: string;
|
63
60
|
/**
|
64
61
|
* 柱状图边框宽度
|
65
62
|
* @description 柱状图边框宽度
|
66
63
|
* @type {number}
|
67
|
-
* @default 0
|
68
64
|
*/
|
69
65
|
barBorderWidth?: number;
|
70
66
|
/**
|
71
67
|
* 柱状图边框样式
|
72
68
|
* @description 柱状图边框样式
|
73
69
|
* @type {number}
|
74
|
-
* @default solid
|
75
70
|
* @example solid
|
76
71
|
* @example dashed
|
77
72
|
* @example dotted
|
@@ -81,7 +76,6 @@ export type BarStyle = {
|
|
81
76
|
* 柱状图圆角
|
82
77
|
* @description 柱状图圆角
|
83
78
|
* @type {number | number[]}
|
84
|
-
* @default 0
|
85
79
|
* @example 4
|
86
80
|
* @example [0, 0, 10, 10]
|
87
81
|
*/
|
@@ -43,35 +43,30 @@ export type LineStyle = {
|
|
43
43
|
* 折线图是否平滑
|
44
44
|
* @description 折线图是否平滑
|
45
45
|
* @type {boolean}
|
46
|
-
* @default true
|
47
46
|
*/
|
48
47
|
lineSmooth?: boolean;
|
49
48
|
/**
|
50
49
|
* 柱状图颜色
|
51
50
|
* @description 柱状图颜色
|
52
51
|
* @type {string}
|
53
|
-
* @default {undefined} follow series color
|
54
52
|
*/
|
55
53
|
lineColor?: string;
|
56
54
|
/**
|
57
55
|
* 柱状图颜色透明度
|
58
56
|
* @description 柱状图颜色透明度
|
59
57
|
* @type {number}
|
60
|
-
* @default 1
|
61
58
|
*/
|
62
59
|
lineColorOpacity?: number;
|
63
60
|
/**
|
64
61
|
* 柱状图边框宽度
|
65
62
|
* @description 柱状图边框宽度
|
66
63
|
* @type {number}
|
67
|
-
* @default 1
|
68
64
|
*/
|
69
65
|
lineWidth?: number;
|
70
66
|
/**
|
71
67
|
* 柱状图边框样式
|
72
68
|
* @description 柱状图边框样式
|
73
69
|
* @type {number}
|
74
|
-
* @default solid
|
75
70
|
* @example solid
|
76
71
|
* @example dashed
|
77
72
|
* @example dotted
|
@@ -148,7 +143,7 @@ export declare const zLineStyle: z.ZodObject<{
|
|
148
143
|
}>>;
|
149
144
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
150
145
|
}, z.core.$strip>]>>]>>;
|
151
|
-
lineSmooth: z.ZodOptional<z.
|
146
|
+
lineSmooth: z.ZodOptional<z.ZodBoolean>;
|
152
147
|
lineColor: z.ZodOptional<z.ZodString>;
|
153
148
|
lineColorOpacity: z.ZodOptional<z.ZodNumber>;
|
154
149
|
lineWidth: z.ZodOptional<z.ZodNumber>;
|
@@ -384,7 +384,7 @@ export declare const zMarkStyle: z.ZodObject<{
|
|
384
384
|
}>>;
|
385
385
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
386
386
|
}, z.core.$strip>]>>]>>;
|
387
|
-
lineSmooth: z.ZodOptional<z.
|
387
|
+
lineSmooth: z.ZodOptional<z.ZodBoolean>;
|
388
388
|
lineColor: z.ZodOptional<z.ZodString>;
|
389
389
|
lineColorOpacity: z.ZodOptional<z.ZodNumber>;
|
390
390
|
lineWidth: z.ZodOptional<z.ZodNumber>;
|
@@ -463,7 +463,7 @@ export declare const zMarkStyle: z.ZodObject<{
|
|
463
463
|
}>>;
|
464
464
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|
465
465
|
}, z.core.$strip>]>>]>>;
|
466
|
-
lineSmooth: z.ZodOptional<z.
|
466
|
+
lineSmooth: z.ZodOptional<z.ZodBoolean>;
|
467
467
|
lineColor: z.ZodOptional<z.ZodString>;
|
468
468
|
lineColorOpacity: z.ZodOptional<z.ZodNumber>;
|
469
469
|
lineWidth: z.ZodOptional<z.ZodNumber>;
|
@@ -43,42 +43,36 @@ export type PointStyle = {
|
|
43
43
|
* 点大小
|
44
44
|
* @description 点大小
|
45
45
|
* @type {number}
|
46
|
-
* @default 10
|
47
46
|
*/
|
48
47
|
pointSize?: number;
|
49
48
|
/**
|
50
49
|
* 柱状图颜色
|
51
50
|
* @description 柱状图颜色
|
52
51
|
* @type {string}
|
53
|
-
* @default #000000
|
54
52
|
*/
|
55
53
|
pointColor?: string;
|
56
54
|
/**
|
57
55
|
* 柱状图颜色透明度
|
58
56
|
* @description 柱状图颜色透明度
|
59
57
|
* @type {number}
|
60
|
-
* @default 1
|
61
58
|
*/
|
62
59
|
pointColorOpacity?: number;
|
63
60
|
/**
|
64
61
|
* 柱状图边框颜色
|
65
62
|
* @description 柱状图边框颜色
|
66
63
|
* @type {string}
|
67
|
-
* @default #000000
|
68
64
|
*/
|
69
65
|
pointBorderColor?: string;
|
70
66
|
/**
|
71
67
|
* 柱状图边框宽度
|
72
68
|
* @description 柱状图边框宽度
|
73
69
|
* @type {number}
|
74
|
-
* @default 0
|
75
70
|
*/
|
76
71
|
pointBorderWidth?: number;
|
77
72
|
/**
|
78
73
|
* 柱状图边框样式
|
79
74
|
* @description 柱状图边框样式
|
80
75
|
* @type {number}
|
81
|
-
* @default solid
|
82
76
|
* @example solid
|
83
77
|
* @example dashed
|
84
78
|
* @example dotted
|