import{V as s,_ as e}from"./utils-lib.js?v=1761009159";import{c as t,s as a,q as i,H as o,v as l,x as n,I as r,y as m,F as c,b0 as d,z as v,A as p,D as u}from"./base-lib.js?v=1761009159";import{I as f}from"./validator.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";const g={class:"p-[2rem]"},_={class:"h-[32rem] overflow-auto"},y={class:"log-info-item-date"},j={class:"log-info-item-title"},b=["innerHTML"],h={key:1,class:"flex items-center justify-center h-full"},x=e(t({__name:"history-version",setup(e){const{historyData:t,historyLoad:x,pluginModuleInfo:H}=a(f()),{getHistoryVersion:I}=f();return i(I),(e,a)=>{var i,f;const I=o("bt-loading");return l(),n("div",g,[r((l(),n("div",_,[(null==(i=m(t))?void 0:i.length)?(l(!0),n(c,{key:0},d(m(t),(e,t)=>(l(),n("div",{class:"log-info-item",key:t},[a[0]||(a[0]=v("span",{class:"log-info-item-active"},null,-1)),v("div",y,p(m(s)(e.update_time)),1),v("div",j,p(m(H).title+e.m_version+"."+e.version+" - "+(e.beta?"测试版":"正式版")),1),v("div",{class:"log-info-item-content",innerHTML:e.update_msg.replace(/\n/g,"<br>")},null,8,b)]))),128)):u("",!0),(null==(f=m(t))?void 0:f.length)?u("",!0):(l(),n("div",h,a[1]||(a[1]=[v("span",{class:"text-secondary"},"暂无日志数据",-1)])))])),[[I,m(x)]])])}}}),[["__scopeId","data-v-ee17f5f3"]]);export{x as default};
