import{r as t,h as s,H as l}from"./p-a0e89da3.js";const a=class{constructor(s){t(this,s),this.align="start"}render(){return s(l,{class:{"align-start":"start"===this.align,"align-end":"end"===this.align,"align-center":"center"===this.align},style:{flex:this.width?`0 0 ${this.width}`:null,width:this.width?this.width:null}},s("div",{class:"row-cell"},s("div",{class:"cell-content"},s("slot",null))))}static get style(){return":host{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host(.align-start){-ms-flex-pack:start;justify-content:flex-start}:host(.align-start) .row-cell{width:calc(100% - 8px)}:host(.align-start) .row-cell .cell-content{overflow:hidden;text-overflow:ellipsis;width:100%}:host(.align-end){-ms-flex-pack:end;justify-content:flex-end}:host(.align-end) .row-cell{padding-right:24px}:host(.align-center){-ms-flex-pack:center;justify-content:center}"}};export{a as materials_datatable_body_cell};