import{q as l,t as i,bn as p,bo as c,b5 as u}from"./index.10c3f8e5.js";const b={title:{type:String},colNumber:{type:Number},columns:{type:Array},data:{type:Object}};function d(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!u(t)}const f=l({name:"BasicDescriptions",props:b,setup(t){return()=>{let r;const{title:o,colNumber:n,columns:a,data:s}=t;return i(c,{title:o,columns:n,border:!0,size:"small"},d(r=a.map(e=>i(p,{label:e.label,key:e.field},{default:()=>[e.render?e.render(s[e.field]):s[e.field]]})))?r:{default:()=>[r]})}}});export{f as B};
