import{_ as w}from"./index-DIKmrNCq.js?v=1773287522785";import{l as $,h as B}from"./index-BTglIPU2.js?v=1773287522785";import{c as M}from"./copy-D-wIKr0q.js?v=1773287522785";import{a as P}from"./index-DbJBn-i5.js?v=1773287522785";import{k as z,aj as S,ak as T,B as j}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as E,R as I,O as N,$ as R,Z as V,a0 as e,a9 as l,_ as o,aa as i,S as s,j as t}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-D8O2mMsP.js?v=1773287522785";import"./backup-info-oSTuIzgU.js?v=1773287522785";import"./index.vue_vue_type_script_setup_true_lang-BeO8Hyma.js?v=1773287522785";import"./data-BVsViUMm.js?v=1773287522785";import"./utils-fCmtiQ1f.js?v=1773287522785";import"./useTableData-BmkIKQ_R.js?v=1773287522785";const A={class:"p-16px"},D={class:"text-[1.4rem] text-font2 my-[1.2rem] flex flex-col"},H={class:"text-[1.2rem] text-white bg-[#333] p-[12px] flex flex-col relative"},L={class:"flex justify-end my-10px"},nn=E({__name:"migrate-success",props:{data:{}},emits:["close"],setup(g,{emit:x}){const{t:p}=I(),y=x,b=g,{data:a}=N(b),u=d=>{M(d)},c=async()=>{B({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 P(),y("close")}})};return(d,n)=>{const r=$,m=z,f=S,C=T,k=w,v=j;return R(),V("div",A,[e(m,{class:"flex-nowrap! mb-16px"},{default:l(()=>[e(r,{name:"base-success",class:"color-#20a53a",size:"80"}),o("div",D,[o("span",null,i(s(p)("Config.Migrate.index_14")),1),n[3]||(n[3]=o("span",null,[t(" Please check the progress in "),o("span",{class:"font-bold"},"[Panel Settings]"),t(" - "),o("span",{class:"font-bold"},"[Backup Restore]"),t(" on the new server ")],-1))])]),_:1}),o("pre",H,[n[13]||(n[13]=t("					")),e(m,null,{default:l(()=>[n[4]||(n[4]=t("\n							")),o("span",null,i(s(p)("Config.Migrate.index_16"))+" "+i(s(a).panel_addr),1),n[5]||(n[5]=t("\n							")),e(r,{name:"common-copy",size:16,onClick:n[0]||(n[0]=_=>u(s(a).panel_addr))}),n[6]||(n[6]=t("\n					"))]),_:1,__:[4,5,6]}),n[14]||(n[14]=t("\n					")),e(m,null,{default:l(()=>[n[7]||(n[7]=t("\n							")),o("span",null,i(s(p)("Config.Migrate.index_17"))+" "+i(s(a).panel_user),1),n[8]||(n[8]=t("\n							")),e(r,{name:"common-copy",size:16,onClick:n[1]||(n[1]=_=>u(s(a).panel_user))}),n[9]||(n[9]=t("\n					"))]),_:1,__:[7,8,9]}),n[15]||(n[15]=t("\n					")),e(m,null,{default:l(()=>[n[10]||(n[10]=t("\n							")),o("span",null,i(s(p)("Config.Migrate.index_18"))+" "+i(s(a).panel_password),1),n[11]||(n[11]=t("\n							")),e(r,{name:"common-copy",size:16,onClick:n[2]||(n[2]=_=>u(s(a).panel_password))}),n[12]||(n[12]=t("\n					"))]),_:1,__:[10,11,12]}),n[16]||(n[16]=t("\n			"))]),e(C,{columns:1,class:"my-16px",bordered:"","label-placement":"left","label-style":{width:"150px"}},{default:l(()=>[e(f,{label:d.$t("Config.Migrate.index_19")},{default:l(()=>[t(i(s(a).start_time),1)]),_:1},8,["label"]),e(f,{label:"Last updated"},{default:l(()=>[t(i(s(a).last_update),1)]),_:1})]),_:1}),e(k,null,{default:l(()=>n[17]||(n[17]=[o("li",{class:"text-error"}," If the migrated machine is not bound to a yakpanel user and upgraded to Professional version, plugin restoration failures may occur ",-1),o("li",null,"If the first migration data is incomplete, you can try to migrate it a second time.",-1),o("li",null,"Some plug-ins, PHP extensions need to be installed manually",-1)])),_:1,__:[17]}),o("div",L,[e(v,{type:"primary",onClick:c},{default:l(()=>n[18]||(n[18]=[t(" Close the popup ")])),_:1,__:[18]})])])}}});export{nn as default};
