@daypilot/daypilot-lite-angular 4.2.1 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/core/daypilot-core.mjs +493 -432
- package/fesm2015/daypilot-daypilot-lite-angular.mjs +220 -193
- package/fesm2015/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/fesm2020/daypilot-daypilot-lite-angular.mjs +490 -429
- package/fesm2020/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/lib/core/daypilot-core.d.ts +1 -0
- 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.3.
|
|
147
|
+
Version: 2025.3.696-lite
|
|
148
148
|
*/
|
|
149
149
|
var DayPilot = {};
|
|
150
150
|
if ("undefined" == typeof DayPilot)
|
|
@@ -191,14 +191,23 @@ if (function () {
|
|
|
191
191
|
}
|
|
192
192
|
return n;
|
|
193
193
|
} return DayPilot.absOffsetBased(e, t); }, DayPilot.absBoundingClientBased = function (e) { var t = e.getBoundingClientRect(); return { x: t.left + window.pageXOffset, y: t.top + window.pageYOffset, w: e.clientWidth, h: e.clientHeight, toString: function () { return "x:" + this.x + " y:" + this.y + " w:" + this.w + " h:" + this.h; } }; }, DayPilot.absOffsetBased = function (e, t) { for (var n = { x: e.offsetLeft, y: e.offsetTop, w: e.clientWidth, h: e.clientHeight, toString: function () { return "x:" + this.x + " y:" + this.y + " w:" + this.w + " h:" + this.h; } }; e.offsetParent;)
|
|
194
|
-
e = e.offsetParent, n.x -= e.scrollLeft, n.y -= e.scrollTop, t && (n.x < 0 && (n.w += n.x, n.x = 0), n.y < 0 && (n.h += n.y, n.y = 0), e.scrollLeft > 0 && n.x + n.w > e.clientWidth && (n.w -= n.x + n.w - e.clientWidth), e.scrollTop && n.y + n.h > e.clientHeight && (n.h -= n.y + n.h - e.clientHeight)), n.x += e.offsetLeft, n.y += e.offsetTop; var i = DayPilot.pageOffset(); return n.x += i.x, n.y += i.y, n; }, DayPilot.isArray = function (e) { return "[object Array]" === Object.prototype.toString.call(e); }, DayPilot.distance = function (e, t) { return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2)); }, DayPilot.sheet = function () {
|
|
195
|
-
var
|
|
196
|
-
|
|
197
|
-
|
|
194
|
+
e = e.offsetParent, n.x -= e.scrollLeft, n.y -= e.scrollTop, t && (n.x < 0 && (n.w += n.x, n.x = 0), n.y < 0 && (n.h += n.y, n.y = 0), e.scrollLeft > 0 && n.x + n.w > e.clientWidth && (n.w -= n.x + n.w - e.clientWidth), e.scrollTop && n.y + n.h > e.clientHeight && (n.h -= n.y + n.h - e.clientHeight)), n.x += e.offsetLeft, n.y += e.offsetTop; var i = DayPilot.pageOffset(); return n.x += i.x, n.y += i.y, n; }, DayPilot.isArray = function (e) { return "[object Array]" === Object.prototype.toString.call(e); }, DayPilot.distance = function (e, t) { return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2)); }, DayPilot.sheet = function () { function e() { for (var e = document.querySelectorAll("style[nonce]"), t = 0; t < e.length; t++) {
|
|
195
|
+
var n = e[t];
|
|
196
|
+
if (n.nonce)
|
|
197
|
+
return n.nonce;
|
|
198
|
+
} if (document.currentScript && document.currentScript.nonce)
|
|
199
|
+
return document.currentScript.nonce; for (var i = document.querySelectorAll("script[nonce]"), a = 0; a < i.length; a++) {
|
|
200
|
+
var o = i[a];
|
|
201
|
+
if (o.nonce)
|
|
202
|
+
return o.nonce;
|
|
203
|
+
} return ""; } if ("undefined" == typeof window) {
|
|
204
|
+
var t = {};
|
|
205
|
+
return t.add = function () { }, t.commit = function () { }, t;
|
|
206
|
+
} var n = document.createElement("style"); n.nonce = e(), n.styleSheet || n.appendChild(document.createTextNode("")), (document.head || document.getElementsByTagName("head")[0]).appendChild(n); var i = !!n.styleSheet, t = {}; return t.rules = [], t.commit = function () { i && (n.styleSheet.cssText = this.rules.join("\n")); }, t.add = function (e, t, a) { return i ? void this.rules.push(e + "{" + t + "}") : void (n.sheet.insertRule ? ("undefined" == typeof a && (a = n.sheet.cssRules.length), n.sheet.insertRule(e + "{" + t + "}", a)) : n.sheet.addRule && n.sheet.addRule(e, t, a)); }, t; }, DayPilot.gs = function (e, t) { return window.getComputedStyle(e, null).getPropertyValue(t) || ""; }, DayPilot.StyleReader = function (e) { this.get = function (t) { return e ? DayPilot.gs(e, t) : null; }, this.getPx = function (e) { var t = this.get(e); return t.indexOf("px") === -1 ? void 0 : parseInt(t, 10); }; }, function () {
|
|
198
207
|
if (!DayPilot.Global.defaultCss) {
|
|
199
208
|
var e = DayPilot.sheet();
|
|
200
|
-
e.add(".menu_default_main", "user-select:none; font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size: 13px;border: 1px solid #dddddd;background-color: white;padding: 0px;cursor: default;background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAABCAIAAABG0om7AAAAKXRFWHRDcmVhdGlvbiBUaW1lAHBvIDEwIDUgMjAxMCAyMjozMzo1OSArMDEwMGzy7+IAAAAHdElNRQfaBQoUJAesj4VUAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAABGdBTUEAALGPC/xhBQAAABVJREFUeNpj/P//PwO1weMnT2RlZAAYuwX/4oA3BgAAAABJRU5ErkJggg==);background-repeat: repeat-y;xborder-radius: 5px;-moz-box-shadow:0px 2px 3px rgba(000,000,000,0.3),inset 0px 0px 2px rgba(255,255,255,0.8);-webkit-box-shadow:0px 2px 3px rgba(000,000,000,0.3),inset 0px 0px 2px rgba(255,255,255,0.8);box-shadow:0px 2px 3px rgba(000,000,000,0.3),inset 0px 0px 2px rgba(255,255,255,0.8);"), e.add(".menu_default_main, .menu_default_main *, .menu_default_main *:before, .menu_default_main *:after", "box-sizing: content-box;"), e.add(".menu_default_title", "background-color: #f2f2f2;border-bottom: 1px solid gray;padding: 4px 4px 4px 37px;"), e.add(".menu_default_main a", "padding: 2px 2px 2px 35px;color: black;text-decoration: none;cursor: default;"), e.add(".menu_default_main.menu_default_withchildren a", "padding: 2px 35px 2px 35px;"), e.add(".menu_default_main a img", "margin-left: 6px;margin-top: 2px;"), e.add(".menu_default_item_text", "display: block;height: 20px;line-height: 20px; overflow:hidden;padding-left: 2px;padding-right: 20px; white-space: nowrap;"), e.add(".menu_default_main a:hover", "background-color: #f3f3f3;"), e.add(".menu_default_main div div", "border-top: 1px solid #dddddd;margin-top: 2px;margin-bottom: 2px;margin-left: 28px;"), e.add(".menu_default_main a.menu_default_item_disabled", "color: #ccc"), e.add(".menu_default_item_haschildren.menu_default_item_haschildren_active", "background-color: #f3f3f3;"), e.add(".menu_default_item_haschildren a:before", "content: ''; border-width: 5px; border-color: transparent transparent transparent #666; border-style: solid; width: 0px; height:0px; position: absolute; right: 5px; margin-top: 5px;"), e.add(".menu_default_item_icon", "position: absolute; top:0px; left: 0px; padding: 2px 2px 2px 8px;"), e.add(".menu_default_item a i", "height: 20px;line-height: 20px;"), e.add(".menu_default_item .menu_default_item_symbol", "width: 18px; height: 18px; color: #999; margin-left: 6px;margin-top: 2px;"), e.add(".menubar_default_main", "border-bottom: 1px solid #ccc; font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px; user-select:none;"), e.add(".menubar_default_item", "display: inline-block; padding: 6px 10px; cursor: default;"), e.add(".menubar_default_item:hover", "background-color: #f2f2f2;"), e.add(".menubar_default_item_active", "background-color: #f2f2f2;"), e.add(".calendar_default_main", " --dp-calendar-border-color: #c0c0c0; --dp-calendar-font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; --dp-calendar-font-size: 13px; --dp-calendar-header-bg-color: #f3f3f3; --dp-calendar-header-color: #333; --dp-calendar-colheader-padding: 0px; --dp-calendar-rowheader-font-size: 16pt; --dp-calendar-rowheader-padding: 3px; --dp-calendar-cell-bg-color: #f9f9f9; --dp-calendar-cell-business-bg-color: #ffffff; --dp-calendar-cell-border-color: #ddd; --dp-calendar-colheader-horizontal-align: center; --dp-calendar-colheader-vertical-align: center; --dp-calendar-allday-event-color: #333; --dp-calendar-allday-event-border-color: #999; --dp-calendar-allday-event-border: 1px solid var(--dp-calendar-allday-event-border-color); --dp-calendar-allday-event-border-radius: 0px; --dp-calendar-allday-event-bg-top-color: #ffffff; --dp-calendar-allday-event-bg-bottom-color: #eeeeee; --dp-calendar-allday-event-background: linear-gradient(to bottom, var(--dp-calendar-allday-event-bg-top-color) 0%, var(--dp-calendar-allday-event-bg-bottom-color) 100%); --dp-calendar-allday-event-box-shadow: none; --dp-calendar-allday-event-padding: 4px; --dp-calendar-allday-event-horizontal-align: flex-start; --dp-calendar-event-color: #333; --dp-calendar-event-border-color: #999; --dp-calendar-event-border: 1px solid var(--dp-calendar-event-border-color); --dp-calendar-event-border-radius: 0px; --dp-calendar-event-box-shadow: none; --dp-calendar-event-bg-top-color: #ffffff; --dp-calendar-event-bg-bottom-color: #eeeeee; --dp-calendar-event-background: linear-gradient(to bottom, var(--dp-calendar-event-bg-top-color) 0%, var(--dp-calendar-event-bg-bottom-color) 100%); --dp-calendar-event-bar-bg-color: #9dc8e8; --dp-calendar-event-bar-color: #1066a8; --dp-calendar-event-bar-width: 6px; --dp-calendar-event-bar-left: 0px; --dp-calendar-event-bar-bottom: 0px; --dp-calendar-event-bar-top: 0px; --dp-calendar-event-bar-display: block; --dp-calendar-event-padding: 2px; --dp-calendar-event-padding-left: 8px; --dp-calendar-message-bg-color: #ffa216; --dp-calendar-message-color: #ffffff; --dp-calendar-message-padding: 10px; --dp-calendar-message-opacity: 0.9; --dp-calendar-selected-event-bg-color: #ddd; --dp-calendar-shadow-color: #bbbbbb; --dp-calendar-shadow-border-color: #888888; --dp-calendar-forbidden-shadow-border-color: #cc0000; --dp-calendar-forbidden-shadow-bg-color: #cc4125; --dp-calendar-now-indicator-color: red; --dp-calendar-scroll-bg-color: #f3f3f3;"), e.add(".calendar_default_main *, .calendar_default_main *:before, .calendar_default_main *:after", "box-sizing: content-box;"), e.add(".calendar_default_main", "border:1px solid var(--dp-calendar-border-color); font-family:var(--dp-calendar-font-family); font-size:var(--dp-calendar-font-size);"), e.add(".calendar_default_rowheader_inner, .calendar_default_cornerright_inner, .calendar_default_corner_inner, .calendar_default_colheader_inner, .calendar_default_alldayheader_inner", "color: var(--dp-calendar-header-color); background: var(--dp-calendar-header-bg-color);"), e.add(".calendar_default_colheader_back", "background: var(--dp-calendar-header-bg-color); border-bottom: 1px solid red;"), e.add(".calendar_default_colheader_back_inner", "position: absolute; inset: 0; border-bottom: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_cornerright_inner", "position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-bottom: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_direction_rtl .calendar_default_cornerright_inner", "border-right: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_rowheader_inner", "font-size: var(--dp-calendar-rowheader-font-size); text-align: right; position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-right: 1px solid var(--dp-calendar-border-color); border-bottom: 1px solid var(--dp-calendar-border-color); padding: var(--dp-calendar-rowheader-padding);"), e.add(".calendar_default_rowheader_simple .calendar_default_rowheader_inner", "font-size: inherit; display: flex; align-items: center; justify-content: center; white-space: nowrap;"), e.add(".calendar_default_direction_rtl .calendar_default_rowheader_inner", "border-right: none;"), e.add(".calendar_default_corner_inner", "position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-right: 1px solid var(--dp-calendar-border-color); border-bottom: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_direction_rtl .calendar_default_corner_inner", "border-right: none;"), e.add(".calendar_default_rowheader_minutes", "font-size: 10px; vertical-align: super; padding-left: 2px; padding-right: 2px;"), e.add(".calendar_default_colheader_inner", "position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; padding: var(--dp-calendar-colheader-padding);border-right: 1px solid var(--dp-calendar-border-color); border-bottom: 1px solid var(--dp-calendar-border-color); display: flex; align-items: var(--dp-calendar-colheader-vertical-align); justify-content: var(--dp-calendar-colheader-horizontal-align);"), e.add(".calendar_default_cell_inner", "position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-right: 1px solid var(--dp-calendar-cell-border-color); border-bottom: 1px solid var(--dp-calendar-cell-border-color); background: var(--dp-calendar-cell-bg-color);"), e.add(".calendar_default_cell_business .calendar_default_cell_inner", "background: var(--dp-calendar-cell-business-bg-color);"), e.add(".calendar_default_alldayheader_inner", "text-align: center; position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-right: 1px solid var(--dp-calendar-border-color); border-bottom: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_message", "opacity: var(--dp-calendar-message-opacity); padding: var(--dp-calendar-message-padding); color: var(--dp-calendar-message-color); background: var(--dp-calendar-message-bg-color);"), e.add(".calendar_default_event_inner", "color: var(--dp-calendar-event-color); border: var(--dp-calendar-event-border); border-radius: var(--dp-calendar-event-border-radius); background: var(--dp-calendar-event-background);"), e.add(".calendar_default_alldayevent", "box-shadow: var(--dp-calendar-allday-event-box-shadow); border-radius: var(--dp-calendar-allday-event-border-radius);"), e.add(".calendar_default_alldayevent_inner", "color: var(--dp-calendar-allday-event-color); border: var(--dp-calendar-allday-event-border); border-radius: var(--dp-calendar-allday-event-border-radius); background: var(--dp-calendar-allday-event-background);"), e.add(".calendar_default_event_bar", "display: var(--dp-calendar-event-bar-display); top: var(--dp-calendar-event-bar-top); bottom: var(--dp-calendar-event-bar-bottom); left: var(--dp-calendar-event-bar-left); width: var(--dp-calendar-event-bar-width); background-color: var(--dp-calendar-event-bar-bg-color);"), e.add(".calendar_default_direction_rtl .calendar_default_event_bar", "top: 0px; bottom: 0px; right: 0px; width: var(--dp-calendar-event-bar-width); background-color: var(--dp-calendar-event-bar-bg-color);"), e.add(".calendar_default_event_bar_inner", "position: absolute; width: var(--dp-calendar-event-bar-width); background-color: var(--dp-calendar-event-bar-color);"), e.add(".calendar_default_selected .calendar_default_event_inner", "background: var(--dp-calendar-selected-event-bg-color);"), e.add(".calendar_default_alldayevent_inner", "position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; overflow: hidden; padding: var(--dp-calendar-allday-event-padding); margin-right: 0px; display: flex; align-items: center; justify-content: var(--dp-calendar-allday-event-horizontal-align);"), e.add(".calendar_default_event_withheader .calendar_default_event_inner", "padding-top: 15px;"), e.add(".calendar_default_event", "box-shadow: var(--dp-calendar-event-box-shadow); border-radius: var(--dp-calendar-event-border-radius); cursor: default;"), e.add(".calendar_default_event_inner", "position: absolute; overflow: hidden; top: 0px; bottom: 0px; left: 0px; right: 0px; padding: var(--dp-calendar-event-padding) var(--dp-calendar-event-padding) var(--dp-calendar-event-padding) var(--dp-calendar-event-padding-left);"), e.add(".calendar_default_direction_rtl .calendar_default_event_inner", "padding: 2px 8px 2px 2px;"), e.add(".calendar_default_shadow_inner", "box-sizing: border-box; background-color: var(--dp-calendar-shadow-color); border: 1px solid var(--dp-calendar-shadow-border-color); opacity: 0.5; height: 100%;"), e.add(".calendar_default_shadow", "box-shadow: 0 2px 5px rgba(0,0,0,0.2);"), e.add(".calendar_default_shadow_forbidden:after", "content: ''; position: absolute; top: 5px; left: calc(50% - 10px); border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2720%27 height=%2720%27 viewBox=%270 0 20 20%27%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%279%27 fill=%27%23cc0000aa%27 /%3E%3Cline x1=%275%27 y1=%275%27 x2=%2715%27 y2=%2715%27 stroke=%27white%27 stroke-width=%271.5%27/%3E%3Cline x1=%2715%27 y1=%275%27 x2=%275%27 y2=%2715%27 stroke=%27white%27 stroke-width=%271.5%27/%3E%3C/svg%3E'); background-repeat: no-repeat; background-position: center; background-size: contain;"), e.add(".calendar_default_shadow_forbidden .calendar_default_shadow_inner", "border: 1px solid var(--dp-calendar-forbidden-shadow-border-color); background: var(--dp-calendar-forbidden-shadow-bg-color);"), e.add(".calendar_default_event_delete", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAI5JREFUKFNtkLERgCAMRbmzdK8s4gAUlhYOYEHJEJYOYOEwDmGBPxC4kOPfvePy84MGR0RJ2N1A8H3N6DATwSQ57m2ql8NBG+AEM7D+UW+wjdfUPgerYNgB5gOLRHqhcasg84C2QxPMtrUhSqQIhg7ypy9VM2EUZPI/4rQ7rGxqo9sadTegw+UdjeDLAKUfhbaQUVPIfJYAAAAASUVORK5CYII=) center center no-repeat; opacity: 0.6; cursor: pointer;"), e.add(".calendar_default_event_delete:hover", "opacity: 1; -ms-filter: none;"), e.add(".calendar_default_scroll_up", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAB3RJTUUH2wESDiYcrhwCiQAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAARnQU1BAACxjwv8YQUAAACcSURBVHjaY2AgF9wWsTW6yGMlhi7OhC7AyMDQzMnBXIpFHAFuCtuaMTP+P8nA8P/b1x//FfW/HHuF1UQmxv+NUP1c3OxMVVhNvCVi683E8H8LXOY/w9+fTH81tF8fv4NiIpBRj+YoZtZ/LDUoJmKYhsVUpv0MDiyMDP96sIYV0FS2/8z9ICaLlOhvS4b/jC//MzC8xBG0vJeF7GQBlK0xdiUzCtsAAAAASUVORK5CYII=);"), e.add(".calendar_default_scroll_down", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAALiMAAC4jAXilP3YAAACqSURBVChTY7wpam3L9J+xmQEP+PGPKZZxP4MDi4zI78uMDIwa2NT+Z2DYovrmiC+TI8OBP/8ZmEqwGvif4e8vxr+FIDkmEKH25vBWBgbG0+iK/zEwLtF+ffwOXCGI8Y+BoRFFIdC030x/WmBiYBNhpgLdswNJ8RSYaSgmgk39z1gPUfj/29ef/9rwhQTDHRHbrbdEbLvRFcGthkkAra/9/uMvhkK8piNLAgCRpTnNn4AEmAAAAABJRU5ErkJggg==);"), e.add(".calendar_default_now", "background-color: var(--dp-calendar-now-indicator-color);"), e.add(".calendar_default_now:before", "content: ''; top: -5px; border-width: 5px; border-color: transparent transparent transparent var(--dp-calendar-now-indicator-color); border-style: solid; width: 0px; height: 0px; position: absolute; -moz-transform: scale(.9999);"), e.add(".calendar_default_shadow_top", "box-sizing: border-box; padding: 2px; border: 1px solid var(--dp-calendar-border-color); background: linear-gradient(to bottom, #ffffff 0%, #eeeeee); pointer-events: none;"), e.add(".calendar_default_shadow_bottom", "box-sizing: border-box; padding: 2px; border: 1px solid var(--dp-calendar-border-color); background: linear-gradient(to bottom, #ffffff 0%, #eeeeee); pointer-events: none;"), e.add(".calendar_default_crosshair_vertical, .calendar_default_crosshair_horizontal, .calendar_default_crosshair_left, .calendar_default_crosshair_top", "background-color: gray; opacity: 0.2;"), e.add(".calendar_default_loading", "background-color: orange; color: white; padding: 2px;"), e.add(".calendar_default_scroll", "background-color: var(--dp-calendar-header-bg-color);"), e.add(".calendar_default_event_moving_source", "opacity: 0.5;"), e.add(".calendar_default_colmove_handle", "background-repeat: no-repeat; background-position: center center; background-color: #ccc; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAKCAYAAACT+/8OAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAClJREFUGFdj+P//P4O9vX2Bg4NDP4gNFgBytgPxebgAMsYuQGMz/jMAAFsTZDPYJlDHAAAAAElFTkSuQmCC); cursor: move;"), e.add(".calendar_default_colheader:hover .calendar_default_colheader_splitter", "background-color: #c0c0c0;"), e.add(".calendar_default_colmove_source", "background-color: black; opacity: 0.5;"), e.add(".calendar_default_colmove_position_before", "box-sizing: border-box; border-left: 2px solid #999999;"), e.add(".calendar_default_colmove_position_before:before", "content: ''; border-width: 6px; border-color: transparent #999999 transparent transparent; border-style: solid; width: 0px; height: 0px; position: absolute;"), e.add(".calendar_default_colmove_position_after", "box-sizing: border-box; border-right: 2px solid #999999;"), e.add(".calendar_default_colmove_position_after:before", "content: ''; border-width: 6px; border-color: transparent transparent transparent #999999; border-style: solid; width: 0px; height: 0px; position: absolute;"), e.add(".calendar_default_colmove_position_child", "box-sizing: border-box; border-bottom: 2px solid #999999;"), e.add(".calendar_default_colmove_position_child:before", "content: ''; border-width: 6px; border-color: #999999 transparent transparent transparent; border-style: solid; width: 0px; height: 0px; position: absolute;"), e.add(".calendar_default_colmove_position_forbidden", "border-top: 2px solid red;"), e.add(".calendar_default_colheader .calendar_default_colheader_splitter:hover", "background-color: #999999;"), e.add(".calendar_default_block", "background-color: #808080; opacity: 0.5;"), e.add(".month_default_main", " --dp-month-border-color: #c0c0c0; --dp-month-font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; --dp-month-font-size: 13px; --dp-month-cell-border-color: #ddd; --dp-month-cell-bg-color: #f9f9f9; --dp-month-cell-business-bg-color: #ffffff; --dp-month-event-color: #333; --dp-month-event-border-color: #999; --dp-month-event-border: 1px solid var(--dp-month-event-border-color); --dp-month-event-bg-top-color: #ffffff; --dp-month-event-bg-bottom-color: #eeeeee; --dp-month-event-background: linear-gradient(to bottom, var(--dp-month-event-bg-top-color) 0%, var(--dp-month-event-bg-bottom-color) 100%); --dp-month-event-horizontal-align: flex-start; --dp-month-event-vertical-align: center; --dp-month-event-padding: 2px; --dp-month-event-padding-left: 10px; --dp-month-event-padding-rtl: 2px 10px 2px 1px; --dp-month-event-border-radius: 0px; --dp-month-event-box-shadow: none; --dp-month-event-bar-top: 1px; --dp-month-event-bar-left: 2px; --dp-month-event-bar-bottom: 1px; --dp-month-event-bar-width: 6px; --dp-month-event-bar-color: #1066a8; --dp-month-event-bar-display: block; --dp-month-header-bg-color: #f3f3f3; --dp-month-header-color: #333; --dp-month-header-horizontal-align: center; --dp-month-header-vertical-align: center; --dp-month-header-padding: 0px; --dp-month-message-bg-color: #ffa216; --dp-month-message-color: #ffffff; --dp-month-message-padding: 10px; --dp-month-selected-event-bg-color: #ddd; --dp-month-shadow-color: #bbbbbb; --dp-month-shadow-border-color: #888888;"), e.add(".month_default_main *, .month_default_main *:before, .month_default_main *:after", "box-sizing: content-box; "), e.add(".month_default_main", "border: 1px solid var(--dp-month-border-color); font-family: var(--dp-month-font-family); font-size: var(--dp-month-font-size); color: #333; "), e.add(".month_default_cell_inner", "border-right: 1px solid var(--dp-month-cell-border-color); border-bottom: 1px solid var(--dp-month-cell-border-color); position: absolute; top: 0; left: 0; bottom: 0; right: 0; background-color: var(--dp-month-cell-bg-color); "), e.add(".month_default_cell_business .month_default_cell_inner", "background-color: var(--dp-month-cell-business-bg-color); "), e.add(".month_default_cell_header", "text-align: right; padding: 4px; box-sizing: border-box; "), e.add(".month_default_header_inner", "position: absolute; inset: 0; border-right: 1px solid var(--dp-month-border-color); border-bottom: 1px solid var(--dp-month-border-color); cursor: default; color: var(--dp-month-header-color); background: var(--dp-month-header-bg-color); overflow: hidden; display: flex; align-items: var(--dp-month-header-vertical-align); justify-content: var(--dp-month-header-horizontal-align); padding: var(--dp-month-header-padding);"), e.add(".month_default_message", "opacity: 0.9; color: var(--dp-month-message-color); background: var(--dp-month-message-bg-color); padding: var(--dp-month-message-padding); "), e.add(".month_default_event", "border-radius: var(--dp-month-event-border-radius); box-shadow: var(--dp-month-event-box-shadow); "), e.add(".month_default_event_inner", "position: absolute; top: 0; bottom: 0; left: 1px; right: 1px; overflow: hidden; padding: var(--dp-month-event-padding) var(--dp-month-event-padding) var(--dp-month-event-padding) var(--dp-month-event-padding-left); color: var(--dp-month-event-color); background: var(--dp-month-event-background); border: var(--dp-month-event-border); border-radius: var(--dp-month-event-border-radius); display: flex; align-items: var(--dp-month-event-vertical-align); justify-content: var(--dp-month-event-horizontal-align); "), e.add(".month_default_direction_rtl .month_default_event_inner", "right: 2px; padding: var(--dp-month-event-padding-rtl); "), e.add(".month_default_event_continueright .month_default_event_inner", "border-top-right-radius: 0; border-bottom-right-radius: 0; border-right-style: dotted; "), e.add(".month_default_event_continueleft .month_default_event_inner", "border-top-left-radius: 0; border-bottom-left-radius: 0; border-left-style: dotted; "), e.add(".month_default_event_bar", "display: var(--dp-month-event-bar-display); top: var(--dp-month-event-bar-top); bottom: var(--dp-month-event-bar-bottom); left: var(--dp-month-event-bar-left); width: var(--dp-month-event-bar-width); "), e.add(".month_default_direction_rtl .month_default_event_bar", "top: 1px; bottom: 1px; right: 3px; width: var(--dp-month-event-bar-width); "), e.add(".month_default_event_bar_inner", "position: absolute; width: var(--dp-month-event-bar-width); background-color: var(--dp-month-event-bar-color); "), e.add(".month_default_event_continueleft .month_default_event_bar", "display: none; "), e.add(".month_default_selected .month_default_event_inner", "background: var(--dp-month-selected-event-bg-color); "), e.add(".month_default_shadow_inner", "box-sizing: border-box; background-color: var(--dp-month-shadow-color); border: 1px solid var(--dp-month-shadow-border-color); opacity: 0.5; height: 100%; "), e.add(".month_default_shadow", "box-shadow: 0 2px 5px rgba(0, 0, 0, .2); "), e.add(".month_default_event_delete", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAI5JREFUKFNtkLERgCAMRbmzdK8s4gAUlhYOYEHJEJYOYOEwDmGBPxC4kOPfvePy84MGR0RJ2N1A8H3N6DATwSQ57m2ql8NBG+AEM7D+UW+wjdfUPgerYNgB5gOLRHqhcasg84C2QxPMtrUhSqQIhg7ypy9VM2EUZPI/4rQ7rGxqo9sadTegw+UdjeDLAKUfhbaQUVPIfJYAAAAASUVORK5CYII=) center center no-repeat; opacity: 0.6; cursor: pointer; "), e.add(".month_default_event_delete:hover", "opacity: 1; "), e.add(".month_default_event_timeleft", "color: #ccc; font-size: 11px; display: flex; align-items: center; "), e.add(".month_default_event_timeright", "color: #ccc; font-size: 11px; display: flex; align-items: center; justify-content: end; "), e.add(".month_default_loading", "background-color: orange; color: white; padding: 2px; "), e.add(".month_default_shadow_forbidden:after", "content: ''; position: absolute; top: calc(50% - 10px); left: 10px; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2720%27 height=%2720%27 viewBox=%270 0 20 20%27%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%279%27 fill=%27%23cc0000aa%27 /%3E%3Cline x1=%275%27 y1=%275%27 x2=%2715%27 y2=%2715%27 stroke=%27white%27 stroke-width=%271.5%27/%3E%3Cline x1=%2715%27 y1=%275%27 x2=%275%27 y2=%2715%27 stroke=%27white%27 stroke-width=%271.5%27/%3E%3C/svg%3E'); background-repeat: no-repeat; background-position: center; background-size: contain; "), e.add(".month_default_shadow_forbidden .month_default_shadow_inner", "border: 1px solid #cc0000; background: #cc4125; "), e.add(".navigator_default_main", " --dp-nav-border-color: #c0c0c0; --dp-nav-font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; --dp-nav-font-size: 12px; --dp-nav-title-color: #333; --dp-nav-title-bg-color: #f3f3f3; --dp-nav-dayheader-color: #333; --dp-nav-dayheader-bg-color: #ffffff; --dp-nav-weeknumber-color: #999; --dp-nav-weeknumber-bg-color: #ffffff; --dp-nav-day-color: #000; --dp-nav-day-bg-color: #ffffff; --dp-nav-dayother-color: gray; --dp-nav-dayother-bg-color: #ffffff; --dp-nav-weekend-bg-color: #f0f0f0; --dp-nav-select-bg-color: #FFE794; --dp-nav-text-align: center;"), e.add(".navigator_default_main *, .navigator_default_main *:before, .navigator_default_main *:after", "box-sizing: content-box;"), e.add(".navigator_default_main", "border-left: 1px solid var(--dp-nav-border-color);border-right: 1px solid var(--dp-nav-border-color);border-bottom: 1px solid var(--dp-nav-border-color);background-color: white;color: var(--dp-nav-day-color);box-sizing: content-box;"), e.add(".navigator_default_month", "font-family: var(--dp-nav-font-family);font-size: var(--dp-nav-font-size);"), e.add(".navigator_default_day", "color: var(--dp-nav-day-color); background-color: var(--dp-nav-day-bg-color);"), e.add(".navigator_default_weekend", "background-color: var(--dp-nav-weekend-bg-color);"), e.add(".navigator_default_dayheader", "color: var(--dp-nav-dayheader-color);background-color: var(--dp-nav-dayheader-bg-color);text-align: var(--dp-nav-text-align);padding: 0px;"), e.add(".navigator_default_line", "border-bottom: 1px solid var(--dp-nav-border-color);"), e.add(".navigator_default_dayother", "color: var(--dp-nav-dayother-color); background-color: var(--dp-nav-dayother-bg-color);"), e.add(".navigator_default_todaybox", "border: 1px solid red;"), e.add(".navigator_default_title, .navigator_default_titleleft, .navigator_default_titleright", "box-sizing: border-box; border-top: 1px solid var(--dp-nav-border-color);border-bottom: 1px solid var(--dp-nav-border-color);color: var(--dp-nav-title-color);background: var(--dp-nav-title-bg-color);text-align: var(--dp-nav-text-align);"), e.add(".navigator_default_busy", "font-weight: bold;"), e.add(".navigator_default_cell", "text-align: var(--dp-nav-text-align);"), e.add(".navigator_default_select .navigator_default_cell_box", "background-color: var(--dp-nav-select-bg-color);opacity: 0.5;"), e.add(".navigator_default_weeknumber", "text-align: var(--dp-nav-text-align);color: var(--dp-nav-weeknumber-color);background: var(--dp-nav-weeknumber-bg-color);"), e.add(".navigator_default_cell_text", "cursor: pointer;"), e.add(".navigator_default_todaysection", "box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--dp-nav-border-color);"), e.add(".navigator_default_todaysection_button", "cursor: pointer; color: #333; background-color: #f0f0f0; border: 1px solid var(--dp-nav-border-color); padding: 5px 10px; border-radius: 0px; "),
|
|
201
|
-
e.add(".scheduler_default_main", ' --dp-scheduler-border-color: #c0c0c0; --dp-scheduler-border-inner-color: #e0e0e0; --dp-scheduler-cell-bg-color: #f9f9f9; --dp-scheduler-cell-business-bg-color: #ffffff; --dp-scheduler-event-background: linear-gradient(to bottom, var(--dp-scheduler-event-bg-top-color) 0%, var(--dp-scheduler-event-bg-bottom-color) 100%); --dp-scheduler-event-bg-bottom-color: #eeeeee; --dp-scheduler-event-bg-top-color: #ffffff; --dp-scheduler-event-bar-bg-color: #9dc8e8; --dp-scheduler-event-bar-color: #1066a8; --dp-scheduler-event-bar-display: block; --dp-scheduler-event-bar-height: 4px; --dp-scheduler-event-bar-left: 0px; --dp-scheduler-event-bar-right: 0px; --dp-scheduler-event-bar-top: 0px; --dp-scheduler-event-border: 1px solid var(--dp-scheduler-event-border-color); --dp-scheduler-event-border-color: #ccc; --dp-scheduler-event-border-radius: 0px; --dp-scheduler-event-box-shadow: none; --dp-scheduler-event-color: #333; --dp-scheduler-event-horizontal-align: flex-start; --dp-scheduler-event-milestone-color: #38761d; --dp-scheduler-event-padding: 2px; --dp-scheduler-event-selected-bg-color: #ddd; --dp-scheduler-event-vertical-align: center; --dp-scheduler-focus-outline-color: red; --dp-scheduler-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --dp-scheduler-font-size: 13px; --dp-scheduler-grid-line-break-color: #999; --dp-scheduler-grid-line-color: #eee; --dp-scheduler-header-bg-color: #f3f3f3; --dp-scheduler-header-color: #333; --dp-scheduler-link-color: #cc0000; --dp-scheduler-message-bg-color: #ffa216; --dp-scheduler-message-color: #ffffff; --dp-scheduler-message-padding: 10px; --dp-scheduler-rowheader-padding: 7px; --dp-scheduler-rowheader-vertical-align: center; --dp-scheduler-selectionrectangle-color: #1066a8; --dp-scheduler-shadow-border-color: #888888; --dp-scheduler-shadow-color: #bbbbbb; --dp-scheduler-timeheader-horizontal-align: center; --dp-scheduler-timeheader-padding: 0px; --dp-scheduler-timeheader-vertical-align: center;'), e.add(".scheduler_default_main *, .scheduler_default_main *:before, .scheduler_default_main *:after", "box-sizing: content-box;"), e.add(".scheduler_default_main, .scheduler_default_main svg text", "box-sizing: content-box; border: 1px solid var(--dp-scheduler-border-color); font-family: var(--dp-scheduler-font-family); font-size: var(--dp-scheduler-font-size);"), e.add(".scheduler_default_selected .scheduler_default_event_inner", "background: var(--dp-scheduler-event-selected-bg-color);"), e.add(".scheduler_default_timeheader_scroll", "background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_message", "opacity: 0.9; padding: var(--dp-scheduler-message-padding); color: var(--dp-scheduler-message-color); background: var(--dp-scheduler-message-bg-color);"), e.add(".scheduler_default_timeheadergroup,.scheduler_default_timeheadercol", "color: var(--dp-scheduler-header-color); background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_rowheader,.scheduler_default_corner", "color: var(--dp-scheduler-header-color); background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_rowheader.scheduler_default_rowheader_selected", "background-color: #aaa; background-image: linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_rowheader_inner", "position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; border-right: 1px solid var(--dp-scheduler-border-inner-color); padding: var(--dp-scheduler-rowheader-padding); display: flex; align-items: var(--dp-scheduler-rowheader-vertical-align);"), e.add(".scheduler_default_timeheadergroup_inner, .scheduler_default_timeheadercol_inner", "position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-right: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_timeheadergroup_inner", "border-bottom: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_timeheadergroup_inner, .scheduler_default_timeheadercol_inner, .scheduler_default_timeheader_float", "display: flex; align-items: var(--dp-scheduler-timeheader-vertical-align); justify-content: var(--dp-scheduler-timeheader-horizontal-align); padding: var(--dp-scheduler-timeheader-padding);"), e.add(".scheduler_default_divider, .scheduler_default_splitter", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_divider_horizontal", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_matrix_vertical_line", "background-color: var(--dp-scheduler-grid-line-color);"), e.add(".scheduler_default_matrix_vertical_break", "background-color: var(--dp-scheduler-grid-line-break-color);"), e.add(".scheduler_default_matrix_horizontal_line", "background-color: var(--dp-scheduler-grid-line-color);"), e.add(".scheduler_default_resourcedivider", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_shadow_inner", "box-sizing: border-box; background-color: var(--dp-scheduler-shadow-color); border: 1px solid var(--dp-scheduler-shadow-border-color); border-radius: var(--dp-scheduler-event-border-radius); opacity: 0.5; height: 100%;"), e.add(".scheduler_default_shadow", "box-shadow: 0 2px 5px rgba(0,0,0,.2); border-radius: var(--dp-scheduler-event-border-radius);"), e.add(".scheduler_default_event", "font-size: var(--dp-scheduler-font-size); color: var(--dp-scheduler-event-color); border-radius: var(--dp-scheduler-event-border-radius); box-shadow: var(--dp-scheduler-event-box-shadow);"), e.add(".scheduler_default_event_inner", "position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; border-radius: var(--dp-scheduler-event-border-radius); padding: var(--dp-scheduler-event-padding); overflow: hidden; border: var(--dp-scheduler-event-border); display: flex; align-items: var(--dp-scheduler-event-vertical-align); justify-content: var(--dp-scheduler-event-horizontal-align); background: var(--dp-scheduler-event-background);"), e.add(".scheduler_default_event_bar", "display: var(--dp-scheduler-event-bar-display);top: var(--dp-scheduler-event-bar-top); left: var(--dp-scheduler-event-bar-left); right: var(--dp-scheduler-event-bar-right); height: var(--dp-scheduler-event-bar-height); background-color: var(--dp-scheduler-event-bar-bg-color);"), e.add(".scheduler_default_event_bar_inner", "position:absolute; height: var(--dp-scheduler-event-bar-height); background-color: var(--dp-scheduler-event-bar-color);"), e.add(".scheduler_default_event_float", "display: flex; align-items: center;"), e.add(".scheduler_default_event_float_inner", "padding: var(--dp-scheduler-event-padding) var(--dp-scheduler-event-padding) var(--dp-scheduler-event-padding) 8px; position: relative;"), e.add(".scheduler_default_event_float_inner:after", 'content:""; border-color: transparent #666 transparent transparent; border-style:solid; border-width:5px; width:0; height:0; position:absolute; top: calc(50% - 5px); left:-4px;'), e.add(".scheduler_default_event_focus", "outline: var(--dp-scheduler-focus-outline-color) 2px solid; z-index: 100; opacity: 0.5;"), e.add(".scheduler_default_columnheader_inner", "font-weight: bold;"), e.add(".scheduler_default_columnheader_splitter", "box-sizing: border-box; border-right: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_columnheader_splitter:hover", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_columnheader_cell_inner", "position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; padding: 2px; display: flex; align-items: center;"), e.add(".scheduler_default_cell", "background-color: var(--dp-scheduler-cell-bg-color);"), e.add(".scheduler_default_cell.scheduler_default_cell_business", "background-color: var(--dp-scheduler-cell-business-bg-color);"), e.add(".scheduler_default_cell.scheduler_default_cell_business.scheduler_default_cell_selected, .scheduler_default_cell.scheduler_default_cell_selected", "background-color: #ccc; background-image: linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_tree_image_no_children", ""), e.add(".scheduler_default_tree_image_expand", "background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPjxwYXRoIGQ9J00gMS41IDAuNSBMIDYuNSA1IEwgMS41IDkuNScgc3R5bGU9J2ZpbGw6bm9uZTtzdHJva2U6Izk5OTk5OTtzdHJva2Utd2lkdGg6MjtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLWxpbmVjYXA6YnV0dCcgLz48L3N2Zz4=);"), e.add(".scheduler_default_tree_image_collapse", "background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMS41IEwgNSA2LjUgTCA5LjUgMS41JyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojOTk5OTk5O3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==);"), e.add(".scheduler_default_event_delete", "background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTInIGhlaWdodD0nMTInIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMC41IEwgMTEuNSAxMS41IE0gMC41IDExLjUgTCAxMS41IDAuNScgc3R5bGU9J2ZpbGw6bm9uZTtzdHJva2U6IzQ2NDY0NjtzdHJva2Utd2lkdGg6MztzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLWxpbmVjYXA6YnV0dCcgLz48L3N2Zz4=) no-repeat center center; opacity: 0.6; cursor: pointer;"), e.add(".scheduler_default_event_delete:hover", "opacity: 1;"), e.add(".scheduler_default_rowmove_handle", "background-repeat: no-repeat; background-position: center center; background-color: #ccc; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAKCAYAAACT+/8OAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAClJREFUGFdj+P//P4O9vX2Bg4NDP4gNFgBytgPxebgAMsYuQGMz/jMAAFsTZDPYJlDHAAAAAElFTkSuQmCC); cursor: move;"), e.add(".scheduler_default_rowmove_source", "background-color: black; opacity: 0.2;"), e.add(".scheduler_default_rowmove_position_before, .scheduler_default_rowmove_position_after", "background-color: #999; height: 2px;"), e.add(".scheduler_default_rowmove_position_child", "margin-left: 20px; background-color: #999; height: 2px;"), e.add(".scheduler_default_rowmove_position_forbidden", "background-color: #cc0000; height: 2px; margin-left: 20px;"), e.add(".scheduler_default_link_horizontal", "border-bottom-style: solid; border-bottom-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_vertical", "border-right-style: solid; border-right-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_arrow_right:before", "content: ''; border-width: 6px; border-color: transparent transparent transparent var(--dp-scheduler-link-color); border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_left:before", "content: ''; border-width: 6px; border-color: transparent var(--dp-scheduler-link-color) transparent transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_down:before", "content: ''; border-width: 6px; border-color: var(--dp-scheduler-link-color) transparent transparent transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_up:before", "content: ''; border-width: 6px; border-color: transparent transparent var(--dp-scheduler-link-color) transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_horizontal", "border-bottom-color: #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_vertical", "border-right-color: #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_right:before", "border-color: transparent transparent transparent #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_left:before", "border-color: transparent #aaaaaa transparent transparent;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_down:before", "border-color: #aaaaaa transparent transparent transparent;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_up:before", "border-color: transparent transparent #aaaaaa transparent;"), e.add(".scheduler_default_block", "background-color: #808080; opacity: 0.5;"), e.add(".scheduler_default_main .scheduler_default_event_group", "box-sizing: border-box; font-size: 13px; color: #666; padding: 2px; overflow:hidden; border:1px solid var(--dp-scheduler-event-border-color); background-color: #fff; display: flex; align-items: center; white-space: nowrap;"), e.add(".scheduler_default_main .scheduler_default_header_icon", "box-sizing: border-box; border: 1px solid var(--dp-scheduler-border-color); background-color: var(--dp-scheduler-header-bg-color); color: var(--dp-scheduler-header-color);"), e.add(".scheduler_default_header_icon:hover", "background-color: #ccc;"), e.add(".scheduler_default_header_icon_hide:before", "content: '\\00AB';"), e.add(".scheduler_default_header_icon_show:before", "content: '\\00BB';"), e.add(".scheduler_default_row_new .scheduler_default_rowheader_inner", "padding-left: 10px; color: #666; cursor: text; background-position: 0px 50%; background-repeat: no-repeat; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABUSURBVChTY0ACslAaK2CC0iCQDMSlECYmQFYIAl1AjFUxukIQwKoYm0IQwFCMSyEIaEJpMMClcD4Qp0CYEIBNIUzRPzAPCtAVYlWEDgyAGIdTGBgAbqEJYyjqa3oAAAAASUVORK5CYII=);"), e.add(".scheduler_default_row_new .scheduler_default_rowheader_inner:hover", "background: white; color: white;"), e.add(".scheduler_default_rowheader textarea", "padding: 3px;"), e.add(".scheduler_default_rowheader_scroll", "cursor: default; background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_shadow_forbidden .scheduler_default_shadow_inner, .scheduler_default_shadow_overlap .scheduler_default_shadow_inner", "border: 1px solid #cc0000; background: #cc4125;"), e.add(".scheduler_default_event_moving_source", "opacity: 0.5;"), e.add(".scheduler_default_linkpoint", "background-color: white; border: 1px solid gray; border-radius: 5px;"), e.add(".scheduler_default_linkpoint.scheduler_default_linkpoint_hover", "background-color: black;"), e.add(".scheduler_default_event.scheduler_default_event_version .scheduler_default_event_inner", "overflow:hidden; background-color: #cfdde8; background-image: linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_crosshair_vertical, .scheduler_default_crosshair_horizontal, .scheduler_default_crosshair_left, .scheduler_default_crosshair_top", "background-color: gray; opacity: 0.2;"), e.add(".scheduler_default_link_dot", "border-radius: 10px; background-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_task_milestone .scheduler_default_event_inner", "position:absolute; top:16%; left:16%; right:16%; bottom:16%; background: var(--dp-scheduler-event-milestone-color); border: 0px none; transform: rotate(45deg); filter: none;"), e.add(".scheduler_default_event_left, .scheduler_default_event_right", "white-space: nowrap; color: #666; cursor: default; display: flex; align-items: center;");
|
|
209
|
+
e.add(".menu_default_main", "user-select:none; font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size: 13px;border: 1px solid #dddddd;background-color: white;padding: 0px;cursor: default;background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAABCAIAAABG0om7AAAAKXRFWHRDcmVhdGlvbiBUaW1lAHBvIDEwIDUgMjAxMCAyMjozMzo1OSArMDEwMGzy7+IAAAAHdElNRQfaBQoUJAesj4VUAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAABGdBTUEAALGPC/xhBQAAABVJREFUeNpj/P//PwO1weMnT2RlZAAYuwX/4oA3BgAAAABJRU5ErkJggg==);background-repeat: repeat-y;xborder-radius: 5px;-moz-box-shadow:0px 2px 3px rgba(000,000,000,0.3),inset 0px 0px 2px rgba(255,255,255,0.8);-webkit-box-shadow:0px 2px 3px rgba(000,000,000,0.3),inset 0px 0px 2px rgba(255,255,255,0.8);box-shadow:0px 2px 3px rgba(000,000,000,0.3),inset 0px 0px 2px rgba(255,255,255,0.8);"), e.add(".menu_default_main, .menu_default_main *, .menu_default_main *:before, .menu_default_main *:after", "box-sizing: content-box;"), e.add(".menu_default_title", "background-color: #f2f2f2;border-bottom: 1px solid gray;padding: 4px 4px 4px 37px;"), e.add(".menu_default_main a", "padding: 2px 2px 2px 35px;color: black;text-decoration: none;cursor: default;"), e.add(".menu_default_main.menu_default_withchildren a", "padding: 2px 35px 2px 35px;"), e.add(".menu_default_main a img", "margin-left: 6px;margin-top: 2px;"), e.add(".menu_default_item_text", "display: block;height: 20px;line-height: 20px; overflow:hidden;padding-left: 2px;padding-right: 20px; white-space: nowrap;"), e.add(".menu_default_main a:hover", "background-color: #f3f3f3;"), e.add(".menu_default_main div div", "border-top: 1px solid #dddddd;margin-top: 2px;margin-bottom: 2px;margin-left: 28px;"), e.add(".menu_default_main a.menu_default_item_disabled", "color: #ccc"), e.add(".menu_default_item_haschildren.menu_default_item_haschildren_active", "background-color: #f3f3f3;"), e.add(".menu_default_item_haschildren a:before", "content: ''; border-width: 5px; border-color: transparent transparent transparent #666; border-style: solid; width: 0px; height:0px; position: absolute; right: 5px; margin-top: 5px;"), e.add(".menu_default_item_icon", "position: absolute; top:0px; left: 0px; padding: 2px 2px 2px 8px;"), e.add(".menu_default_item a i", "height: 20px;line-height: 20px;"), e.add(".menu_default_item .menu_default_item_symbol", "width: 18px; height: 18px; color: #999; margin-left: 6px;margin-top: 2px;"), e.add(".menubar_default_main", "border-bottom: 1px solid #ccc; font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px; user-select:none;"), e.add(".menubar_default_item", "display: inline-block; padding: 6px 10px; cursor: default;"), e.add(".menubar_default_item:hover", "background-color: #f2f2f2;"), e.add(".menubar_default_item_active", "background-color: #f2f2f2;"), e.add(".calendar_default_main", " --dp-calendar-border-color: #c0c0c0; --dp-calendar-font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; --dp-calendar-font-size: 13px; --dp-calendar-header-bg-color: #f3f3f3; --dp-calendar-header-color: #333; --dp-calendar-colheader-padding: 0px; --dp-calendar-rowheader-font-size: 16pt; --dp-calendar-rowheader-padding: 3px; --dp-calendar-cell-bg-color: #f9f9f9; --dp-calendar-cell-business-bg-color: #ffffff; --dp-calendar-cell-border-color: #ddd; --dp-calendar-colheader-horizontal-align: center; --dp-calendar-colheader-vertical-align: center; --dp-calendar-allday-event-color: #333; --dp-calendar-allday-event-border-color: #999; --dp-calendar-allday-event-border: 1px solid var(--dp-calendar-allday-event-border-color); --dp-calendar-allday-event-border-radius: 0px; --dp-calendar-allday-event-bg-top-color: #ffffff; --dp-calendar-allday-event-bg-bottom-color: #eeeeee; --dp-calendar-allday-event-background: linear-gradient(to bottom, var(--dp-calendar-allday-event-bg-top-color) 0%, var(--dp-calendar-allday-event-bg-bottom-color) 100%); --dp-calendar-allday-event-box-shadow: none; --dp-calendar-allday-event-padding: 4px; --dp-calendar-allday-event-horizontal-align: flex-start; --dp-calendar-event-color: #333; --dp-calendar-event-border-color: #999; --dp-calendar-event-border: 1px solid var(--dp-calendar-event-border-color); --dp-calendar-event-border-radius: 0px; --dp-calendar-event-box-shadow: none; --dp-calendar-event-bg-top-color: #ffffff; --dp-calendar-event-bg-bottom-color: #eeeeee; --dp-calendar-event-background: linear-gradient(to bottom, var(--dp-calendar-event-bg-top-color) 0%, var(--dp-calendar-event-bg-bottom-color) 100%); --dp-calendar-event-bar-bg-color: #9dc8e8; --dp-calendar-event-bar-color: #1066a8; --dp-calendar-event-bar-width: 6px; --dp-calendar-event-bar-left: 0px; --dp-calendar-event-bar-bottom: 0px; --dp-calendar-event-bar-top: 0px; --dp-calendar-event-bar-display: block; --dp-calendar-event-padding: 2px; --dp-calendar-event-padding-left: 8px; --dp-calendar-message-bg-color: #ffa216; --dp-calendar-message-color: #ffffff; --dp-calendar-message-padding: 10px; --dp-calendar-message-opacity: 0.9; --dp-calendar-selected-event-bg-color: #ddd; --dp-calendar-shadow-color: #bbbbbb; --dp-calendar-shadow-border-color: #888888; --dp-calendar-forbidden-shadow-border-color: #cc0000; --dp-calendar-forbidden-shadow-bg-color: #cc4125; --dp-calendar-now-indicator-color: red; --dp-calendar-scroll-bg-color: #f3f3f3;"), e.add(".calendar_default_main *, .calendar_default_main *:before, .calendar_default_main *:after", "box-sizing: content-box;"), e.add(".calendar_default_main", "border:1px solid var(--dp-calendar-border-color); font-family:var(--dp-calendar-font-family); font-size:var(--dp-calendar-font-size);"), e.add(".calendar_default_rowheader_inner, .calendar_default_cornerright_inner, .calendar_default_corner_inner, .calendar_default_colheader_inner, .calendar_default_alldayheader_inner", "color: var(--dp-calendar-header-color); background: var(--dp-calendar-header-bg-color);"), e.add(".calendar_default_colheader_back", "background: var(--dp-calendar-header-bg-color); border-bottom: 1px solid red;"), e.add(".calendar_default_colheader_back_inner", "position: absolute; inset: 0; border-bottom: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_cornerright_inner", "position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-bottom: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_direction_rtl .calendar_default_cornerright_inner", "border-right: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_rowheader_inner", "font-size: var(--dp-calendar-rowheader-font-size); text-align: right; position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-right: 1px solid var(--dp-calendar-border-color); border-bottom: 1px solid var(--dp-calendar-border-color); padding: var(--dp-calendar-rowheader-padding);"), e.add(".calendar_default_rowheader_simple .calendar_default_rowheader_inner", "font-size: inherit; display: flex; align-items: center; justify-content: center; white-space: nowrap;"), e.add(".calendar_default_direction_rtl .calendar_default_rowheader_inner", "border-right: none;"), e.add(".calendar_default_corner_inner", "position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-right: 1px solid var(--dp-calendar-border-color); border-bottom: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_direction_rtl .calendar_default_corner_inner", "border-right: none;"), e.add(".calendar_default_rowheader_minutes", "font-size: 10px; vertical-align: super; padding-left: 2px; padding-right: 2px;"), e.add(".calendar_default_colheader_inner", "position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; padding: var(--dp-calendar-colheader-padding);border-right: 1px solid var(--dp-calendar-border-color); border-bottom: 1px solid var(--dp-calendar-border-color); display: flex; align-items: var(--dp-calendar-colheader-vertical-align); justify-content: var(--dp-calendar-colheader-horizontal-align);"), e.add(".calendar_default_cell_inner", "position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-right: 1px solid var(--dp-calendar-cell-border-color); border-bottom: 1px solid var(--dp-calendar-cell-border-color); background: var(--dp-calendar-cell-bg-color);"), e.add(".calendar_default_cell_business .calendar_default_cell_inner", "background: var(--dp-calendar-cell-business-bg-color);"), e.add(".calendar_default_alldayheader_inner", "text-align: center; position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-right: 1px solid var(--dp-calendar-border-color); border-bottom: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_message", "opacity: var(--dp-calendar-message-opacity); padding: var(--dp-calendar-message-padding); color: var(--dp-calendar-message-color); background: var(--dp-calendar-message-bg-color);"), e.add(".calendar_default_event_inner", "color: var(--dp-calendar-event-color); border: var(--dp-calendar-event-border); border-radius: var(--dp-calendar-event-border-radius); background: var(--dp-calendar-event-background);"), e.add(".calendar_default_alldayevent", "box-shadow: var(--dp-calendar-allday-event-box-shadow); border-radius: var(--dp-calendar-allday-event-border-radius);"), e.add(".calendar_default_alldayevent_inner", "color: var(--dp-calendar-allday-event-color); border: var(--dp-calendar-allday-event-border); border-radius: var(--dp-calendar-allday-event-border-radius); background: var(--dp-calendar-allday-event-background);"), e.add(".calendar_default_event_bar", "display: var(--dp-calendar-event-bar-display); top: var(--dp-calendar-event-bar-top); bottom: var(--dp-calendar-event-bar-bottom); left: var(--dp-calendar-event-bar-left); width: var(--dp-calendar-event-bar-width); background-color: var(--dp-calendar-event-bar-bg-color);"), e.add(".calendar_default_direction_rtl .calendar_default_event_bar", "top: 0px; bottom: 0px; right: 0px; width: var(--dp-calendar-event-bar-width); background-color: var(--dp-calendar-event-bar-bg-color);"), e.add(".calendar_default_event_bar_inner", "position: absolute; width: var(--dp-calendar-event-bar-width); background-color: var(--dp-calendar-event-bar-color);"), e.add(".calendar_default_selected .calendar_default_event_inner", "background: var(--dp-calendar-selected-event-bg-color);"), e.add(".calendar_default_alldayevent_inner", "position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; overflow: hidden; padding: var(--dp-calendar-allday-event-padding); margin-right: 0px; display: flex; align-items: center; justify-content: var(--dp-calendar-allday-event-horizontal-align);"), e.add(".calendar_default_event_withheader .calendar_default_event_inner", "padding-top: 15px;"), e.add(".calendar_default_event", "box-shadow: var(--dp-calendar-event-box-shadow); border-radius: var(--dp-calendar-event-border-radius); cursor: default;"), e.add(".calendar_default_event_inner", "position: absolute; overflow: hidden; top: 0px; bottom: 0px; left: 0px; right: 0px; padding: var(--dp-calendar-event-padding) var(--dp-calendar-event-padding) var(--dp-calendar-event-padding) var(--dp-calendar-event-padding-left);"), e.add(".calendar_default_direction_rtl .calendar_default_event_inner", "padding: 2px 8px 2px 2px;"), e.add(".calendar_default_shadow_inner", "box-sizing: border-box; background-color: var(--dp-calendar-shadow-color); border: 1px solid var(--dp-calendar-shadow-border-color); opacity: 0.5; height: 100%;"), e.add(".calendar_default_shadow", "box-shadow: 0 2px 5px rgba(0,0,0,0.2);"), e.add(".calendar_default_shadow_forbidden:after", "content: ''; position: absolute; top: 5px; left: calc(50% - 10px); border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2720%27 height=%2720%27 viewBox=%270 0 20 20%27%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%279%27 fill=%27%23cc0000aa%27 /%3E%3Cline x1=%275%27 y1=%275%27 x2=%2715%27 y2=%2715%27 stroke=%27white%27 stroke-width=%271.5%27/%3E%3Cline x1=%2715%27 y1=%275%27 x2=%275%27 y2=%2715%27 stroke=%27white%27 stroke-width=%271.5%27/%3E%3C/svg%3E'); background-repeat: no-repeat; background-position: center; background-size: contain;"), e.add(".calendar_default_shadow_forbidden .calendar_default_shadow_inner", "border: 1px solid var(--dp-calendar-forbidden-shadow-border-color); background: var(--dp-calendar-forbidden-shadow-bg-color);"), e.add(".calendar_default_event_delete", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAI5JREFUKFNtkLERgCAMRbmzdK8s4gAUlhYOYEHJEJYOYOEwDmGBPxC4kOPfvePy84MGR0RJ2N1A8H3N6DATwSQ57m2ql8NBG+AEM7D+UW+wjdfUPgerYNgB5gOLRHqhcasg84C2QxPMtrUhSqQIhg7ypy9VM2EUZPI/4rQ7rGxqo9sadTegw+UdjeDLAKUfhbaQUVPIfJYAAAAASUVORK5CYII=) center center no-repeat; opacity: 0.6; cursor: pointer;"), e.add(".calendar_default_event_delete:hover", "opacity: 1; -ms-filter: none;"), e.add(".calendar_default_scroll_up", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAB3RJTUUH2wESDiYcrhwCiQAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAARnQU1BAACxjwv8YQUAAACcSURBVHjaY2AgF9wWsTW6yGMlhi7OhC7AyMDQzMnBXIpFHAFuCtuaMTP+P8nA8P/b1x//FfW/HHuF1UQmxv+NUP1c3OxMVVhNvCVi683E8H8LXOY/w9+fTH81tF8fv4NiIpBRj+YoZtZ/LDUoJmKYhsVUpv0MDiyMDP96sIYV0FS2/8z9ICaLlOhvS4b/jC//MzC8xBG0vJeF7GQBlK0xdiUzCtsAAAAASUVORK5CYII=);"), e.add(".calendar_default_scroll_down", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAALiMAAC4jAXilP3YAAACqSURBVChTY7wpam3L9J+xmQEP+PGPKZZxP4MDi4zI78uMDIwa2NT+Z2DYovrmiC+TI8OBP/8ZmEqwGvif4e8vxr+FIDkmEKH25vBWBgbG0+iK/zEwLtF+ffwOXCGI8Y+BoRFFIdC030x/WmBiYBNhpgLdswNJ8RSYaSgmgk39z1gPUfj/29ef/9rwhQTDHRHbrbdEbLvRFcGthkkAra/9/uMvhkK8piNLAgCRpTnNn4AEmAAAAABJRU5ErkJggg==);"), e.add(".calendar_default_now", "background-color: var(--dp-calendar-now-indicator-color);"), e.add(".calendar_default_now:before", "content: ''; top: -5px; border-width: 5px; border-color: transparent transparent transparent var(--dp-calendar-now-indicator-color); border-style: solid; width: 0px; height: 0px; position: absolute; -moz-transform: scale(.9999);"), e.add(".calendar_default_shadow_top", "box-sizing: border-box; padding: 2px; border: 1px solid var(--dp-calendar-border-color); background: linear-gradient(to bottom, #ffffff 0%, #eeeeee); pointer-events: none;"), e.add(".calendar_default_shadow_bottom", "box-sizing: border-box; padding: 2px; border: 1px solid var(--dp-calendar-border-color); background: linear-gradient(to bottom, #ffffff 0%, #eeeeee); pointer-events: none;"), e.add(".calendar_default_crosshair_vertical, .calendar_default_crosshair_horizontal, .calendar_default_crosshair_left, .calendar_default_crosshair_top", "background-color: gray; opacity: 0.2;"), e.add(".calendar_default_loading", "background-color: orange; color: white; padding: 2px;"), e.add(".calendar_default_scroll", "background-color: var(--dp-calendar-header-bg-color);"), e.add(".calendar_default_event_moving_source", "opacity: 0.5;"), e.add(".calendar_default_colmove_handle", "background-repeat: no-repeat; background-position: center center; background-color: #ccc; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAKCAYAAACT+/8OAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAClJREFUGFdj+P//P4O9vX2Bg4NDP4gNFgBytgPxebgAMsYuQGMz/jMAAFsTZDPYJlDHAAAAAElFTkSuQmCC); cursor: move;"), e.add(".calendar_default_colheader:hover .calendar_default_colheader_splitter", "background-color: #c0c0c0;"), e.add(".calendar_default_colmove_source", "background-color: black; opacity: 0.5;"), e.add(".calendar_default_colmove_position_before", "box-sizing: border-box; border-left: 2px solid #999999;"), e.add(".calendar_default_colmove_position_before:before", "content: ''; border-width: 6px; border-color: transparent #999999 transparent transparent; border-style: solid; width: 0px; height: 0px; position: absolute;"), e.add(".calendar_default_colmove_position_after", "box-sizing: border-box; border-right: 2px solid #999999;"), e.add(".calendar_default_colmove_position_after:before", "content: ''; border-width: 6px; border-color: transparent transparent transparent #999999; border-style: solid; width: 0px; height: 0px; position: absolute;"), e.add(".calendar_default_colmove_position_child", "box-sizing: border-box; border-bottom: 2px solid #999999;"), e.add(".calendar_default_colmove_position_child:before", "content: ''; border-width: 6px; border-color: #999999 transparent transparent transparent; border-style: solid; width: 0px; height: 0px; position: absolute;"), e.add(".calendar_default_colmove_position_forbidden", "border-top: 2px solid red;"), e.add(".calendar_default_colheader .calendar_default_colheader_splitter:hover", "background-color: #999999;"), e.add(".calendar_default_block", "background-color: #808080; opacity: 0.5;"), e.add(".month_default_main", " --dp-month-border-color: #c0c0c0; --dp-month-font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; --dp-month-font-size: 13px; --dp-month-cell-border-color: #ddd; --dp-month-cell-bg-color: #f9f9f9; --dp-month-cell-business-bg-color: #ffffff; --dp-month-event-color: #333; --dp-month-event-border-color: #999; --dp-month-event-border: 1px solid var(--dp-month-event-border-color); --dp-month-event-bg-top-color: #ffffff; --dp-month-event-bg-bottom-color: #eeeeee; --dp-month-event-background: linear-gradient(to bottom, var(--dp-month-event-bg-top-color) 0%, var(--dp-month-event-bg-bottom-color) 100%); --dp-month-event-horizontal-align: flex-start; --dp-month-event-vertical-align: center; --dp-month-event-padding: 2px; --dp-month-event-padding-left: 10px; --dp-month-event-padding-rtl: 2px 10px 2px 1px; --dp-month-event-border-radius: 0px; --dp-month-event-box-shadow: none; --dp-month-event-bar-top: 1px; --dp-month-event-bar-left: 2px; --dp-month-event-bar-bottom: 1px; --dp-month-event-bar-width: 6px; --dp-month-event-bar-color: #1066a8; --dp-month-event-bar-display: block; --dp-month-header-bg-color: #f3f3f3; --dp-month-header-color: #333; --dp-month-header-horizontal-align: center; --dp-month-header-vertical-align: center; --dp-month-header-padding: 0px; --dp-month-message-bg-color: #ffa216; --dp-month-message-color: #ffffff; --dp-month-message-padding: 10px; --dp-month-selected-event-bg-color: #ddd; --dp-month-shadow-color: #bbbbbb; --dp-month-shadow-border-color: #888888;"), e.add(".month_default_main *, .month_default_main *:before, .month_default_main *:after", "box-sizing: content-box; "), e.add(".month_default_main", "border: 1px solid var(--dp-month-border-color); font-family: var(--dp-month-font-family); font-size: var(--dp-month-font-size); color: #333; "), e.add(".month_default_cell_inner", "border-right: 1px solid var(--dp-month-cell-border-color); border-bottom: 1px solid var(--dp-month-cell-border-color); position: absolute; top: 0; left: 0; bottom: 0; right: 0; background-color: var(--dp-month-cell-bg-color); "), e.add(".month_default_cell_business .month_default_cell_inner", "background-color: var(--dp-month-cell-business-bg-color); "), e.add(".month_default_cell_header", "text-align: right; padding: 4px; box-sizing: border-box; "), e.add(".month_default_header_inner", "position: absolute; inset: 0; border-right: 1px solid var(--dp-month-border-color); border-bottom: 1px solid var(--dp-month-border-color); cursor: default; color: var(--dp-month-header-color); background: var(--dp-month-header-bg-color); overflow: hidden; display: flex; align-items: var(--dp-month-header-vertical-align); justify-content: var(--dp-month-header-horizontal-align); padding: var(--dp-month-header-padding);"), e.add(".month_default_message", "opacity: 0.9; color: var(--dp-month-message-color); background: var(--dp-month-message-bg-color); padding: var(--dp-month-message-padding); "), e.add(".month_default_event", "border-radius: var(--dp-month-event-border-radius); box-shadow: var(--dp-month-event-box-shadow); "), e.add(".month_default_event_inner", "position: absolute; top: 0; bottom: 0; left: 1px; right: 1px; overflow: hidden; padding: var(--dp-month-event-padding) var(--dp-month-event-padding) var(--dp-month-event-padding) var(--dp-month-event-padding-left); color: var(--dp-month-event-color); background: var(--dp-month-event-background); border: var(--dp-month-event-border); border-radius: var(--dp-month-event-border-radius); display: flex; align-items: var(--dp-month-event-vertical-align); justify-content: var(--dp-month-event-horizontal-align); "), e.add(".month_default_direction_rtl .month_default_event_inner", "right: 2px; padding: var(--dp-month-event-padding-rtl); "), e.add(".month_default_event_continueright .month_default_event_inner", "border-top-right-radius: 0; border-bottom-right-radius: 0; border-right-style: dotted; "), e.add(".month_default_event_continueleft .month_default_event_inner", "border-top-left-radius: 0; border-bottom-left-radius: 0; border-left-style: dotted; "), e.add(".month_default_event_bar", "display: var(--dp-month-event-bar-display); top: var(--dp-month-event-bar-top); bottom: var(--dp-month-event-bar-bottom); left: var(--dp-month-event-bar-left); width: var(--dp-month-event-bar-width); "), e.add(".month_default_direction_rtl .month_default_event_bar", "top: 1px; bottom: 1px; right: 3px; width: var(--dp-month-event-bar-width); "), e.add(".month_default_event_bar_inner", "position: absolute; width: var(--dp-month-event-bar-width); background-color: var(--dp-month-event-bar-color); "), e.add(".month_default_event_continueleft .month_default_event_bar", "display: none; "), e.add(".month_default_selected .month_default_event_inner", "background: var(--dp-month-selected-event-bg-color); "), e.add(".month_default_shadow_inner", "box-sizing: border-box; background-color: var(--dp-month-shadow-color); border: 1px solid var(--dp-month-shadow-border-color); opacity: 0.5; height: 100%; "), e.add(".month_default_shadow", "box-shadow: 0 2px 5px rgba(0, 0, 0, .2); "), e.add(".month_default_event_delete", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAI5JREFUKFNtkLERgCAMRbmzdK8s4gAUlhYOYEHJEJYOYOEwDmGBPxC4kOPfvePy84MGR0RJ2N1A8H3N6DATwSQ57m2ql8NBG+AEM7D+UW+wjdfUPgerYNgB5gOLRHqhcasg84C2QxPMtrUhSqQIhg7ypy9VM2EUZPI/4rQ7rGxqo9sadTegw+UdjeDLAKUfhbaQUVPIfJYAAAAASUVORK5CYII=) center center no-repeat; opacity: 0.6; cursor: pointer; "), e.add(".month_default_event_delete:hover", "opacity: 1; "), e.add(".month_default_event_timeleft", "color: #ccc; font-size: 11px; display: flex; align-items: center; "), e.add(".month_default_event_timeright", "color: #ccc; font-size: 11px; display: flex; align-items: center; justify-content: end; "), e.add(".month_default_loading", "background-color: orange; color: white; padding: 2px; "), e.add(".month_default_shadow_forbidden:after", "content: ''; position: absolute; top: calc(50% - 10px); left: 10px; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2720%27 height=%2720%27 viewBox=%270 0 20 20%27%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%279%27 fill=%27%23cc0000aa%27 /%3E%3Cline x1=%275%27 y1=%275%27 x2=%2715%27 y2=%2715%27 stroke=%27white%27 stroke-width=%271.5%27/%3E%3Cline x1=%2715%27 y1=%275%27 x2=%275%27 y2=%2715%27 stroke=%27white%27 stroke-width=%271.5%27/%3E%3C/svg%3E'); background-repeat: no-repeat; background-position: center; background-size: contain; "), e.add(".month_default_shadow_forbidden .month_default_shadow_inner", "border: 1px solid #cc0000; background: #cc4125; "), e.add(".navigator_default_main", " --dp-nav-border-color: #c0c0c0; --dp-nav-font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; --dp-nav-font-size: 12px; --dp-nav-title-color: #333; --dp-nav-title-bg-color: #f3f3f3; --dp-nav-dayheader-color: #333; --dp-nav-dayheader-bg-color: #ffffff; --dp-nav-weeknumber-color: #999; --dp-nav-weeknumber-bg-color: #ffffff; --dp-nav-day-color: #000; --dp-nav-day-bg-color: #ffffff; --dp-nav-dayother-color: gray; --dp-nav-dayother-bg-color: #ffffff; --dp-nav-weekend-bg-color: #f0f0f0; --dp-nav-select-bg-color: #FFE794; --dp-nav-text-align: center;"), e.add(".navigator_default_main *, .navigator_default_main *:before, .navigator_default_main *:after", "box-sizing: content-box;"), e.add(".navigator_default_main", "border-left: 1px solid var(--dp-nav-border-color);border-right: 1px solid var(--dp-nav-border-color);border-bottom: 1px solid var(--dp-nav-border-color);background-color: white;color: var(--dp-nav-day-color);box-sizing: content-box;"), e.add(".navigator_default_month", "font-family: var(--dp-nav-font-family);font-size: var(--dp-nav-font-size);"), e.add(".navigator_default_day", "color: var(--dp-nav-day-color); background-color: var(--dp-nav-day-bg-color);"), e.add(".navigator_default_weekend", "background-color: var(--dp-nav-weekend-bg-color);"), e.add(".navigator_default_dayheader", "color: var(--dp-nav-dayheader-color);background-color: var(--dp-nav-dayheader-bg-color);text-align: var(--dp-nav-text-align);padding: 0px;"), e.add(".navigator_default_line", "border-bottom: 1px solid var(--dp-nav-border-color);"), e.add(".navigator_default_dayother", "color: var(--dp-nav-dayother-color); background-color: var(--dp-nav-dayother-bg-color);"), e.add(".navigator_default_todaybox", "border: 1px solid red;"), e.add(".navigator_default_title, .navigator_default_titleleft, .navigator_default_titleright", "box-sizing: border-box; border-top: 1px solid var(--dp-nav-border-color);border-bottom: 1px solid var(--dp-nav-border-color);color: var(--dp-nav-title-color);background: var(--dp-nav-title-bg-color);text-align: var(--dp-nav-text-align);"), e.add(".navigator_default_busy", "font-weight: bold;"), e.add(".navigator_default_cell", "text-align: var(--dp-nav-text-align);"), e.add(".navigator_default_select .navigator_default_cell_box", "background-color: var(--dp-nav-select-bg-color);opacity: 0.5;"), e.add(".navigator_default_weeknumber", "text-align: var(--dp-nav-text-align);color: var(--dp-nav-weeknumber-color);background: var(--dp-nav-weeknumber-bg-color);"),
|
|
210
|
+
e.add(".navigator_default_cell_text", "cursor: pointer;"), e.add(".navigator_default_todaysection", "box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--dp-nav-border-color);"), e.add(".navigator_default_todaysection_button", "cursor: pointer; color: #333; background-color: #f0f0f0; border: 1px solid var(--dp-nav-border-color); padding: 5px 10px; border-radius: 0px; "), e.add(".scheduler_default_main", ' --dp-scheduler-border-color: #c0c0c0; --dp-scheduler-border-inner-color: #e0e0e0; --dp-scheduler-cell-bg-color: #f9f9f9; --dp-scheduler-cell-business-bg-color: #ffffff; --dp-scheduler-event-background: linear-gradient(to bottom, var(--dp-scheduler-event-bg-top-color) 0%, var(--dp-scheduler-event-bg-bottom-color) 100%); --dp-scheduler-event-bg-bottom-color: #eeeeee; --dp-scheduler-event-bg-top-color: #ffffff; --dp-scheduler-event-bar-bg-color: #9dc8e8; --dp-scheduler-event-bar-color: #1066a8; --dp-scheduler-event-bar-display: block; --dp-scheduler-event-bar-height: 4px; --dp-scheduler-event-bar-left: 0px; --dp-scheduler-event-bar-right: 0px; --dp-scheduler-event-bar-top: 0px; --dp-scheduler-event-border: 1px solid var(--dp-scheduler-event-border-color); --dp-scheduler-event-border-color: #ccc; --dp-scheduler-event-border-radius: 0px; --dp-scheduler-event-box-shadow: none; --dp-scheduler-event-color: #333; --dp-scheduler-event-horizontal-align: flex-start; --dp-scheduler-event-milestone-color: #38761d; --dp-scheduler-event-padding: 2px; --dp-scheduler-event-selected-bg-color: #ddd; --dp-scheduler-event-vertical-align: center; --dp-scheduler-focus-outline-color: red; --dp-scheduler-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --dp-scheduler-font-size: 13px; --dp-scheduler-grid-line-break-color: #999; --dp-scheduler-grid-line-color: #eee; --dp-scheduler-header-bg-color: #f3f3f3; --dp-scheduler-header-color: #333; --dp-scheduler-link-color: #cc0000; --dp-scheduler-message-bg-color: #ffa216; --dp-scheduler-message-color: #ffffff; --dp-scheduler-message-padding: 10px; --dp-scheduler-rowheader-padding: 7px; --dp-scheduler-rowheader-vertical-align: center; --dp-scheduler-selectionrectangle-color: #1066a8; --dp-scheduler-shadow-border-color: #888888; --dp-scheduler-shadow-color: #bbbbbb; --dp-scheduler-timeheader-horizontal-align: center; --dp-scheduler-timeheader-padding: 0px; --dp-scheduler-timeheader-vertical-align: center;'), e.add(".scheduler_default_main *, .scheduler_default_main *:before, .scheduler_default_main *:after", "box-sizing: content-box;"), e.add(".scheduler_default_main, .scheduler_default_main svg text", "box-sizing: content-box; border: 1px solid var(--dp-scheduler-border-color); font-family: var(--dp-scheduler-font-family); font-size: var(--dp-scheduler-font-size);"), e.add(".scheduler_default_selected .scheduler_default_event_inner", "background: var(--dp-scheduler-event-selected-bg-color);"), e.add(".scheduler_default_timeheader_scroll", "background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_message", "opacity: 0.9; padding: var(--dp-scheduler-message-padding); color: var(--dp-scheduler-message-color); background: var(--dp-scheduler-message-bg-color);"), e.add(".scheduler_default_timeheadergroup,.scheduler_default_timeheadercol", "color: var(--dp-scheduler-header-color); background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_rowheader,.scheduler_default_corner", "color: var(--dp-scheduler-header-color); background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_rowheader.scheduler_default_rowheader_selected", "background-color: #aaa; background-image: linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_rowheader_inner", "position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; border-right: 1px solid var(--dp-scheduler-border-inner-color); padding: var(--dp-scheduler-rowheader-padding); display: flex; align-items: var(--dp-scheduler-rowheader-vertical-align);"), e.add(".scheduler_default_timeheadergroup_inner, .scheduler_default_timeheadercol_inner", "position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-right: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_timeheadergroup_inner", "border-bottom: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_timeheadergroup_inner, .scheduler_default_timeheadercol_inner, .scheduler_default_timeheader_float", "display: flex; align-items: var(--dp-scheduler-timeheader-vertical-align); justify-content: var(--dp-scheduler-timeheader-horizontal-align); padding: var(--dp-scheduler-timeheader-padding);"), e.add(".scheduler_default_divider, .scheduler_default_splitter", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_divider_horizontal", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_matrix_vertical_line", "background-color: var(--dp-scheduler-grid-line-color);"), e.add(".scheduler_default_matrix_vertical_break", "background-color: var(--dp-scheduler-grid-line-break-color);"), e.add(".scheduler_default_matrix_horizontal_line", "background-color: var(--dp-scheduler-grid-line-color);"), e.add(".scheduler_default_resourcedivider", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_shadow_inner", "box-sizing: border-box; background-color: var(--dp-scheduler-shadow-color); border: 1px solid var(--dp-scheduler-shadow-border-color); border-radius: var(--dp-scheduler-event-border-radius); opacity: 0.5; height: 100%;"), e.add(".scheduler_default_shadow", "box-shadow: 0 2px 5px rgba(0,0,0,.2); border-radius: var(--dp-scheduler-event-border-radius);"), e.add(".scheduler_default_event", "font-size: var(--dp-scheduler-font-size); color: var(--dp-scheduler-event-color); border-radius: var(--dp-scheduler-event-border-radius); box-shadow: var(--dp-scheduler-event-box-shadow);"), e.add(".scheduler_default_event_inner", "position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; border-radius: var(--dp-scheduler-event-border-radius); padding: var(--dp-scheduler-event-padding); overflow: hidden; border: var(--dp-scheduler-event-border); display: flex; align-items: var(--dp-scheduler-event-vertical-align); justify-content: var(--dp-scheduler-event-horizontal-align); background: var(--dp-scheduler-event-background);"), e.add(".scheduler_default_event_bar", "display: var(--dp-scheduler-event-bar-display);top: var(--dp-scheduler-event-bar-top); left: var(--dp-scheduler-event-bar-left); right: var(--dp-scheduler-event-bar-right); height: var(--dp-scheduler-event-bar-height); background-color: var(--dp-scheduler-event-bar-bg-color);"), e.add(".scheduler_default_event_bar_inner", "position:absolute; height: var(--dp-scheduler-event-bar-height); background-color: var(--dp-scheduler-event-bar-color);"), e.add(".scheduler_default_event_float", "display: flex; align-items: center;"), e.add(".scheduler_default_event_float_inner", "padding: var(--dp-scheduler-event-padding) var(--dp-scheduler-event-padding) var(--dp-scheduler-event-padding) 8px; position: relative;"), e.add(".scheduler_default_event_float_inner:after", 'content:""; border-color: transparent #666 transparent transparent; border-style:solid; border-width:5px; width:0; height:0; position:absolute; top: calc(50% - 5px); left:-4px;'), e.add(".scheduler_default_event_focus", "outline: var(--dp-scheduler-focus-outline-color) 2px solid; z-index: 100; opacity: 0.5;"), e.add(".scheduler_default_columnheader_inner", "font-weight: bold;"), e.add(".scheduler_default_columnheader_splitter", "box-sizing: border-box; border-right: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_columnheader_splitter:hover", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_columnheader_cell_inner", "position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; padding: 2px; display: flex; align-items: center;"), e.add(".scheduler_default_cell", "background-color: var(--dp-scheduler-cell-bg-color);"), e.add(".scheduler_default_cell.scheduler_default_cell_business", "background-color: var(--dp-scheduler-cell-business-bg-color);"), e.add(".scheduler_default_cell.scheduler_default_cell_business.scheduler_default_cell_selected, .scheduler_default_cell.scheduler_default_cell_selected", "background-color: #ccc; background-image: linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_tree_image_no_children", ""), e.add(".scheduler_default_tree_image_expand", "background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPjxwYXRoIGQ9J00gMS41IDAuNSBMIDYuNSA1IEwgMS41IDkuNScgc3R5bGU9J2ZpbGw6bm9uZTtzdHJva2U6Izk5OTk5OTtzdHJva2Utd2lkdGg6MjtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLWxpbmVjYXA6YnV0dCcgLz48L3N2Zz4=);"), e.add(".scheduler_default_tree_image_collapse", "background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMS41IEwgNSA2LjUgTCA5LjUgMS41JyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojOTk5OTk5O3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==);"), e.add(".scheduler_default_event_delete", "background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTInIGhlaWdodD0nMTInIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMC41IEwgMTEuNSAxMS41IE0gMC41IDExLjUgTCAxMS41IDAuNScgc3R5bGU9J2ZpbGw6bm9uZTtzdHJva2U6IzQ2NDY0NjtzdHJva2Utd2lkdGg6MztzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLWxpbmVjYXA6YnV0dCcgLz48L3N2Zz4=) no-repeat center center; opacity: 0.6; cursor: pointer;"), e.add(".scheduler_default_event_delete:hover", "opacity: 1;"), e.add(".scheduler_default_rowmove_handle", "background-repeat: no-repeat; background-position: center center; background-color: #ccc; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAKCAYAAACT+/8OAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAClJREFUGFdj+P//P4O9vX2Bg4NDP4gNFgBytgPxebgAMsYuQGMz/jMAAFsTZDPYJlDHAAAAAElFTkSuQmCC); cursor: move;"), e.add(".scheduler_default_rowmove_source", "background-color: black; opacity: 0.2;"), e.add(".scheduler_default_rowmove_position_before, .scheduler_default_rowmove_position_after", "background-color: #999; height: 2px;"), e.add(".scheduler_default_rowmove_position_child", "margin-left: 20px; background-color: #999; height: 2px;"), e.add(".scheduler_default_rowmove_position_forbidden", "background-color: #cc0000; height: 2px; margin-left: 20px;"), e.add(".scheduler_default_link_horizontal", "border-bottom-style: solid; border-bottom-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_vertical", "border-right-style: solid; border-right-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_arrow_right:before", "content: ''; border-width: 6px; border-color: transparent transparent transparent var(--dp-scheduler-link-color); border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_left:before", "content: ''; border-width: 6px; border-color: transparent var(--dp-scheduler-link-color) transparent transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_down:before", "content: ''; border-width: 6px; border-color: var(--dp-scheduler-link-color) transparent transparent transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_up:before", "content: ''; border-width: 6px; border-color: transparent transparent var(--dp-scheduler-link-color) transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_horizontal", "border-bottom-color: #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_vertical", "border-right-color: #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_right:before", "border-color: transparent transparent transparent #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_left:before", "border-color: transparent #aaaaaa transparent transparent;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_down:before", "border-color: #aaaaaa transparent transparent transparent;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_up:before", "border-color: transparent transparent #aaaaaa transparent;"), e.add(".scheduler_default_block", "background-color: #808080; opacity: 0.5;"), e.add(".scheduler_default_main .scheduler_default_event_group", "box-sizing: border-box; font-size: 13px; color: #666; padding: 2px; overflow:hidden; border:1px solid var(--dp-scheduler-event-border-color); background-color: #fff; display: flex; align-items: center; white-space: nowrap;"), e.add(".scheduler_default_main .scheduler_default_header_icon", "box-sizing: border-box; border: 1px solid var(--dp-scheduler-border-color); background-color: var(--dp-scheduler-header-bg-color); color: var(--dp-scheduler-header-color);"), e.add(".scheduler_default_header_icon:hover", "background-color: #ccc;"), e.add(".scheduler_default_header_icon_hide:before", "content: '\\00AB';"), e.add(".scheduler_default_header_icon_show:before", "content: '\\00BB';"), e.add(".scheduler_default_row_new .scheduler_default_rowheader_inner", "padding-left: 10px; color: #666; cursor: text; background-position: 0px 50%; background-repeat: no-repeat; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABUSURBVChTY0ACslAaK2CC0iCQDMSlECYmQFYIAl1AjFUxukIQwKoYm0IQwFCMSyEIaEJpMMClcD4Qp0CYEIBNIUzRPzAPCtAVYlWEDgyAGIdTGBgAbqEJYyjqa3oAAAAASUVORK5CYII=);"), e.add(".scheduler_default_row_new .scheduler_default_rowheader_inner:hover", "background: white; color: white;"), e.add(".scheduler_default_rowheader textarea", "padding: 3px;"), e.add(".scheduler_default_rowheader_scroll", "cursor: default; background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_shadow_forbidden .scheduler_default_shadow_inner, .scheduler_default_shadow_overlap .scheduler_default_shadow_inner", "border: 1px solid #cc0000; background: #cc4125;"), e.add(".scheduler_default_event_moving_source", "opacity: 0.5;"), e.add(".scheduler_default_linkpoint", "background-color: white; border: 1px solid gray; border-radius: 5px;"), e.add(".scheduler_default_linkpoint.scheduler_default_linkpoint_hover", "background-color: black;"), e.add(".scheduler_default_event.scheduler_default_event_version .scheduler_default_event_inner", "overflow:hidden; background-color: #cfdde8; background-image: linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_crosshair_vertical, .scheduler_default_crosshair_horizontal, .scheduler_default_crosshair_left, .scheduler_default_crosshair_top", "background-color: gray; opacity: 0.2;"), e.add(".scheduler_default_link_dot", "border-radius: 10px; background-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_task_milestone .scheduler_default_event_inner", "position:absolute; top:16%; left:16%; right:16%; bottom:16%; background: var(--dp-scheduler-event-milestone-color); border: 0px none; transform: rotate(45deg); filter: none;"), e.add(".scheduler_default_event_left, .scheduler_default_event_right", "white-space: nowrap; color: #666; cursor: default; display: flex; align-items: center;");
|
|
202
211
|
e.add(".scheduler_default_main:focus", "outline: none;");
|
|
203
212
|
e.add(".scheduler_default_cell_focus", "outline: var(--dp-scheduler-focus-outline-color) 2px solid; outline-offset: -2px; z-index: 100; opacity: 0.5;"), e.add(".scheduler_default_cell_focus.scheduler_default_cell_focus_top", "border-top: 4px solid var(--dp-scheduler-focus-outline-color);"), e.add(".scheduler_default_cell_focus.scheduler_default_cell_focus_bottom", "border-bottom: 4px solid var(--dp-scheduler-focus-outline-color);"), e.add(".scheduler_default_selectionrectangle", "background-color: var(--dp-scheduler-selectionrectangle-color); border: 1px solid #000033; opacity: 0.4;"), e.add(".scheduler_default_link_shadow", "border:1px solid black;"), e.add(".scheduler_default_link_shadow_circle", "background-color:black;"), e.add(".scheduler_default_event_move_left", "box-sizing: border-box; padding: 2px; border: 1px solid #ccc; background: #fff; background: linear-gradient(to bottom, #ffffff 0%, #eeeeee); display: flex; align-items: center;"), e.add(".scheduler_default_event_move_right", "box-sizing: border-box; padding: 2px; border: 1px solid #ccc; background: #fff; background: linear-gradient(to bottom, #ffffff 0%, #eeeeee); display: flex; align-items: center;"), e.add(".scheduler_default_link_hover", "box-shadow: 0px 0px 2px 2px rgba(255, 0, 0, 0.3)"), e.add(".scheduler_default_sorticon", "opacity: 0.2;background-position: center center; background-repeat: no-repeat; cursor: pointer;"), e.add(".scheduler_default_sorticon.scheduler_default_sorticon_asc", "background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBvbHlnb24gcG9pbnRzPSI1IDEuNSwgMTAgMTAsIDAgMTAiLz48L3N2Zz4=');"), e.add(".scheduler_default_sorticon.scheduler_default_sorticon_desc", "background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBvbHlnb24gcG9pbnRzPSI1IDguNSwgMCAwLCAxMCAwIi8+PC9zdmc+');"), e.add(".scheduler_default_sorticon.scheduler_default_sorticon_active", "opacity: 1;"), e.add(".scheduler_default_loading", "background-color: orange; color: white; padding: 2px;"), e.add(".scheduler_default_link_curve", "stroke: var(--dp-scheduler-link-color); fill: none; stroke-width: 2;"), e.add(".scheduler_default_link_curve:hover", "stroke-opacity: 0.5;"), e.add(".scheduler_default_link_curve_dot", "fill: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_curve_marker", "fill: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_curve_text", "fill: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_curve_mshadow.scheduler_default_link_curve", "stroke: #aaaaaa;"), e.add(".scheduler_default_link_curve_mshadow.scheduler_default_link_curve_dot", "fill: #aaaaaa;"), e.add(".scheduler_default_link_curve_mshadow.scheduler_default_link_curve_marker", "fill: #aaaaaa;"), e.add(".scheduler_default_link_curve_mshadow.scheduler_default_link_curve_text", "fill: #aaaaaa;"), e.commit(), DayPilot.Global.defaultCss = !0;
|
|
204
213
|
}
|
|
@@ -308,8 +317,8 @@ if (function () {
|
|
|
308
317
|
else if (n.symbol) {
|
|
309
318
|
var p = "http://www.w3.org/2000/svg", m = document.createElementNS(p, "svg");
|
|
310
319
|
m.setAttribute("width", "100%"), m.setAttribute("height", "100%");
|
|
311
|
-
var
|
|
312
|
-
|
|
320
|
+
var y = document.createElementNS(p, "use");
|
|
321
|
+
y.setAttribute("href", n.symbol), m.appendChild(y), d.appendChild(m);
|
|
313
322
|
}
|
|
314
323
|
if (h && (d.className = h), n.toolTip && d.setAttribute("title", n.toolTip), n.backColor && (d.style.background = n.backColor), n.background && (d.style.background = n.background), n.fontColor && (d.style.color = n.fontColor), n.padding && (d.style.padding = n.padding + "px", d.style.boxSizing = "border-box"), n.verticalAlignment)
|
|
315
324
|
switch (d.style.display = "flex", n.verticalAlignment) {
|
|
@@ -355,27 +364,27 @@ if (function () {
|
|
|
355
364
|
d.onmousemove = function (e, t, n) { return function (i) { t.calendar.internal && t.calendar.internal.dragInProgress && t.calendar.internal.dragInProgress() || (i.cancelBubble = !0, e.style.cursor = n.cursor, n.dpBorder && (e.dpBorder = n.dpBorder)); }; }(l, t, n), d.onmouseout = function (e, t, n) { return function (t) { e.style.cursor = ""; }; }(l, t, n);
|
|
356
365
|
}
|
|
357
366
|
if (("ResizeEnd" === n.action || "ResizeStart" === n.action) && t.isEvent && t.calendar.internal.touch) {
|
|
358
|
-
var
|
|
359
|
-
DayPilot.rePassive(d, DayPilot.touch.start,
|
|
367
|
+
var g = function (e, t, n) { return function (i) { i.cancelBubble = !0; var a = t.calendar.internal.touch, o = i.touches ? i.touches[0] : i, r = { x: o.pageX, y: o.pageY }; t.calendar.coords = a.relativeCoords(i), a.preventEventTap = !0, t.calendar.isScheduler ? a.startResizing(e, "ResizeEnd" === n.action ? "right" : "left") : t.calendar.isCalendar && a.startResizing(e, "ResizeEnd" === n.action ? "bottom" : "top", r); }; }(l, t, n);
|
|
368
|
+
DayPilot.rePassive(d, DayPilot.touch.start, g);
|
|
360
369
|
}
|
|
361
370
|
if ("ContextMenu" === n.action && t.isEvent && t.calendar.internal.touch) {
|
|
362
|
-
var
|
|
363
|
-
DayPilot.reNonPassive(d, DayPilot.touch.start,
|
|
371
|
+
var g = function (e, t, n) { return function (i) { i.cancelBubble = !0, i.preventDefault(), r(e, t, n, i), t.calendar.internal.touch.preventEventTap = !0; }; }(l, t, n), b = function (e, t, n) { return function (e) { e.cancelBubble = !0, e.preventDefault(); }; }(l, t, n);
|
|
372
|
+
DayPilot.reNonPassive(d, DayPilot.touch.start, g), DayPilot.reNonPassive(d, DayPilot.touch.end, b);
|
|
364
373
|
}
|
|
365
374
|
if ("Bubble" === n.action && t.isEvent && t.calendar.internal.touch) {
|
|
366
|
-
var
|
|
375
|
+
var g = function (e, t, n) { return function (e) { e.cancelBubble = !0, e.preventDefault(); var i = a(n, t, e); if (!i.preventDefault.value) {
|
|
367
376
|
o(t, n, e);
|
|
368
377
|
t.calendar.internal.touch.preventEventTap = !0, "function" == typeof n.onClicked && n.onClicked(i);
|
|
369
378
|
} }; }(l, t, n), b = function (e, t, n) { return function (e) { e.cancelBubble = !0, e.preventDefault(); }; }(l, t, n);
|
|
370
|
-
DayPilot.reNonPassive(d, DayPilot.touch.start,
|
|
379
|
+
DayPilot.reNonPassive(d, DayPilot.touch.start, g), DayPilot.reNonPassive(d, DayPilot.touch.end, b);
|
|
371
380
|
}
|
|
372
381
|
if ("Move" === n.action && t.isEvent && t.calendar.internal.touch) {
|
|
373
|
-
var
|
|
374
|
-
DayPilot.rePassive(d, DayPilot.touch.start,
|
|
382
|
+
var g = function (e, t, n) { return function (n) { n.cancelBubble = !0; var i = t.calendar.internal.touch, a = n.touches ? n.touches[0] : n, o = { x: a.pageX, y: a.pageY }; t.calendar.coords = i.relativeCoords(n), DayPilot.Global && DayPilot.Global.touch && (DayPilot.Global.touch.active = !0), i.preventEventTap = !0, i.startMoving(e, o); }; }(l, t, n);
|
|
383
|
+
DayPilot.rePassive(d, DayPilot.touch.start, g);
|
|
375
384
|
}
|
|
376
385
|
if ("Bubble" === n.action && t.isEvent ? (d.onmousemove = function (e, t, n) { return function (e) { n.bubble ? n.bubble.showEvent(t, !0) : t.calendar.bubble && t.calendar.bubble.showEvent(t, !0); }; }(e, t, n), d.onmouseout = function (e, t, n) { return function (e) { "undefined" != typeof DayPilot.Bubble && (n.bubble ? n.bubble.hideOnMouseOut() : t.calendar.bubble && t.calendar.bubble.hideOnMouseOut()); }; }(e, t, n)) : "Bubble" === n.action && t.isRow ? (d.onmousemove = function (e, t, n) { return function (e) { n.bubble ? n.bubble.showResource(t, !0) : t.calendar.resourceBubble && t.calendar.resourceBubble.showResource(t, !0); }; }(e, t, n), d.onmouseout = function (e, t, n) { return function (e) { "undefined" != typeof DayPilot.Bubble && (n.bubble ? n.bubble.hideOnMouseOut() : t.calendar.resourceBubble && t.calendar.resourceBubble.hideOnMouseOut()); }; }(e, t, n)) : "Bubble" === n.action && "undefined" != typeof DayPilot.Bubble && n.bubble instanceof DayPilot.Bubble && (d.onmousemove = function (e, t, n) { return function (e) { n.bubble.showHtml(null, null); }; }(e, t, n), d.onmouseout = function (e, t, n) { return function (e) { "undefined" != typeof DayPilot.Bubble && n.bubble && n.bubble.hideOnMouseOut(); }; }(e, t, n)), "HoverMenu" === n.action && (d.onmousemove = function (e, t, n) { return function (e) { var i = n.menu; i && i.show && (i.visible ? i.source && "undefined" != typeof i.source.id && i.source.id !== t.id && i.show(t) : i.show(t), i.cancelHideTimeout()); }; }(e, t, n), d.onmouseout = function (e, t, n) { return function (e) { var t = n.menu; t && t.hideOnMouseOver && t.delayedHide(); }; }(e, t, n)), "None" === n.action) {
|
|
377
|
-
var
|
|
378
|
-
DayPilot.reNonPassive(d, DayPilot.touch.start,
|
|
386
|
+
var g = function (e, t, n) { return function (e) { var i = a(n, t, e); "function" == typeof n.onClicked && n.onClicked(i), e.preventDefault(), e.stopPropagation(); }; }(l, t, n);
|
|
387
|
+
DayPilot.reNonPassive(d, DayPilot.touch.start, g);
|
|
379
388
|
}
|
|
380
389
|
return d.onmousedown = function (e, t, n) { return function (i) { if ("function" == typeof n.onmousedown && n.onmousedown(i), "function" == typeof n.mousedown) {
|
|
381
390
|
var a = {};
|
|
@@ -407,7 +416,7 @@ if (function () {
|
|
|
407
416
|
DayPilot.Areas.hideAreas(DayPilot.Areas.all[t], e); }, DayPilot.Exception = function (e) { return new Error(e); }, DayPilot.Locale = function (e, t) { if (this.id = e, this.dayNames = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], this.dayNamesShort = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], this.monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], this.datePattern = "M/d/yyyy", this.timePattern = "H:mm", this.dateTimePattern = "M/d/yyyy H:mm", this.timeFormat = "Clock12Hours", this.weekStarts = 0, t)
|
|
408
417
|
for (var n in t)
|
|
409
418
|
this[n] = t[n]; }, DayPilot.Locale.all = {}, DayPilot.Locale.find = function (e) { if (!e)
|
|
410
|
-
return null; var t = e.toLowerCase(); return t.length > 2 && (t = DayPilot.Util.replaceCharAt(t, 2, "-")), DayPilot.Locale.all[t]; }, DayPilot.Locale.register = function (e) { DayPilot.Locale.all[e.id] = e; }, DayPilot.Locale.register(new DayPilot.Locale("ca-es", { "dayNames": ["diumenge", "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte"], "dayNamesShort": ["dg", "dl", "dt", "dc", "dj", "dv", "ds"], "monthNames": ["gener", "febrer", "març", "abril", "maig", "juny", "juliol", "agost", "setembre", "octubre", "novembre", "desembre", ""], "monthNamesShort": ["gen.", "febr.", "març", "abr.", "maig", "juny", "jul.", "ag.", "set.", "oct.", "nov.", "des.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("cs-cz", { "dayNames": ["neděle", "pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota"], "dayNamesShort": ["ne", "po", "út", "st", "čt", "pá", "so"], "monthNames": ["leden", "únor", "březen", "duben", "květen", "červen", "červenec", "srpen", "září", "říjen", "listopad", "prosinec", ""], "monthNamesShort": ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "XI", "XII", ""], "timePattern": "H:mm", "datePattern": "d. M. yyyy", "dateTimePattern": "d. M. yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("da-dk", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "marts", "april", "maj", "juni", "juli", "august", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yyyy", "dateTimePattern": "dd-MM-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-at", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Jänner", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jän", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-ch", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-de", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-lu", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-au", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-ca", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("en-gb", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-us", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "M/d/yyyy", "dateTimePattern": "M/d/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("es-es", { "dayNames": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "dayNamesShort": ["D", "L", "M", "X", "J", "V", "S"], "monthNames": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], "monthNamesShort": ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("es-mx", { "dayNames": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "dayNamesShort": ["do.", "lu.", "ma.", "mi.", "ju.", "vi.", "sá."], "monthNames": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], "monthNamesShort": ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""], "timePattern": "hh:mm tt", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy hh:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("eu-es", { "dayNames": ["igandea", "astelehena", "asteartea", "asteazkena", "osteguna", "ostirala", "larunbata"], "dayNamesShort": ["ig", "al", "as", "az", "og", "or", "lr"], "monthNames": ["urtarrila", "otsaila", "martxoa", "apirila", "maiatza", "ekaina", "uztaila", "abuztua", "iraila", "urria", "azaroa", "abendua", ""], "monthNamesShort": ["urt.", "ots.", "mar.", "api.", "mai.", "eka.", "uzt.", "abu.", "ira.", "urr.", "aza.", "abe.", ""], "timePattern": "H:mm", "datePattern": "yyyy/MM/dd", "dateTimePattern": "yyyy/MM/dd H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fi-fi", { "dayNames": ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai"], "dayNamesShort": ["su", "ma", "ti", "ke", "to", "pe", "la"], "monthNames": ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu", ""], "monthNamesShort": ["tammi", "helmi", "maalis", "huhti", "touko", "kesä", "heinä", "elo", "syys", "loka", "marras", "joulu", ""], "timePattern": "H:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-be", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yy", "dateTimePattern": "dd-MM-yy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-ch", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-fr", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-lu", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("gl-es", { "dayNames": ["domingo", "luns", "martes", "mércores", "xoves", "venres", "sábado"], "dayNamesShort": ["do", "lu", "ma", "mé", "xo", "ve", "sá"], "monthNames": ["xaneiro", "febreiro", "marzo", "abril", "maio", "xuño", "xullo", "agosto", "setembro", "outubro", "novembro", "decembro", ""], "monthNamesShort": ["xan", "feb", "mar", "abr", "maio", "xuño", "xul", "ago", "set", "out", "nov", "dec", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("it-it", { "dayNames": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "dayNamesShort": ["do", "lu", "ma", "me", "gi", "ve", "sa"], "monthNames": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", ""], "monthNamesShort": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("it-ch", { "dayNames": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "dayNamesShort": ["do", "lu", "ma", "me", "gi", "ve", "sa"], "monthNames": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", ""], "monthNamesShort": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("ja-jp", { "dayNames": ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"], "dayNamesShort": ["日", "月", "火", "水", "木", "金", "土"], "monthNames": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "H:mm", "datePattern": "yyyy/MM/dd", "dateTimePattern": "yyyy/MM/dd H:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("nb-no", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nl-nl", { "dayNames": ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dayNamesShort": ["zo", "ma", "di", "wo", "do", "vr", "za"], "monthNames": ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "d-M-yyyy", "dateTimePattern": "d-M-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nl-be", { "dayNames": ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dayNamesShort": ["zo", "ma", "di", "wo", "do", "vr", "za"], "monthNames": ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "H:mm", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nn-no", { "dayNames": ["søndag", "måndag", "tysdag", "onsdag", "torsdag", "fredag", "laurdag"], "dayNamesShort": ["sø", "må", "ty", "on", "to", "fr", "la"], "monthNames": ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("pt-br", { "dayNames": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dayNamesShort": ["D", "S", "T", "Q", "Q", "S", "S"], "monthNames": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", ""], "monthNamesShort": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("pl-pl", { "dayNames": ["niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"], "dayNamesShort": ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So"], "monthNames": ["styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień", ""], "monthNamesShort": ["sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "paź", "lis", "gru", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("pt-pt", { "dayNames": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dayNamesShort": ["D", "S", "T", "Q", "Q", "S", "S"], "monthNames": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", ""], "monthNamesShort": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("ro-ro", { "dayNames": ["duminică", "luni", "marți", "miercuri", "joi", "vineri", "sâmbătă"], "dayNamesShort": ["D", "L", "Ma", "Mi", "J", "V", "S"], "monthNames": ["ianuarie", "februarie", "martie", "aprilie", "mai", "iunie", "iulie", "august", "septembrie", "octombrie", "noiembrie", "decembrie", ""], "monthNamesShort": ["ian.", "feb.", "mar.", "apr.", "mai.", "iun.", "iul.", "aug.", "sep.", "oct.", "nov.", "dec.", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("ru-ru", { "dayNames": ["воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота"], "dayNamesShort": ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], "monthNames": ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь", ""], "monthNamesShort": ["янв", "фев", "мар", "апр", "май", "июн", "июл", "авг", "сен", "окт", "ноя", "дек", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("sk-sk", { "dayNames": ["nedeľa", "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota"], "dayNamesShort": ["ne", "po", "ut", "st", "št", "pi", "so"], "monthNames": ["január", "február", "marec", "apríl", "máj", "jún", "júl", "august", "september", "október", "november", "december", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "H:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("sv-se", { "dayNames": ["söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag"], "dayNamesShort": ["sö", "må", "ti", "on", "to", "fr", "lö"], "monthNames": ["januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("tr-tr", { "dayNames": ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"], "dayNamesShort": ["Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct"], "monthNames": ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık", ""], "monthNamesShort": ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara", ""], "timePattern": "HH:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("uk-ua", { "dayNames": ["неділя", "понеділок", "вівторок", "середа", "четвер", "п'ятниця", "субота"], "dayNamesShort": ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], "monthNames": ["січень", "лютий", "березень", "квітень", "травень", "червень", "липень", "серпень", "вересень", "жовтень", "листопад", "грудень", ""], "monthNamesShort": ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("zh-cn", { "dayNames": ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], "dayNamesShort": ["日", "一", "二", "三", "四", "五", "六"], "monthNames": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""], "monthNamesShort": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""], "timePattern": "H:mm", "datePattern": "yyyy/M/d", "dateTimePattern": "yyyy/M/d H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("zh-tw", { "dayNames": ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], "dayNamesShort": ["日", "一", "二", "三", "四", "五", "六"], "monthNames": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""], "monthNamesShort": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""], "timePattern": "tt hh:mm", "datePattern": "yyyy/M/d", "dateTimePattern": "yyyy/M/d tt hh:mm", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.US = DayPilot.Locale.find("en-us"), DayPilot.Switcher = function (e) { function t(e, t, i) { var a = {}; a.start = e, a.end = t, a.day = i, a.target = n.l.control, a.preventDefault = function () { this.preventDefault.value = !0; }; var o = n.I; o && o.start === a.start && o.end === a.end && o.day === a.day && o.target === a.target || (n.I = a, "function" == typeof n.onChange && (n.onChange(a), a.preventDefault.value) || "function" == typeof n.onTimeRangeSelect && (n.onTimeRangeSelect(a), a.preventDefault.value) || (n.l.t(n.m), "function" == typeof n.onChanged && n.onChanged(a), "function" == typeof n.onTimeRangeSelected && n.onTimeRangeSelected(a))); } var n = this; this.f = [], this.j = [], this.k = {}, this.selectedClass = null, this.syncScrollbar = !0, this.l = null, this.m = DayPilot.Date.today(), this.n = null, this.onChange = null, this.onChanged = null, this.onSelect = null, this.k.updateMode = function (e) { var t = n.k.control; t && (t.selectMode = e, t.select(n.m)); }, this.addView = function (e, t) { var i; if ("string" == typeof e) {
|
|
419
|
+
return null; var t = e.toLowerCase(); return t.length > 2 && (t = DayPilot.Util.replaceCharAt(t, 2, "-")), DayPilot.Locale.all[t]; }, DayPilot.Locale.register = function (e) { DayPilot.Locale.all[e.id] = e; }, DayPilot.Locale.register(new DayPilot.Locale("ca-es", { "dayNames": ["diumenge", "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte"], "dayNamesShort": ["dg", "dl", "dt", "dc", "dj", "dv", "ds"], "monthNames": ["gener", "febrer", "març", "abril", "maig", "juny", "juliol", "agost", "setembre", "octubre", "novembre", "desembre", ""], "monthNamesShort": ["gen.", "febr.", "març", "abr.", "maig", "juny", "jul.", "ag.", "set.", "oct.", "nov.", "des.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("cs-cz", { "dayNames": ["neděle", "pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota"], "dayNamesShort": ["ne", "po", "út", "st", "čt", "pá", "so"], "monthNames": ["leden", "únor", "březen", "duben", "květen", "červen", "červenec", "srpen", "září", "říjen", "listopad", "prosinec", ""], "monthNamesShort": ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "XI", "XII", ""], "timePattern": "H:mm", "datePattern": "d. M. yyyy", "dateTimePattern": "d. M. yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("da-dk", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "marts", "april", "maj", "juni", "juli", "august", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yyyy", "dateTimePattern": "dd-MM-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-at", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Jänner", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jän", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-ch", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-de", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-lu", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-au", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-ca", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("en-gb", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-us", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "M/d/yyyy", "dateTimePattern": "M/d/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("es-es", { "dayNames": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "dayNamesShort": ["D", "L", "M", "X", "J", "V", "S"], "monthNames": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], "monthNamesShort": ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("es-mx", { "dayNames": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "dayNamesShort": ["do.", "lu.", "ma.", "mi.", "ju.", "vi.", "sá."], "monthNames": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], "monthNamesShort": ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""], "timePattern": "hh:mm tt", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy hh:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("eu-es", { "dayNames": ["igandea", "astelehena", "asteartea", "asteazkena", "osteguna", "ostirala", "larunbata"], "dayNamesShort": ["ig", "al", "as", "az", "og", "or", "lr"], "monthNames": ["urtarrila", "otsaila", "martxoa", "apirila", "maiatza", "ekaina", "uztaila", "abuztua", "iraila", "urria", "azaroa", "abendua", ""], "monthNamesShort": ["urt.", "ots.", "mar.", "api.", "mai.", "eka.", "uzt.", "abu.", "ira.", "urr.", "aza.", "abe.", ""], "timePattern": "H:mm", "datePattern": "yyyy/MM/dd", "dateTimePattern": "yyyy/MM/dd H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fi-fi", { "dayNames": ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai"], "dayNamesShort": ["su", "ma", "ti", "ke", "to", "pe", "la"], "monthNames": ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu", ""], "monthNamesShort": ["tammi", "helmi", "maalis", "huhti", "touko", "kesä", "heinä", "elo", "syys", "loka", "marras", "joulu", ""], "timePattern": "H:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-be", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yy", "dateTimePattern": "dd-MM-yy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-ca", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("fr-ch", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-fr", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-lu", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("gl-es", { "dayNames": ["domingo", "luns", "martes", "mércores", "xoves", "venres", "sábado"], "dayNamesShort": ["do", "lu", "ma", "mé", "xo", "ve", "sá"], "monthNames": ["xaneiro", "febreiro", "marzo", "abril", "maio", "xuño", "xullo", "agosto", "setembro", "outubro", "novembro", "decembro", ""], "monthNamesShort": ["xan", "feb", "mar", "abr", "maio", "xuño", "xul", "ago", "set", "out", "nov", "dec", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("it-it", { "dayNames": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "dayNamesShort": ["do", "lu", "ma", "me", "gi", "ve", "sa"], "monthNames": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", ""], "monthNamesShort": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("it-ch", { "dayNames": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "dayNamesShort": ["do", "lu", "ma", "me", "gi", "ve", "sa"], "monthNames": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", ""], "monthNamesShort": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("ja-jp", { "dayNames": ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"], "dayNamesShort": ["日", "月", "火", "水", "木", "金", "土"], "monthNames": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "H:mm", "datePattern": "yyyy/MM/dd", "dateTimePattern": "yyyy/MM/dd H:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("ko-kr", { "dayNames": ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일"], "dayNamesShort": ["일", "월", "화", "수", "목", "금", "토"], "monthNames": ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "tt h:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd tt h:mm", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("nb-no", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nl-nl", { "dayNames": ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dayNamesShort": ["zo", "ma", "di", "wo", "do", "vr", "za"], "monthNames": ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "d-M-yyyy", "dateTimePattern": "d-M-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nl-be", { "dayNames": ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dayNamesShort": ["zo", "ma", "di", "wo", "do", "vr", "za"], "monthNames": ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "H:mm", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nn-no", { "dayNames": ["søndag", "måndag", "tysdag", "onsdag", "torsdag", "fredag", "laurdag"], "dayNamesShort": ["sø", "må", "ty", "on", "to", "fr", "la"], "monthNames": ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("pt-br", { "dayNames": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dayNamesShort": ["D", "S", "T", "Q", "Q", "S", "S"], "monthNames": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", ""], "monthNamesShort": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("pl-pl", { "dayNames": ["niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"], "dayNamesShort": ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So"], "monthNames": ["styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień", ""], "monthNamesShort": ["sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "paź", "lis", "gru", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("pt-pt", { "dayNames": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dayNamesShort": ["D", "S", "T", "Q", "Q", "S", "S"], "monthNames": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", ""], "monthNamesShort": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("ro-ro", { "dayNames": ["duminică", "luni", "marți", "miercuri", "joi", "vineri", "sâmbătă"], "dayNamesShort": ["D", "L", "Ma", "Mi", "J", "V", "S"], "monthNames": ["ianuarie", "februarie", "martie", "aprilie", "mai", "iunie", "iulie", "august", "septembrie", "octombrie", "noiembrie", "decembrie", ""], "monthNamesShort": ["ian.", "feb.", "mar.", "apr.", "mai.", "iun.", "iul.", "aug.", "sep.", "oct.", "nov.", "dec.", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("ru-ru", { "dayNames": ["воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота"], "dayNamesShort": ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], "monthNames": ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь", ""], "monthNamesShort": ["янв", "фев", "мар", "апр", "май", "июн", "июл", "авг", "сен", "окт", "ноя", "дек", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("sk-sk", { "dayNames": ["nedeľa", "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota"], "dayNamesShort": ["ne", "po", "ut", "st", "št", "pi", "so"], "monthNames": ["január", "február", "marec", "apríl", "máj", "jún", "júl", "august", "september", "október", "november", "december", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "H:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("sv-se", { "dayNames": ["söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag"], "dayNamesShort": ["sö", "må", "ti", "on", "to", "fr", "lö"], "monthNames": ["januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("tr-tr", { "dayNames": ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"], "dayNamesShort": ["Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct"], "monthNames": ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık", ""], "monthNamesShort": ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara", ""], "timePattern": "HH:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("uk-ua", { "dayNames": ["неділя", "понеділок", "вівторок", "середа", "четвер", "п'ятниця", "субота"], "dayNamesShort": ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], "monthNames": ["січень", "лютий", "березень", "квітень", "травень", "червень", "липень", "серпень", "вересень", "жовтень", "листопад", "грудень", ""], "monthNamesShort": ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("zh-cn", { "dayNames": ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], "dayNamesShort": ["日", "一", "二", "三", "四", "五", "六"], "monthNames": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""], "monthNamesShort": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""], "timePattern": "H:mm", "datePattern": "yyyy/M/d", "dateTimePattern": "yyyy/M/d H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("zh-tw", { "dayNames": ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], "dayNamesShort": ["日", "一", "二", "三", "四", "五", "六"], "monthNames": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""], "monthNamesShort": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""], "timePattern": "tt hh:mm", "datePattern": "yyyy/M/d", "dateTimePattern": "yyyy/M/d tt hh:mm", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.US = DayPilot.Locale.find("en-us"), DayPilot.Switcher = function (e) { function t(e, t, i) { var a = {}; a.start = e, a.end = t, a.day = i, a.target = n.l.control, a.preventDefault = function () { this.preventDefault.value = !0; }; var o = n.I; o && o.start === a.start && o.end === a.end && o.day === a.day && o.target === a.target || (n.I = a, "function" == typeof n.onChange && (n.onChange(a), a.preventDefault.value) || "function" == typeof n.onTimeRangeSelect && (n.onTimeRangeSelect(a), a.preventDefault.value) || (n.l.t(n.m), "function" == typeof n.onChanged && n.onChanged(a), "function" == typeof n.onTimeRangeSelected && n.onTimeRangeSelected(a))); } var n = this; this.f = [], this.j = [], this.k = {}, this.selectedClass = null, this.syncScrollbar = !0, this.l = null, this.m = DayPilot.Date.today(), this.n = null, this.onChange = null, this.onChanged = null, this.onSelect = null, this.k.updateMode = function (e) { var t = n.k.control; t && (t.selectMode = e, t.select(n.m)); }, this.addView = function (e, t) { var i; if ("string" == typeof e) {
|
|
411
420
|
if (i = document.getElementById(e), !i)
|
|
412
421
|
throw "Element not found: " + e;
|
|
413
422
|
}
|
|
@@ -465,43 +474,39 @@ if (function () {
|
|
|
465
474
|
i.forEach(function (e) { n.addTrigger(e.id, e.view); });
|
|
466
475
|
}
|
|
467
476
|
else
|
|
468
|
-
"navigator" === t ? n.addNavigator(e.navigator) : n[t] = e[t]; }, this.J(); }, DayPilot.Duration = function (e) {
|
|
469
|
-
var
|
|
470
|
-
if (
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
+
"navigator" === t ? n.addNavigator(e.navigator) : n[t] = e[t]; }, this.J(); }, DayPilot.Duration = function (e) {
|
|
478
|
+
var t = this, n = 864e5, i = 36e5, a = 6e4, o = 1e3;
|
|
479
|
+
if (2 === arguments.length) {
|
|
480
|
+
var r = arguments[0], s = arguments[1];
|
|
481
|
+
if (!(r instanceof DayPilot.Date) && "string" != typeof r)
|
|
482
|
+
throw "DayPilot.Duration(): Invalid start argument, DayPilot.Date expected";
|
|
483
|
+
if (!(s instanceof DayPilot.Date) && "string" != typeof s)
|
|
484
|
+
throw "DayPilot.Duration(): Invalid end argument, DayPilot.Date expected";
|
|
485
|
+
"string" == typeof r && (r = new DayPilot.Date(r)), "string" == typeof s && (s = new DayPilot.Date(s)), e = s.getTime() - r.getTime();
|
|
486
|
+
}
|
|
487
|
+
return this.ticks = e, DayPilot.Date.Cache.DurationCtor["" + e] ? DayPilot.Date.Cache.DurationCtor["" + e] : (DayPilot.Date.Cache.DurationCtor["" + e] = this, this.toString = function (e) { if (!e)
|
|
488
|
+
return t.days() + "." + t.hours() + ":" + t.minutes() + ":" + t.seconds() + "." + t.milliseconds(); var n = t.minutes(); n = (n < 10 ? "0" : "") + n; var i = e; return i = i.replace("mm", n), i = i.replace("m", t.minutes()), i = i.replace("H", t.hours()), i = i.replace("h", t.hours()), i = i.replace("d", t.days()), i = i.replace("s", t.seconds()); }, this.totalHours = function () { return t.ticks / i; }, this.totalDays = function () { return t.ticks / n; }, this.totalMinutes = function () { return t.ticks / a; }, this.totalSeconds = function () { return t.ticks / o; }, this.days = function () {
|
|
489
|
+
return Math.floor(t.totalDays());
|
|
490
|
+
}, this.hours = function () { var e = t.ticks - t.days() * n; return Math.floor(e / i); }, this.minutes = function () { var e = t.ticks - Math.floor(t.totalHours()) * i; return Math.floor(e / a); }, this.seconds = function () { var e = t.ticks - Math.floor(t.totalMinutes()) * a; return Math.floor(e / o); }, void (this.milliseconds = function () { return t.ticks % o; }));
|
|
491
|
+
}, DayPilot.Duration.weeks = function (e) { return new DayPilot.Duration(1e3 * e * 60 * 60 * 24 * 7); }, DayPilot.Duration.days = function (e) { return new DayPilot.Duration(1e3 * e * 60 * 60 * 24); }, DayPilot.Duration.hours = function (e) { return new DayPilot.Duration(1e3 * e * 60 * 60); }, DayPilot.Duration.minutes = function (e) { return new DayPilot.Duration(1e3 * e * 60); }, DayPilot.Duration.seconds = function (e) { return new DayPilot.Duration(1e3 * e); }, DayPilot.TimeSpan = function () { throw "Please use DayPilot.Duration class instead of DayPilot.TimeSpan."; };
|
|
477
492
|
try {
|
|
478
493
|
DayPilot.TimeSpan.prototype = Object.create(DayPilot.Duration.prototype);
|
|
479
494
|
}
|
|
480
495
|
catch (e) { }
|
|
481
|
-
DayPilot.Date = function (t, n) {
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
i = t;
|
|
496
|
-
}
|
|
497
|
-
else {
|
|
498
|
-
if (!(t instanceof Date))
|
|
499
|
-
throw "Unrecognized parameter: use Date, number or string in ISO 8601 format";
|
|
500
|
-
i = n ? DayPilot.DateUtil.fromLocal(t).getTime() : t.getTime();
|
|
501
|
-
}
|
|
502
|
-
var r = e(i);
|
|
503
|
-
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));
|
|
504
|
-
}, 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)
|
|
496
|
+
DayPilot.Date = function (t, n) { if (t instanceof DayPilot.Date)
|
|
497
|
+
return t; var i; DayPilot.Util.isNullOrUndefined(t) && (i = DayPilot.DateUtil.fromLocal().getTime(), t = i); var a = DayPilot.Date.Cache.Ctor; if (a[t])
|
|
498
|
+
return DayPilot.Stats.cacheHitsCtor += 1, a[t]; var o = !1; if ("string" == typeof t || t instanceof String)
|
|
499
|
+
i = DayPilot.DateUtil.fromStringSortable(t, n).getTime(), o = !0;
|
|
500
|
+
else if ("number" == typeof t || t instanceof Number) {
|
|
501
|
+
if (isNaN(t))
|
|
502
|
+
throw "Cannot create DayPilot.Date from NaN";
|
|
503
|
+
i = t;
|
|
504
|
+
}
|
|
505
|
+
else {
|
|
506
|
+
if (!(t instanceof Date))
|
|
507
|
+
throw "Unrecognized parameter: use Date, number or string in ISO 8601 format";
|
|
508
|
+
i = n ? DayPilot.DateUtil.fromLocal(t).getTime() : t.getTime();
|
|
509
|
+
} var r = e(i); 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)); }, 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)
|
|
505
510
|
return this; var t = new Date(this.ticks), n = t.getUTCFullYear(), i = t.getUTCMonth() + 1; if (e > 0) {
|
|
506
511
|
for (; e >= 12;)
|
|
507
512
|
e -= 12, n++;
|
|
@@ -679,7 +684,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
679
684
|
if (this instanceof t.Calendar && !this.P && (o = !0, this.P = !0), !o)
|
|
680
685
|
throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
|
|
681
686
|
var r = this;
|
|
682
|
-
this.uniqueID = null, this.isCalendar = !0, this.v = "2025.3.
|
|
687
|
+
this.uniqueID = null, this.isCalendar = !0, this.v = "2025.3.696-lite", this.id = e, this.clientName = e, this.cache = {}, this.cache.pixels = {}, this.elements = {}, this.elements.events = [], this.elements.selection = [], this.nav = {}, this.afterRender = function () { }, this.fasterDispose = !0, this.angularAutoApply = !1, this.api = 2, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.cellDuration = 30, this.cellHeight = 30, this.columnMarginLeft = 0, this.columnMarginRight = 5, this.columnsLoadMethod = "GET", this.contextMenu = null, this.days = 1, this.durationBarVisible = !0, this.eventBorderRadius = null, this.eventsLoadMethod = "GET", this.headerDateFormat = null, this.headerHeight = 30, this.headerTextWrappingEnabled = !1, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelHtml = null, this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.locale = "en-us", this.snapToGrid = !0, this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", this.useEventBoxes = "Always", this.viewType = "Days", this.visible = !0, this.xssProtection = "Enabled", this.headerClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", this.timeRangeSelectedHandling = "Enabled", this.onBeforeCellRender = null, this.onBeforeEventRender = null, this.onBeforeHeaderRender = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onEventRightClick = null, this.onEventRightClicked = null, this.onHeaderClick = null, this.onHeaderClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.Q = !1, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.R(); }, this.R = function () { DayPilot.de(r.elements.selection), r.elements.selection = [], r.nav.activeSelection = null; }, this.cleanSelection = this.clearSelection, this.S = function (e, t, n) { var i = {}; i.action = e, i.parameters = n, i.data = t, i.header = this.T(); var a = "JSON" + DayPilot.JSON.stringify(i); __doPostBack(r.uniqueID, a); }, this.U = function (e, t, n) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { r.loadingStart(); }, 100); var i = {}; i.action = e, i.parameters = n, i.data = t, i.header = this.T(); var a = "JSON" + DayPilot.JSON.stringify(i); this.backendUrl ? DayPilot.request(this.backendUrl, this.V, a, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, a, this.W, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = r; e.Q || (e.Q = !0, clearInterval(e.X), e.Y(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.Z(), e._(), e.nav.select = null, e.nav.cornerRight = null, e.nav.scrollable = null, e.nav.zoom = null, e.nav.loading = null, e.nav.header = null, e.nav.hourTable = null, e.nav.scrolltop = null, e.nav.scroll.onscroll = null, e.nav.scroll = null, e.nav.main = null, e.nav.message = null, e.nav.messageClose = null, e.nav.top = null, t.unregister(e)); }, this.disposed = function () { return this.Q; }, this.aa = function () { this.nav.top.dispose = this.dispose; }, this.V = function (e) { r.W(e.responseText); }, this.T = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = r.days, e.startDate = r.startDate, e.heightSpec = r.heightSpec, e.businessBeginsHour = r.businessBeginsHour, e.businessEndsHour = r.businessEndsHour, e.hashes = r.hashes, e.timeFormat = r.timeFormat, e.viewType = r.viewType, e.locale = r.locale, e; }, this.ba = function (e, t) { for (var n = e.parentNode; n && "TD" !== n.tagName;)
|
|
683
688
|
n = n.parentNode; var i = r.eventBorderRadius; "number" == typeof i && (i += "px"); var a = document.createElement("div"); a.setAttribute("unselectable", "on"), a.style.position = "absolute", a.style.width = e.offsetWidth + "px", a.style.height = e.offsetHeight + "px", a.style.left = e.offsetLeft + "px", a.style.top = e.offsetTop + "px", a.style.boxSizing = "border-box", a.style.zIndex = 101, a.className = r.L("_shadow"); var o = document.createElement("div"); return o.className = r.L("_shadow_inner"), i && (o.style.borderRadius = i, a.style.borderRadius = i), a.appendChild(o), n.firstChild.appendChild(a), a; }, this.ca = {}, this.ca.locale = function () { var e = DayPilot.Locale.find(r.locale); return e ? e : DayPilot.Locale.US; }, this.ca.timeFormat = function () { return "Auto" !== r.timeFormat ? r.timeFormat : this.locale().timeFormat; }, this.ca.da = function () { return "Disabled" !== r.xssProtection; }, this.ca.ea = function () { if ("Auto" === r.weekStarts) {
|
|
684
689
|
var e = s.locale();
|
|
685
690
|
return e ? e.weekStarts : 0;
|
|
@@ -687,45 +692,50 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
687
692
|
return 1; if (e >= 60)
|
|
688
693
|
return 60; var t = [1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60], n = Math.floor(e); return Math.max.apply(null, t.filter(function (e) { return e <= n; })); };
|
|
689
694
|
var s = this.ca;
|
|
690
|
-
this.W = function (e, t) {
|
|
691
|
-
if (
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
695
|
+
this.W = function (e, t) {
|
|
696
|
+
if (e && 0 === e.indexOf("$$$")) {
|
|
697
|
+
if (!window.console)
|
|
698
|
+
throw "Error received from the server side: " + e;
|
|
699
|
+
return void console.log("Error received from the server side: " + e);
|
|
700
|
+
}
|
|
701
|
+
var e = JSON.parse(e);
|
|
702
|
+
if (e.CallBackRedirect)
|
|
703
|
+
return void (document.location.href = e.CallBackRedirect);
|
|
704
|
+
if ("None" === e.UpdateType)
|
|
705
|
+
return r.loadingStop(), void r.u();
|
|
706
|
+
if (r.Y(), "Full" === e.UpdateType && (r.columns = e.Columns, r.days = e.Days, r.startDate = new DayPilot.Date(e.StartDate), r.heightSpec = e.HeightSpec ? e.HeightSpec : r.heightSpec, r.businessBeginsHour = e.BusinessBeginsHour ? e.BusinessBeginsHour : r.businessBeginsHour, r.businessEndsHour = e.BusinessEndsHour ? e.BusinessEndsHour : r.businessEndsHour, r.headerDateFormat = e.HeaderDateFormat ? e.HeaderDateFormat : r.headerDateFormat, r.viewType = e.ViewType, r.backColor = e.BackColor ? e.BackColor : r.backColor, r.eventHeaderVisible = e.EventHeaderVisible ? e.EventHeaderVisible : r.eventHeaderVisible,
|
|
707
|
+
r.timeFormat = e.TimeFormat ? e.TimeFormat : r.timeFormat, r.locale = e.Locale ? e.Locale : r.locale, r.ga()), e.Hashes)
|
|
708
|
+
for (var n in e.Hashes)
|
|
709
|
+
r.hashes[n] = e.Hashes[n];
|
|
710
|
+
r.events.list = e.Events, r.ha(), r.ia(), "Full" === e.UpdateType && (r.ja(), r.ka(), r.la(), r.ma()), r.u(), r.na(), r.clearSelection(), r.afterRender(e.CallBackData, !0), r.loadingStop();
|
|
711
|
+
}, this.oa = function () { return this.pa() / 36e5; }, this.qa = function () { return this.businessBeginsHour > this.businessEndsHour ? 24 - this.businessBeginsHour + this.businessEndsHour : this.businessEndsHour - this.businessBeginsHour; }, this.ra = function () { return this.pa() / (60 * s.fa() * 1e3); }, this.pa = function () { var e = 0; return e = "BusinessHoursNoScroll" === this.heightSpec ? this.qa() : 24, 60 * e * 60 * 1e3; }, this.sa = function () { return "BusinessHoursNoScroll" === this.heightSpec ? this.businessBeginsHour : 0; }, this.ta = function () { return 2 === r.api; }, this.eventClickCallBack = function (e, t) { this.U("EventClick", t, e); }, this.eventClickPostBack = function (e, t) { this.S("EventClick", t, e); }, this.va = function (e) { var t = this, n = t.event; if (n.client.clickEnabled())
|
|
712
|
+
if (r.ta()) {
|
|
713
|
+
var i = {};
|
|
714
|
+
if (i.e = n, i.originalEvent = e, i.meta = e.metaKey, i.ctrl = e.ctrlKey, i.control = r, i.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof r.onEventClick && (r.wa.apply(function () { r.onEventClick(i); }), i.preventDefault.value))
|
|
715
|
+
return;
|
|
716
|
+
switch (r.eventClickHandling) {
|
|
717
|
+
case "CallBack":
|
|
718
|
+
r.eventClickCallBack(n);
|
|
719
|
+
break;
|
|
720
|
+
case "PostBack":
|
|
721
|
+
r.eventClickPostBack(n);
|
|
722
|
+
break;
|
|
723
|
+
case "ContextMenu":
|
|
724
|
+
var a = n.client.contextMenu();
|
|
725
|
+
a ? a.show(n) : r.contextMenu && r.contextMenu.show(n);
|
|
717
726
|
}
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
727
|
+
"function" == typeof r.onEventClicked && r.wa.apply(function () { r.onEventClicked(i); });
|
|
728
|
+
}
|
|
729
|
+
else
|
|
730
|
+
switch (r.eventClickHandling) {
|
|
731
|
+
case "PostBack":
|
|
732
|
+
r.eventClickPostBack(n);
|
|
733
|
+
break;
|
|
734
|
+
case "CallBack":
|
|
735
|
+
r.eventClickCallBack(n);
|
|
736
|
+
break;
|
|
737
|
+
case "JavaScript": r.onEventClick(n);
|
|
738
|
+
} }, this.xa = function (e) { var t = this.event; if (e.stopPropagation && e.stopPropagation(), !t.client.rightClickEnabled())
|
|
729
739
|
return !1; var n = {}; if (n.e = t, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof r.onEventRightClick && (r.onEventRightClick(n), n.preventDefault.value))
|
|
730
740
|
return !1; switch (r.eventRightClickHandling) {
|
|
731
741
|
case "ContextMenu":
|
|
@@ -787,7 +797,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
787
797
|
throw "newStart is null"; if (!n)
|
|
788
798
|
throw "newEnd is null"; var o = {}; o.e = e, o.newStart = t, o.newEnd = n, this.S("EventMove", a, o); }, this.eventMoveCallBack = function (e, t, n, i, a) { if (!t)
|
|
789
799
|
throw "newStart is null"; if (!n)
|
|
790
|
-
throw "newEnd is null"; var o = {}; o.e = e, o.newStart = t, o.newEnd = n, this.U("EventMove", a, o); }, this.M = function (e, t, n, i) { var a = 0, o = Math.floor((n - a) / r.cellHeight); r.snapToGrid || (o = (n - a) / r.cellHeight); var l = s.fa(), d = o * l * 60 * 1e3, c = e.start(), u = e.end(), h = new Date; c instanceof DayPilot.Date && (c = c.toDate()), h.setTime(Date.UTC(c.getUTCFullYear(), c.getUTCMonth(), c.getUTCDate())); var f = c.getTime() - (h.getTime() + 3600 * c.getUTCHours() * 1e3 + Math.floor(c.getUTCMinutes() / l) * l * 60 * 1e3); "Never" === r.useEventBoxes && (f = 0); var v = u.getTime() - c.getTime(), p = this.Ba[t], m = p.id; r.snapToGrid || (f = 0); var
|
|
800
|
+
throw "newEnd is null"; var o = {}; o.e = e, o.newStart = t, o.newEnd = n, this.U("EventMove", a, o); }, this.M = function (e, t, n, i) { var a = 0, o = Math.floor((n - a) / r.cellHeight); r.snapToGrid || (o = (n - a) / r.cellHeight); var l = s.fa(), d = o * l * 60 * 1e3, c = e.start(), u = e.end(), h = new Date; c instanceof DayPilot.Date && (c = c.toDate()), h.setTime(Date.UTC(c.getUTCFullYear(), c.getUTCMonth(), c.getUTCDate())); var f = c.getTime() - (h.getTime() + 3600 * c.getUTCHours() * 1e3 + Math.floor(c.getUTCMinutes() / l) * l * 60 * 1e3); "Never" === r.useEventBoxes && (f = 0); var v = u.getTime() - c.getTime(), p = this.Ba[t], m = p.id; r.snapToGrid || (f = 0); var y = p.start.getTime(), g = new Date; g.setTime(y + d + f); var b = new DayPilot.Date(g), w = b.addTime(v); if (r.ta()) {
|
|
791
801
|
var D = {};
|
|
792
802
|
if (D.e = e, D.newStart = b, D.newEnd = w, D.newResource = m, D.ctrl = i.ctrlKey, D.shift = i.shiftKey, D.control = r, D.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof r.onEventMove && (r.wa.apply(function () { r.onEventMove(D); }), D.preventDefault.value))
|
|
793
803
|
return;
|
|
@@ -840,7 +850,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
840
850
|
return n.start.time = r.Da(r.coords.x, r.coords.y), n.start.columnIndex = r.Ea(r.coords.x), n.start.column = r.Ba[n.start.columnIndex], r.Fa(), r.Ga(), !1;
|
|
841
851
|
}
|
|
842
852
|
} }, this.Ga = function () { var e = DayPilot.Global.selecting; !function () { var t = e.start.column, n = e.start.columnIndex, i = t.start, a = r.getPixels(e.startTime, i), o = r.getPixels(e.endTime, i), s = a.boxTop, l = o.boxBottom; r.snapToGrid || (s = a.top, l = o.top); var d = l - s, c = r.eventBorderRadius; "number" == typeof c && (c += "px"); var u = function () { if (r.nav.activeSelection)
|
|
843
|
-
return r.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 = r.L("_shadow_inner"), c && (t.style.borderRadius = c, e.style.borderRadius = c), e.appendChild(t), r.nav.events.rows[0].cells[n].selection.appendChild(e), r.elements.selection.push(e), r.nav.activeSelection = e, e; }(); u.className = r.L("_shadow"), u.firstChild.innerHTML = "", u.style.top = s + "px", u.style.height = d + "px"; }(); }, this.Fa = function () { var e = DayPilot.Global.selecting; e.end = r.coords, e.end.time = r.Da(e.start.x, e.end.y), e.end.column = r.Ba[r.Ea(e.end.x)], r.Ha && (e.end.time = r.Da(e.end.x, e.end.y)), r.Ia(e); }, this.Ia = function (e) { var t, n, i; r.snapToGrid ? e.end.time < e.start.time ? (t = r.Ja(e.end.time, e.start.column.start), n = r.Ka(e.start.time, e.start.column.start), i = e.endTime) : (t = r.Ja(e.start.time, e.start.column.start), n = r.Ka(e.end.time, e.start.column.start), i = e.startTime) : e.end.time < e.start.time ? (t = e.end.time, n = e.start.time, i = e.endTime) : (t = e.start.time, n = e.end.time, i = e.startTime), e.startTime = t, e.endTime = n, e.anchor = i; }, this.getSelection = function () { if (!r.N)
|
|
853
|
+
return r.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 = r.L("_shadow_inner"), c && (t.style.borderRadius = c, e.style.borderRadius = c), e.appendChild(t), r.nav.events.rows[0].cells[n].selection.appendChild(e), r.elements.selection.push(e), r.nav.activeSelection = e, e; }(); u.className = r.L("_shadow"), u.firstChild.innerHTML = "", u.style.top = s + "px", u.style.height = d + "px", r.nav.events.rows[0].cells[n].selection.appendChild(u); }(); }, this.Fa = function () { var e = DayPilot.Global.selecting; e.end = r.coords, e.end.time = r.Da(e.start.x, e.end.y), e.end.column = r.Ba[r.Ea(e.end.x)], r.Ha && (e.end.time = r.Da(e.end.x, e.end.y)), r.Ia(e); }, this.Ia = function (e) { var t, n, i; r.snapToGrid ? e.end.time < e.start.time ? (t = r.Ja(e.end.time, e.start.column.start), n = r.Ka(e.start.time, e.start.column.start), i = e.endTime) : (t = r.Ja(e.start.time, e.start.column.start), n = r.Ka(e.end.time, e.start.column.start), i = e.startTime) : e.end.time < e.start.time ? (t = e.end.time, n = e.start.time, i = e.endTime) : (t = e.start.time, n = e.end.time, i = e.startTime), e.startTime = t, e.endTime = n, e.anchor = i; }, this.getSelection = function () { if (!r.N)
|
|
844
854
|
return null; var e = r.N; return new DayPilot.Selection(e.startTime, e.endTime, e.start.column.id, r); }, this.Ea = function (e) { if (e -= r.hourWidth, e < 0)
|
|
845
855
|
return null; for (var t = 0, n = r.nav.events.rows[0].cells, i = 0; i < n.length; i++) {
|
|
846
856
|
if (t += n[i].offsetWidth, e < t)
|
|
@@ -1028,11 +1038,11 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
1028
1038
|
var u = i.insertRow(-1);
|
|
1029
1039
|
u.style.MozUserSelect = "none", u.style.KhtmlUserSelect = "none";
|
|
1030
1040
|
for (var h = 0; h < d; h++) {
|
|
1031
|
-
var
|
|
1032
|
-
f.start =
|
|
1041
|
+
var y = this.Ba[h], f = u.insertCell(-1);
|
|
1042
|
+
f.start = y.start.addTime(m * a), f.end = f.start.addTime(a), f.resource = y.id, f.onmousedown = this.Ca, f.onmouseup = function () { return !1; }, f.onclick = function () { return !1; }, f.root = this, f.style.padding = "0px", f.style.border = "0px none", f.style.verticalAlign = "top", f.style.height = r.cellHeight + "px", f.style.overflow = "hidden", f.unselectable = "on";
|
|
1033
1043
|
var v = document.createElement("div");
|
|
1034
1044
|
v.unselectable = "on", v.style.height = r.cellHeight + "px", v.style.position = "relative", v.className = this.L("_cell");
|
|
1035
|
-
var
|
|
1045
|
+
var g = this.ib(f.start, f.end), b = { "business": g, "text": null, "html": null, "cssClass": null, "backColor": null, "backImage": null, "backRepeat": null, "fontColor": null }, w = { "start": f.start, "end": f.end, "resource": f.resource, "properties": b, "x": h, "y": m };
|
|
1036
1046
|
!function () { if ("function" == typeof r.onBeforeCellRender) {
|
|
1037
1047
|
var e = {};
|
|
1038
1048
|
e.cell = w, r.onBeforeCellRender(e);
|
|
@@ -1088,8 +1098,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
1088
1098
|
r.snapToGrid && (c = Math.floor((r.coords.y - f - o + a / 2) / a) * a + o), c < o && (c = o);
|
|
1089
1099
|
var v = r.nav.events, d = r.nav.main.clientHeight + o, p = parseInt(t.movingShadow.style.height);
|
|
1090
1100
|
c + p > d && (c = d - p), DayPilot.Util.addClass(t.moving, r.L("_event_moving_source")), t.movingShadow.parentNode.style.display = "none", t.movingShadow.style.top = c + "px", t.movingShadow.parentNode.style.display = "";
|
|
1091
|
-
var m = v.clientWidth / v.rows[0].cells.length,
|
|
1092
|
-
|
|
1101
|
+
var m = v.clientWidth / v.rows[0].cells.length, y = Math.floor((r.coords.x - 45) / m);
|
|
1102
|
+
y < 0 && (y = 0), y < v.rows[0].cells.length && y >= 0 && t.movingShadow.column !== y && (t.movingShadow.column = y, t.moveShadow(v.rows[0].cells[y]));
|
|
1093
1103
|
}
|
|
1094
1104
|
else
|
|
1095
1105
|
DayPilot.Global.selecting && (r.Fa(), r.Ga()); }, r.nav.scrollable.style.display = ""; }, this.ib = function (e, t) { return this.businessBeginsHour < this.businessEndsHour ? !(e.getHours() < this.businessBeginsHour || e.getHours() >= this.businessEndsHour || 6 === e.getDayOfWeek() || 0 === e.getDayOfWeek()) : e.getHours() >= this.businessBeginsHour || e.getHours() < this.businessEndsHour; }, this._ = function () { var e = this.nav.header; if (e && e.rows)
|
|
@@ -1097,33 +1107,45 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
1097
1107
|
for (var n = e.rows[t], i = 0; i < n.cells.length; i++) {
|
|
1098
1108
|
var a = n.cells[i];
|
|
1099
1109
|
a.onclick = null, a.onmousemove = null, a.onmouseout = null;
|
|
1100
|
-
} this.fasterDispose || DayPilot.pu(e); }, this.jb = function (e) {
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1110
|
+
} this.fasterDispose || DayPilot.pu(e); }, this.jb = function (e) {
|
|
1111
|
+
function t(t) {
|
|
1112
|
+
var a = i[t], o = e ? n.insertCell(-1) : n.cells[t];
|
|
1113
|
+
o.data = a, o.style.overflow = "hidden", o.style.padding = "0px", o.style.border = "0px none", o.style.height = r.headerHeight + "px", o.onclick = r.kb;
|
|
1114
|
+
var s, l = e ? document.createElement("div") : o.firstChild;
|
|
1115
|
+
e ? (l.unselectable = "on", l.style.MozUserSelect = "none", l.style.cursor = "default", l.style.position = "relative", l.className = r.L("_colheader"), l.style.height = r.headerHeight + "px", r.headerTextWrappingEnabled || (l.style.whiteSpace = "nowrap"), s = document.createElement("div"), s.className = r.L("_colheader_inner"), s.unselectable = "on", l.appendChild(s), o.appendChild(l)) : s = l.firstChild;
|
|
1116
|
+
var d = {};
|
|
1117
|
+
d.header = {}, d.header.cssClass = null, d.header.verticalAlignment = "center", d.header.horizontalAlignment = "center", d.column = r.lb(a, r), "function" == typeof r.onBeforeHeaderRender && (DayPilot.Util.copyProps(a, d.header, ["id", "start", "name", "html", "backColor", "toolTip", "areas"]), r.onBeforeHeaderRender(d), DayPilot.Util.copyProps(d.header, a, ["html", "backColor", "toolTip", "areas", "cssClass", "verticalAlignment", "horizontalAlignment"])), a.toolTip && (s.title = a.toolTip), a.cssClass && DayPilot.Util.addClass(l, a.cssClass), a.backColor && (s.style.background = a.backColor), a.areas && DayPilot.Areas.attach(l, a);
|
|
1118
|
+
var c = a.verticalAlignment;
|
|
1119
|
+
if (c)
|
|
1120
|
+
switch (s.style.display = "flex", c) {
|
|
1121
|
+
case "center":
|
|
1122
|
+
s.style.alignItems = "center";
|
|
1123
|
+
break;
|
|
1124
|
+
case "top":
|
|
1125
|
+
s.style.alignItems = "flex-start";
|
|
1126
|
+
break;
|
|
1127
|
+
case "bottom": s.style.alignItems = "flex-end";
|
|
1128
|
+
}
|
|
1129
|
+
var u = a.horizontalAlignment;
|
|
1130
|
+
if (u)
|
|
1131
|
+
switch (u) {
|
|
1132
|
+
case "center":
|
|
1133
|
+
s.style.justifyContent = "center";
|
|
1134
|
+
break;
|
|
1135
|
+
case "left":
|
|
1136
|
+
s.style.justifyContent = "flex-start";
|
|
1137
|
+
break;
|
|
1138
|
+
case "right": s.style.justifyContent = "flex-end";
|
|
1139
|
+
}
|
|
1140
|
+
l.firstChild.innerHTML = r.ab(a.name, a.html);
|
|
1141
|
+
}
|
|
1142
|
+
for (var n = e ? this.nav.header.insertRow(-1) : this.nav.header.rows[0], i = this.Ba, a = i.length, o = 0; o < a; o++)
|
|
1143
|
+
t(o);
|
|
1144
|
+
}, this.kb = function (e) { if ("Disabled" !== r.headerClickHandling) {
|
|
1120
1145
|
var t = this.data, n = r.lb(t), i = {};
|
|
1121
1146
|
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);
|
|
1122
1147
|
} }, this.lb = function (e) { return new DayPilot.CalendarColumn(e, r); }, this.mb = function () { return this.width && this.width.indexOf("px") !== -1 ? "Pixel" : "Percentage"; }, this.ja = function () { var e = this.nav.header, t = !0, n = this.Ba; for (n.length; this.headerCreated && e && e.rows && e.rows.length > 0;)
|
|
1123
|
-
this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0); this.headerCreated = !0; this.jb(t); }, this.loadingStart = function () {
|
|
1124
|
-
this.loadingLabelVisible && (this.nav.loading.innerHTML = this.loadingLabelText,
|
|
1125
|
-
this.nav.loading.style.top = this.headerHeight + 5 + "px", this.nav.loading.style.display = "");
|
|
1126
|
-
}, this.commandCallBack = function (e, t) { var n = {}; n.command = e, this.U("Command", t, n); }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.nb = function () { var e = this.nav.scroll; e.root = this, r.ob(), e.onscroll || (e.onscroll = function () { r.pb(); }); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.qb = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.rb = 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)
|
|
1148
|
+
this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0); this.headerCreated = !0; this.jb(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) { var n = {}; n.command = e, this.U("Command", t, n); }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.nb = function () { var e = this.nav.scroll; e.root = this, r.ob(), e.onscroll || (e.onscroll = function () { r.pb(); }); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.qb = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.rb = 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)
|
|
1127
1149
|
t = e.data;
|
|
1128
1150
|
else {
|
|
1129
1151
|
if ("object" != typeof e)
|
|
@@ -1236,19 +1258,19 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
1236
1258
|
d.events = [], d.lines = [], d.blocks = [];
|
|
1237
1259
|
for (var c = new DayPilot.Date(d.start), u = c.getTime(), h = c.addTime(n), f = h.getTime(), v = 0; v < t; v++)
|
|
1238
1260
|
if (!i[v]) {
|
|
1239
|
-
var o = e[v], p = new DayPilot.Date(o.start), m = new DayPilot.Date(o.end),
|
|
1240
|
-
if (!(
|
|
1241
|
-
var b = !(
|
|
1261
|
+
var o = e[v], p = new DayPilot.Date(o.start), m = new DayPilot.Date(o.end), y = p.getTime(), g = m.getTime();
|
|
1262
|
+
if (!(g < y)) {
|
|
1263
|
+
var b = !(g <= u || y >= f);
|
|
1242
1264
|
if ("Resources" === r.viewType && (b = b && d.id === o.resource), b) {
|
|
1243
1265
|
var w = new DayPilot.Event(o, r);
|
|
1244
|
-
w.part.dayIndex = a, w.part.start = u <
|
|
1266
|
+
w.part.dayIndex = a, w.part.start = u < y ? p : c, w.part.end = f > g ? m : h;
|
|
1245
1267
|
var D = this.getPixels(w.part.start, d.start), x = this.getPixels(w.part.end, d.start), _ = D.top, C = x.top;
|
|
1246
1268
|
if (_ === C && (D.cut || x.cut))
|
|
1247
1269
|
continue;
|
|
1248
|
-
var k = x.boxBottom,
|
|
1249
|
-
|
|
1270
|
+
var k = x.boxBottom, S = "Always" === r.useEventBoxes;
|
|
1271
|
+
S ? (w.part.top = Math.floor(_ / this.cellHeight) * this.cellHeight + 1, w.part.height = Math.max(Math.ceil(k / this.cellHeight) * this.cellHeight - w.part.top, this.cellHeight - 1) + 1) : (w.part.top = _ + 1, w.part.height = C - _ + 1), w.part.barTop = Math.max(_ - w.part.top - 1, 0), w.part.barHeight = Math.max(C - _ - 2, 1);
|
|
1250
1272
|
var p = w.part.top, m = w.part.top + w.part.height;
|
|
1251
|
-
p > l.maxStart && (l.maxStart = p), m < l.minEnd && (l.minEnd = m), p < this.minStart && (this.minStart = p), m > this.maxEnd && (this.maxEnd = m), d.events.push(w), "function" == typeof this.onBeforeEventRender && (w.cache = this.zb.events[v]), w.part.start.getTime() ===
|
|
1273
|
+
p > l.maxStart && (l.maxStart = p), m < l.minEnd && (l.minEnd = m), p < this.minStart && (this.minStart = p), m > this.maxEnd && (this.maxEnd = m), d.events.push(w), "function" == typeof this.onBeforeEventRender && (w.cache = this.zb.events[v]), w.part.start.getTime() === y && w.part.end.getTime() === g && (i[v] = !0);
|
|
1252
1274
|
}
|
|
1253
1275
|
}
|
|
1254
1276
|
}
|
|
@@ -1261,11 +1283,11 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
1261
1283
|
d.putIntoBlock(o);
|
|
1262
1284
|
}
|
|
1263
1285
|
for (var v = 0; v < d.blocks.length; v++) {
|
|
1264
|
-
var
|
|
1265
|
-
|
|
1266
|
-
for (var M = 0; M <
|
|
1267
|
-
var o =
|
|
1268
|
-
|
|
1286
|
+
var P = d.blocks[v];
|
|
1287
|
+
P.events.sort(this.Bb);
|
|
1288
|
+
for (var M = 0; M < P.events.length; M++) {
|
|
1289
|
+
var o = P.events[M];
|
|
1290
|
+
P.putIntoLine(o);
|
|
1269
1291
|
}
|
|
1270
1292
|
}
|
|
1271
1293
|
}
|
|
@@ -1307,7 +1329,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
1307
1329
|
var DayPilot = {};
|
|
1308
1330
|
if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (DayPilot) {
|
|
1309
1331
|
"use strict";
|
|
1310
|
-
"undefined" == typeof DayPilot.DatePicker && (DayPilot.DatePicker = function (e) { this.v = "2025.3.
|
|
1332
|
+
"undefined" == typeof DayPilot.DatePicker && (DayPilot.DatePicker = function (e) { this.v = "2025.3.696-lite"; var t = "navigator_" + (new Date).getTime(), n = this; this.onShow = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.prepare = function () { if (this.locale = "en-us", this.target = null, this.targetAlignment = "left", this.resetTarget = !0, this.pattern = this.ca.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, this.showToday = !0, this.todayText = "Today", e)
|
|
1311
1333
|
for (var t in e)
|
|
1312
1334
|
this[t] = e[t]; }, this.init = function () { this.date = new DayPilot.Date(this.date); var e = this.Pb(); this.resetTarget && !e ? this.Qb(this.date) : !this.resetTarget && e && (n.date = e); var t = this.D(); return t && t.addEventListener("input", function () { n.date = n.Pb(), n.date && n.navigator.select(n.date, { dontNotify: !0 }); }), this; }, this.close = function () { document.removeEventListener("mousedown", n.close), document.removeEventListener("wheel", n.close), window.removeEventListener("resize", n.close), n.Eb && (n.Eb = !1, n.navigator && n.navigator.dispose(), n.div.innerHTML = "", n.div && n.div.parentNode === document.body && document.body.removeChild(n.div)); }, this.Rb = function (e) { this.date = new DayPilot.Date(e), this.Qb(this.date); }, this.select = function (e) { var t = {}; t.date = new DayPilot.Date(e), t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onTimeRangeSelect && (n.onTimeRangeSelect(t), t.preventDefault.value) || (this.Rb(e), "function" == typeof n.onTimeRangeSelected && n.onTimeRangeSelected(t)); }, this.Pb = function () { var e = this.D(); if (!e)
|
|
1313
1335
|
return this.date; var t = null; if (t = "INPUT" === e.tagName ? e.value : e.innerText, !t)
|
|
@@ -1341,7 +1363,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
1341
1363
|
"use strict";
|
|
1342
1364
|
if ("undefined" == typeof DayPilot.Menu || !DayPilot.Menu.def) {
|
|
1343
1365
|
var e = function () { }, t = {};
|
|
1344
|
-
t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (n) { var i = this, a = null; this.v = "2025.3.
|
|
1366
|
+
t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (n) { var i = this, a = null; this.v = "2025.3.696-lite", this.zIndex = 120, this.cssClassPrefix = "menu_default", this.cssOnly = !0, this.menuTitle = null, this.showMenuTitle = !1, this.hideOnMouseOut = !1, this.hideAfter = 200, this.theme = null, this.onShow = null, this.Tb = function () { }, n && DayPilot.isArray(n) && (this.items = n), this.toJSON = function () { return null; }, this.show = function (n, o) { o = o || {}; var r = null; if (n ? "string" == typeof n.id || "number" == typeof n.id ? r = n.id : "function" == typeof n.id ? r = n.id() : "function" == typeof n.value && (r = n.value()) : r = null, "undefined" != typeof DayPilot.Bubble && DayPilot.Bubble.hideActive(), o.submenu || t.menuClean(), this.Tb.submenu = null, null !== t.mouse) {
|
|
1345
1367
|
i.cssOnly || (i.cssOnly = !0);
|
|
1346
1368
|
var s = null;
|
|
1347
1369
|
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) {
|
|
@@ -1374,23 +1396,23 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
1374
1396
|
if (i.item = e, i.source = t.source, i.originalEvent = n, i.preventDefault = function () { i.preventDefault.value = !0; }, e.onClick(i), i.preventDefault.value)
|
|
1375
1397
|
return void n.stopPropagation();
|
|
1376
1398
|
} e.onclick && e.onclick.call(t, n); }; }(h, p);
|
|
1377
|
-
var m = function (e, t) { return function (e) { e.stopPropagation(), e.preventDefault(), t.source.calendar && t.source.calendar.internal.touch && (t.source.calendar.internal.touch.active = !0); }; },
|
|
1399
|
+
var m = function (e, t) { return function (e) { e.stopPropagation(), e.preventDefault(), t.source.calendar && t.source.calendar.internal.touch && (t.source.calendar.internal.touch.active = !0); }; }, y = function (e, n) { return function (i) { i.stopPropagation(), i.preventDefault(); var a = function () { window.setTimeout(function () { n.source.calendar && n.source.calendar.internal.touch && (n.source.calendar.internal.touch.active = !1); }, 500); }; if ("function" == typeof e.onClick) {
|
|
1378
1400
|
var o = {};
|
|
1379
1401
|
if (o.item = e, o.source = n.source, o.originalEvent = i, o.preventDefault = function () { o.preventDefault.value = !0; }, e.onClick(o), o.preventDefault.value)
|
|
1380
1402
|
return void a();
|
|
1381
1403
|
} e.onclick && e.onclick.call(n, i), t.menuClean(), a(); }; };
|
|
1382
|
-
DayPilot.reNonPassive(p, "touchstart", m(h, p)), DayPilot.reNonPassive(p, "touchend",
|
|
1404
|
+
DayPilot.reNonPassive(p, "touchstart", m(h, p)), DayPilot.reNonPassive(p, "touchend", y(h, p));
|
|
1383
1405
|
}
|
|
1384
1406
|
if (h.items && !h.disabled) {
|
|
1385
|
-
var
|
|
1386
|
-
p.ontouchend =
|
|
1407
|
+
var g = function (e, t) { return function (n) { n.preventDefault(), n.stopPropagation(), i.Vb(e, t); }; };
|
|
1408
|
+
p.ontouchend = g(h, p);
|
|
1387
1409
|
}
|
|
1388
1410
|
if (h.onclick)
|
|
1389
1411
|
e();
|
|
1390
1412
|
else if (h.href)
|
|
1391
1413
|
p.href = h.href.replace(/\x7B0\x7D/gim, r), h.target && p.setAttribute("target", h.target);
|
|
1392
1414
|
else if (h.command) {
|
|
1393
|
-
var
|
|
1415
|
+
var g = function (e, t) { return function (n) { var i = t.source, a = e; a.action = a.action ? a.action : "CallBack"; var o = i.calendar || i.root; if (i instanceof DayPilot.Link)
|
|
1394
1416
|
return void o.internal.linkMenuClick(a.command, i, a.action); if (i instanceof DayPilot.Selection)
|
|
1395
1417
|
return void o.internal.timeRangeMenuClick(a.command, i, a.action); if (i instanceof DayPilot.Event)
|
|
1396
1418
|
return void o.internal.eventMenuClick(a.command, i, a.action); if (i instanceof DayPilot.Selection)
|
|
@@ -1400,7 +1422,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
1400
1422
|
case "selection": return void o.internal.timeRangeMenuClick(a.command, i, a.action);
|
|
1401
1423
|
default: return void o.internal.eventMenuClick(a.command, i, a.action);
|
|
1402
1424
|
} n.preventDefault(); }; };
|
|
1403
|
-
p.onclick =
|
|
1425
|
+
p.onclick = g(h, p), p.ontouchend = g(h, p);
|
|
1404
1426
|
}
|
|
1405
1427
|
}
|
|
1406
1428
|
h.items && p.addEventListener("click", function (e) { e.stopPropagation(); }), p.source = s, p.menuSource = n;
|
|
@@ -1420,15 +1442,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
1420
1442
|
C.setAttribute("width", "100%"), C.setAttribute("height", "100%");
|
|
1421
1443
|
var k = document.createElementNS(_, "use");
|
|
1422
1444
|
k.setAttribute("href", h.symbol), C.appendChild(k);
|
|
1423
|
-
var
|
|
1424
|
-
|
|
1445
|
+
var S = document.createElement("span");
|
|
1446
|
+
S.className = i.Ub("item_symbol"), S.style.position = "absolute", S.style.top = "0px", S.style.left = "0px", S.appendChild(C), p.appendChild(S);
|
|
1425
1447
|
}
|
|
1426
|
-
var
|
|
1448
|
+
var P = function (e, n) { return function () { var a = (n.source, e), o = t.waitingSubmenu; if (o) {
|
|
1427
1449
|
if (o.parent === a)
|
|
1428
1450
|
return;
|
|
1429
1451
|
clearTimeout(o.timeout), t.waitingSubmenu = null;
|
|
1430
1452
|
} e.disabled || (t.waitingSubmenu = {}, t.waitingSubmenu.parent = a, t.waitingSubmenu.timeout = setTimeout(function () { t.waitingSubmenu = null, i.Vb(a, n); }, 300)); }; };
|
|
1431
|
-
p.onmouseover =
|
|
1453
|
+
p.onmouseover = P(h, p), f.appendChild(p);
|
|
1432
1454
|
}
|
|
1433
1455
|
d.appendChild(f);
|
|
1434
1456
|
}
|
|
@@ -1453,10 +1475,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
1453
1475
|
}
|
|
1454
1476
|
else
|
|
1455
1477
|
l = e; i.Tb.x = l, d.style.left = l + "px"; }(), o.parentLink) {
|
|
1456
|
-
var I = o.parentLink, R = parseInt(new DayPilot.StyleReader(d).get("border-top-width")), L = DayPilot.abs(o.parentLink.parentNode),
|
|
1457
|
-
|
|
1478
|
+
var I = o.parentLink, R = parseInt(new DayPilot.StyleReader(d).get("border-top-width")), L = DayPilot.abs(o.parentLink.parentNode), B = L.x + I.offsetWidth, z = L.y - R;
|
|
1479
|
+
B + A > H && (B = Math.max(0, L.x - A));
|
|
1458
1480
|
var U = document.body.scrollTop + document.documentElement.scrollTop;
|
|
1459
|
-
|
|
1481
|
+
z + T - U > E && (z = Math.max(0, E - T + U)), d.style.left = B + "px", d.style.top = z + "px";
|
|
1460
1482
|
}
|
|
1461
1483
|
d.style.display = "", this.addShadow(d), this.Tb.div = d, o.submenu || (DayPilot.Menu.active = this);
|
|
1462
1484
|
} }, this.update = function () { if (i.Tb.visible) {
|
|
@@ -1524,22 +1546,42 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
1524
1546
|
var e = this.list[this.list.length - 1];
|
|
1525
1547
|
e && e.stretch();
|
|
1526
1548
|
} }, DayPilot.ModalStatic.last = function () { var e = DayPilot.ModalStatic.list; return e.length > 0 ? e[e.length - 1] : null; };
|
|
1527
|
-
var n = function () {
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
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;"), 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:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojY2NjY2NjO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjM4MDM3MzM2O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDE5MjgiCiAgICAgICB3aWR0aD0iOS45MTUzMDYxIgogICAgICAgaGVpZ2h0PSIxMS4zNjkzNyIKICAgICAgIHg9IjAuMTE3MTg3NSIKICAgICAgIHk9Ii0zLjAwOTk5NTciCiAgICAgICByeT0iMS4zMTE4NTA1IiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNjY2NjY2M7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNTk4MTQwMTI7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MTkzMCIKICAgICAgIHdpZHRoPSIxLjUzNDQxMzYiCiAgICAgICBoZWlnaHQ9IjIuMjE5ODI1IgogICAgICAgeD0iMi4xNTU4NDgzIgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHJ5PSIwLjY3MTc4OTE3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iMS41MjM5NTA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QxOTQ4IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjY3MTc4OTE3IgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHg9IjYuNDUyNzIzNSIKICAgICAgIGhlaWdodD0iMi4yMTk4MjUiCiAgICAgICB3aWR0aD0iMS41MzQ0MTM2IgogICAgICAgaWQ9InJlY3QyMDAzIgogICAgICAgc3R5bGU9ImZpbGw6I2NjY2NjYztmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS41OTgxNDAxMjtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAwNSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIHk9Ii0xLjE2NTg0NjYiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iNi45OTI3MDA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDA3IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAxMyIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjEuNTIzOTUwNiIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHJ5PSIwLjI5NjAxNDciIC8+CiAgICA8cmVjdAogICAgICAgcnk9IjAuMjk2MDE0NyIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGlkPSJyZWN0MjAxNSIKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIgLz4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDIwMTciCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB4PSI2Ljk5MjcwMDYiCiAgICAgICB5PSIxLjgwMjkwMzQiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSI0LjczMjU5MDciCiAgICAgICB4PSIxLjU2MzAxMzEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBpZD0icmVjdDIwMTkiCiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgICA8cmVjdAogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgICAgaWQ9InJlY3QyMDIxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgeD0iNC4yNTgzMjU2IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgcnk9IjAuMjk2MDE0NyIgLz4KICAgIDxyZWN0CiAgICAgICByeT0iMC4yOTYwMTQ3IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgeD0iNy4wMzE3NjMxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDIzIgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogIDwvZz4KPC9zdmc+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._b = !1, this.bc = null, this.cc = null, this.showHtml = function (e) { if (DayPilot.ModalStatic.displayed(this))
|
|
1549
|
+
var n = function () {
|
|
1550
|
+
function e() {
|
|
1551
|
+
for (var e = document.querySelectorAll("style[nonce]"), t = 0; t < e.length; t++) {
|
|
1552
|
+
var n = e[t];
|
|
1553
|
+
if (n.nonce)
|
|
1554
|
+
return n.nonce;
|
|
1555
|
+
}
|
|
1556
|
+
if (document.currentScript && document.currentScript.nonce)
|
|
1557
|
+
return document.currentScript.nonce;
|
|
1558
|
+
for (var i = document.querySelectorAll("script[nonce]"), a = 0; a < i.length; a++) {
|
|
1559
|
+
var o = i[a];
|
|
1560
|
+
if (o.nonce)
|
|
1561
|
+
return o.nonce;
|
|
1562
|
+
}
|
|
1563
|
+
return "";
|
|
1564
|
+
}
|
|
1565
|
+
if ("undefined" == typeof window) {
|
|
1566
|
+
var t = {};
|
|
1567
|
+
return t.add = function () { }, t.commit = function () { }, t;
|
|
1568
|
+
}
|
|
1569
|
+
var n = document.createElement("style");
|
|
1570
|
+
n.nonce = e(), n.styleSheet || n.appendChild(document.createTextNode("")), (document.head || document.getElementsByTagName("head")[0]).appendChild(n);
|
|
1571
|
+
var i = !!n.styleSheet, t = {};
|
|
1572
|
+
return t.rules = [], t.commit = function () { try {
|
|
1573
|
+
i && (n.styleSheet.cssText = this.rules.join("\n"));
|
|
1574
|
+
}
|
|
1575
|
+
catch (e) { } }, t.add = function (e, t, a) { if (i)
|
|
1576
|
+
return void this.rules.push(e + "{" + t + "}"); if (n.sheet.insertRule)
|
|
1577
|
+
"undefined" == typeof a && (a = n.sheet.cssRules.length), n.sheet.insertRule(e + "{" + t + "}", a);
|
|
1578
|
+
else {
|
|
1579
|
+
if (!n.sheet.addRule)
|
|
1580
|
+
throw "No CSS registration method found";
|
|
1581
|
+
n.sheet.addRule(e, t, a);
|
|
1582
|
+
} }, t;
|
|
1583
|
+
}, i = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxwYXRoCiAgICAgICBpZD0icGF0aDMxNzMiCiAgICAgICBzdHlsZT0iZmlsbDpub25lO3N0cm9rZTojOTk5OTk5O3N0cm9rZS13aWR0aDoxLjg1MTk2ODUzO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICAgIGQ9Ik0gMC45NTQxNDgzOCwwLjY4MTYwMzEgNS4wMzkwNjI1LDUuNDExNTM4NiA5LjEyMzk3NjYsMC42ODE2MDMxIgogICAgICAgIC8+CiAgPC9nPgo8L3N2Zz4K", a = new n;
|
|
1584
|
+
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;"), 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:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojY2NjY2NjO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjM4MDM3MzM2O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDE5MjgiCiAgICAgICB3aWR0aD0iOS45MTUzMDYxIgogICAgICAgaGVpZ2h0PSIxMS4zNjkzNyIKICAgICAgIHg9IjAuMTE3MTg3NSIKICAgICAgIHk9Ii0zLjAwOTk5NTciCiAgICAgICByeT0iMS4zMTE4NTA1IiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNjY2NjY2M7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNTk4MTQwMTI7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MTkzMCIKICAgICAgIHdpZHRoPSIxLjUzNDQxMzYiCiAgICAgICBoZWlnaHQ9IjIuMjE5ODI1IgogICAgICAgeD0iMi4xNTU4NDgzIgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHJ5PSIwLjY3MTc4OTE3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iMS41MjM5NTA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QxOTQ4IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjY3MTc4OTE3IgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHg9IjYuNDUyNzIzNSIKICAgICAgIGhlaWdodD0iMi4yMTk4MjUiCiAgICAgICB3aWR0aD0iMS41MzQ0MTM2IgogICAgICAgaWQ9InJlY3QyMDAzIgogICAgICAgc3R5bGU9ImZpbGw6I2NjY2NjYztmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS41OTgxNDAxMjtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAwNSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIHk9Ii0xLjE2NTg0NjYiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iNi45OTI3MDA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDA3IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAxMyIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjEuNTIzOTUwNiIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHJ5PSIwLjI5NjAxNDciIC8+CiAgICA8cmVjdAogICAgICAgcnk9IjAuMjk2MDE0NyIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGlkPSJyZWN0MjAxNSIKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIgLz4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDIwMTciCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB4PSI2Ljk5MjcwMDYiCiAgICAgICB5PSIxLjgwMjkwMzQiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSI0LjczMjU5MDciCiAgICAgICB4PSIxLjU2MzAxMzEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBpZD0icmVjdDIwMTkiCiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgICA8cmVjdAogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgICAgaWQ9InJlY3QyMDIxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgeD0iNC4yNTgzMjU2IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgcnk9IjAuMjk2MDE0NyIgLz4KICAgIDxyZWN0CiAgICAgICByeT0iMC4yOTYwMTQ3IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgeD0iNy4wMzE3NjMxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDIzIgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogIDwvZz4KPC9zdmc+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._b = !1, this.bc = null, this.cc = null, this.showHtml = function (e) { if (DayPilot.ModalStatic.displayed(this))
|
|
1543
1585
|
throw "This modal dialog is already displayed."; if (this.div || this.dc(), this.sb(), this.useIframe) {
|
|
1544
1586
|
var t = function (e, t) { return function () { e.setInnerHTML(e.id + "iframe", t); }; };
|
|
1545
1587
|
window.setTimeout(t(this, e), 0);
|
|
@@ -1640,20 +1682,20 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
1640
1682
|
h.validate() && o.close(h.serialize());
|
|
1641
1683
|
break;
|
|
1642
1684
|
case "Escape": o.close();
|
|
1643
|
-
} }, onChange: function (e) { "function" == typeof o.onChange && o.onChange(e); } }), f = h.create(); l.append(f); var v = document.createElement("div"); v.className = o.theme + "_buttons"; var p = document.createElement("button"); p.innerText = c, p.className = o.theme + "_ok", d.okDisabled && (p.disabled = !0), p.onclick = function (e) { h.validate() && o.close(h.serialize()); }; var m = document.createTextNode(" "),
|
|
1685
|
+
} }, onChange: function (e) { "function" == typeof o.onChange && o.onChange(e); } }), f = h.create(); l.append(f); var v = document.createElement("div"); v.className = o.theme + "_buttons"; var p = document.createElement("button"); p.innerText = c, p.className = o.theme + "_ok", d.okDisabled && (p.disabled = !0), p.onclick = function (e) { h.validate() && o.close(h.serialize()); }; var m = document.createTextNode(" "), y = document.createElement("button"); if (y.innerText = u, y.className = o.theme + "_cancel", y.onclick = function (e) { o.close(); }, y.onmousedown = function (e) { h.canceling = !0; }, v.appendChild(p), v.appendChild(m), v.appendChild(y), s.appendChild(l), s.appendChild(v), o.showHtml(s), o.div.setAttribute("tabindex", "-1"), o.div.addEventListener("keydown", function (e) { switch (e.keyCode) {
|
|
1644
1686
|
case 27:
|
|
1645
1687
|
o.close();
|
|
1646
1688
|
break;
|
|
1647
1689
|
case 13: h.validate() && o.close(h.serialize());
|
|
1648
1690
|
} }), o.focus) {
|
|
1649
|
-
var
|
|
1691
|
+
var g = null;
|
|
1650
1692
|
if ("object" == typeof o.focus) {
|
|
1651
1693
|
var b = o.focus.id, w = o.focus.value;
|
|
1652
|
-
|
|
1694
|
+
g = h.findViewById(b, w);
|
|
1653
1695
|
}
|
|
1654
1696
|
else
|
|
1655
|
-
"string" == typeof o.focus && (
|
|
1656
|
-
|
|
1697
|
+
"string" == typeof o.focus && (g = h.findViewById(o.focus));
|
|
1698
|
+
g && g.focus();
|
|
1657
1699
|
}
|
|
1658
1700
|
else {
|
|
1659
1701
|
var D = h.firstFocusable();
|
|
@@ -1668,7 +1710,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
1668
1710
|
} var o = this.createInteractive(e); o.onInput = function (e) { if (e = e || {}, n.Fc(o, { "debounce": !e.immediate }), "function" == typeof n.onChange) {
|
|
1669
1711
|
var t = {};
|
|
1670
1712
|
t.result = n.serialize(), n.onChange(t);
|
|
1671
|
-
} }, o.onBlur = function () { n.canceling || n.Fc(o); }, o.apply(e), o.Ec = i, o.row = e, o.element && i.appendChild(o.element), this.f.push(o), this.Ec.appendChild(i); }, r.prototype.validate = function () {
|
|
1713
|
+
} }, o.onBlur = function () { n.canceling || n.Fc(o); }, o.apply(e), o.Ec = i, o.row = e, o.element && i.appendChild(o.element), this.f.push(o), this.Ec.appendChild(i); }, r.prototype.validate = function () {
|
|
1714
|
+
var e = this, t = !0;
|
|
1715
|
+
return this.f.forEach(function (n) {
|
|
1716
|
+
var i = e.Fc(n);
|
|
1717
|
+
t = t && i;
|
|
1718
|
+
}), t;
|
|
1719
|
+
}, r.prototype.Fc = function (e, t) { function n() { e.Gc && (e.Gc.remove(), e.Gc = null), e.Ec.classList.add(u); var t = document.createElement("div"); t.classList.add(h), t.innerText = c.message, e.Gc = t, e.Ec.appendChild(t); } t = t || {}; var i = t.debounce, a = t.silent, o = e.row, r = !0, s = "function" == typeof o.data.onValidate ? o.data.onValidate : null, l = "function" == typeof o.data.validate ? o.data.validate : null, d = s || l; if (d) {
|
|
1672
1720
|
var c = {};
|
|
1673
1721
|
c.valid = !0, c.value = e.save()[o.field], c.message = "Error", c.values = this.serialize(), c.result = this.serialize(), d(c);
|
|
1674
1722
|
var u = this.theme + "_form_item_invalid", h = this.theme + "_form_item_invalid_message";
|
|
@@ -1689,41 +1737,33 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
1689
1737
|
catch (e) {
|
|
1690
1738
|
throw new Error("The 'data' object is not serializable (it may contain circular dependencies): " + e);
|
|
1691
1739
|
} for (var a in n)
|
|
1692
|
-
this.setValue(a, n[a]); }, r.prototype.setValue = function (e, t) { this.Bc.forEach(function (n) { n.applyValue(e, t); }); }, r.prototype.updateDependentState = function () { var e = this, t = [!0]; (this.Cc ? this.Cc : this.Bc).forEach(function (n) { var i = e.updateState(n, { enabled: t[n.level] && !n.data.disabled }); i.isValue && (t[i.level + 1] = i.enabled && i.checked); }); }, r.prototype.processFormItem = function (e, t) {
|
|
1693
|
-
|
|
1694
|
-
if ("radio" === i) {
|
|
1695
|
-
if (e.name) {
|
|
1696
|
-
var o = new s;
|
|
1697
|
-
o.field = e.id, o.data = e, o.level = t, o.type = "label", o.interactive = !1, o.text = e.name, n.Bc.push(o), a.push(o);
|
|
1698
|
-
}
|
|
1699
|
-
e.options.forEach(function (o) {
|
|
1700
|
-
var r = new s;
|
|
1701
|
-
r.field = e.id, r.data = o, r.level = t, r.type = i, r.isValue = !0, r.text = o.name, r.resolved = o.id, n.Bc.push(r), a.push(r),
|
|
1702
|
-
o.children && o.children.forEach(function (e) { var i = n.processFormItem(e, t + 1); a = a.concat(i); });
|
|
1703
|
-
});
|
|
1704
|
-
}
|
|
1705
|
-
else if ("title" === i) {
|
|
1706
|
-
var o = new s;
|
|
1707
|
-
o.field = e.id, o.data = e, o.level = t, o.type = i, o.interactive = !1, o.text = e.name, n.Bc.push(o), a.push(o);
|
|
1708
|
-
}
|
|
1709
|
-
else if ("image" === i) {
|
|
1740
|
+
this.setValue(a, n[a]); }, r.prototype.setValue = function (e, t) { this.Bc.forEach(function (n) { n.applyValue(e, t); }); }, r.prototype.updateDependentState = function () { var e = this, t = [!0]; (this.Cc ? this.Cc : this.Bc).forEach(function (n) { var i = e.updateState(n, { enabled: t[n.level] && !n.data.disabled }); i.isValue && (t[i.level + 1] = i.enabled && i.checked); }); }, r.prototype.processFormItem = function (e, t) { var n = this, i = this.getFieldType(e), a = []; if ("radio" === i) {
|
|
1741
|
+
if (e.name) {
|
|
1710
1742
|
var o = new s;
|
|
1711
|
-
o.
|
|
1743
|
+
o.field = e.id, o.data = e, o.level = t, o.type = "label", o.interactive = !1, o.text = e.name, n.Bc.push(o), a.push(o);
|
|
1712
1744
|
}
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
}
|
|
1745
|
+
e.options.forEach(function (o) { var r = new s; r.field = e.id, r.data = o, r.level = t, r.type = i, r.isValue = !0, r.text = o.name, r.resolved = o.id, n.Bc.push(r), a.push(r), o.children && o.children.forEach(function (e) { var i = n.processFormItem(e, t + 1); a = a.concat(i); }); });
|
|
1746
|
+
}
|
|
1747
|
+
else if ("title" === i) {
|
|
1748
|
+
var o = new s;
|
|
1749
|
+
o.field = e.id, o.data = e, o.level = t, o.type = i, o.interactive = !1, o.text = e.name, n.Bc.push(o), a.push(o);
|
|
1750
|
+
}
|
|
1751
|
+
else if ("image" === i) {
|
|
1752
|
+
var o = new s;
|
|
1753
|
+
o.isValue = !0, o.field = e.id, o.data = e, o.level = t, o.type = i, o.interactive = !1, o.text = null, n.Bc.push(o), a.push(o);
|
|
1754
|
+
}
|
|
1755
|
+
else if ("html" === i) {
|
|
1756
|
+
var o = new s;
|
|
1757
|
+
o.isValue = !0, o.field = e.id, o.data = e, o.level = t, o.type = i, o.interactive = !1, o.text = null, n.Bc.push(o), a.push(o);
|
|
1758
|
+
}
|
|
1759
|
+
else if ("scrollable" === i) {
|
|
1760
|
+
var o = new s;
|
|
1761
|
+
o.isValue = !0, o.field = e.id, o.data = e, o.level = t, o.type = i, o.interactive = !1, o.text = null, n.Bc.push(o), a.push(o);
|
|
1762
|
+
}
|
|
1763
|
+
else {
|
|
1764
|
+
var o = new s;
|
|
1765
|
+
o.field = e.id, o.data = e, o.level = t, o.type = i, o.text = e.name, o.children = [], n.Bc.push(o), a.push(o);
|
|
1766
|
+
} return "checkbox" === i && (o.isValue = !0, o.resolved = !0, e.children && e.children.forEach(function (e) { var i = n.processFormItem(e, t + 1); a = a.concat(i); })), a; }, r.prototype.doOnKey = function (e) { if ("function" == typeof this.onKey) {
|
|
1727
1767
|
var t = { key: e };
|
|
1728
1768
|
this.onKey(t);
|
|
1729
1769
|
} }, r.prototype.createInteractive = function (e) { var t = this, n = { "label": function () { return new l; }, "title": function () { return new l; }, "image": function () { var t = new l, n = document.createElement("img"); return n.src = e.data.image, t.element = n, t; }, "html": function () { var t = new l, n = document.createElement("div"); return "string" == typeof e.data.text ? n.innerText = e.data.text : "string" == typeof e.data.html && (n.innerHTML = e.data.html), t.element = n, t; }, "scrollable": function () { var n = new l, i = document.createElement("div"); i.className = t.theme + "_form_item_scrollable_scroll", e.data.height && (i.style.height = e.data.height + "px"); var a = document.createElement("div"); return a.className = t.theme + "_form_item_scrollable_scroll_content", "string" == typeof e.data.text ? a.innerText = e.data.text : "string" == typeof e.data.html && (a.innerHTML = e.data.html), i.appendChild(a), n.element = i, n; }, "text": function () { var n = new l; n.apply = function (e) { n.row = e; var t = n.element; t.value = e.value, t.disabled = !e.enabled; }; var i = document.createElement("input"); return i.name = e.field, i.type = "text", i.autocomplete = "off", i.onkeydown = function (e) { var n = !1; switch (e.keyCode) {
|
|
@@ -1857,7 +1897,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
1857
1897
|
if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
|
|
1858
1898
|
var e = {}, t = DayPilot.Util.isVueVNode;
|
|
1859
1899
|
e.Month = function (n, i) {
|
|
1860
|
-
this.v = "2025.3.
|
|
1900
|
+
this.v = "2025.3.696-lite", this.nav = {};
|
|
1861
1901
|
var a = this;
|
|
1862
1902
|
this.id = n, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, this.cellMarginBottom = 0, this.contextMenu = null, this.cssClassPrefix = "month_default", this.eventBarVisible = !0, this.eventBorderRadius = null, this.eventHeight = 25, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.hideUntilInit = !0, this.lineSpace = 1, this.locale = "en-us", this.showToolTip = !0, this.startDate = new DayPilot.Date, this.theme = null, this.visible = !0, this.weekStarts = "Auto", this.width = "100%", this.xssProtection = "Enabled", this.afterRender = function () { }, this.cellHeaderClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.headerClickHandling = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.onCellHeaderClick = null, this.onCellHeaderClicked = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onEventRightClick = null, this.onEventRightClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.onBeforeEventRender = null, this.onBeforeCellRender = null, this.cellEvents = [], this.elements = {}, this.elements.events = [], this.cache = {}, this.Q = !1, this.W = function (e, t) { var e = JSON.parse(e); return e.CallBackRedirect ? void (document.location.href = e.CallBackRedirect) : "None" === e.UpdateType ? void a.fireAfterRenderDetached(e.CallBackData, !0) : (a.events.list = e.Events, "Full" === e.UpdateType && (a.startDate = e.StartDate, a.timeFormat = e.TimeFormat ? e.TimeFormat : a.timeFormat, "undefined" != typeof e.WeekStarts && (a.weekStarts = e.WeekStarts), a.hashes = e.Hashes), a.Y(), a.ed(), a.ha(), "Full" === e.UpdateType && (a.fd(), a.gd()), a.ma(), a.show(), a.na(), void a.fireAfterRenderDetached(e.CallBackData, !0)); }, this.fireAfterRenderDetached = function (e, t) { var n = function (e, t) { return function () { a.afterRender && a.afterRender(e, t); }; }; window.setTimeout(n(e, t), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (e) { var t = null; if (e instanceof DayPilot.Event)
|
|
1863
1903
|
t = e.data;
|
|
@@ -1974,84 +2014,82 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
1974
2014
|
for (var t = this.rows[e], n = 0; n < t.lines.length; n++)
|
|
1975
2015
|
for (var i = t.lines[n], a = 0; a < i.length; a++)
|
|
1976
2016
|
this.Va(i[a]); }, this.Bb = function (e, t) { if (!(e && t && e.start && t.start))
|
|
1977
|
-
return 0; var n = e.start().getTime() - t.start().getTime(); return 0 !== n ? n : t.end().getTime() - e.end().getTime(); }, this.drawShadow = function (t, n, i, o, r, s) {
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
2017
|
+
return 0; var n = e.start().getTime() - t.start().getTime(); return 0 !== n ? n : t.end().getTime() - e.end().getTime(); }, this.drawShadow = function (t, n, i, o, r, s) {
|
|
2018
|
+
r || (r = 0);
|
|
2019
|
+
var l = o;
|
|
2020
|
+
this.shadow = {}, this.shadow.list = [], this.shadow.start = { x: t, y: n }, this.shadow.width = o;
|
|
2021
|
+
var d = 7 * n + t - r;
|
|
2022
|
+
d < 0 && (l += d, t = 0, n = 0);
|
|
2023
|
+
for (var c = r; c >= 7;)
|
|
2024
|
+
n--, c -= 7;
|
|
2025
|
+
if (c > t) {
|
|
2026
|
+
c > t + (7 - this.getColCount()) ? (n--, t = t + 7 - c) : (l = l - c + t, t = 0);
|
|
2027
|
+
}
|
|
2028
|
+
else
|
|
2029
|
+
t -= c;
|
|
2030
|
+
n < 0 && (n = 0, t = 0);
|
|
2031
|
+
var u = null;
|
|
2032
|
+
e.resizingEvent ? u = "w-resize" : e.movingEvent && (u = "move"), this.nav.top.style.cursor = u;
|
|
2033
|
+
var h = a.eventBorderRadius;
|
|
2034
|
+
for ("number" == typeof h && (h += "px"); l > 0 && n < this.rows.length;) {
|
|
2035
|
+
var f = Math.min(this.getColCount() - t, l), v = this.rows[n], p = this.getRowTop(n), m = v.getHeight(), y = document.createElement("div");
|
|
2036
|
+
y.setAttribute("unselectable", "on"), y.style.position = "absolute", y.style.left = this.getCellWidth() * t + "%", y.style.width = this.getCellWidth() * f + "%", y.style.top = p + "px", y.style.height = m + "px", y.style.cursor = u, y.classList.add(a.L("_shadow"));
|
|
2037
|
+
var g = document.createElement("div");
|
|
2038
|
+
g.setAttribute("unselectable", "on"), y.appendChild(g), g.style.position = "absolute", g.style.top = "0px", g.style.right = "0px", g.style.left = "0px", g.style.bottom = "0px", g.classList.add(a.L("_shadow_inner")), h && (l === o && (y.style.borderTopLeftRadius = h, y.style.borderBottomLeftRadius = h, g.style.borderTopLeftRadius = h, g.style.borderBottomLeftRadius = h),
|
|
2039
|
+
l <= f && (y.style.borderTopRightRadius = h, y.style.borderBottomRightRadius = h, g.style.borderTopRightRadius = h, g.style.borderBottomRightRadius = h)), this.nav.top.appendChild(y), this.shadow.list.push(y), l -= f + 7 - this.getColCount(), t = 0, n++;
|
|
2040
|
+
}
|
|
2041
|
+
}, this.clearShadow = function () { if (this.shadow) {
|
|
1988
2042
|
for (var e = 0; e < this.shadow.list.length; e++)
|
|
1989
2043
|
this.nav.top.removeChild(this.shadow.list[e]);
|
|
1990
2044
|
this.shadow = null, this.nav.top.style.cursor = "";
|
|
1991
2045
|
} }, this.getEventTop = function (e, t) { for (var n = this.headerHeight, i = 0; i < e; i++)
|
|
1992
|
-
n += this.rows[i].getHeight(); return n += this.cellHeaderHeight, n += t * this.lineHeight(); }, this.getDateFromCell = function (e, t) { return this.firstDate.addDays(7 * t + e); }, this.Va = function (n) {
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
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.jd, f.onmousedown = function (t) {
|
|
1997
|
-
t = t || window.event;
|
|
1998
|
-
var i = t.which || t.button;
|
|
1999
|
-
if (t.cancelBubble = !0, t.stopPropagation && t.stopPropagation(), 1 === i)
|
|
2000
|
-
if (e.movingEvent = null, "w-resize" === this.style.cursor || "e-resize" === this.style.cursor) {
|
|
2001
|
-
var o = {};
|
|
2002
|
-
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,
|
|
2003
|
-
o.direction = this.style.cursor, e.resizingEvent = o;
|
|
2004
|
-
}
|
|
2005
|
-
else if ("move" === this.style.cursor || n.client.moveEnabled()) {
|
|
2006
|
-
a.clearShadow();
|
|
2007
|
-
var c = DayPilot.mo3(a.nav.top, t);
|
|
2008
|
-
if (!c)
|
|
2009
|
-
return;
|
|
2010
|
-
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);
|
|
2011
|
-
h && (v += h);
|
|
2012
|
-
var p = {};
|
|
2013
|
-
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;
|
|
2014
|
-
}
|
|
2015
|
-
}, f.onmousemove = function (t) { if ("undefined" != typeof e && !e.movingEvent && !e.resizingEvent) {
|
|
2016
|
-
var i = DayPilot.mo3(f, t);
|
|
2017
|
-
if (i) {
|
|
2018
|
-
f.deleteIcon && (f.deleteIcon.style.display = "");
|
|
2019
|
-
var a = 6;
|
|
2020
|
-
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";
|
|
2021
|
-
}
|
|
2022
|
-
} }, f.onmouseleave = function (e) { f.deleteIcon && (f.deleteIcon.style.display = "none"), f.style.cursor = ""; }, f.onmouseenter = function (e) { f.deleteIcon && (f.deleteIcon.style.display = ""); };
|
|
2023
|
-
var v = document.createElement("div");
|
|
2024
|
-
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()) {
|
|
2025
|
-
var p = document.createElement("div");
|
|
2026
|
-
p.setAttribute("unselectable", "on"), p.className = this.L("_event_bar"), p.style.position = "absolute";
|
|
2027
|
-
var m = document.createElement("div");
|
|
2028
|
-
m.setAttribute("unselectable", "on"), m.className = this.L("_event_bar_inner"), m.style.top = "0%", m.style.height = "100%", i.barColor && (m.style.backgroundColor = i.barColor), p.appendChild(m), f.appendChild(p);
|
|
2029
|
-
}
|
|
2030
|
-
if (n.client.deleteEnabled()) {
|
|
2031
|
-
var g = Math.floor(a.eventHeight / 2 - 9), y = document.createElement("div");
|
|
2032
|
-
y.style.position = "absolute", y.style.right = "2px", y.style.top = g + "px", y.style.width = "18px", y.style.height = "18px", y.className = a.L("_event_delete"), y.onmousedown = function (e) { e.stopPropagation(); }, y.onclick = function (e) { e.stopPropagation(); var t = this.parentNode.event; t && a.ya(t); }, y.style.display = "none", f.deleteIcon = y, f.appendChild(y);
|
|
2046
|
+
n += this.rows[i].getHeight(); return n += this.cellHeaderHeight, n += t * this.lineHeight(); }, this.getDateFromCell = function (e, t) { return this.firstDate.addDays(7 * t + e); }, this.Va = function (n) { var i = n.cache || n.data, o = i.borderRadius || a.eventBorderRadius; "number" == typeof o && (o += "px"); 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"); 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.jd, f.onmousedown = function (t) { t = t || window.event; var i = t.which || t.button; if (t.cancelBubble = !0, t.stopPropagation && t.stopPropagation(), 1 === i)
|
|
2047
|
+
if (e.movingEvent = null, "w-resize" === this.style.cursor || "e-resize" === this.style.cursor) {
|
|
2048
|
+
var o = {};
|
|
2049
|
+
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;
|
|
2033
2050
|
}
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
var
|
|
2037
|
-
|
|
2051
|
+
else if ("move" === this.style.cursor || n.client.moveEnabled()) {
|
|
2052
|
+
a.clearShadow();
|
|
2053
|
+
var c = DayPilot.mo3(a.nav.top, t);
|
|
2054
|
+
if (!c)
|
|
2055
|
+
return;
|
|
2056
|
+
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);
|
|
2057
|
+
h && (v += h);
|
|
2058
|
+
var p = {};
|
|
2059
|
+
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;
|
|
2060
|
+
} }, f.onmousemove = function (t) { if ("undefined" != typeof e && !e.movingEvent && !e.resizingEvent) {
|
|
2061
|
+
var i = DayPilot.mo3(f, t);
|
|
2062
|
+
if (i) {
|
|
2063
|
+
f.deleteIcon && (f.deleteIcon.style.display = "");
|
|
2064
|
+
var a = 6;
|
|
2065
|
+
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";
|
|
2038
2066
|
}
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2067
|
+
} }, f.onmouseleave = function (e) { f.deleteIcon && (f.deleteIcon.style.display = "none"), f.style.cursor = ""; }, f.onmouseenter = function (e) { f.deleteIcon && (f.deleteIcon.style.display = ""); }; var v = document.createElement("div"); 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()) {
|
|
2068
|
+
var p = document.createElement("div");
|
|
2069
|
+
p.setAttribute("unselectable", "on"), p.className = this.L("_event_bar"), p.style.position = "absolute";
|
|
2070
|
+
var m = document.createElement("div");
|
|
2071
|
+
m.setAttribute("unselectable", "on"), m.className = this.L("_event_bar_inner"), m.style.top = "0%", m.style.height = "100%", i.barColor && (m.style.backgroundColor = i.barColor), p.appendChild(m), f.appendChild(p);
|
|
2072
|
+
} if (n.client.deleteEnabled()) {
|
|
2073
|
+
var y = Math.floor(a.eventHeight / 2 - 9), g = document.createElement("div");
|
|
2074
|
+
g.style.position = "absolute", g.style.right = "2px", g.style.top = y + "px", g.style.width = "18px", g.style.height = "18px", g.className = a.L("_event_delete"), g.onmousedown = function (e) { e.stopPropagation(); }, g.onclick = function (e) { e.stopPropagation(); var t = this.parentNode.event; t && a.ya(t); }, g.style.display = "none", f.deleteIcon = g, f.appendChild(g);
|
|
2075
|
+
} var b = i.areas ? DayPilot.Areas.copy(i.areas) : []; if (DayPilot.Areas.attach(f, n, { "areas": b }), "function" == typeof a.onAfterEventRender) {
|
|
2076
|
+
var w = {};
|
|
2077
|
+
w.e = f.event, w.div = f, a.onAfterEventRender(w);
|
|
2078
|
+
} !function () { var e = {}; if (e.control = a, e.e = n, e.element = null, f.domArgs = e, "function" == typeof a.onBeforeEventDomAdd && a.onBeforeEventDomAdd(e), e.element) {
|
|
2079
|
+
var i = v;
|
|
2080
|
+
if (i) {
|
|
2081
|
+
e.Qa = i;
|
|
2082
|
+
if (t(e.element)) {
|
|
2083
|
+
if (!a.Sa.Ra)
|
|
2084
|
+
throw new DayPilot.Exception("Can't reach Vue");
|
|
2085
|
+
a.Sa.Ta = !0, a.Sa.Wa(e.element, i, { "style": { "flexGrow": 1 } }), a.Sa.Ta = !1;
|
|
2050
2086
|
}
|
|
2087
|
+
else
|
|
2088
|
+
i.appendChild(e.element);
|
|
2051
2089
|
}
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2090
|
+
}
|
|
2091
|
+
else
|
|
2092
|
+
v.innerHTML = n.client.innerHTML(); }(), this.elements.events.push(f), this.nav.events.appendChild(f); }, this.lastVisibleDayOfMonth = function () { return this.startDate.lastDayOfMonth(); }, this.ed = function () { "string" == typeof this.startDate && (this.startDate = new DayPilot.Date(this.startDate)), this.startDate = this.startDate.firstDayOfMonth(), this.firstDate = this.startDate.firstDayOfWeek(this.getWeekStart()); var e, t = (this.startDate, this.lastVisibleDayOfMonth()), n = DayPilot.DateUtil.daysDiff(this.firstDate, t) + 1; e = Math.ceil(n / 7), this.days = 7 * e, this.rows = []; for (var i = 0; i < e; i++) {
|
|
2055
2093
|
var o = {};
|
|
2056
2094
|
o.start = this.firstDate.addDays(7 * i), o.end = o.start.addDays(this.getColCount()), o.events = [], o.lines = [], o.index = i, o.minHeight = this.cellHeight, o.calendar = this, o.belongsHere = function (e) { return e.end().getTime() === e.start().getTime() && e.start().getTime() === this.start.getTime() || !(e.end().getTime() <= this.start.getTime() || e.start().getTime() >= this.end.getTime()); }, o.getPartStart = function (e) { return DayPilot.DateUtil.max(this.start, e.start()); }, o.getPartEnd = function (e) { return DayPilot.DateUtil.min(this.end, e.end()); }, o.getStartColumn = function (e) { var t = this.getPartStart(e); return DayPilot.DateUtil.daysDiff(this.start, t); }, o.getWidth = function (e) { return DayPilot.DateUtil.daysSpan(this.getPartStart(e), this.getPartEnd(e)) + 1; }, o.putIntoLine = function (e, t, n, i) { for (var a = this, o = 0; o < this.lines.length; o++) {
|
|
2057
2095
|
var r = this.lines[o];
|
|
@@ -2137,13 +2175,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
|
|
|
2137
2175
|
var u = this.L("_cell_business");
|
|
2138
2176
|
DayPilot.Util.addClass(p, u);
|
|
2139
2177
|
} var m = (this.startDate.addMonths(-1).getMonth(), this.startDate.addMonths(1).getMonth(), this.startDate.getMonth(), document.createElement("div")); m.setAttribute("unselectable", "on"), p.appendChild(m), m.style.position = "absolute", m.style.left = "0px", m.style.right = "0px", m.style.top = "0px", m.style.bottom = "0px", m.className = this.L("_cell_inner"), v.backColor && (m.style.backgroundColor = f.cell.properties.backColor), p.onmousedown = function (t) { "Disabled" !== a.timeRangeSelectedHandling && (a.clearShadow(), e.timeRangeSelecting = { "root": a, "x": n, "y": i, "from": { x: n, y: i }, "width": 1 }); }, p.onclick = function () { var e = function (e) { var t = new DayPilot.Date(e), n = t.addDays(1); a.O(t, n); }; if ("Disabled" !== a.timeRangeSelectedHandling)
|
|
2140
|
-
return void e(l); }; var
|
|
2178
|
+
return void e(l); }; var y = document.createElement("div"); if (y.setAttribute("unselectable", "on"), y.style.height = this.cellHeaderHeight + "px", y.className = this.L("_cell_header"), y.onclick = function (e) { if ("Enabled" === a.cellHeaderClickHandling) {
|
|
2141
2179
|
e.stopPropagation();
|
|
2142
2180
|
var t = {};
|
|
2143
2181
|
t.control = a, t.start = l, t.end = l.addDays(1), t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof a.onCellHeaderClick && (a.onCellHeaderClick(t), t.preventDefault.value) || "function" == typeof a.onCellHeaderClicked && a.onCellHeaderClicked(t);
|
|
2144
|
-
} },
|
|
2145
|
-
var
|
|
2146
|
-
|
|
2182
|
+
} }, y.innerHTML = v.headerHtml, m.appendChild(y), v.html) {
|
|
2183
|
+
var g = document.createElement("div");
|
|
2184
|
+
g.style.height = s.getHeight() - this.cellHeaderHeight + "px", g.style.overflow = "hidden", g.innerHTML = v.html, m.appendChild(g);
|
|
2147
2185
|
} !function () { if ("function" == typeof a.onBeforeCellDomAdd || "function" == typeof a.onBeforeCellDomRemove) {
|
|
2148
2186
|
var e = {};
|
|
2149
2187
|
if (e.control = a, e.cell = h, e.element = null, p.domArgs = e, "function" == typeof a.onBeforeCellDomAdd && a.onBeforeCellDomAdd(e), e.element) {
|
|
@@ -2338,88 +2376,108 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
2338
2376
|
if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.def) {
|
|
2339
2377
|
var e = DayPilot.Util.isVueVNode;
|
|
2340
2378
|
DayPilot.Navigator = function (t, n) {
|
|
2341
|
-
this.v = "2025.3.
|
|
2379
|
+
this.v = "2025.3.696-lite";
|
|
2342
2380
|
var i = this;
|
|
2343
2381
|
this.id = t, this.api = 2, this.isNavigator = !0, this.autoFocusOnClick = !0, this.weekStarts = "Auto", this.selectMode = "Day", this.titleHeight = 30, this.dayHeaderHeight = 30, this.bound = null, this.cellWidth = 30, this.cellHeight = 30, this.cssClassPrefix = "navigator_default", this.freeHandSelectionEnabled = !1, this.selectionStart = (new DayPilot.Date).getDatePart(), this.selectionEnd = null, this.selectionDay = null, this.showMonths = 1, this.skipMonths = 1, this.command = "navigate", this.year = (new DayPilot.Date).getYear(), this.month = (new DayPilot.Date).getMonth() + 1, this.showToday = !1, this.showWeekNumbers = !1, this.todayHtml = null, this.todayHeight = 40, this.todayPosition = "Bottom", this.todayText = "Today", this.weekNumberAlgorithm = "Auto", this.rowsPerMonth = "Six", this.orientation = "Vertical", this.locale = "en-us", this.rtl = !1, this.visible = !0, this.timeRangeSelectedHandling = "Bind", this.visibleRangeChangedHandling = "Enabled", this.onVisibleRangeChange = null, this.onVisibleRangeChanged = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.onTodayClick = null, this.nav = {}, this.zb = {}, this.nd = function () { this.root.dp = this, this.root.className = this.L("_main"), "Horizontal" === this.orientation ? (r.od() || (this.root.style.width = this.showMonths * (7 * r.cellWidth() + this.pd()) + "px"), this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : r.od() || (this.root.style.width = 7 * r.cellWidth() + this.pd() + "px"), this.rtl && (this.root.style.direction = "rtl"), this.root.style.position = "relative", this.visible || (this.root.style.display = "none"); var e = document.createElement("input"); e.type = "hidden", e.name = i.id + "_state", e.id = e.name, this.root.appendChild(e), this.state = e, this.startDate ? this.startDate = new DayPilot.Date(this.startDate).firstDayOfMonth() : this.selectionDay ? this.startDate = new DayPilot.Date(this.selectionDay).firstDayOfMonth() : this.startDate = DayPilot.Date.fromYearMonthDay(this.year, this.month), this.calendars = [], this.selected = [], this.months = []; }, this.ta = function () { return 2 === i.api; }, this.fd = function () { this.root.innerHTML = ""; }, this.L = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.qd = function (e, t) { var n = this.L("_" + t); DayPilot.Util.addClass(e, n); }, this.rd = function (e, t) { var n = this.L("_" + t); DayPilot.Util.removeClass(e, n); }, this.sd = function () { if (!r.od())
|
|
2344
|
-
return null; var e = 7; return this.showWeekNumbers && e++, 100 / e; }, this.td = function () { return r.od() ? null : r.cellWidth(); }, this.ud = function (e) { return "number" != typeof e && (e = 1), r.od() ? this.sd() * e : this.td() * e; }, this.vd = function (e) { var t = r.od() ? "%" : "px"; return this.ud(e) + t; }, this.gd = function (t, n) {
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
var
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
var R = i.Bd(M, C), L = R.x, z = R.y, B = r.od() ? "%" : "px";
|
|
2387
|
-
I.day = k, I.x = M, I.y = C, I.left = L, I.top = z, I.isCurrentMonth = A, I.isNextMonth = H, I.isPrevMonth = E, I.showBefore = s, I.showAfter = l, I.className = this.L(A ? "_day" : "_dayother"), i.qd(I, "cell"), k.getTime() === v.getTime() && A && this.qd(I, "today"), 0 !== k.dayOfWeek() && 6 !== k.dayOfWeek() || this.qd(I, "weekend"), I.style.position = "absolute", I.style.left = L + B, I.style.right = L + B, I.style.top = z + "px", I.style.width = i.vd(), I.style.height = this.cellHeight + "px", I.style.lineHeight = this.cellHeight + "px";
|
|
2388
|
-
var U = document.createElement("div");
|
|
2389
|
-
U.style.position = "absolute", U.className = k.getTime() === v.getTime() && A ? this.L("_todaybox") : this.L("_daybox"), i.qd(U, "cell_box"), U.style.left = "0px", U.style.top = "0px", U.style.right = "0px", U.style.bottom = "0px", I.appendChild(U);
|
|
2390
|
-
var O = null;
|
|
2391
|
-
this.cells && this.cells[k.toStringSortable()] && (O = this.cells[k.toStringSortable()]);
|
|
2392
|
-
var j = O || {};
|
|
2393
|
-
if (j.day = k, j.isCurrentMonth = A, j.isToday = k.getTime() === v.getTime() && A, j.isWeekend = 0 === k.dayOfWeek() || 6 === k.dayOfWeek(), O ? (j.html = O.html || k.getDay(), j.cssClass = O.css) : (j.html = k.getDay(), j.cssClass = null), "function" == typeof i.onBeforeCellRender) {
|
|
2394
|
-
var W = {};
|
|
2395
|
-
W.cell = j, i.onBeforeCellRender(W), O = W.cell;
|
|
2396
|
-
}
|
|
2397
|
-
if (O && DayPilot.Util.addClass(I, O.cssClass || O.css), A || s && E || l && H) {
|
|
2398
|
-
var F = document.createElement("div");
|
|
2399
|
-
F.innerHTML = k.getDay(), F.style.position = "absolute", F.style.left = "0px", F.style.top = "0px", F.style.right = "0px", F.style.bottom = "0px", i.qd(F, "cell_text"), I.isClickable = !0, O && O.html && (F.innerHTML = O.html), I.appendChild(F);
|
|
2382
|
+
return null; var e = 7; return this.showWeekNumbers && e++, 100 / e; }, this.td = function () { return r.od() ? null : r.cellWidth(); }, this.ud = function (e) { return "number" != typeof e && (e = 1), r.od() ? this.sd() * e : this.td() * e; }, this.vd = function (e) { var t = r.od() ? "%" : "px"; return this.ud(e) + t; }, this.gd = function (t, n) {
|
|
2383
|
+
var a = {};
|
|
2384
|
+
a.cells = [], a.days = [], a.weeks = [];
|
|
2385
|
+
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;
|
|
2386
|
+
a.rowCount = f;
|
|
2387
|
+
var v = (new DayPilot.Date).getDatePart(), p = 7 * r.cellWidth() + this.pd();
|
|
2388
|
+
a.width = p;
|
|
2389
|
+
var m = this.cellHeight * f + this.titleHeight + this.dayHeaderHeight;
|
|
2390
|
+
a.height = m;
|
|
2391
|
+
var y = document.createElement("div");
|
|
2392
|
+
if (r.od() ? "Horizontal" === this.orientation && (y.style.width = 100 / i.showMonths + "%") : y.style.width = p + "px", y.style.height = m + "px", "Horizontal" === this.orientation)
|
|
2393
|
+
y.style.position = "absolute", r.od() ? (y.style.left = 100 / i.showMonths * t + "%", a.leftPct = 100 / i.showMonths * t) : y.style.left = p * t + "px", y.style.top = "0px", a.top = 0, a.left = p * t;
|
|
2394
|
+
else {
|
|
2395
|
+
y.style.position = "relative";
|
|
2396
|
+
var g = t > 0 ? i.months[t - 1].top + i.months[t - 1].height : 0;
|
|
2397
|
+
a.top = g, a.left = 0, a.leftPct = 0;
|
|
2398
|
+
}
|
|
2399
|
+
y.className = this.L("_month"), y.style.cursor = "default", y.style.userSelect = "none", y.style.webkitUserSelect = "none", y.month = a, a.div = y, this.root.appendChild(y);
|
|
2400
|
+
var b = this.titleHeight + this.dayHeaderHeight, w = document.createElement("div");
|
|
2401
|
+
w.style.position = "absolute", w.style.left = "0px", w.style.right = "0px", w.style.top = "0px", w.style.width = i.vd(), w.style.height = this.titleHeight + "px", w.style.lineHeight = this.titleHeight + "px", w.className = this.L("_titleleft"), n.left && (w.style.cursor = "pointer", w.innerHTML = "<span><</span>", w.onclick = this.wd), y.appendChild(w), this.tl = w;
|
|
2402
|
+
var D = document.createElement("div");
|
|
2403
|
+
D.style.position = "absolute", D.style.left = i.vd(), D.style.top = "0px", D.style.width = i.vd(i.showWeekNumbers ? 6 : 5), D.style.height = this.titleHeight + "px", D.style.lineHeight = this.titleHeight + "px", D.className = this.L("_title"), D.innerHTML = r.locale().monthNames[o.getMonth()] + " " + o.getYear(), y.appendChild(D), this.ti = D;
|
|
2404
|
+
var x = document.createElement("div");
|
|
2405
|
+
x.style.position = "absolute", x.style.left = i.vd(i.showWeekNumbers ? 7 : 6), x.style.right = i.vd(i.showWeekNumbers ? 7 : 6), x.style.top = "0px", x.style.width = i.vd(), x.style.height = this.titleHeight + "px", x.style.lineHeight = this.titleHeight + "px", x.className = this.L("_titleright"), n.right && (x.style.cursor = "pointer", x.innerHTML = "<span>></span>", x.onclick = this.xd), y.appendChild(x), this.tr = x;
|
|
2406
|
+
var _ = (this.pd(), i.showWeekNumbers ? 1 : 0);
|
|
2407
|
+
if (this.showWeekNumbers)
|
|
2408
|
+
for (var C = 0; C < f; C++) {
|
|
2409
|
+
var k = c.addDays(7 * C), S = null;
|
|
2410
|
+
switch (this.weekNumberAlgorithm) {
|
|
2411
|
+
case "Auto":
|
|
2412
|
+
S = 1 === r.weekStarts() ? k.weekNumberISO() : k.weekNumber();
|
|
2413
|
+
break;
|
|
2414
|
+
case "US":
|
|
2415
|
+
S = k.weekNumber();
|
|
2416
|
+
break;
|
|
2417
|
+
case "ISO8601":
|
|
2418
|
+
S = k.weekNumberISO();
|
|
2419
|
+
break;
|
|
2420
|
+
default: throw "Unknown weekNumberAlgorithm value.";
|
|
2421
|
+
}
|
|
2422
|
+
var P = document.createElement("div");
|
|
2423
|
+
P.style.position = "absolute", P.style.left = "0px", P.style.right = "0px", P.style.top = C * this.cellHeight + b + "px", P.style.width = i.vd(), P.style.height = this.cellHeight + "px", P.style.lineHeight = this.cellHeight + "px", P.className = this.L("_weeknumber"), P.innerHTML = "<span>" + S + "</span>", y.appendChild(P), a.weeks.push(P);
|
|
2400
2424
|
}
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2425
|
+
if (i.showWeekNumbers) {
|
|
2426
|
+
var P = document.createElement("div");
|
|
2427
|
+
P.style.position = "absolute", P.style.left = "0px", P.style.right = "0px", P.style.top = this.titleHeight + "px", P.style.width = i.vd(), P.style.height = this.dayHeaderHeight + "px", P.className = this.L("_dayheader"), y.appendChild(P);
|
|
2428
|
+
}
|
|
2429
|
+
for (var M = 0; M < 7; M++) {
|
|
2430
|
+
a.cells[M] = [];
|
|
2431
|
+
var P = document.createElement("div");
|
|
2432
|
+
P.style.position = "absolute", P.style.left = i.vd(M + _), P.style.right = i.vd(M + _), P.style.top = this.titleHeight + "px", P.style.width = i.vd(), P.style.height = this.dayHeaderHeight + "px", P.style.lineHeight = this.dayHeaderHeight + "px", P.className = this.L("_dayheader"), P.innerHTML = "<span>" + this.yd(M) + "</span>", y.appendChild(P), a.days.push(P);
|
|
2433
|
+
for (var C = 0; C < f; C++) {
|
|
2434
|
+
var k = c.addDays(7 * C + M), T = this.zd(k) && "none" !== this.Ad(), A = k.firstDayOfMonth() === o, E = k < o, H = k >= o.addMonths(1);
|
|
2435
|
+
if ("month" === this.Ad())
|
|
2436
|
+
T = T && A;
|
|
2437
|
+
else if ("day" === this.Ad())
|
|
2438
|
+
T = T && (A || s && E || l && H);
|
|
2439
|
+
else if ("week" === this.Ad()) {
|
|
2440
|
+
var N = k.firstDayOfMonth() === o;
|
|
2441
|
+
T = T && (N || s && E || l && H);
|
|
2442
|
+
}
|
|
2443
|
+
var I = document.createElement("div");
|
|
2444
|
+
a.cells[M][C] = I;
|
|
2445
|
+
var R = i.Bd(M, C), L = R.x, B = R.y, z = r.od() ? "%" : "px";
|
|
2446
|
+
I.day = k, I.x = M, I.y = C, I.left = L, I.top = B, I.isCurrentMonth = A, I.isNextMonth = H, I.isPrevMonth = E, I.showBefore = s, I.showAfter = l, I.className = this.L(A ? "_day" : "_dayother"), i.qd(I, "cell"), k.getTime() === v.getTime() && A && this.qd(I, "today"), 0 !== k.dayOfWeek() && 6 !== k.dayOfWeek() || this.qd(I, "weekend"), I.style.position = "absolute", I.style.left = L + z, I.style.right = L + z, I.style.top = B + "px", I.style.width = i.vd(), I.style.height = this.cellHeight + "px", I.style.lineHeight = this.cellHeight + "px";
|
|
2447
|
+
var U = document.createElement("div");
|
|
2448
|
+
U.style.position = "absolute", U.className = k.getTime() === v.getTime() && A ? this.L("_todaybox") : this.L("_daybox"), i.qd(U, "cell_box"), U.style.left = "0px", U.style.top = "0px", U.style.right = "0px", U.style.bottom = "0px", I.appendChild(U);
|
|
2449
|
+
var O = null;
|
|
2450
|
+
this.cells && this.cells[k.toStringSortable()] && (O = this.cells[k.toStringSortable()]);
|
|
2451
|
+
var j = O || {};
|
|
2452
|
+
if (j.day = k, j.isCurrentMonth = A, j.isToday = k.getTime() === v.getTime() && A, j.isWeekend = 0 === k.dayOfWeek() || 6 === k.dayOfWeek(), O ? (j.html = O.html || k.getDay(), j.cssClass = O.css) : (j.html = k.getDay(), j.cssClass = null), "function" == typeof i.onBeforeCellRender) {
|
|
2453
|
+
var W = {};
|
|
2454
|
+
W.cell = j, i.onBeforeCellRender(W), O = W.cell;
|
|
2455
|
+
}
|
|
2456
|
+
if (O && DayPilot.Util.addClass(I, O.cssClass || O.css), A || s && E || l && H) {
|
|
2457
|
+
var F = document.createElement("div");
|
|
2458
|
+
F.innerHTML = k.getDay(), F.style.position = "absolute", F.style.left = "0px", F.style.top = "0px", F.style.right = "0px", F.style.bottom = "0px", i.qd(F, "cell_text"), I.isClickable = !0, O && O.html && (F.innerHTML = O.html), I.appendChild(F);
|
|
2459
|
+
}
|
|
2460
|
+
I.onclick = this.Cd, function () { if ("function" == typeof i.onBeforeCellDomAdd || "function" == typeof i.onBeforeCellDomRemove) {
|
|
2461
|
+
var t = {};
|
|
2462
|
+
if (t.control = i, t.cell = j, t.element = null, I.domArgs = t, "function" == typeof i.onBeforeCellDomAdd && i.onBeforeCellDomAdd(t), t.element) {
|
|
2463
|
+
var n = U;
|
|
2464
|
+
if (n) {
|
|
2465
|
+
t.Qa = n;
|
|
2466
|
+
if (e(t.element)) {
|
|
2467
|
+
if (!i.Sa.Ra)
|
|
2468
|
+
throw new DayPilot.Exception("Can't reach Vue");
|
|
2469
|
+
i.Sa.Ta = !0, i.Sa.Wa(t.element, n), i.Sa.Ta = !1;
|
|
2470
|
+
}
|
|
2471
|
+
else
|
|
2472
|
+
n.appendChild(t.element);
|
|
2411
2473
|
}
|
|
2412
|
-
else
|
|
2413
|
-
n.appendChild(t.element);
|
|
2414
2474
|
}
|
|
2415
|
-
}
|
|
2416
|
-
}
|
|
2475
|
+
} }(), y.appendChild(I), T && (i.Dd(y, M, C), this.selected.push(I));
|
|
2476
|
+
}
|
|
2417
2477
|
}
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
return { "x": i.ud(e + a), "y": t * this.cellHeight + n };
|
|
2422
|
-
}, this.Dd = function (e, t, n) { var a = e.month.cells[t][n]; i.qd(a, "select"); }, this.Ed = function (e, t, n) { var a = e.month.cells[t][n]; i.rd(a, "select"); }, this.pd = function () { return this.showWeekNumbers ? r.cellWidth() : 0; }, this.Fd = function () { if (this.items)
|
|
2478
|
+
var Y = document.createElement("div");
|
|
2479
|
+
Y.style.position = "absolute", Y.style.left = "0px", Y.style.top = b - 2 + "px", Y.style.width = i.vd(7 + _), Y.style.height = "1px", Y.style.fontSize = "1px", Y.style.lineHeight = "1px", Y.className = this.L("_line"), y.appendChild(Y), this.months.push(a);
|
|
2480
|
+
}, this.Bd = function (e, t) { var n = this.titleHeight + this.dayHeaderHeight, a = (this.pd(), this.showWeekNumbers ? 1 : 0); return { "x": i.ud(e + a), "y": t * this.cellHeight + n }; }, this.Dd = function (e, t, n) { var a = e.month.cells[t][n]; i.qd(a, "select"); }, this.Ed = function (e, t, n) { var a = e.month.cells[t][n]; i.rd(a, "select"); }, this.pd = function () { return this.showWeekNumbers ? r.cellWidth() : 0; }, this.Fd = function () { if (this.items)
|
|
2423
2481
|
for (var e = 0; e < this.showMonths; e++)
|
|
2424
2482
|
for (var t = 0; t < 7; t++)
|
|
2425
2483
|
for (var n = 0; n < 6; n++) {
|
|
@@ -2737,9 +2795,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
2737
2795
|
if ("undefined" == typeof DayPilot.Scheduler) {
|
|
2738
2796
|
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"); };
|
|
2739
2797
|
DayPilot.Scheduler = function (a, s) {
|
|
2740
|
-
this.v = "2025.3.
|
|
2798
|
+
this.v = "2025.3.696-lite";
|
|
2741
2799
|
var l = this;
|
|
2742
|
-
this.isScheduler = !0, this.id = a, this.beforeCellRenderCaching = !0, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.businessWeekends = !1, this.cellDuration = 60, this.cellGroupBy = "Day", this.cellSweeping = !0, this.cellSweepingCacheSize = 1e3, this.cellWidth = 40, this.cellsMarkBusiness = !0, this.cssClassPrefix = "scheduler_default", this.days = 1, this.durationBarHeight = 3, this.durationBarVisible = !0, this.dynamicEventRendering = "Progressive", this.dynamicEventRenderingMargin = 50, this.dynamicEventRenderingMarginX = null, this.dynamicEventRenderingMarginY = null, this.dynamicEventRenderingCacheSweeping = !1, this.dynamicEventRenderingCacheSize = 200, this.eventEndSpec = "DateTime", this.eventHeight = 35, this.eventMinWidth = 1, this.eventResizeMargin = 5, this.eventTapAndHoldHandling = "Move", this.eventTextWrappingEnabled = !1, this.eventsLoadMethod = "GET", this.floatingEvents = !t, this.floatingTimeHeaders = !0, this.headerHeight = 30, this.heightSpec = "Max", this.height = 600, this.locale = "en-us", this.progressiveRowRendering = !0, this.progressiveRowRenderingPreload = 25, this.rowHeaderWidth = 80, this.rowMarginTop = 0, this.rowMarginBottom = 0, this.rowsLoadMethod = "GET", this.scale = "CellDuration", this.scrollDelayEvents = 200, this.scrollDelayCells = t ? 100 : 0, this.scrollDelayFloats = 0, this.scrollDelayRows = 0, this.showToolTip = !0, this.snapToGrid = !0, this.startDate = DayPilot.Date.today(), this.tapAndHoldTimeout = 300, this.timeHeaders = [{ "groupBy": "Default" }, { "groupBy": "Cell" }], this.timeHeaderTextWrappingEnabled = !1, this.timeFormat = "Auto", this.useEventBoxes = "Always", this.visible = !0, this.weekStarts = "Auto", this.width = null, this.xssProtection = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.timeHeaderClickHandling = "Enabled", this.timeHeaderRightClickHandling = "Enabled", this.timeRangeClickHandling = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.onEventClick = null, this.onEventClicked = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onRowClick = null, this.onRowClicked = null, this.onTimeHeaderClick = null, this.onTimeHeaderClicked = null, this.onTimeHeaderRightClick = null, this.onTimeHeaderRightClicked = null, this.onTimeRangeClick = null, this.onTimeRangeClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.onBeforeCellRender = null, this.onBeforeEventRender = null, this.onBeforeRowHeaderRender = null, this.onAfterUpdate = null, this.Q = !1, this.he = -1, this.ie = !0, this.rowlist = [], this.events = {}, this.cells = {}, this.elements = {}, this.elements.events = [], this.elements.bars = [], this.elements.text = [], this.elements.cells = [], this.elements.linesVertical = [], this.elements.range = [], this.elements.timeHeader = [], this.zb = {}, this.zb.cells = [], this.zb.linesVertical = {}, this.zb.linesHorizontal = {}, this.zb.timeHeaderGroups = [], this.zb.timeHeader = {}, this.zb.events = [], this.nav = {}, this.scrollTo = function (e) { l.je(e); }, this.je = function (e) { if (e) {
|
|
2800
|
+
this.isScheduler = !0, this.id = a, this.beforeCellRenderCaching = !0, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.businessWeekends = !1, this.cellDuration = 60, this.cellGroupBy = "Day", this.cellSweeping = !0, this.cellSweepingCacheSize = 1e3, this.cellWidth = 40, this.cellsMarkBusiness = !0, this.cssClassPrefix = "scheduler_default", this.days = 1, this.durationBarHeight = 3, this.durationBarVisible = !0, this.dynamicEventRendering = "Progressive", this.dynamicEventRenderingMargin = 50, this.dynamicEventRenderingMarginX = null, this.dynamicEventRenderingMarginY = null, this.dynamicEventRenderingCacheSweeping = !1, this.dynamicEventRenderingCacheSize = 200, this.eventBorderRadius = null, this.eventEndSpec = "DateTime", this.eventHeight = 35, this.eventMinWidth = 1, this.eventResizeMargin = 5, this.eventTapAndHoldHandling = "Move", this.eventTextWrappingEnabled = !1, this.eventsLoadMethod = "GET", this.floatingEvents = !t, this.floatingTimeHeaders = !0, this.headerHeight = 30, this.heightSpec = "Max", this.height = 600, this.locale = "en-us", this.progressiveRowRendering = !0, this.progressiveRowRenderingPreload = 25, this.rowHeaderWidth = 80, this.rowMarginTop = 0, this.rowMarginBottom = 0, this.rowsLoadMethod = "GET", this.scale = "CellDuration", this.scrollDelayEvents = 200, this.scrollDelayCells = t ? 100 : 0, this.scrollDelayFloats = 0, this.scrollDelayRows = 0, this.showToolTip = !0, this.snapToGrid = !0, this.startDate = DayPilot.Date.today(), this.tapAndHoldTimeout = 300, this.timeHeaders = [{ "groupBy": "Default" }, { "groupBy": "Cell" }], this.timeHeaderTextWrappingEnabled = !1, this.timeFormat = "Auto", this.useEventBoxes = "Always", this.visible = !0, this.weekStarts = "Auto", this.width = null, this.xssProtection = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.timeHeaderClickHandling = "Enabled", this.timeHeaderRightClickHandling = "Enabled", this.timeRangeClickHandling = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.onEventClick = null, this.onEventClicked = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onRowClick = null, this.onRowClicked = null, this.onTimeHeaderClick = null, this.onTimeHeaderClicked = null, this.onTimeHeaderRightClick = null, this.onTimeHeaderRightClicked = null, this.onTimeRangeClick = null, this.onTimeRangeClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.onBeforeCellRender = null, this.onBeforeEventRender = null, this.onBeforeRowHeaderRender = null, this.onAfterUpdate = null, this.Q = !1, this.he = -1, this.ie = !0, this.rowlist = [], this.events = {}, this.cells = {}, this.elements = {}, this.elements.events = [], this.elements.bars = [], this.elements.text = [], this.elements.cells = [], this.elements.linesVertical = [], this.elements.range = [], this.elements.timeHeader = [], this.zb = {}, this.zb.cells = [], this.zb.linesVertical = {}, this.zb.linesHorizontal = {}, this.zb.timeHeaderGroups = [], this.zb.timeHeader = {}, this.zb.events = [], this.nav = {}, this.scrollTo = function (e) { l.je(e); }, this.je = function (e) { if (e) {
|
|
2743
2801
|
if (!l.Ma)
|
|
2744
2802
|
return void (l.ke = e);
|
|
2745
2803
|
var t;
|
|
@@ -2853,7 +2911,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
2853
2911
|
case "Update": l.events.remove(e);
|
|
2854
2912
|
}
|
|
2855
2913
|
"function" == typeof l.onEventDeleted && l.onEventDeleted(t);
|
|
2856
|
-
} }, this.getScrollX = function () {
|
|
2914
|
+
} }, this.getScrollX = function () {
|
|
2915
|
+
return this.nav.scroll.scrollLeft;
|
|
2916
|
+
}, this.getScrollY = function () { return this.nav.scroll.scrollTop; }, this.K = function (e, t, n, i) { if ("Disabled" !== this.eventResizeHandling) {
|
|
2857
2917
|
n = l.Ve(n);
|
|
2858
2918
|
var a = {};
|
|
2859
2919
|
a.e = e, a.async = !1, a.loaded = function () { o(); }, a.newStart = t, a.newEnd = n, a.what = i, a.preventDefault = function () { this.preventDefault.value = !0; }, a.control = l, a.toJSON = function () { return DayPilot.Util.copyProps(a, {}, ["e", "async", "newStart", "newEnd"]); };
|
|
@@ -2875,11 +2935,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
2875
2935
|
c.options || (c.options = {});
|
|
2876
2936
|
for (var t in e)
|
|
2877
2937
|
c.options[t] = e[t];
|
|
2878
|
-
} }, c.doit = function () {
|
|
2879
|
-
var e = c.options;
|
|
2880
|
-
return c.options = null,
|
|
2881
|
-
l.Ma ? (l.ub(e), l.sb({ "immediateEvents": !0 }), void l.xb()) : void l.ub(e);
|
|
2882
|
-
}, this.kf = function (e) { e.forEach(function (e) { l.lf(e.index); }); }, this.mf = function (e) { return e && 0 !== e.length ? e[0].isRow ? e : e.map(function (e) { return l.rowlist[e]; }) : []; }, this.nf = function (e, t, n) { e = DayPilot.ua(e), e = l.mf(e), l.kf(e), this.of ? (this.$e(), this.bf(), this.df(), e.forEach(function (e) { l.pf(e.index); }), e.forEach(function (e) { l.qf(e.index); }), this.gf(), this.rf()) : (e.forEach(function (e) { t || l.pf(e.index), l.qf(e.index); }), e.forEach(function (e) { l.sf(e.index); }), l.gf()), l.ve(), n && n(), this.ff(); }, this.Ve = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart().ticks === e.ticks ? e.addDays(-1) : e.getDatePart(); }, this.tf = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart().addDays(1); }, this.uf = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart(); }, this.M = function (e, t, n, i, a) { if (l.vf = null, "Disabled" !== l.eventMoveHandling) {
|
|
2938
|
+
} }, c.doit = function () { var e = c.options; return c.options = null, l.Ma ? (l.ub(e), l.sb({ "immediateEvents": !0 }), void l.xb()) : void l.ub(e); }, this.kf = function (e) { e.forEach(function (e) { l.lf(e.index); }); }, this.mf = function (e) { return e && 0 !== e.length ? e[0].isRow ? e : e.map(function (e) { return l.rowlist[e]; }) : []; }, this.nf = function (e, t, n) { e = DayPilot.ua(e), e = l.mf(e), l.kf(e), this.of ? (this.$e(), this.bf(), this.df(), e.forEach(function (e) { l.pf(e.index); }), e.forEach(function (e) { l.qf(e.index); }), this.gf(), this.rf()) : (e.forEach(function (e) { t || l.pf(e.index), l.qf(e.index); }), e.forEach(function (e) { l.sf(e.index); }), l.gf()), l.ve(), n && n(), this.ff(); }, this.Ve = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart().ticks === e.ticks ? e.addDays(-1) : e.getDatePart(); }, this.tf = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart().addDays(1); }, this.uf = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart(); }, this.M = function (e, t, n, i, a) { if (l.vf = null, "Disabled" !== l.eventMoveHandling) {
|
|
2883
2939
|
n = l.Ve(n);
|
|
2884
2940
|
var o = {};
|
|
2885
2941
|
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; };
|
|
@@ -2921,7 +2977,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
2921
2977
|
DayPilot.isArray(i) ? i.forEach(function (e) { clearTimeout(e); }) : clearTimeout(i);
|
|
2922
2978
|
}
|
|
2923
2979
|
e.Y(), e.divCells = null, e.divCorner = null, e.divEvents = null, e.divHeader && (e.divHeader.rows = null), e.divHeader = null, e.divLines = null, e.divNorth = null, e.divRange = null, e.divResScroll = null, e.divStretch = null, e.divTimeScroll = null, e.He = null, e.le.calendar = null, e.le = null, e.nav.top.onmousemove = null, e.nav.top.onmouseout = null, e.nav.top.dispose = null, e.nav.top.ontouchstart = null, e.nav.top.ontouchmove = null, e.nav.top.ontouchend = null, e.nav.top.removeAttribute("style"), e.nav.top.removeAttribute("class"), e.nav.top.innerHTML = "", e.nav.top.dp = null, e.nav.top = null, e.nav.scroll.onscroll = null, e.nav.scroll.root = null, e.nav.scroll = null, n.sc(e), u = null;
|
|
2924
|
-
} }, this.disposed = function () { return l.Q; }, this.ba = function (e) { var t = null; t = e.nodeType ? e.event : e; var n = l.Lf(t),
|
|
2980
|
+
} }, this.disposed = function () { return l.Q; }, this.ba = function (e) { var t = null; t = e.nodeType ? e.event : e; var n = l.eventBorderRadius; "number" == typeof n && (n += "px"); var i = l.Lf(t), a = l.rowlist, o = l.eventHeight, s = t.part && t.part.top && a[t.part.dayIndex] ? t.part.top + a[t.part.dayIndex].top : i.top, d = i.left, c = i.width, u = document.createElement("div"); u.style.position = "absolute", u.style.width = c + "px", u.style.height = o + "px", u.style.left = d + "px", u.style.top = s + "px", u.style.overflow = "hidden"; var h = r(); return u.appendChild(h), u.className = this.L("_shadow"), h.className = this.L("_shadow_inner"), n && (u.style.borderRadius = n, h.style.borderRadius = n), l.divShadow.appendChild(u), u.calendar = l, u; }, this.Jf = function (e) { for (var t, n = l.rowlist, i = {}, a = 0, o = 0, r = n.length, s = 0; s < r; s++) {
|
|
2925
2981
|
var d = n[s];
|
|
2926
2982
|
if (o += d.height, a = o - d.height, t = d, i.top = a, i.bottom = o, i.i = s, i.element = t, e < o)
|
|
2927
2983
|
break;
|
|
@@ -3037,7 +3093,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
3037
3093
|
s = Math.floor(s / u) * u;
|
|
3038
3094
|
}
|
|
3039
3095
|
else
|
|
3040
|
-
s = n.hg.getTime() - e.start().getTime(); var h = this.getDate(r, !0).addTime(-s); n.ig && (h = e.start()); var v = l.snapToGrid; v && (h = this.fg(h)), h = h.addTime(o); var p = h.addTime(i), m = h,
|
|
3096
|
+
s = n.hg.getTime() - e.start().getTime(); var h = this.getDate(r, !0).addTime(-s); n.ig && (h = e.start()); var v = l.snapToGrid; v && (h = this.fg(h)), h = h.addTime(o); var p = h.addTime(i), m = h, y = p, g = this.getPixels(m), b = this.getPixels(y.addTime(-1)), w = v ? g.boxLeft : g.left, D = v && a ? b.boxRight - w : b.left - w, x = {}; return x.top = t.top, x.left = w, x.row = t.element, x.rowIndex = t.i, x.width = D, x.start = h, x.end = p, x.relativeY = l.coords.y - t.top, x; }, this.Pe = function () { switch (this.scale) {
|
|
3041
3097
|
case "CellDuration": return this.cellDuration;
|
|
3042
3098
|
case "Minute": return 1;
|
|
3043
3099
|
case "Hour": return 60;
|
|
@@ -3050,15 +3106,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
3050
3106
|
}
|
|
3051
3107
|
else
|
|
3052
3108
|
r = d + h;
|
|
3053
|
-
var
|
|
3054
|
-
c + r >
|
|
3109
|
+
var y = l.Ee();
|
|
3110
|
+
c + r > y && (r = y - c), n.lg.left = c, n.lg.width = r, n.lg.style.left = c + "px", n.lg.style.width = r + "px";
|
|
3055
3111
|
}
|
|
3056
3112
|
else {
|
|
3057
3113
|
if ("left" !== t)
|
|
3058
3114
|
throw new DayPilot.Exception("Invalid dpBorder.");
|
|
3059
3115
|
f ? (h >= d && (h = d), o = Math.floor((c + h + 0) / s) * s, o < u && (o = u)) : o = c + h, r = d - (o - c);
|
|
3060
|
-
var
|
|
3061
|
-
f ? "Never" === l.useEventBoxes && (b = d < s ? d : 1) : b = 1, r < b && (r = b, o =
|
|
3116
|
+
var g = c + d, b = s;
|
|
3117
|
+
f ? "Never" === l.useEventBoxes && (b = d < s ? d : 1) : b = 1, r < b && (r = b, o = g - r), n.lg.left = o, n.lg.width = r, n.lg.style.left = o + "px", n.lg.style.width = r + "px";
|
|
3062
3118
|
} l.kg(); }, this.og = function () { if (l.coords && n.pg) {
|
|
3063
3119
|
var e = n.qg, t = this.Lf(n.pg);
|
|
3064
3120
|
e.row = t.row, e.style.height = DayPilot.Util.atLeast(t.row.height, 0) + "px", e.style.top = t.top + "px", e.style.left = t.left + "px", e.style.width = t.width + "px", e.start = t.start, e.end = t.end;
|
|
@@ -3106,10 +3162,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
3106
3162
|
case "center": m.style.justifyContent = "center";
|
|
3107
3163
|
}
|
|
3108
3164
|
h.appendChild(m);
|
|
3109
|
-
var
|
|
3110
|
-
|
|
3111
|
-
var
|
|
3112
|
-
b.innerHTML = l.ab(d.text, d.html), b.className = l.L("_rowheader_inner_text"), s.textDiv = b, s.cellDiv = h,
|
|
3165
|
+
var y = r();
|
|
3166
|
+
y.style.position = "absolute", y.style.bottom = "0px", y.style.width = "100%", y.style.height = "0px", y.style.boxSizing = "content-box", y.style.borderBottom = "1px solid transparent", y.className = this.L("_resourcedivider"), h.appendChild(y);
|
|
3167
|
+
var g = r(), b = r();
|
|
3168
|
+
b.innerHTML = l.ab(d.text, d.html), b.className = l.L("_rowheader_inner_text"), s.textDiv = b, s.cellDiv = h, g.appendChild(b), m.appendChild(g);
|
|
3113
3169
|
var w = d.verticalAlignment || d.verticalAlignment;
|
|
3114
3170
|
if (w)
|
|
3115
3171
|
switch (m.style.display = "flex", w) {
|
|
@@ -3179,8 +3235,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
3179
3235
|
d = l.zb.events[c];
|
|
3180
3236
|
} if (t.id !== e.resource || (o <= r || a >= s) && (a !== o || a !== r))
|
|
3181
3237
|
return null; var u = new DayPilot.Event(e, l); u.part.dayIndex = l.rowlist.indexOf(t), u.part.start = r < a ? n : l.startDate, u.part.end = s > o ? i : l.startDate.addDays(l.days); var h = this.getPixels(u.part.start), v = this.getPixels(u.part.end.addTime(-1)); u.part.start === u.part.end && (v = this.getPixels(u.part.end.addMilliseconds(1))); var p = h.left, m = v.left; if (f.gg(o - a)) {
|
|
3182
|
-
var
|
|
3183
|
-
u.part.left =
|
|
3238
|
+
var y = h.boxLeft, g = v.boxRight;
|
|
3239
|
+
u.part.left = y, u.part.width = g - y, u.part.barLeft = Math.max(p - u.part.left, 0), u.part.barWidth = Math.max(m - p, 1);
|
|
3184
3240
|
}
|
|
3185
3241
|
else
|
|
3186
3242
|
u.part.left = p, u.part.width = Math.max(m - p, 1), u.part.barLeft = 0, u.part.barWidth = Math.max(m - p - 1, 1); var b = l.eventMinWidth; return u.part.width = Math.max(u.part.width, b), u.part.right = u.part.left + u.part.width, u.cache = d, t.events.push(u), u; }, this.Bb = function (e, t) { if (!(e && t && e.start && t.start))
|
|
@@ -3259,7 +3315,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
3259
3315
|
a.style.width = o + "px";
|
|
3260
3316
|
a.firstChild.style.width = o + "px";
|
|
3261
3317
|
}
|
|
3262
|
-
} l.nav.resScrollSpace && (l.nav.resScrollSpace.style.width = e + "px"); }, this.cf = function () { this.Wg(), this.Xg(); }, this.gb = function () {
|
|
3318
|
+
} l.nav.resScrollSpace && (l.nav.resScrollSpace.style.width = e + "px"); }, this.cf = function () { this.Wg(), this.Xg(); }, this.gb = function () {
|
|
3319
|
+
var e = this.rowHeaderWidth, t = r();
|
|
3320
|
+
l.nav.corner = t,
|
|
3321
|
+
t.style.width = e + "px", t.style.height = this.Ge() + "px", t.style.overflow = "hidden", t.style.position = "relative", t.oncontextmenu = function () { return !1; }, t.className = this.L("_corner");
|
|
3322
|
+
var n = r();
|
|
3323
|
+
return n.style.position = "absolute", n.style.top = "0px", n.style.left = "0px", n.style.right = "0px", n.style.bottom = "0px", n.className = this.L("_corner_inner"), n.innerHTML = " ", this.divCorner = n, t.appendChild(n), t;
|
|
3324
|
+
}, this.Ge = function () { return l.timeHeaders ? l.timeHeaders.length * l.headerHeight : 0; }, this.Yg = null, this.Tg = function () { var e = r(); e.style.width = this.rowHeaderWidth + "px", e.style.height = this.Za() + "px", e.style.overflow = "hidden", e.style.position = "relative", e.className = l.L("_rowheader_scroll"); var i = l.ca.zg(); i && (e.style.overflowY = "auto"), e.ontouchstart = function () { n.Zg = !0; }, e.oncontextmenu = function () { return !1; }, e.onscroll = function () { if (l.Yg && clearTimeout(l.Yg), i) {
|
|
3263
3325
|
var a = function () { var t = l.$g() - l.nav.scroll.offsetHeight; e.scrollTop = Math.min(e.scrollTop, t), l.nav.scroll.scrollTop = e.scrollTop; };
|
|
3264
3326
|
t ? n.Zg && (l.Yg = setTimeout(a, 10)) : l.Yg = setTimeout(a, 10);
|
|
3265
3327
|
}
|
|
@@ -3271,13 +3333,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
3271
3333
|
} }; if (!l.ah) {
|
|
3272
3334
|
var n = new ResizeObserver(DayPilot.debounce(t, 100));
|
|
3273
3335
|
n.observe(l.nav.top), l.ah = n;
|
|
3274
|
-
} }, this.ch = function () { l.Q || (l.ma(), l.dh(), l.zb.drawArea = null); }, this.dh = function () { var e = l.Bf; l.clearSelection(), l.Bf = e, l.Cf(e, { "justDraw": !0 }); }, this.Ug = function () {
|
|
3275
|
-
var e = r();
|
|
3276
|
-
e.style.overflow = "hidden", e.style.display = "block", e.style.position = "absolute", e.style.top = "0px", e.style.width = "100%", e.style.height = this.Ge() + "px", e.style.overflow = "hidden", e.className = l.L("_timeheader_scroll"),
|
|
3277
|
-
this.divTimeScroll = e;
|
|
3278
|
-
var t = r();
|
|
3279
|
-
return t.style.width = this.Ee() + 5e3 + "px", this.divNorth = t, e.appendChild(t), e;
|
|
3280
|
-
}, this.Za = function () { var e = 0, t = l.heightSpec; return "Fixed" === t ? this.height ? this.height : 0 : (e = l.$g(), "Max" === t && e > l.height ? l.height : e); }, this.$g = function () { var e; return this.he !== -1 ? (e = this.he, this.he > 0 && "auto" === l.nav.scroll.style.overflowX && (e += DayPilot.sh(l.nav.scroll) + 1)) : e = this.rowlist.length * l.eventHeight, e; }, this.Vg = function () { var e = r(); e.style.overflow = "auto", e.style.overflowX = "auto", e.style.overflowY = "auto", e.style.height = this.Za() + "px", e.style.top = this.Ge() + 1 + "px", e.style.position = "absolute", e.style.width = "100%", e.className = this.L("_scrollable"), e.oncontextmenu = function () { return !1; }, this.nav.scroll = e, this.le = r(); var t = this.le; t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.calendar = this, t.style.position = "absolute"; var n = this.Ee(); return n > 0 && (t.style.width = n + "px"), t.onmousedown = this.eh, t.onmousemove = this.fh, t.onmouseup = this.gh, t.oncontextmenu = this.hh, t.className = this.L("_matrix"), this.divStretch = r(), this.divStretch.style.position = "absolute", this.divStretch.style.height = "1px", t.appendChild(this.divStretch), this.divCells = r(), this.divCells.style.position = "absolute", this.divCells.oncontextmenu = this.hh, t.appendChild(this.divCells), this.divLines = r(), this.divLines.style.position = "absolute", this.divLines.oncontextmenu = this.hh, t.appendChild(this.divLines), this.divSeparators = r(), this.divSeparators.style.position = "absolute", this.divSeparators.oncontextmenu = this.hh, t.appendChild(this.divSeparators), this.divRange = r(), this.divRange.style.position = "absolute", this.divRange.oncontextmenu = this.hh, t.appendChild(this.divRange), this.divEvents = r(), this.divEvents.style.position = "absolute", t.appendChild(this.divEvents), this.divShadow = r(), this.divShadow.style.position = "absolute", t.appendChild(this.divShadow), e.appendChild(t), e; }, this.rb = function () { n.ih || (n.ih = !0, DayPilot.re(document, "mouseup", n.ge), DayPilot.re(document, "touchmove", n.jh), DayPilot.re(document, "touchend", n.kh)); }, this.lh = function () { this.nav.scroll.root = this, this.nav.scroll.onscroll = this.hf, l.mh = this.nav.scroll.scrollLeft, l.nh = this.nav.scroll.scrollTop, this.divNorth && (l.oh = this.divNorth.clientWidth); }, this.ph = {}, this.ph.step = 300, this.ph.delay = 10, this.ph.mode = "display", this.ph.layers = !1, this.Jg = function (e) { for (var t = 0, n = 0; n < e.lines.length; n++) {
|
|
3336
|
+
} }, this.ch = function () { l.Q || (l.ma(), l.dh(), l.zb.drawArea = null); }, this.dh = function () { var e = l.Bf; l.clearSelection(), l.Bf = e, l.Cf(e, { "justDraw": !0 }); }, this.Ug = 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.Ge() + "px", e.style.overflow = "hidden", e.className = l.L("_timeheader_scroll"), this.divTimeScroll = e; var t = r(); return t.style.width = this.Ee() + 5e3 + "px", this.divNorth = t, e.appendChild(t), e; }, this.Za = function () { var e = 0, t = l.heightSpec; return "Fixed" === t ? this.height ? this.height : 0 : (e = l.$g(), "Max" === t && e > l.height ? l.height : e); }, this.$g = function () { var e; return this.he !== -1 ? (e = this.he, this.he > 0 && "auto" === l.nav.scroll.style.overflowX && (e += DayPilot.sh(l.nav.scroll) + 1)) : e = this.rowlist.length * l.eventHeight, e; }, this.Vg = function () { var e = r(); e.style.overflow = "auto", e.style.overflowX = "auto", e.style.overflowY = "auto", e.style.height = this.Za() + "px", e.style.top = this.Ge() + 1 + "px", e.style.position = "absolute", e.style.width = "100%", e.className = this.L("_scrollable"), e.oncontextmenu = function () { return !1; }, this.nav.scroll = e, this.le = r(); var t = this.le; t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.calendar = this, t.style.position = "absolute"; var n = this.Ee(); return n > 0 && (t.style.width = n + "px"), t.onmousedown = this.eh, t.onmousemove = this.fh, t.onmouseup = this.gh, t.oncontextmenu = this.hh, t.className = this.L("_matrix"), this.divStretch = r(), this.divStretch.style.position = "absolute", this.divStretch.style.height = "1px", t.appendChild(this.divStretch), this.divCells = r(), this.divCells.style.position = "absolute", this.divCells.oncontextmenu = this.hh, t.appendChild(this.divCells), this.divLines = r(), this.divLines.style.position = "absolute", this.divLines.oncontextmenu = this.hh, t.appendChild(this.divLines), this.divSeparators = r(), this.divSeparators.style.position = "absolute", this.divSeparators.oncontextmenu = this.hh, t.appendChild(this.divSeparators), this.divRange = r(), this.divRange.style.position = "absolute", this.divRange.oncontextmenu = this.hh, t.appendChild(this.divRange), this.divEvents = r(), this.divEvents.style.position = "absolute", t.appendChild(this.divEvents), this.divShadow = r(), this.divShadow.style.position = "absolute", t.appendChild(this.divShadow), e.appendChild(t), e; }, this.rb = function () { n.ih || (n.ih = !0, DayPilot.re(document, "mouseup", n.ge), DayPilot.re(document, "touchmove", n.jh), DayPilot.re(document, "touchend", n.kh)); }, this.lh = function () { this.nav.scroll.root = this, this.nav.scroll.onscroll = this.hf, l.mh = this.nav.scroll.scrollLeft, l.nh = this.nav.scroll.scrollTop, this.divNorth && (l.oh = this.divNorth.clientWidth); }, this.ph = {}, this.ph.step = 300, this.ph.delay = 10, this.ph.mode = "display", this.ph.layers = !1, this.Jg = function (e) { for (var t = 0, n = 0; n < e.lines.length; n++) {
|
|
3281
3337
|
for (var i = e.lines[n], a = 0; a < i.length; a++) {
|
|
3282
3338
|
var o = i[a];
|
|
3283
3339
|
o.part.line = n, o.part.top = t + l.rowMarginTop, o.part.right = o.part.left + o.part.width;
|
|
@@ -3337,16 +3393,16 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
3337
3393
|
} return !1; }, this.wh = function (e) { if (e.rendered)
|
|
3338
3394
|
return !1; var t = "Progressive" === this.dynamicEventRendering, n = this.nav.scroll.scrollLeft, i = n + this.nav.scroll.clientWidth, a = e.part.left, o = e.part.left + e.part.width; return !t || !(i <= a || n >= o); }, this.rh = function (e) { if (!e.rendered)
|
|
3339
3395
|
return !0; var t = this.pe(), n = t.pixels.top, i = t.pixels.bottom, a = t.pixels.left - this.dynamicEventRenderingMargin, o = t.pixels.right + this.dynamicEventRenderingMargin, r = e.part.left, s = e.part.right, d = e.part.top, c = e.part.top + l.eventHeight; return o <= r || a >= s || (i <= d || n >= c); }, this.Va = function (e, t) { t = t || {}; var n = t.forced; if (e.rendered)
|
|
3340
|
-
return !1; var i = "Progressive" === this.dynamicEventRendering, a = e.part.dayIndex, o = l.divEvents, s = l.rowlist, d = s[a], c = d.top, u = this.pe(), f = u.pixels.left - this.dynamicEventRenderingMargin, v = u.pixels.right + this.dynamicEventRenderingMargin, p = u.pixels.top, m = u.pixels.bottom,
|
|
3341
|
-
return !1; var _ = e.part.width, C = l.eventHeight, k = e.cache || e.data; _ = DayPilot.Util.atLeast(0, _), C = DayPilot.Util.atLeast(0, C); var P = r(); P.style.position = "absolute", P.style.left = e.part.left + "px", P.style.top = c + e.part.top + "px", P.style.width = _ + "px", P.style.height = C + "px", l.eventTextWrappingEnabled || (P.style.whiteSpace = "nowrap"), P.style.overflow = "hidden", P.className = this.L("_event"), k.cssClass && DayPilot.Util.addClass(P, k.cssClass); "number" == typeof e.part.line && DayPilot.Util.addClass(P, this.L("_event_line" + e.part.line)), this.showToolTip && (P.title = e.client.toolTip() || ""), P.onmousemove = this.xh, P.onmousedown = this.yh, P.onmouseup = this.zh, P.ontouchstart = h.Ah, P.ontouchmove = h.Bh, P.ontouchend = h.Ch, e.client.clickEnabled() && (P.onclick = this.Qe), "undefined" != typeof k.ariaLabel ? P.setAttribute("aria-label", k.ariaLabel) : P.setAttribute("aria-label", k.text), P.setAttribute("tabindex", "-1"); var
|
|
3342
|
-
var
|
|
3343
|
-
|
|
3344
|
-
var
|
|
3345
|
-
|
|
3346
|
-
} P.row = a, P.event = e,
|
|
3396
|
+
return !1; var i = "Progressive" === this.dynamicEventRendering, a = e.part.dayIndex, o = l.divEvents, s = l.rowlist, d = s[a], c = d.top, u = this.pe(), f = u.pixels.left - this.dynamicEventRenderingMargin, v = u.pixels.right + this.dynamicEventRenderingMargin, p = u.pixels.top, m = u.pixels.bottom, y = e.part.left, g = e.part.left + e.part.width, b = e.part.top + c, w = b + l.eventHeight, D = v <= y || f >= g, x = m <= b || p >= w; if (!n && i && (D || x))
|
|
3397
|
+
return !1; var _ = e.part.width, C = l.eventHeight, k = e.cache || e.data, S = k.borderRadius || l.eventBorderRadius; "number" == typeof S && (S += "px"), _ = DayPilot.Util.atLeast(0, _), C = DayPilot.Util.atLeast(0, C); var P = r(); P.style.position = "absolute", P.style.left = e.part.left + "px", P.style.top = c + e.part.top + "px", P.style.width = _ + "px", P.style.height = C + "px", l.eventTextWrappingEnabled || (P.style.whiteSpace = "nowrap"), P.style.overflow = "hidden", P.className = this.L("_event"), k.cssClass && DayPilot.Util.addClass(P, k.cssClass); "number" == typeof e.part.line && DayPilot.Util.addClass(P, this.L("_event_line" + e.part.line)), S && (P.style.borderRadius = S), this.showToolTip && (P.title = e.client.toolTip() || ""), P.onmousemove = this.xh, P.onmousedown = this.yh, P.onmouseup = this.zh, P.ontouchstart = h.Ah, P.ontouchmove = h.Bh, P.ontouchend = h.Ch, e.client.clickEnabled() && (P.onclick = this.Qe), "undefined" != typeof k.ariaLabel ? P.setAttribute("aria-label", k.ariaLabel) : P.setAttribute("aria-label", k.text), P.setAttribute("tabindex", "-1"); var M = r(); M.className = l.L("_event_inner"), S && (M.style.borderRadius = S), k.backColor && (M.style.background = k.backColor), k.fontColor && (M.style.color = k.fontColor), "darker" === k.borderColor && k.backColor ? M.style.borderColor = DayPilot.ColorUtil.darker(k.backColor, 2) : M.style.borderColor = k.borderColor, k.backImage && (M.style.backgroundImage = "url(" + k.backImage + ")", k.backRepeat && (M.style.backgroundRepeat = k.backRepeat)), P.appendChild(M); var T = e.start().getTime() === e.part.start.getTime(), A = e.rawend().getTime() === e.part.end.getTime(); if (T || DayPilot.Util.addClass(P, this.L("_event_continueleft")), A || DayPilot.Util.addClass(P, this.L("_event_continueright")), e.client.barVisible() && _ > 0) {
|
|
3398
|
+
var E = 100 * e.part.barLeft / _, H = Math.ceil(100 * e.part.barWidth / _), N = r();
|
|
3399
|
+
N.className = this.L("_event_bar"), N.style.position = "absolute", k.barBackColor && (N.style.backgroundColor = k.barBackColor);
|
|
3400
|
+
var I = r();
|
|
3401
|
+
I.className = this.L("_event_bar_inner"), I.style.left = E + "%", 0 < H && H <= 1 ? I.style.width = "1px" : I.style.width = H + "%", k.barColor && (I.style.backgroundColor = k.barColor), k.barImageUrl && (I.style.backgroundImage = "url(" + k.barImageUrl + ")"), N.appendChild(I), P.appendChild(N);
|
|
3402
|
+
} P.row = a, P.event = e, M.innerHTML = e.client.innerHTML(); var R = []; return function () { if ("Disabled" !== l.eventDeleteHandling && !k.deleteDisabled) {
|
|
3347
3403
|
var e = l.durationBarVisible ? l.durationBarHeight : 0;
|
|
3348
|
-
|
|
3349
|
-
} }(), k.areas && (
|
|
3404
|
+
R.push({ v: "Hover", w: 17, h: 17, top: e + 2, right: 2, css: l.L("_event_delete"), onClick: function (e) { l.ya(e.source); } });
|
|
3405
|
+
} }(), k.areas && (R = R.concat(k.areas)), DayPilot.Areas.attach(P, e, { areas: R }), this.elements.events.push(P), o.appendChild(P), e.rendered = !0, !0; }, this.ab = function (e, t) { return l.ca.da() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.rf = function () { for (var e = 0; e < this.elements.events.length; e++) {
|
|
3350
3406
|
var t = this.elements.events[e], n = t.event, i = n.part.dayIndex, a = l.rowlist[i], o = a.top, r = o + n.part.top, s = a.height, d = l.eventHeight, c = !1;
|
|
3351
3407
|
n.part.top + d > s && (d = Math.max(0, s - n.part.top), c = !0), t.style.top = r + "px", t.style.height = d + "px";
|
|
3352
3408
|
} }, this.Dh = function (e) { if (!e)
|
|
@@ -3538,17 +3594,19 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
3538
3594
|
var e = n.pg;
|
|
3539
3595
|
n.qg = l.ba(e);
|
|
3540
3596
|
} l.og(); }, this.hh = function (e) { return e.cancelBubble = !0, !1; }, this.Vh = function (e) { var t = l.Bf; if (!t || !t.start || !t.end)
|
|
3541
|
-
return !1; var n = this.Mf(t.start.y), i = t.start.x < t.end.x, a = (i ? t.start.x : t.end.x) * this.cellWidth, o = (i ? t.end.x : t.start.x) * this.cellWidth + this.cellWidth, r = n.top, s = n.bottom; return e.x >= a && e.x <= o && e.y >= r && e.y <= s; }, this.Cf = function (e) { function t(e) { var t, n,
|
|
3542
|
-
var
|
|
3543
|
-
t =
|
|
3597
|
+
return !1; var n = this.Mf(t.start.y), i = t.start.x < t.end.x, a = (i ? t.start.x : t.end.x) * this.cellWidth, o = (i ? t.end.x : t.start.x) * this.cellWidth + this.cellWidth, r = n.top, s = n.bottom; return e.x >= a && e.x <= o && e.y >= r && e.y <= s; }, this.Cf = function (e) { function t(e) { var t, n, s, d, c = e.end.time > e.start.time, u = e.start.y, h = e.start.time && e.end.time; if (a || !h) {
|
|
3598
|
+
var f = c ? e.start.x : e.end.x, v = c ? e.end.x : e.start.x, p = l.Ne(f), m = l.Ne(v);
|
|
3599
|
+
t = p.left, n = m.left + m.width;
|
|
3544
3600
|
}
|
|
3545
3601
|
else
|
|
3546
|
-
|
|
3602
|
+
c ? (s = e.start.time, d = e.end.time) : (s = e.end.time, d = e.start.time), t = l.getPixels(s).left, n = l.getPixels(d).left; var y = n - t, g = l.elements.range2; if (!g) {
|
|
3547
3603
|
g = r(), g.style.position = "absolute";
|
|
3548
|
-
var
|
|
3549
|
-
|
|
3550
|
-
} return g.className = l.L("_shadow"), g.firstChild.innerHTML = "", g.style.left = t + "px", g.style.top =
|
|
3551
|
-
var i = l.
|
|
3604
|
+
var b = r();
|
|
3605
|
+
b.className = l.L("_shadow_inner"), i && (g.style.borderRadius = i, b.style.borderRadius = i), g.appendChild(b), l.divShadow.appendChild(g);
|
|
3606
|
+
} return g.className = l.L("_shadow"), g.firstChild.innerHTML = "", g.style.left = t + "px", g.style.top = o[u].top + "px", g.style.width = y + "px", g.style.height = o[u].height - 1 + "px", g.calendar = l, l.elements.range2 = g, g; } if (e = e || n.Mh) {
|
|
3607
|
+
var i = l.eventBorderRadius;
|
|
3608
|
+
"number" == typeof i && (i += "px");
|
|
3609
|
+
var a = l.snapToGrid, o = l.rowlist;
|
|
3552
3610
|
t(e);
|
|
3553
3611
|
} }, this._h = function (e) { return { "start": { "x": e.start.x, "y": e.start.y, "time": e.start.time }, "end": { "x": e.end.x, "time": e.end.time }, "calendar": e.calendar, "args": e.args }; }, this.Kf = {}, this.Kf.na = null, this.Kf.drawCells = null, this.Kf.drawRows = null, this.Kf.click = null, this.Kf.resClick = [], this.Kf.updateFloats = null, this.hf = function () { if (!l.Q) {
|
|
3554
3612
|
l.ff();
|
|
@@ -3649,22 +3707,27 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
3649
3707
|
c.start = s, c.end = d, c.resource = o;
|
|
3650
3708
|
var u = {};
|
|
3651
3709
|
u.business = l.isBusiness(c), this.cellProperties[n] = u;
|
|
3652
|
-
} return this.cellProperties[n]; }, this.isBusiness = function (e, t) {
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
o += n.getMinutes() / 60, o += n.getSeconds() / 3600, o += n.getMilliseconds() / 36e5;
|
|
3656
|
-
var r = this.businessBeginsHour, s = this.businessEndsHour;
|
|
3657
|
-
if (0 === s && (s = 24), r === s)
|
|
3658
|
-
return !1;
|
|
3659
|
-
if (!(r < s))
|
|
3660
|
-
return o < s || o >= r;
|
|
3661
|
-
if (o < r)
|
|
3710
|
+
} return this.cellProperties[n]; }, this.isBusiness = function (e, t) {
|
|
3711
|
+
var n = e.start, i = e.end, a = (i.getTime() - n.getTime()) / 6e4;
|
|
3712
|
+
if (a <= 1440 && !(l.businessWeekends || t || 0 !== e.start.dayOfWeek() && 6 !== e.start.dayOfWeek()))
|
|
3662
3713
|
return !1;
|
|
3663
|
-
if (
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3714
|
+
if (a < 720) {
|
|
3715
|
+
var o = n.getHours();
|
|
3716
|
+
o += n.getMinutes() / 60, o += n.getSeconds() / 3600, o += n.getMilliseconds() / 36e5;
|
|
3717
|
+
var r = this.businessBeginsHour, s = this.businessEndsHour;
|
|
3718
|
+
if (0 === s && (s = 24), r === s)
|
|
3719
|
+
return !1;
|
|
3720
|
+
if (!(r < s))
|
|
3721
|
+
return o < s || o >= r;
|
|
3722
|
+
if (o < r)
|
|
3723
|
+
return !1;
|
|
3724
|
+
if (s >= 24)
|
|
3725
|
+
return !0;
|
|
3726
|
+
if (o >= s)
|
|
3727
|
+
return !1;
|
|
3728
|
+
}
|
|
3729
|
+
return !0;
|
|
3730
|
+
}, this.u = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.mi = function (e) { this.heightSpec = "Fixed", this.height = e - (this.Ge() + 2), this.ma(); }, this.setHeight = this.mi, this.ne = function (e) { return l.Gg(e)[0]; }, this.yb = function () { if (this.id && this.id.tagName)
|
|
3668
3731
|
this.nav.top = this.id;
|
|
3669
3732
|
else {
|
|
3670
3733
|
if ("string" != typeof this.id)
|
|
@@ -3676,19 +3739,17 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
|
|
|
3676
3739
|
if (this.nav.top.dp === l)
|
|
3677
3740
|
return l;
|
|
3678
3741
|
throw new DayPilot.Exception("The target placeholder was already initialized by another DayPilot component instance.");
|
|
3679
|
-
} return this.ni(), this.bh(), this; }, this.ni = function () { this.Pg(), this.rb(), this.aa(), this.lh(), this.sb(); var angular = l.De.enabled; l.scrollToDate ? l.scrollTo(l.scrollToDate) : l.scrollX || l.scrollY ? l.setScroll(l.scrollX, l.scrollY) : angular || l.hf(), l.scrollToResourceId && (l.scrollToResource(l.scrollToResourceId), l.scrollToResourceId = null); var e = function () { l.scrollY && l.setScroll(l.scrollX, l.scrollY); }; setTimeout(e, 200), this.ff(), this.xb(), this.Ma = !0; var t = l.ke; t ? l.scrollTo(t) : l.hf(); }, this.wb = null, this.ub = function (e) {
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
}
|
|
3691
|
-
}, this.xb = function () { var e = l.wb; for (var t in e) {
|
|
3742
|
+
} return this.ni(), this.bh(), this; }, this.ni = function () { this.Pg(), this.rb(), this.aa(), this.lh(), this.sb(); var angular = l.De.enabled; l.scrollToDate ? l.scrollTo(l.scrollToDate) : l.scrollX || l.scrollY ? l.setScroll(l.scrollX, l.scrollY) : angular || l.hf(), l.scrollToResourceId && (l.scrollToResource(l.scrollToResourceId), l.scrollToResourceId = null); var e = function () { l.scrollY && l.setScroll(l.scrollX, l.scrollY); }; setTimeout(e, 200), this.ff(), this.xb(), this.Ma = !0; var t = l.ke; t ? l.scrollTo(t) : l.hf(); }, this.wb = null, this.ub = function (e) { if (e) {
|
|
3743
|
+
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.je(this.data); } }, "scrollX": { "postInit": function () { this.data && l.me(this.data); } }, "scrollY": { "postInit": function () { this.data && l.Fe(this.data); } } };
|
|
3744
|
+
l.wb = t, l.De.scrollToRequested && (t.scrollTo.data = l.De.scrollToRequested, l.De.scrollToRequested = null), l.De.scrollXRequested && (t.scrollX.data = l.De.scrollXRequested, l.De.scrollXRequested = null), l.De.scrollYRequested && (t.scrollY.data = l.De.scrollYRequested, l.De.scrollYRequested = null);
|
|
3745
|
+
for (var n in e)
|
|
3746
|
+
t[n] || (l[n] = e[n]);
|
|
3747
|
+
for (var n in e)
|
|
3748
|
+
if (t[n]) {
|
|
3749
|
+
var i = t[n];
|
|
3750
|
+
i.data = e[n], i.preInit && i.preInit();
|
|
3751
|
+
}
|
|
3752
|
+
} }, this.xb = function () { var e = l.wb; for (var t in e) {
|
|
3692
3753
|
var n = e[t];
|
|
3693
3754
|
n.postInit && n.postInit();
|
|
3694
3755
|
} l.wb = {}; }, this.Sa = {}, this.Sa.Ra = null, this.Sa.Ob = function (e, t, n) { var i = l.Sa.Ra; if ("function" == typeof i.createVNode && "function" == typeof i.render) {
|