@daypilot/daypilot-lite-angular 3.10.0 → 3.10.1
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 +203 -198
- package/fesm2015/daypilot-daypilot-lite-angular.mjs +188 -190
- package/fesm2015/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/fesm2020/daypilot-daypilot-lite-angular.mjs +202 -197
- package/fesm2020/daypilot-daypilot-lite-angular.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -118,7 +118,7 @@ DayPilot Lite
|
|
|
118
118
|
Copyright (c) 2005 - 2022 Annpoint s.r.o.
|
|
119
119
|
https://www.daypilot.org/
|
|
120
120
|
Licensed under Apache Software License 2.0
|
|
121
|
-
Version: 2022.3.
|
|
121
|
+
Version: 2022.3.432-lite
|
|
122
122
|
*/
|
|
123
123
|
if ("undefined" == typeof DayPilot)
|
|
124
124
|
var DayPilot = {};
|
|
@@ -203,7 +203,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
203
203
|
}, 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 () { var e = document.createElement("style"); e.setAttribute("type", "text/css"), e.styleSheet || e.appendChild(document.createTextNode("")), (document.head || document.getElementsByTagName("head")[0]).appendChild(e); var t = !!e.styleSheet, a = {}; return a.rules = [], a.commit = function () { t && (e.styleSheet.cssText = this.rules.join("\n")); }, a.add = function (a, r, o) { return t ? void this.rules.push(a + "{" + r + "}") : void (e.sheet.insertRule ? ("undefined" == typeof o && (o = e.sheet.cssRules.length), e.sheet.insertRule(a + "{" + r + "}", o)) : e.sheet.addRule && e.sheet.addRule(a, r, o)); }, a; }, 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 () {
|
|
204
204
|
if (!DayPilot.Global.defaultCss) {
|
|
205
205
|
var e = DayPilot.sheet();
|
|
206
|
-
e.add(".calendar_default_main", "border: 1px solid #c0c0c0; font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;"), e.add(".calendar_default_main *, .calendar_default_main *:before, .calendar_default_main *:after", "box-sizing: content-box;"), e.add(".calendar_default_rowheader_inner,.calendar_default_cornerright_inner,.calendar_default_corner_inner,.calendar_default_colheader_inner,.calendar_default_alldayheader_inner", "color: #333;background: #f3f3f3;"), e.add(".calendar_default_cornerright_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;\tborder-bottom: 1px solid #c0c0c0;"), e.add(".calendar_default_direction_rtl .calendar_default_cornerright_inner", "border-right: 1px solid #c0c0c0;"), e.add(".calendar_default_rowheader_inner", "font-size: 16pt;text-align: right; position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0; padding: 3px;"), 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 #c0c0c0;border-bottom: 1px solid #c0c0c0;"), 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;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0; display: flex; align-items: center; justify-content: center; font-size: 13px;"), e.add(".calendar_default_cell_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #ddd;border-bottom: 1px solid #ddd; background: #f9f9f9;"), e.add(".calendar_default_cell_business .calendar_default_cell_inner", "background: #fff"), e.add(".calendar_default_alldayheader_inner", "text-align: center;position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;"), e.add(".calendar_default_message", "opacity: 0.9; padding: 10px; color: #ffffff;background: #ffa216;"), e.add(".calendar_default_alldayevent_inner,.calendar_default_event_inner", "color: #333; border: 1px solid #999;"), e.add(".calendar_default_event_bar", "top: 0px;bottom: 0px;left: 0px;width: 6px;background-color: #9dc8e8;"), e.add(".calendar_default_event_bar_inner", "position: absolute;width: 6px;background-color: #1066a8;"), e.add(".calendar_default_alldayevent_inner,.calendar_default_event_inner", 'background: #fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".calendar_default_selected .calendar_default_event_inner", "background: #ddd;"), e.add(".calendar_default_alldayevent_inner", "position: absolute;top: 2px;bottom: 2px;left: 2px;right: 2px;overflow:hidden;padding: 2px;margin-right: 1px; font-size: 13px;"), e.add(".calendar_default_event_withheader .calendar_default_event_inner", "padding-top: 15px;"), e.add(".calendar_default_event", "cursor: default;"), e.add(".calendar_default_event_inner", "position: absolute;overflow: hidden;top: 0px;bottom: 0px;left: 0px;right: 0px;padding: 2px 2px 2px 8px; font-size: 13px;"), e.add(".calendar_default_shadow_inner", "position:absolute;top:0px;left:0px;right:0px;bottom:0px;background-color: #666666; opacity: 0.5;"), 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: red;"), e.add(".calendar_default_now:before", "content: ''; top: -5px; border-width: 5px; border-color: transparent transparent transparent red; border-style: solid; width: 0px; height:0px; position: absolute; -moz-transform: scale(.9999);"), e.add(".calendar_default_shadow_forbidden .calendar_default_shadow_inner", "background-color: red;"), e.add(".calendar_default_shadow_top", 'box-sizing: border-box; padding:2px;border:1px solid #ccc;background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".calendar_default_shadow_bottom", 'box-sizing: border-box; padding:2px;border:1px solid #ccc;background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), 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: #f3f3f3;"), 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(".scheduler_default_selected .scheduler_default_event_inner", "background: #ddd;"), e.add(".scheduler_default_main", "border: 1px solid #c0c0c0;font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;"), e.add(".scheduler_default_timeheader", "cursor: default;color: #333;"), e.add(".scheduler_default_message", "opacity: 0.9;filter: alpha(opacity=90);padding: 10px; color: #ffffff;background: #ffa216;"), e.add(".scheduler_default_timeheadergroup,.scheduler_default_timeheadercol", "color: #333;background: #f3f3f3;"), e.add(".scheduler_default_rowheader,.scheduler_default_corner", "color: #333;background: #f3f3f3;"), e.add(".scheduler_default_rowheader_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #eee;padding: 2px;"), e.add(".scheduler_default_timeheadergroup, .scheduler_default_timeheadercol", "text-align: center;"), e.add(".scheduler_default_timeheadergroup_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;"), e.add(".scheduler_default_timeheadercol_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #c0c0c0;"), e.add(".scheduler_default_divider", "background-color: #c0c0c0;"), e.add(".scheduler_default_divider_horizontal", "background-color: #c0c0c0;"), e.add(".scheduler_default_matrix_vertical_line", "background-color: #eee;"), e.add(".scheduler_default_matrix_vertical_break", "background-color: #000;"), e.add(".scheduler_default_matrix_horizontal_line", "background-color: #eee;"), e.add(".scheduler_default_resourcedivider", "background-color: #c0c0c0;"), e.add(".scheduler_default_shadow_inner", "background-color: #666666;opacity: 0.5;filter: alpha(opacity=50);height: 100%;xborder-radius: 5px;"), e.add(".scheduler_default_event", "color:#333; font-size: 13px;"), e.add(".scheduler_default_event_inner", "position:absolute;top:0px;left:0px;right:0px;bottom:0px;padding:5px 2px 2px 2px;overflow:hidden;border:1px solid #ccc;"), e.add(".scheduler_default_event_bar", "top:0px;left:0px;right:0px;height:4px;background-color:#9dc8e8;"), e.add(".scheduler_default_event_bar_inner", "position:absolute;height:4px;background-color:#1066a8;"), e.add(".scheduler_default_event_inner", 'background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".scheduler_default_event_float_inner", "padding:6px 2px 2px 8px;"), 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:8px;left:-4px;'), e.add(".scheduler_default_columnheader_inner", "font-weight: bold;"), e.add(".scheduler_default_columnheader_splitter", "background-color: #666;opacity: 0.5;filter: alpha(opacity=50);"), e.add(".scheduler_default_columnheader_cell_inner", "padding: 2px;"), e.add(".scheduler_default_cell", "background-color: #f9f9f9;"), e.add(".scheduler_default_cell.scheduler_default_cell_business", "background-color: #fff;"), e.add(".navigator_default_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;"), e.add(".navigator_default_main *, .navigator_default_main *:before, .navigator_default_main *:after", "box-sizing: content-box;"), e.add(".navigator_default_month", "font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 12px;"), e.add(".navigator_default_day", "color: black;"), e.add(".navigator_default_weekend", "background-color: #f0f0f0;"), e.add(".navigator_default_dayheader", "color: black;"), e.add(".navigator_default_line", "border-bottom: 1px solid #c0c0c0;"), e.add(".navigator_default_dayother", "color: gray;"), e.add(".navigator_default_todaybox", "border: 1px solid red;"), e.add(".navigator_default_title, .navigator_default_titleleft, .navigator_default_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), e.add(".navigator_default_busy", "font-weight: bold;"), e.add(".navigator_default_cell", "text-align: center;"), e.add(".navigator_default_select .navigator_default_cell_box", "background-color: #FFE794; opacity: 0.5;"), e.add(".navigator_default_title", "text-align: center;"), e.add(".navigator_default_titleleft, .navigator_default_titleright", "text-align: center;"), e.add(".navigator_default_dayheader", "text-align: center;"), e.add(".navigator_default_weeknumber", "text-align: center; color: #999;"), e.add(".navigator_default_cell_text", "cursor: pointer;"), e.add(".month_default_main", "border: 1px solid #c0c0c0;font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;color: #333;"), e.add(".month_default_main *, .month_default_main *:before, .month_default_main *:after", "box-sizing: content-box;"), e.add(".month_default_cell_inner", "border-right: 1px solid #ddd;border-bottom: 1px solid #ddd;position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;background-color: #f9f9f9;"), e.add(".month_default_cell_business .month_default_cell_inner", "background-color: #fff;"), e.add(".month_default_cell_header", "text-align: right; padding: 4px; box-sizing: border-box;"), e.add(".month_default_header_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;cursor: default;color: #333;background: #f3f3f3; overflow:hidden; display: flex; align-items: center; justify-content: center;"), e.add(".month_default_message", "padding: 10px;opacity: 0.9; color: #ffffff;background: #ffa216;"), e.add(".month_default_event_inner", "position: absolute;top: 0px;bottom: 0px;left: 1px;right: 1px;overflow:hidden;padding: 2px;padding-left: 10px;color: #333;background: #fff;background: linear-gradient(to bottom, #ffffff 0%, #eeeeee);border: 1px solid #999;border-radius: 0px;display: flex; align-items: center; font-size: 13px;"), e.add(".month_default_event_continueright .month_default_event_inner", "border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-right-style: dotted;"), e.add(".month_default_event_continueleft .month_default_event_inner", "border-top-left-radius: 0px;border-bottom-left-radius: 0px;border-left-style: dotted;"), e.add(".month_default_event_bar", "top: 0px;bottom: 0px;left: 0px;width: 6px;"), e.add(".month_default_event_bar_inner", "position: absolute;width: 6px;background-color: #1066a8;"), e.add(".month_default_event_continueleft .month_default_event_bar", "display: none;"), e.add(".month_default_selected .month_default_event_inner", "background: #ddd;"), e.add(".month_default_shadow_inner", "background-color: #666666;opacity: 0.5;height: 100%;"), 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;-ms-filter: none;"), e.add(".month_default_event_timeleft", "color: #ccc; font-size: 8pt"), e.add(".month_default_event_timeright", "color: #ccc; font-size: 8pt; text-align: right;"), e.add(".month_default_loading", "background-color: orange; color: white; padding: 2px;"), e.commit(), DayPilot.Global.defaultCss = !0;
|
|
206
|
+
e.add(".calendar_default_main", "border: 1px solid #c0c0c0; font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;"), e.add(".calendar_default_main *, .calendar_default_main *:before, .calendar_default_main *:after", "box-sizing: content-box;"), e.add(".calendar_default_rowheader_inner,.calendar_default_cornerright_inner,.calendar_default_corner_inner,.calendar_default_colheader_inner,.calendar_default_alldayheader_inner", "color: #333;background: #f3f3f3;"), e.add(".calendar_default_cornerright_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;\tborder-bottom: 1px solid #c0c0c0;"), e.add(".calendar_default_direction_rtl .calendar_default_cornerright_inner", "border-right: 1px solid #c0c0c0;"), e.add(".calendar_default_rowheader_inner", "font-size: 16pt;text-align: right; position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0; padding: 3px;"), 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 #c0c0c0;border-bottom: 1px solid #c0c0c0;"), 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;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0; display: flex; align-items: center; justify-content: center; font-size: 13px;"), e.add(".calendar_default_cell_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #ddd;border-bottom: 1px solid #ddd; background: #f9f9f9;"), e.add(".calendar_default_cell_business .calendar_default_cell_inner", "background: #fff"), e.add(".calendar_default_alldayheader_inner", "text-align: center;position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;"), e.add(".calendar_default_message", "opacity: 0.9; padding: 10px; color: #ffffff;background: #ffa216;"), e.add(".calendar_default_alldayevent_inner,.calendar_default_event_inner", "color: #333; border: 1px solid #999;"), e.add(".calendar_default_event_bar", "top: 0px;bottom: 0px;left: 0px;width: 6px;background-color: #9dc8e8;"), e.add(".calendar_default_event_bar_inner", "position: absolute;width: 6px;background-color: #1066a8;"), e.add(".calendar_default_alldayevent_inner,.calendar_default_event_inner", 'background: #fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".calendar_default_selected .calendar_default_event_inner", "background: #ddd;"), e.add(".calendar_default_alldayevent_inner", "position: absolute;top: 2px;bottom: 2px;left: 2px;right: 2px;overflow:hidden;padding: 2px;margin-right: 1px; font-size: 13px;"), e.add(".calendar_default_event_withheader .calendar_default_event_inner", "padding-top: 15px;"), e.add(".calendar_default_event", "cursor: default;"), e.add(".calendar_default_event_inner", "position: absolute;overflow: hidden;top: 0px;bottom: 0px;left: 0px;right: 0px;padding: 2px 2px 2px 8px; font-size: 13px;"), e.add(".calendar_default_shadow_inner", "position:absolute;top:0px;left:0px;right:0px;bottom:0px;background-color: #666666; opacity: 0.5;"), 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: red;"), e.add(".calendar_default_now:before", "content: ''; top: -5px; border-width: 5px; border-color: transparent transparent transparent red; border-style: solid; width: 0px; height:0px; position: absolute; -moz-transform: scale(.9999);"), e.add(".calendar_default_shadow_forbidden .calendar_default_shadow_inner", "background-color: red;"), e.add(".calendar_default_shadow_top", 'box-sizing: border-box; padding:2px;border:1px solid #ccc;background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".calendar_default_shadow_bottom", 'box-sizing: border-box; padding:2px;border:1px solid #ccc;background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), 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: #f3f3f3;"), e.add(".calendar_default_event_moving_source", "opacity: 0.5;"), 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(".scheduler_default_selected .scheduler_default_event_inner", "background: #ddd;"), e.add(".scheduler_default_main", "border: 1px solid #c0c0c0;font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;"), e.add(".scheduler_default_timeheader", "cursor: default;color: #333;"), e.add(".scheduler_default_message", "opacity: 0.9;filter: alpha(opacity=90);padding: 10px; color: #ffffff;background: #ffa216;"), e.add(".scheduler_default_timeheadergroup,.scheduler_default_timeheadercol", "color: #333;background: #f3f3f3;"), e.add(".scheduler_default_rowheader,.scheduler_default_corner", "color: #333;background: #f3f3f3;"), e.add(".scheduler_default_rowheader_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #eee;padding: 2px;"), e.add(".scheduler_default_timeheadergroup, .scheduler_default_timeheadercol", "text-align: center;"), e.add(".scheduler_default_timeheadergroup_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;"), e.add(".scheduler_default_timeheadercol_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #c0c0c0;"), e.add(".scheduler_default_divider", "background-color: #c0c0c0;"), e.add(".scheduler_default_divider_horizontal", "background-color: #c0c0c0;"), e.add(".scheduler_default_matrix_vertical_line", "background-color: #eee;"), e.add(".scheduler_default_matrix_vertical_break", "background-color: #000;"), e.add(".scheduler_default_matrix_horizontal_line", "background-color: #eee;"), e.add(".scheduler_default_resourcedivider", "background-color: #c0c0c0;"), e.add(".scheduler_default_shadow_inner", "background-color: #666666;opacity: 0.5;filter: alpha(opacity=50);height: 100%;xborder-radius: 5px;"), e.add(".scheduler_default_event", "color:#333; font-size: 13px;"), e.add(".scheduler_default_event_inner", "position:absolute;top:0px;left:0px;right:0px;bottom:0px;padding:5px 2px 2px 2px;overflow:hidden;border:1px solid #ccc;"), e.add(".scheduler_default_event_bar", "top:0px;left:0px;right:0px;height:4px;background-color:#9dc8e8;"), e.add(".scheduler_default_event_bar_inner", "position:absolute;height:4px;background-color:#1066a8;"), e.add(".scheduler_default_event_inner", 'background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".scheduler_default_event_float_inner", "padding:6px 2px 2px 8px;"), 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:8px;left:-4px;'), e.add(".scheduler_default_columnheader_inner", "font-weight: bold;"), e.add(".scheduler_default_columnheader_splitter", "background-color: #666;opacity: 0.5;filter: alpha(opacity=50);"), e.add(".scheduler_default_columnheader_cell_inner", "padding: 2px;"), e.add(".scheduler_default_cell", "background-color: #f9f9f9;"), e.add(".scheduler_default_cell.scheduler_default_cell_business", "background-color: #fff;"), e.add(".navigator_default_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;"), e.add(".navigator_default_main *, .navigator_default_main *:before, .navigator_default_main *:after", "box-sizing: content-box;"), e.add(".navigator_default_month", "font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 12px;"), e.add(".navigator_default_day", "color: black;"), e.add(".navigator_default_weekend", "background-color: #f0f0f0;"), e.add(".navigator_default_dayheader", "color: black;"), e.add(".navigator_default_line", "border-bottom: 1px solid #c0c0c0;"), e.add(".navigator_default_dayother", "color: gray;"), e.add(".navigator_default_todaybox", "border: 1px solid red;"), e.add(".navigator_default_title, .navigator_default_titleleft, .navigator_default_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), e.add(".navigator_default_busy", "font-weight: bold;"), e.add(".navigator_default_cell", "text-align: center;"), e.add(".navigator_default_select .navigator_default_cell_box", "background-color: #FFE794; opacity: 0.5;"), e.add(".navigator_default_title", "text-align: center;"), e.add(".navigator_default_titleleft, .navigator_default_titleright", "text-align: center;"), e.add(".navigator_default_dayheader", "text-align: center;"), e.add(".navigator_default_weeknumber", "text-align: center; color: #999;"), e.add(".navigator_default_cell_text", "cursor: pointer;"), e.add(".month_default_main", "border: 1px solid #c0c0c0;font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;color: #333;"), e.add(".month_default_main *, .month_default_main *:before, .month_default_main *:after", "box-sizing: content-box;"), e.add(".month_default_cell_inner", "border-right: 1px solid #ddd;border-bottom: 1px solid #ddd;position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;background-color: #f9f9f9;"), e.add(".month_default_cell_business .month_default_cell_inner", "background-color: #fff;"), e.add(".month_default_cell_header", "text-align: right; padding: 4px; box-sizing: border-box;"), e.add(".month_default_header_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;cursor: default;color: #333;background: #f3f3f3; overflow:hidden; display: flex; align-items: center; justify-content: center;"), e.add(".month_default_message", "padding: 10px;opacity: 0.9; color: #ffffff;background: #ffa216;"), e.add(".month_default_event_inner", "position: absolute;top: 0px;bottom: 0px;left: 1px;right: 1px;overflow:hidden;padding: 2px;padding-left: 10px;color: #333;background: #fff;background: linear-gradient(to bottom, #ffffff 0%, #eeeeee);border: 1px solid #999;border-radius: 0px;display: flex; align-items: center; font-size: 13px;"), e.add(".month_default_event_continueright .month_default_event_inner", "border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-right-style: dotted;"), e.add(".month_default_event_continueleft .month_default_event_inner", "border-top-left-radius: 0px;border-bottom-left-radius: 0px;border-left-style: dotted;"), e.add(".month_default_event_bar", "top: 0px;bottom: 0px;left: 0px;width: 6px;"), e.add(".month_default_event_bar_inner", "position: absolute;width: 6px;background-color: #1066a8;"), e.add(".month_default_event_continueleft .month_default_event_bar", "display: none;"), e.add(".month_default_selected .month_default_event_inner", "background: #ddd;"), e.add(".month_default_shadow_inner", "background-color: #666666;opacity: 0.5;height: 100%;"), 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;-ms-filter: none;"), e.add(".month_default_event_timeleft", "color: #ccc; font-size: 8pt"), e.add(".month_default_event_timeright", "color: #ccc; font-size: 8pt; text-align: right;"), e.add(".month_default_loading", "background-color: orange; color: white; padding: 2px;"), e.commit(), DayPilot.Global.defaultCss = !0;
|
|
207
207
|
}
|
|
208
208
|
}(), DayPilot.doc = function () { var e = document.documentElement; return e && e.clientHeight ? e : document.body; }, DayPilot.guid = function () { var e = function () { return (65536 * (1 + Math.random()) | 0).toString(16).substring(1); }; return "" + e() + e() + "-" + e() + "-" + e() + "-" + e() + "-" + e() + e() + e(); }, DayPilot.pageOffset = function () {
|
|
209
209
|
if ("undefined" != typeof pageXOffset)
|
|
@@ -303,8 +303,9 @@ if ("undefined" == typeof DayPilot)
|
|
|
303
303
|
return null;
|
|
304
304
|
var t = e.toLowerCase();
|
|
305
305
|
return t.length > 2 && (t = DayPilot.Util.replaceCharAt(t, 2, "-")), DayPilot.Locale.all[t];
|
|
306
|
-
}, 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", {
|
|
307
|
-
"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.US = DayPilot.Locale.find("en-us"), DayPilot.Duration = function (e) {
|
|
306
|
+
}, 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", {
|
|
307
|
+
"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
|
|
308
|
+
})), 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.US = DayPilot.Locale.find("en-us"), DayPilot.Duration = function (e) {
|
|
308
309
|
var t = this, a = 864e5, r = 36e5, o = 6e4, n = 1e3;
|
|
309
310
|
if (2 === arguments.length) {
|
|
310
311
|
var i = arguments[0], d = arguments[1];
|
|
@@ -450,9 +451,9 @@ if ("undefined" == typeof DayPilot)
|
|
|
450
451
|
}, DayPilot.DateUtil.max = function (e, t) { return e.getTime() > t.getTime() ? e : t; }, DayPilot.DateUtil.min = function (e, t) { return e.getTime() < t.getTime() ? e : t; };
|
|
451
452
|
var r = function (e, a) {
|
|
452
453
|
"string" == typeof a && (a = DayPilot.Locale.find(a));
|
|
453
|
-
var a = a || DayPilot.Locale.US, r = [{ "seq": "yyyy", "expr": "[0-9]{4,4}", "str": function (e) { return e.getYear(); } }, { "seq": "yy", "expr": "[0-9]{2,2}", "str": function (e) { return e.getYear() % 100; } }, { "seq": "mm", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getMinutes(); return t < 10 ? "0" + t : t; } }, { "seq": "m", "expr": "[0-9]{1,2}", "str": function (e) { return e.getMinutes(); } }, { "seq": "HH", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getHours(); return t < 10 ? "0" + t : t; } }, { "seq": "H", "expr": "[0-9]{1,2}", "str": function (e) { return e.getHours(); } }, { "seq": "hh", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getHours(), t = t % 12; 0 === t && (t = 12); var a = t; return a < 10 ? "0" + a : a; } }, { "seq": "h", "expr": "[0-9]{1,2}", "str": function (e) { var t = e.getHours(), t = t % 12; return 0 === t && (t = 12), t; } }, { "seq": "ss", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getSeconds(); return t < 10 ? "0" + t : t; } }, { "seq": "s", "expr": "[0-9]{1,2}", "str": function (e) { return e.getSeconds(); } }, { "seq": "MMMM", "expr": "[^\\s0-9]*", "str": function (e) { return a.monthNames[e.getMonth()]; }, "transform": function (e) { var r = DayPilot.indexOf(a.monthNames, e, t); return r < 0 ? null : r + 1; } }, { "seq": "MMM", "expr": "[^\\s0-9]*", "str": function (e) { return a.monthNamesShort[e.getMonth()]; }, "transform": function (e) { var r = DayPilot.indexOf(a.monthNamesShort, e, t); return r < 0 ? null : r + 1; } }, { "seq": "MM", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getMonth() + 1; return t < 10 ? "0" + t : t; } }, { "seq": "M", "expr": "[0-9]{1,2}", "str": function (e) { return e.getMonth() + 1; } }, { "seq": "dddd", "expr": "[^\\s0-9]*", "str": function (e) {
|
|
454
|
-
return a.
|
|
455
|
-
} }, { "seq": "dd", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getDay(); return t < 10 ? "0" + t : t; } }, { "seq": "%d", "expr": "[0-9]{1,2}", "str": function (e) { return e.getDay(); } }, { "seq": "d", "expr": "[0-9]{1,2}", "str": function (e) { return e.getDay(); } }, { "seq": "tt", "expr": "(AM|PM|am|pm)", "str": function (e) { return e.getHours() < 12 ? "AM" : "PM"; }, "transform": function (e) { return e.toUpperCase(); } }], o = function (e) { return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); };
|
|
454
|
+
var a = a || DayPilot.Locale.US, r = [{ "seq": "yyyy", "expr": "[0-9]{4,4}", "str": function (e) { return e.getYear(); } }, { "seq": "yy", "expr": "[0-9]{2,2}", "str": function (e) { return e.getYear() % 100; } }, { "seq": "mm", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getMinutes(); return t < 10 ? "0" + t : t; } }, { "seq": "m", "expr": "[0-9]{1,2}", "str": function (e) { return e.getMinutes(); } }, { "seq": "HH", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getHours(); return t < 10 ? "0" + t : t; } }, { "seq": "H", "expr": "[0-9]{1,2}", "str": function (e) { return e.getHours(); } }, { "seq": "hh", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getHours(), t = t % 12; 0 === t && (t = 12); var a = t; return a < 10 ? "0" + a : a; } }, { "seq": "h", "expr": "[0-9]{1,2}", "str": function (e) { var t = e.getHours(), t = t % 12; return 0 === t && (t = 12), t; } }, { "seq": "ss", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getSeconds(); return t < 10 ? "0" + t : t; } }, { "seq": "s", "expr": "[0-9]{1,2}", "str": function (e) { return e.getSeconds(); } }, { "seq": "MMMM", "expr": "[^\\s0-9]*", "str": function (e) { return a.monthNames[e.getMonth()]; }, "transform": function (e) { var r = DayPilot.indexOf(a.monthNames, e, t); return r < 0 ? null : r + 1; } }, { "seq": "MMM", "expr": "[^\\s0-9]*", "str": function (e) { return a.monthNamesShort[e.getMonth()]; }, "transform": function (e) { var r = DayPilot.indexOf(a.monthNamesShort, e, t); return r < 0 ? null : r + 1; } }, { "seq": "MM", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getMonth() + 1; return t < 10 ? "0" + t : t; } }, { "seq": "M", "expr": "[0-9]{1,2}", "str": function (e) { return e.getMonth() + 1; } }, { "seq": "dddd", "expr": "[^\\s0-9]*", "str": function (e) {
|
|
455
|
+
return a.dayNames[e.getDayOfWeek()];
|
|
456
|
+
} }, { "seq": "ddd", "expr": "[^\\s0-9]*", "str": function (e) { return a.dayNamesShort[e.getDayOfWeek()]; } }, { "seq": "dd", "expr": "[0-9]{2,2}", "str": function (e) { var t = e.getDay(); return t < 10 ? "0" + t : t; } }, { "seq": "%d", "expr": "[0-9]{1,2}", "str": function (e) { return e.getDay(); } }, { "seq": "d", "expr": "[0-9]{1,2}", "str": function (e) { return e.getDay(); } }, { "seq": "tt", "expr": "(AM|PM|am|pm)", "str": function (e) { return e.getHours() < 12 ? "AM" : "PM"; }, "transform": function (e) { return e.toUpperCase(); } }], o = function (e) { return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); };
|
|
456
457
|
this.init = function () { this.year = this.findSequence("yyyy"), this.month = this.findSequence("MMMM") || this.findSequence("MMM") || this.findSequence("MM") || this.findSequence("M"), this.day = this.findSequence("dd") || this.findSequence("d"), this.hours = this.findSequence("HH") || this.findSequence("H"), this.minutes = this.findSequence("mm") || this.findSequence("m"), this.seconds = this.findSequence("ss") || this.findSequence("s"), this.ampm = this.findSequence("tt"), this.hours12 = this.findSequence("hh") || this.findSequence("h"); }, this.findSequence = function (t) {
|
|
457
458
|
function a(e) { return parseInt(e); }
|
|
458
459
|
return e.indexOf(t) === -1 ? null : { "findValue": function (n) {
|
|
@@ -665,44 +666,34 @@ if ("undefined" == typeof DayPilot)
|
|
|
665
666
|
else if (t.moving) {
|
|
666
667
|
if (!t.movingShadow)
|
|
667
668
|
return t.moving = null, void (document.body.style.cursor = "default");
|
|
668
|
-
var a = t.movingShadow.offsetTop;
|
|
669
|
-
t.deleteShadow(t.movingShadow);
|
|
670
|
-
var
|
|
671
|
-
t.moving = null, t.movingShadow = null, n.calendar.nav.top.style.cursor = "auto", n.calendar.
|
|
669
|
+
var a = t.movingShadow.offsetTop, n = t.moving.event;
|
|
670
|
+
t.deleteShadow(t.movingShadow), DayPilot.Util.removeClass(t.moving, n.calendar.b("_event_moving_source"));
|
|
671
|
+
var o = t.movingShadow.column;
|
|
672
|
+
t.moving = null, t.movingShadow = null, n.calendar.nav.top.style.cursor = "auto", n.calendar.c(n, o, a, i);
|
|
672
673
|
}
|
|
673
674
|
else if (t.selecting && null !== t.topSelectedCell) {
|
|
674
675
|
var r = t.selecting.calendar;
|
|
675
676
|
t.selecting = !1;
|
|
676
677
|
var h = r.getSelection();
|
|
677
|
-
r.
|
|
678
|
+
r.d(h.start, h.end, h.resource), "Hold" !== r.timeRangeSelectedHandling && "HoldForever" !== r.timeRangeSelectedHandling && e();
|
|
678
679
|
}
|
|
679
680
|
else
|
|
680
681
|
t.selecting = !1;
|
|
681
682
|
}, t.deleteShadow = function (e) { e && e.parentNode && e.parentNode.removeChild(e); }, t.moveShadow = function (e) { var i = t.movingShadow, n = i.parentNode; n.style.display = "none", i.parentNode.removeChild(i), e.firstChild.appendChild(i), i.style.left = "0px", n.style.display = "", i.style.width = t.movingShadow.parentNode.offsetWidth + 1 + "px"; }, t.Calendar = function (e, i) {
|
|
682
683
|
var n = !1;
|
|
683
|
-
if (this instanceof t.Calendar && !this.
|
|
684
|
+
if (this instanceof t.Calendar && !this.f && (n = !0, this.f = !0), !n)
|
|
684
685
|
throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
|
|
685
686
|
var s = this;
|
|
686
|
-
this.uniqueID = null, this.v = "2022.3.
|
|
687
|
-
if (/Opera[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
|
|
688
|
-
return new Number(RegExp.$1) >= 10.5;
|
|
689
|
-
}
|
|
690
|
-
return !1;
|
|
691
|
-
}(), this.j = function () {
|
|
692
|
-
if (/AppleWebKit[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
|
|
693
|
-
return new Number(RegExp.$1) >= 522;
|
|
694
|
-
}
|
|
695
|
-
return !1;
|
|
696
|
-
}(), this.cleanSelection = this.clearSelection, this.k = function (e, t, i) { var n = {}; n.action = e, n.parameters = i, n.data = t, n.header = this.l(); var a = "JSON" + DayPilot.JSON.stringify(n); __doPostBack(s.uniqueID, a); }, this.m = function (e, t, i) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { s.loadingStart(); }, 100); var n = {}; n.action = e, n.parameters = i, n.data = t, n.header = this.l(); var a = "JSON" + DayPilot.JSON.stringify(n); this.backendUrl ? DayPilot.request(this.backendUrl, this.n, a, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, a, this.o, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = s; e.p(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.q(), e.r(), 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.s = function () { this.nav.top.dispose = this.dispose; }, this.n = function (e) { s.o(e.responseText); }, this.l = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = s.days, e.startDate = s.startDate, e.heightSpec = s.heightSpec, e.businessBeginsHour = s.businessBeginsHour, e.businessEndsHour = s.businessEndsHour, e.hashes = s.hashes, e.timeFormat = s.timeFormat, e.viewType = s.viewType, e.locale = s.locale, e; }, this.t = function (e, t) {
|
|
687
|
+
this.uniqueID = null, this.v = "2022.3.432-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.cellHeight = 30, this.columnMarginRight = 5, this.columnsLoadMethod = "GET", this.contextMenu = null, this.days = 1, this.durationBarVisible = !0, this.eventHeaderHeight = 14, this.eventHeaderVisible = !0, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.headerTextWrappingEnabled = !1, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.loadingLabelBackColor = "ff0000", this.loadingLabelFontColor = "#ffffff", this.loadingLabelFontFamily = "Tahoma, Arial, Helvetica, sans-serif", this.loadingLabelFontSize = "10pt", this.locale = "en-us", this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", 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.onBeforeEventRender = 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.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.g(); }, this.g = function () { DayPilot.de(s.elements.selection), s.elements.selection = [], s.nav.activeSelection = null; }, this.h = navigator && navigator.userAgent && navigator.userAgent.indexOf("MSIE") !== -1, this.cleanSelection = this.clearSelection, this.i = function (e, t, i) { var n = {}; n.action = e, n.parameters = i, n.data = t, n.header = this.j(); var a = "JSON" + DayPilot.JSON.stringify(n); __doPostBack(s.uniqueID, a); }, this.k = function (e, t, i) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { s.loadingStart(); }, 100); var n = {}; n.action = e, n.parameters = i, n.data = t, n.header = this.j(); var a = "JSON" + DayPilot.JSON.stringify(n); this.backendUrl ? DayPilot.request(this.backendUrl, this.l, a, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, a, this.m, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = s; e.n(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.o(), e.p(), 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.q = function () { this.nav.top.dispose = this.dispose; }, this.l = function (e) { s.m(e.responseText); }, this.j = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = s.days, e.startDate = s.startDate, e.heightSpec = s.heightSpec, e.businessBeginsHour = s.businessBeginsHour, e.businessEndsHour = s.businessEndsHour, e.hashes = s.hashes, e.timeFormat = s.timeFormat, e.viewType = s.viewType, e.locale = s.locale, e; }, this.r = function (e, t) {
|
|
697
688
|
for (var i = e.parentNode; i && "TD" !== i.tagName;)
|
|
698
689
|
i = i.parentNode;
|
|
699
690
|
var n = document.createElement("div");
|
|
700
|
-
n.setAttribute("unselectable", "on"), n.style.position = "absolute", n.style.width = e.offsetWidth + "px", n.style.height = e.offsetHeight + "px", n.style.left = e.offsetLeft + "px", n.style.top = e.offsetTop + "px", n.style.boxSizing = "border-box", n.style.zIndex = 101, n.className = s.
|
|
691
|
+
n.setAttribute("unselectable", "on"), n.style.position = "absolute", n.style.width = e.offsetWidth + "px", n.style.height = e.offsetHeight + "px", n.style.left = e.offsetLeft + "px", n.style.top = e.offsetTop + "px", n.style.boxSizing = "border-box", n.style.zIndex = 101, n.className = s.b("_shadow");
|
|
701
692
|
var a = document.createElement("div");
|
|
702
|
-
return a.className = s.
|
|
703
|
-
}, this.
|
|
704
|
-
var a = this.
|
|
705
|
-
this.
|
|
693
|
+
return a.className = s.b("_shadow_inner"), n.appendChild(a), i.firstChild.appendChild(n), n;
|
|
694
|
+
}, this.s = {}, this.s.locale = function () { var e = DayPilot.Locale.find(s.locale); return e ? e : DayPilot.Locale.US; }, this.s.timeFormat = function () { return "Auto" !== s.timeFormat ? s.timeFormat : this.locale().timeFormat; }, this.s.t = function () { return "Disabled" !== s.xssProtection; };
|
|
695
|
+
var a = this.s;
|
|
696
|
+
this.m = function (e, t) {
|
|
706
697
|
if (e && 0 === e.indexOf("$$$")) {
|
|
707
698
|
if (!window.console)
|
|
708
699
|
throw "Error received from the server side: " + e;
|
|
@@ -712,16 +703,16 @@ if ("undefined" == typeof DayPilot)
|
|
|
712
703
|
if (e.CallBackRedirect)
|
|
713
704
|
return void (document.location.href = e.CallBackRedirect);
|
|
714
705
|
if ("None" === e.UpdateType)
|
|
715
|
-
return s.loadingStop(), void s.
|
|
716
|
-
if (s.
|
|
706
|
+
return s.loadingStop(), void s.u();
|
|
707
|
+
if (s.n(), "Full" === e.UpdateType && (s.columns = e.Columns, s.days = e.Days, s.startDate = new DayPilot.Date(e.StartDate), s.heightSpec = e.HeightSpec ? e.HeightSpec : s.heightSpec, s.businessBeginsHour = e.BusinessBeginsHour ? e.BusinessBeginsHour : s.businessBeginsHour, s.businessEndsHour = e.BusinessEndsHour ? e.BusinessEndsHour : s.businessEndsHour, s.headerDateFormat = e.HeaderDateFormat ? e.HeaderDateFormat : s.headerDateFormat, s.viewType = e.ViewType, s.backColor = e.BackColor ? e.BackColor : s.backColor, s.eventHeaderVisible = e.EventHeaderVisible ? e.EventHeaderVisible : s.eventHeaderVisible, s.timeFormat = e.TimeFormat ? e.TimeFormat : s.timeFormat, s.locale = e.Locale ? e.Locale : s.locale, s.w()), e.Hashes)
|
|
717
708
|
for (var i in e.Hashes)
|
|
718
709
|
s.hashes[i] = e.Hashes[i];
|
|
719
|
-
s.events.list = e.Events, s.
|
|
720
|
-
}, this.
|
|
710
|
+
s.events.list = e.Events, s.z(), s.A(), "Full" === e.UpdateType && (s.B(), s.C(), s.D(), s.E()), s.u(), s.F(), s.clearSelection(), s.afterRender(e.CallBackData, !0), s.loadingStop();
|
|
711
|
+
}, this.G = function () { return this.H() / 36e5; }, this.I = function () { return this.businessBeginsHour > this.businessEndsHour ? 24 - this.businessBeginsHour + this.businessEndsHour : this.businessEndsHour - this.businessBeginsHour; }, this.J = function () { return this.H() / 18e5; }, this.H = function () { var e = 0; return e = "BusinessHoursNoScroll" === this.heightSpec ? this.I() : 24, 60 * e * 60 * 1e3; }, this.K = function () { return "BusinessHoursNoScroll" === this.heightSpec ? this.businessBeginsHour : 0; }, this.L = function () { return 2 === s.api; }, this.eventClickCallBack = function (e, t) { this.k("EventClick", t, e); }, this.eventClickPostBack = function (e, t) { this.i("EventClick", t, e); }, this.M = function (e) {
|
|
721
712
|
var t = this, i = t.event;
|
|
722
|
-
if (s.
|
|
713
|
+
if (s.L()) {
|
|
723
714
|
var n = {};
|
|
724
|
-
if (n.e = i, n.originalEvent = e, n.meta = e.metaKey, n.ctrl = e.ctrlKey, n.control = s, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventClick && (s.
|
|
715
|
+
if (n.e = i, n.originalEvent = e, n.meta = e.metaKey, n.ctrl = e.ctrlKey, n.control = s, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventClick && (s.N.apply(function () { s.onEventClick(n); }), n.preventDefault.value))
|
|
725
716
|
return;
|
|
726
717
|
switch (s.eventClickHandling) {
|
|
727
718
|
case "CallBack":
|
|
@@ -734,7 +725,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
734
725
|
var a = i.client.contextMenu();
|
|
735
726
|
a ? a.show(i) : s.contextMenu && s.contextMenu.show(i);
|
|
736
727
|
}
|
|
737
|
-
"function" == typeof s.onEventClicked && s.
|
|
728
|
+
"function" == typeof s.onEventClicked && s.N.apply(function () { s.onEventClicked(n); });
|
|
738
729
|
}
|
|
739
730
|
else
|
|
740
731
|
switch (s.eventClickHandling) {
|
|
@@ -746,7 +737,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
746
737
|
break;
|
|
747
738
|
case "JavaScript": s.onEventClick(i);
|
|
748
739
|
}
|
|
749
|
-
}, this.
|
|
740
|
+
}, this.O = function (e) {
|
|
750
741
|
var t = this.event;
|
|
751
742
|
if (e.stopPropagation && e.stopPropagation(), !t.client.rightClickEnabled())
|
|
752
743
|
return !1;
|
|
@@ -759,10 +750,10 @@ if ("undefined" == typeof DayPilot)
|
|
|
759
750
|
n ? n.show(t) : s.contextMenu && s.contextMenu.show(this.event);
|
|
760
751
|
}
|
|
761
752
|
return "function" == typeof s.onEventRightClicked && s.onEventRightClicked(i), e.preventDefault && e.preventDefault(), !1;
|
|
762
|
-
}, this.eventDeleteCallBack = function (e, t) { this.
|
|
763
|
-
if (s.
|
|
753
|
+
}, this.eventDeleteCallBack = function (e, t) { this.k("EventDelete", t, e); }, this.eventDeletePostBack = function (e, t) { this.i("EventDelete", t, e); }, this.P = function (e) {
|
|
754
|
+
if (s.L()) {
|
|
764
755
|
var t = {};
|
|
765
|
-
if (t.e = e, t.control = s, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventDelete && (s.
|
|
756
|
+
if (t.e = e, t.control = s, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventDelete && (s.N.apply(function () { s.onEventDelete(t); }), t.preventDefault.value))
|
|
766
757
|
return;
|
|
767
758
|
switch (s.eventDeleteHandling) {
|
|
768
759
|
case "CallBack":
|
|
@@ -773,7 +764,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
773
764
|
break;
|
|
774
765
|
case "Update": s.events.remove(e);
|
|
775
766
|
}
|
|
776
|
-
"function" == typeof s.onEventDeleted && s.
|
|
767
|
+
"function" == typeof s.onEventDeleted && s.N.apply(function () { s.onEventDeleted(t); });
|
|
777
768
|
}
|
|
778
769
|
else
|
|
779
770
|
switch (s.eventDeleteHandling) {
|
|
@@ -791,27 +782,27 @@ if ("undefined" == typeof DayPilot)
|
|
|
791
782
|
if (!i)
|
|
792
783
|
throw "newEnd is null";
|
|
793
784
|
var s = {};
|
|
794
|
-
s.e = e, s.newStart = t, s.newEnd = i, this.
|
|
785
|
+
s.e = e, s.newStart = t, s.newEnd = i, this.k("EventResize", n, s);
|
|
795
786
|
}, this.eventResizePostBack = function (e, t, i, n) {
|
|
796
787
|
if (!t)
|
|
797
788
|
throw "newStart is null";
|
|
798
789
|
if (!i)
|
|
799
790
|
throw "newEnd is null";
|
|
800
791
|
var s = {};
|
|
801
|
-
s.e = e, s.newStart = t, s.newEnd = i, this.
|
|
792
|
+
s.e = e, s.newStart = t, s.newEnd = i, this.i("EventResize", n, s);
|
|
802
793
|
}, this.a = function (e, t, i, n) {
|
|
803
794
|
var a = 1, l = new Date, o = new Date, r = e.start(), h = e.end();
|
|
804
795
|
if ("top" === n) {
|
|
805
|
-
var c = r.getDatePart(), d = Math.floor((i - a) / s.cellHeight), u = 30 * d, v = 60 * u * 1e3, p = 60 * s.
|
|
796
|
+
var c = r.getDatePart(), d = Math.floor((i - a) / s.cellHeight), u = 30 * d, v = 60 * u * 1e3, p = 60 * s.K() * 60 * 1e3;
|
|
806
797
|
l = c.addTime(v + p), o = e.end();
|
|
807
798
|
}
|
|
808
799
|
else if ("bottom" === n) {
|
|
809
|
-
var c = h.getDatePart(), d = Math.floor((i + t - a) / s.cellHeight), u = 30 * d, v = 60 * u * 1e3, p = 60 * s.
|
|
800
|
+
var c = h.getDatePart(), d = Math.floor((i + t - a) / s.cellHeight), u = 30 * d, v = 60 * u * 1e3, p = 60 * s.K() * 60 * 1e3;
|
|
810
801
|
l = r, o = c.addTime(v + p);
|
|
811
802
|
}
|
|
812
|
-
if (s.
|
|
803
|
+
if (s.L()) {
|
|
813
804
|
var f = {};
|
|
814
|
-
if (f.e = e, f.control = s, f.newStart = l, f.newEnd = o, f.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventResize && (s.
|
|
805
|
+
if (f.e = e, f.control = s, f.newStart = l, f.newEnd = o, f.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventResize && (s.N.apply(function () { s.onEventResize(f); }), f.preventDefault.value))
|
|
815
806
|
return;
|
|
816
807
|
switch (s.eventResizeHandling) {
|
|
817
808
|
case "PostBack":
|
|
@@ -822,7 +813,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
822
813
|
break;
|
|
823
814
|
case "Update": e.start(l), e.end(o), s.events.update(e);
|
|
824
815
|
}
|
|
825
|
-
"function" == typeof s.onEventResized && s.
|
|
816
|
+
"function" == typeof s.onEventResized && s.N.apply(function () { s.onEventResized(f); });
|
|
826
817
|
}
|
|
827
818
|
else
|
|
828
819
|
switch (s.eventResizeHandling) {
|
|
@@ -840,23 +831,23 @@ if ("undefined" == typeof DayPilot)
|
|
|
840
831
|
if (!i)
|
|
841
832
|
throw "newEnd is null";
|
|
842
833
|
var a = {};
|
|
843
|
-
a.e = e, a.newStart = t, a.newEnd = i, this.
|
|
834
|
+
a.e = e, a.newStart = t, a.newEnd = i, this.i("EventMove", s, a);
|
|
844
835
|
}, this.eventMoveCallBack = function (e, t, i, n, s) {
|
|
845
836
|
if (!t)
|
|
846
837
|
throw "newStart is null";
|
|
847
838
|
if (!i)
|
|
848
839
|
throw "newEnd is null";
|
|
849
840
|
var a = {};
|
|
850
|
-
a.e = e, a.newStart = t, a.newEnd = i, this.
|
|
851
|
-
}, this.
|
|
841
|
+
a.e = e, a.newStart = t, a.newEnd = i, this.k("EventMove", s, a);
|
|
842
|
+
}, this.c = function (e, t, i, n) {
|
|
852
843
|
var a = 1, l = Math.floor((i - a) / s.cellHeight), o = 30 * l * 60 * 1e3, r = e.start(), h = e.end(), c = new Date;
|
|
853
844
|
r instanceof DayPilot.Date && (r = r.toDate()), c.setTime(Date.UTC(r.getUTCFullYear(), r.getUTCMonth(), r.getUTCDate()));
|
|
854
|
-
var d = r.getTime() - (c.getTime() + 3600 * r.getUTCHours() * 1e3 + 30 * Math.floor(r.getUTCMinutes() / 30) * 60 * 1e3), u = h.getTime() - r.getTime(), v = this.
|
|
845
|
+
var d = r.getTime() - (c.getTime() + 3600 * r.getUTCHours() * 1e3 + 30 * Math.floor(r.getUTCMinutes() / 30) * 60 * 1e3), u = h.getTime() - r.getTime(), v = this.Q[t], p = v.id, f = v.start.getTime(), g = new Date;
|
|
855
846
|
g.setTime(f + o + d);
|
|
856
847
|
var m = new DayPilot.Date(g), y = m.addTime(u);
|
|
857
|
-
if (s.
|
|
848
|
+
if (s.L()) {
|
|
858
849
|
var b = {};
|
|
859
|
-
if (b.e = e, b.newStart = m, b.newEnd = y, b.newResource = p, b.ctrl = n.ctrlKey, b.shift = n.shiftKey, b.control = s, b.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventMove && (s.
|
|
850
|
+
if (b.e = e, b.newStart = m, b.newEnd = y, b.newResource = p, b.ctrl = n.ctrlKey, b.shift = n.shiftKey, b.control = s, b.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventMove && (s.N.apply(function () { s.onEventMove(b); }), b.preventDefault.value))
|
|
860
851
|
return;
|
|
861
852
|
switch (s.eventMoveHandling) {
|
|
862
853
|
case "PostBack":
|
|
@@ -867,7 +858,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
867
858
|
break;
|
|
868
859
|
case "Update": e.start(m), e.end(y), e.resource(p), s.events.update(e);
|
|
869
860
|
}
|
|
870
|
-
"function" == typeof s.onEventMoved && s.
|
|
861
|
+
"function" == typeof s.onEventMoved && s.N.apply(function () { s.onEventMoved(b); });
|
|
871
862
|
}
|
|
872
863
|
else
|
|
873
864
|
switch (s.eventMoveHandling) {
|
|
@@ -879,10 +870,10 @@ if ("undefined" == typeof DayPilot)
|
|
|
879
870
|
break;
|
|
880
871
|
case "JavaScript": s.onEventMove(e, m, y, v.id, !1);
|
|
881
872
|
}
|
|
882
|
-
}, this.timeRangeSelectedPostBack = function (e, t, i, n) { var s = {}; s.start = e, s.end = t, this.
|
|
883
|
-
if (e = new DayPilot.Date(e), t = new DayPilot.Date(t), this.
|
|
873
|
+
}, this.timeRangeSelectedPostBack = function (e, t, i, n) { var s = {}; s.start = e, s.end = t, this.i("TimeRangeSelected", n, s); }, this.timeRangeSelectedCallBack = function (e, t, i, n) { var s = {}; s.start = e, s.end = t, this.k("TimeRangeSelected", n, s); }, this.d = function (e, t, i) {
|
|
874
|
+
if (e = new DayPilot.Date(e), t = new DayPilot.Date(t), this.L()) {
|
|
884
875
|
var n = {};
|
|
885
|
-
if (n.start = e, n.end = t, n.resource = i, n.control = s, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onTimeRangeSelect && (s.
|
|
876
|
+
if (n.start = e, n.end = t, n.resource = i, n.control = s, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onTimeRangeSelect && (s.N.apply(function () { s.onTimeRangeSelect(n); }), n.preventDefault.value))
|
|
886
877
|
return;
|
|
887
878
|
switch (s.timeRangeSelectedHandling) {
|
|
888
879
|
case "PostBack":
|
|
@@ -890,7 +881,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
890
881
|
break;
|
|
891
882
|
case "CallBack": s.timeRangeSelectedCallBack(e, t);
|
|
892
883
|
}
|
|
893
|
-
"function" == typeof s.onTimeRangeSelected && s.
|
|
884
|
+
"function" == typeof s.onTimeRangeSelected && s.N.apply(function () { s.onTimeRangeSelected(n); });
|
|
894
885
|
}
|
|
895
886
|
else
|
|
896
887
|
switch (s.timeRangeSelectedHandling) {
|
|
@@ -902,13 +893,13 @@ if ("undefined" == typeof DayPilot)
|
|
|
902
893
|
break;
|
|
903
894
|
case "JavaScript": s.onTimeRangeSelected(e, t);
|
|
904
895
|
}
|
|
905
|
-
}, this.
|
|
896
|
+
}, this.R = function (e) {
|
|
906
897
|
if (!t.selecting && "Disabled" !== s.timeRangeSelectedHandling) {
|
|
907
898
|
var i = e.which;
|
|
908
899
|
if (1 === i || 0 === i)
|
|
909
|
-
return t.firstMousePos = DayPilot.mc(e), t.selecting = {}, t.selecting.calendar = s, t.selectedCells && (s.clearSelection(), t.selectedCells = []), t.column = t.getColumn(this), t.selectedCells.push(this), t.firstSelected = this, t.topSelectedCell = this, t.bottomSelectedCell = this, s.
|
|
900
|
+
return t.firstMousePos = DayPilot.mc(e), t.selecting = {}, t.selecting.calendar = s, t.selectedCells && (s.clearSelection(), t.selectedCells = []), t.column = t.getColumn(this), t.selectedCells.push(this), t.firstSelected = this, t.topSelectedCell = this, t.bottomSelectedCell = this, s.S(), !1;
|
|
910
901
|
}
|
|
911
|
-
}, this.
|
|
902
|
+
}, this.S = function () {
|
|
912
903
|
this.getSelection();
|
|
913
904
|
!function () {
|
|
914
905
|
var e = t.topSelectedCell, i = t.bottomSelectedCell, n = function () {
|
|
@@ -918,7 +909,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
918
909
|
if (t[i] === e)
|
|
919
910
|
return i;
|
|
920
911
|
return -1;
|
|
921
|
-
}(), a = s.
|
|
912
|
+
}(), a = s.Q[n];
|
|
922
913
|
if (a) {
|
|
923
914
|
var l = a.start, o = s.getPixels(e.start, l).boxTop, r = s.getPixels(i.end, l).boxBottom, h = r - o, c = function () {
|
|
924
915
|
if (s.nav.activeSelection)
|
|
@@ -926,17 +917,17 @@ if ("undefined" == typeof DayPilot)
|
|
|
926
917
|
var e = document.createElement("div");
|
|
927
918
|
e.setAttribute("unselectable", "on"), e.style.position = "absolute", e.style.left = "0px", e.style.width = "100%";
|
|
928
919
|
var t = document.createElement("div");
|
|
929
|
-
return t.setAttribute("unselectable", "on"), t.className = s.
|
|
920
|
+
return t.setAttribute("unselectable", "on"), t.className = s.b("_shadow_inner"), e.appendChild(t), s.nav.events.rows[0].cells[n].selection.appendChild(e), s.elements.selection.push(e), s.nav.activeSelection = e, e;
|
|
930
921
|
}();
|
|
931
|
-
c.className = s.
|
|
922
|
+
c.className = s.b("_shadow"), c.firstChild.innerHTML = "", c.style.top = o + "px", c.style.height = h + "px";
|
|
932
923
|
}
|
|
933
924
|
}();
|
|
934
|
-
}, this.
|
|
925
|
+
}, this.T = function (e) {
|
|
935
926
|
if ("undefined" != typeof t && t.selecting) {
|
|
936
927
|
var i = DayPilot.mc(e);
|
|
937
|
-
t.getColumn(this) === t.column && (s.clearSelection(), i.y < t.firstMousePos.y ? (t.selectedCells = t.getCellsBelow(this), t.topSelectedCell = t.selectedCells[0], t.bottomSelectedCell = t.firstSelected) : (t.selectedCells = t.getCellsAbove(this), t.topSelectedCell = t.firstSelected, t.bottomSelectedCell = t.selectedCells[0]), s.
|
|
928
|
+
t.getColumn(this) === t.column && (s.clearSelection(), i.y < t.firstMousePos.y ? (t.selectedCells = t.getCellsBelow(this), t.topSelectedCell = t.selectedCells[0], t.bottomSelectedCell = t.firstSelected) : (t.selectedCells = t.getCellsAbove(this), t.topSelectedCell = t.firstSelected, t.bottomSelectedCell = t.selectedCells[0]), s.S());
|
|
938
929
|
}
|
|
939
|
-
}, this.getSelection = function () { var e = t.topSelectedCell.start, i = t.bottomSelectedCell.end, n = t.topSelectedCell.resource; return new DayPilot.Selection(e, i, n, s); }, this.
|
|
930
|
+
}, this.getSelection = function () { var e = t.topSelectedCell.start, i = t.bottomSelectedCell.end, n = t.topSelectedCell.resource; return new DayPilot.Selection(e, i, n, s); }, this.U = function (e) {
|
|
940
931
|
if (e < 0)
|
|
941
932
|
return null;
|
|
942
933
|
for (var t = 0, i = s.nav.events.rows[0].cells, n = 0; n < i.length; n++) {
|
|
@@ -944,11 +935,11 @@ if ("undefined" == typeof DayPilot)
|
|
|
944
935
|
return n;
|
|
945
936
|
}
|
|
946
937
|
return null;
|
|
947
|
-
}, this.
|
|
938
|
+
}, this.V = {}, this.V.getCellCoords = function () {
|
|
948
939
|
var e = {};
|
|
949
940
|
if (e.x = 0, e.y = 0, !s.coords)
|
|
950
941
|
return null;
|
|
951
|
-
e.x = s.
|
|
942
|
+
e.x = s.U(s.coords.x);
|
|
952
943
|
var t = 0, i = Math.floor((s.coords.y - t) / s.cellHeight);
|
|
953
944
|
return e.y = i, e.x < 0 ? null : e;
|
|
954
945
|
}, this.columns = {}, this.columns.list = [], this.columns.load = function (e, t, i) {
|
|
@@ -967,18 +958,18 @@ if ("undefined" == typeof DayPilot)
|
|
|
967
958
|
var o = {};
|
|
968
959
|
if (o.preventDefault = function () { this.preventDefault.value = !0; }, o.data = i, "function" == typeof t && t(o), o.preventDefault.value)
|
|
969
960
|
return;
|
|
970
|
-
s.columns.list = i, s.
|
|
961
|
+
s.columns.list = i, s.W && s.update();
|
|
971
962
|
}
|
|
972
963
|
};
|
|
973
964
|
s.columnsLoadMethod && "POST" === s.columnsLoadMethod.toUpperCase() ? DayPilot.ajax({ "method": "POST", "url": e, "success": a, "error": n }) : DayPilot.ajax({ "method": "GET", "url": e, "success": a, "error": n });
|
|
974
|
-
}, this.
|
|
965
|
+
}, this.w = function () {
|
|
975
966
|
var e;
|
|
976
|
-
e = "Resources" !== s.viewType ? this
|
|
967
|
+
e = "Resources" !== s.viewType ? this.X() : s.columns.list, this.Q = [];
|
|
977
968
|
for (var t = 0; t < e.length; t++) {
|
|
978
|
-
var i = this.
|
|
979
|
-
this.
|
|
969
|
+
var i = this.Y(e[t]);
|
|
970
|
+
this.Q.push(i);
|
|
980
971
|
}
|
|
981
|
-
}, this.
|
|
972
|
+
}, this.Y = function (e) {
|
|
982
973
|
var t = {};
|
|
983
974
|
return t.name = e.name, t.html = e.html, t.id = e.id, t.toolTip = e.toolTip, t.data = e, e.start ? t.start = new DayPilot.Date(e.start) : t.start = new DayPilot.Date(s.startDate), t.putIntoBlock = function (e) {
|
|
984
975
|
for (var t = 0; t < this.blocks.length; t++) {
|
|
@@ -1019,7 +1010,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
1019
1010
|
return !0;
|
|
1020
1011
|
}, i.push(e), this.lines.push(i), this.lines.length - 1;
|
|
1021
1012
|
}, t;
|
|
1022
|
-
}, this
|
|
1013
|
+
}, this.X = function () {
|
|
1023
1014
|
var e = [], t = this.startDate.getDatePart(), i = this.days;
|
|
1024
1015
|
switch (this.viewType) {
|
|
1025
1016
|
case "Day":
|
|
@@ -1038,22 +1029,22 @@ if ("undefined" == typeof DayPilot)
|
|
|
1038
1029
|
return e;
|
|
1039
1030
|
}, this.visibleStart = function () {
|
|
1040
1031
|
if ("Resources" === s.viewType) {
|
|
1041
|
-
if (0 === s.
|
|
1032
|
+
if (0 === s.Q.length)
|
|
1042
1033
|
return DayPilot.Date.today();
|
|
1043
|
-
var e = s.
|
|
1034
|
+
var e = s.Q.map(function (e) { return e.start.getTime(); }), t = Math.min.apply(null, e);
|
|
1044
1035
|
return new DayPilot.Date(t);
|
|
1045
1036
|
}
|
|
1046
|
-
return this.
|
|
1037
|
+
return this.Q[0].start;
|
|
1047
1038
|
}, this.visibleEnd = function () {
|
|
1048
1039
|
if ("Resources" === s.viewType) {
|
|
1049
|
-
if (0 === s.
|
|
1040
|
+
if (0 === s.Q.length)
|
|
1050
1041
|
return DayPilot.Date.today().addDays(1);
|
|
1051
|
-
var e = s.
|
|
1042
|
+
var e = s.Q.map(function (e) { return e.start.getTime(); }), t = Math.max.apply(null, e);
|
|
1052
1043
|
return new DayPilot.Date(t).addDays(1);
|
|
1053
1044
|
}
|
|
1054
|
-
var t = this.
|
|
1055
|
-
return this.
|
|
1056
|
-
}, this.
|
|
1045
|
+
var t = this.Q.length - 1;
|
|
1046
|
+
return this.Q[t].start.addDays(1);
|
|
1047
|
+
}, this.b = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.n = function () {
|
|
1057
1048
|
if (this.elements.events)
|
|
1058
1049
|
for (var e = 0; e < this.elements.events.length; e++) {
|
|
1059
1050
|
var t = this.elements.events[e], i = t.event;
|
|
@@ -1064,9 +1055,9 @@ if ("undefined" == typeof DayPilot)
|
|
|
1064
1055
|
t.helper = null, t.data = null, t.event = null, DayPilot.de(t);
|
|
1065
1056
|
}
|
|
1066
1057
|
this.elements.events = [];
|
|
1067
|
-
}, this.
|
|
1058
|
+
}, this.Z = function (e) {
|
|
1068
1059
|
var i = e.cache || e.data, n = this.nav.events, a = document.createElement("div");
|
|
1069
|
-
a.style.position = "absolute", a.style.left = e.part.left + "%", a.style.top = e.part.top + "px", a.style.width = e.part.width + "%", a.style.height = Math.max(e.part.height, 2) + "px", a.style.overflow = "hidden", a.data = e, a.event = e, a.unselectable = "on", a.style.MozUserSelect = "none", a.style.KhtmlUserSelect = "none", a.className = this.
|
|
1060
|
+
a.style.position = "absolute", a.style.left = e.part.left + "%", a.style.top = e.part.top + "px", a.style.width = e.part.width + "%", a.style.height = Math.max(e.part.height, 2) + "px", a.style.overflow = "hidden", a.data = e, a.event = e, a.unselectable = "on", a.style.MozUserSelect = "none", a.style.KhtmlUserSelect = "none", a.className = this.b("_event"), i.cssClass && DayPilot.Util.addClass(a, i.cssClass), a.isFirst = e.part.start.getTime() === e.start().getTime(), a.isLast = e.part.end.getTime() === e.end().getTime(), a.onclick = this.M, DayPilot.re(a, "contextmenu", this.O), a.onmouseout = function (e) { a.deleteIcon && (a.deleteIcon.style.display = "none"); }, a.onmousemove = function (i) {
|
|
1070
1061
|
var n = s.eventHeaderVisible ? s.eventHeaderHeight : 10;
|
|
1071
1062
|
if ("undefined" != typeof t) {
|
|
1072
1063
|
var l = DayPilot.mo3(a, i);
|
|
@@ -1082,7 +1073,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
1082
1073
|
if (1 === n && e.client.moveEnabled()) {
|
|
1083
1074
|
t.moving = this, t.moving.event = this.event;
|
|
1084
1075
|
var a = t.moving.helper = {};
|
|
1085
|
-
a.oldColumn = s.
|
|
1076
|
+
a.oldColumn = s.Q[this.data.part.dayIndex].id, t.originalMouse = DayPilot.mc(i), t.originalTop = this.offsetTop;
|
|
1086
1077
|
var l = DayPilot.mo3(this, i);
|
|
1087
1078
|
l ? t.moveOffsetY = l.y : t.moveOffsetY = 0, s.nav.top.style.cursor = "move";
|
|
1088
1079
|
}
|
|
@@ -1092,30 +1083,30 @@ if ("undefined" == typeof DayPilot)
|
|
|
1092
1083
|
return !1;
|
|
1093
1084
|
};
|
|
1094
1085
|
var l = document.createElement("div");
|
|
1095
|
-
if (l.setAttribute("unselectable", "on"), l.className = s.
|
|
1086
|
+
if (l.setAttribute("unselectable", "on"), l.className = s.b("_event_inner"), l.innerHTML = e.client.html(), "darker" === i.borderColor && i.backColor ? l.style.borderColor = DayPilot.ColorUtil.darker(i.backColor, 2) : l.style.borderColor = i.borderColor, i.backColor && (l.style.background = i.backColor, (DayPilot.browser.ie9 || DayPilot.browser.ielt9) && (l.style.filter = "")), i.fontColor && (l.style.color = i.fontColor), a.appendChild(l), e.client.barVisible()) {
|
|
1096
1087
|
var o = e.part.height - 2, r = 100 * e.part.barTop / o, h = Math.ceil(100 * e.part.barHeight / o), c = document.createElement("div");
|
|
1097
|
-
c.setAttribute("unselectable", "on"), c.className = this.
|
|
1088
|
+
c.setAttribute("unselectable", "on"), c.className = this.b("_event_bar"), c.style.position = "absolute", i.barBackColor && (c.style.backgroundColor = i.barBackColor);
|
|
1098
1089
|
var d = document.createElement("div");
|
|
1099
|
-
d.setAttribute("unselectable", "on"), d.className = this.
|
|
1090
|
+
d.setAttribute("unselectable", "on"), d.className = this.b("_event_bar_inner"), d.style.top = r + "%", 0 < h && h <= 1 ? d.style.height = "1px" : d.style.height = h + "%", i.barColor && (d.style.backgroundColor = i.barColor), c.appendChild(d), a.appendChild(c);
|
|
1100
1091
|
}
|
|
1101
1092
|
if (e.client.deleteEnabled()) {
|
|
1102
1093
|
var u = document.createElement("div");
|
|
1103
|
-
u.style.position = "absolute", u.style.right = "2px", u.style.top = "2px", u.style.width = "17px", u.style.height = "17px", u.className = s.
|
|
1094
|
+
u.style.position = "absolute", u.style.right = "2px", u.style.top = "2px", u.style.width = "17px", u.style.height = "17px", u.className = s.b("_event_delete"), u.onmousedown = function (e) { e.stopPropagation(); }, u.onclick = function (e) { var t = this.parentNode.event; t && s.P(t); }, u.style.display = "none", a.deleteIcon = u, a.appendChild(u);
|
|
1104
1095
|
}
|
|
1105
1096
|
if (n.rows[0].cells[e.part.dayIndex]) {
|
|
1106
|
-
n.rows[0].cells[e.part.dayIndex].firstChild.appendChild(a), s
|
|
1097
|
+
n.rows[0].cells[e.part.dayIndex].firstChild.appendChild(a), s.$(a);
|
|
1107
1098
|
}
|
|
1108
1099
|
s.elements.events.push(a);
|
|
1109
|
-
}, this
|
|
1100
|
+
}, this.$ = function (e) {
|
|
1110
1101
|
for (var t = e && e.childNodes ? e.childNodes.length : 0, i = 0; i < t; i++)
|
|
1111
1102
|
try {
|
|
1112
1103
|
var n = e.childNodes[i];
|
|
1113
|
-
1 === n.nodeType && (n.unselectable = "on", this
|
|
1104
|
+
1 === n.nodeType && (n.unselectable = "on", this.$(n));
|
|
1114
1105
|
}
|
|
1115
1106
|
catch (e) { }
|
|
1116
|
-
}, this.
|
|
1117
|
-
for (var e = 0; e < this.
|
|
1118
|
-
var t = this.
|
|
1107
|
+
}, this.F = function () {
|
|
1108
|
+
for (var e = 0; e < this.Q.length; e++) {
|
|
1109
|
+
var t = this.Q[e];
|
|
1119
1110
|
if (t.blocks)
|
|
1120
1111
|
for (var i = 0; i < t.blocks.length; i++)
|
|
1121
1112
|
for (var n = t.blocks[i], s = 0; s < n.lines.length; s++)
|
|
@@ -1123,13 +1114,13 @@ if ("undefined" == typeof DayPilot)
|
|
|
1123
1114
|
var o = a[l];
|
|
1124
1115
|
o.part.width = 100 / n.lines.length, o.part.left = o.part.width * s;
|
|
1125
1116
|
var r = s === n.lines.length - 1;
|
|
1126
|
-
r || (o.part.width = 1.5 * o.part.width), this.
|
|
1117
|
+
r || (o.part.width = 1.5 * o.part.width), this.Z(o);
|
|
1127
1118
|
}
|
|
1128
1119
|
}
|
|
1129
|
-
}, this.
|
|
1120
|
+
}, this._ = function () { this.nav.top.innerHTML = "", DayPilot.Util.addClass(this.nav.top, this.b("_main")), this.nav.top.style.MozUserSelect = "none", this.nav.top.style.KhtmlUserSelect = "none", this.nav.top.style.position = "relative", this.nav.top.style.width = this.width ? this.width : "100%", this.hideUntilInit && (this.nav.top.style.visibility = "hidden"), this.visible || (this.nav.top.style.display = "none"), this.nav.scroll = document.createElement("div"), this.nav.scroll.style.height = this.aa() + "px", "BusinessHours" === this.heightSpec ? this.nav.scroll.style.overflow = "auto" : this.nav.scroll.style.overflow = "hidden", this.nav.scroll.style.position = "relative"; var e = this.ba(); this.nav.top.appendChild(e), this.nav.scroll.style.zoom = 1; var t = this.ca(); this.nav.scrollable = t.firstChild, this.nav.scroll.appendChild(t), this.nav.top.appendChild(this.nav.scroll), this.nav.scrollLayer = document.createElement("div"), this.nav.scrollLayer.style.position = "absolute", this.nav.scrollLayer.style.top = "0px", this.nav.scrollLayer.style.left = "0px", this.nav.top.appendChild(this.nav.scrollLayer), this.nav.loading = document.createElement("div"), this.nav.loading.style.position = "absolute", this.nav.loading.style.top = "0px", this.nav.loading.style.left = this.hourWidth + 5 + "px", this.nav.loading.style.backgroundColor = this.loadingLabelBackColor, this.nav.loading.style.fontSize = this.loadingLabelFontSize, this.nav.loading.style.fontFamily = this.loadingLabelFontFamily, this.nav.loading.style.color = this.loadingLabelFontColor, this.nav.loading.style.padding = "2px", this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.display = "none", this.nav.top.appendChild(this.nav.loading); }, this.D = function () { this.fasterDispose || DayPilot.pu(this.nav.hourTable), this.nav.scrollable.rows[0].cells[0].innerHTML = "", this.nav.hourTable = this.da(), this.nav.scrollable.rows[0].cells[0].appendChild(this.nav.hourTable); }, this.ca = function () { var e = document.createElement("div"); e.style.zoom = 1, e.style.position = "relative"; var t = document.createElement("table"); t.cellSpacing = "0", t.cellPadding = "0", t.border = "0", t.style.border = "0px none", t.style.width = "100%", t.style.position = "absolute"; var i, n = t.insertRow(-1); i = n.insertCell(-1), i.valign = "top", i.style.padding = "0px", i.style.border = "0px none", this.nav.hourTable = this.da(), i.appendChild(this.nav.hourTable), i = n.insertCell(-1), i.valign = "top", i.width = "100%", i.style.padding = "0px", i.style.border = "0px none"; var s = document.createElement("div"); return s.style.position = "relative", i.appendChild(s), s.appendChild(this.ea()), s.appendChild(this.fa()), e.appendChild(t), this.nav.zoom = e, e; }, this.ea = function () { var e = document.createElement("table"); return e.cellPadding = "0", e.cellSpacing = "0", e.border = "0", e.style.width = "100%", e.style.border = "0px none", e.style.tableLayout = "fixed", this.nav.main = e, this.nav.events = e, e; }, this.fa = function () {
|
|
1130
1121
|
var e = document.createElement("table");
|
|
1131
1122
|
e.style.top = "0px", e.cellPadding = "0", e.cellSpacing = "0", e.border = "0", e.style.position = "absolute", e.style.width = "100%", e.style.border = "0px none", e.style.tableLayout = "fixed", this.nav.events = e;
|
|
1132
|
-
for (var t = this.
|
|
1123
|
+
for (var t = this.Q, i = t.length, n = e.insertRow(-1), a = 0; a < i; a++) {
|
|
1133
1124
|
var l = n.insertCell(-1);
|
|
1134
1125
|
l.style.padding = "0px", l.style.border = "0px none", l.style.height = "0px", l.style.overflow = "visible", s.rtl || (l.style.textAlign = "left");
|
|
1135
1126
|
var o = document.createElement("div");
|
|
@@ -1138,61 +1129,60 @@ if ("undefined" == typeof DayPilot)
|
|
|
1138
1129
|
l.selection = r, l.appendChild(o), l.appendChild(r);
|
|
1139
1130
|
}
|
|
1140
1131
|
return e;
|
|
1141
|
-
}, this.
|
|
1132
|
+
}, this.da = function () {
|
|
1142
1133
|
var e = document.createElement("table");
|
|
1143
1134
|
e.cellSpacing = "0", e.cellPadding = "0", e.border = "0", e.style.border = "0px none", e.style.width = this.hourWidth + "px", e.oncontextmenu = function () { return !1; };
|
|
1144
|
-
for (var t = s.
|
|
1145
|
-
this.
|
|
1135
|
+
for (var t = s.G(), i = 0; i < t; i++)
|
|
1136
|
+
this.ga(e, i);
|
|
1146
1137
|
return e;
|
|
1147
|
-
}, this.
|
|
1138
|
+
}, this.ga = function (e, t) { var i = 2 * this.cellHeight, n = e.insertRow(-1); n.style.height = i + "px"; var l = n.insertCell(-1); l.valign = "bottom", l.unselectable = "on", l.style.cursor = "default", l.style.padding = "0px", l.style.border = "0px none"; var o = document.createElement("div"); o.style.position = "relative", o.className = this.b("_rowheader"), o.style.width = this.hourWidth + "px", o.style.height = i + "px", o.style.overflow = "hidden", o.unselectable = "on"; var r = document.createElement("div"); r.className = this.b("_rowheader_inner"), r.unselectable = "on"; var h = document.createElement("div"); h.unselectable = "on"; var c = this.startDate.addHours(t).addHours(s.K()), d = c.getHours(), u = d < 12, v = a.timeFormat(); "Clock12Hours" === v && (d %= 12, 0 === d && (d = 12)), h.innerHTML = d; var p = document.createElement("span"); p.unselectable = "on", p.className = this.b("_rowheader_minutes"); var f; f = "Clock12Hours" === v ? u ? "AM" : "PM" : "00", p.innerHTML = f, h.appendChild(p), r.appendChild(h), o.appendChild(r), l.appendChild(o); }, this.aa = function () {
|
|
1148
1139
|
switch (this.heightSpec) {
|
|
1149
1140
|
case "Full": return 48 * this.cellHeight;
|
|
1150
1141
|
case "BusinessHours":
|
|
1151
|
-
var e = this.
|
|
1142
|
+
var e = this.I();
|
|
1152
1143
|
return e * this.cellHeight * 2;
|
|
1153
1144
|
case "BusinessHoursNoScroll":
|
|
1154
|
-
var e = this.
|
|
1145
|
+
var e = this.I();
|
|
1155
1146
|
return e * this.cellHeight * 2;
|
|
1156
1147
|
default: throw "DayPilot.Calendar: Unexpected 'heightSpec' value.";
|
|
1157
1148
|
}
|
|
1158
|
-
}, this.
|
|
1149
|
+
}, this.ha = function () {
|
|
1159
1150
|
var e = s.nav.corner ? s.nav.corner.parentNode : null;
|
|
1160
1151
|
if (e) {
|
|
1161
1152
|
e.innerHTML = "";
|
|
1162
|
-
var t = this.
|
|
1153
|
+
var t = this.ia();
|
|
1163
1154
|
e.appendChild(t), s.nav.corner = t;
|
|
1164
1155
|
}
|
|
1165
|
-
}, this.
|
|
1156
|
+
}, this.ba = function () {
|
|
1166
1157
|
var e = document.createElement("div");
|
|
1167
1158
|
e.style.overflow = "auto";
|
|
1168
1159
|
var t = document.createElement("table");
|
|
1169
1160
|
t.cellPadding = "0", t.cellSpacing = "0", t.border = "0", t.style.width = "100%", t.style.borderCollapse = "separate", t.style.border = "0px none";
|
|
1170
1161
|
var i = t.insertRow(-1), n = i.insertCell(-1);
|
|
1171
1162
|
n.style.padding = "0px", n.style.border = "0px none";
|
|
1172
|
-
var s = this.
|
|
1163
|
+
var s = this.ia();
|
|
1173
1164
|
n.appendChild(s), this.nav.corner = s, n = i.insertCell(-1), n.style.width = "100%", n.valign = "top", n.style.position = "relative", n.style.padding = "0px", n.style.border = "0px none", this.nav.header = document.createElement("table"), this.nav.header.cellPadding = "0", this.nav.header.cellSpacing = "0", this.nav.header.border = "0", this.nav.header.width = "100%", this.nav.header.style.tableLayout = "fixed", this.nav.header.oncontextmenu = function () { return !1; };
|
|
1174
1165
|
var a = "hidden" !== this.nav.scroll.style.overflow;
|
|
1175
1166
|
if (n.appendChild(this.nav.header), a) {
|
|
1176
1167
|
n = i.insertCell(-1), n.unselectable = "on";
|
|
1177
1168
|
var l = document.createElement("div");
|
|
1178
|
-
l.unselectable = "on", l.style.position = "relative", l.style.width = "16px", l.style.height = this.headerHeight + "px", l.className = this.
|
|
1169
|
+
l.unselectable = "on", l.style.position = "relative", l.style.width = "16px", l.style.height = this.headerHeight + "px", l.className = this.b("_cornerright");
|
|
1179
1170
|
var o = document.createElement("div");
|
|
1180
|
-
o.className = this.
|
|
1171
|
+
o.className = this.b("_cornerright_inner"), l.appendChild(o), n.appendChild(l), this.nav.cornerRight = l;
|
|
1181
1172
|
}
|
|
1182
1173
|
return e.appendChild(t), e;
|
|
1183
|
-
}, this.
|
|
1174
|
+
}, this.ia = function () { var e = document.createElement("div"); e.style.position = "relative", e.className = this.b("_corner"), e.style.width = this.hourWidth + "px", e.style.height = this.headerHeight + "px", e.oncontextmenu = function () { return !1; }; var t = document.createElement("div"); return t.unselectable = "on", t.className = this.b("_corner_inner"), e.appendChild(t), e; }, this.o = function () {
|
|
1184
1175
|
var e = this.nav.main;
|
|
1185
1176
|
e.root = null, e.onmouseup = null;
|
|
1186
1177
|
for (var t = 0; t < e.rows.length; t++)
|
|
1187
1178
|
for (var i = e.rows[t], n = 0; n < i.cells.length; n++) {
|
|
1188
1179
|
var s = i.cells[n];
|
|
1189
|
-
s.root = null, s.onmousedown = null,
|
|
1190
|
-
s.onmousemove = null, s.onmouseout = null, s.onmouseup = null;
|
|
1180
|
+
s.root = null, s.onmousedown = null, s.onmousemove = null, s.onmouseout = null, s.onmouseup = null;
|
|
1191
1181
|
}
|
|
1192
1182
|
this.fasterDispose || DayPilot.pu(e);
|
|
1193
|
-
}, this.
|
|
1194
|
-
var e = this.nav.main, i = 18e5, n = this.
|
|
1195
|
-
for (e && this.
|
|
1183
|
+
}, this.C = function () {
|
|
1184
|
+
var e = this.nav.main, i = 18e5, n = this.J(), a = s.Q;
|
|
1185
|
+
for (e && this.o(); e && e.rows && e.rows.length > 0;)
|
|
1196
1186
|
this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0);
|
|
1197
1187
|
this.tableCreated = !0;
|
|
1198
1188
|
for (var l = a.length, o = this.nav.events; o && o.rows && o.rows.length > 0;)
|
|
@@ -1209,13 +1199,13 @@ if ("undefined" == typeof DayPilot)
|
|
|
1209
1199
|
var r = e.insertRow(-1);
|
|
1210
1200
|
r.style.MozUserSelect = "none", r.style.KhtmlUserSelect = "none";
|
|
1211
1201
|
for (var h = 0; h < l; h++) {
|
|
1212
|
-
var p = this.
|
|
1213
|
-
c.start = p.start.addTime(v * i), c.end = c.start.addTime(i), c.resource = p.id, c.onmousedown = this.
|
|
1202
|
+
var p = this.Q[h], c = r.insertCell(-1);
|
|
1203
|
+
c.start = p.start.addTime(v * i), c.end = c.start.addTime(i), c.resource = p.id, c.onmousedown = this.R, c.onmouseup = function () { return !1; }, c.onclick = function () { return !1; }, c.root = this, c.style.padding = "0px", c.style.border = "0px none", c.style.verticalAlign = "top", c.style.height = s.cellHeight + "px", c.style.overflow = "hidden", c.unselectable = "on";
|
|
1214
1204
|
var d = document.createElement("div");
|
|
1215
|
-
d.unselectable = "on", d.style.height = s.cellHeight + "px", d.style.position = "relative", d.className = this.
|
|
1216
|
-
this.
|
|
1205
|
+
d.unselectable = "on", d.style.height = s.cellHeight + "px", d.style.position = "relative", d.className = this.b("_cell");
|
|
1206
|
+
this.ja(c.start, c.end) && DayPilot.Util.addClass(d, s.b("_cell_business"));
|
|
1217
1207
|
var f = document.createElement("div");
|
|
1218
|
-
f.setAttribute("unselectable", "on"), f.className = this.
|
|
1208
|
+
f.setAttribute("unselectable", "on"), f.className = this.b("_cell_inner"), d.appendChild(f), c.appendChild(d), c.appendChild(d);
|
|
1219
1209
|
}
|
|
1220
1210
|
}
|
|
1221
1211
|
e.root = this, s.nav.scrollable.onmousemove = function (e) {
|
|
@@ -1223,7 +1213,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
1223
1213
|
s.coords = DayPilot.mo3(i, e);
|
|
1224
1214
|
var n = DayPilot.mc(e);
|
|
1225
1215
|
if (t.resizing) {
|
|
1226
|
-
t.resizingShadow || (t.resizingShadow = s.
|
|
1216
|
+
t.resizingShadow || (t.resizingShadow = s.r(t.resizing, !1, s.shadow));
|
|
1227
1217
|
var a = s.cellHeight, l = 1, o = n.y - t.originalMouse.y;
|
|
1228
1218
|
if ("bottom" === t.resizing.dpBorder) {
|
|
1229
1219
|
var r = Math.floor((t.originalHeight + t.originalTop + o + a / 2) / a) * a - t.originalTop + l;
|
|
@@ -1239,23 +1229,23 @@ if ("undefined" == typeof DayPilot)
|
|
|
1239
1229
|
}
|
|
1240
1230
|
}
|
|
1241
1231
|
else if (t.moving) {
|
|
1242
|
-
if (t.movingShadow || (t.movingShadow = s.
|
|
1232
|
+
if (t.movingShadow || (t.movingShadow = s.r(t.moving, !s.h, s.shadow), t.movingShadow.style.width = t.movingShadow.parentNode.offsetWidth + 1 + "px"), !s.coords)
|
|
1243
1233
|
return;
|
|
1244
1234
|
var a = s.cellHeight, l = 1, d = t.moveOffsetY;
|
|
1245
1235
|
d || (d = a / 2);
|
|
1246
1236
|
var c = Math.floor((s.coords.y - d - l + a / 2) / a) * a + l;
|
|
1247
1237
|
c < l && (c = l);
|
|
1248
1238
|
var u = s.nav.events, h = s.nav.main.clientHeight, v = parseInt(t.movingShadow.style.height);
|
|
1249
|
-
c + v > h && (c = h - v), t.movingShadow.parentNode.style.display = "none", t.movingShadow.style.top = c + "px", t.movingShadow.parentNode.style.display = "";
|
|
1239
|
+
c + v > h && (c = h - v), DayPilot.Util.addClass(t.moving, s.b("_event_moving_source")), t.movingShadow.parentNode.style.display = "none", t.movingShadow.style.top = c + "px", t.movingShadow.parentNode.style.display = "";
|
|
1250
1240
|
var p = u.clientWidth / u.rows[0].cells.length, f = Math.floor((s.coords.x - 45) / p);
|
|
1251
1241
|
f < 0 && (f = 0), f < u.rows[0].cells.length && f >= 0 && t.movingShadow.column !== f && (t.movingShadow.column = f, t.moveShadow(u.rows[0].cells[f]));
|
|
1252
1242
|
}
|
|
1253
1243
|
else if (t.selecting) {
|
|
1254
|
-
var n = DayPilot.mc(e), g = s.
|
|
1255
|
-
n.y < t.firstMousePos.y ? (t.selectedCells = t.getCellsBelow(y), t.topSelectedCell = t.selectedCells[0], t.bottomSelectedCell = t.firstSelected) : (t.selectedCells = t.getCellsAbove(y), t.topSelectedCell = t.firstSelected, t.bottomSelectedCell = t.selectedCells[0]), s.
|
|
1244
|
+
var n = DayPilot.mc(e), g = s.V.getCellCoords(), m = t.column, y = s.nav.main.rows[g.y].cells[m];
|
|
1245
|
+
n.y < t.firstMousePos.y ? (t.selectedCells = t.getCellsBelow(y), t.topSelectedCell = t.selectedCells[0], t.bottomSelectedCell = t.firstSelected) : (t.selectedCells = t.getCellsAbove(y), t.topSelectedCell = t.firstSelected, t.bottomSelectedCell = t.selectedCells[0]), s.S();
|
|
1256
1246
|
}
|
|
1257
1247
|
}, s.nav.scrollable.style.display = "";
|
|
1258
|
-
}, this.
|
|
1248
|
+
}, this.ja = 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.p = function () {
|
|
1259
1249
|
var e = this.nav.header;
|
|
1260
1250
|
if (e && e.rows)
|
|
1261
1251
|
for (var t = 0; t < e.rows.length; t++)
|
|
@@ -1264,32 +1254,32 @@ if ("undefined" == typeof DayPilot)
|
|
|
1264
1254
|
s.onclick = null, s.onmousemove = null, s.onmouseout = null;
|
|
1265
1255
|
}
|
|
1266
1256
|
this.fasterDispose || DayPilot.pu(e);
|
|
1267
|
-
}, this.
|
|
1268
|
-
for (var t = e ? this.nav.header.insertRow(-1) : this.nav.header.rows[0], i = this.
|
|
1257
|
+
}, this.ka = function (e) {
|
|
1258
|
+
for (var t = e ? this.nav.header.insertRow(-1) : this.nav.header.rows[0], i = this.Q, n = i.length, a = 0; a < n; a++) {
|
|
1269
1259
|
var l = i[a], o = e ? t.insertCell(-1) : t.cells[a];
|
|
1270
|
-
o.data = l, o.style.overflow = "hidden", o.style.padding = "0px", o.style.border = "0px none", o.style.height = this.headerHeight + "px", o.onclick = s.
|
|
1260
|
+
o.data = l, o.style.overflow = "hidden", o.style.padding = "0px", o.style.border = "0px none", o.style.height = this.headerHeight + "px", o.onclick = s.la;
|
|
1271
1261
|
var r = e ? document.createElement("div") : o.firstChild;
|
|
1272
1262
|
if (e) {
|
|
1273
|
-
r.unselectable = "on", r.style.MozUserSelect = "none", r.style.cursor = "default", r.style.position = "relative", r.className = s.
|
|
1263
|
+
r.unselectable = "on", r.style.MozUserSelect = "none", r.style.cursor = "default", r.style.position = "relative", r.className = s.b("_colheader"), r.style.height = this.headerHeight + "px", s.headerTextWrappingEnabled || (r.style.whiteSpace = "nowrap");
|
|
1274
1264
|
var h = document.createElement("div");
|
|
1275
|
-
h.className = s.
|
|
1265
|
+
h.className = s.b("_colheader_inner"), h.unselectable = "on", r.appendChild(h), o.appendChild(r);
|
|
1276
1266
|
}
|
|
1277
1267
|
l.toolTip && (h.title = l.toolTip);
|
|
1278
1268
|
var h = r.firstChild;
|
|
1279
|
-
h.innerHTML = s.
|
|
1269
|
+
h.innerHTML = s.ma(l.name, l.html);
|
|
1280
1270
|
}
|
|
1281
|
-
}, this.
|
|
1271
|
+
}, this.la = function (e) {
|
|
1282
1272
|
if ("Disabled" !== s.headerClickHandling) {
|
|
1283
|
-
var t = this.data, i = s.
|
|
1273
|
+
var t = this.data, i = s.na(t), n = {};
|
|
1284
1274
|
n.header = {}, n.header.id = t.id, n.header.name = t.name, n.header.start = t.start, n.column = i, n.originalEvent = e, n.shift = e.shiftKey, n.ctrl = e.ctrlKey, n.meta = e.metaKey, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onHeaderClick && (s.onHeaderClick(n), n.preventDefault.value) || "function" == typeof s.onHeaderClicked && s.onHeaderClicked(n);
|
|
1285
1275
|
}
|
|
1286
|
-
}, this.
|
|
1287
|
-
var e = this.nav.header, t = !0, i = this.
|
|
1276
|
+
}, this.na = function (e) { return new DayPilot.CalendarColumn(e, s); }, this.oa = function () { return this.width && this.width.indexOf("px") !== -1 ? "Pixel" : "Percentage"; }, this.B = function () {
|
|
1277
|
+
var e = this.nav.header, t = !0, i = this.Q;
|
|
1288
1278
|
for (i.length; this.headerCreated && e && e.rows && e.rows.length > 0;)
|
|
1289
1279
|
this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0);
|
|
1290
1280
|
this.headerCreated = !0;
|
|
1291
|
-
this.
|
|
1292
|
-
}, 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 i = {}; i.command = e, this.
|
|
1281
|
+
this.ka(t);
|
|
1282
|
+
}, 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 i = {}; i.command = e, this.k("Command", t, i); }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.pa = function () { var e = this.nav.scroll; e.onscroll || (e.onscroll = function () { s.qa(); }); var t = "undefined" != typeof this.ra.scrollpos ? this.ra.scrollpos : this.initScrollPos; t && ("Auto" === t && (t = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), e.root = this, 0 === e.scrollTop && (e.scrollTop = t)); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.sa = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.ta = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp), DayPilot.re(window, "unload", t.gUnload)); }, this.events = {}, this.events.add = function (e) {
|
|
1293
1283
|
var t = null;
|
|
1294
1284
|
if (e instanceof DayPilot.Event)
|
|
1295
1285
|
t = e.data;
|
|
@@ -1298,7 +1288,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
1298
1288
|
throw "DayPilot.Calendar.events.add() expects an object or DayPilot.Event instance.";
|
|
1299
1289
|
t = e;
|
|
1300
1290
|
}
|
|
1301
|
-
s.events.list || (s.events.list = []), s.events.list.push(t), s.update(), s.
|
|
1291
|
+
s.events.list || (s.events.list = []), s.events.list.push(t), s.update(), s.N.notify();
|
|
1302
1292
|
}, this.events.find = function (e) {
|
|
1303
1293
|
if (!s.events.list)
|
|
1304
1294
|
return null;
|
|
@@ -1318,7 +1308,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
1318
1308
|
s.events.list.splice(i, 1, e);
|
|
1319
1309
|
}
|
|
1320
1310
|
}
|
|
1321
|
-
s.update(), s.
|
|
1311
|
+
s.update(), s.N.notify();
|
|
1322
1312
|
}, this.events.remove = function (e) {
|
|
1323
1313
|
var t;
|
|
1324
1314
|
if (e instanceof DayPilot.Event)
|
|
@@ -1332,7 +1322,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
1332
1322
|
i && (t = i.data);
|
|
1333
1323
|
}
|
|
1334
1324
|
var n = DayPilot.indexOf(s.events.list, t);
|
|
1335
|
-
s.events.list.splice(n, 1), s.update(), s.
|
|
1325
|
+
s.events.list.splice(n, 1), s.update(), s.N.notify();
|
|
1336
1326
|
}, this.events.load = function (e, t, i) {
|
|
1337
1327
|
var n = function (e) { var t = {}; t.exception = e.exception, t.request = e.request, "function" == typeof i && i(t); }, a = function (e) {
|
|
1338
1328
|
var i, a = e.request;
|
|
@@ -1347,7 +1337,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
1347
1337
|
var o = {};
|
|
1348
1338
|
if (o.preventDefault = function () { this.preventDefault.value = !0; }, o.data = i, "function" == typeof t && t(o), o.preventDefault.value)
|
|
1349
1339
|
return;
|
|
1350
|
-
s.events.list = i, s.
|
|
1340
|
+
s.events.list = i, s.W && s.update();
|
|
1351
1341
|
}
|
|
1352
1342
|
};
|
|
1353
1343
|
if (s.eventsLoadMethod && "POST" === s.eventsLoadMethod.toUpperCase())
|
|
@@ -1356,15 +1346,23 @@ if ("undefined" == typeof DayPilot)
|
|
|
1356
1346
|
var l = e, o = "start=" + s.visibleStart().toString() + "&end=" + s.visibleEnd().toString();
|
|
1357
1347
|
l += l.indexOf("?") > -1 ? "&" + o : "?" + o, DayPilot.Http.ajax({ "method": "GET", "url": l, "success": a, "error": n });
|
|
1358
1348
|
}
|
|
1349
|
+
}, this.ua = function () {
|
|
1350
|
+
if (s.nav.top.className !== s.b("_main")) {
|
|
1351
|
+
s.nav.top.className = s.b("_main");
|
|
1352
|
+
var e = s.nav.corner;
|
|
1353
|
+
e.className = s.b("_corner"), e.firstChild.className = s.b("_corner_inner");
|
|
1354
|
+
var t = s.nav.cornerRight;
|
|
1355
|
+
t && (t.className = s.b("_cornerright"), t.firstChild.className = s.b("_cornerright_inner"));
|
|
1356
|
+
}
|
|
1359
1357
|
}, this.update = function (e) {
|
|
1360
|
-
if (s.
|
|
1361
|
-
s.
|
|
1362
|
-
s.
|
|
1358
|
+
if (s.va(e), this.W) {
|
|
1359
|
+
s.wa(), s.n(), s.nav.top.style.cursor = "auto";
|
|
1360
|
+
s.w(), s.B(), s.C(), s.D(), s.E(), s.ha(), s.ua(), s.xa(), s.z(), s.A(), s.u(), s.F(), s.clearSelection(), this.visible ? this.show() : this.hide();
|
|
1363
1361
|
}
|
|
1364
|
-
}, this.
|
|
1362
|
+
}, this.ya = null, this.va = function (e) {
|
|
1365
1363
|
if (e) {
|
|
1366
1364
|
var t = { "events": { "preInit": function () { var e = this.data; e && (DayPilot.isArray(e.list) ? s.events.list = e.list : s.events.list = e); } }, "columns": { "preInit": function () { s.columns.list = this.data; } } };
|
|
1367
|
-
this.
|
|
1365
|
+
this.ya = t;
|
|
1368
1366
|
for (var i in e)
|
|
1369
1367
|
if (t[i]) {
|
|
1370
1368
|
var n = t[i];
|
|
@@ -1373,13 +1371,13 @@ if ("undefined" == typeof DayPilot)
|
|
|
1373
1371
|
else
|
|
1374
1372
|
s[i] = e[i];
|
|
1375
1373
|
}
|
|
1376
|
-
}, this.
|
|
1377
|
-
var e = this.
|
|
1374
|
+
}, this.za = function () {
|
|
1375
|
+
var e = this.ya;
|
|
1378
1376
|
for (var t in e) {
|
|
1379
1377
|
var i = e[t];
|
|
1380
1378
|
i.postInit && i.postInit();
|
|
1381
1379
|
}
|
|
1382
|
-
}, this.
|
|
1380
|
+
}, this.Aa = function () {
|
|
1383
1381
|
if (this.id && this.id.tagName)
|
|
1384
1382
|
this.nav.top = this.id;
|
|
1385
1383
|
else {
|
|
@@ -1388,8 +1386,8 @@ if ("undefined" == typeof DayPilot)
|
|
|
1388
1386
|
if (this.nav.top = document.getElementById(this.id), !this.nav.top)
|
|
1389
1387
|
throw "DayPilot.Calendar: The placeholder element not found: '" + e + "'.";
|
|
1390
1388
|
}
|
|
1391
|
-
}, this.
|
|
1392
|
-
var t = this.
|
|
1389
|
+
}, this.Ba = {}, this.Ba.events = [], this.Ca = function (e) {
|
|
1390
|
+
var t = this.Ba.events, i = this.events.list[e], n = {};
|
|
1393
1391
|
for (var s in i)
|
|
1394
1392
|
n[s] = i[s];
|
|
1395
1393
|
if ("function" == typeof this.onBeforeEventRender) {
|
|
@@ -1397,9 +1395,9 @@ if ("undefined" == typeof DayPilot)
|
|
|
1397
1395
|
a.data = n, this.onBeforeEventRender(a);
|
|
1398
1396
|
}
|
|
1399
1397
|
t[e] = n;
|
|
1400
|
-
}, this.
|
|
1398
|
+
}, this.z = function () {
|
|
1401
1399
|
var e = this.events.list;
|
|
1402
|
-
if (s.
|
|
1400
|
+
if (s.Ba.events = [], e) {
|
|
1403
1401
|
var t = e.length, i = 864e5;
|
|
1404
1402
|
this.cache.pixels = {};
|
|
1405
1403
|
var n = [];
|
|
@@ -1410,11 +1408,11 @@ if ("undefined" == typeof DayPilot)
|
|
|
1410
1408
|
}
|
|
1411
1409
|
if ("function" == typeof this.onBeforeEventRender)
|
|
1412
1410
|
for (var a = 0; a < t; a++)
|
|
1413
|
-
this.
|
|
1414
|
-
for (var a = 0; a < this.
|
|
1411
|
+
this.Ca(a);
|
|
1412
|
+
for (var a = 0; a < this.Q.length; a++) {
|
|
1415
1413
|
var o = {};
|
|
1416
1414
|
o.minEnd = 1e6, o.maxStart = -1, this.scrollLabels.push(o);
|
|
1417
|
-
var r = this.
|
|
1415
|
+
var r = this.Q[a];
|
|
1418
1416
|
r.events = [], r.lines = [], r.blocks = [];
|
|
1419
1417
|
for (var h = new DayPilot.Date(r.start), c = h.getTime(), d = h.addTime(i), u = d.getTime(), v = 0; v < t; v++)
|
|
1420
1418
|
if (!n[v]) {
|
|
@@ -1427,32 +1425,32 @@ if ("undefined" == typeof DayPilot)
|
|
|
1427
1425
|
var C = this.getPixels(b.part.start, r.start), w = this.getPixels(b.part.end, r.start), D = C.top, S = w.top;
|
|
1428
1426
|
if (D === S && (C.cut || w.cut))
|
|
1429
1427
|
continue;
|
|
1430
|
-
var
|
|
1431
|
-
b.part.top = Math.floor(D / this.cellHeight) * this.cellHeight + 1, b.part.height = Math.max(Math.ceil(
|
|
1428
|
+
var k = w.boxBottom;
|
|
1429
|
+
b.part.top = Math.floor(D / this.cellHeight) * this.cellHeight + 1, b.part.height = Math.max(Math.ceil(k / this.cellHeight) * this.cellHeight - b.part.top, this.cellHeight - 1) + 1, b.part.barTop = Math.max(D - b.part.top - 1, 0), b.part.barHeight = Math.max(S - D - 2, 1);
|
|
1432
1430
|
var p = b.part.top, f = b.part.top + b.part.height;
|
|
1433
|
-
p > o.maxStart && (o.maxStart = p), f < o.minEnd && (o.minEnd = f), p < this.minStart && (this.minStart = p), f > this.maxEnd && (this.maxEnd = f), r.events.push(b), "function" == typeof this.onBeforeEventRender && (b.cache = this.
|
|
1431
|
+
p > o.maxStart && (o.maxStart = p), f < o.minEnd && (o.minEnd = f), p < this.minStart && (this.minStart = p), f > this.maxEnd && (this.maxEnd = f), r.events.push(b), "function" == typeof this.onBeforeEventRender && (b.cache = this.Ba.events[v]), b.part.start.getTime() === g && b.part.end.getTime() === m && (n[v] = !0);
|
|
1434
1432
|
}
|
|
1435
1433
|
}
|
|
1436
1434
|
}
|
|
1437
1435
|
}
|
|
1438
|
-
for (var a = 0; a < this.
|
|
1439
|
-
var r = this.
|
|
1440
|
-
r.events.sort(this.
|
|
1436
|
+
for (var a = 0; a < this.Q.length; a++) {
|
|
1437
|
+
var r = this.Q[a];
|
|
1438
|
+
r.events.sort(this.Da);
|
|
1441
1439
|
for (var v = 0; v < r.events.length; v++) {
|
|
1442
1440
|
var l = r.events[v];
|
|
1443
1441
|
r.putIntoBlock(l);
|
|
1444
1442
|
}
|
|
1445
1443
|
for (var v = 0; v < r.blocks.length; v++) {
|
|
1446
|
-
var
|
|
1447
|
-
|
|
1448
|
-
for (var H = 0; H <
|
|
1449
|
-
var l =
|
|
1450
|
-
|
|
1444
|
+
var x = r.blocks[v];
|
|
1445
|
+
x.events.sort(this.Da);
|
|
1446
|
+
for (var H = 0; H < x.events.length; H++) {
|
|
1447
|
+
var l = x.events[H];
|
|
1448
|
+
x.putIntoLine(l);
|
|
1451
1449
|
}
|
|
1452
1450
|
}
|
|
1453
1451
|
}
|
|
1454
1452
|
}
|
|
1455
|
-
}, this.
|
|
1453
|
+
}, this.Da = function (e, t) {
|
|
1456
1454
|
if (!(e && t && e.start && t.start))
|
|
1457
1455
|
return 0;
|
|
1458
1456
|
var i = e.start().getTime() - t.start().getTime();
|
|
@@ -1466,30 +1464,30 @@ if ("undefined" == typeof DayPilot)
|
|
|
1466
1464
|
var a = 18e5, l = n - i, o = l % a, r = l - o, h = r + a;
|
|
1467
1465
|
0 === o && (h = r);
|
|
1468
1466
|
var c = {};
|
|
1469
|
-
return c.cut = !1, c.top = this.
|
|
1470
|
-
}, this.
|
|
1467
|
+
return c.cut = !1, c.top = this.Ea(l), c.boxTop = this.Ea(r), c.boxBottom = this.Ea(h), this.cache.pixels[n + "_" + i] = c, c;
|
|
1468
|
+
}, this.Ea = function (e) { return Math.floor(this.cellHeight * e / 18e5); }, this.wa = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(); }, this.A = function () { this.nav.corner && (this.nav.corner.style.height = this.headerHeight + "px"); }, this.E = function () { var e = this.aa(); this.nav.scroll && e > 0 && (this.nav.scroll.style.height = e + "px"); }, this.N = {}, this.N.scope = null, this.N.notify = function () { s.N.scope && s.N.scope["$apply"](); }, this.N.apply = function (e) { e(); }, this.qa = function () {
|
|
1471
1469
|
if (s.nav.scroll) {
|
|
1472
1470
|
var e = s.nav.scroll.scrollTop, t = e / (2 * s.cellHeight);
|
|
1473
|
-
s.
|
|
1471
|
+
s.ra.scrollHour = t;
|
|
1474
1472
|
}
|
|
1475
|
-
}, this.
|
|
1476
|
-
for (var e = this.
|
|
1473
|
+
}, this.xa = function () { var e = 0; s.ra.scrollHour ? e = 2 * s.cellHeight * s.ra.scrollHour : "Auto" === s.initScrollPos && (e = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), s.nav.scroll.scrollTop = e; }, this.Fa = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof s.events.list || !s.events.list); }, this.u = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { s.visible = !0, s.nav.top.style.display = ""; }, this.hide = function () { s.visible = !1, s.nav.top.style.display = "none"; }, this.Ga = function () { this.wa(), this.w(), this._(), this.B(), this.C(), this.sa(), this.pa(), this.ta(), t.register(this), this.Ha(), this.k("Init"); }, this.ra = {}, this.Ia = function () { this.ra.themes = [], this.ra.themes.push(this.theme || this.cssClassPrefix); }, this.Ja = function () {
|
|
1474
|
+
for (var e = this.ra.themes, t = 0; t < e.length; t++) {
|
|
1477
1475
|
var i = e[t];
|
|
1478
1476
|
DayPilot.Util.removeClass(this.nav.top, i + "_main");
|
|
1479
1477
|
}
|
|
1480
|
-
this.
|
|
1481
|
-
}, this.
|
|
1478
|
+
this.ra.themes = [];
|
|
1479
|
+
}, this.Ka = function () {
|
|
1482
1480
|
if (this.afterRender(null, !1), "function" == typeof this.onAfterRender) {
|
|
1483
1481
|
var e = {};
|
|
1484
1482
|
e.isCallBack = !1, this.onAfterRender(e);
|
|
1485
1483
|
}
|
|
1486
|
-
}, this.
|
|
1487
|
-
if ("function" == typeof this.onInit && !this.
|
|
1488
|
-
this.
|
|
1484
|
+
}, this.La = function () {
|
|
1485
|
+
if ("function" == typeof this.onInit && !this.Ma) {
|
|
1486
|
+
this.Ma = !0;
|
|
1489
1487
|
var e = {};
|
|
1490
1488
|
this.onInit(e);
|
|
1491
1489
|
}
|
|
1492
|
-
}, this.
|
|
1490
|
+
}, this.Na = function () { var e = s.nav.top; return e.offsetWidth > 0 && e.offsetHeight > 0; }, this.Ha = function () { var e = s.Na; e() || (s.Oa = setInterval(function () { e() && (s.pa(), s.sa(), clearInterval(s.Oa)); }, 100)); }, this.ma = function (e, t) { return s.s.t() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = s.va, this.internal.xssTextHtml = s.ma, this.init = function () { this.Aa(); var e = this.Fa(); return this.Ia(), e ? void this.Ga() : (this.wa(), this.w(), this.z(), this._(), this.B(), this.C(), this.u(), this.sa(), this.pa(), this.ta(), t.register(this), this.events && (this.A(), this.F()), this.Ka(), this.La(), this.Ha(), this.W = !0, this); }, this.Init = this.init, this.va(i);
|
|
1493
1491
|
}, DayPilot.CalendarColumn = function (e, t) { var i = this; i.id = e.id, i.name = e.name, i.data = e.data, i.start = new DayPilot.Date(e.start), i.calendar = t, i.toJSON = function () { var e = {}; return e.id = this.id, this.start && (e.start = this.start.toString()), e.name = this.name, e; }; }, DayPilot.Calendar = t.Calendar, "undefined" != typeof jQuery && !function (e) {
|
|
1494
1492
|
e.fn.daypilotCalendar = function (e) {
|
|
1495
1493
|
var t = null, i = this.each(function () {
|
|
@@ -1508,7 +1506,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
1508
1506
|
e && e.directive("daypilotCalendar", ["$parse", function (e) {
|
|
1509
1507
|
return { "restrict": "E", "template": "<div></div>", "replace": !0, "link": function (t, i, n) {
|
|
1510
1508
|
var s = new DayPilot.Calendar(i[0]);
|
|
1511
|
-
s.
|
|
1509
|
+
s.N.scope = t, s.init();
|
|
1512
1510
|
var a = n["id"];
|
|
1513
1511
|
a && (t[a] = s);
|
|
1514
1512
|
var l = n["publishAs"];
|
|
@@ -1521,7 +1519,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
1521
1519
|
r.call(t, h, function (e) {
|
|
1522
1520
|
for (var t in e)
|
|
1523
1521
|
s[t] = e[t];
|
|
1524
|
-
s.update(), s.
|
|
1522
|
+
s.update(), s.La();
|
|
1525
1523
|
}, !0), r.call(t, c, function (e) { s.events.list = e, s.update(); }, !0);
|
|
1526
1524
|
} };
|
|
1527
1525
|
}]);
|
|
@@ -1532,7 +1530,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
1532
1530
|
var DayPilot = {};
|
|
1533
1531
|
!function () {
|
|
1534
1532
|
"undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (t) {
|
|
1535
|
-
this.v = "2022.3.
|
|
1533
|
+
this.v = "2022.3.432-lite";
|
|
1536
1534
|
var e = "navigator_" + (new Date).getTime(), i = this;
|
|
1537
1535
|
this.onShow = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.prepare = function () {
|
|
1538
1536
|
if (this.locale = "en-us", this.target = null, this.targetAlignment = "left", this.resetTarget = !0, this.pattern = this.a.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, t)
|
|
@@ -1583,7 +1581,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
1583
1581
|
var e = function () { }, t = {};
|
|
1584
1582
|
t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (n) {
|
|
1585
1583
|
var i = this, o = null;
|
|
1586
|
-
this.v = "2022.3.
|
|
1584
|
+
this.v = "2022.3.432-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.b = function () { }, n && DayPilot.isArray(n) && (this.items = n), this.toJSON = function () { return null; }, this.show = function (n, u) {
|
|
1587
1585
|
u = u || {};
|
|
1588
1586
|
var a = null;
|
|
1589
1587
|
if (n ? "string" == typeof n.id || "number" == typeof n.id ? a = n.id : "function" == typeof n.id ? a = n.id() : "function" == typeof n.value && (a = n.value()) : a = null, "undefined" != typeof DayPilot.Bubble && DayPilot.Bubble.hideActive(), u.submenu || t.menuClean(), this.b.submenu = null, null !== t.mouse) {
|
|
@@ -2533,7 +2531,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
2533
2531
|
if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
|
|
2534
2532
|
var t = {};
|
|
2535
2533
|
t.Month = function (e, i) {
|
|
2536
|
-
this.v = "2022.3.
|
|
2534
|
+
this.v = "2022.3.432-lite", this.nav = {};
|
|
2537
2535
|
var n = this;
|
|
2538
2536
|
this.id = e, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, this.contextMenu = null, this.cssClassPrefix = "month_default", this.eventBarVisible = !0, 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 = 1, 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.cellEvents = [], this.elements = {}, this.elements.events = [], this.cache = {}, this.a = function (t, e) { var t = JSON.parse(t); return t.CallBackRedirect ? void (document.location.href = t.CallBackRedirect) : "None" === t.UpdateType ? void n.fireAfterRenderDetached(t.CallBackData, !0) : (n.events.list = t.Events, "Full" === t.UpdateType && (n.startDate = t.StartDate, n.timeFormat = t.TimeFormat ? t.TimeFormat : n.timeFormat, "undefined" != typeof t.WeekStarts && (n.weekStarts = t.WeekStarts), n.hashes = t.Hashes), n.b(), n.c(), n.d(), "Full" === t.UpdateType && (n.f(), n.g()), n.h(), n.show(), n.i(), void n.fireAfterRenderDetached(t.CallBackData, !0)); }, this.fireAfterRenderDetached = function (t, e) { var i = function (t, e) { return function () { n.afterRender && n.afterRender(t, e); }; }; window.setTimeout(i(t, e), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (t) {
|
|
2539
2537
|
var e = null;
|
|
@@ -3106,7 +3104,7 @@ if ("undefined" == typeof DayPilot)
|
|
|
3106
3104
|
"undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function () {
|
|
3107
3105
|
if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.nav) {
|
|
3108
3106
|
DayPilot.Navigator = function (t, e) {
|
|
3109
|
-
this.v = "2022.3.
|
|
3107
|
+
this.v = "2022.3.432-lite";
|
|
3110
3108
|
var i = this;
|
|
3111
3109
|
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.showWeekNumbers = !1, 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.nav = {}, this.a = {}, this.b = function () { this.root.dp = this, this.root.className = this.c("_main"), "Horizontal" === this.orientation ? (this.root.style.width = this.showMonths * (7 * a.cellWidth() + this.d()) + "px", this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : this.root.style.width = 7 * a.cellWidth() + this.d() + "px", this.rtl && (this.root.style.direction = "rtl"), this.root.style.position = "relative", this.visible || (this.root.style.display = "none"); var t = document.createElement("input"); t.type = "hidden", t.name = i.id + "_state", t.id = t.name, this.root.appendChild(t), this.state = t, this.startDate ? this.startDate = new DayPilot.Date(this.startDate).firstDayOfMonth() : this.startDate = DayPilot.Date.fromYearMonthDay(this.year, this.month), this.calendars = [], this.selected = [], this.months = []; }, this.e = function () { return 2 === i.api; }, this.f = function () { this.root.innerHTML = ""; }, this.c = function (t) { var e = this.theme || this.cssClassPrefix; return e ? e + t : ""; }, this.g = function (t, e) { var i = this.c("_" + e); DayPilot.Util.addClass(t, i); }, this.h = function (t, e) { var i = this.c("_" + e); DayPilot.Util.removeClass(t, i); }, this.i = function (t, e) {
|
|
3112
3110
|
var s = {};
|