/* empty css              */import{C as e,r as a,P as t,Q as s,S as n,V as i,R as l,N as u}from"./chunk-BRI0aX6c.js";import{b as o}from"./souav-I_ihqEhP.js";import"./chunk-D1JGNTfG.js";import"./chunk-9PZSJnHb.js";import"./chunk-Bf-nSo-6.js";import"./chunk-DwkOxDMO.js";import"./chunk-CMQyd8eO.js";import"./chunk-a7obrEbD.js";import"./chunk-DQhVL27x.js";import"./chunk-cn7T4ICr.js";import"./chunk-Bh3yC0yB.js";import"./chunk-DjdYu-xF.js";import"./chunk-BHPWSuhB.js";const c={class:"text-[16px] font-bold text-black"},m={class:"mt-2 text-[13px] text-gray-400"},r=o(e({__name:"OpTipDialog",setup(e,{expose:o}){const r=a(""),p=a(""),v=a(!1),x=a(!1),h=a(""),k=a(),j=()=>{h.value="animate__animated animate__zoomOut",setTimeout(()=>{x.value=!1,h.value=""},300)};return o({show:(e,a="复制成功",t=!1)=>{r.value=e,p.value=a,v.value=t,x.value=!0,h.value="animate__animated animate__zoomIn",clearInterval(k.value),k.value=setTimeout(()=>{x.value&&j()},1500)},hide:j}),(e,a)=>x.value?(u(),t("div",{key:0,class:"fixed z-[2000] flex h-full w-full max-w-[480px] items-center justify-center bg-black/50 px-10",onClick:j},[n("div",{onClick:a[0]||(a[0]=()=>{}),class:i([h.value,"relative flex min-w-[250px] flex-col items-center justify-center rounded-[10px] bg-white p-[20px]"])},[n("i",{class:i(["iconfont",v.value?"icon-warning text-orange-500":"icon-success text-green-500"]),style:{"font-size":"50px"}},null,2),n("b",c,l(p.value),1),n("span",m,l(r.value),1)],2)])):s("",!0)}}),[["__scopeId","data-v-91749233"]]);export{r as default};
