import{l as e,aC as l}from"./utils-lib.js?v=1761009159";import{_ as a}from"./index114.js?v=1761009159";import{c as o,s as t,q as n,a6 as s,H as i,v as r,x as m,e as d,B as c,z as p,y as u,C as f,I as x,A as g,Q as b,G as _,U as h,aC as C}from"./base-lib.js?v=1761009159";import{_ as j}from"./index105.js?v=1761009159";import{_ as v}from"./index104.js?v=1761009159";import{a8 as y}from"./store.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./files.js?v=1761009159";import"./validator.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";import"./store2.js?v=1761009159";import"./index103.js?v=1761009159";const k={class:"flex flex-col p-16px lib-box"},V={class:"flex flex-col p-[1rem] lib-box"},T={class:"flex flex-col text-base"},U={class:"ml-2rem"},z={class:"flex justify-end"},L={class:"flex flex-col p-[1rem] lib-box"},w=o({__name:"index",setup(o){const w=y(),{activeName:D,tableColumn:S,loading:F,formatData:H,subLoad:q,btnText:A,logTableColumn:B,tableData:E}=t(w),{addFile:G,openFile:I,goConversion:N,handleSelectionChange:Q,handleTabEvent:$,getData:J,init:K,$reset:M}=w;return n(K),s(M),(o,t)=>{const n=_,s=e,y=v,w=h,K=j,M=C,O=a,P=l,R=i("bt-loading");return r(),m("div",k,[d(P,{modelValue:u(D),"onUpdate:modelValue":t[4]||(t[4]=e=>b(D)?D.value=e:null),type:"card",onChange:u($)},{default:c(()=>[d(M,{label:"格式转换",name:"conver",lazy:""},{default:c(()=>[p("div",V,[d(K,null,{"header-left":c(()=>[d(n,{onClick:u(G),type:"primary"},{default:c(()=>t[5]||(t[5]=[f("添加",-1)])),_:1,__:[5]},8,["onClick"])]),content:c(()=>[x(d(s,{ref:"scanTable",height:"34rem","max-height":340,column:u(S),onSelectionChange:u(Q),description:"列表为空",data:u(H).fileList},null,8,["column","onSelectionChange","data"]),[[R,u(F)],[R,"正在获取文件，请稍候...","title"]])]),"footer-left":c(()=>[p("div",T,[p("span",null,[t[6]||(t[6]=f("保存路径:",-1)),p("span",U,g(u(H).path),1),d(y,{name:"file-dir",size:"1.8",onClick:u(I),class:"ml-[1rem] cursor-pointer inline-block"},null,8,["onClick"])]),d(w,{class:"mt-[1rem]",modelValue:u(H).del,"onUpdate:modelValue":t[0]||(t[0]=e=>u(H).del=e)},{default:c(()=>t[7]||(t[7]=[f("是否删除源文件",-1)])),_:1,__:[7]},8,["modelValue"])])]),_:1}),p("div",z,[d(n,{onClick:u(N),loading:u(q),type:"primary"},{default:c(()=>[f(g(u(A)),1)]),_:1},8,["onClick","loading"])])])]),_:1}),d(M,{label:"操作日志",name:"log",lazy:""},{default:c(()=>[p("div",L,[d(K,null,{content:c(()=>[d(s,{ref:"scanTable",height:"34rem","max-height":340,column:u(B),description:"列表为空",data:u(E).fileList},null,8,["column","data"])]),"footer-right":c(()=>[d(O,{page:u(E).p,"onUpdate:page":t[1]||(t[1]=e=>u(E).p=e),row:u(E).limit,"onUpdate:row":t[2]||(t[2]=e=>u(E).limit=e),total:u(E).fileList.length,onChange:t[3]||(t[3]=e=>u(J)())},null,8,["page","row","total"])]),_:1})])]),_:1})]),_:1},8,["modelValue","onChange"])])}}});export{w as default};
