import{f as x,a1 as w,_ as C}from"./index-ba596ae9.js";import{h as L,p as d,M as c,N as t,a6 as m,l as k,W as n,V as s,k as e,o as B,q as o,a2 as I,an as N,t as i,a7 as _}from"./vue-a39e6937.js";const V={class:"title"},y=L({__name:"info",setup(z){const a=N("baTable"),{t:r}=x();return(D,T)=>{const l=i("el-descriptions-item"),f=i("el-tree"),p=i("el-descriptions"),b=i("el-scrollbar"),u=i("el-dialog"),g=_("drag"),h=_("zoom"),v=_("loading");return d(),c(u,{class:"ba-operate-dialog","model-value":!!e(a).form.operate,onClose:e(a).toggleForm},{header:t(()=>[m((d(),k("div",V,[n(s(e(r)("info")),1)])),[[g,[".ba-operate-dialog",".el-dialog__header"]],[h,".ba-operate-dialog"]])]),default:t(()=>[m((d(),c(b,{class:"ba-table-form-scrollbar"},{default:t(()=>[B("div",{class:I(["ba-operate-form","ba-"+e(a).form.operate+"-form"])},[o(p,{column:2,border:""},{default:t(()=>[o(l,{label:e(r)("id")},{default:t(()=>[n(s(e(a).form.extend.info.id),1)]),_:1},8,["label"]),o(l,{label:e(r)("auth.adminLog.Operation administrator")},{default:t(()=>[n(s(e(a).form.extend.info.username),1)]),_:1},8,["label"]),o(l,{label:e(r)("auth.adminLog.title")},{default:t(()=>[n(s(e(a).form.extend.info.title),1)]),_:1},8,["label"]),o(l,{label:e(r)("auth.adminLog.Operator IP")},{default:t(()=>[n(s(e(a).form.extend.info.ip),1)]),_:1},8,["label"]),o(l,{width:120,span:2,label:"URL"},{default:t(()=>[n(s(e(a).form.extend.info.url),1)]),_:1}),o(l,{width:120,span:2,label:"User Agent"},{default:t(()=>[n(s(e(a).form.extend.info.useragent),1)]),_:1}),o(l,{width:120,span:2,label:e(r)("createtime")},{default:t(()=>[n(s(e(w)(e(a).form.extend.info.createtime)),1)]),_:1},8,["label"]),o(l,{width:120,span:2,label:e(r)("auth.adminLog.Request data")},{default:t(()=>[o(f,{class:"table-el-tree",data:e(a).form.extend.info.data,props:{label:"label",children:"children"}},null,8,["data"])]),_:1},8,["label"])]),_:1})],2)]),_:1})),[[v,e(a).form.loading]])]),_:1},8,["model-value","onClose"])}}});const O=C(y,[["__scopeId","data-v-d3223563"]]);export{O as default};