@syncfusion/ej2-calendars 20.3.49 → 20.3.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.3.49
3
+ * version : 20.3.50
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-calendars@*",
3
- "_id": "@syncfusion/ej2-calendars@18.29.7",
3
+ "_id": "@syncfusion/ej2-calendars@20.3.49",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-8CsuY7OviNOlJtIzWYcR7bRyexVNBvEnfeeM8bWmW6WRoiE3mW/PtSKl9u/Fb2xViQo8PsS9lz4yv9/QtFZ0SA==",
5
+ "_integrity": "sha512-Z2zS5NoplHbrsF2xLIkWSZFji/kj55Lia2JO9eHjsEJXuwp5fusUooFoaKV1eaXf6+tRdWIIFQu/7LSfS1LoFQ==",
6
6
  "_location": "/@syncfusion/ej2-calendars",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -32,8 +32,8 @@
32
32
  "/@syncfusion/ej2-schedule",
33
33
  "/@syncfusion/ej2-vue-calendars"
34
34
  ],
35
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-18.29.7.tgz",
36
- "_shasum": "544a9cf7fa98f3a38f2981b8b80774fa376b91cd",
35
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-20.3.49.tgz",
36
+ "_shasum": "c189cdfb54d06fa7fe893cd22c935b730dbfe20d",
37
37
  "_spec": "@syncfusion/ej2-calendars@*",
38
38
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
39
39
  "author": {
@@ -44,11 +44,11 @@
44
44
  },
45
45
  "bundleDependencies": false,
46
46
  "dependencies": {
47
- "@syncfusion/ej2-base": "~20.3.49",
48
- "@syncfusion/ej2-buttons": "~20.3.49",
49
- "@syncfusion/ej2-inputs": "~20.3.49",
50
- "@syncfusion/ej2-lists": "~20.3.47",
51
- "@syncfusion/ej2-popups": "~20.3.49"
47
+ "@syncfusion/ej2-base": "~20.3.50",
48
+ "@syncfusion/ej2-buttons": "~20.3.50",
49
+ "@syncfusion/ej2-inputs": "~20.3.50",
50
+ "@syncfusion/ej2-lists": "~20.3.50",
51
+ "@syncfusion/ej2-popups": "~20.3.50"
52
52
  },
53
53
  "deprecated": false,
54
54
  "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.",
@@ -81,6 +81,6 @@
81
81
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
82
82
  },
83
83
  "typings": "index.d.ts",
84
- "version": "20.3.49",
84
+ "version": "20.3.50",
85
85
  "sideEffects": false
86
86
  }
@@ -771,7 +771,7 @@ var CalendarBase = /** @class */ (function (_super) {
771
771
  || (this.getDateVal(localDate, value))) {
772
772
  addClass([tdEle], SELECTED);
773
773
  }
774
- if (!isNullOrUndefined(currentTarget) && currentTarget.innerText === tdEle.innerText && this.previousDates && currentTarget.classList.contains(SELECTED)) {
774
+ if (!isNullOrUndefined(currentTarget) && currentTarget.innerText === tdEle.innerText && this.previousDates && tdEle.classList.contains(SELECTED) && currentTarget.classList.contains(SELECTED)) {
775
775
  removeClass([tdEle], SELECTED);
776
776
  this.previousDates = false;
777
777
  var copyValues = this.copyValues(values);
@@ -783,6 +783,7 @@ var CalendarBase = /** @class */ (function (_super) {
783
783
  if (localDateString_1 === tempDateString_1) {
784
784
  var index = copyValues.indexOf(copyValues[i]);
785
785
  copyValues.splice(index, 1);
786
+ values.splice(index, 1);
786
787
  }
787
788
  }
788
789
  this.setProperties({ values: copyValues }, true);
@@ -533,6 +533,12 @@ var DatePicker = /** @class */ (function (_super) {
533
533
  module: "MaskedDateTime"
534
534
  });
535
535
  }
536
+ if (closest(this.element, 'form')) {
537
+ var element = this.element;
538
+ var keyupEvent = document.createEvent('KeyboardEvent');
539
+ keyupEvent.initEvent('keyup', false, true);
540
+ element.dispatchEvent(keyupEvent);
541
+ }
536
542
  };
537
543
  DatePicker.prototype.preventEventBubbling = function (e) {
538
544
  e.preventDefault();
@@ -581,6 +581,12 @@ var DateRangePicker = /** @class */ (function (_super) {
581
581
  this.changeTrigger(e);
582
582
  this.clearRange();
583
583
  this.hide(e);
584
+ if (closest(this.element, 'form')) {
585
+ var element = this.firstHiddenChild;
586
+ var keyupEvent = document.createEvent('KeyboardEvent');
587
+ keyupEvent.initEvent('keyup', false, true);
588
+ element.dispatchEvent(keyupEvent);
589
+ }
584
590
  };
585
591
  DateRangePicker.prototype.restoreValue = function () {
586
592
  this.previousEleValue = this.inputElement.value;
@@ -1372,6 +1372,12 @@ var TimePicker = /** @class */ (function (_super) {
1372
1372
  module: "MaskedDateTime"
1373
1373
  });
1374
1374
  }
1375
+ if (closest(this.element, 'form')) {
1376
+ var element = this.element;
1377
+ var keyupEvent = document.createEvent('KeyboardEvent');
1378
+ keyupEvent.initEvent('keyup', false, true);
1379
+ element.dispatchEvent(keyupEvent);
1380
+ }
1375
1381
  };
1376
1382
  TimePicker.prototype.clear = function (event) {
1377
1383
  this.setProperties({ value: null }, true);