columnRenderHelper.09ed11fa.js 503 B

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