@digabi/exam-engine-core 20.5.0 → 21.0.0-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. package/dist/__tests__/annotations.test.js +88 -58
  2. package/dist/__tests__/annotations.test.js.map +1 -1
  3. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  4. package/dist/components/context/AnnotationProvider.d.ts +7 -2
  5. package/dist/components/context/AnnotationProvider.d.ts.map +1 -1
  6. package/dist/components/context/AnnotationProvider.js +12 -2
  7. package/dist/components/context/AnnotationProvider.js.map +1 -1
  8. package/dist/components/exam/Exam.d.ts +4 -4
  9. package/dist/components/exam/Exam.d.ts.map +1 -1
  10. package/dist/components/exam/Exam.js.map +1 -1
  11. package/dist/components/exam/RichTextAnswer.d.ts +1 -1
  12. package/dist/components/exam/RichTextAnswer.d.ts.map +1 -1
  13. package/dist/components/exam/internal/ProgressBar.d.ts.map +1 -1
  14. package/dist/components/exam/internal/ProgressBar.js +1 -0
  15. package/dist/components/exam/internal/ProgressBar.js.map +1 -1
  16. package/dist/components/grading/editAnnotations.d.ts.map +1 -1
  17. package/dist/components/grading/editAnnotations.js.map +1 -1
  18. package/dist/components/grading/examAnnotationUtils.d.ts.map +1 -1
  19. package/dist/components/grading/examAnnotationUtils.js +82 -22
  20. package/dist/components/grading/examAnnotationUtils.js.map +1 -1
  21. package/dist/components/shared/AnnotatableText.d.ts +2 -0
  22. package/dist/components/shared/AnnotatableText.d.ts.map +1 -1
  23. package/dist/components/shared/AnnotatableText.js +44 -40
  24. package/dist/components/shared/AnnotatableText.js.map +1 -1
  25. package/dist/components/shared/AnnotationPopup.js +4 -4
  26. package/dist/components/shared/AnnotationPopup.js.map +1 -1
  27. package/dist/dom-utils.js +2 -2
  28. package/dist/dom-utils.js.map +1 -1
  29. package/dist/i18n/index.d.ts +1 -2
  30. package/dist/i18n/index.d.ts.map +1 -1
  31. package/dist/i18n/index.js.map +1 -1
  32. package/dist/main-bundle.js +1 -1
  33. package/dist/main.css +1 -1
  34. package/dist/store/audio/sagas.d.ts.map +1 -1
  35. package/dist/store/audio/sagas.js +3 -1
  36. package/dist/store/audio/sagas.js.map +1 -1
  37. package/dist/store/index.d.ts +1 -2
  38. package/dist/store/index.d.ts.map +1 -1
  39. package/dist/types/Score.d.ts +17 -3
  40. package/dist/types/Score.d.ts.map +1 -1
  41. package/package.json +3 -3
@@ -16,6 +16,7 @@ const Attachments_1 = __importDefault(require("../src/components/attachments/Att
16
16
  const Exam_1 = __importDefault(require("../src/components/exam/Exam"));
17
17
  const GradingInstructions_1 = __importDefault(require("../src/components/grading-instructions/GradingInstructions"));
18
18
  const examServerApi_1 = require("./examServerApi");
19
+ const lodash_1 = require("lodash");
19
20
  class IntersectionObserver {
20
21
  constructor() {
21
22
  this.root = null;
@@ -52,7 +53,7 @@ describe('Annotations', () => {
52
53
  const defaultTextToAnnotate = 'Sekä moraali että tavat pyrkivät ohjaamaan ihmisten käyttäytymistä.';
53
54
  const defaultAnnotationAnchor = 'e:exam:0 > e:section:1 > e:question:2 > e:question-instruction:1 > span:0 > p:0 > #text:0';
54
55
  it('popup is rendered', async () => {
55
- const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: {}, onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
56
+ const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: [], onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
56
57
  await annotateText(exam, defaultAnnotationAnchor);
57
58
  expect(exam.getByTestId('annotation-popup')).toBeVisible();
58
59
  });
@@ -60,130 +61,159 @@ describe('Annotations', () => {
60
61
  const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps() }));
61
62
  const text = 'Sekä moraali että tavat pyrkivät ohjaamaan ihmisten käyttäytymistä.';
62
63
  const textElement = exam.getByText(text);
63
- mockWindowSelection(text, textElement, 0, text.length);
64
+ mockWindowSelection(text, textElement, text.length);
64
65
  await user_event_1.default.click(textElement);
65
66
  expect(exam.queryByTestId('annotation-popup')).not.toBeInTheDocument();
66
67
  });
67
68
  it('callback is called when annotation is saved', async () => {
68
69
  const saveAnnotationMock = jest.fn();
69
- const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: {}, onClickAnnotation: () => { }, onSaveAnnotation: saveAnnotationMock }));
70
+ const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: [], onClickAnnotation: () => { }, onSaveAnnotation: saveAnnotationMock }));
70
71
  await annotateText(exam, defaultAnnotationAnchor);
71
72
  const textbox = exam.getByTestId('edit-comment');
72
73
  react_1.fireEvent.input(textbox, {
73
- target: { innerText: 'New Value', innerHTML: 'New Value' }
74
+ target: { innerText: 'New comment', innerHTML: 'New comment' }
74
75
  });
75
- await user_event_1.default.click(exam.getByText('Vastaa'));
76
+ await user_event_1.default.click(exam.getByText('Tallenna'));
77
+ const annotationPart = {
78
+ annotationAnchor: defaultAnnotationAnchor,
79
+ selectedText: defaultTextToAnnotate,
80
+ startIndex: 0,
81
+ length: defaultTextToAnnotate.length
82
+ };
76
83
  expect(saveAnnotationMock).toHaveBeenCalledTimes(1);
77
84
  expect(saveAnnotationMock).toHaveBeenCalledWith({
78
- annotationAnchor: defaultAnnotationAnchor,
79
- annotationId: undefined,
85
+ annotationParts: [annotationPart],
80
86
  displayNumber: '2',
81
- length: defaultTextToAnnotate.length,
82
- message: 'New Value',
83
- selectedText: defaultTextToAnnotate,
84
- startIndex: 0
85
- });
87
+ selectedText: defaultTextToAnnotate
88
+ }, 'New comment');
86
89
  });
87
90
  it('popup field is empty when creating new annotation', async () => {
88
91
  const annotationAnchor_7_1 = 'e:exam:0 > e:section:2 > e:question:7 > e:question:7.1 > e:question-title:0 > span:0 > #text:0';
89
- const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: {}, onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
92
+ const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: [], onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
90
93
  await annotateText(exam, defaultAnnotationAnchor);
91
94
  const textbox = exam.getByTestId('edit-comment');
92
95
  react_1.fireEvent.input(textbox, {
93
96
  target: { innerText: 'New Value', innerHTML: 'New Value' }
94
97
  });
95
- await user_event_1.default.click(exam.getByText('Vastaa'));
98
+ await user_event_1.default.click(exam.getByText('Tallenna'));
96
99
  // text picked by getMarkedText includes leading/trailing whitespace, so they must be here too
97
100
  await annotateText(exam, annotationAnchor_7_1);
98
101
  expect(exam.getByTestId('edit-comment').textContent).toHaveLength(0);
99
102
  });
100
103
  it('callback is called when annotation is clicked', async () => {
101
104
  const clickAnnotationMock = jest.fn();
102
- const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: { [defaultAnnotationAnchor]: [createAnnotation(1, 5, 12, 'moraali että')] }, onClickAnnotation: clickAnnotationMock, onSaveAnnotation: () => { } }));
105
+ const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), annotations: createAnnotations([{ id: 1, startIndex: 5, selectedText: 'moraali että' }]), onClickAnnotation: clickAnnotationMock, onSaveAnnotation: () => { } }));
103
106
  await user_event_1.default.click(exam.container.querySelector('[data-annotation-id="1"]'));
104
- expect(clickAnnotationMock).toHaveBeenCalledTimes(1);
105
- expect(clickAnnotationMock).toHaveBeenCalledWith(expect.anything(), {
107
+ const clickedAnnotation = {
106
108
  annotationAnchor: defaultAnnotationAnchor,
107
109
  annotationId: 1,
108
- displayNumber: '',
109
110
  hidden: false,
110
111
  length: 12,
111
- message: '',
112
112
  selectedText: 'moraali että',
113
- startIndex: 5
114
- });
113
+ startIndex: 5,
114
+ markNumber: 1
115
+ };
116
+ expect(clickAnnotationMock).toHaveBeenCalledTimes(1);
117
+ expect(clickAnnotationMock).toHaveBeenCalledWith(expect.anything(), clickedAnnotation);
115
118
  });
116
119
  it('annotations are added to dom when provided', () => {
117
120
  var _a, _b;
118
121
  const annotationProps = {
119
- annotations: {
120
- [defaultAnnotationAnchor]: [createAnnotation(1, 5, 7, 'moraali'), createAnnotation(3, 18, 5, 'tavat')]
121
- },
122
+ annotations: createAnnotations([
123
+ { id: 1, startIndex: 5, selectedText: 'moraali' },
124
+ { id: 3, startIndex: 18, selectedText: 'tavat' }
125
+ ]),
122
126
  onClickAnnotation: () => { },
123
127
  onSaveAnnotation: () => { }
124
128
  };
125
129
  const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), ...annotationProps }));
126
130
  expect(exam.container.querySelector('[data-annotation-id="1"]')).toBeInTheDocument();
127
131
  expect((_a = exam.container.querySelector('[data-annotation-id="1"]')) === null || _a === void 0 ? void 0 : _a.textContent).toBe('moraali');
132
+ expect(exam.container.querySelector('[data-annotation-id="1"] sup')).toHaveAttribute('data-content', '1');
128
133
  expect(exam.container.querySelector('[data-annotation-id="3"]')).toBeInTheDocument();
129
134
  expect((_b = exam.container.querySelector('[data-annotation-id="3"]')) === null || _b === void 0 ? void 0 : _b.textContent).toBe('tavat');
135
+ expect(exam.container.querySelector('[data-annotation-id="3"] sup')).toHaveAttribute('data-content', '2');
136
+ });
137
+ it('if two annotations have same id, only latter renders <sup>', () => {
138
+ const annotationProps = {
139
+ annotations: createAnnotations([
140
+ { id: 1, startIndex: 5, selectedText: 'moraali' },
141
+ { id: 1, startIndex: 13, selectedText: 'että' },
142
+ { id: 2, startIndex: 43, selectedText: 'ihmisten' },
143
+ { id: 2, startIndex: 52, selectedText: 'käyttäytymistä' }
144
+ ]),
145
+ onClickAnnotation: () => { },
146
+ onSaveAnnotation: () => { }
147
+ };
148
+ const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), ...annotationProps }));
149
+ const marks = (id) => exam.container.querySelectorAll(`.e-annotation[data-annotation-id="${id}"]`);
150
+ const marksId1 = marks('1');
151
+ const marksId2 = marks('2');
152
+ expect(marksId1[0].textContent).toBe('moraali');
153
+ expect(marksId1[0].querySelector('sup')).not.toBeInTheDocument();
154
+ expect(marksId1[1].textContent).toBe('että');
155
+ expect(marksId1[1]).toBeInTheDocument();
156
+ expect(marksId1[1].querySelector('sup')).toHaveAttribute('data-content', '1');
157
+ expect(marksId2[0].textContent).toBe('ihmisten');
158
+ expect(marksId2[0].querySelector('sup')).not.toBeInTheDocument();
159
+ expect(marksId2[1].textContent).toBe('käyttäytymistä');
160
+ expect(marksId2[1]).toBeInTheDocument();
161
+ expect(marksId2[1].querySelector('sup')).toHaveAttribute('data-content', '2');
130
162
  });
131
163
  it('hidden annotation works correctly', () => {
132
164
  var _a, _b;
165
+ const annotations = createAnnotations([{ id: 1, startIndex: 24, selectedText: 'pyrkivät', hidden: true }]);
133
166
  const annotationProps = {
134
- annotations: {
135
- [defaultAnnotationAnchor]: [
136
- {
137
- annotationId: 1,
138
- annotationAnchor: defaultAnnotationAnchor,
139
- hidden: true,
140
- startIndex: 24,
141
- length: 8,
142
- message: '',
143
- displayNumber: '',
144
- selectedText: 'pyrkivät'
145
- }
146
- ]
147
- },
167
+ annotations,
148
168
  onClickAnnotation: () => { },
149
169
  onSaveAnnotation: () => { }
150
170
  };
151
171
  const exam = (0, react_1.render)(react_2.default.createElement(Exam_1.default, { ...getExamProps(), ...annotationProps }));
152
172
  expect(exam.container.querySelector('[data-annotation-id="1"]')).toBeInTheDocument();
173
+ expect(exam.container.querySelector('[data-annotation-id="1"] sup')).not.toBeInTheDocument();
153
174
  expect((_b = (_a = exam.container.querySelector('[data-annotation-id="1"]')) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.textContent).toBe('Sekä moraali että tavat pyrkivät ohjaamaan ihmisten käyttäytymistä.');
154
175
  });
155
176
  it('grading instructions can be annotated', async () => {
156
- const gi = (0, react_1.render)(react_2.default.createElement(GradingInstructions_1.default, { ...getCommonProps(), annotations: {}, onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
177
+ const gi = (0, react_1.render)(react_2.default.createElement(GradingInstructions_1.default, { ...getCommonProps(), annotations: [], onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
157
178
  await annotateText(gi, defaultAnnotationAnchor);
158
179
  expect(gi.getByTestId('annotation-popup')).toBeVisible();
159
180
  });
160
181
  it('attachments can be annotated', async () => {
161
182
  const annotationAnchor_7_A = 'e:exam:0 > e:section:2 > e:question:7 > e:external-material:3 > e:attachment:0 > span:1 > p:3 > #text:0';
162
- const gi = (0, react_1.render)(react_2.default.createElement(Attachments_1.default, { ...getCommonProps(), annotations: {}, onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
183
+ const gi = (0, react_1.render)(react_2.default.createElement(Attachments_1.default, { ...getCommonProps(), annotations: [], onClickAnnotation: () => { }, onSaveAnnotation: () => { } }));
163
184
  await annotateText(gi, annotationAnchor_7_A);
164
185
  expect(gi.getByTestId('annotation-popup')).toBeVisible();
165
186
  });
166
- function createAnnotation(id, startIndex, length, selectedText) {
167
- return {
168
- annotationId: id,
169
- annotationAnchor: defaultAnnotationAnchor,
170
- hidden: false,
171
- startIndex,
172
- length,
173
- message: '',
174
- displayNumber: '',
175
- selectedText
176
- };
187
+ function createAnnotations(annotations) {
188
+ const annotationsById = (0, lodash_1.groupBy)(annotations, 'id');
189
+ return Object.keys(annotationsById).map((id, index) => {
190
+ const annotationParts = annotationsById[id];
191
+ return {
192
+ annotationId: Number(id),
193
+ selectedText: annotations.map(a => a.selectedText).join(' '),
194
+ type: 'text',
195
+ displayNumber: '2',
196
+ hidden: annotationParts.some(a => a.hidden),
197
+ markNumber: index + 1,
198
+ annotationParts: annotationParts.map(p => ({
199
+ startIndex: p.startIndex,
200
+ length: p.selectedText.length,
201
+ annotationAnchor: defaultAnnotationAnchor,
202
+ selectedText: p.selectedText,
203
+ annotationId: Number(id)
204
+ }))
205
+ };
206
+ });
177
207
  }
178
- async function annotateText(exam, elementAnchor, startIndex = 0, length) {
208
+ async function annotateText(exam, elementAnchor) {
179
209
  const textElement = exam.getByTestId(elementAnchor);
180
210
  const fullText = (textElement === null || textElement === void 0 ? void 0 : textElement.textContent) || '';
181
- const annotationLength = length || fullText.length;
182
- const text = fullText.substring(startIndex, startIndex + annotationLength);
183
- mockWindowSelection(text, textElement, startIndex, annotationLength);
211
+ const annotationLength = fullText.length;
212
+ const text = fullText.substring(0, annotationLength);
213
+ mockWindowSelection(text, textElement, annotationLength);
184
214
  await user_event_1.default.click(textElement);
185
215
  }
186
- function mockWindowSelection(text = 'mocked selection text', element, startOffset = 0, length) {
216
+ function mockWindowSelection(text = 'mocked selection text', element, length) {
187
217
  ;
188
218
  window.getSelection.mockImplementation(() => ({
189
219
  toString: () => text,
@@ -191,8 +221,8 @@ describe('Annotations', () => {
191
221
  anchorNode: element.firstChild,
192
222
  focusNode: element.firstChild,
193
223
  getRangeAt: jest.fn().mockReturnValue({
194
- startOffset,
195
- endOffset: startOffset + length,
224
+ startOffset: 0,
225
+ endOffset: length,
196
226
  startContainer: element,
197
227
  endContainer: element,
198
228
  cloneContents: jest.fn().mockReturnValue({ children: [], childNodes: [] })
@@ -1 +1 @@
1
- {"version":3,"file":"annotations.test.js","sourceRoot":"","sources":["../../__tests__/annotations.test.tsx"],"names":[],"mappings":";;;;;AAAA,iEAAuD;AACvD,yEAAyF;AACzF,qCAAkC;AAClC,kDAAwE;AACxE,6EAAmD;AACnD,2BAAmC;AACnC,gDAAuB;AACvB,kDAAyB;AACzB,yEAAgD;AAEhD,4FAAmE;AACnE,uEAA8E;AAC9E,qHAA4F;AAC5F,mDAA+C;AAE/C,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,G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