@digabi/exam-engine-core 21.0.0-annoteta-react.0 → 21.0.1-annoteta-react.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
- package/dist/components/context/AnnotationProvider.d.ts +3 -3
- package/dist/components/context/AnnotationProvider.d.ts.map +1 -1
- package/dist/components/context/AnnotationProvider.js.map +1 -1
- package/dist/components/exam/Exam.d.ts +2 -2
- package/dist/components/exam/Exam.d.ts.map +1 -1
- package/dist/components/exam/Exam.js.map +1 -1
- package/dist/components/shared/AnnotationPopup.d.ts.map +1 -1
- package/dist/components/shared/AnnotationPopup.js +5 -3
- package/dist/components/shared/AnnotationPopup.js.map +1 -1
- package/dist/createRenderChildNodes.d.ts.map +1 -1
- package/dist/createRenderChildNodes.js +18 -11
- package/dist/createRenderChildNodes.js.map +1 -1
- package/dist/main-bundle.js +1 -1
- package/dist/types/Score.d.ts +4 -2
- package/dist/types/Score.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/types/Score.d.ts
CHANGED
@@ -45,13 +45,15 @@ export interface TextAnnotation extends BaseAnnotation {
|
|
45
45
|
/** The length of the annotation in characters. Images are counted as 1 character. */
|
46
46
|
length: number;
|
47
47
|
}
|
48
|
-
export interface
|
48
|
+
export interface NewExamAnnotation extends TextAnnotation {
|
49
49
|
displayNumber: string;
|
50
|
-
annotationId: number;
|
51
50
|
annotationAnchor: string;
|
52
51
|
hidden: boolean;
|
53
52
|
selectedText: string;
|
54
53
|
}
|
54
|
+
export interface ExamAnnotation extends NewExamAnnotation {
|
55
|
+
annotationId: number;
|
56
|
+
}
|
55
57
|
interface ShapeAnnotation extends BaseAnnotation {
|
56
58
|
/** A 0-indexed number describing which <img /> in the answer the annotation is attached to. */
|
57
59
|
attachmentIndex: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Score.d.ts","sourceRoot":"","sources":["../../src/types/Score.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA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am-engine-core",
|
3
|
-
"version": "21.0.
|
3
|
+
"version": "21.0.1-annoteta-react.0",
|
4
4
|
"main": "dist/main-bundle.js",
|
5
5
|
"types": "dist/index.d.ts",
|
6
6
|
"author": "Matriculation Examination Board, Finland",
|
@@ -58,5 +58,5 @@
|
|
58
58
|
"webpack-bundle-analyzer": "^4.1.0",
|
59
59
|
"webpack-cli": "^5.0.2"
|
60
60
|
},
|
61
|
-
"gitHead": "
|
61
|
+
"gitHead": "fe8d2ca4d98d4e702b0ee772089a33c5cfac2729"
|
62
62
|
}
|