@syncfusion/ej2-popups
Advanced tools
Comparing version
@@ -5,48 +5,2 @@ # Changelog | ||
### Dialog | ||
#### Bug Fixes | ||
- `#I547853` - Fixed an issue where the dialog was not draggable on mobile devices. | ||
## 24.2.8 (2024-02-27) | ||
### Dialog | ||
#### Bug Fixes | ||
- `#F186300` - Fixed an issue where memory was not being released after closing the dialog when the resize property enabled. | ||
## 24.2.5 (2024-02-13) | ||
### Tooltip | ||
#### Bug Fixes | ||
- `#I549075` - The issue with positioning when using the container property in the Tooltip component has been resolved. | ||
## 24.2.3 (2024-01-31) | ||
### Tooltip | ||
#### Bug Fixes | ||
- `#I533557` - The console error that occurs when the parent component containing the Tooltip component is removed from the DOM has been resolved. | ||
## 24.1.46 (2024-01-17) | ||
### Tooltip | ||
#### Bug Fixes | ||
- `#I533557` - The console error while assigning a function type value to the `Content` property in the Tooltip component has been resolved. | ||
## 24.1.44 (2024-01-03) | ||
### Tooltip | ||
#### Bug Fixes | ||
- `#I531367` - The issue with the Tooltip's incorrect positioning when template content is rendered has been resolved. | ||
## 21.1.35 (2023-03-23) | ||
@@ -53,0 +7,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 24.2.9 | ||
* version : 25.1.35 | ||
* 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@24.2.8", | ||
"_id": "@syncfusion/ej2-popups@21.6.12", | ||
"_inBundle": false, | ||
"_integrity": "sha512-81LqPFSr0aZTXuBR25OcEERgxybF0GqjNztFxmynFoBYe/zZfpDpYLdzgJIpfAvqKe7Tpl7Mz2Wazg66dvzVKA==", | ||
"_integrity": "sha512-RGSiKFnXGZ/qzfkqRJJpRFEg0gcCjCD9mIrAfYuJ/ZKLgILY2rgz81Rb9kv4VFL9tBoroByzNYyaBvoCAljYHg==", | ||
"_location": "/@syncfusion/ej2-popups", | ||
@@ -47,6 +47,6 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-popups/-/ej2-popups-24.2.8.tgz", | ||
"_shasum": "f99ec976f4ee29c5384fde4207a8f2f309d6ea56", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-popups/-/ej2-popups-21.6.12.tgz", | ||
"_shasum": "41e702794be21f205f3509a8694f400634cf3f30", | ||
"_spec": "@syncfusion/ej2-popups@*", | ||
"_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included", | ||
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included", | ||
"author": { | ||
@@ -60,4 +60,4 @@ "name": "Syncfusion Inc." | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~24.2.7", | ||
"@syncfusion/ej2-buttons": "~24.2.7" | ||
"@syncfusion/ej2-base": "25.1.35-579988", | ||
"@syncfusion/ej2-buttons": "25.1.35-579988" | ||
}, | ||
@@ -97,4 +97,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "24.2.10", | ||
"version": "25.1.35-579988", | ||
"sideEffects": false | ||
} |
@@ -44,1 +44,2 @@ /** | ||
export declare function flip(element: HTMLElement, target: HTMLElement, offsetX: number, offsetY: number, positionX: string, positionY: string, viewPortElement?: HTMLElement, axis?: CollisionCoordinates, fixedParent?: boolean): void; | ||
export declare function destroy(): void; |
@@ -426,1 +426,5 @@ /** | ||
} | ||
export function destroy() { | ||
targetContainer = null; | ||
parentDocument = null; | ||
} |
@@ -1,2 +0,2 @@ | ||
import { setStyleAttribute, addClass, removeClass, ChildProperty, Complex } from '@syncfusion/ej2-base';import { isNullOrUndefined, formatUnit } from '@syncfusion/ej2-base';import { Browser } from '@syncfusion/ej2-base';import { calculatePosition, OffsetPosition, calculateRelativeBasedPosition } from '../common/position';import { Animation, AnimationModel, Property, Event, EmitType, Component } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged } from '@syncfusion/ej2-base';import { EventHandler } from '@syncfusion/ej2-base';import { flip, fit, isCollide , CollisionCoordinates } from '../common/collision'; | ||
import { setStyleAttribute, addClass, removeClass, ChildProperty, Complex } from '@syncfusion/ej2-base';import { isNullOrUndefined, formatUnit } from '@syncfusion/ej2-base';import { Browser } from '@syncfusion/ej2-base';import { calculatePosition, OffsetPosition, calculateRelativeBasedPosition } from '../common/position';import { Animation, AnimationModel, Property, Event, EmitType, Component } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged } from '@syncfusion/ej2-base';import { EventHandler } from '@syncfusion/ej2-base';import { flip, fit, isCollide , CollisionCoordinates, destroy as collisionDestroy } from '../common/collision'; | ||
import {TargetType,CollisionAxis,ActionOnScrollType} from "./popup"; | ||
@@ -3,0 +3,0 @@ import {ComponentModel} from '@syncfusion/ej2-base'; |
@@ -27,3 +27,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import { EventHandler } from '@syncfusion/ej2-base'; | ||
import { flip, fit, isCollide } from '../common/collision'; | ||
import { flip, fit, isCollide, destroy as collisionDestroy } from '../common/collision'; | ||
/** | ||
@@ -160,2 +160,3 @@ * Specifies the offset position values. | ||
this.relateTo = null; | ||
collisionDestroy(); | ||
_super.prototype.destroy.call(this); | ||
@@ -652,3 +653,3 @@ }; | ||
var parentStyle = getComputedStyle(parent); | ||
if (parentStyle.position === 'fixed' && !isNullOrUndefined(this.element) && this.element.offsetParent && | ||
if ((parentStyle.position === 'fixed' || parentStyle.position === 'sticky') && !isNullOrUndefined(this.element) && this.element.offsetParent && | ||
this.element.offsetParent.tagName === 'BODY' && getComputedStyle(this.element.offsetParent).overflow !== 'hidden') { | ||
@@ -655,0 +656,0 @@ this.element.style.top = window.scrollY > parseInt(this.element.style.top, 10) ? |
@@ -1,2 +0,2 @@ | ||
import { Component, Property, ChildProperty, Event, BaseEventArgs, append, compile } from '@syncfusion/ej2-base';import { EventHandler, EmitType, Touch, TapEventArgs, Browser, Animation as PopupAnimation, animationMode } from '@syncfusion/ej2-base';import { isNullOrUndefined, getUniqueID, formatUnit, select, selectAll } from '@syncfusion/ej2-base';import { attributes, closest, removeClass, addClass, remove } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, Complex, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { Popup } from '../popup/popup';import { OffsetPosition, calculatePosition } from '../common/position';import { isCollide, fit } from '../common/collision'; | ||
import { Component, Property, ChildProperty, Event, BaseEventArgs, append, compile } from '@syncfusion/ej2-base';import { EventHandler, EmitType, Touch, TapEventArgs, Browser, Animation as PopupAnimation, animationMode } from '@syncfusion/ej2-base';import { isNullOrUndefined, getUniqueID, formatUnit, select, selectAll } from '@syncfusion/ej2-base';import { attributes, closest, removeClass, addClass, remove } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, Complex, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { Popup } from '../popup/popup';import { OffsetPosition, calculatePosition } from '../common/position';import { isCollide, fit, destroy as collisionDestroy } from '../common/collision'; | ||
import {TooltipAnimationSettings,Position,TipPointerPosition,TooltipEventArgs} from "./tooltip"; | ||
@@ -210,5 +210,6 @@ import {ComponentModel} from '@syncfusion/ej2-base'; | ||
/** | ||
* Defines whether to allow the cross-scripting site or not. | ||
* Specifies whether to display or remove the untrusted HTML values in the Tooltip component. | ||
* If 'enableHtmlSanitizer' set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them. | ||
* | ||
* @default false | ||
* @default true | ||
*/ | ||
@@ -215,0 +216,0 @@ enableHtmlSanitizer?: boolean; |
@@ -322,5 +322,6 @@ import { Component, ChildProperty, BaseEventArgs } from '@syncfusion/ej2-base'; | ||
/** | ||
* Defines whether to allow the cross-scripting site or not. | ||
* Specifies whether to display or remove the untrusted HTML values in the Tooltip component. | ||
* If 'enableHtmlSanitizer' set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them. | ||
* | ||
* @default false | ||
* @default true | ||
*/ | ||
@@ -327,0 +328,0 @@ enableHtmlSanitizer: boolean; |
@@ -27,3 +27,3 @@ var __extends = (this && this.__extends) || (function () { | ||
import { calculatePosition } from '../common/position'; | ||
import { isCollide, fit } from '../common/collision'; | ||
import { isCollide, fit, destroy as collisionDestroy } from '../common/collision'; | ||
var TOUCHEND_HIDE_DELAY = 1500; | ||
@@ -928,3 +928,4 @@ var TAPHOLD_THRESHOLD = 500; | ||
if (this.tooltipEle && !this.isSticky) { | ||
if (!(closest(e.target, "." + TOOLTIP_WRAP + "." + POPUP_LIB + "." + POPUP_ROOT))) { | ||
if (!(closest(e.target, "." + TOOLTIP_WRAP + "." + POPUP_LIB + "." + POPUP_ROOT)) | ||
&& !this.isSticky) { | ||
this.close(); | ||
@@ -1301,2 +1302,3 @@ } | ||
} | ||
collisionDestroy(); | ||
removeClass([this.element], ROOT); | ||
@@ -1371,3 +1373,3 @@ this.unwireEvents(this.opensOn); | ||
__decorate([ | ||
Property(false) | ||
Property(true) | ||
], Tooltip.prototype, "enableHtmlSanitizer", void 0); | ||
@@ -1374,0 +1376,0 @@ __decorate([ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3836801
0.29%362
1.69%54604
0.04%3
50%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed