PromoCursed/node_modules/.cache/babel-loader/480cbaa5d94d913b9a9ffd3292a463c686cb2ab525d3baa5926cbe69f2a8f656.json

1 line
5.2 KiB
JSON
Raw Normal View History

2024-08-20 23:25:37 +04:00
{"ast":null,"code":"\"use client\";\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nfunction notEmpty(val) {\n return val !== undefined && val !== null;\n}\nconst Cell = props => {\n const {\n itemPrefixCls,\n component,\n span,\n className,\n style,\n labelStyle,\n contentStyle,\n bordered,\n label,\n content,\n colon,\n type\n } = props;\n const Component = component;\n if (bordered) {\n return /*#__PURE__*/React.createElement(Component, {\n className: classNames({\n [`${itemPrefixCls}-item-label`]: type === 'label',\n [`${itemPrefixCls}-item-content`]: type === 'content'\n }, className),\n style: style,\n colSpan: span\n }, notEmpty(label) && /*#__PURE__*/React.createElement(\"span\", {\n style: labelStyle\n }, label), notEmpty(content) && /*#__PURE__*/React.createElement(\"span\", {\n style: contentStyle\n }, content));\n }\n return /*#__PURE__*/React.createElement(Component, {\n className: classNames(`${itemPrefixCls}-item`, className),\n style: style,\n colSpan: span\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: `${itemPrefixCls}-item-container`\n }, (label || label === 0) && ( /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(`${itemPrefixCls}-item-label`, {\n [`${itemPrefixCls}-item-no-colon`]: !colon\n }),\n style: labelStyle\n }, label)), (content || content === 0) && ( /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(`${itemPrefixCls}-item-content`),\n style: contentStyle\n }, content))));\n};\nexport default Cell;","map":{"version":3,"names":["React","classNames","notEmpty","val","undefined","Cell","props","itemPrefixCls","component","span","className","style","labelStyle","contentStyle","bordered","label","content","colon","type","Component","createElement","colSpan"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/descriptions/Cell.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nfunction notEmpty(val) {\n return val !== undefined && val !== null;\n}\nconst Cell = props => {\n const {\n itemPrefixCls,\n component,\n span,\n className,\n style,\n labelStyle,\n contentStyle,\n bordered,\n label,\n content,\n colon,\n type\n } = props;\n const Component = component;\n if (bordered) {\n return /*#__PURE__*/React.createElement(Component, {\n className: classNames({\n [`${itemPrefixCls}-item-label`]: type === 'label',\n [`${itemPrefixCls}-item-content`]: type === 'content'\n }, className),\n style: style,\n colSpan: span\n }, notEmpty(label) && /*#__PURE__*/React.createElement(\"span\", {\n style: labelStyle\n }, label), notEmpty(content) && /*#__PURE__*/React.createElement(\"span\", {\n style: contentStyle\n }, content));\n }\n return /*#__PURE__*/React.createElement(Component, {\n className: classNames(`${itemPrefixCls}-item`, className),\n style: style,\n colSpan: span\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: `${itemPrefixCls}-item-container`\n }, (label || label === 0) && ( /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(`${itemPrefixCls}-item-label`, {\n [`${itemPrefixCls}-item-no-colon`]: !colon\n }),\n style: labelStyle\n }, label)), (content || content === 0) && ( /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(`${itemPrefixCls}-item-content`),\n style: contentStyle\n }, content))));\n};\nexport default Cell;"],"mappings":"AAAA,YAAY;;AAEZ,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,UAAU,MAAM,YAAY;AACnC,SAASC,QAAQA,CAACC,GAAG,EAAE;EACrB,OAAOA,GAAG,KAAKC,SAAS,IAAID,GAAG,KAAK,IAAI;AAC1C;AACA,MAAME,IAAI,GAAGC,KAAK,IAAI;EACpB,MAAM;IACJC,aAAa;IACbC,SAAS;IACTC,IAAI;IACJC,SAAS;IACTC,KAAK;IACLC,UAAU;IACVC,YAAY;IACZC,QAAQ;IACRC,KAAK;IACLC,OAAO;IACPC,KAAK;IACLC;EACF,CAAC,GAAGZ,KAAK;EACT,MAAMa,SAAS,GAAGX,SAAS;EAC3B,IA