@yungu-fed/question-editor 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.d.ts +10 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6843 -2030
- package/dist/index.mjs +5381 -1583
- package/dist/model/classification.d.ts +10 -0
- package/dist/model/classification.d.ts.map +1 -0
- package/dist/model/line-connect.d.ts +28 -0
- package/dist/model/line-connect.d.ts.map +1 -0
- package/dist/model/matching.d.ts +27 -0
- package/dist/model/matching.d.ts.map +1 -0
- package/dist/model/question-element-specs.d.ts +3 -3
- package/dist/model/question-element-specs.d.ts.map +1 -1
- package/dist/model/question-structure.d.ts +56 -3
- package/dist/model/question-structure.d.ts.map +1 -1
- package/dist/model/rich-text-blank.d.ts.map +1 -1
- package/dist/model/text-marker.d.ts +18 -0
- package/dist/model/text-marker.d.ts.map +1 -0
- package/dist/model/types.d.ts +143 -8
- package/dist/model/types.d.ts.map +1 -1
- package/dist/question/content-editor/QuestionContentClassificationEditor.d.ts +14 -0
- package/dist/question/content-editor/QuestionContentClassificationEditor.d.ts.map +1 -0
- package/dist/question/content-editor/QuestionContentEditor.d.ts +3 -1
- package/dist/question/content-editor/QuestionContentEditor.d.ts.map +1 -1
- package/dist/question/content-editor/QuestionContentElementEditor.d.ts.map +1 -1
- package/dist/question/content-editor/QuestionContentLineConnectEditor.d.ts +15 -0
- package/dist/question/content-editor/QuestionContentLineConnectEditor.d.ts.map +1 -0
- package/dist/question/content-editor/QuestionContentMatchingEditor.d.ts +15 -0
- package/dist/question/content-editor/QuestionContentMatchingEditor.d.ts.map +1 -0
- package/dist/question/content-editor/QuestionContentOrderingEditor.d.ts +14 -0
- package/dist/question/content-editor/QuestionContentOrderingEditor.d.ts.map +1 -0
- package/dist/question/content-editor/QuestionContentSubquestionChildEditor.d.ts.map +1 -1
- package/dist/question/content-editor/QuestionContentTextMarkerEditor.d.ts +14 -0
- package/dist/question/content-editor/QuestionContentTextMarkerEditor.d.ts.map +1 -0
- package/dist/question/content-editor/QuestionContentWordBuilderEditor.d.ts +16 -0
- package/dist/question/content-editor/QuestionContentWordBuilderEditor.d.ts.map +1 -0
- package/dist/question/content-editor/QuestionRichTextField.d.ts.map +1 -1
- package/dist/question/content-editor/helpers.d.ts +42 -6
- package/dist/question/content-editor/helpers.d.ts.map +1 -1
- package/dist/question/content-editor/i18n.d.ts.map +1 -1
- package/dist/question/content-editor/structure.d.ts +3 -2
- package/dist/question/content-editor/structure.d.ts.map +1 -1
- package/dist/question/content-editor/subquestion-template.d.ts +4 -0
- package/dist/question/content-editor/subquestion-template.d.ts.map +1 -0
- package/dist/question/content-editor/types.d.ts +159 -13
- package/dist/question/content-editor/types.d.ts.map +1 -1
- package/dist/question/elements/text-marker/text-marker-plugin.d.ts +3 -0
- package/dist/question/elements/text-marker/text-marker-plugin.d.ts.map +1 -0
- package/dist/question/i18n/messages.d.ts +5 -0
- package/dist/question/i18n/messages.d.ts.map +1 -1
- package/dist/question/line-connect/lineConnectLines.d.ts +37 -0
- package/dist/question/line-connect/lineConnectLines.d.ts.map +1 -0
- package/dist/question/player/QuestionBlankGroupPlayer.d.ts.map +1 -1
- package/dist/question/player/QuestionClassificationPlayer.d.ts +14 -0
- package/dist/question/player/QuestionClassificationPlayer.d.ts.map +1 -0
- package/dist/question/player/QuestionFillTextContentPlayer.d.ts.map +1 -1
- package/dist/question/player/QuestionLineConnectPlayer.d.ts +14 -0
- package/dist/question/player/QuestionLineConnectPlayer.d.ts.map +1 -0
- package/dist/question/player/QuestionMatchingPlayer.d.ts +14 -0
- package/dist/question/player/QuestionMatchingPlayer.d.ts.map +1 -0
- package/dist/question/player/QuestionOptionGroupPlayer.d.ts.map +1 -1
- package/dist/question/player/QuestionOrderingPlayer.d.ts +14 -0
- package/dist/question/player/QuestionOrderingPlayer.d.ts.map +1 -0
- package/dist/question/player/QuestionPlayerComposite.d.ts.map +1 -1
- package/dist/question/player/QuestionPlayerElement.d.ts.map +1 -1
- package/dist/question/player/QuestionTextMarkerPlayer.d.ts +14 -0
- package/dist/question/player/QuestionTextMarkerPlayer.d.ts.map +1 -0
- package/dist/question/player/QuestionWordBuilderPlayer.d.ts +15 -0
- package/dist/question/player/QuestionWordBuilderPlayer.d.ts.map +1 -0
- package/dist/question/player/helpers.d.ts +13 -2
- package/dist/question/player/helpers.d.ts.map +1 -1
- package/dist/question/player/types.d.ts +32 -2
- package/dist/question/player/types.d.ts.map +1 -1
- package/dist/question/preview/QuestionCompositePreview.d.ts.map +1 -1
- package/dist/question/renderers/QuestionBlankGroupView.d.ts.map +1 -1
- package/dist/question/renderers/QuestionClassificationView.d.ts +10 -0
- package/dist/question/renderers/QuestionClassificationView.d.ts.map +1 -0
- package/dist/question/renderers/QuestionContentElementView.d.ts.map +1 -1
- package/dist/question/renderers/QuestionLineConnectView.d.ts +10 -0
- package/dist/question/renderers/QuestionLineConnectView.d.ts.map +1 -0
- package/dist/question/renderers/QuestionMatchingView.d.ts +10 -0
- package/dist/question/renderers/QuestionMatchingView.d.ts.map +1 -0
- package/dist/question/renderers/QuestionOptionGroupView.d.ts.map +1 -1
- package/dist/question/renderers/QuestionOrderingView.d.ts +10 -0
- package/dist/question/renderers/QuestionOrderingView.d.ts.map +1 -0
- package/dist/question/renderers/QuestionRichContentView.d.ts.map +1 -1
- package/dist/question/renderers/QuestionRichContentWithBlankView.d.ts +14 -0
- package/dist/question/renderers/QuestionRichContentWithBlankView.d.ts.map +1 -0
- package/dist/question/renderers/QuestionTextMarkerContent.d.ts +12 -0
- package/dist/question/renderers/QuestionTextMarkerContent.d.ts.map +1 -0
- package/dist/question/renderers/QuestionTextMarkerView.d.ts +10 -0
- package/dist/question/renderers/QuestionTextMarkerView.d.ts.map +1 -0
- package/dist/question/renderers/QuestionWordBuilderView.d.ts +11 -0
- package/dist/question/renderers/QuestionWordBuilderView.d.ts.map +1 -0
- package/dist/question/renderers/classificationAnswers.d.ts +4 -0
- package/dist/question/renderers/classificationAnswers.d.ts.map +1 -0
- package/dist/question/renderers/lineConnectAnswers.d.ts +4 -0
- package/dist/question/renderers/lineConnectAnswers.d.ts.map +1 -0
- package/dist/question/renderers/matchingAnswers.d.ts +4 -0
- package/dist/question/renderers/matchingAnswers.d.ts.map +1 -0
- package/dist/question/renderers/optionGroupAnswers.d.ts +4 -0
- package/dist/question/renderers/optionGroupAnswers.d.ts.map +1 -0
- package/dist/question/renderers/orderingAnswerGroups.d.ts +4 -0
- package/dist/question/renderers/orderingAnswerGroups.d.ts.map +1 -0
- package/dist/question/renderers/wordBuilderAnswers.d.ts +4 -0
- package/dist/question/renderers/wordBuilderAnswers.d.ts.map +1 -0
- package/dist/question/rich-text/RichTextField.d.ts +3 -2
- package/dist/question/rich-text/RichTextField.d.ts.map +1 -1
- package/dist/question/structure-editor/QuestionStructureCanvas.d.ts +2 -2
- package/dist/question/structure-editor/QuestionStructureCanvas.d.ts.map +1 -1
- package/dist/question/structure-editor/QuestionStructureEditor.d.ts.map +1 -1
- package/dist/question/structure-editor/QuestionStructureSettings.d.ts +6 -3
- package/dist/question/structure-editor/QuestionStructureSettings.d.ts.map +1 -1
- package/dist/question/structure-editor/structure-editor-labels.d.ts +22 -2
- package/dist/question/structure-editor/structure-editor-labels.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lineConnectLines.d.ts","sourceRoot":"","sources":["../../../src/question/line-connect/lineConnectLines.ts"],"names":[],"mappings":"AAEA,KAAK,qBAAqB,GAAG;IAC3B,QAAQ,CAAC,OAAO,EAAE,SAAS;QACzB,QAAQ,CAAC,KAAK,EAAE,SAAS;YACvB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;SACzB,EAAE,CAAC;KACL,EAAE,CAAC;CACL,CAAC;AAEF,KAAK,qBAAqB,GAAG,CAC3B,eAAe,EAAE,MAAM,EACvB,aAAa,EAAE,MAAM,KAClB,OAAO,CAAC;AAEb,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,SAAS,8BAA8B,EAAE,CAAC;IAC1D,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,qBAAqB,EAC3B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,EAC9C,iBAAiB,GAAE,qBAAoD,GACtE,wBAAwB,EAAE,CAsD5B;AAED,wBAAgB,6BAA6B,CAC3C,WAAW,EAAE,OAAO,EACpB,SAAS,EAAE,OAAO,EAClB,UAAU,EAAE,MAAM,GACjB,MAAM,CAER;AAED,wBAAgB,6BAA6B,CAC3C,WAAW,EAAE,OAAO,EACpB,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,MAAM,GAChB,MAAM,CAER;AAED,wBAAgB,2BAA2B,CACzC,WAAW,EAAE,OAAO,EACpB,SAAS,EAAE,OAAO,EAClB,UAAU,EAAE,MAAM,GACjB,MAAM,CAER;AAED,wBAAgB,4BAA4B,CAC1C,WAAW,EAAE,OAAO,EACpB,SAAS,EAAE,OAAO,EAClB,UAAU,EAAE,MAAM,GACjB,MAAM,CAER;AAED,wBAAgB,sCAAsC,CACpD,kBAAkB,EAAE,CAClB,OAAO,EAAE,CACP,OAAO,EAAE,0BAA0B,GAAG,IAAI,KACvC,0BAA0B,GAAG,IAAI,KACnC,IAAI,EACT,eAAe,EAAE,0BAA0B,GAC1C,IAAI,CAMN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionBlankGroupPlayer.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionBlankGroupPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,YAAY,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EACV,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AASjB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,6BAA6B,CAAC;IACpC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACrD,QAAQ,EAAE,sBAAsB,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,EACvC,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,6BAA6B,CAAC,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"QuestionBlankGroupPlayer.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionBlankGroupPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,YAAY,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EACV,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AASjB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,6BAA6B,CAAC;IACpC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACrD,QAAQ,EAAE,sBAAsB,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,EACvC,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,6BAA6B,CAAC,GAAG,YAAY,CA2DxD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { QuestionContentClassificationItem } from "../content-editor/types";
|
|
3
|
+
import type { QuestionMessages } from "../i18n";
|
|
4
|
+
import type { QuestionPlayerResponse, QuestionPlayerResponseItem } from "./types";
|
|
5
|
+
export type QuestionClassificationPlayerProps = {
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
item: QuestionContentClassificationItem;
|
|
8
|
+
messages: QuestionMessages;
|
|
9
|
+
onChange: (item: QuestionPlayerResponseItem) => void;
|
|
10
|
+
response: QuestionPlayerResponse;
|
|
11
|
+
showAnswer: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare function QuestionClassificationPlayer({ disabled, item, messages, onChange, response, showAnswer, }: Readonly<QuestionClassificationPlayerProps>): ReactElement;
|
|
14
|
+
//# sourceMappingURL=QuestionClassificationPlayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionClassificationPlayer.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionClassificationPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,YAAY,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,yBAAyB,CAAC;AACjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EACV,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AAcjB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,iCAAiC,CAAC;IACxC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACrD,QAAQ,EAAE,sBAAsB,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,4BAA4B,CAAC,EAC3C,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,iCAAiC,CAAC,GAAG,YAAY,CAqH5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionFillTextContentPlayer.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionFillTextContentPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"QuestionFillTextContentPlayer.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionFillTextContentPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAGV,2BAA2B,EAC3B,uCAAuC,EACxC,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAM5D,KAAK,kCAAkC,GAAG;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,4BAA4B,CAAC,CAAC;IACtD,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,2BAA2B,CAAC;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,cAAc,EAAE,CACd,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,4BAA4B,KACjC,IAAI,CAAC;IACV,SAAS,EAAE,uCAAuC,CAAC;CACpD,CAAC;AAEF,wBAAgB,6BAA6B,CAAC,EAC5C,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,cAAc,EACd,SAAS,GACV,EAAE,QAAQ,CAAC,kCAAkC,CAAC,GAAG,YAAY,CAgB7D"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { QuestionContentLineConnectItem } from "../content-editor/types";
|
|
3
|
+
import type { QuestionMessages } from "../i18n";
|
|
4
|
+
import type { QuestionPlayerResponse, QuestionPlayerResponseItem } from "./types";
|
|
5
|
+
export type QuestionLineConnectPlayerProps = {
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
item: QuestionContentLineConnectItem;
|
|
8
|
+
messages: QuestionMessages;
|
|
9
|
+
onChange: (item: QuestionPlayerResponseItem) => void;
|
|
10
|
+
response: QuestionPlayerResponse;
|
|
11
|
+
showAnswer: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare function QuestionLineConnectPlayer({ disabled, item, messages, onChange, response, showAnswer, }: Readonly<QuestionLineConnectPlayerProps>): ReactElement;
|
|
14
|
+
//# sourceMappingURL=QuestionLineConnectPlayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionLineConnectPlayer.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionLineConnectPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,YAAY,EAAE,MAAM,OAAO,CAAC;AAIzD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAKhD,OAAO,KAAK,EACV,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AA2BjB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,8BAA8B,CAAC;IACrC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACrD,QAAQ,EAAE,sBAAsB,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,EACxC,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,8BAA8B,CAAC,GAAG,YAAY,CA+NzD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { QuestionContentMatchingItem } from "../content-editor/types";
|
|
3
|
+
import type { QuestionMessages } from "../i18n";
|
|
4
|
+
import type { QuestionPlayerResponse, QuestionPlayerResponseItem } from "./types";
|
|
5
|
+
export type QuestionMatchingPlayerProps = {
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
item: QuestionContentMatchingItem;
|
|
8
|
+
messages: QuestionMessages;
|
|
9
|
+
onChange: (item: QuestionPlayerResponseItem) => void;
|
|
10
|
+
response: QuestionPlayerResponse;
|
|
11
|
+
showAnswer: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare function QuestionMatchingPlayer({ disabled, item, messages, onChange, response, showAnswer, }: Readonly<QuestionMatchingPlayerProps>): ReactElement;
|
|
14
|
+
//# sourceMappingURL=QuestionMatchingPlayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionMatchingPlayer.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionMatchingPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EACV,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AAsCjB,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,2BAA2B,CAAC;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACrD,QAAQ,EAAE,sBAAsB,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,2BAA2B,CAAC,GAAG,YAAY,CAkGtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionOptionGroupPlayer.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionOptionGroupPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EACV,8BAA8B,EAC9B,0CAA0C,EAC3C,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EACV,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"QuestionOptionGroupPlayer.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionOptionGroupPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EACV,8BAA8B,EAC9B,0CAA0C,EAC3C,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EACV,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AAejB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,0CAA0C,CAAC;IACpD,IAAI,EAAE,8BAA8B,CAAC;IACrC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACrD,QAAQ,EAAE,sBAAsB,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,EACxC,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,8BAA8B,CAAC,GAAG,YAAY,CAgKzD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { QuestionContentOrderingItem } from "../content-editor/types";
|
|
3
|
+
import type { QuestionMessages } from "../i18n";
|
|
4
|
+
import type { QuestionPlayerResponse, QuestionPlayerResponseItem } from "./types";
|
|
5
|
+
export type QuestionOrderingPlayerProps = {
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
item: QuestionContentOrderingItem;
|
|
8
|
+
messages: QuestionMessages;
|
|
9
|
+
onChange: (item: QuestionPlayerResponseItem) => void;
|
|
10
|
+
response: QuestionPlayerResponse;
|
|
11
|
+
showAnswer: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare function QuestionOrderingPlayer({ disabled, item, messages, onChange, response, showAnswer, }: Readonly<QuestionOrderingPlayerProps>): ReactElement;
|
|
14
|
+
//# sourceMappingURL=QuestionOrderingPlayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionOrderingPlayer.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionOrderingPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EACV,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AAajB,MAAM,MAAM,2BAA2B,GAAG;IACxC,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,2BAA2B,CAAC;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACrD,QAAQ,EAAE,sBAAsB,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,2BAA2B,CAAC,GAAG,YAAY,CAiEtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionPlayerComposite.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionPlayerComposite.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,kCAAkC,EACnC,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"QuestionPlayerComposite.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionPlayerComposite.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,kCAAkC,EACnC,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAMtD,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,qBAAqB,EAAE,CACrB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,sBAAsB,KAC7B,IAAI,CAAC;IACV,WAAW,EAAE,CACX,KAAK,EAAE,oBAAoB,EAC3B,QAAQ,EAAE,sBAAsB,EAChC,SAAS,EAAE,wBAAwB,EACnC,QAAQ,EAAE,CAAC,QAAQ,EAAE,sBAAsB,KAAK,IAAI,EACpD,UAAU,EAAE,SAAS,MAAM,EAAE,KAC1B,YAAY,CAAC;IAClB,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC/B,QAAQ,EAAE,sBAAsB,CAAC;IACjC,oBAAoB,EAAE,SAAS,kCAAkC,EAAE,CAAC;IACpE,KAAK,EAAE,oBAAoB,CAAC;CAC7B,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,EACtC,QAAQ,EACR,UAAe,EACf,qBAAqB,EACrB,WAAW,EACX,QAAQ,EACR,oBAAoB,EACpB,KAAK,GACN,EAAE,QAAQ,CAAC,4BAA4B,CAAC,GAAG,YAAY,CAuCvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionPlayerElement.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionPlayerElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"QuestionPlayerElement.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionPlayerElement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAIV,mBAAmB,EAOnB,+BAA+B,EAGhC,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EACV,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AAcjB,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,+BAA+B,CAAC;IACzC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,oBAAoB,EAAE,CAAC,IAAI,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACjE,QAAQ,EAAE,sBAAsB,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,oBAAoB,EACpB,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,0BAA0B,CAAC,GAAG,YAAY,GAAG,IAAI,CA6D5D"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { QuestionContentTextMarkerItem } from "../content-editor/types";
|
|
3
|
+
import type { QuestionMessages } from "../i18n";
|
|
4
|
+
import type { QuestionPlayerResponse, QuestionPlayerResponseItem } from "./types";
|
|
5
|
+
export type QuestionTextMarkerPlayerProps = {
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
item: QuestionContentTextMarkerItem;
|
|
8
|
+
messages: QuestionMessages;
|
|
9
|
+
onChange: (item: QuestionPlayerResponseItem) => void;
|
|
10
|
+
response: QuestionPlayerResponse;
|
|
11
|
+
showAnswer: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare function QuestionTextMarkerPlayer({ disabled, item, messages, onChange, response, showAnswer, }: Readonly<QuestionTextMarkerPlayerProps>): ReactElement;
|
|
14
|
+
//# sourceMappingURL=QuestionTextMarkerPlayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionTextMarkerPlayer.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionTextMarkerPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EACV,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AASjB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,6BAA6B,CAAC;IACpC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACrD,QAAQ,EAAE,sBAAsB,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,EACvC,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,6BAA6B,CAAC,GAAG,YAAY,CA8BxD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { QuestionContentWordBuilderItem, QuestionContentWordBuilderStructureElement } from "../content-editor/types";
|
|
3
|
+
import type { QuestionMessages } from "../i18n";
|
|
4
|
+
import type { QuestionPlayerResponse, QuestionPlayerResponseItem } from "./types";
|
|
5
|
+
export type QuestionWordBuilderPlayerProps = {
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
element: QuestionContentWordBuilderStructureElement;
|
|
8
|
+
item: QuestionContentWordBuilderItem;
|
|
9
|
+
messages: QuestionMessages;
|
|
10
|
+
onChange: (item: QuestionPlayerResponseItem) => void;
|
|
11
|
+
response: QuestionPlayerResponse;
|
|
12
|
+
showAnswer: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare function QuestionWordBuilderPlayer({ disabled, element, item, messages, onChange, response, showAnswer, }: Readonly<QuestionWordBuilderPlayerProps>): ReactElement;
|
|
15
|
+
//# sourceMappingURL=QuestionWordBuilderPlayer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionWordBuilderPlayer.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionWordBuilderPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,YAAY,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EACV,8BAA8B,EAC9B,0CAA0C,EAC3C,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EACV,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AAUjB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,0CAA0C,CAAC;IACpD,IAAI,EAAE,8BAA8B,CAAC;IACrC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACrD,QAAQ,EAAE,sBAAsB,CAAC;IACjC,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,EACxC,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,8BAA8B,CAAC,GAAG,YAAY,CA8HzD"}
|
|
@@ -1,12 +1,23 @@
|
|
|
1
|
-
import type { QuestionContentDraft, QuestionContentFillTextStructureElement, QuestionContentStructure, QuestionContentSubquestionTemplate } from "../content-editor/types";
|
|
2
|
-
import type { QuestionPlayerBlankGroupResponseItem, QuestionPlayerFillTextAnswer, QuestionPlayerFillTextResponseItem, QuestionPlayerJudgementGroupResponseItem, QuestionPlayerOptionGroupResponseItem, QuestionPlayerResponse, QuestionPlayerResponseItem } from "./types";
|
|
1
|
+
import type { QuestionContentDraft, QuestionContentFillTextStructureElement, QuestionContentOrderingItem, QuestionContentStructure, QuestionContentSubquestionTemplate } from "../content-editor/types";
|
|
2
|
+
import type { QuestionPlayerBlankGroupResponseItem, QuestionPlayerClassificationResponseItem, QuestionPlayerFillTextAnswer, QuestionPlayerFillTextResponseItem, QuestionPlayerJudgementGroupResponseItem, QuestionPlayerLineConnectResponseItem, QuestionPlayerMatchingResponseItem, QuestionPlayerOrderingResponseItem, QuestionPlayerOptionGroupResponseItem, QuestionPlayerResponse, QuestionPlayerResponseItem, QuestionPlayerTextMarkerResponseItem, QuestionPlayerWordBuilderResponseItem } from "./types";
|
|
3
3
|
export declare function createEmptyQuestionPlayerResponse(value: QuestionContentDraft, structure: QuestionContentStructure, subquestionTemplates?: readonly QuestionContentSubquestionTemplate[]): QuestionPlayerResponse;
|
|
4
4
|
export declare function getOptionGroupResponseItem(response: QuestionPlayerResponse, elementKey: string): QuestionPlayerOptionGroupResponseItem;
|
|
5
5
|
export declare function getBlankGroupResponseItem(response: QuestionPlayerResponse, elementKey: string, blankIds: readonly string[]): QuestionPlayerBlankGroupResponseItem;
|
|
6
6
|
export declare function getFillTextResponseItem(response: QuestionPlayerResponse, element: QuestionContentFillTextStructureElement, blankIds: readonly string[]): QuestionPlayerFillTextResponseItem;
|
|
7
|
+
export declare function getWordBuilderResponseItem(response: QuestionPlayerResponse, elementKey: string, blankIds: readonly string[]): QuestionPlayerWordBuilderResponseItem;
|
|
7
8
|
export declare function getJudgementGroupResponseItem(response: QuestionPlayerResponse, elementKey: string): QuestionPlayerJudgementGroupResponseItem;
|
|
9
|
+
export declare function getClassificationResponseItem(response: QuestionPlayerResponse, elementKey: string): QuestionPlayerClassificationResponseItem;
|
|
10
|
+
export declare function getLineConnectResponseItem(response: QuestionPlayerResponse, elementKey: string): QuestionPlayerLineConnectResponseItem;
|
|
11
|
+
export declare function getMatchingResponseItem(response: QuestionPlayerResponse, elementKey: string): QuestionPlayerMatchingResponseItem;
|
|
12
|
+
export declare function getOrderingResponseItem(response: QuestionPlayerResponse, item: QuestionContentOrderingItem): QuestionPlayerOrderingResponseItem;
|
|
13
|
+
export declare function getTextMarkerResponseItem(response: QuestionPlayerResponse, elementKey: string): QuestionPlayerTextMarkerResponseItem;
|
|
8
14
|
export declare function updateResponseItem(response: QuestionPlayerResponse, nextItem: QuestionPlayerResponseItem): QuestionPlayerResponse;
|
|
9
15
|
export declare function updateChildResponse(response: QuestionPlayerResponse, childIndex: number, nextChild: QuestionPlayerResponse): QuestionPlayerResponse;
|
|
10
16
|
export declare function toggleSelectedIndex(selectedIndexes: readonly number[], index: number, selectionType: "multiple" | "single"): number[];
|
|
11
17
|
export declare function toggleOptionAnswer(answer: QuestionPlayerFillTextAnswer | undefined, optionId: string, selectionType?: "multiple" | "single"): QuestionPlayerFillTextAnswer;
|
|
18
|
+
export declare function toggleLineConnectConnection(connections: Record<string, string[]>, fromItemId: string, toItemId: string): Record<string, string[]>;
|
|
19
|
+
export declare function toggleMatchingConnection(connections: Record<string, string[]>, fromItemId: string, toItemId: string): Record<string, string[]>;
|
|
20
|
+
export declare function setClassificationResponsePlacement(placements: Record<string, string>, itemId: string, categoryId: string): Record<string, string>;
|
|
21
|
+
export declare function moveOrderingResponseOption(orderedOptionIds: readonly string[], item: QuestionContentOrderingItem, optionId: string, direction: -1 | 1): string[];
|
|
22
|
+
export declare function toggleTextMarkerSelection(selectedMarkers: readonly string[], markerId: string): string[];
|
|
12
23
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/question/player/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,uCAAuC,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/question/player/helpers.ts"],"names":[],"mappings":"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"}
|
|
@@ -22,16 +22,46 @@ export type QuestionPlayerFillTextResponseItem = {
|
|
|
22
22
|
elementKey: string;
|
|
23
23
|
type: "inlineFill";
|
|
24
24
|
};
|
|
25
|
+
export type QuestionPlayerWordBuilderResponseItem = {
|
|
26
|
+
answers: Record<string, string>;
|
|
27
|
+
elementKey: string;
|
|
28
|
+
type: "wordBuilder";
|
|
29
|
+
};
|
|
25
30
|
export type QuestionPlayerJudgementGroupResponseItem = {
|
|
26
31
|
elementKey: string;
|
|
27
32
|
selectedValues: string[];
|
|
28
33
|
type: "judgement";
|
|
29
34
|
};
|
|
30
|
-
export type
|
|
35
|
+
export type QuestionPlayerClassificationResponseItem = {
|
|
36
|
+
elementKey: string;
|
|
37
|
+
placements: Record<string, string>;
|
|
38
|
+
type: "classification";
|
|
39
|
+
};
|
|
40
|
+
export type QuestionPlayerLineConnectResponseItem = {
|
|
41
|
+
connections: Record<string, string[]>;
|
|
42
|
+
elementKey: string;
|
|
43
|
+
type: "lineConnect";
|
|
44
|
+
};
|
|
45
|
+
export type QuestionPlayerMatchingResponseItem = {
|
|
46
|
+
connections: Record<string, string[]>;
|
|
47
|
+
elementKey: string;
|
|
48
|
+
type: "matching";
|
|
49
|
+
};
|
|
50
|
+
export type QuestionPlayerOrderingResponseItem = {
|
|
51
|
+
elementKey: string;
|
|
52
|
+
orderedOptionIds: string[];
|
|
53
|
+
type: "ordering";
|
|
54
|
+
};
|
|
55
|
+
export type QuestionPlayerTextMarkerResponseItem = {
|
|
56
|
+
elementKey: string;
|
|
57
|
+
selectedMarkers: string[];
|
|
58
|
+
type: "textMarker";
|
|
59
|
+
};
|
|
60
|
+
export type QuestionPlayerResponseItem = QuestionPlayerBlankGroupResponseItem | QuestionPlayerClassificationResponseItem | QuestionPlayerFillTextResponseItem | QuestionPlayerJudgementGroupResponseItem | QuestionPlayerLineConnectResponseItem | QuestionPlayerMatchingResponseItem | QuestionPlayerOrderingResponseItem | QuestionPlayerOptionGroupResponseItem | QuestionPlayerTextMarkerResponseItem | QuestionPlayerWordBuilderResponseItem;
|
|
31
61
|
export type QuestionPlayerResponse = {
|
|
32
62
|
questionTypeKey: null | number;
|
|
33
63
|
children: QuestionPlayerResponse[];
|
|
34
|
-
id: null |
|
|
64
|
+
id: null | number;
|
|
35
65
|
items: QuestionPlayerResponseItem[];
|
|
36
66
|
version: string;
|
|
37
67
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/question/player/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,kCAAkC,EACnC,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,MAAM,MAAM,4BAA4B,GACpC;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,SAAS,EAAE,MAAM,EAAE,CAAA;CAAE,GACvC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEpC,MAAM,MAAM,qCAAqC,GAAG;IAClD,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG;IACjD,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG;IAC/C,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,4BAA4B,CAAC,CAAC;IACtD,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,YAAY,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,wCAAwC,GAAG;IACrD,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,IAAI,EAAE,WAAW,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAClC,oCAAoC,GACpC,kCAAkC,GAClC,wCAAwC,GACxC,qCAAqC,CAAC;AAE1C,MAAM,MAAM,sBAAsB,GAAG;IACnC,eAAe,EAAE,IAAI,GAAG,MAAM,CAAC;IAC/B,QAAQ,EAAE,sBAAsB,EAAE,CAAC;IACnC,EAAE,EAAE,IAAI,GAAG,MAAM,CAAC;IAClB,KAAK,EAAE,0BAA0B,EAAE,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,gBAAgB,EAAE,CAAC,QAAQ,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAC7D,QAAQ,EAAE,sBAAsB,CAAC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,SAAS,EAAE,wBAAwB,CAAC;IACpC,oBAAoB,CAAC,EAAE,kCAAkC,EAAE,CAAC;IAC5D,KAAK,EAAE,oBAAoB,CAAC;CAC7B,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/question/player/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionCompositePreview.d.ts","sourceRoot":"","sources":["../../../src/question/preview/QuestionCompositePreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,kCAAkC,EACnC,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"QuestionCompositePreview.d.ts","sourceRoot":"","sources":["../../../src/question/preview/QuestionCompositePreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,kCAAkC,EACnC,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAMhD,MAAM,MAAM,6BAA6B,GAAG;IAC1C,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,WAAW,EAAE,CACX,KAAK,EAAE,oBAAoB,EAC3B,SAAS,EAAE,wBAAwB,EACnC,UAAU,EAAE,SAAS,MAAM,EAAE,KAC1B,YAAY,CAAC;IAClB,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC/B,oBAAoB,EAAE,SAAS,kCAAkC,EAAE,CAAC;IACpE,KAAK,EAAE,oBAAoB,CAAC;CAC7B,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,EACvC,QAAQ,EACR,UAAe,EACf,WAAW,EACX,oBAAoB,EACpB,KAAK,GACN,EAAE,QAAQ,CAAC,6BAA6B,CAAC,GAAG,YAAY,CAgCxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionBlankGroupView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionBlankGroupView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAShD,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,6BAA6B,CAAC;IACpC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,2BAA2B,CAAC,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"QuestionBlankGroupView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionBlankGroupView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAShD,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,6BAA6B,CAAC;IACpC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,2BAA2B,CAAC,GAAG,YAAY,CAuCtD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { QuestionContentClassificationItem } from "../content-editor/types";
|
|
3
|
+
import type { QuestionMessages } from "../i18n";
|
|
4
|
+
export type QuestionClassificationViewProps = {
|
|
5
|
+
item: QuestionContentClassificationItem;
|
|
6
|
+
messages: QuestionMessages;
|
|
7
|
+
showAnswer: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare function QuestionClassificationView({ item, messages, showAnswer, }: Readonly<QuestionClassificationViewProps>): ReactElement;
|
|
10
|
+
//# sourceMappingURL=QuestionClassificationView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionClassificationView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionClassificationView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,yBAAyB,CAAC;AACjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAQhD,MAAM,MAAM,+BAA+B,GAAG;IAC5C,IAAI,EAAE,iCAAiC,CAAC;IACxC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,EACzC,IAAI,EACJ,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,+BAA+B,CAAC,GAAG,YAAY,CA8B1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionContentElementView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionContentElementView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"QuestionContentElementView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionContentElementView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAIV,mBAAmB,EAOnB,+BAA+B,EAGhC,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAchD,MAAM,MAAM,+BAA+B,GAAG;IAC5C,OAAO,EAAE,+BAA+B,CAAC;IACzC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,EACzC,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,+BAA+B,CAAC,GAAG,YAAY,GAAG,IAAI,CAiDjE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { QuestionContentLineConnectItem } from "../content-editor/types";
|
|
3
|
+
import type { QuestionMessages } from "../i18n";
|
|
4
|
+
export type QuestionLineConnectViewProps = {
|
|
5
|
+
item: QuestionContentLineConnectItem;
|
|
6
|
+
messages: QuestionMessages;
|
|
7
|
+
showAnswer: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare function QuestionLineConnectView({ item, messages, showAnswer, }: Readonly<QuestionLineConnectViewProps>): ReactElement;
|
|
10
|
+
//# sourceMappingURL=QuestionLineConnectView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionLineConnectView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionLineConnectView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,YAAY,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAShD,MAAM,MAAM,4BAA4B,GAAG;IACzC,IAAI,EAAE,8BAA8B,CAAC;IACrC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,EACtC,IAAI,EACJ,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,4BAA4B,CAAC,GAAG,YAAY,CAyCvD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { QuestionContentMatchingItem } from "../content-editor/types";
|
|
3
|
+
import type { QuestionMessages } from "../i18n";
|
|
4
|
+
export type QuestionMatchingViewProps = {
|
|
5
|
+
item: QuestionContentMatchingItem;
|
|
6
|
+
messages: QuestionMessages;
|
|
7
|
+
showAnswer: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare function QuestionMatchingView({ item, messages, showAnswer, }: Readonly<QuestionMatchingViewProps>): ReactElement;
|
|
10
|
+
//# sourceMappingURL=QuestionMatchingView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionMatchingView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionMatchingView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAShD,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,2BAA2B,CAAC;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,yBAAyB,CAAC,GAAG,YAAY,CAkCpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionOptionGroupView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionOptionGroupView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EACV,8BAA8B,EAC9B,0CAA0C,EAC3C,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"QuestionOptionGroupView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionOptionGroupView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EACV,8BAA8B,EAC9B,0CAA0C,EAC3C,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAYhD,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,0CAA0C,CAAC;IACpD,IAAI,EAAE,8BAA8B,CAAC;IACrC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,EACtC,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,4BAA4B,CAAC,GAAG,YAAY,CA8FvD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { QuestionContentOrderingItem } from "../content-editor/types";
|
|
3
|
+
import type { QuestionMessages } from "../i18n";
|
|
4
|
+
export type QuestionOrderingViewProps = {
|
|
5
|
+
item: QuestionContentOrderingItem;
|
|
6
|
+
messages: QuestionMessages;
|
|
7
|
+
showAnswer: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare function QuestionOrderingView({ item, messages, showAnswer, }: Readonly<QuestionOrderingViewProps>): ReactElement;
|
|
10
|
+
//# sourceMappingURL=QuestionOrderingView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionOrderingView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionOrderingView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAOhD,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,2BAA2B,CAAC;IAClC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,IAAI,EACJ,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,yBAAyB,CAAC,GAAG,YAAY,CAmBpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionRichContentView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionRichContentView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAMxE,MAAM,MAAM,4BAA4B,GAAG;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,wBAAwB,CAAC;CACnC,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,EACtC,SAAS,EACT,OAAO,GACR,EAAE,QAAQ,CAAC,4BAA4B,CAAC,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"QuestionRichContentView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionRichContentView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAMxE,MAAM,MAAM,4BAA4B,GAAG;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,wBAAwB,CAAC;CACnC,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,EACtC,SAAS,EACT,OAAO,GACR,EAAE,QAAQ,CAAC,4BAA4B,CAAC,GAAG,YAAY,CAiBvD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ReactElement, type ReactNode } from "react";
|
|
2
|
+
import type { QuestionRichContentValue } from "../content-editor/types";
|
|
3
|
+
export type QuestionRichContentBlankRenderOptions = {
|
|
4
|
+
readonly blankId: string;
|
|
5
|
+
readonly index: number;
|
|
6
|
+
readonly label: string;
|
|
7
|
+
};
|
|
8
|
+
export type QuestionRichContentWithBlankViewProps = {
|
|
9
|
+
className?: string;
|
|
10
|
+
content: QuestionRichContentValue;
|
|
11
|
+
renderBlank: (options: QuestionRichContentBlankRenderOptions) => ReactNode;
|
|
12
|
+
};
|
|
13
|
+
export declare function QuestionRichContentWithBlankView({ className, content, renderBlank, }: Readonly<QuestionRichContentWithBlankViewProps>): ReactElement;
|
|
14
|
+
//# sourceMappingURL=QuestionRichContentWithBlankView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionRichContentWithBlankView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionRichContentWithBlankView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAaxE,MAAM,MAAM,qCAAqC,GAAG;IAClD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,qCAAqC,GAAG;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,wBAAwB,CAAC;IAClC,WAAW,EAAE,CAAC,OAAO,EAAE,qCAAqC,KAAK,SAAS,CAAC;CAC5E,CAAC;AAEF,wBAAgB,gCAAgC,CAAC,EAC/C,SAAS,EACT,OAAO,EACP,WAAW,GACZ,EAAE,QAAQ,CAAC,qCAAqC,CAAC,GAAG,YAAY,CAkBhE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { QuestionRichContentValue } from "../content-editor/types";
|
|
3
|
+
export type QuestionTextMarkerContentProps = {
|
|
4
|
+
answerMarkers?: readonly string[];
|
|
5
|
+
content: QuestionRichContentValue;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
onMarkerClick?: (markerId: string) => void;
|
|
8
|
+
selectedMarkers?: readonly string[];
|
|
9
|
+
showAnswer?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare function QuestionTextMarkerContent({ answerMarkers, content, disabled, onMarkerClick, selectedMarkers, showAnswer, }: Readonly<QuestionTextMarkerContentProps>): ReactElement;
|
|
12
|
+
//# sourceMappingURL=QuestionTextMarkerContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionTextMarkerContent.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionTextMarkerContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAMxE,MAAM,MAAM,8BAA8B,GAAG;IAC3C,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,OAAO,EAAE,wBAAwB,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,eAAe,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,EACxC,aAAkB,EAClB,OAAO,EACP,QAAgB,EAChB,aAAa,EACb,eAAoB,EACpB,UAAkB,GACnB,EAAE,QAAQ,CAAC,8BAA8B,CAAC,GAAG,YAAY,CA0GzD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { QuestionContentTextMarkerItem } from "../content-editor/types";
|
|
3
|
+
import type { QuestionMessages } from "../i18n";
|
|
4
|
+
export type QuestionTextMarkerViewProps = {
|
|
5
|
+
item: QuestionContentTextMarkerItem;
|
|
6
|
+
messages: QuestionMessages;
|
|
7
|
+
showAnswer: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare function QuestionTextMarkerView({ item, messages, showAnswer, }: Readonly<QuestionTextMarkerViewProps>): ReactElement;
|
|
10
|
+
//# sourceMappingURL=QuestionTextMarkerView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionTextMarkerView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionTextMarkerView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAMhD,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,6BAA6B,CAAC;IACpC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,2BAA2B,CAAC,GAAG,YAAY,CAyBtD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { QuestionContentWordBuilderItem, QuestionContentWordBuilderStructureElement } from "../content-editor/types";
|
|
3
|
+
import type { QuestionMessages } from "../i18n";
|
|
4
|
+
export type QuestionWordBuilderViewProps = {
|
|
5
|
+
element: QuestionContentWordBuilderStructureElement;
|
|
6
|
+
item: QuestionContentWordBuilderItem;
|
|
7
|
+
messages: QuestionMessages;
|
|
8
|
+
showAnswer: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare function QuestionWordBuilderView({ element, item, messages, showAnswer, }: Readonly<QuestionWordBuilderViewProps>): ReactElement;
|
|
11
|
+
//# sourceMappingURL=QuestionWordBuilderView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionWordBuilderView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionWordBuilderView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EACV,8BAA8B,EAC9B,0CAA0C,EAC3C,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAQhD,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,0CAA0C,CAAC;IACpD,IAAI,EAAE,8BAA8B,CAAC;IACrC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,EACtC,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,4BAA4B,CAAC,GAAG,YAAY,CAuCvD"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { QuestionContentClassificationItem } from "../content-editor/types";
|
|
2
|
+
import type { QuestionStandardAnswerGroup } from "./QuestionStandardAnswerPanel";
|
|
3
|
+
export declare function getClassificationStandardAnswerGroups(item: QuestionContentClassificationItem): QuestionStandardAnswerGroup[];
|
|
4
|
+
//# sourceMappingURL=classificationAnswers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classificationAnswers.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/classificationAnswers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,yBAAyB,CAAC;AACjF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAIjF,wBAAgB,qCAAqC,CACnD,IAAI,EAAE,iCAAiC,GACtC,2BAA2B,EAAE,CAY/B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { QuestionContentLineConnectItem } from "../content-editor/types";
|
|
2
|
+
import type { QuestionStandardAnswerGroup } from "./QuestionStandardAnswerPanel";
|
|
3
|
+
export declare function getLineConnectStandardAnswerGroups(item: QuestionContentLineConnectItem): QuestionStandardAnswerGroup[];
|
|
4
|
+
//# sourceMappingURL=lineConnectAnswers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lineConnectAnswers.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/lineConnectAnswers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAMjF,wBAAgB,kCAAkC,CAChD,IAAI,EAAE,8BAA8B,GACnC,2BAA2B,EAAE,CAyC/B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { QuestionContentMatchingItem } from "../content-editor/types";
|
|
2
|
+
import type { QuestionStandardAnswerGroup } from "./QuestionStandardAnswerPanel";
|
|
3
|
+
export declare function getMatchingStandardAnswerGroups(item: QuestionContentMatchingItem): QuestionStandardAnswerGroup[];
|
|
4
|
+
//# sourceMappingURL=matchingAnswers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"matchingAnswers.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/matchingAnswers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAKjF,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,2BAA2B,GAChC,2BAA2B,EAAE,CAyB/B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { QuestionContentOptionGroupItem, QuestionContentOptionGroupStructureElement } from "../content-editor/types";
|
|
2
|
+
import type { QuestionStandardAnswerGroup } from "./QuestionStandardAnswerPanel";
|
|
3
|
+
export declare function getOptionGroupStandardAnswerGroups(element: QuestionContentOptionGroupStructureElement, item: QuestionContentOptionGroupItem): QuestionStandardAnswerGroup[];
|
|
4
|
+
//# sourceMappingURL=optionGroupAnswers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"optionGroupAnswers.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/optionGroupAnswers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,8BAA8B,EAC9B,0CAA0C,EAC3C,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAQjF,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,0CAA0C,EACnD,IAAI,EAAE,8BAA8B,GACnC,2BAA2B,EAAE,CAwC/B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { QuestionContentOrderingItem } from "../content-editor/types";
|
|
2
|
+
import type { QuestionStandardAnswerGroup } from "./QuestionStandardAnswerPanel";
|
|
3
|
+
export declare function createOrderingStandardAnswerGroups(item: QuestionContentOrderingItem): QuestionStandardAnswerGroup[];
|
|
4
|
+
//# sourceMappingURL=orderingAnswerGroups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"orderingAnswerGroups.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/orderingAnswerGroups.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAIjF,wBAAgB,kCAAkC,CAChD,IAAI,EAAE,2BAA2B,GAChC,2BAA2B,EAAE,CAa/B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { QuestionContentWordBuilderItem } from "../content-editor/types";
|
|
2
|
+
import type { QuestionStandardAnswerGroup } from "./QuestionStandardAnswerPanel";
|
|
3
|
+
export declare function getWordBuilderStandardAnswerGroups(item: QuestionContentWordBuilderItem, blankLabel: string): QuestionStandardAnswerGroup[];
|
|
4
|
+
//# sourceMappingURL=wordBuilderAnswers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wordBuilderAnswers.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/wordBuilderAnswers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAMjF,wBAAgB,kCAAkC,CAChD,IAAI,EAAE,8BAA8B,EACpC,UAAU,EAAE,MAAM,GACjB,2BAA2B,EAAE,CA0B/B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RichTextEditorApi, RichTextEditorPlugin } from '@yungu-fed/rich-text-editor';
|
|
1
|
+
import type { RichTextEditorApi, RichTextEditorPlugin, RichTextEditorRootProps } from '@yungu-fed/rich-text-editor';
|
|
2
2
|
import type { ReactNode, Ref } from 'react';
|
|
3
3
|
import type { RichTextContent } from '../../model/types';
|
|
4
4
|
export type RichTextFieldProps = {
|
|
@@ -8,7 +8,8 @@ export type RichTextFieldProps = {
|
|
|
8
8
|
readonly onChange: (value: RichTextContent) => void;
|
|
9
9
|
readonly plugins?: readonly RichTextEditorPlugin[];
|
|
10
10
|
readonly toolbarExtra?: ReactNode;
|
|
11
|
+
readonly uploadImage?: RichTextEditorRootProps['uploadImage'];
|
|
11
12
|
readonly value: RichTextContent;
|
|
12
13
|
};
|
|
13
|
-
export declare function RichTextField({ apiRef, ariaLabel, compact, onChange, plugins, toolbarExtra, value, }: RichTextFieldProps): JSX.Element;
|
|
14
|
+
export declare function RichTextField({ apiRef, ariaLabel, compact, onChange, plugins, toolbarExtra, uploadImage, value, }: RichTextFieldProps): JSX.Element;
|
|
14
15
|
//# sourceMappingURL=RichTextField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RichTextField.d.ts","sourceRoot":"","sources":["../../../src/question/rich-text/RichTextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"RichTextField.d.ts","sourceRoot":"","sources":["../../../src/question/rich-text/RichTextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,uBAAuB,EAExB,MAAM,6BAA6B,CAAA;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAI3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAOxD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,MAAM,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAA;IACxC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAA;IACnD,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,oBAAoB,EAAE,CAAA;IAClD,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,CAAA;IACjC,QAAQ,CAAC,WAAW,CAAC,EAAE,uBAAuB,CAAC,aAAa,CAAC,CAAA;IAC7D,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAA;CAChC,CAAA;AAED,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,SAAS,EACT,OAAe,EACf,QAAQ,EACR,OAAY,EACZ,YAAY,EACZ,WAAW,EACX,KAAK,GACN,EAAE,kBAAkB,eA2DpB"}
|
|
@@ -2,7 +2,7 @@ import type { QuestionStructureDraftElement, QuestionStructureDraftExtra } from
|
|
|
2
2
|
import type { QuestionStructureLabels } from "./structure-editor-labels";
|
|
3
3
|
export type QuestionStructureCanvasProps = {
|
|
4
4
|
readonly elements: readonly QuestionStructureDraftElement[];
|
|
5
|
-
readonly
|
|
5
|
+
readonly extras: readonly QuestionStructureDraftExtra[];
|
|
6
6
|
readonly labels: QuestionStructureLabels;
|
|
7
7
|
readonly onDeleteElement: (clientId: string) => void;
|
|
8
8
|
readonly onDeleteExtra: (clientId: string) => void;
|
|
@@ -10,5 +10,5 @@ export type QuestionStructureCanvasProps = {
|
|
|
10
10
|
readonly onSelectElement: (clientId: string) => void;
|
|
11
11
|
readonly selectedElementClientId: null | string;
|
|
12
12
|
};
|
|
13
|
-
export declare function QuestionStructureCanvas({ elements,
|
|
13
|
+
export declare function QuestionStructureCanvas({ elements, extras, labels, onDeleteElement, onDeleteExtra, onMoveElement, onSelectElement, selectedElementClientId, }: QuestionStructureCanvasProps): JSX.Element;
|
|
14
14
|
//# sourceMappingURL=QuestionStructureCanvas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionStructureCanvas.d.ts","sourceRoot":"","sources":["../../../src/question/structure-editor/QuestionStructureCanvas.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,6BAA6B,EAC7B,2BAA2B,EAC5B,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AASxE,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,CAAC,QAAQ,EAAE,SAAS,6BAA6B,EAAE,CAAA;IAC3D,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"QuestionStructureCanvas.d.ts","sourceRoot":"","sources":["../../../src/question/structure-editor/QuestionStructureCanvas.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,6BAA6B,EAC7B,2BAA2B,EAC5B,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AASxE,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,CAAC,QAAQ,EAAE,SAAS,6BAA6B,EAAE,CAAA;IAC3D,QAAQ,CAAC,MAAM,EAAE,SAAS,2BAA2B,EAAE,CAAA;IACvD,QAAQ,CAAC,MAAM,EAAE,uBAAuB,CAAA;IACxC,QAAQ,CAAC,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACpD,QAAQ,CAAC,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAClD,QAAQ,CAAC,aAAa,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,KAAK,IAAI,CAAA;IACrE,QAAQ,CAAC,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IACpD,QAAQ,CAAC,uBAAuB,EAAE,IAAI,GAAG,MAAM,CAAA;CAChD,CAAA;AAED,wBAAgB,uBAAuB,CAAC,EACtC,QAAQ,EACR,MAAM,EACN,MAAM,EACN,eAAe,EACf,aAAa,EACb,aAAa,EACb,eAAe,EACf,uBAAuB,GACxB,EAAE,4BAA4B,eAqK9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionStructureEditor.d.ts","sourceRoot":"","sources":["../../../src/question/structure-editor/QuestionStructureEditor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,sBAAsB,
|
|
1
|
+
{"version":3,"file":"QuestionStructureEditor.d.ts","sourceRoot":"","sources":["../../../src/question/structure-editor/QuestionStructureEditor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,sBAAsB,EAOvB,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EACV,cAAc,EACf,MAAM,SAAS,CAAA;AAoBhB,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,CAAC,MAAM,CAAC,EAAE,cAAc,CAAA;IAChC,QAAQ,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,IAAI,CAAA;IAC1D,QAAQ,CAAC,KAAK,EAAE,sBAAsB,CAAA;CACvC,CAAA;AAED,wBAAgB,uBAAuB,CAAC,EACtC,MAAgB,EAChB,QAAQ,EACR,KAAK,GACN,EAAE,4BAA4B,eAwG9B"}
|