import{i as e,a,_ as s}from"./public.js?v=1763625242172";import{_ as n,a7 as t,a8 as l}from"./page_layout.js?v=1763625242172";import{a as o}from"./index17.js?v=1763625242172";import{d9 as i,aC as r}from"./naive.js?v=1763625242172";import{k as p,P as m,af as c,R as u,S as d,X as _,a3 as f,U as g,a4 as x,V as y,j as b}from"./vue.js?v=1763625242172";import"./common.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";import"./index.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang.js?v=1763625242172";import"./backup-info.js?v=1763625242172";import"./utils.js?v=1763625242172";import"./soft.js?v=1763625242172";import"./site.js?v=1763625242172";const j={class:"p-16px"},h={class:"text-[1.4rem] text-font2 my-[1.2rem] flex flex-col"},C={class:"text-[1.2rem] text-white bg-[#333] p-[12px] flex flex-col relative"},v={class:"flex justify-end my-10px"},w=p({__name:"migrate-success",props:{data:{}},emits:["close"],setup(p,{emit:w}){const{t:k}=m(),P=w,M=p,{data:z}=c(M),S=a=>{e(a)},H=async()=>{a({title:"Tips",content:"After closing the pop-up window, the success message will no longer be displayed. Please confirm to remember the login information of the panel after migration.",onConfirm:async()=>{await o(),P("close")}})};return(e,a)=>{const o=n,p=i,m=t,c=l,w=s,P=r;return u(),d("div",j,[_(p,{class:"flex-nowrap! mb-16px"},{default:f((()=>[_(o,{name:"base-success",class:"color-#20a53a",size:"80"}),g("div",h,[g("span",null,x(y(k)("Config.Migrate.index_14")),1),a[3]||(a[3]=g("span",null,[b(" Please check the progress in "),g("span",{class:"font-bold"},"[Panel Settings]"),b(" - "),g("span",{class:"font-bold"},"[Backup Restore]"),b(" on the new server ")],-1))])])),_:1}),g("pre",C,[a[13]||(a[13]=b("            ")),_(p,null,{default:f((()=>[a[4]||(a[4]=b("\n                ")),g("span",null,x(y(k)("Config.Migrate.index_16"))+" "+x(y(z).panel_addr),1),a[5]||(a[5]=b("\n                ")),_(o,{name:"common-copy",size:16,onClick:a[0]||(a[0]=e=>S(y(z).panel_addr))}),a[6]||(a[6]=b("\n            "))])),_:1,__:[4,5,6]}),a[14]||(a[14]=b("\n            ")),_(p,null,{default:f((()=>[a[7]||(a[7]=b("\n                ")),g("span",null,x(y(k)("Config.Migrate.index_17"))+" "+x(y(z).panel_user),1),a[8]||(a[8]=b("\n                ")),_(o,{name:"common-copy",size:16,onClick:a[1]||(a[1]=e=>S(y(z).panel_user))}),a[9]||(a[9]=b("\n            "))])),_:1,__:[7,8,9]}),a[15]||(a[15]=b("\n            ")),_(p,null,{default:f((()=>[a[10]||(a[10]=b("\n                ")),g("span",null,x(y(k)("Config.Migrate.index_18"))+" "+x(y(z).panel_password),1),a[11]||(a[11]=b("\n                ")),_(o,{name:"common-copy",size:16,onClick:a[2]||(a[2]=e=>S(y(z).panel_password))}),a[12]||(a[12]=b("\n            "))])),_:1,__:[10,11,12]}),a[16]||(a[16]=b("\n        "))]),_(c,{columns:1,class:"my-16px",bordered:"","label-placement":"left","label-style":{width:"150px"}},{default:f((()=>[_(m,{label:e.$t("Config.Migrate.index_19")},{default:f((()=>[b(x(y(z).start_time),1)])),_:1},8,["label"]),_(m,{label:"Last updated"},{default:f((()=>[b(x(y(z).last_update),1)])),_:1})])),_:1}),_(w,null,{default:f((()=>a[17]||(a[17]=[g("li",{class:"text-error"}," If the migrated machine is not bound to a aapanel user and upgraded to Professional version, plugin restoration failures may occur ",-1),g("li",null,"If the first migration data is incomplete, you can try to migrate it a second time.",-1),g("li",null,"Some plug-ins, PHP extensions need to be installed manually",-1)]))),_:1,__:[17]}),g("div",v,[_(P,{type:"primary",onClick:H},{default:f((()=>a[18]||(a[18]=[b(" Close the popup ")]))),_:1,__:[18]})])])}}});export{w as default};
