@visactor/vseed 0.1.19 → 0.1.20
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.
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/builder/register/chartType/area.js.map +1 -1
- package/dist/esm/builder/register/chartType/areaPercent.js.map +1 -1
- package/dist/esm/builder/register/chartType/bar.js.map +1 -1
- package/dist/esm/builder/register/chartType/barParallel.js.map +1 -1
- package/dist/esm/builder/register/chartType/barPercent.js.map +1 -1
- package/dist/esm/builder/register/chartType/column.js.map +1 -1
- package/dist/esm/builder/register/chartType/columnParallel.js.map +1 -1
- package/dist/esm/builder/register/chartType/columnPercent.js.map +1 -1
- package/dist/esm/builder/register/chartType/donut.js.map +1 -1
- package/dist/esm/builder/register/chartType/funnel.js.map +1 -1
- package/dist/esm/builder/register/chartType/heatmap.js.map +1 -1
- package/dist/esm/builder/register/chartType/line.js.map +1 -1
- package/dist/esm/builder/register/chartType/pie.js.map +1 -1
- package/dist/esm/builder/register/chartType/pivotTable.js.map +1 -1
- package/dist/esm/builder/register/chartType/radar.js.map +1 -1
- package/dist/esm/builder/register/chartType/rose.js.map +1 -1
- package/dist/esm/builder/register/chartType/roseParallel.js.map +1 -1
- package/dist/esm/builder/register/chartType/scatter.js.map +1 -1
- package/dist/esm/builder/register/chartType/table.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithDualEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithDualEncoding.js.map +1 -1
- package/dist/esm/pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.d.ts +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/annotation/utils.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/axes/title/defaultTitleText.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/init/area.js.map +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/percent/percent.d.ts +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/percent/percent.js +1 -1
- package/dist/esm/pipeline/spec/chart/pipes/percent/percent.js.map +1 -1
- package/dist/esm/pipeline/spec/table/pipeline/table.js.map +1 -1
- package/dist/esm/pipeline/utils/measures/depth.d.ts +1 -1
- package/dist/esm/pipeline/utils/measures/depth.js.map +1 -1
- package/dist/esm/types/chartType/dualAxis/zDualAxis.js.map +1 -1
- package/dist/esm/types/properties/analysis/sort.js.map +1 -1
- package/dist/esm/types/properties/analysis/sortLegend.js.map +1 -1
- package/dist/esm/types/properties/annotation/annotation.js.map +1 -1
- package/dist/esm/types/properties/dimensions/dimensions.d.ts +1 -1
- package/dist/esm/types/zVseed.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +3 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/area.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/area.ts"],"sourcesContent":["import { areaAdvancedPipeline, areaSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerArea = () => {\n Builder._advancedPipelineMap['area'] = areaAdvancedPipeline\n Builder._specPipelineMap['area'] = areaSpecPipeline\n}"],"names":["registerArea","Builder","areaAdvancedPipeline","areaSpecPipeline"],"mappings":";;AAGO,MAAMA,eAAe;IAC1BC,QAAQ,oBAAoB,CAA5BA,IAAoC,GAAGC;IACvCD,QAAQ,gBAAgB,CAAxBA,IAAgC,GAAGE;AACrC"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/area.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/area.ts"],"sourcesContent":["import { areaAdvancedPipeline, areaSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerArea = () => {\n Builder._advancedPipelineMap['area'] = areaAdvancedPipeline\n Builder._specPipelineMap['area'] = areaSpecPipeline\n}\n"],"names":["registerArea","Builder","areaAdvancedPipeline","areaSpecPipeline"],"mappings":";;AAGO,MAAMA,eAAe;IAC1BC,QAAQ,oBAAoB,CAA5BA,IAAoC,GAAGC;IACvCD,QAAQ,gBAAgB,CAAxBA,IAAgC,GAAGE;AACrC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/areaPercent.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/areaPercent.ts"],"sourcesContent":["import { areaPercentAdvancedPipeline, areaPercentSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerAreaPercent = () => {\n Builder._advancedPipelineMap['areaPercent'] = areaPercentAdvancedPipeline\n Builder._specPipelineMap['areaPercent'] = areaPercentSpecPipeline\n}"],"names":["registerAreaPercent","Builder","areaPercentAdvancedPipeline","areaPercentSpecPipeline"],"mappings":";;AAGO,MAAMA,sBAAsB;IACjCC,QAAQ,oBAAoB,CAA5BA,WAA2C,GAAGC;IAC9CD,QAAQ,gBAAgB,CAAxBA,WAAuC,GAAGE;AAC5C"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/areaPercent.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/areaPercent.ts"],"sourcesContent":["import { areaPercentAdvancedPipeline, areaPercentSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerAreaPercent = () => {\n Builder._advancedPipelineMap['areaPercent'] = areaPercentAdvancedPipeline\n Builder._specPipelineMap['areaPercent'] = areaPercentSpecPipeline\n}\n"],"names":["registerAreaPercent","Builder","areaPercentAdvancedPipeline","areaPercentSpecPipeline"],"mappings":";;AAGO,MAAMA,sBAAsB;IACjCC,QAAQ,oBAAoB,CAA5BA,WAA2C,GAAGC;IAC9CD,QAAQ,gBAAgB,CAAxBA,WAAuC,GAAGE;AAC5C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/bar.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/bar.ts"],"sourcesContent":["import { barAdvancedPipeline, barSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerBar = () => {\n Builder._advancedPipelineMap['bar'] = barAdvancedPipeline\n Builder._specPipelineMap['bar'] = barSpecPipeline\n}"],"names":["registerBar","Builder","barAdvancedPipeline","barSpecPipeline"],"mappings":";;AAGO,MAAMA,cAAc;IACzBC,QAAQ,oBAAoB,CAA5BA,GAAmC,GAAGC;IACtCD,QAAQ,gBAAgB,CAAxBA,GAA+B,GAAGE;AACpC"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/bar.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/bar.ts"],"sourcesContent":["import { barAdvancedPipeline, barSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerBar = () => {\n Builder._advancedPipelineMap['bar'] = barAdvancedPipeline\n Builder._specPipelineMap['bar'] = barSpecPipeline\n}\n"],"names":["registerBar","Builder","barAdvancedPipeline","barSpecPipeline"],"mappings":";;AAGO,MAAMA,cAAc;IACzBC,QAAQ,oBAAoB,CAA5BA,GAAmC,GAAGC;IACtCD,QAAQ,gBAAgB,CAAxBA,GAA+B,GAAGE;AACpC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/barParallel.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/barParallel.ts"],"sourcesContent":["import { barParallelAdvancedPipeline, barParallelSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerBarParallel = () => {\n Builder._advancedPipelineMap['barParallel'] = barParallelAdvancedPipeline\n Builder._specPipelineMap['barParallel'] = barParallelSpecPipeline\n}"],"names":["registerBarParallel","Builder","barParallelAdvancedPipeline","barParallelSpecPipeline"],"mappings":";;AAGO,MAAMA,sBAAsB;IACjCC,QAAQ,oBAAoB,CAA5BA,WAA2C,GAAGC;IAC9CD,QAAQ,gBAAgB,CAAxBA,WAAuC,GAAGE;AAC5C"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/barParallel.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/barParallel.ts"],"sourcesContent":["import { barParallelAdvancedPipeline, barParallelSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerBarParallel = () => {\n Builder._advancedPipelineMap['barParallel'] = barParallelAdvancedPipeline\n Builder._specPipelineMap['barParallel'] = barParallelSpecPipeline\n}\n"],"names":["registerBarParallel","Builder","barParallelAdvancedPipeline","barParallelSpecPipeline"],"mappings":";;AAGO,MAAMA,sBAAsB;IACjCC,QAAQ,oBAAoB,CAA5BA,WAA2C,GAAGC;IAC9CD,QAAQ,gBAAgB,CAAxBA,WAAuC,GAAGE;AAC5C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/barPercent.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/barPercent.ts"],"sourcesContent":["import { barPercentAdvancedPipeline, barPercentSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerBarPercent = () => {\n Builder._advancedPipelineMap['barPercent'] = barPercentAdvancedPipeline\n Builder._specPipelineMap['barPercent'] = barPercentSpecPipeline\n}"],"names":["registerBarPercent","Builder","barPercentAdvancedPipeline","barPercentSpecPipeline"],"mappings":";;AAGO,MAAMA,qBAAqB;IAChCC,QAAQ,oBAAoB,CAA5BA,UAA0C,GAAGC;IAC7CD,QAAQ,gBAAgB,CAAxBA,UAAsC,GAAGE;AAC3C"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/barPercent.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/barPercent.ts"],"sourcesContent":["import { barPercentAdvancedPipeline, barPercentSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerBarPercent = () => {\n Builder._advancedPipelineMap['barPercent'] = barPercentAdvancedPipeline\n Builder._specPipelineMap['barPercent'] = barPercentSpecPipeline\n}\n"],"names":["registerBarPercent","Builder","barPercentAdvancedPipeline","barPercentSpecPipeline"],"mappings":";;AAGO,MAAMA,qBAAqB;IAChCC,QAAQ,oBAAoB,CAA5BA,UAA0C,GAAGC;IAC7CD,QAAQ,gBAAgB,CAAxBA,UAAsC,GAAGE;AAC3C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/column.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/column.ts"],"sourcesContent":["import { columnAdvancedPipeline, columnSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerColumn = () => {\n Builder._advancedPipelineMap['column'] = columnAdvancedPipeline\n Builder._specPipelineMap['column'] = columnSpecPipeline\n}"],"names":["registerColumn","Builder","columnAdvancedPipeline","columnSpecPipeline"],"mappings":";;AAGO,MAAMA,iBAAiB;IAC5BC,QAAQ,oBAAoB,CAA5BA,MAAsC,GAAGC;IACzCD,QAAQ,gBAAgB,CAAxBA,MAAkC,GAAGE;AACvC"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/column.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/column.ts"],"sourcesContent":["import { columnAdvancedPipeline, columnSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerColumn = () => {\n Builder._advancedPipelineMap['column'] = columnAdvancedPipeline\n Builder._specPipelineMap['column'] = columnSpecPipeline\n}\n"],"names":["registerColumn","Builder","columnAdvancedPipeline","columnSpecPipeline"],"mappings":";;AAGO,MAAMA,iBAAiB;IAC5BC,QAAQ,oBAAoB,CAA5BA,MAAsC,GAAGC;IACzCD,QAAQ,gBAAgB,CAAxBA,MAAkC,GAAGE;AACvC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/columnParallel.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/columnParallel.ts"],"sourcesContent":["import { columnParallelAdvancedPipeline, columnParallelSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerColumnParallel = () => {\n Builder._advancedPipelineMap['columnParallel'] = columnParallelAdvancedPipeline\n Builder._specPipelineMap['columnParallel'] = columnParallelSpecPipeline\n}"],"names":["registerColumnParallel","Builder","columnParallelAdvancedPipeline","columnParallelSpecPipeline"],"mappings":";;AAGO,MAAMA,yBAAyB;IACpCC,QAAQ,oBAAoB,CAA5BA,cAA8C,GAAGC;IACjDD,QAAQ,gBAAgB,CAAxBA,cAA0C,GAAGE;AAC/C"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/columnParallel.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/columnParallel.ts"],"sourcesContent":["import { columnParallelAdvancedPipeline, columnParallelSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerColumnParallel = () => {\n Builder._advancedPipelineMap['columnParallel'] = columnParallelAdvancedPipeline\n Builder._specPipelineMap['columnParallel'] = columnParallelSpecPipeline\n}\n"],"names":["registerColumnParallel","Builder","columnParallelAdvancedPipeline","columnParallelSpecPipeline"],"mappings":";;AAGO,MAAMA,yBAAyB;IACpCC,QAAQ,oBAAoB,CAA5BA,cAA8C,GAAGC;IACjDD,QAAQ,gBAAgB,CAAxBA,cAA0C,GAAGE;AAC/C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/columnPercent.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/columnPercent.ts"],"sourcesContent":["import { columnPercentAdvancedPipeline, columnPercentSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerColumnPercent = () => {\n Builder._advancedPipelineMap['columnPercent'] = columnPercentAdvancedPipeline\n Builder._specPipelineMap['columnPercent'] = columnPercentSpecPipeline\n}"],"names":["registerColumnPercent","Builder","columnPercentAdvancedPipeline","columnPercentSpecPipeline"],"mappings":";;AAGO,MAAMA,wBAAwB;IACnCC,QAAQ,oBAAoB,CAA5BA,aAA6C,GAAGC;IAChDD,QAAQ,gBAAgB,CAAxBA,aAAyC,GAAGE;AAC9C"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/columnPercent.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/columnPercent.ts"],"sourcesContent":["import { columnPercentAdvancedPipeline, columnPercentSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerColumnPercent = () => {\n Builder._advancedPipelineMap['columnPercent'] = columnPercentAdvancedPipeline\n Builder._specPipelineMap['columnPercent'] = columnPercentSpecPipeline\n}\n"],"names":["registerColumnPercent","Builder","columnPercentAdvancedPipeline","columnPercentSpecPipeline"],"mappings":";;AAGO,MAAMA,wBAAwB;IACnCC,QAAQ,oBAAoB,CAA5BA,aAA6C,GAAGC;IAChDD,QAAQ,gBAAgB,CAAxBA,aAAyC,GAAGE;AAC9C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/donut.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/donut.ts"],"sourcesContent":["import { donutAdvancedPipeline, donutSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerDonut = () => {\n Builder._advancedPipelineMap['donut'] = donutAdvancedPipeline\n Builder._specPipelineMap['donut'] = donutSpecPipeline\n}"],"names":["registerDonut","Builder","donutAdvancedPipeline","donutSpecPipeline"],"mappings":";;AAGO,MAAMA,gBAAgB;IAC3BC,QAAQ,oBAAoB,CAA5BA,KAAqC,GAAGC;IACxCD,QAAQ,gBAAgB,CAAxBA,KAAiC,GAAGE;AACtC"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/donut.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/donut.ts"],"sourcesContent":["import { donutAdvancedPipeline, donutSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerDonut = () => {\n Builder._advancedPipelineMap['donut'] = donutAdvancedPipeline\n Builder._specPipelineMap['donut'] = donutSpecPipeline\n}\n"],"names":["registerDonut","Builder","donutAdvancedPipeline","donutSpecPipeline"],"mappings":";;AAGO,MAAMA,gBAAgB;IAC3BC,QAAQ,oBAAoB,CAA5BA,KAAqC,GAAGC;IACxCD,QAAQ,gBAAgB,CAAxBA,KAAiC,GAAGE;AACtC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/funnel.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/funnel.ts"],"sourcesContent":["import { funnelAdvancedPipeline, funnelSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerFunnel = () => {\n Builder._advancedPipelineMap['funnel'] = funnelAdvancedPipeline\n Builder._specPipelineMap['funnel'] = funnelSpecPipeline\n}"],"names":["registerFunnel","Builder","funnelAdvancedPipeline","funnelSpecPipeline"],"mappings":";;AAGO,MAAMA,iBAAiB;IAC5BC,QAAQ,oBAAoB,CAA5BA,MAAsC,GAAGC;IACzCD,QAAQ,gBAAgB,CAAxBA,MAAkC,GAAGE;AACvC"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/funnel.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/funnel.ts"],"sourcesContent":["import { funnelAdvancedPipeline, funnelSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerFunnel = () => {\n Builder._advancedPipelineMap['funnel'] = funnelAdvancedPipeline\n Builder._specPipelineMap['funnel'] = funnelSpecPipeline\n}\n"],"names":["registerFunnel","Builder","funnelAdvancedPipeline","funnelSpecPipeline"],"mappings":";;AAGO,MAAMA,iBAAiB;IAC5BC,QAAQ,oBAAoB,CAA5BA,MAAsC,GAAGC;IACzCD,QAAQ,gBAAgB,CAAxBA,MAAkC,GAAGE;AACvC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/heatmap.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/heatmap.ts"],"sourcesContent":["import { heatmapAdvancedPipeline, heatmapSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerHeatmap = () => {\n Builder._advancedPipelineMap['heatmap'] = heatmapAdvancedPipeline\n Builder._specPipelineMap['heatmap'] = heatmapSpecPipeline\n}"],"names":["registerHeatmap","Builder","heatmapAdvancedPipeline","heatmapSpecPipeline"],"mappings":";;AAGO,MAAMA,kBAAkB;IAC7BC,QAAQ,oBAAoB,CAA5BA,OAAuC,GAAGC;IAC1CD,QAAQ,gBAAgB,CAAxBA,OAAmC,GAAGE;AACxC"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/heatmap.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/heatmap.ts"],"sourcesContent":["import { heatmapAdvancedPipeline, heatmapSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerHeatmap = () => {\n Builder._advancedPipelineMap['heatmap'] = heatmapAdvancedPipeline\n Builder._specPipelineMap['heatmap'] = heatmapSpecPipeline\n}\n"],"names":["registerHeatmap","Builder","heatmapAdvancedPipeline","heatmapSpecPipeline"],"mappings":";;AAGO,MAAMA,kBAAkB;IAC7BC,QAAQ,oBAAoB,CAA5BA,OAAuC,GAAGC;IAC1CD,QAAQ,gBAAgB,CAAxBA,OAAmC,GAAGE;AACxC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/line.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/line.ts"],"sourcesContent":["import { lineAdvancedPipeline, lineSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerLine = () => {\n Builder._advancedPipelineMap['line'] = lineAdvancedPipeline\n Builder._specPipelineMap['line'] = lineSpecPipeline\n}"],"names":["registerLine","Builder","lineAdvancedPipeline","lineSpecPipeline"],"mappings":";;AAGO,MAAMA,eAAe;IAC1BC,QAAQ,oBAAoB,CAA5BA,IAAoC,GAAGC;IACvCD,QAAQ,gBAAgB,CAAxBA,IAAgC,GAAGE;AACrC"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/line.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/line.ts"],"sourcesContent":["import { lineAdvancedPipeline, lineSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerLine = () => {\n Builder._advancedPipelineMap['line'] = lineAdvancedPipeline\n Builder._specPipelineMap['line'] = lineSpecPipeline\n}\n"],"names":["registerLine","Builder","lineAdvancedPipeline","lineSpecPipeline"],"mappings":";;AAGO,MAAMA,eAAe;IAC1BC,QAAQ,oBAAoB,CAA5BA,IAAoC,GAAGC;IACvCD,QAAQ,gBAAgB,CAAxBA,IAAgC,GAAGE;AACrC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/pie.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/pie.ts"],"sourcesContent":["import { pieAdvancedPipeline, pieSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerPie = () => {\n Builder._advancedPipelineMap['pie'] = pieAdvancedPipeline\n Builder._specPipelineMap['pie'] = pieSpecPipeline\n}"],"names":["registerPie","Builder","pieAdvancedPipeline","pieSpecPipeline"],"mappings":";;AAGO,MAAMA,cAAc;IACzBC,QAAQ,oBAAoB,CAA5BA,GAAmC,GAAGC;IACtCD,QAAQ,gBAAgB,CAAxBA,GAA+B,GAAGE;AACpC"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/pie.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/pie.ts"],"sourcesContent":["import { pieAdvancedPipeline, pieSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerPie = () => {\n Builder._advancedPipelineMap['pie'] = pieAdvancedPipeline\n Builder._specPipelineMap['pie'] = pieSpecPipeline\n}\n"],"names":["registerPie","Builder","pieAdvancedPipeline","pieSpecPipeline"],"mappings":";;AAGO,MAAMA,cAAc;IACzBC,QAAQ,oBAAoB,CAA5BA,GAAmC,GAAGC;IACtCD,QAAQ,gBAAgB,CAAxBA,GAA+B,GAAGE;AACpC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/pivotTable.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/pivotTable.ts"],"sourcesContent":["import { pivotTableAdvancedPipeline, pivotTableSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerPivotTable = () => {\n Builder._advancedPipelineMap['pivotTable'] = pivotTableAdvancedPipeline\n Builder._specPipelineMap['pivotTable'] = pivotTableSpecPipeline\n}"],"names":["registerPivotTable","Builder","pivotTableAdvancedPipeline","pivotTableSpecPipeline"],"mappings":";;AAGO,MAAMA,qBAAqB;IAChCC,QAAQ,oBAAoB,CAA5BA,UAA0C,GAAGC;IAC7CD,QAAQ,gBAAgB,CAAxBA,UAAsC,GAAGE;AAC3C"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/pivotTable.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/pivotTable.ts"],"sourcesContent":["import { pivotTableAdvancedPipeline, pivotTableSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerPivotTable = () => {\n Builder._advancedPipelineMap['pivotTable'] = pivotTableAdvancedPipeline\n Builder._specPipelineMap['pivotTable'] = pivotTableSpecPipeline\n}\n"],"names":["registerPivotTable","Builder","pivotTableAdvancedPipeline","pivotTableSpecPipeline"],"mappings":";;AAGO,MAAMA,qBAAqB;IAChCC,QAAQ,oBAAoB,CAA5BA,UAA0C,GAAGC;IAC7CD,QAAQ,gBAAgB,CAAxBA,UAAsC,GAAGE;AAC3C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/radar.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/radar.ts"],"sourcesContent":["import { radarAdvancedPipeline, radarSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerRadar = () => {\n Builder._advancedPipelineMap['radar'] = radarAdvancedPipeline\n Builder._specPipelineMap['radar'] = radarSpecPipeline\n}"],"names":["registerRadar","Builder","radarAdvancedPipeline","radarSpecPipeline"],"mappings":";;AAGO,MAAMA,gBAAgB;IAC3BC,QAAQ,oBAAoB,CAA5BA,KAAqC,GAAGC;IACxCD,QAAQ,gBAAgB,CAAxBA,KAAiC,GAAGE;AACtC"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/radar.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/radar.ts"],"sourcesContent":["import { radarAdvancedPipeline, radarSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerRadar = () => {\n Builder._advancedPipelineMap['radar'] = radarAdvancedPipeline\n Builder._specPipelineMap['radar'] = radarSpecPipeline\n}\n"],"names":["registerRadar","Builder","radarAdvancedPipeline","radarSpecPipeline"],"mappings":";;AAGO,MAAMA,gBAAgB;IAC3BC,QAAQ,oBAAoB,CAA5BA,KAAqC,GAAGC;IACxCD,QAAQ,gBAAgB,CAAxBA,KAAiC,GAAGE;AACtC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/rose.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/rose.ts"],"sourcesContent":["import { roseAdvancedPipeline, roseSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerRose = () => {\n Builder._advancedPipelineMap['rose'] = roseAdvancedPipeline\n Builder._specPipelineMap['rose'] = roseSpecPipeline\n}"],"names":["registerRose","Builder","roseAdvancedPipeline","roseSpecPipeline"],"mappings":";;AAGO,MAAMA,eAAe;IAC1BC,QAAQ,oBAAoB,CAA5BA,IAAoC,GAAGC;IACvCD,QAAQ,gBAAgB,CAAxBA,IAAgC,GAAGE;AACrC"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/rose.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/rose.ts"],"sourcesContent":["import { roseAdvancedPipeline, roseSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerRose = () => {\n Builder._advancedPipelineMap['rose'] = roseAdvancedPipeline\n Builder._specPipelineMap['rose'] = roseSpecPipeline\n}\n"],"names":["registerRose","Builder","roseAdvancedPipeline","roseSpecPipeline"],"mappings":";;AAGO,MAAMA,eAAe;IAC1BC,QAAQ,oBAAoB,CAA5BA,IAAoC,GAAGC;IACvCD,QAAQ,gBAAgB,CAAxBA,IAAgC,GAAGE;AACrC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/roseParallel.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/roseParallel.ts"],"sourcesContent":["import { roseParallelAdvancedPipeline, roseParallelSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerRoseParallel = () => {\n Builder._advancedPipelineMap['roseParallel'] = roseParallelAdvancedPipeline\n Builder._specPipelineMap['roseParallel'] = roseParallelSpecPipeline\n}"],"names":["registerRoseParallel","Builder","roseParallelAdvancedPipeline","roseParallelSpecPipeline"],"mappings":";;AAGO,MAAMA,uBAAuB;IAClCC,QAAQ,oBAAoB,CAA5BA,YAA4C,GAAGC;IAC/CD,QAAQ,gBAAgB,CAAxBA,YAAwC,GAAGE;AAC7C"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/roseParallel.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/roseParallel.ts"],"sourcesContent":["import { roseParallelAdvancedPipeline, roseParallelSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerRoseParallel = () => {\n Builder._advancedPipelineMap['roseParallel'] = roseParallelAdvancedPipeline\n Builder._specPipelineMap['roseParallel'] = roseParallelSpecPipeline\n}\n"],"names":["registerRoseParallel","Builder","roseParallelAdvancedPipeline","roseParallelSpecPipeline"],"mappings":";;AAGO,MAAMA,uBAAuB;IAClCC,QAAQ,oBAAoB,CAA5BA,YAA4C,GAAGC;IAC/CD,QAAQ,gBAAgB,CAAxBA,YAAwC,GAAGE;AAC7C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/scatter.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/scatter.ts"],"sourcesContent":["import { scatterAdvancedPipeline, scatterSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerScatter = () => {\n Builder._advancedPipelineMap['scatter'] = scatterAdvancedPipeline\n Builder._specPipelineMap['scatter'] = scatterSpecPipeline\n}"],"names":["registerScatter","Builder","scatterAdvancedPipeline","scatterSpecPipeline"],"mappings":";;AAGO,MAAMA,kBAAkB;IAC7BC,QAAQ,oBAAoB,CAA5BA,OAAuC,GAAGC;IAC1CD,QAAQ,gBAAgB,CAAxBA,OAAmC,GAAGE;AACxC"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/scatter.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/scatter.ts"],"sourcesContent":["import { scatterAdvancedPipeline, scatterSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerScatter = () => {\n Builder._advancedPipelineMap['scatter'] = scatterAdvancedPipeline\n Builder._specPipelineMap['scatter'] = scatterSpecPipeline\n}\n"],"names":["registerScatter","Builder","scatterAdvancedPipeline","scatterSpecPipeline"],"mappings":";;AAGO,MAAMA,kBAAkB;IAC7BC,QAAQ,oBAAoB,CAA5BA,OAAuC,GAAGC;IAC1CD,QAAQ,gBAAgB,CAAxBA,OAAmC,GAAGE;AACxC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"builder/register/chartType/table.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/table.ts"],"sourcesContent":["import { tableAdvancedPipeline, tableSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerTable = () => {\n Builder._advancedPipelineMap['table'] = tableAdvancedPipeline\n Builder._specPipelineMap['table'] = tableSpecPipeline\n}"],"names":["registerTable","Builder","tableAdvancedPipeline","tableSpecPipeline"],"mappings":";;AAGO,MAAMA,gBAAgB;IAC3BC,QAAQ,oBAAoB,CAA5BA,KAAqC,GAAGC;IACxCD,QAAQ,gBAAgB,CAAxBA,KAAiC,GAAGE;AACtC"}
|
1
|
+
{"version":3,"file":"builder/register/chartType/table.js","sources":["webpack://@visactor/vseed/./src/builder/register/chartType/table.ts"],"sourcesContent":["import { tableAdvancedPipeline, tableSpecPipeline } from '../../../pipeline'\nimport { Builder } from '../../builder'\n\nexport const registerTable = () => {\n Builder._advancedPipelineMap['table'] = tableAdvancedPipeline\n Builder._specPipelineMap['table'] = tableSpecPipeline\n}\n"],"names":["registerTable","Builder","tableAdvancedPipeline","tableSpecPipeline"],"mappings":";;AAGO,MAAMA,gBAAgB;IAC3BC,QAAQ,oBAAoB,CAA5BA,KAAqC,GAAGC;IACxCD,QAAQ,gBAAgB,CAAxBA,KAAiC,GAAGE;AACtC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline/advanced/chart/pipes/reshape/pivotReshapeWithDualEncoding.js","sources":["webpack://@visactor/vseed/./src/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithDualEncoding.ts"],"sourcesContent":["import { uniqueBy } from 'remeda'\nimport { dataReshapeByEncoding, FoldPrimaryMeasureValue, FoldSecondaryMeasureValue } from 'src/dataReshape'\nimport { getColorMeasureId } from 'src/pipeline/spec/chart/pipes'\nimport { measureDepth } from 'src/pipeline/utils'\nimport type {\n AdvancedPipe,\n AdvancedVSeed,\n ColumnParallel,\n Dataset,\n DatasetReshapeInfo,\n
|
1
|
+
{"version":3,"file":"pipeline/advanced/chart/pipes/reshape/pivotReshapeWithDualEncoding.js","sources":["webpack://@visactor/vseed/./src/pipeline/advanced/chart/pipes/reshape/pivotReshapeWithDualEncoding.ts"],"sourcesContent":["import { uniqueBy } from 'remeda'\nimport { dataReshapeByEncoding, FoldPrimaryMeasureValue, FoldSecondaryMeasureValue } from 'src/dataReshape'\nimport { getColorMeasureId } from 'src/pipeline/spec/chart/pipes'\nimport { measureDepth } from 'src/pipeline/utils'\nimport type {\n AdvancedPipe,\n AdvancedVSeed,\n ColumnParallel,\n Dataset,\n DatasetReshapeInfo,\n Encoding,\n FoldInfo,\n MeasureGroup,\n UnfoldInfo,\n} from 'src/types'\n\nexport const pivotReshapeWithDualEncoding: AdvancedPipe = (advancedVSeed, context) => {\n const result = { ...advancedVSeed }\n const { vseed } = context\n const { dataset } = vseed as ColumnParallel\n const { dimensions = [], measures = [], encoding, chartType } = advancedVSeed\n\n const datasetList: Dataset[] = []\n const datasetReshapeInfo: DatasetReshapeInfo = []\n\n const measureGroups: Array<MeasureGroup[]> = []\n\n const depth = measureDepth(measures)\n if (depth === 3) {\n measures.forEach((measure: MeasureGroup) => {\n measureGroups.push(measure.children as unknown as MeasureGroup[])\n })\n } else if (depth === 2) {\n measureGroups.push(measures as unknown as MeasureGroup[])\n }\n\n measureGroups.forEach((measures: MeasureGroup[], index) => {\n if (measures.length > 2) {\n throw new Error('measures can not be more than 2 groups in dualAxis')\n }\n\n const foldInfoList: FoldInfo[] = []\n const unfoldInfoList: UnfoldInfo[] = []\n\n const datasets: Dataset[] = []\n const primaryMeasures = measures[0]\n const secondaryMeasures = measures[1] || []\n\n if (primaryMeasures && primaryMeasures.children) {\n const {\n dataset: newDataset,\n foldInfo,\n unfoldInfo,\n } = dataReshapeByEncoding(\n dataset,\n uniqueBy(dimensions, (item) => item.id),\n uniqueBy(primaryMeasures.children, (item) => item.id),\n encoding as Encoding,\n {\n colorItemAsId: false,\n foldMeasureValue: `${FoldPrimaryMeasureValue}${index}`,\n colorMeasureId: getColorMeasureId(advancedVSeed as AdvancedVSeed),\n },\n )\n\n datasets.push(newDataset)\n foldInfoList.push(foldInfo)\n unfoldInfoList.push(unfoldInfo)\n }\n\n if (secondaryMeasures && secondaryMeasures.children) {\n const {\n dataset: newDataset,\n foldInfo,\n unfoldInfo,\n } = dataReshapeByEncoding(\n dataset,\n uniqueBy(dimensions, (item) => item.id),\n uniqueBy(secondaryMeasures.children, (item) => item.id),\n encoding as Encoding,\n {\n colorItemAsId: false,\n foldMeasureValue: `${FoldSecondaryMeasureValue}${index}`,\n colorMeasureId: getColorMeasureId(advancedVSeed as AdvancedVSeed),\n },\n )\n\n datasets.push(newDataset)\n foldInfoList.push(foldInfo)\n unfoldInfoList.push(unfoldInfo)\n }\n\n const unfoldInfo: UnfoldInfo = {\n ...unfoldInfoList[0],\n colorItems: unfoldInfoList.flatMap((d) => d.colorItems),\n colorIdMap: unfoldInfoList.reduce((prev, cur) => ({ ...prev, ...cur.colorIdMap }), {}),\n }\n\n const reshapeInfo = {\n id: `${chartType}-${index}`,\n index,\n foldInfo: foldInfoList[0],\n foldInfoList: foldInfoList,\n unfoldInfo: unfoldInfo,\n }\n\n datasetReshapeInfo.push(reshapeInfo)\n datasetList.push(datasets.flat(2))\n })\n\n return {\n ...result,\n dataset: datasetList,\n datasetReshapeInfo: datasetReshapeInfo,\n }\n}\n"],"names":["pivotReshapeWithDualEncoding","advancedVSeed","context","result","vseed","dataset","dimensions","measures","encoding","chartType","datasetList","datasetReshapeInfo","measureGroups","depth","measureDepth","measure","index","Error","foldInfoList","unfoldInfoList","datasets","primaryMeasures","secondaryMeasures","newDataset","foldInfo","unfoldInfo","dataReshapeByEncoding","uniqueBy","item","FoldPrimaryMeasureValue","getColorMeasureId","FoldSecondaryMeasureValue","d","prev","cur","reshapeInfo"],"mappings":";;;;AAgBO,MAAMA,+BAA6C,CAACC,eAAeC;IACxE,MAAMC,SAAS;QAAE,GAAGF,aAAa;IAAC;IAClC,MAAM,EAAEG,KAAK,EAAE,GAAGF;IAClB,MAAM,EAAEG,OAAO,EAAE,GAAGD;IACpB,MAAM,EAAEE,aAAa,EAAE,EAAEC,WAAW,EAAE,EAAEC,QAAQ,EAAEC,SAAS,EAAE,GAAGR;IAEhE,MAAMS,cAAyB,EAAE;IACjC,MAAMC,qBAAyC,EAAE;IAEjD,MAAMC,gBAAuC,EAAE;IAE/C,MAAMC,QAAQC,aAAaP;IAC3B,IAAIM,AAAU,MAAVA,OACFN,SAAS,OAAO,CAAC,CAACQ;QAChBH,cAAc,IAAI,CAACG,QAAQ,QAAQ;IACrC;SACK,IAAIF,AAAU,MAAVA,OACTD,cAAc,IAAI,CAACL;IAGrBK,cAAc,OAAO,CAAC,CAACL,UAA0BS;QAC/C,IAAIT,SAAS,MAAM,GAAG,GACpB,MAAM,IAAIU,MAAM;QAGlB,MAAMC,eAA2B,EAAE;QACnC,MAAMC,iBAA+B,EAAE;QAEvC,MAAMC,WAAsB,EAAE;QAC9B,MAAMC,kBAAkBd,QAAQ,CAAC,EAAE;QACnC,MAAMe,oBAAoBf,QAAQ,CAAC,EAAE,IAAI,EAAE;QAE3C,IAAIc,mBAAmBA,gBAAgB,QAAQ,EAAE;YAC/C,MAAM,EACJ,SAASE,UAAU,EACnBC,QAAQ,EACRC,UAAU,EACX,GAAGC,sBACFrB,SACAsB,SAASrB,YAAY,CAACsB,OAASA,KAAK,EAAE,GACtCD,SAASN,gBAAgB,QAAQ,EAAE,CAACO,OAASA,KAAK,EAAE,GACpDpB,UACA;gBACE,eAAe;gBACf,kBAAkB,GAAGqB,0BAA0Bb,OAAO;gBACtD,gBAAgBc,kBAAkB7B;YACpC;YAGFmB,SAAS,IAAI,CAACG;YACdL,aAAa,IAAI,CAACM;YAClBL,eAAe,IAAI,CAACM;QACtB;QAEA,IAAIH,qBAAqBA,kBAAkB,QAAQ,EAAE;YACnD,MAAM,EACJ,SAASC,UAAU,EACnBC,QAAQ,EACRC,UAAU,EACX,GAAGC,sBACFrB,SACAsB,SAASrB,YAAY,CAACsB,OAASA,KAAK,EAAE,GACtCD,SAASL,kBAAkB,QAAQ,EAAE,CAACM,OAASA,KAAK,EAAE,GACtDpB,UACA;gBACE,eAAe;gBACf,kBAAkB,GAAGuB,4BAA4Bf,OAAO;gBACxD,gBAAgBc,kBAAkB7B;YACpC;YAGFmB,SAAS,IAAI,CAACG;YACdL,aAAa,IAAI,CAACM;YAClBL,eAAe,IAAI,CAACM;QACtB;QAEA,MAAMA,aAAyB;YAC7B,GAAGN,cAAc,CAAC,EAAE;YACpB,YAAYA,eAAe,OAAO,CAAC,CAACa,IAAMA,EAAE,UAAU;YACtD,YAAYb,eAAe,MAAM,CAAC,CAACc,MAAMC,MAAS;oBAAE,GAAGD,IAAI;oBAAE,GAAGC,IAAI,UAAU;gBAAC,IAAI,CAAC;QACtF;QAEA,MAAMC,cAAc;YAClB,IAAI,GAAG1B,UAAU,CAAC,EAAEO,OAAO;YAC3BA;YACA,UAAUE,YAAY,CAAC,EAAE;YACzB,cAAcA;YACd,YAAYO;QACd;QAEAd,mBAAmB,IAAI,CAACwB;QACxBzB,YAAY,IAAI,CAACU,SAAS,IAAI,CAAC;IACjC;IAEA,OAAO;QACL,GAAGjB,MAAM;QACT,SAASO;QACT,oBAAoBC;IACtB;AACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline/advanced/chart/pipes/reshape/reshapeWithDualEncoding.js","sources":["webpack://@visactor/vseed/./src/pipeline/advanced/chart/pipes/reshape/reshapeWithDualEncoding.ts"],"sourcesContent":["import { uniqueBy } from 'remeda'\nimport { dataReshapeByEncoding, FoldPrimaryMeasureValue, FoldSecondaryMeasureValue } from 'src/dataReshape'\nimport { getColorMeasureId } from 'src/pipeline/spec/chart/pipes'\nimport type {\n AdvancedPipe,\n AdvancedVSeed,\n ColumnParallel,\n Dataset,\n
|
1
|
+
{"version":3,"file":"pipeline/advanced/chart/pipes/reshape/reshapeWithDualEncoding.js","sources":["webpack://@visactor/vseed/./src/pipeline/advanced/chart/pipes/reshape/reshapeWithDualEncoding.ts"],"sourcesContent":["import { uniqueBy } from 'remeda'\nimport { dataReshapeByEncoding, FoldPrimaryMeasureValue, FoldSecondaryMeasureValue } from 'src/dataReshape'\nimport { getColorMeasureId } from 'src/pipeline/spec/chart/pipes'\nimport type {\n AdvancedPipe,\n AdvancedVSeed,\n ColumnParallel,\n Dataset,\n Encoding,\n FoldInfo,\n MeasureGroup,\n UnfoldInfo,\n} from 'src/types'\n\nexport const reshapeWithDualEncoding: AdvancedPipe = (advancedVSeed, context) => {\n const result = { ...advancedVSeed }\n const { vseed } = context\n const { dataset } = vseed as ColumnParallel\n const { dimensions = [], measures = [], encoding, chartType } = advancedVSeed\n\n if (measures.length > 2) {\n throw new Error('measures can not be more than 2 groups in dualAxis')\n }\n const foldInfoList: FoldInfo[] = []\n const unfoldInfoList: UnfoldInfo[] = []\n\n const datasets: Dataset[] = []\n const primaryMeasures = measures[0] as MeasureGroup\n const secondaryMeasures = (measures[1] || []) as MeasureGroup\n\n if (primaryMeasures && primaryMeasures.children) {\n const {\n dataset: newDataset,\n foldInfo,\n unfoldInfo,\n } = dataReshapeByEncoding(\n dataset,\n uniqueBy(dimensions, (item) => item.id),\n uniqueBy(primaryMeasures.children, (item) => item.id),\n encoding as Encoding,\n {\n colorItemAsId: false,\n foldMeasureValue: FoldPrimaryMeasureValue,\n colorMeasureId: getColorMeasureId(advancedVSeed as AdvancedVSeed),\n },\n )\n\n datasets.push(newDataset)\n foldInfoList.push(foldInfo)\n unfoldInfoList.push(unfoldInfo)\n }\n\n if (secondaryMeasures && secondaryMeasures.children) {\n const {\n dataset: newDataset,\n foldInfo,\n unfoldInfo,\n } = dataReshapeByEncoding(\n dataset,\n uniqueBy(dimensions, (item) => item.id),\n uniqueBy(secondaryMeasures.children, (item) => item.id),\n encoding as Encoding,\n {\n colorItemAsId: false,\n foldMeasureValue: FoldSecondaryMeasureValue,\n colorMeasureId: getColorMeasureId(advancedVSeed as AdvancedVSeed),\n },\n )\n\n datasets.push(newDataset)\n foldInfoList.push(foldInfo)\n unfoldInfoList.push(unfoldInfo)\n }\n\n const unfoldInfo: UnfoldInfo = {\n ...unfoldInfoList[0],\n colorItems: unfoldInfoList.flatMap((d) => d.colorItems),\n colorIdMap: unfoldInfoList.reduce((prev, cur) => ({ ...prev, ...cur.colorIdMap }), {}),\n }\n\n return {\n ...result,\n dataset: datasets,\n datasetReshapeInfo: [\n {\n id: String(chartType),\n index: 0,\n foldInfo: foldInfoList[0],\n foldInfoList: foldInfoList,\n unfoldInfo: unfoldInfo,\n },\n ],\n }\n}\n"],"names":["reshapeWithDualEncoding","advancedVSeed","context","result","vseed","dataset","dimensions","measures","encoding","chartType","Error","foldInfoList","unfoldInfoList","datasets","primaryMeasures","secondaryMeasures","newDataset","foldInfo","unfoldInfo","dataReshapeByEncoding","uniqueBy","item","FoldPrimaryMeasureValue","getColorMeasureId","FoldSecondaryMeasureValue","d","prev","cur","String"],"mappings":";;;AAcO,MAAMA,0BAAwC,CAACC,eAAeC;IACnE,MAAMC,SAAS;QAAE,GAAGF,aAAa;IAAC;IAClC,MAAM,EAAEG,KAAK,EAAE,GAAGF;IAClB,MAAM,EAAEG,OAAO,EAAE,GAAGD;IACpB,MAAM,EAAEE,aAAa,EAAE,EAAEC,WAAW,EAAE,EAAEC,QAAQ,EAAEC,SAAS,EAAE,GAAGR;IAEhE,IAAIM,SAAS,MAAM,GAAG,GACpB,MAAM,IAAIG,MAAM;IAElB,MAAMC,eAA2B,EAAE;IACnC,MAAMC,iBAA+B,EAAE;IAEvC,MAAMC,WAAsB,EAAE;IAC9B,MAAMC,kBAAkBP,QAAQ,CAAC,EAAE;IACnC,MAAMQ,oBAAqBR,QAAQ,CAAC,EAAE,IAAI,EAAE;IAE5C,IAAIO,mBAAmBA,gBAAgB,QAAQ,EAAE;QAC/C,MAAM,EACJ,SAASE,UAAU,EACnBC,QAAQ,EACRC,UAAU,EACX,GAAGC,sBACFd,SACAe,SAASd,YAAY,CAACe,OAASA,KAAK,EAAE,GACtCD,SAASN,gBAAgB,QAAQ,EAAE,CAACO,OAASA,KAAK,EAAE,GACpDb,UACA;YACE,eAAe;YACf,kBAAkBc;YAClB,gBAAgBC,kBAAkBtB;QACpC;QAGFY,SAAS,IAAI,CAACG;QACdL,aAAa,IAAI,CAACM;QAClBL,eAAe,IAAI,CAACM;IACtB;IAEA,IAAIH,qBAAqBA,kBAAkB,QAAQ,EAAE;QACnD,MAAM,EACJ,SAASC,UAAU,EACnBC,QAAQ,EACRC,UAAU,EACX,GAAGC,sBACFd,SACAe,SAASd,YAAY,CAACe,OAASA,KAAK,EAAE,GACtCD,SAASL,kBAAkB,QAAQ,EAAE,CAACM,OAASA,KAAK,EAAE,GACtDb,UACA;YACE,eAAe;YACf,kBAAkBgB;YAClB,gBAAgBD,kBAAkBtB;QACpC;QAGFY,SAAS,IAAI,CAACG;QACdL,aAAa,IAAI,CAACM;QAClBL,eAAe,IAAI,CAACM;IACtB;IAEA,MAAMA,aAAyB;QAC7B,GAAGN,cAAc,CAAC,EAAE;QACpB,YAAYA,eAAe,OAAO,CAAC,CAACa,IAAMA,EAAE,UAAU;QACtD,YAAYb,eAAe,MAAM,CAAC,CAACc,MAAMC,MAAS;gBAAE,GAAGD,IAAI;gBAAE,GAAGC,IAAI,UAAU;YAAC,IAAI,CAAC;IACtF;IAEA,OAAO;QACL,GAAGxB,MAAM;QACT,SAASU;QACT,oBAAoB;YAClB;gBACE,IAAIe,OAAOnB;gBACX,OAAO;gBACP,UAAUE,YAAY,CAAC,EAAE;gBACzB,cAAcA;gBACd,YAAYO;YACd;SACD;IACH;AACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.js","sources":["webpack://@visactor/vseed/./src/pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.ts"],"sourcesContent":["import { uniqueBy } from 'remeda'\nimport { dataReshapeByEncoding } from 'src/dataReshape'\nimport { getColorMeasureId } from 'src/pipeline/spec/chart/pipes'\nimport { findAllMeasures } from 'src/pipeline/utils'\nimport type { AdvancedPipe, AdvancedVSeed, ColumnParallel,
|
1
|
+
{"version":3,"file":"pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.js","sources":["webpack://@visactor/vseed/./src/pipeline/advanced/chart/pipes/reshape/reshapeWithEncoding.ts"],"sourcesContent":["import { uniqueBy } from 'remeda'\nimport { dataReshapeByEncoding } from 'src/dataReshape'\nimport { getColorMeasureId } from 'src/pipeline/spec/chart/pipes'\nimport { findAllMeasures } from 'src/pipeline/utils'\nimport type { AdvancedPipe, AdvancedVSeed, ColumnParallel, Encoding } from 'src/types'\n\nexport const reshapeWithEncoding: AdvancedPipe = (advancedVSeed, context) => {\n const result = { ...advancedVSeed }\n const { vseed } = context\n const { dataset, chartType } = vseed as ColumnParallel\n const { dimensions = [], measures = [], encoding } = advancedVSeed\n\n const {\n dataset: newDatasets,\n foldInfo,\n unfoldInfo,\n } = dataReshapeByEncoding(\n dataset,\n uniqueBy(dimensions, (item) => item.id),\n uniqueBy(findAllMeasures(measures), (item) => item.id),\n encoding as Encoding,\n {\n colorItemAsId: false,\n colorMeasureId: getColorMeasureId(advancedVSeed as AdvancedVSeed),\n },\n )\n\n return {\n ...result,\n dataset: newDatasets,\n datasetReshapeInfo: [\n {\n id: String(chartType),\n index: 0,\n foldInfo,\n unfoldInfo,\n },\n ],\n dimensions,\n measures,\n }\n}\n"],"names":["reshapeWithEncoding","advancedVSeed","context","result","vseed","dataset","chartType","dimensions","measures","encoding","newDatasets","foldInfo","unfoldInfo","dataReshapeByEncoding","uniqueBy","item","findAllMeasures","getColorMeasureId","String"],"mappings":";;;;AAMO,MAAMA,sBAAoC,CAACC,eAAeC;IAC/D,MAAMC,SAAS;QAAE,GAAGF,aAAa;IAAC;IAClC,MAAM,EAAEG,KAAK,EAAE,GAAGF;IAClB,MAAM,EAAEG,OAAO,EAAEC,SAAS,EAAE,GAAGF;IAC/B,MAAM,EAAEG,aAAa,EAAE,EAAEC,WAAW,EAAE,EAAEC,QAAQ,EAAE,GAAGR;IAErD,MAAM,EACJ,SAASS,WAAW,EACpBC,QAAQ,EACRC,UAAU,EACX,GAAGC,sBACFR,SACAS,SAASP,YAAY,CAACQ,OAASA,KAAK,EAAE,GACtCD,SAASE,gBAAgBR,WAAW,CAACO,OAASA,KAAK,EAAE,GACrDN,UACA;QACE,eAAe;QACf,gBAAgBQ,kBAAkBhB;IACpC;IAGF,OAAO;QACL,GAAGE,MAAM;QACT,SAASO;QACT,oBAAoB;YAClB;gBACE,IAAIQ,OAAOZ;gBACX,OAAO;gBACPK;gBACAC;YACF;SACD;QACDL;QACAC;IACF;AACF"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import type { Datum } from
|
1
|
+
import type { Datum } from '../../../../../types';
|
2
2
|
export declare const isSubset: (sub: Datum, obj: Datum) => boolean;
|
@@ -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
|
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"],"names":["isSubset","sub","obj","Object","key","value"],"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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline/spec/chart/pipes/axes/title/defaultTitleText.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipes/axes/title/defaultTitleText.ts"],"sourcesContent":["import { findAllMeasures } from 'src/pipeline/utils'\nimport type { Dimensions, MeasureTree } from 'src/types'\n\nexport const defaultTitleText = (measures: MeasureTree, dimensions: Dimensions, idList: string[] = []) => {\n const allMeasures = findAllMeasures(measures)\n return idList.map((id) => {\n
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipes/axes/title/defaultTitleText.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipes/axes/title/defaultTitleText.ts"],"sourcesContent":["import { findAllMeasures } from 'src/pipeline/utils'\nimport type { Dimensions, MeasureTree } from 'src/types'\n\nexport const defaultTitleText = (measures: MeasureTree, dimensions: Dimensions, idList: string[] = []) => {\n const allMeasures = findAllMeasures(measures)\n return idList\n .map((id) => {\n const alias = [...allMeasures, ...dimensions].find((f) => f.id === id)?.alias || ''\n return alias\n })\n .join(' & ')\n}\n"],"names":["defaultTitleText","measures","dimensions","idList","allMeasures","findAllMeasures","id","alias","f"],"mappings":";AAGO,MAAMA,mBAAmB,CAACC,UAAuBC,YAAwBC,SAAmB,EAAE;IACnG,MAAMC,cAAcC,gBAAgBJ;IACpC,OAAOE,OACJ,GAAG,CAAC,CAACG;QACJ,MAAMC,QAAQ;eAAIH;eAAgBF;SAAW,CAAC,IAAI,CAAC,CAACM,IAAMA,EAAE,EAAE,KAAKF,KAAK,SAAS;QACjF,OAAOC;IACT,GACC,IAAI,CAAC;AACV"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline/spec/chart/pipes/init/area.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipes/init/area.ts"],"sourcesContent":["import type { IAreaChartSpec } from '@visactor/vchart'\nimport type { SpecPipe } from 'src/types'\nimport { isLinearColor } from '../color/colorAdapter'\n\nexport const initArea: SpecPipe = (spec, context) => {\n const result = { ...spec } as IAreaChartSpec\n const { advancedVSeed } = context\n const { datasetReshapeInfo } = advancedVSeed\n const { unfoldInfo, foldInfo } = datasetReshapeInfo[0]\n\n result.type = 'area'\n result.direction = 'vertical'\n result.yField = foldInfo.measureValue\n
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipes/init/area.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipes/init/area.ts"],"sourcesContent":["import type { IAreaChartSpec } from '@visactor/vchart'\nimport type { SpecPipe } from 'src/types'\nimport { isLinearColor } from '../color/colorAdapter'\n\nexport const initArea: SpecPipe = (spec, context) => {\n const result = { ...spec } as IAreaChartSpec\n const { advancedVSeed } = context\n const { datasetReshapeInfo } = advancedVSeed\n const { unfoldInfo, foldInfo } = datasetReshapeInfo[0]\n\n result.type = 'area'\n result.direction = 'vertical'\n result.yField = foldInfo.measureValue\n\n result.xField = unfoldInfo.encodingX\n result.seriesField = isLinearColor(advancedVSeed) ? unfoldInfo.encodingDetail : unfoldInfo.encodingColorId\n result.padding = 0\n result.region = [\n {\n clip: true,\n },\n ]\n result.animation = true\n return result\n}\n"],"names":["initArea","spec","context","result","advancedVSeed","datasetReshapeInfo","unfoldInfo","foldInfo","isLinearColor"],"mappings":";AAIO,MAAMA,WAAqB,CAACC,MAAMC;IACvC,MAAMC,SAAS;QAAE,GAAGF,IAAI;IAAC;IACzB,MAAM,EAAEG,aAAa,EAAE,GAAGF;IAC1B,MAAM,EAAEG,kBAAkB,EAAE,GAAGD;IAC/B,MAAM,EAAEE,UAAU,EAAEC,QAAQ,EAAE,GAAGF,kBAAkB,CAAC,EAAE;IAEtDF,OAAO,IAAI,GAAG;IACdA,OAAO,SAAS,GAAG;IACnBA,OAAO,MAAM,GAAGI,SAAS,YAAY;IAErCJ,OAAO,MAAM,GAAGG,WAAW,SAAS;IACpCH,OAAO,WAAW,GAAGK,cAAcJ,iBAAiBE,WAAW,cAAc,GAAGA,WAAW,eAAe;IAC1GH,OAAO,OAAO,GAAG;IACjBA,OAAO,MAAM,GAAG;QACd;YACE,MAAM;QACR;KACD;IACDA,OAAO,SAAS,GAAG;IACnB,OAAOA;AACT"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { SpecPipe } from '../../../../../types';
|
1
|
+
import type { SpecPipe } from '../../../../../types';
|
2
2
|
export declare const percent: SpecPipe;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline/spec/chart/pipes/percent/percent.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipes/percent/percent.ts"],"sourcesContent":["import { IAreaChartSpec, IBarChartSpec } from '@visactor/vchart'\nimport { SpecPipe } from 'src/types'\n\nexport const percent: SpecPipe = (spec
|
1
|
+
{"version":3,"file":"pipeline/spec/chart/pipes/percent/percent.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/chart/pipes/percent/percent.ts"],"sourcesContent":["import type { IAreaChartSpec, IBarChartSpec } from '@visactor/vchart'\nimport type { SpecPipe } from 'src/types'\n\nexport const percent: SpecPipe = (spec) => {\n const result = { ...spec } as IAreaChartSpec | IBarChartSpec\n result.percent = true\n return result\n}\n"],"names":["percent","spec","result"],"mappings":"AAGO,MAAMA,UAAoB,CAACC;IAChC,MAAMC,SAAS;QAAE,GAAGD,IAAI;IAAC;IACzBC,OAAO,OAAO,GAAG;IACjB,OAAOA;AACT"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline/spec/table/pipeline/table.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/table/pipeline/table.ts"],"sourcesContent":["import type { SpecPipeline } from 'src/types'\nimport {
|
1
|
+
{"version":3,"file":"pipeline/spec/table/pipeline/table.js","sources":["webpack://@visactor/vseed/./src/pipeline/spec/table/pipeline/table.ts"],"sourcesContent":["import type { SpecPipeline } from 'src/types'\nimport {\n initTable,\n dimensionTreeToColumns,\n measureTreeToColumns,\n bodyStyle,\n headerStyle,\n frameStyle,\n selectionStyle,\n} from '../pipes'\n\nexport const tableSpecPipeline: SpecPipeline = [\n initTable,\n dimensionTreeToColumns,\n measureTreeToColumns,\n bodyStyle,\n headerStyle,\n frameStyle,\n selectionStyle,\n]\n"],"names":["tableSpecPipeline","initTable","dimensionTreeToColumns","measureTreeToColumns","bodyStyle","headerStyle","frameStyle","selectionStyle"],"mappings":";AAWO,MAAMA,oBAAkC;IAC7CC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;CACD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pipeline/utils/measures/depth.js","sources":["webpack://@visactor/vseed/./src/pipeline/utils/measures/depth.ts"],"sourcesContent":["import type { Measure, MeasureGroup, MeasureTree } from
|
1
|
+
{"version":3,"file":"pipeline/utils/measures/depth.js","sources":["webpack://@visactor/vseed/./src/pipeline/utils/measures/depth.ts"],"sourcesContent":["import type { Measure, MeasureGroup, MeasureTree } from 'src/types'\nimport { preorderTraverse } from '../tree/traverse'\n\n/**\n * 获取measures的深度\n * @param measures\n * @param id\n * @returns\n */\nexport const measureDepth = (measures: MeasureTree = []): number => {\n if (!measures) return 0\n let depth = 1\n preorderTraverse<Measure, MeasureGroup>(measures, (node) => {\n if ('children' in node) {\n depth = Math.max(depth, 1 + measureDepth(node.children))\n }\n return false\n })\n return depth\n}\n"],"names":["measureDepth","measures","depth","preorderTraverse","node","Math"],"mappings":";AASO,MAAMA,eAAe,CAACC,WAAwB,EAAE;IACrD,IAAI,CAACA,UAAU,OAAO;IACtB,IAAIC,QAAQ;IACZC,iBAAwCF,UAAU,CAACG;QACjD,IAAI,cAAcA,MAChBF,QAAQG,KAAK,GAAG,CAACH,OAAO,IAAIF,aAAaI,KAAK,QAAQ;QAExD,OAAO;IACT;IACA,OAAOF;AACT"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/chartType/dualAxis/zDualAxis.js","sources":["webpack://@visactor/vseed/./src/types/chartType/dualAxis/zDualAxis.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from 'src/types/i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zAreaStyle,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zDualChartType,\n zDualMeasures,\n zLabel,\n zLegend,\n zLineStyle,\n zMeasureTree,\n zPointStyle,\n zSort,\n zSortLegend,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from 'src/types/properties'\n\nexport const zDualAxis = z.object({\n chartType: z.literal('dualAxis'),\n\n dataset: zDataset.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n dualMeasures: zDualMeasures.nullish(),\n\n dualChartType: z.array(zDualChartType).or(zDualChartType).nullish(),\n alignTicks: z.array(z.boolean()).or(z.boolean()).nullish(),\n
|
1
|
+
{"version":3,"file":"types/chartType/dualAxis/zDualAxis.js","sources":["webpack://@visactor/vseed/./src/types/chartType/dualAxis/zDualAxis.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zLocale } from 'src/types/i18n'\nimport {\n zAnnotationArea,\n zAnnotationHorizontalLine,\n zAnnotationPoint,\n zAnnotationVerticalLine,\n zAreaStyle,\n zBackgroundColor,\n zBarStyle,\n zColor,\n zCrosshairRect,\n zDataset,\n zDimensions,\n zDualChartType,\n zDualMeasures,\n zLabel,\n zLegend,\n zLineStyle,\n zMeasureTree,\n zPointStyle,\n zSort,\n zSortLegend,\n zTheme,\n zTooltip,\n zXBandAxis,\n zYLinearAxis,\n} from 'src/types/properties'\n\nexport const zDualAxis = z.object({\n chartType: z.literal('dualAxis'),\n\n dataset: zDataset.nullish(),\n dimensions: zDimensions.nullish(),\n measures: zMeasureTree.nullish(),\n dualMeasures: zDualMeasures.nullish(),\n\n dualChartType: z.array(zDualChartType).or(zDualChartType).nullish(),\n alignTicks: z.array(z.boolean()).or(z.boolean()).nullish(),\n\n primaryYAxis: z.array(zYLinearAxis).or(zYLinearAxis).nullish(),\n secondaryYAxis: z.array(zYLinearAxis).or(zYLinearAxis).nullish(),\n xAxis: zXBandAxis.nullish(),\n\n backgroundColor: zBackgroundColor.nullish(),\n color: zColor.nullish(),\n label: zLabel.omit({ labelLayout: true }).nullish(),\n legend: zLegend.nullish(),\n tooltip: zTooltip.nullish(),\n\n crosshairRect: zCrosshairRect.nullish(),\n sort: zSort.nullish(),\n sortLegend: zSortLegend.nullish(),\n theme: zTheme.nullish(),\n\n barStyle: z.array(zBarStyle).or(zBarStyle).nullish(),\n pointStyle: z.array(zPointStyle).or(zPointStyle).nullish(),\n lineStyle: z.array(zLineStyle).or(zLineStyle).nullish(),\n areaStyle: z.array(zAreaStyle).or(zAreaStyle).nullish(),\n\n annotationPoint: z.array(zAnnotationPoint).or(zAnnotationPoint).nullish(),\n annotationVerticalLine: z.array(zAnnotationVerticalLine).or(zAnnotationVerticalLine).nullish(),\n annotationHorizontalLine: z.array(zAnnotationHorizontalLine).or(zAnnotationHorizontalLine).nullish(),\n annotationArea: z.array(zAnnotationArea).or(zAnnotationArea).nullish(),\n\n locale: zLocale.nullish(),\n})\n"],"names":["zDualAxis","z","zDataset","zDimensions","zMeasureTree","zDualMeasures","zDualChartType","zYLinearAxis","zXBandAxis","zBackgroundColor","zColor","zLabel","zLegend","zTooltip","zCrosshairRect","zSort","zSortLegend","zTheme","zBarStyle","zPointStyle","zLineStyle","zAreaStyle","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea","zLocale"],"mappings":";;;AA6BO,MAAMA,YAAYC,EAAE,MAAM,CAAC;IAChC,WAAWA,EAAE,OAAO,CAAC;IAErB,SAASC,SAAS,OAAO;IACzB,YAAYC,YAAY,OAAO;IAC/B,UAAUC,aAAa,OAAO;IAC9B,cAAcC,cAAc,OAAO;IAEnC,eAAeJ,EAAE,KAAK,CAACK,gBAAgB,EAAE,CAACA,gBAAgB,OAAO;IACjE,YAAYL,EAAE,KAAK,CAACA,EAAE,OAAO,IAAI,EAAE,CAACA,EAAE,OAAO,IAAI,OAAO;IAExD,cAAcA,EAAE,KAAK,CAACM,cAAc,EAAE,CAACA,cAAc,OAAO;IAC5D,gBAAgBN,EAAE,KAAK,CAACM,cAAc,EAAE,CAACA,cAAc,OAAO;IAC9D,OAAOC,WAAW,OAAO;IAEzB,iBAAiBC,iBAAiB,OAAO;IACzC,OAAOC,OAAO,OAAO;IACrB,OAAOC,OAAO,IAAI,CAAC;QAAE,aAAa;IAAK,GAAG,OAAO;IACjD,QAAQC,QAAQ,OAAO;IACvB,SAASC,SAAS,OAAO;IAEzB,eAAeC,eAAe,OAAO;IACrC,MAAMC,MAAM,OAAO;IACnB,YAAYC,YAAY,OAAO;IAC/B,OAAOC,OAAO,OAAO;IAErB,UAAUhB,EAAE,KAAK,CAACiB,WAAW,EAAE,CAACA,WAAW,OAAO;IAClD,YAAYjB,EAAE,KAAK,CAACkB,aAAa,EAAE,CAACA,aAAa,OAAO;IACxD,WAAWlB,EAAE,KAAK,CAACmB,YAAY,EAAE,CAACA,YAAY,OAAO;IACrD,WAAWnB,EAAE,KAAK,CAACoB,YAAY,EAAE,CAACA,YAAY,OAAO;IAErD,iBAAiBpB,EAAE,KAAK,CAACqB,kBAAkB,EAAE,CAACA,kBAAkB,OAAO;IACvE,wBAAwBrB,EAAE,KAAK,CAACsB,yBAAyB,EAAE,CAACA,yBAAyB,OAAO;IAC5F,0BAA0BtB,EAAE,KAAK,CAACuB,2BAA2B,EAAE,CAACA,2BAA2B,OAAO;IAClG,gBAAgBvB,EAAE,KAAK,CAACwB,iBAAiB,EAAE,CAACA,iBAAiB,OAAO;IAEpE,QAAQC,QAAQ,OAAO;AACzB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/properties/analysis/sort.js","sources":["webpack://@visactor/vseed/./src/types/properties/analysis/sort.ts"],"sourcesContent":["import { z } from 'zod'\n\nexport const zSort = z.object({\n order: z.enum(['asc', 'desc']).default('asc'),\n orderBy: z.string().nullish(),\n customOrder: z.array(z.any()).nullish(),\n})\n\n/**\n * @description 类目轴排序配置, 支持根据维度或指标排序, 以及自定义排序顺序\n * @default {}\n * @example
|
1
|
+
{"version":3,"file":"types/properties/analysis/sort.js","sources":["webpack://@visactor/vseed/./src/types/properties/analysis/sort.ts"],"sourcesContent":["import { z } from 'zod'\n\nexport const zSort = z.object({\n order: z.enum(['asc', 'desc']).default('asc'),\n orderBy: z.string().nullish(),\n customOrder: z.array(z.any()).nullish(),\n})\n\n/**\n * @description 类目轴排序配置, 支持根据维度或指标排序, 以及自定义排序顺序\n * @default {}\n * @example\n * - order:'asc'\n * - orderBy:'date'\n * 或\n * - customOrder:['2019', '2020', '2021']\n */\nexport type Sort = {\n /**\n * @description 排序顺序, 可选值为 'asc' 或 'desc'\n * @enum ['asc', 'desc']\n * @example order:'asc'\n */\n order?: 'asc' | 'desc'\n\n /**\n * @description 排序依赖的字段, 可以是维度id或指标id\n * @example\n * - orderBy:'date'\n * - orderBy:'profit'\n */\n orderBy?: string\n\n /**\n * @description 自定义排序顺序, 该顺序将直接应用至类目轴\n */\n customOrder?: string[]\n}\n"],"names":["zSort","z"],"mappings":";AAEO,MAAMA,QAAQC,EAAE,MAAM,CAAC;IAC5B,OAAOA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAO;KAAO,EAAE,OAAO,CAAC;IACvC,SAASA,EAAE,MAAM,GAAG,OAAO;IAC3B,aAAaA,EAAE,KAAK,CAACA,EAAE,GAAG,IAAI,OAAO;AACvC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/properties/analysis/sortLegend.js","sources":["webpack://@visactor/vseed/./src/types/properties/analysis/sortLegend.ts"],"sourcesContent":["import { z } from 'zod'\n\nexport const zSortLegend = z.object({\n order: z.enum(['asc', 'desc']).default('asc'),\n orderBy: z.string().nullish(),\n customOrder: z.array(z.any()).nullish(),\n})\n\n/**\n * @description 图例排序配置, 支持根据维度或指标排序, 以及自定义排序顺序; 排序数组遵循从左到右或从上到下的顺序\n * @default {}\n * @example
|
1
|
+
{"version":3,"file":"types/properties/analysis/sortLegend.js","sources":["webpack://@visactor/vseed/./src/types/properties/analysis/sortLegend.ts"],"sourcesContent":["import { z } from 'zod'\n\nexport const zSortLegend = z.object({\n order: z.enum(['asc', 'desc']).default('asc'),\n orderBy: z.string().nullish(),\n customOrder: z.array(z.any()).nullish(),\n})\n\n/**\n * @description 图例排序配置, 支持根据维度或指标排序, 以及自定义排序顺序; 排序数组遵循从左到右或从上到下的顺序\n * @default {}\n * @example\n * - order:'asc'\n * - orderBy:'date'\n * 或\n * - customOrder:['2019', '2020', '2021']\n */\nexport type SortLegend = {\n /**\n * @description 排序顺序, 可选值为 'asc' 或 'desc'\n * @default 'asc'\n * @enum ['asc', 'desc']\n * @example order:'asc'\n */\n order?: 'asc' | 'desc'\n /**\n * @description 排序依赖的字段, 可以是维度id或指标id\n * @example\n * - orderBy:'date'\n * - orderBy:'profit'\n */\n orderBy?: string\n /**\n * @description 自定义排序顺序, 该顺序将直接应用至图例, 升序从左到右或从上到下, 降序从右到左或从下到上\n */\n customOrder?: string[]\n}\n"],"names":["zSortLegend","z"],"mappings":";AAEO,MAAMA,cAAcC,EAAE,MAAM,CAAC;IAClC,OAAOA,CAAC,CAADA,OAAM,CAAC;QAAC;QAAO;KAAO,EAAE,OAAO,CAAC;IACvC,SAASA,EAAE,MAAM,GAAG,OAAO;IAC3B,aAAaA,EAAE,KAAK,CAACA,EAAE,GAAG,IAAI,OAAO;AACvC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/properties/annotation/annotation.js","sources":["webpack://@visactor/vseed/./src/types/properties/annotation/annotation.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zAnnotationPoint } from './zAnnotationPoint'\nimport { zAnnotationVerticalLine } from './zAnnotationVerticalLine'\nimport { zAnnotationHorizontalLine } from './zAnnotationHorizontalLine'\nimport { zAnnotationArea } from './zAnnotationArea'\n\
|
1
|
+
{"version":3,"file":"types/properties/annotation/annotation.js","sources":["webpack://@visactor/vseed/./src/types/properties/annotation/annotation.ts"],"sourcesContent":["import { z } from 'zod'\nimport { zAnnotationPoint } from './zAnnotationPoint'\nimport { zAnnotationVerticalLine } from './zAnnotationVerticalLine'\nimport { zAnnotationHorizontalLine } from './zAnnotationHorizontalLine'\nimport { zAnnotationArea } from './zAnnotationArea'\n\nexport const zAnnotation = z.object({\n annotationPoint: zAnnotationPoint.or(z.array(zAnnotationPoint)).nullish(),\n annotationVerticalLine: zAnnotationVerticalLine.or(z.array(zAnnotationVerticalLine)).nullish(),\n annotationHorizontalLine: zAnnotationHorizontalLine.or(z.array(zAnnotationHorizontalLine)).nullish(),\n annotationArea: zAnnotationArea.or(z.array(zAnnotationArea)).nullish(),\n})\n\nexport type Annotation = z.infer<typeof zAnnotation>\n"],"names":["zAnnotation","z","zAnnotationPoint","zAnnotationVerticalLine","zAnnotationHorizontalLine","zAnnotationArea"],"mappings":";;;;;AAMO,MAAMA,cAAcC,EAAE,MAAM,CAAC;IAClC,iBAAiBC,iBAAiB,EAAE,CAACD,EAAE,KAAK,CAACC,mBAAmB,OAAO;IACvE,wBAAwBC,wBAAwB,EAAE,CAACF,EAAE,KAAK,CAACE,0BAA0B,OAAO;IAC5F,0BAA0BC,0BAA0B,EAAE,CAACH,EAAE,KAAK,CAACG,4BAA4B,OAAO;IAClG,gBAAgBC,gBAAgB,EAAE,CAACJ,EAAE,KAAK,CAACI,kBAAkB,OAAO;AACtE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types/zVseed.js","sources":["webpack://@visactor/vseed/./src/types/zVseed.ts"],"sourcesContent":["import { z } from 'zod'\n\nimport { zBar } from './chartType/bar'\nimport { zBarParallel } from './chartType/barParallel'\nimport { zColumn } from './chartType/column'\nimport { zColumnParallel } from './chartType/columnParallel'\nimport { zColumnPercent } from './chartType/columnPercent'\nimport { zLine } from './chartType/line'\nimport { zRose } from './chartType/rose'\nimport { zBarPercent } from './chartType/barPercent'\nimport { zPie } from './chartType/pie'\nimport { zDonut } from './chartType/donut'\nimport { zArea } from './chartType/area'\nimport { zAreaPercent } from './chartType/areaPercent'\nimport {
|
1
|
+
{"version":3,"file":"types/zVseed.js","sources":["webpack://@visactor/vseed/./src/types/zVseed.ts"],"sourcesContent":["import { z } from 'zod'\n\nimport { zBar } from './chartType/bar'\nimport { zBarParallel } from './chartType/barParallel'\nimport { zColumn } from './chartType/column'\nimport { zColumnParallel } from './chartType/columnParallel'\nimport { zColumnPercent } from './chartType/columnPercent'\nimport { zLine } from './chartType/line'\nimport { zRose } from './chartType/rose'\nimport { zBarPercent } from './chartType/barPercent'\nimport { zPie } from './chartType/pie'\nimport { zDonut } from './chartType/donut'\nimport { zArea } from './chartType/area'\nimport { zAreaPercent } from './chartType/areaPercent'\nimport { zDualAxis, zFunnel, zHeatmap, zPivotTable, zRadar, zRoseParallel, zScatter, zTable } from './chartType'\n\nexport const zVSeed = z.discriminatedUnion('chartType', [\n zTable,\n zPivotTable,\n // cartesian\n zLine,\n zColumn,\n zColumnParallel,\n zColumnPercent,\n zBar,\n zBarParallel,\n zBarPercent,\n zArea,\n zAreaPercent,\n zScatter,\n zDualAxis,\n // polar\n zPie,\n zDonut,\n zRose,\n zRoseParallel,\n zRadar,\n // other\n zFunnel,\n zHeatmap,\n])\n"],"names":["zVSeed","z","zTable","zPivotTable","zLine","zColumn","zColumnParallel","zColumnPercent","zBar","zBarParallel","zBarPercent","zArea","zAreaPercent","zScatter","zDualAxis","zPie","zDonut","zRose","zRoseParallel","zRadar","zFunnel","zHeatmap"],"mappings":";;;;;;;;;;;;;;AAgBO,MAAMA,SAASC,EAAE,kBAAkB,CAAC,aAAa;IACtDC;IACAC;IAEAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IACAC;IAEAC;IACAC;IACAC;IACAC;IACAC;IAEAC;IACAC;CACD"}
|