diff --git a/codebase/dhtmlxscheduler.d.ts b/codebase/dhtmlxscheduler.d.ts index aaaf3e9..9a909ea 100644 --- a/codebase/dhtmlxscheduler.d.ts +++ b/codebase/dhtmlxscheduler.d.ts @@ -968,7 +968,7 @@ export interface SchedulerConfigOptions { scroll_hour: number; /** - * specifies the delimeter that will be used to separate several sections/units in the related data property of the event + * specifies the delimiter that will be used to separate several sections/units in the related data property of the event */ section_delimiter: string; diff --git a/codebase/dhtmlxscheduler.js b/codebase/dhtmlxscheduler.js index 4d44db6..85c1c89 100644 --- a/codebase/dhtmlxscheduler.js +++ b/codebase/dhtmlxscheduler.js @@ -213,7 +213,7 @@ repeat_week:" Repeat every",repeat_text_week_count:"week next days:",repeat_radi repeat_radio_end3:"End by",month_for_recurring:["January","February","March","April","May","June","July","August","September","October","November","December"],day_for_recurring:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}},g.config={default_date:"%j %M %Y",month_date:"%F %Y",load_date:"%Y-%m-%d",week_date:"%l",day_date:"%D, %F %j",hour_date:"%H:%i",month_day:"%d",date_format:"%Y-%m-%d %H:%i",api_date:"%d-%m-%Y %H:%i",parse_exact_format:!1,preserve_length:!0, time_step:5,start_on_monday:!0,first_hour:0,last_hour:24,readonly:!1,drag_resize:!0,drag_move:!0,drag_create:!0,drag_event_body:!0,dblclick_create:!0,edit_on_create:!0,details_on_create:!1,header:null,resize_month_events:!1,resize_month_timed:!1,responsive_lightbox:!1,rtl:!1,cascade_event_display:!1,cascade_event_count:4,cascade_event_margin:30,multi_day:!0,multi_day_height_limit:0,drag_lightbox:!0,preserve_scroll:!0,select:!0,server_utc:!1,touch:!0,touch_tip:!0,touch_drag:500, touch_swipe_dates:!1,quick_info_detached:!0,positive_closing:!1,drag_highlight:!0,limit_drag_out:!1,icons_edit:["icon_save","icon_cancel"],icons_select:["icon_details","icon_edit","icon_delete"],buttons_left:["dhx_save_btn","dhx_cancel_btn"],buttons_right:["dhx_delete_btn"],lightbox:{sections:[{name:"description",map_to:"text",type:"textarea",focus:!0},{name:"time",height:72,type:"time",map_to:"auto"}]},highlight_displayed_event:!0,left_border:!1,ajax_error:"alert",delay_render:0, -timeline_swap_resize:!0,wai_aria_attributes:!0,wai_aria_application_role:!0},g.config.buttons_left.$inital=g.config.buttons_left.join(),g.config.buttons_right.$inital=g.config.buttons_right.join(),g._helpers={parseDate:function(t){return(g.templates.xml_date||g.templates.parse_date)(t)},formatDate:function(t){return(g.templates.xml_format||g.templates.format_date)(t)}},g.templates={},g.init_templates=function(){var t=g.locale.labels;t.dhx_save_btn=t.icon_save,t.dhx_cancel_btn=t.icon_cancel, +timeline_swap_resize:!0,wai_aria_attributes:!0,wai_aria_application_role:!0},g.config.buttons_left.$initial=g.config.buttons_left.join(),g.config.buttons_right.$initial=g.config.buttons_right.join(),g._helpers={parseDate:function(t){return(g.templates.xml_date||g.templates.parse_date)(t)},formatDate:function(t){return(g.templates.xml_format||g.templates.format_date)(t)}},g.templates={},g.init_templates=function(){var t=g.locale.labels;t.dhx_save_btn=t.icon_save,t.dhx_cancel_btn=t.icon_cancel, t.dhx_delete_btn=t.icon_delete;var e=g.date.date_to_str,i=g.config;(function(t,e){for(var i in e)t[i]||(t[i]=e[i])})(g.templates,{day_date:e(i.default_date),month_date:e(i.month_date),week_date:function(t,e){return i.rtl?g.templates.day_date(g.date.add(e,-1,"day"))+" – "+g.templates.day_date(t):g.templates.day_date(t)+" – "+g.templates.day_date(g.date.add(e,-1,"day"))},day_scale_date:e(i.default_date),month_scale_date:e(i.week_date),week_scale_date:e(i.day_date), hour_scale:e(i.hour_date),time_picker:e(i.hour_date),event_date:e(i.hour_date),month_day:e(i.month_day),load_format:e(i.load_date),format_date:e(i.date_format,i.server_utc),parse_date:g.date.str_to_date(i.date_format,i.server_utc),api_date:g.date.str_to_date(i.api_date,!1,!1),event_header:function(t,e,i){return g.templates.event_date(t)+" - "+g.templates.event_date(e)},event_text:function(t,e,i){return i.text},event_class:function(t,e,i){return""},month_date_class:function(t){return""}, week_date_class:function(t){return""},event_bar_date:function(t,e,i){return g.templates.event_date(t)+" "},event_bar_text:function(t,e,i){return i.text},month_events_link:function(t,e){return"View more("+e+" events)"},drag_marker_class:function(t,e,i){return""},drag_marker_content:function(t,e,i){return""},tooltip_date_format:g.date.date_to_str("%Y-%m-%d %H:%i"),tooltip_text:function(t,e,i){ @@ -335,7 +335,7 @@ g.setUserData=function(t,e,i){if(t){var a=this.getEvent(t);a&&(a[e]=i)}else this i.text=i.text||i._tagvalue,i.start_date=g._helpers.parseDate(i.start_date),i.end_date=g._helpers.parseDate(i.end_date),g.addEvent(i),g._add_rec_marker&&g.setCurrentView()},g.getRootView=function(){return{view:{render:function(){return{tag:"div",type:1,attrs:{style:"width:100%;height:100%;"},hooks:{didInsert:function(){g.setCurrentView()}},body:[{el:this.el,type:1}]}},init:function(){var t=document.createElement("DIV");t.id="scheduler_"+g.uid(),t.style.width="100%",t.style.height="100%", t.classList.add("dhx_cal_container"),t.cmp="grid",t.innerHTML='