@syncfusion/ej2-calendars 24.2.8 → 24.2.9
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 +8 -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 +6 -5
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +6 -5
- 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 +7 -7
- package/src/datepicker/datepicker.js +2 -1
- package/src/timepicker/timepicker.js +4 -4
|
@@ -4165,7 +4165,8 @@ var DatePicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
4165
4165
|
}
|
|
4166
4166
|
if ((this.getModuleName() === 'datetimepicker')) {
|
|
4167
4167
|
if (this.checkDateValue(this.globalize.parseDate(this.inputElement.value, dateOptions))) {
|
|
4168
|
-
|
|
4168
|
+
var modifiedValue = this.inputElement.value.replace(/(am|pm|Am|aM|pM|Pm)/g, function (match) { return match.toLocaleUpperCase(); });
|
|
4169
|
+
date = this.globalize.parseDate(modifiedValue, dateOptions);
|
|
4169
4170
|
}
|
|
4170
4171
|
else {
|
|
4171
4172
|
if (this.calendarMode === 'Gregorian') {
|
|
@@ -12028,10 +12029,6 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
12028
12029
|
}
|
|
12029
12030
|
}
|
|
12030
12031
|
removeClass([this.inputWrapper.container], [FOCUS]);
|
|
12031
|
-
var blurArguments = {
|
|
12032
|
-
model: this
|
|
12033
|
-
};
|
|
12034
|
-
this.trigger('blur', blurArguments);
|
|
12035
12032
|
if (this.getText() !== this.inputElement.value) {
|
|
12036
12033
|
this.updateValue((this.inputElement).value, e);
|
|
12037
12034
|
}
|
|
@@ -12043,6 +12040,10 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
12043
12040
|
if (this.inputElement.value === '') {
|
|
12044
12041
|
this.invalidValueString = null;
|
|
12045
12042
|
}
|
|
12043
|
+
var blurArguments = {
|
|
12044
|
+
model: this
|
|
12045
|
+
};
|
|
12046
|
+
this.trigger('blur', blurArguments);
|
|
12046
12047
|
};
|
|
12047
12048
|
/**
|
|
12048
12049
|
* Focuses out the TimePicker textbox element.
|