eli-video-interview 1.6.6 → 1.6.8

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.
@@ -15,6 +15,9 @@ import { Typography } from 'fbm-ui';
15
15
  import { useAiReportStore } from "../../../../store/ai-report/global-store";
16
16
  // 报告头部与"作弊风险"章节共用的风险标签名(命中其一即视为存在面试过程风险)
17
17
  var RISK_TAG_NAMES = ['疑似读稿', '疑似作弊', '面试切屏'];
18
+ // 后端打的标签名是「疑似读背稿」,报告设计文案用「疑似读稿」,按同一项处理
19
+ var TAG_NAME_ALIASES = { 疑似读背稿: '疑似读稿' };
20
+ var normalizeTagName = function (name) { return (name && TAG_NAME_ALIASES[name]) || name || ''; };
18
21
  // 作弊检测详情表(仅命中风险时展示;"有风险"文案取自蓝湖,未命中的行第三列统一"暂无风险")
19
22
  var CHEAT_ROWS = [
20
23
  {
@@ -81,8 +84,8 @@ var CheatRisk = function () {
81
84
  var _b = reportResult.screenSwitchCount, screenSwitchCount = _b === void 0 ? 0 : _b, _c = reportResult.candidateInfo, candidateInfo = _c === void 0 ? {} : _c, _d = reportResult.tags, reportTags = _d === void 0 ? [] : _d;
82
85
  // 与报告头部同源取标签:候选人信息卡标签优先,兜底报告级标签
83
86
  var tagList = ((_a = candidateInfo === null || candidateInfo === void 0 ? void 0 : candidateInfo.tags) === null || _a === void 0 ? void 0 : _a.length) ? candidateInfo.tags : reportTags;
84
- var hitNames = new Set((tagList || []).map(function (t) { return t === null || t === void 0 ? void 0 : t.name; }).filter(function (n) { return Boolean(n); }));
85
- var riskTags = (tagList || []).filter(function (t) { return RISK_TAG_NAMES.includes(t === null || t === void 0 ? void 0 : t.name); });
87
+ var hitNames = new Set((tagList || []).map(function (t) { return normalizeTagName(t === null || t === void 0 ? void 0 : t.name); }).filter(function (n) { return Boolean(n); }));
88
+ var riskTags = (tagList || []).filter(function (t) { return RISK_TAG_NAMES.includes(normalizeTagName(t === null || t === void 0 ? void 0 : t.name)); });
86
89
  // 命中风险标签 或 旧字段(isCheat/切屏次数) 均视为有风险
87
90
  var hasRisk = riskTags.length > 0 || !!(interviewCheat === null || interviewCheat === void 0 ? void 0 : interviewCheat.isCheat) || screenSwitchCount > 0;
88
91
  var fallbackInfo = (interviewCheat === null || interviewCheat === void 0 ? void 0 : interviewCheat.info) || '面试过程中可能存在作弊行为,请结合面试视频核对。';
@@ -42,6 +42,7 @@ import BodyImages from './BodyImages';
42
42
  import ScoreSlider from './ScoreSlider';
43
43
  import SingleChoice from './SingleChoice';
44
44
  import { QuestionDesc } from './styled';
45
+ import Evaluate from './Evaluate';
45
46
  import Workplaces from './Workplaces';
46
47
  import { ADD_QUESTION_TYPE, QUESTION_TYPE } from "../../../../enum/ai-question";
47
48
  import { INTERVIEW_STEP_STATUS } from "../../../../enum/ai-report";
@@ -170,7 +171,7 @@ var QuestionItem = function (props) {
170
171
  flexShrink: 0,
171
172
  whiteSpace: 'nowrap',
172
173
  } }, { children: ["\u8FFD\u95EE", followupIndex + 1] })), _jsx(Typography, __assign({ mt: 0, variant: "body2", sx: { color: '#03BA4C', fontSize: 14, lineHeight: '21px' } }, { children: v === null || v === void 0 ? void 0 : v.desc }))] })), _jsxs(QuestionDesc, __assign({ sx: { pl: 0 } }, { children: [_jsx("img", { className: "MuiSvgIcon-root", src: quoteIconSrc, alt: "", width: 20, height: 15 }), _jsx(Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13, textAlign: 'justify' }, ml: 1 }, { children: v === null || v === void 0 ? void 0 : v.answer }))] }))] }), "followup-".concat(index, "-").concat(followupIndex)));
173
- }), isExistWeight && status !== STEP_COMPLETED && (_jsxs(Box, __assign({ width: "100%", display: "flex", alignItems: "center", mt: 2 }, { children: [_jsx(Box, __assign({ flex: "1 0", display: "flex", alignItems: "center", pl: 2 }, { children: workplaceName && (_jsxs(Stack, __assign({ direction: "row", alignItems: "center", spacing: 0.5, mb: 1 }, { children: [_jsx(Typography, __assign({ sx: { color: '#03BA4C', fontSize: 14 }, variant: "body2", fontWeight: "500" }, { children: "\u8003\u6838\u70B9\uFF1A" })), _jsx(Typography, __assign({ variant: "body2", sx: { fontSize: 14, color: 'rgba(0,0,0,0.8)' } }, { children: workplaceName }))] }))) })), _jsx(Box, __assign({ width: 150, textAlign: "right" }, { children: _jsxs(Typography, __assign({ variant: "body1", fontSize: 16, fontWeight: 500, noWrap: true, display: "flex" }, { children: ["\u7EFC\u5408\u8BC4\u5206\uFF1A", comprehensiveScore] })) }))] }))), showScoreBlock && (_jsxs(Stack, __assign({ mt: 3, spacing: 1, sx: { position: 'relative' } }, { children: [canEditAiDimension && ((workplaceEvaluation && !isSimulated) || (isSimulated && abilities.length > 0)) && (_jsx("img", { onClick: handleModeChange, src: "//webcdn.fbmms.cn/assets/CVlD/V8fHAovf4X6wfXN75KkI9", alt: "", style: { width: 36, height: 36, position: 'absolute', top: 0, right: 0, cursor: 'pointer' } })), workplaceName && (_jsxs(Stack, __assign({ direction: "row", alignItems: "center", spacing: 0.5, mb: 1 }, { children: [_jsx(Typography, __assign({ sx: { color: '#03BA4C', fontSize: 14 }, variant: "body2", fontWeight: "500" }, { children: "\u8003\u6838\u70B9\uFF1A" })), _jsx(Typography, __assign({ variant: "body2", sx: { fontSize: 14, color: 'rgba(0,0,0,0.8)' } }, { children: workplaceName }))] }))), _jsxs(Box, __assign({ mt: 2, display: "flex" }, { children: [_jsxs(Typography, __assign({ variant: "body2", mr: 4, sx: { color: 'rgba(0,0,0,0.6)' } }, { children: ["\u8BC4\u5206\uFF1A", finalScore.toFixed(0), "\u5206"] })), _jsxs(Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)' } }, { children: ["\u5355\u9898\u6743\u91CD\uFF1A", weight, "%"] }))] })), _jsxs(Box, __assign({ width: "100%", display: "flex", alignItems: "center", mt: 2 }, { children: [_jsxs(Box, __assign({ flex: "1 0", display: "flex", alignItems: "center" }, { children: [_jsx(ScoreSlider, { valueLabelDisplay: "".concat(isSingleChoice ? 'off' : 'auto'), originScore: originScore, disabledScore: isSingleChoice, finalScore: finalScore, isShowScoreRank: true, onChangeCommitted: handleChangeCommitted }), isShowAbilitiesButton && (_jsx(Button, __assign({ variant: "text", size: "small", sx: { color: 'rgba(0,0,0,0.6)' }, style: { whiteSpace: 'nowrap', marginLeft: 8 }, onClick: function () { return setShowAbilities(!showAbilities); } }, { children: showAbilities ? '收起' : '详情' })))] })), _jsx(Box, __assign({ width: 150, textAlign: "right" }, { children: _jsxs(Typography, __assign({ variant: "body1", fontWeight: 500, noWrap: true, display: "flex" }, { children: ["\u7EFC\u5408\u8BC4\u5206\uFF1A", comprehensiveScore] })) }))] })), isShowAbilitiesDetails && (_jsx(Box, __assign({ sx: { border: '1px solid #E7F4EC', borderRadius: 2, p: 1.5, mt: 1 } }, { children: _jsx(Abilities, { stepIndex: index, disabledScore: isSingleChoice }) }))), isSimulated && (_jsx(_Fragment, { children: abilities.map(function (v) { return (_createElement(Workplaces, __assign({}, v, { key: v.token, mode: internalMode, token: token }))); }) })), !isSimulated && (_jsxs(Box, __assign({ sx: { mt: 1 } }, { children: [workplaceEvaluation && (_jsxs(Box, __assign({ sx: { mb: 1.5 } }, { children: [_jsx(Typography, __assign({ variant: "body2", fontWeight: 600, sx: { color: '#03BA4C', fontSize: 14, mb: 0.5 } }, { children: "\u7EFC\u5408\u8BC4\u4EF7" })), _jsx(Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13, whiteSpace: 'pre-wrap', lineHeight: 1.8 } }, { children: workplaceEvaluation }))] }))), Array.isArray(aiEvaluation === null || aiEvaluation === void 0 ? void 0 : aiEvaluation.balancePoint) && aiEvaluation.balancePoint.length > 0 && (_jsxs(Box, __assign({ sx: { mb: 1.5 } }, { children: [_jsx(Typography, __assign({ variant: "body2", fontWeight: 600, sx: { color: '#03BA4C', fontSize: 14, mb: 0.5 } }, { children: "\u4F18\u52BF" })), _jsx(Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13, whiteSpace: 'pre-wrap', lineHeight: 1.8 } }, { children: aiEvaluation.balancePoint.join('、') }))] }))), (Array.isArray(aiEvaluation === null || aiEvaluation === void 0 ? void 0 : aiEvaluation.decreasePoint) && aiEvaluation.decreasePoint.length > 0) ||
174
+ }), isExistWeight && status !== STEP_COMPLETED && (_jsxs(Box, __assign({ width: "100%", display: "flex", alignItems: "center", mt: 2 }, { children: [_jsx(Box, __assign({ flex: "1 0", display: "flex", alignItems: "center", pl: 2 }, { children: workplaceName && (_jsxs(Stack, __assign({ direction: "row", alignItems: "center", spacing: 0.5, mb: 1 }, { children: [_jsx(Typography, __assign({ sx: { color: '#03BA4C', fontSize: 14 }, variant: "body2", fontWeight: "500" }, { children: "\u8003\u6838\u70B9\uFF1A" })), _jsx(Typography, __assign({ variant: "body2", sx: { fontSize: 14, color: 'rgba(0,0,0,0.8)' } }, { children: workplaceName }))] }))) })), _jsx(Box, __assign({ width: 150, textAlign: "right" }, { children: _jsxs(Typography, __assign({ variant: "body1", fontSize: 16, fontWeight: 500, noWrap: true, display: "flex" }, { children: ["\u7EFC\u5408\u8BC4\u5206\uFF1A", comprehensiveScore] })) }))] }))), showScoreBlock && (_jsxs(Stack, __assign({ mt: 3, spacing: 1, sx: { position: 'relative' } }, { children: [canEditAiDimension && ((workplaceEvaluation && !isSimulated) || (isSimulated && abilities.length > 0)) && (_jsx("img", { onClick: handleModeChange, src: "//webcdn.fbmms.cn/assets/CVlD/V8fHAovf4X6wfXN75KkI9", alt: "", style: { width: 36, height: 36, position: 'absolute', top: 0, right: 0, cursor: 'pointer' } })), workplaceName && (_jsxs(Stack, __assign({ direction: "row", alignItems: "center", spacing: 0.5, mb: 1 }, { children: [_jsx(Typography, __assign({ sx: { color: '#03BA4C', fontSize: 14 }, variant: "body2", fontWeight: "500" }, { children: "\u8003\u6838\u70B9\uFF1A" })), _jsx(Typography, __assign({ variant: "body2", sx: { fontSize: 14, color: 'rgba(0,0,0,0.8)' } }, { children: workplaceName }))] }))), _jsxs(Box, __assign({ mt: 2, display: "flex" }, { children: [_jsxs(Typography, __assign({ variant: "body2", mr: 4, sx: { color: 'rgba(0,0,0,0.6)' } }, { children: ["\u8BC4\u5206\uFF1A", finalScore.toFixed(0), "\u5206"] })), _jsxs(Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)' } }, { children: ["\u5355\u9898\u6743\u91CD\uFF1A", weight, "%"] }))] })), _jsxs(Box, __assign({ width: "100%", display: "flex", alignItems: "center", mt: 2 }, { children: [_jsxs(Box, __assign({ flex: "1 0", display: "flex", alignItems: "center" }, { children: [_jsx(ScoreSlider, { valueLabelDisplay: "".concat(isSingleChoice ? 'off' : 'auto'), originScore: originScore, disabledScore: isSingleChoice, finalScore: finalScore, isShowScoreRank: true, onChangeCommitted: handleChangeCommitted }), isShowAbilitiesButton && (_jsx(Button, __assign({ variant: "text", size: "small", sx: { color: 'rgba(0,0,0,0.6)' }, style: { whiteSpace: 'nowrap', marginLeft: 8 }, onClick: function () { return setShowAbilities(!showAbilities); } }, { children: showAbilities ? '收起' : '详情' })))] })), _jsx(Box, __assign({ width: 150, textAlign: "right" }, { children: _jsxs(Typography, __assign({ variant: "body1", fontWeight: 500, noWrap: true, display: "flex" }, { children: ["\u7EFC\u5408\u8BC4\u5206\uFF1A", comprehensiveScore] })) }))] })), isShowAbilitiesDetails && (_jsx(Box, __assign({ sx: { border: '1px solid #E7F4EC', borderRadius: 2, p: 1.5, mt: 1 } }, { children: _jsx(Abilities, { stepIndex: index, disabledScore: isSingleChoice }) }))), isSimulated && (_jsx(_Fragment, { children: abilities.map(function (v) { return (_createElement(Workplaces, __assign({}, v, { key: v.token, mode: internalMode, token: token }))); }) })), !isSimulated && (_jsxs(Box, __assign({ sx: { mt: 1 } }, { children: [workplaceEvaluation && _jsx(Evaluate, { token: token, evaluation: workplaceEvaluation, title: "\u7EFC\u5408\u8BC4\u4EF7", mode: internalMode }), Array.isArray(aiEvaluation === null || aiEvaluation === void 0 ? void 0 : aiEvaluation.balancePoint) && aiEvaluation.balancePoint.length > 0 && (_jsxs(Box, __assign({ sx: { mb: 1.5 } }, { children: [_jsx(Typography, __assign({ variant: "body2", fontWeight: 600, sx: { color: '#03BA4C', fontSize: 14, mb: 0.5 } }, { children: "\u4F18\u52BF" })), _jsx(Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13, whiteSpace: 'pre-wrap', lineHeight: 1.8 } }, { children: aiEvaluation.balancePoint.join('、') }))] }))), (Array.isArray(aiEvaluation === null || aiEvaluation === void 0 ? void 0 : aiEvaluation.decreasePoint) && aiEvaluation.decreasePoint.length > 0) ||
174
175
  (Array.isArray(aiEvaluation === null || aiEvaluation === void 0 ? void 0 : aiEvaluation.increasePoint) && aiEvaluation.increasePoint.length > 0) ? (_jsxs(Box, __assign({ sx: { mb: 1.5 } }, { children: [_jsx(Typography, __assign({ variant: "body2", fontWeight: 600, sx: { color: '#03BA4C', fontSize: 14, mb: 0.5 } }, { children: "\u52A3\u52BF" })), _jsx(Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13, whiteSpace: 'pre-wrap', lineHeight: 1.8 } }, { children: __spreadArray(__spreadArray([], __read(((aiEvaluation === null || aiEvaluation === void 0 ? void 0 : aiEvaluation.decreasePoint) || [])), false), __read(((aiEvaluation === null || aiEvaluation === void 0 ? void 0 : aiEvaluation.increasePoint) || [])), false).filter(Boolean).join('、') }))] }))) : null] })))] })))] }), token));
175
176
  };
176
177
  export default QuestionItem;
@@ -17,6 +17,9 @@ var fbm_ui_1 = require("fbm-ui");
17
17
  var global_store_1 = require("../../../../store/ai-report/global-store");
18
18
  // 报告头部与"作弊风险"章节共用的风险标签名(命中其一即视为存在面试过程风险)
19
19
  var RISK_TAG_NAMES = ['疑似读稿', '疑似作弊', '面试切屏'];
20
+ // 后端打的标签名是「疑似读背稿」,报告设计文案用「疑似读稿」,按同一项处理
21
+ var TAG_NAME_ALIASES = { 疑似读背稿: '疑似读稿' };
22
+ var normalizeTagName = function (name) { return (name && TAG_NAME_ALIASES[name]) || name || ''; };
20
23
  // 作弊检测详情表(仅命中风险时展示;"有风险"文案取自蓝湖,未命中的行第三列统一"暂无风险")
21
24
  var CHEAT_ROWS = [
22
25
  {
@@ -83,8 +86,8 @@ var CheatRisk = function () {
83
86
  var _b = reportResult.screenSwitchCount, screenSwitchCount = _b === void 0 ? 0 : _b, _c = reportResult.candidateInfo, candidateInfo = _c === void 0 ? {} : _c, _d = reportResult.tags, reportTags = _d === void 0 ? [] : _d;
84
87
  // 与报告头部同源取标签:候选人信息卡标签优先,兜底报告级标签
85
88
  var tagList = ((_a = candidateInfo === null || candidateInfo === void 0 ? void 0 : candidateInfo.tags) === null || _a === void 0 ? void 0 : _a.length) ? candidateInfo.tags : reportTags;
86
- var hitNames = new Set((tagList || []).map(function (t) { return t === null || t === void 0 ? void 0 : t.name; }).filter(function (n) { return Boolean(n); }));
87
- var riskTags = (tagList || []).filter(function (t) { return RISK_TAG_NAMES.includes(t === null || t === void 0 ? void 0 : t.name); });
89
+ var hitNames = new Set((tagList || []).map(function (t) { return normalizeTagName(t === null || t === void 0 ? void 0 : t.name); }).filter(function (n) { return Boolean(n); }));
90
+ var riskTags = (tagList || []).filter(function (t) { return RISK_TAG_NAMES.includes(normalizeTagName(t === null || t === void 0 ? void 0 : t.name)); });
88
91
  // 命中风险标签 或 旧字段(isCheat/切屏次数) 均视为有风险
89
92
  var hasRisk = riskTags.length > 0 || !!(interviewCheat === null || interviewCheat === void 0 ? void 0 : interviewCheat.isCheat) || screenSwitchCount > 0;
90
93
  var fallbackInfo = (interviewCheat === null || interviewCheat === void 0 ? void 0 : interviewCheat.info) || '面试过程中可能存在作弊行为,请结合面试视频核对。';
@@ -47,6 +47,7 @@ var BodyImages_1 = __importDefault(require("./BodyImages"));
47
47
  var ScoreSlider_1 = __importDefault(require("./ScoreSlider"));
48
48
  var SingleChoice_1 = __importDefault(require("./SingleChoice"));
49
49
  var styled_2 = require("./styled");
50
+ var Evaluate_1 = __importDefault(require("./Evaluate"));
50
51
  var Workplaces_1 = __importDefault(require("./Workplaces"));
51
52
  var ai_question_1 = require("../../../../enum/ai-question");
52
53
  var ai_report_1 = require("../../../../enum/ai-report");
@@ -175,7 +176,7 @@ var QuestionItem = function (props) {
175
176
  flexShrink: 0,
176
177
  whiteSpace: 'nowrap',
177
178
  } }, { children: ["\u8FFD\u95EE", followupIndex + 1] })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ mt: 0, variant: "body2", sx: { color: '#03BA4C', fontSize: 14, lineHeight: '21px' } }, { children: v === null || v === void 0 ? void 0 : v.desc }))] })), (0, jsx_runtime_1.jsxs)(styled_2.QuestionDesc, __assign({ sx: { pl: 0 } }, { children: [(0, jsx_runtime_1.jsx)("img", { className: "MuiSvgIcon-root", src: quoteIconSrc, alt: "", width: 20, height: 15 }), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13, textAlign: 'justify' }, ml: 1 }, { children: v === null || v === void 0 ? void 0 : v.answer }))] }))] }), "followup-".concat(index, "-").concat(followupIndex)));
178
- }), isExistWeight && status !== STEP_COMPLETED && ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ width: "100%", display: "flex", alignItems: "center", mt: 2 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Box, __assign({ flex: "1 0", display: "flex", alignItems: "center", pl: 2 }, { children: workplaceName && ((0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row", alignItems: "center", spacing: 0.5, mb: 1 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ sx: { color: '#03BA4C', fontSize: 14 }, variant: "body2", fontWeight: "500" }, { children: "\u8003\u6838\u70B9\uFF1A" })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", sx: { fontSize: 14, color: 'rgba(0,0,0,0.8)' } }, { children: workplaceName }))] }))) })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Box, __assign({ width: 150, textAlign: "right" }, { children: (0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body1", fontSize: 16, fontWeight: 500, noWrap: true, display: "flex" }, { children: ["\u7EFC\u5408\u8BC4\u5206\uFF1A", comprehensiveScore] })) }))] }))), showScoreBlock && ((0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ mt: 3, spacing: 1, sx: { position: 'relative' } }, { children: [canEditAiDimension && ((workplaceEvaluation && !isSimulated) || (isSimulated && abilities.length > 0)) && ((0, jsx_runtime_1.jsx)("img", { onClick: handleModeChange, src: "//webcdn.fbmms.cn/assets/CVlD/V8fHAovf4X6wfXN75KkI9", alt: "", style: { width: 36, height: 36, position: 'absolute', top: 0, right: 0, cursor: 'pointer' } })), workplaceName && ((0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row", alignItems: "center", spacing: 0.5, mb: 1 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ sx: { color: '#03BA4C', fontSize: 14 }, variant: "body2", fontWeight: "500" }, { children: "\u8003\u6838\u70B9\uFF1A" })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", sx: { fontSize: 14, color: 'rgba(0,0,0,0.8)' } }, { children: workplaceName }))] }))), (0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ mt: 2, display: "flex" }, { children: [(0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body2", mr: 4, sx: { color: 'rgba(0,0,0,0.6)' } }, { children: ["\u8BC4\u5206\uFF1A", finalScore.toFixed(0), "\u5206"] })), (0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)' } }, { children: ["\u5355\u9898\u6743\u91CD\uFF1A", weight, "%"] }))] })), (0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ width: "100%", display: "flex", alignItems: "center", mt: 2 }, { children: [(0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ flex: "1 0", display: "flex", alignItems: "center" }, { children: [(0, jsx_runtime_1.jsx)(ScoreSlider_1.default, { valueLabelDisplay: "".concat(isSingleChoice ? 'off' : 'auto'), originScore: originScore, disabledScore: isSingleChoice, finalScore: finalScore, isShowScoreRank: true, onChangeCommitted: handleChangeCommitted }), isShowAbilitiesButton && ((0, jsx_runtime_1.jsx)(fbm_ui_1.Button, __assign({ variant: "text", size: "small", sx: { color: 'rgba(0,0,0,0.6)' }, style: { whiteSpace: 'nowrap', marginLeft: 8 }, onClick: function () { return setShowAbilities(!showAbilities); } }, { children: showAbilities ? '收起' : '详情' })))] })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Box, __assign({ width: 150, textAlign: "right" }, { children: (0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body1", fontWeight: 500, noWrap: true, display: "flex" }, { children: ["\u7EFC\u5408\u8BC4\u5206\uFF1A", comprehensiveScore] })) }))] })), isShowAbilitiesDetails && ((0, jsx_runtime_1.jsx)(fbm_ui_1.Box, __assign({ sx: { border: '1px solid #E7F4EC', borderRadius: 2, p: 1.5, mt: 1 } }, { children: (0, jsx_runtime_1.jsx)(Abilities_1.default, { stepIndex: index, disabledScore: isSingleChoice }) }))), isSimulated && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: abilities.map(function (v) { return ((0, react_1.createElement)(Workplaces_1.default, __assign({}, v, { key: v.token, mode: internalMode, token: token }))); }) })), !isSimulated && ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ sx: { mt: 1 } }, { children: [workplaceEvaluation && ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ sx: { mb: 1.5 } }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: 600, sx: { color: '#03BA4C', fontSize: 14, mb: 0.5 } }, { children: "\u7EFC\u5408\u8BC4\u4EF7" })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13, whiteSpace: 'pre-wrap', lineHeight: 1.8 } }, { children: workplaceEvaluation }))] }))), Array.isArray(aiEvaluation === null || aiEvaluation === void 0 ? void 0 : aiEvaluation.balancePoint) && aiEvaluation.balancePoint.length > 0 && ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ sx: { mb: 1.5 } }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: 600, sx: { color: '#03BA4C', fontSize: 14, mb: 0.5 } }, { children: "\u4F18\u52BF" })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13, whiteSpace: 'pre-wrap', lineHeight: 1.8 } }, { children: aiEvaluation.balancePoint.join('、') }))] }))), (Array.isArray(aiEvaluation === null || aiEvaluation === void 0 ? void 0 : aiEvaluation.decreasePoint) && aiEvaluation.decreasePoint.length > 0) ||
179
+ }), isExistWeight && status !== STEP_COMPLETED && ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ width: "100%", display: "flex", alignItems: "center", mt: 2 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Box, __assign({ flex: "1 0", display: "flex", alignItems: "center", pl: 2 }, { children: workplaceName && ((0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row", alignItems: "center", spacing: 0.5, mb: 1 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ sx: { color: '#03BA4C', fontSize: 14 }, variant: "body2", fontWeight: "500" }, { children: "\u8003\u6838\u70B9\uFF1A" })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", sx: { fontSize: 14, color: 'rgba(0,0,0,0.8)' } }, { children: workplaceName }))] }))) })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Box, __assign({ width: 150, textAlign: "right" }, { children: (0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body1", fontSize: 16, fontWeight: 500, noWrap: true, display: "flex" }, { children: ["\u7EFC\u5408\u8BC4\u5206\uFF1A", comprehensiveScore] })) }))] }))), showScoreBlock && ((0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ mt: 3, spacing: 1, sx: { position: 'relative' } }, { children: [canEditAiDimension && ((workplaceEvaluation && !isSimulated) || (isSimulated && abilities.length > 0)) && ((0, jsx_runtime_1.jsx)("img", { onClick: handleModeChange, src: "//webcdn.fbmms.cn/assets/CVlD/V8fHAovf4X6wfXN75KkI9", alt: "", style: { width: 36, height: 36, position: 'absolute', top: 0, right: 0, cursor: 'pointer' } })), workplaceName && ((0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row", alignItems: "center", spacing: 0.5, mb: 1 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ sx: { color: '#03BA4C', fontSize: 14 }, variant: "body2", fontWeight: "500" }, { children: "\u8003\u6838\u70B9\uFF1A" })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", sx: { fontSize: 14, color: 'rgba(0,0,0,0.8)' } }, { children: workplaceName }))] }))), (0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ mt: 2, display: "flex" }, { children: [(0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body2", mr: 4, sx: { color: 'rgba(0,0,0,0.6)' } }, { children: ["\u8BC4\u5206\uFF1A", finalScore.toFixed(0), "\u5206"] })), (0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)' } }, { children: ["\u5355\u9898\u6743\u91CD\uFF1A", weight, "%"] }))] })), (0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ width: "100%", display: "flex", alignItems: "center", mt: 2 }, { children: [(0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ flex: "1 0", display: "flex", alignItems: "center" }, { children: [(0, jsx_runtime_1.jsx)(ScoreSlider_1.default, { valueLabelDisplay: "".concat(isSingleChoice ? 'off' : 'auto'), originScore: originScore, disabledScore: isSingleChoice, finalScore: finalScore, isShowScoreRank: true, onChangeCommitted: handleChangeCommitted }), isShowAbilitiesButton && ((0, jsx_runtime_1.jsx)(fbm_ui_1.Button, __assign({ variant: "text", size: "small", sx: { color: 'rgba(0,0,0,0.6)' }, style: { whiteSpace: 'nowrap', marginLeft: 8 }, onClick: function () { return setShowAbilities(!showAbilities); } }, { children: showAbilities ? '收起' : '详情' })))] })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Box, __assign({ width: 150, textAlign: "right" }, { children: (0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body1", fontWeight: 500, noWrap: true, display: "flex" }, { children: ["\u7EFC\u5408\u8BC4\u5206\uFF1A", comprehensiveScore] })) }))] })), isShowAbilitiesDetails && ((0, jsx_runtime_1.jsx)(fbm_ui_1.Box, __assign({ sx: { border: '1px solid #E7F4EC', borderRadius: 2, p: 1.5, mt: 1 } }, { children: (0, jsx_runtime_1.jsx)(Abilities_1.default, { stepIndex: index, disabledScore: isSingleChoice }) }))), isSimulated && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: abilities.map(function (v) { return ((0, react_1.createElement)(Workplaces_1.default, __assign({}, v, { key: v.token, mode: internalMode, token: token }))); }) })), !isSimulated && ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ sx: { mt: 1 } }, { children: [workplaceEvaluation && (0, jsx_runtime_1.jsx)(Evaluate_1.default, { token: token, evaluation: workplaceEvaluation, title: "\u7EFC\u5408\u8BC4\u4EF7", mode: internalMode }), Array.isArray(aiEvaluation === null || aiEvaluation === void 0 ? void 0 : aiEvaluation.balancePoint) && aiEvaluation.balancePoint.length > 0 && ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ sx: { mb: 1.5 } }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: 600, sx: { color: '#03BA4C', fontSize: 14, mb: 0.5 } }, { children: "\u4F18\u52BF" })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13, whiteSpace: 'pre-wrap', lineHeight: 1.8 } }, { children: aiEvaluation.balancePoint.join('、') }))] }))), (Array.isArray(aiEvaluation === null || aiEvaluation === void 0 ? void 0 : aiEvaluation.decreasePoint) && aiEvaluation.decreasePoint.length > 0) ||
179
180
  (Array.isArray(aiEvaluation === null || aiEvaluation === void 0 ? void 0 : aiEvaluation.increasePoint) && aiEvaluation.increasePoint.length > 0) ? ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ sx: { mb: 1.5 } }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: 600, sx: { color: '#03BA4C', fontSize: 14, mb: 0.5 } }, { children: "\u52A3\u52BF" })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13, whiteSpace: 'pre-wrap', lineHeight: 1.8 } }, { children: __spreadArray(__spreadArray([], __read(((aiEvaluation === null || aiEvaluation === void 0 ? void 0 : aiEvaluation.decreasePoint) || [])), false), __read(((aiEvaluation === null || aiEvaluation === void 0 ? void 0 : aiEvaluation.increasePoint) || [])), false).filter(Boolean).join('、') }))] }))) : null] })))] })))] }), token));
180
181
  };
181
182
  exports.default = QuestionItem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eli-video-interview",
3
- "version": "1.6.6",
3
+ "version": "1.6.8",
4
4
  "description": "鳄梨科技 AI视频面试 React SDK",
5
5
  "author": "鳄梨科技",
6
6
  "license": "MIT",