dhtmlx-scheduler 7.2.12 → 7.2.14
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.es.js +445 -445
- package/codebase/dhtmlxscheduler.es.js.map +1 -1
- package/codebase/dhtmlxscheduler.js +49 -49
- package/codebase/dhtmlxscheduler.js.map +1 -1
- package/codebase/sources/dhtmlxscheduler.es.js +10 -9
- package/codebase/sources/dhtmlxscheduler.es.js.map +1 -1
- package/codebase/sources/dhtmlxscheduler.js +10 -9
- package/codebase/sources/dhtmlxscheduler.js.map +1 -1
- package/codebase/sources/less/package.json +1 -1
- package/package.json +1 -1
- package/whatsnew.md +11 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
})(this, function(exports2) {
|
|
4
4
|
"use strict";/** @license
|
|
5
5
|
|
|
6
|
-
dhtmlxScheduler v.7.2.
|
|
6
|
+
dhtmlxScheduler v.7.2.14 Standard
|
|
7
7
|
|
|
8
8
|
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
|
|
9
9
|
|
|
@@ -1367,13 +1367,13 @@ To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product),
|
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
1369
|
if (typeof eventData.start_date === "string") {
|
|
1370
|
-
|
|
1370
|
+
existingEvent.start_date = scheduler2.templates.parse_date(eventData.start_date);
|
|
1371
1371
|
}
|
|
1372
1372
|
if (typeof eventData.end_date === "string") {
|
|
1373
|
-
|
|
1373
|
+
existingEvent.end_date = scheduler2.templates.parse_date(eventData.end_date);
|
|
1374
1374
|
}
|
|
1375
1375
|
if (eventData.original_start && typeof eventData.original_start === "string") {
|
|
1376
|
-
|
|
1376
|
+
existingEvent.original_start = scheduler2.templates.parse_date(eventData.original_start);
|
|
1377
1377
|
}
|
|
1378
1378
|
scheduler2.callEvent("onEventChanged", [sid, existingEvent]);
|
|
1379
1379
|
scheduler2.updateEvent(sid);
|
|
@@ -9271,7 +9271,7 @@ To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product),
|
|
|
9271
9271
|
}
|
|
9272
9272
|
}
|
|
9273
9273
|
function factoryMethod(extensionManager) {
|
|
9274
|
-
const scheduler2 = { version: "7.2.
|
|
9274
|
+
const scheduler2 = { version: "7.2.14" };
|
|
9275
9275
|
scheduler2.$stateProvider = StateService();
|
|
9276
9276
|
scheduler2.getState = scheduler2.$stateProvider.getState;
|
|
9277
9277
|
extend$n(scheduler2);
|
|
@@ -18511,9 +18511,9 @@ To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product),
|
|
|
18511
18511
|
}
|
|
18512
18512
|
ev._thisAndFollowing = occurrence.id;
|
|
18513
18513
|
}
|
|
18514
|
-
function setPropsForStorageEvent(index,
|
|
18514
|
+
function setPropsForStorageEvent(index, actualData, ev, tempEvent) {
|
|
18515
18515
|
const targetIndex = ev._modified ? tempEvent.id : index;
|
|
18516
|
-
scheduler2._events[targetIndex] = { ...tempEvent,
|
|
18516
|
+
scheduler2._events[targetIndex] = { ...tempEvent, ...actualData, end_date: tempEvent._end_date, _start_date: tempEvent.start_date, _thisAndFollowing: null, _end_date: null };
|
|
18517
18517
|
if (ev._modified) {
|
|
18518
18518
|
delete scheduler2._events[index];
|
|
18519
18519
|
}
|
|
@@ -21096,15 +21096,16 @@ To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product),
|
|
|
21096
21096
|
}
|
|
21097
21097
|
function url(scheduler2) {
|
|
21098
21098
|
function parseHashParameters() {
|
|
21099
|
-
const parameters =
|
|
21099
|
+
const parameters = /* @__PURE__ */ Object.create(null);
|
|
21100
21100
|
const raw = (document.location.hash || "").replace("#", "");
|
|
21101
21101
|
if (!raw) {
|
|
21102
21102
|
return parameters;
|
|
21103
21103
|
}
|
|
21104
21104
|
const pairs = raw.split(",");
|
|
21105
|
+
const forbiddenKeys = ["__proto__", "constructor", "prototype"];
|
|
21105
21106
|
for (let i = 0; i < pairs.length; i++) {
|
|
21106
21107
|
const parts = pairs[i].split("=");
|
|
21107
|
-
if (parts.length === 2) {
|
|
21108
|
+
if (parts.length === 2 && !forbiddenKeys.includes(parts[0])) {
|
|
21108
21109
|
parameters[parts[0]] = parts[1];
|
|
21109
21110
|
}
|
|
21110
21111
|
}
|