@visactor/vseed 0.0.23 → 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 (39) hide show
  1. package/dist/builder/builder/builder.d.ts +1125 -757
  2. package/dist/builder/register/chartType.d.ts +2 -0
  3. package/dist/dataReshape/dataReshapeFor2D1M0Name.d.ts +19 -0
  4. package/dist/dataReshape/index.d.ts +1 -0
  5. package/dist/dataReshape/unfoldZeroDimensions.d.ts +10 -0
  6. package/dist/index.cjs +586 -117
  7. package/dist/index.cjs.map +1 -1
  8. package/dist/index.js +541 -105
  9. package/dist/index.js.map +1 -1
  10. package/dist/pipeline/advanced/chart/pipeline/heatmap.d.ts +2 -0
  11. package/dist/pipeline/advanced/chart/pipeline/index.d.ts +2 -0
  12. package/dist/pipeline/advanced/chart/pipeline/radar.d.ts +2 -0
  13. package/dist/pipeline/advanced/chart/pipes/config/config.d.ts +2 -0
  14. package/dist/pipeline/advanced/chart/pipes/encoding/encodingAR.d.ts +2 -0
  15. package/dist/pipeline/advanced/chart/pipes/encoding/index.d.ts +1 -0
  16. package/dist/pipeline/advanced/chart/pipes/reshape/index.d.ts +3 -1
  17. package/dist/pipeline/advanced/chart/pipes/reshape/pivotReshapeTo2D1M0Name.d.ts +8 -0
  18. package/dist/pipeline/advanced/chart/pipes/reshape/reshapeTo2D1M0Name.d.ts +8 -0
  19. package/dist/pipeline/spec/chart/pipeline/heatmap.d.ts +2 -0
  20. package/dist/pipeline/spec/chart/pipeline/index.d.ts +3 -1
  21. package/dist/pipeline/spec/chart/pipeline/radar.d.ts +2 -0
  22. package/dist/pipeline/spec/chart/pipes/axes/index.d.ts +2 -0
  23. package/dist/pipeline/spec/chart/pipes/axes/radarAngle.d.ts +2 -0
  24. package/dist/pipeline/spec/chart/pipes/axes/radarRadius.d.ts +2 -0
  25. package/dist/pipeline/spec/chart/pipes/init/index.d.ts +3 -2
  26. package/dist/pipeline/spec/chart/pipes/{axes/a.d.ts → init/radar.d.ts} +1 -1
  27. package/dist/types/advancedVSeed.d.ts +455 -185
  28. package/dist/types/chartType/heatmap/heatmap.d.ts +207 -0
  29. package/dist/types/chartType/heatmap/index.d.ts +1 -0
  30. package/dist/types/chartType/index.d.ts +4 -2
  31. package/dist/types/chartType/radar/index.d.ts +1 -0
  32. package/dist/types/chartType/radar/radar.d.ts +207 -0
  33. package/dist/types/properties/chartType/chartType.d.ts +10 -6
  34. package/dist/types/properties/config/config.d.ts +519 -238
  35. package/dist/types/properties/theme/customTheme.d.ts +496 -228
  36. package/dist/types/vseed.d.ts +1018 -784
  37. package/dist/umd/index.js +564 -117
  38. package/dist/umd/index.js.map +1 -1
  39. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ import type { AdvancedPipeline } from '../../../../types';
2
+ export declare const heatmapAdvancedPipeline: AdvancedPipeline;
@@ -14,3 +14,5 @@ export { roseAdvancedPipeline } from './rose';
14
14
  export { roseParallelAdvancedPipeline } from './roseParallel';
15
15
  export { funnelAdvancedPipeline } from './funnel';
16
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;
@@ -4,4 +4,5 @@ export { encodingYY } from './encodingYY';
4
4
  export { encodingXYY } from './encodingXYY';
5
5
  export { encodingRose } from './encodingRose';
6
6
  export { encodingPie } from './encodingPie';
7
+ export { encodingAR } from './encodingAR';
7
8
  export { encodingFunnel } from './encodingFunnel';
@@ -1,8 +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';
4
5
  export { reshapeTo1D } from './reshapeTo1D';
6
+ export { pivotReshapeTo2D1M } from './pivotReshapeTo2D1M';
7
+ export { pivotReshapeTo2D1M0Name } from './pivotReshapeTo2D1M0Name';
5
8
  export { pivotReshapeTo1D1M } from './pivotReshapeTo1D1M';
6
9
  export { pivotReshapeTo1D2M } from './pivotReshapeTo1D2M';
7
- export { pivotReshapeTo2D1M } from './pivotReshapeTo2D1M';
8
10
  export { pivotReshapeTo1D } from './pivotReshapeTo1D';
@@ -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
+ * @description 数据重塑, 将任意维度、任意指标, 重塑为2个维度1个指标, 并且在0维度时, 合并所有指标为一个维度. 兼容折线图、面积图、雷达图只有指标, 没有维度的场景
4
+ * @param advancedVSeed
5
+ * @param context
6
+ * @returns
7
+ */
8
+ export declare const reshapeTo2D1M0Name: AdvancedPipe;
@@ -0,0 +1,2 @@
1
+ import type { SpecPipeline } from '../../../../types';
2
+ export declare const heatmapSpecPipeline: SpecPipeline;
@@ -8,9 +8,11 @@ export { barPercentSpecPipeline } from './barPercent';
8
8
  export { areaSpecPipeline } from './area';
9
9
  export { areaPercentSpecPipeline } from './areaPercent';
10
10
  export { areaRangeSpecPipeline } from './areaRange';
11
+ export { scatterSpecPipeline } from './scatter';
11
12
  export { pieSpecPipeline } from './pie';
12
13
  export { donutSpecPipeline } from './donut';
13
14
  export { roseSpecPipeline } from './rose';
14
15
  export { roseParallelSpecPipeline } from './roseParallel';
16
+ export { radarSpecPipeline } from './radar';
15
17
  export { funnelSpecPipeline } from './funnel';
16
- 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;
@@ -9,6 +9,7 @@ export { initPie } from './pie';
9
9
  export { initDonut } from './donut';
10
10
  export { initRose } from './rose';
11
11
  export { initRoseParallel } from './roseParallel';
12
- export { initPivot } from './pivot';
13
- export { initFunnel } from './funnel';
14
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;