@visactor/vseed 0.0.35 → 0.0.37

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 (115) hide show
  1. package/dist/builder/builder/builder.d.ts +8924 -8912
  2. package/dist/index.cjs +1128 -883
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.js +1097 -870
  5. package/dist/index.js.map +1 -1
  6. package/dist/pipeline/advanced/table/pipes/config/index.d.ts +2 -0
  7. package/dist/pipeline/advanced/table/pipes/config/pivotTableConfig.d.ts +2 -0
  8. package/dist/pipeline/advanced/table/pipes/config/tableConfig.d.ts +2 -0
  9. package/dist/pipeline/advanced/table/pipes/index.d.ts +1 -0
  10. package/dist/pipeline/spec/chart/pipes/series/index.d.ts +1 -1
  11. package/dist/pipeline/spec/chart/pipes/series/series.d.ts +1 -0
  12. package/dist/pipeline/spec/table/pipes/columns/dimensionsToColumns.d.ts +2 -0
  13. package/dist/pipeline/spec/table/pipes/columns/index.d.ts +1 -0
  14. package/dist/pipeline/spec/table/pipes/columns/measuresToColumns.d.ts +0 -1
  15. package/dist/pipeline/spec/table/pipes/indicators/index.d.ts +1 -0
  16. package/dist/pipeline/spec/table/pipes/indicators/pivotDataConfig.d.ts +2 -0
  17. package/dist/pipeline/utils/dimensions/index.d.ts +1 -0
  18. package/dist/pipeline/utils/dimensions/typeGuard.d.ts +4 -0
  19. package/dist/pipeline/utils/measures/index.d.ts +1 -0
  20. package/dist/pipeline/utils/measures/typeGuard.d.ts +4 -0
  21. package/dist/types/advancedVSeed.d.ts +3843 -3839
  22. package/dist/types/chartType/area/zArea.d.ts +569 -569
  23. package/dist/types/chartType/areaPercent/zAreaPercent.d.ts +569 -569
  24. package/dist/types/chartType/areaRange/zAreaRange.d.ts +550 -550
  25. package/dist/types/chartType/bar/bar.d.ts +0 -1183
  26. package/dist/types/chartType/bar/index.d.ts +2 -1
  27. package/dist/types/chartType/bar/zBar.d.ts +1183 -0
  28. package/dist/types/chartType/barParallel/barParallel.d.ts +0 -1183
  29. package/dist/types/chartType/barParallel/index.d.ts +2 -1
  30. package/dist/types/chartType/barParallel/zBarParallel.d.ts +1183 -0
  31. package/dist/types/chartType/barPercent/barPercent.d.ts +0 -1183
  32. package/dist/types/chartType/barPercent/index.d.ts +2 -1
  33. package/dist/types/chartType/barPercent/zBarPercent.d.ts +1183 -0
  34. package/dist/types/chartType/column/column.d.ts +0 -1183
  35. package/dist/types/chartType/column/index.d.ts +2 -1
  36. package/dist/types/chartType/column/zColumn.d.ts +1183 -0
  37. package/dist/types/chartType/columnParallel/columnParallel.d.ts +0 -1183
  38. package/dist/types/chartType/columnParallel/index.d.ts +2 -1
  39. package/dist/types/chartType/columnParallel/zColumnParallel.d.ts +1183 -0
  40. package/dist/types/chartType/columnPercent/columnPercent.d.ts +0 -1183
  41. package/dist/types/chartType/columnPercent/index.d.ts +2 -1
  42. package/dist/types/chartType/columnPercent/zColumnPercent.d.ts +1183 -0
  43. package/dist/types/chartType/donut/donut.d.ts +0 -119
  44. package/dist/types/chartType/donut/index.d.ts +2 -1
  45. package/dist/types/chartType/donut/zDonut.d.ts +119 -0
  46. package/dist/types/chartType/dualAxis/dualAxis.d.ts +58 -0
  47. package/dist/types/chartType/dualAxis/zDualAxis.d.ts +747 -749
  48. package/dist/types/chartType/funnel/funnel.d.ts +0 -89
  49. package/dist/types/chartType/funnel/index.d.ts +2 -1
  50. package/dist/types/chartType/funnel/zFunnel.d.ts +89 -0
  51. package/dist/types/chartType/heatmap/heatmap.d.ts +0 -89
  52. package/dist/types/chartType/heatmap/index.d.ts +2 -1
  53. package/dist/types/chartType/heatmap/zHeatmap.d.ts +89 -0
  54. package/dist/types/chartType/line/index.d.ts +2 -1
  55. package/dist/types/chartType/line/line.d.ts +0 -1365
  56. package/dist/types/chartType/line/zLine.d.ts +1365 -0
  57. package/dist/types/chartType/pie/index.d.ts +2 -1
  58. package/dist/types/chartType/pie/pie.d.ts +0 -119
  59. package/dist/types/chartType/pie/zPie.d.ts +119 -0
  60. package/dist/types/chartType/pivotTable/index.d.ts +2 -1
  61. package/dist/types/chartType/pivotTable/pivotTable.d.ts +44 -60
  62. package/dist/types/chartType/pivotTable/zPivotTable.d.ts +68 -0
  63. package/dist/types/chartType/radar/index.d.ts +2 -1
  64. package/dist/types/chartType/radar/radar.d.ts +0 -119
  65. package/dist/types/chartType/radar/zRadar.d.ts +119 -0
  66. package/dist/types/chartType/rose/index.d.ts +2 -1
  67. package/dist/types/chartType/rose/rose.d.ts +0 -119
  68. package/dist/types/chartType/rose/zRose.d.ts +119 -0
  69. package/dist/types/chartType/roseParallel/index.d.ts +2 -1
  70. package/dist/types/chartType/roseParallel/roseParallel.d.ts +0 -119
  71. package/dist/types/chartType/roseParallel/zRoseParallel.d.ts +119 -0
  72. package/dist/types/chartType/scatter/index.d.ts +2 -1
  73. package/dist/types/chartType/scatter/scatter.d.ts +0 -1191
  74. package/dist/types/chartType/scatter/zScatter.d.ts +1191 -0
  75. package/dist/types/chartType/table/index.d.ts +2 -1
  76. package/dist/types/chartType/table/table.d.ts +45 -64
  77. package/dist/types/chartType/table/zTable.d.ts +68 -0
  78. package/dist/types/dataSelector/selector.d.ts +16 -16
  79. package/dist/types/properties/analysis/analysis.d.ts +1 -1
  80. package/dist/types/properties/analysis/sort.d.ts +2 -4
  81. package/dist/types/properties/analysis/sortLegend.d.ts +2 -3
  82. package/dist/types/properties/annotation/annotation.d.ts +308 -308
  83. package/dist/types/properties/annotation/annotationArea.d.ts +20 -130
  84. package/dist/types/properties/annotation/annotationHorizontalLine.d.ts +31 -138
  85. package/dist/types/properties/annotation/annotationPoint.d.ts +20 -114
  86. package/dist/types/properties/annotation/annotationVerticalLine.d.ts +6 -113
  87. package/dist/types/properties/annotation/index.d.ts +8 -4
  88. package/dist/types/properties/annotation/zAnnotationArea.d.ts +110 -0
  89. package/dist/types/properties/annotation/zAnnotationHorizontalLine.d.ts +107 -0
  90. package/dist/types/properties/annotation/zAnnotationPoint.d.ts +94 -0
  91. package/dist/types/properties/annotation/zAnnotationVerticalLine.d.ts +107 -0
  92. package/dist/types/properties/config/axes/axis.d.ts +45 -45
  93. package/dist/types/properties/config/axes/bandAxis.d.ts +74 -74
  94. package/dist/types/properties/config/axes/linearAxis.d.ts +76 -76
  95. package/dist/types/properties/config/backgroundColor/backgroundColor.d.ts +1 -1
  96. package/dist/types/properties/config/color/color.d.ts +3 -3
  97. package/dist/types/properties/config/config.d.ts +3286 -3282
  98. package/dist/types/properties/config/crosshair/crosshair.d.ts +10 -10
  99. package/dist/types/properties/config/label/label.d.ts +1 -1
  100. package/dist/types/properties/config/legend/legend.d.ts +13 -13
  101. package/dist/types/properties/config/tooltip/tooltip.d.ts +1 -1
  102. package/dist/types/properties/datasetReshapeInfo/datasetReshapeInfo.d.ts +2 -2
  103. package/dist/types/properties/encoding/encoding.d.ts +8 -8
  104. package/dist/types/properties/markStyle/areaStyle.d.ts +20 -20
  105. package/dist/types/properties/markStyle/barStyle.d.ts +24 -24
  106. package/dist/types/properties/markStyle/lineStyle.d.ts +24 -24
  107. package/dist/types/properties/markStyle/markStyle.d.ts +194 -194
  108. package/dist/types/properties/markStyle/pointStyle.d.ts +35 -35
  109. package/dist/types/properties/measures/dualMeasures.d.ts +0 -2
  110. package/dist/types/properties/measures/zDualMeasures.d.ts +0 -4
  111. package/dist/types/properties/theme/customTheme.d.ts +3334 -3330
  112. package/dist/types/vseed.d.ts +6781 -6757
  113. package/dist/umd/index.js +1148 -905
  114. package/dist/umd/index.js.map +1 -1
  115. package/package.json +1 -1
@@ -46,32 +46,32 @@ export type PointStyle = {
46
46
  */
47
47
  pointSize?: number;
48
48
  /**
49
- * 柱状图颜色
50
- * @description 柱状图颜色
49
+ * 点图元颜色
50
+ * @description 点图元颜色
51
51
  * @type {string}
52
52
  */
53
53
  pointColor?: string;
54
54
  /**
55
- * 柱状图颜色透明度
56
- * @description 柱状图颜色透明度
55
+ * 点图元颜色透明度
56
+ * @description 点图元颜色透明度
57
57
  * @type {number}
58
58
  */
59
59
  pointColorOpacity?: number;
60
60
  /**
61
- * 柱状图边框颜色
62
- * @description 柱状图边框颜色
61
+ * 点图元边框颜色
62
+ * @description 点图元边框颜色
63
63
  * @type {string}
64
64
  */
65
65
  pointBorderColor?: string;
66
66
  /**
67
- * 柱状图边框宽度
68
- * @description 柱状图边框宽度
67
+ * 点图元边框宽度
68
+ * @description 点图元边框宽度
69
69
  * @type {number}
70
70
  */
71
71
  pointBorderWidth?: number;
72
72
  /**
73
- * 柱状图边框样式
74
- * @description 柱状图边框样式
73
+ * 点图元边框样式
74
+ * @description 点图元边框样式
75
75
  * @type {number}
76
76
  * @example solid
77
77
  * @example dashed
@@ -80,9 +80,9 @@ export type PointStyle = {
80
80
  pointBorderStyle?: 'solid' | 'dashed' | 'dotted';
81
81
  };
82
82
  export declare const zPointStyle: z.ZodObject<{
83
- selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
83
+ selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
84
84
  field: z.ZodString;
85
- operator: z.ZodOptional<z.ZodEnum<{
85
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
86
86
  "=": "=";
87
87
  "==": "==";
88
88
  "!=": "!=";
@@ -91,8 +91,8 @@ export declare const zPointStyle: z.ZodObject<{
91
91
  ">=": ">=";
92
92
  "<=": "<=";
93
93
  between: "between";
94
- }>>;
95
- op: z.ZodOptional<z.ZodEnum<{
94
+ }>>>;
95
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
96
96
  "=": "=";
97
97
  "==": "==";
98
98
  "!=": "!=";
@@ -101,22 +101,22 @@ export declare const zPointStyle: z.ZodObject<{
101
101
  ">=": ">=";
102
102
  "<=": "<=";
103
103
  between: "between";
104
- }>>;
104
+ }>>>;
105
105
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
106
106
  }, z.core.$strip>, z.ZodObject<{
107
107
  field: z.ZodString;
108
- operator: z.ZodOptional<z.ZodEnum<{
108
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
109
109
  in: "in";
110
110
  "not in": "not in";
111
- }>>;
112
- op: z.ZodOptional<z.ZodEnum<{
111
+ }>>>;
112
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
113
113
  in: "in";
114
114
  "not in": "not in";
115
- }>>;
115
+ }>>>;
116
116
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
117
117
  }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
118
118
  field: z.ZodString;
119
- operator: z.ZodOptional<z.ZodEnum<{
119
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
120
120
  "=": "=";
121
121
  "==": "==";
122
122
  "!=": "!=";
@@ -125,8 +125,8 @@ export declare const zPointStyle: z.ZodObject<{
125
125
  ">=": ">=";
126
126
  "<=": "<=";
127
127
  between: "between";
128
- }>>;
129
- op: z.ZodOptional<z.ZodEnum<{
128
+ }>>>;
129
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
130
130
  "=": "=";
131
131
  "==": "==";
132
132
  "!=": "!=";
@@ -135,28 +135,28 @@ export declare const zPointStyle: z.ZodObject<{
135
135
  ">=": ">=";
136
136
  "<=": "<=";
137
137
  between: "between";
138
- }>>;
138
+ }>>>;
139
139
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
140
140
  }, z.core.$strip>, z.ZodObject<{
141
141
  field: z.ZodString;
142
- operator: z.ZodOptional<z.ZodEnum<{
142
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
143
143
  in: "in";
144
144
  "not in": "not in";
145
- }>>;
146
- op: z.ZodOptional<z.ZodEnum<{
145
+ }>>>;
146
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
147
147
  in: "in";
148
148
  "not in": "not in";
149
- }>>;
149
+ }>>>;
150
150
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
151
- }, z.core.$strip>]>>]>>;
152
- pointSize: z.ZodOptional<z.ZodNumber>;
153
- pointColor: z.ZodOptional<z.ZodString>;
154
- pointColorOpacity: z.ZodOptional<z.ZodNumber>;
155
- pointBorderColor: z.ZodOptional<z.ZodString>;
156
- pointBorderWidth: z.ZodOptional<z.ZodNumber>;
157
- pointBorderStyle: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
151
+ }, z.core.$strip>]>>]>>>;
152
+ pointSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
153
+ pointColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
154
+ pointColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
155
+ pointBorderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
156
+ pointBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
157
+ pointBorderStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
158
158
  solid: "solid";
159
159
  dashed: "dashed";
160
160
  dotted: "dotted";
161
- }>]>>;
161
+ }>]>>>;
162
162
  }, z.core.$strip>;
@@ -1,8 +1,6 @@
1
1
  import type { Measure } from './measures';
2
2
  export type DualMeasure = {
3
- primaryAlias?: string;
4
3
  primaryMeasures?: Measure | Measure[];
5
- secondaryAlias?: string;
6
4
  secondaryMeasures?: Measure | Measure[];
7
5
  };
8
6
  export type DualMeasures = DualMeasure[];
@@ -70,7 +70,6 @@ export declare const zDualMeasure: z.ZodObject<{
70
70
  }>>>;
71
71
  }, z.core.$strip>>>;
72
72
  }, z.core.$strip>]>>;
73
- primaryAlias: z.ZodOptional<z.ZodString>;
74
73
  secondaryMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
75
74
  id: z.ZodString;
76
75
  alias: z.ZodOptional<z.ZodString>;
@@ -140,7 +139,6 @@ export declare const zDualMeasure: z.ZodObject<{
140
139
  }>>>;
141
140
  }, z.core.$strip>>>;
142
141
  }, z.core.$strip>]>>;
143
- secondaryAlias: z.ZodOptional<z.ZodString>;
144
142
  }, z.core.$strip>;
145
143
  export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
146
144
  id: z.ZodString;
@@ -213,7 +211,6 @@ export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
213
211
  }>>>;
214
212
  }, z.core.$strip>>>;
215
213
  }, z.core.$strip>]>>;
216
- primaryAlias: z.ZodOptional<z.ZodString>;
217
214
  secondaryMeasures: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
218
215
  id: z.ZodString;
219
216
  alias: z.ZodOptional<z.ZodString>;
@@ -283,5 +280,4 @@ export declare const zDualMeasures: z.ZodArray<z.ZodObject<{
283
280
  }>>>;
284
281
  }, z.core.$strip>>>;
285
282
  }, z.core.$strip>]>>;
286
- secondaryAlias: z.ZodOptional<z.ZodString>;
287
283
  }, z.core.$strip>>;