@digabi/exam-engine-core 20.3.2-annoteta-react.2 → 20.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. package/dist/__tests__/annotations.test.js +12 -1
  2. package/dist/__tests__/annotations.test.js.map +1 -1
  3. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  4. package/dist/components/attachments/QuestionTitle.d.ts.map +1 -1
  5. package/dist/components/attachments/QuestionTitle.js +6 -4
  6. package/dist/components/attachments/QuestionTitle.js.map +1 -1
  7. package/dist/components/context/AnnotationContext.d.ts +4 -5
  8. package/dist/components/context/AnnotationContext.d.ts.map +1 -1
  9. package/dist/components/context/AnnotationContext.js.map +1 -1
  10. package/dist/components/context/AnnotationProvider.d.ts +3 -3
  11. package/dist/components/context/AnnotationProvider.d.ts.map +1 -1
  12. package/dist/components/context/AnnotationProvider.js.map +1 -1
  13. package/dist/components/exam/Exam.d.ts +2 -2
  14. package/dist/components/exam/Exam.d.ts.map +1 -1
  15. package/dist/components/exam/Exam.js.map +1 -1
  16. package/dist/components/grading/editAnnotations.d.ts.map +1 -1
  17. package/dist/components/grading/editAnnotations.js +0 -1
  18. package/dist/components/grading/editAnnotations.js.map +1 -1
  19. package/dist/components/grading/examAnnotationUtils.d.ts.map +1 -1
  20. package/dist/components/grading/examAnnotationUtils.js +1 -6
  21. package/dist/components/grading/examAnnotationUtils.js.map +1 -1
  22. package/dist/components/shared/AnnotatableText.d.ts +7 -0
  23. package/dist/components/shared/AnnotatableText.d.ts.map +1 -0
  24. package/dist/components/shared/AnnotatableText.js +63 -0
  25. package/dist/components/shared/AnnotatableText.js.map +1 -0
  26. package/dist/components/shared/AnnotationPopup.d.ts.map +1 -1
  27. package/dist/components/shared/AnnotationPopup.js +16 -3
  28. package/dist/components/shared/AnnotationPopup.js.map +1 -1
  29. package/dist/createRenderChildNodes.d.ts.map +1 -1
  30. package/dist/createRenderChildNodes.js +6 -73
  31. package/dist/createRenderChildNodes.js.map +1 -1
  32. package/dist/dom-utils.d.ts +1 -0
  33. package/dist/dom-utils.d.ts.map +1 -1
  34. package/dist/dom-utils.js +16 -0
  35. package/dist/dom-utils.js.map +1 -1
  36. package/dist/main-bundle.js +1 -1
  37. package/dist/main.css +1 -1
  38. package/dist/types/Score.d.ts +4 -2
  39. package/dist/types/Score.d.ts.map +1 -1
  40. package/package.json +2 -2
@@ -50,7 +50,7 @@ describe('Annotations', () => {
50
50
  document.execCommand.mockReset();
51
51
  });
52
52
  const defaultTextToAnnotate = 'Sekä moraali että tavat pyrkivät ohjaamaan ihmisten käyttäytymistä.';
53
- const defaultAnnotationAnchor = 'e:exam:-1 > e:section:1 > e:question:2 > e:question-instruction:1 > span:0 > p:0 > #text:0';
53
+ const defaultAnnotationAnchor = 'e:exam:0 > e:section:1 > e:question:2 > e:question-instruction:1 > span:0 > p:0 > #text:0';
54
54
  it('popup is rendered', async () => {
55
55
  const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: {}, onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
56
56
  await annotateText(exam, defaultTextToAnnotate);
@@ -81,6 +81,17 @@ describe('Annotations', () => {
81
81
  startIndex: 67
82
82
  });
83
83
  });
84
+ it('popup field is empty when creating new annotation', async () => {
85
+ const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: {}, onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
86
+ await annotateText(exam, defaultTextToAnnotate);
87
+ const textbox = exam.getByTestId('edit-comment');
88
+ react_1.fireEvent.input(textbox, {
89
+ target: { innerText: 'New Value', innerHTML: 'New Value' }
90
+ });
91
+ await user_event_1.default.click(exam.getByText('Vastaa'));
92
+ await annotateText(exam, 'Esitä jokin toinen käsitys filosofiasta ja vertaa sitä');
93
+ expect(exam.getByTestId('edit-comment').textContent).toHaveLength(0);
94
+ });
84
95
  it('callback is called when annotation is clicked', async () => {
85
96
  const clickAnnotationMock = jest.fn();
86
97
  const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: { [defaultAnnotationAnchor]: [createAnnotation(1, 1, 1)] }, onClickAnnotation: clickAnnotationMock, onSaveAnnotation: () => { } }));
@@ -1 +1 @@
1
- {"version":3,"file":"annotations.test.js","sourceRoot":"","sources":["../../__tests__/annotations.test.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAwE;AACxE,6EAAmD;AACnD,uEAA8E;AAC9E,qHAA4F;AAC5F,2BAAmC;AACnC,yEAAyF;AACzF,iEAAuD;AACvD,gDAAuB;AACvB,yEAAgD;AAChD,mDAA+C;AAC/C,kDAAyB;AACzB,qCAAkC;AAClC,4FAAmE;AAGnE,MAAM,oBAAoB;IAA1B;QACE,SAAI,GAAG,IAAI,CAAA;QACX,eAAU,GAAG,EAAE,CAAA;QACf,eAAU,GAAG,EAAE,CAAA;QACf,eAAU,GAAG,GAAG,EAAE,CAAC,IAAI,CAAA;QACvB,YAAO,GAAG,GAAG,EAAE,CAAC,IAAI,CAAA;QACpB,gBAAW,GAAG,GAAG,EAAE,CAAC,EAAE,CAAA;QACtB,cAAS,GAAG,GAAG,EAAE,CAAC,IAAI,CAAA;IACxB,CAAC;CAAA;AACD,MAAM,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;AAClD,MAAM,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;AAClD,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;AAC3B,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;AAEhC,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,IAAI,GAAgB,CAAA;IAEpB,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,CAAC,YAAY,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;QAE/B,MAAM,QAAQ,GAAG,IAAA,+BAAW,EAAC,WAAW,CAAC,CAAA;QACzC,MAAM,iBAAiB,GAAG,CAAC,QAAgB,EAAE,EAAE,CAAC,cAA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AAE;SACxF,CAAA;IACH,CAAC;IAED,SAAS,YAAY;QACnB,MAAM,SAAS,GAAc;YAC3B,GAAG,cAAc,EAAE;YACnB,SAAS,EAAE,WAAW;YACtB,aAAa,EAAb,6BAAa;YACb,4BAA4B,EAAE,EAAE;YAChC,WAAW,EAAE,iBAAiB;YAC9B,YAAY,EAAE,KAAK;YACnB,aAAa,EAAE;gBACb,UAAU,EAAE,CAAC;gBACb,KAAK,EAAE,EAAE;gBACT,KAAK,EAAE,GAAG,EAAE,CAAC,SAAS;gBACtB,aAAa,EAAE,GAAG,EAAE,CAAC,SAAS;aAC/B;SACF,CAAA;QACD,OAAO,SAAS,CAAA;IAClB,CAAC;AACH,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"annotations.test.js","sourceRoot":"","sources":["../../__tests__/annotations.test.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAwE;AACxE,6EAAmD;AACnD,uEAA8E;AAC9E,qHAA4F;AAC5F,2BAAmC;AACnC,yEAAyF;AACzF,iEAAuD;AACvD,gDAAuB;AACvB,yEAAgD;AAChD,mDAA+C;AAC/C,kDAAyB;AACzB,qCAAkC;AAClC,4FAAmE;AAGnE,MAAM,oBAAoB;IAA1B;QACE,SAAI,GAAG,IAAI,CAAA;QACX,eAAU,GAAG,EAAE,CAAA;QACf,eAAU,GAAG,EAAE,CAAA;QACf,eAAU,GAAG,GAAG,EAAE,CAAC,IAAI,CAAA;QACvB,YAAO,GAAG,GAAG,EAAE,CAAC,IAAI,CAAA;QACpB,gBAAW,GAAG,GAAG,EAAE,CAAC,EAAE,CAAA;QACtB,cAAS,GAAG,GAAG,EAAE,CAAC,IAAI,CAAA;IACxB,CAAC;CAAA;AACD,MAAM,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;AAClD,MAAM,CAAC,oBAAoB,GAAG,oBAAoB,CAAA;AAClD,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;AAC3B,QAAQ,CAAC,WAAW,GA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