@digabi/exam-engine-core 22.0.7-alpha.0 → 22.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
  2. package/dist/components/context/GradingInstructionContext.d.ts +6 -11
  3. package/dist/components/context/GradingInstructionContext.d.ts.map +1 -1
  4. package/dist/components/context/GradingInstructionContext.js.map +1 -1
  5. package/dist/components/grading-instructions/AnswerGradingInstruction.d.ts.map +1 -1
  6. package/dist/components/grading-instructions/AnswerGradingInstruction.js +4 -3
  7. package/dist/components/grading-instructions/AnswerGradingInstruction.js.map +1 -1
  8. package/dist/components/grading-instructions/GradingInstructionProvider.d.ts +1 -1
  9. package/dist/components/grading-instructions/GradingInstructionProvider.d.ts.map +1 -1
  10. package/dist/components/grading-instructions/GradingInstructionProvider.js +1 -4
  11. package/dist/components/grading-instructions/GradingInstructionProvider.js.map +1 -1
  12. package/dist/components/grading-instructions/GradingInstructions.d.ts +6 -2
  13. package/dist/components/grading-instructions/GradingInstructions.d.ts.map +1 -1
  14. package/dist/components/grading-instructions/GradingInstructions.js +2 -3
  15. package/dist/components/grading-instructions/GradingInstructions.js.map +1 -1
  16. package/dist/main-bundle.js +1 -1
  17. package/dist/main.css +1 -1
  18. package/package.json +2 -12
  19. package/dist/__tests__/EditableGradingInstructionLocalization.test.d.ts +0 -2
  20. package/dist/__tests__/EditableGradingInstructionLocalization.test.d.ts.map +0 -1
  21. package/dist/__tests__/EditableGradingInstructionLocalization.test.js +0 -112
  22. package/dist/__tests__/EditableGradingInstructionLocalization.test.js.map +0 -1
  23. package/dist/__tests__/editor/FormatButton.test.d.ts +0 -2
  24. package/dist/__tests__/editor/FormatButton.test.d.ts.map +0 -1
  25. package/dist/__tests__/editor/FormatButton.test.js +0 -98
  26. package/dist/__tests__/editor/FormatButton.test.js.map +0 -1
  27. package/dist/__tests__/editor/Formula.test.d.ts +0 -2
  28. package/dist/__tests__/editor/Formula.test.d.ts.map +0 -1
  29. package/dist/__tests__/editor/Formula.test.js +0 -61
  30. package/dist/__tests__/editor/Formula.test.js.map +0 -1
  31. package/dist/__tests__/editor/ImageUploadButton.test.d.ts +0 -2
  32. package/dist/__tests__/editor/ImageUploadButton.test.d.ts.map +0 -1
  33. package/dist/__tests__/editor/ImageUploadButton.test.js +0 -94
  34. package/dist/__tests__/editor/ImageUploadButton.test.js.map +0 -1
  35. package/dist/__tests__/editor/List.test.d.ts +0 -2
  36. package/dist/__tests__/editor/List.test.d.ts.map +0 -1
  37. package/dist/__tests__/editor/List.test.js +0 -72
  38. package/dist/__tests__/editor/List.test.js.map +0 -1
  39. package/dist/__tests__/editor/Table.test.d.ts +0 -2
  40. package/dist/__tests__/editor/Table.test.d.ts.map +0 -1
  41. package/dist/__tests__/editor/Table.test.js +0 -172
  42. package/dist/__tests__/editor/Table.test.js.map +0 -1
  43. package/dist/__tests__/editor/br.test.d.ts +0 -2
  44. package/dist/__tests__/editor/br.test.d.ts.map +0 -1
  45. package/dist/__tests__/editor/br.test.js +0 -39
  46. package/dist/__tests__/editor/br.test.js.map +0 -1
  47. package/dist/__tests__/editor/hr.test.d.ts +0 -2
  48. package/dist/__tests__/editor/hr.test.d.ts.map +0 -1
  49. package/dist/__tests__/editor/hr.test.js +0 -39
  50. package/dist/__tests__/editor/hr.test.js.map +0 -1
  51. package/dist/__tests__/editor/nbsp.test.d.ts +0 -2
  52. package/dist/__tests__/editor/nbsp.test.d.ts.map +0 -1
  53. package/dist/__tests__/editor/nbsp.test.js +0 -55
  54. package/dist/__tests__/editor/nbsp.test.js.map +0 -1
  55. package/dist/__tests__/editor/noWrap.test.d.ts +0 -2
  56. package/dist/__tests__/editor/noWrap.test.d.ts.map +0 -1
  57. package/dist/__tests__/editor/noWrap.test.js +0 -62
  58. package/dist/__tests__/editor/noWrap.test.js.map +0 -1
  59. package/dist/__tests__/editor/spanWithLang.test.d.ts +0 -2
  60. package/dist/__tests__/editor/spanWithLang.test.d.ts.map +0 -1
  61. package/dist/__tests__/editor/spanWithLang.test.js +0 -38
  62. package/dist/__tests__/editor/spanWithLang.test.js.map +0 -1
  63. package/dist/__tests__/editor/subSup.test.d.ts +0 -2
  64. package/dist/__tests__/editor/subSup.test.d.ts.map +0 -1
  65. package/dist/__tests__/editor/subSup.test.js +0 -50
  66. package/dist/__tests__/editor/subSup.test.js.map +0 -1
  67. package/dist/__tests__/editor/undoRedo.test.d.ts +0 -2
  68. package/dist/__tests__/editor/undoRedo.test.d.ts.map +0 -1
  69. package/dist/__tests__/editor/undoRedo.test.js +0 -61
  70. package/dist/__tests__/editor/undoRedo.test.js.map +0 -1
  71. package/dist/__tests__/utils/ProseMirrorWrapper.d.ts +0 -8
  72. package/dist/__tests__/utils/ProseMirrorWrapper.d.ts.map +0 -1
  73. package/dist/__tests__/utils/ProseMirrorWrapper.js +0 -44
  74. package/dist/__tests__/utils/ProseMirrorWrapper.js.map +0 -1
  75. package/dist/__tests__/utils/prosemirror.d.ts +0 -2
  76. package/dist/__tests__/utils/prosemirror.d.ts.map +0 -1
  77. package/dist/__tests__/utils/prosemirror.js +0 -30
  78. package/dist/__tests__/utils/prosemirror.js.map +0 -1
  79. package/dist/__tests__/utils/renderEditableGradingInstruction.d.ts +0 -4
  80. package/dist/__tests__/utils/renderEditableGradingInstruction.d.ts.map +0 -1
  81. package/dist/__tests__/utils/renderEditableGradingInstruction.js +0 -22
  82. package/dist/__tests__/utils/renderEditableGradingInstruction.js.map +0 -1
  83. package/dist/__tests__/utils/util.d.ts +0 -2
  84. package/dist/__tests__/utils/util.d.ts.map +0 -1
  85. package/dist/__tests__/utils/util.js +0 -10
  86. package/dist/__tests__/utils/util.js.map +0 -1
  87. package/dist/components/grading-instructions/EditableGradingInstruction.d.ts +0 -6
  88. package/dist/components/grading-instructions/EditableGradingInstruction.d.ts.map +0 -1
  89. package/dist/components/grading-instructions/EditableGradingInstruction.js +0 -136
  90. package/dist/components/grading-instructions/EditableGradingInstruction.js.map +0 -1
  91. package/dist/components/grading-instructions/editor/FormatButton.d.ts +0 -9
  92. package/dist/components/grading-instructions/editor/FormatButton.d.ts.map +0 -1
  93. package/dist/components/grading-instructions/editor/FormatButton.js +0 -26
  94. package/dist/components/grading-instructions/editor/FormatButton.js.map +0 -1
  95. package/dist/components/grading-instructions/editor/Formula.d.ts +0 -15
  96. package/dist/components/grading-instructions/editor/Formula.d.ts.map +0 -1
  97. package/dist/components/grading-instructions/editor/Formula.js +0 -41
  98. package/dist/components/grading-instructions/editor/Formula.js.map +0 -1
  99. package/dist/components/grading-instructions/editor/FormulaPopup.d.ts +0 -7
  100. package/dist/components/grading-instructions/editor/FormulaPopup.d.ts.map +0 -1
  101. package/dist/components/grading-instructions/editor/FormulaPopup.js +0 -49
  102. package/dist/components/grading-instructions/editor/FormulaPopup.js.map +0 -1
  103. package/dist/components/grading-instructions/editor/ImageUploadButton.d.ts +0 -6
  104. package/dist/components/grading-instructions/editor/ImageUploadButton.d.ts.map +0 -1
  105. package/dist/components/grading-instructions/editor/ImageUploadButton.js +0 -77
  106. package/dist/components/grading-instructions/editor/ImageUploadButton.js.map +0 -1
  107. package/dist/components/grading-instructions/editor/List.d.ts +0 -9
  108. package/dist/components/grading-instructions/editor/List.d.ts.map +0 -1
  109. package/dist/components/grading-instructions/editor/List.js +0 -41
  110. package/dist/components/grading-instructions/editor/List.js.map +0 -1
  111. package/dist/components/grading-instructions/editor/NBSP.d.ts +0 -4
  112. package/dist/components/grading-instructions/editor/NBSP.d.ts.map +0 -1
  113. package/dist/components/grading-instructions/editor/NBSP.js +0 -17
  114. package/dist/components/grading-instructions/editor/NBSP.js.map +0 -1
  115. package/dist/components/grading-instructions/editor/Table.d.ts +0 -6
  116. package/dist/components/grading-instructions/editor/Table.d.ts.map +0 -1
  117. package/dist/components/grading-instructions/editor/Table.js +0 -186
  118. package/dist/components/grading-instructions/editor/Table.js.map +0 -1
  119. package/dist/components/grading-instructions/editor/UndoRedoButtons.d.ts +0 -6
  120. package/dist/components/grading-instructions/editor/UndoRedoButtons.d.ts.map +0 -1
  121. package/dist/components/grading-instructions/editor/UndoRedoButtons.js +0 -19
  122. package/dist/components/grading-instructions/editor/UndoRedoButtons.js.map +0 -1
  123. package/dist/components/grading-instructions/editor/findNode.d.ts +0 -3
  124. package/dist/components/grading-instructions/editor/findNode.d.ts.map +0 -1
  125. package/dist/components/grading-instructions/editor/findNode.js +0 -10
  126. package/dist/components/grading-instructions/editor/findNode.js.map +0 -1
  127. package/dist/components/grading-instructions/editor/localization.d.ts +0 -3
  128. package/dist/components/grading-instructions/editor/localization.d.ts.map +0 -1
  129. package/dist/components/grading-instructions/editor/localization.js +0 -36
  130. package/dist/components/grading-instructions/editor/localization.js.map +0 -1
  131. package/dist/components/grading-instructions/editor/schemas/formulaSchema.d.ts +0 -4
  132. package/dist/components/grading-instructions/editor/schemas/formulaSchema.d.ts.map +0 -1
  133. package/dist/components/grading-instructions/editor/schemas/formulaSchema.js +0 -62
  134. package/dist/components/grading-instructions/editor/schemas/formulaSchema.js.map +0 -1
  135. package/dist/components/grading-instructions/editor/schemas/imageSchema.d.ts +0 -4
  136. package/dist/components/grading-instructions/editor/schemas/imageSchema.d.ts.map +0 -1
  137. package/dist/components/grading-instructions/editor/schemas/imageSchema.js +0 -61
  138. package/dist/components/grading-instructions/editor/schemas/imageSchema.js.map +0 -1
  139. package/dist/components/grading-instructions/editor/schemas/listSchema.d.ts +0 -72
  140. package/dist/components/grading-instructions/editor/schemas/listSchema.d.ts.map +0 -1
  141. package/dist/components/grading-instructions/editor/schemas/listSchema.js +0 -7
  142. package/dist/components/grading-instructions/editor/schemas/listSchema.js.map +0 -1
  143. package/dist/components/grading-instructions/editor/schemas/localizationSchema.d.ts +0 -3
  144. package/dist/components/grading-instructions/editor/schemas/localizationSchema.d.ts.map +0 -1
  145. package/dist/components/grading-instructions/editor/schemas/localizationSchema.js +0 -39
  146. package/dist/components/grading-instructions/editor/schemas/localizationSchema.js.map +0 -1
  147. package/dist/components/grading-instructions/editor/schemas/spanWithLangSchema.d.ts +0 -3
  148. package/dist/components/grading-instructions/editor/schemas/spanWithLangSchema.d.ts.map +0 -1
  149. package/dist/components/grading-instructions/editor/schemas/spanWithLangSchema.js +0 -19
  150. package/dist/components/grading-instructions/editor/schemas/spanWithLangSchema.js.map +0 -1
  151. package/dist/components/grading-instructions/editor/schemas/spanWithNowrapSchema.d.ts +0 -3
  152. package/dist/components/grading-instructions/editor/schemas/spanWithNowrapSchema.d.ts.map +0 -1
  153. package/dist/components/grading-instructions/editor/schemas/spanWithNowrapSchema.js +0 -19
  154. package/dist/components/grading-instructions/editor/schemas/spanWithNowrapSchema.js.map +0 -1
  155. package/dist/components/grading-instructions/editor/schemas/subSupSchema.d.ts +0 -3
  156. package/dist/components/grading-instructions/editor/schemas/subSupSchema.d.ts.map +0 -1
  157. package/dist/components/grading-instructions/editor/schemas/subSupSchema.js +0 -23
  158. package/dist/components/grading-instructions/editor/schemas/subSupSchema.js.map +0 -1
  159. package/dist/components/grading-instructions/editor/schemas/tableSchema.d.ts +0 -3
  160. package/dist/components/grading-instructions/editor/schemas/tableSchema.d.ts.map +0 -1
  161. package/dist/components/grading-instructions/editor/schemas/tableSchema.js +0 -53
  162. package/dist/components/grading-instructions/editor/schemas/tableSchema.js.map +0 -1
  163. package/dist/components/grading-instructions/editor/spanWithNowrap.d.ts +0 -3
  164. package/dist/components/grading-instructions/editor/spanWithNowrap.d.ts.map +0 -1
  165. package/dist/components/grading-instructions/editor/spanWithNowrap.js +0 -19
  166. package/dist/components/grading-instructions/editor/spanWithNowrap.js.map +0 -1
@@ -1,19 +0,0 @@
1
- export const spanWithLangSchema = {
2
- spanWithLang: {
3
- attrs: {
4
- lang: { default: null }
5
- },
6
- parseDOM: [
7
- {
8
- tag: 'span[lang]:not([data-editor-id])',
9
- getAttrs(dom) {
10
- return { lang: dom.getAttribute('lang') || null };
11
- }
12
- }
13
- ],
14
- toDOM(node) {
15
- return ['span', { lang: node.attrs.lang }, 0];
16
- }
17
- }
18
- };
19
- //# sourceMappingURL=spanWithLangSchema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spanWithLangSchema.js","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/spanWithLangSchema.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAa;IAC1C,YAAY,EAAE;QACZ,KAAK,EAAE;YACL,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;SACxB;QACD,QAAQ,EAAE;YACR;gBACE,GAAG,EAAE,kCAAkC;gBACvC,QAAQ,CAAC,GAAgB;oBACvB,OAAO,EAAE,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,CAAA;gBACnD,CAAC;aACF;SACF;QACD,KAAK,CAAC,IAAU;YACd,OAAO,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAc,EAAE,EAAE,CAAC,CAAC,CAAA;QACzD,CAAC;KACF;CACF,CAAA"}
@@ -1,3 +0,0 @@
1
- import { MarkSpec } from 'prosemirror-model';
2
- export declare const spanWithNowrapSchema: MarkSpec;
3
- //# sourceMappingURL=spanWithNowrapSchema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spanWithNowrapSchema.d.ts","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/spanWithNowrapSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAElD,eAAO,MAAM,oBAAoB,EAAE,QAiBlC,CAAA"}
@@ -1,19 +0,0 @@
1
- export const spanWithNowrapSchema = {
2
- spanWithNowrap: {
3
- attrs: {
4
- class: { default: null }
5
- },
6
- parseDOM: [
7
- {
8
- tag: 'span[class="e-nowrap"]',
9
- getAttrs(dom) {
10
- return { class: dom.getAttribute('class') || null };
11
- }
12
- }
13
- ],
14
- toDOM(node) {
15
- return ['span', { class: node.attrs.class }, 0];
16
- }
17
- }
18
- };
19
- //# sourceMappingURL=spanWithNowrapSchema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spanWithNowrapSchema.js","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/spanWithNowrapSchema.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAa;IAC5C,cAAc,EAAE;QACd,KAAK,EAAE;YACL,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;SACzB;QACD,QAAQ,EAAE;YACR;gBACE,GAAG,EAAE,wBAAwB;gBAC7B,QAAQ,CAAC,GAAgB;oBACvB,OAAO,EAAE,KAAK,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,IAAI,EAAE,CAAA;gBACrD,CAAC;aACF;SACF;QACD,KAAK,CAAC,IAAU;YACd,OAAO,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAe,EAAE,EAAE,CAAC,CAAC,CAAA;QAC3D,CAAC;KACF;CACF,CAAA"}
@@ -1,3 +0,0 @@
1
- import { MarkSpec } from 'prosemirror-model';
2
- export declare const subSupSchema: MarkSpec;
3
- //# sourceMappingURL=subSupSchema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subSupSchema.d.ts","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/subSupSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE5C,eAAO,MAAM,YAAY,EAAE,QAqB1B,CAAA"}
@@ -1,23 +0,0 @@
1
- export const subSupSchema = {
2
- sub: {
3
- parseDOM: [
4
- {
5
- tag: 'sub'
6
- }
7
- ],
8
- toDOM() {
9
- return ['sub', 0];
10
- }
11
- },
12
- sup: {
13
- parseDOM: [
14
- {
15
- tag: 'sup'
16
- }
17
- ],
18
- toDOM() {
19
- return ['sup', 0];
20
- }
21
- }
22
- };
23
- //# sourceMappingURL=subSupSchema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subSupSchema.js","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/subSupSchema.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAa;IACpC,GAAG,EAAE;QACH,QAAQ,EAAE;YACR;gBACE,GAAG,EAAE,KAAK;aACX;SACF;QACD,KAAK;YACH,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;QACnB,CAAC;KACF;IACD,GAAG,EAAE;QACH,QAAQ,EAAE;YACR;gBACE,GAAG,EAAE,KAAK;aACX;SACF;QACD,KAAK;YACH,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;QACnB,CAAC;KACF;CACF,CAAA"}
@@ -1,3 +0,0 @@
1
- import { NodeSpec } from 'prosemirror-model';
2
- export declare const tableSchema: NodeSpec;
3
- //# sourceMappingURL=tableSchema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tableSchema.d.ts","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/tableSchema.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAQlD,eAAO,MAAM,WAAW,EAAE,QA6CzB,CAAA"}
@@ -1,53 +0,0 @@
1
- import { tableNodes } from 'prosemirror-tables';
2
- const defaultSchema = tableNodes({
3
- tableGroup: 'block',
4
- cellContent: 'inline*',
5
- cellAttributes: { class: { default: '' }, scope: { default: '' } }
6
- });
7
- export const tableSchema = {
8
- ...defaultSchema,
9
- table: {
10
- ...defaultSchema.table,
11
- parseDOM: [
12
- {
13
- tag: 'table',
14
- getAttrs: (dom) => ({ class: dom.getAttribute('class') })
15
- }
16
- ],
17
- attrs: { class: { default: '' } },
18
- toDOM(node) {
19
- const classNames = node.attrs.class || undefined;
20
- return [
21
- 'table',
22
- {
23
- class: classNames
24
- },
25
- ['tbody', 0]
26
- ];
27
- }
28
- },
29
- table_row: {
30
- ...defaultSchema.table_row,
31
- attrs: { class: { default: '' } },
32
- parseDOM: [{ tag: 'tr', getAttrs: (dom) => ({ class: dom.getAttribute('class') }) }],
33
- toDOM(node) {
34
- const classNames = node.attrs.class || undefined;
35
- return ['tr', { class: classNames }, 0];
36
- }
37
- },
38
- table_cell: {
39
- ...defaultSchema.table_cell,
40
- parseDOM: [
41
- {
42
- tag: 'td',
43
- getAttrs: (dom) => ({ class: dom.getAttribute('class'), scope: dom.getAttribute('scope') })
44
- }
45
- ],
46
- toDOM(node) {
47
- const classNames = node.attrs.class || undefined;
48
- const scope = node.attrs.scope || undefined;
49
- return ['td', { class: classNames, scope }, 0];
50
- }
51
- }
52
- };
53
- //# sourceMappingURL=tableSchema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tableSchema.js","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/tableSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAG/C,MAAM,aAAa,GAAG,UAAU,CAAC;IAC/B,UAAU,EAAE,OAAO;IACnB,WAAW,EAAE,SAAS;IACtB,cAAc,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE;CACnE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,WAAW,GAAa;IACnC,GAAG,aAAa;IAChB,KAAK,EAAE;QACL,GAAG,aAAa,CAAC,KAAK;QACtB,QAAQ,EAAE;YACR;gBACE,GAAG,EAAE,OAAO;gBACZ,QAAQ,EAAE,CAAC,GAAgB,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC;aACvE;SACF;QACD,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE;QACjC,KAAK,CAAC,IAAU;YACd,MAAM,UAAU,GAAI,IAAI,CAAC,KAAK,CAAC,KAAgB,IAAI,SAAS,CAAA;YAC5D,OAAO;gBACL,OAAO;gBACP;oBACE,KAAK,EAAE,UAAU;iBAClB;gBACD,CAAC,OAAO,EAAE,CAAC,CAAC;aACb,CAAA;QACH,CAAC;KACF;IACD,SAAS,EAAE;QACT,GAAG,aAAa,CAAC,SAAS;QAC1B,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE;QACjC,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,GAAgB,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC;QACjG,KAAK,CAAC,IAAU;YACd,MAAM,UAAU,GAAI,IAAI,CAAC,KAAK,CAAC,KAAgB,IAAI,SAAS,CAAA;YAC5D,OAAO,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC,CAAA;QACzC,CAAC;KACF;IACD,UAAU,EAAE;QACV,GAAG,aAAa,CAAC,UAAU;QAC3B,QAAQ,EAAE;YACR;gBACE,GAAG,EAAE,IAAI;gBACT,QAAQ,EAAE,CAAC,GAAgB,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC;aACzG;SACF;QACD,KAAK,CAAC,IAAU;YACd,MAAM,UAAU,GAAI,IAAI,CAAC,KAAK,CAAC,KAAgB,IAAI,SAAS,CAAA;YAC5D,MAAM,KAAK,GAAI,IAAI,CAAC,KAAK,CAAC,KAAgB,IAAI,SAAS,CAAA;YACvD,OAAO,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,CAAA;QAChD,CAAC;KACF;CACF,CAAA"}
@@ -1,3 +0,0 @@
1
- import { MarkSpec } from 'prosemirror-model';
2
- export declare const spanWithNowrap: MarkSpec;
3
- //# sourceMappingURL=spanWithNowrap.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spanWithNowrap.d.ts","sourceRoot":"","sources":["../../../../src/components/grading-instructions/editor/spanWithNowrap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAElD,eAAO,MAAM,cAAc,EAAE,QAiB5B,CAAA"}
@@ -1,19 +0,0 @@
1
- export const spanWithNowrap = {
2
- spanWithClass: {
3
- attrs: {
4
- class: { default: null }
5
- },
6
- parseDOM: [
7
- {
8
- tag: 'span[class="e-nowrap"]',
9
- getAttrs(dom) {
10
- return { class: dom.getAttribute('class') || null };
11
- }
12
- }
13
- ],
14
- toDOM(node) {
15
- return ['span', { class: node.attrs.class }, 0];
16
- }
17
- }
18
- };
19
- //# sourceMappingURL=spanWithNowrap.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spanWithNowrap.js","sourceRoot":"","sources":["../../../../src/components/grading-instructions/editor/spanWithNowrap.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAa;IACtC,aAAa,EAAE;QACb,KAAK,EAAE;YACL,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;SACzB;QACD,QAAQ,EAAE;YACR;gBACE,GAAG,EAAE,wBAAwB;gBAC7B,QAAQ,CAAC,GAAgB;oBACvB,OAAO,EAAE,KAAK,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,IAAI,EAAE,CAAA;gBACrD,CAAC;aACF;SACF;QACD,KAAK,CAAC,IAAU;YACd,OAAO,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAe,EAAE,EAAE,CAAC,CAAC,CAAA;QAC3D,CAAC;KACF;CACF,CAAA"}