eli-video-interview 1.2.37-beta.4 → 1.2.37
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/BigBallSvg/styled.d.ts +2 -2
- package/esm/components/ScoreBigBall/styled.d.ts +1 -1
- package/esm/components/ScrollDialogContent/index.d.ts +1 -1
- package/esm/components/VideoPreview/styled.d.ts +3 -3
- package/esm/constants/ai-question.d.ts +0 -17
- package/esm/constants/ai-question.js +0 -19
- package/esm/modules/ai-ability/styled.d.ts +2 -2
- package/esm/modules/ai-ability-select/components/AiAbilityItem/styled.d.ts +1 -1
- package/esm/modules/ai-question/Root.js +9 -3
- package/esm/modules/ai-question/components/AiAssessmentCriteria/styled.d.ts +1 -1
- package/esm/modules/ai-question/components/BaseAccordion/styled.d.ts +3 -3
- package/esm/modules/ai-question/components/BootVideo/index.js +22 -45
- package/esm/modules/ai-question/components/BootVideo/styled.d.ts +4 -4
- package/esm/modules/ai-question/components/QuestionModel/Interactive.d.ts +5 -2
- package/esm/modules/ai-question/components/QuestionModel/Interactive.js +10 -12
- package/esm/modules/ai-question/components/QuestionModel/index.js +1 -5
- package/esm/modules/ai-question/components/QuestionModel/interface.d.ts +1 -4
- package/esm/modules/ai-question/components/QuestionModel/styled.d.ts +1 -1
- package/esm/modules/ai-question/components/QuestionPreview/styled.d.ts +2 -2
- package/esm/modules/ai-question/components/QuestionUpdate/RandomQuestion.js +1 -1
- package/esm/modules/ai-question/components/QuestionUpdate/index.js +2 -0
- package/esm/modules/ai-question/components/QuestionUpdate/styled.d.ts +5 -5
- package/esm/modules/ai-question/interface.d.ts +0 -17
- package/esm/modules/ai-report/components/RankingRange/styled.d.ts +2 -2
- package/esm/modules/ai-report/components/ScoreReport/styled.d.ts +4 -4
- package/esm/modules/ai-report/components/VideoQuestion/styled.d.ts +6 -6
- package/esm/modules/ai-report/components/WorkPlaces/styled.d.ts +3 -3
- package/esm/modules/ai-template/components/TemplateList/styled.d.ts +9 -9
- package/esm/modules/ai-template/components/TemplateMenu/styled.d.ts +4 -4
- package/esm/services/ai-question.d.ts +0 -1
- package/esm/services/ai-question.js +1 -3
- package/lib/components/BigBallSvg/styled.d.ts +2 -2
- package/lib/components/ScoreBigBall/styled.d.ts +1 -1
- package/lib/components/ScrollDialogContent/index.d.ts +1 -1
- package/lib/components/VideoPreview/styled.d.ts +3 -3
- package/lib/constants/ai-question.d.ts +0 -17
- package/lib/constants/ai-question.js +1 -20
- package/lib/modules/ai-ability/styled.d.ts +2 -2
- package/lib/modules/ai-ability-select/components/AiAbilityItem/styled.d.ts +1 -1
- package/lib/modules/ai-ability-select/components/AiAbilityList/styled.d.ts +0 -0
- package/lib/modules/ai-ability-select/components/AiAbilityList/styled.js +1 -0
- package/lib/modules/ai-question/Root.js +9 -3
- package/lib/modules/ai-question/components/AiAssessmentCriteria/styled.d.ts +1 -1
- package/lib/modules/ai-question/components/BaseAccordion/styled.d.ts +3 -3
- package/lib/modules/ai-question/components/BootVideo/index.js +19 -42
- package/lib/modules/ai-question/components/BootVideo/styled.d.ts +4 -4
- package/lib/modules/ai-question/components/QuestionModel/Interactive.d.ts +5 -2
- package/lib/modules/ai-question/components/QuestionModel/Interactive.js +8 -10
- package/lib/modules/ai-question/components/QuestionModel/index.js +1 -5
- package/lib/modules/ai-question/components/QuestionModel/interface.d.ts +1 -4
- package/lib/modules/ai-question/components/QuestionModel/styled.d.ts +1 -1
- package/lib/modules/ai-question/components/QuestionPreview/styled.d.ts +2 -2
- package/lib/modules/ai-question/components/QuestionUpdate/RandomQuestion.js +1 -1
- package/lib/modules/ai-question/components/QuestionUpdate/index.js +2 -0
- package/lib/modules/ai-question/components/QuestionUpdate/styled.d.ts +5 -5
- package/lib/modules/ai-question/interface.d.ts +0 -17
- package/lib/modules/ai-report/components/RankingRange/styled.d.ts +2 -2
- package/lib/modules/ai-report/components/ScoreReport/styled.d.ts +4 -4
- package/lib/modules/ai-report/components/VideoQuestion/styled.d.ts +6 -6
- package/lib/modules/ai-report/components/WorkPlaces/styled.d.ts +3 -3
- package/lib/modules/ai-template/components/TemplateList/styled.d.ts +9 -9
- package/lib/modules/ai-template/components/TemplateMenu/styled.d.ts +4 -4
- package/lib/services/ai-question.d.ts +0 -1
- package/lib/services/ai-question.js +1 -4
- package/package.json +2 -2
- package/esm/store/ai-question/interview-room-store.d.ts +0 -20
- package/esm/store/ai-question/interview-room-store.js +0 -21
- package/lib/store/ai-question/interview-room-store.d.ts +0 -20
- package/lib/store/ai-question/interview-room-store.js +0 -24
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const SvgRoot: import("@emotion/styled").StyledComponent<import("@mui/system
|
|
3
|
-
export declare const SvgGRoot: import("@emotion/styled").StyledComponent<import("@mui/system
|
|
2
|
+
export declare const SvgRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").SVGProps<SVGSVGElement>, {}>;
|
|
3
|
+
export declare const SvgGRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").SVGProps<SVGGElement>, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const ScoreBigBallRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
|
-
} & import("@mui/system
|
|
4
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const ScrollDialogContent: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
|
-
} & import("@mui/system
|
|
4
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
5
|
export default ScrollDialogContent;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const VideoPreviewRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
|
-
} & import("@mui/system
|
|
4
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
5
|
export declare const PageTurningRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
6
6
|
children?: import("react").ReactNode;
|
|
7
|
-
} & import("@mui/system
|
|
7
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
8
8
|
export declare const FaceAnalysisRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
9
9
|
children?: import("react").ReactNode;
|
|
10
|
-
} & import("@mui/system
|
|
10
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -20,23 +20,6 @@ export declare const DEFAULT_GUIDE_VIDEO: {
|
|
|
20
20
|
videoUrl: string;
|
|
21
21
|
frameUrl: string;
|
|
22
22
|
}[];
|
|
23
|
-
export declare const DEFAULT_VITUAL_HUMAN_LIST: {
|
|
24
|
-
name: string;
|
|
25
|
-
humanToken: string;
|
|
26
|
-
humanType: number;
|
|
27
|
-
virtualHumanAvatar: string;
|
|
28
|
-
virtualPreviewMedia: string;
|
|
29
|
-
}[];
|
|
30
|
-
export declare const InteractiveModes: {
|
|
31
|
-
1: string;
|
|
32
|
-
2: string;
|
|
33
|
-
};
|
|
34
|
-
export declare const AiVideoStatus: {
|
|
35
|
-
0: string;
|
|
36
|
-
1: string;
|
|
37
|
-
2: string;
|
|
38
|
-
3: string;
|
|
39
|
-
};
|
|
40
23
|
export declare const MAX_UPLOAD_FILE_SIZE: number;
|
|
41
24
|
export declare const MAX_UPLOAD_VIDEO_FILE_SIZE: number;
|
|
42
25
|
export declare const TEST_TYPE_READONLY: number[];
|
|
@@ -31,25 +31,6 @@ export var DEFAULT_GUIDE_VIDEO = [
|
|
|
31
31
|
frameUrl: DEFAULT_GUIDE_VIDEO_THUMB_URL,
|
|
32
32
|
},
|
|
33
33
|
];
|
|
34
|
-
export var DEFAULT_VITUAL_HUMAN_LIST = [
|
|
35
|
-
{
|
|
36
|
-
name: 'xuanxuan',
|
|
37
|
-
humanToken: '71c932a2db9e420ab8782d68861ad0ff',
|
|
38
|
-
humanType: 2,
|
|
39
|
-
virtualHumanAvatar: 'https://alicdn.fbmms.cn/virtual-human-20230720-112709.png',
|
|
40
|
-
virtualPreviewMedia: 'https://demo1-landing-page.oss-cn-beijing.aliyuncs.com/d5bcc15e-f42f-4bad-bde9-2d6c300bf9ca.mp4',
|
|
41
|
-
},
|
|
42
|
-
];
|
|
43
|
-
export var InteractiveModes = {
|
|
44
|
-
1: '传统读题模式',
|
|
45
|
-
2: 'AI面试官对话模式',
|
|
46
|
-
};
|
|
47
|
-
export var AiVideoStatus = {
|
|
48
|
-
0: '播报视频生成中...',
|
|
49
|
-
1: '播报视频生成中...',
|
|
50
|
-
2: '播报视频已生成',
|
|
51
|
-
3: '播报视频生成中...',
|
|
52
|
-
};
|
|
53
34
|
export var MAX_UPLOAD_FILE_SIZE = 1024 * 1024 * 20;
|
|
54
35
|
export var MAX_UPLOAD_VIDEO_FILE_SIZE = 1024 * 1024 * 500;
|
|
55
36
|
export var TEST_TYPE_READONLY = [2, 3, 4, 7, 8, 9, 10, 11, 12];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const AbilityRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
|
-
} & import("@mui/system
|
|
4
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
5
|
export declare const AbilityDrawer: import("@emotion/styled").StyledComponent<import("fbm-ui").DrawerProps & {
|
|
6
6
|
children?: import("react").ReactNode;
|
|
7
|
-
} & import("@mui/system
|
|
7
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const NewBadge: import("@emotion/styled").StyledComponent<import("@mui/system
|
|
2
|
+
export declare const NewBadge: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
@@ -55,7 +55,6 @@ import { PostAiModelUpsert } from "../../services/ai-question";
|
|
|
55
55
|
import { AiAnalysisStoreProvider } from "../../store/ai-question/ai-analysis-store";
|
|
56
56
|
import { getBootVideoStore, useBootVideoStore } from "../../store/ai-question/boot-video-store";
|
|
57
57
|
import { useAiQuestionStore } from "../../store/ai-question/global-store";
|
|
58
|
-
import { useInterviewRoomStore } from "../../store/ai-question/interview-room-store";
|
|
59
58
|
import { getQuestionModelStore } from "../../store/ai-question/question-model-store";
|
|
60
59
|
import { useQuestionModelStore } from "../../store/ai-question/question-model-store";
|
|
61
60
|
import { Box, Message } from 'fbm-ui';
|
|
@@ -63,7 +62,6 @@ import { forwardRef, memo, useEffect, useImperativeHandle } from 'react';
|
|
|
63
62
|
var AiQuestionRoot = forwardRef(function (props, ref) {
|
|
64
63
|
var updateState = useAiQuestionStore().updateState;
|
|
65
64
|
var updateBootVideo = useBootVideoStore().updateBootVideo;
|
|
66
|
-
var interviewRoomState = useInterviewRoomStore().interviewRoomState;
|
|
67
65
|
var addModel = useQuestionModelStore(function (store) { return [store.addModel]; }).addModel;
|
|
68
66
|
var selctedAbilitys = useAiAbilityListStore().selctedAbilitys;
|
|
69
67
|
var handleValues = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -106,7 +104,15 @@ var AiQuestionRoot = forwardRef(function (props, ref) {
|
|
|
106
104
|
_d.label = 2;
|
|
107
105
|
case 2:
|
|
108
106
|
_d.trys.push([2, 4, , 5]);
|
|
109
|
-
return [4 /*yield*/, PostAiModelUpsert(
|
|
107
|
+
return [4 /*yield*/, PostAiModelUpsert({
|
|
108
|
+
name: name,
|
|
109
|
+
thirdToken: '',
|
|
110
|
+
interactType: 1,
|
|
111
|
+
introductoryVideoSetting: {},
|
|
112
|
+
selectAbilities: selctedAbilitys,
|
|
113
|
+
token: token,
|
|
114
|
+
questions: questions,
|
|
115
|
+
})];
|
|
110
116
|
case 3:
|
|
111
117
|
data = (_d.sent()).data;
|
|
112
118
|
return [2 /*return*/, Promise.resolve({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const ListItem: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
|
-
} & import("@mui/system
|
|
4
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const AccordionRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
|
-
} & import("@mui/system
|
|
4
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
5
|
export declare const AccordionTitle: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Typography").TypographyProps & {
|
|
6
6
|
children?: import("react").ReactNode;
|
|
7
|
-
} & import("@mui/system
|
|
7
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
8
8
|
export declare const AccordionSubTitle: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Typography").TypographyProps & {
|
|
9
9
|
children?: import("react").ReactNode;
|
|
10
|
-
} & import("@mui/system
|
|
10
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -18,29 +18,24 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
18
18
|
}
|
|
19
19
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
20
20
|
};
|
|
21
|
-
import { jsx as _jsx, jsxs as _jsxs
|
|
21
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
22
|
import { CustomUploadButtonRoot, CustomUploadCardRoot, CustomUploadCardTitle, CustomUploadedImgRoot } from './styled';
|
|
23
23
|
import ScrollDialogContent from "../../../../components/ScrollDialogContent";
|
|
24
24
|
import SvgIcon from "../../../../components/SvgIcon";
|
|
25
|
-
import { DEFAULT_GUIDE_VIDEO
|
|
26
|
-
import {
|
|
25
|
+
import { DEFAULT_GUIDE_VIDEO } from "../../../../constants/ai-question";
|
|
26
|
+
import { PostCommonUpload } from "../../../../services/ai-question";
|
|
27
27
|
import { useBootVideoStore } from "../../../../store/ai-question/boot-video-store";
|
|
28
|
-
import { useInterviewRoomStore } from "../../../../store/ai-question/interview-room-store";
|
|
29
28
|
import { isExceedMaxVideoFileSize } from "../../../../utils/utils";
|
|
30
29
|
import { useRequest, useSetState } from 'ahooks';
|
|
31
30
|
import { AddIcon, Box, Button, Checkbox, Dialog, Message, Radio, RadioGroup, Typography, Upload } from 'fbm-ui';
|
|
32
31
|
import { Stack } from 'fbm-ui/lib/mui';
|
|
33
32
|
import { useCallback, useEffect, useState } from 'react';
|
|
34
33
|
var BootVideo = function (props) {
|
|
35
|
-
var _a;
|
|
36
34
|
var open = props.open, onClose = props.onClose;
|
|
37
|
-
var
|
|
38
|
-
var
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var _f = useState(DEFAULT_GUIDE_VIDEO), mediaList = _f[0], setMediaList = _f[1];
|
|
42
|
-
var _g = useSetState({ mediaUrl: mediaUrl, thumbUrl: thumbUrl, appliedAllPosition: false }), mediaState = _g[0], setMediaState = _g[1];
|
|
43
|
-
var _h = useRequest(PostCommonUpload, {
|
|
35
|
+
var _a = useBootVideoStore(), mediaUrl = _a.mediaUrl, thumbUrl = _a.thumbUrl, updateBootVideo = _a.updateBootVideo;
|
|
36
|
+
var _b = useState(DEFAULT_GUIDE_VIDEO), mediaList = _b[0], setMediaList = _b[1];
|
|
37
|
+
var _c = useSetState({ mediaUrl: mediaUrl, thumbUrl: thumbUrl, appliedAllPosition: false }), mediaState = _c[0], setMediaState = _c[1];
|
|
38
|
+
var _d = useRequest(PostCommonUpload, {
|
|
44
39
|
manual: true,
|
|
45
40
|
onSuccess: function (_a) {
|
|
46
41
|
var data = _a.data;
|
|
@@ -55,37 +50,13 @@ var BootVideo = function (props) {
|
|
|
55
50
|
]);
|
|
56
51
|
setMediaState({ mediaUrl: item.url, thumbUrl: item.mineExtra.firstFrameUrl });
|
|
57
52
|
},
|
|
58
|
-
}), loading =
|
|
59
|
-
var getAiInterviewerProfileList = useRequest(GetAiInterviewerProfileList, {
|
|
60
|
-
manual: true,
|
|
61
|
-
onSuccess: function (_a) {
|
|
62
|
-
var list = _a.data.list;
|
|
63
|
-
setVirtualManList(list);
|
|
64
|
-
},
|
|
65
|
-
}).run;
|
|
53
|
+
}), loading = _d.loading, postCommonUpload = _d.run;
|
|
66
54
|
var handleSelectVideo = useCallback(function (mediaUrl, thumbUrl) {
|
|
67
55
|
setMediaState({ mediaUrl: mediaUrl, thumbUrl: thumbUrl });
|
|
68
56
|
}, [setMediaState]);
|
|
69
|
-
var handleInteractTypeChange = useCallback(function (e) {
|
|
70
|
-
var _a;
|
|
71
|
-
var value = Number(e.target.value);
|
|
72
|
-
if (value === 1) {
|
|
73
|
-
setInterviewRoomState({ interactType: value });
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
setInterviewRoomState({
|
|
77
|
-
interactType: value,
|
|
78
|
-
aiInterviewerProfile: ((_a = interviewRoomState.aiInterviewerProfile) === null || _a === void 0 ? void 0 : _a.humanType) ? interviewRoomState.aiInterviewerProfile : virtualManList[0],
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
}, [setInterviewRoomState, interviewRoomState, virtualManList]);
|
|
82
|
-
var handleSelectHumanType = useCallback(function (value) {
|
|
83
|
-
setInterviewRoomState({ interactType: interviewRoomState.interactType, aiInterviewerProfile: value });
|
|
84
|
-
}, [setInterviewRoomState, interviewRoomState]);
|
|
85
57
|
var handleOk = function () {
|
|
86
58
|
console.log(mediaState);
|
|
87
59
|
updateBootVideo(mediaState);
|
|
88
|
-
updateInterviewRoom(interviewRoomState);
|
|
89
60
|
onClose();
|
|
90
61
|
};
|
|
91
62
|
var uploadProps = {
|
|
@@ -105,10 +76,19 @@ var BootVideo = function (props) {
|
|
|
105
76
|
postCommonUpload(formData);
|
|
106
77
|
}
|
|
107
78
|
},
|
|
79
|
+
// onChange: ({ file }: any) => {
|
|
80
|
+
// console.log('onChange', file);
|
|
81
|
+
// if (isExceedMaxVideoFileSize(file.size)) {
|
|
82
|
+
// Message.error('视频大小超过500M,请重新上传!');
|
|
83
|
+
// } else {
|
|
84
|
+
// const formData = new FormData();
|
|
85
|
+
// formData.append('files', file.originFileObj);
|
|
86
|
+
// postCommonUpload(formData);
|
|
87
|
+
// }
|
|
88
|
+
// },
|
|
108
89
|
};
|
|
109
90
|
useEffect(function () {
|
|
110
91
|
if (open) {
|
|
111
|
-
getAiInterviewerProfileList();
|
|
112
92
|
setMediaState({ mediaUrl: mediaUrl, thumbUrl: thumbUrl });
|
|
113
93
|
if (mediaUrl && thumbUrl && mediaUrl !== mediaList[0].videoUrl) {
|
|
114
94
|
setMediaList(__spreadArray(__spreadArray([], mediaList, true), [
|
|
@@ -125,12 +105,9 @@ var BootVideo = function (props) {
|
|
|
125
105
|
}
|
|
126
106
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
127
107
|
}, [open]);
|
|
128
|
-
return (_jsx(Dialog, __assign({ open: open, title: "\u5B9A\u5236\u9762\u8BD5\u95F4", okText: "\
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
var videoUrl = _a.videoUrl, frameUrl = _a.frameUrl;
|
|
133
|
-
return (_jsx("img", { src: frameUrl, style: { borderColor: (mediaState === null || mediaState === void 0 ? void 0 : mediaState.mediaUrl) === videoUrl ? '#4CAF50' : 'transparent' }, height: 100, alt: "", onClick: function () { return handleSelectVideo(videoUrl, frameUrl); } }, videoUrl));
|
|
134
|
-
}) }), _jsx(Typography, __assign({ variant: "caption", flexWrap: "wrap", width: 462, color: "text.disabled", mb: 1 }, { children: "\u5EFA\u8BAE\u4E0A\u4F20mp4\u683C\u5F0F\uFF0C\u5927\u5C0F\u4E0D\u8981\u8D85\u8FC7500M\uFF0C\u6700\u591A\u652F\u6301\u4E0A\u4F205\u4E2A\uFF0C\u652F\u6301\u89C6\u9891\u683C\u5F0F\uFF1Amp4\u3001mov\u3001m4v\u30013gp\u3001avi\u3001webm" })), _jsxs(Stack, __assign({ direction: "row", alignItems: "center" }, { children: [_jsx(CustomUploadButtonRoot, { children: _jsx(Upload, __assign({}, uploadProps, { children: _jsx(Button, __assign({ variant: "outlined", color: "inherit", icon: _jsx(AddIcon, {}) }, { children: "\u4E0A\u4F20\u89C6\u9891" })) })) }), _jsx(Box, __assign({ ml: 2 }, { children: _jsx(Checkbox, { checked: mediaState.appliedAllPosition, label: _jsx(Typography, __assign({ variant: "body2" }, { children: "\u5E94\u7528\u5230\u6240\u6709AI\u89C6\u9891" })), onChange: function (e, checked) { return setMediaState({ appliedAllPosition: checked }); } }) }))] }))] }))] }), interviewRoomState.interactType === 1 && (_jsx(Box, __assign({ sx: { maxHeight: 'calc(100vh - 150px)', overflow: 'auto', flexGrow: 1 } }, { children: (mediaState === null || mediaState === void 0 ? void 0 : mediaState.mediaUrl) || loading ? (_jsx(Box, __assign({ loading: loading, sx: { width: 160, height: 286, margin: 'auto', cursor: 'pointer' } }, { children: _jsx("video", { width: 160, height: 286, src: mediaState === null || mediaState === void 0 ? void 0 : mediaState.mediaUrl, controls: true }) }))) : (_jsx(Upload, __assign({}, uploadProps, { children: _jsxs(CustomUploadCardRoot, { children: [_jsxs(CustomUploadCardTitle, { children: [_jsx(SvgIcon, { name: "video" }), _jsx(Typography, __assign({ variant: "subtitle1", color: "secondary" }, { children: "\u4E0A\u4F20\u89C6\u9891" }))] }), _jsx(Typography, __assign({ variant: "caption", color: "disabled", sx: { mt: 1 } }, { children: "\u62D6\u62FD\u89C6\u9891\u5230\u6B64\u5904\u4E5F\u53EF\u4E0A\u4F20" }))] }) }))) }))), interviewRoomState.interactType === 2 && (_jsx(Box, __assign({ sx: { maxHeight: 'calc(100vh - 150px)', overflow: 'auto', flexGrow: 1 } }, { children: _jsx(Box, __assign({ sx: { width: 160, height: 286, margin: 'auto', cursor: 'pointer' } }, { children: _jsx("video", { width: 160, height: 286, src: (_a = interviewRoomState.aiInterviewerProfile) === null || _a === void 0 ? void 0 : _a.virtualPreviewMedia, controls: true }) })) })))] })) }) })));
|
|
108
|
+
return (_jsx(Dialog, __assign({ open: open, title: "\u5B9A\u5236\u9762\u8BD5\u95F4", okText: "\u4FDD\u5B58", onClose: onClose, onOk: handleOk, width: 768 }, { children: _jsx(ScrollDialogContent, { children: _jsxs(Box, __assign({ sx: { display: 'flex', justifyContent: 'space-between' } }, { children: [_jsxs(Stack, { children: [_jsx(Typography, __assign({ variant: "body1", fontWeight: 500 }, { children: "\u9762\u8BD5\u95F4\u4E92\u52A8\u65B9\u5F0F" })), _jsx(RadioGroup, __assign({ defaultValue: "outlined", value: 1 }, { children: _jsx(Radio, { value: "1", label: "\u4F20\u7EDF\u8BFB\u9898\u6A21\u5F0F" }) })), _jsx(Typography, __assign({ variant: "body1", fontWeight: 500, mt: 3, mb: 1 }, { children: "\u5F15\u5BFC\u89C6\u9891" })), _jsx(CustomUploadedImgRoot, { children: mediaList.map(function (_a) {
|
|
109
|
+
var videoUrl = _a.videoUrl, frameUrl = _a.frameUrl;
|
|
110
|
+
return (_jsx("img", { src: frameUrl, style: { borderColor: (mediaState === null || mediaState === void 0 ? void 0 : mediaState.mediaUrl) === videoUrl ? '#4CAF50' : 'transparent' }, height: 100, alt: "", onClick: function () { return handleSelectVideo(videoUrl, frameUrl); } }, videoUrl));
|
|
111
|
+
}) }), _jsx(Typography, __assign({ variant: "caption", flexWrap: "wrap", width: 344, color: "text.disabled", mb: 1 }, { children: "\u5EFA\u8BAE\u4E0A\u4F20mp4\u683C\u5F0F\uFF0C\u5927\u5C0F\u4E0D\u8981\u8D85\u8FC7500M\uFF0C\u6700\u591A\u652F\u6301\u4E0A\u4F205\u4E2A\uFF0C\u652F\u6301\u89C6\u9891\u683C\u5F0F\uFF1Amp4\u3001mov\u3001m4v\u30013gp\u3001avi\u3001webm" })), _jsxs(Stack, __assign({ direction: "row", alignItems: "center" }, { children: [_jsx(CustomUploadButtonRoot, { children: _jsx(Upload, __assign({}, uploadProps, { children: _jsx(Button, __assign({ variant: "outlined", color: "inherit", icon: _jsx(AddIcon, {}) }, { children: "\u4E0A\u4F20\u89C6\u9891" })) })) }), _jsx(Box, __assign({ ml: 2 }, { children: _jsx(Checkbox, { checked: mediaState.appliedAllPosition, label: _jsx(Typography, __assign({ variant: "body2" }, { children: "\u5E94\u7528\u5230\u6240\u6709AI\u89C6\u9891" })), onChange: function (e, checked) { return setMediaState({ appliedAllPosition: checked }); } }) }))] }))] }), _jsx(Box, __assign({ sx: { maxHeight: 'calc(100vh - 150px)', overflow: 'auto', flexGrow: 1 } }, { children: (mediaState === null || mediaState === void 0 ? void 0 : mediaState.mediaUrl) || loading ? (_jsx(Box, __assign({ loading: loading, sx: { width: 160, height: 286, margin: 'auto', cursor: 'pointer' } }, { children: _jsx("video", { width: 160, height: 286, src: mediaState === null || mediaState === void 0 ? void 0 : mediaState.mediaUrl, controls: true }) }))) : (_jsx(Upload, __assign({}, uploadProps, { children: _jsxs(CustomUploadCardRoot, { children: [_jsxs(CustomUploadCardTitle, { children: [_jsx(SvgIcon, { name: "video" }), _jsx(Typography, __assign({ variant: "subtitle1", color: "secondary" }, { children: "\u4E0A\u4F20\u89C6\u9891" }))] }), _jsx(Typography, __assign({ variant: "caption", color: "disabled", sx: { mt: 1 } }, { children: "\u62D6\u62FD\u89C6\u9891\u5230\u6B64\u5904\u4E5F\u53EF\u4E0A\u4F20" }))] }) }))) }))] })) }) })));
|
|
135
112
|
};
|
|
136
113
|
export default BootVideo;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const CustomUploadCardRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
|
-
} & import("@mui/system
|
|
4
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
5
|
export declare const CustomUploadCardTitle: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
6
6
|
children?: import("react").ReactNode;
|
|
7
|
-
} & import("@mui/system
|
|
7
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
8
8
|
export declare const CustomUploadButtonRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
9
9
|
children?: import("react").ReactNode;
|
|
10
|
-
} & import("@mui/system
|
|
10
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
11
11
|
export declare const CustomUploadedImgRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
12
12
|
children?: import("react").ReactNode;
|
|
13
|
-
} & import("@mui/system
|
|
13
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -9,20 +9,18 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
-
import { jsx as _jsx,
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
13
13
|
import BootVideo from '../BootVideo';
|
|
14
|
-
import {
|
|
15
|
-
import { useInterviewRoomStore } from "../../../../store/ai-question/interview-room-store";
|
|
16
|
-
import { useQuestionModelStore } from "../../../../store/ai-question/question-model-store";
|
|
17
|
-
import { Button, CheckCircleOutlineIcon, Typography, VideocamOutlineIcon } from 'fbm-ui';
|
|
14
|
+
import { Button, Typography, VideocamOutlineIcon } from 'fbm-ui';
|
|
18
15
|
import { Paper, Stack } from 'fbm-ui/lib/mui';
|
|
19
16
|
import { useState } from 'react';
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
17
|
+
var InteractiveModes = {
|
|
18
|
+
Traditional: '传统读题模式',
|
|
19
|
+
Chat: 'AI面试官对话模式',
|
|
20
|
+
};
|
|
21
|
+
var Interactive = function (_a) {
|
|
22
|
+
var mode = _a.mode;
|
|
23
|
+
var _b = useState(false), bootVideoOpen = _b[0], setBootVideoOpen = _b[1];
|
|
24
|
+
return (_jsxs(_Fragment, { children: [_jsx(BootVideo, { open: bootVideoOpen, onClose: function () { return setBootVideoOpen(false); } }), _jsxs(Stack, __assign({ direction: "row", justifyContent: "space-between", component: Paper, variant: "outlined", height: 54, alignItems: "center", px: 2, mt: 2 }, { children: [_jsx(Typography, __assign({ variant: "body1", fontWeight: 500 }, { children: "\u9762\u8BD5\u95F4\u4E92\u52A8\u65B9\u5F0F\uFF1A".concat(InteractiveModes[mode]) })), _jsx(Button, __assign({ icon: _jsx(VideocamOutlineIcon, {}), variant: "text", onClick: function () { return setBootVideoOpen(true); } }, { children: "\u5B9A\u5236\u9762\u8BD5\u95F4" }))] }))] }));
|
|
27
25
|
};
|
|
28
26
|
export default Interactive;
|
|
@@ -19,7 +19,6 @@ import { QuestionModelRoot } from './styled';
|
|
|
19
19
|
import { useAiAbilityListStore } from "../../../../store/ai-ability-select/question-ability-store";
|
|
20
20
|
import { PostAiModelDetails } from "../../../../services/ai-question";
|
|
21
21
|
import { useAiQuestionStore } from "../../../../store/ai-question/global-store";
|
|
22
|
-
import { useInterviewRoomStore } from "../../../../store/ai-question/interview-room-store";
|
|
23
22
|
import { useQuestionModelStore } from "../../../../store/ai-question/question-model-store";
|
|
24
23
|
import { useQuestionTemplateStore } from "../../../../store/ai-question/question-template-store";
|
|
25
24
|
import { useRequest } from 'ahooks';
|
|
@@ -28,7 +27,6 @@ var Question = function () {
|
|
|
28
27
|
var isDefaultAdded = useRef(false);
|
|
29
28
|
var _a = useAiQuestionStore(function (store) { return [store.token, store.name, store.templateList]; }), token = _a.token, name = _a.name, templateList = _a.templateList, onLoad = _a.onLoad;
|
|
30
29
|
var aiEvaluationData = useQuestionTemplateStore(function (store) { return [store.aiEvaluationData]; }).aiEvaluationData;
|
|
31
|
-
var updateInterviewRoom = useInterviewRoomStore().updateInterviewRoom;
|
|
32
30
|
var _b = useQuestionModelStore(function (store) { return [store.questionModelData]; }), questionModelData = _b.questionModelData, updateModel = _b.updateModel, addModel = _b.addModel;
|
|
33
31
|
var setSelctedAbilitys = useAiAbilityListStore().setSelctedAbilitys;
|
|
34
32
|
var _c = useRequest(function () { return PostAiModelDetails(token); }, {
|
|
@@ -36,8 +34,6 @@ var Question = function () {
|
|
|
36
34
|
onSuccess: function (_a) {
|
|
37
35
|
var data = _a.data;
|
|
38
36
|
updateModel(data);
|
|
39
|
-
var _b = data.interactType, interactType = _b === void 0 ? 1 : _b, aiInterviewerProfile = data.aiInterviewerProfile, aiVideoStatus = data.aiVideoStatus;
|
|
40
|
-
updateInterviewRoom({ interactType: interactType, aiInterviewerProfile: aiInterviewerProfile, aiVideoStatus: interactType === 1 ? 0 : aiVideoStatus });
|
|
41
37
|
setSelctedAbilitys((data === null || data === void 0 ? void 0 : data.selectAbilities) || []);
|
|
42
38
|
onLoad === null || onLoad === void 0 ? void 0 : onLoad(data.steps);
|
|
43
39
|
},
|
|
@@ -74,6 +70,6 @@ var Question = function () {
|
|
|
74
70
|
}
|
|
75
71
|
}
|
|
76
72
|
}, [token, aiEvaluationData, questionModelData === null || questionModelData === void 0 ? void 0 : questionModelData.steps, templateList, addModel]);
|
|
77
|
-
return (_jsx(QuestionModelRoot, { children: loading ? (_jsx(Skeleton, {})) : (_jsxs(_Fragment, { children: [_jsx(QuestionModelHeader, {}), _jsx(Interactive, {}), _jsx(QuestionModelList, {})] })) }));
|
|
73
|
+
return (_jsx(QuestionModelRoot, { children: loading ? (_jsx(Skeleton, {})) : (_jsxs(_Fragment, { children: [_jsx(QuestionModelHeader, {}), _jsx(Interactive, { mode: "Traditional" }), _jsx(QuestionModelList, {})] })) }));
|
|
78
74
|
};
|
|
79
75
|
export default Question;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { QuestionParams } from '../QuestionUpdate/interface';
|
|
2
|
-
import { AiInterviewerProfile } from '@/modules/ai-question/interface';
|
|
3
2
|
export interface QuestionModelStep extends QuestionParams {
|
|
4
3
|
uniqueId?: string;
|
|
5
4
|
isNotCompute?: boolean;
|
|
@@ -9,9 +8,7 @@ export interface QuestionModelData {
|
|
|
9
8
|
token?: string;
|
|
10
9
|
duration?: number;
|
|
11
10
|
selectAbilities?: string[];
|
|
12
|
-
interactType?:
|
|
13
|
-
aiVideoStatus?: number;
|
|
14
|
-
aiInterviewerProfile?: AiInterviewerProfile;
|
|
11
|
+
interactType?: string;
|
|
15
12
|
steps: QuestionModelStep[];
|
|
16
13
|
}
|
|
17
14
|
export interface QuestionModelDataRes {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const QuestionModelRoot: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Box").BoxProps & {
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
|
-
} & import("@mui/system
|
|
4
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -4,8 +4,8 @@ export declare const PreviewRoot: import("@emotion/styled").StyledComponent<{
|
|
|
4
4
|
classes?: Partial<import("fbm-ui/lib/mui").PaperClasses> | undefined;
|
|
5
5
|
elevation?: number | undefined;
|
|
6
6
|
square?: boolean | undefined;
|
|
7
|
-
sx?: import("@mui/system
|
|
7
|
+
sx?: import("@mui/system").SxProps<import("fbm-ui/lib/mui").Theme> | undefined;
|
|
8
8
|
variant?: "elevation" | "outlined" | undefined;
|
|
9
9
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
10
10
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
11
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "elevation" | "square" | "variant"> & import("@mui/system
|
|
11
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "elevation" | "square" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("fbm-ui/lib/mui").Theme>, {}, {}>;
|
|
@@ -29,7 +29,7 @@ var RandomQuestion = function (_a) {
|
|
|
29
29
|
var handleClose = _a.handleClose;
|
|
30
30
|
handleClose();
|
|
31
31
|
if (!(category === null || category === void 0 ? void 0 : category.token)) {
|
|
32
|
-
Message.error('
|
|
32
|
+
Message.error('题目未选择考察能力,不可快速选题');
|
|
33
33
|
}
|
|
34
34
|
else {
|
|
35
35
|
setOpen(true);
|
|
@@ -216,6 +216,7 @@ var QuestionUpdate = function () {
|
|
|
216
216
|
});
|
|
217
217
|
}); }, [getModelParams, token, editModel, index, addModel, updateQuestionState]);
|
|
218
218
|
var handleWorkplaceData = useCallback(function (curSelectWorkPlace) {
|
|
219
|
+
// console.log('curSelectWorkPlace', curSelectWorkPlace);
|
|
219
220
|
var curAiAbilities = aiAbilities.slice();
|
|
220
221
|
// 是否是初始化
|
|
221
222
|
var inInit = true;
|
|
@@ -225,6 +226,7 @@ var QuestionUpdate = function () {
|
|
|
225
226
|
var CurWorkPlaceAiAbility = __assign(__assign(__assign({}, curSelectWorkPlace), CurWorkplace), { abilityType: 2, weight: 0, sort: 0 });
|
|
226
227
|
inInit = workplaceTypeIndex === -1;
|
|
227
228
|
CurWorkPlaceAiAbility.desc = CurWorkPlaceAiAbility.define ? CurWorkPlaceAiAbility.define : CurWorkPlaceAiAbility.name;
|
|
229
|
+
// console.log('CurWorkPlaceAiAbility', CurWorkPlaceAiAbility);
|
|
228
230
|
// 添加和修改
|
|
229
231
|
if (workplaceTypeIndex > -1) {
|
|
230
232
|
curAiAbilities.splice(workplaceTypeIndex, 1, CurWorkPlaceAiAbility);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VideoPreview: import("@emotion/styled").StyledComponent<import("@mui/system
|
|
3
|
-
export declare const VideoPreviewWrapper: import("@emotion/styled").StyledComponent<import("@mui/system
|
|
4
|
-
export declare const VideoPreviewMask: import("@emotion/styled").StyledComponent<import("@mui/system
|
|
5
|
-
export declare const VideoPreviewMaskContent: import("@emotion/styled").StyledComponent<import("@mui/system
|
|
6
|
-
export declare const VideoPreviewMaskIcon: import("@emotion/styled").StyledComponent<import("@mui/system
|
|
2
|
+
export declare const VideoPreview: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, {}>;
|
|
3
|
+
export declare const VideoPreviewWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
+
export declare const VideoPreviewMask: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
+
export declare const VideoPreviewMaskContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const VideoPreviewMaskIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -78,20 +78,3 @@ export interface AiQuestionRef {
|
|
|
78
78
|
handleValues: () => Promise<AiQuestionValues>;
|
|
79
79
|
handleSubmit: () => Promise<AiQuestionSubmitRes>;
|
|
80
80
|
}
|
|
81
|
-
export interface AiInterviewerProfile {
|
|
82
|
-
name: string;
|
|
83
|
-
humanToken: string;
|
|
84
|
-
humanType: number;
|
|
85
|
-
virtualPreviewMedia?: string;
|
|
86
|
-
virtualHumanAvatar?: string;
|
|
87
|
-
}
|
|
88
|
-
export interface InterviewRoomProps {
|
|
89
|
-
interactType: number;
|
|
90
|
-
aiVideoStatus?: number;
|
|
91
|
-
aiInterviewerProfile?: AiInterviewerProfile;
|
|
92
|
-
}
|
|
93
|
-
export interface AiInterviewerProfileList {
|
|
94
|
-
data: {
|
|
95
|
-
list: AiInterviewerProfile[];
|
|
96
|
-
};
|
|
97
|
-
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const RangeInput: import("@emotion/styled").StyledComponent<import("fbm-ui").BaseInputProps & import("@mui/material").OutlinedInputProps & import("@mui/material").InputProps & {
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
|
-
} & import("@mui/system
|
|
4
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
5
|
export declare const RangeTypography: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Typography").TypographyProps & {
|
|
6
6
|
children?: import("react").ReactNode;
|
|
7
|
-
} & import("@mui/system
|
|
7
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const ScoreTypography: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Typography").TypographyProps & {
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
|
-
} & import("@mui/system
|
|
4
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
5
|
export declare const ScoreUnitTypography: import("@emotion/styled").StyledComponent<import("fbm-ui/lib/components/Typography").TypographyProps & {
|
|
6
6
|
children?: import("react").ReactNode;
|
|
7
|
-
} & import("@mui/system
|
|
7
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
8
8
|
export declare const RefreshIconRoot: import("@emotion/styled").StyledComponent<{
|
|
9
9
|
children?: import("react").ReactNode;
|
|
10
10
|
classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
|
|
@@ -12,11 +12,11 @@ export declare const RefreshIconRoot: import("@emotion/styled").StyledComponent<
|
|
|
12
12
|
fontSize?: "small" | "inherit" | "medium" | "large" | undefined;
|
|
13
13
|
htmlColor?: string | undefined;
|
|
14
14
|
shapeRendering?: string | undefined;
|
|
15
|
-
sx?: import("@mui/system
|
|
15
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
16
16
|
titleAccess?: string | undefined;
|
|
17
17
|
viewBox?: string | undefined;
|
|
18
18
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "name" | "type" | "filter" | "fill" | "values" | "className" | "style" | "display" | "overflow" | "visibility" | "order" | "color" | "width" | "height" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "clipPath" | "cursor" | "direction" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "opacity" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "wordSpacing" | "writingMode" | "mask" | "offset" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "children" | "spacing" | "path" | "key" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "max" | "media" | "method" | "min" | "target" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "local" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "operator" | "orient" | "orientation" | "origin" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
19
19
|
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
20
20
|
}, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "fontSize" | "shapeRendering" | "children" | "sx" | "viewBox" | "htmlColor" | "titleAccess"> & {
|
|
21
21
|
children?: import("react").ReactNode;
|
|
22
|
-
} & import("@mui/system
|
|
22
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|