@digabi/exam-engine-core 19.17.0-y.0 → 19.17.1-abitti2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/__tests__/examServerApi.d.ts.map +1 -1
- package/dist/__tests__/examServerApi.js +1 -0
- package/dist/__tests__/examServerApi.js.map +1 -1
- package/dist/__tests__/results/ResultsExamQuestionAutoScore.test.js +3 -6
- package/dist/__tests__/results/ResultsExamQuestionAutoScore.test.js.map +1 -1
- package/dist/__tests__/results/ResultsExamQuestionManualScore.test.js +1 -2
- package/dist/__tests__/results/ResultsExamQuestionManualScore.test.js.map +1 -1
- package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
- package/dist/components/context/CommonExamContext.d.ts +1 -0
- package/dist/components/context/CommonExamContext.d.ts.map +1 -1
- package/dist/components/context/CommonExamContext.js +2 -1
- package/dist/components/context/CommonExamContext.js.map +1 -1
- package/dist/components/exam/Exam.d.ts +1 -0
- package/dist/components/exam/Exam.d.ts.map +1 -1
- package/dist/components/exam/Exam.js +11 -19
- package/dist/components/exam/Exam.js.map +1 -1
- package/dist/components/exam/Section.d.ts.map +1 -1
- package/dist/components/exam/Section.js +0 -8
- package/dist/components/exam/Section.js.map +1 -1
- package/dist/components/results/ChoiceAnswer.js +1 -1
- package/dist/components/results/ChoiceAnswer.js.map +1 -1
- package/dist/components/results/DropdownAnswer.d.ts.map +1 -1
- package/dist/components/results/DropdownAnswer.js +1 -1
- package/dist/components/results/DropdownAnswer.js.map +1 -1
- package/dist/components/results/EndExamSession.d.ts +1 -1
- package/dist/components/results/EndExamSession.d.ts.map +1 -1
- package/dist/components/results/EndExamSession.js +1 -1
- package/dist/components/results/EndExamSession.js.map +1 -1
- package/dist/components/results/Question.d.ts.map +1 -1
- package/dist/components/results/Question.js +2 -7
- package/dist/components/results/Question.js.map +1 -1
- package/dist/components/results/Results.d.ts +0 -2
- package/dist/components/results/Results.d.ts.map +1 -1
- package/dist/components/results/Results.js +11 -10
- package/dist/components/results/Results.js.map +1 -1
- package/dist/components/results/ScoredTextAnswer.d.ts.map +1 -1
- package/dist/components/results/ScoredTextAnswer.js +1 -1
- package/dist/components/results/ScoredTextAnswer.js.map +1 -1
- package/dist/components/results/TextAnswer.d.ts.map +1 -1
- package/dist/components/results/TextAnswer.js +2 -2
- package/dist/components/results/TextAnswer.js.map +1 -1
- package/dist/components/results/internal/QuestionAutoScore.d.ts +1 -2
- package/dist/components/results/internal/QuestionAutoScore.d.ts.map +1 -1
- package/dist/components/results/internal/QuestionAutoScore.js +2 -2
- package/dist/components/results/internal/QuestionAutoScore.js.map +1 -1
- package/dist/components/results/internal/QuestionManualScore.d.ts +1 -2
- package/dist/components/results/internal/QuestionManualScore.d.ts.map +1 -1
- package/dist/components/results/internal/QuestionManualScore.js +2 -2
- package/dist/components/results/internal/QuestionManualScore.js.map +1 -1
- package/dist/components/results/internal/QuestionScoresContainer.d.ts +1 -2
- package/dist/components/results/internal/QuestionScoresContainer.d.ts.map +1 -1
- package/dist/components/results/internal/QuestionScoresContainer.js +1 -8
- package/dist/components/results/internal/QuestionScoresContainer.js.map +1 -1
- package/dist/components/shared/Reference.d.ts.map +1 -1
- package/dist/components/shared/Reference.js +1 -1
- package/dist/components/shared/Reference.js.map +1 -1
- package/dist/components/shared/TableOfContents.d.ts.map +1 -1
- package/dist/components/shared/TableOfContents.js +2 -4
- package/dist/components/shared/TableOfContents.js.map +1 -1
- package/dist/components/shared/internal/RestrictedAudioPlayer.d.ts.map +1 -1
- package/dist/components/shared/internal/RestrictedAudioPlayer.js +13 -2
- package/dist/components/shared/internal/RestrictedAudioPlayer.js.map +1 -1
- package/dist/i18n/fi-FI.d.ts +0 -4
- package/dist/i18n/fi-FI.d.ts.map +1 -1
- package/dist/i18n/fi-FI.js +3 -7
- package/dist/i18n/fi-FI.js.map +1 -1
- package/dist/i18n/sv-FI.d.ts.map +1 -1
- package/dist/i18n/sv-FI.js +2 -6
- package/dist/i18n/sv-FI.js.map +1 -1
- package/dist/main-bundle.js +1 -1
- package/dist/main.css +1 -1
- package/dist/store/audio/reducer.d.ts +3 -0
- package/dist/store/audio/reducer.d.ts.map +1 -1
- package/dist/store/audio/reducer.js.map +1 -1
- package/dist/store/audio/sagas.d.ts.map +1 -1
- package/dist/store/audio/sagas.js +40 -11
- package/dist/store/audio/sagas.js.map +1 -1
- package/dist/types/ExamAnswer.d.ts +0 -1
- package/dist/types/ExamAnswer.d.ts.map +1 -1
- package/dist/types/ExamServerAPI.d.ts +8 -0
- package/dist/types/ExamServerAPI.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/components/exam/GoToExamineAnswersButton.d.ts +0 -5
- package/dist/components/exam/GoToExamineAnswersButton.d.ts.map +0 -1
- package/dist/components/exam/GoToExamineAnswersButton.js +0 -18
- package/dist/components/exam/GoToExamineAnswersButton.js.map +0 -1
- package/dist/components/exam/ProceedToExamineAnswers.d.ts +0 -5
- package/dist/components/exam/ProceedToExamineAnswers.d.ts.map +0 -1
- package/dist/components/exam/ProceedToExamineAnswers.js +0 -20
- package/dist/components/exam/ProceedToExamineAnswers.js.map +0 -1
- package/dist/components/results/isExamExaminePageHook.d.ts +0 -2
- package/dist/components/results/isExamExaminePageHook.d.ts.map +0 -1
- package/dist/components/results/isExamExaminePageHook.js +0 -7
- package/dist/components/results/isExamExaminePageHook.js.map +0 -1
@@ -1,20 +0,0 @@
|
|
1
|
-
import React, { useContext } from 'react';
|
2
|
-
import { useExamTranslation } from '../../i18n';
|
3
|
-
import { ExamContext } from '../context/ExamContext';
|
4
|
-
function ProceedToExamineAnswers() {
|
5
|
-
const { examServerApi } = useContext(ExamContext);
|
6
|
-
const { examineExam } = examServerApi;
|
7
|
-
const { t } = useExamTranslation();
|
8
|
-
const goToInspectAnswers = () => {
|
9
|
-
if (!examineExam) {
|
10
|
-
return;
|
11
|
-
}
|
12
|
-
examineExam();
|
13
|
-
window.scrollTo(0, 0);
|
14
|
-
};
|
15
|
-
return (React.createElement("div", { className: "e-examine-exam" },
|
16
|
-
React.createElement("button", { className: "e-button", id: "examineExam", onClick: goToInspectAnswers, "aria-describedby": "examineExamInstructions" }, t('examine-exam.examine')),
|
17
|
-
React.createElement("div", { className: "e-examine-exam-instructions", id: "examineExamInstructions" }, t('examine-exam.instructions'))));
|
18
|
-
}
|
19
|
-
export default React.memo(ProceedToExamineAnswers);
|
20
|
-
//# sourceMappingURL=ProceedToExamineAnswers.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ProceedToExamineAnswers.js","sourceRoot":"","sources":["../../../src/components/exam/ProceedToExamineAnswers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAGpD,SAAS,uBAAuB;IAC9B,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC,WAAW,CAAC,CAAA;IACjD,MAAM,EAAE,WAAW,EAAE,GAAkB,aAAa,CAAA;IACpD,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAElC,MAAM,kBAAkB,GAAG,GAAG,EAAE;QAC9B,IAAI,CAAC,WAAW,EAAE,CAAC;YACjB,OAAM;QACR,CAAC;QACD,WAAW,EAAE,CAAA;QACb,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;IACvB,CAAC,CAAA;IAED,OAAO,CACL,6BAAK,SAAS,EAAC,gBAAgB;QAC7B,gCACE,SAAS,EAAC,UAAU,EACpB,EAAE,EAAC,aAAa,EAChB,OAAO,EAAE,kBAAkB,sBACV,yBAAyB,IAEzC,CAAC,CAAC,sBAAsB,CAAC,CACnB;QACT,6BAAK,SAAS,EAAC,6BAA6B,EAAC,EAAE,EAAC,yBAAyB,IACtE,CAAC,CAAC,2BAA2B,CAAC,CAC3B,CACF,CACP,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"isExamExaminePageHook.d.ts","sourceRoot":"","sources":["../../../src/components/results/isExamExaminePageHook.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,4BAA4B,eAGxC,CAAA"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { useContext } from 'react';
|
2
|
-
import { ResultsContext } from '../context/ResultsContext';
|
3
|
-
export const useIsStudentsExamineExamPage = () => {
|
4
|
-
const { gradingStructure } = useContext(ResultsContext);
|
5
|
-
return gradingStructure === undefined;
|
6
|
-
};
|
7
|
-
//# sourceMappingURL=isExamExaminePageHook.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"isExamExaminePageHook.js","sourceRoot":"","sources":["../../../src/components/results/isExamExaminePageHook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE1D,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,EAAE;IAC/C,MAAM,EAAE,gBAAgB,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAA;IACvD,OAAO,gBAAgB,KAAK,SAAS,CAAA;AACvC,CAAC,CAAA"}
|