PromoCursed/node_modules/.cache/babel-loader/ee3f164556d7ec1e79a68d9132678feab29822710b1784447188f7ac21916318.json
2024-08-20 23:25:37 +04:00

1 line
2.6 KiB
JSON

{"ast":null,"code":"/**\n * Fallback of IE.\n * Safe to remove.\n */\n// Style as inline component\nimport { prepareToken } from '.';\nimport { genSubStyleComponent } from '../../theme/internal';\n// ============================= Fallback =============================\nconst genFallbackStyle = token => {\n const {\n formItemCls\n } = token;\n return {\n '@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)': {\n // Fallback for IE, safe to remove we not support it anymore\n [`${formItemCls}-control`]: {\n display: 'flex'\n }\n }\n };\n};\n// ============================== Export ==============================\nexport default genSubStyleComponent(['Form', 'item-item'], (token, _ref) => {\n let {\n rootPrefixCls\n } = _ref;\n const formToken = prepareToken(token, rootPrefixCls);\n return [genFallbackStyle(formToken)];\n});","map":{"version":3,"names":["prepareToken","genSubStyleComponent","genFallbackStyle","token","formItemCls","display","_ref","rootPrefixCls","formToken"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/form/style/fallbackCmp.js"],"sourcesContent":["/**\n * Fallback of IE.\n * Safe to remove.\n */\n// Style as inline component\nimport { prepareToken } from '.';\nimport { genSubStyleComponent } from '../../theme/internal';\n// ============================= Fallback =============================\nconst genFallbackStyle = token => {\n const {\n formItemCls\n } = token;\n return {\n '@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)': {\n // Fallback for IE, safe to remove we not support it anymore\n [`${formItemCls}-control`]: {\n display: 'flex'\n }\n }\n };\n};\n// ============================== Export ==============================\nexport default genSubStyleComponent(['Form', 'item-item'], (token, _ref) => {\n let {\n rootPrefixCls\n } = _ref;\n const formToken = prepareToken(token, rootPrefixCls);\n return [genFallbackStyle(formToken)];\n});"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA,SAASA,YAAY,QAAQ,GAAG;AAChC,SAASC,oBAAoB,QAAQ,sBAAsB;AAC3D;AACA,MAAMC,gBAAgB,GAAGC,KAAK,IAAI;EAChC,MAAM;IACJC;EACF,CAAC,GAAGD,KAAK;EACT,OAAO;IACL,0EAA0E,EAAE;MAC1E;MACA,CAAC,GAAGC,WAAW,UAAU,GAAG;QAC1BC,OAAO,EAAE;MACX;IACF;EACF,CAAC;AACH,CAAC;AACD;AACA,eAAeJ,oBAAoB,CAAC,CAAC,MAAM,EAAE,WAAW,CAAC,EAAE,CAACE,KAAK,EAAEG,IAAI,KAAK;EAC1E,IAAI;IACFC;EACF,CAAC,GAAGD,IAAI;EACR,MAAME,SAAS,GAAGR,YAAY,CAACG,KAAK,EAAEI,aAAa,CAAC;EACpD,OAAO,CAACL,gBAAgB,CAACM,SAAS,CAAC,CAAC;AACtC,CAAC,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}