@devexpress/dx-react-scheduler
Advanced tools
Comparing version 1.10.4 to 1.11.0-alpha.1
@@ -66,2 +66,10 @@ import * as React from 'react'; | ||
export namespace AllDayPanel { | ||
/** Describes properties passed to a component that renders an All Day panel container. */ | ||
export interface ContainerProps { | ||
/** A React node used to render the row content. */ | ||
children: React.ReactNode; | ||
} | ||
} | ||
export namespace AllDayPanel { | ||
export interface LocalizationMessages { | ||
@@ -84,2 +92,4 @@ /** The All Day panel's title. */ | ||
appointmentLayerComponent: React.ComponentType<AllDayPanel.AppointmentLayerProps>; | ||
/** A component that renders an All Day panel container. */ | ||
containerComponent: React.ComponentType<AllDayPanel.ContainerProps>; | ||
/** An object that specifies localization messages. */ | ||
@@ -286,2 +296,4 @@ messages?: AllDayPanel.LocalizationMessages; | ||
data: object; | ||
/** Specifies whether the appointment is draggable. */ | ||
draggable: boolean; | ||
/** A function that handles a click on the appointment. */ | ||
@@ -551,2 +563,52 @@ onClick?: (e: object) => void; | ||
// ------------------------------------------------------------------------------------------------- | ||
// DragDropProvider | ||
// ------------------------------------------------------------------------------------------------- | ||
export namespace DragDropProvider { | ||
/** Describes properties of the component that renders the appointment being dragged. */ | ||
export interface DraftAppointmentProps { | ||
/** Specifies the appointment's data. */ | ||
data: AppointmentModel; | ||
/** Configures the appointment's geometry and position. */ | ||
style: object; | ||
/** Specifies the appointment's type. */ | ||
type: string; | ||
} | ||
} | ||
export namespace DragDropProvider { | ||
/** Describes properties of the component that renders a copy of the appointment being dragged in its previous location. */ | ||
export interface SourceAppointmentProps { | ||
/** Specifies the appointment's data. */ | ||
data: AppointmentModel; | ||
/** Configures the appointment's geometry and position. */ | ||
style: object; | ||
/** Specifies the appointment's type. */ | ||
type: string; | ||
} | ||
} | ||
export namespace DragDropProvider { | ||
/** Describes properties of the component that renders a container for the appointment being dragged. */ | ||
export interface ContainerProps { | ||
/** Represents the appointment being dragged. */ | ||
children: React.ReactNode; | ||
} | ||
} | ||
export interface DragDropProviderProps { | ||
/** A function that specifies draggable appointments. */ | ||
allowDrag?: (appointmentData: AppointmentModel) => boolean; | ||
/** A component that renders the appointment being dragged. */ | ||
draftAppointmentComponent: React.ComponentType<DragDropProvider.DraftAppointmentProps>; | ||
/** A component that renders a copy of the appointment being dragged in its previous location. */ | ||
sourceAppointmentComponent: React.ComponentType<DragDropProvider.SourceAppointmentProps>; | ||
/** A component that renders a container for the appointment being dragged. */ | ||
containerComponent: React.ComponentType<DragDropProvider.ContainerProps>; | ||
} | ||
/** A plugin that enables users to edit appointments via drag-and-drop. */ | ||
export declare const DragDropProvider: React.ComponentType<DragDropProviderProps>; | ||
// ------------------------------------------------------------------------------------------------- | ||
// EditingState | ||
@@ -553,0 +615,0 @@ // ------------------------------------------------------------------------------------------------- |
{ | ||
"name": "@devexpress/dx-react-scheduler", | ||
"version": "1.10.4", | ||
"version": "1.11.0-alpha.1", | ||
"description": "Composable plugin-based scheduler component for React", | ||
@@ -48,5 +48,5 @@ "author": { | ||
"@babel/preset-react": "^7.0.0", | ||
"@devexpress/dx-core": "1.10.4", | ||
"@devexpress/dx-react-core": "1.10.4", | ||
"@devexpress/dx-testing": "1.10.4", | ||
"@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", | ||
"babel-core": "^7.0.0-bridge.0", | ||
@@ -77,12 +77,13 @@ "babel-jest": "^24.1.0", | ||
"dependencies": { | ||
"@devexpress/dx-scheduler-core": "1.10.4", | ||
"@devexpress/dx-scheduler-core": "1.11.0-alpha.1", | ||
"prop-types": "^15.7.2" | ||
}, | ||
"peerDependencies": { | ||
"@devexpress/dx-core": "1.10.4", | ||
"@devexpress/dx-react-core": "1.10.4", | ||
"@devexpress/dx-core": "1.11.0-alpha.1", | ||
"@devexpress/dx-react-core": "1.11.0-alpha.1", | ||
"moment": "^2.24.0", | ||
"react": ">=16.8.3", | ||
"react-dom": ">=16.8.3" | ||
}, | ||
"gitHead": "b67a8aea7e713a96731fd2fbf063acde1a1bb4c7" | ||
"gitHead": "04937befc4fe9c5e329039533983c956deb78390" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
564313
6012
7
1
30
+ Added@devexpress/dx-core@1.11.0-alpha.1(transitive)
+ Added@devexpress/dx-react-core@1.11.0-alpha.1(transitive)
+ Added@devexpress/dx-scheduler-core@1.11.0-alpha.1(transitive)
- Removed@devexpress/dx-core@1.10.4(transitive)
- Removed@devexpress/dx-react-core@1.10.4(transitive)
- Removed@devexpress/dx-scheduler-core@1.10.4(transitive)