evui 3.1.47 → 3.1.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/evui.common.js
CHANGED
|
@@ -7805,7 +7805,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
7805
7805
|
/***/ "9224":
|
|
7806
7806
|
/***/ (function(module) {
|
|
7807
7807
|
|
|
7808
|
-
module.exports = JSON.parse("{\"a\":\"3.1.
|
|
7808
|
+
module.exports = JSON.parse("{\"a\":\"3.1.48\"}");
|
|
7809
7809
|
|
|
7810
7810
|
/***/ }),
|
|
7811
7811
|
|
|
@@ -30943,15 +30943,12 @@ var modules = {
|
|
|
30943
30943
|
* @returns {object} data for each graph point
|
|
30944
30944
|
*/
|
|
30945
30945
|
addData: function addData(gdata, ldata) {
|
|
30946
|
-
var _gdata$value, _odata$value2, _gdata$color;
|
|
30947
|
-
|
|
30948
30946
|
var odata = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
30949
30947
|
var bdata = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
|
|
30950
30948
|
var isTop = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
|
|
30951
30949
|
var data;
|
|
30952
|
-
var gdataValue = (
|
|
30953
|
-
var odataValue = (
|
|
30954
|
-
var dataColor = (_gdata$color = gdata === null || gdata === void 0 ? void 0 : gdata.color) !== null && _gdata$color !== void 0 ? _gdata$color : odata === null || odata === void 0 ? void 0 : odata.color;
|
|
30950
|
+
var gdataValue = Object.hasOwnProperty.call(gdata, 'value') ? gdata.value : gdata;
|
|
30951
|
+
var odataValue = Object.hasOwnProperty.call(gdata, 'value') ? odata.value : odata;
|
|
30955
30952
|
|
|
30956
30953
|
if (this.options.horizontal) {
|
|
30957
30954
|
data = {
|
|
@@ -30973,8 +30970,10 @@ var modules = {
|
|
|
30973
30970
|
data.yp = null;
|
|
30974
30971
|
data.w = null;
|
|
30975
30972
|
data.h = null;
|
|
30976
|
-
data.dataColor = dataColor || null;
|
|
30977
30973
|
data.isTop = isTop;
|
|
30974
|
+
var gDataColor = Object.hasOwnProperty.call(gdata, 'color') ? gdata.color : null;
|
|
30975
|
+
var oDataColor = Object.hasOwnProperty.call(odata, 'color') ? odata.color : null;
|
|
30976
|
+
data.dataColor = gDataColor !== null && gDataColor !== void 0 ? gDataColor : oDataColor;
|
|
30978
30977
|
return data;
|
|
30979
30978
|
},
|
|
30980
30979
|
|