@syncfusion/ej2-schedule 28.2.6 → 28.2.11

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 : 28.2.6
3
+ * version : 28.2.11
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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-schedule@*",
3
- "_id": "@syncfusion/ej2-schedule@28.2.5",
3
+ "_id": "@syncfusion/ej2-schedule@28.2.7",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-+rZaSnvg9nwZja+Oq7M7UDSOW7m07NIIC+GuomhsxYqKJUQnCAnkcIO7rYA1efgEzoSq3aJWF0eLV87XbNZ86g==",
5
+ "_integrity": "sha512-5WaLkqPm4JWNZyucNRIwytthOhFiA+cLC71p/3i0u2A68hSWt9yU1y9Jq8tUzjL/gu33KMil3rMdLfp7ThMHpA==",
6
6
  "_location": "/@syncfusion/ej2-schedule",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,8 +23,8 @@
23
23
  "/@syncfusion/ej2-react-schedule",
24
24
  "/@syncfusion/ej2-vue-schedule"
25
25
  ],
26
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-28.2.5.tgz",
27
- "_shasum": "d95dc763820088bf4cdbfcf8443acc230ba94549",
26
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-28.2.7.tgz",
27
+ "_shasum": "144639c8bea88f3c609a0f885c12fda193cf0593",
28
28
  "_spec": "@syncfusion/ej2-schedule@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
30
30
  "author": {
@@ -35,16 +35,16 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~28.2.5",
39
- "@syncfusion/ej2-buttons": "~28.2.6",
40
- "@syncfusion/ej2-calendars": "~28.2.3",
41
- "@syncfusion/ej2-data": "~28.2.3",
42
- "@syncfusion/ej2-dropdowns": "~28.2.6",
38
+ "@syncfusion/ej2-base": "~28.2.9",
39
+ "@syncfusion/ej2-buttons": "~28.2.7",
40
+ "@syncfusion/ej2-calendars": "~28.2.11",
41
+ "@syncfusion/ej2-data": "~28.2.11",
42
+ "@syncfusion/ej2-dropdowns": "~28.2.11",
43
43
  "@syncfusion/ej2-excel-export": "~28.2.3",
44
- "@syncfusion/ej2-inputs": "~28.2.3",
44
+ "@syncfusion/ej2-inputs": "~28.2.11",
45
45
  "@syncfusion/ej2-lists": "~28.2.3",
46
- "@syncfusion/ej2-navigations": "~28.2.6",
47
- "@syncfusion/ej2-popups": "~28.2.6"
46
+ "@syncfusion/ej2-navigations": "~28.2.11",
47
+ "@syncfusion/ej2-popups": "~28.2.9"
48
48
  },
49
49
  "deprecated": false,
50
50
  "description": "Flexible scheduling library with more built-in features and enhanced customization options similar to outlook and google calendar, allowing the users to plan and manage their appointments with efficient data-binding support.",
@@ -73,6 +73,6 @@
73
73
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
74
74
  },
75
75
  "typings": "index.d.ts",
76
- "version": "28.2.6",
76
+ "version": "28.2.11",
77
77
  "sideEffects": false
78
78
  }
@@ -1089,10 +1089,10 @@ var RecurrenceEditor = /** @class */ (function (_super) {
1089
1089
  this.repeatType.setProperties({ index: this.selectedType });
1090
1090
  break;
1091
1091
  case 'minDate':
1092
- this.untilDateObj.setProperties({ minDate: this.minDate });
1092
+ this.untilDateObj.setProperties({ min: this.minDate });
1093
1093
  break;
1094
1094
  case 'maxDate':
1095
- this.untilDateObj.setProperties({ maxDate: this.maxDate });
1095
+ this.untilDateObj.setProperties({ max: this.maxDate });
1096
1096
  break;
1097
1097
  case 'value':
1098
1098
  if (this.getRecurrenceRule() !== this.value) {
@@ -204,6 +204,9 @@ var DragAndDrop = /** @class */ (function (_super) {
204
204
  if (!isNullOrUndefined(eventObj)) {
205
205
  this.startTime = eventObj[this.parent.eventFields.startTime].getTime();
206
206
  }
207
+ if (!this.parent.allowMultiDrag) {
208
+ this.parent.eventBase.removeSelectedAppointmentClass();
209
+ }
207
210
  var dragArgs = {
208
211
  cancel: false,
209
212
  data: eventObj,
@@ -57,6 +57,7 @@ var Resize = /** @class */ (function (_super) {
57
57
  !closest(e.target, '.' + cls.APPOINTMENT_BORDER))) {
58
58
  return;
59
59
  }
60
+ this.parent.eventBase.removeSelectedAppointmentClass();
60
61
  this.actionObj.action = 'resize';
61
62
  this.actionObj.slotInterval = this.parent.activeViewOptions.timeScale.interval / this.parent.activeViewOptions.timeScale.slotCount;
62
63
  this.actionObj.interval = this.actionObj.slotInterval;
@@ -17,6 +17,7 @@ export declare class ScheduleTouch {
17
17
  private scrollHandler;
18
18
  private swipeHandler;
19
19
  private tapHoldHandler;
20
+ private triggerResizeStart;
20
21
  private preventEventClick;
21
22
  private renderPanel;
22
23
  private swapPanels;
@@ -124,17 +124,21 @@ var ScheduleTouch = /** @class */ (function () {
124
124
  EventHandler.add(this.element, 'touchend', this.preventEventClick, this);
125
125
  }
126
126
  this.parent.quickPopup.tapHoldEventPopup(e.originalEvent);
127
+ this.triggerResizeStart(e.originalEvent);
127
128
  }
128
129
  else if (['Agenda', 'MonthAgenda', 'Year'].indexOf(this.parent.currentView) < 0) {
129
130
  this.parent.selectedElements = [];
130
131
  this.parent.eventBase.getSelectedEventElements(target);
131
- if (this.parent.resizeModule && closest(e.originalEvent.target, '.' + cls.EVENT_RESIZE_CLASS)) {
132
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
133
- this.parent.resizeModule.resizeStart(e.originalEvent);
134
- }
132
+ this.triggerResizeStart(e.originalEvent);
135
133
  }
136
134
  }
137
135
  };
136
+ ScheduleTouch.prototype.triggerResizeStart = function (e) {
137
+ if (this.parent.resizeModule && closest(e.target, '.' + cls.EVENT_RESIZE_CLASS)) {
138
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
139
+ this.parent.resizeModule.resizeStart(e);
140
+ }
141
+ };
138
142
  ScheduleTouch.prototype.preventEventClick = function (e) {
139
143
  e.preventDefault();
140
144
  EventHandler.remove(this.element, 'touchend', this.preventEventClick);