@syncfusion/ej2-calendars
Advanced tools
Comparing version 16.3.17 to 16.3.21
@@ -5,2 +5,4 @@ # Changelog | ||
## 16.3.17 (2018-09-12) | ||
### Calendar | ||
@@ -7,0 +9,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 16.3.17 | ||
* version : 16.3.21 | ||
* Copyright Syncfusion Inc. 2001 - 2018. 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.3.17", | ||
"version": "16.3.21", | ||
"description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization.", | ||
@@ -11,7 +11,7 @@ "author": "Syncfusion Inc.", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~16.3.17", | ||
"@syncfusion/ej2-popups": "~16.3.17", | ||
"@syncfusion/ej2-inputs": "~16.3.17", | ||
"@syncfusion/ej2-lists": "~16.3.17", | ||
"@syncfusion/ej2-buttons": "~16.3.17" | ||
"@syncfusion/ej2-base": "~16.3.21", | ||
"@syncfusion/ej2-popups": "~16.3.21", | ||
"@syncfusion/ej2-inputs": "~16.3.21", | ||
"@syncfusion/ej2-lists": "~16.3.21", | ||
"@syncfusion/ej2-buttons": "~16.3.21" | ||
}, | ||
@@ -45,3 +45,4 @@ "devDependencies": { | ||
"url": "https://github.com/syncfusion/ej2-calendars.git" | ||
} | ||
}, | ||
"sideEffects": false | ||
} |
@@ -227,3 +227,3 @@ import { Component, Internationalization } from '@syncfusion/ej2-base'; | ||
*/ | ||
protected validateValues(days?: HTMLElement[], multiSelection?: boolean, values?: Date[]): void; | ||
protected validateValues(multiSelection?: boolean, values?: Date[]): void; | ||
protected setValueUpdate(): void; | ||
@@ -264,3 +264,3 @@ protected copyValues(values: Date[]): Date[]; | ||
protected addYears(date: Date, i: number): void; | ||
protected getIdValue(e: MouseEvent | TouchEvent, element: Element): Date; | ||
protected getIdValue(e: MouseEvent | TouchEvent | KeyboardEvent, element: Element): Date; | ||
protected selectDate(e: MouseEvent | KeyboardEventArgs, date: Date, node: Element, multiSelection?: boolean, values?: Date[]): void; | ||
@@ -276,2 +276,3 @@ protected checkPresentDate(dates: Date, values: Date[]): boolean; | ||
protected isMinMaxRange(date: Date): boolean; | ||
protected isMonthYearRange(date: Date): boolean; | ||
protected compareYear(start: Date, end: Date): number; | ||
@@ -278,0 +279,0 @@ protected compareDecade(start: Date, end: Date): number; |
@@ -1007,3 +1007,4 @@ var __extends = (this && this.__extends) || (function () { | ||
this.calendarElement.querySelectorAll(dateIdString)[0].classList.contains('e-disabled'); | ||
if ((!isNullOrUndefined(this.value) && !(+this.value >= +this.min && +this.value <= +this.max)) | ||
if ((!isNullOrUndefined(this.value) && !(+new Date(+this.value).setMilliseconds(0) >= +this.min | ||
&& +new Date(+this.value).setMilliseconds(0) <= +this.max)) | ||
|| (!this.strictMode && this.inputElement.value !== '' && isNullOrUndefined(this.value) || isDisabledDate)) { | ||
@@ -1010,0 +1011,0 @@ addClass([this.inputWrapper.container], ERROR); |
@@ -395,2 +395,3 @@ /// <reference path="../calendar/calendar-model.d.ts" /> | ||
protected bindEvents(): void; | ||
private updateHiddenInput(); | ||
private inputChangeHandler(e); | ||
@@ -509,2 +510,6 @@ private bindClearEvent(); | ||
private setModelValue(); | ||
/** | ||
* To dispatch the event manually | ||
*/ | ||
protected dispatchEvent(element: HTMLElement, type: string): void; | ||
private changeTrigger(e?); | ||
@@ -511,0 +516,0 @@ /** |
@@ -355,2 +355,5 @@ var __extends = (this && this.__extends) || (function () { | ||
DateTimePicker.prototype.timeHandler = function (e) { | ||
if (Browser.isDevice) { | ||
this.element.setAttribute('readonly', 'readonly'); | ||
} | ||
if (e.currentTarget === this.timeIcon) { | ||
@@ -367,5 +370,3 @@ e.preventDefault(); | ||
else { | ||
if (!Browser.isDevice) { | ||
this.inputElement.focus(); | ||
} | ||
this.inputElement.focus(); | ||
this.popupCreation('time', e); | ||
@@ -442,2 +443,5 @@ addClass([this.inputWrapper.container], [INPUTFOCUS]); | ||
DateTimePicker.prototype.popupCreation = function (type, e) { | ||
if (Browser.isDevice) { | ||
this.element.setAttribute('readonly', 'readonly'); | ||
} | ||
if (type === 'date') { | ||
@@ -495,5 +499,3 @@ if (!this.readonly && this.popupWrapper) { | ||
DateTimePicker.prototype.documentClickHandler = function (event) { | ||
if (!Browser.isDevice) { | ||
event.preventDefault(); | ||
} | ||
event.preventDefault(); | ||
var target = event.target; | ||
@@ -620,5 +622,3 @@ if (!(closest(target, '#' + (this.popupObject && this.popupObject.element.id))) && target !== this.inputElement | ||
_super.prototype.changeEvent.call(this, e); | ||
if (!Browser.isDevice) { | ||
this.inputElement.focus(); | ||
} | ||
this.inputElement.focus(); | ||
this.valueWithMinutes = this.value; | ||
@@ -866,2 +866,5 @@ this.setInputValue('date'); | ||
} | ||
if (Browser.isDevice) { | ||
this.element.removeAttribute('readonly'); | ||
} | ||
}; | ||
@@ -880,5 +883,2 @@ DateTimePicker.prototype.closePopup = function (e) { | ||
} | ||
if (Browser.isDevice) { | ||
removeClass([this.inputWrapper.container], INPUTFOCUS); | ||
} | ||
}; | ||
@@ -885,0 +885,0 @@ DateTimePicker.prototype.preRender = function () { |
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 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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5416774
46909
0