@daypilot/daypilot-lite-angular 3.29.0 → 3.30.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.
@@ -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.622-lite
134
134
  */
135
135
  var DayPilot = {};
136
136
  if ("undefined" == typeof DayPilot)
@@ -654,7 +654,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
654
654
  if (this instanceof t.Calendar && !this.N && (o = !0, this.N = !0), !o)
655
655
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
656
656
  var r = this;
657
- 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) {
657
+ this.uniqueID = null, this.isCalendar = !0, this.v = "2024.4.622-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) {
658
658
  for (var i = e.parentNode; i && "TD" !== i.tagName;)
659
659
  i = i.parentNode;
660
660
  var a = r.eventBorderRadius;
@@ -1117,7 +1117,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1117
1117
  var t = this.data, i = r.ab(t), a = {};
1118
1118
  a.header = {}, a.header.id = t.id, a.header.name = t.name, a.header.start = t.start, a.column = i, a.originalEvent = e, a.shift = e.shiftKey, a.ctrl = e.ctrlKey, a.meta = e.metaKey, a.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof r.onHeaderClick && (r.onHeaderClick(a), a.preventDefault.value) || "function" == typeof r.onHeaderClicked && r.onHeaderClicked(a);
1119
1119
  } }, this.ab = function (e) { return new DayPilot.CalendarColumn(e, r); }, this.bb = function () { return this.width && this.width.indexOf("px") !== -1 ? "Pixel" : "Percentage"; }, this.ga = function () { var e = this.nav.header, t = !0, i = this.va; for (i.length; this.headerCreated && e && e.rows && e.rows.length > 0;)
1120
- this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0); this.headerCreated = !0; this.$a(t); }, 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) { var t = null; if (e instanceof DayPilot.Event)
1120
+ this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0); this.headerCreated = !0; this.$a(t); }, 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) { var t = null; if (e instanceof DayPilot.Event)
1121
1121
  t = e.data;
1122
1122
  else {
1123
1123
  if ("object" != typeof e)
@@ -1177,10 +1177,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1177
1177
  } }, this.update = function (e) { if (r.O)
1178
1178
  throw new DayPilot.Exception("You are trying to update a DayPilot.Calendar instance that has been disposed."); r.jb(e), r.hb(); }, this.hb = function (e) { if (this.Ba) {
1179
1179
  var e = e || {}, t = !e.eventsOnly;
1180
- 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();
1181
- } }, this.mb = null, this.jb = function (e) { if (e) {
1180
+ 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();
1181
+ } }, this.lb = null, this.jb = function (e) { if (e) {
1182
1182
  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; } } };
1183
- this.mb = t;
1183
+ this.lb = t;
1184
1184
  for (var i in e)
1185
1185
  if (t[i]) {
1186
1186
  var a = t[i];
@@ -1188,21 +1188,21 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1188
1188
  }
1189
1189
  else
1190
1190
  r[i] = e[i];
1191
- } }, this.nb = function () { var e = this.mb; for (var t in e) {
1191
+ } }, this.mb = function () { var e = this.lb; for (var t in e) {
1192
1192
  var i = e[t];
1193
1193
  i.postInit && i.postInit();
1194
- } }, this.ob = function () { if (this.id && this.id.tagName)
1194
+ } }, this.nb = function () { if (this.id && this.id.tagName)
1195
1195
  this.nav.top = this.id;
1196
1196
  else {
1197
1197
  if ("string" != typeof this.id)
1198
1198
  throw "DayPilot.Calendar() constructor requires the target element or its ID as a parameter";
1199
1199
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
1200
1200
  throw "DayPilot.Calendar: The placeholder element not found: '" + e + "'.";
1201
- } }, this.pb = {}, this.pb.events = [], this.qb = function (e) { var t = this.pb.events, i = this.events.list[e], a = {}; for (var n in i)
1201
+ } }, this.ob = {}, this.ob.events = [], this.pb = function (e) { var t = this.ob.events, i = this.events.list[e], a = {}; for (var n in i)
1202
1202
  a[n] = i[n]; if (a.start = new DayPilot.Date(i.start), a.end = new DayPilot.Date(i.end), "function" == typeof this.onBeforeEventRender) {
1203
1203
  var o = {};
1204
1204
  o.control = r, o.data = a, this.onBeforeEventRender(o);
1205
- } t[e] = a; }, this.ea = function () { var e = this.events.list; if (r.pb.events = [], e) {
1205
+ } t[e] = a; }, this.ea = function () { var e = this.events.list; if (r.ob.events = [], e) {
1206
1206
  if (!DayPilot.isArray(e))
1207
1207
  throw new DayPilot.Exception("DayPilot.Calendar.events.list expects an array object. You supplied: " + typeof e);
1208
1208
  var t = e.length, i = 864e5;
@@ -1222,7 +1222,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1222
1222
  }
1223
1223
  if ("function" == typeof this.onBeforeEventRender)
1224
1224
  for (var n = 0; n < t; n++)
1225
- this.qb(n);
1225
+ this.pb(n);
1226
1226
  for (var n = 0; n < this.va.length; n++) {
1227
1227
  var l = {};
1228
1228
  l.minEnd = 1e6, l.maxStart = -1, this.scrollLabels.push(l);
@@ -1242,49 +1242,49 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1242
1242
  var k = x.boxBottom;
1243
1243
  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);
1244
1244
  var p = D.part.top, v = D.part.top + D.part.height;
1245
- 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);
1245
+ 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);
1246
1246
  }
1247
1247
  }
1248
1248
  }
1249
1249
  }
1250
1250
  for (var n = 0; n < this.va.length; n++) {
1251
1251
  var d = this.va[n];
1252
- d.events.sort(this.rb);
1252
+ d.events.sort(this.qb);
1253
1253
  for (var m = 0; m < d.events.length; m++) {
1254
1254
  var o = d.events[m];
1255
1255
  d.putIntoBlock(o);
1256
1256
  }
1257
1257
  for (var m = 0; m < d.blocks.length; m++) {
1258
1258
  var _ = d.blocks[m];
1259
- _.events.sort(this.rb);
1259
+ _.events.sort(this.qb);
1260
1260
  for (var S = 0; S < _.events.length; S++) {
1261
1261
  var o = _.events[S];
1262
1262
  _.putIntoLine(o);
1263
1263
  }
1264
1264
  }
1265
1265
  }
1266
- } }, this.rb = function (e, t) { if (!(e && t && e.start && t.start))
1266
+ } }, this.qb = function (e, t) { if (!(e && t && e.start && t.start))
1267
1267
  return 0; var i = e.start().getTime() - t.start().getTime(); return 0 !== i ? i : t.end().getTime() - e.end().getTime(); }, this.debug = function (e, t) { this.debuggingEnabled && (r.debugMessages || (r.debugMessages = []), r.debugMessages.push(e), "undefined" != typeof console && console.log(e)); }, this.getPixels = function (e, t) { t || (t = this.startDate); var i = t.getTime(), a = e.getTime(), n = this.cache.pixels[a + "_" + i]; if (n)
1268
- return n; i = t.getTime(); var o = 18e5, r = a - i, s = r % o, l = r - s, d = l + o; 0 === s && (d = l); var c = {}; 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; }, 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 () { if (r.nav.scroll) {
1268
+ return n; i = t.getTime(); var o = 18e5, r = a - i, s = r % o, l = r - s, d = l + o; 0 === s && (d = l); var c = {}; 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; }, 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 () { if (r.nav.scroll && r.sb()) {
1269
1269
  var e = r.nav.scroll.scrollTop, t = e / (2 * r.cellHeight);
1270
- r.eb.scrollHour = t;
1271
- } }, 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 () { for (var e = this.eb.themes, t = 0; t < e.length; t++) {
1270
+ r.tb.scrollHour = t;
1271
+ } }, 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 () { for (var e = this.tb.themes, t = 0; t < e.length; t++) {
1272
1272
  var i = e[t];
1273
1273
  DayPilot.Util.removeClass(this.nav.top, i + "_main");
1274
- } this.eb.themes = []; }, this.yb = function () { if (this.afterRender(null, !1), "function" == typeof this.onAfterRender) {
1274
+ } this.tb.themes = []; }, this.zb = function () { if (this.afterRender(null, !1), "function" == typeof this.onAfterRender) {
1275
1275
  var e = {};
1276
1276
  e.isCallBack = !1, this.onAfterRender(e);
1277
- } }, this.zb = function () { if ("function" == typeof this.onInit && !this.Ab) {
1278
- this.Ab = !0;
1277
+ } }, this.Ab = function () { if ("function" == typeof this.onInit && !this.Bb) {
1278
+ this.Bb = !0;
1279
1279
  var e = {};
1280
1280
  this.onInit(e);
1281
- } }, 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) { var a = r.Ha.Ga; if ("function" == typeof a.createVNode && "function" == typeof a.render) {
1281
+ } }, 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) { var a = r.Ha.Ga; if ("function" == typeof a.createVNode && "function" == typeof a.render) {
1282
1282
  var n = a.createVNode(e, i);
1283
1283
  a.render(n, t);
1284
1284
  } }, this.Ha.La = function (e, t) { var i = r.Ha.Ga; if ("function" == typeof i.render) {
1285
1285
  var a = e;
1286
1286
  DayPilot.isArray(e) && (a = i.h("div", null, e)), i.render(a, t);
1287
- } }, 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);
1287
+ } }, 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);
1288
1288
  }, 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) { e.fn.daypilotCalendar = function (e) { var t = null, i = this.each(function () { if (!this.daypilot) {
1289
1289
  var i = new DayPilot.Calendar(this.id);
1290
1290
  this.daypilot = i;
@@ -1295,13 +1295,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1295
1295
  (0, e(r).assign)(t, n);
1296
1296
  } for (var s in a)
1297
1297
  0 === s.indexOf("on") && !function (i) { n[i] = function (n) { var o = e(a[i]); t["$apply"](function () { o(t, { "args": n }); }); }; }(s); var l = t["$watch"], d = a["config"] || a["daypilotConfig"], c = a["events"] || a["daypilotEvents"]; l.call(t, d, function (e) { for (var t in e)
1298
- n[t] = e[t]; n.update(), n.zb(); }, !0), l.call(t, c, function (e) { n.events.list = e, n.update(); }, !0); } }; }]); }();
1298
+ n[t] = e[t]; n.update(), n.Ab(); }, !0), l.call(t, c, function (e) { n.events.list = e, n.update(); }, !0); } }; }]); }();
1299
1299
  }
1300
1300
  }(), "undefined" == typeof DayPilot)
1301
1301
  var DayPilot = {};
1302
- if (function () { "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (e) { this.v = "2024.4.609-lite"; var t = "navigator_" + (new Date).getTime(), i = this; this.onShow = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.prepare = function () { 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)
1302
+ if (function () { "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (e) { this.v = "2024.4.622-lite"; var t = "navigator_" + (new Date).getTime(), i = this; this.onShow = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.prepare = function () { 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)
1303
1303
  for (var t in e)
1304
- this[t] = e[t]; }, 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 () { var e = this.C(); if (!e)
1304
+ this[t] = e[t]; }, 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 () { var e = this.C(); if (!e)
1305
1305
  return this.date; var t = null; if (t = "INPUT" === e.tagName ? e.value : e.innerText, !t)
1306
1306
  return null; for (var a = DayPilot.Date.parse(t, i.pattern), n = 0; n < i.patterns.length; n++) {
1307
1307
  if (a)
@@ -1310,7 +1310,7 @@ if (function () { "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePick
1310
1310
  } return a; }, this.Eb = function (e) { var t = this.C(); if (t) {
1311
1311
  var a = e.toString(i.pattern, i.locale);
1312
1312
  "INPUT" === t.tagName ? t.value = a : t.innerHTML = a;
1313
- } }, 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 () { if (!this.Bb) {
1313
+ } }, 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 () { if (!this.sb) {
1314
1314
  var e = this.C(), a = this.navigator, a = new DayPilot.Navigator(t);
1315
1315
  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;
1316
1316
  var n = DayPilot.abs(e), o = e.offsetHeight, r = i.targetAlignment, s = document.createElement("div");
@@ -1322,14 +1322,14 @@ if (function () { "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePick
1322
1322
  var c = n.x + e.offsetWidth - a.nav.top.offsetWidth;
1323
1323
  s.style.left = c + "px";
1324
1324
  }
1325
- this.Bb = !0, this.onShow && this.onShow();
1325
+ this.sb = !0, this.onShow && this.onShow();
1326
1326
  } }, this.prepare(), this.init(); }); }(), "undefined" == typeof DayPilot)
1327
1327
  var DayPilot = {};
1328
1328
  if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (DayPilot) {
1329
1329
  "use strict";
1330
1330
  if ("undefined" == typeof DayPilot.Menu || !DayPilot.Menu.def) {
1331
1331
  var e = function () { }, t = {};
1332
- t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (i) { var a = this, n = null; 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) { o = o || {}; var r = null; 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) {
1332
+ t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (i) { var a = this, n = null; this.v = "2024.4.622-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) { o = o || {}; var r = null; 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) {
1333
1333
  a.cssOnly || (a.cssOnly = !0);
1334
1334
  var s = null;
1335
1335
  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) {
@@ -1425,28 +1425,28 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1425
1425
  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 = "";
1426
1426
  var M = d.offsetHeight, H = d.offsetWidth;
1427
1427
  d.style.display = "none";
1428
- var A = document.documentElement.clientHeight, T = window.innerWidth, E = "number" == typeof o.windowMargin ? o.windowMargin : 5;
1428
+ var T = document.documentElement.clientHeight, A = window.innerWidth, E = "number" == typeof o.windowMargin ? o.windowMargin : 5;
1429
1429
  if (function () { var e = o.initiator; if (e) {
1430
1430
  var t = e.div, i = e.e, a = e.area, r = a.visibility || a.v || "Visible", s = e.a;
1431
1431
  if ("Visible" !== r && (s = DayPilot.Areas.createArea(t, i, a), t.appendChild(s), n = s), s) {
1432
1432
  var l = DayPilot.abs(s);
1433
1433
  o.x = l.x, o.y = l.y + l.h + 2;
1434
1434
  }
1435
- } }(), function () { 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; if (i - a > A - M && 0 !== A) {
1436
- var r = i - a - (A - M) + E;
1435
+ } }(), function () { 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; if (i - a > T - M && 0 !== T) {
1436
+ var r = i - a - (T - M) + E;
1437
1437
  d.style.top = i - r + "px";
1438
1438
  }
1439
1439
  else
1440
- d.style.top = i + "px"; if ("right" === o.align && (e -= H), e - n > T - H && 0 !== T) {
1441
- var s = e - n - (T - H) + E;
1440
+ d.style.top = i + "px"; if ("right" === o.align && (e -= H), e - n > A - H && 0 !== A) {
1441
+ var s = e - n - (A - H) + E;
1442
1442
  d.style.left = e - s + "px";
1443
1443
  }
1444
1444
  else
1445
1445
  d.style.left = e + "px"; }(), o.parentLink) {
1446
1446
  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;
1447
- B + H > T && (B = Math.max(0, R.x - H));
1447
+ B + H > A && (B = Math.max(0, R.x - H));
1448
1448
  var O = document.body.scrollTop + document.documentElement.scrollTop;
1449
- z + M - O > A && (z = Math.max(0, A - M + O)), d.style.left = B + "px", d.style.top = z + "px";
1449
+ z + M - O > T && (z = Math.max(0, T - M + O)), d.style.left = B + "px", d.style.top = z + "px";
1450
1450
  }
1451
1451
  d.style.display = "", this.addShadow(d), this.Gb.div = d, o.submenu || (DayPilot.Menu.active = this);
1452
1452
  } }, this.Ib = function (e, t) { var i = e, n = t.source; if ((!a.Gb.submenu || a.Gb.submenu.item !== e) && (a.Gb.submenu && a.Gb.submenu.item !== e && (DayPilot.Util.removeClass(a.Gb.submenu.link.parentNode, a.Hb("item_haschildren_active")), a.Gb.submenu.menu.hide(), a.Gb.submenu = null), e.items)) {
@@ -1843,9 +1843,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1843
1843
  if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
1844
1844
  var e = {}, t = DayPilot.Util.isVueVNode;
1845
1845
  e.Month = function (i, a) {
1846
- this.v = "2024.4.609-lite", this.nav = {};
1846
+ this.v = "2024.4.622-lite", this.nav = {};
1847
1847
  var n = this;
1848
- 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) { var t = null; if (e instanceof DayPilot.Event)
1848
+ 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) { var t = null; if (e instanceof DayPilot.Event)
1849
1849
  t = e.data;
1850
1850
  else {
1851
1851
  if ("object" != typeof e)
@@ -1896,15 +1896,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1896
1896
  else {
1897
1897
  var r = e, s = "start=" + n.visibleStart().toString() + "&end=" + n.visibleEnd().toString();
1898
1898
  r += r.indexOf("?") > -1 ? "&" + s : "?" + s, DayPilot.Http.ajax({ "method": "GET", "url": r, "success": o, "error": a });
1899
- } }, 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) { if (n.jb(e), this.Ba) {
1899
+ } }, 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) { if (n.jb(e), this.Ba) {
1900
1900
  if (n.O)
1901
1901
  throw new DayPilot.Exception("You are trying to update a DayPilot.Month instance that has been disposed.");
1902
1902
  if (this.cells) {
1903
1903
  n.W(), n.Tc(), n.ea(), n.Uc(), n.Vc(), n.ja(), n.t(), n.ka(), this.visible ? this.show() : this.hide();
1904
1904
  }
1905
- } }, this.mb = null, this.jb = function (e) { if (e) {
1905
+ } }, this.lb = null, this.jb = function (e) { if (e) {
1906
1906
  var t = { "events": { "preInit": function () { var e = this.data || []; DayPilot.isArray(e.list) ? n.events.list = e.list : n.events.list = e; } } };
1907
- this.mb = t;
1907
+ this.lb = t;
1908
1908
  for (var i in e)
1909
1909
  if (t[i]) {
1910
1910
  var a = t[i];
@@ -1912,10 +1912,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1912
1912
  }
1913
1913
  else
1914
1914
  n[i] = e[i];
1915
- } }, this.nb = function () { var e = this.mb; for (var t in e) {
1915
+ } }, this.mb = function () { var e = this.lb; for (var t in e) {
1916
1916
  var i = e[t];
1917
1917
  i.postInit && i.postInit();
1918
- } }, this.pb = {}, this.pb.events = [], this.qb = function (e) { var t = this.pb.events, i = this.events.list[e], a = {}; for (var o in i)
1918
+ } }, this.ob = {}, this.ob.events = [], this.pb = function (e) { var t = this.ob.events, i = this.events.list[e], a = {}; for (var o in i)
1919
1919
  a[o] = i[o]; if ("function" == typeof this.onBeforeEventRender) {
1920
1920
  var r = {};
1921
1921
  r.control = n, r.data = a, this.onBeforeEventRender(r);
@@ -1924,7 +1924,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1924
1924
  throw new DayPilot.Exception("DayPilot.Month.events.list expects an array object. You supplied: " + typeof e);
1925
1925
  if ("function" == typeof this.onBeforeEventRender)
1926
1926
  for (var t = 0; t < e.length; t++)
1927
- this.qb(t);
1927
+ this.pb(t);
1928
1928
  for (var i = 0; i < e.length; i++) {
1929
1929
  var a = e[i];
1930
1930
  if ("object" != typeof a)
@@ -1937,12 +1937,12 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1937
1937
  if (!(n.getTime() > o.getTime()))
1938
1938
  for (var t = 0; t < this.rows.length; t++) {
1939
1939
  var r = this.rows[t], s = new DayPilot.Event(a, this);
1940
- r.belongsHere(s) && (r.events.push(s), "function" == typeof this.onBeforeEventRender && (s.cache = this.pb.events[i]));
1940
+ r.belongsHere(s) && (r.events.push(s), "function" == typeof this.onBeforeEventRender && (s.cache = this.ob.events[i]));
1941
1941
  }
1942
1942
  }
1943
1943
  for (var l = 0; l < this.rows.length; l++) {
1944
1944
  var r = this.rows[l];
1945
- r.events.sort(this.rb);
1945
+ r.events.sort(this.qb);
1946
1946
  for (var d = 0; d < this.rows[l].events.length; d++) {
1947
1947
  var c = r.events[d], u = r.getStartColumn(c), h = r.getWidth(c);
1948
1948
  r.putIntoLine(c, u, h, l);
@@ -1959,81 +1959,84 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1959
1959
  } }(), e.event = null, e.click = null, e.parentNode.removeChild(e); }, this.ka = function () { this.Wc(); }, this.Wc = function () { this.elements.events = []; for (var e = 0; e < this.rows.length; e++)
1960
1960
  for (var t = this.rows[e], i = 0; i < t.lines.length; i++)
1961
1961
  for (var a = t.lines[i], n = 0; n < a.length; n++)
1962
- this.Ka(a[n]); }, this.rb = function (e, t) { if (!(e && t && e.start && t.start))
1962
+ this.Ka(a[n]); }, this.qb = function (e, t) { if (!(e && t && e.start && t.start))
1963
1963
  return 0; var i = e.start().getTime() - t.start().getTime(); return 0 !== i ? i : t.end().getTime() - e.end().getTime(); }, this.drawShadow = function (t, i, a, o, r, s) { r || (r = 0); var l = o; this.shadow = {}, this.shadow.list = [], this.shadow.start = { x: t, y: i }, this.shadow.width = o; var d = 7 * i + t - r; d < 0 && (l += d, t = 0, i = 0); for (var c = r; c >= 7;)
1964
1964
  i--, c -= 7; if (c > t) {
1965
1965
  c > t + (7 - this.getColCount()) ? (i--, t = t + 7 - c) : (l = l - c + t, t = 0);
1966
1966
  }
1967
1967
  else
1968
- t -= c; i < 0 && (i = 0, t = 0); var u = null; for (e.resizingEvent ? u = "w-resize" : e.movingEvent && (u = "move"), this.nav.top.style.cursor = u; l > 0 && i < this.rows.length;) {
1969
- var h = Math.min(this.getColCount() - t, l), f = this.rows[i], m = this.getRowTop(i), p = f.getHeight(), v = document.createElement("div");
1970
- 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"));
1971
- var y = document.createElement("div");
1972
- 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++;
1968
+ t -= c; i < 0 && (i = 0, t = 0); var u = null; e.resizingEvent ? u = "w-resize" : e.movingEvent && (u = "move"), this.nav.top.style.cursor = u; var h = n.eventBorderRadius; for ("number" == typeof h && (h += "px"); l > 0 && i < this.rows.length;) {
1969
+ var f = Math.min(this.getColCount() - t, l), m = this.rows[i], p = this.getRowTop(i), v = m.getHeight(), y = document.createElement("div");
1970
+ 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"));
1971
+ var g = document.createElement("div");
1972
+ 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++;
1973
1973
  } }, this.clearShadow = function () { if (this.shadow) {
1974
1974
  for (var e = 0; e < this.shadow.list.length; e++)
1975
1975
  this.nav.top.removeChild(this.shadow.list[e]);
1976
1976
  this.shadow = null, this.nav.top.style.cursor = "";
1977
1977
  } }, this.getEventTop = function (e, t) { for (var i = this.headerHeight, a = 0; a < e; a++)
1978
1978
  i += this.rows[a].getHeight(); return i += this.cellHeaderHeight, i += t * this.lineHeight(); }, this.getDateFromCell = function (e, t) { return this.firstDate.addDays(7 * t + e); }, this.Ka = function (i) {
1979
- 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");
1980
- 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) {
1979
+ var a = i.cache || i.data, o = a.borderRadius || n.eventBorderRadius;
1980
+ "number" == typeof o && (o += "px");
1981
+ 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");
1982
+ 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")), 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) {
1981
1983
  t = t || window.event;
1982
1984
  var a = t.which || t.button;
1983
1985
  if (t.cancelBubble = !0, t.stopPropagation && t.stopPropagation(), 1 === a)
1984
1986
  if (e.movingEvent = null, "w-resize" === this.style.cursor || "e-resize" === this.style.cursor) {
1985
- var d = {};
1986
- 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;
1987
+ var o = {};
1988
+ 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,
1989
+ o.direction = this.style.cursor, e.resizingEvent = o;
1987
1990
  }
1988
1991
  else if ("move" === this.style.cursor || i.client.moveEnabled()) {
1989
1992
  n.clearShadow();
1990
1993
  var c = DayPilot.mo3(n.nav.top, t);
1991
1994
  if (!c)
1992
1995
  return;
1993
- 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);
1994
- f && (m += f);
1996
+ 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);
1997
+ h && (m += h);
1995
1998
  var p = {};
1996
- 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;
1999
+ 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;
1997
2000
  }
1998
- }, h.onmousemove = function (t) { if ("undefined" != typeof e && !e.movingEvent && !e.resizingEvent) {
1999
- var a = DayPilot.mo3(h, t);
2001
+ }, f.onmousemove = function (t) { if ("undefined" != typeof e && !e.movingEvent && !e.resizingEvent) {
2002
+ var a = DayPilot.mo3(f, t);
2000
2003
  if (a) {
2001
- h.deleteIcon && (h.deleteIcon.style.display = "");
2004
+ f.deleteIcon && (f.deleteIcon.style.display = "");
2002
2005
  var n = 6;
2003
- 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";
2006
+ 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";
2004
2007
  }
2005
- } }, h.onmouseleave = function (e) { h.deleteIcon && (h.deleteIcon.style.display = "none"), h.style.cursor = ""; }, h.onmouseenter = function (e) { h.deleteIcon && (h.deleteIcon.style.display = ""); };
2006
- var f = document.createElement("div");
2007
- 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()) {
2008
- var m = document.createElement("div");
2009
- m.setAttribute("unselectable", "on"), m.className = this.K("_event_bar"), m.style.position = "absolute";
2008
+ } }, f.onmouseleave = function (e) { f.deleteIcon && (f.deleteIcon.style.display = "none"), f.style.cursor = ""; }, f.onmouseenter = function (e) { f.deleteIcon && (f.deleteIcon.style.display = ""); };
2009
+ var m = document.createElement("div");
2010
+ 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()) {
2010
2011
  var p = document.createElement("div");
2011
- 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);
2012
+ p.setAttribute("unselectable", "on"), p.className = this.K("_event_bar"), p.style.position = "absolute";
2013
+ var v = document.createElement("div");
2014
+ 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);
2012
2015
  }
2013
2016
  if (i.client.deleteEnabled()) {
2014
- var v = Math.floor(n.eventHeight / 2 - 9), y = document.createElement("div");
2015
- 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);
2016
- }
2017
- var g = a.areas ? DayPilot.Areas.copy(a.areas) : [];
2018
- if (DayPilot.Areas.attach(h, i, { "areas": g }), "function" == typeof n.onAfterEventRender) {
2019
- var b = {};
2020
- b.e = h.event, b.div = h, n.onAfterEventRender(b);
2021
- }
2022
- !function () { var e = {}; if (e.control = n, e.e = a, e.element = null, h.domArgs = e, "function" == typeof n.onBeforeEventDomAdd && n.onBeforeEventDomAdd(e), e.element) {
2023
- var o = f;
2024
- if (o) {
2025
- e.Fa = o;
2017
+ var y = Math.floor(n.eventHeight / 2 - 9), g = document.createElement("div");
2018
+ 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);
2019
+ }
2020
+ var b = a.areas ? DayPilot.Areas.copy(a.areas) : [];
2021
+ if (DayPilot.Areas.attach(f, i, { "areas": b }), "function" == typeof n.onAfterEventRender) {
2022
+ var D = {};
2023
+ D.e = f.event, D.div = f, n.onAfterEventRender(D);
2024
+ }
2025
+ !function () { var e = {}; if (e.control = n, e.e = i, e.element = null, f.domArgs = e, "function" == typeof n.onBeforeEventDomAdd && n.onBeforeEventDomAdd(e), e.element) {
2026
+ var a = m;
2027
+ if (a) {
2028
+ e.Fa = a;
2026
2029
  if (t(e.element)) {
2027
2030
  if (!n.Ha.Ga)
2028
2031
  throw new DayPilot.Exception("Can't reach Vue");
2029
- n.Ha.Ia = !0, n.Ha.La(e.element, o), n.Ha.Ia = !1;
2032
+ n.Ha.Ia = !0, n.Ha.La(e.element, a, { "style": { "flexGrow": 1 } }), n.Ha.Ia = !1;
2030
2033
  }
2031
2034
  else
2032
- o.appendChild(e.element);
2035
+ a.appendChild(e.element);
2033
2036
  }
2034
2037
  }
2035
2038
  else
2036
- f.innerHTML = i.client.innerHTML(); }(), this.elements.events.push(h), this.nav.events.appendChild(h);
2039
+ m.innerHTML = i.client.innerHTML(); }(), this.elements.events.push(f), this.nav.events.appendChild(f);
2037
2040
  }, this.lastVisibleDayOfMonth = function () { return this.startDate.lastDayOfMonth(); }, this.Tc = function () { "string" == typeof this.startDate && (this.startDate = new DayPilot.Date(this.startDate)), this.startDate = this.startDate.firstDayOfMonth(), this.firstDate = this.startDate.firstDayOfWeek(this.getWeekStart()); var e, t = (this.startDate, this.lastVisibleDayOfMonth()), i = DayPilot.DateUtil.daysDiff(this.firstDate, t) + 1; e = Math.ceil(i / 7), this.days = 7 * e, this.rows = []; for (var a = 0; a < e; a++) {
2038
2041
  var o = {};
2039
2042
  o.start = this.firstDate.addDays(7 * a), o.end = o.start.addDays(this.getColCount()), o.events = [], o.lines = [], o.index = a, o.minHeight = this.cellHeight, o.calendar = this, o.belongsHere = function (e) { return e.end().getTime() === e.start().getTime() && e.start().getTime() === this.start.getTime() || !(e.end().getTime() <= this.start.getTime() || e.start().getTime() >= this.end.getTime()); }, o.getPartStart = function (e) { return DayPilot.DateUtil.max(this.start, e.start()); }, o.getPartEnd = function (e) { return DayPilot.DateUtil.min(this.end, e.end()); }, o.getStartColumn = function (e) { var t = this.getPartStart(e); return DayPilot.DateUtil.daysDiff(this.start, t); }, o.getWidth = function (e) { return DayPilot.DateUtil.daysSpan(this.getPartStart(e), this.getPartEnd(e)) + 1; }, o.putIntoLine = function (e, t, i, a) { for (var n = this, o = 0; o < this.lines.length; o++) {
@@ -2256,20 +2259,20 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2256
2259
  case "JavaScript": n.onTimeRangeSelected(e, t);
2257
2260
  } }, 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; };
2258
2261
  var o = this.aa;
2259
- 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 () { if (this.id && this.id.tagName)
2262
+ 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 () { if (this.id && this.id.tagName)
2260
2263
  this.nav.top = this.id;
2261
2264
  else {
2262
2265
  if ("string" != typeof this.id)
2263
2266
  throw "DayPilot.Month() constructor requires the target element or its ID as a parameter";
2264
2267
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
2265
2268
  throw "DayPilot.Month: The placeholder element not found: '" + id + "'.";
2266
- } }, 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) { var a = n.Ha.Ga; if ("function" == typeof a.createVNode && "function" == typeof a.render) {
2269
+ } }, 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) { var a = n.Ha.Ga; if ("function" == typeof a.createVNode && "function" == typeof a.render) {
2267
2270
  var o = a.createVNode(e, i);
2268
2271
  a.render(o, t);
2269
- } }, this.Ha.La = function (e, t) { var i = n.Ha.Ga; if ("function" == typeof i.render) {
2270
- var a = e;
2271
- DayPilot.isArray(e) && (a = i.h("div", null, e)), i.render(a, t);
2272
- } }, 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);
2272
+ } }, this.Ha.La = function (e, t, i) { var a = n.Ha.Ga; if ("function" == typeof a.render) {
2273
+ var o = e;
2274
+ DayPilot.isArray(e) && (o = a.h("div", i, e)), a.render(o, t);
2275
+ } }, 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);
2273
2276
  }, e.gMouseUp = function (t) { if (e.movingEvent) {
2274
2277
  var i = e.movingEvent;
2275
2278
  if (!i.event)
@@ -2321,9 +2324,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2321
2324
  if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.def) {
2322
2325
  var e = DayPilot.Util.isVueVNode;
2323
2326
  DayPilot.Navigator = function (t, i) {
2324
- this.v = "2024.4.609-lite";
2327
+ this.v = "2024.4.622-lite";
2325
2328
  var a = this;
2326
- 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 () { if (!r.ad())
2329
+ 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 () { if (!r.ad())
2327
2330
  return null; var e = 7; return this.showWeekNumbers && e++, 100 / e; }, this.fd = function () { return r.ad() ? null : r.cellWidth(); }, this.gd = function (e) { return "number" != typeof e && (e = 1), r.ad() ? this.ed() * e : this.fd() * e; }, this.hd = function (e) { var t = r.ad() ? "%" : "px"; return this.gd(e) + t; }, this.Vc = function (t, i) { var n = {}; n.cells = [], n.days = [], n.weeks = []; var o = this.startDate.addMonths(t), s = i.before, l = i.after, d = o.firstDayOfMonth(), c = d.firstDayOfWeek(r.weekStarts()), u = d.addMonths(1), h = DayPilot.DateUtil.daysDiff(c, u), f = "Auto" === this.rowsPerMonth ? Math.ceil(h / 7) : 6; n.rowCount = f; var m = (new DayPilot.Date).getDatePart(), p = 7 * r.cellWidth() + this.bd(); n.width = p; var v = this.cellHeight * f + this.titleHeight + this.dayHeaderHeight; n.height = v; var y = document.createElement("div"); if (r.ad() ? "Horizontal" === this.orientation && (y.style.width = 100 / a.showMonths + "%") : y.style.width = p + "px", y.style.height = v + "px", "Horizontal" === this.orientation)
2328
2331
  y.style.position = "absolute", r.ad() ? (y.style.left = 100 / a.showMonths * t + "%", n.leftPct = 100 / a.showMonths * t) : y.style.left = p * t + "px", y.style.top = "0px", n.top = 0, n.left = p * t;
2329
2332
  else {
@@ -2352,29 +2355,29 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2352
2355
  var S = document.createElement("div");
2353
2356
  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);
2354
2357
  for (var P = 0; P < f; P++) {
2355
- 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);
2358
+ 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);
2356
2359
  if ("month" === this.nd())
2357
- H = H && A;
2360
+ H = H && T;
2358
2361
  else if ("day" === this.nd())
2359
- H = H && (A || s && T || l && E);
2362
+ H = H && (T || s && A || l && E);
2360
2363
  else if ("week" === this.nd()) {
2361
2364
  var N = k.firstDayOfMonth() === o;
2362
- H = H && (N || s && T || l && E);
2365
+ H = H && (N || s && A || l && E);
2363
2366
  }
2364
2367
  var I = document.createElement("div");
2365
2368
  n.cells[M][P] = I;
2366
2369
  var R = a.od(M, P), B = R.x, z = R.y, O = r.ad() ? "%" : "px";
2367
- 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";
2370
+ 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";
2368
2371
  var U = document.createElement("div");
2369
- 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);
2372
+ 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);
2370
2373
  var L = null;
2371
2374
  this.cells && this.cells[k.toStringSortable()] && (L = this.cells[k.toStringSortable()]);
2372
2375
  var j = L || {};
2373
- 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) {
2376
+ 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) {
2374
2377
  var W = {};
2375
2378
  W.cell = j, a.onBeforeCellRender(W), L = W.cell;
2376
2379
  }
2377
- if (L && DayPilot.Util.addClass(I, L.cssClass || L.css), A || s && T || l && E) {
2380
+ if (L && DayPilot.Util.addClass(I, L.cssClass || L.css), T || s && A || l && E) {
2378
2381
  var F = document.createElement("div");
2379
2382
  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);
2380
2383
  }
@@ -2395,17 +2398,16 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2395
2398
  }
2396
2399
  } }(), y.appendChild(I), H && (a.qd(y, M, P), this.selected.push(I));
2397
2400
  }
2398
- } var J = document.createElement("div"); J.style.position = "absolute", J.style.left = "0px", J.style.top = b - 2 + "px", J.style.width = a.hd(7 + C), J.style.height = "1px", J.style.fontSize = "1px", J.style.lineHeight = "1px", J.className = this.K("_line"), y.appendChild(J), this.months.push(n); }, this.od = function (e, t) { var i = this.titleHeight + this.dayHeaderHeight, n = (this.bd(), this.showWeekNumbers ? 1 : 0); return { "x": a.gd(e + n), "y": t * this.cellHeight + i }; }, this.qd = function (e, t, i) { var n = e.month.cells[t][i]; a.cd(n, "select"); }, this.rd = function (e, t, i) { var n = e.month.cells[t][i]; a.dd(n, "select"); }, this.bd = function () { return this.showWeekNumbers ? r.cellWidth() : 0; }, this.sd = function () { if (this.items)
2401
+ } var J = document.createElement("div"); J.style.position = "absolute", J.style.left = "0px", J.style.top = b - 2 + "px", J.style.width = a.hd(7 + C), J.style.height = "1px", J.style.fontSize = "1px", J.style.lineHeight = "1px", J.className = this.K("_line"), y.appendChild(J), this.months.push(n); }, this.od = function (e, t) { var i = this.titleHeight + this.dayHeaderHeight, n = (this.bd(), this.showWeekNumbers ? 1 : 0); return { "x": a.gd(e + n), "y": t * this.cellHeight + i }; }, this.qd = function (e, t, i) {
2402
+ var n = e.month.cells[t][i];
2403
+ a.cd(n, "select");
2404
+ }, this.rd = function (e, t, i) { var n = e.month.cells[t][i]; a.dd(n, "select"); }, this.bd = function () { return this.showWeekNumbers ? r.cellWidth() : 0; }, this.sd = function () { if (this.items)
2399
2405
  for (var e = 0; e < this.showMonths; e++)
2400
2406
  for (var t = 0; t < 7; t++)
2401
2407
  for (var i = 0; i < 6; i++) {
2402
2408
  var a = this.months[e].cells[t][i];
2403
2409
  a && (1 === this.items[a.day.toStringSortable()] ? (this.cd(a, "busy"), this.dd(a, "free")) : (this.dd(a, "busy"), this.cd(a, "free")));
2404
- } }, this.td = function () {
2405
- var e = {};
2406
- e.startDate = a.startDate, e.selectionStart = a.selectionStart, e.selectionEnd = a.selectionEnd.addDays(1),
2407
- a.state.value = JSON.stringify(e);
2408
- }, this.nd = function () { return (this.selectMode || "").toLowerCase(); }, this.ud = function () { var e = this.selectionDay || this.selectionStart; switch (e || (e = DayPilot.Date.today()), e = new DayPilot.Date(e), this.nd()) {
2410
+ } }, 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 () { var e = this.selectionDay || this.selectionStart; switch (e || (e = DayPilot.Date.today()), e = new DayPilot.Date(e), this.nd()) {
2409
2411
  case "day":
2410
2412
  this.selectionStart = e, this.selectionDay = e, this.selectionEnd = e;
2411
2413
  break;
@@ -2429,9 +2431,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2429
2431
  a.Ad();
2430
2432
  var t = { "day": a.selectionDay, "start": a.selectionStart, "end": a.selectionEnd };
2431
2433
  a.hb(), t.start === a.selectionStart && t.end === a.selectionEnd && t.day === a.selectionDay || a.M();
2432
- } }, 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) { if (e) {
2434
+ } }, 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) { if (e) {
2433
2435
  var t = { "events": { "preInit": function () { var e = this.data; e && (DayPilot.isArray(e.list) ? a.events.list = e.list : a.events.list = e); } } };
2434
- this.mb = t;
2436
+ this.lb = t;
2435
2437
  for (var i in e)
2436
2438
  if (t[i]) {
2437
2439
  var n = t[i];
@@ -2439,7 +2441,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2439
2441
  }
2440
2442
  else
2441
2443
  a[i] = e[i];
2442
- } }, this.nb = function () { var e = this.mb; for (var t in e) {
2444
+ } }, this.mb = function () { var e = this.lb; for (var t in e) {
2443
2445
  var i = e[t];
2444
2446
  i.postInit && i.postInit();
2445
2447
  } }, this.S = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.R(); var n = "JSON" + JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.T, n, this.Bd) : WebForm_DoCallback(this.uniqueID, n, this.U, null, this.callbackError, !0); }, this.Bd = function (e) { if ("function" == typeof a.onAjaxError) {
@@ -2647,8 +2649,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2647
2649
  r.locale = function () { return DayPilot.Locale.find(a.locale); }, r.weekStarts = function () { if ("Auto" === a.weekStarts) {
2648
2650
  var e = r.locale();
2649
2651
  return e ? e.weekStarts : 0;
2650
- } return a.weekStarts; }, r.cellWidth = function () { if (a.pb.cellWidth)
2651
- return a.pb.cellWidth; var e = a.Od("_cell_dimensions").width; return e || (e = a.cellWidth), a.pb.cellWidth = e, e; }, r.ad = function () { return "Auto" === a.aa.cellWidth(); }, this.clearSelection = function () { for (var e = 0; e < this.selected.length; e++) {
2652
+ } return a.weekStarts; }, r.cellWidth = function () { if (a.ob.cellWidth)
2653
+ return a.ob.cellWidth; var e = a.Od("_cell_dimensions").width; return e || (e = a.cellWidth), a.ob.cellWidth = e, e; }, r.ad = function () { return "Auto" === a.aa.cellWidth(); }, this.clearSelection = function () { for (var e = 0; e < this.selected.length; e++) {
2652
2654
  var t = this.selected[e];
2653
2655
  a.rd(t.parentNode, t.x, t.y);
2654
2656
  } this.selected = []; }, this.Pd = function () { return !!this.backendUrl && ("undefined" == typeof a.items || !a.items); }, this.events = {}, this.ea = function () { if (DayPilot.isArray(this.events.list)) {
@@ -2662,16 +2664,16 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2662
2664
  }
2663
2665
  }
2664
2666
  } }, this.Od = function (e) { var t = document.createElement("div"); t.style.position = "absolute", t.style.top = "-2000px", t.style.left = "-2000px", t.className = this.K(e); var i = a.root || document.body; i.appendChild(t); var n = t.offsetHeight, o = t.offsetWidth; i.removeChild(t); var r = {}; return r.height = n, r.width = o, r; }, this.Qd = function (e) { for (var t = new DayPilot.Date(e.start), i = new DayPilot.Date(e.end), a = {}, n = t.getDatePart(); n.getTime() <= i.getTime();)
2665
- a[n.toStringSortable()] = 1, n = n.addDays(1); return a; }, this.show = function () { a.visible = !0, a.root.style.display = ""; }, this.hide = function () { a.visible = !1, a.root.style.display = "none"; }, this.ob = function () { if (this.id && this.id.tagName)
2667
+ a[n.toStringSortable()] = 1, n = n.addDays(1); return a; }, this.show = function () { a.visible = !0, a.root.style.display = ""; }, this.hide = function () { a.visible = !1, a.root.style.display = "none"; }, this.nb = function () { if (this.id && this.id.tagName)
2666
2668
  this.nav.top = this.id;
2667
2669
  else {
2668
2670
  if ("string" != typeof this.id)
2669
2671
  throw "DayPilot.Navigator() constructor requires the target element or its ID as a parameter";
2670
2672
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
2671
2673
  throw "DayPilot.Navigator: The placeholder element not found: '" + t + "'.";
2672
- } this.root = this.nav.top; }, this.init = function () { if (this.ob(), !this.root.dp) {
2674
+ } this.root = this.nav.top; }, this.init = function () { if (this.nb(), !this.root.dp) {
2673
2675
  this.ud(), this._c(), this.yd(), this.ea(), this.sd(), this.Z(), this.Rd(), this.gb();
2674
- if (this.Pd() && this.zd(), this.Ba = !0, this.nb(), this.vd) {
2676
+ if (this.Pd() && this.zd(), this.Ba = !0, this.mb(), this.vd) {
2675
2677
  var e = this.vd;
2676
2678
  this.select(e.date1, e.date2, e.options), this.vd = null;
2677
2679
  }