import{d as n,f as e,aq as o,ai as a}from"./index-ab183db6-1742362401929.js";const i="_showContentWidth_1uy1t_1",h={showContentWidth:i},d=n({name:"the-tooltip",props:{maxWidth:{type:Number,default:300},showContentWidth:{type:Number,default:120},tipsContent:{type:String,default:""},content:{type:String,default:""},placement:{type:String,default:"top"},showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"}},setup(t){return()=>e(a,null,[e(o,{style:{maxWidth:t.maxWidth+"px"},trigger:t.trigger,placement:t.placement,showArrow:t.showArrow,delay:500},{trigger:()=>e("p",{style:{maxWidth:t.showContentWidth+"px"},class:[h.showContentWidth,"showContentWidthWrap"]},[t.content]),default:()=>t.tipsContent||t.content})])}});export{d as T};
