@digabi/exam-engine-core 19.17.1-abitti2.0 → 19.17.1-abitti2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/__tests__/results/ResultsExamQuestionAutoScore.test.js +6 -3
- package/dist/__tests__/results/ResultsExamQuestionAutoScore.test.js.map +1 -1
- package/dist/__tests__/results/ResultsExamQuestionManualScore.test.js +2 -1
- package/dist/__tests__/results/ResultsExamQuestionManualScore.test.js.map +1 -1
- package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
- package/dist/components/exam/Exam.d.ts.map +1 -1
- package/dist/components/exam/Exam.js +19 -11
- package/dist/components/exam/Exam.js.map +1 -1
- package/dist/components/exam/GoToExamineAnswersButton.d.ts +5 -0
- package/dist/components/exam/GoToExamineAnswersButton.d.ts.map +1 -0
- package/dist/components/exam/GoToExamineAnswersButton.js +18 -0
- package/dist/components/exam/GoToExamineAnswersButton.js.map +1 -0
- package/dist/components/exam/Section.d.ts.map +1 -1
- package/dist/components/exam/Section.js +8 -0
- package/dist/components/exam/Section.js.map +1 -1
- package/dist/components/results/ChoiceAnswer.js +1 -1
- package/dist/components/results/ChoiceAnswer.js.map +1 -1
- package/dist/components/results/DropdownAnswer.d.ts.map +1 -1
- package/dist/components/results/DropdownAnswer.js +1 -1
- package/dist/components/results/DropdownAnswer.js.map +1 -1
- package/dist/components/results/EndExamSession.d.ts +1 -1
- package/dist/components/results/EndExamSession.d.ts.map +1 -1
- package/dist/components/results/EndExamSession.js +1 -1
- package/dist/components/results/EndExamSession.js.map +1 -1
- package/dist/components/results/Question.d.ts.map +1 -1
- package/dist/components/results/Question.js +7 -2
- package/dist/components/results/Question.js.map +1 -1
- package/dist/components/results/Results.d.ts +2 -0
- package/dist/components/results/Results.d.ts.map +1 -1
- package/dist/components/results/Results.js +10 -11
- package/dist/components/results/Results.js.map +1 -1
- package/dist/components/results/ScoredTextAnswer.d.ts.map +1 -1
- package/dist/components/results/ScoredTextAnswer.js +1 -1
- package/dist/components/results/ScoredTextAnswer.js.map +1 -1
- package/dist/components/results/TextAnswer.d.ts.map +1 -1
- package/dist/components/results/TextAnswer.js +2 -2
- package/dist/components/results/TextAnswer.js.map +1 -1
- package/dist/components/results/internal/QuestionAutoScore.d.ts +2 -1
- package/dist/components/results/internal/QuestionAutoScore.d.ts.map +1 -1
- package/dist/components/results/internal/QuestionAutoScore.js +2 -2
- package/dist/components/results/internal/QuestionAutoScore.js.map +1 -1
- package/dist/components/results/internal/QuestionManualScore.d.ts +2 -1
- package/dist/components/results/internal/QuestionManualScore.d.ts.map +1 -1
- package/dist/components/results/internal/QuestionManualScore.js +2 -2
- package/dist/components/results/internal/QuestionManualScore.js.map +1 -1
- package/dist/components/results/internal/QuestionScoresContainer.d.ts +2 -1
- package/dist/components/results/internal/QuestionScoresContainer.d.ts.map +1 -1
- package/dist/components/results/internal/QuestionScoresContainer.js +8 -1
- package/dist/components/results/internal/QuestionScoresContainer.js.map +1 -1
- package/dist/components/shared/AudioTest.d.ts.map +1 -1
- package/dist/components/shared/AudioTest.js +7 -2
- package/dist/components/shared/AudioTest.js.map +1 -1
- package/dist/components/shared/Reference.d.ts.map +1 -1
- package/dist/components/shared/Reference.js +1 -1
- package/dist/components/shared/Reference.js.map +1 -1
- package/dist/components/shared/TableOfContents.d.ts.map +1 -1
- package/dist/components/shared/TableOfContents.js +4 -2
- package/dist/components/shared/TableOfContents.js.map +1 -1
- package/dist/i18n/fi-FI.d.ts +4 -0
- package/dist/i18n/fi-FI.d.ts.map +1 -1
- package/dist/i18n/fi-FI.js +7 -3
- package/dist/i18n/fi-FI.js.map +1 -1
- package/dist/i18n/sv-FI.d.ts.map +1 -1
- package/dist/i18n/sv-FI.js +6 -2
- package/dist/i18n/sv-FI.js.map +1 -1
- package/dist/main-bundle.js +1 -1
- package/dist/main.css +1 -1
- package/dist/store/audio/sagas.d.ts.map +1 -1
- package/dist/store/audio/sagas.js +24 -18
- package/dist/store/audio/sagas.js.map +1 -1
- package/dist/types/ExamAnswer.d.ts +1 -0
- package/dist/types/ExamAnswer.d.ts.map +1 -1
- package/package.json +2 -2
@@ -18,7 +18,8 @@ describe('<QuestionAutoScore />', () => {
|
|
18
18
|
const props = {
|
19
19
|
score: undefined,
|
20
20
|
maxScore: 3,
|
21
|
-
displayNumber: '1'
|
21
|
+
displayNumber: '1',
|
22
|
+
questionId: 1
|
22
23
|
};
|
23
24
|
expect(renderWithContext(props, []).toJSON()).toMatchSnapshot();
|
24
25
|
});
|
@@ -26,7 +27,8 @@ describe('<QuestionAutoScore />', () => {
|
|
26
27
|
const props = {
|
27
28
|
score: 1,
|
28
29
|
maxScore: 3,
|
29
|
-
displayNumber: '1'
|
30
|
+
displayNumber: '1',
|
31
|
+
questionId: 1
|
30
32
|
};
|
31
33
|
expect(renderWithContext(props, []).toJSON()).toMatchSnapshot();
|
32
34
|
});
|
@@ -34,7 +36,8 @@ describe('<QuestionAutoScore />', () => {
|
|
34
36
|
const props = {
|
35
37
|
score: 1,
|
36
38
|
maxScore: 3,
|
37
|
-
displayNumber: '1'
|
39
|
+
displayNumber: '1',
|
40
|
+
questionId: 1
|
38
41
|
};
|
39
42
|
expect(renderWithContext(props, [{}, {}]).toJSON()).toMatchSnapshot();
|
40
43
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ResultsExamQuestionAutoScore.test.js","sourceRoot":"","sources":["../../../__tests__/results/ResultsExamQuestionAutoScore.test.tsx"],"names":[],"mappings":";;;;;AACA,kDAAyB;AACzB,iDAA+C;AAC/C,6DAA4C;AAC5C,kFAA8E;AAC9E,gHAAmH;AACnH,yCAAyC;AAEzC,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACrC,IAAI,IAAkB,CAAA;IAEtB,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,GAAG,IAAA,eAAQ,EAAC,OAAO,CAAC,CAAA;IAC1B,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,uBAAuB,EAAE,GAAG,EAAE;QAC/B,MAAM,KAAK,GAAG;YACZ,KAAK,EAAE,SAAS;YAChB,QAAQ,EAAE,CAAC;YACX,aAAa,EAAE,GAAG;
|
1
|
+
{"version":3,"file":"ResultsExamQuestionAutoScore.test.js","sourceRoot":"","sources":["../../../__tests__/results/ResultsExamQuestionAutoScore.test.tsx"],"names":[],"mappings":";;;;;AACA,kDAAyB;AACzB,iDAA+C;AAC/C,6DAA4C;AAC5C,kFAA8E;AAC9E,gHAAmH;AACnH,yCAAyC;AAEzC,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACrC,IAAI,IAAkB,CAAA;IAEtB,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,GAAG,IAAA,eAAQ,EAAC,OAAO,CAAC,CAAA;IAC1B,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,uBAAuB,EAAE,GAAG,EAAE;QAC/B,MAAM,KAAK,GAAG;YACZ,KAAK,EAAE,SAAS;YAChB,QAAQ,EAAE,CAAC;YACX,aAAa,EAAE,GAAG;YAClB,UAAU,EAAE,CAAC;SACd,CAAA;QACD,MAAM,CAAC,iBAAiB,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,eAAe,EAAE,CAAA;IACjE,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,oBAAoB,EAAE,GAAG,EAAE;QAC5B,MAAM,KAAK,GAAG;YACZ,KAAK,EAAE,CAAC;YACR,QAAQ,EAAE,CAAC;YACX,aAAa,EAAE,GAAG;YAClB,UAAU,EAAE,CAAC;SACd,CAAA;QACD,MAAM,CAAC,iBAAiB,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,eAAe,EAAE,CAAA;IACjE,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,kEAAkE,EAAE,GAAG,EAAE;QAC1E,MAAM,KAAK,GAAG;YACZ,KAAK,EAAE,CAAC;YACR,QAAQ,EAAE,CAAC;YACX,aAAa,EAAE,GAAG;YAClB,UAAU,EAAE,CAAC;SACd,CAAA;QACD,MAAM,CAAC,iBAAiB,CAAC,KAAK,EAAE,CAAC,EAAa,EAAE,EAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,eAAe,EAAE,CAAA;IAC7F,CAAC,CAAC,CAAA;IAEF,MAAM,YAAY,GAAG;QACnB,OAAO,EAAE,EAAE;QACX,aAAa,EAAE,GAAG;QAClB,mBAAmB,EAAE,KAAK;QAC1B,UAAU,EAAE,CAAC;QACb,QAAQ,EAAE,CAAC;QACX,KAAK,EAAE,CAAC;QACR,cAAc,EAAE,EAAE;QAClB,gBAAgB,EAAE,EAAE;KACrB,CAAA;IAED,SAAS,iBAAiB,CAAC,KAA6B,EAAE,OAAkB;QAC1E,OAAO,IAAA,4BAAM,EACX,8BAAC,iCAAe,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,GAAG,YAAY,EAAE,OAAO,EAAE;YAC3D,8BAAC,+BAAe,IAAC,IAAI,EAAE,IAAI;gBACzB,8BAAC,2BAAiB,OAAK,KAAK,GAAI,CAChB,CACO,CAC5B,CAAA;IACH,CAAC;AACH,CAAC,CAAC,CAAA"}
|
@@ -12,7 +12,8 @@ const QuestionManualScore_1 = __importDefault(require("../../src/components/resu
|
|
12
12
|
const i18n_1 = require("../../src/i18n");
|
13
13
|
const defaultProps = {
|
14
14
|
maxScore: 6,
|
15
|
-
displayNumber: '1'
|
15
|
+
displayNumber: '1',
|
16
|
+
questionId: 1
|
16
17
|
};
|
17
18
|
const defaultScores = {
|
18
19
|
questionId: 1,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ResultsExamQuestionManualScore.test.js","sourceRoot":"","sources":["../../../__tests__/results/ResultsExamQuestionManualScore.test.tsx"],"names":[],"mappings":";;;;;AACA,oDAAsB;AACtB,kDAAyB;AACzB,iDAA+C;AAC/C,6DAA4C;AAE5C,kFAA8E;AAC9E,oHAEkE;AAClE,yCAAyC;AAEzC,MAAM,YAAY,GAAG;IACnB,QAAQ,EAAE,CAAC;IACX,aAAa,EAAE,GAAG;
|
1
|
+
{"version":3,"file":"ResultsExamQuestionManualScore.test.js","sourceRoot":"","sources":["../../../__tests__/results/ResultsExamQuestionManualScore.test.tsx"],"names":[],"mappings":";;;;;AACA,oDAAsB;AACtB,kDAAyB;AACzB,iDAA+C;AAC/C,6DAA4C;AAE5C,kFAA8E;AAC9E,oHAEkE;AAClE,yCAAyC;AAEzC,MAAM,YAAY,GAAG;IACnB,QAAQ,EAAE,CAAC;IACX,aAAa,EAAE,GAAG;IAClB,UAAU,EAAE,CAAC;CACd,CAAA;AAED,MAAM,aAAa,GAAU;IAC3B,UAAU,EAAE,CAAC;IACb,QAAQ,EAAE,CAAC;IACX,UAAU,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE;IACzC,SAAS,EAAE;QACT,MAAM,EAAE;YACN,EAAE,KAAK,EAAE,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE;YAC9B,EAAE,KAAK,EAAE,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE;YAC9B,EAAE,KAAK,EAAE,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE;SAC/B;QACD,WAAW,EAAE,EAAE;QACf,gBAAgB,EAAE,EAAE;KACrB;IACD,UAAU,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE;CACrD,CAAA;AAED,QAAQ,CAAC,yBAAyB,EAAE,GAAG,EAAE;IACvC,IAAI,IAAkB,CAAA;IAEtB,QAAQ,CAAC,OAAO,EAAE,GAAG,EAAE;QACrB,SAAS,CAAC,GAAG,EAAE;YACb,IAAI,GAAG,IAAA,eAAQ,EAAC,OAAO,CAAC,CAAA;QAC1B,CAAC,CAAC,CAAA;QAEF,EAAE,CAAC,uBAAuB,EAAE,GAAG,EAAE;YAC/B,MAAM,KAAK,GAAG;gBACZ,GAAG,YAAY;gBACf,MAAM,EAAE,SAAS;aAClB,CAAA;YACD,MA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