@pyreon/charts 0.10.0 → 0.11.1
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/lib/analysis/index.js.html +1 -1
- package/lib/analysis/manual.js.html +1 -1
- package/lib/{charts-Ckh2qxB5.js → charts-lo2KeDld.js} +164 -164
- package/lib/charts-lo2KeDld.js.map +1 -0
- package/lib/{components-BcPePBeS.js → components-ClWy1Ztp.js} +128 -128
- package/lib/components-ClWy1Ztp.js.map +1 -0
- package/lib/{core-9w0g6EOI.js → core-BiuQ3y-t.js} +11 -11
- package/lib/core-BiuQ3y-t.js.map +1 -0
- package/lib/{createSeriesData-DOHScdgk.js → createSeriesData-BGy-6PqI.js} +6 -6
- package/lib/createSeriesData-BGy-6PqI.js.map +1 -0
- package/lib/{customGraphicKeyframeAnimation-CvkEkSt_.js → customGraphicKeyframeAnimation-BIbJI8ew.js} +61 -61
- package/lib/customGraphicKeyframeAnimation-BIbJI8ew.js.map +1 -0
- package/lib/{graphic-CPJ2K90a.js → graphic-Bt7SEwll.js} +59 -59
- package/lib/graphic-Bt7SEwll.js.map +1 -0
- package/lib/index.js +60 -52
- package/lib/index.js.map +1 -1
- package/lib/manual.js +60 -52
- package/lib/manual.js.map +1 -1
- package/lib/{parseGeoJson-BlBe5Vig.js → parseGeoJson-NjUY1feF.js} +115 -115
- package/lib/parseGeoJson-NjUY1feF.js.map +1 -0
- package/lib/{renderers-Dytryvoy.js → renderers-BnAAXHfG.js} +16 -16
- package/lib/renderers-BnAAXHfG.js.map +1 -0
- package/lib/types/index.d.ts +3 -3
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/manual.d.ts +3 -3
- package/lib/types/manual.d.ts.map +1 -1
- package/package.json +14 -7
- package/src/chart-component.tsx +18 -10
- package/src/index.ts +3 -3
- package/src/loader.ts +70 -73
- package/src/manual.ts +4 -4
- package/src/tests/charts.test.tsx +431 -126
- package/src/types.ts +8 -9
- package/src/use-chart.ts +8 -8
- package/lib/charts-Ckh2qxB5.js.map +0 -1
- package/lib/components-BcPePBeS.js.map +0 -1
- package/lib/core-9w0g6EOI.js.map +0 -1
- package/lib/createSeriesData-DOHScdgk.js.map +0 -1
- package/lib/customGraphicKeyframeAnimation-CvkEkSt_.js.map +0 -1
- package/lib/graphic-CPJ2K90a.js.map +0 -1
- package/lib/parseGeoJson-BlBe5Vig.js.map +0 -1
- package/lib/renderers-Dytryvoy.js.map +0 -1
package/lib/types/manual.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Props, VNodeChild } from "@pyreon/core";
|
|
|
2
2
|
import { EChartsOption, EChartsOption as EChartsOption$1 } from "echarts";
|
|
3
3
|
import { Signal } from "@pyreon/reactivity";
|
|
4
4
|
|
|
5
|
-
//#region
|
|
5
|
+
//#region ../../../node_modules/.bun/echarts@6.0.0/node_modules/echarts/types/dist/shared.d.ts
|
|
6
6
|
interface GradientObject {
|
|
7
7
|
id?: number;
|
|
8
8
|
type: string;
|
|
@@ -2108,7 +2108,7 @@ interface UseChartConfig {
|
|
|
2108
2108
|
/** ECharts theme — 'dark', a registered theme name, or a theme object */
|
|
2109
2109
|
theme?: string | Record<string, unknown>;
|
|
2110
2110
|
/** Renderer — 'canvas' (default, best performance) or 'svg' */
|
|
2111
|
-
renderer?:
|
|
2111
|
+
renderer?: "canvas" | "svg";
|
|
2112
2112
|
/** ECharts locale — 'EN' (default), 'ZH', etc. */
|
|
2113
2113
|
locale?: string;
|
|
2114
2114
|
/** Whether to replace all options instead of merging — default: false */
|
|
@@ -2149,7 +2149,7 @@ interface ChartProps<TOption extends EChartsOption = EChartsOption> extends Prop
|
|
|
2149
2149
|
/** ECharts theme */
|
|
2150
2150
|
theme?: string | Record<string, unknown>;
|
|
2151
2151
|
/** Renderer — 'canvas' (default) or 'svg' */
|
|
2152
|
-
renderer?:
|
|
2152
|
+
renderer?: "canvas" | "svg";
|
|
2153
2153
|
/** CSS style for the container div */
|
|
2154
2154
|
style?: string;
|
|
2155
2155
|
/** CSS class for the container div */
|