@syncfusion/ej2-schedule 26.2.5 → 26.2.10
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/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 +17 -2
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +17 -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/actions/virtual-scroll.d.ts +1 -0
- package/src/schedule/actions/virtual-scroll.js +6 -1
- package/src/schedule/base/schedule.d.ts +1 -0
- package/src/schedule/base/schedule.js +6 -0
- package/src/schedule/event-renderer/vertical-view.js +5 -2
- package/src/schedule/exports/print.js +1 -0
- package/styles/fluent2.css +3 -1031
- package/styles/material3-dark.css +1 -54
- package/styles/material3.css +2 -109
- package/styles/recurrence-editor/fluent2.css +3 -1031
- package/styles/recurrence-editor/material3-dark.css +1 -54
- package/styles/recurrence-editor/material3.css +2 -109
- package/styles/schedule/fluent2.css +3 -1031
- package/styles/schedule/material3-dark.css +1 -54
- package/styles/schedule/material3.css +2 -109
- package/hotfix/26.1.35_Vol2.txt +0 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 26.2.
|
|
3
|
+
* version : 26.2.10
|
|
4
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
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-schedule@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-schedule@26.
|
|
3
|
+
"_id": "@syncfusion/ej2-schedule@26.2.7",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-EC+hJjCqWqPSCu/AZzMefxqNZMVRlcMcTsjLSDC4fvsfZIEu9ASnmzHWOk2I0ErDqXLl68lI9Jpj4RRtoTNs+g==",
|
|
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-26.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-26.2.7.tgz",
|
|
27
|
+
"_shasum": "341e344c55540b547fe61f4874c25b1b84281e83",
|
|
28
28
|
"_spec": "@syncfusion/ej2-schedule@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~26.2.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~26.2.
|
|
40
|
-
"@syncfusion/ej2-calendars": "~26.2.
|
|
41
|
-
"@syncfusion/ej2-data": "~26.2.
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~26.2.
|
|
43
|
-
"@syncfusion/ej2-excel-export": "~26.2.
|
|
44
|
-
"@syncfusion/ej2-inputs": "~26.2.
|
|
45
|
-
"@syncfusion/ej2-lists": "~26.2.
|
|
46
|
-
"@syncfusion/ej2-navigations": "~26.2.
|
|
47
|
-
"@syncfusion/ej2-popups": "~26.2.
|
|
38
|
+
"@syncfusion/ej2-base": "~26.2.10",
|
|
39
|
+
"@syncfusion/ej2-buttons": "~26.2.10",
|
|
40
|
+
"@syncfusion/ej2-calendars": "~26.2.10",
|
|
41
|
+
"@syncfusion/ej2-data": "~26.2.10",
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~26.2.10",
|
|
43
|
+
"@syncfusion/ej2-excel-export": "~26.2.10",
|
|
44
|
+
"@syncfusion/ej2-inputs": "~26.2.10",
|
|
45
|
+
"@syncfusion/ej2-lists": "~26.2.10",
|
|
46
|
+
"@syncfusion/ej2-navigations": "~26.2.10",
|
|
47
|
+
"@syncfusion/ej2-popups": "~26.2.10",
|
|
48
48
|
"@types/requirejs": "^2.1.37"
|
|
49
49
|
},
|
|
50
50
|
"deprecated": false,
|
|
@@ -74,6 +74,6 @@
|
|
|
74
74
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
75
75
|
},
|
|
76
76
|
"typings": "index.d.ts",
|
|
77
|
-
"version": "26.2.
|
|
77
|
+
"version": "26.2.10",
|
|
78
78
|
"sideEffects": false
|
|
79
79
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { append, addClass, remove, isNullOrUndefined, setStyleAttribute, createElement, prepend } from '@syncfusion/ej2-base';
|
|
2
|
+
import { append, addClass, remove, isNullOrUndefined, setStyleAttribute, createElement, prepend, removeClass } from '@syncfusion/ej2-base';
|
|
3
3
|
import * as events from '../base/constant';
|
|
4
4
|
import * as cls from '../base/css-constant';
|
|
5
5
|
import * as util from '../base/util';
|
|
@@ -15,6 +15,7 @@ var VirtualScroll = /** @class */ (function () {
|
|
|
15
15
|
this.averageRowHeight = 0;
|
|
16
16
|
this.startIndex = 0;
|
|
17
17
|
this.existingDataCollection = [];
|
|
18
|
+
this.enableTransition = true;
|
|
18
19
|
this.parent = parent;
|
|
19
20
|
this.addEventListener();
|
|
20
21
|
}
|
|
@@ -104,6 +105,10 @@ var VirtualScroll = /** @class */ (function () {
|
|
|
104
105
|
var resWrap = this.parent.element.querySelector('.' + cls.RESOURCE_COLUMN_WRAP_CLASS);
|
|
105
106
|
var conWrap = this.parent.element.querySelector('.' + cls.CONTENT_WRAP_CLASS);
|
|
106
107
|
var eventWrap = this.parent.element.querySelector('.' + cls.EVENT_TABLE_CLASS);
|
|
108
|
+
if (!this.parent.rowAutoHeight) {
|
|
109
|
+
this.enableTransition = false;
|
|
110
|
+
removeClass([conWrap, resWrap], 'e-transition');
|
|
111
|
+
}
|
|
107
112
|
var firstTDIndex = parseInt(resWrap.querySelector('tbody td').getAttribute('data-group-index'), 10);
|
|
108
113
|
var endIndex = (firstTDIndex + this.renderedLength);
|
|
109
114
|
firstTDIndex = (endIndex > this.parent.resourceBase.expandedResources.length) ?
|
|
@@ -137,6 +137,7 @@ export declare class Schedule extends Component<HTMLElement> implements INotifyP
|
|
|
137
137
|
scrollTop: number;
|
|
138
138
|
scrollLeft: number;
|
|
139
139
|
isPrinting: boolean;
|
|
140
|
+
registeredTemplate: Object;
|
|
140
141
|
adaptiveGroupIndex: number;
|
|
141
142
|
activeEventTemplates: string[];
|
|
142
143
|
/**
|
|
@@ -1280,6 +1280,12 @@ var Schedule = /** @class */ (function (_super) {
|
|
|
1280
1280
|
this.virtualScrollModule.isRemoteRefresh = false;
|
|
1281
1281
|
}
|
|
1282
1282
|
this.refreshEvents(isRemoteRefresh);
|
|
1283
|
+
if (this.virtualScrollModule && !this.virtualScrollModule.enableTransition) {
|
|
1284
|
+
var resWrap = this.element.querySelector('.' + cls.RESOURCE_COLUMN_WRAP_CLASS);
|
|
1285
|
+
var conWrap = this.element.querySelector('.' + cls.CONTENT_WRAP_CLASS);
|
|
1286
|
+
this.virtualScrollModule.enableTransition = true;
|
|
1287
|
+
addClass([conWrap, resWrap], 'e-transition');
|
|
1288
|
+
}
|
|
1283
1289
|
}
|
|
1284
1290
|
else {
|
|
1285
1291
|
this.notify(events.contentReady, {});
|
|
@@ -456,7 +456,10 @@ var VerticalEvent = /** @class */ (function (_super) {
|
|
|
456
456
|
var field = this.parent.eventFields;
|
|
457
457
|
var schedule = util.getStartEndHours(currentDate, this.startHour, this.endHour);
|
|
458
458
|
var event = extend({}, record, null, true);
|
|
459
|
-
event.isSpanned = {
|
|
459
|
+
event.isSpanned = {
|
|
460
|
+
isBottom: false, isTop: false,
|
|
461
|
+
isSameDuration: event[field.startTime].getTime() === event[field.endTime].getTime()
|
|
462
|
+
};
|
|
460
463
|
if (record[field.startTime].getTime() < schedule.startHour.getTime()) {
|
|
461
464
|
event[field.startTime] = schedule.startHour;
|
|
462
465
|
event.isSpanned.isTop = true;
|
|
@@ -574,7 +577,7 @@ var VerticalEvent = /** @class */ (function (_super) {
|
|
|
574
577
|
return;
|
|
575
578
|
}
|
|
576
579
|
if (eStart <= eEnd && isValidEvent && this.isWorkDayAvailable(resource, eStart)) {
|
|
577
|
-
var appHeight = this.getHeight(eStart, eEnd);
|
|
580
|
+
var appHeight = record.isSpanned.isSameDuration ? this.cellHeight : this.getHeight(eStart, eEnd);
|
|
578
581
|
if (eStart.getTime() >= schedule.startHour.getTime()) {
|
|
579
582
|
topValue = this.getTopValue(eStart, dayIndex, resource);
|
|
580
583
|
}
|
|
@@ -78,6 +78,7 @@ var Print = /** @class */ (function () {
|
|
|
78
78
|
Schedule.Inject(Day, Week, WorkWeek, Month, Agenda, MonthAgenda, TimelineViews, TimelineMonth, Year, TimelineYear);
|
|
79
79
|
this.printInstance = new Schedule(this.getPrintScheduleModel(printOptions));
|
|
80
80
|
this.printInstance.isPrinting = true;
|
|
81
|
+
this.printInstance.registeredTemplate = this.parent.registeredTemplate;
|
|
81
82
|
this.printInstance.root = this.parent.root ? this.parent.root : this.parent;
|
|
82
83
|
this.printInstance.appendTo(element);
|
|
83
84
|
this.printInstance.on(events.print, this.contentReady, this);
|