@syncfusion/ej2-calendars 27.1.55 → 27.2.2

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 : 27.1.55
3
+ * version : 27.2.2
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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@27.1.52",
3
+ "_id": "@syncfusion/ej2-calendars@27.1.57",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-iQ86qDROqYqFxZUaO3x3+MlOUlu0MAuCcBYix+qICneAqcNVi4tCK/sW4l11uTTZ+keaeV+hv1OUWipuD30Zkg==",
5
+ "_integrity": "sha512-8vFRfoBXZsa2NjtNOsWT4WHzNu0ThMpZlN4+kRZaAc1jbp48M0IDgqzOAxWf4m81RnuRBYvdimK2Onc26/XYHQ==",
6
6
  "_location": "/@syncfusion/ej2-calendars",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -31,8 +31,8 @@
31
31
  "/@syncfusion/ej2-schedule",
32
32
  "/@syncfusion/ej2-vue-calendars"
33
33
  ],
34
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-27.1.52.tgz",
35
- "_shasum": "025c3258a584a7fe99ed416d9ac8708561631f53",
34
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-27.1.57.tgz",
35
+ "_shasum": "5c87a764f2083e5b5659971ff0ac9cf445da41b1",
36
36
  "_spec": "@syncfusion/ej2-calendars@*",
37
37
  "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
38
38
  "author": {
@@ -43,11 +43,11 @@
43
43
  },
44
44
  "bundleDependencies": false,
45
45
  "dependencies": {
46
- "@syncfusion/ej2-base": "~27.1.55",
47
- "@syncfusion/ej2-buttons": "~27.1.53",
48
- "@syncfusion/ej2-inputs": "~27.1.55",
49
- "@syncfusion/ej2-lists": "~27.1.50",
50
- "@syncfusion/ej2-popups": "~27.1.55"
46
+ "@syncfusion/ej2-base": "~27.2.2",
47
+ "@syncfusion/ej2-buttons": "~27.2.2",
48
+ "@syncfusion/ej2-inputs": "~27.2.2",
49
+ "@syncfusion/ej2-lists": "~27.2.2",
50
+ "@syncfusion/ej2-popups": "~27.2.2"
51
51
  },
52
52
  "deprecated": false,
53
53
  "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.",
@@ -80,6 +80,6 @@
80
80
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
81
81
  },
82
82
  "typings": "index.d.ts",
83
- "version": "27.1.55",
83
+ "version": "27.2.2",
84
84
  "sideEffects": false
85
85
  }
@@ -2040,6 +2040,12 @@ var DatePicker = /** @class */ (function (_super) {
2040
2040
  if (this.calendarElement && this.isCalendar()) {
2041
2041
  _super.prototype.onPropertyChanged.call(this, newProp, oldProp);
2042
2042
  }
2043
+ if (prop === 'min' && isNullOrUndefined(this.min)) {
2044
+ this.min = new Date(1900, 0, 1);
2045
+ }
2046
+ if (prop === 'max' && isNullOrUndefined(this.max)) {
2047
+ this.max = new Date(2099, 11, 31);
2048
+ }
2043
2049
  break;
2044
2050
  }
2045
2051
  if (!this.isDynamicValueChanged) {
@@ -2928,10 +2928,26 @@ var DateRangePicker = /** @class */ (function (_super) {
2928
2928
  }
2929
2929
  };
2930
2930
  DateRangePicker.prototype.renderCustomPopup = function () {
2931
+ var _this = this;
2931
2932
  this.isCustomWindow = true;
2932
2933
  this.popupObj.hide();
2933
2934
  this.popupWrapper = this.createElement('div', { id: this.element.id + '_popup', className: ROOT + ' ' + POPUP });
2934
2935
  this.renderControl();
2936
+ this.openEventArgs = {
2937
+ popup: this.popupObj || null,
2938
+ cancel: false,
2939
+ date: this.inputElement.value,
2940
+ model: this,
2941
+ event: event ? event : null,
2942
+ appendTo: this.isMobile || Browser.isDevice ? this.mobileRangePopupWrap : document.body
2943
+ };
2944
+ var eventArgs = this.openEventArgs;
2945
+ this.trigger('open', eventArgs, function (eventArgs) {
2946
+ _this.openEventArgs = eventArgs;
2947
+ if (_this.openEventArgs.cancel) {
2948
+ return;
2949
+ }
2950
+ });
2935
2951
  this.openEventArgs.appendTo.appendChild(this.popupWrapper);
2936
2952
  this.showPopup();
2937
2953
  this.isCustomRange = true;