dhtmlx-scheduler 7.0.3 → 7.0.4
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.d.ts +16 -15
- package/codebase/dhtmlxscheduler.es.d.ts +16 -15
- package/codebase/dhtmlxscheduler.es.js +2281 -2266
- package/codebase/dhtmlxscheduler.es.js.map +1 -1
- package/codebase/dhtmlxscheduler.js +32 -32
- package/codebase/dhtmlxscheduler.js.map +1 -1
- package/codebase/sources/dhtmlxscheduler.es.js +120 -101
- package/codebase/sources/dhtmlxscheduler.es.js.map +1 -1
- package/codebase/sources/dhtmlxscheduler.js +120 -101
- package/codebase/sources/dhtmlxscheduler.js.map +1 -1
- package/codebase/sources/less/package.json +1 -1
- package/package.json +1 -1
- package/whatsnew.md +8 -0
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# dhtmlxScheduler #
|
|
2
2
|
|
|
3
3
|
[](https://dhtmlx.com/)
|
|
4
|
-
[](https://www.npmjs.com/package/dhtmlx-scheduler)
|
|
5
5
|
[](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
|
|
6
6
|
|
|
7
7
|
[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.
|
|
@@ -87,7 +87,7 @@ scheduler.parse([
|
|
|
87
87
|
|
|
88
88
|
## License ##
|
|
89
89
|
|
|
90
|
-
dhtmlxScheduler v.7.0.
|
|
90
|
+
dhtmlxScheduler v.7.0.4 Standard
|
|
91
91
|
|
|
92
92
|
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 sales@dhtmlx.com
|
|
93
93
|
|
package/bower.json
CHANGED
|
@@ -103,8 +103,9 @@ export interface SchedulerTemplates {
|
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* specifies the content of the day cell of the Agenda view
|
|
106
|
+
* @param date the date which needs formatting
|
|
106
107
|
*/
|
|
107
|
-
agenda_day():
|
|
108
|
+
agenda_day(date: Date): string;
|
|
108
109
|
|
|
109
110
|
/**
|
|
110
111
|
* specifies the text in the second column of the Agenda view
|
|
@@ -170,7 +171,7 @@ export interface SchedulerTemplates {
|
|
|
170
171
|
* @param end the date when an event is scheduled to be completed
|
|
171
172
|
* @param ev the event's object
|
|
172
173
|
*/
|
|
173
|
-
drag_marker_class(start: Date, end: Date, ev: any):
|
|
174
|
+
drag_marker_class(start: Date, end: Date, ev: any): string;
|
|
174
175
|
|
|
175
176
|
/**
|
|
176
177
|
* specifies the content of the highlighted block on the time scale
|
|
@@ -178,7 +179,7 @@ export interface SchedulerTemplates {
|
|
|
178
179
|
* @param end the date when an event is scheduled to be completed
|
|
179
180
|
* @param ev the event's object
|
|
180
181
|
*/
|
|
181
|
-
drag_marker_content(start: Date, end: Date, ev: any):
|
|
182
|
+
drag_marker_content(start: Date, end: Date, ev: any): string;
|
|
182
183
|
|
|
183
184
|
/**
|
|
184
185
|
* specifies the date of an event. Applied to one-day events only
|
|
@@ -350,12 +351,12 @@ export interface SchedulerTemplates {
|
|
|
350
351
|
time_picker(): string;
|
|
351
352
|
|
|
352
353
|
/**
|
|
353
|
-
* specifies the
|
|
354
|
+
* specifies the CSS class of the background cell in the Day/Week views
|
|
354
355
|
*/
|
|
355
356
|
time_slot_class(): void;
|
|
356
357
|
|
|
357
358
|
/**
|
|
358
|
-
* specifies the content of background cell in Day/Week views
|
|
359
|
+
* specifies the content of the background cell in the Day/Week views
|
|
359
360
|
*/
|
|
360
361
|
time_slot_text(): void;
|
|
361
362
|
|
|
@@ -1149,7 +1150,7 @@ export interface SchedulerConfigOptions {
|
|
|
1149
1150
|
timeline_swap_resize: boolean;
|
|
1150
1151
|
|
|
1151
1152
|
/**
|
|
1152
|
-
* sets the length of time
|
|
1153
|
+
* sets the length of time in milliseconds before the tooltip hides
|
|
1153
1154
|
*/
|
|
1154
1155
|
tooltip_hide_timeout: number;
|
|
1155
1156
|
|
|
@@ -1598,9 +1599,9 @@ export interface SchedulerStatic {
|
|
|
1598
1599
|
alert(config: any): HTMLElement;
|
|
1599
1600
|
|
|
1600
1601
|
/**
|
|
1601
|
-
* if the specified expression is false, an errorMessage is shown in
|
|
1602
|
+
* if the specified expression is false, an errorMessage is shown in a red popup at the top right corner of the screen
|
|
1602
1603
|
* @param expression true to assert the expression, false - if assertion fails
|
|
1603
|
-
* @param errorMessage an error message that will be shown in
|
|
1604
|
+
* @param errorMessage an error message that will be shown in a red popup
|
|
1604
1605
|
*/
|
|
1605
1606
|
assert(expression: boolean, errorMessage: string): void;
|
|
1606
1607
|
|
|
@@ -1619,7 +1620,7 @@ export interface SchedulerStatic {
|
|
|
1619
1620
|
backbone(events: any): void;
|
|
1620
1621
|
|
|
1621
1622
|
/**
|
|
1622
|
-
* creates a new function that
|
|
1623
|
+
* creates a new function that when called has its <i>this</i> keyword set to the provided value
|
|
1623
1624
|
* @param method the target function
|
|
1624
1625
|
* @param thisArg the value to be passed as the <i>this</i> parameter to the target function when the bound function is called
|
|
1625
1626
|
*/
|
|
@@ -1700,14 +1701,14 @@ export interface SchedulerStatic {
|
|
|
1700
1701
|
confirm(config: any): HTMLElement;
|
|
1701
1702
|
|
|
1702
1703
|
/**
|
|
1703
|
-
* creates a deep copy of provided object
|
|
1704
|
+
* creates a deep copy of the provided object
|
|
1704
1705
|
* @param event the object that needs to be copied
|
|
1705
1706
|
*/
|
|
1706
1707
|
copy(event: any): any;
|
|
1707
1708
|
|
|
1708
1709
|
/**
|
|
1709
1710
|
* creates a new dataProcessor instance and attaches it to scheduler
|
|
1710
|
-
* @param config dataProcessor configuration object
|
|
1711
|
+
* @param config a dataProcessor configuration object
|
|
1711
1712
|
*/
|
|
1712
1713
|
createDataProcessor(config: any): any;
|
|
1713
1714
|
|
|
@@ -1765,7 +1766,7 @@ export interface SchedulerStatic {
|
|
|
1765
1766
|
destroyCalendar(name?: any): void;
|
|
1766
1767
|
|
|
1767
1768
|
/**
|
|
1768
|
-
* destroys
|
|
1769
|
+
* destroys a scheduler instance
|
|
1769
1770
|
*/
|
|
1770
1771
|
destructor(): void;
|
|
1771
1772
|
|
|
@@ -2021,7 +2022,7 @@ export interface SchedulerStatic {
|
|
|
2021
2022
|
* adds properties of the 'source' object into the 'target' object
|
|
2022
2023
|
* @param target the target object
|
|
2023
2024
|
* @param source the source object
|
|
2024
|
-
* @param force if true, properties of the 'source' will overwrite matching properties of the 'target', if there are any. If false, properties that already exist in the 'target' will be omitted
|
|
2025
|
+
* @param force if true, properties of the 'source' will overwrite the matching properties of the 'target', if there are any. If false, the properties that already exist in the 'target' will be omitted
|
|
2025
2026
|
*/
|
|
2026
2027
|
mixin(target: any, source: any, force: boolean): void;
|
|
2027
2028
|
|
|
@@ -2049,7 +2050,7 @@ export interface SchedulerStatic {
|
|
|
2049
2050
|
parse(data: any): void;
|
|
2050
2051
|
|
|
2051
2052
|
/**
|
|
2052
|
-
* activates specified extensions
|
|
2053
|
+
* activates the specified extensions
|
|
2053
2054
|
* @param ext extensions that need to be activated
|
|
2054
2055
|
*/
|
|
2055
2056
|
plugins(ext: any): void;
|
|
@@ -2158,7 +2159,7 @@ export interface SchedulerStatic {
|
|
|
2158
2159
|
|
|
2159
2160
|
/**
|
|
2160
2161
|
* sets the active skin
|
|
2161
|
-
* @param skin name of the skin.
|
|
2162
|
+
* @param skin the name of the skin. The allowed values are: "terrace", "dark", "material", "flat", "contrast-white", "contrast-black"
|
|
2162
2163
|
*/
|
|
2163
2164
|
setSkin(skin: string): void;
|
|
2164
2165
|
|
|
@@ -103,8 +103,9 @@ export interface SchedulerTemplates {
|
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* specifies the content of the day cell of the Agenda view
|
|
106
|
+
* @param date the date which needs formatting
|
|
106
107
|
*/
|
|
107
|
-
agenda_day():
|
|
108
|
+
agenda_day(date: Date): string;
|
|
108
109
|
|
|
109
110
|
/**
|
|
110
111
|
* specifies the text in the second column of the Agenda view
|
|
@@ -170,7 +171,7 @@ export interface SchedulerTemplates {
|
|
|
170
171
|
* @param end the date when an event is scheduled to be completed
|
|
171
172
|
* @param ev the event's object
|
|
172
173
|
*/
|
|
173
|
-
drag_marker_class(start: Date, end: Date, ev: any):
|
|
174
|
+
drag_marker_class(start: Date, end: Date, ev: any): string;
|
|
174
175
|
|
|
175
176
|
/**
|
|
176
177
|
* specifies the content of the highlighted block on the time scale
|
|
@@ -178,7 +179,7 @@ export interface SchedulerTemplates {
|
|
|
178
179
|
* @param end the date when an event is scheduled to be completed
|
|
179
180
|
* @param ev the event's object
|
|
180
181
|
*/
|
|
181
|
-
drag_marker_content(start: Date, end: Date, ev: any):
|
|
182
|
+
drag_marker_content(start: Date, end: Date, ev: any): string;
|
|
182
183
|
|
|
183
184
|
/**
|
|
184
185
|
* specifies the date of an event. Applied to one-day events only
|
|
@@ -350,12 +351,12 @@ export interface SchedulerTemplates {
|
|
|
350
351
|
time_picker(): string;
|
|
351
352
|
|
|
352
353
|
/**
|
|
353
|
-
* specifies the
|
|
354
|
+
* specifies the CSS class of the background cell in the Day/Week views
|
|
354
355
|
*/
|
|
355
356
|
time_slot_class(): void;
|
|
356
357
|
|
|
357
358
|
/**
|
|
358
|
-
* specifies the content of background cell in Day/Week views
|
|
359
|
+
* specifies the content of the background cell in the Day/Week views
|
|
359
360
|
*/
|
|
360
361
|
time_slot_text(): void;
|
|
361
362
|
|
|
@@ -1149,7 +1150,7 @@ export interface SchedulerConfigOptions {
|
|
|
1149
1150
|
timeline_swap_resize: boolean;
|
|
1150
1151
|
|
|
1151
1152
|
/**
|
|
1152
|
-
* sets the length of time
|
|
1153
|
+
* sets the length of time in milliseconds before the tooltip hides
|
|
1153
1154
|
*/
|
|
1154
1155
|
tooltip_hide_timeout: number;
|
|
1155
1156
|
|
|
@@ -1598,9 +1599,9 @@ export interface SchedulerStatic {
|
|
|
1598
1599
|
alert(config: any): HTMLElement;
|
|
1599
1600
|
|
|
1600
1601
|
/**
|
|
1601
|
-
* if the specified expression is false, an errorMessage is shown in
|
|
1602
|
+
* if the specified expression is false, an errorMessage is shown in a red popup at the top right corner of the screen
|
|
1602
1603
|
* @param expression true to assert the expression, false - if assertion fails
|
|
1603
|
-
* @param errorMessage an error message that will be shown in
|
|
1604
|
+
* @param errorMessage an error message that will be shown in a red popup
|
|
1604
1605
|
*/
|
|
1605
1606
|
assert(expression: boolean, errorMessage: string): void;
|
|
1606
1607
|
|
|
@@ -1619,7 +1620,7 @@ export interface SchedulerStatic {
|
|
|
1619
1620
|
backbone(events: any): void;
|
|
1620
1621
|
|
|
1621
1622
|
/**
|
|
1622
|
-
* creates a new function that
|
|
1623
|
+
* creates a new function that when called has its <i>this</i> keyword set to the provided value
|
|
1623
1624
|
* @param method the target function
|
|
1624
1625
|
* @param thisArg the value to be passed as the <i>this</i> parameter to the target function when the bound function is called
|
|
1625
1626
|
*/
|
|
@@ -1700,14 +1701,14 @@ export interface SchedulerStatic {
|
|
|
1700
1701
|
confirm(config: any): HTMLElement;
|
|
1701
1702
|
|
|
1702
1703
|
/**
|
|
1703
|
-
* creates a deep copy of provided object
|
|
1704
|
+
* creates a deep copy of the provided object
|
|
1704
1705
|
* @param event the object that needs to be copied
|
|
1705
1706
|
*/
|
|
1706
1707
|
copy(event: any): any;
|
|
1707
1708
|
|
|
1708
1709
|
/**
|
|
1709
1710
|
* creates a new dataProcessor instance and attaches it to scheduler
|
|
1710
|
-
* @param config dataProcessor configuration object
|
|
1711
|
+
* @param config a dataProcessor configuration object
|
|
1711
1712
|
*/
|
|
1712
1713
|
createDataProcessor(config: any): any;
|
|
1713
1714
|
|
|
@@ -1765,7 +1766,7 @@ export interface SchedulerStatic {
|
|
|
1765
1766
|
destroyCalendar(name?: any): void;
|
|
1766
1767
|
|
|
1767
1768
|
/**
|
|
1768
|
-
* destroys
|
|
1769
|
+
* destroys a scheduler instance
|
|
1769
1770
|
*/
|
|
1770
1771
|
destructor(): void;
|
|
1771
1772
|
|
|
@@ -2021,7 +2022,7 @@ export interface SchedulerStatic {
|
|
|
2021
2022
|
* adds properties of the 'source' object into the 'target' object
|
|
2022
2023
|
* @param target the target object
|
|
2023
2024
|
* @param source the source object
|
|
2024
|
-
* @param force if true, properties of the 'source' will overwrite matching properties of the 'target', if there are any. If false, properties that already exist in the 'target' will be omitted
|
|
2025
|
+
* @param force if true, properties of the 'source' will overwrite the matching properties of the 'target', if there are any. If false, the properties that already exist in the 'target' will be omitted
|
|
2025
2026
|
*/
|
|
2026
2027
|
mixin(target: any, source: any, force: boolean): void;
|
|
2027
2028
|
|
|
@@ -2049,7 +2050,7 @@ export interface SchedulerStatic {
|
|
|
2049
2050
|
parse(data: any): void;
|
|
2050
2051
|
|
|
2051
2052
|
/**
|
|
2052
|
-
* activates specified extensions
|
|
2053
|
+
* activates the specified extensions
|
|
2053
2054
|
* @param ext extensions that need to be activated
|
|
2054
2055
|
*/
|
|
2055
2056
|
plugins(ext: any): void;
|
|
@@ -2158,7 +2159,7 @@ export interface SchedulerStatic {
|
|
|
2158
2159
|
|
|
2159
2160
|
/**
|
|
2160
2161
|
* sets the active skin
|
|
2161
|
-
* @param skin name of the skin.
|
|
2162
|
+
* @param skin the name of the skin. The allowed values are: "terrace", "dark", "material", "flat", "contrast-white", "contrast-black"
|
|
2162
2163
|
*/
|
|
2163
2164
|
setSkin(skin: string): void;
|
|
2164
2165
|
|