@@ -367,7 +367,7 @@ const PropertyPanel: React.FC<PropertyPanelProps> = ({
367367 < Label className = "text-xs" > Label</ Label >
368368 < Input
369369 value = { node . label }
370- onChange = { ( e ) => onNodeChange ( { ...node , label : e . target . value } ) }
370+ onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => onNodeChange ( { ...node , label : e . target . value } ) }
371371 disabled = { readOnly }
372372 className = "h-7 text-xs"
373373 />
@@ -377,7 +377,7 @@ const PropertyPanel: React.FC<PropertyPanelProps> = ({
377377 < Label className = "text-xs" > Type</ Label >
378378 < Select
379379 value = { node . type }
380- onValueChange = { ( v ) => onNodeChange ( { ...node , type : v as FlowNodeType } ) }
380+ onValueChange = { ( v : string ) => onNodeChange ( { ...node , type : v as FlowNodeType } ) }
381381 disabled = { readOnly }
382382 >
383383 < SelectTrigger className = "h-7 text-xs" >
@@ -397,7 +397,7 @@ const PropertyPanel: React.FC<PropertyPanelProps> = ({
397397 < Label className = "text-xs" > Description</ Label >
398398 < Input
399399 value = { node . description ?? '' }
400- onChange = { ( e ) => onNodeChange ( { ...node , description : e . target . value } ) }
400+ onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => onNodeChange ( { ...node , description : e . target . value } ) }
401401 disabled = { readOnly }
402402 className = "h-7 text-xs"
403403 placeholder = "Optional description"
@@ -414,7 +414,7 @@ const PropertyPanel: React.FC<PropertyPanelProps> = ({
414414 < Label className = "text-xs" > Executor Type</ Label >
415415 < Input
416416 value = { node . executor ?. type ?? '' }
417- onChange = { ( e ) => onNodeChange ( {
417+ onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => onNodeChange ( {
418418 ...node ,
419419 executor : { ...node . executor , type : e . target . value } ,
420420 } ) }
@@ -429,7 +429,7 @@ const PropertyPanel: React.FC<PropertyPanelProps> = ({
429429 < Label className = "text-xs" > Wait Event Type</ Label >
430430 < Select
431431 value = { node . executor ?. waitEventConfig ?. eventType ?? 'timer' }
432- onValueChange = { ( v ) => onNodeChange ( {
432+ onValueChange = { ( v : string ) => onNodeChange ( {
433433 ...node ,
434434 executor : {
435435 ...node . executor ,
@@ -461,7 +461,7 @@ const PropertyPanel: React.FC<PropertyPanelProps> = ({
461461 < Input
462462 type = "number"
463463 value = { node . executor ?. timeoutMs ?? '' }
464- onChange = { ( e ) => onNodeChange ( {
464+ onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => onNodeChange ( {
465465 ...node ,
466466 executor : {
467467 ...node . executor ,
@@ -487,7 +487,7 @@ const PropertyPanel: React.FC<PropertyPanelProps> = ({
487487 < Label className = "text-xs" > Attached To Node ID</ Label >
488488 < Input
489489 value = { node . boundaryConfig ?. attachedToNodeId ?? '' }
490- onChange = { ( e ) => onNodeChange ( {
490+ onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => onNodeChange ( {
491491 ...node ,
492492 boundaryConfig : {
493493 ...node . boundaryConfig ,
@@ -505,7 +505,7 @@ const PropertyPanel: React.FC<PropertyPanelProps> = ({
505505 < Label className = "text-xs" > Event Type</ Label >
506506 < Select
507507 value = { node . boundaryConfig ?. eventType ?? 'error' }
508- onValueChange = { ( v ) => onNodeChange ( {
508+ onValueChange = { ( v : string ) => onNodeChange ( {
509509 ...node ,
510510 boundaryConfig : {
511511 ...node . boundaryConfig ,
@@ -540,7 +540,7 @@ const PropertyPanel: React.FC<PropertyPanelProps> = ({
540540 < Label className = "text-xs" > Label</ Label >
541541 < Input
542542 value = { edge . label ?? '' }
543- onChange = { ( e ) => onEdgeChange ( { ...edge , label : e . target . value } ) }
543+ onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => onEdgeChange ( { ...edge , label : e . target . value } ) }
544544 disabled = { readOnly }
545545 className = "h-7 text-xs"
546546 />
@@ -550,7 +550,7 @@ const PropertyPanel: React.FC<PropertyPanelProps> = ({
550550 < Label className = "text-xs" > Type</ Label >
551551 < Select
552552 value = { edge . type ?? 'default' }
553- onValueChange = { ( v ) => onEdgeChange ( { ...edge , type : v as FlowEdgeType } ) }
553+ onValueChange = { ( v : string ) => onEdgeChange ( { ...edge , type : v as FlowEdgeType } ) }
554554 disabled = { readOnly }
555555 >
556556 < SelectTrigger className = "h-7 text-xs" >
@@ -569,7 +569,7 @@ const PropertyPanel: React.FC<PropertyPanelProps> = ({
569569 < Label className = "text-xs" > Condition Expression</ Label >
570570 < Input
571571 value = { edge . condition ?? '' }
572- onChange = { ( e ) => onEdgeChange ( { ...edge , condition : e . target . value } ) }
572+ onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => onEdgeChange ( { ...edge , condition : e . target . value } ) }
573573 disabled = { readOnly }
574574 className = "h-7 text-xs font-mono"
575575 placeholder = "e.g. status === 'approved'"
@@ -582,7 +582,7 @@ const PropertyPanel: React.FC<PropertyPanelProps> = ({
582582 type = "checkbox"
583583 id = "edge-isDefault"
584584 checked = { edge . isDefault ?? false }
585- onChange = { ( e ) => onEdgeChange ( { ...edge , isDefault : e . target . checked } ) }
585+ onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => onEdgeChange ( { ...edge , isDefault : e . target . checked } ) }
586586 disabled = { readOnly }
587587 className = "h-3.5 w-3.5"
588588 />
@@ -865,7 +865,7 @@ export const FlowDesigner: React.FC<FlowDesignerProps> = ({ schema, onSave }) =>
865865 ) : (
866866 < Input
867867 value = { title }
868- onChange = { ( e ) => setTitle ( e . target . value ) }
868+ onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => setTitle ( e . target . value ) }
869869 className = "h-6 text-sm font-semibold border-0 p-0 focus-visible:ring-0 bg-transparent"
870870 aria-label = "Flow title"
871871 />
0 commit comments