PromoCursed/node_modules/.cache/babel-loader/3c46fd4b0d190629d9a6a465736b9dbe5a680d24931d4011ce2ed7d3ce9f3f3e.json

1 line
2.4 KiB
JSON
Raw Normal View History

2024-08-20 23:25:37 +04:00
{"ast":null,"code":"import classNames from 'classnames';\nimport React from 'react';\nvar ColorBlock = function ColorBlock(_ref) {\n var color = _ref.color,\n prefixCls = _ref.prefixCls,\n className = _ref.className,\n style = _ref.style,\n onClick = _ref.onClick;\n var colorBlockCls = \"\".concat(prefixCls, \"-color-block\");\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(colorBlockCls, className),\n style: style,\n onClick: onClick\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(colorBlockCls, \"-inner\"),\n style: {\n background: color\n }\n }));\n};\nexport default ColorBlock;","map":{"version":3,"names":["classNames","React","ColorBlock","_ref","color","prefixCls","className","style","onClick","colorBlockCls","concat","createElement","background"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/@rc-component/color-picker/es/components/ColorBlock.js"],"sourcesContent":["import classNames from 'classnames';\nimport React from 'react';\nvar ColorBlock = function ColorBlock(_ref) {\n var color = _ref.color,\n prefixCls = _ref.prefixCls,\n className = _ref.className,\n style = _ref.style,\n onClick = _ref.onClick;\n var colorBlockCls = \"\".concat(prefixCls, \"-color-block\");\n return /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(colorBlockCls, className),\n style: style,\n onClick: onClick\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(colorBlockCls, \"-inner\"),\n style: {\n background: color\n }\n }));\n};\nexport default ColorBlock;"],"mappings":"AAAA,OAAOA,UAAU,MAAM,YAAY;AACnC,OAAOC,KAAK,MAAM,OAAO;AACzB,IAAIC,UAAU,GAAG,SAASA,UAAUA,CAACC,IAAI,EAAE;EACzC,IAAIC,KAAK,GAAGD,IAAI,CAACC,KAAK;IACpBC,SAAS,GAAGF,IAAI,CAACE,SAAS;IAC1BC,SAAS,GAAGH,IAAI,CAACG,SAAS;IAC1BC,KAAK,GAAGJ,IAAI,CAACI,KAAK;IAClBC,OAAO,GAAGL,IAAI,CAACK,OAAO;EACxB,IAAIC,aAAa,GAAG,EAAE,CAACC,MAAM,CAACL,SAAS,EAAE,cAAc,CAAC;EACxD,OAAO,aAAaJ,KAAK,CAACU,aAAa,CAAC,KAAK,EAAE;IAC7CL,SAAS,EAAEN,UAAU,CAACS,aAAa,EAAEH,SAAS,CAAC;IAC/CC,KAAK,EAAEA,KAAK;IACZC,OAAO,EAAEA;EACX,CAAC,EAAE,aAAaP,KAAK,CAACU,aAAa,CAAC,KAAK,EAAE;IACzCL,SAAS,EAAE,EAAE,CAACI,MAAM,CAACD,aAAa,EAAE,QAAQ,CAAC;IAC7CF,KAAK,EAAE;MACLK,UAAU,EAAER;IACd;EACF,CAAC,CAAC,CAAC;AACL,CAAC;AACD,eAAeF,UAAU","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}