touchstudy-core 0.1.119 → 0.1.121
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/README.md +46 -46
- package/dist/StudyTouch_Character_v1_Question~jLFvuYmI.png +0 -0
- 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/Selectors/InActiveAcademySelector.d.ts +16 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/containers/Academies/hooks/usePassCodeDialog.d.ts +10 -0
- package/dist/containers/ExamResult/components/MyAnswer/components/CreateNewQuestion.d.ts +3 -2
- package/dist/containers/ExamResult/configs/types.d.ts +3 -0
- package/dist/containers/PreparedTextbook/apiClients/academyService.d.ts +1 -0
- package/dist/containers/PreparedTextbook/configs/constants.d.ts +3 -1
- package/dist/index.css +12 -9
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2108 -1996
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2104 -2003
- package/dist/index.modern.js.map +1 -1
- package/dist/tests/performances/do-exam-session-list-student.d.ts +19 -0
- package/dist/tests/performances/do-exam-session-request-answer-one-time.d.ts +19 -0
- package/dist/tests/performances/do-exam-session-skip-answer.d.ts +19 -0
- package/dist/tests/performances/do-exam-session2.d.ts +19 -0
- package/dist/utils/enums/examStatus.d.ts +4 -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 +102 -101
- package/dist/components/List/List.d.ts +0 -7
- package/dist/containers/ExamResult/components/Dialog/CreateNewQuestion2.d.ts +0 -9
- package/dist/containers/ExamResult/components/Notes/components/ActionItem.d.ts +0 -7
- package/dist/containers/ExamResult/components/Notes/components/ActionsTooltip.d.ts +0 -14
- package/dist/containers/ExamResult/components/Notes/components/ContentTooltip.d.ts +0 -14
- package/dist/containers/ExamResult/components/Notes/components/NewNoteButton.d.ts +0 -6
- package/dist/containers/ExamResult/components/Notes/components/NoteItem.d.ts +0 -9
- package/dist/containers/ExamResult/components/Notes/components/NoteList.d.ts +0 -12
- package/dist/containers/ExamResult/components/Notes/configs/constants.d.ts +0 -2
- package/dist/containers/ExamResult/components/Notes/configs/interfaces.d.ts +0 -4
- package/dist/containers/ExamResult/components/Notes/hooks/useNotes.d.ts +0 -8
- package/dist/containers/ExamResult/components/Notes/styles/styles.d.ts +0 -67
- package/dist/containers/ExamResult/components/StudentNotes/components/ActionItem.d.ts +0 -7
- package/dist/containers/ExamResult/components/StudentNotes/components/ActionsTooltip.d.ts +0 -14
- package/dist/containers/ExamResult/components/StudentNotes/components/NewNoteButton.d.ts +0 -6
- package/dist/containers/ExamResult/components/StudentNotes/components/NoteItem.d.ts +0 -9
- package/dist/containers/ExamResult/components/StudentNotes/configs/constants.d.ts +0 -2
- package/dist/containers/ExamResult/components/StudentNotes/configs/interfaces.d.ts +0 -7
- package/dist/containers/ExamResult/components/StudentNotes/hooks/useStudentNotes.d.ts +0 -12
- package/dist/containers/ExamResult/components/StudentNotes/index.d.ts +0 -4
- package/dist/containers/ExamResult/components/StudentNotes/styles/styles.d.ts +0 -67
- package/dist/containers/ExamResult/hooks/useExamNoteDialog.d.ts +0 -18
- package/dist/containers/Login/views/LoginQRCode.d.ts +0 -10
- package/dist/containers/Notes/components/ActionItem.d.ts +0 -7
- package/dist/containers/Notes/components/ActionsTooltip.d.ts +0 -16
- package/dist/containers/Notes/components/NoteDialog.d.ts +0 -4
- package/dist/containers/Textbooks/components/TextbookShareDialog.d.ts +0 -26
@@ -1,67 +0,0 @@
|
|
1
|
-
export declare const NoteListStyles: {
|
2
|
-
p: number;
|
3
|
-
bgcolor: string;
|
4
|
-
border: string;
|
5
|
-
borderRadius: string;
|
6
|
-
minHeight: string;
|
7
|
-
};
|
8
|
-
export declare const newButtonStyle: {
|
9
|
-
color: string;
|
10
|
-
borderColor: string;
|
11
|
-
};
|
12
|
-
export declare const NoteItemRootStyle: {
|
13
|
-
bgcolor: string;
|
14
|
-
paddingInline: number;
|
15
|
-
paddingBlock: number;
|
16
|
-
borderRadius: string;
|
17
|
-
};
|
18
|
-
export declare const NoteItemLeftTextStyle: {
|
19
|
-
color: string;
|
20
|
-
fontSize: string;
|
21
|
-
fontWeight: number;
|
22
|
-
};
|
23
|
-
export declare const NoteItemMiddleTextStyle: {
|
24
|
-
color: string;
|
25
|
-
fontSize: string;
|
26
|
-
fontWeight: number;
|
27
|
-
};
|
28
|
-
export declare const NoteItemContentTextStyle: {
|
29
|
-
color: string;
|
30
|
-
fontSize: string;
|
31
|
-
fontWeight: number;
|
32
|
-
};
|
33
|
-
export declare const NoteItemRightTextStyle: {
|
34
|
-
color: string;
|
35
|
-
fontSize: string;
|
36
|
-
fontWeight: number;
|
37
|
-
};
|
38
|
-
export declare const NoteItemStyles: {
|
39
|
-
root: {
|
40
|
-
bgcolor: string;
|
41
|
-
paddingInline: number;
|
42
|
-
paddingBlock: number;
|
43
|
-
borderRadius: string;
|
44
|
-
};
|
45
|
-
text: {
|
46
|
-
left: {
|
47
|
-
color: string;
|
48
|
-
fontSize: string;
|
49
|
-
fontWeight: number;
|
50
|
-
};
|
51
|
-
middle: {
|
52
|
-
color: string;
|
53
|
-
fontSize: string;
|
54
|
-
fontWeight: number;
|
55
|
-
};
|
56
|
-
right: {
|
57
|
-
color: string;
|
58
|
-
fontSize: string;
|
59
|
-
fontWeight: number;
|
60
|
-
};
|
61
|
-
};
|
62
|
-
contentText: {
|
63
|
-
color: string;
|
64
|
-
fontSize: string;
|
65
|
-
fontWeight: number;
|
66
|
-
};
|
67
|
-
};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { MouseEvent } from "react";
|
2
|
-
import { Question } from "../../../utils";
|
3
|
-
import { QuestionData } from "../../../utils/types";
|
4
|
-
declare const useCreateQuestionDialog: (handleSelectQuestion: (question?: QuestionData | undefined) => void) => {
|
5
|
-
questionIdContextMenu: number | undefined;
|
6
|
-
isOpenQuestionDialog: boolean;
|
7
|
-
setOpenQuestionDialog: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
8
|
-
handleOpenQuestionContextMenu: (question: Question) => void;
|
9
|
-
handleOpenQuestionDialog: (_: MouseEvent<HTMLButtonElement>, question: Question) => void;
|
10
|
-
handleCloseQuestionDialog: () => void;
|
11
|
-
handleCreateQuestion: ({ content, examSessionId, questionId }: {
|
12
|
-
content: string;
|
13
|
-
examSessionId: number;
|
14
|
-
questionId: number;
|
15
|
-
}) => Promise<void>;
|
16
|
-
handleCloseQuestionContextMenu: () => void;
|
17
|
-
};
|
18
|
-
export default useCreateQuestionDialog;
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { FC, MouseEvent } from "react";
|
2
|
-
import { SxProps, Theme } from "@mui/material";
|
3
|
-
export declare type Action = {
|
4
|
-
label: string;
|
5
|
-
startIcon?: JSX.Element;
|
6
|
-
endIcon?: JSX.Element;
|
7
|
-
style?: SxProps<Theme>;
|
8
|
-
textStyle?: SxProps<Theme>;
|
9
|
-
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
10
|
-
};
|
11
|
-
declare type Props = {
|
12
|
-
actions: Action[];
|
13
|
-
style?: SxProps<Theme>;
|
14
|
-
};
|
15
|
-
declare const ActionsTooltip: FC<Props>;
|
16
|
-
export default ActionsTooltip;
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import React, { FC } from "react";
|
2
|
-
import { TeacherSimpleResponse } from "../configs/types";
|
3
|
-
import { SearchQuery } from "../../../utils/types/searchQuery";
|
4
|
-
import { PagingResponse } from "../../../utils/types/pagingResponse";
|
5
|
-
interface Props {
|
6
|
-
open: boolean;
|
7
|
-
selectedShare: number[];
|
8
|
-
textSearchShareRef: React.RefObject<HTMLInputElement>;
|
9
|
-
handleChangeSearchTextShare: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
10
|
-
numSelectedShare: number;
|
11
|
-
isCheckAllShare: (teachers: TeacherSimpleResponse[], userLength: number) => boolean;
|
12
|
-
handleSelectAllClickShare: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
13
|
-
teachers: TeacherSimpleResponse[];
|
14
|
-
handleSortShare: (sortColumnName: string) => void;
|
15
|
-
filterShare: SearchQuery;
|
16
|
-
pagingShare: PagingResponse;
|
17
|
-
handleChangePageShare: (_: any, page: number) => void;
|
18
|
-
handleShareTextbook: (teacherIds: number[], textbookId: number) => Promise<void>;
|
19
|
-
isSelectedShare: (id: number) => boolean;
|
20
|
-
handleCloseShareDialog: () => void;
|
21
|
-
handleClickCheckboxShare: (id: number) => void;
|
22
|
-
selectedTeacher: TeacherSimpleResponse | undefined;
|
23
|
-
currentTextbookId: number;
|
24
|
-
}
|
25
|
-
export declare const ShareTextbookDialog: FC<Props>;
|
26
|
-
export {};
|