@aplus-frontend/ui
Version:
2 lines (1 loc) • 1.51 kB
JavaScript
;Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("../../style/index.js"),n=require("../../utils/cssinjs/index.js"),a=e=>{const{componentCls:t}=e;return{[t]:{".ant-form-item":{marginBlockEnd:"16px"},[`${t}__header-cell--required`]:{color:"#FF4D4F",paddingInlineEnd:"2px"},".ant-pagination":{marginBlockEnd:"0 !important",".ant-pagination-total-text":{flex:1}},"tr > th.ant-table-cell":{"&::before":{display:"none"},backgroundColor:e.editableTableHeaderBg},".ant-table.ant-table-middle .ant-table-row .ant-table-cell:has(.is-editable)":{paddingBlockStart:"16px",paddingBlockEnd:0},".ant-table.ant-table-middle .ant-table-row .ant-table-cell":{padding:"12px"},".ant-table.ant-table-middle .ant-table-thead .ant-table-cell":{padding:"12px"},".ant-table.ant-table-small .ant-table-row .ant-table-cell:has(.is-editable)":{paddingBlockStart:"16px",paddingBlockEnd:0},".ant-table.ant-table-small .ant-table-row .ant-table-cell":{padding:"8px"},".ant-table.ant-table-small .ant-table-thead .ant-table-cell":{padding:"8px"},".ant-table-placeholder .ant-table-expanded-row-fixed":{"&::after":{borderInlineEndWidth:"0px !important"}},".ant-table-cell .ant-typography":{marginBlockEnd:0},".ant-form-item-explain-error":{textAlign:"left"},[`${t}-table-header`]:{"&__title":{...l.multiRows(e),textAlign:"right"}}}}},d=n.genComponentStyleHook("EditableTable",e=>[a(e)],{editableTableHeaderBg:"#F2F6F9"});exports.default=d;exports.genEditableTableStyle=a;