touchstudy-core 0.1.133 → 0.1.135

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.
Files changed (61) hide show
  1. package/README.md +46 -46
  2. package/dist/StudyTouch_Character_v1_Question~jLFvuYmI.png +0 -0
  3. package/dist/components/Chats/ChatHeader.d.ts +25 -0
  4. package/dist/components/Chats/ChatItem.d.ts +31 -0
  5. package/dist/components/Chats/ChatLeftItem.d.ts +4 -0
  6. package/dist/components/Chats/ChatList.d.ts +14 -0
  7. package/dist/components/Chats/ChatRightItem.d.ts +4 -0
  8. package/dist/components/Chats/InputChat.d.ts +16 -0
  9. package/dist/components/Chats/components/CustomTooltip.d.ts +2 -0
  10. package/dist/components/CkEditor/CkEditor.d.ts +19 -0
  11. package/dist/components/CkEditor/config.d.ts +19 -0
  12. package/dist/components/CkEditor/index.d.ts +2 -0
  13. package/dist/components/ErrorHandler.d.ts +6 -0
  14. package/dist/components/LabelRequired.d.ts +8 -0
  15. package/dist/components/Selectors/InActiveAcademySelector.d.ts +16 -0
  16. package/dist/containers/Academies/hooks/usePassCodeDialog.d.ts +10 -0
  17. package/dist/containers/ExamResult/components/MyAnswer/components/CreateNewQuestion.d.ts +15 -0
  18. package/dist/containers/Exams/configs/types.d.ts +22 -0
  19. package/dist/containers/PreparedTextbook/apiClients/academyService.d.ts +1 -0
  20. package/dist/containers/PreparedTextbook/components/Article.d.ts +2 -3
  21. package/dist/containers/PreparedTextbook/components/TextbookOwners.d.ts +13 -0
  22. package/dist/containers/PreparedTextbook/configs/enums.d.ts +1 -1
  23. package/dist/containers/PreparedTextbook/configs/functions.d.ts +1 -1
  24. package/dist/containers/Users/components/Dialogs/DeleteUserCsvDialog.d.ts +10 -0
  25. package/dist/containers/Users/components/Dialogs/RecentUserActionDialog.d.ts +9 -0
  26. package/dist/containers/Users/components/Dialogs/UserDialog.d.ts +12 -0
  27. package/dist/index.css +9 -9
  28. package/dist/index.js +16 -12
  29. package/dist/index.js.map +1 -1
  30. package/dist/index.modern.js +16 -12
  31. package/dist/index.modern.js.map +1 -1
  32. package/dist/tests/performances/do-exam-session-list-student.d.ts +19 -0
  33. package/dist/tests/performances/do-exam-session-request-answer-one-time.d.ts +19 -0
  34. package/dist/tests/performances/do-exam-session-skip-answer.d.ts +19 -0
  35. package/dist/tests/performances/do-exam-session2.d.ts +19 -0
  36. package/dist/utils/canAccessRoute.d.ts +2 -0
  37. package/dist/utils/diffFromNow.d.ts +3 -0
  38. package/dist/utils/encodeParams.d.ts +2 -0
  39. package/dist/utils/formatTime.d.ts +4 -0
  40. package/dist/utils/getAcademyDomain.d.ts +2 -0
  41. package/dist/utils/getAccessToken.d.ts +2 -0
  42. package/dist/utils/getErrorMessage.d.ts +1 -0
  43. package/dist/utils/getLanguage.d.ts +2 -0
  44. package/dist/utils/getLearningSpace.d.ts +2 -0
  45. package/dist/utils/getRedirectUrl.d.ts +2 -0
  46. package/dist/utils/helpers.d.ts +22 -0
  47. package/dist/utils/isLocalHost.d.ts +2 -0
  48. package/dist/utils/minutesToTimeSpan.d.ts +2 -0
  49. package/dist/utils/pusherTo.d.ts +1 -0
  50. package/dist/utils/times.d.ts +6 -0
  51. package/dist/utils/toISOString.d.ts +2 -0
  52. package/dist/utils/toLocalTime.d.ts +1 -0
  53. package/dist/utils/types/checkSuperUrl.d.ts +1 -0
  54. package/dist/utils/types.d.ts +9 -0
  55. package/dist/utils/utcToLocalTime.d.ts +2 -0
  56. package/package.json +102 -102
  57. package/dist/.DS_Store +0 -0
  58. package/dist/components/.DS_Store +0 -0
  59. package/dist/containers/.DS_Store +0 -0
  60. package/dist/redux/.DS_Store +0 -0
  61. package/dist/utils/.DS_Store +0 -0
package/README.md CHANGED
@@ -1,46 +1,46 @@
1
- # Getting Started with Create React App
2
-
3
- This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
4
-
5
- ## Available Scripts
6
-
7
- In the project directory, you can run:
8
-
9
- ### `npm start`
10
-
11
- Runs the app in the development mode.\
12
- Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
13
-
14
- The page will reload if you make edits.\
15
- You will also see any lint errors in the console.
16
-
17
- ### `npm test`
18
-
19
- Launches the test runner in the interactive watch mode.\
20
- See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21
-
22
- ### `npm run build`
23
-
24
- Builds the app for production to the `build` folder.\
25
- It correctly bundles React in production mode and optimizes the build for the best performance.
26
-
27
- The build is minified and the filenames include the hashes.\
28
- Your app is ready to be deployed!
29
-
30
- See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31
-
32
- ### `npm run eject`
33
-
34
- **Note: this is a one-way operation. Once you `eject`, you can’t go back!**
35
-
36
- If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
37
-
38
- Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
39
-
40
- You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
41
-
42
- ## Learn More
43
-
44
- You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45
-
46
- To learn React, check out the [React documentation](https://reactjs.org/).
1
+ # Getting Started with Create React App
2
+
3
+ This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
4
+
5
+ ## Available Scripts
6
+
7
+ In the project directory, you can run:
8
+
9
+ ### `npm start`
10
+
11
+ Runs the app in the development mode.\
12
+ Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
13
+
14
+ The page will reload if you make edits.\
15
+ You will also see any lint errors in the console.
16
+
17
+ ### `npm test`
18
+
19
+ Launches the test runner in the interactive watch mode.\
20
+ See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21
+
22
+ ### `npm run build`
23
+
24
+ Builds the app for production to the `build` folder.\
25
+ It correctly bundles React in production mode and optimizes the build for the best performance.
26
+
27
+ The build is minified and the filenames include the hashes.\
28
+ Your app is ready to be deployed!
29
+
30
+ See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31
+
32
+ ### `npm run eject`
33
+
34
+ **Note: this is a one-way operation. Once you `eject`, you can’t go back!**
35
+
36
+ If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
37
+
38
+ Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
39
+
40
+ You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
41
+
42
+ ## Learn More
43
+
44
+ You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45
+
46
+ To learn React, check out the [React documentation](https://reactjs.org/).
@@ -0,0 +1,25 @@
1
+ import { FC } from "react";
2
+ export interface IExamOption {
3
+ id: number;
4
+ code: string;
5
+ title: string;
6
+ createdAt: string;
7
+ startTime: string;
8
+ }
9
+ export interface IChatHeaderProps {
10
+ fullName?: string;
11
+ examTitle?: string;
12
+ createdAt?: string;
13
+ durationExam?: string;
14
+ score?: number | null;
15
+ totalScore?: number | null;
16
+ courseId?: number | null;
17
+ category?: string | null;
18
+ questionOrder?: number;
19
+ conversationId?: number;
20
+ isCompleted?: boolean;
21
+ teacherName?: string;
22
+ roles?: Array<string>;
23
+ }
24
+ declare const ChatHeader: FC<IChatHeaderProps>;
25
+ export default ChatHeader;
@@ -0,0 +1,31 @@
1
+ import { FC } from "react";
2
+ import { StudentsConversationResponse } from "./configs/types";
3
+ export interface IChatItemProps {
4
+ id?: number;
5
+ isMe?: boolean;
6
+ avatar?: string;
7
+ content?: string;
8
+ createdAt: string;
9
+ sender?: StudentsConversationResponse;
10
+ isRead: boolean;
11
+ contentType?: number;
12
+ conversationId?: number;
13
+ }
14
+ export interface IChatItemWithActionProps extends IChatItemProps {
15
+ onReTrySendMessage?: () => void;
16
+ handleUpdateMessage: (conversationId: number, id: number, message: string, callback: any) => void;
17
+ handleDeleteMessage: (conversationId: number, id: number, callback: any) => void;
18
+ showTimestamp?: boolean;
19
+ showName?: boolean;
20
+ isStudent?: boolean;
21
+ toggleImageDialog?: () => void;
22
+ toggleConfirmDialog?: () => void;
23
+ toggleUpdateDialog?: () => void;
24
+ }
25
+ export declare enum ChatItemType {
26
+ Default = 0,
27
+ Exam = 1,
28
+ Class = 2
29
+ }
30
+ declare const ChatItem: FC<IChatItemWithActionProps>;
31
+ export default ChatItem;
@@ -0,0 +1,4 @@
1
+ import { FC } from "react";
2
+ import { IChatItemWithActionProps } from "./ChatItem";
3
+ declare const ChatLeftItem: FC<IChatItemWithActionProps>;
4
+ export default ChatLeftItem;
@@ -0,0 +1,14 @@
1
+ import React, { FC } from "react";
2
+ import { IChatItemProps } from "./ChatItem";
3
+ export interface IChatListProps {
4
+ messages?: IChatItemProps[];
5
+ onReTrySendMessage?: () => void;
6
+ roles: Array<String>;
7
+ handleUpdateMessage: (conversationId: number, id: number, message: string, callback: any) => Promise<void>;
8
+ handleDeleteMessage: (conversationId: number, id: number, callback: any) => Promise<void>;
9
+ }
10
+ interface Props extends IChatListProps {
11
+ listItemRef: React.RefObject<HTMLUListElement>;
12
+ }
13
+ declare const ChatList: FC<Props>;
14
+ export default ChatList;
@@ -0,0 +1,4 @@
1
+ import { FC } from "react";
2
+ import { IChatItemWithActionProps } from "./ChatItem";
3
+ declare const ChatRightItem: FC<IChatItemWithActionProps>;
4
+ export default ChatRightItem;
@@ -0,0 +1,16 @@
1
+ import React, { FC } from "react";
2
+ import { MessageRequest } from "./configs/types";
3
+ export interface IInputChatProps {
4
+ text: string;
5
+ onSubmit: () => void;
6
+ onChangeInput: (text: string) => void;
7
+ isCompleted?: boolean;
8
+ handleUploadImage: (file: File) => void;
9
+ selectedFile?: MessageRequest | null;
10
+ handleDeleteSelectedImage: () => void;
11
+ }
12
+ interface Props extends IInputChatProps {
13
+ inputRef: React.RefObject<HTMLInputElement>;
14
+ }
15
+ declare const InputChat: FC<Props>;
16
+ export default InputChat;
@@ -0,0 +1,2 @@
1
+ declare const CustomTooltip: any;
2
+ export default CustomTooltip;
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ interface Props {
3
+ ref?: any;
4
+ value: string;
5
+ onChange: any;
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;
16
+ disabled: boolean;
17
+ }
18
+ declare const CkEditor: ({ ref, value, option, onBlur, onFocus, onChange, onAfterInsertHtml, onInsertElement, onInsertHtml, onInsertText, onDataReady, onSelectionChange, disabled, ...action }: Props) => React.JSX.Element;
19
+ export default CkEditor;
@@ -0,0 +1,19 @@
1
+ export declare const config: {
2
+ height: number;
3
+ allowedContent: boolean;
4
+ toolbar: (string | string[] | {
5
+ name: string;
6
+ groups: string[];
7
+ items: string[];
8
+ } | {
9
+ name: string;
10
+ items: string[];
11
+ groups?: undefined;
12
+ } | {
13
+ name: string;
14
+ groups?: undefined;
15
+ items?: undefined;
16
+ })[];
17
+ filebrowserImageUploadUrl: string;
18
+ filebrowserUploadUrl: string;
19
+ };
@@ -0,0 +1,2 @@
1
+ import CkEditor from "./CkEditor";
2
+ export { CkEditor };
@@ -0,0 +1,6 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ text: string;
4
+ }
5
+ declare const ErrorHandler: FC<Props>;
6
+ export default ErrorHandler;
@@ -0,0 +1,8 @@
1
+ import { FormLabelProps } from "@mui/material";
2
+ import { FC } from "react";
3
+ interface Props extends FormLabelProps {
4
+ text: string;
5
+ isRequired?: boolean;
6
+ }
7
+ declare const LabelRequired: FC<Props>;
8
+ export default LabelRequired;
@@ -0,0 +1,16 @@
1
+ import { FC } from "react";
2
+ import { Role } from "../../utils/constants";
3
+ interface Props {
4
+ value?: any;
5
+ onChange: any;
6
+ externalAcademyIds?: number[];
7
+ title?: string;
8
+ isMulti?: boolean;
9
+ minimumTextSearchLength?: number;
10
+ isDisabled?: boolean;
11
+ defaultValueAtFirst?: boolean;
12
+ placeholder?: string;
13
+ role: Role;
14
+ }
15
+ declare const InActiveAcademySelector: FC<Props>;
16
+ export default InActiveAcademySelector;
@@ -0,0 +1,10 @@
1
+ declare const usePassCodeDialog: () => {
2
+ isStudent: any;
3
+ isOpenDialog: boolean;
4
+ handleOpenDialog: () => void;
5
+ handleCloseDialog: () => void;
6
+ handleSubmit: () => Promise<void>;
7
+ textCodeValue: string;
8
+ handleChangeText: (e: React.ChangeEvent<HTMLInputElement>) => void;
9
+ };
10
+ export default usePassCodeDialog;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ declare type Props = {
3
+ openCreateQuestionDialog: boolean;
4
+ toggleCreateQuestion: () => void;
5
+ handleCreateQuestion: any;
6
+ questionOrderSelected?: number;
7
+ examSessionId?: number;
8
+ textbookSessionId?: number;
9
+ questionOptions: {
10
+ label: string;
11
+ value: number;
12
+ }[];
13
+ };
14
+ export default function CreateNewQuestionDialog({ handleCreateQuestion, openCreateQuestionDialog, toggleCreateQuestion, examSessionId, textbookSessionId, questionOrderSelected, questionOptions }: Props): React.JSX.Element;
15
+ export {};
@@ -0,0 +1,22 @@
1
+ export declare type Question = {
2
+ id?: number;
3
+ numberOfAnswers: number;
4
+ correctAnswers: number[];
5
+ score: number;
6
+ categoryId?: number;
7
+ article: number;
8
+ questionOrder: number;
9
+ };
10
+ export declare type Exam = {
11
+ title: string;
12
+ subjectId: number;
13
+ duration: number;
14
+ questions: Question[];
15
+ };
16
+ export declare type ArticleGroup = {
17
+ article: number;
18
+ categoryId?: number;
19
+ answerCount: number;
20
+ questionCount: number;
21
+ questions: Question[];
22
+ };
@@ -0,0 +1 @@
1
+ export declare const getAcademiesApi: (textSearch: string, isAdmin: boolean) => Promise<import("axios").AxiosResponse<any, any>>;
@@ -1,9 +1,8 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  import { Theme } from "@mui/material";
3
3
  import { ArticleResponse, ChapterResponse, TextbookState } from "../configs/types";
4
4
  declare type Props = {
5
5
  t: any;
6
- errors: any;
7
6
  theme: Theme;
8
7
  articleIndex: number;
9
8
  textbookState: any;
@@ -17,5 +16,5 @@ declare type Props = {
17
16
  subChapter?: ChapterResponse;
18
17
  chapter?: ChapterResponse;
19
18
  };
20
- declare const Article: ({ t, errors, articleIndex, subChapterIndex, chapterIndex, article, values, textbookState, subChapter, chapter, subjectId, handleRedirect, onChangeFieldValue }: Props) => React.JSX.Element;
19
+ declare const Article: ({ t, articleIndex, subChapterIndex, chapterIndex, article, values, textbookState, subChapter, chapter, subjectId, handleRedirect, onChangeFieldValue }: Props) => React.JSX.Element;
21
20
  export default Article;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { Theme } from "@mui/material";
3
+ import { TextbookOwner } from "../configs/types";
4
+ declare type Props = {
5
+ t: any;
6
+ theme: Theme;
7
+ onChangeFieldValue: any;
8
+ textbookOwners?: TextbookOwner[];
9
+ errors: any;
10
+ values: any;
11
+ };
12
+ declare const TextbookOwners: ({ t, errors, values, onChangeFieldValue, textbookOwners }: Props) => React.JSX.Element;
13
+ export default TextbookOwners;
@@ -11,6 +11,6 @@ export declare enum HighSchoolGrade {
11
11
  Algebra = 3,
12
12
  Calculus1 = 4,
13
13
  Calculus2 = 5,
14
- FunWithMeasurement = 6,
14
+ ProbabilityAndStatistics = 6,
15
15
  Geometry = 7
16
16
  }
@@ -1,4 +1,4 @@
1
1
  import { TextbookDetailResponse } from "./types";
2
2
  export declare const reduceToMathArticles: (textbook: any, isMath?: number | undefined) => any;
3
- export declare const resetAllCrategoriesAndQuestionTypesBySubject: (textbook: any, subject?: any) => any;
3
+ export declare const resetAllCategoriesAndQuestionTypesBySubject: (textbook: any, subject?: any) => any;
4
4
  export declare const convertResponseToRequest: (selectedTextbook?: TextbookDetailResponse | undefined) => import("./types").TextbookRequest;
@@ -0,0 +1,10 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ open: boolean;
4
+ file?: File;
5
+ onChangeFile: (file?: File) => void;
6
+ onClose: () => void;
7
+ onSubmit: () => Promise<boolean>;
8
+ }
9
+ declare const DeleteUserCsvDialog: FC<Props>;
10
+ export default DeleteUserCsvDialog;
@@ -0,0 +1,9 @@
1
+ import { FC } from "react";
2
+ import { Types } from "../../../..";
3
+ interface Props {
4
+ open: boolean;
5
+ onClose: () => void;
6
+ recentUserActions?: Types.RecentUserActionResponse[];
7
+ }
8
+ declare const RecentUserActionDialog: FC<Props>;
9
+ export default RecentUserActionDialog;
@@ -0,0 +1,12 @@
1
+ import { FC } from "react";
2
+ import { UserForm } from "../../configs/types";
3
+ import { User } from "../../../../utils/types/users";
4
+ interface Props {
5
+ open: boolean;
6
+ data?: User;
7
+ disabled?: boolean;
8
+ onClose: () => void;
9
+ onSubmitForm: (data: UserForm) => void;
10
+ }
11
+ declare const UserDialog: FC<Props>;
12
+ export default UserDialog;
package/dist/index.css CHANGED
@@ -353,7 +353,7 @@
353
353
  background-clip: padding-box;
354
354
  border: 1px solid #dee2e6;
355
355
  border-radius: 0.375rem;
356
- transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
356
+ transition: border-color 0.15s ease-in-out,
357
357
  box-shadow 0.15s ease-in-out; }
358
358
 
359
359
  ._2PWdX {
360
360
  display: inline-block;
@@ -372,7 +372,7 @@
372
372
  border: 1px solid #0d6efd;
373
373
  border-radius: 0.375rem;
374
374
  background-color: transparent;
375
- transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
375
+ transition: color 0.15s ease-in-out,
376
376
  background-color 0.15s ease-in-out,
377
377
  border-color 0.15s ease-in-out,
378
378
  box-shadow 0.15s ease-in-out; }
379
379
  ._2PWdX:hover {
380
380
  color: #fff !important;
381
381
  background-color: #0d6efd;
@@ -406,7 +406,7 @@
406
406
  background-size: 10px 7px;
407
407
  border: 1px solid #dee2e6;
408
408
  border-radius: 0.375rem;
409
- transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
409
+ transition: border-color 0.15s ease-in-out,
410
410
  box-shadow 0.15s ease-in-out; }
411
411
 
412
412
  ._3NJzN {
413
413
  overflow: hidden;
@@ -1839,7 +1839,7 @@ h3 {
1839
1839
  ._24wBH, ._2LXBj {
1840
1840
  background-color: var(--docusaurus-collapse-button-bg); }
1841
1841
  :root {
1842
- --docusaurus-announcement-bar-height: 30px
1842
+ --docusaurus-announcement-bar-height: 30px
1843
1843
  ; }
1844
1844
  ._32uEE, ._2PagL {
1845
1845
  flex-basis: 50px; }
@@ -1944,7 +1944,7 @@ h3 {
1944
1944
  flex-basis: var(--ifm-col-width);
1945
1945
  margin-left: 0; }
1946
1946
  ._gceZJ {
1947
- --ifm-footer-padding-horizontal: 0
1947
+ --ifm-footer-padding-horizontal: 0
1948
1948
  ; }
1949
1949
  ._OawS_, ._3fzLh, ._1wyV6, ._3tGM4 {
1950
1950
  display: none; }
@@ -1991,13 +1991,13 @@ h3 {
1991
1991
 
1992
1992
  @media (max-width: 576px) {
1993
1993
  ._2xZt0 h1:first-child {
1994
- --ifm-h1-font-size:2rem
1994
+ --ifm-h1-font-size:2rem
1995
1995
  ; }
1996
1996
  ._2xZt0 > h2 {
1997
- --ifm-h2-font-size: 1.5rem
1997
+ --ifm-h2-font-size: 1.5rem
1998
1998
  ; }
1999
1999
  ._2xZt0 > h3 {
2000
- --ifm-h3-font-size: 1.25rem
2000
+ --ifm-h3-font-size: 1.25rem
2001
2001
  ; } }
2002
2002
 
2003
2003
  @media (hover: hover) {
@@ -2022,7 +2022,7 @@ h3 {
2022
2022
  @media (prefers-reduced-motion: reduce) {
2023
2023
  :root {
2024
2024
  --ifm-transition-fast: 0ms;
2025
- --ifm-transition-slow: 0ms
2025
+ --ifm-transition-slow: 0ms
2026
2026
  ; } }
2027
2027
 
2028
2028
  @media print {
package/dist/index.js CHANGED
@@ -1407,7 +1407,7 @@ var advanced_mathematics_2 = "후반수학2";
1407
1407
  var algebra = "대수";
1408
1408
  var calculus_1 = "미적분1";
1409
1409
  var calculus_2 = "미적분2";
1410
- var fun_with_measurement = "재미있는 측정";
1410
+ var probability_and_statistics = "확률과 통계";
1411
1411
  var geometry = "기하";
1412
1412
  var select_school = "학교를 선택하세요";
1413
1413
  var all = "모두";
@@ -2468,7 +2468,7 @@ var lang_ko = {
2468
2468
  algebra: algebra,
2469
2469
  calculus_1: calculus_1,
2470
2470
  calculus_2: calculus_2,
2471
- fun_with_measurement: fun_with_measurement,
2471
+ probability_and_statistics: probability_and_statistics,
2472
2472
  geometry: geometry,
2473
2473
  select_school: select_school,
2474
2474
  all: all,
@@ -3551,7 +3551,7 @@ var advanced_mathematics_2$1 = "Advanced Mathematics 2";
3551
3551
  var algebra$1 = "Algebra";
3552
3552
  var calculus_1$1 = "Calculus 1";
3553
3553
  var calculus_2$1 = "Calculus 2";
3554
- var fun_with_measurement$1 = "Fun with Measurement";
3554
+ var probability_and_statistics$1 = "Probability And Statistics";
3555
3555
  var geometry$1 = "Geometry";
3556
3556
  var select_school$1 = "Select school";
3557
3557
  var all$1 = "All";
@@ -4614,7 +4614,7 @@ var lang_en = {
4614
4614
  algebra: algebra$1,
4615
4615
  calculus_1: calculus_1$1,
4616
4616
  calculus_2: calculus_2$1,
4617
- fun_with_measurement: fun_with_measurement$1,
4617
+ probability_and_statistics: probability_and_statistics$1,
4618
4618
  geometry: geometry$1,
4619
4619
  select_school: select_school$1,
4620
4620
  all: all$1,
@@ -27321,7 +27321,7 @@ var HighSchoolGrade;
27321
27321
  HighSchoolGrade[HighSchoolGrade["Algebra"] = 3] = "Algebra";
27322
27322
  HighSchoolGrade[HighSchoolGrade["Calculus1"] = 4] = "Calculus1";
27323
27323
  HighSchoolGrade[HighSchoolGrade["Calculus2"] = 5] = "Calculus2";
27324
- HighSchoolGrade[HighSchoolGrade["FunWithMeasurement"] = 6] = "FunWithMeasurement";
27324
+ HighSchoolGrade[HighSchoolGrade["ProbabilityAndStatistics"] = 6] = "ProbabilityAndStatistics";
27325
27325
  HighSchoolGrade[HighSchoolGrade["Geometry"] = 7] = "Geometry";
27326
27326
  })(HighSchoolGrade || (HighSchoolGrade = {}));
27327
27327
 
@@ -27417,8 +27417,8 @@ var HIGH_GRADES = [{
27417
27417
  label: "calculus_2",
27418
27418
  value: HighSchoolGrade.Calculus2
27419
27419
  }, {
27420
- label: "fun_with_measurement",
27421
- value: HighSchoolGrade.FunWithMeasurement
27420
+ label: "probability_and_statistics",
27421
+ value: HighSchoolGrade.ProbabilityAndStatistics
27422
27422
  }, {
27423
27423
  label: "geometry",
27424
27424
  value: HighSchoolGrade.Geometry
@@ -28030,7 +28030,8 @@ var QuestionBlock = function QuestionBlock(_ref2) {
28030
28030
  return React__default.createElement(material.FormGroup, {
28031
28031
  sx: {
28032
28032
  width: "100%",
28033
- maxWidth: "240px"
28033
+ maxWidth: "240px",
28034
+ pl: "24px"
28034
28035
  }
28035
28036
  }, React__default.createElement(material.FormLabel, {
28036
28037
  htmlFor: "textual_answer",
@@ -29158,11 +29159,14 @@ var QuestionTypeFilter = function QuestionTypeFilter(_ref) {
29158
29159
  alignItems: "center"
29159
29160
  }
29160
29161
  }, React__default.createElement(material.Checkbox, {
29162
+ id: "fix",
29161
29163
  inputRef: fixedRef
29162
29164
  })), React__default.createElement(material.FormLabel, {
29165
+ htmlFor: "fix",
29163
29166
  sx: {
29164
29167
  display: "flex",
29165
- alignItems: "center"
29168
+ alignItems: "center",
29169
+ cursor: "pointer"
29166
29170
  }
29167
29171
  }, t("fix_this_information_for_this_book")))));
29168
29172
  };
@@ -30151,7 +30155,7 @@ var _reduceToMathArticles = function reduceToMathArticles(textbook, isMath) {
30151
30155
  }
30152
30156
  return values;
30153
30157
  };
30154
- var _resetAllCrategoriesAndQuestionTypesBySubject = function resetAllCrategoriesAndQuestionTypesBySubject(textbook, subject) {
30158
+ var _resetAllCategoriesAndQuestionTypesBySubject = function resetAllCategoriesAndQuestionTypesBySubject(textbook, subject) {
30155
30159
  var values = subject ? _$5.cloneDeep(textbook) : textbook;
30156
30160
  if (subject) {
30157
30161
  values.subjectId = subject === null || subject === void 0 ? void 0 : subject.value;
@@ -30164,7 +30168,7 @@ var _resetAllCrategoriesAndQuestionTypesBySubject = function resetAllCrategories
30164
30168
  } else if (key === "questionType" || key === "questionTypeId") {
30165
30169
  values[key] = null;
30166
30170
  } else if (typeof values[key] === "object" && values[key] !== null) {
30167
- _resetAllCrategoriesAndQuestionTypesBySubject(values[key]);
30171
+ _resetAllCategoriesAndQuestionTypesBySubject(values[key]);
30168
30172
  }
30169
30173
  }
30170
30174
  }
@@ -30311,7 +30315,7 @@ var PreparedTextbookForm = function PreparedTextbookForm(_ref) {
30311
30315
  setValues(newValues);
30312
30316
  };
30313
30317
  var handleChangeSubject = function handleChangeSubject(val) {
30314
- var newValues = _resetAllCrategoriesAndQuestionTypesBySubject(values, val);
30318
+ var newValues = _resetAllCategoriesAndQuestionTypesBySubject(values, val);
30315
30319
  setValues(newValues);
30316
30320
  };
30317
30321
  var inforErrors = errors.coverImage || errors.grade || errors.isbn || errors.preparedType || errors.publicationDate || errors.publisher;