@digabi/exam-engine-core 19.8.10 → 19.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/exam/Question.d.ts.map +1 -1
- package/dist/components/exam/Question.js +12 -4
- package/dist/components/exam/Question.js.map +1 -1
- package/dist/components/shared/TableOfContents.js +1 -1
- package/dist/components/shared/TableOfContents.js.map +1 -1
- package/dist/main-bundle.js +1 -1
- package/dist/main.css +1 -1
- package/dist/utils/exifDataAndImageHandler.d.ts +2 -0
- package/dist/utils/exifDataAndImageHandler.d.ts.map +1 -0
- package/dist/utils/exifDataAndImageHandler.js +61 -0
- package/dist/utils/exifDataAndImageHandler.js.map +1 -0
- package/package.json +2 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Question.d.ts","sourceRoot":"","sources":["../../../src/components/exam/Question.tsx"],"names":[],"mappings":"AACA,OAAO,KAAyD,MAAM,OAAO,CAAA;
|
1
|
+
{"version":3,"file":"Question.d.ts","sourceRoot":"","sources":["../../../src/components/exam/Question.tsx"],"names":[],"mappings":"AACA,OAAO,KAAyD,MAAM,OAAO,CAAA;AAW7E,eAAO,MAAM,qBAAqB;cACtB,OAAO;0BACK,OAAO,KAAK,IAAI;EACkB,CAAA;;AAsE1D,wBAAwD"}
|
@@ -6,6 +6,7 @@ import { SectionContext } from '../context/SectionContext';
|
|
6
6
|
import { faCompressAlt } from '@fortawesome/free-solid-svg-icons';
|
7
7
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
8
8
|
import { useExamTranslation } from '../../i18n';
|
9
|
+
import { getNumericAttribute, query } from '../../dom-utils';
|
9
10
|
export const ExpandQuestionContext = createContext({ expanded: false, toggleWriterMode: () => undefined });
|
10
11
|
function Question({ element, renderChildNodes }) {
|
11
12
|
const casStatus = useSelector((state) => state.cas.casStatus);
|
@@ -25,16 +26,23 @@ function Question({ element, renderChildNodes }) {
|
|
25
26
|
setTimeout(() => { var _a; return (_a = document.getElementById(`question-nr-${displayNumber}`)) === null || _a === void 0 ? void 0 : _a.scrollIntoView(); }, 10);
|
26
27
|
}
|
27
28
|
};
|
28
|
-
const
|
29
|
-
|
29
|
+
const escapeKeys = ['Escape', 'Tab'];
|
30
|
+
const handleCloseView = (e) => {
|
31
|
+
if (escapeKeys.includes(e.key) || escapeKeys.includes(e.code)) {
|
30
32
|
toggleWriterMode(false);
|
31
33
|
}
|
32
34
|
};
|
35
|
+
const textAnswerElement = query(element, 'text-answer');
|
36
|
+
const questionId = textAnswerElement ? getNumericAttribute(textAnswerElement, 'question-id') : null;
|
33
37
|
useEffect(() => {
|
34
38
|
if (expanded) {
|
35
|
-
window.addEventListener('keydown',
|
39
|
+
window.addEventListener('keydown', handleCloseView);
|
40
|
+
const textInput = questionId
|
41
|
+
? document.querySelector(`[data-question-id="${questionId}"]`)
|
42
|
+
: undefined;
|
43
|
+
textInput === null || textInput === void 0 ? void 0 : textInput.focus();
|
36
44
|
}
|
37
|
-
return () => window.removeEventListener('keydown',
|
45
|
+
return () => window.removeEventListener('keydown', handleCloseView);
|
38
46
|
}, [expanded]);
|
39
47
|
return !casForbidden || casStatus === 'forbidden' ? (React.createElement(ExpandQuestionContext.Provider, { value: { expanded, toggleWriterMode } },
|
40
48
|
React.createElement("div", { className: classNames('e-exam-question', {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Question.js","sourceRoot":"","sources":["../../../src/components/exam/Question.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAG1D,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAA;AACjE,OAAO,EAAE,eAA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BAAmB,CAAC,QAAQ,CAAC,CAAC,CAAA"}
|
@@ -73,7 +73,7 @@ export const mkTableOfContents = (options) => {
|
|
73
73
|
const requiredAnswers = maxAnswers || subquestions.length;
|
74
74
|
return (React.createElement("li", { "data-list-number": `${displayNumber}.`, onClick: () => (isInSidebar ? (window.location.href = `#question-nr-${displayNumber}`) : undefined), className: `level-${level} ${hasQuestionValidationError ? 'error' : ''}` },
|
75
75
|
React.createElement("span", { className: "e-column e-question-title" },
|
76
|
-
React.createElement("a", { href: url('', { hash: `question-nr-${displayNumber}` }) },
|
76
|
+
React.createElement("a", { href: url('', { hash: `question-nr-${displayNumber}` }), tabIndex: isInSidebar ? -1 : undefined },
|
77
77
|
React.createElement("span", null, renderChildNodes(questionTitle)))),
|
78
78
|
React.createElement("div", { className: classNames('numeric-answer-indicator', {
|
79
79
|
error: subQuestionError,
|
@@ -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,mBAAmB,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAC5G,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAA;AAC/B,OAAO,qBAAqB,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AACjF,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MA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