@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.
Files changed (62) hide show
  1. package/dist/builder/builder/builder.d.ts +1125 -757
  2. package/dist/builder/register/chartType.d.ts +2 -0
  3. package/dist/dataReshape/dataReshapeFor2D1M0Name.d.ts +19 -0
  4. package/dist/dataReshape/index.d.ts +1 -0
  5. package/dist/dataReshape/unfoldZeroDimensions.d.ts +10 -0
  6. package/dist/index.cjs +921 -193
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.js +870 -181
  9. package/dist/index.js.map +1 -1
  10. package/dist/pipeline/advanced/chart/pipeline/heatmap.d.ts +2 -0
  11. package/dist/pipeline/advanced/chart/pipeline/index.d.ts +2 -0
  12. package/dist/pipeline/advanced/chart/pipeline/radar.d.ts +2 -0
  13. package/dist/pipeline/advanced/chart/pipes/config/config.d.ts +2 -0
  14. package/dist/pipeline/advanced/chart/pipes/encoding/encodingAR.d.ts +2 -0
  15. package/dist/pipeline/advanced/chart/pipes/encoding/encodingMatrix.d.ts +2 -0
  16. package/dist/pipeline/advanced/chart/pipes/encoding/index.d.ts +1 -0
  17. package/dist/pipeline/advanced/chart/pipes/reshape/index.d.ts +3 -1
  18. package/dist/pipeline/advanced/chart/pipes/reshape/pivotReshapeTo2D1M0Name.d.ts +8 -0
  19. package/dist/pipeline/advanced/chart/pipes/reshape/reshapeTo2D1M0Name.d.ts +8 -0
  20. package/dist/pipeline/spec/chart/pipeline/heatmap.d.ts +2 -0
  21. package/dist/pipeline/spec/chart/pipeline/index.d.ts +3 -1
  22. package/dist/pipeline/spec/chart/pipeline/radar.d.ts +2 -0
  23. package/dist/pipeline/spec/chart/pipes/axes/index.d.ts +2 -0
  24. package/dist/pipeline/spec/chart/pipes/axes/radarAngle.d.ts +2 -0
  25. package/dist/pipeline/spec/chart/pipes/axes/radarRadius.d.ts +2 -0
  26. package/dist/pipeline/spec/chart/pipes/color/index.d.ts +1 -0
  27. package/dist/pipeline/spec/chart/pipes/color/linearColor.d.ts +2 -0
  28. package/dist/pipeline/spec/chart/pipes/dataset/{dataset.d.ts → datasetXY.d.ts} +1 -1
  29. package/dist/pipeline/spec/chart/pipes/{axes/a.d.ts → dataset/datasetYX.d.ts} +1 -1
  30. package/dist/pipeline/spec/chart/pipes/dataset/index.d.ts +2 -1
  31. package/dist/pipeline/spec/chart/pipes/init/heatmap.d.ts +2 -0
  32. package/dist/pipeline/spec/chart/pipes/init/index.d.ts +3 -2
  33. package/dist/pipeline/spec/chart/pipes/init/radar.d.ts +2 -0
  34. package/dist/pipeline/spec/chart/pipes/label/index.d.ts +1 -0
  35. package/dist/pipeline/spec/chart/pipes/label/labelColorInversion.d.ts +2 -0
  36. package/dist/pipeline/spec/chart/pipes/legend/colorLegend.d.ts +2 -0
  37. package/dist/pipeline/spec/chart/pipes/legend/index.d.ts +1 -0
  38. package/dist/types/advancedVSeed.d.ts +457 -187
  39. package/dist/types/chartType/area/area.d.ts +1 -1
  40. package/dist/types/chartType/areaPercent/areaPercent.d.ts +1 -1
  41. package/dist/types/chartType/areaRange/areaRange.d.ts +1 -1
  42. package/dist/types/chartType/funnel/funnel.d.ts +6 -39
  43. package/dist/types/chartType/heatmap/heatmap.d.ts +176 -0
  44. package/dist/types/chartType/heatmap/index.d.ts +1 -0
  45. package/dist/types/chartType/index.d.ts +4 -2
  46. package/dist/types/chartType/line/line.d.ts +1 -1
  47. package/dist/types/chartType/radar/index.d.ts +1 -0
  48. package/dist/types/chartType/radar/radar.d.ts +207 -0
  49. package/dist/types/properties/chartType/chartType.d.ts +10 -6
  50. package/dist/types/properties/config/color/color.d.ts +11 -0
  51. package/dist/types/properties/config/config.d.ts +519 -238
  52. package/dist/types/properties/config/legend/legend.d.ts +26 -0
  53. package/dist/types/properties/markStyle/areaStyle.d.ts +0 -2
  54. package/dist/types/properties/markStyle/barStyle.d.ts +0 -6
  55. package/dist/types/properties/markStyle/lineStyle.d.ts +1 -6
  56. package/dist/types/properties/markStyle/markStyle.d.ts +2 -2
  57. package/dist/types/properties/markStyle/pointStyle.d.ts +0 -6
  58. package/dist/types/properties/theme/customTheme.d.ts +496 -228
  59. package/dist/types/vseed.d.ts +838 -664
  60. package/dist/umd/index.js +895 -193
  61. package/dist/umd/index.js.map +1 -1
  62. 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.ZodDefault<z.ZodBoolean>>;
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.ZodDefault<z.ZodBoolean>>;
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.ZodDefault<z.ZodBoolean>>;
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