File: /www/server/panel/BTPanel/static/js/index428.js
import{c as V,aI as h,o as k,j as C,C as I,v as a,e as n,p as e,R,ad as g,ab as x}from"./base-lib.js?v=1777008528";import{_ as F}from"./index116.js?v=1777008528";import{cO as w,cZ as U}from"./utils-lib.js?v=1777008528";import{am as q}from"./index3.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";import"./index119.js?v=1777008528";const E=V({__name:"index",setup(L){const r=q(),{quickForm:l,formDisabled:i,quickFormRef:d,quickRules:u}=h(r),{onPathChange:_,setName:s,init:c}=r;return k(()=>{c()}),(O,o)=>{const p=w,m=g,f=F,b=x;return C(),I(b,{ref_key:"quickFormRef",ref:d,model:e(l),rules:e(u),disabled:e(i),class:"p-[2rem]","label-position":"right",onSubmit:o[3]||(o[3]=R(()=>{},["prevent"]))},{default:a(()=>[n(m,{prop:"url",label:"URL地址"},{default:a(()=>[n(p,{width:"30rem",modelValue:e(l).url,"onUpdate:modelValue":o[0]||(o[0]=t=>e(l).url=t),onInput:e(s),onChange:e(s),placeholder:"在此处粘贴或输入url地址"},null,8,["modelValue","onInput","onChange"])]),_:1}),n(m,{prop:"path",label:"下载到"},{default:a(()=>[n(f,{width:"30rem",modelValue:e(l).path,"onUpdate:modelValue":o[1]||(o[1]=t=>e(l).path=t),placeholder:"请输入路径",icon:"icon-file_mode",onIconClick:e(_)},null,8,["modelValue","onIconClick"])]),_:1}),n(m,{prop:"filename",label:"文件名"},{default:a(()=>[n(p,{width:"30rem",modelValue:e(l).filename,"onUpdate:modelValue":o[2]||(o[2]=t=>e(l).filename=t),placeholder:"请输入保存文件名"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules","disabled"])}}}),T=U(E,[["__scopeId","data-v-dc9d1848"]]);export{T as default};