{"version":3,"sources":["webpack:///./src/apps/dashboard/BaoWidgetsBaseComponents/LineChart.js"],"names":["reactiveProp","extends","mixins","props","chartOptions","type","Object","required","this","chartData","customChartRender","methods","val","options","renderChart","e","console","log","watch"],"mappings":"6GAAA,uBAEA,MAAM,aAAEA,GAAiB,OAEV,cACbC,QAAS,OACTC,OAAQ,CAACF,GACTG,MAAO,CACLC,aAAc,CACZC,KAAMC,OACNC,UAAU,IAGd,UACMC,KAAKC,WACPD,KAAKE,kBAAkBF,KAAKC,YAGhCE,QAAS,CACP,kBAAmBC,GACjB,IACE,MAAMC,EAAUL,KAAKJ,aACrBI,KAAKM,YAAYF,EAAKC,GACtB,MAAOE,GACPC,QAAQC,IAAIF,MAIlBG,MAAO,CACL,UAAWN,GACTJ,KAAKE,kBAAkBE","file":"js/LineChart.1ee016a4.js","sourcesContent":["import { Line, mixins } from \"vue-chartjs\"\n\nconst { reactiveProp } = mixins\n\nexport default {\n extends: Line,\n mixins: [reactiveProp],\n props: {\n chartOptions: {\n type: Object,\n required: true\n }\n },\n mounted () {\n if (this.chartData) {\n this.customChartRender(this.chartData)\n }\n },\n methods: {\n customChartRender (val) {\n try {\n const options = this.chartOptions\n this.renderChart(val, options)\n } catch (e) {\n console.log(e)\n }\n }\n },\n watch: {\n chartData (val) {\n this.customChartRender(val)\n }\n }\n}\n"],"sourceRoot":""}