@visactor/vseed 0.0.6 → 0.0.7
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.
- package/dist/builder/register/chartType.d.ts +1 -0
- package/dist/index.cjs +445 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +437 -32
- package/dist/index.js.map +1 -1
- package/dist/pipeline/advanced/pipeline/index.d.ts +1 -0
- package/dist/pipeline/advanced/pipeline/line copy.d.ts +2 -0
- package/dist/pipeline/advanced/pipeline/pie.d.ts +2 -0
- package/dist/pipeline/advanced/pipes/encoding/encodingPolar.d.ts +2 -0
- package/dist/pipeline/advanced/pipes/encoding/encodingXY copy.d.ts +2 -0
- package/dist/pipeline/advanced/pipes/encoding/index.d.ts +1 -0
- package/dist/pipeline/spec/pipeline/index.d.ts +1 -0
- package/dist/pipeline/spec/pipeline/pie.d.ts +2 -0
- package/dist/pipeline/spec/pipes/init/index.d.ts +1 -0
- package/dist/pipeline/spec/pipes/init/line copy.d.ts +2 -0
- package/dist/pipeline/spec/pipes/init/pie.d.ts +2 -0
- package/dist/pipeline/spec/pipes/pivotChart/index.d.ts +3 -0
- package/dist/pipeline/spec/pipes/pivotChart/pivotColumnDimensions.d.ts +2 -0
- package/dist/pipeline/spec/pipes/pivotChart/pivotGridStyle copy.d.ts +2 -0
- package/dist/pipeline/spec/pipes/pivotChart/pivotGridStyle.d.ts +2 -0
- package/dist/pipeline/spec/pipes/pivotChart/pivotRowDimensions copy.d.ts +2 -0
- package/dist/pipeline/spec/pipes/pivotChart/pivotRowDimensions.d.ts +2 -0
- package/dist/pipeline/utils/chatType.d.ts +37 -1
- package/dist/pipeline/utils/index.d.ts +1 -1
- package/package.json +1 -1
@@ -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';
|
@@ -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';
|