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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eli-video-interview",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.29-beta.1",
|
|
4
4
|
"description": "鳄梨科技 AI视频面试 React SDK",
|
|
5
5
|
"author": "鳄梨科技",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,6 +29,12 @@
|
|
|
29
29
|
"typescript": "^4.7.2",
|
|
30
30
|
"use-immer": "^0.7.0"
|
|
31
31
|
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@types/jest": "^27.5.1",
|
|
34
|
+
"@types/node": "^16.11.36",
|
|
35
|
+
"@types/react": "^17.0.0",
|
|
36
|
+
"@types/react-dom": "^17.0.0"
|
|
37
|
+
},
|
|
32
38
|
"scripts": {
|
|
33
39
|
"clean": "rimraf lib esm build",
|
|
34
40
|
"serve": "npm run dev",
|
package/esm/assets/icons/AI.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28"><defs><linearGradient id="a" x1="36.62%" x2="71.052%" y1="76.01%" y2="4.425%"><stop offset="0%" stop-color="#00B768"/><stop offset="39%" stop-color="#00AF62"/><stop offset="100%" stop-color="#009953"/><stop offset="100%" stop-color="#009953"/></linearGradient></defs><g fill="none" transform="translate(3 7.16)"><rect width="3.109" height="8.176" x="18.116" y="4.824" fill="#00D97C" rx="1.554"/><path fill="#00D97C" d="M21.4330891 1.95993177 21.4367129 1.93267091C21.4403366 1.90483003 21.4433564 1.87466908 21.4457722 1.84798824L21.4457722 1.82072738C21.4457722 1.78476624 21.4500001 1.74822509 21.4500001 1.71168394L21.4500001 1.71168394C21.4502442 1.01957447 21.0163106.395484118 20.3505677.130462712 19.6848249-.134558695 18.9184003.0116886167 18.4087228.50100097 17.8990452.990313327 17.7465029 1.72631363 18.0222352 2.36576189 18.2979675 3.00521015 18.947665 3.42215785 19.6683358 3.42215789L19.6683358 3.42215789 19.6683358 4.1645813C19.8960264 4.05611788 21.1945274 3.17855021 21.4167824 2.03997429 21.4236272 2.01329345 21.4290628 1.98661261 21.4330891 1.95993177ZM15.4605889 10.719948 9.60706759.98260094C9.24145617.374932483 8.56614784.000646522375 7.83536873.000646522375 7.10458966.000646522375 6.42928134.374932483 6.06366994.98260094L5.39026133 2.1037763 5.39026133 2.1037763 4.64920987 3.33515515C4.92547127 2.86174873 5.4452855 2.56740188 6.01035444 2.56440169 6.57542336 2.5614015 7.09859463 2.8502107 7.3802895 3.32065469L7.3802895 3.32065469 12.7367568 12.2303157C13.0172603 12.6974945 13.5359784 12.9854694 14.0975151 12.9857635 14.6590517 12.9860566 15.178096 12.6986244 15.4591292 12.2317392 15.7401622 11.7648541 15.7404885 11.1894469 15.4599849 10.7222681L15.4605889 10.719948Z"/><path fill="url(#a)" d="M7.37968551,3.32065469 C7.09841787,2.85095068 6.57638695,2.56226386 6.01219476,2.56439864 C5.44800258,2.56658124 4.92838341,2.85925359 4.65102173,3.33109501 L1.83840835,8.01126263 C1.83808295,8.0127936 1.83808295,8.01437187 1.83840835,8.01590276 L0.210148599,10.719948 C-0.0703549557,11.1871269 -0.0700287417,11.762534 0.21100436,12.2294192 C0.49203746,12.6963044 1.01108183,12.9837366 1.57261848,12.9834434 C2.13415513,12.9831493 2.65287327,12.6951745 2.9333768,12.2279956 L7.83506677,4.07409845 L7.38089343,3.32007467 L7.37968551,3.32065469 Z"/></g></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width="51" height="32" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient x1="0%" y1="55.987%" x2="100%" y2="55.987%" id="a"><stop stop-color="#4BB051" offset="0%"/><stop stop-color="#71D376" offset="100%"/></linearGradient></defs><path d="M34 0a4 4 0 014 4v24a4 4 0 01-4 4H4a4 4 0 01-4-4V4a4 4 0 014-4h30zm16.88 7.172a2 2 0 01.12.683v16.29a2 2 0 01-2.683 1.88l-7-2.546A2 2 0 0140 21.599V10.401a2 2 0 011.317-1.88l7-2.545a2 2 0 012.563 1.196zM16.5 11.069a1 1 0 00-.993.883l-.007.117v8.881a1 1 0 001.44.898l.102-.058 6.782-4.377a1 1 0 00.104-1.603l-.093-.07-6.782-4.504a1 1 0 00-.553-.167z" fill="url(#a)" fill-rule="evenodd"/></svg>
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import SvgIcon from "../SvgIcon";
|
|
14
|
-
import { Box, Typography } from 'fbm-ui';
|
|
15
|
-
var AiHeaderTitle = function (_a) {
|
|
16
|
-
var name = _a.name;
|
|
17
|
-
return (_jsxs(Box, __assign({ display: "inline-flex" }, { children: [_jsx(SvgIcon, { name: "AI" }), _jsx(Typography, __assign({ variant: "h6", fontWeight: "medium", sx: { fontWeight: 500 }, ml: 1 }, { children: name }))] })));
|
|
18
|
-
};
|
|
19
|
-
export default AiHeaderTitle;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
13
|
-
import { SvgGRoot, SvgRoot } from './styled';
|
|
14
|
-
var BigBallSvg = function () {
|
|
15
|
-
return (_jsxs(_Fragment, { children: [_jsx("style", { children: "\n @keyframes move-forever {\n 0% {\n transform: translate3d(-90px, 0, 0); }\n 100% {\n transform: translate3d(85px, 0, 0); }\n }\n " }), _jsxs(SvgRoot, __assign({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 24 150 28", preserveAspectRatio: "none", shapeRendering: "auto" }, { children: [_jsx("defs", { children: _jsx("path", { id: "gentle-wave", d: "M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z" }) }), _jsxs(SvgGRoot, { children: [_jsx("use", { xlinkHref: "#gentle-wave", x: "48", y: "0", fill: "rgba(59, 203, 120, 0.2)" }), _jsx("use", { xlinkHref: "#gentle-wave", x: "48", y: "3", fill: "rgba(59, 203, 120, 0.2)" }), _jsx("use", { xlinkHref: "#gentle-wave", x: "48", y: "5", fill: "rgba(59, 203, 120, 0.2)" }), _jsx("use", { xlinkHref: "#gentle-wave", x: "48", y: "7", fill: "rgba(59, 203, 120, 0.2)" })] })] }))] }));
|
|
16
|
-
};
|
|
17
|
-
export default BigBallSvg;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const SvgRoot: import("@emotion/styled").StyledComponent<import("@mui/system/createStyled").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").SVGProps<SVGSVGElement>, {}>;
|
|
3
|
-
export declare const SvgGRoot: import("@emotion/styled").StyledComponent<import("@mui/system/createStyled").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").SVGProps<SVGGElement>, {}>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { styled } from 'fbm-ui';
|
|
2
|
-
export var SvgRoot = styled('svg')({
|
|
3
|
-
position: 'absolute',
|
|
4
|
-
bottom: 0,
|
|
5
|
-
width: '200%',
|
|
6
|
-
height: '50%',
|
|
7
|
-
});
|
|
8
|
-
export var SvgGRoot = styled('g')({
|
|
9
|
-
'& use': {
|
|
10
|
-
animation: 'move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite',
|
|
11
|
-
'&:nth-child(1)': {
|
|
12
|
-
animationDelay: '-2s',
|
|
13
|
-
animationDuration: '7s',
|
|
14
|
-
},
|
|
15
|
-
'&:nth-child(2)': {
|
|
16
|
-
animationDelay: '-3s',
|
|
17
|
-
animationDuration: '10s',
|
|
18
|
-
},
|
|
19
|
-
'&:nth-child(3)': {
|
|
20
|
-
animationDelay: '-4s',
|
|
21
|
-
animationDuration: '13s',
|
|
22
|
-
},
|
|
23
|
-
'&:nth-child(4)': {
|
|
24
|
-
animationDelay: '-5s',
|
|
25
|
-
animationDuration: '20s',
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useEffect, useRef } from 'react';
|
|
3
|
-
import * as echarts from 'echarts';
|
|
4
|
-
var charts = {};
|
|
5
|
-
var Chart = function (_a) {
|
|
6
|
-
var _b = _a.id, id = _b === void 0 ? '' : _b, options = _a.options;
|
|
7
|
-
var currentId = useRef('');
|
|
8
|
-
var target = useRef(null);
|
|
9
|
-
useEffect(function () {
|
|
10
|
-
if (id && !charts[id] && options) {
|
|
11
|
-
currentId.current = id;
|
|
12
|
-
charts[id] = echarts.init(target.current);
|
|
13
|
-
charts[id].resize();
|
|
14
|
-
charts[id].setOption(options, true);
|
|
15
|
-
}
|
|
16
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
17
|
-
}, [id, options]);
|
|
18
|
-
useEffect(function () {
|
|
19
|
-
return function () {
|
|
20
|
-
if (charts[currentId.current]) {
|
|
21
|
-
charts[currentId.current].dispose();
|
|
22
|
-
charts[currentId.current] = null;
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
26
|
-
}, []);
|
|
27
|
-
return (_jsx("div", { ref: target, style: {
|
|
28
|
-
width: '100%',
|
|
29
|
-
height: '100%',
|
|
30
|
-
} }));
|
|
31
|
-
};
|
|
32
|
-
export default Chart;
|
|
@@ -1,142 +0,0 @@
|
|
|
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 __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
-
var t = {};
|
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
-
t[p] = s[p];
|
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
-
t[p[i]] = s[p[i]];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
-
import Chart from "./Chart";
|
|
25
|
-
import { levelMapping } from './const';
|
|
26
|
-
var formateTitle = function (originalTitle) {
|
|
27
|
-
var regex = /(\d+?)[.](.+)/;
|
|
28
|
-
if (!regex.test(originalTitle))
|
|
29
|
-
return originalTitle;
|
|
30
|
-
var _a = originalTitle.match(regex), no = _a[1];
|
|
31
|
-
return "\u7B2C".concat(no, "\u9898");
|
|
32
|
-
};
|
|
33
|
-
var ReportPie = function (props) {
|
|
34
|
-
var id = props.id, _a = props.source, source = _a === void 0 ? [] : _a;
|
|
35
|
-
var scores = source.map(function (_a) {
|
|
36
|
-
var score = _a.score;
|
|
37
|
-
return score;
|
|
38
|
-
});
|
|
39
|
-
var isLevel = source.map(function (_a) {
|
|
40
|
-
var level = _a.level;
|
|
41
|
-
return level;
|
|
42
|
-
}).includes(0);
|
|
43
|
-
var min = Math.min.apply(Math, scores);
|
|
44
|
-
var max = Math.max.apply(Math, scores);
|
|
45
|
-
var data = source
|
|
46
|
-
.map(function (_a) {
|
|
47
|
-
var name = _a.name, score = _a.score, params = __rest(_a, ["name", "score"]);
|
|
48
|
-
return (__assign({ name: formateTitle(name), originalName: name, value: score }, params));
|
|
49
|
-
})
|
|
50
|
-
.sort(function (a, b) {
|
|
51
|
-
return a.value - b.value;
|
|
52
|
-
});
|
|
53
|
-
var options = {
|
|
54
|
-
tooltip: {
|
|
55
|
-
trigger: 'item',
|
|
56
|
-
formatter: function (_a) {
|
|
57
|
-
var value = _a.value, _b = _a.data, rank = _b.rank, total = _b.total, originalName = _b.originalName;
|
|
58
|
-
return "".concat(originalName, "<br />\u5F97\u5206\uFF1A").concat(value, "\u5206").concat(total > 0 ? "<br />\u6392\u540D\uFF1A".concat(rank, "/").concat(total) : '');
|
|
59
|
-
},
|
|
60
|
-
backgroundColor: 'rgba(0, 0, 0, 0.86)',
|
|
61
|
-
textStyle: {
|
|
62
|
-
color: '#fff',
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
series: [
|
|
66
|
-
{
|
|
67
|
-
type: 'pie',
|
|
68
|
-
radius: [45, 100],
|
|
69
|
-
center: ['50%', '50%'],
|
|
70
|
-
data: data,
|
|
71
|
-
roseType: 'radius',
|
|
72
|
-
label: {
|
|
73
|
-
color: 'rgba(0, 0, 0, 0.86)',
|
|
74
|
-
fontWeight: 500,
|
|
75
|
-
formatter: function (_a) {
|
|
76
|
-
var _b;
|
|
77
|
-
var name = _a.name, value = _a.value, level = _a.data.level;
|
|
78
|
-
return "".concat(name, ": {").concat(level, "|").concat(((_b = levelMapping[level]) === null || _b === void 0 ? void 0 : _b.text) || "".concat(value, "\u5206"), "}");
|
|
79
|
-
},
|
|
80
|
-
rich: __assign({}, levelMapping),
|
|
81
|
-
},
|
|
82
|
-
labelLine: {
|
|
83
|
-
lineStyle: {
|
|
84
|
-
color: 'rgba(76, 175, 80, 0.3)',
|
|
85
|
-
cap: 'square',
|
|
86
|
-
},
|
|
87
|
-
length: 30,
|
|
88
|
-
length2: 30,
|
|
89
|
-
},
|
|
90
|
-
itemStyle: {
|
|
91
|
-
color: function (_a) {
|
|
92
|
-
var _b;
|
|
93
|
-
var level = _a.data.level;
|
|
94
|
-
return (_b = levelMapping[level]) === null || _b === void 0 ? void 0 : _b.itemColor;
|
|
95
|
-
},
|
|
96
|
-
shadowBlur: 4,
|
|
97
|
-
shadowColor: 'rgba(0, 0, 0, 0.16)',
|
|
98
|
-
},
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
type: 'pie',
|
|
102
|
-
radius: [45, 100],
|
|
103
|
-
center: ['50%', '50%'],
|
|
104
|
-
data: data,
|
|
105
|
-
roseType: 'radius',
|
|
106
|
-
label: {
|
|
107
|
-
position: 'inner',
|
|
108
|
-
color: '#fff',
|
|
109
|
-
fontWeight: 500,
|
|
110
|
-
formatter: "{c}",
|
|
111
|
-
fontSize: 14,
|
|
112
|
-
},
|
|
113
|
-
itemStyle: {
|
|
114
|
-
color: function (_a) {
|
|
115
|
-
var _b;
|
|
116
|
-
var level = _a.data.level;
|
|
117
|
-
return (_b = levelMapping[level]) === null || _b === void 0 ? void 0 : _b.itemColor;
|
|
118
|
-
},
|
|
119
|
-
shadowBlur: 4,
|
|
120
|
-
shadowColor: 'rgba(0, 0, 0, 0.16)',
|
|
121
|
-
},
|
|
122
|
-
},
|
|
123
|
-
],
|
|
124
|
-
};
|
|
125
|
-
return (_jsx(Chart, { id: id, options: __assign(__assign({}, options), { visualMap: isLevel
|
|
126
|
-
? {
|
|
127
|
-
show: false,
|
|
128
|
-
min: min,
|
|
129
|
-
max: max,
|
|
130
|
-
inRange: {
|
|
131
|
-
color: [
|
|
132
|
-
'rgba(0, 217, 157, 0.2)',
|
|
133
|
-
'rgba(0, 217, 157, 0.4)',
|
|
134
|
-
'rgba(0, 217, 157, 0.6)',
|
|
135
|
-
'rgba(0, 217, 157, 0.8)',
|
|
136
|
-
'rgba(0, 217, 157, 1)',
|
|
137
|
-
],
|
|
138
|
-
},
|
|
139
|
-
}
|
|
140
|
-
: null }) }));
|
|
141
|
-
};
|
|
142
|
-
export default ReportPie;
|
|
@@ -1,81 +0,0 @@
|
|
|
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
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import Chart from "./Chart";
|
|
14
|
-
var TemplatePie = function (props) {
|
|
15
|
-
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;
|
|
16
|
-
var weights = source.map(function (_a) {
|
|
17
|
-
var weight = _a.weight;
|
|
18
|
-
return weight;
|
|
19
|
-
});
|
|
20
|
-
var min = Math.min.apply(Math, weights);
|
|
21
|
-
var max = Math.max.apply(Math, weights);
|
|
22
|
-
var data = source
|
|
23
|
-
.map(function (_a) {
|
|
24
|
-
var name = _a.name, weight = _a.weight;
|
|
25
|
-
return ({ name: name, value: weight });
|
|
26
|
-
})
|
|
27
|
-
.sort(function (a, b) {
|
|
28
|
-
return a.value - b.value;
|
|
29
|
-
});
|
|
30
|
-
var options = {
|
|
31
|
-
tooltip: {
|
|
32
|
-
show: isShowTooltip,
|
|
33
|
-
trigger: 'item',
|
|
34
|
-
formatter: '{b}: {c}',
|
|
35
|
-
backgroundColor: 'rgba(0, 0, 0, 0.86)',
|
|
36
|
-
textStyle: {
|
|
37
|
-
color: '#fff',
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
visualMap: {
|
|
41
|
-
show: false,
|
|
42
|
-
min: min,
|
|
43
|
-
max: max,
|
|
44
|
-
inRange: {
|
|
45
|
-
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)'],
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
series: [
|
|
49
|
-
{
|
|
50
|
-
type: 'pie',
|
|
51
|
-
radius: ['40%', '80%'],
|
|
52
|
-
center: ['50%', '50%'],
|
|
53
|
-
top: isShowLabel ? 16 : 0,
|
|
54
|
-
bottom: isShowLabel ? 16 : 0,
|
|
55
|
-
data: data,
|
|
56
|
-
roseType: 'radius',
|
|
57
|
-
label: {
|
|
58
|
-
show: isShowLabel,
|
|
59
|
-
position: 'outside',
|
|
60
|
-
color: 'rgba(0, 0, 0, 0.86)',
|
|
61
|
-
formatter: '{b}: {c}分',
|
|
62
|
-
fontSize: 14,
|
|
63
|
-
},
|
|
64
|
-
labelLine: {
|
|
65
|
-
lineStyle: {
|
|
66
|
-
color: 'rgba(76, 175, 80, 0.3)',
|
|
67
|
-
cap: 'square',
|
|
68
|
-
},
|
|
69
|
-
length: 30,
|
|
70
|
-
length2: 30,
|
|
71
|
-
},
|
|
72
|
-
itemStyle: {
|
|
73
|
-
shadowBlur: 4,
|
|
74
|
-
shadowColor: 'rgb(26, 180, 138)',
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
],
|
|
78
|
-
};
|
|
79
|
-
return (_jsx(Chart, { id: id, options: __assign({}, options) }));
|
|
80
|
-
};
|
|
81
|
-
export 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,17 +0,0 @@
|
|
|
1
|
-
export var levelMapping = {
|
|
2
|
-
3: {
|
|
3
|
-
text: '优秀',
|
|
4
|
-
itemColor: 'rgb(0, 217, 157)',
|
|
5
|
-
color: 'rgb(0, 217, 157)',
|
|
6
|
-
},
|
|
7
|
-
2: {
|
|
8
|
-
text: '适中',
|
|
9
|
-
itemColor: 'rgb(166, 234, 193)',
|
|
10
|
-
color: 'rgba(0, 0, 0, 0.86)',
|
|
11
|
-
},
|
|
12
|
-
1: {
|
|
13
|
-
text: '欠佳',
|
|
14
|
-
itemColor: 'rgb(239, 154, 154)',
|
|
15
|
-
color: 'rgb(255, 108, 108)',
|
|
16
|
-
},
|
|
17
|
-
};
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { ThemeProvider } from 'fbm-ui';
|
|
14
|
-
import { StyledEngineProvider } from 'fbm-ui/lib/mui';
|
|
15
|
-
import { HoxRoot } from 'hox';
|
|
16
|
-
import { createGenerateClassName, StylesProvider } from '@mui/styles';
|
|
17
|
-
var AnyStylesProvider = StylesProvider;
|
|
18
|
-
var generateClassName = createGenerateClassName({
|
|
19
|
-
seed: 'eli-video-interview',
|
|
20
|
-
productionPrefix: 'eli-video-interview',
|
|
21
|
-
disableGlobal: true,
|
|
22
|
-
});
|
|
23
|
-
var RootProvider = function (_a) {
|
|
24
|
-
var children = _a.children;
|
|
25
|
-
return (_jsx(AnyStylesProvider, __assign({ generateClassName: generateClassName }, { children: _jsx(ThemeProvider, { children: _jsx(StyledEngineProvider, __assign({ injectFirst: true }, { children: _jsx(HoxRoot, { children: children }) })) }) })));
|
|
26
|
-
};
|
|
27
|
-
export default RootProvider;
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
13
|
-
import BigBallSvg from "../BigBallSvg";
|
|
14
|
-
import { formatScore } from "../../utils/utils";
|
|
15
|
-
import { ScoreBigBallRoot } from './styled';
|
|
16
|
-
var ScoreBigBall = function (_a) {
|
|
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
|
-
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: {
|
|
19
|
-
position: 'absolute',
|
|
20
|
-
top: 0,
|
|
21
|
-
right: 0,
|
|
22
|
-
bottom: 0,
|
|
23
|
-
left: 0,
|
|
24
|
-
} }))] }));
|
|
25
|
-
};
|
|
26
|
-
export default ScoreBigBall;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -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,12 +0,0 @@
|
|
|
1
|
-
import { Box, styled } from 'fbm-ui';
|
|
2
|
-
export var ScoreBigBallRoot = styled(Box)({
|
|
3
|
-
display: 'flex',
|
|
4
|
-
justifyContent: 'center',
|
|
5
|
-
alignItems: 'center',
|
|
6
|
-
position: 'absolute',
|
|
7
|
-
top: '50%',
|
|
8
|
-
left: '50%',
|
|
9
|
-
transform: 'translate(-50%, -50%)',
|
|
10
|
-
borderRadius: '50%',
|
|
11
|
-
overflow: 'hidden',
|
|
12
|
-
});
|
|
@@ -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,32 +0,0 @@
|
|
|
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 __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
-
var t = {};
|
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
-
t[p] = s[p];
|
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
-
t[p[i]] = s[p[i]];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
-
import { useState } from 'react';
|
|
25
|
-
import { ReactSVG } from 'react-svg';
|
|
26
|
-
var Icon = function (_a) {
|
|
27
|
-
var name = _a.name, props = __rest(_a, ["name"]);
|
|
28
|
-
var _b = useState(''), src = _b[0], setSrc = _b[1];
|
|
29
|
-
import("../../assets/icons/".concat(name, ".svg")).then(function (v) { return setSrc(v.default); });
|
|
30
|
-
return _jsx(ReactSVG, __assign({ src: src }, props));
|
|
31
|
-
};
|
|
32
|
-
export default Icon;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|