import{c as e,s as l,q as a,H as s,I as o,y as i,v as r,x as t,e as d,B as m,z as p,A as n,R as f,ab as c,a9 as u}from"./base-lib.js?v=1761009159";import{_ as b}from"./index103.js?v=1761009159";import{x as _,_ as j}from"./utils-lib.js?v=1761009159";import{a6 as x}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";const v={class:"flex flex-col p-2rem lib-box"},h={class:"flex leading-[3.2rem]"},k={class:"flex leading-[3.2rem]"},g=j(e({__name:"index",setup(e){const j=x(),{quickFormRef:g,quickForm:q,quickRules:F,loading:z}=l(j),{openFile:I,getFile:R}=j;return a(()=>{R()}),(e,l)=>{const a=c,j=b,x=u,R=s("bt-loading");return o((r(),t("div",v,[d(x,{ref_key:"quickFormRef",ref:g,size:"small",model:i(q),rules:i(F),disabled:i(q).disable,"label-width":"8rem",class:"relative w-full","label-position":"right",onSubmit:l[1]||(l[1]=f(()=>{},["prevent"]))},{default:m(()=>[d(a,{prop:"type",label:"文件名称"},{default:m(()=>[p("div",h,n(i(q).file.name||""),1)]),_:1}),d(a,{prop:"size",label:"文件大小"},{default:m(()=>[p("div",k,n(i(_)(i(q).file.size||0)),1)]),_:1}),d(a,{prop:"path",label:"存放目录"},{default:m(()=>[d(j,{modelValue:i(q).path,"onUpdate:modelValue":l[0]||(l[0]=e=>i(q).path=e),width:"26rem",icon:"el-folder-opened",onIconClick:i(I),placeholder:"请选择目录"},null,8,["modelValue","onIconClick"])]),_:1})]),_:1},8,["model","rules","disabled"])])),[[R,i(z)],[R,"正在获取信息，请稍候...","title"]])}}}),[["__scopeId","data-v-ff4c505a"]]);export{g as default};
