touchstudy-core 0.1.75 → 0.1.77
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/Print/PrintExamView2.d.ts +8 -0
- package/dist/components/Print/configs/types.d.ts +16 -0
- package/dist/containers/ExamResult/hooks/useExamResult.d.ts +1 -0
- package/dist/containers/ExamResult/hooks/usePrintView.d.ts +9 -1
- package/dist/index.css +13 -13
- package/dist/index.d.ts +2 -1
- package/dist/index.js +399 -56
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +401 -59
- package/dist/index.modern.js.map +1 -1
- package/dist/tests/performances/do-exam-session.d.ts +1 -1
- package/dist/utilities.d.ts +1 -0
- package/dist/utils/types/tableHeaderType.d.ts +1 -1
- package/package.json +1 -1
@@ -0,0 +1,16 @@
|
|
1
|
+
export declare type ExamSessionData = {
|
2
|
+
examSessionId?: number | string;
|
3
|
+
studentId?: number | string;
|
4
|
+
code?: string;
|
5
|
+
};
|
6
|
+
export declare type ExamSessionEventData = {
|
7
|
+
message: string;
|
8
|
+
examSessionId?: string;
|
9
|
+
code?: string;
|
10
|
+
};
|
11
|
+
export declare enum PrintState {
|
12
|
+
Idling = 0,
|
13
|
+
Stopped = 1,
|
14
|
+
Printing = 2,
|
15
|
+
Paused = 3
|
16
|
+
}
|
@@ -1,5 +1,13 @@
|
|
1
1
|
import { ExamResult } from "../configs/types";
|
2
|
-
declare const usePrintView: (examSessionId
|
2
|
+
declare const usePrintView: ({ examSessionId, studentId, code, setNotFound, resultData, isLoading, errorMessage }: {
|
3
|
+
examSessionId?: number | undefined;
|
4
|
+
studentId?: number | undefined;
|
5
|
+
code?: string | undefined;
|
6
|
+
setNotFound?: Function | undefined;
|
7
|
+
resultData?: ExamResult | undefined;
|
8
|
+
isLoading?: boolean | undefined;
|
9
|
+
errorMessage?: string | undefined;
|
10
|
+
}) => {
|
3
11
|
fileName: string;
|
4
12
|
isDone: boolean;
|
5
13
|
handelPrintSuccess: () => void;
|
package/dist/index.css
CHANGED
@@ -952,21 +952,21 @@
|
|
952
952
|
._eDBpS ._2K_sx ._3ut64 {
|
953
953
|
color: #6B0861; }
|
954
954
|
._eDBpS ._2K_sx ._2VtpD {
|
955
|
-
color: #
|
955
|
+
color: #DB4D4D; }
|
956
956
|
._eDBpS ._2K_sx ._58lQU {
|
957
|
-
color: #
|
957
|
+
color: #FEAF06; }
|
958
958
|
._eDBpS ._2K_sx ._1ucMY {
|
959
|
-
color: #
|
959
|
+
color: #3ACB46; }
|
960
960
|
._eDBpS ._2K_sx ._1qkxy {
|
961
|
-
color: #
|
961
|
+
color: #5D5D5B; }
|
962
962
|
._eDBpS ._2K_sx ._2jIeT {
|
963
963
|
font-weight: 500;
|
964
964
|
font-size: 12px;
|
965
|
-
color: #
|
965
|
+
color: #3ACB46; }
|
966
966
|
._eDBpS ._2K_sx ._to2v0 {
|
967
967
|
font-weight: 500;
|
968
968
|
font-size: 12px;
|
969
|
-
color: #
|
969
|
+
color: #DB4D4D; }
|
970
970
|
._eDBpS ._2K_sx ._1JSte {
|
971
971
|
font-weight: 500;
|
972
972
|
font-size: 12px;
|
@@ -974,15 +974,15 @@
|
|
974
974
|
._eDBpS ._2K_sx ._2_uTU {
|
975
975
|
font-weight: 500;
|
976
976
|
font-size: 12px;
|
977
|
-
color: #
|
977
|
+
color: #3ACB46; }
|
978
978
|
._eDBpS ._2K_sx ._1DBoA {
|
979
979
|
font-weight: 500;
|
980
980
|
font-size: 12px;
|
981
|
-
color: #
|
981
|
+
color: #DB4D4D; }
|
982
982
|
._eDBpS ._2K_sx ._1q3tD {
|
983
983
|
font-weight: 500;
|
984
984
|
font-size: 12px;
|
985
|
-
color: #
|
985
|
+
color: #FEAF06; }
|
986
986
|
._eDBpS ._2K_sx ._3iItu {
|
987
987
|
font-weight: 500;
|
988
988
|
font-size: 12px;
|
@@ -1168,7 +1168,7 @@
|
|
1168
1168
|
font-weight: 500;
|
1169
1169
|
font-size: 12px;
|
1170
1170
|
background-color: #FFF;
|
1171
|
-
color: #
|
1171
|
+
color: #DB4D4D; }
|
1172
1172
|
._2dpMR ._1lSOX {
|
1173
1173
|
min-width: 36px;
|
1174
1174
|
min-height: 22px;
|
@@ -1184,7 +1184,7 @@
|
|
1184
1184
|
font-weight: 500;
|
1185
1185
|
font-size: 12px;
|
1186
1186
|
background-color: #FFF;
|
1187
|
-
color: #
|
1187
|
+
color: #3ACB46; }
|
1188
1188
|
._1ONUt ._1lSOX {
|
1189
1189
|
min-width: 36px;
|
1190
1190
|
min-height: 22px;
|
@@ -1237,7 +1237,7 @@
|
|
1237
1237
|
font-family: "Pretendard";
|
1238
1238
|
font-weight: 600;
|
1239
1239
|
font-size: 12px;
|
1240
|
-
color: #
|
1240
|
+
color: #DB4D4D; }
|
1241
1241
|
._2zmZn ._16P3l ._1fVRi {
|
1242
1242
|
font-family: "Pretendard";
|
1243
1243
|
font-weight: 500;
|
@@ -1252,7 +1252,7 @@
|
|
1252
1252
|
font-family: "Pretendard";
|
1253
1253
|
font-weight: 500;
|
1254
1254
|
font-size: 12px;
|
1255
|
-
color: #
|
1255
|
+
color: #DB4D4D; }
|
1256
1256
|
|
1257
1257
|
._QxKMy {
|
1258
1258
|
padding: 8px; }
|
package/dist/index.d.ts
CHANGED
@@ -76,4 +76,5 @@ import { PassCodeCheck, PassCodeCheckProps } from "./containers/PassCodes/views/
|
|
76
76
|
import LoadingComponent from "./components/Loading/LoadingComponent";
|
77
77
|
import { checkSuperUrl } from "./utils/types/checkSuperUrl";
|
78
78
|
import PrintExamResultView from "./containers/ExamResult/views/PrintExamResultView";
|
79
|
-
|
79
|
+
import PrintExamView2 from "./components/Print/PrintExamView2";
|
80
|
+
export { diffFromNow, formatTime, utcToLocalTime, setLoading, setReadyRegisterPusher, BASE_URL, SUPER_ADMIN_BASE_URL, ACCESS_TOKEN, Login, store, setAlert, setUser, Loading, NotFound, LayoutContext, api, apiUpload, ConfirmDialog, CommonDialog, CustomPagination, useGoogleSignOut, RecentUserAction, PUSHER_CONFIG, ExamEvent, EXAM_CHANNEL, EXAM_STUDENT_CHANNEL, setLanguage, i18n, TheLanguageDropdown, PrintExamView2, TheAcademyDropdown, useTranslation, I18nextProvider, DATE_MIN_VALUE, DATE_TIME_MIN_VALUE, ACADEMY_DOMAIN, minutesToTimeSpan, toISOString, canAccessRoute, CustomSelect, CustomAsyncSelect, CustomSelectOption, LoginWithPassword, getRecentUserActionListApi, getAccessToken, ChatContainer, getOrdinalSuffix, IChatContainerProps, IChatItemProps, IChatHeaderProps, IInputChatProps, ChatItemType, useChatContainer, ConversationResponse, usePusherConversation, ExamResultV2, ToastContainer, toast, Role, useLanguage, useSwitchAcademy, LANGUAGES, CustomCreatable, moment, ExamDetailView, ExamDetailViewProps, Exam, Question, ArticleGroup, getAcademyDomain, useSubjectSelect, useLogin, useAutoAcademyDomain, createRecentUserActionListApi, LoginAccessTokenRequest, LoginRequest, setReFetchUserAcademies, ChatTypes, AcademyHeaders, Types, Enums, CoreHooks, Language, ArticleGroupView, AnswerCountSelector, QuestionCountSelector, ScoreSelector, ArticleCategorySelector, SubjectSelector, useCategorySelect, InputText, Textbook, TextbookDetail, TextbookList, timeUtils, Header, DEFAULT_PAGING_RESPONSE, PagingResponse, AcademyList, getErrorMessage, DefaultErrorMessage, useCountDownTimer, useLoadMore, useVirtualizeList, PassCodeCheck, PassCodeCheckProps, LoadingComponent, PrintExamResultView, checkSuperUrl };
|