@syncfusion/ej2-react-schedule
Version:
Flexible scheduling library with more built-in features and enhanced customization options similar to outlook and google calendar, allowing the users to plan and manage their appointments with efficient data-binding support. for React
12 lines (11 loc) • 5.64 kB
JavaScript
/*!
* filename: ej2-react-schedule.umd.min.js
* version : 32.1.22
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-schedule")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-schedule"],t):t((e=e||self).ej={},e.ej2ReactBase,e.React,e.ej2Schedule)}(this,function(t,e,o,r){"use strict";n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var n,i,c=function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},A=(i=e.ComplexBase,c(s,i),s.moduleName="view",s.complexTemplate={"timeScale.minorSlotTemplate":"timeScale.minorSlotTemplate","timeScale.majorSlotTemplate":"timeScale.majorSlotTemplate","group.headerTooltipTemplate":"group.headerTooltipTemplate"},s);function s(){return null!==i&&i.apply(this,arguments)||this}a=e.ComplexBase,c(p,a),p.propertyName="views",p.moduleName="views";var a,c=p;function p(){return null!==a&&a.apply(this,arguments)||this}l=function(e,t){return(l=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var l,u,f=function(e,t){function o(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},E=(u=e.ComplexBase,f(m,u),m.moduleName="resource",m);function m(){return null!==u&&u.apply(this,arguments)||this}h=e.ComplexBase,f(d,h),d.propertyName="resources",d.moduleName="resources";var h,f=d;function d(){return null!==h&&h.apply(this,arguments)||this}y=function(e,t){return(y=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var y,_,v=function(e,t){function o(){this.constructor=e}y(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},q=(_=e.ComplexBase,v(b,_),b.moduleName="headerRow",b);function b(){return null!==_&&_.apply(this,arguments)||this}j=e.ComplexBase,v(O,j),O.propertyName="headerRows",O.moduleName="headerRows";var j,v=O;function O(){return null!==j&&j.apply(this,arguments)||this}R=function(e,t){return(R=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var R,w,C=function(e,t){function o(){this.constructor=e}R(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},F=(w=e.ComplexBase,C(P,w),P.moduleName="toolbarItem",P);function P(){return null!==w&&w.apply(this,arguments)||this}x=e.ComplexBase,C(T,x),T.propertyName="toolbarItems",T.moduleName="toolbarItems";var x,C=T;function T(){return null!==x&&x.apply(this,arguments)||this}N=function(e,t){return(N=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var N,B,I=function(e,t){function o(){this.constructor=e}N(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},I=(B=r.Schedule,I(S,B),S.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return o.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));B.prototype.render.call(this),this.initRenderCalled=!0},S);function S(e){e=B.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.directivekeys={views:"view",resources:"resource",headerRows:"headerRow",toolbarItems:"toolbarItem"},e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!1,e.isReactMock=!0,e.portals=[],e}e.applyMixins(I,[e.ComponentBase,o.Component]);D=function(e,t){return(D=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var D,M,g=function(e,t){function o(){this.constructor=e}D(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},g=(M=r.RecurrenceEditor,g(k,M),k.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return o.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));M.prototype.render.call(this),this.initRenderCalled=!0},k);function k(e){e=M.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!1,e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!0,e.isReactMock=!0,e.portals=[],e}e.applyMixins(g,[e.ComponentBase,o.Component]),Object.keys(r).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})}),Object.defineProperty(t,"Inject",{enumerable:!0,get:function(){return e.Inject}}),t.HeaderRowDirective=q,t.HeaderRowsDirective=v,t.RecurrenceEditorComponent=g,t.ResourceDirective=E,t.ResourcesDirective=f,t.ScheduleComponent=I,t.ToolbarItemDirective=F,t.ToolbarItemsDirective=C,t.ViewDirective=A,t.ViewsDirective=c,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=ej2-react-schedule.umd.min.js.map