@digabi/exam-engine-core 23.2.0-alpha.0 → 23.2.1-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. package/dist/__tests__/playwright/exam/DNDAnswerContainer.test.js +10 -6
  2. package/dist/__tests__/playwright/exam/DNDAnswerContainer.test.js.map +1 -1
  3. package/dist/__tests__/playwright/stories/exam/DNDAnswerContainer.story.d.ts.map +1 -1
  4. package/dist/__tests__/playwright/stories/exam/DNDAnswerContainer.story.js +0 -1
  5. package/dist/__tests__/playwright/stories/exam/DNDAnswerContainer.story.js.map +1 -1
  6. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  7. package/dist/components/context/ResultsContext.d.ts.map +1 -1
  8. package/dist/components/context/ResultsContext.js +3 -1
  9. package/dist/components/context/ResultsContext.js.map +1 -1
  10. package/dist/components/exam/AllDNDOptions.d.ts.map +1 -1
  11. package/dist/components/exam/AllDNDOptions.js +2 -2
  12. package/dist/components/exam/AllDNDOptions.js.map +1 -1
  13. package/dist/components/exam/DNDAnswer.d.ts.map +1 -1
  14. package/dist/components/exam/DNDAnswer.js +1 -1
  15. package/dist/components/exam/DNDAnswer.js.map +1 -1
  16. package/dist/components/exam/DNDAnswerContainer.d.ts +3 -1
  17. package/dist/components/exam/DNDAnswerContainer.d.ts.map +1 -1
  18. package/dist/components/exam/DNDAnswerContainer.js +46 -44
  19. package/dist/components/exam/DNDAnswerContainer.js.map +1 -1
  20. package/dist/components/exam/DNDAnswerOption.d.ts +1 -1
  21. package/dist/components/exam/DNDAnswerOption.d.ts.map +1 -1
  22. package/dist/components/exam/DNDAnswerOption.js +1 -1
  23. package/dist/components/exam/DNDAnswerOption.js.map +1 -1
  24. package/dist/components/exam/DNDAnswerTitleCommon.d.ts +4 -0
  25. package/dist/components/exam/DNDAnswerTitleCommon.d.ts.map +1 -0
  26. package/dist/components/exam/DNDAnswerTitleCommon.js +14 -0
  27. package/dist/components/exam/DNDAnswerTitleCommon.js.map +1 -0
  28. package/dist/components/exam/DragAndDrop.d.ts +3 -0
  29. package/dist/components/exam/DragAndDrop.d.ts.map +1 -0
  30. package/dist/components/exam/DragAndDrop.js +7 -0
  31. package/dist/components/exam/DragAndDrop.js.map +1 -0
  32. package/dist/components/exam/NativeDND.d.ts +3 -0
  33. package/dist/components/exam/NativeDND.d.ts.map +1 -0
  34. package/dist/components/exam/NativeDND.js +75 -0
  35. package/dist/components/exam/NativeDND.js.map +1 -0
  36. package/dist/components/exam/getter.d.ts +3 -0
  37. package/dist/components/exam/getter.d.ts.map +1 -0
  38. package/dist/components/exam/getter.js +86 -0
  39. package/dist/components/exam/getter.js.map +1 -0
  40. package/dist/components/grading/AnnotatableGradingAnswer.d.ts +4 -0
  41. package/dist/components/grading/AnnotatableGradingAnswer.d.ts.map +1 -0
  42. package/dist/components/grading/AnnotatableGradingAnswer.js +24 -0
  43. package/dist/components/grading/AnnotatableGradingAnswer.js.map +1 -0
  44. package/dist/components/results/AudioContainer.d.ts +4 -0
  45. package/dist/components/results/AudioContainer.d.ts.map +1 -0
  46. package/dist/components/results/AudioContainer.js +26 -0
  47. package/dist/components/results/AudioContainer.js.map +1 -0
  48. package/dist/components/results/CorrectDNDAnswer.d.ts +4 -0
  49. package/dist/components/results/CorrectDNDAnswer.d.ts.map +1 -0
  50. package/dist/components/results/CorrectDNDAnswer.js +22 -0
  51. package/dist/components/results/CorrectDNDAnswer.js.map +1 -0
  52. package/dist/components/results/CorrectDNDAnswers.d.ts.map +1 -1
  53. package/dist/components/results/CorrectDNDAnswers.js +6 -8
  54. package/dist/components/results/CorrectDNDAnswers.js.map +1 -1
  55. package/dist/components/results/DNDAnswer.d.ts.map +1 -1
  56. package/dist/components/results/DNDAnswer.js +11 -9
  57. package/dist/components/results/DNDAnswer.js.map +1 -1
  58. package/dist/components/results/DNDAnswerContainer.d.ts.map +1 -1
  59. package/dist/components/results/DNDAnswerContainer.js +5 -18
  60. package/dist/components/results/DNDAnswerContainer.js.map +1 -1
  61. package/dist/components/results/DNDAnswerOptionResults.d.ts +4 -0
  62. package/dist/components/results/DNDAnswerOptionResults.d.ts.map +1 -0
  63. package/dist/components/results/DNDAnswerOptionResults.js +4 -0
  64. package/dist/components/results/DNDAnswerOptionResults.js.map +1 -0
  65. package/dist/components/results/Results.js +2 -2
  66. package/dist/components/results/Results.js.map +1 -1
  67. package/dist/components/shared/AnnotationWrapper.d.ts +5 -0
  68. package/dist/components/shared/AnnotationWrapper.d.ts.map +1 -0
  69. package/dist/components/shared/AnnotationWrapper.js +24 -0
  70. package/dist/components/shared/AnnotationWrapper.js.map +1 -0
  71. package/dist/components/shared/DNDAnswerCommon.d.ts +1 -2
  72. package/dist/components/shared/DNDAnswerCommon.d.ts.map +1 -1
  73. package/dist/components/shared/DNDAnswerCommon.js +5 -2
  74. package/dist/components/shared/DNDAnswerCommon.js.map +1 -1
  75. package/dist/components/shared/DNDAnswerDroppable.d.ts +2 -3
  76. package/dist/components/shared/DNDAnswerDroppable.d.ts.map +1 -1
  77. package/dist/components/shared/DNDAnswerDroppable.js +7 -8
  78. package/dist/components/shared/DNDAnswerDroppable.js.map +1 -1
  79. package/dist/components/shared/DNDAnswerDroppableCommon.d.ts +13 -0
  80. package/dist/components/shared/DNDAnswerDroppableCommon.d.ts.map +1 -0
  81. package/dist/components/shared/DNDAnswerDroppableCommon.js +30 -0
  82. package/dist/components/shared/DNDAnswerDroppableCommon.js.map +1 -0
  83. package/dist/components/shared/DNDAnswerOption.d.ts +7 -0
  84. package/dist/components/shared/DNDAnswerOption.d.ts.map +1 -0
  85. package/dist/components/shared/DNDAnswerOption.js +14 -0
  86. package/dist/components/shared/DNDAnswerOption.js.map +1 -0
  87. package/dist/components/shared/DNDAnswerOptionCommon.d.ts +1 -1
  88. package/dist/components/shared/DNDAnswerOptionCommon.d.ts.map +1 -1
  89. package/dist/components/shared/DNDAnswerOptionCommon.js +1 -1
  90. package/dist/components/shared/DNDAnswerOptionCommon.js.map +1 -1
  91. package/dist/components/shared/DNDAnswerTitleCommon.d.ts +4 -0
  92. package/dist/components/shared/DNDAnswerTitleCommon.d.ts.map +1 -0
  93. package/dist/components/shared/DNDAnswerTitleCommon.js +14 -0
  94. package/dist/components/shared/DNDAnswerTitleCommon.js.map +1 -0
  95. package/dist/components/shared/DNDTitleAndAnswer.d.ts +12 -0
  96. package/dist/components/shared/DNDTitleAndAnswer.d.ts.map +1 -0
  97. package/dist/components/shared/DNDTitleAndAnswer.js +48 -0
  98. package/dist/components/shared/DNDTitleAndAnswer.js.map +1 -0
  99. package/dist/components/shared/DNDTitleAndAnswerCommon.d.ts +3 -4
  100. package/dist/components/shared/DNDTitleAndAnswerCommon.d.ts.map +1 -1
  101. package/dist/components/shared/DNDTitleAndAnswerCommon.js +30 -9
  102. package/dist/components/shared/DNDTitleAndAnswerCommon.js.map +1 -1
  103. package/dist/components/shared/DNDTitleAndDroppable.d.ts.map +1 -1
  104. package/dist/components/shared/DNDTitleAndDroppable.js +10 -25
  105. package/dist/components/shared/DNDTitleAndDroppable.js.map +1 -1
  106. package/dist/components/shared/Mark.d.ts +9 -0
  107. package/dist/components/shared/Mark.d.ts.map +1 -0
  108. package/dist/components/shared/Mark.js +14 -0
  109. package/dist/components/shared/Mark.js.map +1 -0
  110. package/dist/components/shared/internal/RestrictedAudioPlayerCommon.d.ts +12 -0
  111. package/dist/components/shared/internal/RestrictedAudioPlayerCommon.d.ts.map +1 -0
  112. package/dist/components/shared/internal/RestrictedAudioPlayerCommon.js +29 -0
  113. package/dist/components/shared/internal/RestrictedAudioPlayerCommon.js.map +1 -0
  114. package/dist/components/shared/internal/RestrictedAudioPlayerExam.d.ts +13 -0
  115. package/dist/components/shared/internal/RestrictedAudioPlayerExam.d.ts.map +1 -0
  116. package/dist/components/shared/internal/RestrictedAudioPlayerExam.js +33 -0
  117. package/dist/components/shared/internal/RestrictedAudioPlayerExam.js.map +1 -0
  118. package/dist/i18n/fi-FI.js +1 -1
  119. package/dist/i18n/fi-FI.js.map +1 -1
  120. package/dist/i18n/sv-FI.js +6 -6
  121. package/dist/i18n/sv-FI.js.map +1 -1
  122. package/dist/main-bundle.js +3 -3
  123. package/dist/main.css +1 -1
  124. package/dist/parser/parseExam.js +1 -1
  125. package/dist/parser/parseExam.js.map +1 -1
  126. package/package.json +3 -3
  127. package/dist/__tests__/playwright/DNDAnswerContainer.test.d.ts +0 -2
  128. package/dist/__tests__/playwright/DNDAnswerContainer.test.d.ts.map +0 -1
  129. package/dist/__tests__/playwright/DNDAnswerContainer.test.js +0 -77
  130. package/dist/__tests__/playwright/DNDAnswerContainer.test.js.map +0 -1
  131. package/dist/__tests__/playwright/stories/DNDAnswerContainer.story.d.ts +0 -10
  132. package/dist/__tests__/playwright/stories/DNDAnswerContainer.story.d.ts.map +0 -1
  133. package/dist/__tests__/playwright/stories/DNDAnswerContainer.story.js +0 -21
  134. package/dist/__tests__/playwright/stories/DNDAnswerContainer.story.js.map +0 -1
  135. package/dist/__tests__/playwright/utils/ComponentWrapper.d.ts +0 -9
  136. package/dist/__tests__/playwright/utils/ComponentWrapper.d.ts.map +0 -1
  137. package/dist/__tests__/playwright/utils/ComponentWrapper.js +0 -26
  138. package/dist/__tests__/playwright/utils/ComponentWrapper.js.map +0 -1
@@ -59,12 +59,8 @@ async function setupAnswerContext(component, answerMediaType) {
59
59
  const answerOptionsLocator = component.getByTestId('dnd-droppable').last();
60
60
  const firstAnswerLocator = component.getByTestId('dnd-answer-option').nth(0);
61
61
  const secondAnswerLocator = component.getByTestId('dnd-answer-option').nth(1);
62
- const firstAnswerContent = answerMediaType === 'text'
63
- ? await firstAnswerLocator.textContent()
64
- : await firstAnswerLocator.locator('img').getAttribute('src');
65
- const secondAnswerContent = answerMediaType === 'text'
66
- ? await secondAnswerLocator.textContent()
67
- : await secondAnswerLocator.locator('img').getAttribute('src');
62
+ const firstAnswerContent = await getAnswerContent(firstAnswerLocator, answerMediaType);
63
+ const secondAnswerContent = await getAnswerContent(secondAnswerLocator, answerMediaType);
68
64
  return {
69
65
  answerContainer,
70
66
  answerOptionsLocator,
@@ -74,4 +70,12 @@ async function setupAnswerContext(component, answerMediaType) {
74
70
  secondAnswerContent: secondAnswerContent
75
71
  };
76
72
  }
73
+ async function getAnswerContent(answerLocator, mediaType) {
74
+ if (mediaType === 'text') {
75
+ return await answerLocator.textContent();
76
+ }
77
+ else if (mediaType === 'image') {
78
+ return await answerLocator.locator('img').getAttribute('src');
79
+ }
80
+ }
77
81
  //# sourceMappingURL=DNDAnswerContainer.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DNDAnswerContainer.test.js","sourceRoot":"","sources":["../../../../__tests__/playwright/exam/DNDAnswerContainer.test.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAyB;AACzB,2BAAiC;AACjC,gDAAuB;AACvB,6EAAgE;AAEhE,iEAAuD;AACvD,yEAA0G;AAC1G,uFAAkF;AAElF,4BAAI,CAAC,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IACvC,IAAI,YAA6B,CAAA;IAEjC,4BAAI,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE;QACxB,YAAY,GAAG,MAAM,iBAAiB,EAAE,CAAA;IAC1C,CAAC,CAAC,CAAA;IAEF,KAAK,MAAM,eAAe,IAAI,CAAC,MAAM,EAAE,OAAO,CAAU,EAAE,CAAC;QACzD,IAAA,4BAAI,EAAC,mDAAmD,eAAe,UAAU,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;YACrG,MAAM,SAAS,GAAG,MAAM,KAAK,CAC3B,8BAAC,kDAAuB,IAAC,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,GAAI,CAC1F,CAAA;YACD,MAAM,EACJ,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACpB,GAAG,MAAM,kBAAkB,CAAC,SAAS,EAAE,eAAe,CAAC,CAAA;YAExD,MAAM,4BAAI,CAAC,IAAI,CAAC,uCAAuC,EAAE,KAAK,IAAI,EAAE;gBACl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GACvB,eAAe,KAAK,MAAM;QACxB,CAAC,CAAC,MAAM,mBAAmB,CAAC,WAAW,EAAE;QACzC,CAAC,CAAC,MAAM,mBAAmB,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,CAAA;IAElE,OAAO;QACL,eAAe;QACf,oBAAoB;QACpB,kBAAkB;QAClB,mBAAmB;QACnB,kBAAkB,EAAE,kBAA4B;QAChD,mBAAmB,EAAE,mBAA6B;KACnD,CAAA;AACH,CAAC"}
1
+ {"version":3,"file":"DNDAnswerContainer.test.js","sourceRoot":"","sources":["../../../../__tests__/playwright/exam/DNDAnswerContainer.test.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAyB;AACzB,2BAAiC;AACjC,gDAAuB;AACvB,6EAAgE;AAEhE,iEAAuD;AACvD,yEAA0G;AAC1G,uFAAkF;AAElF,4BAAI,CAAC,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IACvC,IAAI,YAA6B,CAAA;IAEjC,4BAAI,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE;QACxB,YAAY,GAAG,MAAM,iBAAiB,EAAE,CAAA;IAC1C,CAAC,CAAC,CAAA;IAEF,KAAK,MAAM,eAAe,IAAI,CAAC,MAAM,EAAE,OAAO,CAAU,EAAE,CAAC;QACzD,IAAA,4BAAI,EAAC,mDAAmD,eAAe,UAAU,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;YACrG,MAAM,SAAS,GAAG,MAAM,KAAK,CAC3B,8BAAC,kDAAuB,IAAC,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,GAAI,CAC1F,CAAA;YACD,MAAM,EACJ,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACpB,GAAG,MAAM,kBAAkB,CAAC,SAAS,EAAE,eAAe,CAAC,CAAA;YAExD,MAAM,4BAAI,CAAC,IAAI,CAAC,uCAAuC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,oBAAoB;QACpB,kBAAkB;QAClB,mBAAmB;QACnB,kBAAkB,EAAE,kBAA4B;QAChD,mBAAmB,EAAE,mBAA6B;KACnD,CAAA;AACH,CAAC;AAED,KAAK,UAAU,gBAAgB,CAAC,aAAsB,EAAE,SAA2B;IACjF,IAAI,SAAS,KAAK,MAAM,EAAE,CAAC;QACzB,OAAO,MAAM,aAAa,CAAC,WAAW,EAAE,CAAA;IAC1C,CAAC;SAAM,IAAI,SAAS,KAAK,OAAO,EAAE,CAAC;QACjC,OAAO,MAAM,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,KAAK,CAAC,CAAA;IAC/D,CAAC;AACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DNDAnswerContainer.story.d.ts","sourceRoot":"","sources":["../../../../../__tests__/playwright/stories/exam/DNDAnswerContainer.story.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAO/D,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,OAAO,CAAA;AAE9C,UAAU,4BAA4B;IACpC,YAAY,EAAE,eAAe,CAAA;IAC7B,eAAe,EAAE,eAAe,CAAA;CACjC;AAED,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAc1E,CAAA"}
1
+ {"version":3,"file":"DNDAnswerContainer.story.d.ts","sourceRoot":"","sources":["../../../../../__tests__/playwright/stories/exam/DNDAnswerContainer.story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAO/D,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,OAAO,CAAA;AAE9C,UAAU,4BAA4B;IACpC,YAAY,EAAE,eAAe,CAAA;IAC7B,eAAe,EAAE,eAAe,CAAA;CACjC;AAED,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAc1E,CAAA"}
@@ -4,7 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.DNDAnswerContainerStory = void 0;
7
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
8
7
  const react_1 = __importDefault(require("react"));
9
8
  const Exam_1 = require("../../../../src/components/exam/Exam");
10
9
  const DNDAnswerContainer_1 = require("../../../../src/components/exam/DNDAnswerContainer");
@@ -1 +1 @@
1
- {"version":3,"file":"DNDAnswerContainer.story.js","sourceRoot":"","sources":["../../../../../__tests__/playwright/stories/exam/DNDAnswerContainer.story.tsx"],"names":[],"mappings":";;;;;;AAAA,4DAA4D;AAC5D,kDAAyB;AAEzB,+DAAuE;AACvE,2FAAuF;AACvF,2EAAuE;AACvE,iFAAwD;AACxD,yDAAoD;AAS7C,MAAM,uBAAuB,GAA2C,CAAC,EAAE,YAAY,EAAE,eAAe,EAAE,EAAE,EAAE;IACnH,MAAM,GAAG,GAAG,IAAA,mBAAS,EAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;IAC7C,MAAM,CAAC,WAAW,EAAE,YAAY,CAAC,GAAG,IAAA,oBAAQ,EAAC,GAAG,CAAC,eAAe,EAAE,sBAAsB,CAAC,CAAA;IACzF,OAAO,CACL,8BAAC,2CAAoB,IACnB,GAAG,EAAE,GAAG,EACR,iBAAiB,EAAE,CAAC,QAAgB,EAAE,EAAE,CAAC,IAAI,YAAY,CAAC,QAAQ,gBAAgB,QAAQ,EAAE;QAE5F,8BAAC,uCAAkB,IACjB,OAAO,EAAE,eAAe,KAAK,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,YAAY,EAChE,gBAAgB,EAAE,uBAAgB,GACd,CACD,CACxB,CAAA;AACH,CAAC,CAAA;AAdY,QAAA,uBAAuB,2BAcnC"}
1
+ {"version":3,"file":"DNDAnswerContainer.story.js","sourceRoot":"","sources":["../../../../../__tests__/playwright/stories/exam/DNDAnswerContainer.story.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAAyB;AAEzB,+DAAuE;AACvE,2FAAuF;AACvF,2EAAuE;AACvE,iFAAwD;AACxD,yDAAoD;AAS7C,MAAM,uBAAuB,GAA2C,CAAC,EAAE,YAAY,EAAE,eAAe,EAAE,EAAE,EAAE;IACnH,MAAM,GAAG,GAAG,IAAA,mBAAS,EAAC,YAAY,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;IAC7C,MAAM,CAAC,WAAW,EAAE,YAAY,CAAC,GAAG,IAAA,oBAAQ,EAAC,GAAG,CAAC,eAAe,EAAE,sBAAsB,CAAC,CAAA;IACzF,OAAO,CACL,8BAAC,2CAAoB,IACnB,GAAG,EAAE,GAAG,EACR,iBAAiB,EAAE,CAAC,QAAgB,EAAE,EAAE,CAAC,IAAI,YAAY,CAAC,QAAQ,gBAAgB,QAAQ,EAAE;QAE5F,8BAAC,uCAAkB,IACjB,OAAO,EAAE,eAAe,KAAK,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,YAAY,EAChE,gBAAgB,EAAE,uBAAgB,GACd,CACD,CACxB,CAAA;AACH,CAAC,CAAA;AAdY,QAAA,uBAAuB,2BAcnC"}