mario-core 1.2.2 → 1.2.3-es-release
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/assets/Images.d.ts +6 -0
- package/dist/components/Buttons/AddButton.d.ts +1 -0
- package/dist/components/Buttons/DetailActionButtons.d.ts +1 -0
- package/dist/components/Buttons/LinkEditButton.d.ts +1 -0
- package/dist/components/Buttons/UploadFileButton.d.ts +2 -0
- package/dist/components/Inputs/PasswordInput.d.ts +8 -0
- package/dist/components/Labels/RequiredLabel.d.ts +1 -0
- package/dist/components/Modals/ModelSelectRole.d.ts +7 -0
- package/dist/components/Others/QuitPrompt.d.ts +2 -0
- package/dist/components/Scroll/ScrollToTop.d.ts +3 -0
- package/dist/components/Selectors/AcademicClassSelector.d.ts +3 -0
- package/dist/components/Selectors/CustomSelector.d.ts +1 -1
- package/dist/configs/editorConfig.d.ts +6 -1
- package/dist/containers/DistrictSchools/views/SchoolList.d.ts +3 -0
- package/dist/containers/EmailTemplate/components/AttachmentFile.d.ts +8 -0
- package/dist/containers/EmailTemplate/components/MailParam.d.ts +2 -0
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateDetail.d.ts +14 -0
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateList.d.ts +1 -2
- package/dist/containers/Faq/hooks/useFaqDetail.d.ts +5 -0
- package/dist/containers/Faq/hooks/useFaqList.d.ts +1 -2
- package/dist/containers/Gallery/components/Filter.d.ts +9 -0
- package/dist/containers/Gallery/components/Media.d.ts +9 -0
- package/dist/containers/Gallery/components/MediaDetail.d.ts +7 -0
- package/dist/containers/Gallery/components/MediaList.d.ts +7 -0
- package/dist/containers/Gallery/components/MediaNav.d.ts +19 -0
- package/dist/containers/Gallery/constants/gallery.types.d.ts +21 -0
- package/dist/containers/Gallery/extensions/helpers.d.ts +4 -0
- package/dist/containers/Gallery/hooks/useGalleryList.d.ts +31 -0
- package/dist/containers/Gallery/views/GalleryList.d.ts +6 -0
- package/dist/containers/Login/constant/authConfig.d.ts +38 -0
- package/dist/containers/Login/constant/types.d.ts +27 -0
- package/dist/containers/Login/hooks/useForgotPassword.d.ts +10 -0
- package/dist/containers/Login/hooks/useLogin.d.ts +18 -0
- package/dist/containers/Login/hooks/useLoginTwoFactor.d.ts +4 -0
- package/dist/containers/Login/views/Dashboard.d.ts +2 -1
- package/dist/containers/Login/views/Login.d.ts +1 -0
- package/dist/containers/Login/views/block/BlockBackground.d.ts +7 -0
- package/dist/containers/Login/views/block/BlockForgetPassword.d.ts +5 -1
- package/dist/containers/Login/views/block/{blockLogin.d.ts → BlockLogin.d.ts} +2 -1
- package/dist/containers/Login/views/block/BlockSelectTeacher.d.ts +12 -0
- package/dist/containers/Login/views/block/BlockTwoFactorLogin.d.ts +3 -0
- package/dist/containers/Login/views/block/CloseBlock.d.ts +6 -0
- package/dist/containers/Login/views/block/IconContent.d.ts +2 -2
- package/dist/containers/Login/views/block/QuoteContent.d.ts +2 -6
- package/dist/containers/Notifications/hooks/useNotificationList.d.ts +3 -0
- package/dist/containers/Skill/hooks/useSkillDetail.d.ts +5 -0
- package/dist/containers/Skill/hooks/useSkillList.d.ts +2 -2
- package/dist/containers/User/components/FilterPopover.d.ts +21 -0
- package/dist/containers/User/components/HeaderCell.d.ts +17 -0
- package/dist/containers/User/components/TableHeader.d.ts +10 -0
- package/dist/containers/User/components/TeacherSelector.d.ts +3 -0
- package/dist/containers/User/configs/changePasswordSchema.d.ts +10 -0
- package/dist/containers/User/configs/constants.d.ts +18 -0
- package/dist/containers/User/configs/type.d.ts +124 -0
- package/dist/containers/User/configs/userSchema.d.ts +5 -0
- package/dist/containers/User/hooks/useAssignStudent.d.ts +5 -0
- package/dist/containers/User/hooks/useAssignStudentList.d.ts +15 -0
- package/dist/containers/User/hooks/useAssistantList.d.ts +10 -0
- package/dist/containers/User/hooks/useClickOutside.d.ts +2 -0
- package/dist/containers/User/hooks/useCounselorList.d.ts +10 -0
- package/dist/containers/User/hooks/useFilterPopover.d.ts +37 -0
- package/dist/containers/User/hooks/useTableHeader.d.ts +15 -0
- package/dist/containers/User/hooks/useTeacherList.d.ts +10 -0
- package/dist/containers/User/hooks/useUserDetail.d.ts +14 -1
- package/dist/containers/User/hooks/useUserList.d.ts +5 -2
- package/dist/containers/User/hooks/userFilters.d.ts +8 -0
- package/dist/containers/User/views/AssignStudentList.d.ts +3 -0
- package/dist/containers/User/views/UserContainer.d.ts +3 -0
- package/dist/hooks/useClassFontSize.d.ts +4 -0
- package/dist/hooks/useFilters.d.ts +8 -0
- package/dist/hooks/useLanguages.d.ts +10 -0
- package/dist/i18n.d.ts +2 -0
- package/dist/index.css +786 -109
- package/dist/index.d.ts +37 -5
- package/dist/index.js +30737 -3317
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +30688 -3336
- package/dist/index.modern.js.map +1 -1
- package/dist/layouts/TheHeader.d.ts +4 -1
- package/dist/layouts/TheHeaderDropdown.d.ts +4 -1
- package/dist/layouts/TheLanguageDropdown.d.ts +3 -0
- package/dist/layouts/TheLayout.d.ts +1 -0
- package/dist/redux/bandScores/action.d.ts +1 -0
- package/dist/redux/certificate/action.d.ts +1 -0
- package/dist/redux/commons/action.d.ts +13 -0
- package/dist/redux/customAlert/action.d.ts +1 -0
- package/dist/redux/customAlert/reducer.d.ts +2 -0
- package/dist/redux/dashboard/action.d.ts +5 -0
- package/dist/redux/dashboard/reducer.d.ts +2 -0
- package/dist/redux/dataPlayer/action.d.ts +2 -0
- package/dist/redux/dataPlayer/reducer.d.ts +2 -0
- package/dist/redux/gallery/action.d.ts +2 -0
- package/dist/redux/gallery/reducer.d.ts +2 -0
- package/dist/redux/improveMyClass/action.d.ts +1 -0
- package/dist/redux/improveMyClass/reducer.d.ts +2 -0
- package/dist/redux/learningSupportCategories/action.d.ts +1 -0
- package/dist/redux/learningSupportCategories/reducer.d.ts +2 -0
- package/dist/redux/navMobile/action.d.ts +1 -0
- package/dist/redux/navMobile/reducer.d.ts +2 -0
- package/dist/redux/reflectionResults/action.d.ts +1 -0
- package/dist/redux/reflectionResults/reducer.d.ts +2 -0
- package/dist/redux/schoolBlankDays/action.d.ts +1 -0
- package/dist/redux/schoolBlankDays/reducer.d.ts +2 -0
- package/dist/redux/semester/action.d.ts +1 -0
- package/dist/redux/semester/reducer.d.ts +2 -0
- package/dist/redux/sessionPlayers/action.d.ts +5 -0
- package/dist/redux/sessionPlayers/reducer.d.ts +2 -0
- package/dist/redux/sessionTemplateGeneralClasses/action.d.ts +1 -0
- package/dist/redux/sessionTemplateGeneralClasses/reducer.d.ts +2 -0
- package/dist/redux/widget/action.d.ts +1 -0
- package/dist/redux/widget/reducer.d.ts +2 -0
- package/dist/rootReducer.d.ts +15 -0
- package/dist/services/accountService.d.ts +12 -5
- package/dist/services/api.d.ts +3 -2
- package/dist/services/classService.d.ts +1 -0
- package/dist/services/emailTemplateService.d.ts +5 -5
- package/dist/services/faqService.d.ts +5 -5
- package/dist/services/fileServices.d.ts +13 -1
- package/dist/services/galleryService.d.ts +2 -0
- package/dist/services/languageService.d.ts +1 -0
- package/dist/services/mailCategoryService.d.ts +1 -1
- package/dist/services/notificationService.d.ts +7 -6
- package/dist/services/questionCategoryService.d.ts +1 -1
- package/dist/services/schoolService.d.ts +1 -0
- package/dist/services/skillService.d.ts +5 -5
- package/dist/services/suggestionCategoryService.d.ts +1 -1
- package/dist/services/userService.d.ts +17 -6
- package/dist/types/Dashboard.d.ts +5 -0
- package/dist/types/Filter.d.ts +2 -0
- package/dist/types/Language.d.ts +8 -0
- package/dist/utils/constants.d.ts +29 -4
- package/dist/utils/getCookieValue.d.ts +2 -0
- package/dist/utils/getStaticFileUrl.d.ts +2 -0
- package/package.json +102 -92
- package/README.md +0 -30
- package/dist/commons/action.d.ts +0 -2
- package/dist/components/Alerts/Alert.d.ts +0 -10
- package/dist/containers/Classes/views/ClassList.d.ts +0 -3
- package/dist/containers/EmailTemplateDetail.d.ts +0 -3
- package/dist/containers/EmailTemplateList.d.ts +0 -3
- package/dist/containers/Login/views/block/blockForgetPass.d.ts +0 -7
- package/dist/containers/Login.d.ts +0 -3
- package/dist/containers/Notifications/components/NotificationList.d.ts +0 -11
- package/dist/containers/User.d.ts +0 -3
- package/dist/redux/assessmentStudent/action.d.ts +0 -1
- package/dist/types/ClassDetail.d.ts +0 -3
- package/dist/utils/alert.d.ts +0 -7
- package/dist/utils/index.d.ts +0 -1
- package/dist/views/TheContent.d.ts +0 -3
- package/dist/views/TheFooter.d.ts +0 -3
- package/dist/views/TheHeader.d.ts +0 -3
- package/dist/views/TheHeaderDropdown.d.ts +0 -3
- package/dist/views/TheLayout.d.ts +0 -3
- package/dist/views/TheSidebar.d.ts +0 -3
- /package/dist/containers/{Classes/components/ClassDetailModal.d.ts → Gallery/components/ActionModal.d.ts} +0 -0
- /package/dist/{commons → redux/bandScores}/reducer.d.ts +0 -0
- /package/dist/redux/{assessmentStudent → certificate}/reducer.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setBandScoreList: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setCertificateList: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
export declare const setLoading: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<boolean | undefined, string>;
|
|
2
2
|
export declare const setModal: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
3
3
|
export declare const setUser: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
4
|
+
export declare const setInforUserGoogle: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
4
5
|
export declare const setSidebar: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
5
6
|
export declare const setAlert: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
7
|
+
export declare const reset: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<undefined, string>;
|
|
8
|
+
export declare const showMenuBar: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
9
|
+
export declare const showFontSize: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
10
|
+
export declare const setEnableIEP: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
|
|
11
|
+
export declare const setEnableSurvey: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
|
|
12
|
+
export declare const setConversationOneToOne: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
|
|
13
|
+
export declare const setLanguage: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>;
|
|
14
|
+
export declare const setCurrentStudentId: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, string>;
|
|
15
|
+
export declare const setCurrentStudentUserId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>;
|
|
16
|
+
export declare const setCurrentStudentName: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>;
|
|
17
|
+
export declare const setTurnOffPassWhenChangeMode: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>;
|
|
18
|
+
export declare const setUnreadNotification: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setCustomAlertList: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { NavbarTab } from "../../types/Dashboard";
|
|
2
|
+
export declare const addTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<NavbarTab, string>;
|
|
3
|
+
export declare const closeTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, string>;
|
|
4
|
+
export declare const editTab: import("@reduxjs/toolkit").ActionCreatorWithPayload<NavbarTab, string>;
|
|
5
|
+
export declare const clearTab: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"dashboard/clearTab">;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setImproveMyClass: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setLearningSupportCategoryList: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setStudentIdSelectedByTeacher: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setReflectionResultList: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setSchoolBlankDayList: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setSemesterList: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const changeNote: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
2
|
+
export declare const changeTags: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
3
|
+
export declare const answerQuestion: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
4
|
+
export declare const setSessionPlayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
5
|
+
export declare const setStartTime: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setSessionTemplateGeneralClassList: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const setFilterWidget: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
package/dist/rootReducer.d.ts
CHANGED
|
@@ -8,11 +8,14 @@ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState
|
|
|
8
8
|
suggestionBank: any;
|
|
9
9
|
learningStrategy: any;
|
|
10
10
|
subjects: any;
|
|
11
|
+
learningSupportCategories: any;
|
|
11
12
|
questionBank: any;
|
|
12
13
|
badges: any;
|
|
14
|
+
semester: any;
|
|
13
15
|
goalExamples: any;
|
|
14
16
|
users: any;
|
|
15
17
|
reflections: any;
|
|
18
|
+
reflectionResults: any;
|
|
16
19
|
feedbacks: any;
|
|
17
20
|
assessments: {
|
|
18
21
|
assessmentList: never[];
|
|
@@ -26,9 +29,21 @@ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState
|
|
|
26
29
|
assignments: any;
|
|
27
30
|
assistants: any;
|
|
28
31
|
sesstionTemplates: any;
|
|
32
|
+
sessionTemplateGeneralClasses: any;
|
|
29
33
|
tutorialScreens: {
|
|
30
34
|
tutorialScreenList: never[];
|
|
31
35
|
totalItems: number;
|
|
32
36
|
};
|
|
37
|
+
customAlerts: any;
|
|
38
|
+
gallery: any;
|
|
39
|
+
dashboard: any;
|
|
40
|
+
sessionPlayer: any;
|
|
41
|
+
dataPlayer: any;
|
|
42
|
+
certificate: any;
|
|
43
|
+
improveMyClass: any;
|
|
44
|
+
widget: any;
|
|
45
|
+
bandScores: any;
|
|
46
|
+
schoolBlankDays: any;
|
|
47
|
+
navMobileReducer: any;
|
|
33
48
|
}>, import("redux").AnyAction>;
|
|
34
49
|
export default rootReducer;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
export declare const logIn: (data: any) => any
|
|
2
|
-
export declare const checkToken: (token: string) => any
|
|
3
|
-
export declare const getInfo: () => any
|
|
4
|
-
export declare const forgotPassword: (data: any) => any
|
|
5
|
-
export declare const
|
|
1
|
+
export declare const logIn: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
2
|
+
export declare const checkToken: (token: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const getInfo: () => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const forgotPassword: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const checkResetToken: (token: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const resetPassword: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const getStudentProfile: (roles: string[]) => Promise<import("axios").AxiosResponse<any>>;
|
|
8
|
+
export declare const logInTwoFactor: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
9
|
+
export declare const checkUserGoogle: (type: any, body: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
10
|
+
export declare const getAllLoginTeacher: (param: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
11
|
+
export declare const getGoogleClientId: () => Promise<import("axios").AxiosResponse<any>>;
|
|
12
|
+
export declare const registerUserStudent: (body: any) => Promise<import("axios").AxiosResponse<any>>;
|
package/dist/services/api.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
import { AxiosInstance } from "axios";
|
|
2
|
+
export declare const api: AxiosInstance;
|
|
3
|
+
export declare const apiUpload: AxiosInstance;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const get: () => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Filter } from "../types/Filter";
|
|
2
|
-
export declare const get: (filter: Filter) => any
|
|
3
|
-
export declare const getById: (id: number) => any
|
|
4
|
-
export declare const create: (data: any) => any
|
|
5
|
-
export declare const update: (data: any) => any
|
|
6
|
-
export declare const remove: (id: number) => any
|
|
2
|
+
export declare const get: (filter: Filter) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const getById: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const remove: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Filter } from "../types/Filter";
|
|
2
|
-
export declare const get: (filter: Filter) => any
|
|
3
|
-
export declare const getById: (id: number) => any
|
|
4
|
-
export declare const create: (data: any) => any
|
|
5
|
-
export declare const update: (data: any) => any
|
|
6
|
-
export declare const remove: (id: number) => any
|
|
2
|
+
export declare const get: (filter: Filter) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const getById: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const remove: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
export declare const uploadFile: (formData: FormData) => any
|
|
1
|
+
export declare const uploadFile: (formData: FormData) => Promise<import("axios").AxiosResponse<any>>;
|
|
2
|
+
export declare const systemStudentBadge: (formData: FormData) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const systemCertificateUpload: (formData: FormData) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const systemProfileUpload: (formData: FormData) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const systemEmailUpload: (formData: FormData) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const systemQuestionUpload: (formData: FormData) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const systemAnswerUpload: (formData: FormData) => Promise<import("axios").AxiosResponse<any>>;
|
|
8
|
+
export declare const systemTutorialUpload: (formData: FormData) => Promise<import("axios").AxiosResponse<any>>;
|
|
9
|
+
export declare const customKeyUpload: (formData: FormData) => Promise<import("axios").AxiosResponse<any>>;
|
|
10
|
+
export declare const deleteFile: (key: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
11
|
+
export declare const deleteFolder: (key: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
12
|
+
export declare const createFolder: (prefix: string, folderName: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
13
|
+
export declare const renameFile: (key: string, name: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getLanguage: () => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const get: () => any
|
|
1
|
+
export declare const get: () => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export declare const get: (filter: any) => any
|
|
2
|
-
export declare const getUnReadNotifications: () => any
|
|
3
|
-
export declare const updateLastTimeCheckNotification: () => any
|
|
4
|
-
export declare const getById: (id: number) => any
|
|
5
|
-
export declare const updateStatusNotification: (id: number) => any
|
|
6
|
-
export declare const clearChatNotification: () => any
|
|
1
|
+
export declare const get: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
2
|
+
export declare const getUnReadNotifications: () => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const updateLastTimeCheckNotification: () => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const getById: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const updateStatusNotification: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const clearChatNotification: () => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const updateAllStatus: () => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const get: () => any
|
|
1
|
+
export declare const get: () => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getSchoolSettings: () => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Filter } from "../types/Filter";
|
|
2
|
-
export declare const get: (filter?: Filter | undefined) => any
|
|
3
|
-
export declare const getById: (id: number) => any
|
|
4
|
-
export declare const create: (data: any) => any
|
|
5
|
-
export declare const update: (data: any) => any
|
|
6
|
-
export declare const remove: (id: number) => any
|
|
2
|
+
export declare const get: (filter?: Filter | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
|
+
export declare const getById: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const remove: (id: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const get: () => any
|
|
1
|
+
export declare const get: () => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
import { Filter } from "../types/Filter";
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
2
|
+
import { AssignStudentDto, StudentFilter, UserFilter, UserFilterField } from "../containers/User/configs/type";
|
|
3
|
+
export declare const get: (filter: UserFilter) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
|
+
export declare const getById: (id: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
|
+
export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const remove: (id: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
8
|
+
export declare const getAllStudent: (filter?: Filter | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
9
|
+
export declare const changePassword: (formData: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
10
|
+
export declare const forgotChangePassword: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
11
|
+
export declare const switchAccountUser: (id: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
12
|
+
export declare const getAssignStudentApi: (filter: StudentFilter) => Promise<import("axios").AxiosResponse<any>>;
|
|
13
|
+
export declare const getCounselors: () => Promise<import("axios").AxiosResponse<any>>;
|
|
14
|
+
export declare const getAssistants: () => Promise<import("axios").AxiosResponse<any>>;
|
|
15
|
+
export declare const getSecondaryTeachers: () => Promise<import("axios").AxiosResponse<any>>;
|
|
16
|
+
export declare const getTeachers: (filters: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
17
|
+
export declare const assignStudentsApi: (data?: AssignStudentDto[] | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
18
|
+
export declare const getFilterRosterUser: (filter: UserFilterField) => Promise<import("axios").AxiosResponse<any>>;
|
package/dist/types/Filter.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { MediaType } from "../containers/Gallery/constants/gallery.types";
|
|
1
2
|
export declare type Filter = {
|
|
2
3
|
currentPage: number;
|
|
3
4
|
pageSize: number;
|
|
@@ -5,4 +6,5 @@ export declare type Filter = {
|
|
|
5
6
|
sortBy: string;
|
|
6
7
|
sortOrder: string;
|
|
7
8
|
name: string;
|
|
9
|
+
queryTypes?: MediaType[];
|
|
8
10
|
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Filter } from "../types/Filter";
|
|
2
|
-
|
|
2
|
+
import { Language } from "../types/Language";
|
|
3
|
+
export declare const TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";
|
|
4
|
+
export declare const GOOGLE_RECAPTCHA_KEY = "6LfNtLUaAAAAAL24lbBV11jS-gBtt1mhtxb4NXs0";
|
|
3
5
|
export declare const ACCESS_TOKEN = "ACCESS_TOKEN";
|
|
4
6
|
export declare const DEFAULT_PAGE_SIZE_VALUES: {
|
|
5
7
|
label: string;
|
|
@@ -17,10 +19,13 @@ export declare const COLORS: {
|
|
|
17
19
|
INFO: string;
|
|
18
20
|
};
|
|
19
21
|
export declare const DATE_FORMAT = "yyyy-MM-dd";
|
|
22
|
+
export declare const DATE_RESULT = "dd-MM-yyyy";
|
|
23
|
+
export declare const FULL_DATE_RESULT = "dd-MM-yyyy HH:mm";
|
|
20
24
|
export declare const FULL_DATE_FORMAT = "yyyy-MM-dd HH:mm";
|
|
21
25
|
export declare const DATE_MIN_VALUE = "0001-01-01T00:00:00";
|
|
22
26
|
export declare const LICENSE_AGGRID = "Alhanko&Johnson_BASE23_single_1_Devs__22_November_2020_[v2]_MTYwNjAwMzIwMDAwMA==d452f38afc893671cad92795e95d52a1";
|
|
23
27
|
export declare const BASE_URL: string;
|
|
28
|
+
export declare const isLocalhost: boolean;
|
|
24
29
|
export declare const QUESTION_TYPES_OPTIONS: {
|
|
25
30
|
label: string;
|
|
26
31
|
value: string;
|
|
@@ -44,9 +49,29 @@ export declare const STAR_OPTIONS: {
|
|
|
44
49
|
}[];
|
|
45
50
|
export declare const ANSWER_EDITOR_HEIGHT = 150;
|
|
46
51
|
export declare const USER_ROLES: string[];
|
|
47
|
-
export declare const PUSHER_KEY = "d42708a08afe90f857ea";
|
|
48
|
-
export declare const PUSHER_CLUSTER = "ap1";
|
|
49
52
|
export declare const CHAT_CHANNEL = "chat-channel";
|
|
50
|
-
export declare const NOTIFICATION_CHANNEL = "
|
|
53
|
+
export declare const NOTIFICATION_CHANNEL = "NOTIFICATION_CHANNEL";
|
|
54
|
+
export declare const NEW_NOTIFICATION = "NEW_NOTIFICATION";
|
|
51
55
|
export declare const DEFAULT_IMAGE_URL = "https://tleliteracy.com/wp-content/uploads/2017/02/default-avatar.png";
|
|
52
56
|
export declare const EMOTIONS: string[];
|
|
57
|
+
export declare const TAB_COLORS: {
|
|
58
|
+
reflect: string;
|
|
59
|
+
goal: string;
|
|
60
|
+
};
|
|
61
|
+
export declare const ROLES: {
|
|
62
|
+
ADMIN: string;
|
|
63
|
+
TEACHER: string;
|
|
64
|
+
ASSISTANT: string;
|
|
65
|
+
EDUTEACHER: string;
|
|
66
|
+
STUDENT: string;
|
|
67
|
+
PARENT: string;
|
|
68
|
+
};
|
|
69
|
+
export declare const NOTIFICATION_ALERT_KEY = "NOTIFICATION_ALERT_KEY";
|
|
70
|
+
export declare const handleUserRole: (userRoles: string[]) => string[];
|
|
71
|
+
export declare const MARIO_LEARNING_STUDIO_BASE_URL = "https://mariolearningstudio.com";
|
|
72
|
+
export declare const DEFAULT_LANGUAGE_CODE = "en-US";
|
|
73
|
+
export declare const LANGUAGES: Language[];
|
|
74
|
+
export declare const SUPPORTED_LANGUAGES_CODE: string[];
|
|
75
|
+
export declare const IS_USER_SESSION_BROWSER = "IS_USER_SESSION_BROWSER";
|
|
76
|
+
export declare const defaultFontSmall = 12;
|
|
77
|
+
export declare const defaultFontLarge = 20;
|