evui 3.4.148 → 3.4.149
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 +63 -9
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +63 -9
- package/dist/evui.umd.js.map +1 -1
- package/dist/evui.umd.min.js +1 -1
- package/dist/evui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/chart/chart.core.js +0 -1
- package/src/components/chart/model/model.store.js +23 -6
package/dist/evui.common.js
CHANGED
|
@@ -11227,7 +11227,7 @@ var update = add("9519e5b6", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
11227
11227
|
/***/ "9224":
|
|
11228
11228
|
/***/ (function(module) {
|
|
11229
11229
|
|
|
11230
|
-
module.exports = JSON.parse("{\"a\":\"3.4.
|
|
11230
|
+
module.exports = JSON.parse("{\"a\":\"3.4.149\"}");
|
|
11231
11231
|
|
|
11232
11232
|
/***/ }),
|
|
11233
11233
|
|
|
@@ -14958,6 +14958,22 @@ addToUnscopables('values');
|
|
|
14958
14958
|
addToUnscopables('entries');
|
|
14959
14959
|
|
|
14960
14960
|
|
|
14961
|
+
/***/ }),
|
|
14962
|
+
|
|
14963
|
+
/***/ "e285":
|
|
14964
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
14965
|
+
|
|
14966
|
+
var global = __webpack_require__("da84");
|
|
14967
|
+
|
|
14968
|
+
var globalIsFinite = global.isFinite;
|
|
14969
|
+
|
|
14970
|
+
// `Number.isFinite` method
|
|
14971
|
+
// https://tc39.github.io/ecma262/#sec-number.isfinite
|
|
14972
|
+
module.exports = Number.isFinite || function isFinite(it) {
|
|
14973
|
+
return typeof it == 'number' && globalIsFinite(it);
|
|
14974
|
+
};
|
|
14975
|
+
|
|
14976
|
+
|
|
14961
14977
|
/***/ }),
|
|
14962
14978
|
|
|
14963
14979
|
/***/ "e2cc":
|
|
@@ -15764,6 +15780,19 @@ module.exports = exports;
|
|
|
15764
15780
|
/* unused harmony reexport * */
|
|
15765
15781
|
|
|
15766
15782
|
|
|
15783
|
+
/***/ }),
|
|
15784
|
+
|
|
15785
|
+
/***/ "f00c":
|
|
15786
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
15787
|
+
|
|
15788
|
+
var $ = __webpack_require__("23e7");
|
|
15789
|
+
var numberIsFinite = __webpack_require__("e285");
|
|
15790
|
+
|
|
15791
|
+
// `Number.isFinite` method
|
|
15792
|
+
// https://tc39.github.io/ecma262/#sec-number.isfinite
|
|
15793
|
+
$({ target: 'Number', stat: true }, { isFinite: numberIsFinite });
|
|
15794
|
+
|
|
15795
|
+
|
|
15767
15796
|
/***/ }),
|
|
15768
15797
|
|
|
15769
15798
|
/***/ "f069":
|
|
@@ -38357,6 +38386,9 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
38357
38386
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
38358
38387
|
return Constructor;
|
|
38359
38388
|
}
|
|
38389
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.is-finite.js
|
|
38390
|
+
var es_number_is_finite = __webpack_require__("f00c");
|
|
38391
|
+
|
|
38360
38392
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.entries.js
|
|
38361
38393
|
var es_object_entries = __webpack_require__("4fad");
|
|
38362
38394
|
|
|
@@ -38910,6 +38942,8 @@ var textMeasureCtx = textMeasureCanvas.getContext('2d');
|
|
|
38910
38942
|
|
|
38911
38943
|
|
|
38912
38944
|
|
|
38945
|
+
|
|
38946
|
+
|
|
38913
38947
|
|
|
38914
38948
|
|
|
38915
38949
|
|
|
@@ -39128,21 +39162,42 @@ var modules = {
|
|
|
39128
39162
|
this.dataSet[key].dataGroup[index].max = Math.max(this.dataSet[key].dataGroup[index].max, _item.y);
|
|
39129
39163
|
this.dataSet[key].dataGroup[index].min = Math.min(this.dataSet[key].dataGroup[index].min, _item.y);
|
|
39130
39164
|
}
|
|
39131
|
-
}
|
|
39165
|
+
} // 실제 차트에 그려지는 데이터(fromTime ~ toTime 범위)에서만 min/max 계산
|
|
39166
|
+
|
|
39132
39167
|
|
|
39133
39168
|
var tempMinMax = {
|
|
39134
|
-
maxY:
|
|
39169
|
+
maxY: -Infinity,
|
|
39135
39170
|
minY: Infinity
|
|
39136
39171
|
};
|
|
39172
|
+
var _this$dataSet$key = this.dataSet[key],
|
|
39173
|
+
fromTime = _this$dataSet$key.fromTime,
|
|
39174
|
+
toTime = _this$dataSet$key.toTime;
|
|
39137
39175
|
|
|
39138
39176
|
for (var _i4 = 0; _i4 < this.dataSet[key].length; _i4++) {
|
|
39139
|
-
|
|
39140
|
-
|
|
39141
|
-
|
|
39177
|
+
var groupData = this.dataSet[key].dataGroup[_i4].data;
|
|
39178
|
+
|
|
39179
|
+
for (var j = 0; j < groupData.length; j++) {
|
|
39180
|
+
var _item2 = groupData[j]; // 현재 시간 범위 내의 데이터만 minMax 계산에 포함
|
|
39142
39181
|
|
|
39143
|
-
|
|
39144
|
-
|
|
39182
|
+
if (_item2.x >= fromTime && _item2.x <= toTime) {
|
|
39183
|
+
if (_item2.y > tempMinMax.maxY) {
|
|
39184
|
+
tempMinMax.maxY = _item2.y;
|
|
39185
|
+
}
|
|
39186
|
+
|
|
39187
|
+
if (_item2.y < tempMinMax.minY) {
|
|
39188
|
+
tempMinMax.minY = _item2.y;
|
|
39189
|
+
}
|
|
39190
|
+
}
|
|
39145
39191
|
}
|
|
39192
|
+
} // 유효한 데이터가 없는 경우 기본값 설정
|
|
39193
|
+
|
|
39194
|
+
|
|
39195
|
+
if (!Number.isFinite(tempMinMax.maxY)) {
|
|
39196
|
+
tempMinMax.maxY = 0;
|
|
39197
|
+
}
|
|
39198
|
+
|
|
39199
|
+
if (!Number.isFinite(tempMinMax.minY)) {
|
|
39200
|
+
tempMinMax.minY = 0;
|
|
39146
39201
|
}
|
|
39147
39202
|
|
|
39148
39203
|
minMaxValues.maxY = Math.max(minMaxValues.maxY, tempMinMax.maxY);
|
|
@@ -56363,7 +56418,6 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
56363
56418
|
this.axesRange = null;
|
|
56364
56419
|
this.labelOffset = null;
|
|
56365
56420
|
this.chartRect = null;
|
|
56366
|
-
this.pieDataSet = [];
|
|
56367
56421
|
}
|
|
56368
56422
|
/**
|
|
56369
56423
|
* Clear overlay canvas
|