@elice/material-quiz 1.240718.0-trasncript.2 → 1.240718.1
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/components/eb-sortable/EbDraggable.js +33 -42
- package/cjs/components/eb-sortable/EbDroppable.js +20 -27
- package/cjs/components/markdown-editor/index.d.ts +2 -1
- package/cjs/components/markdown-editor/index.js +10 -19
- package/cjs/components/material-quiz/MaterialQuiz.js +83 -114
- package/cjs/components/material-quiz/MaterialQuizAnswerExplanation.js +29 -36
- package/cjs/components/material-quiz/MaterialQuizInfo.js +149 -151
- package/cjs/components/material-quiz/MaterialQuizSelectMultiple.js +127 -175
- package/cjs/components/material-quiz/MaterialQuizSelectMultipleOrder.js +286 -360
- package/cjs/components/material-quiz/MaterialQuizSelectOne.js +126 -172
- package/cjs/components/material-quiz/MaterialQuizShimmer.js +39 -46
- package/cjs/components/material-quiz/MaterialQuizText.js +115 -163
- package/cjs/components/material-quiz/QuizResultBadge.js +22 -32
- package/cjs/components/material-quiz/QuizSubmitStatusText.js +16 -21
- package/cjs/components/material-quiz/constants/color.js +5 -5
- package/cjs/components/material-quiz/context/MaterialQuizContext.d.ts +1 -1
- package/cjs/components/material-quiz/context/MaterialQuizContext.js +93 -156
- package/cjs/components/material-quiz/material-quiz-group/MaterialQuizGroup.js +161 -259
- package/cjs/components/material-quiz/material-quiz-group/MaterialQuizGroupDesktop.js +100 -134
- package/cjs/components/material-quiz/material-quiz-group/MaterialQuizGroupMobile.js +101 -130
- package/cjs/components/material-quiz/material-quiz-group/MaterialQuizGroupOptionItem.js +52 -64
- package/cjs/components/material-quiz/material-quiz-group/context/context.js +1 -5
- package/cjs/components/material-quiz-edit/MaterialQuizEdit.js +36 -47
- package/cjs/components/material-quiz-edit/MaterialQuizEditContent.js +232 -280
- package/cjs/components/material-quiz-edit/context.js +2 -8
- package/cjs/components/material-quiz-edit/options/OptionEditor.js +46 -70
- package/cjs/components/material-quiz-edit/options/OptionSelectMultiple.js +148 -174
- package/cjs/components/material-quiz-edit/options/OptionSelectMultipleOrder.js +149 -175
- package/cjs/components/material-quiz-edit/options/OptionSelectOne.js +144 -164
- package/cjs/components/material-quiz-edit/options/OptionText.js +82 -90
- package/cjs/components/material-quiz-edit/options/options-group/OptionGroup.js +8 -9
- package/cjs/components/material-quiz-edit/options/options-group/OptionGroupAnswerInfo.js +112 -156
- package/cjs/components/material-quiz-edit/options/options-group/OptionGroupAnswerListItem.js +196 -288
- package/cjs/components/material-quiz-edit/options/options-group/OptionGroupGroupInfo.js +75 -88
- package/cjs/components/material-quiz-edit/options/options-group/OptionGroupGroupListItem.js +92 -108
- package/cjs/components/material-quiz-edit/utils/checkTwoDimensionArray.js +1 -5
- package/cjs/components/material-quiz-edit/utils/editValue.js +12 -21
- package/cjs/components/shared/QuestionBox.js +165 -198
- package/cjs/components/shared/QuizDraggbleDroppedOption.js +12 -11
- package/cjs/components/shared/QuizDraggbleDummyOption.js +16 -23
- package/cjs/components/shared/QuizDraggbleOption.js +59 -65
- package/cjs/components/shared/StyledMarkdown.js +1 -5
- package/cjs/components/shared/question-checkbox/QuestionCheckbox.js +7 -13
- package/cjs/components/shared/question-checkbox/QuestionCheckboxContext.d.ts +1 -1
- package/cjs/components/shared/question-checkbox/QuestionCheckboxContext.js +17 -24
- package/cjs/components/shared/question-checkbox/QuestionCheckboxOption.js +68 -59
- package/cjs/components/shared/question-radio/QuestionRadio.js +7 -13
- package/cjs/components/shared/question-radio/QuestionRadioContext.d.ts +1 -1
- package/cjs/components/shared/question-radio/QuestionRadioContext.js +17 -24
- package/cjs/components/shared/question-radio/QuestionRadioOption.js +59 -52
- package/cjs/components/shared/utils/getQuestionStatusStyle.js +9 -7
- package/cjs/components/shared/utils/mergeRefs.js +6 -15
- package/cjs/constant/element.js +3 -3
- package/cjs/helpers/index.js +10 -8
- package/cjs/hooks/useCaculatePassage.js +20 -21
- package/es/components/eb-sortable/EbDraggable.js +33 -37
- package/es/components/eb-sortable/EbDroppable.js +20 -22
- package/es/components/markdown-editor/index.d.ts +2 -1
- package/es/components/markdown-editor/index.js +10 -15
- package/es/components/material-quiz/MaterialQuiz.js +83 -109
- package/es/components/material-quiz/MaterialQuizAnswerExplanation.js +29 -32
- package/es/components/material-quiz/MaterialQuizInfo.js +150 -148
- package/es/components/material-quiz/MaterialQuizSelectMultiple.js +127 -171
- package/es/components/material-quiz/MaterialQuizSelectMultipleOrder.js +287 -356
- package/es/components/material-quiz/MaterialQuizSelectOne.js +126 -168
- package/es/components/material-quiz/MaterialQuizShimmer.js +39 -42
- package/es/components/material-quiz/MaterialQuizText.js +115 -158
- package/es/components/material-quiz/QuizResultBadge.js +22 -27
- package/es/components/material-quiz/QuizSubmitStatusText.js +16 -17
- package/es/components/material-quiz/constants/color.js +5 -5
- package/es/components/material-quiz/context/MaterialQuizContext.d.ts +1 -1
- package/es/components/material-quiz/context/MaterialQuizContext.js +94 -153
- package/es/components/material-quiz/material-quiz-group/MaterialQuizGroup.js +161 -253
- package/es/components/material-quiz/material-quiz-group/MaterialQuizGroupDesktop.js +100 -129
- package/es/components/material-quiz/material-quiz-group/MaterialQuizGroupMobile.js +101 -125
- package/es/components/material-quiz/material-quiz-group/MaterialQuizGroupOptionItem.js +52 -60
- package/es/components/material-quiz/material-quiz-group/context/context.js +1 -1
- package/es/components/material-quiz-edit/MaterialQuizEdit.js +36 -43
- package/es/components/material-quiz-edit/MaterialQuizEditContent.js +229 -272
- package/es/components/material-quiz-edit/context.js +2 -4
- package/es/components/material-quiz-edit/options/OptionEditor.js +46 -64
- package/es/components/material-quiz-edit/options/OptionSelectMultiple.js +148 -170
- package/es/components/material-quiz-edit/options/OptionSelectMultipleOrder.js +149 -171
- package/es/components/material-quiz-edit/options/OptionSelectOne.js +144 -159
- package/es/components/material-quiz-edit/options/OptionText.js +82 -86
- package/es/components/material-quiz-edit/options/options-group/OptionGroup.js +8 -9
- package/es/components/material-quiz-edit/options/options-group/OptionGroupAnswerInfo.js +112 -151
- package/es/components/material-quiz-edit/options/options-group/OptionGroupAnswerListItem.js +197 -283
- package/es/components/material-quiz-edit/options/options-group/OptionGroupGroupInfo.js +75 -83
- package/es/components/material-quiz-edit/options/options-group/OptionGroupGroupListItem.js +92 -103
- package/es/components/material-quiz-edit/utils/checkTwoDimensionArray.js +1 -5
- package/es/components/material-quiz-edit/utils/editValue.js +12 -17
- package/es/components/shared/QuestionBox.js +165 -192
- package/es/components/shared/QuizDraggbleDroppedOption.js +12 -11
- package/es/components/shared/QuizDraggbleDummyOption.js +16 -19
- package/es/components/shared/QuizDraggbleOption.js +59 -61
- package/es/components/shared/StyledMarkdown.js +1 -1
- package/es/components/shared/question-checkbox/QuestionCheckbox.js +7 -9
- package/es/components/shared/question-checkbox/QuestionCheckboxContext.d.ts +1 -1
- package/es/components/shared/question-checkbox/QuestionCheckboxContext.js +17 -20
- package/es/components/shared/question-checkbox/QuestionCheckboxOption.js +68 -54
- package/es/components/shared/question-radio/QuestionRadio.js +7 -9
- package/es/components/shared/question-radio/QuestionRadioContext.d.ts +1 -1
- package/es/components/shared/question-radio/QuestionRadioContext.js +17 -20
- package/es/components/shared/question-radio/QuestionRadioOption.js +59 -47
- package/es/components/shared/utils/getQuestionStatusStyle.js +9 -7
- package/es/components/shared/utils/mergeRefs.js +6 -15
- package/es/constant/element.js +3 -3
- package/es/helpers/index.js +10 -8
- package/es/hooks/useCaculatePassage.js +20 -21
- package/package.json +15 -12
- package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -423
- package/cjs/components/material-quiz/index.js +0 -9
- package/cjs/components/material-quiz/locales/index.js +0 -13
- package/cjs/components/material-quiz-edit/index.js +0 -7
- package/cjs/components/material-quiz-edit/locales/index.js +0 -13
- package/cjs/components/shared/index.js +0 -19
- package/cjs/constant/index.js +0 -9
- package/cjs/hooks/index.js +0 -7
- package/es/_virtual/_rollupPluginBabelHelpers.js +0 -408
- package/es/components/material-quiz/index.js +0 -2
- package/es/components/material-quiz/locales/index.js +0 -4
- package/es/components/material-quiz-edit/index.js +0 -1
- package/es/components/material-quiz-edit/locales/index.js +0 -4
- package/es/components/shared/index.js +0 -7
- package/es/constant/index.js +0 -1
- package/es/hooks/index.js +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var React = require('react');
|
|
6
6
|
var blocks = require('@elice/blocks');
|
|
7
7
|
var designTokens = require('@elice/design-tokens');
|
|
8
8
|
var icons = require('@elice/icons');
|
|
@@ -11,63 +11,55 @@ var styled = require('styled-components');
|
|
|
11
11
|
var EbDraggable = require('../../eb-sortable/EbDraggable.js');
|
|
12
12
|
var MaterialQuizContext = require('../context/MaterialQuizContext.js');
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
var styled__default = /*#__PURE__*/_interopDefaultCompat(styled);
|
|
17
|
-
|
|
18
|
-
var StyledDraggbleOption = styled__default.default(EbDraggable.default).withConfig({
|
|
14
|
+
const StyledDraggbleOption = styled(EbDraggable.default).withConfig({
|
|
19
15
|
componentId: "sc-1b3vxse-0"
|
|
20
|
-
})(["display:flex;flex-direction:column;flex-shrink:", ";overflow:hidden;max-width:", ";height:fit-content;border-radius:0.5rem;background:", ";"],
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}, designTokens.base.color.navy8);
|
|
27
|
-
var StyledOptionTitle = styled__default.default.div.withConfig({
|
|
16
|
+
})(["display:flex;flex-direction:column;flex-shrink:", ";overflow:hidden;max-width:", ";height:fit-content;border-radius:0.5rem;background:", ";"], ({
|
|
17
|
+
vertical
|
|
18
|
+
}) => vertical ? 0 : 1, ({
|
|
19
|
+
vertical
|
|
20
|
+
}) => vertical ? '10.25rem' : '11.5rem', designTokens.base.color.navy8);
|
|
21
|
+
const StyledOptionTitle = styled.div.withConfig({
|
|
28
22
|
componentId: "sc-1b3vxse-1"
|
|
29
|
-
})(["display:flex;justify-content:center;align-items:center;width:", ";height:", ";padding:0.5rem;background:", ";"],
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}, designTokens.base.color.white);
|
|
38
|
-
var StyledOptionContent = styled__default.default.div.withConfig({
|
|
23
|
+
})(["display:flex;justify-content:center;align-items:center;width:", ";height:", ";padding:0.5rem;background:", ";"], ({
|
|
24
|
+
vertical,
|
|
25
|
+
isOptionContent
|
|
26
|
+
}) => isOptionContent ? '100%' : vertical ? '10.25rem' : '11.5rem', ({
|
|
27
|
+
vertical,
|
|
28
|
+
isOptionContent
|
|
29
|
+
}) => isOptionContent ? 'auto' : vertical ? '10.25rem' : '11.5rem', designTokens.base.color.white);
|
|
30
|
+
const StyledOptionContent = styled.div.withConfig({
|
|
39
31
|
componentId: "sc-1b3vxse-2"
|
|
40
|
-
})(["display:flex;align-items:center;width:", ";height:", ";background:", ";& p{line-height:1;}"],
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}, designTokens.base.color.navy8);
|
|
47
|
-
var StyledOptionRemoveIcon = styled__default.default(blocks.IconButton).withConfig({
|
|
32
|
+
})(["display:flex;align-items:center;width:", ";height:", ";background:", ";& p{line-height:1;}"], ({
|
|
33
|
+
vertical
|
|
34
|
+
}) => vertical ? '10.25rem' : '11.5rem', ({
|
|
35
|
+
vertical
|
|
36
|
+
}) => vertical ? '10.25rem' : '11.5rem', designTokens.base.color.navy8);
|
|
37
|
+
const StyledOptionRemoveIcon = styled(blocks.IconButton).withConfig({
|
|
48
38
|
componentId: "sc-1b3vxse-3"
|
|
49
39
|
})(["position:absolute;top:0.5rem;right:0.5rem;border-radius:1rem;"]);
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
40
|
+
const MaterialQuizGroupOptionItem = ({
|
|
41
|
+
option,
|
|
42
|
+
onClose
|
|
43
|
+
}) => {
|
|
53
44
|
var _a;
|
|
54
|
-
|
|
55
|
-
vertical
|
|
56
|
-
userId
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
45
|
+
const {
|
|
46
|
+
vertical,
|
|
47
|
+
userId
|
|
48
|
+
} = MaterialQuizContext.useMaterialQuizState();
|
|
49
|
+
const isOptionTitle = Boolean(option.options.title);
|
|
50
|
+
const isOptionContent = Boolean(option.options.content);
|
|
51
|
+
const renderRemoveItem = () => {
|
|
60
52
|
if (typeof onClose !== 'function') {
|
|
61
53
|
return null;
|
|
62
54
|
}
|
|
63
55
|
if (!!userId) {
|
|
64
56
|
return null;
|
|
65
57
|
}
|
|
66
|
-
return
|
|
58
|
+
return React.createElement(StyledOptionRemoveIcon, {
|
|
67
59
|
icon: icons.eilMathsignMultiplyBasic,
|
|
68
60
|
role: "gray1",
|
|
69
61
|
size: "micro",
|
|
70
|
-
onClick:
|
|
62
|
+
onClick: e => {
|
|
71
63
|
e.stopPropagation();
|
|
72
64
|
onClose();
|
|
73
65
|
}
|
|
@@ -76,31 +68,27 @@ var MaterialQuizGroupOptionItem = function MaterialQuizGroupOptionItem(_ref7) {
|
|
|
76
68
|
//
|
|
77
69
|
//
|
|
78
70
|
//
|
|
79
|
-
return
|
|
71
|
+
return React.createElement(StyledDraggbleOption, {
|
|
80
72
|
disabled: !!userId || vertical,
|
|
81
73
|
id: option.order.toString(),
|
|
82
74
|
className: "quiz-answer",
|
|
75
|
+
vertical: vertical
|
|
76
|
+
}, isOptionContent ? React.createElement(StyledOptionContent, {
|
|
77
|
+
vertical: vertical
|
|
78
|
+
}, React.createElement(markdown.MarkdownSSR, {
|
|
79
|
+
children: (_a = option.options.content) !== null && _a !== void 0 ? _a : '',
|
|
80
|
+
paddingx: 0,
|
|
81
|
+
paddingy: 0,
|
|
82
|
+
dark: true
|
|
83
|
+
})) : null, isOptionTitle ? React.createElement(StyledOptionTitle, {
|
|
83
84
|
vertical: vertical,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
})
|
|
92
|
-
}) : null, isOptionTitle ? jsxRuntime.jsx(StyledOptionTitle, {
|
|
93
|
-
vertical: vertical,
|
|
94
|
-
isOptionContent: isOptionContent,
|
|
95
|
-
children: jsxRuntime.jsx(blocks.Text, {
|
|
96
|
-
size: vertical ? 'small' : 'default',
|
|
97
|
-
textAlign: "center",
|
|
98
|
-
wordBreak: "break-all",
|
|
99
|
-
bold: true,
|
|
100
|
-
children: option.options.title
|
|
101
|
-
})
|
|
102
|
-
}) : null, renderRemoveItem()]
|
|
103
|
-
});
|
|
85
|
+
isOptionContent: isOptionContent
|
|
86
|
+
}, React.createElement(blocks.Text, {
|
|
87
|
+
size: vertical ? 'small' : 'default',
|
|
88
|
+
textAlign: "center",
|
|
89
|
+
wordBreak: "break-all",
|
|
90
|
+
bold: true
|
|
91
|
+
}, option.options.title)) : null, renderRemoveItem());
|
|
104
92
|
};
|
|
105
93
|
|
|
106
94
|
exports.default = MaterialQuizGroupOptionItem;
|
|
@@ -4,10 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
10
|
-
|
|
11
|
-
var QuizGroupContext = React__default.default.createContext(null);
|
|
7
|
+
const QuizGroupContext = React.createContext(null);
|
|
12
8
|
|
|
13
9
|
exports.default = QuizGroupContext;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
5
|
var React = require('react');
|
|
7
6
|
var reactHookForm = require('react-hook-form');
|
|
8
7
|
var intl = require('@elice/intl');
|
|
@@ -13,32 +12,29 @@ var en = require('./locales/en.json.js');
|
|
|
13
12
|
var ko = require('./locales/ko.json.js');
|
|
14
13
|
var MaterialQuizEditContent = require('./MaterialQuizEditContent.js');
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
onFileUploadRequest = _ref.onFileUploadRequest,
|
|
27
|
-
__intl = _ref.__intl;
|
|
28
|
-
var formElRef = React__default.default.useRef(null);
|
|
29
|
-
var useFormMethods = reactHookForm.useForm({
|
|
15
|
+
const MaterialQuizEdit = React.forwardRef(({
|
|
16
|
+
value,
|
|
17
|
+
disabled = false,
|
|
18
|
+
onChange,
|
|
19
|
+
onFormStateChange,
|
|
20
|
+
onFileUploadRequest,
|
|
21
|
+
__intl
|
|
22
|
+
}, ref) => {
|
|
23
|
+
const formElRef = React.useRef(null);
|
|
24
|
+
const useFormMethods = reactHookForm.useForm({
|
|
30
25
|
defaultValues: editValue.manipulateValue(value),
|
|
31
26
|
mode: 'onBlur'
|
|
32
27
|
});
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
isDirty
|
|
36
|
-
isValid
|
|
28
|
+
const watchedMaterialQuizEditValue = useFormMethods.watch();
|
|
29
|
+
const {
|
|
30
|
+
isDirty,
|
|
31
|
+
isValid
|
|
32
|
+
} = useFormMethods.formState;
|
|
37
33
|
//
|
|
38
34
|
// Reset from value, when `value` changes.
|
|
39
35
|
// TODO: will be removed, since `CourseLecturesMaterialTemplate` removed at `elice-web`.
|
|
40
36
|
//
|
|
41
|
-
materialSharedUtils.useDeepClonedCompareEffect(
|
|
37
|
+
materialSharedUtils.useDeepClonedCompareEffect(() => {
|
|
42
38
|
useFormMethods.reset(editValue.manipulateValue(value), {
|
|
43
39
|
keepDirty: true,
|
|
44
40
|
keepErrors: true,
|
|
@@ -52,17 +48,17 @@ var MaterialQuizEdit = React.forwardRef(function (_ref, ref) {
|
|
|
52
48
|
// Emit `onChange` handler when form value changed.
|
|
53
49
|
// TODO: will be removed, since `CourseLecturesMaterialTemplate` removed at `elice-web`.
|
|
54
50
|
//
|
|
55
|
-
materialSharedUtils.useDeepClonedCompareEffect(
|
|
51
|
+
materialSharedUtils.useDeepClonedCompareEffect(() => {
|
|
56
52
|
onChange(editValue.restoreValue(watchedMaterialQuizEditValue));
|
|
57
53
|
}, [watchedMaterialQuizEditValue]);
|
|
58
54
|
//
|
|
59
55
|
// Emit `onFormStateChange` handler when form state change.
|
|
60
56
|
//
|
|
61
|
-
|
|
57
|
+
React.useEffect(() => {
|
|
62
58
|
if (typeof onFormStateChange === 'function') {
|
|
63
59
|
onFormStateChange({
|
|
64
|
-
isDirty
|
|
65
|
-
isValid
|
|
60
|
+
isDirty,
|
|
61
|
+
isValid
|
|
66
62
|
});
|
|
67
63
|
}
|
|
68
64
|
},
|
|
@@ -71,32 +67,25 @@ var MaterialQuizEdit = React.forwardRef(function (_ref, ref) {
|
|
|
71
67
|
//
|
|
72
68
|
// Set ref.
|
|
73
69
|
//
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
reset
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
});
|
|
81
|
-
}, [useFormMethods, value]);
|
|
70
|
+
React.useImperativeHandle(ref, () => Object.assign(Object.assign({}, formElRef.current), {
|
|
71
|
+
reset: () => {
|
|
72
|
+
useFormMethods.reset(editValue.manipulateValue(value));
|
|
73
|
+
void useFormMethods.trigger();
|
|
74
|
+
}
|
|
75
|
+
}), [useFormMethods, value]);
|
|
82
76
|
//
|
|
83
77
|
//
|
|
84
78
|
//
|
|
85
|
-
return
|
|
86
|
-
value: __intl
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
children: jsxRuntime.jsx(MaterialQuizEditContent.default, {})
|
|
96
|
-
}))
|
|
97
|
-
})
|
|
98
|
-
})
|
|
99
|
-
});
|
|
79
|
+
return React.createElement(intl.RawEliceIntlProvider, {
|
|
80
|
+
value: __intl
|
|
81
|
+
}, React.createElement("form", {
|
|
82
|
+
ref: formElRef
|
|
83
|
+
}, React.createElement(context.default.Provider, {
|
|
84
|
+
value: {
|
|
85
|
+
disabled,
|
|
86
|
+
onFileUploadRequest
|
|
87
|
+
}
|
|
88
|
+
}, React.createElement(reactHookForm.FormProvider, Object.assign({}, useFormMethods), React.createElement(MaterialQuizEditContent.default, null)))));
|
|
100
89
|
});
|
|
101
90
|
var MaterialQuizEdit$1 = new intl.IntlComponentBuilder(MaterialQuizEdit).add('en', en.default).add('ko', ko.default).addAsync('th', Promise.resolve().then(function () { return require('./locales/th.json.js'); })).addAsync('ja', Promise.resolve().then(function () { return require('./locales/ja.json.js'); })).build();
|
|
102
91
|
|