eli-video-interview 1.6.3 → 1.6.5

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.
@@ -250,9 +250,6 @@ var Graph = function (_a) {
250
250
  draw(layout, items, pathRef.current, ctx);
251
251
  }
252
252
  }, [ctx, items, height, ITEM_SPACING]);
253
- // useEffect(() => {
254
- // console.log(pathRef);
255
- // }, [pathRef]);
256
253
  var handleMouseMove = useCallback(function (e) {
257
254
  if (ctx) {
258
255
  var p = pathRef.current.find(function (p) { return isInPath(e.nativeEvent.offsetX, e.nativeEvent.offsetY, p, ctx); });
@@ -17,7 +17,7 @@ import { useAiReportStore } from "../../../../store/ai-report/global-store";
17
17
  import { formatScore } from "../../../../utils/utils";
18
18
  var HeaderCell = function (_a) {
19
19
  var children = _a.children, _b = _a.width, width = _b === void 0 ? 'auto' : _b;
20
- return (_jsx(Box, __assign({ width: width, flexShrink: 0, py: 1, px: 1.5, bgcolor: "#EBFCF7" }, { children: _jsx(Typography, __assign({ variant: "body2", fontWeight: 700, sx: { color: '#00996B', fontSize: 13, lineHeight: '20px' } }, { children: children })) })));
20
+ return (_jsx(Box, __assign({ width: width, flexShrink: 0, py: 1, px: 1.5, bgcolor: "#EBFCF7", display: "flex", alignItems: "center", justifyContent: "center" }, { children: _jsx(Typography, __assign({ variant: "body2", fontWeight: 700, sx: { color: '#00996B', fontSize: 13, lineHeight: '20px' } }, { children: children })) })));
21
21
  };
22
22
  var CapabilityTable = function () {
23
23
  var reportResult = useAiReportStore(function (store) { return [store.reportResult]; }).reportResult;
@@ -56,7 +56,7 @@ var CapabilityTable = function () {
56
56
  return (_jsx(Box, __assign({ id: "report-capability", px: 2, mt: 3 }, { children: _jsxs(Box, __assign({ mt: 0.5, border: "1px solid #E7F4EC", borderRadius: 2, overflow: "hidden" }, { children: [_jsxs(Stack, __assign({ direction: "row" }, { children: [_jsx(HeaderCell, __assign({ width: "160px" }, { children: "\u80DC\u4EFB\u529B" })), _jsx(Box, __assign({ flex: "1", minWidth: 0 }, { children: _jsx(HeaderCell, { children: "\u5C97\u4F4D\u91CD\u70B9\u8003\u5BDF" }) })), _jsx(Box, __assign({ flex: "1", minWidth: 0 }, { children: _jsx(HeaderCell, { children: "\u9762\u8BD5\u8BC4\u4EF7" }) })), _jsx(HeaderCell, __assign({ width: "90px" }, { children: "\u5F97\u5206" }))] })), rows.map(function (row) {
57
57
  var count = row.collectionToken ? groupCounts[row.collectionToken] : undefined;
58
58
  var score = typeof row.finalScore === 'number' && row.finalScore > 0 ? "".concat(formatScore(row.finalScore), "\u5206") : '-';
59
- return (_jsx(Box, __assign({ borderTop: "1px solid #F0F6F2" }, { children: _jsxs(Stack, __assign({ direction: "row", alignItems: "stretch" }, { children: [_jsxs(Box, __assign({ width: "160px", flexShrink: 0, p: 1.5 }, { children: [_jsx(Typography, __assign({ variant: "body2", fontWeight: 500, sx: { color: 'rgba(0,0,0,0.6)', fontSize: 14 } }, { children: row.name })), count && (_jsx(Box, __assign({ sx: { display: 'inline-flex', alignItems: 'center', bgcolor: '#E8F3FF', color: '#007CFD', borderRadius: '999px', px: 1, py: 0.25, mt: 0.5 } }, { children: _jsxs(Typography, __assign({ variant: "caption", sx: { color: '#007CFD', fontSize: 12, lineHeight: 1 } }, { children: [count.main, "\u4E3B\u95EE\u9898+", count.followups, "\u8FFD\u95EE"] })) })))] })), _jsx(Box, __assign({ flex: "1", minWidth: 0, p: 1.5 }, { children: (row.keyPoints.length > 0 ? row.keyPoints : ['-']).map(function (point, i) { return (_jsx(Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13 }, display: "block" }, { children: point }), i)); }) })), _jsx(Box, __assign({ flex: "1", minWidth: 0, p: 1.5 }, { children: row.evaluation ? (_jsx(Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13 } }, { children: row.evaluation }))) : (_jsx(Typography, __assign({ variant: "body2", color: "rgba(0,0,0,0.26)" }, { children: "-" }))) })), _jsx(Box, __assign({ width: "90px", flexShrink: 0, p: 1.5, textAlign: "right" }, { children: _jsx(Typography, __assign({ variant: "body2", fontWeight: 700, sx: { color: '#03BA4C' } }, { children: score })) }))] })) }), row.step.token));
59
+ return (_jsx(Box, __assign({ borderTop: "1px solid #F0F6F2" }, { children: _jsxs(Stack, __assign({ direction: "row", alignItems: "stretch" }, { children: [_jsxs(Box, __assign({ width: "160px", flexShrink: 0, p: 1.5, display: "flex", flexDirection: "column", justifyContent: "center", alignItems: "center" }, { children: [_jsx(Typography, __assign({ variant: "body2", fontWeight: 500, sx: { color: 'rgba(0,0,0,0.6)', fontSize: 14 } }, { children: row.name })), count && (_jsx(Box, __assign({ sx: { display: 'inline-flex', alignItems: 'center', bgcolor: '#E8F3FF', color: '#007CFD', borderRadius: '999px', px: 1, py: 0.25, mt: 0.5 } }, { children: _jsxs(Typography, __assign({ variant: "caption", sx: { color: '#007CFD', fontSize: 12, lineHeight: 1 } }, { children: [count.main, "\u4E3B\u95EE\u9898+", count.followups, "\u8FFD\u95EE"] })) })))] })), _jsx(Box, __assign({ flex: "1", minWidth: 0, p: 1.5 }, { children: (row.keyPoints.length > 0 ? row.keyPoints : ['-']).map(function (point, i) { return (_jsx(Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13 }, display: "block" }, { children: point }), i)); }) })), _jsx(Box, __assign({ flex: "1", minWidth: 0, p: 1.5 }, { children: row.evaluation ? (_jsx(Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13 } }, { children: row.evaluation }))) : (_jsx(Typography, __assign({ variant: "body2", color: "rgba(0,0,0,0.26)" }, { children: "-" }))) })), _jsx(Box, __assign({ width: "90px", flexShrink: 0, p: 1.5, display: "flex", flexDirection: "column", justifyContent: "center", alignItems: "center" }, { children: _jsx(Typography, __assign({ variant: "body2", fontWeight: 700, sx: { color: '#03BA4C' } }, { children: score })) }))] })) }), row.step.token));
60
60
  })] })) })));
61
61
  };
62
62
  export default CapabilityTable;
@@ -28,7 +28,7 @@ var __read = (this && this.__read) || function (o, n) {
28
28
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
29
29
  import { Box, Stack } from 'fbm-ui/lib/mui';
30
30
  import { Button, IconButton, Message, Popover, Typography } from 'fbm-ui';
31
- import { RefreshIcon } from 'fbm-icons';
31
+ import { RefreshIcon, ShareIcon } from 'fbm-icons';
32
32
  import { useRequest } from 'ahooks';
33
33
  import dayjs from 'dayjs';
34
34
  import { useEffect, useMemo, useState } from 'react';
@@ -136,7 +136,20 @@ var V3Header = function (_a) {
136
136
  fontSize: 28,
137
137
  lineHeight: '39px',
138
138
  color: 'rgba(0,0,0,0.86)',
139
- } }, { children: "AI\u9762\u8BD5\u62A5\u544A" })), _jsxs(Typography, __assign({ variant: "body2", color: "rgba(74,74,74,0.72)", sx: { ml: 1 } }, { children: ["\u62A5\u544A\u751F\u6210\u65F6\u95F4\uFF1A", dayjs(createTime * 1000).format('YYYY-MM-DD HH:mm')] })), (operableButtons === null || operableButtons === void 0 ? void 0 : operableButtons.includes('refresh')) && (_jsx(Popover, __assign({ open: openRefresh, content: refreshContent, onClickAway: function () { return setOpenRefresh(false); } }, { children: _jsx(IconButton, __assign({ onClick: function () { return setOpenRefresh(true); }, size: "small" }, { children: _jsx(RefreshIcon, { sx: { color: '#009908' } }) })) }))), _jsx(Box, { sx: { flex: 1 } }), (operableButtons === null || operableButtons === void 0 ? void 0 : operableButtons.includes('export')) && onExportReportClick && (_jsx(Button, __assign({ variant: "outlined", size: "small", onClick: onExportReportClick, sx: { color: '#fff', borderColor: 'rgba(255,255,255,0.85)', whiteSpace: 'nowrap' } }, { children: "\u5BFC\u51FA\u62A5\u544A" })))] })) })), _jsx(Box, __assign({ sx: { px: 3, py: 2 } }, { children: _jsxs(Stack, __assign({ direction: "row", alignItems: "center", spacing: 3 }, { children: [_jsx(Box, __assign({ width: 137, height: 170, borderRadius: 2, overflow: "hidden", flexShrink: 0, display: "flex", alignItems: "center", justifyContent: "center", bgcolor: "#F2F5F3" }, { children: (candidate === null || candidate === void 0 ? void 0 : candidate.avatar) && !avatarErr ? (_jsx("img", { src: candidate.avatar, alt: "", onError: function () { return setAvatarErr(true); }, style: { width: '100%', height: '100%', objectFit: 'cover' } })) : (_jsx(DefaultAvatar, {})) })), _jsx(Box, __assign({ flex: "1 1 auto", minWidth: 0, sx: {
139
+ } }, { children: "AI\u9762\u8BD5\u62A5\u544A" })), _jsxs(Typography, __assign({ variant: "body2", color: "rgba(74,74,74,0.72)", sx: { ml: 1 } }, { children: ["\u62A5\u544A\u751F\u6210\u65F6\u95F4\uFF1A", dayjs(createTime * 1000).format('YYYY-MM-DD HH:mm')] })), (operableButtons === null || operableButtons === void 0 ? void 0 : operableButtons.includes('refresh')) && (_jsx(Popover, __assign({ open: openRefresh, content: refreshContent, onClickAway: function () { return setOpenRefresh(false); } }, { children: _jsx(IconButton, __assign({ onClick: function () { return setOpenRefresh(true); }, size: "small" }, { children: _jsx(RefreshIcon, { sx: { color: '#009908' } }) })) }))), _jsx(Box, { sx: { flex: 1 } }), (operableButtons === null || operableButtons === void 0 ? void 0 : operableButtons.includes('export')) && onExportReportClick && (_jsxs(Typography, __assign({ variant: "body2", onClick: onExportReportClick, sx: {
140
+ color: '#4BCA50',
141
+ display: 'inline-flex',
142
+ alignItems: 'center',
143
+ gap: 0.5,
144
+ cursor: 'pointer',
145
+ fontSize: 14,
146
+ whiteSpace: 'nowrap',
147
+ bgcolor: '#fff',
148
+ borderRadius: '999px',
149
+ px: 1.5,
150
+ py: 0.5,
151
+ boxShadow: '0 2px 6px rgba(0,0,0,0.10)',
152
+ } }, { children: ["\u5BFC\u51FA\u62A5\u544A", _jsx(ShareIcon, { sx: { width: 16, height: 16 } })] })))] })) })), _jsx(Box, __assign({ sx: { px: 3, py: 2 } }, { children: _jsxs(Stack, __assign({ direction: "row", alignItems: "center", spacing: 3 }, { children: [_jsx(Box, __assign({ width: 137, height: 170, borderRadius: 2, overflow: "hidden", flexShrink: 0, display: "flex", alignItems: "center", justifyContent: "center", bgcolor: "#F2F5F3" }, { children: (candidate === null || candidate === void 0 ? void 0 : candidate.avatar) && !avatarErr ? (_jsx("img", { src: candidate.avatar, alt: "", onError: function () { return setAvatarErr(true); }, style: { width: '100%', height: '100%', objectFit: 'cover' } })) : (_jsx(DefaultAvatar, {})) })), _jsx(Box, __assign({ flex: "1 1 auto", minWidth: 0, sx: {
140
153
  background: '#FBFDFC',
141
154
  borderRadius: 2,
142
155
  px: 2,
@@ -254,9 +254,6 @@ var Graph = function (_a) {
254
254
  draw(layout, items, pathRef.current, ctx);
255
255
  }
256
256
  }, [ctx, items, height, ITEM_SPACING]);
257
- // useEffect(() => {
258
- // console.log(pathRef);
259
- // }, [pathRef]);
260
257
  var handleMouseMove = (0, react_1.useCallback)(function (e) {
261
258
  if (ctx) {
262
259
  var p = pathRef.current.find(function (p) { return isInPath(e.nativeEvent.offsetX, e.nativeEvent.offsetY, p, ctx); });
@@ -19,7 +19,7 @@ var global_store_1 = require("../../../../store/ai-report/global-store");
19
19
  var utils_1 = require("../../../../utils/utils");
20
20
  var HeaderCell = function (_a) {
21
21
  var children = _a.children, _b = _a.width, width = _b === void 0 ? 'auto' : _b;
22
- return ((0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ width: width, flexShrink: 0, py: 1, px: 1.5, bgcolor: "#EBFCF7" }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: 700, sx: { color: '#00996B', fontSize: 13, lineHeight: '20px' } }, { children: children })) })));
22
+ return ((0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ width: width, flexShrink: 0, py: 1, px: 1.5, bgcolor: "#EBFCF7", display: "flex", alignItems: "center", justifyContent: "center" }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: 700, sx: { color: '#00996B', fontSize: 13, lineHeight: '20px' } }, { children: children })) })));
23
23
  };
24
24
  var CapabilityTable = function () {
25
25
  var reportResult = (0, global_store_1.useAiReportStore)(function (store) { return [store.reportResult]; }).reportResult;
@@ -58,7 +58,7 @@ var CapabilityTable = function () {
58
58
  return ((0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ id: "report-capability", px: 2, mt: 3 }, { children: (0, jsx_runtime_1.jsxs)(mui_1.Box, __assign({ mt: 0.5, border: "1px solid #E7F4EC", borderRadius: 2, overflow: "hidden" }, { children: [(0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row" }, { children: [(0, jsx_runtime_1.jsx)(HeaderCell, __assign({ width: "160px" }, { children: "\u80DC\u4EFB\u529B" })), (0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ flex: "1", minWidth: 0 }, { children: (0, jsx_runtime_1.jsx)(HeaderCell, { children: "\u5C97\u4F4D\u91CD\u70B9\u8003\u5BDF" }) })), (0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ flex: "1", minWidth: 0 }, { children: (0, jsx_runtime_1.jsx)(HeaderCell, { children: "\u9762\u8BD5\u8BC4\u4EF7" }) })), (0, jsx_runtime_1.jsx)(HeaderCell, __assign({ width: "90px" }, { children: "\u5F97\u5206" }))] })), rows.map(function (row) {
59
59
  var count = row.collectionToken ? groupCounts[row.collectionToken] : undefined;
60
60
  var score = typeof row.finalScore === 'number' && row.finalScore > 0 ? "".concat((0, utils_1.formatScore)(row.finalScore), "\u5206") : '-';
61
- return ((0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ borderTop: "1px solid #F0F6F2" }, { children: (0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row", alignItems: "stretch" }, { children: [(0, jsx_runtime_1.jsxs)(mui_1.Box, __assign({ width: "160px", flexShrink: 0, p: 1.5 }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: 500, sx: { color: 'rgba(0,0,0,0.6)', fontSize: 14 } }, { children: row.name })), count && ((0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ sx: { display: 'inline-flex', alignItems: 'center', bgcolor: '#E8F3FF', color: '#007CFD', borderRadius: '999px', px: 1, py: 0.25, mt: 0.5 } }, { children: (0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "caption", sx: { color: '#007CFD', fontSize: 12, lineHeight: 1 } }, { children: [count.main, "\u4E3B\u95EE\u9898+", count.followups, "\u8FFD\u95EE"] })) })))] })), (0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ flex: "1", minWidth: 0, p: 1.5 }, { children: (row.keyPoints.length > 0 ? row.keyPoints : ['-']).map(function (point, i) { return ((0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13 }, display: "block" }, { children: point }), i)); }) })), (0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ flex: "1", minWidth: 0, p: 1.5 }, { children: row.evaluation ? ((0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13 } }, { children: row.evaluation }))) : ((0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", color: "rgba(0,0,0,0.26)" }, { children: "-" }))) })), (0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ width: "90px", flexShrink: 0, p: 1.5, textAlign: "right" }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: 700, sx: { color: '#03BA4C' } }, { children: score })) }))] })) }), row.step.token));
61
+ return ((0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ borderTop: "1px solid #F0F6F2" }, { children: (0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row", alignItems: "stretch" }, { children: [(0, jsx_runtime_1.jsxs)(mui_1.Box, __assign({ width: "160px", flexShrink: 0, p: 1.5, display: "flex", flexDirection: "column", justifyContent: "center", alignItems: "center" }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: 500, sx: { color: 'rgba(0,0,0,0.6)', fontSize: 14 } }, { children: row.name })), count && ((0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ sx: { display: 'inline-flex', alignItems: 'center', bgcolor: '#E8F3FF', color: '#007CFD', borderRadius: '999px', px: 1, py: 0.25, mt: 0.5 } }, { children: (0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "caption", sx: { color: '#007CFD', fontSize: 12, lineHeight: 1 } }, { children: [count.main, "\u4E3B\u95EE\u9898+", count.followups, "\u8FFD\u95EE"] })) })))] })), (0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ flex: "1", minWidth: 0, p: 1.5 }, { children: (row.keyPoints.length > 0 ? row.keyPoints : ['-']).map(function (point, i) { return ((0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13 }, display: "block" }, { children: point }), i)); }) })), (0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ flex: "1", minWidth: 0, p: 1.5 }, { children: row.evaluation ? ((0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", sx: { color: 'rgba(0,0,0,0.6)', fontSize: 13 } }, { children: row.evaluation }))) : ((0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", color: "rgba(0,0,0,0.26)" }, { children: "-" }))) })), (0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ width: "90px", flexShrink: 0, p: 1.5, display: "flex", flexDirection: "column", justifyContent: "center", alignItems: "center" }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.Typography, __assign({ variant: "body2", fontWeight: 700, sx: { color: '#03BA4C' } }, { children: score })) }))] })) }), row.step.token));
62
62
  })] })) })));
63
63
  };
64
64
  exports.default = CapabilityTable;
@@ -141,7 +141,20 @@ var V3Header = function (_a) {
141
141
  fontSize: 28,
142
142
  lineHeight: '39px',
143
143
  color: 'rgba(0,0,0,0.86)',
144
- } }, { children: "AI\u9762\u8BD5\u62A5\u544A" })), (0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body2", color: "rgba(74,74,74,0.72)", sx: { ml: 1 } }, { children: ["\u62A5\u544A\u751F\u6210\u65F6\u95F4\uFF1A", (0, dayjs_1.default)(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: refreshContent, onClickAway: function () { return setOpenRefresh(false); } }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.IconButton, __assign({ onClick: function () { return setOpenRefresh(true); }, size: "small" }, { children: (0, jsx_runtime_1.jsx)(fbm_icons_1.RefreshIcon, { sx: { color: '#009908' } }) })) }))), (0, jsx_runtime_1.jsx)(mui_1.Box, { sx: { flex: 1 } }), (operableButtons === null || operableButtons === void 0 ? void 0 : operableButtons.includes('export')) && onExportReportClick && ((0, jsx_runtime_1.jsx)(fbm_ui_1.Button, __assign({ variant: "outlined", size: "small", onClick: onExportReportClick, sx: { color: '#fff', borderColor: 'rgba(255,255,255,0.85)', whiteSpace: 'nowrap' } }, { children: "\u5BFC\u51FA\u62A5\u544A" })))] })) })), (0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ sx: { px: 3, py: 2 } }, { children: (0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row", alignItems: "center", spacing: 3 }, { children: [(0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ width: 137, height: 170, borderRadius: 2, overflow: "hidden", flexShrink: 0, display: "flex", alignItems: "center", justifyContent: "center", bgcolor: "#F2F5F3" }, { children: (candidate === null || candidate === void 0 ? void 0 : candidate.avatar) && !avatarErr ? ((0, jsx_runtime_1.jsx)("img", { src: candidate.avatar, alt: "", onError: function () { return setAvatarErr(true); }, style: { width: '100%', height: '100%', objectFit: 'cover' } })) : ((0, jsx_runtime_1.jsx)(DefaultAvatar, {})) })), (0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ flex: "1 1 auto", minWidth: 0, sx: {
144
+ } }, { children: "AI\u9762\u8BD5\u62A5\u544A" })), (0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body2", color: "rgba(74,74,74,0.72)", sx: { ml: 1 } }, { children: ["\u62A5\u544A\u751F\u6210\u65F6\u95F4\uFF1A", (0, dayjs_1.default)(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: refreshContent, onClickAway: function () { return setOpenRefresh(false); } }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.IconButton, __assign({ onClick: function () { return setOpenRefresh(true); }, size: "small" }, { children: (0, jsx_runtime_1.jsx)(fbm_icons_1.RefreshIcon, { sx: { color: '#009908' } }) })) }))), (0, jsx_runtime_1.jsx)(mui_1.Box, { sx: { flex: 1 } }), (operableButtons === null || operableButtons === void 0 ? void 0 : operableButtons.includes('export')) && onExportReportClick && ((0, jsx_runtime_1.jsxs)(fbm_ui_1.Typography, __assign({ variant: "body2", onClick: onExportReportClick, sx: {
145
+ color: '#4BCA50',
146
+ display: 'inline-flex',
147
+ alignItems: 'center',
148
+ gap: 0.5,
149
+ cursor: 'pointer',
150
+ fontSize: 14,
151
+ whiteSpace: 'nowrap',
152
+ bgcolor: '#fff',
153
+ borderRadius: '999px',
154
+ px: 1.5,
155
+ py: 0.5,
156
+ boxShadow: '0 2px 6px rgba(0,0,0,0.10)',
157
+ } }, { children: ["\u5BFC\u51FA\u62A5\u544A", (0, jsx_runtime_1.jsx)(fbm_icons_1.ShareIcon, { sx: { width: 16, height: 16 } })] })))] })) })), (0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ sx: { px: 3, py: 2 } }, { children: (0, jsx_runtime_1.jsxs)(mui_1.Stack, __assign({ direction: "row", alignItems: "center", spacing: 3 }, { children: [(0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ width: 137, height: 170, borderRadius: 2, overflow: "hidden", flexShrink: 0, display: "flex", alignItems: "center", justifyContent: "center", bgcolor: "#F2F5F3" }, { children: (candidate === null || candidate === void 0 ? void 0 : candidate.avatar) && !avatarErr ? ((0, jsx_runtime_1.jsx)("img", { src: candidate.avatar, alt: "", onError: function () { return setAvatarErr(true); }, style: { width: '100%', height: '100%', objectFit: 'cover' } })) : ((0, jsx_runtime_1.jsx)(DefaultAvatar, {})) })), (0, jsx_runtime_1.jsx)(mui_1.Box, __assign({ flex: "1 1 auto", minWidth: 0, sx: {
145
158
  background: '#FBFDFC',
146
159
  borderRadius: 2,
147
160
  px: 2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eli-video-interview",
3
- "version": "1.6.3",
3
+ "version": "1.6.5",
4
4
  "description": "鳄梨科技 AI视频面试 React SDK",
5
5
  "author": "鳄梨科技",
6
6
  "license": "MIT",