@elice/material-quiz 1.241218.0 → 1.250103.0
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/cjs/assets/imgs/ai_helpy.png.js +7 -0
- package/cjs/components/material-quiz/MaterialQuizText.js +1 -1
- package/cjs/components/material-quiz-edit/MaterialQuizEdit.d.ts +1 -1
- package/cjs/components/material-quiz-edit/MaterialQuizEditContent.js +70 -33
- package/cjs/components/material-quiz-edit/hooks/index.d.ts +1 -0
- package/cjs/components/material-quiz-edit/hooks/index.js +2 -0
- package/cjs/components/material-quiz-edit/hooks/useMaterialQuizCourse.js +3 -1
- package/cjs/components/material-quiz-edit/hooks/useMaterialQuizRegex.d.ts +9 -0
- package/cjs/components/material-quiz-edit/hooks/useMaterialQuizRegex.js +48 -0
- package/cjs/components/material-quiz-edit/locales/en.json.js +1 -1
- package/cjs/components/material-quiz-edit/locales/ja.json.js +1 -1
- package/cjs/components/material-quiz-edit/locales/ko.json.js +1 -1
- package/cjs/components/material-quiz-edit/locales/th.json.js +1 -1
- package/cjs/components/material-quiz-edit/options/option-text/AnswerInfoDefaultController.d.ts +11 -0
- package/cjs/components/material-quiz-edit/options/option-text/AnswerInfoDefaultController.js +89 -0
- package/cjs/components/material-quiz-edit/options/option-text/HelpyLogo.d.ts +2 -0
- package/cjs/components/material-quiz-edit/options/option-text/HelpyLogo.js +30 -0
- package/cjs/components/material-quiz-edit/options/option-text/OptionText.js +84 -0
- package/cjs/components/material-quiz-edit/options/option-text/OptionTextAdvanceAiGeneratorAction.d.ts +2 -0
- package/cjs/components/material-quiz-edit/options/option-text/OptionTextAdvanceAiGeneratorAction.js +59 -0
- package/cjs/components/material-quiz-edit/options/option-text/OptionTextAdvanceAiGeneratorFormDialog.d.ts +6 -0
- package/cjs/components/material-quiz-edit/options/option-text/OptionTextAdvanceAiGeneratorFormDialog.js +224 -0
- package/cjs/components/material-quiz-edit/options/option-text/OptionTextAdvanceAiGeneratorResult.d.ts +6 -0
- package/cjs/components/material-quiz-edit/options/option-text/OptionTextAdvanceAiGeneratorResult.js +112 -0
- package/cjs/components/material-quiz-edit/options/option-text/OptionTextAdvanceAnswerInfoDefaultController.d.ts +2 -0
- package/cjs/components/material-quiz-edit/options/option-text/OptionTextAdvanceAnswerInfoDefaultController.js +110 -0
- package/cjs/components/material-quiz-edit/options/option-text/OptionTextAdvanceMethodNotice.d.ts +2 -0
- package/cjs/components/material-quiz-edit/options/option-text/OptionTextAdvanceMethodNotice.js +29 -0
- package/cjs/components/material-quiz-edit/options/option-text/OptionTextAdvanceModeController.d.ts +2 -0
- package/cjs/components/material-quiz-edit/options/option-text/OptionTextAdvanceModeController.js +24 -0
- package/cjs/components/material-quiz-edit/options/option-text/OptionTextNormalModeController.d.ts +2 -0
- package/cjs/components/material-quiz-edit/options/option-text/OptionTextNormalModeController.js +29 -0
- package/cjs/components/material-quiz-edit/options/option-text/index.d.ts +1 -0
- package/cjs/components/material-quiz-edit/options/option-text/index.js +7 -0
- package/cjs/components/shared/contexts/MaterialQuizApiContext.d.ts +2 -1
- package/cjs/components/shared/contexts/MaterialQuizApiContext.js +14 -4
- package/es/assets/imgs/ai_helpy.png.js +3 -0
- package/es/components/material-quiz/MaterialQuizText.js +1 -1
- package/es/components/material-quiz-edit/MaterialQuizEdit.d.ts +1 -1
- package/es/components/material-quiz-edit/MaterialQuizEditContent.js +71 -34
- package/es/components/material-quiz-edit/hooks/index.d.ts +1 -0
- package/es/components/material-quiz-edit/hooks/index.js +1 -0
- package/es/components/material-quiz-edit/hooks/useMaterialQuizCourse.js +3 -1
- package/es/components/material-quiz-edit/hooks/useMaterialQuizRegex.d.ts +9 -0
- package/es/components/material-quiz-edit/hooks/useMaterialQuizRegex.js +46 -0
- package/es/components/material-quiz-edit/locales/en.json.js +1 -1
- package/es/components/material-quiz-edit/locales/ja.json.js +1 -1
- package/es/components/material-quiz-edit/locales/ko.json.js +1 -1
- package/es/components/material-quiz-edit/locales/th.json.js +1 -1
- package/es/components/material-quiz-edit/options/option-text/AnswerInfoDefaultController.d.ts +11 -0
- package/es/components/material-quiz-edit/options/option-text/AnswerInfoDefaultController.js +85 -0
- package/es/components/material-quiz-edit/options/option-text/HelpyLogo.d.ts +2 -0
- package/es/components/material-quiz-edit/options/option-text/HelpyLogo.js +26 -0
- package/es/components/material-quiz-edit/options/option-text/OptionText.js +80 -0
- package/es/components/material-quiz-edit/options/option-text/OptionTextAdvanceAiGeneratorAction.d.ts +2 -0
- package/es/components/material-quiz-edit/options/option-text/OptionTextAdvanceAiGeneratorAction.js +55 -0
- package/es/components/material-quiz-edit/options/option-text/OptionTextAdvanceAiGeneratorFormDialog.d.ts +6 -0
- package/es/components/material-quiz-edit/options/option-text/OptionTextAdvanceAiGeneratorFormDialog.js +216 -0
- package/es/components/material-quiz-edit/options/option-text/OptionTextAdvanceAiGeneratorResult.d.ts +6 -0
- package/es/components/material-quiz-edit/options/option-text/OptionTextAdvanceAiGeneratorResult.js +108 -0
- package/es/components/material-quiz-edit/options/option-text/OptionTextAdvanceAnswerInfoDefaultController.d.ts +2 -0
- package/es/components/material-quiz-edit/options/option-text/OptionTextAdvanceAnswerInfoDefaultController.js +106 -0
- package/es/components/material-quiz-edit/options/option-text/OptionTextAdvanceMethodNotice.d.ts +2 -0
- package/es/components/material-quiz-edit/options/option-text/OptionTextAdvanceMethodNotice.js +25 -0
- package/es/components/material-quiz-edit/options/option-text/OptionTextAdvanceModeController.d.ts +2 -0
- package/es/components/material-quiz-edit/options/option-text/OptionTextAdvanceModeController.js +20 -0
- package/es/components/material-quiz-edit/options/option-text/OptionTextNormalModeController.d.ts +2 -0
- package/es/components/material-quiz-edit/options/option-text/OptionTextNormalModeController.js +25 -0
- package/es/components/material-quiz-edit/options/option-text/index.d.ts +1 -0
- package/es/components/material-quiz-edit/options/option-text/index.js +1 -0
- package/es/components/shared/contexts/MaterialQuizApiContext.d.ts +2 -1
- package/es/components/shared/contexts/MaterialQuizApiContext.js +15 -5
- package/package.json +13 -10
- package/cjs/components/material-quiz-edit/options/OptionText.js +0 -122
- package/es/components/material-quiz-edit/options/OptionText.js +0 -114
- /package/cjs/components/material-quiz-edit/options/{OptionText.d.ts → option-text/OptionText.d.ts} +0 -0
- /package/es/components/material-quiz-edit/options/{OptionText.d.ts → option-text/OptionText.d.ts} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAYAAACLz2ctAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAB12SURBVHgB7V15cFRHfv7N6JbQYYQ4JGGEQUZCi1mvD2FXGVM+djeOjxiqsrFxrb21FTveirFTKdsV42yOspOy/9ldNrVOKnGFpGynEgc2dqoSE8DxkbURNjYgdADCSAgEEiBAJ7pm0l+/aWnmaWZev5nX7/XA+6pezS297v76+x19Bd59MxQmHz48QpB8+PAQPgF9eAqfgD48hU9AH57CJ6APT+ET0Ien8Anow1P4BPThKXwC+vAUPgF9eAqfgD48hU9AH57CJ6APT+ET0Ien8Anow1P4BPThKXwC+vAUPgF9eAqfgD48RTZpiqkJov6OAA2cJhofIQqx18EcooJSovwyorJrw5RfSj4Yhs8RjZwN8MfRS7F1VTSPqHRJmHILSUsEdFyUdJ4Rr6/dqMhkyGGVOr8+zMhIVyUunmBXl0G8ZOD1VMfqaQlpB+0UEJV6plnuuxNMGU/tY2Rtu7qICMKh3Ci/DHg9fRWgnKIwV0SdoB0B+9oCZBeCiMNniSrq9TU36QKuSM8+a8VLhLOsbovu0MvgaUVAVKy5V5fNJ7rzUaKaVTPvdTKF/PhfmFr2xn4X6jl8LpC2GubkGlfZXKJc9lhYjMvoGLmRzxKWYYiVYYxd42EaGYy8Hmf31k9pAab2dHN8twR11PggUd1tM+/FqyPULy6dVFAr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+VMBQISYYqjoYMKekpAKJ858EDOT6eDBK8UiNxgX9TxwzoEJJ4S0DzchryVH3ioAywLfMHogMTrYMRTArZ+TXRgjzE8hKw9lM8PPNQBdVux2OjoqHOMiqANvITnQ3FHW4lOnQhTRVmAbvku+VAMBCT7PyFq3o9F7uQ5tEjDoCK6TqI3+tuwqcaRQ2Hq7NKDfIBWkxFgDjBjA3MBo/1DH+nj7BnD3bnYT1pBu9kw6Jn/9W9hqlnO0gTf8YmYLuDrwbIcbSEtoe264M4OljI4E2a5KqRrroLFHgpwtMUIMnSbAxgNrRemQw2//NTowT4R5QFz+8Un+vh5yaA1AQV8IsoBxGv9KswfMwUZQUCBREQsKyvjR81fLSgsLKRrrrlm+nUmEk8g8O6boYzNfRjrXonmL7r6ghX4dfDxOo9SRpjaRMgoBTRDKCIWayBqXnJ9ICO2o0gHULmezjAP0nQOLmSR0QSMBhqksyM8Pbm1asmVo4roaMiPZrraxUNGm2ArYK4hFLGyJvOUEUp39jTz605TRvp2srhiFDAekPXHdbTVUEYQsnIJeywPaLddBZTtFBsiu3QeY+NXhnmVwRVNwGiggXH1nMCrMJ+GxBVykUFIQVC37oV3jvNsaOy8oXBXC+HMuGoIaAYanJs5bt5mvBCQEGQsYldhMXssNhbw4MqNPCaaQyf8s/Fx4+8PD+G8OxxBazzH5/y9q5Rs8fD/6ROVQfFth5sAAAAASUVORK5CYII=";
|
|
6
|
+
|
|
7
|
+
exports.default = img;
|
|
@@ -11,8 +11,8 @@ var designTokens = require('@elice/design-tokens');
|
|
|
11
11
|
var intl = require('@elice/intl');
|
|
12
12
|
var material = require('@mui/material');
|
|
13
13
|
var styled = require('styled-components');
|
|
14
|
-
var element = require('../../constant/element.js');
|
|
15
14
|
var useCaculatePassage = require('../../hooks/useCaculatePassage.js');
|
|
15
|
+
var element = require('../../constant/element.js');
|
|
16
16
|
var index = require('../../helpers/index.js');
|
|
17
17
|
var QuestionBox = require('../shared/QuestionBox.js');
|
|
18
18
|
var MaterialQuizContext = require('./context/MaterialQuizContext.js');
|
|
@@ -3,7 +3,7 @@ import type { MarkdownEditorFileUploadReqFn } from '@elice/markdown';
|
|
|
3
3
|
import type { GetOrgMaterialQuizGetResponses } from '@elice/types';
|
|
4
4
|
import type { FormState } from 'react-hook-form';
|
|
5
5
|
import type { MaterialQuizApiProviderProps } from '../shared';
|
|
6
|
-
export type MaterialQuizEditValue = Pick<GetOrgMaterialQuizGetResponses['materialQuiz'], 'id' | 'questionTitle' | 'questionDescription' | 'optionType' | 'optionsDefault' | 'answerInfoDefault' | 'answerHint' | 'isAutoGrade' | 'explanationInfo' | 'groups' | 'optionsSetEnabled'>;
|
|
6
|
+
export type MaterialQuizEditValue = Pick<GetOrgMaterialQuizGetResponses['materialQuiz'], 'id' | 'questionTitle' | 'questionDescription' | 'optionType' | 'optionsDefault' | 'answerInfoDefault' | 'answerHint' | 'isAutoGrade' | 'explanationInfo' | 'groups' | 'optionsSetEnabled' | 'answerTextType'>;
|
|
7
7
|
export type MaterialQuizEditFormState = Pick<FormState<Record<string, any>>, 'isDirty' | 'isValid'>;
|
|
8
8
|
export interface MaterialQuizEditProps extends MaterialQuizApiProviderProps {
|
|
9
9
|
/** Value of material quiz edit form. */
|
|
@@ -18,16 +18,25 @@ var proRegularSvgIcons = require('@fortawesome/pro-regular-svg-icons');
|
|
|
18
18
|
var material = require('@mui/material');
|
|
19
19
|
var flattenDeep = require('lodash-es/flattenDeep');
|
|
20
20
|
var index = require('../markdown-editor/index.js');
|
|
21
|
+
var OptionText = require('./options/option-text/OptionText.js');
|
|
21
22
|
var OptionImage = require('./options/OptionImage.js');
|
|
22
23
|
var OptionGroup = require('./options/options-group/OptionGroup.js');
|
|
23
24
|
var OptionSelectMultiple = require('./options/OptionSelectMultiple.js');
|
|
24
25
|
var OptionSelectMultipleOrder = require('./options/OptionSelectMultipleOrder.js');
|
|
25
26
|
var OptionSelectOne = require('./options/OptionSelectOne.js');
|
|
26
|
-
var OptionText = require('./options/OptionText.js');
|
|
27
27
|
var checkTwoDimensionArray = require('./utils/checkTwoDimensionArray.js');
|
|
28
28
|
var randomId = require('./utils/randomId.js');
|
|
29
29
|
var context = require('./context.js');
|
|
30
30
|
var useMaterialQuizCourse = require('./hooks/useMaterialQuizCourse.js');
|
|
31
|
+
require('@tanstack/react-query');
|
|
32
|
+
require('../shared/QuizDraggbleDroppedOption.js');
|
|
33
|
+
require('../shared/QuizDraggbleDummyOption.js');
|
|
34
|
+
require('../shared/QuizDraggbleOption.js');
|
|
35
|
+
require('../shared/question-radio/QuestionRadio.js');
|
|
36
|
+
require('../shared/question-radio/QuestionRadioOption.js');
|
|
37
|
+
require('../shared/question-checkbox/QuestionCheckbox.js');
|
|
38
|
+
require('../shared/question-checkbox/QuestionCheckboxOption.js');
|
|
39
|
+
require('../shared/contexts/MaterialQuizApiContext.js');
|
|
31
40
|
|
|
32
41
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
33
42
|
|
|
@@ -436,6 +445,55 @@ var MaterialQuizEditContent = function MaterialQuizEditContent() {
|
|
|
436
445
|
})
|
|
437
446
|
});
|
|
438
447
|
};
|
|
448
|
+
/**
|
|
449
|
+
*
|
|
450
|
+
*/
|
|
451
|
+
var renderOptionInputSideAction = function renderOptionInputSideAction() {
|
|
452
|
+
if (OPTIONS_SET_ENABLED_ALLOWED_OPTION_TYPES.includes(watchedOptionType)) {
|
|
453
|
+
return jsxRuntime.jsx(reactHookForm.Controller, {
|
|
454
|
+
name: "optionsSetEnabled",
|
|
455
|
+
control: control,
|
|
456
|
+
render: function render(_ref3) {
|
|
457
|
+
var field = _ref3.field;
|
|
458
|
+
return jsxRuntime.jsx(material.Tooltip, {
|
|
459
|
+
title: disabled ? '' : intl$1.formatMessage({
|
|
460
|
+
id: 'content.option.optionsSetEnabled.tooltip'
|
|
461
|
+
}),
|
|
462
|
+
placement: "top",
|
|
463
|
+
children: jsxRuntime.jsx(material.FormControlLabel, {
|
|
464
|
+
disabled: disabled,
|
|
465
|
+
label: intl$1.formatMessage({
|
|
466
|
+
id: 'content.option.optionsSetEnabled.label'
|
|
467
|
+
}),
|
|
468
|
+
control: jsxRuntime.jsx(material.Switch, Object.assign({}, field, {
|
|
469
|
+
checked: field.value
|
|
470
|
+
}))
|
|
471
|
+
})
|
|
472
|
+
});
|
|
473
|
+
}
|
|
474
|
+
});
|
|
475
|
+
}
|
|
476
|
+
return jsxRuntime.jsx(reactHookForm.Controller, {
|
|
477
|
+
control: control,
|
|
478
|
+
name: "isAutoGrade",
|
|
479
|
+
render: function render(_ref4) {
|
|
480
|
+
var field = _ref4.field;
|
|
481
|
+
return jsxRuntime.jsx(material.FormControlLabel, Object.assign({}, field, {
|
|
482
|
+
label: intl$1.formatMessage({
|
|
483
|
+
id: 'option.text.isAutoGrade.checkbox.label'
|
|
484
|
+
}),
|
|
485
|
+
control: jsxRuntime.jsx(material.Checkbox, {
|
|
486
|
+
checked: !field.value
|
|
487
|
+
}),
|
|
488
|
+
checked: !field.value,
|
|
489
|
+
value: !field.value,
|
|
490
|
+
onChange: function onChange(_, checked) {
|
|
491
|
+
return field.onChange(!checked);
|
|
492
|
+
}
|
|
493
|
+
}));
|
|
494
|
+
}
|
|
495
|
+
});
|
|
496
|
+
};
|
|
439
497
|
/**
|
|
440
498
|
* Render input of option type, option info and answer info.
|
|
441
499
|
*/
|
|
@@ -452,8 +510,8 @@ var MaterialQuizEditContent = function MaterialQuizEditContent() {
|
|
|
452
510
|
children: [jsxRuntime.jsx(reactHookForm.Controller, {
|
|
453
511
|
control: control,
|
|
454
512
|
name: "optionType",
|
|
455
|
-
render: function render(
|
|
456
|
-
var field =
|
|
513
|
+
render: function render(_ref5) {
|
|
514
|
+
var field = _ref5.field;
|
|
457
515
|
return jsxRuntime.jsx(material.Tooltip, {
|
|
458
516
|
title: disabled && intl$1.formatMessage({
|
|
459
517
|
id: 'content.option.tooltip.disabled'
|
|
@@ -505,28 +563,7 @@ var MaterialQuizEditContent = function MaterialQuizEditContent() {
|
|
|
505
563
|
id: 'content.option.select.items.image'
|
|
506
564
|
})
|
|
507
565
|
})]
|
|
508
|
-
})),
|
|
509
|
-
name: "optionsSetEnabled",
|
|
510
|
-
control: control,
|
|
511
|
-
render: function render(_ref4) {
|
|
512
|
-
var field = _ref4.field;
|
|
513
|
-
return jsxRuntime.jsx(material.Tooltip, {
|
|
514
|
-
title: disabled ? '' : intl$1.formatMessage({
|
|
515
|
-
id: 'content.option.optionsSetEnabled.tooltip'
|
|
516
|
-
}),
|
|
517
|
-
placement: "top",
|
|
518
|
-
children: jsxRuntime.jsx(material.FormControlLabel, {
|
|
519
|
-
disabled: disabled,
|
|
520
|
-
label: intl$1.formatMessage({
|
|
521
|
-
id: 'content.option.optionsSetEnabled.label'
|
|
522
|
-
}),
|
|
523
|
-
control: jsxRuntime.jsx(material.Switch, Object.assign({}, field, {
|
|
524
|
-
checked: field.value
|
|
525
|
-
}))
|
|
526
|
-
})
|
|
527
|
-
});
|
|
528
|
-
}
|
|
529
|
-
}) : null]
|
|
566
|
+
})), renderOptionInputSideAction()]
|
|
530
567
|
})
|
|
531
568
|
});
|
|
532
569
|
}
|
|
@@ -603,9 +640,9 @@ var MaterialQuizEditContent = function MaterialQuizEditContent() {
|
|
|
603
640
|
})
|
|
604
641
|
}
|
|
605
642
|
},
|
|
606
|
-
render: function render(
|
|
607
|
-
var field =
|
|
608
|
-
fieldState =
|
|
643
|
+
render: function render(_ref6) {
|
|
644
|
+
var field = _ref6.field,
|
|
645
|
+
fieldState = _ref6.fieldState;
|
|
609
646
|
var _a, _b;
|
|
610
647
|
return jsxRuntime.jsx(blocks.Input, Object.assign({
|
|
611
648
|
size: "small",
|
|
@@ -644,8 +681,8 @@ var MaterialQuizEditContent = function MaterialQuizEditContent() {
|
|
|
644
681
|
children: [jsxRuntime.jsx(reactHookForm.Controller, {
|
|
645
682
|
control: control,
|
|
646
683
|
name: "explanationInfo.isEnabled",
|
|
647
|
-
render: function render(
|
|
648
|
-
var field =
|
|
684
|
+
render: function render(_ref7) {
|
|
685
|
+
var field = _ref7.field;
|
|
649
686
|
return jsxRuntime.jsx(blocks.Checkbox, Object.assign({
|
|
650
687
|
size: "small"
|
|
651
688
|
}, field, {
|
|
@@ -673,9 +710,9 @@ var MaterialQuizEditContent = function MaterialQuizEditContent() {
|
|
|
673
710
|
})
|
|
674
711
|
}
|
|
675
712
|
},
|
|
676
|
-
render: function render(
|
|
677
|
-
var field =
|
|
678
|
-
fieldState =
|
|
713
|
+
render: function render(_ref8) {
|
|
714
|
+
var field = _ref8.field,
|
|
715
|
+
fieldState = _ref8.fieldState;
|
|
679
716
|
var _a;
|
|
680
717
|
return jsxRuntime.jsxs(blocks.Flex, {
|
|
681
718
|
column: true,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var useMaterialQuizCourse = require('./useMaterialQuizCourse.js');
|
|
4
|
+
var useMaterialQuizRegex = require('./useMaterialQuizRegex.js');
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
exports.useMaterialQuizCourse = useMaterialQuizCourse.useMaterialQuizCourse;
|
|
9
|
+
exports.useMaterialQuizRegex = useMaterialQuizRegex.useMaterialQuizRegex;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReGetRequest } from '@elice/openapi-client-course';
|
|
2
|
+
interface UseMaterialQuizRegexParams extends Omit<ReGetRequest, 'eliceCourseId'> {
|
|
3
|
+
courseId?: number;
|
|
4
|
+
}
|
|
5
|
+
interface UseMaterialQuizRegexReturn {
|
|
6
|
+
isRegexMatched: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const useMaterialQuizRegex: (params: UseMaterialQuizRegexParams) => UseMaterialQuizRegexReturn;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
var reactQuery = require('@tanstack/react-query');
|
|
5
|
+
require('../../shared/QuizDraggbleDroppedOption.js');
|
|
6
|
+
require('../../shared/QuizDraggbleDummyOption.js');
|
|
7
|
+
require('../../shared/QuizDraggbleOption.js');
|
|
8
|
+
require('../../shared/question-radio/QuestionRadio.js');
|
|
9
|
+
require('../../shared/question-radio/QuestionRadioOption.js');
|
|
10
|
+
require('../../shared/question-checkbox/QuestionCheckbox.js');
|
|
11
|
+
require('../../shared/question-checkbox/QuestionCheckboxOption.js');
|
|
12
|
+
var MaterialQuizApiContext = require('../../shared/contexts/MaterialQuizApiContext.js');
|
|
13
|
+
|
|
14
|
+
//
|
|
15
|
+
//
|
|
16
|
+
//
|
|
17
|
+
var useMaterialQuizRegex = function useMaterialQuizRegex(params) {
|
|
18
|
+
//
|
|
19
|
+
var _return = React.useRef({});
|
|
20
|
+
//
|
|
21
|
+
var _useMaterialQuizApiCo = MaterialQuizApiContext.useMaterialQuizApiContext(),
|
|
22
|
+
courseRegexApi = _useMaterialQuizApiCo.courseRegexApi;
|
|
23
|
+
//
|
|
24
|
+
var _useQuery = reactQuery.useQuery({
|
|
25
|
+
queryKey: ['courseRegex.reGet', params],
|
|
26
|
+
queryFn: function queryFn(_ref) {
|
|
27
|
+
var signal = _ref.signal;
|
|
28
|
+
return courseRegexApi.reGet({
|
|
29
|
+
eliceCourseId: params.courseId,
|
|
30
|
+
regText: params.regText,
|
|
31
|
+
targetText: params.targetText
|
|
32
|
+
}, {
|
|
33
|
+
signal: signal
|
|
34
|
+
});
|
|
35
|
+
},
|
|
36
|
+
select: function select(data) {
|
|
37
|
+
return data.isMatched;
|
|
38
|
+
},
|
|
39
|
+
enabled: Boolean(params.regText && params.targetText)
|
|
40
|
+
}),
|
|
41
|
+
_useQuery$data = _useQuery.data,
|
|
42
|
+
isRegexMatched = _useQuery$data === void 0 ? false : _useQuery$data;
|
|
43
|
+
//
|
|
44
|
+
_return.current.isRegexMatched = isRegexMatched;
|
|
45
|
+
return _return.current;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
exports.useMaterialQuizRegex = useMaterialQuizRegex;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var messageEn = {"answer.option.addButton":"Add Option","answer.option.default.group":"None","answer.option.errorMessage":"There must be an option or a file value.","answer.option.file.description.extension":"Supports .mp3, .mp4, .mov, .png, .jpg .svg .gif extensions.","answer.option.file.description.fileSize":"You can upload files up to 3MB.","answer.option.file.description.imageSize":"The recommended aspect ratio for the file is 1:1 (185 x 185px).","answer.option.file.errorMessage.maxSize":"You can upload up to {size}MB.","answer.option.file.label":"Upload File","answer.option.title.file":"File","answer.option.title.group":"Group the option belongs to","answer.option.title.text":"Option","answer.option.tooltip.maxDisabled":"You can configure up to 20 options.","answer.option.tooltip.minDisabled":"You must configure at least 2 options.","common.errorMessage.range":"Please enter within {min} ~ {max} characters.","common.group":"Group {group}","common.option":"Option {number}","content.answerHint.description":"You can specify the hint text for the input field where the answer will be entered.","content.answerHint.placeholder":"Enter input field hint text","content.answerHint.title":"Specify Input Field Hint Text","content.description.placeholder":"Please enter a detailed problem description, code, or image, etc.","content.description.title":"Problem Description","content.explanationInfo.checkbox.label":"Use","content.explanationInfo.description":"This explanation will be shown after the problem is solved.","content.explanationInfo.textarea.errorMessage.required":"Please write an explanation for the problem.","content.explanationInfo.textarea.placeholder":"Please enter an explanation.","content.explanationInfo.title":"Write Explanation","content.option.alert.randomized.description":"{_termPathRoleStudent} will see the order of their answers shuffled","content.option.alert.randomized.title":"Shuffling the order of answers is enabled","content.option.errorMessage.required":"Please select an answer.","content.option.optionsSetEnabled.label":"Shuffle answer order","content.option.optionsSetEnabled.tooltip":"When the feature is enabled, the order of answers is shuffled for each {_termPathRoleStudent}","content.option.select.items.group":"Drag and Drop (Group Type)","content.option.select.items.image":"Image","content.option.select.items.selectMultiple":"Multiple Choice (Multiple Answers)","content.option.select.items.selectMultipleOrder":"Drag and Drop","content.option.select.items.selectOne":"Multiple Choice (Single Answer)","content.option.select.items.text":"Subjective","content.option.statusText.dragNDrop":"After entering the options, click in the order of the correct answers.\nYou can check the configured problem in the Learner's {_termLibraryLecturePage} tab on the left.","content.option.statusText.dragNDropGroup":"You can check the configured problem in the Learner's {_termLibraryLecturePage} tab on the left.","content.option.title":"Answer","content.option.tooltip.disabled":"Editing is not possible if the quiz is public or if there are {_termPathRoleStudent} who have submitted the problem.\nYou can check the configured problem in the Learner's {_termLibraryLecturePage} tab on the left.","content.title.errorMessage.required":"Please enter a question.","content.title.markdownInfo.tooltip":"You can add a few characters before and after the desired text to apply effects.<ul><li><mark>_Italics_</mark> *italics* or _italics_</li><li>Underline ___underline___</li><li><mark>Strikethrough ~~strikethrough~~</mark></li></ul>","content.title.placeholder":"Please enter the question for the problem.","
|
|
5
|
+
var messageEn = {"answer.option.addButton":"Add Option","answer.option.default.group":"None","answer.option.errorMessage":"There must be an option or a file value.","answer.option.file.description.extension":"Supports .mp3, .mp4, .mov, .png, .jpg .svg .gif extensions.","answer.option.file.description.fileSize":"You can upload files up to 3MB.","answer.option.file.description.imageSize":"The recommended aspect ratio for the file is 1:1 (185 x 185px).","answer.option.file.errorMessage.maxSize":"You can upload up to {size}MB.","answer.option.file.label":"Upload File","answer.option.title.file":"File","answer.option.title.group":"Group the option belongs to","answer.option.title.text":"Option","answer.option.tooltip.maxDisabled":"You can configure up to 20 options.","answer.option.tooltip.minDisabled":"You must configure at least 2 options.","common.advance_mode":"Advanced Mode","common.ai_answer_helper":"AI Answer Helper","common.apply":"Apply","common.correct_answer":"Correct answer.","common.errorMessage.range":"Please enter within {min} ~ {max} characters.","common.generate_ai_answer":"Generate AI Answer","common.group":"Group {group}","common.incorrect_answer":"Incorrect answer.","common.normal_mode":"Normal Mode","common.option":"Option {number}","component.material_quiz_edit.answer_info_default.helper_text":"The input must match exactly to be recognized as correct.","component.material_quiz_edit.answer_info_default.placeholder":"Please enter the subjective answer.","component.material_quiz_edit.option_text_advance_answer_info_default_controller.test_regular_expression":"Test the regular expression you wrote.","component.material_quiz_edit.option_text_advance_answer_info_default_controller.test_regular_expression_placeholder":"Enter the answer to test.","component.material_quiz_edit.option_text_advance_answer_info_default_controller.write_regular_expression":"Please write a regular expression.","component.material_quiz_edit.option_text_advance_answer_info_default_controller.write_regular_expression_placeholder":"Example: *[Uu][Pp][Dd][Aa][Tt][Ee]$","component.material_quiz_edit.option_text_advance_answer_info_default_controller.write_regular_expression_required_message":"Please write a regular expression.","component.material_quiz_edit.option_text_advance_method_notice":"If the answer includes meta characters (^[]$()|*+?{}/.), add a \\ before the character.\nExample: If the correct answer is ^apple, write \\^apple","component.material_quiz.advance_ai_generator_form_dialog.ai_generator_rule_notice":"To recognize various expressions as correct, subjective answers are graded using regular expressions.\nThe AI Answer Helper makes it easier to create them.","component.material_quiz.advance_ai_generator_form_dialog.prompt_controller.label":"Please write the answer in descriptive form.","component.material_quiz.advance_ai_generator_form_dialog.prompt_controller.placeholder":"Example: I want the word 'update' to be in the answer, and case should not matter.","component.material_quiz.advance_ai_generator_result.regex.label":"AI Generated Regular Expression","content.answerHint.description":"You can specify the hint text for the input field where the answer will be entered.","content.answerHint.placeholder":"Enter input field hint text","content.answerHint.title":"Specify Input Field Hint Text","content.description.placeholder":"Please enter a detailed problem description, code, or image, etc.","content.description.title":"Problem Description","content.explanationInfo.checkbox.label":"Use","content.explanationInfo.description":"This explanation will be shown after the problem is solved.","content.explanationInfo.textarea.errorMessage.required":"Please write an explanation for the problem.","content.explanationInfo.textarea.placeholder":"Please enter an explanation.","content.explanationInfo.title":"Write Explanation","content.option.alert.randomized.description":"{_termPathRoleStudent} will see the order of their answers shuffled","content.option.alert.randomized.title":"Shuffling the order of answers is enabled","content.option.errorMessage.required":"Please select an answer.","content.option.optionsSetEnabled.label":"Shuffle answer order","content.option.optionsSetEnabled.tooltip":"When the feature is enabled, the order of answers is shuffled for each {_termPathRoleStudent}","content.option.select.items.group":"Drag and Drop (Group Type)","content.option.select.items.image":"Image","content.option.select.items.selectMultiple":"Multiple Choice (Multiple Answers)","content.option.select.items.selectMultipleOrder":"Drag and Drop","content.option.select.items.selectOne":"Multiple Choice (Single Answer)","content.option.select.items.text":"Subjective","content.option.statusText.dragNDrop":"After entering the options, click in the order of the correct answers.\nYou can check the configured problem in the Learner's {_termLibraryLecturePage} tab on the left.","content.option.statusText.dragNDropGroup":"You can check the configured problem in the Learner's {_termLibraryLecturePage} tab on the left.","content.option.title":"Answer","content.option.tooltip.disabled":"Editing is not possible if the quiz is public or if there are {_termPathRoleStudent} who have submitted the problem.\nYou can check the configured problem in the Learner's {_termLibraryLecturePage} tab on the left.","content.title":"Question","content.title.errorMessage.required":"Please enter a question.","content.title.markdownInfo.tooltip":"You can add a few characters before and after the desired text to apply effects.<ul><li><mark>_Italics_</mark> *italics* or _italics_</li><li>Underline ___underline___</li><li><mark>Strikethrough ~~strikethrough~~</mark></li></ul>","content.title.placeholder":"Please enter the question for the problem.","group.option.addButton":"Add Group","group.option.errorMessage.notChild":"There is a group created that does not belong to any options.","group.option.errorMessage.required":"Please enter a group name.","group.option.title":"Group","group.option.tooltip.maxDisabled":"You can configure up to 6 groups.","group.option.tooltip.minDisabled":"You must configure at least 2 groups.","material_quiz_edit.option_text.advance_ai_generator.result_title":"<span>AI Helper</span> has created a regular expression answer.","option.common.select.addButton":"Add Option","option.common.select.errorMessage.required":"Please enter options.","option.common.select.placeholder":"Enter options","option.common.select.tooltip.maxOptionInfoItem":"You cannot enter more than 20 options.","option.common.select.tooltip.minOptionInfoItem":"You must enter at least 2 options.","option.text.answerInfo.errorMessage.required":"Please enter the correct answer.","option.text.answerInfo.hintText":"Answers will be graded using regular expressions. If the correct answer includes meta-characters (^[]$()|*+?{}.\\), please prefix them with a backslash (\\).\nExample: If ^^ is the correct answer → \\^\\^","option.text.isAutoGrade.checkbox.label":"Grade manually without specifying answers"};
|
|
6
6
|
|
|
7
7
|
exports.default = messageEn;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var ja = {"answer.option.addButton":"オプションを追加","answer.option.default.group":"なし","answer.option.errorMessage":"オプションやファイルの値が必要です。","answer.option.file.description.extension":"サポートされている拡張子は .mp3、.mp4、.mov、.png、.jpg、.svg、.gif です。","answer.option.file.description.fileSize":"ファイルは最大3MBまでアップロードできます。","answer.option.file.description.imageSize":"ファイルの推奨アスペクト比は1:1(185 x 185px)です。","answer.option.file.errorMessage.maxSize":"最大{size}MBまでアップロードできます。","answer.option.file.label":"ファイルをアップロード","answer.option.title.file":"ファイル","answer.option.title.group":"オプションが属するグループ","answer.option.title.text":"オプション","answer.option.tooltip.maxDisabled":"最大20のオプションを設定できます。","answer.option.tooltip.minDisabled":"少なくとも2つのオプションを設定する必要があります。","common.errorMessage.range":"{min} 〜 {max} 文字以内で入力してください。","common.group":"グループ {group}","common.option":"オプション {number}","content.answerHint.description":"入力フィールドのヒントテキストを指定できます。","content.answerHint.placeholder":"入力フィールドのヒントテキスト","content.answerHint.title":"入力フィールドのヒントテキストを指定してください。","content.description.placeholder":"詳細な問題の説明、コード、画像などを入力してください。","content.description.title":"問題の説明","content.explanationInfo.checkbox.label":"使用","content.explanationInfo.description":"この説明は問題が解決された後に表示されます。","content.explanationInfo.textarea.errorMessage.required":"問題の説明を書いてください。","content.explanationInfo.textarea.placeholder":"説明を入力してください。","content.explanationInfo.title":"説明を書いてください","content.option.alert.randomized.description":"{_termPathRoleStudent} は、回答の順番がシャッフルされます。","content.option.alert.randomized.title":"回答の順番をシャッフルする機能が有効になっています","content.option.errorMessage.required":"回答を選択してください。","content.option.optionsSetEnabled.label":"回答の順番をシャッフルする","content.option.optionsSetEnabled.tooltip":"機能が有効になると、回答の順序はそれぞれの {_termPathRoleStudent} にシャッフルされます。","content.option.select.items.group":"ドラッグアンドドロップ(グループタイプ)","content.option.select.items.image":"画像","content.option.select.items.selectMultiple":"複数選択肢(複数回答)","content.option.select.items.selectMultipleOrder":"ドラッグアンドドロップ","content.option.select.items.selectOne":"マルチプルチョイス(一つ選択)","content.option.select.items.text":"主観的","content.option.statusText.dragNDrop":"オプションを入力した後、正しい答えの順にクリックしてください。\n左側のLearner's {_termLibraryLecturePage}タブで設定された問題を確認できます。","content.option.statusText.dragNDropGroup":"左側の学習者の{_termLibraryLecturePage}タブで設定された問題を確認できます。","content.option.title":"回答","content.option.tooltip.disabled":"クイズが公開されているか、{_termPathRoleStudent}さんが問題を提出している場合、編集はできません。\n左側のLearner's {_termLibraryLecturePage}タブで設定された問題を確認できます。","content.title.errorMessage.required":"質問を入力してください。","content.title.markdownInfo.tooltip":"テキストの前後にいくつかの文字を追加して、効果を適用できます。<ul><li><mark>イタリック _イタリック_</mark> *イタリック* または _italics_</li><li>下線 ___underline___</li><li><mark>取り消し線 ~~strikethrough~~</mark></li></ul>","content.title.placeholder":"問題の質問を入力してください。","
|
|
5
|
+
var ja = {"answer.option.addButton":"オプションを追加","answer.option.default.group":"なし","answer.option.errorMessage":"オプションやファイルの値が必要です。","answer.option.file.description.extension":"サポートされている拡張子は .mp3、.mp4、.mov、.png、.jpg、.svg、.gif です。","answer.option.file.description.fileSize":"ファイルは最大3MBまでアップロードできます。","answer.option.file.description.imageSize":"ファイルの推奨アスペクト比は1:1(185 x 185px)です。","answer.option.file.errorMessage.maxSize":"最大{size}MBまでアップロードできます。","answer.option.file.label":"ファイルをアップロード","answer.option.title.file":"ファイル","answer.option.title.group":"オプションが属するグループ","answer.option.title.text":"オプション","answer.option.tooltip.maxDisabled":"最大20のオプションを設定できます。","answer.option.tooltip.minDisabled":"少なくとも2つのオプションを設定する必要があります。","common.advance_mode":"高度なモード","common.ai_answer_helper":"AIアンサーアシスタント","common.apply":"適用する","common.correct_answer":"正解です。","common.errorMessage.range":"{min} 〜 {max} 文字以内で入力してください。","common.generate_ai_answer":"AI回答を生成","common.group":"グループ {group}","common.incorrect_answer":"不正解です。","common.normal_mode":"通常モード","common.option":"オプション {number}","component.material_quiz_edit.answer_info_default.helper_text":"入力内容が完全に一致している場合のみ正解と認識されます。","component.material_quiz_edit.answer_info_default.placeholder":"記述式の回答を入力してください。","component.material_quiz_edit.option_text_advance_answer_info_default_controller.test_regular_expression":"作成した正規表現をテストしてください。","component.material_quiz_edit.option_text_advance_answer_info_default_controller.test_regular_expression_placeholder":"テストする回答を入力してください。","component.material_quiz_edit.option_text_advance_answer_info_default_controller.write_regular_expression":"正規表現を作成してください。","component.material_quiz_edit.option_text_advance_answer_info_default_controller.write_regular_expression_placeholder":"例: *[Uu][Pp][Dd][Aa][Tt][Ee]$","component.material_quiz_edit.option_text_advance_answer_info_default_controller.write_regular_expression_required_message":"正規表現を記入してください。","component.material_quiz_edit.option_text_advance_method_notice":"答えにメタ文字 (^[]$()|*+?{}/.) が含まれる場合、その文字の前に \\ を付けてください。\n例: 正解が ^リンゴ の場合、\\^リンゴ と書きます","component.material_quiz.advance_ai_generator_form_dialog.ai_generator_rule_notice":"さまざまな表現を正解として認識できるように、記述式の回答は正規表現を使用して採点されます。\nAIアンサーアシスタントはこれを簡単に作成できるようにサポートします。","component.material_quiz.advance_ai_generator_form_dialog.prompt_controller.label":"回答を記述形式で作成してください。","component.material_quiz.advance_ai_generator_form_dialog.prompt_controller.placeholder":"例: 'update'という単語が回答に含まれ、大文字小文字を区別しないようにしたい。","component.material_quiz.advance_ai_generator_result.regex.label":"AI生成正規表現式","content.answerHint.description":"入力フィールドのヒントテキストを指定できます。","content.answerHint.placeholder":"入力フィールドのヒントテキスト","content.answerHint.title":"入力フィールドのヒントテキストを指定してください。","content.description.placeholder":"詳細な問題の説明、コード、画像などを入力してください。","content.description.title":"問題の説明","content.explanationInfo.checkbox.label":"使用","content.explanationInfo.description":"この説明は問題が解決された後に表示されます。","content.explanationInfo.textarea.errorMessage.required":"問題の説明を書いてください。","content.explanationInfo.textarea.placeholder":"説明を入力してください。","content.explanationInfo.title":"説明を書いてください","content.option.alert.randomized.description":"{_termPathRoleStudent} は、回答の順番がシャッフルされます。","content.option.alert.randomized.title":"回答の順番をシャッフルする機能が有効になっています","content.option.errorMessage.required":"回答を選択してください。","content.option.optionsSetEnabled.label":"回答の順番をシャッフルする","content.option.optionsSetEnabled.tooltip":"機能が有効になると、回答の順序はそれぞれの {_termPathRoleStudent} にシャッフルされます。","content.option.select.items.group":"ドラッグアンドドロップ(グループタイプ)","content.option.select.items.image":"画像","content.option.select.items.selectMultiple":"複数選択肢(複数回答)","content.option.select.items.selectMultipleOrder":"ドラッグアンドドロップ","content.option.select.items.selectOne":"マルチプルチョイス(一つ選択)","content.option.select.items.text":"主観的","content.option.statusText.dragNDrop":"オプションを入力した後、正しい答えの順にクリックしてください。\n左側のLearner's {_termLibraryLecturePage}タブで設定された問題を確認できます。","content.option.statusText.dragNDropGroup":"左側の学習者の{_termLibraryLecturePage}タブで設定された問題を確認できます。","content.option.title":"回答","content.option.tooltip.disabled":"クイズが公開されているか、{_termPathRoleStudent}さんが問題を提出している場合、編集はできません。\n左側のLearner's {_termLibraryLecturePage}タブで設定された問題を確認できます。","content.title":"質問","content.title.errorMessage.required":"質問を入力してください。","content.title.markdownInfo.tooltip":"テキストの前後にいくつかの文字を追加して、効果を適用できます。<ul><li><mark>イタリック _イタリック_</mark> *イタリック* または _italics_</li><li>下線 ___underline___</li><li><mark>取り消し線 ~~strikethrough~~</mark></li></ul>","content.title.placeholder":"問題の質問を入力してください。","group.option.addButton":"グループを追加","group.option.errorMessage.notChild":"どのオプションにも属さないグループが作成されました。","group.option.errorMessage.required":"グループ名を入力してください。","group.option.title":"グループ","group.option.tooltip.maxDisabled":"最大6つのグループを設定できます。","group.option.tooltip.minDisabled":"少なくとも2つのグループを設定する必要があります。","material_quiz_edit.option_text.advance_ai_generator.result_title":"<span>AIヘルパー</span>が正規表現回答を作成しました。","option.common.select.addButton":"オプションを追加","option.common.select.errorMessage.required":"オプションを入力してください。","option.common.select.placeholder":"オプションを入力してください","option.common.select.tooltip.maxOptionInfoItem":"20個以上のオプションを入力することはできません。","option.common.select.tooltip.minOptionInfoItem":"少なくとも2つのオプションを入力する必要があります。","option.text.answerInfo.errorMessage.required":"正しい答えを入力してください。","option.text.answerInfo.hintText":"回答は正規表現を使用して評価されます。正しい答えにメタ文字(^[]$()|*+?{}.\\)が含まれる場合は、バックスラッシュ(\\)を前置してください。\n例:正しい答えが^^の場合 → \\^\\^","option.text.isAutoGrade.checkbox.label":"手動で採点してください。"};
|
|
6
6
|
|
|
7
7
|
exports.default = ja;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var messageKo = {"answer.option.addButton":"보기 추가","answer.option.default.group":"없음","answer.option.errorMessage":"보기 또는 파일 값이 존재 해야 합니다.","answer.option.file.description.extension":".mp3, .mp4, .mov, .png, .jpg .svg .gif 확장자를 지원합니다.","answer.option.file.description.fileSize":"파일은 최대 3MB 까지 업로드할 수 있습니다.","answer.option.file.description.imageSize":"파일의 권장 비율은 1:1(185 x 185px)입니다.","answer.option.file.errorMessage.maxSize":"최대 {size}MB까지 업로드 가능합니다.","answer.option.file.label":"파일 업로드하기","answer.option.title.file":"파일","answer.option.title.group":"보기가 속한 그룹","answer.option.title.text":"보기","answer.option.tooltip.maxDisabled":"보기는 최대 20개까지 구성 가능합니다.","answer.option.tooltip.minDisabled":"보기는 최소 2개 이상을 구성해야합니다.","common.errorMessage.range":"{min} ~ {max}자 이내로 입력해주세요.","common.group":"그룹 {group}","common.option":"옵션 {number}","content.answerHint.description":"답안을 입력할 입력란의 힌트 텍스트를 지정할 수 있습니다.","content.answerHint.placeholder":"입력란 힌트 텍스트 입력","content.answerHint.title":"입력란 힌트 텍스트 지정","content.description.placeholder":"자세한 문제 설명이나 코드 혹은 이미지 등을 입력해주세요.","content.description.title":"문제 설명","content.explanationInfo.checkbox.label":"사용","content.explanationInfo.description":"문제를 푼 후 해당 설명이 노출됩니다.","content.explanationInfo.textarea.errorMessage.required":"문제의 해설을 작성하세요.","content.explanationInfo.textarea.placeholder":"해설을 입력해주세요.","content.explanationInfo.title":"해설 작성","content.option.alert.randomized.description":"{_termPathRoleStudent}에게 답안의 순서가 섞여서 표시됩니다.","content.option.alert.randomized.title":"답안 순서 섞기가 활성화 되어있습니다.","content.option.errorMessage.required":"답안을 선택해주세요.","content.option.optionsSetEnabled.label":"답안 순서 섞기","content.option.optionsSetEnabled.tooltip":"기능 활성화 시 {_termPathRoleStudent}마다 답안의 순서가 섞여서 표시됩니다.","content.option.select.items.group":"드래그 앤 드롭 (그룹형)","content.option.select.items.image":"이미지","content.option.select.items.selectMultiple":"객관식 (다중 선택)","content.option.select.items.selectMultipleOrder":"드래그 앤 드롭","content.option.select.items.selectOne":"객관식 (단일 선택)","content.option.select.items.text":"주관식","content.option.statusText.dragNDrop":"보기를 입력한 후 정답 순서대로 클릭하세요.\n구성된 문제는 좌측 학습{_termLibraryLecturePage} 탭에서 확인하실 수 있습니다.","content.option.statusText.dragNDropGroup":"구성된 문제는 좌측 학습{_termLibraryLecturePage} 탭에서 확인하실 수 있습니다.","content.option.title":"답안","content.option.tooltip.disabled":"퀴즈가 공개된 상태이거나 문제를 제출한 {_termPathRoleStudent}이 존재하면\n수정이 불가능합니다.","content.title.errorMessage.required":"질문을 입력해주세요.","content.title.markdownInfo.tooltip":"원하는 텍스트 앞뒤에 몇 개의 문자를 추가해 효과를 적용할 수 있습니다.<ul><li><mark>_이탤릭체_</mark> *italics* 또는 _italics_</li><li>밑줄 ___underline___</li><li><mark>~~취소선~~</mark> ~~strikethrough~~</li></ul>","content.title.placeholder":"문제의 질문을 입력해주세요.","
|
|
5
|
+
var messageKo = {"answer.option.addButton":"보기 추가","answer.option.default.group":"없음","answer.option.errorMessage":"보기 또는 파일 값이 존재 해야 합니다.","answer.option.file.description.extension":".mp3, .mp4, .mov, .png, .jpg .svg .gif 확장자를 지원합니다.","answer.option.file.description.fileSize":"파일은 최대 3MB 까지 업로드할 수 있습니다.","answer.option.file.description.imageSize":"파일의 권장 비율은 1:1(185 x 185px)입니다.","answer.option.file.errorMessage.maxSize":"최대 {size}MB까지 업로드 가능합니다.","answer.option.file.label":"파일 업로드하기","answer.option.title.file":"파일","answer.option.title.group":"보기가 속한 그룹","answer.option.title.text":"보기","answer.option.tooltip.maxDisabled":"보기는 최대 20개까지 구성 가능합니다.","answer.option.tooltip.minDisabled":"보기는 최소 2개 이상을 구성해야합니다.","common.advance_mode":"고급 모드","common.ai_answer_helper":"AI 답안 작성 도우미","common.apply":"적용하기","common.correct_answer":"정답입니다.","common.errorMessage.range":"{min} ~ {max}자 이내로 입력해주세요.","common.generate_ai_answer":"AI 답안 생성","common.group":"그룹 {group}","common.incorrect_answer":"오답입니다.","common.normal_mode":"일반 모드","common.option":"옵션 {number}","component.material_quiz_edit.answer_info_default.helper_text":"입력하신 내용과 정확하게 일치하여야만 정답으로 인정됩니다.","component.material_quiz_edit.answer_info_default.placeholder":"주관식 답안을 입력해 주세요.","component.material_quiz_edit.option_text_advance_answer_info_default_controller.test_regular_expression":"작성하신 정규 표현식을 테스트 해보세요. ","component.material_quiz_edit.option_text_advance_answer_info_default_controller.test_regular_expression_placeholder":"테스트하실 답변을 입력해 주세요.","component.material_quiz_edit.option_text_advance_answer_info_default_controller.write_regular_expression":"정규 표현식을 작성해 주세요.","component.material_quiz_edit.option_text_advance_answer_info_default_controller.write_regular_expression_placeholder":"예시) *[Uu][Pp][Dd][Aa][Tt][Ee]$","component.material_quiz_edit.option_text_advance_answer_info_default_controller.write_regular_expression_required_message":"정규 표현식을 작성해주세요.","component.material_quiz_edit.option_text_advance_method_notice":"답에 메타 문자(^[]$()|*+?{}/.)가 포함될 경우 해당 문자 앞에 \\를 붙여주세요.\n예시) ^사과 가 정답을 경우 \\^사과","component.material_quiz.advance_ai_generator_form_dialog.ai_generator_rule_notice":"다양한 표현이 정답으로 인정할 수 있도록 주관식 답안을 정규 표현식을 사용해 채점합니다.\nAI 답안 도우미는 이를 쉽게 작성하도록 돕습니다.","component.material_quiz.advance_ai_generator_form_dialog.prompt_controller.label":"답안을 서술형으로 작성해 주세요.","component.material_quiz.advance_ai_generator_form_dialog.prompt_controller.placeholder":"예시) update라는 단어가 답안에 들어가고, 대소문자는 상관하지 않았으면 좋겠어.","component.material_quiz.advance_ai_generator_result.regex.label":"AI 생성 정규 표현식","content.answerHint.description":"답안을 입력할 입력란의 힌트 텍스트를 지정할 수 있습니다.","content.answerHint.placeholder":"입력란 힌트 텍스트 입력","content.answerHint.title":"입력란 힌트 텍스트 지정","content.description.placeholder":"자세한 문제 설명이나 코드 혹은 이미지 등을 입력해주세요.","content.description.title":"문제 설명","content.explanationInfo.checkbox.label":"사용","content.explanationInfo.description":"문제를 푼 후 해당 설명이 노출됩니다.","content.explanationInfo.textarea.errorMessage.required":"문제의 해설을 작성하세요.","content.explanationInfo.textarea.placeholder":"해설을 입력해주세요.","content.explanationInfo.title":"해설 작성","content.option.alert.randomized.description":"{_termPathRoleStudent}에게 답안의 순서가 섞여서 표시됩니다.","content.option.alert.randomized.title":"답안 순서 섞기가 활성화 되어있습니다.","content.option.errorMessage.required":"답안을 선택해주세요.","content.option.optionsSetEnabled.label":"답안 순서 섞기","content.option.optionsSetEnabled.tooltip":"기능 활성화 시 {_termPathRoleStudent}마다 답안의 순서가 섞여서 표시됩니다.","content.option.select.items.group":"드래그 앤 드롭 (그룹형)","content.option.select.items.image":"이미지","content.option.select.items.selectMultiple":"객관식 (다중 선택)","content.option.select.items.selectMultipleOrder":"드래그 앤 드롭","content.option.select.items.selectOne":"객관식 (단일 선택)","content.option.select.items.text":"주관식","content.option.statusText.dragNDrop":"보기를 입력한 후 정답 순서대로 클릭하세요.\n구성된 문제는 좌측 학습{_termLibraryLecturePage} 탭에서 확인하실 수 있습니다.","content.option.statusText.dragNDropGroup":"구성된 문제는 좌측 학습{_termLibraryLecturePage} 탭에서 확인하실 수 있습니다.","content.option.title":"답안","content.option.tooltip.disabled":"퀴즈가 공개된 상태이거나 문제를 제출한 {_termPathRoleStudent}이 존재하면\n수정이 불가능합니다.","content.title":"질문","content.title.errorMessage.required":"질문을 입력해주세요.","content.title.markdownInfo.tooltip":"원하는 텍스트 앞뒤에 몇 개의 문자를 추가해 효과를 적용할 수 있습니다.<ul><li><mark>_이탤릭체_</mark> *italics* 또는 _italics_</li><li>밑줄 ___underline___</li><li><mark>~~취소선~~</mark> ~~strikethrough~~</li></ul>","content.title.placeholder":"문제의 질문을 입력해주세요.","group.option.addButton":"그룹 추가","group.option.errorMessage.notChild":"생성된 그룹 중 보기에 속하지 않은 그룹이 존재합니다.","group.option.errorMessage.required":"그룹명을 입력해주세요.","group.option.title":"그룹","group.option.tooltip.maxDisabled":"그룹은 최대 6개까지 구성 가능합니다.","group.option.tooltip.minDisabled":"그룹은 최소 2개 이상을 구성해야합니다.","material_quiz_edit.option_text.advance_ai_generator.result_title":"<span>AI 헬피</span>가 정규 표현식 답안을 만들었어요.","option.common.select.addButton":"보기 추가","option.common.select.errorMessage.required":"선택지를 입력해주세요.","option.common.select.placeholder":"선택지 입력","option.common.select.tooltip.maxOptionInfoItem":"선택지는 20개 초과하여 입력할 수 없습니다.","option.common.select.tooltip.minOptionInfoItem":"선택지는 2개 이상 입력해야 합니다.","option.text.answerInfo.errorMessage.required":"정답을 입력해주세요.","option.text.answerInfo.hintText":"정규표현식으로 채점됩니다. 정답에 메타 문자(^[]$()|*+?{}\\.)가 포함될 경우 해당 문자 앞에 \\를 붙여주세요.\n예) ^^ 가 정답인 경우 → \\^\\^","option.text.isAutoGrade.checkbox.label":"답안을 지정하지 않고 수동으로 채점"};
|
|
6
6
|
|
|
7
7
|
exports.default = messageKo;
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var th = {"answer.option.addButton":"เพิ่มตัวเลือก","answer.option.default.group":"ไม่มี","answer.option.errorMessage":"ต้องมีตัวเลือกหรือค่าไฟล์","answer.option.file.description.extension":"รองรับสกุลไฟล์ .mp3, .mp4, .mov, .png, .jpg, .svg และ .gif","answer.option.file.description.fileSize":"คุณสามารถอัพโหลดไฟล์ได้สูงสุด 3MB","answer.option.file.description.imageSize":"อัตราส่วนที่แนะนำสำหรับไฟล์คือ 1:1 (185 x 185px)","answer.option.file.errorMessage.maxSize":"คุณสามารถอัพโหลดได้สูงสุด {size}MB.","answer.option.file.label":"อัพโหลดไฟล์","answer.option.title.file":"ไฟล์","answer.option.title.group":"กลุ่มที่ตัวเลือกเป็นส่วนหนึ่งของ","answer.option.title.text":"ตัวเลือก","answer.option.tooltip.maxDisabled":"คุณสามารถกำหนดค่าตั้งค่าได้สูงสุด 20 ตัวเลือก","answer.option.tooltip.minDisabled":"คุณต้องกำหนดค่าอย่างน้อย 2 ตัวเลือก","common.errorMessage.range":"กรุณากรอกภายใน {min} ~ {max} ตัวอักษร","common.group":"กลุ่ม {group}","common.option":"ตัวเลือก {number}","content.answerHint.description":"คุณสามารถระบุข้อความใบ้สำหรับช่องป้อนที่จะใส่คำตอบได้","content.answerHint.placeholder":"ป้อนข้อความในช่องใส่ข้อมูล","content.answerHint.title":"ระบุข้อความในช่องข้อมูลที่แสดงคำใบ้","content.description.placeholder":"กรุณากรอกคำอธิบายปัญหาอย่างละเอียดพร้อมโค้ดหรือรูปภาพ เป็นต้น","content.description.title":"คำอธิบายของปัญหา","content.explanationInfo.checkbox.label":"ใช้","content.explanationInfo.description":"คำอธิบายนี้จะปรากฏหลังจากปัญหาได้รับการแก้ไขแล้ว","content.explanationInfo.textarea.errorMessage.required":"โปรดเขียนคำอธิบายเกี่ยวกับปัญหา","content.explanationInfo.textarea.placeholder":"กรุณาใส่คำอธิบาย","content.explanationInfo.title":"เขียนอธิบาย","content.option.alert.randomized.description":"{_termPathRoleStudent} จะเห็นการเรียงลำดับของคำตอบของพวกเขาที่สลับกัน","content.option.alert.randomized.title":"การสับเปลี่ยนลำดับของคำตอบถูกเปิดใช้งาน","content.option.errorMessage.required":"โปรดเลือกคำตอบ","content.option.optionsSetEnabled.label":"สับเปลี่ยนลำดับคำตอบ","content.option.optionsSetEnabled.tooltip":"เมื่อเปิดใช้งานคุณลักษณะนี้ ลำดับของคำตอบจะถูกสลับสลายสำหรับแต่ละ {_termPathRoleStudent}","content.option.select.items.group":"ลากและวาง (ประเภทกลุ่ม)","content.option.select.items.image":"รูปภาพ","content.option.select.items.selectMultiple":"ตัวเลือกหลายตัวเลือก (ตอบได้หลายตัวเลือก)","content.option.select.items.selectMultipleOrder":"ลากและวาง","content.option.select.items.selectOne":"การเลือกคำตอบหลายตัวเลือก (เลือกได้เพียงหนึ่งคำตอบ)","content.option.select.items.text":"อาการที่เป็นเรื่องส่วนบุคคล","content.option.statusText.dragNDrop":"หลังจากป้อนตัวเลือกเสร็จ ให้คลิกตามลำดับของคำตอบที่ถูกต้อง\nคุณสามารถเช็คปัญหาที่กำหนดค่าไว้ได้ในแท็บ {_termLibraryLecturePage} ทางซ้าย","content.option.statusText.dragNDropGroup":"คุณสามารถตรวจสอบปัญหาที่กำหนดค่าไว้ในแท็บ {_termLibraryLecturePage} ของผู้เรียนทางด้านซ้ายได้","content.option.title":"ตอบ","content.option.tooltip.disabled":"การแก้ไขไม่สามารถทำได้ถ้าควิซเป็นสาธารณะหรือถ้ามีนักเรียนที่ส่งปัญหาไปแล้ว {_termPathRoleStudent} คุณสามารถตรวจสอบปัญหาที่กำหนดค่าไว้ในแท็บ {_termLibraryLecturePage} ของผู้เรียนทางซ้ายได้เลย","content.title.errorMessage.required":"กรุณากรอกคำถาม","content.title.markdownInfo.tooltip":"คุณสามารถเพิ่มตัวอักษรบางตัวหน้าหรือหลังข้อความที่ต้องการเพื่อเพิ่มเอฟเฟ็กต์ได้<ul><li><mark>ตัวเอียง _italics_</mark> *italics* หรือ _italics_</li><li>ขีดเส้นใต้ ___underline___</li><li><mark>ขีดฆ่า ~~strikethrough~~</mark></li></ul>","content.title.placeholder":"กรุณากรอกคำถามสำหรับปัญหานี้ค่ะ","
|
|
5
|
+
var th = {"answer.option.addButton":"เพิ่มตัวเลือก","answer.option.default.group":"ไม่มี","answer.option.errorMessage":"ต้องมีตัวเลือกหรือค่าไฟล์","answer.option.file.description.extension":"รองรับสกุลไฟล์ .mp3, .mp4, .mov, .png, .jpg, .svg และ .gif","answer.option.file.description.fileSize":"คุณสามารถอัพโหลดไฟล์ได้สูงสุด 3MB","answer.option.file.description.imageSize":"อัตราส่วนที่แนะนำสำหรับไฟล์คือ 1:1 (185 x 185px)","answer.option.file.errorMessage.maxSize":"คุณสามารถอัพโหลดได้สูงสุด {size}MB.","answer.option.file.label":"อัพโหลดไฟล์","answer.option.title.file":"ไฟล์","answer.option.title.group":"กลุ่มที่ตัวเลือกเป็นส่วนหนึ่งของ","answer.option.title.text":"ตัวเลือก","answer.option.tooltip.maxDisabled":"คุณสามารถกำหนดค่าตั้งค่าได้สูงสุด 20 ตัวเลือก","answer.option.tooltip.minDisabled":"คุณต้องกำหนดค่าอย่างน้อย 2 ตัวเลือก","common.advance_mode":"โหมดขั้นสูง","common.ai_answer_helper":"ผู้ช่วยคำตอบ AI","common.apply":"นำไปใช้","common.correct_answer":"คำตอบที่ถูกต้อง","common.errorMessage.range":"กรุณากรอกภายใน {min} ~ {max} ตัวอักษร","common.generate_ai_answer":"สร้างคำตอบ AI","common.group":"กลุ่ม {group}","common.incorrect_answer":"คำตอบที่ไม่ถูกต้อง","common.normal_mode":"โหมดปกติ","common.option":"ตัวเลือก {number}","component.material_quiz_edit.answer_info_default.helper_text":"คำตอบต้องตรงกับที่กรอกไว้ทั้งหมดจึงจะถือว่าถูกต้อง","component.material_quiz_edit.answer_info_default.placeholder":"กรุณาใส่คำตอบแบบอัตนัย","component.material_quiz_edit.option_text_advance_answer_info_default_controller.test_regular_expression":"ทดสอบ Regular Expression ที่คุณเขียน","component.material_quiz_edit.option_text_advance_answer_info_default_controller.test_regular_expression_placeholder":"กรุณาใส่คำตอบที่คุณต้องการทดสอบ","component.material_quiz_edit.option_text_advance_answer_info_default_controller.write_regular_expression":"กรุณาเขียน Regular Expression","component.material_quiz_edit.option_text_advance_answer_info_default_controller.write_regular_expression_placeholder":"ตัวอย่าง: *[Uu][Pp][Dd][Aa][Tt][Ee]$","component.material_quiz_edit.option_text_advance_answer_info_default_controller.write_regular_expression_required_message":"กรุณาเขียนนิพจน์ปกติ","component.material_quiz_edit.option_text_advance_method_notice":"หากคำตอบมีอักขระเมตา (^[]$()|*+?{}/.) ให้เพิ่ม \\ ด้านหน้าของอักขระนั้น\nตัวอย่าง: หากคำตอบที่ถูกต้องคือ ^แอปเปิ้ล ให้เขียน \\^แอปเปิ้ล","component.material_quiz.advance_ai_generator_form_dialog.ai_generator_rule_notice":"เพื่อให้สามารถยอมรับคำตอบในหลายรูปแบบได้ คำตอบแบบอัตนัยจะถูกตรวจด้วย Regular Expression\nผู้ช่วยคำตอบ AI ช่วยให้การเขียนง่ายขึ้น","component.material_quiz.advance_ai_generator_form_dialog.prompt_controller.label":"กรุณาเขียนคำตอบในรูปแบบอธิบาย","component.material_quiz.advance_ai_generator_form_dialog.prompt_controller.placeholder":"ตัวอย่าง: คำว่า 'update' ต้องอยู่ในคำตอบ และไม่สนใจตัวพิมพ์ใหญ่-เล็ก","component.material_quiz.advance_ai_generator_result.regex.label":"ไพ่ AI ประเมินเกณฑ์รูปแบบนิติวิธี","content.answerHint.description":"คุณสามารถระบุข้อความใบ้สำหรับช่องป้อนที่จะใส่คำตอบได้","content.answerHint.placeholder":"ป้อนข้อความในช่องใส่ข้อมูล","content.answerHint.title":"ระบุข้อความในช่องข้อมูลที่แสดงคำใบ้","content.description.placeholder":"กรุณากรอกคำอธิบายปัญหาอย่างละเอียดพร้อมโค้ดหรือรูปภาพ เป็นต้น","content.description.title":"คำอธิบายของปัญหา","content.explanationInfo.checkbox.label":"ใช้","content.explanationInfo.description":"คำอธิบายนี้จะปรากฏหลังจากปัญหาได้รับการแก้ไขแล้ว","content.explanationInfo.textarea.errorMessage.required":"โปรดเขียนคำอธิบายเกี่ยวกับปัญหา","content.explanationInfo.textarea.placeholder":"กรุณาใส่คำอธิบาย","content.explanationInfo.title":"เขียนอธิบาย","content.option.alert.randomized.description":"{_termPathRoleStudent} จะเห็นการเรียงลำดับของคำตอบของพวกเขาที่สลับกัน","content.option.alert.randomized.title":"การสับเปลี่ยนลำดับของคำตอบถูกเปิดใช้งาน","content.option.errorMessage.required":"โปรดเลือกคำตอบ","content.option.optionsSetEnabled.label":"สับเปลี่ยนลำดับคำตอบ","content.option.optionsSetEnabled.tooltip":"เมื่อเปิดใช้งานคุณลักษณะนี้ ลำดับของคำตอบจะถูกสลับสลายสำหรับแต่ละ {_termPathRoleStudent}","content.option.select.items.group":"ลากและวาง (ประเภทกลุ่ม)","content.option.select.items.image":"รูปภาพ","content.option.select.items.selectMultiple":"ตัวเลือกหลายตัวเลือก (ตอบได้หลายตัวเลือก)","content.option.select.items.selectMultipleOrder":"ลากและวาง","content.option.select.items.selectOne":"การเลือกคำตอบหลายตัวเลือก (เลือกได้เพียงหนึ่งคำตอบ)","content.option.select.items.text":"อาการที่เป็นเรื่องส่วนบุคคล","content.option.statusText.dragNDrop":"หลังจากป้อนตัวเลือกเสร็จ ให้คลิกตามลำดับของคำตอบที่ถูกต้อง\nคุณสามารถเช็คปัญหาที่กำหนดค่าไว้ได้ในแท็บ {_termLibraryLecturePage} ทางซ้าย","content.option.statusText.dragNDropGroup":"คุณสามารถตรวจสอบปัญหาที่กำหนดค่าไว้ในแท็บ {_termLibraryLecturePage} ของผู้เรียนทางด้านซ้ายได้","content.option.title":"ตอบ","content.option.tooltip.disabled":"การแก้ไขไม่สามารถทำได้ถ้าควิซเป็นสาธารณะหรือถ้ามีนักเรียนที่ส่งปัญหาไปแล้ว {_termPathRoleStudent} คุณสามารถตรวจสอบปัญหาที่กำหนดค่าไว้ในแท็บ {_termLibraryLecturePage} ของผู้เรียนทางซ้ายได้เลย","content.title":"คำถาม","content.title.errorMessage.required":"กรุณากรอกคำถาม","content.title.markdownInfo.tooltip":"คุณสามารถเพิ่มตัวอักษรบางตัวหน้าหรือหลังข้อความที่ต้องการเพื่อเพิ่มเอฟเฟ็กต์ได้<ul><li><mark>ตัวเอียง _italics_</mark> *italics* หรือ _italics_</li><li>ขีดเส้นใต้ ___underline___</li><li><mark>ขีดฆ่า ~~strikethrough~~</mark></li></ul>","content.title.placeholder":"กรุณากรอกคำถามสำหรับปัญหานี้ค่ะ","group.option.addButton":"เพิ่มกลุ่ม","group.option.errorMessage.notChild":"มีกลุ่มที่ถูกสร้างขึ้นแล้ว ซึ่งไม่ได้อยู่ในตัวเลือกใดๆ ","group.option.errorMessage.required":"กรุณาใส่ชื่อกลุ่ม","group.option.title":"กลุ่ม","group.option.tooltip.maxDisabled":"คุณสามารถกำหนดค่ากลุ่มได้สูงสุด 6 กลุ่ม","group.option.tooltip.minDisabled":"คุณต้องกำหนดค่าอย่างน้อย 2 กลุ่ม","material_quiz_edit.option_text.advance_ai_generator.result_title":"<span>ผู้ช่วย AI</span> ได้สร้างคำตอบแบบ Regular Expression แล้ว","option.common.select.addButton":"เพิ่มตัวเลือก","option.common.select.errorMessage.required":"กรุณากรอกตัวเลือก","option.common.select.placeholder":"ป้อนตัวเลือก","option.common.select.tooltip.maxOptionInfoItem":"คุณไม่สามารถป้อนตัวเลือกได้มากกว่า 20 ตัวเลือก","option.common.select.tooltip.minOptionInfoItem":"คุณต้องป้อนตัวเลือกอย่างน้อย 2 ตัวเลือก","option.text.answerInfo.errorMessage.required":"กรุณากรอกคำตอบที่ถูกต้อง","option.text.answerInfo.hintText":"คำตอบจะถูกให้คะแนนโดยใช้ regular expressions หากคำตอบที่ถูกต้องรวมถึง meta-characters (^[]$()|*+?{}.\\) โปรดเติมเครื่องหมาย backslash (\\) ไว้ข้างหน้า","option.text.isAutoGrade.checkbox.label":"การให้คะแนนโดยการตรวจสอบโดยไม่ระบุคำตอบ"};
|
|
6
6
|
|
|
7
7
|
exports.default = th;
|
package/cjs/components/material-quiz-edit/options/option-text/AnswerInfoDefaultController.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TextFieldProps } from '@mui/material';
|
|
2
|
+
import type { ControllerProps } from 'react-hook-form';
|
|
3
|
+
interface AnswerInfoDefaultControllerProps {
|
|
4
|
+
slotProps?: {
|
|
5
|
+
TextField?: TextFieldProps;
|
|
6
|
+
Controller?: Pick<ControllerProps, 'rules'>;
|
|
7
|
+
};
|
|
8
|
+
requiredMessage?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const AnswerInfoDefaultController: ({ slotProps, requiredMessage, }: AnswerInfoDefaultControllerProps) => JSX.Element;
|
|
11
|
+
export default AnswerInfoDefaultController;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var reactHookForm = require('react-hook-form');
|
|
7
|
+
var intl = require('@elice/intl');
|
|
8
|
+
var material = require('@mui/material');
|
|
9
|
+
var context = require('../../context.js');
|
|
10
|
+
|
|
11
|
+
//
|
|
12
|
+
//
|
|
13
|
+
//
|
|
14
|
+
var MIN_TEXT_LENGTH = 1;
|
|
15
|
+
var MAX_TEXT_LENGTH = 128;
|
|
16
|
+
//
|
|
17
|
+
//
|
|
18
|
+
//
|
|
19
|
+
var AnswerInfoDefaultController = function AnswerInfoDefaultController(_ref) {
|
|
20
|
+
var slotProps = _ref.slotProps,
|
|
21
|
+
requiredMessage = _ref.requiredMessage;
|
|
22
|
+
//
|
|
23
|
+
var intl$1 = intl.useRawEliceIntl();
|
|
24
|
+
//
|
|
25
|
+
var _useMaterialQuizEditC = context.useMaterialQuizEditContext(),
|
|
26
|
+
disabled = _useMaterialQuizEditC.disabled;
|
|
27
|
+
var _useFormContext = reactHookForm.useFormContext(),
|
|
28
|
+
control = _useFormContext.control;
|
|
29
|
+
//
|
|
30
|
+
var watchedIsAutoGrade = reactHookForm.useWatch({
|
|
31
|
+
control: control,
|
|
32
|
+
name: 'isAutoGrade'
|
|
33
|
+
});
|
|
34
|
+
//
|
|
35
|
+
//
|
|
36
|
+
//
|
|
37
|
+
return jsxRuntime.jsx(reactHookForm.Controller, {
|
|
38
|
+
control: control,
|
|
39
|
+
name: "answerInfoDefault",
|
|
40
|
+
rules: {
|
|
41
|
+
required: {
|
|
42
|
+
value: watchedIsAutoGrade,
|
|
43
|
+
message: requiredMessage || intl$1.formatMessage({
|
|
44
|
+
id: 'option.text.answerInfo.errorMessage.required'
|
|
45
|
+
})
|
|
46
|
+
},
|
|
47
|
+
minLength: {
|
|
48
|
+
value: MIN_TEXT_LENGTH,
|
|
49
|
+
message: intl$1.formatMessage({
|
|
50
|
+
id: 'common.errorMessage.range'
|
|
51
|
+
}, {
|
|
52
|
+
min: MIN_TEXT_LENGTH,
|
|
53
|
+
max: MAX_TEXT_LENGTH
|
|
54
|
+
})
|
|
55
|
+
},
|
|
56
|
+
maxLength: {
|
|
57
|
+
value: MAX_TEXT_LENGTH,
|
|
58
|
+
message: intl$1.formatMessage({
|
|
59
|
+
id: 'common.errorMessage.range'
|
|
60
|
+
}, {
|
|
61
|
+
min: MIN_TEXT_LENGTH,
|
|
62
|
+
max: MAX_TEXT_LENGTH
|
|
63
|
+
})
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
render: function render(_ref2) {
|
|
67
|
+
var field = _ref2.field,
|
|
68
|
+
fieldState = _ref2.fieldState;
|
|
69
|
+
var _a, _b, _c;
|
|
70
|
+
return jsxRuntime.jsx(material.TextField, Object.assign({}, field, slotProps === null || slotProps === void 0 ? void 0 : slotProps.TextField, {
|
|
71
|
+
fullWidth: true,
|
|
72
|
+
InputProps: {
|
|
73
|
+
inputProps: {
|
|
74
|
+
min: MIN_TEXT_LENGTH,
|
|
75
|
+
max: MAX_TEXT_LENGTH
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
disabled: !watchedIsAutoGrade || disabled,
|
|
79
|
+
error: fieldState.invalid,
|
|
80
|
+
helperText: ((_a = fieldState.error) === null || _a === void 0 ? void 0 : _a.message) || ((_b = slotProps === null || slotProps === void 0 ? void 0 : slotProps.TextField) === null || _b === void 0 ? void 0 : _b.helperText),
|
|
81
|
+
placeholder: ((_c = slotProps === null || slotProps === void 0 ? void 0 : slotProps.TextField) === null || _c === void 0 ? void 0 : _c.placeholder) || intl$1.formatMessage({
|
|
82
|
+
id: 'component.material_quiz_edit.answer_info_default.placeholder'
|
|
83
|
+
})
|
|
84
|
+
}));
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
exports.default = AnswerInfoDefaultController;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
var material = require('@mui/material');
|
|
7
|
+
var ai_helpy = require('../../../../assets/imgs/ai_helpy.png.js');
|
|
8
|
+
|
|
9
|
+
// import noBrandLogoImage from 'src/assets/imgs/helpy-logo-no-brand.png';
|
|
10
|
+
//
|
|
11
|
+
//
|
|
12
|
+
//
|
|
13
|
+
var HelpyLogo = function HelpyLogo() {
|
|
14
|
+
return jsxRuntime.jsx(material.Box, {
|
|
15
|
+
alt: "help logo",
|
|
16
|
+
src: ai_helpy.default,
|
|
17
|
+
component: "img",
|
|
18
|
+
width: "2.5rem",
|
|
19
|
+
height: "2.5rem",
|
|
20
|
+
sx: {
|
|
21
|
+
border: function border(theme) {
|
|
22
|
+
return "1px solid ".concat(theme.palette.surface.border);
|
|
23
|
+
},
|
|
24
|
+
borderRadius: '50vh',
|
|
25
|
+
objectFit: 'contain'
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
exports.default = HelpyLogo;
|