@digabi/exam-engine-core 20.0.2-images-loading.2 → 20.0.2-images-loading.3

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digabi/exam-engine-core",
3
- "version": "20.0.2-images-loading.2",
3
+ "version": "20.0.2-images-loading.3",
4
4
  "main": "dist/main-bundle.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Matriculation Examination Board, Finland",
@@ -58,5 +58,5 @@
58
58
  "webpack-bundle-analyzer": "^4.1.0",
59
59
  "webpack-cli": "^5.0.2"
60
60
  },
61
- "gitHead": "306718d71d654a657ea59dfe253be565c81ca2ed"
61
+ "gitHead": "4dc47cc13d1f82845f317ecdb85ca7b71a4b0c83"
62
62
  }
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- declare function ProceedToExamineAnswers(): React.JSX.Element;
3
- declare const _default: React.MemoExoticComponent<typeof ProceedToExamineAnswers>;
4
- export default _default;
5
- //# sourceMappingURL=ProceedToExamineAnswers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProceedToExamineAnswers.d.ts","sourceRoot":"","sources":["../../../src/components/exam/ProceedToExamineAnswers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAKzC,iBAAS,uBAAuB,sBA4B/B;;AAED,wBAAkD"}
@@ -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,2 +0,0 @@
1
- export declare const useIsStudentsExamineExamPage: () => boolean;
2
- //# sourceMappingURL=isExamExaminePageHook.d.ts.map
@@ -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"}