@daypilot/daypilot-lite-angular 3.6.0 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,6 +33,9 @@ var DayPilot;
33
33
  class Calendar extends CalendarPropsAndEvents {
34
34
  }
35
35
  DayPilot.Calendar = Calendar;
36
+ class CalendarColumn {
37
+ }
38
+ DayPilot.CalendarColumn = CalendarColumn;
36
39
  class MonthPropsAndEvents {
37
40
  }
38
41
  DayPilot.MonthPropsAndEvents = MonthPropsAndEvents;
@@ -103,7 +106,7 @@ DayPilot Lite
103
106
  Copyright (c) 2005 - 2022 Annpoint s.r.o.
104
107
  http://www.daypilot.org/
105
108
  Licensed under Apache Software License 2.0
106
- Version: 2022.3.389-lite
109
+ Version: 2022.3.398-lite
107
110
  */
108
111
  if ("undefined" == typeof DayPilot)
109
112
  var DayPilot = {};
@@ -111,7 +114,8 @@ if ("undefined" == typeof DayPilot)
111
114
  function e(e) { var t = DayPilot.Date.Cache.Ticks; if (t[e])
112
115
  return DayPilot.Stats.cacheHitsTicks += 1, t[e]; var a, r = new Date(e), o = r.getUTCMilliseconds(); a = 0 === o ? "" : o < 10 ? ".00" + o : o < 100 ? ".0" + o : "." + o; var n = r.getUTCSeconds(); n < 10 && (n = "0" + n); var i = r.getUTCMinutes(); i < 10 && (i = "0" + i); var d = r.getUTCHours(); d < 10 && (d = "0" + d); var l = r.getUTCDate(); l < 10 && (l = "0" + l); var s = r.getUTCMonth() + 1; s < 10 && (s = "0" + s); var u = r.getUTCFullYear(); if (u <= 0)
113
116
  throw "The minimum year supported is 1."; u < 10 ? u = "000" + u : u < 100 ? u = "00" + u : u < 1e3 && (u = "0" + u); var c = u + "-" + s + "-" + l + "T" + d + ":" + i + ":" + n + a; return t[e] = c, c; }
114
- function t(e) { e = Math.min(e, 255), e = Math.max(e, 0); var t = e.toString(16); return e < 16 ? "0" + t : t; }
117
+ function t(e, t) { return !DayPilot.Util.isNullOrUndefined(e) && (!DayPilot.Util.isNullOrUndefined(t) && e.toLocaleLowerCase() === t.toLocaleLowerCase()); }
118
+ function a(e) { e = Math.min(e, 255), e = Math.max(e, 0); var t = e.toString(16); return e < 16 ? "0" + t : t; }
115
119
  if ("undefined" == typeof DayPilot.$) {
116
120
  "undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), DayPilot.$ = function (e) { return document.getElementById(e); }, DayPilot.isKhtml = navigator && navigator.userAgent && navigator.userAgent.indexOf("KHTML") !== -1, DayPilot.isIE = navigator && navigator.userAgent && navigator.userAgent.indexOf("MSIE") !== -1, DayPilot.mo2 = function (e, t) { if (t = t || window.event, "undefined" != typeof t.offsetX) {
117
121
  var a = { x: t.offsetX + 1, y: t.offsetY + 1 };
@@ -191,8 +195,8 @@ if ("undefined" == typeof DayPilot)
191
195
  } return t; }, DayPilot.Util.replaceCharAt = function (e, t, a) { return e.substr(0, t) + a + e.substr(t + a.length); }, DayPilot.Util.isNullOrUndefined = function (e) { return null === e || "undefined" == typeof e; }, DayPilot.Util.escapeHtml = function (e) { var t = document.createElement("div"); return t.innerText = e, t.innerHTML; }, DayPilot.Util.escapeTextHtml = function (e, t) { return DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : DayPilot.Util.escapeHtml(e) : t; }, DayPilot.Exception = function (e) { return new Error(e); }, DayPilot.Locale = function (e, t) { if (this.id = e, this.dayNames = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], this.dayNamesShort = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], this.monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], this.datePattern = "M/d/yyyy", this.timePattern = "H:mm", this.dateTimePattern = "M/d/yyyy H:mm", this.timeFormat = "Clock12Hours", this.weekStarts = 0, t)
192
196
  for (var a in t)
193
197
  this[a] = t[a]; }, DayPilot.Locale.all = {}, DayPilot.Locale.find = function (e) { if (!e)
194
- return null; var t = e.toLowerCase(); return t.length > 2 && (t = DayPilot.Util.replaceCharAt(t, 2, "-")), DayPilot.Locale.all[t]; }, DayPilot.Locale.register = function (e) { DayPilot.Locale.all[e.id] = e; }, DayPilot.Locale.register(new DayPilot.Locale("ca-es", { "dayNames": ["diumenge", "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte"], "dayNamesShort": ["dg", "dl", "dt", "dc", "dj", "dv", "ds"], "monthNames": ["gener", "febrer", "març", "abril", "maig", "juny", "juliol", "agost", "setembre", "octubre", "novembre", "desembre", ""], "monthNamesShort": ["gen.", "febr.", "març", "abr.", "maig", "juny", "jul.", "ag.", "set.", "oct.", "nov.", "des.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("cs-cz", { "dayNames": ["neděle", "pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota"], "dayNamesShort": ["ne", "po", "út", "st", "čt", "pá", "so"], "monthNames": ["leden", "únor", "březen", "duben", "květen", "červen", "červenec", "srpen", "září", "říjen", "listopad", "prosinec", ""], "monthNamesShort": ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "XI", "XII", ""], "timePattern": "H:mm", "datePattern": "d. M. yyyy", "dateTimePattern": "d. M. yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("da-dk", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "marts", "april", "maj", "juni", "juli", "august", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yyyy", "dateTimePattern": "dd-MM-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-at", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Jänner", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jän", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-ch", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-de", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-lu", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-au", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-ca", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("en-gb", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-us", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt",
195
- "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) { var t = this, a = 864e5, r = 36e5, o = 6e4, n = 1e3; if (2 === arguments.length) {
198
+ return null; var t = e.toLowerCase(); return t.length > 2 && (t = DayPilot.Util.replaceCharAt(t, 2, "-")), DayPilot.Locale.all[t]; }, DayPilot.Locale.register = function (e) { DayPilot.Locale.all[e.id] = e; }, DayPilot.Locale.register(new DayPilot.Locale("ca-es", { "dayNames": ["diumenge", "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte"], "dayNamesShort": ["dg", "dl", "dt", "dc", "dj", "dv", "ds"], "monthNames": ["gener", "febrer", "març", "abril", "maig", "juny", "juliol", "agost", "setembre", "octubre", "novembre", "desembre", ""], "monthNamesShort": ["gen.", "febr.", "març", "abr.", "maig", "juny", "jul.", "ag.", "set.", "oct.", "nov.", "des.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("cs-cz", { "dayNames": ["neděle", "pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota"], "dayNamesShort": ["ne", "po", "út", "st", "čt", "pá", "so"], "monthNames": ["leden", "únor", "březen", "duben", "květen", "červen", "červenec", "srpen", "září", "říjen", "listopad", "prosinec", ""], "monthNamesShort": ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "XI", "XII", ""], "timePattern": "H:mm", "datePattern": "d. M. yyyy", "dateTimePattern": "d. M. yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("da-dk", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "marts", "april", "maj", "juni", "juli", "august", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yyyy", "dateTimePattern": "dd-MM-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-at", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Jänner", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jän", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-ch", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-de", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-lu", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-au", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-ca", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("en-gb", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-us", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""],
199
+ "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) { var t = this, a = 864e5, r = 36e5, o = 6e4, n = 1e3; if (2 === arguments.length) {
196
200
  var i = arguments[0], d = arguments[1];
197
201
  if (!(i instanceof DayPilot.Date) && "string" != typeof i)
198
202
  throw "DayPilot.Duration(): Invalid start argument, DayPilot.Date expected";
@@ -238,7 +242,7 @@ if ("undefined" == typeof DayPilot)
238
242
  }
239
243
  else
240
244
  e = e || 0; for (var r = t.dayOfWeek(); r !== e;)
241
- t = t.addDays(-1), r = t.dayOfWeek(); return new DayPilot.Date(t); }, DayPilot.Date.prototype.getDay = function () { return new Date(this.ticks).getUTCDate(); }, DayPilot.Date.prototype.getDatePart = function () { var e = new Date(this.ticks); return e.setUTCHours(0), e.setUTCMinutes(0), e.setUTCSeconds(0), e.setUTCMilliseconds(0), new DayPilot.Date(e); }, DayPilot.Date.prototype.getYear = function () { return new Date(this.ticks).getUTCFullYear(); }, DayPilot.Date.prototype.getHours = function () { return new Date(this.ticks).getUTCHours(); }, DayPilot.Date.prototype.getMilliseconds = function () { return new Date(this.ticks).getUTCMilliseconds(); }, DayPilot.Date.prototype.getMinutes = function () { return new Date(this.ticks).getUTCMinutes(); }, DayPilot.Date.prototype.getMonth = function () { return new Date(this.ticks).getUTCMonth(); }, DayPilot.Date.prototype.getSeconds = function () { return new Date(this.ticks).getUTCSeconds(); }, DayPilot.Date.prototype.getTotalTicks = function () { return this.getTime(); }, DayPilot.Date.prototype.getTime = function () { return this.ticks; }, DayPilot.Date.prototype.getTimePart = function () { var e = this.getDatePart(); return DayPilot.DateUtil.diff(this, e); }, DayPilot.Date.prototype.lastDayOfMonth = function () { var e = new Date(this.firstDayOfMonth().getTime()), t = this.daysInMonth(); return e.setUTCDate(t), new DayPilot.Date(e); }, DayPilot.Date.prototype.weekNumber = function () { var e = this.firstDayOfYear(), t = (this.getTime() - e.getTime()) / 864e5; return Math.ceil((t + e.dayOfWeek() + 1) / 7); }, DayPilot.Date.prototype.weekNumberISO = function () { var e = !1, t = this.dayOfYear(), a = this.firstDayOfYear().dayOfWeek(), r = this.firstDayOfYear().addYears(1).addDays(-1).dayOfWeek(); 0 === a && (a = 7), 0 === r && (r = 7); var o = 8 - a; 4 !== a && 4 !== r || (e = !0); var n = Math.ceil((t - o) / 7), i = n; return o >= 4 && (i += 1), i > 52 && !e && (i = 1), 0 === i && (i = this.firstDayOfYear().addDays(-1).weekNumberISO()), i; }, DayPilot.Date.prototype.toDateLocal = function () { var e = new Date(this.ticks), t = new Date; return t.setFullYear(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate()), t.setHours(e.getUTCHours()), t.setMinutes(e.getUTCMinutes()), t.setSeconds(e.getUTCSeconds()), t.setMilliseconds(e.getUTCMilliseconds()), t; }, DayPilot.Date.prototype.toDate = function () { return new Date(this.ticks); }, DayPilot.Date.prototype.toJSON = function () { return this.value; }, DayPilot.Date.prototype.toString = function (e, t) { return e ? new a(e, t).print(this) : this.toStringSortable(); }, DayPilot.Date.prototype.toStringSortable = function () { return e(this.ticks); }, DayPilot.Date.parse = function (e, t, r) { return new a(t, r).parse(e); };
245
+ t = t.addDays(-1), r = t.dayOfWeek(); return new DayPilot.Date(t); }, DayPilot.Date.prototype.getDay = function () { return new Date(this.ticks).getUTCDate(); }, DayPilot.Date.prototype.getDatePart = function () { var e = new Date(this.ticks); return e.setUTCHours(0), e.setUTCMinutes(0), e.setUTCSeconds(0), e.setUTCMilliseconds(0), new DayPilot.Date(e); }, DayPilot.Date.prototype.getYear = function () { return new Date(this.ticks).getUTCFullYear(); }, DayPilot.Date.prototype.getHours = function () { return new Date(this.ticks).getUTCHours(); }, DayPilot.Date.prototype.getMilliseconds = function () { return new Date(this.ticks).getUTCMilliseconds(); }, DayPilot.Date.prototype.getMinutes = function () { return new Date(this.ticks).getUTCMinutes(); }, DayPilot.Date.prototype.getMonth = function () { return new Date(this.ticks).getUTCMonth(); }, DayPilot.Date.prototype.getSeconds = function () { return new Date(this.ticks).getUTCSeconds(); }, DayPilot.Date.prototype.getTotalTicks = function () { return this.getTime(); }, DayPilot.Date.prototype.getTime = function () { return this.ticks; }, DayPilot.Date.prototype.getTimePart = function () { var e = this.getDatePart(); return DayPilot.DateUtil.diff(this, e); }, DayPilot.Date.prototype.lastDayOfMonth = function () { var e = new Date(this.firstDayOfMonth().getTime()), t = this.daysInMonth(); return e.setUTCDate(t), new DayPilot.Date(e); }, DayPilot.Date.prototype.weekNumber = function () { var e = this.firstDayOfYear(), t = (this.getTime() - e.getTime()) / 864e5; return Math.ceil((t + e.dayOfWeek() + 1) / 7); }, DayPilot.Date.prototype.weekNumberISO = function () { var e = !1, t = this.dayOfYear(), a = this.firstDayOfYear().dayOfWeek(), r = this.firstDayOfYear().addYears(1).addDays(-1).dayOfWeek(); 0 === a && (a = 7), 0 === r && (r = 7); var o = 8 - a; 4 !== a && 4 !== r || (e = !0); var n = Math.ceil((t - o) / 7), i = n; return o >= 4 && (i += 1), i > 52 && !e && (i = 1), 0 === i && (i = this.firstDayOfYear().addDays(-1).weekNumberISO()), i; }, DayPilot.Date.prototype.toDateLocal = function () { var e = new Date(this.ticks), t = new Date; return t.setFullYear(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate()), t.setHours(e.getUTCHours()), t.setMinutes(e.getUTCMinutes()), t.setSeconds(e.getUTCSeconds()), t.setMilliseconds(e.getUTCMilliseconds()), t; }, DayPilot.Date.prototype.toDate = function () { return new Date(this.ticks); }, DayPilot.Date.prototype.toJSON = function () { return this.value; }, DayPilot.Date.prototype.toString = function (e, t) { return e ? new r(e, t).print(this) : this.toStringSortable(); }, DayPilot.Date.prototype.toStringSortable = function () { return e(this.ticks); }, DayPilot.Date.parse = function (e, t, a) { return new r(t, a).parse(e); };
242
246
  DayPilot.Date.today = function () { return new DayPilot.Date(DayPilot.DateUtil.localToday(), !0); }, DayPilot.Date.now = function () { return new DayPilot.Date; }, DayPilot.Date.fromYearMonthDay = function (e, t, a) { t = t || 1, a = a || 1; var r = new Date(0); return r.setUTCFullYear(e), r.setUTCMonth(t - 1), r.setUTCDate(a), new DayPilot.Date(r); }, DayPilot.DateUtil = {}, DayPilot.DateUtil.fromStringSortable = function (e, t) { if (!e)
243
247
  throw "Can't create DayPilot.Date from an empty string"; var a = e.length, r = 10 === a, o = 19 === a, n = a > 19; if (!r && !o && !n)
244
248
  throw "Invalid string format (use '2010-01-01' or '2010-01-01T00:00:00'): " + e; if (DayPilot.Date.Cache.Parsing[e] && !t)
@@ -262,21 +266,21 @@ if ("undefined" == typeof DayPilot)
262
266
  0 === r && (r = 12);
263
267
  return r + ":" + a + " " + (o ? "AM" : "PM");
264
268
  } return r + ":" + a; }, 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; };
265
- var a = function (e, t) { "string" == typeof t && (t = DayPilot.Locale.find(t)); var t = t || DayPilot.Locale.US, a = [{ "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 t.monthNames[e.getMonth()]; }, "transform": function (e) { var a = DayPilot.indexOf(t.monthNames, e, equalsIgnoreCase); return a < 0 ? null : a + 1; } }, { "seq": "MMM", "expr": "[^\\s0-9]*", "str": function (e) { return t.monthNamesShort[e.getMonth()]; }, "transform": function (e) { var a = DayPilot.indexOf(t.monthNamesShort, e, equalsIgnoreCase); return a < 0 ? null : a + 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) { return t.dayNames[e.getDayOfWeek()]; } }, { "seq": "ddd", "expr": "[^\\s0-9]*", "str": function (e) { return t.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(); } }], r = function (e) { return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); }; 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) { function o(e) { return parseInt(e); } return e.indexOf(t) === -1 ? null : { "findValue": function (n) { for (var i = r(e), d = null, l = 0; l < a.length; l++) {
266
- var s = (a[l].length, t === a[l].seq), u = a[l].expr;
267
- s && (u = "(" + u + ")", d = a[l].transform), i = i.replace(a[l].seq, u);
269
+ var r = function (e, a) { "string" == typeof a && (a = DayPilot.Locale.find(a)); 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) { return a.dayNames[e.getDayOfWeek()]; } }, { "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, "\\$&"); }; 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) { function a(e) { return parseInt(e); } return e.indexOf(t) === -1 ? null : { "findValue": function (n) { for (var i = o(e), d = null, l = 0; l < r.length; l++) {
270
+ var s = (r[l].length, t === r[l].seq), u = r[l].expr;
271
+ s && (u = "(" + u + ")", d = r[l].transform), i = i.replace(r[l].seq, u);
268
272
  } i = "^" + i + "$"; try {
269
273
  var c = new RegExp(i), f = c.exec(n);
270
- return f ? (d = d || o)(f[1]) : null;
274
+ return f ? (d = d || a)(f[1]) : null;
271
275
  }
272
276
  catch (e) {
273
277
  throw "unable to create regex from: " + i;
274
- } } }; }, this.print = function (t) { for (var r = function (e) { for (var t = 0; t < a.length; t++)
275
- if (a[t] && a[t].seq === e)
276
- return a[t]; return null; }, o = e.length <= 0, n = 0, i = []; !o;) {
278
+ } } }; }, this.print = function (t) { for (var a = function (e) { for (var t = 0; t < r.length; t++)
279
+ if (r[t] && r[t].seq === e)
280
+ return r[t]; return null; }, o = e.length <= 0, n = 0, i = []; !o;) {
277
281
  var d = e.substring(n), l = /%?(.)\1*/.exec(d);
278
282
  if (l && l.length > 0) {
279
- var s = l[0], u = r(s);
283
+ var s = l[0], u = a(s);
280
284
  u ? i.push(u) : i.push(s), n += s.length, o = e.length <= n;
281
285
  }
282
286
  else
@@ -298,7 +302,7 @@ if ("undefined" == typeof DayPilot)
298
302
  return null; if (d < 0 || d > 59)
299
303
  return null; var u = new Date; return u.setUTCFullYear(t, a - 1, r), u.setUTCHours(n), u.setUTCMinutes(i), u.setUTCSeconds(d), u.setUTCMilliseconds(0), new DayPilot.Date(u); }, this.init(); };
300
304
  DayPilot.ColorUtil = {}, DayPilot.ColorUtil.hexToRgb = function (e) { if (!/^#[0-9a-f]{6}$/i.test(e))
301
- throw new DayPilot.Exception("Invalid color, only full hex color string accepted, eg. '#ffaaff'."); return e = e.replace("#", ""), { r: parseInt(e.substring(0, 2), 16), g: parseInt(e.substring(2, 4), 16), b: parseInt(e.substring(4, 6), 16) }; }, DayPilot.ColorUtil.rgbToHex = function (e) { return "#" + t(e.r) + t(e.g) + t(e.b); }, DayPilot.ColorUtil.adjustLuminance = function (e, t) { return { r: e.r + t, g: e.g + t, b: e.b + t }; }, DayPilot.ColorUtil.darker = function (e, t) { var a = DayPilot.ColorUtil.hexToRgb(e); t = t || 1; var r = 17, o = t * r, n = DayPilot.ColorUtil.adjustLuminance(a, -o); return DayPilot.ColorUtil.rgbToHex(n); }, DayPilot.Event = function (e, t, a) {
305
+ throw new DayPilot.Exception("Invalid color, only full hex color string accepted, eg. '#ffaaff'."); return e = e.replace("#", ""), { r: parseInt(e.substring(0, 2), 16), g: parseInt(e.substring(2, 4), 16), b: parseInt(e.substring(4, 6), 16) }; }, DayPilot.ColorUtil.rgbToHex = function (e) { return "#" + a(e.r) + a(e.g) + a(e.b); }, DayPilot.ColorUtil.adjustLuminance = function (e, t) { return { r: e.r + t, g: e.g + t, b: e.b + t }; }, DayPilot.ColorUtil.darker = function (e, t) { var a = DayPilot.ColorUtil.hexToRgb(e); t = t || 1; var r = 17, o = t * r, n = DayPilot.ColorUtil.adjustLuminance(a, -o); return DayPilot.ColorUtil.rgbToHex(n); }, DayPilot.Event = function (e, t, a) {
302
306
  var r = this;
303
307
  this.calendar = t, this.data = e ? e : {}, this.part = a ? a : {}, "undefined" == typeof this.data.id && (this.data.id = this.data.value);
304
308
  var o = {}, n = ["id", "text", "start", "end", "resource"];
@@ -395,11 +399,11 @@ if ("undefined" == typeof DayPilot)
395
399
  if (this instanceof t.Calendar && !this.d && (n = !0, this.d = !0), !n)
396
400
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
397
401
  var s = this;
398
- this.uniqueID = null, this.v = "2022.3.389-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.days = 1, this.durationBarVisible = !0, this.eventHeaderHeight = 14, this.eventHeaderVisible = !0, this.eventsLoadMethod = "GET", this.headerHeight = 30, 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.timeRangeSelectedHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", 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.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.f(); }, this.f = function () { DayPilot.de(s.elements.selection), s.elements.selection = [], s.nav.activeSelection = null; }, this.g = navigator && navigator.userAgent && navigator.userAgent.indexOf("MSIE") !== -1, this.h = navigator && navigator.userAgent && navigator.userAgent.indexOf("Firefox") !== -1, this.i = function () { if (/Opera[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
402
+ this.uniqueID = null, this.v = "2022.3.398-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.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.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.onHeaderClick = null, this.onHeaderClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.f(); }, this.f = function () { DayPilot.de(s.elements.selection), s.elements.selection = [], s.nav.activeSelection = null; }, this.g = navigator && navigator.userAgent && navigator.userAgent.indexOf("MSIE") !== -1, this.h = navigator && navigator.userAgent && navigator.userAgent.indexOf("Firefox") !== -1, this.i = function () { if (/Opera[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
399
403
  return new Number(RegExp.$1) >= 10.5;
400
404
  } return !1; }(), this.j = function () { if (/AppleWebKit[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
401
405
  return new Number(RegExp.$1) >= 522;
402
- } return !1; }(), 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 = 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) { for (var i = e.parentNode; i && "TD" !== i.tagName;)
406
+ } return !1; }(), 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) { for (var i = e.parentNode; i && "TD" !== i.tagName;)
403
407
  i = i.parentNode; var n = document.createElement("div"); 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.u("_shadow"); var a = document.createElement("div"); return a.className = s.u("_shadow_inner"), n.appendChild(a), i.firstChild.appendChild(n), n; }, this.w = {}, this.w.locale = function () { var e = DayPilot.Locale.find(s.locale); return e ? e : DayPilot.Locale.US; }, this.w.timeFormat = function () { return "Auto" !== s.timeFormat ? s.timeFormat : this.locale().timeFormat; }, this.w.z = function () { return "Disabled" !== s.xssProtection; };
404
408
  var a = this.w;
405
409
  this.o = function (e, t) { if (e && 0 === e.indexOf("$$$")) {
@@ -573,7 +577,7 @@ if ("undefined" == typeof DayPilot)
573
577
  } }; 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 }); }, this.B = function () { var e; e = "Resources" !== s.viewType ? this.Z() : s.columns.list, this.S = []; for (var t = 0; t < e.length; t++) {
574
578
  var i = this.$(e[t]);
575
579
  this.S.push(i);
576
- } }, this.$ = function (e) { var t = {}; return t.name = e.name, t.html = e.html, t.id = e.id, t.toolTip = e.toolTip, e.start ? t.start = new DayPilot.Date(e.start) : t.start = new DayPilot.Date(s.startDate), t.putIntoBlock = function (e) { for (var t = 0; t < this.blocks.length; t++) {
580
+ } }, this.$ = function (e) { var t = {}; 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) { for (var t = 0; t < this.blocks.length; t++) {
577
581
  var i = this.blocks[t];
578
582
  if (i.overlapsWith(e.part.top, e.part.height))
579
583
  return i.events.push(e), i.min = Math.min(i.min, e.part.top), i.max = Math.max(i.max, e.part.top + e.part.height), t;
@@ -713,8 +717,7 @@ if ("undefined" == typeof DayPilot)
713
717
  }
714
718
  for (var v = 0; v < n; v++) {
715
719
  var r = e.insertRow(-1);
716
- r.style.MozUserSelect = "none",
717
- r.style.KhtmlUserSelect = "none";
720
+ r.style.MozUserSelect = "none", r.style.KhtmlUserSelect = "none";
718
721
  for (var h = 0; h < l; h++) {
719
722
  var p = this.S[h], c = r.insertCell(-1);
720
723
  c.start = p.start.addTime(v * i), c.end = c.start.addTime(i), c.resource = p.id, c.onmousedown = this.T, 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";
@@ -764,18 +767,21 @@ if ("undefined" == typeof DayPilot)
764
767
  s.onclick = null, s.onmousemove = null, s.onmouseout = null;
765
768
  } this.fasterDispose || DayPilot.pu(e); }, this.ma = function (e) { for (var t = e ? this.nav.header.insertRow(-1) : this.nav.header.rows[0], i = this.S, n = i.length, a = 0; a < n; a++) {
766
769
  var l = i[a], o = e ? t.insertCell(-1) : t.cells[a];
767
- o.data = l, o.style.overflow = "hidden", o.style.padding = "0px", o.style.border = "0px none", o.style.height = this.headerHeight + "px";
770
+ 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.na;
768
771
  var r = e ? document.createElement("div") : o.firstChild;
769
772
  if (e) {
770
- r.unselectable = "on", r.style.MozUserSelect = "none", r.style.cursor = "default", r.style.position = "relative", r.className = s.u("_colheader"), r.style.height = this.headerHeight + "px";
773
+ r.unselectable = "on", r.style.MozUserSelect = "none", r.style.cursor = "default", r.style.position = "relative", r.className = s.u("_colheader"), r.style.height = this.headerHeight + "px", s.headerTextWrappingEnabled || (r.style.whiteSpace = "nowrap");
771
774
  var h = document.createElement("div");
772
775
  h.className = s.u("_colheader_inner"), h.unselectable = "on", r.appendChild(h), o.appendChild(r);
773
776
  }
774
777
  l.toolTip && (h.title = l.toolTip);
775
778
  var h = r.firstChild;
776
- h.innerHTML = s.na(l.name, l.html);
777
- } }, this.oa = function () { return this.width && this.width.indexOf("px") !== -1 ? "Pixel" : "Percentage"; }, this.E = function () { var e = this.nav.header, t = !0, i = this.S; for (i.length; this.headerCreated && e && e.rows && e.rows.length > 0;)
778
- this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0); this.headerCreated = !0; this.ma(t); }, this.loadingStart = function () { this.loadingLabelVisible && (this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.top = this.headerHeight + 5 + "px", this.nav.loading.style.display = ""); }, this.commandCallBack = function (e, t) { var i = {}; i.command = e, this.m("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 && e > 0 && (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) { var t = null; if (e instanceof DayPilot.Event)
779
+ h.innerHTML = s.oa(l.name, l.html);
780
+ } }, this.na = function (e) { if ("Disabled" !== s.headerClickHandling) {
781
+ var t = this.data, i = s.pa(t), n = {};
782
+ 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);
783
+ } }, this.pa = function (e) { return new DayPilot.CalendarColumn(e, s); }, this.qa = function () { return this.width && this.width.indexOf("px") !== -1 ? "Pixel" : "Percentage"; }, this.E = function () { var e = this.nav.header, t = !0, i = this.S; for (i.length; this.headerCreated && e && e.rows && e.rows.length > 0;)
784
+ this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0); this.headerCreated = !0; this.ma(t); }, this.loadingStart = function () { this.loadingLabelVisible && (this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.top = this.headerHeight + 5 + "px", this.nav.loading.style.display = ""); }, this.commandCallBack = function (e, t) { var i = {}; i.command = e, this.m("Command", t, i); }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.ra = function () { var e = this.nav.scroll; e.onscroll || (e.onscroll = function () { s.sa(); }); var t = "undefined" != typeof this.ta.scrollpos ? this.ta.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.ua = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.va = 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) { var t = null; if (e instanceof DayPilot.Event)
779
785
  t = e.data;
780
786
  else {
781
787
  if ("object" != typeof e)
@@ -819,12 +825,12 @@ if ("undefined" == typeof DayPilot)
819
825
  else {
820
826
  var l = e, o = "start=" + s.visibleStart().toString() + "&end=" + s.visibleEnd().toString();
821
827
  l += l.indexOf("?") > -1 ? "&" + o : "?" + o, DayPilot.Http.ajax({ "method": "GET", "url": l, "success": a, "error": n });
822
- } }, this.update = function (e) { if (s.ua(e), this.Y) {
823
- s.va(), s.p(), s.nav.top.style.cursor = "auto";
824
- s.B(), s.E(), s.F(), s.G(), s.H(), s.ja(), s.wa(), s.C(), s.D(), s.A(), s.I(), s.clearSelection(), this.visible ? this.show() : this.hide();
825
- } }, this.xa = null, this.ua = function (e) { if (e) {
828
+ } }, this.update = function (e) { if (s.wa(e), this.Y) {
829
+ s.xa(), s.p(), s.nav.top.style.cursor = "auto";
830
+ s.B(), s.E(), s.F(), s.G(), s.H(), s.ja(), s.ya(), s.C(), s.D(), s.A(), s.I(), s.clearSelection(), this.visible ? this.show() : this.hide();
831
+ } }, this.za = null, this.wa = function (e) { if (e) {
826
832
  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; } } };
827
- this.xa = t;
833
+ this.za = t;
828
834
  for (var i in e)
829
835
  if (t[i]) {
830
836
  var n = t[i];
@@ -832,21 +838,21 @@ if ("undefined" == typeof DayPilot)
832
838
  }
833
839
  else
834
840
  s[i] = e[i];
835
- } }, this.ya = function () { var e = this.xa; for (var t in e) {
841
+ } }, this.Aa = function () { var e = this.za; for (var t in e) {
836
842
  var i = e[t];
837
843
  i.postInit && i.postInit();
838
- } }, this.za = function () { if (this.id && this.id.tagName)
844
+ } }, this.Ba = function () { if (this.id && this.id.tagName)
839
845
  this.nav.top = this.id;
840
846
  else {
841
847
  if ("string" != typeof this.id)
842
848
  throw "DayPilot.Calendar() constructor requires the target element or its ID as a parameter";
843
849
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
844
850
  throw "DayPilot.Calendar: The placeholder element not found: '" + e + "'.";
845
- } }, this.Aa = {}, this.Aa.events = [], this.Ba = function (e) { var t = this.Aa.events, i = this.events.list[e], n = {}; for (var s in i)
851
+ } }, this.Ca = {}, this.Ca.events = [], this.Da = function (e) { var t = this.Ca.events, i = this.events.list[e], n = {}; for (var s in i)
846
852
  n[s] = i[s]; if ("function" == typeof this.onBeforeEventRender) {
847
853
  var a = {};
848
854
  a.data = n, this.onBeforeEventRender(a);
849
- } t[e] = n; }, this.C = function () { var e = this.events.list; if (s.Aa.events = [], e) {
855
+ } t[e] = n; }, this.C = function () { var e = this.events.list; if (s.Ca.events = [], e) {
850
856
  var t = e.length, i = 864e5;
851
857
  this.cache.pixels = {};
852
858
  var n = [];
@@ -857,7 +863,7 @@ if ("undefined" == typeof DayPilot)
857
863
  }
858
864
  if ("function" == typeof this.onBeforeEventRender)
859
865
  for (var a = 0; a < t; a++)
860
- this.Ba(a);
866
+ this.Da(a);
861
867
  for (var a = 0; a < this.S.length; a++) {
862
868
  var o = {};
863
869
  o.minEnd = 1e6, o.maxStart = -1, this.scrollLabels.push(o);
@@ -877,41 +883,44 @@ if ("undefined" == typeof DayPilot)
877
883
  var x = w.boxBottom;
878
884
  b.part.top = Math.floor(D / this.cellHeight) * this.cellHeight + 1, b.part.height = Math.max(Math.ceil(x / 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);
879
885
  var p = b.part.top, f = b.part.top + b.part.height;
880
- 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.Aa.events[v]), b.part.start.getTime() === g && b.part.end.getTime() === m && (n[v] = !0);
886
+ 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.Ca.events[v]), b.part.start.getTime() === g && b.part.end.getTime() === m && (n[v] = !0);
881
887
  }
882
888
  }
883
889
  }
884
890
  }
885
891
  for (var a = 0; a < this.S.length; a++) {
886
892
  var r = this.S[a];
887
- r.events.sort(this.Ca);
893
+ r.events.sort(this.Ea);
888
894
  for (var v = 0; v < r.events.length; v++) {
889
895
  var l = r.events[v];
890
896
  r.putIntoBlock(l);
891
897
  }
892
898
  for (var v = 0; v < r.blocks.length; v++) {
893
899
  var k = r.blocks[v];
894
- k.events.sort(this.Ca);
900
+ k.events.sort(this.Ea);
895
901
  for (var H = 0; H < k.events.length; H++) {
896
902
  var l = k.events[H];
897
903
  k.putIntoLine(l);
898
904
  }
899
905
  }
900
906
  }
901
- } }, this.Ca = function (e, t) { if (!(e && t && e.start && t.start))
907
+ } }, this.Ea = function (e, t) { if (!(e && t && e.start && t.start))
902
908
  return 0; var i = e.start().getTime() - t.start().getTime(); return 0 !== i ? i : t.end().getTime() - e.end().getTime(); }, this.debug = function (e, t) { this.debuggingEnabled && (s.debugMessages || (s.debugMessages = []), s.debugMessages.push(e), "undefined" != typeof console && console.log(e)); }, this.getPixels = function (e, t) { t || (t = this.startDate); var i = t.getTime(), n = e.getTime(), s = this.cache.pixels[n + "_" + i]; if (s)
903
- return s; i = t.getTime(); var a = 18e5, l = n - i, o = l % a, r = l - o, h = r + a; 0 === o && (h = r); var c = {}; return c.cut = !1, c.top = this.Da(l), c.boxTop = this.Da(r), c.boxBottom = this.Da(h), this.cache.pixels[n + "_" + i] = c, c; }, this.Da = function (e) { return Math.floor(this.cellHeight * e / 18e5); }, this.va = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(); }, this.D = function () { this.nav.corner && (this.nav.corner.style.height = this.headerHeight + "px"); }, this.H = function () { var e = this.ca(); this.nav.scroll && e > 0 && (this.nav.scroll.style.height = e + "px"); }, this.Q = {}, this.Q.scope = null, this.Q.notify = function () { s.Q.scope && s.Q.scope["$apply"](); }, this.Q.apply = function (e) { e(); }, this.qa = function () { var e = s.nav.scroll.scrollTop, t = e / (2 * s.cellHeight); s.ra.scrollHour = t; }, this.wa = 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.Ea = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof s.events.list || !s.events.list); }, this.A = 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.Fa = function () { this.va(), this.B(), this.ba(), this.E(), this.F(), this.sa(), this.pa(), this.ta(), t.register(this), this.Ga(), this.m("Init"); }, this.ra = {}, this.Ha = function () { this.ra.themes = [], this.ra.themes.push(this.theme || this.cssClassPrefix); }, this.Ia = function () { for (var e = this.ra.themes, t = 0; t < e.length; t++) {
909
+ return s; i = t.getTime(); var a = 18e5, l = n - i, o = l % a, r = l - o, h = r + a; 0 === o && (h = r); var c = {}; return c.cut = !1, c.top = this.Fa(l), c.boxTop = this.Fa(r), c.boxBottom = this.Fa(h), this.cache.pixels[n + "_" + i] = c, c; }, this.Fa = function (e) { return Math.floor(this.cellHeight * e / 18e5); }, this.xa = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(); }, this.D = function () { this.nav.corner && (this.nav.corner.style.height = this.headerHeight + "px"); }, this.H = function () { var e = this.ca(); this.nav.scroll && e > 0 && (this.nav.scroll.style.height = e + "px"); }, this.Q = {}, this.Q.scope = null, this.Q.notify = function () { s.Q.scope && s.Q.scope["$apply"](); }, this.Q.apply = function (e) { e(); }, this.sa = function () { if (s.nav.scroll) {
910
+ var e = s.nav.scroll.scrollTop, t = e / (2 * s.cellHeight);
911
+ s.ta.scrollHour = t;
912
+ } }, this.ya = function () { var e = 0; s.ta.scrollHour ? e = 2 * s.cellHeight * s.ta.scrollHour : "Auto" === s.initScrollPos && (e = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), s.nav.scroll.scrollTop = e; }, this.Ga = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof s.events.list || !s.events.list); }, this.A = 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.Ha = function () { this.xa(), this.B(), this.ba(), this.E(), this.F(), this.ua(), this.ra(), this.va(), t.register(this), this.Ia(), this.m("Init"); }, this.ta = {}, this.Ja = function () { this.ta.themes = [], this.ta.themes.push(this.theme || this.cssClassPrefix); }, this.Ka = function () { for (var e = this.ta.themes, t = 0; t < e.length; t++) {
904
913
  var i = e[t];
905
914
  DayPilot.Util.removeClass(this.nav.top, i + "_main");
906
- } this.ra.themes = []; }, this.Ja = function () { if (this.afterRender(null, !1), "function" == typeof this.onAfterRender) {
915
+ } this.ta.themes = []; }, this.La = function () { if (this.afterRender(null, !1), "function" == typeof this.onAfterRender) {
907
916
  var e = {};
908
917
  e.isCallBack = !1, this.onAfterRender(e);
909
- } }, this.Ka = function () { if ("function" == typeof this.onInit && !this.La) {
910
- this.La = !0;
918
+ } }, this.Ma = function () { if ("function" == typeof this.onInit && !this.Na) {
919
+ this.Na = !0;
911
920
  var e = {};
912
921
  this.onInit(e);
913
- } }, this.Ma = function () { var e = s.nav.top; return e.offsetWidth > 0 && e.offsetHeight > 0; }, this.Ga = function () { var e = s.Ma; e() || (s.Na = setInterval(function () { e() && (s.pa(), s.sa(), clearInterval(s.Na)); }, 100)); }, this.na = function (e, t) { return s.w.z() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = s.ua, this.internal.xssTextHtml = s.na, this.init = function () { this.za(); var e = this.Ea(); return this.Ha(), e ? void this.Fa() : (this.va(), this.B(), this.C(), this.ba(), this.E(), this.F(), this.A(), this.sa(), this.pa(), this.ta(), t.register(this), this.events && (this.D(), this.I()), this.Ja(), this.Ka(), this.Ga(), this.Y = !0, this); }, this.Init = this.init, this.ua(i);
914
- }, t.Cell = function (e, t, i) { this.start = e, this.end = t, this.column = function () { }; }, t.Column = function (e, t, i) { this.value = e, this.name = t, this.date = new DayPilot.Date(i); }, DayPilot.Calendar = t.Calendar, "undefined" != typeof jQuery && !function (e) { e.fn.daypilotCalendar = function (e) { var t = null, i = this.each(function () { if (!this.daypilot) {
922
+ } }, this.Oa = function () { var e = s.nav.top; return e.offsetWidth > 0 && e.offsetHeight > 0; }, this.Ia = function () { var e = s.Oa; e() || (s.Pa = setInterval(function () { e() && (s.ra(), s.ua(), clearInterval(s.Pa)); }, 100)); }, this.oa = function (e, t) { return s.w.z() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = s.wa, this.internal.xssTextHtml = s.oa, this.init = function () { this.Ba(); var e = this.Ga(); return this.Ja(), e ? void this.Ha() : (this.xa(), this.B(), this.C(), this.ba(), this.E(), this.F(), this.A(), this.ua(), this.ra(), this.va(), t.register(this), this.events && (this.D(), this.I()), this.La(), this.Ma(), this.Ia(), this.Y = !0, this); }, this.Init = this.init, this.wa(i);
923
+ }, 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) { e.fn.daypilotCalendar = function (e) { var t = null, i = this.each(function () { if (!this.daypilot) {
915
924
  var i = new DayPilot.Calendar(this.id);
916
925
  this.daypilot = i;
917
926
  for (name in e)
@@ -921,23 +930,36 @@ if ("undefined" == typeof DayPilot)
921
930
  (0, e(l).assign)(t, s);
922
931
  } for (var o in n)
923
932
  0 === o.indexOf("on") && !function (i) { s[i] = function (s) { var a = e(n[i]); t["$apply"](function () { a(t, { "args": s }); }); }; }(o); var r = t["$watch"], h = n["config"] || n["daypilotConfig"], c = n["events"] || n["daypilotEvents"]; r.call(t, h, function (e) { for (var t in e)
924
- s[t] = e[t]; s.update(), s.Ka(); }, !0), r.call(t, c, function (e) { s.events.list = e, s.update(); }, !0); } }; }]); }();
933
+ s[t] = e[t]; s.update(), s.Ma(); }, !0), r.call(t, c, function (e) { s.events.list = e, s.update(); }, !0); } }; }]); }();
925
934
  }
926
935
  }();
927
936
  if ("undefined" == typeof DayPilot)
928
937
  var DayPilot = {};
929
- !function () { "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (t) { this.v = "2022.3.389-lite"; var e = "navigator_" + (new Date).getTime(), i = this; this.prepare = function () { if (this.locale = "en-us", this.target = null, this.resetTarget = !0, this.pattern = this.a.locale().datePattern, this.cssClassPrefix = "navigator_default", this.theme = null, this.patterns = [], t)
938
+ !function () { "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (t) { this.v = "2022.3.398-lite"; var e = "navigator_" + (new Date).getTime(), i = this; this.onShow = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.prepare = function () { if (this.locale = "en-us", this.target = null, this.targetAlignment = "left", this.resetTarget = !0, this.pattern = this.a.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, t)
930
939
  for (var e in t)
931
- this[e] = t[e]; this.init(); }, this.init = function () { this.date = new DayPilot.Date(this.date); var t = this.b(); this.resetTarget && !t && this.c(this.date), DayPilot.re(document, "mousedown", function () { i.close(); }); }, this.close = function () { this.d && (this.navigator && this.navigator.dispose(), this.div.innerHTML = "", this.div && this.div.parentNode === document.body && document.body.removeChild(this.div)); }, this.b = function () { var t = this.e(); if (!t)
940
+ this[e] = t[e]; }, this.init = function () { this.date = new DayPilot.Date(this.date); var t = this.b(); this.resetTarget && !t ? this.c(this.date) : this.resetTarget || (i.date = t); var e = this.d(); return e && e.addEventListener("input", function () { i.date = i.b(), i.date && i.navigator.select(i.date, { dontNotify: !0 }); }), document.addEventListener("mousedown", function () { i.close(); }), this; }, this.close = function () { this.e && (this.e = !1, this.navigator && this.navigator.dispose(), this.div.innerHTML = "", this.div && this.div.parentNode === document.body && document.body.removeChild(this.div)); }, this.setDate = function (t) { this.date = new DayPilot.Date(t), this.c(this.date); }, this.b = function () { var t = this.d(); if (!t)
932
941
  return this.date; var e = null; if (e = "INPUT" === t.tagName ? t.value : t.innerText, !e)
933
- return null; for (var a = DayPilot.Date.parse(e, i.pattern), n = 0; n < i.patterns.length; n++) {
934
- if (a)
935
- return a;
936
- a = DayPilot.Date.parse(e, i.patterns[n]);
937
- } return a; }, this.c = function (t) { var e = this.e(); if (e) {
938
- var a = t.toString(i.pattern, i.locale);
939
- "INPUT" === e.tagName ? e.value = a : e.innerHTML = a;
940
- } }, this.a = {}, this.a.locale = function () { return DayPilot.Locale.find(i.locale); }, this.e = function () { var t = this.target; return t && t.nodeType && 1 === t.nodeType ? t : document.getElementById(t); }, this.show = function () { var t = this.e(), a = this.navigator, a = new DayPilot.Navigator(e); a.api = 2, a.theme = i.theme || i.cssClassPrefix, a.weekStarts = "Auto", a.locale = i.locale, a.timeRangeSelectedHandling = "JavaScript", a.onTimeRangeSelected = function (t) { i.date = t.start; var e = t.start, a = e.toString(i.pattern, i.locale), t = {}; t.start = e, t.date = e, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof i.onTimeRangeSelect && (i.onTimeRangeSelect(t), t.preventDefault.value) || (i.c(a), i.close(), "function" == typeof i.onTimeRangeSelected && i.onTimeRangeSelected(t)); }, this.navigator = a; var n = DayPilot.abs(t), o = t.offsetHeight, r = document.createElement("div"); r.style.position = "absolute", r.style.left = n.x + "px", r.style.top = n.y + o + "px"; var s = document.createElement("div"); s.id = e, r.appendChild(s), DayPilot.re(r, "mousedown", function (t) { var t = t || window.event; t.cancelBubble = !0, t.stopPropagation && t.stopPropagation(); }), document.body.appendChild(r), this.div = r; var l = i.b() || (new DayPilot.Date).getDatePart(); a.startDate = l, a.selectionDay = l, a.init(), this.d = !0; }, this.prepare(); }); }();
942
+ return null; for (var n = DayPilot.Date.parse(e, i.pattern), a = 0; a < i.patterns.length; a++) {
943
+ if (n)
944
+ return n;
945
+ n = DayPilot.Date.parse(e, i.patterns[a]);
946
+ } return n; }, this.c = function (t) { var e = this.d(); if (e) {
947
+ var n = t.toString(i.pattern, i.locale);
948
+ "INPUT" === e.tagName ? e.value = n : e.innerHTML = n;
949
+ } }, this.a = {}, this.a.locale = function () { return DayPilot.Locale.find(i.locale); }, this.d = function () { var t = this.target; return t && t.nodeType && 1 === t.nodeType ? t : document.getElementById(t); }, Object.defineProperty(this, "visible", { get: function () { return i.e; } }), this.show = function () { if (!this.e) {
950
+ var t = this.d(), n = this.navigator, n = new DayPilot.Navigator(e);
951
+ n.api = 2, n.cssOnly = !0, n.theme = i.theme, n.weekStarts = "Auto", n.locale = i.locale, n.onTimeRangeSelected = function (t) { i.date = t.start; var e = t.start.addTime(n.f), a = e.toString(i.pattern, i.locale), t = {}; t.start = e, t.date = e, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof i.onTimeRangeSelect && (i.onTimeRangeSelect(t), t.preventDefault.value) || (i.c(a), i.close(), "function" == typeof i.onTimeRangeSelected && i.onTimeRangeSelected(t)); }, this.navigator = n;
952
+ var a = DayPilot.abs(t), o = t.offsetHeight, s = i.targetAlignment, r = document.createElement("div");
953
+ r.style.position = "absolute", "left" === s && (r.style.left = a.x + "px"), r.style.top = a.y + o + "px", i.zIndex && (r.style.zIndex = i.zIndex);
954
+ var l = document.createElement("div");
955
+ l.id = e, r.appendChild(l), r.addEventListener("mousedown", function (t) { var t = t || window.event; t.cancelBubble = !0, t.stopPropagation && t.stopPropagation(); }), document.body.appendChild(r), this.div = r;
956
+ var h = i.b() || (new DayPilot.Date).getDatePart();
957
+ if (n.startDate = h, n.f = h.getTimePart(), n.selectionDay = h.getDatePart(), n.init(), "right" === s) {
958
+ var d = a.x + t.offsetWidth - n.nav.top.offsetWidth;
959
+ r.style.left = d + "px";
960
+ }
961
+ this.e = !0, this.onShow && this.onShow();
962
+ } }, this.prepare(), this.init(); }); }();
941
963
  "undefined" == typeof DayPilot && (DayPilot = {}), function (DayPilot) {
942
964
  "use strict";
943
965
  function e(t, a, i) { var n = a.indexOf("."); if (n === -1)
@@ -1287,7 +1309,7 @@ if ("undefined" == typeof DayPilot)
1287
1309
  var DayPilot = {};
1288
1310
  "undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function () { if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
1289
1311
  var t = {};
1290
- t.Month = function (e, i) { this.v = "2022.3.389-lite", this.nav = {}; var n = this; this.id = e, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, 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.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.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) { var e = null; if (t instanceof DayPilot.Event)
1312
+ t.Month = function (e, i) { this.v = "2022.3.398-lite", this.nav = {}; var n = this; this.id = e, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, 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.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.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) { var e = null; if (t instanceof DayPilot.Event)
1291
1313
  e = t.data;
1292
1314
  else {
1293
1315
  if ("object" != typeof t)
@@ -1641,7 +1663,7 @@ if ("undefined" == typeof DayPilot)
1641
1663
  if ("undefined" == typeof DayPilot)
1642
1664
  var DayPilot = {};
1643
1665
  "undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function () { if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.nav) {
1644
- DayPilot.Navigator = function (t, e) { this.v = "2022.3.389-lite"; var i = this; 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) { var s = {}; s.cells = [], s.days = [], s.weeks = []; var n = this.startDate.addMonths(t), l = e.before, o = e.after, h = n.firstDayOfMonth(), r = h.firstDayOfWeek(a.weekStarts()), c = h.addMonths(1), d = DayPilot.DateUtil.daysDiff(r, c), u = "Auto" === this.rowsPerMonth ? Math.ceil(d / 7) : 6; s.rowCount = u; var f = (new DayPilot.Date).getDatePart(), y = 7 * a.cellWidth() + this.d(); s.width = y; var p = this.cellHeight * u + this.titleHeight + this.dayHeaderHeight; s.height = p; var v = document.createElement("div"); if (v.style.width = y + "px", v.style.height = p + "px", "Horizontal" === this.orientation)
1666
+ DayPilot.Navigator = function (t, e) { this.v = "2022.3.398-lite"; var i = this; 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) { var s = {}; s.cells = [], s.days = [], s.weeks = []; var n = this.startDate.addMonths(t), l = e.before, o = e.after, h = n.firstDayOfMonth(), r = h.firstDayOfWeek(a.weekStarts()), c = h.addMonths(1), d = DayPilot.DateUtil.daysDiff(r, c), u = "Auto" === this.rowsPerMonth ? Math.ceil(d / 7) : 6; s.rowCount = u; var f = (new DayPilot.Date).getDatePart(), y = 7 * a.cellWidth() + this.d(); s.width = y; var p = this.cellHeight * u + this.titleHeight + this.dayHeaderHeight; s.height = p; var v = document.createElement("div"); if (v.style.width = y + "px", v.style.height = p + "px", "Horizontal" === this.orientation)
1645
1667
  v.style.position = "absolute", v.style.left = y * t + "px", v.style.top = "0px", s.top = 0, s.left = y * t;
1646
1668
  else {
1647
1669
  v.style.position = "relative";