@daypilot/daypilot-lite-angular 4.0.1 → 4.0.2
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.
- package/esm2020/lib/core/daypilot-core.mjs +88 -89
- package/fesm2015/daypilot-daypilot-lite-angular.mjs +44 -49
- package/fesm2015/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/fesm2020/daypilot-daypilot-lite-angular.mjs +87 -88
- package/fesm2020/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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.2.
|
|
147
|
+
Version: 2025.2.674-lite
|
|
148
148
|
*/
|
|
149
149
|
var DayPilot = {};
|
|
150
150
|
if ("undefined" == typeof DayPilot)
|
|
@@ -210,7 +210,7 @@ if (function () {
|
|
|
210
210
|
return n; return -1; }, DayPilot.contains = function (e, t) { if (2 !== arguments.length)
|
|
211
211
|
throw new DayPilot.Exception("DayPilot.contains() requires two arguments."); return !!e && (e === t && !DayPilot.isArray(e) || DayPilot.indexOf(e, t) !== -1); }, DayPilot.ac = function (e, t) { if (!t)
|
|
212
212
|
var t = []; for (var n = 0; e.children && n < e.children.length; n++)
|
|
213
|
-
t.push(e.children[n]), DayPilot.ac(e.children[n], t); return t; }, DayPilot.rfa = function (e, t) { var n = DayPilot.indexOf(e, t); n !== -1 && e.splice(n, 1); }, DayPilot.mc = function (e) { return e.pageX || e.pageY ? { x: e.pageX, y: e.pageY } : { x: e.clientX + document.documentElement.scrollLeft, y: e.clientY + document.documentElement.scrollTop }; }, DayPilot.Stats = {}, DayPilot.Stats.eventObjects = 0, DayPilot.Stats.dateObjects = 0, DayPilot.Stats.cacheHitsCtor = 0, DayPilot.Stats.cacheHitsParsing = 0, DayPilot.Stats.cacheHitsTicks = 0, DayPilot.re = function (e, t, n) { n && t && e && e.addEventListener(t, n, !1); }, DayPilot.rePassive = function (e, t, n) { n && t && e && e.addEventListener(t, n, { "passive": !0 }); }, DayPilot.reNonPassive = function (e, t, n) { n && t && e && e.addEventListener(t, n, { "passive": !1 }); }, DayPilot.pu = function (e) { var t, n, i, a = e.attributes; if (a)
|
|
213
|
+
t.push(e.children[n]), DayPilot.ac(e.children[n], t); return t; }, DayPilot.rfa = function (e, t) { var n = DayPilot.indexOf(e, t); n !== -1 && e.splice(n, 1); }, DayPilot.mc = function (e) { return e.pageX || e.pageY ? { x: e.pageX, y: e.pageY } : { x: e.clientX + document.documentElement.scrollLeft, y: e.clientY + document.documentElement.scrollTop }; }, DayPilot.Stats = {}, DayPilot.Stats.eventObjects = 0, DayPilot.Stats.dateObjects = 0, DayPilot.Stats.cacheHitsCtor = 0, DayPilot.Stats.cacheHitsParsing = 0, DayPilot.Stats.cacheHitsTicks = 0, DayPilot.re = function (e, t, n) { n && t && e && e.addEventListener(t, n, !1); }, DayPilot.rePassive = function (e, t, n) { n && t && e && e.addEventListener(t, n, { "passive": !0 }); }, DayPilot.reNonPassive = function (e, t, n) { n && t && e && e.addEventListener(t, n, { "passive": !1 }); }, DayPilot.ue = function (e, t, n) { e.removeEventListener(t, n, !1); }, DayPilot.pu = function (e) { var t, n, i, a = e.attributes; if (a)
|
|
214
214
|
for (n = a.length, t = 0; t < n; t += 1)
|
|
215
215
|
a[t] && (i = a[t].name, "function" == typeof e[i] && (e[i] = null)); if (a = e.childNodes)
|
|
216
216
|
for (n = a.length, t = 0; t < n; t += 1) {
|
|
@@ -262,7 +262,7 @@ if (function () {
|
|
|
262
262
|
t.middle = !0;
|
|
263
263
|
break;
|
|
264
264
|
case 2: t.right = !0;
|
|
265
|
-
} return t; }, DayPilot.Util.replaceCharAt = function (e, t, n) { return e.substr(0, t) + n + e.substr(t + n.length); }, DayPilot.Util.isNullOrUndefined = function (e) { return null === e || "undefined" == typeof e; }, DayPilot.Util.escapeHtml = function (e) { var t = document.createElement("div"); return t.innerText = e, t.innerHTML; }, DayPilot.Util.escapeTextHtml = function (e, t) { return DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : DayPilot.Util.escapeHtml(e) : t; }, DayPilot.Util.isSameEvent = function (e, t) { return !(!e || !t) && (e = e instanceof DayPilot.Event ? e.data : e, t = t instanceof DayPilot.Event ? t.data : t, e === t || !DayPilot.Util.isNullOrUndefined(e.id) && e.id === t.id); }, DayPilot.Util.overlaps = function (e, t, n, i) { return !(t <= n || e >= i); }, DayPilot.Util.isVueVNode = function (e) { return !!e && (DayPilot.isArray(e) ? DayPilot.Util.isVueVNode(e[0]) : e["__v_isVNode"]); }, DayPilot.Areas = {}, DayPilot.Areas.attach = function (e, t, n) { var n = n || {}, a = n.areas, o = n.allowed || function () { return !0; }, r = n.offsetX || 0; a = i(t, a), a && DayPilot.isArray(a) && 0 !== a.length && (DayPilot.re(e, "mousemove", function (i) { e.active || e.areasDisabled || !o() || DayPilot.Areas.showAreas(e, t, i, a, { "offsetX": r, "eventDiv": n.eventDiv }); }), DayPilot.re(e, "mouseleave", function (t) { DayPilot.Areas.hideAreas(e, t); }), a.forEach(function (i) { if (DayPilot.Areas.isVisible(i)) {
|
|
265
|
+
} return t; }, DayPilot.Util.replaceCharAt = function (e, t, n) { return e.substr(0, t) + n + e.substr(t + n.length); }, DayPilot.Util.isNullOrUndefined = function (e) { return null === e || "undefined" == typeof e; }, DayPilot.Util.escapeHtml = function (e) { var t = document.createElement("div"); return t.innerText = e, t.innerHTML; }, DayPilot.Util.escapeTextHtml = function (e, t) { return DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : DayPilot.Util.escapeHtml(e) : t; }, DayPilot.Util.isSameEvent = function (e, t) { return !(!e || !t) && (e = e instanceof DayPilot.Event ? e.data : e, t = t instanceof DayPilot.Event ? t.data : t, e === t || !DayPilot.Util.isNullOrUndefined(e.id) && e.id === t.id); }, DayPilot.Util.overlaps = function (e, t, n, i) { return !(t <= n || e >= i); }, DayPilot.Util.isVueVNode = function (e) { return !!e && (DayPilot.isArray(e) ? DayPilot.Util.isVueVNode(e[0]) : e["__v_isVNode"]); }, DayPilot.Util.isMouseEvent = function (e) { return !!e && ("mouse" === e.pointerType || e instanceof MouseEvent); }, DayPilot.Areas = {}, DayPilot.Areas.attach = function (e, t, n) { var n = n || {}, a = n.areas, o = n.allowed || function () { return !0; }, r = n.offsetX || 0; a = i(t, a), a && DayPilot.isArray(a) && 0 !== a.length && (DayPilot.re(e, "mousemove", function (i) { e.active || e.areasDisabled || !o() || DayPilot.Areas.showAreas(e, t, i, a, { "offsetX": r, "eventDiv": n.eventDiv }); }), DayPilot.re(e, "mouseleave", function (t) { DayPilot.Areas.hideAreas(e, t); }), a.forEach(function (i) { if (DayPilot.Areas.isVisible(i)) {
|
|
266
266
|
var a = DayPilot.Areas.createArea(e, t, i, { "offsetX": r, "eventDiv": n.eventDiv });
|
|
267
267
|
e.appendChild(a);
|
|
268
268
|
} })); }, DayPilot.Areas.disable = function (e) { e.areasDisabled = !0, Array.from(e.childNodes).filter(function (e) { return e.isActiveArea && !e.area.start; }).forEach(function (e) { e.c = e.style.display, e.style.display = "none"; }); }, DayPilot.Areas.enable = function (e) { e.areasDisabled = !1, Array.from(e.childNodes).filter(function (e) { return e.isActiveArea && !e.area.start; }).forEach(function (e) { e.c ? e.style.display = e.c : e.style.display = ""; }); }, DayPilot.Areas.remove = function (e) { var t = Array.from(e.childNodes).filter(function (e) { return e.isActiveArea; }); DayPilot.de(t); }, DayPilot.Areas.isVisible = function (e) { var t = e.visibility || e.v || "Visible"; return "Visible" === t || "TouchVisible" === t && !DayPilot.browser.hover; }, DayPilot.Areas.copy = function (e) { return DayPilot.isArray(e) ? e.map(function (e) { return DayPilot.Util.copyProps(e, {}); }) : []; };
|
|
@@ -363,14 +363,16 @@ if (function () {
|
|
|
363
363
|
DayPilot.reNonPassive(d, DayPilot.touch.start, y), DayPilot.reNonPassive(d, DayPilot.touch.end, b);
|
|
364
364
|
}
|
|
365
365
|
if ("Bubble" === n.action && t.isEvent && t.calendar.internal.touch) {
|
|
366
|
-
var y = function (e, t, n) {
|
|
367
|
-
o(t, n, e);
|
|
368
|
-
t.calendar.internal.touch.preventEventTap = !0, "function" == typeof n.onClicked && n.onClicked(i);
|
|
369
|
-
} }; }(l, t, n), b = function (e, t, n) {
|
|
366
|
+
var y = function (e, t, n) {
|
|
370
367
|
return function (e) {
|
|
371
368
|
e.cancelBubble = !0, e.preventDefault();
|
|
369
|
+
var i = a(n, t, e);
|
|
370
|
+
if (!i.preventDefault.value) {
|
|
371
|
+
o(t, n, e);
|
|
372
|
+
t.calendar.internal.touch.preventEventTap = !0, "function" == typeof n.onClicked && n.onClicked(i);
|
|
373
|
+
}
|
|
372
374
|
};
|
|
373
|
-
}(l, t, n);
|
|
375
|
+
}(l, t, n), b = function (e, t, n) { return function (e) { e.cancelBubble = !0, e.preventDefault(); }; }(l, t, n);
|
|
374
376
|
DayPilot.reNonPassive(d, DayPilot.touch.start, y), DayPilot.reNonPassive(d, DayPilot.touch.end, b);
|
|
375
377
|
}
|
|
376
378
|
if ("Move" === n.action && t.isEvent && t.calendar.internal.touch) {
|
|
@@ -491,9 +493,9 @@ if (function () {
|
|
|
491
493
|
if (a[t])
|
|
492
494
|
return DayPilot.Stats.cacheHitsCtor += 1, a[t];
|
|
493
495
|
var o = !1;
|
|
494
|
-
if ("string" == typeof t)
|
|
496
|
+
if ("string" == typeof t || t instanceof String)
|
|
495
497
|
i = DayPilot.DateUtil.fromStringSortable(t, n).getTime(), o = !0;
|
|
496
|
-
else if ("number" == typeof t) {
|
|
498
|
+
else if ("number" == typeof t || t instanceof Number) {
|
|
497
499
|
if (isNaN(t))
|
|
498
500
|
throw "Cannot create DayPilot.Date from NaN";
|
|
499
501
|
i = t;
|
|
@@ -504,9 +506,7 @@ if (function () {
|
|
|
504
506
|
i = n ? DayPilot.DateUtil.fromLocal(t).getTime() : t.getTime();
|
|
505
507
|
}
|
|
506
508
|
var r = e(i);
|
|
507
|
-
return a[r] ? a[r] : (a[r] = this, a[i] = this, o && r !== t && DayPilot.DateUtil.hasTzSpec(t) && (a[t] = this), Object.defineProperty ? (Object.defineProperty(this, "ticks", {
|
|
508
|
-
get: function () { return i; }
|
|
509
|
-
}), Object.defineProperty(this, "value", { "value": r, "writable": !1, "enumerable": !0 })) : (this.ticks = i, this.value = r), DayPilot.Date.Config.legacyShowD && (this.d = new Date(i)), void (DayPilot.Stats.dateObjects += 1));
|
|
509
|
+
return a[r] ? a[r] : (a[r] = this, a[i] = this, o && r !== t && DayPilot.DateUtil.hasTzSpec(t) && (a[t] = this), Object.defineProperty ? (Object.defineProperty(this, "ticks", { get: function () { return i; } }), Object.defineProperty(this, "value", { "value": r, "writable": !1, "enumerable": !0 })) : (this.ticks = i, this.value = r), DayPilot.Date.Config.legacyShowD && (this.d = new Date(i)), void (DayPilot.Stats.dateObjects += 1));
|
|
510
510
|
}, DayPilot.Date.Config = {}, DayPilot.Date.Config.legacyShowD = !1, DayPilot.Date.Cache = {}, DayPilot.Date.Cache.Parsing = {}, DayPilot.Date.Cache.Ctor = {}, DayPilot.Date.Cache.Ticks = {}, DayPilot.Date.Cache.DurationCtor = {}, DayPilot.Date.Cache.clear = function () { DayPilot.Date.Cache.Parsing = {}, DayPilot.Date.Cache.Ctor = {}, DayPilot.Date.Cache.Ticks = {}, DayPilot.Date.Cache.DurationCtor = {}; }, DayPilot.Date.prototype.addDays = function (e) { return e ? new DayPilot.Date(this.ticks + 24 * e * 60 * 60 * 1e3) : this; }, DayPilot.Date.prototype.addHours = function (e) { return e ? this.addTime(60 * e * 60 * 1e3) : this; }, DayPilot.Date.prototype.addMilliseconds = function (e) { return e ? this.addTime(e) : this; }, DayPilot.Date.prototype.addMinutes = function (e) { return e ? this.addTime(60 * e * 1e3) : this; }, DayPilot.Date.prototype.addMonths = function (e) { if (!e)
|
|
511
511
|
return this; var t = new Date(this.ticks), n = t.getUTCFullYear(), i = t.getUTCMonth() + 1; if (e > 0) {
|
|
512
512
|
for (; e >= 12;)
|
|
@@ -685,7 +685,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
685
685
|
if (this instanceof t.Calendar && !this.P && (o = !0, this.P = !0), !o)
|
|
686
686
|
throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
|
|
687
687
|
var r = this;
|
|
688
|
-
this.uniqueID = null, this.isCalendar = !0, this.v = "2025.2.
|
|
688
|
+
this.uniqueID = null, this.isCalendar = !0, this.v = "2025.2.674-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;)
|
|
689
689
|
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) {
|
|
690
690
|
var e = s.locale();
|
|
691
691
|
return e ? e.weekStarts : 0;
|
|
@@ -1138,10 +1138,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
1138
1138
|
var t = this.data, n = r.jb(t), i = {};
|
|
1139
1139
|
i.header = {}, i.header.id = t.id, i.header.name = t.name, i.header.start = t.start, i.column = n, i.originalEvent = e, i.shift = e.shiftKey, i.ctrl = e.ctrlKey, i.meta = e.metaKey, i.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof r.onHeaderClick && (r.onHeaderClick(i), i.preventDefault.value) || "function" == typeof r.onHeaderClicked && r.onHeaderClicked(i);
|
|
1140
1140
|
} }, this.jb = function (e) { return new DayPilot.CalendarColumn(e, r); }, this.kb = function () { return this.width && this.width.indexOf("px") !== -1 ? "Pixel" : "Percentage"; }, this.ja = function () { var e = this.nav.header, t = !0, n = this.za; for (n.length; this.headerCreated && e && e.rows && e.rows.length > 0;)
|
|
1141
|
-
this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0); this.headerCreated = !0; this.hb(t); }, this.loadingStart = function () { this.loadingLabelVisible && (this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.top = this.headerHeight + 5 + "px", this.nav.loading.style.display = ""); }, this.commandCallBack = function (e, t) {
|
|
1142
|
-
var
|
|
1143
|
-
|
|
1144
|
-
}, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.ob = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.pb = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp)); }, this.events = {}, this.events.add = function (e) { var t = null; if (e instanceof DayPilot.Event)
|
|
1141
|
+
this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0); this.headerCreated = !0; this.hb(t); }, this.loadingStart = function () { this.loadingLabelVisible && (this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.top = this.headerHeight + 5 + "px", this.nav.loading.style.display = ""); }, this.commandCallBack = function (e, t) {
|
|
1142
|
+
var n = {};
|
|
1143
|
+
n.command = e, this.U("Command", t, n);
|
|
1144
|
+
}, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.lb = function () { var e = this.nav.scroll; e.root = this, r.mb(), e.onscroll || (e.onscroll = function () { r.nb(); }); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.ob = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.pb = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp)); }, this.events = {}, this.events.add = function (e) { var t = null; if (e instanceof DayPilot.Event)
|
|
1145
1145
|
t = e.data;
|
|
1146
1146
|
else {
|
|
1147
1147
|
if ("object" != typeof e)
|
|
@@ -1325,7 +1325,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
1325
1325
|
var DayPilot = {};
|
|
1326
1326
|
if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (DayPilot) {
|
|
1327
1327
|
"use strict";
|
|
1328
|
-
"undefined" == typeof DayPilot.DatePicker && (DayPilot.DatePicker = function (e) { this.v = "2025.2.
|
|
1328
|
+
"undefined" == typeof DayPilot.DatePicker && (DayPilot.DatePicker = function (e) { this.v = "2025.2.674-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)
|
|
1329
1329
|
for (var t in e)
|
|
1330
1330
|
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)
|
|
1331
1331
|
return this.date; var t = null; if (t = "INPUT" === e.tagName ? e.value : e.innerText, !t)
|
|
@@ -1359,7 +1359,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
1359
1359
|
"use strict";
|
|
1360
1360
|
if ("undefined" == typeof DayPilot.Menu || !DayPilot.Menu.def) {
|
|
1361
1361
|
var e = function () { }, t = {};
|
|
1362
|
-
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.2.
|
|
1362
|
+
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.2.674-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) {
|
|
1363
1363
|
i.cssOnly || (i.cssOnly = !0);
|
|
1364
1364
|
var s = null;
|
|
1365
1365
|
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) {
|
|
@@ -1556,8 +1556,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
1556
1556
|
throw "No CSS registration method found";
|
|
1557
1557
|
t.sheet.addRule(e, i, a);
|
|
1558
1558
|
} }, e; }, i = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxwYXRoCiAgICAgICBpZD0icGF0aDMxNzMiCiAgICAgICBzdHlsZT0iZmlsbDpub25lO3N0cm9rZTojOTk5OTk5O3N0cm9rZS13aWR0aDoxLjg1MTk2ODUzO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICAgIGQ9Ik0gMC45NTQxNDgzOCwwLjY4MTYwMzEgNS4wMzkwNjI1LDUuNDExNTM4NiA5LjEyMzk3NjYsMC42ODE2MDMxIgogICAgICAgIC8+CiAgPC9nPgo8L3N2Zz4K", a = new n;
|
|
1559
|
-
a.add(".modal_default_main", "border: 10px solid #ccc; max-width: 90%;"), a.add(".modal_default_main:focus", "outline: none;"), a.add(".modal_default_content", "padding: 10px 0px;"), a.add(".modal_default_inner", "padding: 20px;"), a.add(".modal_default_input", "padding: 10px 0px;"), a.add(".modal_default_buttons", "margin-top: 10px;"), a.add(".modal_default_buttons", "padding: 10px 0px;"), a.add(".modal_default_form_item", "padding: 10px 0px; position: relative;"), a.add(".modal_default_form_item_level1", "border-left: 2px solid #ccc; margin-left: 10px; padding-left: 20px;"), a.add(".modal_default_form_item.modal_default_form_title", "font-size: 1.5rem; font-weight: bold;"),
|
|
1560
|
-
a.add(".modal_default_form_item input[type=select]", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item label", "display: block;"), a.add(".modal_default_form_item select", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item_label", "margin: 2px 0px;"), a.add(".modal_default_form_item_image img", "max-width: 100%; height: auto;"), a.add(".modal_default_form_item_invalid", ""), a.add(".modal_default_form_item_invalid_message", "position: absolute; right: 0px; top: 9px; background-color: red; color: #ffffff; padding: 2px; border-radius: 2px;"), a.add(".modal_default_background", "opacity: 0.5; background-color: #000;"), a.add(".modal_default_ok", "padding: 3px; width: 80px;"), a.add(".modal_default_cancel", "padding: 3px; width: 80px;"), a.add(".modal_default_form_item_date", "position: relative;"), a.add(".modal_default_form_item_date:after", "content: ''; position: absolute; right: 7px; top: 50%; margin-top: 3px; width: 10px; height: 15px; background-image:url(" + "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojY2NjY2NjO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjM4MDM3MzM2O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDE5MjgiCiAgICAgICB3aWR0aD0iOS45MTUzMDYxIgogICAgICAgaGVpZ2h0PSIxMS4zNjkzNyIKICAgICAgIHg9IjAuMTE3MTg3N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SIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgeD0iNC4yNTgzMjU2IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgcnk9IjAuMjk2MDE0NyIgLz4KICAgIDxyZWN0CiAgICAgICByeT0iMC4yOTYwMTQ3IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgeD0iNy4wMzE3NjMxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDIzIgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogIDwvZz4KPC9zdmc+Cg==" + ")"), "undefined" != typeof navigator && navigator.userAgent.indexOf("Edge") !== -1 && a.add(".modal_default_form_item_date input::-ms-clear", "display: none;"), a.add(".modal_default_form_item_scrollable_scroll", "width: 100%; height: 200px; box-sizing: border-box; border: 1px solid #ccc; overflow-y: auto;"), a.add(".modal_default_form_item_scrollable_scroll_content", "padding: 5px;"), a.add(".modal_default_form_item_searchable", "position: relative;"), a.add(".modal_default_form_item_searchable_icon", ""), a.add(".modal_default_form_item_searchable_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + i + ");"), a.add(".modal_default_form_item_searchable_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), a.add(".modal_default_form_item_searchable_list_item", "background: white; padding: 2px; cursor: default;"), a.add(".modal_default_form_item_searchable_list_item_highlight", "background: #ccc;"), a.add(".modal_default_form_item_time", "position: relative;"), a.add(".modal_default_form_item_time_icon", ""), a.add(".modal_default_form_item_time_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + i + ");"), a.add(".modal_default_form_item_time_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), a.add(".modal_default_form_item_time_list_item", "background: white; padding: 2px; cursor: default;"), a.add(".modal_default_form_item_time_list_item_highlight", "background: #ccc;"), a.add(".modal_default_form_item_datetime_parent", "display: flex;"), a.add(".modal_default_form_item_datetime .modal_default_form_item_time_main", "margin-left: 5px;"), a.add(".modal_default_form_item_datetime input[type='text'].modal_default_input_date ", ""), a.add(".modal_default_form_item_tabular_main", "margin-top: 10px;"), a.add(".modal_default_form_item_tabular_table", "display: table; width: 100%; xbackground-color: #fff; border-collapse: collapse;"), a.add(".modal_default_form_item_tabular_tbody", "display: table-row-group;"), a.add(".modal_default_form_item_tabular_row", "display: table-row;"), a.add(".modal_default_form_item_tabular_row.modal_default_form_item_tabular_header", ""), a.add(".modal_default_form_item_tabular_cell.modal_default_form_item_tabular_rowaction", "padding: 0px; width: 23px;"), a.add(".modal_default_form_item_tabular_cell", "display: table-cell; border: 0px; padding: 2px 2px 2px 0px; cursor: default; vertical-align: bottom;"), a.add(".modal_default_form_item_tabular_header .modal_default_form_item_tabular_cell", "padding-left: 0px; padding-bottom: 0px;"), a.add(".modal_default_form_item_tabular_table input[type=text], .modal_default_form_item_tabular_table input[type=number]", "width:100%; box-sizing: border-box;"), a.add(".modal_default_form_item_tabular_table select", "width:100%; height:100%; box-sizing: border-box;"), a.add(".modal_default_form_item_tabular_plus", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), a.add(".modal_default_form_item_tabular_plus:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSA1LjAgMC41IEwgNS4wIDkuNSBNIDAuNSA1LjAgTCA5LjUgNS4wJyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), a.add(".modal_default_form_item_tabular_delete", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), a.add(".modal_default_form_item_tabular_delete:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMC41IEwgOS41IDkuNSBNIDAuNSA5LjUgTCA5LjUgMC41JyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), a.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_plus", "display: none;"), a.add(".modal_default_form_item_tabular_plus_max.modal_default_form_item_tabular_plus", "display: none;"), a.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_delete", "visibility: hidden;"), a.add(".modal_default_form_item_tabular_empty", "height: 1px; margin: 5px 23px 5px 0px; background-color: #ccc;"), a.add(".modal_default_form_item_tabular_spacer .modal_default_form_item_tabular_cell", "padding: 0px;"), a.add(".modal_min_main", "border: 1px solid #ccc; max-width: 90%;"), a.add(".modal_min_background", "opacity: 0.5; background-color: #000;"), a.add(".modal_min_ok", "padding: 3px 10px;"), a.add(".modal_min_cancel", "padding: 3px 10px;"), a.add(".navigator_modal_main", "border-left: 1px solid #c0c0c0;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;background-color: white;color: #000000; box-sizing: content-box;"), a.add(".navigator_modal_main *, .navigator_modal_main *:before, .navigator_modal_main *:after", "box-sizing: content-box;"), a.add(".navigator_modal_month", "font-size: 11px;"), a.add(".navigator_modal_day", "color: black;"), a.add(".navigator_modal_weekend", "background-color: #f0f0f0;"), a.add(".navigator_modal_dayheader", "color: black;"), a.add(".navigator_modal_line", "border-bottom: 1px solid #c0c0c0;"), a.add(".navigator_modal_dayother", "color: gray;"), a.add(".navigator_modal_todaybox", "border: 1px solid red;"), a.add(".navigator_modal_title, .navigator_modal_titleleft, .navigator_modal_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), a.add(".navigator_modal_busy", "font-weight: bold;"), a.add(".navigator_modal_cell", "text-align: center;"), a.add(".navigator_modal_select .navigator_modal_cell_box", "background-color: #FFE794; opacity: 0.5;"), a.add(".navigator_modal_title", "text-align: center;"), a.add(".navigator_modal_titleleft, .navigator_modal_titleright", "text-align: center;"), a.add(".navigator_modal_dayheader", "text-align: center;"), a.add(".navigator_modal_weeknumber", "text-align: center;"), a.add(".navigator_modal_cell_text", "cursor: pointer;"), a.add(".navigator_modal_todaysection", "box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--dp-nav-border-color);"), a.add(".navigator_modal_todaysection_button", "cursor: pointer; color: #333; background-color: #f0f0f0; border: 1px solid var(--dp-nav-border-color); padding: 5px 10px; border-radius: 0px; "), a.commit(), DayPilot.Modal = function (e) { this.autoFocus = !0, this.focus = null, this.autoStretch = !0, this.autoStretchFirstLoadOnly = !1, this.className = null, this.theme = "modal_default", this.disposeOnClose = !0, this.dragDrop = !0, this.loadingHtml = null, this.maxHeight = null, this.scrollWithPage = !0, this.useIframe = !0, this.zIndex = 99999, this.left = null, this.width = 600, this.top = 20, this.height = 200, this.locale = null, this.closed = null, this.onClose = null, this.onClosed = null, this.onShow = null; var t = this; this.id = "_" + (new Date).getTime() + "n" + 10 * Math.random(), this.Zb = !1, this.$b = null, this._b = null, this.showHtml = function (e) { if (DayPilot.ModalStatic.displayed(this))
|
|
1559
|
+
a.add(".modal_default_main", "border: 10px solid #ccc; max-width: 90%;"), a.add(".modal_default_main:focus", "outline: none;"), a.add(".modal_default_content", "padding: 10px 0px;"), a.add(".modal_default_inner", "padding: 20px;"), a.add(".modal_default_input", "padding: 10px 0px;"), a.add(".modal_default_buttons", "margin-top: 10px;"), a.add(".modal_default_buttons", "padding: 10px 0px;"), a.add(".modal_default_form_item", "padding: 10px 0px; position: relative;"), a.add(".modal_default_form_item_level1", "border-left: 2px solid #ccc; margin-left: 10px; padding-left: 20px;"), a.add(".modal_default_form_item.modal_default_form_title", "font-size: 1.5rem; font-weight: bold;"),
|
|
1560
|
+
a.add(".modal_default_form_item input[type=text]", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item textarea", "width: 100%; height: 200px; box-sizing: border-box;"), a.add(".modal_default_form_item input[type=select]", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item label", "display: block;"), a.add(".modal_default_form_item select", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item_label", "margin: 2px 0px;"), a.add(".modal_default_form_item_image img", "max-width: 100%; height: auto;"), a.add(".modal_default_form_item_invalid", ""), a.add(".modal_default_form_item_invalid_message", "position: absolute; right: 0px; top: 9px; background-color: red; color: #ffffff; padding: 2px; border-radius: 2px;"), a.add(".modal_default_background", "opacity: 0.5; background-color: #000;"), a.add(".modal_default_ok", "padding: 3px; width: 80px;"), a.add(".modal_default_cancel", "padding: 3px; width: 80px;"), a.add(".modal_default_form_item_date", "position: relative;"), a.add(".modal_default_form_item_date:after", "content: ''; position: absolute; right: 7px; top: 50%; margin-top: 3px; width: 10px; height: 15px; background-image:url(" + "data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bWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogIDwvZz4KPC9zdmc+Cg==" + ")"), "undefined" != typeof navigator && navigator.userAgent.indexOf("Edge") !== -1 && a.add(".modal_default_form_item_date input::-ms-clear", "display: none;"), a.add(".modal_default_form_item_scrollable_scroll", "width: 100%; height: 200px; box-sizing: border-box; border: 1px solid #ccc; overflow-y: auto;"), a.add(".modal_default_form_item_scrollable_scroll_content", "padding: 5px;"), a.add(".modal_default_form_item_searchable", "position: relative;"), a.add(".modal_default_form_item_searchable_icon", ""), a.add(".modal_default_form_item_searchable_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + i + ");"), a.add(".modal_default_form_item_searchable_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), a.add(".modal_default_form_item_searchable_list_item", "background: white; padding: 2px; cursor: default;"), a.add(".modal_default_form_item_searchable_list_item_highlight", "background: #ccc;"), a.add(".modal_default_form_item_time", "position: relative;"), a.add(".modal_default_form_item_time_icon", ""), a.add(".modal_default_form_item_time_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + i + ");"), a.add(".modal_default_form_item_time_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), a.add(".modal_default_form_item_time_list_item", "background: white; padding: 2px; cursor: default;"), a.add(".modal_default_form_item_time_list_item_highlight", "background: #ccc;"), a.add(".modal_default_form_item_datetime_parent", "display: flex;"), a.add(".modal_default_form_item_datetime .modal_default_form_item_time_main", "margin-left: 5px;"), a.add(".modal_default_form_item_datetime input[type='text'].modal_default_input_date ", ""), a.add(".modal_default_form_item_tabular_main", "margin-top: 10px;"), a.add(".modal_default_form_item_tabular_table", "display: table; width: 100%; xbackground-color: #fff; border-collapse: collapse;"), a.add(".modal_default_form_item_tabular_tbody", "display: table-row-group;"), a.add(".modal_default_form_item_tabular_row", "display: table-row;"), a.add(".modal_default_form_item_tabular_row.modal_default_form_item_tabular_header", ""), a.add(".modal_default_form_item_tabular_cell.modal_default_form_item_tabular_rowaction", "padding: 0px; width: 23px;"), a.add(".modal_default_form_item_tabular_cell", "display: table-cell; border: 0px; padding: 2px 2px 2px 0px; cursor: default; vertical-align: bottom;"), a.add(".modal_default_form_item_tabular_header .modal_default_form_item_tabular_cell", "padding-left: 0px; padding-bottom: 0px;"), a.add(".modal_default_form_item_tabular_table input[type=text], .modal_default_form_item_tabular_table input[type=number]", "width:100%; box-sizing: border-box;"), a.add(".modal_default_form_item_tabular_table select", "width:100%; height:100%; box-sizing: border-box;"), a.add(".modal_default_form_item_tabular_plus", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), a.add(".modal_default_form_item_tabular_plus:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSA1LjAgMC41IEwgNS4wIDkuNSBNIDAuNSA1LjAgTCA5LjUgNS4wJyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), a.add(".modal_default_form_item_tabular_delete", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), a.add(".modal_default_form_item_tabular_delete:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMC41IEwgOS41IDkuNSBNIDAuNSA5LjUgTCA5LjUgMC41JyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), a.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_plus", "display: none;"), a.add(".modal_default_form_item_tabular_plus_max.modal_default_form_item_tabular_plus", "display: none;"), a.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_delete", "visibility: hidden;"), a.add(".modal_default_form_item_tabular_empty", "height: 1px; margin: 5px 23px 5px 0px; background-color: #ccc;"), a.add(".modal_default_form_item_tabular_spacer .modal_default_form_item_tabular_cell", "padding: 0px;"), a.add(".modal_min_main", "border: 1px solid #ccc; max-width: 90%;"), a.add(".modal_min_background", "opacity: 0.5; background-color: #000;"), a.add(".modal_min_ok", "padding: 3px 10px;"), a.add(".modal_min_cancel", "padding: 3px 10px;"), a.add(".navigator_modal_main", "border-left: 1px solid #c0c0c0;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;background-color: white;color: #000000; box-sizing: content-box;"), a.add(".navigator_modal_main *, .navigator_modal_main *:before, .navigator_modal_main *:after", "box-sizing: content-box;"), a.add(".navigator_modal_month", "font-size: 11px;"), a.add(".navigator_modal_day", "color: black;"), a.add(".navigator_modal_weekend", "background-color: #f0f0f0;"), a.add(".navigator_modal_dayheader", "color: black;"), a.add(".navigator_modal_line", "border-bottom: 1px solid #c0c0c0;"), a.add(".navigator_modal_dayother", "color: gray;"), a.add(".navigator_modal_todaybox", "border: 1px solid red;"), a.add(".navigator_modal_title, .navigator_modal_titleleft, .navigator_modal_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), a.add(".navigator_modal_busy", "font-weight: bold;"), a.add(".navigator_modal_cell", "text-align: center;"), a.add(".navigator_modal_select .navigator_modal_cell_box", "background-color: #FFE794; opacity: 0.5;"), a.add(".navigator_modal_title", "text-align: center;"), a.add(".navigator_modal_titleleft, .navigator_modal_titleright", "text-align: center;"), a.add(".navigator_modal_dayheader", "text-align: center;"), a.add(".navigator_modal_weeknumber", "text-align: center;"), a.add(".navigator_modal_cell_text", "cursor: pointer;"), a.add(".navigator_modal_todaysection", "box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--dp-nav-border-color);"), a.add(".navigator_modal_todaysection_button", "cursor: pointer; color: #333; background-color: #f0f0f0; border: 1px solid var(--dp-nav-border-color); padding: 5px 10px; border-radius: 0px; "), a.commit(), DayPilot.Modal = function (e) { this.autoFocus = !0, this.focus = null, this.autoStretch = !0, this.autoStretchFirstLoadOnly = !1, this.className = null, this.theme = "modal_default", this.disposeOnClose = !0, this.dragDrop = !0, this.loadingHtml = null, this.maxHeight = null, this.scrollWithPage = !0, this.useIframe = !0, this.zIndex = 99999, this.left = null, this.width = 600, this.top = 20, this.height = 200, this.locale = null, this.closed = null, this.onClose = null, this.onClosed = null, this.onShow = null; var t = this; this.id = "_" + (new Date).getTime() + "n" + 10 * Math.random(), this.Zb = !1, this.$b = null, this._b = null, this.showHtml = function (e) { if (DayPilot.ModalStatic.displayed(this))
|
|
1561
1561
|
throw "This modal dialog is already displayed."; if (this.div || this.bc(), this.qb(), this.useIframe) {
|
|
1562
1562
|
var t = function (e, t) { return function () { e.setInnerHTML(e.id + "iframe", t); }; };
|
|
1563
1563
|
window.setTimeout(t(this, e), 0);
|
|
@@ -1722,12 +1722,12 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
1722
1722
|
}
|
|
1723
1723
|
else if ("image" === i) {
|
|
1724
1724
|
var o = new s;
|
|
1725
|
-
o.isValue = !0, o.field = e.id,
|
|
1725
|
+
o.isValue = !0, o.field = e.id,
|
|
1726
|
+
o.data = e, o.level = t, o.type = i, o.interactive = !1, o.text = null, n.zc.push(o), a.push(o);
|
|
1726
1727
|
}
|
|
1727
1728
|
else if ("html" === i) {
|
|
1728
1729
|
var o = new s;
|
|
1729
|
-
o.isValue = !0, o.field = e.id, o.data = e, o.level = t, o.type = i, o.interactive = !1, o.text = null,
|
|
1730
|
-
n.zc.push(o), a.push(o);
|
|
1730
|
+
o.isValue = !0, o.field = e.id, o.data = e, o.level = t, o.type = i, o.interactive = !1, o.text = null, n.zc.push(o), a.push(o);
|
|
1731
1731
|
}
|
|
1732
1732
|
else if ("scrollable" === i) {
|
|
1733
1733
|
var o = new s;
|
|
@@ -1872,7 +1872,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
1872
1872
|
if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
|
|
1873
1873
|
var e = {}, t = DayPilot.Util.isVueVNode;
|
|
1874
1874
|
e.Month = function (n, i) {
|
|
1875
|
-
this.v = "2025.2.
|
|
1875
|
+
this.v = "2025.2.674-lite", this.nav = {};
|
|
1876
1876
|
var a = this;
|
|
1877
1877
|
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)
|
|
1878
1878
|
t = e.data;
|
|
@@ -2008,30 +2008,32 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
2008
2008
|
var i = n.cache || n.data, o = i.borderRadius || a.eventBorderRadius;
|
|
2009
2009
|
"number" == typeof o && (o += "px");
|
|
2010
2010
|
var r = n.part.row, s = n.part.line, l = n.part.colStart, d = n.part.colWidth, c = this.getCellWidth() * l, u = this.getCellWidth() * d, h = this.getEventTop(r, s), f = document.createElement("div");
|
|
2011
|
-
f.setAttribute("unselectable", "on"), f.style.height = this.eventHeight + "px", f.style.overflow = "hidden", f.className = this.L("_event"), i.cssClass && DayPilot.Util.addClass(f, i.cssClass), n.part.startsHere || DayPilot.Util.addClass(f, this.L("_event_continueleft")), n.part.endsHere || DayPilot.Util.addClass(f, this.L("_event_continueright")), f.event = n, f.style.width = u + "%", f.style.position = "absolute", f.style.left = c + "%", f.style.top = h + "px", this.showToolTip && n.client.toolTip() && (f.title = n.client.toolTip()), f.onclick = a.va, f.oncontextmenu = a.gd, f.onmousedown = function (t) {
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
if (
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
if (i) {
|
|
2029
|
-
f.deleteIcon && (f.deleteIcon.style.display = "");
|
|
2030
|
-
var a = 6;
|
|
2031
|
-
i.x <= a && n.client.resizeEnabled() ? n.part.startsHere ? (f.style.cursor = "w-resize", f.dpBorder = "left") : f.style.cursor = "not-allowed" : f.clientWidth - i.x <= a && n.client.resizeEnabled() ? n.part.endsHere ? (f.style.cursor = "e-resize", f.dpBorder = "right") : f.style.cursor = "not-allowed" : n.client.clickEnabled() ? f.style.cursor = "pointer" : f.style.cursor = "default";
|
|
2011
|
+
f.setAttribute("unselectable", "on"), f.style.height = this.eventHeight + "px", f.style.overflow = "hidden", f.className = this.L("_event"), i.cssClass && DayPilot.Util.addClass(f, i.cssClass), n.part.startsHere || DayPilot.Util.addClass(f, this.L("_event_continueleft")), n.part.endsHere || DayPilot.Util.addClass(f, this.L("_event_continueright")), f.event = n, f.style.width = u + "%", f.style.position = "absolute", f.style.left = c + "%", f.style.top = h + "px", this.showToolTip && n.client.toolTip() && (f.title = n.client.toolTip()), f.onclick = a.va, f.oncontextmenu = a.gd, f.onmousedown = function (t) {
|
|
2012
|
+
t = t || window.event;
|
|
2013
|
+
var i = t.which || t.button;
|
|
2014
|
+
if (t.cancelBubble = !0, t.stopPropagation && t.stopPropagation(), 1 === i)
|
|
2015
|
+
if (e.movingEvent = null, "w-resize" === this.style.cursor || "e-resize" === this.style.cursor) {
|
|
2016
|
+
var o = {};
|
|
2017
|
+
o.start = {}, o.start.x = l, o.start.y = r, o.event = f.event, o.width = DayPilot.DateUtil.daysSpan(o.event.start(), o.event.end()) + 1, o.direction = this.style.cursor, e.resizingEvent = o;
|
|
2018
|
+
}
|
|
2019
|
+
else if ("move" === this.style.cursor || n.client.moveEnabled()) {
|
|
2020
|
+
a.clearShadow();
|
|
2021
|
+
var c = DayPilot.mo3(a.nav.top, t);
|
|
2022
|
+
if (!c)
|
|
2023
|
+
return;
|
|
2024
|
+
var u = a.getCellBelowPoint(c.x, c.y), h = DayPilot.DateUtil.daysDiff(n.start(), a.rows[r].start), v = 7 * u.y + u.x - (7 * r + l);
|
|
2025
|
+
h && (v += h);
|
|
2026
|
+
var p = {};
|
|
2027
|
+
p.start = {}, p.start.x = l, p.start.y = r, p.start.line = s, p.offset = a.eventMoveToPosition ? 0 : v, p.colWidth = d, p.event = f.event, p.coords = c, e.movingEvent = p;
|
|
2032
2028
|
}
|
|
2029
|
+
}, f.onmousemove = function (t) { if ("undefined" != typeof e && !e.movingEvent && !e.resizingEvent) {
|
|
2030
|
+
var i = DayPilot.mo3(f, t);
|
|
2031
|
+
if (i) {
|
|
2032
|
+
f.deleteIcon && (f.deleteIcon.style.display = "");
|
|
2033
|
+
var a = 6;
|
|
2034
|
+
i.x <= a && n.client.resizeEnabled() ? n.part.startsHere ? (f.style.cursor = "w-resize", f.dpBorder = "left") : f.style.cursor = "not-allowed" : f.clientWidth - i.x <= a && n.client.resizeEnabled() ? n.part.endsHere ? (f.style.cursor = "e-resize", f.dpBorder = "right") : f.style.cursor = "not-allowed" : n.client.clickEnabled() ? f.style.cursor = "pointer" : f.style.cursor = "default";
|
|
2033
2035
|
}
|
|
2034
|
-
}, f.onmouseleave = function (e) { f.deleteIcon && (f.deleteIcon.style.display = "none"), f.style.cursor = ""; }, f.onmouseenter = function (e) { f.deleteIcon && (f.deleteIcon.style.display = ""); };
|
|
2036
|
+
} }, f.onmouseleave = function (e) { f.deleteIcon && (f.deleteIcon.style.display = "none"), f.style.cursor = ""; }, f.onmouseenter = function (e) { f.deleteIcon && (f.deleteIcon.style.display = ""); };
|
|
2035
2037
|
var v = document.createElement("div");
|
|
2036
2038
|
if (v.setAttribute("unselectable", "on"), v.className = this.L("_event_inner"), "darker" === i.borderColor && i.backColor ? v.style.borderColor = DayPilot.ColorUtil.darker(i.backColor, 2) : v.style.borderColor = i.borderColor, i.backColor && (v.style.background = i.backColor), i.fontColor && (v.style.color = i.fontColor), o && (f.style.borderRadius = o, v.style.borderRadius = o), f.appendChild(v), n.client.barVisible()) {
|
|
2037
2039
|
var p = document.createElement("div");
|
|
@@ -2350,7 +2352,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
2350
2352
|
if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.def) {
|
|
2351
2353
|
var e = DayPilot.Util.isVueVNode;
|
|
2352
2354
|
DayPilot.Navigator = function (t, n) {
|
|
2353
|
-
this.v = "2025.2.
|
|
2355
|
+
this.v = "2025.2.674-lite";
|
|
2354
2356
|
var i = this;
|
|
2355
2357
|
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())
|
|
2356
2358
|
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)
|
|
@@ -2427,16 +2429,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
2427
2429
|
}
|
|
2428
2430
|
} }(), g.appendChild(I), T && (i.Bd(g, M, C), this.selected.push(I));
|
|
2429
2431
|
}
|
|
2430
|
-
} var J = document.createElement("div"); J.style.position = "absolute", J.style.left = "0px", J.style.top = b - 2 + "px", J.style.width = i.td(7 + _), J.style.height = "1px", J.style.fontSize = "1px", J.style.lineHeight = "1px", J.className = this.L("_line"), g.appendChild(J), this.months.push(a); }, this.zd = function (e, t) { var n = this.titleHeight + this.dayHeaderHeight, a = (this.nd(), this.showWeekNumbers ? 1 : 0); return { "x": i.sd(e + a), "y": t * this.cellHeight + n }; }, this.Bd = function (e, t, n) { var a = e.month.cells[t][n]; i.od(a, "select"); }, this.Cd = function (e, t, n) { var a = e.month.cells[t][n]; i.pd(a, "select"); }, this.nd = function () {
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
}, this.Ed = function () { var e = {}; e.startDate = i.startDate, e.selectionStart = i.selectionStart, e.selectionEnd = i.selectionEnd.addDays(1), i.state.value = JSON.stringify(e); }, this.yd = function () { return (this.selectMode || "").toLowerCase(); }, this.Fd = function () { var e = this.selectionDay || this.selectionStart; switch (e || (e = DayPilot.Date.today()), e = new DayPilot.Date(e), this.yd()) {
|
|
2432
|
+
} var J = document.createElement("div"); J.style.position = "absolute", J.style.left = "0px", J.style.top = b - 2 + "px", J.style.width = i.td(7 + _), J.style.height = "1px", J.style.fontSize = "1px", J.style.lineHeight = "1px", J.className = this.L("_line"), g.appendChild(J), this.months.push(a); }, this.zd = function (e, t) { var n = this.titleHeight + this.dayHeaderHeight, a = (this.nd(), this.showWeekNumbers ? 1 : 0); return { "x": i.sd(e + a), "y": t * this.cellHeight + n }; }, this.Bd = function (e, t, n) { var a = e.month.cells[t][n]; i.od(a, "select"); }, this.Cd = function (e, t, n) { var a = e.month.cells[t][n]; i.pd(a, "select"); }, this.nd = function () {
|
|
2433
|
+
return this.showWeekNumbers ? r.cellWidth() : 0;
|
|
2434
|
+
}, this.Dd = function () { if (this.items)
|
|
2435
|
+
for (var e = 0; e < this.showMonths; e++)
|
|
2436
|
+
for (var t = 0; t < 7; t++)
|
|
2437
|
+
for (var n = 0; n < 6; n++) {
|
|
2438
|
+
var i = this.months[e].cells[t][n];
|
|
2439
|
+
i && (1 === this.items[i.day.toStringSortable()] ? (this.od(i, "busy"), this.pd(i, "free")) : (this.pd(i, "busy"), this.od(i, "free")));
|
|
2440
|
+
} }, this.Ed = function () { var e = {}; e.startDate = i.startDate, e.selectionStart = i.selectionStart, e.selectionEnd = i.selectionEnd.addDays(1), i.state.value = JSON.stringify(e); }, this.yd = function () { return (this.selectMode || "").toLowerCase(); }, this.Fd = function () { var e = this.selectionDay || this.selectionStart; switch (e || (e = DayPilot.Date.today()), e = new DayPilot.Date(e), this.yd()) {
|
|
2440
2441
|
case "day":
|
|
2441
2442
|
this.selectionStart = e, this.selectionDay = e, this.selectionEnd = e;
|
|
2442
2443
|
break;
|
|
@@ -2748,23 +2749,23 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
2748
2749
|
if ("undefined" == typeof DayPilot.Scheduler) {
|
|
2749
2750
|
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"); };
|
|
2750
2751
|
DayPilot.Scheduler = function (a, s) {
|
|
2751
|
-
this.v = "2025.2.
|
|
2752
|
+
this.v = "2025.2.674-lite";
|
|
2752
2753
|
var l = this;
|
|
2753
|
-
this.isScheduler = !0, this.id = a, 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.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.onBeforeEventRender = null, this.onBeforeTimeHeaderRender = 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
|
|
2754
|
+
this.isScheduler = !0, this.id = a, 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.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.onBeforeEventRender = null, this.onBeforeTimeHeaderRender = 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) {
|
|
2754
2755
|
if (!l.Ka)
|
|
2755
|
-
return void (l.ie =
|
|
2756
|
-
var
|
|
2756
|
+
return void (l.ie = e);
|
|
2757
|
+
var t;
|
|
2757
2758
|
if (e instanceof DayPilot.Date)
|
|
2758
|
-
|
|
2759
|
+
t = this.getPixels(e).left;
|
|
2759
2760
|
else if ("string" == typeof e)
|
|
2760
|
-
|
|
2761
|
+
t = this.getPixels(new DayPilot.Date(e)).left;
|
|
2761
2762
|
else {
|
|
2762
2763
|
if ("number" != typeof e)
|
|
2763
2764
|
throw new DayPilot.Exception("Invalid scrollTo() parameter. Accepted parameters: string (ISO date), number (pixels), DayPilot.Date object");
|
|
2764
|
-
|
|
2765
|
+
t = e;
|
|
2765
2766
|
}
|
|
2766
|
-
var
|
|
2767
|
-
|
|
2767
|
+
var n = l.je.clientWidth, i = l.nav.scroll.clientWidth;
|
|
2768
|
+
t < 0 && (t = 0), t > n - i && (t = n - i), l.ke(t);
|
|
2768
2769
|
} }, this.scrollToResource = function (e) { DayPilot.complete(function () { var t; if ("string" == typeof e || "number" == typeof e)
|
|
2769
2770
|
t = l.le(e);
|
|
2770
2771
|
else {
|
|
@@ -2880,19 +2881,18 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
2880
2881
|
c.options || (c.options = {});
|
|
2881
2882
|
for (var t in e)
|
|
2882
2883
|
c.options[t] = e[t];
|
|
2883
|
-
} }, c.doit = function () { var e = c.options; return c.options = null, l.Ka ? (l.sb(e), l.qb({ "immediateEvents": !0 }), void l.vb()) : void l.sb(e); }, this.ff = function (e) { e.forEach(function (e) { l.gf(e.index); }); }, this.hf = function (e) { return e && 0 !== e.length ? e[0].isRow ? e : e.map(function (e) { return l.rowlist[e]; }) : []; }, this.if = function (e, t, n) { e = DayPilot.ua(e), e = l.hf(e), l.ff(e), this.jf ? (this.We(), this.Ze(), this._e(), e.forEach(function (e) { l.kf(e.index); }), e.forEach(function (e) { l.lf(e.index); }), this.bf(), this.mf()) : (e.forEach(function (e) { t || l.kf(e.index), l.lf(e.index); }), e.forEach(function (e) { l.nf(e.index); }), l.bf()), l.se(), n && n(), this.af(); }, this.Re = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart().ticks === e.ticks ? e.addDays(-1) : e.getDatePart(); }, this.of = function (e) {
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
}, this.Se = function (e) { var t = e.e, n = e.newStart, i = e.newEnd, a = e.newResource; t.start(n), t.end(i), t.resource(a), l.events.update(t), l.events.sf(); }, this.tf = function (e) { if (e)
|
|
2884
|
+
} }, c.doit = function () { var e = c.options; return c.options = null, l.Ka ? (l.sb(e), l.qb({ "immediateEvents": !0 }), void l.vb()) : void l.sb(e); }, this.ff = function (e) { e.forEach(function (e) { l.gf(e.index); }); }, this.hf = function (e) { return e && 0 !== e.length ? e[0].isRow ? e : e.map(function (e) { return l.rowlist[e]; }) : []; }, this.if = function (e, t, n) { e = DayPilot.ua(e), e = l.hf(e), l.ff(e), this.jf ? (this.We(), this.Ze(), this._e(), e.forEach(function (e) { l.kf(e.index); }), e.forEach(function (e) { l.lf(e.index); }), this.bf(), this.mf()) : (e.forEach(function (e) { t || l.kf(e.index), l.lf(e.index); }), e.forEach(function (e) { l.nf(e.index); }), l.bf()), l.se(), n && n(), this.af(); }, this.Re = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart().ticks === e.ticks ? e.addDays(-1) : e.getDatePart(); }, this.of = function (e) {
|
|
2885
|
+
return "DateTime" === l.eventEndSpec ? e : e.getDatePart().addDays(1);
|
|
2886
|
+
}, this.pf = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart(); }, this.M = function (e, t, n, i, a) { if (l.qf = null, "Disabled" !== l.eventMoveHandling) {
|
|
2887
|
+
n = l.Re(n);
|
|
2888
|
+
var o = {};
|
|
2889
|
+
o.e = e, o.newStart = t, o.newEnd = n, o.newResource = i, o.ctrl = !1, o.meta = !1, o.shift = !1, a && (o.shift = a.shiftKey, o.ctrl = a.ctrlKey, o.meta = a.metaKey), o.control = l, o.areaData = DayPilot.Global.movingAreaData, o.toJSON = function () { return DayPilot.Util.copyProps(o, {}, ["e", "newStart", "newEnd", "newResource", "ctrl", "meta", "shift"]); }, o.preventDefault = function () { this.preventDefault.value = !0; };
|
|
2890
|
+
var r = function () { if (o.loaded = function () { }, o.preventDefault.value)
|
|
2891
|
+
return void l.rf(); switch (t = o.newStart, n = o.newEnd, l.eventMoveHandling) {
|
|
2892
|
+
case "Update": l.Se(o);
|
|
2893
|
+
} l.rf(), "function" == typeof l.onEventMoved && l.onEventMoved(o); };
|
|
2894
|
+
o.async = !1, o.loaded = function () { r(); }, "function" == typeof l.onEventMove && l.onEventMove(o), o.async || r();
|
|
2895
|
+
} }, this.Se = function (e) { var t = e.e, n = e.newStart, i = e.newEnd, a = e.newResource; t.start(n), t.end(i), t.resource(a), l.events.update(t), l.events.sf(); }, this.tf = function (e) { if (e)
|
|
2896
2896
|
if (e.args)
|
|
2897
2897
|
l.O(e.args.start, e.args.end, e.args.resource);
|
|
2898
2898
|
else {
|
|
@@ -3279,9 +3279,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
3279
3279
|
n.observe(l.nav.top), l.Yg = n;
|
|
3280
3280
|
} }, this.$g = function () { l.Q || (l.ma(), l._g(), l.xb.drawArea = null); }, this._g = function () { var e = l.wf; l.clearSelection(), l.wf = e, l.xf(e, { "justDraw": !0 }); }, this.Qg = 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.Ce() + "px", e.style.overflow = "hidden", e.className = l.L("_timeheader_scroll"), this.divTimeScroll = e; var t = r(); return t.style.width = this.Ae() + 5e3 + "px", this.divNorth = t, e.appendChild(t), e; }, this.Xa = function () { var e = 0, t = l.heightSpec; return "Fixed" === t ? this.height ? this.height : 0 : (e = l.Wg(), "Max" === t && e > l.height ? l.height : e); }, this.Wg = 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.Rg = function () {
|
|
3281
3281
|
var e = r();
|
|
3282
|
-
e.style.overflow = "auto", e.style.overflowX = "auto", e.style.overflowY = "auto", e.style.height = this.Xa() + "px", e.style.top = this.Ce() + 1 + "px",
|
|
3283
|
-
return !1;
|
|
3284
|
-
}, this.nav.scroll = e, this.je = r();
|
|
3282
|
+
e.style.overflow = "auto", e.style.overflowX = "auto", e.style.overflowY = "auto", e.style.height = this.Xa() + "px", e.style.top = this.Ce() + 1 + "px",
|
|
3283
|
+
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();
|
|
3285
3284
|
var t = this.je;
|
|
3286
3285
|
t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.calendar = this, t.style.position = "absolute";
|
|
3287
3286
|
var n = this.Ae();
|
|
@@ -3656,8 +3655,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
3656
3655
|
if (this.nav.top.dp === l)
|
|
3657
3656
|
return l;
|
|
3658
3657
|
throw new DayPilot.Exception("The target placeholder was already initialized by another DayPilot component instance.");
|
|
3659
|
-
} return this.ii(), this.Zg(), this; }, this.ii = function () { this.Lg(), this.pb(), this.aa(), this.hh(), this.qb(); var angular = l.ze.enabled; l.scrollToDate ? l.scrollTo(l.scrollToDate) : l.scrollX || l.scrollY ? l.setScroll(l.scrollX, l.scrollY) : angular || l.cf(), l.scrollToResourceId && (l.scrollToResource(l.scrollToResourceId), l.scrollToResourceId = null); var e = function () { l.scrollY && l.setScroll(l.scrollX, l.scrollY); }; setTimeout(e, 200), this.af(), this.vb(), this.Ka = !0; var t = l.ie; t ? l.scrollTo(t
|
|
3660
|
-
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
|
|
3658
|
+
} return this.ii(), this.Zg(), this; }, this.ii = function () { this.Lg(), this.pb(), this.aa(), this.hh(), this.qb(); var angular = l.ze.enabled; l.scrollToDate ? l.scrollTo(l.scrollToDate) : l.scrollX || l.scrollY ? l.setScroll(l.scrollX, l.scrollY) : angular || l.cf(), l.scrollToResourceId && (l.scrollToResource(l.scrollToResourceId), l.scrollToResourceId = null); var e = function () { l.scrollY && l.setScroll(l.scrollX, l.scrollY); }; setTimeout(e, 200), this.af(), this.vb(), this.Ka = !0; var t = l.ie; t ? l.scrollTo(t) : l.cf(); }, this.ub = null, this.sb = function (e) { if (e) {
|
|
3659
|
+
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.Be(this.data); } } };
|
|
3661
3660
|
l.ub = t, l.ze.scrollToRequested && (t.scrollTo.data = l.ze.scrollToRequested, l.ze.scrollToRequested = null), l.ze.scrollXRequested && (t.scrollX.data = l.ze.scrollXRequested, l.ze.scrollXRequested = null), l.ze.scrollYRequested && (t.scrollY.data = l.ze.scrollYRequested, l.ze.scrollYRequested = null);
|
|
3662
3661
|
for (var n in e)
|
|
3663
3662
|
t[n] || (l[n] = e[n]);
|
|
@@ -3685,8 +3684,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
3685
3684
|
var n = this.ji;
|
|
3686
3685
|
n.id = e.id, n.name = e.name, n.data = e.resource, n.tags = e.tags;
|
|
3687
3686
|
var i = this;
|
|
3688
|
-
i.isRow = !0, i.menuType = "resource", i.name = e.name, i.id = e.id, i.tags = e.tags,
|
|
3689
|
-
i.ki = e, i.$ = {}, i.$.row = e, i.toJSON = function (e) { var t = {}; return t.start = this.start, t.name = this.name, t.id = this.id, t.index = this.index, t; }, i.events = {}, i.events.all = function () { for (var e = [], t = 0; t < i.ki.events.length; t++)
|
|
3687
|
+
i.isRow = !0, i.menuType = "resource", i.name = e.name, i.id = e.id, i.tags = e.tags,
|
|
3688
|
+
i.index = e.index, i.calendar = t, i.data = e.resource, i.ki = e, i.$ = {}, i.$.row = e, i.toJSON = function (e) { var t = {}; return t.start = this.start, t.name = this.name, t.id = this.id, t.index = this.index, t; }, i.events = {}, i.events.all = function () { for (var e = [], t = 0; t < i.ki.events.length; t++)
|
|
3690
3689
|
e.push(i.ki.events[t]); return e; }, i.events.isEmpty = function () { return 0 === i.ki.events.length; }, i.events.forRange = function (e, t) { return i.ki.events.forRange(e, t); }, i.events.totalDuration = function () { var e = 0; return i.events.all().forEach(function (t) { e += t.part.end.getTime() - t.part.start.getTime(); }), new DayPilot.Duration(e); }, i.remove = function () { t.rows.remove(i); }, i.addClass = function (e) { var n = t.divHeader, a = n.rows[i.index]; DayPilot.Util.addClass(a, e), i.$.row.cssClass = DayPilot.Util.addClassToString(i.$.row.cssClass, e), i.data.cssClass = e; }, i.removeClass = function (e) { var n = t.divHeader, a = n.rows[i.index]; DayPilot.Util.removeClass(a, e), i.$.row.cssClass = DayPilot.Util.removeClassFromString(i.$.row.cssClass, e), i.data.cssClass = DayPilot.Util.removeClassFromString(i.data.cssClass, e); };
|
|
3691
3690
|
}, n.Oe = null, n.kg = null, n.Bh = null, n.dg = null, n.hg = null, n.Ne = !1, n.eh = !1, n.Ph = null, n.li = null, n.qc = function (e) { DayPilot.ue(document, "mouseup", n.ee), DayPilot.ue(document, "touchmove", n.fh), DayPilot.ue(document, "touchend", n.gh), n.eh = !1; }, n.fh = function (e) { if (n.dg) {
|
|
3692
3691
|
var t = n.dg.event.calendar;
|