import{r as l,h as e,H as s,g as t}from"./p-a6030c6e.js";const a='.sc-bds-table-cell-h{display:table-cell;padding:0 8px;font-family:"Nunito Sans", "Carbona", "Tahoma", "Helvetica", "Arial", sans-serif;font-size:14px;vertical-align:middle}.cell.sc-bds-table-cell{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:48px;margin:8px 0;color:var(--color-content-default, #454545);font-family:"Nunito Sans", "Carbona", "Tahoma", "Helvetica", "Arial", sans-serif;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.dense-cell.sc-bds-table-cell{margin:0}.cell-custom.sc-bds-table-cell{gap:8px}.cell-action.sc-bds-table-cell{-ms-flex-direction:row;flex-direction:row;gap:8px}.sc-bds-table-cell-h:first-child{padding-left:16px}.sc-bds-table-cell-h:last-child{padding-right:16px}';const c=a;const i=class{constructor(e){l(this,e);this.isDense=false;this.type="text";this.sortable=false}renderContent(){return this.type==="custom"?e("div",{class:"cell cell-custom dense-cell"},e("slot",null)):this.type==="text"?e("div",{class:"cell dense-cell"},e("bds-typo",{variant:"fs-14",bold:this.sortable?"bold":"regular"},e("slot",null))):this.type==="action"?e("div",{class:"cell cell-action dense-cell"},e("slot",null)):this.type==="collapse"?e("td",{colSpan:2,class:"cell cell-action dense-cell"},e("slot",null)):e("slot",null)}componentWillLoad(){const l=this.element.closest("bds-table");if(l&&l.getAttribute("dense-table")==="true"){this.isDense=true}}render(){return e(s,{key:"f7884f52cde67a437886de926bcdfcb2e9e401bc"},this.renderContent())}get element(){return t(this)}};i.style=c;export{i as bds_table_cell};
//# sourceMappingURL=p-5470f93c.entry.js.map