@syncfusion/ej2-calendars 20.3.48 → 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.
- package/CHANGELOG.md +24 -0
- package/dist/ej2-calendars.min.js +2 -2
- package/dist/ej2-calendars.umd.min.js +2 -2
- package/dist/ej2-calendars.umd.min.js.map +1 -1
- package/dist/es6/ej2-calendars.es2015.js +22 -3
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +22 -3
- package/dist/es6/ej2-calendars.es5.js.map +1 -1
- package/dist/global/ej2-calendars.min.js +2 -2
- package/dist/global/ej2-calendars.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +10 -10
- package/src/calendar/calendar.js +2 -1
- package/src/datepicker/datepicker.js +8 -2
- package/src/daterangepicker/daterangepicker.js +6 -0
- package/src/timepicker/timepicker.js +6 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.3.
|
|
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@
|
|
3
|
+
"_id": "@syncfusion/ej2-calendars@20.3.49",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
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-
|
|
36
|
-
"_shasum": "
|
|
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.
|
|
48
|
-
"@syncfusion/ej2-buttons": "~20.3.
|
|
49
|
-
"@syncfusion/ej2-inputs": "~20.3.
|
|
50
|
-
"@syncfusion/ej2-lists": "~20.3.
|
|
51
|
-
"@syncfusion/ej2-popups": "~20.3.
|
|
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.
|
|
84
|
+
"version": "20.3.50",
|
|
85
85
|
"sideEffects": false
|
|
86
86
|
}
|
package/src/calendar/calendar.js
CHANGED
|
@@ -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);
|
|
@@ -165,7 +165,7 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
165
165
|
};
|
|
166
166
|
DatePicker.prototype.createInput = function () {
|
|
167
167
|
var ariaAttrs = {
|
|
168
|
-
'aria-
|
|
168
|
+
'aria-atomic': 'true', 'aria-expanded': 'false',
|
|
169
169
|
'role': 'combobox', 'autocomplete': 'off', 'autocorrect': 'off',
|
|
170
170
|
'autocapitalize': 'off', 'spellcheck': 'false', 'aria-invalid': 'false'
|
|
171
171
|
};
|
|
@@ -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();
|
|
@@ -1370,7 +1376,7 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
1370
1376
|
_super.prototype.destroy.call(this);
|
|
1371
1377
|
}
|
|
1372
1378
|
var ariaAttrs = {
|
|
1373
|
-
'aria-
|
|
1379
|
+
'aria-atomic': 'true', 'aria-disabled': 'true',
|
|
1374
1380
|
'aria-expanded': 'false', 'role': 'combobox', 'autocomplete': 'off',
|
|
1375
1381
|
'autocorrect': 'off', 'autocapitalize': 'off', 'spellcheck': 'false'
|
|
1376
1382
|
};
|
|
@@ -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);
|