dhtmlx-scheduler 5.3.11 → 5.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/bower.json +1 -1
- package/codebase/dhtmlxscheduler.css +2 -2
- package/codebase/dhtmlxscheduler.d.ts +1 -1
- package/codebase/dhtmlxscheduler.js +259 -257
- package/codebase/dhtmlxscheduler_contrast_black.css +2 -2
- package/codebase/dhtmlxscheduler_contrast_white.css +2 -2
- package/codebase/dhtmlxscheduler_flat.css +2 -2
- package/codebase/dhtmlxscheduler_material.css +2 -2
- package/codebase/dhtmlxscheduler_terrace.css +2 -2
- package/codebase/ext/dhtmlxscheduler_active_links.js +3 -3
- package/codebase/ext/dhtmlxscheduler_agenda_view.js +1 -1
- package/codebase/ext/dhtmlxscheduler_all_timed.js +1 -1
- package/codebase/ext/dhtmlxscheduler_collision.js +1 -1
- package/codebase/ext/dhtmlxscheduler_container_autoresize.js +1 -1
- package/codebase/ext/dhtmlxscheduler_cookie.js +1 -1
- package/codebase/ext/dhtmlxscheduler_csp.js +1 -1
- package/codebase/ext/dhtmlxscheduler_editors.js +1 -1
- package/codebase/ext/dhtmlxscheduler_expand.js +2 -2
- package/codebase/ext/dhtmlxscheduler_html_templates.js +1 -1
- package/codebase/ext/dhtmlxscheduler_key_nav.js +68 -68
- package/codebase/ext/dhtmlxscheduler_layer.js +12 -12
- package/codebase/ext/dhtmlxscheduler_limit.js +1 -1
- package/codebase/ext/dhtmlxscheduler_map_view.js +1 -1
- package/codebase/ext/dhtmlxscheduler_minical.js +2 -2
- package/codebase/ext/dhtmlxscheduler_monthheight.js +1 -1
- package/codebase/ext/dhtmlxscheduler_multiselect.js +1 -1
- package/codebase/ext/dhtmlxscheduler_multisource.js +1 -1
- package/codebase/ext/dhtmlxscheduler_mvc.js +1 -1
- package/codebase/ext/dhtmlxscheduler_outerdrag.js +1 -1
- package/codebase/ext/dhtmlxscheduler_pdf.js +1 -1
- package/codebase/ext/dhtmlxscheduler_quick_info.js +1 -1
- package/codebase/ext/dhtmlxscheduler_readonly.js +1 -1
- package/codebase/ext/dhtmlxscheduler_recurring.js +28 -24
- package/codebase/ext/dhtmlxscheduler_serialize.js +3 -3
- package/codebase/ext/dhtmlxscheduler_tooltip.js +1 -1
- package/codebase/ext/dhtmlxscheduler_url.js +1 -1
- package/codebase/ext/dhtmlxscheduler_wp.js +1 -1
- package/codebase/ext/dhtmlxscheduler_year_view.js +1 -1
- package/codebase/locale/locale_ar.js +1 -1
- package/codebase/locale/locale_be.js +1 -1
- package/codebase/locale/locale_ca.js +1 -1
- package/codebase/locale/locale_cn.js +1 -1
- package/codebase/locale/locale_cs.js +1 -1
- package/codebase/locale/locale_da.js +1 -1
- package/codebase/locale/locale_de.js +1 -1
- package/codebase/locale/locale_el.js +1 -1
- package/codebase/locale/locale_en.js +1 -1
- package/codebase/locale/locale_es.js +1 -1
- package/codebase/locale/locale_fi.js +1 -1
- package/codebase/locale/locale_fr.js +1 -1
- package/codebase/locale/locale_he.js +1 -1
- package/codebase/locale/locale_hu.js +1 -1
- package/codebase/locale/locale_id.js +1 -1
- package/codebase/locale/locale_it.js +1 -1
- package/codebase/locale/locale_jp.js +1 -1
- package/codebase/locale/locale_nb.js +1 -1
- package/codebase/locale/locale_nl.js +1 -1
- package/codebase/locale/locale_no.js +1 -1
- package/codebase/locale/locale_pl.js +1 -1
- package/codebase/locale/locale_pt.js +1 -1
- package/codebase/locale/locale_ro.js +1 -1
- package/codebase/locale/locale_ru.js +1 -1
- package/codebase/locale/locale_si.js +1 -1
- package/codebase/locale/locale_sk.js +1 -1
- package/codebase/locale/locale_sv.js +1 -1
- package/codebase/locale/locale_tr.js +1 -1
- package/codebase/locale/locale_ua.js +1 -1
- package/codebase/sources/dhtmlxscheduler.js +83 -16
- package/codebase/sources/dhtmlxscheduler.js.map +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_active_links.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_agenda_view.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_all_timed.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_collision.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_container_autoresize.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_cookie.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_csp.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_editors.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_expand.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_html_templates.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_key_nav.js +52 -18
- package/codebase/sources/ext/dhtmlxscheduler_key_nav.js.map +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_layer.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_limit.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_map_view.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_minical.js +5 -1
- package/codebase/sources/ext/dhtmlxscheduler_minical.js.map +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_monthheight.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_multiselect.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_multisource.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_mvc.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_outerdrag.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_pdf.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_quick_info.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_readonly.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_recurring.js +103 -11
- package/codebase/sources/ext/dhtmlxscheduler_recurring.js.map +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_serialize.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_tooltip.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_url.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_wp.js +1 -1
- package/codebase/sources/ext/dhtmlxscheduler_year_view.js +1 -1
- package/codebase/sources/less/package.json +2 -2
- package/codebase/sources/less/skins/basic/ext.less +16 -7
- package/codebase/sources/less/skins/material/add_styles.less +2 -1
- package/codebase/sources/locale/locale_ar.js +1 -1
- package/codebase/sources/locale/locale_be.js +1 -1
- package/codebase/sources/locale/locale_ca.js +1 -1
- package/codebase/sources/locale/locale_cn.js +1 -1
- package/codebase/sources/locale/locale_cs.js +1 -1
- package/codebase/sources/locale/locale_da.js +1 -1
- package/codebase/sources/locale/locale_de.js +1 -1
- package/codebase/sources/locale/locale_el.js +1 -1
- package/codebase/sources/locale/locale_en.js +1 -1
- package/codebase/sources/locale/locale_es.js +1 -1
- package/codebase/sources/locale/locale_fi.js +1 -1
- package/codebase/sources/locale/locale_fr.js +1 -1
- package/codebase/sources/locale/locale_he.js +1 -1
- package/codebase/sources/locale/locale_hu.js +1 -1
- package/codebase/sources/locale/locale_id.js +1 -1
- package/codebase/sources/locale/locale_it.js +1 -1
- package/codebase/sources/locale/locale_jp.js +1 -1
- package/codebase/sources/locale/locale_nb.js +1 -1
- package/codebase/sources/locale/locale_nl.js +1 -1
- package/codebase/sources/locale/locale_no.js +1 -1
- package/codebase/sources/locale/locale_pl.js +1 -1
- package/codebase/sources/locale/locale_pt.js +1 -1
- package/codebase/sources/locale/locale_ro.js +1 -1
- package/codebase/sources/locale/locale_ru.js +1 -1
- package/codebase/sources/locale/locale_si.js +1 -1
- package/codebase/sources/locale/locale_sk.js +1 -1
- package/codebase/sources/locale/locale_sv.js +1 -1
- package/codebase/sources/locale/locale_tr.js +1 -1
- package/codebase/sources/locale/locale_ua.js +1 -1
- package/codebase/sources/skins/dhtmlxscheduler.css +13 -9
- package/codebase/sources/skins/dhtmlxscheduler_contrast_black.css +13 -9
- package/codebase/sources/skins/dhtmlxscheduler_contrast_white.css +13 -9
- package/codebase/sources/skins/dhtmlxscheduler_flat.css +13 -9
- package/codebase/sources/skins/dhtmlxscheduler_material.css +15 -10
- package/codebase/sources/skins/dhtmlxscheduler_terrace.css +13 -9
- package/package.json +1 -1
- package/whatsnew.md +26 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
|
|
3
3
|
@license
|
|
4
|
-
dhtmlxScheduler v.5.3.
|
|
4
|
+
dhtmlxScheduler v.5.3.14 Standard
|
|
5
5
|
|
|
6
6
|
To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com
|
|
7
7
|
|
|
@@ -16,7 +16,7 @@ t.keyCode>=96&&t.keyCode<=105&&(t.keyCode-=48);var a=String.fromCharCode(t.keyCo
|
|
|
16
16
|
return e.replace(/\s/g,"")},junctionChar:",",combinationChar:"+",commandKeys:{shift:16,alt:18,ctrl:17,meta:!0},specialKeys:{backspace:8,tab:9,enter:13,esc:27,space:32,up:38,down:40,left:37,right:39,home:36,end:35,pageup:33,pagedown:34,delete:46,insert:45,plus:107,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123}},e.$keyboardNavigation.EventHandler={_handlers:null,findHandler:function(t){this._handlers||(this._handlers={})
|
|
17
17
|
;var a=e.$keyboardNavigation.shortcuts,i=a.getHash(t);return this._handlers[i]},doAction:function(e,t){var a=this.findHandler(e);a&&(a.call(this,t),t.preventDefault?t.preventDefault():t.returnValue=!1)},bind:function(t,a){this._handlers||(this._handlers={});for(var i=e.$keyboardNavigation.shortcuts,n=i.parse(t),r=0;r<n.length;r++)this._handlers[i.getHash(n[r])]=a},unbind:function(t){
|
|
18
18
|
for(var a=e.$keyboardNavigation.shortcuts,i=a.parse(t),n=0;n<i.length;n++)this._handlers[a.getHash(i[n])]&&delete this._handlers[a.getHash(i[n])]},bindAll:function(e){for(var t in e)this.bind(t,e[t])},initKeys:function(){this._handlers||(this._handlers={}),this.keys&&this.bindAll(this.keys)}},function(){e.$keyboardNavigation.getFocusableNodes=e._getFocusableNodes,e.$keyboardNavigation.trapFocus=function(t,a){if(9!=a.keyCode)return!1
|
|
19
|
-
;for(var i=e.$keyboardNavigation.getFocusableNodes(t),n=document.activeElement,r=-1,o=0;o<i.length;o++)if(i[o]==n){r=o;break}var d,s;if(a.shiftKey){if(d=r<=0?i
|
|
19
|
+
;for(var i=e.$keyboardNavigation.getFocusableNodes(t),n=document.activeElement,r=-1,o=0;o<i.length;o++)if(i[o]==n){r=o;break}var d,s;if(a.shiftKey){if(d=r<=0?i.length-1:r-1,s=i[d])return s.focus(),a.preventDefault(),!0}else if(d=r>=i.length-1?0:r+1,s=i[d])return s.focus(),a.preventDefault(),!0;return!1}}(),e.$keyboardNavigation.marker={clear:function(){for(var t=e.$container.querySelectorAll(".dhx_focus_slot"),a=0;a<t.length;a++)t[a].parentNode.removeChild(t[a])},createElement:function(){
|
|
20
20
|
var e=document.createElement("div");return e.setAttribute("tabindex",-1),e.className="dhx_focus_slot",e},renderMultiple:function(t,a,i){for(var n=[],r=new Date(t),o=new Date(Math.min(a.valueOf(),e.date.add(e.date.day_start(new Date(t)),1,"day").valueOf()));r.valueOf()<a.valueOf();)n=n.concat(i.call(this,r,new Date(Math.min(o.valueOf(),a.valueOf())))),r=e.date.day_start(e.date.add(r,1,"day")),o=e.date.day_start(e.date.add(r,1,"day")),o=new Date(Math.min(o.valueOf(),a.valueOf()));return n},
|
|
21
21
|
render:function(t,a,i){this.clear();var n=[],r=e.$keyboardNavigation.TimeSlot.prototype._modes;switch(e.$keyboardNavigation.TimeSlot.prototype._getMode()){case r.units:n=this.renderVerticalMarker(t,a,i);break;case r.timeline:n=this.renderTimelineMarker(t,a,i);break;case r.year:n=n.concat(this.renderMultiple(t,a,this.renderYearMarker));break;case r.month:n=this.renderMonthMarker(t,a);break;case r.weekAgenda:n=n.concat(this.renderMultiple(t,a,this.renderWeekAgendaMarker));break;case r.list:
|
|
22
22
|
n=this.renderAgendaMarker(t,a);break;case r.dayColumns:n=n.concat(this.renderMultiple(t,a,this.renderVerticalMarker))}this.addWaiAriaLabel(n,t,a,i),this.addDataAttributes(n,t,a,i);for(var o=n.length-1;o>=0;o--)if(n[o].offsetWidth)return n[o];return null},addDataAttributes:function(t,a,i,n){for(var r=e.date.date_to_str(e.config.api_date),o=r(a),d=r(i),s=0;s<t.length;s++)t[s].setAttribute("data-start-date",o),t[s].setAttribute("data-end-date",d),n&&t[s].setAttribute("data-section",n)},
|
|
@@ -42,70 +42,70 @@ e.$keyboardNavigation.KeyNavNode=function(){},e.$keyboardNavigation.KeyNavNode.p
|
|
|
42
42
|
t=t||[".dhx_cal_navline .dhx_cal_prev_button",".dhx_cal_navline .dhx_cal_next_button",".dhx_cal_navline .dhx_cal_today_button",".dhx_cal_navline .dhx_cal_tab"].join(", ");var a=Array.prototype.slice.call(e.$container.querySelectorAll(t));return a.sort(function(e,t){return e.offsetLeft-t.offsetLeft}),a},_handlers:null,isValid:function(){return!!this.getNode(this.index)},fallback:function(){var t=this.getNode(0);return t||(t=new e.$keyboardNavigation.TimeSlot),t},keys:{left:function(){
|
|
43
43
|
var t=this.index-1;t<0&&(t=this.getNodes().length-1),this.moveTo(new e.$keyboardNavigation.HeaderCell(t))},right:function(){var t=this.index+1;t>=this.getNodes().length&&(t=0),this.moveTo(new e.$keyboardNavigation.HeaderCell(t))},down:function(){this.moveTo(new e.$keyboardNavigation.TimeSlot)},enter:function(){var e=this.getNode();e&&e.click()}}}),e.$keyboardNavigation.HeaderCell.prototype.bindAll(e.$keyboardNavigation.HeaderCell.prototype.keys),e.$keyboardNavigation.Event=function(t){
|
|
44
44
|
if(this.eventId=null,e.getEvent(t)){var a=e.getEvent(t);this.start=new Date(a.start_date),this.end=new Date(a.end_date),this.section=this._getSection(a),this.eventId=t}},e.$keyboardNavigation.Event.prototype=e._compose(e.$keyboardNavigation.KeyNavNode,{_getNodes:function(){return Array.prototype.slice.call(e.$container.querySelectorAll("[event_id]"))},_modes:e.$keyboardNavigation.SchedulerNode.prototype._modes,getMode:e.$keyboardNavigation.SchedulerNode.prototype.getMode,_handlers:null,
|
|
45
|
-
isValid:function(){return!(!e.getEvent(this.eventId)||!this.getNode())},fallback:function(){var t=this._getNodes()[0],a=null;if(t&&e._locate_event(t)){var i=e._locate_event(t);a=new e.$keyboardNavigation.Event(i)}else a=new e.$keyboardNavigation.TimeSlot;return a},
|
|
46
|
-
var
|
|
47
|
-
;(t.start_date.valueOf()>a.max_date.valueOf()||t.end_date.valueOf()<=a.min_date.valueOf())&&e.setCurrentView(t.start_date)
|
|
48
|
-
var a=e.getEvent(this.eventId);if(a){var i=this._getSection(a),n=new e.$keyboardNavigation.TimeSlot(a.start_date,null,i);this.moveTo(n.nextSlot(n,t))}else this.moveTo(new e.$keyboardNavigation.TimeSlot)},keys:{left:function(){this._moveToSlot("left")},right:function(){this._moveToSlot("right")},
|
|
49
|
-
|
|
50
|
-
e.$keyboardNavigation.Event.prototype.bindAll(e.$keyboardNavigation.Event.prototype.keys),e.$keyboardNavigation.TimeSlot=function(t,a,i,n){var r=e.getState(),o=e.matrix&&e.matrix[r.mode];t||(t=this.getDefaultDate()),
|
|
51
|
-
e.$keyboardNavigation.TimeSlot.prototype=e._compose(e.$keyboardNavigation.KeyNavNode,{_handlers:null,getDefaultDate:function(){var t,a=e.getState(),i=
|
|
52
|
-
;n.
|
|
53
|
-
|
|
54
|
-
;
|
|
55
|
-
e.$keyboardNavigation.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
;
|
|
59
|
-
s.start_date=this.findVisibleColumn(e.date.add(s.start_date
|
|
60
|
-
|
|
61
|
-
d.days>1
|
|
62
|
-
var i=t.getMinutes(),n=t.getHours(),r=e.config.first_hour,o=e.config.last_hour;return n>=r||!a&&!i&&(!n&&24==o||n==o)},isInVisibleDayTime:function(e,t){return this.isBeforeLastHour(e,t)&&this.isAfterFirstHour(e,t)},
|
|
63
|
-
var
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
n.setHours(e.config.last_hour),{start_date:i,end_date:n}},nextAgendaSlot:function(e,t){return{start_date:e.start_date,end_date:e.end_date}},isDateVisible:function(t){if(!e._ignores_detected)return!0
|
|
67
|
-
;for(var n=e.getState();!this.isDateVisible(i)&&(a>0&&i.valueOf()<=n.max_date.valueOf()||a<0&&i.valueOf()>=n.min_date.valueOf());)i=this.nextDateColumn(i,a);return i},nextDateColumn:function(t,a){a=a||1;var i=e.matrix&&e.matrix[e.getState().mode];return i?e.date.add(t,a*i.x_step,i.x_unit):e.date.day_start(e.date.add(t,a,"day"))},
|
|
68
|
-
return!1},nextSlot:function(t,a,i,n){var r;i=i||this._getMode();var o=e.$keyboardNavigation.TimeSlot.prototype.clone(t);switch(i){case this._modes.units:r=this.nextUnitsSlot(o,a,n);break;case this._modes.timeline:r=this.nextTimelineSlot(o,a,n);break;case this._modes.year:case this._modes.month:r=this.nextMonthSlot(o,a,n);break
|
|
69
|
-
r=this.nextDaySlot(o,a,n)}return r.start_date.valueOf()>=r.end_date.valueOf()&&(r=this.nextSlot(r,a,i)),e.$keyboardNavigation.TimeSlot.prototype.clone(r)},extendSlot:function(t,a){var i,n=this._getMode();switch(n){case this._modes.units:i="left"==a||"right"==a?this.nextUnitsSlot(t,a):this.extendUnitsSlot(t,a);break;case this._modes.timeline:
|
|
70
|
-
;break;case this._modes.dayColumns:i=this.extendDaySlot(t,a);break;case this._modes.weekAgenda:i=this.extendWeekAgendaSlot(t,a);break;default:i=t}var r=e.getState();return i.start_date.valueOf()<r.min_date.valueOf()&&(i.start_date=this.findVisibleColumn(r.min_date),i.start_date.setHours(e.config.first_hour)),
|
|
71
|
-
return this.extendGenericSlot({left:"start_date",right:"end_date"},e,t,"timeline")},extendWeekAgendaSlot:function(e,t){return this.extendGenericSlot({left:"start_date",right:"end_date"},e,t,"weekAgenda")},extendGenericSlot:function(t,a,i,n){var r,o=a.movingDate;if(o||(o=t[i]),!o||!t[i])return a
|
|
72
|
-
start_date:r.start_date,section:r.section},i,n,!0)),r.movingDate=o;var d=this.extendSlotDates(a,r,r.movingDate);return d.end_date.valueOf()<=d.start_date.valueOf()&&(r.movingDate="end_date"==r.movingDate?"start_date":"end_date"),d=this.extendSlotDates(a,r,r.movingDate),r.start_date=d.start_date,
|
|
73
|
-
i.end_date=t.start_date),i},extendMonthSlot:function(t,a){var t=this.extendGenericSlot({up:"start_date",down:"end_date",left:"start_date",right:"end_date"},t,a,"month");return t.start_date.setHours(e.config.first_hour),t.end_date=e.date.add(t.end_date,-1,"day"),t.end_date.setHours(e.config.last_hour),t},
|
|
74
|
-
return this.extendGenericSlot({up:"start_date",down:"end_date",left:"start_date",right:"end_date"},e,t,"dayColumns")},scrollSlot:function(t){var a=e.getState(),i=this.nextSlot(this,t);(i.start_date.valueOf()<a.min_date.valueOf()||i.start_date.valueOf()>=a.max_date.valueOf())&&e.setCurrentView(new Date(i.start_date)),this.moveTo(i)
|
|
75
|
-
this._getMode()==this._modes.list?e.$keyboardNavigation.SchedulerNode.prototype.nextEventHandler():this.scrollSlot("down")},up:function(){this._getMode()==this._modes.list?e.$keyboardNavigation.SchedulerNode.prototype.prevEventHandler():this.scrollSlot("up")},"shift+down":function(){this.moveTo(this.extendSlot(this,"down"))},"shift+up":function(){this.moveTo(this.extendSlot(this,"up"))},
|
|
76
|
-
this.moveTo(this.extendSlot(this,"left"))},enter:function(){var t={start_date:new Date(this.start_date),end_date:new Date(this.end_date)},a=e.getState().mode;if(e.matrix&&e.matrix[a]){t[e.matrix[e.getState().mode].y_property]=this.section}else if(e._props&&e._props[a]){var i=e._props[a];t[i.map_to]=this.section}e.addEventNow(t)}}}),
|
|
77
|
-
this.index=t||0},e.$keyboardNavigation.MinicalButton.prototype=e._compose(e.$keyboardNavigation.KeyNavNode,{isValid:function(){return!!this.container.offsetWidth},fallback:function(){var t=new e.$keyboardNavigation.TimeSlot;return t.isValid()?t:new e.$keyboardNavigation.DataArea},focus:function(){
|
|
78
|
-
this.container.setAttribute("tabindex","0"),e.$keyboardNavigation.KeyNavNode.prototype.blur.apply(this)},getNode:function(){return this.index?this.container.querySelector(".dhx_cal_next_button"):this.container.querySelector(".dhx_cal_prev_button")},keys:{right:function(t){
|
|
79
|
-
var t=new e.$keyboardNavigation.MinicalCell(this.container,0,0);t&&!t.isValid()&&(t=t.fallback()),this.moveTo(t)},enter:function(e){this.getNode().click()}}}),e.$keyboardNavigation.MinicalButton.prototype.bindAll(e.$keyboardNavigation.MinicalButton.prototype.keys),
|
|
80
|
-
;return!(!e[this.row]||!e[this.row][this.col])},fallback:function(){var t=this.row,a=this.col,i=this._getGrid();i[t]||(t=0);var n=!0;if(t>i.length/2&&(n=!1),!i[t]){var r=new e.$keyboardNavigation.TimeSlot;return r.isValid()?r:new e.$keyboardNavigation.DataArea}if(n){
|
|
81
|
-
i[t][o])return new e.$keyboardNavigation.MinicalCell(this.container,t,o);return new e.$keyboardNavigation.MinicalButton(this.container,0)},focus:function(){e.$keyboardNavigation.dispatcher.globalNode.disable(),this.container.removeAttribute("tabindex"),
|
|
82
|
-
return this.container.querySelector(".dhx_year_body tr:nth-child("+(e+1)+") td:nth-child("+(t+1)+")")},getNode:function(){return this._getNode(this.row,this.col)},_getGrid:function(){for(var t=this.container.querySelectorAll(".dhx_year_body tr"),a=[],i=0;i<t.length;i++){a[i]=[]
|
|
83
|
-
|
|
84
|
-
var
|
|
85
|
-
enter:function(e){this.getNode().querySelector(".dhx_month_head").click()}}}),e.$keyboardNavigation.MinicalCell.prototype.bindAll(e.$keyboardNavigation.MinicalCell.prototype.keys),e.$keyboardNavigation.DataArea=function(e){this.index=e||0},
|
|
86
|
-
"up,down,right,left":function(){this.moveTo(new e.$keyboardNavigation.TimeSlot)}}}),e.$keyboardNavigation.DataArea.prototype.bindAll(e.$keyboardNavigation.DataArea.prototype.keys),dhtmlx._modalsStack||(dhtmlx._modalsStack=[]),function(){function t(){
|
|
87
|
-
e.event(t,"keydown",d),_.push(t)}function r(){var t=_.pop();t&&e.eventRemove(t,"keydown",d),i(t)}function o(e){return dhtmlx._modalsStack.length?e==dhtmlx._modalsStack[dhtmlx._modalsStack.length-1]:e==_[_.length-1]}function d(t){
|
|
88
|
-
dhtmlx._keyNavMessagePopup=!0;var l=null,c=null;dhtmlx.attachEvent("onMessagePopup",function(t){for(l=document.activeElement,c=l;c&&e._getClassName(c).indexOf("dhx_cal_data")<0;)c=c.parentNode;c&&(c=c.parentNode),
|
|
89
|
-
for(var t=document.activeElement;t&&e._getClassName(t).indexOf("dhx_cal_light")<0;)t=t.parentNode;t||(l&&l.parentNode?l.focus():c&&c.parentNode&&c.focus(),l=null,c=null)},1)})}e.$keyboardNavigation.isModal=t}(),e.$keyboardNavigation.dispatcher={isActive:!1,activeNode:null,
|
|
90
|
-
i=n.scrollLeft),t(),n&&(n.scrollTop=a,n.scrollLeft=i)},enable:function(){if(e.$container){this.isActive=!0;var t=this;this.keepScrollPosition(function(){t.globalNode.enable(),t.setActiveNode(t.getActiveNode())})}},disable:function(){this.isActive=!1,this.globalNode.disable()},
|
|
91
|
-
|
|
92
|
-
blurNode:function(e){e&&e.blur&&e.blur()},getInlineEditor:function(t){var a=e.$container.querySelector(".dhx_cal_editor[event_id='"+t+"'] textarea");return a&&a.offsetWidth?a:null},
|
|
93
|
-
;var i=this.globalNode,n=e.$keyboardNavigation.shortcuts.getCommandFromEvent(t);a?a.findHandler(n)?a.doAction(n,t):i.findHandler(n)&&i.doAction(n,t):this.setDefaultNode()}}},_timeout:null,
|
|
94
|
-
a=e.$keyboardNavigation.dispatcher.isEnabled(),t||a}function i(e){delete e.rec_type,delete e.rec_pattern,delete e.event_pid,delete e.event_length}function n(t){return e._lame_copy({},t)}function r(){
|
|
95
|
-
e.event(document.body,"mousemove",t)}),e.attachEvent("onMouseMove",function(t,a){var i=e.getState();if(i.mode&&i.min_date){var n=e.getActionData(a);e.$keyboardNavigation._pasteDate=n.date,
|
|
96
|
-
;e.config.multisection?d[s]=t[s]:d[s]=r}return d},e._do_paste=function(t,a,i){!1!==e.callEvent("onBeforeEventPasted",[t,a,i])&&(e.addEvent(a),e.callEvent("onEventPasted",[t,a,i]))},
|
|
97
|
-
e.
|
|
98
|
-
e.
|
|
99
|
-
;return!(!t||e._locate_css(t,"dhx_cal_quick_info",!1))&&(e.$keyboardNavigation.isChildOf(t,e.$container)||e.$keyboardNavigation.isMinical(t))}}function a(e){e&&!i.isEnabled()?i.enable():!e&&i.isEnabled()&&i.disable()}e.$keyboardNavigation.attachSchedulerHandlers=function(){
|
|
100
|
-
;e._locate_event(t.target||t.srcElement)?a=new e.$keyboardNavigation.Event(e._locate_event(t.target||t.srcElement)):i&&(a=new e.$keyboardNavigation.TimeSlot,r.date&&i&&(a=a.nextSlot(new e.$keyboardNavigation.TimeSlot(r.date,null,r.section)))),a&&(n.isEnabled()?r.date&&i&&n.delay(function(){n.setActiveNode(a)}):n.activeNode=a)}
|
|
101
|
-
var r=i.start||a.start,o=i.end||a.end,d=i.section||a.section;i=new e.$keyboardNavigation.TimeSlot(r,o,d),i.isValid()||(i=new e.$keyboardNavigation.TimeSlot)}n.setActiveNode(i);var s=n.getActiveNode();s&&s.getNode&&document.activeElement!=s.getNode()&&n.focusNode(n.getActiveNode())}}var i,n=e.$keyboardNavigation.dispatcher,r=function(t){
|
|
102
|
-
e.config.key_nav&&n.isEnabled()&&!e.getState().editor_id&&(clearTimeout(i),i=setTimeout(function(){n.isEnabled()||n.enable(),d()}))});var d=function(){if(n.isEnabled()){var t=n.getActiveNode();t&&(t.isValid()||(t=t.fallback())
|
|
103
|
-
e.eventRemove(a,"mousedown",t),e.eventRemove(a,"focus",o),e.config.key_nav?(e.event(document,"keydown",r),e.event(a,"mousedown",t),e.event(a,"focus",o),a.setAttribute("tabindex","0")):a.removeAttribute("tabindex")});var s=e.updateEvent
|
|
104
|
-
if(
|
|
105
|
-
for(var a=e.$keyboardNavigation._minicalendars,i=0;i<a.length;i++)if(this.isChildOf(t,a[i]))return!0;return!1},e.$keyboardNavigation.isChildOf=function(e,t){for(;e&&e!==t;)e=e.parentNode;return!(e!==t)},e.$keyboardNavigation.patchMinicalendar=function(){function t(t){var a=t.target
|
|
106
|
-
var a=t.target||t.srcElement,n=e._locate_css(t,"dhx_cal_prev_button",!1),r=e._locate_css(t,"dhx_cal_next_button",!1),o=e._locate_css(t,"dhx_year_body",!1),d=0,s=0;if(o){for(var _,l,c=a;c&&"td"!=c.tagName.toLowerCase();)c=c.parentNode;if(c&&(l=c,_=l.parentNode),_&&l){for(var h=_.parentNode.querySelectorAll("tr"),u=0;u<h.length;u++)if(h[u]==_){d=u;break}
|
|
107
|
-
;n?(t=new e.$keyboardNavigation.MinicalButton(v,0),i.setActiveNode(new e.$keyboardNavigation.MinicalButton(v,0))):r?t=new e.$keyboardNavigation.MinicalButton(v,1):o&&(t=new e.$keyboardNavigation.MinicalCell(v,d,s)),t&&(i.enable(),t.isValid()&&(i.activeNode=null,i.setActiveNode(t)))}})}var i=e.$keyboardNavigation.dispatcher;if(e.renderCalendar){
|
|
108
|
-
e.event(r,"click",a),e.eventRemove(r,"focus",t),e.event(r,"focus",t);for(var d=!1,s=0;s<o.length;s++)if(o[s]==r){d=!0;break}if(d||o.push(r),i.isEnabled()){var _=i.getActiveNode();_&&_.container==r?i.focusNode(_):r.setAttribute("tabindex","0")}else r.setAttribute("tabindex","0");return r}}if(e.destroyCalendar){var r=e.destroyCalendar
|
|
109
|
-
;if(!a||!a.parentNode)for(var o=e.$keyboardNavigation._minicalendars,d=0;d<o.length;d++)o[d]==a&&(e.eventRemove(o[d],"focus",t),o.splice(d,1),d--);return n}}};var i=e.$keyboardNavigation.dispatcher;if(e.$keyboardNavigation.attachSchedulerHandlers(),e.renderCalendar)e.$keyboardNavigation.patchMinicalendar();else var n=e.attachEvent("onSchedulerReady",function(){e.detachEvent(n),
|
|
110
|
-
if(e.$container&&e.$keyboardNavigation.isChildOf(e.$container,document.body)){var n=t();n?a(n):!n&&i.isEnabled()&&setTimeout(function(){e.config.key_nav?a(t()):e.$container.removeAttribute("tabindex")},100)}},500)}()}window.Scheduler?window.Scheduler.plugin(e):e(window.scheduler)}();
|
|
45
|
+
isValid:function(){return!(!e.getEvent(this.eventId)||!this.getNode())},fallback:function(){var t=this._getNodes()[0],a=null;if(t&&e._locate_event(t)){var i=e._locate_event(t);a=new e.$keyboardNavigation.Event(i)}else a=new e.$keyboardNavigation.TimeSlot;return a},isScrolledIntoView:function(t){var a=t.getBoundingClientRect(),i=e.$container.querySelector(".dhx_cal_data").getBoundingClientRect();return!(a.bottom<i.top||a.top>i.bottom)},getNode:function(){
|
|
46
|
+
var t="[event_id='"+this.eventId+"']",a=e.$keyboardNavigation.dispatcher.getInlineEditor(this.eventId);if(a)return a;if(e.isMultisectionEvent&&e.isMultisectionEvent(e.getEvent(this.eventId))){for(var i=e.$container.querySelectorAll(t),n=0;n<i.length;n++)if(this.isScrolledIntoView(i[n]))return i[n];return i[0]}return e.$container.querySelector(t)},focus:function(){var t=e.getEvent(this.eventId),a=e.getState()
|
|
47
|
+
;(t.start_date.valueOf()>a.max_date.valueOf()||t.end_date.valueOf()<=a.min_date.valueOf())&&e.setCurrentView(t.start_date);var i=this.getNode();this.isScrolledIntoView(i)?e.$keyboardNavigation.dispatcher.keepScrollPosition(function(){e.$keyboardNavigation.KeyNavNode.prototype.focus.apply(this)}.bind(this)):e.$keyboardNavigation.KeyNavNode.prototype.focus.apply(this)},blur:function(){e.$keyboardNavigation.KeyNavNode.prototype.blur.apply(this)},_getSection:function(t){
|
|
48
|
+
var a=null,i=e.getState().mode;if(e.matrix&&e.matrix[i]){a=t[e.matrix[e.getState().mode].y_property]}else if(e._props&&e._props[i]){var n=e._props[i];a=t[n.map_to]}return a},_moveToSlot:function(t){var a=e.getEvent(this.eventId);if(a){var i=this._getSection(a),n=new e.$keyboardNavigation.TimeSlot(a.start_date,null,i);this.moveTo(n.nextSlot(n,t))}else this.moveTo(new e.$keyboardNavigation.TimeSlot)},keys:{left:function(){this._moveToSlot("left")},right:function(){this._moveToSlot("right")},
|
|
49
|
+
down:function(){this.getMode()==this._modes.list?e.$keyboardNavigation.SchedulerNode.prototype.nextEventHandler():this._moveToSlot("down")},space:function(){var t=this.getNode();t&&t.click?t.click():this.moveTo(new e.$keyboardNavigation.TimeSlot)},up:function(){this.getMode()==this._modes.list?e.$keyboardNavigation.SchedulerNode.prototype.prevEventHandler():this._moveToSlot("up")},delete:function(){
|
|
50
|
+
e.getEvent(this.eventId)?e._click.buttons.delete(this.eventId):this.moveTo(new e.$keyboardNavigation.TimeSlot)},enter:function(){e.getEvent(this.eventId)?e.showLightbox(this.eventId):this.moveTo(new e.$keyboardNavigation.TimeSlot)}}}),e.$keyboardNavigation.Event.prototype.bindAll(e.$keyboardNavigation.Event.prototype.keys),e.$keyboardNavigation.TimeSlot=function(t,a,i,n){var r=e.getState(),o=e.matrix&&e.matrix[r.mode];t||(t=this.getDefaultDate()),
|
|
51
|
+
a||(a=o?e.date.add(t,o.x_step,o.x_unit):e.date.add(t,e.config.key_nav_step,"minute")),this.section=i||this._getDefaultSection(),this.start_date=new Date(t),this.end_date=new Date(a),this.movingDate=n||null},e.$keyboardNavigation.TimeSlot.prototype=e._compose(e.$keyboardNavigation.KeyNavNode,{_handlers:null,getDefaultDate:function(){var t,a=e.getState(),i=new Date(a.date);i.setSeconds(0),i.setMilliseconds(0);var n=new Date;n.setSeconds(0),n.setMilliseconds(0);var r=e.matrix&&e.matrix[a.mode],o=!1
|
|
52
|
+
;if(i.valueOf()===n.valueOf()&&(o=!0),r)o?("day"===r.x_unit?(n.setHours(0),n.setMinutes(0)):"hour"===r.x_unit&&n.setMinutes(0),t=n):t=e.date[r.name+"_start"](new Date(a.date)),t=this.findVisibleColumn(t);else if(t=new Date(e.getState().min_date),o&&(t=n),t=this.findVisibleColumn(t),o||t.setHours(e.config.first_hour),!e._table_view){var d=e.$container.querySelector(".dhx_cal_data");d.scrollTop&&t.setHours(e.config.first_hour+Math.ceil(d.scrollTop/e.config.hour_size_px))}return t},
|
|
53
|
+
clone:function(t){return new e.$keyboardNavigation.TimeSlot(t.start_date,t.end_date,t.section,t.movingDate)},_getMultisectionView:function(){var t,a=e.getState();return e._props&&e._props[a.mode]?t=e._props[a.mode]:e.matrix&&e.matrix[a.mode]&&(t=e.matrix[a.mode]),t},_getDefaultSection:function(){var e=null;return this._getMultisectionView()&&!e&&(e=this._getNextSection()),e},_getNextSection:function(e,t){var a=this._getMultisectionView(),i=a.order[e],n=i
|
|
54
|
+
;n=void 0!==i?i+t:a.size&&a.position?a.position:0,n=n<0?n=(a.options||a.y_unit).length-1:n;var r=a.options||a.y_unit;return r[n]?r[n].key:null},isValid:function(){var t=e.getState();if(this.start_date.valueOf()<t.min_date.valueOf()||this.start_date.valueOf()>=t.max_date.valueOf())return!1;if(!this.isVisible(this.start_date,this.end_date))return!1;var a=this._getMultisectionView();return!a||void 0!==a.order[this.section]},fallback:function(){var t=new e.$keyboardNavigation.TimeSlot
|
|
55
|
+
;return t.isValid()?t:new e.$keyboardNavigation.DataArea},getNodes:function(){return Array.prototype.slice.call(e.$container.querySelectorAll(".dhx_focus_slot"))},getNode:function(){return this.getNodes()[0]},focus:function(){e.$keyboardNavigation.marker.render(this.start_date,this.end_date,this.section),e.$keyboardNavigation.KeyNavNode.prototype.focus.apply(this),e.$keyboardNavigation._pasteDate=this.start_date,e.$keyboardNavigation._pasteSection=this.section},blur:function(){
|
|
56
|
+
e.$keyboardNavigation.KeyNavNode.prototype.blur.apply(this),e.$keyboardNavigation.marker.clear()},_modes:e.$keyboardNavigation.SchedulerNode.prototype._modes,_getMode:e.$keyboardNavigation.SchedulerNode.prototype.getMode,addMonthDate:function(t,a,i){var n;switch(a){case"up":n=e.date.add(t,-1,"week");break;case"down":n=e.date.add(t,1,"week");break;case"left":n=e.date.day_start(e.date.add(t,-1,"day")),n=this.findVisibleColumn(n,-1);break;case"right":n=e.date.day_start(e.date.add(t,1,"day")),
|
|
57
|
+
n=this.findVisibleColumn(n,1);break;default:n=e.date.day_start(new Date(t))}var r=e.getState();return(t.valueOf()<r.min_date.valueOf()||!i&&t.valueOf()>=r.max_date.valueOf())&&(n=new Date(r.min_date)),n},nextMonthSlot:function(t,a,i){var n,r;return n=this.addMonthDate(t.start_date,a,i),n.setHours(e.config.first_hour),r=new Date(n),r.setHours(e.config.last_hour),{start_date:n,end_date:r}},_alignTimeSlot:function(t,a,i,n){for(var r=new Date(a);r.valueOf()<t.valueOf();)r=e.date.add(r,n,i)
|
|
58
|
+
;return r.valueOf()>t.valueOf()&&(r=e.date.add(r,-n,i)),r},nextTimelineSlot:function(t,a,i){var n=e.getState(),r=e.matrix[n.mode],o=this._alignTimeSlot(t.start_date,e.date[r.name+"_start"](new Date(t.start_date)),r.x_unit,r.x_step),d=this._alignTimeSlot(t.end_date,e.date[r.name+"_start"](new Date(t.end_date)),r.x_unit,r.x_step);d.valueOf()<=o.valueOf()&&(d=e.date.add(o,r.x_step,r.x_unit));var s=this.clone(t);switch(s.start_date=o,s.end_date=d,s.section=t.section||this._getNextSection(),a){
|
|
59
|
+
case"up":s.section=this._getNextSection(t.section,-1);break;case"down":s.section=this._getNextSection(t.section,1);break;case"left":s.start_date=this.findVisibleColumn(e.date.add(s.start_date,-r.x_step,r.x_unit),-1),s.end_date=e.date.add(s.start_date,r.x_step,r.x_unit);break;case"right":s.start_date=this.findVisibleColumn(e.date.add(s.start_date,r.x_step,r.x_unit),1),s.end_date=e.date.add(s.start_date,r.x_step,r.x_unit)}
|
|
60
|
+
return(s.start_date.valueOf()<n.min_date.valueOf()||s.start_date.valueOf()>=n.max_date.valueOf())&&(i&&s.start_date.valueOf()>=n.max_date.valueOf()?s.start_date=new Date(n.max_date):(s.start_date=e.date[n.mode+"_start"](e.date.add(n.date,"left"==a?-1:1,n.mode)),s.end_date=e.date.add(s.start_date,r.x_step,r.x_unit))),s},nextUnitsSlot:function(t,a,i){var n=this.clone(t);n.section=t.section||this._getNextSection();var r=t.section||this._getNextSection(),o=e.getState(),d=e._props[o.mode];switch(a){
|
|
61
|
+
case"left":r=this._getNextSection(t.section,-1);var s=d.size?d.size-1:d.options.length;d.days>1&&d.order[r]==s-1&&e.date.add(t.start_date,-1,"day").valueOf()>=o.min_date.valueOf()&&(n=this.nextDaySlot(t,a,i));break;case"right":r=this._getNextSection(t.section,1),d.days>1&&!d.order[r]&&e.date.add(t.start_date,1,"day").valueOf()<o.max_date.valueOf()&&(n=this.nextDaySlot(t,a,i));break;default:n=this.nextDaySlot(t,a,i),r=t.section}return n.section=r,n},_moveDate:function(t,a){
|
|
62
|
+
var i=this.findVisibleColumn(e.date.add(t,a,"day"),a);return i.setHours(t.getHours()),i.setMinutes(t.getMinutes()),i},isBeforeLastHour:function(t,a){var i=t.getMinutes(),n=t.getHours(),r=e.config.last_hour;return n<r||!a&&(24==r||n==r)&&!i},isAfterFirstHour:function(t,a){var i=t.getMinutes(),n=t.getHours(),r=e.config.first_hour,o=e.config.last_hour;return n>=r||!a&&!i&&(!n&&24==o||n==o)},isInVisibleDayTime:function(e,t){return this.isBeforeLastHour(e,t)&&this.isAfterFirstHour(e,t)},
|
|
63
|
+
nextDaySlot:function(t,a,i){var n,r,o=e.config.key_nav_step,d=this._alignTimeSlot(t.start_date,e.date.day_start(new Date(t.start_date)),"minute",o),s=t.start_date;switch(a){case"up":if(n=e.date.add(d,-o,"minute"),!this.isInVisibleDayTime(n,!0)&&(!i||this.isInVisibleDayTime(s,!0))){var _=!0;i&&e.date.date_part(new Date(n)).valueOf()!=e.date.date_part(new Date(s)).valueOf()&&(_=!1),_&&(n=this.findVisibleColumn(e.date.add(t.start_date,-1,"day"),-1)),n.setHours(e.config.last_hour),n.setMinutes(0),
|
|
64
|
+
n=e.date.add(n,-o,"minute")}r=e.date.add(n,o,"minute");break;case"down":n=e.date.add(d,o,"minute");var l=i?n:e.date.add(n,o,"minute");if(!this.isInVisibleDayTime(l,!1)&&(!i||this.isInVisibleDayTime(s,!1)))if(i){var _=!0;e.date.date_part(new Date(s)).valueOf()==s.valueOf()&&(_=!1),_&&(n=this.findVisibleColumn(e.date.add(t.start_date,1,"day"),1)),n.setHours(e.config.first_hour),n.setMinutes(0),n=e.date.add(n,o,"minute")}else n=this.findVisibleColumn(e.date.add(t.start_date,1,"day"),1),
|
|
65
|
+
n.setHours(e.config.first_hour),n.setMinutes(0);r=e.date.add(n,o,"minute");break;case"left":n=this._moveDate(t.start_date,-1),r=this._moveDate(t.end_date,-1);break;case"right":n=this._moveDate(t.start_date,1),r=this._moveDate(t.end_date,1);break;default:n=d,r=e.date.add(n,o,"minute")}return{start_date:n,end_date:r}},nextWeekAgendaSlot:function(t,a){var i,n,r=e.getState();switch(a){case"down":case"left":i=e.date.day_start(e.date.add(t.start_date,-1,"day")),i=this.findVisibleColumn(i,-1);break
|
|
66
|
+
;case"up":case"right":i=e.date.day_start(e.date.add(t.start_date,1,"day")),i=this.findVisibleColumn(i,1);break;default:i=e.date.day_start(t.start_date)}return(t.start_date.valueOf()<r.min_date.valueOf()||t.start_date.valueOf()>=r.max_date.valueOf())&&(i=new Date(r.min_date)),n=new Date(i),n.setHours(e.config.last_hour),{start_date:i,end_date:n}},nextAgendaSlot:function(e,t){return{start_date:e.start_date,end_date:e.end_date}},isDateVisible:function(t){if(!e._ignores_detected)return!0
|
|
67
|
+
;var a,i=e.matrix&&e.matrix[e.getState().mode];return a=i?e._get_date_index(i,t):e.locate_holder_day(t),!e._ignores[a]},findVisibleColumn:function(t,a){var i=t;a=a||1;for(var n=e.getState();!this.isDateVisible(i)&&(a>0&&i.valueOf()<=n.max_date.valueOf()||a<0&&i.valueOf()>=n.min_date.valueOf());)i=this.nextDateColumn(i,a);return i},nextDateColumn:function(t,a){a=a||1;var i=e.matrix&&e.matrix[e.getState().mode];return i?e.date.add(t,a*i.x_step,i.x_unit):e.date.day_start(e.date.add(t,a,"day"))},
|
|
68
|
+
isVisible:function(t,a){if(!e._ignores_detected)return!0;for(var i=new Date(t);i.valueOf()<a.valueOf();){if(this.isDateVisible(i))return!0;i=this.nextDateColumn(i)}return!1},nextSlot:function(t,a,i,n){var r;i=i||this._getMode();var o=e.$keyboardNavigation.TimeSlot.prototype.clone(t);switch(i){case this._modes.units:r=this.nextUnitsSlot(o,a,n);break;case this._modes.timeline:r=this.nextTimelineSlot(o,a,n);break;case this._modes.year:case this._modes.month:r=this.nextMonthSlot(o,a,n);break
|
|
69
|
+
;case this._modes.weekAgenda:r=this.nextWeekAgendaSlot(o,a,n);break;case this._modes.list:r=this.nextAgendaSlot(o,a,n);break;case this._modes.dayColumns:r=this.nextDaySlot(o,a,n)}return r.start_date.valueOf()>=r.end_date.valueOf()&&(r=this.nextSlot(r,a,i)),e.$keyboardNavigation.TimeSlot.prototype.clone(r)},extendSlot:function(t,a){var i,n=this._getMode();switch(n){case this._modes.units:i="left"==a||"right"==a?this.nextUnitsSlot(t,a):this.extendUnitsSlot(t,a);break;case this._modes.timeline:
|
|
70
|
+
i="down"==a||"up"==a?this.nextTimelineSlot(t,a):this.extendTimelineSlot(t,a);break;case this._modes.year:case this._modes.month:i=this.extendMonthSlot(t,a);break;case this._modes.dayColumns:i=this.extendDaySlot(t,a);break;case this._modes.weekAgenda:i=this.extendWeekAgendaSlot(t,a);break;default:i=t}var r=e.getState();return i.start_date.valueOf()<r.min_date.valueOf()&&(i.start_date=this.findVisibleColumn(r.min_date),i.start_date.setHours(e.config.first_hour)),
|
|
71
|
+
i.end_date.valueOf()>r.max_date.valueOf()&&(i.end_date=this.findVisibleColumn(r.max_date,-1)),e.$keyboardNavigation.TimeSlot.prototype.clone(i)},extendTimelineSlot:function(e,t){return this.extendGenericSlot({left:"start_date",right:"end_date"},e,t,"timeline")},extendWeekAgendaSlot:function(e,t){return this.extendGenericSlot({left:"start_date",right:"end_date"},e,t,"weekAgenda")},extendGenericSlot:function(t,a,i,n){var r,o=a.movingDate;if(o||(o=t[i]),!o||!t[i])return a
|
|
72
|
+
;if(!i)return e.$keyboardNavigation.TimeSlot.prototype.clone(a);r=this.nextSlot({start_date:a[o],section:a.section},i,n,!0),r.start_date.valueOf()==a.start_date.valueOf()&&(r=this.nextSlot({start_date:r.start_date,section:r.section},i,n,!0)),r.movingDate=o;var d=this.extendSlotDates(a,r,r.movingDate);return d.end_date.valueOf()<=d.start_date.valueOf()&&(r.movingDate="end_date"==r.movingDate?"start_date":"end_date"),d=this.extendSlotDates(a,r,r.movingDate),r.start_date=d.start_date,
|
|
73
|
+
r.end_date=d.end_date,r},extendSlotDates:function(e,t,a){var i={start_date:null,end_date:null};return"start_date"==a?(i.start_date=t.start_date,i.end_date=e.end_date):(i.start_date=e.start_date,i.end_date=t.start_date),i},extendMonthSlot:function(t,a){var t=this.extendGenericSlot({up:"start_date",down:"end_date",left:"start_date",right:"end_date"},t,a,"month");return t.start_date.setHours(e.config.first_hour),t.end_date=e.date.add(t.end_date,-1,"day"),t.end_date.setHours(e.config.last_hour),t},
|
|
74
|
+
extendUnitsSlot:function(e,t){var a;switch(t){case"down":case"up":a=this.extendDaySlot(e,t);break;default:a=e}return a.section=e.section,a},extendDaySlot:function(e,t){return this.extendGenericSlot({up:"start_date",down:"end_date",left:"start_date",right:"end_date"},e,t,"dayColumns")},scrollSlot:function(t){var a=e.getState(),i=this.nextSlot(this,t);(i.start_date.valueOf()<a.min_date.valueOf()||i.start_date.valueOf()>=a.max_date.valueOf())&&e.setCurrentView(new Date(i.start_date)),this.moveTo(i)
|
|
75
|
+
},keys:{left:function(){this.scrollSlot("left")},right:function(){this.scrollSlot("right")},down:function(){this._getMode()==this._modes.list?e.$keyboardNavigation.SchedulerNode.prototype.nextEventHandler():this.scrollSlot("down")},up:function(){this._getMode()==this._modes.list?e.$keyboardNavigation.SchedulerNode.prototype.prevEventHandler():this.scrollSlot("up")},"shift+down":function(){this.moveTo(this.extendSlot(this,"down"))},"shift+up":function(){this.moveTo(this.extendSlot(this,"up"))},
|
|
76
|
+
"shift+right":function(){this.moveTo(this.extendSlot(this,"right"))},"shift+left":function(){this.moveTo(this.extendSlot(this,"left"))},enter:function(){var t={start_date:new Date(this.start_date),end_date:new Date(this.end_date)},a=e.getState().mode;if(e.matrix&&e.matrix[a]){t[e.matrix[e.getState().mode].y_property]=this.section}else if(e._props&&e._props[a]){var i=e._props[a];t[i.map_to]=this.section}e.addEventNow(t)}}}),
|
|
77
|
+
e.$keyboardNavigation.TimeSlot.prototype.bindAll(e.$keyboardNavigation.TimeSlot.prototype.keys),e.$keyboardNavigation.MinicalButton=function(e,t){this.container=e,this.index=t||0},e.$keyboardNavigation.MinicalButton.prototype=e._compose(e.$keyboardNavigation.KeyNavNode,{isValid:function(){return!!this.container.offsetWidth},fallback:function(){var t=new e.$keyboardNavigation.TimeSlot;return t.isValid()?t:new e.$keyboardNavigation.DataArea},focus:function(){
|
|
78
|
+
e.$keyboardNavigation.dispatcher.globalNode.disable(),this.container.removeAttribute("tabindex"),e.$keyboardNavigation.KeyNavNode.prototype.focus.apply(this)},blur:function(){this.container.setAttribute("tabindex","0"),e.$keyboardNavigation.KeyNavNode.prototype.blur.apply(this)},getNode:function(){return this.index?this.container.querySelector(".dhx_cal_next_button"):this.container.querySelector(".dhx_cal_prev_button")},keys:{right:function(t){
|
|
79
|
+
this.moveTo(new e.$keyboardNavigation.MinicalButton(this.container,this.index?0:1))},left:function(t){this.moveTo(new e.$keyboardNavigation.MinicalButton(this.container,this.index?0:1))},down:function(){var t=new e.$keyboardNavigation.MinicalCell(this.container,0,0);t&&!t.isValid()&&(t=t.fallback()),this.moveTo(t)},enter:function(e){this.getNode().click()}}}),e.$keyboardNavigation.MinicalButton.prototype.bindAll(e.$keyboardNavigation.MinicalButton.prototype.keys),
|
|
80
|
+
e.$keyboardNavigation.MinicalCell=function(e,t,a){this.container=e,this.row=t||0,this.col=a||0},e.$keyboardNavigation.MinicalCell.prototype=e._compose(e.$keyboardNavigation.KeyNavNode,{isValid:function(){var e=this._getGrid();return!(!e[this.row]||!e[this.row][this.col])},fallback:function(){var t=this.row,a=this.col,i=this._getGrid();i[t]||(t=0);var n=!0;if(t>i.length/2&&(n=!1),!i[t]){var r=new e.$keyboardNavigation.TimeSlot;return r.isValid()?r:new e.$keyboardNavigation.DataArea}if(n){
|
|
81
|
+
for(var o=a;i[t]&&o<i[t].length;o++)if(i[t][o]||o!=i[t].length-1||(t++,a=0),i[t][o])return new e.$keyboardNavigation.MinicalCell(this.container,t,o)}else for(var o=a;i[t]&&o<i[t].length;o--)if(i[t][o]||o||(t--,a=i[t].length-1),i[t][o])return new e.$keyboardNavigation.MinicalCell(this.container,t,o);return new e.$keyboardNavigation.MinicalButton(this.container,0)},focus:function(){e.$keyboardNavigation.dispatcher.globalNode.disable(),this.container.removeAttribute("tabindex"),
|
|
82
|
+
e.$keyboardNavigation.KeyNavNode.prototype.focus.apply(this)},blur:function(){this.container.setAttribute("tabindex","0"),e.$keyboardNavigation.KeyNavNode.prototype.blur.apply(this)},_getNode:function(e,t){return this.container.querySelector(".dhx_year_body tr:nth-child("+(e+1)+") td:nth-child("+(t+1)+")")},getNode:function(){return this._getNode(this.row,this.col)},_getGrid:function(){for(var t=this.container.querySelectorAll(".dhx_year_body tr"),a=[],i=0;i<t.length;i++){a[i]=[]
|
|
83
|
+
;for(var n=t[i],r=n.querySelectorAll("td"),o=0;o<r.length;o++){var d=r[o],s=!0,_=e._getClassName(d);(_.indexOf("dhx_after")>-1||_.indexOf("dhx_before")>-1||_.indexOf("dhx_scale_ignore")>-1)&&(s=!1),a[i][o]=s}}return a},keys:{right:function(t){var a=this._getGrid(),i=this.row,n=this.col+1;a[i]&&a[i][n]||(a[i+1]?(i+=1,n=0):n=this.col);var r=new e.$keyboardNavigation.MinicalCell(this.container,i,n);r.isValid()||(r=r.fallback()),this.moveTo(r)},left:function(t){
|
|
84
|
+
var a=this._getGrid(),i=this.row,n=this.col-1;a[i]&&a[i][n]||(a[i-1]?(i-=1,n=a[i].length-1):n=this.col);var r=new e.$keyboardNavigation.MinicalCell(this.container,i,n);r.isValid()||(r=r.fallback()),this.moveTo(r)},down:function(){var t=this._getGrid(),a=this.row+1,i=this.col;t[a]&&t[a][i]||(a=this.row);var n=new e.$keyboardNavigation.MinicalCell(this.container,a,i);n.isValid()||(n=n.fallback()),this.moveTo(n)},up:function(){var t=this._getGrid(),a=this.row-1,i=this.col;if(t[a]&&t[a][i]){
|
|
85
|
+
var n=new e.$keyboardNavigation.MinicalCell(this.container,a,i);n.isValid()||(n=n.fallback()),this.moveTo(n)}else{var r=0;this.col>t[this.row].length/2&&(r=1),this.moveTo(new e.$keyboardNavigation.MinicalButton(this.container,r))}},enter:function(e){this.getNode().querySelector(".dhx_month_head").click()}}}),e.$keyboardNavigation.MinicalCell.prototype.bindAll(e.$keyboardNavigation.MinicalCell.prototype.keys),e.$keyboardNavigation.DataArea=function(e){this.index=e||0},
|
|
86
|
+
e.$keyboardNavigation.DataArea.prototype=e._compose(e.$keyboardNavigation.KeyNavNode,{getNode:function(t){return e.$container.querySelector(".dhx_cal_data")},_handlers:null,isValid:function(){return!0},fallback:function(){return this},keys:{"up,down,right,left":function(){this.moveTo(new e.$keyboardNavigation.TimeSlot)}}}),e.$keyboardNavigation.DataArea.prototype.bindAll(e.$keyboardNavigation.DataArea.prototype.keys),dhtmlx._modalsStack||(dhtmlx._modalsStack=[]),function(){function t(){
|
|
87
|
+
return!(!_.length&&!dhtmlx._modalsStack.length)}function a(e,t){for(;e&&e!=t;)e=e.parentNode;return!(e!=t)}function i(i){setTimeout(function(){t()||a(document.activeElement,e.$container)||e.focus()},1)}function n(t){e.eventRemove(t,"keydown",d),e.event(t,"keydown",d),_.push(t)}function r(){var t=_.pop();t&&e.eventRemove(t,"keydown",d),i(t)}function o(e){return dhtmlx._modalsStack.length?e==dhtmlx._modalsStack[dhtmlx._modalsStack.length-1]:e==_[_.length-1]}function d(t){
|
|
88
|
+
var t=t||window.event,a=t.currentTarget;o(a)&&e.$keyboardNavigation.trapFocus(a,t)}function s(){n(e.getLightbox())}var _=[];if(e.attachEvent("onLightbox",s),e.attachEvent("onAfterLightbox",r),e.attachEvent("onAfterQuickInfo",function(){i()}),!dhtmlx._keyNavMessagePopup){dhtmlx._keyNavMessagePopup=!0;var l=null,c=null;dhtmlx.attachEvent("onMessagePopup",function(t){for(l=document.activeElement,c=l;c&&e._getClassName(c).indexOf("dhx_cal_data")<0;)c=c.parentNode;c&&(c=c.parentNode),
|
|
89
|
+
e.eventRemove(t,"keydown",d),e.event(t,"keydown",d),dhtmlx._modalsStack.push(t)}),dhtmlx.attachEvent("onAfterMessagePopup",function(){var t=dhtmlx._modalsStack.pop();t&&e.eventRemove(t,"keydown",d),setTimeout(function(){for(var t=document.activeElement;t&&e._getClassName(t).indexOf("dhx_cal_light")<0;)t=t.parentNode;t||(l&&l.parentNode?l.focus():c&&c.parentNode&&c.focus(),l=null,c=null)},1)})}e.$keyboardNavigation.isModal=t}(),e.$keyboardNavigation.dispatcher={isActive:!1,activeNode:null,
|
|
90
|
+
globalNode:new e.$keyboardNavigation.SchedulerNode,keepScrollPosition:function(t){var a,i,n=e.$container.querySelector(".dhx_timeline_scrollable_data");n||(n=e.$container.querySelector(".dhx_cal_data")),n&&(a=n.scrollTop,i=n.scrollLeft),t(),n&&(n.scrollTop=a,n.scrollLeft=i)},enable:function(){if(e.$container){this.isActive=!0;var t=this;this.keepScrollPosition(function(){t.globalNode.enable(),t.setActiveNode(t.getActiveNode())})}},disable:function(){this.isActive=!1,this.globalNode.disable()},
|
|
91
|
+
isEnabled:function(){return!!this.isActive},getDefaultNode:function(){return this.globalNode.getDefaultNode()},setDefaultNode:function(){this.setActiveNode(this.getDefaultNode())},getActiveNode:function(){var e=this.activeNode;return e&&!e.isValid()&&(e=e.fallback()),e},focusGlobalNode:function(){this.blurNode(this.globalNode),this.focusNode(this.globalNode)},setActiveNode:function(e){
|
|
92
|
+
e&&e.isValid()&&(this.activeNode&&this.activeNode.compareTo(e)||this.isEnabled()&&(this.blurNode(this.activeNode),this.activeNode=e,this.focusNode(this.activeNode)))},focusNode:function(t){t&&t.focus&&(t.focus(),t.getNode&&document.activeElement!=t.getNode()&&this.setActiveNode(new e.$keyboardNavigation.DataArea))},blurNode:function(e){e&&e.blur&&e.blur()},getInlineEditor:function(t){var a=e.$container.querySelector(".dhx_cal_editor[event_id='"+t+"'] textarea");return a&&a.offsetWidth?a:null},
|
|
93
|
+
keyDownHandler:function(t){if(!t.defaultPrevented){var a=this.getActiveNode();if((!e.$keyboardNavigation.isModal()||a&&a.container&&e._locate_css({target:a.container},"dhx_minical_popup",!1))&&(!e.getState().editor_id||!this.getInlineEditor(e.getState().editor_id))&&this.isEnabled()){t=t||window.event;var i=this.globalNode,n=e.$keyboardNavigation.shortcuts.getCommandFromEvent(t);a?a.findHandler(n)?a.doAction(n,t):i.findHandler(n)&&i.doAction(n,t):this.setDefaultNode()}}},_timeout:null,
|
|
94
|
+
delay:function(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t||1)}},e._temp_key_scope=function(){function t(e){e=e||window.event,d.x=e.clientX,d.y=e.clientY}function a(){for(var t=!1,a=!1,i=document.elementFromPoint(d.x,d.y);i&&i!=e._obj;)i=i.parentNode;return t=!(i!=e._obj),a=e.$keyboardNavigation.dispatcher.isEnabled(),t||a}function i(e){delete e.rec_type,delete e.rec_pattern,delete e.event_pid,delete e.event_length}function n(t){return e._lame_copy({},t)}function r(){
|
|
95
|
+
var t=e.$keyboardNavigation.dispatcher.getActiveNode();return t&&t.eventId?t.eventId:e._select_id}e.config.key_nav=!0,e.$keyboardNavigation._pasteDate=null,e.$keyboardNavigation._pasteSection=null;var o=null,d={};document.body?e.event(document.body,"mousemove",t):e.event(window,"load",function(){e.event(document.body,"mousemove",t)}),e.attachEvent("onMouseMove",function(t,a){var i=e.getState();if(i.mode&&i.min_date){var n=e.getActionData(a);e.$keyboardNavigation._pasteDate=n.date,
|
|
96
|
+
e.$keyboardNavigation._pasteSection=n.section}}),e._make_pasted_event=function(t){var a=e.$keyboardNavigation._pasteDate,r=e.$keyboardNavigation._pasteSection,o=t.end_date-t.start_date,d=n(t);if(i(d),d.start_date=new Date(a),d.end_date=new Date(d.start_date.valueOf()+o),r){var s=e._get_section_property();e.config.multisection?d[s]=t[s]:d[s]=r}return d},e._do_paste=function(t,a,i){!1!==e.callEvent("onBeforeEventPasted",[t,a,i])&&(e.addEvent(a),e.callEvent("onEventPasted",[t,a,i]))},
|
|
97
|
+
e._is_key_nav_active=function(){return!(!this._is_initialized()||this._is_lightbox_open()||!this.config.key_nav)},e.event(document,"keydown",function(t){(t.ctrlKey||t.metaKey)&&86==t.keyCode&&e._buffer_event&&!e.$keyboardNavigation.dispatcher.isEnabled()&&(e.$keyboardNavigation.dispatcher.isActive=a())}),e._key_nav_copy_paste=function(t){if(!e._is_key_nav_active())return!0;if(t=t||event,37==t.keyCode||39==t.keyCode){t.cancelBubble=!0;var i=e.date.add(e._date,37==t.keyCode?-1:1,e._mode)
|
|
98
|
+
;return e.setCurrentView(i),!0}var d=r();if((t.ctrlKey||t.metaKey)&&67==t.keyCode)return d&&(e._buffer_event=n(e.getEvent(d)),o=!0,e.callEvent("onEventCopied",[e.getEvent(d)])),!0;if((t.ctrlKey||t.metaKey)&&88==t.keyCode&&d){o=!1;var s=e._buffer_event=n(e.getEvent(d));e.updateEvent(s.id),e.callEvent("onEventCut",[s])}if((t.ctrlKey||t.metaKey)&&86==t.keyCode&&a(t)){var s=e._buffer_event?e.getEvent(e._buffer_event.id):e._buffer_event;if(s=s||e._buffer_event){var _=e._make_pasted_event(s)
|
|
99
|
+
;if(o)_.id=e.uid(),e._do_paste(o,_,s);else{e.callEvent("onBeforeEventChanged",[_,t,!1,s])&&(e._do_paste(o,_,s),o=!0)}}return!0}}},e._temp_key_scope(),function(){function t(){if(e.config.key_nav){var t=document.activeElement;return!(!t||e._locate_css(t,"dhx_cal_quick_info",!1))&&(e.$keyboardNavigation.isChildOf(t,e.$container)||e.$keyboardNavigation.isMinical(t))}}function a(e){e&&!i.isEnabled()?i.enable():!e&&i.isEnabled()&&i.disable()}e.$keyboardNavigation.attachSchedulerHandlers=function(){
|
|
100
|
+
function t(t){if(!e.config.key_nav)return!0;var a,i=e.$keyboardNavigation.isChildOf(t.target||t.srcElement,e.$container.querySelector(".dhx_cal_data")),r=e.getActionData(t);e._locate_event(t.target||t.srcElement)?a=new e.$keyboardNavigation.Event(e._locate_event(t.target||t.srcElement)):i&&(a=new e.$keyboardNavigation.TimeSlot,r.date&&i&&(a=a.nextSlot(new e.$keyboardNavigation.TimeSlot(r.date,null,r.section)))),a&&(n.isEnabled()?r.date&&i&&n.delay(function(){n.setActiveNode(a)}):n.activeNode=a)}
|
|
101
|
+
function a(t){if(e.config.key_nav&&n.isEnabled()){var a=t,i=new e.$keyboardNavigation.Event(a.eventId);if(!i.isValid()){var r=i.start||a.start,o=i.end||a.end,d=i.section||a.section;i=new e.$keyboardNavigation.TimeSlot(r,o,d),i.isValid()||(i=new e.$keyboardNavigation.TimeSlot)}n.setActiveNode(i);var s=n.getActiveNode();s&&s.getNode&&document.activeElement!=s.getNode()&&n.focusNode(n.getActiveNode())}}var i,n=e.$keyboardNavigation.dispatcher,r=function(t){
|
|
102
|
+
if(e.config.key_nav)return n.keyDownHandler(t)},o=function(){n.keepScrollPosition(function(){n.focusGlobalNode()})};e.attachEvent("onDataRender",function(){e.config.key_nav&&n.isEnabled()&&!e.getState().editor_id&&(clearTimeout(i),i=setTimeout(function(){n.isEnabled()||n.enable(),d()}))});var d=function(){if(n.isEnabled()){var t=n.getActiveNode();t&&(t.isValid()||(t=t.fallback()),
|
|
103
|
+
!t||t instanceof e.$keyboardNavigation.MinicalButton||t instanceof e.$keyboardNavigation.MinicalCell||n.keepScrollPosition(function(){t.focus(!0)}))}};e.attachEvent("onSchedulerReady",function(){var a=e.$container;e.eventRemove(document,"keydown",r),e.eventRemove(a,"mousedown",t),e.eventRemove(a,"focus",o),e.config.key_nav?(e.event(document,"keydown",r),e.event(a,"mousedown",t),e.event(a,"focus",o),a.setAttribute("tabindex","0")):a.removeAttribute("tabindex")});var s=e.updateEvent
|
|
104
|
+
;e.updateEvent=function(t){var i=s.apply(this,arguments);if(e.config.key_nav&&n.isEnabled()&&e.getState().select_id==t){var r=new e.$keyboardNavigation.Event(t);e.getState().lightbox_id||a(r)}return i},e.attachEvent("onEventDeleted",function(t){if(!e.config.key_nav)return!0;if(n.isEnabled()){n.getActiveNode().eventId==t&&n.setActiveNode(new e.$keyboardNavigation.TimeSlot)}return!0}),e.attachEvent("onClearAll",function(){if(!e.config.key_nav)return!0
|
|
105
|
+
;n.isEnabled()&&n.getActiveNode()instanceof e.$keyboardNavigation.Event&&n.setActiveNode(new e.$keyboardNavigation.TimeSlot)})},e.$keyboardNavigation._minicalendars=[],e.$keyboardNavigation.isMinical=function(t){for(var a=e.$keyboardNavigation._minicalendars,i=0;i<a.length;i++)if(this.isChildOf(t,a[i]))return!0;return!1},e.$keyboardNavigation.isChildOf=function(e,t){for(;e&&e!==t;)e=e.parentNode;return!(e!==t)},e.$keyboardNavigation.patchMinicalendar=function(){function t(t){var a=t.target
|
|
106
|
+
;i.enable(),i.setActiveNode(new e.$keyboardNavigation.MinicalButton(a,0))}function a(t){var a=t.target||t.srcElement,n=e._locate_css(t,"dhx_cal_prev_button",!1),r=e._locate_css(t,"dhx_cal_next_button",!1),o=e._locate_css(t,"dhx_year_body",!1),d=0,s=0;if(o){for(var _,l,c=a;c&&"td"!=c.tagName.toLowerCase();)c=c.parentNode;if(c&&(l=c,_=l.parentNode),_&&l){for(var h=_.parentNode.querySelectorAll("tr"),u=0;u<h.length;u++)if(h[u]==_){d=u;break}
|
|
107
|
+
for(var g=_.querySelectorAll("td"),u=0;u<g.length;u++)if(g[u]==l){s=u;break}}}var v=t.currentTarget;i.delay(function(){if(n||r||o){var t;n?(t=new e.$keyboardNavigation.MinicalButton(v,0),i.setActiveNode(new e.$keyboardNavigation.MinicalButton(v,0))):r?t=new e.$keyboardNavigation.MinicalButton(v,1):o&&(t=new e.$keyboardNavigation.MinicalCell(v,d,s)),t&&(i.enable(),t.isValid()&&(i.activeNode=null,i.setActiveNode(t)))}})}var i=e.$keyboardNavigation.dispatcher;if(e.renderCalendar){
|
|
108
|
+
var n=e.renderCalendar;e.renderCalendar=function(){var r=n.apply(this,arguments),o=e.$keyboardNavigation._minicalendars;e.eventRemove(r,"click",a),e.event(r,"click",a),e.eventRemove(r,"focus",t),e.event(r,"focus",t);for(var d=!1,s=0;s<o.length;s++)if(o[s]==r){d=!0;break}if(d||o.push(r),i.isEnabled()){var _=i.getActiveNode();_&&_.container==r?i.focusNode(_):r.setAttribute("tabindex","0")}else r.setAttribute("tabindex","0");return r}}if(e.destroyCalendar){var r=e.destroyCalendar
|
|
109
|
+
;e.destroyCalendar=function(a,i){a=a||(e._def_count?e._def_count.firstChild:null);var n=r.apply(this,arguments);if(!a||!a.parentNode)for(var o=e.$keyboardNavigation._minicalendars,d=0;d<o.length;d++)o[d]==a&&(e.eventRemove(o[d],"focus",t),o.splice(d,1),d--);return n}}};var i=e.$keyboardNavigation.dispatcher;if(e.$keyboardNavigation.attachSchedulerHandlers(),e.renderCalendar)e.$keyboardNavigation.patchMinicalendar();else var n=e.attachEvent("onSchedulerReady",function(){e.detachEvent(n),
|
|
110
|
+
e.$keyboardNavigation.patchMinicalendar()});setInterval(function(){if(e.$container&&e.$keyboardNavigation.isChildOf(e.$container,document.body)){var n=t();n?a(n):!n&&i.isEnabled()&&setTimeout(function(){e.config.key_nav?a(t()):e.$container.removeAttribute("tabindex")},100)}},500)}()}window.Scheduler&&window.Scheduler.plugin?window.Scheduler.plugin(e):e(window.scheduler)}();
|
|
111
111
|
//# sourceMappingURL=../sources/ext/dhtmlxscheduler_key_nav.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
|
|
3
3
|
@license
|
|
4
|
-
dhtmlxScheduler v.5.3.
|
|
4
|
+
dhtmlxScheduler v.5.3.14 Standard
|
|
5
5
|
|
|
6
6
|
To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com
|
|
7
7
|
|
|
@@ -14,20 +14,20 @@ if(!this.validId(e))return;var a=t.getState(e);return"inserted"==a||this._new_ev
|
|
|
14
14
|
;for(var i in e)a[i]=t(e[i]);return a};e._dataprocessors=[],e._layers_zindex={};for(var a=0;a<e.layers.length;a++){if(e.config["lightbox_"+e.layers[a].name]={},e.config["lightbox_"+e.layers[a].name].sections=t(e.config.lightbox.sections),e._layers_zindex[e.layers[a].name]=e.config.inital_layer_zindex||5+3*a,e.layers[a].url){var i=new dataProcessor(e.layers[a].url);i.layer=e.layers[a].name,e._dataprocessors.push(i),e._dataprocessors[a].init(e)}
|
|
15
15
|
e.layers[a].isDefault&&(e.defaultLayer=e.layers[a].name)}}(),e.showLayer=function(e){this.toggleLayer(e,!0)},e.hideLayer=function(e){this.toggleLayer(e,!1)},e.toggleLayer=function(e,t){var a=this.getLayer(e);a.visible=void 0!==t?!!t:!a.visible,this.setCurrentView(this._date,this._mode)},e.getLayer=function(t){var a,i;"string"==typeof t&&(i=t),"object"==typeof t&&(i=t.layer);for(var n=0;n<e.layers.length;n++)e.layers[n].name==i&&(a=e.layers[n]);return a},
|
|
16
16
|
e.attachEvent("onBeforeLightbox",function(t){var a=this.getEvent(t);return this.config.lightbox.sections=this.config["lightbox_"+a.layer].sections,e.resetLightbox(),!0}),e.attachEvent("onClick",function(t,a){var i=e.getEvent(t);return!e.getLayer(i.layer).noMenu}),e.attachEvent("onEventCollision",function(t,a){var i=this.getLayer(t);if(!i.checkCollision)return!1;for(var n=0,r=0;r<a.length;r++)a[r].layer==i.name&&a[r].id!=t.id&&n++;return n>=e.config.collision_limit}),
|
|
17
|
-
e.addEvent=function(t,a,i,n,r){var o=t;1!=arguments.length&&(o=r||{},o.start_date=t,o.end_date=a,o.text=i,o.id=n,o.layer=this.defaultLayer),o.id=o.id||e.uid(),o.text=o.text||"","string"==typeof o.start_date&&(o.start_date=this.templates.api_date(o.start_date)),"string"==typeof o.end_date&&(o.end_date=this.templates.api_date(o.end_date)),o._timed=this.isOneDayEvent(o);var
|
|
18
|
-
this._loading||this.callEvent(
|
|
17
|
+
e.addEvent=function(t,a,i,n,r){var o=t;1!=arguments.length&&(o=r||{},o.start_date=t,o.end_date=a,o.text=i,o.id=n,o.layer=this.defaultLayer),o.id=o.id||e.uid(),o.text=o.text||"","string"==typeof o.start_date&&(o.start_date=this.templates.api_date(o.start_date)),"string"==typeof o.end_date&&(o.end_date=this.templates.api_date(o.end_date)),o._timed=this.isOneDayEvent(o);var s=!this._events[o.id];this._events[o.id]=o,this.event_updated(o),
|
|
18
|
+
this._loading||this.callEvent(s?"onEventAdded":"onEventChanged",[o.id,o])},this._evs_layer={};for(var t=0;t<this.layers.length;t++)this._evs_layer[this.layers[t].name]=[];e.addEventNow=function(t,a,i){var n={};"object"==typeof t&&(n=t,t=null);var r=6e4*(this.config.event_duration||this.config.time_step);t||(t=Math.round(e._currentDate().valueOf()/r)*r);var o=new Date(t);if(!a){var s=this.config.first_hour;s>o.getHours()&&(o.setHours(s),t=o.valueOf()),a=t+r}n.start_date=n.start_date||o,
|
|
19
19
|
n.end_date=n.end_date||new Date(a),n.text=n.text||this.locale.labels.new_event,n.id=this._drag_id=this.uid(),n.layer=this.defaultLayer,this._drag_mode="new-size",this._loading=!0,this.addEvent(n),this.callEvent("onEventCreated",[this._drag_id,i]),this._loading=!1,this._drag_event={},this._on_mouse_up(i)},e._t_render_view_data=function(e){if(this.config.multi_day&&!this._table_view){for(var t=[],a=[],i=0;i<e.length;i++)e[i]._timed?t.push(e[i]):a.push(e[i]);this._table_view=!0,this.render_data(a),
|
|
20
20
|
this._table_view=!1,this.render_data(t)}else this.render_data(e)},e.render_view_data=function(){if(this._not_render)return void(this._render_wait=!0);this._render_wait=!1,this.clear_view(),this._evs_layer={};for(var e=0;e<this.layers.length;e++)this._evs_layer[this.layers[e].name]=[];for(var t=this.get_visible_events(),e=0;e<t.length;e++)this._evs_layer[t[e].layer]&&this._evs_layer[t[e].layer].push(t[e]);if("month"==this._mode){
|
|
21
|
-
for(var a=[],e=0;e<this.layers.length;e++)this.layers[e].visible&&(a=a.concat(this._evs_layer[this.layers[e].name]));this._t_render_view_data(a)}else for(var e=0;e<this.layers.length;e++)if(this.layers[e].visible){var i=this._evs_layer[this.layers[e].name];this._t_render_view_data(i)}},e._render_v_bar=function(t,a,i,n,r,o,d,
|
|
22
|
-
-1==
|
|
23
|
-
;var v=e._border_box_events(),g=n-2,f=v?g:n-4,m=v?g:n-6,p=v?g:n-(this._quirks?4:14),y=v?g-2:n-8,b=v?r-this.xy.event_header_height:r-(this._quirks?20:30)+1,x='<div event_id="'+l+'" class="'+h+'" style="position:absolute; top:'+i+"px; left:"+a+"px; width:"+f+"px; height:"+r+"px;"+(o||"")+'">';return x+='<div class="dhx_header" style=" width:'+m+'px;" > </div>',x+='<div class="dhx_title">'+
|
|
21
|
+
for(var a=[],e=0;e<this.layers.length;e++)this.layers[e].visible&&(a=a.concat(this._evs_layer[this.layers[e].name]));this._t_render_view_data(a)}else for(var e=0;e<this.layers.length;e++)if(this.layers[e].visible){var i=this._evs_layer[this.layers[e].name];this._t_render_view_data(i)}},e._render_v_bar=function(t,a,i,n,r,o,s,d,_){var l=t.id;-1==s.indexOf("<div class=")&&(s=e.templates["event_header_"+t.layer]?e.templates["event_header_"+t.layer](t.start_date,t.end_date,t):s),
|
|
22
|
+
-1==d.indexOf("<div class=")&&(d=e.templates["event_text_"+t.layer]?e.templates["event_text_"+t.layer](t.start_date,t.end_date,t):d);var c=document.createElement("div"),h="dhx_cal_event",u=e.templates["event_class_"+t.layer]?e.templates["event_class_"+t.layer](t.start_date,t.end_date,t):e.templates.event_class(t.start_date,t.end_date,t);u&&(h=h+" "+u)
|
|
23
|
+
;var v=e._border_box_events(),g=n-2,f=v?g:n-4,m=v?g:n-6,p=v?g:n-(this._quirks?4:14),y=v?g-2:n-8,b=v?r-this.xy.event_header_height:r-(this._quirks?20:30)+1,x='<div event_id="'+l+'" class="'+h+'" style="position:absolute; top:'+i+"px; left:"+a+"px; width:"+f+"px; height:"+r+"px;"+(o||"")+'">';return x+='<div class="dhx_header" style=" width:'+m+'px;" > </div>',x+='<div class="dhx_title">'+s+"</div>",x+='<div class="dhx_body" style=" width:'+p+"px; height:"+b+'px;">'+d+"</div>",
|
|
24
24
|
x+='<div class="dhx_footer" style=" width:'+y+"px;"+(_?" margin-top:-1px;":"")+'" ></div></div>',c.innerHTML=x,c.style.zIndex=100,c.firstChild},e.render_event_bar=function(t){var a=this._els.dhx_cal_data[0],i=this._colsS[t._sday],n=this._colsS[t._eday];n==i&&(n=this._colsS[t._eday+1])
|
|
25
|
-
;var r=this.xy.bar_height,o=this._colsS.heights[t._sweek]+(this._colsS.height?this.xy.month_scale_height+2:2)+t._sorder*r,
|
|
26
|
-
;var l='<div event_id="'+t.id+'" class="'+
|
|
27
|
-
l+="</div>",
|
|
28
|
-
var n=60*t.start_date.getHours()+t.start_date.getMinutes(),r=60*t.end_date.getHours()+t.end_date.getMinutes()||60*e.config.last_hour,o=Math.round((60*n*1e3-60*this.config.first_hour*60*1e3)*this.config.hour_size_px/36e5)%(24*this.config.hour_size_px)+1,
|
|
29
|
-
;var l=this._render_v_bar(t.id,a+_,o,s,
|
|
30
|
-
this.set_xy(l,s
|
|
25
|
+
;var r=this.xy.bar_height,o=this._colsS.heights[t._sweek]+(this._colsS.height?this.xy.month_scale_height+2:2)+t._sorder*r,s=document.createElement("div"),d=t._timed?"dhx_cal_event_clear":"dhx_cal_event_line",_=e.templates["event_class_"+t.layer]?e.templates["event_class_"+t.layer](t.start_date,t.end_date,t):e.templates.event_class(t.start_date,t.end_date,t);_&&(d=d+" "+_)
|
|
26
|
+
;var l='<div event_id="'+t.id+'" class="'+d+'" style="position:absolute; top:'+o+"px; left:"+i+"px; width:"+(n-i-15)+"px;"+(t._text_style||"")+'">';t._timed&&(l+=e.templates["event_bar_date_"+t.layer]?e.templates["event_bar_date_"+t.layer](t.start_date,t.end_date,t):e.templates.event_bar_date(t.start_date,t.end_date,t)),l+=e.templates["event_bar_text_"+t.layer]?e.templates["event_bar_text_"+t.layer](t.start_date,t.end_date,t):e.templates.event_bar_text(t.start_date,t.end_date,t)+"</div>)",
|
|
27
|
+
l+="</div>",s.innerHTML=l,this._rendered.push(s.firstChild),a.appendChild(s.firstChild)},e.render_event=function(t){var a=e.xy.menu_width;if(e.getLayer(t.layer).noMenu&&(a=0),!(t._sday<0)){var i=e.locate_holder(t._sday);if(i){
|
|
28
|
+
var n=60*t.start_date.getHours()+t.start_date.getMinutes(),r=60*t.end_date.getHours()+t.end_date.getMinutes()||60*e.config.last_hour,o=Math.round((60*n*1e3-60*this.config.first_hour*60*1e3)*this.config.hour_size_px/36e5)%(24*this.config.hour_size_px)+1,s=Math.max(e.xy.min_event_height,(r-n)*this.config.hour_size_px/60)+1,d=Math.floor((i.clientWidth-a)/t._count),_=t._sorder*d+1;t._inner||(d*=t._count-t._sorder)
|
|
29
|
+
;var l=this._render_v_bar(t.id,a+_,o,d,s,t._text_style,e.templates.event_header(t.start_date,t.end_date,t),e.templates.event_text(t.start_date,t.end_date,t));if(this._rendered.push(l),i.appendChild(l),_=_+parseInt(i.style.left,10)+a,o+=this._dy_shift,l.style.zIndex=this._layers_zindex[t.layer],this._edit_id==t.id){l.style.zIndex=parseInt(l.style.zIndex)+1;var c=l.style.zIndex;d=Math.max(d-4,e.xy.editor_width);var l=document.createElement("div");l.setAttribute("event_id",t.id),
|
|
30
|
+
this.set_xy(l,d,s-20,_,o+14),l.className="dhx_cal_editor",l.style.zIndex=c;var h=document.createElement("div");this.set_xy(h,d-6,s-26),h.style.cssText+=";margin:2px 2px 2px 2px;overflow:hidden;",h.style.zIndex=c,l.appendChild(h),this._els.dhx_cal_data[0].appendChild(l),this._rendered.push(l),h.innerHTML="<textarea class='dhx_cal_editor'>"+t.text+"</textarea>",this._quirks7&&(h.firstChild.style.height=s-12+"px"),this._editor=h.firstChild,this._editor.onkeypress=function(t){
|
|
31
31
|
if((t||event).shiftKey)return!0;var a=(t||event).keyCode;a==e.keys.edit_save&&e.editStop(!0),a==e.keys.edit_cancel&&e.editStop(!1)},this._editor.onselectstart=function(e){return(e||event).cancelBubble=!0,!0},h.firstChild.focus(),this._els.dhx_cal_data[0].scrollLeft=0,h.firstChild.select()}if(this._select_id==t.id){l.style.zIndex=parseInt(l.style.zIndex)+1
|
|
32
32
|
;for(var u=this.config["icons_"+(this._edit_id==t.id?"edit":"select")],v="",g=0;g<u.length;g++)v+="<div class='dhx_menu_icon "+u[g]+"' title='"+this.locale.labels[u[g]]+"'></div>";var f=this._render_v_bar(t.id,_-a+1,o,a,20*u.length+26,"","<div class='dhx_menu_head'></div>",v,!0);f.style.left=_-a+1,f.style.zIndex=l.style.zIndex,this._els.dhx_cal_data[0].appendChild(f),this._rendered.push(f)}}}},e.filter_agenda=function(t,a){var i=e.getLayer(a.layer);return i&&i.visible}})});
|
|
33
33
|
//# sourceMappingURL=../sources/ext/dhtmlxscheduler_layer.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
|
|
3
3
|
@license
|
|
4
|
-
dhtmlxScheduler v.5.3.
|
|
4
|
+
dhtmlxScheduler v.5.3.14 Standard
|
|
5
5
|
|
|
6
6
|
To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
|
|
3
3
|
@license
|
|
4
|
-
dhtmlxScheduler v.5.3.
|
|
4
|
+
dhtmlxScheduler v.5.3.14 Standard
|
|
5
5
|
|
|
6
6
|
To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
|
|
3
3
|
@license
|
|
4
|
-
dhtmlxScheduler v.5.3.
|
|
4
|
+
dhtmlxScheduler v.5.3.14 Standard
|
|
5
5
|
|
|
6
6
|
To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com
|
|
7
7
|
|
|
@@ -28,7 +28,7 @@ r=60*n.last_hour+1),i.setHours(o/60),t._time_values=[],a+=" <select class='dhx_l
|
|
|
28
28
|
return r||n?r?a:n:-1}var d,s,_=t.getElementsByTagName("input"),l=t.getElementsByTagName("select"),c=function(t,a,n){t.onclick=function(){e.destroyCalendar(null,!0),e.renderCalendar({position:t,date:new Date(this._date),navigation:!0,handler:function(a){t.value=e.templates.calendar_time(a),t._date=new Date(a),e.destroyCalendar(),e.config.event_duration&&e.config.auto_end_date&&0===n&&v()}})}};if(e.config.full_day){if(!t._full_day){
|
|
29
29
|
var h="<label class='dhx_fullday'><input type='checkbox' name='full_day' value='true'> "+e.locale.labels.full_day+" </label></input>";e.config.wide_form||(h=t.previousSibling.innerHTML+h),t.previousSibling.innerHTML=h,t._full_day=!0}var u=t.previousSibling.getElementsByTagName("input")[0],g=0===e.date.time_part(n.start_date)&&0===e.date.time_part(n.end_date);u.checked=g,l[0].disabled=u.checked,l[1].disabled=u.checked,u.onclick=function(){if(!0===u.checked){var a={}
|
|
30
30
|
;e.form_blocks.calendar_time.get_value(t,a),d=e.date.date_part(a.start_date),s=e.date.date_part(a.end_date),(+s==+d||+s>=+d&&(0!==n.end_date.getHours()||0!==n.end_date.getMinutes()))&&(s=e.date.add(s,1,"day"))}var i=d||n.start_date,o=s||n.end_date;r(_[0],i),r(_[1],o),l[0].value=60*i.getHours()+i.getMinutes(),l[1].value=60*o.getHours()+o.getMinutes(),l[0].disabled=u.checked,l[1].disabled=u.checked}}if(e.config.event_duration&&e.config.auto_end_date){var v=function(){
|
|
31
|
-
d=e.date.add(_[0]._date,l[0].value,"minute"),s=new Date(d.getTime()+60*e.config.event_duration*1e3),_[1].value=e.templates.calendar_time(s),_[1]._date=e.date.date_part(new Date(s)),l[1].value=60*s.getHours()+s.getMinutes()};l[0].onchange=v}r(_[0],n.start_date,0),r(_[1],n.end_date,1),c=function(){},l[0].value=o(n.start_date),l[1].value=o(n.end_date)},get_value:function(t,a){var n=t.getElementsByTagName("input"),i=t.getElementsByTagName("select")
|
|
31
|
+
e.config.auto_end_date&&e.config.event_duration&&(d=e.date.add(_[0]._date,l[0].value,"minute"),s=new Date(d.getTime()+60*e.config.event_duration*1e3),_[1].value=e.templates.calendar_time(s),_[1]._date=e.date.date_part(new Date(s)),l[1].value=60*s.getHours()+s.getMinutes())};l[0].onchange=v}r(_[0],n.start_date,0),r(_[1],n.end_date,1),c=function(){},l[0].value=o(n.start_date),l[1].value=o(n.end_date)},get_value:function(t,a){var n=t.getElementsByTagName("input"),i=t.getElementsByTagName("select")
|
|
32
32
|
;return a.start_date=e.date.add(n[0]._date,i[0].value,"minute"),a.end_date=e.date.add(n[1]._date,i[1].value,"minute"),a.end_date<=a.start_date&&(a.end_date=e.date.add(a.start_date,e.config.time_step,"minute")),{start_date:new Date(a.start_date),end_date:new Date(a.end_date)}},focus:function(e){}},e.linkCalendar=function(t,a){var n=function(){var n=e._date,i=new Date(n.valueOf());return a&&(i=a(i)),i.setDate(1),e.updateCalendar(t,i),!0};e.attachEvent("onViewChange",n),e.attachEvent("onXLE",n),
|
|
33
33
|
e.attachEvent("onEventAdded",n),e.attachEvent("onEventChanged",n),e.attachEvent("onEventDeleted",n),n()},e._markCalendarCurrentDate=function(t){var a=e.getState(),n=a.min_date,i=a.max_date,r=a.mode,o=e.date.month_start(new Date(t._date)),d=e.date.add(o,1,"month");if(!({month:!0,year:!0,agenda:!0,grid:!0}[r]||n.valueOf()<=o.valueOf()&&i.valueOf()>=d.valueOf()))for(var s=n;s.valueOf()<i.valueOf();)o.valueOf()<=s.valueOf()&&d>s&&e.markCalendar(t,s,"dhx_calendar_click"),s=e.date.add(s,1,"day")},
|
|
34
34
|
e.attachEvent("onEventCancel",function(){e.destroyCalendar(null,!0)})});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
|
|
3
3
|
@license
|
|
4
|
-
dhtmlxScheduler v.5.3.
|
|
4
|
+
dhtmlxScheduler v.5.3.14 Standard
|
|
5
5
|
|
|
6
6
|
To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
|
|
3
3
|
@license
|
|
4
|
-
dhtmlxScheduler v.5.3.
|
|
4
|
+
dhtmlxScheduler v.5.3.14 Standard
|
|
5
5
|
|
|
6
6
|
To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
|
|
3
3
|
@license
|
|
4
|
-
dhtmlxScheduler v.5.3.
|
|
4
|
+
dhtmlxScheduler v.5.3.14 Standard
|
|
5
5
|
|
|
6
6
|
To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
|
|
3
3
|
@license
|
|
4
|
-
dhtmlxScheduler v.5.3.
|
|
4
|
+
dhtmlxScheduler v.5.3.14 Standard
|
|
5
5
|
|
|
6
6
|
To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
|
|
3
3
|
@license
|
|
4
|
-
dhtmlxScheduler v.5.3.
|
|
4
|
+
dhtmlxScheduler v.5.3.14 Standard
|
|
5
5
|
|
|
6
6
|
To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
|
|
3
3
|
@license
|
|
4
|
-
dhtmlxScheduler v.5.3.
|
|
4
|
+
dhtmlxScheduler v.5.3.14 Standard
|
|
5
5
|
|
|
6
6
|
To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
|
|
3
3
|
@license
|
|
4
|
-
dhtmlxScheduler v.5.3.
|
|
4
|
+
dhtmlxScheduler v.5.3.14 Standard
|
|
5
5
|
|
|
6
6
|
To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
|
|
3
3
|
@license
|
|
4
|
-
dhtmlxScheduler v.5.3.
|
|
4
|
+
dhtmlxScheduler v.5.3.14 Standard
|
|
5
5
|
|
|
6
6
|
To use dhtmlxScheduler in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on our site https://dhtmlx.com/docs/products/dhtmlxScheduler/#licensing or contact us at sales@dhtmlx.com
|
|
7
7
|
|