@sim-design/training 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (278) hide show
  1. package/README.md +481 -15
  2. package/dist/{ArrowLeftOutlined-CiSQq3bL.js → ArrowLeftOutlined-BxA84GXs.js} +1 -1
  3. package/dist/ArrowLeftOutlined-D785XjyB.js +12 -0
  4. package/dist/{AssessmentPlugin-Bx4VrBdV.js → AssessmentPlugin-D_iesmyg.js} +7 -7
  5. package/dist/AssessmentPlugin-zRr-IsdA.js +607 -0
  6. package/dist/CaseAnalysisPlugin-CXuQpkPd.js +2196 -0
  7. package/dist/CaseAnalysisPlugin-DytlXsRD.js +2196 -0
  8. package/dist/CaseDetailContent-DT5nCtRT.js +28613 -0
  9. package/dist/CaseDetailContent-Y7Q430MG.js +28595 -0
  10. package/dist/{CharacterDialoguePanel-Bvdab3qj.js → CharacterDialoguePanel-CdtUl-Sv.js} +178 -139
  11. package/dist/CharacterDialoguePanel-D_4YNFZv.js +815 -0
  12. package/dist/{CheckCircleFilled-Byo8CDfW.js → CheckCircleFilled-CnslIY7j.js} +1 -1
  13. package/dist/CheckCircleFilled-NvZaC2sk.js +12 -0
  14. package/dist/DecisionMakingPlugin-B_KQUFzW.js +1385 -0
  15. package/dist/DecisionMakingPlugin-ILLGek3S.js +1385 -0
  16. package/dist/{DecisionSelectPlugin-DtQ2KV34.js → DecisionSelectPlugin-BGQiHGBK.js} +20 -11
  17. package/dist/DecisionSelectPlugin-Bqmh6XGh.js +872 -0
  18. package/dist/{DecisionShared-Dh9oeQFT.js → DecisionShared-BHq1lEqt.js} +2 -2
  19. package/dist/DecisionShared-Be-zKZLT.js +65 -0
  20. package/dist/DeleteOutlined-BvMjU7m5.js +12 -0
  21. package/dist/DeleteOutlined-Dqy6M2LH.js +12 -0
  22. package/dist/{CustomLayoutRenderer--rnQrqQ2.js → DialogueFormPlugin-BpCeFadt.js} +22724 -21631
  23. package/dist/DialogueFormPlugin-CXlbxX-z.js +123617 -0
  24. package/dist/DialoguePlugin-CO7Nzv0K.js +596 -0
  25. package/dist/DialoguePlugin-DDNdsylz.js +596 -0
  26. package/dist/DocumentReviewPlugin-2CnKQwVG.js +1967 -0
  27. package/dist/DocumentReviewPlugin-qYYrnjvE.js +1967 -0
  28. package/dist/{EyeOutlined-XvOAKlLs.js → EyeOutlined-BrKCNjui.js} +1 -1
  29. package/dist/EyeOutlined-CW0tYV0f.js +12 -0
  30. package/dist/FormFillingPlugin-C3h8ySOZ.js +969 -0
  31. package/dist/FormFillingPlugin-CPmd76Qr.js +969 -0
  32. package/dist/HolderOutlined-CH0tShWu.js +12 -0
  33. package/dist/HolderOutlined-Dm6TBtqf.js +12 -0
  34. package/dist/ModelEditor-BjEbFloQ.js +11753 -0
  35. package/dist/ModelEditor-CwR67DFQ.js +11753 -0
  36. package/dist/{ProcessOperationPlugin-IijngDlX.js → ProcessOperationPlugin-1Lz431aC.js} +12 -12
  37. package/dist/ProcessOperationPlugin-BkmdG3ch.js +88 -0
  38. package/dist/QAPlugin-0C4kpq3J.js +172 -0
  39. package/dist/QAPlugin-UC8uywcg.js +172 -0
  40. package/dist/{ReloadOutlined-Daor2m11.js → ReloadOutlined-BZ92nlYF.js} +1 -1
  41. package/dist/ReloadOutlined-CYoPOwLl.js +12 -0
  42. package/dist/{SettingOutlined-CLEOgXB-.js → SettingOutlined-F466s0Ti.js} +33 -65
  43. package/dist/SettingOutlined-c2hikCfN.js +60 -0
  44. package/dist/StarFilled-Bilmj6UK.js +28 -0
  45. package/dist/StarFilled-CtH30fL0.js +28 -0
  46. package/dist/StrategyLabPlugin-CvO07sXV.js +12445 -0
  47. package/dist/StrategyLabPlugin-DUqZYctQ.js +12445 -0
  48. package/dist/ThunderboltOutlined-BpmoCKdV.js +28 -0
  49. package/dist/ThunderboltOutlined-DDQFi5Cv.js +28 -0
  50. package/dist/TrainingModelContainer-DqCsdC7C.js +11241 -0
  51. package/dist/TrainingModelContainer-yi8W6KFl.js +11241 -0
  52. package/dist/{UndoOutlined-ChUQYUul.js → UndoOutlined-6JZVzmdX.js} +26 -42
  53. package/dist/UndoOutlined-Dw6_9_OL.js +68 -0
  54. package/dist/{WarningFilled-1Rc4hr0C.js → WarningFilled-Cy1tvuQy.js} +1 -1
  55. package/dist/WarningFilled-lkr453eh.js +12 -0
  56. package/dist/{adapters-D1FFZFoA.js → adapters-BbCnXSYo.js} +2 -2
  57. package/dist/{analysisTools-CXyOvSZT.js → analysisTools-Cp5-3DaU.js} +59 -12
  58. package/dist/creator.js +4 -2
  59. package/dist/designTokens-walF_QkZ.js +23 -0
  60. package/dist/images/healthcare/bg.jpg +0 -0
  61. package/dist/{index-CYjdXPgc.js → index-C71iHgSs.js} +2640 -2722
  62. package/dist/{index-XuBVjlmu.js → index-CBvqcbIU.js} +7214 -7643
  63. package/dist/index-D94YNWTb.js +433 -0
  64. package/dist/index-DSYmOXnQ.js +6486 -0
  65. package/dist/index-fP97rKeQ.js +433 -0
  66. package/dist/index.js +8 -6
  67. package/dist/judgement-xTGXlDcn.js +29 -0
  68. package/dist/runtime.js +1 -1
  69. package/dist/sortable.esm-bm_c5vmI.js +3307 -0
  70. package/dist/types.js +1 -1
  71. package/dist/useDialogueLogic-D1lkUKUZ.js +576 -0
  72. package/dist/useDialogueLogic-vOJ9XRNP.js +576 -0
  73. package/dist-types/client/src/admin/CaseDataEditor.d.ts +20 -0
  74. package/dist-types/client/src/admin/CaseEditor.d.ts +19 -0
  75. package/dist-types/client/src/admin/DialogueFormCheckRulesEditor.d.ts +11 -0
  76. package/dist-types/client/src/admin/DialogueFormInitDataEditor.d.ts +31 -0
  77. package/dist-types/client/src/admin/InitDataEditors.d.ts +7 -0
  78. package/dist-types/client/src/admin/ModelEditor.d.ts +11 -0
  79. package/dist-types/client/src/admin/ModelPreview.d.ts +13 -0
  80. package/dist-types/client/src/admin/OptionSelector.d.ts +32 -0
  81. package/dist-types/client/src/admin/StageStepEditor.d.ts +20 -0
  82. package/dist-types/client/src/admin/StepAnswerKeyEditor.d.ts +19 -0
  83. package/dist-types/client/src/admin/StepByStepCreator.d.ts +27 -0
  84. package/dist-types/client/src/admin/components/AbilityMapEditor.d.ts +12 -0
  85. package/dist-types/client/src/admin/components/CasePreview.d.ts +8 -0
  86. package/dist-types/client/src/admin/components/StepAbilitySelector.d.ts +9 -0
  87. package/dist-types/client/src/admin/constants/creatorConstants.d.ts +39 -0
  88. package/dist-types/client/src/admin/editors/CaseAnalysisEditor.d.ts +11 -0
  89. package/dist-types/client/src/admin/editors/DecisionMakingEditor.d.ts +7 -0
  90. package/dist-types/client/src/admin/editors/DialogueEditor.d.ts +12 -0
  91. package/dist-types/client/src/admin/editors/DocumentReviewEditor.d.ts +7 -0
  92. package/dist-types/client/src/admin/editors/DocumentReviewRuntimeRulesEditor.d.ts +15 -0
  93. package/dist-types/client/src/admin/editors/FormFillingEditor.d.ts +33 -0
  94. package/dist-types/client/src/admin/editors/ModelUIConfigEditor.d.ts +5 -0
  95. package/dist-types/client/src/admin/editors/QAEditor.d.ts +6 -0
  96. package/dist-types/client/src/admin/editors/RouterEditors.d.ts +18 -0
  97. package/dist-types/client/src/admin/editors/StepBriefingEditor.d.ts +14 -0
  98. package/dist-types/client/src/admin/editors/StrategyLabEditor.d.ts +24 -0
  99. package/dist-types/client/src/admin/editors/decisionEditorParts.d.ts +18 -0
  100. package/dist-types/client/src/admin/editors/index.d.ts +8 -0
  101. package/dist-types/client/src/admin/editors/shared.d.ts +17 -0
  102. package/dist-types/client/src/admin/hooks/useStep1Intent.d.ts +16 -0
  103. package/dist-types/client/src/admin/hooks/useStep2Outline.d.ts +41 -0
  104. package/dist-types/client/src/admin/hooks/useStep3Details.d.ts +123 -0
  105. package/dist-types/client/src/admin/hooks/useStep4Cases.d.ts +48 -0
  106. package/dist-types/client/src/admin/hooks/useStep5Validation.d.ts +16 -0
  107. package/dist-types/client/src/admin/landingValidation.d.ts +74 -0
  108. package/dist-types/client/src/admin/schemaFieldUtils.d.ts +55 -0
  109. package/dist-types/client/src/admin/services.d.ts +461 -0
  110. package/dist-types/client/src/admin/shared-editors.d.ts +31 -0
  111. package/dist-types/client/src/admin/types/creatorArtifacts.d.ts +140 -0
  112. package/dist-types/client/src/components/AbilityMapView.d.ts +15 -0
  113. package/dist-types/client/src/components/CaseDetail/CaseDetailContent.d.ts +12 -0
  114. package/dist-types/client/src/components/ConversationalDataCollector/IntentConfirmPanel.d.ts +20 -0
  115. package/dist-types/client/src/components/ConversationalDataCollector/index.d.ts +7 -0
  116. package/dist-types/client/src/components/ConversationalDataCollector/intentState.d.ts +24 -0
  117. package/dist-types/client/src/components/ConversationalDataCollector/types.d.ts +95 -0
  118. package/dist-types/client/src/components/ConversationalDataCollector/utils.d.ts +62 -0
  119. package/dist-types/client/src/components/CustomLayoutRenderer.d.ts +8 -0
  120. package/dist-types/client/src/components/MarkdownRenderer.d.ts +15 -0
  121. package/dist-types/client/src/components/StrategyLabScene/VisualInputComponents.d.ts +85 -0
  122. package/dist-types/client/src/components/StrategyLabScene/components/AdversarialView.d.ts +18 -0
  123. package/dist-types/client/src/components/StrategyLabScene/components/BottomBar.d.ts +22 -0
  124. package/dist-types/client/src/components/StrategyLabScene/components/CharacterCard.d.ts +14 -0
  125. package/dist-types/client/src/components/StrategyLabScene/components/CharacterDialoguePanel.d.ts +32 -0
  126. package/dist-types/client/src/components/StrategyLabScene/components/CollaborativeView.d.ts +20 -0
  127. package/dist-types/client/src/components/StrategyLabScene/components/ComparisonView.d.ts +16 -0
  128. package/dist-types/client/src/components/StrategyLabScene/components/DecisionInput.d.ts +27 -0
  129. package/dist-types/client/src/components/StrategyLabScene/components/DecisionSwitcher.d.ts +14 -0
  130. package/dist-types/client/src/components/StrategyLabScene/components/EvaluationReport.d.ts +13 -0
  131. package/dist-types/client/src/components/StrategyLabScene/components/NodeChainPanels.d.ts +32 -0
  132. package/dist-types/client/src/components/StrategyLabScene/components/ProgressSteps.d.ts +15 -0
  133. package/dist-types/client/src/components/StrategyLabScene/components/SandboxView.d.ts +19 -0
  134. package/dist-types/client/src/components/StrategyLabScene/components/ScenarioPanel.d.ts +17 -0
  135. package/dist-types/client/src/components/StrategyLabScene/components/SimulationAnimation.d.ts +13 -0
  136. package/dist-types/client/src/components/StrategyLabScene/components/SimulationResult.d.ts +15 -0
  137. package/dist-types/client/src/components/StrategyLabScene/components/StressTestView.d.ts +22 -0
  138. package/dist-types/client/src/components/StrategyLabScene/themeMatching.d.ts +21 -0
  139. package/dist-types/client/src/components/StrategyLabScene/themes/education.d.ts +45 -0
  140. package/dist-types/client/src/components/StrategyLabScene/themes/healthcare.d.ts +7 -0
  141. package/dist-types/client/src/components/StrategyLabScene/themes/index.d.ts +22 -0
  142. package/dist-types/client/src/components/StrategyLabScene/themes/professional.d.ts +7 -0
  143. package/dist-types/client/src/components/StrategyLabScene/themes/technology.d.ts +7 -0
  144. package/dist-types/client/src/components/StrategyLabScene/types.d.ts +82 -0
  145. package/dist-types/client/src/components/StrategyLabScene/views/UnifiedStrategyLabView.d.ts +72 -0
  146. package/dist-types/client/src/components/TrainingEngine/BriefingQAChat.d.ts +19 -0
  147. package/dist-types/client/src/components/TrainingEngine/CaseInfoModal.d.ts +12 -0
  148. package/dist-types/client/src/components/TrainingEngine/CaseSelector.d.ts +15 -0
  149. package/dist-types/client/src/components/TrainingEngine/ClassicView.d.ts +7 -0
  150. package/dist-types/client/src/components/TrainingEngine/DashboardHomePage.d.ts +7 -0
  151. package/dist-types/client/src/components/TrainingEngine/EnhancedStudentProfilePanel.d.ts +9 -0
  152. package/dist-types/client/src/components/TrainingEngine/EvaluationPanel.d.ts +8 -0
  153. package/dist-types/client/src/components/TrainingEngine/GlobalQAPanel.d.ts +34 -0
  154. package/dist-types/client/src/components/TrainingEngine/GuidanceHistoryDrawer.d.ts +7 -0
  155. package/dist-types/client/src/components/TrainingEngine/GuidancePanel.d.ts +3 -0
  156. package/dist-types/client/src/components/TrainingEngine/ImmersiveGameView.d.ts +7 -0
  157. package/dist-types/client/src/components/TrainingEngine/PluginRenderer.d.ts +15 -0
  158. package/dist-types/client/src/components/TrainingEngine/ProgressTracker.d.ts +3 -0
  159. package/dist-types/client/src/components/TrainingEngine/StageAssessingOverlay.d.ts +17 -0
  160. package/dist-types/client/src/components/TrainingEngine/StageAssessmentPanel.d.ts +10 -0
  161. package/dist-types/client/src/components/TrainingEngine/StepExecutor.d.ts +20 -0
  162. package/dist-types/client/src/components/TrainingEngine/StepNodeMap.d.ts +15 -0
  163. package/dist-types/client/src/components/TrainingEngine/StudentProfilePanel.d.ts +6 -0
  164. package/dist-types/client/src/components/TrainingEngine/ThemeContext.d.ts +8 -0
  165. package/dist-types/client/src/components/TrainingEngine/TrainingMaterialsSidebar.d.ts +21 -0
  166. package/dist-types/client/src/components/TrainingEngine/TrainingModelContainer.d.ts +42 -0
  167. package/dist-types/client/src/components/TrainingEngine/ViewProps.d.ts +37 -0
  168. package/dist-types/client/src/components/TrainingEngine/profileDataSelectors.d.ts +23 -0
  169. package/dist-types/client/src/components/TrainingEngine/stepInitData.d.ts +42 -0
  170. package/dist-types/client/src/components/TrainingEngine/targetAbilityUtils.d.ts +11 -0
  171. package/dist-types/client/src/components/VisualizationRenderer/ChartRenderer.d.ts +12 -0
  172. package/dist-types/client/src/components/VisualizationRenderer/types.d.ts +41 -0
  173. package/dist-types/client/src/config/appConfig.d.ts +15 -0
  174. package/dist-types/client/src/configs/agentConfig.d.ts +66 -0
  175. package/dist-types/client/src/configs/intentDiscoveryConfig.d.ts +22 -0
  176. package/dist-types/client/src/data/mockTrainingModel.d.ts +10 -0
  177. package/dist-types/client/src/hooks/useAIService.d.ts +17 -0
  178. package/dist-types/client/src/hooks/useDialogueLogic.d.ts +53 -0
  179. package/dist-types/client/src/hooks/useFormFillingLogic.d.ts +26 -0
  180. package/dist-types/client/src/hooks/useFormRealtimeGuidance.d.ts +45 -0
  181. package/dist-types/client/src/hooks/useRealtimeGuidance.d.ts +66 -0
  182. package/dist-types/client/src/hooks/useStageAssessment.d.ts +8 -0
  183. package/dist-types/client/src/hooks/useStepExecution.d.ts +14 -0
  184. package/dist-types/client/src/hooks/useTrainingModel.d.ts +30 -0
  185. package/dist-types/client/src/lib/creator.d.ts +1 -0
  186. package/dist-types/client/src/lib/index.d.ts +1 -0
  187. package/dist-types/client/src/lib/types.d.ts +113 -22
  188. package/dist-types/client/src/plugins/AssessmentPlugin.d.ts +8 -0
  189. package/dist-types/client/src/plugins/CaseAnalysisPlugin.d.ts +9 -0
  190. package/dist-types/client/src/plugins/CaseAnalysisPluginView.d.ts +26 -0
  191. package/dist-types/client/src/plugins/DecisionSelectPlugin.d.ts +8 -0
  192. package/dist-types/client/src/plugins/DialogueFormPlugin.d.ts +9 -0
  193. package/dist-types/client/src/plugins/DialogueFormPluginView.d.ts +37 -0
  194. package/dist-types/client/src/plugins/DialoguePlugin.d.ts +8 -0
  195. package/dist-types/client/src/plugins/DialoguePluginView.d.ts +44 -0
  196. package/dist-types/client/src/plugins/DocumentReview/DocumentCard.d.ts +47 -0
  197. package/dist-types/client/src/plugins/DocumentReview/LayoutComponents.d.ts +47 -0
  198. package/dist-types/client/src/plugins/DocumentReview/MarkListPanel.d.ts +51 -0
  199. package/dist-types/client/src/plugins/DocumentReview/MarkModal.d.ts +37 -0
  200. package/dist-types/client/src/plugins/DocumentReview/ResultPanel.d.ts +32 -0
  201. package/dist-types/client/src/plugins/DocumentReview/Toolbar.d.ts +31 -0
  202. package/dist-types/client/src/plugins/DocumentReview/designTokens.d.ts +76 -0
  203. package/dist-types/client/src/plugins/DocumentReviewPlugin.d.ts +14 -0
  204. package/dist-types/client/src/plugins/ProcessOperationPlugin.d.ts +8 -0
  205. package/dist-types/client/src/plugins/QAPlugin.d.ts +9 -0
  206. package/dist-types/client/src/plugins/StrategyLabPlugin.d.ts +7 -0
  207. package/dist-types/client/src/plugins/decision-making/DecisionMakingPlugin.d.ts +4 -0
  208. package/dist-types/client/src/plugins/decision-making/DecisionWorkspace.d.ts +23 -0
  209. package/dist-types/client/src/plugins/decision-making/MaterialsPanel.d.ts +18 -0
  210. package/dist-types/client/src/plugins/decision-making/logic.d.ts +46 -0
  211. package/dist-types/client/src/plugins/decision-making/scoring.d.ts +79 -0
  212. package/dist-types/client/src/plugins/decision-making/styles.d.ts +743 -0
  213. package/dist-types/client/src/plugins/decision-making/types.d.ts +179 -0
  214. package/dist-types/client/src/plugins/form-filling/DocumentFormLayout.d.ts +22 -0
  215. package/dist-types/client/src/plugins/form-filling/FormAssistPanel.d.ts +20 -0
  216. package/dist-types/client/src/plugins/form-filling/FormFillingPlugin.d.ts +15 -0
  217. package/dist-types/client/src/plugins/form-filling/forms.d.ts +28 -0
  218. package/dist-types/client/src/plugins/form-filling/scoring.d.ts +86 -0
  219. package/dist-types/client/src/plugins/form-filling/useFormFilling.d.ts +42 -0
  220. package/dist-types/client/src/plugins/form-filling/validationRules.d.ts +26 -0
  221. package/dist-types/client/src/plugins/shared/DecisionShared.d.ts +54 -0
  222. package/dist-types/client/src/plugins/shared/FrameworkWidget.d.ts +19 -0
  223. package/dist-types/client/src/plugins/shared/PluginFooter.d.ts +4 -0
  224. package/dist-types/client/src/plugins/shared/PluginHeader.d.ts +4 -0
  225. package/dist-types/client/src/plugins/shared/analysisTools.d.ts +30 -0
  226. package/dist-types/client/src/plugins/shared/disturbanceUtils.d.ts +5 -0
  227. package/dist-types/client/src/plugins/shared/index.d.ts +5 -0
  228. package/dist-types/client/src/plugins/shared/jsonRepair.d.ts +39 -0
  229. package/dist-types/client/src/plugins/shared/judgement.d.ts +46 -0
  230. package/dist-types/client/src/plugins/shared/nodeChain.d.ts +15 -0
  231. package/dist-types/client/src/plugins/shared/renderFieldGrid.d.ts +16 -0
  232. package/dist-types/client/src/plugins/shared/reportBlocks.d.ts +33 -0
  233. package/dist-types/client/src/plugins/shared/reportEvaluation.d.ts +30 -0
  234. package/dist-types/client/src/plugins/shared/reportExport.d.ts +12 -0
  235. package/dist-types/client/src/plugins/shared/reportWorkbench/BlockPropertiesPanel.d.ts +9 -0
  236. package/dist-types/client/src/plugins/shared/reportWorkbench/BlockToolbox.d.ts +11 -0
  237. package/dist-types/client/src/plugins/shared/reportWorkbench/ReportWorkbench.d.ts +20 -0
  238. package/dist-types/client/src/plugins/shared/reportWorkbench/SortableBlock.d.ts +15 -0
  239. package/dist-types/client/src/plugins/shared/reportWorkbench/factory.d.ts +14 -0
  240. package/dist-types/client/src/plugins/shared/reportWorkbench/outlineDraft.d.ts +7 -0
  241. package/dist-types/client/src/plugins/shared/simulationEngine.d.ts +112 -0
  242. package/dist-types/client/src/plugins/shared/simulationModes.d.ts +21 -0
  243. package/dist-types/client/src/plugins/shared/themes.d.ts +5 -0
  244. package/dist-types/client/src/plugins/shared/types.d.ts +1247 -0
  245. package/dist-types/client/src/services/AICommandHandler.d.ts +68 -0
  246. package/dist-types/client/src/services/cozeApiClient.d.ts +44 -0
  247. package/dist-types/client/src/services/mockApi.d.ts +48 -0
  248. package/dist-types/client/src/services/storageService.d.ts +88 -0
  249. package/dist-types/client/src/stores/abilityStore.d.ts +33 -0
  250. package/dist-types/client/src/stores/dialogueStore.d.ts +30 -0
  251. package/dist-types/client/src/stores/formRegistryStore.d.ts +45 -0
  252. package/dist-types/client/src/stores/guidanceStore.d.ts +17 -0
  253. package/dist-types/client/src/stores/stepEvidenceStore.d.ts +14 -0
  254. package/dist-types/client/src/stores/strategyLabStore.d.ts +46 -0
  255. package/dist-types/client/src/stores/trainingStore.d.ts +84 -0
  256. package/dist-types/client/src/types/ai-commands.d.ts +144 -0
  257. package/dist-types/client/src/types.d.ts +17 -0
  258. package/dist-types/client/src/utils/abilityMapGenerator.d.ts +27 -0
  259. package/dist-types/client/src/utils/formUtils.d.ts +66 -0
  260. package/dist-types/client/src/utils/rule-engine.d.ts +36 -0
  261. package/dist-types/shared/types/index.d.ts +592 -0
  262. package/package.json +5 -3
  263. package/dist/CaseAnalysisPlugin-CQvF9_zr.js +0 -416
  264. package/dist/DialogueFormPlugin-C9ssnVMr.js +0 -959
  265. package/dist/DialoguePlugin-DU00QpmQ.js +0 -416
  266. package/dist/DocumentReviewPlugin-HNOZY1T4.js +0 -977
  267. package/dist/FormFillingPlugin-DURWsioi.js +0 -445
  268. package/dist/ModelEditor-BPJsPR0S.js +0 -8264
  269. package/dist/PluginHeader-B-GESJmT.js +0 -87
  270. package/dist/QAPlugin-Bh_UjK1N.js +0 -184
  271. package/dist/RadarChart-C5ZM0kWt.js +0 -24963
  272. package/dist/StrategyLabPlugin-DGeZsr_7.js +0 -14361
  273. package/dist/ThunderboltOutlined-nH_FO_4A.js +0 -44
  274. package/dist/ToolOutlined-DtuNJDB2.js +0 -28
  275. package/dist/TrainingModelContainer-DpW-uB8O.js +0 -11883
  276. package/dist/WarningOutlined-5g1d66hO.js +0 -164
  277. package/dist/judgement-D_9i7x9S.js +0 -20
  278. package/dist/useDialogueLogic-IHELcN3X.js +0 -368
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ import type { VisualTheme } from '../types';
3
+ import type { SimulationNode, NodeRuntimeState } from '../../../plugins/shared/types';
4
+ interface NodeChainBarProps {
5
+ nodes: SimulationNode[];
6
+ currentNodeIndex: number;
7
+ nodeStates: NodeRuntimeState[];
8
+ theme: VisualTheme;
9
+ /** 点击节点回看(仅当前节点 + 已拍定节点可点);正在回看的节点下标用于高亮 */
10
+ onSelect?: (index: number) => void;
11
+ reviewNodeIndex?: number | null;
12
+ }
13
+ /** 横向节点链进度指示(展示态:高亮当前节点,已拍定节点打勾,可点击回看历史节点)。 */
14
+ export declare const NodeChainBar: React.FC<NodeChainBarProps>;
15
+ interface NodeGoalHeaderProps {
16
+ node: SimulationNode;
17
+ index: number;
18
+ total: number;
19
+ previousUnachieved?: boolean;
20
+ theme: VisualTheme;
21
+ }
22
+ /** 当前节点决策目标常驻头部。previousUnachieved=上一节点未达成时提示需在本节点弥补。 */
23
+ export declare const NodeGoalHeader: React.FC<NodeGoalHeaderProps>;
24
+ interface NodeGoalJudgmentPanelProps {
25
+ judgment: NonNullable<NodeRuntimeState['goalJudgment']>;
26
+ requireGoalAchieved?: boolean;
27
+ isLastNode: boolean;
28
+ theme: VisualTheme;
29
+ }
30
+ /** 拍定后目标达成判定面板(达成/未达成 + 理由 + 建议 + 软流转说明)。 */
31
+ export declare const NodeGoalJudgmentPanel: React.FC<NodeGoalJudgmentPanelProps>;
32
+ export {};
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import type { VisualTheme } from '../types';
3
+ interface ProgressStepsProps {
4
+ steps: Array<{
5
+ id: number;
6
+ label: string;
7
+ status: 'pending' | 'active' | 'completed';
8
+ }>;
9
+ theme?: VisualTheme;
10
+ }
11
+ /**
12
+ * 进度指示器组件 - 教育版
13
+ */
14
+ declare const ProgressSteps: React.FC<ProgressStepsProps>;
15
+ export default ProgressSteps;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import type { VisualTheme } from '../types';
3
+ interface SandboxViewProps {
4
+ randomEvents: Array<{
5
+ type: string;
6
+ description: string;
7
+ probability: number;
8
+ impact: string;
9
+ response: string;
10
+ }>;
11
+ adaptabilityScore?: number;
12
+ theme: VisualTheme;
13
+ }
14
+ /**
15
+ * 沙盒模式视图组件
16
+ * 展示随机事件和适应能力评分
17
+ */
18
+ declare const SandboxView: React.FC<SandboxViewProps>;
19
+ export default SandboxView;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import type { VisualTheme } from '../types';
3
+ interface ScenarioPanelProps {
4
+ scenario: {
5
+ title: string;
6
+ description: string;
7
+ background: string;
8
+ objectives: string[];
9
+ };
10
+ onClose?: () => void;
11
+ theme?: VisualTheme;
12
+ }
13
+ /**
14
+ * 场景背景面板 - 教育版
15
+ */
16
+ declare const ScenarioPanel: React.FC<ScenarioPanelProps>;
17
+ export default ScenarioPanel;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface SimulationAnimationProps {
3
+ onComplete?: () => void;
4
+ streamingContent?: string;
5
+ hasReceivedFirstChunk?: boolean;
6
+ }
7
+ /**
8
+ * 推演动画组件 - 全屏动画效果
9
+ * 两阶段加载:前 6 秒精美动画,之后持续加载状态
10
+ * 支持流式内容展示
11
+ */
12
+ declare const SimulationAnimation: React.FC<SimulationAnimationProps>;
13
+ export default SimulationAnimation;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import type { SimulationResult as SimulationResultType } from '../../../plugins/shared/types';
3
+ import type { VisualTheme } from '../types';
4
+ interface SimulationResultProps {
5
+ result: SimulationResultType;
6
+ theme?: VisualTheme;
7
+ animationEnabled?: boolean;
8
+ resultRevealDelay?: number;
9
+ }
10
+ /**
11
+ * 推演结果组件 - 教育版(高信息密度)
12
+ * 适配真实的 SimulationResult 类型
13
+ */
14
+ declare const SimulationResult: React.FC<SimulationResultProps>;
15
+ export default SimulationResult;
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import type { Character } from '../../../plugins/shared/types';
3
+ import type { VisualTheme } from '../types';
4
+ interface StressTestViewProps {
5
+ stressTest: {
6
+ resilienceScore: number;
7
+ breakingPoint: string;
8
+ extremeScenarios: Array<{
9
+ scenario: string;
10
+ impact: string;
11
+ survivalRate: number;
12
+ }>;
13
+ };
14
+ narrator?: Character;
15
+ theme: VisualTheme;
16
+ }
17
+ /**
18
+ * 压力测试模式视图组件
19
+ * 展示韧性评分、崩溃点和极端情境测试
20
+ */
21
+ declare const StressTestView: React.FC<StressTestViewProps>;
22
+ export default StressTestView;
@@ -0,0 +1,21 @@
1
+ import type { ThemeType } from './types';
2
+ /**
3
+ * 根据内容智能匹配主题
4
+ * @param content 案例描述、标题等文本内容
5
+ * @returns 匹配的主题类型
6
+ */
7
+ export declare function matchThemeByContent(content: string): ThemeType;
8
+ /**
9
+ * 根据案例对象智能匹配主题
10
+ * 综合考虑标题、描述等多个字段
11
+ */
12
+ export declare function matchThemeByCase(caseData: {
13
+ title?: string;
14
+ description?: string;
15
+ scenario?: string;
16
+ [key: string]: any;
17
+ }): ThemeType;
18
+ /**
19
+ * 获取主题的适用场景描述
20
+ */
21
+ export declare function getThemeScenarios(theme: ThemeType): string;
@@ -0,0 +1,45 @@
1
+ import type { VisualTheme } from '../types';
2
+ /**
3
+ * 教育明亮风主题
4
+ * 适用场景:教育培训、城市规划、公共服务
5
+ * 设计理念:明亮背景、专业色调、清晰层次、简洁动画
6
+ */
7
+ export declare const educationTheme: VisualTheme;
8
+ /**
9
+ * 兼容旧组件的扁平结构(向后兼容)
10
+ * @deprecated 新组件应使用 educationTheme(VisualTheme 结构)
11
+ */
12
+ export declare const educationThemeFlat: {
13
+ primary: string;
14
+ primaryLight: string;
15
+ primaryDark: string;
16
+ primaryBg: string;
17
+ accent: string;
18
+ accentLight: string;
19
+ accentBg: string;
20
+ success: string;
21
+ successLight: string;
22
+ successBg: string;
23
+ warning: string;
24
+ warningBg: string;
25
+ error: string;
26
+ errorBg: string;
27
+ bgLight: string;
28
+ bgWhite: string;
29
+ bgCard: string;
30
+ bgHover: string;
31
+ textPrimary: string;
32
+ textSecondary: string;
33
+ textMuted: string;
34
+ textDisabled: string;
35
+ border: string;
36
+ borderLight: string;
37
+ borderDark: string;
38
+ shadowSm: string;
39
+ shadowMd: string;
40
+ shadowLg: string;
41
+ shadowXl: string;
42
+ gradientPrimary: string;
43
+ gradientAccent: string;
44
+ gradientSuccess: string;
45
+ };
@@ -0,0 +1,7 @@
1
+ import type { VisualTheme } from '../types';
2
+ /**
3
+ * 医疗健康风主题
4
+ * 适用场景:医疗健康、公共卫生、生命科学
5
+ * 设计理念:浅色背景、温暖色调、呼吸效果、柔和动画
6
+ */
7
+ export declare const healthcareTheme: VisualTheme;
@@ -0,0 +1,22 @@
1
+ import type { VisualTheme, ThemeType } from '../types';
2
+ /**
3
+ * 新的主题注册表(4个核心视觉主题)
4
+ */
5
+ export declare const VISUAL_THEMES: Record<ThemeType, VisualTheme>;
6
+ /**
7
+ * 根据类型获取视觉主题
8
+ */
9
+ export declare const getVisualTheme: (type: ThemeType) => VisualTheme;
10
+ /**
11
+ * 根据案例内容智能匹配并获取主题
12
+ */
13
+ export declare const getThemeByContent: (content: string) => VisualTheme;
14
+ /**
15
+ * 根据案例对象智能匹配并获取主题
16
+ */
17
+ export declare const getThemeByCase: (caseData: {
18
+ title?: string;
19
+ description?: string;
20
+ scenario?: string;
21
+ [key: string]: any;
22
+ }) => VisualTheme;
@@ -0,0 +1,7 @@
1
+ import type { VisualTheme } from '../types';
2
+ /**
3
+ * 专业商务风主题
4
+ * 适用场景:企业战略、投资决策、政策制定、咨询分析
5
+ * 设计理念:深色背景、McKinsey/BCG风格、高对比度、专业严谨
6
+ */
7
+ export declare const professionalTheme: VisualTheme;
@@ -0,0 +1,7 @@
1
+ import type { VisualTheme } from '../types';
2
+ /**
3
+ * 科技游戏风主题
4
+ * 适用场景:技术创新、危机管理、数字化转型
5
+ * 设计理念:深色背景、发光效果、扫描线、粒子动画、赛博朋克风格
6
+ */
7
+ export declare const technologyTheme: VisualTheme;
@@ -0,0 +1,82 @@
1
+ /**
2
+ * 策略实验室场景化系统 - 类型定义
3
+ */
4
+ export type ThemeType = 'professional' | 'technology' | 'healthcare' | 'education';
5
+ export interface VisualTheme {
6
+ type: ThemeType;
7
+ name: string;
8
+ description: string;
9
+ colors: {
10
+ primary: string;
11
+ primaryLight: string;
12
+ primaryDark: string;
13
+ accent: string;
14
+ accentLight: string;
15
+ success: string;
16
+ warning: string;
17
+ error: string;
18
+ bgPrimary: string;
19
+ bgSecondary: string;
20
+ bgCard: string;
21
+ textPrimary: string;
22
+ textSecondary: string;
23
+ textMuted: string;
24
+ border: string;
25
+ borderLight: string;
26
+ };
27
+ effects: {
28
+ cardStyle: 'glass' | 'solid' | 'gradient';
29
+ animation: 'subtle' | 'dynamic' | 'gaming';
30
+ shadow: string;
31
+ shadowMd: string;
32
+ shadowLg: string;
33
+ glow?: string;
34
+ };
35
+ background: {
36
+ type: 'gradient' | 'image' | 'pattern';
37
+ gradient?: string;
38
+ image?: string;
39
+ overlay?: string;
40
+ };
41
+ fonts: {
42
+ primary: string;
43
+ secondary?: string;
44
+ };
45
+ }
46
+ /** @deprecated 使用 VisualTheme 替代 */
47
+ export interface SceneTheme {
48
+ type: 'urban-planning' | 'business-strategy' | 'investment' | 'policy' | 'crisis' | 'technology' | 'healthcare' | 'education' | 'supply-chain' | 'environment' | 'custom';
49
+ label: string;
50
+ description: string;
51
+ visual: {
52
+ backgroundType: 'map' | 'office' | 'chart' | 'abstract' | 'custom';
53
+ backgroundImage?: string;
54
+ primaryColor: string;
55
+ accentColor: string;
56
+ overlayOpacity: number;
57
+ };
58
+ dataLayers?: DataLayer[];
59
+ animation: {
60
+ transitionDuration: number;
61
+ chartAnimationDelay: number;
62
+ enableParticles: boolean;
63
+ customEffect?: 'pulse-wave' | 'breathing' | 'scan' | 'flow' | 'healthcare-immersive';
64
+ };
65
+ }
66
+ export interface DataLayer {
67
+ id: string;
68
+ label: string;
69
+ initialValue: number;
70
+ position: {
71
+ x: string;
72
+ y: string;
73
+ };
74
+ icon?: string;
75
+ color?: string;
76
+ }
77
+ export interface AnimationConfig {
78
+ type: 'scan' | 'pulse' | 'particles' | 'morph' | 'flow' | 'heatmap' | 'highlight' | 'countup';
79
+ target: 'background' | 'dataLayers' | 'connections' | 'changes' | 'metrics';
80
+ direction?: 'inward' | 'outward';
81
+ duration?: number;
82
+ }
@@ -0,0 +1,72 @@
1
+ import React from 'react';
2
+ import type { VisualTheme } from '../types';
3
+ import type { DecisionData, SimulationResult as SimulationResultType, StrategyEvaluationResult, GuidanceStep, GuidanceConfirmState, DecisionInputMethod, SimulationMode, SimulationNode, NodeRuntimeState, DecisionField } from '../../../plugins/shared/types';
4
+ /**
5
+ * 统一策略实验室视图 - 受控组件
6
+ *
7
+ * 流程状态:
8
+ * - decision-input: 决策输入
9
+ * - simulating: 推演中(显示动画)
10
+ * - result-display: 推演结果展示
11
+ * - evaluating: 评估中(显示动画)
12
+ * - evaluation-done: 评估完成
13
+ */
14
+ type FlowState = 'decision-input' | 'simulating' | 'result-display' | 'evaluating' | 'evaluation-done';
15
+ interface UnifiedStrategyLabViewProps {
16
+ scenario: {
17
+ title: string;
18
+ description: string;
19
+ background: string;
20
+ objectives: string[];
21
+ };
22
+ theme: VisualTheme;
23
+ flowState: FlowState;
24
+ activePanel: 'scenario' | 'experiment' | null;
25
+ decisions: DecisionData[];
26
+ currentDecisionIndex: number;
27
+ simulationResults: SimulationResultType[];
28
+ evaluations: StrategyEvaluationResult[];
29
+ loading: boolean;
30
+ guidanceStep?: GuidanceStep | null;
31
+ guidanceConfirm?: GuidanceConfirmState | null;
32
+ currentQuestionIndex?: number;
33
+ onSubmitDecision: (decision: string | Record<string, any>) => void;
34
+ onSubmitGuidanceAnswer?: (answer: any) => void;
35
+ onConfirmGuidance?: (editedHistory: Array<{
36
+ question: string;
37
+ answer: any;
38
+ }>) => void;
39
+ onRequestGuidance?: () => void;
40
+ onEvaluate: () => void;
41
+ onAdjust: () => void;
42
+ onAddComparison?: () => void;
43
+ onSwitchDecision: (index: number) => void;
44
+ onComplete: () => void;
45
+ onSetActivePanel: (panel: 'scenario' | 'experiment' | null) => void;
46
+ onSwitchTheme: () => void;
47
+ onEnterCharacterDialogue?: () => void;
48
+ decisionInputMethod?: DecisionInputMethod;
49
+ decisionFields?: DecisionField[];
50
+ mode?: SimulationMode;
51
+ streamingContent?: string;
52
+ hasReceivedFirstChunk?: boolean;
53
+ pendingStances?: Record<string, string> | null;
54
+ onClearPendingStances?: () => void;
55
+ /** 当前节点/单场景的决策收敛方式:'compare' 时启用多方案并排 UI(与镜头正交) */
56
+ decisionStyle?: 'iterate' | 'compare';
57
+ nodes?: SimulationNode[];
58
+ /** 当前激活节点下标(与 currentDecisionIndex 不同:后者是节点内的轮次) */
59
+ currentNodeIndex?: number;
60
+ nodeStates?: NodeRuntimeState[];
61
+ /** 当前节点拍定后的目标达成判定;非空表示处于「已拍定」态,展示判定面板 + 软流转按钮 */
62
+ goalJudgment?: NodeRuntimeState['goalJudgment'] | null;
63
+ onCommitNode?: () => void;
64
+ onAdvanceNode?: () => void;
65
+ onReviseNode?: () => void;
66
+ /** 回看:正在只读回看的历史节点下标(null=不在回看态) */
67
+ reviewNodeIndex?: number | null;
68
+ onReviewNode?: (index: number) => void;
69
+ onExitReview?: () => void;
70
+ }
71
+ declare const UnifiedStrategyLabView: React.FC<UnifiedStrategyLabViewProps>;
72
+ export default UnifiedStrategyLabView;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import type { ReferenceDoc } from '@shared/types/index.js';
3
+ interface BriefingQAChatProps {
4
+ currentUser?: {
5
+ userId: string;
6
+ name: string;
7
+ };
8
+ greeting?: string;
9
+ primaryColor: string;
10
+ stepName?: string;
11
+ scenarioText?: string;
12
+ facts?: {
13
+ label: string;
14
+ value: string;
15
+ }[];
16
+ referenceDocs?: ReferenceDoc[];
17
+ }
18
+ declare const _default: React.NamedExoticComponent<BriefingQAChatProps>;
19
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import type { ThemeTokens } from '../../plugins/shared/types';
3
+ import type { Case, CaseSchema } from '@shared/types/index.js';
4
+ interface CaseInfoModalProps {
5
+ visible: boolean;
6
+ case: Case | null;
7
+ schema?: CaseSchema;
8
+ theme: ThemeTokens;
9
+ onClose: () => void;
10
+ }
11
+ declare const CaseInfoModal: React.FC<CaseInfoModalProps>;
12
+ export default CaseInfoModal;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import type { Case } from '@shared/types/index.js';
3
+ interface CaseSelectorProps {
4
+ cases: Case[];
5
+ selectedCase?: Case;
6
+ onSelect: (caseItem: Case) => void;
7
+ onStart: () => void;
8
+ disabled?: boolean;
9
+ }
10
+ /**
11
+ * 案例选择组件
12
+ * 显示可用的案例列表,支持选择并开始实训
13
+ */
14
+ declare const CaseSelector: React.FC<CaseSelectorProps>;
15
+ export default CaseSelector;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { ViewProps } from './ViewProps';
3
+ /**
4
+ * 经典视图 — 三列布局(从 TrainingModelContainer 提取的原有 UI)
5
+ */
6
+ declare const ClassicView: React.FC<ViewProps>;
7
+ export default ClassicView;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import type { ViewProps } from "./ViewProps";
3
+ export declare const applyDocumentScrollLock: (active: boolean, target?: {
4
+ bodyStyle: Pick<CSSStyleDeclaration, "overflow" | "touchAction">;
5
+ }) => () => void;
6
+ declare const DashboardHomePage: React.FC<ViewProps>;
7
+ export default DashboardHomePage;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface EnhancedStudentProfilePanelProps {
3
+ studentId: string;
4
+ }
5
+ /**
6
+ * 增强版学生能力画像面板
7
+ */
8
+ export declare const EnhancedStudentProfilePanel: React.FC<EnhancedStudentProfilePanelProps>;
9
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { EvaluationReport } from '@shared/types/index.js';
3
+ interface EvaluationPanelProps {
4
+ evaluation: EvaluationReport;
5
+ onClose?: () => void;
6
+ }
7
+ declare const EvaluationPanel: React.FC<EvaluationPanelProps>;
8
+ export default EvaluationPanel;
@@ -0,0 +1,34 @@
1
+ import React from 'react';
2
+ import type { Step, Stage, TrainingModel, Case } from '@shared/types/index.js';
3
+ interface GlobalQAPanelProps {
4
+ botId?: string;
5
+ currentUser?: {
6
+ userId: string;
7
+ name: string;
8
+ };
9
+ context?: string;
10
+ domain?: string;
11
+ targetPosition?: string;
12
+ visible?: boolean;
13
+ onVisibleChange?: (visible: boolean) => void;
14
+ currentStep?: Step;
15
+ currentStage?: Stage;
16
+ model?: TrainingModel;
17
+ currentCase?: Case;
18
+ currentStageIndex?: number;
19
+ currentStepIndex?: number;
20
+ }
21
+ interface RuleItem {
22
+ label: string;
23
+ items?: string[];
24
+ value?: string | number;
25
+ icon?: React.ReactNode;
26
+ }
27
+ export declare const resolveStepEvaluationRulesForDisplay: (stepRules: any) => any;
28
+ export declare const formatEvaluationRulesForDisplay: (evaluationRules: any, currentCase?: Case) => RuleItem[];
29
+ export declare const getRulesSectionItemKeys: ({ stepRuleCount, stepEvaluationRuleCount, }: {
30
+ stepRuleCount: number;
31
+ stepEvaluationRuleCount: number;
32
+ }) => string[];
33
+ declare const _default: React.NamedExoticComponent<GlobalQAPanelProps>;
34
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface GuidanceHistoryDrawerProps {
3
+ open: boolean;
4
+ onClose: () => void;
5
+ }
6
+ declare const GuidanceHistoryDrawer: React.FC<GuidanceHistoryDrawerProps>;
7
+ export default GuidanceHistoryDrawer;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const GuidancePanel: React.FC;
3
+ export default GuidancePanel;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import type { ViewProps } from "./ViewProps";
3
+ /**
4
+ * 沉浸式闯关游戏视图
5
+ */
6
+ declare const ImmersiveGameView: React.FC<ViewProps>;
7
+ export default ImmersiveGameView;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import type { PluginProps } from '@shared/types/index.js';
3
+ interface PluginRendererProps {
4
+ pluginType?: string;
5
+ initData: any;
6
+ runtimeRules: any;
7
+ onFinish: PluginProps['onFinish'];
8
+ onRealtimeData?: PluginProps['onRealtimeData'];
9
+ }
10
+ /**
11
+ * 插件渲染器组件
12
+ * 通过 pluginType 加载插件
13
+ */
14
+ declare const PluginRenderer: React.FC<PluginRendererProps>;
15
+ export default PluginRenderer;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const ProgressTracker: React.FC;
3
+ export default ProgressTracker;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import type { ThemeTokens } from '../../plugins/shared/types';
3
+ interface StageAssessingOverlayProps {
4
+ theme: ThemeTokens;
5
+ }
6
+ /**
7
+ * 阶段评估进行中的全屏遮罩。
8
+ *
9
+ * 阶段末步触发评估后,store.stageAssessing 置为 true,但评估报告
10
+ * (currentStageAssessment)要等 STAGE_EVALUATOR_AGENT 返回才生成——这中间是个
11
+ * 数秒至数十秒的异步窗口。原先没有任何组件订阅 stageAssessing,用户点完"完成此步"
12
+ * 会误以为没反应。此遮罩负责:
13
+ * 1) 展示加载动画,告知阶段评估正在进行;
14
+ * 2) 覆盖全屏并拦截指针事件,在评估期间禁用底层页面操作。
15
+ */
16
+ declare const StageAssessingOverlay: React.FC<StageAssessingOverlayProps>;
17
+ export default StageAssessingOverlay;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { StageAssessmentReport } from '@shared/types/index.js';
3
+ interface StageAssessmentPanelProps {
4
+ report: StageAssessmentReport;
5
+ onConfirmProceed: () => void;
6
+ onRedoStep?: (stepId: string) => void;
7
+ onDismissContinue: () => void;
8
+ }
9
+ declare const StageAssessmentPanel: React.FC<StageAssessmentPanelProps>;
10
+ export default StageAssessmentPanel;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ interface StepExecutorProps {
3
+ botId?: string;
4
+ currentUser?: {
5
+ userId: string;
6
+ name: string;
7
+ };
8
+ /** inline = 默认 Card 包裹;modal = 无 Card 无导航按钮 */
9
+ mode?: 'inline' | 'modal';
10
+ /** modal 模式下是否全屏铺满(撑满进入动画过场页等容器高度,去除圆角) */
11
+ fullscreen?: boolean;
12
+ /** modal 模式下的"操作完成"回调 */
13
+ onComplete?: () => void;
14
+ }
15
+ /**
16
+ * 步骤执行器组件
17
+ * 负责执行当前步骤,渲染插件,处理完成回调
18
+ */
19
+ declare const StepExecutor: React.FC<StepExecutorProps>;
20
+ export default StepExecutor;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import type { TrainingModel } from '@shared/types/index.js';
3
+ import type { ThemeTokens } from '../../plugins/shared/types';
4
+ interface StepNodeMapProps {
5
+ model: TrainingModel;
6
+ currentStageIndex: number;
7
+ currentStepIndex: number;
8
+ theme: ThemeTokens;
9
+ onStepClick: (stageIdx: number, stepIdx: number) => void;
10
+ }
11
+ /**
12
+ * 沉浸式闯关路径地图 — 阶段分组布局
13
+ */
14
+ declare const StepNodeMap: React.FC<StepNodeMapProps>;
15
+ export default StepNodeMap;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface StudentProfilePanelProps {
3
+ studentId?: string;
4
+ }
5
+ declare const StudentProfilePanel: React.FC<StudentProfilePanelProps>;
6
+ export default StudentProfilePanel;