// Path: Frontend/src/components/bootstrap/BootstrapWizard/BootstrapWizardDialog.tsx import { Show, type JSX } from "solid-js"; import { Portal } from "solid-js/web"; import { type AdminForm, type BootstrapPersona, bootstrapPersonaDefinitions, type BootstrapStepDefinition, type BootstrapStepKey, type InstanceForm, type ModeForm, type StructureForm, } from "./BootstrapWizard.data"; import { type BootstrapSubmissionState, type FieldTooltipState, type MaterializationState } from "./BootstrapWizard.hook"; import { BootstrapAdminStep, BootstrapFinishingState, BootstrapInstanceStep, BootstrapModeStep, BootstrapPersonaStep, BootstrapStructureStep, BootstrapWizardProgress, } from "./BootstrapWizard.parts"; import styles from "./BootstrapWizard.module.scss"; export type BootstrapWizardDialogProps = { isOpen: boolean; currentStep: BootstrapStepDefinition; currentStepState: BootstrapSubmissionState; activeWizardSteps: readonly BootstrapStepDefinition[]; currentWizardStepIndex: number; stepState: Record; bootstrapStepCount: number; wizardProgressFillWidth: string; showBootstrapFinishingState: boolean; materializationState: MaterializationState; materializationStatusLabel: string; materializationMessage: string; isMaterializationInFlight: boolean; hasMaterializationFailed: boolean; instanceForm: InstanceForm; modeForm: ModeForm; adminForm: AdminForm; structureForm: StructureForm; selectedPersona: BootstrapPersona; hasChosenPersona: boolean; selectedPersonaIsAvailable: boolean; usesCondensedBootstrapFlow: boolean; bootstrapNamePlaceholder: string; isFirstStep: boolean; canDismissWizard: boolean; fieldTooltip: FieldTooltipState | null; onClose: () => void; onCloseFinishingState: () => void; onSubmit: JSX.EventHandlerUnion; onSelectPersona: (persona: BootstrapPersona) => void; onProtocolChange: (value: InstanceForm["protocol"]) => void; onAccessChange: (value: InstanceForm["access"]) => void; onHostChange: (value: string) => void; onModeNameChange: (value: string) => void; onProjectNameChange: (value: string) => void; onTeamNameChange: (value: string) => void; onAdminDisplayNameChange: (value: string) => void; onAdminEmailChange: (value: string) => void; onAdminPasswordChange: (value: string) => void; onDepartmentNameChange: (value: string) => void; onShowTooltip: (target: HTMLElement, text: string) => void; onHideTooltip: () => void; statusLabel: (state: BootstrapSubmissionState) => string; stepStatusLabel: (step: BootstrapStepDefinition) => string; onNavigateBack: () => void; onSelectStep: (index: number) => void; }; export const BootstrapWizardDialog = (props: BootstrapWizardDialogProps): JSX.Element => (
);