@daypilot/daypilot-lite-angular 3.0.0-sandbox.338 → 3.0.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.
@@ -100,7 +100,7 @@ DayPilot Lite
100
100
  Copyright (c) 2005 - 2021 Annpoint s.r.o.
101
101
  http://www.daypilot.org/
102
102
  Licensed under Apache Software License 2.0
103
- Version: 2021.4.338-lite
103
+ Version: 2021.4.341-lite
104
104
  */
105
105
  if ("undefined" == typeof DayPilot)
106
106
  var DayPilot = {};
@@ -631,7 +631,7 @@ if ("undefined" == typeof DayPilot)
631
631
  if (this instanceof t.Calendar && !this.d && (n = !0, this.d = !0), !n)
632
632
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
633
633
  var s = this;
634
- this.uniqueID = null, this.v = "2021.4.338-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.f = !0, this.days = 1, this.durationBarVisible = !0, this.eventHeaderHeight = 14, this.eventHeaderVisible = !0, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.loadingLabelBackColor = "ff0000", this.loadingLabelFontColor = "#ffffff", this.loadingLabelFontFamily = "Tahoma, Arial, Helvetica, sans-serif", this.loadingLabelFontSize = "10pt", 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.timeRangeSelectedHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", 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.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.g(); }, this.g = function () { DayPilot.de(s.elements.selection), s.elements.selection = [], s.nav.activeSelection = null; }, this.h = navigator && navigator.userAgent && navigator.userAgent.indexOf("MSIE") !== -1, this.i = navigator && navigator.userAgent && navigator.userAgent.indexOf("Firefox") !== -1, this.j = function () {
634
+ this.uniqueID = null, this.v = "2021.4.341-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.f = !0, this.days = 1, this.durationBarVisible = !0, this.eventHeaderHeight = 14, this.eventHeaderVisible = !0, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.loadingLabelBackColor = "ff0000", this.loadingLabelFontColor = "#ffffff", this.loadingLabelFontFamily = "Tahoma, Arial, Helvetica, sans-serif", this.loadingLabelFontSize = "10pt", 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.timeRangeSelectedHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", 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.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.g(); }, this.g = function () { DayPilot.de(s.elements.selection), s.elements.selection = [], s.nav.activeSelection = null; }, this.h = navigator && navigator.userAgent && navigator.userAgent.indexOf("MSIE") !== -1, this.i = navigator && navigator.userAgent && navigator.userAgent.indexOf("Firefox") !== -1, this.j = function () {
635
635
  if (/Opera[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
636
636
  return new Number(RegExp.$1) >= 10.5;
637
637
  }
@@ -1444,7 +1444,7 @@ if ("undefined" == typeof DayPilot)
1444
1444
  var DayPilot = {};
1445
1445
  !function () {
1446
1446
  "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (t) {
1447
- this.v = "2021.4.338-lite";
1447
+ this.v = "2021.4.341-lite";
1448
1448
  var e = "navigator_" + (new Date).getTime(), i = this;
1449
1449
  this.prepare = function () {
1450
1450
  if (this.locale = "en-us", this.target = null, this.resetTarget = !0, this.pattern = this.a.locale().datePattern, this.cssClassPrefix = "navigator_default", this.theme = null, this.patterns = [], t)
@@ -1470,7 +1470,7 @@ if ("undefined" == typeof DayPilot)
1470
1470
  var a = t.toString(i.pattern, i.locale);
1471
1471
  "INPUT" === e.tagName ? e.value = a : e.innerHTML = a;
1472
1472
  }
1473
- }, this.a = {}, this.a.locale = function () { return DayPilot.Locale.find(i.locale); }, this.e = function () { var t = this.target; return t && t.nodeType && 1 === t.nodeType ? t : document.getElementById(t); }, this.show = function () { var t = this.e(), a = this.navigator, a = new DayPilot.Navigator(e); a.api = 2, a.f = !0, a.theme = i.theme || i.cssClassPrefix, a.weekStarts = "Auto", a.locale = i.locale, a.timeRangeSelectedHandling = "JavaScript", a.onTimeRangeSelected = function (t) { i.date = t.start; var e = t.start, a = e.toString(i.pattern, i.locale), t = {}; t.start = e, t.date = e, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof i.onTimeRangeSelect && (i.onTimeRangeSelect(t), t.preventDefault.value) || (i.c(a), i.close(), "function" == typeof i.onTimeRangeSelected && i.onTimeRangeSelected(t)); }, this.navigator = a; var n = DayPilot.abs(t), o = t.offsetHeight, r = document.createElement("div"); r.style.position = "absolute", r.style.left = n.x + "px", r.style.top = n.y + o + "px"; var s = document.createElement("div"); s.id = e, r.appendChild(s), DayPilot.re(r, "mousedown", function (t) { var t = t || window.event; t.cancelBubble = !0, t.stopPropagation && t.stopPropagation(); }), document.body.appendChild(r), this.div = r; var l = i.b() || (new DayPilot.Date).getDatePart(); a.startDate = l, a.selectionDay = l, a.init(), this.d = !0; }, this.prepare();
1473
+ }, this.a = {}, this.a.locale = function () { return DayPilot.Locale.find(i.locale); }, this.e = function () { var t = this.target; return t && t.nodeType && 1 === t.nodeType ? t : document.getElementById(t); }, this.show = function () { var t = this.e(), a = this.navigator, a = new DayPilot.Navigator(e); a.api = 2, a.theme = i.theme || i.cssClassPrefix, a.weekStarts = "Auto", a.locale = i.locale, a.timeRangeSelectedHandling = "JavaScript", a.onTimeRangeSelected = function (t) { i.date = t.start; var e = t.start, a = e.toString(i.pattern, i.locale), t = {}; t.start = e, t.date = e, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof i.onTimeRangeSelect && (i.onTimeRangeSelect(t), t.preventDefault.value) || (i.c(a), i.close(), "function" == typeof i.onTimeRangeSelected && i.onTimeRangeSelected(t)); }, this.navigator = a; var n = DayPilot.abs(t), o = t.offsetHeight, r = document.createElement("div"); r.style.position = "absolute", r.style.left = n.x + "px", r.style.top = n.y + o + "px"; var s = document.createElement("div"); s.id = e, r.appendChild(s), DayPilot.re(r, "mousedown", function (t) { var t = t || window.event; t.cancelBubble = !0, t.stopPropagation && t.stopPropagation(); }), document.body.appendChild(r), this.div = r; var l = i.b() || (new DayPilot.Date).getDatePart(); a.startDate = l, a.selectionDay = l, a.init(), this.d = !0; }, this.prepare();
1474
1474
  });
1475
1475
  }();
1476
1476
  "undefined" == typeof DayPilot && (DayPilot = {}), function (DayPilot) {
@@ -2125,7 +2125,7 @@ if ("undefined" == typeof DayPilot)
2125
2125
  if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
2126
2126
  var t = {};
2127
2127
  t.Month = function (e, i) {
2128
- this.v = "2021.4.338-lite", this.nav = {};
2128
+ this.v = "2021.4.341-lite", this.nav = {};
2129
2129
  var n = this;
2130
2130
  this.id = e, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, this.cssClassPrefix = "month_default", this.eventHeight = 30, this.eventsLoadMethod = "GET", this.a = !0, 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.afterRender = function () { }, this.eventClickHandling = "Enabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.timeRangeSelectedHandling = "Enabled", this.onEventClick = null, this.onEventClicked = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.cellEvents = [], this.elements = {}, this.elements.events = [], this.cache = {}, this.b = function (t, e) { var t = JSON.parse(t); return t.CallBackRedirect ? void (document.location.href = t.CallBackRedirect) : "None" === t.UpdateType ? void n.fireAfterRenderDetached(t.CallBackData, !0) : (n.events.list = t.Events, "Full" === t.UpdateType && (n.startDate = t.StartDate, n.timeFormat = t.TimeFormat ? t.TimeFormat : n.timeFormat, "undefined" != typeof t.WeekStarts && (n.weekStarts = t.WeekStarts), n.hashes = t.Hashes), n.c(), n.d(), n.f(), "Full" === t.UpdateType && (n.g(), n.h()), n.i(), n.show(), n.j(), void n.fireAfterRenderDetached(t.CallBackData, !0)); }, this.fireAfterRenderDetached = function (t, e) { var i = function (t, e) { return function () { n.afterRender && n.afterRender(t, e); }; }; window.setTimeout(i(t, e), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (t) { t.calendar = n, n.events.list || (n.events.list = []), n.events.list.push(t.data), n.update(), n.k.notify(); }, this.events.update = function (t) { t.commit(), n.update(), n.k.notify(); }, this.events.remove = function (t) { var e = DayPilot.indexOf(n.events.list, t.data); n.events.list.splice(e, 1), n.update(), n.k.notify(); }, this.events.load = function (t, e, i) {
2131
2131
  var s = function (t) { var e = {}; e.exception = t.exception, e.request = t.request, "function" == typeof i && i(e); }, a = function (t) {
@@ -2608,9 +2608,9 @@ if ("undefined" == typeof DayPilot)
2608
2608
  "undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function () {
2609
2609
  if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.nav) {
2610
2610
  DayPilot.Navigator = function (t, e) {
2611
- this.v = "2021.4.338-lite";
2611
+ this.v = "2021.4.341-lite";
2612
2612
  var i = this;
2613
- 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.cssOnly = !0, 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.a = {}, this.b = function () { this.root.dp = this, this.cssOnly ? this.root.className = this.c("_main") : this.root.className = this.c("main"), "Horizontal" === this.orientation ? (this.root.style.width = this.showMonths * (7 * a.cellWidth() + this.d()) + "px", this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : this.root.style.width = 7 * a.cellWidth() + this.d() + "px", this.rtl && (this.root.style.direction = "rtl"), this.root.style.position = "relative", this.visible || (this.root.style.display = "none"); var t = document.createElement("input"); t.type = "hidden", t.name = i.id + "_state", t.id = t.name, this.root.appendChild(t), this.state = t, 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.e = function () { return 2 === i.api; }, this.f = function () { this.root.innerHTML = ""; }, this.c = function (t) { var e = this.theme || this.cssClassPrefix; return e ? e + t : ""; }, this.g = function (t, e) { var i = this.cssOnly ? this.c("_" + e) : this.c(e); DayPilot.Util.addClass(t, i); }, this.h = function (t, e) { var i = this.cssOnly ? this.c("_" + e) : this.c(e); DayPilot.Util.removeClass(t, i); }, this.i = function (t, e) {
2613
+ 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.a = {}, this.b = function () { this.root.dp = this, this.root.className = this.c("_main"), "Horizontal" === this.orientation ? (this.root.style.width = this.showMonths * (7 * a.cellWidth() + this.d()) + "px", this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : this.root.style.width = 7 * a.cellWidth() + this.d() + "px", this.rtl && (this.root.style.direction = "rtl"), this.root.style.position = "relative", this.visible || (this.root.style.display = "none"); var t = document.createElement("input"); t.type = "hidden", t.name = i.id + "_state", t.id = t.name, this.root.appendChild(t), this.state = t, 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.e = function () { return 2 === i.api; }, this.f = function () { this.root.innerHTML = ""; }, this.c = function (t) { var e = this.theme || this.cssClassPrefix; return e ? e + t : ""; }, this.g = function (t, e) { var i = this.c("_" + e); DayPilot.Util.addClass(t, i); }, this.h = function (t, e) { var i = this.c("_" + e); DayPilot.Util.removeClass(t, i); }, this.i = function (t, e) {
2614
2614
  var s = {};
2615
2615
  s.cells = [], s.days = [], s.weeks = [];
2616
2616
  var n = this.startDate.addMonths(t), l = e.before, o = e.after, h = n.firstDayOfMonth(), r = h.firstDayOfWeek(a.weekStarts()), c = h.addMonths(1), d = DayPilot.DateUtil.daysDiff(r, c), u = "Auto" === this.rowsPerMonth ? Math.ceil(d / 7) : 6;
@@ -2624,16 +2624,16 @@ if ("undefined" == typeof DayPilot)
2624
2624
  v.style.position = "absolute", v.style.left = y * t + "px", v.style.top = "0px", s.top = 0, s.left = y * t;
2625
2625
  else {
2626
2626
  v.style.position = "relative";
2627
- var m = t > 0 ? i.months[t - 1].top + i.months[t - 1].height : 0;
2628
- s.top = m, s.left = 0;
2627
+ var g = t > 0 ? i.months[t - 1].top + i.months[t - 1].height : 0;
2628
+ s.top = g, s.left = 0;
2629
2629
  }
2630
- this.cssOnly ? v.className = this.c("_month") : v.className = this.c("month"), v.style.cursor = "default", v.style.MozUserSelect = "none", v.style.KhtmlUserSelect = "none", v.style.WebkitUserSelect = "none", v.month = s, this.root.appendChild(v);
2631
- var g = this.titleHeight + this.dayHeaderHeight, b = document.createElement("div");
2632
- b.style.position = "absolute", b.style.left = "0px", b.style.right = "0px", b.style.top = "0px", b.style.width = a.cellWidth() + "px", b.style.height = this.titleHeight + "px", b.style.lineHeight = this.titleHeight + "px", b.setAttribute("unselectable", "on"), this.cssOnly ? b.className = this.c("_titleleft") : b.className = this.c("titleleft"), e.left && (b.style.cursor = "pointer", b.innerHTML = "<span>&lt;</span>", b.onclick = this.j), v.appendChild(b), this.tl = b;
2630
+ v.className = this.c("_month"), v.style.cursor = "default", v.style.MozUserSelect = "none", v.style.KhtmlUserSelect = "none", v.style.WebkitUserSelect = "none", v.month = s, this.root.appendChild(v);
2631
+ var m = this.titleHeight + this.dayHeaderHeight, b = document.createElement("div");
2632
+ b.style.position = "absolute", b.style.left = "0px", b.style.right = "0px", b.style.top = "0px", b.style.width = a.cellWidth() + "px", b.style.height = this.titleHeight + "px", b.style.lineHeight = this.titleHeight + "px", b.setAttribute("unselectable", "on"), b.className = this.c("_titleleft"), e.left && (b.style.cursor = "pointer", b.innerHTML = "<span>&lt;</span>", b.onclick = this.j), v.appendChild(b), this.tl = b;
2633
2633
  var D = document.createElement("div");
2634
- D.style.position = "absolute", D.style.left = a.cellWidth() + "px", D.style.top = "0px", D.style.width = 5 * a.cellWidth() + this.d() + "px", D.style.height = this.titleHeight + "px", D.style.lineHeight = this.titleHeight + "px", D.setAttribute("unselectable", "on"), this.cssOnly ? D.className = this.c("_title") : D.className = this.c("title"), D.innerHTML = a.locale().monthNames[n.getMonth()] + " " + n.getYear(), v.appendChild(D), this.ti = D;
2634
+ D.style.position = "absolute", D.style.left = a.cellWidth() + "px", D.style.top = "0px", D.style.width = 5 * a.cellWidth() + this.d() + "px", D.style.height = this.titleHeight + "px", D.style.lineHeight = this.titleHeight + "px", D.setAttribute("unselectable", "on"), D.className = this.c("_title"), D.innerHTML = a.locale().monthNames[n.getMonth()] + " " + n.getYear(), v.appendChild(D), this.ti = D;
2635
2635
  var x = document.createElement("div");
2636
- x.style.position = "absolute", x.style.left = 6 * a.cellWidth() + this.d() + "px", x.style.right = 6 * a.cellWidth() + this.d() + "px", x.style.top = "0px", x.style.width = a.cellWidth() + "px", x.style.height = this.titleHeight + "px", x.style.lineHeight = this.titleHeight + "px", x.setAttribute("unselectable", "on"), this.cssOnly ? x.className = this.c("_titleright") : x.className = this.c("titleright"), e.right && (x.style.cursor = "pointer", x.innerHTML = "<span>&gt;</span>", x.onclick = this.k), v.appendChild(x), this.tr = x;
2636
+ x.style.position = "absolute", x.style.left = 6 * a.cellWidth() + this.d() + "px", x.style.right = 6 * a.cellWidth() + this.d() + "px", x.style.top = "0px", x.style.width = a.cellWidth() + "px", x.style.height = this.titleHeight + "px", x.style.lineHeight = this.titleHeight + "px", x.setAttribute("unselectable", "on"), x.className = this.c("_titleright"), e.right && (x.style.cursor = "pointer", x.innerHTML = "<span>&gt;</span>", x.onclick = this.k), v.appendChild(x), this.tr = x;
2637
2637
  var w = this.d();
2638
2638
  if (this.showWeekNumbers)
2639
2639
  for (var k = 0; k < u; k++) {
@@ -2651,42 +2651,42 @@ if ("undefined" == typeof DayPilot)
2651
2651
  default: throw "Unknown weekNumberAlgorithm value.";
2652
2652
  }
2653
2653
  var H = document.createElement("div");
2654
- H.style.position = "absolute", H.style.left = "0px", H.style.right = "0px", H.style.top = k * this.cellHeight + g + "px", H.style.width = a.cellWidth() + "px", H.style.height = this.cellHeight + "px", H.style.lineHeight = this.cellHeight + "px", H.setAttribute("unselectable", "on"), this.cssOnly ? H.className = this.c("_weeknumber") : H.className = this.c("weeknumber"), H.innerHTML = "<span>" + C + "</span>", v.appendChild(H), s.weeks.push(H);
2654
+ H.style.position = "absolute", H.style.left = "0px", H.style.right = "0px", H.style.top = k * this.cellHeight + m + "px", H.style.width = a.cellWidth() + "px", H.style.height = this.cellHeight + "px", H.style.lineHeight = this.cellHeight + "px", H.setAttribute("unselectable", "on"), H.className = this.c("_weeknumber"), H.innerHTML = "<span>" + C + "</span>", v.appendChild(H), s.weeks.push(H);
2655
2655
  }
2656
- for (var P = 0; P < 7; P++) {
2657
- s.cells[P] = [];
2656
+ for (var M = 0; M < 7; M++) {
2657
+ s.cells[M] = [];
2658
2658
  var H = document.createElement("div");
2659
- H.style.position = "absolute", H.style.left = P * a.cellWidth() + w + "px", H.style.right = P * a.cellWidth() + w + "px", H.style.top = this.titleHeight + "px", H.style.width = a.cellWidth() + "px", H.style.height = this.dayHeaderHeight + "px", H.style.lineHeight = this.dayHeaderHeight + "px", H.setAttribute("unselectable", "on"), this.cssOnly ? H.className = this.c("_dayheader") : H.className = this.c("dayheader"), H.innerHTML = "<span>" + this.l(P) + "</span>", v.appendChild(H), s.days.push(H);
2659
+ H.style.position = "absolute", H.style.left = M * a.cellWidth() + w + "px", H.style.right = M * a.cellWidth() + w + "px", H.style.top = this.titleHeight + "px", H.style.width = a.cellWidth() + "px", H.style.height = this.dayHeaderHeight + "px", H.style.lineHeight = this.dayHeaderHeight + "px", H.setAttribute("unselectable", "on"), H.className = this.c("_dayheader"), H.innerHTML = "<span>" + this.l(M) + "</span>", v.appendChild(H), s.days.push(H);
2660
2660
  for (var k = 0; k < u; k++) {
2661
- var S = r.addDays(7 * k + P), M = this.m(S) && "none" !== this.n(), N = S.firstDayOfMonth() === n, O = S < n, E = S >= n.addMonths(1);
2661
+ var S = r.addDays(7 * k + M), P = this.m(S) && "none" !== this.n(), N = S.firstDayOfMonth() === n, E = S < n, W = S >= n.addMonths(1);
2662
2662
  if ("month" === this.n())
2663
- M = M && N;
2663
+ P = P && N;
2664
2664
  else if ("day" === this.n())
2665
- M = M && (N || l && O || o && E);
2665
+ P = P && (N || l && E || o && W);
2666
2666
  else if ("week" === this.n()) {
2667
- var W = S.firstDayOfMonth() === n;
2668
- M = M && (W || l && O || o && E);
2667
+ var O = S.firstDayOfMonth() === n;
2668
+ P = P && (O || l && E || o && W);
2669
2669
  }
2670
- var T = document.createElement("div");
2671
- s.cells[P][k] = T;
2672
- var R = i.o(P, k), A = R.x, B = R.y;
2673
- T.day = S, T.x = P, T.y = k, T.left = A, T.top = B, T.isCurrentMonth = N, T.isNextMonth = E, T.isPrevMonth = O, T.showBefore = l, T.showAfter = o, this.cssOnly ? T.className = this.c(N ? "_day" : "_dayother") : T.className = this.c(N ? "day" : "dayother"), i.g(T, "cell"), S.getTime() === f.getTime() && N && this.g(T, "today"), 0 !== S.dayOfWeek() && 6 !== S.dayOfWeek() || this.g(T, "weekend"), T.style.position = "absolute", T.style.left = A + "px", T.style.right = A + "px", T.style.top = B + "px", T.style.width = a.cellWidth() + "px", T.style.height = this.cellHeight + "px", T.style.lineHeight = this.cellHeight + "px";
2670
+ var R = document.createElement("div");
2671
+ s.cells[M][k] = R;
2672
+ var T = i.o(M, k), A = T.x, B = T.y;
2673
+ R.day = S, R.x = M, R.y = k, R.left = A, R.top = B, R.isCurrentMonth = N, R.isNextMonth = W, R.isPrevMonth = E, R.showBefore = l, R.showAfter = o, R.className = this.c(N ? "_day" : "_dayother"), i.g(R, "cell"), S.getTime() === f.getTime() && N && this.g(R, "today"), 0 !== S.dayOfWeek() && 6 !== S.dayOfWeek() || this.g(R, "weekend"), R.style.position = "absolute", R.style.left = A + "px", R.style.right = A + "px", R.style.top = B + "px", R.style.width = a.cellWidth() + "px", R.style.height = this.cellHeight + "px", R.style.lineHeight = this.cellHeight + "px";
2674
2674
  var _ = document.createElement("div");
2675
- _.style.position = "absolute", this.cssOnly ? _.className = S.getTime() === f.getTime() && N ? this.c("_todaybox") : this.c("_daybox") : _.className = S.getTime() === f.getTime() && N ? this.c("todaybox") : this.c("daybox"), i.g(_, "cell_box"), _.style.left = "0px", _.style.top = "0px", _.style.right = "0px", _.style.bottom = "0px", T.appendChild(_);
2675
+ _.style.position = "absolute", _.className = S.getTime() === f.getTime() && N ? this.c("_todaybox") : this.c("_daybox"), i.g(_, "cell_box"), _.style.left = "0px", _.style.top = "0px", _.style.right = "0px", _.style.bottom = "0px", R.appendChild(_);
2676
2676
  var U = null;
2677
2677
  if (this.cells && this.cells[S.toStringSortable()] && (U = this.cells[S.toStringSortable()]), "function" == typeof i.onBeforeCellRender) {
2678
2678
  var I = {};
2679
2679
  I.cell = U || {}, I.cell.day = S, I.cell.isCurrentMonth = N, I.cell.isToday = S.getTime() === f.getTime() && N, I.cell.isWeekend = 0 === S.dayOfWeek() || 6 === S.dayOfWeek(), U ? (I.cell.html = U.html || S.getDay(), I.cell.cssClass = U.css) : (I.cell.html = S.getDay(), I.cell.cssClass = null), i.onBeforeCellRender(I), U = I.cell;
2680
2680
  }
2681
- if (U && DayPilot.Util.addClass(T, U.cssClass || U.css), N || l && O || o && E) {
2681
+ if (U && DayPilot.Util.addClass(R, U.cssClass || U.css), N || l && E || o && W) {
2682
2682
  var L = document.createElement("div");
2683
- L.innerHTML = S.getDay(), L.style.position = "absolute", L.style.left = "0px", L.style.top = "0px", L.style.right = "0px", L.style.bottom = "0px", i.g(L, "cell_text"), T.isClickable = !0, U && U.html && (L.innerHTML = U.html), T.appendChild(L);
2683
+ L.innerHTML = S.getDay(), L.style.position = "absolute", L.style.left = "0px", L.style.top = "0px", L.style.right = "0px", L.style.bottom = "0px", i.g(L, "cell_text"), R.isClickable = !0, U && U.html && (L.innerHTML = U.html), R.appendChild(L);
2684
2684
  }
2685
- T.setAttribute("unselectable", "on"), T.onclick = this.p, v.appendChild(T), M && (i.q(v, P, k), this.selected.push(T));
2685
+ R.setAttribute("unselectable", "on"), R.onclick = this.p, v.appendChild(R), P && (i.q(v, M, k), this.selected.push(R));
2686
2686
  }
2687
2687
  }
2688
2688
  var V = document.createElement("div");
2689
- V.style.position = "absolute", V.style.left = "0px", V.style.top = g - 2 + "px", V.style.width = 7 * a.cellWidth() + this.d() + "px", V.style.height = "1px", V.style.fontSize = "1px", V.style.lineHeight = "1px", this.cssOnly ? V.className = this.c("_line") : V.className = this.c("line"), v.appendChild(V), this.months.push(s);
2689
+ V.style.position = "absolute", V.style.left = "0px", V.style.top = m - 2 + "px", V.style.width = 7 * a.cellWidth() + this.d() + "px", V.style.height = "1px", V.style.fontSize = "1px", V.style.lineHeight = "1px", V.className = this.c("_line"), v.appendChild(V), this.months.push(s);
2690
2690
  }, this.o = function (t, e) { var i = this.titleHeight + this.dayHeaderHeight, s = this.d(); return { "x": t * a.cellWidth() + s, "y": e * this.cellHeight + i }; }, this.q = function (t, e, s) { var n = t.month.cells[e][s]; i.g(n, "select"); }, this.r = function (t, e, s) { var n = t.month.cells[e][s]; i.h(n, "select"); }, this.d = function () { return this.showWeekNumbers ? a.cellWidth() : 0; }, this.s = function () {
2691
2691
  if (this.items)
2692
2692
  for (var t = 0; t < this.showMonths; t++)
@@ -2733,7 +2733,7 @@ if ("undefined" == typeof DayPilot)
2733
2733
  if (i.F)
2734
2734
  throw new DayPilot.Exception("You are trying to update a DayPilot.Navigator instance that has been disposed.");
2735
2735
  i.G(), i.H(t), i.I();
2736
- }, this.I = function () { i.cssOnly || (i.cssOnly = !0), this.f(), this.b(), this.u(), this.C(), this.J(), this.s(), this.t(), this.visible ? this.show() : this.hide(); }, this.G = function () { i.a = {}; }, this.K = null, this.H = function (t) {
2736
+ }, this.I = function () { this.f(), this.b(), this.u(), this.C(), this.J(), this.s(), this.t(), this.visible ? this.show() : this.hide(); }, this.G = function () { i.a = {}; }, this.K = null, this.H = function (t) {
2737
2737
  if (t) {
2738
2738
  var e = { "events": { "preInit": function () { var t = this.data; t && (DayPilot.isArray(t.list) ? i.events.list = t.list : i.events.list = t); } } };
2739
2739
  this.K = e;
@@ -3049,7 +3049,7 @@ if ("undefined" == typeof DayPilot)
3049
3049
  this.root = this.nav.top;
3050
3050
  }, this.init = function () {
3051
3051
  if (this.ea(), !this.root.dp) {
3052
- i.cssOnly || (i.cssOnly = !0, DayPilot.Util.log("DayPilot: cssOnly = false mode is not supported since DayPilot Pro 8.0.")), this.u(), this.b(), this.C(), this.J(), this.s(), this.fa(), this.ga(), this.ha();
3052
+ this.u(), this.b(), this.C(), this.J(), this.s(), this.fa(), this.ga(), this.ha();
3053
3053
  return this.ca() && this.E(), this.z = !0, this.L(), this.w && (this.select(this.w.date, this.w.options), this.w = null), this;
3054
3054
  }
3055
3055
  }, this.ga = function () { i.nav.top.onmousedown = this.V, i.nav.top.onmousemove = this.W; }, this.ha = function () { DayPilot.re(document, "mouseup", i.ia); }, this.ia = function (t) {