@syncfusion/ej2-calendars 20.3.50 → 20.3.59
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 +2 -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 +16 -1
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +16 -1
- 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 +11 -11
- package/src/calendar/calendar.js +3 -0
- package/src/datepicker/datepicker.js +4 -1
- package/src/daterangepicker/daterangepicker.js +3 -0
- package/src/datetimepicker/datetimepicker.js +3 -0
- package/src/timepicker/timepicker.js +3 -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.59
|
|
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@20.3.
|
|
3
|
+
"_id": "@syncfusion/ej2-calendars@20.3.56",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-Ruq5H/efzwn90dzWPXHtOMLKw0C0r9X4c56Wo/xC7kdvSez6OhDMH9ibbkzKzKu9RI42sZzk4I1qgdtKFPfBjA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-calendars",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"/@syncfusion/ej2-schedule",
|
|
33
33
|
"/@syncfusion/ej2-vue-calendars"
|
|
34
34
|
],
|
|
35
|
-
"_resolved": "
|
|
36
|
-
"_shasum": "
|
|
35
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-20.3.56.tgz",
|
|
36
|
+
"_shasum": "81a48cf30eb42c22559d20b194d6baef18effc12",
|
|
37
37
|
"_spec": "@syncfusion/ej2-calendars@*",
|
|
38
|
-
"_where": "/jenkins/workspace/automation_release_19.1.0.1
|
|
38
|
+
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
|
39
39
|
"author": {
|
|
40
40
|
"name": "Syncfusion Inc."
|
|
41
41
|
},
|
|
@@ -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.56",
|
|
48
|
+
"@syncfusion/ej2-buttons": "~20.3.58",
|
|
49
|
+
"@syncfusion/ej2-inputs": "~20.3.57",
|
|
50
|
+
"@syncfusion/ej2-lists": "~20.3.56",
|
|
51
|
+
"@syncfusion/ej2-popups": "~20.3.59"
|
|
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.59",
|
|
85
85
|
"sideEffects": false
|
|
86
86
|
}
|
package/src/calendar/calendar.js
CHANGED
|
@@ -137,6 +137,9 @@ var CalendarBase = /** @class */ (function (_super) {
|
|
|
137
137
|
'data-role': 'calendar'
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
|
+
if (!isNullOrUndefined(closest(this.element, "fieldset")) && closest(this.element, "fieldset").disabled) {
|
|
141
|
+
this.enabled = false;
|
|
142
|
+
}
|
|
140
143
|
this.createHeader();
|
|
141
144
|
this.createContent();
|
|
142
145
|
this.wireEvents();
|
|
@@ -102,6 +102,9 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
102
102
|
if (!isNullOrUndefined(this.inputWrapper.buttons[0]) && !isNullOrUndefined(this.inputWrapper.container.getElementsByClassName('e-float-text-overflow')[0]) && this.floatLabelType !== 'Never') {
|
|
103
103
|
this.inputWrapper.container.getElementsByClassName('e-float-text-overflow')[0].classList.add('e-icon');
|
|
104
104
|
}
|
|
105
|
+
if (!isNullOrUndefined(closest(this.element, "fieldset")) && closest(this.element, "fieldset").disabled) {
|
|
106
|
+
this.enabled = false;
|
|
107
|
+
}
|
|
105
108
|
this.renderComplete();
|
|
106
109
|
this.setTimeZone(this.serverTimezoneOffset);
|
|
107
110
|
};
|
|
@@ -896,7 +899,7 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
896
899
|
}
|
|
897
900
|
if ((this.getModuleName() === 'datetimepicker')) {
|
|
898
901
|
if (this.checkDateValue(this.globalize.parseDate(this.inputElement.value, dateOptions))) {
|
|
899
|
-
date = this.globalize.parseDate(this.inputElement.value, dateOptions);
|
|
902
|
+
date = this.globalize.parseDate(this.inputElement.value.toLocaleUpperCase(), dateOptions);
|
|
900
903
|
}
|
|
901
904
|
else {
|
|
902
905
|
if (this.calendarMode === 'Gregorian') {
|
|
@@ -170,6 +170,9 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
170
170
|
if (!isNullOrUndefined(this.inputWrapper.buttons[0]) && !isNullOrUndefined(this.inputWrapper.container.getElementsByClassName('e-float-text-overflow')[0]) && this.floatLabelType !== 'Never') {
|
|
171
171
|
this.inputWrapper.container.getElementsByClassName('e-float-text-overflow')[0].classList.add('e-icon');
|
|
172
172
|
}
|
|
173
|
+
if (!isNullOrUndefined(closest(this.element, "fieldset")) && closest(this.element, "fieldset").disabled) {
|
|
174
|
+
this.enabled = false;
|
|
175
|
+
}
|
|
173
176
|
this.renderComplete();
|
|
174
177
|
};
|
|
175
178
|
/**
|
|
@@ -190,6 +190,9 @@ var DateTimePicker = /** @class */ (function (_super) {
|
|
|
190
190
|
this.cloneElement = this.element.cloneNode(true);
|
|
191
191
|
this.dateTimeFormat = this.cldrDateTimeFormat();
|
|
192
192
|
this.initValue = this.value;
|
|
193
|
+
if (!isNullOrUndefined(closest(this.element, "fieldset")) && closest(this.element, "fieldset").disabled) {
|
|
194
|
+
this.enabled = false;
|
|
195
|
+
}
|
|
193
196
|
_super.prototype.updateHtmlAttributeToElement.call(this);
|
|
194
197
|
this.checkAttributes(false);
|
|
195
198
|
var localeText = { placeholder: this.placeholder };
|
|
@@ -200,6 +200,9 @@ var TimePicker = /** @class */ (function (_super) {
|
|
|
200
200
|
if (!isNullOrUndefined(this.inputWrapper.buttons[0]) && !isNullOrUndefined(this.inputWrapper.container.getElementsByClassName('e-float-text-overflow')[0]) && this.floatLabelType !== 'Never') {
|
|
201
201
|
this.inputWrapper.container.getElementsByClassName('e-float-text-overflow')[0].classList.add('e-icon');
|
|
202
202
|
}
|
|
203
|
+
if (!isNullOrUndefined(closest(this.element, "fieldset")) && closest(this.element, "fieldset").disabled) {
|
|
204
|
+
this.enabled = false;
|
|
205
|
+
}
|
|
203
206
|
this.renderComplete();
|
|
204
207
|
};
|
|
205
208
|
TimePicker.prototype.setTimeAllowEdit = function () {
|