@digabi/exam-engine-core 22.0.2 → 22.0.4-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/__tests__/EditableGradingInstruction.test.d.ts +1 -1
- package/dist/__tests__/EditableGradingInstruction.test.d.ts.map +1 -1
- package/dist/__tests__/EditableGradingInstruction.test.js +13 -10
- package/dist/__tests__/EditableGradingInstruction.test.js.map +1 -1
- package/dist/__tests__/EditableGradingInstructionLocalization.test.d.ts +2 -0
- package/dist/__tests__/EditableGradingInstructionLocalization.test.d.ts.map +1 -0
- package/dist/__tests__/EditableGradingInstructionLocalization.test.js +112 -0
- package/dist/__tests__/EditableGradingInstructionLocalization.test.js.map +1 -0
- package/dist/__tests__/annotations.test.js +7 -7
- package/dist/__tests__/annotations.test.js.map +1 -1
- package/dist/__tests__/editor/FormatButton.test.d.ts +2 -0
- package/dist/__tests__/editor/FormatButton.test.d.ts.map +1 -0
- package/dist/__tests__/editor/FormatButton.test.js +98 -0
- package/dist/__tests__/editor/FormatButton.test.js.map +1 -0
- package/dist/__tests__/editor/Formula.test.js +27 -9
- package/dist/__tests__/editor/Formula.test.js.map +1 -1
- package/dist/__tests__/editor/ImageUploadButton.test.d.ts +2 -0
- package/dist/__tests__/editor/ImageUploadButton.test.d.ts.map +1 -0
- package/dist/__tests__/editor/ImageUploadButton.test.js +94 -0
- package/dist/__tests__/editor/ImageUploadButton.test.js.map +1 -0
- package/dist/__tests__/editor/List.test.d.ts +2 -0
- package/dist/__tests__/editor/List.test.d.ts.map +1 -0
- package/dist/__tests__/editor/List.test.js +72 -0
- package/dist/__tests__/editor/List.test.js.map +1 -0
- package/dist/__tests__/editor/Table.test.d.ts +2 -0
- package/dist/__tests__/editor/Table.test.d.ts.map +1 -0
- package/dist/__tests__/editor/Table.test.js +172 -0
- package/dist/__tests__/editor/Table.test.js.map +1 -0
- package/dist/__tests__/editor/br.test.js +2 -6
- package/dist/__tests__/editor/br.test.js.map +1 -1
- package/dist/__tests__/editor/hr.test.js +2 -6
- package/dist/__tests__/editor/hr.test.js.map +1 -1
- package/dist/__tests__/editor/{NBSP.test.js → nbsp.test.js} +3 -7
- package/dist/__tests__/editor/nbsp.test.js.map +1 -0
- package/dist/__tests__/editor/noWrap.test.js +1 -1
- package/dist/__tests__/editor/noWrap.test.js.map +1 -1
- package/dist/__tests__/editor/spanWithLang.test.d.ts +2 -0
- package/dist/__tests__/editor/spanWithLang.test.d.ts.map +1 -0
- package/dist/__tests__/editor/{no-wrap.test.js → spanWithLang.test.js} +9 -14
- package/dist/__tests__/editor/spanWithLang.test.js.map +1 -0
- package/dist/__tests__/editor/subSup.test.d.ts +2 -0
- package/dist/__tests__/editor/subSup.test.d.ts.map +1 -0
- package/dist/__tests__/editor/subSup.test.js +50 -0
- package/dist/__tests__/editor/subSup.test.js.map +1 -0
- package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
- package/dist/__tests__/utils/prosemirror.d.ts +0 -1
- package/dist/__tests__/utils/prosemirror.d.ts.map +1 -1
- package/dist/__tests__/utils/prosemirror.js +0 -8
- package/dist/__tests__/utils/prosemirror.js.map +1 -1
- package/dist/__tests__/utils/renderEditableGradingInstruction.d.ts +2 -0
- package/dist/__tests__/utils/renderEditableGradingInstruction.d.ts.map +1 -1
- package/dist/__tests__/utils/renderEditableGradingInstruction.js +8 -2
- package/dist/__tests__/utils/renderEditableGradingInstruction.js.map +1 -1
- package/dist/__tests__/utils/util.d.ts +2 -0
- package/dist/__tests__/utils/util.d.ts.map +1 -0
- package/dist/__tests__/utils/util.js +10 -0
- package/dist/__tests__/utils/util.js.map +1 -0
- package/dist/components/Localization.d.ts +5 -0
- package/dist/components/Localization.d.ts.map +1 -0
- package/dist/components/Localization.js +9 -0
- package/dist/components/Localization.js.map +1 -0
- package/dist/components/context/AnnotationProvider.d.ts +2 -2
- package/dist/components/context/AnnotationProvider.d.ts.map +1 -1
- package/dist/components/context/AnnotationProvider.js +3 -2
- package/dist/components/context/AnnotationProvider.js.map +1 -1
- package/dist/components/context/CommonExamContext.d.ts +1 -0
- package/dist/components/context/CommonExamContext.d.ts.map +1 -1
- package/dist/components/context/CommonExamContext.js +3 -0
- package/dist/components/context/CommonExamContext.js.map +1 -1
- package/dist/components/context/GradingInstructionContext.d.ts +2 -2
- package/dist/components/context/GradingInstructionContext.d.ts.map +1 -1
- package/dist/components/grading-instructions/AnswerGradingInstruction.d.ts.map +1 -1
- package/dist/components/grading-instructions/AnswerGradingInstruction.js +7 -2
- package/dist/components/grading-instructions/AnswerGradingInstruction.js.map +1 -1
- package/dist/components/grading-instructions/EditableGradingInstruction.d.ts.map +1 -1
- package/dist/components/grading-instructions/EditableGradingInstruction.js +76 -40
- package/dist/components/grading-instructions/EditableGradingInstruction.js.map +1 -1
- package/dist/components/grading-instructions/GradingInstruction.d.ts +7 -0
- package/dist/components/grading-instructions/GradingInstruction.d.ts.map +1 -0
- package/dist/components/grading-instructions/GradingInstruction.js +9 -0
- package/dist/components/grading-instructions/GradingInstruction.js.map +1 -0
- package/dist/components/grading-instructions/GradingInstructionProvider.d.ts +1 -1
- package/dist/components/grading-instructions/GradingInstructionProvider.d.ts.map +1 -1
- package/dist/components/grading-instructions/GradingInstructionProvider.js +2 -2
- package/dist/components/grading-instructions/GradingInstructionProvider.js.map +1 -1
- package/dist/components/grading-instructions/GradingInstructions.d.ts +2 -1
- package/dist/components/grading-instructions/GradingInstructions.d.ts.map +1 -1
- package/dist/components/grading-instructions/GradingInstructions.js +18 -15
- package/dist/components/grading-instructions/GradingInstructions.js.map +1 -1
- package/dist/components/grading-instructions/editor/AttributeToggleButton.d.ts +9 -0
- package/dist/components/grading-instructions/editor/AttributeToggleButton.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/AttributeToggleButton.js +53 -0
- package/dist/components/grading-instructions/editor/AttributeToggleButton.js.map +1 -0
- package/dist/components/grading-instructions/editor/CurrentElement.d.ts +2 -0
- package/dist/components/grading-instructions/editor/CurrentElement.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/CurrentElement.js +8 -0
- package/dist/components/grading-instructions/editor/CurrentElement.js.map +1 -0
- package/dist/components/grading-instructions/editor/CurrentLocalization.d.ts +7 -0
- package/dist/components/grading-instructions/editor/CurrentLocalization.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/CurrentLocalization.js +13 -0
- package/dist/components/grading-instructions/editor/CurrentLocalization.js.map +1 -0
- package/dist/components/grading-instructions/editor/FormatButton.d.ts +0 -1
- package/dist/components/grading-instructions/editor/FormatButton.d.ts.map +1 -1
- package/dist/components/grading-instructions/editor/FormatButton.js +1 -1
- package/dist/components/grading-instructions/editor/FormatButton.js.map +1 -1
- package/dist/components/grading-instructions/editor/Formula.d.ts +1 -3
- package/dist/components/grading-instructions/editor/Formula.d.ts.map +1 -1
- package/dist/components/grading-instructions/editor/Formula.js +1 -41
- package/dist/components/grading-instructions/editor/Formula.js.map +1 -1
- package/dist/components/grading-instructions/editor/ImageUploadButton.d.ts +6 -0
- package/dist/components/grading-instructions/editor/ImageUploadButton.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/ImageUploadButton.js +77 -0
- package/dist/components/grading-instructions/editor/ImageUploadButton.js.map +1 -0
- package/dist/components/grading-instructions/editor/List.d.ts +9 -0
- package/dist/components/grading-instructions/editor/List.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/List.js +41 -0
- package/dist/components/grading-instructions/editor/List.js.map +1 -0
- package/dist/components/grading-instructions/editor/Localization.d.ts +3 -0
- package/dist/components/grading-instructions/editor/Localization.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/Localization.js +36 -0
- package/dist/components/grading-instructions/editor/Localization.js.map +1 -0
- package/dist/components/grading-instructions/editor/LocalizationButtons.d.ts +6 -0
- package/dist/components/grading-instructions/editor/LocalizationButtons.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/LocalizationButtons.js +14 -0
- package/dist/components/grading-instructions/editor/LocalizationButtons.js.map +1 -0
- package/dist/components/grading-instructions/editor/NBSP.d.ts.map +1 -1
- package/dist/components/grading-instructions/editor/NBSP.js +1 -1
- package/dist/components/grading-instructions/editor/NBSP.js.map +1 -1
- package/dist/components/grading-instructions/editor/Table.d.ts +4 -3
- package/dist/components/grading-instructions/editor/Table.d.ts.map +1 -1
- package/dist/components/grading-instructions/editor/Table.js +66 -80
- package/dist/components/grading-instructions/editor/Table.js.map +1 -1
- package/dist/components/grading-instructions/editor/findNode.d.ts +3 -0
- package/dist/components/grading-instructions/editor/findNode.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/findNode.js +10 -0
- package/dist/components/grading-instructions/editor/findNode.js.map +1 -0
- package/dist/components/grading-instructions/editor/localizatio.d.ts +3 -0
- package/dist/components/grading-instructions/editor/localizatio.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/localizatio.js +36 -0
- package/dist/components/grading-instructions/editor/localizatio.js.map +1 -0
- package/dist/components/grading-instructions/editor/localizationSpan.d.ts +3 -0
- package/dist/components/grading-instructions/editor/localizationSpan.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/localizationSpan.js +36 -0
- package/dist/components/grading-instructions/editor/localizationSpan.js.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/formulaSchema.d.ts +4 -0
- package/dist/components/grading-instructions/editor/schemas/formulaSchema.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/formulaSchema.js +62 -0
- package/dist/components/grading-instructions/editor/schemas/formulaSchema.js.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/image-schema.d.ts +4 -0
- package/dist/components/grading-instructions/editor/schemas/image-schema.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/image-schema.js +47 -0
- package/dist/components/grading-instructions/editor/schemas/image-schema.js.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/imageSchema.d.ts +4 -0
- package/dist/components/grading-instructions/editor/schemas/imageSchema.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/imageSchema.js +61 -0
- package/dist/components/grading-instructions/editor/schemas/imageSchema.js.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/listSchema.d.ts +72 -0
- package/dist/components/grading-instructions/editor/schemas/listSchema.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/listSchema.js +7 -0
- package/dist/components/grading-instructions/editor/schemas/listSchema.js.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/localizationSchema.d.ts +3 -0
- package/dist/components/grading-instructions/editor/schemas/localizationSchema.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/localizationSchema.js +39 -0
- package/dist/components/grading-instructions/editor/schemas/localizationSchema.js.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/spanWithLangSchema.d.ts +3 -0
- package/dist/components/grading-instructions/editor/schemas/spanWithLangSchema.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/spanWithLangSchema.js +19 -0
- package/dist/components/grading-instructions/editor/schemas/spanWithLangSchema.js.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/spanWithNowrapSchema.d.ts +3 -0
- package/dist/components/grading-instructions/editor/schemas/spanWithNowrapSchema.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/{spanWithClass.js → schemas/spanWithNowrapSchema.js} +4 -4
- package/dist/components/grading-instructions/editor/schemas/spanWithNowrapSchema.js.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/subSupSchema.d.ts +3 -0
- package/dist/components/grading-instructions/editor/schemas/subSupSchema.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/subSupSchema.js +23 -0
- package/dist/components/grading-instructions/editor/schemas/subSupSchema.js.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/tableSchema.d.ts +3 -0
- package/dist/components/grading-instructions/editor/schemas/tableSchema.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/schemas/tableSchema.js +43 -0
- package/dist/components/grading-instructions/editor/schemas/tableSchema.js.map +1 -0
- package/dist/components/grading-instructions/editor/spanWithPath.d.ts +3 -0
- package/dist/components/grading-instructions/editor/spanWithPath.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/spanWithPath.js +24 -0
- package/dist/components/grading-instructions/editor/spanWithPath.js.map +1 -0
- package/dist/components/grading-instructions/editor/util.d.ts +6 -0
- package/dist/components/grading-instructions/editor/util.d.ts.map +1 -0
- package/dist/components/grading-instructions/editor/util.js +10 -0
- package/dist/components/grading-instructions/editor/util.js.map +1 -0
- package/dist/components/shared/AnnotationMark.d.ts +1 -1
- package/dist/components/shared/AnnotationMark.d.ts.map +1 -1
- package/dist/components/shared/AnnotationPopup.d.ts +1 -1
- package/dist/components/shared/AnnotationPopup.d.ts.map +1 -1
- package/dist/components/shared/AnnotationPopup.js +11 -70
- package/dist/components/shared/AnnotationPopup.js.map +1 -1
- package/dist/components/shared/markText.d.ts +1 -1
- package/dist/components/shared/markText.d.ts.map +1 -1
- package/dist/components/shared/markText.js.map +1 -1
- package/dist/main-bundle.js +1 -1
- package/dist/main-bundle.js.LICENSE.txt +1 -1
- package/dist/main.css +1 -1
- package/package.json +12 -3
- package/dist/__tests__/EditableGradingInsatruction.test.d.ts +0 -1
- package/dist/__tests__/EditableGradingInsatruction.test.d.ts.map +0 -1
- package/dist/__tests__/EditableGradingInsatruction.test.js +0 -2
- package/dist/__tests__/EditableGradingInsatruction.test.js.map +0 -1
- package/dist/__tests__/editor/NBSP.test.js.map +0 -1
- package/dist/__tests__/editor/no-wrap.test.d.ts +0 -2
- package/dist/__tests__/editor/no-wrap.test.d.ts.map +0 -1
- package/dist/__tests__/editor/no-wrap.test.js.map +0 -1
- package/dist/__tests__/utils/EditableGradingInstructionsWrapper.d.ts +0 -1
- package/dist/__tests__/utils/EditableGradingInstructionsWrapper.d.ts.map +0 -1
- package/dist/__tests__/utils/EditableGradingInstructionsWrapper.js +0 -2
- package/dist/__tests__/utils/EditableGradingInstructionsWrapper.js.map +0 -1
- package/dist/__tests__/utils/renderEditableGradingInstructions.d.ts +0 -1
- package/dist/__tests__/utils/renderEditableGradingInstructions.d.ts.map +0 -1
- package/dist/__tests__/utils/renderEditableGradingInstructions.js +0 -2
- package/dist/__tests__/utils/renderEditableGradingInstructions.js.map +0 -1
- package/dist/components/LexicalEditor.d.ts +0 -3
- package/dist/components/LexicalEditor.d.ts.map +0 -1
- package/dist/components/LexicalEditor.js +0 -44
- package/dist/components/LexicalEditor.js.map +0 -1
- package/dist/components/RTE.d.ts +0 -3
- package/dist/components/RTE.d.ts.map +0 -1
- package/dist/components/RTE.js +0 -23
- package/dist/components/RTE.js.map +0 -1
- package/dist/components/TablePlugin.d.ts +0 -1
- package/dist/components/TablePlugin.d.ts.map +0 -1
- package/dist/components/TablePlugin.js +0 -2
- package/dist/components/TablePlugin.js.map +0 -1
- package/dist/components/ToolBarPlugin.d.ts +0 -10
- package/dist/components/ToolBarPlugin.d.ts.map +0 -1
- package/dist/components/ToolBarPlugin.js +0 -111
- package/dist/components/ToolBarPlugin.js.map +0 -1
- package/dist/components/context/AnnotationContext.d.ts +0 -8
- package/dist/components/context/AnnotationContext.d.ts.map +0 -1
- package/dist/components/context/AnnotationContext.js +0 -3
- package/dist/components/context/AnnotationContext.js.map +0 -1
- package/dist/components/exam/ExamineExam.d.ts +0 -5
- package/dist/components/exam/ExamineExam.d.ts.map +0 -1
- package/dist/components/exam/ExamineExam.js +0 -20
- package/dist/components/exam/ExamineExam.js.map +0 -1
- package/dist/components/exam/FinishExam.d.ts +0 -5
- package/dist/components/exam/FinishExam.d.ts.map +0 -1
- package/dist/components/exam/FinishExam.js +0 -17
- package/dist/components/exam/FinishExam.js.map +0 -1
- package/dist/components/grading/reactAnnotation.d.ts +0 -4
- package/dist/components/grading/reactAnnotation.d.ts.map +0 -1
- package/dist/components/grading/reactAnnotation.js +0 -54
- package/dist/components/grading/reactAnnotation.js.map +0 -1
- package/dist/components/grading-instructions/SlateTableEditor.d.ts +0 -22
- package/dist/components/grading-instructions/SlateTableEditor.d.ts.map +0 -1
- package/dist/components/grading-instructions/SlateTableEditor.js +0 -44
- package/dist/components/grading-instructions/SlateTableEditor.js.map +0 -1
- package/dist/components/grading-instructions/SlateUtils.d.ts +0 -5
- package/dist/components/grading-instructions/SlateUtils.d.ts.map +0 -1
- package/dist/components/grading-instructions/SlateUtils.js +0 -28
- package/dist/components/grading-instructions/SlateUtils.js.map +0 -1
- package/dist/components/grading-instructions/editor/MathPopup.d.ts +0 -10
- package/dist/components/grading-instructions/editor/MathPopup.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/MathPopup.js +0 -94
- package/dist/components/grading-instructions/editor/MathPopup.js.map +0 -1
- package/dist/components/grading-instructions/editor/math-svg.d.ts +0 -2
- package/dist/components/grading-instructions/editor/math-svg.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/math-svg.js +0 -22
- package/dist/components/grading-instructions/editor/math-svg.js.map +0 -1
- package/dist/components/grading-instructions/editor/math.d.ts +0 -4
- package/dist/components/grading-instructions/editor/math.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/math.js +0 -55
- package/dist/components/grading-instructions/editor/math.js.map +0 -1
- package/dist/components/grading-instructions/editor/noWrap.d.ts +0 -3
- package/dist/components/grading-instructions/editor/noWrap.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/noWrap.js +0 -13
- package/dist/components/grading-instructions/editor/noWrap.js.map +0 -1
- package/dist/components/grading-instructions/editor/spanWithClass.d.ts +0 -3
- package/dist/components/grading-instructions/editor/spanWithClass.d.ts.map +0 -1
- package/dist/components/grading-instructions/editor/spanWithClass.js.map +0 -1
- package/dist/components/grading-instructions/prosemirror.d.ts +0 -8
- package/dist/components/grading-instructions/prosemirror.d.ts.map +0 -1
- package/dist/components/grading-instructions/prosemirror.js +0 -108
- package/dist/components/grading-instructions/prosemirror.js.map +0 -1
- package/dist/components/results/isExamFinishPageHook.d.ts +0 -2
- package/dist/components/results/isExamFinishPageHook.d.ts.map +0 -1
- package/dist/components/results/isExamFinishPageHook.js +0 -7
- package/dist/components/results/isExamFinishPageHook.js.map +0 -1
- package/dist/components/shared/CreateAnnotationPopup.d.ts +0 -6
- package/dist/components/shared/CreateAnnotationPopup.d.ts.map +0 -1
- package/dist/components/shared/CreateAnnotationPopup.js +0 -11
- package/dist/components/shared/CreateAnnotationPopup.js.map +0 -1
- package/dist/components/shared/PopupUtils.d.ts +0 -4
- package/dist/components/shared/PopupUtils.d.ts.map +0 -1
- package/dist/components/shared/PopupUtils.js +0 -26
- package/dist/components/shared/PopupUtils.js.map +0 -1
- package/dist/store/listenerMiddleware.d.ts +0 -89
- package/dist/store/listenerMiddleware.d.ts.map +0 -1
- package/dist/store/listenerMiddleware.js +0 -6
- package/dist/store/listenerMiddleware.js.map +0 -1
- /package/dist/__tests__/editor/{NBSP.test.d.ts → nbsp.test.d.ts} +0 -0
- /package/dist/__tests__/editor/{NBSP.test.d.ts.map → nbsp.test.d.ts.map} +0 -0
@@ -0,0 +1,72 @@
|
|
1
|
+
export declare const listSchema: {
|
2
|
+
ordered_list: {
|
3
|
+
content: string;
|
4
|
+
group: string;
|
5
|
+
marks?: string;
|
6
|
+
inline?: boolean;
|
7
|
+
atom?: boolean;
|
8
|
+
attrs?: {
|
9
|
+
[name: string]: import("prosemirror-model").AttributeSpec;
|
10
|
+
};
|
11
|
+
selectable?: boolean;
|
12
|
+
draggable?: boolean;
|
13
|
+
code?: boolean;
|
14
|
+
whitespace?: "pre" | "normal";
|
15
|
+
definingAsContext?: boolean;
|
16
|
+
definingForContent?: boolean;
|
17
|
+
defining?: boolean;
|
18
|
+
isolating?: boolean;
|
19
|
+
toDOM?: (node: import("prosemirror-model").Node) => import("prosemirror-model").DOMOutputSpec;
|
20
|
+
parseDOM?: readonly import("prosemirror-model").TagParseRule[];
|
21
|
+
toDebugString?: (node: import("prosemirror-model").Node) => string;
|
22
|
+
leafText?: (node: import("prosemirror-model").Node) => string;
|
23
|
+
linebreakReplacement?: boolean;
|
24
|
+
};
|
25
|
+
bullet_list: {
|
26
|
+
content: string;
|
27
|
+
group: string;
|
28
|
+
marks?: string;
|
29
|
+
inline?: boolean;
|
30
|
+
atom?: boolean;
|
31
|
+
attrs?: {
|
32
|
+
[name: string]: import("prosemirror-model").AttributeSpec;
|
33
|
+
};
|
34
|
+
selectable?: boolean;
|
35
|
+
draggable?: boolean;
|
36
|
+
code?: boolean;
|
37
|
+
whitespace?: "pre" | "normal";
|
38
|
+
definingAsContext?: boolean;
|
39
|
+
definingForContent?: boolean;
|
40
|
+
defining?: boolean;
|
41
|
+
isolating?: boolean;
|
42
|
+
toDOM?: (node: import("prosemirror-model").Node) => import("prosemirror-model").DOMOutputSpec;
|
43
|
+
parseDOM?: readonly import("prosemirror-model").TagParseRule[];
|
44
|
+
toDebugString?: (node: import("prosemirror-model").Node) => string;
|
45
|
+
leafText?: (node: import("prosemirror-model").Node) => string;
|
46
|
+
linebreakReplacement?: boolean;
|
47
|
+
};
|
48
|
+
list_item: {
|
49
|
+
content: string;
|
50
|
+
marks?: string;
|
51
|
+
group?: string;
|
52
|
+
inline?: boolean;
|
53
|
+
atom?: boolean;
|
54
|
+
attrs?: {
|
55
|
+
[name: string]: import("prosemirror-model").AttributeSpec;
|
56
|
+
};
|
57
|
+
selectable?: boolean;
|
58
|
+
draggable?: boolean;
|
59
|
+
code?: boolean;
|
60
|
+
whitespace?: "pre" | "normal";
|
61
|
+
definingAsContext?: boolean;
|
62
|
+
definingForContent?: boolean;
|
63
|
+
defining?: boolean;
|
64
|
+
isolating?: boolean;
|
65
|
+
toDOM?: (node: import("prosemirror-model").Node) => import("prosemirror-model").DOMOutputSpec;
|
66
|
+
parseDOM?: readonly import("prosemirror-model").TagParseRule[];
|
67
|
+
toDebugString?: (node: import("prosemirror-model").Node) => string;
|
68
|
+
leafText?: (node: import("prosemirror-model").Node) => string;
|
69
|
+
linebreakReplacement?: boolean;
|
70
|
+
};
|
71
|
+
};
|
72
|
+
//# sourceMappingURL=listSchema.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"listSchema.d.ts","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/listSchema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItB,CAAA"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { bulletList, listItem, orderedList } from 'prosemirror-schema-list';
|
2
|
+
export const listSchema = {
|
3
|
+
ordered_list: { ...orderedList, content: 'list_item+', group: 'block' },
|
4
|
+
bullet_list: { ...bulletList, content: 'list_item+', group: 'block' },
|
5
|
+
list_item: { ...listItem, content: 'paragraph block*' }
|
6
|
+
};
|
7
|
+
//# sourceMappingURL=listSchema.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"listSchema.js","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/listSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAE3E,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,YAAY,EAAE,EAAE,GAAG,WAAW,EAAE,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE;IACvE,WAAW,EAAE,EAAE,GAAG,UAAU,EAAE,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,OAAO,EAAE;IACrE,SAAS,EAAE,EAAE,GAAG,QAAQ,EAAE,OAAO,EAAE,kBAAkB,EAAE;CACxD,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"localizationSchema.d.ts","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/localizationSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAElD,wBAAgB,kBAAkB,CAAC,aAAa,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAoC7F"}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
export function localizationSchema(isInputSchema, mode) {
|
2
|
+
return {
|
3
|
+
[`localization_${mode}`]: {
|
4
|
+
content: `${mode}*`,
|
5
|
+
inline: mode === 'inline',
|
6
|
+
group: mode,
|
7
|
+
attrs: {
|
8
|
+
lang: { default: null },
|
9
|
+
examType: { default: null },
|
10
|
+
hidden: { default: null }
|
11
|
+
},
|
12
|
+
parseDOM: [
|
13
|
+
{
|
14
|
+
tag: `[data-editor-id="e-localization-${mode}"]`,
|
15
|
+
getAttrs(dom) {
|
16
|
+
var _a, _b, _c;
|
17
|
+
return {
|
18
|
+
lang: (_a = dom.getAttribute('lang')) !== null && _a !== void 0 ? _a : null,
|
19
|
+
examType: (_b = dom.getAttribute('exam-type')) !== null && _b !== void 0 ? _b : null,
|
20
|
+
hidden: isInputSchema ? ((_c = dom.getAttribute('hidden')) !== null && _c !== void 0 ? _c : null) : null
|
21
|
+
};
|
22
|
+
}
|
23
|
+
}
|
24
|
+
],
|
25
|
+
toDOM(node) {
|
26
|
+
return [
|
27
|
+
`${isInputSchema ? (mode === 'inline' ? 'span' : 'div') : 'e:localization'}`,
|
28
|
+
{
|
29
|
+
lang: node.attrs.lang,
|
30
|
+
'exam-type': node.attrs.examType,
|
31
|
+
hidden: isInputSchema ? node.attrs.hidden : null
|
32
|
+
},
|
33
|
+
0
|
34
|
+
];
|
35
|
+
}
|
36
|
+
}
|
37
|
+
};
|
38
|
+
}
|
39
|
+
//# sourceMappingURL=localizationSchema.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"localizationSchema.js","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/localizationSchema.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,kBAAkB,CAAC,aAAsB,EAAE,IAAwB;IACjF,OAAO;QACL,CAAC,gBAAgB,IAAI,EAAE,CAAC,EAAE;YACxB,OAAO,EAAE,GAAG,IAAI,GAAG;YACnB,MAAM,EAAE,IAAI,KAAK,QAAQ;YACzB,KAAK,EAAE,IAAI;YACX,KAAK,EAAE;gBACL,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;gBACvB,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;gBAC3B,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;aAC1B;YACD,QAAQ,EAAE;gBACR;oBACE,GAAG,EAAE,mCAAmC,IAAI,IAAI;oBAChD,QAAQ,CAAC,GAAgB;;wBACvB,OAAO;4BACL,IAAI,EAAE,MAAA,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,mCAAI,IAAI;4BACtC,QAAQ,EAAE,MAAA,GAAG,CAAC,YAAY,CAAC,WAAW,CAAC,mCAAI,IAAI;4BAC/C,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,MAAA,GAAG,CAAC,YAAY,CAAC,QAAQ,CAAC,mCAAI,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI;yBACpE,CAAA;oBACH,CAAC;iBACF;aACF;YACD,KAAK,CAAC,IAAU;gBACd,OAAO;oBACL,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,gBAAgB,EAAE;oBAC5E;wBACE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAc;wBAC/B,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,QAAkB;wBAC1C,MAAM,EAAE,aAAa,CAAC,CAAC,CAAE,IAAI,CAAC,KAAK,CAAC,MAAiB,CAAC,CAAC,CAAC,IAAI;qBAC7D;oBACD,CAAC;iBACF,CAAA;YACH,CAAC;SACF;KACF,CAAA;AACH,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"spanWithLangSchema.d.ts","sourceRoot":"","sources":["../../../../../src/components/grading-instructions/editor/schemas/spanWithLangSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAQ,MAAM,mBAAmB,CAAA;AAElD,eAAO,MAAM,kBAAkB,EAAE,QAiBhC,CAAA"}
|
@@ -0,0 +1,19 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1 @@
|
|
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,11 +1,11 @@
|
|
1
|
-
export const
|
2
|
-
|
1
|
+
export const spanWithNowrapSchema = {
|
2
|
+
spanWithNowrap: {
|
3
3
|
attrs: {
|
4
4
|
class: { default: null }
|
5
5
|
},
|
6
6
|
parseDOM: [
|
7
7
|
{
|
8
|
-
tag: 'span',
|
8
|
+
tag: 'span[class="e-nowrap"]',
|
9
9
|
getAttrs(dom) {
|
10
10
|
return { class: dom.getAttribute('class') || null };
|
11
11
|
}
|
@@ -16,4 +16,4 @@ export const spanWithClassSchema = {
|
|
16
16
|
}
|
17
17
|
}
|
18
18
|
};
|
19
|
-
//# sourceMappingURL=
|
19
|
+
//# sourceMappingURL=spanWithNowrapSchema.js.map
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1,23 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1 @@
|
|
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,QAmCzB,CAAA"}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { tableNodes } from 'prosemirror-tables';
|
2
|
+
const defaultSchema = tableNodes({
|
3
|
+
tableGroup: 'block',
|
4
|
+
cellContent: 'inline*',
|
5
|
+
cellAttributes: { class: { 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_cell: {
|
30
|
+
...defaultSchema.table_cell,
|
31
|
+
parseDOM: [
|
32
|
+
{
|
33
|
+
tag: 'td',
|
34
|
+
getAttrs: (dom) => ({ class: dom.getAttribute('class') })
|
35
|
+
}
|
36
|
+
],
|
37
|
+
toDOM(node) {
|
38
|
+
const classNames = node.attrs.class || undefined;
|
39
|
+
return ['td', { class: classNames }, 0];
|
40
|
+
}
|
41
|
+
}
|
42
|
+
};
|
43
|
+
//# sourceMappingURL=tableSchema.js.map
|
@@ -0,0 +1 @@
|
|
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;CAC3C,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,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,CAAC;aACvE;SACF;QACD,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;CACF,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"spanWithPath.d.ts","sourceRoot":"","sources":["../../../../src/components/grading-instructions/editor/spanWithPath.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAElD,eAAO,MAAM,cAAc,EAAE,QAqB5B,CAAA"}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
export const spanWithNowrap = {
|
2
|
+
spanWithClass: {
|
3
|
+
attrs: {
|
4
|
+
class: { default: null }
|
5
|
+
},
|
6
|
+
parseDOM: [
|
7
|
+
{
|
8
|
+
tag: 'span[path]',
|
9
|
+
getAttrs(dom) {
|
10
|
+
var _a, _b, _c;
|
11
|
+
return {
|
12
|
+
path: (_a = dom.getAttribute('path')) !== null && _a !== void 0 ? _a : null,
|
13
|
+
lang: (_b = dom.getAttribute('lang')) !== null && _b !== void 0 ? _b : null,
|
14
|
+
examType: (_c = dom.getAttribute('exam-type')) !== null && _c !== void 0 ? _c : null
|
15
|
+
};
|
16
|
+
}
|
17
|
+
}
|
18
|
+
],
|
19
|
+
toDOM(node) {
|
20
|
+
return ['span', { path: node.attrs.path, lang: node.attrs.lang, 'exam-type': node.attrs.examType }, 0];
|
21
|
+
}
|
22
|
+
}
|
23
|
+
};
|
24
|
+
//# sourceMappingURL=spanWithPath.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"spanWithPath.js","sourceRoot":"","sources":["../../../../src/components/grading-instructions/editor/spanWithPath.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,YAAY;gBACjB,QAAQ,CAAC,GAAgB;;oBACvB,OAAO;wBACL,IAAI,EAAE,MAAA,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,mCAAI,IAAI;wBACtC,IAAI,EAAE,MAAA,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,mCAAI,IAAI;wBACtC,QAAQ,EAAE,MAAA,GAAG,CAAC,YAAY,CAAC,WAAW,CAAC,mCAAI,IAAI;qBAChD,CAAA;gBACH,CAAC;aACF;SACF;QACD,KAAK,CAAC,IAAU;YACd,OAAO,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAc,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAA;QAClH,CAAC;KACF;CACF,CAAA"}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { Transaction } from 'prosemirror-state';
|
2
|
+
export declare function findMark(tr: Transaction, markType: string): import("prosemirror-model").Mark | undefined;
|
3
|
+
export declare function findAttributesFromCursor(tr: Transaction, markType: string): {
|
4
|
+
[key: string]: string;
|
5
|
+
};
|
6
|
+
//# sourceMappingURL=util.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/components/grading-instructions/editor/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/C,wBAAgB,QAAQ,CAAC,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,gDAIzD;AAED,wBAAgB,wBAAwB,CAAC,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAGrG"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export function findMark(tr, markType) {
|
2
|
+
const node = tr.doc.nodeAt(tr.selection.from);
|
3
|
+
return node === null || node === void 0 ? void 0 : node.marks.find(mark => mark.type.name == markType);
|
4
|
+
}
|
5
|
+
export function findAttributesFromCursor(tr, markType) {
|
6
|
+
var _a;
|
7
|
+
const mark = findMark(tr, markType);
|
8
|
+
return (_a = mark === null || mark === void 0 ? void 0 : mark.attrs) !== null && _a !== void 0 ? _a : {};
|
9
|
+
}
|
10
|
+
//# sourceMappingURL=util.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../../../src/components/grading-instructions/editor/util.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,QAAQ,CAAC,EAAe,EAAE,QAAgB;IACxD,MAAM,IAAI,GAAG,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAA;IAE7C,OAAO,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,QAAQ,CAAC,CAAA;AAC7D,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,EAAe,EAAE,QAAgB;;IACxE,MAAM,IAAI,GAAG,QAAQ,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAA;IACnC,OAAO,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,mCAAI,EAAE,CAAA;AAC1B,CAAC"}
|
@@ -4,6 +4,6 @@ export declare const AnnotationMark: ({ annotation, markedText, onClickAnnotatio
|
|
4
4
|
annotation: RenderableAnnotation | NewRenderableAnnotation;
|
5
5
|
markedText: string;
|
6
6
|
onClickAnnotation: (e: React.MouseEvent<HTMLElement, MouseEvent>, a: RenderableAnnotation) => void;
|
7
|
-
setNewAnnotationRef: (ref: HTMLElement |
|
7
|
+
setNewAnnotationRef: (ref: HTMLElement | null) => void;
|
8
8
|
}) => React.JSX.Element;
|
9
9
|
//# sourceMappingURL=AnnotationMark.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AnnotationMark.d.ts","sourceRoot":"","sources":["../../../src/components/shared/AnnotationMark.tsx"],"names":[],"mappings":"AACA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAChD,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAGjF,eAAO,MAAM,cAAc,uEAKxB;IACD,UAAU,EAAE,oBAAoB,GAAG,uBAAuB,CAAA;IAC1D,UAAU,EAAE,MAAM,CAAA;IAClB,iBAAiB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,CAAC,EAAE,oBAAoB,KAAK,IAAI,CAAA;IAClG,mBAAmB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,
|
1
|
+
{"version":3,"file":"AnnotationMark.d.ts","sourceRoot":"","sources":["../../../src/components/shared/AnnotationMark.tsx"],"names":[],"mappings":"AACA,OAAO,KAA4B,MAAM,OAAO,CAAA;AAChD,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAGjF,eAAO,MAAM,cAAc,uEAKxB;IACD,UAAU,EAAE,oBAAoB,GAAG,uBAAuB,CAAA;IAC1D,UAAU,EAAE,MAAM,CAAA;IAClB,iBAAiB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,CAAC,EAAE,oBAAoB,KAAK,IAAI,CAAA;IAClG,mBAAmB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAA;CACvD,sBAsBA,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AnnotationPopup.d.ts","sourceRoot":"","sources":["../../../src/components/shared/AnnotationPopup.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"AnnotationPopup.d.ts","sourceRoot":"","sources":["../../../src/components/shared/AnnotationPopup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,wBAAgB,eAAe,sBAmB9B"}
|
@@ -1,74 +1,15 @@
|
|
1
|
-
import React, { useContext
|
2
|
-
import { makeRichText } from 'rich-text-editor';
|
1
|
+
import React, { useContext } from 'react';
|
3
2
|
import { AnnotationContext } from '../context/AnnotationProvider';
|
3
|
+
import { Popup } from './Popup';
|
4
4
|
export function AnnotationPopup() {
|
5
|
-
const
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
makeRichText(textAreaRef.current, {
|
15
|
-
locale: 'FI',
|
16
|
-
screenshotSaver: () => Promise.resolve('')
|
17
|
-
}, value => {
|
18
|
-
setComment(value.answerHTML);
|
19
|
-
setSaveEnabled(value.answerHTML.trim().length > 0);
|
20
|
-
});
|
21
|
-
textAreaRef.current.focus();
|
22
|
-
}
|
23
|
-
}, [newAnnotationRef]);
|
24
|
-
if (!newAnnotation) {
|
25
|
-
if (comment) {
|
26
|
-
setComment('');
|
27
|
-
}
|
28
|
-
return null;
|
29
|
-
}
|
30
|
-
const closeEditor = () => {
|
31
|
-
setNewAnnotation(null);
|
32
|
-
closeMathEditor(textAreaRef.current);
|
33
|
-
};
|
34
|
-
function createNewAnnotation(annotation, comment) {
|
35
|
-
onSaveAnnotation(annotation, comment);
|
36
|
-
closeEditor();
|
37
|
-
}
|
38
|
-
return (React.createElement("div", { className: "annotation-popup", style: { position: 'absolute', opacity: 0 }, ref: popupRef, "data-testid": "annotation-popup" },
|
39
|
-
React.createElement("div", { className: "comment-content", "data-testid": "edit-comment", role: "textbox", "aria-multiline": "true", ref: textAreaRef }),
|
40
|
-
React.createElement("span", { className: "comment-button-area" },
|
41
|
-
React.createElement("span", null,
|
42
|
-
React.createElement("button", { className: "button", onClick: e => {
|
43
|
-
e.stopPropagation();
|
44
|
-
closeMathEditor(textAreaRef.current);
|
45
|
-
createNewAnnotation(newAnnotation, comment);
|
46
|
-
}, "data-testid": "save-comment", disabled: !saveEnabled }, "Tallenna"),
|
47
|
-
React.createElement("button", { className: "button text-button", onClick: closeEditor }, "Peru")))));
|
48
|
-
}
|
49
|
-
function showAndPositionElement(mark, popupRef) {
|
50
|
-
const popup = popupRef.current;
|
51
|
-
if (mark && popup) {
|
52
|
-
const style = popup.style;
|
53
|
-
const markRect = mark === null || mark === void 0 ? void 0 : mark.getBoundingClientRect();
|
54
|
-
const popupRect = popup.getBoundingClientRect();
|
55
|
-
const top = markRect.height + markRect.top + window.scrollY;
|
56
|
-
const windowWidth = window.innerWidth;
|
57
|
-
style.top = `${String(top)}px`;
|
58
|
-
style.opacity = '1';
|
59
|
-
const popupHitsWindowRight = markRect.left + popupRect.width > windowWidth;
|
60
|
-
if (popupHitsWindowRight) {
|
61
|
-
style.left = `${markRect.right - popupRect.width}px`;
|
62
|
-
}
|
63
|
-
else {
|
64
|
-
style.left = `${markRect.left}px`;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
}
|
68
|
-
function closeMathEditor(element) {
|
69
|
-
// rich-text-editor does not properly support several rich-text-editor instances created at different times.
|
70
|
-
// In order to close math editor that is open, we need to dispatch events like this.
|
71
|
-
element.dispatchEvent(new Event('focus', { bubbles: true, cancelable: true }));
|
72
|
-
element.dispatchEvent(new Event('blur', { bubbles: true, cancelable: true }));
|
5
|
+
const { newAnnotation, setNewAnnotation, newAnnotationRef, setNewAnnotationRef, onSaveAnnotation } = useContext(AnnotationContext);
|
6
|
+
return (React.createElement(Popup, { element: newAnnotationRef, initialTextContent: '', onValueSave: (comment) => {
|
7
|
+
onSaveAnnotation(newAnnotation, comment);
|
8
|
+
setNewAnnotation(null);
|
9
|
+
setNewAnnotationRef(null);
|
10
|
+
}, enableDelete: false, onCancel: () => {
|
11
|
+
setNewAnnotation(null);
|
12
|
+
setNewAnnotationRef(null);
|
13
|
+
} }));
|
73
14
|
}
|
74
15
|
//# sourceMappingURL=AnnotationPopup.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AnnotationPopup.js","sourceRoot":"","sources":["../../../src/components/shared/AnnotationPopup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,
|
1
|
+
{"version":3,"file":"AnnotationPopup.js","sourceRoot":"","sources":["../../../src/components/shared/AnnotationPopup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,MAAM,UAAU,eAAe;IAC7B,MAAM,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,GAChG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAC/B,OAAO,CACL,oBAAC,KAAK,IACJ,OAAO,EAAE,gBAAgB,EACzB,kBAAkB,EAAE,EAAE,EACtB,WAAW,EAAE,CAAC,OAAe,EAAE,EAAE;YAC/B,gBAAiB,CAAC,aAAc,EAAE,OAAO,CAAC,CAAA;YAC1C,gBAAgB,CAAC,IAAI,CAAC,CAAA;YACtB,mBAAmB,CAAC,IAAI,CAAC,CAAA;QAC3B,CAAC,EACD,YAAY,EAAE,KAAK,EACnB,QAAQ,EAAE,GAAG,EAAE;YACb,gBAAgB,CAAC,IAAI,CAAC,CAAA;YACtB,mBAAmB,CAAC,IAAI,CAAC,CAAA;QAC3B,CAAC,GACD,CACH,CAAA;AACH,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { NewRenderableAnnotation, RenderableAnnotation } from '../../types/Score';
|
3
3
|
export declare function isExistingAnnotation(annotation: NewRenderableAnnotation | RenderableAnnotation): annotation is RenderableAnnotation;
|
4
|
-
export declare function markText(text: string, annotations: (RenderableAnnotation | NewRenderableAnnotation)[], onClickAnnotation: (e: React.MouseEvent<HTMLElement, MouseEvent>, a: RenderableAnnotation) => void, setNewAnnotationRef: (ref: HTMLElement |
|
4
|
+
export declare function markText(text: string, annotations: (RenderableAnnotation | NewRenderableAnnotation)[], onClickAnnotation: (e: React.MouseEvent<HTMLElement, MouseEvent>, a: RenderableAnnotation) => void, setNewAnnotationRef: (ref: HTMLElement | null) => void): React.ReactNode[];
|
5
5
|
//# sourceMappingURL=markText.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"markText.d.ts","sourceRoot":"","sources":["../../../src/components/shared/markText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAOjF,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,uBAAuB,GAAG,oBAAoB,GACzD,UAAU,IAAI,oBAAoB,CAEpC;AAMD,wBAAgB,QAAQ,CACtB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,CAAC,oBAAoB,GAAG,uBAAuB,CAAC,EAAE,EAC/D,iBAAiB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,CAAC,EAAE,oBAAoB,KAAK,IAAI,EAClG,mBAAmB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,
|
1
|
+
{"version":3,"file":"markText.d.ts","sourceRoot":"","sources":["../../../src/components/shared/markText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAOjF,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,uBAAuB,GAAG,oBAAoB,GACzD,UAAU,IAAI,oBAAoB,CAEpC;AAMD,wBAAgB,QAAQ,CACtB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,CAAC,oBAAoB,GAAG,uBAAuB,CAAC,EAAE,EAC/D,iBAAiB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,EAAE,CAAC,EAAE,oBAAoB,KAAK,IAAI,EAClG,mBAAmB,EAAE,CAAC,GAAG,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,qBA4GvD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"markText.js","sourceRoot":"","sources":["../../../src/components/shared/markText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,WAAW,CAAA;AAC9B,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,SAAS,MAAM,CAAC,UAA0D;IACxE,OAAO,oBAAoB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,YAAY,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,UAAU,CAAA;AACnH,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,UAA0D;IAE1D,OAAO,cAAc,IAAI,UAAU,CAAA;AACrC,CAAC;AAED,SAAS,aAAa,CAAC,IAAY,EAAE,UAAkB,EAAE,MAAc;IACrE,OAAO,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAAC,CAAA;AACxD,CAAC;AAED,MAAM,UAAU,QAAQ,CACtB,IAAY,EACZ,WAA+D,EAC/D,iBAAkG,EAClG,
|
1
|
+
{"version":3,"file":"markText.js","sourceRoot":"","sources":["../../../src/components/shared/markText.tsx"],"names":[],"mappings":"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"}
|