import{r as t,h as s,H as e,g as l}from"./p-93b809e8.js";const i=class{constructor(s){t(this,s),this.isDense=!1,this.sortable=!1,this.arrow=""}componentWillLoad(){const t=this.element.closest("bds-table");!t||"true"!==t.getAttribute("dense-table")&&!0!==t.denseTable||(this.isDense=!0)}render(){return s(e,null,s("div",{class:{th_cell:!0,[`th_cell--sortable-${this.sortable}`]:!0,"dense-th":this.isDense}},s("bds-typo",{bold:this.sortable?"bold":"semi-bold",variant:"fs-14"},s("slot",null)),this.sortable?s("bds-icon",{size:"small",name:"asc"===this.arrow?"arrow-down":"dsc"===this.arrow?"arrow-up":""}):s("div",{style:{width:"20px"}})))}get element(){return l(this)}};i.style='.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}';export{i as bds_table_th}