@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/CorrelationChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/CorrelationChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAEpE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,gBAAgB,GAAG,WAAW,CACzC,kBAAkB,EAClB;IACE,IAAI,EAAE,aAAa;IACnB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,wBAAwB,EAAE,GAAG,yBAAyB,CAAC,CACzD,CAAC","file":"CorrelationChart.js","sourcesContent":["import type React from 'react';\nimport type { ICorrelationChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerCorrelationChart } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface CorrelationChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ICorrelationChartSpec>, 'type'> {}\n\nexport const CorrelationChart = createChart<React.PropsWithChildren<CorrelationChartProps> & { type?: 'correlation' }>(\n 'CorrelationChart',\n {\n type: 'correlation',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerCorrelationChart, ...simpleComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IFunnel3dChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface Funnel3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IFunnel3dChartSpec
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { IFunnel3dChartSpec } from '@visactor/vchart';
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface Funnel3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IFunnel3dChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const Funnel3dChart: React.ForwardRefExoticComponent<Funnel3dChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'funnel3d';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/Funnel3dChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/Funnel3dChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEhF,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CACtC,eAAe,EACf;IACE,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,qBAAqB,EAAE,aAAa,EAAE,GAAG,yBAAyB,CAAC,CACrE,CAAC","file":"Funnel3dChart.js","sourcesContent":["import type React from 'react';\nimport type { IFunnel3dChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerFunnel3dChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface Funnel3dChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IFunnel3dChartSpec>, 'type'> {}\n\nexport const Funnel3dChart = createChart<React.PropsWithChildren<Funnel3dChartProps> & { type?: 'funnel3d' }>(\n 'Funnel3dChart',\n {\n type: 'funnel3d',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerFunnel3dChart, registerLabel, ...simpleComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IFunnelChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface FunnelChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IFunnelChartSpec
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { IFunnelChartSpec } from '@visactor/vchart';
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface FunnelChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IFunnelChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const FunnelChart: React.ForwardRefExoticComponent<FunnelChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'funnel';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/FunnelChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/FunnelChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,WAAW,GAAG,WAAW,CACpC,aAAa,EACb;IACE,IAAI,EAAE,QAAQ;IACd,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,mBAAmB,EAAE,aAAa,EAAE,GAAG,yBAAyB,CAAC,CACnE,CAAC","file":"FunnelChart.js","sourcesContent":["import type React from 'react';\nimport type { IFunnelChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerFunnelChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface FunnelChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IFunnelChartSpec>, 'type'> {}\n\nexport const FunnelChart = createChart<React.PropsWithChildren<FunnelChartProps> & { type?: 'funnel' }>(\n 'FunnelChart',\n {\n type: 'funnel',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerFunnelChart, registerLabel, ...simpleComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IGaugeChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface GaugeChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IGaugeChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface GaugeChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IGaugeChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const GaugeChart: React.ForwardRefExoticComponent<GaugeChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'gauge';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/GaugeChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/GaugeChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CACnC,YAAY,EACZ;IACE,IAAI,EAAE,OAAO;IACb,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,kBAAkB,EAAE,GAAG,yBAAyB,CAAC,CACnD,CAAC","file":"GaugeChart.js","sourcesContent":["import type React from 'react';\nimport type { IGaugeChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerGaugeChart } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface GaugeChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IGaugeChartSpec>, 'type'> {}\n\nexport const GaugeChart = createChart<React.PropsWithChildren<GaugeChartProps> & { type?: 'gauge' }>(\n 'GaugeChart',\n {\n type: 'gauge',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerGaugeChart, ...simpleComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IHeatmapChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface HeatmapChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IHeatmapChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface HeatmapChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IHeatmapChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const HeatmapChart: React.ForwardRefExoticComponent<HeatmapChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'heatmap';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/HeatmapChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC1B,aAAa,EACd,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/HeatmapChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC1B,aAAa,EACd,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAQ1D,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CACrC,cAAc,EACd;IACE,IAAI,EAAE,SAAS;IACf,kBAAkB,EAAE,MAA4B;CACjD,EACD;IACE,oBAAoB;IACpB,yBAAyB;IACzB,0BAA0B;IAC1B,aAAa;IACb,GAAG,4BAA4B;CAChC,CACF,CAAC","file":"HeatmapChart.js","sourcesContent":["import type React from 'react';\nimport type { IHeatmapChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport {\n VChart,\n registerHeatmapChart,\n registerCartesianBandAxis,\n registerCartesianCrossHair,\n registerLabel\n} from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface HeatmapChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IHeatmapChartSpec>, 'type'> {\n //\n}\n\nexport const HeatmapChart = createChart<React.PropsWithChildren<HeatmapChartProps> & { type?: 'heatmap' }>(\n 'HeatmapChart',\n {\n type: 'heatmap',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [\n registerHeatmapChart,\n registerCartesianBandAxis,\n registerCartesianCrossHair,\n registerLabel,\n ...cartesianComponentsRegisters\n ]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IHistogram3dChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface Histogram3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IHistogram3dChartSpec
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { IHistogram3dChartSpec } from '@visactor/vchart';
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface Histogram3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IHistogram3dChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const Histogram3dChart: React.ForwardRefExoticComponent<Histogram3dChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'histogram3d';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -7,5 +7,4 @@ import { cartesianComponentsRegisters } from "./register";
|
|
|
7
7
|
export const Histogram3dChart = createChart("Histogram3dChart", {
|
|
8
8
|
type: "histogram3d",
|
|
9
9
|
vchartConstrouctor: VChart
|
|
10
|
-
}, [ registerHistogram3dChart, registerLabel, ...cartesianComponentsRegisters ]);
|
|
11
|
-
//# sourceMappingURL=Histogram3dChart.js.map
|
|
10
|
+
}, [ registerHistogram3dChart, registerLabel, ...cartesianComponentsRegisters ]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/Histogram3dChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/Histogram3dChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEnF,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAM1D,MAAM,CAAC,MAAM,gBAAgB,GAAG,WAAW,CACzC,kBAAkB,EAClB;IACE,IAAI,EAAE,aAAa;IACnB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,wBAAwB,EAAE,aAAa,EAAE,GAAG,4BAA4B,CAAC,CAC3E,CAAC","file":"Histogram3dChart.js","sourcesContent":["import type React from 'react';\nimport type { IHistogram3dChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerHistogram3dChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface Histogram3dChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IHistogram3dChartSpec>, 'type'> {}\n\nexport const Histogram3dChart = createChart<React.PropsWithChildren<Histogram3dChartProps> & { type?: 'histogram3d' }>(\n 'Histogram3dChart',\n {\n type: 'histogram3d',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerHistogram3dChart, registerLabel, ...cartesianComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IHistogramChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface HistogramChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IHistogramChartSpec
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { IHistogramChartSpec } from '@visactor/vchart';
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface HistogramChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IHistogramChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const HistogramChart: React.ForwardRefExoticComponent<HistogramChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'histogram';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -7,4 +7,5 @@ import { cartesianComponentsRegisters } from "./register";
|
|
|
7
7
|
export const HistogramChart = createChart("HistogramChart", {
|
|
8
8
|
type: "histogram",
|
|
9
9
|
vchartConstrouctor: VChart
|
|
10
|
-
}, [ registerHistogramChart, registerLabel, ...cartesianComponentsRegisters ]);
|
|
10
|
+
}, [ registerHistogramChart, registerLabel, ...cartesianComponentsRegisters ]);
|
|
11
|
+
//# sourceMappingURL=HistogramChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/HistogramChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/HistogramChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjF,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAM1D,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CACvC,gBAAgB,EAChB;IACE,IAAI,EAAE,WAAW;IACjB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,sBAAsB,EAAE,aAAa,EAAE,GAAG,4BAA4B,CAAC,CACzE,CAAC","file":"HistogramChart.js","sourcesContent":["import type React from 'react';\nimport type { IHistogramChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerHistogramChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface HistogramChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IHistogramChartSpec>, 'type'> {}\n\nexport const HistogramChart = createChart<React.PropsWithChildren<HistogramChartProps> & { type?: 'histogram' }>(\n 'HistogramChart',\n {\n type: 'histogram',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerHistogramChart, registerLabel, ...cartesianComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { ILineChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface LineChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ILineChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface LineChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ILineChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const LineChart: React.ForwardRefExoticComponent<LineChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'line';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/LineChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/LineChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEhG,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,kBAAkB,EAAE,GAAG,4BAA4B,CAAC,CACxF,CAAC","file":"LineChart.js","sourcesContent":["import type React from 'react';\nimport type { ILineChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerLineChart, registerLabel, registerTotalLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface LineChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ILineChartSpec>, 'type'> {}\n\nexport const LineChart = createChart<React.PropsWithChildren<LineChartProps> & { type?: 'line' }>(\n 'LineChart',\n {\n type: 'line',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerLineChart, registerLabel, registerTotalLabel, ...cartesianComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ILinearProgressChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface LinearProgressChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<ILinearProgressChartSpec
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { ILinearProgressChartSpec } from '@visactor/vchart';
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface LinearProgressChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<ILinearProgressChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const LinearProgressChart: React.ForwardRefExoticComponent<LinearProgressChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'linearProgress';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/LinearProgressChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,2BAA2B,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/LinearProgressChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,2BAA2B,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtF,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAM1D,MAAM,CAAC,MAAM,mBAAmB,GAAG,WAAW,CAG5C,qBAAqB,EACrB;IACE,IAAI,EAAE,gBAAgB;IACtB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,2BAA2B,EAAE,aAAa,EAAE,GAAG,4BAA4B,CAAC,CAC9E,CAAC","file":"LinearProgressChart.js","sourcesContent":["import type React from 'react';\nimport type { ILinearProgressChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerLinearProgressChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { cartesianComponentsRegisters } from './register';\n\nexport interface LinearProgressChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<ILinearProgressChartSpec>, 'type'> {}\n\nexport const LinearProgressChart = createChart<\n React.PropsWithChildren<LinearProgressChartProps> & { type?: 'linearProgress' }\n>(\n 'LinearProgressChart',\n {\n type: 'linearProgress',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerLinearProgressChart, registerLabel, ...cartesianComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { ILiquidChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface LiquidChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data' | 'data'>, Omit<ILiquidChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface LiquidChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data' | 'data'>, Omit<Partial<ILiquidChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const LiquidChart: React.ForwardRefExoticComponent<LiquidChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'liquid';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/LiquidChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/LiquidChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,WAAW,GAAG,WAAW,CACpC,aAAa,EACb;IACE,IAAI,EAAE,QAAQ;IACd,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,mBAAmB,EAAE,GAAG,yBAAyB,CAAC,CACpD,CAAC","file":"LiquidChart.js","sourcesContent":["import type React from 'react';\nimport type { ILiquidChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerLiquidChart } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface LiquidChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data' | 'data'>,\n Omit<Partial<ILiquidChartSpec>, 'type'> {}\n\nexport const LiquidChart = createChart<React.PropsWithChildren<LiquidChartProps> & { type?: 'liquid' }>(\n 'LiquidChart',\n {\n type: 'liquid',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerLiquidChart, ...simpleComponentsRegisters]\n);\n"]}
|
package/esm/charts/MapChart.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IMapChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface MapChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IMapChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface MapChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IMapChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const MapChart: React.ForwardRefExoticComponent<MapChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'map';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/MapChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/MapChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE3E,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,QAAQ,GAAG,WAAW,CACjC,UAAU,EACV;IACE,IAAI,EAAE,KAAK;IACX,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,gBAAgB,EAAE,aAAa,EAAE,GAAG,yBAAyB,CAAC,CAChE,CAAC","file":"MapChart.js","sourcesContent":["import type React from 'react';\nimport type { IMapChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerMapChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface MapChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IMapChartSpec>, 'type'> {}\n\nexport const MapChart = createChart<React.PropsWithChildren<MapChartProps> & { type?: 'map' }>(\n 'MapChart',\n {\n type: 'map',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerMapChart, registerLabel, ...simpleComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IPie3dChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface Pie3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IPie3dChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface Pie3dChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IPie3dChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const Pie3dChart: React.ForwardRefExoticComponent<Pie3dChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'pie3d';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/Pie3dChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/Pie3dChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CACnC,YAAY,EACZ;IACE,IAAI,EAAE,OAAO;IACb,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,kBAAkB,EAAE,aAAa,EAAE,GAAG,yBAAyB,CAAC,CAClE,CAAC","file":"Pie3dChart.js","sourcesContent":["import type React from 'react';\nimport type { IPie3dChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerPie3dChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface Pie3dChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IPie3dChartSpec>, 'type'> {}\n\nexport const Pie3dChart = createChart<React.PropsWithChildren<Pie3dChartProps> & { type?: 'pie3d' }>(\n 'Pie3dChart',\n {\n type: 'pie3d',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerPie3dChart, registerLabel, ...simpleComponentsRegisters]\n);\n"]}
|
package/esm/charts/PieChart.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IPieChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface PieChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IPieChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface PieChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IPieChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const PieChart: React.ForwardRefExoticComponent<PieChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'pie';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/PieChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/PieChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE3E,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,QAAQ,GAAG,WAAW,CACjC,UAAU,EACV;IACE,IAAI,EAAE,KAAK;IACX,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,gBAAgB,EAAE,aAAa,EAAE,GAAG,yBAAyB,CAAC,CAChE,CAAC","file":"PieChart.js","sourcesContent":["import type React from 'react';\nimport type { IPieChartSpec, IVChartConstructor } from '@visactor/vchart';\nimport { VChart, registerPieChart, registerLabel } from '@visactor/vchart';\nimport type { BaseChartProps } from './BaseChart';\nimport { createChart } from './BaseChart';\nimport { simpleComponentsRegisters } from './register';\n\nexport interface PieChartProps\n extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>,\n Omit<Partial<IPieChartSpec>, 'type'> {}\n\nexport const PieChart = createChart<React.PropsWithChildren<PieChartProps> & { type?: 'pie' }>(\n 'PieChart',\n {\n type: 'pie',\n vchartConstrouctor: VChart as IVChartConstructor\n },\n [registerPieChart, registerLabel, ...simpleComponentsRegisters]\n);\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
import type { IRadarChartSpec } from '@visactor/vchart';
|
|
3
|
-
import { BaseChartProps } from './BaseChart';
|
|
4
|
-
export interface RadarChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<IRadarChartSpec
|
|
3
|
+
import type { BaseChartProps } from './BaseChart';
|
|
4
|
+
export interface RadarChartProps extends Omit<BaseChartProps, 'spec' | 'container' | 'type' | 'data'>, Omit<Partial<IRadarChartSpec>, 'type'> {
|
|
5
5
|
}
|
|
6
6
|
export declare const RadarChart: React.ForwardRefExoticComponent<RadarChartProps & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
} & {
|
|
9
|
-
type
|
|
9
|
+
type?: 'radar';
|
|
10
10
|
} & import("../containers/withContainer").ContainerProps & React.RefAttributes<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/RadarChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/RadarChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAMtD,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CACnC,YAAY,EACZ;IACE,IAAI,EAAE,OAAO;IACb,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,kBAAkB,EAAE,aAAa,EAAE,GAAG,wBAAwB,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,OAAO,EAAE,MAAM,EAAE,0BAA0B,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/RangeColumn3dChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,0BAA0B,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAErF,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAM1D,MAAM,CAAC,MAAM,kBAAkB,GAAG,WAAW,CAG3C,oBAAoB,EACpB;IACE,IAAI,EAAE,eAAe;IACrB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,0BAA0B,EAAE,aAAa,EAAE,GAAG,4BAA4B,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,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/RangeColumnChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEnF,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAM1D,MAAM,CAAC,MAAM,gBAAgB,GAAG,WAAW,CACzC,kBAAkB,EAClB;IACE,IAAI,EAAE,aAAa;IACnB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,wBAAwB,EAAE,aAAa,EAAE,GAAG,4BAA4B,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,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/RoseChart.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,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAMtD,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,wBAAwB,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,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/SankeyChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,WAAW,GAAG,WAAW,CACpC,aAAa,EACb;IACE,IAAI,EAAE,QAAQ;IACd,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,mBAAmB,EAAE,GAAG,yBAAyB,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,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/ScatterChart.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":"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,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/SequenceChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEjE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,4BAA4B,EAAE,MAAM,YAAY,CAAC;AAM1D,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CACtC,eAAe,EACf;IACE,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,qBAAqB,EAAE,GAAG,4BAA4B,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,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"sources":["../src/charts/SunburstChart.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAEjE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAMvD,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CACtC,eAAe,EACf;IACE,IAAI,EAAE,UAAU;IAChB,kBAAkB,EAAE,MAA4B;CACjD,EACD,CAAC,qBAAqB,EAAE,GAAG,yBAAyB,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"]}
|