touchstudy-core 0.1.145 → 0.1.146
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/Inputs/SearchInput.d.ts +3 -0
- package/dist/components/List/configs/interfaces.d.ts +1 -1
- package/dist/components/List/partials/VirtualListItem.d.ts +1 -1
- package/dist/components/Selects/CustomSelect.d.ts +1 -1
- package/dist/components/Tables/VirtualTableRowItem.d.ts +6 -5
- package/dist/components/Tables/VirtualTableView.d.ts +1 -1
- package/dist/components/Tables/configs/interfaces.d.ts +11 -4
- package/dist/containers/Login/hooks/useLoginPhoneNumber.d.ts +4 -0
- package/dist/containers/Notes/components/NoteItem.d.ts +1 -0
- package/dist/containers/Notes/configs/enums.d.ts +4 -0
- package/dist/containers/Notes/configs/interfaces.d.ts +1 -0
- package/dist/containers/Notes/configs/types.d.ts +2 -2
- package/dist/containers/PreparedExam/configs/types.d.ts +6 -0
- package/dist/containers/PreparedTextbook/apiClients/textbookService.d.ts +1 -1
- package/dist/containers/PreparedTextbook/components/AcademySelector.d.ts +1 -1
- package/dist/containers/PreparedTextbook/components/ArticleBlock.d.ts +1 -0
- package/dist/containers/PreparedTextbook/components/ChapterBlock.d.ts +1 -0
- package/dist/containers/PreparedTextbook/components/ChapterBlockBody.d.ts +1 -0
- package/dist/containers/PreparedTextbook/components/CourseSelector.d.ts +1 -1
- package/dist/containers/PreparedTextbook/components/OwnerSelector.d.ts +3 -2
- package/dist/containers/PreparedTextbook/components/PreparedTextbookForm.d.ts +5 -0
- package/dist/containers/PreparedTextbook/components/QuestionBlock.d.ts +1 -1
- package/dist/containers/PreparedTextbook/components/QuestionGroupBlock.d.ts +1 -1
- package/dist/containers/PreparedTextbook/components/QuestionGroupBlockBody.d.ts +2 -0
- package/dist/containers/PreparedTextbook/components/TextbookContentsTab.d.ts +1 -0
- package/dist/containers/PreparedTextbook/components/TextbookInfoTab.d.ts +3 -1
- package/dist/containers/PreparedTextbook/components/TextbookOwnersTab.d.ts +2 -1
- package/dist/containers/PreparedTextbook/configs/constants.d.ts +2 -0
- package/dist/containers/PreparedTextbook/configs/enums.d.ts +5 -0
- package/dist/containers/PreparedTextbook/configs/functions.d.ts +23 -4
- package/dist/containers/PreparedTextbook/configs/interfaces.d.ts +2 -0
- package/dist/containers/PreparedTextbook/configs/types.d.ts +9 -3
- package/dist/containers/PreparedTextbook/hooks/useSelect.d.ts +8 -10
- package/dist/containers/PreparedTextbook/hooks/useTextbookManagement.d.ts +8 -1
- package/dist/containers/Textbooks/configs/types.d.ts +2 -0
- package/dist/containers/Textbooks/hooks/useTextbookList.d.ts +5 -2
- package/dist/containers/Textbooks/hooks/useTextbookShare.d.ts +0 -2
- package/dist/index.css +3 -3
- package/dist/index.js +1825 -907
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1838 -927
- package/dist/index.modern.js.map +1 -1
- package/dist/utils/constants.d.ts +2 -10
- package/dist/utils/enums/index.d.ts +3 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/types/note.d.ts +3 -1
- package/package.json +2 -2
| @@ -62,19 +62,11 @@ export declare const PrintTitleClassName = "print-title"; | |
| 62 62 | 
             
            export declare const PrintContentClassName = "print-content";
         | 
| 63 63 | 
             
            export declare const PrintContainerClassName = "print-container";
         | 
| 64 64 | 
             
            export declare const DEFAULT_PAGING_RESPONSE: PagingResponse;
         | 
| 65 | 
            -
            export declare const  | 
| 65 | 
            +
            export declare const GRADE_OPTIONS: {
         | 
| 66 66 | 
             
                label: string;
         | 
| 67 67 | 
             
                value: number;
         | 
| 68 68 | 
             
            }[];
         | 
| 69 | 
            -
            export declare const  | 
| 70 | 
            -
                label: string;
         | 
| 71 | 
            -
                value: number;
         | 
| 72 | 
            -
            }[];
         | 
| 73 | 
            -
            export declare const MIDDLE_GRADES: {
         | 
| 74 | 
            -
                label: string;
         | 
| 75 | 
            -
                value: number;
         | 
| 76 | 
            -
            }[];
         | 
| 77 | 
            -
            export declare const HIGH_GRADES: {
         | 
| 69 | 
            +
            export declare const BRIEF_GRADE_OPTIONS: {
         | 
| 78 70 | 
             
                label: string;
         | 
| 79 71 | 
             
                value: number;
         | 
| 80 72 | 
             
            }[];
         | 
| @@ -4,5 +4,7 @@ import { ExamStatus, QuestionAnswerType } from "./examStatus"; | |
| 4 4 | 
             
            import { OrderType } from "./order";
         | 
| 5 5 | 
             
            import { RecentUserAction } from "./recentUserAction";
         | 
| 6 6 | 
             
            import { UserSortColumn } from "./userSortColumn";
         | 
| 7 | 
            +
            import { NoteType } from '../../containers/Notes/configs/enums';
         | 
| 8 | 
            +
            import { TextbookEditorType } from '../../containers/PreparedTextbook/configs/enums';
         | 
| 7 9 | 
             
            export * from "./academy";
         | 
| 8 | 
            -
            export { PreparedType, OrderType, QuestionAnswerType, ExamStatus, RecentUserAction, UserSortColumn, ExamEvent };
         | 
| 10 | 
            +
            export { PreparedType, OrderType, QuestionAnswerType, ExamStatus, RecentUserAction, UserSortColumn, ExamEvent, NoteType, TextbookEditorType };
         | 
    
        package/dist/utils/index.d.ts
    CHANGED
    
    | @@ -7,5 +7,6 @@ export * from "./functions"; | |
| 7 7 | 
             
            export * from "./hooks";
         | 
| 8 8 | 
             
            export { useTranslation } from "react-i18next";
         | 
| 9 9 | 
             
            export { moment, toast };
         | 
| 10 | 
            +
            export { CellMeasurerCache, Index, MultiGrid } from "react-virtualized";
         | 
| 10 11 | 
             
            export { OrderBy, RecentUserActionSortBy } from "./types";
         | 
| 11 12 | 
             
            export type { LoginAccessTokenRequest, BaseSearchQuery, LoginRequest, LoginResponse, RecentUserActionQuery, RecentUserActionResponse, SearchQuery, TableHeaderType, User, UserResponse, UserSearchQuery, PagingResponse, Category, CategoryResponse, ConcurrentConnection, CourseInfo, ExamResult, Question, Student, Exam, ArticleGroup, QuestionResponse, NoteRequest, NoteResponse, QuestionData } from "./types";
         | 
| @@ -1,3 +1,4 @@ | |
| 1 | 
            +
            import { NoteType } from "../enums";
         | 
| 1 2 | 
             
            export declare type NoteResponse = {
         | 
| 2 3 | 
             
                id: number;
         | 
| 3 4 | 
             
                content: string;
         | 
| @@ -9,11 +10,12 @@ export declare type NoteResponse = { | |
| 9 10 | 
             
                categoryName?: string;
         | 
| 10 11 | 
             
                examSessionId?: number;
         | 
| 11 12 | 
             
                userId: number;
         | 
| 13 | 
            +
                isOwned: boolean;
         | 
| 12 14 | 
             
            };
         | 
| 13 15 | 
             
            export declare type NoteRequest = {
         | 
| 14 16 | 
             
                examSessionId?: number;
         | 
| 15 17 | 
             
                questionId?: number;
         | 
| 16 | 
            -
                courseId?: number;
         | 
| 17 18 | 
             
                studentId?: number;
         | 
| 18 19 | 
             
                content: string;
         | 
| 20 | 
            +
                type?: NoteType;
         | 
| 19 21 | 
             
            };
         | 
    
        package/package.json
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            {
         | 
| 2 2 | 
             
              "name": "touchstudy-core",
         | 
| 3 | 
            -
              "version": "0.1. | 
| 3 | 
            +
              "version": "0.1.146",
         | 
| 4 4 | 
             
              "description": "Contains core components && functions for TouchStudy project",
         | 
| 5 5 | 
             
              "author": "brss",
         | 
| 6 6 | 
             
              "license": "MIT",
         | 
| @@ -37,7 +37,7 @@ | |
| 37 37 | 
             
                "react-select": "^5.8.0",
         | 
| 38 38 | 
             
                "react-slick": "^0.29.0",
         | 
| 39 39 | 
             
                "react-toastify": "^9.1.3",
         | 
| 40 | 
            -
                "react-virtualized": "^9.22. | 
| 40 | 
            +
                "react-virtualized": "^9.22.6",
         | 
| 41 41 | 
             
                "tinymce": "^7.7.0",
         | 
| 42 42 | 
             
                "yup": "^1.3.3"
         | 
| 43 43 | 
             
              },
         |