@syncfusion/ej2-popups
Advanced tools
Comparing version 16.4.52 to 16.4.53
/*! | ||
* filename: index.d.ts | ||
* version : 16.4.52 | ||
* version : 16.4.53 | ||
* 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": "16.4.52", | ||
"version": "16.4.53", | ||
"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.", | ||
@@ -12,3 +12,3 @@ "author": "Syncfusion Inc.", | ||
"@syncfusion/ej2-base": "~16.4.52", | ||
"@syncfusion/ej2-buttons": "~16.4.52" | ||
"@syncfusion/ej2-buttons": "~16.4.53" | ||
}, | ||
@@ -15,0 +15,0 @@ "devDependencies": { |
@@ -18,3 +18,4 @@ import { Component, Property, Event, Collection, L10n, Browser, EmitType, Complex, compile, createElement } from '@syncfusion/ej2-base';import { addClass, removeClass, detach, attributes, prepend, setStyleAttribute } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, ChildProperty } from '@syncfusion/ej2-base';import { isNullOrUndefined, formatUnit, append } from '@syncfusion/ej2-base';import { EventHandler } from '@syncfusion/ej2-base';import { Draggable } from '@syncfusion/ej2-base';import { Popup, PositionData, getZindexPartial } from '../popup/popup';import { PositionDataModel } from '../popup/popup-model';import { Button, ButtonModel } from '@syncfusion/ej2-buttons';import { createResize, removeResize, setMinHeight } from '../common/resize'; | ||
* Possible values are Button, Submit and Reset. | ||
* @event | ||
* @default 'Button' | ||
* @aspType string | ||
*/ | ||
@@ -21,0 +22,0 @@ type?: ButtonType | string; |
@@ -15,3 +15,4 @@ import { Component, EmitType } from '@syncfusion/ej2-base'; | ||
* Possible values are Button, Submit and Reset. | ||
* @event | ||
* @default 'Button' | ||
* @aspType string | ||
*/ | ||
@@ -18,0 +19,0 @@ type: ButtonType | string; |
@@ -366,3 +366,3 @@ var __extends = (this && this.__extends) || (function () { | ||
}; | ||
if (_this.enableResize && _this.animationSettings.effect !== 'None') { | ||
if (_this.enableResize) { | ||
_this.getMinHeight(); | ||
@@ -369,0 +369,0 @@ } |
@@ -37,3 +37,3 @@ 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'; | ||
* When Tooltip content gets overflow due to height value then the scroll mode will be enabled. | ||
* Refer the documentation [here](https://ej2.syncfusion.com/documentation/tooltip/setting-dimension.html?lang=typescript) | ||
* Refer the documentation [here](../../tooltip/setting-dimension/) | ||
* to know more about this property with demo. | ||
@@ -46,3 +46,3 @@ * @default 'auto' | ||
* It is used to display the content of Tooltip which can be both string and HTML Elements. | ||
* Refer the documentation [here](https://ej2.syncfusion.com/documentation/tooltip/content.html?lang=typescript) | ||
* Refer the documentation [here](../../tooltip/content/) | ||
* to know more about this property with demo. | ||
@@ -99,3 +99,3 @@ * | ||
* Refer the documentation | ||
* [here](https://ej2.syncfusion.com/documentation/tooltip/position.html?lang=typescript#tip-pointer-positioning) | ||
* [here](../../tooltip/position/#tip-pointer-positioning) | ||
* to know more about this property with demo. | ||
@@ -118,3 +118,3 @@ * @default 'Auto' | ||
* It allows the Tooltip to follow the mouse pointer movement over the specified target element. | ||
* Refer the documentation [here](https://ej2.syncfusion.com/documentation/tooltip/position.html?lang=typescript#mouse-trailing) | ||
* Refer the documentation [here](../../tooltip/position/#mouse-trailing) | ||
* to know more about this property with demo. | ||
@@ -129,3 +129,3 @@ * | ||
* It is used to display the Tooltip in an open state until closed by manually. | ||
* Refer the documentation [here](https://ej2.syncfusion.com/documentation/tooltip/open-mode.html?lang=typescript#sticky-mode) | ||
* Refer the documentation [here](../../tooltip/open-mode/#sticky-mode) | ||
* to know more about this property with demo. | ||
@@ -138,3 +138,3 @@ * @default false | ||
* We can set the same or different animation option to Tooltip while it is in open or close state. | ||
* Refer the documentation [here](https://ej2.syncfusion.com/documentation/tooltip/animation.html?lang=typescript) | ||
* Refer the documentation [here](../../tooltip/animation/) | ||
* to know more about this property with demo. | ||
@@ -178,3 +178,3 @@ * | ||
* Refer the documentation | ||
* [here](https://ej2.syncfusion.com/documentation/tooltip/content.html?lang=typescript#dynamic-content-via-ajax) | ||
* [here](../../tooltip/content/#dynamic-content-via-ajax) | ||
* to know more about this property with demo. | ||
@@ -181,0 +181,0 @@ * @event |
@@ -113,3 +113,3 @@ import { Component, ChildProperty, BaseEventArgs } from '@syncfusion/ej2-base'; | ||
* When Tooltip content gets overflow due to height value then the scroll mode will be enabled. | ||
* Refer the documentation [here](https://ej2.syncfusion.com/documentation/tooltip/setting-dimension.html?lang=typescript) | ||
* Refer the documentation [here](../../tooltip/setting-dimension/) | ||
* to know more about this property with demo. | ||
@@ -121,3 +121,3 @@ * @default 'auto' | ||
* It is used to display the content of Tooltip which can be both string and HTML Elements. | ||
* Refer the documentation [here](https://ej2.syncfusion.com/documentation/tooltip/content.html?lang=typescript) | ||
* Refer the documentation [here](../../tooltip/content/) | ||
* to know more about this property with demo. | ||
@@ -168,3 +168,3 @@ * | ||
* Refer the documentation | ||
* [here](https://ej2.syncfusion.com/documentation/tooltip/position.html?lang=typescript#tip-pointer-positioning) | ||
* [here](../../tooltip/position/#tip-pointer-positioning) | ||
* to know more about this property with demo. | ||
@@ -185,3 +185,3 @@ * @default 'Auto' | ||
* It allows the Tooltip to follow the mouse pointer movement over the specified target element. | ||
* Refer the documentation [here](https://ej2.syncfusion.com/documentation/tooltip/position.html?lang=typescript#mouse-trailing) | ||
* Refer the documentation [here](../../tooltip/position/#mouse-trailing) | ||
* to know more about this property with demo. | ||
@@ -195,3 +195,3 @@ * | ||
* It is used to display the Tooltip in an open state until closed by manually. | ||
* Refer the documentation [here](https://ej2.syncfusion.com/documentation/tooltip/open-mode.html?lang=typescript#sticky-mode) | ||
* Refer the documentation [here](../../tooltip/open-mode/#sticky-mode) | ||
* to know more about this property with demo. | ||
@@ -203,3 +203,3 @@ * @default false | ||
* We can set the same or different animation option to Tooltip while it is in open or close state. | ||
* Refer the documentation [here](https://ej2.syncfusion.com/documentation/tooltip/animation.html?lang=typescript) | ||
* Refer the documentation [here](../../tooltip/animation/) | ||
* to know more about this property with demo. | ||
@@ -238,3 +238,3 @@ * | ||
* Refer the documentation | ||
* [here](https://ej2.syncfusion.com/documentation/tooltip/content.html?lang=typescript#dynamic-content-via-ajax) | ||
* [here](../../tooltip/content/#dynamic-content-via-ajax) | ||
* to know more about this property with demo. | ||
@@ -241,0 +241,0 @@ * @event |
@@ -507,5 +507,9 @@ var __extends = (this && this.__extends) || (function () { | ||
if (elePos.position !== newpos) { | ||
var pos = calculatePosition(target, this.tooltipPositionX, elePos.vertical); | ||
var pos = calculatePosition(target, elePos.horizontal, elePos.vertical); | ||
this.adjustArrow(target, newpos, elePos.horizontal, elePos.vertical); | ||
var offsetPos = this.calculateTooltipOffset(newpos); | ||
offsetPos.top -= (('TopBottom'.indexOf(this.position.split(/(?=[A-Z])/)[0]) !== -1) && | ||
('TopBottom'.indexOf(newpos.split(/(?=[A-Z])/)[0]) !== -1)) ? (2 * this.offsetY) : 0; | ||
offsetPos.left -= (('RightLeft'.indexOf(this.position.split(/(?=[A-Z])/)[0]) !== -1) && | ||
('RightLeft'.indexOf(newpos.split(/(?=[A-Z])/)[0]) !== -1)) ? (2 * this.offsetX) : 0; | ||
elePos.position = newpos; | ||
@@ -512,0 +516,0 @@ elePos.left = pos.left + offsetPos.left; |
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
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
2289136
25266