@syncfusion/ej2-react-schedule 25.2.7 → 26.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/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 +6 -6
- package/dist/es6/ej2-react-schedule.es2015.js.map +1 -1
- package/package.json +9 -9
- package/styles/bootstrap-dark.css +4698 -1
- package/styles/bootstrap.css +4693 -1
- package/styles/bootstrap4.css +4795 -1
- package/styles/bootstrap5-dark.css +4739 -1
- package/styles/bootstrap5.css +4739 -1
- package/styles/fabric-dark.css +4660 -1
- package/styles/fabric.css +4650 -1
- package/styles/fluent-dark.css +4723 -1
- package/styles/fluent.css +4723 -1
- package/styles/fluent2.css +6966 -0
- package/styles/fluent2.scss +2 -0
- package/styles/highcontrast-light.css +4735 -1
- package/styles/highcontrast.css +4744 -1
- package/styles/material-dark.css +4715 -1
- package/styles/material.css +4762 -1
- package/styles/material3-dark.css +4980 -1
- package/styles/material3.css +5204 -1
- package/styles/recurrence-editor/bootstrap-dark.css +503 -1
- package/styles/recurrence-editor/bootstrap.css +503 -1
- package/styles/recurrence-editor/bootstrap4.css +549 -1
- package/styles/recurrence-editor/bootstrap5-dark.css +545 -1
- package/styles/recurrence-editor/bootstrap5.css +545 -1
- package/styles/recurrence-editor/fabric-dark.css +478 -1
- package/styles/recurrence-editor/fabric.css +471 -1
- package/styles/recurrence-editor/fluent-dark.css +525 -1
- package/styles/recurrence-editor/fluent.css +525 -1
- package/styles/recurrence-editor/fluent2.css +1534 -0
- package/styles/recurrence-editor/fluent2.scss +1 -0
- package/styles/recurrence-editor/highcontrast-light.css +475 -1
- package/styles/recurrence-editor/highcontrast.css +475 -1
- package/styles/recurrence-editor/material-dark.css +512 -1
- package/styles/recurrence-editor/material.css +537 -1
- package/styles/recurrence-editor/material3-dark.css +657 -1
- package/styles/recurrence-editor/material3.css +769 -1
- package/styles/recurrence-editor/tailwind-dark.css +500 -1
- package/styles/recurrence-editor/tailwind.css +500 -1
- package/styles/schedule/bootstrap-dark.css +4302 -1
- package/styles/schedule/bootstrap.css +4297 -1
- package/styles/schedule/bootstrap4.css +4399 -1
- package/styles/schedule/bootstrap5-dark.css +4343 -1
- package/styles/schedule/bootstrap5.css +4343 -1
- package/styles/schedule/fabric-dark.css +4264 -1
- package/styles/schedule/fabric.css +4254 -1
- package/styles/schedule/fluent-dark.css +4327 -1
- package/styles/schedule/fluent.css +4327 -1
- package/styles/schedule/fluent2.css +5536 -0
- package/styles/schedule/fluent2.scss +1 -0
- package/styles/schedule/highcontrast-light.css +4339 -1
- package/styles/schedule/highcontrast.css +4348 -1
- package/styles/schedule/material-dark.css +4319 -1
- package/styles/schedule/material.css +4366 -1
- package/styles/schedule/material3-dark.css +4474 -1
- package/styles/schedule/material3.css +4586 -1
- package/styles/schedule/tailwind-dark.css +4293 -1
- package/styles/schedule/tailwind.css +4293 -1
- package/styles/tailwind-dark.css +4689 -1
- package/styles/tailwind.css +4689 -1
- package/CHANGELOG.md +0 -2012
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-schedule.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 26.1.35
|
|
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(t
|
|
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:()=>a});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)}),a=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.portals=[],r}return u(t,e),t.prototype.render=function(){if(!(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)(a,[c.ComponentBase,n.Component])},994:(e,t,r)=>{r.d(t,{nm:()=>f,I_:()=>d,h2:()=>s,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),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])},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)}}(),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.moduleName="resource",t}(n.ComplexBase),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(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.portals=[],r}return R(t,e),t.prototype.render=function(){if(!(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 :
|
|
3
|
+
* version : 26.1.35
|
|
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.ej={},e.ej2ReactBase,e.React,e.ej2Schedule)}(this,function(e,
|
|
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)},M=(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}p=e.ComplexBase,c(a,p),a.propertyName="views",a.moduleName="views";var p,c=a;function a(){return null!==p&&p.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)},k=(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}w=function(e,t){return(w=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 w,R,C=function(e,t){function o(){this.constructor=e}w(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},F=(R=e.ComplexBase,C(P,R),P.moduleName="toolbarItem",P);function P(){return null!==R&&R.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.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.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,g,A=function(e,t){function o(){this.constructor=e}D(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},A=(g=r.RecurrenceEditor,A(E,g),E.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return o.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));g.prototype.render.call(this),this.initRenderCalled=!0},E);function E(e){e=g.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!1,e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!0,e.portals=[],e}e.applyMixins(A,[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=A,t.ResourceDirective=k,t.ResourcesDirective=f,t.ScheduleComponent=I,t.ToolbarItemDirective=F,t.ToolbarItemsDirective=C,t.ViewDirective=M,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":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","ViewDirective","_super","apply","arguments","moduleName","complexTemplate","timeScale.minorSlotTemplate","timeScale.majorSlotTemplate","group.headerTooltipTemplate","ComplexBase","ViewsDirective","propertyName","ResourceDirective","ResourcesDirective","HeaderRowDirective","HeaderRowsDirective","ToolbarItemDirective","ToolbarItemsDirective","ScheduleComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","views","resources","headerRows","toolbarItems","statelessTemplateProps","templateProps","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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zBJ,GACTuB,YACFC,cACYxB,GAAoByB,gBAAeC,cC/C/C,IAAI3D,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,GAsBxCkD,EAA2C,SAAU5C,GAErD,SAAS4C,EAA0B1B,GAC/B,IAAIC,EAAQnB,EAAOoB,KAAKzB,KAAMuB,IAAUvB,KAOxC,OANAwB,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMS,uBAAyB,KAC/BT,EAAMU,cAAgB,KACtBV,EAAMW,iBAAkB,EACxBX,EAAMY,WACCZ,EAWX,OApBAnC,EAAU4D,EAA2B5C,GAWrC4C,EAA0B/C,UAAUmC,OAAS,WACzC,KAAMrC,KAAKsC,UAAYtC,KAAK0B,kBAAqB1B,KAAKuC,aAAgBvC,KAAKwC,oBAKvE,OAAOC,gBAAoB,MAAOzC,KAAK0C,0BAA2BC,OAAO3C,KAAKuB,MAAMqB,SAAU5C,KAAKoC,UAJnG/B,EAAOH,UAAUmC,OAAOZ,KAAKzB,MAC7BA,KAAK0B,kBAAmB,GAMzBuB,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/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,IAAGN,EAAEM,GAAKL,EAAEK,OACpDN,EAAGC,CAAC,GALjC,IACQF,EAyBqCS,EA1BzCC,EAOO,SAAUT,EAAGC,GAEhB,SAASS,IAAOC,KAAKC,YAAcZ,EADnCD,EAAcC,EAAGC,CAAC,EAElBD,EAAEa,UAAkB,OAANZ,EAAaC,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAgBnFK,GAAyCP,EAQ3CQ,cAPEP,EAAUM,EAAeP,CAAM,EAI/BO,EAAcE,WAAa,OAC3BF,EAAcG,gBAAkB,CAAEC,8BAA+B,8BAA+BC,8BAA+B,8BAA+BC,8BAA+B,+BACtLN,GALP,SAASA,IACL,OAAkB,OAAXP,GAAmBA,EAAOc,MAAMX,KAAMY,SAAS,GAAKZ,KAOrBH,EAQ5CQ,cAPEP,EAAUe,EAAgBhB,CAAM,EAIhCgB,EAAeC,aAAe,QAC9BD,EAAeP,WAAa,YANcT,EAA1CgB,EAOOA,EALP,SAASA,IACL,OAAkB,OAAXhB,GAAmBA,EAAOc,MAAMX,KAAMY,SAAS,GAAKZ,KCtC3DZ,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAA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react-base';
|
|
3
|
+
import { createElement, Component } from 'react';
|
|
4
|
+
import { Schedule, RecurrenceEditor } from '@syncfusion/ej2-schedule';
|
|
5
|
+
export * from '@syncfusion/ej2-schedule';
|
|
4
6
|
|
|
5
7
|
/**
|
|
6
8
|
* `ViewsDirective` represent a view of the react Schedule.
|
|
@@ -141,7 +143,5 @@ class RecurrenceEditorComponent extends RecurrenceEditor {
|
|
|
141
143
|
}
|
|
142
144
|
applyMixins(RecurrenceEditorComponent, [ComponentBase, Component]);
|
|
143
145
|
|
|
144
|
-
export {
|
|
145
|
-
export * from '@syncfusion/ej2-schedule';
|
|
146
|
-
export { Inject } from '@syncfusion/ej2-react-base';
|
|
146
|
+
export { HeaderRowDirective, HeaderRowsDirective, RecurrenceEditorComponent, ResourceDirective, ResourcesDirective, ScheduleComponent, ToolbarItemDirective, ToolbarItemsDirective, ViewDirective, ViewsDirective };
|
|
147
147
|
//# sourceMappingURL=ej2-react-schedule.es2015.js.map
|
|
@@ -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":"
|
|
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;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,W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,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,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@
|
|
3
|
+
"_id": "@syncfusion/ej2-react-schedule@22.9.0",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-9ibAzOiUR9vBgxDeSlpNSPRr3w6xAFv/Q4UjlaxZXm/hYBgEu4wb1wWfRZbTxtK5TI4o6WEBE+cGQo1m8S/TQg==",
|
|
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.syncfusioninternal.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-react-schedule/-/ej2-react-schedule-22.9.0.tgz",
|
|
23
|
+
"_shasum": "32b9c577f124fcafb2f9baac5c4c67296de236bc",
|
|
24
24
|
"_spec": "@syncfusion/ej2-react-schedule@*",
|
|
25
|
-
"_where": "/jenkins/workspace/elease-
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_26.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": "~26.1.35",
|
|
35
|
+
"@syncfusion/ej2-react-base": "~26.1.35",
|
|
36
|
+
"@syncfusion/ej2-schedule": "26.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": "https://github.com/syncfusion/ej2-react-ui-components.git"
|
|
57
57
|
},
|
|
58
|
-
"version": "
|
|
58
|
+
"version": "26.1.35",
|
|
59
59
|
"sideEffects": false
|
|
60
60
|
}
|