@syncfusion/ej2-react-schedule 23.2.7 → 24.1.41

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.
Files changed (64) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/diConfig.json +59 -0
  3. package/dist/ej2-react-schedule.min.js +2 -2
  4. package/dist/ej2-react-schedule.umd.min.js +2 -2
  5. package/dist/ej2-react-schedule.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-react-schedule.es2015.js +23 -2
  7. package/dist/es6/ej2-react-schedule.es2015.js.map +1 -1
  8. package/package.json +9 -9
  9. package/src/schedule/index.d.ts +1 -0
  10. package/src/schedule/index.js +1 -0
  11. package/src/schedule/schedule.component.js +1 -1
  12. package/src/schedule/toolbaritems-directive.d.ts +27 -0
  13. package/src/schedule/toolbaritems-directive.js +46 -0
  14. package/styles/bootstrap-dark.css +1 -4546
  15. package/styles/bootstrap.css +1 -4541
  16. package/styles/bootstrap4.css +1 -4650
  17. package/styles/bootstrap5-dark.css +1 -4595
  18. package/styles/bootstrap5.css +1 -4595
  19. package/styles/fabric-dark.css +1 -4513
  20. package/styles/fabric.css +1 -4503
  21. package/styles/fluent-dark.css +1 -4572
  22. package/styles/fluent.css +1 -4572
  23. package/styles/highcontrast-light.css +1 -4585
  24. package/styles/highcontrast.css +1 -4594
  25. package/styles/material-dark.css +1 -4529
  26. package/styles/material.css +1 -4565
  27. package/styles/material3-dark.css +1 -4687
  28. package/styles/material3.css +1 -4799
  29. package/styles/recurrence-editor/bootstrap-dark.css +1 -510
  30. package/styles/recurrence-editor/bootstrap.css +1 -510
  31. package/styles/recurrence-editor/bootstrap4.css +1 -555
  32. package/styles/recurrence-editor/bootstrap5-dark.css +1 -551
  33. package/styles/recurrence-editor/bootstrap5.css +1 -551
  34. package/styles/recurrence-editor/fabric-dark.css +1 -486
  35. package/styles/recurrence-editor/fabric.css +1 -479
  36. package/styles/recurrence-editor/fluent-dark.css +1 -531
  37. package/styles/recurrence-editor/fluent.css +1 -531
  38. package/styles/recurrence-editor/highcontrast-light.css +1 -483
  39. package/styles/recurrence-editor/highcontrast.css +1 -483
  40. package/styles/recurrence-editor/material-dark.css +1 -511
  41. package/styles/recurrence-editor/material.css +1 -536
  42. package/styles/recurrence-editor/material3-dark.css +1 -601
  43. package/styles/recurrence-editor/material3.css +1 -657
  44. package/styles/recurrence-editor/tailwind-dark.css +1 -499
  45. package/styles/recurrence-editor/tailwind.css +1 -499
  46. package/styles/schedule/bootstrap-dark.css +1 -4140
  47. package/styles/schedule/bootstrap.css +1 -4135
  48. package/styles/schedule/bootstrap4.css +1 -4244
  49. package/styles/schedule/bootstrap5-dark.css +1 -4189
  50. package/styles/schedule/bootstrap5.css +1 -4189
  51. package/styles/schedule/fabric-dark.css +1 -4107
  52. package/styles/schedule/fabric.css +1 -4097
  53. package/styles/schedule/fluent-dark.css +1 -4166
  54. package/styles/schedule/fluent.css +1 -4166
  55. package/styles/schedule/highcontrast-light.css +1 -4179
  56. package/styles/schedule/highcontrast.css +1 -4188
  57. package/styles/schedule/material-dark.css +1 -4123
  58. package/styles/schedule/material.css +1 -4159
  59. package/styles/schedule/material3-dark.css +1 -4226
  60. package/styles/schedule/material3.css +1 -4282
  61. package/styles/schedule/tailwind-dark.css +1 -4130
  62. package/styles/schedule/tailwind.css +1 -4130
  63. package/styles/tailwind-dark.css +1 -4536
  64. package/styles/tailwind.css +1 -4536
package/CHANGELOG.md CHANGED
@@ -4,9 +4,17 @@
4
4
 
5
5
  ### Schedule
6
6
 
7
+ #### New Features
8
+
9
+ - `#I227283`, `#I233208`, `#F170880` - Provided support to customize the scheduler toolbar items using the `toolbarItems` property.
10
+ - `#I347220` - Provided the support to control the number of events displayed in a cell in the Month view and Timeline views using the `maxEventsPerRow` property
11
+
7
12
  #### Bug fixes
8
13
 
9
14
  - `#I519049` - An issue related to events are overlapping when they are on same date in vertical year view has been resolved.
15
+ - `#F185646` - An issue with page crashes when schedule appointment drag-drops over the calendar has been fixed.
16
+ - `#F185139` - An issue related to events are positioned incorrectly when using `firstDayOfWeek` with different time slot intervals has been resolved.
17
+ - `#FB47966` - An issue with timezone setting not working for all day events has been fixed.
10
18
 
11
19
  - `#I521475` - An issue with setting default values to the editor template inputs while opening the editor window through cell double click has been fixed.
12
20
 
package/diConfig.json CHANGED
@@ -472,6 +472,65 @@
472
472
  " * ```",
473
473
  " */"
474
474
  ]
475
+ },
476
+ {
477
+ "baseClass": "ToolbarItem",
478
+ "propertyName": "toolbarItems",
479
+ "directoryName": "schedule",
480
+ "directiveClassName": "ToolbarItem",
481
+ "arrayDirectiveClassName": "ToolbarItems",
482
+ "arrayDirectiveSelector": "ejs-schedule>e-toolbaritems",
483
+ "directiveSelector": "e-toolbaritems>e-toolbaritem",
484
+ "aspArrayDirectiveSelector": "e-schedule-toolbaritems",
485
+ "aspDirectiveSelector": "e-schedule-toolbaritem",
486
+ "templateProperties": [
487
+ "template"
488
+ ],
489
+ "comment": [
490
+ "/**",
491
+ " * `e-toolbaritems` directive represent a custom toolbar items of the Schedule. ",
492
+ " * It must be contained in a Schedule component(`ejs-schedule`). ",
493
+ " * ```html",
494
+ " * <ejs-schedule>",
495
+ " * <e-toolbaritems>",
496
+ " * <e-toolbaritem name='Today'></<e-toolbaritem>",
497
+ " * <e-toolbaritem name='DateRangeText'></e-toolbaritem>",
498
+ " * <e-toolbaritem prefixIcon='e-icons e-cut' text='Cut'></e-toolbaritem>",
499
+ " * <e-toolbaritems>",
500
+ " * </ejs-schedule>",
501
+ " * ```",
502
+ " */"
503
+ ],
504
+ "reactComment": [
505
+ "/**",
506
+ " * `ToolbarItemsDirective` represent a custom toolbar items of the react Schedule. ",
507
+ " * It must be contained in a Schedule component(`SchduleComponent`). ",
508
+ " * ```tsx",
509
+ " * <ScheduleComponent>",
510
+ " * <ToolbarItemsDirective>",
511
+ " * <ToolbarItemDirective name= 'Today'></ToolbarItemDirective>",
512
+ " * <ToolbarItemDirective name= 'DateRangeText'></ToolbarItemDirective>",
513
+ " * <ToolbarItemDirective prefixIcon='e-icons e-cut' text='Cut'></ToolbarItemDirective>",
514
+ " * <ToolbarItemsDirective>",
515
+ " * </ScheduleComponent>",
516
+ " * ```",
517
+ " */"
518
+ ],
519
+ "vueComment": [
520
+ "/**",
521
+ " * `e-toolbaritems` directive represent a custom toolbar items of the VueJS Schedule. ",
522
+ " * It must be contained in a Schedule component(`ejs-schedule`). ",
523
+ " * ```vue",
524
+ " * <ejs-schedule>",
525
+ " * <e-toolbaritems>",
526
+ " * <e-toolbaritem name='Today'></<e-toolbaritem>",
527
+ " * <e-toolbaritem name='DateRangeText'></e-toolbaritem>",
528
+ " * <e-toolbaritem prefixIcon='e-icons e-cut' text='Cut'></e-toolbaritem>",
529
+ " * <e-toolbaritems>",
530
+ " * </ejs-schedule>",
531
+ " * ```",
532
+ " */"
533
+ ]
475
534
  }
476
535
  ],
477
536
  "templateProperties": [
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * filename: ej2-react-schedule.min.js
3
- * version : 23.2.7
3
+ * version : 24.1.41
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("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.templateProps=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.templateProps=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={"timeScale.minorSlotTemplate":"timeScale.minorSlotTemplate","timeScale.majorSlotTemplate":"timeScale.majorSlotTemplate","group.headerTooltipTemplate":"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(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionReactBase"),require("SyncfusionSchedule"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","SyncfusionSchedule","React"],e):"object"==typeof exports?exports.SyncfusionReactSchedule=e(require("SyncfusionReactBase"),require("SyncfusionSchedule"),require("React")):t.SyncfusionReactSchedule=e(t.SyncfusionReactBase,t.SyncfusionSchedule,t.React)}(this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=5)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e,n){"use strict";var r=n(6);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(11);n.d(e,"a",function(){return r.a}),n.d(e,"b",function(){return r.b});var o=n(8);n.d(e,"c",function(){return o.a}),n.d(e,"d",function(){return o.b});var i=n(7);n.d(e,"e",function(){return i.a}),n.d(e,"f",function(){return i.b});var u=n(10);n.d(e,"g",function(){return u.a}),n.d(e,"h",function(){return u.b});var c=n(9);n.d(e,"i",function(){return c.a})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);n.d(e,"ViewDirective",function(){return r.a}),n.d(e,"ViewsDirective",function(){return r.b}),n.d(e,"ResourceDirective",function(){return r.c}),n.d(e,"ResourcesDirective",function(){return r.d}),n.d(e,"HeaderRowDirective",function(){return r.e}),n.d(e,"HeaderRowsDirective",function(){return r.f}),n.d(e,"ToolbarItemDirective",function(){return r.g}),n.d(e,"ToolbarItemsDirective",function(){return r.h}),n.d(e,"ScheduleComponent",function(){return r.i});var o=n(3);n.d(e,"RecurrenceEditorComponent",function(){return o.a});var i=n(0);n.n(i);n.o(i,"Inject")&&n.d(e,"Inject",function(){return i.Inject});var u=n(1);n.n(u);for(var c in u)["ViewDirective","ViewsDirective","ResourceDirective","ResourcesDirective","HeaderRowDirective","HeaderRowsDirective","ToolbarItemDirective","ToolbarItemsDirective","ScheduleComponent","RecurrenceEditorComponent","Inject","default"].indexOf(c)<0&&function(t){n.d(e,t,function(){return u[t]})}(c)},function(t,e,n){"use strict";n.d(e,"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 t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),c=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!0,n.portals=[],n}return u(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.RecurrenceEditor);n.i(i.applyMixins)(c,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return u});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="headerRow",e}(r.ComplexBase),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="headerRows",e.moduleName="headerRows",e}(r.ComplexBase)},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return u});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="resource",e}(r.ComplexBase),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="resources",e.moduleName="resources",e}(r.ComplexBase)},function(t,e,n){"use strict";n.d(e,"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 t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),c=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={views:"view",resources:"resource",headerRows:"headerRow",toolbarItems:"toolbarItem"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return u(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Schedule);n.i(i.applyMixins)(c,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return u});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="toolbarItem",e}(r.ComplexBase),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="toolbarItems",e.moduleName="toolbarItems",e}(r.ComplexBase)},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return u});var r=n(0),o=(n.n(r),this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}()),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.moduleName="view",e.complexTemplate={"timeScale.minorSlotTemplate":"timeScale.minorSlotTemplate","timeScale.majorSlotTemplate":"timeScale.majorSlotTemplate","group.headerTooltipTemplate":"group.headerTooltipTemplate"},e}(r.ComplexBase),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.propertyName="views",e.moduleName="views",e}(r.ComplexBase)}])});
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-react-schedule.umd.min.js
3
- * version : 23.2.7
3
+ * version : 24.1.41
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,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={"timeScale.minorSlotTemplate":"timeScale.minorSlotTemplate","timeScale.majorSlotTemplate":"timeScale.majorSlotTemplate","group.headerTooltipTemplate":"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.templateProps=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 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])})(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)}}(),y=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 m(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(y,[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=y,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,o){"use strict";var n=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 o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.moduleName="view",t.complexTemplate={"timeScale.minorSlotTemplate":"timeScale.minorSlotTemplate","timeScale.majorSlotTemplate":"timeScale.majorSlotTemplate","group.headerTooltipTemplate":"group.headerTooltipTemplate"},t}(t.ComplexBase),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(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 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 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 o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),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),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])})(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)}}(),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.moduleName="toolbarItem",t}(t.ComplexBase),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.propertyName="toolbarItems",t.moduleName="toolbarItems",t}(t.ComplexBase),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 o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),_=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 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}(o.Schedule);t.applyMixins(_,[t.ComponentBase,r.Component]);var v=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 o(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),j=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 v(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);t.applyMixins(j,[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.ToolbarItemDirective=h,e.ToolbarItemsDirective=d,e.ScheduleComponent=_,e.RecurrenceEditorComponent=j,Object.keys(o).forEach(function(t){e[t]=o[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 = { '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 * 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.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","ScheduleComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","views","resources","headerRows","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,EAAcI,WAAa,OAC3BJ,EAAcK,iBAAoBC,8BAA+B,8BAA+BC,8BAA+B,8BAA+BC,8BAA+B,+BACtLR,GACTS,eAEEC,EAAgC,SAAUT,GAE1C,SAASS,IACL,OAAkB,OAAXT,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAI/D,OANAX,EAAUyB,EAAgBT,GAI1BS,EAAeC,aAAe,QAC9BD,EAAeN,WAAa,QACrBM,GACTD,eC5CExB,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GA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-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,EAAcI,WAAa,OAC3BJ,EAAcK,iBAAoBC,8BAA+B,8BAA+BC,8BAA+B,8BAA+BC,8BAA+B,+BACtLR,GACTS,eAEEC,EAAgC,SAAUT,GAE1C,SAASS,IACL,OAAkB,OAAXT,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAI/D,OANAX,EAAUyB,EAAgBT,GAI1BS,EAAeC,aAAe,QAC9BD,EAAeN,WAAa,QACrBM,GACTD,eC5CExB,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,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O,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"}
@@ -63,6 +63,27 @@ class HeaderRowsDirective extends ComplexBase {
63
63
  HeaderRowsDirective.propertyName = 'headerRows';
64
64
  HeaderRowsDirective.moduleName = 'headerRows';
65
65
 
66
+ /**
67
+ * `ToolbarItemsDirective` represent a custom toolbar items of the react Schedule.
68
+ * It must be contained in a Schedule component(`SchduleComponent`).
69
+ * ```tsx
70
+ * <ScheduleComponent>
71
+ * <ToolbarItemsDirective>
72
+ * <ToolbarItemDirective name= 'Today'></ToolbarItemDirective>
73
+ * <ToolbarItemDirective name= 'DateRangeText'></ToolbarItemDirective>
74
+ * <ToolbarItemDirective prefixIcon='e-icons e-cut' text='Cut'></ToolbarItemDirective>
75
+ * <ToolbarItemsDirective>
76
+ * </ScheduleComponent>
77
+ * ```
78
+ */
79
+ class ToolbarItemDirective extends ComplexBase {
80
+ }
81
+ ToolbarItemDirective.moduleName = 'toolbarItem';
82
+ class ToolbarItemsDirective extends ComplexBase {
83
+ }
84
+ ToolbarItemsDirective.propertyName = 'toolbarItems';
85
+ ToolbarItemsDirective.moduleName = 'toolbarItems';
86
+
66
87
  /**
67
88
  * `ScheduleComponent` represents the react Schedule.
68
89
  * ```tsx
@@ -74,7 +95,7 @@ class ScheduleComponent extends Schedule {
74
95
  super(props);
75
96
  this.initRenderCalled = false;
76
97
  this.checkInjectedModules = true;
77
- this.directivekeys = { 'views': 'view', 'resources': 'resource', 'headerRows': 'headerRow' };
98
+ this.directivekeys = { 'views': 'view', 'resources': 'resource', 'headerRows': 'headerRow', 'toolbarItems': 'toolbarItem' };
78
99
  this.statelessTemplateProps = null;
79
100
  this.templateProps = null;
80
101
  this.immediateRender = false;
@@ -120,7 +141,7 @@ class RecurrenceEditorComponent extends RecurrenceEditor {
120
141
  }
121
142
  applyMixins(RecurrenceEditorComponent, [ComponentBase, Component]);
122
143
 
123
- export { ViewDirective, ViewsDirective, ResourceDirective, ResourcesDirective, HeaderRowDirective, HeaderRowsDirective, ScheduleComponent, RecurrenceEditorComponent };
144
+ export { ViewDirective, ViewsDirective, ResourceDirective, ResourcesDirective, HeaderRowDirective, HeaderRowsDirective, ToolbarItemDirective, ToolbarItemsDirective, ScheduleComponent, RecurrenceEditorComponent };
124
145
  export * from '@syncfusion/ej2-schedule';
125
146
  export { Inject } from '@syncfusion/ej2-react-base';
126
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/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 * 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.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;;;;;;;;;;;;AAYA,AAAO,MAAM,aAAa,SAAS,WAAW,CAAC;CAC9C;AACD,aAAa,CAAC,UAAU,GAAG,MAAM,CAAC;AAClC,aAAa,CAAC,eAAe,GAA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E,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;;;;;;"}
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;;;;;;;;;;;;AAYA,AAAO,MAAM,aAAa,SAAS,WAAW,CAAC;CAC9C;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;AAC7N,AAAO,MAAM,cAAc,SAAS,WAAW,CAAC;CAC/C;AACD,cAAc,CAAC,YAAY,GAAG,OAAO,CAAC;AACtC,cAAc,CAAC,UAAU,GAAG,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,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@23.2.4",
3
+ "_id": "@syncfusion/ej2-react-schedule@22.7.2",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-SKFSUkD2GT+H/mHgxvSiJekMVUxw89B68gZ3+ojxseAZb1kEiCnhSSj2ZtLaU+aZPsKXGStOQj7zqFoa29fM2g==",
5
+ "_integrity": "sha512-sak+VX4UFgjfrQhPRcoBLizkqpktAdnnLNnN+fySGajh0MNDBnmXZqZDznqTjKmwyw2SpoGFYjMSAVTkjfnf5A==",
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-hotfix-new/@syncfusion/ej2-react-schedule/-/ej2-react-schedule-23.2.4.tgz",
23
- "_shasum": "17de81a84bb02acba64d64603b7f5889d9bef2a1",
22
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-react-schedule/-/ej2-react-schedule-22.7.2.tgz",
23
+ "_shasum": "169ec661db009ae4116fc35be0e34565af81e5d6",
24
24
  "_spec": "@syncfusion/ej2-react-schedule@*",
25
- "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
25
+ "_where": "/jenkins/workspace/elease-automation_release_24.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": "~23.2.6",
35
- "@syncfusion/ej2-react-base": "~23.2.5",
36
- "@syncfusion/ej2-schedule": "23.2.7"
34
+ "@syncfusion/ej2-base": "~24.1.41",
35
+ "@syncfusion/ej2-react-base": "~24.1.41",
36
+ "@syncfusion/ej2-schedule": "24.1.41"
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": "23.2.7",
58
+ "version": "24.1.41",
59
59
  "sideEffects": false
60
60
  }
@@ -1,4 +1,5 @@
1
1
  export * from './views-directive';
2
2
  export * from './resources-directive';
3
3
  export * from './headerrows-directive';
4
+ export * from './toolbaritems-directive';
4
5
  export * from './schedule.component';
@@ -1,4 +1,5 @@
1
1
  export * from './views-directive';
2
2
  export * from './resources-directive';
3
3
  export * from './headerrows-directive';
4
+ export * from './toolbaritems-directive';
4
5
  export * from './schedule.component';
@@ -26,7 +26,7 @@ var ScheduleComponent = /** @class */ (function (_super) {
26
26
  var _this = _super.call(this, props) || this;
27
27
  _this.initRenderCalled = false;
28
28
  _this.checkInjectedModules = true;
29
- _this.directivekeys = { 'views': 'view', 'resources': 'resource', 'headerRows': 'headerRow' };
29
+ _this.directivekeys = { 'views': 'view', 'resources': 'resource', 'headerRows': 'headerRow', 'toolbarItems': 'toolbarItem' };
30
30
  _this.statelessTemplateProps = null;
31
31
  _this.templateProps = null;
32
32
  _this.immediateRender = false;
@@ -0,0 +1,27 @@
1
+ import { ComplexBase } from '@syncfusion/ej2-react-base';
2
+ import { ToolbarItemModel } from '@syncfusion/ej2-schedule';
3
+ export interface ToolbarItemDirTypecast {
4
+ template?: string | Function | any;
5
+ }
6
+ /**
7
+ * `ToolbarItemsDirective` represent a custom toolbar items of the react Schedule.
8
+ * It must be contained in a Schedule component(`SchduleComponent`).
9
+ * ```tsx
10
+ * <ScheduleComponent>
11
+ * <ToolbarItemsDirective>
12
+ * <ToolbarItemDirective name= 'Today'></ToolbarItemDirective>
13
+ * <ToolbarItemDirective name= 'DateRangeText'></ToolbarItemDirective>
14
+ * <ToolbarItemDirective prefixIcon='e-icons e-cut' text='Cut'></ToolbarItemDirective>
15
+ * <ToolbarItemsDirective>
16
+ * </ScheduleComponent>
17
+ * ```
18
+ */
19
+ export declare class ToolbarItemDirective extends ComplexBase<ToolbarItemModel | ToolbarItemDirTypecast & {
20
+ children?: React.ReactNode;
21
+ }, ToolbarItemModel | ToolbarItemDirTypecast> {
22
+ static moduleName: string;
23
+ }
24
+ export declare class ToolbarItemsDirective extends ComplexBase<{}, {}> {
25
+ static propertyName: string;
26
+ static moduleName: string;
27
+ }
@@ -0,0 +1,46 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ import { ComplexBase } from '@syncfusion/ej2-react-base';
15
+ /**
16
+ * `ToolbarItemsDirective` represent a custom toolbar items of the react Schedule.
17
+ * It must be contained in a Schedule component(`SchduleComponent`).
18
+ * ```tsx
19
+ * <ScheduleComponent>
20
+ * <ToolbarItemsDirective>
21
+ * <ToolbarItemDirective name= 'Today'></ToolbarItemDirective>
22
+ * <ToolbarItemDirective name= 'DateRangeText'></ToolbarItemDirective>
23
+ * <ToolbarItemDirective prefixIcon='e-icons e-cut' text='Cut'></ToolbarItemDirective>
24
+ * <ToolbarItemsDirective>
25
+ * </ScheduleComponent>
26
+ * ```
27
+ */
28
+ var ToolbarItemDirective = /** @class */ (function (_super) {
29
+ __extends(ToolbarItemDirective, _super);
30
+ function ToolbarItemDirective() {
31
+ return _super !== null && _super.apply(this, arguments) || this;
32
+ }
33
+ ToolbarItemDirective.moduleName = 'toolbarItem';
34
+ return ToolbarItemDirective;
35
+ }(ComplexBase));
36
+ export { ToolbarItemDirective };
37
+ var ToolbarItemsDirective = /** @class */ (function (_super) {
38
+ __extends(ToolbarItemsDirective, _super);
39
+ function ToolbarItemsDirective() {
40
+ return _super !== null && _super.apply(this, arguments) || this;
41
+ }
42
+ ToolbarItemsDirective.propertyName = 'toolbarItems';
43
+ ToolbarItemsDirective.moduleName = 'toolbarItems';
44
+ return ToolbarItemsDirective;
45
+ }(ComplexBase));
46
+ export { ToolbarItemsDirective };