import{_ as a}from"./public.js?v=1753954525509";import{_ as e}from"./index.vue_vue_type_script_setup_true_lang.js?v=1753954525509";import{_ as t}from"./index.vue_vue_type_script_setup_true_lang9.js?v=1753954525509";import{c7 as s}from"./page_layout.js?v=1753954525509";import{r as l}from"./ftp2.js?v=1753954525509";import{a as p}from"./index255.js?v=1753954525509";import{k as r,r as n,e as u,U as i,V as o,Q as m,a2 as _,W as d,X as f,a3 as v,N as c}from"./vue.js?v=1753954525509";import{aq as x,cA as b,c5 as h}from"./naive.js?v=1753954525509";import"./common.js?v=1753954525509";import"./__commonjsHelpers__.js?v=1753954525509";import"./index96.js?v=1753954525509";const j={class:"px-20px py-24px"},y={class:"w-260px"},g={class:"w-260px"},w=r({__name:"index",props:{data:{}},setup(r,{expose:w}){const $=r,{row:F}=$.data,U=s(),k=n(null),A=u({ftp_username:F.name,path:F.path,migrate:0}),I={path:p()};return w({onConfirm:async({hide:a})=>{var e;await(null==(e=k.value)?void 0:e.validate());const t={id:F.id,...c(A)};await l(t),U.setRefresh(!0),a()}}),(s,l)=>{const p=x,r=b,n=t,u=h,c=e,w=a;return i(),o("div",j,[m(c,{ref_key:"formRef",ref:k,model:f(A),rules:I},{default:_((()=>[m(r,{label:s.$t("Public.Table.Username"),path:"ftp_username"},{default:_((()=>[d("div",y,[m(p,{value:f(A).ftp_username,"onUpdate:value":l[0]||(l[0]=a=>f(A).ftp_username=a),disabled:!0},null,8,["value"])])])),_:1},8,["label"]),m(r,{label:s.$t("Ftp.Table.index_1"),path:"path"},{default:_((()=>[d("div",g,[m(n,{value:f(A).path,"onUpdate:value":l[1]||(l[1]=a=>f(A).path=a)},null,8,["value"])])])),_:1},8,["label"]),m(r,{label:s.$t("Ftp.Table.index_7"),"show-feedback":!1},{default:_((()=>[m(u,{value:f(A).migrate,"onUpdate:value":l[2]||(l[2]=a=>f(A).migrate=a),"checked-value":1},null,8,["value"])])),_:1},8,["label"])])),_:1},8,["model"]),m(w,{class:"mt-16px"},{default:_((()=>[d("li",null,v(s.$t("Ftp.Analysis.Index_33")),1),d("li",null,v(s.$t("Ftp.Analysis.Index_34")),1),d("li",null,v(s.$t("Ftp.Analysis.Index_35")),1)])),_:1})])}}});export{w as default};
