@digabi/exam-engine-core 20.2.1 → 20.2.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/__tests__/testExamRendering.js +25 -0
- package/dist/__tests__/testExamRendering.js.map +1 -1
- package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
- package/dist/components/exam/ExamInstruction.d.ts.map +1 -1
- package/dist/components/exam/ExamInstruction.js +1 -1
- package/dist/components/exam/ExamInstruction.js.map +1 -1
- package/dist/components/grading-instructions/ExamGradingInstruction.d.ts.map +1 -1
- package/dist/components/grading-instructions/ExamGradingInstruction.js +1 -1
- package/dist/components/grading-instructions/ExamGradingInstruction.js.map +1 -1
- package/dist/components/shared/References.js +1 -1
- package/dist/components/shared/References.js.map +1 -1
- package/dist/components/shared/VersionNumber.d.ts.map +1 -1
- package/dist/components/shared/VersionNumber.js +7 -3
- package/dist/components/shared/VersionNumber.js.map +1 -1
- package/dist/main-bundle.js +1 -1
- package/package.json +3 -3
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ExamInstruction.d.ts","sourceRoot":"","sources":["../../../src/components/exam/ExamInstruction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAEjE,iBAAS,eAAe,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,
|
1
|
+
{"version":3,"file":"ExamInstruction.d.ts","sourceRoot":"","sources":["../../../src/components/exam/ExamInstruction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAEjE,iBAAS,eAAe,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,qBAMzE;;AAED,wBAA0C"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
function ExamInstruction({ element, renderChildNodes }) {
|
3
|
-
return React.createElement("div", { className: "exam-instruction notification e-pad-4" }, renderChildNodes(element));
|
3
|
+
return (React.createElement("div", { className: "exam-instruction notification e-pad-4", "data-annotation-anchor": "exam-instruction" }, renderChildNodes(element)));
|
4
4
|
}
|
5
5
|
export default React.memo(ExamInstruction);
|
6
6
|
//# sourceMappingURL=ExamInstruction.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ExamInstruction.js","sourceRoot":"","sources":["../../../src/components/exam/ExamInstruction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,SAAS,eAAe,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IACxE,OAAO,6BAAK,SAAS,EAAC,uCAAuC,
|
1
|
+
{"version":3,"file":"ExamInstruction.js","sourceRoot":"","sources":["../../../src/components/exam/ExamInstruction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,SAAS,eAAe,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IACxE,OAAO,CACL,6BAAK,SAAS,EAAC,uCAAuC,4BAAwB,kBAAkB,IAC7F,gBAAgB,CAAC,OAAO,CAAC,CACtB,CACP,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ExamGradingInstruction.d.ts","sourceRoot":"","sources":["../../../src/components/grading-instructions/ExamGradingInstruction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAEjE,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,
|
1
|
+
{"version":3,"file":"ExamGradingInstruction.d.ts","sourceRoot":"","sources":["../../../src/components/grading-instructions/ExamGradingInstruction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAEjE,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAIvE,CAAA;AAED,eAAe,sBAAsB,CAAA"}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
const ExamGradingInstruction = ({ element, renderChildNodes }) => (React.createElement("div", { className: "e-exam-grading-instruction notification e-pad-4" }, renderChildNodes(element)));
|
2
|
+
const ExamGradingInstruction = ({ element, renderChildNodes }) => (React.createElement("div", { className: "e-exam-grading-instruction notification e-pad-4", "data-annotation-anchor": "exam-grading-instruction" }, renderChildNodes(element)));
|
3
3
|
export default ExamGradingInstruction;
|
4
4
|
//# sourceMappingURL=ExamGradingInstruction.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ExamGradingInstruction.js","sourceRoot":"","sources":["../../../src/components/grading-instructions/ExamGradingInstruction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,MAAM,sBAAsB,GAAgD,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE,CAAC,CAC7G,6BAAK,SAAS,EAAC,iDAAiD,
|
1
|
+
{"version":3,"file":"ExamGradingInstruction.js","sourceRoot":"","sources":["../../../src/components/grading-instructions/ExamGradingInstruction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,MAAM,sBAAsB,GAAgD,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE,CAAC,CAC7G,6BAAK,SAAS,EAAC,iDAAiD,4BAAwB,0BAA0B,IAC/G,gBAAgB,CAAC,OAAO,CAAC,CACtB,CACP,CAAA;AAED,eAAe,sBAAsB,CAAA"}
|
@@ -14,7 +14,7 @@ function References(_props) {
|
|
14
14
|
const internalReferences = queryAll(root, 'reference').filter(reference => queryAncestors(reference, 'external-material') == null);
|
15
15
|
return internalReferences.length > 0 ? (React.createElement(SectionElement, { "aria-labelledby": referencesTitleId },
|
16
16
|
React.createElement("h2", { id: referencesTitleId }, t('references.heading')),
|
17
|
-
React.createElement("ol", { className: "e-list-data" }, internalReferences.map((reference, i) => {
|
17
|
+
React.createElement("ol", { className: "e-list-data", "data-annotation-anchor": referencesTitleId }, internalReferences.map((reference, i) => {
|
18
18
|
const question = queryAncestors(reference, 'question');
|
19
19
|
const displayNumber = question.getAttribute('display-number');
|
20
20
|
return (React.createElement("li", { "data-list-number": formatQuestionDisplayNumber(displayNumber), key: `${displayNumber}${i}` },
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"References.js","sourceRoot":"","sources":["../../../src/components/shared/References.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,sBAAsB,EAAsB,MAAM,8BAA8B,CAAA;AACzF,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kBAAkB,CAAA;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,SAAS,MAAM,aAAa,CAAA;AACnC,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAE9C,MAAM,gBAAgB,GAAG,sBAAsB,CAAC,EAAE,CAAC,CAAA;AACnD,SAAS,UAAU,CAAC,MAA0B;IAC5C,MAAM,EAAE,IAAI,EAAE,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAC9C,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAClC,MAAM,kBAAkB,GAAG,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,MAA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OAAO,kBAAkB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CACrC,oBAAC,cAAc,uBAAkB,iBAAiB;QAChD,4BAAI,EAAE,EAAE,iBAAiB,IAAG,CAAC,CAAC,oBAAoB,CAAC,CAAM;QACzD,4BAAI,SAAS,EAAC,aAAa,4BAAyB,iBAAiB,IAClE,kBAAkB,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,CAAC,EAAE,EAAE;YACvC,MAAM,QAAQ,GAAG,cAAc,CAAC,SAAS,EAAE,UAAU,CAAE,CAAA;YACvD,MAAM,aAAa,GAAG,QAAQ,CAAC,YAAY,CAAC,gBAAgB,CAAE,CAAA;YAC9D,OAAO,CACL,gDAAsB,2BAA2B,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,GAAG,aAAa,GAAG,CAAC,EAAE;gBAC3F,oBAAC,SAAS,IAAC,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,gBAAgB,GAAI,CAClE,CACN,CAAA;QACH,CAAC,CAAC,CACC,CACU,CAClB,CAAC,CAAC,CAAC,IAAI,CAAA;AACV,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VersionNumber.d.ts","sourceRoot":"","sources":["../../../src/components/shared/VersionNumber.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
1
|
+
{"version":3,"file":"VersionNumber.d.ts","sourceRoot":"","sources":["../../../src/components/shared/VersionNumber.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAGjC,CAAA"}
|
@@ -1,6 +1,10 @@
|
|
1
1
|
import React from 'react';
|
2
|
+
import * as _ from 'lodash-es';
|
2
3
|
import lernaConfig from '../../../../../lerna.json';
|
3
|
-
export const VersionNumber = () =>
|
4
|
-
|
5
|
-
|
4
|
+
export const VersionNumber = () => {
|
5
|
+
const testVersion = _.get(window, 'TEST_VERSION_NUMBER');
|
6
|
+
return React.createElement("span", null,
|
7
|
+
"EE v.",
|
8
|
+
testVersion || lernaConfig.version);
|
9
|
+
};
|
6
10
|
//# sourceMappingURL=VersionNumber.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VersionNumber.js","sourceRoot":"","sources":["../../../src/components/shared/VersionNumber.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,WAAW,MAAM,2BAA2B,CAAA;AAEnD,MAAM,CAAC,MAAM,aAAa,GAAa,GAAG,EAAE,CAAC;;
|
1
|
+
{"version":3,"file":"VersionNumber.js","sourceRoot":"","sources":["../../../src/components/shared/VersionNumber.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,WAAW,MAAM,2BAA2B,CAAA;AAEnD,MAAM,CAAC,MAAM,aAAa,GAAa,GAAG,EAAE;IAC1C,MAAM,WAAW,GAAG,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAA;IACxD,OAAO;;QAAY,WAAW,IAAI,WAAW,CAAC,OAAO,CAAQ,CAAA;AAC/D,CAAC,CAAA"}
|