import{c as e,r as a,w as s,v as t,x as r,e as l,B as o,z as p,A as d,y as i,az as c,ab as n,a9 as m}from"./base-lib.js?v=1761009159";import{_ as u}from"./utils-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";const b={class:"p-[2rem]"},x={class:"text-danger text-medium"},_={class:"bg-light p-[.8rem] text-danger rounded-base truncate"},f={class:"bg-darkPrimary p-[1.2rem] min-h-[200px] max-h-[400px] overflow-y-auto w-full border-1 border-solid border-light rounded-base"},g={class:"whitespace-pre-wrap text-small text-disabled"},v=u(e({__name:"exception-log",props:{compData:{}},emits:["cancel"],setup(e,{expose:u,emit:v}){const h=e,w=v,j=a(""),y=a("");s(()=>h.compData,e=>{j.value=e.reason,y.value=e.logContent},{immediate:!0});return u({handleClose:()=>{w("cancel")}}),(e,a)=>{const s=c,u=n,v=m;return t(),r("div",b,[l(v,{class:"exception-log-form"},{default:o(()=>[l(u,{label:"原因："},{default:o(()=>[l(s,{placement:"top-start",width:"500","popper-class":"white-tips-popover",trigger:"hover",content:""},{reference:o(()=>[p("div",_,d(i(j)),1)]),default:o(()=>[p("div",null,[p("span",x,d(i(j)),1)])]),_:1})]),_:1}),l(u,{label:"日志："},{default:o(()=>[p("div",f,[p("pre",g,d(i(y)),1)])]),_:1})]),_:1})])}}}),[["__scopeId","data-v-206a1ca7"]]);export{v as default};
