Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-schedule

Package Overview
Dependencies
Maintainers
3
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-schedule - npm Package Compare versions

Comparing version 25.2.7 to 26.1.35

styles/fluent2.css

5

.eslintrc.json

@@ -18,3 +18,4 @@ {

"sourceType": "module"
},
},
"ignorePatterns": ["*.d.ts", "*.js"],
"plugins": [

@@ -188,3 +189,3 @@ "@typescript-eslint",

],
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-explicit-any": "warn",
"no-cond-assign": [

@@ -191,0 +192,0 @@ "error",

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 25.2.7
* version : 26.1.35
* 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.6",
"_id": "@syncfusion/ej2-schedule@22.9.0",
"_inBundle": false,
"_integrity": "sha512-aXd7tMHVsBq4mHdKaSB36j3MptWPFdOgtHOJFlT1NysLPpYsDsO6/yqbAlTkUMRgC+XpU7adwy6ssJjh0oz8RQ==",
"_integrity": "sha512-cbmdRc8J/qV77jIuDMYvpqRZxfgaaT8ATKKb8JFgIE2W/9wR2bhVqd9nWjMfnqTB2n8C+s07mz1p590gCbi5eQ==",
"_location": "/@syncfusion/ej2-schedule",

@@ -26,6 +26,6 @@ "_phantomChildren": {},

],
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-25.2.6.tgz",
"_shasum": "50408fb65ba59161c2dff9d9151acca1ce96d62b",
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-schedule/-/ej2-schedule-22.9.0.tgz",
"_shasum": "dc4b9da9933cae83dd17089bda3a219960824ba3",
"_spec": "@syncfusion/ej2-schedule@*",
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
"author": {

@@ -39,12 +39,13 @@ "name": "Syncfusion Inc."

"dependencies": {
"@syncfusion/ej2-base": "~25.2.7",
"@syncfusion/ej2-buttons": "~25.2.7",
"@syncfusion/ej2-calendars": "~25.2.7",
"@syncfusion/ej2-data": "~25.2.3",
"@syncfusion/ej2-dropdowns": "~25.2.7",
"@syncfusion/ej2-excel-export": "~25.2.3",
"@syncfusion/ej2-inputs": "~25.2.6",
"@syncfusion/ej2-lists": "~25.2.3",
"@syncfusion/ej2-navigations": "~25.2.6",
"@syncfusion/ej2-popups": "~25.2.7"
"@syncfusion/ej2-base": "~26.1.35",
"@syncfusion/ej2-buttons": "~26.1.35",
"@syncfusion/ej2-calendars": "~26.1.35",
"@syncfusion/ej2-data": "~26.1.35",
"@syncfusion/ej2-dropdowns": "~26.1.35",
"@syncfusion/ej2-excel-export": "~26.1.35",
"@syncfusion/ej2-inputs": "~26.1.35",
"@syncfusion/ej2-lists": "~26.1.35",
"@syncfusion/ej2-navigations": "~26.1.35",
"@syncfusion/ej2-popups": "~26.1.35",
"@types/requirejs": "^2.1.37"
},

@@ -78,4 +79,4 @@ "deprecated": false,

"typings": "index.d.ts",
"version": "25.2.7",
"version": "26.1.35",
"sideEffects": false
}

@@ -224,11 +224,11 @@ import { Component, INotifyPropertyChanged } from '@syncfusion/ej2-base';

/**
* Defines the available types of recurrence end for the recurrence editor.
* ```props
* The following options are available:
*
* never :- Denotes that the recurrence has no end date and continues indefinitely.
* until :- Denotes that the recurrence ends on a specified date.
* count :- Denotes that the recurrence ends after a specified number of occurrences.
* ```
* Defines the available types of recurrence end for the recurrence editor.
* ```props
* The following options are available:
*
* never :- Denotes that the recurrence has no end date and continues indefinitely.
* until :- Denotes that the recurrence ends on a specified date.
* count :- Denotes that the recurrence ends after a specified number of occurrences.
* ```
*/
export declare type EndType = 'never' | 'until' | 'count';

@@ -54,3 +54,2 @@ var __extends = (this && this.__extends) || (function () {

var WEEKEXPANDERLABEL = 'e-week-expander-label';
var ENDONLABEL = 'e-end-on-label';
var ENDONLEFT = 'e-end-on-left';

@@ -937,3 +936,3 @@ var MONTHDAYELEMENT = 'e-monthday-element';

RecurrenceEditor.prototype.getCalendarMode = function () {
return this.calendarMode.toLowerCase();
return !isNullOrUndefined(this.calendarMode) ? this.calendarMode.toLowerCase() : 'gregorian';
};

@@ -940,0 +939,0 @@ RecurrenceEditor.prototype.getRuleSummary = function (rule) {

@@ -553,3 +553,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

var index = parseInt(e.key, 10) - 1;
if (index < this.parent.views.length) {
if (!isNullOrUndefined(this.parent.views) && index < this.parent.views.length) {
var view = this.parent.viewCollections[parseInt(index.toString(), 10)].option;

@@ -556,0 +556,0 @@ this.parent.changeView(view, e, undefined, index);

@@ -60,3 +60,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

if ((conWrap.scrollHeight - conWrap.scrollTop) < conWrap.offsetHeight * this.bufferCount) {
virtual.style.height = parseInt(virtual.style.height) + (conWrap.offsetHeight * this.bufferCount) + 'px';
virtual.style.height = parseInt(virtual.style.height, 10) + (conWrap.offsetHeight * this.bufferCount) + 'px';
}

@@ -111,2 +111,3 @@ }

(this.parent.resourceBase.expandedResources.length - this.renderedLength) : firstTDIndex;
firstTDIndex = firstTDIndex < 0 ? 0 : firstTDIndex;
this.parent.resourceBase.renderedResources = this.parent.resourceBase.expandedResources.slice(firstTDIndex, endIndex);

@@ -113,0 +114,0 @@ if (this.parent.resourceBase.renderedResources.length > 0) {

@@ -58,13 +58,13 @@ import { Component, ModuleDeclaration, Property, Event, Animation, Collection, append } from '@syncfusion/ej2-base';import { EventHandler, EmitType, Browser, Internationalization, getDefaultDateObject, cldrData, L10n } from '@syncfusion/ej2-base';import { getValue, compile, extend, isNullOrUndefined, NotifyPropertyChanges, INotifyPropertyChanged, Complex } from '@syncfusion/ej2-base';import { getElement, removeClass, addClass, classList, remove, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { createSpinner, hideSpinner, showSpinner } from '@syncfusion/ej2-popups';import { HeaderRenderer } from '../renderer/header-renderer';import { Scroll } from '../actions/scroll';import { ScheduleTouch } from '../actions/touch';import { KeyboardInteraction } from '../actions/keyboard';import { Data } from '../actions/data';import { View, CurrentAction, ReturnType, WeekRule } from '../base/type';import { EventBase } from '../event-renderer/event-base';import { InlineEdit } from '../event-renderer/inline-edit';import { QuickPopups } from '../popups/quick-popups';import { EventTooltip } from '../popups/event-tooltip';import { EventWindow } from '../popups/event-window';import { Render } from '../renderer/renderer';import { Day } from '../renderer/day';import { Week } from '../renderer/week';import { WorkWeek } from '../renderer/work-week';import { Month } from '../renderer/month';import { Year } from '../renderer/year';import { Agenda } from '../renderer/agenda';import { MonthAgenda } from '../renderer/month-agenda';import { TimelineViews } from '../renderer/timeline-view';import { TimelineMonth } from '../renderer/timeline-month';import { TimelineYear } from '../renderer/timeline-year';import { WorkHours } from '../models/work-hours';import { TimeScale } from '../models/time-scale';import { QuickInfoTemplates } from '../models/quick-info-templates';import { HeaderRows } from '../models/header-rows';import { Crud } from '../actions/crud';import { Resize } from '../actions/resize';import { DragAndDrop } from '../actions/drag';import { VirtualScroll } from '../actions/virtual-scroll';import { WorkCellInteraction } from '../actions/work-cells';import { WorkHoursModel, ViewsModel, EventSettingsModel, GroupModel, ResourcesModel, TimeScaleModel, ToolbarItemModel } from '../models/models';import { QuickInfoTemplatesModel, HeaderRowsModel } from '../models/models';import { EventSettings } from '../models/event-settings';import { Group } from '../models/group';import { Resources } from '../models/resources';import { ICalendarExport } from '../exports/calendar-export';import { ICalendarImport } from '../exports/calendar-import';import { ExcelExport } from '../exports/excel-export';import { Print } from '../exports/print';import { IRenderer, ActionEventArgs, NavigatingEventArgs, CellClickEventArgs, RenderCellEventArgs, ScrollCss, TimezoneFields } from '../base/interface';import { EventClickArgs, EventRenderedArgs, PopupOpenEventArgs, UIStateArgs, DragEventArgs, ResizeEventArgs } from '../base/interface';import { EventFieldsMapping, TdData, ResourceDetails, ResizeEdges, StateArgs, ExportOptions, SelectEventArgs } from '../base/interface';import { ViewsData, PopupCloseEventArgs, HoverEventArgs, MoreEventsClickArgs, ScrollEventArgs, CallbackFunction } from '../base/interface';import { CalendarUtil, Gregorian, Islamic, CalendarType } from '../../common/calendar-util';import { ResourceBase } from '../base/resource';import { Timezone, timezoneData } from '../timezone/timezone';import { RecurrenceEditor } from '../../recurrence-editor/recurrence-editor';import * as events from '../base/constant';import * as cls from '../base/css-constant';import * as util from '../base/util';import { ToolbarItem } from '../models/toolbar';

/**
* To render the custom toolbar items, the `toolbarItems` property can be used. It contains built-in and custom toolbar items.
* To avail the built-in toolbar items, the below string values are assigned to the `name` property of the `ToolbarItemModel`.
* * `Previous`: Schedule component navigates to the previous date from the current date.
* * `Next`: Schedule component navigates to the next date from the current date.
* * `Today`: Schedule component navigates to the current date from any date.
* * `Views`: Schedule component render the defined view options in the toolbar. If view option is not defined, then it will render default view options in the Schedule.
* * `DateRangeText`: Schedule component displays the current date text range.
* * `NewEvent`: Schedule component render the icon to add a new event.
*
* @default []
*/
* To render the custom toolbar items, the `toolbarItems` property can be used. It contains built-in and custom toolbar items.
* To avail the built-in toolbar items, the below string values are assigned to the `name` property of the `ToolbarItemModel`.
* * `Previous`: Schedule component navigates to the previous date from the current date.
* * `Next`: Schedule component navigates to the next date from the current date.
* * `Today`: Schedule component navigates to the current date from any date.
* * `Views`: Schedule component render the defined view options in the toolbar. If view option is not defined, then it will render default view options in the Schedule.
* * `DateRangeText`: Schedule component displays the current date text range.
* * `NewEvent`: Schedule component render the icon to add a new event.
*
* @default []
*/
toolbarItems?: ToolbarItemModel[]

@@ -71,0 +71,0 @@

@@ -76,3 +76,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

firstDayOfWeek = (firstDayOfWeek - date1.getDay() + 7 * (-1)) % 7;
return new Date(date1.setDate(date1.getDate() + firstDayOfWeek));
return new Date(date1.setDate(date1.getDate() + (isNaN(firstDayOfWeek) ? 0 : firstDayOfWeek)));
}

@@ -79,0 +79,0 @@ /**

@@ -73,4 +73,6 @@ var __extends = (this && this.__extends) || (function () {

var eventData = app.data;
if (eventData.trimStartTime.getTime() <= date.getTime() &&
eventData.trimEndTime.getTime() > date.getTime()) {
if ((eventData.trimStartTime.getTime() <= date.getTime() &&
eventData.trimEndTime.getTime() > date.getTime()) ||
(eventData.trimStartTime.getTime() === date.getTime() &&
eventData.trimEndTime.getTime() === date.getTime())) {
appointmentsList.push(app);

@@ -77,0 +79,0 @@ }

@@ -178,3 +178,4 @@ var __extends = (this && this.__extends) || (function () {

}
var enableAppRender = this_1.maxOrIndicator || (overlapIndex < eventsPerRow) || (this_1.cellHeight > availedHeight);
var enableAppRender = this_1.maxOrIndicator || (overlapIndex < eventsPerRow) ||
(this_1.cellHeight > availedHeight);
if (this_1.parent.rowAutoHeight || enableAppRender || this_1.cellHeight > availedHeight) {

@@ -181,0 +182,0 @@ this_1.renderEvent(eventWrapper, eventData, row, leftValue, rightValue, monthStart, dayIndex);

@@ -52,4 +52,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

}
// eslint-disable-next-line security/detect-object-injection
var firstChar = iCalString[lastPosition];
var firstChar = iCalString.charAt(lastPosition);
if (firstChar === ' ' || firstChar === '\n' || firstChar === '\t') {

@@ -56,0 +55,0 @@ iString += iCalString.slice(lastPosition + 1, position - newlineOffset);

@@ -171,5 +171,5 @@ import { Property, ChildProperty, Event, EmitType } from '@syncfusion/ej2-base';import { ClickEventArgs, DisplayMode, ItemAlign, ItemType, OverflowOption } from '@syncfusion/ej2-navigations';import { ToolbarName } from '../base/type';

* Specifies the unique name for each toolbar item rendered in Schedule. This name is used to map the toolbar items in the Schedule component.
*
*
* To access the default toolbar items, provide the name below,
*
*
* * `Custom`: Schedule component render the custom toolbar item.

@@ -176,0 +176,0 @@ * * `Previous`: Schedule component navigates to the previous date from the current date.

@@ -77,3 +77,4 @@ var __assign = (this && this.__assign) || function () {

var _this = this;
var items = (this.parent.toolbarItems && this.parent.toolbarItems.length > 0) ? this.getToolbarItems() : this.getItems();
var items = (this.parent.toolbarItems && this.parent.toolbarItems.length > 0) ?
this.getToolbarItems() : this.getItems();
this.parent.trigger(events.actionBegin, { requestType: 'toolbarItemRendering', items: items }, function (args) {

@@ -171,2 +172,3 @@ _this.toolbarObj = new Toolbar({

}
selEle.firstElementChild.setAttribute('aria-haspopup', 'true');
var textEle = selEle.querySelector('.e-tbar-btn-text');

@@ -319,3 +321,3 @@ if (this.parent.activeViewOptions.dateRangeTemplate) {

case 'Views':
if (this.parent.views.length > 1) {
if (!isNullOrUndefined(this.parent.views) && this.parent.views.length > 1) {
for (var _b = 0, _c = this.parent.views; _b < _c.length; _b++) {

@@ -370,7 +372,7 @@ var view = _c[_b];

});
if (this.parent.views.length > 1) {
if (!isNullOrUndefined(this.parent.views) && this.parent.views.length > 1) {
items.push({ align: 'Right', type: 'Separator', cssClass: 'e-schedule-seperator' });
}
}
if (this.parent.views.length > 1) {
if (!isNullOrUndefined(this.parent.views) && this.parent.views.length > 1) {
for (var _i = 0, _a = this.parent.views; _i < _a.length; _i++) {

@@ -377,0 +379,0 @@ var item = _a[_i];

@@ -137,2 +137,5 @@ var __extends = (this && this.__extends) || (function () {

this.retainScrollPosition();
if (!isNullOrUndefined(timeCells) && !isNullOrUndefined(content) && timeCells.scrollTop !== content.scrollTop) {
timeCells.scrollTop = content.scrollTop;
}
};

@@ -139,0 +142,0 @@ VerticalView.prototype.setContentHeight = function (element, leftPanelElement, height) {

@@ -38,6 +38,7 @@ import { createElement, append, prepend, isNullOrUndefined, getValue, getDefaultDateObject, cldrData, addClass, setStyleAttribute, formatUnit, EventHandler, remove } from '@syncfusion/ej2-base';

});
if (!isNullOrUndefined(this.parent.resourceBase.renderedResources) && this.parent.resourceBase.renderedResources.length > 0) {
var rendereData = this.parent.resourceBase.renderedResources;
if (!isNullOrUndefined(rendereData) && rendereData.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)];
var data = rendereData[parseInt(i.toString(), 10)];
if (this.parent.activeView && !isNullOrUndefined(element) && !isNullOrUndefined(data)

@@ -107,2 +108,5 @@ && parseInt(element.getAttribute('data-group-index'), 10) === data.groupIndex) {

ViewBase.prototype.createColGroup = function (table, lastRow) {
if (isNullOrUndefined(lastRow)) {
return;
}
var length = lastRow.length;

@@ -251,3 +255,3 @@ if (lastRow[0] && lastRow[0].colSpan) {

if (workDays === void 0) { workDays = this.parent.activeViewOptions.workDays; }
if (workDays.indexOf(date.getDay()) >= 0) {
if (!isNullOrUndefined(workDays) && workDays.indexOf(date.getDay()) >= 0) {
return true;

@@ -379,3 +383,3 @@ }

var longDateFormat;
if (this.parent.locale === 'en' || this.parent.locale === 'en-US') {
if (isNullOrUndefined(this.parent.locale) || this.parent.locale === 'en' || this.parent.locale === 'en-US') {
longDateFormat = getValue('dateFormats.long', getDefaultDateObject(mode));

@@ -382,0 +386,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 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

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 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 not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc