eli-video-interview 1.2.42-alpha.6 → 1.2.42-alpha.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.
@@ -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, Typography } from 'fbm-ui';
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(Typography, __assign({ variant: "h6", color: "inherit" }, { children: name }))] })));
25
+ } }, { children: [_jsx(SvgIcon, { name: "AI" }), _jsx(DinTypography, __assign({ variant: "h6", color: "inherit" }, { children: name }))] })));
25
26
  };
26
27
  export default AiHeaderTitle;
@@ -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(Typography, __assign({ variant: "h6", sx: {
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',
@@ -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: 'DIN Alternate-Bold', 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, {}) }))] })));
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;
@@ -53,7 +53,7 @@ export var ReportAvatar = styled(Box)(function (_a) {
53
53
  });
54
54
  });
55
55
  export var DinTypography = styled(Typography)({
56
- fontFamily: 'DIN Alternate, DIN Alternate',
56
+ fontFamily: 'MiSans Medium',
57
57
  });
58
58
  var ReportTagStyles = [
59
59
  {
@@ -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)(fbm_ui_1.Typography, __assign({ variant: "h6", color: "inherit" }, { children: name }))] })));
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;
@@ -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)(fbm_ui_1.Typography, __assign({ variant: "h6", sx: {
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',
@@ -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: 'DIN Alternate-Bold', 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, {}) }))] })));
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: 'DIN Alternate, DIN Alternate',
59
+ fontFamily: 'MiSans Medium',
60
60
  });
61
61
  var ReportTagStyles = [
62
62
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eli-video-interview",
3
- "version": "1.2.42-alpha.6",
3
+ "version": "1.2.42-alpha.7",
4
4
  "description": "鳄梨科技 AI视频面试 React SDK",
5
5
  "author": "鳄梨科技",
6
6
  "license": "MIT",