X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/00a61a4484185dc98daa92af5f189779cc10ad3c..3c7e3cdc547ad5468421e1c049daa94b0d4b8bc0:/src/views/run-process-panel/run-process-panel-root.tsx diff --git a/src/views/run-process-panel/run-process-panel-root.tsx b/src/views/run-process-panel/run-process-panel-root.tsx index f98660ad..3c42437a 100644 --- a/src/views/run-process-panel/run-process-panel-root.tsx +++ b/src/views/run-process-panel/run-process-panel-root.tsx @@ -2,38 +2,40 @@ // // SPDX-License-Identifier: AGPL-3.0 -import * as React from 'react'; -import { Stepper, Step, StepLabel, StepContent, Button } from '@material-ui/core'; +import React from 'react'; +import { Stepper, Step, StepLabel, StepContent } from '@material-ui/core'; +import { RunProcessFirstStepDataProps, RunProcessFirstStepActionProps, RunProcessFirstStep } from 'views/run-process-panel/run-process-first-step'; +import { RunProcessSecondStepForm } from './run-process-second-step'; -export interface RunProcessPanelRootDataProps { +export type RunProcessPanelRootDataProps = { currentStep: number; -} +} & RunProcessFirstStepDataProps; -export interface RunProcessPanelRootActionProps { - onClick: (step: number) => void; -} +export type RunProcessPanelRootActionProps = RunProcessFirstStepActionProps & { + runProcess: () => void; +}; type RunProcessPanelRootProps = RunProcessPanelRootDataProps & RunProcessPanelRootActionProps; -export const RunProcessPanelRoot = ({ currentStep, onClick, ...props }: RunProcessPanelRootProps) => +export const RunProcessPanelRoot = ({ runProcess, currentStep, onSearch, onSetStep, onSetWorkflow, workflows, selectedWorkflow }: RunProcessPanelRootProps) => Choose a workflow - + Select inputs - - + onSetStep(0)} + runProcess={runProcess} /> ; \ No newline at end of file