@visactor/vseed 0.0.22 → 0.0.24

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 (55) hide show
  1. package/dist/builder/builder/builder.d.ts +2168 -926
  2. package/dist/builder/register/chartType.d.ts +3 -0
  3. package/dist/builder/register/custom.d.ts +3 -0
  4. package/dist/builder/register/index.d.ts +1 -0
  5. package/dist/dataReshape/dataReshapeFor1D.d.ts +19 -0
  6. package/dist/dataReshape/dataReshapeFor2D1M0Name.d.ts +19 -0
  7. package/dist/dataReshape/index.d.ts +2 -0
  8. package/dist/dataReshape/unfoldZeroDimensions.d.ts +10 -0
  9. package/dist/index.cjs +1104 -149
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.js +1032 -134
  12. package/dist/index.js.map +1 -1
  13. package/dist/pipeline/advanced/chart/pipeline/areaRange.d.ts +2 -0
  14. package/dist/pipeline/advanced/chart/pipeline/heatmap.d.ts +2 -0
  15. package/dist/pipeline/advanced/chart/pipeline/index.d.ts +3 -0
  16. package/dist/pipeline/advanced/chart/pipeline/radar.d.ts +2 -0
  17. package/dist/pipeline/advanced/chart/pipes/config/config.d.ts +2 -0
  18. package/dist/pipeline/advanced/chart/pipes/encoding/encodingAR.d.ts +2 -0
  19. package/dist/pipeline/advanced/chart/pipes/encoding/encodingXYY.d.ts +2 -0
  20. package/dist/pipeline/advanced/chart/pipes/encoding/index.d.ts +2 -0
  21. package/dist/pipeline/advanced/chart/pipes/init/autoMeasuresBy2M1Group.d.ts +8 -0
  22. package/dist/pipeline/advanced/chart/pipes/init/index.d.ts +1 -0
  23. package/dist/pipeline/advanced/chart/pipes/reshape/index.d.ts +5 -1
  24. package/dist/pipeline/advanced/chart/pipes/reshape/pivotReshapeTo1D.d.ts +8 -0
  25. package/dist/pipeline/advanced/chart/pipes/reshape/pivotReshapeTo2D1M0Name.d.ts +8 -0
  26. package/dist/pipeline/advanced/chart/pipes/reshape/reshapeTo1D.d.ts +8 -0
  27. package/dist/pipeline/advanced/chart/pipes/reshape/reshapeTo2D1M0Name.d.ts +8 -0
  28. package/dist/pipeline/spec/chart/pipeline/areaRange.d.ts +1 -0
  29. package/dist/pipeline/spec/chart/pipeline/heatmap.d.ts +2 -0
  30. package/dist/pipeline/spec/chart/pipeline/index.d.ts +4 -1
  31. package/dist/pipeline/spec/chart/pipeline/radar.d.ts +2 -0
  32. package/dist/pipeline/spec/chart/pipes/axes/index.d.ts +2 -0
  33. package/dist/pipeline/spec/chart/pipes/axes/radarAngle.d.ts +2 -0
  34. package/dist/pipeline/spec/chart/pipes/axes/radarRadius.d.ts +2 -0
  35. package/dist/pipeline/spec/chart/pipes/index.d.ts +1 -0
  36. package/dist/pipeline/spec/chart/pipes/init/areaRange.d.ts +4 -0
  37. package/dist/pipeline/spec/chart/pipes/init/index.d.ts +4 -2
  38. package/dist/pipeline/spec/chart/pipes/{axes/a.d.ts → init/radar.d.ts} +1 -1
  39. package/dist/pipeline/spec/chart/pipes/series/index.d.ts +1 -0
  40. package/dist/pipeline/spec/chart/pipes/series/series.d.ts +2 -0
  41. package/dist/types/advancedVSeed.d.ts +763 -186
  42. package/dist/types/chartType/areaRange/areaRange.d.ts +1337 -0
  43. package/dist/types/chartType/areaRange/index.d.ts +1 -0
  44. package/dist/types/chartType/heatmap/heatmap.d.ts +207 -0
  45. package/dist/types/chartType/heatmap/index.d.ts +1 -0
  46. package/dist/types/chartType/index.d.ts +5 -2
  47. package/dist/types/chartType/radar/index.d.ts +1 -0
  48. package/dist/types/chartType/radar/radar.d.ts +207 -0
  49. package/dist/types/properties/chartType/chartType.d.ts +12 -6
  50. package/dist/types/properties/config/config.d.ts +843 -255
  51. package/dist/types/properties/theme/customTheme.d.ts +788 -214
  52. package/dist/types/vseed.d.ts +2051 -628
  53. package/dist/umd/index.js +1066 -149
  54. package/dist/umd/index.js.map +1 -1
  55. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ import type { AdvancedPipeline } from '../../../../types';
2
+ export declare const areaRangeAdvancedPipeline: AdvancedPipeline;
@@ -0,0 +1,2 @@
1
+ import type { AdvancedPipeline } from '../../../../types';
2
+ export declare const heatmapAdvancedPipeline: AdvancedPipeline;
@@ -7,9 +7,12 @@ export { columnParallelAdvancedPipeline } from './columnParallel';
7
7
  export { columnPercentAdvancedPipeline } from './columnPercent';
8
8
  export { areaAdvancedPipeline } from './area';
9
9
  export { areaPercentAdvancedPipeline } from './areaPercent';
10
+ export { areaRangeAdvancedPipeline } from './areaRange';
10
11
  export { pieAdvancedPipeline } from './pie';
11
12
  export { donutAdvancedPipeline } from './donut';
12
13
  export { roseAdvancedPipeline } from './rose';
13
14
  export { roseParallelAdvancedPipeline } from './roseParallel';
14
15
  export { funnelAdvancedPipeline } from './funnel';
15
16
  export { scatterAdvancedPipeline } from './scatter';
17
+ export { heatmapAdvancedPipeline } from './heatmap';
18
+ export { radarAdvancedPipeline } from './radar';
@@ -0,0 +1,2 @@
1
+ import type { AdvancedPipeline } from '../../../../types';
2
+ export declare const radarAdvancedPipeline: AdvancedPipeline;
@@ -14,3 +14,5 @@ export declare const donutConfig: AdvancedPipe;
14
14
  export declare const roseConfig: AdvancedPipe;
15
15
  export declare const roseParallelConfig: AdvancedPipe;
16
16
  export declare const funnelConfig: AdvancedPipe;
17
+ export declare const heatmapConfig: AdvancedPipe;
18
+ export declare const radarConfig: AdvancedPipe;
@@ -0,0 +1,2 @@
1
+ import type { AdvancedPipe } from '../../../../../types';
2
+ export declare const encodingAR: AdvancedPipe;
@@ -0,0 +1,2 @@
1
+ import type { AdvancedPipe } from '../../../../../types';
2
+ export declare const encodingXYY: AdvancedPipe;
@@ -1,6 +1,8 @@
1
1
  export { encodingXY } from './encodingXY';
2
2
  export { encodingYX } from './encodingYX';
3
3
  export { encodingYY } from './encodingYY';
4
+ export { encodingXYY } from './encodingXYY';
4
5
  export { encodingRose } from './encodingRose';
5
6
  export { encodingPie } from './encodingPie';
7
+ export { encodingAR } from './encodingAR';
6
8
  export { encodingFunnel } from './encodingFunnel';
@@ -0,0 +1,8 @@
1
+ import type { AdvancedPipe } from '../../../../../types';
2
+ /**
3
+ * 自动处理指标, 如果超出了2个指标, 则按每2个指标一个组的逻辑维护
4
+ * @param advancedVSeed
5
+ * @param context
6
+ * @returns
7
+ */
8
+ export declare const autoMeasuresBy2M1Group: AdvancedPipe;
@@ -1,3 +1,4 @@
1
1
  export { initAdvancedVSeed } from './initAdvancedVSeed';
2
2
  export { autoMeasures } from './autoMeasures';
3
3
  export { autoDimensions } from './autoDimensions';
4
+ export { autoMeasuresBy2M1Group } from './autoMeasuresBy2M1Group';
@@ -1,6 +1,10 @@
1
1
  export { reshapeTo2D1M } from './reshapeTo2D1M';
2
+ export { reshapeTo2D1M0Name } from './reshapeTo2D1M0Name';
2
3
  export { reshapeTo1D1M } from './reshapeTo1D1M';
3
4
  export { reshapeTo1D2M } from './reshapeTo1D2M';
5
+ export { reshapeTo1D } from './reshapeTo1D';
6
+ export { pivotReshapeTo2D1M } from './pivotReshapeTo2D1M';
7
+ export { pivotReshapeTo2D1M0Name } from './pivotReshapeTo2D1M0Name';
4
8
  export { pivotReshapeTo1D1M } from './pivotReshapeTo1D1M';
5
9
  export { pivotReshapeTo1D2M } from './pivotReshapeTo1D2M';
6
- export { pivotReshapeTo2D1M } from './pivotReshapeTo2D1M';
10
+ export { pivotReshapeTo1D } from './pivotReshapeTo1D';
@@ -0,0 +1,8 @@
1
+ import type { AdvancedPipe } from '../../../../../types';
2
+ /**
3
+ * 数据重塑为透视结构, 如果存在指标分组, 则将数据按组划分
4
+ * @param advancedVSeed
5
+ * @param context
6
+ * @returns
7
+ */
8
+ export declare const pivotReshapeTo1D: AdvancedPipe;
@@ -0,0 +1,8 @@
1
+ import type { AdvancedPipe } from '../../../../../types';
2
+ /**
3
+ * @description 数据重塑为透视结构, 如果存在指标分组, 则将数据按组划分. 如果存在行列维度, 则生成行列树结构. 并且在0维度时, 合并所有指标为一个维度. 兼容折线图、面积图、雷达图只有指标, 没有维度的场景
4
+ * @param advancedVSeed
5
+ * @param context
6
+ * @returns
7
+ */
8
+ export declare const pivotReshapeTo2D1M0Name: AdvancedPipe;
@@ -0,0 +1,8 @@
1
+ import type { AdvancedPipe } from '../../../../../types';
2
+ /**
3
+ * 数据重塑, 将任意维度、任意指标, 重塑为1个维度2个指标.
4
+ * @param advancedVSeed
5
+ * @param context
6
+ * @returns
7
+ */
8
+ export declare const reshapeTo1D: AdvancedPipe;
@@ -0,0 +1,8 @@
1
+ import type { AdvancedPipe } from '../../../../../types';
2
+ /**
3
+ * @description 数据重塑, 将任意维度、任意指标, 重塑为2个维度1个指标, 并且在0维度时, 合并所有指标为一个维度. 兼容折线图、面积图、雷达图只有指标, 没有维度的场景
4
+ * @param advancedVSeed
5
+ * @param context
6
+ * @returns
7
+ */
8
+ export declare const reshapeTo2D1M0Name: AdvancedPipe;
@@ -0,0 +1 @@
1
+ export declare const areaRangeSpecPipeline: import("../../../../types").SpecPipe[];
@@ -0,0 +1,2 @@
1
+ import type { SpecPipeline } from '../../../../types';
2
+ export declare const heatmapSpecPipeline: SpecPipeline;
@@ -7,9 +7,12 @@ export { barParallelSpecPipeline } from './barParallel';
7
7
  export { barPercentSpecPipeline } from './barPercent';
8
8
  export { areaSpecPipeline } from './area';
9
9
  export { areaPercentSpecPipeline } from './areaPercent';
10
+ export { areaRangeSpecPipeline } from './areaRange';
11
+ export { scatterSpecPipeline } from './scatter';
10
12
  export { pieSpecPipeline } from './pie';
11
13
  export { donutSpecPipeline } from './donut';
12
14
  export { roseSpecPipeline } from './rose';
13
15
  export { roseParallelSpecPipeline } from './roseParallel';
16
+ export { radarSpecPipeline } from './radar';
14
17
  export { funnelSpecPipeline } from './funnel';
15
- export { scatterSpecPipeline } from './scatter';
18
+ export { heatmapSpecPipeline } from './heatmap';
@@ -0,0 +1,2 @@
1
+ import type { SpecPipeline } from '../../../../types';
2
+ export declare const radarSpecPipeline: SpecPipeline;
@@ -4,3 +4,5 @@ export { yBand } from './yBand';
4
4
  export { yLinear } from './yLinear';
5
5
  export { radiusAxis } from './radius';
6
6
  export { angleAxis } from './angle';
7
+ export { radarAngleAxis } from './radarAngle';
8
+ export { radarRadiusAxis } from './radarRadius';
@@ -0,0 +1,2 @@
1
+ import type { SpecPipe } from '../../../../../types';
2
+ export declare const radarAngleAxis: SpecPipe;
@@ -0,0 +1,2 @@
1
+ import type { SpecPipe } from '../../../../../types';
2
+ export declare const radarRadiusAxis: SpecPipe;
@@ -12,3 +12,4 @@ export * from './pivotChart';
12
12
  export * from './markStyle';
13
13
  export * from './annotation';
14
14
  export * from './crosshair';
15
+ export * from './series';
@@ -0,0 +1,4 @@
1
+ import type { SpecPipe } from '../../../../../types';
2
+ export declare const initAreaRange: SpecPipe;
3
+ export declare const initAreaRangeLine1: SpecPipe;
4
+ export declare const initAreaRangeLine2: SpecPipe;
@@ -2,12 +2,14 @@ export { initColumn } from './column';
2
2
  export { initBar } from './bar';
3
3
  export { initBarParallel } from './barParallel';
4
4
  export { initArea } from './area';
5
+ export { initAreaRange, initAreaRangeLine1, initAreaRangeLine2 } from './areaRange';
5
6
  export { initLine } from './line';
6
7
  export { initColumnParallel } from './columnParallel';
7
8
  export { initPie } from './pie';
8
9
  export { initDonut } from './donut';
9
10
  export { initRose } from './rose';
10
11
  export { initRoseParallel } from './roseParallel';
11
- export { initPivot } from './pivot';
12
- export { initFunnel } from './funnel';
13
12
  export { initScatter } from './scatter';
13
+ export { initRadar } from './radar';
14
+ export { initFunnel } from './funnel';
15
+ export { initPivot } from './pivot';
@@ -1,2 +1,2 @@
1
1
  import type { SpecPipe } from '../../../../../types';
2
- export declare const radiusAxis: SpecPipe;
2
+ export declare const initRadar: SpecPipe;
@@ -0,0 +1 @@
1
+ export { series } from './series';
@@ -0,0 +1,2 @@
1
+ import type { SpecPipe, SpecPipeline } from '../../../../../types';
2
+ export declare const series: (...args: SpecPipeline[]) => SpecPipe;