@daypilot/daypilot-lite-angular 4.2.0-sandbox.684 → 4.2.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.
@@ -144,7 +144,7 @@ DayPilot Lite
144
144
  Copyright (c) 2005 - 2025 Annpoint s.r.o.
145
145
  https://www.daypilot.org/
146
146
  Licensed under Apache Software License 2.0
147
- Version: 2025.3.684-lite
147
+ Version: 2025.3.686-lite
148
148
  */
149
149
  var DayPilot = {};
150
150
  if ("undefined" == typeof DayPilot)
@@ -679,7 +679,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
679
679
  if (this instanceof t.Calendar && !this.P && (o = !0, this.P = !0), !o)
680
680
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
681
681
  var r = this;
682
- this.uniqueID = null, this.isCalendar = !0, this.v = "2025.3.684-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;)
682
+ this.uniqueID = null, this.isCalendar = !0, this.v = "2025.3.686-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;)
683
683
  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) {
684
684
  var e = s.locale();
685
685
  return e ? e.weekStarts : 0;
@@ -1319,7 +1319,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1319
1319
  var DayPilot = {};
1320
1320
  if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (DayPilot) {
1321
1321
  "use strict";
1322
- "undefined" == typeof DayPilot.DatePicker && (DayPilot.DatePicker = function (e) { this.v = "2025.3.684-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, e)
1322
+ "undefined" == typeof DayPilot.DatePicker && (DayPilot.DatePicker = function (e) { this.v = "2025.3.686-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, e)
1323
1323
  for (var t in e)
1324
1324
  this[t] = e[t]; }, this.init = function () { this.date = new DayPilot.Date(this.date); var e = this.Nb(); this.resetTarget && !e ? this.Ob(this.date) : !this.resetTarget && e && (n.date = e); var t = this.D(); return t && t.addEventListener("input", function () { n.date = n.Nb(), 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.Cb && (n.Cb = !1, n.navigator && n.navigator.dispose(), n.div.innerHTML = "", n.div && n.div.parentNode === document.body && document.body.removeChild(n.div)); }, this.Pb = function (e) { this.date = new DayPilot.Date(e), this.Ob(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.Pb(e), "function" == typeof n.onTimeRangeSelected && n.onTimeRangeSelected(t)); }, this.Nb = function () { var e = this.D(); if (!e)
1325
1325
  return this.date; var t = null; if (t = "INPUT" === e.tagName ? e.value : e.innerText, !t)
@@ -1353,7 +1353,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1353
1353
  "use strict";
1354
1354
  if ("undefined" == typeof DayPilot.Menu || !DayPilot.Menu.def) {
1355
1355
  var e = function () { }, t = {};
1356
- 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.684-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.Rb = 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.Rb.submenu = null, null !== t.mouse) {
1356
+ 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.686-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.Rb = 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.Rb.submenu = null, null !== t.mouse) {
1357
1357
  i.cssOnly || (i.cssOnly = !0);
1358
1358
  var s = null;
1359
1359
  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) {
@@ -1866,7 +1866,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1866
1866
  if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
1867
1867
  var e = {}, t = DayPilot.Util.isVueVNode;
1868
1868
  e.Month = function (n, i) {
1869
- this.v = "2025.3.684-lite", this.nav = {};
1869
+ this.v = "2025.3.686-lite", this.nav = {};
1870
1870
  var a = this;
1871
1871
  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.cd(), a.ha(), "Full" === e.UpdateType && (a.dd(), a.ed()), 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)
1872
1872
  t = e.data;
@@ -2346,7 +2346,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2346
2346
  if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.def) {
2347
2347
  var e = DayPilot.Util.isVueVNode;
2348
2348
  DayPilot.Navigator = function (t, n) {
2349
- this.v = "2025.3.684-lite";
2349
+ this.v = "2025.3.686-lite";
2350
2350
  var i = this;
2351
2351
  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.xb = {}, this.ld = function () { this.root.dp = this, this.root.className = this.L("_main"), "Horizontal" === this.orientation ? (r.md() || (this.root.style.width = this.showMonths * (7 * r.cellWidth() + this.nd()) + "px"), this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : r.md() || (this.root.style.width = 7 * r.cellWidth() + this.nd() + "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.dd = function () { this.root.innerHTML = ""; }, this.L = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.od = function (e, t) { var n = this.L("_" + t); DayPilot.Util.addClass(e, n); }, this.pd = function (e, t) { var n = this.L("_" + t); DayPilot.Util.removeClass(e, n); }, this.qd = function () { if (!r.md())
2352
2352
  return null; var e = 7; return this.showWeekNumbers && e++, 100 / e; }, this.rd = function () { return r.md() ? null : r.cellWidth(); }, this.sd = function (e) { return "number" != typeof e && (e = 1), r.md() ? this.qd() * e : this.rd() * e; }, this.td = function (e) { var t = r.md() ? "%" : "px"; return this.sd(e) + t; }, this.ed = function (t, n) { var a = {}; a.cells = [], a.days = [], a.weeks = []; var o = this.startDate.addMonths(t), s = n.before, l = n.after, d = o.firstDayOfMonth(), c = d.firstDayOfWeek(r.weekStarts()), u = d.addMonths(1), h = DayPilot.DateUtil.daysDiff(c, u), f = "Auto" === this.rowsPerMonth ? Math.ceil(h / 7) : 6; a.rowCount = f; var v = (new DayPilot.Date).getDatePart(), p = 7 * r.cellWidth() + this.nd(); a.width = p; var m = this.cellHeight * f + this.titleHeight + this.dayHeaderHeight; a.height = m; var g = document.createElement("div"); if (r.md() ? "Horizontal" === this.orientation && (g.style.width = 100 / i.showMonths + "%") : g.style.width = p + "px", g.style.height = m + "px", "Horizontal" === this.orientation)
@@ -2743,7 +2743,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2743
2743
  if ("undefined" == typeof DayPilot.Scheduler) {
2744
2744
  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"); };
2745
2745
  DayPilot.Scheduler = function (a, s) {
2746
- this.v = "2025.3.684-lite";
2746
+ this.v = "2025.3.686-lite";
2747
2747
  var l = this;
2748
2748
  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.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.fe = -1, this.ge = !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.xb = {}, this.xb.cells = [], this.xb.linesVertical = {}, this.xb.linesHorizontal = {}, this.xb.timeHeaderGroups = [], this.xb.timeHeader = {}, this.xb.events = [], this.nav = {}, this.scrollTo = function (e) { l.he(e); }, this.he = function (e) { if (e) {
2749
2749
  if (!l.Ka)
@@ -2998,16 +2998,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2998
2998
  } }), t; }, this.Qf = function (e, t) { return DayPilot.Util.isSameEvent(e, t); }, this.events.update = function (e, t, n) { if ("object" == typeof e && !(e instanceof DayPilot.Event)) {
2999
2999
  var i = l.events.find(e.id);
3000
3000
  return l.events.remove(i), void l.events.add(e);
3001
- } var a = {}; if (a.oldEvent = new DayPilot.Event(e.copy(), l), a.newEvent = new DayPilot.Event(e.temp(), l), n = n || {}, l.events.list.find(function (t) { return l.Qf(t, e.data); })) {
3001
+ } if (n = n || {}, l.events.list.find(function (t) { return l.Qf(t, e.data); })) {
3002
3002
  l.Be.Vf && (l.Be.skip = !0);
3003
- var o = l.events.Of(e.data);
3004
- e.commit(), o = o.concat(l.events.Sf(e.data)), l.events.Wf(o);
3003
+ var a = l.events.Of(e.data);
3004
+ e.commit(), a = a.concat(l.events.Sf(e.data)), l.events.Wf(a);
3005
3005
  } }, this.events.remove = function (e) { if (e) {
3006
3006
  if ("string" == typeof e || "number" == typeof e) {
3007
3007
  var t = l.events.find(e);
3008
3008
  return void l.events.remove(t);
3009
3009
  }
3010
- ({}).e = new DayPilot.Event(e.data, l);
3011
3010
  var n = l.Xf(e.data);
3012
3011
  n && l.events.list.splice(n.index, 1), l.Be.Vf && (l.Be.skip = !0);
3013
3012
  var i = l.events.Of(e.data);
@@ -3022,7 +3021,6 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3022
3021
  a || l.events.list.push(e.data);
3023
3022
  } if (l.Ka) {
3024
3023
  l.Be.Vf && (l.Be.skip = !0);
3025
- ({}).e = e;
3026
3024
  var o = l.events.Sf(e.data);
3027
3025
  l.events.Wf(o);
3028
3026
  } }, this.events.Yf = function (e) { var t = e instanceof DayPilot.Event ? e.data : e, n = new DayPilot.Date(t.start), i = new DayPilot.Date(t.end); return !!l.events.list.find(function (e) { if (l.Qf(t, e))
@@ -3277,13 +3275,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3277
3275
  } }; if (!l.$g) {
3278
3276
  var n = new ResizeObserver(DayPilot.debounce(t, 100));
3279
3277
  n.observe(l.nav.top), l.$g = n;
3280
- } }, this.ah = function () { l.Q || (l.ma(), l.bh(), l.xb.drawArea = null); }, this.bh = function () { var e = l.zf; l.clearSelection(), l.zf = e, l.Af(e, { "justDraw": !0 }); }, this.Sg = function () {
3281
- var e = r();
3282
- e.style.overflow = "hidden", e.style.display = "block", e.style.position = "absolute", e.style.top = "0px", e.style.width = "100%", e.style.height = this.Ee() + "px", e.style.overflow = "hidden", e.className = l.L("_timeheader_scroll"), this.divTimeScroll = e;
3283
- var t = r();
3284
- return t.style.width = this.Ce() + 5e3 + "px", this.divNorth = t,
3285
- e.appendChild(t), e;
3286
- }, this.Xa = function () { var e = 0, t = l.heightSpec; return "Fixed" === t ? this.height ? this.height : 0 : (e = l.Yg(), "Max" === t && e > l.height ? l.height : e); }, this.Yg = function () { var e; return this.fe !== -1 ? (e = this.fe, this.fe > 0 && "auto" === l.nav.scroll.style.overflowX && (e += DayPilot.sh(l.nav.scroll) + 1)) : e = this.rowlist.length * l.eventHeight, e; }, this.Tg = function () { var e = r(); e.style.overflow = "auto", e.style.overflowX = "auto", e.style.overflowY = "auto", e.style.height = this.Xa() + "px", e.style.top = this.Ee() + 1 + "px", e.style.position = "absolute", e.style.width = "100%", e.className = this.L("_scrollable"), e.oncontextmenu = function () { return !1; }, this.nav.scroll = e, this.je = r(); var t = this.je; t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.calendar = this, t.style.position = "absolute"; var n = this.Ce(); return n > 0 && (t.style.width = n + "px"), t.onmousedown = this.ch, t.onmousemove = this.dh, t.onmouseup = this.eh, t.oncontextmenu = this.fh, t.className = this.L("_matrix"), this.divStretch = r(), this.divStretch.style.position = "absolute", this.divStretch.style.height = "1px", t.appendChild(this.divStretch), this.divCells = r(), this.divCells.style.position = "absolute", this.divCells.oncontextmenu = this.fh, t.appendChild(this.divCells), this.divLines = r(), this.divLines.style.position = "absolute", this.divLines.oncontextmenu = this.fh, t.appendChild(this.divLines), this.divSeparators = r(), this.divSeparators.style.position = "absolute", this.divSeparators.oncontextmenu = this.fh, t.appendChild(this.divSeparators), this.divRange = r(), this.divRange.style.position = "absolute", this.divRange.oncontextmenu = this.fh, t.appendChild(this.divRange), this.divEvents = r(), this.divEvents.style.position = "absolute", t.appendChild(this.divEvents), this.divShadow = r(), this.divShadow.style.position = "absolute", t.appendChild(this.divShadow), e.appendChild(t), e; }, this.pb = function () { n.gh || (n.gh = !0, DayPilot.re(document, "mouseup", n.ee), DayPilot.re(document, "touchmove", n.hh), DayPilot.re(document, "touchend", n.ih)); }, this.jh = function () { this.nav.scroll.root = this, this.nav.scroll.onscroll = this.ff, l.kh = this.nav.scroll.scrollLeft, l.lh = this.nav.scroll.scrollTop, this.divNorth && (l.mh = this.divNorth.clientWidth); }, this.nh = {}, this.nh.step = 300, this.nh.delay = 10, this.nh.mode = "display", this.nh.layers = !1, this.Hg = function (e) { for (var t = 0, n = 0; n < e.lines.length; n++) {
3278
+ } }, this.ah = function () { l.Q || (l.ma(), l.bh(), l.xb.drawArea = null); }, this.bh = function () { var e = l.zf; l.clearSelection(), l.zf = e, l.Af(e, { "justDraw": !0 }); }, this.Sg = function () { var e = r(); e.style.overflow = "hidden", e.style.display = "block", e.style.position = "absolute", e.style.top = "0px", e.style.width = "100%", e.style.height = this.Ee() + "px", e.style.overflow = "hidden", e.className = l.L("_timeheader_scroll"), this.divTimeScroll = e; var t = r(); return t.style.width = this.Ce() + 5e3 + "px", this.divNorth = t, e.appendChild(t), e; }, this.Xa = function () {
3279
+ var e = 0, t = l.heightSpec;
3280
+ return "Fixed" === t ? this.height ? this.height : 0 : (e = l.Yg(), "Max" === t && e > l.height ? l.height : e);
3281
+ }, this.Yg = function () { var e; return this.fe !== -1 ? (e = this.fe, this.fe > 0 && "auto" === l.nav.scroll.style.overflowX && (e += DayPilot.sh(l.nav.scroll) + 1)) : e = this.rowlist.length * l.eventHeight, e; }, this.Tg = function () { var e = r(); e.style.overflow = "auto", e.style.overflowX = "auto", e.style.overflowY = "auto", e.style.height = this.Xa() + "px", e.style.top = this.Ee() + 1 + "px", e.style.position = "absolute", e.style.width = "100%", e.className = this.L("_scrollable"), e.oncontextmenu = function () { return !1; }, this.nav.scroll = e, this.je = r(); var t = this.je; t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.calendar = this, t.style.position = "absolute"; var n = this.Ce(); return n > 0 && (t.style.width = n + "px"), t.onmousedown = this.ch, t.onmousemove = this.dh, t.onmouseup = this.eh, t.oncontextmenu = this.fh, t.className = this.L("_matrix"), this.divStretch = r(), this.divStretch.style.position = "absolute", this.divStretch.style.height = "1px", t.appendChild(this.divStretch), this.divCells = r(), this.divCells.style.position = "absolute", this.divCells.oncontextmenu = this.fh, t.appendChild(this.divCells), this.divLines = r(), this.divLines.style.position = "absolute", this.divLines.oncontextmenu = this.fh, t.appendChild(this.divLines), this.divSeparators = r(), this.divSeparators.style.position = "absolute", this.divSeparators.oncontextmenu = this.fh, t.appendChild(this.divSeparators), this.divRange = r(), this.divRange.style.position = "absolute", this.divRange.oncontextmenu = this.fh, t.appendChild(this.divRange), this.divEvents = r(), this.divEvents.style.position = "absolute", t.appendChild(this.divEvents), this.divShadow = r(), this.divShadow.style.position = "absolute", t.appendChild(this.divShadow), e.appendChild(t), e; }, this.pb = function () { n.gh || (n.gh = !0, DayPilot.re(document, "mouseup", n.ee), DayPilot.re(document, "touchmove", n.hh), DayPilot.re(document, "touchend", n.ih)); }, this.jh = function () { this.nav.scroll.root = this, this.nav.scroll.onscroll = this.ff, l.kh = this.nav.scroll.scrollLeft, l.lh = this.nav.scroll.scrollTop, this.divNorth && (l.mh = this.divNorth.clientWidth); }, this.nh = {}, this.nh.step = 300, this.nh.delay = 10, this.nh.mode = "display", this.nh.layers = !1, this.Hg = function (e) { for (var t = 0, n = 0; n < e.lines.length; n++) {
3287
3282
  for (var i = e.lines[n], a = 0; a < i.length; a++) {
3288
3283
  var o = i[a];
3289
3284
  o.part.line = n, o.part.top = t + l.rowMarginTop, o.part.right = o.part.left + o.part.width;
@@ -3682,25 +3677,26 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3682
3677
  if (this.nav.top.dp === l)
3683
3678
  return l;
3684
3679
  throw new DayPilot.Exception("The target placeholder was already initialized by another DayPilot component instance.");
3685
- } return this.li(), this._g(), this; }, this.li = function () { this.Ng(), this.pb(), this.aa(), this.jh(), this.qb(); var angular = l.Be.enabled; l.scrollToDate ? l.scrollTo(l.scrollToDate) : l.scrollX || l.scrollY ? l.setScroll(l.scrollX, l.scrollY) : angular || l.ff(), l.scrollToResourceId && (l.scrollToResource(l.scrollToResourceId), l.scrollToResourceId = null); var e = function () { l.scrollY && l.setScroll(l.scrollX, l.scrollY); }; setTimeout(e, 200), this.df(), this.vb(), this.Ka = !0; var t = l.ie; t ? l.scrollTo(t) : l.ff(); }, this.ub = null, this.sb = function (e) {
3686
- if (e) {
3687
- var t = { "resources": { "preInit": function () { var e = this.data; e && (l.resources = e); } }, "events": { "preInit": function () { var e = this.data; e && (DayPilot.isArray(e.list) ? l.events.list = e.list : l.events.list = e); }, "postInit": function () { } }, "scrollTo": { "preInit": function () { }, "postInit": function () { this.data && l.he(this.data); } }, "scrollX": { "postInit": function () { this.data && l.ke(this.data); } }, "scrollY": { "postInit": function () { this.data && l.De(this.data); } } };
3688
- l.ub = t, l.Be.scrollToRequested && (t.scrollTo.data = l.Be.scrollToRequested, l.Be.scrollToRequested = null), l.Be.scrollXRequested && (t.scrollX.data = l.Be.scrollXRequested, l.Be.scrollXRequested = null), l.Be.scrollYRequested && (t.scrollY.data = l.Be.scrollYRequested, l.Be.scrollYRequested = null);
3689
- for (var n in e)
3690
- t[n] || (l[n] = e[n]);
3691
- for (var n in e)
3692
- if (t[n]) {
3693
- var i = t[n];
3694
- i.data = e[n], i.preInit && i.preInit();
3695
- }
3696
- }
3697
- }, this.vb = function () { var e = l.ub; for (var t in e) {
3680
+ } return this.li(), this._g(), this; }, this.li = function () { this.Ng(), this.pb(), this.aa(), this.jh(), this.qb(); var angular = l.Be.enabled; l.scrollToDate ? l.scrollTo(l.scrollToDate) : l.scrollX || l.scrollY ? l.setScroll(l.scrollX, l.scrollY) : angular || l.ff(), l.scrollToResourceId && (l.scrollToResource(l.scrollToResourceId), l.scrollToResourceId = null); var e = function () { l.scrollY && l.setScroll(l.scrollX, l.scrollY); }; setTimeout(e, 200), this.df(), this.vb(), this.Ka = !0; var t = l.ie; t ? l.scrollTo(t) : l.ff(); }, this.ub = null, this.sb = function (e) { if (e) {
3681
+ var t = { "resources": { "preInit": function () { var e = this.data; e && (l.resources = e); } }, "events": { "preInit": function () { var e = this.data; e && (DayPilot.isArray(e.list) ? l.events.list = e.list : l.events.list = e); }, "postInit": function () { } }, "scrollTo": { "preInit": function () { }, "postInit": function () { this.data && l.he(this.data); } }, "scrollX": { "postInit": function () { this.data && l.ke(this.data); } }, "scrollY": { "postInit": function () { this.data && l.De(this.data); } } };
3682
+ l.ub = t, l.Be.scrollToRequested && (t.scrollTo.data = l.Be.scrollToRequested, l.Be.scrollToRequested = null), l.Be.scrollXRequested && (t.scrollX.data = l.Be.scrollXRequested, l.Be.scrollXRequested = null), l.Be.scrollYRequested && (t.scrollY.data = l.Be.scrollYRequested, l.Be.scrollYRequested = null);
3683
+ for (var n in e)
3684
+ t[n] || (l[n] = e[n]);
3685
+ for (var n in e)
3686
+ if (t[n]) {
3687
+ var i = t[n];
3688
+ i.data = e[n], i.preInit && i.preInit();
3689
+ }
3690
+ } }, this.vb = function () { var e = l.ub; for (var t in e) {
3698
3691
  var n = e[t];
3699
3692
  n.postInit && n.postInit();
3700
- } l.ub = {}; }, this.Qa = {}, this.Qa.Pa = null, this.Qa.Mb = function (e, t, n) { var i = l.Qa.Pa; if ("function" == typeof i.createVNode && "function" == typeof i.render) {
3701
- var a = i.createVNode(e, n);
3702
- i.render(a, t);
3703
- } }, this.Qa.Ua = function (e, t) { var n = l.Qa.Pa; if ("function" == typeof n.render) {
3693
+ } l.ub = {}; }, this.Qa = {}, this.Qa.Pa = null, this.Qa.Mb = function (e, t, n) {
3694
+ var i = l.Qa.Pa;
3695
+ if ("function" == typeof i.createVNode && "function" == typeof i.render) {
3696
+ var a = i.createVNode(e, n);
3697
+ i.render(a, t);
3698
+ }
3699
+ }, this.Qa.Ua = function (e, t) { var n = l.Qa.Pa; if ("function" == typeof n.render) {
3704
3700
  var i = e;
3705
3701
  DayPilot.isArray(e) && (i = n.h("div", null, e)), n.render(i, t);
3706
3702
  } }, this.Qa.Sa = function (e) { var t = l.Qa.Pa; "function" == typeof t.render && t.render(null, e); }, this.internal = {}, this.internal.adjustEndIn = l.rf, this.internal.adjustEndNormalize = l.sf, this.internal.xssTextHtml = l.$a, this.internal.touch = l.Hh, this.internal.skipUpdate = l.Be.skipUpdate, this.internal.skipped = l.Be.skipped, this.internal.loadOptions = l.sb, this.internal.postInit = l.vb, this.internal.enableAngular2 = function () { l.Be.enabled = !0; }, this.internal.eventsFromAttr = function () { l.Be.Vf = !0; }, this.internal.resourcesFromAttr = function () { l.Be.cg = !0; }, this.internal.evImmediateRefresh = function () { l.events.vf(); }, this.internal.enableReact = function (e, t) { l.jd.react = e, l.jd.reactDOM = t; }, this.internal.reactRefs = function () { return DayPilot.Util.copyProps(l.jd, {}, ["react", "reactDOM"]); }, this.internal.enableVue = function (e) { l.Qa.Pa = e; }, this.internal.vueRef = function () { return l.Qa.Pa; }, this.internal.vueRendering = function () { return l.Qa.Ra; }, this.sb(s);