dhtmlx-scheduler 7.2.13 → 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.
@@ -3,7 +3,7 @@
3
3
  })(this, function(exports2) {
4
4
  "use strict";/** @license
5
5
 
6
- dhtmlxScheduler v.7.2.13 Standard
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
 
@@ -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.13" };
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, data, ev, tempEvent) {
18514
+ function setPropsForStorageEvent(index, actualData, ev, tempEvent) {
18515
18515
  const targetIndex = ev._modified ? tempEvent.id : index;
18516
- scheduler2._events[targetIndex] = { ...tempEvent, text: data.text, duration: data.duration, start_date: data.start_date, rrule: data.rrule, end_date: tempEvent._end_date, _start_date: tempEvent.start_date, _thisAndFollowing: null, _end_date: null };
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
  }