@syncfusion/ej2-popups
Advanced tools
Comparing version 17.1.47 to 17.1.50
@@ -5,2 +5,10 @@ # Changelog | ||
### Dialog | ||
#### Bug Fixes | ||
- #144624 - Resolved the issue with resizing when rendering a grid inside a dialog. | ||
## 17.1.47 (2019-05-14) | ||
### Tooltip | ||
@@ -7,0 +15,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 17.1.47 | ||
* version : 17.1.50 | ||
* Copyright Syncfusion Inc. 2001 - 2019. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"name": "@syncfusion/ej2-popups", | ||
"version": "17.1.47", | ||
"description": "A package of Essential JS 2 popup components such as Dialog and Tooltip that is used to display information or messages in separate pop-ups.", | ||
"author": "Syncfusion Inc.", | ||
"license": "SEE LICENSE IN license", | ||
"main": "./dist/ej2-popups.umd.min.js", | ||
"module": "./index.js", | ||
"es2015": "./dist/es6/ej2-popups.es2015.js", | ||
"_from": "@syncfusion/ej2-popups@*", | ||
"_id": "@syncfusion/ej2-popups@17.1.47", | ||
"_inBundle": false, | ||
"_integrity": "sha512-0QuyucidXvyptgOT0m+IEpfOc26ZRA+N5APY1joCKyQoNhDY74xVjZdU4bUZSbORwmb20LD6uoDNVsXd062Epg==", | ||
"_location": "/@syncfusion/ej2-popups", | ||
"_phantomChildren": {}, | ||
"_requested": { | ||
"type": "range", | ||
"registry": true, | ||
"raw": "@syncfusion/ej2-popups@*", | ||
"name": "@syncfusion/ej2-popups", | ||
"escapedName": "@syncfusion%2fej2-popups", | ||
"scope": "@syncfusion", | ||
"rawSpec": "*", | ||
"saveSpec": null, | ||
"fetchSpec": "*" | ||
}, | ||
"_requiredBy": [ | ||
"/", | ||
"/@syncfusion/ej2", | ||
"/@syncfusion/ej2-angular-popups", | ||
"/@syncfusion/ej2-calendars", | ||
"/@syncfusion/ej2-circulargauge", | ||
"/@syncfusion/ej2-diagrams", | ||
"/@syncfusion/ej2-diagrams/@syncfusion/ej2-navigations", | ||
"/@syncfusion/ej2-documenteditor", | ||
"/@syncfusion/ej2-dropdowns", | ||
"/@syncfusion/ej2-gantt", | ||
"/@syncfusion/ej2-grids", | ||
"/@syncfusion/ej2-inplace-editor", | ||
"/@syncfusion/ej2-inputs", | ||
"/@syncfusion/ej2-lineargauge", | ||
"/@syncfusion/ej2-maps", | ||
"/@syncfusion/ej2-navigations", | ||
"/@syncfusion/ej2-notifications", | ||
"/@syncfusion/ej2-pdfviewer", | ||
"/@syncfusion/ej2-pivotview", | ||
"/@syncfusion/ej2-react-popups", | ||
"/@syncfusion/ej2-richtexteditor", | ||
"/@syncfusion/ej2-schedule", | ||
"/@syncfusion/ej2-splitbuttons", | ||
"/@syncfusion/ej2-treegrid", | ||
"/@syncfusion/ej2-vue-popups" | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-popups/-/ej2-popups-17.1.47.tgz", | ||
"_shasum": "4c881af2a3dd689deabadd45e5ae1a33665a60bb", | ||
"_spec": "@syncfusion/ej2-popups@*", | ||
"_where": "/jenkins/workspace/ation_hotfix_16.4.0.42_Vol4-CJVRBFC7Z7RSISPRJNEMNQSRMCB6XTG67IJD6R2DVNXFIKQEITTQ@2/packages/included", | ||
"author": { | ||
"name": "Syncfusion Inc." | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues" | ||
}, | ||
"bundleDependencies": false, | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~17.1.47", | ||
"@syncfusion/ej2-buttons": "~17.1.47" | ||
"@syncfusion/ej2-base": "~17.1.49", | ||
"@syncfusion/ej2-buttons": "~17.1.50" | ||
}, | ||
"deprecated": false, | ||
"description": "A package of Essential JS 2 popup components such as Dialog and Tooltip that is used to display information or messages in separate pop-ups.", | ||
"devDependencies": {}, | ||
"es2015": "./dist/es6/ej2-popups.es2015.js", | ||
"homepage": "https://github.com/syncfusion/ej2-javascript-ui-controls#readme", | ||
"keywords": [ | ||
@@ -34,7 +85,12 @@ "ej2", | ||
], | ||
"license": "SEE LICENSE IN license", | ||
"main": "./dist/ej2-popups.umd.min.js", | ||
"module": "./index.js", | ||
"name": "@syncfusion/ej2-popups", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls.git" | ||
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git" | ||
}, | ||
"version": "17.1.50", | ||
"sideEffects": false | ||
} |
@@ -368,2 +368,3 @@ import { Component, EmitType } from '@syncfusion/ej2-base'; | ||
private checkPositionData; | ||
private getEle; | ||
private getMinHeight; | ||
@@ -370,0 +371,0 @@ private onResizeStart; |
@@ -41,3 +41,3 @@ var __extends = (this && this.__extends) || (function () { | ||
__decorate([ | ||
Property() | ||
Event() | ||
], ButtonProps.prototype, "click", void 0); | ||
@@ -193,2 +193,12 @@ return ButtonProps; | ||
}; | ||
Dialog.prototype.getEle = function (list, selector) { | ||
var element = undefined; | ||
for (var i = 0; i < list.length; i++) { | ||
if (list[i].classList.contains(selector)) { | ||
element = list[i]; | ||
break; | ||
} | ||
} | ||
return element; | ||
}; | ||
/* istanbul ignore next */ | ||
@@ -201,4 +211,5 @@ Dialog.prototype.getMinHeight = function () { | ||
} | ||
if (!isNullOrUndefined(this.element.querySelector('.' + DLG_FOOTER_CONTENT))) { | ||
computedFooterHeight = getComputedStyle(this.element.querySelector('.' + DLG_FOOTER_CONTENT)).height; | ||
var footerEle = this.getEle(this.element.childNodes, DLG_FOOTER_CONTENT); | ||
if (!isNullOrUndefined(footerEle)) { | ||
computedFooterHeight = getComputedStyle(footerEle).height; | ||
} | ||
@@ -384,7 +395,7 @@ var headerHeight = parseInt(computedHeaderHeight.slice(0, computedHeaderHeight.indexOf('p')), 10); | ||
_this.trigger('close', _this.closeArgs); | ||
if (!isNullOrUndefined(document.activeElement.blur)) { | ||
document.activeElement.blur(); | ||
var activeEle = document.activeElement; | ||
if (!isNullOrUndefined(activeEle) && !isNullOrUndefined((activeEle).blur)) { | ||
activeEle.blur(); | ||
} | ||
if (!isNullOrUndefined(_this.storeActiveElement)) { | ||
document.activeElement.blur(); | ||
_this.storeActiveElement.focus(); | ||
@@ -391,0 +402,0 @@ } |
@@ -161,8 +161,2 @@ import { Component, Property, ChildProperty, Event, BaseEventArgs, append, compile } from '@syncfusion/ej2-base';import { EventHandler, EmitType, Touch, TapEventArgs, Browser, Animation as PopupAnimation } from '@syncfusion/ej2-base';import { isNullOrUndefined, getUniqueID, formatUnit } from '@syncfusion/ej2-base';import { attributes, closest, removeClass, addClass, remove } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, Complex } from '@syncfusion/ej2-base';import { Popup } from '../popup/popup';import { OffsetPosition, calculatePosition } from '../common/position';import { isCollide, fit } from '../common/collision'; | ||
/** | ||
* It is used to display the Tooltip and content of Tooltip from right to left direction. | ||
* @default false | ||
*/ | ||
enableRtl?: boolean; | ||
/** | ||
* We can trigger `beforeRender` event before the Tooltip and its contents are added to the DOM. | ||
@@ -169,0 +163,0 @@ * When one of its arguments `cancel` is set to true, the Tooltip can be prevented from rendering on the page. |
@@ -222,7 +222,2 @@ import { Component, ChildProperty, BaseEventArgs } from '@syncfusion/ej2-base'; | ||
/** | ||
* It is used to display the Tooltip and content of Tooltip from right to left direction. | ||
* @default false | ||
*/ | ||
enableRtl: boolean; | ||
/** | ||
* We can trigger `beforeRender` event before the Tooltip and its contents are added to the DOM. | ||
@@ -229,0 +224,0 @@ * When one of its arguments `cancel` is set to true, the Tooltip can be prevented from rendering on the page. |
@@ -1025,5 +1025,2 @@ var __extends = (this && this.__extends) || (function () { | ||
__decorate([ | ||
Property(false) | ||
], Tooltip.prototype, "enableRtl", void 0); | ||
__decorate([ | ||
Event() | ||
@@ -1030,0 +1027,0 @@ ], Tooltip.prototype, "beforeRender", void 0); |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
2411688
28577
0
1