| 3084 | } |
| 3085 | } |
| 3086 | function ea(e) { |
| 3087 | const i = { version: "7.2.14" }; |
| 3088 | i.$stateProvider = function() { |
| 3089 | const r = {}; |
| 3090 | return { getState: function(d) { |
| 3091 | if (r[d]) |
| 3092 | return r[d].method(); |
| 3093 | { |
| 3094 | const l = {}; |
| 3095 | for (const h in r) |
| 3096 | r[h].internal || ne.mixin(l, r[h].method(), !0); |
| 3097 | return l; |
| 3098 | } |
| 3099 | }, registerProvider: function(d, l, h) { |
| 3100 | r[d] = { method: l, internal: h }; |
| 3101 | }, unregisterProvider: function(d) { |
| 3102 | delete r[d]; |
| 3103 | } }; |
| 3104 | }(), i.getState = i.$stateProvider.getState, function(r) { |
| 3105 | var d = { agenda: "https://docs.dhtmlx.com/scheduler/agenda_view.html", grid: "https://docs.dhtmlx.com/scheduler/grid_view.html", map: "https://docs.dhtmlx.com/scheduler/map_view.html", unit: "https://docs.dhtmlx.com/scheduler/units_view.html", timeline: "https://docs.dhtmlx.com/scheduler/timeline_view.html", week_agenda: "https://docs.dhtmlx.com/scheduler/weekagenda_view.html", year: "https://docs.dhtmlx.com/scheduler/year_view.html", anythingElse: "https://docs.dhtmlx.com/scheduler/views.html" }, l = { agenda: "scheduler.plugins({ agenda_view: true })", grid: "scheduler.plugins({ grid_view: true })", map: "scheduler.plugins({ map_view: true })", unit: "scheduler.plugins({ units: true })", timeline: "scheduler.plugins({ timeline: true, treetimeline: true, daytimeline: true})", week_agenda: "scheduler.plugins({ week_agenda: true })", year: "scheduler.plugins({ year_view: true })", limit: "scheduler.plugins({ limit: true })" }; |
| 3106 | r._commonErrorMessages = { unknownView: function(h) { |
| 3107 | var p = l[h] ? "You're probably missing " + l[h] + "." : ""; |
| 3108 | return "`" + h + "` view is not defined. \nPlease check parameters you pass to `scheduler.init` or `scheduler.setCurrentView` in your code and ensure you've imported appropriate extensions. \nRelated docs: " + (d[h] || d.anythingElse) + ` |
| 3109 | ` + (p ? p + ` |
| 3110 | ` : ""); |
| 3111 | }, collapsedContainer: function(h) { |
| 3112 | return `Scheduler container height is set to *100%* but the rendered height is zero and the scheduler is not visible. |
| 3113 | Make sure that the container has some initial height or use different units. For example: |
| 3114 | <div id='scheduler_here' class='dhx_cal_container' style='width:100%; height:600px;'> |
| 3115 | `; |
| 3116 | } }, r.createTimelineView = function() { |
| 3117 | throw new Error("scheduler.createTimelineView is not implemented. Be sure to add the required extension: " + l.timeline + ` |
| 3118 | Related docs: ` + d.timeline); |
| 3119 | }, r.createUnitsView = function() { |
| 3120 | throw new Error("scheduler.createUnitsView is not implemented. Be sure to add the required extension: " + l.unit + ` |
| 3121 | Related docs: ` + d.unit); |
| 3122 | }, r.createGridView = function() { |
| 3123 | throw new Error("scheduler.createGridView is not implemented. Be sure to add the required extension: " + l.grid + ` |
| 3124 | Related docs: ` + d.grid); |
| 3125 | }, r.addMarkedTimespan = function() { |
| 3126 | throw new Error(`scheduler.addMarkedTimespan is not implemented. Be sure to add the required extension: scheduler.plugins({ limit: true }) |
| 3127 | Related docs: https://docs.dhtmlx.com/scheduler/limits.html`); |
| 3128 | }, r.renderCalendar = function() { |
| 3129 | throw new Error(`scheduler.renderCalendar is not implemented. Be sure to add the required extension: scheduler.plugins({ minical: true }) |
| 3130 | https://docs.dhtmlx.com/scheduler/minicalendar.html`); |
| 3131 | }, r.exportToPNG = function() { |
| 3132 | throw new Error(["scheduler.exportToPNG is not implemented.", "This feature requires an additional module, be sure to check the related doc here https://docs.dhtmlx.com/scheduler/png.html", "Licensing info: https://dhtmlx.com/docs/products/dhtmlxScheduler/export.shtml"].join(` |
| 3133 | `)); |
| 3134 | }, r.exportToPDF = function() { |
| 3135 | throw new Error(["scheduler.exportToPDF is not implemented.", "This feature requires an additional module, be sure to check the related doc here https://docs.dhtmlx.com/scheduler/pdf.html", "Licensing info: https://dhtmlx.com/docs/products/dhtmlxScheduler/export.shtml"].join(` |
| 3136 | `)); |
| 3137 | }; |
| 3138 | }(i), jt(i), function(r) { |
| 3139 | Ye(r), Ht(r), r._detachDomEvent = function(c, u, f) { |
| 3140 | c.removeEventListener ? c.removeEventListener(u, f, !1) : c.detachEvent && c.detachEvent("on" + u, f); |
| 3141 | }, r._init_once = function() { |
| 3142 | zt(r), r._init_once = function() { |
| 3143 | }; |