import{_ as a}from"./public.js?v=1763625242172";import{_ as e}from"./index.vue_vue_type_script_setup_true_lang.js?v=1763625242172";import{_ as t}from"./index.vue_vue_type_script_setup_true_lang10.js?v=1763625242172";import{cv as s}from"./page_layout.js?v=1763625242172";import{r as l}from"./ftp.js?v=1763625242172";import{a as p}from"./index263.js?v=1763625242172";import{k as r,r as u,e as n,R as i,S as o,X as m,a3 as d,U as _,V as f,a4 as v,N as c}from"./vue.js?v=1763625242172";import{au as x,dP as b,dj as j}from"./naive.js?v=1763625242172";import"./common.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";import"./index98.js?v=1763625242172";const h={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=u(null),A=n({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,u=t,n=j,c=e,w=a;return i(),o("div",h,[m(c,{ref_key:"formRef",ref:k,model:f(A),rules:I},{default:d((()=>[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(u,{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:d((()=>[m(n,{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),_("li",null,v(s.$t("Ftp.Analysis.Index_34")),1),_("li",null,v(s.$t("Ftp.Analysis.Index_35")),1)])),_:1})])}}});export{w as default};
