@@ -31,6 +31,7 @@ import {
31
31
StringControl ,
32
32
hiddenPropertyView ,
33
33
ChangeEventHandlerControl ,
34
+ // DragEventHandlerControl,
34
35
Section ,
35
36
sectionNames ,
36
37
dropdownControl ,
@@ -74,6 +75,7 @@ const childrenMap = {
74
75
resources : jsonValueExposingStateControl ( "resources" , resourcesDefaultData ) ,
75
76
resourceName : withDefault ( StringControl , trans ( "calendar.resourcesDefault" ) ) ,
76
77
onEvent : ChangeEventHandlerControl ,
78
+ // onDropEvent: DragEventHandlerControl,
77
79
editable : withDefault ( BoolControl , true ) ,
78
80
showEventTime : withDefault ( BoolControl , true ) ,
79
81
showWeekends : withDefault ( BoolControl , true ) ,
@@ -95,6 +97,7 @@ let CalendarBasicComp = (function () {
95
97
resources : any ;
96
98
resourceName : string
97
99
onEvent ?: any ;
100
+ onEventDrop ?: any ;
98
101
editable ?: boolean ;
99
102
showEventTime ?: boolean ;
100
103
showWeekends ?: boolean ;
@@ -521,6 +524,11 @@ let CalendarBasicComp = (function () {
521
524
props . onEvent ( "change" ) ;
522
525
}
523
526
} }
527
+ /* eventDragStop={(info) => {
528
+ if (info.view) {
529
+ props.onEventDrop("dropEvent");
530
+ }
531
+ }} */
524
532
/>
525
533
</ ErrorBoundary >
526
534
</ Wrapper >
@@ -533,6 +541,7 @@ let CalendarBasicComp = (function () {
533
541
resources : { propertyView : ( arg0 : { } ) => any ; } ;
534
542
resourceName : { propertyView : ( arg0 : { } ) => any ; } ;
535
543
onEvent : { getPropertyView : ( ) => any ; } ;
544
+ // onDropEvent: { getPropertyView: () => any; };
536
545
editable : { propertyView : ( arg0 : { label : string ; } ) => any ; } ;
537
546
showEventTime : { propertyView : ( arg0 : { label : string ; tooltip : string ; } ) => any ; } ;
538
547
showWeekends : { propertyView : ( arg0 : { label : string ; } ) => any ; } ;
0 commit comments