import{d as n,f as e,ar as o,aj as a}from"./index-8c26cc43-1776006071491.js";const i="_showContentWidth_1uy1t_1",r={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:[r.showContentWidth,"showContentWidthWrap"]},[t.content]),default:()=>t.tipsContent||t.content})])}});export{d as T};
