@yungu-fed/question-editor 0.4.0 → 0.4.1
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 +1332 -849
- package/dist/index.mjs +2680 -2329
- 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/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/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 +18 -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
|
@@ -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;AAgB9D,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,CAenD"}
|
|
@@ -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,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"}
|
|
@@ -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;AAYhE,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,CA0FvD"}
|
|
@@ -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,CAqDlE"}
|
|
@@ -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,18 @@
|
|
|
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 lineConnectColumnTitleVisibility: "accessible-only" | "visible";
|
|
9
|
+
readonly matchingAnswerLayout: "marker-path" | "target-content";
|
|
10
|
+
readonly optionStandardAnswer: "grouped" | "value-only";
|
|
11
|
+
readonly showEmptyAnswerGroups: boolean;
|
|
12
|
+
readonly textResponseVisibility: "accessible-only" | "hidden";
|
|
13
|
+
};
|
|
14
|
+
export declare const previewQuestionRendererBehavior: QuestionRendererBehavior;
|
|
15
|
+
export declare const printQuestionRendererBehavior: QuestionRendererBehavior;
|
|
16
|
+
export declare const QuestionRendererBehaviorContext: import("react").Context<QuestionRendererBehavior>;
|
|
17
|
+
export declare function useQuestionRendererBehavior(): QuestionRendererBehavior;
|
|
18
|
+
//# 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,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,wBAW7C,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,wBAW3C,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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blank-numbering.d.ts","sourceRoot":"","sources":["../../../src/question/shared/blank-numbering.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAiB9C,yCAAyC;AACzC,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,cAAc,GACrB,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,SAAS,MAAM,EAAE,EAC3B,MAAM,EAAE,SAAS,MAAM,EAAE,EACzB,MAAM,EAAE,cAAc,GACrB,MAAM,CAUR"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yungu-fed/question-editor",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"vitest": "^4.1.8"
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
|
-
"@yungu-fed/rich-text-editor": "^0.1.
|
|
85
|
+
"@yungu-fed/rich-text-editor": "^0.1.6",
|
|
86
86
|
"ulid": "^3.0.2"
|
|
87
87
|
}
|
|
88
88
|
}
|