Files
aiot-platform-ui/apps/web-antd/dist/js/index-CsUuaAMs.js
lzh 19d36d1ffb
All checks were successful
Web UI CI/CD / build-and-deploy (push) Successful in 8s
chore: build and deploy web-antd
2026-03-09 13:05:46 +08:00

2 lines
1.5 KiB
JavaScript

import{aA as y,am as p,an as s}from"./bootstrap-CRjSNGHY.js";import{m,ad as o,b2 as t,ab as a,ac as r,ae as n,bL as f,u as c,aT as i,bp as l}from"../jse/index-index-CMeVxoEG.js";const g={class:"absolute left-0 top-0 flex h-full w-full flex-col justify-center"},x={key:0},v=m({name:"TitleBar",__name:"index",props:{property:{}},setup(e){return(u,d)=>(t(),o("div",{class:"relative box-border min-h-[20px] w-full",style:i({height:`${e.property.height}px`})},[e.property.bgImgUrl?(t(),a(c(y),{key:0,src:e.property.bgImgUrl,preview:!1,class:"w-full object-cover"},null,8,["src"])):r("",!0),n("div",g,[e.property.title?(t(),o("div",{key:0,style:i({fontSize:`${e.property.titleSize}px`,fontWeight:e.property.titleWeight,color:e.property.titleColor,textAlign:e.property.textAlign,marginLeft:`${e.property.marginLeft}px`,marginBottom:"4px"})},l(e.property.title),5)):r("",!0),e.property.description?(t(),o("div",{key:1,style:i({fontSize:`${e.property.descriptionSize}px`,fontWeight:e.property.descriptionWeight,color:e.property.descriptionColor,textAlign:e.property.textAlign,marginLeft:`${e.property.marginLeft}px`})},l(e.property.description),5)):r("",!0)]),f(n("div",{class:"absolute bottom-0 right-2 top-0 m-auto flex items-center justify-center text-[10px] text-[#969799]",style:i({color:e.property.descriptionColor})},[e.property.more.type!=="icon"?(t(),o("span",x,l(e.property.more.text),1)):r("",!0),e.property.more.type!=="text"?(t(),a(c(s),{key:1,icon:"lucide:arrow-right"})):r("",!0)],4),[[p,e.property.more.show]])],4))}});export{v as default};