import{_ as e,i as a,a as s}from"./public.js?v=1764233927359";import{_ as n,a7 as t,a8 as l}from"./page_layout.js?v=1764233927359";import{a as o}from"./index17.js?v=1764233927359";import{da as i,aC as r}from"./naive.js?v=1764233927359";import{k as p,P as m,af as c,R as u,V as d,W as _,S as f,a3 as g,a4 as x,U as y,j as b}from"./vue.js?v=1764233927359";import"./common.js?v=1764233927359";import"./__commonjsHelpers__.js?v=1764233927359";import"./index.js?v=1764233927359";import"./index.vue_vue_type_script_setup_true_lang.js?v=1764233927359";import"./backup-info.js?v=1764233927359";import"./utils.js?v=1764233927359";import"./soft.js?v=1764233927359";import"./site.js?v=1764233927359";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=e=>{a(e)},H=async()=>{s({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(a,s)=>{const o=n,p=i,m=t,c=l,w=e,P=r;return d(),u("div",j,[_(p,{class:"flex-nowrap! mb-16px"},{default:g(()=>[_(o,{name:"base-success",class:"color-#20a53a",size:"80"}),f("div",h,[f("span",null,x(y(k)("Config.Migrate.index_14")),1),s[3]||(s[3]=f("span",null,[b(" Please check the progress in "),f("span",{class:"font-bold"},"[Panel Settings]"),b(" - "),f("span",{class:"font-bold"},"[Backup Restore]"),b(" on the new server ")],-1))])]),_:1}),f("pre",C,[s[13]||(s[13]=b("            ",-1)),_(p,null,{default:g(()=>[s[4]||(s[4]=b("\n                ",-1)),f("span",null,x(y(k)("Config.Migrate.index_16"))+" "+x(y(z).panel_addr),1),s[5]||(s[5]=b("\n                ",-1)),_(o,{name:"common-copy",size:16,onClick:s[0]||(s[0]=e=>S(y(z).panel_addr))}),s[6]||(s[6]=b("\n            ",-1))]),_:1,__:[4,5,6]}),s[14]||(s[14]=b("\n            ",-1)),_(p,null,{default:g(()=>[s[7]||(s[7]=b("\n                ",-1)),f("span",null,x(y(k)("Config.Migrate.index_17"))+" "+x(y(z).panel_user),1),s[8]||(s[8]=b("\n                ",-1)),_(o,{name:"common-copy",size:16,onClick:s[1]||(s[1]=e=>S(y(z).panel_user))}),s[9]||(s[9]=b("\n            ",-1))]),_:1,__:[7,8,9]}),s[15]||(s[15]=b("\n            ",-1)),_(p,null,{default:g(()=>[s[10]||(s[10]=b("\n                ",-1)),f("span",null,x(y(k)("Config.Migrate.index_18"))+" "+x(y(z).panel_password),1),s[11]||(s[11]=b("\n                ",-1)),_(o,{name:"common-copy",size:16,onClick:s[2]||(s[2]=e=>S(y(z).panel_password))}),s[12]||(s[12]=b("\n            ",-1))]),_:1,__:[10,11,12]}),s[16]||(s[16]=b("\n        ",-1))]),_(c,{columns:1,class:"my-16px",bordered:"","label-placement":"left","label-style":{width:"150px"}},{default:g(()=>[_(m,{label:a.$t("Config.Migrate.index_19")},{default:g(()=>[b(x(y(z).start_time),1)]),_:1},8,["label"]),_(m,{label:"Last updated"},{default:g(()=>[b(x(y(z).last_update),1)]),_:1})]),_:1}),_(w,null,{default:g(()=>s[17]||(s[17]=[f("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),f("li",null,"If the first migration data is incomplete, you can try to migrate it a second time.",-1),f("li",null,"Some plug-ins, PHP extensions need to be installed manually",-1)])),_:1,__:[17]}),f("div",v,[_(P,{type:"primary",onClick:H},{default:g(()=>s[18]||(s[18]=[b(" Close the popup ",-1)])),_:1,__:[18]})])])}}});export{w as default};
