@visactor/vseed 0.0.6 → 0.0.8

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 (50) hide show
  1. package/dist/builder/builder/builder.d.ts +5752 -0
  2. package/dist/builder/register/chartType.d.ts +1 -0
  3. package/dist/dataReshape/index.d.ts +1 -0
  4. package/dist/index.cjs +1362 -137
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.js +1316 -133
  7. package/dist/index.js.map +1 -1
  8. package/dist/pipeline/advanced/pipeline/index.d.ts +1 -0
  9. package/dist/pipeline/advanced/pipeline/pie.d.ts +2 -0
  10. package/dist/pipeline/advanced/pipes/config/config.d.ts +11 -0
  11. package/dist/pipeline/advanced/pipes/config/index.d.ts +1 -0
  12. package/dist/pipeline/advanced/pipes/encoding/encodingPolar.d.ts +2 -0
  13. package/dist/pipeline/advanced/pipes/encoding/index.d.ts +1 -0
  14. package/dist/pipeline/advanced/pipes/index.d.ts +2 -1
  15. package/dist/pipeline/spec/pipeline/index.d.ts +1 -0
  16. package/dist/pipeline/spec/pipeline/pie.d.ts +2 -0
  17. package/dist/pipeline/spec/pipes/init/index.d.ts +1 -0
  18. package/dist/pipeline/spec/pipes/init/pie.d.ts +2 -0
  19. package/dist/pipeline/spec/pipes/pivotChart/index.d.ts +3 -0
  20. package/dist/pipeline/spec/pipes/pivotChart/pivotColumnDimensions.d.ts +2 -0
  21. package/dist/pipeline/spec/pipes/pivotChart/pivotGridStyle.d.ts +2 -0
  22. package/dist/pipeline/spec/pipes/pivotChart/pivotRowDimensions.d.ts +2 -0
  23. package/dist/pipeline/utils/chatType.d.ts +37 -1
  24. package/dist/pipeline/utils/index.d.ts +1 -1
  25. package/dist/types/advancedVSeed.d.ts +1438 -0
  26. package/dist/types/chartType/area/area.d.ts +11 -1
  27. package/dist/types/chartType/areaPercent/areaPercent.d.ts +11 -1
  28. package/dist/types/chartType/bar/bar.d.ts +11 -1
  29. package/dist/types/chartType/barParallel/barParallel.d.ts +11 -1
  30. package/dist/types/chartType/barPercent/barPercent.d.ts +11 -1
  31. package/dist/types/chartType/column/column.d.ts +11 -1
  32. package/dist/types/chartType/columnParallel/columnParallel.d.ts +11 -1
  33. package/dist/types/chartType/columnPercent/columnPercent.d.ts +11 -1
  34. package/dist/types/chartType/donut/donut.d.ts +1 -1
  35. package/dist/types/chartType/dualAxis/dualAxis.d.ts +1 -1
  36. package/dist/types/chartType/line/line.d.ts +11 -1
  37. package/dist/types/chartType/pie/pie.d.ts +4 -4
  38. package/dist/types/chartType/pivotTable/pivotTable.d.ts +1 -1
  39. package/dist/types/chartType/rose/rose.d.ts +4 -4
  40. package/dist/types/chartType/table/table.d.ts +1 -1
  41. package/dist/types/properties/chartType/index.d.ts +2 -2
  42. package/dist/types/properties/config/axis.d.ts +257 -0
  43. package/dist/types/properties/config/bandAxis.d.ts +82 -0
  44. package/dist/types/properties/config/config.d.ts +721 -0
  45. package/dist/types/properties/config/index.d.ts +4 -0
  46. package/dist/types/properties/config/linearAxis.d.ts +80 -0
  47. package/dist/types/properties/index.d.ts +1 -0
  48. package/dist/types/properties/theme/customTheme.d.ts +1438 -0
  49. package/package.json +1 -1
  50. /package/dist/types/properties/chartType/{zChartType.d.ts → chartType.d.ts} +0 -0
@@ -7,3 +7,4 @@ export { columnParallelAdvancedPipeline } from './columnParallel';
7
7
  export { columnPercentAdvancedPipeline } from './columnPercent';
8
8
  export { areaAdvancedPipeline } from './area';
9
9
  export { areaPercentAdvancedPipeline } from './areaPercent';
10
+ export { pieAdvancedPipeline } from './pie';
@@ -0,0 +1,2 @@
1
+ import type { AdvancedPipeline } from '../../../types';
2
+ export declare const pieAdvancedPipeline: AdvancedPipeline;
@@ -0,0 +1,11 @@
1
+ import type { AdvancedPipe } from '../../../../types';
2
+ export declare const lineConfig: AdvancedPipe;
3
+ export declare const pieConfig: AdvancedPipe;
4
+ export declare const barConfig: AdvancedPipe;
5
+ export declare const barParallelConfig: AdvancedPipe;
6
+ export declare const barPercentConfig: AdvancedPipe;
7
+ export declare const columnConfig: AdvancedPipe;
8
+ export declare const columnParallelConfig: AdvancedPipe;
9
+ export declare const columnPercentConfig: AdvancedPipe;
10
+ export declare const areaConfig: AdvancedPipe;
11
+ export declare const areaPercentConfig: AdvancedPipe;
@@ -0,0 +1 @@
1
+ export * from './config';
@@ -0,0 +1,2 @@
1
+ import type { AdvancedPipe } from '../../../../types';
2
+ export declare const encodingPolar: AdvancedPipe;
@@ -1,2 +1,3 @@
1
1
  export { encodingXY } from './encodingXY';
2
2
  export { encodingYX } from './encodingYX';
3
+ export { encodingPolar } from './encodingPolar';
@@ -1,6 +1,7 @@
1
+ export * from './init';
1
2
  export * from './reshape';
2
3
  export * from './encoding';
3
- export * from './init';
4
4
  export * from './baseConfig';
5
+ export * from './config';
5
6
  export * from './theme';
6
7
  export * from './pivot';
@@ -7,3 +7,4 @@ export { barParallelSpecPipeline } from './barParallel';
7
7
  export { barPercentSpecPipeline } from './barPercent';
8
8
  export { areaSpecPipeline } from './area';
9
9
  export { areaPercentSpecPipeline } from './areaPercent';
10
+ export { pieSpecPipeline } from './pie';
@@ -0,0 +1,2 @@
1
+ import type { SpecPipeline } from '../../../types';
2
+ export declare const pieSpecPipeline: SpecPipeline;
@@ -4,4 +4,5 @@ export { initBarParallel } from './barParallel';
4
4
  export { initArea } from './area';
5
5
  export { initLine } from './line';
6
6
  export { initColumnParallel } from './columnParallel';
7
+ export { initPie } from './pie';
7
8
  export { initPivot } from './pivot';
@@ -0,0 +1,2 @@
1
+ import type { SpecPipe } from '../../../../types';
2
+ export declare const initPie: SpecPipe;
@@ -1,2 +1,5 @@
1
1
  export { pivotAdapter } from './pivotAdapter';
2
2
  export { pivotIndicators, pivotIndicatorsAsRow, pivotIndicatorsAsCol } from './pivotIndicators';
3
+ export { pivotGridStyle } from './pivotGridStyle';
4
+ export { pivotColumnDimensions } from './pivotColumnDimensions';
5
+ export { pivotRowDimensions } from './pivotRowDimensions';
@@ -0,0 +1,2 @@
1
+ import type { SpecPipe } from '../../../../types';
2
+ export declare const pivotColumnDimensions: SpecPipe;
@@ -0,0 +1,2 @@
1
+ import type { SpecPipe } from '../../../../types';
2
+ export declare const pivotGridStyle: SpecPipe;
@@ -0,0 +1,2 @@
1
+ import type { SpecPipe } from '../../../../types';
2
+ export declare const pivotRowDimensions: SpecPipe;
@@ -1,3 +1,39 @@
1
- import type { ChartType } from '../../types';
1
+ import type { AdvancedVSeed, ChartType, VSeed } from '../../types';
2
2
  export declare const isVTable: (chartType: ChartType) => boolean;
3
3
  export declare const isVChart: (chartType: ChartType) => boolean;
4
+ export declare const isPivotChart: (vseed: VSeed | AdvancedVSeed) => true | {
5
+ id: string;
6
+ alias?: string | undefined;
7
+ visible?: boolean | undefined;
8
+ autoFormat?: boolean | undefined;
9
+ format?: {
10
+ type: "number" | "percent" | "permille";
11
+ ratio: number;
12
+ symbol: string;
13
+ thousandSeparator: boolean;
14
+ decimalPlaces: number;
15
+ round: "round" | "floor" | "ceil";
16
+ prefix: string;
17
+ suffix: string;
18
+ } | undefined;
19
+ } | {
20
+ id: string;
21
+ alias?: string | undefined;
22
+ visible?: boolean | undefined;
23
+ children?: ({
24
+ id: string;
25
+ alias?: string | undefined;
26
+ visible?: boolean | undefined;
27
+ autoFormat?: boolean | undefined;
28
+ format?: {
29
+ type: "number" | "percent" | "permille";
30
+ ratio: number;
31
+ symbol: string;
32
+ thousandSeparator: boolean;
33
+ decimalPlaces: number;
34
+ round: "round" | "floor" | "ceil";
35
+ prefix: string;
36
+ suffix: string;
37
+ } | undefined;
38
+ } | /*elided*/ any)[] | undefined;
39
+ } | undefined;
@@ -1,2 +1,2 @@
1
1
  export { execPipeline } from './pipeline';
2
- export { isVTable, isVChart } from './chatType';
2
+ export { isVTable, isVChart, isPivotChart } from './chatType';