@syncfusion/ej2-schedule 20.4.50 → 20.4.52
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.
- package/CHANGELOG.md +8 -0
- package/GitLeaksReport.json +1 -0
- package/dist/ej2-schedule.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-schedule.es2015.js +21 -5
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +21 -5
- package/dist/es6/ej2-schedule.es5.js.map +1 -1
- package/dist/global/ej2-schedule.min.js +2 -2
- package/dist/global/ej2-schedule.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/gitleaks-ci/gitleaks +0 -0
- package/gitleaks-ci.tar.gz +0 -0
- package/package.json +12 -12
- package/src/schedule/actions/keyboard.js +19 -4
- package/src/schedule/base/constant.d.ts +2 -0
- package/src/schedule/base/constant.js +2 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.4.
|
|
3
|
+
* version : 20.4.52
|
|
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.
|
|
3
|
+
"_id": "@syncfusion/ej2-schedule@20.4.51",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-Ilw+M0JxbeDcBOjBVxOoNaEZLZQWhwB020ex/SDKcf6KstTEhU3acUAtdKm3X3bwpH9XDDQ+lPkHLL9qJhH0BQ==",
|
|
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.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-20.4.51.tgz",
|
|
27
|
+
"_shasum": "d90f6c39cbb04533b058dbd2af9c38cdb8f7cb5e",
|
|
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.
|
|
38
|
+
"@syncfusion/ej2-base": "~20.4.51",
|
|
39
39
|
"@syncfusion/ej2-buttons": "~20.4.50",
|
|
40
|
-
"@syncfusion/ej2-calendars": "~20.4.
|
|
40
|
+
"@syncfusion/ej2-calendars": "~20.4.52",
|
|
41
41
|
"@syncfusion/ej2-data": "~20.4.48",
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~20.4.
|
|
43
|
-
"@syncfusion/ej2-excel-export": "~20.4.
|
|
44
|
-
"@syncfusion/ej2-inputs": "~20.4.
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~20.4.52",
|
|
43
|
+
"@syncfusion/ej2-excel-export": "~20.4.51",
|
|
44
|
+
"@syncfusion/ej2-inputs": "~20.4.52",
|
|
45
45
|
"@syncfusion/ej2-lists": "~20.4.50",
|
|
46
|
-
"@syncfusion/ej2-navigations": "~20.4.
|
|
47
|
-
"@syncfusion/ej2-popups": "~20.4.
|
|
46
|
+
"@syncfusion/ej2-navigations": "~20.4.52",
|
|
47
|
+
"@syncfusion/ej2-popups": "~20.4.52"
|
|
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.
|
|
76
|
+
"version": "20.4.52",
|
|
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:
|
|
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
|
-
|
|
446
|
-
|
|
447
|
-
|
|
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
|
*/
|