@visactor/vseed 0.5.5 → 0.5.6

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 (215) hide show
  1. package/dist/cjs/index.cjs +2 -2
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/esm/builder/register/all.js +3 -1
  4. package/dist/esm/builder/register/all.js.map +1 -1
  5. package/dist/esm/builder/register/chartType/hierarchySankey.d.ts +4 -0
  6. package/dist/esm/builder/register/chartType/hierarchySankey.js +9 -0
  7. package/dist/esm/builder/register/chartType/hierarchySankey.js.map +1 -0
  8. package/dist/esm/builder/register/chartType/index.d.ts +2 -0
  9. package/dist/esm/builder/register/chartType/index.js +2 -0
  10. package/dist/esm/builder/register/chartType/sankey.d.ts +1 -0
  11. package/dist/esm/builder/register/chartType/sankey.js +9 -0
  12. package/dist/esm/builder/register/chartType/sankey.js.map +1 -0
  13. package/dist/esm/dataReshape/constant.d.ts +2 -0
  14. package/dist/esm/dataReshape/constant.js +3 -1
  15. package/dist/esm/dataReshape/constant.js.map +1 -1
  16. package/dist/esm/dataReshape/unfoldDimensions.js +8 -2
  17. package/dist/esm/dataReshape/unfoldDimensions.js.map +1 -1
  18. package/dist/esm/index.d.ts +1 -1
  19. package/dist/esm/index.js +1 -1
  20. package/dist/esm/pipeline/advanced/chart/pipeline/hierarchySankey.d.ts +2 -0
  21. package/dist/esm/pipeline/advanced/chart/pipeline/hierarchySankey.js +33 -0
  22. package/dist/esm/pipeline/advanced/chart/pipeline/hierarchySankey.js.map +1 -0
  23. package/dist/esm/pipeline/advanced/chart/pipeline/index.d.ts +2 -0
  24. package/dist/esm/pipeline/advanced/chart/pipeline/index.js +2 -0
  25. package/dist/esm/pipeline/advanced/chart/pipeline/sankey.d.ts +2 -0
  26. package/dist/esm/pipeline/advanced/chart/pipeline/sankey.js +33 -0
  27. package/dist/esm/pipeline/advanced/chart/pipeline/sankey.js.map +1 -0
  28. package/dist/esm/pipeline/advanced/chart/pipes/config/hierarchySankey.d.ts +2 -0
  29. package/dist/esm/pipeline/advanced/chart/pipes/config/hierarchySankey.js +27 -0
  30. package/dist/esm/pipeline/advanced/chart/pipes/config/hierarchySankey.js.map +1 -0
  31. package/dist/esm/pipeline/advanced/chart/pipes/config/index.d.ts +2 -0
  32. package/dist/esm/pipeline/advanced/chart/pipes/config/index.js +2 -0
  33. package/dist/esm/pipeline/advanced/chart/pipes/config/index.js.map +1 -1
  34. package/dist/esm/pipeline/advanced/chart/pipes/config/sankey.d.ts +2 -0
  35. package/dist/esm/pipeline/advanced/chart/pipes/config/sankey.js +27 -0
  36. package/dist/esm/pipeline/advanced/chart/pipes/config/sankey.js.map +1 -0
  37. package/dist/esm/pipeline/advanced/chart/pipes/encoding/index.d.ts +1 -0
  38. package/dist/esm/pipeline/advanced/chart/pipes/encoding/index.js +1 -0
  39. package/dist/esm/pipeline/advanced/chart/pipes/encoding/sankey.d.ts +3 -0
  40. package/dist/esm/pipeline/advanced/chart/pipes/encoding/sankey.js +83 -0
  41. package/dist/esm/pipeline/advanced/chart/pipes/encoding/sankey.js.map +1 -0
  42. package/dist/esm/pipeline/spec/chart/pipeline/hierarchySankey.d.ts +1 -0
  43. package/dist/esm/pipeline/spec/chart/pipeline/hierarchySankey.js +39 -0
  44. package/dist/esm/pipeline/spec/chart/pipeline/hierarchySankey.js.map +1 -0
  45. package/dist/esm/pipeline/spec/chart/pipeline/index.d.ts +2 -0
  46. package/dist/esm/pipeline/spec/chart/pipeline/index.js +2 -0
  47. package/dist/esm/pipeline/spec/chart/pipeline/sankey.d.ts +1 -0
  48. package/dist/esm/pipeline/spec/chart/pipeline/sankey.js +39 -0
  49. package/dist/esm/pipeline/spec/chart/pipeline/sankey.js.map +1 -0
  50. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHierarchy.js +5 -2
  51. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHierarchy.js.map +1 -1
  52. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHierarchySankey.d.ts +4 -0
  53. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHierarchySankey.js +136 -0
  54. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHierarchySankey.js.map +1 -0
  55. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetPivotHierarchy.d.ts +1 -0
  56. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetPivotHierarchy.js +1 -1
  57. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetPivotHierarchy.js.map +1 -1
  58. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetPivotHierarchySankey.d.ts +2 -0
  59. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetPivotHierarchySankey.js +44 -0
  60. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetPivotHierarchySankey.js.map +1 -0
  61. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetPivotSankey.d.ts +2 -0
  62. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetPivotSankey.js +50 -0
  63. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetPivotSankey.js.map +1 -0
  64. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetSankey.d.ts +16 -0
  65. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetSankey.js +97 -0
  66. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetSankey.js.map +1 -0
  67. package/dist/esm/pipeline/spec/chart/pipes/dataset/index.d.ts +4 -0
  68. package/dist/esm/pipeline/spec/chart/pipes/dataset/index.js +4 -0
  69. package/dist/esm/pipeline/spec/chart/pipes/init/circlePacking.js +1 -1
  70. package/dist/esm/pipeline/spec/chart/pipes/init/circlePacking.js.map +1 -1
  71. package/dist/esm/pipeline/spec/chart/pipes/init/hierarchySankey.d.ts +2 -0
  72. package/dist/esm/pipeline/spec/chart/pipes/init/hierarchySankey.js +32 -0
  73. package/dist/esm/pipeline/spec/chart/pipes/init/hierarchySankey.js.map +1 -0
  74. package/dist/esm/pipeline/spec/chart/pipes/init/index.d.ts +2 -0
  75. package/dist/esm/pipeline/spec/chart/pipes/init/index.js +2 -0
  76. package/dist/esm/pipeline/spec/chart/pipes/init/sankey.d.ts +2 -0
  77. package/dist/esm/pipeline/spec/chart/pipes/init/sankey.js +33 -0
  78. package/dist/esm/pipeline/spec/chart/pipes/init/sankey.js.map +1 -0
  79. package/dist/esm/pipeline/spec/chart/pipes/init/sunburst.js +1 -1
  80. package/dist/esm/pipeline/spec/chart/pipes/init/sunburst.js.map +1 -1
  81. package/dist/esm/pipeline/spec/chart/pipes/init/treeMap.js +1 -1
  82. package/dist/esm/pipeline/spec/chart/pipes/init/treeMap.js.map +1 -1
  83. package/dist/esm/pipeline/spec/chart/pipes/label/index.d.ts +2 -0
  84. package/dist/esm/pipeline/spec/chart/pipes/label/index.js +2 -0
  85. package/dist/esm/pipeline/spec/chart/pipes/label/label.js.map +1 -1
  86. package/dist/esm/pipeline/spec/chart/pipes/label/labelHierarchySankey.d.ts +17 -0
  87. package/dist/esm/pipeline/spec/chart/pipes/label/labelHierarchySankey.js +92 -0
  88. package/dist/esm/pipeline/spec/chart/pipes/label/labelHierarchySankey.js.map +1 -0
  89. package/dist/esm/pipeline/spec/chart/pipes/label/labelSankey.d.ts +2 -0
  90. package/dist/esm/pipeline/spec/chart/pipes/label/labelSankey.js +78 -0
  91. package/dist/esm/pipeline/spec/chart/pipes/label/labelSankey.js.map +1 -0
  92. package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapLeaf.js +4 -4
  93. package/dist/esm/pipeline/spec/chart/pipes/label/labelTreeMapLeaf.js.map +1 -1
  94. package/dist/esm/pipeline/spec/chart/pipes/legend/pivotColorLegend.js +1 -1
  95. package/dist/esm/pipeline/spec/chart/pipes/legend/pivotColorLegend.js.map +1 -1
  96. package/dist/esm/pipeline/spec/chart/pipes/legend/pivotDiscreteLegend.js +1 -1
  97. package/dist/esm/pipeline/spec/chart/pipes/legend/pivotDiscreteLegend.js.map +1 -1
  98. package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.d.ts +1 -0
  99. package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.js +1 -0
  100. package/dist/esm/pipeline/spec/chart/pipes/markStyle/sankeyInteractive.d.ts +2 -0
  101. package/dist/esm/pipeline/spec/chart/pipes/markStyle/sankeyInteractive.js +33 -0
  102. package/dist/esm/pipeline/spec/chart/pipes/markStyle/sankeyInteractive.js.map +1 -0
  103. package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.d.ts +2 -0
  104. package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.js +2 -0
  105. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHierarchySankey.d.ts +2 -0
  106. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHierarchySankey.js +150 -0
  107. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHierarchySankey.js.map +1 -0
  108. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipSankey.d.ts +2 -0
  109. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipSankey.js +75 -0
  110. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipSankey.js.map +1 -0
  111. package/dist/esm/pipeline/utils/chatType.d.ts +2 -0
  112. package/dist/esm/pipeline/utils/chatType.js +3 -1
  113. package/dist/esm/pipeline/utils/chatType.js.map +1 -1
  114. package/dist/esm/pipeline/utils/constant.d.ts +2 -0
  115. package/dist/esm/pipeline/utils/constant.js +2 -0
  116. package/dist/esm/pipeline/utils/constant.js.map +1 -1
  117. package/dist/esm/pipeline/utils/measures/typeGuard.js +1 -1
  118. package/dist/esm/pipeline/utils/measures/typeGuard.js.map +1 -1
  119. package/dist/esm/theme/dark/dark.js +3 -1
  120. package/dist/esm/theme/dark/dark.js.map +1 -1
  121. package/dist/esm/theme/dark/hierarchy.d.ts +132 -0
  122. package/dist/esm/theme/dark/hierarchy.js +3 -1
  123. package/dist/esm/theme/dark/hierarchy.js.map +1 -1
  124. package/dist/esm/theme/light/hierarchy.d.ts +132 -0
  125. package/dist/esm/theme/light/hierarchy.js +3 -1
  126. package/dist/esm/theme/light/hierarchy.js.map +1 -1
  127. package/dist/esm/theme/light/light.js +3 -1
  128. package/dist/esm/theme/light/light.js.map +1 -1
  129. package/dist/esm/types/chartType/area/zArea.d.ts +4 -0
  130. package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +4 -0
  131. package/dist/esm/types/chartType/bar/zBar.d.ts +4 -0
  132. package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +4 -0
  133. package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +4 -0
  134. package/dist/esm/types/chartType/boxPlot/zBoxPlot.d.ts +4 -0
  135. package/dist/esm/types/chartType/circlePacking/zCirclePacking.d.ts +2 -0
  136. package/dist/esm/types/chartType/column/zColumn.d.ts +4 -0
  137. package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +4 -0
  138. package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +4 -0
  139. package/dist/esm/types/chartType/donut/zDonut.d.ts +4 -0
  140. package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +2 -0
  141. package/dist/esm/types/chartType/funnel/zFunnel.d.ts +4 -0
  142. package/dist/esm/types/chartType/heatmap/zHeatmap.d.ts +2 -0
  143. package/dist/esm/types/chartType/hierarchySankey/hierarchySankey.d.ts +92 -0
  144. package/dist/esm/types/chartType/hierarchySankey/hierarchySankey.js +0 -0
  145. package/dist/esm/types/chartType/hierarchySankey/index.d.ts +2 -0
  146. package/dist/esm/types/chartType/hierarchySankey/index.js +1 -0
  147. package/dist/esm/types/chartType/hierarchySankey/zHierarchySankey.d.ts +422 -0
  148. package/dist/esm/types/chartType/hierarchySankey/zHierarchySankey.js +20 -0
  149. package/dist/esm/types/chartType/hierarchySankey/zHierarchySankey.js.map +1 -0
  150. package/dist/esm/types/chartType/histogram/zHistogram.d.ts +4 -0
  151. package/dist/esm/types/chartType/index.d.ts +2 -0
  152. package/dist/esm/types/chartType/index.js +2 -0
  153. package/dist/esm/types/chartType/line/zLine.d.ts +4 -0
  154. package/dist/esm/types/chartType/pie/zPie.d.ts +4 -0
  155. package/dist/esm/types/chartType/pivotTable/zPivotTable.d.ts +2 -0
  156. package/dist/esm/types/chartType/raceBar/zRaceBar.d.ts +4 -0
  157. package/dist/esm/types/chartType/raceColumn/zRaceColumn.d.ts +4 -0
  158. package/dist/esm/types/chartType/raceDonut/zRaceDonut.d.ts +4 -0
  159. package/dist/esm/types/chartType/raceLine/zRaceLine.d.ts +4 -0
  160. package/dist/esm/types/chartType/racePie/zRacePie.d.ts +4 -0
  161. package/dist/esm/types/chartType/raceScatter/zRaceScatter.d.ts +4 -0
  162. package/dist/esm/types/chartType/radar/zRadar.d.ts +4 -0
  163. package/dist/esm/types/chartType/rose/zRose.d.ts +4 -0
  164. package/dist/esm/types/chartType/roseParallel/zRoseParallel.d.ts +4 -0
  165. package/dist/esm/types/chartType/sankey/index.d.ts +2 -0
  166. package/dist/esm/types/chartType/sankey/index.js +1 -0
  167. package/dist/esm/types/chartType/sankey/sankey.d.ts +91 -0
  168. package/dist/esm/types/chartType/sankey/sankey.js +0 -0
  169. package/dist/esm/types/chartType/sankey/zSankey.d.ts +422 -0
  170. package/dist/esm/types/chartType/sankey/zSankey.js +20 -0
  171. package/dist/esm/types/chartType/sankey/zSankey.js.map +1 -0
  172. package/dist/esm/types/chartType/scatter/zScatter.d.ts +4 -0
  173. package/dist/esm/types/chartType/sunburst/zSunburst.d.ts +2 -0
  174. package/dist/esm/types/chartType/table/zTable.d.ts +2 -0
  175. package/dist/esm/types/chartType/treeMap/zTreeMap.d.ts +2 -0
  176. package/dist/esm/types/properties/chartType/chartType.d.ts +3 -1
  177. package/dist/esm/types/properties/chartType/chartType.js +2 -0
  178. package/dist/esm/types/properties/chartType/chartType.js.map +1 -1
  179. package/dist/esm/types/properties/config/config.d.ts +602 -0
  180. package/dist/esm/types/properties/config/config.js +4 -0
  181. package/dist/esm/types/properties/config/config.js.map +1 -1
  182. package/dist/esm/types/properties/config/hierarchySankey.d.ts +303 -0
  183. package/dist/esm/types/properties/config/hierarchySankey.js +18 -0
  184. package/dist/esm/types/properties/config/hierarchySankey.js.map +1 -0
  185. package/dist/esm/types/properties/config/index.d.ts +2 -0
  186. package/dist/esm/types/properties/config/index.js +2 -0
  187. package/dist/esm/types/properties/config/sankey.d.ts +303 -0
  188. package/dist/esm/types/properties/config/sankey.js +18 -0
  189. package/dist/esm/types/properties/config/sankey.js.map +1 -0
  190. package/dist/esm/types/properties/datasetReshapeInfo/datasetReshapeInfo.d.ts +2 -0
  191. package/dist/esm/types/properties/datasetReshapeInfo/zDatasetReshapeInfo.d.ts +4 -0
  192. package/dist/esm/types/properties/datasetReshapeInfo/zDatasetReshapeInfo.js +2 -0
  193. package/dist/esm/types/properties/datasetReshapeInfo/zDatasetReshapeInfo.js.map +1 -1
  194. package/dist/esm/types/properties/dimensions/index.d.ts +1 -0
  195. package/dist/esm/types/properties/dimensions/sankeyDimension.d.ts +15 -0
  196. package/dist/esm/types/properties/dimensions/sankeyDimension.js +0 -0
  197. package/dist/esm/types/properties/dimensions/zDimensions.d.ts +6 -0
  198. package/dist/esm/types/properties/encoding/dimensionEncoding.d.ts +3 -1
  199. package/dist/esm/types/properties/encoding/encoding.d.ts +8 -0
  200. package/dist/esm/types/properties/encoding/zDimensionEncoding.d.ts +4 -0
  201. package/dist/esm/types/properties/encoding/zDimensionEncoding.js +6 -2
  202. package/dist/esm/types/properties/encoding/zDimensionEncoding.js.map +1 -1
  203. package/dist/esm/types/properties/encoding/zEncoding.d.ts +4 -0
  204. package/dist/esm/types/properties/encoding/zEncoding.js +5 -1
  205. package/dist/esm/types/properties/encoding/zEncoding.js.map +1 -1
  206. package/dist/esm/types/properties/measures/index.d.ts +1 -0
  207. package/dist/esm/types/properties/measures/sankeyMeasure.d.ts +11 -0
  208. package/dist/esm/types/properties/measures/sankeyMeasure.js +0 -0
  209. package/dist/esm/types/properties/theme/customTheme.d.ts +3752 -2548
  210. package/dist/esm/types/vseed.d.ts +2 -2
  211. package/dist/esm/types/zVseed.js +3 -1
  212. package/dist/esm/types/zVseed.js.map +1 -1
  213. package/dist/umd/index.js +1303 -185
  214. package/dist/umd/index.js.map +1 -1
  215. package/package.json +1 -1
@@ -0,0 +1,422 @@
1
+ import { z } from 'zod';
2
+ export declare const zSankey: z.ZodObject<{
3
+ chartType: z.ZodLiteral<"sankey">;
4
+ dataset: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>>>>;
5
+ dimensions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
6
+ id: z.ZodString;
7
+ alias: z.ZodOptional<z.ZodString>;
8
+ encoding: z.ZodOptional<z.ZodEnum<{
9
+ column: "column";
10
+ xAxis: "xAxis";
11
+ yAxis: "yAxis";
12
+ angle: "angle";
13
+ color: "color";
14
+ detail: "detail";
15
+ tooltip: "tooltip";
16
+ label: "label";
17
+ row: "row";
18
+ player: "player";
19
+ hierarchy: "hierarchy";
20
+ source: "source";
21
+ target: "target";
22
+ }>>;
23
+ timeFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
24
+ type: z.ZodEnum<{
25
+ year: "year";
26
+ quarter: "quarter";
27
+ month: "month";
28
+ week: "week";
29
+ day: "day";
30
+ hour: "hour";
31
+ minute: "minute";
32
+ second: "second";
33
+ }>;
34
+ }, z.core.$strip>>>;
35
+ }, z.core.$strip>>>>;
36
+ measures: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
37
+ id: z.ZodString;
38
+ alias: z.ZodOptional<z.ZodString>;
39
+ autoFormat: z.ZodOptional<z.ZodBoolean>;
40
+ numFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
41
+ type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
42
+ number: "number";
43
+ percent: "percent";
44
+ permille: "permille";
45
+ scientific: "scientific";
46
+ }>>>;
47
+ ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
48
+ symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
49
+ thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
50
+ prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
51
+ suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
52
+ fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
53
+ significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
54
+ roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
55
+ morePrecision: "morePrecision";
56
+ lessPrecision: "lessPrecision";
57
+ }>>>;
58
+ roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
59
+ floor: "floor";
60
+ ceil: "ceil";
61
+ expand: "expand";
62
+ trunc: "trunc";
63
+ halfCeil: "halfCeil";
64
+ halfFloor: "halfFloor";
65
+ halfExpand: "halfExpand";
66
+ halfTrunc: "halfTrunc";
67
+ halfEven: "halfEven";
68
+ }>>>;
69
+ }, z.core.$strip>>>;
70
+ format: z.ZodOptional<z.ZodOptional<z.ZodObject<{
71
+ type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
72
+ number: "number";
73
+ percent: "percent";
74
+ permille: "permille";
75
+ scientific: "scientific";
76
+ }>>>;
77
+ ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
78
+ symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
79
+ thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
80
+ prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
81
+ suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
82
+ fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
83
+ significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
84
+ roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
85
+ morePrecision: "morePrecision";
86
+ lessPrecision: "lessPrecision";
87
+ }>>>;
88
+ roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
89
+ floor: "floor";
90
+ ceil: "ceil";
91
+ expand: "expand";
92
+ trunc: "trunc";
93
+ halfCeil: "halfCeil";
94
+ halfFloor: "halfFloor";
95
+ halfExpand: "halfExpand";
96
+ halfTrunc: "halfTrunc";
97
+ halfEven: "halfEven";
98
+ }>>>;
99
+ }, z.core.$strip>>>;
100
+ encoding: z.ZodOptional<z.ZodEnum<{
101
+ column: "column";
102
+ value: "value";
103
+ xAxis: "xAxis";
104
+ yAxis: "yAxis";
105
+ angle: "angle";
106
+ color: "color";
107
+ detail: "detail";
108
+ tooltip: "tooltip";
109
+ label: "label";
110
+ primaryYAxis: "primaryYAxis";
111
+ secondaryYAxis: "secondaryYAxis";
112
+ radius: "radius";
113
+ size: "size";
114
+ q1: "q1";
115
+ median: "median";
116
+ q3: "q3";
117
+ min: "min";
118
+ max: "max";
119
+ outliers: "outliers";
120
+ x0: "x0";
121
+ x1: "x1";
122
+ }>>;
123
+ parentId: z.ZodOptional<z.ZodString>;
124
+ chartType: z.ZodOptional<z.ZodEnum<{
125
+ line: "line";
126
+ column: "column";
127
+ columnPercent: "columnPercent";
128
+ columnParallel: "columnParallel";
129
+ area: "area";
130
+ areaPercent: "areaPercent";
131
+ scatter: "scatter";
132
+ }>>;
133
+ }, z.core.$strip>>>>;
134
+ page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
135
+ field: z.ZodString;
136
+ currentValue: z.ZodString;
137
+ }, z.core.$strip>>>;
138
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>>;
139
+ color: z.ZodOptional<z.ZodNullable<z.ZodObject<{
140
+ colorScheme: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
141
+ linearColorScheme: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
142
+ colorMapping: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
143
+ }, z.core.$strip>>>;
144
+ label: z.ZodOptional<z.ZodNullable<z.ZodObject<{
145
+ enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
146
+ wrap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
147
+ showValue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
148
+ showValuePercent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
149
+ showDimension: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
150
+ autoFormat: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
151
+ numFormat: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
152
+ type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
153
+ number: "number";
154
+ percent: "percent";
155
+ permille: "permille";
156
+ scientific: "scientific";
157
+ }>>>;
158
+ ratio: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
159
+ symbol: z.ZodOptional<z.ZodDefault<z.ZodString>>;
160
+ thousandSeparator: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
161
+ prefix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
162
+ suffix: z.ZodOptional<z.ZodDefault<z.ZodString>>;
163
+ fractionDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
164
+ significantDigits: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
165
+ roundingPriority: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
166
+ morePrecision: "morePrecision";
167
+ lessPrecision: "lessPrecision";
168
+ }>>>;
169
+ roundingMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
170
+ floor: "floor";
171
+ ceil: "ceil";
172
+ expand: "expand";
173
+ trunc: "trunc";
174
+ halfCeil: "halfCeil";
175
+ halfFloor: "halfFloor";
176
+ halfExpand: "halfExpand";
177
+ halfTrunc: "halfTrunc";
178
+ halfEven: "halfEven";
179
+ }>>>;
180
+ }, z.core.$strip>>>>;
181
+ labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
182
+ labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
183
+ labelBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
184
+ labelColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
185
+ labelColorSmartInvert: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
186
+ labelPosition: z.ZodOptional<z.ZodNullable<z.ZodString>>;
187
+ labelOverlap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
188
+ selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
189
+ field: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
190
+ }, z.core.$strip>, z.ZodObject<{
191
+ field: z.ZodString;
192
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
193
+ "=": "=";
194
+ "==": "==";
195
+ "!=": "!=";
196
+ ">": ">";
197
+ "<": "<";
198
+ ">=": ">=";
199
+ "<=": "<=";
200
+ between: "between";
201
+ }>>>;
202
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
203
+ "=": "=";
204
+ "==": "==";
205
+ "!=": "!=";
206
+ ">": ">";
207
+ "<": "<";
208
+ ">=": ">=";
209
+ "<=": "<=";
210
+ between: "between";
211
+ }>>>;
212
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
213
+ }, z.core.$strip>, z.ZodObject<{
214
+ field: z.ZodString;
215
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
216
+ in: "in";
217
+ "not in": "not in";
218
+ }>>>;
219
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
220
+ in: "in";
221
+ "not in": "not in";
222
+ }>>>;
223
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
224
+ }, z.core.$strip>, z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
225
+ field: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
226
+ }, z.core.$strip>, z.ZodObject<{
227
+ field: z.ZodString;
228
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
229
+ "=": "=";
230
+ "==": "==";
231
+ "!=": "!=";
232
+ ">": ">";
233
+ "<": "<";
234
+ ">=": ">=";
235
+ "<=": "<=";
236
+ between: "between";
237
+ }>>>;
238
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
239
+ "=": "=";
240
+ "==": "==";
241
+ "!=": "!=";
242
+ ">": ">";
243
+ "<": "<";
244
+ ">=": ">=";
245
+ "<=": "<=";
246
+ between: "between";
247
+ }>>>;
248
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
249
+ }, z.core.$strip>, z.ZodObject<{
250
+ field: z.ZodString;
251
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
252
+ in: "in";
253
+ "not in": "not in";
254
+ }>>>;
255
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
256
+ in: "in";
257
+ "not in": "not in";
258
+ }>>>;
259
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
260
+ }, z.core.$strip>, z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>]>>]>>>;
261
+ dynamicFilter: z.ZodOptional<z.ZodObject<{
262
+ type: z.ZodLiteral<"row-with-field">;
263
+ description: z.ZodOptional<z.ZodString>;
264
+ code: z.ZodString;
265
+ fallback: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
266
+ field: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
267
+ }, z.core.$strip>, z.ZodObject<{
268
+ field: z.ZodString;
269
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
270
+ "=": "=";
271
+ "==": "==";
272
+ "!=": "!=";
273
+ ">": ">";
274
+ "<": "<";
275
+ ">=": ">=";
276
+ "<=": "<=";
277
+ between: "between";
278
+ }>>>;
279
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
280
+ "=": "=";
281
+ "==": "==";
282
+ "!=": "!=";
283
+ ">": ">";
284
+ "<": "<";
285
+ ">=": ">=";
286
+ "<=": "<=";
287
+ between: "between";
288
+ }>>>;
289
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
290
+ }, z.core.$strip>, z.ZodObject<{
291
+ field: z.ZodString;
292
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
293
+ in: "in";
294
+ "not in": "not in";
295
+ }>>>;
296
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
297
+ in: "in";
298
+ "not in": "not in";
299
+ }>>>;
300
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
301
+ }, z.core.$strip>, z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
302
+ field: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
303
+ }, z.core.$strip>, z.ZodObject<{
304
+ field: z.ZodString;
305
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
306
+ "=": "=";
307
+ "==": "==";
308
+ "!=": "!=";
309
+ ">": ">";
310
+ "<": "<";
311
+ ">=": ">=";
312
+ "<=": "<=";
313
+ between: "between";
314
+ }>>>;
315
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
316
+ "=": "=";
317
+ "==": "==";
318
+ "!=": "!=";
319
+ ">": ">";
320
+ "<": "<";
321
+ ">=": ">=";
322
+ "<=": "<=";
323
+ between: "between";
324
+ }>>>;
325
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
326
+ }, z.core.$strip>, z.ZodObject<{
327
+ field: z.ZodString;
328
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
329
+ in: "in";
330
+ "not in": "not in";
331
+ }>>>;
332
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
333
+ in: "in";
334
+ "not in": "not in";
335
+ }>>>;
336
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
337
+ }, z.core.$strip>, z.ZodRecord<z.ZodUnion<[z.ZodString, z.ZodNumber]>, z.ZodAny>]>>]>>;
338
+ result: z.ZodOptional<z.ZodObject<{
339
+ success: z.ZodBoolean;
340
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
341
+ __row_index: z.ZodNumber;
342
+ field: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"*">]>;
343
+ }, z.core.$strip>>>;
344
+ }, z.core.$strip>>;
345
+ }, z.core.$strip>>;
346
+ }, z.core.$strip>>>;
347
+ legend: z.ZodOptional<z.ZodNullable<z.ZodObject<{
348
+ enable: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
349
+ border: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
350
+ maxSize: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
351
+ shapeType: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
352
+ circle: "circle";
353
+ cross: "cross";
354
+ diamond: "diamond";
355
+ square: "square";
356
+ arrow: "arrow";
357
+ arrow2Left: "arrow2Left";
358
+ arrow2Right: "arrow2Right";
359
+ wedge: "wedge";
360
+ thinTriangle: "thinTriangle";
361
+ triangle: "triangle";
362
+ triangleUp: "triangleUp";
363
+ triangleDown: "triangleDown";
364
+ triangleRight: "triangleRight";
365
+ triangleLeft: "triangleLeft";
366
+ stroke: "stroke";
367
+ star: "star";
368
+ wye: "wye";
369
+ rect: "rect";
370
+ arrowLeft: "arrowLeft";
371
+ arrowRight: "arrowRight";
372
+ rectRound: "rectRound";
373
+ roundLine: "roundLine";
374
+ }>>>>;
375
+ position: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
376
+ left: "left";
377
+ leftTop: "leftTop";
378
+ leftBottom: "leftBottom";
379
+ lt: "lt";
380
+ lb: "lb";
381
+ top: "top";
382
+ topLeft: "topLeft";
383
+ topRight: "topRight";
384
+ tl: "tl";
385
+ tr: "tr";
386
+ right: "right";
387
+ rightTop: "rightTop";
388
+ rightBottom: "rightBottom";
389
+ rt: "rt";
390
+ rb: "rb";
391
+ bottom: "bottom";
392
+ bottomLeft: "bottomLeft";
393
+ bottomRight: "bottomRight";
394
+ bl: "bl";
395
+ br: "br";
396
+ }>>>>;
397
+ pagerIconColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
398
+ pagerIconDisableColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
399
+ labelColor: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
400
+ labelFontSize: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodNumber>>>;
401
+ labelFontWeight: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>>;
402
+ }, z.core.$strip>>>;
403
+ tooltip: z.ZodOptional<z.ZodNullable<z.ZodObject<{
404
+ enable: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
405
+ borderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
406
+ borderWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
407
+ borderRadius: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
408
+ padding: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber>]>>>;
409
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
410
+ lineHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
411
+ fontSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
412
+ lineSpace: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
413
+ keyColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
414
+ valueColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
415
+ titleColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
416
+ }, z.core.$strip>>>;
417
+ theme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
418
+ locale: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodEnum<{
419
+ "zh-CN": "zh-CN";
420
+ "en-US": "en-US";
421
+ }>>>>;
422
+ }, z.core.$strip>;
@@ -0,0 +1,20 @@
1
+ import { z } from "zod";
2
+ import { zLocale } from "../../i18n/index.js";
3
+ import { zBackgroundColor, zColor, zDataset, zDimensions, zLabel, zLegend, zMeasures, zPage, zTheme, zTooltip } from "../../properties/index.js";
4
+ const zSankey = z.object({
5
+ chartType: z.literal('sankey'),
6
+ dataset: zDataset.nullish(),
7
+ dimensions: zDimensions.nullish(),
8
+ measures: zMeasures.nullish(),
9
+ page: zPage.nullish(),
10
+ backgroundColor: zBackgroundColor.nullish(),
11
+ color: zColor.nullish(),
12
+ label: zLabel.nullish(),
13
+ legend: zLegend.nullish(),
14
+ tooltip: zTooltip.nullish(),
15
+ theme: zTheme.nullish(),
16
+ locale: zLocale.nullish()
17
+ });
18
+ export { zSankey };
19
+
20
+ //# sourceMappingURL=zSankey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types/chartType/sankey/zSankey.js","sources":["../../../../../src/types/chartType/sankey/zSankey.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from '../../i18n'\nimport {\n zBackgroundColor,\n zColor,\n zDataset,\n zDimensions,\n zLabel,\n zLegend,\n zMeasures,\n zPage,\n zTheme,\n zTooltip,\n} from '../../properties'\n\nexport const zSankey = z.object({\n chartType: z.literal('sankey'),\n dataset: zDataset.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasures.nullish(),\n page: zPage.nullish(),\n\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n theme: zTheme.nullish(),\n locale: zLocale.nullish(),\n})\n"],"names":["zSankey","z","zDataset","zDimensions","zMeasures","zPage","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zTheme","zLocale"],"mappings":";;;AAeO,MAAMA,UAAUC,EAAE,MAAM,CAAC;IAC9B,WAAWA,EAAE,OAAO,CAAC;IACrB,SAASC,SAAS,OAAO;IACzB,YAAYC,YAAY,OAAO;IAC/B,UAAUC,UAAU,OAAO;IAC3B,MAAMC,MAAM,OAAO;IAEnB,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IACzB,OAAOC,OAAO,OAAO;IACrB,QAAQC,QAAQ,OAAO;AACzB"}
@@ -16,6 +16,8 @@ export declare const zScatter: z.ZodObject<{
16
16
  column: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
17
17
  player: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
18
  hierarchy: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
19
+ source: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
+ target: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
19
21
  value: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
22
  q1: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21
23
  q3: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -41,6 +43,8 @@ export declare const zScatter: z.ZodObject<{
41
43
  row: "row";
42
44
  player: "player";
43
45
  hierarchy: "hierarchy";
46
+ source: "source";
47
+ target: "target";
44
48
  }>>;
45
49
  timeFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
46
50
  type: z.ZodEnum<{
@@ -17,6 +17,8 @@ export declare const zSunburst: z.ZodObject<{
17
17
  row: "row";
18
18
  player: "player";
19
19
  hierarchy: "hierarchy";
20
+ source: "source";
21
+ target: "target";
20
22
  }>>;
21
23
  timeFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22
24
  type: z.ZodEnum<{
@@ -17,6 +17,8 @@ export declare const zTable: z.ZodObject<{
17
17
  row: "row";
18
18
  player: "player";
19
19
  hierarchy: "hierarchy";
20
+ source: "source";
21
+ target: "target";
20
22
  }>>;
21
23
  timeFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22
24
  type: z.ZodEnum<{
@@ -17,6 +17,8 @@ export declare const zTreeMap: z.ZodObject<{
17
17
  row: "row";
18
18
  player: "player";
19
19
  hierarchy: "hierarchy";
20
+ source: "source";
21
+ target: "target";
20
22
  }>>;
21
23
  timeFormat: z.ZodOptional<z.ZodOptional<z.ZodObject<{
22
24
  type: z.ZodEnum<{
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export type ChartType = 'table' | 'pivotTable' | 'line' | 'column' | 'columnPercent' | 'columnParallel' | 'bar' | 'barPercent' | 'barParallel' | 'area' | 'areaPercent' | 'scatter' | 'dualAxis' | 'rose' | 'roseParallel' | 'pie' | 'donut' | 'radar' | 'raceBar' | 'raceColumn' | 'raceScatter' | 'raceLine' | 'racePie' | 'raceDonut' | 'treeMap' | 'sunburst' | 'circlePacking' | 'heatmap' | 'funnel' | 'boxPlot' | 'histogram';
2
+ export type ChartType = 'table' | 'pivotTable' | 'line' | 'column' | 'columnPercent' | 'columnParallel' | 'bar' | 'barPercent' | 'barParallel' | 'area' | 'areaPercent' | 'scatter' | 'dualAxis' | 'rose' | 'roseParallel' | 'pie' | 'donut' | 'radar' | 'raceBar' | 'raceColumn' | 'raceScatter' | 'raceLine' | 'racePie' | 'raceDonut' | 'treeMap' | 'sunburst' | 'circlePacking' | 'hierarchySankey' | 'sankey' | 'heatmap' | 'funnel' | 'boxPlot' | 'histogram';
3
3
  export declare const zChartType: z.ZodEnum<{
4
4
  table: "table";
5
5
  pivotTable: "pivotTable";
@@ -28,6 +28,8 @@ export declare const zChartType: z.ZodEnum<{
28
28
  treeMap: "treeMap";
29
29
  sunburst: "sunburst";
30
30
  circlePacking: "circlePacking";
31
+ hierarchySankey: "hierarchySankey";
32
+ sankey: "sankey";
31
33
  heatmap: "heatmap";
32
34
  funnel: "funnel";
33
35
  boxPlot: "boxPlot";
@@ -28,6 +28,8 @@ const zChartType = z["enum"]([
28
28
  'treeMap',
29
29
  'sunburst',
30
30
  'circlePacking',
31
+ 'hierarchySankey',
32
+ 'sankey',
31
33
  'funnel',
32
34
  'heatmap',
33
35
  'boxPlot',
@@ -1 +1 @@
1
- {"version":3,"file":"types/properties/chartType/chartType.js","sources":["../../../../../src/types/properties/chartType/chartType.ts"],"sourcesContent":["import { z } from 'zod'\n\nexport type ChartType =\n | 'table'\n | 'pivotTable'\n // cartesian\n | 'line'\n | 'column'\n | 'columnPercent'\n | 'columnParallel'\n | 'bar'\n | 'barPercent'\n | 'barParallel'\n | 'area'\n | 'areaPercent'\n | 'scatter'\n | 'dualAxis'\n // polar\n | 'rose'\n | 'roseParallel'\n | 'pie'\n | 'donut'\n | 'radar'\n // race\n | 'raceBar'\n | 'raceColumn'\n | 'raceScatter'\n | 'raceLine'\n | 'racePie'\n | 'raceDonut'\n // hierarchy\n | 'treeMap'\n | 'sunburst'\n | 'circlePacking'\n // other\n | 'heatmap'\n | 'funnel'\n | 'boxPlot'\n | 'histogram'\n\nexport const zChartType = z.enum([\n 'table',\n 'pivotTable',\n // cartesian\n 'line',\n 'column',\n 'columnPercent',\n 'columnParallel',\n 'bar',\n 'barPercent',\n 'barParallel',\n 'raceBar',\n 'area',\n 'areaPercent',\n 'scatter',\n 'dualAxis',\n // polar\n 'rose',\n 'roseParallel',\n 'pie',\n 'donut',\n 'radar',\n // race\n 'raceBar',\n 'raceColumn',\n 'raceScatter',\n 'raceLine',\n 'racePie',\n 'raceDonut',\n // hierarchy\n 'treeMap',\n 'sunburst',\n 'circlePacking',\n // other\n 'funnel',\n 'heatmap',\n 'boxPlot',\n 'histogram',\n])\n"],"names":["zChartType","z"],"mappings":";AAwCO,MAAMA,aAAaC,CAAC,CAADA,OAAM,CAAC;IAC/B;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IAEA;IACA;IACA;IACA;CACD"}
1
+ {"version":3,"file":"types/properties/chartType/chartType.js","sources":["../../../../../src/types/properties/chartType/chartType.ts"],"sourcesContent":["import { z } from 'zod'\n\nexport type ChartType =\n | 'table'\n | 'pivotTable'\n // cartesian\n | 'line'\n | 'column'\n | 'columnPercent'\n | 'columnParallel'\n | 'bar'\n | 'barPercent'\n | 'barParallel'\n | 'area'\n | 'areaPercent'\n | 'scatter'\n | 'dualAxis'\n // polar\n | 'rose'\n | 'roseParallel'\n | 'pie'\n | 'donut'\n | 'radar'\n // race\n | 'raceBar'\n | 'raceColumn'\n | 'raceScatter'\n | 'raceLine'\n | 'racePie'\n | 'raceDonut'\n // hierarchy\n | 'treeMap'\n | 'sunburst'\n | 'circlePacking'\n | 'hierarchySankey'\n | 'sankey'\n // other\n | 'heatmap'\n | 'funnel'\n | 'boxPlot'\n | 'histogram'\n\nexport const zChartType = z.enum([\n 'table',\n 'pivotTable',\n // cartesian\n 'line',\n 'column',\n 'columnPercent',\n 'columnParallel',\n 'bar',\n 'barPercent',\n 'barParallel',\n 'raceBar',\n 'area',\n 'areaPercent',\n 'scatter',\n 'dualAxis',\n // polar\n 'rose',\n 'roseParallel',\n 'pie',\n 'donut',\n 'radar',\n // race\n 'raceBar',\n 'raceColumn',\n 'raceScatter',\n 'raceLine',\n 'racePie',\n 'raceDonut',\n // hierarchy\n 'treeMap',\n 'sunburst',\n 'circlePacking',\n 'hierarchySankey',\n 'sankey',\n // other\n 'funnel',\n 'heatmap',\n 'boxPlot',\n 'histogram',\n])\n"],"names":["zChartType","z"],"mappings":";AA0CO,MAAMA,aAAaC,CAAC,CAADA,OAAM,CAAC;IAC/B;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;CACD"}