@daypilot/daypilot-lite-angular 4.4.0 → 4.5.0-sandbox.707

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.
@@ -153,7 +153,7 @@ DayPilot Lite
153
153
  Copyright (c) 2005 - 2025 Annpoint s.r.o.
154
154
  https://www.daypilot.org/
155
155
  Licensed under Apache Software License 2.0
156
- Version: 2025.3.703-lite
156
+ Version: 2025.3.707-lite
157
157
  */
158
158
  var DayPilot = {};
159
159
  if ("undefined" == typeof DayPilot)
@@ -709,7 +709,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
709
709
  if (this instanceof t.Calendar && !this.P && (o = !0, this.P = !0), !o)
710
710
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
711
711
  var r = this;
712
- this.uniqueID = null, this.isCalendar = !0, this.v = "2025.3.703-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.Q = !1, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.R(); }, this.R = function () { DayPilot.de(r.elements.selection), r.elements.selection = [], r.nav.activeSelection = null; }, this.cleanSelection = this.clearSelection, this.S = function (e, t, n) { var i = {}; i.action = e, i.parameters = n, i.data = t, i.header = this.T(); var a = "JSON" + DayPilot.JSON.stringify(i); __doPostBack(r.uniqueID, a); }, this.U = function (e, t, n) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { r.loadingStart(); }, 100); var i = {}; i.action = e, i.parameters = n, i.data = t, i.header = this.T(); var a = "JSON" + DayPilot.JSON.stringify(i); this.backendUrl ? DayPilot.request(this.backendUrl, this.V, a, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, a, this.W, 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.Q || (e.Q = !0, clearInterval(e.X), e.Y(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.Z(), e._(), 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.Q; }, this.aa = function () { this.nav.top.dispose = this.dispose; }, this.V = function (e) { r.W(e.responseText); }, this.T = 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.ba = function (e, t) { for (var n = e.parentNode; n && "TD" !== n.tagName;)
712
+ this.uniqueID = null, this.isCalendar = !0, this.v = "2025.3.707-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.Q = !1, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.R(); }, this.R = function () { DayPilot.de(r.elements.selection), r.elements.selection = [], r.nav.activeSelection = null; }, this.cleanSelection = this.clearSelection, this.S = function (e, t, n) { var i = {}; i.action = e, i.parameters = n, i.data = t, i.header = this.T(); var a = "JSON" + DayPilot.JSON.stringify(i); __doPostBack(r.uniqueID, a); }, this.U = function (e, t, n) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { r.loadingStart(); }, 100); var i = {}; i.action = e, i.parameters = n, i.data = t, i.header = this.T(); var a = "JSON" + DayPilot.JSON.stringify(i); this.backendUrl ? DayPilot.request(this.backendUrl, this.V, a, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, a, this.W, 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.Q || (e.Q = !0, clearInterval(e.X), e.Y(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.Z(), e._(), 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.Q; }, this.aa = function () { this.nav.top.dispose = this.dispose; }, this.V = function (e) { r.W(e.responseText); }, this.T = 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.ba = function (e, t) { for (var n = e.parentNode; n && "TD" !== n.tagName;)
713
713
  n = n.parentNode; var i = r.eventBorderRadius; "number" == typeof i && (i += "px"); 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 = r.L("_shadow"); var o = document.createElement("div"); return o.className = r.L("_shadow_inner"), i && (o.style.borderRadius = i, a.style.borderRadius = i), a.appendChild(o), n.firstChild.appendChild(a), a; }, this.ca = {}, this.ca.locale = function () { var e = DayPilot.Locale.find(r.locale); return e ? e : DayPilot.Locale.US; }, this.ca.timeFormat = function () { return "Auto" !== r.timeFormat ? r.timeFormat : this.locale().timeFormat; }, this.ca.da = function () { return "Disabled" !== r.xssProtection; }, this.ca.ea = function () { if ("Auto" === r.weekStarts) {
714
714
  var e = s.locale();
715
715
  return e ? e.weekStarts : 0;
@@ -1355,7 +1355,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1355
1355
  var DayPilot = {};
1356
1356
  if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (DayPilot) {
1357
1357
  "use strict";
1358
- "undefined" == typeof DayPilot.DatePicker && (DayPilot.DatePicker = function (e) { this.v = "2025.3.703-lite"; var t = "navigator_" + (new Date).getTime(), n = 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.ca.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, this.showToday = !0, this.todayText = "Today", this.weekStarts = "Auto", e)
1358
+ "undefined" == typeof DayPilot.DatePicker && (DayPilot.DatePicker = function (e) { this.v = "2025.3.707-lite"; var t = "navigator_" + (new Date).getTime(), n = 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.ca.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, this.showToday = !0, this.todayText = "Today", this.weekStarts = "Auto", e)
1359
1359
  for (var t in e)
1360
1360
  this[t] = e[t]; }, this.init = function () { this.date = new DayPilot.Date(this.date); var e = this.Pb(); this.resetTarget && !e ? this.Qb(this.date) : !this.resetTarget && e && (n.date = e); var t = this.D(); return t && t.addEventListener("input", function () { n.date = n.Pb(), n.date && n.navigator.select(n.date, { dontNotify: !0 }); }), this; }, this.close = function () { document.removeEventListener("mousedown", n.close), document.removeEventListener("wheel", n.close), window.removeEventListener("resize", n.close), n.Eb && (n.Eb = !1, n.navigator && n.navigator.dispose(), n.div.innerHTML = "", n.div && n.div.parentNode === document.body && document.body.removeChild(n.div)); }, this.Rb = function (e) { this.date = new DayPilot.Date(e), this.Qb(this.date); }, this.select = function (e) { var t = {}; t.date = new DayPilot.Date(e), t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onTimeRangeSelect && (n.onTimeRangeSelect(t), t.preventDefault.value) || (this.Rb(e), "function" == typeof n.onTimeRangeSelected && n.onTimeRangeSelected(t)); }, this.Pb = function () { var e = this.D(); if (!e)
1361
1361
  return this.date; var t = null; if (t = "INPUT" === e.tagName ? e.value : e.innerText, !t)
@@ -1392,7 +1392,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1392
1392
  "use strict";
1393
1393
  if ("undefined" == typeof DayPilot.Menu || !DayPilot.Menu.def) {
1394
1394
  var e = function () { }, t = {};
1395
- t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (n) { var i = this, a = null; this.v = "2025.3.703-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.Tb = function () { }, n && DayPilot.isArray(n) && (this.items = n), this.toJSON = function () { return null; }, this.show = function (n, o) { o = o || {}; var r = null; if (n ? "string" == typeof n.id || "number" == typeof n.id ? r = n.id : "function" == typeof n.id ? r = n.id() : "function" == typeof n.value && (r = n.value()) : r = null, "undefined" != typeof DayPilot.Bubble && DayPilot.Bubble.hideActive(), o.submenu || t.menuClean(), this.Tb.submenu = null, null !== t.mouse) {
1395
+ t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (n) { var i = this, a = null; this.v = "2025.3.707-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.Tb = function () { }, n && DayPilot.isArray(n) && (this.items = n), this.toJSON = function () { return null; }, this.show = function (n, o) { o = o || {}; var r = null; if (n ? "string" == typeof n.id || "number" == typeof n.id ? r = n.id : "function" == typeof n.id ? r = n.id() : "function" == typeof n.value && (r = n.value()) : r = null, "undefined" != typeof DayPilot.Bubble && DayPilot.Bubble.hideActive(), o.submenu || t.menuClean(), this.Tb.submenu = null, null !== t.mouse) {
1396
1396
  i.cssOnly || (i.cssOnly = !0);
1397
1397
  var s = null;
1398
1398
  if (n && n.isRow && n.$.row.task ? (s = new DayPilot.Task(n.$.row.task, n.calendar), s.menuType = "resource") : s = n && n.isEvent && n.data.task ? new DayPilot.Task(n, n.calendar) : n, "function" == typeof i.onShow) {
@@ -1915,7 +1915,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1915
1915
  if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
1916
1916
  var e = {}, t = DayPilot.Util.isVueVNode;
1917
1917
  e.Month = function (n, i) {
1918
- this.v = "2025.3.703-lite", this.nav = {};
1918
+ this.v = "2025.3.707-lite", this.nav = {};
1919
1919
  var a = this;
1920
1920
  this.id = n, 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.Q = !1, this.W = 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.Y(), a.ed(), a.ha(), "Full" === e.UpdateType && (a.fd(), a.gd()), a.ma(), a.show(), a.na(), void a.fireAfterRenderDetached(e.CallBackData, !0)); }, this.fireAfterRenderDetached = function (e, t) { var n = function (e, t) { return function () { a.afterRender && a.afterRender(e, t); }; }; window.setTimeout(n(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)
1921
1921
  t = e.data;
@@ -2372,7 +2372,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2372
2372
  } if (e.timeRangeSelecting) {
2373
2373
  if (e.timeRangeSelecting.moved) {
2374
2374
  var d = e.timeRangeSelecting, i = d.root, o = new DayPilot.Date(i.getDateFromCell(d.from.x, d.from.y)), c = o.addDays(d.width);
2375
- i.O(o, c), i.clearShadow();
2375
+ i.O(o, c);
2376
2376
  }
2377
2377
  e.timeRangeSelecting = null;
2378
2378
  } }, DayPilot.Month = e.Month, "undefined" != typeof jQuery && !function (e) { e.fn.daypilotMonth = function (e) { var t = null, n = this.each(function () { if (!this.daypilot) {
@@ -2394,7 +2394,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2394
2394
  if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.def) {
2395
2395
  var e = DayPilot.Util.isVueVNode;
2396
2396
  DayPilot.Navigator = function (t, n) {
2397
- this.v = "2025.3.703-lite";
2397
+ this.v = "2025.3.707-lite";
2398
2398
  var i = this;
2399
2399
  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.showToday = !1, this.showWeekNumbers = !1, this.todayHtml = null, this.todayHeight = 40, this.todayPosition = "Bottom", this.todayText = "Today", 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.onTodayClick = null, this.nav = {}, this.zb = {}, this.nd = function () { this.root.dp = this, this.root.className = this.L("_main"), "Horizontal" === this.orientation ? (r.od() || (this.root.style.width = this.showMonths * (7 * r.cellWidth() + this.pd()) + "px"), this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : r.od() || (this.root.style.width = 7 * r.cellWidth() + this.pd() + "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.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.ta = function () { return 2 === i.api; }, this.fd = function () { this.root.innerHTML = ""; }, this.L = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.qd = function (e, t) { var n = this.L("_" + t); DayPilot.Util.addClass(e, n); }, this.rd = function (e, t) { var n = this.L("_" + t); DayPilot.Util.removeClass(e, n); }, this.sd = function () { if (!r.od())
2400
2400
  return null; var e = 7; return this.showWeekNumbers && e++, 100 / e; }, this.td = function () { return r.od() ? null : r.cellWidth(); }, this.ud = function (e) { return "number" != typeof e && (e = 1), r.od() ? this.sd() * e : this.td() * e; }, this.vd = function (e) { var t = r.od() ? "%" : "px"; return this.ud(e) + t; }, this.gd = function (t, n) {
@@ -2461,8 +2461,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2461
2461
  var I = document.createElement("div");
2462
2462
  a.cells[M][C] = I;
2463
2463
  var R = i.Bd(M, C), L = R.x, B = R.y, z = r.od() ? "%" : "px";
2464
- I.day = k, I.x = M, I.y = C, I.left = L, I.top = B, I.isCurrentMonth = A,
2465
- I.isNextMonth = H, I.isPrevMonth = E, I.showBefore = s, I.showAfter = l, I.className = this.L(A ? "_day" : "_dayother"), i.qd(I, "cell"), k.getTime() === v.getTime() && A && this.qd(I, "today"), 0 !== k.dayOfWeek() && 6 !== k.dayOfWeek() || this.qd(I, "weekend"), I.style.position = "absolute", I.style.left = L + z, I.style.right = L + z, I.style.top = B + "px", I.style.width = i.vd(), I.style.height = this.cellHeight + "px", I.style.lineHeight = this.cellHeight + "px";
2464
+ I.day = k, I.x = M, I.y = C, I.left = L, I.top = B, I.isCurrentMonth = A, I.isNextMonth = H,
2465
+ I.isPrevMonth = E, I.showBefore = s, I.showAfter = l, I.className = this.L(A ? "_day" : "_dayother"), i.qd(I, "cell"), k.getTime() === v.getTime() && A && this.qd(I, "today"), 0 !== k.dayOfWeek() && 6 !== k.dayOfWeek() || this.qd(I, "weekend"), I.style.position = "absolute", I.style.left = L + z, I.style.right = L + z, I.style.top = B + "px", I.style.width = i.vd(), I.style.height = this.cellHeight + "px", I.style.lineHeight = this.cellHeight + "px";
2466
2466
  var U = document.createElement("div");
2467
2467
  U.style.position = "absolute", U.className = k.getTime() === v.getTime() && A ? this.L("_todaybox") : this.L("_daybox"), i.qd(U, "cell_box"), U.style.left = "0px", U.style.top = "0px", U.style.right = "0px", U.style.bottom = "0px", I.appendChild(U);
2468
2468
  var O = null;
@@ -2814,9 +2814,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2814
2814
  if ("undefined" == typeof DayPilot.Scheduler) {
2815
2815
  var t = navigator.userAgent.indexOf("iPad") > -1 || navigator.userAgent.indexOf("iPhone") > -1, n = {}, i = function () { }, a = !1, o = function () { return document.body; }, r = function () { return document.createElement("div"); };
2816
2816
  DayPilot.Scheduler = function (a, s) {
2817
- this.v = "2025.3.703-lite";
2817
+ this.v = "2025.3.707-lite";
2818
2818
  var l = this;
2819
- this.isScheduler = !0, this.id = a, this.beforeCellRenderCaching = !0, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.businessWeekends = !1, this.cellDuration = 60, this.cellGroupBy = "Day", this.cellSweeping = !0, this.cellSweepingCacheSize = 1e3, this.cellWidth = 40, this.cellsMarkBusiness = !0, this.cssClassPrefix = "scheduler_default", this.days = 1, this.durationBarHeight = 3, this.durationBarVisible = !0, this.dynamicEventRendering = "Progressive", this.dynamicEventRenderingMargin = 50, this.dynamicEventRenderingMarginX = null, this.dynamicEventRenderingMarginY = null, this.dynamicEventRenderingCacheSweeping = !1, this.dynamicEventRenderingCacheSize = 200, this.eventBorderRadius = null, this.eventEndSpec = "DateTime", this.eventHeight = 35, this.eventMinWidth = 1, this.eventResizeMargin = 5, this.eventTapAndHoldHandling = "Move", this.eventTextWrappingEnabled = !1, this.eventsLoadMethod = "GET", this.floatingEvents = !t, this.floatingTimeHeaders = !0, this.headerHeight = 30, this.heightSpec = "Max", this.height = 600, this.locale = "en-us", this.progressiveRowRendering = !0, this.progressiveRowRenderingPreload = 25, this.rowHeaderWidth = 80, this.rowMarginTop = 0, this.rowMarginBottom = 0, this.rowsLoadMethod = "GET", this.scale = "CellDuration", this.scrollDelayEvents = 200, this.scrollDelayCells = t ? 100 : 0, this.scrollDelayFloats = 0, this.scrollDelayRows = 0, this.showToolTip = !0, this.snapToGrid = !0, this.startDate = DayPilot.Date.today(), this.tapAndHoldTimeout = 300, this.timeHeaders = [{ "groupBy": "Default" }, { "groupBy": "Cell" }], this.timeHeaderTextWrappingEnabled = !1, this.timeFormat = "Auto", this.useEventBoxes = "Always", this.visible = !0, this.weekStarts = "Auto", this.width = null, this.xssProtection = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.timeHeaderClickHandling = "Enabled", this.timeHeaderRightClickHandling = "Enabled", this.timeRangeClickHandling = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.onEventClick = null, this.onEventClicked = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onRowClick = null, this.onRowClicked = null, this.onTimeHeaderClick = null, this.onTimeHeaderClicked = null, this.onTimeHeaderRightClick = null, this.onTimeHeaderRightClicked = null, this.onTimeRangeClick = null, this.onTimeRangeClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.onBeforeCellRender = null, this.onBeforeEventRender = null, this.onBeforeRowHeaderRender = null, this.onAfterUpdate = null, this.Q = !1, this.he = -1, this.ie = !0, this.rowlist = [], this.events = {}, this.cells = {}, this.elements = {}, this.elements.events = [], this.elements.bars = [], this.elements.text = [], this.elements.cells = [], this.elements.linesVertical = [], this.elements.range = [], this.elements.timeHeader = [], this.zb = {}, this.zb.cells = [], this.zb.linesVertical = {}, this.zb.linesHorizontal = {}, this.zb.timeHeaderGroups = [], this.zb.timeHeader = {}, this.zb.events = [], this.nav = {}, this.scrollTo = function (e) { l.je(e); }, this.je = function (e) { if (e) {
2819
+ this.isScheduler = !0, this.id = a, this.beforeCellRenderCaching = !0, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.businessWeekends = !1, this.cellDuration = 60, this.cellGroupBy = "Day", this.cellSweeping = !0, this.cellSweepingCacheSize = 1e3, this.cellWidth = 40, this.cellsMarkBusiness = !0, this.cssClassPrefix = "scheduler_default", this.days = 1, this.durationBarHeight = 3, this.durationBarVisible = !0, this.dynamicEventRendering = "Progressive", this.dynamicEventRenderingMargin = 50, this.dynamicEventRenderingMarginX = null, this.dynamicEventRenderingMarginY = null, this.dynamicEventRenderingCacheSweeping = !1, this.dynamicEventRenderingCacheSize = 200, this.eventBorderRadius = null, this.eventEndSpec = "DateTime", this.eventHeight = 35, this.eventMinWidth = 1, this.eventResizeMargin = 5, this.eventTapAndHoldHandling = "Move", this.eventTextWrappingEnabled = !1, this.eventsLoadMethod = "GET", this.floatingEvents = !t, this.floatingTimeHeaders = !0, this.headerHeight = 30, this.heightSpec = "Max", this.height = 600, this.locale = "en-us", this.progressiveRowRendering = !0, this.progressiveRowRenderingPreload = 25, this.rowHeaderWidth = 80, this.rowMarginTop = 0, this.rowMarginBottom = 0, this.rowsLoadMethod = "GET", this.scale = "CellDuration", this.scrollDelayEvents = 200, this.scrollDelayCells = t ? 100 : 0, this.scrollDelayFloats = 0, this.scrollDelayRows = 0, this.showToolTip = !0, this.snapToGrid = !0, this.startDate = DayPilot.Date.today(), this.tapAndHoldTimeout = 300, this.timeHeaders = [{ "groupBy": "Default" }, { "groupBy": "Cell" }], this.timeHeaderTextWrappingEnabled = !1, this.timeFormat = "Auto", this.useEventBoxes = "Always", this.visible = !0, this.weekStarts = "Auto", this.width = null, this.xssProtection = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.timeHeaderClickHandling = "Enabled", this.timeHeaderRightClickHandling = "Enabled", this.timeRangeClickHandling = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.onEventClick = null, this.onEventClicked = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onRowClick = null, this.onRowClicked = null, this.onTimeHeaderClick = null, this.onTimeHeaderClicked = null, this.onTimeHeaderRightClick = null, this.onTimeHeaderRightClicked = null, this.onTimeRangeClick = null, this.onTimeRangeClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.onBeforeCellRender = null, this.onBeforeEventRender = null, this.onBeforeRowHeaderRender = null, this.onBeforeTimeHeaderRender = null, this.onAfterUpdate = null, this.Q = !1, this.he = -1, this.ie = !0, this.rowlist = [], this.events = {}, this.cells = {}, this.elements = {}, this.elements.events = [], this.elements.bars = [], this.elements.text = [], this.elements.cells = [], this.elements.linesVertical = [], this.elements.range = [], this.elements.timeHeader = [], this.zb = {}, this.zb.cells = [], this.zb.linesVertical = {}, this.zb.linesHorizontal = {}, this.zb.timeHeaderGroups = [], this.zb.timeHeader = {}, this.zb.events = [], this.nav = {}, this.scrollTo = function (e) { l.je(e); }, this.je = function (e) { if (e) {
2820
2820
  if (!l.Ma)
2821
2821
  return void (l.ke = e);
2822
2822
  var t;
@@ -2896,7 +2896,16 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2896
2896
  break;
2897
2897
  s.left = this.getPixels(s.start).left;
2898
2898
  var d = this.getPixels(s.end).left, c = d - s.left;
2899
- s.width = c, "string" == typeof a ? s.text = s.start.toString(a, f.Ke()) : s.text = this.Le(s, i), c > 0 && o.push(s), r = s.end;
2899
+ if (s.width = c, "string" == typeof a ? s.text = s.start.toString(a, f.Ke()) : s.text = this.Le(s, i), c > 0) {
2900
+ if ("function" == typeof this.onBeforeTimeHeaderRender) {
2901
+ const u = {};
2902
+ u.start = s.start, u.end = s.end, u.text = s.text, u.html = null, u.toolTip = l.ab(s.text), u.backColor = null, u.fontColor = null, u.level = this.timeHeader.length, u.cssClass = null;
2903
+ const h = {};
2904
+ h.header = u, h.control = l, this.onBeforeTimeHeaderRender(h), s.text = u.text, s.html = u.html, s.backColor = u.backColor, s.fontColor = u.fontColor, s.toolTip = u.toolTip, s.areas = u.areas, s.cssClass = u.cssClass;
2905
+ }
2906
+ o.push(s);
2907
+ }
2908
+ r = s.end;
2900
2909
  }
2901
2910
  this.timeHeader.push(o);
2902
2911
  } }, this.getPixels = function (e) { var t = l.startDate.addDays(l.days); e = e.ticks > t.ticks ? t.addTime(-1) : e; var n = e.ticks - this.startDate.ticks, i = l.Cb(n), a = l.cellWidth, o = Math.floor(i / a), r = o * a; return { left: i, boxLeft: r, boxRight: r + a, i: o }; }, this.getDate = function (e, t, n) { var i = this.Me(e, n); if (!i)
@@ -3332,11 +3341,11 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3332
3341
  o.index = n, t.push(o);
3333
3342
  } }, this.Ag = function (e) { var t = {}; return t.row = this.Cg(e), DayPilot.Util.copyProps(e, t.row, ["html", "backColor", "fontColor", "cssClass", "toolTip", "areas"]), "function" == typeof this.onBeforeRowHeaderRender && this.onBeforeRowHeaderRender(t), t; }, this.Kg = function (e, t) { var n = { get $data() { return this.Ce; } }; for (var i in t)
3334
3343
  n[i] = t[i]; for (var i in e)
3335
- n[i] = e[i]; return n.html = l.ab(e.name, e.html), n.Ce = e, n; }, this.Pg = function () { this.nav.top.dp = this, this.nav.top.innerHTML = "", DayPilot.Util.addClass(this.nav.top, this.L("_main")), this.nav.top.setAttribute("role", "region"), this.nav.top.setAttribute("aria-label", "scheduler"), this.nav.top.style.userSelect = "none", this.nav.top.style.webkitUserSelect = "none", this.nav.top.style.WebkitTapHighlightColor = "rgba(0,0,0,0)", this.nav.top.style.WebkitTouchCallout = "none", this.width && (this.nav.top.style.width = this.width), this.nav.top.style.lineHeight = "1.2", this.nav.top.style.position = "relative", this.visible || (this.nav.top.style.display = "none"), this.nav.top.ontouchstart = h.Qg, this.nav.top.ontouchmove = h.Rg, this.nav.top.ontouchend = h.Sg; var e = this.rowHeaderWidth, t = r(); t.style.position = "absolute", t.style.left = "0px", t.style.width = e + "px"; var n = r(); n.style.height = "0px", n.style.boxSizing = "content-box", n.style.borderTop = "1px solid transparent", n.className = this.L("_divider_horizontal"), this.nav.dh1 = n, this.nav.left = t, t.appendChild(this.gb()), t.appendChild(n), t.appendChild(this.Tg()); var i = r(); i.style.position = "absolute", i.style.left = e + "px", i.style.width = "1px", i.style.height = this.Ge() + this.Za() + "px", i.className = this.L("_splitter"), this.nav.divider = i; var a = r(); a.style.marginLeft = e + 1 + "px", a.style.position = "relative", this.nav.right = a; var o = r(); o.style.position = "absolute", o.style.top = this.Ge() + "px", o.style.width = "100%", o.style.height = "1px", o.style.boxSizing = "border-box", o.style.borderBottom = "1px solid transparent", o.setAttribute("data-dh2", "true"), o.className = this.L("_divider_horizontal"), this.nav.dh2 = o, a.appendChild(l.Ug()), a.appendChild(l.Vg()), a.appendChild(o); var s = r(); s.style.clear = "left"; var d = r(); d.style.height = "1px", d.style.position = "absolute", d.style.left = "0px", d.style.right = "0px", d.style.display = "none", d.className = this.L("_divider_horizontal"), this.nav.dividerTop = d; var c = r(); c.style.height = "1px", c.style.position = "absolute", c.style.left = "0px", c.style.right = "0px", c.style.display = "none", c.className = this.L("_divider_horizontal") + " " + this.L("_divider_horizontal_frozen_bottom"), this.nav.dividerBottom = c, this.nav.top.appendChild(t), this.nav.top.appendChild(i), this.nav.top.appendChild(a), this.nav.top.appendChild(s), this.nav.top.appendChild(d), this.nav.top.appendChild(c); }, this.ia = function () { var e = this.Ge(); this.nav.corner && (this.nav.corner.style.height = e + "px"), this.divTimeScroll && (this.divTimeScroll.style.height = e + "px"), this.divNorth && (this.divNorth.style.height = e + "px"), this.nav.dh1 && this.nav.dh2 && (this.nav.dh1.style.top = e + "px", this.nav.dh2.style.top = e + "px"), this.nav.scroll.style.top = e + 1 + "px"; }, this.Wg = function () {
3336
- var e = this.rowHeaderWidth;
3337
- this.nav.corner && (this.nav.corner.style.width = e + "px"), this.divResScroll.style.width = e + "px", this.nav.left.style.width = e + "px",
3338
- this.nav.divider.style.left = e - 1 + "px", this.nav.right.style.marginLeft = e + "px";
3339
- }, this.Xg = function () { var e = this.rowHeaderWidth, t = this.divHeader; t.style.width = e + "px"; for (var n = l.sg(), i = n.start; i < n.end; i++) {
3344
+ n[i] = e[i]; return n.html = l.ab(e.name, e.html), n.Ce = e, n; }, this.Pg = function () { this.nav.top.dp = this, this.nav.top.innerHTML = "", DayPilot.Util.addClass(this.nav.top, this.L("_main")), this.nav.top.setAttribute("role", "region"), this.nav.top.setAttribute("aria-label", "scheduler"), this.nav.top.style.userSelect = "none", this.nav.top.style.webkitUserSelect = "none", this.nav.top.style.WebkitTapHighlightColor = "rgba(0,0,0,0)", this.nav.top.style.WebkitTouchCallout = "none", this.width && (this.nav.top.style.width = this.width), this.nav.top.style.lineHeight = "1.2", this.nav.top.style.position = "relative", this.visible || (this.nav.top.style.display = "none"), this.nav.top.ontouchstart = h.Qg, this.nav.top.ontouchmove = h.Rg, this.nav.top.ontouchend = h.Sg; var e = this.rowHeaderWidth, t = r(); t.style.position = "absolute", t.style.left = "0px", t.style.width = e + "px"; var n = r(); n.style.height = "0px", n.style.boxSizing = "content-box", n.style.borderTop = "1px solid transparent", n.className = this.L("_divider_horizontal"), this.nav.dh1 = n, this.nav.left = t, t.appendChild(this.gb()), t.appendChild(n), t.appendChild(this.Tg()); var i = r(); i.style.position = "absolute", i.style.left = e + "px", i.style.width = "1px", i.style.height = this.Ge() + this.Za() + "px", i.className = this.L("_splitter"), this.nav.divider = i; var a = r(); a.style.marginLeft = e + 1 + "px", a.style.position = "relative", this.nav.right = a; var o = r(); o.style.position = "absolute", o.style.top = this.Ge() + "px", o.style.width = "100%", o.style.height = "1px", o.style.boxSizing = "border-box", o.style.borderBottom = "1px solid transparent", o.setAttribute("data-dh2", "true"), o.className = this.L("_divider_horizontal"), this.nav.dh2 = o, a.appendChild(l.Ug()), a.appendChild(l.Vg()), a.appendChild(o); var s = r(); s.style.clear = "left"; var d = r(); d.style.height = "1px", d.style.position = "absolute", d.style.left = "0px", d.style.right = "0px", d.style.display = "none", d.className = this.L("_divider_horizontal"), this.nav.dividerTop = d; var c = r(); c.style.height = "1px", c.style.position = "absolute", c.style.left = "0px", c.style.right = "0px", c.style.display = "none", c.className = this.L("_divider_horizontal") + " " + this.L("_divider_horizontal_frozen_bottom"), this.nav.dividerBottom = c, this.nav.top.appendChild(t), this.nav.top.appendChild(i), this.nav.top.appendChild(a), this.nav.top.appendChild(s), this.nav.top.appendChild(d), this.nav.top.appendChild(c); }, this.ia = function () {
3345
+ var e = this.Ge();
3346
+ this.nav.corner && (this.nav.corner.style.height = e + "px"),
3347
+ this.divTimeScroll && (this.divTimeScroll.style.height = e + "px"), this.divNorth && (this.divNorth.style.height = e + "px"), this.nav.dh1 && this.nav.dh2 && (this.nav.dh1.style.top = e + "px", this.nav.dh2.style.top = e + "px"), this.nav.scroll.style.top = e + 1 + "px";
3348
+ }, this.Wg = function () { var e = this.rowHeaderWidth; this.nav.corner && (this.nav.corner.style.width = e + "px"), this.divResScroll.style.width = e + "px", this.nav.left.style.width = e + "px", this.nav.divider.style.left = e - 1 + "px", this.nav.right.style.marginLeft = e + "px"; }, this.Xg = function () { var e = this.rowHeaderWidth, t = this.divHeader; t.style.width = e + "px"; for (var n = l.sg(), i = n.start; i < n.end; i++) {
3340
3349
  var a = t.rows[i];
3341
3350
  if (a) {
3342
3351
  var o = l.rowHeaderWidth;
@@ -3575,7 +3584,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3575
3584
  s.current && (i = s.current.end);
3576
3585
  break;
3577
3586
  default: throw n ? new DayPilot.Exception("Invalid scale value: " + t) : new DayPilot.Exception("Invalid groupBy value: " + t);
3578
- } return i.getTime() > a.getTime() && (i = a), i; }, this.Qh = function (e, t) { var n = this.nav.timeHeader, i = this.timeHeader[t][e], a = t < this.timeHeader.length - 1, o = i.left, s = i.width, d = t * l.headerHeight, c = l.headerHeight, u = r(); u.style.position = "absolute", u.style.top = d + "px", u.style.left = o + "px", u.style.width = s + "px", u.style.height = c + "px", i.toolTip && (u.title = i.toolTip), u.setAttribute("aria-hidden", "true"), i.cssClass && DayPilot.Util.addClass(u, i.cssClass), u.style.userSelect = "none", u.style.webkitUserSelect = "none", u.oncontextmenu = function () { return !1; }, u.cell = {}, u.cell.start = i.start, u.cell.end = i.end, u.cell.level = t, u.cell.th = i, u.onclick = this.Dg, u.oncontextmenu = this.Eg, DayPilot.re(u, DayPilot.touch.start, function (e) { e.stopPropagation(); }), u.style.overflow = "hidden", l.timeHeaderTextWrappingEnabled || (u.style.whiteSpace = "nowrap"); var h = r(); h.innerHTML = l.ab(i.text, i.innerHTML), i.backColor && (h.style.background = i.backColor), i.fontColor && (h.style.color = i.fontColor); var f = this.L("_timeheadercol"), v = this.L("_timeheadercol_inner"); a && (f = this.L("_timeheadergroup"), v = this.L("_timeheadergroup_inner")), DayPilot.Util.addClass(u, f), DayPilot.Util.addClass(h, v), DayPilot.Util.addClass(u, l.L("_timeheader_cell")), DayPilot.Util.addClass(h, l.L("_timeheader_cell_inner")), u.appendChild(h), this.zb.timeHeader[e + "_" + t] = u, this.elements.timeHeader.push(u), n.appendChild(u); }, this.dg = function () { l.rowlist.forEach(function (e) { var t = e.getHeight() + l.rowMarginTop + l.rowMarginBottom; e.height !== t && (l.of = !0), e.height = t; }), l.of && (l.zb.drawArea = null); }, this.bf = function () { l.rowlist.forEach(function (e) { var t = l.divHeader; if (t) {
3587
+ } return i.getTime() > a.getTime() && (i = a), i; }, this.Qh = function (e, t) { var n = this.nav.timeHeader, i = this.timeHeader[t][e], a = t < this.timeHeader.length - 1, o = i.left, s = i.width, d = t * l.headerHeight, c = l.headerHeight, u = r(); u.style.position = "absolute", u.style.top = d + "px", u.style.left = o + "px", u.style.width = s + "px", u.style.height = c + "px", i.toolTip && (u.title = i.toolTip), u.setAttribute("aria-hidden", "true"), i.cssClass && DayPilot.Util.addClass(u, i.cssClass), u.style.userSelect = "none", u.style.webkitUserSelect = "none", u.oncontextmenu = function () { return !1; }, u.cell = {}, u.cell.start = i.start, u.cell.end = i.end, u.cell.level = t, u.cell.th = i, u.onclick = this.Dg, u.oncontextmenu = this.Eg, DayPilot.re(u, DayPilot.touch.start, function (e) { e.stopPropagation(); }), u.style.overflow = "hidden", l.timeHeaderTextWrappingEnabled || (u.style.whiteSpace = "nowrap"); var h = r(); h.innerHTML = l.ab(i.text, i.html), i.backColor && (h.style.background = i.backColor), i.fontColor && (h.style.color = i.fontColor); var f = this.L("_timeheadercol"), v = this.L("_timeheadercol_inner"); a && (f = this.L("_timeheadergroup"), v = this.L("_timeheadergroup_inner")), DayPilot.Util.addClass(u, f), DayPilot.Util.addClass(h, v), DayPilot.Util.addClass(u, l.L("_timeheader_cell")), DayPilot.Util.addClass(h, l.L("_timeheader_cell_inner")), u.appendChild(h), DayPilot.Areas.attach(u, i, { areas: i.areas }), this.zb.timeHeader[e + "_" + t] = u, this.elements.timeHeader.push(u), n.appendChild(u); }, this.dg = function () { l.rowlist.forEach(function (e) { var t = e.getHeight() + l.rowMarginTop + l.rowMarginBottom; e.height !== t && (l.of = !0), e.height = t; }), l.of && (l.zb.drawArea = null); }, this.bf = function () { l.rowlist.forEach(function (e) { var t = l.divHeader; if (t) {
3579
3588
  var n = e.index;
3580
3589
  if (t.rows[n]) {
3581
3590
  var i = t.rows[n];
@@ -3723,18 +3732,16 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3723
3732
  f.Od = function () { delete l.zb.headerHeight; }, f.da = function () { return "Disabled" !== l.xssProtection; }, f.Ke = function () { return DayPilot.Locale.find(l.locale); }, f.Rh = function () { return "Auto" !== l.timeFormat ? l.timeFormat : f.Ke().timeFormat; }, f.ea = function () { if ("Auto" === l.weekStarts) {
3724
3733
  var e = f.Ke();
3725
3734
  return e ? e.weekStarts : 0;
3726
- } return l.weekStarts || 0; }, f.zg = function () { var e = navigator.userAgent.toLowerCase(); return e.indexOf("mobile") !== -1 || e.indexOf("android") != -1; }, f.gg = function (e) { return "Always" === l.useEventBoxes || "Never" !== l.useEventBoxes && e < 60 * l.Pe() * 1e3; }, this.hi = function (e, t) {
3727
- var n = e + "_" + t, i = l.rowlist;
3728
- if (this.cellProperties || (this.cellProperties = {}), this.cellProperties[n])
3729
- return this.cellProperties[n];
3730
- if (!this.cellProperties[n]) {
3731
- var a = i[t], o = a.id, r = l.Ne(e), s = r.start, d = r.end, c = {};
3732
- c.start = s, c.end = d, c.resource = o;
3733
- var u = {};
3734
- u.business = l.isBusiness(c), this.cellProperties[n] = u;
3735
- }
3736
- return this.cellProperties[n];
3737
- }, this.isBusiness = function (e, t) { var n = e.start, i = e.end, a = (i.getTime() - n.getTime()) / 6e4; if (a <= 1440 && !(l.businessWeekends || t || 0 !== e.start.dayOfWeek() && 6 !== e.start.dayOfWeek()))
3735
+ } return l.weekStarts || 0; }, f.zg = function () {
3736
+ var e = navigator.userAgent.toLowerCase();
3737
+ return e.indexOf("mobile") !== -1 || e.indexOf("android") != -1;
3738
+ }, f.gg = function (e) { return "Always" === l.useEventBoxes || "Never" !== l.useEventBoxes && e < 60 * l.Pe() * 1e3; }, this.hi = function (e, t) { var n = e + "_" + t, i = l.rowlist; if (this.cellProperties || (this.cellProperties = {}), this.cellProperties[n])
3739
+ return this.cellProperties[n]; if (!this.cellProperties[n]) {
3740
+ var a = i[t], o = a.id, r = l.Ne(e), s = r.start, d = r.end, c = {};
3741
+ c.start = s, c.end = d, c.resource = o;
3742
+ var u = {};
3743
+ u.business = l.isBusiness(c), this.cellProperties[n] = u;
3744
+ } return this.cellProperties[n]; }, this.isBusiness = function (e, t) { var n = e.start, i = e.end, a = (i.getTime() - n.getTime()) / 6e4; if (a <= 1440 && !(l.businessWeekends || t || 0 !== e.start.dayOfWeek() && 6 !== e.start.dayOfWeek()))
3738
3745
  return !1; if (a < 720) {
3739
3746
  var o = n.getHours();
3740
3747
  o += n.getMinutes() / 60, o += n.getSeconds() / 3600, o += n.getMilliseconds() / 36e5;