Skip to content

Commit 66e8230

Browse files
committed
chore: 1.0.0 version: update package.json and build files
1 parent 90bb75e commit 66e8230

8 files changed

+1304
-1299
lines changed

dist/coreui-vue-chartjs.common.js

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2863,7 +2863,7 @@ function toComment(sourceMap) {
28632863
/***/ (function(module, exports, __webpack_require__) {
28642864

28652865
/*!
2866-
* Chart.js v2.9.2
2866+
* Chart.js v2.9.3
28672867
* https://www.chartjs.org
28682868
* (c) 2019 Chart.js Contributors
28692869
* Released under the MIT License
@@ -6747,7 +6747,7 @@ helpers$1.extend(DatasetController.prototype, {
67476747
}
67486748

67496749
if (style.fill === false || style.fill === null) {
6750-
style.backgroundColor = 'rgba(0,0,0,0)';
6750+
style.backgroundColor = style.borderColor;
67516751
}
67526752

67536753
return style;
@@ -14298,7 +14298,7 @@ var Scale = core_element.extend({
1429814298
*/
1429914299
_getLabels: function() {
1430014300
var data = this.chart.data;
14301-
return this.options.labels || (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels;
14301+
return this.options.labels || (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels || [];
1430214302
},
1430314303

1430414304
// These methods are ordered by lifecyle. Utilities then follow.
@@ -33867,6 +33867,17 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat
3386733867
chart: undefined
3386833868
};
3386933869
},
33870+
watch: {
33871+
chartConfig: function chartConfig() {
33872+
this.updateChart();
33873+
}
33874+
},
33875+
mounted: function mounted() {
33876+
this.renderChart();
33877+
},
33878+
beforeDestroy: function beforeDestroy() {
33879+
this.destroyChart();
33880+
},
3387033881
computed: {
3387133882
safeId: function safeId() {
3387233883
// as long as this._uid() works there is no need to generate the key
@@ -33884,6 +33895,8 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat
3388433895

3388533896
if (this.labels && typeof this.labels !== 'string') {
3388633897
return this.labels;
33898+
} else if (!this.datasets || !this.datasets[0] || !this.datasets[0].data) {
33899+
return [];
3388733900
}
3388833901

3388933902
var emptyLabels = Array(this.datasets[0].data.length).fill('');
@@ -33947,14 +33960,6 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat
3394733960
};
3394833961
}
3394933962
},
33950-
watch: {
33951-
chartConfig: function chartConfig() {
33952-
this.updateChart();
33953-
}
33954-
},
33955-
mounted: function mounted() {
33956-
this.renderChart();
33957-
},
3395833963
methods: {
3395933964
renderChart: function renderChart() {
3396033965
this.destroyChart();
@@ -33970,9 +33975,6 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat
3397033975
}
3397133976
}
3397233977
},
33973-
beforeDestroy: function beforeDestroy() {
33974-
this.destroyChart();
33975-
},
3397633978
render: function render(h) {
3397733979
return h('div', [h('canvas', {
3397833980
attrs: {

dist/coreui-vue-chartjs.common.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/coreui-vue-chartjs.umd.js

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2872,7 +2872,7 @@ function toComment(sourceMap) {
28722872
/***/ (function(module, exports, __webpack_require__) {
28732873

28742874
/*!
2875-
* Chart.js v2.9.2
2875+
* Chart.js v2.9.3
28762876
* https://www.chartjs.org
28772877
* (c) 2019 Chart.js Contributors
28782878
* Released under the MIT License
@@ -6756,7 +6756,7 @@ helpers$1.extend(DatasetController.prototype, {
67566756
}
67576757

67586758
if (style.fill === false || style.fill === null) {
6759-
style.backgroundColor = 'rgba(0,0,0,0)';
6759+
style.backgroundColor = style.borderColor;
67606760
}
67616761

67626762
return style;
@@ -14307,7 +14307,7 @@ var Scale = core_element.extend({
1430714307
*/
1430814308
_getLabels: function() {
1430914309
var data = this.chart.data;
14310-
return this.options.labels || (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels;
14310+
return this.options.labels || (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels || [];
1431114311
},
1431214312

1431314313
// These methods are ordered by lifecyle. Utilities then follow.
@@ -33876,6 +33876,17 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat
3387633876
chart: undefined
3387733877
};
3387833878
},
33879+
watch: {
33880+
chartConfig: function chartConfig() {
33881+
this.updateChart();
33882+
}
33883+
},
33884+
mounted: function mounted() {
33885+
this.renderChart();
33886+
},
33887+
beforeDestroy: function beforeDestroy() {
33888+
this.destroyChart();
33889+
},
3387933890
computed: {
3388033891
safeId: function safeId() {
3388133892
// as long as this._uid() works there is no need to generate the key
@@ -33893,6 +33904,8 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat
3389333904

3389433905
if (this.labels && typeof this.labels !== 'string') {
3389533906
return this.labels;
33907+
} else if (!this.datasets || !this.datasets[0] || !this.datasets[0].data) {
33908+
return [];
3389633909
}
3389733910

3389833911
var emptyLabels = Array(this.datasets[0].data.length).fill('');
@@ -33956,14 +33969,6 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat
3395633969
};
3395733970
}
3395833971
},
33959-
watch: {
33960-
chartConfig: function chartConfig() {
33961-
this.updateChart();
33962-
}
33963-
},
33964-
mounted: function mounted() {
33965-
this.renderChart();
33966-
},
3396733972
methods: {
3396833973
renderChart: function renderChart() {
3396933974
this.destroyChart();
@@ -33979,9 +33984,6 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterat
3397933984
}
3398033985
}
3398133986
},
33982-
beforeDestroy: function beforeDestroy() {
33983-
this.destroyChart();
33984-
},
3398533987
render: function render(h) {
3398633988
return h('div', [h('canvas', {
3398733989
attrs: {

dist/coreui-vue-chartjs.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/coreui-vue-chartjs.umd.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/coreui-vue-chartjs.umd.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)