touchstudy-core 0.1.146 → 0.1.148
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/alert-circle-fill~CSSkoNUz.svg +3 -0
- package/dist/assets/AlertCircleFill.d.ts +3 -0
- package/dist/assets/CalendarFill.d.ts +3 -0
- package/dist/assets/CheckCircleFill.d.ts +3 -0
- package/dist/assets/CheckedCircleFill.d.ts +3 -0
- package/dist/assets/ClockFill.d.ts +3 -0
- package/dist/assets/CloseCircleFill.d.ts +3 -0
- package/dist/assets/IconPerson.d.ts +3 -0
- package/dist/calendar_fill~zEgxFwDs.svg +4 -0
- package/dist/check-circle_fill~bbGHfKpz.svg +3 -0
- package/dist/checked-circle_fill~KLGxfRpW.svg +3 -0
- package/dist/clock_fill~mcRclYYO.svg +3 -0
- package/dist/close-circle_fill~PRVaHJUQ.svg +3 -0
- package/dist/components/TinyMCE/TinyEditor.d.ts +1 -2
- package/dist/containers/PreparedTextbook/components/ArticleBlock.d.ts +1 -0
- package/dist/containers/PreparedTextbook/components/QuestionCompareType.d.ts +8 -0
- package/dist/containers/PreparedTextbook/components/QuestionOrderName.d.ts +9 -0
- package/dist/containers/PreparedTextbook/components/QuestionScore.d.ts +9 -0
- package/dist/containers/PreparedTextbook/components/QuestionShortInput.d.ts +9 -0
- package/dist/containers/StudentInfoDrawer/apiClients/courseService.d.ts +3 -0
- package/dist/containers/StudentInfoDrawer/apiClients/examSessionService.d.ts +1 -0
- package/dist/containers/StudentInfoDrawer/apiClients/noteService.d.ts +6 -0
- package/dist/containers/StudentInfoDrawer/apiClients/textbookService.d.ts +1 -0
- package/dist/containers/StudentInfoDrawer/apiClients/userService.d.ts +1 -0
- package/dist/containers/StudentInfoDrawer/components/Attendance/AttendanceCourseTable.d.ts +15 -0
- package/dist/containers/StudentInfoDrawer/components/Attendance/CourseAttendanceItem.d.ts +10 -0
- package/dist/containers/StudentInfoDrawer/components/Attendance/CourseAttendanceList.d.ts +4 -0
- package/dist/containers/StudentInfoDrawer/components/Attendance/DrawerAttendanceTab.d.ts +4 -0
- package/dist/containers/StudentInfoDrawer/components/Attendance/LessonTooltip.d.ts +8 -0
- package/dist/containers/StudentInfoDrawer/components/AttendanceCourseTable.d.ts +15 -0
- package/dist/containers/StudentInfoDrawer/components/CourseAttendanceItem.d.ts +10 -0
- package/dist/containers/StudentInfoDrawer/components/CourseAttendanceList.d.ts +4 -0
- package/dist/containers/StudentInfoDrawer/components/CustomTooltip.d.ts +2 -0
- package/dist/containers/StudentInfoDrawer/components/DrawerAttendanceTab.d.ts +4 -0
- package/dist/containers/StudentInfoDrawer/components/DrawerExamResultTab.d.ts +9 -0
- package/dist/containers/StudentInfoDrawer/components/DrawerHeader.d.ts +9 -0
- package/dist/containers/StudentInfoDrawer/components/DrawerInfoTab.d.ts +9 -0
- package/dist/containers/StudentInfoDrawer/components/DrawerNoteTab.d.ts +8 -0
- package/dist/containers/StudentInfoDrawer/components/DrawerTabContent.d.ts +8 -0
- package/dist/containers/StudentInfoDrawer/components/DrawerTabHeader.d.ts +8 -0
- package/dist/containers/StudentInfoDrawer/components/DrawerTextbookResultTab.d.ts +7 -0
- package/dist/containers/StudentInfoDrawer/components/Exam/DrawerExamResultTab.d.ts +9 -0
- package/dist/containers/StudentInfoDrawer/components/Exam/ExamResultDrawer.d.ts +13 -0
- package/dist/containers/StudentInfoDrawer/components/Exam/ExamResultItem.d.ts +10 -0
- package/dist/containers/StudentInfoDrawer/components/Exam/ExanResultList.d.ts +4 -0
- package/dist/containers/StudentInfoDrawer/components/ExamResultDrawer.d.ts +13 -0
- package/dist/containers/StudentInfoDrawer/components/ExamResultItem.d.ts +10 -0
- package/dist/containers/StudentInfoDrawer/components/ExanResultList.d.ts +4 -0
- package/dist/containers/StudentInfoDrawer/components/LessonTooltip.d.ts +8 -0
- package/dist/containers/StudentInfoDrawer/components/Note/DrawerNoteTab.d.ts +8 -0
- package/dist/containers/StudentInfoDrawer/components/Note/NoteDrawer.d.ts +14 -0
- package/dist/containers/StudentInfoDrawer/components/NoteDrawer.d.ts +13 -0
- package/dist/containers/StudentInfoDrawer/components/Textbook/DrawerTextbookResultTab.d.ts +7 -0
- package/dist/containers/StudentInfoDrawer/components/Textbook/TextbookResultItem.d.ts +10 -0
- package/dist/containers/StudentInfoDrawer/components/Textbook/TextbookResultList.d.ts +4 -0
- package/dist/containers/StudentInfoDrawer/components/TextbookResultItem.d.ts +10 -0
- package/dist/containers/StudentInfoDrawer/components/TextbookResultList.d.ts +4 -0
- package/dist/containers/StudentInfoDrawer/configs/constants.d.ts +6 -0
- package/dist/containers/StudentInfoDrawer/configs/enums.d.ts +12 -0
- package/dist/containers/StudentInfoDrawer/configs/fns.d.ts +26 -0
- package/dist/containers/StudentInfoDrawer/configs/interfaces.d.ts +44 -0
- package/dist/containers/StudentInfoDrawer/configs/types.d.ts +101 -0
- package/dist/containers/StudentInfoDrawer/hooks/useDrawerAttendanceTab.d.ts +8 -0
- package/dist/containers/StudentInfoDrawer/hooks/useDrawerNoteTab.d.ts +28 -0
- package/dist/containers/StudentInfoDrawer/hooks/useStudentInfoDrawer.d.ts +15 -0
- package/dist/containers/StudentInfoDrawer/index.d.ts +2 -0
- package/dist/containers/StudentInfoDrawer/styles/styles.d.ts +2 -0
- package/dist/containers/StudentInfoDrawer/views/StudentInfoDrawer.d.ts +4 -0
- package/dist/containers/Users/components/UserRow.d.ts +14 -0
- package/dist/iconPerson~bfprHOKm.svg +4 -0
- package/dist/index.js +104 -31
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +104 -31
- package/dist/index.modern.js.map +1 -1
- package/dist/utils/functions/formatPhoneNumber.d.ts +2 -0
- package/dist/utils/functions/includePathname.d.ts +1 -0
- package/dist/utils/functions/questions.d.ts +2 -0
- package/dist/utils/hooks/useVirtualList.d.ts +20 -0
- package/package.json +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
export declare const includePathname: (superUrls: string[], pathname: string) => boolean;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { BaseSearchQuery } from "../types";
|
3
|
+
import { AxiosResponse } from "axios";
|
4
|
+
declare type BaseType = {
|
5
|
+
id: string | number;
|
6
|
+
};
|
7
|
+
declare const useVirtualList: <OrderType, FilterType extends BaseSearchQuery<OrderType>, DataType extends BaseType>(studentId: number, defaultFilter: FilterType, getItemsApi: (query: FilterType) => Promise<AxiosResponse<any, any>>) => {
|
8
|
+
t: any;
|
9
|
+
selectedItem: DataType | undefined;
|
10
|
+
items: DataType[];
|
11
|
+
isLoading: boolean;
|
12
|
+
setItems: import("react").Dispatch<import("react").SetStateAction<DataType[]>>;
|
13
|
+
handleChangeSelectedItem: (data?: DataType | undefined) => void;
|
14
|
+
handleLoadMore: () => void;
|
15
|
+
getItems: () => Promise<void>;
|
16
|
+
handleItemAdded: (item: DataType) => void;
|
17
|
+
handleItemRemoved: (item: DataType) => void;
|
18
|
+
handleItemUpdated: (item: DataType) => void;
|
19
|
+
};
|
20
|
+
export default useVirtualList;
|