@elice/material-quiz 1.240718.0-trasncript.1 → 1.240718.0-trasncript.2

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