@daypilot/daypilot-lite-angular 3.29.0 → 3.30.1

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.
@@ -130,7 +130,7 @@ DayPilot Lite
130
130
  Copyright (c) 2005 - 2024 Annpoint s.r.o.
131
131
  https://www.daypilot.org/
132
132
  Licensed under Apache Software License 2.0
133
- Version: 2024.4.609-lite
133
+ Version: 2024.4.626-lite
134
134
  */
135
135
  var DayPilot = {};
136
136
  if ("undefined" == typeof DayPilot)
@@ -992,7 +992,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
992
992
  if (this instanceof t.Calendar && !this.N && (o = !0, this.N = !0), !o)
993
993
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
994
994
  var r = this;
995
- this.uniqueID = null, this.isCalendar = !0, this.v = "2024.4.609-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.columnMarginLeft = 0, this.columnMarginRight = 5, this.columnsLoadMethod = "GET", this.contextMenu = null, this.days = 1, this.durationBarVisible = !0, this.eventBorderRadius = null, 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.onBeforeCellRender = null, this.onBeforeEventRender = null, this.onBeforeHeaderRender = 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.O = !1, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.P(); }, this.P = function () { DayPilot.de(r.elements.selection), r.elements.selection = [], r.nav.activeSelection = null; }, this.cleanSelection = this.clearSelection, this.Q = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.R(); var n = "JSON" + DayPilot.JSON.stringify(a); __doPostBack(r.uniqueID, n); }, this.S = function (e, t, i) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { r.loadingStart(); }, 100); var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.R(); var n = "JSON" + DayPilot.JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.T, n, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, n, this.U, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = r; e.O || (e.O = !0, clearInterval(e.V), e.W(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.X(), e.Y(), 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.disposed = function () { return this.O; }, this.Z = function () { this.nav.top.dispose = this.dispose; }, this.T = function (e) { r.U(e.responseText); }, this.R = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = r.days, e.startDate = r.startDate, e.heightSpec = r.heightSpec, e.businessBeginsHour = r.businessBeginsHour, e.businessEndsHour = r.businessEndsHour, e.hashes = r.hashes, e.timeFormat = r.timeFormat, e.viewType = r.viewType, e.locale = r.locale, e; }, this._ = function (e, t) {
995
+ this.uniqueID = null, this.isCalendar = !0, this.v = "2024.4.626-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.columnMarginLeft = 0, this.columnMarginRight = 5, this.columnsLoadMethod = "GET", this.contextMenu = null, this.days = 1, this.durationBarVisible = !0, this.eventBorderRadius = null, 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.onBeforeCellRender = null, this.onBeforeEventRender = null, this.onBeforeHeaderRender = 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.O = !1, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.P(); }, this.P = function () { DayPilot.de(r.elements.selection), r.elements.selection = [], r.nav.activeSelection = null; }, this.cleanSelection = this.clearSelection, this.Q = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.R(); var n = "JSON" + DayPilot.JSON.stringify(a); __doPostBack(r.uniqueID, n); }, this.S = function (e, t, i) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { r.loadingStart(); }, 100); var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.R(); var n = "JSON" + DayPilot.JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.T, n, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, n, this.U, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = r; e.O || (e.O = !0, clearInterval(e.V), e.W(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.X(), e.Y(), 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.disposed = function () { return this.O; }, this.Z = function () { this.nav.top.dispose = this.dispose; }, this.T = function (e) { r.U(e.responseText); }, this.R = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = r.days, e.startDate = r.startDate, e.heightSpec = r.heightSpec, e.businessBeginsHour = r.businessBeginsHour, e.businessEndsHour = r.businessEndsHour, e.hashes = r.hashes, e.timeFormat = r.timeFormat, e.viewType = r.viewType, e.locale = r.locale, e; }, this._ = function (e, t) {
996
996
  for (var i = e.parentNode; i && "TD" !== i.tagName;)
997
997
  i = i.parentNode;
998
998
  var a = r.eventBorderRadius;
@@ -1571,7 +1571,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1571
1571
  u.start = p.start.addTime(m * a), u.end = u.start.addTime(a), u.resource = p.id, u.onmousedown = this.wa, u.onmouseup = function () { return !1; }, u.onclick = function () { return !1; }, u.root = this, u.style.padding = "0px", u.style.border = "0px none", u.style.verticalAlign = "top", u.style.height = r.cellHeight + "px", u.style.overflow = "hidden", u.unselectable = "on";
1572
1572
  var h = document.createElement("div");
1573
1573
  h.unselectable = "on", h.style.height = r.cellHeight + "px", h.style.position = "relative", h.className = this.K("_cell");
1574
- var v = this.Za(u.start, u.end), y = { "business": v, "text": null, "html": null, "cssClass": null, "backColor": null, "backImage": null, "backRepeat": null }, g = { "start": u.start, "end": u.end, "resource": u.resource, "properties": y };
1574
+ var v = this.Za(u.start, u.end), y = { "business": v, "text": null, "html": null, "cssClass": null, "backColor": null, "backImage": null, "backRepeat": null, "fontColor": null }, g = { "start": u.start, "end": u.end, "resource": u.resource, "properties": y, "x": c, "y": m };
1575
1575
  !function () {
1576
1576
  if ("function" == typeof r.onBeforeCellRender) {
1577
1577
  var e = {};
@@ -1581,7 +1581,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1581
1581
  var b = document.createElement("div");
1582
1582
  b.setAttribute("unselectable", "on"), b.className = this.K("_cell_inner");
1583
1583
  var D = DayPilot.Util.escapeTextHtml(y.text, y.html);
1584
- D && (b.innerHTML = D), y.backColor && (b.style.backgroundColor = y.backColor), y.backImage && (b.style.backgroundImage = "url(" + y.backImage + ")"), y.backRepeat && (b.style.backgroundRepeat = y.backRepeat), h.appendChild(b), function () {
1584
+ D && (b.innerHTML = D), y.backColor && (b.style.backgroundColor = y.backColor), y.backImage && (b.style.backgroundImage = "url(" + y.backImage + ")"), y.backRepeat && (b.style.backgroundRepeat = y.backRepeat), y.fontColor && (b.style.color = y.fontColor), h.appendChild(b), function () {
1585
1585
  if ("function" == typeof r.onBeforeCellDomAdd || "function" == typeof r.onBeforeCellDomRemove) {
1586
1586
  var e = {};
1587
1587
  if (e.control = r, e.cell = g, e.element = null, u.domArgs = e, "function" == typeof r.onBeforeCellDomAdd && r.onBeforeCellDomAdd(e), e.element) {
@@ -1658,8 +1658,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1658
1658
  var n = a[t], o = e ? i.insertCell(-1) : i.cells[t];
1659
1659
  o.data = n, o.style.overflow = "hidden", o.style.padding = "0px", o.style.border = "0px none", o.style.height = r.headerHeight + "px", o.onclick = r._a;
1660
1660
  var s, l = e ? document.createElement("div") : o.firstChild;
1661
- e ? (l.unselectable = "on", l.style.MozUserSelect = "none", l.style.cursor = "default", l.style.position = "relative",
1662
- l.className = r.K("_colheader"), l.style.height = r.headerHeight + "px", r.headerTextWrappingEnabled || (l.style.whiteSpace = "nowrap"), s = document.createElement("div"), s.className = r.K("_colheader_inner"), s.unselectable = "on", l.appendChild(s), o.appendChild(l)) : s = l.firstChild;
1661
+ e ? (l.unselectable = "on",
1662
+ l.style.MozUserSelect = "none", l.style.cursor = "default", l.style.position = "relative", l.className = r.K("_colheader"), l.style.height = r.headerHeight + "px", r.headerTextWrappingEnabled || (l.style.whiteSpace = "nowrap"), s = document.createElement("div"), s.className = r.K("_colheader_inner"), s.unselectable = "on", l.appendChild(s), o.appendChild(l)) : s = l.firstChild;
1663
1663
  var d = {};
1664
1664
  d.header = {}, d.header.cssClass = null, d.header.verticalAlignment = "center", d.column = r.ab(n, r), "function" == typeof r.onBeforeHeaderRender && (DayPilot.Util.copyProps(n, d.header, ["id", "start", "name", "html", "backColor", "toolTip", "areas"]), r.onBeforeHeaderRender(d), DayPilot.Util.copyProps(d.header, n, ["html", "backColor", "toolTip", "areas", "cssClass", "verticalAlignment"])), n.toolTip && (s.title = n.toolTip), n.cssClass && DayPilot.Util.addClass(l, n.cssClass), n.backColor && (s.style.background = n.backColor), n.areas && DayPilot.Areas.attach(l, n);
1665
1665
  var c = n.verticalAlignment;
@@ -1688,7 +1688,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1688
1688
  this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0);
1689
1689
  this.headerCreated = !0;
1690
1690
  this.$a(t);
1691
- }, 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.S("Command", t, i); }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.cb = function () { var e = this.nav.scroll; e.onscroll || (e.onscroll = function () { r.db(); }); var t = "undefined" != typeof this.eb.scrollpos ? this.eb.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.fb = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.gb = 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) {
1691
+ }, 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.S("Command", t, i); }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.cb = function () { var e = this.nav.scroll; e.root = this, r.db(), e.onscroll || (e.onscroll = function () { r.eb(); }); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.fb = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.gb = 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) {
1692
1692
  var t = null;
1693
1693
  if (e instanceof DayPilot.Event)
1694
1694
  t = e.data;
@@ -1778,12 +1778,12 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1778
1778
  }, this.hb = function (e) {
1779
1779
  if (this.Ba) {
1780
1780
  var e = e || {}, t = !e.eventsOnly;
1781
- r.kb(), r.W(), r.nav.top.style.cursor = "auto", t && (r.da(), r.ga(), r.ha(), r.ia(), r.ja(), r.Wa(), r.fb(), r.ib(), r.lb()), r.ea(), r.fa(), r.ka(), r.clearSelection(), this.visible ? this.show() : this.hide();
1781
+ r.kb(), r.W(), r.nav.top.style.cursor = "auto", t && (r.da(), r.ga(), r.ha(), r.ia(), r.ja(), r.Wa(), r.fb(), r.ib(), r.db()), r.ea(), r.fa(), r.ka(), r.clearSelection(), this.visible ? this.show() : this.hide();
1782
1782
  }
1783
- }, this.mb = null, this.jb = function (e) {
1783
+ }, this.lb = null, this.jb = function (e) {
1784
1784
  if (e) {
1785
1785
  var t = { "events": { "preInit": function () { var e = this.data || []; DayPilot.isArray(e.list) ? r.events.list = e.list : r.events.list = e; } }, "columns": { "preInit": function () { r.columns.list = this.data; } } };
1786
- this.mb = t;
1786
+ this.lb = t;
1787
1787
  for (var i in e)
1788
1788
  if (t[i]) {
1789
1789
  var a = t[i];
@@ -1792,13 +1792,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1792
1792
  else
1793
1793
  r[i] = e[i];
1794
1794
  }
1795
- }, this.nb = function () {
1796
- var e = this.mb;
1795
+ }, this.mb = function () {
1796
+ var e = this.lb;
1797
1797
  for (var t in e) {
1798
1798
  var i = e[t];
1799
1799
  i.postInit && i.postInit();
1800
1800
  }
1801
- }, this.ob = function () {
1801
+ }, this.nb = function () {
1802
1802
  if (this.id && this.id.tagName)
1803
1803
  this.nav.top = this.id;
1804
1804
  else {
@@ -1807,8 +1807,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1807
1807
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
1808
1808
  throw "DayPilot.Calendar: The placeholder element not found: '" + e + "'.";
1809
1809
  }
1810
- }, this.pb = {}, this.pb.events = [], this.qb = function (e) {
1811
- var t = this.pb.events, i = this.events.list[e], a = {};
1810
+ }, this.ob = {}, this.ob.events = [], this.pb = function (e) {
1811
+ var t = this.ob.events, i = this.events.list[e], a = {};
1812
1812
  for (var n in i)
1813
1813
  a[n] = i[n];
1814
1814
  if (a.start = new DayPilot.Date(i.start), a.end = new DayPilot.Date(i.end), "function" == typeof this.onBeforeEventRender) {
@@ -1818,7 +1818,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1818
1818
  t[e] = a;
1819
1819
  }, this.ea = function () {
1820
1820
  var e = this.events.list;
1821
- if (r.pb.events = [], e) {
1821
+ if (r.ob.events = [], e) {
1822
1822
  if (!DayPilot.isArray(e))
1823
1823
  throw new DayPilot.Exception("DayPilot.Calendar.events.list expects an array object. You supplied: " + typeof e);
1824
1824
  var t = e.length, i = 864e5;
@@ -1838,7 +1838,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1838
1838
  }
1839
1839
  if ("function" == typeof this.onBeforeEventRender)
1840
1840
  for (var n = 0; n < t; n++)
1841
- this.qb(n);
1841
+ this.pb(n);
1842
1842
  for (var n = 0; n < this.va.length; n++) {
1843
1843
  var l = {};
1844
1844
  l.minEnd = 1e6, l.maxStart = -1, this.scrollLabels.push(l);
@@ -1858,21 +1858,21 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1858
1858
  var k = x.boxBottom;
1859
1859
  D.part.top = Math.floor(C / this.cellHeight) * this.cellHeight + 1, D.part.height = Math.max(Math.ceil(k / 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);
1860
1860
  var p = D.part.top, v = D.part.top + D.part.height;
1861
- 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.pb.events[m]), D.part.start.getTime() === y && D.part.end.getTime() === g && (a[m] = !0);
1861
+ 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.ob.events[m]), D.part.start.getTime() === y && D.part.end.getTime() === g && (a[m] = !0);
1862
1862
  }
1863
1863
  }
1864
1864
  }
1865
1865
  }
1866
1866
  for (var n = 0; n < this.va.length; n++) {
1867
1867
  var d = this.va[n];
1868
- d.events.sort(this.rb);
1868
+ d.events.sort(this.qb);
1869
1869
  for (var m = 0; m < d.events.length; m++) {
1870
1870
  var o = d.events[m];
1871
1871
  d.putIntoBlock(o);
1872
1872
  }
1873
1873
  for (var m = 0; m < d.blocks.length; m++) {
1874
1874
  var _ = d.blocks[m];
1875
- _.events.sort(this.rb);
1875
+ _.events.sort(this.qb);
1876
1876
  for (var S = 0; S < _.events.length; S++) {
1877
1877
  var o = _.events[S];
1878
1878
  _.putIntoLine(o);
@@ -1880,7 +1880,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1880
1880
  }
1881
1881
  }
1882
1882
  }
1883
- }, this.rb = function (e, t) {
1883
+ }, this.qb = function (e, t) {
1884
1884
  if (!(e && t && e.start && t.start))
1885
1885
  return 0;
1886
1886
  var i = e.start().getTime() - t.start().getTime();
@@ -1894,30 +1894,30 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1894
1894
  var o = 18e5, r = a - i, s = r % o, l = r - s, d = l + o;
1895
1895
  0 === s && (d = l);
1896
1896
  var c = {};
1897
- return c.cut = !1, c.top = this.sb(r), c.boxTop = this.sb(l), c.boxBottom = this.sb(d), this.cache.pixels[a + "_" + i] = c, c;
1898
- }, this.sb = function (e) { return Math.floor(this.cellHeight * e / 18e5); }, this.kb = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(); }, this.fa = function () { this.nav.corner && (this.nav.corner.style.height = this.headerHeight + "px"); }, this.ja = function () { var e = this.Oa(); this.nav.scroll && e > 0 && (this.nav.scroll.style.height = e + "px"); }, this.sa = {}, this.sa.scope = null, this.sa.notify = function () { r.sa.scope && r.sa.scope["$apply"](); }, this.sa.apply = function (e) { e(); }, this.db = function () {
1899
- if (r.nav.scroll) {
1897
+ return c.cut = !1, c.top = this.rb(r), c.boxTop = this.rb(l), c.boxBottom = this.rb(d), this.cache.pixels[a + "_" + i] = c, c;
1898
+ }, this.rb = function (e) { return Math.floor(this.cellHeight * e / 18e5); }, this.kb = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(); }, this.fa = function () { this.nav.corner && (this.nav.corner.style.height = this.headerHeight + "px"); }, this.ja = function () { var e = this.Oa(); this.nav.scroll && e > 0 && (this.nav.scroll.style.height = e + "px"); }, this.sa = {}, this.sa.scope = null, this.sa.notify = function () { r.sa.scope && r.sa.scope["$apply"](); }, this.sa.apply = function (e) { e(); }, this.eb = function () {
1899
+ if (r.nav.scroll && r.sb()) {
1900
1900
  var e = r.nav.scroll.scrollTop, t = e / (2 * r.cellHeight);
1901
- r.eb.scrollHour = t;
1901
+ r.tb.scrollHour = t;
1902
1902
  }
1903
- }, this.lb = function () { var e = 0; "number" == typeof r.eb.scrollHour ? e = 2 * r.cellHeight * r.eb.scrollHour : "Auto" === r.initScrollPos && (e = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), r.nav.scroll.scrollTop = e; }, this.getScrollY = function () { return r.nav.scroll.scrollTop; }, this.setScrollY = function (e) { r.nav.scroll.scrollTop = e, r.db(); }, this.tb = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof r.events.list || !r.events.list); }, this.t = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { r.visible = !0, r.nav.top.style.display = "", this.fb(); }, this.hide = function () { r.visible = !1, r.nav.top.style.display = "none"; }, this.ub = function () { this.kb(), this.da(), this.Na(), this.ga(), this.ha(), this.fb(), this.cb(), this.gb(), t.register(this), this.vb(), this.S("Init"); }, this.eb = {}, this.wb = function () { this.eb.themes = [], this.eb.themes.push(this.theme || this.cssClassPrefix); }, this.xb = function () {
1904
- for (var e = this.eb.themes, t = 0; t < e.length; t++) {
1903
+ }, this.db = function () { var e = 0; e = "number" == typeof r.tb.scrollHour ? 2 * r.cellHeight * r.tb.scrollHour : "Auto" === r.initScrollPos ? "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0 : this.initScrollPos; var t = r.nav.top; "none" === t.style.display ? (t.style.display = "", r.nav.scroll.scrollTop = e, t.style.display = "none") : r.nav.scroll.scrollTop = e; }, this.getScrollY = function () { return r.nav.scroll.scrollTop; }, this.setScrollY = function (e) { r.nav.scroll.scrollTop = e, r.eb(); }, this.ub = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof r.events.list || !r.events.list); }, this.t = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { r.visible = !0, r.nav.top.style.display = "", this.fb(); }, this.hide = function () { r.visible = !1, r.nav.top.style.display = "none"; }, this.vb = function () { this.kb(), this.da(), this.Na(), this.ga(), this.ha(), this.fb(), this.cb(), this.gb(), t.register(this), this.wb(), this.S("Init"); }, this.tb = {}, this.xb = function () { this.tb.themes = [], this.tb.themes.push(this.theme || this.cssClassPrefix); }, this.yb = function () {
1904
+ for (var e = this.tb.themes, t = 0; t < e.length; t++) {
1905
1905
  var i = e[t];
1906
1906
  DayPilot.Util.removeClass(this.nav.top, i + "_main");
1907
1907
  }
1908
- this.eb.themes = [];
1909
- }, this.yb = function () {
1908
+ this.tb.themes = [];
1909
+ }, this.zb = function () {
1910
1910
  if (this.afterRender(null, !1), "function" == typeof this.onAfterRender) {
1911
1911
  var e = {};
1912
1912
  e.isCallBack = !1, this.onAfterRender(e);
1913
1913
  }
1914
- }, this.zb = function () {
1915
- if ("function" == typeof this.onInit && !this.Ab) {
1916
- this.Ab = !0;
1914
+ }, this.Ab = function () {
1915
+ if ("function" == typeof this.onInit && !this.Bb) {
1916
+ this.Bb = !0;
1917
1917
  var e = {};
1918
1918
  this.onInit(e);
1919
1919
  }
1920
- }, this.Bb = function () { var e = r.nav.top; return !!e && (e.offsetWidth > 0 && e.offsetHeight > 0); }, this.vb = function () { var e = r.Bb; e() || (r.V = setInterval(function () { e() && (r.cb(), r.fb(), clearInterval(r.V)); }, 100)); }, this.Ra = function (e, t) { return r.aa.ba() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.Ha = {}, this.Ha.Ga = null, this.Ha.Cb = function (e, t, i) {
1920
+ }, this.sb = function () { var e = r.nav.top; return !!e && (e.offsetWidth > 0 && e.offsetHeight > 0); }, this.wb = function () { var e = r.sb; e() || (r.V = setInterval(function () { e() && (r.cb(), r.fb(), clearInterval(r.V)); }, 100)); }, this.Ra = function (e, t) { return r.aa.ba() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.Ha = {}, this.Ha.Ga = null, this.Ha.Cb = function (e, t, i) {
1921
1921
  var a = r.Ha.Ga;
1922
1922
  if ("function" == typeof a.createVNode && "function" == typeof a.render) {
1923
1923
  var n = a.createVNode(e, i);
@@ -1929,7 +1929,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1929
1929
  var a = e;
1930
1930
  DayPilot.isArray(e) && (a = i.h("div", null, e)), i.render(a, t);
1931
1931
  }
1932
- }, this.Ha.Ja = function (e) { var t = r.Ha.Ga; "function" == typeof t.render && t.render(null, e); }, this.internal = {}, this.internal.loadOptions = r.jb, this.internal.xssTextHtml = r.Ra, this.internal.enableVue = function (e) { r.Ha.Ga = e; }, this.internal.vueRef = function () { return r.Ha.Ga; }, this.internal.vueRendering = function () { return r.Ha.Ia; }, this.init = function () { this.ob(); var e = this.tb(); return this.wb(), e ? void this.ub() : (this.kb(), this.da(), this.ea(), this.Na(), this.ga(), this.ha(), this.t(), this.fb(), this.cb(), this.gb(), t.register(this), this.events && (this.fa(), this.ka()), this.yb(), this.zb(), this.vb(), this.Ba = !0, this); }, this.Init = this.init, this.jb(n);
1932
+ }, this.Ha.Ja = function (e) { var t = r.Ha.Ga; "function" == typeof t.render && t.render(null, e); }, this.internal = {}, this.internal.loadOptions = r.jb, this.internal.xssTextHtml = r.Ra, this.internal.enableVue = function (e) { r.Ha.Ga = e; }, this.internal.vueRef = function () { return r.Ha.Ga; }, this.internal.vueRendering = function () { return r.Ha.Ia; }, this.init = function () { this.nb(); var e = this.ub(); return this.xb(), e ? void this.vb() : (this.kb(), this.da(), this.ea(), this.Na(), this.ga(), this.ha(), this.t(), this.fb(), this.cb(), this.gb(), t.register(this), this.events && (this.fa(), this.ka()), this.zb(), this.Ab(), this.wb(), this.Ba = !0, this); }, this.Init = this.init, this.jb(n);
1933
1933
  }, 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) {
1934
1934
  e.fn.daypilotCalendar = function (e) {
1935
1935
  var t = null, i = this.each(function () {
@@ -1961,7 +1961,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1961
1961
  l.call(t, d, function (e) {
1962
1962
  for (var t in e)
1963
1963
  n[t] = e[t];
1964
- n.update(), n.zb();
1964
+ n.update(), n.Ab();
1965
1965
  }, !0), l.call(t, c, function (e) { n.events.list = e, n.update(); }, !0);
1966
1966
  } };
1967
1967
  }]);
@@ -1971,13 +1971,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1971
1971
  var DayPilot = {};
1972
1972
  if (function () {
1973
1973
  "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (e) {
1974
- this.v = "2024.4.609-lite";
1974
+ this.v = "2024.4.626-lite";
1975
1975
  var t = "navigator_" + (new Date).getTime(), i = this;
1976
1976
  this.onShow = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.prepare = function () {
1977
1977
  if (this.locale = "en-us", this.target = null, this.targetAlignment = "left", this.resetTarget = !0, this.pattern = this.aa.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, e)
1978
1978
  for (var t in e)
1979
1979
  this[t] = e[t];
1980
- }, this.init = function () { this.date = new DayPilot.Date(this.date); var e = this.Db(); this.resetTarget && !e ? this.Eb(this.date) : this.resetTarget || (i.date = e); var t = this.C(); return t && t.addEventListener("input", function () { i.date = i.Db(), i.date && i.navigator.select(i.date, { dontNotify: !0 }); }), document.addEventListener("mousedown", function () { i.close(); }), this; }, this.close = function () { this.Bb && (this.Bb = !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.Eb(this.date); }, this.Db = function () {
1980
+ }, this.init = function () { this.date = new DayPilot.Date(this.date); var e = this.Db(); this.resetTarget && !e ? this.Eb(this.date) : this.resetTarget || (i.date = e); var t = this.C(); return t && t.addEventListener("input", function () { i.date = i.Db(), i.date && i.navigator.select(i.date, { dontNotify: !0 }); }), document.addEventListener("mousedown", function () { i.close(); }), this; }, this.close = function () { this.sb && (this.sb = !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.Eb(this.date); }, this.Db = function () {
1981
1981
  var e = this.C();
1982
1982
  if (!e)
1983
1983
  return this.date;
@@ -1996,8 +1996,8 @@ if (function () {
1996
1996
  var a = e.toString(i.pattern, i.locale);
1997
1997
  "INPUT" === t.tagName ? t.value = a : t.innerHTML = a;
1998
1998
  }
1999
- }, this.aa = {}, this.aa.locale = function () { return DayPilot.Locale.find(i.locale); }, this.C = function () { var e = this.target; return e && e.nodeType && 1 === e.nodeType ? e : document.getElementById(e); }, Object.defineProperty(this, "visible", { get: function () { return i.Bb; } }), this.show = function () {
2000
- if (!this.Bb) {
1999
+ }, this.aa = {}, this.aa.locale = function () { return DayPilot.Locale.find(i.locale); }, this.C = function () { var e = this.target; return e && e.nodeType && 1 === e.nodeType ? e : document.getElementById(e); }, Object.defineProperty(this, "visible", { get: function () { return i.sb; } }), this.show = function () {
2000
+ if (!this.sb) {
2001
2001
  var e = this.C(), a = this.navigator, a = new DayPilot.Navigator(t);
2002
2002
  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.Fb), 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.Eb(n), i.close(), "function" == typeof i.onTimeRangeSelected && i.onTimeRangeSelected(e)); }, this.navigator = a;
2003
2003
  var n = DayPilot.abs(e), o = e.offsetHeight, r = i.targetAlignment, s = document.createElement("div");
@@ -2009,7 +2009,7 @@ if (function () {
2009
2009
  var c = n.x + e.offsetWidth - a.nav.top.offsetWidth;
2010
2010
  s.style.left = c + "px";
2011
2011
  }
2012
- this.Bb = !0, this.onShow && this.onShow();
2012
+ this.sb = !0, this.onShow && this.onShow();
2013
2013
  }
2014
2014
  }, this.prepare(), this.init();
2015
2015
  });
@@ -2021,7 +2021,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2021
2021
  var e = function () { }, t = {};
2022
2022
  t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (i) {
2023
2023
  var a = this, n = null;
2024
- this.v = "2024.4.609-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.Gb = function () { }, i && DayPilot.isArray(i) && (this.items = i), this.toJSON = function () { return null; }, this.show = function (i, o) {
2024
+ this.v = "2024.4.626-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.Gb = function () { }, i && DayPilot.isArray(i) && (this.items = i), this.toJSON = function () { return null; }, this.show = function (i, o) {
2025
2025
  o = o || {};
2026
2026
  var r = null;
2027
2027
  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.Gb.submenu = null, null !== t.mouse) {
@@ -2151,7 +2151,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2151
2151
  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.Gb.visible = !0, a.Gb.source = i, d.style.display = "";
2152
2152
  var M = d.offsetHeight, H = d.offsetWidth;
2153
2153
  d.style.display = "none";
2154
- var A = document.documentElement.clientHeight, T = window.innerWidth, E = "number" == typeof o.windowMargin ? o.windowMargin : 5;
2154
+ var T = document.documentElement.clientHeight, A = window.innerWidth, E = "number" == typeof o.windowMargin ? o.windowMargin : 5;
2155
2155
  if (function () {
2156
2156
  var e = o.initiator;
2157
2157
  if (e) {
@@ -2163,23 +2163,23 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2163
2163
  }
2164
2164
  }(), function () {
2165
2165
  var e = "number" == typeof o.x ? o.x : t.mouse.x + 1, i = "number" == typeof o.y ? o.y : t.mouse.y + 1, a = document.body.scrollTop || document.documentElement.scrollTop, n = document.body.scrollLeft || document.documentElement.scrollLeft;
2166
- if (i - a > A - M && 0 !== A) {
2167
- var r = i - a - (A - M) + E;
2166
+ if (i - a > T - M && 0 !== T) {
2167
+ var r = i - a - (T - M) + E;
2168
2168
  d.style.top = i - r + "px";
2169
2169
  }
2170
2170
  else
2171
2171
  d.style.top = i + "px";
2172
- if ("right" === o.align && (e -= H), e - n > T - H && 0 !== T) {
2173
- var s = e - n - (T - H) + E;
2172
+ if ("right" === o.align && (e -= H), e - n > A - H && 0 !== A) {
2173
+ var s = e - n - (A - H) + E;
2174
2174
  d.style.left = e - s + "px";
2175
2175
  }
2176
2176
  else
2177
2177
  d.style.left = e + "px";
2178
2178
  }(), o.parentLink) {
2179
2179
  var N = o.parentLink, I = parseInt(new DayPilot.StyleReader(d).get("border-top-width")), R = DayPilot.abs(o.parentLink.parentNode), B = R.x + N.offsetWidth, z = R.y - I;
2180
- B + H > T && (B = Math.max(0, R.x - H));
2180
+ B + H > A && (B = Math.max(0, R.x - H));
2181
2181
  var O = document.body.scrollTop + document.documentElement.scrollTop;
2182
- z + M - O > A && (z = Math.max(0, A - M + O)), d.style.left = B + "px", d.style.top = z + "px";
2182
+ z + M - O > T && (z = Math.max(0, T - M + O)), d.style.left = B + "px", d.style.top = z + "px";
2183
2183
  }
2184
2184
  d.style.display = "", this.addShadow(d), this.Gb.div = d, o.submenu || (DayPilot.Menu.active = this);
2185
2185
  }
@@ -2597,18 +2597,16 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2597
2597
  }
2598
2598
  for (var n in i)
2599
2599
  this.setValue(n, i[n]);
2600
- }, r.prototype.setValue = function (e, t) { this.oc.forEach(function (i) { i.applyValue(e, t); }); }, r.prototype.updateDependentState = function () { var e = this, t = [!0]; (this.pc ? this.pc : this.oc).forEach(function (i) { var a = e.updateState(i, { enabled: t[i.level] && !i.data.disabled }); a.isValue && (t[a.level + 1] = a.enabled && a.checked); }); }, r.prototype.processFormItem = function (e, t) {
2600
+ }, r.prototype.setValue = function (e, t) {
2601
+ this.oc.forEach(function (i) { i.applyValue(e, t); });
2602
+ }, r.prototype.updateDependentState = function () { var e = this, t = [!0]; (this.pc ? this.pc : this.oc).forEach(function (i) { var a = e.updateState(i, { enabled: t[i.level] && !i.data.disabled }); a.isValue && (t[a.level + 1] = a.enabled && a.checked); }); }, r.prototype.processFormItem = function (e, t) {
2601
2603
  var i = this, a = this.getFieldType(e), n = [];
2602
2604
  if ("radio" === a) {
2603
2605
  if (e.name) {
2604
2606
  var o = new s;
2605
2607
  o.field = e.id, o.data = e, o.level = t, o.type = "label", o.interactive = !1, o.text = e.name, i.oc.push(o), n.push(o);
2606
2608
  }
2607
- e.options.forEach(function (o) {
2608
- var r = new s;
2609
- r.field = e.id, r.data = o, r.level = t, r.type = a, r.isValue = !0, r.text = o.name, r.resolved = o.id, i.oc.push(r),
2610
- n.push(r), o.children && o.children.forEach(function (e) { var a = i.processFormItem(e, t + 1); n = n.concat(a); });
2611
- });
2609
+ e.options.forEach(function (o) { var r = new s; r.field = e.id, r.data = o, r.level = t, r.type = a, r.isValue = !0, r.text = o.name, r.resolved = o.id, i.oc.push(r), n.push(r), o.children && o.children.forEach(function (e) { var a = i.processFormItem(e, t + 1); n = n.concat(a); }); });
2612
2610
  }
2613
2611
  else if ("title" === a) {
2614
2612
  var o = new s;
@@ -2976,9 +2974,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2976
2974
  if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
2977
2975
  var e = {}, t = DayPilot.Util.isVueVNode;
2978
2976
  e.Month = function (i, a) {
2979
- this.v = "2024.4.609-lite", this.nav = {};
2977
+ this.v = "2024.4.626-lite", this.nav = {};
2980
2978
  var n = this;
2981
- this.id = i, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, this.cellMarginBottom = 0, 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 = "Auto", 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.onBeforeEventRender = null, this.onBeforeCellRender = null, this.cellEvents = [], this.elements = {}, this.elements.events = [], this.cache = {}, this.O = !1, this.U = function (e, t) { var e = JSON.parse(e); return e.CallBackRedirect ? void (document.location.href = e.CallBackRedirect) : "None" === e.UpdateType ? void n.fireAfterRenderDetached(e.CallBackData, !0) : (n.events.list = e.Events, "Full" === e.UpdateType && (n.startDate = e.StartDate, n.timeFormat = e.TimeFormat ? e.TimeFormat : n.timeFormat, "undefined" != typeof e.WeekStarts && (n.weekStarts = e.WeekStarts), n.hashes = e.Hashes), n.W(), n.Tc(), n.ea(), "Full" === e.UpdateType && (n.Uc(), n.Vc()), n.ja(), n.show(), n.ka(), void n.fireAfterRenderDetached(e.CallBackData, !0)); }, this.fireAfterRenderDetached = function (e, t) { var i = function (e, t) { return function () { n.afterRender && n.afterRender(e, t); }; }; window.setTimeout(i(e, t), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (e) {
2979
+ this.id = i, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, this.cellMarginBottom = 0, this.contextMenu = null, this.cssClassPrefix = "month_default", this.eventBarVisible = !0, this.eventBorderRadius = null, 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 = "Auto", 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.onBeforeEventRender = null, this.onBeforeCellRender = null, this.cellEvents = [], this.elements = {}, this.elements.events = [], this.cache = {}, this.O = !1, this.U = function (e, t) { var e = JSON.parse(e); return e.CallBackRedirect ? void (document.location.href = e.CallBackRedirect) : "None" === e.UpdateType ? void n.fireAfterRenderDetached(e.CallBackData, !0) : (n.events.list = e.Events, "Full" === e.UpdateType && (n.startDate = e.StartDate, n.timeFormat = e.TimeFormat ? e.TimeFormat : n.timeFormat, "undefined" != typeof e.WeekStarts && (n.weekStarts = e.WeekStarts), n.hashes = e.Hashes), n.W(), n.Tc(), n.ea(), "Full" === e.UpdateType && (n.Uc(), n.Vc()), n.ja(), n.show(), n.ka(), void n.fireAfterRenderDetached(e.CallBackData, !0)); }, this.fireAfterRenderDetached = function (e, t) { var i = function (e, t) { return function () { n.afterRender && n.afterRender(e, t); }; }; window.setTimeout(i(e, t), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (e) {
2982
2980
  var t = null;
2983
2981
  if (e instanceof DayPilot.Event)
2984
2982
  t = e.data;
@@ -3053,7 +3051,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3053
3051
  var r = e, s = "start=" + n.visibleStart().toString() + "&end=" + n.visibleEnd().toString();
3054
3052
  r += r.indexOf("?") > -1 ? "&" + s : "?" + s, DayPilot.Http.ajax({ "method": "GET", "url": r, "success": o, "error": a });
3055
3053
  }
3056
- }, this.events.forRange = function (e, t) { e = new DayPilot.Date(e), t = new DayPilot.Date(t); var i = (n.events.list || []).map(function (e) { return new DayPilot.Event(e); }); return i.sort(n.rb), i.filter(function (i) { var a = i.start(), n = i.end(); return a === n && a === e || DayPilot.Util.overlaps(e, t, a, n); }); }, this.update = function (e) {
3054
+ }, this.events.forRange = function (e, t) { e = new DayPilot.Date(e), t = new DayPilot.Date(t); var i = (n.events.list || []).map(function (e) { return new DayPilot.Event(e); }); return i.sort(n.qb), i.filter(function (i) { var a = i.start(), n = i.end(); return a === n && a === e || DayPilot.Util.overlaps(e, t, a, n); }); }, this.update = function (e) {
3057
3055
  if (n.jb(e), this.Ba) {
3058
3056
  if (n.O)
3059
3057
  throw new DayPilot.Exception("You are trying to update a DayPilot.Month instance that has been disposed.");
@@ -3061,10 +3059,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3061
3059
  n.W(), n.Tc(), n.ea(), n.Uc(), n.Vc(), n.ja(), n.t(), n.ka(), this.visible ? this.show() : this.hide();
3062
3060
  }
3063
3061
  }
3064
- }, this.mb = null, this.jb = function (e) {
3062
+ }, this.lb = null, this.jb = function (e) {
3065
3063
  if (e) {
3066
3064
  var t = { "events": { "preInit": function () { var e = this.data || []; DayPilot.isArray(e.list) ? n.events.list = e.list : n.events.list = e; } } };
3067
- this.mb = t;
3065
+ this.lb = t;
3068
3066
  for (var i in e)
3069
3067
  if (t[i]) {
3070
3068
  var a = t[i];
@@ -3073,14 +3071,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3073
3071
  else
3074
3072
  n[i] = e[i];
3075
3073
  }
3076
- }, this.nb = function () {
3077
- var e = this.mb;
3074
+ }, this.mb = function () {
3075
+ var e = this.lb;
3078
3076
  for (var t in e) {
3079
3077
  var i = e[t];
3080
3078
  i.postInit && i.postInit();
3081
3079
  }
3082
- }, this.pb = {}, this.pb.events = [], this.qb = function (e) {
3083
- var t = this.pb.events, i = this.events.list[e], a = {};
3080
+ }, this.ob = {}, this.ob.events = [], this.pb = function (e) {
3081
+ var t = this.ob.events, i = this.events.list[e], a = {};
3084
3082
  for (var o in i)
3085
3083
  a[o] = i[o];
3086
3084
  if ("function" == typeof this.onBeforeEventRender) {
@@ -3095,7 +3093,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3095
3093
  throw new DayPilot.Exception("DayPilot.Month.events.list expects an array object. You supplied: " + typeof e);
3096
3094
  if ("function" == typeof this.onBeforeEventRender)
3097
3095
  for (var t = 0; t < e.length; t++)
3098
- this.qb(t);
3096
+ this.pb(t);
3099
3097
  for (var i = 0; i < e.length; i++) {
3100
3098
  var a = e[i];
3101
3099
  if ("object" != typeof a)
@@ -3108,12 +3106,12 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3108
3106
  if (!(n.getTime() > o.getTime()))
3109
3107
  for (var t = 0; t < this.rows.length; t++) {
3110
3108
  var r = this.rows[t], s = new DayPilot.Event(a, this);
3111
- r.belongsHere(s) && (r.events.push(s), "function" == typeof this.onBeforeEventRender && (s.cache = this.pb.events[i]));
3109
+ r.belongsHere(s) && (r.events.push(s), "function" == typeof this.onBeforeEventRender && (s.cache = this.ob.events[i]));
3112
3110
  }
3113
3111
  }
3114
3112
  for (var l = 0; l < this.rows.length; l++) {
3115
3113
  var r = this.rows[l];
3116
- r.events.sort(this.rb);
3114
+ r.events.sort(this.qb);
3117
3115
  for (var d = 0; d < this.rows[l].events.length; d++) {
3118
3116
  var c = r.events[d], u = r.getStartColumn(c), h = r.getWidth(c);
3119
3117
  r.putIntoLine(c, u, h, l);
@@ -3142,7 +3140,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3142
3140
  for (var t = this.rows[e], i = 0; i < t.lines.length; i++)
3143
3141
  for (var a = t.lines[i], n = 0; n < a.length; n++)
3144
3142
  this.Ka(a[n]);
3145
- }, this.rb = function (e, t) {
3143
+ }, this.qb = function (e, t) {
3146
3144
  if (!(e && t && e.start && t.start))
3147
3145
  return 0;
3148
3146
  var i = e.start().getTime() - t.start().getTime();
@@ -3162,11 +3160,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3162
3160
  t -= c;
3163
3161
  i < 0 && (i = 0, t = 0);
3164
3162
  var u = null;
3165
- for (e.resizingEvent ? u = "w-resize" : e.movingEvent && (u = "move"), this.nav.top.style.cursor = u; l > 0 && i < this.rows.length;) {
3166
- var h = Math.min(this.getColCount() - t, l), f = this.rows[i], m = this.getRowTop(i), p = f.getHeight(), v = document.createElement("div");
3167
- v.setAttribute("unselectable", "on"), v.style.position = "absolute", v.style.left = this.getCellWidth() * t + "%", v.style.width = this.getCellWidth() * h + "%", v.style.top = m + "px", v.style.height = p + "px", v.style.cursor = u, v.classList.add(n.K("_shadow"));
3168
- var y = document.createElement("div");
3169
- y.setAttribute("unselectable", "on"), v.appendChild(y), y.style.position = "absolute", y.style.top = "0px", y.style.right = "0px", y.style.left = "0px", y.style.bottom = "0px", y.classList.add(n.K("_shadow_inner")), this.nav.top.appendChild(v), this.shadow.list.push(v), l -= h + 7 - this.getColCount(), t = 0, i++;
3163
+ e.resizingEvent ? u = "w-resize" : e.movingEvent && (u = "move"), this.nav.top.style.cursor = u;
3164
+ var h = n.eventBorderRadius;
3165
+ for ("number" == typeof h && (h += "px"); l > 0 && i < this.rows.length;) {
3166
+ var f = Math.min(this.getColCount() - t, l), m = this.rows[i], p = this.getRowTop(i), v = m.getHeight(), y = document.createElement("div");
3167
+ y.setAttribute("unselectable", "on"), y.style.position = "absolute", y.style.left = this.getCellWidth() * t + "%", y.style.width = this.getCellWidth() * f + "%", y.style.top = p + "px", y.style.height = v + "px", y.style.cursor = u, y.classList.add(n.K("_shadow"));
3168
+ var g = document.createElement("div");
3169
+ g.setAttribute("unselectable", "on"), y.appendChild(g), g.style.position = "absolute", g.style.top = "0px", g.style.right = "0px", g.style.left = "0px", g.style.bottom = "0px", g.classList.add(n.K("_shadow_inner")), h && (l === o && (y.style.borderTopLeftRadius = h, y.style.borderBottomLeftRadius = h, g.style.borderTopLeftRadius = h, g.style.borderBottomLeftRadius = h), l <= f && (y.style.borderTopRightRadius = h, y.style.borderBottomRightRadius = h, g.style.borderTopRightRadius = h, g.style.borderBottomRightRadius = h)), this.nav.top.appendChild(y), this.shadow.list.push(y), l -= f + 7 - this.getColCount(), t = 0, i++;
3170
3170
  }
3171
3171
  }, this.clearShadow = function () {
3172
3172
  if (this.shadow) {
@@ -3179,69 +3179,72 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3179
3179
  i += this.rows[a].getHeight();
3180
3180
  return i += this.cellHeaderHeight, i += t * this.lineHeight();
3181
3181
  }, this.getDateFromCell = function (e, t) { return this.firstDate.addDays(7 * t + e); }, this.Ka = function (i) {
3182
- var a = i.cache || i.data, o = i.part.row, r = i.part.line, s = i.part.colStart, l = i.part.colWidth, d = this.getCellWidth() * s, c = this.getCellWidth() * l, u = this.getEventTop(o, r), h = document.createElement("div");
3183
- h.setAttribute("unselectable", "on"), h.style.height = this.eventHeight + "px", h.className = this.K("_event"), a.cssClass && DayPilot.Util.addClass(h, a.cssClass), i.part.startsHere || DayPilot.Util.addClass(h, this.K("_event_continueleft")), i.part.endsHere || DayPilot.Util.addClass(h, this.K("_event_continueright")), h.event = i, h.style.width = c + "%", h.style.position = "absolute", h.style.left = d + "%", h.style.top = u + "px", this.showToolTip && i.client.toolTip() && (h.title = i.client.toolTip()), h.onclick = n.ra, h.oncontextmenu = n.Xc, h.onmousedown = function (t) {
3182
+ var a = i.cache || i.data, o = a.borderRadius || n.eventBorderRadius;
3183
+ "number" == typeof o && (o += "px");
3184
+ var r = i.part.row, s = i.part.line, l = i.part.colStart, d = i.part.colWidth, c = this.getCellWidth() * l, u = this.getCellWidth() * d, h = this.getEventTop(r, s), f = document.createElement("div");
3185
+ f.setAttribute("unselectable", "on"), f.style.height = this.eventHeight + "px", f.style.overflow = "hidden", f.className = this.K("_event"), a.cssClass && DayPilot.Util.addClass(f, a.cssClass), i.part.startsHere || DayPilot.Util.addClass(f, this.K("_event_continueleft")),
3186
+ i.part.endsHere || DayPilot.Util.addClass(f, this.K("_event_continueright")), f.event = i, f.style.width = u + "%", f.style.position = "absolute", f.style.left = c + "%", f.style.top = h + "px", this.showToolTip && i.client.toolTip() && (f.title = i.client.toolTip()), f.onclick = n.ra, f.oncontextmenu = n.Xc, f.onmousedown = function (t) {
3184
3187
  t = t || window.event;
3185
3188
  var a = t.which || t.button;
3186
3189
  if (t.cancelBubble = !0, t.stopPropagation && t.stopPropagation(), 1 === a)
3187
3190
  if (e.movingEvent = null, "w-resize" === this.style.cursor || "e-resize" === this.style.cursor) {
3188
- var d = {};
3189
- d.start = {}, d.start.x = s, d.start.y = o, d.event = h.event, d.width = DayPilot.DateUtil.daysSpan(d.event.start(), d.event.end()) + 1, d.direction = this.style.cursor, e.resizingEvent = d;
3191
+ var o = {};
3192
+ o.start = {}, o.start.x = l, o.start.y = r, o.event = f.event, o.width = DayPilot.DateUtil.daysSpan(o.event.start(), o.event.end()) + 1, o.direction = this.style.cursor, e.resizingEvent = o;
3190
3193
  }
3191
3194
  else if ("move" === this.style.cursor || i.client.moveEnabled()) {
3192
3195
  n.clearShadow();
3193
3196
  var c = DayPilot.mo3(n.nav.top, t);
3194
3197
  if (!c)
3195
3198
  return;
3196
- var u = n.getCellBelowPoint(c.x, c.y), f = DayPilot.DateUtil.daysDiff(i.start(), n.rows[o].start), m = 7 * u.y + u.x - (7 * o + s);
3197
- f && (m += f);
3199
+ var u = n.getCellBelowPoint(c.x, c.y), h = DayPilot.DateUtil.daysDiff(i.start(), n.rows[r].start), m = 7 * u.y + u.x - (7 * r + l);
3200
+ h && (m += h);
3198
3201
  var p = {};
3199
- p.start = {}, p.start.x = s, p.start.y = o, p.start.line = r, p.offset = n.eventMoveToPosition ? 0 : m, p.colWidth = l, p.event = h.event, p.coords = c, e.movingEvent = p;
3202
+ p.start = {}, p.start.x = l, p.start.y = r, p.start.line = s, p.offset = n.eventMoveToPosition ? 0 : m, p.colWidth = d, p.event = f.event, p.coords = c, e.movingEvent = p;
3200
3203
  }
3201
- }, h.onmousemove = function (t) {
3204
+ }, f.onmousemove = function (t) {
3202
3205
  if ("undefined" != typeof e && !e.movingEvent && !e.resizingEvent) {
3203
- var a = DayPilot.mo3(h, t);
3206
+ var a = DayPilot.mo3(f, t);
3204
3207
  if (a) {
3205
- h.deleteIcon && (h.deleteIcon.style.display = "");
3208
+ f.deleteIcon && (f.deleteIcon.style.display = "");
3206
3209
  var n = 6;
3207
- a.x <= n && i.client.resizeEnabled() ? i.part.startsHere ? (h.style.cursor = "w-resize", h.dpBorder = "left") : h.style.cursor = "not-allowed" : h.clientWidth - a.x <= n && i.client.resizeEnabled() ? i.part.endsHere ? (h.style.cursor = "e-resize", h.dpBorder = "right") : h.style.cursor = "not-allowed" : i.client.clickEnabled() ? h.style.cursor = "pointer" : h.style.cursor = "default";
3210
+ a.x <= n && i.client.resizeEnabled() ? i.part.startsHere ? (f.style.cursor = "w-resize", f.dpBorder = "left") : f.style.cursor = "not-allowed" : f.clientWidth - a.x <= n && i.client.resizeEnabled() ? i.part.endsHere ? (f.style.cursor = "e-resize", f.dpBorder = "right") : f.style.cursor = "not-allowed" : i.client.clickEnabled() ? f.style.cursor = "pointer" : f.style.cursor = "default";
3208
3211
  }
3209
3212
  }
3210
- }, h.onmouseleave = function (e) { h.deleteIcon && (h.deleteIcon.style.display = "none"), h.style.cursor = ""; }, h.onmouseenter = function (e) { h.deleteIcon && (h.deleteIcon.style.display = ""); };
3211
- var f = document.createElement("div");
3212
- if (f.setAttribute("unselectable", "on"), f.className = this.K("_event_inner"), "darker" === a.borderColor && a.backColor ? f.style.borderColor = DayPilot.ColorUtil.darker(a.backColor, 2) : f.style.borderColor = a.borderColor, a.backColor && (f.style.background = a.backColor), a.fontColor && (f.style.color = a.fontColor), h.appendChild(f), i.client.barVisible()) {
3213
- var m = document.createElement("div");
3214
- m.setAttribute("unselectable", "on"), m.className = this.K("_event_bar"), m.style.position = "absolute";
3213
+ }, f.onmouseleave = function (e) { f.deleteIcon && (f.deleteIcon.style.display = "none"), f.style.cursor = ""; }, f.onmouseenter = function (e) { f.deleteIcon && (f.deleteIcon.style.display = ""); };
3214
+ var m = document.createElement("div");
3215
+ if (m.setAttribute("unselectable", "on"), m.className = this.K("_event_inner"), "darker" === a.borderColor && a.backColor ? m.style.borderColor = DayPilot.ColorUtil.darker(a.backColor, 2) : m.style.borderColor = a.borderColor, a.backColor && (m.style.background = a.backColor), a.fontColor && (m.style.color = a.fontColor), o && (f.style.borderRadius = o, m.style.borderRadius = o), f.appendChild(m), i.client.barVisible()) {
3215
3216
  var p = document.createElement("div");
3216
- p.setAttribute("unselectable", "on"), p.className = this.K("_event_bar_inner"), p.style.top = "0%", p.style.height = "100%", a.barColor && (p.style.backgroundColor = a.barColor), m.appendChild(p), h.appendChild(m);
3217
+ p.setAttribute("unselectable", "on"), p.className = this.K("_event_bar"), p.style.position = "absolute";
3218
+ var v = document.createElement("div");
3219
+ v.setAttribute("unselectable", "on"), v.className = this.K("_event_bar_inner"), v.style.top = "0%", v.style.height = "100%", a.barColor && (v.style.backgroundColor = a.barColor), p.appendChild(v), f.appendChild(p);
3217
3220
  }
3218
3221
  if (i.client.deleteEnabled()) {
3219
- var v = Math.floor(n.eventHeight / 2 - 9), y = document.createElement("div");
3220
- y.style.position = "absolute", y.style.right = "2px", y.style.top = v + "px", y.style.width = "18px", y.style.height = "18px", y.className = n.K("_event_delete"), y.onmousedown = function (e) { e.stopPropagation(); }, y.onclick = function (e) { e.stopPropagation(); var t = this.parentNode.event; t && n.ua(t); }, y.style.display = "none", h.deleteIcon = y, h.appendChild(y);
3222
+ var y = Math.floor(n.eventHeight / 2 - 9), g = document.createElement("div");
3223
+ g.style.position = "absolute", g.style.right = "2px", g.style.top = y + "px", g.style.width = "18px", g.style.height = "18px", g.className = n.K("_event_delete"), g.onmousedown = function (e) { e.stopPropagation(); }, g.onclick = function (e) { e.stopPropagation(); var t = this.parentNode.event; t && n.ua(t); }, g.style.display = "none", f.deleteIcon = g, f.appendChild(g);
3221
3224
  }
3222
- var g = a.areas ? DayPilot.Areas.copy(a.areas) : [];
3223
- if (DayPilot.Areas.attach(h, i, { "areas": g }), "function" == typeof n.onAfterEventRender) {
3224
- var b = {};
3225
- b.e = h.event, b.div = h, n.onAfterEventRender(b);
3225
+ var b = a.areas ? DayPilot.Areas.copy(a.areas) : [];
3226
+ if (DayPilot.Areas.attach(f, i, { "areas": b }), "function" == typeof n.onAfterEventRender) {
3227
+ var D = {};
3228
+ D.e = f.event, D.div = f, n.onAfterEventRender(D);
3226
3229
  }
3227
3230
  !function () {
3228
3231
  var e = {};
3229
- if (e.control = n, e.e = a, e.element = null, h.domArgs = e, "function" == typeof n.onBeforeEventDomAdd && n.onBeforeEventDomAdd(e), e.element) {
3230
- var o = f;
3231
- if (o) {
3232
- e.Fa = o;
3232
+ if (e.control = n, e.e = i, e.element = null, f.domArgs = e, "function" == typeof n.onBeforeEventDomAdd && n.onBeforeEventDomAdd(e), e.element) {
3233
+ var a = m;
3234
+ if (a) {
3235
+ e.Fa = a;
3233
3236
  if (t(e.element)) {
3234
3237
  if (!n.Ha.Ga)
3235
3238
  throw new DayPilot.Exception("Can't reach Vue");
3236
- n.Ha.Ia = !0, n.Ha.La(e.element, o), n.Ha.Ia = !1;
3239
+ n.Ha.Ia = !0, n.Ha.La(e.element, a, { "style": { "flexGrow": 1 } }), n.Ha.Ia = !1;
3237
3240
  }
3238
3241
  else
3239
- o.appendChild(e.element);
3242
+ a.appendChild(e.element);
3240
3243
  }
3241
3244
  }
3242
3245
  else
3243
- f.innerHTML = i.client.innerHTML();
3244
- }(), this.elements.events.push(h), this.nav.events.appendChild(h);
3246
+ m.innerHTML = i.client.innerHTML();
3247
+ }(), this.elements.events.push(f), this.nav.events.appendChild(f);
3245
3248
  }, this.lastVisibleDayOfMonth = function () { return this.startDate.lastDayOfMonth(); }, this.Tc = function () {
3246
3249
  "string" == typeof this.startDate && (this.startDate = new DayPilot.Date(this.startDate)), this.startDate = this.startDate.firstDayOfMonth(), this.firstDate = this.startDate.firstDayOfWeek(this.getWeekStart());
3247
3250
  var e, t = (this.startDate, this.lastVisibleDayOfMonth()), i = DayPilot.DateUtil.daysDiff(this.firstDate, t) + 1;
@@ -3572,7 +3575,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3572
3575
  }
3573
3576
  }, this.sa = {}, this.sa.scope = null, this.sa.notify = function () { n.sa.scope && n.sa.scope["$apply"](); }, this.sa.apply = function (e) { e(); }, this.clearSelection = function () { n.clearShadow(); }, this.commandCallBack = function (e, t) { var i = {}; i.command = e, this.S("Command", t, i); }, this.isWeekend = function (e) { return e = new DayPilot.Date(e), 0 === e.dayOfWeek() || 6 === e.dayOfWeek(); }, this.aa = {}, this.aa.locale = function () { var e = DayPilot.Locale.find(n.locale); return e ? e : DayPilot.Locale.US; }, this.aa.ba = function () { return "Disabled" !== n.xssProtection; };
3574
3577
  var o = this.aa;
3575
- this.debug = function (e, t) { this.debuggingEnabled && (n.debugMessages || (n.debugMessages = []), n.debugMessages.push(e), "undefined" != typeof console && console.log(e)); }, this.dispose = function () { var e = n; e.O || (e.O = !0, e.Uc(), e.W(), 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.disposed = function () { return this.O; }, this.gb = function () { e.globalHandlers || (e.globalHandlers = !0, DayPilot.re(document, "mouseup", e.gMouseUp)); }, this.loadFromServer = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof n.events.list || !n.events.list); }, this.t = 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.ob = function () {
3578
+ this.debug = function (e, t) { this.debuggingEnabled && (n.debugMessages || (n.debugMessages = []), n.debugMessages.push(e), "undefined" != typeof console && console.log(e)); }, this.dispose = function () { var e = n; e.O || (e.O = !0, e.Uc(), e.W(), 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.disposed = function () { return this.O; }, this.gb = function () { e.globalHandlers || (e.globalHandlers = !0, DayPilot.re(document, "mouseup", e.gMouseUp)); }, this.loadFromServer = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof n.events.list || !n.events.list); }, this.t = 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.nb = function () {
3576
3579
  if (this.id && this.id.tagName)
3577
3580
  this.nav.top = this.id;
3578
3581
  else {
@@ -3581,19 +3584,19 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3581
3584
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
3582
3585
  throw "DayPilot.Month: The placeholder element not found: '" + id + "'.";
3583
3586
  }
3584
- }, this.ub = function () { this.Tc(), this.Na(), this.Vc(), this.gb(), this.S("Init"); }, this.Ra = function (e, t) { return n.aa.ba() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.Ha = {}, this.Ha.Ga = null, this.Ha.Cb = function (e, t, i) {
3587
+ }, this.vb = function () { this.Tc(), this.Na(), this.Vc(), this.gb(), this.S("Init"); }, this.Ra = function (e, t) { return n.aa.ba() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.Ha = {}, this.Ha.Ga = null, this.Ha.Cb = function (e, t, i) {
3585
3588
  var a = n.Ha.Ga;
3586
3589
  if ("function" == typeof a.createVNode && "function" == typeof a.render) {
3587
3590
  var o = a.createVNode(e, i);
3588
3591
  a.render(o, t);
3589
3592
  }
3590
- }, this.Ha.La = function (e, t) {
3591
- var i = n.Ha.Ga;
3592
- if ("function" == typeof i.render) {
3593
- var a = e;
3594
- DayPilot.isArray(e) && (a = i.h("div", null, e)), i.render(a, t);
3593
+ }, this.Ha.La = function (e, t, i) {
3594
+ var a = n.Ha.Ga;
3595
+ if ("function" == typeof a.render) {
3596
+ var o = e;
3597
+ DayPilot.isArray(e) && (o = a.h("div", i, e)), a.render(o, t);
3595
3598
  }
3596
- }, this.Ha.Ja = function (e) { var t = n.Ha.Ga; "function" == typeof t.render && t.render(null, e); }, this.internal = {}, this.internal.loadOptions = this.jb, this.internal.xssTextHtml = n.Ra, this.internal.enableVue = function (e) { n.Ha.Ga = e; }, this.internal.vueRef = function () { return n.Ha.Ga; }, this.internal.vueRendering = function () { return n.Ha.Ia; }, this.init = function () { return this.ob(), this.loadFromServer() ? void this.ub() : (this.Tc(), this.ea(), this.Na(), this.Vc(), this.t(), this.ka(), this.gb(), this.fireAfterRenderDetached(null, !1), this.Ba = !0, this); }, this.Init = this.init, Object.defineProperty(this, "durationBarVisible", { get: function () { return n.eventBarVisible; } }), this.jb(a);
3599
+ }, this.Ha.Ja = function (e) { var t = n.Ha.Ga; "function" == typeof t.render && t.render(null, e); }, this.internal = {}, this.internal.loadOptions = this.jb, this.internal.xssTextHtml = n.Ra, this.internal.enableVue = function (e) { n.Ha.Ga = e; }, this.internal.vueRef = function () { return n.Ha.Ga; }, this.internal.vueRendering = function () { return n.Ha.Ia; }, this.init = function () { return this.nb(), this.loadFromServer() ? void this.vb() : (this.Tc(), this.ea(), this.Na(), this.Vc(), this.t(), this.ka(), this.gb(), this.fireAfterRenderDetached(null, !1), this.Ba = !0, this); }, this.Init = this.init, Object.defineProperty(this, "durationBarVisible", { get: function () { return n.eventBarVisible; } }), this.jb(a);
3597
3600
  }, e.gMouseUp = function (t) {
3598
3601
  if (e.movingEvent) {
3599
3602
  var i = e.movingEvent;
@@ -3674,9 +3677,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3674
3677
  if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.def) {
3675
3678
  var e = DayPilot.Util.isVueVNode;
3676
3679
  DayPilot.Navigator = function (t, i) {
3677
- this.v = "2024.4.609-lite";
3680
+ this.v = "2024.4.626-lite";
3678
3681
  var a = this;
3679
- this.id = t, 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.pb = {}, this._c = function () { this.root.dp = this, this.root.className = this.K("_main"), "Horizontal" === this.orientation ? (r.ad() || (this.root.style.width = this.showMonths * (7 * r.cellWidth() + this.bd()) + "px"), this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : r.ad() || (this.root.style.width = 7 * r.cellWidth() + this.bd() + "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 = a.id + "_state", e.id = e.name, this.root.appendChild(e), this.state = e, this.startDate ? this.startDate = new DayPilot.Date(this.startDate).firstDayOfMonth() : this.selectionDay ? this.startDate = new DayPilot.Date(this.selectionDay).firstDayOfMonth() : this.startDate = DayPilot.Date.fromYearMonthDay(this.year, this.month), this.calendars = [], this.selected = [], this.months = []; }, this.qa = function () { return 2 === a.api; }, this.Uc = function () { this.root.innerHTML = ""; }, this.K = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.cd = function (e, t) { var i = this.K("_" + t); DayPilot.Util.addClass(e, i); }, this.dd = function (e, t) { var i = this.K("_" + t); DayPilot.Util.removeClass(e, i); }, this.ed = function () {
3682
+ this.id = t, 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.ob = {}, this._c = function () { this.root.dp = this, this.root.className = this.K("_main"), "Horizontal" === this.orientation ? (r.ad() || (this.root.style.width = this.showMonths * (7 * r.cellWidth() + this.bd()) + "px"), this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : r.ad() || (this.root.style.width = 7 * r.cellWidth() + this.bd() + "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 = a.id + "_state", e.id = e.name, this.root.appendChild(e), this.state = e, this.startDate ? this.startDate = new DayPilot.Date(this.startDate).firstDayOfMonth() : this.selectionDay ? this.startDate = new DayPilot.Date(this.selectionDay).firstDayOfMonth() : this.startDate = DayPilot.Date.fromYearMonthDay(this.year, this.month), this.calendars = [], this.selected = [], this.months = []; }, this.qa = function () { return 2 === a.api; }, this.Uc = function () { this.root.innerHTML = ""; }, this.K = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.cd = function (e, t) { var i = this.K("_" + t); DayPilot.Util.addClass(e, i); }, this.dd = function (e, t) { var i = this.K("_" + t); DayPilot.Util.removeClass(e, i); }, this.ed = function () {
3680
3683
  if (!r.ad())
3681
3684
  return null;
3682
3685
  var e = 7;
@@ -3729,29 +3732,29 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3729
3732
  var S = document.createElement("div");
3730
3733
  S.style.position = "absolute", S.style.left = a.hd(M + C), S.style.right = a.hd(M + C), S.style.top = this.titleHeight + "px", S.style.width = a.hd(), S.style.height = this.dayHeaderHeight + "px", S.style.lineHeight = this.dayHeaderHeight + "px", S.setAttribute("unselectable", "on"), S.className = this.K("_dayheader"), S.innerHTML = "<span>" + this.ld(M) + "</span>", y.appendChild(S), n.days.push(S);
3731
3734
  for (var P = 0; P < f; P++) {
3732
- var k = c.addDays(7 * P + M), H = this.md(k) && "none" !== this.nd(), A = k.firstDayOfMonth() === o, T = k < o, E = k >= o.addMonths(1);
3735
+ var k = c.addDays(7 * P + M), H = this.md(k) && "none" !== this.nd(), T = k.firstDayOfMonth() === o, A = k < o, E = k >= o.addMonths(1);
3733
3736
  if ("month" === this.nd())
3734
- H = H && A;
3737
+ H = H && T;
3735
3738
  else if ("day" === this.nd())
3736
- H = H && (A || s && T || l && E);
3739
+ H = H && (T || s && A || l && E);
3737
3740
  else if ("week" === this.nd()) {
3738
3741
  var N = k.firstDayOfMonth() === o;
3739
- H = H && (N || s && T || l && E);
3742
+ H = H && (N || s && A || l && E);
3740
3743
  }
3741
3744
  var I = document.createElement("div");
3742
3745
  n.cells[M][P] = I;
3743
3746
  var R = a.od(M, P), B = R.x, z = R.y, O = r.ad() ? "%" : "px";
3744
- I.day = k, I.x = M, I.y = P, I.left = B, I.top = z, I.isCurrentMonth = A, I.isNextMonth = E, I.isPrevMonth = T, I.showBefore = s, I.showAfter = l, I.className = this.K(A ? "_day" : "_dayother"), a.cd(I, "cell"), k.getTime() === m.getTime() && A && this.cd(I, "today"), 0 !== k.dayOfWeek() && 6 !== k.dayOfWeek() || this.cd(I, "weekend"), I.style.position = "absolute", I.style.left = B + O, I.style.right = B + O, I.style.top = z + "px", I.style.width = a.hd(), I.style.height = this.cellHeight + "px", I.style.lineHeight = this.cellHeight + "px";
3747
+ I.day = k, I.x = M, I.y = P, I.left = B, I.top = z, I.isCurrentMonth = T, I.isNextMonth = E, I.isPrevMonth = A, I.showBefore = s, I.showAfter = l, I.className = this.K(T ? "_day" : "_dayother"), a.cd(I, "cell"), k.getTime() === m.getTime() && T && this.cd(I, "today"), 0 !== k.dayOfWeek() && 6 !== k.dayOfWeek() || this.cd(I, "weekend"), I.style.position = "absolute", I.style.left = B + O, I.style.right = B + O, I.style.top = z + "px", I.style.width = a.hd(), I.style.height = this.cellHeight + "px", I.style.lineHeight = this.cellHeight + "px";
3745
3748
  var U = document.createElement("div");
3746
- U.style.position = "absolute", U.className = k.getTime() === m.getTime() && A ? this.K("_todaybox") : this.K("_daybox"), a.cd(U, "cell_box"), U.style.left = "0px", U.style.top = "0px", U.style.right = "0px", U.style.bottom = "0px", I.appendChild(U);
3749
+ U.style.position = "absolute", U.className = k.getTime() === m.getTime() && T ? this.K("_todaybox") : this.K("_daybox"), a.cd(U, "cell_box"), U.style.left = "0px", U.style.top = "0px", U.style.right = "0px", U.style.bottom = "0px", I.appendChild(U);
3747
3750
  var L = null;
3748
3751
  this.cells && this.cells[k.toStringSortable()] && (L = this.cells[k.toStringSortable()]);
3749
3752
  var j = L || {};
3750
- if (j.day = k, j.isCurrentMonth = A, j.isToday = k.getTime() === m.getTime() && A, j.isWeekend = 0 === k.dayOfWeek() || 6 === k.dayOfWeek(), L ? (j.html = L.html || k.getDay(), j.cssClass = L.css) : (j.html = k.getDay(), j.cssClass = null), "function" == typeof a.onBeforeCellRender) {
3753
+ if (j.day = k, j.isCurrentMonth = T, j.isToday = k.getTime() === m.getTime() && T, j.isWeekend = 0 === k.dayOfWeek() || 6 === k.dayOfWeek(), L ? (j.html = L.html || k.getDay(), j.cssClass = L.css) : (j.html = k.getDay(), j.cssClass = null), "function" == typeof a.onBeforeCellRender) {
3751
3754
  var W = {};
3752
3755
  W.cell = j, a.onBeforeCellRender(W), L = W.cell;
3753
3756
  }
3754
- if (L && DayPilot.Util.addClass(I, L.cssClass || L.css), A || s && T || l && E) {
3757
+ if (L && DayPilot.Util.addClass(I, L.cssClass || L.css), T || s && A || l && E) {
3755
3758
  var F = document.createElement("div");
3756
3759
  F.innerHTML = k.getDay(), F.style.position = "absolute", F.style.left = "0px", F.style.top = "0px", F.style.right = "0px", F.style.bottom = "0px", a.cd(F, "cell_text"), I.isClickable = !0, L && L.html && (F.innerHTML = L.html), I.appendChild(F);
3757
3760
  }
@@ -3785,11 +3788,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3785
3788
  var a = this.months[e].cells[t][i];
3786
3789
  a && (1 === this.items[a.day.toStringSortable()] ? (this.cd(a, "busy"), this.dd(a, "free")) : (this.dd(a, "busy"), this.cd(a, "free")));
3787
3790
  }
3788
- }, this.td = function () {
3789
- var e = {};
3790
- e.startDate = a.startDate, e.selectionStart = a.selectionStart, e.selectionEnd = a.selectionEnd.addDays(1),
3791
- a.state.value = JSON.stringify(e);
3792
- }, this.nd = function () { return (this.selectMode || "").toLowerCase(); }, this.ud = function () {
3791
+ }, this.td = function () { var e = {}; e.startDate = a.startDate, e.selectionStart = a.selectionStart, e.selectionEnd = a.selectionEnd.addDays(1), a.state.value = JSON.stringify(e); }, this.nd = function () { return (this.selectMode || "").toLowerCase(); }, this.ud = function () {
3793
3792
  var e = this.selectionDay || this.selectionStart;
3794
3793
  switch (e || (e = DayPilot.Date.today()), e = new DayPilot.Date(e), this.nd()) {
3795
3794
  case "day":
@@ -3828,10 +3827,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3828
3827
  var t = { "day": a.selectionDay, "start": a.selectionStart, "end": a.selectionEnd };
3829
3828
  a.hb(), t.start === a.selectionStart && t.end === a.selectionEnd && t.day === a.selectionDay || a.M();
3830
3829
  }
3831
- }, this.hb = function () { this.Uc(), this._c(), this.ud(), this.yd(), this.ea(), this.sd(), this.td(), this.visible ? this.show() : this.hide(); }, this.Ad = function () { a.pb = {}; }, this.mb = null, this.jb = function (e) {
3830
+ }, this.hb = function () { this.Uc(), this._c(), this.ud(), this.yd(), this.ea(), this.sd(), this.td(), this.visible ? this.show() : this.hide(); }, this.Ad = function () { a.ob = {}; }, this.lb = null, this.jb = function (e) {
3832
3831
  if (e) {
3833
3832
  var t = { "events": { "preInit": function () { var e = this.data; e && (DayPilot.isArray(e.list) ? a.events.list = e.list : a.events.list = e); } } };
3834
- this.mb = t;
3833
+ this.lb = t;
3835
3834
  for (var i in e)
3836
3835
  if (t[i]) {
3837
3836
  var n = t[i];
@@ -3840,8 +3839,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3840
3839
  else
3841
3840
  a[i] = e[i];
3842
3841
  }
3843
- }, this.nb = function () {
3844
- var e = this.mb;
3842
+ }, this.mb = function () {
3843
+ var e = this.lb;
3845
3844
  for (var t in e) {
3846
3845
  var i = e[t];
3847
3846
  i.postInit && i.postInit();
@@ -4134,10 +4133,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
4134
4133
  }
4135
4134
  return a.weekStarts;
4136
4135
  }, r.cellWidth = function () {
4137
- if (a.pb.cellWidth)
4138
- return a.pb.cellWidth;
4136
+ if (a.ob.cellWidth)
4137
+ return a.ob.cellWidth;
4139
4138
  var e = a.Od("_cell_dimensions").width;
4140
- return e || (e = a.cellWidth), a.pb.cellWidth = e, e;
4139
+ return e || (e = a.cellWidth), a.ob.cellWidth = e, e;
4141
4140
  }, r.ad = function () { return "Auto" === a.aa.cellWidth(); }, this.clearSelection = function () {
4142
4141
  for (var e = 0; e < this.selected.length; e++) {
4143
4142
  var t = this.selected[e];
@@ -4160,7 +4159,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
4160
4159
  for (var t = new DayPilot.Date(e.start), i = new DayPilot.Date(e.end), a = {}, n = t.getDatePart(); n.getTime() <= i.getTime();)
4161
4160
  a[n.toStringSortable()] = 1, n = n.addDays(1);
4162
4161
  return a;
4163
- }, this.show = function () { a.visible = !0, a.root.style.display = ""; }, this.hide = function () { a.visible = !1, a.root.style.display = "none"; }, this.ob = function () {
4162
+ }, this.show = function () { a.visible = !0, a.root.style.display = ""; }, this.hide = function () { a.visible = !1, a.root.style.display = "none"; }, this.nb = function () {
4164
4163
  if (this.id && this.id.tagName)
4165
4164
  this.nav.top = this.id;
4166
4165
  else {
@@ -4171,9 +4170,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
4171
4170
  }
4172
4171
  this.root = this.nav.top;
4173
4172
  }, this.init = function () {
4174
- if (this.ob(), !this.root.dp) {
4173
+ if (this.nb(), !this.root.dp) {
4175
4174
  this.ud(), this._c(), this.yd(), this.ea(), this.sd(), this.Z(), this.Rd(), this.gb();
4176
- if (this.Pd() && this.zd(), this.Ba = !0, this.nb(), this.vd) {
4175
+ if (this.Pd() && this.zd(), this.Ba = !0, this.mb(), this.vd) {
4177
4176
  var e = this.vd;
4178
4177
  this.select(e.date1, e.date2, e.options), this.vd = null;
4179
4178
  }