{"ast":null,"code":"import _Reflect$construct from \"@babel/runtime-corejs2/core-js/reflect/construct\";\nimport _classCallCheck from \"@babel/runtime-corejs2/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime-corejs2/helpers/createClass\";\nimport _inherits from \"@babel/runtime-corejs2/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime-corejs2/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime-corejs2/helpers/getPrototypeOf\";\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function () { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !_Reflect$construct) return false; if (_Reflect$construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(_Reflect$construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nimport * as React from \"react\"; // const d3 = Object.assign({}, require(\"d3-dsv\"));\n// import DataTransform from \"@nteract/transform-dataresource\";\n\nvar CSVView = /*#__PURE__*/function (_React$Component) {\n  _inherits(CSVView, _React$Component);\n\n  var _super = _createSuper(CSVView);\n\n  function CSVView() {\n    _classCallCheck(this, CSVView);\n\n    return _super.apply(this, arguments);\n  }\n\n  _createClass(CSVView, [{\n    key: \"shouldComponentUpdate\",\n    value: function shouldComponentUpdate() {\n      return false;\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      // const data = d3.csvParse(this.props.entry.content);\n      return /*#__PURE__*/React.createElement(\"div\", null, \"No support for csv at this time\"); // return <DataTransform data={{ data }} metadata={{}} theme=\"light\" />;\n    }\n  }]);\n\n  return CSVView;\n}(React.Component);\n\nexport { CSVView as default };","map":null,"metadata":{},"sourceType":"module"}