eli-video-interview 1.6.6 → 1.6.7

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.
@@ -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;
@@ -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.7",
4
4
  "description": "鳄梨科技 AI视频面试 React SDK",
5
5
  "author": "鳄梨科技",
6
6
  "license": "MIT",