eli-video-interview 1.2.41-alpha.9 → 1.2.42-alpha.2
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.
- package/esm/components/AiHeaderTitle/index.js +8 -1
- package/esm/components/BigBallSvg/styled.d.ts +2 -2
- package/esm/components/Charts/ReportPie.js +7 -4
- package/esm/components/ScoreBigBall/index.d.ts +1 -1
- package/esm/components/ScoreBigBall/index.js +1 -1
- package/esm/components/ScoreBigBall/styled.d.ts +1 -1
- package/esm/components/ScrollDialogContent/index.d.ts +1 -1
- package/esm/components/VideoPreview/styled.d.ts +3 -3
- package/esm/components/react-photo-view/hooks/useAnimationPosition.d.ts +1 -1
- package/esm/constants/ai-question.d.ts +13 -2
- package/esm/constants/ai-question.js +22 -2
- package/esm/constants/ai-report.d.ts +5 -0
- package/esm/constants/ai-report.js +5 -0
- package/esm/enum/ai-report.d.ts +12 -0
- package/esm/enum/ai-report.js +12 -0
- package/esm/index.d.ts +2 -0
- package/esm/index.js +2 -0
- package/esm/modules/ai-ability/components/AbilityFormItem/AbilityFormItem.d.ts +14 -0
- package/esm/modules/ai-ability/components/AbilityFormItem/AbilityFormItem.js +145 -0
- package/esm/modules/ai-ability/components/AbilityFormItem/index.d.ts +2 -0
- package/esm/modules/ai-ability/components/AbilityFormItem/index.js +16 -6
- package/esm/modules/ai-ability/components/AddAbility/index.js +88 -103
- package/esm/modules/ai-ability/components/UpdateAbility/index.js +81 -106
- package/esm/modules/ai-ability/styled.d.ts +2 -2
- package/esm/modules/ai-ability-select/components/AiAbilityItem/styled.d.ts +1 -1
- package/esm/modules/ai-question/Root.js +12 -9
- package/esm/modules/ai-question/components/AiAssessmentCriteria/styled.d.ts +1 -1
- package/esm/modules/ai-question/components/BaseAccordion/index.js +9 -7
- package/esm/modules/ai-question/components/BaseAccordion/interface.d.ts +1 -0
- package/esm/modules/ai-question/components/BaseAccordion/styled.d.ts +3 -3
- package/esm/modules/ai-question/components/BootVideo/CustomVideos.js +63 -25
- package/esm/modules/ai-question/components/BootVideo/index.js +79 -23
- package/esm/modules/ai-question/components/BootVideo/interface.d.ts +1 -0
- package/esm/modules/ai-question/components/BootVideo/styled.d.ts +6 -4
- package/esm/modules/ai-question/components/BootVideo/styled.js +20 -17
- package/esm/modules/ai-question/components/QuestionImport/index.d.ts +4 -0
- package/esm/modules/ai-question/components/QuestionImport/index.js +117 -0
- package/esm/modules/ai-question/components/QuestionImport/interface.d.ts +8 -0
- package/esm/modules/ai-question/components/QuestionImport/interface.js +1 -0
- package/esm/modules/ai-question/components/QuestionImport/styled.d.ts +13 -0
- package/esm/modules/ai-question/components/QuestionImport/styled.js +49 -0
- package/esm/modules/ai-question/components/QuestionModel/Header.js +23 -2
- package/esm/modules/ai-question/components/QuestionModel/Item.js +5 -5
- package/esm/modules/ai-question/components/QuestionModel/index.js +1 -1
- package/esm/modules/ai-question/components/QuestionModel/interface.d.ts +1 -0
- package/esm/modules/ai-question/components/QuestionModel/styled.d.ts +1 -1
- package/esm/modules/ai-question/components/QuestionPreview/styled.d.ts +3 -3
- package/esm/modules/ai-question/components/QuestionTemplate/AiEvaluation.d.ts +3 -1
- package/esm/modules/ai-question/components/QuestionTemplate/AiEvaluation.js +5 -4
- package/esm/modules/ai-question/components/QuestionTemplate/index.js +3 -2
- package/esm/modules/ai-question/components/QuestionTemplate/interface.d.ts +1 -0
- package/esm/modules/ai-question/components/QuestionUpdate/FllowupSetting.d.ts +4 -0
- package/esm/modules/ai-question/components/QuestionUpdate/FllowupSetting.js +86 -0
- package/esm/modules/ai-question/components/QuestionUpdate/FollowupKeyPoints.d.ts +9 -0
- package/esm/modules/ai-question/components/QuestionUpdate/FollowupKeyPoints.js +94 -0
- package/esm/modules/ai-question/components/QuestionUpdate/FollowupTarget.d.ts +9 -0
- package/esm/modules/ai-question/components/QuestionUpdate/FollowupTarget.js +73 -0
- package/esm/modules/ai-question/components/QuestionUpdate/Form.js +8 -7
- package/esm/modules/ai-question/components/QuestionUpdate/RandomQuestion.js +2 -1
- package/esm/modules/ai-question/components/QuestionUpdate/VideoVoice.js +27 -17
- package/esm/modules/ai-question/components/QuestionUpdate/VideoVoiceUploader.d.ts +2 -1
- package/esm/modules/ai-question/components/QuestionUpdate/VideoVoiceUploader.js +15 -10
- package/esm/modules/ai-question/components/QuestionUpdate/index.js +3 -3
- package/esm/modules/ai-question/components/QuestionUpdate/interface.d.ts +7 -0
- package/esm/modules/ai-question/components/QuestionUpdate/styled.d.ts +10 -10
- package/esm/modules/ai-question/interface.d.ts +7 -0
- package/esm/modules/ai-question/useAiQuestion.d.ts +4 -0
- package/esm/modules/ai-report/Root.js +54 -10
- package/esm/modules/ai-report/components/AIEvaluate/index.js +2 -2
- package/esm/modules/ai-report/components/RankingRange/styled.d.ts +2 -2
- package/esm/modules/ai-report/components/ScoreReport/Bar.d.ts +4 -1
- package/esm/modules/ai-report/components/ScoreReport/Bar.js +12 -10
- package/esm/modules/ai-report/components/ScoreReport/Failed.d.ts +1 -1
- package/esm/modules/ai-report/components/ScoreReport/Failed.js +12 -4
- package/esm/modules/ai-report/components/ScoreReport/RecommendIcon.d.ts +3 -0
- package/esm/modules/ai-report/components/ScoreReport/RecommendIcon.js +17 -0
- package/esm/modules/ai-report/components/ScoreReport/Score.js +35 -9
- package/esm/modules/ai-report/components/ScoreReport/Tips.d.ts +3 -0
- package/esm/modules/ai-report/components/ScoreReport/Tips.js +18 -0
- package/esm/modules/ai-report/components/ScoreReport/index.js +8 -10
- package/esm/modules/ai-report/components/ScoreReport/interface.d.ts +5 -0
- package/esm/modules/ai-report/components/ScoreReport/styled.d.ts +7 -7
- package/esm/modules/ai-report/components/ScoreReport/styled.js +2 -4
- package/esm/modules/ai-report/components/Suggestion/index.js +2 -2
- package/esm/modules/ai-report/components/VideoQuestion/QuestionItem.js +3 -1
- package/esm/modules/ai-report/components/VideoQuestion/Workplaces.d.ts +6 -0
- package/esm/modules/ai-report/components/VideoQuestion/Workplaces.js +26 -0
- package/esm/modules/ai-report/components/VideoQuestion/index.js +2 -2
- package/esm/modules/ai-report/components/VideoQuestion/styled.d.ts +8 -8
- package/esm/modules/ai-report/components/WorkPlaces/WorkPlace.d.ts +1 -0
- package/esm/modules/ai-report/components/WorkPlaces/WorkPlace.js +2 -1
- package/esm/modules/ai-report/components/WorkPlaces/index.js +4 -3
- package/esm/modules/ai-report/components/WorkPlaces/styled.d.ts +4 -4
- package/esm/modules/ai-report/interface.d.ts +9 -0
- package/esm/modules/ai-report-v2/Root.d.ts +4 -0
- package/esm/modules/ai-report-v2/Root.js +82 -0
- package/esm/modules/ai-report-v2/components/AIEvaluate/Evaluate.d.ts +13 -0
- package/esm/modules/ai-report-v2/components/AIEvaluate/Evaluate.js +82 -0
- package/esm/modules/ai-report-v2/components/AIEvaluate/Graph.d.ts +10 -0
- package/esm/modules/ai-report-v2/components/AIEvaluate/Graph.js +246 -0
- package/esm/modules/ai-report-v2/components/AIEvaluate/index.d.ts +3 -0
- package/esm/modules/ai-report-v2/components/AIEvaluate/index.js +29 -0
- package/esm/modules/ai-report-v2/components/Candidate/Candidate.d.ts +7 -0
- package/esm/modules/ai-report-v2/components/Candidate/Candidate.js +44 -0
- package/esm/modules/ai-report-v2/components/Candidate/Interface.d.ts +13 -0
- package/esm/modules/ai-report-v2/components/Candidate/Interface.js +1 -0
- package/esm/modules/ai-report-v2/components/Candidate/Podium.d.ts +6 -0
- package/esm/modules/ai-report-v2/components/Candidate/Podium.js +50 -0
- package/esm/modules/ai-report-v2/components/Candidate/index.d.ts +2 -0
- package/esm/modules/ai-report-v2/components/Candidate/index.js +2 -0
- package/esm/modules/ai-report-v2/components/Form/Form.d.ts +23 -0
- package/esm/modules/ai-report-v2/components/Form/Form.js +83 -0
- package/esm/modules/ai-report-v2/components/Form/Forms.d.ts +9 -0
- package/esm/modules/ai-report-v2/components/Form/Forms.js +45 -0
- package/esm/modules/ai-report-v2/components/Form/Nps.d.ts +6 -0
- package/esm/modules/ai-report-v2/components/Form/Nps.js +55 -0
- package/esm/modules/ai-report-v2/components/Form/index.d.ts +1 -0
- package/esm/modules/ai-report-v2/components/Form/index.js +1 -0
- package/esm/modules/ai-report-v2/components/Form/interface.d.ts +57 -0
- package/esm/modules/ai-report-v2/components/Form/interface.js +1 -0
- package/esm/modules/ai-report-v2/components/MenuAnchor/index.d.ts +4 -0
- package/esm/modules/ai-report-v2/components/MenuAnchor/index.js +131 -0
- package/esm/modules/ai-report-v2/components/NotFinish/index.d.ts +3 -0
- package/esm/modules/ai-report-v2/components/NotFinish/index.js +25 -0
- package/esm/modules/ai-report-v2/components/RankingRange/Item.d.ts +4 -0
- package/esm/modules/ai-report-v2/components/RankingRange/Item.js +46 -0
- package/esm/modules/ai-report-v2/components/RankingRange/index.d.ts +4 -0
- package/esm/modules/ai-report-v2/components/RankingRange/index.js +187 -0
- package/esm/modules/ai-report-v2/components/RankingRange/interface.d.ts +26 -0
- package/esm/modules/ai-report-v2/components/RankingRange/interface.js +1 -0
- package/esm/modules/ai-report-v2/components/RankingRange/styled.d.ts +7 -0
- package/esm/modules/ai-report-v2/components/RankingRange/styled.js +11 -0
- package/esm/modules/ai-report-v2/components/ReportHeader/ReportHeader.d.ts +13 -0
- package/esm/modules/ai-report-v2/components/ReportHeader/ReportHeader.js +82 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/Bar.d.ts +6 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/Bar.js +68 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/Failed.d.ts +4 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/Failed.js +33 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/RecommendIcon.d.ts +3 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/RecommendIcon.js +17 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/Report.d.ts +3 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/Report.js +22 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/Score.d.ts +4 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/Score.js +83 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/ScoreLegend.d.ts +4 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/ScoreLegend.js +33 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/Tips.d.ts +3 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/Tips.js +18 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/index.d.ts +4 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/index.js +39 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/interface.d.ts +20 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/interface.js +1 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/styled.d.ts +22 -0
- package/esm/modules/ai-report-v2/components/ScoreReport/styled.js +21 -0
- package/esm/modules/ai-report-v2/components/Suggestion/Suggestion.d.ts +4 -0
- package/esm/modules/ai-report-v2/components/Suggestion/Suggestion.js +31 -0
- package/esm/modules/ai-report-v2/components/Suggestion/index.d.ts +3 -0
- package/esm/modules/ai-report-v2/components/Suggestion/index.js +27 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/Abilities.d.ts +4 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/Abilities.js +42 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/BodyImages.d.ts +7 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/BodyImages.js +56 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/QuestionItem.d.ts +4 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/QuestionItem.js +117 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/ScoreSlider.d.ts +4 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/ScoreSlider.js +47 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/SingleChoice.d.ts +8 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/SingleChoice.js +31 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/Workplaces.d.ts +6 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/Workplaces.js +26 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/index.d.ts +3 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/index.js +22 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/interface.d.ts +16 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/interface.js +1 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/styled.d.ts +72 -0
- package/esm/modules/ai-report-v2/components/VideoQuestion/styled.js +97 -0
- package/esm/modules/ai-report-v2/components/WorkPlaces/ScoreSlider.d.ts +4 -0
- package/esm/modules/ai-report-v2/components/WorkPlaces/ScoreSlider.js +24 -0
- package/esm/modules/ai-report-v2/components/WorkPlaces/WorkPlace.d.ts +12 -0
- package/esm/modules/ai-report-v2/components/WorkPlaces/WorkPlace.js +72 -0
- package/esm/modules/ai-report-v2/components/WorkPlaces/index.d.ts +3 -0
- package/esm/modules/ai-report-v2/components/WorkPlaces/index.js +70 -0
- package/esm/modules/ai-report-v2/components/WorkPlaces/interface.d.ts +7 -0
- package/esm/modules/ai-report-v2/components/WorkPlaces/interface.js +1 -0
- package/esm/modules/ai-report-v2/components/WorkPlaces/styled.d.ts +62 -0
- package/esm/modules/ai-report-v2/components/WorkPlaces/styled.js +27 -0
- package/esm/modules/ai-report-v2/components/styled.d.ts +39 -0
- package/esm/modules/ai-report-v2/components/styled.js +123 -0
- package/esm/modules/ai-report-v2/index.d.ts +4 -0
- package/esm/modules/ai-report-v2/index.js +20 -0
- package/esm/modules/ai-report-v2/interface.d.ts +219 -0
- package/esm/modules/ai-report-v2/interface.js +1 -0
- package/esm/modules/ai-report-v2/useAiReport.d.ts +31 -0
- package/esm/modules/ai-report-v2/useAiReport.js +16 -0
- package/esm/modules/ai-report-v2/utils.d.ts +1 -0
- package/esm/modules/ai-report-v2/utils.js +1 -0
- package/esm/modules/ai-template/components/TemplateList/styled.d.ts +12 -12
- package/esm/modules/ai-template/components/TemplateMenu/styled.d.ts +4 -4
- package/esm/services/ai-question.d.ts +3 -0
- package/esm/services/ai-question.js +3 -0
- package/esm/services/ai-report.d.ts +6 -0
- package/esm/services/ai-report.js +1 -0
- package/esm/store/ai-question/boot-video-store.d.ts +6 -0
- package/esm/store/ai-question/boot-video-store.js +3 -1
- package/esm/store/ai-question/global-store.d.ts +12 -0
- package/esm/store/ai-question/global-store.js +1 -0
- package/esm/store/enterprise/enterprise-store.js +2 -2
- package/esm/utils/interceptor.js +5 -2
- package/lib/components/AiHeaderTitle/index.js +8 -1
- package/lib/components/BigBallSvg/styled.d.ts +2 -2
- package/lib/components/Charts/ReportPie.js +7 -4
- package/lib/components/ScoreBigBall/index.d.ts +1 -1
- package/lib/components/ScoreBigBall/index.js +1 -1
- package/lib/components/ScoreBigBall/styled.d.ts +1 -1
- package/lib/components/ScrollDialogContent/index.d.ts +1 -1
- package/lib/components/VideoPreview/styled.d.ts +3 -3
- package/lib/components/react-photo-view/hooks/useAnimationPosition.d.ts +1 -1
- package/lib/constants/ai-question.d.ts +13 -2
- package/lib/constants/ai-question.js +24 -3
- package/lib/constants/ai-report.d.ts +5 -0
- package/lib/constants/ai-report.js +6 -1
- package/lib/enum/ai-report.d.ts +12 -0
- package/lib/enum/ai-report.js +13 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +5 -1
- package/lib/modules/ai-ability/components/AbilityFormItem/AbilityFormItem.d.ts +14 -0
- package/lib/modules/ai-ability/components/AbilityFormItem/AbilityFormItem.js +147 -0
- package/lib/modules/ai-ability/components/AbilityFormItem/index.d.ts +2 -0
- package/lib/modules/ai-ability/components/AbilityFormItem/index.js +14 -4
- package/lib/modules/ai-ability/components/AddAbility/index.js +110 -102
- package/lib/modules/ai-ability/components/UpdateAbility/index.js +101 -103
- package/lib/modules/ai-ability/styled.d.ts +2 -2
- package/lib/modules/ai-ability-select/components/AiAbilityItem/styled.d.ts +1 -1
- package/lib/modules/ai-question/Root.js +12 -9
- package/lib/modules/ai-question/components/AiAssessmentCriteria/styled.d.ts +1 -1
- package/lib/modules/ai-question/components/BaseAccordion/index.js +9 -7
- package/lib/modules/ai-question/components/BaseAccordion/interface.d.ts +1 -0
- package/lib/modules/ai-question/components/BaseAccordion/styled.d.ts +3 -3
- package/lib/modules/ai-question/components/BootVideo/CustomVideos.js +62 -24
- package/lib/modules/ai-question/components/BootVideo/index.js +82 -26
- package/lib/modules/ai-question/components/BootVideo/interface.d.ts +1 -0
- package/lib/modules/ai-question/components/BootVideo/styled.d.ts +6 -4
- package/lib/modules/ai-question/components/BootVideo/styled.js +20 -17
- package/lib/modules/ai-question/components/QuestionImport/index.d.ts +4 -0
- package/lib/modules/ai-question/components/QuestionImport/index.js +122 -0
- package/lib/modules/ai-question/components/QuestionImport/interface.d.ts +8 -0
- package/lib/modules/ai-question/components/QuestionImport/interface.js +2 -0
- package/lib/modules/ai-question/components/QuestionImport/styled.d.ts +13 -0
- package/lib/modules/ai-question/components/QuestionImport/styled.js +52 -0
- package/lib/modules/ai-question/components/QuestionModel/Header.js +25 -1
- package/lib/modules/ai-question/components/QuestionModel/Item.js +4 -4
- package/lib/modules/ai-question/components/QuestionModel/index.js +1 -1
- package/lib/modules/ai-question/components/QuestionModel/interface.d.ts +1 -0
- package/lib/modules/ai-question/components/QuestionModel/styled.d.ts +1 -1
- package/lib/modules/ai-question/components/QuestionPreview/styled.d.ts +3 -3
- package/lib/modules/ai-question/components/QuestionTemplate/AiEvaluation.d.ts +3 -1
- package/lib/modules/ai-question/components/QuestionTemplate/AiEvaluation.js +5 -4
- package/lib/modules/ai-question/components/QuestionTemplate/index.js +3 -2
- package/lib/modules/ai-question/components/QuestionTemplate/interface.d.ts +1 -0
- package/lib/modules/ai-question/components/QuestionUpdate/FllowupSetting.d.ts +4 -0
- package/lib/modules/ai-question/components/QuestionUpdate/FllowupSetting.js +91 -0
- package/lib/modules/ai-question/components/QuestionUpdate/FollowupKeyPoints.d.ts +9 -0
- package/lib/modules/ai-question/components/QuestionUpdate/FollowupKeyPoints.js +96 -0
- package/lib/modules/ai-question/components/QuestionUpdate/FollowupTarget.d.ts +9 -0
- package/lib/modules/ai-question/components/QuestionUpdate/FollowupTarget.js +75 -0
- package/lib/modules/ai-question/components/QuestionUpdate/Form.js +8 -7
- package/lib/modules/ai-question/components/QuestionUpdate/RandomQuestion.js +4 -3
- package/lib/modules/ai-question/components/QuestionUpdate/VideoVoice.js +27 -17
- package/lib/modules/ai-question/components/QuestionUpdate/VideoVoiceUploader.d.ts +2 -1
- package/lib/modules/ai-question/components/QuestionUpdate/VideoVoiceUploader.js +13 -8
- package/lib/modules/ai-question/components/QuestionUpdate/index.js +2 -2
- package/lib/modules/ai-question/components/QuestionUpdate/interface.d.ts +7 -0
- package/lib/modules/ai-question/components/QuestionUpdate/styled.d.ts +10 -10
- package/lib/modules/ai-question/interface.d.ts +7 -0
- package/lib/modules/ai-question/useAiQuestion.d.ts +4 -0
- package/lib/modules/ai-report/Root.js +51 -7
- package/lib/modules/ai-report/components/AIEvaluate/index.js +2 -2
- package/lib/modules/ai-report/components/RankingRange/styled.d.ts +2 -2
- package/lib/modules/ai-report/components/ScoreReport/Bar.d.ts +4 -1
- package/lib/modules/ai-report/components/ScoreReport/Bar.js +11 -9
- package/lib/modules/ai-report/components/ScoreReport/Failed.d.ts +1 -1
- package/lib/modules/ai-report/components/ScoreReport/Failed.js +12 -5
- package/lib/modules/ai-report/components/ScoreReport/RecommendIcon.d.ts +3 -0
- package/lib/modules/ai-report/components/ScoreReport/RecommendIcon.js +22 -0
- package/lib/modules/ai-report/components/ScoreReport/Score.js +31 -7
- package/lib/modules/ai-report/components/ScoreReport/Tips.d.ts +3 -0
- package/lib/modules/ai-report/components/ScoreReport/Tips.js +20 -0
- package/lib/modules/ai-report/components/ScoreReport/index.js +6 -8
- package/lib/modules/ai-report/components/ScoreReport/interface.d.ts +5 -0
- package/lib/modules/ai-report/components/ScoreReport/styled.d.ts +7 -7
- package/lib/modules/ai-report/components/ScoreReport/styled.js +2 -4
- package/lib/modules/ai-report/components/Suggestion/index.js +1 -1
- package/lib/modules/ai-report/components/VideoQuestion/QuestionItem.js +9 -7
- package/lib/modules/ai-report/components/VideoQuestion/Workplaces.d.ts +6 -0
- package/lib/modules/ai-report/components/VideoQuestion/Workplaces.js +28 -0
- package/lib/modules/ai-report/components/VideoQuestion/index.js +1 -1
- package/lib/modules/ai-report/components/VideoQuestion/styled.d.ts +8 -8
- package/lib/modules/ai-report/components/WorkPlaces/WorkPlace.d.ts +1 -0
- package/lib/modules/ai-report/components/WorkPlaces/WorkPlace.js +2 -1
- package/lib/modules/ai-report/components/WorkPlaces/index.js +3 -2
- package/lib/modules/ai-report/components/WorkPlaces/styled.d.ts +4 -4
- package/lib/modules/ai-report/interface.d.ts +9 -0
- package/lib/modules/ai-report-v2/Root.d.ts +4 -0
- package/lib/modules/ai-report-v2/Root.js +87 -0
- package/lib/modules/ai-report-v2/components/AIEvaluate/Evaluate.d.ts +13 -0
- package/lib/modules/ai-report-v2/components/AIEvaluate/Evaluate.js +84 -0
- package/lib/modules/ai-report-v2/components/AIEvaluate/Graph.d.ts +10 -0
- package/lib/modules/ai-report-v2/components/AIEvaluate/Graph.js +248 -0
- package/lib/modules/ai-report-v2/components/AIEvaluate/index.d.ts +3 -0
- package/lib/modules/ai-report-v2/components/AIEvaluate/index.js +34 -0
- package/lib/modules/ai-report-v2/components/Candidate/Candidate.d.ts +7 -0
- package/lib/modules/ai-report-v2/components/Candidate/Candidate.js +46 -0
- package/lib/modules/ai-report-v2/components/Candidate/Interface.d.ts +13 -0
- package/lib/modules/ai-report-v2/components/Candidate/Interface.js +2 -0
- package/lib/modules/ai-report-v2/components/Candidate/Podium.d.ts +6 -0
- package/lib/modules/ai-report-v2/components/Candidate/Podium.js +52 -0
- package/lib/modules/ai-report-v2/components/Candidate/index.d.ts +2 -0
- package/lib/modules/ai-report-v2/components/Candidate/index.js +10 -0
- package/lib/modules/ai-report-v2/components/Form/Form.d.ts +23 -0
- package/lib/modules/ai-report-v2/components/Form/Form.js +89 -0
- package/lib/modules/ai-report-v2/components/Form/Forms.d.ts +9 -0
- package/lib/modules/ai-report-v2/components/Form/Forms.js +50 -0
- package/lib/modules/ai-report-v2/components/Form/Nps.d.ts +6 -0
- package/lib/modules/ai-report-v2/components/Form/Nps.js +57 -0
- package/lib/modules/ai-report-v2/components/Form/index.d.ts +1 -0
- package/lib/modules/ai-report-v2/components/Form/index.js +8 -0
- package/lib/modules/ai-report-v2/components/Form/interface.d.ts +57 -0
- package/lib/modules/ai-report-v2/components/Form/interface.js +2 -0
- package/lib/modules/ai-report-v2/components/MenuAnchor/index.d.ts +4 -0
- package/lib/modules/ai-report-v2/components/MenuAnchor/index.js +133 -0
- package/lib/modules/ai-report-v2/components/NotFinish/index.d.ts +3 -0
- package/lib/modules/ai-report-v2/components/NotFinish/index.js +27 -0
- package/lib/modules/ai-report-v2/components/RankingRange/Item.d.ts +4 -0
- package/lib/modules/ai-report-v2/components/RankingRange/Item.js +48 -0
- package/lib/modules/ai-report-v2/components/RankingRange/index.d.ts +4 -0
- package/lib/modules/ai-report-v2/components/RankingRange/index.js +192 -0
- package/lib/modules/ai-report-v2/components/RankingRange/interface.d.ts +26 -0
- package/lib/modules/ai-report-v2/components/RankingRange/interface.js +2 -0
- package/lib/modules/ai-report-v2/components/RankingRange/styled.d.ts +7 -0
- package/lib/modules/ai-report-v2/components/RankingRange/styled.js +14 -0
- package/lib/modules/ai-report-v2/components/ReportHeader/ReportHeader.d.ts +13 -0
- package/lib/modules/ai-report-v2/components/ReportHeader/ReportHeader.js +87 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/Bar.d.ts +6 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/Bar.js +70 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/Failed.d.ts +4 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/Failed.js +34 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/RecommendIcon.d.ts +3 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/RecommendIcon.js +22 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/Report.d.ts +3 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/Report.js +27 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/Score.d.ts +4 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/Score.js +86 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/ScoreLegend.d.ts +4 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/ScoreLegend.js +35 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/Tips.d.ts +3 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/Tips.js +20 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/index.d.ts +4 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/index.js +44 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/interface.d.ts +20 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/interface.js +2 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/styled.d.ts +22 -0
- package/lib/modules/ai-report-v2/components/ScoreReport/styled.js +24 -0
- package/lib/modules/ai-report-v2/components/Suggestion/Suggestion.d.ts +4 -0
- package/lib/modules/ai-report-v2/components/Suggestion/Suggestion.js +33 -0
- package/lib/modules/ai-report-v2/components/Suggestion/index.d.ts +3 -0
- package/lib/modules/ai-report-v2/components/Suggestion/index.js +32 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/Abilities.d.ts +4 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/Abilities.js +47 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/BodyImages.d.ts +7 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/BodyImages.js +61 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/QuestionItem.d.ts +4 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/QuestionItem.js +122 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/ScoreSlider.d.ts +4 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/ScoreSlider.js +49 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/SingleChoice.d.ts +8 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/SingleChoice.js +33 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/Workplaces.d.ts +6 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/Workplaces.js +28 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/index.d.ts +3 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/index.js +27 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/interface.d.ts +16 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/interface.js +2 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/styled.d.ts +72 -0
- package/lib/modules/ai-report-v2/components/VideoQuestion/styled.js +100 -0
- package/lib/modules/ai-report-v2/components/WorkPlaces/ScoreSlider.d.ts +4 -0
- package/lib/modules/ai-report-v2/components/WorkPlaces/ScoreSlider.js +26 -0
- package/lib/modules/ai-report-v2/components/WorkPlaces/WorkPlace.d.ts +12 -0
- package/lib/modules/ai-report-v2/components/WorkPlaces/WorkPlace.js +74 -0
- package/lib/modules/ai-report-v2/components/WorkPlaces/index.d.ts +3 -0
- package/lib/modules/ai-report-v2/components/WorkPlaces/index.js +75 -0
- package/lib/modules/ai-report-v2/components/WorkPlaces/interface.d.ts +7 -0
- package/lib/modules/ai-report-v2/components/WorkPlaces/interface.js +2 -0
- package/lib/modules/ai-report-v2/components/WorkPlaces/styled.d.ts +62 -0
- package/lib/modules/ai-report-v2/components/WorkPlaces/styled.js +30 -0
- package/lib/modules/ai-report-v2/components/styled.d.ts +39 -0
- package/lib/modules/ai-report-v2/components/styled.js +126 -0
- package/lib/modules/ai-report-v2/index.d.ts +4 -0
- package/lib/modules/ai-report-v2/index.js +25 -0
- package/lib/modules/ai-report-v2/interface.d.ts +219 -0
- package/lib/modules/ai-report-v2/interface.js +2 -0
- package/lib/modules/ai-report-v2/useAiReport.d.ts +31 -0
- package/lib/modules/ai-report-v2/useAiReport.js +20 -0
- package/lib/modules/ai-report-v2/utils.d.ts +1 -0
- package/lib/modules/ai-report-v2/utils.js +5 -0
- package/lib/modules/ai-template/components/TemplateList/styled.d.ts +12 -12
- package/lib/modules/ai-template/components/TemplateMenu/styled.d.ts +4 -4
- package/lib/services/ai-question.d.ts +3 -0
- package/lib/services/ai-question.js +7 -1
- package/lib/services/ai-report.d.ts +6 -0
- package/lib/services/ai-report.js +3 -1
- package/lib/store/ai-question/boot-video-store.d.ts +6 -0
- package/lib/store/ai-question/boot-video-store.js +2 -0
- package/lib/store/ai-question/global-store.d.ts +12 -0
- package/lib/store/ai-question/global-store.js +1 -0
- package/lib/store/enterprise/enterprise-store.js +2 -2
- package/lib/utils/interceptor.js +5 -2
- package/package.json +6 -3
|
@@ -14,6 +14,13 @@ import SvgIcon from "../SvgIcon";
|
|
|
14
14
|
import { Box, Typography } from 'fbm-ui';
|
|
15
15
|
var AiHeaderTitle = function (_a) {
|
|
16
16
|
var name = _a.name;
|
|
17
|
-
return (_jsxs(Box, __assign({ display: "inline-flex"
|
|
17
|
+
return (_jsxs(Box, __assign({ display: "inline-flex", sx: {
|
|
18
|
+
pl: 3,
|
|
19
|
+
color: '#009D56',
|
|
20
|
+
pt: 0.5,
|
|
21
|
+
background: 'url(//webcdn.fbmms.cn/assets/yt-b/yf2BqqIlr8Xtb8N2o44t1) no-repeat center center',
|
|
22
|
+
backgroundSize: 'contain',
|
|
23
|
+
width: 24 + (56 / 4) * name.length + 84,
|
|
24
|
+
} }, { children: [_jsx(SvgIcon, { name: "AI" }), _jsx(Typography, __assign({ variant: "h6" }, { children: name }))] })));
|
|
18
25
|
};
|
|
19
26
|
export default AiHeaderTitle;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const SvgRoot: import("@emotion/styled").StyledComponent<import("@mui/system
|
|
3
|
-
export declare const SvgGRoot: import("@emotion/styled").StyledComponent<import("@mui/system
|
|
2
|
+
export declare const SvgRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").SVGProps<SVGSVGElement>, {}>;
|
|
3
|
+
export declare const SvgGRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").SVGProps<SVGGElement>, {}>;
|
|
@@ -89,9 +89,8 @@ var ReportPie = function (props) {
|
|
|
89
89
|
color: 'rgba(0, 0, 0, 0.86)',
|
|
90
90
|
fontWeight: 500,
|
|
91
91
|
formatter: function (_a) {
|
|
92
|
-
var
|
|
93
|
-
|
|
94
|
-
return "".concat(name, ": {").concat(level, "|").concat(((_b = levelMapping[level]) === null || _b === void 0 ? void 0 : _b.text) || "".concat(value, "\u5206"), "}");
|
|
92
|
+
var name = _a.name;
|
|
93
|
+
return "".concat(name);
|
|
95
94
|
},
|
|
96
95
|
rich: __assign({}, levelMapping),
|
|
97
96
|
},
|
|
@@ -123,7 +122,11 @@ var ReportPie = function (props) {
|
|
|
123
122
|
position: 'inner',
|
|
124
123
|
color: '#fff',
|
|
125
124
|
fontWeight: 500,
|
|
126
|
-
formatter:
|
|
125
|
+
formatter: function (_a) {
|
|
126
|
+
var _b;
|
|
127
|
+
var value = _a.value, dataIndex = _a.dataIndex;
|
|
128
|
+
return ((_b = data[dataIndex]) === null || _b === void 0 ? void 0 : _b.weight) || 0;
|
|
129
|
+
},
|
|
127
130
|
fontSize: 14,
|
|
128
131
|
},
|
|
129
132
|
itemStyle: {
|
|
@@ -10,9 +10,9 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
13
|
+
import { ScoreBigBallRoot } from './styled';
|
|
13
14
|
import BigBallSvg from "../BigBallSvg";
|
|
14
15
|
import { formatScore } from "../../utils/utils";
|
|
15
|
-
import { ScoreBigBallRoot } from './styled';
|
|
16
16
|
var ScoreBigBall = function (_a) {
|
|
17
17
|
var score = _a.score, status = _a.status, _b = _a.width, width = _b === void 0 ? 80 : _b, _c = _a.height, height = _c === void 0 ? 80 : _c, _d = _a.fontSize, fontSize = _d === void 0 ? 20 : _d;
|
|
18
18
|
return (_jsxs(_Fragment, { children: [_jsxs(ScoreBigBallRoot, __assign({ width: width, height: height, sx: { backgroundColor: status === 1 ? '#fbfbfb' : 'rgba(59, 203, 120, 0.1)' } }, { children: [status !== 1 && _jsx(BigBallSvg, {}), status === 1 && (_jsx("div", __assign({ style: { color: 'rgba(0,0,0,0.26)', fontSize: '12px' } }, { children: _jsx("span", { children: "\u5019\u9009\u4EBA\u672A\u4F5C\u7B54" }) }))), status === 2 && (_jsx("div", __assign({ style: { color: '#40be47' } }, { children: _jsx("span", { children: "\u8BA1\u7B97\u4E2D..." }) }))), status === 3 && (_jsxs("div", __assign({ style: { color: '#40be47' } }, { children: [_jsx("span", __assign({ style: { fontFamily: 'DIN Alternate Bold', fontSize: fontSize, fontWeight: 'bold' } }, { children: formatScore(score) > 100 ? 100 : formatScore(score) })), _jsx("span", __assign({ style: { marginLeft: '2px', fontSize: '12px' } }, { children: "\u5206" }))] })))] })), status === 2 && (_jsx("div", { style: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const ScoreBigBallRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
|
-
} & import("@mui/system
|
|
4
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const ScrollDialogContent: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
|
-
} & import("@mui/system
|
|
4
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
5
|
export default ScrollDialogContent;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const VideoPreviewRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
|
-
} & import("@mui/system
|
|
4
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
5
|
export declare const PageTurningRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
6
6
|
children?: import("react").ReactNode;
|
|
7
|
-
} & import("@mui/system
|
|
7
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
8
8
|
export declare const FaceAnalysisRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
9
9
|
children?: import("react").ReactNode;
|
|
10
|
-
} & import("@mui/system
|
|
10
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MutableRefObject } from 'react';
|
|
2
|
-
export default function useAnimationPosition(visible: boolean | undefined, originRef: MutableRefObject<HTMLElement | null> | undefined, loaded: boolean, x: number, y: number, width: number, height: number, scale: number, speed: number, updateEasing: (pause: boolean) => void): readonly [number, number, number, number, number, 0 | 1, import("../types").EasingMode, "
|
|
2
|
+
export default function useAnimationPosition(visible: boolean | undefined, originRef: MutableRefObject<HTMLElement | null> | undefined, loaded: boolean, x: number, y: number, width: number, height: number, scale: number, speed: number, updateEasing: (pause: boolean) => void): readonly [number, number, number, number, number, 0 | 1, import("../types").EasingMode, "contain" | "fill" | "cover" | undefined];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InteractionMethod } from '../modules/ai-question/interface';
|
|
1
2
|
import { QuestionParams } from '@/modules/ai-question/components/QuestionUpdate/interface';
|
|
2
3
|
import { ADD_QUESTION_TYPE } from '@enum/ai-question';
|
|
3
4
|
export declare const ADD_QUESTION_TYPE_LIST: {
|
|
@@ -22,11 +23,19 @@ export declare const QUESTION_TYPE_MAPPING_LABEL: {
|
|
|
22
23
|
8: string;
|
|
23
24
|
9: string;
|
|
24
25
|
};
|
|
25
|
-
export declare const DEFAULT_GUIDE_VIDEO_URL = "https://
|
|
26
|
-
export declare const DEFAULT_GUIDE_VIDEO_THUMB_URL = "https://
|
|
26
|
+
export declare const DEFAULT_GUIDE_VIDEO_URL = "https://alicdn.fbmms.cn/CPAL19KVV5RR06ISK1L0.mp4";
|
|
27
|
+
export declare const DEFAULT_GUIDE_VIDEO_THUMB_URL = "https://alicdn.fbmms.cn/CPAL19KVV5RR06ISK1L0.mp4?x-oss-process=video/snapshot,t_0,f_jpg";
|
|
27
28
|
export declare const DEFAULT_GUIDE_VIDEO: {
|
|
28
29
|
videoUrl: string;
|
|
29
30
|
frameUrl: string;
|
|
31
|
+
loading: boolean;
|
|
32
|
+
}[];
|
|
33
|
+
export declare const DEFAULT_PC_GUIDE_VIDEO_URL = "https://alicdn.fbmms.cn/CPAL19KVV5RR06ISK1L0.mp4";
|
|
34
|
+
export declare const DEFAULT_PC_GUIDE_VIDEO_THUMB_URL = "https://alicdn.fbmms.cn/CPAL19KVV5RR06ISK1L0.mp4?x-oss-process=video/snapshot,t_0,f_jpg";
|
|
35
|
+
export declare const DEFAULT_PC_GUIDE_VIDEO: {
|
|
36
|
+
videoUrl: string;
|
|
37
|
+
frameUrl: string;
|
|
38
|
+
loading: boolean;
|
|
30
39
|
}[];
|
|
31
40
|
export declare const DEFAULT_VITUAL_HUMAN_LIST: never[];
|
|
32
41
|
export declare const InteractiveModes: {
|
|
@@ -45,3 +54,5 @@ export declare const TEST_TYPE_READONLY: number[];
|
|
|
45
54
|
export declare const DISABLED_REPEAT_TYPE: number[];
|
|
46
55
|
export declare const DISABLED_COST_TYPE: number[];
|
|
47
56
|
export declare const IS_AI_ANALYSIS: (step: Pick<QuestionParams, 'aiType'>) => boolean;
|
|
57
|
+
export declare const IS_AI_FOLLOW_UP: (step: QuestionParams, interaction: InteractionMethod[]) => boolean;
|
|
58
|
+
export declare const MAX_RANDOM_QUESTION_NUM = 50;
|
|
@@ -51,12 +51,22 @@ export var QUESTION_TYPE_MAPPING_LABEL = (_a = {},
|
|
|
51
51
|
_a[MEMORY_GAME] = '短期记忆-游戏题',
|
|
52
52
|
_a[EMOTION_GAME] = '情绪判断-游戏题',
|
|
53
53
|
_a);
|
|
54
|
-
export var DEFAULT_GUIDE_VIDEO_URL = 'https://
|
|
55
|
-
export var DEFAULT_GUIDE_VIDEO_THUMB_URL = 'https://
|
|
54
|
+
export var DEFAULT_GUIDE_VIDEO_URL = 'https://alicdn.fbmms.cn/CPAL19KVV5RR06ISK1L0.mp4';
|
|
55
|
+
export var DEFAULT_GUIDE_VIDEO_THUMB_URL = 'https://alicdn.fbmms.cn/CPAL19KVV5RR06ISK1L0.mp4?x-oss-process=video/snapshot,t_0,f_jpg';
|
|
56
56
|
export var DEFAULT_GUIDE_VIDEO = [
|
|
57
57
|
{
|
|
58
58
|
videoUrl: DEFAULT_GUIDE_VIDEO_URL,
|
|
59
59
|
frameUrl: DEFAULT_GUIDE_VIDEO_THUMB_URL,
|
|
60
|
+
loading: false,
|
|
61
|
+
},
|
|
62
|
+
];
|
|
63
|
+
export var DEFAULT_PC_GUIDE_VIDEO_URL = 'https://alicdn.fbmms.cn/CPAL19KVV5RR06ISK1L0.mp4';
|
|
64
|
+
export var DEFAULT_PC_GUIDE_VIDEO_THUMB_URL = 'https://alicdn.fbmms.cn/CPAL19KVV5RR06ISK1L0.mp4?x-oss-process=video/snapshot,t_0,f_jpg';
|
|
65
|
+
export var DEFAULT_PC_GUIDE_VIDEO = [
|
|
66
|
+
{
|
|
67
|
+
videoUrl: DEFAULT_PC_GUIDE_VIDEO_URL,
|
|
68
|
+
frameUrl: DEFAULT_PC_GUIDE_VIDEO_THUMB_URL,
|
|
69
|
+
loading: false,
|
|
60
70
|
},
|
|
61
71
|
];
|
|
62
72
|
export var DEFAULT_VITUAL_HUMAN_LIST = [
|
|
@@ -85,3 +95,13 @@ export var DISABLED_REPEAT_TYPE = [2, 4, 7, 8, 9, 11, 12, 16, 17];
|
|
|
85
95
|
export var DISABLED_COST_TYPE = [7, 9, 8, 4, 11, 2, 16];
|
|
86
96
|
// 是否开启AI分析
|
|
87
97
|
export var IS_AI_ANALYSIS = function (step) { return step.aiType === 2; };
|
|
98
|
+
// 是否可以追问
|
|
99
|
+
export var IS_AI_FOLLOW_UP = function (step, interaction) {
|
|
100
|
+
return step.aiShowType === 1 && (step.broadcastType === 2 || !IS_VIRTUAL_HUMAN(interaction));
|
|
101
|
+
};
|
|
102
|
+
var IS_VIRTUAL_HUMAN = function (interaction) {
|
|
103
|
+
if (interaction.length === 0)
|
|
104
|
+
return false;
|
|
105
|
+
return interaction.some(function (v) { var _a; return v.selected && (v.type === 2 || (v.type === 3 && ((_a = v.detail.interviewerShows) === null || _a === void 0 ? void 0 : _a.some(function (v) { return v.selected && v.humanType === 2; }))) || false); });
|
|
106
|
+
};
|
|
107
|
+
export var MAX_RANDOM_QUESTION_NUM = 50;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export declare const RosePieColors: string[][];
|
|
2
2
|
export declare const scoreRankIntervalColors: string[];
|
|
3
|
+
export declare const scoreRankIntervalProColors: string[];
|
|
4
|
+
export declare const scoreRankIntervalModeColors: {
|
|
5
|
+
pro: string[];
|
|
6
|
+
standard: string[];
|
|
7
|
+
};
|
|
3
8
|
export declare const REPORT_MODULE_MAP: {
|
|
4
9
|
score: {
|
|
5
10
|
id: string;
|
|
@@ -10,6 +10,11 @@ export var RosePieColors = [
|
|
|
10
10
|
['rgba(160, 115, 255, 0.2)', 'rgba(160, 115, 255, 0.4)', 'rgba(160, 115, 255, 0.6)', 'rgba(160, 115, 255, 1)'],
|
|
11
11
|
];
|
|
12
12
|
export var scoreRankIntervalColors = ['#C8E6C9', '#A5D6A7', '#81C784', '#66BB6A', '#4CAF50'];
|
|
13
|
+
export var scoreRankIntervalProColors = ['#F2E8D1', '#e1c492', '#cd9f55', '#AF6805', '#4CAF50'];
|
|
14
|
+
export var scoreRankIntervalModeColors = {
|
|
15
|
+
pro: scoreRankIntervalProColors,
|
|
16
|
+
standard: scoreRankIntervalColors,
|
|
17
|
+
};
|
|
13
18
|
export var REPORT_MODULE_MAP = {
|
|
14
19
|
score: {
|
|
15
20
|
id: 'report-score',
|
package/esm/enum/ai-report.d.ts
CHANGED
|
@@ -25,3 +25,15 @@ export declare enum COMPLETED_STATUS {
|
|
|
25
25
|
NOT_COMPLETED = 2,
|
|
26
26
|
COMPLETED = 3
|
|
27
27
|
}
|
|
28
|
+
export declare const BackgroundImage: {
|
|
29
|
+
pro: string;
|
|
30
|
+
standard: string;
|
|
31
|
+
};
|
|
32
|
+
export declare const Colors: {
|
|
33
|
+
pro: string;
|
|
34
|
+
standard: string;
|
|
35
|
+
};
|
|
36
|
+
export declare const SwitchTitle: {
|
|
37
|
+
standard: string;
|
|
38
|
+
pro: string;
|
|
39
|
+
};
|
package/esm/enum/ai-report.js
CHANGED
|
@@ -28,3 +28,15 @@ export var COMPLETED_STATUS;
|
|
|
28
28
|
COMPLETED_STATUS[COMPLETED_STATUS["NOT_COMPLETED"] = 2] = "NOT_COMPLETED";
|
|
29
29
|
COMPLETED_STATUS[COMPLETED_STATUS["COMPLETED"] = 3] = "COMPLETED";
|
|
30
30
|
})(COMPLETED_STATUS || (COMPLETED_STATUS = {}));
|
|
31
|
+
export var BackgroundImage = {
|
|
32
|
+
pro: 'https://webcdn.fbmms.cn/assets/DPXE/Oj-k12zdt9HuOrcEECDsm',
|
|
33
|
+
standard: 'https://webcdn.fbmms.cn/assets/S3uM/nAU25qJa6bVmZVHpcb11G',
|
|
34
|
+
};
|
|
35
|
+
export var Colors = {
|
|
36
|
+
pro: '#86350F',
|
|
37
|
+
standard: '#4caf50',
|
|
38
|
+
};
|
|
39
|
+
export var SwitchTitle = {
|
|
40
|
+
standard: '升级为专业版',
|
|
41
|
+
pro: '切换为标准版',
|
|
42
|
+
};
|
package/esm/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export { default as AiQuestion } from './modules/ai-question';
|
|
2
2
|
export { default as AiReport } from './modules/ai-report';
|
|
3
|
+
export { default as AiReportV2 } from './modules/ai-report-v2';
|
|
3
4
|
export { default as AiTemplate } from './modules/ai-template';
|
|
4
5
|
export { default as AiAbility } from './modules/ai-ability';
|
|
5
6
|
export { default as AiAbilitySelect } from './modules/ai-ability-select';
|
|
6
7
|
export { default as VideoPreview } from './components/VideoPreview';
|
|
7
8
|
export { useAiQuestion } from './modules/ai-question/useAiQuestion';
|
|
8
9
|
export { useAiReport } from './modules/ai-report/useAiReport';
|
|
10
|
+
export { useAiReportV2 } from './modules/ai-report-v2/useAiReport';
|
|
9
11
|
export { avocadoVideoInterview } from './utils/config';
|
package/esm/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export { default as AiQuestion } from './modules/ai-question';
|
|
2
2
|
export { default as AiReport } from './modules/ai-report';
|
|
3
|
+
export { default as AiReportV2 } from './modules/ai-report-v2';
|
|
3
4
|
export { default as AiTemplate } from './modules/ai-template';
|
|
4
5
|
export { default as AiAbility } from './modules/ai-ability';
|
|
5
6
|
export { default as AiAbilitySelect } from './modules/ai-ability-select';
|
|
6
7
|
export { default as VideoPreview } from './components/VideoPreview';
|
|
7
8
|
export { useAiQuestion } from './modules/ai-question/useAiQuestion';
|
|
8
9
|
export { useAiReport } from './modules/ai-report/useAiReport';
|
|
10
|
+
export { useAiReportV2 } from './modules/ai-report-v2/useAiReport';
|
|
9
11
|
export { avocadoVideoInterview } from './utils/config';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface AbilityFormItemProps {
|
|
3
|
+
token?: string;
|
|
4
|
+
title: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: number;
|
|
7
|
+
items?: string[];
|
|
8
|
+
mode: string;
|
|
9
|
+
canReplace?: boolean;
|
|
10
|
+
maxTextLength?: number;
|
|
11
|
+
onChange?: (v: any) => void;
|
|
12
|
+
}
|
|
13
|
+
declare const AbilityFormItem: React.FC<AbilityFormItemProps>;
|
|
14
|
+
export default AbilityFormItem;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
15
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
16
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
17
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
18
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
23
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
|
+
function step(op) {
|
|
26
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
+
while (_) try {
|
|
28
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
|
+
switch (op[0]) {
|
|
31
|
+
case 0: case 1: t = op; break;
|
|
32
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
33
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
34
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
35
|
+
default:
|
|
36
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
37
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
38
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
39
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
40
|
+
if (t[2]) _.ops.pop();
|
|
41
|
+
_.trys.pop(); continue;
|
|
42
|
+
}
|
|
43
|
+
op = body.call(thisArg, _);
|
|
44
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
45
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
49
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
50
|
+
if (!m) return o;
|
|
51
|
+
var i = m.call(o), r, ar = [], e;
|
|
52
|
+
try {
|
|
53
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
54
|
+
}
|
|
55
|
+
catch (error) { e = { error: error }; }
|
|
56
|
+
finally {
|
|
57
|
+
try {
|
|
58
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
59
|
+
}
|
|
60
|
+
finally { if (e) throw e.error; }
|
|
61
|
+
}
|
|
62
|
+
return ar;
|
|
63
|
+
};
|
|
64
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
65
|
+
import { GetAiDefine } from "../../../../services/ai-ability";
|
|
66
|
+
import { useRequest } from 'ahooks';
|
|
67
|
+
import { Button, RefreshIcon, TextField, Typography, useTextField } from 'fbm-ui';
|
|
68
|
+
import { Box, Stack } from 'fbm-ui/lib/mui';
|
|
69
|
+
import { useCallback, useEffect, useState } from 'react';
|
|
70
|
+
var AbilityFormItem = function (_a) {
|
|
71
|
+
var token = _a.token, title = _a.title, name = _a.name, type = _a.type, _b = _a.items, items = _b === void 0 ? [] : _b, _c = _a.mode, mode = _c === void 0 ? 'show' : _c, _d = _a.canReplace, canReplace = _d === void 0 ? false : _d, _e = _a.maxTextLength, maxTextLength = _e === void 0 ? 100 : _e, onChange = _a.onChange;
|
|
72
|
+
var _f = __read(useState(items.length ? items.join('\n') : ''), 2), content = _f[0], setContent = _f[1];
|
|
73
|
+
var _g = __read(useState(mode), 2), internalMode = _g[0], setMode = _g[1];
|
|
74
|
+
var _h = useRequest(GetAiDefine, {
|
|
75
|
+
manual: true,
|
|
76
|
+
onSuccess: function (_a) {
|
|
77
|
+
var data = _a.data;
|
|
78
|
+
var _b = data.list, list = _b === void 0 ? [] : _b;
|
|
79
|
+
var defineRes = list[0].items;
|
|
80
|
+
setContent(defineRes.length ? defineRes.join('\n') : '');
|
|
81
|
+
nameTextField.setError();
|
|
82
|
+
},
|
|
83
|
+
onError: function (err) {
|
|
84
|
+
console.log(err);
|
|
85
|
+
nameTextField.setError("".concat(title, "\u751F\u6210\u8D85\u65F6"));
|
|
86
|
+
},
|
|
87
|
+
}), PostAiDefine = _h.run, loading = _h.loading;
|
|
88
|
+
var handleChange = useCallback(function (e) {
|
|
89
|
+
var value = e.target.value;
|
|
90
|
+
setContent(value);
|
|
91
|
+
}, []);
|
|
92
|
+
var handleReplace = useCallback(function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
93
|
+
return __generator(this, function (_a) {
|
|
94
|
+
PostAiDefine({
|
|
95
|
+
queryType: type,
|
|
96
|
+
collectionName: name,
|
|
97
|
+
});
|
|
98
|
+
return [2 /*return*/];
|
|
99
|
+
});
|
|
100
|
+
}); }, [type, name, PostAiDefine]);
|
|
101
|
+
var nameTextField = useTextField({
|
|
102
|
+
value: content,
|
|
103
|
+
name: type,
|
|
104
|
+
required: true,
|
|
105
|
+
disabled: loading,
|
|
106
|
+
rules: [
|
|
107
|
+
{
|
|
108
|
+
required: true,
|
|
109
|
+
message: "".concat(title, "\u4E0D\u80FD\u4E3A\u7A7A"),
|
|
110
|
+
},
|
|
111
|
+
],
|
|
112
|
+
onChange: handleChange,
|
|
113
|
+
max: maxTextLength,
|
|
114
|
+
rows: 3,
|
|
115
|
+
multiline: true,
|
|
116
|
+
sx: {
|
|
117
|
+
marginBottom: '43px',
|
|
118
|
+
},
|
|
119
|
+
});
|
|
120
|
+
useEffect(function () {
|
|
121
|
+
setMode(mode);
|
|
122
|
+
}, [mode]);
|
|
123
|
+
useEffect(function () {
|
|
124
|
+
var resItems = [4, 5].includes(type) ? content.split('\n') : [content];
|
|
125
|
+
onChange === null || onChange === void 0 ? void 0 : onChange({
|
|
126
|
+
name: title,
|
|
127
|
+
type: type,
|
|
128
|
+
items: content ? resItems : [],
|
|
129
|
+
});
|
|
130
|
+
// nameTextField.handleValidate();
|
|
131
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
132
|
+
}, [content, title, type]);
|
|
133
|
+
useEffect(function () {
|
|
134
|
+
// don't excute when edit detail
|
|
135
|
+
if (token)
|
|
136
|
+
return;
|
|
137
|
+
PostAiDefine({
|
|
138
|
+
queryType: type,
|
|
139
|
+
collectionName: name,
|
|
140
|
+
});
|
|
141
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
142
|
+
}, [type, name, token]);
|
|
143
|
+
return (_jsxs(Stack, { children: [_jsxs(Stack, __assign({ style: { marginBottom: '18px' }, direction: "row", alignItems: "center", justifyContent: "space-between" }, { children: [_jsx(Typography, __assign({ variant: "body2", fontWeight: "medium" }, { children: title })), canReplace && (_jsx(Button, __assign({ loading: loading, onClick: handleReplace, variant: "outlined", color: "inherit", size: "small", icon: _jsx(RefreshIcon, {}) }, { children: loading ? '生成中' : '换一换' })))] })), internalMode === 'edit' && (_jsx(Box, __assign({ width: 1 }, { children: _jsx(TextField, __assign({}, nameTextField)) }))), internalMode === 'show' && (_jsx(Box, __assign({ style: { marginTop: '-8px', marginBottom: '32px' } }, { children: _jsx(Typography, __assign({ variant: "body2", sx: { whiteSpace: 'pre-wrap', color: 'RGBA(0, 0, 0, 0.56)' } }, { children: content })) })))] }));
|
|
144
|
+
};
|
|
145
|
+
export default AbilityFormItem;
|
|
@@ -8,7 +8,9 @@ interface AbilityFormItemProps {
|
|
|
8
8
|
mode: string;
|
|
9
9
|
canReplace?: boolean;
|
|
10
10
|
maxTextLength?: number;
|
|
11
|
+
index: number;
|
|
11
12
|
onChange?: (v: any) => void;
|
|
13
|
+
item: any;
|
|
12
14
|
}
|
|
13
15
|
declare const AbilityFormItem: React.FC<AbilityFormItemProps>;
|
|
14
16
|
export default AbilityFormItem;
|
|
@@ -61,15 +61,16 @@ var __read = (this && this.__read) || function (o, n) {
|
|
|
61
61
|
}
|
|
62
62
|
return ar;
|
|
63
63
|
};
|
|
64
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
64
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
65
65
|
import { GetAiDefine } from "../../../../services/ai-ability";
|
|
66
66
|
import { useRequest } from 'ahooks';
|
|
67
|
-
import { Button,
|
|
67
|
+
import { AddIcon, Button, CloseIcon, FormItem, IconButton, RefreshIcon, Typography, useTextField } from 'fbm-ui';
|
|
68
68
|
import { Box, Stack } from 'fbm-ui/lib/mui';
|
|
69
|
+
import { FieldArray } from 'formik';
|
|
69
70
|
import { useCallback, useEffect, useState } from 'react';
|
|
70
71
|
var AbilityFormItem = function (_a) {
|
|
71
|
-
var token = _a.token, title = _a.title, name = _a.name, type = _a.type, _b = _a.items, items = _b === void 0 ? [] : _b, _c = _a.mode, mode = _c === void 0 ? 'show' : _c, _d = _a.canReplace, canReplace = _d === void 0 ? false : _d, _e = _a.maxTextLength, maxTextLength = _e === void 0 ? 100 : _e, onChange = _a.onChange;
|
|
72
|
-
var _f = __read(useState(
|
|
72
|
+
var token = _a.token, title = _a.title, name = _a.name, type = _a.type, index = _a.index, _b = _a.items, items = _b === void 0 ? [] : _b, _c = _a.mode, mode = _c === void 0 ? 'show' : _c, _d = _a.canReplace, canReplace = _d === void 0 ? false : _d, _e = _a.maxTextLength, maxTextLength = _e === void 0 ? 100 : _e, item = _a.item, onChange = _a.onChange;
|
|
73
|
+
var _f = __read(useState(''), 2), content = _f[0], setContent = _f[1];
|
|
73
74
|
var _g = __read(useState(mode), 2), internalMode = _g[0], setMode = _g[1];
|
|
74
75
|
var _h = useRequest(GetAiDefine, {
|
|
75
76
|
manual: true,
|
|
@@ -125,7 +126,7 @@ var AbilityFormItem = function (_a) {
|
|
|
125
126
|
onChange === null || onChange === void 0 ? void 0 : onChange({
|
|
126
127
|
name: title,
|
|
127
128
|
type: type,
|
|
128
|
-
items: content ? resItems : [],
|
|
129
|
+
items: content ? resItems : [''],
|
|
129
130
|
});
|
|
130
131
|
// nameTextField.handleValidate();
|
|
131
132
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -140,6 +141,15 @@ var AbilityFormItem = function (_a) {
|
|
|
140
141
|
});
|
|
141
142
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
142
143
|
}, [type, name, token]);
|
|
143
|
-
|
|
144
|
+
// useEffect(() => {
|
|
145
|
+
// if (item?.items?.length) {
|
|
146
|
+
// setContent(item.items.join('\n'));
|
|
147
|
+
// }
|
|
148
|
+
// }, [item]);
|
|
149
|
+
return (_jsxs(Stack, { children: [_jsxs(Stack, __assign({ style: { marginBottom: '18px' }, direction: "row", alignItems: "center", justifyContent: "space-between" }, { children: [_jsx(Typography, __assign({ variant: "body2", fontWeight: "medium" }, { children: title })), canReplace && (_jsx(Button, __assign({ loading: loading, onClick: handleReplace, variant: "outlined", color: "inherit", size: "small", icon: _jsx(RefreshIcon, {}) }, { children: loading ? '生成中' : '换一换' })))] })), internalMode === 'edit' && (_jsx(Box, __assign({ width: 1 }, { children: _jsx(FieldArray, __assign({ name: "workPlaceItems[".concat(index, "].items") }, { children: function (_a) {
|
|
150
|
+
var _b, _c;
|
|
151
|
+
var pushItem = _a.push, removeItem = _a.remove;
|
|
152
|
+
return (_jsxs(Stack, __assign({ mb: 5 }, { children: [(_b = item === null || item === void 0 ? void 0 : item.items) === null || _b === void 0 ? void 0 : _b.map(function (_, itemIndex) { return (_jsx(Stack, __assign({ direction: "row", alignItems: "center", spacing: 1 }, { children: [4, 5].includes(item === null || item === void 0 ? void 0 : item.type) ? (_jsxs(_Fragment, { children: [_jsx(FormItem, { name: "workPlaceItems[".concat(index, "].items[").concat(itemIndex, "]"), sx: { width: 512 }, max: maxTextLength }), _jsx(IconButton, __assign({ onClick: function () { return removeItem(itemIndex); }, sx: { alignSelf: 'flex-start', mt: 0.5 } }, { children: _jsx(CloseIcon, {}) }))] })) : (_jsx(FormItem, { multiline: true, rows: 3, max: maxTextLength, name: "workPlaceItems[".concat(index, "].items[").concat(itemIndex, "]"), sx: { width: '100%' } })) }), itemIndex)); }), [4, 5].includes(item === null || item === void 0 ? void 0 : item.type) && (_jsx(Button, __assign({ sx: { alignSelf: 'flex-start', display: "".concat(item.type === 5 && ((_c = item === null || item === void 0 ? void 0 : item.items) === null || _c === void 0 ? void 0 : _c.length) >= 3 ? 'none' : 'flex') }, startIcon: _jsx(AddIcon, {}), type: "button", onClick: function () { return pushItem(''); }, variant: "outlined", color: "inherit" }, { children: { 5: '评分关键点', 4: '面试题目' }[item.type] })))] })));
|
|
153
|
+
} })) }))), internalMode === 'show' && (_jsx(Box, __assign({ style: { marginTop: '-8px', marginBottom: '32px' } }, { children: _jsx(Typography, __assign({ variant: "body2", sx: { whiteSpace: 'pre-wrap', color: 'RGBA(0, 0, 0, 0.56)' } }, { children: items })) })))] }));
|
|
144
154
|
};
|
|
145
155
|
export default AbilityFormItem;
|