@syncfusion/ej2-popups
Advanced tools
Comparing version 26.1.41 to 26.1.42
/*! | ||
* filename: index.d.ts | ||
* version : 26.1.41 | ||
* version : 26.1.42 | ||
* 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-popups@*", | ||
"_id": "@syncfusion/ej2-popups@26.1.38", | ||
"_id": "@syncfusion/ej2-popups@26.1.41", | ||
"_inBundle": false, | ||
"_integrity": "sha512-bNKTuGLmQqsujx5wGbz6IJQMF3rOZG/vZpk8lXGjGUtIfCzEmZOlnIGvbGHzEQV8dZyFcYThCyABykipXW6V1A==", | ||
"_integrity": "sha512-HsJmz8NzsL5M/srzAHWvZR3N+le56NhnUqqAPTlCCQWG/fLuHXwksg6sEPHEesOjRhbMS0XGAvafRgLIgyBY2g==", | ||
"_location": "/@syncfusion/ej2-popups", | ||
@@ -47,4 +47,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-popups/-/ej2-popups-26.1.38.tgz", | ||
"_shasum": "bf2e02e4cea4b03a5b17289ec0f31bdf83560362", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-popups/-/ej2-popups-26.1.41.tgz", | ||
"_shasum": "8692fbf4798d84e5d65e017651e1f4c71191550f", | ||
"_spec": "@syncfusion/ej2-popups@*", | ||
@@ -60,3 +60,3 @@ "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~26.1.37", | ||
"@syncfusion/ej2-base": "~26.1.42", | ||
"@syncfusion/ej2-buttons": "~26.1.40" | ||
@@ -97,4 +97,4 @@ }, | ||
"typings": "index.d.ts", | ||
"version": "26.1.41", | ||
"version": "26.1.42", | ||
"sideEffects": false | ||
} |
@@ -778,2 +778,4 @@ import { Component, EmitType } from '@syncfusion/ej2-base'; | ||
private unWireEvents; | ||
private unWireButtonEvents; | ||
private destroyButtons; | ||
/** | ||
@@ -780,0 +782,0 @@ * Refreshes the dialog's position when the user changes its header and footer height/width dynamically. |
@@ -406,2 +406,6 @@ import { Component, ChildProperty, BaseEventArgs } from '@syncfusion/ej2-base'; | ||
destroyed: EmitType<Object>; | ||
private windowResizeBound; | ||
private keyDownBound; | ||
private touchEndBound; | ||
private scrollWheelBound; | ||
/** | ||
@@ -408,0 +412,0 @@ * Constructor for creating the Tooltip Component |
@@ -200,3 +200,3 @@ var __extends = (this && this.__extends) || (function () { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
if (this.isReact && !(this.opensOn === 'Click' && typeof (this.content) === 'function')) { | ||
if (this.isReact && !(this.opensOn === 'Click' || typeof (this.content) === 'function')) { | ||
this.clearTemplate(['content']); | ||
@@ -891,2 +891,5 @@ } | ||
} | ||
if (this.popupObj && !this.popupObj.element.classList.contains(POPUP_OPEN)) { | ||
this.clear(); | ||
} | ||
}; | ||
@@ -1009,6 +1012,11 @@ Tooltip.prototype.tooltipElementMouseOut = function (e) { | ||
} | ||
EventHandler.add(document, 'touchend', this.touchEnd, this); | ||
EventHandler.add(document, 'scroll wheel', this.scrollHandler, this); | ||
EventHandler.add(window, 'resize', this.windowResize, this); | ||
EventHandler.add(document, 'keydown', this.keyDown, this); | ||
this.windowResizeBound = this.windowResize.bind(this); | ||
this.keyDownBound = this.keyDown.bind(this); | ||
this.touchEndBound = this.touchEnd.bind(this); | ||
this.scrollWheelBound = this.scrollHandler.bind(this); | ||
document.addEventListener('wheel', this.scrollWheelBound); | ||
document.addEventListener('scroll', this.scrollWheelBound); | ||
document.addEventListener('touchend', this.touchEndBound); | ||
document.addEventListener('keydown', this.keyDownBound); | ||
window.addEventListener('resize', this.windowResizeBound); | ||
}; | ||
@@ -1097,6 +1105,11 @@ Tooltip.prototype.getTriggerList = function (trigger) { | ||
} | ||
EventHandler.remove(document, 'touchend', this.touchEnd); | ||
EventHandler.remove(document, 'scroll wheel', this.scrollHandler); | ||
EventHandler.remove(window, 'resize', this.windowResize); | ||
EventHandler.remove(document, 'keydown', this.keyDown); | ||
document.removeEventListener('touchend', this.touchEndBound); | ||
this.touchEndBound = null; | ||
document.removeEventListener('wheel', this.scrollWheelBound); | ||
document.removeEventListener('scroll', this.scrollWheelBound); | ||
this.scrollWheelBound = null; | ||
window.removeEventListener('resize', this.windowResizeBound); | ||
this.windowResizeBound = null; | ||
document.removeEventListener('keydown', this.keyDownBound); | ||
this.keyDownBound = null; | ||
}; | ||
@@ -1103,0 +1116,0 @@ Tooltip.prototype.unwireFocusEvents = function () { |
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
Sorry, the diff of this file is too big to display
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
4412104
64350