vue-apexcharts
Advanced tools
Comparing version 1.3.3 to 1.3.4
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('apexcharts')) : | ||
typeof define === 'function' && define.amd ? define(['apexcharts'], factory) : | ||
(global.VueApexCharts = factory(global.ApexCharts)); | ||
}(this, (function (ApexCharts) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('apexcharts/dist/apexcharts.common'), require('apexcharts')) : | ||
typeof define === 'function' && define.amd ? define(['apexcharts/dist/apexcharts.common', 'apexcharts'], factory) : | ||
(global.VueApexCharts = factory(global.ApexCharts,global.ApexCharts)); | ||
}(this, (function (ApexCharts,ApexCharts$1) { 'use strict'; | ||
ApexCharts = ApexCharts && ApexCharts.hasOwnProperty('default') ? ApexCharts['default'] : ApexCharts; | ||
ApexCharts$1 = ApexCharts$1 && ApexCharts$1.hasOwnProperty('default') ? ApexCharts$1['default'] : ApexCharts$1; | ||
@@ -218,12 +219,12 @@ function _typeof(obj) { | ||
var VueApexCharts = ApexChartsComponent; | ||
window.ApexCharts = ApexCharts; | ||
window.ApexCharts = ApexCharts$1; | ||
VueApexCharts.install = function (Vue) { | ||
//adding a global method or property | ||
Vue.ApexCharts = ApexCharts; | ||
window.ApexCharts = ApexCharts; // add the instance method | ||
Vue.ApexCharts = ApexCharts$1; | ||
window.ApexCharts = ApexCharts$1; // add the instance method | ||
Object.defineProperty(Vue.prototype, '$apexcharts', { | ||
get: function get() { | ||
return ApexCharts; | ||
return ApexCharts$1; | ||
} | ||
@@ -230,0 +231,0 @@ }); |
@@ -11,3 +11,3 @@ { | ||
"dependencies": { | ||
"apexcharts": "^3.0.0", | ||
"apexcharts": "^3.6.6", | ||
"vue": "^2.5.17", | ||
@@ -14,0 +14,0 @@ "vue-apexcharts": "^1.2.8", |
{ | ||
"name": "vue-apexcharts", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "Vue.js wrapper for ApexCharts", | ||
@@ -26,3 +26,3 @@ "main": "dist/vue-apexcharts.js", | ||
"peerDependencies": { | ||
"apexcharts": "^3.6.5" | ||
"apexcharts": "^3.6.6" | ||
}, | ||
@@ -29,0 +29,0 @@ "devDependencies": { |
@@ -1,2 +0,2 @@ | ||
import ApexCharts from 'apexcharts' | ||
import ApexCharts from 'apexcharts/dist/apexcharts.common' | ||
@@ -3,0 +3,0 @@ export default { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54499
556