{"ast":null,"code":"import React, { Component } from 'react';\nimport { classNames } from 'primereact/utils';\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n\n return _assertThisInitialized(self);\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n\n return function _createSuperInternal() {\n var Super = _getPrototypeOf(Derived),\n result;\n\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n\n return _possibleConstructorReturn(this, result);\n };\n}\n\nfunction _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nvar Chart = /*#__PURE__*/function (_Component) {\n _inherits(Chart, _Component);\n\n var _super = _createSuper(Chart);\n\n function Chart() {\n _classCallCheck(this, Chart);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(Chart, [{\n key: \"initChart\",\n value: function initChart() {\n var _this = this;\n\n import('chart.js/auto').then(function (module) {\n if (_this.chart) {\n _this.chart.destroy();\n\n _this.chart = null;\n }\n\n if (module && module[\"default\"]) {\n _this.chart = new module[\"default\"](_this.canvas, {\n type: _this.props.type,\n data: _this.props.data,\n options: _this.props.options,\n plugins: _this.props.plugins\n });\n }\n });\n }\n }, {\n key: \"getCanvas\",\n value: function getCanvas() {\n return this.canvas;\n }\n }, {\n key: \"getChart\",\n value: function getChart() {\n return this.chart;\n }\n }, {\n key: \"getBase64Image\",\n value: function getBase64Image() {\n return this.chart.toBase64Image();\n }\n }, {\n key: \"generateLegend\",\n value: function generateLegend() {\n if (this.chart) {\n this.chart.generateLegend();\n }\n }\n }, {\n key: \"refresh\",\n value: function refresh() {\n if (this.chart) {\n this.chart.update();\n }\n }\n }, {\n key: \"reinit\",\n value: function reinit() {\n this.initChart();\n }\n }, {\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps) {\n if (nextProps.data === this.props.data && nextProps.options === this.props.options && nextProps.type === this.props.type) {\n return false;\n }\n\n return true;\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.initChart();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n this.reinit();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n if (this.chart) {\n this.chart.destroy();\n this.chart = null;\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n\n var className = classNames('p-chart', this.props.className),\n style = Object.assign({\n width: this.props.width,\n height: this.props.height\n }, this.props.style);\n return /*#__PURE__*/React.createElement(\"div\", {\n id: this.props.id,\n style: style,\n className: className\n }, /*#__PURE__*/React.createElement(\"canvas\", {\n ref: function ref(el) {\n _this2.canvas = el;\n },\n width: this.props.width,\n height: this.props.height\n }));\n }\n }]);\n\n return Chart;\n}(Component);\n\n_defineProperty(Chart, \"defaultProps\", {\n id: null,\n type: null,\n data: null,\n options: null,\n plugins: null,\n width: null,\n height: null,\n style: null,\n className: null\n});\n\nexport { Chart };","map":{"version":3,"names":["React","Component","classNames","_classCallCheck","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_createClass","protoProps","staticProps","prototype","_setPrototypeOf","o","p","setPrototypeOf","__proto__","_inherits","subClass","superClass","create","constructor","value","_typeof","obj","Symbol","iterator","_assertThisInitialized","self","ReferenceError","_possibleConstructorReturn","call","_getPrototypeOf","getPrototypeOf","_defineProperty","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","_createSuperInternal","Super","result","NewTarget","Reflect","construct","arguments","apply","sham","Proxy","Boolean","valueOf","e","Chart","_Component","_super","initChart","_this","then","module","chart","destroy","canvas","type","data","options","plugins","getCanvas","getChart","getBase64Image","toBase64Image","generateLegend","refresh","update","reinit","shouldComponentUpdate","nextProps","componentDidMount","componentDidUpdate","componentWillUnmount","render","_this2","className","style","assign","width","height","createElement","id","ref","el"],"sources":["/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/primereact/chart/chart.esm.js"],"sourcesContent":["import React, { Component } from 'react';\nimport { classNames } from 'primereact/utils';\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n\n return _assertThisInitialized(self);\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { 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 { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nvar Chart = /*#__PURE__*/function (_Component) {\n _inherits(Chart, _Component);\n\n var _super = _createSuper(Chart);\n\n function Chart() {\n _classCallCheck(this, Chart);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(Chart, [{\n key: \"initChart\",\n value: function initChart() {\n var _this = this;\n\n import('chart.js/auto').then(function (module) {\n if (_this.chart) {\n _this.chart.destroy();\n\n _this.chart = null;\n }\n\n if (module && module[\"default\"]) {\n _this.chart = new module[\"default\"](_this.canvas, {\n type: _this.props.type,\n data: _this.props.data,\n options: _this.props.options,\n plugins: _this.props.plugins\n });\n }\n });\n }\n }, {\n key: \"getCanvas\",\n value: function getCanvas() {\n return this.canvas;\n }\n }, {\n key: \"getChart\",\n value: function getChart() {\n return this.chart;\n }\n }, {\n key: \"getBase64Image\",\n value: function getBase64Image() {\n return this.chart.toBase64Image();\n }\n }, {\n key: \"generateLegend\",\n value: function generateLegend() {\n if (this.chart) {\n this.chart.generateLegend();\n }\n }\n }, {\n key: \"refresh\",\n value: function refresh() {\n if (this.chart) {\n this.chart.update();\n }\n }\n }, {\n key: \"reinit\",\n value: function reinit() {\n this.initChart();\n }\n }, {\n key: \"shouldComponentUpdate\",\n value: function shouldComponentUpdate(nextProps) {\n if (nextProps.data === this.props.data && nextProps.options === this.props.options && nextProps.type === this.props.type) {\n return false;\n }\n\n return true;\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.initChart();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n this.reinit();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n if (this.chart) {\n this.chart.destroy();\n this.chart = null;\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n\n var className = classNames('p-chart', this.props.className),\n style = Object.assign({\n width: this.props.width,\n height: this.props.height\n }, this.props.style);\n return /*#__PURE__*/React.createElement(\"div\", {\n id: this.props.id,\n style: style,\n className: className\n }, /*#__PURE__*/React.createElement(\"canvas\", {\n ref: function ref(el) {\n _this2.canvas = el;\n },\n width: this.props.width,\n height: this.props.height\n }));\n }\n }]);\n\n return Chart;\n}(Component);\n\n_defineProperty(Chart, \"defaultProps\", {\n id: null,\n type: null,\n data: null,\n options: null,\n plugins: null,\n width: null,\n height: null,\n style: null,\n className: null\n});\n\nexport { Chart };\n"],"mappings":"AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,SAASC,UAAT,QAA2B,kBAA3B;;AAEA,SAASC,eAAT,CAAyBC,QAAzB,EAAmCC,WAAnC,EAAgD;EAC9C,IAAI,EAAED,QAAQ,YAAYC,WAAtB,CAAJ,EAAwC;IACtC,MAAM,IAAIC,SAAJ,CAAc,mCAAd,CAAN;EACD;AACF;;AAED,SAASC,iBAAT,CAA2BC,MAA3B,EAAmCC,KAAnC,EAA0C;EACxC,KAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGD,KAAK,CAACE,MAA1B,EAAkCD,CAAC,EAAnC,EAAuC;IACrC,IAAIE,UAAU,GAAGH,KAAK,CAACC,CAAD,CAAtB;IACAE,UAAU,CAACC,UAAX,GAAwBD,UAAU,CAACC,UAAX,IAAyB,KAAjD;IACAD,UAAU,CAACE,YAAX,GAA0B,IAA1B;IACA,IAAI,WAAWF,UAAf,EAA2BA,UAAU,CAACG,QAAX,GAAsB,IAAtB;IAC3BC,MAAM,CAACC,cAAP,CAAsBT,MAAtB,EAA8BI,UAAU,CAACM,GAAzC,EAA8CN,UAA9C;EACD;AACF;;AAED,SAASO,YAAT,CAAsBd,WAAtB,EAAmCe,UAAnC,EAA+CC,WAA/C,EAA4D;EAC1D,IAAID,UAAJ,EAAgBb,iBAAiB,CAACF,WAAW,CAACiB,SAAb,EAAwBF,UAAxB,CAAjB;EAChB,IAAIC,WAAJ,EAAiBd,iBAAiB,CAACF,WAAD,EAAcgB,WAAd,CAAjB;EACjBL,MAAM,CAACC,cAAP,CAAsBZ,WAAtB,EAAmC,WAAnC,EAAgD;IAC9CU,QAAQ,EAAE;EADoC,CAAhD;EAGA,OAAOV,WAAP;AACD;;AAED,SAASkB,eAAT,CAAyBC,CAAzB,EAA4BC,CAA5B,EAA+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