@syncfusion/ej2-popups
Advanced tools
Comparing version 17.1.32-beta to 17.1.38
@@ -5,2 +5,10 @@ # Changelog | ||
### Dialog | ||
#### Bug Fixes | ||
- Provided an additional `cssClass`, `zIndex`, `open` and `close` event properties to dialog utility. | ||
- Enable/ Disable the dialog button issue in dynamic way has been fixed. | ||
## 16.4.47 (2019-01-16) | ||
@@ -30,2 +38,10 @@ | ||
## 16.4.42 (2018-12-14) | ||
### Dialog | ||
#### Bug Fixes | ||
- Introduced a new argument `isInteracted` by deprecating existing event argument `isInteraction` for unique naming convention. | ||
## 16.4.40-beta (2018-12-10) | ||
@@ -32,0 +48,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 17.1.32-beta | ||
* version : 17.1.38 | ||
* 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.32-beta", | ||
"version": "17.1.38", | ||
"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.", | ||
@@ -11,4 +11,4 @@ "author": "Syncfusion Inc.", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~17.1.32-beta", | ||
"@syncfusion/ej2-buttons": "~17.1.32-beta" | ||
"@syncfusion/ej2-base": "~17.1.38", | ||
"@syncfusion/ej2-buttons": "~17.1.38" | ||
}, | ||
@@ -15,0 +15,0 @@ "devDependencies": {}, |
@@ -483,3 +483,3 @@ import { Component, EmitType } from '@syncfusion/ej2-base'; | ||
*/ | ||
function alert(args?: AlertDialogArgs | string): DialogModel; | ||
function alert(args?: AlertDialogArgs | string): Dialog; | ||
/** | ||
@@ -492,3 +492,3 @@ * A confirm dialog displays a specified message along with ‘OK’ and ‘Cancel’ button. | ||
*/ | ||
function confirm(args?: ConfirmDialogArgs | string): DialogModel; | ||
function confirm(args?: ConfirmDialogArgs | string): Dialog; | ||
} | ||
@@ -511,2 +511,6 @@ export interface ButtonArgs { | ||
animationSettings?: AnimationSettingsModel; | ||
cssClass?: string; | ||
zIndex?: number; | ||
open?: EmitType<Object>; | ||
close?: EmitType<Object>; | ||
} | ||
@@ -524,2 +528,6 @@ export interface ConfirmDialogArgs { | ||
animationSettings?: AnimationSettingsModel; | ||
cssClass?: string; | ||
zIndex?: number; | ||
open?: EmitType<Object>; | ||
close?: EmitType<Object>; | ||
} |
@@ -792,9 +792,12 @@ var __extends = (this && this.__extends) || (function () { | ||
case 'buttons': | ||
if (!isNullOrUndefined(this.buttons[0].buttonModel)) { | ||
if (!isNullOrUndefined(this.ftrTemplateContent)) { | ||
detach(this.ftrTemplateContent); | ||
this.ftrTemplateContent = null; | ||
var buttonCount = this.buttons.length; | ||
if (!isNullOrUndefined(this.ftrTemplateContent)) { | ||
detach(this.ftrTemplateContent); | ||
this.ftrTemplateContent = null; | ||
} | ||
for (var i = 0; i < buttonCount; i++) { | ||
if (!isNullOrUndefined(this.buttons[i].buttonModel)) { | ||
this.footerTemplate = ''; | ||
this.setButton(); | ||
} | ||
this.footerTemplate = ''; | ||
this.setButton(); | ||
} | ||
@@ -1224,2 +1227,5 @@ break; | ||
alertDialogObj.close = function () { | ||
if (args && args.close) { | ||
args.close.apply(alertDialogObj); | ||
} | ||
alertDialogObj.destroy(); | ||
@@ -1270,2 +1276,5 @@ if (alertDialogObj.element.classList.contains('e-dlg-modal')) { | ||
confirmDialogObj.close = function () { | ||
if (args && args.close) { | ||
args.close.apply(confirmDialogObj); | ||
} | ||
confirmDialogObj.destroy(); | ||
@@ -1312,2 +1321,5 @@ if (confirmDialogObj.element.classList.contains('e-dlg-modal')) { | ||
{ effect: 'Fade', duration: 400, delay: 0 }; | ||
options.cssClass = !isNullOrUndefined(option.cssClass) ? option.cssClass : ''; | ||
options.zIndex = !isNullOrUndefined(option.zIndex) ? option.zIndex : 1000; | ||
options.open = !isNullOrUndefined(option.open) ? option.open : null; | ||
return options; | ||
@@ -1314,0 +1326,0 @@ } |
@@ -180,5 +180,5 @@ import { ChildProperty } from '@syncfusion/ej2-base'; | ||
private wireEvents; | ||
private wireScrollEvents; | ||
wireScrollEvents(): void; | ||
private unwireEvents; | ||
private unwireScrollEvents; | ||
unwireScrollEvents(): void; | ||
private getRelateToElement; | ||
@@ -185,0 +185,0 @@ private scrollRefresh; |
@@ -51,2 +51,3 @@ var __extends = (this && this.__extends) || (function () { | ||
var POPUP_CLOSE = 'e-popup-close'; | ||
var POPUP_LIB = 'e-lib'; | ||
var Animation = /** @class */ (function (_super) { | ||
@@ -122,2 +123,3 @@ __extends(Animation, _super); | ||
var elePos = this.mouseTrail ? { top: 0, left: 0 } : this.getTooltipPosition(target); | ||
this.tooltipEle.classList.remove(POPUP_LIB); | ||
this.popupObj = new Popup(this.tooltipEle, { | ||
@@ -412,3 +414,3 @@ height: this.height, | ||
this.tooltipEle = this.createElement('div', { | ||
className: TOOLTIP_WRAP + ' ' + POPUP_ROOT, attrs: { | ||
className: TOOLTIP_WRAP + ' ' + POPUP_ROOT + ' ' + POPUP_LIB, attrs: { | ||
role: 'tooltip', 'aria-hidden': 'false', 'id': this.ctrlId + '_content' | ||
@@ -415,0 +417,0 @@ }, styles: 'width:' + formatUnit(this.width) + ';height:' + formatUnit(this.height) + ';position:absolute;' |
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
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 v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2394583
204
28469
2