eli-video-interview 1.2.42-alpha.6 → 1.2.42-alpha.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.
- package/esm/components/AiHeaderTitle/index.js +3 -2
- package/esm/modules/ai-report-v2/Root.js +3 -3
- package/esm/modules/ai-report-v2/components/Form/Form.js +2 -1
- package/esm/modules/ai-report-v2/components/Form/Forms.d.ts +3 -3
- package/esm/modules/ai-report-v2/components/Form/Forms.js +4 -4
- package/esm/modules/ai-report-v2/components/ReportHeader/ReportHeader.js +1 -1
- package/esm/modules/ai-report-v2/components/styled.js +1 -1
- package/esm/modules/ai-report-v2/interface.d.ts +1 -1
- package/esm/modules/ai-report-v2/useAiReport.d.ts +1 -1
- package/lib/components/AiHeaderTitle/index.js +2 -1
- package/lib/modules/ai-report-v2/Root.js +3 -3
- package/lib/modules/ai-report-v2/components/Form/Form.js +2 -1
- package/lib/modules/ai-report-v2/components/Form/Forms.d.ts +3 -3
- package/lib/modules/ai-report-v2/components/Form/Forms.js +4 -4
- package/lib/modules/ai-report-v2/components/ReportHeader/ReportHeader.js +1 -1
- package/lib/modules/ai-report-v2/components/styled.js +1 -1
- package/lib/modules/ai-report-v2/interface.d.ts +1 -1
- package/lib/modules/ai-report-v2/useAiReport.d.ts +1 -1
- package/package.json +1 -1
|
@@ -10,8 +10,9 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { DinTypography } from "../../modules/ai-report-v2/components/styled";
|
|
13
14
|
import SvgIcon from "../SvgIcon";
|
|
14
|
-
import { Box
|
|
15
|
+
import { Box } from 'fbm-ui';
|
|
15
16
|
var AiHeaderTitle = function (_a) {
|
|
16
17
|
var name = _a.name;
|
|
17
18
|
return (_jsxs(Box, __assign({ display: "inline-flex", sx: {
|
|
@@ -21,6 +22,6 @@ var AiHeaderTitle = function (_a) {
|
|
|
21
22
|
background: 'url(//webcdn.fbmms.cn/assets/yt-b/yf2BqqIlr8Xtb8N2o44t1) no-repeat center center',
|
|
22
23
|
backgroundSize: 'contain',
|
|
23
24
|
width: 24 + (56 / 4) * name.length + 84,
|
|
24
|
-
} }, { children: [_jsx(SvgIcon, { name: "AI" }), _jsx(
|
|
25
|
+
} }, { children: [_jsx(SvgIcon, { name: "AI" }), _jsx(DinTypography, __assign({ variant: "h6", color: "inherit" }, { children: name }))] })));
|
|
25
26
|
};
|
|
26
27
|
export default AiHeaderTitle;
|
|
@@ -22,7 +22,7 @@ import { Box, Button, Paper, Typography } from 'fbm-ui';
|
|
|
22
22
|
import { forwardRef, memo, useCallback, useEffect, useImperativeHandle, useMemo, useRef } from 'react';
|
|
23
23
|
var NO_ANSWER = INTERVIEW_STATUS.NO_ANSWER;
|
|
24
24
|
var AiReportRoot = forwardRef(function (props, ref) {
|
|
25
|
-
var token = props.token, customScore = props.customScore, reminderSent = props.reminderSent, operableButtons = props.operableButtons, onLoad = props.onLoad, onSendReminderClick = props.onSendReminderClick,
|
|
25
|
+
var token = props.token, customScore = props.customScore, reminderSent = props.reminderSent, operableButtons = props.operableButtons, onLoad = props.onLoad, onSendReminderClick = props.onSendReminderClick, fetchFormResult = props.fetchFormResult, fetchCandidateInfo = props.fetchCandidateInfo;
|
|
26
26
|
var firstLoad = useRef(true);
|
|
27
27
|
var _a = useAiReportStore(), updateState = _a.updateState, updateReportResult = _a.updateReportResult, reportResult = _a.reportResult;
|
|
28
28
|
var _b = (reportResult || {}).collection, collection = _b === void 0 ? [] : _b;
|
|
@@ -73,7 +73,7 @@ var AiReportRoot = forwardRef(function (props, ref) {
|
|
|
73
73
|
backgroundRepeat: 'no-repeat',
|
|
74
74
|
backgroundPosition: 'center top',
|
|
75
75
|
paddingTop: (collection === null || collection === void 0 ? void 0 : collection.length) > 0 ? 0 : 3,
|
|
76
|
-
} }, { children: [_jsx(NotFinish, {}), (collection === null || collection === void 0 ? void 0 : collection.length) > 0 && (_jsx(ReportHeader, { customScore: customScore, onRefreshSuccess: handleRefreshSuccess, fetchCandidateInfo: fetchCandidateInfo, status: status })), _jsx(FormReport, {
|
|
76
|
+
} }, { children: [_jsx(NotFinish, {}), (collection === null || collection === void 0 ? void 0 : collection.length) > 0 && (_jsx(ReportHeader, { customScore: customScore, onRefreshSuccess: handleRefreshSuccess, fetchCandidateInfo: fetchCandidateInfo, status: status })), _jsx(FormReport, { fetchFormResult: fetchFormResult }), _jsx(Paper, __assign({ variant: "outlined", sx: { zIndex: 1, position: 'relative', mx: 2, borderRadius: 4 } }, { children: _jsx(VideoQuestion, {}) }))] })));
|
|
77
77
|
}
|
|
78
78
|
}, [
|
|
79
79
|
status,
|
|
@@ -84,7 +84,7 @@ var AiReportRoot = forwardRef(function (props, ref) {
|
|
|
84
84
|
customScore,
|
|
85
85
|
handleRefreshSuccess,
|
|
86
86
|
fetchCandidateInfo,
|
|
87
|
-
|
|
87
|
+
fetchFormResult,
|
|
88
88
|
]);
|
|
89
89
|
return (_jsx(Box, __assign({ loading: firstLoad.current && loading, sx: { width: '100%', minHeight: '618px', height: '100%', margin: '0 auto', overflow: 'auto' } }, { children: aiReportResult })));
|
|
90
90
|
});
|
|
@@ -11,6 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
var _a;
|
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
14
|
+
import { DinTypography } from '../styled';
|
|
14
15
|
import Nps from './Nps';
|
|
15
16
|
import { PhotoProvider, PhotoView } from "../../../../components/react-photo-view";
|
|
16
17
|
import dayjs from 'dayjs';
|
|
@@ -54,7 +55,7 @@ var template = (_a = {},
|
|
|
54
55
|
_a);
|
|
55
56
|
var Form = function (_a) {
|
|
56
57
|
var answers = _a.answers, _b = _a.customProcessName, customProcessName = _b === void 0 ? '资料收集' : _b;
|
|
57
|
-
return (_jsxs(Box, __assign({ component: Paper, m: 3, pt: 2 }, { children: [_jsxs(
|
|
58
|
+
return (_jsxs(Box, __assign({ component: Paper, m: 3, pt: 2 }, { children: [_jsxs(DinTypography, __assign({ variant: "h6", sx: {
|
|
58
59
|
pl: 3,
|
|
59
60
|
color: '#009D56',
|
|
60
61
|
background: 'url(//webcdn.fbmms.cn/assets/yt-b/yf2BqqIlr8Xtb8N2o44t1) no-repeat center center',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FormReports } from './interface';
|
|
3
3
|
export interface FormsProps {
|
|
4
|
-
|
|
4
|
+
fetchFormResult: () => Promise<FormReports>;
|
|
5
5
|
}
|
|
6
|
-
declare const Forms: ({
|
|
7
|
-
|
|
6
|
+
declare const Forms: ({ fetchFormResult }: {
|
|
7
|
+
fetchFormResult: any;
|
|
8
8
|
}) => JSX.Element;
|
|
9
9
|
export default Forms;
|
|
@@ -29,17 +29,17 @@ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
|
29
29
|
import Form from './Form';
|
|
30
30
|
import { useEffect, useState } from 'react';
|
|
31
31
|
var Forms = function (_a) {
|
|
32
|
-
var
|
|
32
|
+
var fetchFormResult = _a.fetchFormResult;
|
|
33
33
|
var _b = __read(useState([]), 2), data = _b[0], setData = _b[1];
|
|
34
34
|
useEffect(function () {
|
|
35
|
-
if (
|
|
36
|
-
|
|
35
|
+
if (fetchFormResult) {
|
|
36
|
+
fetchFormResult()
|
|
37
37
|
.then(function (res) {
|
|
38
38
|
setData(res);
|
|
39
39
|
})
|
|
40
40
|
.catch(console);
|
|
41
41
|
}
|
|
42
|
-
}, [
|
|
42
|
+
}, [fetchFormResult]);
|
|
43
43
|
return (_jsx(_Fragment, { children: data.map(function (item, index) { return (_jsx(Form, __assign({}, item), index)); }) }));
|
|
44
44
|
};
|
|
45
45
|
export default Forms;
|
|
@@ -82,6 +82,6 @@ var ReportHeader = function (_a) {
|
|
|
82
82
|
color: 'rgba(74, 74, 74, 0.86)',
|
|
83
83
|
} }, { children: ["\u62A5\u544A\u751F\u6210\u65F6\u95F4\uFF1A", dayjs(createTime && createTime * 1000).format('YYYY-MM-DD HH:mm')] })), (operableButtons === null || operableButtons === void 0 ? void 0 : operableButtons.includes('refresh')) && (_jsx(Popover, __assign({ open: openRefresh, content: content, onClickAway: function () { return setOpenRefresh(false); } }, { children: _jsx(IconButton, __assign({ size: "small", onClick: function () { return setOpenRefresh(true); } }, { children: _jsx(RefreshIcon, { sx: {
|
|
84
84
|
color: '#009908',
|
|
85
|
-
} }) })) })))] })), _jsx(Typography, __assign({ variant: "h5", textAlign: "center", color: "#009D56", sx: { fontFamily: '
|
|
85
|
+
} }) })) })))] })), _jsx(Typography, __assign({ variant: "h5", textAlign: "center", color: "#009D56", sx: { fontFamily: 'MiSans Medium', alignSelf: 'center' } }, { children: "AI \u9762\u8BD5\u62A5\u544A" })), (operableButtons === null || operableButtons === void 0 ? void 0 : operableButtons.includes('export')) && (_jsx(Button, __assign({ endIcon: _jsx(ShareIcon, {}), variant: "outlined", onClick: onExportReportClick, sx: { borderRadius: 18 } }, { children: "\u5BFC\u51FA\u62A5\u544A" })))] })), _jsxs(Stack, { children: [fetchCandidateInfo && _jsx(CandidateReport, { fetchCandidateInfo: fetchCandidateInfo }), !fetchCandidateInfo && _jsx(PodiumReport, { score: formatScore(feScore || 0) })] }), _jsx(Stack, __assign({ width: 1, direction: "row" }, { children: _jsx(AIEvaluate, {}) }))] })));
|
|
86
86
|
};
|
|
87
87
|
export default ReportHeader;
|
|
@@ -206,7 +206,7 @@ export interface AiReportProps {
|
|
|
206
206
|
onSendReminderClick?: () => void;
|
|
207
207
|
onScoreRankIntervalsChange?: (scoreRankIntervals?: ScoreRankIntervals[]) => void;
|
|
208
208
|
onScoreRankIntervalsSubmit?: (scoreRankIntervals?: ScoreRankIntervals[]) => Promise<any>;
|
|
209
|
-
|
|
209
|
+
fetchFormResult?: () => Promise<FormReports>;
|
|
210
210
|
fetchCandidateInfo?: () => Promise<CandidateInfo>;
|
|
211
211
|
}
|
|
212
212
|
export interface AiReportRef {
|
|
@@ -25,7 +25,7 @@ export declare const useAiReportV2: (props: AiReportProps) => {
|
|
|
25
25
|
onSendReminderClick?: (() => void) | undefined;
|
|
26
26
|
onScoreRankIntervalsChange?: ((scoreRankIntervals?: import("./components/RankingRange/interface").ScoreRankIntervals[] | undefined) => void) | undefined;
|
|
27
27
|
onScoreRankIntervalsSubmit?: ((scoreRankIntervals?: import("./components/RankingRange/interface").ScoreRankIntervals[] | undefined) => Promise<any>) | undefined;
|
|
28
|
-
|
|
28
|
+
fetchFormResult?: (() => Promise<import("./components/Form/interface").FormReports>) | undefined;
|
|
29
29
|
fetchCandidateInfo?: (() => Promise<import("./components/Candidate/Interface").CandidateInfo>) | undefined;
|
|
30
30
|
ref: import("react").MutableRefObject<AiReportRef | undefined>;
|
|
31
31
|
};
|
|
@@ -15,6 +15,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
18
|
+
var styled_1 = require("../../modules/ai-report-v2/components/styled");
|
|
18
19
|
var SvgIcon_1 = __importDefault(require("../SvgIcon"));
|
|
19
20
|
var fbm_ui_1 = require("fbm-ui");
|
|
20
21
|
var AiHeaderTitle = function (_a) {
|
|
@@ -26,6 +27,6 @@ var AiHeaderTitle = function (_a) {
|
|
|
26
27
|
background: 'url(//webcdn.fbmms.cn/assets/yt-b/yf2BqqIlr8Xtb8N2o44t1) no-repeat center center',
|
|
27
28
|
backgroundSize: 'contain',
|
|
28
29
|
width: 24 + (56 / 4) * name.length + 84,
|
|
29
|
-
} }, { children: [(0, jsx_runtime_1.jsx)(SvgIcon_1.default, { name: "AI" }), (0, jsx_runtime_1.jsx)(
|
|
30
|
+
} }, { children: [(0, jsx_runtime_1.jsx)(SvgIcon_1.default, { name: "AI" }), (0, jsx_runtime_1.jsx)(styled_1.DinTypography, __assign({ variant: "h6", color: "inherit" }, { children: name }))] })));
|
|
30
31
|
};
|
|
31
32
|
exports.default = AiHeaderTitle;
|
|
@@ -27,7 +27,7 @@ var fbm_ui_1 = require("fbm-ui");
|
|
|
27
27
|
var react_1 = require("react");
|
|
28
28
|
var NO_ANSWER = ai_report_1.INTERVIEW_STATUS.NO_ANSWER;
|
|
29
29
|
var AiReportRoot = (0, react_1.forwardRef)(function (props, ref) {
|
|
30
|
-
var token = props.token, customScore = props.customScore, reminderSent = props.reminderSent, operableButtons = props.operableButtons, onLoad = props.onLoad, onSendReminderClick = props.onSendReminderClick,
|
|
30
|
+
var token = props.token, customScore = props.customScore, reminderSent = props.reminderSent, operableButtons = props.operableButtons, onLoad = props.onLoad, onSendReminderClick = props.onSendReminderClick, fetchFormResult = props.fetchFormResult, fetchCandidateInfo = props.fetchCandidateInfo;
|
|
31
31
|
var firstLoad = (0, react_1.useRef)(true);
|
|
32
32
|
var _a = (0, global_store_1.useAiReportStore)(), updateState = _a.updateState, updateReportResult = _a.updateReportResult, reportResult = _a.reportResult;
|
|
33
33
|
var _b = (reportResult || {}).collection, collection = _b === void 0 ? [] : _b;
|
|
@@ -78,7 +78,7 @@ var AiReportRoot = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
78
78
|
backgroundRepeat: 'no-repeat',
|
|
79
79
|
backgroundPosition: 'center top',
|
|
80
80
|
paddingTop: (collection === null || collection === void 0 ? void 0 : collection.length) > 0 ? 0 : 3,
|
|
81
|
-
} }, { children: [(0, jsx_runtime_1.jsx)(NotFinish_1.default, {}), (collection === null || collection === void 0 ? void 0 : collection.length) > 0 && ((0, jsx_runtime_1.jsx)(ReportHeader_1.default, { customScore: customScore, onRefreshSuccess: handleRefreshSuccess, fetchCandidateInfo: fetchCandidateInfo, status: status })), (0, jsx_runtime_1.jsx)(Form_1.FormReport, {
|
|
81
|
+
} }, { children: [(0, jsx_runtime_1.jsx)(NotFinish_1.default, {}), (collection === null || collection === void 0 ? void 0 : collection.length) > 0 && ((0, jsx_runtime_1.jsx)(ReportHeader_1.default, { customScore: customScore, onRefreshSuccess: handleRefreshSuccess, fetchCandidateInfo: fetchCandidateInfo, status: status })), (0, jsx_runtime_1.jsx)(Form_1.FormReport, { fetchFormResult: fetchFormResult }), (0, jsx_runtime_1.jsx)(fbm_ui_1.Paper, __assign({ variant: "outlined", sx: { zIndex: 1, position: 'relative', mx: 2, borderRadius: 4 } }, { children: (0, jsx_runtime_1.jsx)(VideoQuestion_1.default, {}) }))] })));
|
|
82
82
|
}
|
|
83
83
|
}, [
|
|
84
84
|
status,
|
|
@@ -89,7 +89,7 @@ var AiReportRoot = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
89
89
|
customScore,
|
|
90
90
|
handleRefreshSuccess,
|
|
91
91
|
fetchCandidateInfo,
|
|
92
|
-
|
|
92
|
+
fetchFormResult,
|
|
93
93
|
]);
|
|
94
94
|
return ((0, jsx_runtime_1.jsx)(fbm_ui_1.Box, __assign({ loading: firstLoad.current && loading, sx: { width: '100%', minHeight: '618px', height: '100%', margin: '0 auto', overflow: 'auto' } }, { children: aiReportResult })));
|
|
95
95
|
});
|
|
@@ -17,6 +17,7 @@ var _a;
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.QUESTION_TYPE = void 0;
|
|
19
19
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
20
|
+
var styled_1 = require("../styled");
|
|
20
21
|
var Nps_1 = __importDefault(require("./Nps"));
|
|
21
22
|
var react_photo_view_1 = require("../../../../components/react-photo-view");
|
|
22
23
|
var dayjs_1 = __importDefault(require("dayjs"));
|
|
@@ -60,7 +61,7 @@ var template = (_a = {},
|
|
|
60
61
|
_a);
|
|
61
62
|
var Form = function (_a) {
|
|
62
63
|
var answers = _a.answers, _b = _a.customProcessName, customProcessName = _b === void 0 ? '资料收集' : _b;
|
|
63
|
-
return ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ component: fbm_ui_1.Paper, m: 3, pt: 2 }, { children: [(0, jsx_runtime_1.jsxs)(
|
|
64
|
+
return ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ component: fbm_ui_1.Paper, m: 3, pt: 2 }, { children: [(0, jsx_runtime_1.jsxs)(styled_1.DinTypography, __assign({ variant: "h6", sx: {
|
|
64
65
|
pl: 3,
|
|
65
66
|
color: '#009D56',
|
|
66
67
|
background: 'url(//webcdn.fbmms.cn/assets/yt-b/yf2BqqIlr8Xtb8N2o44t1) no-repeat center center',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FormReports } from './interface';
|
|
3
3
|
export interface FormsProps {
|
|
4
|
-
|
|
4
|
+
fetchFormResult: () => Promise<FormReports>;
|
|
5
5
|
}
|
|
6
|
-
declare const Forms: ({
|
|
7
|
-
|
|
6
|
+
declare const Forms: ({ fetchFormResult }: {
|
|
7
|
+
fetchFormResult: any;
|
|
8
8
|
}) => JSX.Element;
|
|
9
9
|
export default Forms;
|
|
@@ -34,17 +34,17 @@ var jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
34
34
|
var Form_1 = __importDefault(require("./Form"));
|
|
35
35
|
var react_1 = require("react");
|
|
36
36
|
var Forms = function (_a) {
|
|
37
|
-
var
|
|
37
|
+
var fetchFormResult = _a.fetchFormResult;
|
|
38
38
|
var _b = __read((0, react_1.useState)([]), 2), data = _b[0], setData = _b[1];
|
|
39
39
|
(0, react_1.useEffect)(function () {
|
|
40
|
-
if (
|
|
41
|
-
|
|
40
|
+
if (fetchFormResult) {
|
|
41
|
+
fetchFormResult()
|
|
42
42
|
.then(function (res) {
|
|
43
43
|
setData(res);
|
|
44
44
|
})
|
|
45
45
|
.catch(console);
|
|
46
46
|
}
|
|
47
|
-
}, [
|
|
47
|
+
}, [fetchFormResult]);
|
|
48
48
|
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: data.map(function (item, index) { return ((0, jsx_runtime_1.jsx)(Form_1.default, __assign({}, item), index)); }) }));
|
|
49
49
|
};
|
|
50
50
|
exports.default = Forms;
|
|
@@ -87,6 +87,6 @@ var ReportHeader = function (_a) {
|
|
|
87
87
|
color: 'rgba(74, 74, 74, 0.86)',
|
|
88
88
|
} }, { children: ["\u62A5\u544A\u751F\u6210\u65F6\u95F4\uFF1A", (0, dayjs_1.default)(createTime && createTime * 1000).format('YYYY-MM-DD HH:mm')] })), (operableButtons === null || operableButtons === void 0 ? void 0 : operableButtons.includes('refresh')) && ((0, jsx_runtime_1.jsx)(fbm_ui_1.Popover, __assign({ open: openRefresh, content: content, onClickAway: function () { return setOpenRefresh(false); } }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.IconButton, __assign({ size: "small", onClick: function () { return setOpenRefresh(true); } }, { children: (0, jsx_runtime_1.jsx)(fbm_icons_1.RefreshIcon, { sx: {
|
|
89
89
|
color: '#009908',
|
|
90
|
-
} }) })) })))] })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "h5", textAlign: "center", color: "#009D56", sx: { fontFamily: '
|
|
90
|
+
} }) })) })))] })), (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "h5", textAlign: "center", color: "#009D56", sx: { fontFamily: 'MiSans Medium', alignSelf: 'center' } }, { children: "AI \u9762\u8BD5\u62A5\u544A" })), (operableButtons === null || operableButtons === void 0 ? void 0 : operableButtons.includes('export')) && ((0, jsx_runtime_1.jsx)(fbm_ui_1.Button, __assign({ endIcon: (0, jsx_runtime_1.jsx)(fbm_icons_1.ShareIcon, {}), variant: "outlined", onClick: onExportReportClick, sx: { borderRadius: 18 } }, { children: "\u5BFC\u51FA\u62A5\u544A" })))] })), (0, jsx_runtime_1.jsxs)(mui_1.Stack, { children: [fetchCandidateInfo && (0, jsx_runtime_1.jsx)(Candidate_1.CandidateReport, { fetchCandidateInfo: fetchCandidateInfo }), !fetchCandidateInfo && (0, jsx_runtime_1.jsx)(Candidate_1.PodiumReport, { score: (0, utils_1.formatScore)(feScore || 0) })] }), (0, jsx_runtime_1.jsx)(mui_1.Stack, __assign({ width: 1, direction: "row" }, { children: (0, jsx_runtime_1.jsx)(AIEvaluate_1.default, {}) }))] })));
|
|
91
91
|
};
|
|
92
92
|
exports.default = ReportHeader;
|
|
@@ -56,7 +56,7 @@ exports.ReportAvatar = (0, fbm_ui_1.styled)(fbm_ui_1.Box)(function (_a) {
|
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
58
|
exports.DinTypography = (0, fbm_ui_1.styled)(fbm_ui_1.Typography)({
|
|
59
|
-
fontFamily: '
|
|
59
|
+
fontFamily: 'MiSans Medium',
|
|
60
60
|
});
|
|
61
61
|
var ReportTagStyles = [
|
|
62
62
|
{
|
|
@@ -206,7 +206,7 @@ export interface AiReportProps {
|
|
|
206
206
|
onSendReminderClick?: () => void;
|
|
207
207
|
onScoreRankIntervalsChange?: (scoreRankIntervals?: ScoreRankIntervals[]) => void;
|
|
208
208
|
onScoreRankIntervalsSubmit?: (scoreRankIntervals?: ScoreRankIntervals[]) => Promise<any>;
|
|
209
|
-
|
|
209
|
+
fetchFormResult?: () => Promise<FormReports>;
|
|
210
210
|
fetchCandidateInfo?: () => Promise<CandidateInfo>;
|
|
211
211
|
}
|
|
212
212
|
export interface AiReportRef {
|
|
@@ -25,7 +25,7 @@ export declare const useAiReportV2: (props: AiReportProps) => {
|
|
|
25
25
|
onSendReminderClick?: (() => void) | undefined;
|
|
26
26
|
onScoreRankIntervalsChange?: ((scoreRankIntervals?: import("./components/RankingRange/interface").ScoreRankIntervals[] | undefined) => void) | undefined;
|
|
27
27
|
onScoreRankIntervalsSubmit?: ((scoreRankIntervals?: import("./components/RankingRange/interface").ScoreRankIntervals[] | undefined) => Promise<any>) | undefined;
|
|
28
|
-
|
|
28
|
+
fetchFormResult?: (() => Promise<import("./components/Form/interface").FormReports>) | undefined;
|
|
29
29
|
fetchCandidateInfo?: (() => Promise<import("./components/Candidate/Interface").CandidateInfo>) | undefined;
|
|
30
30
|
ref: import("react").MutableRefObject<AiReportRef | undefined>;
|
|
31
31
|
};
|