import{r as e,h as t,H as s,g as l}from"./p-a6030c6e.js";const a='.sc-bds-table-th-h{display:table-cell;padding:0px 8px}.th_cell.sc-bds-table-th{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:64px;gap:8px;font-family:"Nunito Sans", "Carbona", "Tahoma", "Helvetica", "Arial", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}.th_cell--sortable-true.sc-bds-table-th:hover,.th_cell--sortable-false.sc-bds-table-th:hover{cursor:pointer}.dense-th.sc-bds-table-th{min-height:48px;height:auto}.sc-bds-table-th-h:first-child{padding-left:16px}.sc-bds-table-th-h:last-child{padding-right:16px}';const i=a;const b=class{constructor(t){e(this,t);this.isDense=false;this.sortable=false;this.arrow=""}componentWillLoad(){const e=this.element.closest("bds-table");if(e&&(e.getAttribute("dense-table")==="true"||e.denseTable===true)){this.isDense=true}}render(){return t(s,{key:"b35399308032fda895f61fc26340305dcbd388e6"},t("div",{key:"95be984765e49f2f441c4c82081d9f0544b86789",class:{th_cell:true,[`th_cell--sortable-${this.sortable}`]:true,"dense-th":this.isDense}},t("bds-typo",{key:"5378e67718727bf181a5b241bec42d9c1a751e16",bold:this.sortable?"bold":"semi-bold",variant:"fs-14"},t("slot",{key:"f5feeddc812d582612b0e3d5eb5fed60e5c21bfe"})),this.sortable?t("bds-icon",{size:"small",name:this.arrow==="asc"?"arrow-down":this.arrow==="dsc"?"arrow-up":""}):t("div",{style:{width:"20px"}})))}get element(){return l(this)}};b.style=i;export{b as bds_table_th};
//# sourceMappingURL=p-4cbcecdd.entry.js.map