@digabi/exam-engine-core 17.0.0 → 18.0.1-alpha.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/DocumentTitle.d.ts +1 -1
- package/dist/components/DocumentTitle.d.ts.map +1 -1
- package/dist/components/context/AttachmentContext.d.ts +1 -1
- package/dist/components/context/AttachmentContext.d.ts.map +1 -1
- package/dist/createRenderChildNodes.d.ts +1 -1
- package/dist/createRenderChildNodes.d.ts.map +1 -1
- package/dist/dom-utils.d.ts +1 -1
- package/dist/dom-utils.d.ts.map +1 -1
- package/dist/i18n/fi-FI.d.ts +3 -3
- package/dist/i18n/fi-FI.d.ts.map +1 -1
- package/dist/main-bundle.js +1 -1
- package/dist/parser/parseExamStructure.d.ts +2 -2
- package/dist/parser/parseExamStructure.d.ts.map +1 -1
- package/dist/store/answers/reducer.d.ts +1 -1
- package/dist/store/answers/reducer.d.ts.map +1 -1
- package/dist/store/audio/reducer.d.ts +1 -1
- package/dist/store/audio/reducer.d.ts.map +1 -1
- package/dist/store/cas/reducer.d.ts +2 -2
- package/dist/store/cas/reducer.d.ts.map +1 -1
- package/dist/store/index.d.ts +1 -1
- package/dist/store/index.d.ts.map +1 -1
- package/dist/types/ExamAnswer.d.ts +2 -2
- package/dist/types/ExamAnswer.d.ts.map +1 -1
- package/dist/types/ExamServerAPI.d.ts +6 -6
- package/dist/types/ExamServerAPI.d.ts.map +1 -1
- package/dist/types/GradingStructure.d.ts +1 -1
- package/dist/types/GradingStructure.d.ts.map +1 -1
- package/dist/types/Score.d.ts +3 -3
- package/dist/types/Score.d.ts.map +1 -1
- package/dist/url.d.ts +1 -1
- package/dist/url.d.ts.map +1 -1
- package/dist/validateAnswers.d.ts +1 -1
- package/dist/validateAnswers.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/components/grading/ChoiceAnswer.d.ts +0 -6
- package/dist/components/grading/ChoiceAnswer.d.ts.map +0 -1
- package/dist/components/grading/ChoiceAnswer.js +0 -57
- package/dist/components/grading/ChoiceAnswer.js.map +0 -1
- package/dist/components/grading/DropdownAnswer.d.ts +0 -6
- package/dist/components/grading/DropdownAnswer.d.ts.map +0 -1
- package/dist/components/grading/DropdownAnswer.js +0 -43
- package/dist/components/grading/DropdownAnswer.js.map +0 -1
- package/dist/components/grading/Grading.d.ts +0 -15
- package/dist/components/grading/Grading.d.ts.map +0 -1
- package/dist/components/grading/Grading.js +0 -69
- package/dist/components/grading/Grading.js.map +0 -1
- package/dist/components/grading/MultiLineAnswer.d.ts +0 -8
- package/dist/components/grading/MultiLineAnswer.d.ts.map +0 -1
- package/dist/components/grading/MultiLineAnswer.js +0 -21
- package/dist/components/grading/MultiLineAnswer.js.map +0 -1
- package/dist/components/grading/Question.d.ts +0 -5
- package/dist/components/grading/Question.d.ts.map +0 -1
- package/dist/components/grading/Question.js +0 -23
- package/dist/components/grading/Question.js.map +0 -1
- package/dist/components/grading/QuestionTitle.d.ts +0 -6
- package/dist/components/grading/QuestionTitle.d.ts.map +0 -1
- package/dist/components/grading/QuestionTitle.js +0 -21
- package/dist/components/grading/QuestionTitle.js.map +0 -1
- package/dist/components/grading/Results.d.ts +0 -15
- package/dist/components/grading/Results.d.ts.map +0 -1
- package/dist/components/grading/Results.js +0 -77
- package/dist/components/grading/Results.js.map +0 -1
- package/dist/components/grading/ScoredTextAnswer.d.ts +0 -6
- package/dist/components/grading/ScoredTextAnswer.d.ts.map +0 -1
- package/dist/components/grading/ScoredTextAnswer.js +0 -22
- package/dist/components/grading/ScoredTextAnswer.js.map +0 -1
- package/dist/components/grading/Section.d.ts +0 -5
- package/dist/components/grading/Section.d.ts.map +0 -1
- package/dist/components/grading/Section.js +0 -18
- package/dist/components/grading/Section.js.map +0 -1
- package/dist/components/grading/SingleLineAnswer.d.ts +0 -12
- package/dist/components/grading/SingleLineAnswer.d.ts.map +0 -1
- package/dist/components/grading/SingleLineAnswer.js +0 -23
- package/dist/components/grading/SingleLineAnswer.js.map +0 -1
- package/dist/components/grading/TextAnswer.d.ts +0 -7
- package/dist/components/grading/TextAnswer.d.ts.map +0 -1
- package/dist/components/grading/TextAnswer.js +0 -53
- package/dist/components/grading/TextAnswer.js.map +0 -1
- package/dist/components/grading/internal/AnnotationList.d.ts +0 -5
- package/dist/components/grading/internal/AnnotationList.d.ts.map +0 -1
- package/dist/components/grading/internal/AnnotationList.js +0 -43
- package/dist/components/grading/internal/AnnotationList.js.map +0 -1
- package/dist/components/grading/internal/QuestionAutoScore.d.ts +0 -10
- package/dist/components/grading/internal/QuestionAutoScore.d.ts.map +0 -1
- package/dist/components/grading/internal/QuestionAutoScore.js +0 -17
- package/dist/components/grading/internal/QuestionAutoScore.js.map +0 -1
- package/dist/components/grading/internal/QuestionManualScore.d.ts +0 -12
- package/dist/components/grading/internal/QuestionManualScore.d.ts.map +0 -1
- package/dist/components/grading/internal/QuestionManualScore.js +0 -61
- package/dist/components/grading/internal/QuestionManualScore.js.map +0 -1
- package/dist/components/grading/internal/QuestionScoresContainer.d.ts +0 -10
- package/dist/components/grading/internal/QuestionScoresContainer.d.ts.map +0 -1
- package/dist/components/grading/internal/QuestionScoresContainer.js +0 -12
- package/dist/components/grading/internal/QuestionScoresContainer.js.map +0 -1
- package/dist/editAnnotations.d.ts +0 -2
- package/dist/editAnnotations.d.ts.map +0 -1
- package/dist/editAnnotations.js +0 -8
- package/dist/editAnnotations.js.map +0 -1
- package/dist/editAnnotationsOld.d.ts +0 -3
- package/dist/editAnnotationsOld.d.ts.map +0 -1
- package/dist/editAnnotationsOld.js +0 -340
- package/dist/editAnnotationsOld.js.map +0 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
|
2
|
+
type DocumentTitleProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
|
3
3
|
declare const _default: React.NamedExoticComponent<DocumentTitleProps>;
|
4
4
|
export default _default;
|
5
5
|
//# sourceMappingURL=DocumentTitle.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DocumentTitle.d.ts","sourceRoot":"","sources":["../../src/components/DocumentTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAA;AAEtD,
|
1
|
+
{"version":3,"file":"DocumentTitle.d.ts","sourceRoot":"","sources":["../../src/components/DocumentTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAA;AAEtD,KAAK,kBAAkB,GAAG,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC,CAAA;;AAa/G,wBAAwC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AttachmentContext.d.ts","sourceRoot":"","sources":["../../../src/components/context/AttachmentContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,
|
1
|
+
{"version":3,"file":"AttachmentContext.d.ts","sourceRoot":"","sources":["../../../src/components/context/AttachmentContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,MAAM,MAAM,iBAAiB,GACzB;IAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,UAAU,EAAE,KAAK,CAAC;IAAC,aAAa,EAAE,IAAI,CAAA;CAAE,GAC/D;IAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,UAAU,EAAE,IAAI,CAAC;IAAC,aAAa,EAAE,MAAM,CAAA;CAAE,CAAA;AAEpE,eAAO,MAAM,iBAAiB,kCAAkE,CAAA;AAEhG,eAAO,MAAM,qBAAqB,mEASjC,CAAA"}
|
@@ -12,6 +12,6 @@ export declare const enum RenderOptions {
|
|
12
12
|
RenderHTML = 0,
|
13
13
|
SkipHTML = 1
|
14
14
|
}
|
15
|
-
export
|
15
|
+
export type RenderChildNodes = (element: Element, options?: RenderOptions) => React.ReactNode[];
|
16
16
|
export declare function createRenderChildNodes(componentMap: Record<string, React.ComponentType<ExamComponentProps>>): RenderChildNodes;
|
17
17
|
//# sourceMappingURL=createRenderChildNodes.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createRenderChildNodes.d.ts","sourceRoot":"","sources":["../src/createRenderChildNodes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,eAAO,MAAM,gBAAgB,0CAA0C,CAAA;AACvE,eAAO,MAAM,iBAAiB,iCAAiC,CAAA;AAE/D,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kCAAkC;IAClC,OAAO,EAAE,OAAO,CAAA;IAChB,2EAA2E;IAC3E,gBAAgB,EAAE,gBAAgB,CAAA;CACnC;AAED,0BAAkB,aAAa;IAC7B,UAAU,IAAA;IACV,QAAQ,IAAA;CACT;AAED,
|
1
|
+
{"version":3,"file":"createRenderChildNodes.d.ts","sourceRoot":"","sources":["../src/createRenderChildNodes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,eAAO,MAAM,gBAAgB,0CAA0C,CAAA;AACvE,eAAO,MAAM,iBAAiB,iCAAiC,CAAA;AAE/D,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kCAAkC;IAClC,OAAO,EAAE,OAAO,CAAA;IAChB,2EAA2E;IAC3E,gBAAgB,EAAE,gBAAgB,CAAA;CACnC;AAED,0BAAkB,aAAa;IAC7B,UAAU,IAAA;IACV,QAAQ,IAAA;CACT;AAED,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,aAAa,KAAK,KAAK,CAAC,SAAS,EAAE,CAAA;AAE/F,wBAAgB,sBAAsB,CACpC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC,GACpE,gBAAgB,CA+ClB"}
|
package/dist/dom-utils.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export declare const NBSP = "\u00A0";
|
2
2
|
export declare function parentElements(element: Element, selector?: Selector): Element[];
|
3
|
-
|
3
|
+
type Selector = string | string[] | ((element: Element) => boolean);
|
4
4
|
export declare function query(root: Element, selector: Selector): Element | undefined;
|
5
5
|
export declare function queryAll(root: Element, selector: Selector, recurse?: boolean): Element[];
|
6
6
|
export declare function queryAncestors(element: Element, selector: Selector): Element | undefined;
|
package/dist/dom-utils.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dom-utils.d.ts","sourceRoot":"","sources":["../src/dom-utils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,WAAW,CAAA;AAE5B,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,EAAE,CAU/E;AAED,
|
1
|
+
{"version":3,"file":"dom-utils.d.ts","sourceRoot":"","sources":["../src/dom-utils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,WAAW,CAAA;AAE5B,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,EAAE,CAU/E;AAED,KAAK,QAAQ,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,CAAC,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,CAAA;AAUnE,wBAAgB,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,CAiB5E;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,UAAO,GAAG,OAAO,EAAE,CAoBrF;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,CA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
1
|
import { DeepPartial } from 'utility-types';
|
2
2
|
/** A helper type for type-safe i18next translations. */
|
3
|
-
|
3
|
+
type ExtractTranslations<T> = {
|
4
4
|
[K in keyof T as K extends `${string}_plural` ? never : K]: ExtractTranslations<T[K]>;
|
5
5
|
} & {
|
6
6
|
[K in keyof T as K extends `${string}_plural` ? never : T[K] extends string ? `${K & string}_plural` : never]?: T[K];
|
7
7
|
};
|
8
|
-
export
|
9
|
-
export
|
8
|
+
export type Translations = ExtractTranslations<typeof fi_FI>;
|
9
|
+
export type ExamTranslations = DeepPartial<Translations>;
|
10
10
|
export declare const fi_FI: {
|
11
11
|
'exam-total': string;
|
12
12
|
'grading-total': string;
|
package/dist/i18n/fi-FI.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fi-FI.d.ts","sourceRoot":"","sources":["../../src/i18n/fi-FI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,wDAAwD;AACxD,
|
1
|
+
{"version":3,"file":"fi-FI.d.ts","sourceRoot":"","sources":["../../src/i18n/fi-FI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,wDAAwD;AACxD,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAC3B,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,GAAG,MAAM,SAAS,GAAG,KAAK,GAAG,CAAC,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACtF,GAAG;KACD,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,GAAG,MAAM,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,GAAG,CAAC,GAAG,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;CACrH,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,mBAAmB,CAAC,OAAO,KAAK,CAAC,CAAA;AAC5D,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,YAAY,CAAC,CAAA;AAExD,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiEhB;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEJ,CAAA"}
|