@syncfusion/ej2-schedule
Advanced tools
Comparing version 25.2.4 to 25.2.6
/*! | ||
* filename: index.d.ts | ||
* version : 25.2.4 | ||
* version : 25.2.6 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-schedule@*", | ||
"_id": "@syncfusion/ej2-schedule@25.2.3", | ||
"_id": "@syncfusion/ej2-schedule@25.2.4", | ||
"_inBundle": false, | ||
"_integrity": "sha512-MWSpBfzIs0mW4kqATTjlmMeFZ1Mm2+LylE8fjjZ0fM79QH8/EetEh/0tW/JijPCx3onoD6QIq2VBGoY56/UiYg==", | ||
"_integrity": "sha512-GotTq1HrcT++YmcD8AsfKhcdJtUYrCa0DLNCTe2vYuPOHHPiJbNyJuXqVGIhENXl9OsDqa3D2RwyddA0Ntd7kA==", | ||
"_location": "/@syncfusion/ej2-schedule", | ||
@@ -26,4 +26,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-25.2.3.tgz", | ||
"_shasum": "a6028db684557182b950796fcabf473dc847dadd", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-25.2.4.tgz", | ||
"_shasum": "e8ed70e9296b26f48063202ea4729c9917b27076", | ||
"_spec": "@syncfusion/ej2-schedule@*", | ||
@@ -39,12 +39,12 @@ "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~25.2.3", | ||
"@syncfusion/ej2-buttons": "~25.2.4", | ||
"@syncfusion/ej2-calendars": "~25.2.4", | ||
"@syncfusion/ej2-base": "~25.2.5", | ||
"@syncfusion/ej2-buttons": "~25.2.6", | ||
"@syncfusion/ej2-calendars": "~25.2.5", | ||
"@syncfusion/ej2-data": "~25.2.3", | ||
"@syncfusion/ej2-dropdowns": "~25.2.4", | ||
"@syncfusion/ej2-dropdowns": "~25.2.6", | ||
"@syncfusion/ej2-excel-export": "~25.2.3", | ||
"@syncfusion/ej2-inputs": "~25.2.3", | ||
"@syncfusion/ej2-inputs": "~25.2.6", | ||
"@syncfusion/ej2-lists": "~25.2.3", | ||
"@syncfusion/ej2-navigations": "~25.2.4", | ||
"@syncfusion/ej2-popups": "~25.2.4" | ||
"@syncfusion/ej2-navigations": "~25.2.6", | ||
"@syncfusion/ej2-popups": "~25.2.6" | ||
}, | ||
@@ -78,4 +78,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "25.2.4", | ||
"version": "25.2.6", | ||
"sideEffects": false | ||
} |
@@ -900,3 +900,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
var time = resourceDates.map(function (dateObj) { return dateObj.getTime(); }); | ||
var removeDuplicateDates = function (dateColl) { return dateColl.filter(function (date, index, dates) { | ||
var removeDuplicateDates = function (dateColl) { return dateColl.filter(function (date, index) { | ||
return time.indexOf(date.getTime()) === index; | ||
@@ -903,0 +903,0 @@ }); }; |
@@ -228,5 +228,9 @@ var __extends = (this && this.__extends) || (function () { | ||
var dateHeader = this.element.querySelector('.' + cls.DATE_HEADER_WRAP_CLASS); | ||
var contentWrapper = this.element.querySelector('.' + cls.CONTENT_WRAP_CLASS); | ||
if (dateHeader) { | ||
dateHeader.scrollLeft = this.parent.uiStateValues.left; | ||
} | ||
if (contentWrapper) { | ||
contentWrapper.scrollLeft = this.parent.uiStateValues.left; | ||
} | ||
}; | ||
@@ -233,0 +237,0 @@ Month.prototype.wireCellEvents = function (element) { |
@@ -28,6 +28,23 @@ import { createElement, append, prepend, isNullOrUndefined, getValue, getDefaultDateObject, cldrData, addClass, setStyleAttribute, formatUnit, EventHandler, remove } from '@syncfusion/ej2-base'; | ||
ViewBase.prototype.refreshResourceHeader = function () { | ||
remove(this.element.querySelector('tbody').lastElementChild.firstElementChild); | ||
var resTd = createElement('td'); | ||
resTd.appendChild(this.parent.resourceBase.createResourceColumn()); | ||
prepend([resTd], this.element.querySelector('tbody').lastElementChild); | ||
var resTbl = this.element.querySelector('.' + cls.RESOURCE_COLUMN_TABLE_CLASS); | ||
var resourceTd = Array.from(resTbl.querySelectorAll('.' + cls.RESOURCE_CELLS_CLASS)); | ||
resourceTd.forEach(function (currentElement) { | ||
var children = Array.from(currentElement.children); | ||
children.forEach(function (child) { | ||
if (!child.classList.contains(cls.RESOURCE_EXPAND_CLASS) && !child.classList.contains(cls.RESOURCE_COLLAPSE_CLASS)) { | ||
remove(child); | ||
} | ||
}); | ||
}); | ||
if (!isNullOrUndefined(this.parent.resourceBase.renderedResources) && this.parent.resourceBase.renderedResources.length > 0) { | ||
for (var i = 0; i < resourceTd.length; i++) { | ||
var element = resourceTd[parseInt(i.toString(), 10)]; | ||
var data = this.parent.resourceBase.renderedResources[parseInt(i.toString(), 10)]; | ||
if (this.parent.activeView && !isNullOrUndefined(element) && !isNullOrUndefined(data) | ||
&& parseInt(element.getAttribute('data-group-index'), 10) === data.groupIndex) { | ||
this.parent.activeView.setResourceHeaderContent(element, data, cls.RESOURCE_TEXT_CLASS); | ||
} | ||
} | ||
} | ||
this.parent.renderTemplates(); | ||
this.parent.notify(event.contentReady, {}); | ||
@@ -34,0 +51,0 @@ }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22331453
258288