catchup-library-web 2.2.15 → 2.2.17
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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
- package/src/components/activities/ActivityPreviewByData.tsx +1 -0
- package/src/components/modals/BaseModal.tsx +1 -1
- package/src/properties/ActivityProperties.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -216,6 +216,7 @@ interface IActivitySolutionProps {
|
|
|
216
216
|
}
|
|
217
217
|
interface IActivityPreviewByDataProps {
|
|
218
218
|
data: any;
|
|
219
|
+
changeAnswer: (e: any) => void;
|
|
219
220
|
answerType?: string | null;
|
|
220
221
|
showType?: boolean;
|
|
221
222
|
showDescription?: boolean;
|
|
@@ -252,7 +253,7 @@ declare const ActivitySolutionContent: ({ activityTemplateType, data, }: IActivi
|
|
|
252
253
|
|
|
253
254
|
declare const ActivityEvaluationRubricContent: ({ activityTemplateType, data, }: IActivityEvaluationRubricProps) => react_jsx_runtime.JSX.Element | null | undefined;
|
|
254
255
|
|
|
255
|
-
declare const ActivityPreviewByData: ({ data, answerType, showType, showDescription, typeList, showSolution, showEvaluationRubric, showDifficulty, isFullScreen, showCorrectAnswer, showMaterialContent, }: IActivityPreviewByDataProps) => react_jsx_runtime.JSX.Element | null;
|
|
256
|
+
declare const ActivityPreviewByData: ({ data, changeAnswer, answerType, showType, showDescription, typeList, showSolution, showEvaluationRubric, showDifficulty, isFullScreen, showCorrectAnswer, showMaterialContent, }: IActivityPreviewByDataProps) => react_jsx_runtime.JSX.Element | null;
|
|
256
257
|
|
|
257
258
|
interface IStatusErrorProperties {
|
|
258
259
|
statusCode?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -216,6 +216,7 @@ interface IActivitySolutionProps {
|
|
|
216
216
|
}
|
|
217
217
|
interface IActivityPreviewByDataProps {
|
|
218
218
|
data: any;
|
|
219
|
+
changeAnswer: (e: any) => void;
|
|
219
220
|
answerType?: string | null;
|
|
220
221
|
showType?: boolean;
|
|
221
222
|
showDescription?: boolean;
|
|
@@ -252,7 +253,7 @@ declare const ActivitySolutionContent: ({ activityTemplateType, data, }: IActivi
|
|
|
252
253
|
|
|
253
254
|
declare const ActivityEvaluationRubricContent: ({ activityTemplateType, data, }: IActivityEvaluationRubricProps) => react_jsx_runtime.JSX.Element | null | undefined;
|
|
254
255
|
|
|
255
|
-
declare const ActivityPreviewByData: ({ data, answerType, showType, showDescription, typeList, showSolution, showEvaluationRubric, showDifficulty, isFullScreen, showCorrectAnswer, showMaterialContent, }: IActivityPreviewByDataProps) => react_jsx_runtime.JSX.Element | null;
|
|
256
|
+
declare const ActivityPreviewByData: ({ data, changeAnswer, answerType, showType, showDescription, typeList, showSolution, showEvaluationRubric, showDifficulty, isFullScreen, showCorrectAnswer, showMaterialContent, }: IActivityPreviewByDataProps) => react_jsx_runtime.JSX.Element | null;
|
|
256
257
|
|
|
257
258
|
interface IStatusErrorProperties {
|
|
258
259
|
statusCode?: string;
|
package/dist/index.js
CHANGED
|
@@ -1217,7 +1217,7 @@ var BaseModal = ({
|
|
|
1217
1217
|
borderRadius: 20,
|
|
1218
1218
|
background: "",
|
|
1219
1219
|
border: "",
|
|
1220
|
-
maxHeight: "
|
|
1220
|
+
maxHeight: "98%",
|
|
1221
1221
|
overflow: "auto",
|
|
1222
1222
|
zIndex: 20
|
|
1223
1223
|
},
|
|
@@ -7285,6 +7285,8 @@ var ACTIVITY_TEMPLATE_LIST = [
|
|
|
7285
7285
|
];
|
|
7286
7286
|
var ActivityPreviewByData = ({
|
|
7287
7287
|
data,
|
|
7288
|
+
changeAnswer = () => {
|
|
7289
|
+
},
|
|
7288
7290
|
answerType = null,
|
|
7289
7291
|
showType = true,
|
|
7290
7292
|
showDescription = true,
|
package/dist/index.mjs
CHANGED
|
@@ -994,7 +994,7 @@ var BaseModal = ({
|
|
|
994
994
|
borderRadius: 20,
|
|
995
995
|
background: "",
|
|
996
996
|
border: "",
|
|
997
|
-
maxHeight: "
|
|
997
|
+
maxHeight: "98%",
|
|
998
998
|
overflow: "auto",
|
|
999
999
|
zIndex: 20
|
|
1000
1000
|
},
|
|
@@ -7062,6 +7062,8 @@ var ACTIVITY_TEMPLATE_LIST = [
|
|
|
7062
7062
|
];
|
|
7063
7063
|
var ActivityPreviewByData = ({
|
|
7064
7064
|
data,
|
|
7065
|
+
changeAnswer = () => {
|
|
7066
|
+
},
|
|
7065
7067
|
answerType = null,
|
|
7066
7068
|
showType = true,
|
|
7067
7069
|
showDescription = true,
|
package/package.json
CHANGED