import{_ as m}from"./index-DIKmrNCq.js?v=1773287522785";import{l as b}from"./index-BTglIPU2.js?v=1773287522785";import{k,R as g,$ as u,Z as B,a0 as t,a9 as o,S as a,j as i,aa as _,a8 as x,_ as p,ak as C}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import{aj as y,ak as w,k as N}from"./naive-ui--dJnpVcV.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const P={class:"p-16px"},v=k({__name:"backup-success",props:{data:{}},setup(V){const{t:e}=g();return(n,l)=>{const s=y,d=w,c=b,f=N,r=m;return u(),B("div",P,[t(d,{column:1,bordered:"","label-placement":"left","label-style":{width:"150px"}},{default:o(()=>[t(s,{label:n.data.type==="backup"?a(e)("Config.Backup.index_3"):a(e)("Config.Backup.index_93")},{default:o(()=>[i(_(n.data.backup_file_info.name),1)]),_:1},8,["label"]),t(s,{label:n.data.type==="backup"?a(e)("Config.Backup.index_70"):a(e)("Config.Backup.index_71")},{default:o(()=>[i(_(n.data.backup_file_info.end_time),1)]),_:1},8,["label"]),t(s,{label:n.data.type==="backup"?a(e)("Config.Backup.index_72"):a(e)("Config.Backup.index_73")},{default:o(()=>[i(_(n.data.backup_file_info.files_size),1)]),_:1},8,["label"]),t(s,{label:a(e)("Config.Backup.index_63")},{default:o(()=>[i(_(n.data.backup_file_info.backup_file_sha256),1)]),_:1},8,["label"]),t(s,{label:n.data.type==="backup"?a(e)("Config.Backup.index_76"):a(e)("Config.Backup.index_77")},{default:o(()=>[i(_(n.data.backup_file_info.time_count)+"s ",1)]),_:1},8,["label"]),t(s,{label:a(e)("Config.Backup.index_22")},{default:o(()=>[i(_(a(e)("Config.Backup.index_26")),1)]),_:1},8,["label"])]),_:1}),n.data.type==="restore"?(u(),x(r,{key:0,class:"my-16px"},{default:o(()=>[p("li",null,[t(f,{class:"flex-nowrap! items-center",size:3},{default:o(()=>[t(c,{name:"base-warning",class:"text-warning mr-4px",size:"16"}),l[0]||(l[0]=p("span",{class:"text-warning font-bold"},"Please check data integrity after the restore is complete",-1))]),_:1,__:[0]})]),l[1]||(l[1]=p("li",null," Restore details: Please view [ Logs ] - [ Restore Log ] ",-1)),l[2]||(l[2]=p("li",null," Some plug-ins, PHP extensions need to be installed manually ",-1))]),_:1,__:[1,2]})):C("",!0)])}}});export{v as default};
