@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
@@ -2,16 +2,11 @@ import React from 'react';
2
2
  export interface GradingInstructionPropsBase {
3
3
  children?: React.ReactNode;
4
4
  }
5
- export interface EditableProps extends GradingInstructionPropsBase {
6
- editable: true;
7
- onContentChange: (answerHTML: string, path: string) => void;
8
- onSaveImage: (file: File, displayNumber?: string) => Promise<string>;
9
- }
10
- export interface NotEditableProps extends GradingInstructionPropsBase {
11
- editable?: false;
12
- onContentChange?: never;
13
- onSaveImage?: never;
14
- }
15
- export type GradingInstructionProps = EditableProps | NotEditableProps;
5
+ export type GradingInstructionProps = GradingInstructionPropsBase & {
6
+ EditorComponent?: React.ComponentType<{
7
+ element: Element;
8
+ displayNumber: string;
9
+ }>;
10
+ };
16
11
  export declare const GradingInstructionContext: React.Context<GradingInstructionProps>;
17
12
  //# sourceMappingURL=GradingInstructionContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GradingInstructionContext.d.ts","sourceRoot":"","sources":["../../../src/components/context/GradingInstructionContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,MAAM,WAAW,aAAc,SAAQ,2BAA2B;IAChE,QAAQ,EAAE,IAAI,CAAA;IACd,eAAe,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3D,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;CACrE;AAED,MAAM,WAAW,gBAAiB,SAAQ,2BAA2B;IACnE,QAAQ,CAAC,EAAE,KAAK,CAAA;IAChB,eAAe,CAAC,EAAE,KAAK,CAAA;IACvB,WAAW,CAAC,EAAE,KAAK,CAAA;CACpB;AAED,MAAM,MAAM,uBAAuB,GAAG,aAAa,GAAG,gBAAgB,CAAA;AAEtE,eAAO,MAAM,yBAAyB,wCAAqD,CAAA"}
1
+ {"version":3,"file":"GradingInstructionContext.d.ts","sourceRoot":"","sources":["../../../src/components/context/GradingInstructionContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B;AAED,MAAM,MAAM,uBAAuB,GAAG,2BAA2B,GAAG;IAClE,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CACnF,CAAA;AAED,eAAO,MAAM,yBAAyB,wCAAqD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"GradingInstructionContext.js","sourceRoot":"","sources":["../../../src/components/context/GradingInstructionContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAoBzB,MAAM,CAAC,MAAM,yBAAyB,GAAG,KAAK,CAAC,aAAa,CAAC,EAA6B,CAAC,CAAA"}
1
+ {"version":3,"file":"GradingInstructionContext.js","sourceRoot":"","sources":["../../../src/components/context/GradingInstructionContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAUzB,MAAM,CAAC,MAAM,yBAAyB,GAAG,KAAK,CAAC,aAAa,CAAC,EAA6B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"AnswerGradingInstruction.d.ts","sourceRoot":"","sources":["../../../src/components/grading-instructions/AnswerGradingInstruction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAIjE,QAAA,MAAM,wBAAwB,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAOzE,CAAA;AAED,eAAe,wBAAwB,CAAA"}
1
+ {"version":3,"file":"AnswerGradingInstruction.d.ts","sourceRoot":"","sources":["../../../src/components/grading-instructions/AnswerGradingInstruction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAA;AAIjE,QAAA,MAAM,wBAAwB,EAAE,KAAK,CAAC,iBAAiB,CAAC,kBAAkB,CAazE,CAAA;AAED,eAAe,wBAAwB,CAAA"}
@@ -1,9 +1,10 @@
1
1
  import React, { useContext } from 'react';
2
2
  import { GradingInstructionContext } from '../context/GradingInstructionContext';
3
- import EditableGradingInstruction from './EditableGradingInstruction';
3
+ import { QuestionContext } from '../context/QuestionContext';
4
4
  const AnswerGradingInstruction = ({ element, renderChildNodes }) => {
5
- const { editable } = useContext(GradingInstructionContext);
6
- return (React.createElement("div", { className: "e-answer-grading-instruction e-multiline-results-text-answer e-mrg-b-2 e-pad-l-2" }, editable ? React.createElement(EditableGradingInstruction, { element: element }) : renderChildNodes(element)));
5
+ const { EditorComponent } = useContext(GradingInstructionContext);
6
+ const { displayNumber } = useContext(QuestionContext);
7
+ return (React.createElement("div", { className: "e-answer-grading-instruction e-multiline-results-text-answer e-mrg-b-2 e-pad-l-2" }, EditorComponent ? (React.createElement(EditorComponent, { element: element, displayNumber: displayNumber })) : (renderChildNodes(element))));
7
8
  };
8
9
  export default AnswerGradingInstruction;
9
10
  //# sourceMappingURL=AnswerGradingInstruction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AnswerGradingInstruction.js","sourceRoot":"","sources":["../../../src/components/grading-instructions/AnswerGradingInstruction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAA;AAChF,OAAO,0BAA0B,MAAM,8BAA8B,CAAA;AAErE,MAAM,wBAAwB,GAAgD,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE;IAC9G,MAAM,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC,yBAAyB,CAAC,CAAA;IAC1D,OAAO,CACL,6BAAK,SAAS,EAAC,kFAAkF,IAC9F,QAAQ,CAAC,CAAC,CAAC,oBAAC,0BAA0B,IAAC,OAAO,EAAE,OAAO,GAAI,CAAC,CAAC,CAAC,gBAAgB,CAAC,OAAO,CAAC,CACpF,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,wBAAwB,CAAA"}
1
+ {"version":3,"file":"AnswerGradingInstruction.js","sourceRoot":"","sources":["../../../src/components/grading-instructions/AnswerGradingInstruction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAA;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,MAAM,wBAAwB,GAAgD,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,EAAE;IAC9G,MAAM,EAAE,eAAe,EAAE,GAAG,UAAU,CAAC,yBAAyB,CAAC,CAAA;IACjE,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC,eAAe,CAAC,CAAA;IAErD,OAAO,CACL,6BAAK,SAAS,EAAC,kFAAkF,IAC9F,eAAe,CAAC,CAAC,CAAC,CACjB,oBAAC,eAAe,IAAC,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,aAAa,GAAI,CACpE,CAAC,CAAC,CAAC,CACF,gBAAgB,CAAC,OAAO,CAAC,CAC1B,CACG,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,wBAAwB,CAAA"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { GradingInstructionProps } from '../context/GradingInstructionContext';
3
- export declare const GradingInstructionProvider: ({ editable, onContentChange, onSaveImage, children }: GradingInstructionProps) => React.JSX.Element;
3
+ export declare const GradingInstructionProvider: ({ EditorComponent, children }: GradingInstructionProps) => React.JSX.Element;
4
4
  //# sourceMappingURL=GradingInstructionProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GradingInstructionProvider.d.ts","sourceRoot":"","sources":["../../../src/components/grading-instructions/GradingInstructionProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAA6B,uBAAuB,EAAE,MAAM,sCAAsC,CAAA;AAEzG,eAAO,MAAM,0BAA0B,yDAKpC,uBAAuB,sBAGzB,CAAA"}
1
+ {"version":3,"file":"GradingInstructionProvider.d.ts","sourceRoot":"","sources":["../../../src/components/grading-instructions/GradingInstructionProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAA6B,uBAAuB,EAAE,MAAM,sCAAsC,CAAA;AAEzG,eAAO,MAAM,0BAA0B,kCAAmC,uBAAuB,sBAIhG,CAAA"}
@@ -1,7 +1,4 @@
1
1
  import React from 'react';
2
2
  import { GradingInstructionContext } from '../context/GradingInstructionContext';
3
- export const GradingInstructionProvider = ({ editable, onContentChange, onSaveImage, children }) => {
4
- const contextValue = editable ? { editable, onContentChange, onSaveImage } : { editable };
5
- return React.createElement(GradingInstructionContext.Provider, { value: contextValue }, children);
6
- };
3
+ export const GradingInstructionProvider = ({ EditorComponent, children }) => (React.createElement(GradingInstructionContext.Provider, { value: { EditorComponent: EditorComponent } }, children));
7
4
  //# sourceMappingURL=GradingInstructionProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GradingInstructionProvider.js","sourceRoot":"","sources":["../../../src/components/grading-instructions/GradingInstructionProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,yBAAyB,EAA2B,MAAM,sCAAsC,CAAA;AAEzG,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,EACzC,QAAQ,EACR,eAAe,EACf,WAAW,EACX,QAAQ,EACgB,EAAE,EAAE;IAC5B,MAAM,YAAY,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAA;IACzF,OAAO,oBAAC,yBAAyB,CAAC,QAAQ,IAAC,KAAK,EAAE,YAAY,IAAG,QAAQ,CAAsC,CAAA;AACjH,CAAC,CAAA"}
1
+ {"version":3,"file":"GradingInstructionProvider.js","sourceRoot":"","sources":["../../../src/components/grading-instructions/GradingInstructionProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,yBAAyB,EAA2B,MAAM,sCAAsC,CAAA;AAEzG,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,EAAE,eAAe,EAAE,QAAQ,EAA2B,EAAE,EAAE,CAAC,CACpG,oBAAC,yBAAyB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,eAAe,EAAE,eAAe,EAAE,IAC5E,QAAQ,CAC0B,CACtC,CAAA"}
@@ -1,7 +1,11 @@
1
1
  import React from 'react';
2
2
  import { AnnotationProps, CommonExamProps } from '../exam/Exam';
3
- import { GradingInstructionProps } from '../context/GradingInstructionContext';
4
3
  export declare const GradingInstructionsPageTitle: React.FunctionComponent;
5
- declare const _default: React.MemoExoticComponent<React.ComponentType<CommonExamProps & (AnnotationProps & GradingInstructionProps)>>;
4
+ declare const _default: React.MemoExoticComponent<React.ComponentType<CommonExamProps & AnnotationProps & import("../context/GradingInstructionContext").GradingInstructionPropsBase & {
5
+ EditorComponent?: React.ComponentType<{
6
+ element: Element;
7
+ displayNumber: string;
8
+ }>;
9
+ }>>;
6
10
  export default _default;
7
11
  //# sourceMappingURL=GradingInstructions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GradingInstructions.d.ts","sourceRoot":"","sources":["../../../src/components/grading-instructions/GradingInstructions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAA;AAcpD,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAoB/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAA;AAmH9E,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,iBAGhD,CAAA;;AAED,wBAAqE"}
1
+ {"version":3,"file":"GradingInstructions.d.ts","sourceRoot":"","sources":["../../../src/components/grading-instructions/GradingInstructions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAA;AAcpD,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAmI/D,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,iBAGhD,CAAA;;sBAjJuB,MAAO,aAAa;;;;;AAmJ5C,wBAAqE"}
@@ -71,7 +71,7 @@ const renderChildNodes = createRenderChildNodes({
71
71
  'section-title': SectionTitle,
72
72
  video: Recording
73
73
  });
74
- const GradingInstructions = ({ doc, annotations, onClickAnnotation, onSaveAnnotation, editable, onContentChange, onSaveImage }) => {
74
+ const GradingInstructions = ({ doc, annotations, onClickAnnotation, onSaveAnnotation, EditorComponent }) => {
75
75
  const root = doc.documentElement;
76
76
  const { date, dateTimeFormatter, dayCode, examCode, language, subjectLanguage } = useContext(CommonExamContext);
77
77
  const examTitle = findChildElement(root, 'exam-title');
@@ -85,9 +85,8 @@ const GradingInstructions = ({ doc, annotations, onClickAnnotation, onSaveAnnota
85
85
  const i18n = useCached(() => initI18n(language, examCode, dayCode));
86
86
  useEffect(changeLanguage(i18n, language));
87
87
  useEffect(scrollToHash, []);
88
- const props = editable ? { editable, onContentChange, onSaveImage } : { editable };
89
88
  return (React.createElement(AnnotationProvider, { annotations: annotations, onClickAnnotation: onClickAnnotation, onSaveAnnotation: onSaveAnnotation },
90
- React.createElement(GradingInstructionProvider, { ...props },
89
+ React.createElement(GradingInstructionProvider, { EditorComponent: EditorComponent },
91
90
  React.createElement(I18nextProvider, { i18n: i18n },
92
91
  React.createElement("main", { className: "e-exam e-grading-instructions", lang: subjectLanguage },
93
92
  React.createElement(React.StrictMode, null),
@@ -1 +1 @@
1
- {"version":3,"file":"GradingInstructions.js","sourceRoot":"","sources":["../../../src/components/grading-instructions/GradingInstructions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,O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IAAI,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"GradingInstructions.js","sourceRoot":"","sources":["../../../src/components/grading-instructions/GradingInstructions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAClE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAC5C,OAAO,kBAAkB,MAAM,uBAAuB,CAAA;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AAClE,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAA;AAEvF,OAAO,mBAAmB,MAAM,6BAA6B,CAAA;AAC7D,OAAO,gBAAgB,MAAM,0BAA0B,CAAA;AACvD,OAAO,iBAAiB,MAAM,2BAA2B,CAAA;AACzD,OAAO,eAAe,MAAM,2BAA2B,CAAA;AACvD,OAAO,IAAI,MAAM,gBAAgB,CAAA;AACjC,OAAO,OAAO,MAAM,mBAAmB,CAAA;AACvC,OAAO,KAAK,MAAM,iBAAiB,CAAA;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;A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