@syncfusion/ej2-react-schedule 27.1.53 → 27.1.55
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/dist/ej2-react-schedule.min.js +2 -2
- package/dist/ej2-react-schedule.umd.min.js +2 -2
- package/dist/ej2-react-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-react-schedule.es2015.js +4 -0
- package/dist/es6/ej2-react-schedule.es2015.js.map +1 -1
- package/package.json +7 -7
- package/src/recurrence-editor/recurrenceeditor.component.d.ts +1 -0
- package/src/recurrence-editor/recurrenceeditor.component.js +2 -0
- package/src/schedule/schedule.component.d.ts +1 -0
- package/src/schedule/schedule.component.js +2 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-schedule.min.js
|
|
3
|
-
* version : 27.1.
|
|
3
|
+
* version : 27.1.55
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionSchedule")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionSchedule"],t):"object"==typeof exports?exports.SyncfusionReactSchedule=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionSchedule")):e.SyncfusionReactSchedule=t(e.SyncfusionReactBase,e.React,e.SyncfusionSchedule)}(self,((e,t,r)=>(()=>{"use strict";var o={351:(e,t,r)=>{r.d(t,{X:()=>
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionSchedule")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionSchedule"],t):"object"==typeof exports?exports.SyncfusionReactSchedule=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionSchedule")):e.SyncfusionReactSchedule=t(e.SyncfusionReactBase,e.React,e.SyncfusionSchedule)}(self,((e,t,r)=>(()=>{"use strict";var o={351:(e,t,r)=>{r.d(t,{X:()=>s});var o,n=r(24),i=r(187),c=r(705),u=(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},o(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),s=function(e){function t(t){var r=e.call(this,t)||this;return r.initRenderCalled=!1,r.checkInjectedModules=!1,r.statelessTemplateProps=null,r.templateProps=null,r.immediateRender=!0,r.isReactMock=!0,r.portals=[],r}return u(t,e),t.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(i.RecurrenceEditor);(0,c.applyMixins)(s,[c.ComponentBase,n.Component])},994:(e,t,r)=>{r.d(t,{nm:()=>f,I_:()=>d,h2:()=>a,Ye:()=>p,ic:()=>b,QE:()=>y,Oj:()=>h,Rc:()=>c,S6:()=>u});var o,n=r(705),i=(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},o(e,t)},function(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.moduleName="view",t.complexTemplate={"timeScale.minorSlotTemplate":"timeScale.minorSlotTemplate","timeScale.majorSlotTemplate":"timeScale.majorSlotTemplate","group.headerTooltipTemplate":"group.headerTooltipTemplate"},t}(n.ComplexBase),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.propertyName="views",t.moduleName="views",t}(n.ComplexBase),s=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.moduleName="resource",t}(n.ComplexBase),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.propertyName="resources",t.moduleName="resources",t}(n.ComplexBase),l=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.moduleName="headerRow",t}(n.ComplexBase),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.propertyName="headerRows",t.moduleName="headerRows",t}(n.ComplexBase),m=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.moduleName="toolbarItem",t}(n.ComplexBase),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.propertyName="toolbarItems",t.moduleName="toolbarItems",t}(n.ComplexBase),_=r(24),v=r(187),R=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),b=function(e){function t(t){var r=e.call(this,t)||this;return r.initRenderCalled=!1,r.checkInjectedModules=!0,r.directivekeys={views:"view",resources:"resource",headerRows:"headerRow",toolbarItems:"toolbarItem"},r.statelessTemplateProps=null,r.templateProps=null,r.immediateRender=!1,r.isReactMock=!0,r.portals=[],r}return R(t,e),t.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return _.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(v.Schedule);(0,n.applyMixins)(b,[n.ComponentBase,_.Component])},24:e=>{e.exports=t},705:t=>{t.exports=e},187:e=>{e.exports=r}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return o[e](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{i.r(c),i.d(c,{HeaderRowDirective:()=>e.nm,HeaderRowsDirective:()=>e.I_,Inject:()=>r.Inject,RecurrenceEditorComponent:()=>t.X,ResourceDirective:()=>e.h2,ResourcesDirective:()=>e.Ye,ScheduleComponent:()=>e.ic,ToolbarItemDirective:()=>e.QE,ToolbarItemsDirective:()=>e.Oj,ViewDirective:()=>e.Rc,ViewsDirective:()=>e.S6});var e=i(994),t=i(351),r=i(705),o=i(187),n={};for(const e in o)["default","Inject","HeaderRowDirective","HeaderRowsDirective","ResourceDirective","ResourcesDirective","ScheduleComponent","ToolbarItemDirective","ToolbarItemsDirective","ViewDirective","ViewsDirective","RecurrenceEditorComponent"].indexOf(e)<0&&(n[e]=()=>o[e]);i.d(c,n)})(),c})()));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-schedule.umd.min.js
|
|
3
|
-
* version : 27.1.
|
|
3
|
+
* version : 27.1.55
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
8
|
* applicable laws.
|
|
9
9
|
*/
|
|
10
|
-
!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)},
|
|
10
|
+
!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})});
|
|
11
11
|
//# sourceMappingURL=ej2-react-schedule.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-schedule.umd.min.js","sources":["../src/schedule/views-directive.js","../src/schedule/resources-directive.js","../src/schedule/headerrows-directive.js","../src/schedule/toolbaritems-directive.js","../src/schedule/schedule.component.js","../src/recurrence-editor/recurrenceeditor.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ViewsDirective` represent a view of the react Schedule.\n * It must be contained in a Schedule component(`SchduleComponent`).\n * ```tsx\n * <ScheduleComponent>\n * <ViewsDirective>\n * <ViewDirective option='day' dateFormat='dd MMM'></ViewDirective>\n * <ViewDirective option='week'></ViewDirective>\n * <ViewsDirective>\n * </ScheduleComponent>\n * ```\n */\nvar ViewDirective = /** @class */ (function (_super) {\n __extends(ViewDirective, _super);\n function ViewDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ViewDirective.moduleName = 'view';\n ViewDirective.complexTemplate = { 'timeScale.minorSlotTemplate': 'timeScale.minorSlotTemplate', 'timeScale.majorSlotTemplate': 'timeScale.majorSlotTemplate', 'group.headerTooltipTemplate': 'group.headerTooltipTemplate' };\n return ViewDirective;\n}(ComplexBase));\nexport { ViewDirective };\nvar ViewsDirective = /** @class */ (function (_super) {\n __extends(ViewsDirective, _super);\n function ViewsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ViewsDirective.propertyName = 'views';\n ViewsDirective.moduleName = 'views';\n return ViewsDirective;\n}(ComplexBase));\nexport { ViewsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ResourcesDirective` represent a resource of the react Schedule.\n * It must be contained in a Schedule component(`SchduleComponent`).\n * ```tsx\n * <ScheduleComponent>\n * <ResourcesDirective>\n * <ResourceDirective field='RoomId' name='Rooms'></ResourceDirective>\n * <ResourceDirective field='OwnerId' name='Owners'></ResourceDirective>\n * <ResourcesDirective>\n * </ScheduleComponent>\n * ```\n */\nvar ResourceDirective = /** @class */ (function (_super) {\n __extends(ResourceDirective, _super);\n function ResourceDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ResourceDirective.moduleName = 'resource';\n return ResourceDirective;\n}(ComplexBase));\nexport { ResourceDirective };\nvar ResourcesDirective = /** @class */ (function (_super) {\n __extends(ResourcesDirective, _super);\n function ResourcesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ResourcesDirective.propertyName = 'resources';\n ResourcesDirective.moduleName = 'resources';\n return ResourcesDirective;\n}(ComplexBase));\nexport { ResourcesDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `HeaderRowsDirective` represent a header rows of the react Schedule.\n * It must be contained in a Schedule component(`SchduleComponent`).\n * ```tsx\n * <ScheduleComponent>\n * <HeaderRowsDirective>\n * <HeaderRowDirective option='Week'></HeaderRowDirective>\n * <HeaderRowDirective option='Date'></HeaderRowDirective>\n * <HeaderRowsDirective>\n * </ScheduleComponent>\n * ```\n */\nvar HeaderRowDirective = /** @class */ (function (_super) {\n __extends(HeaderRowDirective, _super);\n function HeaderRowDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n HeaderRowDirective.moduleName = 'headerRow';\n return HeaderRowDirective;\n}(ComplexBase));\nexport { HeaderRowDirective };\nvar HeaderRowsDirective = /** @class */ (function (_super) {\n __extends(HeaderRowsDirective, _super);\n function HeaderRowsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n HeaderRowsDirective.propertyName = 'headerRows';\n HeaderRowsDirective.moduleName = 'headerRows';\n return HeaderRowsDirective;\n}(ComplexBase));\nexport { HeaderRowsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ToolbarItemsDirective` represent a custom toolbar items of the react Schedule.\n * It must be contained in a Schedule component(`SchduleComponent`).\n * ```tsx\n * <ScheduleComponent>\n * <ToolbarItemsDirective>\n * <ToolbarItemDirective name= 'Today'></ToolbarItemDirective>\n * <ToolbarItemDirective name= 'DateRangeText'></ToolbarItemDirective>\n * <ToolbarItemDirective prefixIcon='e-icons e-cut' text='Cut'></ToolbarItemDirective>\n * <ToolbarItemsDirective>\n * </ScheduleComponent>\n * ```\n */\nvar ToolbarItemDirective = /** @class */ (function (_super) {\n __extends(ToolbarItemDirective, _super);\n function ToolbarItemDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ToolbarItemDirective.moduleName = 'toolbarItem';\n return ToolbarItemDirective;\n}(ComplexBase));\nexport { ToolbarItemDirective };\nvar ToolbarItemsDirective = /** @class */ (function (_super) {\n __extends(ToolbarItemsDirective, _super);\n function ToolbarItemsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ToolbarItemsDirective.propertyName = 'toolbarItems';\n ToolbarItemsDirective.moduleName = 'toolbarItems';\n return ToolbarItemsDirective;\n}(ComplexBase));\nexport { ToolbarItemsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { Schedule } from '@syncfusion/ej2-schedule';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `ScheduleComponent` represents the react Schedule.\n * ```tsx\n * <ScheduleComponent/>\n * ```\n */\nvar ScheduleComponent = /** @class */ (function (_super) {\n __extends(ScheduleComponent, _super);\n function ScheduleComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'views': 'view', 'resources': 'resource', 'headerRows': 'headerRow', 'toolbarItems': 'toolbarItem' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n ScheduleComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return ScheduleComponent;\n}(Schedule));\nexport { ScheduleComponent };\napplyMixins(ScheduleComponent, [ComponentBase, React.Component]);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { RecurrenceEditor } from '@syncfusion/ej2-schedule';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `RecurrenceEditorComponent` represents the react RecurrenceEditor.\n * ```tsx\n * <RecurrenceEditorComponent/>\n * ```\n */\nvar RecurrenceEditorComponent = /** @class */ (function (_super) {\n __extends(RecurrenceEditorComponent, _super);\n function RecurrenceEditorComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n RecurrenceEditorComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return RecurrenceEditorComponent;\n}(RecurrenceEditor));\nexport { RecurrenceEditorComponent };\napplyMixins(RecurrenceEditorComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","ViewDirective","ComplexBase","moduleName","complexTemplate","timeScale.minorSlotTemplate","timeScale.majorSlotTemplate","group.headerTooltipTemplate","apply","arguments","ViewsDirective","propertyName","ResourceDirective","ResourcesDirective","HeaderRowDirective","HeaderRowsDirective","ToolbarItemDirective","ToolbarItemsDirective","ScheduleComponent","Schedule","render","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","views","resources","headerRows","toolbarItems","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component","RecurrenceEditorComponent","RecurrenceEditor"],"mappings":"qYACQA,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,CAAC,IA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UiD,EAA2BlD,CAAM,EAW3CkD,EAA0B7C,UAAUqB,OAAS,WACzC,GAAI,EAAEvB,KAAKwB,SAAW,CAACxB,KAAKyB,kBAAqBzB,KAAK0B,aAAgB1B,KAAK2B,oBAKvE,OAAOC,gBAAoB,MAAO5B,KAAK6B,uBAAwB,GAAGC,OAAO9B,KAAK+B,MAAMC,SAAUhC,KAAKiC,OAAO,CAAC,EAJ3GpC,EAAOK,UAAUqB,OAAOW,KAAKlC,IAAI,EACjCA,KAAKyB,iBAAmB,CAAA,GAMzBsB,GAnBP,SAASA,EAA0BhB,GAC3BI,EAAQtC,EAAOqC,KAAKlC,KAAM+B,CAAK,GAAK/B,KAOxC,OANAmC,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAMO,uBAAyB,KAC/BP,EAAMQ,cAAgB,KACtBR,EAAMS,gBAAkB,CAAA,EACxBT,EAAMF,QAAU,GACTE,gBAcHY,EAA2B,CAACF,gBAAeC,YAAgB"}
|
|
1
|
+
{"version":3,"file":"ej2-react-schedule.umd.min.js","sources":["../src/schedule/views-directive.js","../src/schedule/resources-directive.js","../src/schedule/headerrows-directive.js","../src/schedule/toolbaritems-directive.js","../src/schedule/schedule.component.js","../src/recurrence-editor/recurrenceeditor.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ViewsDirective` represent a view of the react Schedule.\n * It must be contained in a Schedule component(`SchduleComponent`).\n * ```tsx\n * <ScheduleComponent>\n * <ViewsDirective>\n * <ViewDirective option='day' dateFormat='dd MMM'></ViewDirective>\n * <ViewDirective option='week'></ViewDirective>\n * <ViewsDirective>\n * </ScheduleComponent>\n * ```\n */\nvar ViewDirective = /** @class */ (function (_super) {\n __extends(ViewDirective, _super);\n function ViewDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ViewDirective.moduleName = 'view';\n ViewDirective.complexTemplate = { 'timeScale.minorSlotTemplate': 'timeScale.minorSlotTemplate', 'timeScale.majorSlotTemplate': 'timeScale.majorSlotTemplate', 'group.headerTooltipTemplate': 'group.headerTooltipTemplate' };\n return ViewDirective;\n}(ComplexBase));\nexport { ViewDirective };\nvar ViewsDirective = /** @class */ (function (_super) {\n __extends(ViewsDirective, _super);\n function ViewsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ViewsDirective.propertyName = 'views';\n ViewsDirective.moduleName = 'views';\n return ViewsDirective;\n}(ComplexBase));\nexport { ViewsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ResourcesDirective` represent a resource of the react Schedule.\n * It must be contained in a Schedule component(`SchduleComponent`).\n * ```tsx\n * <ScheduleComponent>\n * <ResourcesDirective>\n * <ResourceDirective field='RoomId' name='Rooms'></ResourceDirective>\n * <ResourceDirective field='OwnerId' name='Owners'></ResourceDirective>\n * <ResourcesDirective>\n * </ScheduleComponent>\n * ```\n */\nvar ResourceDirective = /** @class */ (function (_super) {\n __extends(ResourceDirective, _super);\n function ResourceDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ResourceDirective.moduleName = 'resource';\n return ResourceDirective;\n}(ComplexBase));\nexport { ResourceDirective };\nvar ResourcesDirective = /** @class */ (function (_super) {\n __extends(ResourcesDirective, _super);\n function ResourcesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ResourcesDirective.propertyName = 'resources';\n ResourcesDirective.moduleName = 'resources';\n return ResourcesDirective;\n}(ComplexBase));\nexport { ResourcesDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `HeaderRowsDirective` represent a header rows of the react Schedule.\n * It must be contained in a Schedule component(`SchduleComponent`).\n * ```tsx\n * <ScheduleComponent>\n * <HeaderRowsDirective>\n * <HeaderRowDirective option='Week'></HeaderRowDirective>\n * <HeaderRowDirective option='Date'></HeaderRowDirective>\n * <HeaderRowsDirective>\n * </ScheduleComponent>\n * ```\n */\nvar HeaderRowDirective = /** @class */ (function (_super) {\n __extends(HeaderRowDirective, _super);\n function HeaderRowDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n HeaderRowDirective.moduleName = 'headerRow';\n return HeaderRowDirective;\n}(ComplexBase));\nexport { HeaderRowDirective };\nvar HeaderRowsDirective = /** @class */ (function (_super) {\n __extends(HeaderRowsDirective, _super);\n function HeaderRowsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n HeaderRowsDirective.propertyName = 'headerRows';\n HeaderRowsDirective.moduleName = 'headerRows';\n return HeaderRowsDirective;\n}(ComplexBase));\nexport { HeaderRowsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ToolbarItemsDirective` represent a custom toolbar items of the react Schedule.\n * It must be contained in a Schedule component(`SchduleComponent`).\n * ```tsx\n * <ScheduleComponent>\n * <ToolbarItemsDirective>\n * <ToolbarItemDirective name= 'Today'></ToolbarItemDirective>\n * <ToolbarItemDirective name= 'DateRangeText'></ToolbarItemDirective>\n * <ToolbarItemDirective prefixIcon='e-icons e-cut' text='Cut'></ToolbarItemDirective>\n * <ToolbarItemsDirective>\n * </ScheduleComponent>\n * ```\n */\nvar ToolbarItemDirective = /** @class */ (function (_super) {\n __extends(ToolbarItemDirective, _super);\n function ToolbarItemDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ToolbarItemDirective.moduleName = 'toolbarItem';\n return ToolbarItemDirective;\n}(ComplexBase));\nexport { ToolbarItemDirective };\nvar ToolbarItemsDirective = /** @class */ (function (_super) {\n __extends(ToolbarItemsDirective, _super);\n function ToolbarItemsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ToolbarItemsDirective.propertyName = 'toolbarItems';\n ToolbarItemsDirective.moduleName = 'toolbarItems';\n return ToolbarItemsDirective;\n}(ComplexBase));\nexport { ToolbarItemsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { Schedule } from '@syncfusion/ej2-schedule';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `ScheduleComponent` represents the react Schedule.\n * ```tsx\n * <ScheduleComponent/>\n * ```\n */\nvar ScheduleComponent = /** @class */ (function (_super) {\n __extends(ScheduleComponent, _super);\n function ScheduleComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'views': 'view', 'resources': 'resource', 'headerRows': 'headerRow', 'toolbarItems': 'toolbarItem' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n ScheduleComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return ScheduleComponent;\n}(Schedule));\nexport { ScheduleComponent };\napplyMixins(ScheduleComponent, [ComponentBase, React.Component]);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { RecurrenceEditor } from '@syncfusion/ej2-schedule';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `RecurrenceEditorComponent` represents the react RecurrenceEditor.\n * ```tsx\n * <RecurrenceEditorComponent/>\n * ```\n */\nvar RecurrenceEditorComponent = /** @class */ (function (_super) {\n __extends(RecurrenceEditorComponent, _super);\n function RecurrenceEditorComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = false;\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = true;\n _this.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n RecurrenceEditorComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return RecurrenceEditorComponent;\n}(RecurrenceEditor));\nexport { RecurrenceEditorComponent };\napplyMixins(RecurrenceEditorComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","ViewDirective","ComplexBase","moduleName","complexTemplate","timeScale.minorSlotTemplate","timeScale.majorSlotTemplate","group.headerTooltipTemplate","apply","arguments","ViewsDirective","propertyName","ResourceDirective","ResourcesDirective","HeaderRowDirective","HeaderRowsDirective","ToolbarItemDirective","ToolbarItemsDirective","ScheduleComponent","Schedule","render","isReactMock","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","views","resources","headerRows","toolbarItems","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component","RecurrenceEditorComponent","RecurrenceEditor"],"mappings":"qYACQA,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KA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AAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAYnFiD,GAAqDnD,EAwBvDoD,mBAvBEnD,EAAUkD,EAA2BnD,CAAM,EAY3CmD,EAA0B9C,UAAUqB,OAAS,WAEzC,GADAvB,KAAKwB,YAAc,CAAA,EACf,EAAExB,KAAKyB,SAAW,CAACzB,KAAK0B,kBAAqB1B,KAAK2B,aAAgB3B,KAAK4B,oBAKvE,OAAOC,gBAAoB,MAAO7B,KAAK8B,uBAAwB,GAAGC,OAAO/B,KAAKgC,MAAMC,SAAUjC,KAAKkC,OAAO,CAAC,EAJ3GrC,EAAOK,UAAUqB,OAAOY,KAAKnC,IAAI,EACjCA,KAAK0B,iBAAmB,CAAA,GAMzBsB,GArBP,SAASA,EAA0BhB,GAC3BI,EAAQvC,EAAOsC,KAAKnC,KAAMgC,CAAK,GAAKhC,KAQxC,OAPAoC,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAMO,uBAAyB,KAC/BP,EAAMQ,cAAgB,KACtBR,EAAMS,gBAAkB,CAAA,EACxBT,EAAMZ,YAAc,CAAA,EACpBY,EAAMF,QAAU,GACTE,gBAeHY,EAA2B,CAACF,gBAAeC,YAAgB"}
|
|
@@ -101,9 +101,11 @@ class ScheduleComponent extends Schedule {
|
|
|
101
101
|
this.statelessTemplateProps = null;
|
|
102
102
|
this.templateProps = null;
|
|
103
103
|
this.immediateRender = false;
|
|
104
|
+
this.isReactMock = true;
|
|
104
105
|
this.portals = [];
|
|
105
106
|
}
|
|
106
107
|
render() {
|
|
108
|
+
this.isReactMock = false;
|
|
107
109
|
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
108
110
|
super.render();
|
|
109
111
|
this.initRenderCalled = true;
|
|
@@ -129,9 +131,11 @@ class RecurrenceEditorComponent extends RecurrenceEditor {
|
|
|
129
131
|
this.statelessTemplateProps = null;
|
|
130
132
|
this.templateProps = null;
|
|
131
133
|
this.immediateRender = true;
|
|
134
|
+
this.isReactMock = true;
|
|
132
135
|
this.portals = [];
|
|
133
136
|
}
|
|
134
137
|
render() {
|
|
138
|
+
this.isReactMock = false;
|
|
135
139
|
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
136
140
|
super.render();
|
|
137
141
|
this.initRenderCalled = true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ej2-react-schedule.es2015.js","sources":["../src/es6/schedule/views-directive.js","../src/es6/schedule/resources-directive.js","../src/es6/schedule/headerrows-directive.js","../src/es6/schedule/toolbaritems-directive.js","../src/es6/schedule/schedule.component.js","../src/es6/recurrence-editor/recurrenceeditor.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ViewsDirective` represent a view of the react Schedule.\n * It must be contained in a Schedule component(`SchduleComponent`).\n * ```tsx\n * <ScheduleComponent>\n * <ViewsDirective>\n * <ViewDirective option='day' dateFormat='dd MMM'></ViewDirective>\n * <ViewDirective option='week'></ViewDirective>\n * <ViewsDirective>\n * </ScheduleComponent>\n * ```\n */\nexport class ViewDirective extends ComplexBase {\n}\nViewDirective.moduleName = 'view';\nViewDirective.complexTemplate = { 'timeScale.minorSlotTemplate': 'timeScale.minorSlotTemplate', 'timeScale.majorSlotTemplate': 'timeScale.majorSlotTemplate', 'group.headerTooltipTemplate': 'group.headerTooltipTemplate' };\nexport class ViewsDirective extends ComplexBase {\n}\nViewsDirective.propertyName = 'views';\nViewsDirective.moduleName = 'views';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ResourcesDirective` represent a resource of the react Schedule.\n * It must be contained in a Schedule component(`SchduleComponent`).\n * ```tsx\n * <ScheduleComponent>\n * <ResourcesDirective>\n * <ResourceDirective field='RoomId' name='Rooms'></ResourceDirective>\n * <ResourceDirective field='OwnerId' name='Owners'></ResourceDirective>\n * <ResourcesDirective>\n * </ScheduleComponent>\n * ```\n */\nexport class ResourceDirective extends ComplexBase {\n}\nResourceDirective.moduleName = 'resource';\nexport class ResourcesDirective extends ComplexBase {\n}\nResourcesDirective.propertyName = 'resources';\nResourcesDirective.moduleName = 'resources';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `HeaderRowsDirective` represent a header rows of the react Schedule.\n * It must be contained in a Schedule component(`SchduleComponent`).\n * ```tsx\n * <ScheduleComponent>\n * <HeaderRowsDirective>\n * <HeaderRowDirective option='Week'></HeaderRowDirective>\n * <HeaderRowDirective option='Date'></HeaderRowDirective>\n * <HeaderRowsDirective>\n * </ScheduleComponent>\n * ```\n */\nexport class HeaderRowDirective extends ComplexBase {\n}\nHeaderRowDirective.moduleName = 'headerRow';\nexport class HeaderRowsDirective extends ComplexBase {\n}\nHeaderRowsDirective.propertyName = 'headerRows';\nHeaderRowsDirective.moduleName = 'headerRows';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ToolbarItemsDirective` represent a custom toolbar items of the react Schedule.\n * It must be contained in a Schedule component(`SchduleComponent`).\n * ```tsx\n * <ScheduleComponent>\n * <ToolbarItemsDirective>\n * <ToolbarItemDirective name= 'Today'></ToolbarItemDirective>\n * <ToolbarItemDirective name= 'DateRangeText'></ToolbarItemDirective>\n * <ToolbarItemDirective prefixIcon='e-icons e-cut' text='Cut'></ToolbarItemDirective>\n * <ToolbarItemsDirective>\n * </ScheduleComponent>\n * ```\n */\nexport class ToolbarItemDirective extends ComplexBase {\n}\nToolbarItemDirective.moduleName = 'toolbarItem';\nexport class ToolbarItemsDirective extends ComplexBase {\n}\nToolbarItemsDirective.propertyName = 'toolbarItems';\nToolbarItemsDirective.moduleName = 'toolbarItems';\n","import * as React from 'react';\nimport { Schedule } from '@syncfusion/ej2-schedule';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `ScheduleComponent` represents the react Schedule.\n * ```tsx\n * <ScheduleComponent/>\n * ```\n */\nexport class ScheduleComponent extends Schedule {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'views': 'view', 'resources': 'resource', 'headerRows': 'headerRow', 'toolbarItems': 'toolbarItem' };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(ScheduleComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { RecurrenceEditor } from '@syncfusion/ej2-schedule';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `RecurrenceEditorComponent` represents the react RecurrenceEditor.\n * ```tsx\n * <RecurrenceEditorComponent/>\n * ```\n */\nexport class RecurrenceEditorComponent extends RecurrenceEditor {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = true;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(RecurrenceEditorComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,aAAa,SAAS,WAAW,CAAC;AAC/C,CAAC;AACD,aAAa,CAAC,UAAU,GAAG,MAAM,CAAC;AAClC,aAAa,CAAC,eAAe,GAAG,EAAE,6BAA6B,EAAE,6BAA6B,EAAE,6BAA6B,EAAE,6BAA6B,EAAE,6BAA6B,EAAE,6BAA6B,EAAE,CAAC;AACtN,MAAM,cAAc,SAAS,WAAW,CAAC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Q,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;AACzC,QAAQ,IAAI,CAAC,aAAa,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC;AACpI,QAAQ,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;AAC3C,QAAQ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;AAClC,QAAQ,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;AACrC,QAAQ,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;AAC1B,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACxG,YAAY,KAAK,CAAC,MAAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,iBAAiB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;
|
|
1
|
+
{"version":3,"file":"ej2-react-schedule.es2015.js","sources":["../src/es6/schedule/views-directive.js","../src/es6/schedule/resources-directive.js","../src/es6/schedule/headerrows-directive.js","../src/es6/schedule/toolbaritems-directive.js","../src/es6/schedule/schedule.component.js","../src/es6/recurrence-editor/recurrenceeditor.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ViewsDirective` represent a view of the react Schedule.\n * It must be contained in a Schedule component(`SchduleComponent`).\n * ```tsx\n * <ScheduleComponent>\n * <ViewsDirective>\n * <ViewDirective option='day' dateFormat='dd MMM'></ViewDirective>\n * <ViewDirective option='week'></ViewDirective>\n * <ViewsDirective>\n * </ScheduleComponent>\n * ```\n */\nexport class ViewDirective extends ComplexBase {\n}\nViewDirective.moduleName = 'view';\nViewDirective.complexTemplate = { 'timeScale.minorSlotTemplate': 'timeScale.minorSlotTemplate', 'timeScale.majorSlotTemplate': 'timeScale.majorSlotTemplate', 'group.headerTooltipTemplate': 'group.headerTooltipTemplate' };\nexport class ViewsDirective extends ComplexBase {\n}\nViewsDirective.propertyName = 'views';\nViewsDirective.moduleName = 'views';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ResourcesDirective` represent a resource of the react Schedule.\n * It must be contained in a Schedule component(`SchduleComponent`).\n * ```tsx\n * <ScheduleComponent>\n * <ResourcesDirective>\n * <ResourceDirective field='RoomId' name='Rooms'></ResourceDirective>\n * <ResourceDirective field='OwnerId' name='Owners'></ResourceDirective>\n * <ResourcesDirective>\n * </ScheduleComponent>\n * ```\n */\nexport class ResourceDirective extends ComplexBase {\n}\nResourceDirective.moduleName = 'resource';\nexport class ResourcesDirective extends ComplexBase {\n}\nResourcesDirective.propertyName = 'resources';\nResourcesDirective.moduleName = 'resources';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `HeaderRowsDirective` represent a header rows of the react Schedule.\n * It must be contained in a Schedule component(`SchduleComponent`).\n * ```tsx\n * <ScheduleComponent>\n * <HeaderRowsDirective>\n * <HeaderRowDirective option='Week'></HeaderRowDirective>\n * <HeaderRowDirective option='Date'></HeaderRowDirective>\n * <HeaderRowsDirective>\n * </ScheduleComponent>\n * ```\n */\nexport class HeaderRowDirective extends ComplexBase {\n}\nHeaderRowDirective.moduleName = 'headerRow';\nexport class HeaderRowsDirective extends ComplexBase {\n}\nHeaderRowsDirective.propertyName = 'headerRows';\nHeaderRowsDirective.moduleName = 'headerRows';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ToolbarItemsDirective` represent a custom toolbar items of the react Schedule.\n * It must be contained in a Schedule component(`SchduleComponent`).\n * ```tsx\n * <ScheduleComponent>\n * <ToolbarItemsDirective>\n * <ToolbarItemDirective name= 'Today'></ToolbarItemDirective>\n * <ToolbarItemDirective name= 'DateRangeText'></ToolbarItemDirective>\n * <ToolbarItemDirective prefixIcon='e-icons e-cut' text='Cut'></ToolbarItemDirective>\n * <ToolbarItemsDirective>\n * </ScheduleComponent>\n * ```\n */\nexport class ToolbarItemDirective extends ComplexBase {\n}\nToolbarItemDirective.moduleName = 'toolbarItem';\nexport class ToolbarItemsDirective extends ComplexBase {\n}\nToolbarItemsDirective.propertyName = 'toolbarItems';\nToolbarItemsDirective.moduleName = 'toolbarItems';\n","import * as React from 'react';\nimport { Schedule } from '@syncfusion/ej2-schedule';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `ScheduleComponent` represents the react Schedule.\n * ```tsx\n * <ScheduleComponent/>\n * ```\n */\nexport class ScheduleComponent extends Schedule {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'views': 'view', 'resources': 'resource', 'headerRows': 'headerRow', 'toolbarItems': 'toolbarItem' };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(ScheduleComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { RecurrenceEditor } from '@syncfusion/ej2-schedule';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `RecurrenceEditorComponent` represents the react RecurrenceEditor.\n * ```tsx\n * <RecurrenceEditorComponent/>\n * ```\n */\nexport class RecurrenceEditorComponent extends RecurrenceEditor {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = false;\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = true;\n this.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(RecurrenceEditorComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,aAAa,SAAS,WAAW,CAAC;AAC/C,CAAC;AACD,aAAa,CAAC,UAAU,GAAG,MAAM,CAAC;AAClC,aAAa,CAAC,eAAe,GAAG,EAAE,6BAA6B,EAAE,6BAA6B,EAAE,6BAA6B,EAAE,6BAA6B,EAAE,6BAA6B,EAAE,6BAA6B,EAAE,CAAC;AACtN,MAAM,cAAc,SAAS,WAAW,CAAC;AAChD,CAAC;AACD,cAAc,CAAC,YAAY,GAAG,OAAO,CAAC;AACtC,cAAc,CAAC,UAAU,GAAG,OAAO;;ACnBnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,MAAM,iBAAiB,SAAS,WAAW,CAAC;AACnD,CAAC;AACD,iBAAiB,CAAC,UAAU,GAAG,UAAU,CAAC;AAC1C,AAAO,MAAM,kBAAkB,SAAS,WAAW,CAAC;AACpD,CAAC;AACD,kBAAkB,CAAC,YAAY,GAAG,WAAW,CAAC;AAC9C,kBAAkB,CAAC,UAAU,GAAG,WAAW,CAAC;;AClB5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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AC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACxG,YAAY,KAAK,CAAC,MAAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOD,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,yBAAyB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-react-schedule@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-react-schedule@27.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-react-schedule@27.1.53",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-InjaPBveff9+d1Zm24/28Y8wIz5H49eWPR7nUymnEbSTRywfKbA0SYwROp/NTWWq1JXXqpwbslnpiuKE0bZ3RA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-react-schedule",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-schedule/-/ej2-react-schedule-27.1.
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-schedule/-/ej2-react-schedule-27.1.53.tgz",
|
|
23
|
+
"_shasum": "2231ae6cab2419c0bf18fe69ac964ef94a8817dd",
|
|
24
24
|
"_spec": "@syncfusion/ej2-react-schedule@*",
|
|
25
25
|
"_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~27.1.
|
|
34
|
+
"@syncfusion/ej2-base": "~27.1.55",
|
|
35
35
|
"@syncfusion/ej2-react-base": "~27.1.50",
|
|
36
|
-
"@syncfusion/ej2-schedule": "27.1.
|
|
36
|
+
"@syncfusion/ej2-schedule": "27.1.55"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "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",
|
|
@@ -55,6 +55,6 @@
|
|
|
55
55
|
"type": "git",
|
|
56
56
|
"url": "https://github.com/syncfusion/ej2-react-ui-components.git"
|
|
57
57
|
},
|
|
58
|
-
"version": "27.1.
|
|
58
|
+
"version": "27.1.55",
|
|
59
59
|
"sideEffects": false
|
|
60
60
|
}
|
|
@@ -18,6 +18,7 @@ export declare class RecurrenceEditorComponent extends RecurrenceEditor {
|
|
|
18
18
|
private statelessTemplateProps;
|
|
19
19
|
private templateProps;
|
|
20
20
|
private immediateRender;
|
|
21
|
+
private isReactMock;
|
|
21
22
|
props: Readonly<{
|
|
22
23
|
children?: React.ReactNode | React.ReactNode[];
|
|
23
24
|
}> & Readonly<RecurrenceEditorModel | DefaultHtmlAttributes>;
|
|
@@ -29,10 +29,12 @@ var RecurrenceEditorComponent = /** @class */ (function (_super) {
|
|
|
29
29
|
_this.statelessTemplateProps = null;
|
|
30
30
|
_this.templateProps = null;
|
|
31
31
|
_this.immediateRender = true;
|
|
32
|
+
_this.isReactMock = true;
|
|
32
33
|
_this.portals = [];
|
|
33
34
|
return _this;
|
|
34
35
|
}
|
|
35
36
|
RecurrenceEditorComponent.prototype.render = function () {
|
|
37
|
+
this.isReactMock = false;
|
|
36
38
|
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
37
39
|
_super.prototype.render.call(this);
|
|
38
40
|
this.initRenderCalled = true;
|
|
@@ -38,6 +38,7 @@ export declare class ScheduleComponent extends Schedule {
|
|
|
38
38
|
private statelessTemplateProps;
|
|
39
39
|
private templateProps;
|
|
40
40
|
private immediateRender;
|
|
41
|
+
private isReactMock;
|
|
41
42
|
props: Readonly<{
|
|
42
43
|
children?: React.ReactNode | React.ReactNode[];
|
|
43
44
|
}> & Readonly<ScheduleModel | DefaultHtmlAttributes | ScheduleTypecast>;
|
|
@@ -30,10 +30,12 @@ var ScheduleComponent = /** @class */ (function (_super) {
|
|
|
30
30
|
_this.statelessTemplateProps = null;
|
|
31
31
|
_this.templateProps = null;
|
|
32
32
|
_this.immediateRender = false;
|
|
33
|
+
_this.isReactMock = true;
|
|
33
34
|
_this.portals = [];
|
|
34
35
|
return _this;
|
|
35
36
|
}
|
|
36
37
|
ScheduleComponent.prototype.render = function () {
|
|
38
|
+
this.isReactMock = false;
|
|
37
39
|
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
38
40
|
_super.prototype.render.call(this);
|
|
39
41
|
this.initRenderCalled = true;
|