@syncfusion/ej2-calendars
Advanced tools
Comparing version 16.1.34 to 16.1.35
@@ -5,2 +5,18 @@ # Changelog | ||
### DateRangePicker | ||
#### Bug Fixes | ||
- `focusIn` and `focusOut` methods has been included. | ||
- `focus` and `blur` events has been included. | ||
## 16.1.34 (2018-04-10) | ||
### Common | ||
#### Bug Fixes | ||
- Issue with Calendar date generation in `UTC+00:00` time zone has been fixed. | ||
## 16.1.33 (2018-04-03) | ||
@@ -12,3 +28,3 @@ | ||
- Issue on going with `UTC+00:00` time zone has been fixed. | ||
- Rendering issue on going with `UTC+00:00` time zone has been fixed. | ||
@@ -15,0 +31,0 @@ ## 16.1.32 (2018-03-29) |
/*! | ||
* filename: index.d.ts | ||
* version : 16.1.34 | ||
* version : 16.1.35 | ||
* 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.1.34", | ||
"version": "16.1.35", | ||
"description": "Essential JS 2 Calendar Components", | ||
@@ -11,7 +11,7 @@ "author": "Syncfusion Inc.", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~16.1.33", | ||
"@syncfusion/ej2-base": "~16.1.35", | ||
"@syncfusion/ej2-popups": "~16.1.32", | ||
"@syncfusion/ej2-inputs": "~16.1.34", | ||
"@syncfusion/ej2-lists": "~16.1.34", | ||
"@syncfusion/ej2-buttons": "~16.1.32" | ||
"@syncfusion/ej2-inputs": "~16.1.35", | ||
"@syncfusion/ej2-lists": "~16.1.35", | ||
"@syncfusion/ej2-buttons": "~16.1.35" | ||
}, | ||
@@ -18,0 +18,0 @@ "devDependencies": { |
@@ -37,3 +37,3 @@ import { Component, EventHandler, Property, Event, Internationalization, EmitType } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, KeyboardEvents, KeyboardEventArgs, L10n } 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'; | ||
* With the help of this property, initial view can be changed to year or decade view. | ||
* @default month | ||
* @default Month | ||
*/ | ||
@@ -63,2 +63,8 @@ start?: CalendarView; | ||
/** | ||
* Specifies whether the Component is persist or not. Here value property will be persisting after browser refresh. | ||
* @default false | ||
*/ | ||
enablePersistence?: boolean; | ||
/** | ||
* Triggers when Calendar is created. | ||
@@ -65,0 +71,0 @@ * @event |
@@ -74,3 +74,3 @@ import { Component, Internationalization, EmitType } from '@syncfusion/ej2-base'; | ||
* With the help of this property, initial view can be changed to year or decade view. | ||
* @default month | ||
* @default Month | ||
*/ | ||
@@ -96,2 +96,7 @@ start: CalendarView; | ||
/** | ||
* Specifies whether the Component is persist or not. Here value property will be persisting after browser refresh. | ||
* @default false | ||
*/ | ||
enablePersistence: boolean; | ||
/** | ||
* Triggers when Calendar is created. | ||
@@ -98,0 +103,0 @@ * @event |
@@ -1,2 +0,2 @@ | ||
import { EventHandler, Property, Internationalization, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, Animation, EmitType, Event, L10n, Browser, formatUnit } from '@syncfusion/ej2-base';import { createElement, remove, detach, addClass, removeClass, closest, classList, attributes } from '@syncfusion/ej2-base';import { isNullOrUndefined, getValue, setValue, getUniqueID, merge } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { Input, InputObject, IInput, FloatLabelType } from '@syncfusion/ej2-inputs';import { Calendar, ChangedEventArgs, CalendarView } from '../calendar/calendar'; | ||
import { EventHandler, Property, Internationalization, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, Animation, EmitType, Event, L10n, Browser, formatUnit } from '@syncfusion/ej2-base';import { createElement, remove, detach, addClass, removeClass, closest, classList, attributes } from '@syncfusion/ej2-base';import { isNullOrUndefined, setValue, getUniqueID, merge } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { Input, InputObject, IInput, FloatLabelType } from '@syncfusion/ej2-inputs';import { Calendar, ChangedEventArgs, CalendarView } from '../calendar/calendar'; | ||
import {PopupObjectArgs,PreventableEventArgs} from "./datepicker"; | ||
@@ -50,2 +50,8 @@ import {CalendarModel} from "../calendar/calendar-model"; | ||
/** | ||
* Specifies whether the Component is persist or not. Here value property will be persisting after browser refresh. | ||
* @default false | ||
*/ | ||
enablePersistence?: boolean; | ||
/** | ||
* specifies the z-index value of the datePicker popup element. | ||
@@ -52,0 +58,0 @@ * @default 1000 |
@@ -31,3 +31,3 @@ /// <reference path="../calendar/calendar-model.d.ts" /> | ||
private previousEleValue; | ||
private ngTag; | ||
protected ngTag: string; | ||
protected dateTimeFormat: string; | ||
@@ -79,2 +79,7 @@ private inputEleCopy; | ||
/** | ||
* Specifies whether the Component is persist or not. Here value property will be persisting after browser refresh. | ||
* @default false | ||
*/ | ||
enablePersistence: boolean; | ||
/** | ||
* specifies the z-index value of the datePicker popup element. | ||
@@ -198,2 +203,3 @@ * @default 1000 | ||
destroy(): void; | ||
protected ensureInputAttribute(): void; | ||
/** | ||
@@ -200,0 +206,0 @@ * Initialize the event handler |
@@ -86,3 +86,4 @@ var __extends = (this && this.__extends) || (function () { | ||
'aria-haspopup': 'true', 'aria-activedescendant': 'null', | ||
'aria-owns': this.inputElement.id + '_options', 'aria-expanded': 'false', 'role': 'combobox', 'autocomplete': 'off' | ||
'aria-owns': this.element.id + '_options', 'aria-expanded': 'false', 'role': 'combobox', 'autocomplete': 'off', | ||
'autocorrect': 'off', 'autocapitalize': 'off', 'spellcheck': 'false' | ||
}; | ||
@@ -97,3 +98,2 @@ if (this.getModuleName() === 'datepicker') { | ||
element: this.inputElement, | ||
customTag: this.ngTag, | ||
floatLabelType: this.floatLabelType, | ||
@@ -115,3 +115,3 @@ properties: { | ||
else { | ||
this.inputElement.setAttribute('name', '' + this.inputElement.id); | ||
this.inputElement.setAttribute('name', '' + this.element.id); | ||
} | ||
@@ -122,2 +122,5 @@ ej2_base_3.attributes(this.inputElement, ariaAttrs); | ||
} | ||
else { | ||
this.inputElement.setAttribute('aria-disabled', 'false'); | ||
} | ||
ej2_inputs_1.Input.addAttributes({ 'aria-label': 'select' }, this.inputWrapper.buttons[0]); | ||
@@ -616,5 +619,6 @@ ej2_base_3.addClass([this.inputWrapper.container], DATEWRAPPER); | ||
var ariaAttrs = { | ||
'aria-live': 'assertive', 'aria-atomic': 'true', | ||
'aria-live': 'assertive', 'aria-atomic': 'true', 'aria-disabled': 'true', | ||
'aria-haspopup': 'true', 'aria-activedescendant': 'null', | ||
'aria-owns': this.inputElement.id + '_options', 'aria-expanded': 'false', 'role': 'combobox', 'autocomplete': 'off' | ||
'aria-owns': this.element.id + '_options', 'aria-expanded': 'false', 'role': 'combobox', 'autocomplete': 'off', | ||
'autocorrect': 'off', 'autocapitalize': 'off', 'spellcheck': 'false' | ||
}; | ||
@@ -629,37 +633,48 @@ ej2_inputs_1.Input.removeAttributes(ariaAttrs, this.inputElement); | ||
ej2_base_1.EventHandler.remove(this.inputElement, 'focus', this.inputFocusHandler); | ||
this.inputWrapper.container.insertAdjacentElement('afterend', this.inputEleCopy); | ||
ej2_base_3.removeClass([this.inputElement], [ROOT, RTL, INPUTROOT]); | ||
ej2_base_3.removeClass([this.inputWrapper.container], DATEWRAPPER); | ||
ej2_base_3.detach(this.inputWrapper.container); | ||
this.ensureInputAttribute(); | ||
if (this.ngTag === null) { | ||
this.inputWrapper.container.insertAdjacentElement('afterend', this.inputElement); | ||
ej2_base_3.removeClass([this.inputElement], [INPUTROOT]); | ||
ej2_base_3.removeClass([this.element], [ROOT]); | ||
ej2_base_3.detach(this.inputWrapper.container); | ||
} | ||
}; | ||
DatePicker.prototype.ensureInputAttribute = function () { | ||
for (var i = 0; i < this.inputElement.attributes.length; i++) { | ||
var prop = this.inputElement.attributes[i].name; | ||
if (ej2_base_4.isNullOrUndefined(this.inputEleCopy.getAttribute(prop))) { | ||
if (prop.toLowerCase() === 'value' || ej2_base_4.isNullOrUndefined(this.inputEleCopy.getAttribute('value'))) { | ||
this.inputElement.value = ''; | ||
} | ||
this.inputElement.removeAttribute(prop); | ||
} | ||
} | ||
}; | ||
DatePicker.prototype.preRender = function () { | ||
this.inputEleCopy = this.element; | ||
this.inputEleCopy = this.element.cloneNode(true); | ||
this.inputElement = this.element; | ||
this.index = this.showClearButton ? 2 : 1; | ||
var ej2Instance = ej2_base_4.getValue('ej2_instances', this.element); | ||
this.ngTag = null; | ||
if (this.element.tagName === 'EJS-DATEPICKER' || this.element.tagName === 'EJS-DATETIMEPICKER') { | ||
this.ngTag = this.element.tagName; | ||
var inputElement = ej2_base_3.createElement('input'); | ||
var index = 0; | ||
for (index; index < this.element.attributes.length; index++) { | ||
inputElement.setAttribute(this.element.attributes[index].nodeName, this.element.attributes[index].nodeValue); | ||
inputElement.innerHTML = this.element.innerHTML; | ||
} | ||
this.element.parentNode.appendChild(inputElement); | ||
this.element.parentNode.removeChild(this.element); | ||
this.inputElement = inputElement; | ||
ej2_base_4.setValue('ej2_instances', ej2Instance, this.inputElement); | ||
this.inputElement = ej2_base_3.createElement('input'); | ||
this.element.appendChild(this.inputElement); | ||
} | ||
if (this.element.getAttribute('id')) { | ||
this.inputElement.id = this.element.getAttribute('id'); | ||
if (this.ngTag !== null) { | ||
this.inputElement.id = this.element.getAttribute('id') + '_input'; | ||
} | ||
} | ||
else { | ||
if (this.getModuleName() === 'datetimepicker') { | ||
this.inputElement.id = ej2_base_4.getUniqueID('ej2-datetimepicker'); | ||
ej2_base_3.attributes(this.element, { 'id': this.inputElement.id }); | ||
this.element.id = ej2_base_4.getUniqueID('ej2-datetimepicker'); | ||
if (this.ngTag !== null) { | ||
ej2_base_3.attributes(this.inputElement, { 'id': this.element.id + '_input' }); | ||
} | ||
} | ||
else { | ||
this.inputElement.id = ej2_base_4.getUniqueID('ej2-datepicker'); | ||
ej2_base_3.attributes(this.element, { 'id': this.inputElement.id }); | ||
this.element.id = ej2_base_4.getUniqueID('ej2-datepicker'); | ||
if (this.ngTag !== null) { | ||
ej2_base_3.attributes(this.inputElement, { 'id': this.element.id + '_input' }); | ||
} | ||
} | ||
@@ -691,3 +706,3 @@ } | ||
this.inputElement.getAttribute(prop) === ''; | ||
this.setProperties({ enabled: enabled }, true); | ||
this.setProperties({ enabled: !enabled }, true); | ||
if (!enabled) { | ||
@@ -824,2 +839,8 @@ this.inputElement.setAttribute('aria-disabled', 'true'); | ||
ej2_inputs_1.Input.setEnabled(this.enabled, this.inputElement); | ||
if (!this.enabled) { | ||
this.inputElement.setAttribute('aria-disabled', 'true'); | ||
} | ||
else { | ||
this.inputElement.setAttribute('aria-disabled', 'false'); | ||
} | ||
this.bindEvents(); | ||
@@ -880,2 +901,5 @@ break; | ||
__decorate([ | ||
ej2_base_1.Property(false) | ||
], DatePicker.prototype, "enablePersistence", void 0); | ||
__decorate([ | ||
ej2_base_1.Property(1000) | ||
@@ -882,0 +906,0 @@ ], DatePicker.prototype, "zIndex", void 0); |
@@ -1,2 +0,2 @@ | ||
import { Property, EventHandler, Internationalization, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { KeyboardEvents, BaseEventArgs, KeyboardEventArgs, Event, EmitType, L10n, Browser, ChildProperty } from '@syncfusion/ej2-base';import { addClass, createElement, remove, closest, select, prepend, removeClass, attributes, Collection } from '@syncfusion/ej2-base';import { isNullOrUndefined, isUndefined, formatUnit, setValue, rippleEffect, getValue, merge, extend } from '@syncfusion/ej2-base';import { CalendarView, Calendar, NavigatedEventArgs, RenderDayCellEventArgs } from '../calendar/calendar';import { Popup } from '@syncfusion/ej2-popups';import { Button } from '@syncfusion/ej2-buttons';import { Input, InputObject, FloatLabelType } from '@syncfusion/ej2-inputs';import { ListBase, cssClass as ListBaseClasses } from '@syncfusion/ej2-lists'; | ||
import { Property, EventHandler, Internationalization, NotifyPropertyChanges, detach, getUniqueID } from '@syncfusion/ej2-base';import { KeyboardEvents, BaseEventArgs, KeyboardEventArgs, Event, EmitType, L10n, Browser, ChildProperty } from '@syncfusion/ej2-base';import { addClass, createElement, remove, closest, select, prepend, removeClass, attributes, Collection } from '@syncfusion/ej2-base';import { isNullOrUndefined, isUndefined, formatUnit, setValue, rippleEffect, merge, extend } from '@syncfusion/ej2-base';import { CalendarView, Calendar, NavigatedEventArgs, RenderDayCellEventArgs } from '../calendar/calendar';import { Popup } from '@syncfusion/ej2-popups';import { Button } from '@syncfusion/ej2-buttons';import { Input, InputObject, FloatLabelType } from '@syncfusion/ej2-inputs';import { ListBase, cssClass as ListBaseClasses } from '@syncfusion/ej2-lists'; | ||
import {CalendarModel} from "../calendar/calendar-model"; | ||
@@ -62,2 +62,8 @@ | ||
/** | ||
* Specifies whether the Component is persist or not. Here, start and endDate property will be persisting after browser refresh. | ||
* @default false | ||
*/ | ||
enablePersistence?: boolean; | ||
/** | ||
* Specifies whether to show or hide the clear Icon | ||
@@ -124,3 +130,3 @@ * @default true | ||
* Specifies the placeholder text that need to be displayed in the DateRangePicker component. | ||
* @default '' | ||
* @default null | ||
*/ | ||
@@ -132,3 +138,3 @@ placeholder?: string; | ||
* With the help of this property, initial view can be changed to year or decade view. | ||
* @default month | ||
* @default Month | ||
* @hidden | ||
@@ -141,3 +147,3 @@ */ | ||
* Depth view should be smaller than the start view to restrict its view navigation. | ||
* @default month | ||
* @default Month | ||
* @hidden | ||
@@ -197,2 +203,14 @@ */ | ||
/** | ||
* Triggers when the control gets focus. | ||
* @event | ||
*/ | ||
focus?: EmitType<Object>; | ||
/** | ||
* Triggers when the control loses the focus. | ||
* @event | ||
*/ | ||
blur?: EmitType<Object>; | ||
} |
@@ -132,2 +132,7 @@ /// <reference path="../calendar/calendar-model.d.ts" /> | ||
/** | ||
* Specifies whether the Component is persist or not. Here, start and endDate property will be persisting after browser refresh. | ||
* @default false | ||
*/ | ||
enablePersistence: boolean; | ||
/** | ||
* Specifies whether to show or hide the clear Icon | ||
@@ -184,3 +189,3 @@ * @default true | ||
* Specifies the placeholder text that need to be displayed in the DateRangePicker component. | ||
* @default '' | ||
* @default null | ||
*/ | ||
@@ -191,3 +196,3 @@ placeholder: string; | ||
* With the help of this property, initial view can be changed to year or decade view. | ||
* @default month | ||
* @default Month | ||
* @hidden | ||
@@ -199,3 +204,3 @@ */ | ||
* Depth view should be smaller than the start view to restrict its view navigation. | ||
* @default month | ||
* @default Month | ||
* @hidden | ||
@@ -247,2 +252,12 @@ */ | ||
/** | ||
* Triggers when the control gets focus. | ||
* @event | ||
*/ | ||
focus: EmitType<Object>; | ||
/** | ||
* Triggers when the control loses the focus. | ||
* @event | ||
*/ | ||
blur: EmitType<Object>; | ||
/** | ||
* Constructor for creating the widget | ||
@@ -284,2 +299,3 @@ */ | ||
private deviceHeaderClick(event); | ||
private inputFocusHandler(); | ||
private inputBlurHandler(); | ||
@@ -309,3 +325,3 @@ private clearRange(); | ||
private updateCalendarElement(calendar); | ||
private navPreviousMonth(event); | ||
private navPrevMonth(e); | ||
private deviceNavigation(ele?); | ||
@@ -354,5 +370,2 @@ private updateControl(calendar); | ||
private popupKeyActionHandle(e); | ||
private iconBlurHandler(); | ||
private removeIconTabindex(); | ||
private addIconTabindex(); | ||
private documentHandler(e); | ||
@@ -377,2 +390,12 @@ private createInput(); | ||
/** | ||
* Sets the focus to widget for interaction. | ||
* @returns void | ||
*/ | ||
focusIn(): void; | ||
/** | ||
* Remove the focus from widget, if the widget is in focus state. | ||
* @returns void | ||
*/ | ||
focusOut(): void; | ||
/** | ||
* To destroy the widget. | ||
@@ -382,2 +405,3 @@ * @returns void | ||
destroy(): void; | ||
protected ensureInputAttribute(): void; | ||
/** | ||
@@ -384,0 +408,0 @@ * To get component name |
@@ -28,2 +28,8 @@ import { EventHandler, Internationalization, Property, NotifyPropertyChanges, Browser, RippleOptions } from '@syncfusion/ej2-base';import { Animation, EmitType, Event, AnimationModel, cldrData, getDefaultDateObject, detach } from '@syncfusion/ej2-base';import { createElement, remove, addClass, L10n, removeClass, closest, classList, append, attributes } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, isNullOrUndefined, formatUnit, getValue, rippleEffect } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { Input } from '@syncfusion/ej2-inputs';import { DatePicker } from '../datepicker/datepicker';import { TimePickerBase } from '../timepicker/timepicker';import { cssClass as ListBaseClasses } from '@syncfusion/ej2-lists'; | ||
/** | ||
* Specifies whether the Component is persist or not. Here value property will be persisting after browser refresh. | ||
* @default false | ||
*/ | ||
enablePersistence?: boolean; | ||
/** | ||
* Specifies whether to show or hide the clear icon in textbox. | ||
@@ -30,0 +36,0 @@ * @default false |
@@ -62,2 +62,7 @@ /// <reference path="../datepicker/datepicker-model.d.ts" /> | ||
/** | ||
* Specifies whether the Component is persist or not. Here value property will be persisting after browser refresh. | ||
* @default false | ||
*/ | ||
enablePersistence: boolean; | ||
/** | ||
* Specifies whether to show or hide the clear icon in textbox. | ||
@@ -64,0 +69,0 @@ * @default false |
@@ -80,7 +80,9 @@ var __extends = (this && this.__extends) || (function () { | ||
var ariaAttribute = { | ||
'aria-live': 'assertive', 'aria-atomic': 'true', | ||
'aria-live': 'assertive', 'aria-atomic': 'true', 'aria-invalid': 'false', | ||
'aria-haspopup': 'true', 'aria-activedescendant': 'null', | ||
'aria-owns': this.inputElement.id + '_options', 'aria-expanded': 'false', 'role': 'combobox', 'autocomplete': 'off' | ||
'autocorrect': 'off', 'autocapitalize': 'off', 'spellcheck': 'false', | ||
'aria-owns': this.element.id + '_options', 'aria-expanded': 'false', 'role': 'combobox', 'autocomplete': 'off' | ||
}; | ||
ej2_inputs_1.Input.removeAttributes(ariaAttribute, this.inputElement); | ||
this.inputElement.removeAttribute('aria-placeholder'); | ||
if (this.isCalendar()) { | ||
@@ -92,7 +94,3 @@ ej2_base_2.detach(this.popupWrapper); | ||
this.unBindInputEvents(); | ||
this.inputWrapper.container.parentElement.appendChild(this.cloneElement); | ||
ej2_base_3.removeClass([this.inputElement], [ROOT, RTL]); | ||
ej2_base_3.removeClass([this.cloneElement], [ROOT, 'e-control']); | ||
ej2_base_3.removeClass([this.inputWrapper.container], DATEWRAPPER); | ||
ej2_base_3.remove(this.inputWrapper.container); | ||
_super.prototype.destroy.call(this); | ||
}; | ||
@@ -311,2 +309,3 @@ DateTimePicker.prototype.render = function () { | ||
} | ||
ej2_base_3.addClass([this.inputWrapper.container], [INPUTFOCUS]); | ||
}; | ||
@@ -367,3 +366,3 @@ DateTimePicker.prototype.dateHandler = function (e) { | ||
this.listTag = listDetails.list; | ||
ej2_base_3.attributes(this.listTag, { 'role': 'listbox', 'aria-hidden': 'false', 'id': this.inputElement.id + '_options' }); | ||
ej2_base_3.attributes(this.listTag, { 'role': 'listbox', 'aria-hidden': 'false', 'id': this.element.id + '_options' }); | ||
ej2_base_3.append([listDetails.list], this.listWrapper); | ||
@@ -378,3 +377,3 @@ this.wireTimeListEvents(); | ||
ej2_base_3.addClass([this.popupWrapper], DATETIMEPOPUPWRAPPER); | ||
ej2_base_3.attributes(this.popupWrapper, { 'id': this.inputElement.id + '_datepopup' }); | ||
ej2_base_3.attributes(this.popupWrapper, { 'id': this.element.id + '_datepopup' }); | ||
this.trigger('open', this.popupWrapper); | ||
@@ -385,3 +384,3 @@ } | ||
className: ROOT + ' ' + POPUP, | ||
attrs: { 'id': this.inputElement.id + '_timepopup', 'style': 'visibility:hidden ; display:block' } | ||
attrs: { 'id': this.element.id + '_timepopup', 'style': 'visibility:hidden ; display:block' } | ||
}); | ||
@@ -410,3 +409,3 @@ if (!ej2_base_4.isNullOrUndefined(this.cssClass)) { | ||
this.popupObject.show(new ej2_base_2.Animation(openAnimation)); | ||
ej2_base_3.addClass([this.inputWrapper.container], [ICONANIMATION, INPUTFOCUS]); | ||
ej2_base_3.addClass([this.inputWrapper.container], [ICONANIMATION]); | ||
ej2_base_3.attributes(this.inputElement, { 'aria-expanded': 'true' }); | ||
@@ -1099,2 +1098,5 @@ ej2_base_1.EventHandler.add(document, 'mousedown touchstart', this.documentClickHandler, this); | ||
ej2_base_1.Property(false) | ||
], DateTimePicker.prototype, "enablePersistence", void 0); | ||
__decorate([ | ||
ej2_base_1.Property(false) | ||
], DateTimePicker.prototype, "showClearButton", void 0); | ||
@@ -1101,0 +1103,0 @@ __decorate([ |
@@ -67,2 +67,8 @@ 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'; | ||
/** | ||
* Specifies whether the Component is persist or not. Here value property will be persisting after browser refresh. | ||
* @default false | ||
*/ | ||
enablePersistence?: boolean; | ||
/** | ||
* Specifies whether to show or hide the clear Icon | ||
@@ -69,0 +75,0 @@ * @default true |
@@ -146,2 +146,7 @@ import { Internationalization } from '@syncfusion/ej2-base'; | ||
/** | ||
* Specifies whether the Component is persist or not. Here value property will be persisting after browser refresh. | ||
* @default false | ||
*/ | ||
enablePersistence: boolean; | ||
/** | ||
* Specifies whether to show or hide the clear Icon | ||
@@ -237,2 +242,3 @@ * @default true | ||
destroy(): void; | ||
protected ensureInputAttribute(): void; | ||
private popupCreation(); | ||
@@ -239,0 +245,0 @@ protected getPopupHeight(): number; |
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
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
16793572
195448