@digabi/exam-engine-core 19.12.1-alpha.1 → 19.12.1-beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. package/dist/__tests__/examServerApi.d.ts.map +1 -1
  2. package/dist/__tests__/examServerApi.js +1 -2
  3. package/dist/__tests__/examServerApi.js.map +1 -1
  4. package/dist/__tests__/testExamRendering.js +3 -10
  5. package/dist/__tests__/testExamRendering.js.map +1 -1
  6. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  7. package/dist/components/context/ResultsContext.js +1 -1
  8. package/dist/components/context/ResultsContext.js.map +1 -1
  9. package/dist/components/exam/Exam.d.ts +0 -10
  10. package/dist/components/exam/Exam.d.ts.map +1 -1
  11. package/dist/components/exam/Exam.js +2 -7
  12. package/dist/components/exam/Exam.js.map +1 -1
  13. package/dist/components/exam/ExamFooter.d.ts.map +1 -1
  14. package/dist/components/exam/ExamFooter.js +2 -11
  15. package/dist/components/exam/ExamFooter.js.map +1 -1
  16. package/dist/components/exam/UndoHistoryEntry.d.ts +0 -1
  17. package/dist/components/exam/UndoHistoryEntry.d.ts.map +1 -1
  18. package/dist/components/exam/UndoHistoryEntry.js +10 -13
  19. package/dist/components/exam/UndoHistoryEntry.js.map +1 -1
  20. package/dist/components/exam/UndoView.d.ts +1 -2
  21. package/dist/components/exam/UndoView.d.ts.map +1 -1
  22. package/dist/components/exam/UndoView.js +23 -23
  23. package/dist/components/exam/UndoView.js.map +1 -1
  24. package/dist/components/exam/internal/ErrorIndicator.js +1 -1
  25. package/dist/components/exam/internal/ErrorIndicator.js.map +1 -1
  26. package/dist/components/results/ChoiceAnswer.js +6 -5
  27. package/dist/components/results/ChoiceAnswer.js.map +1 -1
  28. package/dist/components/results/DropdownAnswer.d.ts +1 -1
  29. package/dist/components/results/DropdownAnswer.d.ts.map +1 -1
  30. package/dist/components/results/DropdownAnswer.js +23 -23
  31. package/dist/components/results/DropdownAnswer.js.map +1 -1
  32. package/dist/components/results/MultiLineAnswer.d.ts.map +1 -1
  33. package/dist/components/results/MultiLineAnswer.js +4 -1
  34. package/dist/components/results/MultiLineAnswer.js.map +1 -1
  35. package/dist/components/results/Question.d.ts.map +1 -1
  36. package/dist/components/results/Question.js +5 -4
  37. package/dist/components/results/Question.js.map +1 -1
  38. package/dist/components/results/QuestionTitle.d.ts.map +1 -1
  39. package/dist/components/results/QuestionTitle.js +7 -2
  40. package/dist/components/results/QuestionTitle.js.map +1 -1
  41. package/dist/components/results/Results.d.ts +1 -0
  42. package/dist/components/results/Results.d.ts.map +1 -1
  43. package/dist/components/results/Results.js +23 -5
  44. package/dist/components/results/Results.js.map +1 -1
  45. package/dist/components/results/Section.d.ts.map +1 -1
  46. package/dist/components/results/Section.js +2 -9
  47. package/dist/components/results/Section.js.map +1 -1
  48. package/dist/components/results/SingleLineAnswer.d.ts.map +1 -1
  49. package/dist/components/results/SingleLineAnswer.js +4 -1
  50. package/dist/components/results/SingleLineAnswer.js.map +1 -1
  51. package/dist/components/results/internal/QuestionAutoScore.d.ts +1 -1
  52. package/dist/components/results/internal/QuestionAutoScore.d.ts.map +1 -1
  53. package/dist/components/results/internal/QuestionAutoScore.js +5 -0
  54. package/dist/components/results/internal/QuestionAutoScore.js.map +1 -1
  55. package/dist/components/results/internal/QuestionScoresContainer.d.ts +1 -1
  56. package/dist/components/results/internal/QuestionScoresContainer.d.ts.map +1 -1
  57. package/dist/components/results/internal/QuestionScoresContainer.js +5 -0
  58. package/dist/components/results/internal/QuestionScoresContainer.js.map +1 -1
  59. package/dist/components/results/isExamFinishPageHook.d.ts +2 -0
  60. package/dist/components/results/isExamFinishPageHook.d.ts.map +1 -0
  61. package/dist/components/results/isExamFinishPageHook.js +7 -0
  62. package/dist/components/results/isExamFinishPageHook.js.map +1 -0
  63. package/dist/i18n/fi-FI.d.ts +0 -17
  64. package/dist/i18n/fi-FI.d.ts.map +1 -1
  65. package/dist/i18n/fi-FI.js +0 -17
  66. package/dist/i18n/fi-FI.js.map +1 -1
  67. package/dist/i18n/sv-FI.d.ts.map +1 -1
  68. package/dist/i18n/sv-FI.js +0 -17
  69. package/dist/i18n/sv-FI.js.map +1 -1
  70. package/dist/main-bundle.js +1 -1
  71. package/dist/main-bundle.js.LICENSE.txt +0 -14
  72. package/dist/main.css +1 -1
  73. package/dist/types/ExamServerAPI.d.ts +0 -1
  74. package/dist/types/ExamServerAPI.d.ts.map +1 -1
  75. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownAnswer.js","sourceRoot":"","sources":["../../../src/components/results/DropdownAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,mCAAmC,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC/F,OAAO,4BAA4B,MAAM,8BAA8B,CAAA;AAEvE,SAAS,cAAc,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IACvE,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAClC,MAAM,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAA;IAC5E,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IAC/C,MAAM,UAAU,GAAG,mBAAmB,CAAC,OAAO,EAAE,aAAa,CAAE,CAAA;IAC/D,MAAM,MAAM,GAAG,mBAAmB,CAAC,UAAU,CAA6B,CAAA;IAE1E,MAAM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AI,IAC3D,cAAc,CAAC,GAAG,CAAC,CAAC,aAAa,EAAE,CAAC,EAAE,EAAE,CAAC,CACxC,oBAAC,KAAK,CAAC,QAAQ,IAAC,GAAG,EAAE,CAAC;YACnB,gBAAgB,CAAC,aAAa,CAAC;YAC/B,CAAC,GAAG,cAAc,CAAC,MAAM,GAAG,CAAC,IAAI,IAAI,CACvB,CAClB,CAAC,CACG,CACR;QAEA,UAAU,IAAI,IAAI,IAAI,CACrB,oBAAC,4BAA4B,IAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,GAAI,CACtG,CACA,CACJ,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"MultiLineAnswer.d.ts","sourceRoot":"","sources":["../../../src/components/results/MultiLineAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAK7B,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC;IACpD,IAAI,EAAE,WAAW,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,KAAK,CAAA;CACd,CAuBA,CAAA"}
1
+ {"version":3,"file":"MultiLineAnswer.d.ts","sourceRoot":"","sources":["../../../src/components/results/MultiLineAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAM7B,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,iBAAiB,CAAC;IACpD,IAAI,EAAE,WAAW,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,KAAK,CAAA;CACd,CA2BA,CAAA"}
@@ -2,6 +2,7 @@ import React, { useLayoutEffect, useRef } from 'react';
2
2
  import { useExamTranslation } from '../../i18n';
3
3
  import { renderAnnotations } from '../../renderAnnotations';
4
4
  import { ScreenReaderOnly } from '../ScreenReaderOnly';
5
+ import classNames from 'classnames';
5
6
  export const MultiLineAnswer = ({ type, score, value }) => {
6
7
  const { t } = useExamTranslation();
7
8
  const answerRef = useRef(null);
@@ -11,7 +12,9 @@ export const MultiLineAnswer = ({ type, score, value }) => {
11
12
  renderAnnotations(answerRef.current, (_b = (_a = score === null || score === void 0 ? void 0 : score.pregrading) === null || _a === void 0 ? void 0 : _a.annotations) !== null && _b !== void 0 ? _b : [], (_d = (_c = score === null || score === void 0 ? void 0 : score.censoring) === null || _c === void 0 ? void 0 : _c.annotations) !== null && _d !== void 0 ? _d : []);
12
13
  }
13
14
  });
14
- return (React.createElement("div", { className: "e-multiline-results-text-answer e-line-height-l e-pad-l-2 e-mrg-b-1" },
15
+ return (React.createElement("div", { className: classNames('e-multiline-results-text-answer e-line-height-l e-pad-l-2 e-mrg-b-1', {
16
+ noAnswer: !value
17
+ }) },
15
18
  React.createElement(ScreenReaderOnly, null, t('screen-reader.answer-begin')),
16
19
  type === 'rich-text' ? (React.createElement("div", { dangerouslySetInnerHTML: { __html: value || '' }, ref: answerRef })) : (React.createElement("div", { className: "e-pre-wrap", ref: answerRef }, value)),
17
20
  React.createElement(ScreenReaderOnly, null, t('screen-reader.answer-end'))));
@@ -1 +1 @@
1
- {"version":3,"file":"MultiLineAnswer.js","sourceRoot":"","sources":["../../../src/components/results/MultiLineAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAEtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAEtD,MAAM,CAAC,MAAM,eA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,OAAO,CAAA;;AAgCzC,wBAAwD"}
1
+ {"version":3,"file":"Question.d.ts","sourceRoot":"","sources":["../../../src/components/results/Question.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAA;;AAiCzC,wBAAwD"}
@@ -8,16 +8,17 @@ function Question({ element, renderChildNodes }) {
8
8
  const { answersByQuestionId } = useContext(ResultsContext);
9
9
  const { displayNumber, level } = useContext(QuestionContext);
10
10
  const hasAnswers = questionHasAnswers(element, answersByQuestionId);
11
- return hasAnswers ? (React.createElement("div", { className: classNames('e-exam-question', {
11
+ return (React.createElement("div", { className: classNames('e-exam-question', `e-level-${level}`, {
12
12
  'e-mrg-b-8 e-clearfix': level === 0,
13
- 'e-mrg-l-8 e-mrg-y-4': level > 0
13
+ 'e-mrg-l-8 e-mrg-y-4': level > 0,
14
+ noAnswer: !hasAnswers
14
15
  }), id: displayNumber },
15
16
  renderChildNodes(element),
16
- React.createElement(AnnotationList, null))) : null;
17
+ React.createElement(AnnotationList, null)));
17
18
  }
18
19
  function questionHasAnswers(element, answers) {
19
20
  const answerElems = findChildrenAnswers(element);
20
- return answerElems.some(e => answers[getNumericAttribute(e, 'question-id')]);
21
+ return answerElems.some(e => { var _a; return (_a = answers[getNumericAttribute(e, 'question-id')]) === null || _a === void 0 ? void 0 : _a.value; });
21
22
  }
22
23
  export default React.memo(withQuestionContext(Question));
23
24
  //# sourceMappingURL=Question.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Question.js","sourceRoot":"","sources":["../../../src/components/results/Question.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAC1E,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AACjF,OAAO,cAAc,MAAM,2BAA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,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAGjE,iBAAS,aAAa,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,qBAwBvE;;AAED,wBAAwC"}
1
+ {"version":3,"file":"QuestionTitle.d.ts","sourceRoot":"","sources":["../../../src/components/results/QuestionTitle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAKjE,iBAAS,aAAa,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,qBA0BvE;;AAED,wBAAwC"}
@@ -4,15 +4,20 @@ import AnsweringInstructions from '../AnsweringInstructions';
4
4
  import NotificationIcon from '../NotificationIcon';
5
5
  import { QuestionContext } from '../context/QuestionContext';
6
6
  import { formatQuestionDisplayNumber } from '../../formatting';
7
+ import { Score } from '../shared/Score';
8
+ import { useIsFinishExamPage } from './isExamFinishPageHook';
7
9
  function QuestionTitle({ element, renderChildNodes }) {
8
- const { displayNumber, level, maxAnswers, childQuestions } = useContext(QuestionContext);
10
+ const { displayNumber, level, maxAnswers, maxScore, childQuestions } = useContext(QuestionContext);
9
11
  const Tag = `h${Math.min(3 + level, 6)}`;
12
+ const isFinishExamPage = useIsFinishExamPage();
10
13
  return (React.createElement(React.Fragment, null,
11
14
  React.createElement(Tag, { className: classNames('exam-question-title', { 'e-normal e-font-size-m': level > 0 }) },
12
15
  React.createElement("strong", { className: classNames('exam-question-title__display-number', {
13
16
  'exam-question-title__display-number--indented': level > 0
14
17
  }) }, `${formatQuestionDisplayNumber(displayNumber)} `),
15
- renderChildNodes(element)),
18
+ renderChildNodes(element),
19
+ ' ',
20
+ isFinishExamPage && React.createElement(Score, { score: maxScore, size: level === 0 ? 'large' : 'small' })),
16
21
  maxAnswers != null && childQuestions.length > 0 && (React.createElement("p", { className: "e-italic" },
17
22
  React.createElement(NotificationIcon, null),
18
23
  React.createElement(AnsweringInstructions, { maxAnswers, childQuestions, elementType: 'question' })))));
@@ -1 +1 @@
1
- {"version":3,"file":"QuestionTitle.js","sourceRoot":"","sources":["../../../src/components/results/QuestionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,qBAAqB,MAAM,0BAA0B,CAAA;AAC5D,OAAO,gBAAgB,MAAM,qBAAqB,CAAA;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAA;AAE9D,SAAS,aAAa,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IACtE,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IACxF,MAAM,GAAG,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC,EAA+B,CAAA;IAErE,OAAO,CACL;QACE,oBAAC,GAAG,IAAC,SAAS,EAAE,UAAU,CAAC,qBAAqB,EAAE,EAAE,wBAAwB,EAAE,KAAK,GAAG,CAAC,EAAE,CAAC;YACxF,gCACE,SAAS,EAAE,UAAU,CAAC,qCAAqC,EAAE;oBAC3D,+CAA+C,EAAE,KAAK,GAAG,CAAC;iBAC3D,CAAC,IAED,GAAG,2BAA2B,CAAC,aAAa,CAAC,GAAG,CAC1C;YACR,gBAAgB,CAAC,OAAO,CAAC,CACtB;QACL,UAAU,IAAI,IAAI,IAAI,cAAc,CAAC,MAAM,GAAG,CAAC,IAAI,CAClD,2BAAG,SAAS,EAAC,UAAU;YACrB,oBAAC,gBAAgB,OAAG;YACpB,oBAAC,qBAAqB,IAAO,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,GAAM,CACpF,CAC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AI,oBAAC,KAAK,IAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,GAAI,CAClF;QACL,UAAU,IAAI,IAAI,IAAI,cAAc,CAAC,MAAM,GAAG,CAAC,IAAI,CAClD,2BAAG,SAAS,EAAC,UAAU;YACrB,oBAAC,gBAAgB,OAAG;YACpB,oBAAC,qBAAqB,IAAO,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,GAAM,CACpF,CACL,CACA,CACJ,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA"}
@@ -9,6 +9,7 @@ export interface ResultsProps extends CommonExamProps {
9
9
  /** Scores for exam answers */
10
10
  scores: Score[];
11
11
  singleGrading?: boolean;
12
+ returnToExam: () => void;
12
13
  }
13
14
  declare const _default: React.MemoExoticComponent<React.ComponentType<any>>;
14
15
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"Results.d.ts","sourceRoot":"","sources":["../../../src/components/results/Results.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAA;AAEpD,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAU/C,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAqB9C,MAAM,WAAW,YAAa,SAAQ,eAAe;IACnD,8GAA8G;IAC9G,gBAAgB,EAAE,gBAAgB,CAAA;IAClC,oGAAoG;IACpG,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,8BAA8B;IAC9B,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB;;AAoFD,wBAA6E"}
1
+ {"version":3,"file":"Results.d.ts","sourceRoot":"","sources":["../../../src/components/results/Results.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAA;AAEpD,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAU/C,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAuB9C,MAAM,WAAW,YAAa,SAAQ,eAAe;IACnD,8GAA8G;IAC9G,gBAAgB,EAAE,gBAAgB,CAAA;IAClC,oGAAoG;IACpG,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,8BAA8B;IAC9B,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,YAAY,EAAE,MAAM,IAAI,CAAA;CACzB;;AAwHD,wBAA6E"}
@@ -1,5 +1,5 @@
1
1
  import React, { useContext, useEffect } from 'react';
2
- import { I18nextProvider } from 'react-i18next';
2
+ import { I18nextProvider, useTranslation } from 'react-i18next';
3
3
  import { createRenderChildNodes } from '../../createRenderChildNodes';
4
4
  import { findChildElement, queryAncestors } from '../../dom-utils';
5
5
  import { changeLanguage, initI18n, useExamTranslation } from '../../i18n';
@@ -28,6 +28,8 @@ import { validateAnswers } from '../../validateAnswers';
28
28
  import { parseExamStructure } from '../../parser/parseExamStructure';
29
29
  import { QuestionNumber } from '../shared/QuestionNumber';
30
30
  import ExamTranslation from '../shared/ExamTranslation';
31
+ import { useIsFinishExamPage } from './isExamFinishPageHook';
32
+ import classNames from 'classnames';
31
33
  const renderChildNodes = createRenderChildNodes({
32
34
  attachment: RenderChildNodes,
33
35
  'attachment-link': mkAttachmentLink('plain'),
@@ -49,7 +51,7 @@ const renderChildNodes = createRenderChildNodes({
49
51
  'scored-text-answer': ScoredTextAnswer,
50
52
  'scored-text-answers': RenderChildNodes
51
53
  });
52
- const Results = ({ doc }) => {
54
+ const Results = ({ doc, returnToExam }) => {
53
55
  const { date, dateTimeFormatter, dayCode, examCode, language, resolveAttachment, root, subjectLanguage } = useContext(CommonExamContext);
54
56
  const { answersByQuestionId } = useContext(ResultsContext);
55
57
  const examTitle = findChildElement(root, 'exam-title');
@@ -57,17 +59,33 @@ const Results = ({ doc }) => {
57
59
  const i18n = useCached(() => initI18n(language, examCode, dayCode));
58
60
  useEffect(changeLanguage(i18n, language));
59
61
  useEffect(scrollToHash, []);
62
+ const { t } = useTranslation();
63
+ const isFinishExamPage = useIsFinishExamPage();
60
64
  return (React.createElement(I18nextProvider, { i18n: i18n },
61
- React.createElement("main", { className: "e-exam e-results", lang: subjectLanguage },
65
+ React.createElement("main", { className: classNames('e-exam e-results', { 'finish-exam-page': isFinishExamPage }), lang: subjectLanguage },
62
66
  React.createElement(React.StrictMode, null),
63
67
  examStylesheet && React.createElement("link", { rel: "stylesheet", href: resolveAttachment(examStylesheet) }),
68
+ isFinishExamPage && (React.createElement("button", { className: "k-exam-done-return js-exam-done-return", onClick: () => returnToExam() }, "Palaa kokeeseen")),
64
69
  React.createElement("div", { className: "e-columns e-columns--bottom-v e-mrg-b-4" },
65
70
  examTitle && (React.createElement(DocumentTitle, { id: "title", className: "e-column e-mrg-b-0" },
66
71
  renderChildNodes(examTitle),
67
72
  date && `, ${dateTimeFormatter.format(date)}`)),
68
- React.createElement(ScoresAndFinalGrade, null)),
73
+ !isFinishExamPage && React.createElement(ScoresAndFinalGrade, null)),
74
+ isFinishExamPage && (React.createElement("div", { className: "finish-page-instructions" },
75
+ React.createElement("p", null, "N\u00E4et t\u00E4ss\u00E4 vastauksesi samanlaisina kuin kokeen arvostelijat tulevat ne n\u00E4kem\u00E4\u00E4n."),
76
+ React.createElement("ul", null,
77
+ React.createElement("li", null,
78
+ "Tarkista, ett\u00E4 n\u00E4et alla kaikki koesuoritukset, jotka haluat j\u00E4tt\u00E4\u00E4 arvosteltavaksi.",
79
+ React.createElement("br", null)),
80
+ React.createElement("li", null, "Jos n\u00E4et ylim\u00E4\u00E4r\u00E4isi\u00E4 koesuorituksia, palaa kokeeseen ja poista ne.")))),
69
81
  React.createElement(ErrorIndicatorForErrors, { validationErrors: validateAnswers(parseExamStructure(doc), answersByQuestionId), inExam: false }),
70
- renderChildNodes(root))));
82
+ renderChildNodes(root),
83
+ isFinishExamPage && (React.createElement("div", null,
84
+ React.createElement("p", { className: "k-exam-done-instructions" },
85
+ "Kun olet valmis, sammuta tietokoneesi oikeasta yl\u00E4kulmasta.",
86
+ React.createElement("br", null),
87
+ "Kun kone on sammunut, irrota USB-muisti ja palauta se kokeen valvojalle."),
88
+ React.createElement("img", { className: "k-exam-done-shutdown-image", src: "/dist/digabi-shutdown-screenshot.png", alt: t('examFinished.shutdownTooltip') }))))));
71
89
  };
72
90
  function ScoresAndFinalGrade() {
73
91
  const { gradingText, totalScore } = useContext(ResultsContext);
@@ -1 +1 @@
1
- {"version":3,"file":"Results.js","sourceRoot":"","sources":["../../../src/components/results/Results.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAClE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,gBAAgB,MAAM,0BAA0B,CAAA;AACvD,OAAO,iBAAiB,MAAM,2BAA2B,CAAA;AACzD,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAA;AACvF,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAE5C,OAAO,uBAAuB,MAAM,6BAA6B,CAAA;AACjE,OAAO,gBAAgB,MAAM,sBAAsB,CAAA;AACnD,OAAO,OAAO,MAAM,mBAAmB,CAAA;AACvC,OAAO,KAAK,MAAM,iBAAiB,CAAA;AACnC,OAAO,gB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IAAI,IAAI,KAAK,iBAAiB,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAChC,CACjB;gBACD,oBAAC,mBAAmB,OAAG,CACnB;YACN,oBAAC,uBAAuB,IACtB,gBAAgB,EAAE,eAAe,CAAC,kBAAkB,CAAC,GAAG,CAAC,EAAE,mBAAmB,CAAC,EAC/E,MAAM,EAAE,KAAK,GACb;YACD,gBAAgB,CAAC,IAAI,CAAC,CAClB,CACS,CACnB,CAAA;AACH,CAAC,CAAA;AAED,SAAS,mBAAmB;IAC1B,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAA;IAC9D,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAElC,OAAO,CACL,6BAAK,SAAS,EAAC,kBAAkB;QAC/B,+BAAO,SAAS,EAAC,uCAAuC;YACtD;gBACE;oBACE,4BAAI,SAAS,EAAC,oBAAoB,IAAE,CAAC,CAAC,eAAe,CAAC,CAAM;oBAC5D,4BAAI,SAAS,EAAC,mCAAmC,IAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAM,CACxF;gBACJ,WAAW,IAAI,CACd;oBACE,4BAAI,SAAS,EAAC,oBAAoB,IAAE,CAAC,CAAC,OAAO,CAAC,CAAM;oBACpD,4BAAI,SAAS,EAAC,mCAAmC,IAAE,WAAW,CAAM,CACjE,CACN,CACK,CACF,CACJ,CACP,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"Results.js","sourceRoot":"","sources":["../../../src/components/results/Results.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,eAAe,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"file":"Section.d.ts","sourceRoot":"","sources":["../../../src/components/results/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;;AAuBzC,wBAAsD"}
1
+ {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../src/components/results/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;;AAezC,wBAAsD"}
@@ -1,18 +1,11 @@
1
1
  import React, { useContext } from 'react';
2
- import { query } from '../../dom-utils';
3
2
  import SectionElement from '../SectionElement';
4
3
  import { SectionContext, withSectionContext } from '../context/SectionContext';
5
- import { ResultsContext } from '../context/ResultsContext';
6
4
  import { sectionTitleId } from '../../ids';
7
5
  function Section({ element, renderChildNodes }) {
8
6
  const { displayNumber } = useContext(SectionContext);
9
- const { answersByQuestionId } = useContext(ResultsContext);
10
- const containsAnswers = query(element, e => {
11
- const maybeQuestionId = e.getAttribute('question-id');
12
- return maybeQuestionId != null && Object.prototype.hasOwnProperty.call(answersByQuestionId, maybeQuestionId);
13
- });
14
- return containsAnswers ? (React.createElement(SectionElement, { "aria-labelledby": sectionTitleId(displayNumber) },
15
- React.createElement("div", { className: "e-results-section-wrapper" }, renderChildNodes(element)))) : null;
7
+ return (React.createElement(SectionElement, { "aria-labelledby": sectionTitleId(displayNumber) },
8
+ React.createElement("div", { className: "e-results-section-wrapper" }, renderChildNodes(element))));
16
9
  }
17
10
  export default React.memo(withSectionContext(Section));
18
11
  //# sourceMappingURL=Section.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Section.js","sourceRoot":"","sources":["../../../src/components/results/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AACvC,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;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AAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAA;IAEpD,OAAO,CACL,oBAAC,cAAc,uBAAkB,cAAc,CAAC,aAAa,CAAC;QAC5D,6BAAK,SAAS,EAAC,2BAA2B,IAAE,gBAAgB,CAAC,OAAO,CAAC,CAAO,CAC7D,CAClB,CAAA;AACH,CAAC;AACD,eAAe,KAAK,CAAC,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"SingleLineAnswer.d.ts","sourceRoot":"","sources":["../../../src/components/results/SingleLineAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAK7B,iBAAS,gBAAgB,CAAC,EACxB,aAAa,EACb,KAAK,EACL,KAAK,EACL,QAAQ,EACT,EAAE;IACD,OAAO,EAAE,OAAO,EAAE,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B,qBAuBA;;AAED,wBAA2C"}
1
+ {"version":3,"file":"SingleLineAnswer.d.ts","sourceRoot":"","sources":["../../../src/components/results/SingleLineAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAM7B,iBAAS,gBAAgB,CAAC,EACxB,aAAa,EACb,KAAK,EACL,KAAK,EACL,QAAQ,EACT,EAAE;IACD,OAAO,EAAE,OAAO,EAAE,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B,qBA2BA;;AAED,wBAA2C"}
@@ -2,6 +2,7 @@ import React, { useLayoutEffect, useRef } from 'react';
2
2
  import { useExamTranslation } from '../../i18n';
3
3
  import { renderAnnotations } from '../../renderAnnotations';
4
4
  import { ScreenReaderOnly } from '../ScreenReaderOnly';
5
+ import classNames from 'classnames';
5
6
  function SingleLineAnswer({ displayNumber, score, value, children }) {
6
7
  const { t } = useExamTranslation();
7
8
  const answerRef = useRef(null);
@@ -13,7 +14,9 @@ function SingleLineAnswer({ displayNumber, score, value, children }) {
13
14
  });
14
15
  return (React.createElement(React.Fragment, null,
15
16
  displayNumber && React.createElement("sup", null, displayNumber),
16
- React.createElement("span", { className: "text-answer text-answer--single-line" },
17
+ React.createElement("span", { className: classNames('text-answer text-answer--single-line', {
18
+ noAnswer: !value
19
+ }) },
17
20
  React.createElement(ScreenReaderOnly, null, t('screen-reader.answer-begin')),
18
21
  React.createElement("span", { className: "e-inline-block", ref: answerRef }, value),
19
22
  React.createElement(ScreenReaderOnly, null, t('screen-reader.answer-end'))),
@@ -1 +1 @@
1
- {"version":3,"file":"SingleLineAnswer.js","sourceRoot":"","sources":["../../../src/components/results/SingleLineAnswer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAEtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAEtD,SAAS,gBAAgB,CAAC,EACxB,aAAa,EACb,KAAK,EACL,KAAK,EACL,QAAQ,EAOT;IACC,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAClC,MAAM,SAAS,GAAG,MAAM,CAAkB,IAAI,CAAC,CAAA;IAE/C,eAAe,CAAC,GAAG,EAAE;;QACnB,IAAI,SAAS,C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G,EAAE;;QACnB,IAAI,SAAS,CAAC,OAAO,EAAE;YACrB,iBAAiB,CAAC,SAAS,CAAC,OAAO,EAAE,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,UAAU,0CAAE,WAAW,mCAAI,EAAE,EAAE,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,SAAS,0CAAE,WAAW,mCAAI,EAAE,CAAC,CAAA;SAChH;IACH,CAAC,CAAC,CAAA;IAEF,OAAO,CACL;QACG,aAAa,IAAI,iCAAM,aAAa,CAAO;QAC5C,8BACE,SAAS,EAAE,UAAU,CAAC,sCAAsC,EAAE;gBAC5D,QAAQ,EAAE,CAAC,KAAK;aACjB,CAAC;YAEF,oBAAC,gBAAgB,QAAE,CAAC,CAAC,4BAA4B,CAAC,CAAoB;YACtE,8BAAM,SAAS,EAAC,gBAAgB,EAAC,GAAG,EAAE,SAAS,IAC5C,KAAK,CACD;YACP,oBAAC,gBAAgB,QAAE,CAAC,CAAC,0BAA0B,CAAC,CAAoB,CAC/D;QACN,QAAQ,CACR,CACJ,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAA"}
@@ -4,7 +4,7 @@ export interface QuestionAutoScoreProps {
4
4
  maxScore?: number;
5
5
  displayNumber?: string;
6
6
  }
7
- declare function QuestionAutoScore({ score, maxScore, displayNumber }: QuestionAutoScoreProps): React.JSX.Element;
7
+ declare function QuestionAutoScore({ score, maxScore, displayNumber }: QuestionAutoScoreProps): React.JSX.Element | null;
8
8
  declare const _default: React.MemoExoticComponent<typeof QuestionAutoScore>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=QuestionAutoScore.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuestionAutoScore.d.ts","sourceRoot":"","sources":["../../../../src/components/results/internal/QuestionAutoScore.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAKzC,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,iBAAS,iBAAiB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,sBAAsB,qBAUpF;;AAED,wBAA4C"}
1
+ {"version":3,"file":"QuestionAutoScore.d.ts","sourceRoot":"","sources":["../../../../src/components/results/internal/QuestionAutoScore.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAMzC,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,iBAAS,iBAAiB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,sBAAsB,4BAiBpF;;AAED,wBAA4C"}
@@ -2,10 +2,15 @@ import React, { useContext } from 'react';
2
2
  import { useExamTranslation } from '../../../i18n';
3
3
  import { QuestionContext } from '../../context/QuestionContext';
4
4
  import ResultsExamQuestionScoresContainer from './QuestionScoresContainer';
5
+ import { useIsFinishExamPage } from '../isExamFinishPageHook';
5
6
  function QuestionAutoScore({ score, maxScore, displayNumber }) {
6
7
  const { answers } = useContext(QuestionContext);
7
8
  const { t } = useExamTranslation();
8
9
  const containerProps = { answers, displayNumber };
10
+ const isFinishExamPage = useIsFinishExamPage();
11
+ if (isFinishExamPage) {
12
+ return null;
13
+ }
9
14
  return (React.createElement(ResultsExamQuestionScoresContainer, { ...containerProps },
10
15
  typeof score === 'number' ? React.createElement("b", null, score) : React.createElement("span", { className: "e-result-scorecount-empty" }),
11
16
  ' ',
@@ -1 +1 @@
1
- {"version":3,"file":"QuestionAutoScore.js","sourceRoot":"","sources":["../../../../src/components/results/internal/QuestionAutoScore.tsx"],"names":[],"mappings":"AAAA,OA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iB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAA0B;IACnF,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IAC/C,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAClC,MAAM,cAAc,GAAG,EAAE,OAAO,EAAE,aAAa,EAAE,CAAA;IAEjD,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAA;IAE9C,IAAI,gBAAgB,EAAE;QACpB,OAAO,IAAI,CAAA;KACZ;IAED,OAAO,CACL,oBAAC,kCAAkC,OAAK,cAAc;QACnD,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,+BAAI,KAAK,CAAK,CAAC,CAAC,CAAC,8BAAM,SAAS,EAAC,2BAA2B,GAAG;QAAE,GAAG;QAChG,QAAQ,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,CAAC,CAAC,CAAC,IAAI;;QAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,EAAmB,EAAE,CAAC,CAC9C,CACtC,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAA"}
@@ -4,7 +4,7 @@ declare function QuestionScoresContainer({ answers, displayNumber, children, mul
4
4
  displayNumber?: string;
5
5
  children: React.ReactNode;
6
6
  multilineAnswer?: boolean;
7
- }): React.JSX.Element;
7
+ }): React.JSX.Element | null;
8
8
  declare const _default: React.MemoExoticComponent<typeof QuestionScoresContainer>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=QuestionScoresContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuestionScoresContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/results/internal/QuestionScoresContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,iBAAS,uBAAuB,CAAC,EAC/B,OAAO,EACP,aAAa,EACb,QAAQ,EACR,eAAe,EAChB,EAAE;IACD,OAAO,EAAE,OAAO,EAAE,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,qBAoBA;;AAED,wBAAkD"}
1
+ {"version":3,"file":"QuestionScoresContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/results/internal/QuestionScoresContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAKzC,iBAAS,uBAAuB,CAAC,EAC/B,OAAO,EACP,aAAa,EACb,QAAQ,EACR,eAAe,EAChB,EAAE;IACD,OAAO,EAAE,OAAO,EAAE,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,4BAwBA;;AAED,wBAAkD"}
@@ -1,9 +1,14 @@
1
1
  import React, { useContext } from 'react';
2
2
  import classnames from 'classnames';
3
3
  import { QuestionContext } from '../../context/QuestionContext';
4
+ import { useIsFinishExamPage } from '../isExamFinishPageHook';
4
5
  function QuestionScoresContainer({ answers, displayNumber, children, multilineAnswer }) {
5
6
  const { displayNumber: topLevelDisplayNumber } = useContext(QuestionContext);
7
+ const isFinishExamPage = useIsFinishExamPage();
6
8
  const fullDisplayNumber = displayNumber ? `${topLevelDisplayNumber}.${displayNumber === null || displayNumber === void 0 ? void 0 : displayNumber.replace('.', '')}` : undefined;
9
+ if (isFinishExamPage) {
10
+ return null;
11
+ }
7
12
  return (React.createElement("span", { className: classnames('e-result-scorecount', 'e-float-right', {
8
13
  'e-result-scorecount-multiline-answer': multilineAnswer
9
14
  }), id: fullDisplayNumber },
@@ -1 +1 @@
1
- {"version":3,"file":"QuestionScoresContainer.js","sourceRoot":"","sources":["../../../../src/components/results/internal/QuestionScoresContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAE/D,SAAS,uBAAuB,CAAC,EAC/B,OAAO,EACP,aAAa,EACb,QAAQ,EACR,eAAe,EAMhB;IACC,MAAM,EAAE,aAAa,EAAE,qBAAqB,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IAC5E,MAAM,iBAAiB,GAAG,aAAa,CAAC,CAAC,CAAC,GAAG,qBAAqB,IAAI,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAA;IACnH,OAAO,CACL,8BACE,SAAS,EAAE,UAAU,CAAC,qBAAqB,EAAE,eAAe,EAAE;YAC5D,sCAAsC,EAAE,eAAe;SACxD,CAAC,EACF,EAAE,EAAE,iBAAiB;QAErB,8BAAM,SAAS,EAAC,iCAAiC;YAC9C,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,aAAa,IAAI,CACtC,6BAAK,SAAS,EAAC,mCAAmC,iBAAa,MAAM,IAClE,aAAa,CACV,CACP;YACA,QAAQ,CACJ,CACF,CACR,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAA"}
1
+ {"version":3,"file":"QuestionScoresContainer.js","sourceRoot":"","sources":["../../../../src/components/results/internal/QuestionScoresContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAE7D,SAAS,uBAAuB,CAAC,EAC/B,OAAO,EACP,aAAa,EACb,QAAQ,EACR,eAAe,EAMhB;IACC,MAAM,EAAE,aAAa,EAAE,qBAAqB,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IAC5E,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAA;IAC9C,MAAM,iBAAiB,GAAG,aAAa,CAAC,CAAC,CAAC,GAAG,qBAAqB,IAAI,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAA;IACnH,IAAI,gBAAgB,EAAE;QACpB,OAAO,IAAI,CAAA;KACZ;IACD,OAAO,CACL,8BACE,SAAS,EAAE,UAAU,CAAC,qBAAqB,EAAE,eAAe,EAAE;YAC5D,sCAAsC,EAAE,eAAe;SACxD,CAAC,EACF,EAAE,EAAE,iBAAiB;QAErB,8BAAM,SAAS,EAAC,iCAAiC;YAC9C,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,aAAa,IAAI,CACtC,6BAAK,SAAS,EAAC,mCAAmC,iBAAa,MAAM,IAClE,aAAa,CACV,CACP;YACA,QAAQ,CACJ,CACF,CACR,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const useIsFinishExamPage: () => boolean;
2
+ //# sourceMappingURL=isExamFinishPageHook.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isExamFinishPageHook.d.ts","sourceRoot":"","sources":["../../../src/components/results/isExamFinishPageHook.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,eAG/B,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { useContext } from 'react';
2
+ import { ResultsContext } from '../context/ResultsContext';
3
+ export const useIsFinishExamPage = () => {
4
+ const { gradingStructure } = useContext(ResultsContext);
5
+ return gradingStructure === undefined;
6
+ };
7
+ //# sourceMappingURL=isExamFinishPageHook.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isExamFinishPageHook.js","sourceRoot":"","sources":["../../../src/components/results/isExamFinishPageHook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE1D,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,EAAE;IACtC,MAAM,EAAE,gBAAgB,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAA;IACvD,OAAO,gBAAgB,KAAK,SAAS,CAAA;AACvC,CAAC,CAAA"}
@@ -66,23 +66,6 @@ export declare const fi_FI: {
66
66
  infoText: string;
67
67
  };
68
68
  };
69
- 'finish-exam': {
70
- finish: string;
71
- instructions: string;
72
- };
73
- undo: {
74
- close: string;
75
- restoreAnswer: string;
76
- answerNoText: string;
77
- answerWordCount: string;
78
- answerWordCount_plural: string;
79
- answerCharacterCount: string;
80
- answerCharacterCount_plural: string;
81
- answerImageCount: string;
82
- answerImageCount_plural: string;
83
- minutesSinceAnswer: string;
84
- latestVersion: string;
85
- };
86
69
  'toc-heading': string;
87
70
  'answer-saved': string;
88
71
  'too-many-answers': string;
@@ -1 +1 @@
1
- {"version":3,"file":"fi-FI.d.ts","sourceRoot":"","sources":["../../src/i18n/fi-FI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,wDAAwD;AACxD,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAC3B,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,GAAG,MAAM,SAAS,GAAG,KAAK,GAAG,CAAC,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACtF,GAAG;KACD,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,GAAG,MAAM,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,GAAG,CAAC,GAAG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;;;;;;;;;;;;;;;;;;;IA2EhB;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEJ,CAAA"}
@@ -57,23 +57,6 @@ export const fi_FI = {
57
57
  infoText: 'A-osa palautettu'
58
58
  }
59
59
  },
60
- 'finish-exam': {
61
- finish: 'Päätä koe',
62
- instructions: 'Painikkeen klikkaamisen jälkeen voit vielä palata muokkaamaan vastauksia.'
63
- },
64
- undo: {
65
- close: 'Sulje',
66
- restoreAnswer: 'Palauta',
67
- answerNoText: 'ei tekstiä',
68
- answerWordCount: '{{count}} sana',
69
- answerWordCount_plural: '{{count}} sanaa',
70
- answerCharacterCount: '{{count}} merkki',
71
- answerCharacterCount_plural: '{{count}} merkkiä',
72
- answerImageCount: '{{count}} kuva',
73
- answerImageCount_plural: '{{count}} kuvaa',
74
- minutesSinceAnswer: '{{ minutes }} min sitten',
75
- latestVersion: 'Viimeisin versio'
76
- },
77
60
  'toc-heading': 'Sisällys',
78
61
  'answer-saved': 'Tallennettu',
79
62
  'too-many-answers': 'Vastattu liian moneen tehtävään:',
@@ -1 +1 @@
1
- {"version":3,"file":"fi-FI.js","sourceRoot":"","sources":["../../src/i18n/fi-FI.ts"],"names":[],"mappings":"AAYA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,YAAY,EAAE,cAAc;IAC5B,eAAe,EAAE,UAAU;IAC3B,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,WAAW;IAC5B,wBAAwB,EAAE,WAAW;IACrC,yBAAyB,EAAE,UAAU;IACrC,iCAAiC,EAAE,4BAA4B;IAC/D,OAAO,EAAE,wBAAwB;IACjC,QAAQ,EAAE,4BAA4B;IACtC,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE,WAAW;IACpB,MAAM,EAAE,cAAc;IACtB,SAAS,EAAE,UAAU;IACrB,cAAc,EAAE;QACd,kBAAkB,EAAE,kDAAkD;QACtE,iBAAiB,EAAE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6BAA6B;QAChD,eAAe,EAAE,wCAAwC;QACzD,eAAe,EAAE,qEAAqE;QACtF,eAAe,EAAE,0CAA0C;QAC3D,mBAAmB,EAAE,0BAA0B;QAC/C,mBAAmB,EAAE,2BAA2B;QAChD,mBAAmB,EAAE,2BAA2B;QAChD,mBAAmB,EAAE,2BAA2B;QAChD,mBAAmB,EAAE,2BAA2B;QAChD,mBAAmB,EAAE,2BAA2B;QAChD,mBAAmB,EAAE,8BAA8B;QACnD,mBAAmB,EAAE,8BAA8B;QACnD,mBAAmB,EAAE,6BAA6B;QAClD,qBAAqB,EAAE,6BAA6B;QACpD,mBAAmB,EAAE,wCAAwC;QAC7D,mBAAmB,EAAE,qEAAqE;QAC1F,mBAAmB,EAAE,0CAA0C;KAChE;IACD,eAAe,EAAE;QACf,oBAAoB,EAClB,0GAA0G;QAC5G,+BAA+B,EAC7B,kHAAkH;QACpH,0BAA0B,EAAE,qDAAqD;QACjF,iBAAiB,EAAE,yBAAyB;KAC7C;IACD,eAAe,EAAE;QACf,cAAc,EAAE,iBAAiB;QACjC,YAAY,EAAE,mBAAmB;QACjC,gBAAgB,EAAE,sBAAsB;KACzC;CACF,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"sv-FI.d.ts","sourceRoot":"","sources":["../../src/i18n/sv-FI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC,eAAO,MAAM,KAAK,EAAE,YAgKnB,CAAA"}
1
+ {"version":3,"file":"sv-FI.d.ts","sourceRoot":"","sources":["../../src/i18n/sv-FI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC,eAAO,MAAM,KAAK,EAAE,YA+InB,CAAA"}
@@ -56,23 +56,6 @@ export const sv_FI = {
56
56
  infoText: 'Del A returnerad'
57
57
  }
58
58
  },
59
- 'finish-exam': {
60
- finish: 'Avsluta provet',
61
- instructions: 'Efter att ha klickat på knappen kan du ännu återvända och redigera svaren.'
62
- },
63
- undo: {
64
- close: 'Stäng',
65
- restoreAnswer: 'Återställ',
66
- answerNoText: 'ingen text',
67
- answerWordCount: '{{count}} ord',
68
- answerWordCount_plural: '{{count}} ord',
69
- answerCharacterCount: '{{count}} tecken',
70
- answerCharacterCount_plural: '{{count}} tecken',
71
- answerImageCount: '{{count}} bild',
72
- answerImageCount_plural: '{{count}} bilder',
73
- minutesSinceAnswer: '{{ minutes }} min sedan',
74
- latestVersion: 'Den senaste versionen'
75
- },
76
59
  'toc-heading': 'Innehåll',
77
60
  'answer-saved': 'Sparad',
78
61
  'too-many-answers': 'Svar på för många uppgifter:',
@@ -1 +1 @@
1
- {"version":3,"file":"sv-FI.js","sourceRoot":"","sources":["../../src/i18n/sv-FI.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,KAAK,GAAiB;IACjC,YAAY,EAAE,mBAAmB;IACjC,eAAe,EAAE,YAAY;IAC7B,QAAQ,EAAE,UAAU;IACpB,wBAAwB,EAAE,WAAW;IACrC,yBAAyB,EAAE,UAAU;IACrC,iCAAiC,EAAE,6BAA6B;IAChE,OAAO,EAAE,wBAAwB;IACjC,QAAQ,EAAE,4BAA4B;IACtC,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,WAAW;IACpB,MAAM,EAAE,cAAc;IACtB,SAAS,EAAE,cAAc;IACzB,cAAc,EAAE;QACd,kBAAkB,EAAE,uDAAuD;QAC3E,iBAAiB,EAAE,sCAAsC;QACzD,aAAa,EAAE,oDAAoD;KACpE;IACD,YAAY,EAAE;QACZ,YAAY,EAAE,4CAA4C;QAC1D,IAAI,EAAE,mBAAmB;QACzB,MAAM,EAAE,0DAA0D;KACnE;IACD,iBAAiB,EAAE;QACjB,KAAK,EAAE,sCAAsC;QAC7C,KAAK,EAAE,yBAAyB;KACjC;IACD,OAAO,EAAE;QACP,wBAAwB,EAAE,gDAAgD;QAC1E,oBAAoB,EAAE,uBAAuB;QAC7C,mBAAmB,EA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