@syncfusion/ej2-popups
Advanced tools
Comparing version 21.1.41 to 21.2.3
@@ -9,2 +9,10 @@ # Changelog | ||
- `#I446416` - The performance issue in ListView while integrating Tooltip has been resolved. | ||
## 21.1.41 (2023-04-18) | ||
### Tooltip | ||
#### Bug Fixes | ||
- `#I448669` - The issue in Tooltip component while hovering the previous selected item has been resolved. | ||
@@ -11,0 +19,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 21.1.41 | ||
* version : 21.2.3 | ||
* 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-popups@*", | ||
"_id": "@syncfusion/ej2-popups@21.1.37", | ||
"_id": "@syncfusion/ej2-popups@21.1.41", | ||
"_inBundle": false, | ||
"_integrity": "sha512-1uCuECmRX1Ieo/AlQXku2C4eXhkRl3DtHQLl9LHkkuoe2sj4aBGnSMP4e6/i6V/fRn20mD70kzqbu/g35I7X+A==", | ||
"_integrity": "sha512-OntPUdBEMTdjor7EixLUCzgiZM022E7ZVknUMRHqRXxroI/ZomXoDXHnYvdAeU1G0Z62WmOnHA4u9NIf8+63lw==", | ||
"_location": "/@syncfusion/ej2-popups", | ||
@@ -46,4 +46,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-popups/-/ej2-popups-21.1.37.tgz", | ||
"_shasum": "9223bfb7a7a87e88b9c90e8e79d6628e0fefb464", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-popups/-/ej2-popups-21.1.41.tgz", | ||
"_shasum": "d3ec773b56874558e0fc116b2030dfbc4b6cc70a", | ||
"_spec": "@syncfusion/ej2-popups@*", | ||
@@ -59,4 +59,4 @@ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~21.1.40", | ||
"@syncfusion/ej2-buttons": "~21.1.37" | ||
"@syncfusion/ej2-base": "~21.2.3", | ||
"@syncfusion/ej2-buttons": "~21.2.3" | ||
}, | ||
@@ -96,4 +96,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "21.1.41", | ||
"version": "21.2.3", | ||
"sideEffects": false | ||
} |
@@ -157,2 +157,4 @@ var __extends = (this && this.__extends) || (function () { | ||
this.element.classList.remove(CLASSNAMES.ROOT, CLASSNAMES.RTL, CLASSNAMES.OPEN, CLASSNAMES.CLOSE); | ||
this.content = null; | ||
this.relateTo = null; | ||
_super.prototype.destroy.call(this); | ||
@@ -159,0 +161,0 @@ }; |
@@ -584,3 +584,2 @@ import { Component, ChildProperty, BaseEventArgs } from '@syncfusion/ej2-base'; | ||
private wireEvents; | ||
private updateTarget; | ||
private getTriggerList; | ||
@@ -587,0 +586,0 @@ private wireFocusEvents; |
@@ -849,2 +849,9 @@ var __extends = (this && this.__extends) || (function () { | ||
Tooltip.prototype.keyDown = function (event) { | ||
if (!isNullOrUndefined(this.targetsList) && !isNullOrUndefined(this.target)) { | ||
var target = [].slice.call(selectAll(this.target, this.element)); | ||
if (target.length !== this.targetsList.length) { | ||
this.unwireEvents(this.opensOn); | ||
this.wireEvents(this.opensOn); | ||
} | ||
} | ||
if (this.tooltipEle && event.keyCode === 27) { | ||
@@ -906,3 +913,2 @@ this.close(); | ||
this.wireFocusEvents(); | ||
EventHandler.add(this.element, 'DOMNodeInserted', this.updateTarget, this); | ||
} | ||
@@ -930,11 +936,2 @@ if (opensOn === 'Click') { | ||
}; | ||
Tooltip.prototype.updateTarget = function (e) { | ||
if (!isNullOrUndefined(this.targetsList) && !isNullOrUndefined(this.target)) { | ||
var target = [].slice.call(selectAll(this.target, this.element)); | ||
if (target.length !== this.targetsList.length) { | ||
this.unwireEvents(this.opensOn); | ||
this.wireEvents(this.opensOn); | ||
} | ||
} | ||
}; | ||
Tooltip.prototype.getTriggerList = function (trigger) { | ||
@@ -948,8 +945,13 @@ if (trigger === 'Auto') { | ||
if (!isNullOrUndefined(this.target)) { | ||
var targetList = [].slice.call(selectAll(this.target, this.element)); | ||
this.targetsList = targetList; | ||
for (var _i = 0, targetList_2 = targetList; _i < targetList_2.length; _i++) { | ||
var target = targetList_2[_i]; | ||
EventHandler.add(target, 'focus', this.targetHover, this); | ||
if (this.element.nodeName !== "BODY") { | ||
EventHandler.add(this.element, 'focusin', this.targetHover, this); | ||
} | ||
else { | ||
var targetList = [].slice.call(selectAll(this.target, this.element)); | ||
this.targetsList = targetList; | ||
for (var _i = 0, targetList_2 = targetList; _i < targetList_2.length; _i++) { | ||
var target = targetList_2[_i]; | ||
EventHandler.add(target, 'focus', this.targetHover, this); | ||
} | ||
} | ||
} | ||
@@ -966,2 +968,5 @@ else { | ||
} | ||
if (e.type === 'focusin') { | ||
EventHandler.add(target, 'focusout', this.onMouseOut, this); | ||
} | ||
if (e.type === 'mouseover') { | ||
@@ -998,3 +1003,2 @@ EventHandler.add(target, 'mouseleave', this.onMouseOut, this); | ||
this.unwireFocusEvents(); | ||
EventHandler.remove(this.element, 'DOMNodeInserted', this.updateTarget); | ||
} | ||
@@ -1023,7 +1027,12 @@ if (opensOn === 'Click') { | ||
if (!isNullOrUndefined(this.target)) { | ||
var targetList = [].slice.call(selectAll(this.target, this.element)); | ||
for (var _i = 0, targetList_3 = targetList; _i < targetList_3.length; _i++) { | ||
var target = targetList_3[_i]; | ||
EventHandler.remove(target, 'focus', this.targetHover); | ||
if (this.element.nodeName === 'BODY') { | ||
EventHandler.remove(this.element, 'focusin', this.targetHover); | ||
} | ||
else { | ||
var targetList = [].slice.call(selectAll(this.target, this.element)); | ||
for (var _i = 0, targetList_3 = targetList; _i < targetList_3.length; _i++) { | ||
var target = targetList_3[_i]; | ||
EventHandler.remove(target, 'focus', this.targetHover); | ||
} | ||
} | ||
} | ||
@@ -1041,2 +1050,3 @@ else { | ||
EventHandler.remove(target, 'blur', this.onMouseOut); | ||
EventHandler.remove(target, 'focusout', this.onMouseOut); | ||
} | ||
@@ -1043,0 +1053,0 @@ if (opensOn === 'Hover' && !Browser.isDevice) { |
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
3579351
49501
+ Added@syncfusion/ej2-base@21.2.9(transitive)
+ Added@syncfusion/ej2-buttons@21.2.10(transitive)
+ Added@syncfusion/ej2-icons@21.2.3(transitive)
- Removed@syncfusion/ej2-base@21.1.40(transitive)
- Removed@syncfusion/ej2-buttons@21.1.42(transitive)
- Removed@syncfusion/ej2-icons@21.1.37(transitive)
Updated@syncfusion/ej2-base@~21.2.3