Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-calendars

Package Overview
Dependencies
Maintainers
2
Versions
244
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-calendars - npm Package Compare versions

Comparing version 1.0.19 to 1.0.21

53

dist/es6/calendar/calendar.js

@@ -45,2 +45,3 @@ var __extends = (this && this.__extends) || (function () {

var OTHERMONTHROW = 'e-month-hide';
var TODAY = 'e-today';
var TITLE = 'e-title';

@@ -115,5 +116,5 @@ var LINK = 'e-day';

this.setProperties({ value: new Date('' + this.value) }, true);
this.currentDate = this.currentDate ? this.currentDate : this.resetTime(new Date());
this.currentDate = this.currentDate ? this.currentDate : new Date();
if (!isNullOrUndefined(this.value) && this.min <= this.max && this.value >= this.min && this.value <= this.max) {
this.currentDate = this.resetTime(new Date('' + this.value));
this.currentDate = new Date('' + this.value);
}

@@ -135,3 +136,3 @@ if (isNaN(+this.value)) {

if (!isNullOrUndefined(this.value) && this.value <= this.min && this.min <= this.max) {
this.setProperties({ value: this.resetTime(this.min) }, true);
this.setProperties({ value: this.min }, true);
this.changedArgs = { value: this.value };

@@ -141,3 +142,3 @@ }

if (!isNullOrUndefined(this.value) && this.value >= this.max && this.min <= this.max) {
this.setProperties({ value: this.resetTime(this.max) }, true);
this.setProperties({ value: this.max }, true);
this.changedArgs = { value: this.value };

@@ -340,3 +341,3 @@ }

var d = new Date(parseInt('' + (focusedDate || selectedDate).id, 0));
this.selectDate(e, this.resetTime(d), (focusedDate || selectedDate));
this.selectDate(e, d, (focusedDate || selectedDate));
}

@@ -450,3 +451,3 @@ else {

var cellsCount = 42;
var localDate = this.resetTime(new Date('' + this.currentDate));
var localDate = new Date('' + this.currentDate);
var numCells = this.weekNumber ? 8 : 7;

@@ -469,3 +470,4 @@ var currentMonth = localDate.getMonth();

}
var date = this.globalize.parseDate(this.globalize.formatDate(localDate, { skeleton: 'full' }), { skeleton: 'full' });
var dateFormatOptions = { type: 'dateTime', skeleton: 'full' };
var date = this.globalize.parseDate(this.globalize.formatDate(localDate, dateFormatOptions), dateFormatOptions);
var tdEle = this.dayCell(localDate);

@@ -498,3 +500,3 @@ var title = this.globalize.formatDate(localDate, { type: 'date', skeleton: 'full' });

if (args.isDisabled) {
if (this.value && +this.resetTime(this.value) === +args.date) {
if (this.value && +this.value === +args.date) {
this.setProperties({ value: null }, true);

@@ -534,4 +536,6 @@ }

}
if (this.resetTime(date).valueOf() === this.resetTime(new Date()).valueOf()) {
addClass([tdEle], 'e-today');
if (date.getMonth() === new Date().getMonth() && date.getDate() === new Date().getDate()) {
if (date.getFullYear() === new Date().getFullYear()) {
addClass([tdEle], TODAY);
}
}

@@ -569,3 +573,3 @@ tdEle.appendChild(this.renderDaycellArg.element);

var select = (this.value && (this.value).getFullYear() === yr && localMonth);
dayLink.textContent = this.globalize.formatDate(localDate, { type: 'date', skeleton: 'MMM' });
dayLink.textContent = this.globalize.formatDate(localDate, { type: 'dateTime', skeleton: 'MMM' });
if ((this.min && (curYrs < minYr || (month < minMonth && curYrs === minYr))) || (this.max && (curYrs > maxYr || (month > maxMonth && curYrs >= maxYr)))) {

@@ -603,4 +607,4 @@ addClass([tdEle], DISABLED);

var endYr = new Date('' + (localYr - localYr % 10 + (10 - 1)));
var startHdrYr = this.globalize.formatDate(startYr, { type: 'date', skeleton: 'y' });
var endHdrYr = this.globalize.formatDate(endYr, { type: 'date', skeleton: 'y' });
var startHdrYr = this.globalize.formatDate(startYr, { type: 'dateTime', skeleton: 'y' });
var endHdrYr = this.globalize.formatDate(endYr, { type: 'dateTime', skeleton: 'y' });
this.headerTitleElement.textContent = startHdrYr + ' - ' + (endHdrYr);

@@ -615,3 +619,3 @@ var start = new Date(localYr - (localYr % 10) - 1, 0, 1);

var dayLink = createElement('span');
dayLink.textContent = this.globalize.formatDate(localDate, { type: 'date', skeleton: 'y' });
dayLink.textContent = this.globalize.formatDate(localDate, { type: 'dateTime', skeleton: 'y' });
if (year < new Date('' + this.min).getFullYear() || year > new Date('' + this.max).getFullYear()) {

@@ -637,4 +641,5 @@ addClass([tdEle], DISABLED);

Calendar.prototype.dayCell = function (localDate) {
var date = this.globalize.parseDate(this.globalize.formatDate(localDate, { skeleton: 'full' }), { skeleton: 'full' });
var value = this.resetTime(date).valueOf();
var dateFormatOptions = { skeleton: 'full', type: 'dateTime' };
var date = this.globalize.parseDate(this.globalize.formatDate(localDate, dateFormatOptions), dateFormatOptions);
var value = date.valueOf();
var attrs = {

@@ -856,6 +861,6 @@ className: CELL, attrs: { 'id': '' + getUniqueID('' + value), 'aria-selected': 'false', 'role': 'gridcell' }

case 'days':
this.headerTitleElement.textContent = globalize.formatDate(date, { type: 'date', skeleton: 'yMMMM' });
this.headerTitleElement.textContent = globalize.formatDate(date, { type: 'dateTime', skeleton: 'yMMMM' });
break;
case 'months':
this.headerTitleElement.textContent = globalize.formatDate(date, { type: 'date', skeleton: 'y' });
this.headerTitleElement.textContent = globalize.formatDate(date, { type: 'dateTime', skeleton: 'y' });
}

@@ -1035,4 +1040,6 @@ };

}
var dateString = this.globalize.formatDate(new Date(parseInt('' + eve.getAttribute('id'), 0)), { skeleton: 'full' });
return this.resetTime(this.globalize.parseDate(dateString, { skeleton: 'full', type: 'date' }));
var dateFormatOptions = { type: 'dateTime', skeleton: 'full' };
var dateString = this.globalize.formatDate(new Date(parseInt('' + eve.getAttribute('id'), 0)), dateFormatOptions);
var date = this.globalize.parseDate(dateString, dateFormatOptions);
return this.globalize.parseDate(dateString, dateFormatOptions);
};

@@ -1102,3 +1109,3 @@ Calendar.prototype.selectDate = function (e, date, element) {

if (!isNullOrUndefined(this.value)) {
this.setProperties({ value: this.resetTime(this.value) }, true);
this.setProperties({ value: this.value }, true);
}

@@ -1154,6 +1161,2 @@ if (+this.value !== Number.NaN && +this.value !== +this.previousDate) {

};
Calendar.prototype.resetTime = function (date) {
date.setHours(0, 0, 0, 0);
return date;
};
Calendar.prototype.addDay = function (date, i) {

@@ -1160,0 +1163,0 @@ date.setDate(date.getDate() + i);

@@ -128,3 +128,3 @@ var __extends = (this && this.__extends) || (function () {

if (+new Date('' + this.value)) {
var dateOptions = { format: this.format, type: 'date', skeleton: 'yMd' };
var dateOptions = { format: this.format, type: 'dateTime', skeleton: 'yMd' };
var dateString = this.globalize.formatDate(this.value, dateOptions);

@@ -137,4 +137,4 @@ this.setProperties({ value: this.globalize.parseDate(dateString, dateOptions) }, true);

if (!isNullOrUndefined(this.value)) {
var dateValue = this.resetTime(this.value);
var dateString = this.globalize.formatDate(this.value, { format: this.format, type: 'date', skeleton: 'yMd' });
var dateValue = this.value;
var dateString = this.globalize.formatDate(this.value, { format: this.format, type: 'dateTime', skeleton: 'yMd' });
if ((+dateValue <= +this.max) && (+dateValue >= +this.min)) {

@@ -144,3 +144,3 @@ Input.setValue(dateString, this.inputEle, this.floatLabelType, false);

else {
var value = (+dateValue >= +this.max || !+this.value) || (+dateValue <= +this.min || !+this.value);
var value = (+dateValue >= +this.max || !+this.value) || (!+this.value || +dateValue <= +this.min);
if (!this.strictMode && value) {

@@ -306,3 +306,3 @@ Input.setValue(dateString, this.inputEle, this.floatLabelType, false);

DatePicker.prototype.strictModeUpdate = function () {
var dateOptions = { format: this.format, type: 'date', skeleton: 'yMd' };
var dateOptions = { format: this.format, type: 'dateTime', skeleton: 'yMd' };
var date = this.globalize.parseDate(this.inputEle.value, dateOptions);

@@ -388,5 +388,5 @@ if (this.strictMode && date) {

var monthSpan = createElement('span', { className: 'e-model-month' });
yearHeading.textContent = '' + this.globalize.formatDate(this.value || new Date(), { format: 'y', skeleton: 'date' });
daySpan.textContent = '' + this.globalize.formatDate(this.value || new Date(), { format: 'E', skeleton: 'date' }) + ', ';
monthSpan.textContent = '' + this.globalize.formatDate(this.value || new Date(), { format: 'MMM d', skeleton: 'date' });
yearHeading.textContent = '' + this.globalize.formatDate(this.value || new Date(), { format: 'y', skeleton: 'dateTime' });
daySpan.textContent = '' + this.globalize.formatDate(this.value || new Date(), { format: 'E', skeleton: 'dateTime' }) + ', ';
monthSpan.textContent = '' + this.globalize.formatDate(this.value || new Date(), { format: 'MMM d', skeleton: 'dateTime' });
modelHeader.appendChild(yearHeading);

@@ -419,3 +419,3 @@ h2.appendChild(daySpan);

if (this.value) {
date = this.globalize.formatDate(this.changedArgs.value, { format: this.format, type: 'date', skeleton: 'yMd' });
date = this.globalize.formatDate(this.changedArgs.value, { format: this.format, type: 'dateTime', skeleton: 'yMd' });
}

@@ -638,3 +638,3 @@ Input.setValue(date, this.inputEle, this.floatLabelType, false);

this.previousDate = previousValCopy;
var date = valueCopy && +this.resetTime(valueCopy);
var date = valueCopy && +(valueCopy);
var dateIdString = '*[id^="/id"]'.replace('/id', '' + date);

@@ -649,3 +649,3 @@ if (!this.strictMode) {

}
var inputVal = this.globalize.formatDate(valueCopy, { format: this.format, type: 'date', skeleton: 'yMd' });
var inputVal = this.globalize.formatDate(valueCopy, { format: this.format, type: 'dateTime', skeleton: 'yMd' });
Input.setValue(inputVal, this.inputEle, this.floatLabelType, false);

@@ -652,0 +652,0 @@ };

{
"name": "@syncfusion/ej2-calendars",
"version": "1.0.19",
"version": "1.0.21",
"description": "Essential JS 2 Calendar Components",

@@ -9,5 +9,5 @@ "author": "Syncfusion Inc.",

"dependencies": {
"@syncfusion/ej2-base": "^1.0.19",
"@syncfusion/ej2-base": "^1.0.21",
"@syncfusion/ej2-popups": "^1.0.17",
"@syncfusion/ej2-inputs": "^1.0.19",
"@syncfusion/ej2-inputs": "^1.0.21",
"@syncfusion/ej2-lists": "^1.0.19",

@@ -14,0 +14,0 @@ "intl": "^1.2.5"

@@ -10,3 +10,3 @@ # Calendar

[DatePicker Demo](http://ej2.syncfusion.com/demos/#/datepicker/default.html)
[DatePicker Documentation](http://ej2.syncfusion.com/documentation/datepicker)
[DatePicker Documentation](http://ej2.syncfusion.com/documentation/datepicker)
[TimePicker Demo](http://ej2.syncfusion.com/demos/#/timepicker/default.html)

@@ -13,0 +13,0 @@ [TimePicker Documentation](http://ej2.syncfusion.com/documentation/timepicker)

@@ -68,3 +68,3 @@ import{Calendar} from "./calendar";

/**
* Gets or sets the selected date of the Calendar
* Gets or sets the selected date of the Calendar.
*/

@@ -71,0 +71,0 @@ value(value:Date): BuilderProperties;

@@ -11,3 +11,3 @@ import { Component, EventHandler, Property, Event, CreateBuilder, 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';import { CalendarHelper } from './calendar-builder';

/**
* Gets or sets the selected date of the Calendar
* Gets or sets the selected date of the Calendar.
* @default null

@@ -14,0 +14,0 @@ */

@@ -49,3 +49,3 @@ import { Component, Internationalization, EmitType } from '@syncfusion/ej2-base';

/**
* Gets or sets the selected date of the Calendar
* Gets or sets the selected date of the Calendar.
* @default null

@@ -217,3 +217,2 @@ */

private shiftArray(array, i);
protected resetTime(date: Date): Date;
protected addDay(date: Date, i: number): void;

@@ -220,0 +219,0 @@ private getMaxDays(d);

@@ -43,2 +43,3 @@ var __extends = (this && this.__extends) || (function () {

var OTHERMONTHROW = 'e-month-hide';
var TODAY = 'e-today';
var TITLE = 'e-title';

@@ -113,5 +114,5 @@ var LINK = 'e-day';

this.setProperties({ value: new Date('' + this.value) }, true);
this.currentDate = this.currentDate ? this.currentDate : this.resetTime(new Date());
this.currentDate = this.currentDate ? this.currentDate : new Date();
if (!ej2_base_5.isNullOrUndefined(this.value) && this.min <= this.max && this.value >= this.min && this.value <= this.max) {
this.currentDate = this.resetTime(new Date('' + this.value));
this.currentDate = new Date('' + this.value);
}

@@ -133,3 +134,3 @@ if (isNaN(+this.value)) {

if (!ej2_base_5.isNullOrUndefined(this.value) && this.value <= this.min && this.min <= this.max) {
this.setProperties({ value: this.resetTime(this.min) }, true);
this.setProperties({ value: this.min }, true);
this.changedArgs = { value: this.value };

@@ -139,3 +140,3 @@ }

if (!ej2_base_5.isNullOrUndefined(this.value) && this.value >= this.max && this.min <= this.max) {
this.setProperties({ value: this.resetTime(this.max) }, true);
this.setProperties({ value: this.max }, true);
this.changedArgs = { value: this.value };

@@ -338,3 +339,3 @@ }

var d = new Date(parseInt('' + (focusedDate || selectedDate).id, 0));
this.selectDate(e, this.resetTime(d), (focusedDate || selectedDate));
this.selectDate(e, d, (focusedDate || selectedDate));
}

@@ -448,3 +449,3 @@ else {

var cellsCount = 42;
var localDate = this.resetTime(new Date('' + this.currentDate));
var localDate = new Date('' + this.currentDate);
var numCells = this.weekNumber ? 8 : 7;

@@ -467,3 +468,4 @@ var currentMonth = localDate.getMonth();

}
var date = this.globalize.parseDate(this.globalize.formatDate(localDate, { skeleton: 'full' }), { skeleton: 'full' });
var dateFormatOptions = { type: 'dateTime', skeleton: 'full' };
var date = this.globalize.parseDate(this.globalize.formatDate(localDate, dateFormatOptions), dateFormatOptions);
var tdEle = this.dayCell(localDate);

@@ -496,3 +498,3 @@ var title = this.globalize.formatDate(localDate, { type: 'date', skeleton: 'full' });

if (args.isDisabled) {
if (this.value && +this.resetTime(this.value) === +args.date) {
if (this.value && +this.value === +args.date) {
this.setProperties({ value: null }, true);

@@ -532,4 +534,6 @@ }

}
if (this.resetTime(date).valueOf() === this.resetTime(new Date()).valueOf()) {
ej2_base_4.addClass([tdEle], 'e-today');
if (date.getMonth() === new Date().getMonth() && date.getDate() === new Date().getDate()) {
if (date.getFullYear() === new Date().getFullYear()) {
ej2_base_4.addClass([tdEle], TODAY);
}
}

@@ -567,3 +571,3 @@ tdEle.appendChild(this.renderDaycellArg.element);

var select = (this.value && (this.value).getFullYear() === yr && localMonth);
dayLink.textContent = this.globalize.formatDate(localDate, { type: 'date', skeleton: 'MMM' });
dayLink.textContent = this.globalize.formatDate(localDate, { type: 'dateTime', skeleton: 'MMM' });
if ((this.min && (curYrs < minYr || (month < minMonth && curYrs === minYr))) || (this.max && (curYrs > maxYr || (month > maxMonth && curYrs >= maxYr)))) {

@@ -601,4 +605,4 @@ ej2_base_4.addClass([tdEle], DISABLED);

var endYr = new Date('' + (localYr - localYr % 10 + (10 - 1)));
var startHdrYr = this.globalize.formatDate(startYr, { type: 'date', skeleton: 'y' });
var endHdrYr = this.globalize.formatDate(endYr, { type: 'date', skeleton: 'y' });
var startHdrYr = this.globalize.formatDate(startYr, { type: 'dateTime', skeleton: 'y' });
var endHdrYr = this.globalize.formatDate(endYr, { type: 'dateTime', skeleton: 'y' });
this.headerTitleElement.textContent = startHdrYr + ' - ' + (endHdrYr);

@@ -613,3 +617,3 @@ var start = new Date(localYr - (localYr % 10) - 1, 0, 1);

var dayLink = ej2_base_4.createElement('span');
dayLink.textContent = this.globalize.formatDate(localDate, { type: 'date', skeleton: 'y' });
dayLink.textContent = this.globalize.formatDate(localDate, { type: 'dateTime', skeleton: 'y' });
if (year < new Date('' + this.min).getFullYear() || year > new Date('' + this.max).getFullYear()) {

@@ -635,4 +639,5 @@ ej2_base_4.addClass([tdEle], DISABLED);

Calendar.prototype.dayCell = function (localDate) {
var date = this.globalize.parseDate(this.globalize.formatDate(localDate, { skeleton: 'full' }), { skeleton: 'full' });
var value = this.resetTime(date).valueOf();
var dateFormatOptions = { skeleton: 'full', type: 'dateTime' };
var date = this.globalize.parseDate(this.globalize.formatDate(localDate, dateFormatOptions), dateFormatOptions);
var value = date.valueOf();
var attrs = {

@@ -854,6 +859,6 @@ className: CELL, attrs: { 'id': '' + ej2_base_5.getUniqueID('' + value), 'aria-selected': 'false', 'role': 'gridcell' }

case 'days':
this.headerTitleElement.textContent = globalize.formatDate(date, { type: 'date', skeleton: 'yMMMM' });
this.headerTitleElement.textContent = globalize.formatDate(date, { type: 'dateTime', skeleton: 'yMMMM' });
break;
case 'months':
this.headerTitleElement.textContent = globalize.formatDate(date, { type: 'date', skeleton: 'y' });
this.headerTitleElement.textContent = globalize.formatDate(date, { type: 'dateTime', skeleton: 'y' });
}

@@ -1033,4 +1038,6 @@ };

}
var dateString = this.globalize.formatDate(new Date(parseInt('' + eve.getAttribute('id'), 0)), { skeleton: 'full' });
return this.resetTime(this.globalize.parseDate(dateString, { skeleton: 'full', type: 'date' }));
var dateFormatOptions = { type: 'dateTime', skeleton: 'full' };
var dateString = this.globalize.formatDate(new Date(parseInt('' + eve.getAttribute('id'), 0)), dateFormatOptions);
var date = this.globalize.parseDate(dateString, dateFormatOptions);
return this.globalize.parseDate(dateString, dateFormatOptions);
};

@@ -1100,3 +1107,3 @@ Calendar.prototype.selectDate = function (e, date, element) {

if (!ej2_base_5.isNullOrUndefined(this.value)) {
this.setProperties({ value: this.resetTime(this.value) }, true);
this.setProperties({ value: this.value }, true);
}

@@ -1152,6 +1159,2 @@ if (+this.value !== Number.NaN && +this.value !== +this.previousDate) {

};
Calendar.prototype.resetTime = function (date) {
date.setHours(0, 0, 0, 0);
return date;
};
Calendar.prototype.addDay = function (date, i) {

@@ -1158,0 +1161,0 @@ date.setDate(date.getDate() + i);

@@ -115,3 +115,3 @@ import{DatePicker} from "./datepicker";

/**
* Gets or sets the selected date of the Calendar
* Gets or sets the selected date of the Calendar.
*/

@@ -118,0 +118,0 @@ value(value:Date): BuilderProperties;

@@ -124,3 +124,3 @@ var __extends = (this && this.__extends) || (function () {

if (+new Date('' + this.value)) {
var dateOptions = { format: this.format, type: 'date', skeleton: 'yMd' };
var dateOptions = { format: this.format, type: 'dateTime', skeleton: 'yMd' };
var dateString = this.globalize.formatDate(this.value, dateOptions);

@@ -133,4 +133,4 @@ this.setProperties({ value: this.globalize.parseDate(dateString, dateOptions) }, true);

if (!ej2_base_4.isNullOrUndefined(this.value)) {
var dateValue = this.resetTime(this.value);
var dateString = this.globalize.formatDate(this.value, { format: this.format, type: 'date', skeleton: 'yMd' });
var dateValue = this.value;
var dateString = this.globalize.formatDate(this.value, { format: this.format, type: 'dateTime', skeleton: 'yMd' });
if ((+dateValue <= +this.max) && (+dateValue >= +this.min)) {

@@ -140,3 +140,3 @@ ej2_inputs_1.Input.setValue(dateString, this.inputEle, this.floatLabelType, false);

else {
var value = (+dateValue >= +this.max || !+this.value) || (+dateValue <= +this.min || !+this.value);
var value = (+dateValue >= +this.max || !+this.value) || (!+this.value || +dateValue <= +this.min);
if (!this.strictMode && value) {

@@ -302,3 +302,3 @@ ej2_inputs_1.Input.setValue(dateString, this.inputEle, this.floatLabelType, false);

DatePicker.prototype.strictModeUpdate = function () {
var dateOptions = { format: this.format, type: 'date', skeleton: 'yMd' };
var dateOptions = { format: this.format, type: 'dateTime', skeleton: 'yMd' };
var date = this.globalize.parseDate(this.inputEle.value, dateOptions);

@@ -384,5 +384,5 @@ if (this.strictMode && date) {

var monthSpan = ej2_base_3.createElement('span', { className: 'e-model-month' });
yearHeading.textContent = '' + this.globalize.formatDate(this.value || new Date(), { format: 'y', skeleton: 'date' });
daySpan.textContent = '' + this.globalize.formatDate(this.value || new Date(), { format: 'E', skeleton: 'date' }) + ', ';
monthSpan.textContent = '' + this.globalize.formatDate(this.value || new Date(), { format: 'MMM d', skeleton: 'date' });
yearHeading.textContent = '' + this.globalize.formatDate(this.value || new Date(), { format: 'y', skeleton: 'dateTime' });
daySpan.textContent = '' + this.globalize.formatDate(this.value || new Date(), { format: 'E', skeleton: 'dateTime' }) + ', ';
monthSpan.textContent = '' + this.globalize.formatDate(this.value || new Date(), { format: 'MMM d', skeleton: 'dateTime' });
modelHeader.appendChild(yearHeading);

@@ -415,3 +415,3 @@ h2.appendChild(daySpan);

if (this.value) {
date = this.globalize.formatDate(this.changedArgs.value, { format: this.format, type: 'date', skeleton: 'yMd' });
date = this.globalize.formatDate(this.changedArgs.value, { format: this.format, type: 'dateTime', skeleton: 'yMd' });
}

@@ -634,3 +634,3 @@ ej2_inputs_1.Input.setValue(date, this.inputEle, this.floatLabelType, false);

this.previousDate = previousValCopy;
var date = valueCopy && +this.resetTime(valueCopy);
var date = valueCopy && +(valueCopy);
var dateIdString = '*[id^="/id"]'.replace('/id', '' + date);

@@ -645,3 +645,3 @@ if (!this.strictMode) {

}
var inputVal = this.globalize.formatDate(valueCopy, { format: this.format, type: 'date', skeleton: 'yMd' });
var inputVal = this.globalize.formatDate(valueCopy, { format: this.format, type: 'dateTime', skeleton: 'yMd' });
ej2_inputs_1.Input.setValue(inputVal, this.inputEle, this.floatLabelType, false);

@@ -648,0 +648,0 @@ };

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc