@digabi/exam-engine-core 22.1.1-alpha.0 → 22.1.2-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. package/dist/__tests__/editor/NBSP.test.js +17 -1
  2. package/dist/__tests__/editor/NBSP.test.js.map +1 -1
  3. package/dist/__tests__/editor/no-wrap.test.d.ts +2 -0
  4. package/dist/__tests__/editor/no-wrap.test.d.ts.map +1 -0
  5. package/dist/__tests__/editor/no-wrap.test.js +43 -0
  6. package/dist/__tests__/editor/no-wrap.test.js.map +1 -0
  7. package/dist/__tests__/editor/noWrap.test.d.ts +2 -0
  8. package/dist/__tests__/editor/noWrap.test.d.ts.map +1 -0
  9. package/dist/__tests__/editor/noWrap.test.js +62 -0
  10. package/dist/__tests__/editor/noWrap.test.js.map +1 -0
  11. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  12. package/dist/components/grading-instructions/EditableGradingInstruction.d.ts.map +1 -1
  13. package/dist/components/grading-instructions/EditableGradingInstruction.js +4 -2
  14. package/dist/components/grading-instructions/EditableGradingInstruction.js.map +1 -1
  15. package/dist/components/grading-instructions/editor/NBSP.d.ts +4 -0
  16. package/dist/components/grading-instructions/editor/NBSP.d.ts.map +1 -0
  17. package/dist/components/grading-instructions/editor/NBSP.js +17 -0
  18. package/dist/components/grading-instructions/editor/NBSP.js.map +1 -0
  19. package/dist/components/grading-instructions/editor/noWrap.d.ts +3 -0
  20. package/dist/components/grading-instructions/editor/noWrap.d.ts.map +1 -0
  21. package/dist/components/grading-instructions/editor/noWrap.js +13 -0
  22. package/dist/components/grading-instructions/editor/noWrap.js.map +1 -0
  23. package/dist/components/grading-instructions/editor/spanWithClass.d.ts +3 -0
  24. package/dist/components/grading-instructions/editor/spanWithClass.d.ts.map +1 -0
  25. package/dist/components/grading-instructions/editor/spanWithClass.js +19 -0
  26. package/dist/components/grading-instructions/editor/spanWithClass.js.map +1 -0
  27. package/dist/main-bundle.js +1 -1
  28. package/dist/main.css +1 -1
  29. package/package.json +3 -2
@@ -1,8 +1,12 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  const react_1 = require("@testing-library/react");
4
7
  const prosemirror_1 = require("../utils/prosemirror");
5
8
  const renderEditableGradingInstruction_1 = require("../utils/renderEditableGradingInstruction");
9
+ const user_event_1 = __importDefault(require("@testing-library/user-event"));
6
10
  const act = react_1.act;
7
11
  describe('Editor - NBSP', () => {
8
12
  let cleanup;
@@ -18,7 +22,7 @@ describe('Editor - NBSP', () => {
18
22
  });
19
23
  it('NBSP is rendered as expected', () => {
20
24
  const inputData = '<p>&#160;bar</p>';
21
- const expectedOutput = '<p>&nbsp;bar</p>';
25
+ const expectedOutput = '<p><span class="invisible invisible--nb-space ProseMirror-widget"></span>&nbsp;bar</p>';
22
26
  const result = (0, renderEditableGradingInstruction_1.renderGradingInstruction)(inputData);
23
27
  const table = result.container.querySelector('.ProseMirror');
24
28
  expect(table.innerHTML).toBe(expectedOutput);
@@ -34,6 +38,18 @@ describe('Editor - NBSP', () => {
34
38
  expect(onContentChangeMock).toHaveBeenCalledTimes(1);
35
39
  expect(onContentChangeMock).toHaveBeenCalledWith(expectedOutput, '');
36
40
  });
41
+ it('Insert NBSP adds expected string', async () => {
42
+ cleanup = (0, prosemirror_1.mockCreateRange)();
43
+ const inputData = '<p>&#160;foo</p><p>bar</p>';
44
+ const expectedOutput = '<p>&#160;&#160;foo</p><p>bar</p>';
45
+ const result = (0, renderEditableGradingInstruction_1.renderGradingInstruction)(inputData, onContentChangeMock);
46
+ expect(onContentChangeMock).toHaveBeenCalledTimes(0);
47
+ await act(async () => {
48
+ await user_event_1.default.click(await result.findByText('NBSP'));
49
+ });
50
+ expect(onContentChangeMock).toHaveBeenCalledTimes(2); // focus causes another call
51
+ expect(onContentChangeMock).toHaveBeenLastCalledWith(expectedOutput, '');
52
+ });
37
53
  });
38
54
  function insertText(element, text) {
39
55
  react_1.fireEvent.input(element, {
@@ -1 +1 @@
1
- {"version":3,"file":"nbsp.test.js","sourceRoot":"","sources":["../../../__tests__/editor/nbsp.test.tsx"],"names":[],"mappings":";;AAAA,kDAAkE;AAClE,sDAAsD;AACtD,gGAAoF;AAEpF,MAAM,GAAG,GAAG,WAAuD,CAAA;AAEnE,QAAQ,CAAC,eAAe,EAAE,GAAG,EAAE;IAC7B,IAAI,OAA4B,CAAA;IAChC,IAAI,mBAA8B,CAAA;IAElC,UAAU,CAAC,GAAG,EAAE;QACd,mBAAmB,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;IACjC,CAAC,CAAC,CAAA;IAEF,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,EAAE,CAAA;QACX,CAAC;QACD,OAAO,GAAG,IAAI,CAAA;IAChB,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;QACtC,MAAM,SAAS,GAAG,kBAAkB,CAAA;QACpC,MAAM,cAAc,GAAG,kBAAkB,CAAA;QACzC,MAAM,MAAM,GAAG,IAAA,2DAAwB,EAAC,SAAS,CAAC,CAAA;QAClD,MAAM,KAAK,GAAG,MAAM,CAAC,SAAS,CAAC,aAAa,CAAC,cAAc,CAAC,CAAA;QAC5D,MAAM,CAAC,KAAM,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA;IAC/C,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,0DAA0D,EAAE,KAAK,IAAI,EAAE;QACxE,OAAO,GAAG,IAAA,6BAAe,GAAE,CAAA;QAC3B,MAAM,SAAS,GAAG,4BAA4B,CAAA;QAC9C,MAAM,cAAc,GAAG,4BAA4B,CAAA;QACnD,MAAM,MAAM,GAAG,IAAA,2DAAwB,EAAC,SAAS,EAAE,mBAAmB,CAAC,CAAA;QACvE,MAAM,GAAG,CAAC,KAAK,IAAI,EAAE;YACnB,UAAU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,mBAAmB,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAA,CAAC,4BAA4B;QACjF,MAAM,CAAC,mBAAmB,CAAC,CAAC,wBAAwB,CAAC,cAAc,EAAE,EAAE,CAAC,CAAA;IAC1E,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA;AAEF,SAAS,UAAU,CAAC,OAAoB,EAAE,IAAY;IACpD,iBAAS,CAAC,KAAK,CAAC,OAAO,EAAE;QACvB,MAAM,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE;KAC7C,CAAC,CAAA;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=no-wrap.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-wrap.test.d.ts","sourceRoot":"","sources":["../../../__tests__/editor/no-wrap.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const react_1 = require("@testing-library/react");
4
+ const prosemirror_1 = require("../utils/prosemirror");
5
+ const renderEditableGradingInstruction_1 = require("../utils/renderEditableGradingInstruction");
6
+ const act = react_1.act;
7
+ describe('Editor - e-no-wrap', () => {
8
+ let cleanup;
9
+ let onContentChangeMock;
10
+ beforeEach(() => {
11
+ onContentChangeMock = jest.fn();
12
+ });
13
+ afterEach(() => {
14
+ if (cleanup) {
15
+ cleanup();
16
+ }
17
+ cleanup = null;
18
+ });
19
+ it('HR is rendered as expected', () => {
20
+ const inputData = '<p>bar</p><hr/>';
21
+ const expectedOutput = '<p>bar</p><hr>';
22
+ const result = (0, renderEditableGradingInstruction_1.renderGradingInstruction)(inputData);
23
+ const table = result.container.querySelector('.ProseMirror');
24
+ expect(table.innerHTML).toBe(expectedOutput);
25
+ });
26
+ it('Change in content causes HR to be returned as expected', async () => {
27
+ cleanup = (0, prosemirror_1.mockCreateRange)();
28
+ const inputData = '<p>foo</p><hr/><p>bar</p>';
29
+ const expectedOutput = '<p>foo</p><hr/><p>foo</p>';
30
+ const result = (0, renderEditableGradingInstruction_1.renderGradingInstruction)(inputData, onContentChangeMock);
31
+ await act(async () => {
32
+ insertText(await result.findByText('bar'), 'foo');
33
+ });
34
+ expect(onContentChangeMock).toHaveBeenCalledTimes(1);
35
+ expect(onContentChangeMock).toHaveBeenCalledWith(expectedOutput, '');
36
+ });
37
+ });
38
+ function insertText(element, text) {
39
+ react_1.fireEvent.input(element, {
40
+ target: { innerText: text, innerHTML: text }
41
+ });
42
+ }
43
+ //# sourceMappingURL=no-wrap.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-wrap.test.js","sourceRoot":"","sources":["../../../__tests__/editor/no-wrap.test.tsx"],"names":[],"mappings":";;AAAA,kDAAkE;AAClE,sDAAsD;AACtD,gGAAoF;AAEpF,MAAM,GAAG,GAAG,WAAuD,CAAA;AAEnE,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IAClC,IAAI,OAA4B,CAAA;IAChC,IAAI,mBAA8B,CAAA;IAElC,UAAU,CAAC,GAAG,EAAE;QACd,mBAAmB,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;IACjC,CAAC,CAAC,CAAA;IAEF,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,EAAE,CAAA;QACX,CAAC;QACD,OAAO,GAAG,IAAI,CAAA;IAChB,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,4BAA4B,EAAE,GAAG,EAAE;QACpC,MAAM,SAAS,GAAG,iBAAiB,CAAA;QACnC,MAAM,cAAc,GAAG,gBAAgB,CAAA;QACvC,MAAM,MAAM,GAAG,IAAA,2DAAwB,EAAC,SAAS,CAAC,CAAA;QAClD,MAAM,KAAK,GAAG,MAAM,CAAC,SAAS,CAAC,aAAa,CAAC,cAAc,CAAC,CAAA;QAC5D,MAAM,CAAC,KAAM,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA;IAC/C,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,wDAAwD,EAAE,KAAK,IAAI,EAAE;QACtE,OAAO,GAAG,IAAA,6BAAe,GAAE,CAAA;QAC3B,MAAM,SAAS,GAAG,2BAA2B,CAAA;QAC7C,MAAM,cAAc,GAAG,2BAA2B,CAAA;QAClD,MAAM,MAAM,GAAG,IAAA,2DAAwB,EAAC,SAAS,EAAE,mBAAmB,CAAC,CAAA;QACvE,MAAM,GAAG,CAAC,KAAK,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,CAAA;QACnD,CAAC,CAAC,CAAA;QACF,MAAM,CAAC,mBAAmB,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAA;QACpD,MAAM,CAAC,mBAAmB,CAAC,CAAC,oBAAoB,CAAC,cAAc,EAAE,EAAE,CAAC,CAAA;IACtE,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA;AAEF,SAAS,UAAU,CAAC,OAAoB,EAAE,IAAY;IACpD,iBAAS,CAAC,KAAK,CAAC,OAAO,EAAE;QACvB,MAAM,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE;KAC7C,CAAC,CAAA;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=noWrap.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"noWrap.test.d.ts","sourceRoot":"","sources":["../../../__tests__/editor/noWrap.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const react_1 = require("@testing-library/react");
4
+ const prosemirror_1 = require("../utils/prosemirror");
5
+ const renderEditableGradingInstruction_1 = require("../utils/renderEditableGradingInstruction");
6
+ const act = react_1.act;
7
+ describe('Editor - e-nowrap', () => {
8
+ let cleanup;
9
+ let onContentChangeMock;
10
+ beforeEach(() => {
11
+ onContentChangeMock = jest.fn();
12
+ cleanup = (0, prosemirror_1.mockCreateRange)();
13
+ });
14
+ afterEach(() => {
15
+ if (cleanup) {
16
+ cleanup();
17
+ }
18
+ cleanup = null;
19
+ });
20
+ it('e-nowrap is rendered and returned as expected outside paragraph', async () => {
21
+ const inputData = '<p>bar</p><span class="e-nowrap">foo</span>';
22
+ const expectedDom = '<p>foo</p><p><span class="e-nowrap">foo</span></p>';
23
+ const expectedOutput = '<p>foo</p><p><span class="e-nowrap">foo</span></p>';
24
+ const result = (0, renderEditableGradingInstruction_1.renderGradingInstruction)(inputData, onContentChangeMock);
25
+ await act(async () => {
26
+ insertText(await result.findByText('bar'), 'foo');
27
+ });
28
+ const element = result.container.querySelector('.ProseMirror');
29
+ expect(element.innerHTML).toBe(expectedDom);
30
+ expect(onContentChangeMock).toHaveBeenCalledWith(expectedOutput, '');
31
+ });
32
+ it('e:formula is rendered as expected when wrapped inside e-nowrap', async () => {
33
+ const inputData = '<p>bar</p><span class="e-nowrap"><e:formula data-editor-id=e-formula>foo</e:formula></span>';
34
+ const expectedDom = '<p>foo</p><p><span class="e-nowrap"><img alt="foo" src="/math.svg?latex=foo"><img class="ProseMirror-separator" alt=""></span><br class="ProseMirror-trailingBreak"></p>';
35
+ const expectedOutput = '<p>foo</p><p><span class="e-nowrap"><e:formula>foo</e:formula></span></p>';
36
+ const result = (0, renderEditableGradingInstruction_1.renderGradingInstruction)(inputData, onContentChangeMock);
37
+ await act(async () => {
38
+ insertText(await result.findByText('bar'), 'foo');
39
+ });
40
+ const element = result.container.querySelector('.ProseMirror');
41
+ expect(element.innerHTML).toBe(expectedDom);
42
+ expect(onContentChangeMock).toHaveBeenCalledWith(expectedOutput, '');
43
+ });
44
+ it('e-nowrap is rendered as expected inside paragraph', async () => {
45
+ const inputData = '<p>bar</p><p><span class="e-nowrap">foo</span></p>';
46
+ const expectedDom = '<p>foo</p><p><span class="e-nowrap">foo</span></p>';
47
+ const expectedOutput = '<p>foo</p><p><span class="e-nowrap">foo</span></p>';
48
+ const result = (0, renderEditableGradingInstruction_1.renderGradingInstruction)(inputData, onContentChangeMock);
49
+ await act(async () => {
50
+ insertText(await result.findByText('bar'), 'foo');
51
+ });
52
+ const element = result.container.querySelector('.ProseMirror');
53
+ expect(element.innerHTML).toBe(expectedDom);
54
+ expect(onContentChangeMock).toHaveBeenCalledWith(expectedOutput, '');
55
+ });
56
+ });
57
+ function insertText(element, text) {
58
+ react_1.fireEvent.input(element, {
59
+ target: { innerText: text, innerHTML: text }
60
+ });
61
+ }
62
+ //# sourceMappingURL=noWrap.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"noWrap.test.js","sourceRoot":"","sources":["../../../__tests__/editor/noWrap.test.tsx"],"names":[],"mappings":";;AAAA,kDAAkE;AAClE,sDAAsD;AACtD,gGAAoF;AAEpF,MAAM,GAAG,GAAG,WAAuD,CAAA;AAEnE,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IACjC,IAAI,OAA4B,CAAA;IAChC,IAAI,mBAA8B,CAAA;IAElC,UAAU,CAAC,GAAG,EAAE;QACd,mBAAmB,GAAG,IAAI,CAAC,EAAE,EAAE,CAAA;QAC/B,OAAO,GAAG,IAAA,6BAAe,GAAE,CAAA;IAC7B,CAAC,CAAC,CAAA;IAEF,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,EAAE,CAAA;QACX,CAAC;QACD,OAAO,GAAG,IAAI,CAAA;IAChB,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,iEAAiE,EAAE,KAAK,IAAI,EAAE;QAC/E,MAAM,SAAS,GAAG,6CAA6C,CAAA;QAC/D,MAAM,WAAW,GAAG,oDAAoD,CAAA;QACxE,MAAM,cAAc,GAAG,oDAAoD,CAAA;QAC3E,MAAM,MAAM,GAAG,IAAA,2DAAwB,EAAC,SAAS,EAAE,mBAAmB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