@daypilot/daypilot-lite-angular 3.21.0 → 3.22.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.1.524-lite
133
+ Version: 2024.2.530-lite
134
134
  */
135
135
  var DayPilot = {};
136
136
  if ("undefined" == typeof DayPilot)
@@ -648,7 +648,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
648
648
  if (this instanceof t.Calendar && !this.M && (a = !0, this.M = !0), !a)
649
649
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
650
650
  var n = this;
651
- this.uniqueID = null, this.isCalendar = !0, this.v = "2024.1.524-lite", this.id = e, this.clientName = e, this.cache = {}, this.cache.pixels = {}, this.elements = {}, this.elements.events = [], this.elements.selection = [], this.nav = {}, this.afterRender = function () { }, this.fasterDispose = !0, this.angularAutoApply = !1, this.api = 2, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.cellHeight = 30, this.columnMarginRight = 5, this.columnsLoadMethod = "GET", this.contextMenu = null, this.days = 1, this.durationBarVisible = !0, this.eventsLoadMethod = "GET", this.headerDateFormat = null, this.headerHeight = 30, this.headerTextWrappingEnabled = !1, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelHtml = null, this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.locale = "en-us", this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", this.viewType = "Days", this.visible = !0, this.xssProtection = "Enabled", this.headerClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", this.timeRangeSelectedHandling = "Enabled", this.onBeforeCellRender = null, this.onBeforeEventRender = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onEventRightClick = null, this.onEventRightClicked = null, this.onHeaderClick = null, this.onHeaderClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.N = !1, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.O(); }, this.O = function () { DayPilot.de(n.elements.selection), n.elements.selection = [], n.nav.activeSelection = null; }, this.cleanSelection = this.clearSelection, this.P = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var o = "JSON" + DayPilot.JSON.stringify(a); __doPostBack(n.uniqueID, o); }, this.R = function (e, t, i) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { n.loadingStart(); }, 100); var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var o = "JSON" + DayPilot.JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.S, o, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, o, this.T, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = n; e.N || (e.N = !0, clearInterval(e.U), e.V(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.W(), e.X(), e.nav.select = null, e.nav.cornerRight = null, e.nav.scrollable = null, e.nav.zoom = null, e.nav.loading = null, e.nav.header = null, e.nav.hourTable = null, e.nav.scrolltop = null, e.nav.scroll.onscroll = null, e.nav.scroll = null, e.nav.main = null, e.nav.message = null, e.nav.messageClose = null, e.nav.top = null, t.unregister(e)); }, this.disposed = function () { return this.N; }, this.Y = function () { this.nav.top.dispose = this.dispose; }, this.S = function (e) { n.T(e.responseText); }, this.Q = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = n.days, e.startDate = n.startDate, e.heightSpec = n.heightSpec, e.businessBeginsHour = n.businessBeginsHour, e.businessEndsHour = n.businessEndsHour, e.hashes = n.hashes, e.timeFormat = n.timeFormat, e.viewType = n.viewType, e.locale = n.locale, e; }, this.Z = function (e, t) { for (var i = e.parentNode; i && "TD" !== i.tagName;)
651
+ this.uniqueID = null, this.isCalendar = !0, this.v = "2024.2.530-lite", this.id = e, this.clientName = e, this.cache = {}, this.cache.pixels = {}, this.elements = {}, this.elements.events = [], this.elements.selection = [], this.nav = {}, this.afterRender = function () { }, this.fasterDispose = !0, this.angularAutoApply = !1, this.api = 2, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.cellHeight = 30, this.columnMarginRight = 5, this.columnsLoadMethod = "GET", this.contextMenu = null, this.days = 1, this.durationBarVisible = !0, this.eventsLoadMethod = "GET", this.headerDateFormat = null, this.headerHeight = 30, this.headerTextWrappingEnabled = !1, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelHtml = null, this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.locale = "en-us", this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", this.viewType = "Days", this.visible = !0, this.xssProtection = "Enabled", this.headerClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", this.timeRangeSelectedHandling = "Enabled", this.onBeforeCellRender = null, this.onBeforeEventRender = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onEventRightClick = null, this.onEventRightClicked = null, this.onHeaderClick = null, this.onHeaderClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.N = !1, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.O(); }, this.O = function () { DayPilot.de(n.elements.selection), n.elements.selection = [], n.nav.activeSelection = null; }, this.cleanSelection = this.clearSelection, this.P = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var o = "JSON" + DayPilot.JSON.stringify(a); __doPostBack(n.uniqueID, o); }, this.R = function (e, t, i) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { n.loadingStart(); }, 100); var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var o = "JSON" + DayPilot.JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.S, o, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, o, this.T, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = n; e.N || (e.N = !0, clearInterval(e.U), e.V(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.W(), e.X(), e.nav.select = null, e.nav.cornerRight = null, e.nav.scrollable = null, e.nav.zoom = null, e.nav.loading = null, e.nav.header = null, e.nav.hourTable = null, e.nav.scrolltop = null, e.nav.scroll.onscroll = null, e.nav.scroll = null, e.nav.main = null, e.nav.message = null, e.nav.messageClose = null, e.nav.top = null, t.unregister(e)); }, this.disposed = function () { return this.N; }, this.Y = function () { this.nav.top.dispose = this.dispose; }, this.S = function (e) { n.T(e.responseText); }, this.Q = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = n.days, e.startDate = n.startDate, e.heightSpec = n.heightSpec, e.businessBeginsHour = n.businessBeginsHour, e.businessEndsHour = n.businessEndsHour, e.hashes = n.hashes, e.timeFormat = n.timeFormat, e.viewType = n.viewType, e.locale = n.locale, e; }, this.Z = function (e, t) { for (var i = e.parentNode; i && "TD" !== i.tagName;)
652
652
  i = i.parentNode; var a = document.createElement("div"); a.setAttribute("unselectable", "on"), a.style.position = "absolute", a.style.width = e.offsetWidth + "px", a.style.height = e.offsetHeight + "px", a.style.left = e.offsetLeft + "px", a.style.top = e.offsetTop + "px", a.style.boxSizing = "border-box", a.style.zIndex = 101, a.className = n.J("_shadow"); var o = document.createElement("div"); return o.className = n.J("_shadow_inner"), a.appendChild(o), i.firstChild.appendChild(a), a; }, this._ = {}, this._.locale = function () { var e = DayPilot.Locale.find(n.locale); return e ? e : DayPilot.Locale.US; }, this._.timeFormat = function () { return "Auto" !== n.timeFormat ? n.timeFormat : this.locale().timeFormat; }, this._.aa = function () { return "Disabled" !== n.xssProtection; };
653
653
  var o = this._;
654
654
  this.T = function (e, t) {
@@ -1022,7 +1022,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1022
1022
  f || (f = o / 2);
1023
1023
  var c = Math.floor((n.coords.y - f - r + o / 2) / o) * o + r;
1024
1024
  c < r && (c = r);
1025
- var m = n.nav.events, d = n.nav.main.clientHeight, p = parseInt(t.movingShadow.style.height);
1025
+ var m = n.nav.events, d = n.nav.main.clientHeight + r, p = parseInt(t.movingShadow.style.height);
1026
1026
  c + p > d && (c = d - p), DayPilot.Util.addClass(t.moving, n.J("_event_moving_source")), t.movingShadow.parentNode.style.display = "none", t.movingShadow.style.top = c + "px", t.movingShadow.parentNode.style.display = "";
1027
1027
  var v = m.clientWidth / m.rows[0].cells.length, y = Math.floor((n.coords.x - 45) / v);
1028
1028
  y < 0 && (y = 0), y < m.rows[0].cells.length && y >= 0 && t.movingShadow.column !== y && (t.movingShadow.column = y, t.moveShadow(m.rows[0].cells[y]));
@@ -1114,7 +1114,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1114
1114
  } }, this.update = function (e) { if (n.N)
1115
1115
  throw new DayPilot.Exception("You are trying to update a DayPilot.Calendar instance that has been disposed."); n._a(e), n.Za(); }, this.Za = function (e) { if (this.za) {
1116
1116
  var e = e || {}, t = !e.eventsOnly;
1117
- n.ab(), n.V(), n.nav.top.style.cursor = "auto", t && (n.ba(), n.ea(), n.fa(), n.ga(), n.ha(), n.Na(), n.Xa(), n.$a(), n.bb()), n.ca(), n.da(), n.s(), n.ia(), n.clearSelection(), this.visible ? this.show() : this.hide();
1117
+ n.ab(), n.V(), n.nav.top.style.cursor = "auto", t && (n.ba(), n.ea(), n.fa(), n.ga(), n.ha(), n.Na(), n.Xa(), n.$a(), n.bb()), n.ca(), n.da(), n.ia(), n.clearSelection(), this.visible ? this.show() : this.hide();
1118
1118
  } }, this.cb = null, this._a = function (e) { if (e) {
1119
1119
  var t = { "events": { "preInit": function () { var e = this.data || []; DayPilot.isArray(e.list) ? n.events.list = e.list : n.events.list = e; } }, "columns": { "preInit": function () { n.columns.list = this.data; } } };
1120
1120
  this.cb = t;
@@ -1206,7 +1206,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1206
1206
  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.ib(r), c.boxTop = this.ib(l), c.boxBottom = this.ib(d), this.cache.pixels[a + "_" + i] = c, c; }, this.ib = function (e) { return Math.floor(this.cellHeight * e / 18e5); }, this.ab = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(); }, this.da = function () { this.nav.corner && (this.nav.corner.style.height = this.headerHeight + "px"); }, this.ha = function () { var e = this.Fa(); this.nav.scroll && e > 0 && (this.nav.scroll.style.height = e + "px"); }, this.qa = {}, this.qa.scope = null, this.qa.notify = function () { n.qa.scope && n.qa.scope["$apply"](); }, this.qa.apply = function (e) { e(); }, this.Va = function () { if (n.nav.scroll) {
1207
1207
  var e = n.nav.scroll.scrollTop, t = e / (2 * n.cellHeight);
1208
1208
  n.Wa.scrollHour = t;
1209
- } }, this.bb = function () { var e = 0; "number" == typeof n.Wa.scrollHour ? e = 2 * n.cellHeight * n.Wa.scrollHour : "Auto" === n.initScrollPos && (e = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), n.nav.scroll.scrollTop = e; }, this.jb = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof n.events.list || !n.events.list); }, this.s = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { n.visible = !0, n.nav.top.style.display = ""; }, this.hide = function () { n.visible = !1, n.nav.top.style.display = "none"; }, this.kb = function () { this.ab(), this.ba(), this.Ea(), this.ea(), this.fa(), this.Xa(), this.Ua(), this.Ya(), t.register(this), this.lb(), this.R("Init"); }, this.Wa = {}, this.mb = function () { this.Wa.themes = [], this.Wa.themes.push(this.theme || this.cssClassPrefix); }, this.nb = function () { for (var e = this.Wa.themes, t = 0; t < e.length; t++) {
1209
+ } }, this.bb = function () { var e = 0; "number" == typeof n.Wa.scrollHour ? e = 2 * n.cellHeight * n.Wa.scrollHour : "Auto" === n.initScrollPos && (e = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), n.nav.scroll.scrollTop = e; }, this.jb = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof n.events.list || !n.events.list); }, this.s = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { n.visible = !0, n.nav.top.style.display = "", this.Xa(); }, this.hide = function () { n.visible = !1, n.nav.top.style.display = "none"; }, this.kb = function () { this.ab(), this.ba(), this.Ea(), this.ea(), this.fa(), this.Xa(), this.Ua(), this.Ya(), t.register(this), this.lb(), this.R("Init"); }, this.Wa = {}, this.mb = function () { this.Wa.themes = [], this.Wa.themes.push(this.theme || this.cssClassPrefix); }, this.nb = function () { for (var e = this.Wa.themes, t = 0; t < e.length; t++) {
1210
1210
  var i = e[t];
1211
1211
  DayPilot.Util.removeClass(this.nav.top, i + "_main");
1212
1212
  } this.Wa.themes = []; }, this.ob = function () { if (this.afterRender(null, !1), "function" == typeof this.onAfterRender) {
@@ -1231,7 +1231,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1231
1231
  }
1232
1232
  }(), "undefined" == typeof DayPilot)
1233
1233
  var DayPilot = {};
1234
- if (function () { "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (e) { this.v = "2024.1.524-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._.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, e)
1234
+ if (function () { "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (e) { this.v = "2024.2.530-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._.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, e)
1235
1235
  for (var t in e)
1236
1236
  this[t] = e[t]; }, this.init = function () { this.date = new DayPilot.Date(this.date); var e = this.sb(); this.resetTarget && !e ? this.tb(this.date) : this.resetTarget || (i.date = e); var t = this.B(); return t && t.addEventListener("input", function () { i.date = i.sb(), i.date && i.navigator.select(i.date, { dontNotify: !0 }); }), document.addEventListener("mousedown", function () { i.close(); }), this; }, this.close = function () { this.rb && (this.rb = !1, this.navigator && this.navigator.dispose(), this.div.innerHTML = "", this.div && this.div.parentNode === document.body && document.body.removeChild(this.div)); }, this.setDate = function (e) { this.date = new DayPilot.Date(e), this.tb(this.date); }, this.sb = function () { var e = this.B(); if (!e)
1237
1237
  return this.date; var t = null; if (t = "INPUT" === e.tagName ? e.value : e.innerText, !t)
@@ -1261,7 +1261,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1261
1261
  "use strict";
1262
1262
  if ("undefined" == typeof DayPilot.Menu || !DayPilot.Menu.def) {
1263
1263
  var e = function () { }, t = {};
1264
- 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.1.524-lite", this.zIndex = 120, this.cssClassPrefix = "menu_default", this.cssOnly = !0, this.menuTitle = null, this.showMenuTitle = !1, this.hideOnMouseOut = !1, this.hideAfter = 200, this.theme = null, this.onShow = null, this.vb = function () { }, i && DayPilot.isArray(i) && (this.items = i), this.toJSON = function () { return null; }, this.show = function (i, o) { 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.vb.submenu = null, null !== t.mouse) {
1264
+ 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.2.530-lite", this.zIndex = 120, this.cssClassPrefix = "menu_default", this.cssOnly = !0, this.menuTitle = null, this.showMenuTitle = !1, this.hideOnMouseOut = !1, this.hideAfter = 200, this.theme = null, this.onShow = null, this.vb = function () { }, i && DayPilot.isArray(i) && (this.items = i), this.toJSON = function () { return null; }, this.show = function (i, o) { 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.vb.submenu = null, null !== t.mouse) {
1265
1265
  a.cssOnly || (a.cssOnly = !0);
1266
1266
  var s = null;
1267
1267
  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) {
@@ -1375,10 +1375,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1375
1375
  }
1376
1376
  else
1377
1377
  d.style.left = e + "px"; }(), o.parentLink) {
1378
- var N = o.parentLink, I = parseInt(new DayPilot.StyleReader(d).get("border-top-width")), z = DayPilot.abs(o.parentLink.parentNode), O = z.x + N.offsetWidth, U = z.y - I;
1378
+ var N = o.parentLink, I = parseInt(new DayPilot.StyleReader(d).get("border-top-width")), z = DayPilot.abs(o.parentLink.parentNode), O = z.x + N.offsetWidth, R = z.y - I;
1379
1379
  O + T > H && (O = Math.max(0, z.x - T));
1380
- var R = document.body.scrollTop + document.documentElement.scrollTop;
1381
- U + M - R > A && (U = Math.max(0, A - M + R)), d.style.left = O + "px", d.style.top = U + "px";
1380
+ var U = document.body.scrollTop + document.documentElement.scrollTop;
1381
+ R + M - U > A && (R = Math.max(0, A - M + U)), d.style.left = O + "px", d.style.top = R + "px";
1382
1382
  }
1383
1383
  d.style.display = "", this.addShadow(d), this.vb.div = d, o.submenu || (DayPilot.Menu.active = this);
1384
1384
  } }, this.xb = function (e, t) { var i = e, n = t.source; if ((!a.vb.submenu || a.vb.submenu.item !== e) && (a.vb.submenu && a.vb.submenu.item !== e && (DayPilot.Util.removeClass(a.vb.submenu.link.parentNode, a.wb("item_haschildren_active")), a.vb.submenu.menu.hide(), a.vb.submenu = null), e.items)) {
@@ -1771,9 +1771,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1771
1771
  if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
1772
1772
  var e = {};
1773
1773
  e.Month = function (t, i) {
1774
- this.v = "2024.1.524-lite", this.nav = {};
1774
+ this.v = "2024.2.530-lite", this.nav = {};
1775
1775
  var a = this;
1776
- this.id = t, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, this.contextMenu = null, this.cssClassPrefix = "month_default", this.eventBarVisible = !0, this.eventHeight = 25, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.hideUntilInit = !0, this.lineSpace = 1, this.locale = "en-us", this.showToolTip = !0, this.startDate = new DayPilot.Date, this.theme = null, this.visible = !0, this.weekStarts = 1, this.width = "100%", this.xssProtection = "Enabled", this.afterRender = function () { }, this.cellHeaderClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.headerClickHandling = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.onCellHeaderClick = null, this.onCellHeaderClicked = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onEventRightClick = null, this.onEventRightClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.cellEvents = [], this.elements = {}, this.elements.events = [], this.cache = {}, this.N = !1, this.T = function (e, t) { var e = JSON.parse(e); return e.CallBackRedirect ? void (document.location.href = e.CallBackRedirect) : "None" === e.UpdateType ? void a.fireAfterRenderDetached(e.CallBackData, !0) : (a.events.list = e.Events, "Full" === e.UpdateType && (a.startDate = e.StartDate, a.timeFormat = e.TimeFormat ? e.TimeFormat : a.timeFormat, "undefined" != typeof e.WeekStarts && (a.weekStarts = e.WeekStarts), a.hashes = e.Hashes), a.V(), a.Ic(), a.ca(), "Full" === e.UpdateType && (a.Jc(), a.Kc()), a.ha(), a.show(), a.ia(), void a.fireAfterRenderDetached(e.CallBackData, !0)); }, this.fireAfterRenderDetached = function (e, t) { var i = function (e, t) { return function () { a.afterRender && a.afterRender(e, t); }; }; window.setTimeout(i(e, t), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (e) { var t = null; if (e instanceof DayPilot.Event)
1776
+ this.id = t, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, this.contextMenu = null, this.cssClassPrefix = "month_default", this.eventBarVisible = !0, this.eventHeight = 25, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.hideUntilInit = !0, this.lineSpace = 1, this.locale = "en-us", this.showToolTip = !0, this.startDate = new DayPilot.Date, this.theme = null, this.visible = !0, this.weekStarts = 1, this.width = "100%", this.xssProtection = "Enabled", this.afterRender = function () { }, this.cellHeaderClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.headerClickHandling = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.onCellHeaderClick = null, this.onCellHeaderClicked = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onEventRightClick = null, this.onEventRightClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.onBeforeEventRender = null, this.onBeforeCellRender = null, this.cellEvents = [], this.elements = {}, this.elements.events = [], this.cache = {}, this.N = !1, this.T = function (e, t) { var e = JSON.parse(e); return e.CallBackRedirect ? void (document.location.href = e.CallBackRedirect) : "None" === e.UpdateType ? void a.fireAfterRenderDetached(e.CallBackData, !0) : (a.events.list = e.Events, "Full" === e.UpdateType && (a.startDate = e.StartDate, a.timeFormat = e.TimeFormat ? e.TimeFormat : a.timeFormat, "undefined" != typeof e.WeekStarts && (a.weekStarts = e.WeekStarts), a.hashes = e.Hashes), a.V(), a.Ic(), a.ca(), "Full" === e.UpdateType && (a.Jc(), a.Kc()), a.ha(), a.show(), a.ia(), void a.fireAfterRenderDetached(e.CallBackData, !0)); }, this.fireAfterRenderDetached = function (e, t) { var i = function (e, t) { return function () { a.afterRender && a.afterRender(e, t); }; }; window.setTimeout(i(e, t), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (e) { var t = null; if (e instanceof DayPilot.Event)
1777
1777
  t = e.data;
1778
1778
  else {
1779
1779
  if ("object" != typeof e)
@@ -1998,15 +1998,18 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1998
1998
  for (var t = 0; t < this.cells[e].length; t++)
1999
1999
  this.cells[e][t].onclick = null;
2000
2000
  this.nav.cells.innerHTML = "";
2001
- }, this.oa = function () { return 2 === a.api; }, this.Nc = function (t, i, o) { var r = this.rows[i], s = this.firstDate.addDays(7 * i + t), l = document.createElement("div"); if (l.setAttribute("unselectable", "on"), l.style.position = "absolute", l.style.cursor = "default", l.style.left = this.getCellWidth() * t + "%", l.style.width = this.getCellWidth() + "%", l.style.top = this.getRowTop(i) + "px", l.style.height = r.getHeight() + "px", l.className = this.J("_cell"), !this.isWeekend(s)) {
2002
- var d = this.J("_cell_business");
2003
- DayPilot.Util.addClass(l, d);
2004
- } var c = (this.startDate.addMonths(-1).getMonth(), this.startDate.addMonths(1).getMonth(), this.startDate.getMonth(), document.createElement("div")); c.setAttribute("unselectable", "on"), l.appendChild(c), c.style.position = "absolute", c.style.left = "0px", c.style.right = "0px", c.style.top = "0px", c.style.bottom = "0px", c.className = this.J("_cell_inner"), l.onmousedown = function (n) { "Disabled" !== a.timeRangeSelectedHandling && (a.clearShadow(), e.timeRangeSelecting = { "root": a, "x": t, "y": i, "from": { x: t, y: i }, "width": 1 }); }, l.onclick = function () { var e = function (e) { var t = new DayPilot.Date(e), i = t.addDays(1); a.L(t, i); }; if ("Disabled" !== a.timeRangeSelectedHandling)
2005
- return void e(s); }; var u = document.createElement("div"); u.setAttribute("unselectable", "on"), u.style.height = this.cellHeaderHeight + "px", u.className = this.J("_cell_header"), u.onclick = function (e) { if ("Enabled" === a.cellHeaderClickHandling) {
2001
+ }, this.oa = function () { return 2 === a.api; }, this.Nc = function (t, i, o) { var r = this.rows[i], s = this.firstDate.addDays(7 * i + t), l = s.getDay(), d = null; d = 1 === l ? n.locale().monthNames[s.getMonth()] + " " + l : "" + l; var c = !a.isWeekend(s), u = {}; u.control = a, u.cell = {}, u.cell.start = s, u.cell.end = s.addDays(1), u.cell.properties = { "headerHtml": d, "backColor": null, "business": c, "html": null }, "function" == typeof a.onBeforeCellRender && a.onBeforeCellRender(u); var h = u.cell.properties, f = document.createElement("div"); if (f.setAttribute("unselectable", "on"), f.style.position = "absolute", f.style.cursor = "default", f.style.left = this.getCellWidth() * t + "%", f.style.width = this.getCellWidth() + "%", f.style.top = this.getRowTop(i) + "px", f.style.height = r.getHeight() + "px", f.className = this.J("_cell"), h.business) {
2002
+ var c = this.J("_cell_business");
2003
+ DayPilot.Util.addClass(f, c);
2004
+ } var m = (this.startDate.addMonths(-1).getMonth(), this.startDate.addMonths(1).getMonth(), this.startDate.getMonth(), document.createElement("div")); m.setAttribute("unselectable", "on"), f.appendChild(m), m.style.position = "absolute", m.style.left = "0px", m.style.right = "0px", m.style.top = "0px", m.style.bottom = "0px", m.className = this.J("_cell_inner"), h.backColor && (m.style.backgroundColor = u.cell.properties.backColor), f.onmousedown = function (n) { "Disabled" !== a.timeRangeSelectedHandling && (a.clearShadow(), e.timeRangeSelecting = { "root": a, "x": t, "y": i, "from": { x: t, y: i }, "width": 1 }); }, f.onclick = function () { var e = function (e) { var t = new DayPilot.Date(e), i = t.addDays(1); a.L(t, i); }; if ("Disabled" !== a.timeRangeSelectedHandling)
2005
+ return void e(s); }; var p = document.createElement("div"); if (p.setAttribute("unselectable", "on"), p.style.height = this.cellHeaderHeight + "px", p.className = this.J("_cell_header"), p.onclick = function (e) { if ("Enabled" === a.cellHeaderClickHandling) {
2006
2006
  e.stopPropagation();
2007
2007
  var t = {};
2008
2008
  t.control = a, t.start = s, t.end = s.addDays(1), t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof a.onCellHeaderClick && (a.onCellHeaderClick(t), t.preventDefault.value) || "function" == typeof a.onCellHeaderClicked && a.onCellHeaderClicked(t);
2009
- } }; var h = s.getDay(); 1 === h ? u.innerHTML = n.locale().monthNames[s.getMonth()] + " " + h : u.innerHTML = h, c.appendChild(u), this.cells[t][i] = l, o.appendChild(l); }, this.getWeekStart = function () { return n.locale().weekStarts; }, this.getColCount = function () { return 7; }, this.getCellWidth = function () { return 14.285; }, this.getRowTop = function (e) { for (var t = this.headerHeight, i = 0; i < e; i++)
2009
+ } }, p.innerHTML = h.headerHtml, m.appendChild(p), h.html) {
2010
+ var v = document.createElement("div");
2011
+ v.style.height = r.getHeight() - this.cellHeaderHeight + "px", v.style.overflow = "hidden", v.innerHTML = h.html, m.appendChild(v);
2012
+ } this.cells[t][i] = f, o.appendChild(f); }, this.getWeekStart = function () { return n.locale().weekStarts; }, this.getColCount = function () { return 7; }, this.getCellWidth = function () { return 14.285; }, this.getRowTop = function (e) { for (var t = this.headerHeight, i = 0; i < e; i++)
2010
2013
  t += this.rows[i].getHeight(); return t; }, this.R = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var n = "JSON" + DayPilot.JSON.stringify(a); this.backendUrl && DayPilot.request(this.backendUrl, this.S, n, this.ajaxError); }, this.S = function (e) { a.T(e.responseText); }, this.Q = function () { var e = {}; return e.control = "dpm", e.id = this.id, e.v = this.v, e.visibleStart = new DayPilot.Date(this.firstDate), e.visibleEnd = e.visibleStart.addDays(this.days), e.startDate = a.startDate, e.timeFormat = this.timeFormat, e.weekStarts = this.weekStarts, e; }, this.eventClickCallBack = function (e, t) { this.R("EventClick", t, e); }, this.pa = function (t) { e.movingEvent = null, e.resizingEvent = null; var i = this, t = t || window.event; t.ctrlKey; t.cancelBubble = !0, t.stopPropagation && t.stopPropagation(), a.eventClickSingle(i, t); }, this.eventClickSingle = function (e, t) { var i = e.event; if (i && i.client.clickEnabled())
2011
2014
  if (a.oa()) {
2012
2015
  var n = {};
@@ -2174,7 +2177,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2174
2177
  "undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function () {
2175
2178
  if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.nav) {
2176
2179
  DayPilot.Navigator = function (e, t) {
2177
- this.v = "2024.1.524-lite";
2180
+ this.v = "2024.2.530-lite";
2178
2181
  var i = this;
2179
2182
  this.id = e, this.api = 2, this.isNavigator = !0, this.autoFocusOnClick = !0, this.weekStarts = "Auto", this.selectMode = "Day", this.titleHeight = 30, this.dayHeaderHeight = 30, this.bound = null, this.cellWidth = 30, this.cellHeight = 30, this.cssClassPrefix = "navigator_default", this.freeHandSelectionEnabled = !1, this.selectionStart = (new DayPilot.Date).getDatePart(), this.selectionEnd = null, this.selectionDay = null, this.showMonths = 1, this.skipMonths = 1, this.command = "navigate", this.year = (new DayPilot.Date).getYear(), this.month = (new DayPilot.Date).getMonth() + 1, this.showWeekNumbers = !1, this.weekNumberAlgorithm = "Auto", this.rowsPerMonth = "Six", this.orientation = "Vertical", this.locale = "en-us", this.rtl = !1, this.visible = !0, this.timeRangeSelectedHandling = "Bind", this.visibleRangeChangedHandling = "Enabled", this.onVisibleRangeChange = null, this.onVisibleRangeChanged = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.nav = {}, this.fb = {}, this.Oc = function () { this.root.dp = this, this.root.className = this.J("_main"), "Horizontal" === this.orientation ? (this.root.style.width = this.showMonths * (7 * o.cellWidth() + this.Pc()) + "px", this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : this.root.style.width = 7 * o.cellWidth() + this.Pc() + "px", this.rtl && (this.root.style.direction = "rtl"), this.root.style.position = "relative", this.visible || (this.root.style.display = "none"); var e = document.createElement("input"); e.type = "hidden", e.name = i.id + "_state", e.id = e.name, this.root.appendChild(e), this.state = e, this.startDate ? this.startDate = new DayPilot.Date(this.startDate).firstDayOfMonth() : this.startDate = DayPilot.Date.fromYearMonthDay(this.year, this.month), this.calendars = [], this.selected = [], this.months = []; }, this.oa = function () { return 2 === i.api; }, this.Jc = function () { this.root.innerHTML = ""; }, this.J = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.Qc = function (e, t) { var i = this.J("_" + t); DayPilot.Util.addClass(e, i); }, this.Rc = function (e, t) { var i = this.J("_" + t); DayPilot.Util.removeClass(e, i); }, this.Kc = function (e, t) { var a = {}; a.cells = [], a.days = [], a.weeks = []; var n = this.startDate.addMonths(e), r = t.before, s = t.after, l = n.firstDayOfMonth(), d = l.firstDayOfWeek(o.weekStarts()), c = l.addMonths(1), u = DayPilot.DateUtil.daysDiff(d, c), h = "Auto" === this.rowsPerMonth ? Math.ceil(u / 7) : 6; a.rowCount = h; var f = (new DayPilot.Date).getDatePart(), m = 7 * o.cellWidth() + this.Pc(); a.width = m; var p = this.cellHeight * h + this.titleHeight + this.dayHeaderHeight; a.height = p; var v = document.createElement("div"); if (v.style.width = m + "px", v.style.height = p + "px", "Horizontal" === this.orientation)
2180
2183
  v.style.position = "absolute", v.style.left = m * e + "px", v.style.top = "0px", a.top = 0, a.left = m * e;
@@ -2217,20 +2220,20 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2217
2220
  a.cells[S][C] = N;
2218
2221
  var I = i.Xc(S, C), z = I.x, O = I.y;
2219
2222
  N.day = P, N.x = S, N.y = C, N.left = z, N.top = O, N.isCurrentMonth = T, N.isNextMonth = H, N.isPrevMonth = A, N.showBefore = r, N.showAfter = s, N.className = this.J(T ? "_day" : "_dayother"), i.Qc(N, "cell"), P.getTime() === f.getTime() && T && this.Qc(N, "today"), 0 !== P.dayOfWeek() && 6 !== P.dayOfWeek() || this.Qc(N, "weekend"), N.style.position = "absolute", N.style.left = z + "px", N.style.right = z + "px", N.style.top = O + "px", N.style.width = o.cellWidth() + "px", N.style.height = this.cellHeight + "px", N.style.lineHeight = this.cellHeight + "px";
2220
- var U = document.createElement("div");
2221
- U.style.position = "absolute", U.className = P.getTime() === f.getTime() && T ? this.J("_todaybox") : this.J("_daybox"), i.Qc(U, "cell_box"), U.style.left = "0px", U.style.top = "0px", U.style.right = "0px", U.style.bottom = "0px", N.appendChild(U);
2222
- var R = null;
2223
- if (this.cells && this.cells[P.toStringSortable()] && (R = this.cells[P.toStringSortable()]), "function" == typeof i.onBeforeCellRender) {
2223
+ var R = document.createElement("div");
2224
+ R.style.position = "absolute", R.className = P.getTime() === f.getTime() && T ? this.J("_todaybox") : this.J("_daybox"), i.Qc(R, "cell_box"), R.style.left = "0px", R.style.top = "0px", R.style.right = "0px", R.style.bottom = "0px", N.appendChild(R);
2225
+ var U = null;
2226
+ if (this.cells && this.cells[P.toStringSortable()] && (U = this.cells[P.toStringSortable()]), "function" == typeof i.onBeforeCellRender) {
2224
2227
  var L = {};
2225
- L.cell = R || {}, L.cell.day = P, L.cell.isCurrentMonth = T, L.cell.isToday = P.getTime() === f.getTime() && T, L.cell.isWeekend = 0 === P.dayOfWeek() || 6 === P.dayOfWeek(), R ? (L.cell.html = R.html || P.getDay(), L.cell.cssClass = R.css) : (L.cell.html = P.getDay(), L.cell.cssClass = null), i.onBeforeCellRender(L), R = L.cell;
2228
+ L.cell = U || {}, L.cell.day = P, L.cell.isCurrentMonth = T, L.cell.isToday = P.getTime() === f.getTime() && T, L.cell.isWeekend = 0 === P.dayOfWeek() || 6 === P.dayOfWeek(), U ? (L.cell.html = U.html || P.getDay(), L.cell.cssClass = U.css) : (L.cell.html = P.getDay(), L.cell.cssClass = null), i.onBeforeCellRender(L), U = L.cell;
2226
2229
  }
2227
- if (R && DayPilot.Util.addClass(N, R.cssClass || R.css), T || r && A || s && H) {
2228
- var j = document.createElement("div");
2229
- j.innerHTML = P.getDay(), j.style.position = "absolute", j.style.left = "0px", j.style.top = "0px", j.style.right = "0px", j.style.bottom = "0px", i.Qc(j, "cell_text"), N.isClickable = !0, R && R.html && (j.innerHTML = R.html), N.appendChild(j);
2230
+ if (U && DayPilot.Util.addClass(N, U.cssClass || U.css), T || r && A || s && H) {
2231
+ var B = document.createElement("div");
2232
+ B.innerHTML = P.getDay(), B.style.position = "absolute", B.style.left = "0px", B.style.top = "0px", B.style.right = "0px", B.style.bottom = "0px", i.Qc(B, "cell_text"), N.isClickable = !0, U && U.html && (B.innerHTML = U.html), N.appendChild(B);
2230
2233
  }
2231
2234
  N.setAttribute("unselectable", "on"), N.onclick = this.Yc, v.appendChild(N), M && (i.Zc(v, S, C), this.selected.push(N));
2232
2235
  }
2233
- } var B = document.createElement("div"); B.style.position = "absolute", B.style.left = "0px", B.style.top = g - 2 + "px", B.style.width = 7 * o.cellWidth() + this.Pc() + "px", B.style.height = "1px", B.style.fontSize = "1px", B.style.lineHeight = "1px", B.className = this.J("_line"), v.appendChild(B), this.months.push(a); }, this.Xc = function (e, t) { var i = this.titleHeight + this.dayHeaderHeight, a = this.Pc(); return { "x": e * o.cellWidth() + a, "y": t * this.cellHeight + i }; }, this.Zc = function (e, t, a) { var n = e.month.cells[t][a]; i.Qc(n, "select"); }, this.$c = function (e, t, a) { var n = e.month.cells[t][a]; i.Rc(n, "select"); }, this.Pc = function () { return this.showWeekNumbers ? o.cellWidth() : 0; }, this._c = function () { if (this.items)
2236
+ } var j = document.createElement("div"); j.style.position = "absolute", j.style.left = "0px", j.style.top = g - 2 + "px", j.style.width = 7 * o.cellWidth() + this.Pc() + "px", j.style.height = "1px", j.style.fontSize = "1px", j.style.lineHeight = "1px", j.className = this.J("_line"), v.appendChild(j), this.months.push(a); }, this.Xc = function (e, t) { var i = this.titleHeight + this.dayHeaderHeight, a = this.Pc(); return { "x": e * o.cellWidth() + a, "y": t * this.cellHeight + i }; }, this.Zc = function (e, t, a) { var n = e.month.cells[t][a]; i.Qc(n, "select"); }, this.$c = function (e, t, a) { var n = e.month.cells[t][a]; i.Rc(n, "select"); }, this.Pc = function () { return this.showWeekNumbers ? o.cellWidth() : 0; }, this._c = function () { if (this.items)
2234
2237
  for (var e = 0; e < this.showMonths; e++)
2235
2238
  for (var t = 0; t < 7; t++)
2236
2239
  for (var i = 0; i < 6; i++) {
@@ -2451,16 +2454,20 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2451
2454
  } }, this.visibleRangeChangedCallBack = function (e) { var t = {}; this.R("Visible", e, t); }, this.visibleRangeChangedPostBack = function (e) { var t = {}; this.P("Visible", e, t); }, this.T = function (e, t) { var e = JSON.parse(e); i.items = e.Items, i.cells = e.Cells, i.cells ? i.update() : i._c(); }, this.fd = function () { for (var e = 0; e < this.showMonths; e++) {
2452
2455
  var t = this.rd(e);
2453
2456
  this.Kc(e, t);
2454
- } this.root.style.height = this.sd() + "px", this.nav.preselection = document.createElement("div"), this.nav.preselection.style.position = "absolute", this.nav.preselection.style.left = "0px", this.nav.preselection.style.top = "0px", this.root.appendChild(this.nav.preselection); }, this.sd = function () { if ("Horizontal" === this.orientation) {
2455
- for (var e = 0, t = 0; t < this.months.length; t++) {
2457
+ } this.root.style.height = this.sd() + "px", this.nav.preselection = document.createElement("div"), this.nav.preselection.style.position = "absolute", this.nav.preselection.style.left = "0px", this.nav.preselection.style.top = "0px", this.root.appendChild(this.nav.preselection); }, this.sd = function () {
2458
+ if ("Horizontal" === this.orientation) {
2459
+ for (var e = 0, t = 0; t < this.months.length; t++) {
2460
+ var i = this.months[t];
2461
+ i.height > e && (e = i.height);
2462
+ }
2463
+ return e;
2464
+ }
2465
+ for (var a = 0, t = 0; t < this.months.length; t++) {
2456
2466
  var i = this.months[t];
2457
- i.height > e && (e = i.height);
2467
+ a += i.height;
2458
2468
  }
2459
- return e;
2460
- } for (var a = 0, t = 0; t < this.months.length; t++) {
2461
- var i = this.months[t];
2462
- a += i.height;
2463
- } return a; }, this.rd = function (e) { if (this.internal.showLinks)
2469
+ return a;
2470
+ }, this.rd = function (e) { if (this.internal.showLinks)
2464
2471
  return this.internal.showLinks; var t = {}; return t.left = 0 === e, t.right = 0 === e, t.before = 0 === e, t.after = e === this.showMonths - 1, "Horizontal" === this.orientation && (t.right = e === this.showMonths - 1), t; }, this.qa = {}, this.qa.scope = null, this.qa.notify = function () { i.qa.scope && i.qa.scope["$apply"](); }, this.internal = {}, this.internal.loadOptions = i._a, this.internal.initialized = function () { return i.za; }, this._ = {};
2465
2472
  var o = this._;
2466
2473
  o.locale = function () { return DayPilot.Locale.find(i.locale); }, o.weekStarts = function () { if ("Auto" === i.weekStarts) {