@visactor/react-vchart 1.11.11 → 1.11.12
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/cjs/charts/AreaChart.d.ts +4 -4
- package/cjs/charts/AreaChart.js.map +1 -1
- package/cjs/charts/Bar3dChart.d.ts +4 -4
- package/cjs/charts/Bar3dChart.js.map +1 -1
- package/cjs/charts/BarChart.d.ts +4 -4
- package/cjs/charts/BarChart.js.map +1 -1
- package/cjs/charts/BoxPlotChart.d.ts +5 -5
- package/cjs/charts/BoxPlotChart.js.map +1 -1
- package/cjs/charts/CirclePackingChart.d.ts +5 -5
- package/cjs/charts/CirclePackingChart.js.map +1 -1
- package/cjs/charts/CircularProgressChart.d.ts +5 -5
- package/cjs/charts/CircularProgressChart.js.map +1 -1
- package/cjs/charts/CommonChart.d.ts +5 -5
- package/cjs/charts/CommonChart.js.map +1 -1
- package/cjs/charts/CorrelationChart.d.ts +5 -5
- package/cjs/charts/CorrelationChart.js.map +1 -1
- package/cjs/charts/Funnel3dChart.d.ts +5 -5
- package/cjs/charts/Funnel3dChart.js.map +1 -1
- package/cjs/charts/FunnelChart.d.ts +5 -5
- package/cjs/charts/FunnelChart.js.map +1 -1
- package/cjs/charts/GaugeChart.d.ts +4 -4
- package/cjs/charts/GaugeChart.js.map +1 -1
- package/cjs/charts/HeatmapChart.d.ts +4 -4
- package/cjs/charts/HeatmapChart.js.map +1 -1
- package/cjs/charts/Histogram3dChart.d.ts +5 -5
- package/cjs/charts/Histogram3dChart.js +1 -2
- package/cjs/charts/Histogram3dChart.js.map +1 -1
- package/cjs/charts/HistogramChart.d.ts +5 -5
- package/cjs/charts/HistogramChart.js +2 -1
- package/cjs/charts/HistogramChart.js.map +1 -1
- package/cjs/charts/LineChart.d.ts +4 -4
- package/cjs/charts/LineChart.js.map +1 -1
- package/cjs/charts/LinearProgressChart.d.ts +5 -5
- package/cjs/charts/LinearProgressChart.js.map +1 -1
- package/cjs/charts/LiquidChart.d.ts +4 -4
- package/cjs/charts/LiquidChart.js.map +1 -1
- package/cjs/charts/MapChart.d.ts +4 -4
- package/cjs/charts/MapChart.js.map +1 -1
- package/cjs/charts/Pie3dChart.d.ts +4 -4
- package/cjs/charts/Pie3dChart.js.map +1 -1
- package/cjs/charts/PieChart.d.ts +4 -4
- package/cjs/charts/PieChart.js.map +1 -1
- package/cjs/charts/RadarChart.d.ts +4 -4
- package/cjs/charts/RadarChart.js.map +1 -1
- package/cjs/charts/RangeColumn3dChart.d.ts +4 -4
- package/cjs/charts/RangeColumn3dChart.js.map +1 -1
- package/cjs/charts/RangeColumnChart.d.ts +4 -4
- package/cjs/charts/RangeColumnChart.js.map +1 -1
- package/cjs/charts/RoseChart.d.ts +4 -4
- package/cjs/charts/RoseChart.js.map +1 -1
- package/cjs/charts/SankeyChart.d.ts +4 -4
- package/cjs/charts/SankeyChart.js.map +1 -1
- package/cjs/charts/ScatterChart.d.ts +4 -4
- package/cjs/charts/ScatterChart.js.map +1 -1
- package/cjs/charts/SequenceChart.d.ts +4 -4
- package/cjs/charts/SequenceChart.js.map +1 -1
- package/cjs/charts/SunburstChart.d.ts +4 -4
- package/cjs/charts/SunburstChart.js.map +1 -1
- package/cjs/charts/TreemapChart.d.ts +4 -4
- package/cjs/charts/TreemapChart.js +1 -2
- package/cjs/charts/TreemapChart.js.map +1 -1
- package/cjs/charts/WaterfallChart.d.ts +4 -4
- package/cjs/charts/WaterfallChart.js +2 -1
- package/cjs/charts/WaterfallChart.js.map +1 -1
- package/cjs/charts/WordCloud3dChart.d.ts +4 -4
- package/cjs/charts/WordCloud3dChart.js.map +1 -1
- package/cjs/charts/WordCloudChart.d.ts +4 -4
- package/cjs/charts/WordCloudChart.js.map +1 -1
- package/cjs/components/Player.js +1 -2
- package/cjs/components/Region.js +2 -1
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/esm/charts/AreaChart.d.ts +4 -4
- package/esm/charts/AreaChart.js.map +1 -1
- package/esm/charts/Bar3dChart.d.ts +4 -4
- package/esm/charts/Bar3dChart.js.map +1 -1
- package/esm/charts/BarChart.d.ts +4 -4
- package/esm/charts/BarChart.js.map +1 -1
- package/esm/charts/BoxPlotChart.d.ts +5 -5
- package/esm/charts/BoxPlotChart.js.map +1 -1
- package/esm/charts/CirclePackingChart.d.ts +5 -5
- package/esm/charts/CirclePackingChart.js.map +1 -1
- package/esm/charts/CircularProgressChart.d.ts +5 -5
- package/esm/charts/CircularProgressChart.js.map +1 -1
- package/esm/charts/CommonChart.d.ts +5 -5
- package/esm/charts/CommonChart.js.map +1 -1
- package/esm/charts/CorrelationChart.d.ts +5 -5
- package/esm/charts/CorrelationChart.js.map +1 -1
- package/esm/charts/Funnel3dChart.d.ts +5 -5
- package/esm/charts/Funnel3dChart.js.map +1 -1
- package/esm/charts/FunnelChart.d.ts +5 -5
- package/esm/charts/FunnelChart.js.map +1 -1
- package/esm/charts/GaugeChart.d.ts +4 -4
- package/esm/charts/GaugeChart.js.map +1 -1
- package/esm/charts/HeatmapChart.d.ts +4 -4
- package/esm/charts/HeatmapChart.js.map +1 -1
- package/esm/charts/Histogram3dChart.d.ts +5 -5
- package/esm/charts/Histogram3dChart.js +1 -2
- package/esm/charts/Histogram3dChart.js.map +1 -1
- package/esm/charts/HistogramChart.d.ts +5 -5
- package/esm/charts/HistogramChart.js +2 -1
- package/esm/charts/HistogramChart.js.map +1 -1
- package/esm/charts/LineChart.d.ts +4 -4
- package/esm/charts/LineChart.js.map +1 -1
- package/esm/charts/LinearProgressChart.d.ts +5 -5
- package/esm/charts/LinearProgressChart.js.map +1 -1
- package/esm/charts/LiquidChart.d.ts +4 -4
- package/esm/charts/LiquidChart.js.map +1 -1
- package/esm/charts/MapChart.d.ts +4 -4
- package/esm/charts/MapChart.js.map +1 -1
- package/esm/charts/Pie3dChart.d.ts +4 -4
- package/esm/charts/Pie3dChart.js.map +1 -1
- package/esm/charts/PieChart.d.ts +4 -4
- package/esm/charts/PieChart.js.map +1 -1
- package/esm/charts/RadarChart.d.ts +4 -4
- package/esm/charts/RadarChart.js.map +1 -1
- package/esm/charts/RangeColumn3dChart.d.ts +4 -4
- package/esm/charts/RangeColumn3dChart.js.map +1 -1
- package/esm/charts/RangeColumnChart.d.ts +4 -4
- package/esm/charts/RangeColumnChart.js.map +1 -1
- package/esm/charts/RoseChart.d.ts +4 -4
- package/esm/charts/RoseChart.js.map +1 -1
- package/esm/charts/SankeyChart.d.ts +4 -4
- package/esm/charts/SankeyChart.js.map +1 -1
- package/esm/charts/ScatterChart.d.ts +4 -4
- package/esm/charts/ScatterChart.js.map +1 -1
- package/esm/charts/SequenceChart.d.ts +4 -4
- package/esm/charts/SequenceChart.js.map +1 -1
- package/esm/charts/SunburstChart.d.ts +4 -4
- package/esm/charts/SunburstChart.js.map +1 -1
- package/esm/charts/TreemapChart.d.ts +4 -4
- package/esm/charts/TreemapChart.js +1 -2
- package/esm/charts/TreemapChart.js.map +1 -1
- package/esm/charts/WaterfallChart.d.ts +4 -4
- package/esm/charts/WaterfallChart.js +2 -1
- package/esm/charts/WaterfallChart.js.map +1 -1
- package/esm/charts/WordCloud3dChart.d.ts +4 -4
- package/esm/charts/WordCloud3dChart.js.map +1 -1
- package/esm/charts/WordCloudChart.d.ts +4 -4
- package/esm/charts/WordCloudChart.js.map +1 -1
- package/esm/components/Player.js +1 -2
- package/esm/components/Region.js +2 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/RadarChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA6E;
|
|
1
|
+
{"version":3,"sources":["../src/charts/RadarChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA6E;AAE7E,2CAA0C;AAC1C,yCAAsD;AAMzC,QAAA,UAAU,GAAG,IAAA,uBAAW,EACnC,YAAY,EACZ;IACE,IAAI,EAAE,OAAO;IACb,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,2BAAkB,EAAE,sBAAa,EAAE,GAAG,mCAAwB,CAAC,CACjE,CAAC","file":"RadarChart.js","sourcesContent":["import type React from 'react';\nimport type { IRadarChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerRadarChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { polarComponentsRegisters } from './register';\n\nexport interface RadarChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IRadarChartSpec>, 'type'> {}\n\nexport const RadarChart = createChart<React.PropsWithChildren<RadarChartProps> & { type?: 'radar' }>(\n 'RadarChart',\n {\n type: 'radar',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerRadarChart, registerLabel, ...polarComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IRangeColumn3dChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface RangeColumn3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IRangeColumn3dChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface RangeColumn3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IRangeColumn3dChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const RangeColumn3dChart: React.ForwardRefExoticComponent<RangeColumn3dChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'rangeColumn3d';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/RangeColumn3dChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAqF;
|
|
1
|
+
{"version":3,"sources":["../src/charts/RangeColumn3dChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAqF;AAErF,2CAA0C;AAC1C,yCAA0D;AAM7C,QAAA,kBAAkB,GAAG,IAAA,uBAAW,EAG3C,oBAAoB,EACpB;IACE,IAAI,EAAE,eAAe;IACrB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,mCAA0B,EAAE,sBAAa,EAAE,GAAG,uCAA4B,CAAC,CAC7E,CAAC","file":"RangeColumn3dChart.js","sourcesContent":["import type React from 'react';\nimport type { IRangeColumn3dChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerRangeColumn3dChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface RangeColumn3dChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IRangeColumn3dChartSpec>, 'type'> {}\n\nexport const RangeColumn3dChart = createChart<\n React.PropsWithChildren<RangeColumn3dChartProps> & { type?: 'rangeColumn3d' }\n>(\n 'RangeColumn3dChart',\n {\n type: 'rangeColumn3d',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerRangeColumn3dChart, registerLabel, ...cartesianComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IRangeColumnChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface RangeColumnChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IRangeColumnChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface RangeColumnChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IRangeColumnChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const RangeColumnChart: React.ForwardRefExoticComponent<RangeColumnChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'rangeColumn';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/RangeColumnChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAmF;
|
|
1
|
+
{"version":3,"sources":["../src/charts/RangeColumnChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAmF;AAEnF,2CAA0C;AAC1C,yCAA0D;AAM7C,QAAA,gBAAgB,GAAG,IAAA,uBAAW,EACzC,kBAAkB,EAClB;IACE,IAAI,EAAE,aAAa;IACnB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,iCAAwB,EAAE,sBAAa,EAAE,GAAG,uCAA4B,CAAC,CAC3E,CAAC","file":"RangeColumnChart.js","sourcesContent":["import type React from 'react';\nimport type { IRangeColumnChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerRangeColumnChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface RangeColumnChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IRangeColumnChartSpec>, 'type'> {}\n\nexport const RangeColumnChart = createChart<React.PropsWithChildren<RangeColumnChartProps> & { type?: 'rangeColumn' }>(\n 'RangeColumnChart',\n {\n type: 'rangeColumn',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerRangeColumnChart, registerLabel, ...cartesianComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IRoseChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface RoseChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IRoseChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface RoseChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IRoseChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const RoseChart: React.ForwardRefExoticComponent<RoseChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'rose';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/RoseChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA4E;
|
|
1
|
+
{"version":3,"sources":["../src/charts/RoseChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA4E;AAE5E,2CAA0C;AAC1C,yCAAsD;AAMzC,QAAA,SAAS,GAAG,IAAA,uBAAW,EAClC,WAAW,EACX;IACE,IAAI,EAAE,MAAM;IACZ,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,0BAAiB,EAAE,sBAAa,EAAE,GAAG,mCAAwB,CAAC,CAChE,CAAC","file":"RoseChart.js","sourcesContent":["import type React from 'react';\nimport type { IRoseChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerRoseChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { polarComponentsRegisters } from './register';\n\nexport interface RoseChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IRoseChartSpec>, 'type'> {}\n\nexport const RoseChart = createChart<React.PropsWithChildren<RoseChartProps> & { type?: 'rose' }>(\n 'RoseChart',\n {\n type: 'rose',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerRoseChart, registerLabel, ...polarComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { ISankeyChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface SankeyChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ISankeyChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface SankeyChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ISankeyChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const SankeyChart: React.ForwardRefExoticComponent<SankeyChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'sankey';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/SankeyChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA+D;
|
|
1
|
+
{"version":3,"sources":["../src/charts/SankeyChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA+D;AAE/D,2CAA0C;AAC1C,yCAAuD;AAM1C,QAAA,WAAW,GAAG,IAAA,uBAAW,EACpC,aAAa,EACb;IACE,IAAI,EAAE,QAAQ;IACd,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,4BAAmB,EAAE,GAAG,oCAAyB,CAAC,CACpD,CAAC","file":"SankeyChart.js","sourcesContent":["import type React from 'react';\nimport type { ISankeyChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerSankeyChart } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface SankeyChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ISankeyChartSpec>, 'type'> {}\n\nexport const SankeyChart = createChart<React.PropsWithChildren<SankeyChartProps> & { type?: 'sankey' }>(\n 'SankeyChart',\n {\n type: 'sankey',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerSankeyChart, ...simpleComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IScatterChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface ScatterChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IScatterChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface ScatterChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IScatterChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const ScatterChart: React.ForwardRefExoticComponent<ScatterChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'scatter';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/ScatterChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA+E;
|
|
1
|
+
{"version":3,"sources":["../src/charts/ScatterChart.tsx"],"names":[],"mappings":";;;AAEA,6CAA+E;AAE/E,2CAA0C;AAC1C,yCAA0D;AAM7C,QAAA,YAAY,GAAG,IAAA,uBAAW,EACrC,cAAc,EACd;IACE,IAAI,EAAE,SAAS;IACf,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,6BAAoB,EAAE,sBAAa,EAAE,GAAG,uCAA4B,CAAC,CACvE,CAAC","file":"ScatterChart.js","sourcesContent":["import type React from 'react';\nimport type { IScatterChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerScatterChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface ScatterChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IScatterChartSpec>, 'type'> {}\n\nexport const ScatterChart = createChart<React.PropsWithChildren<ScatterChartProps> & { type?: 'scatter' }>(\n 'ScatterChart',\n {\n type: 'scatter',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerScatterChart, registerLabel, ...cartesianComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { ISequenceChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface SequenceChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ISequenceChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface SequenceChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ISequenceChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const SequenceChart: React.ForwardRefExoticComponent<SequenceChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'sequence';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/SequenceChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAiE;
|
|
1
|
+
{"version":3,"sources":["../src/charts/SequenceChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAiE;AAEjE,2CAA0C;AAC1C,yCAA0D;AAM7C,QAAA,aAAa,GAAG,IAAA,uBAAW,EACtC,eAAe,EACf;IACE,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,8BAAqB,EAAE,GAAG,uCAA4B,CAAC,CACzD,CAAC","file":"SequenceChart.js","sourcesContent":["import type React from 'react';\nimport type { ISequenceChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerSequenceChart } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface SequenceChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ISequenceChartSpec>, 'type'> {}\n\nexport const SequenceChart = createChart<React.PropsWithChildren<SequenceChartProps> & { type?: 'sequence' }>(\n 'SequenceChart',\n {\n type: 'sequence',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerSequenceChart, ...cartesianComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { ISunburstChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface SunburstChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ISunburstChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface SunburstChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ISunburstChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const SunburstChart: React.ForwardRefExoticComponent<SunburstChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'sunburst';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/SunburstChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAiE;
|
|
1
|
+
{"version":3,"sources":["../src/charts/SunburstChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAiE;AAEjE,2CAA0C;AAC1C,yCAAuD;AAM1C,QAAA,aAAa,GAAG,IAAA,uBAAW,EACtC,eAAe,EACf;IACE,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,8BAAqB,EAAE,GAAG,oCAAyB,CAAC,CACtD,CAAC","file":"SunburstChart.js","sourcesContent":["import type React from 'react';\nimport type { ISunburstChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerSunburstChart } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface SunburstChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ISunburstChartSpec>, 'type'> {}\n\nexport const SunburstChart = createChart<React.PropsWithChildren<SunburstChartProps> & { type?: 'sunburst' }>(\n 'SunburstChart',\n {\n type: 'sunburst',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerSunburstChart, ...simpleComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { ITreemapChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface TreemapChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ITreemapChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface TreemapChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ITreemapChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const TreemapChart: React.ForwardRefExoticComponent<TreemapChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'treemap';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -9,5 +9,4 @@ const vchart_1 = require("@visactor/vchart"), BaseChart_1 = require("./BaseChart
|
|
|
9
9
|
exports.TreemapChart = (0, BaseChart_1.createChart)("TreemapChart", {
|
|
10
10
|
type: "treemap",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [ vchart_1.registerTreemapChart, ...register_1.simpleComponentsRegisters ]);
|
|
13
|
-
//# sourceMappingURL=TreemapChart.js.map
|
|
12
|
+
}, [ vchart_1.registerTreemapChart, ...register_1.simpleComponentsRegisters ]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/TreemapChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAgE;
|
|
1
|
+
{"version":3,"sources":["../src/charts/TreemapChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAgE;AAEhE,2CAA0C;AAC1C,yCAAuD;AAM1C,QAAA,YAAY,GAAG,IAAA,uBAAW,EACrC,cAAc,EACd;IACE,IAAI,EAAE,SAAS;IACf,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,6BAAoB,EAAE,GAAG,oCAAyB,CAAC,CACrD,CAAC","file":"TreemapChart.js","sourcesContent":["import type React from 'react';\nimport type { ITreemapChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerTreemapChart } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface TreemapChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ITreemapChartSpec>, 'type'> {}\n\nexport const TreemapChart = createChart<React.PropsWithChildren<TreemapChartProps> & { type?: 'treemap' }>(\n 'TreemapChart',\n {\n type: 'treemap',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerTreemapChart, ...simpleComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IWaterfallChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface WaterfallChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IWaterfallChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface WaterfallChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IWaterfallChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const WaterfallChart: React.ForwardRefExoticComponent<WaterfallChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'waterfall';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -9,4 +9,5 @@ const vchart_1 = require("@visactor/vchart"), BaseChart_1 = require("./BaseChart
|
|
|
9
9
|
exports.WaterfallChart = (0, BaseChart_1.createChart)("WaterfallChart", {
|
|
10
10
|
type: "waterfall",
|
|
11
11
|
vchartConstrouctor: vchart_1.VChart
|
|
12
|
-
}, [ vchart_1.registerWaterfallChart, vchart_1.registerLabel, vchart_1.registerTotalLabel, ...register_1.cartesianComponentsRegisters ]);
|
|
12
|
+
}, [ vchart_1.registerWaterfallChart, vchart_1.registerLabel, vchart_1.registerTotalLabel, ...register_1.cartesianComponentsRegisters ]);
|
|
13
|
+
//# sourceMappingURL=WaterfallChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/WaterfallChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAqG;
|
|
1
|
+
{"version":3,"sources":["../src/charts/WaterfallChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAqG;AAErG,2CAA0C;AAC1C,yCAA0D;AAQ7C,QAAA,cAAc,GAAG,IAAA,uBAAW,EACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,+BAAsB,EAAE,sBAAa,EAAE,2BAAkB,EAAE,GAAG,uCAA4B,CAAC,CAC7F,CAAC","file":"WaterfallChart.js","sourcesContent":["import type React from 'react';\nimport type { IWaterfallChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerWaterfallChart, registerLabel, registerTotalLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface WaterfallChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IWaterfallChartSpec>, 'type'> {\n //\n}\n\nexport const WaterfallChart = createChart<React.PropsWithChildren<WaterfallChartProps> & { type?: 'waterfall' }>(\n 'WaterfallChart',\n {\n type: 'waterfall',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerWaterfallChart, registerLabel, registerTotalLabel, ...cartesianComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IWordCloud3dChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface WordCloud3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IWordCloud3dChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface WordCloud3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IWordCloud3dChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const WordCloud3dChart: React.ForwardRefExoticComponent<WordCloud3dChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'wordCloud3d';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/WordCloud3dChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAoE;
|
|
1
|
+
{"version":3,"sources":["../src/charts/WordCloud3dChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAoE;AAEpE,2CAA0C;AAC1C,yCAAuD;AAM1C,QAAA,gBAAgB,GAAG,IAAA,uBAAW,EACzC,kBAAkB,EAClB;IACE,IAAI,EAAE,aAAa;IACnB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,iCAAwB,EAAE,GAAG,oCAAyB,CAAC,CACzD,CAAC","file":"WordCloud3dChart.js","sourcesContent":["import type React from 'react';\nimport type { IWordCloud3dChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerWordCloud3dChart } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface WordCloud3dChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IWordCloud3dChartSpec>, 'type'> {}\n\nexport const WordCloud3dChart = createChart<React.PropsWithChildren<WordCloud3dChartProps> & { type?: 'wordCloud3d' }>(\n 'WordCloud3dChart',\n {\n type: 'wordCloud3d',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerWordCloud3dChart, ...simpleComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IWordCloudChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface WordCloudChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IWordCloudChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface WordCloudChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IWordCloudChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const WordCloudChart: React.ForwardRefExoticComponent<WordCloudChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'wordCloud';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/WordCloudChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAkE;
|
|
1
|
+
{"version":3,"sources":["../src/charts/WordCloudChart.tsx"],"names":[],"mappings":";;;AAEA,6CAAkE;AAElE,2CAA0C;AAC1C,yCAAuD;AAM1C,QAAA,cAAc,GAAG,IAAA,uBAAW,EACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,eAA4B;CACjD,EACD,CAAC,+BAAsB,EAAE,GAAG,oCAAyB,CAAC,CACvD,CAAC","file":"WordCloudChart.js","sourcesContent":["import type React from 'react';\nimport type { IWordCloudChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerWordCloudChart } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface WordCloudChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IWordCloudChartSpec>, 'type'> {}\n\nexport const WordCloudChart = createChart<React.PropsWithChildren<WordCloudChartProps> & { type?: 'wordCloud' }>(\n 'WordCloudChart',\n {\n type: 'wordCloud',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerWordCloudChart, ...simpleComponentsRegisters]\n);\n"]}
|
package/cjs/components/Player.js
CHANGED
|
@@ -6,5 +6,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
|
|
7
7
|
const eventsUtils_1 = require("../eventsUtils"), BaseComponent_1 = require("./BaseComponent"), vchart_1 = require("@visactor/vchart");
|
|
8
8
|
|
|
9
|
-
exports.Player = (0, BaseComponent_1.createComponent)("Player", "player", eventsUtils_1.PLAYER_CUSTOMIZED_EVENTS, !0, [ vchart_1.registerPlayer ]);
|
|
10
|
-
//# sourceMappingURL=Player.js.map
|
|
9
|
+
exports.Player = (0, BaseComponent_1.createComponent)("Player", "player", eventsUtils_1.PLAYER_CUSTOMIZED_EVENTS, !0, [ vchart_1.registerPlayer ]);
|
package/cjs/components/Region.js
CHANGED
|
@@ -6,4 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
|
|
7
7
|
const BaseComponent_1 = require("./BaseComponent");
|
|
8
8
|
|
|
9
|
-
exports.Region = (0, BaseComponent_1.createComponent)("Region", "region");
|
|
9
|
+
exports.Region = (0, BaseComponent_1.createComponent)("Region", "region");
|
|
10
|
+
//# sourceMappingURL=Region.js.map
|
package/cjs/index.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export * from './components';
|
|
|
4
4
|
export * from './VChart';
|
|
5
5
|
export * from './VChartSimple';
|
|
6
6
|
export { VChart as VChartCore } from '@visactor/vchart';
|
|
7
|
-
export declare const version = "1.11.
|
|
7
|
+
export declare const version = "1.11.12";
|
|
8
8
|
export type { IAreaChartSpec, IBarChartSpec, IBar3dChartSpec, IBoxPlotChartSpec, ICirclePackingChartSpec, ICommonChartSpec, IFunnelChartSpec, IFunnel3dChartSpec, IGaugeChartSpec, IHeatmapChartSpec, IHistogramChartSpec, IHistogram3dChartSpec, ILineChartSpec, IMapChartSpec, IPieChartSpec, IPie3dChartSpec, ICircularProgressChartSpec, ILinearProgressChartSpec, IRadarChartSpec, IRangeColumnChartSpec, IRangeColumn3dChartSpec, IRangeAreaChartSpec, IRoseChartSpec, IScatterChartSpec, ISankeyChartSpec, ISequenceChartSpec, ISunburstChartSpec, ITreemapChartSpec, IWaterfallChartSpec, ICorrelationChartSpec, ILiquidChartSpec, IWordCloud3dChartSpec, IWordCloudChartSpec, IPolarChartSpec, ICartesianChartSpec, ITheme, IInitOption, ISpec, IVChart } from '@visactor/vchart';
|
package/cjs/index.js
CHANGED
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,2CAAyB;AACzB,iDAA+B;AAC/B,2CAAwD;AAA/C,oGAAA,MAAM,OAAc;AAGhB,QAAA,OAAO,GAAG,SAAS,CAAC","file":"index.js","sourcesContent":["export * from './charts';\nexport * from './series';\nexport * from './components';\nexport * from './VChart';\nexport * from './VChartSimple';\nexport { VChart as VChartCore } from '@visactor/vchart';\n\n// export the version, since @1.8.3\nexport const version = \"1.11.
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,2CAAyB;AACzB,iDAA+B;AAC/B,2CAAwD;AAA/C,oGAAA,MAAM,OAAc;AAGhB,QAAA,OAAO,GAAG,SAAS,CAAC","file":"index.js","sourcesContent":["export * from './charts';\nexport * from './series';\nexport * from './components';\nexport * from './VChart';\nexport * from './VChartSimple';\nexport { VChart as VChartCore } from '@visactor/vchart';\n\n// export the version, since @1.8.3\nexport const version = \"1.11.12\";\n\nexport type {\n IAreaChartSpec,\n IBarChartSpec,\n IBar3dChartSpec,\n IBoxPlotChartSpec,\n ICirclePackingChartSpec,\n ICommonChartSpec,\n IFunnelChartSpec,\n IFunnel3dChartSpec,\n IGaugeChartSpec,\n IHeatmapChartSpec,\n IHistogramChartSpec,\n IHistogram3dChartSpec,\n ILineChartSpec,\n IMapChartSpec,\n IPieChartSpec,\n IPie3dChartSpec,\n ICircularProgressChartSpec,\n ILinearProgressChartSpec,\n IRadarChartSpec,\n IRangeColumnChartSpec,\n IRangeColumn3dChartSpec,\n IRangeAreaChartSpec,\n IRoseChartSpec,\n IScatterChartSpec,\n ISankeyChartSpec,\n ISequenceChartSpec,\n ISunburstChartSpec,\n ITreemapChartSpec,\n IWaterfallChartSpec,\n ICorrelationChartSpec,\n ILiquidChartSpec,\n IWordCloud3dChartSpec,\n IWordCloudChartSpec,\n IPolarChartSpec,\n ICartesianChartSpec,\n ITheme,\n IInitOption,\n ISpec,\n IVChart\n} from '@visactor/vchart';\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IAreaChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface AreaChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IAreaChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface AreaChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IAreaChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const AreaChart: React.ForwardRefExoticComponent<AreaChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'area';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/AreaChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/AreaChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE5E,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAM1D,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAClC,WAAW,EACX;IACE,IAAI,EAAE,MAAM;IACZ,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,iBAAiB,EAAE,aAAa,EAAE,GAAG,4BAA4B,CAAC,CACpE,CAAC","file":"AreaChart.js","sourcesContent":["import type React from 'react';\nimport type { IAreaChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerAreaChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface AreaChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IAreaChartSpec>, 'type'> {}\n\nexport const AreaChart = createChart<React.PropsWithChildren<AreaChartProps> & { type?: 'area' }>(\n 'AreaChart',\n {\n type: 'area',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerAreaChart, registerLabel, ...cartesianComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IBar3dChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface Bar3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IBar3dChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface Bar3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IBar3dChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const Bar3dChart: React.ForwardRefExoticComponent<Bar3dChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'bar3d';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/Bar3dChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/Bar3dChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEjG,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAQ1D,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CACnC,YAAY,EACZ;IACE,IAAI,EAAE,OAAO;IACb,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,kBAAkB,EAAE,aAAa,EAAE,kBAAkB,EAAE,GAAG,4BAA4B,CAAC,CACzF,CAAC","file":"Bar3dChart.js","sourcesContent":["import type React from 'react';\nimport type { IBar3dChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerBar3dChart, registerLabel, registerTotalLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface Bar3dChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IBar3dChartSpec>, 'type'> {\n //\n}\n\nexport const Bar3dChart = createChart<React.PropsWithChildren<Bar3dChartProps> & { type?: 'bar3d' }>(\n 'Bar3dChart',\n {\n type: 'bar3d',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerBar3dChart, registerLabel, registerTotalLabel, ...cartesianComponentsRegisters]\n);\n"]}
|
package/esm/charts/BarChart.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IBarChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface BarChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IBarChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface BarChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IBarChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const BarChart: React.ForwardRefExoticComponent<BarChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'bar';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/BarChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/BarChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE/F,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAQ1D,MAAM,CAAC,MAAM,QAAQ,GAAG,WAAW,CACjC,UAAU,EACV;IACE,IAAI,EAAE,KAAK;IACX,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,gBAAgB,EAAE,aAAa,EAAE,kBAAkB,EAAE,GAAG,4BAA4B,CAAC,CACvF,CAAC","file":"BarChart.js","sourcesContent":["import type React from 'react';\nimport type { IBarChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerBarChart, registerLabel, registerTotalLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface BarChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IBarChartSpec>, 'type'> {\n //\n}\n\nexport const BarChart = createChart<React.PropsWithChildren<BarChartProps> & { type?: 'bar' }>(\n 'BarChart',\n {\n type: 'bar',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerBarChart, registerLabel, registerTotalLabel, ...cartesianComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IBoxPlotChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface BoxPlotChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IBoxPlotChartSpec
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { IBoxPlotChartSpec } from '@visactor/vchart';
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface BoxPlotChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IBoxPlotChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const BoxPlotChart: React.ForwardRefExoticComponent<BoxPlotChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'boxPlot';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/BoxPlotChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/BoxPlotChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE/E,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAM1D,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CACrC,cAAc,EACd;IACE,IAAI,EAAE,SAAS;IACf,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,oBAAoB,EAAE,aAAa,EAAE,GAAG,4BAA4B,CAAC,CACvE,CAAC","file":"BoxPlotChart.js","sourcesContent":["import type React from 'react';\nimport type { IBoxPlotChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerBoxplotChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface BoxPlotChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IBoxPlotChartSpec>, 'type'> {}\n\nexport const BoxPlotChart = createChart<React.PropsWithChildren<BoxPlotChartProps> & { type?: 'boxPlot' }>(\n 'BoxPlotChart',\n {\n type: 'boxPlot',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerBoxplotChart, registerLabel, ...cartesianComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ICirclePackingChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface CirclePackingChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ICirclePackingChartSpec
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { ICirclePackingChartSpec } from '@visactor/vchart';
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface CirclePackingChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ICirclePackingChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const CirclePackingChart: React.ForwardRefExoticComponent<CirclePackingChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'circlePacking';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/CirclePackingChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/CirclePackingChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,kBAAkB,GAAG,WAAW,CAG3C,oBAAoB,EACpB;IACE,IAAI,EAAE,eAAe;IACrB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,0BAA0B,EAAE,GAAG,yBAAyB,CAAC,CAC3D,CAAC","file":"CirclePackingChart.js","sourcesContent":["import type React from 'react';\nimport type { ICirclePackingChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerCirclePackingChart } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface CirclePackingChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ICirclePackingChartSpec>, 'type'> {}\n\nexport const CirclePackingChart = createChart<\n React.PropsWithChildren<CirclePackingChartProps> & { type?: 'circlePacking' }\n>(\n 'CirclePackingChart',\n {\n type: 'circlePacking',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerCirclePackingChart, ...simpleComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ICircularProgressChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface CircularProgressChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ICircularProgressChartSpec
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { ICircularProgressChartSpec } from '@visactor/vchart';
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface CircularProgressChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ICircularProgressChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const CircularProgressChart: React.ForwardRefExoticComponent<CircularProgressChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'circularProgress';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/CircularProgressChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,6BAA6B,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/CircularProgressChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,6BAA6B,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAExF,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAMtD,MAAM,CAAC,MAAM,qBAAqB,GAAG,WAAW,CAG9C,uBAAuB,EACvB;IACE,IAAI,EAAE,kBAAkB;IACxB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,6BAA6B,EAAE,aAAa,EAAE,GAAG,wBAAwB,CAAC,CAC5E,CAAC","file":"CircularProgressChart.js","sourcesContent":["import type React from 'react';\nimport type { ICircularProgressChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerCircularProgressChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { polarComponentsRegisters } from './register';\n\nexport interface CircularProgressChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ICircularProgressChartSpec>, 'type'> {}\n\nexport const CircularProgressChart = createChart<\n React.PropsWithChildren<CircularProgressChartProps> & { type?: 'circularProgress' }\n>(\n 'CircularProgressChart',\n {\n type: 'circularProgress',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerCircularProgressChart, registerLabel, ...polarComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ICommonChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface CommonChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ICommonChartSpec
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { ICommonChartSpec } from '@visactor/vchart';
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface CommonChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ICommonChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const CommonChart: React.ForwardRefExoticComponent<CommonChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'common';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/CommonChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,mBAAmB,EACnB,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,0BAA0B,EAC1B,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/CommonChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,mBAAmB,EACnB,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,0BAA0B,EAC1B,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,MAAM,CAAC,MAAM,WAAW,GAAG,WAAW,CACpC,aAAa,EACb;IACE,IAAI,EAAE,QAAQ;IACd,kBAAkB,EAAE,MAA4B;CACjD,EACD;IACE,mBAAmB;IACnB,2BAA2B;IAC3B,yBAAyB;IACzB,yBAAyB;IACzB,wBAAwB;IACxB,0BAA0B;IAE1B,aAAa;IACb,kBAAkB;IAElB,kBAAkB;IAClB,iBAAiB;IACjB,kBAAkB;IAClB,qBAAqB;IACrB,iBAAiB;CAClB,CACF,CAAC","file":"CommonChart.js","sourcesContent":["import type React from 'react';\nimport type { ICommonChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport {\n VChart,\n registerCommonChart,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis, // 非必选\n registerCartesianLogAxis, // 非必选\n registerCartesianCrossHair,\n registerLabel,\n registerTotalLabel,\n registerAreaSeries,\n registerBarSeries,\n registerLineSeries,\n registerScatterSeries,\n registerPieSeries\n} from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\n\nexport interface CommonChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ICommonChartSpec>, 'type'> {}\n\nexport const CommonChart = createChart<React.PropsWithChildren<CommonChartProps> & { type?: 'common' }>(\n 'CommonChart',\n {\n type: 'common',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [\n registerCommonChart,\n registerCartesianLinearAxis,\n registerCartesianBandAxis,\n registerCartesianTimeAxis, // 非必选\n registerCartesianLogAxis, // 非必选\n registerCartesianCrossHair,\n\n registerLabel,\n registerTotalLabel,\n\n registerAreaSeries,\n registerBarSeries,\n registerLineSeries,\n registerScatterSeries,\n registerPieSeries\n ]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ICorrelationChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface CorrelationChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ICorrelationChartSpec
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { ICorrelationChartSpec } from '@visactor/vchart';
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface CorrelationChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ICorrelationChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const CorrelationChart: React.ForwardRefExoticComponent<CorrelationChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'correlation';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|