import{r as e,h as r,H as o,g as t}from"./p-db677b4c.js";const i=":host{--background-fixed:var(--pine-color-base-white);--border:var(--pine-border-default);border-color:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;display:table-header-group;vertical-align:middle}:host::part(checkbox-cell){background-color:var(--background-fixed);left:0;position:-webkit-sticky;position:sticky;z-index:1}:host pds-table-checkbox-cell{-webkit-border-after:var(--border);border-block-end:var(--border)}";const s=i;const d=class{constructor(r){e(this,r)}componentWillRender(){this.tableRef=this.hostElement.closest("pds-table");if(this.tableRef&&this.tableRef.fixedColumn){const e=this.hostElement.querySelector("pds-table-head-cell:first-child");e===null||e===void 0?void 0:e.classList.add("is-fixed")}}render(){return r(o,{key:"63d7450f27eaec26afc0724f7498cd3197ccc6f3",role:"row"},this.tableRef&&this.tableRef.selectable&&r("pds-table-head-cell",{part:this.tableRef.fixedColumn?"checkbox-cell":""}),r("slot",{key:"29ccb7483aea5efc5aa6f24e9dded5bb812748e2"}))}get hostElement(){return t(this)}};d.style=s;export{d as pds_table_head};
//# sourceMappingURL=p-a923b153.entry.js.map