@yungu-fed/question-editor 0.4.0 → 0.4.2
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 +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3428 -2686
- package/dist/index.mjs +3033 -2496
- package/dist/question/content-editor/QuestionContentClassificationAnswerBoard.d.ts +21 -0
- package/dist/question/content-editor/QuestionContentClassificationAnswerBoard.d.ts.map +1 -0
- package/dist/question/content-editor/QuestionContentClassificationEditor.d.ts.map +1 -1
- package/dist/question/i18n/index.d.ts +1 -1
- package/dist/question/i18n/index.d.ts.map +1 -1
- package/dist/question/i18n/messages.d.ts +1 -0
- package/dist/question/i18n/messages.d.ts.map +1 -1
- package/dist/question/player/QuestionOptionGroupPlayer.d.ts.map +1 -1
- package/dist/question/player/QuestionPlayer.d.ts.map +1 -1
- package/dist/question/player/QuestionWordBuilderPlayer.d.ts.map +1 -1
- package/dist/question/preview/QuestionCompositePreview.d.ts.map +1 -1
- package/dist/question/preview/QuestionPreview.d.ts +7 -7
- package/dist/question/preview/QuestionPreview.d.ts.map +1 -1
- package/dist/question/preview/QuestionPreviewContent.d.ts +9 -0
- package/dist/question/preview/QuestionPreviewContent.d.ts.map +1 -0
- package/dist/question/preview/QuestionPrintPreview.d.ts +5 -0
- package/dist/question/preview/QuestionPrintPreview.d.ts.map +1 -0
- package/dist/question/preview/__tests__/question-preview-mocks.d.ts +12 -0
- package/dist/question/preview/__tests__/question-preview-mocks.d.ts.map +1 -0
- package/dist/question/preview/question-preview-layout.d.ts +5 -0
- package/dist/question/preview/question-preview-layout.d.ts.map +1 -0
- package/dist/question/preview/question-print-presentation.d.ts +23 -0
- package/dist/question/preview/question-print-presentation.d.ts.map +1 -0
- package/dist/question/renderers/QuestionAdaptiveOptionList.d.ts.map +1 -1
- package/dist/question/renderers/QuestionBlankGroupView.d.ts +3 -2
- package/dist/question/renderers/QuestionBlankGroupView.d.ts.map +1 -1
- package/dist/question/renderers/QuestionClassificationView.d.ts.map +1 -1
- package/dist/question/renderers/QuestionContentElementView.d.ts +5 -3
- package/dist/question/renderers/QuestionContentElementView.d.ts.map +1 -1
- package/dist/question/renderers/QuestionDetailLayout.d.ts +12 -0
- package/dist/question/renderers/QuestionDetailLayout.d.ts.map +1 -0
- package/dist/question/renderers/QuestionExtraAttributes.d.ts +12 -0
- package/dist/question/renderers/QuestionExtraAttributes.d.ts.map +1 -0
- package/dist/question/renderers/QuestionFillTextView.d.ts +3 -2
- package/dist/question/renderers/QuestionFillTextView.d.ts.map +1 -1
- package/dist/question/renderers/QuestionJudgementGroupView.d.ts +3 -2
- package/dist/question/renderers/QuestionJudgementGroupView.d.ts.map +1 -1
- package/dist/question/renderers/QuestionLineConnectView.d.ts.map +1 -1
- package/dist/question/renderers/QuestionMatchingView.d.ts.map +1 -1
- package/dist/question/renderers/QuestionOptionGroupView.d.ts +3 -2
- package/dist/question/renderers/QuestionOptionGroupView.d.ts.map +1 -1
- package/dist/question/renderers/QuestionOrderingView.d.ts.map +1 -1
- package/dist/question/renderers/QuestionRichContentView.d.ts.map +1 -1
- package/dist/question/renderers/QuestionRichContentWithBlankView.d.ts.map +1 -1
- package/dist/question/renderers/QuestionSectionTitle.d.ts.map +1 -1
- package/dist/question/renderers/QuestionStandardAnswerPanel.d.ts.map +1 -1
- package/dist/question/renderers/QuestionTextMarkerContent.d.ts.map +1 -1
- package/dist/question/renderers/QuestionWordBuilderView.d.ts +3 -2
- package/dist/question/renderers/QuestionWordBuilderView.d.ts.map +1 -1
- package/dist/question/renderers/blankStandardAnswerGroups.d.ts +9 -0
- package/dist/question/renderers/blankStandardAnswerGroups.d.ts.map +1 -0
- package/dist/question/renderers/matchingAnswers.d.ts +1 -0
- package/dist/question/renderers/matchingAnswers.d.ts.map +1 -1
- package/dist/question/renderers/question-renderer-behavior.d.ts +19 -0
- package/dist/question/renderers/question-renderer-behavior.d.ts.map +1 -0
- package/dist/question/renderers/question-renderer-presentation.d.ts +25 -0
- package/dist/question/renderers/question-renderer-presentation.d.ts.map +1 -0
- package/dist/question/renderers/wordBuilderAnswers.d.ts +1 -1
- package/dist/question/renderers/wordBuilderAnswers.d.ts.map +1 -1
- package/dist/question/shared/QuestionTextResponsePlaceholder.d.ts +7 -0
- package/dist/question/shared/QuestionTextResponsePlaceholder.d.ts.map +1 -0
- package/dist/question/shared/blank-numbering.d.ts +5 -0
- package/dist/question/shared/blank-numbering.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { QuestionContentEditorTranslator } from "./i18n";
|
|
3
|
+
import type { QuestionContentClassificationAnswer, QuestionContentClassificationItem, QuestionContentRichTextControls, QuestionRichContentValue } from "./types";
|
|
4
|
+
type QuestionContentClassificationAnswerBoardProps = {
|
|
5
|
+
answers: QuestionContentClassificationAnswer;
|
|
6
|
+
categories: QuestionContentClassificationItem["categories"];
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
hasAnswer: boolean;
|
|
9
|
+
items: QuestionContentClassificationItem["items"];
|
|
10
|
+
onAddCard: () => void;
|
|
11
|
+
onCardContentChange: (itemId: string, content: QuestionRichContentValue) => void;
|
|
12
|
+
onCategoryContentChange: (categoryId: string, content: QuestionRichContentValue) => void;
|
|
13
|
+
onDeleteCard: (itemId: string) => void;
|
|
14
|
+
onDeleteCategory: (categoryId: string) => void;
|
|
15
|
+
onPlacementChange: (itemId: string, categoryId: string) => void;
|
|
16
|
+
richTextControls: QuestionContentRichTextControls;
|
|
17
|
+
translator: QuestionContentEditorTranslator;
|
|
18
|
+
};
|
|
19
|
+
export declare function QuestionContentClassificationAnswerBoard({ answers, categories, disabled, hasAnswer, items, onAddCard, onCardContentChange, onCategoryContentChange, onDeleteCard, onDeleteCategory, onPlacementChange, richTextControls, translator, }: Readonly<QuestionContentClassificationAnswerBoardProps>): ReactElement;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=QuestionContentClassificationAnswerBoard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionContentClassificationAnswerBoard.d.ts","sourceRoot":"","sources":["../../../src/question/content-editor/QuestionContentClassificationAnswerBoard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,YAAY,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,QAAQ,CAAC;AAC9D,OAAO,KAAK,EACV,mCAAmC,EACnC,iCAAiC,EACjC,+BAA+B,EAC/B,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAajB,KAAK,6CAA6C,GAAG;IACnD,OAAO,EAAE,mCAAmC,CAAC;IAC7C,UAAU,EAAE,iCAAiC,CAAC,YAAY,CAAC,CAAC;IAC5D,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,iCAAiC,CAAC,OAAO,CAAC,CAAC;IAClD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,mBAAmB,EAAE,CACnB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,wBAAwB,KAC9B,IAAI,CAAC;IACV,uBAAuB,EAAE,CACvB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,wBAAwB,KAC9B,IAAI,CAAC;IACV,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,gBAAgB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAChE,gBAAgB,EAAE,+BAA+B,CAAC;IAClD,UAAU,EAAE,+BAA+B,CAAC;CAC7C,CAAC;AAEF,wBAAgB,wCAAwC,CAAC,EACvD,OAAO,EACP,UAAU,EACV,QAAQ,EACR,SAAS,EACT,KAAK,EACL,SAAS,EACT,mBAAmB,EACnB,uBAAuB,EACvB,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,GACX,EAAE,QAAQ,CAAC,6CAA6C,CAAC,GAAG,YAAY,CA+QxE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionContentClassificationEditor.d.ts","sourceRoot":"","sources":["../../../src/question/content-editor/QuestionContentClassificationEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,QAAQ,CAAC;AAC9D,OAAO,KAAK,EACV,iCAAiC,EACjC,mBAAmB,EACnB,+BAA+B,EAEhC,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"QuestionContentClassificationEditor.d.ts","sourceRoot":"","sources":["../../../src/question/content-editor/QuestionContentClassificationEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,QAAQ,CAAC;AAC9D,OAAO,KAAK,EACV,iCAAiC,EACjC,mBAAmB,EACnB,+BAA+B,EAEhC,MAAM,SAAS,CAAC;AAoBjB,KAAK,wCAAwC,GAAG;IAC9C,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,iCAAiC,CAAC;IACxC,QAAQ,EAAE,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC9C,gBAAgB,EAAE,+BAA+B,CAAC;IAClD,UAAU,EAAE,+BAA+B,CAAC;CAC7C,CAAC;AAEF,wBAAgB,mCAAmC,CAAC,EAClD,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,QAAQ,EACR,gBAAgB,EAChB,UAAU,GACX,EAAE,QAAQ,CAAC,wCAAwC,CAAC,GAAG,YAAY,CAqFnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/question/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,GACpB,MAAM,YAAY,CAAA;AACnB,YAAY,EACV,cAAc,EACd,gBAAgB,GACjB,MAAM,YAAY,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/question/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,EAC9B,mBAAmB,GACpB,MAAM,YAAY,CAAA;AACnB,YAAY,EACV,cAAc,EACd,gBAAgB,GACjB,MAAM,YAAY,CAAA"}
|
|
@@ -64,4 +64,5 @@ export type QuestionMessages = {
|
|
|
64
64
|
readonly previewEmpty: string;
|
|
65
65
|
};
|
|
66
66
|
export declare function getQuestionMessages(locale?: QuestionLocale): QuestionMessages;
|
|
67
|
+
export declare function getQuestionInteractiveMessages(locale?: QuestionLocale): QuestionMessages;
|
|
67
68
|
//# sourceMappingURL=messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/question/i18n/messages.ts"],"names":[],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/question/i18n/messages.ts"],"names":[],"mappings":"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"}
|
|
@@ -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,0BAA0B,EAC1B,8BAA8B,EAC/B,MAAM,uBAAuB,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,0BAA0B,EAC1B,8BAA8B,EAC/B,MAAM,uBAAuB,CAAC;AAe/B,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,8BAA8B,KAAK,IAAI,CAAC;IACzD,QAAQ,EAAE,0BAA0B,CAAC;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,EACxC,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,UAAU,GACX,EAAE,QAAQ,CAAC,8BAA8B,CAAC,GAAG,YAAY,CAwKzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionPlayer.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAc1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"QuestionPlayer.d.ts","sourceRoot":"","sources":["../../../src/question/player/QuestionPlayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAc1C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAgDnD,wBAAgB,cAAc,CAC5B,EAAE,MAAgB,EAAE,GAAG,KAAK,EAAE,EAAE,QAAQ,CAAC,mBAAmB,CAAC,GAC5D,YAAY,CAqBd"}
|
|
@@ -1 +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,0BAA0B,EAC1B,8BAA8B,EAC/B,MAAM,uBAAuB,CAAC;
|
|
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,0BAA0B,EAC1B,8BAA8B,EAC/B,MAAM,uBAAuB,CAAC;AAW/B,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,8BAA8B,KAAK,IAAI,CAAC;IACzD,QAAQ,EAAE,0BAA0B,CAAC;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,EACxC,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,UAAU,GACX,EAAE,QAAQ,CAAC,8BAA8B,CAAC,GAAG,YAAY,CA+HzD"}
|
|
@@ -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,EACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAQhD,MAAM,MAAM,6BAA6B,GAAG;IAC1C,cAAc,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,WAAW,EAAE,CACX,KAAK,EAAE,oBAAoB,EAC3B,cAAc,EAAE,SAAS,MAAM,EAAE,KAC9B,YAAY,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,oBAAoB,CAAC;CAC7B,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,EACvC,cAAmB,EACnB,QAAQ,EACR,WAAW,EACX,kBAAkB,EAClB,KAAK,GACN,EAAE,QAAQ,CAAC,6BAA6B,CAAC,GAAG,YAAY,
|
|
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,EACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAQhD,MAAM,MAAM,6BAA6B,GAAG;IAC1C,cAAc,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,WAAW,EAAE,CACX,KAAK,EAAE,oBAAoB,EAC3B,cAAc,EAAE,SAAS,MAAM,EAAE,KAC9B,YAAY,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,oBAAoB,CAAC;CAC7B,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,EACvC,cAAmB,EACnB,QAAQ,EACR,WAAW,EACX,kBAAkB,EAClB,KAAK,GACN,EAAE,QAAQ,CAAC,6BAA6B,CAAC,GAAG,YAAY,CA0BxD"}
|
|
@@ -3,13 +3,13 @@ import type { QuestionContentQuestionTypeTemplate } from "../content-editor/type
|
|
|
3
3
|
import type { QuestionLocale } from "../i18n";
|
|
4
4
|
import type { QuestionPresentationDraft } from "../presentation-contract";
|
|
5
5
|
export type QuestionPreviewProps = {
|
|
6
|
-
className?: string;
|
|
7
|
-
locale?: QuestionLocale;
|
|
6
|
+
readonly className?: string;
|
|
7
|
+
readonly locale?: QuestionLocale;
|
|
8
8
|
readonly rootQuestionNumber?: number;
|
|
9
|
-
showAnswer?: boolean;
|
|
10
|
-
showExtraAttributes?: boolean;
|
|
11
|
-
questionTypeTemplates: readonly QuestionContentQuestionTypeTemplate[];
|
|
12
|
-
value: QuestionPresentationDraft;
|
|
9
|
+
readonly showAnswer?: boolean;
|
|
10
|
+
readonly showExtraAttributes?: boolean;
|
|
11
|
+
readonly questionTypeTemplates: readonly QuestionContentQuestionTypeTemplate[];
|
|
12
|
+
readonly value: QuestionPresentationDraft;
|
|
13
13
|
};
|
|
14
|
-
export declare function QuestionPreview(
|
|
14
|
+
export declare function QuestionPreview(props: Readonly<QuestionPreviewProps>): ReactElement;
|
|
15
15
|
//# sourceMappingURL=QuestionPreview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionPreview.d.ts","sourceRoot":"","sources":["../../../src/question/preview/QuestionPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"QuestionPreview.d.ts","sourceRoot":"","sources":["../../../src/question/preview/QuestionPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AACnF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAI1E,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,MAAM,CAAC,EAAE,cAAc,CAAC;IACjC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IACvC,QAAQ,CAAC,qBAAqB,EAAE,SAAS,mCAAmC,EAAE,CAAC;IAC/E,QAAQ,CAAC,KAAK,EAAE,yBAAyB,CAAC;CAC3C,CAAC;AAEF,wBAAgB,eAAe,CAC7B,KAAK,EAAE,QAAQ,CAAC,oBAAoB,CAAC,GACpC,YAAY,CAEd"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { QuestionPreviewProps } from "./QuestionPreview";
|
|
3
|
+
export type QuestionPreviewPresentation = "preview" | "print";
|
|
4
|
+
type QuestionPreviewRootProps = QuestionPreviewProps & {
|
|
5
|
+
readonly presentation: QuestionPreviewPresentation;
|
|
6
|
+
};
|
|
7
|
+
export declare function QuestionPreviewRoot({ locale, ...props }: Readonly<QuestionPreviewRootProps>): ReactElement;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=QuestionPreviewContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionPreviewContent.d.ts","sourceRoot":"","sources":["../../../src/question/preview/QuestionPreviewContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAW1C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAkB9D,MAAM,MAAM,2BAA2B,GAAG,SAAS,GAAG,OAAO,CAAC;AAE9D,KAAK,wBAAwB,GAAG,oBAAoB,GAAG;IACrD,QAAQ,CAAC,YAAY,EAAE,2BAA2B,CAAC;CACpD,CAAC;AAYF,wBAAgB,mBAAmB,CAAC,EAClC,MAAgB,EAChB,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,wBAAwB,CAAC,GAAG,YAAY,CAmBnD"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
import type { QuestionPreviewProps } from "./QuestionPreview";
|
|
3
|
+
export type QuestionPrintPreviewProps = QuestionPreviewProps;
|
|
4
|
+
export declare function QuestionPrintPreview(props: Readonly<QuestionPrintPreviewProps>): ReactElement;
|
|
5
|
+
//# sourceMappingURL=QuestionPrintPreview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionPrintPreview.d.ts","sourceRoot":"","sources":["../../../src/question/preview/QuestionPrintPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAY9D,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAAC;AAE7D,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,QAAQ,CAAC,yBAAyB,CAAC,GACzC,YAAY,CAcd"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { QuestionContentDraft, QuestionContentQuestionTypeTemplate } from "../../content-editor/types";
|
|
2
|
+
export type QuestionPreviewMockId = "composite" | "fivePrimeChoice" | "singleChoice" | "sixMixedChoice" | "sixShortChoice";
|
|
3
|
+
export type QuestionPreviewMock = {
|
|
4
|
+
readonly id: QuestionPreviewMockId;
|
|
5
|
+
readonly label: string;
|
|
6
|
+
readonly value: QuestionContentDraft;
|
|
7
|
+
};
|
|
8
|
+
export declare const questionPreviewSingleChoiceTemplate: QuestionContentQuestionTypeTemplate;
|
|
9
|
+
export declare const questionPreviewMockTemplates: readonly QuestionContentQuestionTypeTemplate[];
|
|
10
|
+
export declare const questionPreviewSingleChoice: QuestionContentDraft;
|
|
11
|
+
export declare const questionPreviewMocks: readonly QuestionPreviewMock[];
|
|
12
|
+
//# sourceMappingURL=question-preview-mocks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"question-preview-mocks.d.ts","sourceRoot":"","sources":["../../../../src/question/preview/__tests__/question-preview-mocks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,mCAAmC,EAEpC,MAAM,4BAA4B,CAAC;AAKpC,MAAM,MAAM,qBAAqB,GAC7B,WAAW,GACX,iBAAiB,GACjB,cAAc,GACd,gBAAgB,GAChB,gBAAgB,CAAC;AAErB,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,EAAE,EAAE,qBAAqB,CAAC;IACnC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,oBAAoB,CAAC;CACtC,CAAC;AAUF,eAAO,MAAM,mCAAmC,qCAQ/C,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,SAAS,mCAAmC,EAiDtF,CAAC;AA0EF,eAAO,MAAM,2BAA2B,EAAE,oBAuBzC,CAAC;AAqFF,eAAO,MAAM,oBAAoB,EAAE,SAAS,mBAAmB,EA0B9D,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import previewStyles from "./QuestionPreview.module.css";
|
|
2
|
+
export type QuestionPreviewLayoutStyles = typeof previewStyles;
|
|
3
|
+
export declare const QuestionPreviewLayoutContext: import("react").Context<CSSModuleClasses>;
|
|
4
|
+
export declare function useQuestionPreviewLayoutStyles(): QuestionPreviewLayoutStyles;
|
|
5
|
+
//# sourceMappingURL=question-preview-layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"question-preview-layout.d.ts","sourceRoot":"","sources":["../../../src/question/preview/question-preview-layout.ts"],"names":[],"mappings":"AAEA,OAAO,aAAa,MAAM,8BAA8B,CAAC;AAEzD,MAAM,MAAM,2BAA2B,GAAG,OAAO,aAAa,CAAC;AAE/D,eAAO,MAAM,4BAA4B,2CACkB,CAAC;AAE5D,wBAAgB,8BAA8B,IAAI,2BAA2B,CAE5E"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const questionPrintPresentationStyles: {
|
|
2
|
+
answer: CSSModuleClasses;
|
|
3
|
+
blankGroup: CSSModuleClasses;
|
|
4
|
+
classification: CSSModuleClasses;
|
|
5
|
+
lineConnect: {
|
|
6
|
+
column: string;
|
|
7
|
+
item: string;
|
|
8
|
+
marker: string;
|
|
9
|
+
};
|
|
10
|
+
matching: {
|
|
11
|
+
column: string;
|
|
12
|
+
item: string;
|
|
13
|
+
marker: string;
|
|
14
|
+
};
|
|
15
|
+
renderer: {
|
|
16
|
+
"rich-content": string;
|
|
17
|
+
};
|
|
18
|
+
sectionTitle: CSSModuleClasses;
|
|
19
|
+
table: CSSModuleClasses;
|
|
20
|
+
textMarker: CSSModuleClasses;
|
|
21
|
+
textResponse: CSSModuleClasses;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=question-print-presentation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"question-print-presentation.d.ts","sourceRoot":"","sources":["../../../src/question/preview/question-print-presentation.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;CAoBE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionAdaptiveOptionList.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionAdaptiveOptionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQpE,MAAM,MAAM,+BAA+B,GAAG;IAC5C,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;CAC9B,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,GACT,EAAE,QAAQ,CAAC,+BAA+B,CAAC,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"QuestionAdaptiveOptionList.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionAdaptiveOptionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQpE,MAAM,MAAM,+BAA+B,GAAG;IAC5C,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;CAC9B,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,GACT,EAAE,QAAQ,CAAC,+BAA+B,CAAC,GAAG,YAAY,CAkF1D"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { ReactElement } from "react";
|
|
2
2
|
import type { QuestionContentBlankGroupItem } from "../content-editor/types";
|
|
3
|
-
import type { QuestionMessages } from "../i18n";
|
|
3
|
+
import type { QuestionLocale, QuestionMessages } from "../i18n";
|
|
4
4
|
export type QuestionBlankGroupViewProps = {
|
|
5
5
|
item: QuestionContentBlankGroupItem;
|
|
6
|
+
locale: QuestionLocale;
|
|
6
7
|
messages: QuestionMessages;
|
|
7
8
|
showAnswer: boolean;
|
|
8
9
|
};
|
|
9
|
-
export declare function QuestionBlankGroupView({ item, messages, showAnswer, }: Readonly<QuestionBlankGroupViewProps>): ReactElement;
|
|
10
|
+
export declare function QuestionBlankGroupView({ item, locale, messages, showAnswer, }: Readonly<QuestionBlankGroupViewProps>): ReactElement;
|
|
10
11
|
//# sourceMappingURL=QuestionBlankGroupView.d.ts.map
|
|
@@ -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;
|
|
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,cAAc,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAUhE,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,6BAA6B,CAAC;IACpC,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,2BAA2B,CAAC,GAAG,YAAY,CAgEtD"}
|
|
@@ -1 +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;
|
|
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;AAOhD,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,CAmC1D"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { ReactElement } from "react";
|
|
2
|
-
import type { QuestionContentItem, QuestionContentStructureElement } from "../content-editor/types";
|
|
3
|
-
import type { QuestionMessages } from "../i18n";
|
|
2
|
+
import type { QuestionContentItem, QuestionRichContentValue, QuestionContentStructureElement } from "../content-editor/types";
|
|
3
|
+
import type { QuestionLocale, QuestionMessages } from "../i18n";
|
|
4
4
|
export type QuestionContentElementViewProps = {
|
|
5
5
|
element: QuestionContentStructureElement;
|
|
6
6
|
item: QuestionContentItem;
|
|
7
|
+
judgementStem?: QuestionRichContentValue;
|
|
8
|
+
locale: QuestionLocale;
|
|
7
9
|
messages: QuestionMessages;
|
|
8
10
|
showAnswer: boolean;
|
|
9
11
|
};
|
|
10
|
-
export declare function QuestionContentElementView({ element, item, messages, showAnswer, }: Readonly<QuestionContentElementViewProps>): ReactElement | null;
|
|
12
|
+
export declare function QuestionContentElementView({ element, item, judgementStem, locale, messages, showAnswer, }: Readonly<QuestionContentElementViewProps>): ReactElement | null;
|
|
11
13
|
//# sourceMappingURL=QuestionContentElementView.d.ts.map
|
|
@@ -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,EAIV,mBAAmB,EAOnB,+BAA+B,EAGhC,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;
|
|
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,wBAAwB,EACxB,+BAA+B,EAGhC,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAiBhE,MAAM,MAAM,+BAA+B,GAAG;IAC5C,OAAO,EAAE,+BAA+B,CAAC;IACzC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,aAAa,CAAC,EAAE,wBAAwB,CAAC;IACzC,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,EACzC,OAAO,EACP,IAAI,EACJ,aAAa,EACb,MAAM,EACN,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,+BAA+B,CAAC,GAAG,YAAY,GAAG,IAAI,CAkEjE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { QuestionContentDraft } from "../content-editor/types";
|
|
2
|
+
type QuestionDetailRowPosition = "end" | "middle" | "single" | "start";
|
|
3
|
+
export type QuestionDetailLayout = {
|
|
4
|
+
readonly answerPositions: readonly QuestionDetailRowPosition[];
|
|
5
|
+
readonly extraList: "joined" | "standalone";
|
|
6
|
+
readonly extraPositions: readonly QuestionDetailRowPosition[];
|
|
7
|
+
};
|
|
8
|
+
export declare function createQuestionDetailLayout(answerCount: number, extraCount: number, joinLeadingAnswer: boolean): QuestionDetailLayout;
|
|
9
|
+
export declare function syncQuestionDetailLayout(root: HTMLElement): void;
|
|
10
|
+
export declare function useQuestionDetailLayout(showAnswer: boolean, showExtraAttributes: boolean, value: QuestionContentDraft): import("react").RefObject<HTMLDivElement>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=QuestionDetailLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionDetailLayout.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionDetailLayout.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,KAAK,yBAAyB,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEvE,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,eAAe,EAAE,SAAS,yBAAyB,EAAE,CAAC;IAC/D,QAAQ,CAAC,SAAS,EAAE,QAAQ,GAAG,YAAY,CAAC;IAC5C,QAAQ,CAAC,cAAc,EAAE,SAAS,yBAAyB,EAAE,CAAC;CAC/D,CAAC;AAOF,wBAAgB,0BAA0B,CACxC,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,iBAAiB,EAAE,OAAO,GACzB,oBAAoB,CAUtB;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CAkChE;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,OAAO,EACnB,mBAAmB,EAAE,OAAO,EAC5B,KAAK,EAAE,oBAAoB,6CAY5B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode } from "react";
|
|
2
|
+
import type { QuestionContentDraft, QuestionContentExtraItem, QuestionContentExtraStructureItem } from "../content-editor/types";
|
|
3
|
+
import type { QuestionMessages } from "../i18n";
|
|
4
|
+
export type QuestionExtraAttributesProps = {
|
|
5
|
+
readonly compactTitles: boolean;
|
|
6
|
+
readonly extras: readonly QuestionContentExtraStructureItem[];
|
|
7
|
+
readonly messages: QuestionMessages;
|
|
8
|
+
readonly renderContent: (item: QuestionContentExtraItem, extra: QuestionContentExtraStructureItem, extraIndex: number) => ReactNode;
|
|
9
|
+
readonly value: QuestionContentDraft;
|
|
10
|
+
};
|
|
11
|
+
export declare function QuestionExtraAttributes({ compactTitles, extras, messages, renderContent, value, }: Readonly<QuestionExtraAttributesProps>): ReactElement | null;
|
|
12
|
+
//# sourceMappingURL=QuestionExtraAttributes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionExtraAttributes.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionExtraAttributes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,iCAAiC,EAClC,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAShD,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,SAAS,iCAAiC,EAAE,CAAC;IAC9D,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,QAAQ,CAAC,aAAa,EAAE,CACtB,IAAI,EAAE,wBAAwB,EAC9B,KAAK,EAAE,iCAAiC,EACxC,UAAU,EAAE,MAAM,KACf,SAAS,CAAC;IACf,QAAQ,CAAC,KAAK,EAAE,oBAAoB,CAAC;CACtC,CAAC;AAQF,wBAAgB,uBAAuB,CAAC,EACtC,aAAa,EACb,MAAM,EACN,QAAQ,EACR,aAAa,EACb,KAAK,GACN,EAAE,QAAQ,CAAC,4BAA4B,CAAC,GAAG,YAAY,GAAG,IAAI,CAmC9D"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { ReactElement } from "react";
|
|
2
2
|
import type { QuestionContentFillTextItem, QuestionContentFillTextStructureElement } from "../content-editor/types";
|
|
3
|
-
import type { QuestionMessages } from "../i18n";
|
|
3
|
+
import type { QuestionLocale, QuestionMessages } from "../i18n";
|
|
4
4
|
export type QuestionFillTextViewProps = {
|
|
5
5
|
element: QuestionContentFillTextStructureElement;
|
|
6
6
|
item: QuestionContentFillTextItem;
|
|
7
|
+
locale: QuestionLocale;
|
|
7
8
|
messages: QuestionMessages;
|
|
8
9
|
showAnswer: boolean;
|
|
9
10
|
};
|
|
10
|
-
export declare function QuestionFillTextView({ element, item, messages, showAnswer, }: Readonly<QuestionFillTextViewProps>): ReactElement;
|
|
11
|
+
export declare function QuestionFillTextView({ element, item, locale, messages, showAnswer, }: Readonly<QuestionFillTextViewProps>): ReactElement;
|
|
11
12
|
//# sourceMappingURL=QuestionFillTextView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionFillTextView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionFillTextView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EACV,2BAA2B,EAC3B,uCAAuC,EACxC,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"QuestionFillTextView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionFillTextView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EACV,2BAA2B,EAC3B,uCAAuC,EACxC,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAiBhE,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,EAAE,uCAAuC,CAAC;IACjD,IAAI,EAAE,2BAA2B,CAAC;IAClC,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,yBAAyB,CAAC,GAAG,YAAY,CA4CpD"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { ReactElement } from "react";
|
|
2
|
-
import type { QuestionContentJudgementGroupItem, QuestionContentJudgementGroupStructureElement } from "../content-editor/types";
|
|
2
|
+
import type { QuestionContentJudgementGroupItem, QuestionContentJudgementGroupStructureElement, QuestionRichContentValue } from "../content-editor/types";
|
|
3
3
|
import type { QuestionMessages } from "../i18n";
|
|
4
4
|
export type QuestionJudgementGroupViewProps = {
|
|
5
5
|
element: QuestionContentJudgementGroupStructureElement;
|
|
6
6
|
item: QuestionContentJudgementGroupItem;
|
|
7
7
|
messages: QuestionMessages;
|
|
8
8
|
showAnswer: boolean;
|
|
9
|
+
stem?: QuestionRichContentValue;
|
|
9
10
|
};
|
|
10
|
-
export declare function QuestionJudgementGroupView({ element, item, messages, showAnswer, }: Readonly<QuestionJudgementGroupViewProps>): ReactElement;
|
|
11
|
+
export declare function QuestionJudgementGroupView({ element, item, messages, showAnswer, stem, }: Readonly<QuestionJudgementGroupViewProps>): ReactElement;
|
|
11
12
|
//# sourceMappingURL=QuestionJudgementGroupView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionJudgementGroupView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionJudgementGroupView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EACV,iCAAiC,EACjC,6CAA6C,
|
|
1
|
+
{"version":3,"file":"QuestionJudgementGroupView.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionJudgementGroupView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EACV,iCAAiC,EACjC,6CAA6C,EAC7C,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAUhD,MAAM,MAAM,+BAA+B,GAAG;IAC5C,OAAO,EAAE,6CAA6C,CAAC;IACvD,IAAI,EAAE,iCAAiC,CAAC;IACxC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,wBAAwB,CAAC;CACjC,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,EACzC,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,UAAU,EACV,IAAI,GACL,EAAE,QAAQ,CAAC,+BAA+B,CAAC,GAAG,YAAY,CAiD1D"}
|
|
@@ -1 +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,
|
|
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,CA0DvD"}
|
|
@@ -1 +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;
|
|
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;AAYhD,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,CA4CpD"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { ReactElement } from "react";
|
|
2
2
|
import type { QuestionContentOptionGroupItem, QuestionContentOptionGroupStructureElement } from "../content-editor/types";
|
|
3
|
-
import type { QuestionMessages } from "../i18n";
|
|
3
|
+
import type { QuestionLocale, QuestionMessages } from "../i18n";
|
|
4
4
|
export type QuestionOptionGroupViewProps = {
|
|
5
5
|
element: QuestionContentOptionGroupStructureElement;
|
|
6
6
|
item: QuestionContentOptionGroupItem;
|
|
7
|
+
locale: QuestionLocale;
|
|
7
8
|
messages: QuestionMessages;
|
|
8
9
|
showAnswer: boolean;
|
|
9
10
|
};
|
|
10
|
-
export declare function QuestionOptionGroupView({ element, item, messages, showAnswer, }: Readonly<QuestionOptionGroupViewProps>): ReactElement;
|
|
11
|
+
export declare function QuestionOptionGroupView({ element, item, locale, messages, showAnswer, }: Readonly<QuestionOptionGroupViewProps>): ReactElement;
|
|
11
12
|
//# sourceMappingURL=QuestionOptionGroupView.d.ts.map
|
|
@@ -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,cAAc,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAchE,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,0CAA0C,CAAC;IACpD,IAAI,EAAE,8BAA8B,CAAC;IACrC,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,EACtC,OAAO,EACP,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,4BAA4B,CAAC,GAAG,YAAY,CAyHvD"}
|
|
@@ -1 +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,
|
|
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,CAqBpD"}
|
|
@@ -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,CAkBvD"}
|
|
@@ -1 +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,
|
|
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,CAmBhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionSectionTitle.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionSectionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,GACT,EAAE,QAAQ,CAAC,yBAAyB,CAAC,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"QuestionSectionTitle.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionSectionTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,GACT,EAAE,QAAQ,CAAC,yBAAyB,CAAC,GAAG,YAAY,CAIpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionStandardAnswerPanel.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionStandardAnswerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"QuestionStandardAnswerPanel.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/QuestionStandardAnswerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMrD,MAAM,MAAM,2BAA2B,GACnC;IACE,IAAI,EAAE,YAAY,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CAChB,GACD;IACE,QAAQ,EAAE,SAAS,SAAS,EAAE,CAAC;IAC/B,IAAI,EAAE,UAAU,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEN,MAAM,MAAM,gCAAgC,GAAG;IAC7C,MAAM,EAAE,SAAS,2BAA2B,EAAE,CAAC;IAC/C,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,wBAAgB,2BAA2B,CAAC,EAC1C,MAAM,EACN,KAAK,GACN,EAAE,QAAQ,CAAC,gCAAgC,CAAC,GAAG,YAAY,GAAG,IAAI,CAsDlE"}
|
|
@@ -1 +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,
|
|
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,CA2GzD"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { ReactElement } from "react";
|
|
2
2
|
import type { QuestionContentWordBuilderItem, QuestionContentWordBuilderStructureElement } from "../content-editor/types";
|
|
3
|
-
import type { QuestionMessages } from "../i18n";
|
|
3
|
+
import type { QuestionLocale, QuestionMessages } from "../i18n";
|
|
4
4
|
export type QuestionWordBuilderViewProps = {
|
|
5
5
|
element: QuestionContentWordBuilderStructureElement;
|
|
6
6
|
item: QuestionContentWordBuilderItem;
|
|
7
|
+
locale: QuestionLocale;
|
|
7
8
|
messages: QuestionMessages;
|
|
8
9
|
showAnswer: boolean;
|
|
9
10
|
};
|
|
10
|
-
export declare function QuestionWordBuilderView({ element, item, messages, showAnswer, }: Readonly<QuestionWordBuilderViewProps>): ReactElement;
|
|
11
|
+
export declare function QuestionWordBuilderView({ element, item, locale, messages, showAnswer, }: Readonly<QuestionWordBuilderViewProps>): ReactElement;
|
|
11
12
|
//# sourceMappingURL=QuestionWordBuilderView.d.ts.map
|
|
@@ -1 +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;
|
|
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,cAAc,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAUhE,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,0CAA0C,CAAC;IACpD,IAAI,EAAE,8BAA8B,CAAC;IACrC,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,wBAAgB,uBAAuB,CAAC,EACtC,OAAO,EACP,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,UAAU,GACX,EAAE,QAAQ,CAAC,4BAA4B,CAAC,GAAG,YAAY,CAmDvD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { QuestionRichContentValue } from "../content-editor/types";
|
|
2
|
+
import type { QuestionLocale } from "../i18n";
|
|
3
|
+
import type { QuestionStandardAnswerGroup } from "./QuestionStandardAnswerPanel";
|
|
4
|
+
export type BlankAnswerContentGroup = {
|
|
5
|
+
readonly blankIds: readonly string[];
|
|
6
|
+
readonly contents: readonly QuestionRichContentValue[];
|
|
7
|
+
};
|
|
8
|
+
export declare function createBlankStandardAnswerGroups(groups: readonly BlankAnswerContentGroup[], blanks: readonly string[], locale: QuestionLocale): readonly QuestionStandardAnswerGroup[];
|
|
9
|
+
//# sourceMappingURL=blankStandardAnswerGroups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blankStandardAnswerGroups.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/blankStandardAnswerGroups.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAMjF,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,QAAQ,CAAC,QAAQ,EAAE,SAAS,wBAAwB,EAAE,CAAC;CACxD,CAAC;AAEF,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,SAAS,uBAAuB,EAAE,EAC1C,MAAM,EAAE,SAAS,MAAM,EAAE,EACzB,MAAM,EAAE,cAAc,GACrB,SAAS,2BAA2B,EAAE,CAgBxC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { QuestionContentMatchingItem } from "../content-editor/types";
|
|
2
2
|
import type { QuestionStandardAnswerGroup } from "./QuestionStandardAnswerPanel";
|
|
3
3
|
export declare function getMatchingStandardAnswerGroups(item: QuestionContentMatchingItem): QuestionStandardAnswerGroup[];
|
|
4
|
+
export declare function getMatchingMarkerPathStandardAnswerGroups(item: QuestionContentMatchingItem): QuestionStandardAnswerGroup[];
|
|
4
5
|
//# sourceMappingURL=matchingAnswers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matchingAnswers.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/matchingAnswers.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"matchingAnswers.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/matchingAnswers.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAGV,2BAA2B,EAC5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAMjF,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,2BAA2B,GAChC,2BAA2B,EAAE,CA0B/B;AAED,wBAAgB,yCAAyC,CACvD,IAAI,EAAE,2BAA2B,GAChC,2BAA2B,EAAE,CAgD/B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { QuestionLocale } from "../i18n";
|
|
2
|
+
export type QuestionBlankAnswerMarkerFormatter = (blankIds: readonly string[], blanks: readonly string[], locale: QuestionLocale, blankLabel: string) => string;
|
|
3
|
+
export type QuestionRendererBehavior = {
|
|
4
|
+
readonly answerGroupLayout: "flow" | "rows";
|
|
5
|
+
readonly blankAnswerMarker: QuestionBlankAnswerMarkerFormatter;
|
|
6
|
+
readonly blankPlaceholder: "answer-line" | "labeled-field";
|
|
7
|
+
readonly candidateLayout: "labeled-groups" | "plain-list";
|
|
8
|
+
readonly correctOptionHighlight: boolean;
|
|
9
|
+
readonly lineConnectColumnTitleVisibility: "accessible-only" | "visible";
|
|
10
|
+
readonly matchingAnswerLayout: "marker-path" | "target-content";
|
|
11
|
+
readonly optionStandardAnswer: "grouped" | "value-only";
|
|
12
|
+
readonly showEmptyAnswerGroups: boolean;
|
|
13
|
+
readonly textResponseVisibility: "accessible-only" | "hidden";
|
|
14
|
+
};
|
|
15
|
+
export declare const previewQuestionRendererBehavior: QuestionRendererBehavior;
|
|
16
|
+
export declare const printQuestionRendererBehavior: QuestionRendererBehavior;
|
|
17
|
+
export declare const QuestionRendererBehaviorContext: import("react").Context<QuestionRendererBehavior>;
|
|
18
|
+
export declare function useQuestionRendererBehavior(): QuestionRendererBehavior;
|
|
19
|
+
//# sourceMappingURL=question-renderer-behavior.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"question-renderer-behavior.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/question-renderer-behavior.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAK9C,MAAM,MAAM,kCAAkC,GAAG,CAC/C,QAAQ,EAAE,SAAS,MAAM,EAAE,EAC3B,MAAM,EAAE,SAAS,MAAM,EAAE,EACzB,MAAM,EAAE,cAAc,EACtB,UAAU,EAAE,MAAM,KACf,MAAM,CAAC;AAEZ,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5C,QAAQ,CAAC,iBAAiB,EAAE,kCAAkC,CAAC;IAC/D,QAAQ,CAAC,gBAAgB,EAAE,aAAa,GAAG,eAAe,CAAC;IAC3D,QAAQ,CAAC,eAAe,EAAE,gBAAgB,GAAG,YAAY,CAAC;IAC1D,QAAQ,CAAC,sBAAsB,EAAE,OAAO,CAAC;IACzC,QAAQ,CAAC,gCAAgC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACzE,QAAQ,CAAC,oBAAoB,EAAE,aAAa,GAAG,gBAAgB,CAAC;IAChE,QAAQ,CAAC,oBAAoB,EAAE,SAAS,GAAG,YAAY,CAAC;IACxD,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAC;IACxC,QAAQ,CAAC,sBAAsB,EAAE,iBAAiB,GAAG,QAAQ,CAAC;CAC/D,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,wBAY7C,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,wBAY3C,CAAC;AAEF,eAAO,MAAM,+BAA+B,mDAC8B,CAAC;AAE3E,wBAAgB,2BAA2B,IAAI,wBAAwB,CAEtE"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import lineConnectStyles from "../line-connect/QuestionLineConnectLayout.module.css";
|
|
2
|
+
import textResponseStyles from "../shared/QuestionTextResponsePlaceholder.module.css";
|
|
3
|
+
import blankGroupStyles from "./QuestionBlankGroupView.module.css";
|
|
4
|
+
import classificationStyles from "./QuestionClassificationView.module.css";
|
|
5
|
+
import matchingStyles from "./QuestionMatchingView.module.css";
|
|
6
|
+
import rendererStyles from "./QuestionRenderer.module.css";
|
|
7
|
+
import tableStyles from "./QuestionRendererTable.module.css";
|
|
8
|
+
import sectionTitleStyles from "./QuestionSectionTitle.module.css";
|
|
9
|
+
import answerStyles from "./QuestionStandardAnswerPanel.module.css";
|
|
10
|
+
import textMarkerStyles from "./QuestionTextMarkerContent.module.css";
|
|
11
|
+
export type QuestionRendererPresentationStyles = {
|
|
12
|
+
readonly answer: typeof answerStyles;
|
|
13
|
+
readonly blankGroup: typeof blankGroupStyles;
|
|
14
|
+
readonly classification: typeof classificationStyles;
|
|
15
|
+
readonly lineConnect: typeof lineConnectStyles;
|
|
16
|
+
readonly matching: typeof matchingStyles;
|
|
17
|
+
readonly renderer: typeof rendererStyles;
|
|
18
|
+
readonly sectionTitle: typeof sectionTitleStyles;
|
|
19
|
+
readonly table: typeof tableStyles;
|
|
20
|
+
readonly textMarker: typeof textMarkerStyles;
|
|
21
|
+
readonly textResponse: typeof textResponseStyles;
|
|
22
|
+
};
|
|
23
|
+
export declare const QuestionRendererPresentationContext: import("react").Context<QuestionRendererPresentationStyles>;
|
|
24
|
+
export declare function useQuestionRendererPresentationStyles(): QuestionRendererPresentationStyles;
|
|
25
|
+
//# sourceMappingURL=question-renderer-presentation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"question-renderer-presentation.d.ts","sourceRoot":"","sources":["../../../src/question/renderers/question-renderer-presentation.ts"],"names":[],"mappings":"AAEA,OAAO,iBAAiB,MAAM,sDAAsD,CAAC;AACrF,OAAO,kBAAkB,MAAM,sDAAsD,CAAC;AACtF,OAAO,gBAAgB,MAAM,qCAAqC,CAAC;AACnE,OAAO,oBAAoB,MAAM,yCAAyC,CAAC;AAC3E,OAAO,cAAc,MAAM,mCAAmC,CAAC;AAC/D,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAC3D,OAAO,WAAW,MAAM,oCAAoC,CAAC;AAC7D,OAAO,kBAAkB,MAAM,mCAAmC,CAAC;AACnE,OAAO,YAAY,MAAM,0CAA0C,CAAC;AACpE,OAAO,gBAAgB,MAAM,wCAAwC,CAAC;AAEtE,MAAM,MAAM,kCAAkC,GAAG;IAC/C,QAAQ,CAAC,MAAM,EAAE,OAAO,YAAY,CAAC;IACrC,QAAQ,CAAC,UAAU,EAAE,OAAO,gBAAgB,CAAC;IAC7C,QAAQ,CAAC,cAAc,EAAE,OAAO,oBAAoB,CAAC;IACrD,QAAQ,CAAC,WAAW,EAAE,OAAO,iBAAiB,CAAC;IAC/C,QAAQ,CAAC,QAAQ,EAAE,OAAO,cAAc,CAAC;IACzC,QAAQ,CAAC,QAAQ,EAAE,OAAO,cAAc,CAAC;IACzC,QAAQ,CAAC,YAAY,EAAE,OAAO,kBAAkB,CAAC;IACjD,QAAQ,CAAC,KAAK,EAAE,OAAO,WAAW,CAAC;IACnC,QAAQ,CAAC,UAAU,EAAE,OAAO,gBAAgB,CAAC;IAC7C,QAAQ,CAAC,YAAY,EAAE,OAAO,kBAAkB,CAAC;CAClD,CAAC;AAeF,eAAO,MAAM,mCAAmC,6DAG7C,CAAC;AAEJ,wBAAgB,qCAAqC,IAAI,kCAAkC,CAE1F"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { QuestionContentWordBuilderItem } from "../content-editor/types";
|
|
2
2
|
import type { QuestionStandardAnswerGroup } from "./QuestionStandardAnswerPanel";
|
|
3
|
-
export declare function getWordBuilderStandardAnswerGroups(item: QuestionContentWordBuilderItem,
|
|
3
|
+
export declare function getWordBuilderStandardAnswerGroups(item: QuestionContentWordBuilderItem, formatMarker: (blankIds: readonly string[], blanks: readonly string[]) => string): QuestionStandardAnswerGroup[];
|
|
4
4
|
//# sourceMappingURL=wordBuilderAnswers.d.ts.map
|
|
@@ -1 +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;
|
|
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;AAKjF,wBAAgB,kCAAkC,CAChD,IAAI,EAAE,8BAA8B,EACpC,YAAY,EAAE,CACZ,QAAQ,EAAE,SAAS,MAAM,EAAE,EAC3B,MAAM,EAAE,SAAS,MAAM,EAAE,KACtB,MAAM,GACV,2BAA2B,EAAE,CAuB/B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ReactElement } from "react";
|
|
2
|
+
export type QuestionTextResponsePlaceholderProps = {
|
|
3
|
+
readonly className?: string;
|
|
4
|
+
readonly label: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function QuestionTextResponsePlaceholder({ className, label, }: Readonly<QuestionTextResponsePlaceholderProps>): ReactElement;
|
|
7
|
+
//# sourceMappingURL=QuestionTextResponsePlaceholder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestionTextResponsePlaceholder.d.ts","sourceRoot":"","sources":["../../../src/question/shared/QuestionTextResponsePlaceholder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,MAAM,MAAM,oCAAoC,GAAG;IACjD,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,wBAAgB,+BAA+B,CAAC,EAC9C,SAA8B,EAC9B,KAAK,GACN,EAAE,QAAQ,CAAC,oCAAoC,CAAC,GAAG,YAAY,CAI/D"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { QuestionLocale } from "../i18n";
|
|
2
|
+
/** 将内部 one-based 空位序号转换为当前语言下的默认展示文案。 */
|
|
3
|
+
export declare function formatBlankOrdinalLabel(index: number, locale: QuestionLocale): string;
|
|
4
|
+
export declare function formatBlankOrdinalListLabel(blankIds: readonly string[], blanks: readonly string[], locale: QuestionLocale): string;
|
|
5
|
+
//# sourceMappingURL=blank-numbering.d.ts.map
|