@syncfusion/ej2-schedule 28.2.6 → 28.2.7

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.7
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.6",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-+rZaSnvg9nwZja+Oq7M7UDSOW7m07NIIC+GuomhsxYqKJUQnCAnkcIO7rYA1efgEzoSq3aJWF0eLV87XbNZ86g==",
5
+ "_integrity": "sha512-wlfqPMf7s+ucbKqMjeJ8sSHY4LUAusnQ2tyH/q1KdZ365VPGxt+SsNx/joGzK9iP1nfetWZCiThny4zkRkfSXw==",
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.6.tgz",
27
+ "_shasum": "ba839c0d282ba472a51f182fdef48536f21aeeec",
28
28
  "_spec": "@syncfusion/ej2-schedule@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
30
30
  "author": {
@@ -36,10 +36,10 @@
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
38
  "@syncfusion/ej2-base": "~28.2.5",
39
- "@syncfusion/ej2-buttons": "~28.2.6",
40
- "@syncfusion/ej2-calendars": "~28.2.3",
39
+ "@syncfusion/ej2-buttons": "~28.2.7",
40
+ "@syncfusion/ej2-calendars": "~28.2.7",
41
41
  "@syncfusion/ej2-data": "~28.2.3",
42
- "@syncfusion/ej2-dropdowns": "~28.2.6",
42
+ "@syncfusion/ej2-dropdowns": "~28.2.7",
43
43
  "@syncfusion/ej2-excel-export": "~28.2.3",
44
44
  "@syncfusion/ej2-inputs": "~28.2.3",
45
45
  "@syncfusion/ej2-lists": "~28.2.3",
@@ -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.7",
77
77
  "sideEffects": false
78
78
  }
@@ -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);