import { multiRows as r } from "../../style/index.mjs";
import { genComponentStyleHook as l } from "../../utils/cssinjs/index.mjs";
const i = (e) => {
  const { componentCls: t } = e;
  return {
    [t]: {
      [`${t}__header-cell--required`]: {
        color: e.colorError,
        paddingRight: e.spaceXXS
      },
      [`${t}-table-header`]: {
        "&__title": {
          ...r(e),
          textAlign: "right"
        }
      },
      // 总的可编辑单元格为上下16px 左右8px
      ".ant-form-item": {
        marginBlockEnd: e.spaceXL
      },
      ".vxe-cell:has(.is-editable)": {
        paddingBlock: `${e.spaceXL} 0px !important`
      }
    }
  };
}, d = l("EditableGrid", (e) => [
  i(e)
]);
export {
  d as default,
  i as genEditableGridStyle
};
