@syncfusion/ej2-heatmap
Advanced tools
Comparing version 23.2.4 to 24.1.41
@@ -5,4 +5,2 @@ # Changelog | ||
## 23.1.36 (2023-09-15) | ||
### HeatMap | ||
@@ -9,0 +7,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 23.2.4 | ||
* version : 24.1.41 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-heatmap@*", | ||
"_id": "@syncfusion/ej2-heatmap@23.1.36", | ||
"_id": "@syncfusion/ej2-heatmap@18.14.11", | ||
"_inBundle": false, | ||
"_integrity": "sha512-gecWW5QJHGQpmftJBsnPL6eDBdfdeC4qQwWzhAIaNBrX18XoQE+1xa1MY1lO8yK0sTbWt7nIUJaLi/O8XymSSA==", | ||
"_integrity": "sha512-q2631zN/5QYxZSOjbQFS3VyPmDqNEFBpF9eul2tK3gm/8ORyo/UXGvSAR+21FJSIRUeHHSitmHiqm8Ehau8u6g==", | ||
"_location": "/@syncfusion/ej2-heatmap", | ||
"_phantomChildren": { | ||
"@syncfusion/ej2-compression": "22.1.1" | ||
"@syncfusion/ej2-compression": "24.1.1" | ||
}, | ||
@@ -28,6 +28,6 @@ "_requested": { | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-heatmap/-/ej2-heatmap-23.1.36.tgz", | ||
"_shasum": "777eaf0d7d5b1a9a3549d742d06a7d174fc0cac3", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-heatmap/-/ej2-heatmap-18.14.11.tgz", | ||
"_shasum": "051aef66277b98eb3fd67082afef8a6902ce58ba", | ||
"_spec": "@syncfusion/ej2-heatmap@*", | ||
"_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included", | ||
"_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included", | ||
"author": { | ||
@@ -38,8 +38,8 @@ "name": "Syncfusion Inc." | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~23.2.4", | ||
"@syncfusion/ej2-compression": "~23.2.4", | ||
"@syncfusion/ej2-data": "~23.2.4", | ||
"@syncfusion/ej2-file-utils": "~23.2.4", | ||
"@syncfusion/ej2-pdf-export": "~23.2.4", | ||
"@syncfusion/ej2-svg-base": "~23.2.4" | ||
"@syncfusion/ej2-base": "~24.1.41", | ||
"@syncfusion/ej2-compression": "~24.1.41", | ||
"@syncfusion/ej2-data": "~24.1.41", | ||
"@syncfusion/ej2-file-utils": "~24.1.41", | ||
"@syncfusion/ej2-pdf-export": "~24.1.41", | ||
"@syncfusion/ej2-svg-base": "~24.1.41" | ||
}, | ||
@@ -85,4 +85,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "23.2.4", | ||
"version": "24.1.41", | ||
"sideEffects": false | ||
} |
@@ -264,3 +264,3 @@ import { Rect, Size, measureText, TextOption, rotateTextSize, textTrim, CanvasTooltip, PathOption, textWrap, getIsLineBreakLabel } from '../utils/helper'; | ||
var x = lableRect.x + ((!axis.isInversed) ? | ||
(lableRect.width / 2) : -((lableRect.width / 2))); | ||
(lableRect.width / 2) - (elementSize.width / 2) : -((lableRect.width / 2) + (elementSize.width / 2))); | ||
if (axis.textStyle.textAlignment === 'Near') { | ||
@@ -300,2 +300,3 @@ x = lableRect.x - ((!axis.isInversed) ? 0 : lableRect.width); | ||
this.drawXAxisBorder(axis, borderElement, axis.rect, x, elementSize.width, i); | ||
x = (axis.textStyle.textAlignment === 'Center' && wrappedlabels.length > 1) ? x + (elementSize.width / 2) : axis.textStyle.textAlignment === 'Near' ? x + padding / 2 : axis.textStyle.textAlignment === 'Far' ? x - padding / 2 : x; | ||
if (angle % 360 !== 0) { | ||
@@ -331,3 +332,3 @@ angle = (angle > 360) ? angle % 360 : angle; | ||
(elementSize.width / 2) : -((elementSize.width / 2))) : x; | ||
var options = new TextOption(heatMap.element.id + '_XAxis_Label' + i, new TextBasic(x, y, (angle % 360 === 0) ? axis.textStyle.textAlignment === 'Center' ? 'middle' : 'start' : 'middle', label, angle, transform), axis.textStyle, axis.textStyle.color || heatMap.themeStyle.axisLabel); | ||
var options = new TextOption(heatMap.element.id + '_XAxis_Label' + i, new TextBasic(x, y, (angle % 360 === 0) ? (axis.textStyle.textAlignment === 'Center' && wrappedlabels.length > 1) ? 'middle' : 'start' : 'middle', label, angle, transform), axis.textStyle, axis.textStyle.color || heatMap.themeStyle.axisLabel); | ||
/* eslint-disable max-len */ | ||
@@ -553,2 +554,4 @@ options.text = isLineBreak ? wrappedlabels : getTitle(options.text, axis.textStyle, lableRect.width - (axis.border.width / 2)); | ||
var endY2 = axis.isInversed ? (lableX - padding) : (lableX + width + padding); | ||
endY2 = axis.textStyle.textAlignment == 'Near' && axis.isInversed ? endY2 + padding : axis.textStyle.textAlignment == 'Far' && !axis.isInversed ? endY2 - padding : endY2; | ||
endY1 = axis.textStyle.textAlignment == 'Far' && axis.isInversed ? endY1 - padding : axis.textStyle.textAlignment == 'Near' && !axis.isInversed ? endY1 + padding : endY1; | ||
switch (axis.border.type) { | ||
@@ -555,0 +558,0 @@ case 'Rectangle': |
@@ -987,6 +987,6 @@ var __extends = (this && this.__extends) || (function () { | ||
if (isTouch) { | ||
if (this.tooltipTimer) { | ||
window.clearTimeout(this.tooltipTimer); | ||
if (!isNullOrUndefined(heatmap.tooltipTimer)) { | ||
window.clearTimeout(heatmap.tooltipTimer); | ||
} | ||
this.tooltipTimer = setTimeout(function () { removeElement(id); }, 1500); | ||
heatmap.tooltipTimer = setTimeout(function () { removeElement(id); }, 1500); | ||
} | ||
@@ -993,0 +993,0 @@ } |
@@ -160,2 +160,3 @@ /** | ||
fill: this.heatMap.tooltipSettings.fill, | ||
enableShadow: true, | ||
template: this.heatMap.tooltipSettings.template === '' ? null : this.heatMap.tooltipSettings.template, | ||
@@ -308,2 +309,5 @@ border: { | ||
} | ||
if (this.heatMap.isVue || this.heatMap.isVue3) { | ||
this.tooltipObject.controlInstance = this.heatMap; | ||
} | ||
this.showHideTooltip(true); | ||
@@ -310,0 +314,0 @@ this.tooltipObject.enableAnimation = (this.isFirst || this.isFadeout) ? false : true; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
5231377
35128
10678
+ Added@syncfusion/ej2-base@24.1.46(transitive)
+ Added@syncfusion/ej2-compression@24.1.41(transitive)
+ Added@syncfusion/ej2-data@24.1.41(transitive)
+ Added@syncfusion/ej2-file-utils@24.1.41(transitive)
+ Added@syncfusion/ej2-icons@24.1.41(transitive)
+ Added@syncfusion/ej2-pdf-export@24.1.47(transitive)
+ Added@syncfusion/ej2-svg-base@24.1.47(transitive)
- Removed@syncfusion/ej2-base@23.2.6(transitive)
- Removed@syncfusion/ej2-compression@23.2.4(transitive)
- Removed@syncfusion/ej2-data@23.2.4(transitive)
- Removed@syncfusion/ej2-file-utils@23.2.4(transitive)
- Removed@syncfusion/ej2-icons@23.2.4(transitive)
- Removed@syncfusion/ej2-pdf-export@23.2.6(transitive)
- Removed@syncfusion/ej2-svg-base@23.2.5(transitive)