@@ -3288,6 +3288,8 @@ declare module "vue-data-ui" {
3288
3288
VueUiXyExpose
3289
3289
> ;
3290
3290
3291
+ export type VueUiDonutEvent = null | ( ( { datapoint, seriesIndex } : { datapoint : VueUiDonutDatapoint ; seriesIndex : number } ) => void ) ;
3292
+
3291
3293
export type VueUiDonutConfig = {
3292
3294
type ?: "classic" | "polar" ;
3293
3295
responsive ?: boolean ;
@@ -3296,10 +3298,10 @@ declare module "vue-data-ui" {
3296
3298
useBlurOnHover ?: boolean ;
3297
3299
useCssAnimation ?: boolean ;
3298
3300
events ?: {
3299
- datapointEnter ?: null | ( ( data : any ) => void ) ,
3300
- datapointLeave ?: null | ( ( data : any ) => void ) ,
3301
- datapointClick ?: null | ( ( data : any ) => void )
3302
- } ,
3301
+ datapointEnter ?: VueUiDonutEvent ;
3302
+ datapointLeave ?: VueUiDonutEvent ;
3303
+ datapointClick ?: VueUiDonutEvent ;
3304
+ } ;
3303
3305
serieToggleAnimation ?: {
3304
3306
show ?: boolean ;
3305
3307
durationMs ?: number ;
@@ -4698,16 +4700,18 @@ declare module "vue-data-ui" {
4698
4700
children ?: VueUiVerticalBarDatasetChild [ ] ;
4699
4701
} ;
4700
4702
4703
+ export type VueUiVerticalBarEvent = null | ( ( { datapoint, seriesIndex } : { datapoint : VueUiVerticalBarDatapoint ; seriesIndex : number } ) => void ) ;
4704
+
4701
4705
export type VueUiVerticalBarConfig = {
4702
4706
responsive ?: boolean ;
4703
4707
theme ?: Theme ;
4704
4708
customPalette ?: string [ ] ;
4705
4709
useCssAnimation ?: boolean ;
4706
4710
events ?: {
4707
- datapointEnter ?: null | ( ( data : any ) => void ) ,
4708
- datapointLeave ?: null | ( ( data : any ) => void ) ,
4709
- datapointClick ?: null | ( ( data : any ) => void )
4710
- } ,
4711
+ datapointEnter ?: VueUiVerticalBarEvent ;
4712
+ datapointLeave ?: VueUiVerticalBarEvent ;
4713
+ datapointClick ?: VueUiVerticalBarEvent ;
4714
+ } ;
4711
4715
style ?: {
4712
4716
fontFamily ?: string ;
4713
4717
chart ?: {
0 commit comments