@syncfusion/ej2-circulargauge
Advanced tools
Comparing version 20.4.40 to 20.4.42
@@ -7,2 +7,4 @@ <!-- markdownlint-disable MD004 --> | ||
## 20.4.40 (2022-12-28) | ||
### Circular Gauge | ||
@@ -9,0 +11,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 20.4.40 | ||
* version : 20.4.42 | ||
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-circulargauge@*", | ||
"_id": "@syncfusion/ej2-circulargauge@16.40.22", | ||
"_id": "@syncfusion/ej2-circulargauge@20.4.40", | ||
"_inBundle": false, | ||
"_integrity": "sha512-tkLC6qzjYM9o4yPfV28+xU18y0k5wQYBMnIEBIp83lR+CFTFLlIs/+ByZ1UMGMZe86TqCCNJD0eNWKjxdKSKhw==", | ||
"_integrity": "sha512-Dus9vyV4VYRbazhtx6Ea40E2BJWsY1kFccZ2d/WGfZ7rV8XSlfB1kKzMRybTogfY7Uidjab3I+D27OxZNoOHoA==", | ||
"_location": "/@syncfusion/ej2-circulargauge", | ||
@@ -26,4 +26,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-circulargauge/-/ej2-circulargauge-16.40.22.tgz", | ||
"_shasum": "7560931069bdb51e2e791655c54485c58b45a201", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-circulargauge/-/ej2-circulargauge-20.4.40.tgz", | ||
"_shasum": "b710dd1f801e8bb725eff23bf7f56d09fe2c3bdb", | ||
"_spec": "@syncfusion/ej2-circulargauge@*", | ||
@@ -39,5 +39,5 @@ "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~20.4.40", | ||
"@syncfusion/ej2-pdf-export": "~20.4.40", | ||
"@syncfusion/ej2-svg-base": "~20.4.40" | ||
"@syncfusion/ej2-base": "~20.4.42", | ||
"@syncfusion/ej2-pdf-export": "~20.4.42", | ||
"@syncfusion/ej2-svg-base": "~20.4.42" | ||
}, | ||
@@ -85,4 +85,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "20.4.40", | ||
"version": "20.4.42", | ||
"sideEffects": false | ||
} |
@@ -81,2 +81,2 @@ # JavaScript Circular Gauge Control | ||
© Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution. | ||
© Copyright 2023 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution. |
@@ -346,2 +346,3 @@ /** | ||
isPropertyChange: boolean; | ||
private resizeEvent; | ||
/** | ||
@@ -348,0 +349,0 @@ * Render axis panel for gauge. |
@@ -117,3 +117,3 @@ var __extends = (this && this.__extends) || (function () { | ||
EventHandler.remove(this.element, (Browser.isPointer ? 'pointerleave' : 'mouseleave'), this.mouseLeave); | ||
window.removeEventListener((Browser.isTouch && ('orientation' in window && 'onorientationchange' in window)) ? 'orientationchange' : 'resize', this.gaugeResize); | ||
window.removeEventListener((Browser.isTouch && ('orientation' in window && 'onorientationchange' in window)) ? 'orientationchange' : 'resize', this.resizeEvent); | ||
}; | ||
@@ -133,3 +133,4 @@ /** | ||
EventHandler.add(this.element, (Browser.isPointer ? 'pointerleave' : 'mouseleave'), this.mouseLeave, this); | ||
window.addEventListener((Browser.isTouch && ('orientation' in window && 'onorientationchange' in window)) ? 'orientationchange' : 'resize', this.gaugeResize.bind(this)); | ||
this.resizeEvent = this.gaugeResize.bind(this); | ||
window.addEventListener((Browser.isTouch && ('orientation' in window && 'onorientationchange' in window)) ? 'orientationchange' : 'resize', this.resizeEvent); | ||
/*! Apply the style for circular gauge */ | ||
@@ -1021,2 +1022,5 @@ this.setGaugeStyle(this.element); | ||
this.unWireEvents(); | ||
if (!isNullOrUndefined(this.tooltipModule)) { | ||
this.tooltipModule.removeEventListener(); | ||
} | ||
_super.prototype.destroy.call(this); | ||
@@ -1023,0 +1027,0 @@ if (!isNullOrUndefined(this.gaugeAxisLayoutPanel)) { |
@@ -317,3 +317,3 @@ var __extends = (this && this.__extends) || (function () { | ||
legendGroup.appendChild(paginggroup); | ||
var grayColor = '#545454'; | ||
var grayColor = this.gauge.themeStyle.labelColor; | ||
var legend = this.gauge.legendSettings; // to solve parameter lint error, legend declaration is here | ||
@@ -345,3 +345,3 @@ var padding = 8; // const padding for paging elements | ||
textOption.text = '1/' + this.totalPages; | ||
var pageTextElement = textElement(textOption, legend.textStyle, legend.textStyle.color || this.gauge.themeStyle.labelColor, paginggroup); | ||
var pageTextElement = textElement(textOption, legend.textStyle, grayColor, paginggroup); | ||
x = (textOption.x + padding + (iconSize / 2) + size.width); | ||
@@ -348,0 +348,0 @@ symbolOption.id = this.legendID + '_pagedown'; |
@@ -477,7 +477,10 @@ import { Tooltip } from '@syncfusion/ej2-svg-base'; | ||
GaugeTooltip.prototype.removeEventListener = function () { | ||
if (this.gauge.isDestroyed) { | ||
return; | ||
if (this.gauge) { | ||
if (this.gauge.isDestroyed) { | ||
return; | ||
} | ||
this.gauge.off(Browser.touchMoveEvent, this.renderTooltip); | ||
this.gauge.off(Browser.touchEndEvent, this.mouseUpHandler); | ||
this.gauge.element.removeEventListener('contextmenu', this.removeTooltip); | ||
} | ||
this.gauge.off(Browser.touchMoveEvent, this.renderTooltip); | ||
this.gauge.off(Browser.touchEndEvent, this.mouseUpHandler); | ||
}; | ||
@@ -511,3 +514,2 @@ /** | ||
this.annotationTargetElement = null; | ||
this.removeEventListener(); | ||
this.gauge = null; | ||
@@ -514,0 +516,0 @@ }; |
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
3853573
28822