92f45735d2f2d945503af4b0db8e9016.json
3.38 KB
{"ast":null,"code":"import * as React from 'react';\nimport Cell from '../Cell';\nimport TableContext from '../context/TableContext';\nexport default function SummaryCell(_ref) {\n var className = _ref.className,\n index = _ref.index,\n children = _ref.children,\n colSpan = _ref.colSpan,\n rowSpan = _ref.rowSpan,\n align = _ref.align;\n\n var _React$useContext = React.useContext(TableContext),\n prefixCls = _React$useContext.prefixCls,\n fixedInfoList = _React$useContext.fixedInfoList;\n\n var fixedInfo = fixedInfoList[index];\n return React.createElement(Cell, Object.assign({\n className: className,\n index: index,\n component: \"td\",\n prefixCls: prefixCls,\n record: null,\n dataIndex: null,\n align: align,\n render: function render() {\n return {\n children: children,\n props: {\n colSpan: colSpan,\n rowSpan: rowSpan\n }\n };\n }\n }, fixedInfo));\n}","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/rc-table/es/Footer/Cell.js"],"names":["React","Cell","TableContext","SummaryCell","_ref","className","index","children","colSpan","rowSpan","align","_React$useContext","useContext","prefixCls","fixedInfoList","fixedInfo","createElement","Object","assign","component","record","dataIndex","render","props"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,IAAP,MAAiB,SAAjB;AACA,OAAOC,YAAP,MAAyB,yBAAzB;AACA,eAAe,SAASC,WAAT,CAAqBC,IAArB,EAA2B;AACxC,MAAIC,SAAS,GAAGD,IAAI,CAACC,SAArB;AAAA,MACIC,KAAK,GAAGF,IAAI,CAACE,KADjB;AAAA,MAEIC,QAAQ,GAAGH,IAAI,CAACG,QAFpB;AAAA,MAGIC,OAAO,GAAGJ,IAAI,CAACI,OAHnB;AAAA,MAIIC,OAAO,GAAGL,IAAI,CAACK,OAJnB;AAAA,MAKIC,KAAK,GAAGN,IAAI,CAACM,KALjB;;AAOA,MAAIC,iBAAiB,GAAGX,KAAK,CAACY,UAAN,CAAiBV,YAAjB,CAAxB;AAAA,MACIW,SAAS,GAAGF,iBAAiB,CAACE,SADlC;AAAA,MAEIC,aAAa,GAAGH,iBAAiB,CAACG,aAFtC;;AAIA,MAAIC,SAAS,GAAGD,aAAa,CAACR,KAAD,CAA7B;AACA,SAAON,KAAK,CAACgB,aAAN,CAAoBf,IAApB,EAA0BgB,MAAM,CAACC,MAAP,CAAc;AAC7Cb,IAAAA,SAAS,EAAEA,SADkC;AAE7CC,IAAAA,KAAK,EAAEA,KAFsC;AAG7Ca,IAAAA,SAAS,EAAE,IAHkC;AAI7CN,IAAAA,SAAS,EAAEA,SAJkC;AAK7CO,IAAAA,MAAM,EAAE,IALqC;AAM7CC,IAAAA,SAAS,EAAE,IANkC;AAO7CX,IAAAA,KAAK,EAAEA,KAPsC;AAQ7CY,IAAAA,MAAM,EAAE,SAASA,MAAT,GAAkB;AACxB,aAAO;AACLf,QAAAA,QAAQ,EAAEA,QADL;AAELgB,QAAAA,KAAK,EAAE;AACLf,UAAAA,OAAO,EAAEA,OADJ;AAELC,UAAAA,OAAO,EAAEA;AAFJ;AAFF,OAAP;AAOD;AAhB4C,GAAd,EAiB9BM,SAjB8B,CAA1B,CAAP;AAkBD","sourcesContent":["import * as React from 'react';\nimport Cell from '../Cell';\nimport TableContext from '../context/TableContext';\nexport default function SummaryCell(_ref) {\n var className = _ref.className,\n index = _ref.index,\n children = _ref.children,\n colSpan = _ref.colSpan,\n rowSpan = _ref.rowSpan,\n align = _ref.align;\n\n var _React$useContext = React.useContext(TableContext),\n prefixCls = _React$useContext.prefixCls,\n fixedInfoList = _React$useContext.fixedInfoList;\n\n var fixedInfo = fixedInfoList[index];\n return React.createElement(Cell, Object.assign({\n className: className,\n index: index,\n component: \"td\",\n prefixCls: prefixCls,\n record: null,\n dataIndex: null,\n align: align,\n render: function render() {\n return {\n children: children,\n props: {\n colSpan: colSpan,\n rowSpan: rowSpan\n }\n };\n }\n }, fixedInfo));\n}"]},"metadata":{},"sourceType":"module"}