import{r as o,c as r,h as e,H as a}from"./p-C1erT8T2.js";const c='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-table{width:100%;display:block;margin:0 0 10px 0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", "Barlow", sans-serif}verdocs-table .table-wrapper{margin:10px 0;padding:0}verdocs-table .table{width:100%;border:none;border-collapse:collapse}verdocs-table .row.data-row{border:1px solid #d4d4d8;background-color:#ffffff}verdocs-table .header-col{color:#5c6575;font-weight:600;text-align:left;padding:8px 16px}verdocs-table .data-col{font-weight:400;padding:8px 16px}';const l=class{constructor(e){o(this,e);this.colHeaderClick=r(this,"colHeaderClick");this.rowClick=r(this,"rowClick");this.columns=[];this.data=[]}render(){return e(a,{key:"e152c6c5ff2075368de61ceb808d955f4fb59117",class:"table-wrapper"},e("table",{key:"15c290deee49da7a1d55c78c6c270909a94774a8",class:"table"},e("thead",{key:"945ce3665c279dc219800207d005c3c1f303e48f"},e("tr",{key:"66a4707a369dd0299c9141b19857f5cb6cf23dc5",class:"row header-row"},this.columns.map(((o,r)=>e("th",{class:`col header-col col-${r} col-${o.id}`,onClick:()=>{var r;return(r=this.colHeaderClick)===null||r===void 0?void 0:r.emit({col:o})},innerHTML:o.renderHeader?o.renderHeader(o):o.header||o.id}))))),e("tbody",{key:"4fd199454878ff499a5148ad864b9e40ebaa2e70"},this.data.map((o=>e("tr",{class:"row data-row",onClick:()=>{var r;return(r=this.rowClick)===null||r===void 0?void 0:r.emit({row:o})}},this.columns.map(((r,a)=>r.renderCell?e("td",{class:`col data-col col-${a} col-${r.id}`,innerHTML:r.renderCell(r,o)}):e("td",{class:`col data-col col-${a} col-${r.id}`},o[r.id])))))))))}};l.style=c;export{l as verdocs_table};
//# sourceMappingURL=p-f061ec30.entry.js.map