System.register(["./utils-lib-legacy.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./index-legacy453.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./site-legacy.js?v=1761009159","./validator-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./column-legacy.js?v=1761009159","./useStore-legacy4.js?v=1761009159","./cataluge-setting-legacy.js?v=1761009159","./index-legacy115.js?v=1761009159","./ace-legacy.js?v=1761009159","./index-legacy103.js?v=1761009159","./useController-legacy6.js?v=1761009159"],function(e,l){"use strict";var n,a,u,t,o,s,r,c,i,d,m,f,p,_,y,V,b,v,g,x,j,C,h,k,w,D,U,W,I,L,z,A;return{setters:[function(e){n=e.k,a=e.$,u=e.j,t=e._},function(e){o=e.c,s=e.q,r=e.v,c=e.x,i=e.y,d=e.z,m=e.e,f=e.B,p=e.C,_=e.D,y=e.Q,V=e.an,b=e.G,v=e.b1,g=e.ab,x=e.a9},function(e){j=e.g,C=e.w,h=e.n,k=e.h,w=e.d,D=e.e,U=e.s,W=e.f,I=e.j,L=e.k,z=e.l,A=e.p},null,null,null,null,null,null,null,null,null,null,null],execute:function(){var l={class:"p-[12px]"},B={key:0},H={class:"formItem"},S={class:"formItem"},T={class:"formItem"},$={key:0},q={class:"formItem"},F={class:"formItem"},G={class:"formItem"},M={key:1},P={class:"p-[20px]"};e("default",t(o({__name:"nginx-web-dav",setup:function(e,t){var o=t.expose;return s(j),o({init:j}),function(e,t){var o=V,s=b,j=v,Q=n,E=a,J=g,K=x,N=u;return r(),c("div",l,[i(C)?(r(),c("div",B,[d("div",H,[t[10]||(t[10]=d("span",{class:"formLabel"},"WebDav状态",-1)),m(o,{class:"mr-[12px]",modelValue:i(h).status,"onUpdate:modelValue":t[0]||(t[0]=function(e){return i(h).status=e}),onChange:i(k)},null,8,["modelValue","onChange"]),m(s,{type:"default",onClick:i(w)},{default:f(function(){return t[9]||(t[9]=[p("删除WebDav",-1)])}),_:1,__:[9]},8,["onClick"])]),m(j),d("div",S,[t[11]||(t[11]=d("span",{class:"formLabel"},"域名",-1)),m(Q,{class:"mr-[12px]",disabled:"",modelValue:i(h).domain,"onUpdate:modelValue":t[1]||(t[1]=function(e){return i(h).domain=e}),width:"20rem"},null,8,["modelValue"])]),d("div",T,[t[12]||(t[12]=d("span",{class:"formLabel"},"auth状态",-1)),m(o,{class:"mr-[12px]",modelValue:i(h).auth,"onUpdate:modelValue":t[2]||(t[2]=function(e){return i(h).auth=e}),onChange:i(D)},null,8,["modelValue","onChange"])]),i(h).auth?(r(),c("div",$,[d("div",q,[t[13]||(t[13]=d("span",{class:"formLabel"},"用户名",-1)),m(Q,{class:"mr-[12px] !w-[20rem]",modelValue:i(h).user,"onUpdate:modelValue":t[3]||(t[3]=function(e){return i(h).user=e})},null,8,["modelValue"])]),d("div",F,[t[14]||(t[14]=d("span",{class:"formLabel"},"密码",-1)),m(Q,{class:"mr-[12px] !w-[20rem]",modelValue:i(h).pass,"onUpdate:modelValue":t[4]||(t[4]=function(e){return i(h).pass=e})},null,8,["modelValue"])]),m(s,{type:"primary",onClick:i(U)},{default:f(function(){return t[15]||(t[15]=[p("保存",-1)])}),_:1,__:[15]},8,["onClick"])])):_("",!0),m(j),d("div",G,[t[17]||(t[17]=d("span",{class:"formLabel"},"最大上传文件大小",-1)),m(Q,{class:"mr-12px",modelValue:i(h).client_max_body_size,"onUpdate:modelValue":t[5]||(t[5]=function(e){return i(h).client_max_body_size=e}),width:"20rem"},{append:f(function(){return t[16]||(t[16]=[p(" MB ",-1)])}),_:1},8,["modelValue"])]),m(s,{type:"primary",onClick:i(W)},{default:f(function(){return t[18]||(t[18]=[p("保存",-1)])}),_:1,__:[18]},8,["onClick"]),m(E,{class:"mt-2rem","list-style":"disc",options:[{content:"设置用户名和密码时，请注意特殊符号的中文和英文版本是不同的。特殊符号包括: !, @, #, $, %, ^, &, *, -, _ 等"}]})])):(r(),c("div",M,[m(s,{type:"primary",onClick:t[6]||(t[6]=function(e){return I.value=!0})},{default:f(function(){return t[19]||(t[19]=[p("创建WebDav",-1)])}),_:1,__:[19]}),t[21]||(t[21]=d("br",null,null,-1)),t[22]||(t[22]=d("p",{class:"mt-[20px]"},"WebDAV是一种用于在Web服务器上进行文件管理和协作的扩展协议。",-1)),t[23]||(t[23]=d("p",null,"WebDAV允许用户通过HTTP协议对远程服务器上的文件和目录进行读写操作。它提供了类似于本地文件系统的操作方式，使用户能够通过WebDAV客户端访问远程服务器上的文件",-1)),m(N,{title:"创建WebDav",modelValue:i(I),"onUpdate:modelValue":t[8]||(t[8]=function(e){return y(I)?I.value=e:null}),area:42,showFooter:"",onCancel:i(z),onConfirm:i(A)},{default:f(function(){return[d("div",P,[m(K,{model:i(L)},{default:f(function(){return[m(J,{label:"域名"},{default:f(function(){return[m(Q,{modelValue:i(L).domain,"onUpdate:modelValue":t[7]||(t[7]=function(e){return i(L).domain=e}),placeholder:"请输入域名",width:"22rem"},null,8,["modelValue"])]}),_:1})]}),_:1},8,["model"]),t[20]||(t[20]=d("ul",{class:"mt-[12px] leading-8 text-small list-disc ml-[20px]"},[d("li",null,"域名格式为 www.domain.com:88,如未传端口信息,默认为80")],-1))])]}),_:1},8,["modelValue","onCancel","onConfirm"])]))])}}}),[["__scopeId","data-v-eec62bc6"]]))}}});
