1import{W as $,m as C,d as I,at as B,au as M}from"./vendor-antd-8g8G_ho0.js";import{r as Y,a as L}from"./index-Be_AhKZ5.js";import{_ as S,u as V}from"./index-ClZnLfma.js";import{M as R}from"./vue3-markdown-it.umd.min-BkAyy3ba.js";import{d as b,f as i,w as T,Y as k,X as w,V as e,U as g,Z as U,a4 as c,k as p,u as D,W as d,o as F,F as G,a2 as O}from"./vendor-vue-BZ1m2i7x.js";import"./vendor-icons-DnRr-s2O.js";const W={class:"flex flex-col gap-2 h-full"},j={class:"text-lg font-bold"},z={class:"text-xs text-gray-500"},A={key:0,class:"flex-1 h-full w-full mt-4 overflow-y-auto overflow-hidden"},E=b({__name:"release-note-drawer",props:{show:{type:Boolean},id:{}},emits:["update:show"],setup(y,{emit:N}){const a=y,u=N,t=i(),n=i(!1);async function l(){n.value=!0;try{const s=await Y(a.id);t.value=s.data}finally{n.value=!1}}T(()=>a.show,s=>{s&&(t.value=void 0,l())},{immediate:!0});function v(){u("update:show",!1)}return(s,r)=>{var _;const h=$;return d(),k(h,{"z-index":1050,open:a.show,title:`çæ¬è¯´æ-${(_=t.value)==null?void 0:_.versionNumber}`,placement:"right",width:800,"body-style":"{ padding: 0, height: '100%' }",onClose:v},{default:w(()=>{var m,o,f,x;return[e("div",W,[e("div",j,c((m=t.value)==null?void 0:m.versionNumber),1),e("div",z,c((o=t.value)==null?void 0:o.releaseTime),1),(f=t.value)!=null&&f.content?(d(),g("div",A,[p(D(R),{class:"ds-markdown w-full",source:(x=t.value)==null?void 0:x.content,html:!0},null,8,["source"])])):U("",!0)])]}),_:1},8,["open","title"])}}}),X=S(E,[["__scopeId","data-v-e26d6d33"]]),Z={class:"flex flex-col h-[600px]"},q={class:"flex flex-col gap-1 flex-1 overflow-y-auto py-2"},H={class:"mb-1"},J=["onClick"],K={class:"text-xs text-gray-500"},P={class:"text-sm font-medium"},ne=b({__name:"index",setup(y){const a=V().currentOrgId,u=i([]);async function t(){const s=await L({orgId:a});u.value=s.data}F(()=>{t()});const n=i(0),l=i(!1);function v(s){n.value=s,l.value=!0}return(s,r)=>{const h=C,_=B,m=M;return d(),g("div",Z,[r[1]||(r[1]=e("div",null,[e("div",{class:"text-lg font-bold"}," çæ¬è¯´æ "),e("div",{class:"text-xs text-gray-500 mt-1"}," æ¥çç³»ç»çæ¬è¯´æ ")],-1)),p(h),e("div",q,[p(m,null,{default:w(()=>[(d(!0),g(G,null,O(u.value,(o,f)=>(d(),k(_,{key:f},{default:w(()=>[e("div",H,[e("div",{class:"text-base font-bold hover:text-blue-500 cursor-pointer",onClick:x=>v(o.versionId)},c(o.versionNumber),9,J),e("div",K,c(D(I)(o.releaseTime).format("YYYY-MM-DD")),1)]),e("div",P,c(o.introduction),1)]),_:2},1024))),128))]),_:1})]),p(X,{id:n.value,show:l.value,"onUpdate:show":r[0]||(r[0]=o=>l.value=o)},null,8,["id","show"])])}}});export{ne as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.