import{_ as a}from"./public.js?v=1764830988434";import{_ as e}from"./index.vue_vue_type_script_setup_true_lang.js?v=1764830988434";import{_ as t}from"./index.vue_vue_type_script_setup_true_lang10.js?v=1764830988434";import{c1 as s}from"./page_layout.js?v=1764830988434";import{r as l}from"./ftp.js?v=1764830988434";import{a as p}from"./index264.js?v=1764830988434";import{k as r,r as u,e as n,R as i,V as o,W as m,a3 as d,S as _,U as f,a4 as v,N as c}from"./vue.js?v=1764830988434";import{dR as x,au as b,dj as j}from"./naive.js?v=1764830988434";import"./common.js?v=1764830988434";import"./__commonjsHelpers__.js?v=1764830988434";import"./index96.js?v=1764830988434";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),R=n({ftp_username:F.name,path:F.path,migrate:0}),A={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(R)};await l(t),U.setRefresh(!0),a()}}),(s,l)=>{const p=b,r=x,u=t,n=j,c=e,w=a;return o(),i("div",h,[m(c,{ref_key:"formRef",ref:k,model:f(R),rules:A},{default:d(()=>[m(r,{label:s.$t("Public.Table.Username"),path:"ftp_username"},{default:d(()=>[_("div",y,[m(p,{value:f(R).ftp_username,"onUpdate:value":l[0]||(l[0]=a=>f(R).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(R).path,"onUpdate:value":l[1]||(l[1]=a=>f(R).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(R).migrate,"onUpdate:value":l[2]||(l[2]=a=>f(R).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};
