@digabi/exam-engine-core 19.6.0 → 19.7.0-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/__tests__/testExamRendering.js +1 -0
- package/dist/__tests__/testExamRendering.js.map +1 -1
- package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
- package/dist/__tests__/validateAnswers.test.js +3 -0
- package/dist/__tests__/validateAnswers.test.js.map +1 -1
- package/dist/components/SectionElement.js +1 -1
- package/dist/components/SectionElement.js.map +1 -1
- package/dist/components/attachments/Attachments.js +1 -1
- package/dist/components/attachments/Attachments.js.map +1 -1
- package/dist/components/attachments/ExternalMaterial.js +1 -1
- package/dist/components/attachments/ExternalMaterial.js.map +1 -1
- package/dist/components/exam/ChoiceAnswer.js +8 -10
- package/dist/components/exam/ChoiceAnswer.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 +73 -15
- package/dist/components/exam/Exam.js.map +1 -1
- package/dist/components/exam/Hints.js +1 -1
- package/dist/components/exam/Hints.js.map +1 -1
- package/dist/components/exam/Question.d.ts.map +1 -1
- package/dist/components/exam/Question.js +6 -3
- package/dist/components/exam/Question.js.map +1 -1
- package/dist/components/exam/QuestionTitle.js +1 -1
- package/dist/components/exam/QuestionTitle.js.map +1 -1
- package/dist/components/exam/RichTextAnswer.js +2 -1
- package/dist/components/exam/RichTextAnswer.js.map +1 -1
- package/dist/components/exam/SectionTitle.js +1 -1
- package/dist/components/exam/SectionTitle.js.map +1 -1
- package/dist/components/exam/internal/ErrorIndicator.js +2 -2
- package/dist/components/exam/internal/ErrorIndicator.js.map +1 -1
- package/dist/components/exam/internal/TextAnswerInput.js +8 -10
- package/dist/components/exam/internal/TextAnswerInput.js.map +1 -1
- package/dist/components/grading-instructions/AutogradedAnswer.js +3 -3
- package/dist/components/grading-instructions/AutogradedAnswer.js.map +1 -1
- package/dist/components/grading-instructions/GradingInstructions.d.ts.map +1 -1
- package/dist/components/grading-instructions/GradingInstructions.js +7 -3
- package/dist/components/grading-instructions/GradingInstructions.js.map +1 -1
- package/dist/components/results/ChoiceAnswer.js +7 -9
- package/dist/components/results/ChoiceAnswer.js.map +1 -1
- package/dist/components/results/QuestionTitle.js +1 -1
- package/dist/components/results/QuestionTitle.js.map +1 -1
- package/dist/components/results/TextAnswer.js +9 -13
- package/dist/components/results/TextAnswer.js.map +1 -1
- package/dist/components/results/internal/QuestionManualScore.js +1 -1
- package/dist/components/results/internal/QuestionManualScore.js.map +1 -1
- package/dist/components/shared/AnswerIndicator.d.ts +11 -0
- package/dist/components/shared/AnswerIndicator.d.ts.map +1 -0
- package/dist/components/shared/AnswerIndicator.js +22 -0
- package/dist/components/shared/AnswerIndicator.js.map +1 -0
- package/dist/components/shared/AttachmentLink.js +2 -2
- package/dist/components/shared/AttachmentLink.js.map +1 -1
- package/dist/components/shared/AttachmentLinks.js +2 -2
- package/dist/components/shared/AttachmentLinks.js.map +1 -1
- package/dist/components/shared/Audio.js +1 -1
- package/dist/components/shared/Audio.js.map +1 -1
- package/dist/components/shared/ExamTranslation.d.ts +6 -0
- package/dist/components/shared/ExamTranslation.d.ts.map +1 -0
- package/dist/components/shared/ExamTranslation.js +10 -0
- package/dist/components/shared/ExamTranslation.js.map +1 -0
- package/dist/components/shared/Image.js +6 -8
- package/dist/components/shared/Image.js.map +1 -1
- package/dist/components/shared/ImageOverlay.js +2 -4
- package/dist/components/shared/ImageOverlay.js.map +1 -1
- package/dist/components/shared/QuestionNumber.d.ts +4 -0
- package/dist/components/shared/QuestionNumber.d.ts.map +1 -0
- package/dist/components/shared/QuestionNumber.js +12 -0
- package/dist/components/shared/QuestionNumber.js.map +1 -0
- package/dist/components/shared/Reference.js +2 -2
- package/dist/components/shared/Reference.js.map +1 -1
- package/dist/components/shared/TableOfContents.d.ts +3 -0
- package/dist/components/shared/TableOfContents.d.ts.map +1 -1
- package/dist/components/shared/TableOfContents.js +78 -26
- package/dist/components/shared/TableOfContents.js.map +1 -1
- package/dist/components/shared/Video.js +1 -1
- package/dist/components/shared/Video.js.map +1 -1
- package/dist/createRenderChildNodes.js +1 -1
- package/dist/createRenderChildNodes.js.map +1 -1
- package/dist/main-bundle.js +1 -1
- package/dist/main-bundle.js.LICENSE.txt +2 -16
- package/dist/main.css +1 -1
- package/dist/validateAnswers.d.ts +1 -0
- package/dist/validateAnswers.d.ts.map +1 -1
- package/dist/validateAnswers.js +1 -0
- package/dist/validateAnswers.js.map +1 -1
- package/package.json +2 -2
@@ -1,6 +1,6 @@
|
|
1
1
|
import React, { useContext } from 'react';
|
2
2
|
import { createRenderChildNodes } from '../../createRenderChildNodes';
|
3
|
-
import { findChildElement, getAttribute, query, queryAncestors } from '../../dom-utils';
|
3
|
+
import { findChildElement, getAttribute, getNumericAttribute, query, queryAncestors } from '../../dom-utils';
|
4
4
|
import { useExamTranslation } from '../../i18n';
|
5
5
|
import { tocSectionTitleId, tocTitleId } from '../../ids';
|
6
6
|
import { url } from '../../url';
|
@@ -8,59 +8,111 @@ import AnsweringInstructions from '../AnsweringInstructions';
|
|
8
8
|
import { CommonExamContext } from '../context/CommonExamContext';
|
9
9
|
import { QuestionContext, withQuestionContext } from '../context/QuestionContext';
|
10
10
|
import { SectionContext, withSectionContext } from '../context/SectionContext';
|
11
|
+
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
12
|
+
import { faPaperclip } from '@fortawesome/free-solid-svg-icons';
|
13
|
+
import classNames from 'classnames';
|
14
|
+
import { Indicator } from './AnswerIndicator';
|
11
15
|
export const mkTableOfContents = (options) => {
|
12
|
-
const { showAttachmentLinks, showAnsweringInstructions } = options;
|
16
|
+
const { showAttachmentLinks, showAnsweringInstructions, isInSidebar, answers } = options;
|
13
17
|
const TOCSectionTitle = ({ element }) => {
|
18
|
+
var _a;
|
14
19
|
const { sections } = useContext(CommonExamContext);
|
15
20
|
const { childQuestions, displayNumber, minAnswers, maxAnswers } = useContext(SectionContext);
|
16
21
|
const { t } = useExamTranslation();
|
22
|
+
const hasSectionValidationErrors = (_a = answers.validationErrors) === null || _a === void 0 ? void 0 : _a.find((i) => i.displayNumber === displayNumber && (i === null || i === void 0 ? void 0 : i.elementType) === 'section');
|
17
23
|
return (React.createElement(React.Fragment, null,
|
18
|
-
element.hasChildNodes() && (React.createElement("
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
+
element.hasChildNodes() && (React.createElement("div", { className: "toc-section-header-container" },
|
25
|
+
React.createElement("h4", { className: "toc-section-header", id: tocSectionTitleId(displayNumber) },
|
26
|
+
sections.length > 1 && t('section', { displayNumber }),
|
27
|
+
" ",
|
28
|
+
renderChildNodes(element)))),
|
29
|
+
showAnsweringInstructions && maxAnswers != null && (React.createElement("div", { style: { display: 'grid' } },
|
30
|
+
React.createElement("div", { className: classNames('answer-instructions', { error: hasSectionValidationErrors }) },
|
31
|
+
hasSectionValidationErrors && React.createElement("div", { className: "error-mark" }, "!"),
|
32
|
+
React.createElement(AnsweringInstructions, { maxAnswers, minAnswers, childQuestions, elementType: 'toc-section' }))))));
|
24
33
|
};
|
25
34
|
const TOCSection = ({ element, renderChildNodes }) => {
|
26
35
|
const { displayNumber } = useContext(SectionContext);
|
27
36
|
const sectionTitle = findChildElement(element, 'section-title');
|
28
37
|
return (React.createElement("li", null,
|
29
|
-
sectionTitle && (React.createElement(TOCSectionTitle, {
|
30
|
-
|
31
|
-
renderChildNodes,
|
32
|
-
} })),
|
38
|
+
sectionTitle && (React.createElement(TOCSectionTitle, { element: sectionTitle,
|
39
|
+
renderChildNodes })),
|
33
40
|
React.createElement("ol", { className: "e-list-data e-pad-l-0", "aria-labelledby": sectionTitle && tocSectionTitleId(displayNumber) }, renderChildNodes(element, 1 /* RenderOptions.SkipHTML */))));
|
34
41
|
};
|
35
42
|
const TOCQuestion = ({ element }) => {
|
43
|
+
var _a;
|
36
44
|
const { attachmentsURL } = useContext(CommonExamContext);
|
37
|
-
const { displayNumber, maxScore } = useContext(QuestionContext);
|
45
|
+
const { displayNumber, maxScore, level } = useContext(QuestionContext);
|
38
46
|
const { t } = useExamTranslation();
|
39
47
|
const questionTitle = findChildElement(element, 'question-title');
|
40
48
|
const externalMaterial = showAttachmentLinks && displayNumber != null && query(element, 'external-material');
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
49
|
+
const answersById = (answers === null || answers === void 0 ? void 0 : answers.answersById) || {};
|
50
|
+
const subquestionNodes = element.querySelectorAll('[question-id]');
|
51
|
+
const subquestions = [];
|
52
|
+
const questionValidationErrors = (_a = answers.validationErrors) === null || _a === void 0 ? void 0 : _a.filter((i) => (i === null || i === void 0 ? void 0 : i.elementType) === 'question');
|
53
|
+
const hasQuestionValidationError = !!(questionValidationErrors === null || questionValidationErrors === void 0 ? void 0 : questionValidationErrors.find((i) => i.displayNumber === displayNumber));
|
54
|
+
subquestionNodes.forEach((e) => {
|
55
|
+
const id = Number(e.getAttribute('question-id'));
|
56
|
+
const type = e.getAttribute('type') || '';
|
57
|
+
const subQuestionDisplayNumber = e.getAttribute('display-number') || '';
|
58
|
+
const error = !!(questionValidationErrors === null || questionValidationErrors === void 0 ? void 0 : questionValidationErrors.find((i) => i.displayNumber === subQuestionDisplayNumber));
|
59
|
+
if (id) {
|
60
|
+
subquestions.push({ id, type, error });
|
61
|
+
}
|
62
|
+
});
|
63
|
+
const subQuestionError = !!subquestions.find((i) => i.error);
|
64
|
+
const maxAnswers = Number(element.getAttribute('max-answers'));
|
65
|
+
const subquestionsAnswered = subquestions === null || subquestions === void 0 ? void 0 : subquestions.filter((i) => { var _a; return (_a = answersById[i.id]) === null || _a === void 0 ? void 0 : _a.value; }).length;
|
66
|
+
const requiredAnswers = maxAnswers || subquestions.length;
|
67
|
+
return (React.createElement("li", { "data-list-number": `${displayNumber}.`, onClick: () => (isInSidebar ? (window.location.href = `#${displayNumber}`) : undefined), className: `level-${level} ${hasQuestionValidationError ? 'error' : ''}` },
|
68
|
+
React.createElement("span", { className: "e-column e-number-and-title" },
|
69
|
+
React.createElement("a", { href: url('', { hash: displayNumber }) },
|
70
|
+
React.createElement("span", { className: "question-number" }, displayNumber),
|
71
|
+
questionTitle && React.createElement("span", { className: "question-title" }, renderChildNodes(questionTitle)))),
|
72
|
+
React.createElement("div", { className: classNames('numeric-answer-indicator', {
|
73
|
+
error: subQuestionError,
|
74
|
+
ok: subquestionsAnswered === requiredAnswers,
|
75
|
+
}) },
|
76
|
+
subquestionsAnswered,
|
77
|
+
"/",
|
78
|
+
requiredAnswers),
|
79
|
+
!isInSidebar && externalMaterial && (React.createElement("span", { className: "e-column e-column--narrow e-external-material" },
|
80
|
+
React.createElement("a", { href: url(attachmentsURL, {
|
81
|
+
hash: getAttribute(queryAncestors(externalMaterial, 'question'), 'display-number'),
|
82
|
+
}), target: "attachments" }, t('material')))),
|
83
|
+
React.createElement("span", { className: "e-column e-column--narrow table-of-contents--score-column" }, t('points', { count: maxScore })),
|
84
|
+
isInSidebar && (React.createElement("span", { className: "e-column e-column--narrow e-external-material" }, externalMaterial && (React.createElement("a", { href: url(attachmentsURL, {
|
85
|
+
hash: getAttribute(queryAncestors(externalMaterial, 'question'), 'display-number'),
|
86
|
+
}), target: "attachments" },
|
87
|
+
React.createElement(FontAwesomeIcon, { size: "sm", icon: faPaperclip, fixedWidth: true }))))),
|
88
|
+
React.createElement("div", { className: "answers" },
|
89
|
+
subquestions.map((i) => (React.createElement(Indicator, { key: i.id, type: i.type, id: i.id, answer: answersById[i.id], error: i.error }))),
|
90
|
+
' ')));
|
50
91
|
};
|
51
92
|
const renderChildNodes = createRenderChildNodes({
|
52
93
|
section: withSectionContext(TOCSection),
|
53
94
|
question: withQuestionContext(TOCQuestion),
|
54
95
|
});
|
55
96
|
const TableOfContents = () => {
|
97
|
+
var _a;
|
56
98
|
const { root, maxScore } = useContext(CommonExamContext);
|
57
99
|
const { t } = useExamTranslation();
|
58
|
-
|
59
|
-
|
100
|
+
const maxAnswers = getNumericAttribute(root, 'max-answers');
|
101
|
+
const hasExamValidationErrors = (_a = answers.validationErrors) === null || _a === void 0 ? void 0 : _a.find((i) => (i === null || i === void 0 ? void 0 : i.elementType) === 'exam');
|
102
|
+
return (React.createElement("nav", { className: "table-of-contents", "aria-labelledby": tocTitleId },
|
103
|
+
React.createElement("h2", { id: tocTitleId },
|
104
|
+
React.createElement("span", { className: "e-toc-heading" }, t('toc-heading'))),
|
105
|
+
maxAnswers && (React.createElement("div", { style: { display: 'grid' } },
|
106
|
+
React.createElement("div", { className: classNames('answer-instructions', { error: !!hasExamValidationErrors }) },
|
107
|
+
hasExamValidationErrors && React.createElement("div", { className: "error-mark" }, "!"),
|
108
|
+
"Vastaa enint\u00E4\u00E4n ",
|
109
|
+
maxAnswers,
|
110
|
+
" teht\u00E4v\u00E4\u00E4n"))),
|
60
111
|
React.createElement("ol", { className: "e-list-plain e-pad-l-0" }, renderChildNodes(root)),
|
61
112
|
React.createElement("div", { className: "e-columns" },
|
62
|
-
React.createElement("strong", { className: "e-column" }, t('exam-total')),
|
63
|
-
React.createElement("strong", { className: "e-column e-column--narrow table-of-contents--score-column" }, t('points', { count: maxScore }))
|
113
|
+
React.createElement("strong", { className: "e-column e-total" }, t('exam-total')),
|
114
|
+
React.createElement("strong", { className: "e-column e-column--narrow table-of-contents--score-column" }, t('points', { count: maxScore })),
|
115
|
+
isInSidebar && React.createElement("span", { className: "e-column e-column--narrow e-external-material" }))));
|
64
116
|
};
|
65
117
|
return React.memo(TableOfContents);
|
66
118
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TableOfContents.js","sourceRoot":"","sources":["../../../src/components/shared/TableOfContents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,sBAAsB,EAAqC,MAAM,8BAA8B,CAAA;AACxG,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,KAAK,EAAE,cAAc,EAA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U;gBAChB,8BAAM,SAAS,EAAC,eAAe,IAAE,CAAC,CAAC,aAAa,CAAC,CAAQ,CACtD;YAEJ,UAAU,IAAI,CACb,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE;gBAC7B,6BAAK,SAAS,EAAE,UAAU,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,uBAAuB,EAAE,CAAC;oBACpF,uBAAuB,IAAI,6BAAK,SAAS,EAAC,YAAY,QAAQ;;oBAC9C,UAAU;gDACvB,CACF,CACP;YAED,4BAAI,SAAS,EAAC,wBAAwB,IAAE,gBAAgB,CAAC,IAAI,CAAC,CAAM;YACpE,6BAAK,SAAS,EAAC,WAAW;gBACxB,gCAAQ,SAAS,EAAC,kBAAkB,IAAE,CAAC,CAAC,YAAY,CAAC,CAAU;gBAC/D,gCAAQ,SAAS,EAAC,2DAA2D,IAC1E,CAAC,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAC1B;gBACR,WAAW,IAAI,8BAAM,SAAS,EAAC,+CAA+C,GAAG,CAC9E,CACF,CACP,CAAA;IACH,CAAC,CAAA;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;AACpC,CAAC,CAAA"}
|
@@ -14,7 +14,7 @@ function Video({ element, renderChildNodes, className }) {
|
|
14
14
|
const hasCaption = children != null && !children.every(isWhitespace);
|
15
15
|
const caption = hasCaption ? children : undefined;
|
16
16
|
const captionId = hasCaption ? videoCaptionId(element) : undefined;
|
17
|
-
return (React.createElement(ResponsiveMediaContainer, {
|
17
|
+
return (React.createElement(ResponsiveMediaContainer, { caption, captionId, className, width, height },
|
18
18
|
React.createElement("video", { className: "video", preload: "metadata", controls: true, controlsList: "nodownload", disablePictureInPicture: true, "aria-describedby": captionId },
|
19
19
|
React.createElement("source", { src: resolveAttachment(src) }))));
|
20
20
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Video.js","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QAC1E,+BACE,SAAS,EAAC,OAAO,EACjB,OAAO,EAAC,UAAU,EAClB,QAAQ,QACR,YAAY,EAAC,YAAY,EACzB,uBAAuB,4BACL,SAAS;YAE3B,gCAAQ,GAAG,EAAE,iBAAiB,CAAC,GAAG,CAAC,GAAI,CACjC,CACiB,CAC5B,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA"}
|
@@ -38,7 +38,7 @@ export function createRenderChildNodes(componentMap) {
|
|
38
38
|
function renderExamElement(element, index) {
|
39
39
|
const Component = componentMap[element.localName];
|
40
40
|
const className = element.getAttribute('class') || undefined;
|
41
|
-
return Component ? React.createElement(Component, {
|
41
|
+
return Component ? React.createElement(Component, { element, className, renderChildNodes, key: key(element, index) }) : null;
|
42
42
|
}
|
43
43
|
function renderChildNodes(element, options = 0 /* RenderOptions.RenderHTML */) {
|
44
44
|
return mapChildNodes(element, (childElement, i) => renderChildNode(childElement, i, options));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createRenderChildNodes.js","sourceRoot":"","sources":["../src/createRenderChildNodes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,uCAAuC,CAAA;AACvE,MAAM,CAAC,MAAM,iBAAiB,GAAG,8BAA8B,CAAA;AAiB/D,MAAM,UAAU,sBAAsB,CACpC,YAAqE;IAErE,SAAS,eAAe,CAAC,IAAe,EAAE,KAAa,EAAE,OAAsB;QAC7E,QAAQ,IAAI,CAAC,QAAQ,EAAE;YACrB,KAAK,IAAI,CAAC,SAAS,CAAC;YACpB,KAAK,IAAI,CAAC,kBAAkB;gBAC1B,OAAO,OAAO,qCAA6B,CAAC,CAAC,CAAC,cAAc,CAAC,IAAY,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;YACnF,KAAK,IAAI,CAA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