@syncfusion/ej2-calendars
Advanced tools
Comparing version 15.4.20 to 15.4.21
@@ -381,3 +381,7 @@ var __extends = (this && this.__extends) || (function () { | ||
if (Browser.isDevice) { | ||
this.modelHdr(); | ||
this.modal = createElement('div'); | ||
this.modal.className = '' + ROOT + ' e-date-modal'; | ||
document.body.className += ' ' + OVERFLOW; | ||
this.modal.style.display = 'block'; | ||
document.body.appendChild(this.modal); | ||
@@ -395,3 +399,3 @@ } | ||
zIndex: this.zIndex, | ||
collision: !Browser.isDevice && { X: 'flip', Y: 'flip' }, | ||
collision: Browser.isDevice ? { X: 'fit', Y: 'fit' } : { X: 'flip', Y: 'flip' }, | ||
open: function () { | ||
@@ -431,8 +435,2 @@ if (document.activeElement !== _this.inputEle && !Browser.isDevice) { | ||
this.setAriaAttributes(); | ||
if (Browser.isDevice) { | ||
this.modelHdr(); | ||
this.modal.className = '' + ROOT + ' e-date-modal'; | ||
document.body.className += ' ' + OVERFLOW; | ||
this.modal.style.display = 'block'; | ||
} | ||
}; | ||
@@ -452,3 +450,3 @@ DatePicker.prototype.modelHdr = function () { | ||
modelHeader.appendChild(h2); | ||
this.popupWrapper.insertBefore(modelHeader, this.popupWrapper.firstElementChild); | ||
this.calendarElement.insertBefore(modelHeader, this.calendarElement.firstElementChild); | ||
}; | ||
@@ -794,2 +792,3 @@ DatePicker.prototype.changeTrigger = function () { | ||
Input.setValue('', this.inputEle, this.floatLabelType, false); | ||
this.currentDate = new Date(new Date().setHours(0, 0, 0, 0)); | ||
} | ||
@@ -796,0 +795,0 @@ this.updateInput(); |
{ | ||
"name": "@syncfusion/ej2-calendars", | ||
"version": "15.4.20", | ||
"version": "15.4.21", | ||
"description": "Essential JS 2 Calendar Components", | ||
@@ -9,7 +9,7 @@ "author": "Syncfusion Inc.", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "^15.4.20", | ||
"@syncfusion/ej2-popups": "^15.4.20", | ||
"@syncfusion/ej2-inputs": "^15.4.20", | ||
"@syncfusion/ej2-base": "^15.4.21", | ||
"@syncfusion/ej2-popups": "^15.4.21", | ||
"@syncfusion/ej2-inputs": "^15.4.21", | ||
"@syncfusion/ej2-lists": "^15.4.20", | ||
"@syncfusion/ej2-buttons": "^15.4.20", | ||
"@syncfusion/ej2-buttons": "^15.4.21", | ||
"intl": "^1.2.5" | ||
@@ -16,0 +16,0 @@ }, |
@@ -30,3 +30,3 @@ import { Component, EventHandler, Property, Event, Internationalization, EmitType } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, KeyboardEvents, KeyboardEventArgs } from '@syncfusion/ej2-base';import { cldrData, BaseEventArgs, getDefaultDateObject, rippleEffect } from '@syncfusion/ej2-base';import { createElement, removeClass, detach, closest, addClass, attributes } from '@syncfusion/ej2-base';import { isNullOrUndefined, getValue, getUniqueID, extend, Browser } from '@syncfusion/ej2-base'; | ||
* Gets or sets the Calendar's first day of the week. By default, the first day of the week will be based on the current culture. | ||
* @default '0' | ||
* @default 0 | ||
*/ | ||
@@ -81,3 +81,3 @@ firstDayOfWeek?: number; | ||
/** | ||
* Triggers when each day cell of the Calendar is rendered | ||
* Triggers when each day cell of the Calendar is rendered. | ||
* @event | ||
@@ -84,0 +84,0 @@ */ |
@@ -63,3 +63,3 @@ import { Component, Internationalization, EmitType } from '@syncfusion/ej2-base'; | ||
* Gets or sets the Calendar's first day of the week. By default, the first day of the week will be based on the current culture. | ||
* @default '0' | ||
* @default 0 | ||
*/ | ||
@@ -106,3 +106,3 @@ firstDayOfWeek: number; | ||
/** | ||
* Triggers when each day cell of the Calendar is rendered | ||
* Triggers when each day cell of the Calendar is rendered. | ||
* @event | ||
@@ -109,0 +109,0 @@ */ |
@@ -353,3 +353,7 @@ var __extends = (this && this.__extends) || (function () { | ||
if (ej2_base_2.Browser.isDevice) { | ||
this.modelHdr(); | ||
this.modal = ej2_base_3.createElement('div'); | ||
this.modal.className = '' + ROOT + ' e-date-modal'; | ||
document.body.className += ' ' + OVERFLOW; | ||
this.modal.style.display = 'block'; | ||
document.body.appendChild(this.modal); | ||
@@ -366,3 +370,3 @@ } | ||
zIndex: this.zIndex, | ||
collision: !ej2_base_2.Browser.isDevice && { X: 'flip', Y: 'flip' }, | ||
collision: ej2_base_2.Browser.isDevice ? { X: 'fit', Y: 'fit' } : { X: 'flip', Y: 'flip' }, | ||
open: function () { | ||
@@ -402,8 +406,2 @@ if (document.activeElement !== _this.inputEle && !ej2_base_2.Browser.isDevice) { | ||
this.setAriaAttributes(); | ||
if (ej2_base_2.Browser.isDevice) { | ||
this.modelHdr(); | ||
this.modal.className = '' + ROOT + ' e-date-modal'; | ||
document.body.className += ' ' + OVERFLOW; | ||
this.modal.style.display = 'block'; | ||
} | ||
}; | ||
@@ -423,3 +421,3 @@ DatePicker.prototype.modelHdr = function () { | ||
modelHeader.appendChild(h2); | ||
this.popupWrapper.insertBefore(modelHeader, this.popupWrapper.firstElementChild); | ||
this.calendarElement.insertBefore(modelHeader, this.calendarElement.firstElementChild); | ||
}; | ||
@@ -719,2 +717,3 @@ DatePicker.prototype.changeTrigger = function () { | ||
ej2_inputs_1.Input.setValue('', this.inputEle, this.floatLabelType, false); | ||
this.currentDate = new Date(new Date().setHours(0, 0, 0, 0)); | ||
} | ||
@@ -721,0 +720,0 @@ this.updateInput(); |
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 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 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
15979155
161982