@syncfusion/ej2-schedule 20.4.50 → 20.4.51

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 : 20.4.50
3
+ * version : 20.4.51
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. 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
Binary file
Binary file
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-schedule@*",
3
- "_id": "@syncfusion/ej2-schedule@20.4.49",
3
+ "_id": "@syncfusion/ej2-schedule@20.4.50",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-Nu8YXi+Di/9E0KirN+psTMmAFQipk6sjwGn2y6jT3AiZr7NKOxCc4krK7f6cdkYW4z7Z7qDhkKEOzsU+GFbQwQ==",
5
+ "_integrity": "sha512-droOZrUfb3qr0mOHK5M9x8KbAlx91JZHCLDZDZeVnqqY5KZ0hxn20IigGCDPrKQHiEEqmrUKfM4PdhQHKZkIWw==",
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-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-20.4.49.tgz",
27
- "_shasum": "e1f74d7d23088c7289c279b9e73137615635f614",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-20.4.50.tgz",
27
+ "_shasum": "ef5d5115dcdd115ee156cf9db70c2519166216ec",
28
28
  "_spec": "@syncfusion/ej2-schedule@*",
29
29
  "_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
30
30
  "author": {
@@ -35,16 +35,16 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~20.4.48",
38
+ "@syncfusion/ej2-base": "~20.4.51",
39
39
  "@syncfusion/ej2-buttons": "~20.4.50",
40
- "@syncfusion/ej2-calendars": "~20.4.48",
40
+ "@syncfusion/ej2-calendars": "~20.4.51",
41
41
  "@syncfusion/ej2-data": "~20.4.48",
42
- "@syncfusion/ej2-dropdowns": "~20.4.50",
43
- "@syncfusion/ej2-excel-export": "~20.4.48",
44
- "@syncfusion/ej2-inputs": "~20.4.48",
42
+ "@syncfusion/ej2-dropdowns": "~20.4.51",
43
+ "@syncfusion/ej2-excel-export": "~20.4.51",
44
+ "@syncfusion/ej2-inputs": "~20.4.51",
45
45
  "@syncfusion/ej2-lists": "~20.4.50",
46
- "@syncfusion/ej2-navigations": "~20.4.49",
47
- "@syncfusion/ej2-popups": "~20.4.49"
46
+ "@syncfusion/ej2-navigations": "~20.4.51",
47
+ "@syncfusion/ej2-popups": "~20.4.51"
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": "20.4.50",
76
+ "version": "20.4.51",
77
77
  "sideEffects": false
78
78
  }
@@ -4,6 +4,7 @@ import { isNullOrUndefined, addClass, removeClass } from '@syncfusion/ej2-base';
4
4
  import * as event from '../base/constant';
5
5
  import * as util from '../base/util';
6
6
  import * as cls from '../base/css-constant';
7
+ import { cellSelect } from '../base/constant';
7
8
  /**
8
9
  * Keyboard interaction
9
10
  */
@@ -221,7 +222,7 @@ var KeyboardInteraction = /** @class */ (function () {
221
222
  var selectedCells = this.parent.getSelectedElements();
222
223
  var args = {
223
224
  data: cellData, element: this.parent.activeCellsData.element, event: e,
224
- requestType: 'cellSelect', showQuickPopup: false
225
+ requestType: cellSelect, showQuickPopup: false
225
226
  };
226
227
  this.parent.trigger(event.select, args, function (selectArgs) {
227
228
  var isPopupShow = selectArgs.showQuickPopup || _this.parent.quickInfoOnSelectionEnd;
@@ -442,9 +443,23 @@ var KeyboardInteraction = /** @class */ (function () {
442
443
  });
443
444
  }
444
445
  else {
445
- this.initialTarget = target;
446
- this.selectedCells = [target];
447
- this.parent.addSelectedClass([target], target);
446
+ var args = {
447
+ element: target, requestType: cellSelect
448
+ };
449
+ var cellData = {};
450
+ var cellDetails = this.parent.getCellDetails(target);
451
+ if (this.parent.eventWindow && cellDetails) {
452
+ if (this.parent.activeCellsData.element !== cellDetails.element) {
453
+ this.parent.activeCellsData = cellDetails;
454
+ }
455
+ this.parent.eventWindow.convertToEventData(this.parent.activeCellsData, cellData);
456
+ args.data = cellData;
457
+ }
458
+ this.parent.trigger(event.select, args, function () {
459
+ _this.initialTarget = target;
460
+ _this.selectedCells = [target];
461
+ _this.parent.addSelectedClass([target], target);
462
+ });
448
463
  }
449
464
  };
450
465
  KeyboardInteraction.prototype.selectAppointment = function (isReverse, target) {
@@ -47,6 +47,8 @@ export declare const resizing: string;
47
47
  export declare const resizeStop: string;
48
48
  /** @private */
49
49
  export declare const inlineClick: string;
50
+ /** @private */
51
+ export declare const cellSelect: string;
50
52
  /**
51
53
  * Specifies schedule internal events
52
54
  */
@@ -47,6 +47,8 @@ export var resizing = 'resizing';
47
47
  export var resizeStop = 'resizeStop';
48
48
  /** @private */
49
49
  export var inlineClick = 'inlineClick';
50
+ /** @private */
51
+ export var cellSelect = 'cellSelect';
50
52
  /**
51
53
  * Specifies schedule internal events
52
54
  */