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