import{j as o,S as t,bV as e,a as n,i as r,K as a,o as s,m as i,Q as u,n as d}from"./vendor.686fd1d4.js";/* empty css              */import{_ as l,a$ as c,e as f,P as m}from"./index.7fecfddd.js";var p=o({name:"ErrorAction",components:{Icon:l,Tooltip:t,Badge:e},setup(){const{t:o}=f(),{push:t}=n(),e=c();return{t:o,getCount:r((()=>e.getErrorLogListCount)),handleToErrorList:function(){t(m.ERROR_LOG_PAGE).then((()=>{e.setErrorLogListCount(0)}))}}}});p.render=function(o,t,e,n,r,l){const c=a("Icon"),f=a("Badge"),m=a("Tooltip");return s(),i(m,{title:o.t("layout.header.tooltipErrorLog"),placement:"bottom",mouseEnterDelay:.5,onClick:o.handleToErrorList},{default:u((()=>[d(f,{count:o.getCount,offset:[0,10],overflowCount:99},{default:u((()=>[d(c,{icon:"ion:bug-outline"})])),_:1},8,["count"])])),_:1},8,["title","mouseEnterDelay","onClick"])};export default p;
