import{ad as a,e as o}from"./utils-lib.js?v=1761009159";import e from"./add-back-task.js?v=1761009159";import{c as s,r as t,k as p,l,e as r,p as i,M as m,q as n,y as c}from"./base-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./config.js?v=1761009159";import"./checkbox-group.js?v=1761009159";import"./index9.js?v=1761009159";import"./index118.js?v=1761009159";import"./validator.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";import"./index105.js?v=1761009159";import"./index119.js?v=1761009159";import"./index114.js?v=1761009159";import"./index116.js?v=1761009159";import"./index.vue_vue_type_script_setup_true_lang4.js?v=1761009159";import"./useMethod9.js?v=1761009159";const d={class:"p-2rem"},u={class:"w-full"},_=o(s({__name:"back-restore-log",props:{compData:{default:{}}},setup(o){var s;const _=o,j=t((null==(s=_.compData)?void 0:s.tabName)||"backup"),b=[{label:"备份日志",name:"backup",render:()=>r("span",null,[c(" ")])},{label:"还原日志",name:"reduction",render:()=>r("span",null,[c(" ")])}],k=t(_.compData.backup_log_path),v=async a=>{k.value="backup"===a.name?_.compData.backup_log_path:_.compData.reduction_log_path};return(o,s)=>{const t=a;return p(),l("div",d,[r(t,{type:"card",modelValue:i(j),"onUpdate:modelValue":s[0]||(s[0]=a=>m(j)?j.value=a:null),options:b,onTabClick:v},null,8,["modelValue"]),n("div",u,[r(e,{class:"p-0","comp-data":{type:"logs",isEdit:!0,active:i(j),..._.compData}},null,8,["comp-data"])])])}}}),[["__scopeId","data-v-8baf310f"]]);export{_ as default};
