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 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: "70%",
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: "70%",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "2.2.15",
3
+ "version": "2.2.17",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -37,6 +37,7 @@ const ACTIVITY_TEMPLATE_LIST = [
37
37
 
38
38
  const ActivityPreviewByData = ({
39
39
  data,
40
+ changeAnswer = () => {},
40
41
  answerType = null,
41
42
  showType = true,
42
43
  showDescription = true,
@@ -26,7 +26,7 @@ const BaseModal = ({
26
26
  borderRadius: 20,
27
27
  background: "",
28
28
  border: "",
29
- maxHeight: "70%",
29
+ maxHeight: "98%",
30
30
  overflow: "auto",
31
31
  zIndex: 20,
32
32
  },
@@ -221,6 +221,7 @@ export interface IActivitySolutionProps {
221
221
 
222
222
  export interface IActivityPreviewByDataProps {
223
223
  data: any;
224
+ changeAnswer: (e: any) => void;
224
225
  answerType?: string | null;
225
226
  showType?: boolean;
226
227
  showDescription?: boolean;