import{r as a,c as o,h as r,H as e}from"./p-6vpKbd31.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 d=class{constructor(r){a(this,r);this.colHeaderClick=o(this,"colHeaderClick");this.rowClick=o(this,"rowClick");this.columns=[];this.data=[]}render(){return r(e,{key:"027b0578ef1ddfcc704178f803bf086bbe1c15d4",class:"table-wrapper"},r("table",{key:"10ddbad54ffc0f292a1a351d7aad7134ade3a7dc",class:"table"},r("thead",{key:"9ca47afa590f59634f8c781f7a653ca6352428fa"},r("tr",{key:"a3f020abcf70a5f7547ee970c8f298e44b31ca30",class:"row header-row"},this.columns.map(((a,o)=>r("th",{class:`col header-col col-${o} col-${a.id}`,onClick:()=>{var o;return(o=this.colHeaderClick)===null||o===void 0?void 0:o.emit({col:a})},innerHTML:a.renderHeader?a.renderHeader(a):a.header||a.id}))))),r("tbody",{key:"ed8bba8eb08a27a632483da969c00c6dab46f849"},this.data.map((a=>r("tr",{class:"row data-row",onClick:()=>{var o;return(o=this.rowClick)===null||o===void 0?void 0:o.emit({row:a})}},this.columns.map(((o,e)=>o.renderCell?r("td",{class:`col data-col col-${e} col-${o.id}`,innerHTML:o.renderCell(o,a)}):r("td",{class:`col data-col col-${e} col-${o.id}`},a[o.id])))))))))}};d.style=c;export{d as verdocs_table};
//# sourceMappingURL=p-9d7b480f.entry.js.map