dhtmlx-scheduler 7.0.4 → 7.1.0
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.
- package/README.md +2 -2
- package/bower.json +1 -1
- package/codebase/dhtmlxscheduler.css +1 -1
- package/codebase/dhtmlxscheduler.d.ts +34 -20
- package/codebase/dhtmlxscheduler.es.d.ts +34 -20
- package/codebase/dhtmlxscheduler.es.js +7868 -5575
- package/codebase/dhtmlxscheduler.es.js.map +1 -1
- package/codebase/dhtmlxscheduler.js +128 -42
- package/codebase/dhtmlxscheduler.js.map +1 -1
- package/codebase/sources/dhtmlxscheduler.css +124 -5
- package/codebase/sources/dhtmlxscheduler.es.js +12550 -8428
- package/codebase/sources/dhtmlxscheduler.es.js.map +1 -1
- package/codebase/sources/dhtmlxscheduler.js +12550 -8428
- package/codebase/sources/dhtmlxscheduler.js.map +1 -1
- package/codebase/sources/less/package.json +1 -1
- package/codebase/sources/less/src/agenda_legacy.less +1 -0
- package/codebase/sources/less/src/datepicker.less +3 -0
- package/codebase/sources/less/src/lightbox.less +37 -1
- package/codebase/sources/less/src/misc.less +44 -0
- package/codebase/sources/less/src/themes/contrast_black.less +2 -0
- package/codebase/sources/less/src/themes/dark.less +1 -0
- package/codebase/sources/less/src/themes/variables.less +3 -0
- package/package.json +1 -1
- package/whatsnew.md +22 -0
|
@@ -5,11 +5,13 @@ type SchedulerCallback = (...args: any[]) => any;
|
|
|
5
5
|
type SchedulerFilterCallback = { (id: string | number, event: any): boolean }
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
type SchedulerEventName = "
|
|
8
|
+
type SchedulerEventName = "onAfterBatchUpdate" |
|
|
9
|
+
"onAfterEventDisplay" |
|
|
9
10
|
"onAfterFolderToggle" |
|
|
10
11
|
"onAfterLightbox" |
|
|
11
12
|
"onAfterQuickInfo" |
|
|
12
13
|
"onAfterSchedulerResize" |
|
|
14
|
+
"onBeforeBatchUpdate" |
|
|
13
15
|
"onBeforeCollapse" |
|
|
14
16
|
"onBeforeDrag" |
|
|
15
17
|
"onBeforeEventChanged" |
|
|
@@ -253,36 +255,26 @@ export interface SchedulerTemplates {
|
|
|
253
255
|
map_date(start: Date, end: Date): string;
|
|
254
256
|
|
|
255
257
|
/**
|
|
256
|
-
* specifies the
|
|
257
|
-
* @param start the date when an event is scheduled to begin
|
|
258
|
-
* @param end the date when an event is scheduled to be completed
|
|
259
|
-
* @param event the event object
|
|
260
|
-
*/
|
|
261
|
-
map_text(start: Date, end: Date, event: any): string;
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* specifies the date in the first column of the view
|
|
265
|
-
* @param start the date when an event is scheduled to begin
|
|
266
|
-
* @param end the date when an event is scheduled to be completed
|
|
258
|
+
* specifies the content of the info window in the Map View
|
|
267
259
|
* @param event the event object
|
|
268
260
|
*/
|
|
269
|
-
|
|
261
|
+
map_info_content(event: any): void;
|
|
270
262
|
|
|
271
263
|
/**
|
|
272
|
-
* specifies the
|
|
264
|
+
* specifies the text in the second column of the view
|
|
273
265
|
* @param start the date when an event is scheduled to begin
|
|
274
266
|
* @param end the date when an event is scheduled to be completed
|
|
275
267
|
* @param event the event object
|
|
276
268
|
*/
|
|
277
|
-
|
|
269
|
+
map_text(start: Date, end: Date, event: any): string;
|
|
278
270
|
|
|
279
271
|
/**
|
|
280
|
-
* specifies the
|
|
272
|
+
* specifies the date in the first column of the view
|
|
281
273
|
* @param start the date when an event is scheduled to begin
|
|
282
274
|
* @param end the date when an event is scheduled to be completed
|
|
283
275
|
* @param event the event object
|
|
284
276
|
*/
|
|
285
|
-
|
|
277
|
+
map_time(start: Date, end: Date, event: any): string;
|
|
286
278
|
|
|
287
279
|
/**
|
|
288
280
|
* specifies the date in the header of the view
|
|
@@ -735,7 +727,7 @@ export interface SchedulerConfigOptions {
|
|
|
735
727
|
drag_event_body: boolean;
|
|
736
728
|
|
|
737
729
|
/**
|
|
738
|
-
* highlights the event's duration on the time scale when you
|
|
730
|
+
* highlights the event's initial position and duration on the time scale when you are dragging an event over the scheduler
|
|
739
731
|
*/
|
|
740
732
|
drag_highlight: boolean;
|
|
741
733
|
|
|
@@ -900,7 +892,7 @@ export interface SchedulerConfigOptions {
|
|
|
900
892
|
map_error_position: any;
|
|
901
893
|
|
|
902
894
|
/**
|
|
903
|
-
* the maximum width of the
|
|
895
|
+
* the maximum width of the map's popup marker in the Map view
|
|
904
896
|
*/
|
|
905
897
|
map_infowindow_max_width: number;
|
|
906
898
|
|
|
@@ -910,7 +902,7 @@ export interface SchedulerConfigOptions {
|
|
|
910
902
|
map_initial_position: any;
|
|
911
903
|
|
|
912
904
|
/**
|
|
913
|
-
* sets the initial zoom of
|
|
905
|
+
* sets the initial zoom of the map in the Map view
|
|
914
906
|
*/
|
|
915
907
|
map_initial_zoom: number;
|
|
916
908
|
|
|
@@ -924,6 +916,11 @@ export interface SchedulerConfigOptions {
|
|
|
924
916
|
*/
|
|
925
917
|
map_resolve_user_location: boolean;
|
|
926
918
|
|
|
919
|
+
/**
|
|
920
|
+
* provides map-related configuration settings
|
|
921
|
+
*/
|
|
922
|
+
map_settings: any;
|
|
923
|
+
|
|
927
924
|
/**
|
|
928
925
|
* sets the date to start displaying events from
|
|
929
926
|
*/
|
|
@@ -934,6 +931,11 @@ export interface SchedulerConfigOptions {
|
|
|
934
931
|
*/
|
|
935
932
|
map_type: any;
|
|
936
933
|
|
|
934
|
+
/**
|
|
935
|
+
* specifies the map provider
|
|
936
|
+
*/
|
|
937
|
+
map_view_provider: string;
|
|
938
|
+
|
|
937
939
|
/**
|
|
938
940
|
* 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
|
|
939
941
|
*/
|
|
@@ -1194,6 +1196,11 @@ export interface SchedulerConfigOptions {
|
|
|
1194
1196
|
*/
|
|
1195
1197
|
touch_tooltip: boolean;
|
|
1196
1198
|
|
|
1199
|
+
/**
|
|
1200
|
+
* provides the Undo popup when you delete an event
|
|
1201
|
+
*/
|
|
1202
|
+
undo_deleted: boolean;
|
|
1203
|
+
|
|
1197
1204
|
/**
|
|
1198
1205
|
* updates the mode when the scheduler fully repaints itself on any action
|
|
1199
1206
|
*/
|
|
@@ -1619,6 +1626,13 @@ export interface SchedulerStatic {
|
|
|
1619
1626
|
*/
|
|
1620
1627
|
backbone(events: any): void;
|
|
1621
1628
|
|
|
1629
|
+
/**
|
|
1630
|
+
* updates multiple events at once
|
|
1631
|
+
* @param callback the callback function
|
|
1632
|
+
* @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
|
|
1633
|
+
*/
|
|
1634
|
+
batchUpdate(callback: SchedulerCallback, noRedraw?: boolean): void;
|
|
1635
|
+
|
|
1622
1636
|
/**
|
|
1623
1637
|
* creates a new function that when called has its <i>this</i> keyword set to the provided value
|
|
1624
1638
|
* @param method the target function
|
|
@@ -5,11 +5,13 @@ type SchedulerCallback = (...args: any[]) => any;
|
|
|
5
5
|
type SchedulerFilterCallback = { (id: string | number, event: any): boolean }
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
type SchedulerEventName = "
|
|
8
|
+
type SchedulerEventName = "onAfterBatchUpdate" |
|
|
9
|
+
"onAfterEventDisplay" |
|
|
9
10
|
"onAfterFolderToggle" |
|
|
10
11
|
"onAfterLightbox" |
|
|
11
12
|
"onAfterQuickInfo" |
|
|
12
13
|
"onAfterSchedulerResize" |
|
|
14
|
+
"onBeforeBatchUpdate" |
|
|
13
15
|
"onBeforeCollapse" |
|
|
14
16
|
"onBeforeDrag" |
|
|
15
17
|
"onBeforeEventChanged" |
|
|
@@ -253,36 +255,26 @@ export interface SchedulerTemplates {
|
|
|
253
255
|
map_date(start: Date, end: Date): string;
|
|
254
256
|
|
|
255
257
|
/**
|
|
256
|
-
* specifies the
|
|
257
|
-
* @param start the date when an event is scheduled to begin
|
|
258
|
-
* @param end the date when an event is scheduled to be completed
|
|
259
|
-
* @param event the event object
|
|
260
|
-
*/
|
|
261
|
-
map_text(start: Date, end: Date, event: any): string;
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* specifies the date in the first column of the view
|
|
265
|
-
* @param start the date when an event is scheduled to begin
|
|
266
|
-
* @param end the date when an event is scheduled to be completed
|
|
258
|
+
* specifies the content of the info window in the Map View
|
|
267
259
|
* @param event the event object
|
|
268
260
|
*/
|
|
269
|
-
|
|
261
|
+
map_info_content(event: any): void;
|
|
270
262
|
|
|
271
263
|
/**
|
|
272
|
-
* specifies the
|
|
264
|
+
* specifies the text in the second column of the view
|
|
273
265
|
* @param start the date when an event is scheduled to begin
|
|
274
266
|
* @param end the date when an event is scheduled to be completed
|
|
275
267
|
* @param event the event object
|
|
276
268
|
*/
|
|
277
|
-
|
|
269
|
+
map_text(start: Date, end: Date, event: any): string;
|
|
278
270
|
|
|
279
271
|
/**
|
|
280
|
-
* specifies the
|
|
272
|
+
* specifies the date in the first column of the view
|
|
281
273
|
* @param start the date when an event is scheduled to begin
|
|
282
274
|
* @param end the date when an event is scheduled to be completed
|
|
283
275
|
* @param event the event object
|
|
284
276
|
*/
|
|
285
|
-
|
|
277
|
+
map_time(start: Date, end: Date, event: any): string;
|
|
286
278
|
|
|
287
279
|
/**
|
|
288
280
|
* specifies the date in the header of the view
|
|
@@ -735,7 +727,7 @@ export interface SchedulerConfigOptions {
|
|
|
735
727
|
drag_event_body: boolean;
|
|
736
728
|
|
|
737
729
|
/**
|
|
738
|
-
* highlights the event's duration on the time scale when you
|
|
730
|
+
* highlights the event's initial position and duration on the time scale when you are dragging an event over the scheduler
|
|
739
731
|
*/
|
|
740
732
|
drag_highlight: boolean;
|
|
741
733
|
|
|
@@ -900,7 +892,7 @@ export interface SchedulerConfigOptions {
|
|
|
900
892
|
map_error_position: any;
|
|
901
893
|
|
|
902
894
|
/**
|
|
903
|
-
* the maximum width of the
|
|
895
|
+
* the maximum width of the map's popup marker in the Map view
|
|
904
896
|
*/
|
|
905
897
|
map_infowindow_max_width: number;
|
|
906
898
|
|
|
@@ -910,7 +902,7 @@ export interface SchedulerConfigOptions {
|
|
|
910
902
|
map_initial_position: any;
|
|
911
903
|
|
|
912
904
|
/**
|
|
913
|
-
* sets the initial zoom of
|
|
905
|
+
* sets the initial zoom of the map in the Map view
|
|
914
906
|
*/
|
|
915
907
|
map_initial_zoom: number;
|
|
916
908
|
|
|
@@ -924,6 +916,11 @@ export interface SchedulerConfigOptions {
|
|
|
924
916
|
*/
|
|
925
917
|
map_resolve_user_location: boolean;
|
|
926
918
|
|
|
919
|
+
/**
|
|
920
|
+
* provides map-related configuration settings
|
|
921
|
+
*/
|
|
922
|
+
map_settings: any;
|
|
923
|
+
|
|
927
924
|
/**
|
|
928
925
|
* sets the date to start displaying events from
|
|
929
926
|
*/
|
|
@@ -934,6 +931,11 @@ export interface SchedulerConfigOptions {
|
|
|
934
931
|
*/
|
|
935
932
|
map_type: any;
|
|
936
933
|
|
|
934
|
+
/**
|
|
935
|
+
* specifies the map provider
|
|
936
|
+
*/
|
|
937
|
+
map_view_provider: string;
|
|
938
|
+
|
|
937
939
|
/**
|
|
938
940
|
* 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
|
|
939
941
|
*/
|
|
@@ -1194,6 +1196,11 @@ export interface SchedulerConfigOptions {
|
|
|
1194
1196
|
*/
|
|
1195
1197
|
touch_tooltip: boolean;
|
|
1196
1198
|
|
|
1199
|
+
/**
|
|
1200
|
+
* provides the Undo popup when you delete an event
|
|
1201
|
+
*/
|
|
1202
|
+
undo_deleted: boolean;
|
|
1203
|
+
|
|
1197
1204
|
/**
|
|
1198
1205
|
* updates the mode when the scheduler fully repaints itself on any action
|
|
1199
1206
|
*/
|
|
@@ -1619,6 +1626,13 @@ export interface SchedulerStatic {
|
|
|
1619
1626
|
*/
|
|
1620
1627
|
backbone(events: any): void;
|
|
1621
1628
|
|
|
1629
|
+
/**
|
|
1630
|
+
* updates multiple events at once
|
|
1631
|
+
* @param callback the callback function
|
|
1632
|
+
* @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
|
|
1633
|
+
*/
|
|
1634
|
+
batchUpdate(callback: SchedulerCallback, noRedraw?: boolean): void;
|
|
1635
|
+
|
|
1622
1636
|
/**
|
|
1623
1637
|
* creates a new function that when called has its <i>this</i> keyword set to the provided value
|
|
1624
1638
|
* @param method the target function
|