dhtmlx-scheduler
Advanced tools
Comparing version 6.0.4 to 6.0.5
{ | ||
"name": "scheduler", | ||
"version": "6.0.4", | ||
"version": "6.0.5", | ||
"homepage": "https://dhtmlx.com/docs/products/dhtmlxScheduler/", | ||
@@ -5,0 +5,0 @@ "description": "JavaScript event calendar. Allows to manage events and appointments in different views", |
@@ -8,3 +8,86 @@ // Type definitions for dhtmlxScheduler <%= pkg.version %> | ||
type SchedulerEventName = "onAfterEventDisplay"|"onAfterFolderToggle"|"onAfterLightbox"|"onAfterQuickInfo"|"onAfterSchedulerResize"|"onBeforeCollapse"|"onBeforeDrag"|"onBeforeEventChanged"|"onBeforeEventCreated"|"onBeforeEventDelete"|"onBeforeEventDisplay"|"onBeforeEventDragIn"|"onBeforeEventDragOut"|"onBeforeEventPasted"|"onBeforeExpand"|"onBeforeExternalDragIn"|"onBeforeFolderToggle"|"onBeforeLightbox"|"onBeforeParse"|"onBeforeTodayDisplayed"|"onBeforeTooltip"|"onBeforeViewChange"|"onCellClick"|"onCellDblClick"|"onClearAll"|"onClick"|"onCollapse"|"onConfirmedBeforeEventDelete"|"onContextMenu"|"onDataRender"|"onDblClick"|"onDestroy"|"onDragEnd"|"onEmptyClick"|"onError"|"onEventAdded"|"onEventCancel"|"onEventChanged"|"onEventCollision"|"onEventCopied"|"onEventCreated"|"onEventCut"|"onEventDeleted"|"onEventDrag"|"onEventDragIn"|"onEventDragOut"|"onEventDropOut"|"onEventIdChange"|"onEventLoading"|"onEventPasted"|"onEventSave"|"onEventSelected"|"onEventUnselected"|"onExpand"|"onExternalDragIn"|"onLightbox"|"onLightboxButton"|"onLimitViolation"|"onLoadEnd"|"onLoadError"|"onLoadStart"|"onLocationError"|"onMouseDown"|"onMouseMove"|"onOptionsLoad"|"onOptionsLoadFinal"|"onOptionsLoadStart"|"onParse"|"onQuickInfo"|"onSaveError"|"onScaleAdd"|"onScaleDblClick"|"onSchedulerReady"|"onSchedulerResize"|"onTemplatesReady"|"onTimelineCreated"|"onViewChange"|"onViewMoreClick"|"onXLE"|"onXLS"|"onXScaleClick"|"onXScaleDblClick"|"onYScaleClick"|"onYScaleDblClick"; | ||
type SchedulerEventName = "onAfterEventDisplay" | | ||
"onAfterFolderToggle" | | ||
"onAfterLightbox" | | ||
"onAfterQuickInfo" | | ||
"onAfterSchedulerResize" | | ||
"onBeforeCollapse" | | ||
"onBeforeDrag" | | ||
"onBeforeEventChanged" | | ||
"onBeforeEventCreated" | | ||
"onBeforeEventDelete" | | ||
"onBeforeEventDisplay" | | ||
"onBeforeEventDragIn" | | ||
"onBeforeEventDragOut" | | ||
"onBeforeEventPasted" | | ||
"onBeforeExpand" | | ||
"onBeforeExternalDragIn" | | ||
"onBeforeFolderToggle" | | ||
"onBeforeLightbox" | | ||
"onBeforeParse" | | ||
"onBeforeTodayDisplayed" | | ||
"onBeforeTooltip" | | ||
"onBeforeViewChange" | | ||
"onCellClick" | | ||
"onCellDblClick" | | ||
"onClearAll" | | ||
"onClick" | | ||
"onCollapse" | | ||
"onConfirmedBeforeEventDelete" | | ||
"onContextMenu" | | ||
"onDataRender" | | ||
"onDblClick" | | ||
"onDestroy" | | ||
"onDragEnd" | | ||
"onEmptyClick" | | ||
"onError" | | ||
"onEventAdded" | | ||
"onEventCancel" | | ||
"onEventChanged" | | ||
"onEventCollision" | | ||
"onEventCopied" | | ||
"onEventCreated" | | ||
"onEventCut" | | ||
"onEventDeleted" | | ||
"onEventDrag" | | ||
"onEventDragIn" | | ||
"onEventDragOut" | | ||
"onEventDropOut" | | ||
"onEventIdChange" | | ||
"onEventLoading" | | ||
"onEventPasted" | | ||
"onEventSave" | | ||
"onEventSelected" | | ||
"onEventUnselected" | | ||
"onExpand" | | ||
"onExternalDragIn" | | ||
"onLightbox" | | ||
"onLightboxButton" | | ||
"onLimitViolation" | | ||
"onLoadEnd" | | ||
"onLoadError" | | ||
"onLoadStart" | | ||
"onLocationError" | | ||
"onMouseDown" | | ||
"onMouseMove" | | ||
"onOptionsLoad" | | ||
"onOptionsLoadFinal" | | ||
"onOptionsLoadStart" | | ||
"onParse" | | ||
"onQuickInfo" | | ||
"onSaveError" | | ||
"onScaleAdd" | | ||
"onScaleDblClick" | | ||
"onSchedulerReady" | | ||
"onSchedulerResize" | | ||
"onTemplatesReady" | | ||
"onTimelineCreated" | | ||
"onViewChange" | | ||
"onViewMoreClick" | | ||
"onXLE" | | ||
"onXLS" | | ||
"onXScaleClick" | | ||
"onXScaleDblClick" | | ||
"onYScaleClick" | | ||
"onYScaleDblClick"; | ||
@@ -363,2 +446,9 @@ | ||
/** | ||
* specifies the text in the columns | ||
* @param field_name the column's id | ||
* @param event the event object | ||
*/ | ||
grid_field(field_name: string, event: any): string; | ||
/** | ||
* specifies the format of dates in columns with id='date' | ||
@@ -378,7 +468,8 @@ * @param start the date when an event is scheduled to begin | ||
/** | ||
* specifies the text in the columns | ||
* @param field_name the column's id | ||
* @param event the event object | ||
* specifies the CSS class that will be applied to a cell of the view | ||
* @param evs an array of objects of events contained in a cell (defined only in the 'cell' mode) | ||
* @param date the date of a column | ||
* @param section the section object | ||
*/ | ||
grid_field(field_name: string, event: any): string; | ||
timeline_cell_class(evs: any[], date: Date, section: any): string; | ||
@@ -394,30 +485,22 @@ /** | ||
/** | ||
* specifies the CSS class that will be applied to a cell of the view | ||
* @param evs an array of objects of events contained in a cell (defined only in the 'cell' mode) | ||
* @param date the date of a column | ||
* @param section the section object | ||
* specifies the date in the header of the view | ||
* @param date1 the date when an event is scheduled to begin | ||
* @param date2 the date when an event is scheduled to be completed | ||
*/ | ||
timeline_cell_class(evs: any[], date: Date, section: any): string; | ||
timeline_date(date1: Date, date2: Date): string; | ||
/** | ||
* specifies the name of a CSS class that will be applied to items of the X-Axis | ||
* @param date the date which needs formatting | ||
* specifies the CSS class that will be applied to a row of the Timeline view | ||
* @param section the section object | ||
* @param timeline the timeline object | ||
*/ | ||
timeline_scalex_class(date: Date): string; | ||
timeline_row_class(section: any, timeline: any): string; | ||
/** | ||
* specifies the name of a CSS class that will be applied to items of the second X-Axis | ||
* specifies items of the X-Axis | ||
* @param date the date which needs formatting | ||
*/ | ||
timeline_second_scalex_class(date: Date): string; | ||
timeline_scale_date(date: Date): string; | ||
/** | ||
* specifies the name of a CSS class that will be applied to items of the Y-Axis | ||
* @param key the section's id | ||
* @param label the section's label | ||
* @param section the section object that contains the 'key' and 'label' properties | ||
*/ | ||
timeline_scaley_class(key: string, label: string, section: any): string; | ||
/** | ||
* specifies items of the Y-Axis | ||
@@ -431,29 +514,36 @@ * @param key the section's id (key) | ||
/** | ||
* specifies the tooltip over a day cell containing some scheduled event(s) | ||
* @param start the date when an event is scheduled to begin | ||
* @param end the date when an event is scheduled to be completed | ||
* @param event the event object | ||
* specifies the name of a CSS class that will be applied to items of the X-Axis | ||
* @param date the date which needs formatting | ||
*/ | ||
timeline_tooltip(start: Date, end: Date, event: any): string; | ||
timeline_scalex_class(date: Date): string; | ||
/** | ||
* specifies the date in the header of the view | ||
* @param date1 the date when an event is scheduled to begin | ||
* @param date2 the date when an event is scheduled to be completed | ||
* specifies the name of a CSS class that will be applied to items of the Y-Axis | ||
* @param key the section's id | ||
* @param label the section's label | ||
* @param section the section object that contains the 'key' and 'label' properties | ||
*/ | ||
timeline_date(date1: Date, date2: Date): string; | ||
timeline_scaley_class(key: string, label: string, section: any): string; | ||
/** | ||
* specifies items of the X-Axis | ||
* specifies items of the second X-Axis | ||
* @param date the date which needs formatting | ||
*/ | ||
timeline_scale_date(date: Date): string; | ||
timeline_second_scale_date(date: Date): string; | ||
/** | ||
* specifies items of the second X-Axis | ||
* specifies the name of a CSS class that will be applied to items of the second X-Axis | ||
* @param date the date which needs formatting | ||
*/ | ||
timeline_second_scale_date(date: Date): string; | ||
timeline_second_scalex_class(date: Date): string; | ||
/** | ||
* specifies the tooltip over a day cell containing some scheduled event(s) | ||
* @param start the date when an event is scheduled to begin | ||
* @param end the date when an event is scheduled to be completed | ||
* @param event the event object | ||
*/ | ||
timeline_tooltip(start: Date, end: Date, event: any): string; | ||
/** | ||
* specifies the date in the header of the view | ||
@@ -485,9 +575,2 @@ * @param date the date which needs formatting | ||
/** | ||
* specifies the CSS class that will be applied to a row of the Timeline view | ||
* @param section the section object | ||
* @param timeline the timeline object | ||
*/ | ||
timeline_row_class(section: any, timeline: any): string; | ||
[customTemplate: string]: any; | ||
@@ -1004,3 +1087,3 @@ } | ||
/** | ||
* specifies the delimiter that will be used to separate several sections/units in the related data property of the event | ||
* specifies the delimeter that will be used to separate several sections/units in the related data property of the event | ||
*/ | ||
@@ -1234,2 +1317,46 @@ section_delimiter: string; | ||
export interface SchedulerFormBlock { | ||
/** | ||
* Renders the form block based on the provided configuration. | ||
* @function | ||
* @name SchedulerFormBlock#render | ||
* @param {any} config - The configuration object for the custom lightbox control. | ||
* @returns {string} Returns the HTML string representing the rendered the custom control. | ||
*/ | ||
render: (config: any) => string; | ||
/** | ||
* Sets the value of the custom lightbox control. | ||
* @function | ||
* @name SchedulerFormBlock#set_value | ||
* @param {HTMLElement} node - HTML object related to HTML defined above. | ||
* @param {*} value - value defined by map_to property. | ||
* @param {Event} ev - The event object. | ||
* @param {any} config - Section configuration object. | ||
* @returns {void} | ||
*/ | ||
set_value: (node: HTMLElement, value: any, ev: Event, config: any) => void; | ||
/** | ||
* Gets the value of the custom control. | ||
* @function | ||
* @name SchedulerFormBlock#get_value | ||
* @param {HTMLElement} node - HTML object related to HTML defined above. | ||
* @param {Event} ev - The event object. | ||
* @param {any} config - Section configuration object. | ||
* @returns {*} Returns the value of the custom lightbox control. | ||
*/ | ||
get_value: (node: HTMLElement, ev: Event, config: any) => any; | ||
/** | ||
* Focuses on the custom lightbox control. | ||
* @function | ||
* @name SchedulerFormBlock#focus | ||
* @param {HTMLElement} node - HTML object related to HTML defined above. | ||
* @returns {void} | ||
*/ | ||
focus: (node: HTMLElement) => void; | ||
} | ||
export interface SchedulerSizes { | ||
@@ -1451,5 +1578,5 @@ | ||
* @param handler the handler function | ||
* @param settings optional, an <a href="#propertiesofsettingsobject">object with settings</a> for the event handler | ||
* @param settings optional, optional, an <a href="#propertiesofsettingsobject">object with settings</a> for the event handler | ||
*/ | ||
attachEvent(name: SchedulerEventName, handler: SchedulerCallback, settings: any): string; | ||
attachEvent(name: SchedulerEventName, handler: SchedulerCallback, settings?: any): string; | ||
@@ -1945,3 +2072,3 @@ /** | ||
*/ | ||
serialize(): any[]; | ||
serialize(): void; | ||
@@ -2133,6 +2260,15 @@ /** | ||
updateView(date?: Date, view?: string): void; | ||
} | ||
// /** | ||
// * A key-value mapping of string keys to Scheduler form blocks. | ||
// * The keys represent the names of the custom lightbox controls. | ||
// * The values are objects that implement the SchedulerFormBlock interface. | ||
// */ | ||
form_blocks: { [key: string]: SchedulerFormBlock }; | ||
[customMethod: string]: any; | ||
} | ||
export declare var scheduler: SchedulerStatic; | ||
export declare var Scheduler: SchedulerEnterprise; |
{ | ||
"name": "dhtmlx-scheduler-skins", | ||
"version": "6.0.4", | ||
"version": "6.0.5", | ||
"description": "Less sources and a build tool for DHTMLXScheduler skins", | ||
@@ -5,0 +5,0 @@ "scripts": { |
{ | ||
"name": "dhtmlx-scheduler", | ||
"version": "6.0.4", | ||
"version": "6.0.5", | ||
"description": "JavaScript event calendar. Allows to manage events and appointments in different views", | ||
@@ -5,0 +5,0 @@ "main": "codebase/dhtmlxscheduler.js", |
# dhtmlxScheduler # | ||
[![dhtmlx.com](https://img.shields.io/badge/made%20by-DHTMLX-blue)](https://dhtmlx.com/) | ||
[![npm: v.6.0.4](https://img.shields.io/badge/npm-v.6.0.4-blue.svg)](https://www.npmjs.com/package/dhtmlx-scheduler) | ||
[![npm: v.6.0.5](https://img.shields.io/badge/npm-v.6.0.5-blue.svg)](https://www.npmjs.com/package/dhtmlx-scheduler) | ||
[![License: GPL v2](https://img.shields.io/badge/license-GPL%20v2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html) | ||
@@ -90,3 +90,3 @@ | ||
dhtmlxScheduler v.6.0.4 Standard | ||
dhtmlxScheduler v.6.0.5 Standard | ||
@@ -93,0 +93,0 @@ To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Individual, Commercial, Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at info@dhtmlx.com |
@@ -0,1 +1,7 @@ | ||
### 6.0.5 | ||
Fix the issue where the lightbox was not functioning in SalesForce LWC | ||
Fix for the container_autoresize issue that occurred with ignore_week when the week started on a hidden day | ||
Updated type definitions to include scheduler.form_blocks | ||
### 6.0.4 | ||
@@ -2,0 +8,0 @@ |
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 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 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
5094430
160
53972