@devexpress/dx-react-scheduler
Advanced tools
Comparing version 1.11.0-alpha.1 to 1.11.0-beta.1
@@ -290,4 +290,2 @@ import * as React from 'react'; | ||
children: React.ReactNode; | ||
/** An object that configures the appointment geometry and position. */ | ||
style: object; | ||
/** An object that specifies the appointment data. */ | ||
@@ -311,5 +309,25 @@ data: object; | ||
data: object; | ||
/** A component that renders an icon for recurring appointments. */ | ||
recurringIconComponent: React.ComponentType<object>; | ||
} | ||
} | ||
export namespace Appointments { | ||
/** Properties passed to a component that renders an element which indicates the appointment is divided. */ | ||
export interface SplitIndicatorProps { | ||
/** Specifies whether the element is rendered at the start or end of the divided appointment. */ | ||
position: 'start' | 'end'; | ||
/** Specifies whether the appointment is vertical or horizontal. */ | ||
appointmentType: 'vertical' | 'horizontal'; | ||
} | ||
} | ||
export namespace Appointments { | ||
/** Properties passed to a component that renders a container for the appointment. */ | ||
export interface ContainerProps { | ||
/** An object that configures the appointment's geometry and position. */ | ||
style: object; | ||
} | ||
} | ||
export interface AppointmentsProps { | ||
@@ -320,2 +338,8 @@ /** A component that renders an appointment. */ | ||
appointmentContentComponent: React.ComponentType<Appointments.AppointmentContentProps>; | ||
/** A component that renders an element which indicates the appointment is divided. */ | ||
splitIndicatorComponent: React.ComponentType<Appointments.SplitIndicatorProps>; | ||
/** A component that renders an icon for recurring appointments. */ | ||
recurringIconComponent: React.ComponentType<object>; | ||
/** A component that renders a container for the appointment. */ | ||
containerComponent: React.ComponentType<Appointments.ContainerProps>; | ||
} | ||
@@ -575,2 +599,6 @@ | ||
type: string; | ||
/** **true** if the appointment is continued from the previous day/week/month/year. */ | ||
fromPrev: boolean; | ||
/** **true** if the appointment continues on the next day/week/month/year. */ | ||
toNext: boolean; | ||
} | ||
@@ -584,4 +612,2 @@ } | ||
data: AppointmentModel; | ||
/** Configures the appointment's geometry and position. */ | ||
style: object; | ||
/** Specifies the appointment's type. */ | ||
@@ -593,2 +619,12 @@ type: string; | ||
export namespace DragDropProvider { | ||
/** Describes properties of the component that renders a handle used to resize the appointment. */ | ||
export interface ResizeProps { | ||
/** Specifies the handle's position in the appointment. */ | ||
position: 'start' | 'end'; | ||
/** Specifies whether the appointment is vertical or horizontal. */ | ||
appointmentType: 'vertical' | 'horizontal'; | ||
} | ||
} | ||
export namespace DragDropProvider { | ||
/** Describes properties of the component that renders a container for the appointment being dragged. */ | ||
@@ -604,2 +640,4 @@ export interface ContainerProps { | ||
allowDrag?: (appointmentData: AppointmentModel) => boolean; | ||
/** A function that specifies resizable appointments. */ | ||
allowResize?: (appointmentData: AppointmentModel) => boolean; | ||
/** A component that renders the appointment being dragged. */ | ||
@@ -609,2 +647,4 @@ draftAppointmentComponent: React.ComponentType<DragDropProvider.DraftAppointmentProps>; | ||
sourceAppointmentComponent: React.ComponentType<DragDropProvider.SourceAppointmentProps>; | ||
/** A component that renders a handle used to resize the appointment. */ | ||
resizeComponent: React.ComponentType<DragDropProvider.ResizeProps>; | ||
/** A component that renders a container for the appointment being dragged. */ | ||
@@ -795,2 +835,6 @@ containerComponent: React.ComponentType<DragDropProvider.ContainerProps>; | ||
id?: number | string; | ||
/** Specifies the appointment recurrence rule. Follows the iCalendar RRULE(https://tools.ietf.org/html/rfc5545#section-3.8.5.3) format. */ | ||
rRule?: string; | ||
/** Specifies dates excluded from recurrence. Follows the iCalendar EXDATE(https://tools.ietf.org/html/rfc5545#section-3.8.5.1) format. */ | ||
exDate?: string; | ||
/** Any other properties. */ | ||
@@ -797,0 +841,0 @@ [propertyName: string]: any; |
{ | ||
"name": "@devexpress/dx-react-scheduler", | ||
"version": "1.11.0-alpha.1", | ||
"version": "1.11.0-beta.1", | ||
"description": "Composable plugin-based scheduler component for React", | ||
@@ -41,3 +41,3 @@ "author": { | ||
"lint": "eslint \"src/**\"", | ||
"lint:fix": "yarn run lint -- --fix" | ||
"lint:fix": "yarn lint -- --fix" | ||
}, | ||
@@ -49,5 +49,5 @@ "devDependencies": { | ||
"@babel/preset-react": "^7.0.0", | ||
"@devexpress/dx-core": "1.11.0-alpha.1", | ||
"@devexpress/dx-react-core": "1.11.0-alpha.1", | ||
"@devexpress/dx-testing": "1.11.0-alpha.1", | ||
"@devexpress/dx-core": "1.11.0-beta.1", | ||
"@devexpress/dx-react-core": "1.11.0-beta.1", | ||
"@devexpress/dx-testing": "1.11.0-beta.1", | ||
"babel-core": "^7.0.0-bridge.0", | ||
@@ -78,8 +78,8 @@ "babel-jest": "^24.1.0", | ||
"dependencies": { | ||
"@devexpress/dx-scheduler-core": "1.11.0-alpha.1", | ||
"@devexpress/dx-scheduler-core": "1.11.0-beta.1", | ||
"prop-types": "^15.7.2" | ||
}, | ||
"peerDependencies": { | ||
"@devexpress/dx-core": "1.11.0-alpha.1", | ||
"@devexpress/dx-react-core": "1.11.0-alpha.1", | ||
"@devexpress/dx-core": "1.11.0-beta.1", | ||
"@devexpress/dx-react-core": "1.11.0-beta.1", | ||
"moment": "^2.24.0", | ||
@@ -89,3 +89,3 @@ "react": ">=16.8.3", | ||
}, | ||
"gitHead": "04937befc4fe9c5e329039533983c956deb78390" | ||
"gitHead": "972b9b88a1e51db0c0c8c30a009407b2d35a7a4f" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
580865
6233
+ Added@devexpress/dx-core@1.11.0-beta.1(transitive)
+ Added@devexpress/dx-react-core@1.11.0-beta.1(transitive)
+ Added@devexpress/dx-scheduler-core@1.11.0-beta.1(transitive)
+ Addedrrule@2.8.1(transitive)
+ Addedtslib@2.8.1(transitive)
- Removed@devexpress/dx-core@1.11.0-alpha.1(transitive)
- Removed@devexpress/dx-react-core@1.11.0-alpha.1(transitive)
- Removed@devexpress/dx-scheduler-core@1.11.0-alpha.1(transitive)