@visactor/vseed 0.1.43 → 0.1.45

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 (474) hide show
  1. package/dist/cjs/index.cjs +3 -3
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/esm/builder/builder/buildSpec.js.map +1 -1
  4. package/dist/esm/builder/builder/builder.d.ts +4620 -0
  5. package/dist/esm/dataSelector/selector.d.ts +1 -1
  6. package/dist/esm/dataSelector/selector.js +1 -2
  7. package/dist/esm/dataSelector/selector.js.map +1 -1
  8. package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js +2 -0
  9. package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js.map +1 -1
  10. package/dist/esm/pipeline/advanced/chart/pipes/config/histogram.d.ts +1 -0
  11. package/dist/esm/pipeline/advanced/chart/pipes/config/histogram.js +35 -2
  12. package/dist/esm/pipeline/advanced/chart/pipes/config/histogram.js.map +1 -1
  13. package/dist/esm/pipeline/advanced/chart/pipes/regressionLine/regressionLine.js +1 -1
  14. package/dist/esm/pipeline/advanced/chart/pipes/regressionLine/regressionLine.js.map +1 -1
  15. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js +22 -2
  16. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js.map +1 -1
  17. package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithHistogramEncoding.js +22 -3
  18. package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithHistogramEncoding.js.map +1 -1
  19. package/dist/esm/pipeline/advanced/table/pipeline/pivotTable.js +3 -2
  20. package/dist/esm/pipeline/advanced/table/pipeline/pivotTable.js.map +1 -1
  21. package/dist/esm/pipeline/advanced/table/pipeline/table.js +2 -1
  22. package/dist/esm/pipeline/advanced/table/pipeline/table.js.map +1 -1
  23. package/dist/esm/pipeline/advanced/table/pipes/{default/defaultMeasureName.d.ts → cellStyle/cellStyle.d.ts} +1 -1
  24. package/dist/esm/pipeline/advanced/table/pipes/cellStyle/cellStyle.js +16 -0
  25. package/dist/esm/pipeline/advanced/table/pipes/cellStyle/cellStyle.js.map +1 -0
  26. package/dist/esm/pipeline/advanced/table/pipes/cellStyle/index.d.ts +1 -0
  27. package/dist/esm/pipeline/advanced/table/pipes/cellStyle/index.js +2 -0
  28. package/dist/esm/pipeline/advanced/table/pipes/default/defaultMeasureId.d.ts +2 -0
  29. package/dist/esm/pipeline/advanced/table/pipes/default/{defaultMeasureName.js → defaultMeasureId.js} +5 -5
  30. package/dist/esm/pipeline/advanced/table/pipes/default/defaultMeasureId.js.map +1 -0
  31. package/dist/esm/pipeline/advanced/table/pipes/default/index.d.ts +1 -1
  32. package/dist/esm/pipeline/advanced/table/pipes/default/index.js +2 -2
  33. package/dist/esm/pipeline/advanced/table/pipes/index.d.ts +1 -0
  34. package/dist/esm/pipeline/advanced/table/pipes/index.js +1 -0
  35. package/dist/esm/pipeline/spec/chart/pipeline/area.js.map +1 -1
  36. package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js.map +1 -1
  37. package/dist/esm/pipeline/spec/chart/pipeline/bar.d.ts +1 -2
  38. package/dist/esm/pipeline/spec/chart/pipeline/bar.js.map +1 -1
  39. package/dist/esm/pipeline/spec/chart/pipeline/barParallel.d.ts +1 -2
  40. package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js.map +1 -1
  41. package/dist/esm/pipeline/spec/chart/pipeline/barPercent.d.ts +1 -2
  42. package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js.map +1 -1
  43. package/dist/esm/pipeline/spec/chart/pipeline/boxplot.d.ts +1 -2
  44. package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js.map +1 -1
  45. package/dist/esm/pipeline/spec/chart/pipeline/column.js.map +1 -1
  46. package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.d.ts +1 -2
  47. package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js.map +1 -1
  48. package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.d.ts +1 -2
  49. package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js.map +1 -1
  50. package/dist/esm/pipeline/spec/chart/pipeline/donut.d.ts +1 -2
  51. package/dist/esm/pipeline/spec/chart/pipeline/donut.js.map +1 -1
  52. package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.d.ts +1 -2
  53. package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js.map +1 -1
  54. package/dist/esm/pipeline/spec/chart/pipeline/funnel.d.ts +1 -2
  55. package/dist/esm/pipeline/spec/chart/pipeline/funnel.js.map +1 -1
  56. package/dist/esm/pipeline/spec/chart/pipeline/heatmap.d.ts +1 -2
  57. package/dist/esm/pipeline/spec/chart/pipeline/heatmap.js.map +1 -1
  58. package/dist/esm/pipeline/spec/chart/pipeline/histogram.d.ts +1 -2
  59. package/dist/esm/pipeline/spec/chart/pipeline/histogram.js.map +1 -1
  60. package/dist/esm/pipeline/spec/chart/pipeline/line.d.ts +1 -2
  61. package/dist/esm/pipeline/spec/chart/pipeline/line.js.map +1 -1
  62. package/dist/esm/pipeline/spec/chart/pipeline/pie.d.ts +1 -2
  63. package/dist/esm/pipeline/spec/chart/pipeline/pie.js.map +1 -1
  64. package/dist/esm/pipeline/spec/chart/pipeline/radar.js.map +1 -1
  65. package/dist/esm/pipeline/spec/chart/pipeline/rose.js.map +1 -1
  66. package/dist/esm/pipeline/spec/chart/pipeline/roseParallel.d.ts +1 -2
  67. package/dist/esm/pipeline/spec/chart/pipeline/roseParallel.js.map +1 -1
  68. package/dist/esm/pipeline/spec/chart/pipeline/scatter.d.ts +1 -2
  69. package/dist/esm/pipeline/spec/chart/pipeline/scatter.js.map +1 -1
  70. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationArea.d.ts +2 -2
  71. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationArea.js +16 -13
  72. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationArea.js.map +1 -1
  73. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationAreaBand.d.ts +2 -2
  74. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationAreaBand.js +14 -19
  75. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationAreaBand.js.map +1 -1
  76. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationHorizontalLine.d.ts +2 -2
  77. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationHorizontalLine.js +6 -2
  78. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationHorizontalLine.js.map +1 -1
  79. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPoint.d.ts +2 -2
  80. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPoint.js +2 -0
  81. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPoint.js.map +1 -1
  82. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationVerticalLine.d.ts +2 -2
  83. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationVerticalLine.js +5 -1
  84. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationVerticalLine.js.map +1 -1
  85. package/dist/esm/pipeline/spec/chart/pipes/annotation/splitLine.d.ts +2 -2
  86. package/dist/esm/pipeline/spec/chart/pipes/annotation/splitLine.js +26 -10
  87. package/dist/esm/pipeline/spec/chart/pipes/annotation/splitLine.js.map +1 -1
  88. package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.d.ts +34 -0
  89. package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.js +35 -1
  90. package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.js.map +1 -1
  91. package/dist/esm/pipeline/spec/chart/pipes/axes/radarAngle.d.ts +2 -2
  92. package/dist/esm/pipeline/spec/chart/pipes/axes/radarAngle.js.map +1 -1
  93. package/dist/esm/pipeline/spec/chart/pipes/axes/radarRadius.d.ts +2 -2
  94. package/dist/esm/pipeline/spec/chart/pipes/axes/radarRadius.js.map +1 -1
  95. package/dist/esm/pipeline/spec/chart/pipes/axes/radius.d.ts +2 -2
  96. package/dist/esm/pipeline/spec/chart/pipes/axes/radius.js.map +1 -1
  97. package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.d.ts +2 -2
  98. package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.js +2 -1
  99. package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.js.map +1 -1
  100. package/dist/esm/pipeline/spec/chart/pipes/axes/xLinear.d.ts +2 -2
  101. package/dist/esm/pipeline/spec/chart/pipes/axes/xLinear.js +2 -1
  102. package/dist/esm/pipeline/spec/chart/pipes/axes/xLinear.js.map +1 -1
  103. package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.d.ts +2 -2
  104. package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.js +2 -1
  105. package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.js.map +1 -1
  106. package/dist/esm/pipeline/spec/chart/pipes/axes/yLinear.d.ts +2 -2
  107. package/dist/esm/pipeline/spec/chart/pipes/axes/yLinear.js +2 -1
  108. package/dist/esm/pipeline/spec/chart/pipes/axes/yLinear.js.map +1 -1
  109. package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearPrimary.d.ts +2 -2
  110. package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearPrimary.js +2 -1
  111. package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearPrimary.js.map +1 -1
  112. package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearSecondary.d.ts +2 -2
  113. package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearSecondary.js +2 -1
  114. package/dist/esm/pipeline/spec/chart/pipes/axes/yLinearSecondary.js.map +1 -1
  115. package/dist/esm/pipeline/spec/chart/pipes/backgroundColor/background.d.ts +2 -2
  116. package/dist/esm/pipeline/spec/chart/pipes/backgroundColor/background.js.map +1 -1
  117. package/dist/esm/pipeline/spec/chart/pipes/barWidth/barGapInGroup.d.ts +2 -2
  118. package/dist/esm/pipeline/spec/chart/pipes/barWidth/barGapInGroup.js.map +1 -1
  119. package/dist/esm/pipeline/spec/chart/pipes/barWidth/barMaxWidth.d.ts +2 -2
  120. package/dist/esm/pipeline/spec/chart/pipes/barWidth/barMaxWidth.js.map +1 -1
  121. package/dist/esm/pipeline/spec/chart/pipes/color/color.d.ts +2 -2
  122. package/dist/esm/pipeline/spec/chart/pipes/color/color.js.map +1 -1
  123. package/dist/esm/pipeline/spec/chart/pipes/color/colorAdapter.d.ts +3 -2
  124. package/dist/esm/pipeline/spec/chart/pipes/color/colorAdapter.js +3 -1
  125. package/dist/esm/pipeline/spec/chart/pipes/color/colorAdapter.js.map +1 -1
  126. package/dist/esm/pipeline/spec/chart/pipes/color/colorAreaStyleFill.d.ts +2 -2
  127. package/dist/esm/pipeline/spec/chart/pipes/color/colorAreaStyleFill.js.map +1 -1
  128. package/dist/esm/pipeline/spec/chart/pipes/color/colorBarStyleFill.d.ts +2 -2
  129. package/dist/esm/pipeline/spec/chart/pipes/color/colorBarStyleFill.js.map +1 -1
  130. package/dist/esm/pipeline/spec/chart/pipes/color/colorCellStyleFill.d.ts +2 -2
  131. package/dist/esm/pipeline/spec/chart/pipes/color/colorCellStyleFill.js.map +1 -1
  132. package/dist/esm/pipeline/spec/chart/pipes/color/colorFunnelStyleFill.d.ts +2 -2
  133. package/dist/esm/pipeline/spec/chart/pipes/color/colorFunnelStyleFill.js.map +1 -1
  134. package/dist/esm/pipeline/spec/chart/pipes/color/colorLineStyleFill.d.ts +2 -2
  135. package/dist/esm/pipeline/spec/chart/pipes/color/colorLineStyleFill.js.map +1 -1
  136. package/dist/esm/pipeline/spec/chart/pipes/color/colorPieStyleFill.d.ts +2 -2
  137. package/dist/esm/pipeline/spec/chart/pipes/color/colorPieStyleFill.js.map +1 -1
  138. package/dist/esm/pipeline/spec/chart/pipes/color/colorPointStyleFill.d.ts +2 -2
  139. package/dist/esm/pipeline/spec/chart/pipes/color/colorPointStyleFill.js.map +1 -1
  140. package/dist/esm/pipeline/spec/chart/pipes/color/colorRoseStyleFill.d.ts +2 -2
  141. package/dist/esm/pipeline/spec/chart/pipes/color/colorRoseStyleFill.js.map +1 -1
  142. package/dist/esm/pipeline/spec/chart/pipes/color/linearColor.d.ts +2 -2
  143. package/dist/esm/pipeline/spec/chart/pipes/color/linearColor.js.map +1 -1
  144. package/dist/esm/pipeline/spec/chart/pipes/color/linearColorForDualAxis.d.ts +2 -2
  145. package/dist/esm/pipeline/spec/chart/pipes/color/linearColorForDualAxis.js.map +1 -1
  146. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairLine.d.ts +2 -2
  147. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairLine.js.map +1 -1
  148. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.d.ts +2 -2
  149. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.js.map +1 -1
  150. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairLine.d.ts +2 -2
  151. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairLine.js.map +1 -1
  152. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.d.ts +2 -2
  153. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.js.map +1 -1
  154. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetBoxplot.d.ts +2 -2
  155. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetBoxplot.js.map +1 -1
  156. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetDualAxis.d.ts +3 -3
  157. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetDualAxis.js.map +1 -1
  158. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHistogram.d.ts +2 -2
  159. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetHistogram.js.map +1 -1
  160. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetPivot.d.ts +2 -2
  161. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetPivot.js.map +1 -1
  162. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetScatter.d.ts +2 -2
  163. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetScatter.js.map +1 -1
  164. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetXY.d.ts +2 -2
  165. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetXY.js.map +1 -1
  166. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetYX.d.ts +2 -2
  167. package/dist/esm/pipeline/spec/chart/pipes/dataset/datasetYX.js.map +1 -1
  168. package/dist/esm/pipeline/spec/chart/pipes/dataset/progressive.d.ts +2 -2
  169. package/dist/esm/pipeline/spec/chart/pipes/dataset/progressive.js.map +1 -1
  170. package/dist/esm/pipeline/spec/chart/pipes/dual/dualChartType.d.ts +3 -3
  171. package/dist/esm/pipeline/spec/chart/pipes/dual/dualChartType.js.map +1 -1
  172. package/dist/esm/pipeline/spec/chart/pipes/init/area.d.ts +2 -2
  173. package/dist/esm/pipeline/spec/chart/pipes/init/area.js.map +1 -1
  174. package/dist/esm/pipeline/spec/chart/pipes/init/bar.d.ts +2 -2
  175. package/dist/esm/pipeline/spec/chart/pipes/init/bar.js.map +1 -1
  176. package/dist/esm/pipeline/spec/chart/pipes/init/barParallel.d.ts +2 -2
  177. package/dist/esm/pipeline/spec/chart/pipes/init/barParallel.js.map +1 -1
  178. package/dist/esm/pipeline/spec/chart/pipes/init/boxplot.d.ts +2 -2
  179. package/dist/esm/pipeline/spec/chart/pipes/init/boxplot.js.map +1 -1
  180. package/dist/esm/pipeline/spec/chart/pipes/init/column.d.ts +2 -2
  181. package/dist/esm/pipeline/spec/chart/pipes/init/column.js.map +1 -1
  182. package/dist/esm/pipeline/spec/chart/pipes/init/columnParallel.d.ts +2 -2
  183. package/dist/esm/pipeline/spec/chart/pipes/init/columnParallel.js.map +1 -1
  184. package/dist/esm/pipeline/spec/chart/pipes/init/donut.d.ts +2 -2
  185. package/dist/esm/pipeline/spec/chart/pipes/init/donut.js.map +1 -1
  186. package/dist/esm/pipeline/spec/chart/pipes/init/dualAxis.d.ts +3 -3
  187. package/dist/esm/pipeline/spec/chart/pipes/init/dualAxis.js.map +1 -1
  188. package/dist/esm/pipeline/spec/chart/pipes/init/funnel.d.ts +2 -2
  189. package/dist/esm/pipeline/spec/chart/pipes/init/funnel.js.map +1 -1
  190. package/dist/esm/pipeline/spec/chart/pipes/init/heatmap.d.ts +2 -2
  191. package/dist/esm/pipeline/spec/chart/pipes/init/heatmap.js.map +1 -1
  192. package/dist/esm/pipeline/spec/chart/pipes/init/histogram.d.ts +2 -2
  193. package/dist/esm/pipeline/spec/chart/pipes/init/histogram.js +4 -0
  194. package/dist/esm/pipeline/spec/chart/pipes/init/histogram.js.map +1 -1
  195. package/dist/esm/pipeline/spec/chart/pipes/init/line.d.ts +2 -2
  196. package/dist/esm/pipeline/spec/chart/pipes/init/line.js.map +1 -1
  197. package/dist/esm/pipeline/spec/chart/pipes/init/pie.d.ts +2 -2
  198. package/dist/esm/pipeline/spec/chart/pipes/init/pie.js.map +1 -1
  199. package/dist/esm/pipeline/spec/chart/pipes/init/pivot.d.ts +2 -2
  200. package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js.map +1 -1
  201. package/dist/esm/pipeline/spec/chart/pipes/init/radar.d.ts +2 -2
  202. package/dist/esm/pipeline/spec/chart/pipes/init/radar.js.map +1 -1
  203. package/dist/esm/pipeline/spec/chart/pipes/init/rose.d.ts +2 -2
  204. package/dist/esm/pipeline/spec/chart/pipes/init/rose.js.map +1 -1
  205. package/dist/esm/pipeline/spec/chart/pipes/init/roseParallel.d.ts +2 -2
  206. package/dist/esm/pipeline/spec/chart/pipes/init/roseParallel.js.map +1 -1
  207. package/dist/esm/pipeline/spec/chart/pipes/init/scatter.d.ts +2 -2
  208. package/dist/esm/pipeline/spec/chart/pipes/init/scatter.js.map +1 -1
  209. package/dist/esm/pipeline/spec/chart/pipes/label/label.d.ts +2 -2
  210. package/dist/esm/pipeline/spec/chart/pipes/label/label.js +2 -1
  211. package/dist/esm/pipeline/spec/chart/pipes/label/label.js.map +1 -1
  212. package/dist/esm/pipeline/spec/chart/pipes/label/labelDualAxis.d.ts +3 -3
  213. package/dist/esm/pipeline/spec/chart/pipes/label/labelDualAxis.js.map +1 -1
  214. package/dist/esm/pipeline/spec/chart/pipes/label/labelPie.d.ts +2 -2
  215. package/dist/esm/pipeline/spec/chart/pipes/label/labelPie.js.map +1 -1
  216. package/dist/esm/pipeline/spec/chart/pipes/label/labelScatter.d.ts +2 -2
  217. package/dist/esm/pipeline/spec/chart/pipes/label/labelScatter.js.map +1 -1
  218. package/dist/esm/pipeline/spec/chart/pipes/legend/colorLegend.d.ts +2 -2
  219. package/dist/esm/pipeline/spec/chart/pipes/legend/colorLegend.js +7 -0
  220. package/dist/esm/pipeline/spec/chart/pipes/legend/colorLegend.js.map +1 -1
  221. package/dist/esm/pipeline/spec/chart/pipes/legend/discreteLegend.d.ts +2 -2
  222. package/dist/esm/pipeline/spec/chart/pipes/legend/discreteLegend.js +19 -3
  223. package/dist/esm/pipeline/spec/chart/pipes/legend/discreteLegend.js.map +1 -1
  224. package/dist/esm/pipeline/spec/chart/pipes/legend/heatmapColorLegend.d.ts +2 -2
  225. package/dist/esm/pipeline/spec/chart/pipes/legend/heatmapColorLegend.js.map +1 -1
  226. package/dist/esm/pipeline/spec/chart/pipes/legend/pivotColorLegend.d.ts +2 -2
  227. package/dist/esm/pipeline/spec/chart/pipes/legend/pivotColorLegend.js.map +1 -1
  228. package/dist/esm/pipeline/spec/chart/pipes/legend/pivotDiscreteLegend.d.ts +2 -2
  229. package/dist/esm/pipeline/spec/chart/pipes/legend/pivotDiscreteLegend.js +1 -0
  230. package/dist/esm/pipeline/spec/chart/pipes/legend/pivotDiscreteLegend.js.map +1 -1
  231. package/dist/esm/pipeline/spec/chart/pipes/markStyle/areaStyle.d.ts +2 -2
  232. package/dist/esm/pipeline/spec/chart/pipes/markStyle/areaStyle.js.map +1 -1
  233. package/dist/esm/pipeline/spec/chart/pipes/markStyle/barStyle.d.ts +2 -2
  234. package/dist/esm/pipeline/spec/chart/pipes/markStyle/barStyle.js +5 -7
  235. package/dist/esm/pipeline/spec/chart/pipes/markStyle/barStyle.js.map +1 -1
  236. package/dist/esm/pipeline/spec/chart/pipes/markStyle/cellStyle.d.ts +2 -2
  237. package/dist/esm/pipeline/spec/chart/pipes/markStyle/cellStyle.js.map +1 -1
  238. package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelStyle.d.ts +2 -2
  239. package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelStyle.js.map +1 -1
  240. package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.d.ts +2 -2
  241. package/dist/esm/pipeline/spec/chart/pipes/markStyle/funnelTransformStyle.js.map +1 -1
  242. package/dist/esm/pipeline/spec/chart/pipes/markStyle/lineStyle.d.ts +2 -2
  243. package/dist/esm/pipeline/spec/chart/pipes/markStyle/lineStyle.js.map +1 -1
  244. package/dist/esm/pipeline/spec/chart/pipes/markStyle/pieStyle.d.ts +2 -2
  245. package/dist/esm/pipeline/spec/chart/pipes/markStyle/pieStyle.js.map +1 -1
  246. package/dist/esm/pipeline/spec/chart/pipes/markStyle/pointState.d.ts +3 -3
  247. package/dist/esm/pipeline/spec/chart/pipes/markStyle/pointState.js.map +1 -1
  248. package/dist/esm/pipeline/spec/chart/pipes/markStyle/pointStyle.d.ts +2 -2
  249. package/dist/esm/pipeline/spec/chart/pipes/markStyle/pointStyle.js.map +1 -1
  250. package/dist/esm/pipeline/spec/chart/pipes/markStyle/roseStyle.d.ts +2 -2
  251. package/dist/esm/pipeline/spec/chart/pipes/markStyle/roseStyle.js.map +1 -1
  252. package/dist/esm/pipeline/spec/chart/pipes/percent/percent.d.ts +2 -2
  253. package/dist/esm/pipeline/spec/chart/pipes/percent/percent.js.map +1 -1
  254. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAdapter.d.ts +2 -2
  255. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAdapter.js +4 -1
  256. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAdapter.js.map +1 -1
  257. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.d.ts +2 -2
  258. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.js +23 -6
  259. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.js.map +1 -1
  260. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotColumnDimensions.d.ts +2 -2
  261. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotColumnDimensions.js.map +1 -1
  262. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.d.ts +2 -2
  263. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js +39 -34
  264. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js.map +1 -1
  265. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotHideIndicatorName.d.ts +2 -2
  266. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotHideIndicatorName.js.map +1 -1
  267. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.d.ts +4 -4
  268. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js +10 -3
  269. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js.map +1 -1
  270. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotRowDimensions.d.ts +2 -2
  271. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotRowDimensions.js.map +1 -1
  272. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotTitle.d.ts +2 -2
  273. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotTitle.js.map +1 -1
  274. package/dist/esm/pipeline/spec/chart/pipes/region/addRegionPadding.d.ts +2 -2
  275. package/dist/esm/pipeline/spec/chart/pipes/region/addRegionPadding.js.map +1 -1
  276. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.d.ts +2 -2
  277. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js.map +1 -1
  278. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.d.ts +2 -2
  279. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js +2 -2
  280. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js.map +1 -1
  281. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.d.ts +2 -2
  282. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js +2 -2
  283. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js.map +1 -1
  284. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.d.ts +6 -6
  285. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js.map +1 -1
  286. package/dist/esm/pipeline/spec/chart/pipes/series/series.d.ts +3 -3
  287. package/dist/esm/pipeline/spec/chart/pipes/series/series.js.map +1 -1
  288. package/dist/esm/pipeline/spec/chart/pipes/size/scatterSize.d.ts +2 -2
  289. package/dist/esm/pipeline/spec/chart/pipes/size/scatterSize.js.map +1 -1
  290. package/dist/esm/pipeline/spec/chart/pipes/stack/stack.d.ts +2 -2
  291. package/dist/esm/pipeline/spec/chart/pipes/stack/stack.js.map +1 -1
  292. package/dist/esm/pipeline/spec/chart/pipes/stack/stackCornerRadius.d.ts +2 -2
  293. package/dist/esm/pipeline/spec/chart/pipes/stack/stackCornerRadius.js.map +1 -1
  294. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltip.d.ts +2 -2
  295. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltip.js +4 -2
  296. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltip.js.map +1 -1
  297. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.d.ts +2 -2
  298. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js +2 -0
  299. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js.map +1 -1
  300. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.d.ts +3 -3
  301. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js +2 -0
  302. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js.map +1 -1
  303. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHeatmap.d.ts +2 -2
  304. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHeatmap.js +2 -0
  305. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHeatmap.js.map +1 -1
  306. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHistogram.d.ts +2 -2
  307. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHistogram.js +2 -0
  308. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipHistogram.js.map +1 -1
  309. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipScatter.d.ts +2 -2
  310. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipScatter.js +2 -0
  311. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipScatter.js.map +1 -1
  312. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipStyle.d.ts +3 -0
  313. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipStyle.js +31 -0
  314. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipStyle.js.map +1 -0
  315. package/dist/esm/pipeline/spec/table/pipeline/pivotTable.js +3 -2
  316. package/dist/esm/pipeline/spec/table/pipeline/pivotTable.js.map +1 -1
  317. package/dist/esm/pipeline/spec/table/pipeline/table.js +3 -2
  318. package/dist/esm/pipeline/spec/table/pipeline/table.js.map +1 -1
  319. package/dist/esm/pipeline/spec/table/pipes/cellStyle/common.d.ts +2 -0
  320. package/dist/esm/pipeline/spec/table/pipes/cellStyle/common.js +14 -0
  321. package/dist/esm/pipeline/spec/table/pipes/cellStyle/common.js.map +1 -0
  322. package/dist/esm/pipeline/spec/table/pipes/cellStyle/index.d.ts +2 -0
  323. package/dist/esm/pipeline/spec/table/pipes/cellStyle/index.js +2 -0
  324. package/dist/esm/pipeline/spec/table/pipes/cellStyle/pivot.d.ts +2 -0
  325. package/dist/esm/pipeline/spec/table/pipes/cellStyle/pivot.js +49 -0
  326. package/dist/esm/pipeline/spec/table/pipes/cellStyle/pivot.js.map +1 -0
  327. package/dist/esm/pipeline/spec/table/pipes/cellStyle/table.d.ts +2 -0
  328. package/dist/esm/pipeline/spec/table/pipes/cellStyle/table.js +41 -0
  329. package/dist/esm/pipeline/spec/table/pipes/cellStyle/table.js.map +1 -0
  330. package/dist/esm/pipeline/spec/table/pipes/columns/dimensionsToColumns.d.ts +2 -2
  331. package/dist/esm/pipeline/spec/table/pipes/columns/dimensionsToColumns.js.map +1 -1
  332. package/dist/esm/pipeline/spec/table/pipes/columns/measuresToColumns.d.ts +2 -2
  333. package/dist/esm/pipeline/spec/table/pipes/columns/measuresToColumns.js.map +1 -1
  334. package/dist/esm/pipeline/spec/table/pipes/columns/pivotColumns.d.ts +2 -2
  335. package/dist/esm/pipeline/spec/table/pipes/columns/pivotColumns.js.map +1 -1
  336. package/dist/esm/pipeline/spec/table/pipes/corner/titleOnDimension.d.ts +2 -2
  337. package/dist/esm/pipeline/spec/table/pipes/corner/titleOnDimension.js.map +1 -1
  338. package/dist/esm/pipeline/spec/table/pipes/index.d.ts +1 -0
  339. package/dist/esm/pipeline/spec/table/pipes/index.js +1 -0
  340. package/dist/esm/pipeline/spec/table/pipes/indicators/pivotDataConfig.d.ts +2 -2
  341. package/dist/esm/pipeline/spec/table/pipes/indicators/pivotDataConfig.js.map +1 -1
  342. package/dist/esm/pipeline/spec/table/pipes/indicators/pivotIndicators.d.ts +2 -2
  343. package/dist/esm/pipeline/spec/table/pipes/indicators/pivotIndicators.js.map +1 -1
  344. package/dist/esm/pipeline/spec/table/pipes/init/pivotTable.d.ts +2 -2
  345. package/dist/esm/pipeline/spec/table/pipes/init/pivotTable.js.map +1 -1
  346. package/dist/esm/pipeline/spec/table/pipes/init/table.d.ts +2 -2
  347. package/dist/esm/pipeline/spec/table/pipes/init/table.js.map +1 -1
  348. package/dist/esm/pipeline/spec/table/pipes/rows/pivotRows.d.ts +2 -2
  349. package/dist/esm/pipeline/spec/table/pipes/rows/pivotRows.js +13 -3
  350. package/dist/esm/pipeline/spec/table/pipes/rows/pivotRows.js.map +1 -1
  351. package/dist/esm/pipeline/spec/table/pipes/theme/bodyStyle.d.ts +2 -2
  352. package/dist/esm/pipeline/spec/table/pipes/theme/bodyStyle.js.map +1 -1
  353. package/dist/esm/pipeline/spec/table/pipes/theme/cornerHeaderStyle.d.ts +2 -2
  354. package/dist/esm/pipeline/spec/table/pipes/theme/cornerHeaderStyle.js.map +1 -1
  355. package/dist/esm/pipeline/spec/table/pipes/theme/frameStyle.d.ts +2 -2
  356. package/dist/esm/pipeline/spec/table/pipes/theme/frameStyle.js.map +1 -1
  357. package/dist/esm/pipeline/spec/table/pipes/theme/headerStyle.d.ts +2 -2
  358. package/dist/esm/pipeline/spec/table/pipes/theme/headerStyle.js.map +1 -1
  359. package/dist/esm/pipeline/spec/table/pipes/theme/rowHeaderStyle.d.ts +2 -2
  360. package/dist/esm/pipeline/spec/table/pipes/theme/rowHeaderStyle.js.map +1 -1
  361. package/dist/esm/pipeline/spec/table/pipes/theme/scrollStyle.d.ts +2 -2
  362. package/dist/esm/pipeline/spec/table/pipes/theme/scrollStyle.js.map +1 -1
  363. package/dist/esm/pipeline/spec/table/pipes/theme/selectionStyle.d.ts +2 -2
  364. package/dist/esm/pipeline/spec/table/pipes/theme/selectionStyle.js.map +1 -1
  365. package/dist/esm/pipeline/utils/constant.d.ts +3 -1
  366. package/dist/esm/pipeline/utils/constant.js +4 -2
  367. package/dist/esm/pipeline/utils/constant.js.map +1 -1
  368. package/dist/esm/pipeline/utils/measures/depth.js.map +1 -1
  369. package/dist/esm/pipeline/utils/measures/find.js.map +1 -1
  370. package/dist/esm/pipeline/utils/tree/traverse.d.ts +1 -11
  371. package/dist/esm/pipeline/utils/tree/traverse.js +3 -4
  372. package/dist/esm/pipeline/utils/tree/traverse.js.map +1 -1
  373. package/dist/esm/theme/common/annotaion.js +7 -7
  374. package/dist/esm/theme/common/annotaion.js.map +1 -1
  375. package/dist/esm/theme/common/axes.js +18 -18
  376. package/dist/esm/theme/common/axes.js.map +1 -1
  377. package/dist/esm/theme/common/legend.d.ts +2 -0
  378. package/dist/esm/theme/common/legend.js +13 -2
  379. package/dist/esm/theme/common/legend.js.map +1 -1
  380. package/dist/esm/theme/common/table.d.ts +30 -22
  381. package/dist/esm/theme/common/table.js +10 -2
  382. package/dist/esm/theme/common/table.js.map +1 -1
  383. package/dist/esm/theme/common/tooltip.d.ts +3 -2
  384. package/dist/esm/theme/common/tooltip.js +24 -2
  385. package/dist/esm/theme/common/tooltip.js.map +1 -1
  386. package/dist/esm/theme/dark/dark.js +4 -4
  387. package/dist/esm/theme/dark/dark.js.map +1 -1
  388. package/dist/esm/theme/light/light.js +4 -4
  389. package/dist/esm/theme/light/light.js.map +1 -1
  390. package/dist/esm/types/advancedVSeed.d.ts +3522 -0
  391. package/dist/esm/types/advancedVSeed.js +2 -0
  392. package/dist/esm/types/advancedVSeed.js.map +1 -1
  393. package/dist/esm/types/chartType/area/zArea.d.ts +82 -0
  394. package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +82 -0
  395. package/dist/esm/types/chartType/bar/zBar.d.ts +82 -0
  396. package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +82 -0
  397. package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +82 -0
  398. package/dist/esm/types/chartType/boxplot/zBoxplot.d.ts +82 -0
  399. package/dist/esm/types/chartType/column/zColumn.d.ts +84 -0
  400. package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +82 -0
  401. package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +82 -0
  402. package/dist/esm/types/chartType/donut/zDonut.d.ts +82 -0
  403. package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +82 -0
  404. package/dist/esm/types/chartType/funnel/zFunnel.d.ts +80 -0
  405. package/dist/esm/types/chartType/heatmap/zHeatmap.d.ts +80 -0
  406. package/dist/esm/types/chartType/histogram/histogram.d.ts +2 -2
  407. package/dist/esm/types/chartType/histogram/zHistogram.d.ts +90 -4
  408. package/dist/esm/types/chartType/histogram/zHistogram.js +2 -2
  409. package/dist/esm/types/chartType/histogram/zHistogram.js.map +1 -1
  410. package/dist/esm/types/chartType/line/zLine.d.ts +82 -0
  411. package/dist/esm/types/chartType/pie/zPie.d.ts +82 -0
  412. package/dist/esm/types/chartType/pivotTable/pivotTable.d.ts +5 -1
  413. package/dist/esm/types/chartType/pivotTable/zPivotTable.d.ts +76 -0
  414. package/dist/esm/types/chartType/pivotTable/zPivotTable.js +2 -1
  415. package/dist/esm/types/chartType/pivotTable/zPivotTable.js.map +1 -1
  416. package/dist/esm/types/chartType/radar/zRadar.d.ts +82 -0
  417. package/dist/esm/types/chartType/rose/zRose.d.ts +82 -0
  418. package/dist/esm/types/chartType/roseParallel/zRoseParallel.d.ts +82 -0
  419. package/dist/esm/types/chartType/scatter/zScatter.d.ts +90 -0
  420. package/dist/esm/types/chartType/table/table.d.ts +5 -1
  421. package/dist/esm/types/chartType/table/zTable.d.ts +76 -0
  422. package/dist/esm/types/chartType/table/zTable.js +2 -1
  423. package/dist/esm/types/chartType/table/zTable.js.map +1 -1
  424. package/dist/esm/types/pipeline/spec/spec.d.ts +11 -2
  425. package/dist/esm/types/properties/cellStyle/bodyCellStyle.d.ts +138 -0
  426. package/dist/esm/types/properties/cellStyle/bodyCellStyle.js +16 -0
  427. package/dist/esm/types/properties/cellStyle/bodyCellStyle.js.map +1 -0
  428. package/dist/esm/types/properties/cellStyle/cellStyle.d.ts +80 -0
  429. package/dist/esm/types/properties/cellStyle/cellStyle.js +8 -0
  430. package/dist/esm/types/properties/cellStyle/cellStyle.js.map +1 -0
  431. package/dist/esm/types/properties/cellStyle/index.d.ts +1 -0
  432. package/dist/esm/types/properties/cellStyle/index.js +1 -0
  433. package/dist/esm/types/properties/config/area.d.ts +168 -0
  434. package/dist/esm/types/properties/config/bar.d.ts +252 -0
  435. package/dist/esm/types/properties/config/boxplot.d.ts +84 -0
  436. package/dist/esm/types/properties/config/column.d.ts +264 -0
  437. package/dist/esm/types/properties/config/config.d.ts +1716 -0
  438. package/dist/esm/types/properties/config/dualAxis.d.ts +84 -0
  439. package/dist/esm/types/properties/config/funnel.d.ts +84 -0
  440. package/dist/esm/types/properties/config/heatmap.d.ts +84 -0
  441. package/dist/esm/types/properties/config/histogram.d.ts +96 -0
  442. package/dist/esm/types/properties/config/label/label.d.ts +5 -0
  443. package/dist/esm/types/properties/config/label/zLabel.d.ts +69 -0
  444. package/dist/esm/types/properties/config/label/zLabel.js +6 -1
  445. package/dist/esm/types/properties/config/label/zLabel.js.map +1 -1
  446. package/dist/esm/types/properties/config/label/zPieLabel.d.ts +69 -0
  447. package/dist/esm/types/properties/config/legend/legend.d.ts +10 -0
  448. package/dist/esm/types/properties/config/legend/legend.js +2 -0
  449. package/dist/esm/types/properties/config/legend/legend.js.map +1 -1
  450. package/dist/esm/types/properties/config/line.d.ts +84 -0
  451. package/dist/esm/types/properties/config/pie.d.ts +252 -0
  452. package/dist/esm/types/properties/config/pivotGrid/pivotGrid.d.ts +2 -0
  453. package/dist/esm/types/properties/config/pivotGrid/pivotGrid.js +3 -1
  454. package/dist/esm/types/properties/config/pivotGrid/pivotGrid.js.map +1 -1
  455. package/dist/esm/types/properties/config/rose.d.ts +168 -0
  456. package/dist/esm/types/properties/config/scatter.d.ts +96 -0
  457. package/dist/esm/types/properties/config/tooltip/tooltip.d.ts +12 -0
  458. package/dist/esm/types/properties/config/tooltip/tooltip.js +12 -1
  459. package/dist/esm/types/properties/config/tooltip/tooltip.js.map +1 -1
  460. package/dist/esm/types/properties/index.d.ts +1 -0
  461. package/dist/esm/types/properties/index.js +1 -0
  462. package/dist/esm/types/properties/markStyle/barStyle.d.ts +5 -0
  463. package/dist/esm/types/properties/markStyle/barStyle.js.map +1 -1
  464. package/dist/esm/types/properties/regressionLine/ecdfRegressionLine.d.ts +4 -0
  465. package/dist/esm/types/properties/regressionLine/kdeRegressionLine.d.ts +4 -0
  466. package/dist/esm/types/properties/regressionLine/zRegressionLine.d.ts +18 -0
  467. package/dist/esm/types/properties/regressionLine/zRegressionLine.js +1 -0
  468. package/dist/esm/types/properties/regressionLine/zRegressionLine.js.map +1 -1
  469. package/dist/esm/types/properties/theme/customTheme.d.ts +3432 -0
  470. package/dist/esm/types/zVseed.d.ts +1926 -124
  471. package/dist/umd/index.js +884 -439
  472. package/dist/umd/index.js.map +1 -1
  473. package/package.json +5 -5
  474. package/dist/esm/pipeline/advanced/table/pipes/default/defaultMeasureName.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import type { SpecPipe } from '../../../../../types';
2
- export declare const headerStyle: SpecPipe;
1
+ import type { PivotTableSpecPipe } from '../../../../../types';
2
+ export declare const headerStyle: PivotTableSpecPipe;
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/spec/table/pipes/theme/headerStyle.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/table/pipes/theme/headerStyle.ts"],"sourcesContent":["import type { SpecPipe, TableConfig } from 'src/types'\nimport type { ThemeLike, WithTheme } from './type'\n\nexport const headerStyle: SpecPipe = (spec, context) => {\n const result = { ...spec } as Partial<typeof spec> & WithTheme\n const { advancedVSeed } = context\n const { config, chartType } = advancedVSeed\n const themConfig = config?.[chartType] as TableConfig\n\n if (!result.theme || !themConfig) return result\n\n // basic\n const borderColor = themConfig.borderColor || 'rgb(224, 224, 224)'\n const backgroundColor = themConfig.headerBackgroundColor || '#EEF1F5'\n const fontColor = themConfig.headerFontColor || '#1B1F23'\n const fontSize = themConfig.headerFontSize || 12\n // Interaction\n const hoverCellBgColor = themConfig.hoverHeaderBackgroundColor || '#bedaff'\n const hoverInlineColor = themConfig.hoverHeaderInlineBackgroundColor || '#bedaff'\n\n ;(result.theme as ThemeLike).headerStyle = {\n borderColor: borderColor,\n borderLineWidth: 1,\n padding: [8, 12, 8, 12],\n textAlign: 'center',\n hover: {\n cellBgColor: hoverCellBgColor,\n inlineRowBgColor: hoverInlineColor,\n inlineColumnBgColor: hoverInlineColor,\n },\n frameStyle: {\n borderColor: borderColor,\n borderLineWidth: [0, 0, 1, 0],\n },\n fontSize: fontSize,\n fontVariant: 'normal',\n fontStyle: 'normal',\n fontWeight: 'bold',\n color: fontColor,\n bgColor: backgroundColor,\n lineHeight: fontSize * 1.5,\n }\n\n return result\n}\n"],"names":["headerStyle","spec","context","result","advancedVSeed","config","chartType","themConfig","borderColor","backgroundColor","fontColor","fontSize","hoverCellBgColor","hoverInlineColor"],"mappings":"AAGO,MAAMA,cAAwB,CAACC,MAAMC;IAC1C,MAAMC,SAAS;QAAE,GAAGF,IAAI;IAAC;IACzB,MAAM,EAAEG,aAAa,EAAE,GAAGF;IAC1B,MAAM,EAAEG,MAAM,EAAEC,SAAS,EAAE,GAAGF;IAC9B,MAAMG,aAAaF,QAAQ,CAACC,UAAU;IAEtC,IAAI,CAACH,OAAO,KAAK,IAAI,CAACI,YAAY,OAAOJ;IAGzC,MAAMK,cAAcD,WAAW,WAAW,IAAI;IAC9C,MAAME,kBAAkBF,WAAW,qBAAqB,IAAI;IAC5D,MAAMG,YAAYH,WAAW,eAAe,IAAI;IAChD,MAAMI,WAAWJ,WAAW,cAAc,IAAI;IAE9C,MAAMK,mBAAmBL,WAAW,0BAA0B,IAAI;IAClE,MAAMM,mBAAmBN,WAAW,gCAAgC,IAAI;IAEtEJ,OAAO,KAAK,CAAe,WAAW,GAAG;QACzC,aAAaK;QACb,iBAAiB;QACjB,SAAS;YAAC;YAAG;YAAI;YAAG;SAAG;QACvB,WAAW;QACX,OAAO;YACL,aAAaI;YACb,kBAAkBC;YAClB,qBAAqBA;QACvB;QACA,YAAY;YACV,aAAaL;YACb,iBAAiB;gBAAC;gBAAG;gBAAG;gBAAG;aAAE;QAC/B;QACA,UAAUG;QACV,aAAa;QACb,WAAW;QACX,YAAY;QACZ,OAAOD;QACP,SAASD;QACT,YAAYE,AAAW,MAAXA;IACd;IAEA,OAAOR;AACT"}
1
+ {"version":3,"file":"pipeline/spec/table/pipes/theme/headerStyle.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/table/pipes/theme/headerStyle.ts"],"sourcesContent":["import type { PivotTableSpecPipe, TableConfig } from 'src/types'\nimport type { ThemeLike, WithTheme } from './type'\n\nexport const headerStyle: PivotTableSpecPipe = (spec, context) => {\n const result = { ...spec } as Partial<typeof spec> & WithTheme\n const { advancedVSeed } = context\n const { config, chartType } = advancedVSeed\n const themConfig = config?.[chartType] as TableConfig\n\n if (!result.theme || !themConfig) return result\n\n // basic\n const borderColor = themConfig.borderColor || 'rgb(224, 224, 224)'\n const backgroundColor = themConfig.headerBackgroundColor || '#EEF1F5'\n const fontColor = themConfig.headerFontColor || '#1B1F23'\n const fontSize = themConfig.headerFontSize || 12\n // Interaction\n const hoverCellBgColor = themConfig.hoverHeaderBackgroundColor || '#bedaff'\n const hoverInlineColor = themConfig.hoverHeaderInlineBackgroundColor || '#bedaff'\n\n ;(result.theme as ThemeLike).headerStyle = {\n borderColor: borderColor,\n borderLineWidth: 1,\n padding: [8, 12, 8, 12],\n textAlign: 'center',\n hover: {\n cellBgColor: hoverCellBgColor,\n inlineRowBgColor: hoverInlineColor,\n inlineColumnBgColor: hoverInlineColor,\n },\n frameStyle: {\n borderColor: borderColor,\n borderLineWidth: [0, 0, 1, 0],\n },\n fontSize: fontSize,\n fontVariant: 'normal',\n fontStyle: 'normal',\n fontWeight: 'bold',\n color: fontColor,\n bgColor: backgroundColor,\n lineHeight: fontSize * 1.5,\n }\n\n return result\n}\n"],"names":["headerStyle","spec","context","result","advancedVSeed","config","chartType","themConfig","borderColor","backgroundColor","fontColor","fontSize","hoverCellBgColor","hoverInlineColor"],"mappings":"AAGO,MAAMA,cAAkC,CAACC,MAAMC;IACpD,MAAMC,SAAS;QAAE,GAAGF,IAAI;IAAC;IACzB,MAAM,EAAEG,aAAa,EAAE,GAAGF;IAC1B,MAAM,EAAEG,MAAM,EAAEC,SAAS,EAAE,GAAGF;IAC9B,MAAMG,aAAaF,QAAQ,CAACC,UAAU;IAEtC,IAAI,CAACH,OAAO,KAAK,IAAI,CAACI,YAAY,OAAOJ;IAGzC,MAAMK,cAAcD,WAAW,WAAW,IAAI;IAC9C,MAAME,kBAAkBF,WAAW,qBAAqB,IAAI;IAC5D,MAAMG,YAAYH,WAAW,eAAe,IAAI;IAChD,MAAMI,WAAWJ,WAAW,cAAc,IAAI;IAE9C,MAAMK,mBAAmBL,WAAW,0BAA0B,IAAI;IAClE,MAAMM,mBAAmBN,WAAW,gCAAgC,IAAI;IAEtEJ,OAAO,KAAK,CAAe,WAAW,GAAG;QACzC,aAAaK;QACb,iBAAiB;QACjB,SAAS;YAAC;YAAG;YAAI;YAAG;SAAG;QACvB,WAAW;QACX,OAAO;YACL,aAAaI;YACb,kBAAkBC;YAClB,qBAAqBA;QACvB;QACA,YAAY;YACV,aAAaL;YACb,iBAAiB;gBAAC;gBAAG;gBAAG;gBAAG;aAAE;QAC/B;QACA,UAAUG;QACV,aAAa;QACb,WAAW;QACX,YAAY;QACZ,OAAOD;QACP,SAASD;QACT,YAAYE,AAAW,MAAXA;IACd;IAEA,OAAOR;AACT"}
@@ -1,2 +1,2 @@
1
- import type { SpecPipe } from '../../../../../types';
2
- export declare const rowHeaderStyle: SpecPipe;
1
+ import type { PivotTableSpecPipe } from '../../../../../types';
2
+ export declare const rowHeaderStyle: PivotTableSpecPipe;
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/spec/table/pipes/theme/rowHeaderStyle.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/table/pipes/theme/rowHeaderStyle.ts"],"sourcesContent":["import type { SpecPipe, TableConfig } from 'src/types'\nimport type { ThemeLike, WithTheme } from './type'\n\nexport const rowHeaderStyle: SpecPipe = (spec, context) => {\n const result = { ...spec } as Partial<typeof spec> & WithTheme\n const { advancedVSeed } = context\n const { config, chartType } = advancedVSeed\n const themConfig = config?.[chartType] as TableConfig\n\n if (!result.theme || !themConfig) return result\n\n // basic\n const borderColor = themConfig.borderColor || 'rgb(224, 224, 224)'\n const backgroundColor = themConfig.headerBackgroundColor || '#EEF1F5'\n const fontColor = themConfig.headerFontColor || '#1B1F23'\n const fontSize = themConfig.headerFontSize || 12\n // Interaction\n const hoverCellBgColor = themConfig.hoverHeaderBackgroundColor || '#bedaff'\n const hoverInlineColor = themConfig.hoverHeaderInlineBackgroundColor || '#bedaff'\n\n ;(result.theme as ThemeLike).rowHeaderStyle = {\n borderColor: borderColor,\n borderLineWidth: 1,\n padding: [8, 12, 8, 12],\n textAlign: 'left',\n hover: {\n cellBgColor: hoverCellBgColor,\n inlineRowBgColor: hoverInlineColor,\n inlineColumnBgColor: hoverInlineColor,\n },\n frameStyle: {\n borderColor: borderColor,\n borderLineWidth: [0, 1, 0, 0],\n },\n fontSize: fontSize,\n fontVariant: 'normal',\n fontStyle: 'normal',\n fontWeight: 'bold',\n color: fontColor,\n bgColor: backgroundColor,\n lineHeight: fontSize * 1.5,\n }\n\n return result\n}\n"],"names":["rowHeaderStyle","spec","context","result","advancedVSeed","config","chartType","themConfig","borderColor","backgroundColor","fontColor","fontSize","hoverCellBgColor","hoverInlineColor"],"mappings":"AAGO,MAAMA,iBAA2B,CAACC,MAAMC;IAC7C,MAAMC,SAAS;QAAE,GAAGF,IAAI;IAAC;IACzB,MAAM,EAAEG,aAAa,EAAE,GAAGF;IAC1B,MAAM,EAAEG,MAAM,EAAEC,SAAS,EAAE,GAAGF;IAC9B,MAAMG,aAAaF,QAAQ,CAACC,UAAU;IAEtC,IAAI,CAACH,OAAO,KAAK,IAAI,CAACI,YAAY,OAAOJ;IAGzC,MAAMK,cAAcD,WAAW,WAAW,IAAI;IAC9C,MAAME,kBAAkBF,WAAW,qBAAqB,IAAI;IAC5D,MAAMG,YAAYH,WAAW,eAAe,IAAI;IAChD,MAAMI,WAAWJ,WAAW,cAAc,IAAI;IAE9C,MAAMK,mBAAmBL,WAAW,0BAA0B,IAAI;IAClE,MAAMM,mBAAmBN,WAAW,gCAAgC,IAAI;IAEtEJ,OAAO,KAAK,CAAe,cAAc,GAAG;QAC5C,aAAaK;QACb,iBAAiB;QACjB,SAAS;YAAC;YAAG;YAAI;YAAG;SAAG;QACvB,WAAW;QACX,OAAO;YACL,aAAaI;YACb,kBAAkBC;YAClB,qBAAqBA;QACvB;QACA,YAAY;YACV,aAAaL;YACb,iBAAiB;gBAAC;gBAAG;gBAAG;gBAAG;aAAE;QAC/B;QACA,UAAUG;QACV,aAAa;QACb,WAAW;QACX,YAAY;QACZ,OAAOD;QACP,SAASD;QACT,YAAYE,AAAW,MAAXA;IACd;IAEA,OAAOR;AACT"}
1
+ {"version":3,"file":"pipeline/spec/table/pipes/theme/rowHeaderStyle.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/table/pipes/theme/rowHeaderStyle.ts"],"sourcesContent":["import type { PivotTableSpecPipe, TableConfig } from 'src/types'\nimport type { ThemeLike, WithTheme } from './type'\n\nexport const rowHeaderStyle: PivotTableSpecPipe = (spec, context) => {\n const result = { ...spec } as Partial<typeof spec> & WithTheme\n const { advancedVSeed } = context\n const { config, chartType } = advancedVSeed\n const themConfig = config?.[chartType] as TableConfig\n\n if (!result.theme || !themConfig) return result\n\n // basic\n const borderColor = themConfig.borderColor || 'rgb(224, 224, 224)'\n const backgroundColor = themConfig.headerBackgroundColor || '#EEF1F5'\n const fontColor = themConfig.headerFontColor || '#1B1F23'\n const fontSize = themConfig.headerFontSize || 12\n // Interaction\n const hoverCellBgColor = themConfig.hoverHeaderBackgroundColor || '#bedaff'\n const hoverInlineColor = themConfig.hoverHeaderInlineBackgroundColor || '#bedaff'\n\n ;(result.theme as ThemeLike).rowHeaderStyle = {\n borderColor: borderColor,\n borderLineWidth: 1,\n padding: [8, 12, 8, 12],\n textAlign: 'left',\n hover: {\n cellBgColor: hoverCellBgColor,\n inlineRowBgColor: hoverInlineColor,\n inlineColumnBgColor: hoverInlineColor,\n },\n frameStyle: {\n borderColor: borderColor,\n borderLineWidth: [0, 1, 0, 0],\n },\n fontSize: fontSize,\n fontVariant: 'normal',\n fontStyle: 'normal',\n fontWeight: 'bold',\n color: fontColor,\n bgColor: backgroundColor,\n lineHeight: fontSize * 1.5,\n }\n\n return result\n}\n"],"names":["rowHeaderStyle","spec","context","result","advancedVSeed","config","chartType","themConfig","borderColor","backgroundColor","fontColor","fontSize","hoverCellBgColor","hoverInlineColor"],"mappings":"AAGO,MAAMA,iBAAqC,CAACC,MAAMC;IACvD,MAAMC,SAAS;QAAE,GAAGF,IAAI;IAAC;IACzB,MAAM,EAAEG,aAAa,EAAE,GAAGF;IAC1B,MAAM,EAAEG,MAAM,EAAEC,SAAS,EAAE,GAAGF;IAC9B,MAAMG,aAAaF,QAAQ,CAACC,UAAU;IAEtC,IAAI,CAACH,OAAO,KAAK,IAAI,CAACI,YAAY,OAAOJ;IAGzC,MAAMK,cAAcD,WAAW,WAAW,IAAI;IAC9C,MAAME,kBAAkBF,WAAW,qBAAqB,IAAI;IAC5D,MAAMG,YAAYH,WAAW,eAAe,IAAI;IAChD,MAAMI,WAAWJ,WAAW,cAAc,IAAI;IAE9C,MAAMK,mBAAmBL,WAAW,0BAA0B,IAAI;IAClE,MAAMM,mBAAmBN,WAAW,gCAAgC,IAAI;IAEtEJ,OAAO,KAAK,CAAe,cAAc,GAAG;QAC5C,aAAaK;QACb,iBAAiB;QACjB,SAAS;YAAC;YAAG;YAAI;YAAG;SAAG;QACvB,WAAW;QACX,OAAO;YACL,aAAaI;YACb,kBAAkBC;YAClB,qBAAqBA;QACvB;QACA,YAAY;YACV,aAAaL;YACb,iBAAiB;gBAAC;gBAAG;gBAAG;gBAAG;aAAE;QAC/B;QACA,UAAUG;QACV,aAAa;QACb,WAAW;QACX,YAAY;QACZ,OAAOD;QACP,SAASD;QACT,YAAYE,AAAW,MAAXA;IACd;IAEA,OAAOR;AACT"}
@@ -1,2 +1,2 @@
1
- import type { SpecPipe } from '../../../../../types';
2
- export declare const frameStyle: SpecPipe;
1
+ import type { PivotTableSpecPipe } from '../../../../../types';
2
+ export declare const frameStyle: PivotTableSpecPipe;
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/spec/table/pipes/theme/scrollStyle.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/table/pipes/theme/scrollStyle.ts"],"sourcesContent":["import type { SpecPipe } from 'src/types'\nimport type { ThemeLike, WithTheme } from './type'\n\nexport const frameStyle: SpecPipe = (spec) => {\n const result = { ...spec } as Partial<typeof spec> & WithTheme\n if (!result.theme) return result\n ;(result.theme as ThemeLike).scrollStyle = {\n hoverOn: true,\n visible: 'focus',\n width: 7,\n }\n\n return result\n}\n"],"names":["frameStyle","spec","result"],"mappings":"AAGO,MAAMA,aAAuB,CAACC;IACnC,MAAMC,SAAS;QAAE,GAAGD,IAAI;IAAC;IACzB,IAAI,CAACC,OAAO,KAAK,EAAE,OAAOA;IACxBA,OAAO,KAAK,CAAe,WAAW,GAAG;QACzC,SAAS;QACT,SAAS;QACT,OAAO;IACT;IAEA,OAAOA;AACT"}
1
+ {"version":3,"file":"pipeline/spec/table/pipes/theme/scrollStyle.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/table/pipes/theme/scrollStyle.ts"],"sourcesContent":["import type { PivotTableSpecPipe } from 'src/types'\nimport type { ThemeLike, WithTheme } from './type'\n\nexport const frameStyle: PivotTableSpecPipe = (spec) => {\n const result = { ...spec } as Partial<typeof spec> & WithTheme\n if (!result.theme) return result\n ;(result.theme as ThemeLike).scrollStyle = {\n hoverOn: true,\n visible: 'focus',\n width: 7,\n }\n\n return result\n}\n"],"names":["frameStyle","spec","result"],"mappings":"AAGO,MAAMA,aAAiC,CAACC;IAC7C,MAAMC,SAAS;QAAE,GAAGD,IAAI;IAAC;IACzB,IAAI,CAACC,OAAO,KAAK,EAAE,OAAOA;IACxBA,OAAO,KAAK,CAAe,WAAW,GAAG;QACzC,SAAS;QACT,SAAS;QACT,OAAO;IACT;IAEA,OAAOA;AACT"}
@@ -1,2 +1,2 @@
1
- import type { SpecPipe } from '../../../../../types';
2
- export declare const selectionStyle: SpecPipe;
1
+ import type { PivotTableSpecPipe } from '../../../../../types';
2
+ export declare const selectionStyle: PivotTableSpecPipe;
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/spec/table/pipes/theme/selectionStyle.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/table/pipes/theme/selectionStyle.ts"],"sourcesContent":["import type { SpecPipe, TableConfig } from 'src/types'\nimport type { ThemeLike, WithTheme } from './type'\n\nexport const selectionStyle: SpecPipe = (spec, context) => {\n const result = { ...spec } as Partial<typeof spec> & WithTheme\n const { advancedVSeed } = context\n const { config, chartType } = advancedVSeed\n const themConfig = config?.[chartType] as TableConfig\n\n if (!result.theme || !themConfig) return result\n\n const borderColor = themConfig.selectedBorderColor || 'rgb(224, 224, 224)'\n const backgroundColor = themConfig.selectedBackgroundColor || 'rgb(224, 224, 224, 0.5)'\n\n ;(result.theme as ThemeLike).selectionStyle = {\n cellBorderColor: borderColor,\n cellBorderLineWidth: 2,\n cellBgColor: backgroundColor,\n }\n\n return result\n}\n"],"names":["selectionStyle","spec","context","result","advancedVSeed","config","chartType","themConfig","borderColor","backgroundColor"],"mappings":"AAGO,MAAMA,iBAA2B,CAACC,MAAMC;IAC7C,MAAMC,SAAS;QAAE,GAAGF,IAAI;IAAC;IACzB,MAAM,EAAEG,aAAa,EAAE,GAAGF;IAC1B,MAAM,EAAEG,MAAM,EAAEC,SAAS,EAAE,GAAGF;IAC9B,MAAMG,aAAaF,QAAQ,CAACC,UAAU;IAEtC,IAAI,CAACH,OAAO,KAAK,IAAI,CAACI,YAAY,OAAOJ;IAEzC,MAAMK,cAAcD,WAAW,mBAAmB,IAAI;IACtD,MAAME,kBAAkBF,WAAW,uBAAuB,IAAI;IAE5DJ,OAAO,KAAK,CAAe,cAAc,GAAG;QAC5C,iBAAiBK;QACjB,qBAAqB;QACrB,aAAaC;IACf;IAEA,OAAON;AACT"}
1
+ {"version":3,"file":"pipeline/spec/table/pipes/theme/selectionStyle.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/table/pipes/theme/selectionStyle.ts"],"sourcesContent":["import type { PivotTableSpecPipe, TableConfig } from 'src/types'\nimport type { ThemeLike, WithTheme } from './type'\n\nexport const selectionStyle: PivotTableSpecPipe = (spec, context) => {\n const result = { ...spec } as Partial<typeof spec> & WithTheme\n const { advancedVSeed } = context\n const { config, chartType } = advancedVSeed\n const themConfig = config?.[chartType] as TableConfig\n\n if (!result.theme || !themConfig) return result\n\n const borderColor = themConfig.selectedBorderColor || 'rgb(224, 224, 224)'\n const backgroundColor = themConfig.selectedBackgroundColor || 'rgb(224, 224, 224, 0.5)'\n\n ;(result.theme as ThemeLike).selectionStyle = {\n cellBorderColor: borderColor,\n cellBorderLineWidth: 2,\n cellBgColor: backgroundColor,\n }\n\n return result\n}\n"],"names":["selectionStyle","spec","context","result","advancedVSeed","config","chartType","themConfig","borderColor","backgroundColor"],"mappings":"AAGO,MAAMA,iBAAqC,CAACC,MAAMC;IACvD,MAAMC,SAAS;QAAE,GAAGF,IAAI;IAAC;IACzB,MAAM,EAAEG,aAAa,EAAE,GAAGF;IAC1B,MAAM,EAAEG,MAAM,EAAEC,SAAS,EAAE,GAAGF;IAC9B,MAAMG,aAAaF,QAAQ,CAACC,UAAU;IAEtC,IAAI,CAACH,OAAO,KAAK,IAAI,CAACI,YAAY,OAAOJ;IAEzC,MAAMK,cAAcD,WAAW,mBAAmB,IAAI;IACtD,MAAME,kBAAkBF,WAAW,uBAAuB,IAAI;IAE5DJ,OAAO,KAAK,CAAe,cAAc,GAAG;QAC5C,iBAAiBK;QACjB,qBAAqB;QACrB,aAAaC;IACf;IAEA,OAAON;AACT"}
@@ -1,9 +1,11 @@
1
1
  export declare const ANNOTATION_Z_INDEX = 1000;
2
- export declare const LINEAR_AXIS_INNER_OFFSET_TOP = 7;
2
+ export declare const LINEAR_AXIS_INNER_OFFSET_TOP = 12;
3
3
  export declare const DUAL_AXIS_CHART_COLUMN_Z_INDEX = 1000;
4
4
  export declare const DUAL_AXIS_CHART_NON_COLUMN_Z_INDEX = 1001;
5
5
  export declare const DUAL_AXIS_LABEL_Z_INDEX = 1002;
6
6
  export declare const DEFAULT_PARENT_ID = "__DefaultParentId__";
7
+ export declare const AXIS_LABEL_SPACE = 8;
8
+ export declare const BAND_AXIS_INNER_OFFSET_IN_PIVOT = 2;
7
9
  export declare const ChartTypeEnum: {
8
10
  readonly Table: "table";
9
11
  readonly PivotTable: "pivotTable";
@@ -1,9 +1,11 @@
1
1
  const ANNOTATION_Z_INDEX = 1000;
2
- const LINEAR_AXIS_INNER_OFFSET_TOP = 7;
2
+ const LINEAR_AXIS_INNER_OFFSET_TOP = 12;
3
3
  const DUAL_AXIS_CHART_COLUMN_Z_INDEX = 1000;
4
4
  const DUAL_AXIS_CHART_NON_COLUMN_Z_INDEX = 1001;
5
5
  const DUAL_AXIS_LABEL_Z_INDEX = 1002;
6
6
  const DEFAULT_PARENT_ID = '__DefaultParentId__';
7
+ const AXIS_LABEL_SPACE = 8;
8
+ const BAND_AXIS_INNER_OFFSET_IN_PIVOT = 2;
7
9
  const ChartTypeEnum = {
8
10
  Table: 'table',
9
11
  PivotTable: 'pivotTable',
@@ -29,6 +31,6 @@ const ChartTypeEnum = {
29
31
  Histogram: 'histogram'
30
32
  };
31
33
  const DATUM_HIDE_KEY = '__VSEED_HideItem__';
32
- export { ANNOTATION_Z_INDEX, ChartTypeEnum, DATUM_HIDE_KEY, DEFAULT_PARENT_ID, DUAL_AXIS_CHART_COLUMN_Z_INDEX, DUAL_AXIS_CHART_NON_COLUMN_Z_INDEX, DUAL_AXIS_LABEL_Z_INDEX, LINEAR_AXIS_INNER_OFFSET_TOP };
34
+ export { ANNOTATION_Z_INDEX, AXIS_LABEL_SPACE, BAND_AXIS_INNER_OFFSET_IN_PIVOT, ChartTypeEnum, DATUM_HIDE_KEY, DEFAULT_PARENT_ID, DUAL_AXIS_CHART_COLUMN_Z_INDEX, DUAL_AXIS_CHART_NON_COLUMN_Z_INDEX, DUAL_AXIS_LABEL_Z_INDEX, LINEAR_AXIS_INNER_OFFSET_TOP };
33
35
 
34
36
  //# sourceMappingURL=constant.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/utils/constant.js","sources":["webpack://@visactor/vseed/./src/pipeline/utils/constant.ts"],"sourcesContent":["// 标注层 z-index\nexport const ANNOTATION_Z_INDEX = 1000\n// 线性轴 顶部空隙 预留5px\nexport const LINEAR_AXIS_INNER_OFFSET_TOP = 7\n// 双轴图 柱图 ZIndex\nexport const DUAL_AXIS_CHART_COLUMN_Z_INDEX = 1000\n// 双轴图 非柱图 ZIndex\nexport const DUAL_AXIS_CHART_NON_COLUMN_Z_INDEX = 1001\n// 双轴图 标注层 ZIndex\nexport const DUAL_AXIS_LABEL_Z_INDEX = 1002\n// 默认父级id\nexport const DEFAULT_PARENT_ID = '__DefaultParentId__'\n\n// 图表类型枚举\nexport const ChartTypeEnum = {\n Table: 'table',\n PivotTable: 'pivotTable',\n // cartesian\n Line: 'line',\n Column: 'column',\n ColumnPercent: 'columnPercent',\n ColumnParallel: 'columnParallel',\n Bar: 'bar',\n BarPercent: 'barPercent',\n BarParallel: 'barParallel',\n Area: 'area',\n AreaPercent: 'areaPercent',\n DualAxis: 'dualAxis',\n Scatter: 'scatter',\n // polar\n Rose: 'rose',\n RoseParallel: 'roseParallel',\n Pie: 'pie',\n Donut: 'donut',\n Radar: 'radar',\n // other\n Funnel: 'funnel',\n Heatmap: 'heatmap',\n Boxplot: 'boxPlot',\n Histogram: 'histogram',\n} as const\n\n// Heatmap hide cell\nexport const DATUM_HIDE_KEY = '__VSEED_HideItem__'\n"],"names":["ANNOTATION_Z_INDEX","LINEAR_AXIS_INNER_OFFSET_TOP","DUAL_AXIS_CHART_COLUMN_Z_INDEX","DUAL_AXIS_CHART_NON_COLUMN_Z_INDEX","DUAL_AXIS_LABEL_Z_INDEX","DEFAULT_PARENT_ID","ChartTypeEnum","DATUM_HIDE_KEY"],"mappings":"AACO,MAAMA,qBAAqB;AAE3B,MAAMC,+BAA+B;AAErC,MAAMC,iCAAiC;AAEvC,MAAMC,qCAAqC;AAE3C,MAAMC,0BAA0B;AAEhC,MAAMC,oBAAoB;AAG1B,MAAMC,gBAAgB;IAC3B,OAAO;IACP,YAAY;IAEZ,MAAM;IACN,QAAQ;IACR,eAAe;IACf,gBAAgB;IAChB,KAAK;IACL,YAAY;IACZ,aAAa;IACb,MAAM;IACN,aAAa;IACb,UAAU;IACV,SAAS;IAET,MAAM;IACN,cAAc;IACd,KAAK;IACL,OAAO;IACP,OAAO;IAEP,QAAQ;IACR,SAAS;IACT,SAAS;IACT,WAAW;AACb;AAGO,MAAMC,iBAAiB"}
1
+ {"version":3,"file":"pipeline/utils/constant.js","sources":["webpack://@visactor/vseed/./src/pipeline/utils/constant.ts"],"sourcesContent":["// 标注层 z-index\nexport const ANNOTATION_Z_INDEX = 1000\n// 线性轴 顶部空隙 预留5px\nexport const LINEAR_AXIS_INNER_OFFSET_TOP = 12\n// 双轴图 柱图 ZIndex\nexport const DUAL_AXIS_CHART_COLUMN_Z_INDEX = 1000\n// 双轴图 非柱图 ZIndex\nexport const DUAL_AXIS_CHART_NON_COLUMN_Z_INDEX = 1001\n// 双轴图 标注层 ZIndex\nexport const DUAL_AXIS_LABEL_Z_INDEX = 1002\n// 默认父级id\nexport const DEFAULT_PARENT_ID = '__DefaultParentId__'\n// 轴标签间距\nexport const AXIS_LABEL_SPACE = 8\n// 透视轴 band 类型内边距\nexport const BAND_AXIS_INNER_OFFSET_IN_PIVOT = 2\n\n// 图表类型枚举\nexport const ChartTypeEnum = {\n Table: 'table',\n PivotTable: 'pivotTable',\n // cartesian\n Line: 'line',\n Column: 'column',\n ColumnPercent: 'columnPercent',\n ColumnParallel: 'columnParallel',\n Bar: 'bar',\n BarPercent: 'barPercent',\n BarParallel: 'barParallel',\n Area: 'area',\n AreaPercent: 'areaPercent',\n DualAxis: 'dualAxis',\n Scatter: 'scatter',\n // polar\n Rose: 'rose',\n RoseParallel: 'roseParallel',\n Pie: 'pie',\n Donut: 'donut',\n Radar: 'radar',\n // other\n Funnel: 'funnel',\n Heatmap: 'heatmap',\n Boxplot: 'boxPlot',\n Histogram: 'histogram',\n} as const\n\n// Heatmap hide cell\nexport const DATUM_HIDE_KEY = '__VSEED_HideItem__'\n"],"names":["ANNOTATION_Z_INDEX","LINEAR_AXIS_INNER_OFFSET_TOP","DUAL_AXIS_CHART_COLUMN_Z_INDEX","DUAL_AXIS_CHART_NON_COLUMN_Z_INDEX","DUAL_AXIS_LABEL_Z_INDEX","DEFAULT_PARENT_ID","AXIS_LABEL_SPACE","BAND_AXIS_INNER_OFFSET_IN_PIVOT","ChartTypeEnum","DATUM_HIDE_KEY"],"mappings":"AACO,MAAMA,qBAAqB;AAE3B,MAAMC,+BAA+B;AAErC,MAAMC,iCAAiC;AAEvC,MAAMC,qCAAqC;AAE3C,MAAMC,0BAA0B;AAEhC,MAAMC,oBAAoB;AAE1B,MAAMC,mBAAmB;AAEzB,MAAMC,kCAAkC;AAGxC,MAAMC,gBAAgB;IAC3B,OAAO;IACP,YAAY;IAEZ,MAAM;IACN,QAAQ;IACR,eAAe;IACf,gBAAgB;IAChB,KAAK;IACL,YAAY;IACZ,aAAa;IACb,MAAM;IACN,aAAa;IACb,UAAU;IACV,SAAS;IAET,MAAM;IACN,cAAc;IACd,KAAK;IACL,OAAO;IACP,OAAO;IAEP,QAAQ;IACR,SAAS;IACT,SAAS;IACT,WAAW;AACb;AAGO,MAAMC,iBAAiB"}
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/utils/measures/depth.js","sources":["webpack://@visactor/vseed/./src/pipeline/utils/measures/depth.ts"],"sourcesContent":["import type { Measure, MeasureGroup, MeasureTree } from 'src/types'\nimport { preorderTraverse } from '../tree/traverse'\n\n/**\n * 获取measures的深度\n * @param measures\n * @param id\n * @returns\n */\nexport const measureDepth = (measures: MeasureTree = []): number => {\n if (!measures) return 0\n let depth = 1\n preorderTraverse<Measure, MeasureGroup>(measures, (node) => {\n if ('children' in node) {\n depth = Math.max(depth, 1 + measureDepth(node.children))\n }\n return false\n })\n return depth\n}\n"],"names":["measureDepth","measures","depth","preorderTraverse","node","Math"],"mappings":";AASO,MAAMA,eAAe,CAACC,WAAwB,EAAE;IACrD,IAAI,CAACA,UAAU,OAAO;IACtB,IAAIC,QAAQ;IACZC,iBAAwCF,UAAU,CAACG;QACjD,IAAI,cAAcA,MAChBF,QAAQG,KAAK,GAAG,CAACH,OAAO,IAAIF,aAAaI,KAAK,QAAQ;QAExD,OAAO;IACT;IACA,OAAOF;AACT"}
1
+ {"version":3,"file":"pipeline/utils/measures/depth.js","sources":["webpack://@visactor/vseed/./src/pipeline/utils/measures/depth.ts"],"sourcesContent":["import type { Measure, MeasureTree } from 'src/types'\nimport { preorderTraverse } from '../tree/traverse'\n\n/**\n * 获取measures的深度\n * @param measures\n * @param id\n * @returns\n */\nexport const measureDepth = (measures: MeasureTree = []): number => {\n if (!measures) return 0\n let depth = 1\n preorderTraverse<Measure, 'children'>(measures, (node) => {\n if ('children' in node) {\n depth = Math.max(depth, 1 + measureDepth(node.children as MeasureTree))\n }\n return false\n })\n return depth\n}\n"],"names":["measureDepth","measures","depth","preorderTraverse","node","Math"],"mappings":";AASO,MAAMA,eAAe,CAACC,WAAwB,EAAE;IACrD,IAAI,CAACA,UAAU,OAAO;IACtB,IAAIC,QAAQ;IACZC,iBAAsCF,UAAU,CAACG;QAC/C,IAAI,cAAcA,MAChBF,QAAQG,KAAK,GAAG,CAACH,OAAO,IAAIF,aAAaI,KAAK,QAAQ;QAExD,OAAO;IACT;IACA,OAAOF;AACT"}
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/utils/measures/find.js","sources":["webpack://@visactor/vseed/./src/pipeline/utils/measures/find.ts"],"sourcesContent":["import type { Measure, MeasureGroup, MeasureTree } from 'src/types'\nimport { preorderTraverse } from '../tree'\n\nexport const findMeasureById = (measures: MeasureTree = [], id: string): Measure | undefined => {\n if (!measures) return undefined\n let result: Measure | undefined\n preorderTraverse<Measure, MeasureGroup>(measures, (node) => {\n if (!('children' in node)) {\n if (node.id === id) {\n result = node as Measure\n return true\n }\n }\n return false\n })\n return result\n}\n\nexport const findFirstMeasure = (measures: MeasureTree = []): Measure | undefined => {\n if (!measures) return undefined\n let result: Measure | undefined\n preorderTraverse<Measure, MeasureGroup>(measures, (node) => {\n if (!('children' in node)) {\n result = node as Measure\n return true\n }\n return false\n })\n return result\n}\n\nexport const findAllMeasures = (measures: MeasureTree = []): Measure[] => {\n if (!measures) return []\n const result: Measure[] = []\n preorderTraverse<Measure, MeasureGroup>(measures, (node) => {\n if (!('children' in node)) {\n result.push(node as Measure)\n }\n return false\n })\n return result\n}\n"],"names":["findMeasureById","measures","id","result","preorderTraverse","node","findFirstMeasure","findAllMeasures"],"mappings":";AAGO,MAAMA,kBAAkB,CAACC,WAAwB,EAAE,EAAEC;IAC1D,IAAI,CAACD,UAAU;IACf,IAAIE;IACJC,iBAAwCH,UAAU,CAACI;QACjD,IAAI,CAAE,eAAcA,IAAG,GACrB;YAAA,IAAIA,KAAK,EAAE,KAAKH,IAAI;gBAClBC,SAASE;gBACT,OAAO;YACT;QAAA;QAEF,OAAO;IACT;IACA,OAAOF;AACT;AAEO,MAAMG,mBAAmB,CAACL,WAAwB,EAAE;IACzD,IAAI,CAACA,UAAU;IACf,IAAIE;IACJC,iBAAwCH,UAAU,CAACI;QACjD,IAAI,CAAE,eAAcA,IAAG,GAAI;YACzBF,SAASE;YACT,OAAO;QACT;QACA,OAAO;IACT;IACA,OAAOF;AACT;AAEO,MAAMI,kBAAkB,CAACN,WAAwB,EAAE;IACxD,IAAI,CAACA,UAAU,OAAO,EAAE;IACxB,MAAME,SAAoB,EAAE;IAC5BC,iBAAwCH,UAAU,CAACI;QACjD,IAAI,CAAE,eAAcA,IAAG,GACrBF,OAAO,IAAI,CAACE;QAEd,OAAO;IACT;IACA,OAAOF;AACT"}
1
+ {"version":3,"file":"pipeline/utils/measures/find.js","sources":["webpack://@visactor/vseed/./src/pipeline/utils/measures/find.ts"],"sourcesContent":["import type { Measure, MeasureTree } from 'src/types'\nimport { preorderTraverse } from '../tree'\n\nexport const findMeasureById = (measures: MeasureTree = [], id: string): Measure | undefined => {\n if (!measures) return undefined\n let result: Measure | undefined\n\n preorderTraverse<Measure, 'children'>(measures, (node) => {\n if (!('children' in node)) {\n if (node.id === id) {\n result = node\n return true\n }\n }\n return false\n })\n return result\n}\n\nexport const findFirstMeasure = (measures: MeasureTree = []): Measure | undefined => {\n if (!measures) return undefined\n let result: Measure | undefined\n preorderTraverse<Measure, 'children'>(measures, (node) => {\n if (!('children' in node)) {\n result = node\n return true\n }\n return false\n })\n return result\n}\n\nexport const findAllMeasures = (measures: MeasureTree = []): Measure[] => {\n if (!measures) return []\n const result: Measure[] = []\n preorderTraverse<Measure, 'children'>(measures, (node) => {\n if (!('children' in node)) {\n result.push(node)\n }\n return false\n })\n return result\n}\n"],"names":["findMeasureById","measures","id","result","preorderTraverse","node","findFirstMeasure","findAllMeasures"],"mappings":";AAGO,MAAMA,kBAAkB,CAACC,WAAwB,EAAE,EAAEC;IAC1D,IAAI,CAACD,UAAU;IACf,IAAIE;IAEJC,iBAAsCH,UAAU,CAACI;QAC/C,IAAI,CAAE,eAAcA,IAAG,GACrB;YAAA,IAAIA,KAAK,EAAE,KAAKH,IAAI;gBAClBC,SAASE;gBACT,OAAO;YACT;QAAA;QAEF,OAAO;IACT;IACA,OAAOF;AACT;AAEO,MAAMG,mBAAmB,CAACL,WAAwB,EAAE;IACzD,IAAI,CAACA,UAAU;IACf,IAAIE;IACJC,iBAAsCH,UAAU,CAACI;QAC/C,IAAI,CAAE,eAAcA,IAAG,GAAI;YACzBF,SAASE;YACT,OAAO;QACT;QACA,OAAO;IACT;IACA,OAAOF;AACT;AAEO,MAAMI,kBAAkB,CAACN,WAAwB,EAAE;IACxD,IAAI,CAACA,UAAU,OAAO,EAAE;IACxB,MAAME,SAAoB,EAAE;IAC5BC,iBAAsCH,UAAU,CAACI;QAC/C,IAAI,CAAE,eAAcA,IAAG,GACrBF,OAAO,IAAI,CAACE;QAEd,OAAO;IACT;IACA,OAAOF;AACT"}
@@ -1,11 +1 @@
1
- /**
2
- * 支持泛型的非递归前序遍历
3
- * @param tree 根节点数组
4
- * @param callback 遍历时对每个节点执行的回调,返回 true 时停止遍历
5
- */
6
- export declare const preorderTraverse: <T extends {
7
- id: string;
8
- }, U extends {
9
- id: string;
10
- children?: (T | U)[];
11
- }>(tree: (T | U)[], callback: (node: T | U) => boolean) => void;
1
+ export declare const preorderTraverse: <Node, K extends string = "children">(tree: Node[], callback: (node: Node) => boolean, childrenKey?: K) => void;
@@ -1,4 +1,4 @@
1
- const preorderTraverse = (tree, callback)=>{
1
+ const preorderTraverse = (tree, callback, childrenKey = 'children')=>{
2
2
  if (!tree || 0 === tree.length) return;
3
3
  const stack = [
4
4
  ...tree
@@ -7,9 +7,8 @@ const preorderTraverse = (tree, callback)=>{
7
7
  const node = stack.pop();
8
8
  const stop = callback(node);
9
9
  if (true === stop) return;
10
- if (!('children' in node)) continue;
11
- const children = node.children;
12
- if (children && children.length > 0) for(let i = children.length - 1; i >= 0; i--){
10
+ const children = node[childrenKey];
11
+ if (Array.isArray(children) && children.length > 0) for(let i = children.length - 1; i >= 0; i--){
13
12
  const child = children[i];
14
13
  stack.push(child);
15
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/utils/tree/traverse.js","sources":["webpack://@visactor/vseed/./src/pipeline/utils/tree/traverse.ts"],"sourcesContent":["/**\n * 支持泛型的非递归前序遍历\n * @param tree 根节点数组\n * @param callback 遍历时对每个节点执行的回调,返回 true 时停止遍历\n */\nexport const preorderTraverse = <T extends { id: string }, U extends { id: string; children?: (T | U)[] }>(\n tree: (T | U)[],\n callback: (node: T | U) => boolean,\n) => {\n if (!tree || tree.length === 0) return\n\n const stack: (T | U)[] = [...tree].reverse()\n\n while (stack.length > 0) {\n const node = stack.pop()!\n const stop = callback(node)\n if (stop === true) {\n return\n }\n if (!('children' in node)) {\n continue\n }\n const children = node.children\n if (children && children.length > 0) {\n for (let i = children.length - 1; i >= 0; i--) {\n const child = children[i]\n stack.push(child)\n }\n }\n }\n}\n"],"names":["preorderTraverse","tree","callback","stack","node","stop","children","i","child"],"mappings":"AAKO,MAAMA,mBAAmB,CAC9BC,MACAC;IAEA,IAAI,CAACD,QAAQA,AAAgB,MAAhBA,KAAK,MAAM,EAAQ;IAEhC,MAAME,QAAmB;WAAIF;KAAK,CAAC,OAAO;IAE1C,MAAOE,MAAM,MAAM,GAAG,EAAG;QACvB,MAAMC,OAAOD,MAAM,GAAG;QACtB,MAAME,OAAOH,SAASE;QACtB,IAAIC,AAAS,SAATA,MACF;QAEF,IAAI,CAAE,eAAcD,IAAG,GACrB;QAEF,MAAME,WAAWF,KAAK,QAAQ;QAC9B,IAAIE,YAAYA,SAAS,MAAM,GAAG,GAChC,IAAK,IAAIC,IAAID,SAAS,MAAM,GAAG,GAAGC,KAAK,GAAGA,IAAK;YAC7C,MAAMC,QAAQF,QAAQ,CAACC,EAAE;YACzBJ,MAAM,IAAI,CAACK;QACb;IAEJ;AACF"}
1
+ {"version":3,"file":"pipeline/utils/tree/traverse.js","sources":["webpack://@visactor/vseed/./src/pipeline/utils/tree/traverse.ts"],"sourcesContent":["/**\n * 支持泛型与可配置子节点键名的非递归前序遍历\n * @param tree 根节点数组\n * @param callback 遍历时对每个节点执行的回调,返回 true 时停止遍历\n * @param childrenKey 子节点键名(默认 'children')\n */\ntype WithChildren<Node, K extends string> = Node & { [P in K]?: Node[] }\n\nexport const preorderTraverse = <Node, K extends string = 'children'>(\n tree: Node[],\n callback: (node: Node) => boolean,\n childrenKey: K = 'children' as K,\n) => {\n if (!tree || tree.length === 0) return\n\n const stack: Node[] = [...tree].reverse()\n\n while (stack.length > 0) {\n const node = stack.pop() as Node\n const stop = callback(node)\n if (stop === true) {\n return\n }\n\n const children = (node as WithChildren<Node, K>)[childrenKey]\n if (Array.isArray(children) && children.length > 0) {\n for (let i = children.length - 1; i >= 0; i--) {\n const child = children[i]\n stack.push(child)\n }\n }\n }\n}\n"],"names":["preorderTraverse","tree","callback","childrenKey","stack","node","stop","children","Array","i","child"],"mappings":"AAQO,MAAMA,mBAAmB,CAC9BC,MACAC,UACAC,cAAiB,UAAe;IAEhC,IAAI,CAACF,QAAQA,AAAgB,MAAhBA,KAAK,MAAM,EAAQ;IAEhC,MAAMG,QAAgB;WAAIH;KAAK,CAAC,OAAO;IAEvC,MAAOG,MAAM,MAAM,GAAG,EAAG;QACvB,MAAMC,OAAOD,MAAM,GAAG;QACtB,MAAME,OAAOJ,SAASG;QACtB,IAAIC,AAAS,SAATA,MACF;QAGF,MAAMC,WAAYF,IAA8B,CAACF,YAAY;QAC7D,IAAIK,MAAM,OAAO,CAACD,aAAaA,SAAS,MAAM,GAAG,GAC/C,IAAK,IAAIE,IAAIF,SAAS,MAAM,GAAG,GAAGE,KAAK,GAAGA,IAAK;YAC7C,MAAMC,QAAQH,QAAQ,CAACE,EAAE;YACzBL,MAAM,IAAI,CAACM;QACb;IAEJ;AACF"}
@@ -2,15 +2,15 @@ const getDefaultAnnotationPoint = ()=>({
2
2
  textBackgroundVisible: true,
3
3
  textFontSize: 12,
4
4
  textFontWeight: 400,
5
- textBackgroundBorderRadius: 4,
5
+ textBackgroundBorderRadius: 0,
6
6
  textBackgroundBorderWidth: 1,
7
7
  textBackgroundPadding: 2
8
8
  });
9
9
  const getLightAnnotationPoint = ()=>({
10
10
  ...getDefaultAnnotationPoint(),
11
11
  textColor: '#ffffff',
12
- textBackgroundColor: '#364159',
13
- textBackgroundBorderColor: '#3641594d'
12
+ textBackgroundColor: '#BCC1CB',
13
+ textBackgroundBorderColor: '#BCC1CB'
14
14
  });
15
15
  const getDefaultAnnotationLine = ()=>({
16
16
  lineVisible: true,
@@ -39,7 +39,7 @@ const getDefaultAnnotationArea = ()=>({
39
39
  textBackgroundVisible: true,
40
40
  textBackgroundBorderWidth: 1,
41
41
  textBackgroundBorderRadius: 0,
42
- textBackgroundPadding: 4,
42
+ textBackgroundPadding: 2,
43
43
  areaBorderWidth: 0,
44
44
  areaBorderRadius: 0,
45
45
  areaLineDash: [
@@ -65,9 +65,9 @@ const getLightAnnotation = ()=>({
65
65
  });
66
66
  const getDarkAnnotationPoint = ()=>({
67
67
  ...getDefaultAnnotationPoint(),
68
- textColor: '#4B4F54',
69
- textBackgroundColor: '#ffffff',
70
- textBackgroundBorderColor: '#ffffff'
68
+ textColor: '#E2E3E6',
69
+ textBackgroundColor: '#55595F',
70
+ textBackgroundBorderColor: '#55595F'
71
71
  });
72
72
  const getDarkAnnotationHorizontalLine = ()=>({
73
73
  ...getDefaultAnnotationLine(),
@@ -1 +1 @@
1
- {"version":3,"file":"theme/common/annotaion.js","sources":["webpack://@visactor/vseed/./src/theme/common/annotaion.ts"],"sourcesContent":["import type {\n AnnotationAreaConfig,\n AnnotationHorizontalLineConfig,\n AnnotationPointConfig,\n} from 'src/types/properties/config/annotation/annotation'\n\nexport const getDefaultAnnotationPoint = (): AnnotationPointConfig => ({\n textBackgroundVisible: true,\n textFontSize: 12,\n textFontWeight: 400,\n\n textBackgroundBorderRadius: 4,\n textBackgroundBorderWidth: 1,\n textBackgroundPadding: 2,\n})\n\nexport const getLightAnnotationPoint = (): AnnotationPointConfig => ({\n ...getDefaultAnnotationPoint(),\n textColor: '#ffffff',\n textBackgroundColor: '#364159',\n textBackgroundBorderColor: '#3641594d',\n})\n\nexport const getDefaultAnnotationLine = (): AnnotationHorizontalLineConfig => ({\n lineVisible: true,\n lineWidth: 1,\n lineStyle: 'solid' as const,\n\n textFontSize: 12,\n textFontWeight: 400,\n startSymbolVisible: true,\n endSymbolVisible: false,\n\n textBackgroundVisible: true,\n textBackgroundBorderWidth: 1,\n textBackgroundBorderRadius: 0,\n textBackgroundPadding: 2,\n})\n\nexport const getLightAnnotationHorizontalLine = (): AnnotationHorizontalLineConfig => ({\n ...getDefaultAnnotationLine(),\n lineColor: '#BCC1CB',\n\n textColor: '#ffffff',\n\n textBackgroundColor: '#BCC1CB',\n textBackgroundBorderColor: '#BCC1CB',\n})\n\nexport const getLightAnnotationVerticalLine = () => getLightAnnotationHorizontalLine()\n\nexport const getDefaultAnnotationArea = (): AnnotationAreaConfig => ({\n textFontSize: 12,\n textFontWeight: 400,\n textBackgroundVisible: true,\n textBackgroundBorderWidth: 1,\n textBackgroundBorderRadius: 0,\n textBackgroundPadding: 4,\n areaBorderWidth: 0,\n areaBorderRadius: 0,\n areaLineDash: [2, 2],\n\n outerPadding: 4,\n})\n\nexport const getLightAnnotationArea = (): AnnotationAreaConfig => ({\n ...getDefaultAnnotationArea(),\n textColor: '#ffffff',\n\n textBackgroundColor: '#BCC1CB',\n textBackgroundBorderColor: '#BCC1CB',\n\n areaColor: '#BCC1CB',\n areaColorOpacity: 0.12,\n areaBorderColor: '#BCC1CB',\n})\n\nexport const getLightAnnotation = () => ({\n annotationPoint: getLightAnnotationPoint(),\n annotationHorizontalLine: getLightAnnotationHorizontalLine(),\n annotationVerticalLine: getLightAnnotationVerticalLine(),\n annotationArea: getLightAnnotationArea(),\n})\n\n// --- dark ---\nexport const getDarkAnnotationPoint = (): AnnotationPointConfig => ({\n ...getDefaultAnnotationPoint(),\n textColor: '#4B4F54',\n\n textBackgroundColor: '#ffffff',\n textBackgroundBorderColor: '#ffffff',\n})\n\nexport const getDarkAnnotationHorizontalLine = (): AnnotationHorizontalLineConfig => ({\n ...getDefaultAnnotationLine(),\n lineColor: '#55595F',\n\n textColor: '#E2E3E6',\n textBackgroundColor: '#55595F',\n textBackgroundBorderColor: '#55595F',\n})\n\nexport const getDarkAnnotationVerticalLine = () => getDarkAnnotationHorizontalLine()\n\nexport const getDarkAnnotationArea = (): AnnotationAreaConfig => ({\n ...getDefaultAnnotationArea(),\n textColor: '#E2E3E6',\n\n textBackgroundColor: '#55595F',\n textBackgroundBorderColor: '#55595F',\n\n areaColor: '#E2E3E6',\n areaColorOpacity: 0.15,\n areaBorderColor: '#E2E3E6',\n})\n\nexport const getDarkAnnotation = () => ({\n annotationPoint: getDarkAnnotationPoint(),\n annotationHorizontalLine: getDarkAnnotationHorizontalLine(),\n annotationVerticalLine: getDarkAnnotationVerticalLine(),\n annotationArea: getDarkAnnotationArea(),\n})\n\nexport default getLightAnnotation\n"],"names":["getDefaultAnnotationPoint","getLightAnnotationPoint","getDefaultAnnotationLine","getLightAnnotationHorizontalLine","getLightAnnotationVerticalLine","getDefaultAnnotationArea","getLightAnnotationArea","getLightAnnotation","getDarkAnnotationPoint","getDarkAnnotationHorizontalLine","getDarkAnnotationVerticalLine","getDarkAnnotationArea","getDarkAnnotation"],"mappings":"AAMO,MAAMA,4BAA4B,IAA8B;QACrE,uBAAuB;QACvB,cAAc;QACd,gBAAgB;QAEhB,4BAA4B;QAC5B,2BAA2B;QAC3B,uBAAuB;IACzB;AAEO,MAAMC,0BAA0B,IAA8B;QACnE,GAAGD,2BAA2B;QAC9B,WAAW;QACX,qBAAqB;QACrB,2BAA2B;IAC7B;AAEO,MAAME,2BAA2B,IAAuC;QAC7E,aAAa;QACb,WAAW;QACX,WAAW;QAEX,cAAc;QACd,gBAAgB;QAChB,oBAAoB;QACpB,kBAAkB;QAElB,uBAAuB;QACvB,2BAA2B;QAC3B,4BAA4B;QAC5B,uBAAuB;IACzB;AAEO,MAAMC,mCAAmC,IAAuC;QACrF,GAAGD,0BAA0B;QAC7B,WAAW;QAEX,WAAW;QAEX,qBAAqB;QACrB,2BAA2B;IAC7B;AAEO,MAAME,iCAAiC,IAAMD;AAE7C,MAAME,2BAA2B,IAA6B;QACnE,cAAc;QACd,gBAAgB;QAChB,uBAAuB;QACvB,2BAA2B;QAC3B,4BAA4B;QAC5B,uBAAuB;QACvB,iBAAiB;QACjB,kBAAkB;QAClB,cAAc;YAAC;YAAG;SAAE;QAEpB,cAAc;IAChB;AAEO,MAAMC,yBAAyB,IAA6B;QACjE,GAAGD,0BAA0B;QAC7B,WAAW;QAEX,qBAAqB;QACrB,2BAA2B;QAE3B,WAAW;QACX,kBAAkB;QAClB,iBAAiB;IACnB;AAEO,MAAME,qBAAqB,IAAO;QACvC,iBAAiBN;QACjB,0BAA0BE;QAC1B,wBAAwBC;QACxB,gBAAgBE;IAClB;AAGO,MAAME,yBAAyB,IAA8B;QAClE,GAAGR,2BAA2B;QAC9B,WAAW;QAEX,qBAAqB;QACrB,2BAA2B;IAC7B;AAEO,MAAMS,kCAAkC,IAAuC;QACpF,GAAGP,0BAA0B;QAC7B,WAAW;QAEX,WAAW;QACX,qBAAqB;QACrB,2BAA2B;IAC7B;AAEO,MAAMQ,gCAAgC,IAAMD;AAE5C,MAAME,wBAAwB,IAA6B;QAChE,GAAGN,0BAA0B;QAC7B,WAAW;QAEX,qBAAqB;QACrB,2BAA2B;QAE3B,WAAW;QACX,kBAAkB;QAClB,iBAAiB;IACnB;AAEO,MAAMO,oBAAoB,IAAO;QACtC,iBAAiBJ;QACjB,0BAA0BC;QAC1B,wBAAwBC;QACxB,gBAAgBC;IAClB;AAEA,kBAAeJ"}
1
+ {"version":3,"file":"theme/common/annotaion.js","sources":["webpack://@visactor/vseed/./src/theme/common/annotaion.ts"],"sourcesContent":["import type {\n AnnotationAreaConfig,\n AnnotationHorizontalLineConfig,\n AnnotationPointConfig,\n} from 'src/types/properties/config/annotation/annotation'\n\nexport const getDefaultAnnotationPoint = (): AnnotationPointConfig => ({\n textBackgroundVisible: true,\n textFontSize: 12,\n textFontWeight: 400,\n\n textBackgroundBorderRadius: 0,\n textBackgroundBorderWidth: 1,\n textBackgroundPadding: 2,\n})\n\nexport const getLightAnnotationPoint = (): AnnotationPointConfig => ({\n ...getDefaultAnnotationPoint(),\n textColor: '#ffffff',\n textBackgroundColor: '#BCC1CB',\n textBackgroundBorderColor: '#BCC1CB',\n})\n\nexport const getDefaultAnnotationLine = (): AnnotationHorizontalLineConfig => ({\n lineVisible: true,\n lineWidth: 1,\n lineStyle: 'solid' as const,\n\n textFontSize: 12,\n textFontWeight: 400,\n startSymbolVisible: true,\n endSymbolVisible: false,\n\n textBackgroundVisible: true,\n textBackgroundBorderWidth: 1,\n textBackgroundBorderRadius: 0,\n textBackgroundPadding: 2,\n})\n\nexport const getLightAnnotationHorizontalLine = (): AnnotationHorizontalLineConfig => ({\n ...getDefaultAnnotationLine(),\n lineColor: '#BCC1CB',\n\n textColor: '#ffffff',\n\n textBackgroundColor: '#BCC1CB',\n textBackgroundBorderColor: '#BCC1CB',\n})\n\nexport const getLightAnnotationVerticalLine = () => getLightAnnotationHorizontalLine()\n\nexport const getDefaultAnnotationArea = (): AnnotationAreaConfig => ({\n textFontSize: 12,\n textFontWeight: 400,\n textBackgroundVisible: true,\n textBackgroundBorderWidth: 1,\n textBackgroundBorderRadius: 0,\n textBackgroundPadding: 2,\n areaBorderWidth: 0,\n areaBorderRadius: 0,\n areaLineDash: [2, 2],\n\n outerPadding: 4,\n})\n\nexport const getLightAnnotationArea = (): AnnotationAreaConfig => ({\n ...getDefaultAnnotationArea(),\n textColor: '#ffffff',\n\n textBackgroundColor: '#BCC1CB',\n textBackgroundBorderColor: '#BCC1CB',\n\n areaColor: '#BCC1CB',\n areaColorOpacity: 0.12,\n areaBorderColor: '#BCC1CB',\n})\n\nexport const getLightAnnotation = () => ({\n annotationPoint: getLightAnnotationPoint(),\n annotationHorizontalLine: getLightAnnotationHorizontalLine(),\n annotationVerticalLine: getLightAnnotationVerticalLine(),\n annotationArea: getLightAnnotationArea(),\n})\n\n// --- dark ---\nexport const getDarkAnnotationPoint = (): AnnotationPointConfig => ({\n ...getDefaultAnnotationPoint(),\n textColor: '#E2E3E6',\n\n textBackgroundColor: '#55595F',\n textBackgroundBorderColor: '#55595F',\n})\n\nexport const getDarkAnnotationHorizontalLine = (): AnnotationHorizontalLineConfig => ({\n ...getDefaultAnnotationLine(),\n lineColor: '#55595F',\n\n textColor: '#E2E3E6',\n textBackgroundColor: '#55595F',\n textBackgroundBorderColor: '#55595F',\n})\n\nexport const getDarkAnnotationVerticalLine = () => getDarkAnnotationHorizontalLine()\n\nexport const getDarkAnnotationArea = (): AnnotationAreaConfig => ({\n ...getDefaultAnnotationArea(),\n textColor: '#E2E3E6',\n\n textBackgroundColor: '#55595F',\n textBackgroundBorderColor: '#55595F',\n\n areaColor: '#E2E3E6',\n areaColorOpacity: 0.15,\n areaBorderColor: '#E2E3E6',\n})\n\nexport const getDarkAnnotation = () => ({\n annotationPoint: getDarkAnnotationPoint(),\n annotationHorizontalLine: getDarkAnnotationHorizontalLine(),\n annotationVerticalLine: getDarkAnnotationVerticalLine(),\n annotationArea: getDarkAnnotationArea(),\n})\n\nexport default getLightAnnotation\n"],"names":["getDefaultAnnotationPoint","getLightAnnotationPoint","getDefaultAnnotationLine","getLightAnnotationHorizontalLine","getLightAnnotationVerticalLine","getDefaultAnnotationArea","getLightAnnotationArea","getLightAnnotation","getDarkAnnotationPoint","getDarkAnnotationHorizontalLine","getDarkAnnotationVerticalLine","getDarkAnnotationArea","getDarkAnnotation"],"mappings":"AAMO,MAAMA,4BAA4B,IAA8B;QACrE,uBAAuB;QACvB,cAAc;QACd,gBAAgB;QAEhB,4BAA4B;QAC5B,2BAA2B;QAC3B,uBAAuB;IACzB;AAEO,MAAMC,0BAA0B,IAA8B;QACnE,GAAGD,2BAA2B;QAC9B,WAAW;QACX,qBAAqB;QACrB,2BAA2B;IAC7B;AAEO,MAAME,2BAA2B,IAAuC;QAC7E,aAAa;QACb,WAAW;QACX,WAAW;QAEX,cAAc;QACd,gBAAgB;QAChB,oBAAoB;QACpB,kBAAkB;QAElB,uBAAuB;QACvB,2BAA2B;QAC3B,4BAA4B;QAC5B,uBAAuB;IACzB;AAEO,MAAMC,mCAAmC,IAAuC;QACrF,GAAGD,0BAA0B;QAC7B,WAAW;QAEX,WAAW;QAEX,qBAAqB;QACrB,2BAA2B;IAC7B;AAEO,MAAME,iCAAiC,IAAMD;AAE7C,MAAME,2BAA2B,IAA6B;QACnE,cAAc;QACd,gBAAgB;QAChB,uBAAuB;QACvB,2BAA2B;QAC3B,4BAA4B;QAC5B,uBAAuB;QACvB,iBAAiB;QACjB,kBAAkB;QAClB,cAAc;YAAC;YAAG;SAAE;QAEpB,cAAc;IAChB;AAEO,MAAMC,yBAAyB,IAA6B;QACjE,GAAGD,0BAA0B;QAC7B,WAAW;QAEX,qBAAqB;QACrB,2BAA2B;QAE3B,WAAW;QACX,kBAAkB;QAClB,iBAAiB;IACnB;AAEO,MAAME,qBAAqB,IAAO;QACvC,iBAAiBN;QACjB,0BAA0BE;QAC1B,wBAAwBC;QACxB,gBAAgBE;IAClB;AAGO,MAAME,yBAAyB,IAA8B;QAClE,GAAGR,2BAA2B;QAC9B,WAAW;QAEX,qBAAqB;QACrB,2BAA2B;IAC7B;AAEO,MAAMS,kCAAkC,IAAuC;QACpF,GAAGP,0BAA0B;QAC7B,WAAW;QAEX,WAAW;QACX,qBAAqB;QACrB,2BAA2B;IAC7B;AAEO,MAAMQ,gCAAgC,IAAMD;AAE5C,MAAME,wBAAwB,IAA6B;QAChE,GAAGN,0BAA0B;QAC7B,WAAW;QAEX,qBAAqB;QACrB,2BAA2B;QAE3B,WAAW;QACX,kBAAkB;QAClB,iBAAiB;IACnB;AAEO,MAAMO,oBAAoB,IAAO;QACtC,iBAAiBJ;QACjB,0BAA0BC;QAC1B,wBAAwBC;QACxB,gBAAgBC;IAClB;AAEA,kBAAeJ"}
@@ -5,20 +5,20 @@ const getLightLinearAxis = ()=>({
5
5
  label: {
6
6
  visible: true,
7
7
  labelAngle: 0,
8
- labelColor: '#797B85',
8
+ labelColor: '#8F959E',
9
9
  labelFontSize: 12,
10
10
  labelFontWeight: 400
11
11
  },
12
12
  title: {
13
13
  visible: false,
14
14
  titleText: '',
15
- titleColor: '#646A73',
15
+ titleColor: '#606773',
16
16
  titleFontSize: 12,
17
17
  titleFontWeight: 400
18
18
  },
19
19
  grid: {
20
20
  visible: true,
21
- gridColor: '#36415926',
21
+ gridColor: '#E3E5EB',
22
22
  gridWidth: 0.5,
23
23
  gridLineDash: [
24
24
  4,
@@ -29,11 +29,11 @@ const getLightLinearAxis = ()=>({
29
29
  visible: false,
30
30
  tickInside: false,
31
31
  tickSize: 4,
32
- tickColor: '#3641594d'
32
+ tickColor: '#21252C'
33
33
  },
34
34
  line: {
35
35
  visible: false,
36
- lineColor: '#3641594d',
36
+ lineColor: '#21252C',
37
37
  lineWidth: 1
38
38
  }
39
39
  });
@@ -51,20 +51,20 @@ const getLightBandAxis = ()=>({
51
51
  label: {
52
52
  visible: true,
53
53
  labelAngle: 0,
54
- labelColor: '#797B85',
54
+ labelColor: '#8F959E',
55
55
  labelFontSize: 12,
56
56
  labelFontWeight: 400
57
57
  },
58
58
  title: {
59
59
  visible: false,
60
60
  titleText: '',
61
- titleColor: '#646A73',
61
+ titleColor: '#606773',
62
62
  titleFontSize: 12,
63
63
  titleFontWeight: 400
64
64
  },
65
65
  grid: {
66
66
  visible: false,
67
- gridColor: '#36415926',
67
+ gridColor: '#E3E5EB',
68
68
  gridWidth: 0.5,
69
69
  gridLineDash: [
70
70
  4,
@@ -75,11 +75,11 @@ const getLightBandAxis = ()=>({
75
75
  visible: false,
76
76
  tickInside: false,
77
77
  tickSize: 4,
78
- tickColor: '#3641594d'
78
+ tickColor: '#21252C'
79
79
  },
80
80
  line: {
81
81
  visible: true,
82
- lineColor: '#3641594d',
82
+ lineColor: '#21252C',
83
83
  lineWidth: 1
84
84
  }
85
85
  });
@@ -89,14 +89,14 @@ const getDarkLinearAxis = ()=>({
89
89
  label: {
90
90
  visible: true,
91
91
  labelAngle: 0,
92
- labelColor: '#E2E3E6',
92
+ labelColor: '#888C93',
93
93
  labelFontSize: 12,
94
94
  labelFontWeight: 400
95
95
  },
96
96
  title: {
97
97
  visible: false,
98
98
  titleText: '',
99
- titleColor: '#FDFDFD',
99
+ titleColor: '#BBBDC3',
100
100
  titleFontSize: 12,
101
101
  titleFontWeight: 400
102
102
  },
@@ -113,11 +113,11 @@ const getDarkLinearAxis = ()=>({
113
113
  visible: false,
114
114
  tickInside: false,
115
115
  tickSize: 4,
116
- tickColor: '#4B4F54'
116
+ tickColor: '#303339'
117
117
  },
118
118
  line: {
119
119
  visible: false,
120
- lineColor: '#4B4F54',
120
+ lineColor: '#303339',
121
121
  lineWidth: 1
122
122
  }
123
123
  });
@@ -135,14 +135,14 @@ const getDarkBandAxis = ()=>({
135
135
  label: {
136
136
  visible: true,
137
137
  labelAngle: 0,
138
- labelColor: '#E2E3E6',
138
+ labelColor: '#888C93',
139
139
  labelFontSize: 12,
140
140
  labelFontWeight: 400
141
141
  },
142
142
  title: {
143
143
  visible: false,
144
144
  titleText: '',
145
- titleColor: '#FDFDFD',
145
+ titleColor: '#BBBDC3',
146
146
  titleFontSize: 12,
147
147
  titleFontWeight: 400
148
148
  },
@@ -159,11 +159,11 @@ const getDarkBandAxis = ()=>({
159
159
  visible: false,
160
160
  tickInside: false,
161
161
  tickSize: 4,
162
- tickColor: '#4B4F54'
162
+ tickColor: '#303339'
163
163
  },
164
164
  line: {
165
165
  visible: true,
166
- lineColor: '#4B4F54',
166
+ lineColor: '#303339',
167
167
  lineWidth: 1
168
168
  }
169
169
  });
@@ -1 +1 @@
1
- {"version":3,"file":"theme/common/axes.js","sources":["webpack://@visactor/vseed/./src/theme/common/axes.ts"],"sourcesContent":["import type { YBandAxis, YLinearAxis } from 'src/types'\n\nexport const getLightLinearAxis = (): YLinearAxis => ({\n nice: true,\n zero: true,\n inverse: false,\n label: {\n visible: true,\n labelAngle: 0,\n labelColor: '#797B85',\n labelFontSize: 12,\n labelFontWeight: 400,\n },\n title: {\n visible: false,\n titleText: '',\n titleColor: '#646A73',\n titleFontSize: 12,\n titleFontWeight: 400,\n },\n grid: {\n visible: true,\n gridColor: '#36415926',\n gridWidth: 0.5,\n gridLineDash: [4, 2],\n },\n tick: {\n visible: false,\n tickInside: false,\n tickSize: 4,\n tickColor: '#3641594d',\n },\n line: {\n visible: false,\n lineColor: '#3641594d',\n lineWidth: 1,\n },\n})\n\nexport const getLightBandAxis = (): YBandAxis => ({\n labelAutoHide: true,\n labelAutoHideGap: 4,\n labelAutoLimit: true,\n labelAutoLimitLength: 80,\n labelAutoRotate: false,\n labelAutoRotateAngleRange: [0, -45, -90],\n label: {\n visible: true,\n labelAngle: 0,\n labelColor: '#797B85',\n labelFontSize: 12,\n labelFontWeight: 400,\n },\n title: {\n visible: false,\n titleText: '',\n titleColor: '#646A73',\n titleFontSize: 12,\n titleFontWeight: 400,\n },\n grid: {\n visible: false,\n gridColor: '#36415926',\n gridWidth: 0.5,\n gridLineDash: [4, 2],\n },\n tick: {\n visible: false,\n tickInside: false,\n tickSize: 4,\n tickColor: '#3641594d',\n },\n line: {\n visible: true,\n lineColor: '#3641594d',\n lineWidth: 1,\n },\n})\n\nexport const getDarkLinearAxis = (): YLinearAxis => ({\n nice: true,\n zero: true,\n label: {\n visible: true,\n labelAngle: 0,\n labelColor: '#E2E3E6',\n labelFontSize: 12,\n labelFontWeight: 400,\n },\n title: {\n visible: false,\n titleText: '',\n titleColor: '#FDFDFD',\n titleFontSize: 12,\n titleFontWeight: 400,\n },\n grid: {\n visible: true,\n gridColor: '#303339',\n gridWidth: 0.5,\n gridLineDash: [4, 2],\n },\n tick: {\n visible: false,\n tickInside: false,\n tickSize: 4,\n tickColor: '#4B4F54',\n },\n line: {\n visible: false,\n lineColor: '#4B4F54',\n lineWidth: 1,\n },\n})\n\nexport const getDarkBandAxis = (): YBandAxis => ({\n labelAutoHide: true,\n labelAutoHideGap: 4,\n labelAutoLimit: true,\n labelAutoLimitLength: 80,\n labelAutoRotate: false,\n labelAutoRotateAngleRange: [0, -45, -90],\n label: {\n visible: true,\n labelAngle: 0,\n labelColor: '#E2E3E6',\n labelFontSize: 12,\n labelFontWeight: 400,\n },\n title: {\n visible: false,\n titleText: '',\n titleColor: '#FDFDFD',\n titleFontSize: 12,\n titleFontWeight: 400,\n },\n grid: {\n visible: false,\n gridColor: '#303339',\n gridWidth: 0.5,\n gridLineDash: [4, 2],\n },\n tick: {\n visible: false,\n tickInside: false,\n tickSize: 4,\n tickColor: '#4B4F54',\n },\n line: {\n visible: true,\n lineColor: '#4B4F54',\n lineWidth: 1,\n },\n})\n"],"names":["getLightLinearAxis","getLightBandAxis","getDarkLinearAxis","getDarkBandAxis"],"mappings":"AAEO,MAAMA,qBAAqB,IAAoB;QACpD,MAAM;QACN,MAAM;QACN,SAAS;QACT,OAAO;YACL,SAAS;YACT,YAAY;YACZ,YAAY;YACZ,eAAe;YACf,iBAAiB;QACnB;QACA,OAAO;YACL,SAAS;YACT,WAAW;YACX,YAAY;YACZ,eAAe;YACf,iBAAiB;QACnB;QACA,MAAM;YACJ,SAAS;YACT,WAAW;YACX,WAAW;YACX,cAAc;gBAAC;gBAAG;aAAE;QACtB;QACA,MAAM;YACJ,SAAS;YACT,YAAY;YACZ,UAAU;YACV,WAAW;QACb;QACA,MAAM;YACJ,SAAS;YACT,WAAW;YACX,WAAW;QACb;IACF;AAEO,MAAMC,mBAAmB,IAAkB;QAChD,eAAe;QACf,kBAAkB;QAClB,gBAAgB;QAChB,sBAAsB;QACtB,iBAAiB;QACjB,2BAA2B;YAAC;YAAG;YAAK;SAAI;QACxC,OAAO;YACL,SAAS;YACT,YAAY;YACZ,YAAY;YACZ,eAAe;YACf,iBAAiB;QACnB;QACA,OAAO;YACL,SAAS;YACT,WAAW;YACX,YAAY;YACZ,eAAe;YACf,iBAAiB;QACnB;QACA,MAAM;YACJ,SAAS;YACT,WAAW;YACX,WAAW;YACX,cAAc;gBAAC;gBAAG;aAAE;QACtB;QACA,MAAM;YACJ,SAAS;YACT,YAAY;YACZ,UAAU;YACV,WAAW;QACb;QACA,MAAM;YACJ,SAAS;YACT,WAAW;YACX,WAAW;QACb;IACF;AAEO,MAAMC,oBAAoB,IAAoB;QACnD,MAAM;QACN,MAAM;QACN,OAAO;YACL,SAAS;YACT,YAAY;YACZ,YAAY;YACZ,eAAe;YACf,iBAAiB;QACnB;QACA,OAAO;YACL,SAAS;YACT,WAAW;YACX,YAAY;YACZ,eAAe;YACf,iBAAiB;QACnB;QACA,MAAM;YACJ,SAAS;YACT,WAAW;YACX,WAAW;YACX,cAAc;gBAAC;gBAAG;aAAE;QACtB;QACA,MAAM;YACJ,SAAS;YACT,YAAY;YACZ,UAAU;YACV,WAAW;QACb;QACA,MAAM;YACJ,SAAS;YACT,WAAW;YACX,WAAW;QACb;IACF;AAEO,MAAMC,kBAAkB,IAAkB;QAC/C,eAAe;QACf,kBAAkB;QAClB,gBAAgB;QAChB,sBAAsB;QACtB,iBAAiB;QACjB,2BAA2B;YAAC;YAAG;YAAK;SAAI;QACxC,OAAO;YACL,SAAS;YACT,YAAY;YACZ,YAAY;YACZ,eAAe;YACf,iBAAiB;QACnB;QACA,OAAO;YACL,SAAS;YACT,WAAW;YACX,YAAY;YACZ,eAAe;YACf,iBAAiB;QACnB;QACA,MAAM;YACJ,SAAS;YACT,WAAW;YACX,WAAW;YACX,cAAc;gBAAC;gBAAG;aAAE;QACtB;QACA,MAAM;YACJ,SAAS;YACT,YAAY;YACZ,UAAU;YACV,WAAW;QACb;QACA,MAAM;YACJ,SAAS;YACT,WAAW;YACX,WAAW;QACb;IACF"}
1
+ {"version":3,"file":"theme/common/axes.js","sources":["webpack://@visactor/vseed/./src/theme/common/axes.ts"],"sourcesContent":["import type { YBandAxis, YLinearAxis } from 'src/types'\n\nexport const getLightLinearAxis = (): YLinearAxis => ({\n nice: true,\n zero: true,\n inverse: false,\n label: {\n visible: true,\n labelAngle: 0,\n labelColor: '#8F959E',\n labelFontSize: 12,\n labelFontWeight: 400,\n },\n title: {\n visible: false,\n titleText: '',\n titleColor: '#606773',\n titleFontSize: 12,\n titleFontWeight: 400,\n },\n grid: {\n visible: true,\n gridColor: '#E3E5EB',\n gridWidth: 0.5,\n gridLineDash: [4, 2],\n },\n tick: {\n visible: false,\n tickInside: false,\n tickSize: 4,\n tickColor: '#21252C',\n },\n line: {\n visible: false,\n lineColor: '#21252C',\n lineWidth: 1,\n },\n})\n\nexport const getLightBandAxis = (): YBandAxis => ({\n labelAutoHide: true,\n labelAutoHideGap: 4,\n labelAutoLimit: true,\n labelAutoLimitLength: 80,\n labelAutoRotate: false,\n labelAutoRotateAngleRange: [0, -45, -90],\n label: {\n visible: true,\n labelAngle: 0,\n labelColor: '#8F959E',\n labelFontSize: 12,\n labelFontWeight: 400,\n },\n title: {\n visible: false,\n titleText: '',\n titleColor: '#606773',\n titleFontSize: 12,\n titleFontWeight: 400,\n },\n grid: {\n visible: false,\n gridColor: '#E3E5EB',\n gridWidth: 0.5,\n gridLineDash: [4, 2],\n },\n tick: {\n visible: false,\n tickInside: false,\n tickSize: 4,\n tickColor: '#21252C',\n },\n line: {\n visible: true,\n lineColor: '#21252C',\n lineWidth: 1,\n },\n})\n\nexport const getDarkLinearAxis = (): YLinearAxis => ({\n nice: true,\n zero: true,\n label: {\n visible: true,\n labelAngle: 0,\n labelColor: '#888C93',\n labelFontSize: 12,\n labelFontWeight: 400,\n },\n title: {\n visible: false,\n titleText: '',\n titleColor: '#BBBDC3',\n titleFontSize: 12,\n titleFontWeight: 400,\n },\n grid: {\n visible: true,\n gridColor: '#303339',\n gridWidth: 0.5,\n gridLineDash: [4, 2],\n },\n tick: {\n visible: false,\n tickInside: false,\n tickSize: 4,\n tickColor: '#303339',\n },\n line: {\n visible: false,\n lineColor: '#303339',\n lineWidth: 1,\n },\n})\n\nexport const getDarkBandAxis = (): YBandAxis => ({\n labelAutoHide: true,\n labelAutoHideGap: 4,\n labelAutoLimit: true,\n labelAutoLimitLength: 80,\n labelAutoRotate: false,\n labelAutoRotateAngleRange: [0, -45, -90],\n label: {\n visible: true,\n labelAngle: 0,\n labelColor: '#888C93',\n labelFontSize: 12,\n labelFontWeight: 400,\n },\n title: {\n visible: false,\n titleText: '',\n titleColor: '#BBBDC3',\n titleFontSize: 12,\n titleFontWeight: 400,\n },\n grid: {\n visible: false,\n gridColor: '#303339',\n gridWidth: 0.5,\n gridLineDash: [4, 2],\n },\n tick: {\n visible: false,\n tickInside: false,\n tickSize: 4,\n tickColor: '#303339',\n },\n line: {\n visible: true,\n lineColor: '#303339',\n lineWidth: 1,\n },\n})\n"],"names":["getLightLinearAxis","getLightBandAxis","getDarkLinearAxis","getDarkBandAxis"],"mappings":"AAEO,MAAMA,qBAAqB,IAAoB;QACpD,MAAM;QACN,MAAM;QACN,SAAS;QACT,OAAO;YACL,SAAS;YACT,YAAY;YACZ,YAAY;YACZ,eAAe;YACf,iBAAiB;QACnB;QACA,OAAO;YACL,SAAS;YACT,WAAW;YACX,YAAY;YACZ,eAAe;YACf,iBAAiB;QACnB;QACA,MAAM;YACJ,SAAS;YACT,WAAW;YACX,WAAW;YACX,cAAc;gBAAC;gBAAG;aAAE;QACtB;QACA,MAAM;YACJ,SAAS;YACT,YAAY;YACZ,UAAU;YACV,WAAW;QACb;QACA,MAAM;YACJ,SAAS;YACT,WAAW;YACX,WAAW;QACb;IACF;AAEO,MAAMC,mBAAmB,IAAkB;QAChD,eAAe;QACf,kBAAkB;QAClB,gBAAgB;QAChB,sBAAsB;QACtB,iBAAiB;QACjB,2BAA2B;YAAC;YAAG;YAAK;SAAI;QACxC,OAAO;YACL,SAAS;YACT,YAAY;YACZ,YAAY;YACZ,eAAe;YACf,iBAAiB;QACnB;QACA,OAAO;YACL,SAAS;YACT,WAAW;YACX,YAAY;YACZ,eAAe;YACf,iBAAiB;QACnB;QACA,MAAM;YACJ,SAAS;YACT,WAAW;YACX,WAAW;YACX,cAAc;gBAAC;gBAAG;aAAE;QACtB;QACA,MAAM;YACJ,SAAS;YACT,YAAY;YACZ,UAAU;YACV,WAAW;QACb;QACA,MAAM;YACJ,SAAS;YACT,WAAW;YACX,WAAW;QACb;IACF;AAEO,MAAMC,oBAAoB,IAAoB;QACnD,MAAM;QACN,MAAM;QACN,OAAO;YACL,SAAS;YACT,YAAY;YACZ,YAAY;YACZ,eAAe;YACf,iBAAiB;QACnB;QACA,OAAO;YACL,SAAS;YACT,WAAW;YACX,YAAY;YACZ,eAAe;YACf,iBAAiB;QACnB;QACA,MAAM;YACJ,SAAS;YACT,WAAW;YACX,WAAW;YACX,cAAc;gBAAC;gBAAG;aAAE;QACtB;QACA,MAAM;YACJ,SAAS;YACT,YAAY;YACZ,UAAU;YACV,WAAW;QACb;QACA,MAAM;YACJ,SAAS;YACT,WAAW;YACX,WAAW;QACb;IACF;AAEO,MAAMC,kBAAkB,IAAkB;QAC/C,eAAe;QACf,kBAAkB;QAClB,gBAAgB;QAChB,sBAAsB;QACtB,iBAAiB;QACjB,2BAA2B;YAAC;YAAG;YAAK;SAAI;QACxC,OAAO;YACL,SAAS;YACT,YAAY;YACZ,YAAY;YACZ,eAAe;YACf,iBAAiB;QACnB;QACA,OAAO;YACL,SAAS;YACT,WAAW;YACX,YAAY;YACZ,eAAe;YACf,iBAAiB;QACnB;QACA,MAAM;YACJ,SAAS;YACT,WAAW;YACX,WAAW;YACX,cAAc;gBAAC;gBAAG;aAAE;QACtB;QACA,MAAM;YACJ,SAAS;YACT,YAAY;YACZ,UAAU;YACV,WAAW;QACb;QACA,MAAM;YACJ,SAAS;YACT,WAAW;YACX,WAAW;QACb;IACF"}
@@ -1,2 +1,4 @@
1
1
  import type { Legend } from '../../types';
2
2
  export declare const getDefaultLegend: () => Legend;
3
+ export declare const getDarkLegend: () => Legend;
4
+ export declare const getLightLegend: () => Legend;
@@ -4,10 +4,21 @@ const getDefaultLegend = ()=>({
4
4
  maxSize: 1,
5
5
  shapeType: 'rectRound',
6
6
  position: 'rt',
7
- labelColor: '#646A73',
8
7
  labelFontSize: 12,
9
8
  labelFontWeight: 400
10
9
  });
11
- export { getDefaultLegend };
10
+ const getDarkLegend = ()=>({
11
+ ...getDefaultLegend(),
12
+ labelColor: '#BBBDC3',
13
+ pagerIconColor: '#89909D',
14
+ pagerIconDisableColor: '#2A2D33'
15
+ });
16
+ const getLightLegend = ()=>({
17
+ ...getDefaultLegend(),
18
+ labelColor: '#606773',
19
+ pagerIconColor: '#89909D',
20
+ pagerIconDisableColor: '#F1F2F5'
21
+ });
22
+ export { getDarkLegend, getDefaultLegend, getLightLegend };
12
23
 
13
24
  //# sourceMappingURL=legend.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"theme/common/legend.js","sources":["webpack://@visactor/vseed/./src/theme/common/legend.ts"],"sourcesContent":["import type { Legend } from 'src/types'\n\nexport const getDefaultLegend = (): Legend => ({\n enable: true,\n border: true,\n maxSize: 1,\n shapeType: 'rectRound',\n position: 'rt',\n labelColor: '#646A73',\n labelFontSize: 12,\n labelFontWeight: 400,\n})\n"],"names":["getDefaultLegend"],"mappings":"AAEO,MAAMA,mBAAmB,IAAe;QAC7C,QAAQ;QACR,QAAQ;QACR,SAAS;QACT,WAAW;QACX,UAAU;QACV,YAAY;QACZ,eAAe;QACf,iBAAiB;IACnB"}
1
+ {"version":3,"file":"theme/common/legend.js","sources":["webpack://@visactor/vseed/./src/theme/common/legend.ts"],"sourcesContent":["import type { Legend } from 'src/types'\n\nexport const getDefaultLegend = (): Legend => ({\n enable: true,\n border: true,\n maxSize: 1,\n shapeType: 'rectRound',\n position: 'rt',\n labelFontSize: 12,\n labelFontWeight: 400,\n})\n\nexport const getDarkLegend = (): Legend => ({\n ...getDefaultLegend(),\n labelColor: '#BBBDC3',\n pagerIconColor: '#89909D',\n pagerIconDisableColor: '#2A2D33',\n})\n\nexport const getLightLegend = (): Legend => ({\n ...getDefaultLegend(),\n labelColor: '#606773',\n pagerIconColor: '#89909D',\n pagerIconDisableColor: '#F1F2F5',\n})\n"],"names":["getDefaultLegend","getDarkLegend","getLightLegend"],"mappings":"AAEO,MAAMA,mBAAmB,IAAe;QAC7C,QAAQ;QACR,QAAQ;QACR,SAAS;QACT,WAAW;QACX,UAAU;QACV,eAAe;QACf,iBAAiB;IACnB;AAEO,MAAMC,gBAAgB,IAAe;QAC1C,GAAGD,kBAAkB;QACrB,YAAY;QACZ,gBAAgB;QAChB,uBAAuB;IACzB;AAEO,MAAME,iBAAiB,IAAe;QAC3C,GAAGF,kBAAkB;QACrB,YAAY;QACZ,gBAAgB;QAChB,uBAAuB;IACzB"}
@@ -35,28 +35,36 @@ export declare const getDarkTableConfig: () => {
35
35
  headerFontSize: number;
36
36
  };
37
37
  export declare const getLightPivotChartGridConfig: () => {
38
- outlineBorderLineWidth: number;
39
- frameCornerRadius: number;
40
- borderColor: any;
41
- bodyFontColor: any;
42
- headerFontColor: any;
43
- headerBackgroundColor: string;
44
- hoverHeaderBackgroundColor: any;
45
- hoverHeaderInlineBackgroundColor: any;
46
- titleFontColor: any;
47
- titleFontSize: any;
48
- titleFontWeight: string;
38
+ borderColor?: string | null | undefined;
39
+ bodyFontColor?: string | null | undefined;
40
+ headerFontColor?: string | null | undefined;
41
+ headerBackgroundColor?: string | null | undefined;
42
+ hoverHeaderBackgroundColor?: string | null | undefined;
43
+ hoverHeaderInlineBackgroundColor?: string | null | undefined;
44
+ outlineBorderLineWidth?: number | null | undefined;
45
+ frameCornerRadius?: number | null | undefined;
46
+ minChartWidth?: number | null | undefined;
47
+ minChartHeight?: number | null | undefined;
48
+ titleFontColor?: string | null | undefined;
49
+ titleFontSize?: number | null | undefined;
50
+ titleFontWeight?: string | null | undefined;
51
+ chartGridColor?: string | null | undefined;
52
+ axisLabelColor?: string | null | undefined;
49
53
  };
50
54
  export declare const getDarkPivotChartGridConfig: () => {
51
- outlineBorderLineWidth: number;
52
- frameCornerRadius: number;
53
- borderColor: any;
54
- bodyFontColor: any;
55
- headerFontColor: any;
56
- headerBackgroundColor: string;
57
- hoverHeaderBackgroundColor: any;
58
- hoverHeaderInlineBackgroundColor: any;
59
- titleFontColor: any;
60
- titleFontSize: any;
61
- titleFontWeight: string;
55
+ borderColor?: string | null | undefined;
56
+ bodyFontColor?: string | null | undefined;
57
+ headerFontColor?: string | null | undefined;
58
+ headerBackgroundColor?: string | null | undefined;
59
+ hoverHeaderBackgroundColor?: string | null | undefined;
60
+ hoverHeaderInlineBackgroundColor?: string | null | undefined;
61
+ outlineBorderLineWidth?: number | null | undefined;
62
+ frameCornerRadius?: number | null | undefined;
63
+ minChartWidth?: number | null | undefined;
64
+ minChartHeight?: number | null | undefined;
65
+ titleFontColor?: string | null | undefined;
66
+ titleFontSize?: number | null | undefined;
67
+ titleFontWeight?: string | null | undefined;
68
+ chartGridColor?: string | null | undefined;
69
+ axisLabelColor?: string | null | undefined;
62
70
  };
@@ -43,8 +43,16 @@ const pickPivotChartGridConfig = (tableConfig)=>({
43
43
  titleFontSize: tableConfig.headerFontSize,
44
44
  titleFontWeight: 'bold'
45
45
  });
46
- const getLightPivotChartGridConfig = ()=>pickPivotChartGridConfig(getLightTableConfig());
47
- const getDarkPivotChartGridConfig = ()=>pickPivotChartGridConfig(getDarkTableConfig());
46
+ const getLightPivotChartGridConfig = ()=>{
47
+ const res = pickPivotChartGridConfig(getLightTableConfig());
48
+ res.chartGridColor = '#F0F1F6';
49
+ res.axisLabelColor = '#BCC1CB';
50
+ return res;
51
+ };
52
+ const getDarkPivotChartGridConfig = ()=>{
53
+ const res = pickPivotChartGridConfig(getDarkTableConfig());
54
+ return res;
55
+ };
48
56
  export { getDarkPivotChartGridConfig, getDarkTableConfig, getDefaultTableConfig, getLightPivotChartGridConfig, getLightTableConfig };
49
57
 
50
58
  //# sourceMappingURL=table.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"theme/common/table.js","sources":["webpack://@visactor/vseed/./src/theme/common/table.ts"],"sourcesContent":["export const getDefaultTableConfig = () => ({\n bodyFontSize: 12,\n bodyBackgroundColor: 'transparent',\n headerFontSize: 12,\n})\n\nexport const getLightTableConfig = () => ({\n ...getDefaultTableConfig(),\n borderColor: '#e3e5eb',\n\n bodyFontColor: '#141414',\n\n headerFontColor: '#21252c',\n headerBackgroundColor: '#f6f7f9',\n\n hoverBodyBackgroundColor: '#bedaff',\n hoverBodyInlineBackgroundColor: '#bedaff33',\n hoverHeaderBackgroundColor: '#D9DDE4',\n hoverHeaderInlineBackgroundColor: '#D9DDE455',\n\n selectedBorderColor: '#4080ff',\n selectedBackgroundColor: '#bedaff33',\n\n backgroundColor: 'transparent',\n})\n\nexport const getDarkTableConfig = () => ({\n ...getDefaultTableConfig(),\n borderColor: '#4b4e53',\n\n bodyFontColor: '#fdfdfd',\n headerFontColor: '#fdfdfd',\n headerBackgroundColor: '#36393e',\n\n hoverBodyBackgroundColor: '#4284ff66',\n hoverBodyInlineBackgroundColor: '#4284ff10',\n hoverHeaderBackgroundColor: '#6f7984cc',\n hoverHeaderInlineBackgroundColor: '#4b4f54',\n\n selectedBorderColor: '#3073f2',\n selectedBackgroundColor: '#4284ff33',\n})\n\nconst pickPivotChartGridConfig = (tableConfig: any) => {\n return {\n outlineBorderLineWidth: 0,\n frameCornerRadius: 0,\n borderColor: tableConfig.borderColor,\n bodyFontColor: tableConfig.bodyFontColor,\n headerFontColor: tableConfig.headerFontColor,\n\n headerBackgroundColor: 'transparent',\n hoverHeaderBackgroundColor: tableConfig.hoverHeaderBackgroundColor,\n hoverHeaderInlineBackgroundColor: tableConfig.hoverHeaderInlineBackgroundColor,\n\n titleFontColor: tableConfig.headerFontColor,\n titleFontSize: tableConfig.headerFontSize,\n titleFontWeight: 'bold',\n }\n}\n\nexport const getLightPivotChartGridConfig = () => {\n return pickPivotChartGridConfig(getLightTableConfig())\n}\n\nexport const getDarkPivotChartGridConfig = () => {\n return pickPivotChartGridConfig(getDarkTableConfig())\n}\n"],"names":["getDefaultTableConfig","getLightTableConfig","getDarkTableConfig","pickPivotChartGridConfig","tableConfig","getLightPivotChartGridConfig","getDarkPivotChartGridConfig"],"mappings":"AAAO,MAAMA,wBAAwB,IAAO;QAC1C,cAAc;QACd,qBAAqB;QACrB,gBAAgB;IAClB;AAEO,MAAMC,sBAAsB,IAAO;QACxC,GAAGD,uBAAuB;QAC1B,aAAa;QAEb,eAAe;QAEf,iBAAiB;QACjB,uBAAuB;QAEvB,0BAA0B;QAC1B,gCAAgC;QAChC,4BAA4B;QAC5B,kCAAkC;QAElC,qBAAqB;QACrB,yBAAyB;QAEzB,iBAAiB;IACnB;AAEO,MAAME,qBAAqB,IAAO;QACvC,GAAGF,uBAAuB;QAC1B,aAAa;QAEb,eAAe;QACf,iBAAiB;QACjB,uBAAuB;QAEvB,0BAA0B;QAC1B,gCAAgC;QAChC,4BAA4B;QAC5B,kCAAkC;QAElC,qBAAqB;QACrB,yBAAyB;IAC3B;AAEA,MAAMG,2BAA2B,CAACC,cACzB;QACL,wBAAwB;QACxB,mBAAmB;QACnB,aAAaA,YAAY,WAAW;QACpC,eAAeA,YAAY,aAAa;QACxC,iBAAiBA,YAAY,eAAe;QAE5C,uBAAuB;QACvB,4BAA4BA,YAAY,0BAA0B;QAClE,kCAAkCA,YAAY,gCAAgC;QAE9E,gBAAgBA,YAAY,eAAe;QAC3C,eAAeA,YAAY,cAAc;QACzC,iBAAiB;IACnB;AAGK,MAAMC,+BAA+B,IACnCF,yBAAyBF;AAG3B,MAAMK,8BAA8B,IAClCH,yBAAyBD"}
1
+ {"version":3,"file":"theme/common/table.js","sources":["webpack://@visactor/vseed/./src/theme/common/table.ts"],"sourcesContent":["import type { PivotChartGridConfig } from 'src/types'\n\nexport const getDefaultTableConfig = () => ({\n bodyFontSize: 12,\n bodyBackgroundColor: 'transparent',\n headerFontSize: 12,\n})\n\nexport const getLightTableConfig = () => ({\n ...getDefaultTableConfig(),\n borderColor: '#e3e5eb',\n\n bodyFontColor: '#141414',\n\n headerFontColor: '#21252c',\n headerBackgroundColor: '#f6f7f9',\n\n hoverBodyBackgroundColor: '#bedaff',\n hoverBodyInlineBackgroundColor: '#bedaff33',\n hoverHeaderBackgroundColor: '#D9DDE4',\n hoverHeaderInlineBackgroundColor: '#D9DDE455',\n\n selectedBorderColor: '#4080ff',\n selectedBackgroundColor: '#bedaff33',\n\n backgroundColor: 'transparent',\n})\n\nexport const getDarkTableConfig = () => ({\n ...getDefaultTableConfig(),\n borderColor: '#4b4e53',\n\n bodyFontColor: '#fdfdfd',\n headerFontColor: '#fdfdfd',\n headerBackgroundColor: '#36393e',\n\n hoverBodyBackgroundColor: '#4284ff66',\n hoverBodyInlineBackgroundColor: '#4284ff10',\n hoverHeaderBackgroundColor: '#6f7984cc',\n hoverHeaderInlineBackgroundColor: '#4b4f54',\n\n selectedBorderColor: '#3073f2',\n selectedBackgroundColor: '#4284ff33',\n})\n\nconst pickPivotChartGridConfig = (tableConfig: any) => {\n return {\n outlineBorderLineWidth: 0,\n frameCornerRadius: 0,\n borderColor: tableConfig.borderColor,\n bodyFontColor: tableConfig.bodyFontColor,\n headerFontColor: tableConfig.headerFontColor,\n\n headerBackgroundColor: 'transparent',\n hoverHeaderBackgroundColor: tableConfig.hoverHeaderBackgroundColor,\n hoverHeaderInlineBackgroundColor: tableConfig.hoverHeaderInlineBackgroundColor,\n\n titleFontColor: tableConfig.headerFontColor,\n titleFontSize: tableConfig.headerFontSize,\n titleFontWeight: 'bold',\n }\n}\n\nexport const getLightPivotChartGridConfig = () => {\n const res = pickPivotChartGridConfig(getLightTableConfig()) as PivotChartGridConfig\n\n res.chartGridColor = '#F0F1F6'\n res.axisLabelColor = '#BCC1CB'\n\n return res\n}\n\nexport const getDarkPivotChartGridConfig = () => {\n const res = pickPivotChartGridConfig(getDarkTableConfig()) as PivotChartGridConfig\n\n return res\n}\n"],"names":["getDefaultTableConfig","getLightTableConfig","getDarkTableConfig","pickPivotChartGridConfig","tableConfig","getLightPivotChartGridConfig","res","getDarkPivotChartGridConfig"],"mappings":"AAEO,MAAMA,wBAAwB,IAAO;QAC1C,cAAc;QACd,qBAAqB;QACrB,gBAAgB;IAClB;AAEO,MAAMC,sBAAsB,IAAO;QACxC,GAAGD,uBAAuB;QAC1B,aAAa;QAEb,eAAe;QAEf,iBAAiB;QACjB,uBAAuB;QAEvB,0BAA0B;QAC1B,gCAAgC;QAChC,4BAA4B;QAC5B,kCAAkC;QAElC,qBAAqB;QACrB,yBAAyB;QAEzB,iBAAiB;IACnB;AAEO,MAAME,qBAAqB,IAAO;QACvC,GAAGF,uBAAuB;QAC1B,aAAa;QAEb,eAAe;QACf,iBAAiB;QACjB,uBAAuB;QAEvB,0BAA0B;QAC1B,gCAAgC;QAChC,4BAA4B;QAC5B,kCAAkC;QAElC,qBAAqB;QACrB,yBAAyB;IAC3B;AAEA,MAAMG,2BAA2B,CAACC,cACzB;QACL,wBAAwB;QACxB,mBAAmB;QACnB,aAAaA,YAAY,WAAW;QACpC,eAAeA,YAAY,aAAa;QACxC,iBAAiBA,YAAY,eAAe;QAE5C,uBAAuB;QACvB,4BAA4BA,YAAY,0BAA0B;QAClE,kCAAkCA,YAAY,gCAAgC;QAE9E,gBAAgBA,YAAY,eAAe;QAC3C,eAAeA,YAAY,cAAc;QACzC,iBAAiB;IACnB;AAGK,MAAMC,+BAA+B;IAC1C,MAAMC,MAAMH,yBAAyBF;IAErCK,IAAI,cAAc,GAAG;IACrBA,IAAI,cAAc,GAAG;IAErB,OAAOA;AACT;AAEO,MAAMC,8BAA8B;IACzC,MAAMD,MAAMH,yBAAyBD;IAErC,OAAOI;AACT"}
@@ -1,2 +1,3 @@
1
- import type { Tooltip } from '../../types';
2
- export declare const getDefaultTooltip: () => Tooltip;
1
+ import type { TooltipConfig } from '../../types';
2
+ export declare const getLightTooltip: () => TooltipConfig;
3
+ export declare const getDarkTooltip: () => TooltipConfig;
@@ -1,6 +1,28 @@
1
1
  const getDefaultTooltip = ()=>({
2
- enable: true
2
+ enable: true,
3
+ borderRadius: 12,
4
+ borderWidth: 1,
5
+ padding: 7,
6
+ lineHeight: 12,
7
+ fontSize: 12,
8
+ lineSpace: 6
3
9
  });
4
- export { getDefaultTooltip };
10
+ const getLightTooltip = ()=>({
11
+ ...getDefaultTooltip(),
12
+ borderColor: '#e3e5e8',
13
+ backgroundColor: '#fff',
14
+ keyColor: '#606773',
15
+ valueColor: '#21252c',
16
+ titleColor: '#21252c'
17
+ });
18
+ const getDarkTooltip = ()=>({
19
+ ...getDefaultTooltip(),
20
+ borderColor: '#3c3f44',
21
+ backgroundColor: '#2b2d30',
22
+ keyColor: '#89909D',
23
+ valueColor: '#E2E3E6',
24
+ titleColor: '#E2E3E6'
25
+ });
26
+ export { getDarkTooltip, getLightTooltip };
5
27
 
6
28
  //# sourceMappingURL=tooltip.js.map