columnRenderHelper.a9b8ca6f.js 494 B

1
  1. import{al as r,aR as u,bb as c,J as i,bc as o}from"./index.js";function f(t,l="status"){return{cellRenderer({row:a}){const e=t.find(n=>n.value===String(a[l]));return r(u,{type:e&&e.type?e.type:""},{default:()=>(e==null?void 0:e.label)||"--"})}}}function d(t,l,a="",e=""){return{cellRenderer({row:n}){return e&&!n[e]?null:[r(o,{content:a+n[t],placement:"left",width:300},{reference:()=>r(c,{link:!0,size:"large",icon:i("information-line")})}),r("text",null,n[l]||"--")]}}}export{f as a,d as r};