"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../../utils/cssinjs/index.js"),e=o=>{const{componentCls:d,apFormModalCloseSize:a}=o;return{[d]:{".ant-modal-content":{padding:0},".ant-modal-header":{paddingInline:o.apFormModalHeaderPaddingInline,paddingBlock:o.apFormModalHeaderPaddingBlock,borderBottom:`${o.lineWidth} ${o.lineType} #E9EDF3`,marginBottom:0},[`${d}__content`]:{padding:o.apFormModalContentPadding},[`${d}__footer`]:{padding:o.apFormModalFooterPadding,borderTop:o.apFormModalFooterBorderTop},".ant-modal-close":{top:o.calc(o.apFormModalHeaderPaddingBlock).sub(o.calc(a).sub("22px").div(2)).equal(),width:a,height:a}}}},l=r.genComponentStyleHook("ApForm.Modal",o=>[e(o)],{apFormModalHeaderPaddingInline:20,apFormModalHeaderPaddingBlock:15,apFormModalContentPadding:"20px 20px 0px",apFormModalFooterPadding:"12px 20px",apFormModalCloseSize:32,apFormModalFooterBorderTop:"unset"});exports.default=l;exports.genModalFormStyle=e;
