import { textEllipsis as t } from "../../style/index.mjs";
const i = (e) => {
  const {
    componentCls: l
  } = e;
  return {
    [`${l}-wrapper`]: {
      [`${l}-cell-ellipsis`]: Object.assign(Object.assign({}, t), {
        wordBreak: "keep-all",
        // Fixed first or last should special process
        [`
          &${l}-cell-fix-left-last,
          &${l}-cell-fix-right-first
        `]: {
          overflow: "visible",
          [`${l}-cell-content`]: {
            display: "block",
            overflow: "hidden",
            textOverflow: "ellipsis"
          }
        },
        [`${l}-column-title`]: {
          overflow: "hidden",
          textOverflow: "ellipsis",
          wordBreak: "keep-all"
        }
      })
    }
  };
}, o = i;
export {
  o as default
};
