@fanciers/echarts-react 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CanvasRenderer, SVGRenderer } from "echarts/renderers";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import * as echarts from "echarts/core";
|
|
4
|
-
import { BarSeriesOption, BrushComponentOption, CalendarComponentOption, ComposeOption, DataZoomComponentOption, DatasetComponentOption, EffectScatterSeriesOption, GeoComponentOption, GraphSeriesOption, GraphicComponentOption, GridComponentOption, HeatmapSeriesOption, LegendComponentOption, LineSeriesOption, MarkAreaComponentOption, MarkLineComponentOption, MarkPointComponentOption, MatrixComponentOption, PieSeriesOption, PolarComponentOption, ScatterSeriesOption, SingleAxisComponentOption, TimelineComponentOption, TitleComponentOption, ToolboxComponentOption, TooltipComponentOption, VisualMapComponentOption } from "echarts";
|
|
4
|
+
import { BarSeriesOption, BrushComponentOption, CalendarComponentOption, ComposeOption, DataZoomComponentOption, DatasetComponentOption, EffectScatterSeriesOption, GeoComponentOption, GraphSeriesOption, GraphicComponentOption, GridComponentOption, HeatmapSeriesOption, LegendComponentOption, LineSeriesOption, MarkAreaComponentOption, MarkLineComponentOption, MarkPointComponentOption, MatrixComponentOption, PieSeriesOption, PolarComponentOption, ScatterSeriesOption, SingleAxisComponentOption, SunburstSeriesOption, TimelineComponentOption, TitleComponentOption, ToolboxComponentOption, TooltipComponentOption, VisualMapComponentOption } from "echarts";
|
|
5
5
|
import { ComponentOption } from "echarts/types/src/util/types.js";
|
|
6
6
|
|
|
7
7
|
//#region src/shared.d.ts
|
|
@@ -31,6 +31,7 @@ declare const HeatmapChart: ChartComponentType<HeatmapSeriesOption>;
|
|
|
31
31
|
declare const LineChart: ChartComponentType<GridComponentOption | LineSeriesOption>;
|
|
32
32
|
declare const PieChart: ChartComponentType<PieSeriesOption>;
|
|
33
33
|
declare const ScatterChart: ChartComponentType<GridComponentOption | ScatterSeriesOption>;
|
|
34
|
+
declare const SunburstChart: ChartComponentType<SunburstSeriesOption>;
|
|
34
35
|
//#endregion
|
|
35
36
|
//#region src/components.d.ts
|
|
36
37
|
declare const Brush: (props: ComposeOption<BrushComponentOption>) => null;
|
|
@@ -55,4 +56,4 @@ declare const VisualMap: (props: ComposeOption<VisualMapComponentOption>) => nul
|
|
|
55
56
|
//#region src/features.d.ts
|
|
56
57
|
declare function AxisBreak(): null;
|
|
57
58
|
//#endregion
|
|
58
|
-
export { AxisBreak, BarChart, Brush, Calendar, CanvasRenderer, DataZoom, Dataset, EffectScatterChart, Geo, GraphChart, Graphic, HeatmapChart, Legend, LineChart, MarkArea, MarkLine, MarkPoint, Matrix, PieChart, Polar, SVGRenderer, ScatterChart, SingleAxis, Timeline, Title, Toolbox, Tooltip, VisualMap, echarts };
|
|
59
|
+
export { AxisBreak, BarChart, Brush, Calendar, CanvasRenderer, DataZoom, Dataset, EffectScatterChart, Geo, GraphChart, Graphic, HeatmapChart, Legend, LineChart, MarkArea, MarkLine, MarkPoint, Matrix, PieChart, Polar, SVGRenderer, ScatterChart, SingleAxis, SunburstChart, Timeline, Title, Toolbox, Tooltip, VisualMap, echarts };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CanvasRenderer, SVGRenderer } from "echarts/renderers";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { BarChart as BarChart$1, EffectScatterChart as EffectScatterChart$1, GraphChart as GraphChart$1, HeatmapChart as HeatmapChart$1, LineChart as LineChart$1, PieChart as PieChart$1, ScatterChart as ScatterChart$1 } from "echarts/charts";
|
|
3
|
+
import { BarChart as BarChart$1, EffectScatterChart as EffectScatterChart$1, GraphChart as GraphChart$1, HeatmapChart as HeatmapChart$1, LineChart as LineChart$1, PieChart as PieChart$1, ScatterChart as ScatterChart$1, SunburstChart as SunburstChart$1 } from "echarts/charts";
|
|
4
4
|
import { BrushComponent, CalendarComponent, DataZoomComponent, DatasetComponent, GeoComponent, GraphicComponent, GridComponent, LegendComponent, MarkAreaComponent, MarkLineComponent, MarkPointComponent, MatrixComponent, PolarComponent, SingleAxisComponent, TimelineComponent, TitleComponent, ToolboxComponent, TooltipComponent, TransformComponent, VisualMapComponent } from "echarts/components";
|
|
5
5
|
import * as echarts from "echarts/core";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -81,6 +81,7 @@ const HeatmapChart = /*#__PURE__*/ defineChart([HeatmapChart$1]);
|
|
|
81
81
|
const LineChart = /*#__PURE__*/ defineChart([LineChart$1, GridComponent]);
|
|
82
82
|
const PieChart = /*#__PURE__*/ defineChart([PieChart$1]);
|
|
83
83
|
const ScatterChart = /*#__PURE__*/ defineChart([ScatterChart$1, GridComponent]);
|
|
84
|
+
const SunburstChart = /*#__PURE__*/ defineChart([SunburstChart$1]);
|
|
84
85
|
//#endregion
|
|
85
86
|
//#region src/components.tsx
|
|
86
87
|
function defineComponent(ext) {
|
|
@@ -122,4 +123,4 @@ function AxisBreak() {
|
|
|
122
123
|
return null;
|
|
123
124
|
}
|
|
124
125
|
//#endregion
|
|
125
|
-
export { AxisBreak, BarChart, Brush, Calendar, CanvasRenderer, DataZoom, Dataset, EffectScatterChart, Geo, GraphChart, Graphic, HeatmapChart, Legend, LineChart, MarkArea, MarkLine, MarkPoint, Matrix, PieChart, Polar, SVGRenderer, ScatterChart, SingleAxis, Timeline, Title, Toolbox, Tooltip, VisualMap, echarts };
|
|
126
|
+
export { AxisBreak, BarChart, Brush, Calendar, CanvasRenderer, DataZoom, Dataset, EffectScatterChart, Geo, GraphChart, Graphic, HeatmapChart, Legend, LineChart, MarkArea, MarkLine, MarkPoint, Matrix, PieChart, Polar, SVGRenderer, ScatterChart, SingleAxis, SunburstChart, Timeline, Title, Toolbox, Tooltip, VisualMap, echarts };
|