catchup-library-web 1.20.11 → 1.20.12
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/dist/index.js +364 -357
- package/dist/index.mjs +322 -315
- package/package.json +1 -1
- package/src/components/activities/evaluation-rubric-contents/ActivityEvaluationRubricContent.tsx +1 -0
- package/src/components/activities/material-contents/FillInTheBlanksActivityMaterialContent.tsx +9 -1
- package/src/components/activities/material-contents/OrderingActivityMaterialContent.tsx +1 -1
- package/src/components/groups/InputGroup.tsx +0 -2
package/package.json
CHANGED
package/src/components/activities/evaluation-rubric-contents/ActivityEvaluationRubricContent.tsx
CHANGED
|
@@ -25,6 +25,7 @@ const ActivityEvaluationRubricContent = ({
|
|
|
25
25
|
if (!evaluationRubricMapKey) return null;
|
|
26
26
|
const evaluationRubricMapString = data[evaluationRubricMapKey];
|
|
27
27
|
let evaluationRubricMap;
|
|
28
|
+
if (!evaluationRubricMapString) return;
|
|
28
29
|
try {
|
|
29
30
|
evaluationRubricMap = JSON.parse(evaluationRubricMapString);
|
|
30
31
|
} catch (error) {
|
package/src/components/activities/material-contents/FillInTheBlanksActivityMaterialContent.tsx
CHANGED
|
@@ -12,6 +12,7 @@ import DroppableItem from "../../dnds/DroppableItem";
|
|
|
12
12
|
import ShowMaterialMediaByContentType from "./ShowMaterialMediaByContentType";
|
|
13
13
|
import DividerLine from "../../dividers/DividerLine";
|
|
14
14
|
import { IFillInTheBlanksActivityMaterialProps } from "../../../properties/ActivityProperties";
|
|
15
|
+
import InputWithSpecialExpression from "../../texts/InputWithSpecialExpression";
|
|
15
16
|
|
|
16
17
|
const FillInTheBlanksActivityMaterialContent = ({
|
|
17
18
|
uniqueValue,
|
|
@@ -117,7 +118,14 @@ const FillInTheBlanksActivityMaterialContent = ({
|
|
|
117
118
|
setPasteOptionIndex(null);
|
|
118
119
|
}}
|
|
119
120
|
>
|
|
120
|
-
<p className="italic whitespace-pre-wrap">
|
|
121
|
+
<p className="italic whitespace-pre-wrap">
|
|
122
|
+
{
|
|
123
|
+
<InputWithSpecialExpression
|
|
124
|
+
value={option}
|
|
125
|
+
showSpecialOnly={true}
|
|
126
|
+
/>
|
|
127
|
+
}
|
|
128
|
+
</p>
|
|
121
129
|
</div>
|
|
122
130
|
) : (
|
|
123
131
|
<div
|
|
@@ -7,8 +7,6 @@ import { IOptionProps } from "../../properties/CommonProperties";
|
|
|
7
7
|
import { MathfieldElement } from "mathlive";
|
|
8
8
|
import BaseModal from "../modals/BaseModal";
|
|
9
9
|
import FullCard from "../cards/FullCard";
|
|
10
|
-
import SecondaryButton from "../buttons/SecondaryButton";
|
|
11
|
-
import PrimaryButton from "../buttons/PrimaryButton";
|
|
12
10
|
|
|
13
11
|
declare global {
|
|
14
12
|
namespace JSX {
|