2 lines
860 B
JavaScript
2 lines
860 B
JavaScript
import{aA as n,cb as c,an as i}from"./bootstrap-DsjPfOC_.js";import{m as p,ad as a,b2 as o,j as t,u as r,bJ as d,I as u,bb as m,ae as y,bp as f,aT as x}from"../jse/index-index-CO0ZsLf2.js";import{C as b}from"./index-CVNhvefc.js";const g={class:"h-6 truncate leading-6"},w=p({name:"NoticeBar",__name:"index",props:{property:{}},setup(e){return(h,v)=>(o(),a("div",{class:"flex items-center py-1 text-xs",style:x({backgroundColor:e.property.backgroundColor,color:e.property.textColor})},[t(r(n),{src:e.property.iconUrl,class:"h-[18px]",preview:!1},null,8,["src"]),t(r(c),{type:"vertical"}),t(r(b),{autoplay:!0,dots:!1,vertical:"",class:"flex-1 pr-2",style:{height:"24px"}},{default:d(()=>[(o(!0),a(u,null,m(e.property.contents,(s,l)=>(o(),a("div",{key:l},[y("div",g,f(s.text),1)]))),128))]),_:1}),t(r(i),{icon:"lucide:arrow-right"})],4))}});export{w as default};
|