26 Commits

Author SHA1 Message Date
f7ed1e1b7d refactor: switch to generated .d.ts (#835)
* build: generate d.ts

* fix: preserve PublicMethods

* fix: avoid exposing types of attrs

* refactor: use existing setoption type

* fix: expose root and chart

* feat: use symbol as injection key

* chore: add comment for the type casting of the exposed
2025-06-01 12:29:26 +08:00
631a9788d3 refactor: change listeners from object to Map 2025-05-21 16:47:47 +08:00
a8b238cedd feat: support getter in provide/inject 2025-05-21 16:47:47 +08:00
ca6d44f8db feat!: remove vue 2 2025-05-21 16:47:47 +08:00
beec26367f fix: fix type for autoresize, closes #800 2024-08-04 07:38:57 +08:00
4f3a6ac0a3 fix: fix event types and bump to 7.0.0 2024-08-03 16:17:46 +08:00
6b98318504 build: add back umd, drop csp, share type between vue2/3 2024-07-24 18:21:56 +08:00
da0109b07a refactor: improve import statements 2024-07-24 18:21:56 +08:00
2a0db561b4 types: fix option type (#751) 2023-12-18 10:22:08 +08:00
e224c49951 fix: improve types for option 2023-08-16 14:31:23 +08:00
e8697382a1 feat: add options for autoresize
* add `throttle: number` to specify throttle delay (#419 #562)
* add `onResize: () => void` to specify a resize callback (#714)
2023-06-13 20:35:45 +08:00
16b9274ae1 fix: fix types for mouse events 2023-01-09 12:53:58 +08:00
0edfb3936c types: use more precise typings for event handlers, update peer deps for echarts 2023-01-02 23:41:40 +08:00
58e7b13652 feat: improve typings for mouse events 2023-01-01 23:51:43 +08:00
0bb1839392 feat: add basic types for events 2022-12-18 19:38:04 +08:00
ec124f4bf7 feat: make it possible to dynamically change provide values for Vue 2 2022-12-17 01:23:29 +08:00
bbac925b03 fix: UpdateOptions types omit notMerge 2022-07-07 12:21:05 +08:00
eaceae607d feat: support .once modifier 2022-06-15 19:03:59 +08:00
259665c4c0 types: improve typings for vue 2 2022-05-11 00:20:20 +08:00
54ac383b6f refactor(types): use SetOptionOpts from echarts 2022-01-14 19:02:24 +08:00
6629540a8e fix: fix event support for Vue 2, fix #510 2021-02-23 20:09:16 +08:00
217ac4e1e0 fix: typo in type file 2021-02-22 14:47:22 +08:00
84a89e3883 feat: support injection for theme 2021-02-22 14:36:06 +08:00
cd02c3131c feat: support ref for provide api 2021-02-22 14:14:54 +08:00
b8d9ca7991 feat: add default style, injectable update-options & loading-options 2021-02-22 11:50:43 +08:00
ee12ad9658 feat: vue-echarts-next first version 2021-02-18 15:10:19 +08:00