@syncfusion/ej2-schedule 25.2.4 → 25.2.7
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 +10 -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 +26 -5
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +26 -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/package.json +12 -12
- package/src/schedule/base/resource.js +1 -1
- package/src/schedule/renderer/month.js +4 -0
- package/src/schedule/renderer/view-base.js +21 -4
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 25.2.
|
|
3
|
+
* version : 25.2.7
|
|
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@25.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-schedule@25.2.6",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-aXd7tMHVsBq4mHdKaSB36j3MptWPFdOgtHOJFlT1NysLPpYsDsO6/yqbAlTkUMRgC+XpU7adwy6ssJjh0oz8RQ==",
|
|
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-25.2.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-25.2.6.tgz",
|
|
27
|
+
"_shasum": "50408fb65ba59161c2dff9d9151acca1ce96d62b",
|
|
28
28
|
"_spec": "@syncfusion/ej2-schedule@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~25.2.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~25.2.
|
|
40
|
-
"@syncfusion/ej2-calendars": "~25.2.
|
|
38
|
+
"@syncfusion/ej2-base": "~25.2.7",
|
|
39
|
+
"@syncfusion/ej2-buttons": "~25.2.7",
|
|
40
|
+
"@syncfusion/ej2-calendars": "~25.2.7",
|
|
41
41
|
"@syncfusion/ej2-data": "~25.2.3",
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~25.2.
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~25.2.7",
|
|
43
43
|
"@syncfusion/ej2-excel-export": "~25.2.3",
|
|
44
|
-
"@syncfusion/ej2-inputs": "~25.2.
|
|
44
|
+
"@syncfusion/ej2-inputs": "~25.2.6",
|
|
45
45
|
"@syncfusion/ej2-lists": "~25.2.3",
|
|
46
|
-
"@syncfusion/ej2-navigations": "~25.2.
|
|
47
|
-
"@syncfusion/ej2-popups": "~25.2.
|
|
46
|
+
"@syncfusion/ej2-navigations": "~25.2.6",
|
|
47
|
+
"@syncfusion/ej2-popups": "~25.2.7"
|
|
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": "25.2.
|
|
76
|
+
"version": "25.2.7",
|
|
77
77
|
"sideEffects": false
|
|
78
78
|
}
|
|
@@ -897,7 +897,7 @@ var ResourceBase = /** @class */ (function () {
|
|
|
897
897
|
// eslint-disable-next-line prefer-spread
|
|
898
898
|
var resourceDates = [].concat.apply([], this.lastResourceLevel.map(function (e) { return e.renderDates; }));
|
|
899
899
|
var time = resourceDates.map(function (dateObj) { return dateObj.getTime(); });
|
|
900
|
-
var removeDuplicateDates = function (dateColl) { return dateColl.filter(function (date, index
|
|
900
|
+
var removeDuplicateDates = function (dateColl) { return dateColl.filter(function (date, index) {
|
|
901
901
|
return time.indexOf(date.getTime()) === index;
|
|
902
902
|
}); };
|
|
903
903
|
var renderDates = removeDuplicateDates(resourceDates);
|
|
@@ -225,9 +225,13 @@ var Month = /** @class */ (function (_super) {
|
|
|
225
225
|
this.renderHeader();
|
|
226
226
|
this.parent.notify(event.contentReady, {});
|
|
227
227
|
var dateHeader = this.element.querySelector('.' + cls.DATE_HEADER_WRAP_CLASS);
|
|
228
|
+
var contentWrapper = this.element.querySelector('.' + cls.CONTENT_WRAP_CLASS);
|
|
228
229
|
if (dateHeader) {
|
|
229
230
|
dateHeader.scrollLeft = this.parent.uiStateValues.left;
|
|
230
231
|
}
|
|
232
|
+
if (contentWrapper) {
|
|
233
|
+
contentWrapper.scrollLeft = this.parent.uiStateValues.left;
|
|
234
|
+
}
|
|
231
235
|
};
|
|
232
236
|
Month.prototype.wireCellEvents = function (element) {
|
|
233
237
|
EventHandler.add(element, 'mousedown', this.parent.workCellAction.cellMouseDown, this.parent.workCellAction);
|
|
@@ -25,10 +25,27 @@ var ViewBase = /** @class */ (function () {
|
|
|
25
25
|
// Method to refresh the date header
|
|
26
26
|
};
|
|
27
27
|
ViewBase.prototype.refreshResourceHeader = function () {
|
|
28
|
-
|
|
29
|
-
var
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
var resTbl = this.element.querySelector('.' + cls.RESOURCE_COLUMN_TABLE_CLASS);
|
|
29
|
+
var resourceTd = Array.from(resTbl.querySelectorAll('.' + cls.RESOURCE_CELLS_CLASS));
|
|
30
|
+
resourceTd.forEach(function (currentElement) {
|
|
31
|
+
var children = Array.from(currentElement.children);
|
|
32
|
+
children.forEach(function (child) {
|
|
33
|
+
if (!child.classList.contains(cls.RESOURCE_EXPAND_CLASS) && !child.classList.contains(cls.RESOURCE_COLLAPSE_CLASS)) {
|
|
34
|
+
remove(child);
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
if (!isNullOrUndefined(this.parent.resourceBase.renderedResources) && this.parent.resourceBase.renderedResources.length > 0) {
|
|
39
|
+
for (var i = 0; i < resourceTd.length; i++) {
|
|
40
|
+
var element = resourceTd[parseInt(i.toString(), 10)];
|
|
41
|
+
var data = this.parent.resourceBase.renderedResources[parseInt(i.toString(), 10)];
|
|
42
|
+
if (this.parent.activeView && !isNullOrUndefined(element) && !isNullOrUndefined(data)
|
|
43
|
+
&& parseInt(element.getAttribute('data-group-index'), 10) === data.groupIndex) {
|
|
44
|
+
this.parent.activeView.setResourceHeaderContent(element, data, cls.RESOURCE_TEXT_CLASS);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
this.parent.renderTemplates();
|
|
32
49
|
this.parent.notify(event.contentReady, {});
|
|
33
50
|
};
|
|
34
51
|
ViewBase.prototype.getDayName = function (date) {
|