1 line
1.9 KiB
JSON
1 line
1.9 KiB
JSON
{"ast":null,"code":"\"use client\";\n\nimport React from 'react';\nimport CloseCircleFilled from \"@ant-design/icons/es/icons/CloseCircleFilled\";\nconst getAllowClear = allowClear => {\n let mergedAllowClear;\n if (typeof allowClear === 'object' && (allowClear === null || allowClear === void 0 ? void 0 : allowClear.clearIcon)) {\n mergedAllowClear = allowClear;\n } else if (allowClear) {\n mergedAllowClear = {\n clearIcon: /*#__PURE__*/React.createElement(CloseCircleFilled, null)\n };\n }\n return mergedAllowClear;\n};\nexport default getAllowClear;","map":{"version":3,"names":["React","CloseCircleFilled","getAllowClear","allowClear","mergedAllowClear","clearIcon","createElement"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/_util/getAllowClear.js"],"sourcesContent":["\"use client\";\n\nimport React from 'react';\nimport CloseCircleFilled from \"@ant-design/icons/es/icons/CloseCircleFilled\";\nconst getAllowClear = allowClear => {\n let mergedAllowClear;\n if (typeof allowClear === 'object' && (allowClear === null || allowClear === void 0 ? void 0 : allowClear.clearIcon)) {\n mergedAllowClear = allowClear;\n } else if (allowClear) {\n mergedAllowClear = {\n clearIcon: /*#__PURE__*/React.createElement(CloseCircleFilled, null)\n };\n }\n return mergedAllowClear;\n};\nexport default getAllowClear;"],"mappings":"AAAA,YAAY;;AAEZ,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,iBAAiB,MAAM,8CAA8C;AAC5E,MAAMC,aAAa,GAAGC,UAAU,IAAI;EAClC,IAAIC,gBAAgB;EACpB,IAAI,OAAOD,UAAU,KAAK,QAAQ,KAAKA,UAAU,KAAK,IAAI,IAAIA,UAAU,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,UAAU,CAACE,SAAS,CAAC,EAAE;IACpHD,gBAAgB,GAAGD,UAAU;EAC/B,CAAC,MAAM,IAAIA,UAAU,EAAE;IACrBC,gBAAgB,GAAG;MACjBC,SAAS,EAAE,aAAaL,KAAK,CAACM,aAAa,CAACL,iBAAiB,EAAE,IAAI;IACrE,CAAC;EACH;EACA,OAAOG,gBAAgB;AACzB,CAAC;AACD,eAAeF,aAAa","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |