@elice/material-quiz 1.240718.0-trasncript.2 → 1.240718.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/components/eb-sortable/EbDraggable.js +33 -42
  2. package/cjs/components/eb-sortable/EbDroppable.js +20 -27
  3. package/cjs/components/markdown-editor/index.d.ts +2 -1
  4. package/cjs/components/markdown-editor/index.js +10 -19
  5. package/cjs/components/material-quiz/MaterialQuiz.js +83 -114
  6. package/cjs/components/material-quiz/MaterialQuizAnswerExplanation.js +29 -36
  7. package/cjs/components/material-quiz/MaterialQuizInfo.js +149 -151
  8. package/cjs/components/material-quiz/MaterialQuizSelectMultiple.js +127 -175
  9. package/cjs/components/material-quiz/MaterialQuizSelectMultipleOrder.js +286 -360
  10. package/cjs/components/material-quiz/MaterialQuizSelectOne.js +126 -172
  11. package/cjs/components/material-quiz/MaterialQuizShimmer.js +39 -46
  12. package/cjs/components/material-quiz/MaterialQuizText.js +115 -163
  13. package/cjs/components/material-quiz/QuizResultBadge.js +22 -32
  14. package/cjs/components/material-quiz/QuizSubmitStatusText.js +16 -21
  15. package/cjs/components/material-quiz/constants/color.js +5 -5
  16. package/cjs/components/material-quiz/context/MaterialQuizContext.d.ts +1 -1
  17. package/cjs/components/material-quiz/context/MaterialQuizContext.js +93 -156
  18. package/cjs/components/material-quiz/material-quiz-group/MaterialQuizGroup.js +161 -259
  19. package/cjs/components/material-quiz/material-quiz-group/MaterialQuizGroupDesktop.js +100 -134
  20. package/cjs/components/material-quiz/material-quiz-group/MaterialQuizGroupMobile.js +101 -130
  21. package/cjs/components/material-quiz/material-quiz-group/MaterialQuizGroupOptionItem.js +52 -64
  22. package/cjs/components/material-quiz/material-quiz-group/context/context.js +1 -5
  23. package/cjs/components/material-quiz-edit/MaterialQuizEdit.js +36 -47
  24. package/cjs/components/material-quiz-edit/MaterialQuizEditContent.js +232 -280
  25. package/cjs/components/material-quiz-edit/context.js +2 -8
  26. package/cjs/components/material-quiz-edit/options/OptionEditor.js +46 -70
  27. package/cjs/components/material-quiz-edit/options/OptionSelectMultiple.js +148 -174
  28. package/cjs/components/material-quiz-edit/options/OptionSelectMultipleOrder.js +149 -175
  29. package/cjs/components/material-quiz-edit/options/OptionSelectOne.js +144 -164
  30. package/cjs/components/material-quiz-edit/options/OptionText.js +82 -90
  31. package/cjs/components/material-quiz-edit/options/options-group/OptionGroup.js +8 -9
  32. package/cjs/components/material-quiz-edit/options/options-group/OptionGroupAnswerInfo.js +112 -156
  33. package/cjs/components/material-quiz-edit/options/options-group/OptionGroupAnswerListItem.js +196 -288
  34. package/cjs/components/material-quiz-edit/options/options-group/OptionGroupGroupInfo.js +75 -88
  35. package/cjs/components/material-quiz-edit/options/options-group/OptionGroupGroupListItem.js +92 -108
  36. package/cjs/components/material-quiz-edit/utils/checkTwoDimensionArray.js +1 -5
  37. package/cjs/components/material-quiz-edit/utils/editValue.js +12 -21
  38. package/cjs/components/shared/QuestionBox.js +165 -198
  39. package/cjs/components/shared/QuizDraggbleDroppedOption.js +12 -11
  40. package/cjs/components/shared/QuizDraggbleDummyOption.js +16 -23
  41. package/cjs/components/shared/QuizDraggbleOption.js +59 -65
  42. package/cjs/components/shared/StyledMarkdown.js +1 -5
  43. package/cjs/components/shared/question-checkbox/QuestionCheckbox.js +7 -13
  44. package/cjs/components/shared/question-checkbox/QuestionCheckboxContext.d.ts +1 -1
  45. package/cjs/components/shared/question-checkbox/QuestionCheckboxContext.js +17 -24
  46. package/cjs/components/shared/question-checkbox/QuestionCheckboxOption.js +68 -59
  47. package/cjs/components/shared/question-radio/QuestionRadio.js +7 -13
  48. package/cjs/components/shared/question-radio/QuestionRadioContext.d.ts +1 -1
  49. package/cjs/components/shared/question-radio/QuestionRadioContext.js +17 -24
  50. package/cjs/components/shared/question-radio/QuestionRadioOption.js +59 -52
  51. package/cjs/components/shared/utils/getQuestionStatusStyle.js +9 -7
  52. package/cjs/components/shared/utils/mergeRefs.js +6 -15
  53. package/cjs/constant/element.js +3 -3
  54. package/cjs/helpers/index.js +10 -8
  55. package/cjs/hooks/useCaculatePassage.js +20 -21
  56. package/es/components/eb-sortable/EbDraggable.js +33 -37
  57. package/es/components/eb-sortable/EbDroppable.js +20 -22
  58. package/es/components/markdown-editor/index.d.ts +2 -1
  59. package/es/components/markdown-editor/index.js +10 -15
  60. package/es/components/material-quiz/MaterialQuiz.js +83 -109
  61. package/es/components/material-quiz/MaterialQuizAnswerExplanation.js +29 -32
  62. package/es/components/material-quiz/MaterialQuizInfo.js +150 -148
  63. package/es/components/material-quiz/MaterialQuizSelectMultiple.js +127 -171
  64. package/es/components/material-quiz/MaterialQuizSelectMultipleOrder.js +287 -356
  65. package/es/components/material-quiz/MaterialQuizSelectOne.js +126 -168
  66. package/es/components/material-quiz/MaterialQuizShimmer.js +39 -42
  67. package/es/components/material-quiz/MaterialQuizText.js +115 -158
  68. package/es/components/material-quiz/QuizResultBadge.js +22 -27
  69. package/es/components/material-quiz/QuizSubmitStatusText.js +16 -17
  70. package/es/components/material-quiz/constants/color.js +5 -5
  71. package/es/components/material-quiz/context/MaterialQuizContext.d.ts +1 -1
  72. package/es/components/material-quiz/context/MaterialQuizContext.js +94 -153
  73. package/es/components/material-quiz/material-quiz-group/MaterialQuizGroup.js +161 -253
  74. package/es/components/material-quiz/material-quiz-group/MaterialQuizGroupDesktop.js +100 -129
  75. package/es/components/material-quiz/material-quiz-group/MaterialQuizGroupMobile.js +101 -125
  76. package/es/components/material-quiz/material-quiz-group/MaterialQuizGroupOptionItem.js +52 -60
  77. package/es/components/material-quiz/material-quiz-group/context/context.js +1 -1
  78. package/es/components/material-quiz-edit/MaterialQuizEdit.js +36 -43
  79. package/es/components/material-quiz-edit/MaterialQuizEditContent.js +229 -272
  80. package/es/components/material-quiz-edit/context.js +2 -4
  81. package/es/components/material-quiz-edit/options/OptionEditor.js +46 -64
  82. package/es/components/material-quiz-edit/options/OptionSelectMultiple.js +148 -170
  83. package/es/components/material-quiz-edit/options/OptionSelectMultipleOrder.js +149 -171
  84. package/es/components/material-quiz-edit/options/OptionSelectOne.js +144 -159
  85. package/es/components/material-quiz-edit/options/OptionText.js +82 -86
  86. package/es/components/material-quiz-edit/options/options-group/OptionGroup.js +8 -9
  87. package/es/components/material-quiz-edit/options/options-group/OptionGroupAnswerInfo.js +112 -151
  88. package/es/components/material-quiz-edit/options/options-group/OptionGroupAnswerListItem.js +197 -283
  89. package/es/components/material-quiz-edit/options/options-group/OptionGroupGroupInfo.js +75 -83
  90. package/es/components/material-quiz-edit/options/options-group/OptionGroupGroupListItem.js +92 -103
  91. package/es/components/material-quiz-edit/utils/checkTwoDimensionArray.js +1 -5
  92. package/es/components/material-quiz-edit/utils/editValue.js +12 -17
  93. package/es/components/shared/QuestionBox.js +165 -192
  94. package/es/components/shared/QuizDraggbleDroppedOption.js +12 -11
  95. package/es/components/shared/QuizDraggbleDummyOption.js +16 -19
  96. package/es/components/shared/QuizDraggbleOption.js +59 -61
  97. package/es/components/shared/StyledMarkdown.js +1 -1
  98. package/es/components/shared/question-checkbox/QuestionCheckbox.js +7 -9
  99. package/es/components/shared/question-checkbox/QuestionCheckboxContext.d.ts +1 -1
  100. package/es/components/shared/question-checkbox/QuestionCheckboxContext.js +17 -20
  101. package/es/components/shared/question-checkbox/QuestionCheckboxOption.js +68 -54
  102. package/es/components/shared/question-radio/QuestionRadio.js +7 -9
  103. package/es/components/shared/question-radio/QuestionRadioContext.d.ts +1 -1
  104. package/es/components/shared/question-radio/QuestionRadioContext.js +17 -20
  105. package/es/components/shared/question-radio/QuestionRadioOption.js +59 -47
  106. package/es/components/shared/utils/getQuestionStatusStyle.js +9 -7
  107. package/es/components/shared/utils/mergeRefs.js +6 -15
  108. package/es/constant/element.js +3 -3
  109. package/es/helpers/index.js +10 -8
  110. package/es/hooks/useCaculatePassage.js +20 -21
  111. package/package.json +15 -12
  112. package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -423
  113. package/cjs/components/material-quiz/index.js +0 -9
  114. package/cjs/components/material-quiz/locales/index.js +0 -13
  115. package/cjs/components/material-quiz-edit/index.js +0 -7
  116. package/cjs/components/material-quiz-edit/locales/index.js +0 -13
  117. package/cjs/components/shared/index.js +0 -19
  118. package/cjs/constant/index.js +0 -9
  119. package/cjs/hooks/index.js +0 -7
  120. package/es/_virtual/_rollupPluginBabelHelpers.js +0 -408
  121. package/es/components/material-quiz/index.js +0 -2
  122. package/es/components/material-quiz/locales/index.js +0 -4
  123. package/es/components/material-quiz-edit/index.js +0 -1
  124. package/es/components/material-quiz-edit/locales/index.js +0 -4
  125. package/es/components/shared/index.js +0 -7
  126. package/es/constant/index.js +0 -1
  127. 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 jsxRuntime = require('react/jsx-runtime');
5
+ var React = require('react');
6
6
  var reactHookForm = require('react-hook-form');
7
7
  var reactSortableHoc = require('react-sortable-hoc');
8
8
  var blocks = require('@elice/blocks');
@@ -15,80 +15,63 @@ var checkTwoDimensionArray = require('../../utils/checkTwoDimensionArray.js');
15
15
  var randomId = require('../../utils/randomId.js');
16
16
  var OptionGroupAnswerListItem = require('./OptionGroupAnswerListItem.js');
17
17
 
18
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
19
-
20
- var cloneDeep__default = /*#__PURE__*/_interopDefaultCompat(cloneDeep);
21
- var styled__default = /*#__PURE__*/_interopDefaultCompat(styled);
22
-
23
- var MAX_OPTION_INFO_COUNT = 20;
24
- var StyledSortableList = styled__default.default.div.withConfig({
18
+ const MAX_OPTION_INFO_COUNT = 20;
19
+ const StyledSortableList = styled.div.withConfig({
25
20
  componentId: "sc-14yoda7-0"
26
21
  })(["margin:1rem 0;padding:0;"]);
27
- var StyledOptionTitle = styled__default.default.div.withConfig({
22
+ const StyledOptionTitle = styled.div.withConfig({
28
23
  componentId: "sc-14yoda7-1"
29
24
  })(["display:flex;width:calc(100% - 2rem - 1.5rem);"]);
30
25
  //
31
26
  //
32
27
  //
33
- var OptionGroupAnswerInfo = function OptionGroupAnswerInfo() {
34
- var intl$1 = intl.useRawEliceIntl();
35
- var _useFormContext = reactHookForm.useFormContext(),
36
- setValue = _useFormContext.setValue,
37
- watch = _useFormContext.watch;
38
- var _useMaterialQuizEditC = context.useMaterialQuizEditContext(),
39
- disabled = _useMaterialQuizEditC.disabled;
40
- var _useFieldArray = reactHookForm.useFieldArray({
41
- name: 'optionsDefault',
42
- keyName: 'id',
43
- shouldUnregister: true
44
- }),
45
- appendOptionInfoFieldItem = _useFieldArray.append,
46
- removeOptionInfoFieldItem = _useFieldArray.remove;
47
- var watchedAnswerInfo = watch('answerInfoDefault');
48
- var watchedOptions = watch('optionsDefault');
49
- var isMaximumOptions = (watchedOptions === null || watchedOptions === void 0 ? void 0 : watchedOptions.length) >= MAX_OPTION_INFO_COUNT;
28
+ const OptionGroupAnswerInfo = () => {
29
+ const intl$1 = intl.useRawEliceIntl();
30
+ const {
31
+ setValue,
32
+ watch
33
+ } = reactHookForm.useFormContext();
34
+ const {
35
+ disabled
36
+ } = context.useMaterialQuizEditContext();
37
+ const {
38
+ append: appendOptionInfoFieldItem,
39
+ remove: removeOptionInfoFieldItem
40
+ } = reactHookForm.useFieldArray({
41
+ name: 'optionsDefault',
42
+ keyName: 'id',
43
+ shouldUnregister: true
44
+ });
45
+ const watchedAnswerInfo = watch('answerInfoDefault');
46
+ const watchedOptions = watch('optionsDefault');
47
+ const isMaximumOptions = (watchedOptions === null || watchedOptions === void 0 ? void 0 : watchedOptions.length) >= MAX_OPTION_INFO_COUNT;
50
48
  /**
51
49
  *
52
50
  */
53
- var handleRemoveItem = function handleRemoveItem(index) {
51
+ const handleRemoveItem = index => {
54
52
  var _a;
55
- var cloneAnswerList = cloneDeep__default.default(watchedAnswerInfo);
56
- var answerIndex = cloneAnswerList.findIndex(function (answers) {
57
- return answers.includes(index);
58
- });
53
+ const cloneAnswerList = cloneDeep(watchedAnswerInfo);
54
+ const answerIndex = cloneAnswerList.findIndex(answers => answers.includes(index));
59
55
  if (!cloneAnswerList[answerIndex]) {
60
56
  return removeOptionInfoFieldItem(index);
61
57
  }
62
- cloneAnswerList[answerIndex] = (_a = cloneAnswerList[answerIndex]) === null || _a === void 0 ? void 0 : _a.filter(function (answer) {
63
- return answer !== index;
64
- });
65
- var recalculationAnswerList = cloneAnswerList.map(function (answers) {
66
- return answers.map(function (answer) {
67
- return answer > index ? answer - 1 : answer;
68
- });
69
- });
58
+ cloneAnswerList[answerIndex] = (_a = cloneAnswerList[answerIndex]) === null || _a === void 0 ? void 0 : _a.filter(answer => answer !== index);
59
+ const recalculationAnswerList = cloneAnswerList.map(answers => answers.map(answer => answer > index ? answer - 1 : answer));
70
60
  removeOptionInfoFieldItem(index);
71
61
  setValue('answerInfoDefault', recalculationAnswerList);
72
62
  };
73
63
  /**
74
64
  *
75
65
  */
76
- var onSortEnd = function onSortEnd(_ref) {
77
- var oldIndex = _ref.oldIndex,
78
- newIndex = _ref.newIndex;
79
- var prevOptions = cloneDeep__default.default(watchedOptions).map(function (option, index) {
80
- return Object.assign(Object.assign({}, option), {
81
- originIndex: index
82
- });
83
- });
84
- var updatedOptions = reactSortableHoc.arrayMove(prevOptions, oldIndex, newIndex);
85
- var updatedAnswerInfo = watchedAnswerInfo.map(function (answerList) {
86
- return answerList.map(function (answer) {
87
- return updatedOptions.findIndex(function (option) {
88
- return option.originIndex === answer;
89
- });
90
- });
91
- });
66
+ const onSortEnd = ({
67
+ oldIndex,
68
+ newIndex
69
+ }) => {
70
+ const prevOptions = cloneDeep(watchedOptions).map((option, index) => Object.assign(Object.assign({}, option), {
71
+ originIndex: index
72
+ }));
73
+ const updatedOptions = reactSortableHoc.arrayMove(prevOptions, oldIndex, newIndex);
74
+ const updatedAnswerInfo = watchedAnswerInfo.map(answerList => answerList.map(answer => updatedOptions.findIndex(option => option.originIndex === answer)));
92
75
  setValue('answerInfoDefault', updatedAnswerInfo);
93
76
  setValue('optionsDefault', updatedOptions, {
94
77
  shouldDirty: true
@@ -97,112 +80,86 @@ var OptionGroupAnswerInfo = function OptionGroupAnswerInfo() {
97
80
  /**
98
81
  *
99
82
  */
100
- var renderAnswerTitle = function renderAnswerTitle() {
101
- return jsxRuntime.jsxs(StyledOptionTitle, {
102
- children: [jsxRuntime.jsx(blocks.Flex, {
103
- width: "33.3%",
104
- auto: true,
105
- children: jsxRuntime.jsx(blocks.Text, {
106
- size: "small",
107
- bold: true,
108
- children: intl$1.formatMessage({
109
- id: 'answer.option.title.text'
110
- })
111
- })
112
- }), jsxRuntime.jsx(blocks.Flex, {
113
- width: "33.3%",
114
- children: jsxRuntime.jsx(blocks.Text, {
115
- size: "small",
116
- bold: true,
117
- children: intl$1.formatMessage({
118
- id: 'answer.option.title.file'
119
- })
120
- })
121
- }), jsxRuntime.jsx(blocks.Flex, {
122
- width: "calc(33.3% - 1.5rem)",
123
- children: jsxRuntime.jsx(blocks.Text, {
124
- size: "small",
125
- bold: true,
126
- children: intl$1.formatMessage({
127
- id: 'answer.option.title.group'
128
- })
129
- })
130
- })]
131
- });
83
+ const renderAnswerTitle = () => {
84
+ return React.createElement(StyledOptionTitle, null, React.createElement(blocks.Flex, {
85
+ width: "33.3%",
86
+ auto: true
87
+ }, React.createElement(blocks.Text, {
88
+ size: "small",
89
+ bold: true
90
+ }, intl$1.formatMessage({
91
+ id: 'answer.option.title.text'
92
+ }))), React.createElement(blocks.Flex, {
93
+ width: "33.3%"
94
+ }, React.createElement(blocks.Text, {
95
+ size: "small",
96
+ bold: true
97
+ }, intl$1.formatMessage({
98
+ id: 'answer.option.title.file'
99
+ }))), React.createElement(blocks.Flex, {
100
+ width: "calc(33.3% - 1.5rem)"
101
+ }, React.createElement(blocks.Text, {
102
+ size: "small",
103
+ bold: true
104
+ }, intl$1.formatMessage({
105
+ id: 'answer.option.title.group'
106
+ }))));
132
107
  };
133
108
  /**
134
109
  *
135
110
  */
136
- var renderAnswerOptionList = function renderAnswerOptionList() {
137
- return jsxRuntime.jsx(blocks.SortableListGroup, {
111
+ const renderAnswerOptionList = () => {
112
+ return React.createElement(blocks.SortableListGroup, {
138
113
  onSortEnd: onSortEnd,
139
- useDragHandle: true,
140
- children: jsxRuntime.jsx(StyledSortableList, {
141
- children: watchedOptions === null || watchedOptions === void 0 ? void 0 : watchedOptions.map(function (option, index) {
142
- return jsxRuntime.jsx(OptionGroupAnswerListItem.default, {
143
- optionId: index,
144
- disabled: disabled,
145
- onRemoveItem: function onRemoveItem() {
146
- return handleRemoveItem(index);
147
- }
148
- }, option.id);
149
- })
150
- })
151
- });
114
+ useDragHandle: true
115
+ }, React.createElement(StyledSortableList, null, watchedOptions === null || watchedOptions === void 0 ? void 0 : watchedOptions.map((option, index) => React.createElement(OptionGroupAnswerListItem.default, {
116
+ key: option.id,
117
+ optionId: index,
118
+ disabled: disabled,
119
+ onRemoveItem: () => handleRemoveItem(index)
120
+ }))));
152
121
  };
153
122
  /**
154
123
  *
155
124
  */
156
- var renderAnswerOptionAddButton = function renderAnswerOptionAddButton() {
157
- return jsxRuntime.jsxs(jsxRuntime.Fragment, {
158
- children: [jsxRuntime.jsx(blocks.Tooltip, {
159
- title: isMaximumOptions ? intl$1.formatMessage({
160
- id: 'answer.option.tooltip.maxDisabled'
161
- }) : undefined,
162
- placement: "top",
163
- children: jsxRuntime.jsx("span", {
164
- children: jsxRuntime.jsx(blocks.Button, {
165
- borderDashed: true,
166
- block: true,
167
- transparent: true,
168
- disabled: isMaximumOptions || disabled,
169
- icon: jsxRuntime.jsx(blocks.Icon, {
170
- icon: icons.eilMathsignAddBasic
171
- }),
172
- onClick: function onClick() {
173
- return appendOptionInfoFieldItem({
174
- id: randomId.createRandomId(),
175
- title: '',
176
- content: ''
177
- });
178
- },
179
- children: intl$1.formatMessage({
180
- id: 'answer.option.addButton'
181
- })
182
- })
183
- })
184
- }), jsxRuntime.jsx(blocks.Vspace, {
185
- height: 0.5
186
- }), jsxRuntime.jsxs(blocks.Flex, {
187
- column: true,
188
- children: [jsxRuntime.jsx(blocks.StatusText, {
189
- role: "description",
190
- children: intl$1.formatMessage({
191
- id: 'answer.option.file.description.imageSize'
192
- })
193
- }), jsxRuntime.jsx(blocks.StatusText, {
194
- role: "description",
195
- children: intl$1.formatMessage({
196
- id: 'answer.option.file.description.fileSize'
197
- })
198
- }), jsxRuntime.jsx(blocks.StatusText, {
199
- role: "description",
200
- children: intl$1.formatMessage({
201
- id: 'answer.option.file.description.extension'
202
- })
203
- })]
204
- })]
205
- });
125
+ const renderAnswerOptionAddButton = () => {
126
+ return React.createElement(React.Fragment, null, React.createElement(blocks.Tooltip, {
127
+ title: isMaximumOptions ? intl$1.formatMessage({
128
+ id: 'answer.option.tooltip.maxDisabled'
129
+ }) : undefined,
130
+ placement: "top"
131
+ }, React.createElement("span", null, React.createElement(blocks.Button, {
132
+ borderDashed: true,
133
+ block: true,
134
+ transparent: true,
135
+ disabled: isMaximumOptions || disabled,
136
+ icon: React.createElement(blocks.Icon, {
137
+ icon: icons.eilMathsignAddBasic
138
+ }),
139
+ onClick: () => appendOptionInfoFieldItem({
140
+ id: randomId.createRandomId(),
141
+ title: '',
142
+ content: ''
143
+ })
144
+ }, intl$1.formatMessage({
145
+ id: 'answer.option.addButton'
146
+ })))), React.createElement(blocks.Vspace, {
147
+ height: 0.5
148
+ }), React.createElement(blocks.Flex, {
149
+ column: true
150
+ }, React.createElement(blocks.StatusText, {
151
+ role: "description"
152
+ }, intl$1.formatMessage({
153
+ id: 'answer.option.file.description.imageSize'
154
+ })), React.createElement(blocks.StatusText, {
155
+ role: "description"
156
+ }, intl$1.formatMessage({
157
+ id: 'answer.option.file.description.fileSize'
158
+ })), React.createElement(blocks.StatusText, {
159
+ role: "description"
160
+ }, intl$1.formatMessage({
161
+ id: 'answer.option.file.description.extension'
162
+ }))));
206
163
  };
207
164
  //
208
165
  //
@@ -210,10 +167,9 @@ var OptionGroupAnswerInfo = function OptionGroupAnswerInfo() {
210
167
  if (!checkTwoDimensionArray.checkTwoDimensionArray(watchedAnswerInfo)) {
211
168
  return null;
212
169
  }
213
- return jsxRuntime.jsxs(blocks.Flex, {
214
- column: true,
215
- children: [renderAnswerTitle(), renderAnswerOptionList(), renderAnswerOptionAddButton()]
216
- });
170
+ return React.createElement(blocks.Flex, {
171
+ column: true
172
+ }, renderAnswerTitle(), renderAnswerOptionList(), renderAnswerOptionAddButton());
217
173
  };
218
174
 
219
175
  exports.default = OptionGroupAnswerInfo;