File: /www/server/panel/BTPanel/static/js/index433.js
import{cO as x,W as h,cP as C,cZ as E}from"./utils-lib.js?v=1777008528";import{c as F,aI as I,o as R,j as O,k as v,e as l,v as a,p as e,R as N,ad as S,ab as U}from"./base-lib.js?v=1777008528";import{_ as q}from"./index116.js?v=1777008528";import{ar as M}from"./index3.js?v=1777008528";import"./__commonjsHelpers__.js?v=1777008528";import"./index119.js?v=1777008528";const B={class:"flex flex-col p-16px lib-box"},P=F({__name:"index",setup(T){const m=M(),{quickFormRef:d,quickForm:t,quickRules:i,disable:r}=I(m),{codeOptions:u,init:_,openFile:c,toggleCode:f}=m,b=[{content:"若存在同名文件,解压后会覆盖原文件"}];return R(()=>{_()}),(j,o)=>{const p=x,s=S,V=q,g=h,w=U,k=C;return O(),v("div",B,[l(w,{ref_key:"quickFormRef",ref:d,size:"small",model:e(t),rules:e(i),disabled:e(r),class:"relative w-full p-[1.5rem]","label-position":"right",onSubmit:o[5]||(o[5]=N(()=>{},["prevent"]))},{default:a(()=>[l(s,{prop:"fileName",label:"文件名"},{default:a(()=>[l(p,{modelValue:e(t).fileName,"onUpdate:modelValue":o[0]||(o[0]=n=>e(t).fileName=n),disabled:!0,width:"26rem"},null,8,["modelValue"])]),_:1}),l(s,{prop:"path",label:"解压到"},{default:a(()=>[l(V,{modelValue:e(t).path,"onUpdate:modelValue":o[1]||(o[1]=n=>e(t).path=n),width:"26rem",icon:"el-folder-opened",onIconClick:e(c),placeholder:"请选择目录"},null,8,["modelValue","onIconClick"])]),_:1}),l(s,{prop:"password",label:"解压密码"},{default:a(()=>[l(p,{modelValue:e(t).password,"onUpdate:modelValue":o[2]||(o[2]=n=>e(t).password=n),width:"26rem",placeholder:"无密码则留空"},null,8,["modelValue"])]),_:1}),l(s,{label:"编码"},{default:a(()=>[l(g,{modelValue:e(t).coding,"onUpdate:modelValue":o[3]||(o[3]=n=>e(t).coding=n),options:e(u),class:"w-[26rem]",onChange:e(f)},null,8,["modelValue","options","onChange"])]),_:1}),l(s,{prop:"auth",label:"解压目录权限"},{default:a(()=>[l(p,{modelValue:e(t).auth,"onUpdate:modelValue":o[4]||(o[4]=n=>e(t).auth=n),width:"26rem"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules","disabled"]),l(k,{options:b,class:"mt-[1.5rem] ml-[4rem]"})])}}}),$=E(P,[["__scopeId","data-v-6410a5a3"]]);export{$ as default};