@daypilot/daypilot-lite-angular 5.8.0-sandbox.828 → 5.8.0-sandbox.830
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.
|
@@ -500,7 +500,7 @@ DayPilot Lite
|
|
|
500
500
|
Copyright (c) 2005 - 2026 Annpoint s.r.o.
|
|
501
501
|
https://www.daypilot.org/
|
|
502
502
|
Licensed under Apache Software License 2.0
|
|
503
|
-
Version: 2026.2.
|
|
503
|
+
Version: 2026.2.830-lite
|
|
504
504
|
*/
|
|
505
505
|
"use strict";
|
|
506
506
|
var DayPilot = { Global: {} };
|
|
@@ -1129,12 +1129,12 @@ var DayPilot = { Global: {} };
|
|
|
1129
1129
|
return a.start.time = s.Ea(s.coords.x, s.coords.y), a.start.columnIndex = s.Fa(s.coords.x), a.start.column = s.Ca[a.start.columnIndex], s.Ga(), s.Ha(), !1;
|
|
1130
1130
|
}
|
|
1131
1131
|
} }, this.Ha = function () { var e = DayPilot.Global.selecting; !function () { var t = e.start.column, n = e.start.columnIndex, a = t.start, i = s.getPixels(e.startTime, a), r = s.getPixels(e.endTime, a), o = i.boxTop, l = r.boxBottom; s.snapToGrid || (o = i.top, l = r.top); var d = l - o, c = s.eventBorderRadius; "number" == typeof c && (c += "px"); var u = function () { if (s.nav.activeSelection)
|
|
1132
|
-
return s.nav.activeSelection; var e = document.createElement("div"); e.setAttribute("unselectable", "on"), e.style.position = "absolute", e.style.left = "0px", e.style.width = "100%"; var t = document.createElement("div"); return t.setAttribute("unselectable", "on"), t.className = s.M("_shadow_inner"), c && (t.style.borderRadius = c, e.style.borderRadius = c), e.appendChild(t), s.nav.events.rows[0].cells[n].selection.appendChild(e), s.elements.selection.push(e), s.nav.activeSelection = e, e; }(); u.className = s.M("_shadow"), u.firstChild.innerHTML = "", u.style.top = o + "px", u.style.height = d + "px", s.nav.events.rows[0].cells[n].selection.appendChild(u); }(); }, this.Ga = function () { var e = DayPilot.Global.selecting; e.end = s.coords, e.end.time = s.Ea(e.start.x, e.end.y), e.end.column = s.Ca[s.Fa(e.end.x)], s.Ia(e); }, this.Ia = function (e) { var t, n, a; s.snapToGrid ? e.end.time < e.start.time ? (t = s.
|
|
1132
|
+
return s.nav.activeSelection; var e = document.createElement("div"); e.setAttribute("unselectable", "on"), e.style.position = "absolute", e.style.left = "0px", e.style.width = "100%"; var t = document.createElement("div"); return t.setAttribute("unselectable", "on"), t.className = s.M("_shadow_inner"), c && (t.style.borderRadius = c, e.style.borderRadius = c), e.appendChild(t), s.nav.events.rows[0].cells[n].selection.appendChild(e), s.elements.selection.push(e), s.nav.activeSelection = e, e; }(); u.className = s.M("_shadow"), u.firstChild.innerHTML = "", u.style.top = o + "px", u.style.height = d + "px", s.nav.events.rows[0].cells[n].selection.appendChild(u); }(); }, this.Ga = function () { var e = DayPilot.Global.selecting; e.end = s.coords, e.end.time = s.Ea(e.start.x, e.end.y), e.end.column = s.Ca[s.Fa(e.end.x)], s.Ia(e); }, this.Ia = function (e) { var t, n, a; s.snapToGrid ? (e.start.time === e.end.time && (n = s.Ja(e.start.time, e.start.column.start), t = n.addTime(60 * -l.ga() * 1e3), a = e.endTime), e.end.time < e.start.time ? (t = s.Ka(e.end.time, e.start.column.start), n = s.Ja(e.start.time, e.start.column.start), a = e.endTime) : (t = s.Ka(e.start.time, e.start.column.start), n = s.Ja(e.end.time, e.start.column.start), a = e.startTime)) : e.end.time < e.start.time ? (t = e.end.time, n = e.start.time, a = e.endTime) : (t = e.start.time, n = e.end.time, a = e.startTime), e.startTime = t, e.endTime = n, e.anchor = a; }, this.getSelection = function () { if (!s.O)
|
|
1133
1133
|
return null; var e = s.O; return new DayPilot.Selection(e.startTime, e.endTime, e.start.column.id, s); }, this.Fa = function (e) { if (e < 0)
|
|
1134
1134
|
return 0; s.rtl ? e = s.nav.main.offsetWidth - e : e -= s.hourWidth; for (var t = 0, n = s.nav.events.rows[0].cells, a = 0; a < n.length; a++) {
|
|
1135
1135
|
if (t += n[a].offsetWidth, e < t)
|
|
1136
1136
|
return a;
|
|
1137
|
-
} return null; }, this.Ea = function (e, t) { e = DayPilot.Util.atLeast(e, 0); var n = this.Fa(e), a = t / (60 / l.ga()) / s.cellHeight, i = 60 * a * 60 * 1e3, r = 6e4 * Math.floor(i / 6e4), o = this.Ca[n]; return o ? o.start.addTime(r) : null; }, this.
|
|
1137
|
+
} return null; }, this.Ea = function (e, t) { e = DayPilot.Util.atLeast(e, 0); var n = this.Fa(e), a = t / (60 / l.ga()) / s.cellHeight, i = 60 * a * 60 * 1e3, r = 6e4 * Math.floor(i / 6e4), o = this.Ca[n]; return o ? o.start.addTime(r) : null; }, this.Ka = function (e, t) { var n = e.getTime(); t && (n -= t.getTime()); var a = 60 * l.ga() * 1e3, i = n % a; return e.addTime(-i); }, this.Ja = function (e, t) { var n = this.Ka(e, t); return n.getTime() === e.getTime() ? n : n.addTime(60 * l.ga() * 1e3); }, this.La = {}, this.La.getCellCoords = function () { var e = {}; if (e.x = 0, e.y = 0, !s.coords)
|
|
1138
1138
|
return null; e.x = s.Fa(s.coords.x); var t = 0, n = Math.floor((s.coords.y - t) / s.cellHeight); return e.y = n, e.x < 0 ? null : e; }, this.Ma = function (e) { var t = s.ta(); return e < t && (e += 24), (e - t) * (60 / l.ga()) * s.cellHeight; }, this.Na = function (e) { var t = s.ta(); return e / (60 / l.ga()) / s.cellHeight + t; }, this.scrollToHour = function (e) { s.nav.scroll.scrollTop = s.Ma(e); }, this.zoom = {}, this.zoom.active = -1, this.zoom.setActive = function (e) { var t; if ("number" == typeof e)
|
|
1139
1139
|
t = s.zoomLevels[e];
|
|
1140
1140
|
else {
|
|
@@ -1325,8 +1325,7 @@ var DayPilot = { Global: {} };
|
|
|
1325
1325
|
this.fasterDispose || DayPilot.pu(c.rows[0]), c.deleteRow(0);
|
|
1326
1326
|
for (var u = d.length, h = c.insertRow(-1), f = 0; f < u; f++) {
|
|
1327
1327
|
var v = h.insertCell(-1);
|
|
1328
|
-
v.style.padding = "0px", v.style.border = "0px none",
|
|
1329
|
-
v.style.height = "0px", v.style.overflow = "visible", s.rtl || (v.style.textAlign = "left");
|
|
1328
|
+
v.style.padding = "0px", v.style.border = "0px none", v.style.height = "0px", v.style.overflow = "visible", s.rtl || (v.style.textAlign = "left");
|
|
1330
1329
|
var p = document.createElement("div");
|
|
1331
1330
|
p.style.marginRight = s.columnMarginRight + "px", p.style.marginLeft = s.columnMarginLeft + "px", p.style.position = "relative", p.style.height = "1px", p.style.marginTop = "-1px";
|
|
1332
1331
|
var m = document.createElement("div");
|
|
@@ -1776,15 +1775,20 @@ var DayPilot = { Global: {} };
|
|
|
1776
1775
|
var d = DayPilot.abs(l);
|
|
1777
1776
|
r.x = d.x, r.y = d.y + d.h + 2, a.rtl && (r.x = d.x + d.w);
|
|
1778
1777
|
}
|
|
1779
|
-
} }(), function () {
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1778
|
+
} }(), function () {
|
|
1779
|
+
var e = "number" == typeof r.x ? r.x : t.mouse.x + 1, n = "number" == typeof r.y ? r.y : t.mouse.y + 1, i = document.body.scrollTop || document.documentElement.scrollTop, o = document.body.scrollLeft || document.documentElement.scrollLeft, s = 0, d = 0;
|
|
1780
|
+
if (n - i > A - E && 0 !== A) {
|
|
1781
|
+
s = n - (n - i - (A - E) + I);
|
|
1782
|
+
}
|
|
1783
|
+
else
|
|
1784
|
+
s = n;
|
|
1785
|
+
if (a.$b.y = s, l.style.top = s + "px", ("right" === r.align || a.rtl) && (e -= H), e - o > N - H && 0 !== N) {
|
|
1786
|
+
d = e - (e - o - (N - H) + I);
|
|
1787
|
+
}
|
|
1788
|
+
else
|
|
1789
|
+
d = e;
|
|
1790
|
+
a.$b.x = d, l.style.left = d + "px";
|
|
1791
|
+
}(), r.parentLink) {
|
|
1788
1792
|
var R = r.parentLink, z = parseInt(new DayPilot.StyleReader(l).get("border-top-width")), P = DayPilot.abs(r.parentLink.parentNode), U = P.x + R.offsetWidth;
|
|
1789
1793
|
a.rtl && (U = P.x - H);
|
|
1790
1794
|
var L = P.y - z;
|
|
@@ -1973,15 +1977,11 @@ var DayPilot = { Global: {} };
|
|
|
1973
1977
|
} }, this.Ec = function () { if (t.hideDiv && t.div && "none" !== t.hideDiv.style.display && "none" !== t.div.style.display) {
|
|
1974
1978
|
var e = t.Fc.scrollY();
|
|
1975
1979
|
t.scrollWithPage || (t.div.style.top = e + t.top + "px");
|
|
1976
|
-
} }, this.Fc = {}, this.Fc.container = function () { return t.container || document.body; }, this.Fc.scrollY = function () { var e = t.Fc.container(); return e === document.body ? window.pageYOffset ? window.pageYOffset : document.documentElement && document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop : e.scrollTop; }, this.re = function (e, t, n) { e.addEventListener ? e.addEventListener(t, n, !1) : e.attachEvent && e.attachEvent("on" + t, n); }, this.ue = function (e, t, n) { e.removeEventListener ? e.removeEventListener(t, n, !1) : e.detachEvent && e.detachEvent("on" + t, n); }, this.mc = function (e) {
|
|
1977
|
-
e
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
var r = document.createElement("div");
|
|
1981
|
-
r.id = this.id + "popup", r.style.position = a, r.style.left = "50%", r.style.top = "0px", r.style.backgroundColor = "white", r.style.width = "50px", r.style.height = "50px", this.dragDrop && (r.onmousedown = this.Bc), r.addEventListener("keydown", function (e) { e.stopPropagation(); });
|
|
1982
|
-
var o = null;
|
|
1983
|
-
this.useIframe && (o = document.createElement("iframe"), o.id = this.id + "iframe", o.name = this.id + "iframe", o.frameBorder = "0", o.style.width = "100%", o.style.height = "50px", r.appendChild(o)), e.appendChild(r), this.div = r, this.iframe = o, this.hideDiv = i;
|
|
1984
|
-
}, this.setInnerHTML = function (e, n) { var a = window.frames[e], i = a.contentWindow || a.document || a.contentDocument; i.document && (i = i.document), null == i.body && i.write("<body></body>"), n.nodeType ? i.body.appendChild(n) : i.body.innerHTML = n, t.autoStretch && (t.autoStretchFirstLoadOnly && t.Gc || (t.stretch(), t.Gc = !0)); }, this.close = function (e) { this.result = e, this.hide(); }, this.closeSerialized = function () { for (var e = t.rc(), n = e.querySelectorAll("input, textarea, select"), a = {}, i = 0; i < n.length; i++) {
|
|
1980
|
+
} }, this.Fc = {}, this.Fc.container = function () { return t.container || document.body; }, this.Fc.scrollY = function () { var e = t.Fc.container(); return e === document.body ? window.pageYOffset ? window.pageYOffset : document.documentElement && document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop : e.scrollTop; }, this.re = function (e, t, n) { e.addEventListener ? e.addEventListener(t, n, !1) : e.attachEvent && e.attachEvent("on" + t, n); }, this.ue = function (e, t, n) { e.removeEventListener ? e.removeEventListener(t, n, !1) : e.detachEvent && e.detachEvent("on" + t, n); }, this.mc = function (e) {
|
|
1981
|
+
return e.pageX || e.pageY ? { x: e.pageX, y: e.pageY } : { x: e.clientX + document.documentElement.scrollLeft, y: e.clientY + document.documentElement.scrollTop
|
|
1982
|
+
};
|
|
1983
|
+
}, this.abs = function (e) { for (var t = { x: e.offsetLeft, y: e.offsetTop }; e.offsetParent;)
|
|
1984
|
+
e = e.offsetParent, t.x += e.offsetLeft, t.y += e.offsetTop; return t; }, this.lc = function () { var e = t.Fc.container(), n = e === document.body, a = n ? "fixed" : "absolute", i = document.createElement("div"); i.id = this.id + "hide", i.style.position = a, i.style.left = "0px", i.style.top = "0px", i.style.right = "0px", i.style.bottom = "0px", i.oncontextmenu = function () { return !1; }, i.onmousedown = function () { return !1; }, e.appendChild(i); var r = document.createElement("div"); r.id = this.id + "popup", r.style.position = a, r.style.left = "50%", r.style.top = "0px", r.style.backgroundColor = "white", r.style.width = "50px", r.style.height = "50px", this.dragDrop && (r.onmousedown = this.Bc), r.addEventListener("keydown", function (e) { e.stopPropagation(); }); var o = null; this.useIframe && (o = document.createElement("iframe"), o.id = this.id + "iframe", o.name = this.id + "iframe", o.frameBorder = "0", o.style.width = "100%", o.style.height = "50px", r.appendChild(o)), e.appendChild(r), this.div = r, this.iframe = o, this.hideDiv = i; }, this.setInnerHTML = function (e, n) { var a = window.frames[e], i = a.contentWindow || a.document || a.contentDocument; i.document && (i = i.document), null == i.body && i.write("<body></body>"), n.nodeType ? i.body.appendChild(n) : i.body.innerHTML = n, t.autoStretch && (t.autoStretchFirstLoadOnly && t.Gc || (t.stretch(), t.Gc = !0)); }, this.close = function (e) { this.result = e, this.hide(); }, this.closeSerialized = function () { for (var e = t.rc(), n = e.querySelectorAll("input, textarea, select"), a = {}, i = 0; i < n.length; i++) {
|
|
1985
1985
|
var r = n[i], o = r.name;
|
|
1986
1986
|
if (o) {
|
|
1987
1987
|
var s = r.value;
|
|
@@ -2221,8 +2221,8 @@ var DayPilot = { Global: {} };
|
|
|
2221
2221
|
e.Month = function (n, a) {
|
|
2222
2222
|
this.v = "${v}", this.nav = {};
|
|
2223
2223
|
var i = this;
|
|
2224
|
-
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",
|
|
2225
|
-
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.R = !1, this.S = {};
|
|
2224
|
+
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",
|
|
2225
|
+
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.R = !1, this.S = {};
|
|
2226
2226
|
var r = this.S;
|
|
2227
2227
|
this.Y = function (e) { var t = JSON.parse(e); return t.CallBackRedirect ? void (document.location.href = t.CallBackRedirect) : "None" === t.UpdateType ? void i.fireAfterRenderDetached(t.CallBackData, !0) : (i.events.list = t.Events, "Full" === t.UpdateType && (i.startDate = t.StartDate, i.timeFormat = t.TimeFormat ? t.TimeFormat : i.timeFormat, "undefined" != typeof t.WeekStarts && (i.weekStarts = t.WeekStarts), i.hashes = t.Hashes), i._(), i.md(), i.ia(), "Full" === t.UpdateType && (i.nd(), i.od()), i.na(), i.show(), i.oa(), void i.fireAfterRenderDetached(t.CallBackData, !0)); }, this.fireAfterRenderDetached = function (e, t) { var n = function (e, t) { return function () { i.afterRender && i.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)
|
|
2228
2228
|
t = e.data;
|
|
@@ -2680,9 +2680,7 @@ var DayPilot = { Global: {} };
|
|
|
2680
2680
|
(0, e(o).assign)(t, i);
|
|
2681
2681
|
}
|
|
2682
2682
|
for (var s in a)
|
|
2683
|
-
0 === s.indexOf("on") && !function (n) {
|
|
2684
|
-
i[n] = function (i) { var r = e(a[n]); t["$apply"](function () { r(t, { "args": i }); }); };
|
|
2685
|
-
}(s);
|
|
2683
|
+
0 === s.indexOf("on") && !function (n) { i[n] = function (i) { var r = e(a[n]); t["$apply"](function () { r(t, { "args": i }); }); }; }(s);
|
|
2686
2684
|
var l = t["$watch"], d = a["config"] || a["daypilotConfig"], c = a["events"] || a["daypilotEvents"];
|
|
2687
2685
|
l.call(t, d, function (e) { for (var t in e)
|
|
2688
2686
|
i[t] = e[t]; i.update(); }, !0), l.call(t, c, function (e) { i.events.list = e, i.update(); }, !0);
|
|
@@ -3556,16 +3554,16 @@ var DayPilot = { Global: {} };
|
|
|
3556
3554
|
u && a && (u.cache = this.Ib.events[i]);
|
|
3557
3555
|
}
|
|
3558
3556
|
}
|
|
3559
|
-
} s.rowlist.forEach(function (e) { s.Rg(e); }), s.ng(); }, c.rowcache = {}, c.prepareRows = function (e) {
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
var
|
|
3563
|
-
|
|
3557
|
+
} s.rowlist.forEach(function (e) { s.Rg(e); }), s.ng(); }, c.rowcache = {}, c.prepareRows = function (e) {
|
|
3558
|
+
c.rowcache = {};
|
|
3559
|
+
for (var t = s.rowlist, n = 0; n < t.length; n++) {
|
|
3560
|
+
var a = t[n];
|
|
3561
|
+
if (e && a.resetEvents(), s._f(a.index), a.id) {
|
|
3562
|
+
var i = typeof a.id + "_" + a.id;
|
|
3563
|
+
c.rowcache[i] || (c.rowcache[i] = []), c.rowcache[i].push(a);
|
|
3564
|
+
}
|
|
3564
3565
|
}
|
|
3565
|
-
} }, this.
|
|
3566
|
-
var t = typeof e + "_" + e;
|
|
3567
|
-
return c.rowcache[t] || [];
|
|
3568
|
-
}, this.dg = function () { for (var e = {}, t = 0; t < s.rowlist.length; t++) {
|
|
3566
|
+
}, this.Qg = function (e) { var t = typeof e + "_" + e; return c.rowcache[t] || []; }, this.dg = function () { for (var e = {}, t = 0; t < s.rowlist.length; t++) {
|
|
3569
3567
|
var n = s.rowlist[t], a = n.id;
|
|
3570
3568
|
if (e[a])
|
|
3571
3569
|
return !0;
|
|
@@ -3928,36 +3926,30 @@ var DayPilot = { Global: {} };
|
|
|
3928
3926
|
var e = this.nav.corner;
|
|
3929
3927
|
if (e) {
|
|
3930
3928
|
var t = this.divCorner;
|
|
3931
|
-
e.className = this.M("_corner"),
|
|
3932
|
-
var e = {};
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
case "top":
|
|
3953
|
-
t.style.alignItems = "flex-start";
|
|
3954
|
-
break;
|
|
3955
|
-
case "bottom": t.style.alignItems = "flex-end";
|
|
3956
|
-
}
|
|
3929
|
+
e.className = this.M("_corner"),
|
|
3930
|
+
t.className = this.M("_corner_inner"), function () { var e = {}; e.control = s, e.backColor = null, e.html = s.cornerHtml, e.text = s.cornerText, e.verticalAlignment = null, e.horizontalAlignment = null, e.areas = null, "function" == typeof s.onBeforeCornerRender && s.onBeforeCornerRender(e); var t = s.divCorner; if (t) {
|
|
3931
|
+
var n = s.jb(e.text, e.html), a = e.horizontalAlignment, i = e.verticalAlignment;
|
|
3932
|
+
if (t.innerHTML = n || "", e.backColor && (t.style.background = e.backColor), a || i) {
|
|
3933
|
+
switch (t.style.display = "flex", a) {
|
|
3934
|
+
case "right":
|
|
3935
|
+
t.style.justifyContent = "flex-end";
|
|
3936
|
+
break;
|
|
3937
|
+
case "left":
|
|
3938
|
+
t.style.justifyContent = "flex-start";
|
|
3939
|
+
break;
|
|
3940
|
+
case "center": t.style.justifyContent = "center";
|
|
3941
|
+
}
|
|
3942
|
+
switch (i) {
|
|
3943
|
+
case "center":
|
|
3944
|
+
t.style.alignItems = "center";
|
|
3945
|
+
break;
|
|
3946
|
+
case "top":
|
|
3947
|
+
t.style.alignItems = "flex-start";
|
|
3948
|
+
break;
|
|
3949
|
+
case "bottom": t.style.alignItems = "flex-end";
|
|
3957
3950
|
}
|
|
3958
3951
|
}
|
|
3959
|
-
|
|
3960
|
-
}();
|
|
3952
|
+
} e.areas && DayPilot.Areas.attach(s.nav.corner, {}, { "areas": e.areas }); }();
|
|
3961
3953
|
}
|
|
3962
3954
|
}, this.ng = function () { s.rowlist.forEach(function (e) { var t = e.getHeight() + s.rowMarginTop + s.rowMarginBottom; e.height !== t && (s.yf = !0), e.height = t; }), s.yf && (s.Ib.drawArea = null); }, this.lf = function () { s.rowlist.forEach(function (e) { var t = s.divHeader; if (t) {
|
|
3963
3955
|
var n = e.index;
|