import{c as e,s as l,q as o,v as a,N as s,B as r,e as t,y as m,R as i,ab as n,a9 as d}from"./base-lib.js?v=1761009159";import{_ as u}from"./index103.js?v=1761009159";import{k as p,_ as c}from"./utils-lib.js?v=1761009159";import{W as f}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 _=c(e({__name:"index",setup(e){const c=f(),{quickForm:_,formDisabled:h,quickFormRef:b,quickRules:j}=l(c),{onPathChange:V,setName:k,init:q}=c;return o(()=>{q()}),(e,l)=>{const o=p,c=n,f=u,q=d;return a(),s(q,{ref_key:"quickFormRef",ref:b,model:m(_),rules:m(j),disabled:m(h),class:"p-[2rem]","label-position":"right",onSubmit:l[3]||(l[3]=i(()=>{},["prevent"]))},{default:r(()=>[t(c,{prop:"url",label:"URL地址"},{default:r(()=>[t(o,{width:"30rem",modelValue:m(_).url,"onUpdate:modelValue":l[0]||(l[0]=e=>m(_).url=e),onInput:m(k),onChange:m(k),placeholder:"在此处粘贴或输入url地址"},null,8,["modelValue","onInput","onChange"])]),_:1}),t(c,{prop:"path",label:"下载到"},{default:r(()=>[t(f,{width:"30rem",modelValue:m(_).path,"onUpdate:modelValue":l[1]||(l[1]=e=>m(_).path=e),placeholder:"请输入路径",icon:"icon-file_mode",onIconClick:m(V)},null,8,["modelValue","onIconClick"])]),_:1}),t(c,{prop:"filename",label:"文件名"},{default:r(()=>[t(o,{width:"30rem",modelValue:m(_).filename,"onUpdate:modelValue":l[2]||(l[2]=e=>m(_).filename=e),placeholder:"请输入保存文件名"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules","disabled"])}}}),[["__scopeId","data-v-dc9d1848"]]);export{_ as default};
