@syncfusion/ej2-react-schedule 20.4.53 → 21.1.35
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/CHANGELOG.md +15 -0
- 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 +2 -0
- package/dist/es6/ej2-react-schedule.es2015.js.map +1 -1
- package/package.json +9 -9
- package/src/recurrence-editor/recurrenceeditor.component.d.ts +1 -0
- package/src/recurrence-editor/recurrenceeditor.component.js +1 -0
- package/src/schedule/schedule.component.d.ts +1 -0
- package/src/schedule/schedule.component.js +1 -0
- package/styles/bootstrap-dark.css +99 -89
- package/styles/bootstrap.css +99 -89
- package/styles/bootstrap4.css +99 -89
- package/styles/bootstrap5-dark.css +110 -100
- package/styles/bootstrap5.css +110 -100
- package/styles/fabric-dark.css +98 -88
- package/styles/fabric.css +98 -88
- package/styles/fluent-dark.css +109 -99
- package/styles/fluent.css +109 -99
- package/styles/highcontrast-light.css +98 -88
- package/styles/highcontrast.css +98 -88
- package/styles/material-dark.css +98 -88
- package/styles/material.css +98 -88
- package/styles/schedule/bootstrap-dark.css +99 -89
- package/styles/schedule/bootstrap.css +99 -89
- package/styles/schedule/bootstrap4.css +99 -89
- package/styles/schedule/bootstrap5-dark.css +110 -100
- package/styles/schedule/bootstrap5.css +110 -100
- package/styles/schedule/fabric-dark.css +98 -88
- package/styles/schedule/fabric.css +98 -88
- package/styles/schedule/fluent-dark.css +109 -99
- package/styles/schedule/fluent.css +109 -99
- package/styles/schedule/highcontrast-light.css +98 -88
- package/styles/schedule/highcontrast.css +98 -88
- package/styles/schedule/material-dark.css +98 -88
- package/styles/schedule/material.css +98 -88
- package/styles/schedule/tailwind-dark.css +106 -96
- package/styles/schedule/tailwind.css +106 -96
- package/styles/tailwind-dark.css +106 -96
- package/styles/tailwind.css +106 -96
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
### Schedule
|
|
6
6
|
|
|
7
|
+
#### New Features
|
|
8
|
+
|
|
9
|
+
- `#I324269`, `#I347160` - Provided support to display multi month event as single event in vertical orientation of timeline year view.
|
|
10
|
+
- `#I419677` - Provided the support to sanitize the appointment inputs, improving the security of the Scheduler component.
|
|
11
|
+
- `#I425713` - Provided in-built filter support to the Scheduler component, allowing users to easily filter events when requesting data from the server.
|
|
12
|
+
- `#FB40709` - Provided `generateEventOccurrences` public method to retrieve all the occurrences from the series.
|
|
13
|
+
|
|
14
|
+
#### Bug fixes
|
|
15
|
+
|
|
16
|
+
- `#I442920` - An issue with appointments misaligned in timeline year view with `ignoreWhiteSpace` property has been fixed.
|
|
17
|
+
|
|
18
|
+
## 20.4.53 (2023-03-07)
|
|
19
|
+
|
|
20
|
+
### Schedule
|
|
21
|
+
|
|
7
22
|
#### Bug fixes
|
|
8
23
|
|
|
9
24
|
- `#I441823, F180833` - An issue with a script error while customizing the recurrence editor repeat type option in the Schedule editor has been fixed.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-schedule.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 21.1.35
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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("SyncfusionSchedule"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","SyncfusionSchedule","React"],t):"object"==typeof exports?exports.SyncfusionReactSchedule=t(require("SyncfusionReactBase"),require("SyncfusionSchedule"),require("React")):e.SyncfusionReactSchedule=t(e.SyncfusionReactBase,e.SyncfusionSchedule,e.React)}(this,function(e,t,n){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=5)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";var r=n(6);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";var r=n(10);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b});var o=n(8);n.d(t,"c",function(){return o.a}),n.d(t,"d",function(){return o.b});var i=n(7);n.d(t,"e",function(){return i.a}),n.d(t,"f",function(){return i.b});var u=n(9);n.d(t,"g",function(){return u.a})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4);n.d(t,"ViewDirective",function(){return r.a}),n.d(t,"ViewsDirective",function(){return r.b}),n.d(t,"ResourceDirective",function(){return r.c}),n.d(t,"ResourcesDirective",function(){return r.d}),n.d(t,"HeaderRowDirective",function(){return r.e}),n.d(t,"HeaderRowsDirective",function(){return r.f}),n.d(t,"ScheduleComponent",function(){return r.g});var o=n(3);n.d(t,"RecurrenceEditorComponent",function(){return o.a});var i=n(0);n.n(i);n.o(i,"Inject")&&n.d(t,"Inject",function(){return i.Inject});var u=n(1);n.n(u);for(var c in u)["ViewDirective","ViewsDirective","ResourceDirective","ResourcesDirective","HeaderRowDirective","HeaderRowsDirective","ScheduleComponent","RecurrenceEditorComponent","Inject","default"].indexOf(c)<0&&function(e){n.d(t,e,function(){return u[e]})}(c)},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),u=(n.n(i),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),c=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return u(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(o.RecurrenceEditor);n.i(i.applyMixins)(c,[i.ComponentBase,r.Component])},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="headerRow",t}(r.ComplexBase),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="headerRows",t.moduleName="headerRows",t}(r.ComplexBase)},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="resource",t}(r.ComplexBase),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="resources",t.moduleName="resources",t}(r.ComplexBase)},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),u=(n.n(i),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),c=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={views:"view",resources:"resource",headerRows:"headerRow"},n.immediateRender=!1,n.portals=[],n}return u(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(o.Schedule);n.i(i.applyMixins)(c,[i.ComponentBase,r.Component])},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="view",t.complexTemplate={timeScaleMinorSlotTemplate:"timeScale.minorSlotTemplate",timeScaleMajorSlotTemplate:"timeScale.majorSlotTemplate",groupHeaderTooltipTemplate:"group.headerTooltipTemplate"},t}(r.ComplexBase),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="views",t.moduleName="views",t}(r.ComplexBase)}])});
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("SyncfusionSchedule"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","SyncfusionSchedule","React"],t):"object"==typeof exports?exports.SyncfusionReactSchedule=t(require("SyncfusionReactBase"),require("SyncfusionSchedule"),require("React")):e.SyncfusionReactSchedule=t(e.SyncfusionReactBase,e.SyncfusionSchedule,e.React)}(this,function(e,t,n){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=5)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";var r=n(6);n.d(t,"a",function(){return r.a})},function(e,t,n){"use strict";var r=n(10);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.b});var o=n(8);n.d(t,"c",function(){return o.a}),n.d(t,"d",function(){return o.b});var i=n(7);n.d(t,"e",function(){return i.a}),n.d(t,"f",function(){return i.b});var u=n(9);n.d(t,"g",function(){return u.a})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4);n.d(t,"ViewDirective",function(){return r.a}),n.d(t,"ViewsDirective",function(){return r.b}),n.d(t,"ResourceDirective",function(){return r.c}),n.d(t,"ResourcesDirective",function(){return r.d}),n.d(t,"HeaderRowDirective",function(){return r.e}),n.d(t,"HeaderRowsDirective",function(){return r.f}),n.d(t,"ScheduleComponent",function(){return r.g});var o=n(3);n.d(t,"RecurrenceEditorComponent",function(){return o.a});var i=n(0);n.n(i);n.o(i,"Inject")&&n.d(t,"Inject",function(){return i.Inject});var u=n(1);n.n(u);for(var c in u)["ViewDirective","ViewsDirective","ResourceDirective","ResourcesDirective","HeaderRowDirective","HeaderRowsDirective","ScheduleComponent","RecurrenceEditorComponent","Inject","default"].indexOf(c)<0&&function(e){n.d(t,e,function(){return u[e]})}(c)},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),u=(n.n(i),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),c=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.statelessTemplateProps=null,n.immediateRender=!0,n.portals=[],n}return u(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(o.RecurrenceEditor);n.i(i.applyMixins)(c,[i.ComponentBase,r.Component])},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="headerRow",t}(r.ComplexBase),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="headerRows",t.moduleName="headerRows",t}(r.ComplexBase)},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="resource",t}(r.ComplexBase),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="resources",t.moduleName="resources",t}(r.ComplexBase)},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(2),o=(n.n(r),n(1)),i=(n.n(o),n(0)),u=(n.n(i),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),c=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={views:"view",resources:"resource",headerRows:"headerRow"},n.statelessTemplateProps=null,n.immediateRender=!1,n.portals=[],n}return u(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(o.Schedule);n.i(i.applyMixins)(c,[i.ComponentBase,r.Component])},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return u});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="view",t.complexTemplate={timeScaleMinorSlotTemplate:"timeScale.minorSlotTemplate",timeScaleMajorSlotTemplate:"timeScale.majorSlotTemplate",groupHeaderTooltipTemplate:"group.headerTooltipTemplate"},t}(r.ComplexBase),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="views",t.moduleName="views",t}(r.ComplexBase)}])});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-schedule.umd.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 21.1.35
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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.ej={},e.ej2ReactBase,e.React,e.ej2Schedule)}(this,function(e,t,r,n){"use strict";var o=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])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="view",t.complexTemplate={timeScaleMinorSlotTemplate:"timeScale.minorSlotTemplate",timeScaleMajorSlotTemplate:"timeScale.majorSlotTemplate",groupHeaderTooltipTemplate:"group.headerTooltipTemplate"},t}(t.ComplexBase),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="views",t.moduleName="views",t}(t.ComplexBase),u=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])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.moduleName="resource",t}(t.ComplexBase),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.propertyName="resources",t.moduleName="resources",t}(t.ComplexBase),a=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])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.moduleName="headerRow",t}(t.ComplexBase),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.propertyName="headerRows",t.moduleName="headerRows",t}(t.ComplexBase),h=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])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),d=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"},r.immediateRender=!1,r.portals=[],r}return h(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(n.Schedule);t.applyMixins(d,[t.ComponentBase,r.Component]);var y=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])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),m=function(e){function t(t){var r=e.call(this,t)||this;return r.initRenderCalled=!1,r.checkInjectedModules=!1,r.immediateRender=!0,r.portals=[],r}return y(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(n.RecurrenceEditor);t.applyMixins(m,[t.ComponentBase,r.Component]),e.Inject=t.Inject,e.ViewDirective=i,e.ViewsDirective=c,e.ResourceDirective=s,e.ResourcesDirective=p,e.HeaderRowDirective=l,e.HeaderRowsDirective=f,e.ScheduleComponent=d,e.RecurrenceEditorComponent=m,Object.keys(n).forEach(function(t){e[t]=n[t]}),Object.defineProperty(e,"__esModule",{value:!0})});
|
|
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.ej={},e.ej2ReactBase,e.React,e.ej2Schedule)}(this,function(e,t,r,n){"use strict";var o=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])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.moduleName="view",t.complexTemplate={timeScaleMinorSlotTemplate:"timeScale.minorSlotTemplate",timeScaleMajorSlotTemplate:"timeScale.majorSlotTemplate",groupHeaderTooltipTemplate:"group.headerTooltipTemplate"},t}(t.ComplexBase),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propertyName="views",t.moduleName="views",t}(t.ComplexBase),u=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])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.moduleName="resource",t}(t.ComplexBase),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.propertyName="resources",t.moduleName="resources",t}(t.ComplexBase),a=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])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.moduleName="headerRow",t}(t.ComplexBase),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.propertyName="headerRows",t.moduleName="headerRows",t}(t.ComplexBase),h=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])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),d=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"},r.statelessTemplateProps=null,r.immediateRender=!1,r.portals=[],r}return h(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(n.Schedule);t.applyMixins(d,[t.ComponentBase,r.Component]);var y=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])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),m=function(e){function t(t){var r=e.call(this,t)||this;return r.initRenderCalled=!1,r.checkInjectedModules=!1,r.statelessTemplateProps=null,r.immediateRender=!0,r.portals=[],r}return y(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(n.RecurrenceEditor);t.applyMixins(m,[t.ComponentBase,r.Component]),e.Inject=t.Inject,e.ViewDirective=i,e.ViewsDirective=c,e.ResourceDirective=s,e.ResourcesDirective=p,e.HeaderRowDirective=l,e.HeaderRowsDirective=f,e.ScheduleComponent=d,e.RecurrenceEditorComponent=m,Object.keys(n).forEach(function(t){e[t]=n[t]}),Object.defineProperty(e,"__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/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 = { 'timeScaleMinorSlotTemplate': 'timeScale.minorSlotTemplate', 'timeScaleMajorSlotTemplate': 'timeScale.majorSlotTemplate', 'groupHeaderTooltipTemplate': '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 * 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' };\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.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":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","ViewDirective","_super","apply","arguments","moduleName","complexTemplate","timeScaleMinorSlotTemplate","timeScaleMajorSlotTemplate","groupHeaderTooltipTemplate","ComplexBase","ViewsDirective","propertyName","ResourceDirective","ResourcesDirective","HeaderRowDirective","HeaderRowsDirective","ScheduleComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","views","resources","headerRows","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","Schedule","ej2ReactBase","ComponentBase","React.Component","RecurrenceEditorComponent","RecurrenceEditor"],"mappings":"2XAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GA0BxCK,EAA+B,SAAUC,GAEzC,SAASD,IACL,OAAkB,OAAXC,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAI/D,OANAX,EAAUe,EAAeC,GAIzBD,EAAcI,WAAa,OAC3BJ,EAAcK,iBAAoBC,2BAA8B,8BAA+BC,2B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,KAAK+B,UAJnG1B,EAAOH,UAAU8B,OAAOT,KAAKvB,MAC7BA,KAAKwB,kBAAmB,GAMzBoB,GACTC,oBACFJ,cACYG,GAA4BF,gBAAeC"}
|
|
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/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 = { 'timeScaleMinorSlotTemplate': 'timeScale.minorSlotTemplate', 'timeScaleMajorSlotTemplate': 'timeScale.majorSlotTemplate', 'groupHeaderTooltipTemplate': '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 * 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' };\n _this.statelessTemplateProps = 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.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":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","ViewDirective","_super","apply","arguments","moduleName","complexTemplate","timeScaleMinorSlotTemplate","timeScaleMajorSlotTemplate","groupHeaderTooltipTemplate","ComplexBase","ViewsDirective","propertyName","ResourceDirective","ResourcesDirective","HeaderRowDirective","HeaderRowsDirective","ScheduleComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","views","resources","headerRows","statelessTemplateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","Schedule","ej2ReactBase","ComponentBase","React.Component","RecurrenceEditorComponent","RecurrenceEditor"],"mappings":"2XAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GA0BxCK,EAA+B,SAAUC,GAEzC,SAASD,IACL,OAAkB,OAAXC,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAI/D,OANAX,EAAUe,EAAeC,GAIzBD,EAAcI,WAAa,OAC3BJ,EAAcK,iBAAoBC,2BAA8B,8BAA+BC,2BAA8B,8BAA+BC,2BAA8B,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,KAAKqB,MAAMmB,SAAUxC,KAAKgC,UAJnG3B,EAAOH,UAAU+B,OAAOV,KAAKvB,MAC7BA,KAAKwB,kBAAmB,GAMzBqB,GACTC,oBACFJ,cACYG,GAA4BF,gBAAeC"}
|
|
@@ -75,6 +75,7 @@ class ScheduleComponent extends Schedule {
|
|
|
75
75
|
this.initRenderCalled = false;
|
|
76
76
|
this.checkInjectedModules = true;
|
|
77
77
|
this.directivekeys = { 'views': 'view', 'resources': 'resource', 'headerRows': 'headerRow' };
|
|
78
|
+
this.statelessTemplateProps = null;
|
|
78
79
|
this.immediateRender = false;
|
|
79
80
|
this.portals = [];
|
|
80
81
|
}
|
|
@@ -101,6 +102,7 @@ class RecurrenceEditorComponent extends RecurrenceEditor {
|
|
|
101
102
|
super(props);
|
|
102
103
|
this.initRenderCalled = false;
|
|
103
104
|
this.checkInjectedModules = false;
|
|
105
|
+
this.statelessTemplateProps = null;
|
|
104
106
|
this.immediateRender = true;
|
|
105
107
|
this.portals = [];
|
|
106
108
|
}
|
|
@@ -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/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 = { 'timeScaleMinorSlotTemplate': 'timeScale.minorSlotTemplate', 'timeScaleMajorSlotTemplate': 'timeScale.majorSlotTemplate', 'groupHeaderTooltipTemplate': '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 * 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' };\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.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;;;;;;;;;;;;AAYA,AAAO,MAAM,aAAa,SAAS,WAAW,CAAC;CAC9C;AACD,aAAa,CAAC,UAAU,GAAG,MAAM,CAAC;AAClC,aAAa,CAAC,eAAe,GAAG,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,CAAC;AAC1N,AAAO,MAAM,cAAc,SAAS,WAAW,CAAC;CAC/C;AACD,cAAc,CAAC,YAAY,GAAG,OAAO,CAAC;AACtC,cAAc,CAAC,UAAU,GAAG,OAAO,CAAC;;ACnBpC;;;;;;;;;;;;AAYA,AAAO,MAAM,iBAAiB,SAAS,WAAW,CAAC;CAClD;AACD,iBAAiB,CAAC,UAAU,GAAG,UAAU,CAAC;AAC1C,AAAO,MAAM,kBAAkB,SAA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,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/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 = { 'timeScaleMinorSlotTemplate': 'timeScale.minorSlotTemplate', 'timeScaleMajorSlotTemplate': 'timeScale.majorSlotTemplate', 'groupHeaderTooltipTemplate': '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 * 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' };\n this.statelessTemplateProps = 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.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;;;;;;;;;;;;AAYA,AAAO,MAAM,aAAa,SAAS,WAAW,CAAC;CAC9C;AACD,aAAa,CAAC,UAAU,GAAG,MAAM,CAAC;AAClC,aAAa,CAAC,eAAe,GAAG,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,CAAC;AAC1N,AAAO,MAAM,cAAc,SAAS,WAAW,CAAC;CAC/C;AACD,cAAc,CAAC,YAAY,GAAG,OAAO,CAAC;AACtC,cAAc,CAAC,UAAU,GAAG,OAAO,CAAC;;ACnBpC;;;;;;;;;;;;AAYA,AAAO,MAAM,iBAAiB,SAAS,WAAW,CAAC;CAClD;AACD,iBAAiB,CAAC,UAAU,GAAG,UAAU,CAAC;AAC1C,AAAO,MAAM,kBAAkB,SAAS,WAAW,CAAC;CACnD;AACD,kBAAkB,CAAC,YAAY,GAAG,WAAW,CAAC;AAC9C,kBAAkB,CAAC,UAAU,GAAG,WAAW,CAAC;;AClB5C;;;;;;;;;;;;AAYA,AAAO,MAAM,kBAAkB,SAAS,WAAW,CAAC;CACnD;AACD,kBAAkB,CAAC,UAAU,GAAG,WAAW,CAAC;AAC5C,AAAO,MAAM,mBAAmB,SAAS,WAAW,CAAC;CACpD;AACD,mBAAmB,CAAC,YAAY,GAAG,YAAY,CAAC;AAChD,mBAAmB,CAAC,UAAU,GAAG,YAAY,CAAC;;AChB9C;;;;;;AAMA,AAAO,MAAM,iBAAiB,SAAS,QAAQ,CAAC;IAC5C,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,o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AAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,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;SAChH;KACJ;CACJ;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@20.
|
|
3
|
+
"_id": "@syncfusion/ej2-react-schedule@20.9.3",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-FGwhNEdQg+YNISYVwFEpop5nH8cMJtKe4JYFMN/n/2xDdFg/Jp8Wt4X58WbHiCWSBYAQOX0CtHyHze9sG8p3Mw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-react-schedule",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-react-schedule/-/ej2-react-schedule-20.9.3.tgz",
|
|
23
|
+
"_shasum": "27b3a667bcd0f83e5d173ddb102c4d9d59051ace",
|
|
24
24
|
"_spec": "@syncfusion/ej2-react-schedule@*",
|
|
25
|
-
"_where": "/jenkins/workspace/
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Syncfusion Inc."
|
|
28
28
|
},
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~
|
|
35
|
-
"@syncfusion/ej2-react-base": "~
|
|
36
|
-
"@syncfusion/ej2-schedule": "
|
|
34
|
+
"@syncfusion/ej2-base": "~21.1.35",
|
|
35
|
+
"@syncfusion/ej2-react-base": "~21.1.35",
|
|
36
|
+
"@syncfusion/ej2-schedule": "21.1.35"
|
|
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": "git+https://github.com/syncfusion/ej2-react-ui-components.git"
|
|
57
57
|
},
|
|
58
|
-
"version": "
|
|
58
|
+
"version": "21.1.35",
|
|
59
59
|
"sideEffects": false
|
|
60
60
|
}
|
|
@@ -15,6 +15,7 @@ export declare class RecurrenceEditorComponent extends RecurrenceEditor {
|
|
|
15
15
|
private getDefaultAttributes;
|
|
16
16
|
initRenderCalled: boolean;
|
|
17
17
|
private checkInjectedModules;
|
|
18
|
+
private statelessTemplateProps;
|
|
18
19
|
private immediateRender;
|
|
19
20
|
props: Readonly<{
|
|
20
21
|
children?: React.ReactNode | React.ReactNode[];
|
|
@@ -26,6 +26,7 @@ var RecurrenceEditorComponent = /** @class */ (function (_super) {
|
|
|
26
26
|
var _this = _super.call(this, props) || this;
|
|
27
27
|
_this.initRenderCalled = false;
|
|
28
28
|
_this.checkInjectedModules = false;
|
|
29
|
+
_this.statelessTemplateProps = null;
|
|
29
30
|
_this.immediateRender = true;
|
|
30
31
|
_this.portals = [];
|
|
31
32
|
return _this;
|
|
@@ -27,6 +27,7 @@ var ScheduleComponent = /** @class */ (function (_super) {
|
|
|
27
27
|
_this.initRenderCalled = false;
|
|
28
28
|
_this.checkInjectedModules = true;
|
|
29
29
|
_this.directivekeys = { 'views': 'view', 'resources': 'resource', 'headerRows': 'headerRow' };
|
|
30
|
+
_this.statelessTemplateProps = null;
|
|
30
31
|
_this.immediateRender = false;
|
|
31
32
|
_this.portals = [];
|
|
32
33
|
return _this;
|