@visactor/vseed 0.0.2 → 0.0.3

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 (77) 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 +4 -202
  4. package/dist/builder/register/register.d.ts +7 -0
  5. package/dist/dataReshape/dataReshapeFor1D1M.d.ts +1 -1
  6. package/dist/dataReshape/dataReshapeFor2D1M.d.ts +1 -1
  7. package/dist/dataReshape/foldMeasures.d.ts +2 -2
  8. package/dist/dataReshape/unfoldDimensions.d.ts +2 -2
  9. package/dist/index.cjs +300 -23
  10. package/dist/index.js +244 -9
  11. package/dist/pipeline/advanced/pipeline/area.d.ts +2 -0
  12. package/dist/pipeline/advanced/pipeline/areaPercent.d.ts +2 -0
  13. package/dist/pipeline/advanced/pipeline/bar.d.ts +1 -1
  14. package/dist/pipeline/advanced/pipeline/barParallel.d.ts +2 -0
  15. package/dist/pipeline/advanced/pipeline/barPercent.d.ts +2 -0
  16. package/dist/pipeline/advanced/pipeline/column.d.ts +1 -1
  17. package/dist/pipeline/advanced/pipeline/columnParallel.d.ts +2 -0
  18. package/dist/pipeline/advanced/pipeline/columnPercent.d.ts +2 -0
  19. package/dist/pipeline/advanced/pipeline/index.d.ts +7 -0
  20. package/dist/pipeline/advanced/pipeline/line.d.ts +2 -0
  21. package/dist/pipeline/advanced/pipes/encoding/encodingCartesian.d.ts +3 -2
  22. package/dist/pipeline/advanced/pipes/encoding/index.d.ts +1 -1
  23. package/dist/pipeline/advanced/pipes/index.d.ts +1 -0
  24. package/dist/pipeline/advanced/pipes/init/index.d.ts +1 -0
  25. package/dist/pipeline/advanced/pipes/init/initAdvancedVSeed.d.ts +2 -0
  26. package/dist/pipeline/advanced/pipes/reshape/reshapeTo1D1M.d.ts +1 -1
  27. package/dist/pipeline/advanced/pipes/reshape/reshapeTo2D1M.d.ts +1 -1
  28. package/dist/pipeline/spec/pipeline/area.d.ts +2 -0
  29. package/dist/pipeline/spec/pipeline/areaPercent.d.ts +2 -0
  30. package/dist/pipeline/spec/pipeline/bar.d.ts +1 -1
  31. package/dist/pipeline/spec/pipeline/barParallel.d.ts +2 -0
  32. package/dist/pipeline/spec/pipeline/barPercent.d.ts +2 -0
  33. package/dist/pipeline/spec/pipeline/column.d.ts +1 -1
  34. package/dist/pipeline/spec/pipeline/columnParallel.d.ts +2 -0
  35. package/dist/pipeline/spec/pipeline/columnPercent.d.ts +2 -0
  36. package/dist/pipeline/spec/pipeline/index.d.ts +7 -0
  37. package/dist/pipeline/spec/pipeline/line.d.ts +2 -0
  38. package/dist/pipeline/spec/pipes/axes/xBand.d.ts +1 -1
  39. package/dist/pipeline/spec/pipes/axes/xLinear.d.ts +1 -1
  40. package/dist/pipeline/spec/pipes/axes/yBand.d.ts +1 -1
  41. package/dist/pipeline/spec/pipes/axes/yLinear.d.ts +1 -1
  42. package/dist/pipeline/spec/pipes/dataset/dataset.d.ts +1 -1
  43. package/dist/pipeline/spec/pipes/index.d.ts +2 -0
  44. package/dist/pipeline/spec/pipes/init/area.d.ts +2 -0
  45. package/dist/pipeline/spec/pipes/init/bar.d.ts +1 -1
  46. package/dist/pipeline/spec/pipes/init/barParallel.d.ts +2 -0
  47. package/dist/pipeline/spec/pipes/init/column.d.ts +1 -1
  48. package/dist/pipeline/spec/pipes/init/columnParallel.d.ts +2 -0
  49. package/dist/pipeline/spec/pipes/init/index.d.ts +4 -0
  50. package/dist/pipeline/spec/pipes/init/line.d.ts +2 -0
  51. package/dist/pipeline/spec/pipes/percent/index.d.ts +1 -0
  52. package/dist/pipeline/spec/pipes/percent/percent.d.ts +2 -0
  53. package/dist/pipeline/spec/pipes/stack/index.d.ts +1 -0
  54. package/dist/pipeline/spec/pipes/stack/stack.d.ts +2 -0
  55. package/dist/pipeline/utils/pipeline.d.ts +1 -1
  56. package/dist/types/chartType/area/area.d.ts +1 -1
  57. package/dist/types/chartType/areaPercent/areaPercent.d.ts +1 -1
  58. package/dist/types/chartType/bar/bar.d.ts +1 -1
  59. package/dist/types/chartType/barParallel/barParallel.d.ts +1 -1
  60. package/dist/types/chartType/barPercent/barPercent.d.ts +1 -1
  61. package/dist/types/chartType/column/column.d.ts +1 -1
  62. package/dist/types/chartType/columnParallel/columnParallel.d.ts +1 -1
  63. package/dist/types/chartType/columnPercent/columnPercent.d.ts +1 -1
  64. package/dist/types/chartType/donut/donut.d.ts +1 -1
  65. package/dist/types/chartType/dualAxis/dualAxis.d.ts +1 -1
  66. package/dist/types/chartType/line/line.d.ts +1 -1
  67. package/dist/types/chartType/pie/pie.d.ts +1 -1
  68. package/dist/types/chartType/pivotTable/pivotTable.d.ts +1 -1
  69. package/dist/types/chartType/rose/rose.d.ts +1 -1
  70. package/dist/types/chartType/table/table.d.ts +1 -1
  71. package/dist/types/properties/advancedVSeed.d.ts +8 -8
  72. package/dist/types/properties/chartType/zChartType.d.ts +8 -8
  73. package/dist/types/properties/vseed.d.ts +8 -8
  74. package/package.json +1 -1
  75. package/dist/pipeline/spec/pipes/axes/xBand copy.d.ts +0 -0
  76. package/dist/pipeline/spec/pipes/axes/xLinear copy.d.ts +0 -0
  77. package/dist/pipeline/spec/pipes/axes/yLinear copy.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import type { Dataset, Dimensions, Measures } from '../..';
1
+ import type { Dataset, Dimensions, Measures } from 'src/types';
2
2
  /**
3
3
  * 透视表类型定义
4
4
  * @description 透视表,适用于多维度数据交叉分析场景,可灵活配置行、列维度和指标计算方式
@@ -1,4 +1,4 @@
1
- import type { Dataset, Dimensions, Measures } from '../..';
1
+ import type { Dataset, Dimensions, Measures } from 'src/types';
2
2
  /**
3
3
  * 玫瑰图类型定义
4
4
  * @description 玫瑰图,适用于多维度数据对比场景,通过极坐标系下的扇形弧度和半径展示数据大小
@@ -1,4 +1,4 @@
1
- import type { Dataset, Dimensions, Measures } from '../..';
1
+ import type { Dataset, Dimensions, Measures } from 'src/types';
2
2
  /**
3
3
  * 表格类型定义
4
4
  * @description 表格,适用于详细数据展示场景,行列分明,便于查看具体数值
@@ -1,19 +1,19 @@
1
1
  import { z } from 'zod';
2
2
  export declare const zAdvancedVSeed: z.ZodObject<{
3
3
  chartType: z.ZodEnum<{
4
- table: "table";
5
- pivotTable: "pivotTable";
4
+ area: "area";
6
5
  line: "line";
6
+ bar: "bar";
7
+ pie: "pie";
8
+ rose: "rose";
7
9
  column: "column";
10
+ areaPercent: "areaPercent";
11
+ barPercent: "barPercent";
8
12
  columnPercent: "columnPercent";
9
13
  columnParallel: "columnParallel";
10
- bar: "bar";
11
- barPercent: "barPercent";
12
14
  barParallel: "barParallel";
13
- area: "area";
14
- areaPercent: "areaPercent";
15
- rose: "rose";
16
- pie: "pie";
15
+ table: "table";
16
+ pivotTable: "pivotTable";
17
17
  donut: "donut";
18
18
  dualAxis: "dualAxis";
19
19
  }>;
@@ -18,19 +18,19 @@ export declare enum ChartTypeEnum {
18
18
  DualAxis = "dualAxis"
19
19
  }
20
20
  export declare const zChartType: z.ZodEnum<{
21
- table: "table";
22
- pivotTable: "pivotTable";
21
+ area: "area";
23
22
  line: "line";
23
+ bar: "bar";
24
+ pie: "pie";
25
+ rose: "rose";
24
26
  column: "column";
27
+ areaPercent: "areaPercent";
28
+ barPercent: "barPercent";
25
29
  columnPercent: "columnPercent";
26
30
  columnParallel: "columnParallel";
27
- bar: "bar";
28
- barPercent: "barPercent";
29
31
  barParallel: "barParallel";
30
- area: "area";
31
- areaPercent: "areaPercent";
32
- rose: "rose";
33
- pie: "pie";
32
+ table: "table";
33
+ pivotTable: "pivotTable";
34
34
  donut: "donut";
35
35
  dualAxis: "dualAxis";
36
36
  }>;
@@ -5,19 +5,19 @@ import type { Dimensions } from './dimensions';
5
5
  import type { Measures } from './measures';
6
6
  export declare const zVSeed: z.ZodObject<{
7
7
  chartType: z.ZodEnum<{
8
- table: "table";
9
- pivotTable: "pivotTable";
8
+ area: "area";
10
9
  line: "line";
10
+ bar: "bar";
11
+ pie: "pie";
12
+ rose: "rose";
11
13
  column: "column";
14
+ areaPercent: "areaPercent";
15
+ barPercent: "barPercent";
12
16
  columnPercent: "columnPercent";
13
17
  columnParallel: "columnParallel";
14
- bar: "bar";
15
- barPercent: "barPercent";
16
18
  barParallel: "barParallel";
17
- area: "area";
18
- areaPercent: "areaPercent";
19
- rose: "rose";
20
- pie: "pie";
19
+ table: "table";
20
+ pivotTable: "pivotTable";
21
21
  donut: "donut";
22
22
  dualAxis: "dualAxis";
23
23
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vseed",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
File without changes
File without changes
File without changes