@visactor/vseed 0.1.50 → 0.2.0

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 (280) 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/buildAdvanced.js +1 -1
  4. package/dist/esm/builder/builder/buildAdvanced.js.map +1 -1
  5. package/dist/esm/builder/builder/buildSpec.js +1 -1
  6. package/dist/esm/builder/builder/buildSpec.js.map +1 -1
  7. package/dist/esm/builder/builder/builder.d.ts +817 -1
  8. package/dist/esm/builder/builder/builder.js +5 -1
  9. package/dist/esm/builder/builder/builder.js.map +1 -1
  10. package/dist/esm/dataSelector/selector.d.ts +5 -0
  11. package/dist/esm/dataSelector/selector.js +92 -50
  12. package/dist/esm/dataSelector/selector.js.map +1 -1
  13. package/dist/esm/pipeline/advanced/chart/pipeline/donut.js +3 -3
  14. package/dist/esm/pipeline/advanced/chart/pipeline/donut.js.map +1 -1
  15. package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js +1 -2
  16. package/dist/esm/pipeline/advanced/chart/pipeline/histogram.js.map +1 -1
  17. package/dist/esm/pipeline/advanced/chart/pipeline/pie.js +3 -3
  18. package/dist/esm/pipeline/advanced/chart/pipeline/pie.js.map +1 -1
  19. package/dist/esm/pipeline/advanced/chart/pipes/config/boxplot.js +2 -1
  20. package/dist/esm/pipeline/advanced/chart/pipes/config/boxplot.js.map +1 -1
  21. package/dist/esm/pipeline/advanced/chart/pipes/config/column.js +2 -1
  22. package/dist/esm/pipeline/advanced/chart/pipes/config/column.js.map +1 -1
  23. package/dist/esm/pipeline/advanced/chart/pipes/config/dualAxis.js +2 -1
  24. package/dist/esm/pipeline/advanced/chart/pipes/config/dualAxis.js.map +1 -1
  25. package/dist/esm/pipeline/advanced/chart/pipes/config/histogram.js +2 -1
  26. package/dist/esm/pipeline/advanced/chart/pipes/config/histogram.js.map +1 -1
  27. package/dist/esm/pipeline/advanced/chart/pipes/config/line.js +2 -1
  28. package/dist/esm/pipeline/advanced/chart/pipes/config/line.js.map +1 -1
  29. package/dist/esm/pipeline/advanced/chart/pipes/config/scatter.js +2 -1
  30. package/dist/esm/pipeline/advanced/chart/pipes/config/scatter.js.map +1 -1
  31. package/dist/esm/pipeline/advanced/chart/pipes/encoding/pie.js +8 -6
  32. package/dist/esm/pipeline/advanced/chart/pipes/encoding/pie.js.map +1 -1
  33. package/dist/esm/pipeline/advanced/chart/pipes/markStyle/markStyle.js +3 -1
  34. package/dist/esm/pipeline/advanced/chart/pipes/markStyle/markStyle.js.map +1 -1
  35. package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasures.js +2 -1
  36. package/dist/esm/pipeline/advanced/chart/pipes/measures/buildMeasures.js.map +1 -1
  37. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js +1 -1
  38. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithBoxplotEncoding.js.map +1 -1
  39. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js +1 -1
  40. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithEncoding.js.map +1 -1
  41. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js +1 -1
  42. package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithHistogramEncoding.js.map +1 -1
  43. package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.js +1 -1
  44. package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.js.map +1 -1
  45. package/dist/esm/pipeline/spec/chart/pipeline/area.js +3 -2
  46. package/dist/esm/pipeline/spec/chart/pipeline/area.js.map +1 -1
  47. package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js +3 -2
  48. package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js.map +1 -1
  49. package/dist/esm/pipeline/spec/chart/pipeline/bar.js +3 -2
  50. package/dist/esm/pipeline/spec/chart/pipeline/bar.js.map +1 -1
  51. package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js +3 -2
  52. package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js.map +1 -1
  53. package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js +3 -2
  54. package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js.map +1 -1
  55. package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js +8 -6
  56. package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js.map +1 -1
  57. package/dist/esm/pipeline/spec/chart/pipeline/column.js +3 -2
  58. package/dist/esm/pipeline/spec/chart/pipeline/column.js.map +1 -1
  59. package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js +3 -2
  60. package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js.map +1 -1
  61. package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js +3 -2
  62. package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js.map +1 -1
  63. package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js +19 -16
  64. package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js.map +1 -1
  65. package/dist/esm/pipeline/spec/chart/pipeline/histogram.js +3 -2
  66. package/dist/esm/pipeline/spec/chart/pipeline/histogram.js.map +1 -1
  67. package/dist/esm/pipeline/spec/chart/pipeline/line.js +3 -2
  68. package/dist/esm/pipeline/spec/chart/pipeline/line.js.map +1 -1
  69. package/dist/esm/pipeline/spec/chart/pipeline/scatter.js +6 -3
  70. package/dist/esm/pipeline/spec/chart/pipeline/scatter.js.map +1 -1
  71. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.d.ts +2 -0
  72. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js +94 -0
  73. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js.map +1 -0
  74. package/dist/esm/pipeline/spec/chart/pipes/annotation/index.d.ts +1 -0
  75. package/dist/esm/pipeline/spec/chart/pipes/annotation/index.js +2 -1
  76. package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.d.ts +1 -1
  77. package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.js +2 -1
  78. package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.js.map +1 -1
  79. package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.js +12 -1
  80. package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.js.map +1 -1
  81. package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.js +12 -1
  82. package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.js.map +1 -1
  83. package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.d.ts +2 -0
  84. package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.js +17 -0
  85. package/dist/esm/pipeline/spec/chart/pipes/color/colorBoxPlotStyleFill.js.map +1 -0
  86. package/dist/esm/pipeline/spec/chart/pipes/color/index.d.ts +1 -0
  87. package/dist/esm/pipeline/spec/chart/pipes/color/index.js +2 -1
  88. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairLine.js +3 -0
  89. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairLine.js.map +1 -1
  90. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.js +4 -1
  91. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.js.map +1 -1
  92. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairLine.js +3 -0
  93. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairLine.js.map +1 -1
  94. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.js +4 -1
  95. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.js.map +1 -1
  96. package/dist/esm/pipeline/spec/chart/pipes/index.d.ts +1 -0
  97. package/dist/esm/pipeline/spec/chart/pipes/index.js +1 -0
  98. package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js +2 -2
  99. package/dist/esm/pipeline/spec/chart/pipes/init/pivot.js.map +1 -1
  100. package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.d.ts +2 -0
  101. package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.js +52 -0
  102. package/dist/esm/pipeline/spec/chart/pipes/markStyle/boxPlotStyle.js.map +1 -0
  103. package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.d.ts +2 -0
  104. package/dist/esm/pipeline/spec/chart/pipes/markStyle/index.js +3 -1
  105. package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.d.ts +2 -0
  106. package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.js +67 -0
  107. package/dist/esm/pipeline/spec/chart/pipes/markStyle/outlierStyle.js.map +1 -0
  108. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.d.ts +2 -0
  109. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.js +7 -0
  110. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/areaStyleFilter.js.map +1 -0
  111. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.d.ts +2 -0
  112. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.js +7 -0
  113. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/barStyleFilter.js.map +1 -0
  114. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/index.d.ts +4 -0
  115. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/index.js +4 -0
  116. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.d.ts +2 -0
  117. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.js +7 -0
  118. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/lineStyleFilter.js.map +1 -0
  119. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.d.ts +2 -0
  120. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.js +7 -0
  121. package/dist/esm/pipeline/spec/chart/pipes/pipeFilter/pointStyleFilter.js.map +1 -0
  122. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.d.ts +2 -0
  123. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.js +47 -0
  124. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.js.map +1 -0
  125. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/index.d.ts +1 -0
  126. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/index.js +2 -1
  127. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.js +2 -0
  128. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotAxisStyle.js.map +1 -1
  129. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js +16 -1
  130. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js.map +1 -1
  131. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js +3 -2
  132. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js.map +1 -1
  133. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js +18 -12
  134. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js.map +1 -1
  135. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.d.ts +1 -0
  136. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js +2 -1
  137. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/common.js.map +1 -1
  138. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js +9 -5
  139. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js.map +1 -1
  140. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js +14 -6
  141. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js.map +1 -1
  142. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js +69 -32
  143. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js.map +1 -1
  144. package/dist/esm/pipeline/spec/chart/pipes/stack/stackCornerRadius.js +2 -3
  145. package/dist/esm/pipeline/spec/chart/pipes/stack/stackCornerRadius.js.map +1 -1
  146. package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.d.ts +1 -1
  147. package/dist/esm/pipeline/spec/chart/pipes/tooltip/index.js +2 -2
  148. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js +8 -8
  149. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js.map +1 -1
  150. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.d.ts +1 -0
  151. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js +16 -2
  152. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.js.map +1 -1
  153. package/dist/esm/pipeline/utils/measures/find.d.ts +1 -0
  154. package/dist/esm/pipeline/utils/measures/find.js +13 -1
  155. package/dist/esm/pipeline/utils/measures/find.js.map +1 -1
  156. package/dist/esm/theme/common/axes.js +4 -4
  157. package/dist/esm/theme/common/axes.js.map +1 -1
  158. package/dist/esm/theme/common/boxPlot.d.ts +5 -0
  159. package/dist/esm/theme/common/boxPlot.js +15 -0
  160. package/dist/esm/theme/common/boxPlot.js.map +1 -0
  161. package/dist/esm/theme/common/crosshair.js +4 -4
  162. package/dist/esm/theme/common/crosshair.js.map +1 -1
  163. package/dist/esm/theme/common/table.js +2 -0
  164. package/dist/esm/theme/common/table.js.map +1 -1
  165. package/dist/esm/theme/dark/dark.js +4 -1
  166. package/dist/esm/theme/dark/dark.js.map +1 -1
  167. package/dist/esm/theme/light/light.js +4 -1
  168. package/dist/esm/theme/light/light.js.map +1 -1
  169. package/dist/esm/types/advancedVSeed.d.ts +533 -0
  170. package/dist/esm/types/advancedVSeed.js +1 -0
  171. package/dist/esm/types/advancedVSeed.js.map +1 -1
  172. package/dist/esm/types/chartType/area/area.d.ts +6 -1
  173. package/dist/esm/types/chartType/area/zArea.d.ts +5 -0
  174. package/dist/esm/types/chartType/area/zArea.js +2 -1
  175. package/dist/esm/types/chartType/area/zArea.js.map +1 -1
  176. package/dist/esm/types/chartType/areaPercent/areaPercent.d.ts +6 -1
  177. package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +5 -0
  178. package/dist/esm/types/chartType/areaPercent/zAreaPercent.js +2 -1
  179. package/dist/esm/types/chartType/areaPercent/zAreaPercent.js.map +1 -1
  180. package/dist/esm/types/chartType/bar/bar.d.ts +6 -1
  181. package/dist/esm/types/chartType/bar/zBar.d.ts +5 -0
  182. package/dist/esm/types/chartType/bar/zBar.js +2 -1
  183. package/dist/esm/types/chartType/bar/zBar.js.map +1 -1
  184. package/dist/esm/types/chartType/barParallel/barParallel.d.ts +6 -1
  185. package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +5 -0
  186. package/dist/esm/types/chartType/barParallel/zBarParallel.js +2 -1
  187. package/dist/esm/types/chartType/barParallel/zBarParallel.js.map +1 -1
  188. package/dist/esm/types/chartType/barPercent/barPercent.d.ts +6 -1
  189. package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +5 -0
  190. package/dist/esm/types/chartType/barPercent/zBarPercent.js +2 -1
  191. package/dist/esm/types/chartType/barPercent/zBarPercent.js.map +1 -1
  192. package/dist/esm/types/chartType/boxplot/boxplot.d.ts +14 -1
  193. package/dist/esm/types/chartType/boxplot/zBoxplot.d.ts +321 -0
  194. package/dist/esm/types/chartType/boxplot/zBoxplot.js +4 -1
  195. package/dist/esm/types/chartType/boxplot/zBoxplot.js.map +1 -1
  196. package/dist/esm/types/chartType/column/column.d.ts +6 -1
  197. package/dist/esm/types/chartType/column/zColumn.d.ts +5 -0
  198. package/dist/esm/types/chartType/column/zColumn.js +2 -1
  199. package/dist/esm/types/chartType/column/zColumn.js.map +1 -1
  200. package/dist/esm/types/chartType/columnParallel/columnParallel.d.ts +6 -1
  201. package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +5 -0
  202. package/dist/esm/types/chartType/columnParallel/zColumnParallel.js +2 -1
  203. package/dist/esm/types/chartType/columnParallel/zColumnParallel.js.map +1 -1
  204. package/dist/esm/types/chartType/columnPercent/columnPercent.d.ts +6 -1
  205. package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +5 -0
  206. package/dist/esm/types/chartType/columnPercent/zColumnPercent.js +2 -1
  207. package/dist/esm/types/chartType/columnPercent/zColumnPercent.js.map +1 -1
  208. package/dist/esm/types/chartType/dualAxis/dualAxis.d.ts +6 -1
  209. package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +5 -0
  210. package/dist/esm/types/chartType/dualAxis/zDualAxis.js +2 -1
  211. package/dist/esm/types/chartType/dualAxis/zDualAxis.js.map +1 -1
  212. package/dist/esm/types/chartType/histogram/histogram.d.ts +6 -1
  213. package/dist/esm/types/chartType/histogram/zHistogram.d.ts +5 -0
  214. package/dist/esm/types/chartType/histogram/zHistogram.js +2 -1
  215. package/dist/esm/types/chartType/histogram/zHistogram.js.map +1 -1
  216. package/dist/esm/types/chartType/line/line.d.ts +6 -1
  217. package/dist/esm/types/chartType/line/zLine.d.ts +5 -0
  218. package/dist/esm/types/chartType/line/zLine.js +2 -1
  219. package/dist/esm/types/chartType/line/zLine.js.map +1 -1
  220. package/dist/esm/types/chartType/scatter/scatter.d.ts +6 -1
  221. package/dist/esm/types/chartType/scatter/zScatter.d.ts +5 -0
  222. package/dist/esm/types/chartType/scatter/zScatter.js +2 -1
  223. package/dist/esm/types/chartType/scatter/zScatter.js.map +1 -1
  224. package/dist/esm/types/index.d.ts +1 -0
  225. package/dist/esm/types/index.js +1 -0
  226. package/dist/esm/types/properties/config/area.d.ts +10 -0
  227. package/dist/esm/types/properties/config/area.js +3 -1
  228. package/dist/esm/types/properties/config/area.js.map +1 -1
  229. package/dist/esm/types/properties/config/bar.d.ts +15 -0
  230. package/dist/esm/types/properties/config/bar.js +3 -1
  231. package/dist/esm/types/properties/config/bar.js.map +1 -1
  232. package/dist/esm/types/properties/config/boxplot.d.ts +26 -0
  233. package/dist/esm/types/properties/config/boxplot.js +10 -1
  234. package/dist/esm/types/properties/config/boxplot.js.map +1 -1
  235. package/dist/esm/types/properties/config/column.d.ts +15 -0
  236. package/dist/esm/types/properties/config/column.js +3 -1
  237. package/dist/esm/types/properties/config/column.js.map +1 -1
  238. package/dist/esm/types/properties/config/config.d.ts +86 -0
  239. package/dist/esm/types/properties/config/dimensionLinkage/dimensionLinkage.d.ts +23 -0
  240. package/dist/esm/types/properties/config/dimensionLinkage/dimensionLinkage.js +9 -0
  241. package/dist/esm/types/properties/config/dimensionLinkage/dimensionLinkage.js.map +1 -0
  242. package/dist/esm/types/properties/config/dimensionLinkage/index.d.ts +1 -0
  243. package/dist/esm/types/properties/config/dimensionLinkage/index.js +1 -0
  244. package/dist/esm/types/properties/config/dualAxis.d.ts +5 -0
  245. package/dist/esm/types/properties/config/dualAxis.js +3 -1
  246. package/dist/esm/types/properties/config/dualAxis.js.map +1 -1
  247. package/dist/esm/types/properties/config/histogram.d.ts +5 -0
  248. package/dist/esm/types/properties/config/histogram.js +3 -1
  249. package/dist/esm/types/properties/config/histogram.js.map +1 -1
  250. package/dist/esm/types/properties/config/index.d.ts +1 -0
  251. package/dist/esm/types/properties/config/index.js +1 -0
  252. package/dist/esm/types/properties/config/label/pieLabel.d.ts +2 -2
  253. package/dist/esm/types/properties/config/line.d.ts +5 -0
  254. package/dist/esm/types/properties/config/line.js +3 -1
  255. package/dist/esm/types/properties/config/line.js.map +1 -1
  256. package/dist/esm/types/properties/config/scatter.d.ts +5 -0
  257. package/dist/esm/types/properties/config/scatter.js +3 -1
  258. package/dist/esm/types/properties/config/scatter.js.map +1 -1
  259. package/dist/esm/types/properties/markStyle/boxPlotStyle.d.ts +148 -0
  260. package/dist/esm/types/properties/markStyle/boxPlotStyle.js +14 -0
  261. package/dist/esm/types/properties/markStyle/boxPlotStyle.js.map +1 -0
  262. package/dist/esm/types/properties/markStyle/index.d.ts +2 -0
  263. package/dist/esm/types/properties/markStyle/index.js +2 -0
  264. package/dist/esm/types/properties/markStyle/markStyle.d.ts +316 -0
  265. package/dist/esm/types/properties/markStyle/markStyle.js +5 -1
  266. package/dist/esm/types/properties/markStyle/markStyle.js.map +1 -1
  267. package/dist/esm/types/properties/markStyle/outlierStyle.d.ts +161 -0
  268. package/dist/esm/types/properties/markStyle/outlierStyle.js +22 -0
  269. package/dist/esm/types/properties/markStyle/outlierStyle.js.map +1 -0
  270. package/dist/esm/types/properties/regressionLine/ecdfRegressionLine.d.ts +2 -2
  271. package/dist/esm/types/properties/regressionLine/kdeRegressionLine.d.ts +2 -2
  272. package/dist/esm/types/properties/regressionLine/linearRegressionLine.d.ts +2 -2
  273. package/dist/esm/types/properties/regressionLine/logisticRegressionLine.d.ts +2 -2
  274. package/dist/esm/types/properties/regressionLine/lowessRegressionLine.d.ts +2 -2
  275. package/dist/esm/types/properties/regressionLine/polynomialRegressionLine.d.ts +2 -2
  276. package/dist/esm/types/properties/theme/customTheme.d.ts +172 -0
  277. package/dist/esm/types/zVseed.d.ts +381 -0
  278. package/dist/umd/index.js +845 -279
  279. package/dist/umd/index.js.map +1 -1
  280. package/package.json +5 -5
@@ -626,5 +626,321 @@ export declare const zMarkStyle: z.ZodObject<{
626
626
  areaColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
627
627
  areaColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
628
628
  }, z.core.$strip>>]>>>;
629
+ boxPlotStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
630
+ selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
631
+ field: z.ZodString;
632
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
633
+ "=": "=";
634
+ "==": "==";
635
+ "!=": "!=";
636
+ ">": ">";
637
+ "<": "<";
638
+ ">=": ">=";
639
+ "<=": "<=";
640
+ between: "between";
641
+ }>>>;
642
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
643
+ "=": "=";
644
+ "==": "==";
645
+ "!=": "!=";
646
+ ">": ">";
647
+ "<": "<";
648
+ ">=": ">=";
649
+ "<=": "<=";
650
+ between: "between";
651
+ }>>>;
652
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
653
+ }, z.core.$strip>, z.ZodObject<{
654
+ field: z.ZodString;
655
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
656
+ in: "in";
657
+ "not in": "not in";
658
+ }>>>;
659
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
660
+ in: "in";
661
+ "not in": "not in";
662
+ }>>>;
663
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
664
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
665
+ field: z.ZodString;
666
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
667
+ "=": "=";
668
+ "==": "==";
669
+ "!=": "!=";
670
+ ">": ">";
671
+ "<": "<";
672
+ ">=": ">=";
673
+ "<=": "<=";
674
+ between: "between";
675
+ }>>>;
676
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
677
+ "=": "=";
678
+ "==": "==";
679
+ "!=": "!=";
680
+ ">": ">";
681
+ "<": "<";
682
+ ">=": ">=";
683
+ "<=": "<=";
684
+ between: "between";
685
+ }>>>;
686
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
687
+ }, z.core.$strip>, z.ZodObject<{
688
+ field: z.ZodString;
689
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
690
+ in: "in";
691
+ "not in": "not in";
692
+ }>>>;
693
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
694
+ in: "in";
695
+ "not in": "not in";
696
+ }>>>;
697
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
698
+ }, z.core.$strip>]>>]>>>;
699
+ boxVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
700
+ boxColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
701
+ boxColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
702
+ boxBorderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
703
+ boxBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
704
+ boxBorderOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
705
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
706
+ selector: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
707
+ field: z.ZodString;
708
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
709
+ "=": "=";
710
+ "==": "==";
711
+ "!=": "!=";
712
+ ">": ">";
713
+ "<": "<";
714
+ ">=": ">=";
715
+ "<=": "<=";
716
+ between: "between";
717
+ }>>>;
718
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
719
+ "=": "=";
720
+ "==": "==";
721
+ "!=": "!=";
722
+ ">": ">";
723
+ "<": "<";
724
+ ">=": ">=";
725
+ "<=": "<=";
726
+ between: "between";
727
+ }>>>;
728
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
729
+ }, z.core.$strip>, z.ZodObject<{
730
+ field: z.ZodString;
731
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
732
+ in: "in";
733
+ "not in": "not in";
734
+ }>>>;
735
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
736
+ in: "in";
737
+ "not in": "not in";
738
+ }>>>;
739
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
740
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
741
+ field: z.ZodString;
742
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
743
+ "=": "=";
744
+ "==": "==";
745
+ "!=": "!=";
746
+ ">": ">";
747
+ "<": "<";
748
+ ">=": ">=";
749
+ "<=": "<=";
750
+ between: "between";
751
+ }>>>;
752
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
753
+ "=": "=";
754
+ "==": "==";
755
+ "!=": "!=";
756
+ ">": ">";
757
+ "<": "<";
758
+ ">=": ">=";
759
+ "<=": "<=";
760
+ between: "between";
761
+ }>>>;
762
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
763
+ }, z.core.$strip>, z.ZodObject<{
764
+ field: z.ZodString;
765
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
766
+ in: "in";
767
+ "not in": "not in";
768
+ }>>>;
769
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
770
+ in: "in";
771
+ "not in": "not in";
772
+ }>>>;
773
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
774
+ }, z.core.$strip>]>>]>>>;
775
+ boxVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
776
+ boxColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
777
+ boxColorOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
778
+ boxBorderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
779
+ boxBorderWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
780
+ boxBorderOpacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
781
+ }, z.core.$strip>>]>>>;
782
+ outlierStyle: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
783
+ selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
784
+ field: z.ZodString;
785
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
786
+ "=": "=";
787
+ "==": "==";
788
+ "!=": "!=";
789
+ ">": ">";
790
+ "<": "<";
791
+ ">=": ">=";
792
+ "<=": "<=";
793
+ between: "between";
794
+ }>>>;
795
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
796
+ "=": "=";
797
+ "==": "==";
798
+ "!=": "!=";
799
+ ">": ">";
800
+ "<": "<";
801
+ ">=": ">=";
802
+ "<=": "<=";
803
+ between: "between";
804
+ }>>>;
805
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
806
+ }, z.core.$strip>, z.ZodObject<{
807
+ field: z.ZodString;
808
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
809
+ in: "in";
810
+ "not in": "not in";
811
+ }>>>;
812
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
813
+ in: "in";
814
+ "not in": "not in";
815
+ }>>>;
816
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
817
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
818
+ field: z.ZodString;
819
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
820
+ "=": "=";
821
+ "==": "==";
822
+ "!=": "!=";
823
+ ">": ">";
824
+ "<": "<";
825
+ ">=": ">=";
826
+ "<=": "<=";
827
+ between: "between";
828
+ }>>>;
829
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
830
+ "=": "=";
831
+ "==": "==";
832
+ "!=": "!=";
833
+ ">": ">";
834
+ "<": "<";
835
+ ">=": ">=";
836
+ "<=": "<=";
837
+ between: "between";
838
+ }>>>;
839
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
840
+ }, z.core.$strip>, z.ZodObject<{
841
+ field: z.ZodString;
842
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
843
+ in: "in";
844
+ "not in": "not in";
845
+ }>>>;
846
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
847
+ in: "in";
848
+ "not in": "not in";
849
+ }>>>;
850
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
851
+ }, z.core.$strip>]>>]>>;
852
+ pointVisible: z.ZodOptional<z.ZodBoolean>;
853
+ pointSize: z.ZodOptional<z.ZodNumber>;
854
+ pointColor: z.ZodOptional<z.ZodString>;
855
+ pointColorOpacity: z.ZodOptional<z.ZodNumber>;
856
+ pointBorderColor: z.ZodOptional<z.ZodString>;
857
+ pointBorderWidth: z.ZodOptional<z.ZodNumber>;
858
+ pointBorderStyle: z.ZodOptional<z.ZodEnum<{
859
+ solid: "solid";
860
+ dashed: "dashed";
861
+ dotted: "dotted";
862
+ }>>;
863
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
864
+ selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
865
+ field: z.ZodString;
866
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
867
+ "=": "=";
868
+ "==": "==";
869
+ "!=": "!=";
870
+ ">": ">";
871
+ "<": "<";
872
+ ">=": ">=";
873
+ "<=": "<=";
874
+ between: "between";
875
+ }>>>;
876
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
877
+ "=": "=";
878
+ "==": "==";
879
+ "!=": "!=";
880
+ ">": ">";
881
+ "<": "<";
882
+ ">=": ">=";
883
+ "<=": "<=";
884
+ between: "between";
885
+ }>>>;
886
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
887
+ }, z.core.$strip>, z.ZodObject<{
888
+ field: z.ZodString;
889
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
890
+ in: "in";
891
+ "not in": "not in";
892
+ }>>>;
893
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
894
+ in: "in";
895
+ "not in": "not in";
896
+ }>>>;
897
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
898
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
899
+ field: z.ZodString;
900
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
901
+ "=": "=";
902
+ "==": "==";
903
+ "!=": "!=";
904
+ ">": ">";
905
+ "<": "<";
906
+ ">=": ">=";
907
+ "<=": "<=";
908
+ between: "between";
909
+ }>>>;
910
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
911
+ "=": "=";
912
+ "==": "==";
913
+ "!=": "!=";
914
+ ">": ">";
915
+ "<": "<";
916
+ ">=": ">=";
917
+ "<=": "<=";
918
+ between: "between";
919
+ }>>>;
920
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
921
+ }, z.core.$strip>, z.ZodObject<{
922
+ field: z.ZodString;
923
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
924
+ in: "in";
925
+ "not in": "not in";
926
+ }>>>;
927
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
928
+ in: "in";
929
+ "not in": "not in";
930
+ }>>>;
931
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
932
+ }, z.core.$strip>]>>]>>;
933
+ pointVisible: z.ZodOptional<z.ZodBoolean>;
934
+ pointSize: z.ZodOptional<z.ZodNumber>;
935
+ pointColor: z.ZodOptional<z.ZodString>;
936
+ pointColorOpacity: z.ZodOptional<z.ZodNumber>;
937
+ pointBorderColor: z.ZodOptional<z.ZodString>;
938
+ pointBorderWidth: z.ZodOptional<z.ZodNumber>;
939
+ pointBorderStyle: z.ZodOptional<z.ZodEnum<{
940
+ solid: "solid";
941
+ dashed: "dashed";
942
+ dotted: "dotted";
943
+ }>>;
944
+ }, z.core.$strip>>]>>>;
629
945
  }, z.core.$strip>;
630
946
  export type MarkStyle = z.infer<typeof zMarkStyle>;
@@ -3,11 +3,15 @@ import { zBarStyle } from "./barStyle.js";
3
3
  import { zPointStyle } from "./pointStyle.js";
4
4
  import { zLineStyle } from "./lineStyle.js";
5
5
  import { zAreaStyle } from "./zAreaStyle.js";
6
+ import { zBoxPlotStyle } from "./boxPlotStyle.js";
7
+ import { zOutlierStyle } from "./outlierStyle.js";
6
8
  const zMarkStyle = z.object({
7
9
  barStyle: zBarStyle.or(z.array(zBarStyle)).nullish(),
8
10
  pointStyle: zPointStyle.or(z.array(zPointStyle)).nullish(),
9
11
  lineStyle: zLineStyle.or(z.array(zLineStyle)).nullish(),
10
- areaStyle: zAreaStyle.or(z.array(zAreaStyle)).nullish()
12
+ areaStyle: zAreaStyle.or(z.array(zAreaStyle)).nullish(),
13
+ boxPlotStyle: zBoxPlotStyle.or(z.array(zBoxPlotStyle)).nullish(),
14
+ outlierStyle: zOutlierStyle.or(z.array(zOutlierStyle)).nullish()
11
15
  });
12
16
  export { zMarkStyle };
13
17
 
@@ -1 +1 @@
1
- {"version":3,"file":"types/properties/markStyle/markStyle.js","sources":["webpack://@visactor/vseed/./src/types/properties/markStyle/markStyle.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zBarStyle } from './barStyle'\nimport { zPointStyle } from './pointStyle'\nimport { zLineStyle } from './lineStyle'\nimport { zAreaStyle } from './zAreaStyle'\n\nexport const zMarkStyle = z.object({\n barStyle: zBarStyle.or(z.array(zBarStyle)).nullish(),\n pointStyle: zPointStyle.or(z.array(zPointStyle)).nullish(),\n lineStyle: zLineStyle.or(z.array(zLineStyle)).nullish(),\n areaStyle: zAreaStyle.or(z.array(zAreaStyle)).nullish(),\n})\n\nexport type MarkStyle = z.infer<typeof zMarkStyle>\n"],"names":["zMarkStyle","z","zBarStyle","zPointStyle","zLineStyle","zAreaStyle"],"mappings":";;;;;AAMO,MAAMA,aAAaC,EAAE,MAAM,CAAC;IACjC,UAAUC,UAAU,EAAE,CAACD,EAAE,KAAK,CAACC,YAAY,OAAO;IAClD,YAAYC,YAAY,EAAE,CAACF,EAAE,KAAK,CAACE,cAAc,OAAO;IACxD,WAAWC,WAAW,EAAE,CAACH,EAAE,KAAK,CAACG,aAAa,OAAO;IACrD,WAAWC,WAAW,EAAE,CAACJ,EAAE,KAAK,CAACI,aAAa,OAAO;AACvD"}
1
+ {"version":3,"file":"types/properties/markStyle/markStyle.js","sources":["webpack://@visactor/vseed/./src/types/properties/markStyle/markStyle.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zBarStyle } from './barStyle'\nimport { zPointStyle } from './pointStyle'\nimport { zLineStyle } from './lineStyle'\nimport { zAreaStyle } from './zAreaStyle'\nimport { zBoxPlotStyle } from './boxPlotStyle'\nimport { zOutlierStyle } from './outlierStyle'\n\nexport const zMarkStyle = z.object({\n barStyle: zBarStyle.or(z.array(zBarStyle)).nullish(),\n pointStyle: zPointStyle.or(z.array(zPointStyle)).nullish(),\n lineStyle: zLineStyle.or(z.array(zLineStyle)).nullish(),\n areaStyle: zAreaStyle.or(z.array(zAreaStyle)).nullish(),\n boxPlotStyle: zBoxPlotStyle.or(z.array(zBoxPlotStyle)).nullish(),\n outlierStyle: zOutlierStyle.or(z.array(zOutlierStyle)).nullish(),\n})\n\nexport type MarkStyle = z.infer<typeof zMarkStyle>\n"],"names":["zMarkStyle","z","zBarStyle","zPointStyle","zLineStyle","zAreaStyle","zBoxPlotStyle","zOutlierStyle"],"mappings":";;;;;;;AAQO,MAAMA,aAAaC,EAAE,MAAM,CAAC;IACjC,UAAUC,UAAU,EAAE,CAACD,EAAE,KAAK,CAACC,YAAY,OAAO;IAClD,YAAYC,YAAY,EAAE,CAACF,EAAE,KAAK,CAACE,cAAc,OAAO;IACxD,WAAWC,WAAW,EAAE,CAACH,EAAE,KAAK,CAACG,aAAa,OAAO;IACrD,WAAWC,WAAW,EAAE,CAACJ,EAAE,KAAK,CAACI,aAAa,OAAO;IACrD,cAAcC,cAAc,EAAE,CAACL,EAAE,KAAK,CAACK,gBAAgB,OAAO;IAC9D,cAAcC,cAAc,EAAE,CAACN,EAAE,KAAK,CAACM,gBAAgB,OAAO;AAChE"}
@@ -0,0 +1,161 @@
1
+ import { z } from 'zod';
2
+ import { type Selector, type Selectors } from '../../dataSelector';
3
+ export type OutlierStyle = {
4
+ /**
5
+ * 数据选择器
6
+ * @description
7
+ * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力
8
+ * 若未配置selector, 则样式全局生效.
9
+ * @type {Selector | Selectors}
10
+ * @example 数值选择器
11
+ * selector = "tool"
12
+ * selector = ["tool", "book"]
13
+ * selector = 100
14
+ * selector = [100, 200]
15
+ * @example 局部数据选择器
16
+ * selector = { profit: 100 }
17
+ * selector = [{ profit: 100 }, { profit: 200 }]
18
+ * @example 条件维度选择器
19
+ * selector = {
20
+ * field: 'category',
21
+ * operator: 'in',
22
+ * value: 'tool'
23
+ * }
24
+ * selector = {
25
+ * field: 'category',
26
+ * operator: 'not in',
27
+ * value: 'book'
28
+ * }
29
+ * @example 条件指标选择器
30
+ * selector = {
31
+ * field: 'profit',
32
+ * operator: '>=',
33
+ * value: 100
34
+ * }
35
+ * selector = {
36
+ * field: 'profit',
37
+ * operator: 'between'
38
+ * value: [100, 300]
39
+ * }
40
+ */
41
+ selector?: Selector | Selectors;
42
+ /**
43
+ * @description 点是否可见
44
+ */
45
+ pointVisible?: boolean;
46
+ /**
47
+ * 点大小
48
+ * @description 点大小
49
+ */
50
+ pointSize?: number;
51
+ /**
52
+ * 点图元颜色
53
+ * @description 点图元颜色
54
+ */
55
+ pointColor?: string;
56
+ /**
57
+ * 点图元颜色透明度
58
+ * @description 点图元颜色透明度
59
+ */
60
+ pointColorOpacity?: number;
61
+ /**
62
+ * 点图元边框颜色
63
+ * @description 点图元边框颜色
64
+ */
65
+ pointBorderColor?: string;
66
+ /**
67
+ * 点图元边框宽度
68
+ * @description 点图元边框宽度
69
+ */
70
+ pointBorderWidth?: number;
71
+ /**
72
+ * 点图元边框样式
73
+ * @description 点图元边框样式
74
+ * @example solid
75
+ * @example dashed
76
+ * @example dotted
77
+ */
78
+ pointBorderStyle?: 'solid' | 'dashed' | 'dotted';
79
+ };
80
+ export declare const zOutlierStyle: z.ZodObject<{
81
+ selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
82
+ field: z.ZodString;
83
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
84
+ "=": "=";
85
+ "==": "==";
86
+ "!=": "!=";
87
+ ">": ">";
88
+ "<": "<";
89
+ ">=": ">=";
90
+ "<=": "<=";
91
+ between: "between";
92
+ }>>>;
93
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
94
+ "=": "=";
95
+ "==": "==";
96
+ "!=": "!=";
97
+ ">": ">";
98
+ "<": "<";
99
+ ">=": ">=";
100
+ "<=": "<=";
101
+ between: "between";
102
+ }>>>;
103
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
104
+ }, z.core.$strip>, z.ZodObject<{
105
+ field: z.ZodString;
106
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
107
+ in: "in";
108
+ "not in": "not in";
109
+ }>>>;
110
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
111
+ in: "in";
112
+ "not in": "not in";
113
+ }>>>;
114
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
115
+ }, z.core.$strip>]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodObject<{
116
+ field: z.ZodString;
117
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
118
+ "=": "=";
119
+ "==": "==";
120
+ "!=": "!=";
121
+ ">": ">";
122
+ "<": "<";
123
+ ">=": ">=";
124
+ "<=": "<=";
125
+ between: "between";
126
+ }>>>;
127
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
128
+ "=": "=";
129
+ "==": "==";
130
+ "!=": "!=";
131
+ ">": ">";
132
+ "<": "<";
133
+ ">=": ">=";
134
+ "<=": "<=";
135
+ between: "between";
136
+ }>>>;
137
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
138
+ }, z.core.$strip>, z.ZodObject<{
139
+ field: z.ZodString;
140
+ operator: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
141
+ in: "in";
142
+ "not in": "not in";
143
+ }>>>;
144
+ op: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
145
+ in: "in";
146
+ "not in": "not in";
147
+ }>>>;
148
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
149
+ }, z.core.$strip>]>>]>>;
150
+ pointVisible: z.ZodOptional<z.ZodBoolean>;
151
+ pointSize: z.ZodOptional<z.ZodNumber>;
152
+ pointColor: z.ZodOptional<z.ZodString>;
153
+ pointColorOpacity: z.ZodOptional<z.ZodNumber>;
154
+ pointBorderColor: z.ZodOptional<z.ZodString>;
155
+ pointBorderWidth: z.ZodOptional<z.ZodNumber>;
156
+ pointBorderStyle: z.ZodOptional<z.ZodEnum<{
157
+ solid: "solid";
158
+ dashed: "dashed";
159
+ dotted: "dotted";
160
+ }>>;
161
+ }, z.core.$strip>;
@@ -0,0 +1,22 @@
1
+ import { z } from "zod";
2
+ import { zSelector, zSelectors } from "../../dataSelector/index.js";
3
+ const zOutlierStyle = z.object({
4
+ selector: z.union([
5
+ zSelector,
6
+ zSelectors
7
+ ]).optional(),
8
+ pointVisible: z.boolean().optional(),
9
+ pointSize: z.number().optional(),
10
+ pointColor: z.string().optional(),
11
+ pointColorOpacity: z.number().min(0).max(1).optional(),
12
+ pointBorderColor: z.string().optional(),
13
+ pointBorderWidth: z.number().min(0).optional(),
14
+ pointBorderStyle: z["enum"]([
15
+ 'solid',
16
+ 'dashed',
17
+ 'dotted'
18
+ ]).optional()
19
+ });
20
+ export { zOutlierStyle };
21
+
22
+ //# sourceMappingURL=outlierStyle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types/properties/markStyle/outlierStyle.js","sources":["webpack://@visactor/vseed/./src/types/properties/markStyle/outlierStyle.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zSelector, zSelectors, type Selector, type Selectors } from '../../dataSelector'\n\nexport type OutlierStyle = {\n /**\n * 数据选择器\n * @description\n * 若配置selector, 提供数值 selector, 局部数据 selector, 条件维度 selector, 条件指标 selector 共四类数据匹配能力\n * 若未配置selector, 则样式全局生效.\n * @type {Selector | Selectors}\n * @example 数值选择器\n * selector = \"tool\"\n * selector = [\"tool\", \"book\"]\n * selector = 100\n * selector = [100, 200]\n * @example 局部数据选择器\n * selector = { profit: 100 }\n * selector = [{ profit: 100 }, { profit: 200 }]\n * @example 条件维度选择器\n * selector = {\n * field: 'category',\n * operator: 'in',\n * value: 'tool'\n * }\n * selector = {\n * field: 'category',\n * operator: 'not in',\n * value: 'book'\n * }\n * @example 条件指标选择器\n * selector = {\n * field: 'profit',\n * operator: '>=',\n * value: 100\n * }\n * selector = {\n * field: 'profit',\n * operator: 'between'\n * value: [100, 300]\n * }\n */\n selector?: Selector | Selectors\n\n /**\n * @description 点是否可见\n */\n pointVisible?: boolean\n /**\n * 点大小\n * @description 点大小\n */\n pointSize?: number\n /**\n * 点图元颜色\n * @description 点图元颜色\n */\n pointColor?: string\n /**\n * 点图元颜色透明度\n * @description 点图元颜色透明度\n */\n pointColorOpacity?: number\n /**\n * 点图元边框颜色\n * @description 点图元边框颜色\n */\n pointBorderColor?: string\n /**\n * 点图元边框宽度\n * @description 点图元边框宽度\n */\n pointBorderWidth?: number\n /**\n * 点图元边框样式\n * @description 点图元边框样式\n * @example solid\n * @example dashed\n * @example dotted\n */\n pointBorderStyle?: 'solid' | 'dashed' | 'dotted'\n}\n\nexport const zOutlierStyle = z.object({\n selector: z.union([zSelector, zSelectors]).optional(),\n pointVisible: z.boolean().optional(),\n pointSize: z.number().optional(),\n pointColor: z.string().optional(),\n pointColorOpacity: z.number().min(0).max(1).optional(),\n pointBorderColor: z.string().optional(),\n pointBorderWidth: z.number().min(0).optional(),\n pointBorderStyle: z.enum(['solid', 'dashed', 'dotted']).optional(),\n})\n"],"names":["zOutlierStyle","z","zSelector","zSelectors"],"mappings":";;AAkFO,MAAMA,gBAAgBC,EAAE,MAAM,CAAC;IACpC,UAAUA,EAAE,KAAK,CAAC;QAACC;QAAWC;KAAW,EAAE,QAAQ;IACnD,cAAcF,EAAE,OAAO,GAAG,QAAQ;IAClC,WAAWA,EAAE,MAAM,GAAG,QAAQ;IAC9B,YAAYA,EAAE,MAAM,GAAG,QAAQ;IAC/B,mBAAmBA,EAAE,MAAM,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,QAAQ;IACpD,kBAAkBA,EAAE,MAAM,GAAG,QAAQ;IACrC,kBAAkBA,EAAE,MAAM,GAAG,GAAG,CAAC,GAAG,QAAQ;IAC5C,kBAAkBA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAS;QAAU;KAAS,EAAE,QAAQ;AAClE"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @description 经验累积分布函数回归线配置项
3
3
  */
4
- export interface EcdfRegressionLine {
4
+ export type EcdfRegressionLine = {
5
5
  /**
6
6
  * 是否开启
7
7
  */
@@ -41,4 +41,4 @@ export interface EcdfRegressionLine {
41
41
  * @example 400
42
42
  */
43
43
  textFontWeight?: number;
44
- }
44
+ };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @description 核密度估计回归线配置项
3
3
  */
4
- export interface KdeRegressionLine {
4
+ export type KdeRegressionLine = {
5
5
  /**
6
6
  * @description 是否开启回归线功能
7
7
  */
@@ -41,4 +41,4 @@ export interface KdeRegressionLine {
41
41
  * @example 400
42
42
  */
43
43
  textFontWeight?: number;
44
- }
44
+ };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @description 线性回归线配置项
3
3
  */
4
- export interface LinearRegressionLine {
4
+ export type LinearRegressionLine = {
5
5
  /**
6
6
  * @description 回归线颜色
7
7
  * 用于设置回归线的颜色,如果不设置,默认使用图表的主颜色
@@ -55,4 +55,4 @@ export interface LinearRegressionLine {
55
55
  * @example 0.5
56
56
  */
57
57
  confidenceIntervalOpacity?: number;
58
- }
58
+ };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @description Logistic回归线配置项
3
3
  */
4
- export interface LogisticRegressionLine {
4
+ export type LogisticRegressionLine = {
5
5
  /**
6
6
  * @description 回归线颜色
7
7
  * 用于设置回归线的颜色,如果不设置,默认使用图表的主颜色
@@ -55,4 +55,4 @@ export interface LogisticRegressionLine {
55
55
  * @example 0.5
56
56
  */
57
57
  confidenceIntervalOpacity?: number;
58
- }
58
+ };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @description 局部加权回归线配置项
3
3
  */
4
- export interface LowessRegressionLine {
4
+ export type LowessRegressionLine = {
5
5
  /**
6
6
  * @description 回归线颜色
7
7
  * 用于设置回归线的颜色,如果不设置,默认使用图表的主颜色
@@ -55,4 +55,4 @@ export interface LowessRegressionLine {
55
55
  * @example 0.5
56
56
  */
57
57
  confidenceIntervalOpacity?: number;
58
- }
58
+ };
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @description 多项式回归线配置
3
3
  */
4
- export interface PolynomialRegressionLine {
4
+ export type PolynomialRegressionLine = {
5
5
  /**
6
6
  * @description 回归线颜色
7
7
  * 用于设置回归线的颜色,如果不设置,默认使用图表的主颜色
@@ -59,4 +59,4 @@ export interface PolynomialRegressionLine {
59
59
  * @example 0.5
60
60
  */
61
61
  confidenceIntervalOpacity?: number;
62
- }
62
+ };