@syncfusion/ej2-schedule 23.1.36 → 23.1.38

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,7 +1,7 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 23.1.36
4
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
3
+ * version : 23.1.38
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
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-schedule@*",
3
- "_id": "@syncfusion/ej2-schedule@22.5.7",
3
+ "_id": "@syncfusion/ej2-schedule@23.1.36",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-OkyacVmb2OC8LhOoRaL2gksKeFKVUc/KR1DbSjBkJmpZ05BDdYH5Oxcm8V2z7E5GV2fzVwfHDUjbHO60A8CMlQ==",
5
+ "_integrity": "sha512-Pfkfu/cQtbv+It1is53gMN9+kp9toHnCEqX2isgC+PbGk4a18dpr3x+bp4Nng9Bl6b92QLML0JWh7jBLKKMR3Q==",
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.syncfusion.com/repository/ej2-release/@syncfusion/ej2-schedule/-/ej2-schedule-22.5.7.tgz",
27
- "_shasum": "67afb25d998973aec9b52b4ed0948d850175c558",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-23.1.36.tgz",
27
+ "_shasum": "d7fbd363b2094ca6e05e1e01c213f84d24d2dee5",
28
28
  "_spec": "@syncfusion/ej2-schedule@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
30
30
  "author": {
@@ -35,16 +35,16 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~23.1.36",
38
+ "@syncfusion/ej2-base": "~23.1.38",
39
39
  "@syncfusion/ej2-buttons": "~23.1.36",
40
- "@syncfusion/ej2-calendars": "~23.1.36",
40
+ "@syncfusion/ej2-calendars": "~23.1.38",
41
41
  "@syncfusion/ej2-data": "~23.1.36",
42
- "@syncfusion/ej2-dropdowns": "~23.1.36",
42
+ "@syncfusion/ej2-dropdowns": "~23.1.38",
43
43
  "@syncfusion/ej2-excel-export": "~23.1.36",
44
- "@syncfusion/ej2-inputs": "~23.1.36",
44
+ "@syncfusion/ej2-inputs": "~23.1.38",
45
45
  "@syncfusion/ej2-lists": "~23.1.36",
46
46
  "@syncfusion/ej2-navigations": "~23.1.36",
47
- "@syncfusion/ej2-popups": "~23.1.36"
47
+ "@syncfusion/ej2-popups": "~23.1.38"
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": "23.1.36",
76
+ "version": "23.1.38",
77
77
  "sideEffects": false
78
78
  }
@@ -24,6 +24,8 @@ export declare const renderCell: string;
24
24
  /** @private */
25
25
  export declare const eventClick: string;
26
26
  /** @private */
27
+ export declare const eventDoubleClick: string;
28
+ /** @private */
27
29
  export declare const eventRendered: string;
28
30
  /** @private */
29
31
  export declare const dataBinding: string;
@@ -24,6 +24,8 @@ export var renderCell = 'renderCell';
24
24
  /** @private */
25
25
  export var eventClick = 'eventClick';
26
26
  /** @private */
27
+ export var eventDoubleClick = 'eventDoubleClick';
28
+ /** @private */
27
29
  export var eventRendered = 'eventRendered';
28
30
  /** @private */
29
31
  export var dataBinding = 'dataBinding';
@@ -744,6 +744,13 @@ export interface ScheduleModel extends ComponentModel{
744
744
  */
745
745
  eventClick?: EmitType<EventClickArgs>;
746
746
 
747
+ /**
748
+ * Triggers when the events are double clicked or on double tapping the events on the desktop devices.
749
+ *
750
+ * @event 'eventDoubleClick'
751
+ */
752
+ eventDoubleClick?: EmitType<EventClickArgs>;
753
+
747
754
  /**
748
755
  * Triggers before each of the event getting rendered on the scheduler user interface.
749
756
  *
@@ -801,6 +801,12 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
801
801
  * @event 'eventClick'
802
802
  */
803
803
  eventClick: EmitType<EventClickArgs>;
804
+ /**
805
+ * Triggers when the events are double clicked or on double tapping the events on the desktop devices.
806
+ *
807
+ * @event 'eventDoubleClick'
808
+ */
809
+ eventDoubleClick: EmitType<EventClickArgs>;
804
810
  /**
805
811
  * Triggers before each of the event getting rendered on the scheduler user interface.
806
812
  *
@@ -2984,6 +2984,9 @@ var Schedule = /** @class */ (function (_super) {
2984
2984
  __decorate([
2985
2985
  Event()
2986
2986
  ], Schedule.prototype, "eventClick", void 0);
2987
+ __decorate([
2988
+ Event()
2989
+ ], Schedule.prototype, "eventDoubleClick", void 0);
2987
2990
  __decorate([
2988
2991
  Event()
2989
2992
  ], Schedule.prototype, "eventRendered", void 0);
@@ -797,12 +797,13 @@ var EventBase = /** @class */ (function () {
797
797
  });
798
798
  }
799
799
  };
800
- EventBase.prototype.eventDoubleClick = function (e) {
800
+ EventBase.prototype.eventDoubleClick = function (eventData) {
801
+ var _this = this;
801
802
  if (this.parent.quickPopup) {
802
803
  this.parent.quickPopup.quickPopupHide(true);
803
804
  }
804
- if (e.type === 'touchstart') {
805
- this.activeEventData(e, true);
805
+ if (eventData.type === 'touchstart') {
806
+ this.activeEventData(eventData, true);
806
807
  }
807
808
  this.removeSelectedAppointmentClass();
808
809
  this.parent.selectedElements = [];
@@ -810,14 +811,19 @@ var EventBase = /** @class */ (function () {
810
811
  this.parent.activeEventData.element.querySelector('.' + cls.INLINE_SUBJECT_CLASS)) {
811
812
  return;
812
813
  }
813
- if (!isNullOrUndefined(this.parent.activeEventData.event) &&
814
- isNullOrUndefined(this.parent.activeEventData.event[this.parent.eventFields.recurrenceID])) {
815
- this.parent.eventWindow.openEditor(this.parent.activeEventData.event, 'Save');
816
- }
817
- else {
818
- this.parent.currentAction = 'EditOccurrence';
819
- this.parent.quickPopup.openRecurrenceAlert();
820
- }
814
+ var args = extend(this.parent.activeEventData, { cancel: false, originalEvent: eventData });
815
+ this.parent.trigger(event.eventDoubleClick, args, function (eventDoubleClickArgs) {
816
+ if (!eventDoubleClickArgs.cancel) {
817
+ if (!isNullOrUndefined(_this.parent.activeEventData.event) &&
818
+ isNullOrUndefined(_this.parent.activeEventData.event[_this.parent.eventFields.recurrenceID])) {
819
+ _this.parent.eventWindow.openEditor(_this.parent.activeEventData.event, 'Save');
820
+ }
821
+ else {
822
+ _this.parent.currentAction = 'EditOccurrence';
823
+ _this.parent.quickPopup.openRecurrenceAlert();
824
+ }
825
+ }
826
+ });
821
827
  };
822
828
  EventBase.prototype.getEventByGuid = function (guid) {
823
829
  return this.parent.eventsProcessed.filter(function (data) { return data.Guid === guid; })[0];