@daypilot/daypilot-lite-angular 3.33.0 → 3.33.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 - 2025 Annpoint s.r.o.
131
131
  https://www.daypilot.org/
132
132
  Licensed under Apache Software License 2.0
133
- Version: 2025.2.643-lite
133
+ Version: 2025.2.646-lite
134
134
  */
135
135
  var DayPilot = {};
136
136
  if ("undefined" == typeof DayPilot)
@@ -992,7 +992,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
992
992
  if (this instanceof t.Calendar && !this.O && (o = !0, this.O = !0), !o)
993
993
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
994
994
  var r = this;
995
- this.uniqueID = null, this.isCalendar = !0, this.v = "2025.2.643-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.cellDuration = 30, 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.snapToGrid = !0, this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", this.useEventBoxes = "Always", 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.P = !1, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.Q(); }, this.Q = function () { DayPilot.de(r.elements.selection), r.elements.selection = [], r.nav.activeSelection = null; }, this.cleanSelection = this.clearSelection, this.R = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.S(); var n = "JSON" + DayPilot.JSON.stringify(a); __doPostBack(r.uniqueID, n); }, this.T = 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.S(); var n = "JSON" + DayPilot.JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.U, n, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, n, this.V, 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.P || (e.P = !0, clearInterval(e.W), e.X(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.Y(), e.Z(), 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.P; }, this._ = function () { this.nav.top.dispose = this.dispose; }, this.U = function (e) { r.V(e.responseText); }, this.S = 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.aa = function (e, t) {
995
+ this.uniqueID = null, this.isCalendar = !0, this.v = "2025.2.646-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.cellDuration = 30, 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.snapToGrid = !0, this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", this.useEventBoxes = "Always", 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.P = !1, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.Q(); }, this.Q = function () { DayPilot.de(r.elements.selection), r.elements.selection = [], r.nav.activeSelection = null; }, this.cleanSelection = this.clearSelection, this.R = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.S(); var n = "JSON" + DayPilot.JSON.stringify(a); __doPostBack(r.uniqueID, n); }, this.T = 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.S(); var n = "JSON" + DayPilot.JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.U, n, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, n, this.V, 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.P || (e.P = !0, clearInterval(e.W), e.X(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.Y(), e.Z(), 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.P; }, this._ = function () { this.nav.top.dispose = this.dispose; }, this.U = function (e) { r.V(e.responseText); }, this.S = 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.aa = function (e, t) {
996
996
  for (var i = e.parentNode; i && "TD" !== i.tagName;)
997
997
  i = i.parentNode;
998
998
  var a = r.eventBorderRadius;
@@ -1261,7 +1261,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1261
1261
  var e = r.M;
1262
1262
  return new DayPilot.Selection(e.startTime, e.endTime, e.start.column.id, r);
1263
1263
  }, this.Aa = function (e) {
1264
- if (e < 0)
1264
+ if (e -= r.hourWidth, e < 0)
1265
1265
  return null;
1266
1266
  for (var t = 0, i = r.nav.events.rows[0].cells, a = 0; a < i.length; a++) {
1267
1267
  if (t += i[a].offsetWidth, e < t)
@@ -2003,7 +2003,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2003
2003
  var DayPilot = {};
2004
2004
  if (function () {
2005
2005
  "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (e) {
2006
- this.v = "2025.2.643-lite";
2006
+ this.v = "2025.2.646-lite";
2007
2007
  var t = "navigator_" + (new Date).getTime(), i = this;
2008
2008
  this.onShow = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.prepare = function () {
2009
2009
  if (this.locale = "en-us", this.target = null, this.targetAlignment = "left", this.resetTarget = !0, this.pattern = this.ba.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, e)
@@ -2053,7 +2053,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2053
2053
  var e = function () { }, t = {};
2054
2054
  t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (i) {
2055
2055
  var a = this, n = null;
2056
- this.v = "2025.2.643-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.Ob = function () { }, i && DayPilot.isArray(i) && (this.items = i), this.toJSON = function () { return null; }, this.show = function (i, o) {
2056
+ this.v = "2025.2.646-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.Ob = function () { }, i && DayPilot.isArray(i) && (this.items = i), this.toJSON = function () { return null; }, this.show = function (i, o) {
2057
2057
  o = o || {};
2058
2058
  var r = null;
2059
2059
  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.Ob.submenu = null, null !== t.mouse) {
@@ -3010,7 +3010,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3010
3010
  if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
3011
3011
  var e = {}, t = DayPilot.Util.isVueVNode;
3012
3012
  e.Month = function (i, a) {
3013
- this.v = "2025.2.643-lite", this.nav = {};
3013
+ this.v = "2025.2.646-lite", this.nav = {};
3014
3014
  var n = this;
3015
3015
  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.P = !1, this.V = 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.X(), n._c(), n.ga(), "Full" === e.UpdateType && (n.ad(), n.bd()), n.la(), n.show(), n.ma(), 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) {
3016
3016
  var t = null;
@@ -3712,7 +3712,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3712
3712
  if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.def) {
3713
3713
  var e = DayPilot.Util.isVueVNode;
3714
3714
  DayPilot.Navigator = function (t, i) {
3715
- this.v = "2025.2.643-lite";
3715
+ this.v = "2025.2.646-lite";
3716
3716
  var a = this;
3717
3717
  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.vb = {}, this.hd = function () { this.root.dp = this, this.root.className = this.K("_main"), "Horizontal" === this.orientation ? (r.jd() || (this.root.style.width = this.showMonths * (7 * r.cellWidth() + this.kd()) + "px"), this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : r.jd() || (this.root.style.width = 7 * r.cellWidth() + this.kd() + "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.sa = function () { return 2 === a.api; }, this.ad = function () { this.root.innerHTML = ""; }, this.K = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.ld = function (e, t) { var i = this.K("_" + t); DayPilot.Util.addClass(e, i); }, this.md = function (e, t) { var i = this.K("_" + t); DayPilot.Util.removeClass(e, i); }, this.nd = function () {
3718
3718
  if (!r.jd())
@@ -3762,6 +3762,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3762
3762
  var S = document.createElement("div");
3763
3763
  S.style.position = "absolute", S.style.left = "0px", S.style.right = "0px", S.style.top = P * this.cellHeight + b + "px", S.style.width = a.qd(), S.style.height = this.cellHeight + "px", S.style.lineHeight = this.cellHeight + "px", S.setAttribute("unselectable", "on"), S.className = this.K("_weeknumber"), S.innerHTML = "<span>" + _ + "</span>", y.appendChild(S), n.weeks.push(S);
3764
3764
  }
3765
+ if (a.showWeekNumbers) {
3766
+ var S = document.createElement("div");
3767
+ S.style.position = "absolute", S.style.left = "0px", S.style.right = "0px", S.style.top = this.titleHeight + "px", S.style.width = a.qd(), S.style.height = this.dayHeaderHeight + "px", S.className = this.K("_dayheader"), y.appendChild(S);
3768
+ }
3765
3769
  for (var M = 0; M < 7; M++) {
3766
3770
  n.cells[M] = [];
3767
3771
  var S = document.createElement("div");
@@ -3779,8 +3783,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3779
3783
  var I = document.createElement("div");
3780
3784
  n.cells[M][P] = I;
3781
3785
  var O = a.wd(M, P), R = O.x, B = O.y, U = r.jd() ? "%" : "px";
3782
- I.day = k, I.x = M, I.y = P, I.left = R, I.top = B, I.isCurrentMonth = A, I.isNextMonth = E, I.isPrevMonth = H, I.showBefore = s, I.showAfter = l, I.className = this.K(A ? "_day" : "_dayother"), a.ld(I, "cell"), k.getTime() === m.getTime() && A && this.ld(I, "today"), 0 !== k.dayOfWeek() && 6 !== k.dayOfWeek() || this.ld(I, "weekend"), I.style.position = "absolute",
3783
- I.style.left = R + U, I.style.right = R + U, I.style.top = B + "px", I.style.width = a.qd(), I.style.height = this.cellHeight + "px", I.style.lineHeight = this.cellHeight + "px";
3786
+ I.day = k, I.x = M, I.y = P, I.left = R, I.top = B,
3787
+ I.isCurrentMonth = A, I.isNextMonth = E, I.isPrevMonth = H, I.showBefore = s, I.showAfter = l, I.className = this.K(A ? "_day" : "_dayother"), a.ld(I, "cell"), k.getTime() === m.getTime() && A && this.ld(I, "today"), 0 !== k.dayOfWeek() && 6 !== k.dayOfWeek() || this.ld(I, "weekend"), I.style.position = "absolute", I.style.left = R + U, I.style.right = R + U, I.style.top = B + "px", I.style.width = a.qd(), I.style.height = this.cellHeight + "px", I.style.lineHeight = this.cellHeight + "px";
3784
3788
  var z = document.createElement("div");
3785
3789
  z.style.position = "absolute", z.className = k.getTime() === m.getTime() && A ? this.K("_todaybox") : this.K("_daybox"), a.ld(z, "cell_box"), z.style.left = "0px", z.style.top = "0px", z.style.right = "0px", z.style.bottom = "0px", I.appendChild(z);
3786
3790
  var j = null;
@@ -3855,15 +3859,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3855
3859
  (this.selectionStart < this.Ed() || this.selectionStart >= this.Fd()) && (m = this.selectionStart.firstDayOfMonth()), m.toStringSortable() !== this.startDate.toStringSortable() && (f = !0), this.startDate = m;
3856
3860
  }
3857
3861
  s && a.freeHandSelectionEnabled ? a.selectionEnd = new DayPilot.Date(s) : this.Cd(), this.ad(), this.hd(), this.Gd(), this.Ad(), this.Bd(), !c || u.equals(this.selectionStart) && h.equals(this.selectionEnd) || this.N(), f && this.Hd();
3858
- }, this.update = function (e) {
3862
+ }, this.update = function (e) { a.Id(e); }, this.Id = function (e) {
3859
3863
  if (a.qb(e), this.Ia) {
3860
3864
  if (a.P)
3861
3865
  throw new DayPilot.Exception("You are trying to update a DayPilot.Navigator instance that has been disposed.");
3862
- a.Id();
3866
+ a.Jd();
3863
3867
  var t = { "day": a.selectionDay, "start": a.selectionStart, "end": a.selectionEnd };
3864
3868
  a.ob(), t.start === a.selectionStart && t.end === a.selectionEnd && t.day === a.selectionDay || a.N();
3865
3869
  }
3866
- }, this.ob = function () { this.ad(), this.hd(), this.Cd(), this.Gd(), this.ga(), this.Ad(), this.Bd(), this.visible ? this.show() : this.hide(); }, this.Id = function () { a.vb = {}; }, this.sb = null, this.qb = function (e) {
3870
+ }, this.ob = function () { this.ad(), this.hd(), this.Cd(), this.Gd(), this.ga(), this.Ad(), this.Bd(), this.visible ? this.show() : this.hide(); }, this.Jd = function () { a.vb = {}; }, this.sb = null, this.qb = function (e) {
3867
3871
  if (e) {
3868
3872
  var t = { "events": { "preInit": function () { var e = this.data; e && (DayPilot.isArray(e.list) ? a.events.list = e.list : a.events.list = e); } } };
3869
3873
  this.sb = t;
@@ -3881,14 +3885,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3881
3885
  var i = e[t];
3882
3886
  i.postInit && i.postInit();
3883
3887
  }
3884
- }, this.T = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.S(); var n = "JSON" + JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.U, n, this.Jd) : WebForm_DoCallback(this.uniqueID, n, this.V, null, this.callbackError, !0); }, this.Jd = function (e) {
3888
+ }, this.T = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.S(); var n = "JSON" + JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.U, n, this.Kd) : WebForm_DoCallback(this.uniqueID, n, this.V, null, this.callbackError, !0); }, this.Kd = function (e) {
3885
3889
  if ("function" == typeof a.onAjaxError) {
3886
3890
  var t = {};
3887
3891
  t.request = e, a.onAjaxError(t);
3888
3892
  }
3889
3893
  else
3890
3894
  "function" == typeof a.ajaxError && a.ajaxError(e);
3891
- }, this.U = function (e) { a.V(e.responseText); }, this.R = function (e, t, i) { var n = {}; n.action = e, n.parameters = i, n.data = t, n.header = this.S(); var o = "JSON" + JSON.stringify(n); __doPostBack(a.uniqueID, o); }, this.S = function () { var e = {}; return e.v = this.v, e.startDate = this.startDate, e.selectionStart = this.selectionStart, e.showMonths = this.showMonths, e; }, this.Kd = function (e, t) { "refresh" === e && this.Hd(); }, this.td = function (e) { var t = e + r.weekStarts(); return t > 6 && (t -= 7), r.locale().dayNamesShort[t]; }, this.ud = function (e) { return null !== this.selectionStart && null !== this.selectionEnd && (this.selectionStart.getTime() <= e.getTime() && e.getTime() <= this.selectionEnd.getTime()); }, this.Ld = function (e) {
3895
+ }, this.U = function (e) { a.V(e.responseText); }, this.R = function (e, t, i) { var n = {}; n.action = e, n.parameters = i, n.data = t, n.header = this.S(); var o = "JSON" + JSON.stringify(n); __doPostBack(a.uniqueID, o); }, this.S = function () { var e = {}; return e.v = this.v, e.startDate = this.startDate, e.selectionStart = this.selectionStart, e.showMonths = this.showMonths, e; }, this.Ld = function (e, t) { "refresh" === e && this.Hd(); }, this.td = function (e) { var t = e + r.weekStarts(); return t > 6 && (t -= 7), r.locale().dayNamesShort[t]; }, this.ud = function (e) { return null !== this.selectionStart && null !== this.selectionEnd && (this.selectionStart.getTime() <= e.getTime() && e.getTime() <= this.selectionEnd.getTime()); }, this.Md = function (e) {
3892
3896
  for (var t = 0; t < a.months.length; t++) {
3893
3897
  var i = a.months[t];
3894
3898
  if (!i)
@@ -3902,14 +3906,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3902
3906
  }
3903
3907
  }
3904
3908
  return null;
3905
- }, this.Md = function (e) { }, this.Nd = function () {
3909
+ }, this.Nd = function (e) { }, this.Od = function () {
3906
3910
  if (!r.jd())
3907
- return void (a.Od = a.cellWidth);
3911
+ return void (a.Pd = a.cellWidth);
3908
3912
  var e = a.months[0].cells[0][0], t = e.clientWidth;
3909
- a.Od = t, a.months.forEach(function (e) { e.width = e.div.clientWidth, "Horizontal" === a.orientation && (e.left = e.div.offsetLeft), e.cells.forEach(function (e, i) { e.forEach(function (e, a) { e.width = t, e.left = i * t; }); }); });
3910
- }, this.Pd = function (e) {
3911
- a.Nd();
3912
- var t = DayPilot.mo3(a.nav.top, e), i = a.Ld(t);
3913
+ a.Pd = t, a.months.forEach(function (e) { e.width = e.div.clientWidth, "Horizontal" === a.orientation && (e.left = e.div.offsetLeft), e.cells.forEach(function (e, i) { e.forEach(function (e, a) { e.width = t, e.left = i * t; }); }); });
3914
+ }, this.Qd = function (e) {
3915
+ a.Od();
3916
+ var t = DayPilot.mo3(a.nav.top, e), i = a.Md(t);
3913
3917
  if (null === i)
3914
3918
  return null;
3915
3919
  var n = a.months[i], o = this.titleHeight + this.dayHeaderHeight;
@@ -3918,18 +3922,18 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3918
3922
  for (var r = 0; r < n.cells.length; r++)
3919
3923
  for (var s = 0; s < n.cells[r].length; s++) {
3920
3924
  var l = n.cells[r][s], d = l.top + n.top, c = l.left + n.left;
3921
- if (c <= t.x && t.x < c + a.Od && d <= t.y && t.y < d + a.cellHeight)
3925
+ if (c <= t.x && t.x < c + a.Pd && d <= t.y && t.y < d + a.cellHeight)
3922
3926
  return { "month": i, "x": r, "y": s, "coords": t };
3923
3927
  }
3924
3928
  return null;
3925
- }, this.Qd = function (e) {
3929
+ }, this.Rd = function (e) {
3926
3930
  if (a.freeHandSelectionEnabled) {
3927
- var t = a.Pd(e);
3931
+ var t = a.Qd(e);
3928
3932
  t && !t.header && (n.start = t), a.months[t.month].cells[t.x][t.y], e.preventDefault();
3929
3933
  }
3930
- }, this.Rd = function (e) {
3934
+ }, this.Sd = function (e) {
3931
3935
  if (n.start) {
3932
- var t = a.Pd(e);
3936
+ var t = a.Qd(e);
3933
3937
  if (n.end)
3934
3938
  n.end = t;
3935
3939
  else if (t) {
@@ -3938,8 +3942,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3938
3942
  }
3939
3943
  n.end && (n.clear(), n.draw());
3940
3944
  }
3941
- }, this.Sd = {};
3942
- var n = this.Sd;
3945
+ }, this.Td = {};
3946
+ var n = this.Td;
3943
3947
  n.start = null, n.drawCell = function (e) {
3944
3948
  var t = a.months[e.month], i = a.wd(e.x, e.y), o = t.top + i.y, s = t.left + i.x, l = "px", d = a.qd();
3945
3949
  if (r.jd()) {
@@ -4094,7 +4098,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
4094
4098
  case "None": break;
4095
4099
  case "PostBack": a.timeRangeSelectedPostBack(t, i, o);
4096
4100
  }
4097
- }, this.timeRangeSelectedPostBack = function (e, t, i, a) { var n = {}; n.start = e, n.end = t, n.day = a, this.R("TimeRangeSelected", i, n); }, this.sd = function (e) { a.Td(a.skipMonths); }, this.rd = function (e) { a.Td(-a.skipMonths); }, this.Td = function (e) { this.startDate = this.startDate.addMonths(e), this.ad(), this.hd(), this.Gd(), this.Bd(), this.Hd(), this.Ad(); }, this.Ed = function () { return a.startDate.firstDayOfMonth(); }, this.Fd = function () { return a.startDate.firstDayOfMonth().addMonths(this.showMonths); }, this.visibleStart = function () { return a.startDate.firstDayOfMonth().firstDayOfWeek(r.weekStarts()); }, this.visibleEnd = function () { return a.startDate.firstDayOfMonth().addMonths(this.showMonths - 1).firstDayOfWeek(r.weekStarts()).addDays(42); }, this.Hd = function () {
4101
+ }, this.timeRangeSelectedPostBack = function (e, t, i, a) { var n = {}; n.start = e, n.end = t, n.day = a, this.R("TimeRangeSelected", i, n); }, this.sd = function (e) { a.Ud(a.skipMonths); }, this.rd = function (e) { a.Ud(-a.skipMonths); }, this.Ud = function (e) { this.startDate = this.startDate.addMonths(e), this.ad(), this.hd(), this.Gd(), this.Bd(), this.Hd(), this.Ad(); }, this.Ed = function () { return a.startDate.firstDayOfMonth(); }, this.Fd = function () { return a.startDate.firstDayOfMonth().addMonths(this.showMonths); }, this.visibleStart = function () { return a.startDate.firstDayOfMonth().firstDayOfWeek(r.weekStarts()); }, this.visibleEnd = function () { return a.startDate.firstDayOfMonth().addMonths(this.showMonths - 1).firstDayOfWeek(r.weekStarts()).addDays(42); }, this.Hd = function () {
4098
4102
  var e = this.visibleStart(), t = this.visibleEnd();
4099
4103
  if (a.sa()) {
4100
4104
  var i = {};
@@ -4126,11 +4130,11 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
4126
4130
  }
4127
4131
  }, this.visibleRangeChangedCallBack = function (e) { var t = {}; this.T("Visible", e, t); }, this.visibleRangeChangedPostBack = function (e) { var t = {}; this.R("Visible", e, t); }, this.V = function (e, t) { var e = JSON.parse(e); a.items = e.Items, a.cells = e.Cells, a.cells ? a.update() : a.Ad(); }, this.Gd = function () {
4128
4132
  for (var e = 0; e < this.showMonths; e++) {
4129
- var t = this.Ud(e);
4133
+ var t = this.Vd(e);
4130
4134
  this.bd(e, t);
4131
4135
  }
4132
- this.root.style.height = this.Vd() + "px", this.nav.preselection = document.createElement("div"), this.nav.preselection.style.position = "absolute", this.nav.preselection.style.left = "0px", this.nav.preselection.style.right = "0px", this.nav.preselection.style.top = "0px", this.root.appendChild(this.nav.preselection);
4133
- }, this.Vd = function () {
4136
+ this.root.style.height = this.Wd() + "px", this.nav.preselection = document.createElement("div"), this.nav.preselection.style.position = "absolute", this.nav.preselection.style.left = "0px", this.nav.preselection.style.right = "0px", this.nav.preselection.style.top = "0px", this.root.appendChild(this.nav.preselection);
4137
+ }, this.Wd = function () {
4134
4138
  if ("Horizontal" === this.orientation) {
4135
4139
  for (var e = 0, t = 0; t < this.months.length; t++) {
4136
4140
  var i = this.months[t];
@@ -4143,7 +4147,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
4143
4147
  a += i.height;
4144
4148
  }
4145
4149
  return a;
4146
- }, this.Ud = function (e) {
4150
+ }, this.Vd = function (e) {
4147
4151
  if (this.internal.showLinks)
4148
4152
  return this.internal.showLinks;
4149
4153
  var t = {};
@@ -4160,7 +4164,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
4160
4164
  var n = e;
4161
4165
  DayPilot.isArray(e) && (n = i.h("div", null, e)), i.render(n, t);
4162
4166
  }
4163
- }, this.Oa.Qa = function (e) { var t = a.Oa.Na; "function" == typeof t.render && t.render(null, e); }, this.internal = {}, this.internal.loadOptions = a.qb, this.internal.initialized = function () { return a.Ia; }, this.internal.vueRendering = function () { return !1; }, this.internal.enableVue = function (e) { a.Oa.Na = e; }, this.internal.vueRef = function () { return a.Oa.Na; }, this.internal.vueRendering = function () { return a.Oa.Pa; }, this.ba = {};
4167
+ }, this.Oa.Qa = function (e) { var t = a.Oa.Na; "function" == typeof t.render && t.render(null, e); }, this.internal = {}, this.internal.loadOptions = a.qb, this.internal.initialized = function () { return a.Ia; }, this.internal.enableVue = function (e) { a.Oa.Na = e; }, this.internal.vueRef = function () { return a.Oa.Na; }, this.internal.vueRendering = function () { return a.Oa.Pa; }, this.ba = {};
4164
4168
  var r = this.ba;
4165
4169
  r.locale = function () { return DayPilot.Locale.find(a.locale); }, r.weekStarts = function () {
4166
4170
  if ("Auto" === a.weekStarts) {
@@ -4171,7 +4175,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
4171
4175
  }, r.cellWidth = function () {
4172
4176
  if (a.vb.cellWidth)
4173
4177
  return a.vb.cellWidth;
4174
- var e = a.Wd("_cell_dimensions").width;
4178
+ var e = a.Xd("_cell_dimensions").width;
4175
4179
  return e || (e = a.cellWidth), a.vb.cellWidth = e, e;
4176
4180
  }, r.jd = function () { return "Auto" === a.ba.cellWidth(); }, this.clearSelection = function () {
4177
4181
  for (var e = 0; e < this.selected.length; e++) {
@@ -4179,19 +4183,19 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
4179
4183
  a.zd(t.parentNode, t.x, t.y);
4180
4184
  }
4181
4185
  this.selected = [];
4182
- }, this.Xd = function () { return !!this.backendUrl && ("undefined" == typeof a.items || !a.items); }, this.events = {}, this.ga = function () {
4186
+ }, this.Yd = function () { return !!this.backendUrl && ("undefined" == typeof a.items || !a.items); }, this.events = {}, this.ga = function () {
4183
4187
  if (DayPilot.isArray(this.events.list)) {
4184
4188
  this.items = {};
4185
4189
  for (var e = 0; e < this.events.list.length; e++) {
4186
4190
  var t = this.events.list[e];
4187
4191
  if (!t.hidden) {
4188
- var i = this.Yd(t);
4192
+ var i = this.Zd(t);
4189
4193
  for (var a in i)
4190
4194
  this.items[a] = 1;
4191
4195
  }
4192
4196
  }
4193
4197
  }
4194
- }, this.Wd = 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.Yd = function (e) {
4198
+ }, this.Xd = 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.Zd = function (e) {
4195
4199
  for (var t = new DayPilot.Date(e.start), i = new DayPilot.Date(e.end), a = {}, n = t.getDatePart(); n.getTime() <= i.getTime();)
4196
4200
  a[n.toStringSortable()] = 1, n = n.addDays(1);
4197
4201
  return a;
@@ -4207,14 +4211,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
4207
4211
  this.root = this.nav.top;
4208
4212
  }, this.init = function () {
4209
4213
  if (this.ub(), !this.root.dp) {
4210
- this.Cd(), this.hd(), this.Gd(), this.ga(), this.Ad(), this._(), this.Zd(), this.nb();
4211
- if (this.Xd() && this.Hd(), this.Ia = !0, this.tb(), this.Dd) {
4214
+ this.Cd(), this.hd(), this.Gd(), this.ga(), this.Ad(), this._(), this.$d(), this.nb();
4215
+ if (this.Yd() && this.Hd(), this.Ia = !0, this.tb(), this.Dd) {
4212
4216
  var e = this.Dd;
4213
4217
  this.select(e.date1, e.date2, e.options), this.Dd = null;
4214
4218
  }
4215
4219
  return this;
4216
4220
  }
4217
- }, this.Zd = function () { a.nav.top.onmousedown = this.Qd, a.nav.top.onmousemove = this.Rd; }, this.nb = function () { DayPilot.re(document, "mouseup", a.$d); }, this.$d = function (e) {
4221
+ }, this.$d = function () { a.nav.top.onmousedown = this.Rd, a.nav.top.onmousemove = this.Sd; }, this.nb = function () { DayPilot.re(document, "mouseup", a._d); }, this._d = function (e) {
4218
4222
  if (n.start && n.end) {
4219
4223
  var t = DayPilot.mo3(a.nav.top, e);
4220
4224
  if (t.x === n.start.coords.x && t.y === n.start.coords.y)