@visactor/vseed 0.0.22 → 0.0.23
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/builder/builder.d.ts +939 -65
- package/dist/builder/register/chartType.d.ts +1 -0
- package/dist/builder/register/custom.d.ts +3 -0
- package/dist/builder/register/index.d.ts +1 -0
- package/dist/dataReshape/dataReshapeFor1D.d.ts +19 -0
- package/dist/dataReshape/index.d.ts +1 -0
- package/dist/index.cjs +500 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +470 -8
- package/dist/index.js.map +1 -1
- package/dist/pipeline/advanced/chart/pipeline/areaRange.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipeline/index.d.ts +1 -0
- package/dist/pipeline/advanced/chart/pipes/encoding/encodingXYY.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/encoding/index.d.ts +1 -0
- package/dist/pipeline/advanced/chart/pipes/init/autoMeasuresBy2M1Group.d.ts +8 -0
- package/dist/pipeline/advanced/chart/pipes/init/index.d.ts +1 -0
- package/dist/pipeline/advanced/chart/pipes/reshape/index.d.ts +2 -0
- package/dist/pipeline/advanced/chart/pipes/reshape/pivotReshapeTo1D.d.ts +8 -0
- package/dist/pipeline/advanced/chart/pipes/reshape/reshapeTo1D.d.ts +8 -0
- package/dist/pipeline/spec/chart/pipeline/areaRange.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipeline/index.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipes/index.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipes/init/areaRange.d.ts +4 -0
- package/dist/pipeline/spec/chart/pipes/init/index.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipes/series/index.d.ts +1 -0
- package/dist/pipeline/spec/chart/pipes/series/series.d.ts +2 -0
- package/dist/types/advancedVSeed.d.ts +307 -0
- package/dist/types/chartType/areaRange/areaRange.d.ts +1337 -0
- package/dist/types/chartType/areaRange/index.d.ts +1 -0
- package/dist/types/chartType/index.d.ts +1 -0
- package/dist/types/properties/chartType/chartType.d.ts +3 -1
- package/dist/types/properties/config/config.d.ts +307 -0
- package/dist/types/properties/theme/customTheme.d.ts +306 -0
- package/dist/types/vseed.d.ts +1190 -1
- package/dist/umd/index.js +484 -14
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
@@ -3,6 +3,7 @@ export declare const registerBar: () => void;
|
|
3
3
|
export declare const registerLine: () => void;
|
4
4
|
export declare const registerArea: () => void;
|
5
5
|
export declare const registerAreaPercent: () => void;
|
6
|
+
export declare const registerAreaRange: () => void;
|
6
7
|
export declare const registerBarPercent: () => void;
|
7
8
|
export declare const registerColumnPercent: () => void;
|
8
9
|
export declare const registerColumnParallel: () => void;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import type { Dataset, Dimension, FoldInfo, Measure, UnfoldInfo } from '../types';
|
2
|
+
/**
|
3
|
+
* 仅数据重塑为1个维度,不处理指标
|
4
|
+
* @param dataset
|
5
|
+
* @param dimensions
|
6
|
+
* @param measures
|
7
|
+
* @returns
|
8
|
+
*/
|
9
|
+
export declare const dataReshapeFor1D: (dataset: Dataset, dimensions: Dimension[], measures: Measure[], options?: {
|
10
|
+
foldMeasureId?: string;
|
11
|
+
foldMeasureName?: string;
|
12
|
+
foldMeasureValue?: string;
|
13
|
+
unfoldDimensionGroup?: string;
|
14
|
+
unfoldDimensionGroupId?: string;
|
15
|
+
}) => {
|
16
|
+
dataset: Dataset;
|
17
|
+
foldInfo: FoldInfo;
|
18
|
+
unfoldInfo: UnfoldInfo;
|
19
|
+
};
|
@@ -3,4 +3,5 @@ export { foldMeasures } from './foldMeasures';
|
|
3
3
|
export { dataReshapeFor2D1M } from './dataReshapeFor2D1M';
|
4
4
|
export { dataReshapeFor1D1M } from './dataReshapeFor1D1M';
|
5
5
|
export { dataReshapeFor1D2M } from './dataReshapeFor1D2M';
|
6
|
+
export { dataReshapeFor1D } from './dataReshapeFor1D';
|
6
7
|
export * from './constant';
|