import{_ as t,i as e,a}from"./public.js?v=1764830988434";import{_ as s,a7 as n,a8 as l}from"./page_layout.js?v=1764830988434";import{a as o}from"./index15.js?v=1764830988434";import{da as i,aC as r}from"./naive.js?v=1764830988434";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=1764830988434";import"./common.js?v=1764830988434";import"./__commonjsHelpers__.js?v=1764830988434";import"./index.js?v=1764830988434";import"./index.vue_vue_type_script_setup_true_lang.js?v=1764830988434";import"./backup-info.js?v=1764830988434";import"./utils.js?v=1764830988434";import"./soft.js?v=1764830988434";import"./site.js?v=1764830988434";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=t=>{e(t)},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=s,p=i,m=n,c=l,w=t,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),a[3]||(a[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,[a[13]||(a[13]=b("\t\t\t\t\t",-1)),_(p,null,{default:g(()=>[a[4]||(a[4]=b("\n\t\t\t\t\t\t\t",-1)),f("span",null,x(y(k)("Config.Migrate.index_16"))+" "+x(y(z).panel_addr),1),a[5]||(a[5]=b("\n\t\t\t\t\t\t\t",-1)),_(o,{name:"common-copy",size:16,onClick:a[0]||(a[0]=t=>S(y(z).panel_addr))}),a[6]||(a[6]=b("\n\t\t\t\t\t",-1))]),_:1,__:[4,5,6]}),a[14]||(a[14]=b("\n\t\t\t\t\t",-1)),_(p,null,{default:g(()=>[a[7]||(a[7]=b("\n\t\t\t\t\t\t\t",-1)),f("span",null,x(y(k)("Config.Migrate.index_17"))+" "+x(y(z).panel_user),1),a[8]||(a[8]=b("\n\t\t\t\t\t\t\t",-1)),_(o,{name:"common-copy",size:16,onClick:a[1]||(a[1]=t=>S(y(z).panel_user))}),a[9]||(a[9]=b("\n\t\t\t\t\t",-1))]),_:1,__:[7,8,9]}),a[15]||(a[15]=b("\n\t\t\t\t\t",-1)),_(p,null,{default:g(()=>[a[10]||(a[10]=b("\n\t\t\t\t\t\t\t",-1)),f("span",null,x(y(k)("Config.Migrate.index_18"))+" "+x(y(z).panel_password),1),a[11]||(a[11]=b("\n\t\t\t\t\t\t\t",-1)),_(o,{name:"common-copy",size:16,onClick:a[2]||(a[2]=t=>S(y(z).panel_password))}),a[12]||(a[12]=b("\n\t\t\t\t\t",-1))]),_:1,__:[10,11,12]}),a[16]||(a[16]=b("\n\t\t\t",-1))]),_(c,{columns:1,class:"my-16px",bordered:"","label-placement":"left","label-style":{width:"150px"}},{default:g(()=>[_(m,{label:e.$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(()=>a[17]||(a[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(()=>a[18]||(a[18]=[b(" Close the popup ",-1)])),_:1,__:[18]})])])}}});export{w as default};
