eli-video-interview 1.2.28 → 1.2.29-beta.1
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/package.json +7 -1
- package/esm/assets/icons/AI.svg +0 -1
- package/esm/assets/icons/free.svg +0 -1
- package/esm/assets/icons/video.svg +0 -1
- package/esm/components/AiHeaderTitle/index.d.ts +0 -4
- package/esm/components/AiHeaderTitle/index.js +0 -19
- package/esm/components/AiHeaderTitle/interface.d.ts +0 -4
- package/esm/components/AiHeaderTitle/interface.js +0 -1
- package/esm/components/BigBallSvg/index.d.ts +0 -3
- package/esm/components/BigBallSvg/index.js +0 -17
- package/esm/components/BigBallSvg/styled.d.ts +0 -3
- package/esm/components/BigBallSvg/styled.js +0 -28
- package/esm/components/Charts/Chart.d.ts +0 -4
- package/esm/components/Charts/Chart.js +0 -32
- package/esm/components/Charts/ReportPie.d.ts +0 -4
- package/esm/components/Charts/ReportPie.js +0 -142
- package/esm/components/Charts/TemplatePie.d.ts +0 -4
- package/esm/components/Charts/TemplatePie.js +0 -81
- package/esm/components/Charts/const.d.ts +0 -17
- package/esm/components/Charts/const.js +0 -17
- package/esm/components/Charts/interface.d.ts +0 -18
- package/esm/components/Charts/interface.js +0 -1
- package/esm/components/RootProvider/index.d.ts +0 -3
- package/esm/components/RootProvider/index.js +0 -27
- package/esm/components/ScoreBigBall/index.d.ts +0 -4
- package/esm/components/ScoreBigBall/index.js +0 -26
- package/esm/components/ScoreBigBall/interface.d.ts +0 -7
- package/esm/components/ScoreBigBall/interface.js +0 -1
- package/esm/components/ScoreBigBall/styled.d.ts +0 -4
- package/esm/components/ScoreBigBall/styled.js +0 -12
- package/esm/components/ScrollDialogContent/index.d.ts +0 -5
- package/esm/components/ScrollDialogContent/index.js +0 -6
- package/esm/components/SvgIcon/index.d.ts +0 -4
- package/esm/components/SvgIcon/index.js +0 -32
- package/esm/components/SvgIcon/interface.d.ts +0 -4
- package/esm/components/SvgIcon/interface.js +0 -1
- package/esm/components/VideoPreview/index.d.ts +0 -4
- package/esm/components/VideoPreview/index.js +0 -19
- package/esm/components/VideoPreview/interface.d.ts +0 -15
- package/esm/components/VideoPreview/interface.js +0 -1
- package/esm/components/VideoPreview/styled.d.ts +0 -10
- package/esm/components/VideoPreview/styled.js +0 -24
- package/esm/constants/ai-question.d.ts +0 -27
- package/esm/constants/ai-question.js +0 -39
- package/esm/constants/ai-report.d.ts +0 -29
- package/esm/constants/ai-report.js +0 -39
- package/esm/enum/ai-question.d.ts +0 -38
- package/esm/enum/ai-question.js +0 -42
- package/esm/enum/ai-report.d.ts +0 -27
- package/esm/enum/ai-report.js +0 -30
- package/esm/index.d.ts +0 -8
- package/esm/index.js +0 -8
- package/esm/modules/ai-ability/Root.d.ts +0 -3
- package/esm/modules/ai-ability/Root.js +0 -135
- package/esm/modules/ai-ability/components/UpdateAbility/index.d.ts +0 -4
- package/esm/modules/ai-ability/components/UpdateAbility/index.js +0 -115
- package/esm/modules/ai-ability/components/UpdateAbility/interface.d.ts +0 -7
- package/esm/modules/ai-ability/components/UpdateAbility/interface.js +0 -1
- package/esm/modules/ai-ability/index.d.ts +0 -2
- package/esm/modules/ai-ability/index.js +0 -7
- package/esm/modules/ai-ability/interface.d.ts +0 -16
- package/esm/modules/ai-ability/interface.js +0 -1
- package/esm/modules/ai-ability/styled.d.ts +0 -4
- package/esm/modules/ai-ability/styled.js +0 -6
- package/esm/modules/ai-question/Root.d.ts +0 -4
- package/esm/modules/ai-question/Root.js +0 -144
- package/esm/modules/ai-question/components/AiAnalysis/AnalysisItem.d.ts +0 -4
- package/esm/modules/ai-question/components/AiAnalysis/AnalysisItem.js +0 -44
- package/esm/modules/ai-question/components/AiAnalysis/MainPoints.d.ts +0 -4
- package/esm/modules/ai-question/components/AiAnalysis/MainPoints.js +0 -54
- package/esm/modules/ai-question/components/AiAnalysis/MainPointsItem.d.ts +0 -4
- package/esm/modules/ai-question/components/AiAnalysis/MainPointsItem.js +0 -62
- package/esm/modules/ai-question/components/AiAnalysis/const.d.ts +0 -5
- package/esm/modules/ai-question/components/AiAnalysis/const.js +0 -11
- package/esm/modules/ai-question/components/AiAnalysis/index.d.ts +0 -3
- package/esm/modules/ai-question/components/AiAnalysis/index.js +0 -27
- package/esm/modules/ai-question/components/AiAnalysis/interface.d.ts +0 -23
- package/esm/modules/ai-question/components/AiAnalysis/interface.js +0 -1
- package/esm/modules/ai-question/components/AiAssessmentCriteria/const.d.ts +0 -25
- package/esm/modules/ai-question/components/AiAssessmentCriteria/const.js +0 -30
- package/esm/modules/ai-question/components/AiAssessmentCriteria/index.d.ts +0 -4
- package/esm/modules/ai-question/components/AiAssessmentCriteria/index.js +0 -112
- package/esm/modules/ai-question/components/AiAssessmentCriteria/interface.d.ts +0 -33
- package/esm/modules/ai-question/components/AiAssessmentCriteria/interface.js +0 -1
- package/esm/modules/ai-question/components/AiAssessmentCriteria/styled.d.ts +0 -4
- package/esm/modules/ai-question/components/AiAssessmentCriteria/styled.js +0 -5
- package/esm/modules/ai-question/components/AiAssessmentCriteria/utils.d.ts +0 -9
- package/esm/modules/ai-question/components/AiAssessmentCriteria/utils.js +0 -29
- package/esm/modules/ai-question/components/BaseAccordion/const.d.ts +0 -1
- package/esm/modules/ai-question/components/BaseAccordion/const.js +0 -1
- package/esm/modules/ai-question/components/BaseAccordion/index.d.ts +0 -4
- package/esm/modules/ai-question/components/BaseAccordion/index.js +0 -98
- package/esm/modules/ai-question/components/BaseAccordion/interface.d.ts +0 -9
- package/esm/modules/ai-question/components/BaseAccordion/interface.js +0 -1
- package/esm/modules/ai-question/components/BaseAccordion/styled.d.ts +0 -10
- package/esm/modules/ai-question/components/BaseAccordion/styled.js +0 -76
- package/esm/modules/ai-question/components/BootVideo/index.d.ts +0 -4
- package/esm/modules/ai-question/components/BootVideo/index.js +0 -113
- package/esm/modules/ai-question/components/BootVideo/interface.d.ts +0 -8
- package/esm/modules/ai-question/components/BootVideo/interface.js +0 -1
- package/esm/modules/ai-question/components/BootVideo/styled.d.ts +0 -13
- package/esm/modules/ai-question/components/BootVideo/styled.js +0 -48
- package/esm/modules/ai-question/components/QuestionModel/Header.d.ts +0 -3
- package/esm/modules/ai-question/components/QuestionModel/Header.js +0 -23
- package/esm/modules/ai-question/components/QuestionModel/Item.d.ts +0 -4
- package/esm/modules/ai-question/components/QuestionModel/Item.js +0 -72
- package/esm/modules/ai-question/components/QuestionModel/List.d.ts +0 -3
- package/esm/modules/ai-question/components/QuestionModel/List.js +0 -47
- package/esm/modules/ai-question/components/QuestionModel/Skeleton.d.ts +0 -3
- package/esm/modules/ai-question/components/QuestionModel/Skeleton.js +0 -17
- package/esm/modules/ai-question/components/QuestionModel/index.d.ts +0 -3
- package/esm/modules/ai-question/components/QuestionModel/index.js +0 -71
- package/esm/modules/ai-question/components/QuestionModel/interface.d.ts +0 -19
- package/esm/modules/ai-question/components/QuestionModel/interface.js +0 -1
- package/esm/modules/ai-question/components/QuestionModel/styled.d.ts +0 -4
- package/esm/modules/ai-question/components/QuestionModel/styled.js +0 -8
- package/esm/modules/ai-question/components/QuestionPreview/index.d.ts +0 -3
- package/esm/modules/ai-question/components/QuestionPreview/index.js +0 -31
- package/esm/modules/ai-question/components/QuestionPreview/styled.d.ts +0 -11
- package/esm/modules/ai-question/components/QuestionPreview/styled.js +0 -11
- package/esm/modules/ai-question/components/QuestionTemplate/AiEvaluation.d.ts +0 -3
- package/esm/modules/ai-question/components/QuestionTemplate/AiEvaluation.js +0 -50
- package/esm/modules/ai-question/components/QuestionTemplate/Skeleton.d.ts +0 -3
- package/esm/modules/ai-question/components/QuestionTemplate/Skeleton.js +0 -17
- package/esm/modules/ai-question/components/QuestionTemplate/index.d.ts +0 -3
- package/esm/modules/ai-question/components/QuestionTemplate/index.js +0 -30
- package/esm/modules/ai-question/components/QuestionTemplate/interface.d.ts +0 -43
- package/esm/modules/ai-question/components/QuestionTemplate/interface.js +0 -1
- package/esm/modules/ai-question/components/QuestionUpdate/Form.d.ts +0 -4
- package/esm/modules/ai-question/components/QuestionUpdate/Form.js +0 -110
- package/esm/modules/ai-question/components/QuestionUpdate/VideoVoice.d.ts +0 -3
- package/esm/modules/ai-question/components/QuestionUpdate/VideoVoice.js +0 -64
- package/esm/modules/ai-question/components/QuestionUpdate/const.d.ts +0 -14
- package/esm/modules/ai-question/components/QuestionUpdate/const.js +0 -54
- package/esm/modules/ai-question/components/QuestionUpdate/index.d.ts +0 -3
- package/esm/modules/ai-question/components/QuestionUpdate/index.js +0 -257
- package/esm/modules/ai-question/components/QuestionUpdate/interface.d.ts +0 -63
- package/esm/modules/ai-question/components/QuestionUpdate/interface.js +0 -1
- package/esm/modules/ai-question/index.d.ts +0 -4
- package/esm/modules/ai-question/index.js +0 -20
- package/esm/modules/ai-question/interface.d.ts +0 -78
- package/esm/modules/ai-question/interface.js +0 -1
- package/esm/modules/ai-question/useAiQuestion.d.ts +0 -17
- package/esm/modules/ai-question/useAiQuestion.js +0 -20
- package/esm/modules/ai-report/Root.d.ts +0 -4
- package/esm/modules/ai-report/Root.js +0 -77
- package/esm/modules/ai-report/components/AIEvaluate/Evaluate.d.ts +0 -13
- package/esm/modules/ai-report/components/AIEvaluate/Evaluate.js +0 -60
- package/esm/modules/ai-report/components/AIEvaluate/Graph.d.ts +0 -13
- package/esm/modules/ai-report/components/AIEvaluate/Graph.js +0 -225
- package/esm/modules/ai-report/components/AIEvaluate/index.d.ts +0 -2
- package/esm/modules/ai-report/components/AIEvaluate/index.js +0 -40
- package/esm/modules/ai-report/components/MenuAnchor/index.d.ts +0 -4
- package/esm/modules/ai-report/components/MenuAnchor/index.js +0 -115
- package/esm/modules/ai-report/components/NotFinish/index.d.ts +0 -3
- package/esm/modules/ai-report/components/NotFinish/index.js +0 -25
- package/esm/modules/ai-report/components/RankingRange/Item.d.ts +0 -4
- package/esm/modules/ai-report/components/RankingRange/Item.js +0 -30
- package/esm/modules/ai-report/components/RankingRange/index.d.ts +0 -4
- package/esm/modules/ai-report/components/RankingRange/index.js +0 -171
- package/esm/modules/ai-report/components/RankingRange/interface.d.ts +0 -26
- package/esm/modules/ai-report/components/RankingRange/interface.js +0 -1
- package/esm/modules/ai-report/components/RankingRange/styled.d.ts +0 -7
- package/esm/modules/ai-report/components/RankingRange/styled.js +0 -11
- package/esm/modules/ai-report/components/ScoreReport/Bar.d.ts +0 -3
- package/esm/modules/ai-report/components/ScoreReport/Bar.js +0 -50
- package/esm/modules/ai-report/components/ScoreReport/Failed.d.ts +0 -4
- package/esm/modules/ai-report/components/ScoreReport/Failed.js +0 -25
- package/esm/modules/ai-report/components/ScoreReport/Report.d.ts +0 -3
- package/esm/modules/ai-report/components/ScoreReport/Report.js +0 -35
- package/esm/modules/ai-report/components/ScoreReport/Score.d.ts +0 -4
- package/esm/modules/ai-report/components/ScoreReport/Score.js +0 -34
- package/esm/modules/ai-report/components/ScoreReport/ScoreLegend.d.ts +0 -4
- package/esm/modules/ai-report/components/ScoreReport/ScoreLegend.js +0 -33
- package/esm/modules/ai-report/components/ScoreReport/index.d.ts +0 -4
- package/esm/modules/ai-report/components/ScoreReport/index.js +0 -41
- package/esm/modules/ai-report/components/ScoreReport/interface.d.ts +0 -13
- package/esm/modules/ai-report/components/ScoreReport/interface.js +0 -1
- package/esm/modules/ai-report/components/ScoreReport/styled.d.ts +0 -22
- package/esm/modules/ai-report/components/ScoreReport/styled.js +0 -23
- package/esm/modules/ai-report/components/Suggestion/Suggestion.d.ts +0 -4
- package/esm/modules/ai-report/components/Suggestion/Suggestion.js +0 -29
- package/esm/modules/ai-report/components/Suggestion/index.d.ts +0 -2
- package/esm/modules/ai-report/components/Suggestion/index.js +0 -27
- package/esm/modules/ai-report/components/VideoQuestion/Abilities.d.ts +0 -4
- package/esm/modules/ai-report/components/VideoQuestion/Abilities.js +0 -40
- package/esm/modules/ai-report/components/VideoQuestion/QuestionItem.d.ts +0 -4
- package/esm/modules/ai-report/components/VideoQuestion/QuestionItem.js +0 -91
- package/esm/modules/ai-report/components/VideoQuestion/ScoreSlider.d.ts +0 -4
- package/esm/modules/ai-report/components/VideoQuestion/ScoreSlider.js +0 -30
- package/esm/modules/ai-report/components/VideoQuestion/index.d.ts +0 -3
- package/esm/modules/ai-report/components/VideoQuestion/index.js +0 -22
- package/esm/modules/ai-report/components/VideoQuestion/interface.d.ts +0 -14
- package/esm/modules/ai-report/components/VideoQuestion/interface.js +0 -1
- package/esm/modules/ai-report/components/VideoQuestion/styled.d.ts +0 -71
- package/esm/modules/ai-report/components/VideoQuestion/styled.js +0 -91
- package/esm/modules/ai-report/components/WorkPlaces/ScoreSlider.d.ts +0 -4
- package/esm/modules/ai-report/components/WorkPlaces/ScoreSlider.js +0 -24
- package/esm/modules/ai-report/components/WorkPlaces/WorkPlace.d.ts +0 -11
- package/esm/modules/ai-report/components/WorkPlaces/WorkPlace.js +0 -55
- package/esm/modules/ai-report/components/WorkPlaces/index.d.ts +0 -2
- package/esm/modules/ai-report/components/WorkPlaces/index.js +0 -67
- package/esm/modules/ai-report/components/WorkPlaces/interface.d.ts +0 -7
- package/esm/modules/ai-report/components/WorkPlaces/interface.js +0 -1
- package/esm/modules/ai-report/components/WorkPlaces/styled.d.ts +0 -62
- package/esm/modules/ai-report/components/WorkPlaces/styled.js +0 -27
- package/esm/modules/ai-report/index.d.ts +0 -4
- package/esm/modules/ai-report/index.js +0 -21
- package/esm/modules/ai-report/interface.d.ts +0 -187
- package/esm/modules/ai-report/interface.js +0 -1
- package/esm/modules/ai-report/useAiReport.d.ts +0 -28
- package/esm/modules/ai-report/useAiReport.js +0 -16
- package/esm/modules/ai-report/utils.d.ts +0 -1
- package/esm/modules/ai-report/utils.js +0 -1
- package/esm/modules/ai-template/Root.d.ts +0 -4
- package/esm/modules/ai-template/Root.js +0 -48
- package/esm/modules/ai-template/components/CapabilityModel/const.d.ts +0 -47
- package/esm/modules/ai-template/components/CapabilityModel/const.js +0 -56
- package/esm/modules/ai-template/components/CapabilityModel/index.d.ts +0 -3
- package/esm/modules/ai-template/components/CapabilityModel/index.js +0 -27
- package/esm/modules/ai-template/components/QuestionList/Item.d.ts +0 -4
- package/esm/modules/ai-template/components/QuestionList/Item.js +0 -24
- package/esm/modules/ai-template/components/QuestionList/index.d.ts +0 -3
- package/esm/modules/ai-template/components/QuestionList/index.js +0 -20
- package/esm/modules/ai-template/components/QuestionList/interface.d.ts +0 -5
- package/esm/modules/ai-template/components/QuestionList/interface.js +0 -1
- package/esm/modules/ai-template/components/TemplateHeader/index.d.ts +0 -4
- package/esm/modules/ai-template/components/TemplateHeader/index.js +0 -18
- package/esm/modules/ai-template/components/TemplateHeader/interface.d.ts +0 -6
- package/esm/modules/ai-template/components/TemplateHeader/interface.js +0 -1
- package/esm/modules/ai-template/components/TemplateList/index.d.ts +0 -3
- package/esm/modules/ai-template/components/TemplateList/index.js +0 -96
- package/esm/modules/ai-template/components/TemplateList/interface.d.ts +0 -24
- package/esm/modules/ai-template/components/TemplateList/interface.js +0 -1
- package/esm/modules/ai-template/components/TemplateList/styled.d.ts +0 -37
- package/esm/modules/ai-template/components/TemplateList/styled.js +0 -77
- package/esm/modules/ai-template/components/TemplateMenu/index.d.ts +0 -3
- package/esm/modules/ai-template/components/TemplateMenu/index.js +0 -57
- package/esm/modules/ai-template/components/TemplateMenu/interface.d.ts +0 -12
- package/esm/modules/ai-template/components/TemplateMenu/interface.js +0 -1
- package/esm/modules/ai-template/components/TemplateMenu/styled.d.ts +0 -29
- package/esm/modules/ai-template/components/TemplateMenu/styled.js +0 -16
- package/esm/modules/ai-template/index.d.ts +0 -4
- package/esm/modules/ai-template/index.js +0 -20
- package/esm/modules/ai-template/interface.d.ts +0 -24
- package/esm/modules/ai-template/interface.js +0 -1
- package/esm/services/ai-ability.d.ts +0 -14
- package/esm/services/ai-ability.js +0 -7
- package/esm/services/ai-question.d.ts +0 -12
- package/esm/services/ai-question.js +0 -15
- package/esm/services/ai-report.d.ts +0 -14
- package/esm/services/ai-report.js +0 -13
- package/esm/services/ai-template.d.ts +0 -4
- package/esm/services/ai-template.js +0 -9
- package/esm/store/ai-ability/question-ability-store.d.ts +0 -12
- package/esm/store/ai-ability/question-ability-store.js +0 -10
- package/esm/store/ai-question/ai-analysis-store.d.ts +0 -33
- package/esm/store/ai-question/ai-analysis-store.js +0 -158
- package/esm/store/ai-question/boot-video-store.d.ts +0 -17
- package/esm/store/ai-question/boot-video-store.js +0 -21
- package/esm/store/ai-question/global-store.d.ts +0 -35
- package/esm/store/ai-question/global-store.js +0 -22
- package/esm/store/ai-question/question-model-store.d.ts +0 -24
- package/esm/store/ai-question/question-model-store.js +0 -136
- package/esm/store/ai-question/question-preview-store.d.ts +0 -14
- package/esm/store/ai-question/question-preview-store.js +0 -21
- package/esm/store/ai-question/question-template-store.d.ts +0 -12
- package/esm/store/ai-question/question-template-store.js +0 -10
- package/esm/store/ai-question/question-update-store.d.ts +0 -11
- package/esm/store/ai-question/question-update-store.js +0 -33
- package/esm/store/ai-report/global-store.d.ts +0 -81
- package/esm/store/ai-report/global-store.js +0 -30
- package/esm/store/ai-template/global-store.d.ts +0 -35
- package/esm/store/ai-template/global-store.js +0 -26
- package/esm/utils/config.d.ts +0 -13
- package/esm/utils/config.js +0 -17
- package/esm/utils/interceptor.d.ts +0 -2
- package/esm/utils/interceptor.js +0 -127
- package/esm/utils/request.d.ts +0 -3
- package/esm/utils/request.js +0 -14
- package/esm/utils/utils.d.ts +0 -58
- package/esm/utils/utils.js +0 -115
- package/lib/assets/icons/AI.svg +0 -1
- package/lib/assets/icons/free.svg +0 -1
- package/lib/assets/icons/video.svg +0 -1
- package/lib/components/AiHeaderTitle/index.d.ts +0 -4
- package/lib/components/AiHeaderTitle/index.js +0 -24
- package/lib/components/AiHeaderTitle/interface.d.ts +0 -4
- package/lib/components/AiHeaderTitle/interface.js +0 -2
- package/lib/components/BigBallSvg/index.d.ts +0 -3
- package/lib/components/BigBallSvg/index.js +0 -19
- package/lib/components/BigBallSvg/styled.d.ts +0 -3
- package/lib/components/BigBallSvg/styled.js +0 -31
- package/lib/components/Charts/Chart.d.ts +0 -4
- package/lib/components/Charts/Chart.js +0 -57
- package/lib/components/Charts/ReportPie.d.ts +0 -4
- package/lib/components/Charts/ReportPie.js +0 -147
- package/lib/components/Charts/TemplatePie.d.ts +0 -4
- package/lib/components/Charts/TemplatePie.js +0 -86
- package/lib/components/Charts/const.d.ts +0 -17
- package/lib/components/Charts/const.js +0 -20
- package/lib/components/Charts/interface.d.ts +0 -18
- package/lib/components/Charts/interface.js +0 -2
- package/lib/components/RootProvider/index.d.ts +0 -3
- package/lib/components/RootProvider/index.js +0 -29
- package/lib/components/ScoreBigBall/index.d.ts +0 -4
- package/lib/components/ScoreBigBall/index.js +0 -31
- package/lib/components/ScoreBigBall/interface.d.ts +0 -7
- package/lib/components/ScoreBigBall/interface.js +0 -2
- package/lib/components/ScoreBigBall/styled.d.ts +0 -4
- package/lib/components/ScoreBigBall/styled.js +0 -15
- package/lib/components/ScrollDialogContent/index.d.ts +0 -5
- package/lib/components/ScrollDialogContent/index.js +0 -8
- package/lib/components/SvgIcon/index.d.ts +0 -4
- package/lib/components/SvgIcon/index.js +0 -57
- package/lib/components/SvgIcon/interface.d.ts +0 -4
- package/lib/components/SvgIcon/interface.js +0 -2
- package/lib/components/VideoPreview/index.d.ts +0 -4
- package/lib/components/VideoPreview/index.js +0 -21
- package/lib/components/VideoPreview/interface.d.ts +0 -15
- package/lib/components/VideoPreview/interface.js +0 -2
- package/lib/components/VideoPreview/styled.d.ts +0 -10
- package/lib/components/VideoPreview/styled.js +0 -27
- package/lib/constants/ai-question.d.ts +0 -27
- package/lib/constants/ai-question.js +0 -43
- package/lib/constants/ai-report.d.ts +0 -29
- package/lib/constants/ai-report.js +0 -42
- package/lib/enum/ai-question.d.ts +0 -38
- package/lib/enum/ai-question.js +0 -45
- package/lib/enum/ai-report.d.ts +0 -27
- package/lib/enum/ai-report.js +0 -33
- package/lib/index.d.ts +0 -8
- package/lib/index.js +0 -22
- package/lib/modules/ai-ability/Root.d.ts +0 -3
- package/lib/modules/ai-ability/Root.js +0 -140
- package/lib/modules/ai-ability/components/UpdateAbility/index.d.ts +0 -4
- package/lib/modules/ai-ability/components/UpdateAbility/index.js +0 -117
- package/lib/modules/ai-ability/components/UpdateAbility/interface.d.ts +0 -7
- package/lib/modules/ai-ability/components/UpdateAbility/interface.js +0 -2
- package/lib/modules/ai-ability/index.d.ts +0 -2
- package/lib/modules/ai-ability/index.js +0 -12
- package/lib/modules/ai-ability/interface.d.ts +0 -16
- package/lib/modules/ai-ability/interface.js +0 -2
- package/lib/modules/ai-ability/styled.d.ts +0 -4
- package/lib/modules/ai-ability/styled.js +0 -9
- package/lib/modules/ai-question/Root.d.ts +0 -4
- package/lib/modules/ai-question/Root.js +0 -149
- package/lib/modules/ai-question/components/AiAnalysis/AnalysisItem.d.ts +0 -4
- package/lib/modules/ai-question/components/AiAnalysis/AnalysisItem.js +0 -49
- package/lib/modules/ai-question/components/AiAnalysis/MainPoints.d.ts +0 -4
- package/lib/modules/ai-question/components/AiAnalysis/MainPoints.js +0 -59
- package/lib/modules/ai-question/components/AiAnalysis/MainPointsItem.d.ts +0 -4
- package/lib/modules/ai-question/components/AiAnalysis/MainPointsItem.js +0 -64
- package/lib/modules/ai-question/components/AiAnalysis/const.d.ts +0 -5
- package/lib/modules/ai-question/components/AiAnalysis/const.js +0 -14
- package/lib/modules/ai-question/components/AiAnalysis/index.d.ts +0 -3
- package/lib/modules/ai-question/components/AiAnalysis/index.js +0 -32
- package/lib/modules/ai-question/components/AiAnalysis/interface.d.ts +0 -23
- package/lib/modules/ai-question/components/AiAnalysis/interface.js +0 -2
- package/lib/modules/ai-question/components/AiAssessmentCriteria/const.d.ts +0 -25
- package/lib/modules/ai-question/components/AiAssessmentCriteria/const.js +0 -33
- package/lib/modules/ai-question/components/AiAssessmentCriteria/index.d.ts +0 -4
- package/lib/modules/ai-question/components/AiAssessmentCriteria/index.js +0 -117
- package/lib/modules/ai-question/components/AiAssessmentCriteria/interface.d.ts +0 -33
- package/lib/modules/ai-question/components/AiAssessmentCriteria/interface.js +0 -2
- package/lib/modules/ai-question/components/AiAssessmentCriteria/styled.d.ts +0 -4
- package/lib/modules/ai-question/components/AiAssessmentCriteria/styled.js +0 -8
- package/lib/modules/ai-question/components/AiAssessmentCriteria/utils.d.ts +0 -9
- package/lib/modules/ai-question/components/AiAssessmentCriteria/utils.js +0 -33
- package/lib/modules/ai-question/components/BaseAccordion/const.d.ts +0 -1
- package/lib/modules/ai-question/components/BaseAccordion/const.js +0 -4
- package/lib/modules/ai-question/components/BaseAccordion/index.d.ts +0 -4
- package/lib/modules/ai-question/components/BaseAccordion/index.js +0 -100
- package/lib/modules/ai-question/components/BaseAccordion/interface.d.ts +0 -9
- package/lib/modules/ai-question/components/BaseAccordion/interface.js +0 -2
- package/lib/modules/ai-question/components/BaseAccordion/styled.d.ts +0 -10
- package/lib/modules/ai-question/components/BaseAccordion/styled.js +0 -79
- package/lib/modules/ai-question/components/BootVideo/index.d.ts +0 -4
- package/lib/modules/ai-question/components/BootVideo/index.js +0 -118
- package/lib/modules/ai-question/components/BootVideo/interface.d.ts +0 -8
- package/lib/modules/ai-question/components/BootVideo/interface.js +0 -2
- package/lib/modules/ai-question/components/BootVideo/styled.d.ts +0 -13
- package/lib/modules/ai-question/components/BootVideo/styled.js +0 -51
- package/lib/modules/ai-question/components/QuestionModel/Header.d.ts +0 -3
- package/lib/modules/ai-question/components/QuestionModel/Header.js +0 -28
- package/lib/modules/ai-question/components/QuestionModel/Item.d.ts +0 -4
- package/lib/modules/ai-question/components/QuestionModel/Item.js +0 -74
- package/lib/modules/ai-question/components/QuestionModel/List.d.ts +0 -3
- package/lib/modules/ai-question/components/QuestionModel/List.js +0 -52
- package/lib/modules/ai-question/components/QuestionModel/Skeleton.d.ts +0 -3
- package/lib/modules/ai-question/components/QuestionModel/Skeleton.js +0 -19
- package/lib/modules/ai-question/components/QuestionModel/index.d.ts +0 -3
- package/lib/modules/ai-question/components/QuestionModel/index.js +0 -76
- package/lib/modules/ai-question/components/QuestionModel/interface.d.ts +0 -19
- package/lib/modules/ai-question/components/QuestionModel/interface.js +0 -2
- package/lib/modules/ai-question/components/QuestionModel/styled.d.ts +0 -4
- package/lib/modules/ai-question/components/QuestionModel/styled.js +0 -11
- package/lib/modules/ai-question/components/QuestionPreview/index.d.ts +0 -3
- package/lib/modules/ai-question/components/QuestionPreview/index.js +0 -36
- package/lib/modules/ai-question/components/QuestionPreview/styled.d.ts +0 -11
- package/lib/modules/ai-question/components/QuestionPreview/styled.js +0 -14
- package/lib/modules/ai-question/components/QuestionTemplate/AiEvaluation.d.ts +0 -3
- package/lib/modules/ai-question/components/QuestionTemplate/AiEvaluation.js +0 -55
- package/lib/modules/ai-question/components/QuestionTemplate/Skeleton.d.ts +0 -3
- package/lib/modules/ai-question/components/QuestionTemplate/Skeleton.js +0 -19
- package/lib/modules/ai-question/components/QuestionTemplate/index.d.ts +0 -3
- package/lib/modules/ai-question/components/QuestionTemplate/index.js +0 -35
- package/lib/modules/ai-question/components/QuestionTemplate/interface.d.ts +0 -43
- package/lib/modules/ai-question/components/QuestionTemplate/interface.js +0 -2
- package/lib/modules/ai-question/components/QuestionUpdate/Form.d.ts +0 -4
- package/lib/modules/ai-question/components/QuestionUpdate/Form.js +0 -115
- package/lib/modules/ai-question/components/QuestionUpdate/VideoVoice.d.ts +0 -3
- package/lib/modules/ai-question/components/QuestionUpdate/VideoVoice.js +0 -66
- package/lib/modules/ai-question/components/QuestionUpdate/const.d.ts +0 -14
- package/lib/modules/ai-question/components/QuestionUpdate/const.js +0 -57
- package/lib/modules/ai-question/components/QuestionUpdate/index.d.ts +0 -3
- package/lib/modules/ai-question/components/QuestionUpdate/index.js +0 -262
- package/lib/modules/ai-question/components/QuestionUpdate/interface.d.ts +0 -63
- package/lib/modules/ai-question/components/QuestionUpdate/interface.js +0 -2
- package/lib/modules/ai-question/index.d.ts +0 -4
- package/lib/modules/ai-question/index.js +0 -25
- package/lib/modules/ai-question/interface.d.ts +0 -78
- package/lib/modules/ai-question/interface.js +0 -2
- package/lib/modules/ai-question/useAiQuestion.d.ts +0 -17
- package/lib/modules/ai-question/useAiQuestion.js +0 -24
- package/lib/modules/ai-report/Root.d.ts +0 -4
- package/lib/modules/ai-report/Root.js +0 -82
- package/lib/modules/ai-report/components/AIEvaluate/Evaluate.d.ts +0 -13
- package/lib/modules/ai-report/components/AIEvaluate/Evaluate.js +0 -62
- package/lib/modules/ai-report/components/AIEvaluate/Graph.d.ts +0 -13
- package/lib/modules/ai-report/components/AIEvaluate/Graph.js +0 -227
- package/lib/modules/ai-report/components/AIEvaluate/index.d.ts +0 -2
- package/lib/modules/ai-report/components/AIEvaluate/index.js +0 -45
- package/lib/modules/ai-report/components/MenuAnchor/index.d.ts +0 -4
- package/lib/modules/ai-report/components/MenuAnchor/index.js +0 -117
- package/lib/modules/ai-report/components/NotFinish/index.d.ts +0 -3
- package/lib/modules/ai-report/components/NotFinish/index.js +0 -27
- package/lib/modules/ai-report/components/RankingRange/Item.d.ts +0 -4
- package/lib/modules/ai-report/components/RankingRange/Item.js +0 -32
- package/lib/modules/ai-report/components/RankingRange/index.d.ts +0 -4
- package/lib/modules/ai-report/components/RankingRange/index.js +0 -176
- package/lib/modules/ai-report/components/RankingRange/interface.d.ts +0 -26
- package/lib/modules/ai-report/components/RankingRange/interface.js +0 -2
- package/lib/modules/ai-report/components/RankingRange/styled.d.ts +0 -7
- package/lib/modules/ai-report/components/RankingRange/styled.js +0 -14
- package/lib/modules/ai-report/components/ScoreReport/Bar.d.ts +0 -3
- package/lib/modules/ai-report/components/ScoreReport/Bar.js +0 -52
- package/lib/modules/ai-report/components/ScoreReport/Failed.d.ts +0 -4
- package/lib/modules/ai-report/components/ScoreReport/Failed.js +0 -27
- package/lib/modules/ai-report/components/ScoreReport/Report.d.ts +0 -3
- package/lib/modules/ai-report/components/ScoreReport/Report.js +0 -40
- package/lib/modules/ai-report/components/ScoreReport/Score.d.ts +0 -4
- package/lib/modules/ai-report/components/ScoreReport/Score.js +0 -39
- package/lib/modules/ai-report/components/ScoreReport/ScoreLegend.d.ts +0 -4
- package/lib/modules/ai-report/components/ScoreReport/ScoreLegend.js +0 -35
- package/lib/modules/ai-report/components/ScoreReport/index.d.ts +0 -4
- package/lib/modules/ai-report/components/ScoreReport/index.js +0 -46
- package/lib/modules/ai-report/components/ScoreReport/interface.d.ts +0 -13
- package/lib/modules/ai-report/components/ScoreReport/interface.js +0 -2
- package/lib/modules/ai-report/components/ScoreReport/styled.d.ts +0 -22
- package/lib/modules/ai-report/components/ScoreReport/styled.js +0 -26
- package/lib/modules/ai-report/components/Suggestion/Suggestion.d.ts +0 -4
- package/lib/modules/ai-report/components/Suggestion/Suggestion.js +0 -31
- package/lib/modules/ai-report/components/Suggestion/index.d.ts +0 -2
- package/lib/modules/ai-report/components/Suggestion/index.js +0 -32
- package/lib/modules/ai-report/components/VideoQuestion/Abilities.d.ts +0 -4
- package/lib/modules/ai-report/components/VideoQuestion/Abilities.js +0 -45
- package/lib/modules/ai-report/components/VideoQuestion/QuestionItem.d.ts +0 -4
- package/lib/modules/ai-report/components/VideoQuestion/QuestionItem.js +0 -96
- package/lib/modules/ai-report/components/VideoQuestion/ScoreSlider.d.ts +0 -4
- package/lib/modules/ai-report/components/VideoQuestion/ScoreSlider.js +0 -32
- package/lib/modules/ai-report/components/VideoQuestion/index.d.ts +0 -3
- package/lib/modules/ai-report/components/VideoQuestion/index.js +0 -27
- package/lib/modules/ai-report/components/VideoQuestion/interface.d.ts +0 -14
- package/lib/modules/ai-report/components/VideoQuestion/interface.js +0 -2
- package/lib/modules/ai-report/components/VideoQuestion/styled.d.ts +0 -71
- package/lib/modules/ai-report/components/VideoQuestion/styled.js +0 -94
- package/lib/modules/ai-report/components/WorkPlaces/ScoreSlider.d.ts +0 -4
- package/lib/modules/ai-report/components/WorkPlaces/ScoreSlider.js +0 -26
- package/lib/modules/ai-report/components/WorkPlaces/WorkPlace.d.ts +0 -11
- package/lib/modules/ai-report/components/WorkPlaces/WorkPlace.js +0 -57
- package/lib/modules/ai-report/components/WorkPlaces/index.d.ts +0 -2
- package/lib/modules/ai-report/components/WorkPlaces/index.js +0 -72
- package/lib/modules/ai-report/components/WorkPlaces/interface.d.ts +0 -7
- package/lib/modules/ai-report/components/WorkPlaces/interface.js +0 -2
- package/lib/modules/ai-report/components/WorkPlaces/styled.d.ts +0 -62
- package/lib/modules/ai-report/components/WorkPlaces/styled.js +0 -30
- package/lib/modules/ai-report/index.d.ts +0 -4
- package/lib/modules/ai-report/index.js +0 -26
- package/lib/modules/ai-report/interface.d.ts +0 -187
- package/lib/modules/ai-report/interface.js +0 -2
- package/lib/modules/ai-report/useAiReport.d.ts +0 -28
- package/lib/modules/ai-report/useAiReport.js +0 -20
- package/lib/modules/ai-report/utils.d.ts +0 -1
- package/lib/modules/ai-report/utils.js +0 -5
- package/lib/modules/ai-template/Root.d.ts +0 -4
- package/lib/modules/ai-template/Root.js +0 -53
- package/lib/modules/ai-template/components/CapabilityModel/const.d.ts +0 -47
- package/lib/modules/ai-template/components/CapabilityModel/const.js +0 -59
- package/lib/modules/ai-template/components/CapabilityModel/index.d.ts +0 -3
- package/lib/modules/ai-template/components/CapabilityModel/index.js +0 -32
- package/lib/modules/ai-template/components/QuestionList/Item.d.ts +0 -4
- package/lib/modules/ai-template/components/QuestionList/Item.js +0 -26
- package/lib/modules/ai-template/components/QuestionList/index.d.ts +0 -3
- package/lib/modules/ai-template/components/QuestionList/index.js +0 -25
- package/lib/modules/ai-template/components/QuestionList/interface.d.ts +0 -5
- package/lib/modules/ai-template/components/QuestionList/interface.js +0 -2
- package/lib/modules/ai-template/components/TemplateHeader/index.d.ts +0 -4
- package/lib/modules/ai-template/components/TemplateHeader/index.js +0 -20
- package/lib/modules/ai-template/components/TemplateHeader/interface.d.ts +0 -6
- package/lib/modules/ai-template/components/TemplateHeader/interface.js +0 -2
- package/lib/modules/ai-template/components/TemplateList/index.d.ts +0 -3
- package/lib/modules/ai-template/components/TemplateList/index.js +0 -101
- package/lib/modules/ai-template/components/TemplateList/interface.d.ts +0 -24
- package/lib/modules/ai-template/components/TemplateList/interface.js +0 -2
- package/lib/modules/ai-template/components/TemplateList/styled.d.ts +0 -37
- package/lib/modules/ai-template/components/TemplateList/styled.js +0 -80
- package/lib/modules/ai-template/components/TemplateMenu/index.d.ts +0 -3
- package/lib/modules/ai-template/components/TemplateMenu/index.js +0 -59
- package/lib/modules/ai-template/components/TemplateMenu/interface.d.ts +0 -12
- package/lib/modules/ai-template/components/TemplateMenu/interface.js +0 -2
- package/lib/modules/ai-template/components/TemplateMenu/styled.d.ts +0 -29
- package/lib/modules/ai-template/components/TemplateMenu/styled.js +0 -19
- package/lib/modules/ai-template/index.d.ts +0 -4
- package/lib/modules/ai-template/index.js +0 -25
- package/lib/modules/ai-template/interface.d.ts +0 -24
- package/lib/modules/ai-template/interface.js +0 -2
- package/lib/services/ai-ability.d.ts +0 -14
- package/lib/services/ai-ability.js +0 -13
- package/lib/services/ai-question.d.ts +0 -12
- package/lib/services/ai-question.js +0 -25
- package/lib/services/ai-report.d.ts +0 -14
- package/lib/services/ai-report.js +0 -20
- package/lib/services/ai-template.d.ts +0 -4
- package/lib/services/ai-template.js +0 -16
- package/lib/store/ai-ability/question-ability-store.d.ts +0 -12
- package/lib/store/ai-ability/question-ability-store.js +0 -13
- package/lib/store/ai-question/ai-analysis-store.d.ts +0 -33
- package/lib/store/ai-question/ai-analysis-store.js +0 -164
- package/lib/store/ai-question/boot-video-store.d.ts +0 -17
- package/lib/store/ai-question/boot-video-store.js +0 -24
- package/lib/store/ai-question/global-store.d.ts +0 -35
- package/lib/store/ai-question/global-store.js +0 -25
- package/lib/store/ai-question/question-model-store.d.ts +0 -24
- package/lib/store/ai-question/question-model-store.js +0 -142
- package/lib/store/ai-question/question-preview-store.d.ts +0 -14
- package/lib/store/ai-question/question-preview-store.js +0 -24
- package/lib/store/ai-question/question-template-store.d.ts +0 -12
- package/lib/store/ai-question/question-template-store.js +0 -13
- package/lib/store/ai-question/question-update-store.d.ts +0 -11
- package/lib/store/ai-question/question-update-store.js +0 -36
- package/lib/store/ai-report/global-store.d.ts +0 -81
- package/lib/store/ai-report/global-store.js +0 -33
- package/lib/store/ai-template/global-store.d.ts +0 -35
- package/lib/store/ai-template/global-store.js +0 -29
- package/lib/utils/config.d.ts +0 -13
- package/lib/utils/config.js +0 -20
- package/lib/utils/interceptor.d.ts +0 -2
- package/lib/utils/interceptor.js +0 -132
- package/lib/utils/request.d.ts +0 -3
- package/lib/utils/request.js +0 -22
- package/lib/utils/utils.d.ts +0 -58
- package/lib/utils/utils.js +0 -129
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
-
var t = {};
|
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
-
t[p] = s[p];
|
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
-
t[p[i]] = s[p[i]];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
29
|
-
var Chart_1 = __importDefault(require("./Chart"));
|
|
30
|
-
var const_1 = require("./const");
|
|
31
|
-
var formateTitle = function (originalTitle) {
|
|
32
|
-
var regex = /(\d+?)[.](.+)/;
|
|
33
|
-
if (!regex.test(originalTitle))
|
|
34
|
-
return originalTitle;
|
|
35
|
-
var _a = originalTitle.match(regex), no = _a[1];
|
|
36
|
-
return "\u7B2C".concat(no, "\u9898");
|
|
37
|
-
};
|
|
38
|
-
var ReportPie = function (props) {
|
|
39
|
-
var id = props.id, _a = props.source, source = _a === void 0 ? [] : _a;
|
|
40
|
-
var scores = source.map(function (_a) {
|
|
41
|
-
var score = _a.score;
|
|
42
|
-
return score;
|
|
43
|
-
});
|
|
44
|
-
var isLevel = source.map(function (_a) {
|
|
45
|
-
var level = _a.level;
|
|
46
|
-
return level;
|
|
47
|
-
}).includes(0);
|
|
48
|
-
var min = Math.min.apply(Math, scores);
|
|
49
|
-
var max = Math.max.apply(Math, scores);
|
|
50
|
-
var data = source
|
|
51
|
-
.map(function (_a) {
|
|
52
|
-
var name = _a.name, score = _a.score, params = __rest(_a, ["name", "score"]);
|
|
53
|
-
return (__assign({ name: formateTitle(name), originalName: name, value: score }, params));
|
|
54
|
-
})
|
|
55
|
-
.sort(function (a, b) {
|
|
56
|
-
return a.value - b.value;
|
|
57
|
-
});
|
|
58
|
-
var options = {
|
|
59
|
-
tooltip: {
|
|
60
|
-
trigger: 'item',
|
|
61
|
-
formatter: function (_a) {
|
|
62
|
-
var value = _a.value, _b = _a.data, rank = _b.rank, total = _b.total, originalName = _b.originalName;
|
|
63
|
-
return "".concat(originalName, "<br />\u5F97\u5206\uFF1A").concat(value, "\u5206").concat(total > 0 ? "<br />\u6392\u540D\uFF1A".concat(rank, "/").concat(total) : '');
|
|
64
|
-
},
|
|
65
|
-
backgroundColor: 'rgba(0, 0, 0, 0.86)',
|
|
66
|
-
textStyle: {
|
|
67
|
-
color: '#fff',
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
series: [
|
|
71
|
-
{
|
|
72
|
-
type: 'pie',
|
|
73
|
-
radius: [45, 100],
|
|
74
|
-
center: ['50%', '50%'],
|
|
75
|
-
data: data,
|
|
76
|
-
roseType: 'radius',
|
|
77
|
-
label: {
|
|
78
|
-
color: 'rgba(0, 0, 0, 0.86)',
|
|
79
|
-
fontWeight: 500,
|
|
80
|
-
formatter: function (_a) {
|
|
81
|
-
var _b;
|
|
82
|
-
var name = _a.name, value = _a.value, level = _a.data.level;
|
|
83
|
-
return "".concat(name, ": {").concat(level, "|").concat(((_b = const_1.levelMapping[level]) === null || _b === void 0 ? void 0 : _b.text) || "".concat(value, "\u5206"), "}");
|
|
84
|
-
},
|
|
85
|
-
rich: __assign({}, const_1.levelMapping),
|
|
86
|
-
},
|
|
87
|
-
labelLine: {
|
|
88
|
-
lineStyle: {
|
|
89
|
-
color: 'rgba(76, 175, 80, 0.3)',
|
|
90
|
-
cap: 'square',
|
|
91
|
-
},
|
|
92
|
-
length: 30,
|
|
93
|
-
length2: 30,
|
|
94
|
-
},
|
|
95
|
-
itemStyle: {
|
|
96
|
-
color: function (_a) {
|
|
97
|
-
var _b;
|
|
98
|
-
var level = _a.data.level;
|
|
99
|
-
return (_b = const_1.levelMapping[level]) === null || _b === void 0 ? void 0 : _b.itemColor;
|
|
100
|
-
},
|
|
101
|
-
shadowBlur: 4,
|
|
102
|
-
shadowColor: 'rgba(0, 0, 0, 0.16)',
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
type: 'pie',
|
|
107
|
-
radius: [45, 100],
|
|
108
|
-
center: ['50%', '50%'],
|
|
109
|
-
data: data,
|
|
110
|
-
roseType: 'radius',
|
|
111
|
-
label: {
|
|
112
|
-
position: 'inner',
|
|
113
|
-
color: '#fff',
|
|
114
|
-
fontWeight: 500,
|
|
115
|
-
formatter: "{c}",
|
|
116
|
-
fontSize: 14,
|
|
117
|
-
},
|
|
118
|
-
itemStyle: {
|
|
119
|
-
color: function (_a) {
|
|
120
|
-
var _b;
|
|
121
|
-
var level = _a.data.level;
|
|
122
|
-
return (_b = const_1.levelMapping[level]) === null || _b === void 0 ? void 0 : _b.itemColor;
|
|
123
|
-
},
|
|
124
|
-
shadowBlur: 4,
|
|
125
|
-
shadowColor: 'rgba(0, 0, 0, 0.16)',
|
|
126
|
-
},
|
|
127
|
-
},
|
|
128
|
-
],
|
|
129
|
-
};
|
|
130
|
-
return ((0, jsx_runtime_1.jsx)(Chart_1.default, { id: id, options: __assign(__assign({}, options), { visualMap: isLevel
|
|
131
|
-
? {
|
|
132
|
-
show: false,
|
|
133
|
-
min: min,
|
|
134
|
-
max: max,
|
|
135
|
-
inRange: {
|
|
136
|
-
color: [
|
|
137
|
-
'rgba(0, 217, 157, 0.2)',
|
|
138
|
-
'rgba(0, 217, 157, 0.4)',
|
|
139
|
-
'rgba(0, 217, 157, 0.6)',
|
|
140
|
-
'rgba(0, 217, 157, 0.8)',
|
|
141
|
-
'rgba(0, 217, 157, 1)',
|
|
142
|
-
],
|
|
143
|
-
},
|
|
144
|
-
}
|
|
145
|
-
: null }) }));
|
|
146
|
-
};
|
|
147
|
-
exports.default = ReportPie;
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
18
|
-
var Chart_1 = __importDefault(require("./Chart"));
|
|
19
|
-
var TemplatePie = function (props) {
|
|
20
|
-
var id = props.id, _a = props.source, source = _a === void 0 ? [] : _a, _b = props.isShowTooltip, isShowTooltip = _b === void 0 ? true : _b, _c = props.isShowLabel, isShowLabel = _c === void 0 ? true : _c;
|
|
21
|
-
var weights = source.map(function (_a) {
|
|
22
|
-
var weight = _a.weight;
|
|
23
|
-
return weight;
|
|
24
|
-
});
|
|
25
|
-
var min = Math.min.apply(Math, weights);
|
|
26
|
-
var max = Math.max.apply(Math, weights);
|
|
27
|
-
var data = source
|
|
28
|
-
.map(function (_a) {
|
|
29
|
-
var name = _a.name, weight = _a.weight;
|
|
30
|
-
return ({ name: name, value: weight });
|
|
31
|
-
})
|
|
32
|
-
.sort(function (a, b) {
|
|
33
|
-
return a.value - b.value;
|
|
34
|
-
});
|
|
35
|
-
var options = {
|
|
36
|
-
tooltip: {
|
|
37
|
-
show: isShowTooltip,
|
|
38
|
-
trigger: 'item',
|
|
39
|
-
formatter: '{b}: {c}',
|
|
40
|
-
backgroundColor: 'rgba(0, 0, 0, 0.86)',
|
|
41
|
-
textStyle: {
|
|
42
|
-
color: '#fff',
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
visualMap: {
|
|
46
|
-
show: false,
|
|
47
|
-
min: min,
|
|
48
|
-
max: max,
|
|
49
|
-
inRange: {
|
|
50
|
-
color: ['rgba(0, 217, 157, 0.2)', 'rgba(0, 217, 157, 0.4)', 'rgba(0, 217, 157, 0.6)', 'rgba(0, 217, 157, 0.8)', 'rgba(0, 217, 157, 1)'],
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
series: [
|
|
54
|
-
{
|
|
55
|
-
type: 'pie',
|
|
56
|
-
radius: ['40%', '80%'],
|
|
57
|
-
center: ['50%', '50%'],
|
|
58
|
-
top: isShowLabel ? 16 : 0,
|
|
59
|
-
bottom: isShowLabel ? 16 : 0,
|
|
60
|
-
data: data,
|
|
61
|
-
roseType: 'radius',
|
|
62
|
-
label: {
|
|
63
|
-
show: isShowLabel,
|
|
64
|
-
position: 'outside',
|
|
65
|
-
color: 'rgba(0, 0, 0, 0.86)',
|
|
66
|
-
formatter: '{b}: {c}分',
|
|
67
|
-
fontSize: 14,
|
|
68
|
-
},
|
|
69
|
-
labelLine: {
|
|
70
|
-
lineStyle: {
|
|
71
|
-
color: 'rgba(76, 175, 80, 0.3)',
|
|
72
|
-
cap: 'square',
|
|
73
|
-
},
|
|
74
|
-
length: 30,
|
|
75
|
-
length2: 30,
|
|
76
|
-
},
|
|
77
|
-
itemStyle: {
|
|
78
|
-
shadowBlur: 4,
|
|
79
|
-
shadowColor: 'rgb(26, 180, 138)',
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
};
|
|
84
|
-
return ((0, jsx_runtime_1.jsx)(Chart_1.default, { id: id, options: __assign({}, options) }));
|
|
85
|
-
};
|
|
86
|
-
exports.default = TemplatePie;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const levelMapping: {
|
|
2
|
-
3: {
|
|
3
|
-
text: string;
|
|
4
|
-
itemColor: string;
|
|
5
|
-
color: string;
|
|
6
|
-
};
|
|
7
|
-
2: {
|
|
8
|
-
text: string;
|
|
9
|
-
itemColor: string;
|
|
10
|
-
color: string;
|
|
11
|
-
};
|
|
12
|
-
1: {
|
|
13
|
-
text: string;
|
|
14
|
-
itemColor: string;
|
|
15
|
-
color: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.levelMapping = void 0;
|
|
4
|
-
exports.levelMapping = {
|
|
5
|
-
3: {
|
|
6
|
-
text: '优秀',
|
|
7
|
-
itemColor: 'rgb(0, 217, 157)',
|
|
8
|
-
color: 'rgb(0, 217, 157)',
|
|
9
|
-
},
|
|
10
|
-
2: {
|
|
11
|
-
text: '适中',
|
|
12
|
-
itemColor: 'rgb(166, 234, 193)',
|
|
13
|
-
color: 'rgba(0, 0, 0, 0.86)',
|
|
14
|
-
},
|
|
15
|
-
1: {
|
|
16
|
-
text: '欠佳',
|
|
17
|
-
itemColor: 'rgb(239, 154, 154)',
|
|
18
|
-
color: 'rgb(255, 108, 108)',
|
|
19
|
-
},
|
|
20
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Collection } from '@/modules/ai-report/interface';
|
|
2
|
-
export interface ChartProps {
|
|
3
|
-
id: string;
|
|
4
|
-
options: any;
|
|
5
|
-
}
|
|
6
|
-
export interface TemplatePieProps {
|
|
7
|
-
id: string;
|
|
8
|
-
source: Array<{
|
|
9
|
-
name: string;
|
|
10
|
-
weight: number;
|
|
11
|
-
}>;
|
|
12
|
-
isShowTooltip?: boolean;
|
|
13
|
-
isShowLabel?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface ReportPieProps {
|
|
16
|
-
id: string;
|
|
17
|
-
source: Collection[];
|
|
18
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
15
|
-
var fbm_ui_1 = require("fbm-ui");
|
|
16
|
-
var mui_1 = require("fbm-ui/lib/mui");
|
|
17
|
-
var hox_1 = require("hox");
|
|
18
|
-
var styles_1 = require("@mui/styles");
|
|
19
|
-
var AnyStylesProvider = styles_1.StylesProvider;
|
|
20
|
-
var generateClassName = (0, styles_1.createGenerateClassName)({
|
|
21
|
-
seed: 'eli-video-interview',
|
|
22
|
-
productionPrefix: 'eli-video-interview',
|
|
23
|
-
disableGlobal: true,
|
|
24
|
-
});
|
|
25
|
-
var RootProvider = function (_a) {
|
|
26
|
-
var children = _a.children;
|
|
27
|
-
return ((0, jsx_runtime_1.jsx)(AnyStylesProvider, __assign({ generateClassName: generateClassName }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.ThemeProvider, { children: (0, jsx_runtime_1.jsx)(mui_1.StyledEngineProvider, __assign({ injectFirst: true }, { children: (0, jsx_runtime_1.jsx)(hox_1.HoxRoot, { children: children }) })) }) })));
|
|
28
|
-
};
|
|
29
|
-
exports.default = RootProvider;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
18
|
-
var BigBallSvg_1 = __importDefault(require("../BigBallSvg"));
|
|
19
|
-
var utils_1 = require("../../utils/utils");
|
|
20
|
-
var styled_1 = require("./styled");
|
|
21
|
-
var ScoreBigBall = function (_a) {
|
|
22
|
-
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;
|
|
23
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(styled_1.ScoreBigBallRoot, __assign({ width: width, height: height, sx: { backgroundColor: status === 1 ? '#fbfbfb' : 'rgba(59, 203, 120, 0.1)' } }, { children: [status !== 1 && (0, jsx_runtime_1.jsx)(BigBallSvg_1.default, {}), status === 1 && ((0, jsx_runtime_1.jsx)("div", __assign({ style: { color: 'rgba(0,0,0,0.26)', fontSize: '12px' } }, { children: (0, jsx_runtime_1.jsx)("span", { children: "\u5019\u9009\u4EBA\u672A\u4F5C\u7B54" }) }))), status === 2 && ((0, jsx_runtime_1.jsx)("div", __assign({ style: { color: '#40be47' } }, { children: (0, jsx_runtime_1.jsx)("span", { children: "\u8BA1\u7B97\u4E2D..." }) }))), status === 3 && ((0, jsx_runtime_1.jsxs)("div", __assign({ style: { color: '#40be47' } }, { children: [(0, jsx_runtime_1.jsx)("span", __assign({ style: { fontFamily: 'DIN Alternate Bold', fontSize: fontSize, fontWeight: 'bold' } }, { children: (0, utils_1.formatScore)(score) > 100 ? 100 : (0, utils_1.formatScore)(score) })), (0, jsx_runtime_1.jsx)("span", __assign({ style: { marginLeft: '2px', fontSize: '12px' } }, { children: "\u5206" }))] })))] })), status === 2 && ((0, jsx_runtime_1.jsx)("div", { style: {
|
|
24
|
-
position: 'absolute',
|
|
25
|
-
top: 0,
|
|
26
|
-
right: 0,
|
|
27
|
-
bottom: 0,
|
|
28
|
-
left: 0,
|
|
29
|
-
} }))] }));
|
|
30
|
-
};
|
|
31
|
-
exports.default = ScoreBigBall;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const ScoreBigBallRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
} & import("@mui/system/createStyled").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ScoreBigBallRoot = void 0;
|
|
4
|
-
var fbm_ui_1 = require("fbm-ui");
|
|
5
|
-
exports.ScoreBigBallRoot = (0, fbm_ui_1.styled)(fbm_ui_1.Box)({
|
|
6
|
-
display: 'flex',
|
|
7
|
-
justifyContent: 'center',
|
|
8
|
-
alignItems: 'center',
|
|
9
|
-
position: 'absolute',
|
|
10
|
-
top: '50%',
|
|
11
|
-
left: '50%',
|
|
12
|
-
transform: 'translate(-50%, -50%)',
|
|
13
|
-
borderRadius: '50%',
|
|
14
|
-
overflow: 'hidden',
|
|
15
|
-
});
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const ScrollDialogContent: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
} & import("@mui/system/createStyled").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
-
export default ScrollDialogContent;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var fbm_ui_1 = require("fbm-ui");
|
|
4
|
-
var ScrollDialogContent = (0, fbm_ui_1.styled)(fbm_ui_1.Box)({
|
|
5
|
-
maxHeight: 'calc(100vh - 150px)',
|
|
6
|
-
overflow: 'auto',
|
|
7
|
-
});
|
|
8
|
-
exports.default = ScrollDialogContent;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(o, k2, desc);
|
|
20
|
-
}) : (function(o, m, k, k2) {
|
|
21
|
-
if (k2 === undefined) k2 = k;
|
|
22
|
-
o[k2] = m[k];
|
|
23
|
-
}));
|
|
24
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
-
}) : function(o, v) {
|
|
27
|
-
o["default"] = v;
|
|
28
|
-
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
-
if (mod && mod.__esModule) return mod;
|
|
31
|
-
var result = {};
|
|
32
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
-
__setModuleDefault(result, mod);
|
|
34
|
-
return result;
|
|
35
|
-
};
|
|
36
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
-
var t = {};
|
|
38
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
-
t[p] = s[p];
|
|
40
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
-
t[p[i]] = s[p[i]];
|
|
44
|
-
}
|
|
45
|
-
return t;
|
|
46
|
-
};
|
|
47
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
49
|
-
var react_1 = require("react");
|
|
50
|
-
var react_svg_1 = require("react-svg");
|
|
51
|
-
var Icon = function (_a) {
|
|
52
|
-
var name = _a.name, props = __rest(_a, ["name"]);
|
|
53
|
-
var _b = (0, react_1.useState)(''), src = _b[0], setSrc = _b[1];
|
|
54
|
-
Promise.resolve().then(function () { return __importStar(require("../../assets/icons/".concat(name, ".svg"))); }).then(function (v) { return setSrc(v.default); });
|
|
55
|
-
return (0, jsx_runtime_1.jsx)(react_svg_1.ReactSVG, __assign({ src: src }, props));
|
|
56
|
-
};
|
|
57
|
-
exports.default = Icon;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
15
|
-
var fbm_ui_1 = require("fbm-ui");
|
|
16
|
-
var styled_1 = require("./styled");
|
|
17
|
-
var VideoPreview = function (props) {
|
|
18
|
-
var url = props.url, width = props.width, faceAnalysis = props.faceAnalysis, _a = props.currentPage, currentPage = _a === void 0 ? 1 : _a, _b = props.totalPage, totalPage = _b === void 0 ? 1 : _b, _c = props.isShowPageTurning, isShowPageTurning = _c === void 0 ? true : _c, _d = props.disabledPrev, disabledPrev = _d === void 0 ? false : _d, _e = props.disabledNext, disabledNext = _e === void 0 ? false : _e, style = props.style, onPrev = props.onPrev, onNext = props.onNext;
|
|
19
|
-
return ((0, jsx_runtime_1.jsxs)(styled_1.VideoPreviewRoot, __assign({ style: __assign({ width: width }, style) }, { children: [faceAnalysis && ((0, jsx_runtime_1.jsxs)(styled_1.FaceAnalysisRoot, { children: [(faceAnalysis === null || faceAnalysis === void 0 ? void 0 : faceAnalysis.beauty) >= 0 && ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body2", color: "#fff" }, { children: ["AI\u989C\u503C\uFF1A", faceAnalysis === null || faceAnalysis === void 0 ? void 0 : faceAnalysis.beauty, "\u5206"] }))), (faceAnalysis === null || faceAnalysis === void 0 ? void 0 : faceAnalysis.age) >= 0 && ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body2", color: "#fff" }, { children: ["AI\u5E74\u9F84\uFF1A", faceAnalysis === null || faceAnalysis === void 0 ? void 0 : faceAnalysis.age, "\u5C81"] })))] })), (0, jsx_runtime_1.jsx)("video", { src: url, height: 530, controls: true, controlsList: "nodownload noremoteplayback", disablePictureInPicture: true }), isShowPageTurning && ((0, jsx_runtime_1.jsxs)(styled_1.PageTurningRoot, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.IconButton, __assign({ disabled: disabledPrev, onClick: onPrev }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.KeyboardArrowLeftIcon, {}) })), (0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, { children: [currentPage, "/", totalPage] }), (0, jsx_runtime_1.jsx)(fbm_ui_1.IconButton, __assign({ disabled: disabledNext, onClick: onNext }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.KeyboardArrowRightIcon, {}) }))] }))] })));
|
|
20
|
-
};
|
|
21
|
-
exports.default = VideoPreview;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
import { FaceAnalysis } from '@/modules/ai-report/interface';
|
|
3
|
-
export interface VideoPreviewProps {
|
|
4
|
-
url: string;
|
|
5
|
-
faceAnalysis?: FaceAnalysis;
|
|
6
|
-
currentPage?: number;
|
|
7
|
-
totalPage?: number;
|
|
8
|
-
disabledPrev?: boolean;
|
|
9
|
-
disabledNext?: boolean;
|
|
10
|
-
width?: number | string;
|
|
11
|
-
isShowPageTurning?: boolean;
|
|
12
|
-
style?: CSSProperties;
|
|
13
|
-
onPrev?: () => void;
|
|
14
|
-
onNext?: () => void;
|
|
15
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const VideoPreviewRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
3
|
-
children?: import("react").ReactNode;
|
|
4
|
-
} & import("@mui/system/createStyled").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
-
export declare const PageTurningRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
6
|
-
children?: import("react").ReactNode;
|
|
7
|
-
} & import("@mui/system/createStyled").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
8
|
-
export declare const FaceAnalysisRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
9
|
-
children?: import("react").ReactNode;
|
|
10
|
-
} & import("@mui/system/createStyled").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FaceAnalysisRoot = exports.PageTurningRoot = exports.VideoPreviewRoot = void 0;
|
|
4
|
-
var fbm_ui_1 = require("fbm-ui");
|
|
5
|
-
exports.VideoPreviewRoot = (0, fbm_ui_1.styled)(fbm_ui_1.Box)({
|
|
6
|
-
display: 'flex',
|
|
7
|
-
flexDirection: 'column',
|
|
8
|
-
width: 300,
|
|
9
|
-
borderRadius: 4,
|
|
10
|
-
backgroundColor: 'transparent',
|
|
11
|
-
overflow: 'hidden',
|
|
12
|
-
});
|
|
13
|
-
exports.PageTurningRoot = (0, fbm_ui_1.styled)(fbm_ui_1.Box)({
|
|
14
|
-
backgroundColor: '#fff',
|
|
15
|
-
display: 'flex',
|
|
16
|
-
justifyContent: 'space-between',
|
|
17
|
-
alignItems: 'center',
|
|
18
|
-
padding: '4px 8px',
|
|
19
|
-
});
|
|
20
|
-
exports.FaceAnalysisRoot = (0, fbm_ui_1.styled)(fbm_ui_1.Box)({
|
|
21
|
-
display: 'flex',
|
|
22
|
-
justifyContent: 'space-around',
|
|
23
|
-
position: 'absolute',
|
|
24
|
-
width: '100%',
|
|
25
|
-
padding: '0 32px',
|
|
26
|
-
marginTop: '8px',
|
|
27
|
-
});
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { QuestionParams } from '@/modules/ai-question/components/QuestionUpdate/interface';
|
|
2
|
-
import { ADD_QUESTION_TYPE } from '@enum/ai-question';
|
|
3
|
-
export declare const ADD_QUESTION_TYPE_LIST: {
|
|
4
|
-
type: ADD_QUESTION_TYPE;
|
|
5
|
-
title: string;
|
|
6
|
-
desc: string;
|
|
7
|
-
}[];
|
|
8
|
-
export declare const QUESTION_TYPE_MAPPING_LABEL: {
|
|
9
|
-
1: string;
|
|
10
|
-
2: string;
|
|
11
|
-
4: string;
|
|
12
|
-
6: string;
|
|
13
|
-
7: string;
|
|
14
|
-
8: string;
|
|
15
|
-
9: string;
|
|
16
|
-
};
|
|
17
|
-
export declare const DEFAULT_GUIDE_VIDEO_URL = "https://public-static-assets.oss-cn-beijing.aliyuncs.com/wxprogram/guide_video.mp4";
|
|
18
|
-
export declare const DEFAULT_GUIDE_VIDEO_THUMB_URL = "https://public-static-assets.oss-cn-beijing.aliyuncs.com/wxprogram/guide_video.mp4?x-oss-process=video/snapshot,t_0,f_jpg";
|
|
19
|
-
export declare const DEFAULT_GUIDE_VIDEO: {
|
|
20
|
-
videoUrl: string;
|
|
21
|
-
frameUrl: string;
|
|
22
|
-
}[];
|
|
23
|
-
export declare const MAX_UPLOAD_FILE_SIZE: number;
|
|
24
|
-
export declare const MAX_UPLOAD_VIDEO_FILE_SIZE: number;
|
|
25
|
-
export declare const TEST_TYPE_READONLY: number[];
|
|
26
|
-
export declare const DISABLED_REPEAT_TYPE: number[];
|
|
27
|
-
export declare const IS_AI_ANALYSIS: (step: Pick<QuestionParams, 'aiType'>) => boolean;
|