@syncfusion/ej2-schedule 20.1.50 → 20.1.56
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 +11 -0
- 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 +8 -2
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +8 -2
- 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/package.json +15 -15
- package/src/schedule/base/schedule.js +1 -1
- package/src/schedule/event-renderer/event-base.js +3 -0
- package/src/schedule/event-renderer/month.js +1 -1
- package/src/schedule/event-renderer/vertical-view.js +3 -0
- package/styles/bootstrap-dark.css +83 -968
- package/styles/bootstrap.css +83 -967
- package/styles/bootstrap4.css +83 -990
- package/styles/bootstrap5-dark.css +83 -988
- package/styles/bootstrap5.css +83 -988
- package/styles/fabric-dark.css +83 -968
- package/styles/fabric.css +83 -970
- package/styles/fluent-dark.css +83 -968
- package/styles/fluent.css +83 -968
- package/styles/highcontrast-light.css +83 -967
- package/styles/highcontrast.css +83 -972
- package/styles/material-dark.css +83 -967
- package/styles/material.css +83 -967
- package/styles/recurrence-editor/bootstrap-dark.css +6 -94
- package/styles/recurrence-editor/bootstrap.css +6 -94
- package/styles/recurrence-editor/bootstrap4.css +6 -94
- package/styles/recurrence-editor/bootstrap5-dark.css +6 -94
- package/styles/recurrence-editor/bootstrap5.css +6 -94
- package/styles/recurrence-editor/fabric-dark.css +6 -94
- package/styles/recurrence-editor/fabric.css +6 -94
- package/styles/recurrence-editor/fluent-dark.css +6 -94
- package/styles/recurrence-editor/fluent.css +6 -94
- package/styles/recurrence-editor/highcontrast-light.css +6 -94
- package/styles/recurrence-editor/highcontrast.css +6 -94
- package/styles/recurrence-editor/material-dark.css +6 -94
- package/styles/recurrence-editor/material.css +6 -94
- package/styles/recurrence-editor/tailwind-dark.css +6 -94
- package/styles/recurrence-editor/tailwind.css +6 -94
- package/styles/schedule/bootstrap-dark.css +78 -875
- package/styles/schedule/bootstrap.css +78 -874
- package/styles/schedule/bootstrap4.css +78 -897
- package/styles/schedule/bootstrap5-dark.css +78 -895
- package/styles/schedule/bootstrap5.css +78 -895
- package/styles/schedule/fabric-dark.css +78 -875
- package/styles/schedule/fabric.css +78 -877
- package/styles/schedule/fluent-dark.css +78 -875
- package/styles/schedule/fluent.css +78 -875
- package/styles/schedule/highcontrast-light.css +78 -874
- package/styles/schedule/highcontrast.css +78 -879
- package/styles/schedule/material-dark.css +78 -874
- package/styles/schedule/material.css +78 -874
- package/styles/schedule/tailwind-dark.css +78 -895
- package/styles/schedule/tailwind.css +78 -895
- package/styles/tailwind-dark.css +83 -988
- package/styles/tailwind.css +83 -988
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.1.
|
|
3
|
+
* version : 20.1.56
|
|
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
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-schedule@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-schedule@20.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-schedule@20.1.52",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-qtFM7akIbheekvc1bALoRXscem+S6iYvN7WNF5oJbZEsoEePiXdWtSosjCutVqWUSjZFmZm04+if9DqS5rGI3w==",
|
|
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": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-20.1.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-20.1.52.tgz",
|
|
27
|
+
"_shasum": "3b89c078a1653001bf46f6af13fa7fef95b90fb1",
|
|
28
28
|
"_spec": "@syncfusion/ej2-schedule@*",
|
|
29
29
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~20.1.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~20.1.
|
|
40
|
-
"@syncfusion/ej2-calendars": "~20.1.
|
|
41
|
-
"@syncfusion/ej2-data": "~20.1.
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~20.1.
|
|
43
|
-
"@syncfusion/ej2-excel-export": "~20.1.
|
|
44
|
-
"@syncfusion/ej2-inputs": "~20.1.
|
|
45
|
-
"@syncfusion/ej2-lists": "~20.1.
|
|
46
|
-
"@syncfusion/ej2-navigations": "~20.1.
|
|
47
|
-
"@syncfusion/ej2-popups": "~20.1.
|
|
38
|
+
"@syncfusion/ej2-base": "~20.1.56",
|
|
39
|
+
"@syncfusion/ej2-buttons": "~20.1.55",
|
|
40
|
+
"@syncfusion/ej2-calendars": "~20.1.56",
|
|
41
|
+
"@syncfusion/ej2-data": "~20.1.55",
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~20.1.56",
|
|
43
|
+
"@syncfusion/ej2-excel-export": "~20.1.55",
|
|
44
|
+
"@syncfusion/ej2-inputs": "~20.1.55",
|
|
45
|
+
"@syncfusion/ej2-lists": "~20.1.55",
|
|
46
|
+
"@syncfusion/ej2-navigations": "~20.1.56",
|
|
47
|
+
"@syncfusion/ej2-popups": "~20.1.55"
|
|
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.",
|
|
@@ -81,6 +81,6 @@
|
|
|
81
81
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
82
82
|
},
|
|
83
83
|
"typings": "index.d.ts",
|
|
84
|
-
"version": "20.1.
|
|
84
|
+
"version": "20.1.56",
|
|
85
85
|
"sideEffects": false
|
|
86
86
|
}
|
|
@@ -517,7 +517,7 @@ var Schedule = /** @class */ (function (_super) {
|
|
|
517
517
|
};
|
|
518
518
|
_this.trigger(events.navigating, navArgs, function (navigationArgs) {
|
|
519
519
|
if (!navigationArgs.cancel) {
|
|
520
|
-
_this.uiStateValues.isInitial =
|
|
520
|
+
_this.uiStateValues.isInitial = view.indexOf('Timeline') > -1 || _this.currentView.indexOf('Timeline') > -1 ? true : _this.uiStateValues.isInitial;
|
|
521
521
|
_this.viewIndex = navigationArgs.viewIndex;
|
|
522
522
|
_this.setProperties({ currentView: view }, true);
|
|
523
523
|
if (_this.headerModule) {
|
|
@@ -538,6 +538,9 @@ var EventBase = /** @class */ (function () {
|
|
|
538
538
|
this.parent.removeSelectedClass();
|
|
539
539
|
}
|
|
540
540
|
addClass(cells, cls.APPOINTMENT_BORDER);
|
|
541
|
+
if (cells.length > 0) {
|
|
542
|
+
cells[cells.length - 1].focus();
|
|
543
|
+
}
|
|
541
544
|
};
|
|
542
545
|
EventBase.prototype.getSelectedAppointments = function () {
|
|
543
546
|
return [].slice.call(this.parent.element.querySelectorAll('.' + cls.APPOINTMENT_BORDER + ',.' + cls.APPOINTMENT_CLASS + ':focus'));
|
|
@@ -492,7 +492,7 @@ var MonthEvent = /** @class */ (function (_super) {
|
|
|
492
492
|
var startTime = event[this.fields.startTime];
|
|
493
493
|
var endTime = event[this.fields.endTime];
|
|
494
494
|
var day = this.parent.getIndexOfDate(this.dateRender, util.resetTime(startTime));
|
|
495
|
-
if (day < 0) {
|
|
495
|
+
if ((day < 0) || (startTime.getTime() < this.parent.minDate.getTime()) || (endTime.getTime() > this.parent.maxDate.getTime())) {
|
|
496
496
|
return;
|
|
497
497
|
}
|
|
498
498
|
var overlapCount = this.getIndex(startTime);
|
|
@@ -531,6 +531,9 @@ var VerticalEvent = /** @class */ (function (_super) {
|
|
|
531
531
|
var currentDate = util.resetTime(new Date(this.dateRender[resource][dayIndex].getTime()));
|
|
532
532
|
var schedule = util.getStartEndHours(currentDate, this.startHour, this.endHour);
|
|
533
533
|
var isValidEvent = this.isValidEvent(eventObj, eStart, eEnd, schedule);
|
|
534
|
+
if ((eStart.getTime() < this.parent.minDate.getTime()) || (eEnd.getTime() > this.parent.maxDate.getTime())) {
|
|
535
|
+
return;
|
|
536
|
+
}
|
|
534
537
|
if (eStart <= eEnd && isValidEvent) {
|
|
535
538
|
var appHeight_1 = this.getHeight(eStart, eEnd);
|
|
536
539
|
if (eStart.getTime() > schedule.startHour.getTime()) {
|