import b from "../../../../utils/classNames.js";
import { getVerticalAlignClassName as d, getHorizontalAlignClassName as g } from "../../shared/getAlignClassName.js";
const n = (e, l, a) => {
  const { isDraggable: t, isDragging: i, isResizable: r, isStickyLeftColumn: s, isStickyRightColumn: o } = a;
  return b(
    "table-head-cell",
    e.sortable && "table-head-cell-sortable",
    t && "table-head-cell-draggable",
    i && "table-head-cell-dragging",
    r && "table-head-cell-resizable",
    s && "table-head-cell-sticky-left-column",
    o && "table-head-cell-sticky-right-column",
    e.columnStart + e.colSpan - 1 < l.totalColumnCount && "table-head-cell-has-column-divider",
    e.rowStart + e.rowSpan - 1 < l.rowCount && "table-head-cell-has-row-divider",
    g(e.horizontalAlign),
    d(e.verticalAlign),
    e.hideOnMobile && "table-hide-mobile",
    e.headerClassName
  );
};
export {
  n as resolveHeaderCellClassName
};
//# sourceMappingURL=resolveHeaderCellClassName.js.map
