@pyreon/charts 0.9.0 → 0.11.0

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.
Files changed (42) hide show
  1. package/lib/analysis/index.js.html +1 -1
  2. package/lib/analysis/manual.js.html +1 -1
  3. package/lib/{charts-Ckh2qxB5.js → charts-lo2KeDld.js} +164 -164
  4. package/lib/charts-lo2KeDld.js.map +1 -0
  5. package/lib/{components-BcPePBeS.js → components-ClWy1Ztp.js} +128 -128
  6. package/lib/components-ClWy1Ztp.js.map +1 -0
  7. package/lib/{core-9w0g6EOI.js → core-BiuQ3y-t.js} +11 -11
  8. package/lib/core-BiuQ3y-t.js.map +1 -0
  9. package/lib/{createSeriesData-DOHScdgk.js → createSeriesData-BGy-6PqI.js} +6 -6
  10. package/lib/createSeriesData-BGy-6PqI.js.map +1 -0
  11. package/lib/{customGraphicKeyframeAnimation-CvkEkSt_.js → customGraphicKeyframeAnimation-BIbJI8ew.js} +61 -61
  12. package/lib/customGraphicKeyframeAnimation-BIbJI8ew.js.map +1 -0
  13. package/lib/{graphic-CPJ2K90a.js → graphic-Bt7SEwll.js} +59 -59
  14. package/lib/graphic-Bt7SEwll.js.map +1 -0
  15. package/lib/index.js +60 -52
  16. package/lib/index.js.map +1 -1
  17. package/lib/manual.js +60 -52
  18. package/lib/manual.js.map +1 -1
  19. package/lib/{parseGeoJson-BlBe5Vig.js → parseGeoJson-NjUY1feF.js} +115 -115
  20. package/lib/parseGeoJson-NjUY1feF.js.map +1 -0
  21. package/lib/{renderers-Dytryvoy.js → renderers-BnAAXHfG.js} +16 -16
  22. package/lib/renderers-BnAAXHfG.js.map +1 -0
  23. package/lib/types/index.d.ts +3 -3
  24. package/lib/types/index.d.ts.map +1 -1
  25. package/lib/types/manual.d.ts +3 -3
  26. package/lib/types/manual.d.ts.map +1 -1
  27. package/package.json +14 -7
  28. package/src/chart-component.tsx +18 -10
  29. package/src/index.ts +3 -3
  30. package/src/loader.ts +70 -73
  31. package/src/manual.ts +4 -4
  32. package/src/tests/charts.test.tsx +431 -126
  33. package/src/types.ts +8 -9
  34. package/src/use-chart.ts +8 -8
  35. package/lib/charts-Ckh2qxB5.js.map +0 -1
  36. package/lib/components-BcPePBeS.js.map +0 -1
  37. package/lib/core-9w0g6EOI.js.map +0 -1
  38. package/lib/createSeriesData-DOHScdgk.js.map +0 -1
  39. package/lib/customGraphicKeyframeAnimation-CvkEkSt_.js.map +0 -1
  40. package/lib/graphic-CPJ2K90a.js.map +0 -1
  41. package/lib/parseGeoJson-BlBe5Vig.js.map +0 -1
  42. package/lib/renderers-Dytryvoy.js.map +0 -1
@@ -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 ../../node_modules/.bun/echarts@6.0.0/node_modules/echarts/types/dist/shared.d.ts
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?: 'canvas' | 'svg';
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?: 'canvas' | 'svg';
2152
+ renderer?: "canvas" | "svg";
2153
2153
  /** CSS style for the container div */
2154
2154
  style?: string;
2155
2155
  /** CSS class for the container div */