import{_ as a}from"./index105.js?v=1761009159";import{_ as t}from"./index114.js?v=1761009159";import{P as e,W as o,l as r}from"./utils-lib.js?v=1761009159";import{c as s,o as p,r as l,v as i,x as m,e as d,B as n,y as c}from"./base-lib.js?v=1761009159";import{getActionLogsForExts as f,getActionLogsForDirname as u,getActionLogsForFilename as g}from"./site.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";const _={class:"p-2rem"},h=s({__name:"log-details",props:{compData:{default:{}}},setup(s){const h=s,w=p(h.compData.params),x=l(h.compData.data.data),j=l([{label:"操作时间",prop:"addtime",width:150},{label:"类型",prop:"type",width:80},{label:"日志",prop:"log"}]);return(s,p)=>{const l=r,h=t,b=a;return i(),m("div",_,[d(b,null,{"header-left":n(()=>p[3]||(p[3]=[])),"header-right":n(()=>p[4]||(p[4]=[])),content:n(()=>[d(l,{column:c(j),maxHeight:400,data:c(x)},null,8,["column","data"])]),"footer-left":n(()=>p[5]||(p[5]=[])),"footer-right":n(()=>[d(h,{page:c(w).p,"onUpdate:page":p[0]||(p[0]=a=>c(w).p=a),row:c(w).row,"onUpdate:row":p[1]||(p[1]=a=>c(w).row=a),total:c(w).total,onChange:p[2]||(p[2]=a=>(async()=>{let a={path_id:w.pid,row:w.row,pid:w.pid,p:w.p};w.exts?a.exts=w.exts:w.dirname?a.dirname=w.dirname:a.filename=w.filename;const t=w.exts?f:w.dirname?u:g;e({request:t(a),data:{data:[Array,x],page:o(w)}})})())},null,8,["page","row","total"])]),_:1})])}}});export{h as default};
