eli-video-interview 1.2.40-alpha.3 → 1.2.40-alpha.4

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.
@@ -70,7 +70,7 @@ var AiReportRoot = forwardRef(function (props, ref) {
70
70
  else {
71
71
  return (_jsxs(Box, { children: [_jsx(NotFinish, {}), (collection === null || collection === void 0 ? void 0 : collection.length) > 0 && _jsx(ScoreReport, { customScore: customScore, onRefreshSuccess: handleRefreshSuccess }), (workplaces === null || workplaces === void 0 ? void 0 : workplaces.length) > 0 && _jsx(WorkPlaces, {}), (collection === null || collection === void 0 ? void 0 : collection.length) > 0 && _jsx(AIEvaluate, {}), _jsx(Suggestion, {}), _jsx(VideoQuestion, {})] }));
72
72
  }
73
- }, [handleRefreshSuccess, onSendReminderClick, reminderSent, status, operableButtons, collection, workplaces]);
73
+ }, [handleRefreshSuccess, onSendReminderClick, customScore, reminderSent, status, operableButtons, collection, workplaces]);
74
74
  return (_jsx(Box, __assign({ loading: firstLoad.current && loading, sx: { width: '100%', minHeight: '584px', height: '100%', margin: '0 auto', overflow: 'auto' } }, { children: aiReportResult })));
75
75
  });
76
76
  AiReportRoot.displayName = 'AiReportRoot';
@@ -19,7 +19,13 @@ var SingleChoice = function (_a) {
19
19
  width: '100%',
20
20
  },
21
21
  } }, { children: options.map(function (v, i) {
22
- return (_jsx(Radio, { value: i, label: _jsxs(Stack, __assign({ width: "100%", direction: "row", spacing: 1, alignItems: "center", justifyContent: "space-between" }, { children: [_jsx(Typography, __assign({ color: "#4caf50", fontWeight: "medium", variant: "caption" }, { children: v.content })), _jsxs(Typography, __assign({ color: "#4caf50", fontWeight: "medium", variant: "caption" }, { children: [v.score, "\u5206"] }))] })) }, i));
22
+ return (_jsx(Radio
23
+ // @ts-ignore
24
+ , {
25
+ // @ts-ignore
26
+ FormControlLabelProps: {
27
+ sx: { pointerEvents: 'none' },
28
+ }, value: i, label: _jsxs(Stack, __assign({ color: "".concat(i === selected[0] ? '#4caf50' : 'rgba(0,0,0,.56)'), fontWeight: "".concat(i === selected[0] ? 'medium' : 'normal'), width: "100%", direction: "row", spacing: 1, alignItems: "center", justifyContent: "space-between" }, { children: [_jsx(Typography, __assign({ color: "inherit", fontWeight: "inherit", variant: "caption" }, { children: v.content })), _jsxs(Typography, __assign({ color: "inherit", fontWeight: "inherit", variant: "caption" }, { children: [v.score, "\u5206"] }))] })) }, i));
23
29
  }) })) }));
24
30
  };
25
31
  export default SingleChoice;
@@ -75,7 +75,7 @@ var AiReportRoot = (0, react_1.forwardRef)(function (props, ref) {
75
75
  else {
76
76
  return ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, { children: [(0, jsx_runtime_1.jsx)(NotFinish_1.default, {}), (collection === null || collection === void 0 ? void 0 : collection.length) > 0 && (0, jsx_runtime_1.jsx)(ScoreReport_1.default, { customScore: customScore, onRefreshSuccess: handleRefreshSuccess }), (workplaces === null || workplaces === void 0 ? void 0 : workplaces.length) > 0 && (0, jsx_runtime_1.jsx)(WorkPlaces_1.default, {}), (collection === null || collection === void 0 ? void 0 : collection.length) > 0 && (0, jsx_runtime_1.jsx)(AIEvaluate_1.default, {}), (0, jsx_runtime_1.jsx)(Suggestion_1.default, {}), (0, jsx_runtime_1.jsx)(VideoQuestion_1.default, {})] }));
77
77
  }
78
- }, [handleRefreshSuccess, onSendReminderClick, reminderSent, status, operableButtons, collection, workplaces]);
78
+ }, [handleRefreshSuccess, onSendReminderClick, customScore, reminderSent, status, operableButtons, collection, workplaces]);
79
79
  return ((0, jsx_runtime_1.jsx)(fbm_ui_1.Box, __assign({ loading: firstLoad.current && loading, sx: { width: '100%', minHeight: '584px', height: '100%', margin: '0 auto', overflow: 'auto' } }, { children: aiReportResult })));
80
80
  });
81
81
  AiReportRoot.displayName = 'AiReportRoot';
@@ -21,7 +21,13 @@ var SingleChoice = function (_a) {
21
21
  width: '100%',
22
22
  },
23
23
  } }, { children: options.map(function (v, i) {
24
- return ((0, jsx_runtime_1.jsx)(fbm_ui_1.Radio, { value: i, label: (0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ width: "100%", direction: "row", spacing: 1, alignItems: "center", justifyContent: "space-between" }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ color: "#4caf50", fontWeight: "medium", variant: "caption" }, { children: v.content })), (0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ color: "#4caf50", fontWeight: "medium", variant: "caption" }, { children: [v.score, "\u5206"] }))] })) }, i));
24
+ return ((0, jsx_runtime_1.jsx)(fbm_ui_1.Radio
25
+ // @ts-ignore
26
+ , {
27
+ // @ts-ignore
28
+ FormControlLabelProps: {
29
+ sx: { pointerEvents: 'none' },
30
+ }, value: i, label: (0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ color: "".concat(i === selected[0] ? '#4caf50' : 'rgba(0,0,0,.56)'), fontWeight: "".concat(i === selected[0] ? 'medium' : 'normal'), width: "100%", direction: "row", spacing: 1, alignItems: "center", justifyContent: "space-between" }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ color: "inherit", fontWeight: "inherit", variant: "caption" }, { children: v.content })), (0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ color: "inherit", fontWeight: "inherit", variant: "caption" }, { children: [v.score, "\u5206"] }))] })) }, i));
25
31
  }) })) }));
26
32
  };
27
33
  exports.default = SingleChoice;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eli-video-interview",
3
- "version": "1.2.40-alpha.3",
3
+ "version": "1.2.40-alpha.4",
4
4
  "description": "鳄梨科技 AI视频面试 React SDK",
5
5
  "author": "鳄梨科技",
6
6
  "license": "MIT",