touchstudy-core 0.1.120 → 0.1.122
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/components/CkEditor/CkEditor.d.ts +11 -2
- package/dist/components/MathJax/MathJaxContainer.d.ts +6 -0
- package/dist/components/MathJax/index.d.ts +2 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/containers/ExamResult/configs/types.d.ts +3 -0
- package/dist/containers/PreparedTextbook/configs/constants.d.ts +3 -1
- package/dist/index.css +3 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2183 -2006
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2189 -2023
- package/dist/index.modern.js.map +1 -1
- package/dist/utils/enums/examStatus.d.ts +5 -0
- package/dist/utils/enums/index.d.ts +2 -2
- package/dist/utils/types/examResults.d.ts +2 -0
- package/dist/utils/types/exams.d.ts +3 -0
- package/package.json +2 -1
@@ -1,10 +1,19 @@
|
|
1
|
-
import React from
|
1
|
+
import React from "react";
|
2
2
|
interface Props {
|
3
3
|
ref?: any;
|
4
4
|
value: string;
|
5
5
|
onChange: any;
|
6
6
|
option?: any;
|
7
|
+
onBlur?: any;
|
8
|
+
onFocus?: any;
|
9
|
+
onAfterInsertHtml?: any;
|
10
|
+
onInsertElement?: any;
|
11
|
+
onInsertHtml?: any;
|
12
|
+
onInsertText?: any;
|
13
|
+
onDataReady?: any;
|
14
|
+
onSelectionChange?: any;
|
15
|
+
action?: any;
|
7
16
|
disabled: boolean;
|
8
17
|
}
|
9
|
-
declare const CkEditor: ({ ref, value, onChange,
|
18
|
+
declare const CkEditor: ({ ref, value, option, onBlur, onFocus, onChange, onAfterInsertHtml, onInsertElement, onInsertHtml, onInsertText, onDataReady, onSelectionChange, disabled, ...action }: Props) => React.JSX.Element;
|
10
19
|
export default CkEditor;
|
@@ -2,6 +2,7 @@ import { DateCalendar, DatePicker, DayCalendarSkeleton, LocalizationProvider, Pi
|
|
2
2
|
import { AdapterMoment } from "@mui/x-date-pickers/AdapterMoment";
|
3
3
|
import { DemoContainer } from "@mui/x-date-pickers/internals/demo";
|
4
4
|
import PrintExamView2 from "./Print/PrintExamView2";
|
5
|
+
import { MathJaxContainer } from "./MathJax";
|
5
6
|
export * from "./Alerts";
|
6
7
|
export * from "./Buttons";
|
7
8
|
export * from "./Commons";
|
@@ -15,4 +16,4 @@ export * from "./Chats";
|
|
15
16
|
export * from "./CkEditor";
|
16
17
|
export * from "./List";
|
17
18
|
export * from "./Tables";
|
18
|
-
export { AdapterMoment, DateCalendar, DayCalendarSkeleton, DemoContainer, LocalizationProvider, PickersDay, DatePicker, TimePicker, PrintExamView2 };
|
19
|
+
export { AdapterMoment, DateCalendar, MathJaxContainer, DayCalendarSkeleton, DemoContainer, LocalizationProvider, PickersDay, DatePicker, TimePicker, PrintExamView2 };
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { QuestionAnswerType } from './../../../utils/enums/examStatus';
|
1
2
|
import { CategoryResponse } from "../../../utils/types/examResults";
|
2
3
|
export interface CategoryFormat extends CategoryResponse {
|
3
4
|
totalSolveTime: number;
|
@@ -12,6 +13,7 @@ export declare type EffectSize = {
|
|
12
13
|
answerResponseSignal: number | null;
|
13
14
|
problemCategories: number[];
|
14
15
|
mostSelectedAnswers: string;
|
16
|
+
questionAnswerType?: QuestionAnswerType;
|
15
17
|
};
|
16
18
|
export declare type OrderQuestion = {
|
17
19
|
questionId: number;
|
@@ -62,6 +64,7 @@ export declare type StudentQuestionResult = {
|
|
62
64
|
answerTime: string;
|
63
65
|
article: number;
|
64
66
|
score: number;
|
67
|
+
questionAnswerType: QuestionAnswerType;
|
65
68
|
categories: Category[];
|
66
69
|
overallCorrectRate: number;
|
67
70
|
questionOrder: number;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Exam } from "../../../utils";
|
1
|
+
import { Exam, QuestionAnswerType } from "../../../utils";
|
2
2
|
import { HeaderTable, TextbookQuery } from "./types";
|
3
3
|
export declare const TEXTBOOK_HEADERS: HeaderTable[];
|
4
4
|
export declare const DefaultTextbookFilter: TextbookQuery;
|
@@ -17,6 +17,8 @@ export declare const DefaultQuestion: {
|
|
17
17
|
author: string;
|
18
18
|
subjectId: null;
|
19
19
|
preparedType: null;
|
20
|
+
questionAnswerType: QuestionAnswerType;
|
21
|
+
textualAnswer: string;
|
20
22
|
};
|
21
23
|
export declare const DefaultArticle: {
|
22
24
|
answerCount: number;
|
package/dist/index.css
CHANGED
package/dist/index.d.ts
CHANGED
@@ -2,6 +2,8 @@ import { ToastContainer } from "react-toastify";
|
|
2
2
|
import store from "./store";
|
3
3
|
import i18n from "./i18n";
|
4
4
|
import { I18nextProvider } from "react-i18next";
|
5
|
+
import { MathJaxContext, MathJax } from "better-react-mathjax";
|
6
|
+
import { MathJaxContainer } from "./components";
|
5
7
|
export * from "./configs/api";
|
6
8
|
export * from "./utils";
|
7
9
|
export * from "./components";
|
@@ -9,4 +11,4 @@ export * from "./containers";
|
|
9
11
|
export * from "./layouts";
|
10
12
|
export * from "./redux";
|
11
13
|
export * from "./services";
|
12
|
-
export { store, ToastContainer, i18n, I18nextProvider };
|
14
|
+
export { store, MathJax, MathJaxContainer, MathJaxContext, ToastContainer, i18n, I18nextProvider };
|