questionlayoutrefactoring 0.0.42 → 0.0.44
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export function QuestionsLayout(props?: {}): import("react/jsx-runtime").JSX.Element;
|
|
2
2
|
export default QuestionsLayout;
|
|
@@ -15,180 +15,78 @@ const common_utils_1 = require("../../../utils/common-utils");
|
|
|
15
15
|
const TutorConstants_1 = require("../../../utils/TutorConstants");
|
|
16
16
|
const useCustomToast_1 = require("../../Atoms/useCustomToast");
|
|
17
17
|
const Question_styles_1 = require("./Question.styles");
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
marginLeft: { base: "14px", md: "14px", lg: "12px" },
|
|
21
|
-
},
|
|
18
|
+
const answerLayoutContainerStyle = {
|
|
19
|
+
marginLeft: { base: "14px", md: "14px", lg: "12px" },
|
|
22
20
|
};
|
|
23
|
-
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
prevProps.data === nextProps.data &&
|
|
27
|
-
prevProps.isQuestion === nextProps.isQuestion &&
|
|
28
|
-
prevProps.imagesList === nextProps.imagesList);
|
|
29
|
-
});
|
|
30
|
-
// Memoized AnswersLayout component
|
|
31
|
-
const MemoizedAnswersLayout = (0, react_2.memo)(AnswerLayouts_1.AnswersLayout, (prevProps, nextProps) => {
|
|
32
|
-
return (prevProps.question_type === nextProps.question_type &&
|
|
33
|
-
prevProps.userAnswer === nextProps.userAnswer &&
|
|
34
|
-
prevProps.onAnswerSubmitted === nextProps.onAnswerSubmitted &&
|
|
35
|
-
prevProps.isDontAllow === nextProps.isDontAllow &&
|
|
36
|
-
prevProps.isStudent === nextProps.isStudent &&
|
|
37
|
-
prevProps.passphrase === nextProps.passphrase &&
|
|
38
|
-
JSON.stringify(prevProps.options) === JSON.stringify(nextProps.options));
|
|
39
|
-
});
|
|
40
|
-
exports.QuestionsLayout = (0, react_2.memo)((props = {}) => {
|
|
41
|
-
const { questionObject, userAnswer, onAnswerChanged, isDontAllow, allowToCopy, taskType, isAnswerSubmitted, displayedQues, isComprehension, isOpen, isUser, questionLayoutStyles, presenterLogic, commonProps, passphrase, isStudent, } = props;
|
|
21
|
+
const QuestionsLayout = (props = {}) => {
|
|
22
|
+
const { questionObject, userAnswer, onAnswerChanged, isDontAllow, allowToCopy, taskType, isAnswerSubmitted, displayedQues, isComprehension, isOpen, isUser, questionLayoutStyles, commonProps, passphrase, isStudent, learningStepData, } = props;
|
|
23
|
+
console.log("hi");
|
|
42
24
|
const showToast = (0, useCustomToast_1.useCustomToast)();
|
|
43
|
-
|
|
44
|
-
//
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
const memoizedProcessedQuestion = (0, react_2.useMemo)(() => {
|
|
25
|
+
// -----------------------------
|
|
26
|
+
// 1. Memoized Question Object
|
|
27
|
+
// -----------------------------
|
|
28
|
+
const currentQuestion = (0, react_2.useMemo)(() => {
|
|
48
29
|
if (!questionObject)
|
|
49
|
-
return
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
modified_options_layout: optionLayouts,
|
|
55
|
-
};
|
|
30
|
+
return {};
|
|
31
|
+
const copied = { ...questionObject };
|
|
32
|
+
copied.modified_options_layout =
|
|
33
|
+
copied?.options_layout?.map((item) => (0, common_utils_1.handleRemoveExtraSpaceInBubbles)(item)) || [];
|
|
34
|
+
return copied;
|
|
56
35
|
}, [questionObject]);
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
//
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
36
|
+
const hasNoOptions = (0, react_2.useMemo)(() => {
|
|
37
|
+
return currentQuestion?.options_layout?.length === 0;
|
|
38
|
+
}, [currentQuestion]);
|
|
39
|
+
// -----------------------------
|
|
40
|
+
// Derived answers memoized
|
|
41
|
+
// -----------------------------
|
|
42
|
+
const resolvedAnswers = (0, react_2.useMemo)(() => {
|
|
43
|
+
return (0, common_utils_1.isNotEmptyOrNull)(currentQuestion?.answers_index_hashed_keys)
|
|
44
|
+
? currentQuestion?.answers_index_hashed_keys
|
|
45
|
+
: (0, common_utils_1.isNotEmptyOrNull)(currentQuestion?.answers_key)
|
|
46
|
+
? currentQuestion?.answers_key
|
|
47
|
+
: currentQuestion?.answers_layout;
|
|
48
|
+
}, [currentQuestion]);
|
|
49
|
+
// -----------------------------
|
|
50
|
+
// Memoized className
|
|
51
|
+
// -----------------------------
|
|
52
|
+
const optionContainerClass = (0, react_2.useMemo)(() => {
|
|
53
|
+
const baseClass = currentQuestion?.question_type !== LearningPathUtils_1.questionTypes.fib
|
|
54
|
+
? Question_styles_1.styles?.optionsContainer || "optionsContainer"
|
|
55
|
+
: Question_styles_1.styles?.optionsContainerForFIB ||
|
|
56
|
+
"optionsContainerForFIB";
|
|
57
|
+
const compClass = isComprehension &&
|
|
58
|
+
(Question_styles_1.styles?.comprehensionOptionContainer ||
|
|
59
|
+
"comprehensionOptionContainer");
|
|
60
|
+
return `${baseClass} ${compClass || ""}`;
|
|
61
|
+
}, [currentQuestion, isComprehension]);
|
|
62
|
+
// -----------------------------
|
|
63
|
+
// onSend memoized
|
|
64
|
+
// -----------------------------
|
|
65
|
+
const onSend = (0, react_2.useCallback)((item) => {
|
|
66
|
+
if (isComprehension) {
|
|
66
67
|
props?.setSelectedAnswer(item?.answer, item?.hashedIndexAnswer, item?.selectedIndex);
|
|
67
68
|
}
|
|
68
|
-
|
|
69
|
+
else {
|
|
69
70
|
onAnswerChanged(item?.answer, currentQuestion, item?.hashedIndexAnswer, item?.selectedIndex, isComprehension, "");
|
|
70
71
|
}
|
|
71
|
-
}, [
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
//
|
|
75
|
-
const assistantProps = (0, react_2.useMemo)(() => ({
|
|
76
|
-
"data-testid": "dialog-entry-assistant",
|
|
77
|
-
text: "",
|
|
78
|
-
assistantImg: commonProps?.icons?.AssistantImg,
|
|
79
|
-
isCopy: false,
|
|
80
|
-
isDialogScript: true,
|
|
81
|
-
scriptData: props?.learningStepData?.dialog_entry_script?.content,
|
|
82
|
-
}), [
|
|
83
|
-
commonProps?.icons?.AssistantImg,
|
|
84
|
-
props?.learningStepData?.dialog_entry_script?.content,
|
|
85
|
-
]);
|
|
86
|
-
// Memoize question display props
|
|
87
|
-
const questionDisplayProps = (0, react_2.useMemo)(() => ({
|
|
88
|
-
"data-testid": "question-assistant",
|
|
89
|
-
text: currentQuestion?.question_layout || "",
|
|
90
|
-
isUser: isUser || false,
|
|
91
|
-
handleCopy: allowToCopy
|
|
92
|
-
? () => {
|
|
93
|
-
(0, TutorConstants_1.handleCopyClick)(questionObject?.uuid);
|
|
94
|
-
showToast({
|
|
95
|
-
description: "Question ID copied to clipboard",
|
|
96
|
-
duration: 1000,
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
: undefined,
|
|
100
|
-
assistantStyle: commonProps?.assistantStyle,
|
|
101
|
-
questionType: currentQuestion?.question_type,
|
|
102
|
-
isQuestion: true,
|
|
103
|
-
imagesList: currentQuestion?.images_details,
|
|
104
|
-
hideVin: isComprehension ? true : false,
|
|
105
|
-
isComprehension: props?.isComprehension,
|
|
106
|
-
fromStudent: true,
|
|
107
|
-
assistantImg: commonProps?.icons?.AssistantImg,
|
|
108
|
-
isDialogScript: false,
|
|
109
|
-
}), [
|
|
110
|
-
currentQuestion?.question_layout,
|
|
111
|
-
currentQuestion?.question_type,
|
|
112
|
-
currentQuestion?.images_details,
|
|
113
|
-
isUser,
|
|
114
|
-
isComprehension,
|
|
115
|
-
allowToCopy,
|
|
116
|
-
questionObject?.uuid,
|
|
117
|
-
commonProps?.assistantStyle,
|
|
118
|
-
commonProps?.icons?.AssistantImg,
|
|
119
|
-
props?.isComprehension,
|
|
120
|
-
showToast,
|
|
121
|
-
]);
|
|
122
|
-
// Memoize answers layout props
|
|
123
|
-
const answersLayoutProps = (0, react_2.useMemo)(() => ({
|
|
124
|
-
"data-testid": "answers-layout",
|
|
125
|
-
displayedQues: displayedQues,
|
|
126
|
-
userAnswer: userAnswer,
|
|
127
|
-
question_type: currentQuestion?.question_type,
|
|
128
|
-
question_id: (0, Helper_1.getQuestionID)(currentQuestion),
|
|
129
|
-
options: currentQuestion?.options_layout,
|
|
130
|
-
modifiedOptions: currentQuestion?.modified_options_layout,
|
|
131
|
-
answers: (0, common_utils_1.isNotEmptyOrNull)(currentQuestion?.answers_index_hashed_keys)
|
|
132
|
-
? currentQuestion?.answers_index_hashed_keys
|
|
133
|
-
: (0, common_utils_1.isNotEmptyOrNull)(currentQuestion?.answers_key)
|
|
134
|
-
? currentQuestion?.answers_key
|
|
135
|
-
: currentQuestion?.answers_layout,
|
|
136
|
-
question: currentQuestion?.question,
|
|
137
|
-
option_image_details: currentQuestion?.option_image_details,
|
|
138
|
-
commonProps: commonProps,
|
|
139
|
-
isDisabled: false,
|
|
140
|
-
images_details: currentQuestion?.images_details,
|
|
141
|
-
onSend: handleOnSend,
|
|
142
|
-
onAnswerSubmitted: isAnswerSubmitted,
|
|
143
|
-
isDontAllow: isDontAllow || false,
|
|
144
|
-
allowToCopy: allowToCopy || false,
|
|
145
|
-
currentQuestion: currentQuestion,
|
|
146
|
-
taskType: taskType,
|
|
147
|
-
isComprehension: isComprehension,
|
|
148
|
-
isStudent: isStudent,
|
|
149
|
-
passphrase: passphrase,
|
|
150
|
-
}), [
|
|
151
|
-
displayedQues,
|
|
152
|
-
userAnswer,
|
|
153
|
-
currentQuestion,
|
|
154
|
-
handleOnSend,
|
|
155
|
-
isAnswerSubmitted,
|
|
156
|
-
isDontAllow,
|
|
157
|
-
allowToCopy,
|
|
158
|
-
taskType,
|
|
159
|
-
isComprehension,
|
|
160
|
-
commonProps,
|
|
161
|
-
isStudent,
|
|
162
|
-
passphrase,
|
|
163
|
-
]);
|
|
164
|
-
console.log("hi");
|
|
72
|
+
}, [isComprehension, props, onAnswerChanged, currentQuestion]);
|
|
73
|
+
// -----------------------------
|
|
74
|
+
// Render
|
|
75
|
+
// -----------------------------
|
|
165
76
|
return ((0, jsx_runtime_1.jsx)(react_1.Box, { id: "question-factual-component", children: (0, jsx_runtime_1.jsxs)(react_1.Box, { id: "question-content-container", children: [!props?.isFactual &&
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
"comprehensionOptionContainer")}
|
|
177
|
-
`, children: (0, jsx_runtime_1.jsx)(react_1.Box, { sx: !isComprehension &&
|
|
77
|
+
learningStepData?.dialog_entry_script?.content && ((0, jsx_runtime_1.jsx)(Assistant_1.default, { "data-testid": "dialog-entry-assistant", text: "", assistantImg: commonProps?.icons?.AssistantImg, isCopy: false, isDialogScript: true, scriptData: learningStepData.dialog_entry_script.content })), (0, jsx_runtime_1.jsxs)(react_1.Box, { className: isComprehension ? Question_styles_1.styles?.contentColumn : "", children: [(0, common_utils_1.isNotEmptyOrNull)(currentQuestion?.question_type) &&
|
|
78
|
+
currentQuestion?.question_type !== LearningPathUtils_1.questionTypes.fib && ((0, jsx_runtime_1.jsx)(react_1.Box, { marginBottom: hasNoOptions ? "0px" : "20px", id: "question-display-container", children: (0, jsx_runtime_1.jsx)(Assistant_1.default, { "data-testid": "question-assistant", text: currentQuestion?.question_layout || "", isUser: isUser, handleCopy: allowToCopy
|
|
79
|
+
? () => {
|
|
80
|
+
(0, TutorConstants_1.handleCopyClick)(questionObject?.uuid);
|
|
81
|
+
showToast({
|
|
82
|
+
description: "Question ID copied to clipboard",
|
|
83
|
+
duration: 1000,
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
: undefined, assistantStyle: commonProps?.assistantStyle, questionType: currentQuestion?.question_type, isQuestion: true, imagesList: currentQuestion?.images_details, hideVin: isComprehension, isComprehension: isComprehension, fromStudent: true, assistantImg: commonProps?.icons?.AssistantImg }) })), (0, jsx_runtime_1.jsx)(react_1.Box, { id: "options-container", className: optionContainerClass, children: (0, jsx_runtime_1.jsx)(react_1.Box, { sx: !isComprehension &&
|
|
178
87
|
questionLayoutStyles &&
|
|
179
|
-
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
return (prevProps.questionObject === nextProps.questionObject &&
|
|
183
|
-
prevProps.userAnswer === nextProps.userAnswer &&
|
|
184
|
-
prevProps.isAnswerSubmitted === nextProps.isAnswerSubmitted &&
|
|
185
|
-
prevProps.taskType === nextProps.taskType &&
|
|
186
|
-
prevProps.isDontAllow === nextProps.isDontAllow &&
|
|
187
|
-
prevProps.isComprehension === nextProps.isComprehension &&
|
|
188
|
-
prevProps.displayedQues === nextProps.displayedQues &&
|
|
189
|
-
prevProps.isOpen === nextProps.isOpen &&
|
|
190
|
-
prevProps.commonProps === nextProps.commonProps);
|
|
191
|
-
});
|
|
192
|
-
exports.QuestionsLayout.displayName = "QuestionsLayout";
|
|
88
|
+
answerLayoutContainerStyle, children: (!isComprehension || isOpen) && ((0, jsx_runtime_1.jsx)(AnswerLayouts_1.AnswersLayout, { "data-testid": "answers-layout", displayedQues: displayedQues, userAnswer: userAnswer, question_type: currentQuestion?.question_type, question_id: (0, Helper_1.getQuestionID)(currentQuestion), options: currentQuestion?.options_layout, modifiedOptions: currentQuestion?.modified_options_layout, answers: resolvedAnswers, question: currentQuestion?.question, option_image_details: currentQuestion?.option_image_details, commonProps: commonProps, isDisabled: false, images_details: currentQuestion?.images_details, onSend: onSend, onAnswerSubmitted: isAnswerSubmitted, isDontAllow: isDontAllow, allowToCopy: allowToCopy, currentQuestion: currentQuestion, taskType: taskType, isComprehension: isComprehension, isStudent: isStudent, passphrase: passphrase })) }) })] })] }) }));
|
|
89
|
+
};
|
|
90
|
+
exports.QuestionsLayout = QuestionsLayout;
|
|
193
91
|
exports.default = exports.QuestionsLayout;
|
|
194
92
|
//# sourceMappingURL=QuestionsLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionsLayout.js","sourceRoot":"","sources":["../../../../src/components/Molecules/questionLayouts/QuestionsLayout.js"],"names":[],"mappings":";;;;;;;AAAA,4CAAuC;AACvC,
|
|
1
|
+
{"version":3,"file":"QuestionsLayout.js","sourceRoot":"","sources":["../../../../src/components/Molecules/questionLayouts/QuestionsLayout.js"],"names":[],"mappings":";;;;;;;AAAA,4CAAuC;AACvC,iCAA6C;AAC7C,wEAAiE;AACjE,mDAAgD;AAChD,6EAAqD;AACrD,kDAAsD;AACtD,8DAGqC;AACrC,kEAAgE;AAChE,+DAA4D;AAC5D,uDAAsE;AAEtE,MAAM,0BAA0B,GAAG;IACjC,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE;CACrD,CAAC;AAEK,MAAM,eAAe,GAAG,CAAC,KAAK,GAAG,EAAE,EAAE,EAAE;IAC5C,MAAM,EACJ,cAAc,EACd,UAAU,EACV,eAAe,EACf,WAAW,EACX,WAAW,EACX,QAAQ,EACR,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,MAAM,EACN,MAAM,EACN,oBAAoB,EACpB,WAAW,EACX,UAAU,EACV,SAAS,EACT,gBAAgB,GACjB,GAAG,KAAK,CAAC;IAEV,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAClB,MAAM,SAAS,GAAG,IAAA,+BAAc,GAAE,CAAC;IAEnC,gCAAgC;IAChC,8BAA8B;IAC9B,gCAAgC;IAChC,MAAM,eAAe,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE;QACnC,IAAI,CAAC,cAAc;YAAE,OAAO,EAAE,CAAC;QAE/B,MAAM,MAAM,GAAG,EAAE,GAAG,cAAc,EAAE,CAAC;QACrC,MAAM,CAAC,uBAAuB;YAC5B,MAAM,EAAE,cAAc,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CACnC,IAAA,8CAA+B,EAAC,IAAI,CAAC,CACtC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