eli-video-interview 1.2.42-alpha.48 → 1.2.42-alpha.49
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.
|
@@ -201,7 +201,7 @@ var QuestionForm = forwardRef(function (props, ref) {
|
|
|
201
201
|
multiline: true,
|
|
202
202
|
placeholder: '朗读内容(候选人将根据此内容进行朗读)',
|
|
203
203
|
sx: { padding: 0 },
|
|
204
|
-
} })), _jsxs(Box, __assign({ display: "flex" }, { children: [_jsx(FormItem, __assign({ sx: { height: 64, flex: '1 0', mr: 2 }, required: true, disabled: preview, name: "prepareTime", label: "\u51C6\u5907\u65F6\u957F" }, { children: _jsx(Select, { options: prepareTimeOptions }) })), _jsx(FormItem, __assign({ sx: { height: 64, flex: '1 0' }, required: true, disabled: preview, name: "duration", label: "\u56DE\u7B54\u65F6\u957F" }, { children: _jsx(Select, { options: durationOptions }) })), _jsx(FormItem, { sx: { height: 64, flex: '1 0', ml: 2 }, name: "minResponseDuration", label: "\u6700\u5C11\u56DE\u7B54\u65F6\u957F", type: "number", disabled: preview,
|
|
204
|
+
} })), _jsxs(Box, __assign({ display: "flex" }, { children: [_jsx(FormItem, __assign({ sx: { height: 64, flex: '1 0', mr: 2 }, required: true, disabled: preview, name: "prepareTime", label: "\u51C6\u5907\u65F6\u957F" }, { children: _jsx(Select, { options: prepareTimeOptions }) })), _jsx(FormItem, __assign({ sx: { height: 64, flex: '1 0' }, required: true, disabled: preview, name: "duration", label: "\u56DE\u7B54\u65F6\u957F" }, { children: _jsx(Select, { options: durationOptions }) })), aiShowType !== ADD_QUESTION_TYPE.SINGLECHIOCE && (_jsx(FormItem, { sx: { height: 64, flex: '1 0', ml: 2 }, name: "minResponseDuration", label: "\u6700\u5C11\u56DE\u7B54\u65F6\u957F", type: "number", disabled: preview,
|
|
205
205
|
// rules={[
|
|
206
206
|
// e => {
|
|
207
207
|
// if (!/^[1-9]\d*$/.test(e.value)) {
|
|
@@ -213,7 +213,7 @@ var QuestionForm = forwardRef(function (props, ref) {
|
|
|
213
213
|
placeholder: '最少回答时长',
|
|
214
214
|
sx: { padding: 0, pr: 1 },
|
|
215
215
|
endAdornment: 's',
|
|
216
|
-
}, onChange: handleMinResponseDurationChange })] }))] })), !preview && _jsx(AiAnalysis, {})] }));
|
|
216
|
+
}, onChange: handleMinResponseDurationChange }))] }))] })), !preview && _jsx(AiAnalysis, {})] }));
|
|
217
217
|
});
|
|
218
218
|
QuestionForm.displayName = 'QuestionForm';
|
|
219
219
|
export default memo(QuestionForm);
|
|
@@ -206,7 +206,7 @@ var QuestionForm = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
206
206
|
multiline: true,
|
|
207
207
|
placeholder: '朗读内容(候选人将根据此内容进行朗读)',
|
|
208
208
|
sx: { padding: 0 },
|
|
209
|
-
} })), (0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ display: "flex" }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.FormItem, __assign({ sx: { height: 64, flex: '1 0', mr: 2 }, required: true, disabled: preview, name: "prepareTime", label: "\u51C6\u5907\u65F6\u957F" }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.Select, { options: const_1.prepareTimeOptions }) })), (0, jsx_runtime_1.jsx)(fbm_ui_1.FormItem, __assign({ sx: { height: 64, flex: '1 0' }, required: true, disabled: preview, name: "duration", label: "\u56DE\u7B54\u65F6\u957F" }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.Select, { options: const_1.durationOptions }) })), (0, jsx_runtime_1.jsx)(fbm_ui_1.FormItem, { sx: { height: 64, flex: '1 0', ml: 2 }, name: "minResponseDuration", label: "\u6700\u5C11\u56DE\u7B54\u65F6\u957F", type: "number", disabled: preview,
|
|
209
|
+
} })), (0, jsx_runtime_1.jsxs)(fbm_ui_1.Box, __assign({ display: "flex" }, { children: [(0, jsx_runtime_1.jsx)(fbm_ui_1.FormItem, __assign({ sx: { height: 64, flex: '1 0', mr: 2 }, required: true, disabled: preview, name: "prepareTime", label: "\u51C6\u5907\u65F6\u957F" }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.Select, { options: const_1.prepareTimeOptions }) })), (0, jsx_runtime_1.jsx)(fbm_ui_1.FormItem, __assign({ sx: { height: 64, flex: '1 0' }, required: true, disabled: preview, name: "duration", label: "\u56DE\u7B54\u65F6\u957F" }, { children: (0, jsx_runtime_1.jsx)(fbm_ui_1.Select, { options: const_1.durationOptions }) })), aiShowType !== ai_question_1.ADD_QUESTION_TYPE.SINGLECHIOCE && ((0, jsx_runtime_1.jsx)(fbm_ui_1.FormItem, { sx: { height: 64, flex: '1 0', ml: 2 }, name: "minResponseDuration", label: "\u6700\u5C11\u56DE\u7B54\u65F6\u957F", type: "number", disabled: preview,
|
|
210
210
|
// rules={[
|
|
211
211
|
// e => {
|
|
212
212
|
// if (!/^[1-9]\d*$/.test(e.value)) {
|
|
@@ -218,7 +218,7 @@ var QuestionForm = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
218
218
|
placeholder: '最少回答时长',
|
|
219
219
|
sx: { padding: 0, pr: 1 },
|
|
220
220
|
endAdornment: 's',
|
|
221
|
-
}, onChange: handleMinResponseDurationChange })] }))] })), !preview && (0, jsx_runtime_1.jsx)(AiAnalysis_1.default, {})] }));
|
|
221
|
+
}, onChange: handleMinResponseDurationChange }))] }))] })), !preview && (0, jsx_runtime_1.jsx)(AiAnalysis_1.default, {})] }));
|
|
222
222
|
});
|
|
223
223
|
QuestionForm.displayName = 'QuestionForm';
|
|
224
224
|
exports.default = (0, react_1.memo)(QuestionForm);
|