Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-chartjs

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-chartjs - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1-rc0

3

dist/vue-chartjs.min.js

@@ -1,2 +0,1 @@

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("chart.js")):"function"==typeof define&&define.amd?define("VueChartJs",["chart.js"],e):"object"==typeof exports?exports.VueChartJs=e(require("chart.js")):t.VueChartJs=e(t["chart.js"])}(this,function(t){return function(t){function e(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return t[n].call(a.exports,a,a.exports,e),a.loaded=!0,a.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.mixins=e.Scatter=e.Bubble=e.Radar=e.PolarArea=e.Pie=e.Line=e.Doughnut=e.HorizontalBar=e.Bar=e.VueCharts=void 0;var a=r(13),i=n(a),s=r(16),u=n(s),o=r(15),c=n(o),l=r(17),f=n(l),d=r(18),h=n(d),p=r(19),y=n(p),b=r(20),v=n(b),g=r(14),_=n(g),m=r(21),j=n(m),w=r(22),O=n(w),x=r(52),P=n(x),k={version:P.default.version,Bar:i.default,HorizontalBar:u.default,Doughnut:c.default,Line:f.default,Pie:h.default,PolarArea:y.default,Radar:v.default,Bubble:_.default,Scatter:j.default,mixins:O.default};e.default=k,e.VueCharts=k,e.Bar=i.default,e.HorizontalBar=u.default,e.Doughnut=c.default,e.Line=f.default,e.Pie=h.default,e.PolarArea=y.default,e.Radar=v.default,e.Bubble=_.default,e.Scatter=j.default,e.mixins=O.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function a(t,e){return(0,s.default)(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.mergeOptions=a;var i=r(53),s=n(i)},function(e,r){e.exports=t},function(t,e){var r=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=r)},function(t,e,r){t.exports=!r(5)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){t.exports={default:r(25),__esModule:!0}},function(t,e,r){t.exports={default:r(26),__esModule:!0}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n=r(38),a=r(10);t.exports=function(t){return n(a(t))}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(2),i=n(a),s=r(1);e.default={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"bar-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{scales:{yAxes:[{ticks:{beginAtZero:!0},gridLines:{display:!1}}],xAxes:[{gridLines:{display:!1},categoryPercentage:.5,barPercentage:.2}]}},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e){var r=(0,s.mergeOptions)(this.defaultOptions,e);this.$data._chart=new i.default(this.$refs.canvas.getContext("2d"),{type:"bar",data:t,options:r,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(2),i=n(a),s=r(1);e.default={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"bubble-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{scales:{yAxes:[{ticks:{beginAtZero:!0},gridLines:{display:!1}}],xAxes:[{gridLines:{display:!1},categoryPercentage:.5,barPercentage:.2}]}},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e){var r=(0,s.mergeOptions)(this.defaultOptions,e);this.$data._chart=new i.default(this.$refs.canvas.getContext("2d"),{type:"bubble",data:t,options:r,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(2),i=n(a),s=r(1);e.default={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"doughnut-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e){var r=(0,s.mergeOptions)(this.defaultOptions,e);this.$data._chart=new i.default(this.$refs.canvas.getContext("2d"),{type:"doughnut",data:t,options:r,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(2),i=n(a),s=r(1);e.default={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"horizontalbar-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{scales:{yAxes:[{ticks:{beginAtZero:!0},gridLines:{display:!1}}],xAxes:[{gridLines:{display:!1},categoryPercentage:.5,barPercentage:.2}]}},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e,r){var n=(0,s.mergeOptions)(this.defaultOptions,e);this.$data._chart=new i.default(this.$refs.canvas.getContext("2d"),{type:"horizontalBar",data:t,options:n,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(2),i=n(a),s=r(1);e.default={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"line-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{scales:{yAxes:[{ticks:{beginAtZero:!0},gridLines:{display:!1}}],xAxes:[{gridLines:{display:!1}}]}},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e){var r=(0,s.mergeOptions)(this.defaultOptions,e);this.$data._chart=new i.default(this.$refs.canvas.getContext("2d"),{type:"line",data:t,options:r,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(2),i=n(a),s=r(1);e.default={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"pie-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e){var r=(0,s.mergeOptions)(this.defaultOptions,e);this.$data._chart=new i.default(this.$refs.canvas.getContext("2d"),{type:"pie",data:t,options:r,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(2),i=n(a),s=r(1);e.default={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"polar-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e){var r=(0,s.mergeOptions)(this.defaultOptions,e);this.$data._chart=new i.default(this.$refs.canvas.getContext("2d"),{type:"polarArea",data:t,options:r,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(2),i=n(a),s=r(1);e.default={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"radar-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e){var r=(0,s.mergeOptions)(this.defaultOptions,e);this.$data._chart=new i.default(this.$refs.canvas.getContext("2d"),{type:"radar",data:t,options:r,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(2),i=n(a),s=r(1);e.default={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"scatter-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{scales:{xAxes:[{type:"linear",position:"bottom"}]}},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e){var r=(0,s.mergeOptions)(this.defaultOptions,e);this.$data._chart=new i.default(this.$refs.canvas.getContext("2d"),{type:"scatter",data:t,options:r,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(23),i=n(a),s=r(24),u=n(s);e.default={reactiveData:i.default,reactiveProp:u.default}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var a=r(9),i=n(a),s=r(8),u=n(s);t.exports={data:function(){return{chartData:null}},watch:{chartData:{handler:function(t,e){if(e){var r=this.$data._chart,n=t.datasets.map(function(t){return t.label}),a=e.datasets.map(function(t){return t.label}),s=(0,u.default)(a),o=(0,u.default)(n);o===s&&e.datasets.length===t.datasets.length?(t.datasets.forEach(function(t,n){var a=(0,i.default)(e.datasets[n]),s=(0,i.default)(t),u=a.filter(function(t){return"_meta"!==t&&s.indexOf(t)===-1});u.forEach(function(t){delete r.data.datasets[n][t]});for(var o in t)t.hasOwnProperty(o)&&(r.data.datasets[n][o]=t[o])}),t.hasOwnProperty("labels")&&(r.data.labels=t.labels),t.hasOwnProperty("xLabels")&&(r.data.xLabels=t.xLabels),t.hasOwnProperty("yLabels")&&(r.data.yLabels=t.yLabels),r.update()):(r.destroy(),this.renderChart(this.chartData,this.options))}else this.renderChart(this.chartData,this.options)}}}}},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var a=r(9),i=n(a),s=r(8),u=n(s);t.exports={props:{chartData:{required:!0}},watch:{chartData:{handler:function(t,e){if(e){var r=this.$data._chart,n=t.datasets.map(function(t){return t.label}),a=e.datasets.map(function(t){return t.label}),s=(0,u.default)(a),o=(0,u.default)(n);o===s&&e.datasets.length===t.datasets.length?(t.datasets.forEach(function(t,n){var a=(0,i.default)(e.datasets[n]),s=(0,i.default)(t),u=a.filter(function(t){return"_meta"!==t&&s.indexOf(t)===-1});u.forEach(function(t){delete r.data.datasets[n][t]});for(var o in t)t.hasOwnProperty(o)&&(r.data.datasets[n][o]=t[o])}),t.hasOwnProperty("labels")&&(r.data.labels=t.labels),t.hasOwnProperty("xLabels")&&(r.data.xLabels=t.xLabels),t.hasOwnProperty("yLabels")&&(r.data.yLabels=t.yLabels),r.update()):(r.destroy(),this.renderChart(this.chartData,this.options))}else this.renderChart(this.chartData,this.options)}}}}},function(t,e,r){var n=r(3),a=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return a.stringify.apply(a,arguments)}},function(t,e,r){r(51),t.exports=r(3).Object.keys},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,r){var n=r(7);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,r){var n=r(12),a=r(47),i=r(46);t.exports=function(t){return function(e,r,s){var u,o=n(e),c=a(o.length),l=i(s,c);if(t&&r!=r){for(;c>l;)if(u=o[l++],u!=u)return!0}else for(;c>l;l++)if((t||l in o)&&o[l]===r)return t||l||0;return!t&&-1}}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n=r(27);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,a){return t.call(e,r,n,a)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){var n=r(7),a=r(6).document,i=n(a)&&n(a.createElement);t.exports=function(t){return i?a.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,r){var n=r(6),a=r(3),i=r(31),s=r(36),u="prototype",o=function(t,e,r){var c,l,f,d=t&o.F,h=t&o.G,p=t&o.S,y=t&o.P,b=t&o.B,v=t&o.W,g=h?a:a[e]||(a[e]={}),_=g[u],m=h?n:p?n[e]:(n[e]||{})[u];h&&(r=e);for(c in r)l=!d&&m&&void 0!==m[c],l&&c in g||(f=l?m[c]:r[c],g[c]=h&&"function"!=typeof m[c]?r[c]:b&&l?i(f,n):v&&m[c]==f?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e[u]=t[u],e}(f):y&&"function"==typeof f?i(Function.call,f):f,y&&((g.virtual||(g.virtual={}))[c]=f,t&o.R&&_&&!_[c]&&s(_,c,f)))};o.F=1,o.G=2,o.S=4,o.P=8,o.B=16,o.W=32,o.U=64,o.R=128,t.exports=o},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(39),a=r(43);t.exports=r(4)?function(t,e,r){return n.f(t,e,a(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){t.exports=!r(4)&&!r(5)(function(){return 7!=Object.defineProperty(r(32)("div"),"a",{get:function(){return 7}}).a})},function(t,e,r){var n=r(30);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e,r){var n=r(28),a=r(37),i=r(49),s=Object.defineProperty;e.f=r(4)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),a)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(35),a=r(12),i=r(29)(!1),s=r(44)("IE_PROTO");t.exports=function(t,e){var r,u=a(t),o=0,c=[];for(r in u)r!=s&&n(u,r)&&c.push(r);for(;e.length>o;)n(u,r=e[o++])&&(~i(c,r)||c.push(r));return c}},function(t,e,r){var n=r(40),a=r(33);t.exports=Object.keys||function(t){return n(t,a)}},function(t,e,r){var n=r(34),a=r(3),i=r(5);t.exports=function(t,e){var r=(a.Object||{})[t]||Object[t],s={};s[t]=e(r),n(n.S+n.F*i(function(){r(1)}),"Object",s)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){var n=r(45)("keys"),a=r(50);t.exports=function(t){return n[t]||(n[t]=a(t))}},function(t,e,r){var n=r(6),a="__core-js_shared__",i=n[a]||(n[a]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e,r){var n=r(11),a=Math.max,i=Math.min;t.exports=function(t,e){return t=n(t),t<0?a(t+e,0):i(t,e)}},function(t,e,r){var n=r(11),a=Math.min;t.exports=function(t){return t>0?a(n(t),9007199254740991):0}},function(t,e,r){var n=r(10);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(7);t.exports=function(t,e){if(!n(t))return t;var r,a;if(e&&"function"==typeof(r=t.toString)&&!n(a=r.call(t)))return a;if("function"==typeof(r=t.valueOf)&&!n(a=r.call(t)))return a;if(!e&&"function"==typeof(r=t.toString)&&!n(a=r.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},function(t,e,r){var n=r(48),a=r(41);r(42)("keys",function(){return function(t){return a(n(t))}})},function(t,e){t.exports={name:"vue-chartjs",version:"3.0.0",description:"Vue.js wrapper for chart.js for creating beautiful charts.",author:"Jakub Juszczak <jakub@posteo.de>",homepage:"http://vue-chartjs.org",license:"MIT",contributors:[{name:"Thorsten Lünborg",web:"https://github.com/LinusBorg"},{name:"Juan Carlos Alonso",web:"https://github.com/jcalonso"}],maintainers:[{name:"Jakub Juszczak",email:"jakub@posteo.de",web:"http://www.jakubjuszczak.de"}],repository:{type:"git",url:"git+ssh://git@github.com:apertureless/vue-chartjs.git"},bugs:{url:"https://github.com/apertureless/vue-chartjs/issues"},keywords:["ChartJs","Vue","Visualisation","Wrapper","Charts"],main:"dist/vue-chartjs.js",unpkg:"dist/vue-chartjs.full.min.js",module:"es/index.js","jsnext:main":"es/index.js",files:["src","dist","es"],scripts:{dev:"node build/dev-server.js",build:"yarn run release && yarn run build:es","build:es":"cross-env BABEL_ENV=es babel src --out-dir es",unit:"karma start test/unit/karma.conf.js --single-run",e2e:"node test/e2e/runner.js",test:"npm run unit",lint:"eslint --ext .js,.vue src test/unit/specs test/e2e/specs",release:"webpack --progress --hide-modules --config ./build/webpack.release.js && NODE_ENV=production webpack --progress --hide-modules --config ./build/webpack.release.min.js && webpack --progress --hide-modules --config ./build/webpack.release.full.js && NODE_ENV=production webpack --progress --hide-modules --config ./build/webpack.release.full.min.js",prepublish:"yarn run lint && yarn run test && yarn run build"},dependencies:{"lodash.merge":"^4.6.0"},peerDependencies:{"chart.js":"2.7.0",vue:"2.5.2"},devDependencies:{"babel-cli":"^6.24.1","babel-core":"^6.25.0","babel-loader":"6.4.1","babel-plugin-transform-object-assign":"^6.22.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015":"^6.24.1","babel-preset-stage-2":"^6.24.1","babel-runtime":"^6.23.0",chai:"^3.5.0","chart.js":"2.7.0",chromedriver:"^2.28.0","connect-history-api-fallback":"^1.1.0","cross-env":"^3.2.4","cross-spawn":"^5.1.0","css-loader":"^0.28.0",eslint:"^3.19.0","eslint-config-standard":"^10.2.1","eslint-friendly-formatter":"^2.0.7","eslint-loader":"^1.7.1","eslint-plugin-html":"^2.0.1","eslint-plugin-import":"^2.2.0","eslint-plugin-node":"^4.2.2","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^3.0.1","eventsource-polyfill":"^0.9.6",express:"^4.15.2","extract-text-webpack-plugin":"^1.0.1","file-loader":"^0.10.1","function-bind":"^1.0.2","html-webpack-plugin":"^2.28.0","http-proxy-middleware":"^0.17.4","inject-loader":"^3.0.0","isparta-loader":"^2.0.0","jasmine-core":"^2.5.2","json-loader":"^0.5.4",karma:"^1.5.0","karma-coverage":"^1.1.1","karma-jasmine":"^1.0.2","karma-mocha":"^1.2.0","karma-phantomjs-launcher":"^1.0.4","karma-sinon-chai":"^1.2.0","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"0.0.30","karma-webpack":"1.8.1",lolex:"^1.6.0",mocha:"^3.1.0",nightwatch:"^0.9.14",ora:"^1.2.0","phantomjs-prebuilt":"^2.1.13","selenium-server":"^3.3.1",shelljs:"^0.7.7",sinon:"^2.1.0","sinon-chai":"^2.9.0","url-loader":"^0.5.8",vue:"2.5.2","vue-hot-reload-api":"2.1.0","vue-html-loader":"^1.2.4","vue-loader":"12.2.2","vue-style-loader":"3.0.1","vue-template-compiler":"2.5.2",webpack:"^1.13.2","webpack-dev-middleware":"^1.10.1","webpack-hot-middleware":"^2.17.1","webpack-merge":"1.1.1"},engines:{node:">=6.9.0"},babel:{presets:["es2015"]},browserify:{transform:["babelify"]},greenkeeper:{ignore:["extract-text-webpack-plugin","karma-webpack","webpack","webpack-merge"]}}},function(t,e,r){(function(t,r){function n(t,e){return t.set(e[0],e[1]),t}function a(t,e){return t.add(e),t}function i(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}function s(t,e){for(var r=-1,n=t?t.length:0;++r<n&&e(t[r],r,t)!==!1;);return t}function u(t,e){for(var r=-1,n=e.length,a=t.length;++r<n;)t[a+r]=e[r];return t}function o(t,e,r,n){var a=-1,i=t?t.length:0;for(n&&i&&(r=t[++a]);++a<i;)r=e(r,t[a],a,t);return r}function c(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}function l(t){return function(e){return t(e)}}function f(t,e){return null==t?void 0:t[e]}function d(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function h(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function p(t,e){return function(r){return t(e(r))}}function y(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}function b(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function v(){this.__data__=ar?ar(null):{}}function g(t){return this.has(t)&&delete this.__data__[t]}function _(t){var e=this.__data__;if(ar){var r=e[t];return r===Ft?void 0:r}return ze.call(e,t)?e[t]:void 0}function m(t){var e=this.__data__;return ar?void 0!==e[t]:ze.call(e,t)}function j(t,e){var r=this.__data__;return r[t]=ar&&void 0===e?Ft:e,this}function w(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function O(){this.__data__=[]}function x(t){var e=this.__data__,r=R(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():Ge.call(e,r,1),!0}function P(t){var e=this.__data__,r=R(e,t);return r<0?void 0:e[r][1]}function k(t){return R(this.__data__,t)>-1}function C(t,e){var r=this.__data__,n=R(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}function S(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function $(){this.__data__={hash:new b,map:new(tr||w),string:new b}}function A(t){return yt(this,t).delete(t)}function M(t){return yt(this,t).get(t)}function I(t){return yt(this,t).has(t)}function L(t,e){return yt(this,t).set(t,e),this}function N(t){this.__data__=new w(t)}function D(){this.__data__=new w}function E(t){return this.__data__.delete(t)}function B(t){return this.__data__.get(t)}function z(t){return this.__data__.has(t)}function V(t,e){var r=this.__data__;if(r instanceof w){var n=r.__data__;if(!tr||n.length<Tt-1)return n.push([t,e]),this;r=this.__data__=new S(n)}return r.set(t,e),this}function J(t,e){var r=pr(t)||St(t)?c(t.length,String):[],n=r.length,a=!!n;for(var i in t)!e&&!ze.call(t,i)||a&&("length"==i||mt(i,n))||r.push(i);return r}function T(t,e,r){(void 0===r||Ct(t[e],r))&&("number"!=typeof e||void 0!==r||e in t)||(t[e]=r)}function F(t,e,r){var n=t[e];ze.call(t,e)&&Ct(n,r)&&(void 0!==r||e in t)||(t[e]=r)}function R(t,e){for(var r=t.length;r--;)if(Ct(t[r][0],e))return r;return-1}function U(t,e){return t&&ft(e,Bt(e),t)}function W(t,e,r,n,a,i,u){var o;if(n&&(o=i?n(t,a,i,u):n(t)),void 0!==o)return o;if(!Lt(t))return t;var c=pr(t);if(c){if(o=vt(t),!e)return lt(t,o)}else{var l=hr(t),f=l==Ht||l==Kt;if(yr(t))return rt(t,e);if(l==Yt||l==Ut||f&&!i){if(d(t))return i?t:{};if(o=gt(f?{}:t),!e)return dt(t,U(o,t))}else{if(!we[l])return i?t:{};o=_t(t,l,W,e)}}u||(u=new N);var h=u.get(t);if(h)return h;if(u.set(t,o),!c)var p=r?pt(t):Bt(t);return s(p||t,function(a,i){p&&(i=a,a=t[i]),F(o,i,W(a,e,r,n,i,t,u))}),o}function Z(t){return Lt(t)?Ze(t):{}}function q(t,e,r){var n=e(t);return pr(t)?n:u(n,r(t))}function G(t){return Je.call(t)}function H(t){if(!Lt(t)||Ot(t))return!1;var e=Mt(t)||d(t)?Te:_e;return e.test(kt(t))}function K(t){return Nt(t)&&It(t.length)&&!!je[Je.call(t)]}function Q(t){if(!xt(t))return Qe(t);var e=[];for(var r in Object(t))ze.call(t,r)&&"constructor"!=r&&e.push(r);return e}function X(t){if(!Lt(t))return Pt(t);var e=xt(t),r=[];for(var n in t)("constructor"!=n||!e&&ze.call(t,n))&&r.push(n);return r}function Y(t,e,r,n,a){if(t!==e){if(!pr(e)&&!br(e))var i=X(e);s(i||e,function(s,u){if(i&&(u=s,s=e[u]),Lt(s))a||(a=new N),tt(t,e,u,r,Y,n,a);else{var o=n?n(t[u],s,u+"",t,e,a):void 0;void 0===o&&(o=s),T(t,u,o)}})}}function tt(t,e,r,n,a,i,s){var u=t[r],o=e[r],c=s.get(o);if(c)return void T(t,r,c);var l=i?i(u,o,r+"",t,e,s):void 0,f=void 0===l;f&&(l=o,pr(o)||br(o)?pr(u)?l=u:At(u)?l=lt(u):(f=!1,l=W(o,!0)):Dt(o)||St(o)?St(u)?l=Et(u):!Lt(u)||n&&Mt(u)?(f=!1,l=W(o,!0)):l=u:f=!1),f&&(s.set(o,l),a(l,o,n,i,s),s.delete(o)),T(t,r,l)}function et(t,e){return e=Xe(void 0===e?t.length-1:e,0),function(){for(var r=arguments,n=-1,a=Xe(r.length-e,0),s=Array(a);++n<a;)s[n]=r[e+n];n=-1;for(var u=Array(e+1);++n<e;)u[n]=r[n];return u[e]=s,i(t,this,u)}}function rt(t,e){if(e)return t.slice();var r=new t.constructor(t.length);return t.copy(r),r}function nt(t){var e=new t.constructor(t.byteLength);return new Ue(e).set(new Ue(t)),e}function at(t,e){var r=e?nt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}function it(t,e,r){var a=e?r(h(t),!0):h(t);return o(a,n,new t.constructor)}function st(t){var e=new t.constructor(t.source,ge.exec(t));return e.lastIndex=t.lastIndex,e}function ut(t,e,r){var n=e?r(y(t),!0):y(t);return o(n,a,new t.constructor)}function ot(t){return fr?Object(fr.call(t)):{}}function ct(t,e){var r=e?nt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function lt(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}function ft(t,e,r,n){r||(r={});for(var a=-1,i=e.length;++a<i;){var s=e[a],u=n?n(r[s],t[s],s,r,t):void 0;F(r,s,void 0===u?t[s]:u)}return r}function dt(t,e){return ft(t,dr(t),e)}function ht(t){return et(function(e,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(a--,i):void 0,s&&jt(r[0],r[1],s)&&(i=a<3?void 0:i,a=1),e=Object(e);++n<a;){var u=r[n];u&&t(e,u,n,i)}return e})}function pt(t){return q(t,Bt,dr)}function yt(t,e){var r=t.__data__;return wt(e)?r["string"==typeof e?"string":"hash"]:r.map}function bt(t,e){var r=f(t,e);return H(r)?r:void 0}function vt(t){var e=t.length,r=t.constructor(e);return e&&"string"==typeof t[0]&&ze.call(t,"index")&&(r.index=t.index,r.input=t.input),r}function gt(t){return"function"!=typeof t.constructor||xt(t)?{}:Z(We(t))}function _t(t,e,r,n){var a=t.constructor;switch(e){case se:return nt(t);case Zt:case qt:return new a(+t);case ue:return at(t,n);case oe:case ce:case le:case fe:case de:case he:case pe:case ye:case be:return ct(t,n);case Qt:return it(t,n,r);case Xt:case ne:return new a(t);case ee:return st(t);case re:return ut(t,n,r);case ae:return ot(t)}}function mt(t,e){return e=null==e?Rt:e,!!e&&("number"==typeof t||me.test(t))&&t>-1&&t%1==0&&t<e}function jt(t,e,r){if(!Lt(r))return!1;var n=typeof e;return!!("number"==n?$t(r)&&mt(e,r.length):"string"==n&&e in r)&&Ct(r[e],t)}function wt(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Ot(t){return!!Ee&&Ee in t}function xt(t){var e=t&&t.constructor,r="function"==typeof e&&e.prototype||Ne;return t===r}function Pt(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}function kt(t){if(null!=t){try{return Be.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Ct(t,e){return t===e||t!==t&&e!==e}function St(t){return At(t)&&ze.call(t,"callee")&&(!qe.call(t,"callee")||Je.call(t)==Ut)}function $t(t){return null!=t&&It(t.length)&&!Mt(t)}function At(t){return Nt(t)&&$t(t)}function Mt(t){var e=Lt(t)?Je.call(t):"";return e==Ht||e==Kt}function It(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Rt}function Lt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Nt(t){return!!t&&"object"==typeof t}function Dt(t){if(!Nt(t)||Je.call(t)!=Yt||d(t))return!1;var e=We(t);if(null===e)return!0;var r=ze.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&Be.call(r)==Ve}function Et(t){return ft(t,zt(t))}function Bt(t){return $t(t)?J(t):Q(t)}function zt(t){return $t(t)?J(t,!0):X(t)}function Vt(){return[]}function Jt(){return!1}var Tt=200,Ft="__lodash_hash_undefined__",Rt=9007199254740991,Ut="[object Arguments]",Wt="[object Array]",Zt="[object Boolean]",qt="[object Date]",Gt="[object Error]",Ht="[object Function]",Kt="[object GeneratorFunction]",Qt="[object Map]",Xt="[object Number]",Yt="[object Object]",te="[object Promise]",ee="[object RegExp]",re="[object Set]",ne="[object String]",ae="[object Symbol]",ie="[object WeakMap]",se="[object ArrayBuffer]",ue="[object DataView]",oe="[object Float32Array]",ce="[object Float64Array]",le="[object Int8Array]",fe="[object Int16Array]",de="[object Int32Array]",he="[object Uint8Array]",pe="[object Uint8ClampedArray]",ye="[object Uint16Array]",be="[object Uint32Array]",ve=/[\\^$.*+?()[\]{}|]/g,ge=/\w*$/,_e=/^\[object .+?Constructor\]$/,me=/^(?:0|[1-9]\d*)$/,je={};je[oe]=je[ce]=je[le]=je[fe]=je[de]=je[he]=je[pe]=je[ye]=je[be]=!0,je[Ut]=je[Wt]=je[se]=je[Zt]=je[ue]=je[qt]=je[Gt]=je[Ht]=je[Qt]=je[Xt]=je[Yt]=je[ee]=je[re]=je[ne]=je[ie]=!1;var we={};we[Ut]=we[Wt]=we[se]=we[ue]=we[Zt]=we[qt]=we[oe]=we[ce]=we[le]=we[fe]=we[de]=we[Qt]=we[Xt]=we[Yt]=we[ee]=we[re]=we[ne]=we[ae]=we[he]=we[pe]=we[ye]=we[be]=!0,we[Gt]=we[Ht]=we[ie]=!1;var Oe="object"==typeof t&&t&&t.Object===Object&&t,xe="object"==typeof self&&self&&self.Object===Object&&self,Pe=Oe||xe||Function("return this")(),ke="object"==typeof e&&e&&!e.nodeType&&e,Ce=ke&&"object"==typeof r&&r&&!r.nodeType&&r,Se=Ce&&Ce.exports===ke,$e=Se&&Oe.process,Ae=function(){try{return $e&&$e.binding("util")}catch(t){}}(),Me=Ae&&Ae.isTypedArray,Ie=Array.prototype,Le=Function.prototype,Ne=Object.prototype,De=Pe["__core-js_shared__"],Ee=function(){var t=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Be=Le.toString,ze=Ne.hasOwnProperty,Ve=Be.call(Object),Je=Ne.toString,Te=RegExp("^"+Be.call(ze).replace(ve,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fe=Se?Pe.Buffer:void 0,Re=Pe.Symbol,Ue=Pe.Uint8Array,We=p(Object.getPrototypeOf,Object),Ze=Object.create,qe=Ne.propertyIsEnumerable,Ge=Ie.splice,He=Object.getOwnPropertySymbols,Ke=Fe?Fe.isBuffer:void 0,Qe=p(Object.keys,Object),Xe=Math.max,Ye=bt(Pe,"DataView"),tr=bt(Pe,"Map"),er=bt(Pe,"Promise"),rr=bt(Pe,"Set"),nr=bt(Pe,"WeakMap"),ar=bt(Object,"create"),ir=kt(Ye),sr=kt(tr),ur=kt(er),or=kt(rr),cr=kt(nr),lr=Re?Re.prototype:void 0,fr=lr?lr.valueOf:void 0;b.prototype.clear=v,b.prototype.delete=g,b.prototype.get=_,b.prototype.has=m,b.prototype.set=j,w.prototype.clear=O,w.prototype.delete=x,w.prototype.get=P,w.prototype.has=k,w.prototype.set=C,S.prototype.clear=$,S.prototype.delete=A,S.prototype.get=M,S.prototype.has=I,S.prototype.set=L,N.prototype.clear=D,
N.prototype.delete=E,N.prototype.get=B,N.prototype.has=z,N.prototype.set=V;var dr=He?p(He,Object):Vt,hr=G;(Ye&&hr(new Ye(new ArrayBuffer(1)))!=ue||tr&&hr(new tr)!=Qt||er&&hr(er.resolve())!=te||rr&&hr(new rr)!=re||nr&&hr(new nr)!=ie)&&(hr=function(t){var e=Je.call(t),r=e==Yt?t.constructor:void 0,n=r?kt(r):void 0;if(n)switch(n){case ir:return ue;case sr:return Qt;case ur:return te;case or:return re;case cr:return ie}return e});var pr=Array.isArray,yr=Ke||Jt,br=Me?l(Me):K,vr=ht(function(t,e,r){Y(t,e,r)});r.exports=vr}).call(e,function(){return this}(),r(54)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}}])});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("chart.js")):"function"==typeof define&&define.amd?define("VueChartJs",["chart.js"],e):"object"==typeof exports?exports.VueChartJs=e(require("chart.js")):t.VueChartJs=e(t["chart.js"])}(this,function(t){return function(t){function e(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=11)}([function(e,r){e.exports=t},function(t,e){var r=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=r)},function(t,e){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){t.exports=!r(5)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,r){t.exports=r(16)},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){var n=r(22),a=r(7);t.exports=function(t){return n(a(t))}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){t.exports=r(42)},function(t,e,r){"use strict";function n(t,e){return o()(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var a=r(0),i=r.n(a),s=r(12),o=r.n(s),u={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"bar-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{scales:{yAxes:[{ticks:{beginAtZero:!0},gridLines:{display:!1}}],xAxes:[{gridLines:{display:!1},categoryPercentage:.5,barPercentage:.2}]}},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e){var r=n(this.defaultOptions,e);this.$data._chart=new i.a(this.$refs.canvas.getContext("2d"),{type:"bar",data:t,options:r,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}},c={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"horizontalbar-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{scales:{yAxes:[{ticks:{beginAtZero:!0},gridLines:{display:!1}}],xAxes:[{gridLines:{display:!1},categoryPercentage:.5,barPercentage:.2}]}},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e,r){var a=n(this.defaultOptions,e);this.$data._chart=new i.a(this.$refs.canvas.getContext("2d"),{type:"horizontalBar",data:t,options:a,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}},l={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"doughnut-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e){var r=n(this.defaultOptions,e);this.$data._chart=new i.a(this.$refs.canvas.getContext("2d"),{type:"doughnut",data:t,options:r,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}},f={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"line-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{scales:{yAxes:[{ticks:{beginAtZero:!0},gridLines:{display:!1}}],xAxes:[{gridLines:{display:!1}}]}},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e){var r=n(this.defaultOptions,e);this.$data._chart=new i.a(this.$refs.canvas.getContext("2d"),{type:"line",data:t,options:r,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}},h={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"pie-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e){var r=n(this.defaultOptions,e);this.$data._chart=new i.a(this.$refs.canvas.getContext("2d"),{type:"pie",data:t,options:r,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}},d={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"polar-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e){var r=n(this.defaultOptions,e);this.$data._chart=new i.a(this.$refs.canvas.getContext("2d"),{type:"polarArea",data:t,options:r,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}},p={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"radar-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e){var r=n(this.defaultOptions,e);this.$data._chart=new i.a(this.$refs.canvas.getContext("2d"),{type:"radar",data:t,options:r,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}},y={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"bubble-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{scales:{yAxes:[{ticks:{beginAtZero:!0},gridLines:{display:!1}}],xAxes:[{gridLines:{display:!1},categoryPercentage:.5,barPercentage:.2}]}},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e){var r=n(this.defaultOptions,e);this.$data._chart=new i.a(this.$refs.canvas.getContext("2d"),{type:"bubble",data:t,options:r,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}},b={render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:"scatter-chart",type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object}},data:function(){return{_chart:null,defaultOptions:{scales:{xAxes:[{type:"linear",position:"bottom"}]}},plugins:[]}},methods:{addPlugin:function(t){this.plugins.push(t)},renderChart:function(t,e){var r=n(this.defaultOptions,e);this.$data._chart=new i.a(this.$refs.canvas.getContext("2d"),{type:"scatter",data:t,options:r,plugins:this.plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}},g=r(15),v=r.n(g),_=r(43),m=r.n(_),w={reactiveData:v.a,reactiveProp:m.a},j=r(44),x=r.n(j);r.d(e,"VueCharts",function(){return O}),r.d(e,"Bar",function(){return u}),r.d(e,"HorizontalBar",function(){return c}),r.d(e,"Doughnut",function(){return l}),r.d(e,"Line",function(){return f}),r.d(e,"Pie",function(){return h}),r.d(e,"PolarArea",function(){return d}),r.d(e,"Radar",function(){return p}),r.d(e,"Bubble",function(){return y}),r.d(e,"Scatter",function(){return b}),r.d(e,"mixins",function(){return w});var O={version:x.a.version,Bar:u,HorizontalBar:c,Doughnut:l,Line:f,Pie:h,PolarArea:d,Radar:p,Bubble:y,Scatter:b,mixins:w};e.default=O},function(t,e,r){(function(t,r){function n(t,e){return t.set(e[0],e[1]),t}function a(t,e){return t.add(e),t}function i(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}function s(t,e){for(var r=-1,n=t?t.length:0;++r<n&&!1!==e(t[r],r,t););return t}function o(t,e){for(var r=-1,n=e.length,a=t.length;++r<n;)t[a+r]=e[r];return t}function u(t,e,r,n){var a=-1,i=t?t.length:0;for(n&&i&&(r=t[++a]);++a<i;)r=e(r,t[a],a,t);return r}function c(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}function l(t,e){return null==t?void 0:t[e]}function f(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function h(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function d(t,e){return function(r){return t(e(r))}}function p(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}function y(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function b(){this.__data__=Ye?Ye(null):{}}function g(t){return this.has(t)&&delete this.__data__[t]}function v(t){var e=this.__data__;if(Ye){var r=e[t];return r===Jt?void 0:r}return Ee.call(e,t)?e[t]:void 0}function _(t){var e=this.__data__;return Ye?void 0!==e[t]:Ee.call(e,t)}function m(t,e){return this.__data__[t]=Ye&&void 0===e?Jt:e,this}function w(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function j(){this.__data__=[]}function x(t){var e=this.__data__,r=V(e,t);return!(r<0)&&(r==e.length-1?e.pop():Re.call(e,r,1),!0)}function O(t){var e=this.__data__,r=V(e,t);return r<0?void 0:e[r][1]}function k(t){return V(this.__data__,t)>-1}function P(t,e){var r=this.__data__,n=V(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}function C(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function $(){this.__data__={hash:new y,map:new(He||w),string:new y}}function S(t){return dt(this,t).delete(t)}function A(t){return dt(this,t).get(t)}function I(t){return dt(this,t).has(t)}function N(t,e){return dt(this,t).set(t,e),this}function E(t){this.__data__=new w(t)}function L(){this.__data__=new w}function D(t){return this.__data__.delete(t)}function M(t){return this.__data__.get(t)}function B(t){return this.__data__.has(t)}function z(t,e){var r=this.__data__;if(r instanceof w){var n=r.__data__;if(!He||n.length<Ft-1)return n.push([t,e]),this;r=this.__data__=new C(n)}return r.set(t,e),this}function F(t,e){var r=cr(t)||Pt(t)?c(t.length,String):[],n=r.length,a=!!n;for(var i in t)!e&&!Ee.call(t,i)||a&&("length"==i||vt(i,n))||r.push(i);return r}function J(t,e,r){(void 0===r||kt(t[e],r))&&("number"!=typeof e||void 0!==r||e in t)||(t[e]=r)}function T(t,e,r){var n=t[e];Ee.call(t,e)&&kt(n,r)&&(void 0!==r||e in t)||(t[e]=r)}function V(t,e){for(var r=t.length;r--;)if(kt(t[r][0],e))return r;return-1}function R(t,e){return t&&lt(e,Dt(e),t)}function U(t,e,r,n,a,i,o){var u;if(n&&(u=i?n(t,a,i,o):n(t)),void 0!==u)return u;if(!It(t))return t;var c=cr(t);if(c){if(u=yt(t),!e)return ct(t,u)}else{var l=ur(t),h=l==Wt||l==Zt;if(lr(t))return et(t,e);if(l==Ht||l==Vt||h&&!i){if(f(t))return i?t:{};if(u=bt(h?{}:t),!e)return ft(t,R(u,t))}else{if(!ge[l])return i?t:{};u=gt(t,l,U,e)}}o||(o=new E);var d=o.get(t);if(d)return d;if(o.set(t,u),!c)var p=r?ht(t):Dt(t);return s(p||t,function(a,i){p&&(i=a,a=t[i]),T(u,i,U(a,e,r,n,i,t,o))}),u}function W(t){return It(t)?Te(t):{}}function Z(t,e,r){var n=e(t);return cr(t)?n:o(n,r(t))}function q(t){return De.call(t)}function G(t){return!(!It(t)||wt(t))&&(St(t)||f(t)?Me:pe).test(Ot(t))}function H(t){return Nt(t)&&At(t.length)&&!!be[De.call(t)]}function K(t){if(!jt(t))return Ze(t);var e=[];for(var r in Object(t))Ee.call(t,r)&&"constructor"!=r&&e.push(r);return e}function Q(t){if(!It(t))return xt(t);var e=jt(t),r=[];for(var n in t)("constructor"!=n||!e&&Ee.call(t,n))&&r.push(n);return r}function X(t,e,r,n,a){if(t!==e){if(!cr(e)&&!fr(e))var i=Q(e);s(i||e,function(s,o){if(i&&(o=s,s=e[o]),It(s))a||(a=new E),Y(t,e,o,r,X,n,a);else{var u=n?n(t[o],s,o+"",t,e,a):void 0;void 0===u&&(u=s),J(t,o,u)}})}}function Y(t,e,r,n,a,i,s){var o=t[r],u=e[r],c=s.get(u);if(c)return void J(t,r,c);var l=i?i(o,u,r+"",t,e,s):void 0,f=void 0===l;f&&(l=u,cr(u)||fr(u)?cr(o)?l=o:$t(o)?l=ct(o):(f=!1,l=U(u,!0)):Et(u)||Pt(u)?Pt(o)?l=Lt(o):!It(o)||n&&St(o)?(f=!1,l=U(u,!0)):l=o:f=!1),f&&(s.set(u,l),a(l,u,n,i,s),s.delete(u)),J(t,r,l)}function tt(t,e){return e=qe(void 0===e?t.length-1:e,0),function(){for(var r=arguments,n=-1,a=qe(r.length-e,0),s=Array(a);++n<a;)s[n]=r[e+n];n=-1;for(var o=Array(e+1);++n<e;)o[n]=r[n];return o[e]=s,i(t,this,o)}}function et(t,e){if(e)return t.slice();var r=new t.constructor(t.length);return t.copy(r),r}function rt(t){var e=new t.constructor(t.byteLength);return new Fe(e).set(new Fe(t)),e}function nt(t,e){var r=e?rt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}function at(t,e,r){return u(e?r(h(t),!0):h(t),n,new t.constructor)}function it(t){var e=new t.constructor(t.source,de.exec(t));return e.lastIndex=t.lastIndex,e}function st(t,e,r){return u(e?r(p(t),!0):p(t),a,new t.constructor)}function ot(t){return sr?Object(sr.call(t)):{}}function ut(t,e){var r=e?rt(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function ct(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}function lt(t,e,r,n){r||(r={});for(var a=-1,i=e.length;++a<i;){var s=e[a],o=n?n(r[s],t[s],s,r,t):void 0;T(r,s,void 0===o?t[s]:o)}return r}function ft(t,e){return lt(t,or(t),e)}function ht(t){return Z(t,Dt,or)}function dt(t,e){var r=t.__data__;return mt(e)?r["string"==typeof e?"string":"hash"]:r.map}function pt(t,e){var r=l(t,e);return G(r)?r:void 0}function yt(t){var e=t.length,r=t.constructor(e);return e&&"string"==typeof t[0]&&Ee.call(t,"index")&&(r.index=t.index,r.input=t.input),r}function bt(t){return"function"!=typeof t.constructor||jt(t)?{}:W(Je(t))}function gt(t,e,r,n){var a=t.constructor;switch(e){case ee:return rt(t);case Rt:case Ut:return new a(+t);case re:return nt(t,n);case ne:case ae:case ie:case se:case oe:case ue:case ce:case le:case fe:return ut(t,n);case qt:return at(t,n,r);case Gt:case Xt:return new a(t);case Kt:return it(t);case Qt:return st(t,n,r);case Yt:return ot(t)}}function vt(t,e){return!!(e=null==e?Tt:e)&&("number"==typeof t||ye.test(t))&&t>-1&&t%1==0&&t<e}function _t(t,e,r){if(!It(r))return!1;var n=typeof e;return!!("number"==n?Ct(r)&&vt(e,r.length):"string"==n&&e in r)&&kt(r[e],t)}function mt(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function wt(t){return!!Ie&&Ie in t}function jt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Se)}function xt(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}function Ot(t){if(null!=t){try{return Ne.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function kt(t,e){return t===e||t!==t&&e!==e}function Pt(t){return $t(t)&&Ee.call(t,"callee")&&(!Ve.call(t,"callee")||De.call(t)==Vt)}function Ct(t){return null!=t&&At(t.length)&&!St(t)}function $t(t){return Nt(t)&&Ct(t)}function St(t){var e=It(t)?De.call(t):"";return e==Wt||e==Zt}function At(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Tt}function It(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Nt(t){return!!t&&"object"==typeof t}function Et(t){if(!Nt(t)||De.call(t)!=Ht||f(t))return!1;var e=Je(t);if(null===e)return!0;var r=Ee.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&Ne.call(r)==Le}function Lt(t){return lt(t,Mt(t))}function Dt(t){return Ct(t)?F(t):K(t)}function Mt(t){return Ct(t)?F(t,!0):Q(t)}function Bt(){return[]}function zt(){return!1}var Ft=200,Jt="__lodash_hash_undefined__",Tt=9007199254740991,Vt="[object Arguments]",Rt="[object Boolean]",Ut="[object Date]",Wt="[object Function]",Zt="[object GeneratorFunction]",qt="[object Map]",Gt="[object Number]",Ht="[object Object]",Kt="[object RegExp]",Qt="[object Set]",Xt="[object String]",Yt="[object Symbol]",te="[object WeakMap]",ee="[object ArrayBuffer]",re="[object DataView]",ne="[object Float32Array]",ae="[object Float64Array]",ie="[object Int8Array]",se="[object Int16Array]",oe="[object Int32Array]",ue="[object Uint8Array]",ce="[object Uint8ClampedArray]",le="[object Uint16Array]",fe="[object Uint32Array]",he=/[\\^$.*+?()[\]{}|]/g,de=/\w*$/,pe=/^\[object .+?Constructor\]$/,ye=/^(?:0|[1-9]\d*)$/,be={};be[ne]=be[ae]=be[ie]=be[se]=be[oe]=be[ue]=be[ce]=be[le]=be[fe]=!0,be[Vt]=be["[object Array]"]=be[ee]=be[Rt]=be[re]=be[Ut]=be["[object Error]"]=be[Wt]=be[qt]=be[Gt]=be[Ht]=be[Kt]=be[Qt]=be[Xt]=be[te]=!1;var ge={};ge[Vt]=ge["[object Array]"]=ge[ee]=ge[re]=ge[Rt]=ge[Ut]=ge[ne]=ge[ae]=ge[ie]=ge[se]=ge[oe]=ge[qt]=ge[Gt]=ge[Ht]=ge[Kt]=ge[Qt]=ge[Xt]=ge[Yt]=ge[ue]=ge[ce]=ge[le]=ge[fe]=!0,ge["[object Error]"]=ge[Wt]=ge[te]=!1;var ve="object"==typeof t&&t&&t.Object===Object&&t,_e="object"==typeof self&&self&&self.Object===Object&&self,me=ve||_e||Function("return this")(),we="object"==typeof e&&e&&!e.nodeType&&e,je=we&&"object"==typeof r&&r&&!r.nodeType&&r,xe=je&&je.exports===we,Oe=xe&&ve.process,ke=function(){try{return Oe&&Oe.binding("util")}catch(t){}}(),Pe=ke&&ke.isTypedArray,Ce=Array.prototype,$e=Function.prototype,Se=Object.prototype,Ae=me["__core-js_shared__"],Ie=function(){var t=/[^.]+$/.exec(Ae&&Ae.keys&&Ae.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Ne=$e.toString,Ee=Se.hasOwnProperty,Le=Ne.call(Object),De=Se.toString,Me=RegExp("^"+Ne.call(Ee).replace(he,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Be=xe?me.Buffer:void 0,ze=me.Symbol,Fe=me.Uint8Array,Je=d(Object.getPrototypeOf,Object),Te=Object.create,Ve=Se.propertyIsEnumerable,Re=Ce.splice,Ue=Object.getOwnPropertySymbols,We=Be?Be.isBuffer:void 0,Ze=d(Object.keys,Object),qe=Math.max,Ge=pt(me,"DataView"),He=pt(me,"Map"),Ke=pt(me,"Promise"),Qe=pt(me,"Set"),Xe=pt(me,"WeakMap"),Ye=pt(Object,"create"),tr=Ot(Ge),er=Ot(He),rr=Ot(Ke),nr=Ot(Qe),ar=Ot(Xe),ir=ze?ze.prototype:void 0,sr=ir?ir.valueOf:void 0;y.prototype.clear=b,y.prototype.delete=g,y.prototype.get=v,y.prototype.has=_,y.prototype.set=m,w.prototype.clear=j,w.prototype.delete=x,w.prototype.get=O,w.prototype.has=k,w.prototype.set=P,C.prototype.clear=$,C.prototype.delete=S,C.prototype.get=A,C.prototype.has=I,C.prototype.set=N,E.prototype.clear=L,E.prototype.delete=D,E.prototype.get=M,E.prototype.has=B,E.prototype.set=z;var or=Ue?d(Ue,Object):Bt,ur=q;(Ge&&ur(new Ge(new ArrayBuffer(1)))!=re||He&&ur(new He)!=qt||Ke&&"[object Promise]"!=ur(Ke.resolve())||Qe&&ur(new Qe)!=Qt||Xe&&ur(new Xe)!=te)&&(ur=function(t){var e=De.call(t),r=e==Ht?t.constructor:void 0,n=r?Ot(r):void 0;if(n)switch(n){case tr:return re;case er:return qt;case rr:return"[object Promise]";case nr:return Qt;case ar:return te}return e});var cr=Array.isArray,lr=We||zt,fr=Pe?function(t){return function(e){return t(e)}}(Pe):H,hr=function(t){return tt(function(e,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(a--,i):void 0,s&&_t(r[0],r[1],s)&&(i=a<3?void 0:i,a=1),e=Object(e);++n<a;){var o=r[n];o&&t(e,o,n,i)}return e})}(function(t,e,r){X(t,e,r)});r.exports=hr}).call(e,r(13),r(14)(t))},function(t,e){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,r){var n=r(6),a=r(10);t.exports={data:function(){return{chartData:null}},watch:{chartData:{handler:function(t,e){if(e){var r=this.$data._chart,i=t.datasets.map(function(t){return t.label}),s=e.datasets.map(function(t){return t.label}),o=a(s);a(i)===o&&e.datasets.length===t.datasets.length?(t.datasets.forEach(function(t,a){var i=n(e.datasets[a]),s=n(t);i.filter(function(t){return"_meta"!==t&&-1===s.indexOf(t)}).forEach(function(t){delete r.data.datasets[a][t]});for(var o in t)t.hasOwnProperty(o)&&(r.data.datasets[a][o]=t[o])}),t.hasOwnProperty("labels")&&(r.data.labels=t.labels),t.hasOwnProperty("xLabels")&&(r.data.xLabels=t.xLabels),t.hasOwnProperty("yLabels")&&(r.data.yLabels=t.yLabels),r.update()):(r.destroy(),this.renderChart(this.chartData,this.options))}else this.renderChart(this.chartData,this.options)}}}}},function(t,e,r){r(17),t.exports=r(1).Object.keys},function(t,e,r){var n=r(18),a=r(19);r(31)("keys",function(){return function(t){return a(n(t))}})},function(t,e,r){var n=r(7);t.exports=function(t){return Object(n(t))}},function(t,e,r){var n=r(20),a=r(30);t.exports=Object.keys||function(t){return n(t,a)}},function(t,e,r){var n=r(21),a=r(8),i=r(24)(!1),s=r(27)("IE_PROTO");t.exports=function(t,e){var r,o=a(t),u=0,c=[];for(r in o)r!=s&&n(o,r)&&c.push(r);for(;e.length>u;)n(o,r=e[u++])&&(~i(c,r)||c.push(r));return c}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(23);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e,r){var n=r(8),a=r(25),i=r(26);t.exports=function(t){return function(e,r,s){var o,u=n(e),c=a(u.length),l=i(s,c);if(t&&r!=r){for(;c>l;)if((o=u[l++])!=o)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}}},function(t,e,r){var n=r(9),a=Math.min;t.exports=function(t){return t>0?a(n(t),9007199254740991):0}},function(t,e,r){var n=r(9),a=Math.max,i=Math.min;t.exports=function(t,e){return t=n(t),t<0?a(t+e,0):i(t,e)}},function(t,e,r){var n=r(28)("keys"),a=r(29);t.exports=function(t){return n[t]||(n[t]=a(t))}},function(t,e,r){var n=r(2),a=n["__core-js_shared__"]||(n["__core-js_shared__"]={});t.exports=function(t){return a[t]||(a[t]={})}},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+n).toString(36))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,r){var n=r(32),a=r(1),i=r(5);t.exports=function(t,e){var r=(a.Object||{})[t]||Object[t],s={};s[t]=e(r),n(n.S+n.F*i(function(){r(1)}),"Object",s)}},function(t,e,r){var n=r(2),a=r(1),i=r(33),s=r(35),o=function(t,e,r){var u,c,l,f=t&o.F,h=t&o.G,d=t&o.S,p=t&o.P,y=t&o.B,b=t&o.W,g=h?a:a[e]||(a[e]={}),v=g.prototype,_=h?n:d?n[e]:(n[e]||{}).prototype;h&&(r=e);for(u in r)(c=!f&&_&&void 0!==_[u])&&u in g||(l=c?_[u]:r[u],g[u]=h&&"function"!=typeof _[u]?r[u]:y&&c?i(l,n):b&&_[u]==l?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):p&&"function"==typeof l?i(Function.call,l):l,p&&((g.virtual||(g.virtual={}))[u]=l,t&o.R&&v&&!v[u]&&s(v,u,l)))};o.F=1,o.G=2,o.S=4,o.P=8,o.B=16,o.W=32,o.U=64,o.R=128,t.exports=o},function(t,e,r){var n=r(34);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,a){return t.call(e,r,n,a)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,r){var n=r(36),a=r(41);t.exports=r(4)?function(t,e,r){return n.f(t,e,a(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(37),a=r(38),i=r(40),s=Object.defineProperty;e.f=r(4)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),a)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(3);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,r){t.exports=!r(4)&&!r(5)(function(){return 7!=Object.defineProperty(r(39)("div"),"a",{get:function(){return 7}}).a})},function(t,e,r){var n=r(3),a=r(2).document,i=n(a)&&n(a.createElement);t.exports=function(t){return i?a.createElement(t):{}}},function(t,e,r){var n=r(3);t.exports=function(t,e){if(!n(t))return t;var r,a;if(e&&"function"==typeof(r=t.toString)&&!n(a=r.call(t)))return a;if("function"==typeof(r=t.valueOf)&&!n(a=r.call(t)))return a;if(!e&&"function"==typeof(r=t.toString)&&!n(a=r.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,r){var n=r(1),a=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return a.stringify.apply(a,arguments)}},function(t,e,r){var n=r(6),a=r(10);t.exports={props:{chartData:{required:!0}},watch:{chartData:{handler:function(t,e){if(e){var r=this.$data._chart,i=t.datasets.map(function(t){return t.label}),s=e.datasets.map(function(t){return t.label}),o=a(s);a(i)===o&&e.datasets.length===t.datasets.length?(t.datasets.forEach(function(t,a){var i=n(e.datasets[a]),s=n(t);i.filter(function(t){return"_meta"!==t&&-1===s.indexOf(t)}).forEach(function(t){delete r.data.datasets[a][t]});for(var o in t)t.hasOwnProperty(o)&&(r.data.datasets[a][o]=t[o])}),t.hasOwnProperty("labels")&&(r.data.labels=t.labels),t.hasOwnProperty("xLabels")&&(r.data.xLabels=t.xLabels),t.hasOwnProperty("yLabels")&&(r.data.yLabels=t.yLabels),r.update()):(r.destroy(),this.renderChart(this.chartData,this.options))}else this.renderChart(this.chartData,this.options)}}}}},function(t,e){t.exports={name:"vue-chartjs",version:"3.0.1-rc0",description:"Vue.js wrapper for chart.js for creating beautiful charts.",author:"Jakub Juszczak <jakub@posteo.de>",homepage:"http://vue-chartjs.org",license:"MIT",contributors:[{name:"Thorsten Lünborg",web:"https://github.com/LinusBorg"},{name:"Juan Carlos Alonso",web:"https://github.com/jcalonso"}],maintainers:[{name:"Jakub Juszczak",email:"jakub@posteo.de",web:"http://www.jakubjuszczak.de"}],repository:{type:"git",url:"git+ssh://git@github.com:apertureless/vue-chartjs.git"},bugs:{url:"https://github.com/apertureless/vue-chartjs/issues"},keywords:["ChartJs","Vue","Visualisation","Wrapper","Charts"],main:"dist/vue-chartjs.js",unpkg:"dist/vue-chartjs.full.min.js",module:"es/index.js","jsnext:main":"es/index.js",files:["src","dist","es"],scripts:{dev:"node build/dev-server.js",build:"yarn run release && yarn run build:es","build:es":"cross-env BABEL_ENV=es babel src --out-dir es",unit:"karma start test/unit/karma.conf.js --single-run",e2e:"node test/e2e/runner.js",test:"npm run unit",lint:"eslint --ext .js,.vue src test/unit/specs test/e2e/specs",release:"webpack --progress --hide-modules --config ./build/webpack.release.js && NODE_ENV=production webpack --progress --hide-modules --config ./build/webpack.release.min.js && webpack --progress --hide-modules --config ./build/webpack.release.full.js && NODE_ENV=production webpack --progress --hide-modules --config ./build/webpack.release.full.min.js",prepublish:"yarn run lint && yarn run test && yarn run build"},dependencies:{"@babel/runtime":"^7.0.0-beta.31","lodash.merge":"^4.6.0"},peerDependencies:{"chart.js":"2.7.x",vue:"2.5.x"},devDependencies:{"@babel/cli":"^7.0.0-beta.31","@babel/core":"^7.0.0-beta.31","@babel/plugin-transform-runtime":"^7.0.0-beta.31","@babel/preset-env":"^7.0.0-beta.31","@babel/preset-stage-2":"^7.0.0-beta.31","babel-loader":"8.0.0-beta.0",chai:"^3.5.0","chart.js":"2.7.0",chromedriver:"^2.28.0","connect-history-api-fallback":"^1.1.0","cross-env":"^3.2.4","cross-spawn":"^5.1.0","css-loader":"^0.28.0",eslint:"^3.19.0","eslint-config-standard":"^10.2.1","eslint-friendly-formatter":"^2.0.7","eslint-loader":"^1.7.1","eslint-plugin-html":"^2.0.1","eslint-plugin-import":"^2.2.0","eslint-plugin-node":"^4.2.2","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^3.0.1","eventsource-polyfill":"^0.9.6",express:"^4.15.2","extract-text-webpack-plugin":"^3.0.1","file-loader":"^0.10.1","friendly-errors-webpack-plugin":"^1.6.1","function-bind":"^1.0.2","html-webpack-plugin":"^2.28.0","http-proxy-middleware":"^0.17.4","inject-loader":"^3.0.0",isparta:"^4.0.0","jasmine-core":"^2.5.2","json-loader":"^0.5.4",karma:"^1.5.0","karma-coverage":"^1.1.1","karma-jasmine":"^1.0.2","karma-mocha":"^1.2.0","karma-phantomjs-launcher":"^1.0.4","karma-phantomjs-shim":"^1.4.0","karma-sinon-chai":"^1.2.0","karma-sourcemap-loader":"^0.3.7","karma-spec-reporter":"0.0.30","karma-webpack":"2",lolex:"^1.6.0",mocha:"^3.1.0",nightwatch:"^0.9.14",opn:"^5.1.0",ora:"^1.2.0","phantomjs-prebuilt":"^2.1.13",portfinder:"^1.0.13","selenium-server":"^3.3.1",shelljs:"^0.7.7",sinon:"^2.1.0","sinon-chai":"^2.9.0","url-loader":"^0.5.8",vue:"2.5.2","vue-hot-reload-api":"2.1.0","vue-html-loader":"^1.2.4","vue-loader":"^13.3.0","vue-style-loader":"3.0.1","vue-template-compiler":"2.5.2",webpack:"^3.7.1","webpack-dev-middleware":"^1.10.1","webpack-hot-middleware":"^2.17.1","webpack-merge":"^4.1.0"},engines:{node:">=6.9.0",npm:">= 3.0.0"},browserify:{transform:["babelify"]},greenkeeper:{ignore:["extract-text-webpack-plugin","karma-webpack","webpack","webpack-merge"]}}}])});

@@ -1,16 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _chart = require('chart.js');
var _chart2 = _interopRequireDefault(_chart);
var _options = require('../helpers/options');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
import Chart from 'chart.js';
import { mergeOptions } from '../helpers/options';
export default {
render: function render(createElement) {

@@ -75,4 +63,2 @@ return createElement('div', {

},
methods: {

@@ -83,4 +69,4 @@ addPlugin: function addPlugin(plugin) {

renderChart: function renderChart(data, options) {
var chartOptions = (0, _options.mergeOptions)(this.defaultOptions, options);
this.$data._chart = new _chart2.default(this.$refs.canvas.getContext('2d'), {
var chartOptions = mergeOptions(this.defaultOptions, options);
this.$data._chart = new Chart(this.$refs.canvas.getContext('2d'), {
type: 'bar',

@@ -87,0 +73,0 @@ data: data,

@@ -1,16 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _chart = require('chart.js');
var _chart2 = _interopRequireDefault(_chart);
var _options = require('../helpers/options');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
import Chart from 'chart.js';
import { mergeOptions } from '../helpers/options';
export default {
render: function render(createElement) {

@@ -29,3 +17,2 @@ return createElement('div', {

},
props: {

@@ -52,3 +39,2 @@ chartId: {

},
data: function data() {

@@ -79,4 +65,2 @@ return {

},
methods: {

@@ -87,5 +71,4 @@ addPlugin: function addPlugin(plugin) {

renderChart: function renderChart(data, options) {
var chartOptions = (0, _options.mergeOptions)(this.defaultOptions, options);
this.$data._chart = new _chart2.default(this.$refs.canvas.getContext('2d'), {
var chartOptions = mergeOptions(this.defaultOptions, options);
this.$data._chart = new Chart(this.$refs.canvas.getContext('2d'), {
type: 'bubble',

@@ -92,0 +75,0 @@ data: data,

@@ -1,16 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _chart = require('chart.js');
var _chart2 = _interopRequireDefault(_chart);
var _options = require('../helpers/options');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
import Chart from 'chart.js';
import { mergeOptions } from '../helpers/options';
export default {
render: function render(createElement) {

@@ -29,3 +17,2 @@ return createElement('div', {

},
props: {

@@ -52,3 +39,2 @@ chartId: {

},
data: function data() {

@@ -61,4 +47,2 @@ return {

},
methods: {

@@ -69,5 +53,4 @@ addPlugin: function addPlugin(plugin) {

renderChart: function renderChart(data, options) {
var chartOptions = (0, _options.mergeOptions)(this.defaultOptions, options);
this.$data._chart = new _chart2.default(this.$refs.canvas.getContext('2d'), {
var chartOptions = mergeOptions(this.defaultOptions, options);
this.$data._chart = new Chart(this.$refs.canvas.getContext('2d'), {
type: 'doughnut',

@@ -74,0 +57,0 @@ data: data,

@@ -1,16 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _chart = require('chart.js');
var _chart2 = _interopRequireDefault(_chart);
var _options = require('../helpers/options');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
import Chart from 'chart.js';
import { mergeOptions } from '../helpers/options';
export default {
render: function render(createElement) {

@@ -29,3 +17,2 @@ return createElement('div', {

},
props: {

@@ -52,3 +39,2 @@ chartId: {

},
data: function data() {

@@ -79,4 +65,2 @@ return {

},
methods: {

@@ -87,4 +71,4 @@ addPlugin: function addPlugin(plugin) {

renderChart: function renderChart(data, options, type) {
var chartOptions = (0, _options.mergeOptions)(this.defaultOptions, options);
this.$data._chart = new _chart2.default(this.$refs.canvas.getContext('2d'), {
var chartOptions = mergeOptions(this.defaultOptions, options);
this.$data._chart = new Chart(this.$refs.canvas.getContext('2d'), {
type: 'horizontalBar',

@@ -91,0 +75,0 @@ data: data,

@@ -1,16 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _chart = require('chart.js');
var _chart2 = _interopRequireDefault(_chart);
var _options = require('../helpers/options');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
import Chart from 'chart.js';
import { mergeOptions } from '../helpers/options';
export default {
render: function render(createElement) {

@@ -29,3 +17,2 @@ return createElement('div', {

},
props: {

@@ -52,3 +39,2 @@ chartId: {

},
data: function data() {

@@ -77,4 +63,2 @@ return {

},
methods: {

@@ -85,5 +69,4 @@ addPlugin: function addPlugin(plugin) {

renderChart: function renderChart(data, options) {
var chartOptions = (0, _options.mergeOptions)(this.defaultOptions, options);
this.$data._chart = new _chart2.default(this.$refs.canvas.getContext('2d'), {
var chartOptions = mergeOptions(this.defaultOptions, options);
this.$data._chart = new Chart(this.$refs.canvas.getContext('2d'), {
type: 'line',

@@ -90,0 +73,0 @@ data: data,

@@ -1,16 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _chart = require('chart.js');
var _chart2 = _interopRequireDefault(_chart);
var _options = require('../helpers/options');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
import Chart from 'chart.js';
import { mergeOptions } from '../helpers/options';
export default {
render: function render(createElement) {

@@ -29,3 +17,2 @@ return createElement('div', {

},
props: {

@@ -52,3 +39,2 @@ chartId: {

},
data: function data() {

@@ -61,4 +47,2 @@ return {

},
methods: {

@@ -69,5 +53,4 @@ addPlugin: function addPlugin(plugin) {

renderChart: function renderChart(data, options) {
var chartOptions = (0, _options.mergeOptions)(this.defaultOptions, options);
this.$data._chart = new _chart2.default(this.$refs.canvas.getContext('2d'), {
var chartOptions = mergeOptions(this.defaultOptions, options);
this.$data._chart = new Chart(this.$refs.canvas.getContext('2d'), {
type: 'pie',

@@ -74,0 +57,0 @@ data: data,

@@ -1,16 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _chart = require('chart.js');
var _chart2 = _interopRequireDefault(_chart);
var _options = require('../helpers/options');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
import Chart from 'chart.js';
import { mergeOptions } from '../helpers/options';
export default {
render: function render(createElement) {

@@ -29,3 +17,2 @@ return createElement('div', {

},
props: {

@@ -52,3 +39,2 @@ chartId: {

},
data: function data() {

@@ -61,4 +47,2 @@ return {

},
methods: {

@@ -69,5 +53,4 @@ addPlugin: function addPlugin(plugin) {

renderChart: function renderChart(data, options) {
var chartOptions = (0, _options.mergeOptions)(this.defaultOptions, options);
this.$data._chart = new _chart2.default(this.$refs.canvas.getContext('2d'), {
var chartOptions = mergeOptions(this.defaultOptions, options);
this.$data._chart = new Chart(this.$refs.canvas.getContext('2d'), {
type: 'polarArea',

@@ -74,0 +57,0 @@ data: data,

@@ -1,16 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _chart = require('chart.js');
var _chart2 = _interopRequireDefault(_chart);
var _options = require('../helpers/options');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
import Chart from 'chart.js';
import { mergeOptions } from '../helpers/options';
export default {
render: function render(createElement) {

@@ -29,3 +17,2 @@ return createElement('div', {

},
props: {

@@ -52,3 +39,2 @@ chartId: {

},
data: function data() {

@@ -61,4 +47,2 @@ return {

},
methods: {

@@ -69,5 +53,4 @@ addPlugin: function addPlugin(plugin) {

renderChart: function renderChart(data, options) {
var chartOptions = (0, _options.mergeOptions)(this.defaultOptions, options);
this.$data._chart = new _chart2.default(this.$refs.canvas.getContext('2d'), {
var chartOptions = mergeOptions(this.defaultOptions, options);
this.$data._chart = new Chart(this.$refs.canvas.getContext('2d'), {
type: 'radar',

@@ -74,0 +57,0 @@ data: data,

@@ -1,16 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _chart = require('chart.js');
var _chart2 = _interopRequireDefault(_chart);
var _options = require('../helpers/options');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
import Chart from 'chart.js';
import { mergeOptions } from '../helpers/options';
export default {
render: function render(createElement) {

@@ -29,3 +17,2 @@ return createElement('div', {

},
props: {

@@ -52,3 +39,2 @@ chartId: {

},
data: function data() {

@@ -68,4 +54,2 @@ return {

},
methods: {

@@ -76,5 +60,4 @@ addPlugin: function addPlugin(plugin) {

renderChart: function renderChart(data, options) {
var chartOptions = (0, _options.mergeOptions)(this.defaultOptions, options);
this.$data._chart = new _chart2.default(this.$refs.canvas.getContext('2d'), {
var chartOptions = mergeOptions(this.defaultOptions, options);
this.$data._chart = new Chart(this.$refs.canvas.getContext('2d'), {
type: 'scatter',

@@ -81,0 +64,0 @@ data: data,

@@ -1,15 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _Bar = require('../BaseCharts/Bar');
var _Bar2 = _interopRequireDefault(_Bar);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
extends: _Bar2.default,
import Bar from '../BaseCharts/Bar';
export default {
extends: Bar,
mounted: function mounted() {

@@ -23,4 +12,7 @@ this.renderChart({

}]
}, { responsive: true, maintainAspectRatio: false });
}, {
responsive: true,
maintainAspectRatio: false
});
}
};

@@ -1,15 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _Bubble = require('../BaseCharts/Bubble');
var _Bubble2 = _interopRequireDefault(_Bubble);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
extends: _Bubble2.default,
import Bubble from '../BaseCharts/Bubble';
export default {
extends: Bubble,
mounted: function mounted() {

@@ -50,4 +39,7 @@ this.renderChart({

}]
}, { responsive: true, maintainAspectRatio: false });
}, {
responsive: true,
maintainAspectRatio: false
});
}
};

@@ -1,15 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _Doughnut = require('../BaseCharts/Doughnut');
var _Doughnut2 = _interopRequireDefault(_Doughnut);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
extends: _Doughnut2.default,
import Doughnut from '../BaseCharts/Doughnut';
export default {
extends: Doughnut,
mounted: function mounted() {

@@ -22,4 +11,7 @@ this.renderChart({

}]
}, { responsive: true, maintainAspectRatio: false });
}, {
responsive: true,
maintainAspectRatio: false
});
}
};

@@ -1,15 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _HorizontalBar = require('../BaseCharts/HorizontalBar');
var _HorizontalBar2 = _interopRequireDefault(_HorizontalBar);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
extends: _HorizontalBar2.default,
import HorizontalBar from '../BaseCharts/HorizontalBar';
export default {
extends: HorizontalBar,
mounted: function mounted() {

@@ -23,4 +12,7 @@ this.renderChart({

}]
}, { responsive: true, maintainAspectRatio: false });
}, {
responsive: true,
maintainAspectRatio: false
});
}
};

@@ -1,15 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _Line = require('../BaseCharts/Line');
var _Line2 = _interopRequireDefault(_Line);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
extends: _Line2.default,
import Line from '../BaseCharts/Line';
export default {
extends: Line,
mounted: function mounted() {

@@ -23,4 +12,7 @@ this.renderChart({

}]
}, { responsive: true, maintainAspectRatio: false });
}, {
responsive: true,
maintainAspectRatio: false
});
}
};

@@ -1,15 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _Pie = require('../BaseCharts/Pie');
var _Pie2 = _interopRequireDefault(_Pie);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
extends: _Pie2.default,
import Pie from '../BaseCharts/Pie';
export default {
extends: Pie,
mounted: function mounted() {

@@ -22,4 +11,7 @@ this.renderChart({

}]
}, { responsive: true, maintainAspectRatio: false });
}, {
responsive: true,
maintainAspectRatio: false
});
}
};

@@ -1,15 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _PolarArea = require('../BaseCharts/PolarArea');
var _PolarArea2 = _interopRequireDefault(_PolarArea);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
extends: _PolarArea2.default,
import PolarArea from '../BaseCharts/PolarArea';
export default {
extends: PolarArea,
mounted: function mounted() {

@@ -35,4 +24,7 @@ this.renderChart({

}]
}, { responsive: true, maintainAspectRatio: false });
}, {
responsive: true,
maintainAspectRatio: false
});
}
};

@@ -1,15 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _Radar = require('../BaseCharts/Radar');
var _Radar2 = _interopRequireDefault(_Radar);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
extends: _Radar2.default,
import Radar from '../BaseCharts/Radar';
export default {
extends: Radar,
mounted: function mounted() {

@@ -37,4 +26,7 @@ this.renderChart({

}]
}, { responsive: true, maintainAspectRatio: false });
}, {
responsive: true,
maintainAspectRatio: false
});
}
};

@@ -1,20 +0,6 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _Bar = require('../BaseCharts/Bar');
var _Bar2 = _interopRequireDefault(_Bar);
var _reactiveData = require('../mixins/reactiveData');
var _reactiveData2 = _interopRequireDefault(_reactiveData);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
extends: _Bar2.default,
mixins: [_reactiveData2.default],
import Bar from '../BaseCharts/Bar';
import reactiveData from '../mixins/reactiveData';
export default {
extends: Bar,
mixins: [reactiveData],
data: function data() {

@@ -31,4 +17,6 @@ return {

this.renderChart(this.chartData, { responsive: true, maintainAspectRatio: false });
this.renderChart(this.chartData, {
responsive: true,
maintainAspectRatio: false
});
setInterval(function () {

@@ -38,4 +26,2 @@ _this.fillData();

},
methods: {

@@ -42,0 +28,0 @@ fillData: function fillData() {

@@ -1,24 +0,12 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _Bar = require('../BaseCharts/Bar');
var _Bar2 = _interopRequireDefault(_Bar);
var _reactiveProp = require('../mixins/reactiveProp');
var _reactiveProp2 = _interopRequireDefault(_reactiveProp);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
extends: _Bar2.default,
mixins: [_reactiveProp2.default],
import Bar from '../BaseCharts/Bar';
import reactiveProp from '../mixins/reactiveProp';
export default {
extends: Bar,
mixins: [reactiveProp],
mounted: function mounted() {
this.renderChart(this.chartData, { responsive: true, maintainAspectRatio: false });
this.renderChart(this.chartData, {
responsive: true,
maintainAspectRatio: false
});
}
};

@@ -1,15 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _Scatter = require('../BaseCharts/Scatter');
var _Scatter2 = _interopRequireDefault(_Scatter);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
extends: _Scatter2.default,
import Scatter from '../BaseCharts/Scatter';
export default {
extends: Scatter,
mounted: function mounted() {

@@ -60,4 +49,7 @@ this.renderChart({

}]
}, { responsive: true, maintainAspectRatio: false });
}, {
responsive: true,
maintainAspectRatio: false
});
}
};

@@ -1,16 +0,4 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.mergeOptions = mergeOptions;
var _lodash = require('lodash.merge');
var _lodash2 = _interopRequireDefault(_lodash);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function mergeOptions(obj, src) {
return (0, _lodash2.default)(obj, src);
import merge from 'lodash.merge';
export function mergeOptions(obj, src) {
return merge(obj, src);
}

@@ -1,79 +0,26 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.mixins = exports.Scatter = exports.Bubble = exports.Radar = exports.PolarArea = exports.Pie = exports.Line = exports.Doughnut = exports.HorizontalBar = exports.Bar = exports.VueCharts = undefined;
var _Bar = require('./BaseCharts/Bar');
var _Bar2 = _interopRequireDefault(_Bar);
var _HorizontalBar = require('./BaseCharts/HorizontalBar');
var _HorizontalBar2 = _interopRequireDefault(_HorizontalBar);
var _Doughnut = require('./BaseCharts/Doughnut');
var _Doughnut2 = _interopRequireDefault(_Doughnut);
var _Line = require('./BaseCharts/Line');
var _Line2 = _interopRequireDefault(_Line);
var _Pie = require('./BaseCharts/Pie');
var _Pie2 = _interopRequireDefault(_Pie);
var _PolarArea = require('./BaseCharts/PolarArea');
var _PolarArea2 = _interopRequireDefault(_PolarArea);
var _Radar = require('./BaseCharts/Radar');
var _Radar2 = _interopRequireDefault(_Radar);
var _Bubble = require('./BaseCharts/Bubble');
var _Bubble2 = _interopRequireDefault(_Bubble);
var _Scatter = require('./BaseCharts/Scatter');
var _Scatter2 = _interopRequireDefault(_Scatter);
var _index = require('./mixins/index.js');
var _index2 = _interopRequireDefault(_index);
var _package = require('../package.json');
var _package2 = _interopRequireDefault(_package);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
import Bar from './BaseCharts/Bar';
import HorizontalBar from './BaseCharts/HorizontalBar';
import Doughnut from './BaseCharts/Doughnut';
import Line from './BaseCharts/Line';
import Pie from './BaseCharts/Pie';
import PolarArea from './BaseCharts/PolarArea';
import Radar from './BaseCharts/Radar';
import Bubble from './BaseCharts/Bubble';
import Scatter from './BaseCharts/Scatter';
import mixins from './mixins/index.js';
import npmCfg from '../package.json';
var VueCharts = {
version: _package2.default.version,
Bar: _Bar2.default,
HorizontalBar: _HorizontalBar2.default,
Doughnut: _Doughnut2.default,
Line: _Line2.default,
Pie: _Pie2.default,
PolarArea: _PolarArea2.default,
Radar: _Radar2.default,
Bubble: _Bubble2.default,
Scatter: _Scatter2.default,
mixins: _index2.default
version: npmCfg.version,
Bar: Bar,
HorizontalBar: HorizontalBar,
Doughnut: Doughnut,
Line: Line,
Pie: Pie,
PolarArea: PolarArea,
Radar: Radar,
Bubble: Bubble,
Scatter: Scatter,
mixins: mixins
};
exports.default = VueCharts;
exports.VueCharts = VueCharts;
exports.Bar = _Bar2.default;
exports.HorizontalBar = _HorizontalBar2.default;
exports.Doughnut = _Doughnut2.default;
exports.Line = _Line2.default;
exports.Pie = _Pie2.default;
exports.PolarArea = _PolarArea2.default;
exports.Radar = _Radar2.default;
exports.Bubble = _Bubble2.default;
exports.Scatter = _Scatter2.default;
exports.mixins = _index2.default;
export default VueCharts;
export { VueCharts, Bar, HorizontalBar, Doughnut, Line, Pie, PolarArea, Radar, Bubble, Scatter, mixins };

@@ -1,17 +0,7 @@

'use strict';
var _vue = require('vue');
var _vue2 = _interopRequireDefault(_vue);
var _App = require('./examples/App');
var _App2 = _interopRequireDefault(_App);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
new _vue2.default({
import Vue from 'vue';
import App from './examples/App';
new Vue({
render: function render(h) {
return h(_App2.default);
return h(App);
}
}).$mount('#app');

@@ -1,20 +0,6 @@

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _reactiveData = require('./reactiveData.js');
var _reactiveData2 = _interopRequireDefault(_reactiveData);
var _reactiveProp = require('./reactiveProp.js');
var _reactiveProp2 = _interopRequireDefault(_reactiveProp);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
reactiveData: _reactiveData2.default,
reactiveProp: _reactiveProp2.default
import reactiveData from './reactiveData.js';
import reactiveProp from './reactiveProp.js';
export default {
reactiveData: reactiveData,
reactiveProp: reactiveProp
};

@@ -1,13 +0,5 @@

'use strict';
var _Object$keys = require("@babel/runtime/core-js/object/keys");
var _keys = require('babel-runtime/core-js/object/keys');
var _JSON$stringify = require("@babel/runtime/core-js/json/stringify");
var _keys2 = _interopRequireDefault(_keys);
var _stringify = require('babel-runtime/core-js/json/stringify');
var _stringify2 = _interopRequireDefault(_stringify);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
module.exports = {

@@ -19,3 +11,2 @@ data: function data() {

},
watch: {

@@ -26,7 +17,5 @@ 'chartData': {

var chart = this.$data._chart;
var newDatasetLabels = newData.datasets.map(function (dataset) {
return dataset.label;
});
var oldDatasetLabels = oldData.datasets.map(function (dataset) {

@@ -36,14 +25,15 @@ return dataset.label;

var oldLabels = (0, _stringify2.default)(oldDatasetLabels);
var newLabels = (0, _stringify2.default)(newDatasetLabels);
var oldLabels = _JSON$stringify(oldDatasetLabels);
var newLabels = _JSON$stringify(newDatasetLabels);
if (newLabels === oldLabels && oldData.datasets.length === newData.datasets.length) {
newData.datasets.forEach(function (dataset, i) {
var oldDatasetKeys = (0, _keys2.default)(oldData.datasets[i]);
var newDatasetKeys = (0, _keys2.default)(dataset);
var oldDatasetKeys = _Object$keys(oldData.datasets[i]);
var newDatasetKeys = _Object$keys(dataset);
var deletionKeys = oldDatasetKeys.filter(function (key) {
return key !== '_meta' && newDatasetKeys.indexOf(key) === -1;
});
deletionKeys.forEach(function (deletionKey) {

@@ -63,8 +53,11 @@ delete chart.data.datasets[i][deletionKey];

}
if (newData.hasOwnProperty('xLabels')) {
chart.data.xLabels = newData.xLabels;
}
if (newData.hasOwnProperty('yLabels')) {
chart.data.yLabels = newData.yLabels;
}
chart.update();

@@ -71,0 +64,0 @@ } else {

@@ -1,13 +0,5 @@

'use strict';
var _Object$keys = require("@babel/runtime/core-js/object/keys");
var _keys = require('babel-runtime/core-js/object/keys');
var _JSON$stringify = require("@babel/runtime/core-js/json/stringify");
var _keys2 = _interopRequireDefault(_keys);
var _stringify = require('babel-runtime/core-js/json/stringify');
var _stringify2 = _interopRequireDefault(_stringify);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
module.exports = {

@@ -24,7 +16,5 @@ props: {

var chart = this.$data._chart;
var newDatasetLabels = newData.datasets.map(function (dataset) {
return dataset.label;
});
var oldDatasetLabels = oldData.datasets.map(function (dataset) {

@@ -34,14 +24,15 @@ return dataset.label;

var oldLabels = (0, _stringify2.default)(oldDatasetLabels);
var newLabels = (0, _stringify2.default)(newDatasetLabels);
var oldLabels = _JSON$stringify(oldDatasetLabels);
var newLabels = _JSON$stringify(newDatasetLabels);
if (newLabels === oldLabels && oldData.datasets.length === newData.datasets.length) {
newData.datasets.forEach(function (dataset, i) {
var oldDatasetKeys = (0, _keys2.default)(oldData.datasets[i]);
var newDatasetKeys = (0, _keys2.default)(dataset);
var oldDatasetKeys = _Object$keys(oldData.datasets[i]);
var newDatasetKeys = _Object$keys(dataset);
var deletionKeys = oldDatasetKeys.filter(function (key) {
return key !== '_meta' && newDatasetKeys.indexOf(key) === -1;
});
deletionKeys.forEach(function (deletionKey) {

@@ -61,8 +52,11 @@ delete chart.data.datasets[i][deletionKey];

}
if (newData.hasOwnProperty('xLabels')) {
chart.data.xLabels = newData.xLabels;
}
if (newData.hasOwnProperty('yLabels')) {
chart.data.yLabels = newData.yLabels;
}
chart.update();

@@ -69,0 +63,0 @@ } else {

{
"name": "vue-chartjs",
"version": "3.0.0",
"version": "3.0.1-rc0",
"description": "Vue.js wrapper for chart.js for creating beautiful charts.",

@@ -60,17 +60,16 @@ "author": "Jakub Juszczak <jakub@posteo.de>",

"dependencies": {
"@babel/runtime": "^7.0.0-beta.31",
"lodash.merge": "^4.6.0"
},
"peerDependencies": {
"chart.js": "2.7.0",
"vue": "2.5.2"
"chart.js": "2.7.x",
"vue": "2.5.x"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.25.0",
"babel-loader": "6.4.1",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-runtime": "^6.23.0",
"@babel/cli": "^7.0.0-beta.31",
"@babel/core": "^7.0.0-beta.31",
"@babel/plugin-transform-runtime": "^7.0.0-beta.31",
"@babel/preset-env": "^7.0.0-beta.31",
"@babel/preset-stage-2": "^7.0.0-beta.31",
"babel-loader": "8.0.0-beta.0",
"chai": "^3.5.0",

@@ -94,4 +93,5 @@ "chart.js": "2.7.0",

"express": "^4.15.2",
"extract-text-webpack-plugin": "^1.0.1",
"extract-text-webpack-plugin": "^3.0.1",
"file-loader": "^0.10.1",
"friendly-errors-webpack-plugin": "^1.6.1",
"function-bind": "^1.0.2",

@@ -101,3 +101,3 @@ "html-webpack-plugin": "^2.28.0",

"inject-loader": "^3.0.0",
"isparta-loader": "^2.0.0",
"isparta": "^4.0.0",
"jasmine-core": "^2.5.2",

@@ -110,11 +110,14 @@ "json-loader": "^0.5.4",

"karma-phantomjs-launcher": "^1.0.4",
"karma-phantomjs-shim": "^1.4.0",
"karma-sinon-chai": "^1.2.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "0.0.30",
"karma-webpack": "1.8.1",
"karma-webpack": "2",
"lolex": "^1.6.0",
"mocha": "^3.1.0",
"nightwatch": "^0.9.14",
"opn": "^5.1.0",
"ora": "^1.2.0",
"phantomjs-prebuilt": "^2.1.13",
"portfinder": "^1.0.13",
"selenium-server": "^3.3.1",

@@ -128,18 +131,14 @@ "shelljs": "^0.7.7",

"vue-html-loader": "^1.2.4",
"vue-loader": "12.2.2",
"vue-loader": "^13.3.0",
"vue-style-loader": "3.0.1",
"vue-template-compiler": "2.5.2",
"webpack": "^1.13.2",
"webpack": "^3.7.1",
"webpack-dev-middleware": "^1.10.1",
"webpack-hot-middleware": "^2.17.1",
"webpack-merge": "1.1.1"
"webpack-merge": "^4.1.0"
},
"engines": {
"node": ">=6.9.0"
"node": ">=6.9.0",
"npm": ">= 3.0.0"
},
"babel": {
"presets": [
"es2015"
]
},
"browserify": {

@@ -146,0 +145,0 @@ "transform": [

@@ -53,3 +53,3 @@ <div align="center">

| Build | Chart.js |
|---|---|---|
|---|---|
| vue-chartjs.full.js | Bundled |

@@ -56,0 +56,0 @@ | vue-chartjs.full.min.js | Bundled |

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc