Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-popups

Package Overview
Dependencies
Maintainers
3
Versions
225
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-popups - npm Package Compare versions

Comparing version 26.2.5 to 26.2.8

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 26.2.5
* version : 26.2.8
* 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.2.4",
"_id": "@syncfusion/ej2-popups@26.2.5",
"_inBundle": false,
"_integrity": "sha512-xxUvJXbhMeBdXPWvD/zv+LvF/pK4fHpfvF7XU1Wuf9r1vGVu7Cc/BOc+p4eo4Mvyi/pG8Rm4WzVAaq63BMHz0w==",
"_integrity": "sha512-PRNlIoPjGprIGQYsTPq4TOfDxhxbQ/eV7BViE9s6V5n7sp65mmgVUCxpGuLR/wLjm2cBkAaghR9KhPAcni7WHg==",
"_location": "/@syncfusion/ej2-popups",

@@ -47,4 +47,4 @@ "_phantomChildren": {},

],
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-popups/-/ej2-popups-26.2.4.tgz",
"_shasum": "5e9fdeaaf7026a18da264b4316ea1a56ceae34fc",
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-popups/-/ej2-popups-26.2.5.tgz",
"_shasum": "c54cbb323f03b171f2b49749d9431a36d7d08f56",
"_spec": "@syncfusion/ej2-popups@*",

@@ -61,3 +61,3 @@ "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",

"@syncfusion/ej2-base": "~26.2.5",
"@syncfusion/ej2-buttons": "~26.2.5"
"@syncfusion/ej2-buttons": "~26.2.8"
},

@@ -97,4 +97,4 @@ "deprecated": false,

"typings": "index.d.ts",
"version": "26.2.5",
"version": "26.2.8",
"sideEffects": false
}

@@ -45,4 +45,10 @@ /**

/**
*
* @param {HTMLElement} element - specifies the element
* @returns {HTMLElement}
*/
export declare function getTransformElement(element: HTMLElement): HTMLElement;
/**
* @returns {void}
*/
export declare function destroy(): void;

@@ -197,4 +197,5 @@ /**

var scaleY = 1;
if (element.offsetParent) {
var transformStyle = getComputedStyle(element.offsetParent).transform;
var tranformElement = getTransformElement(element);
if (tranformElement) {
var transformStyle = getComputedStyle(tranformElement).transform;
if (transformStyle !== 'none') {

@@ -206,7 +207,25 @@ var matrix = new DOMMatrix(transformStyle);

}
element.style.top = ((pos.position.top / scaleY) + pos.offsetY - (top)) + 'px';
element.style.left = ((pos.position.left / scaleX) + pos.offsetX - (left)) + 'px';
element.style.top = ((pos.position.top / scaleY) + pos.offsetY - (top / scaleY)) + 'px';
element.style.left = ((pos.position.left / scaleX) + pos.offsetX - (left / scaleX)) + 'px';
}
/**
*
* @param {HTMLElement} element - specifies the element
* @returns {HTMLElement}
*/
export function getTransformElement(element) {
while (element) {
var transform = window.getComputedStyle(element).transform;
if (transform && transform !== 'none') {
return element;
}
if (element == document.body) {
return null;
}
element = (element.offsetParent || element.parentElement);
}
return null;
}
/**
*
* @param {HTMLElement} target - specifies the element

@@ -213,0 +232,0 @@ * @param {EdgeOffset} edge - specifies the offset

@@ -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, destroy as collisionDestroy } 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, getTransformElement } 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, destroy as collisionDestroy } from '../common/collision';
import { flip, fit, isCollide, destroy as collisionDestroy, getTransformElement } from '../common/collision';
/**

@@ -458,4 +458,5 @@ * Specifies the offset position values.

var scaleX = 1;
if (ele.offsetParent) {
var transformStyle = getComputedStyle(ele.offsetParent).transform;
var tranformElement = getTransformElement(ele);
if (tranformElement) {
var transformStyle = getComputedStyle(tranformElement).transform;
if (transformStyle !== 'none') {

@@ -462,0 +463,0 @@ var matrix = new DOMMatrix(transformStyle);

@@ -415,13 +415,10 @@ var __extends = (this && this.__extends) || (function () {

var templateFunction = compile(this.content);
var tempArr_1 = templateFunction({}, this, 'content', this.element.id + 'content', undefined, undefined, tooltipContent);
if (tempArr_1) {
var tempArr = templateFunction({}, this, 'content', this.element.id + 'content', undefined, undefined, tooltipContent);
if (tempArr) {
if (this.isAngular) {
setTimeout(function () {
append(tempArr_1, tooltipContent);
_this.reposition(target);
}, 0);
}
else {
append(tempArr_1, tooltipContent);
}
append(tempArr, tooltipContent);
}

@@ -428,0 +425,0 @@ this.renderReactTemplates();

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 not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc