@syncfusion/ej2-schedule 25.1.39 → 25.1.41

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 : 25.1.39
3
+ * version : 25.1.41
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.1.37",
3
+ "_id": "@syncfusion/ej2-schedule@25.1.39",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-flwr+93nCa0OS6J4KbFw5HBmUmNW4HFDJfV9KGRqIT9OhErmQTpp8ImOzZBuUohD27V/3dQ+MdOf9kD9rZlKcw==",
5
+ "_integrity": "sha512-n8KMWDnVN3i11oUDjapXygq0Nvk8VdRbYG0yP+02krCjEXT5+qb53ZhUPfnU5WU32INxNv5IofGeaBN8EVmF4A==",
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.1.37.tgz",
27
- "_shasum": "5d67d711e5b35889656ed5b772293682a3d896cb",
26
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-25.1.39.tgz",
27
+ "_shasum": "166c86d21160b16e7c4f6edb56bf633324aa511f",
28
28
  "_spec": "@syncfusion/ej2-schedule@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
30
30
  "author": {
@@ -37,14 +37,14 @@
37
37
  "dependencies": {
38
38
  "@syncfusion/ej2-base": "~25.1.35",
39
39
  "@syncfusion/ej2-buttons": "~25.1.39",
40
- "@syncfusion/ej2-calendars": "~25.1.39",
40
+ "@syncfusion/ej2-calendars": "~25.1.40",
41
41
  "@syncfusion/ej2-data": "~25.1.35",
42
- "@syncfusion/ej2-dropdowns": "~25.1.39",
42
+ "@syncfusion/ej2-dropdowns": "~25.1.41",
43
43
  "@syncfusion/ej2-excel-export": "~25.1.35",
44
- "@syncfusion/ej2-inputs": "~25.1.38",
45
- "@syncfusion/ej2-lists": "~25.1.39",
46
- "@syncfusion/ej2-navigations": "~25.1.39",
47
- "@syncfusion/ej2-popups": "~25.1.39"
44
+ "@syncfusion/ej2-inputs": "~25.1.40",
45
+ "@syncfusion/ej2-lists": "~25.1.41",
46
+ "@syncfusion/ej2-navigations": "~25.1.41",
47
+ "@syncfusion/ej2-popups": "~25.1.41"
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.1.39",
76
+ "version": "25.1.41",
77
77
  "sideEffects": false
78
78
  }
@@ -638,9 +638,12 @@ var VerticalEvent = /** @class */ (function (_super) {
638
638
  return (tempLeft > 99 ? 99 : tempLeft) + '%';
639
639
  };
640
640
  VerticalEvent.prototype.getTopValue = function (date, day, resource) {
641
- var startEndHours = util.getStartEndHours(util.resetTime(this.dateRender[parseInt(resource.toString(), 10)][parseInt(day.toString(), 10)]), this.startHour, this.endHour);
641
+ var viewDate = util.resetTime(this.dateRender[parseInt(resource.toString(), 10)][parseInt(day.toString(), 10)]);
642
+ var startEndHours = util.getStartEndHours(viewDate, this.startHour, this.endHour);
642
643
  var startHour = startEndHours.startHour;
643
- var diffInMinutes = ((date.getHours() - startHour.getHours()) * 60) + (date.getMinutes() - startHour.getMinutes());
644
+ var adjustedStartHour = util.isDaylightSavingTime(viewDate) && (startHour.getHours() !== this.startHour.getHours()) ?
645
+ this.startHour.getHours() : startHour.getHours();
646
+ var diffInMinutes = ((date.getHours() - adjustedStartHour) * 60) + (date.getMinutes() - startHour.getMinutes());
644
647
  return (this.parent.activeViewOptions.timeScale.enable) ? ((diffInMinutes * this.cellHeight * this.slotCount) / this.interval) : 0;
645
648
  };
646
649
  VerticalEvent.prototype.getOverlapIndex = function (record, day, isAllDay, resource) {
@@ -519,7 +519,7 @@ var EventWindow = /** @class */ (function () {
519
519
  var resourceInput = this.createInputElement(value + ' ' + EVENT_FIELD, fieldName);
520
520
  resourceDiv.appendChild(resourceInput);
521
521
  var resourceTemplate = function (data) {
522
- return "<div class=\"e-resource-template\"><div class=\"e-resource-color\" style=\"background-color:" + data[resourceData.colorField] + "\"></div><div class=\"e-resource-text\">" + data[resourceData.textField] + "</div></div>";
522
+ return SanitizeHtmlHelper.sanitize("<div class=\"e-resource-template\"><div class=\"e-resource-color\" style=\"background-color:" + data[resourceData.colorField] + "\"></div><div class=\"e-resource-text\">" + data[resourceData.textField] + "</div></div>");
523
523
  };
524
524
  initializeCSPTemplate(resourceTemplate, resourceData);
525
525
  if (resourceData.allowMultiple) {