@visactor/vseed 0.1.49 → 0.1.51

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 (192) 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 +483 -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/pipes/config/boxplot.js +2 -1
  14. package/dist/esm/pipeline/advanced/chart/pipes/config/boxplot.js.map +1 -1
  15. package/dist/esm/pipeline/advanced/chart/pipes/config/column.js +2 -1
  16. package/dist/esm/pipeline/advanced/chart/pipes/config/column.js.map +1 -1
  17. package/dist/esm/pipeline/advanced/chart/pipes/config/dualAxis.js +2 -1
  18. package/dist/esm/pipeline/advanced/chart/pipes/config/dualAxis.js.map +1 -1
  19. package/dist/esm/pipeline/advanced/chart/pipes/config/histogram.js +2 -1
  20. package/dist/esm/pipeline/advanced/chart/pipes/config/histogram.js.map +1 -1
  21. package/dist/esm/pipeline/advanced/chart/pipes/config/line.js +2 -1
  22. package/dist/esm/pipeline/advanced/chart/pipes/config/line.js.map +1 -1
  23. package/dist/esm/pipeline/advanced/chart/pipes/config/scatter.js +2 -1
  24. package/dist/esm/pipeline/advanced/chart/pipes/config/scatter.js.map +1 -1
  25. package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.js +1 -1
  26. package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.js.map +1 -1
  27. package/dist/esm/pipeline/spec/chart/pipeline/area.js +3 -2
  28. package/dist/esm/pipeline/spec/chart/pipeline/area.js.map +1 -1
  29. package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js +3 -2
  30. package/dist/esm/pipeline/spec/chart/pipeline/areaPercent.js.map +1 -1
  31. package/dist/esm/pipeline/spec/chart/pipeline/bar.js +3 -2
  32. package/dist/esm/pipeline/spec/chart/pipeline/bar.js.map +1 -1
  33. package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js +3 -2
  34. package/dist/esm/pipeline/spec/chart/pipeline/barParallel.js.map +1 -1
  35. package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js +3 -2
  36. package/dist/esm/pipeline/spec/chart/pipeline/barPercent.js.map +1 -1
  37. package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js +3 -2
  38. package/dist/esm/pipeline/spec/chart/pipeline/boxplot.js.map +1 -1
  39. package/dist/esm/pipeline/spec/chart/pipeline/column.js +3 -2
  40. package/dist/esm/pipeline/spec/chart/pipeline/column.js.map +1 -1
  41. package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js +3 -2
  42. package/dist/esm/pipeline/spec/chart/pipeline/columnParallel.js.map +1 -1
  43. package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js +3 -2
  44. package/dist/esm/pipeline/spec/chart/pipeline/columnPercent.js.map +1 -1
  45. package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js +5 -4
  46. package/dist/esm/pipeline/spec/chart/pipeline/dualAxis.js.map +1 -1
  47. package/dist/esm/pipeline/spec/chart/pipeline/histogram.js +3 -2
  48. package/dist/esm/pipeline/spec/chart/pipeline/histogram.js.map +1 -1
  49. package/dist/esm/pipeline/spec/chart/pipeline/line.js +3 -2
  50. package/dist/esm/pipeline/spec/chart/pipeline/line.js.map +1 -1
  51. package/dist/esm/pipeline/spec/chart/pipeline/scatter.js +3 -2
  52. package/dist/esm/pipeline/spec/chart/pipeline/scatter.js.map +1 -1
  53. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.d.ts +2 -0
  54. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js +94 -0
  55. package/dist/esm/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js.map +1 -0
  56. package/dist/esm/pipeline/spec/chart/pipes/annotation/index.d.ts +1 -0
  57. package/dist/esm/pipeline/spec/chart/pipes/annotation/index.js +2 -1
  58. package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.d.ts +1 -1
  59. package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.js +2 -1
  60. package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.js.map +1 -1
  61. package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.js +12 -1
  62. package/dist/esm/pipeline/spec/chart/pipes/axes/xBand.js.map +1 -1
  63. package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.js +12 -1
  64. package/dist/esm/pipeline/spec/chart/pipes/axes/yBand.js.map +1 -1
  65. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairLine.js +3 -0
  66. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairLine.js.map +1 -1
  67. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.js +3 -0
  68. package/dist/esm/pipeline/spec/chart/pipes/crosshair/horizontalCrosshairRect.js.map +1 -1
  69. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairLine.js +3 -0
  70. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairLine.js.map +1 -1
  71. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.js +3 -0
  72. package/dist/esm/pipeline/spec/chart/pipes/crosshair/verticalCrosshairRect.js.map +1 -1
  73. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.d.ts +2 -0
  74. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.js +49 -0
  75. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/dimensionLinkage.js.map +1 -0
  76. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/index.d.ts +1 -0
  77. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/index.js +2 -1
  78. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js +15 -0
  79. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotGridStyle.js.map +1 -1
  80. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js +1 -0
  81. package/dist/esm/pipeline/spec/chart/pipes/pivotChart/pivotIndicators.js.map +1 -1
  82. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js +13 -9
  83. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/columnRegressionLine.js.map +1 -1
  84. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js +8 -5
  85. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/ecdfRegressionLine.js.map +1 -1
  86. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js +8 -5
  87. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/kdeRegressionLine.js.map +1 -1
  88. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js +61 -29
  89. package/dist/esm/pipeline/spec/chart/pipes/regressionLine/linearRegressionLine.js.map +1 -1
  90. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js +8 -8
  91. package/dist/esm/pipeline/spec/chart/pipes/tooltip/tooltipBoxplot.js.map +1 -1
  92. package/dist/esm/types/advancedVSeed.d.ts +175 -0
  93. package/dist/esm/types/advancedVSeed.js +1 -0
  94. package/dist/esm/types/advancedVSeed.js.map +1 -1
  95. package/dist/esm/types/chartType/area/area.d.ts +6 -1
  96. package/dist/esm/types/chartType/area/zArea.d.ts +5 -0
  97. package/dist/esm/types/chartType/area/zArea.js +2 -1
  98. package/dist/esm/types/chartType/area/zArea.js.map +1 -1
  99. package/dist/esm/types/chartType/areaPercent/areaPercent.d.ts +6 -1
  100. package/dist/esm/types/chartType/areaPercent/zAreaPercent.d.ts +5 -0
  101. package/dist/esm/types/chartType/areaPercent/zAreaPercent.js +2 -1
  102. package/dist/esm/types/chartType/areaPercent/zAreaPercent.js.map +1 -1
  103. package/dist/esm/types/chartType/bar/bar.d.ts +6 -1
  104. package/dist/esm/types/chartType/bar/zBar.d.ts +5 -0
  105. package/dist/esm/types/chartType/bar/zBar.js +2 -1
  106. package/dist/esm/types/chartType/bar/zBar.js.map +1 -1
  107. package/dist/esm/types/chartType/barParallel/barParallel.d.ts +6 -1
  108. package/dist/esm/types/chartType/barParallel/zBarParallel.d.ts +5 -0
  109. package/dist/esm/types/chartType/barParallel/zBarParallel.js +2 -1
  110. package/dist/esm/types/chartType/barParallel/zBarParallel.js.map +1 -1
  111. package/dist/esm/types/chartType/barPercent/barPercent.d.ts +6 -1
  112. package/dist/esm/types/chartType/barPercent/zBarPercent.d.ts +5 -0
  113. package/dist/esm/types/chartType/barPercent/zBarPercent.js +2 -1
  114. package/dist/esm/types/chartType/barPercent/zBarPercent.js.map +1 -1
  115. package/dist/esm/types/chartType/boxplot/boxplot.d.ts +6 -1
  116. package/dist/esm/types/chartType/boxplot/zBoxplot.d.ts +5 -0
  117. package/dist/esm/types/chartType/boxplot/zBoxplot.js +2 -1
  118. package/dist/esm/types/chartType/boxplot/zBoxplot.js.map +1 -1
  119. package/dist/esm/types/chartType/column/column.d.ts +6 -1
  120. package/dist/esm/types/chartType/column/zColumn.d.ts +5 -0
  121. package/dist/esm/types/chartType/column/zColumn.js +2 -1
  122. package/dist/esm/types/chartType/column/zColumn.js.map +1 -1
  123. package/dist/esm/types/chartType/columnParallel/columnParallel.d.ts +6 -1
  124. package/dist/esm/types/chartType/columnParallel/zColumnParallel.d.ts +5 -0
  125. package/dist/esm/types/chartType/columnParallel/zColumnParallel.js +2 -1
  126. package/dist/esm/types/chartType/columnParallel/zColumnParallel.js.map +1 -1
  127. package/dist/esm/types/chartType/columnPercent/columnPercent.d.ts +6 -1
  128. package/dist/esm/types/chartType/columnPercent/zColumnPercent.d.ts +5 -0
  129. package/dist/esm/types/chartType/columnPercent/zColumnPercent.js +2 -1
  130. package/dist/esm/types/chartType/columnPercent/zColumnPercent.js.map +1 -1
  131. package/dist/esm/types/chartType/dualAxis/dualAxis.d.ts +6 -1
  132. package/dist/esm/types/chartType/dualAxis/zDualAxis.d.ts +5 -0
  133. package/dist/esm/types/chartType/dualAxis/zDualAxis.js +2 -1
  134. package/dist/esm/types/chartType/dualAxis/zDualAxis.js.map +1 -1
  135. package/dist/esm/types/chartType/histogram/histogram.d.ts +6 -1
  136. package/dist/esm/types/chartType/histogram/zHistogram.d.ts +5 -0
  137. package/dist/esm/types/chartType/histogram/zHistogram.js +2 -1
  138. package/dist/esm/types/chartType/histogram/zHistogram.js.map +1 -1
  139. package/dist/esm/types/chartType/line/line.d.ts +6 -1
  140. package/dist/esm/types/chartType/line/zLine.d.ts +5 -0
  141. package/dist/esm/types/chartType/line/zLine.js +2 -1
  142. package/dist/esm/types/chartType/line/zLine.js.map +1 -1
  143. package/dist/esm/types/chartType/scatter/scatter.d.ts +6 -1
  144. package/dist/esm/types/chartType/scatter/zScatter.d.ts +5 -0
  145. package/dist/esm/types/chartType/scatter/zScatter.js +2 -1
  146. package/dist/esm/types/chartType/scatter/zScatter.js.map +1 -1
  147. package/dist/esm/types/index.d.ts +1 -0
  148. package/dist/esm/types/index.js +1 -0
  149. package/dist/esm/types/properties/config/area.d.ts +10 -0
  150. package/dist/esm/types/properties/config/area.js +3 -1
  151. package/dist/esm/types/properties/config/area.js.map +1 -1
  152. package/dist/esm/types/properties/config/bar.d.ts +15 -0
  153. package/dist/esm/types/properties/config/bar.js +3 -1
  154. package/dist/esm/types/properties/config/bar.js.map +1 -1
  155. package/dist/esm/types/properties/config/boxplot.d.ts +5 -0
  156. package/dist/esm/types/properties/config/boxplot.js +3 -1
  157. package/dist/esm/types/properties/config/boxplot.js.map +1 -1
  158. package/dist/esm/types/properties/config/column.d.ts +15 -0
  159. package/dist/esm/types/properties/config/column.js +3 -1
  160. package/dist/esm/types/properties/config/column.js.map +1 -1
  161. package/dist/esm/types/properties/config/config.d.ts +65 -0
  162. package/dist/esm/types/properties/config/dimensionLinkage/dimensionLinkage.d.ts +23 -0
  163. package/dist/esm/types/properties/config/dimensionLinkage/dimensionLinkage.js +9 -0
  164. package/dist/esm/types/properties/config/dimensionLinkage/dimensionLinkage.js.map +1 -0
  165. package/dist/esm/types/properties/config/dimensionLinkage/index.d.ts +1 -0
  166. package/dist/esm/types/properties/config/dimensionLinkage/index.js +1 -0
  167. package/dist/esm/types/properties/config/dualAxis.d.ts +5 -0
  168. package/dist/esm/types/properties/config/dualAxis.js +3 -1
  169. package/dist/esm/types/properties/config/dualAxis.js.map +1 -1
  170. package/dist/esm/types/properties/config/histogram.d.ts +5 -0
  171. package/dist/esm/types/properties/config/histogram.js +3 -1
  172. package/dist/esm/types/properties/config/histogram.js.map +1 -1
  173. package/dist/esm/types/properties/config/index.d.ts +1 -0
  174. package/dist/esm/types/properties/config/index.js +1 -0
  175. package/dist/esm/types/properties/config/label/pieLabel.d.ts +2 -2
  176. package/dist/esm/types/properties/config/line.d.ts +5 -0
  177. package/dist/esm/types/properties/config/line.js +3 -1
  178. package/dist/esm/types/properties/config/line.js.map +1 -1
  179. package/dist/esm/types/properties/config/scatter.d.ts +5 -0
  180. package/dist/esm/types/properties/config/scatter.js +3 -1
  181. package/dist/esm/types/properties/config/scatter.js.map +1 -1
  182. package/dist/esm/types/properties/regressionLine/ecdfRegressionLine.d.ts +2 -2
  183. package/dist/esm/types/properties/regressionLine/kdeRegressionLine.d.ts +2 -2
  184. package/dist/esm/types/properties/regressionLine/linearRegressionLine.d.ts +2 -2
  185. package/dist/esm/types/properties/regressionLine/logisticRegressionLine.d.ts +2 -2
  186. package/dist/esm/types/properties/regressionLine/lowessRegressionLine.d.ts +2 -2
  187. package/dist/esm/types/properties/regressionLine/polynomialRegressionLine.d.ts +2 -2
  188. package/dist/esm/types/properties/theme/customTheme.d.ts +130 -0
  189. package/dist/esm/types/zVseed.d.ts +65 -0
  190. package/dist/umd/index.js +540 -205
  191. package/dist/umd/index.js.map +1 -1
  192. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/spec/chart/pipeline/barParallel.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/barParallel.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n datasetYX,\n xLinear,\n yBand,\n initBarParallel,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n initPivot,\n datasetPivot,\n pivotDiscreteLegend,\n pivotIndicators,\n pivotAdapter,\n pivotIndicatorsAsCol,\n pivotGridStyle,\n pivotRowDimensions,\n pivotColumnDimensions,\n barStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n horizontalCrosshairRect,\n stackCornerRadius,\n progressive,\n linearColor,\n colorAdapter,\n colorLegend,\n colorBarStyleFill,\n pivotColorLegend,\n barMaxWidth,\n barGapInGroup,\n pivotAxisStyle,\n pivotTitle,\n} from '../pipes'\n\nconst barParallel: VChartSpecPipeline = [\n initBarParallel,\n stackCornerRadius,\n barMaxWidth,\n barGapInGroup,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetYX,\n progressive,\n xLinear,\n yBand,\n label,\n tooltip,\n colorAdapter(discreteLegend, colorLegend),\n horizontalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n]\n\nconst pivotBarParallel: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsCol,\n datasetPivot,\n pivotIndicators([\n initBarParallel,\n stackCornerRadius,\n barMaxWidth,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetYX,\n xLinear,\n pivotAxisStyle(yBand),\n label,\n tooltip,\n colorBarStyleFill(barStyle),\n horizontalCrosshairRect,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n]\n\nexport const barParallelSpecPipeline = [pivotAdapter(barParallel, pivotBarParallel)]\n"],"names":["barParallel","initBarParallel","stackCornerRadius","barMaxWidth","barGapInGroup","colorAdapter","color","linearColor","backgroundColor","datasetYX","progressive","xLinear","yBand","label","tooltip","discreteLegend","colorLegend","horizontalCrosshairRect","colorBarStyleFill","barStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","pivotBarParallel","initPivot","pivotGridStyle","pivotIndicatorsAsCol","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","barParallelSpecPipeline","pivotAdapter"],"mappings":";AAuCA,MAAMA,cAAkC;IACtCC;IACAC;IACAC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAT,aAAaU,gBAAgBC;IAC7BC;IACAC,kBAAkBC;IAClBC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,mBAA2C;IAC/CC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACd5B;QACAC;QACAC;QACAE,aAAaC,OAAOC;QACpBC;QACAC;QACAE;QACAmB,eAAelB;QACfC;QACAC;QACAI,kBAAkBC;QAClBF;QACAG;QACAC;QACAC;QACAC;KACD;IACDQ;IACAC;IACAC;IACA5B,aAAa6B,qBAAqBC;CACnC;AAEM,MAAMC,0BAA0B;IAACC,aAAarC,aAAawB;CAAkB"}
1
+ {"version":3,"file":"pipeline/spec/chart/pipeline/barParallel.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/barParallel.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n datasetYX,\n xLinear,\n yBand,\n initBarParallel,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n initPivot,\n datasetPivot,\n pivotDiscreteLegend,\n pivotIndicators,\n pivotAdapter,\n pivotIndicatorsAsCol,\n pivotGridStyle,\n pivotRowDimensions,\n pivotColumnDimensions,\n barStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n horizontalCrosshairRect,\n stackCornerRadius,\n progressive,\n linearColor,\n colorAdapter,\n colorLegend,\n colorBarStyleFill,\n pivotColorLegend,\n barMaxWidth,\n barGapInGroup,\n pivotAxisStyle,\n pivotTitle,\n dimensionLinkage,\n} from '../pipes'\n\nconst barParallel: VChartSpecPipeline = [\n initBarParallel,\n stackCornerRadius,\n barMaxWidth,\n barGapInGroup,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetYX,\n progressive,\n xLinear,\n yBand,\n label,\n tooltip,\n colorAdapter(discreteLegend, colorLegend),\n horizontalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n]\n\nconst pivotBarParallel: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsCol,\n datasetPivot,\n pivotIndicators([\n initBarParallel,\n stackCornerRadius,\n barMaxWidth,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetYX,\n xLinear,\n pivotAxisStyle(yBand),\n label,\n tooltip,\n colorBarStyleFill(barStyle),\n horizontalCrosshairRect,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n dimensionLinkage,\n]\n\nexport const barParallelSpecPipeline = [pivotAdapter(barParallel, pivotBarParallel)]\n"],"names":["barParallel","initBarParallel","stackCornerRadius","barMaxWidth","barGapInGroup","colorAdapter","color","linearColor","backgroundColor","datasetYX","progressive","xLinear","yBand","label","tooltip","discreteLegend","colorLegend","horizontalCrosshairRect","colorBarStyleFill","barStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","pivotBarParallel","initPivot","pivotGridStyle","pivotIndicatorsAsCol","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","dimensionLinkage","barParallelSpecPipeline","pivotAdapter"],"mappings":";AAwCA,MAAMA,cAAkC;IACtCC;IACAC;IACAC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAT,aAAaU,gBAAgBC;IAC7BC;IACAC,kBAAkBC;IAClBC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,mBAA2C;IAC/CC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACd5B;QACAC;QACAC;QACAE,aAAaC,OAAOC;QACpBC;QACAC;QACAE;QACAmB,eAAelB;QACfC;QACAC;QACAI,kBAAkBC;QAClBF;QACAG;QACAC;QACAC;QACAC;KACD;IACDQ;IACAC;IACAC;IACA5B,aAAa6B,qBAAqBC;IAClCC;CACD;AAEM,MAAMC,0BAA0B;IAACC,aAAatC,aAAawB;CAAkB"}
@@ -1,4 +1,4 @@
1
- import { annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, barMaxWidth, barStyle, color, colorAdapter, colorBarStyleFill, colorLegend, datasetPivot, datasetYX, discreteLegend, horizontalCrosshairRect, initBar, initPivot, label, linearColor, percent, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsCol, pivotRowDimensions, pivotTitle, progressive, stackCornerRadius, tooltip, xLinear, yBand } from "../pipes/index.js";
1
+ import { annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, barMaxWidth, barStyle, color, colorAdapter, colorBarStyleFill, colorLegend, datasetPivot, datasetYX, dimensionLinkage, discreteLegend, horizontalCrosshairRect, initBar, initPivot, label, linearColor, percent, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsCol, pivotRowDimensions, pivotTitle, progressive, stackCornerRadius, tooltip, xLinear, yBand } from "../pipes/index.js";
2
2
  const barPercent = [
3
3
  initBar,
4
4
  stackCornerRadius,
@@ -47,7 +47,8 @@ const pivotBarPercent = [
47
47
  pivotRowDimensions,
48
48
  pivotColumnDimensions,
49
49
  pivotTitle,
50
- colorAdapter(pivotDiscreteLegend, pivotColorLegend)
50
+ colorAdapter(pivotDiscreteLegend, pivotColorLegend),
51
+ dimensionLinkage
51
52
  ];
52
53
  const barPercentSpecPipeline = [
53
54
  pivotAdapter(barPercent, pivotBarPercent)
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/spec/chart/pipeline/barPercent.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/barPercent.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n initBar,\n datasetYX,\n xLinear,\n yBand,\n percent,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n pivotAdapter,\n initPivot,\n datasetPivot,\n pivotIndicators,\n pivotDiscreteLegend,\n pivotIndicatorsAsCol,\n pivotGridStyle,\n pivotRowDimensions,\n pivotColumnDimensions,\n barStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n horizontalCrosshairRect,\n stackCornerRadius,\n progressive,\n colorAdapter,\n linearColor,\n colorLegend,\n colorBarStyleFill,\n pivotColorLegend,\n barMaxWidth,\n pivotAxisStyle,\n pivotTitle,\n} from '../pipes'\n\nconst barPercent: VChartSpecPipeline = [\n initBar,\n stackCornerRadius,\n barMaxWidth,\n colorAdapter(color, linearColor),\n backgroundColor,\n percent,\n datasetYX,\n progressive,\n xLinear,\n yBand,\n label,\n tooltip,\n colorAdapter(discreteLegend, colorLegend),\n horizontalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n]\n\nconst pivotBarPercent: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsCol,\n datasetPivot,\n pivotIndicators([\n initBar,\n stackCornerRadius,\n barMaxWidth,\n colorAdapter(color, linearColor),\n backgroundColor,\n percent,\n datasetYX,\n xLinear,\n pivotAxisStyle(yBand),\n label,\n tooltip,\n colorBarStyleFill(barStyle),\n horizontalCrosshairRect,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n]\n\nexport const barPercentSpecPipeline = [pivotAdapter(barPercent, pivotBarPercent)]\n"],"names":["barPercent","initBar","stackCornerRadius","barMaxWidth","colorAdapter","color","linearColor","backgroundColor","percent","datasetYX","progressive","xLinear","yBand","label","tooltip","discreteLegend","colorLegend","horizontalCrosshairRect","colorBarStyleFill","barStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","pivotBarPercent","initPivot","pivotGridStyle","pivotIndicatorsAsCol","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","barPercentSpecPipeline","pivotAdapter"],"mappings":";AAuCA,MAAMA,aAAiC;IACrCC;IACAC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAV,aAAaW,gBAAgBC;IAC7BC;IACAC,kBAAkBC;IAClBC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,kBAA0C;IAC9CC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACd5B;QACAC;QACAC;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAE;QACAmB,eAAelB;QACfC;QACAC;QACAI,kBAAkBC;QAClBF;QACAG;QACAC;QACAC;QACAC;KACD;IACDQ;IACAC;IACAC;IACA7B,aAAa8B,qBAAqBC;CACnC;AAEM,MAAMC,yBAAyB;IAACC,aAAarC,YAAYwB;CAAiB"}
1
+ {"version":3,"file":"pipeline/spec/chart/pipeline/barPercent.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/barPercent.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n initBar,\n datasetYX,\n xLinear,\n yBand,\n percent,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n pivotAdapter,\n initPivot,\n datasetPivot,\n pivotIndicators,\n pivotDiscreteLegend,\n pivotIndicatorsAsCol,\n pivotGridStyle,\n pivotRowDimensions,\n pivotColumnDimensions,\n barStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n horizontalCrosshairRect,\n stackCornerRadius,\n progressive,\n colorAdapter,\n linearColor,\n colorLegend,\n colorBarStyleFill,\n pivotColorLegend,\n barMaxWidth,\n pivotAxisStyle,\n pivotTitle,\n dimensionLinkage,\n} from '../pipes'\n\nconst barPercent: VChartSpecPipeline = [\n initBar,\n stackCornerRadius,\n barMaxWidth,\n colorAdapter(color, linearColor),\n backgroundColor,\n percent,\n datasetYX,\n progressive,\n xLinear,\n yBand,\n label,\n tooltip,\n colorAdapter(discreteLegend, colorLegend),\n horizontalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n]\n\nconst pivotBarPercent: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsCol,\n datasetPivot,\n pivotIndicators([\n initBar,\n stackCornerRadius,\n barMaxWidth,\n colorAdapter(color, linearColor),\n backgroundColor,\n percent,\n datasetYX,\n xLinear,\n pivotAxisStyle(yBand),\n label,\n tooltip,\n colorBarStyleFill(barStyle),\n horizontalCrosshairRect,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n dimensionLinkage,\n]\n\nexport const barPercentSpecPipeline = [pivotAdapter(barPercent, pivotBarPercent)]\n"],"names":["barPercent","initBar","stackCornerRadius","barMaxWidth","colorAdapter","color","linearColor","backgroundColor","percent","datasetYX","progressive","xLinear","yBand","label","tooltip","discreteLegend","colorLegend","horizontalCrosshairRect","colorBarStyleFill","barStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","pivotBarPercent","initPivot","pivotGridStyle","pivotIndicatorsAsCol","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","dimensionLinkage","barPercentSpecPipeline","pivotAdapter"],"mappings":";AAwCA,MAAMA,aAAiC;IACrCC;IACAC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAV,aAAaW,gBAAgBC;IAC7BC;IACAC,kBAAkBC;IAClBC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,kBAA0C;IAC9CC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACd5B;QACAC;QACAC;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAE;QACAmB,eAAelB;QACfC;QACAC;QACAI,kBAAkBC;QAClBF;QACAG;QACAC;QACAC;QACAC;KACD;IACDQ;IACAC;IACAC;IACA7B,aAAa8B,qBAAqBC;IAClCC;CACD;AAEM,MAAMC,yBAAyB;IAACC,aAAatC,YAAYwB;CAAiB"}
@@ -1,4 +1,4 @@
1
- import { annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, barStyle, color, colorAdapter, colorBarStyleFill, colorLegend, datasetBoxplot, datasetPivot, initBoxplot, initPivot, label, linearColor, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotRowDimensions, pivotTitle, progressive, stackCornerRadius, tooltipBoxplot, verticalCrosshairRect, xBand, yLinear } from "../pipes/index.js";
1
+ import { annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, barStyle, color, colorAdapter, colorBarStyleFill, colorLegend, datasetBoxplot, datasetPivot, dimensionLinkage, initBoxplot, initPivot, label, linearColor, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotRowDimensions, pivotTitle, progressive, stackCornerRadius, tooltipBoxplot, verticalCrosshairRect, xBand, yLinear } from "../pipes/index.js";
2
2
  import { boxLegend } from "../pipes/legend/boxLegend.js";
3
3
  const boxplot = [
4
4
  initBoxplot,
@@ -44,7 +44,8 @@ const pivotBoxplot = [
44
44
  pivotRowDimensions,
45
45
  pivotColumnDimensions,
46
46
  pivotTitle,
47
- colorAdapter(pivotDiscreteLegend, pivotColorLegend)
47
+ colorAdapter(pivotDiscreteLegend, pivotColorLegend),
48
+ dimensionLinkage
48
49
  ];
49
50
  const boxplotSpecPipeline = [
50
51
  pivotAdapter(boxplot, pivotBoxplot)
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/spec/chart/pipeline/boxplot.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/boxplot.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n backgroundColor,\n label,\n tooltipBoxplot,\n color,\n pivotAdapter,\n initPivot,\n datasetPivot,\n pivotIndicators,\n pivotDiscreteLegend,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n barStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n stackCornerRadius,\n progressive,\n colorAdapter,\n linearColor,\n colorLegend,\n colorBarStyleFill,\n pivotColorLegend,\n initBoxplot,\n xBand,\n yLinear,\n verticalCrosshairRect,\n datasetBoxplot,\n pivotAxisStyle,\n pivotTitle,\n} from '../pipes'\nimport { boxLegend } from '../pipes/legend/boxLegend'\n\nconst boxplot: VChartSpecPipeline = [\n initBoxplot,\n stackCornerRadius,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetBoxplot,\n progressive,\n xBand,\n yLinear,\n label,\n tooltipBoxplot,\n colorAdapter(boxLegend, colorLegend),\n verticalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n]\n\nconst pivotBoxplot: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n datasetPivot,\n pivotIndicators([\n initBoxplot,\n stackCornerRadius,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetBoxplot,\n progressive,\n xBand,\n pivotAxisStyle(yLinear),\n label,\n tooltipBoxplot,\n colorBarStyleFill(barStyle),\n verticalCrosshairRect,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n]\n\nexport const boxplotSpecPipeline = [pivotAdapter(boxplot, pivotBoxplot)]\n"],"names":["boxplot","initBoxplot","stackCornerRadius","colorAdapter","color","linearColor","backgroundColor","datasetBoxplot","progressive","xBand","yLinear","label","tooltipBoxplot","boxLegend","colorLegend","verticalCrosshairRect","colorBarStyleFill","barStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","pivotBoxplot","initPivot","pivotGridStyle","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","boxplotSpecPipeline","pivotAdapter"],"mappings":";;AAoCA,MAAMA,UAA8B;IAClCC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAT,aAAaU,WAAWC;IACxBC;IACAC,kBAAkBC;IAClBC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,eAAuC;IAC3CC;IACAC;IACAC;IACAC,gBAAgB;QACdzB;QACAC;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACAkB,eAAejB;QACfC;QACAC;QACAI,kBAAkBC;QAClBF;QACAG;QACAC;QACAC;QACAC;KACD;IACDO;IACAC;IACAC;IACA3B,aAAa4B,qBAAqBC;CACnC;AAEM,MAAMC,sBAAsB;IAACC,aAAalC,SAASsB;CAAc"}
1
+ {"version":3,"file":"pipeline/spec/chart/pipeline/boxplot.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/boxplot.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n backgroundColor,\n label,\n tooltipBoxplot,\n color,\n pivotAdapter,\n initPivot,\n datasetPivot,\n pivotIndicators,\n pivotDiscreteLegend,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n barStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n stackCornerRadius,\n progressive,\n colorAdapter,\n linearColor,\n colorLegend,\n colorBarStyleFill,\n pivotColorLegend,\n initBoxplot,\n xBand,\n yLinear,\n verticalCrosshairRect,\n datasetBoxplot,\n pivotAxisStyle,\n pivotTitle,\n dimensionLinkage,\n} from '../pipes'\nimport { boxLegend } from '../pipes/legend/boxLegend'\n\nconst boxplot: VChartSpecPipeline = [\n initBoxplot,\n stackCornerRadius,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetBoxplot,\n progressive,\n xBand,\n yLinear,\n label,\n tooltipBoxplot,\n colorAdapter(boxLegend, colorLegend),\n verticalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n]\n\nconst pivotBoxplot: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n datasetPivot,\n pivotIndicators([\n initBoxplot,\n stackCornerRadius,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetBoxplot,\n progressive,\n xBand,\n pivotAxisStyle(yLinear),\n label,\n tooltipBoxplot,\n colorBarStyleFill(barStyle),\n verticalCrosshairRect,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n dimensionLinkage,\n]\n\nexport const boxplotSpecPipeline = [pivotAdapter(boxplot, pivotBoxplot)]\n"],"names":["boxplot","initBoxplot","stackCornerRadius","colorAdapter","color","linearColor","backgroundColor","datasetBoxplot","progressive","xBand","yLinear","label","tooltipBoxplot","boxLegend","colorLegend","verticalCrosshairRect","colorBarStyleFill","barStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","pivotBoxplot","initPivot","pivotGridStyle","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","dimensionLinkage","boxplotSpecPipeline","pivotAdapter"],"mappings":";;AAqCA,MAAMA,UAA8B;IAClCC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAT,aAAaU,WAAWC;IACxBC;IACAC,kBAAkBC;IAClBC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,eAAuC;IAC3CC;IACAC;IACAC;IACAC,gBAAgB;QACdzB;QACAC;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACAkB,eAAejB;QACfC;QACAC;QACAI,kBAAkBC;QAClBF;QACAG;QACAC;QACAC;QACAC;KACD;IACDO;IACAC;IACAC;IACA3B,aAAa4B,qBAAqBC;IAClCC;CACD;AAEM,MAAMC,sBAAsB;IAACC,aAAanC,SAASsB;CAAc"}
@@ -1,4 +1,4 @@
1
- import { annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, barMaxWidth, barStyle, color, colorAdapter, colorBarStyleFill, colorLegend, columnPolynomialRegressionLine, datasetPivot, datasetXY, discreteLegend, initColumn, initPivot, label, linearColor, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, progressive, stackCornerRadius, stackInverse, tooltip, verticalCrosshairRect, xBand, yLinear } from "../pipes/index.js";
1
+ import { annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, barMaxWidth, barStyle, color, colorAdapter, colorBarStyleFill, colorLegend, columnPolynomialRegressionLine, datasetPivot, datasetXY, dimensionLinkage, discreteLegend, initColumn, initPivot, label, linearColor, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, progressive, stackCornerRadius, stackInverse, tooltip, verticalCrosshairRect, xBand, yLinear } from "../pipes/index.js";
2
2
  const column = [
3
3
  initColumn,
4
4
  stackCornerRadius,
@@ -50,7 +50,8 @@ const pivotColumn = [
50
50
  pivotRowDimensions,
51
51
  pivotColumnDimensions,
52
52
  pivotTitle,
53
- colorAdapter(pivotDiscreteLegend, pivotColorLegend)
53
+ colorAdapter(pivotDiscreteLegend, pivotColorLegend),
54
+ dimensionLinkage
54
55
  ];
55
56
  const columnSpecPipeline = [
56
57
  pivotAdapter(column, pivotColumn)
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/spec/chart/pipeline/column.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/column.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n initColumn,\n datasetXY,\n xBand,\n yLinear,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n pivotAdapter,\n initPivot,\n datasetPivot,\n pivotIndicators,\n pivotDiscreteLegend,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotRowDimensions,\n pivotColumnDimensions,\n stackInverse,\n barStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n verticalCrosshairRect,\n stackCornerRadius,\n progressive,\n colorAdapter,\n linearColor,\n colorLegend,\n colorBarStyleFill,\n pivotColorLegend,\n barMaxWidth,\n columnPolynomialRegressionLine,\n pivotAxisStyle,\n pivotTitle,\n} from '../pipes'\n\nconst column: VChartSpecPipeline = [\n initColumn,\n stackCornerRadius,\n barMaxWidth,\n stackInverse,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n xBand,\n yLinear,\n label,\n tooltip,\n verticalCrosshairRect,\n colorAdapter(discreteLegend, colorLegend),\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n columnPolynomialRegressionLine,\n]\n\nconst pivotColumn: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n datasetPivot,\n pivotIndicators([\n initColumn,\n stackCornerRadius,\n barMaxWidth,\n stackInverse,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n xBand,\n pivotAxisStyle(yLinear),\n label,\n tooltip,\n verticalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n columnPolynomialRegressionLine,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n]\n\nexport const columnSpecPipeline = [pivotAdapter(column, pivotColumn)]\n"],"names":["column","initColumn","stackCornerRadius","barMaxWidth","stackInverse","colorAdapter","color","linearColor","backgroundColor","datasetXY","progressive","xBand","yLinear","label","tooltip","verticalCrosshairRect","discreteLegend","colorLegend","colorBarStyleFill","barStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","columnPolynomialRegressionLine","pivotColumn","initPivot","pivotGridStyle","pivotIndicatorsAsRow","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","columnSpecPipeline","pivotAdapter"],"mappings":";AAwCA,MAAMA,SAA6B;IACjCC;IACAC;IACAC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAV,aAAaW,gBAAgBC;IAC7BC,kBAAkBC;IAClBC;IACAC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,cAAsC;IAC1CC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACd7B;QACAC;QACAC;QACAC;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACAoB,eAAenB;QACfC;QACAC;QACAC;QACAG,kBAAkBC;QAClBC;QACAC;QACAC;QACAC;QACAC;KACD;IACDQ;IACAC;IACAC;IACA7B,aAAa8B,qBAAqBC;CACnC;AAEM,MAAMC,qBAAqB;IAACC,aAAatC,QAAQyB;CAAa"}
1
+ {"version":3,"file":"pipeline/spec/chart/pipeline/column.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/column.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n initColumn,\n datasetXY,\n xBand,\n yLinear,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n pivotAdapter,\n initPivot,\n datasetPivot,\n pivotIndicators,\n pivotDiscreteLegend,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotRowDimensions,\n pivotColumnDimensions,\n stackInverse,\n barStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n verticalCrosshairRect,\n stackCornerRadius,\n progressive,\n colorAdapter,\n linearColor,\n colorLegend,\n colorBarStyleFill,\n pivotColorLegend,\n barMaxWidth,\n columnPolynomialRegressionLine,\n pivotAxisStyle,\n pivotTitle,\n dimensionLinkage,\n} from '../pipes'\n\nconst column: VChartSpecPipeline = [\n initColumn,\n stackCornerRadius,\n barMaxWidth,\n stackInverse,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n xBand,\n yLinear,\n label,\n tooltip,\n verticalCrosshairRect,\n colorAdapter(discreteLegend, colorLegend),\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n columnPolynomialRegressionLine,\n]\n\nconst pivotColumn: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n datasetPivot,\n pivotIndicators([\n initColumn,\n stackCornerRadius,\n barMaxWidth,\n stackInverse,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n xBand,\n pivotAxisStyle(yLinear),\n label,\n tooltip,\n verticalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n columnPolynomialRegressionLine,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n dimensionLinkage,\n]\n\nexport const columnSpecPipeline = [pivotAdapter(column, pivotColumn)]\n"],"names":["column","initColumn","stackCornerRadius","barMaxWidth","stackInverse","colorAdapter","color","linearColor","backgroundColor","datasetXY","progressive","xBand","yLinear","label","tooltip","verticalCrosshairRect","discreteLegend","colorLegend","colorBarStyleFill","barStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","columnPolynomialRegressionLine","pivotColumn","initPivot","pivotGridStyle","pivotIndicatorsAsRow","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","dimensionLinkage","columnSpecPipeline","pivotAdapter"],"mappings":";AAyCA,MAAMA,SAA6B;IACjCC;IACAC;IACAC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAV,aAAaW,gBAAgBC;IAC7BC,kBAAkBC;IAClBC;IACAC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,cAAsC;IAC1CC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACd7B;QACAC;QACAC;QACAC;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACAoB,eAAenB;QACfC;QACAC;QACAC;QACAG,kBAAkBC;QAClBC;QACAC;QACAC;QACAC;QACAC;KACD;IACDQ;IACAC;IACAC;IACA7B,aAAa8B,qBAAqBC;IAClCC;CACD;AAEM,MAAMC,qBAAqB;IAACC,aAAavC,QAAQyB;CAAa"}
@@ -1,4 +1,4 @@
1
- import { annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, barGapInGroup, barMaxWidth, barStyle, color, colorAdapter, colorBarStyleFill, colorLegend, datasetPivot, datasetXY, discreteLegend, initColumnParallel, initPivot, label, linearColor, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, progressive, stackCornerRadius, tooltip, verticalCrosshairRect, xBand, yLinear } from "../pipes/index.js";
1
+ import { annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, barGapInGroup, barMaxWidth, barStyle, color, colorAdapter, colorBarStyleFill, colorLegend, datasetPivot, datasetXY, dimensionLinkage, discreteLegend, initColumnParallel, initPivot, label, linearColor, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, progressive, stackCornerRadius, tooltip, verticalCrosshairRect, xBand, yLinear } from "../pipes/index.js";
2
2
  const columnParallel = [
3
3
  initColumnParallel,
4
4
  stackCornerRadius,
@@ -47,7 +47,8 @@ const pivotColumnParallel = [
47
47
  pivotRowDimensions,
48
48
  pivotColumnDimensions,
49
49
  pivotTitle,
50
- colorAdapter(pivotDiscreteLegend, pivotColorLegend)
50
+ colorAdapter(pivotDiscreteLegend, pivotColorLegend),
51
+ dimensionLinkage
51
52
  ];
52
53
  const columnParallelSpecPipeline = [
53
54
  pivotAdapter(columnParallel, pivotColumnParallel)
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/spec/chart/pipeline/columnParallel.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/columnParallel.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n datasetXY,\n xBand,\n yLinear,\n initColumnParallel,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n pivotIndicators,\n initPivot,\n datasetPivot,\n pivotAdapter,\n pivotDiscreteLegend,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotRowDimensions,\n pivotColumnDimensions,\n barStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n verticalCrosshairRect,\n stackCornerRadius,\n progressive,\n linearColor,\n colorAdapter,\n colorLegend,\n colorBarStyleFill,\n pivotColorLegend,\n barMaxWidth,\n barGapInGroup,\n pivotAxisStyle,\n pivotTitle,\n} from '../pipes'\n\nconst columnParallel: VChartSpecPipeline = [\n initColumnParallel,\n stackCornerRadius,\n barMaxWidth,\n barGapInGroup,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n xBand,\n yLinear,\n label,\n tooltip,\n colorAdapter(discreteLegend, colorLegend),\n verticalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n]\n\nconst pivotColumnParallel: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n datasetPivot,\n pivotIndicators([\n initColumnParallel,\n stackCornerRadius,\n barMaxWidth,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n xBand,\n pivotAxisStyle(yLinear),\n label,\n tooltip,\n verticalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n]\n\nexport const columnParallelSpecPipeline = [pivotAdapter(columnParallel, pivotColumnParallel)]\n"],"names":["columnParallel","initColumnParallel","stackCornerRadius","barMaxWidth","barGapInGroup","colorAdapter","color","linearColor","backgroundColor","datasetXY","progressive","xBand","yLinear","label","tooltip","discreteLegend","colorLegend","verticalCrosshairRect","colorBarStyleFill","barStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","pivotColumnParallel","initPivot","pivotGridStyle","pivotIndicatorsAsRow","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","columnParallelSpecPipeline","pivotAdapter"],"mappings":";AAuCA,MAAMA,iBAAqC;IACzCC;IACAC;IACAC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAT,aAAaU,gBAAgBC;IAC7BC;IACAC,kBAAkBC;IAClBC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,sBAA8C;IAClDC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACd5B;QACAC;QACAC;QACAE,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACAmB,eAAelB;QACfC;QACAC;QACAG;QACAC,kBAAkBC;QAClBC;QACAC;QACAC;QACAC;KACD;IACDQ;IACAC;IACAC;IACA5B,aAAa6B,qBAAqBC;CACnC;AAEM,MAAMC,6BAA6B;IAACC,aAAarC,gBAAgBwB;CAAqB"}
1
+ {"version":3,"file":"pipeline/spec/chart/pipeline/columnParallel.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/columnParallel.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n datasetXY,\n xBand,\n yLinear,\n initColumnParallel,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n pivotIndicators,\n initPivot,\n datasetPivot,\n pivotAdapter,\n pivotDiscreteLegend,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotRowDimensions,\n pivotColumnDimensions,\n barStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n verticalCrosshairRect,\n stackCornerRadius,\n progressive,\n linearColor,\n colorAdapter,\n colorLegend,\n colorBarStyleFill,\n pivotColorLegend,\n barMaxWidth,\n barGapInGroup,\n pivotAxisStyle,\n pivotTitle,\n dimensionLinkage,\n} from '../pipes'\n\nconst columnParallel: VChartSpecPipeline = [\n initColumnParallel,\n stackCornerRadius,\n barMaxWidth,\n barGapInGroup,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n xBand,\n yLinear,\n label,\n tooltip,\n colorAdapter(discreteLegend, colorLegend),\n verticalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n]\n\nconst pivotColumnParallel: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n datasetPivot,\n pivotIndicators([\n initColumnParallel,\n stackCornerRadius,\n barMaxWidth,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n xBand,\n pivotAxisStyle(yLinear),\n label,\n tooltip,\n verticalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n dimensionLinkage,\n]\n\nexport const columnParallelSpecPipeline = [pivotAdapter(columnParallel, pivotColumnParallel)]\n"],"names":["columnParallel","initColumnParallel","stackCornerRadius","barMaxWidth","barGapInGroup","colorAdapter","color","linearColor","backgroundColor","datasetXY","progressive","xBand","yLinear","label","tooltip","discreteLegend","colorLegend","verticalCrosshairRect","colorBarStyleFill","barStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","pivotColumnParallel","initPivot","pivotGridStyle","pivotIndicatorsAsRow","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","dimensionLinkage","columnParallelSpecPipeline","pivotAdapter"],"mappings":";AAwCA,MAAMA,iBAAqC;IACzCC;IACAC;IACAC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAT,aAAaU,gBAAgBC;IAC7BC;IACAC,kBAAkBC;IAClBC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,sBAA8C;IAClDC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACd5B;QACAC;QACAC;QACAE,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACAmB,eAAelB;QACfC;QACAC;QACAG;QACAC,kBAAkBC;QAClBC;QACAC;QACAC;QACAC;KACD;IACDQ;IACAC;IACAC;IACA5B,aAAa6B,qBAAqBC;IAClCC;CACD;AAEM,MAAMC,6BAA6B;IAACC,aAAatC,gBAAgBwB;CAAqB"}
@@ -1,4 +1,4 @@
1
- import { annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, barMaxWidth, barStyle, color, colorAdapter, colorBarStyleFill, colorLegend, datasetPivot, datasetXY, discreteLegend, initColumn, initPivot, label, linearColor, percent, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, progressive, stackCornerRadius, stackInverse, tooltip, verticalCrosshairRect, xBand, yLinear } from "../pipes/index.js";
1
+ import { annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, barMaxWidth, barStyle, color, colorAdapter, colorBarStyleFill, colorLegend, datasetPivot, datasetXY, dimensionLinkage, discreteLegend, initColumn, initPivot, label, linearColor, percent, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, progressive, stackCornerRadius, stackInverse, tooltip, verticalCrosshairRect, xBand, yLinear } from "../pipes/index.js";
2
2
  const columnPercent = [
3
3
  initColumn,
4
4
  stackCornerRadius,
@@ -50,7 +50,8 @@ const pivotColumnPercent = [
50
50
  pivotRowDimensions,
51
51
  pivotColumnDimensions,
52
52
  pivotTitle,
53
- colorAdapter(pivotDiscreteLegend, pivotColorLegend)
53
+ colorAdapter(pivotDiscreteLegend, pivotColorLegend),
54
+ dimensionLinkage
54
55
  ];
55
56
  const columnPercentSpecPipeline = [
56
57
  pivotAdapter(columnPercent, pivotColumnPercent)
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/spec/chart/pipeline/columnPercent.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/columnPercent.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n initColumn,\n datasetXY,\n xBand,\n yLinear,\n percent,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n pivotAdapter,\n initPivot,\n datasetPivot,\n pivotIndicators,\n pivotDiscreteLegend,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotRowDimensions,\n pivotColumnDimensions,\n stackInverse,\n barStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n verticalCrosshairRect,\n stackCornerRadius,\n progressive,\n colorAdapter,\n linearColor,\n colorLegend,\n colorBarStyleFill,\n pivotColorLegend,\n barMaxWidth,\n pivotAxisStyle,\n pivotTitle,\n} from '../pipes'\n\nconst columnPercent: VChartSpecPipeline = [\n initColumn,\n stackCornerRadius,\n stackInverse,\n barMaxWidth,\n colorAdapter(color, linearColor),\n backgroundColor,\n percent,\n datasetXY,\n progressive,\n xBand,\n yLinear,\n label,\n tooltip,\n colorAdapter(discreteLegend, colorLegend),\n verticalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n]\n\nconst pivotColumnPercent: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n datasetPivot,\n pivotIndicators([\n initColumn,\n stackCornerRadius,\n stackInverse,\n barMaxWidth,\n colorAdapter(color, linearColor),\n percent,\n backgroundColor,\n datasetXY,\n progressive,\n xBand,\n pivotAxisStyle(yLinear),\n label,\n tooltip,\n verticalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n]\n\nexport const columnPercentSpecPipeline = [pivotAdapter(columnPercent, pivotColumnPercent)]\n"],"names":["columnPercent","initColumn","stackCornerRadius","stackInverse","barMaxWidth","colorAdapter","color","linearColor","backgroundColor","percent","datasetXY","progressive","xBand","yLinear","label","tooltip","discreteLegend","colorLegend","verticalCrosshairRect","colorBarStyleFill","barStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","pivotColumnPercent","initPivot","pivotGridStyle","pivotIndicatorsAsRow","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","columnPercentSpecPipeline","pivotAdapter"],"mappings":";AAwCA,MAAMA,gBAAoC;IACxCC;IACAC;IACAC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAV,aAAaW,gBAAgBC;IAC7BC;IACAC,kBAAkBC;IAClBC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,qBAA6C;IACjDC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACd7B;QACAC;QACAC;QACAC;QACAC,aAAaC,OAAOC;QACpBE;QACAD;QACAE;QACAC;QACAC;QACAmB,eAAelB;QACfC;QACAC;QACAG;QACAC,kBAAkBC;QAClBC;QACAC;QACAC;QACAC;KACD;IACDQ;IACAC;IACAC;IACA7B,aAAa8B,qBAAqBC;CACnC;AAEM,MAAMC,4BAA4B;IAACC,aAAatC,eAAeyB;CAAoB"}
1
+ {"version":3,"file":"pipeline/spec/chart/pipeline/columnPercent.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/columnPercent.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n initColumn,\n datasetXY,\n xBand,\n yLinear,\n percent,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n pivotAdapter,\n initPivot,\n datasetPivot,\n pivotIndicators,\n pivotDiscreteLegend,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotRowDimensions,\n pivotColumnDimensions,\n stackInverse,\n barStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n verticalCrosshairRect,\n stackCornerRadius,\n progressive,\n colorAdapter,\n linearColor,\n colorLegend,\n colorBarStyleFill,\n pivotColorLegend,\n barMaxWidth,\n pivotAxisStyle,\n pivotTitle,\n dimensionLinkage,\n} from '../pipes'\n\nconst columnPercent: VChartSpecPipeline = [\n initColumn,\n stackCornerRadius,\n stackInverse,\n barMaxWidth,\n colorAdapter(color, linearColor),\n backgroundColor,\n percent,\n datasetXY,\n progressive,\n xBand,\n yLinear,\n label,\n tooltip,\n colorAdapter(discreteLegend, colorLegend),\n verticalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n]\n\nconst pivotColumnPercent: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n datasetPivot,\n pivotIndicators([\n initColumn,\n stackCornerRadius,\n stackInverse,\n barMaxWidth,\n colorAdapter(color, linearColor),\n percent,\n backgroundColor,\n datasetXY,\n progressive,\n xBand,\n pivotAxisStyle(yLinear),\n label,\n tooltip,\n verticalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n dimensionLinkage,\n]\n\nexport const columnPercentSpecPipeline = [pivotAdapter(columnPercent, pivotColumnPercent)]\n"],"names":["columnPercent","initColumn","stackCornerRadius","stackInverse","barMaxWidth","colorAdapter","color","linearColor","backgroundColor","percent","datasetXY","progressive","xBand","yLinear","label","tooltip","discreteLegend","colorLegend","verticalCrosshairRect","colorBarStyleFill","barStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","pivotColumnPercent","initPivot","pivotGridStyle","pivotIndicatorsAsRow","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","dimensionLinkage","columnPercentSpecPipeline","pivotAdapter"],"mappings":";AAyCA,MAAMA,gBAAoC;IACxCC;IACAC;IACAC;IACAC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAV,aAAaW,gBAAgBC;IAC7BC;IACAC,kBAAkBC;IAClBC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,qBAA6C;IACjDC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACd7B;QACAC;QACAC;QACAC;QACAC,aAAaC,OAAOC;QACpBE;QACAD;QACAE;QACAC;QACAC;QACAmB,eAAelB;QACfC;QACAC;QACAG;QACAC,kBAAkBC;QAClBC;QACAC;QACAC;QACAC;KACD;IACDQ;IACAC;IACAC;IACA7B,aAAa8B,qBAAqBC;IAClCC;CACD;AAEM,MAAMC,4BAA4B;IAACC,aAAavC,eAAeyB;CAAoB"}
@@ -1,4 +1,4 @@
1
- import { annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, areaStyle, backgroundColor, barGapInGroup, barMaxWidth, barStyle, color, colorAdapter, colorAreaStyleFill, colorBarStyleFill, colorLegend, colorLineStyleFill, colorPointStyleFill, datasetPivot, datasetPrimary, datasetSecondary, discreteLegend, dualChartTypePrimary, dualChartTypeSecondary, initDualAxisPrimary, initDualAxisSecondary, initPivot, labelPrimary, labelSecondary, lineStyle, linearColor, linearColorForDualAxis, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, pointStateDimensionHover, pointStyle, progressive, series, seriesDualAxis, stackCornerRadius, tooltipPrimary, tooltipSecondary, verticalCrosshairRect, xBand, yLinearPrimary, yLinearSecondary } from "../pipes/index.js";
1
+ import { annotationAreaBand, annotationHorizontalLine, annotationPointOfDualAxis, annotationVerticalLine, areaStyle, backgroundColor, barGapInGroup, barMaxWidth, barStyle, color, colorAdapter, colorAreaStyleFill, colorBarStyleFill, colorLegend, colorLineStyleFill, colorPointStyleFill, datasetPivot, datasetPrimary, datasetSecondary, dimensionLinkage, discreteLegend, dualChartTypePrimary, dualChartTypeSecondary, initDualAxisPrimary, initDualAxisSecondary, initPivot, labelPrimary, labelSecondary, lineStyle, linearColor, linearColorForDualAxis, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, pointStateDimensionHover, pointStyle, progressive, series, seriesDualAxis, stackCornerRadius, tooltipPrimary, tooltipSecondary, verticalCrosshairRect, xBand, yLinearPrimary, yLinearSecondary } from "../pipes/index.js";
2
2
  const dualAxis = [
3
3
  seriesDualAxis([
4
4
  initDualAxisPrimary,
@@ -38,7 +38,7 @@ const dualAxis = [
38
38
  colorAdapter(discreteLegend, colorLegend),
39
39
  backgroundColor,
40
40
  verticalCrosshairRect,
41
- annotationPoint,
41
+ annotationPointOfDualAxis,
42
42
  annotationVerticalLine,
43
43
  annotationHorizontalLine,
44
44
  annotationAreaBand
@@ -86,7 +86,7 @@ const pivotDualAxis = [
86
86
  colorAdapter(color, linearColor),
87
87
  backgroundColor,
88
88
  verticalCrosshairRect,
89
- annotationPoint,
89
+ annotationPointOfDualAxis,
90
90
  annotationVerticalLine,
91
91
  annotationHorizontalLine,
92
92
  annotationAreaBand
@@ -94,7 +94,8 @@ const pivotDualAxis = [
94
94
  pivotRowDimensions,
95
95
  pivotColumnDimensions,
96
96
  pivotTitle,
97
- colorAdapter(pivotDiscreteLegend, pivotColorLegend)
97
+ colorAdapter(pivotDiscreteLegend, pivotColorLegend),
98
+ dimensionLinkage
98
99
  ];
99
100
  const dualAxisSpecPipeline = [
100
101
  pivotAdapter(dualAxis, pivotDualAxis)
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/spec/chart/pipeline/dualAxis.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/dualAxis.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n xBand,\n backgroundColor,\n discreteLegend,\n color,\n initPivot,\n datasetPivot,\n pivotDiscreteLegend,\n pivotIndicators,\n pivotAdapter,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n pointStyle,\n lineStyle,\n pointStateDimensionHover,\n progressive,\n datasetPrimary,\n datasetSecondary,\n areaStyle,\n barStyle,\n verticalCrosshairRect,\n yLinearSecondary,\n initDualAxisPrimary,\n initDualAxisSecondary,\n labelPrimary,\n labelSecondary,\n tooltipPrimary,\n tooltipSecondary,\n yLinearPrimary,\n dualChartTypePrimary,\n dualChartTypeSecondary,\n seriesDualAxis,\n series,\n colorBarStyleFill,\n colorPointStyleFill,\n colorLineStyleFill,\n colorAreaStyleFill,\n linearColor,\n colorAdapter,\n colorLegend,\n pivotColorLegend,\n linearColorForDualAxis,\n annotationAreaBand,\n barMaxWidth,\n barGapInGroup,\n stackCornerRadius,\n pivotTitle,\n pivotAxisStyle,\n} from '../pipes'\n\nconst dualAxis: VChartSpecPipeline = [\n seriesDualAxis(\n [\n initDualAxisPrimary,\n dualChartTypePrimary,\n datasetPrimary,\n labelPrimary,\n tooltipPrimary,\n progressive,\n\n barMaxWidth,\n barGapInGroup,\n stackCornerRadius,\n\n colorBarStyleFill(barStyle),\n colorPointStyleFill(pointStyle),\n pointStateDimensionHover,\n colorLineStyleFill(lineStyle),\n colorAreaStyleFill(areaStyle),\n ],\n [\n initDualAxisSecondary,\n dualChartTypeSecondary,\n datasetSecondary,\n labelSecondary,\n tooltipSecondary,\n progressive,\n\n barMaxWidth,\n barGapInGroup,\n stackCornerRadius,\n\n colorBarStyleFill(barStyle),\n colorPointStyleFill(pointStyle),\n pointStateDimensionHover,\n colorLineStyleFill(lineStyle),\n colorAreaStyleFill(areaStyle),\n ],\n ),\n xBand,\n yLinearPrimary,\n yLinearSecondary,\n\n colorAdapter(color, linearColorForDualAxis),\n colorAdapter(discreteLegend, colorLegend),\n\n backgroundColor,\n\n verticalCrosshairRect,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n]\n\nconst pivotDualAxis: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n datasetPivot,\n pivotIndicators([\n series(\n [\n initDualAxisPrimary,\n dualChartTypePrimary,\n datasetPrimary,\n labelPrimary,\n tooltipPrimary,\n progressive,\n\n stackCornerRadius,\n barMaxWidth,\n barGapInGroup,\n\n colorBarStyleFill(barStyle),\n colorPointStyleFill(pointStyle),\n pointStateDimensionHover,\n colorLineStyleFill(lineStyle),\n colorAreaStyleFill(areaStyle),\n ],\n [\n initDualAxisSecondary,\n dualChartTypeSecondary,\n datasetSecondary,\n labelSecondary,\n tooltipSecondary,\n progressive,\n\n stackCornerRadius,\n barMaxWidth,\n barGapInGroup,\n\n colorBarStyleFill(barStyle),\n colorPointStyleFill(pointStyle),\n pointStateDimensionHover,\n colorLineStyleFill(lineStyle),\n colorAreaStyleFill(areaStyle),\n ],\n ),\n xBand,\n yLinearPrimary,\n pivotAxisStyle(yLinearSecondary),\n colorAdapter(color, linearColor),\n backgroundColor,\n verticalCrosshairRect,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n]\n\nexport const dualAxisSpecPipeline = [pivotAdapter(dualAxis, pivotDualAxis)]\n"],"names":["dualAxis","seriesDualAxis","initDualAxisPrimary","dualChartTypePrimary","datasetPrimary","labelPrimary","tooltipPrimary","progressive","barMaxWidth","barGapInGroup","stackCornerRadius","colorBarStyleFill","barStyle","colorPointStyleFill","pointStyle","pointStateDimensionHover","colorLineStyleFill","lineStyle","colorAreaStyleFill","areaStyle","initDualAxisSecondary","dualChartTypeSecondary","datasetSecondary","labelSecondary","tooltipSecondary","xBand","yLinearPrimary","yLinearSecondary","colorAdapter","color","linearColorForDualAxis","discreteLegend","colorLegend","backgroundColor","verticalCrosshairRect","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","pivotDualAxis","initPivot","pivotGridStyle","pivotIndicatorsAsRow","datasetPivot","pivotIndicators","series","pivotAxisStyle","linearColor","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","dualAxisSpecPipeline","pivotAdapter"],"mappings":";AAwDA,MAAMA,WAA+B;IACnCC,eACE;QACEC;QACAC;QACAC;QACAC;QACAC;QACAC;QAEAC;QACAC;QACAC;QAEAC,kBAAkBC;QAClBC,oBAAoBC;QACpBC;QACAC,mBAAmBC;QACnBC,mBAAmBC;KACpB,EACD;QACEC;QACAC;QACAC;QACAC;QACAC;QACAjB;QAEAC;QACAC;QACAC;QAEAC,kBAAkBC;QAClBC,oBAAoBC;QACpBC;QACAC,mBAAmBC;QACnBC,mBAAmBC;KACpB;IAEHM;IACAC;IACAC;IAEAC,aAAaC,OAAOC;IACpBF,aAAaG,gBAAgBC;IAE7BC;IAEAC;IACAC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,gBAAwC;IAC5CC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACdC,OACE;YACE3C;YACAC;YACAC;YACAC;YACAC;YACAC;YAEAG;YACAF;YACAC;YAEAE,kBAAkBC;YAClBC,oBAAoBC;YACpBC;YACAC,mBAAmBC;YACnBC,mBAAmBC;SACpB,EACD;YACEC;YACAC;YACAC;YACAC;YACAC;YACAjB;YAEAG;YACAF;YACAC;YAEAE,kBAAkBC;YAClBC,oBAAoBC;YACpBC;YACAC,mBAAmBC;YACnBC,mBAAmBC;SACpB;QAEHM;QACAC;QACAoB,eAAenB;QACfC,aAAaC,OAAOkB;QACpBd;QACAC;QACAC;QACAC;QACAC;QACAC;KACD;IACDU;IACAC;IACAC;IACAtB,aAAauB,qBAAqBC;CACnC;AAEM,MAAMC,uBAAuB;IAACC,aAAatD,UAAUuC;CAAe"}
1
+ {"version":3,"file":"pipeline/spec/chart/pipeline/dualAxis.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/dualAxis.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n xBand,\n backgroundColor,\n discreteLegend,\n color,\n initPivot,\n datasetPivot,\n pivotDiscreteLegend,\n pivotIndicators,\n pivotAdapter,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n annotationVerticalLine,\n annotationHorizontalLine,\n pointStyle,\n lineStyle,\n pointStateDimensionHover,\n progressive,\n datasetPrimary,\n datasetSecondary,\n areaStyle,\n barStyle,\n verticalCrosshairRect,\n yLinearSecondary,\n initDualAxisPrimary,\n initDualAxisSecondary,\n labelPrimary,\n labelSecondary,\n tooltipPrimary,\n tooltipSecondary,\n yLinearPrimary,\n dualChartTypePrimary,\n dualChartTypeSecondary,\n seriesDualAxis,\n series,\n colorBarStyleFill,\n colorPointStyleFill,\n colorLineStyleFill,\n colorAreaStyleFill,\n linearColor,\n colorAdapter,\n colorLegend,\n pivotColorLegend,\n linearColorForDualAxis,\n annotationAreaBand,\n barMaxWidth,\n barGapInGroup,\n stackCornerRadius,\n pivotTitle,\n pivotAxisStyle,\n dimensionLinkage,\n annotationPointOfDualAxis,\n} from '../pipes'\n\nconst dualAxis: VChartSpecPipeline = [\n seriesDualAxis(\n [\n initDualAxisPrimary,\n dualChartTypePrimary,\n datasetPrimary,\n labelPrimary,\n tooltipPrimary,\n progressive,\n\n barMaxWidth,\n barGapInGroup,\n stackCornerRadius,\n\n colorBarStyleFill(barStyle),\n colorPointStyleFill(pointStyle),\n pointStateDimensionHover,\n colorLineStyleFill(lineStyle),\n colorAreaStyleFill(areaStyle),\n ],\n [\n initDualAxisSecondary,\n dualChartTypeSecondary,\n datasetSecondary,\n labelSecondary,\n tooltipSecondary,\n progressive,\n\n barMaxWidth,\n barGapInGroup,\n stackCornerRadius,\n\n colorBarStyleFill(barStyle),\n colorPointStyleFill(pointStyle),\n pointStateDimensionHover,\n colorLineStyleFill(lineStyle),\n colorAreaStyleFill(areaStyle),\n ],\n ),\n xBand,\n yLinearPrimary,\n yLinearSecondary,\n\n colorAdapter(color, linearColorForDualAxis),\n colorAdapter(discreteLegend, colorLegend),\n\n backgroundColor,\n\n verticalCrosshairRect,\n annotationPointOfDualAxis,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n]\n\nconst pivotDualAxis: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n datasetPivot,\n pivotIndicators([\n series(\n [\n initDualAxisPrimary,\n dualChartTypePrimary,\n datasetPrimary,\n labelPrimary,\n tooltipPrimary,\n progressive,\n\n stackCornerRadius,\n barMaxWidth,\n barGapInGroup,\n\n colorBarStyleFill(barStyle),\n colorPointStyleFill(pointStyle),\n pointStateDimensionHover,\n colorLineStyleFill(lineStyle),\n colorAreaStyleFill(areaStyle),\n ],\n [\n initDualAxisSecondary,\n dualChartTypeSecondary,\n datasetSecondary,\n labelSecondary,\n tooltipSecondary,\n progressive,\n\n stackCornerRadius,\n barMaxWidth,\n barGapInGroup,\n\n colorBarStyleFill(barStyle),\n colorPointStyleFill(pointStyle),\n pointStateDimensionHover,\n colorLineStyleFill(lineStyle),\n colorAreaStyleFill(areaStyle),\n ],\n ),\n xBand,\n yLinearPrimary,\n pivotAxisStyle(yLinearSecondary),\n colorAdapter(color, linearColor),\n backgroundColor,\n verticalCrosshairRect,\n annotationPointOfDualAxis,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n dimensionLinkage,\n]\n\nexport const dualAxisSpecPipeline = [pivotAdapter(dualAxis, pivotDualAxis)]\n"],"names":["dualAxis","seriesDualAxis","initDualAxisPrimary","dualChartTypePrimary","datasetPrimary","labelPrimary","tooltipPrimary","progressive","barMaxWidth","barGapInGroup","stackCornerRadius","colorBarStyleFill","barStyle","colorPointStyleFill","pointStyle","pointStateDimensionHover","colorLineStyleFill","lineStyle","colorAreaStyleFill","areaStyle","initDualAxisSecondary","dualChartTypeSecondary","datasetSecondary","labelSecondary","tooltipSecondary","xBand","yLinearPrimary","yLinearSecondary","colorAdapter","color","linearColorForDualAxis","discreteLegend","colorLegend","backgroundColor","verticalCrosshairRect","annotationPointOfDualAxis","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","pivotDualAxis","initPivot","pivotGridStyle","pivotIndicatorsAsRow","datasetPivot","pivotIndicators","series","pivotAxisStyle","linearColor","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","dimensionLinkage","dualAxisSpecPipeline","pivotAdapter"],"mappings":";AAyDA,MAAMA,WAA+B;IACnCC,eACE;QACEC;QACAC;QACAC;QACAC;QACAC;QACAC;QAEAC;QACAC;QACAC;QAEAC,kBAAkBC;QAClBC,oBAAoBC;QACpBC;QACAC,mBAAmBC;QACnBC,mBAAmBC;KACpB,EACD;QACEC;QACAC;QACAC;QACAC;QACAC;QACAjB;QAEAC;QACAC;QACAC;QAEAC,kBAAkBC;QAClBC,oBAAoBC;QACpBC;QACAC,mBAAmBC;QACnBC,mBAAmBC;KACpB;IAEHM;IACAC;IACAC;IAEAC,aAAaC,OAAOC;IACpBF,aAAaG,gBAAgBC;IAE7BC;IAEAC;IACAC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,gBAAwC;IAC5CC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACdC,OACE;YACE3C;YACAC;YACAC;YACAC;YACAC;YACAC;YAEAG;YACAF;YACAC;YAEAE,kBAAkBC;YAClBC,oBAAoBC;YACpBC;YACAC,mBAAmBC;YACnBC,mBAAmBC;SACpB,EACD;YACEC;YACAC;YACAC;YACAC;YACAC;YACAjB;YAEAG;YACAF;YACAC;YAEAE,kBAAkBC;YAClBC,oBAAoBC;YACpBC;YACAC,mBAAmBC;YACnBC,mBAAmBC;SACpB;QAEHM;QACAC;QACAoB,eAAenB;QACfC,aAAaC,OAAOkB;QACpBd;QACAC;QACAC;QACAC;QACAC;QACAC;KACD;IACDU;IACAC;IACAC;IACAtB,aAAauB,qBAAqBC;IAClCC;CACD;AAEM,MAAMC,uBAAuB;IAACC,aAAavD,UAAUuC;CAAe"}
@@ -1,4 +1,4 @@
1
- import { annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, barStyle, color, colorAdapter, colorBarStyleFill, colorLegend, datasetHistogram, datasetPivot, discreteLegend, ecdfRegressionLine, histogramVerticalCrosshairRect, initHistogram, initPivot, kdeRegressionLine, label, linearColor, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotRowDimensions, pivotTitle, progressive, tooltipHistogram, xLinear, yLinear } from "../pipes/index.js";
1
+ import { annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, barStyle, color, colorAdapter, colorBarStyleFill, colorLegend, datasetHistogram, datasetPivot, dimensionLinkage, discreteLegend, ecdfRegressionLine, histogramVerticalCrosshairRect, initHistogram, initPivot, kdeRegressionLine, label, linearColor, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotRowDimensions, pivotTitle, progressive, tooltipHistogram, xLinear, yLinear } from "../pipes/index.js";
2
2
  const histogram = [
3
3
  initHistogram,
4
4
  colorAdapter(color, linearColor),
@@ -45,7 +45,8 @@ const pivotHistogram = [
45
45
  pivotRowDimensions,
46
46
  pivotColumnDimensions,
47
47
  pivotTitle,
48
- colorAdapter(pivotDiscreteLegend, pivotColorLegend)
48
+ colorAdapter(pivotDiscreteLegend, pivotColorLegend),
49
+ dimensionLinkage
49
50
  ];
50
51
  const histogramSpecPipeline = [
51
52
  pivotAdapter(histogram, pivotHistogram)
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/spec/chart/pipeline/histogram.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/histogram.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n label,\n xLinear,\n backgroundColor,\n discreteLegend,\n color,\n pivotAdapter,\n initPivot,\n datasetPivot,\n pivotIndicators,\n pivotDiscreteLegend,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n barStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n datasetHistogram,\n progressive,\n colorAdapter,\n linearColor,\n colorLegend,\n colorBarStyleFill,\n pivotColorLegend,\n initHistogram,\n yLinear,\n histogramVerticalCrosshairRect,\n tooltipHistogram,\n kdeRegressionLine,\n ecdfRegressionLine,\n pivotTitle,\n pivotAxisStyle,\n} from '../pipes'\n\nconst histogram: VChartSpecPipeline = [\n initHistogram,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetHistogram,\n progressive,\n xLinear,\n yLinear,\n label,\n tooltipHistogram,\n colorAdapter(discreteLegend, colorLegend),\n histogramVerticalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n kdeRegressionLine,\n ecdfRegressionLine,\n]\n\nconst pivotHistogram: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n datasetPivot,\n pivotIndicators([\n initHistogram,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetHistogram,\n progressive,\n xLinear,\n pivotAxisStyle(yLinear),\n label,\n tooltipHistogram,\n colorBarStyleFill(barStyle),\n histogramVerticalCrosshairRect,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n kdeRegressionLine,\n ecdfRegressionLine,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n]\n\nexport const histogramSpecPipeline = [pivotAdapter(histogram, pivotHistogram)]\n"],"names":["histogram","initHistogram","colorAdapter","color","linearColor","backgroundColor","datasetHistogram","progressive","xLinear","yLinear","label","tooltipHistogram","discreteLegend","colorLegend","histogramVerticalCrosshairRect","colorBarStyleFill","barStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","kdeRegressionLine","ecdfRegressionLine","pivotHistogram","initPivot","pivotGridStyle","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","histogramSpecPipeline","pivotAdapter"],"mappings":";AAqCA,MAAMA,YAAgC;IACpCC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAT,aAAaU,gBAAgBC;IAC7BC;IACAC,kBAAkBC;IAClBC;IACAC;IACAC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,iBAAyC;IAC7CC;IACAC;IACAC;IACAC,gBAAgB;QACd1B;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACAoB,eAAenB;QACfC;QACAC;QACAI,kBAAkBC;QAClBF;QACAG;QACAC;QACAC;QACAC;QACAC;QACAC;KACD;IACDO;IACAC;IACAC;IACA7B,aAAa8B,qBAAqBC;CACnC;AAEM,MAAMC,wBAAwB;IAACC,aAAanC,WAAWuB;CAAgB"}
1
+ {"version":3,"file":"pipeline/spec/chart/pipeline/histogram.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/histogram.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n label,\n xLinear,\n backgroundColor,\n discreteLegend,\n color,\n pivotAdapter,\n initPivot,\n datasetPivot,\n pivotIndicators,\n pivotDiscreteLegend,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n barStyle,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n datasetHistogram,\n progressive,\n colorAdapter,\n linearColor,\n colorLegend,\n colorBarStyleFill,\n pivotColorLegend,\n initHistogram,\n yLinear,\n histogramVerticalCrosshairRect,\n tooltipHistogram,\n kdeRegressionLine,\n ecdfRegressionLine,\n pivotTitle,\n pivotAxisStyle,\n dimensionLinkage,\n} from '../pipes'\n\nconst histogram: VChartSpecPipeline = [\n initHistogram,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetHistogram,\n progressive,\n xLinear,\n yLinear,\n label,\n tooltipHistogram,\n colorAdapter(discreteLegend, colorLegend),\n histogramVerticalCrosshairRect,\n colorBarStyleFill(barStyle),\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n kdeRegressionLine,\n ecdfRegressionLine,\n]\n\nconst pivotHistogram: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n datasetPivot,\n pivotIndicators([\n initHistogram,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetHistogram,\n progressive,\n xLinear,\n pivotAxisStyle(yLinear),\n label,\n tooltipHistogram,\n colorBarStyleFill(barStyle),\n histogramVerticalCrosshairRect,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationAreaBand,\n kdeRegressionLine,\n ecdfRegressionLine,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n dimensionLinkage,\n]\n\nexport const histogramSpecPipeline = [pivotAdapter(histogram, pivotHistogram)]\n"],"names":["histogram","initHistogram","colorAdapter","color","linearColor","backgroundColor","datasetHistogram","progressive","xLinear","yLinear","label","tooltipHistogram","discreteLegend","colorLegend","histogramVerticalCrosshairRect","colorBarStyleFill","barStyle","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationAreaBand","kdeRegressionLine","ecdfRegressionLine","pivotHistogram","initPivot","pivotGridStyle","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","dimensionLinkage","histogramSpecPipeline","pivotAdapter"],"mappings":";AAsCA,MAAMA,YAAgC;IACpCC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAT,aAAaU,gBAAgBC;IAC7BC;IACAC,kBAAkBC;IAClBC;IACAC;IACAC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,iBAAyC;IAC7CC;IACAC;IACAC;IACAC,gBAAgB;QACd1B;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACAoB,eAAenB;QACfC;QACAC;QACAI,kBAAkBC;QAClBF;QACAG;QACAC;QACAC;QACAC;QACAC;QACAC;KACD;IACDO;IACAC;IACAC;IACA7B,aAAa8B,qBAAqBC;IAClCC;CACD;AAEM,MAAMC,wBAAwB;IAACC,aAAapC,WAAWuB;CAAgB"}
@@ -1,4 +1,4 @@
1
- import { annotationArea, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, color, colorAdapter, colorLegend, colorLineStyleFill, colorPointStyleFill, datasetPivot, datasetXY, discreteLegend, initLine, initPivot, label, lineStyle, linearColor, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, pointStateDimensionHover, pointStyle, progressive, splitLine, tooltip, verticalCrosshairLine, xBand, yLinear } from "../pipes/index.js";
1
+ import { annotationArea, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, color, colorAdapter, colorLegend, colorLineStyleFill, colorPointStyleFill, datasetPivot, datasetXY, dimensionLinkage, discreteLegend, initLine, initPivot, label, lineStyle, linearColor, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, pointStateDimensionHover, pointStyle, progressive, splitLine, tooltip, verticalCrosshairLine, xBand, yLinear } from "../pipes/index.js";
2
2
  const line = [
3
3
  initLine,
4
4
  colorAdapter(color, linearColor),
@@ -48,7 +48,8 @@ const pivotLine = [
48
48
  pivotRowDimensions,
49
49
  pivotColumnDimensions,
50
50
  pivotTitle,
51
- colorAdapter(pivotDiscreteLegend, pivotColorLegend)
51
+ colorAdapter(pivotDiscreteLegend, pivotColorLegend),
52
+ dimensionLinkage
52
53
  ];
53
54
  const lineSpecPipeline = [
54
55
  pivotAdapter(line, pivotLine)
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/spec/chart/pipeline/line.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/line.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n datasetXY,\n xBand,\n yLinear,\n initLine,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n initPivot,\n datasetPivot,\n pivotDiscreteLegend,\n pivotIndicators,\n pivotAdapter,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n pointStyle,\n lineStyle,\n verticalCrosshairLine,\n pointStateDimensionHover,\n progressive,\n colorAdapter,\n linearColor,\n colorLegend,\n colorLineStyleFill,\n colorPointStyleFill,\n pivotColorLegend,\n pivotTitle,\n pivotAxisStyle,\n splitLine,\n} from '../pipes'\n\nconst line: VChartSpecPipeline = [\n initLine,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n xBand,\n yLinear,\n verticalCrosshairLine,\n colorAdapter(discreteLegend, colorLegend),\n colorPointStyleFill(pointStyle),\n pointStateDimensionHover,\n colorLineStyleFill(lineStyle),\n label,\n tooltip,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n splitLine,\n]\n\nconst pivotLine: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n datasetPivot,\n pivotIndicators([\n initLine,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n xBand,\n pivotAxisStyle(yLinear),\n verticalCrosshairLine,\n colorPointStyleFill(pointStyle),\n pointStateDimensionHover,\n colorLineStyleFill(lineStyle),\n label,\n tooltip,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n splitLine,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n]\n\nexport const lineSpecPipeline = [pivotAdapter(line, pivotLine)]\n"],"names":["line","initLine","colorAdapter","color","linearColor","backgroundColor","datasetXY","progressive","xBand","yLinear","verticalCrosshairLine","discreteLegend","colorLegend","colorPointStyleFill","pointStyle","pointStateDimensionHover","colorLineStyleFill","lineStyle","label","tooltip","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationArea","splitLine","pivotLine","initPivot","pivotGridStyle","pivotIndicatorsAsRow","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","lineSpecPipeline","pivotAdapter"],"mappings":";AAwCA,MAAMA,OAA2B;IAC/BC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAR,aAAaS,gBAAgBC;IAC7BC,oBAAoBC;IACpBC;IACAC,mBAAmBC;IACnBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,YAAoC;IACxCC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACd7B;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACAuB,eAAetB;QACfC;QACAG,oBAAoBC;QACpBC;QACAC,mBAAmBC;QACnBC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;KACD;IACDQ;IACAC;IACAC;IACAhC,aAAaiC,qBAAqBC;CACnC;AAEM,MAAMC,mBAAmB;IAACC,aAAatC,MAAMyB;CAAW"}
1
+ {"version":3,"file":"pipeline/spec/chart/pipeline/line.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/line.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n datasetXY,\n xBand,\n yLinear,\n initLine,\n backgroundColor,\n label,\n tooltip,\n discreteLegend,\n color,\n initPivot,\n datasetPivot,\n pivotDiscreteLegend,\n pivotIndicators,\n pivotAdapter,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n pointStyle,\n lineStyle,\n verticalCrosshairLine,\n pointStateDimensionHover,\n progressive,\n colorAdapter,\n linearColor,\n colorLegend,\n colorLineStyleFill,\n colorPointStyleFill,\n pivotColorLegend,\n pivotTitle,\n pivotAxisStyle,\n splitLine,\n dimensionLinkage,\n} from '../pipes'\n\nconst line: VChartSpecPipeline = [\n initLine,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n xBand,\n yLinear,\n verticalCrosshairLine,\n colorAdapter(discreteLegend, colorLegend),\n colorPointStyleFill(pointStyle),\n pointStateDimensionHover,\n colorLineStyleFill(lineStyle),\n label,\n tooltip,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n splitLine,\n]\n\nconst pivotLine: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n datasetPivot,\n pivotIndicators([\n initLine,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetXY,\n progressive,\n xBand,\n pivotAxisStyle(yLinear),\n verticalCrosshairLine,\n colorPointStyleFill(pointStyle),\n pointStateDimensionHover,\n colorLineStyleFill(lineStyle),\n label,\n tooltip,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n splitLine,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n dimensionLinkage,\n]\n\nexport const lineSpecPipeline = [pivotAdapter(line, pivotLine)]\n"],"names":["line","initLine","colorAdapter","color","linearColor","backgroundColor","datasetXY","progressive","xBand","yLinear","verticalCrosshairLine","discreteLegend","colorLegend","colorPointStyleFill","pointStyle","pointStateDimensionHover","colorLineStyleFill","lineStyle","label","tooltip","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationArea","splitLine","pivotLine","initPivot","pivotGridStyle","pivotIndicatorsAsRow","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","dimensionLinkage","lineSpecPipeline","pivotAdapter"],"mappings":";AAyCA,MAAMA,OAA2B;IAC/BC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAR,aAAaS,gBAAgBC;IAC7BC,oBAAoBC;IACpBC;IACAC,mBAAmBC;IACnBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,YAAoC;IACxCC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACd7B;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACAuB,eAAetB;QACfC;QACAG,oBAAoBC;QACpBC;QACAC,mBAAmBC;QACnBC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;KACD;IACDQ;IACAC;IACAC;IACAhC,aAAaiC,qBAAqBC;IAClCC;CACD;AAEM,MAAMC,mBAAmB;IAACC,aAAavC,MAAMyB;CAAW"}
@@ -1,4 +1,4 @@
1
- import { annotationArea, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, color, colorAdapter, colorLegend, colorPointStyleFill, datasetPivot, datasetScatter, discreteLegend, horizontalCrosshairLine, initPivot, initScatter, labelScatter, linearColor, linearRegressionLine, logisticRegressionLine, lowessRegressionLine, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, pointStateHover, pointStyle, polynomialRegressionLine, progressive, scatterSize, tooltipScatter, verticalCrosshairLine, xLinear, yLinear } from "../pipes/index.js";
1
+ import { annotationArea, annotationHorizontalLine, annotationPoint, annotationVerticalLine, backgroundColor, color, colorAdapter, colorLegend, colorPointStyleFill, datasetPivot, datasetScatter, dimensionLinkage, discreteLegend, horizontalCrosshairLine, initPivot, initScatter, labelScatter, linearColor, linearRegressionLine, logisticRegressionLine, lowessRegressionLine, pivotAdapter, pivotAxisStyle, pivotColorLegend, pivotColumnDimensions, pivotDiscreteLegend, pivotGridStyle, pivotIndicators, pivotIndicatorsAsRow, pivotRowDimensions, pivotTitle, pointStateHover, pointStyle, polynomialRegressionLine, progressive, scatterSize, tooltipScatter, verticalCrosshairLine, xLinear, yLinear } from "../pipes/index.js";
2
2
  const scatter = [
3
3
  initScatter,
4
4
  colorAdapter(color, linearColor),
@@ -54,7 +54,8 @@ const pivotScatter = [
54
54
  pivotRowDimensions,
55
55
  pivotColumnDimensions,
56
56
  pivotTitle,
57
- colorAdapter(pivotDiscreteLegend, pivotColorLegend)
57
+ colorAdapter(pivotDiscreteLegend, pivotColorLegend),
58
+ dimensionLinkage
58
59
  ];
59
60
  const scatterSpecPipeline = [
60
61
  pivotAdapter(scatter, pivotScatter)
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/spec/chart/pipeline/scatter.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/scatter.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n yLinear,\n backgroundColor,\n tooltipScatter,\n discreteLegend,\n color,\n initPivot,\n datasetPivot,\n pivotDiscreteLegend,\n pivotIndicators,\n pivotAdapter,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n pointStyle,\n verticalCrosshairLine,\n xLinear,\n horizontalCrosshairLine,\n pointStateHover,\n initScatter,\n progressive,\n datasetScatter,\n linearColor,\n colorAdapter,\n colorPointStyleFill,\n colorLegend,\n pivotColorLegend,\n labelScatter,\n scatterSize,\n linearRegressionLine,\n lowessRegressionLine,\n polynomialRegressionLine,\n logisticRegressionLine,\n pivotAxisStyle,\n pivotTitle,\n} from '../pipes'\n\nconst scatter: VChartSpecPipeline = [\n initScatter,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetScatter,\n progressive,\n xLinear,\n yLinear,\n scatterSize,\n labelScatter,\n tooltipScatter,\n colorAdapter(discreteLegend, colorLegend),\n verticalCrosshairLine,\n horizontalCrosshairLine,\n colorPointStyleFill(pointStyle),\n pointStateHover,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n linearRegressionLine,\n lowessRegressionLine,\n polynomialRegressionLine,\n logisticRegressionLine,\n]\n\nconst pivotScatter: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n datasetPivot,\n pivotIndicators([\n initScatter,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetScatter,\n progressive,\n xLinear,\n pivotAxisStyle(yLinear),\n scatterSize,\n labelScatter,\n tooltipScatter,\n verticalCrosshairLine,\n horizontalCrosshairLine,\n colorPointStyleFill(pointStyle),\n pointStateHover,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n linearRegressionLine,\n lowessRegressionLine,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n]\n\nexport const scatterSpecPipeline = [pivotAdapter(scatter, pivotScatter)]\n"],"names":["scatter","initScatter","colorAdapter","color","linearColor","backgroundColor","datasetScatter","progressive","xLinear","yLinear","scatterSize","labelScatter","tooltipScatter","discreteLegend","colorLegend","verticalCrosshairLine","horizontalCrosshairLine","colorPointStyleFill","pointStyle","pointStateHover","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationArea","linearRegressionLine","lowessRegressionLine","polynomialRegressionLine","logisticRegressionLine","pivotScatter","initPivot","pivotGridStyle","pivotIndicatorsAsRow","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","scatterSpecPipeline","pivotAdapter"],"mappings":";AA2CA,MAAMA,UAA8B;IAClCC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAV,aAAaW,gBAAgBC;IAC7BC;IACAC;IACAC,oBAAoBC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,eAAuC;IAC3CC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACdhC;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACA0B,eAAezB;QACfC;QACAC;QACAC;QACAG;QACAC;QACAC,oBAAoBC;QACpBC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;KACD;IACDU;IACAC;IACAC;IACAnC,aAAaoC,qBAAqBC;CACnC;AAEM,MAAMC,sBAAsB;IAACC,aAAazC,SAAS4B;CAAc"}
1
+ {"version":3,"file":"pipeline/spec/chart/pipeline/scatter.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipeline/scatter.ts"],"sourcesContent":["import type { PivotChartSpecPipeline, VChartSpecPipeline } from 'src/types'\nimport {\n yLinear,\n backgroundColor,\n tooltipScatter,\n discreteLegend,\n color,\n initPivot,\n datasetPivot,\n pivotDiscreteLegend,\n pivotIndicators,\n pivotAdapter,\n pivotIndicatorsAsRow,\n pivotGridStyle,\n pivotColumnDimensions,\n pivotRowDimensions,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n pointStyle,\n verticalCrosshairLine,\n xLinear,\n horizontalCrosshairLine,\n pointStateHover,\n initScatter,\n progressive,\n datasetScatter,\n linearColor,\n colorAdapter,\n colorPointStyleFill,\n colorLegend,\n pivotColorLegend,\n labelScatter,\n scatterSize,\n linearRegressionLine,\n lowessRegressionLine,\n polynomialRegressionLine,\n logisticRegressionLine,\n pivotAxisStyle,\n pivotTitle,\n dimensionLinkage,\n} from '../pipes'\n\nconst scatter: VChartSpecPipeline = [\n initScatter,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetScatter,\n progressive,\n xLinear,\n yLinear,\n scatterSize,\n labelScatter,\n tooltipScatter,\n colorAdapter(discreteLegend, colorLegend),\n verticalCrosshairLine,\n horizontalCrosshairLine,\n colorPointStyleFill(pointStyle),\n pointStateHover,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n linearRegressionLine,\n lowessRegressionLine,\n polynomialRegressionLine,\n logisticRegressionLine,\n]\n\nconst pivotScatter: PivotChartSpecPipeline = [\n initPivot,\n pivotGridStyle,\n pivotIndicatorsAsRow,\n datasetPivot,\n pivotIndicators([\n initScatter,\n colorAdapter(color, linearColor),\n backgroundColor,\n datasetScatter,\n progressive,\n xLinear,\n pivotAxisStyle(yLinear),\n scatterSize,\n labelScatter,\n tooltipScatter,\n verticalCrosshairLine,\n horizontalCrosshairLine,\n colorPointStyleFill(pointStyle),\n pointStateHover,\n annotationPoint,\n annotationVerticalLine,\n annotationHorizontalLine,\n annotationArea,\n linearRegressionLine,\n lowessRegressionLine,\n ]),\n pivotRowDimensions,\n pivotColumnDimensions,\n pivotTitle,\n colorAdapter(pivotDiscreteLegend, pivotColorLegend),\n dimensionLinkage,\n]\n\nexport const scatterSpecPipeline = [pivotAdapter(scatter, pivotScatter)]\n"],"names":["scatter","initScatter","colorAdapter","color","linearColor","backgroundColor","datasetScatter","progressive","xLinear","yLinear","scatterSize","labelScatter","tooltipScatter","discreteLegend","colorLegend","verticalCrosshairLine","horizontalCrosshairLine","colorPointStyleFill","pointStyle","pointStateHover","annotationPoint","annotationVerticalLine","annotationHorizontalLine","annotationArea","linearRegressionLine","lowessRegressionLine","polynomialRegressionLine","logisticRegressionLine","pivotScatter","initPivot","pivotGridStyle","pivotIndicatorsAsRow","datasetPivot","pivotIndicators","pivotAxisStyle","pivotRowDimensions","pivotColumnDimensions","pivotTitle","pivotDiscreteLegend","pivotColorLegend","dimensionLinkage","scatterSpecPipeline","pivotAdapter"],"mappings":";AA4CA,MAAMA,UAA8B;IAClCC;IACAC,aAAaC,OAAOC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAV,aAAaW,gBAAgBC;IAC7BC;IACAC;IACAC,oBAAoBC;IACpBC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;CACD;AAED,MAAMC,eAAuC;IAC3CC;IACAC;IACAC;IACAC;IACAC,gBAAgB;QACdhC;QACAC,aAAaC,OAAOC;QACpBC;QACAC;QACAC;QACAC;QACA0B,eAAezB;QACfC;QACAC;QACAC;QACAG;QACAC;QACAC,oBAAoBC;QACpBC;QACAC;QACAC;QACAC;QACAC;QACAC;QACAC;KACD;IACDU;IACAC;IACAC;IACAnC,aAAaoC,qBAAqBC;IAClCC;CACD;AAEM,MAAMC,sBAAsB;IAACC,aAAa1C,SAAS4B;CAAc"}
@@ -0,0 +1,2 @@
1
+ import type { VChartSpecPipe } from '../../../../../types';
2
+ export declare const annotationPointOfDualAxis: VChartSpecPipe;
@@ -0,0 +1,94 @@
1
+ import { selector } from "../../../../../dataSelector/index.js";
2
+ import { isSubset } from "./utils.js";
3
+ import { ANNOTATION_Z_INDEX } from "../../../../utils/constant.js";
4
+ import { isBarLikeChart } from "../../../../utils/chatType.js";
5
+ import { findAllMeasures } from "../../../../utils/index.js";
6
+ import { MeasureId } from "../../../../../dataReshape/constant.js";
7
+ import { pickWithout } from "@visactor/vutils";
8
+ const annotationPointOfDualAxis = (spec, context)=>{
9
+ const { advancedVSeed, vseed } = context;
10
+ const { annotation, config } = advancedVSeed;
11
+ if (!annotation || !annotation.annotationPoint) return spec;
12
+ const theme = config?.[vseed.chartType]?.annotation?.annotationPoint;
13
+ const { annotationPoint } = annotation;
14
+ const annotationPointList = Array.isArray(annotationPoint) ? annotationPoint : [
15
+ annotationPoint
16
+ ];
17
+ const isHorizontalBar = isBarLikeChart(advancedVSeed);
18
+ const defaultStyle = isHorizontalBar ? {
19
+ textAlign: 'right',
20
+ textBaseline: 'middle'
21
+ } : {
22
+ textAlign: 'center',
23
+ textBaseline: 'top'
24
+ };
25
+ const allMeasureIds = findAllMeasures(advancedVSeed.reshapeMeasures ?? advancedVSeed.measures).map((m)=>m.id);
26
+ const markPoint = annotationPointList.flatMap((annotationPoint)=>{
27
+ const { selector: selectorPoint, text = '', textColor = theme?.textColor ?? '#ffffff', textFontSize = theme?.textFontSize ?? 12, textFontWeight = theme?.textFontWeight ?? 400, textAlign = defaultStyle.textAlign, textBaseline = defaultStyle.textBaseline, textBackgroundBorderColor = theme?.textBackgroundBorderColor, textBackgroundBorderRadius = theme?.textBackgroundBorderRadius ?? 4, textBackgroundBorderWidth = theme?.textBackgroundBorderWidth ?? 1, textBackgroundColor = theme?.textBackgroundColor ?? '#212121', textBackgroundPadding = theme?.textBackgroundPadding ?? 2, textBackgroundVisible = theme?.textBackgroundVisible ?? true, offsetX = theme?.offsetX ?? 0, offsetY = theme?.offsetY ?? 0 } = annotationPoint;
28
+ const dataset = advancedVSeed.dataset.flat();
29
+ const selectedData = selectorPoint ? dataset.reduce((res, d)=>{
30
+ const pickedDatum = pickWithout(d, allMeasureIds.filter((id)=>id !== d[MeasureId]));
31
+ if (selector(pickedDatum, selectorPoint)) res.push(pickedDatum);
32
+ return res;
33
+ }, []) : [];
34
+ const dx = -10 - (isHorizontalBar ? textFontSize : 0);
35
+ const dy = isHorizontalBar ? 0 : textFontSize;
36
+ const baseConfig = {
37
+ zIndex: ANNOTATION_Z_INDEX,
38
+ itemLine: {
39
+ visible: false
40
+ },
41
+ itemContent: {
42
+ offsetY,
43
+ offsetX,
44
+ confine: true,
45
+ text: {
46
+ text: text,
47
+ style: {
48
+ opacity: 0.95,
49
+ visible: true,
50
+ textAlign: textAlign,
51
+ textBaseline: textBaseline,
52
+ fill: textColor,
53
+ stroke: textBackgroundColor,
54
+ lineWidth: 1,
55
+ fontSize: textFontSize,
56
+ fontWeight: textFontWeight,
57
+ dx,
58
+ dy
59
+ },
60
+ labelBackground: {
61
+ visible: textBackgroundVisible,
62
+ padding: textBackgroundPadding,
63
+ style: {
64
+ opacity: 0.95,
65
+ cornerRadius: textBackgroundBorderRadius ?? 4,
66
+ fill: textBackgroundColor,
67
+ stroke: textBackgroundBorderColor,
68
+ lineWidth: textBackgroundBorderWidth,
69
+ dx,
70
+ dy
71
+ }
72
+ }
73
+ }
74
+ }
75
+ };
76
+ return spec.series?.reduce((res, s, index)=>{
77
+ selectedData.forEach((datum)=>{
78
+ res.push({
79
+ ...baseConfig,
80
+ relativeSeriesIndex: index,
81
+ coordinate: (data)=>data.find((item)=>isSubset(datum, item, allMeasureIds.filter((id)=>id !== item[MeasureId])))
82
+ });
83
+ });
84
+ return res;
85
+ }, []);
86
+ });
87
+ return {
88
+ ...spec,
89
+ markPoint
90
+ };
91
+ };
92
+ export { annotationPointOfDualAxis };
93
+
94
+ //# sourceMappingURL=annotationPointOfDualAxis.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipes/annotation/annotationPointOfDualAxis.ts"],"sourcesContent":["import type { ILineChartSpec } from '@visactor/vchart'\nimport { selector } from '../../../../../dataSelector'\nimport type { Datum, VChartSpecPipe, VSeed } from 'src/types'\nimport { isSubset } from './utils'\nimport { ANNOTATION_Z_INDEX } from '../../../../utils/constant'\nimport { isBarLikeChart } from 'src/pipeline/utils/chatType'\nimport { findAllMeasures } from 'src/pipeline/utils'\nimport { MeasureId } from 'src/dataReshape/constant'\nimport { pickWithout } from '@visactor/vutils'\n\nexport const annotationPointOfDualAxis: VChartSpecPipe = (spec, context) => {\n const { advancedVSeed, vseed } = context\n const { annotation, config } = advancedVSeed\n\n if (!annotation || !annotation.annotationPoint) {\n return spec\n }\n\n const theme = config?.[vseed.chartType as 'column']?.annotation?.annotationPoint\n const { annotationPoint } = annotation\n const annotationPointList = Array.isArray(annotationPoint) ? annotationPoint : [annotationPoint]\n const isHorizontalBar = isBarLikeChart(advancedVSeed as VSeed)\n const defaultStyle = isHorizontalBar\n ? {\n textAlign: 'right',\n textBaseline: 'middle',\n }\n : {\n textAlign: 'center',\n textBaseline: 'top',\n }\n const allMeasureIds = findAllMeasures(advancedVSeed.reshapeMeasures ?? advancedVSeed.measures).map((m) => m.id)\n\n const markPoint = annotationPointList.flatMap((annotationPoint) => {\n const {\n selector: selectorPoint,\n text = '',\n textColor = theme?.textColor ?? '#ffffff',\n textFontSize = theme?.textFontSize ?? 12,\n textFontWeight = theme?.textFontWeight ?? 400,\n textAlign = defaultStyle.textAlign,\n textBaseline = defaultStyle.textBaseline,\n textBackgroundBorderColor = theme?.textBackgroundBorderColor,\n textBackgroundBorderRadius = theme?.textBackgroundBorderRadius ?? 4,\n textBackgroundBorderWidth = theme?.textBackgroundBorderWidth ?? 1,\n textBackgroundColor = theme?.textBackgroundColor ?? '#212121',\n textBackgroundPadding = theme?.textBackgroundPadding ?? 2,\n textBackgroundVisible = theme?.textBackgroundVisible ?? true,\n offsetX = theme?.offsetX ?? 0,\n offsetY = theme?.offsetY ?? 0,\n } = annotationPoint\n\n const dataset = advancedVSeed.dataset.flat()\n const selectedData = selectorPoint\n ? dataset.reduce((res: Datum[], d: Datum) => {\n const pickedDatum = pickWithout(\n d,\n allMeasureIds.filter((id) => id !== d[MeasureId]),\n )\n\n if (selector(pickedDatum, selectorPoint)) {\n res.push(pickedDatum)\n }\n\n return res\n }, [])\n : []\n\n const dx = -10 - (isHorizontalBar ? (textFontSize as number) : 0) // 由于vchart tag实现问题,需要设置这个强制偏移量\n const dy = isHorizontalBar ? 0 : (textFontSize as number)\n const baseConfig = {\n zIndex: ANNOTATION_Z_INDEX,\n itemLine: {\n visible: false,\n },\n itemContent: {\n offsetY,\n offsetX,\n confine: true,\n text: {\n text: text,\n style: {\n opacity: 0.95,\n visible: true,\n textAlign: textAlign,\n textBaseline: textBaseline,\n fill: textColor,\n stroke: textBackgroundColor,\n lineWidth: 1,\n fontSize: textFontSize,\n fontWeight: textFontWeight,\n dx,\n dy,\n },\n labelBackground: {\n visible: textBackgroundVisible,\n padding: textBackgroundPadding,\n style: {\n opacity: 0.95,\n cornerRadius: textBackgroundBorderRadius ?? 4,\n fill: textBackgroundColor,\n stroke: textBackgroundBorderColor,\n lineWidth: textBackgroundBorderWidth,\n dx,\n dy,\n },\n },\n },\n },\n }\n\n return spec.series?.reduce((res: any[], s: any, index: number) => {\n selectedData.forEach((datum: Datum) => {\n res.push({\n ...baseConfig,\n relativeSeriesIndex: index,\n coordinate: (data: Datum[]) => {\n return data.find((item) => {\n return isSubset(\n datum,\n item,\n allMeasureIds.filter((id) => id !== item[MeasureId]),\n )\n })\n },\n })\n })\n\n return res\n }, [] as any[])\n }) as ILineChartSpec['markPoint']\n\n return {\n ...spec,\n markPoint,\n }\n}\n"],"names":["annotationPointOfDualAxis","spec","context","advancedVSeed","vseed","annotation","config","theme","annotationPoint","annotationPointList","Array","isHorizontalBar","isBarLikeChart","defaultStyle","allMeasureIds","findAllMeasures","m","markPoint","selectorPoint","text","textColor","textFontSize","textFontWeight","textAlign","textBaseline","textBackgroundBorderColor","textBackgroundBorderRadius","textBackgroundBorderWidth","textBackgroundColor","textBackgroundPadding","textBackgroundVisible","offsetX","offsetY","dataset","selectedData","res","d","pickedDatum","pickWithout","id","MeasureId","selector","dx","dy","baseConfig","ANNOTATION_Z_INDEX","s","index","datum","data","item","isSubset"],"mappings":";;;;;;;AAUO,MAAMA,4BAA4C,CAACC,MAAMC;IAC9D,MAAM,EAAEC,aAAa,EAAEC,KAAK,EAAE,GAAGF;IACjC,MAAM,EAAEG,UAAU,EAAEC,MAAM,EAAE,GAAGH;IAE/B,IAAI,CAACE,cAAc,CAACA,WAAW,eAAe,EAC5C,OAAOJ;IAGT,MAAMM,QAAQD,QAAQ,CAACF,MAAM,SAAS,CAAa,EAAE,YAAY;IACjE,MAAM,EAAEI,eAAe,EAAE,GAAGH;IAC5B,MAAMI,sBAAsBC,MAAM,OAAO,CAACF,mBAAmBA,kBAAkB;QAACA;KAAgB;IAChG,MAAMG,kBAAkBC,eAAeT;IACvC,MAAMU,eAAeF,kBACjB;QACE,WAAW;QACX,cAAc;IAChB,IACA;QACE,WAAW;QACX,cAAc;IAChB;IACJ,MAAMG,gBAAgBC,gBAAgBZ,cAAc,eAAe,IAAIA,cAAc,QAAQ,EAAE,GAAG,CAAC,CAACa,IAAMA,EAAE,EAAE;IAE9G,MAAMC,YAAYR,oBAAoB,OAAO,CAAC,CAACD;QAC7C,MAAM,EACJ,UAAUU,aAAa,EACvBC,OAAO,EAAE,EACTC,YAAYb,OAAO,aAAa,SAAS,EACzCc,eAAed,OAAO,gBAAgB,EAAE,EACxCe,iBAAiBf,OAAO,kBAAkB,GAAG,EAC7CgB,YAAYV,aAAa,SAAS,EAClCW,eAAeX,aAAa,YAAY,EACxCY,4BAA4BlB,OAAO,yBAAyB,EAC5DmB,6BAA6BnB,OAAO,8BAA8B,CAAC,EACnEoB,4BAA4BpB,OAAO,6BAA6B,CAAC,EACjEqB,sBAAsBrB,OAAO,uBAAuB,SAAS,EAC7DsB,wBAAwBtB,OAAO,yBAAyB,CAAC,EACzDuB,wBAAwBvB,OAAO,yBAAyB,IAAI,EAC5DwB,UAAUxB,OAAO,WAAW,CAAC,EAC7ByB,UAAUzB,OAAO,WAAW,CAAC,EAC9B,GAAGC;QAEJ,MAAMyB,UAAU9B,cAAc,OAAO,CAAC,IAAI;QAC1C,MAAM+B,eAAehB,gBACjBe,QAAQ,MAAM,CAAC,CAACE,KAAcC;YAC5B,MAAMC,cAAcC,YAClBF,GACAtB,cAAc,MAAM,CAAC,CAACyB,KAAOA,OAAOH,CAAC,CAACI,UAAU;YAGlD,IAAIC,SAASJ,aAAanB,gBACxBiB,IAAI,IAAI,CAACE;YAGX,OAAOF;QACT,GAAG,EAAE,IACL,EAAE;QAEN,MAAMO,KAAK,MAAO/B,CAAAA,kBAAmBU,eAA0B;QAC/D,MAAMsB,KAAKhC,kBAAkB,IAAKU;QAClC,MAAMuB,aAAa;YACjB,QAAQC;YACR,UAAU;gBACR,SAAS;YACX;YACA,aAAa;gBACXb;gBACAD;gBACA,SAAS;gBACT,MAAM;oBACJ,MAAMZ;oBACN,OAAO;wBACL,SAAS;wBACT,SAAS;wBACT,WAAWI;wBACX,cAAcC;wBACd,MAAMJ;wBACN,QAAQQ;wBACR,WAAW;wBACX,UAAUP;wBACV,YAAYC;wBACZoB;wBACAC;oBACF;oBACA,iBAAiB;wBACf,SAASb;wBACT,SAASD;wBACT,OAAO;4BACL,SAAS;4BACT,cAAcH,8BAA8B;4BAC5C,MAAME;4BACN,QAAQH;4BACR,WAAWE;4BACXe;4BACAC;wBACF;oBACF;gBACF;YACF;QACF;QAEA,OAAO1C,KAAK,MAAM,EAAE,OAAO,CAACkC,KAAYW,GAAQC;YAC9Cb,aAAa,OAAO,CAAC,CAACc;gBACpBb,IAAI,IAAI,CAAC;oBACP,GAAGS,UAAU;oBACb,qBAAqBG;oBACrB,YAAY,CAACE,OACJA,KAAK,IAAI,CAAC,CAACC,OACTC,SACLH,OACAE,MACApC,cAAc,MAAM,CAAC,CAACyB,KAAOA,OAAOW,IAAI,CAACV,UAAU;gBAI3D;YACF;YAEA,OAAOL;QACT,GAAG,EAAE;IACP;IAEA,OAAO;QACL,GAAGlC,IAAI;QACPgB;IACF;AACF"}
@@ -1,3 +1,4 @@
1
+ export { annotationPointOfDualAxis } from './annotationPointOfDualAxis';
1
2
  export { annotationPoint } from './annotationPoint';
2
3
  export { annotationVerticalLine } from './annotationVerticalLine';
3
4
  export { annotationHorizontalLine } from './annotationHorizontalLine';
@@ -1,7 +1,8 @@
1
+ import { annotationPointOfDualAxis } from "./annotationPointOfDualAxis.js";
1
2
  import { annotationPoint } from "./annotationPoint.js";
2
3
  import { annotationVerticalLine } from "./annotationVerticalLine.js";
3
4
  import { annotationHorizontalLine } from "./annotationHorizontalLine.js";
4
5
  import { annotationArea } from "./annotationArea.js";
5
6
  import { annotationAreaBand } from "./annotationAreaBand.js";
6
7
  import { splitLine } from "./splitLine.js";
7
- export { annotationArea, annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationVerticalLine, splitLine };
8
+ export { annotationArea, annotationAreaBand, annotationHorizontalLine, annotationPoint, annotationPointOfDualAxis, annotationVerticalLine, splitLine };
@@ -1,5 +1,5 @@
1
1
  import type { Datum } from '../../../../../types';
2
- export declare const isSubset: (sub: Datum, obj: Datum) => boolean;
2
+ export declare const isSubset: (sub: Datum, obj: Datum, excludeMeasuresIds?: string[]) => boolean;
3
3
  export declare const ANNOTATION_AREA_TEXT_STYLE_BY_POSITION: {
4
4
  top: {
5
5
  textAlign: string;
@@ -1,4 +1,5 @@
1
- const isSubset = (sub, obj)=>Object.entries(sub).every(([key, value])=>{
1
+ const isSubset = (sub, obj, excludeMeasuresIds)=>Object.entries(sub).every(([key, value])=>{
2
+ if (excludeMeasuresIds && excludeMeasuresIds.includes(key)) return false;
2
3
  if ('string' == typeof value) return obj[key] === value;
3
4
  if ('number' == typeof value) return obj[key] === value;
4
5
  return true;
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline/spec/chart/pipes/annotation/utils.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipes/annotation/utils.ts"],"sourcesContent":["import type { Datum } from 'src/types'\n\nexport const isSubset = (sub: Datum, obj: Datum) => {\n return Object.entries(sub).every(([key, value]) => {\n if (typeof value === 'string') {\n return obj[key] === value\n }\n if (typeof value === 'number') {\n return obj[key] === value\n }\n return true\n })\n}\n\nexport const ANNOTATION_AREA_TEXT_STYLE_BY_POSITION = {\n top: {\n textAlign: 'center',\n textBaseline: 'top',\n },\n topRight: {\n textAlign: 'right',\n textBaseline: 'top',\n },\n topLeft: {\n textAlign: 'left',\n textBaseline: 'top',\n },\n bottom: {\n textAlign: 'center',\n textBaseline: 'bottom',\n },\n bottomLeft: {\n textAlign: 'left',\n textBaseline: 'bottom',\n },\n bottomRight: {\n textAlign: 'right',\n textBaseline: 'bottom',\n },\n left: {\n textAlign: 'left',\n textBaseline: 'middle',\n },\n right: {\n textAlign: 'right',\n textBaseline: 'middle',\n },\n}\n"],"names":["isSubset","sub","obj","Object","key","value","ANNOTATION_AREA_TEXT_STYLE_BY_POSITION"],"mappings":"AAEO,MAAMA,WAAW,CAACC,KAAYC,MAC5BC,OAAO,OAAO,CAACF,KAAK,KAAK,CAAC,CAAC,CAACG,KAAKC,MAAM;QAC5C,IAAI,AAAiB,YAAjB,OAAOA,OACT,OAAOH,GAAG,CAACE,IAAI,KAAKC;QAEtB,IAAI,AAAiB,YAAjB,OAAOA,OACT,OAAOH,GAAG,CAACE,IAAI,KAAKC;QAEtB,OAAO;IACT;AAGK,MAAMC,yCAAyC;IACpD,KAAK;QACH,WAAW;QACX,cAAc;IAChB;IACA,UAAU;QACR,WAAW;QACX,cAAc;IAChB;IACA,SAAS;QACP,WAAW;QACX,cAAc;IAChB;IACA,QAAQ;QACN,WAAW;QACX,cAAc;IAChB;IACA,YAAY;QACV,WAAW;QACX,cAAc;IAChB;IACA,aAAa;QACX,WAAW;QACX,cAAc;IAChB;IACA,MAAM;QACJ,WAAW;QACX,cAAc;IAChB;IACA,OAAO;QACL,WAAW;QACX,cAAc;IAChB;AACF"}
1
+ {"version":3,"file":"pipeline/spec/chart/pipes/annotation/utils.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipes/annotation/utils.ts"],"sourcesContent":["import type { Datum } from 'src/types'\n\nexport const isSubset = (sub: Datum, obj: Datum, excludeMeasuresIds?: string[]) => {\n return Object.entries(sub).every(([key, value]) => {\n if (excludeMeasuresIds && excludeMeasuresIds.includes(key)) {\n return false\n }\n\n if (typeof value === 'string') {\n return obj[key] === value\n }\n if (typeof value === 'number') {\n return obj[key] === value\n }\n return true\n })\n}\n\nexport const ANNOTATION_AREA_TEXT_STYLE_BY_POSITION = {\n top: {\n textAlign: 'center',\n textBaseline: 'top',\n },\n topRight: {\n textAlign: 'right',\n textBaseline: 'top',\n },\n topLeft: {\n textAlign: 'left',\n textBaseline: 'top',\n },\n bottom: {\n textAlign: 'center',\n textBaseline: 'bottom',\n },\n bottomLeft: {\n textAlign: 'left',\n textBaseline: 'bottom',\n },\n bottomRight: {\n textAlign: 'right',\n textBaseline: 'bottom',\n },\n left: {\n textAlign: 'left',\n textBaseline: 'middle',\n },\n right: {\n textAlign: 'right',\n textBaseline: 'middle',\n },\n}\n"],"names":["isSubset","sub","obj","excludeMeasuresIds","Object","key","value","ANNOTATION_AREA_TEXT_STYLE_BY_POSITION"],"mappings":"AAEO,MAAMA,WAAW,CAACC,KAAYC,KAAYC,qBACxCC,OAAO,OAAO,CAACH,KAAK,KAAK,CAAC,CAAC,CAACI,KAAKC,MAAM;QAC5C,IAAIH,sBAAsBA,mBAAmB,QAAQ,CAACE,MACpD,OAAO;QAGT,IAAI,AAAiB,YAAjB,OAAOC,OACT,OAAOJ,GAAG,CAACG,IAAI,KAAKC;QAEtB,IAAI,AAAiB,YAAjB,OAAOA,OACT,OAAOJ,GAAG,CAACG,IAAI,KAAKC;QAEtB,OAAO;IACT;AAGK,MAAMC,yCAAyC;IACpD,KAAK;QACH,WAAW;QACX,cAAc;IAChB;IACA,UAAU;QACR,WAAW;QACX,cAAc;IAChB;IACA,SAAS;QACP,WAAW;QACX,cAAc;IAChB;IACA,QAAQ;QACN,WAAW;QACX,cAAc;IAChB;IACA,YAAY;QACV,WAAW;QACX,cAAc;IAChB;IACA,aAAa;QACX,WAAW;QACX,cAAc;IAChB;IACA,MAAM;QACJ,WAAW;QACX,cAAc;IAChB;IACA,OAAO;QACL,WAAW;QACX,cAAc;IAChB;AACF"}