@daypilot/daypilot-lite-angular 3.17.0 → 3.19.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.
@@ -33,9 +33,9 @@ var DayPilot;
33
33
  class Calendar extends CalendarPropsAndEvents {
34
34
  }
35
35
  DayPilot.Calendar = Calendar;
36
- class CalendarColumn {
36
+ class Column {
37
37
  }
38
- DayPilot.CalendarColumn = CalendarColumn;
38
+ DayPilot.Column = Column;
39
39
  class MonthPropsAndEvents {
40
40
  }
41
41
  DayPilot.MonthPropsAndEvents = MonthPropsAndEvents;
@@ -130,7 +130,7 @@ DayPilot Lite
130
130
  Copyright (c) 2005 - 2023 Annpoint s.r.o.
131
131
  https://www.daypilot.org/
132
132
  Licensed under Apache Software License 2.0
133
- Version: 2023.3.494-lite
133
+ Version: 2023.4.504-lite
134
134
  */
135
135
  if ("undefined" == typeof DayPilot)
136
136
  var DayPilot = {};
@@ -976,7 +976,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
976
976
  if (this instanceof t.Calendar && !this.M && (a = !0, this.M = !0), !a)
977
977
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
978
978
  var n = this;
979
- this.uniqueID = null, this.isCalendar = !0, this.v = "2023.3.494-lite", this.id = e, this.clientName = e, this.cache = {}, this.cache.pixels = {}, this.elements = {}, this.elements.events = [], this.elements.selection = [], this.nav = {}, this.afterRender = function () { }, this.fasterDispose = !0, this.angularAutoApply = !1, this.api = 2, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.cellHeight = 30, this.columnMarginRight = 5, this.columnsLoadMethod = "GET", this.contextMenu = null, this.days = 1, this.durationBarVisible = !0, this.eventsLoadMethod = "GET", this.headerDateFormat = null, this.headerHeight = 30, this.headerTextWrappingEnabled = !1, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelHtml = null, this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.locale = "en-us", this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", this.viewType = "Days", this.visible = !0, this.xssProtection = "Enabled", this.headerClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", this.timeRangeSelectedHandling = "Enabled", this.onBeforeEventRender = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onEventRightClick = null, this.onEventRightClicked = null, this.onHeaderClick = null, this.onHeaderClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.N(); }, this.N = function () { DayPilot.de(n.elements.selection), n.elements.selection = [], n.nav.activeSelection = null; }, this.O = navigator && navigator.userAgent && navigator.userAgent.indexOf("MSIE") !== -1, this.cleanSelection = this.clearSelection, this.P = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var o = "JSON" + DayPilot.JSON.stringify(a); __doPostBack(n.uniqueID, o); }, this.R = function (e, t, i) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { n.loadingStart(); }, 100); var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var o = "JSON" + DayPilot.JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.S, o, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, o, this.T, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = n; clearInterval(e.U), e.V(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.W(), e.X(), e.nav.select = null, e.nav.cornerRight = null, e.nav.scrollable = null, e.nav.zoom = null, e.nav.loading = null, e.nav.header = null, e.nav.hourTable = null, e.nav.scrolltop = null, e.nav.scroll.onscroll = null, e.nav.scroll = null, e.nav.main = null, e.nav.message = null, e.nav.messageClose = null, e.nav.top = null, t.unregister(e); }, this.Y = function () { this.nav.top.dispose = this.dispose; }, this.S = function (e) { n.T(e.responseText); }, this.Q = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = n.days, e.startDate = n.startDate, e.heightSpec = n.heightSpec, e.businessBeginsHour = n.businessBeginsHour, e.businessEndsHour = n.businessEndsHour, e.hashes = n.hashes, e.timeFormat = n.timeFormat, e.viewType = n.viewType, e.locale = n.locale, e; }, this.Z = function (e, t) {
979
+ this.uniqueID = null, this.isCalendar = !0, this.v = "2023.4.504-lite", this.id = e, this.clientName = e, this.cache = {}, this.cache.pixels = {}, this.elements = {}, this.elements.events = [], this.elements.selection = [], this.nav = {}, this.afterRender = function () { }, this.fasterDispose = !0, this.angularAutoApply = !1, this.api = 2, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.cellHeight = 30, this.columnMarginRight = 5, this.columnsLoadMethod = "GET", this.contextMenu = null, this.days = 1, this.durationBarVisible = !0, this.eventsLoadMethod = "GET", this.headerDateFormat = null, this.headerHeight = 30, this.headerTextWrappingEnabled = !1, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelHtml = null, this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.locale = "en-us", this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", this.viewType = "Days", this.visible = !0, this.xssProtection = "Enabled", this.headerClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", this.timeRangeSelectedHandling = "Enabled", this.onBeforeEventRender = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onEventRightClick = null, this.onEventRightClicked = null, this.onHeaderClick = null, this.onHeaderClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.N(); }, this.N = function () { DayPilot.de(n.elements.selection), n.elements.selection = [], n.nav.activeSelection = null; }, this.O = navigator && navigator.userAgent && navigator.userAgent.indexOf("MSIE") !== -1, this.cleanSelection = this.clearSelection, this.P = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var o = "JSON" + DayPilot.JSON.stringify(a); __doPostBack(n.uniqueID, o); }, this.R = function (e, t, i) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { n.loadingStart(); }, 100); var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var o = "JSON" + DayPilot.JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.S, o, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, o, this.T, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = n; clearInterval(e.U), e.V(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.W(), e.X(), e.nav.select = null, e.nav.cornerRight = null, e.nav.scrollable = null, e.nav.zoom = null, e.nav.loading = null, e.nav.header = null, e.nav.hourTable = null, e.nav.scrolltop = null, e.nav.scroll.onscroll = null, e.nav.scroll = null, e.nav.main = null, e.nav.message = null, e.nav.messageClose = null, e.nav.top = null, t.unregister(e); }, this.Y = function () { this.nav.top.dispose = this.dispose; }, this.S = function (e) { n.T(e.responseText); }, this.Q = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = n.days, e.startDate = n.startDate, e.heightSpec = n.heightSpec, e.businessBeginsHour = n.businessBeginsHour, e.businessEndsHour = n.businessEndsHour, e.hashes = n.hashes, e.timeFormat = n.timeFormat, e.viewType = n.viewType, e.locale = n.locale, e; }, this.Z = function (e, t) {
980
980
  for (var i = e.parentNode; i && "TD" !== i.tagName;)
981
981
  i = i.parentNode;
982
982
  var a = document.createElement("div");
@@ -1560,19 +1560,28 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1560
1560
  }
1561
1561
  this.fasterDispose || DayPilot.pu(e);
1562
1562
  }, this.Qa = function (e) {
1563
- for (var t = e ? this.nav.header.insertRow(-1) : this.nav.header.rows[0], i = this.ta, a = i.length, o = 0; o < a; o++) {
1564
- var r = i[o], s = e ? t.insertCell(-1) : t.cells[o];
1565
- s.data = r, s.style.overflow = "hidden", s.style.padding = "0px", s.style.border = "0px none", s.style.height = this.headerHeight + "px", s.onclick = n.Ra;
1566
- var l = e ? document.createElement("div") : s.firstChild;
1567
- if (e) {
1568
- l.unselectable = "on", l.style.MozUserSelect = "none", l.style.cursor = "default", l.style.position = "relative", l.className = n.J("_colheader"), l.style.height = this.headerHeight + "px", n.headerTextWrappingEnabled || (l.style.whiteSpace = "nowrap");
1569
- var d = document.createElement("div");
1570
- d.className = n.J("_colheader_inner"), d.unselectable = "on", l.appendChild(d), s.appendChild(l);
1571
- }
1572
- r.toolTip && (d.title = r.toolTip);
1573
- var d = l.firstChild;
1574
- d.innerHTML = n.Ia(r.name, r.html);
1563
+ function t(t) {
1564
+ var o = a[t], r = e ? i.insertCell(-1) : i.cells[t];
1565
+ r.data = o, r.style.overflow = "hidden", r.style.padding = "0px", r.style.border = "0px none", r.style.height = n.headerHeight + "px", r.onclick = n.Ra;
1566
+ var s, l = e ? document.createElement("div") : r.firstChild;
1567
+ e ? (l.unselectable = "on", l.style.MozUserSelect = "none", l.style.cursor = "default", l.style.position = "relative", l.className = n.J("_colheader"), l.style.height = n.headerHeight + "px", n.headerTextWrappingEnabled || (l.style.whiteSpace = "nowrap"), s = document.createElement("div"), s.className = n.J("_colheader_inner"), s.unselectable = "on", l.appendChild(s), r.appendChild(l)) : s = l.firstChild;
1568
+ var d = {};
1569
+ d.header = {}, d.header.cssClass = null, d.header.verticalAlignment = "center", d.column = n.Sa(o, n), "function" == typeof n.onBeforeHeaderRender && (DayPilot.Util.copyProps(o, d.header, ["id", "start", "name", "html", "backColor", "toolTip", "areas"]), n.onBeforeHeaderRender(d), DayPilot.Util.copyProps(d.header, o, ["html", "backColor", "toolTip", "areas", "cssClass", "verticalAlignment"])), o.toolTip && (s.title = o.toolTip), o.cssClass && DayPilot.Util.addClass(l, o.cssClass), o.backColor && (s.style.background = o.backColor), o.areas && DayPilot.Areas.attach(l, o);
1570
+ var c = o.verticalAlignment;
1571
+ if (c)
1572
+ switch (s.style.display = "flex", c) {
1573
+ case "center":
1574
+ s.style.alignItems = "center";
1575
+ break;
1576
+ case "top":
1577
+ s.style.alignItems = "flex-start";
1578
+ break;
1579
+ case "bottom": s.style.alignItems = "flex-end";
1580
+ }
1581
+ l.firstChild.innerHTML = n.Ia(o.name, o.html);
1575
1582
  }
1583
+ for (var i = e ? this.nav.header.insertRow(-1) : this.nav.header.rows[0], a = this.ta, o = a.length, r = 0; r < o; r++)
1584
+ t(r);
1576
1585
  }, this.Ra = function (e) {
1577
1586
  if ("Disabled" !== n.headerClickHandling) {
1578
1587
  var t = this.data, i = n.Sa(t), a = {};
@@ -1584,7 +1593,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1584
1593
  this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0);
1585
1594
  this.headerCreated = !0;
1586
1595
  this.Qa(t);
1587
- }, this.loadingStart = function () { this.loadingLabelVisible && (this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.top = this.headerHeight + 5 + "px", this.nav.loading.style.display = ""); }, this.commandCallBack = function (e, t) { var i = {}; i.command = e, this.R("Command", t, i); }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.Ua = function () { var e = this.nav.scroll; e.onscroll || (e.onscroll = function () { n.Va(); }); var t = "undefined" != typeof this.Wa.scrollpos ? this.Wa.scrollpos : this.initScrollPos; t && ("Auto" === t && (t = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), e.root = this, 0 === e.scrollTop && (e.scrollTop = t)); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.Xa = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.Ya = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp), DayPilot.re(window, "unload", t.gUnload)); }, this.events = {}, this.events.add = function (e) {
1596
+ }, this.loadingStart = function () { this.loadingLabelVisible && (this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.top = this.headerHeight + 5 + "px", this.nav.loading.style.display = ""); }, this.commandCallBack = function (e, t) { var i = {}; i.command = e, this.R("Command", t, i); }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.Ua = function () { var e = this.nav.scroll; e.onscroll || (e.onscroll = function () { n.Va(); }); var t = "undefined" != typeof this.Wa.scrollpos ? this.Wa.scrollpos : this.initScrollPos; t && ("Auto" === t && (t = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), e.root = this, 0 === e.scrollTop && (e.scrollTop = t)); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.Xa = function () {
1597
+ var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight;
1598
+ t && (t.style.width = e + "px");
1599
+ }, this.Ya = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp), DayPilot.re(window, "unload", t.gUnload)); }, this.events = {}, this.events.add = function (e) {
1588
1600
  var t = null;
1589
1601
  if (e instanceof DayPilot.Event)
1590
1602
  t = e.data;
@@ -1593,7 +1605,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1593
1605
  throw "DayPilot.Calendar.events.add() expects an object or DayPilot.Event instance.";
1594
1606
  t = e;
1595
1607
  }
1596
- n.events.list || (n.events.list = []), n.events.list.push(t), n.update(), n.qa.notify();
1608
+ n.events.list || (n.events.list = []), n.events.list.push(t), n.Za({ "eventsOnly": !0 }), n.qa.notify();
1597
1609
  }, this.events.find = function (e) {
1598
1610
  if (!n.events.list)
1599
1611
  return null;
@@ -1621,7 +1633,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1621
1633
  n.events.list.splice(i, 1, e);
1622
1634
  }
1623
1635
  }
1624
- n.update(), n.qa.notify();
1636
+ n.Za({ "eventsOnly": !0 }), n.qa.notify();
1625
1637
  }, this.events.remove = function (e) {
1626
1638
  var t;
1627
1639
  if (e instanceof DayPilot.Event)
@@ -1635,7 +1647,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1635
1647
  i && (t = i.data);
1636
1648
  }
1637
1649
  var a = DayPilot.indexOf(n.events.list, t);
1638
- n.events.list.splice(a, 1), n.update(), n.qa.notify();
1650
+ n.events.list.splice(a, 1), n.Za({ "eventsOnly": !0 }), n.qa.notify();
1639
1651
  }, this.events.load = function (e, t, i) {
1640
1652
  var a = function (e) { var t = {}; t.exception = e.exception, t.request = e.request, "function" == typeof i && i(t); }, o = function (e) {
1641
1653
  var i, o = e.request;
@@ -1650,7 +1662,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1650
1662
  var s = {};
1651
1663
  if (s.preventDefault = function () { this.preventDefault.value = !0; }, s.data = i, "function" == typeof t && t(s), s.preventDefault.value)
1652
1664
  return;
1653
- n.events.list = i, n.za && n.update();
1665
+ n.events.list = i, n.za && n.Za({ "eventsOnly": !0 });
1654
1666
  }
1655
1667
  };
1656
1668
  if (n.eventsLoadMethod && "POST" === n.eventsLoadMethod.toUpperCase())
@@ -1659,7 +1671,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1659
1671
  var r = e, s = "start=" + n.visibleStart().toString() + "&end=" + n.visibleEnd().toString();
1660
1672
  r += r.indexOf("?") > -1 ? "&" + s : "?" + s, DayPilot.Http.ajax({ "method": "GET", "url": r, "success": o, "error": a });
1661
1673
  }
1662
- }, this.Za = function () {
1674
+ }, this.$a = function () {
1663
1675
  if (n.nav.top.className !== n.J("_main")) {
1664
1676
  n.nav.top.className = n.J("_main");
1665
1677
  var e = n.nav.corner;
@@ -1667,15 +1679,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1667
1679
  var t = n.nav.cornerRight;
1668
1680
  t && (t.className = n.J("_cornerright"), t.firstChild.className = n.J("_cornerright_inner"));
1669
1681
  }
1670
- }, this.update = function (e) {
1671
- if (n.$a(e), this.za) {
1672
- n._a(), n.V(), n.nav.top.style.cursor = "auto";
1673
- n.ba(), n.ea(), n.fa(), n.ga(), n.ha(), n.Na(), n.Za(), n.ab(), n.ca(), n.da(), n.s(), n.ia(), n.clearSelection(), this.visible ? this.show() : this.hide();
1682
+ }, this.update = function (e) { n._a(e), n.Za(); }, this.Za = function (e) {
1683
+ if (this.za) {
1684
+ var e = e || {}, t = !e.eventsOnly;
1685
+ n.ab(), n.V(), n.nav.top.style.cursor = "auto", t && (n.ba(), n.ea(), n.fa(), n.ga(), n.ha(), n.Na(), n.$a(), n.bb()), n.ca(), n.da(), n.s(), n.ia(), n.clearSelection(), this.visible ? this.show() : this.hide();
1674
1686
  }
1675
- }, this.bb = null, this.$a = function (e) {
1687
+ }, this.cb = null, this._a = function (e) {
1676
1688
  if (e) {
1677
1689
  var t = { "events": { "preInit": function () { var e = this.data || []; DayPilot.isArray(e.list) ? n.events.list = e.list : n.events.list = e; } }, "columns": { "preInit": function () { n.columns.list = this.data; } } };
1678
- this.bb = t;
1690
+ this.cb = t;
1679
1691
  for (var i in e)
1680
1692
  if (t[i]) {
1681
1693
  var a = t[i];
@@ -1684,13 +1696,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1684
1696
  else
1685
1697
  n[i] = e[i];
1686
1698
  }
1687
- }, this.cb = function () {
1688
- var e = this.bb;
1699
+ }, this.db = function () {
1700
+ var e = this.cb;
1689
1701
  for (var t in e) {
1690
1702
  var i = e[t];
1691
1703
  i.postInit && i.postInit();
1692
1704
  }
1693
- }, this.db = function () {
1705
+ }, this.eb = function () {
1694
1706
  if (this.id && this.id.tagName)
1695
1707
  this.nav.top = this.id;
1696
1708
  else {
@@ -1699,8 +1711,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1699
1711
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
1700
1712
  throw "DayPilot.Calendar: The placeholder element not found: '" + e + "'.";
1701
1713
  }
1702
- }, this.eb = {}, this.eb.events = [], this.fb = function (e) {
1703
- var t = this.eb.events, i = this.events.list[e], a = {};
1714
+ }, this.fb = {}, this.fb.events = [], this.gb = function (e) {
1715
+ var t = this.fb.events, i = this.events.list[e], a = {};
1704
1716
  for (var o in i)
1705
1717
  a[o] = i[o];
1706
1718
  if ("function" == typeof this.onBeforeEventRender) {
@@ -1710,7 +1722,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1710
1722
  t[e] = a;
1711
1723
  }, this.ca = function () {
1712
1724
  var e = this.events.list;
1713
- if (n.eb.events = [], e) {
1725
+ if (n.fb.events = [], e) {
1714
1726
  if (!DayPilot.isArray(e))
1715
1727
  throw new DayPilot.Exception("DayPilot.Calendar.events.list expects an array object. You supplied: " + typeof e);
1716
1728
  var t = e.length, i = 864e5;
@@ -1731,7 +1743,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1731
1743
  }
1732
1744
  if ("function" == typeof this.onBeforeEventRender)
1733
1745
  for (var o = 0; o < t; o++)
1734
- this.fb(o);
1746
+ this.gb(o);
1735
1747
  for (var o = 0; o < this.ta.length; o++) {
1736
1748
  var l = {};
1737
1749
  l.minEnd = 1e6, l.maxStart = -1, this.scrollLabels.push(l);
@@ -1751,21 +1763,21 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1751
1763
  var _ = w.boxBottom;
1752
1764
  D.part.top = Math.floor(C / this.cellHeight) * this.cellHeight + 1, D.part.height = Math.max(Math.ceil(_ / this.cellHeight) * this.cellHeight - D.part.top, this.cellHeight - 1) + 1, D.part.barTop = Math.max(C - D.part.top - 1, 0), D.part.barHeight = Math.max(P - C - 2, 1);
1753
1765
  var p = D.part.top, v = D.part.top + D.part.height;
1754
- p > l.maxStart && (l.maxStart = p), v < l.minEnd && (l.minEnd = v), p < this.minStart && (this.minStart = p), v > this.maxEnd && (this.maxEnd = v), d.events.push(D), "function" == typeof this.onBeforeEventRender && (D.cache = this.eb.events[m]), D.part.start.getTime() === y && D.part.end.getTime() === g && (a[m] = !0);
1766
+ p > l.maxStart && (l.maxStart = p), v < l.minEnd && (l.minEnd = v), p < this.minStart && (this.minStart = p), v > this.maxEnd && (this.maxEnd = v), d.events.push(D), "function" == typeof this.onBeforeEventRender && (D.cache = this.fb.events[m]), D.part.start.getTime() === y && D.part.end.getTime() === g && (a[m] = !0);
1755
1767
  }
1756
1768
  }
1757
1769
  }
1758
1770
  }
1759
1771
  for (var o = 0; o < this.ta.length; o++) {
1760
1772
  var d = this.ta[o];
1761
- d.events.sort(this.gb);
1773
+ d.events.sort(this.hb);
1762
1774
  for (var m = 0; m < d.events.length; m++) {
1763
1775
  var r = d.events[m];
1764
1776
  d.putIntoBlock(r);
1765
1777
  }
1766
1778
  for (var m = 0; m < d.blocks.length; m++) {
1767
1779
  var k = d.blocks[m];
1768
- k.events.sort(this.gb);
1780
+ k.events.sort(this.hb);
1769
1781
  for (var S = 0; S < k.events.length; S++) {
1770
1782
  var r = k.events[S];
1771
1783
  k.putIntoLine(r);
@@ -1773,7 +1785,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1773
1785
  }
1774
1786
  }
1775
1787
  }
1776
- }, this.gb = function (e, t) {
1788
+ }, this.hb = function (e, t) {
1777
1789
  if (!(e && t && e.start && t.start))
1778
1790
  return 0;
1779
1791
  var i = e.start().getTime() - t.start().getTime();
@@ -1787,30 +1799,30 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1787
1799
  var o = 18e5, r = a - i, s = r % o, l = r - s, d = l + o;
1788
1800
  0 === s && (d = l);
1789
1801
  var c = {};
1790
- return c.cut = !1, c.top = this.hb(r), c.boxTop = this.hb(l), c.boxBottom = this.hb(d), this.cache.pixels[a + "_" + i] = c, c;
1791
- }, this.hb = function (e) { return Math.floor(this.cellHeight * e / 18e5); }, this._a = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(); }, this.da = function () { this.nav.corner && (this.nav.corner.style.height = this.headerHeight + "px"); }, this.ha = function () { var e = this.Fa(); this.nav.scroll && e > 0 && (this.nav.scroll.style.height = e + "px"); }, this.qa = {}, this.qa.scope = null, this.qa.notify = function () { n.qa.scope && n.qa.scope["$apply"](); }, this.qa.apply = function (e) { e(); }, this.Va = function () {
1802
+ return c.cut = !1, c.top = this.ib(r), c.boxTop = this.ib(l), c.boxBottom = this.ib(d), this.cache.pixels[a + "_" + i] = c, c;
1803
+ }, this.ib = function (e) { return Math.floor(this.cellHeight * e / 18e5); }, this.ab = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(); }, this.da = function () { this.nav.corner && (this.nav.corner.style.height = this.headerHeight + "px"); }, this.ha = function () { var e = this.Fa(); this.nav.scroll && e > 0 && (this.nav.scroll.style.height = e + "px"); }, this.qa = {}, this.qa.scope = null, this.qa.notify = function () { n.qa.scope && n.qa.scope["$apply"](); }, this.qa.apply = function (e) { e(); }, this.Va = function () {
1792
1804
  if (n.nav.scroll) {
1793
1805
  var e = n.nav.scroll.scrollTop, t = e / (2 * n.cellHeight);
1794
1806
  n.Wa.scrollHour = t;
1795
1807
  }
1796
- }, this.ab = function () { var e = 0; n.Wa.scrollHour ? e = 2 * n.cellHeight * n.Wa.scrollHour : "Auto" === n.initScrollPos && (e = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), n.nav.scroll.scrollTop = e; }, this.ib = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof n.events.list || !n.events.list); }, this.s = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { n.visible = !0, n.nav.top.style.display = ""; }, this.hide = function () { n.visible = !1, n.nav.top.style.display = "none"; }, this.jb = function () { this._a(), this.ba(), this.Ea(), this.ea(), this.fa(), this.Xa(), this.Ua(), this.Ya(), t.register(this), this.kb(), this.R("Init"); }, this.Wa = {}, this.lb = function () { this.Wa.themes = [], this.Wa.themes.push(this.theme || this.cssClassPrefix); }, this.mb = function () {
1808
+ }, this.bb = function () { var e = 0; "number" == typeof n.Wa.scrollHour ? e = 2 * n.cellHeight * n.Wa.scrollHour : "Auto" === n.initScrollPos && (e = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), n.nav.scroll.scrollTop = e; }, this.jb = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof n.events.list || !n.events.list); }, this.s = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { n.visible = !0, n.nav.top.style.display = ""; }, this.hide = function () { n.visible = !1, n.nav.top.style.display = "none"; }, this.kb = function () { this.ab(), this.ba(), this.Ea(), this.ea(), this.fa(), this.Xa(), this.Ua(), this.Ya(), t.register(this), this.lb(), this.R("Init"); }, this.Wa = {}, this.mb = function () { this.Wa.themes = [], this.Wa.themes.push(this.theme || this.cssClassPrefix); }, this.nb = function () {
1797
1809
  for (var e = this.Wa.themes, t = 0; t < e.length; t++) {
1798
1810
  var i = e[t];
1799
1811
  DayPilot.Util.removeClass(this.nav.top, i + "_main");
1800
1812
  }
1801
1813
  this.Wa.themes = [];
1802
- }, this.nb = function () {
1814
+ }, this.ob = function () {
1803
1815
  if (this.afterRender(null, !1), "function" == typeof this.onAfterRender) {
1804
1816
  var e = {};
1805
1817
  e.isCallBack = !1, this.onAfterRender(e);
1806
1818
  }
1807
- }, this.ob = function () {
1808
- if ("function" == typeof this.onInit && !this.pb) {
1809
- this.pb = !0;
1819
+ }, this.pb = function () {
1820
+ if ("function" == typeof this.onInit && !this.qb) {
1821
+ this.qb = !0;
1810
1822
  var e = {};
1811
1823
  this.onInit(e);
1812
1824
  }
1813
- }, this.qb = function () { var e = n.nav.top; return !!e && (e.offsetWidth > 0 && e.offsetHeight > 0); }, this.kb = function () { var e = n.qb; e() || (n.U = setInterval(function () { e() && (n.Ua(), n.Xa(), clearInterval(n.U)); }, 100)); }, this.Ia = function (e, t) { return n._.aa() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = n.$a, this.internal.xssTextHtml = n.Ia, this.init = function () { this.db(); var e = this.ib(); return this.lb(), e ? void this.jb() : (this._a(), this.ba(), this.ca(), this.Ea(), this.ea(), this.fa(), this.s(), this.Xa(), this.Ua(), this.Ya(), t.register(this), this.events && (this.da(), this.ia()), this.nb(), this.ob(), this.kb(), this.za = !0, this); }, this.Init = this.init, this.$a(i);
1825
+ }, this.rb = function () { var e = n.nav.top; return !!e && (e.offsetWidth > 0 && e.offsetHeight > 0); }, this.lb = function () { var e = n.rb; e() || (n.U = setInterval(function () { e() && (n.Ua(), n.Xa(), clearInterval(n.U)); }, 100)); }, this.Ia = function (e, t) { return n._.aa() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = n._a, this.internal.xssTextHtml = n.Ia, this.init = function () { this.eb(); var e = this.jb(); return this.mb(), e ? void this.kb() : (this.ab(), this.ba(), this.ca(), this.Ea(), this.ea(), this.fa(), this.s(), this.Xa(), this.Ua(), this.Ya(), t.register(this), this.events && (this.da(), this.ia()), this.ob(), this.pb(), this.lb(), this.za = !0, this); }, this.Init = this.init, this._a(i);
1814
1826
  }, DayPilot.CalendarColumn = function (e, t) { var i = this; i.id = e.id, i.name = e.name, i.data = e.data, i.start = new DayPilot.Date(e.start), i.calendar = t, i.toJSON = function () { var e = {}; return e.id = this.id, this.start && (e.start = this.start.toString()), e.name = this.name, e; }; }, DayPilot.Calendar = t.Calendar, "undefined" != typeof jQuery && !function (e) {
1815
1827
  e.fn.daypilotCalendar = function (e) {
1816
1828
  var t = null, i = this.each(function () {
@@ -1842,7 +1854,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1842
1854
  l.call(t, d, function (e) {
1843
1855
  for (var t in e)
1844
1856
  n[t] = e[t];
1845
- n.update(), n.ob();
1857
+ n.update(), n.pb();
1846
1858
  }, !0), l.call(t, c, function (e) { n.events.list = e, n.update(); }, !0);
1847
1859
  } };
1848
1860
  }]);
@@ -1852,13 +1864,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1852
1864
  var DayPilot = {};
1853
1865
  if (function () {
1854
1866
  "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (e) {
1855
- this.v = "2023.3.494-lite";
1867
+ this.v = "2023.4.504-lite";
1856
1868
  var t = "navigator_" + (new Date).getTime(), i = this;
1857
1869
  this.onShow = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.prepare = function () {
1858
1870
  if (this.locale = "en-us", this.target = null, this.targetAlignment = "left", this.resetTarget = !0, this.pattern = this._.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, e)
1859
1871
  for (var t in e)
1860
1872
  this[t] = e[t];
1861
- }, this.init = function () { this.date = new DayPilot.Date(this.date); var e = this.rb(); this.resetTarget && !e ? this.sb(this.date) : this.resetTarget || (i.date = e); var t = this.B(); return t && t.addEventListener("input", function () { i.date = i.rb(), i.date && i.navigator.select(i.date, { dontNotify: !0 }); }), document.addEventListener("mousedown", function () { i.close(); }), this; }, this.close = function () { this.qb && (this.qb = !1, this.navigator && this.navigator.dispose(), this.div.innerHTML = "", this.div && this.div.parentNode === document.body && document.body.removeChild(this.div)); }, this.setDate = function (e) { this.date = new DayPilot.Date(e), this.sb(this.date); }, this.rb = function () {
1873
+ }, this.init = function () { this.date = new DayPilot.Date(this.date); var e = this.sb(); this.resetTarget && !e ? this.tb(this.date) : this.resetTarget || (i.date = e); var t = this.B(); return t && t.addEventListener("input", function () { i.date = i.sb(), i.date && i.navigator.select(i.date, { dontNotify: !0 }); }), document.addEventListener("mousedown", function () { i.close(); }), this; }, this.close = function () { this.rb && (this.rb = !1, this.navigator && this.navigator.dispose(), this.div.innerHTML = "", this.div && this.div.parentNode === document.body && document.body.removeChild(this.div)); }, this.setDate = function (e) { this.date = new DayPilot.Date(e), this.tb(this.date); }, this.sb = function () {
1862
1874
  var e = this.B();
1863
1875
  if (!e)
1864
1876
  return this.date;
@@ -1871,26 +1883,26 @@ if (function () {
1871
1883
  a = DayPilot.Date.parse(t, i.patterns[n]);
1872
1884
  }
1873
1885
  return a;
1874
- }, this.sb = function (e) {
1886
+ }, this.tb = function (e) {
1875
1887
  var t = this.B();
1876
1888
  if (t) {
1877
1889
  var a = e.toString(i.pattern, i.locale);
1878
1890
  "INPUT" === t.tagName ? t.value = a : t.innerHTML = a;
1879
1891
  }
1880
- }, this._ = {}, this._.locale = function () { return DayPilot.Locale.find(i.locale); }, this.B = function () { var e = this.target; return e && e.nodeType && 1 === e.nodeType ? e : document.getElementById(e); }, Object.defineProperty(this, "visible", { get: function () { return i.qb; } }), this.show = function () {
1881
- if (!this.qb) {
1892
+ }, this._ = {}, this._.locale = function () { return DayPilot.Locale.find(i.locale); }, this.B = function () { var e = this.target; return e && e.nodeType && 1 === e.nodeType ? e : document.getElementById(e); }, Object.defineProperty(this, "visible", { get: function () { return i.rb; } }), this.show = function () {
1893
+ if (!this.rb) {
1882
1894
  var e = this.B(), a = this.navigator, a = new DayPilot.Navigator(t);
1883
- a.api = 2, a.cssOnly = !0, a.theme = i.theme, a.weekStarts = "Auto", a.locale = i.locale, a.onTimeRangeSelected = function (e) { i.date = e.start; var t = e.start.addTime(a.tb), n = t.toString(i.pattern, i.locale), e = {}; e.start = t, e.date = t, e.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof i.onTimeRangeSelect && (i.onTimeRangeSelect(e), e.preventDefault.value) || (i.sb(n), i.close(), "function" == typeof i.onTimeRangeSelected && i.onTimeRangeSelected(e)); }, this.navigator = a;
1895
+ a.api = 2, a.cssOnly = !0, a.theme = i.theme, a.weekStarts = "Auto", a.locale = i.locale, a.onTimeRangeSelected = function (e) { i.date = e.start; var t = e.start.addTime(a.ub), n = t.toString(i.pattern, i.locale), e = {}; e.start = t, e.date = t, e.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof i.onTimeRangeSelect && (i.onTimeRangeSelect(e), e.preventDefault.value) || (i.tb(n), i.close(), "function" == typeof i.onTimeRangeSelected && i.onTimeRangeSelected(e)); }, this.navigator = a;
1884
1896
  var n = DayPilot.abs(e), o = e.offsetHeight, r = i.targetAlignment, s = document.createElement("div");
1885
1897
  s.style.position = "absolute", "left" === r && (s.style.left = n.x + "px"), s.style.top = n.y + o + "px", i.zIndex && (s.style.zIndex = i.zIndex);
1886
1898
  var l = document.createElement("div");
1887
1899
  l.id = t, s.appendChild(l), s.addEventListener("mousedown", function (e) { var e = e || window.event; e.cancelBubble = !0, e.stopPropagation && e.stopPropagation(); }), document.body.appendChild(s), this.div = s;
1888
- var d = i.rb() || (new DayPilot.Date).getDatePart();
1889
- if (a.startDate = d, a.tb = d.getTimePart(), a.selectionDay = d.getDatePart(), a.init(), "right" === r) {
1900
+ var d = i.sb() || (new DayPilot.Date).getDatePart();
1901
+ if (a.startDate = d, a.ub = d.getTimePart(), a.selectionDay = d.getDatePart(), a.init(), "right" === r) {
1890
1902
  var c = n.x + e.offsetWidth - a.nav.top.offsetWidth;
1891
1903
  s.style.left = c + "px";
1892
1904
  }
1893
- this.qb = !0, this.onShow && this.onShow();
1905
+ this.rb = !0, this.onShow && this.onShow();
1894
1906
  }
1895
1907
  }, this.prepare(), this.init();
1896
1908
  });
@@ -1902,10 +1914,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1902
1914
  var e = function () { }, t = {};
1903
1915
  t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (i) {
1904
1916
  var a = this, n = null;
1905
- this.v = "2023.3.494-lite", this.zIndex = 120, this.cssClassPrefix = "menu_default", this.cssOnly = !0, this.menuTitle = null, this.showMenuTitle = !1, this.hideOnMouseOut = !1, this.hideAfter = 200, this.theme = null, this.onShow = null, this.ub = function () { }, i && DayPilot.isArray(i) && (this.items = i), this.toJSON = function () { return null; }, this.show = function (i, o) {
1917
+ this.v = "2023.4.504-lite", this.zIndex = 120, this.cssClassPrefix = "menu_default", this.cssOnly = !0, this.menuTitle = null, this.showMenuTitle = !1, this.hideOnMouseOut = !1, this.hideAfter = 200, this.theme = null, this.onShow = null, this.vb = function () { }, i && DayPilot.isArray(i) && (this.items = i), this.toJSON = function () { return null; }, this.show = function (i, o) {
1906
1918
  o = o || {};
1907
1919
  var r = null;
1908
- if (i ? "string" == typeof i.id || "number" == typeof i.id ? r = i.id : "function" == typeof i.id ? r = i.id() : "function" == typeof i.value && (r = i.value()) : r = null, "undefined" != typeof DayPilot.Bubble && DayPilot.Bubble.hideActive(), o.submenu || t.menuClean(), this.ub.submenu = null, null !== t.mouse) {
1920
+ if (i ? "string" == typeof i.id || "number" == typeof i.id ? r = i.id : "function" == typeof i.id ? r = i.id() : "function" == typeof i.value && (r = i.value()) : r = null, "undefined" != typeof DayPilot.Bubble && DayPilot.Bubble.hideActive(), o.submenu || t.menuClean(), this.vb.submenu = null, null !== t.mouse) {
1909
1921
  a.cssOnly || (a.cssOnly = !0);
1910
1922
  var s = null;
1911
1923
  if (i && i.isRow && i.$.row.task ? (s = new DayPilot.Task(i.$.row.task, i.calendar), s.menuType = "resource") : s = i && i.isEvent && i.data.task ? new DayPilot.Task(i, i.calendar) : i, "function" == typeof a.onShow) {
@@ -1914,15 +1926,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1914
1926
  return;
1915
1927
  }
1916
1928
  var d = document.createElement("div");
1917
- if (d.style.position = "absolute", d.style.top = "0px", d.style.left = "0px", d.style.display = "none", d.style.overflow = "hidden", d.style.zIndex = this.zIndex + 1, d.className = this.vb("main"), d.onclick = function (e) { e.cancelBubble = !0, this.parentNode.removeChild(this); }, this.hideOnMouseOut && (d.onmousemove = function (e) { clearTimeout(t.hideTimeout); }, d.onmouseleave = function (e) { a.delayedHide({ "hideParent": !0 }); }), !this.items || 0 === this.items.length)
1929
+ if (d.style.position = "absolute", d.style.top = "0px", d.style.left = "0px", d.style.display = "none", d.style.overflow = "hidden", d.style.zIndex = this.zIndex + 1, d.className = this.wb("main"), d.onclick = function (e) { e.cancelBubble = !0, this.parentNode.removeChild(this); }, this.hideOnMouseOut && (d.onmousemove = function (e) { clearTimeout(t.hideTimeout); }, d.onmouseleave = function (e) { a.delayedHide({ "hideParent": !0 }); }), !this.items || 0 === this.items.length)
1918
1930
  throw "No menu items defined.";
1919
1931
  if (this.showMenuTitle) {
1920
1932
  var c = document.createElement("div");
1921
- c.innerHTML = this.menuTitle, c.className = this.vb("title"), d.appendChild(c);
1933
+ c.innerHTML = this.menuTitle, c.className = this.wb("title"), d.appendChild(c);
1922
1934
  }
1923
1935
  for (var u = 0; u < this.items.length; u++) {
1924
1936
  var h = this.items[u], f = document.createElement("div");
1925
- if (DayPilot.Util.addClass(f, this.vb("item")), h.items && (DayPilot.Util.addClass(f, this.vb("item_haschildren")), DayPilot.Util.addClass(d, this.vb("withchildren"))), "undefined" != typeof h && !h.hidden) {
1937
+ if (DayPilot.Util.addClass(f, this.wb("item")), h.items && (DayPilot.Util.addClass(f, this.wb("item_haschildren")), DayPilot.Util.addClass(d, this.wb("withchildren"))), "undefined" != typeof h && !h.hidden) {
1926
1938
  if ("-" === h.text) {
1927
1939
  var m = document.createElement("div");
1928
1940
  m.addEventListener("click", function (e) { e.stopPropagation(); }), f.appendChild(m);
@@ -1930,7 +1942,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1930
1942
  else {
1931
1943
  var p = document.createElement("a");
1932
1944
  if (p.style.position = "relative", p.style.display = "block", h.cssClass && DayPilot.Util.addClass(p, h.cssClass), h.disabled)
1933
- DayPilot.Util.addClass(p, a.vb("item_disabled"));
1945
+ DayPilot.Util.addClass(p, a.wb("item_disabled"));
1934
1946
  else {
1935
1947
  if (h.onclick || h.onClick) {
1936
1948
  p.item = h, p.onclick = function (e, t) {
@@ -1958,7 +1970,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1958
1970
  DayPilot.reNonPassive(p, "touchstart", function (e) { e.stopPropagation(), e.preventDefault(), p.source.calendar.internal.touch.active = !0; }), DayPilot.reNonPassive(p, "touchend", v(h, p));
1959
1971
  }
1960
1972
  if (h.items && !h.disabled) {
1961
- var y = function (e, t) { return function (i) { i.preventDefault(), i.stopPropagation(), a.wb(e, t); }; };
1973
+ var y = function (e, t) { return function (i) { i.preventDefault(), i.stopPropagation(), a.xb(e, t); }; };
1962
1974
  p.ontouchend = y(h, p);
1963
1975
  }
1964
1976
  if (h.onclick)
@@ -1994,13 +2006,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1994
2006
  }
1995
2007
  h.items && p.addEventListener("click", function (e) { e.stopPropagation(); }), p.source = s, p.menuSource = i;
1996
2008
  var g = document.createElement("span");
1997
- if (g.className = a.vb("item_text"), g.innerHTML = DayPilot.Util.escapeTextHtml(h.text, h.html), p.appendChild(g), h.image) {
2009
+ if (g.className = a.wb("item_text"), g.innerHTML = DayPilot.Util.escapeTextHtml(h.text, h.html), p.appendChild(g), h.image) {
1998
2010
  var b = document.createElement("img");
1999
2011
  b.src = h.image, b.style.position = "absolute", b.style.top = "0px", b.style.left = "0px", p.appendChild(b);
2000
2012
  }
2001
2013
  if (h.icon) {
2002
2014
  var D = document.createElement("span");
2003
- D.className = a.vb("item_icon");
2015
+ D.className = a.wb("item_icon");
2004
2016
  var x = document.createElement("i");
2005
2017
  x.className = h.icon, D.appendChild(x), p.appendChild(D);
2006
2018
  }
@@ -2010,7 +2022,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2010
2022
  var P = document.createElementNS(w, "use");
2011
2023
  P.setAttribute("href", h.symbol), C.appendChild(P);
2012
2024
  var _ = document.createElement("span");
2013
- _.className = a.vb("item_symbol"), _.style.position = "absolute", _.style.top = "0px", _.style.left = "0px", _.appendChild(C), p.appendChild(_);
2025
+ _.className = a.wb("item_symbol"), _.style.position = "absolute", _.style.top = "0px", _.style.left = "0px", _.appendChild(C), p.appendChild(_);
2014
2026
  }
2015
2027
  var k = function (e, i) {
2016
2028
  return function () {
@@ -2020,7 +2032,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2020
2032
  return;
2021
2033
  clearTimeout(o.timeout), t.waitingSubmenu = null;
2022
2034
  }
2023
- e.disabled || (t.waitingSubmenu = {}, t.waitingSubmenu.parent = n, t.waitingSubmenu.timeout = setTimeout(function () { t.waitingSubmenu = null, a.wb(n, i); }, 300));
2035
+ e.disabled || (t.waitingSubmenu = {}, t.waitingSubmenu.parent = n, t.waitingSubmenu.timeout = setTimeout(function () { t.waitingSubmenu = null, a.xb(n, i); }, 300));
2024
2036
  };
2025
2037
  };
2026
2038
  p.onmouseover = k(h, p), f.appendChild(p);
@@ -2029,7 +2041,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2029
2041
  }
2030
2042
  }
2031
2043
  var S = function (e) { window.setTimeout(function () { t.menuClean(), DayPilot.MenuBar.deactivate(); }, 100); };
2032
- d.onclick = S, d.ontouchend = S, d.onmousedown = function (e) { e = e || window.event, e.cancelBubble = !0, e.stopPropagation && e.stopPropagation(); }, d.oncontextmenu = function () { return !1; }, document.body.appendChild(d), a.ub.visible = !0, a.ub.source = i, d.style.display = "";
2044
+ d.onclick = S, d.ontouchend = S, d.onmousedown = function (e) { e = e || window.event, e.cancelBubble = !0, e.stopPropagation && e.stopPropagation(); }, d.oncontextmenu = function () { return !1; }, document.body.appendChild(d), a.vb.visible = !0, a.vb.source = i, d.style.display = "";
2033
2045
  var M = d.offsetHeight, T = d.offsetWidth;
2034
2046
  d.style.display = "none";
2035
2047
  var A = document.documentElement.clientHeight, E = window.innerWidth, H = "number" == typeof o.windowMargin ? o.windowMargin : 5;
@@ -2062,18 +2074,18 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2062
2074
  var R = document.body.scrollTop + document.documentElement.scrollTop;
2063
2075
  U + M - R > A && (U = Math.max(0, A - M + R)), d.style.left = O + "px", d.style.top = U + "px";
2064
2076
  }
2065
- d.style.display = "", this.addShadow(d), this.ub.div = d, o.submenu || (DayPilot.Menu.active = this);
2077
+ d.style.display = "", this.addShadow(d), this.vb.div = d, o.submenu || (DayPilot.Menu.active = this);
2066
2078
  }
2067
- }, this.wb = function (e, t) {
2079
+ }, this.xb = function (e, t) {
2068
2080
  var i = e, n = t.source;
2069
- if ((!a.ub.submenu || a.ub.submenu.item !== e) && (a.ub.submenu && a.ub.submenu.item !== e && (DayPilot.Util.removeClass(a.ub.submenu.link.parentNode, a.vb("item_haschildren_active")), a.ub.submenu.menu.hide(), a.ub.submenu = null), e.items)) {
2081
+ if ((!a.vb.submenu || a.vb.submenu.item !== e) && (a.vb.submenu && a.vb.submenu.item !== e && (DayPilot.Util.removeClass(a.vb.submenu.link.parentNode, a.wb("item_haschildren_active")), a.vb.submenu.menu.hide(), a.vb.submenu = null), e.items)) {
2070
2082
  var o = a.cloneOptions();
2071
- o.items = e.items, a.ub.submenu = {}, a.ub.submenu.menu = new DayPilot.Menu(o), a.ub.submenu.menu.xb = a, a.ub.submenu.menu.show(n, { "submenu": !0, "parentLink": t, "parentItem": i }), a.ub.submenu.item = e, a.ub.submenu.link = t, DayPilot.Util.addClass(t.parentNode, a.vb("item_haschildren_active"));
2083
+ o.items = e.items, a.vb.submenu = {}, a.vb.submenu.menu = new DayPilot.Menu(o), a.vb.submenu.menu.yb = a, a.vb.submenu.menu.show(n, { "submenu": !0, "parentLink": t, "parentItem": i }), a.vb.submenu.item = e, a.vb.submenu.link = t, DayPilot.Util.addClass(t.parentNode, a.wb("item_haschildren_active"));
2072
2084
  }
2073
- }, this.vb = function (e) { var t = this.theme || this.cssClassPrefix, i = this.cssOnly ? "_" : ""; return t ? t + i + e : ""; }, this.cloneOptions = function () { return DayPilot.Util.copyProps(o, {}, ["cssClassPrefix", "theme", "hideAfter", "hideOnMouseOut", "zIndex"]); }, this.hide = function (e) {
2074
- e = e || {}, this.ub.submenu && this.ub.submenu.menu.hide();
2085
+ }, this.wb = function (e) { var t = this.theme || this.cssClassPrefix, i = this.cssOnly ? "_" : ""; return t ? t + i + e : ""; }, this.cloneOptions = function () { return DayPilot.Util.copyProps(o, {}, ["cssClassPrefix", "theme", "hideAfter", "hideOnMouseOut", "zIndex"]); }, this.hide = function (e) {
2086
+ e = e || {}, this.vb.submenu && this.vb.submenu.menu.hide();
2075
2087
  var i = t.waitingSubmenu;
2076
- if (i && (t.waitingSubmenu = null, clearTimeout(i.timeout)), this.removeShadow(), this.ub.div && this.ub.div.parentNode === document.body && document.body.removeChild(this.ub.div), n && (DayPilot.de(n), n = null), a.ub.visible = !1, a.ub.source = null, a.xb && e.hideParent && a.xb.hide(e), DayPilot.Menu.active === a && (DayPilot.Menu.active = null), "function" == typeof this.onHide) {
2088
+ if (i && (t.waitingSubmenu = null, clearTimeout(i.timeout)), this.removeShadow(), this.vb.div && this.vb.div.parentNode === document.body && document.body.removeChild(this.vb.div), n && (DayPilot.de(n), n = null), a.vb.visible = !1, a.vb.source = null, a.yb && e.hideParent && a.yb.hide(e), DayPilot.Menu.active === a && (DayPilot.Menu.active = null), "function" == typeof this.onHide) {
2077
2089
  var o = {};
2078
2090
  this.onHide(o);
2079
2091
  }
@@ -2087,28 +2099,28 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2087
2099
  t = t || {}, this.items = [], this.theme = "menubar_default", this.windowMargin = 0, this.nav = {}, this.elements = {}, this.elements.items = DayPilot.list(), this.k = null, this.za = !1;
2088
2100
  for (var a in t)
2089
2101
  this[a] = t[a];
2090
- this.yb = function (e) { return this.theme + "_" + e; }, this.s = function () {
2102
+ this.zb = function (e) { return this.theme + "_" + e; }, this.s = function () {
2091
2103
  this.nav.top = document.getElementById(e);
2092
2104
  var t = this.nav.top;
2093
- t.className = this.yb("main"), DayPilot.list(i.items).forEach(function (e) {
2105
+ t.className = this.zb("main"), DayPilot.list(i.items).forEach(function (e) {
2094
2106
  var a = document.createElement("span");
2095
- a.innerHTML = DayPilot.Util.escapeTextHtml(e.text, e.html), a.className = i.yb("item"), e.cssClass && a.classList.add(e.cssClass), a.data = e, a.onclick = function (t) {
2107
+ a.innerHTML = DayPilot.Util.escapeTextHtml(e.text, e.html), a.className = i.zb("item"), e.cssClass && a.classList.add(e.cssClass), a.data = e, a.onclick = function (t) {
2096
2108
  if (i.active && i.active.item === e)
2097
- i.zb();
2109
+ i.Ab();
2098
2110
  else if (e.children)
2099
- return void i.Ab(a);
2111
+ return void i.Bb(a);
2100
2112
  if ("function" == typeof e.onClick) {
2101
2113
  var n = {};
2102
2114
  n.item = e, n.originalEvent = t, e.onClick(n);
2103
2115
  }
2104
- }, a.onmousedown = function (e) { e.stopPropagation(); }, a.onmouseover = function () { i.active && i.active.item !== e && i.Ab(a); }, t.appendChild(a), i.elements.items.push(a);
2116
+ }, a.onmousedown = function (e) { e.stopPropagation(); }, a.onmouseover = function () { i.active && i.active.item !== e && i.Bb(a); }, t.appendChild(a), i.elements.items.push(a);
2105
2117
  });
2106
- }, this.zb = function () { var e = i.yb("item_active"); i.elements.items.forEach(function (t) { DayPilot.Util.removeClass(t, e); }), i.active && i.active.menu && i.active.menu.hide(), i.active = null; }, this.Bb = function (e) { return !!i.active && i.active.item === e.data; }, this.Ab = function (e) {
2107
- if (!i.Bb(e)) {
2108
- i.zb();
2118
+ }, this.Ab = function () { var e = i.zb("item_active"); i.elements.items.forEach(function (t) { DayPilot.Util.removeClass(t, e); }), i.active && i.active.menu && i.active.menu.hide(), i.active = null; }, this.Cb = function (e) { return !!i.active && i.active.item === e.data; }, this.Bb = function (e) {
2119
+ if (!i.Cb(e)) {
2120
+ i.Ab();
2109
2121
  var t = e.data, a = i.active = {};
2110
2122
  a.item = t, a.div = e;
2111
- var n = i.yb("item_active");
2123
+ var n = i.zb("item_active");
2112
2124
  DayPilot.Util.addClass(e, n);
2113
2125
  var o = DayPilot.abs(e);
2114
2126
  if (t.children) {
@@ -2119,7 +2131,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2119
2131
  DayPilot.MenuBar.active = i;
2120
2132
  }
2121
2133
  }, this.init = function () { return this.s(), this.za = !0, this; }, this.dispose = function () { this.za && (this.nav.top.innerHTML = "", this.elements.items = []); };
2122
- }, DayPilot.MenuBar.deactivate = function () { DayPilot.MenuBar.active && (DayPilot.MenuBar.active.zb(), DayPilot.MenuBar.active = null); }, t.menuClean = function () { "undefined" != typeof DayPilot.Menu.active && DayPilot.Menu.active && (DayPilot.Menu.active.hide(), DayPilot.Menu.active = null); }, t.mouseDown = function (e) { "undefined" != typeof t && (t.menuClean(), DayPilot.MenuBar.deactivate()); }, t.mouseMove = function (e) { "undefined" != typeof t && (t.mouse = t.mousePosition(e)); }, t.touchMove = function (e) { "undefined" != typeof t && (t.mouse = t.touchPosition(e)); }, t.touchStart = function (e) { "undefined" != typeof t && (t.mouse = t.touchPosition(e)); }, t.touchEnd = function (e) { }, t.touchPosition = function (e) {
2134
+ }, DayPilot.MenuBar.deactivate = function () { DayPilot.MenuBar.active && (DayPilot.MenuBar.active.Ab(), DayPilot.MenuBar.active = null); }, t.menuClean = function () { "undefined" != typeof DayPilot.Menu.active && DayPilot.Menu.active && (DayPilot.Menu.active.hide(), DayPilot.Menu.active = null); }, t.mouseDown = function (e) { "undefined" != typeof t && (t.menuClean(), DayPilot.MenuBar.deactivate()); }, t.mouseMove = function (e) { "undefined" != typeof t && (t.mouse = t.mousePosition(e)); }, t.touchMove = function (e) { "undefined" != typeof t && (t.mouse = t.touchPosition(e)); }, t.touchStart = function (e) { "undefined" != typeof t && (t.mouse = t.touchPosition(e)); }, t.touchEnd = function (e) { }, t.touchPosition = function (e) {
2123
2135
  if (!e || !e.touches)
2124
2136
  return null;
2125
2137
  var t = e.touches[0], i = {};
@@ -2128,7 +2140,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2128
2140
  if (e = e || {}, e.calendar) {
2129
2141
  var i = DayPilot.Menu.active;
2130
2142
  if (i) {
2131
- var a = i.ub.source;
2143
+ var a = i.vb.source;
2132
2144
  a && a.calendar === e.calendar && t.menuClean();
2133
2145
  }
2134
2146
  }
@@ -2202,23 +2214,23 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2202
2214
  navigator.userAgent.indexOf("Edge") !== -1 && n.add(".modal_default_form_item_date input::-ms-clear", "display: none;"), n.add(".modal_default_form_item_scrollable_scroll", "width: 100%; height: 200px; box-sizing: border-box; border: 1px solid #ccc; overflow-y: auto;"), n.add(".modal_default_form_item_scrollable_scroll_content", "padding: 5px;"), n.add(".modal_default_form_item_searchable", "position: relative;"), n.add(".modal_default_form_item_searchable_icon", ""), n.add(".modal_default_form_item_searchable_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + a + ");"), n.add(".modal_default_form_item_searchable_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), n.add(".modal_default_form_item_searchable_list_item", "background: white; padding: 2px; cursor: default;"), n.add(".modal_default_form_item_searchable_list_item_highlight", "background: #ccc;"), n.add(".modal_default_form_item_time", "position: relative;"), n.add(".modal_default_form_item_time_icon", ""), n.add(".modal_default_form_item_time_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + a + ");"), n.add(".modal_default_form_item_time_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), n.add(".modal_default_form_item_time_list_item", "background: white; padding: 2px; cursor: default;"), n.add(".modal_default_form_item_time_list_item_highlight", "background: #ccc;"), n.add(".modal_default_form_item_datetime_parent", "display: flex;"), n.add(".modal_default_form_item_datetime .modal_default_form_item_time_main", "margin-left: 5px;"), n.add(".modal_default_form_item_datetime input[type='text'].modal_default_input_date ", ""), n.add(".modal_default_form_item_tabular_main", "margin-top: 10px;"), n.add(".modal_default_form_item_tabular_table", "display: table; width: 100%; xbackground-color: #fff; border-collapse: collapse;"), n.add(".modal_default_form_item_tabular_tbody", "display: table-row-group;"), n.add(".modal_default_form_item_tabular_row", "display: table-row;"), n.add(".modal_default_form_item_tabular_row.modal_default_form_item_tabular_header", ""), n.add(".modal_default_form_item_tabular_cell.modal_default_form_item_tabular_rowaction", "padding: 0px; width: 23px;"), n.add(".modal_default_form_item_tabular_cell", "display: table-cell; border: 0px; padding: 2px 2px 2px 0px; cursor: default; vertical-align: bottom;"), n.add(".modal_default_form_item_tabular_header .modal_default_form_item_tabular_cell", "padding-left: 0px; padding-bottom: 0px;"), n.add(".modal_default_form_item_tabular_table input[type=text], .modal_default_form_item_tabular_table input[type=number]", "width:100%; box-sizing: border-box;"), n.add(".modal_default_form_item_tabular_table select", "width:100%; height:100%; box-sizing: border-box;"), n.add(".modal_default_form_item_tabular_plus", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), n.add(".modal_default_form_item_tabular_plus:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSA1LjAgMC41IEwgNS4wIDkuNSBNIDAuNSA1LjAgTCA5LjUgNS4wJyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), n.add(".modal_default_form_item_tabular_delete", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), n.add(".modal_default_form_item_tabular_delete:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMC41IEwgOS41IDkuNSBNIDAuNSA5LjUgTCA5LjUgMC41JyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), n.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_plus", "display: none;"), n.add(".modal_default_form_item_tabular_plus_max.modal_default_form_item_tabular_plus", "display: none;"), n.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_delete", "visibility: hidden;"), n.add(".modal_default_form_item_tabular_empty", "height: 1px; margin: 5px 23px 5px 0px; background-color: #ccc;"), n.add(".modal_default_form_item_tabular_spacer .modal_default_form_item_tabular_cell", "padding: 0px;"), n.add(".modal_min_main", "border: 1px solid #ccc; max-width: 90%;"), n.add(".modal_min_background", "opacity: 0.5; background-color: #000;"), n.add(".modal_min_ok", "padding: 3px 10px;"), n.add(".modal_min_cancel", "padding: 3px 10px;"), n.add(".navigator_modal_main", "border-left: 1px solid #c0c0c0;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;background-color: white;color: #000000; box-sizing: content-box;"), n.add(".navigator_modal_main *, .navigator_modal_main *:before, .navigator_modal_main *:after", "box-sizing: content-box;"), n.add(".navigator_modal_month", "font-size: 11px;"), n.add(".navigator_modal_day", "color: black;"), n.add(".navigator_modal_weekend", "background-color: #f0f0f0;"), n.add(".navigator_modal_dayheader", "color: black;"), n.add(".navigator_modal_line", "border-bottom: 1px solid #c0c0c0;"), n.add(".navigator_modal_dayother", "color: gray;"), n.add(".navigator_modal_todaybox", "border: 1px solid red;"), n.add(".navigator_modal_title, .navigator_modal_titleleft, .navigator_modal_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), n.add(".navigator_modal_busy", "font-weight: bold;"), n.add(".navigator_modal_cell", "text-align: center;"), n.add(".navigator_modal_select .navigator_modal_cell_box", "background-color: #FFE794; opacity: 0.5;"), n.add(".navigator_modal_title", "text-align: center;"), n.add(".navigator_modal_titleleft, .navigator_modal_titleright", "text-align: center;"), n.add(".navigator_modal_dayheader", "text-align: center;"), n.add(".navigator_modal_weeknumber", "text-align: center;"), n.add(".navigator_modal_cell_text", "cursor: pointer;"), n.commit(), DayPilot.Modal = function (e) {
2203
2215
  this.autoFocus = !0, this.focus = null, this.autoStretch = !0, this.autoStretchFirstLoadOnly = !1, this.className = null, this.theme = "modal_default", this.disposeOnClose = !0, this.dragDrop = !0, this.loadingHtml = null, this.maxHeight = null, this.scrollWithPage = !0, this.useIframe = !0, this.zIndex = 99999, this.left = null, this.width = 600, this.top = 20, this.height = 200, this.locale = null, this.closed = null, this.onClose = null, this.onClosed = null, this.onShow = null;
2204
2216
  var t = this;
2205
- this.id = "_" + (new Date).getTime() + "n" + 10 * Math.random(), this.Cb = !1, this.Db = null, this.Eb = null, this.showHtml = function (e) {
2217
+ this.id = "_" + (new Date).getTime() + "n" + 10 * Math.random(), this.Db = !1, this.Eb = null, this.Fb = null, this.showHtml = function (e) {
2206
2218
  if (DayPilot.ModalStatic.displayed(this))
2207
2219
  throw "This modal dialog is already displayed.";
2208
- if (this.div || this.Fb(), this.Gb(), this.useIframe) {
2220
+ if (this.div || this.Gb(), this.Za(), this.useIframe) {
2209
2221
  var t = function (e, t) { return function () { e.setInnerHTML(e.id + "iframe", t); }; };
2210
2222
  window.setTimeout(t(this, e), 0);
2211
2223
  }
2212
2224
  else
2213
2225
  e.nodeType ? this.div.appendChild(e) : this.div.innerHTML = e;
2214
- this.Gb(), this.Hb(), this.Ib();
2226
+ this.Za(), this.Hb(), this.Ib();
2215
2227
  }, this.showUrl = function (e) {
2216
2228
  if (DayPilot.ModalStatic.displayed(this))
2217
2229
  throw "This modal dialog is already displayed.";
2218
2230
  if (this.useIframe) {
2219
- this.div || this.Fb();
2231
+ this.div || this.Gb();
2220
2232
  var i = this.loadingHtml;
2221
- i && (this.iframe.src = "about:blank", this.setInnerHTML(this.id + "iframe", i)), this.re(this.iframe, "load", this.Jb), this.iframe.src = e, this.Gb(), this.Hb(), this.Ib();
2233
+ i && (this.iframe.src = "about:blank", this.setInnerHTML(this.id + "iframe", i)), this.re(this.iframe, "load", this.Jb), this.iframe.src = e, this.Za(), this.Hb(), this.Ib();
2222
2234
  }
2223
2235
  else
2224
2236
  t.Kb({ "url": e, "success": function (e) { var i = e.request.responseText; t.showHtml(i); }, "error": function (e) { t.showHtml("Error loading the modal dialog"); } });
@@ -2245,7 +2257,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2245
2257
  window.console && console.log("HTTP error " + t.status);
2246
2258
  }, 4 !== t.readyState && ("object" == typeof o && (o = JSON.stringify(o)), t.send(o));
2247
2259
  }
2248
- }, this.Gb = function () { delete this.result; var e = window, i = document, a = e.pageYOffset ? e.pageYOffset : i.documentElement && i.documentElement.scrollTop ? i.documentElement.scrollTop : i.body.scrollTop; this.theme && (this.hideDiv.className = this.theme + "_background"), this.zIndex && (this.hideDiv.style.zIndex = this.zIndex), this.hideDiv.style.display = "", window.setTimeout(function () { t.hideDiv && (t.hideDiv.onclick = function () { t.hide({ "backgroundClick": !0 }); }); }, 500), this.theme ? this.div.className = this.theme + "_main" : this.div.className = "", this.className && (this.div.className += " " + this.className), this.left ? this.div.style.left = this.left + "px" : this.div.style.marginLeft = "-" + Math.floor(this.width / 2) + "px", this.div.style.position = "absolute", this.div.style.boxSizing = "content-box", this.div.style.top = a + this.top + "px", this.div.style.width = this.width + "px", this.zIndex && (this.div.style.zIndex = this.zIndex), this.height && (this.useIframe || !this.autoStretch ? this.div.style.height = this.height + "px" : this.div.style.height = ""), this.useIframe && this.height && (this.iframe.style.height = this.height + "px"), this.div.style.display = "", this.Nb(), DayPilot.ModalStatic.remove(this), DayPilot.ModalStatic.list.push(this); }, this.Jb = function () { t.iframe.contentWindow.modal = t, t.autoStretch && t.stretch(); }, this.stretch = function () {
2260
+ }, this.Za = function () { delete this.result; var e = window, i = document, a = e.pageYOffset ? e.pageYOffset : i.documentElement && i.documentElement.scrollTop ? i.documentElement.scrollTop : i.body.scrollTop; this.theme && (this.hideDiv.className = this.theme + "_background"), this.zIndex && (this.hideDiv.style.zIndex = this.zIndex), this.hideDiv.style.display = "", window.setTimeout(function () { t.hideDiv && (t.hideDiv.onclick = function () { t.hide({ "backgroundClick": !0 }); }); }, 500), this.theme ? this.div.className = this.theme + "_main" : this.div.className = "", this.className && (this.div.className += " " + this.className), this.left ? this.div.style.left = this.left + "px" : this.div.style.marginLeft = "-" + Math.floor(this.width / 2) + "px", this.div.style.position = "absolute", this.div.style.boxSizing = "content-box", this.div.style.top = a + this.top + "px", this.div.style.width = this.width + "px", this.zIndex && (this.div.style.zIndex = this.zIndex), this.height && (this.useIframe || !this.autoStretch ? this.div.style.height = this.height + "px" : this.div.style.height = ""), this.useIframe && this.height && (this.iframe.style.height = this.height + "px"), this.div.style.display = "", this.Nb(), DayPilot.ModalStatic.remove(this), DayPilot.ModalStatic.list.push(this); }, this.Jb = function () { t.iframe.contentWindow.modal = t, t.autoStretch && t.stretch(); }, this.stretch = function () {
2249
2261
  var e = function () { return t.Mb().y; }, i = function () { return t.Mb().x; };
2250
2262
  if (this.useIframe) {
2251
2263
  for (var a = i() - 40, n = this.width; n < a && this.Ob(); n += 10)
@@ -2276,12 +2288,12 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2276
2288
  }
2277
2289
  var t = e.body.clientWidth, i = e.body.clientHeight;
2278
2290
  return { x: t, y: i };
2279
- }, this.Hb = function () { this.Cb || (this.re(window, "resize", this.Qb), this.re(window, "scroll", this.Rb), this.dragDrop && (this.re(document, "mousemove", this.Sb), this.re(document, "mouseup", this.Tb)), this.Cb = !0); }, this.Ub = function () { this.ue(window, "resize", this.Qb), this.ue(window, "scroll", this.Rb), this.dragDrop && (this.ue(document, "mousemove", this.Sb), this.ue(document, "mouseup", this.Tb)), this.Cb = !1; }, this.Vb = function (e) { e.target === t.div && (e.preventDefault(), t.div.style.cursor = "move", t.Wb(), t.Eb = t.mc(e || window.event), t.Db = { x: t.div.offsetLeft, y: t.div.offsetTop }); }, this.Sb = function (e) {
2280
- if (t.Eb) {
2281
- var e = e || window.event, i = t.mc(e), a = i.x - t.Eb.x, n = i.y - t.Eb.y;
2282
- t.div.style.marginLeft = "0px", t.div.style.top = t.Db.y + n + "px", t.div.style.left = t.Db.x + a + "px";
2291
+ }, this.Hb = function () { this.Db || (this.re(window, "resize", this.Qb), this.re(window, "scroll", this.Rb), this.dragDrop && (this.re(document, "mousemove", this.Sb), this.re(document, "mouseup", this.Tb)), this.Db = !0); }, this.Ub = function () { this.ue(window, "resize", this.Qb), this.ue(window, "scroll", this.Rb), this.dragDrop && (this.ue(document, "mousemove", this.Sb), this.ue(document, "mouseup", this.Tb)), this.Db = !1; }, this.Vb = function (e) { e.target === t.div && (e.preventDefault(), t.div.style.cursor = "move", t.Wb(), t.Fb = t.mc(e || window.event), t.Eb = { x: t.div.offsetLeft, y: t.div.offsetTop }); }, this.Sb = function (e) {
2292
+ if (t.Fb) {
2293
+ var e = e || window.event, i = t.mc(e), a = i.x - t.Fb.x, n = i.y - t.Fb.y;
2294
+ t.div.style.marginLeft = "0px", t.div.style.top = t.Eb.y + n + "px", t.div.style.left = t.Eb.x + a + "px";
2283
2295
  }
2284
- }, this.Tb = function (e) { t.Eb && (t.Xb(), t.div.style.cursor = null, t.Eb = null); }, this.Wb = function () {
2296
+ }, this.Tb = function (e) { t.Fb && (t.Xb(), t.div.style.cursor = null, t.Fb = null); }, this.Wb = function () {
2285
2297
  if (this.useIframe) {
2286
2298
  var e = document.createElement("div");
2287
2299
  e.style.backgroundColor = "#ffffff", e.style.filter = "alpha(opacity=80)", e.style.opacity = "0.80", e.style.width = "100%", e.style.height = this.height + "px", e.style.position = "absolute", e.style.left = "0px", e.style.top = "0px", this.div.appendChild(e), this.mask = e;
@@ -2300,7 +2312,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2300
2312
  for (var t = { x: e.offsetLeft, y: e.offsetTop }; e.offsetParent;)
2301
2313
  e = e.offsetParent, t.x += e.offsetLeft, t.y += e.offsetTop;
2302
2314
  return t;
2303
- }, this.Fb = function () { var e = t.Zb.container(), i = e === document.body, a = i ? "fixed" : "absolute", n = document.createElement("div"); n.id = this.id + "hide", n.style.position = a, n.style.left = "0px", n.style.top = "0px", n.style.right = "0px", n.style.bottom = "0px", n.oncontextmenu = function () { return !1; }, n.onmousedown = function () { return !1; }, e.appendChild(n); var o = document.createElement("div"); o.id = this.id + "popup", o.style.position = a, o.style.left = "50%", o.style.top = "0px", o.style.backgroundColor = "white", o.style.width = "50px", o.style.height = "50px", this.dragDrop && (o.onmousedown = this.Vb), o.addEventListener("keydown", function (e) { e.stopPropagation(); }); var r = null; this.useIframe && (r = document.createElement("iframe"), r.id = this.id + "iframe", r.name = this.id + "iframe", r.frameBorder = "0", r.style.width = "100%", r.style.height = "50px", o.appendChild(r)), e.appendChild(o), this.div = o, this.iframe = r, this.hideDiv = n; }, this.setInnerHTML = function (e, i) { var a = window.frames[e], n = a.contentWindow || a.document || a.contentDocument; n.document && (n = n.document), null == n.body && n.write("<body></body>"), i.nodeType ? n.body.appendChild(i) : n.body.innerHTML = i, t.autoStretch && (t.autoStretchFirstLoadOnly && t.$b || (t.stretch(), t.$b = !0)); }, this.close = function (e) { this.result = e, this.hide(); }, this.closeSerialized = function () {
2315
+ }, this.Gb = function () { var e = t.Zb.container(), i = e === document.body, a = i ? "fixed" : "absolute", n = document.createElement("div"); n.id = this.id + "hide", n.style.position = a, n.style.left = "0px", n.style.top = "0px", n.style.right = "0px", n.style.bottom = "0px", n.oncontextmenu = function () { return !1; }, n.onmousedown = function () { return !1; }, e.appendChild(n); var o = document.createElement("div"); o.id = this.id + "popup", o.style.position = a, o.style.left = "50%", o.style.top = "0px", o.style.backgroundColor = "white", o.style.width = "50px", o.style.height = "50px", this.dragDrop && (o.onmousedown = this.Vb), o.addEventListener("keydown", function (e) { e.stopPropagation(); }); var r = null; this.useIframe && (r = document.createElement("iframe"), r.id = this.id + "iframe", r.name = this.id + "iframe", r.frameBorder = "0", r.style.width = "100%", r.style.height = "50px", o.appendChild(r)), e.appendChild(o), this.div = o, this.iframe = r, this.hideDiv = n; }, this.setInnerHTML = function (e, i) { var a = window.frames[e], n = a.contentWindow || a.document || a.contentDocument; n.document && (n = n.document), null == n.body && n.write("<body></body>"), i.nodeType ? n.body.appendChild(i) : n.body.innerHTML = i, t.autoStretch && (t.autoStretchFirstLoadOnly && t.$b || (t.stretch(), t.$b = !0)); }, this.close = function (e) { this.result = e, this.hide(); }, this.closeSerialized = function () {
2304
2316
  for (var e = t.Lb(), i = e.querySelectorAll("input, textarea, select"), a = {}, n = 0; n < i.length; n++) {
2305
2317
  var o = i[n], r = o.name;
2306
2318
  if (r) {
@@ -2850,7 +2862,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2850
2862
  if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
2851
2863
  var e = {};
2852
2864
  e.Month = function (t, i) {
2853
- this.v = "2023.3.494-lite", this.nav = {};
2865
+ this.v = "2023.4.504-lite", this.nav = {};
2854
2866
  var a = this;
2855
2867
  this.id = t, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, this.contextMenu = null, this.cssClassPrefix = "month_default", this.eventBarVisible = !0, this.eventHeight = 25, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.hideUntilInit = !0, this.lineSpace = 1, this.locale = "en-us", this.showToolTip = !0, this.startDate = new DayPilot.Date, this.theme = null, this.visible = !0, this.weekStarts = 1, this.width = "100%", this.xssProtection = "Enabled", this.afterRender = function () { }, this.cellHeaderClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.headerClickHandling = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.onCellHeaderClick = null, this.onCellHeaderClicked = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onEventRightClick = null, this.onEventRightClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.cellEvents = [], this.elements = {}, this.elements.events = [], this.cache = {}, this.T = function (e, t) { var e = JSON.parse(e); return e.CallBackRedirect ? void (document.location.href = e.CallBackRedirect) : "None" === e.UpdateType ? void a.fireAfterRenderDetached(e.CallBackData, !0) : (a.events.list = e.Events, "Full" === e.UpdateType && (a.startDate = e.StartDate, a.timeFormat = e.TimeFormat ? e.TimeFormat : a.timeFormat, "undefined" != typeof e.WeekStarts && (a.weekStarts = e.WeekStarts), a.hashes = e.Hashes), a.V(), a.Ic(), a.ca(), "Full" === e.UpdateType && (a.Jc(), a.Kc()), a.ha(), a.show(), a.ia(), void a.fireAfterRenderDetached(e.CallBackData, !0)); }, this.fireAfterRenderDetached = function (e, t) { var i = function (e, t) { return function () { a.afterRender && a.afterRender(e, t); }; }; window.setTimeout(i(e, t), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (e) {
2856
2868
  var t = null;
@@ -2914,13 +2926,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2914
2926
  r += r.indexOf("?") > -1 ? "&" + s : "?" + s, DayPilot.Http.ajax({ "method": "GET", "url": r, "success": o, "error": n });
2915
2927
  }
2916
2928
  }, this.update = function (e) {
2917
- if (a.$a(e), this.za && this.cells) {
2929
+ if (a._a(e), this.za && this.cells) {
2918
2930
  a.V(), a.Ic(), a.ca(), a.Jc(), a.Kc(), a.ha(), a.s(), a.ia(), this.visible ? this.show() : this.hide();
2919
2931
  }
2920
- }, this.bb = null, this.$a = function (e) {
2932
+ }, this.cb = null, this._a = function (e) {
2921
2933
  if (e) {
2922
2934
  var t = { "events": { "preInit": function () { var e = this.data || []; DayPilot.isArray(e.list) ? a.events.list = e.list : a.events.list = e; } } };
2923
- this.bb = t;
2935
+ this.cb = t;
2924
2936
  for (var i in e)
2925
2937
  if (t[i]) {
2926
2938
  var n = t[i];
@@ -2929,14 +2941,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2929
2941
  else
2930
2942
  a[i] = e[i];
2931
2943
  }
2932
- }, this.cb = function () {
2933
- var e = this.bb;
2944
+ }, this.db = function () {
2945
+ var e = this.cb;
2934
2946
  for (var t in e) {
2935
2947
  var i = e[t];
2936
2948
  i.postInit && i.postInit();
2937
2949
  }
2938
- }, this.eb = {}, this.eb.events = [], this.fb = function (e) {
2939
- var t = this.eb.events, i = this.events.list[e], n = {};
2950
+ }, this.fb = {}, this.fb.events = [], this.gb = function (e) {
2951
+ var t = this.fb.events, i = this.events.list[e], n = {};
2940
2952
  for (var o in i)
2941
2953
  n[o] = i[o];
2942
2954
  if ("function" == typeof this.onBeforeEventRender) {
@@ -2951,7 +2963,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2951
2963
  throw new DayPilot.Exception("DayPilot.Month.events.list expects an array object. You supplied: " + typeof e);
2952
2964
  if ("function" == typeof this.onBeforeEventRender)
2953
2965
  for (var t = 0; t < e.length; t++)
2954
- this.fb(t);
2966
+ this.gb(t);
2955
2967
  for (var i = 0; i < e.length; i++) {
2956
2968
  var a = e[i];
2957
2969
  if ("object" != typeof a)
@@ -2964,12 +2976,12 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2964
2976
  if (!(n.getTime() > o.getTime()))
2965
2977
  for (var t = 0; t < this.rows.length; t++) {
2966
2978
  var r = this.rows[t], s = new DayPilot.Event(a, this);
2967
- r.belongsHere(s) && (r.events.push(s), "function" == typeof this.onBeforeEventRender && (s.cache = this.eb.events[i]));
2979
+ r.belongsHere(s) && (r.events.push(s), "function" == typeof this.onBeforeEventRender && (s.cache = this.fb.events[i]));
2968
2980
  }
2969
2981
  }
2970
2982
  for (var l = 0; l < this.rows.length; l++) {
2971
2983
  var r = this.rows[l];
2972
- r.events.sort(this.gb);
2984
+ r.events.sort(this.hb);
2973
2985
  for (var d = 0; d < this.rows[l].events.length; d++) {
2974
2986
  var c = r.events[d], u = r.getStartColumn(c), h = r.getWidth(c);
2975
2987
  r.putIntoLine(c, u, h, l);
@@ -2988,7 +3000,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2988
3000
  for (var t = this.rows[e], i = 0; i < t.lines.length; i++)
2989
3001
  for (var a = t.lines[i], n = 0; n < a.length; n++)
2990
3002
  this.Ca(a[n]);
2991
- }, this.gb = function (e, t) {
3003
+ }, this.hb = function (e, t) {
2992
3004
  if (!(e && t && e.start && t.start))
2993
3005
  return 0;
2994
3006
  var i = e.start().getTime() - t.start().getTime();
@@ -3361,7 +3373,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3361
3373
  }
3362
3374
  }, this.qa = {}, this.qa.scope = null, this.qa.notify = function () { a.qa.scope && a.qa.scope["$apply"](); }, this.qa.apply = function (e) { e(); }, this.clearSelection = function () { a.clearShadow(); }, this.commandCallBack = function (e, t) { var i = {}; i.command = e, this.R("Command", t, i); }, this.isWeekend = function (e) { return e = new DayPilot.Date(e), 0 === e.dayOfWeek() || 6 === e.dayOfWeek(); }, this._ = {}, this._.locale = function () { var e = DayPilot.Locale.find(a.locale); return e ? e : DayPilot.Locale.US; }, this._.aa = function () { return "Disabled" !== a.xssProtection; };
3363
3375
  var n = this._;
3364
- this.debug = function (e, t) { this.debuggingEnabled && (a.debugMessages || (a.debugMessages = []), a.debugMessages.push(e), "undefined" != typeof console && console.log(e)); }, this.dispose = function () { var e = a; e.nav.top && (e.V(), e.nav.top.removeAttribute("style"), e.nav.top.removeAttribute("class"), e.nav.top.innerHTML = "", e.nav.top.dp = null, e.nav.top.onmousemove = null, e.nav.top = null); }, this.Ya = function () { e.globalHandlers || (e.globalHandlers = !0, DayPilot.re(document, "mouseup", e.gMouseUp)); }, this.loadFromServer = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof a.events.list || !a.events.list); }, this.s = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { a.visible = !0, a.nav.top.style.display = ""; }, this.hide = function () { a.visible = !1, a.nav.top.style.display = "none"; }, this.db = function () {
3376
+ this.debug = function (e, t) { this.debuggingEnabled && (a.debugMessages || (a.debugMessages = []), a.debugMessages.push(e), "undefined" != typeof console && console.log(e)); }, this.dispose = function () { var e = a; e.nav.top && (e.V(), e.nav.top.removeAttribute("style"), e.nav.top.removeAttribute("class"), e.nav.top.innerHTML = "", e.nav.top.dp = null, e.nav.top.onmousemove = null, e.nav.top = null); }, this.Ya = function () { e.globalHandlers || (e.globalHandlers = !0, DayPilot.re(document, "mouseup", e.gMouseUp)); }, this.loadFromServer = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof a.events.list || !a.events.list); }, this.s = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { a.visible = !0, a.nav.top.style.display = ""; }, this.hide = function () { a.visible = !1, a.nav.top.style.display = "none"; }, this.eb = function () {
3365
3377
  if (this.id && this.id.tagName)
3366
3378
  this.nav.top = this.id;
3367
3379
  else {
@@ -3370,7 +3382,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3370
3382
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
3371
3383
  throw "DayPilot.Month: The placeholder element not found: '" + id + "'.";
3372
3384
  }
3373
- }, this.jb = function () { this.Ic(), this.Ea(), this.Kc(), this.Ya(), this.R("Init"); }, this.Ia = function (e, t) { return a._.aa() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = this.$a, this.internal.xssTextHtml = a.Ia, this.init = function () { return this.db(), this.loadFromServer() ? void this.jb() : (this.Ic(), this.ca(), this.Ea(), this.Kc(), this.s(), this.ia(), this.Ya(), this.fireAfterRenderDetached(null, !1), this.za = !0, this); }, this.Init = this.init, Object.defineProperty(this, "durationBarVisible", { get: function () { return a.eventBarVisible; } }), this.$a(i);
3385
+ }, this.kb = function () { this.Ic(), this.Ea(), this.Kc(), this.Ya(), this.R("Init"); }, this.Ia = function (e, t) { return a._.aa() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = this._a, this.internal.xssTextHtml = a.Ia, this.init = function () { return this.eb(), this.loadFromServer() ? void this.kb() : (this.Ic(), this.ca(), this.Ea(), this.Kc(), this.s(), this.ia(), this.Ya(), this.fireAfterRenderDetached(null, !1), this.za = !0, this); }, this.Init = this.init, Object.defineProperty(this, "durationBarVisible", { get: function () { return a.eventBarVisible; } }), this._a(i);
3374
3386
  }, e.gMouseUp = function (t) {
3375
3387
  if (e.movingEvent) {
3376
3388
  var i = e.movingEvent;
@@ -3449,9 +3461,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3449
3461
  "undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function () {
3450
3462
  if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.nav) {
3451
3463
  DayPilot.Navigator = function (e, t) {
3452
- this.v = "2023.3.494-lite";
3464
+ this.v = "2023.4.504-lite";
3453
3465
  var i = this;
3454
- this.id = e, this.api = 2, this.isNavigator = !0, this.autoFocusOnClick = !0, this.weekStarts = "Auto", this.selectMode = "Day", this.titleHeight = 30, this.dayHeaderHeight = 30, this.bound = null, this.cellWidth = 30, this.cellHeight = 30, this.cssClassPrefix = "navigator_default", this.freeHandSelectionEnabled = !1, this.selectionStart = (new DayPilot.Date).getDatePart(), this.selectionEnd = null, this.selectionDay = null, this.showMonths = 1, this.skipMonths = 1, this.command = "navigate", this.year = (new DayPilot.Date).getYear(), this.month = (new DayPilot.Date).getMonth() + 1, this.showWeekNumbers = !1, this.weekNumberAlgorithm = "Auto", this.rowsPerMonth = "Six", this.orientation = "Vertical", this.locale = "en-us", this.rtl = !1, this.visible = !0, this.timeRangeSelectedHandling = "Bind", this.visibleRangeChangedHandling = "Enabled", this.onVisibleRangeChange = null, this.onVisibleRangeChanged = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.nav = {}, this.eb = {}, this.Oc = function () { this.root.dp = this, this.root.className = this.J("_main"), "Horizontal" === this.orientation ? (this.root.style.width = this.showMonths * (7 * o.cellWidth() + this.Pc()) + "px", this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : this.root.style.width = 7 * o.cellWidth() + this.Pc() + "px", this.rtl && (this.root.style.direction = "rtl"), this.root.style.position = "relative", this.visible || (this.root.style.display = "none"); var e = document.createElement("input"); e.type = "hidden", e.name = i.id + "_state", e.id = e.name, this.root.appendChild(e), this.state = e, this.startDate ? this.startDate = new DayPilot.Date(this.startDate).firstDayOfMonth() : this.startDate = DayPilot.Date.fromYearMonthDay(this.year, this.month), this.calendars = [], this.selected = [], this.months = []; }, this.oa = function () { return 2 === i.api; }, this.Jc = function () { this.root.innerHTML = ""; }, this.J = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.Qc = function (e, t) { var i = this.J("_" + t); DayPilot.Util.addClass(e, i); }, this.Rc = function (e, t) { var i = this.J("_" + t); DayPilot.Util.removeClass(e, i); }, this.Kc = function (e, t) {
3466
+ this.id = e, this.api = 2, this.isNavigator = !0, this.autoFocusOnClick = !0, this.weekStarts = "Auto", this.selectMode = "Day", this.titleHeight = 30, this.dayHeaderHeight = 30, this.bound = null, this.cellWidth = 30, this.cellHeight = 30, this.cssClassPrefix = "navigator_default", this.freeHandSelectionEnabled = !1, this.selectionStart = (new DayPilot.Date).getDatePart(), this.selectionEnd = null, this.selectionDay = null, this.showMonths = 1, this.skipMonths = 1, this.command = "navigate", this.year = (new DayPilot.Date).getYear(), this.month = (new DayPilot.Date).getMonth() + 1, this.showWeekNumbers = !1, this.weekNumberAlgorithm = "Auto", this.rowsPerMonth = "Six", this.orientation = "Vertical", this.locale = "en-us", this.rtl = !1, this.visible = !0, this.timeRangeSelectedHandling = "Bind", this.visibleRangeChangedHandling = "Enabled", this.onVisibleRangeChange = null, this.onVisibleRangeChanged = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.nav = {}, this.fb = {}, this.Oc = function () { this.root.dp = this, this.root.className = this.J("_main"), "Horizontal" === this.orientation ? (this.root.style.width = this.showMonths * (7 * o.cellWidth() + this.Pc()) + "px", this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : this.root.style.width = 7 * o.cellWidth() + this.Pc() + "px", this.rtl && (this.root.style.direction = "rtl"), this.root.style.position = "relative", this.visible || (this.root.style.display = "none"); var e = document.createElement("input"); e.type = "hidden", e.name = i.id + "_state", e.id = e.name, this.root.appendChild(e), this.state = e, this.startDate ? this.startDate = new DayPilot.Date(this.startDate).firstDayOfMonth() : this.startDate = DayPilot.Date.fromYearMonthDay(this.year, this.month), this.calendars = [], this.selected = [], this.months = []; }, this.oa = function () { return 2 === i.api; }, this.Jc = function () { this.root.innerHTML = ""; }, this.J = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.Qc = function (e, t) { var i = this.J("_" + t); DayPilot.Util.addClass(e, i); }, this.Rc = function (e, t) { var i = this.J("_" + t); DayPilot.Util.removeClass(e, i); }, this.Kc = function (e, t) {
3455
3467
  var a = {};
3456
3468
  a.cells = [], a.days = [], a.weeks = [];
3457
3469
  var n = this.startDate.addMonths(e), r = t.before, s = t.after, l = n.firstDayOfMonth(), d = l.firstDayOfWeek(o.weekStarts()), c = l.addMonths(1), u = DayPilot.DateUtil.daysDiff(d, c), h = "Auto" === this.rowsPerMonth ? Math.ceil(u / 7) : 6;
@@ -3520,14 +3532,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3520
3532
  L.cell = R || {}, L.cell.day = P, L.cell.isCurrentMonth = T, L.cell.isToday = P.getTime() === f.getTime() && T, L.cell.isWeekend = 0 === P.dayOfWeek() || 6 === P.dayOfWeek(), R ? (L.cell.html = R.html || P.getDay(), L.cell.cssClass = R.css) : (L.cell.html = P.getDay(), L.cell.cssClass = null), i.onBeforeCellRender(L), R = L.cell;
3521
3533
  }
3522
3534
  if (R && DayPilot.Util.addClass(N, R.cssClass || R.css), T || r && A || s && E) {
3523
- var j = document.createElement("div");
3524
- j.innerHTML = P.getDay(), j.style.position = "absolute", j.style.left = "0px", j.style.top = "0px", j.style.right = "0px", j.style.bottom = "0px", i.Qc(j, "cell_text"), N.isClickable = !0, R && R.html && (j.innerHTML = R.html), N.appendChild(j);
3535
+ var B = document.createElement("div");
3536
+ B.innerHTML = P.getDay(), B.style.position = "absolute", B.style.left = "0px", B.style.top = "0px", B.style.right = "0px", B.style.bottom = "0px", i.Qc(B, "cell_text"), N.isClickable = !0, R && R.html && (B.innerHTML = R.html), N.appendChild(B);
3525
3537
  }
3526
3538
  N.setAttribute("unselectable", "on"), N.onclick = this.Yc, v.appendChild(N), M && (i.Zc(v, S, C), this.selected.push(N));
3527
3539
  }
3528
3540
  }
3529
- var B = document.createElement("div");
3530
- B.style.position = "absolute", B.style.left = "0px", B.style.top = g - 2 + "px", B.style.width = 7 * o.cellWidth() + this.Pc() + "px", B.style.height = "1px", B.style.fontSize = "1px", B.style.lineHeight = "1px", B.className = this.J("_line"), v.appendChild(B), this.months.push(a);
3541
+ var j = document.createElement("div");
3542
+ j.style.position = "absolute", j.style.left = "0px", j.style.top = g - 2 + "px", j.style.width = 7 * o.cellWidth() + this.Pc() + "px", j.style.height = "1px", j.style.fontSize = "1px", j.style.lineHeight = "1px", j.className = this.J("_line"), v.appendChild(j), this.months.push(a);
3531
3543
  }, this.Xc = function (e, t) { var i = this.titleHeight + this.dayHeaderHeight, a = this.Pc(); return { "x": e * o.cellWidth() + a, "y": t * this.cellHeight + i }; }, this.Zc = function (e, t, a) { var n = e.month.cells[t][a]; i.Qc(n, "select"); }, this.$c = function (e, t, a) { var n = e.month.cells[t][a]; i.Rc(n, "select"); }, this.Pc = function () { return this.showWeekNumbers ? o.cellWidth() : 0; }, this._c = function () {
3532
3544
  if (this.items)
3533
3545
  for (var e = 0; e < this.showMonths; e++)
@@ -3568,17 +3580,17 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3568
3580
  }
3569
3581
  s && i.freeHandSelectionEnabled ? i.selectionEnd = new DayPilot.Date(s) : this.bd(), this.Jc(), this.Oc(), this.fd(), this._c(), this.ad(), !c || u.equals(this.selectionStart) && h.equals(this.selectionEnd) || this.L(), f && this.gd();
3570
3582
  }, this.update = function (e) {
3571
- if (i.$a(e), this.za) {
3583
+ if (i._a(e), this.za) {
3572
3584
  if (i.hd)
3573
3585
  throw new DayPilot.Exception("You are trying to update a DayPilot.Navigator instance that has been disposed.");
3574
3586
  i.jd();
3575
3587
  var t = { "day": i.selectionDay, "start": i.selectionStart, "end": i.selectionEnd };
3576
- i.Gb(), t.start === i.selectionStart && t.end == i.selectionEnd && t.day === i.selectionDay || i.L();
3588
+ i.Za(), t.start === i.selectionStart && t.end == i.selectionEnd && t.day === i.selectionDay || i.L();
3577
3589
  }
3578
- }, this.Gb = function () { this.Jc(), this.Oc(), this.bd(), this.fd(), this.ca(), this._c(), this.ad(), this.visible ? this.show() : this.hide(); }, this.jd = function () { i.eb = {}; }, this.bb = null, this.$a = function (e) {
3590
+ }, this.Za = function () { this.Jc(), this.Oc(), this.bd(), this.fd(), this.ca(), this._c(), this.ad(), this.visible ? this.show() : this.hide(); }, this.jd = function () { i.fb = {}; }, this.cb = null, this._a = function (e) {
3579
3591
  if (e) {
3580
3592
  var t = { "events": { "preInit": function () { var e = this.data || []; DayPilot.isArray(e.list) ? i.events.list = e.list : i.events.list = e; } } };
3581
- this.bb = t;
3593
+ this.cb = t;
3582
3594
  for (var a in e)
3583
3595
  if (t[a]) {
3584
3596
  var n = t[a];
@@ -3587,8 +3599,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3587
3599
  else
3588
3600
  i[a] = e[a];
3589
3601
  }
3590
- }, this.cb = function () {
3591
- var e = this.bb;
3602
+ }, this.db = function () {
3603
+ var e = this.cb;
3592
3604
  for (var t in e) {
3593
3605
  var i = e[t];
3594
3606
  i.postInit && i.postInit();
@@ -3844,7 +3856,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3844
3856
  return this.internal.showLinks;
3845
3857
  var t = {};
3846
3858
  return t.left = 0 === e, t.right = 0 === e, t.before = 0 === e, t.after = e === this.showMonths - 1, "Horizontal" === this.orientation && (t.right = e === this.showMonths - 1), t;
3847
- }, this.qa = {}, this.qa.scope = null, this.qa.notify = function () { i.qa.scope && i.qa.scope["$apply"](); }, this.internal = {}, this.internal.loadOptions = i.$a, this.internal.initialized = function () { return i.za; }, this._ = {};
3859
+ }, this.qa = {}, this.qa.scope = null, this.qa.notify = function () { i.qa.scope && i.qa.scope["$apply"](); }, this.internal = {}, this.internal.loadOptions = i._a, this.internal.initialized = function () { return i.za; }, this._ = {};
3848
3860
  var o = this._;
3849
3861
  o.locale = function () { return DayPilot.Locale.find(i.locale); }, o.weekStarts = function () {
3850
3862
  if ("Auto" === i.weekStarts) {
@@ -3853,10 +3865,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3853
3865
  }
3854
3866
  return i.weekStarts;
3855
3867
  }, o.cellWidth = function () {
3856
- if (i.eb.cellWidth)
3857
- return i.eb.cellWidth;
3868
+ if (i.fb.cellWidth)
3869
+ return i.fb.cellWidth;
3858
3870
  var e = i.ud("_cell_dimensions").width;
3859
- return e || (e = i.cellWidth), i.eb.cellWidth = e, e;
3871
+ return e || (e = i.cellWidth), i.fb.cellWidth = e, e;
3860
3872
  }, this.clearSelection = function () {
3861
3873
  for (var e = 0; e < this.selected.length; e++) {
3862
3874
  var t = this.selected[e];
@@ -3879,7 +3891,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3879
3891
  for (var t = new DayPilot.Date(e.start), i = new DayPilot.Date(e.end), a = {}, n = t.getDatePart(); n.getTime() <= i.getTime();)
3880
3892
  a[n.toStringSortable()] = 1, n = n.addDays(1);
3881
3893
  return a;
3882
- }, this.show = function () { i.visible = !0, i.root.style.display = ""; }, this.hide = function () { i.visible = !1, i.root.style.display = "none"; }, this.db = function () {
3894
+ }, this.show = function () { i.visible = !0, i.root.style.display = ""; }, this.hide = function () { i.visible = !1, i.root.style.display = "none"; }, this.eb = function () {
3883
3895
  if (this.id && this.id.tagName)
3884
3896
  this.nav.top = this.id;
3885
3897
  else {
@@ -3890,9 +3902,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3890
3902
  }
3891
3903
  this.root = this.nav.top;
3892
3904
  }, this.init = function () {
3893
- if (this.db(), !this.root.dp) {
3905
+ if (this.eb(), !this.root.dp) {
3894
3906
  this.bd(), this.Oc(), this.fd(), this.ca(), this._c(), this.Y(), this.xd(), this.Ya();
3895
- if (this.vd() && this.gd(), this.za = !0, this.cb(), this.cd) {
3907
+ if (this.vd() && this.gd(), this.za = !0, this.db(), this.cd) {
3896
3908
  var e = this.cd;
3897
3909
  this.select(e.date1, e.date2, e.options), this.cd = null;
3898
3910
  }
@@ -3909,7 +3921,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3909
3921
  i.L({ "mode": "FreeHand" });
3910
3922
  }
3911
3923
  a.start = null, a.end = null;
3912
- }, this.dispose = function () { var e = i; e.root && (e.root.removeAttribute("style"), e.root.removeAttribute("class"), e.root.dp = null, e.root.innerHTML = null, e.root = null, e.hd = !0); }, this.Y = function () { this.root.dispose = this.dispose; }, this.Init = this.init, this.$a(t);
3924
+ }, this.dispose = function () { var e = i; e.root && (e.root.removeAttribute("style"), e.root.removeAttribute("class"), e.root.dp = null, e.root.innerHTML = null, e.root = null, e.hd = !0); }, this.Y = function () { this.root.dispose = this.dispose; }, this.Init = this.init, this._a(t);
3913
3925
  }, "undefined" != typeof jQuery && !function (e) {
3914
3926
  e.fn.daypilotNavigator = function (e) {
3915
3927
  var t = null, i = this.each(function () {