Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-react-schedule

Package Overview
Dependencies
Maintainers
2
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-react-schedule - npm Package Compare versions

Comparing version 16.2.45 to 16.2.46

src/global.js

8

CHANGELOG.md

@@ -9,2 +9,10 @@ # Changelog

- An issue with creation of weekly recurrence appointment, without providing `repeat every` field value has been fixed.
## 16.2.44 (2018-07-10)
### Schedule
#### Bug Fixes
- An issue with delete icon not displaying in a disabled state on `quick popup`, when scheduler is set to `readonly` has been fixed.

@@ -11,0 +19,0 @@

26

diConfig.json
{
"name": "Schedule",
"description": "Schedule Components",
"keywords": "ej2-schedule, ej2-ng-schedule, ng-schedule, schedule, ej2, syncfusion, web-components, Javascript, Typescript",
"keywords": {
"common": [
"ej2",
"syncfusion",
"web-components",
"schedule",
"ej2-schedule"
],
"angular": [
"angular",
"ng",
"ng-schedule",
"ej2-ng-schedule"
],
"react": [
"react",
"react-schedule",
"ej2-react-schedule"
],
"vue": [
"vue",
"vue-schedule",
"ej2-vue-schedule"
]
},
"repository": {

@@ -6,0 +30,0 @@ "type": "git",

/*!
* filename: ej2-react-schedule.umd.min.js
* version : 16.2.43
* version : 16.2.46
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.

@@ -10,4 +10,13 @@ * Use of this code is subject to the terms of our license.

*/
/*!
* filename: ej2-react-schedule.umd.min.js
* version : 16.2.45
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-schedule")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-schedule"],t):t(e.ej={},e.ej2ReactBase,e.React,e.ej2Schedule)}(this,function(e,t,n,r){"use strict";var o=function(){var 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])};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="viewsModel",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),s=function(){var 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])};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)}}(),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.moduleName="resourcesModel",t}(t.ComplexBase),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.propertyName="resources",t.moduleName="resources",t}(t.ComplexBase),a=function(){var 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])};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)}}(),l=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={views:"viewsModel",resources:"resourcesModel"},n.state=t,n}return a(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("div",this.getDefaultAttributes(),this.props.children);e.prototype.render.call(this),this.initRenderCalled=!0},t}(r.Schedule);t.applyMixins(l,[t.ComponentBase,n.PureComponent]);var f=function(){var 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])};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)}}(),d=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=t,n}return f(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("div",this.getDefaultAttributes(),this.props.children);e.prototype.render.call(this),this.initRenderCalled=!0},t}(r.RecurrenceEditor);t.applyMixins(d,[t.ComponentBase,n.PureComponent]),e.Inject=t.Inject,e.ViewsModelDirective=i,e.ViewsDirective=c,e.ResourcesModelDirective=u,e.ResourcesDirective=p,e.ScheduleComponent=l,e.RecurrenceEditorComponent=d,Object.keys(r).forEach(function(t){e[t]=r[t]}),Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=ej2-react-schedule.umd.min.js.map

12

index.js

@@ -1,8 +0,4 @@

define(["require", "exports", "./src/index"], function (require, exports, index_1) {
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(index_1);
});
/**
* index
*/
export * from './src/index';
{
"name": "@syncfusion/ej2-react-schedule",
"version": "16.2.45",
"version": "16.2.46",
"description": "Essential JS 2 Schedule Component for React",

@@ -17,9 +17,9 @@ "author": "Syncfusion Inc.",

"main": "./dist/ej2-react-schedule.umd.min.js",
"module": "dist/es6/ej2-react-schedule.es5.js",
"module": "./index.js",
"es2015": "dist/es6/ej2-react-schedule.es2015.js",
"readme": "ReadMe.md",
"dependencies": {
"@syncfusion/ej2-base": "~16.2.45",
"@syncfusion/ej2-react-base": "~16.2.45",
"@syncfusion/ej2-schedule": "16.2.45"
"@syncfusion/ej2-base": "~16.2.46",
"@syncfusion/ej2-react-base": "~16.2.46",
"@syncfusion/ej2-schedule": "16.2.46"
},

@@ -26,0 +26,0 @@ "devDependencies": {

@@ -1,19 +0,71 @@

# Schedule Overview
# ej2-react-schedule
Schedule is an event calendar which facilitates user with the common Outlook-calendar features, thus allowing the users to plan and manage their appointments and its time in an efficient way.
The [schedule](https://github.com/syncfusion/ej2-react-schedule) component is an event calendar that facilitates almost all the basic Outlook and Google Calendar features, allowing the user to plan and manage appointments and time efficiently. It receives data from a variety of data sources, such as an array of JSON objects, OData web services, RESTful or WCF services, and [`DataManager`](https://ej2.syncfusion.com/react/documentation/data/) with built-in load on demand support to reduce the data transfer and load time. Also, it is availed with the multiple resources support that allots an unique individual space for more than one resources on the same calendar.
Also, it comes with documentation and support which is available for commercial and community licensed users. To know more, please visit www.syncfusion.com.
![Schedule](https://ej2.syncfusion.com/products/schedule/readme.png)
> This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's [EULA](https://www.syncfusion.com/eula/es/). To acquire a license, you can purchase one at [here](https://www.syncfusion.com/sales/products) or start a free 30-day trial from [here](https://www.syncfusion.com/account/manage-trials/start-trials).
> A free community [license](https://www.syncfusion.com/products/communitylicense) is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
## Setup
To install Schedule and its dependent packages, use the following command.
```sh
npm install @syncfusion/ej2-react-schedule
```
## Resources
* [Getting Started](https://ej2.syncfusion.com/react/documentation/schedule/getting-started.html)
* [View Online Demos](https://ej2.syncfusion.com/16.2.41/react/demos/#/material/schedule/default)
* [Product Page](https://www.syncfusion.com/products/react/scheduler)
## Supported Frameworks
Schedule component is also available in following list of frameworks.
1. [Angular](https://github.com/syncfusion/ej2-ng-schedule)
2. [VueJS](https://www.syncfusion.com/products/vue/scheduler)
3. [ASP.NET Core](https://www.syncfusion.com/products/aspnetcore/scheduler)
4. [ASP.NET MVC](https://www.syncfusion.com/products/aspnetmvc/scheduler)
5. [JavaScript (ES5)](https://www.syncfusion.com/products/javascript/scheduler)
## Showcase samples
* Fare Calendar ([Live Demo](https://ej2.syncfusion.com/16.2.41/react/demos/#/material/schedule/resources))
## Key Features
* **Views** - Schedule is now availed with 6 different view modes – day, week, work week, month, agenda and month agenda. It is possible to configure view-based settings on each view mode. The `Week` view is set as active view by default.
* **Data binding** - Seamless data binding with various client-side and remote data sources thus allowing the data to load on demand by default to reduce the data transfer and loading time.
* **Recurrence** - Allows the user to repeat a set of events on a daily, weekly, monthly, or yearly basis.
* **Template** - The key elements like events, date header, work cells and event tooltip comes with the default template support which allows the flexible end-user customization to embed any kind of text, images, or styles to it.
* **Time zone** - Regardless of whatever time zone your system follows, Schedule supports setting your own required time zone value to it as well as to each event – thus allowing the events to display on its exact local time.
* **Customizable working days and hours** - Users can set specific work hour range which is visually differentiated with active colour. Also, the working days collection can be customized with specific days, so that the remaining days will be considered as weekend.
* **Custom editor template** - Template option is availed for event editor, thus allowing the users to add their own custom editor design and also provides option to add additional fields onto the default event editor.
* **Adaptive rendering** - Adapts with optimal user interfaces for mobile and desktop form-factors, thus helping the user’s application to scale elegantly across all the form-factors without any additional effort.
* **Keyboard interaction** - All the common actions such as traversing through the appointments, multiple cell selection, add/edit/delete the appointments, navigate to other views, dates and much more can be performed through keyboard inputs.
* **Localization** - All the static text and date content can be localized to any desired language. Also, it can be displayed with appropriate time mode and date-format as per the localized language.
* **RTL** - Supports displaying the component to display in the direction from right to left.
* [**Views**](https://ej2.syncfusion.com/16.2.41/react/demos/#/material/schedule/views) - Schedule is now availed with 6 different view modes – day, week, work week, month, agenda and month agenda. It is possible to configure view-based settings on each view mode. The `Week` view is set as active view by default.
* [**Data binding**](https://ej2.syncfusion.com/16.2.41/react/demos/#/material/schedule/remote-data) - Seamless data binding with various client-side and remote data sources thus allowing the data to load on demand by default to reduce the data transfer and loading time.
* [**Multiple resources**](https://ej2.syncfusion.com/16.2.41/react/demos/#/material/schedule/group) - Supports planning and management of events for multiple resources and allows to group them under appropriate resources. Also, supports date-wise grouping, linked appointments and other group related customizations.
* [**Recurrence**](https://ej2.syncfusion.com/16.2.41/react/demos/#/material/schedule/recurrence-events) - Allows the user to repeat a set of events on a daily, weekly, monthly, or yearly basis.
* [**Template**](https://ej2.syncfusion.com/16.2.41/react/demos/#/material/schedule/event-template) - The key elements like events, date header, work cells and event tooltip comes with the default template support which allows the flexible end-user customization to embed any kind of text, images, or styles to it.
* [**Timezone**](https://ej2.syncfusion.com/16.2.41/react/demos/#/material/schedule/timezone) - Regardless of whatever time zone your system follows, Schedule supports setting your own required time zone value to it as well as to each event – thus allowing the events to display on its exact local time.
* [**Timescale**](https://ej2.syncfusion.com/16.2.41/react/demos/#/material/schedule/time-scale) - Allows to display customized time duration, with clear and accurate depiction of appointments across the appropriate time slots.
* [**Customizable working days and hours**](https://ej2.syncfusion.com/16.2.41/react/demos/#/material/schedule/work-days) - Users can set specific [work hour](https://ej2.syncfusion.com/16.2.41/react/demos/#/material/schedule/work-hours) range which is visually differentiated with active colour. Also, the working days collection can be customized with specific days, so that the remaining days will be considered as [weekend](https://ej2.syncfusion.com/16.2.41/react/demos/#/material/schedule/hide-weekend).
* [**Custom editor template**](https://ej2.syncfusion.com/16.2.41/react/demos/#/material/schedule/editor-template) - Template option is availed for event editor, thus allowing the users to add their own custom editor design and also provides option to add additional fields onto the default event editor.
* [**Adaptive rendering**](https://ej2.syncfusion.com/16.2.41/react/demos/#/material/schedule/month-agenda) - Adapts with optimal user interfaces for mobile and desktop form-factors, thus helping the user’s application to scale elegantly across all the form-factors without any additional effort.
* [**Keyboard interaction**](https://ej2.syncfusion.com/16.2.41/react/demos/#/material/schedule/keyboard) - All the common actions such as traversing through the appointments, multiple cell selection, add/edit/delete the appointments, navigate to other views, dates and much more can be performed through keyboard inputs.
* [**Localization**](https://ej2.syncfusion.com/react/documentation/schedule/localization.html#localization) - All the static text and date content can be localized to any desired language. Also, it can be displayed with appropriate time mode and date-format as per the localized language.
* [**RTL**](https://ej2.syncfusion.com/react/documentation/schedule/localization.html#rtl) - Supports displaying the component to display in the direction from right to left.
## Support
Product support is available through following mediums.
* Creating incident through Syncfusion [Direct-trac](https://www.syncfusion.com/support/directtrac/incidents) support system or [Community forum](https://www.syncfusion.com/forums/essential-js2).
* New [GitHub issue](https://github.com/syncfusion/ej2-react-schedule/issues/new).
* Ask your query in Stack Overflow with tag `syncfusion`, `ej2`.
## License
Check the license detail [here](https://github.com/syncfusion/ej2/blob/master/license).
## Changelog
Check the changelog [here](https://github.com/syncfusion/ej2-react-schedule/blob/master/CHANGELOG.md).
© Copyright 2018 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.

@@ -1,8 +0,4 @@

define(["require", "exports", "./src/recurrence-editor/index"], function (require, exports, index_1) {
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(index_1);
});
/**
* recurrence-editor
*/
export * from './src/recurrence-editor/index';

@@ -1,8 +0,4 @@

define(["require", "exports", "./src/schedule/index"], function (require, exports, index_1) {
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(index_1);
});
/**
* schedule
*/
export * from './src/schedule/index';

@@ -1,11 +0,4 @@

define(["require", "exports", "./schedule", "./recurrence-editor", "@syncfusion/ej2-react-base", "@syncfusion/ej2-schedule"], function (require, exports, schedule_1, recurrence_editor_1, ej2_react_base_1, ej2_schedule_1) {
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(schedule_1);
__export(recurrence_editor_1);
exports.Inject = ej2_react_base_1.Inject;
__export(ej2_schedule_1);
});
export * from './schedule';
export * from './recurrence-editor';
export { Inject } from '@syncfusion/ej2-react-base';
export * from '@syncfusion/ej2-schedule';

@@ -1,8 +0,1 @@

define(["require", "exports", "./recurrenceeditor.component"], function (require, exports, recurrenceeditor_component_1) {
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(recurrenceeditor_component_1);
});
export * from './recurrenceeditor.component';

@@ -11,27 +11,32 @@ var __extends = (this && this.__extends) || (function () {

})();
define(["require", "exports", "react", "@syncfusion/ej2-schedule", "@syncfusion/ej2-react-base"], function (require, exports, React, ej2_schedule_1, ej2_react_base_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var RecurrenceEditorComponent = (function (_super) {
__extends(RecurrenceEditorComponent, _super);
function RecurrenceEditorComponent(props) {
var _this = _super.call(this, props) || this;
_this.initRenderCalled = false;
_this.checkInjectedModules = false;
_this.state = props;
return _this;
import * as React from 'react';
import { RecurrenceEditor } from '@syncfusion/ej2-schedule';
import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
/**
* `RecurrenceEditorComponent` represents the react RecurrenceEditor.
* ```tsx
* <RecurrenceEditorComponent/>
* ```
*/
var RecurrenceEditorComponent = /** @class */ (function (_super) {
__extends(RecurrenceEditorComponent, _super);
function RecurrenceEditorComponent(props) {
var _this = _super.call(this, props) || this;
_this.initRenderCalled = false;
_this.checkInjectedModules = false;
_this.state = props;
return _this;
}
RecurrenceEditorComponent.prototype.render = function () {
if ((this.element && !this.initRenderCalled) || this.refreshing) {
_super.prototype.render.call(this);
this.initRenderCalled = true;
}
RecurrenceEditorComponent.prototype.render = function () {
if ((this.element && !this.initRenderCalled) || this.refreshing) {
_super.prototype.render.call(this);
this.initRenderCalled = true;
}
else {
return React.createElement('div', this.getDefaultAttributes(), this.props.children);
}
};
return RecurrenceEditorComponent;
}(ej2_schedule_1.RecurrenceEditor));
exports.RecurrenceEditorComponent = RecurrenceEditorComponent;
ej2_react_base_1.applyMixins(RecurrenceEditorComponent, [ej2_react_base_1.ComponentBase, React.PureComponent]);
});
else {
return React.createElement('div', this.getDefaultAttributes(), this.props.children);
}
};
return RecurrenceEditorComponent;
}(RecurrenceEditor));
export { RecurrenceEditorComponent };
applyMixins(RecurrenceEditorComponent, [ComponentBase, React.PureComponent]);

@@ -1,10 +0,3 @@

define(["require", "exports", "./views-directive", "./resources-directive", "./schedule.component"], function (require, exports, views_directive_1, resources_directive_1, schedule_component_1) {
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(views_directive_1);
__export(resources_directive_1);
__export(schedule_component_1);
});
export * from './views-directive';
export * from './resources-directive';
export * from './schedule.component';

@@ -11,24 +11,33 @@ var __extends = (this && this.__extends) || (function () {

})();
define(["require", "exports", "@syncfusion/ej2-react-base"], function (require, exports, ej2_react_base_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ResourcesModelDirective = (function (_super) {
__extends(ResourcesModelDirective, _super);
function ResourcesModelDirective() {
return _super !== null && _super.apply(this, arguments) || this;
}
ResourcesModelDirective.moduleName = 'resourcesModel';
return ResourcesModelDirective;
}(ej2_react_base_1.ComplexBase));
exports.ResourcesModelDirective = ResourcesModelDirective;
var ResourcesDirective = (function (_super) {
__extends(ResourcesDirective, _super);
function ResourcesDirective() {
return _super !== null && _super.apply(this, arguments) || this;
}
ResourcesDirective.propertyName = 'resources';
ResourcesDirective.moduleName = 'resources';
return ResourcesDirective;
}(ej2_react_base_1.ComplexBase));
exports.ResourcesDirective = ResourcesDirective;
});
import { ComplexBase } from '@syncfusion/ej2-react-base';
/**
* `ResourcesDirective` represent a resource of the react Schedule.
* It must be contained in a Schedule component(`SchduleComponent`).
* ```tsx
* <ScheduleComponent>
* <ResourcesDirective>
* <ResourceDirective field='RoomId' name='Rooms'></ResourceDirective>
* <ResourceDirective field='OwnerId' name='Owners'></ResourceDirective>
* <ResourcesDirective>
* </ScheduleComponent>
* ```
*/
var ResourcesModelDirective = /** @class */ (function (_super) {
__extends(ResourcesModelDirective, _super);
function ResourcesModelDirective() {
return _super !== null && _super.apply(this, arguments) || this;
}
ResourcesModelDirective.moduleName = 'resourcesModel';
return ResourcesModelDirective;
}(ComplexBase));
export { ResourcesModelDirective };
var ResourcesDirective = /** @class */ (function (_super) {
__extends(ResourcesDirective, _super);
function ResourcesDirective() {
return _super !== null && _super.apply(this, arguments) || this;
}
ResourcesDirective.propertyName = 'resources';
ResourcesDirective.moduleName = 'resources';
return ResourcesDirective;
}(ComplexBase));
export { ResourcesDirective };

@@ -30,3 +30,3 @@ /// <reference types="react" />

children?: React.ReactNode | React.ReactNode[];
}> & Readonly<ScheduleModel & DefaultHtmlAttributes>;
}> & Readonly<ScheduleModel & DefaultHtmlAttributes | ScheduleTypecast>;
forceUpdate: (callBack?: () => any) => void;

@@ -33,0 +33,0 @@ context: Object;

@@ -11,28 +11,33 @@ var __extends = (this && this.__extends) || (function () {

})();
define(["require", "exports", "react", "@syncfusion/ej2-schedule", "@syncfusion/ej2-react-base"], function (require, exports, React, ej2_schedule_1, ej2_react_base_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ScheduleComponent = (function (_super) {
__extends(ScheduleComponent, _super);
function ScheduleComponent(props) {
var _this = _super.call(this, props) || this;
_this.initRenderCalled = false;
_this.checkInjectedModules = true;
_this.directivekeys = { 'views': 'viewsModel', 'resources': 'resourcesModel' };
_this.state = props;
return _this;
import * as React from 'react';
import { Schedule } from '@syncfusion/ej2-schedule';
import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
/**
* `ScheduleComponent` represents the react Schedule.
* ```tsx
* <ScheduleComponent/>
* ```
*/
var ScheduleComponent = /** @class */ (function (_super) {
__extends(ScheduleComponent, _super);
function ScheduleComponent(props) {
var _this = _super.call(this, props) || this;
_this.initRenderCalled = false;
_this.checkInjectedModules = true;
_this.directivekeys = { 'views': 'viewsModel', 'resources': 'resourcesModel' };
_this.state = props;
return _this;
}
ScheduleComponent.prototype.render = function () {
if ((this.element && !this.initRenderCalled) || this.refreshing) {
_super.prototype.render.call(this);
this.initRenderCalled = true;
}
ScheduleComponent.prototype.render = function () {
if ((this.element && !this.initRenderCalled) || this.refreshing) {
_super.prototype.render.call(this);
this.initRenderCalled = true;
}
else {
return React.createElement('div', this.getDefaultAttributes(), this.props.children);
}
};
return ScheduleComponent;
}(ej2_schedule_1.Schedule));
exports.ScheduleComponent = ScheduleComponent;
ej2_react_base_1.applyMixins(ScheduleComponent, [ej2_react_base_1.ComponentBase, React.PureComponent]);
});
else {
return React.createElement('div', this.getDefaultAttributes(), this.props.children);
}
};
return ScheduleComponent;
}(Schedule));
export { ScheduleComponent };
applyMixins(ScheduleComponent, [ComponentBase, React.PureComponent]);

@@ -11,24 +11,33 @@ var __extends = (this && this.__extends) || (function () {

})();
define(["require", "exports", "@syncfusion/ej2-react-base"], function (require, exports, ej2_react_base_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ViewsModelDirective = (function (_super) {
__extends(ViewsModelDirective, _super);
function ViewsModelDirective() {
return _super !== null && _super.apply(this, arguments) || this;
}
ViewsModelDirective.moduleName = 'viewsModel';
return ViewsModelDirective;
}(ej2_react_base_1.ComplexBase));
exports.ViewsModelDirective = ViewsModelDirective;
var ViewsDirective = (function (_super) {
__extends(ViewsDirective, _super);
function ViewsDirective() {
return _super !== null && _super.apply(this, arguments) || this;
}
ViewsDirective.propertyName = 'views';
ViewsDirective.moduleName = 'views';
return ViewsDirective;
}(ej2_react_base_1.ComplexBase));
exports.ViewsDirective = ViewsDirective;
});
import { ComplexBase } from '@syncfusion/ej2-react-base';
/**
* `ViewsDirective` represent a view of the react Schedule.
* It must be contained in a Schedule component(`SchduleComponent`).
* ```tsx
* <ScheduleComponent>
* <ViewsDirective>
* <ViewDirective option='day' dateFormat='dd MMM'></ViewDirective>
* <ViewDirective option='week'></ViewDirective>
* <ViewsDirective>
* </ScheduleComponent>
* ```
*/
var ViewsModelDirective = /** @class */ (function (_super) {
__extends(ViewsModelDirective, _super);
function ViewsModelDirective() {
return _super !== null && _super.apply(this, arguments) || this;
}
ViewsModelDirective.moduleName = 'viewsModel';
return ViewsModelDirective;
}(ComplexBase));
export { ViewsModelDirective };
var ViewsDirective = /** @class */ (function (_super) {
__extends(ViewsDirective, _super);
function ViewsDirective() {
return _super !== null && _super.apply(this, arguments) || this;
}
ViewsDirective.propertyName = 'views';
ViewsDirective.moduleName = 'views';
return ViewsDirective;
}(ComplexBase));
export { ViewsDirective };

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc