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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. package/dist/__tests__/examServerApi.d.ts.map +1 -1
  2. package/dist/__tests__/examServerApi.js +2 -1
  3. package/dist/__tests__/examServerApi.js.map +1 -1
  4. package/dist/__tests__/testExamRendering.js +10 -3
  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 +10 -0
  10. package/dist/components/exam/Exam.d.ts.map +1 -1
  11. package/dist/components/exam/Exam.js +9 -2
  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 +12 -2
  15. package/dist/components/exam/ExamFooter.js.map +1 -1
  16. package/dist/components/exam/internal/ErrorIndicator.js +1 -1
  17. package/dist/components/exam/internal/ErrorIndicator.js.map +1 -1
  18. package/dist/components/results/ChoiceAnswer.js +5 -6
  19. package/dist/components/results/ChoiceAnswer.js.map +1 -1
  20. package/dist/components/results/DropdownAnswer.d.ts +1 -1
  21. package/dist/components/results/DropdownAnswer.d.ts.map +1 -1
  22. package/dist/components/results/DropdownAnswer.js +23 -23
  23. package/dist/components/results/DropdownAnswer.js.map +1 -1
  24. package/dist/components/results/MultiLineAnswer.d.ts.map +1 -1
  25. package/dist/components/results/MultiLineAnswer.js +1 -4
  26. package/dist/components/results/MultiLineAnswer.js.map +1 -1
  27. package/dist/components/results/Question.d.ts.map +1 -1
  28. package/dist/components/results/Question.js +4 -5
  29. package/dist/components/results/Question.js.map +1 -1
  30. package/dist/components/results/QuestionTitle.d.ts.map +1 -1
  31. package/dist/components/results/QuestionTitle.js +2 -7
  32. package/dist/components/results/QuestionTitle.js.map +1 -1
  33. package/dist/components/results/Results.d.ts +0 -1
  34. package/dist/components/results/Results.d.ts.map +1 -1
  35. package/dist/components/results/Results.js +5 -23
  36. package/dist/components/results/Results.js.map +1 -1
  37. package/dist/components/results/Section.d.ts.map +1 -1
  38. package/dist/components/results/Section.js +9 -2
  39. package/dist/components/results/Section.js.map +1 -1
  40. package/dist/components/results/SingleLineAnswer.d.ts.map +1 -1
  41. package/dist/components/results/SingleLineAnswer.js +1 -4
  42. package/dist/components/results/SingleLineAnswer.js.map +1 -1
  43. package/dist/components/results/internal/QuestionAutoScore.d.ts +1 -1
  44. package/dist/components/results/internal/QuestionAutoScore.d.ts.map +1 -1
  45. package/dist/components/results/internal/QuestionAutoScore.js +0 -5
  46. package/dist/components/results/internal/QuestionAutoScore.js.map +1 -1
  47. package/dist/components/results/internal/QuestionScoresContainer.d.ts +1 -1
  48. package/dist/components/results/internal/QuestionScoresContainer.d.ts.map +1 -1
  49. package/dist/components/results/internal/QuestionScoresContainer.js +0 -5
  50. package/dist/components/results/internal/QuestionScoresContainer.js.map +1 -1
  51. package/dist/components/results/isExamFinishPageHook.d.ts +1 -1
  52. package/dist/components/results/isExamFinishPageHook.d.ts.map +1 -1
  53. package/dist/components/results/isExamFinishPageHook.js +1 -1
  54. package/dist/components/results/isExamFinishPageHook.js.map +1 -1
  55. package/dist/i18n/fi-FI.d.ts +18 -0
  56. package/dist/i18n/fi-FI.d.ts.map +1 -1
  57. package/dist/i18n/fi-FI.js +18 -0
  58. package/dist/i18n/fi-FI.js.map +1 -1
  59. package/dist/i18n/sv-FI.d.ts.map +1 -1
  60. package/dist/i18n/sv-FI.js +18 -0
  61. package/dist/i18n/sv-FI.js.map +1 -1
  62. package/dist/main-bundle.js +1 -1
  63. package/dist/main-bundle.js.LICENSE.txt +10 -0
  64. package/dist/main.css +1 -1
  65. package/dist/types/ExamServerAPI.d.ts +1 -0
  66. package/dist/types/ExamServerAPI.d.ts.map +1 -1
  67. package/package.json +4 -5
@@ -1 +1 @@
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
+ {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../src/components/results/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;;AAuBzC,wBAAsD"}
@@ -1,11 +1,18 @@
1
1
  import React, { useContext } from 'react';
2
+ import { query } from '../../dom-utils';
2
3
  import SectionElement from '../SectionElement';
3
4
  import { SectionContext, withSectionContext } from '../context/SectionContext';
5
+ import { ResultsContext } from '../context/ResultsContext';
4
6
  import { sectionTitleId } from '../../ids';
5
7
  function Section({ element, renderChildNodes }) {
6
8
  const { displayNumber } = useContext(SectionContext);
7
- return (React.createElement(SectionElement, { "aria-labelledby": sectionTitleId(displayNumber) },
8
- React.createElement("div", { className: "e-results-section-wrapper" }, renderChildNodes(element))));
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;
9
16
  }
10
17
  export default React.memo(withSectionContext(Section));
11
18
  //# 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,cAAc,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAE9E,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAE1C,SAAS,OAAO,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AAC,CAAC,CACvB,oBAAC,cAAc,uBAAkB,cAAc,CAAC,aAAa,CAAC;QAC5D,6BAAK,SAAS,EAAC,2BAA2B,IAAE,gBAAgB,CAAC,OAAO,CAAC,CAAO,CAC7D,CAClB,CAAC,CAAC,CAAC,IAAI,CAAA;AACV,CAAC;AAED,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;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"}
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"}
@@ -2,7 +2,6 @@ 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';
6
5
  function SingleLineAnswer({ displayNumber, score, value, children }) {
7
6
  const { t } = useExamTranslation();
8
7
  const answerRef = useRef(null);
@@ -14,9 +13,7 @@ function SingleLineAnswer({ displayNumber, score, value, children }) {
14
13
  });
15
14
  return (React.createElement(React.Fragment, null,
16
15
  displayNumber && React.createElement("sup", null, displayNumber),
17
- React.createElement("span", { className: classNames('text-answer text-answer--single-line', {
18
- noAnswer: !value
19
- }) },
16
+ React.createElement("span", { className: "text-answer text-answer--single-line" },
20
17
  React.createElement(ScreenReaderOnly, null, t('screen-reader.answer-begin')),
21
18
  React.createElement("span", { className: "e-inline-block", ref: answerRef }, value),
22
19
  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;AACtD,OAAO,UAAU,MAAM,YAAY,CAAA;AAEnC,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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IAAI,CAAC,CAAA;IAE/C,eAAe,CAAC,GAAG,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,8BAAM,SAAS,EAAC,sCAAsC;YACpD,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 | null;
7
+ declare function QuestionAutoScore({ score, maxScore, displayNumber }: QuestionAutoScoreProps): React.JSX.Element;
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;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"}
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"}
@@ -2,15 +2,10 @@ 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';
6
5
  function QuestionAutoScore({ score, maxScore, displayNumber }) {
7
6
  const { answers } = useContext(QuestionContext);
8
7
  const { t } = useExamTranslation();
9
8
  const containerProps = { answers, displayNumber };
10
- const isFinishExamPage = useIsFinishExamPage();
11
- if (isFinishExamPage) {
12
- return null;
13
- }
14
9
  return (React.createElement(ResultsExamQuestionScoresContainer, { ...containerProps },
15
10
  typeof score === 'number' ? React.createElement("b", null, score) : React.createElement("span", { className: "e-result-scorecount-empty" }),
16
11
  ' ',
@@ -1 +1 @@
1
- {"version":3,"file":"QuestionAutoScore.js","sourceRoot":"","sources":["../../../../src/components/results/internal/QuestionAutoScore.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,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,+BAA+B,CAAA;AAC/D,OAAO,kCAAkC,MAAM,2BAA2B,CAAA;AAQ1E,SAAS,iBAAiB,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;IACjD,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 | null;
7
+ }): React.JSX.Element;
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;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
+ {"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,14 +1,9 @@
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';
5
4
  function QuestionScoresContainer({ answers, displayNumber, children, multilineAnswer }) {
6
5
  const { displayNumber: topLevelDisplayNumber } = useContext(QuestionContext);
7
- const isFinishExamPage = useIsFinishExamPage();
8
6
  const fullDisplayNumber = displayNumber ? `${topLevelDisplayNumber}.${displayNumber === null || displayNumber === void 0 ? void 0 : displayNumber.replace('.', '')}` : undefined;
9
- if (isFinishExamPage) {
10
- return null;
11
- }
12
7
  return (React.createElement("span", { className: classnames('e-result-scorecount', 'e-float-right', {
13
8
  'e-result-scorecount-multiline-answer': multilineAnswer
14
9
  }), 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;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"}
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,2 +1,2 @@
1
- export declare const useIsFinishExamPage: () => boolean;
1
+ export declare const useIsStudentsFinishExamPage: () => boolean;
2
2
  //# sourceMappingURL=isExamFinishPageHook.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"isExamFinishPageHook.d.ts","sourceRoot":"","sources":["../../../src/components/results/isExamFinishPageHook.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,eAG/B,CAAA"}
1
+ {"version":3,"file":"isExamFinishPageHook.d.ts","sourceRoot":"","sources":["../../../src/components/results/isExamFinishPageHook.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,2BAA2B,eAGvC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { useContext } from 'react';
2
2
  import { ResultsContext } from '../context/ResultsContext';
3
- export const useIsFinishExamPage = () => {
3
+ export const useIsStudentsFinishExamPage = () => {
4
4
  const { gradingStructure } = useContext(ResultsContext);
5
5
  return gradingStructure === undefined;
6
6
  };
@@ -1 +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"}
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,2BAA2B,GAAG,GAAG,EAAE;IAC9C,MAAM,EAAE,gBAAgB,EAAE,GAAG,UAAU,CAAC,cAAc,CAAC,CAAA;IACvD,OAAO,gBAAgB,KAAK,SAAS,CAAA;AACvC,CAAC,CAAA"}
@@ -66,6 +66,24 @@ 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
+ loading: string;
75
+ close: string;
76
+ restoreAnswer: string;
77
+ answerNoText: string;
78
+ answerWordCount: string;
79
+ answerWordCount_plural: string;
80
+ answerCharacterCount: string;
81
+ answerCharacterCount_plural: string;
82
+ answerImageCount: string;
83
+ answerImageCount_plural: string;
84
+ minutesSinceAnswer: string;
85
+ latestVersion: string;
86
+ };
69
87
  'toc-heading': string;
70
88
  'answer-saved': string;
71
89
  '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,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;CACrH,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,mBAAmB,CAAC,OAAO,KAAK,CAAC,CAAA;AAC5D,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,YAAY,CAAC,CAAA;AAExD,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2EhB;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEJ,CAAA"}
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,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;CACrH,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,mBAAmB,CAAC,OAAO,KAAK,CAAC,CAAA;AAC5D,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,YAAY,CAAC,CAAA;AAExD,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8FhB;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEJ,CAAA"}
@@ -57,6 +57,24 @@ 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
+ loading: 'Ladataan...',
66
+ close: 'Sulje',
67
+ restoreAnswer: 'Palauta',
68
+ answerNoText: 'ei tekstiä',
69
+ answerWordCount: '{{count}} sana',
70
+ answerWordCount_plural: '{{count}} sanaa',
71
+ answerCharacterCount: '{{count}} merkki',
72
+ answerCharacterCount_plural: '{{count}} merkkiä',
73
+ answerImageCount: '{{count}} kuva',
74
+ answerImageCount_plural: '{{count}} kuvaa',
75
+ minutesSinceAnswer: '{{ minutes }} min sitten',
76
+ latestVersion: 'Viimeisin versio'
77
+ },
60
78
  'toc-heading': 'Sisällys',
61
79
  'answer-saved': 'Tallennettu',
62
80
  '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,gCAAgC;QACnD,aAAa,EAAE,2DAA2D;KAC3E;IACD,YAAY,EAAE;QACZ,YAAY,EAAE,4CAA4C;QAC1D,IAAI,EAAE,8BAA8B;QACpC,MAAM,EAAE,6DAA6D;KACtE;IACD,iBAAiB,EAAE;QACjB,KAAK,EAAE,sCAAsC;QAC7C,KAAK,EAAE,iBAAiB;KACzB;IACD,OAAO,EAAE;QACP,wBAAwB,EAAE,2CAA2C;QACrE,oBAAoB,EAAE,oBAAoB;QAC1C,mBAAmB,EAAE,QAAQ;QAC7B,2BAA2B,EAAE,IAAI;QACjC,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,KAAK;QAChB,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,UAAU;KACrB;IACD,UAAU,EAAE;QACV,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,YAAY;QAClB,gBAAgB,EAAE,WAAW;QAC7B,UAAU,EAAE,UAAU;QACtB,aAAa,EAAE,WAAW;KAC3B;IACD,GAAG,EAAE;QACH,SAAS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f,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,YA+InB,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,YAiKnB,CAAA"}
@@ -56,6 +56,24 @@ 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
+ loading: 'Laddar...',
65
+ close: 'Stäng',
66
+ restoreAnswer: 'Återställ',
67
+ answerNoText: 'ingen text',
68
+ answerWordCount: '{{count}} ord',
69
+ answerWordCount_plural: '{{count}} ord',
70
+ answerCharacterCount: '{{count}} tecken',
71
+ answerCharacterCount_plural: '{{count}} tecken',
72
+ answerImageCount: '{{count}} bild',
73
+ answerImageCount_plural: '{{count}} bilder',
74
+ minutesSinceAnswer: '{{ minutes }} min sedan',
75
+ latestVersion: 'Den senaste versionen'
76
+ },
59
77
  'toc-heading': 'Innehåll',
60
78
  'answer-saved': 'Sparad',
61
79
  '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;IAC7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