@syncfusion/ej2-calendars
Advanced tools
Comparing version 17.2.36 to 17.2.41
@@ -5,2 +5,10 @@ # Changelog | ||
### DateRangePicker | ||
#### Bug Fixes | ||
- `#F146493` - Issue with "DateRangePicker popup not opened on the second click action in iPad devices" has been resolved. | ||
## 17.2.36 (2019-07-24) | ||
### DatePicker | ||
@@ -7,0 +15,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 17.2.36 | ||
* version : 17.2.41 | ||
* Copyright Syncfusion Inc. 2001 - 2019. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-calendars@*", | ||
"_id": "@syncfusion/ej2-calendars@17.2.35", | ||
"_id": "@syncfusion/ej2-calendars@17.2.36", | ||
"_inBundle": false, | ||
"_integrity": "sha512-xD41xmZAJilIJb+uWl1QUCAKN7NV6F98XJEJNrIVe7tUrVdOwa9UKPlZnqfLMWZTmvOVWvHCp6t+3Nh754O1ww==", | ||
"_integrity": "sha512-uFdSIjNJAOphD5Z2z1hcKRNP61C6hyV+B8YdqelBywtqI14vovl25TFHs0xuvQgRgtsND2Z3mBdK0itlbIOfyw==", | ||
"_location": "/@syncfusion/ej2-calendars", | ||
@@ -34,4 +34,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-calendars/-/ej2-calendars-17.2.35.tgz", | ||
"_shasum": "8e6033c7b030bad97e76b86b78fcae61ef88c318", | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-calendars/-/ej2-calendars-17.2.36.tgz", | ||
"_shasum": "ee8a1211498c358a62b365d0cc0eecc51440f56c", | ||
"_spec": "@syncfusion/ej2-calendars@*", | ||
@@ -47,5 +47,5 @@ "_where": "/jenkins/workspace/ation_hotfix_16.4.0.42_Vol4-CJVRBFC7Z7RSISPRJNEMNQSRMCB6XTG67IJD6R2DVNXFIKQEITTQ/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~17.2.35", | ||
"@syncfusion/ej2-base": "~17.2.40", | ||
"@syncfusion/ej2-buttons": "~17.2.35", | ||
"@syncfusion/ej2-inputs": "~17.2.36", | ||
"@syncfusion/ej2-inputs": "~17.2.41", | ||
"@syncfusion/ej2-lists": "~17.2.34", | ||
@@ -84,4 +84,4 @@ "@syncfusion/ej2-popups": "~17.2.35" | ||
}, | ||
"version": "17.2.36", | ||
"version": "17.2.41", | ||
"sideEffects": false | ||
} |
@@ -134,4 +134,2 @@ import { Component, EventHandler, Internationalization, ModuleDeclaration } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, KeyboardEvents, L10n } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, KeyboardEventArgs, BaseEventArgs } from '@syncfusion/ej2-base';import { cldrData, getDefaultDateObject, rippleEffect } from '@syncfusion/ej2-base';import { createElement, removeClass, detach, closest, addClass, attributes } from '@syncfusion/ej2-base';import { getValue, getUniqueID, extend, Browser } from '@syncfusion/ej2-base';import { Property, Event, EmitType, isNullOrUndefined, throwError } from '@syncfusion/ej2-base';import { Islamic, IslamicDateArgs } from './index'; | ||
* For example, when using German keyboard, the key actions can be customized using these shortcuts. | ||
* @default null | ||
* @blazorType object | ||
* | ||
@@ -220,2 +218,5 @@ * <table> | ||
* </table> | ||
* | ||
* @default null | ||
* @blazorType object | ||
*/ | ||
@@ -222,0 +223,0 @@ keyConfigs?: { [key: string]: string }; |
@@ -164,4 +164,2 @@ import { Component, Internationalization, ModuleDeclaration } from '@syncfusion/ej2-base'; | ||
* For example, when using German keyboard, the key actions can be customized using these shortcuts. | ||
* @default null | ||
* @blazorType object | ||
* | ||
@@ -250,2 +248,5 @@ * <table> | ||
* </table> | ||
* | ||
* @default null | ||
* @blazorType object | ||
*/ | ||
@@ -252,0 +253,0 @@ keyConfigs: { |
@@ -87,5 +87,4 @@ import { EventHandler, Property, Internationalization, NotifyPropertyChanges, DateFormatOptions } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, Animation, EmitType, Event, extend, L10n, Browser, formatUnit } from '@syncfusion/ej2-base';import { createElement, detach, addClass, removeClass, closest, classList, attributes } from '@syncfusion/ej2-base';import { isNullOrUndefined, setValue, getUniqueID, ModuleDeclaration } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { Input, InputObject, IInput, FloatLabelType } from '@syncfusion/ej2-inputs';import { ChangedEventArgs, CalendarView, Calendar, BlurEventArgs, FocusEventArgs } from '../calendar/calendar'; | ||
* For example, when using German keyboard, the key actions can be customized using these shortcuts. | ||
* @default null | ||
* @blazorType object | ||
* | ||
* | ||
* Input Navigation | ||
@@ -194,2 +193,5 @@ * <table> | ||
* </table> | ||
* | ||
* @default null | ||
* @blazorType object | ||
*/ | ||
@@ -196,0 +198,0 @@ keyConfigs?: { [key: string]: string }; |
@@ -127,5 +127,4 @@ /// <reference path="../calendar/calendar-model.d.ts" /> | ||
* For example, when using German keyboard, the key actions can be customized using these shortcuts. | ||
* @default null | ||
* @blazorType object | ||
* | ||
* | ||
* Input Navigation | ||
@@ -234,2 +233,5 @@ * <table> | ||
* </table> | ||
* | ||
* @default null | ||
* @blazorType object | ||
*/ | ||
@@ -236,0 +238,0 @@ keyConfigs: { |
@@ -35,3 +35,2 @@ import { Property, EventHandler, Internationalization, NotifyPropertyChanges, detach, getUniqueID } from '@syncfusion/ej2-base';import { KeyboardEvents, BaseEventArgs, KeyboardEventArgs, Event, EmitType, Browser, L10n, 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, CalendarBase, NavigatedEventArgs, RenderDayCellEventArgs, CalendarType } from '../calendar/calendar';import { Popup } from '@syncfusion/ej2-popups';import { Button } from '@syncfusion/ej2-buttons';import { BlurEventArgs, FocusEventArgs } from '../calendar/calendar';import { Input, InputObject, FloatLabelType } from '@syncfusion/ej2-inputs';import { ListBase, cssClass as ListBaseClasses } from '@syncfusion/ej2-lists'; | ||
* @default null | ||
* @isGenericType true | ||
*/ | ||
@@ -235,5 +234,4 @@ value?: Date[] | DateRange; | ||
* For example, when using German keyboard, the key actions can be customized using these shortcuts. | ||
* @default null | ||
* @blazorType object | ||
* | ||
* | ||
* Input Navigation | ||
@@ -346,2 +344,5 @@ * <table> | ||
* </table> | ||
* | ||
* @default null | ||
* @blazorType object | ||
*/ | ||
@@ -348,0 +349,0 @@ keyConfigs?: { [key: string]: string }; |
@@ -31,3 +31,2 @@ /// <reference path="../calendar/calendar-model.d.ts" /> | ||
* Defines the value | ||
* @isGenericType true | ||
*/ | ||
@@ -174,3 +173,2 @@ value?: Date[] | DateRange; | ||
* @default null | ||
* @isGenericType true | ||
*/ | ||
@@ -347,5 +345,4 @@ value: Date[] | DateRange; | ||
* For example, when using German keyboard, the key actions can be customized using these shortcuts. | ||
* @default null | ||
* @blazorType object | ||
* | ||
* | ||
* Input Navigation | ||
@@ -458,2 +455,5 @@ * <table> | ||
* </table> | ||
* | ||
* @default null | ||
* @blazorType object | ||
*/ | ||
@@ -460,0 +460,0 @@ keyConfigs: { |
@@ -41,5 +41,4 @@ 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 { ModuleDeclaration, extend } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { Input } from '@syncfusion/ej2-inputs';import { BlurEventArgs } from '../calendar/calendar';import { DatePicker, PopupObjectArgs } from '../datepicker/datepicker';import { TimePickerBase } from '../timepicker/timepicker';import { cssClass as ListBaseClasses } from '@syncfusion/ej2-lists'; | ||
* For example, when using German keyboard, the key actions can be customized using these shortcuts. | ||
* @default null | ||
* @blazorType object | ||
* | ||
* | ||
* Input Navigation | ||
@@ -172,2 +171,5 @@ * <table> | ||
* </table> | ||
* | ||
* @default null | ||
* @blazorType object | ||
*/ | ||
@@ -174,0 +176,0 @@ keyConfigs?: { [key: string]: string }; |
@@ -79,5 +79,4 @@ /// <reference path="../datepicker/datepicker-model.d.ts" /> | ||
* For example, when using German keyboard, the key actions can be customized using these shortcuts. | ||
* @default null | ||
* @blazorType object | ||
* | ||
* | ||
* Input Navigation | ||
@@ -210,2 +209,5 @@ * <table> | ||
* </table> | ||
* | ||
* @default null | ||
* @blazorType object | ||
*/ | ||
@@ -212,0 +214,0 @@ keyConfigs: { |
@@ -180,3 +180,3 @@ var __extends = (this && this.__extends) || (function () { | ||
_super.prototype.updateHtmlAttributeToElement.call(this); | ||
this.checkAttributes(true); | ||
this.checkAttributes(false); | ||
var localeText = { placeholder: this.placeholder }; | ||
@@ -985,3 +985,4 @@ this.l10n = new L10n('datetimepicker', localeText, this.locale); | ||
DateTimePicker.prototype.checkAttributes = function (isDynamic) { | ||
var attributes = ['style', 'name', 'step', 'disabled', 'readonly', 'value', 'min', 'max', 'placeholder', 'type']; | ||
var attributes = isDynamic ? isNullOrUndefined(this.htmlAttributes) ? [] : Object.keys(this.htmlAttributes) : | ||
['style', 'name', 'step', 'disabled', 'readonly', 'value', 'min', 'max', 'placeholder', 'type']; | ||
var value; | ||
@@ -1000,6 +1001,7 @@ for (var _i = 0, attributes_1 = attributes; _i < attributes_1.length; _i++) { | ||
// tslint:disable-next-line | ||
if ((isNullOrUndefined(this.dateTimeOptions) || (this.dateTimeOptions['readonly'] === undefined)) || !isDynamic) { | ||
if ((isNullOrUndefined(this.dateTimeOptions) || (this.dateTimeOptions['readonly'] === undefined)) || isDynamic) { | ||
var readonly = this.inputElement.getAttribute(prop) === 'disabled' || | ||
this.inputElement.getAttribute(prop) === ''; | ||
this.setProperties({ readonly: readonly }, isDynamic); | ||
this.inputElement.getAttribute(prop) === '' || | ||
this.inputElement.getAttribute(prop) === 'true' ? true : false; | ||
this.setProperties({ readonly: readonly }, !isDynamic); | ||
} | ||
@@ -1009,4 +1011,4 @@ break; | ||
// tslint:disable-next-line | ||
if ((isNullOrUndefined(this.dateTimeOptions) || (this.dateTimeOptions['placeholder'] === undefined)) || !isDynamic) { | ||
this.setProperties({ placeholder: this.inputElement.getAttribute(prop) }, isDynamic); | ||
if ((isNullOrUndefined(this.dateTimeOptions) || (this.dateTimeOptions['placeholder'] === undefined)) || isDynamic) { | ||
this.setProperties({ placeholder: this.inputElement.getAttribute(prop) }, !isDynamic); | ||
} | ||
@@ -1016,6 +1018,6 @@ break; | ||
// tslint:disable-next-line | ||
if ((isNullOrUndefined(this.dateTimeOptions) || (this.dateTimeOptions['min'] === undefined)) || !isDynamic) { | ||
if ((isNullOrUndefined(this.dateTimeOptions) || (this.dateTimeOptions['min'] === undefined)) || isDynamic) { | ||
value = new Date(this.inputElement.getAttribute(prop)); | ||
if (!this.isNullOrEmpty(value) && !isNaN(+value)) { | ||
this.setProperties({ min: value }, isDynamic); | ||
this.setProperties({ min: value }, !isDynamic); | ||
} | ||
@@ -1026,6 +1028,7 @@ } | ||
// tslint:disable-next-line | ||
if ((isNullOrUndefined(this.dateTimeOptions) || (this.dateTimeOptions['enabled'] === undefined)) || !isDynamic) { | ||
if ((isNullOrUndefined(this.dateTimeOptions) || (this.dateTimeOptions['enabled'] === undefined)) || isDynamic) { | ||
var enabled = this.inputElement.getAttribute(prop) === 'disabled' || | ||
this.inputElement.getAttribute(prop) === ''; | ||
this.setProperties({ enabled: enabled }, isDynamic); | ||
this.inputElement.getAttribute(prop) === 'true' || | ||
this.inputElement.getAttribute(prop) === '' ? false : true; | ||
this.setProperties({ enabled: enabled }, !isDynamic); | ||
} | ||
@@ -1035,6 +1038,6 @@ break; | ||
// tslint:disable-next-line | ||
if ((isNullOrUndefined(this.dateTimeOptions) || (this.dateTimeOptions['value'] === undefined)) || !isDynamic) { | ||
if ((isNullOrUndefined(this.dateTimeOptions) || (this.dateTimeOptions['value'] === undefined)) || isDynamic) { | ||
value = new Date(this.inputElement.getAttribute(prop)); | ||
if (!this.isNullOrEmpty(value) && !isNaN(+value)) { | ||
this.setProperties({ value: value }, isDynamic); | ||
this.setProperties({ value: value }, !isDynamic); | ||
} | ||
@@ -1045,6 +1048,6 @@ } | ||
// tslint:disable-next-line | ||
if ((isNullOrUndefined(this.dateTimeOptions) || (this.dateTimeOptions['max'] === undefined)) || !isDynamic) { | ||
if ((isNullOrUndefined(this.dateTimeOptions) || (this.dateTimeOptions['max'] === undefined)) || isDynamic) { | ||
value = new Date(this.inputElement.getAttribute(prop)); | ||
if (!this.isNullOrEmpty(value) && !isNaN(+value)) { | ||
this.setProperties({ max: value }, isDynamic); | ||
this.setProperties({ max: value }, !isDynamic); | ||
} | ||
@@ -1310,3 +1313,3 @@ } | ||
this.updateHtmlAttributeToWrapper(); | ||
this.checkAttributes(false); | ||
this.checkAttributes(true); | ||
break; | ||
@@ -1313,0 +1316,0 @@ case 'format': |
@@ -35,4 +35,3 @@ import { EventHandler, Property, Internationalization, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, Animation, AnimationModel, Browser, BaseEventArgs } from '@syncfusion/ej2-base';import { EmitType, cldrData, L10n, Component, getDefaultDateObject, rippleEffect, RippleOptions, Event } from '@syncfusion/ej2-base';import { createElement, remove, addClass, detach, removeClass, closest, append, attributes, setStyleAttribute } from '@syncfusion/ej2-base';import { isNullOrUndefined, formatUnit, getValue, setValue, extend, getUniqueID } from '@syncfusion/ej2-base';import { Popup } from '@syncfusion/ej2-popups';import { FocusEventArgs, BlurEventArgs } from '../calendar/calendar';import { Input, InputObject, IInput, FloatLabelType } from '@syncfusion/ej2-inputs';import { ListBase, cssClass as ListBaseClasses, ListBaseOptions, createElementParams } from '@syncfusion/ej2-lists'; | ||
* For example, when using German keyboard, the key actions can be customized using these shortcuts. | ||
* @default null | ||
* @blazorType object | ||
* | ||
* <table> | ||
@@ -88,2 +87,5 @@ * <tr> | ||
* </table> | ||
* | ||
* @default null | ||
* @blazorType object | ||
*/ | ||
@@ -90,0 +92,0 @@ keyConfigs?: { [key: string]: string }; |
@@ -155,4 +155,3 @@ import { Internationalization } from '@syncfusion/ej2-base'; | ||
* For example, when using German keyboard, the key actions can be customized using these shortcuts. | ||
* @default null | ||
* @blazorType object | ||
* | ||
* <table> | ||
@@ -208,2 +207,5 @@ * <tr> | ||
* </table> | ||
* | ||
* @default null | ||
* @blazorType object | ||
*/ | ||
@@ -210,0 +212,0 @@ keyConfigs: { |
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 too big to display
7885292
81926