Skip to content

Commit

Permalink
[update] version 7.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKlimenkov committed Jul 31, 2024
1 parent 140d7de commit 3f2a17b
Show file tree
Hide file tree
Showing 23 changed files with 33,373 additions and 22,512 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# dhtmlxScheduler #

[![dhtmlx.com](https://img.shields.io/badge/made%20by-DHTMLX-blue)](https://dhtmlx.com/)
[![npm: v.7.0.5](https://img.shields.io/badge/npm-v.7.0.5-blue.svg)](https://www.npmjs.com/package/dhtmlx-scheduler)
[![npm: v.7.1.0](https://img.shields.io/badge/npm-v.7.1.0-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)

[DHTMLX Scheduler](https://dhtmlx.com/docs/products/dhtmlxScheduler) is a JavaScript library that allows you to add a Google-like scheduler to your web app or website.
Expand Down Expand Up @@ -87,7 +87,7 @@ scheduler.parse([

## License ##

dhtmlxScheduler v.7.0.5 Standard
dhtmlxScheduler v.7.1.0 Standard

To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at [email protected]

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scheduler",
"version": "7.0.5",
"version": "7.1.0",
"homepage": "https://dhtmlx.com/docs/products/dhtmlxScheduler/",
"description": "JavaScript event calendar. Allows to manage events and appointments in different views",
"main": [
Expand Down
2 changes: 1 addition & 1 deletion codebase/dhtmlxscheduler.css

Large diffs are not rendered by default.

54 changes: 34 additions & 20 deletions codebase/dhtmlxscheduler.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ type SchedulerCallback = (...args: any[]) => any;
type SchedulerFilterCallback = { (id: string | number, event: any): boolean }


type SchedulerEventName = "onAfterEventDisplay" |
type SchedulerEventName = "onAfterBatchUpdate" |
"onAfterEventDisplay" |
"onAfterFolderToggle" |
"onAfterLightbox" |
"onAfterQuickInfo" |
"onAfterSchedulerResize" |
"onBeforeBatchUpdate" |
"onBeforeCollapse" |
"onBeforeDrag" |
"onBeforeEventChanged" |
Expand Down Expand Up @@ -253,36 +255,26 @@ export interface SchedulerTemplates {
map_date(start: Date, end: Date): string;

/**
* specifies the text in the second column of the view
* @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
*/
map_text(start: Date, end: Date, event: any): string;

/**
* specifies the date in the first column of the view
* @param start the date when an event is scheduled to begin
* @param end the date when an event is scheduled to be completed
* specifies the content of the info window in the Map View
* @param event the event object
*/
map_time(start: Date, end: Date, event: any): string;
map_info_content(event: any): void;

/**
* specifies the date of the event in the Google Maps popup marker
* specifies the text in the second column of the view
* @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
*/
marker_date(start: Date, end: Date, event: any): string;
map_text(start: Date, end: Date, event: any): string;

/**
* specifies the text of the event in the Google Maps popup marker
* specifies the date in the first column of the view
* @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
*/
marker_text(start: Date, end: Date, event: any): string;
map_time(start: Date, end: Date, event: any): string;

/**
* specifies the date in the header of the view
Expand Down Expand Up @@ -735,7 +727,7 @@ export interface SchedulerConfigOptions {
drag_event_body: boolean;

/**
* highlights the event's duration on the time scale when you drags an event over the scheduler
* highlights the event's initial position and duration on the time scale when you are dragging an event over the scheduler
*/
drag_highlight: boolean;

Expand Down Expand Up @@ -900,7 +892,7 @@ export interface SchedulerConfigOptions {
map_error_position: any;

/**
* the maximum width of the Google Maps's popup marker in the Map view
* the maximum width of the map's popup marker in the Map view
*/
map_infowindow_max_width: number;

Expand All @@ -910,7 +902,7 @@ export interface SchedulerConfigOptions {
map_initial_position: any;

/**
* sets the initial zoom of Google Maps in the Map view
* sets the initial zoom of the map in the Map view
*/
map_initial_zoom: number;

Expand All @@ -924,6 +916,11 @@ export interface SchedulerConfigOptions {
*/
map_resolve_user_location: boolean;

/**
* provides map-related configuration settings
*/
map_settings: any;

/**
* sets the date to start displaying events from
*/
Expand All @@ -934,6 +931,11 @@ export interface SchedulerConfigOptions {
*/
map_type: any;

/**
* specifies the map provider
*/
map_view_provider: string;

/**
* sets the zoom that will be used to show the user's location, if the user agrees to the browser's offer to show it
*/
Expand Down Expand Up @@ -1194,6 +1196,11 @@ export interface SchedulerConfigOptions {
*/
touch_tooltip: boolean;

/**
* provides the Undo popup when you delete an event
*/
undo_deleted: boolean;

/**
* updates the mode when the scheduler fully repaints itself on any action
*/
Expand Down Expand Up @@ -1619,6 +1626,13 @@ export interface SchedulerStatic {
*/
backbone(events: any): void;

/**
* updates multiple events at once
* @param callback the callback function
* @param noRedraw optional, optional, specifies if Scheduler should repaint the chart after the callback function; <i>true</i> - not to repaint and <i>false</i> (by default) - to repaint
*/
batchUpdate(callback: SchedulerCallback, noRedraw?: boolean): void;

/**
* creates a new function that when called has its <i>this</i> keyword set to the provided value
* @param method the target function
Expand Down
54 changes: 34 additions & 20 deletions codebase/dhtmlxscheduler.es.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ type SchedulerCallback = (...args: any[]) => any;
type SchedulerFilterCallback = { (id: string | number, event: any): boolean }


type SchedulerEventName = "onAfterEventDisplay" |
type SchedulerEventName = "onAfterBatchUpdate" |
"onAfterEventDisplay" |
"onAfterFolderToggle" |
"onAfterLightbox" |
"onAfterQuickInfo" |
"onAfterSchedulerResize" |
"onBeforeBatchUpdate" |
"onBeforeCollapse" |
"onBeforeDrag" |
"onBeforeEventChanged" |
Expand Down Expand Up @@ -253,36 +255,26 @@ export interface SchedulerTemplates {
map_date(start: Date, end: Date): string;

/**
* specifies the text in the second column of the view
* @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
*/
map_text(start: Date, end: Date, event: any): string;

/**
* specifies the date in the first column of the view
* @param start the date when an event is scheduled to begin
* @param end the date when an event is scheduled to be completed
* specifies the content of the info window in the Map View
* @param event the event object
*/
map_time(start: Date, end: Date, event: any): string;
map_info_content(event: any): void;

/**
* specifies the date of the event in the Google Maps popup marker
* specifies the text in the second column of the view
* @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
*/
marker_date(start: Date, end: Date, event: any): string;
map_text(start: Date, end: Date, event: any): string;

/**
* specifies the text of the event in the Google Maps popup marker
* specifies the date in the first column of the view
* @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
*/
marker_text(start: Date, end: Date, event: any): string;
map_time(start: Date, end: Date, event: any): string;

/**
* specifies the date in the header of the view
Expand Down Expand Up @@ -735,7 +727,7 @@ export interface SchedulerConfigOptions {
drag_event_body: boolean;

/**
* highlights the event's duration on the time scale when you drags an event over the scheduler
* highlights the event's initial position and duration on the time scale when you are dragging an event over the scheduler
*/
drag_highlight: boolean;

Expand Down Expand Up @@ -900,7 +892,7 @@ export interface SchedulerConfigOptions {
map_error_position: any;

/**
* the maximum width of the Google Maps's popup marker in the Map view
* the maximum width of the map's popup marker in the Map view
*/
map_infowindow_max_width: number;

Expand All @@ -910,7 +902,7 @@ export interface SchedulerConfigOptions {
map_initial_position: any;

/**
* sets the initial zoom of Google Maps in the Map view
* sets the initial zoom of the map in the Map view
*/
map_initial_zoom: number;

Expand All @@ -924,6 +916,11 @@ export interface SchedulerConfigOptions {
*/
map_resolve_user_location: boolean;

/**
* provides map-related configuration settings
*/
map_settings: any;

/**
* sets the date to start displaying events from
*/
Expand All @@ -934,6 +931,11 @@ export interface SchedulerConfigOptions {
*/
map_type: any;

/**
* specifies the map provider
*/
map_view_provider: string;

/**
* sets the zoom that will be used to show the user's location, if the user agrees to the browser's offer to show it
*/
Expand Down Expand Up @@ -1194,6 +1196,11 @@ export interface SchedulerConfigOptions {
*/
touch_tooltip: boolean;

/**
* provides the Undo popup when you delete an event
*/
undo_deleted: boolean;

/**
* updates the mode when the scheduler fully repaints itself on any action
*/
Expand Down Expand Up @@ -1619,6 +1626,13 @@ export interface SchedulerStatic {
*/
backbone(events: any): void;

/**
* updates multiple events at once
* @param callback the callback function
* @param noRedraw optional, optional, specifies if Scheduler should repaint the chart after the callback function; <i>true</i> - not to repaint and <i>false</i> (by default) - to repaint
*/
batchUpdate(callback: SchedulerCallback, noRedraw?: boolean): void;

/**
* creates a new function that when called has its <i>this</i> keyword set to the provided value
* @param method the target function
Expand Down
Loading

0 comments on commit 3f2a17b

Please sign in to comment.