import{_ as E,__tla as I}from"./Dialog-44c9fa34.js";import{d as U,r as p,o as c,A as d,B as l,f as t,E as s,G as _,a as e,D as m,a2 as R,a8 as k,__tla as P}from"./index-92ad187a.js";import{E as V,a as g,__tla as D}from"./el-descriptions-item-809b8296.js";import{_ as q,__tla as w}from"./DictTag.vue_vue_type_script_lang-96bcb962.js";import{D as b,__tla as L}from"./dict-221f3e01.js";import{f as h,__tla as N}from"./formatTime-c7f253d6.js";let x,O=Promise.all([(()=>{try{return I}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return D}catch{}})(),(()=>{try{return w}catch{}})(),(()=>{try{return L}catch{}})(),(()=>{try{return N}catch{}})()]).then(async()=>{x=U({name:"ApiErrorLogDetail",__name:"ApiErrorLogDetail",setup(G,{expose:T}){const u=p(!1),i=p(!1),a=p({});return T({open:async f=>{u.value=!0,i.value=!0;try{a.value=f}finally{i.value=!1}}}),(f,o)=>{const r=V,y=q,v=k,S=g,A=E;return c(),d(A,{modelValue:e(u),"onUpdate:modelValue":o[1]||(o[1]=n=>R(u)?u.value=n:null),"max-height":500,scroll:!0,title:"\u8BE6\u60C5",width:"800"},{default:l(()=>[t(S,{column:1,border:""},{default:l(()=>[t(r,{label:"\u65E5\u5FD7\u4E3B\u952E","min-width":"120"},{default:l(()=>[s(_(e(a).id),1)]),_:1}),t(r,{label:"\u94FE\u8DEF\u8FFD\u8E2A"},{default:l(()=>[s(_(e(a).traceId),1)]),_:1}),t(r,{label:"\u5E94\u7528\u540D"},{default:l(()=>[s(_(e(a).applicationName),1)]),_:1}),t(r,{label:"\u7528\u6237\u7F16\u53F7"},{default:l(()=>[s(_(e(a).userId)+" ",1),t(y,{type:e(b).USER_TYPE,value:e(a).userType},null,8,["type","value"])]),_:1}),t(r,{label:"\u7528\u6237 IP"},{default:l(()=>[s(_(e(a).userIp),1)]),_:1}),t(r,{label:"\u7528\u6237 UA"},{default:l(()=>[s(_(e(a).userAgent),1)]),_:1}),t(r,{label:"\u8BF7\u6C42\u4FE1\u606F"},{default:l(()=>[s(_(e(a).requestMethod)+" "+_(e(a).requestUrl),1)]),_:1}),t(r,{label:"\u8BF7\u6C42\u53C2\u6570"},{default:l(()=>[s(_(e(a).requestParams),1)]),_:1}),t(r,{label:"\u5F02\u5E38\u65F6\u95F4"},{default:l(()=>[s(_(e(h)(e(a).exceptionTime)),1)]),_:1}),t(r,{label:"\u5F02\u5E38\u540D"},{default:l(()=>[s(_(e(a).exceptionName),1)]),_:1}),e(a).exceptionStackTrace?(c(),d(r,{key:0,label:"\u5F02\u5E38\u5806\u6808"},{default:l(()=>[t(v,{modelValue:e(a).exceptionStackTrace,"onUpdate:modelValue":o[0]||(o[0]=n=>e(a).exceptionStackTrace=n),autosize:{maxRows:20},readonly:!0,type:"textarea"},null,8,["modelValue"])]),_:1})):m("",!0),t(r,{label:"\u5904\u7406\u72B6\u6001"},{default:l(()=>[t(y,{type:e(b).INFRA_API_ERROR_LOG_PROCESS_STATUS,value:e(a).processStatus},null,8,["type","value"])]),_:1}),e(a).processUserId?(c(),d(r,{key:1,label:"\u5904\u7406\u4EBA"},{default:l(()=>[s(_(e(a).processUserId),1)]),_:1})):m("",!0),e(a).processTime?(c(),d(r,{key:2,label:"\u5904\u7406\u65F6\u95F4"},{default:l(()=>[s(_(e(h)(e(a).processTime)),1)]),_:1})):m("",!0)]),_:1})]),_:1},8,["modelValue"])}}})});export{x as _,O as __tla};
