@syncfusion/ej2-calendars
Advanced tools
Comparing version 16.1.28 to 16.1.29
@@ -5,8 +5,18 @@ # Changelog | ||
### Common | ||
#### Bug Fix | ||
- `Width` property with string type value issue has been fixed. | ||
## 16.1.28 (2018-03-09) | ||
### DatePicker | ||
#### Bug fix | ||
#### Breaking Changes | ||
- DatePicker maintains null value, while entering the out of range(min/max) issue has been fixed. | ||
## 16.1.24 (2018-02-22) | ||
### Common | ||
@@ -16,4 +26,2 @@ | ||
- Popup open in read-only mode issue has been fixed. | ||
- Changed the Angular component selector, component name prefix with `ejs` e.g: `ejs-calendar`. | ||
@@ -23,2 +31,4 @@ | ||
- Popup open in read-only mode issue has been fixed. | ||
#### New Features | ||
@@ -25,0 +35,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 16.1.26 | ||
* version : 16.1.28 | ||
* Copyright Syncfusion Inc. 2001 - 2017. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"name": "@syncfusion/ej2-calendars", | ||
"version": "16.1.28", | ||
"version": "16.1.29", | ||
"description": "Essential JS 2 Calendar Components", | ||
@@ -11,5 +11,5 @@ "author": "Syncfusion Inc.", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~16.1.28", | ||
"@syncfusion/ej2-popups": "~16.1.28", | ||
"@syncfusion/ej2-inputs": "~16.1.28", | ||
"@syncfusion/ej2-base": "~16.1.29", | ||
"@syncfusion/ej2-popups": "~16.1.29", | ||
"@syncfusion/ej2-inputs": "~16.1.29", | ||
"@syncfusion/ej2-lists": "~16.1.28", | ||
@@ -16,0 +16,0 @@ "@syncfusion/ej2-buttons": "~16.1.28", |
@@ -497,5 +497,8 @@ var __extends = (this && this.__extends) || (function () { | ||
DatePicker.prototype.setWidth = function (width) { | ||
if (typeof width === 'number' || typeof width === 'string') { | ||
if (typeof width === 'number') { | ||
this.inputWrapper.container.style.width = ej2_base_2.formatUnit(this.width); | ||
} | ||
else if (typeof width === 'string') { | ||
this.inputWrapper.container.style.width = (this.width); | ||
} | ||
else { | ||
@@ -502,0 +505,0 @@ this.inputWrapper.container.style.width = '100%'; |
@@ -346,2 +346,3 @@ /// <reference path="../calendar/calendar-model.d.ts" /> | ||
private createInput(); | ||
private setEleWidth(width); | ||
private refreshControl(); | ||
@@ -348,0 +349,0 @@ private updateInput(); |
@@ -160,2 +160,3 @@ /// <reference path="../datepicker/datepicker-model.d.ts" /> | ||
private renderPopup(); | ||
private setDimension(width); | ||
private setPopupWidth(); | ||
@@ -162,0 +163,0 @@ protected wireTimeListEvents(): void; |
@@ -468,4 +468,16 @@ var __extends = (this && this.__extends) || (function () { | ||
}; | ||
DateTimePicker.prototype.setDimension = function (width) { | ||
if (typeof width === 'number') { | ||
width = ej2_base_4.formatUnit(width); | ||
} | ||
else if (typeof width === 'string') { | ||
width = width; | ||
} | ||
else { | ||
width = '100%'; | ||
} | ||
return width; | ||
}; | ||
DateTimePicker.prototype.setPopupWidth = function () { | ||
var width = ej2_base_4.formatUnit(ej2_base_4.isNullOrUndefined(this.width) ? '100%' : this.width); | ||
var width = this.setDimension(this.width); | ||
if (width.indexOf('%') > -1) { | ||
@@ -472,0 +484,0 @@ var inputWidth = this.containerStyle.width * parseFloat(width) / 100; |
@@ -12,3 +12,3 @@ import { EventHandler, Property, Internationalization, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, Animation, AnimationModel, Browser, BaseEventArgs } from '@syncfusion/ej2-base';import { EmitType, Event, cldrData, L10n, Component, getDefaultDateObject, rippleEffect, RippleOptions } from '@syncfusion/ej2-base';import { createElement, remove, addClass, removeClass, closest, append, attributes, setStyleAttribute } from '@syncfusion/ej2-base';import { isNullOrUndefined, formatUnit, getValue, setValue, getUniqueID } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { Input, InputObject, IInput, FloatLabelType } from '@syncfusion/ej2-inputs';import { ListBase, cssClass as ListBaseClasses, ListBaseOptions } from '@syncfusion/ej2-lists'; | ||
* Gets or sets the width of the TimePicker component. The width of the popup is based on the width of the component. | ||
* @default '100%' | ||
* @default null | ||
*/ | ||
@@ -15,0 +15,0 @@ width?: string | number; |
@@ -100,3 +100,3 @@ import { Internationalization } from '@syncfusion/ej2-base'; | ||
* Gets or sets the width of the TimePicker component. The width of the popup is based on the width of the component. | ||
* @default '100%' | ||
* @default null | ||
*/ | ||
@@ -255,3 +255,4 @@ width: string | number; | ||
private isNullOrEmpty(value); | ||
private setWidth(); | ||
private setWidth(width); | ||
private setPopupWidth(width); | ||
private setScrollPosition(); | ||
@@ -258,0 +259,0 @@ private findScrollTop(element); |
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 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 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
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
16698026
194106