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

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"Exam.d.ts","sourceRoot":"","sources":["../../../src/components/exam/Exam.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAA;AAG/D,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,gBAAgB,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAA;AA+CvG,OAAO,EAAE,UAAU,IAAI,cAAc,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAErF,2DAA2D;AAC3D,MAAM,WAAW,eAAe;IAC9B,sBAAsB;IACtB,OAAO,EAAE,UAAU,EAAE,CAAA;IACrB,uCAAuC;IACvC,cAAc,EAAE,MAAM,CAAA;IACtB,iEAAiE;IACjE,iBAAiB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAA;IAC/C,mBAAmB;IACnB,GAAG,EAAE,WAAW,CAAA;IAChB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,aAAa,EAAE,CAAC,UAAU,EAAE,cAAc,GAAG,cAAc,KAAK,IAAI,CAAA;IACpE,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,uDAAuD;AACvD,MAAM,WAAW,SAAU,SAAQ,eAAe;IAChD,2CAA2C;IAC3C,SAAS,EAAE,gBAAgB,CAAA;IAC3B,oEAAoE;IACpE,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B;;;OAGG;IACH,4BAA4B,EAAE,4BAA4B,EAAE,CAAA;IAC5D,qCAAqC;IACrC,aAAa,EAAE,aAAa,CAAA;IAC5B,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,OAAO,CAAA;IACrB,aAAa,EAAE,aAAa,CAAA;CAC7B;;AA2MD,wBAAuE"}
1
+ {"version":3,"file":"Exam.d.ts","sourceRoot":"","sources":["../../../src/components/exam/Exam.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAA;AAG/D,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,gBAAgB,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAA;AA+CvG,OAAO,EAAE,UAAU,IAAI,cAAc,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAGrF,2DAA2D;AAC3D,MAAM,WAAW,eAAe;IAC9B,sBAAsB;IACtB,OAAO,EAAE,UAAU,EAAE,CAAA;IACrB,uCAAuC;IACvC,cAAc,EAAE,MAAM,CAAA;IACtB,iEAAiE;IACjE,iBAAiB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAA;IAC/C,mBAAmB;IACnB,GAAG,EAAE,WAAW,CAAA;IAChB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,IAAI,CAAA;IACjB,aAAa,EAAE,CAAC,UAAU,EAAE,cAAc,GAAG,cAAc,KAAK,IAAI,CAAA;IACpE,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,uDAAuD;AACvD,MAAM,WAAW,SAAU,SAAQ,eAAe;IAChD,2CAA2C;IAC3C,SAAS,EAAE,gBAAgB,CAAA;IAC3B,oEAAoE;IACpE,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B;;;OAGG;IACH,4BAA4B,EAAE,4BAA4B,EAAE,CAAA;IAC5D,qCAAqC;IACrC,aAAa,EAAE,aAAa,CAAA;IAC5B,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,OAAO,CAAA;IACrB,aAAa,EAAE,aAAa,CAAA;CAC7B;;AA4MD,wBAAuE"}
@@ -47,6 +47,7 @@ import ExamTranslation from '../shared/ExamTranslation';
47
47
  import * as _ from 'lodash-es';
48
48
  import { StudentNameHeader } from './StudentNameHeader';
49
49
  import { UndoView } from './UndoView';
50
+ import FinishExam from './FinishExam';
50
51
  const renderChildNodes = createRenderChildNodes({
51
52
  attachment: ExamAttachment,
52
53
  'attachment-link': mkAttachmentLink('link'),
@@ -174,7 +175,8 @@ const Exam = ({ doc, casStatus, answers, restrictedAudioPlaybackStats, examServe
174
175
  React.createElement(TableOfContents, { element: tableOfContents,
175
176
  renderChildNodes }))),
176
177
  externalMaterial && (React.createElement(ExternalMaterial, { element: externalMaterial, renderChildNodes, forceRender: true }))),
177
- renderChildNodes(root)))),
178
+ renderChildNodes(root),
179
+ React.createElement(FinishExam, null)))),
178
180
  !isOldKoeVersion && React.createElement("div", { className: "e-section e-exam-footer-content" }),
179
181
  React.createElement("div", { className: "e-footer" },
180
182
  React.createElement(ErrorIndicator, null),
@@ -1 +1 @@
1
- {"version":3,"file":"Exam.js","sourceRoot":"","sources":["../../../src/components/exam/Exam.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,C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AAC,eAAe,IAAO,OAAO,EAAE,eAAe,EAAE,gBAAgB,GAAM;gCAE1F,eAAe,IAAI,CAClB,6BAAK,SAAS,EAAC,oBAAoB;oCACjC,oBAAC,eAAe,IAEZ,OAAO,EAAE,eAAe;wCACxB,gBAAgB,GAElB,CACE,CACP;gCACA,gBAAgB,IAAI,CACnB,oBAAC,gBAAgB,IAAO,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,WAAW,EAAE,IAAI,GAAM,CAC7F,CACc;4BAChB,gBAAgB,CAAC,IAAI,CAAC;4BACvB,oBAAC,UAAU,OAAG,CACV,CACF,CACF;gBACL,CAAC,eAAe,IAAI,6BAAK,SAAS,EAAC,iCAAiC,GAAG;gBACxE,6BAAK,SAAS,EAAC,UAAU;oBACvB,oBAAC,cAAc,OAAG;oBAClB,oBAAC,aAAa,OAAG,CACb;gBACL,YAAY,IAAI,CAAC,eAAe,IAAI,oBAAC,QAAQ,OAAK,aAAa,GAAI,CAC/D,CACS,CACT,CACZ,CAAA;AACH,CAAC,CAAA;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ExamFooter.d.ts","sourceRoot":"","sources":["../../../src/components/exam/ExamFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAIjE,iBAAS,UAAU,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,qBAuBpE;;AAED,wBAAqC"}
1
+ {"version":3,"file":"ExamFooter.d.ts","sourceRoot":"","sources":["../../../src/components/exam/ExamFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAEjE,iBAAS,UAAU,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,kBAAkB,qBAEpE;;AAED,wBAAqC"}
@@ -1,17 +1,6 @@
1
- import React, { useContext } from 'react';
2
- import SectionElement from '../SectionElement';
3
- import { ExamContext } from '../context/ExamContext';
4
- import { useExamTranslation } from '../../i18n';
1
+ import React from 'react';
5
2
  function ExamFooter({ element, renderChildNodes }) {
6
- const { examServerApi } = useContext(ExamContext);
7
- const { finishExam } = examServerApi;
8
- const { t } = useExamTranslation();
9
- return (React.createElement(SectionElement, null,
10
- React.createElement("div", { className: "e-exam-footer" },
11
- renderChildNodes(element),
12
- finishExam !== undefined && (React.createElement(React.Fragment, null,
13
- React.createElement("button", { id: "finishExam", onClick: () => void finishExam(), "aria-describedby": "finishExamInstructions" }, t('finish-exam.finish')),
14
- React.createElement("div", { className: "e-finish-exam-instructions", id: "finishExamInstructions" }, t('finish-exam.instructions')))))));
3
+ return React.createElement("div", { className: "e-exam-footer" }, renderChildNodes(element));
15
4
  }
16
5
  export default React.memo(ExamFooter);
17
6
  //# sourceMappingURL=ExamFooter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExamFooter.js","sourceRoot":"","sources":["../../../src/components/exam/ExamFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAE9C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAE/C,SAAS,UAAU,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IACnE,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC,WAAW,CAAC,CAAA;IACjD,MAAM,EAAE,UAAU,EAAE,GAAG,aAAa,CAAA;IACpC,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAElC,OAAO,CACL,oBAAC,cAAc;QACb,6BAAK,SAAS,EAAC,eAAe;YAC3B,gBAAgB,CAAC,OAAO,CAAC;YAEzB,UAAU,KAAK,SAAS,IAAI,CAC3B;gBACE,gCAAQ,EAAE,EAAC,YAAY,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,UAAU,EAAE,sBAAmB,wBAAwB,IAChG,CAAC,CAAC,oBAAoB,CAAC,CACjB;gBACT,6BAAK,SAAS,EAAC,4BAA4B,EAAC,EAAE,EAAC,wBAAwB,IACpE,CAAC,CAAC,0BAA0B,CAAC,CAC1B,CACL,CACJ,CACG,CACS,CAClB,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA"}
1
+ {"version":3,"file":"ExamFooter.js","sourceRoot":"","sources":["../../../src/components/exam/ExamFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,SAAS,UAAU,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAsB;IACnE,OAAO,6BAAK,SAAS,EAAC,eAAe,IAAE,gBAAgB,CAAC,OAAO,CAAC,CAAO,CAAA;AACzE,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ declare function FinishExam(): React.JSX.Element;
3
+ declare const _default: React.MemoExoticComponent<typeof FinishExam>;
4
+ export default _default;
5
+ //# sourceMappingURL=FinishExam.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FinishExam.d.ts","sourceRoot":"","sources":["../../../src/components/exam/FinishExam.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,iBAAS,UAAU,sBAmBlB;;AAED,wBAAqC"}
@@ -0,0 +1,13 @@
1
+ import React, { useContext } from 'react';
2
+ import { useExamTranslation } from '../../i18n';
3
+ import { ExamContext } from '../context/ExamContext';
4
+ function FinishExam() {
5
+ const { examServerApi } = useContext(ExamContext);
6
+ const { finishExam } = examServerApi;
7
+ const { t } = useExamTranslation();
8
+ return (React.createElement("div", { className: "e-finish-exam" }, finishExam !== undefined && (React.createElement(React.Fragment, null,
9
+ React.createElement("button", { id: "finishExam", onClick: () => void finishExam(), "aria-describedby": "finishExamInstructions" }, t('finish-exam.finish')),
10
+ React.createElement("div", { className: "e-finish-exam-instructions", id: "finishExamInstructions" }, t('finish-exam.instructions'))))));
11
+ }
12
+ export default React.memo(FinishExam);
13
+ //# sourceMappingURL=FinishExam.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FinishExam.js","sourceRoot":"","sources":["../../../src/components/exam/FinishExam.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAEpD,SAAS,UAAU;IACjB,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC,WAAW,CAAC,CAAA;IACjD,MAAM,EAAE,UAAU,EAAE,GAAG,aAAa,CAAA;IACpC,MAAM,EAAE,CAAC,EAAE,GAAG,kBAAkB,EAAE,CAAA;IAElC,OAAO,CACL,6BAAK,SAAS,EAAC,eAAe,IAC3B,UAAU,KAAK,SAAS,IAAI,CAC3B;QACE,gCAAQ,EAAE,EAAC,YAAY,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,UAAU,EAAE,sBAAmB,wBAAwB,IAChG,CAAC,CAAC,oBAAoB,CAAC,CACjB;QACT,6BAAK,SAAS,EAAC,4BAA4B,EAAC,EAAE,EAAC,wBAAwB,IACpE,CAAC,CAAC,0BAA0B,CAAC,CAC1B,CACL,CACJ,CACG,CACP,CAAA;AACH,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA"}