@visactor/vseed 0.0.33 → 0.0.35

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 (68) hide show
  1. package/dist/builder/builder/buildAdvanced.d.ts +1 -1
  2. package/dist/builder/builder/buildSpec.d.ts +1 -1
  3. package/dist/builder/builder/builder.d.ts +2794 -4887
  4. package/dist/builder/register/chartType/dualAxis.d.ts +1 -0
  5. package/dist/builder/register/chartType/index.d.ts +12 -11
  6. package/dist/dataReshape/constant.d.ts +3 -1
  7. package/dist/index.cjs +1362 -202
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.js +1289 -156
  10. package/dist/index.js.map +1 -1
  11. package/dist/pipeline/advanced/chart/pipeline/dualAxis.d.ts +2 -0
  12. package/dist/pipeline/advanced/chart/pipeline/index.d.ts +1 -0
  13. package/dist/pipeline/advanced/chart/pipes/config/dualAxis.d.ts +2 -0
  14. package/dist/pipeline/advanced/chart/pipes/config/index.d.ts +1 -0
  15. package/dist/pipeline/advanced/chart/pipes/encoding/encodingAreaRange.d.ts +2 -0
  16. package/dist/pipeline/advanced/chart/pipes/encoding/index.d.ts +1 -0
  17. package/dist/pipeline/advanced/chart/pipes/init/autoDualMeasures.d.ts +2 -0
  18. package/dist/pipeline/advanced/chart/pipes/reshape/index.d.ts +2 -0
  19. package/dist/pipeline/advanced/chart/pipes/reshape/pivotReshapeTo2D2M.d.ts +8 -0
  20. package/dist/pipeline/advanced/chart/pipes/reshape/reshapeTo2D2M.d.ts +8 -0
  21. package/dist/pipeline/spec/chart/pipeline/dualAxis.d.ts +2 -0
  22. package/dist/pipeline/spec/chart/pipeline/index.d.ts +1 -0
  23. package/dist/pipeline/spec/chart/pipes/axes/index.d.ts +2 -0
  24. package/dist/pipeline/spec/chart/pipes/axes/yLinearPrimary.d.ts +2 -0
  25. package/dist/pipeline/spec/chart/pipes/axes/yLinearSecondary.d.ts +2 -0
  26. package/dist/pipeline/spec/chart/pipes/dataset/datasetDualAxis.d.ts +3 -0
  27. package/dist/pipeline/spec/chart/pipes/dataset/index.d.ts +1 -0
  28. package/dist/pipeline/spec/chart/pipes/dual/dualChartType.d.ts +3 -0
  29. package/dist/pipeline/spec/chart/pipes/dual/index.d.ts +1 -0
  30. package/dist/pipeline/spec/chart/pipes/index.d.ts +1 -0
  31. package/dist/pipeline/spec/chart/pipes/init/index.d.ts +1 -0
  32. package/dist/pipeline/spec/chart/pipes/init/initDualAxis.d.ts +3 -0
  33. package/dist/pipeline/spec/chart/pipes/label/index.d.ts +1 -0
  34. package/dist/pipeline/spec/chart/pipes/label/labelDualAxis.d.ts +3 -0
  35. package/dist/pipeline/spec/chart/pipes/tooltip/index.d.ts +1 -0
  36. package/dist/pipeline/spec/chart/pipes/tooltip/tooltipDualAxis.d.ts +3 -0
  37. package/dist/pipeline/utils/chatType.d.ts +2 -2
  38. package/dist/pipeline/utils/measures/depth.d.ts +8 -0
  39. package/dist/pipeline/utils/measures/index.d.ts +1 -0
  40. package/dist/types/advancedVSeed.d.ts +491 -14
  41. package/dist/types/builder/builder.d.ts +16 -15
  42. package/dist/types/chartType/area/area.d.ts +0 -1494
  43. package/dist/types/chartType/area/index.d.ts +2 -1
  44. package/dist/types/chartType/area/zArea.d.ts +1494 -0
  45. package/dist/types/chartType/areaPercent/areaPercent.d.ts +0 -1494
  46. package/dist/types/chartType/areaPercent/index.d.ts +2 -1
  47. package/dist/types/chartType/areaPercent/zAreaPercent.d.ts +1494 -0
  48. package/dist/types/chartType/areaRange/areaRange.d.ts +0 -1433
  49. package/dist/types/chartType/areaRange/index.d.ts +2 -1
  50. package/dist/types/chartType/areaRange/zAreaRange.d.ts +1433 -0
  51. package/dist/types/chartType/dualAxis/dualAxis.d.ts +123 -23
  52. package/dist/types/chartType/dualAxis/index.d.ts +1 -0
  53. package/dist/types/chartType/dualAxis/zDualAxis.d.ts +1955 -0
  54. package/dist/types/chartType/index.d.ts +1 -1
  55. package/dist/types/properties/chartType/dualChartType.d.ts +18 -0
  56. package/dist/types/properties/chartType/index.d.ts +2 -0
  57. package/dist/types/properties/config/config.d.ts +477 -7
  58. package/dist/types/properties/datasetReshapeInfo/datasetReshapeInfo.d.ts +7 -0
  59. package/dist/types/properties/measures/dualMeasures.d.ts +8 -0
  60. package/dist/types/properties/measures/index.d.ts +4 -1
  61. package/dist/types/properties/measures/measures.d.ts +0 -107
  62. package/dist/types/properties/measures/zDualMeasures.d.ts +287 -0
  63. package/dist/types/properties/measures/zMeasures.d.ts +108 -0
  64. package/dist/types/properties/theme/customTheme.d.ts +484 -14
  65. package/dist/types/vseed.d.ts +1953 -0
  66. package/dist/umd/index.js +1282 -140
  67. package/dist/umd/index.js.map +1 -1
  68. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ import type { AdvancedPipeline } from '../../../../types';
2
+ export declare const dualAxisAdvancedPipeline: AdvancedPipeline;
@@ -16,3 +16,4 @@ export { funnelAdvancedPipeline } from './funnel';
16
16
  export { scatterAdvancedPipeline } from './scatter';
17
17
  export { heatmapAdvancedPipeline } from './heatmap';
18
18
  export { radarAdvancedPipeline } from './radar';
19
+ export { dualAxisAdvancedPipeline } from './dualAxis';
@@ -0,0 +1,2 @@
1
+ import type { AdvancedPipe } from '../../../../../types';
2
+ export declare const dualAxisConfig: AdvancedPipe;
@@ -1 +1,2 @@
1
1
  export * from './config';
2
+ export * from './dualAxis';
@@ -0,0 +1,2 @@
1
+ import type { AdvancedPipe } from '../../../../../types';
2
+ export declare const encodingAreaRange: AdvancedPipe;
@@ -2,6 +2,7 @@ export { encodingXY } from './encodingXY';
2
2
  export { encodingYX } from './encodingYX';
3
3
  export { encodingYY } from './encodingYY';
4
4
  export { encodingXYY } from './encodingXYY';
5
+ export { encodingAreaRange } from './encodingAreaRange';
5
6
  export { encodingRose } from './encodingRose';
6
7
  export { encodingPie } from './encodingPie';
7
8
  export { encodingAR } from './encodingAR';
@@ -0,0 +1,2 @@
1
+ import type { AdvancedPipe } from '../../../../../types';
2
+ export declare const autoDualMeasures: AdvancedPipe;
@@ -3,8 +3,10 @@ export { reshapeTo2D1M0Name } from './reshapeTo2D1M0Name';
3
3
  export { reshapeTo1D1M } from './reshapeTo1D1M';
4
4
  export { reshapeTo1D2M } from './reshapeTo1D2M';
5
5
  export { reshapeTo1D } from './reshapeTo1D';
6
+ export { reshapeTo2D2M } from './reshapeTo2D2M';
6
7
  export { pivotReshapeTo2D1M } from './pivotReshapeTo2D1M';
7
8
  export { pivotReshapeTo2D1M0Name } from './pivotReshapeTo2D1M0Name';
8
9
  export { pivotReshapeTo1D1M } from './pivotReshapeTo1D1M';
9
10
  export { pivotReshapeTo1D2M } from './pivotReshapeTo1D2M';
10
11
  export { pivotReshapeTo1D } from './pivotReshapeTo1D';
12
+ export { pivotReshapeTo2D2M } from './pivotReshapeTo2D2M';
@@ -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 pivotReshapeTo2D2M: AdvancedPipe;
@@ -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 reshapeTo2D2M: AdvancedPipe;
@@ -0,0 +1,2 @@
1
+ import type { SpecPipeline } from '../../../../types';
2
+ export declare const dualAxisSpecPipeline: SpecPipeline;
@@ -9,6 +9,7 @@ export { areaSpecPipeline } from './area';
9
9
  export { areaPercentSpecPipeline } from './areaPercent';
10
10
  export { areaRangeSpecPipeline } from './areaRange';
11
11
  export { scatterSpecPipeline } from './scatter';
12
+ export { dualAxisSpecPipeline } from './dualAxis';
12
13
  export { pieSpecPipeline } from './pie';
13
14
  export { donutSpecPipeline } from './donut';
14
15
  export { roseSpecPipeline } from './rose';
@@ -2,6 +2,8 @@ export { xBand } from './xBand';
2
2
  export { xLinear } from './xLinear';
3
3
  export { yBand } from './yBand';
4
4
  export { yLinear } from './yLinear';
5
+ export { yLinearPrimary } from './yLinearPrimary';
6
+ export { yLinearSecondary } from './yLinearSecondary';
5
7
  export { radiusAxis } from './radius';
6
8
  export { angleAxis } from './angle';
7
9
  export { radarAngleAxis } from './radarAngle';
@@ -0,0 +1,2 @@
1
+ import type { SpecPipe } from '../../../../../types';
2
+ export declare const yLinearPrimary: SpecPipe;
@@ -0,0 +1,2 @@
1
+ import type { SpecPipe } from '../../../../../types';
2
+ export declare const yLinearSecondary: SpecPipe;
@@ -0,0 +1,3 @@
1
+ import type { SpecPipe } from '../../../../../types';
2
+ export declare const datasetPrimary: SpecPipe;
3
+ export declare const datasetSecondary: SpecPipe;
@@ -2,3 +2,4 @@ export { datasetYX } from './datasetYX';
2
2
  export { datasetXY } from './datasetXY';
3
3
  export { datasetPivot } from './datasetPivot';
4
4
  export { progressive } from './progressive';
5
+ export { datasetPrimary, datasetSecondary } from './datasetDualAxis';
@@ -0,0 +1,3 @@
1
+ import type { SpecPipe } from '../../../../../types';
2
+ export declare const dualChartTypePrimary: SpecPipe;
3
+ export declare const dualChartTypeSecondary: SpecPipe;
@@ -0,0 +1 @@
1
+ export { dualChartTypePrimary, dualChartTypeSecondary } from './dualChartType';
@@ -13,3 +13,4 @@ export * from './markStyle';
13
13
  export * from './annotation';
14
14
  export * from './crosshair';
15
15
  export * from './series';
16
+ export * from './dual';
@@ -13,3 +13,4 @@ export { initScatter } from './scatter';
13
13
  export { initRadar } from './radar';
14
14
  export { initFunnel } from './funnel';
15
15
  export { initPivot } from './pivot';
16
+ export { initDualAxisPrimary, initDualAxisSecondary } from './initDualAxis';
@@ -0,0 +1,3 @@
1
+ import type { SpecPipe } from '../../../../../types';
2
+ export declare const initDualAxisPrimary: SpecPipe;
3
+ export declare const initDualAxisSecondary: SpecPipe;
@@ -1,2 +1,3 @@
1
1
  export { label } from './label';
2
2
  export { labelColorInversion } from './labelColorInversion';
3
+ export { labelPrimary, labelSecondary } from './labelDualAxis';
@@ -0,0 +1,3 @@
1
+ import type { SpecPipe } from '../../../../../types';
2
+ export declare const labelPrimary: SpecPipe;
3
+ export declare const labelSecondary: SpecPipe;
@@ -1,3 +1,4 @@
1
1
  export { tooltip } from './tooltip';
2
2
  export { tooltipAreaRange } from './tooltipAreaRange';
3
3
  export { tooltipDisable } from './tooltipDisable';
4
+ export { tooltipPrimary, tooltipSecondary } from './tooltipDualAxis';
@@ -0,0 +1,3 @@
1
+ import type { SpecPipe } from '../../../../../types';
2
+ export declare const tooltipPrimary: SpecPipe;
3
+ export declare const tooltipSecondary: SpecPipe;
@@ -1,6 +1,6 @@
1
- import type { DimensionGroup, VSeed } from '../../types';
1
+ import type { VSeed } from '../../types';
2
2
  export declare const isTable: (vseed: VSeed) => vseed is import("../../types").Table;
3
3
  export declare const isPivotTable: (vseed: VSeed) => vseed is import("../../types").PivotTable;
4
4
  export declare const isVTable: (vseed: VSeed) => boolean;
5
5
  export declare const isVChart: (vseed: VSeed) => boolean;
6
- export declare const isPivotChart: (vseed: VSeed) => boolean | import("../../types").Dimension | DimensionGroup | undefined;
6
+ export declare const isPivotChart: (vseed: VSeed) => boolean;
@@ -0,0 +1,8 @@
1
+ import type { MeasureTree } from "../../../types";
2
+ /**
3
+ * 获取measures的深度
4
+ * @param measures
5
+ * @param id
6
+ * @returns
7
+ */
8
+ export declare const measureDepth: (measures?: MeasureTree) => number;
@@ -1 +1,2 @@
1
1
  export * from './find';
2
+ export * from './depth';