evui 3.3.60 → 3.3.62
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 +15 -21
- package/dist/evui.common.js.map +1 -1
- package/dist/evui.umd.js +15 -21
- 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 +1 -0
- package/src/components/chart/element/element.heatmap.js +4 -16
- package/src/components/chart/plugins/plugins.scrollbar.js +6 -7
package/dist/evui.common.js
CHANGED
|
@@ -8008,7 +8008,7 @@ $({ target: 'Number', stat: true }, {
|
|
|
8008
8008
|
/***/ "9224":
|
|
8009
8009
|
/***/ (function(module) {
|
|
8010
8010
|
|
|
8011
|
-
module.exports = JSON.parse("{\"a\":\"3.3.
|
|
8011
|
+
module.exports = JSON.parse("{\"a\":\"3.3.62\"}");
|
|
8012
8012
|
|
|
8013
8013
|
/***/ }),
|
|
8014
8014
|
|
|
@@ -37921,19 +37921,6 @@ var element_heatmap_HeatMap = /*#__PURE__*/function () {
|
|
|
37921
37921
|
ctx.shadowColor = helpers_util.colorStringToRgba('#959494');
|
|
37922
37922
|
ctx.strokeStyle = color;
|
|
37923
37923
|
ctx.fillStyle = color;
|
|
37924
|
-
|
|
37925
|
-
if (this.stroke.show) {
|
|
37926
|
-
var lineWidth = this.stroke.lineWidth;
|
|
37927
|
-
|
|
37928
|
-
if (lineWidth < w && lineWidth < h) {
|
|
37929
|
-
ctx.lineWidth = lineWidth;
|
|
37930
|
-
x += lineWidth * 0.5;
|
|
37931
|
-
y += lineWidth * 0.5;
|
|
37932
|
-
w -= lineWidth;
|
|
37933
|
-
h -= lineWidth;
|
|
37934
|
-
}
|
|
37935
|
-
}
|
|
37936
|
-
|
|
37937
37924
|
this.drawItem(ctx, x - 0.5, y - 0.5, w + 1, h + 1, this.stroke);
|
|
37938
37925
|
ctx.restore();
|
|
37939
37926
|
|
|
@@ -42213,15 +42200,17 @@ var plugins_scrollbar_module = {
|
|
|
42213
42200
|
* @param dir axis direction (x | y)
|
|
42214
42201
|
*/
|
|
42215
42202
|
initScrollbarInfo: function initScrollbarInfo(axisOpt, dir) {
|
|
42203
|
+
var _axisOpt$;
|
|
42204
|
+
|
|
42216
42205
|
var scrollbarOpt = this.scrollbar[dir];
|
|
42206
|
+
var merged = lodash_es_defaultsDeep({}, axisOpt === null || axisOpt === void 0 ? void 0 : (_axisOpt$ = axisOpt[0]) === null || _axisOpt$ === void 0 ? void 0 : _axisOpt$.scrollbar, AXIS_OPTION.scrollbar);
|
|
42207
|
+
Object.keys(merged).forEach(function (key) {
|
|
42208
|
+
scrollbarOpt[key] = merged[key];
|
|
42209
|
+
});
|
|
42217
42210
|
|
|
42218
42211
|
if (!scrollbarOpt.isInit) {
|
|
42219
|
-
var _axisOpt
|
|
42212
|
+
var _axisOpt$2, _axisOpt$3;
|
|
42220
42213
|
|
|
42221
|
-
var merged = lodash_es_defaultsDeep({}, axisOpt === null || axisOpt === void 0 ? void 0 : (_axisOpt$ = axisOpt[0]) === null || _axisOpt$ === void 0 ? void 0 : _axisOpt$.scrollbar, AXIS_OPTION.scrollbar);
|
|
42222
|
-
Object.keys(merged).forEach(function (key) {
|
|
42223
|
-
scrollbarOpt[key] = merged[key];
|
|
42224
|
-
});
|
|
42225
42214
|
scrollbarOpt.type = axisOpt === null || axisOpt === void 0 ? void 0 : (_axisOpt$2 = axisOpt[0]) === null || _axisOpt$2 === void 0 ? void 0 : _axisOpt$2.type;
|
|
42226
42215
|
scrollbarOpt.range = (axisOpt === null || axisOpt === void 0 ? void 0 : (_axisOpt$3 = axisOpt[0]) === null || _axisOpt$3 === void 0 ? void 0 : _axisOpt$3.range) || null;
|
|
42227
42216
|
this.createScrollbarLayout(dir);
|
|
@@ -42745,7 +42734,9 @@ var plugins_scrollbar_module = {
|
|
|
42745
42734
|
scrollbarYDOM.addEventListener('click', this.onScrollbarClick);
|
|
42746
42735
|
scrollbarYDOM.addEventListener('mousedown', this.onScrollbarDown);
|
|
42747
42736
|
scrollbarYDOM.addEventListener('mouseleave', this.onScrollbarLeave);
|
|
42748
|
-
(_this$overlayCanvas = this.overlayCanvas) === null || _this$overlayCanvas === void 0 ? void 0 : _this$overlayCanvas.addEventListener('wheel', this.onScrollbarWheel
|
|
42737
|
+
(_this$overlayCanvas = this.overlayCanvas) === null || _this$overlayCanvas === void 0 ? void 0 : _this$overlayCanvas.addEventListener('wheel', this.onScrollbarWheel, {
|
|
42738
|
+
passive: false
|
|
42739
|
+
});
|
|
42749
42740
|
}
|
|
42750
42741
|
},
|
|
42751
42742
|
|
|
@@ -42878,7 +42869,9 @@ var plugins_scrollbar_module = {
|
|
|
42878
42869
|
if (dir === 'y') {
|
|
42879
42870
|
var _this$overlayCanvas2;
|
|
42880
42871
|
|
|
42881
|
-
(_this$overlayCanvas2 = this.overlayCanvas) === null || _this$overlayCanvas2 === void 0 ? void 0 : _this$overlayCanvas2.removeEventListener('wheel', this.onScrollbarWheel,
|
|
42872
|
+
(_this$overlayCanvas2 = this.overlayCanvas) === null || _this$overlayCanvas2 === void 0 ? void 0 : _this$overlayCanvas2.removeEventListener('wheel', this.onScrollbarWheel, {
|
|
42873
|
+
passive: false
|
|
42874
|
+
});
|
|
42882
42875
|
}
|
|
42883
42876
|
}
|
|
42884
42877
|
}
|
|
@@ -46137,6 +46130,7 @@ var chart_core_EvChart = /*#__PURE__*/function () {
|
|
|
46137
46130
|
this.drawSeries(hitInfo);
|
|
46138
46131
|
|
|
46139
46132
|
if ((_this$scrollbar = this.scrollbar) !== null && _this$scrollbar !== void 0 && (_this$scrollbar$x = _this$scrollbar.x) !== null && _this$scrollbar$x !== void 0 && _this$scrollbar$x.use || (_this$scrollbar2 = this.scrollbar) !== null && _this$scrollbar2 !== void 0 && (_this$scrollbar2$y = _this$scrollbar2.y) !== null && _this$scrollbar2$y !== void 0 && _this$scrollbar2$y.use) {
|
|
46133
|
+
this.initScrollbar();
|
|
46140
46134
|
this.updateScrollbarPosition();
|
|
46141
46135
|
}
|
|
46142
46136
|
|