mario-core 3.0.0-admin → 3.0.0-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 +14 -14
- package/dist/components/Alerts/CommonAlert.d.ts +3 -3
- package/dist/components/Alerts/EmptyDataAlert.d.ts +8 -8
- package/dist/components/Alerts/ErrorHandler.d.ts +6 -6
- package/dist/components/Buttons/AddButton.d.ts +8 -7
- package/dist/components/Buttons/AddButtonIcon.d.ts +6 -6
- package/dist/components/Buttons/CloseButton.d.ts +8 -8
- package/dist/components/Buttons/DeleteButtonIcon.d.ts +6 -6
- package/dist/components/Buttons/DetailActionButtons.d.ts +9 -8
- package/dist/components/Buttons/EditButtonIcon.d.ts +6 -6
- package/dist/components/Buttons/LinkEditButton.d.ts +8 -7
- package/dist/components/Buttons/LoginNavButton.d.ts +8 -8
- package/dist/components/Buttons/ToggleButton.d.ts +10 -10
- package/dist/components/Buttons/UploadFileButton.d.ts +13 -13
- package/dist/components/Headers/CommonHeader.d.ts +7 -7
- package/dist/components/Image/UploadImage.d.ts +2 -3
- package/dist/components/Inputs/FileInput.d.ts +8 -8
- package/dist/components/Inputs/PasswordInput.d.ts +8 -8
- package/dist/components/Inputs/SearchBox.d.ts +10 -10
- package/dist/components/Inputs/SearchBoxContainer.d.ts +9 -10
- package/dist/components/Labels/RequiredLabel.d.ts +6 -6
- package/dist/components/Loading/Loading.d.ts +3 -3
- package/dist/components/Modals/CommonModal.d.ts +2 -3
- package/dist/components/Modals/NotificationLogoutModal.d.ts +2 -0
- package/dist/components/Modals/NotificationModal.d.ts +2 -3
- package/dist/components/Others/QuitPrompt.d.ts +5 -2
- package/dist/components/Pagination/CustomPagination.d.ts +2 -3
- package/dist/components/Scroll/ScrollToTop.d.ts +3 -3
- package/dist/components/Selectors/AcademicClassSelector.d.ts +2 -3
- package/dist/components/Selectors/CreatableSelector.d.ts +2 -3
- package/dist/components/Selectors/CustomSelector.d.ts +2 -3
- package/dist/components/Selectors/MailCategorySelectors.d.ts +2 -3
- package/dist/components/Selectors/QuestionCategorySelector.d.ts +2 -3
- package/dist/components/Selectors/QuestionTypeSelector.d.ts +2 -3
- package/dist/components/Selectors/StarRatingSelector.d.ts +2 -3
- package/dist/components/Selectors/SuggestionCategorySelector.d.ts +2 -3
- package/dist/components/Tabs/CustomTab.d.ts +2 -3
- package/dist/configs/editorConfig.d.ts +7 -7
- package/dist/containers/Commons/NotFound.d.ts +3 -3
- package/dist/containers/DistrictSchools/views/SchoolList.d.ts +3 -3
- package/dist/containers/EmailTemplate/components/AttachmentFile.d.ts +8 -7
- package/dist/containers/EmailTemplate/components/MailParam.d.ts +8 -7
- package/dist/containers/EmailTemplate/configs/emailTemplateSchema.d.ts +13 -13
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateDetail.d.ts +27 -28
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateList.d.ts +11 -11
- package/dist/containers/EmailTemplate/views/EmailTemplateDetail.d.ts +3 -3
- package/dist/containers/EmailTemplate/views/EmailTemplateList.d.ts +3 -3
- package/dist/containers/Faq/components/FaqDetailModal.d.ts +2 -3
- package/dist/containers/Faq/hooks/useFaqDetail.d.ts +17 -18
- package/dist/containers/Faq/hooks/useFaqList.d.ts +9 -9
- package/dist/containers/Faq/views/FaqList.d.ts +3 -3
- package/dist/containers/Gallery/components/ActionModal.d.ts +2 -3
- package/dist/containers/Gallery/components/Filter.d.ts +9 -8
- package/dist/containers/Gallery/components/Media.d.ts +9 -8
- package/dist/containers/Gallery/components/MediaDetail.d.ts +7 -7
- package/dist/containers/Gallery/components/MediaList.d.ts +7 -7
- package/dist/containers/Gallery/components/MediaNav.d.ts +19 -18
- package/dist/containers/Gallery/constants/gallery.types.d.ts +21 -21
- package/dist/containers/Gallery/extensions/helpers.d.ts +4 -4
- package/dist/containers/Gallery/hooks/useGalleryList.d.ts +30 -31
- package/dist/containers/Gallery/views/GalleryList.d.ts +6 -6
- package/dist/containers/Login/components/GoogleLoginButton.d.ts +10 -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 +20 -21
- package/dist/containers/Login/hooks/useLogin.d.ts +29 -23
- package/dist/containers/Login/hooks/useLoginTwoFactor.d.ts +4 -4
- package/dist/containers/Login/views/Dashboard.d.ts +3 -3
- package/dist/containers/Login/views/Login.d.ts +8 -9
- package/dist/containers/Login/views/block/BlockBackground.d.ts +7 -0
- package/dist/containers/Login/views/block/BlockForgetPassword.d.ts +6 -3
- package/dist/containers/Login/views/block/BlockLogin.d.ts +9 -7
- package/dist/containers/Login/views/block/BlockResetPassword.d.ts +2 -3
- package/dist/containers/Login/views/block/BlockSelectTeacher.d.ts +11 -12
- package/dist/containers/Login/views/block/BlockTwoFactorLogin.d.ts +2 -3
- package/dist/containers/Login/views/block/CloseBlock.d.ts +6 -6
- package/dist/containers/Login/views/block/ContentHomePage.d.ts +5 -5
- package/dist/containers/Login/views/block/IconContent.d.ts +7 -7
- package/dist/containers/Login/views/block/QuoteContent.d.ts +2 -6
- package/dist/containers/Notifications/components/NotificationButton.d.ts +5 -5
- package/dist/containers/Notifications/components/NotificationStatusSelector.d.ts +6 -7
- package/dist/containers/Notifications/hooks/useNotificationList.d.ts +17 -17
- package/dist/containers/Notifications/hooks/useUnreadNotification.d.ts +4 -4
- package/dist/containers/Notifications/views/NotificationList.d.ts +2 -3
- package/dist/containers/Skill/components/SkillDetailModal.d.ts +2 -3
- package/dist/containers/Skill/components/SkillSelector.d.ts +2 -3
- package/dist/containers/Skill/hooks/useSkillDetail.d.ts +19 -20
- package/dist/containers/Skill/hooks/useSkillList.d.ts +10 -9
- package/dist/containers/Skill/views/SkillList.d.ts +3 -3
- 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 +2 -0
- package/dist/containers/User/configs/changePasswordSchema.d.ts +11 -10
- 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 +15 -15
- 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 +9 -0
- package/dist/containers/User/hooks/useClickOutside.d.ts +2 -0
- package/dist/containers/User/hooks/useCounselorList.d.ts +9 -0
- package/dist/containers/User/hooks/useFilterPopover.d.ts +36 -0
- package/dist/containers/User/hooks/useTableHeader.d.ts +15 -0
- package/dist/containers/User/hooks/useTeacherList.d.ts +9 -0
- package/dist/containers/User/hooks/useUserDetail.d.ts +31 -24
- package/dist/containers/User/hooks/useUserList.d.ts +14 -11
- package/dist/containers/User/hooks/userFilters.d.ts +7 -0
- package/dist/containers/User/views/AssignStudentList.d.ts +2 -0
- package/dist/containers/User/views/UserContainer.d.ts +2 -0
- package/dist/containers/User/views/UserDetail.d.ts +2 -3
- package/dist/containers/User/views/UserList.d.ts +2 -3
- package/dist/hooks/useClassFontSize.d.ts +4 -0
- package/dist/hooks/useFilters.d.ts +7 -8
- package/dist/i18n.d.ts +2 -2
- package/dist/index.d.ts +111 -110
- package/dist/index.js +33 -10334
- package/dist/index.modern.js +25584 -9742
- package/dist/layouts/TheContent.d.ts +3 -3
- package/dist/mario-core.css +5 -0
- package/dist/redux/assessments/action.d.ts +1 -1
- package/dist/redux/assessments/reducer.d.ts +10 -5
- package/dist/redux/assignment/action.d.ts +1 -1
- package/dist/redux/assignment/reducer.d.ts +4 -2
- package/dist/redux/assistants/action.d.ts +1 -1
- package/dist/redux/assistants/reducer.d.ts +4 -2
- package/dist/redux/badges/action.d.ts +1 -1
- package/dist/redux/badges/reducer.d.ts +4 -2
- package/dist/redux/bandScores/action.d.ts +1 -1
- package/dist/redux/bandScores/reducer.d.ts +4 -2
- package/dist/redux/certificate/action.d.ts +1 -1
- package/dist/redux/certificate/reducer.d.ts +4 -2
- package/dist/redux/classes/action.d.ts +1 -1
- package/dist/redux/classes/reducer.d.ts +4 -2
- package/dist/redux/commons/action.d.ts +18 -18
- package/dist/redux/commons/reducer.d.ts +4 -2
- package/dist/redux/conferenceRubrics/action.d.ts +1 -1
- package/dist/redux/conferenceRubrics/reducer.d.ts +4 -2
- package/dist/redux/customAlert/action.d.ts +1 -1
- package/dist/redux/customAlert/reducer.d.ts +4 -2
- package/dist/redux/dashboard/action.d.ts +5 -5
- package/dist/redux/dashboard/reducer.d.ts +4 -2
- package/dist/redux/dataPlayer/action.d.ts +2 -2
- package/dist/redux/dataPlayer/reducer.d.ts +4 -2
- package/dist/redux/emailTemplates/action.d.ts +1 -1
- package/dist/redux/emailTemplates/reducer.d.ts +4 -2
- package/dist/redux/faqs/action.d.ts +1 -1
- package/dist/redux/faqs/reducer.d.ts +4 -2
- package/dist/redux/feedback/action.d.ts +1 -1
- package/dist/redux/feedback/reducer.d.ts +4 -2
- package/dist/redux/gallery/action.d.ts +2 -2
- package/dist/redux/gallery/reducer.d.ts +4 -2
- package/dist/redux/goalExamples/action.d.ts +1 -1
- package/dist/redux/goalExamples/reducer.d.ts +4 -2
- package/dist/redux/improveMyClass/action.d.ts +1 -1
- package/dist/redux/improveMyClass/reducer.d.ts +4 -2
- package/dist/redux/learningStrategies/action.d.ts +1 -1
- package/dist/redux/learningStrategies/reducer.d.ts +4 -2
- package/dist/redux/learningSupportCategories/action.d.ts +1 -1
- package/dist/redux/learningSupportCategories/reducer.d.ts +4 -2
- package/dist/redux/mailCategories/action.d.ts +1 -1
- package/dist/redux/mailCategories/reducer.d.ts +4 -2
- package/dist/redux/navMobile/action.d.ts +1 -1
- package/dist/redux/navMobile/reducer.d.ts +4 -2
- package/dist/redux/notifications/action.d.ts +3 -3
- package/dist/redux/notifications/reducer.d.ts +4 -2
- package/dist/redux/questionBanks/action.d.ts +1 -1
- package/dist/redux/questionBanks/reducer.d.ts +4 -2
- package/dist/redux/questionByCategory/action.d.ts +8 -8
- package/dist/redux/questionByCategory/reducer.d.ts +4 -2
- package/dist/redux/questionCategory/action.d.ts +1 -1
- package/dist/redux/questionCategory/reducer.d.ts +4 -2
- package/dist/redux/reflectionForms/action.d.ts +1 -1
- package/dist/redux/reflectionForms/reducer.d.ts +4 -2
- package/dist/redux/reflectionResults/action.d.ts +1 -1
- package/dist/redux/reflectionResults/reducer.d.ts +4 -2
- package/dist/redux/schoolBlankDays/action.d.ts +1 -1
- package/dist/redux/schoolBlankDays/reducer.d.ts +4 -2
- package/dist/redux/semester/action.d.ts +1 -1
- package/dist/redux/semester/reducer.d.ts +4 -2
- package/dist/redux/sessionPlayers/action.d.ts +5 -5
- package/dist/redux/sessionPlayers/reducer.d.ts +4 -2
- package/dist/redux/sessionTemplateGeneralClasses/action.d.ts +1 -1
- package/dist/redux/sessionTemplateGeneralClasses/reducer.d.ts +4 -2
- package/dist/redux/sessionTemplates/action.d.ts +1 -1
- package/dist/redux/sessionTemplates/reducer.d.ts +4 -2
- package/dist/redux/skills/action.d.ts +1 -1
- package/dist/redux/skills/reducer.d.ts +4 -2
- package/dist/redux/subjects/action.d.ts +1 -1
- package/dist/redux/subjects/reducer.d.ts +4 -2
- package/dist/redux/suggestionBanks/action.d.ts +1 -1
- package/dist/redux/suggestionBanks/reducer.d.ts +4 -2
- package/dist/redux/teacher/myStudent/action.d.ts +1 -1
- package/dist/redux/teacher/myStudent/reducer.d.ts +4 -2
- package/dist/redux/tutorialScreen/action.d.ts +1 -1
- package/dist/redux/tutorialScreen/reducer.d.ts +10 -5
- package/dist/redux/users/action.d.ts +2 -2
- package/dist/redux/users/reducer.d.ts +4 -2
- package/dist/redux/widget/action.d.ts +1 -1
- package/dist/redux/widget/reducer.d.ts +4 -2
- package/dist/rootReducer.d.ts +96 -49
- package/dist/services/accountService.d.ts +13 -12
- package/dist/services/api.d.ts +3 -3
- package/dist/services/classService.d.ts +1 -1
- package/dist/services/emailTemplateService.d.ts +6 -6
- package/dist/services/faqService.d.ts +6 -6
- package/dist/services/fileServices.d.ts +13 -13
- package/dist/services/galleryService.d.ts +2 -2
- package/dist/services/languageService.d.ts +1 -0
- package/dist/services/mailCategoryService.d.ts +1 -1
- package/dist/services/notificationService.d.ts +7 -7
- package/dist/services/questionCategoryService.d.ts +1 -1
- package/dist/services/schoolService.d.ts +1 -0
- package/dist/services/skillService.d.ts +6 -6
- package/dist/services/suggestionCategoryService.d.ts +1 -1
- package/dist/services/userService.d.ts +18 -9
- package/dist/store.d.ts +3 -3
- package/dist/types/Conversation.d.ts +8 -8
- package/dist/types/ConversationMember.d.ts +5 -5
- package/dist/types/Dashboard.d.ts +5 -5
- package/dist/types/Filter.d.ts +10 -10
- package/dist/types/Language.d.ts +8 -0
- package/dist/types/Message.d.ts +13 -13
- package/dist/types/Notification.d.ts +8 -8
- package/dist/utils/canAccessRoute.d.ts +2 -2
- package/dist/utils/constants.d.ts +77 -67
- package/dist/utils/debounce.d.ts +2 -2
- package/dist/utils/domHelpers.d.ts +2 -2
- package/dist/utils/encodeParams.d.ts +2 -2
- package/dist/utils/firstCheckToken.d.ts +2 -2
- package/dist/utils/generateRandomString.d.ts +2 -2
- package/dist/utils/getAccessToken.d.ts +2 -2
- package/dist/utils/getCookieValue.d.ts +2 -0
- package/dist/utils/getFileUrl.d.ts +2 -2
- package/dist/utils/getStaticFileUrl.d.ts +2 -0
- package/dist/utils/getTextFromHTML.d.ts +2 -2
- package/dist/utils/utcToLocalTime.d.ts +2 -2
- package/package.json +89 -100
- package/dist/components/Alerts/ReactNotification.d.ts +0 -4
- package/dist/index.css +0 -618
- package/dist/index.js.map +0 -1
- package/dist/index.modern.js.map +0 -1
- package/dist/index.test.d.ts +0 -1
- package/dist/layouts/TheFooter.d.ts +0 -3
- package/dist/layouts/TheHeader.d.ts +0 -3
- package/dist/layouts/TheHeaderDropdown.d.ts +0 -3
- package/dist/layouts/TheLanguageDropdown.d.ts +0 -3
- package/dist/layouts/TheLayout.d.ts +0 -4
- package/dist/layouts/TheSidebar.d.ts +0 -3
- package/dist/types/Payload.d.ts +0 -15
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IOptions } from "../configs/type";
|
|
2
|
+
declare const useTeacherList: () => {
|
|
3
|
+
selectedTeachers: object | undefined;
|
|
4
|
+
teacherOptions: IOptions[];
|
|
5
|
+
handleSelectTeacher: (teacherId: string, studentUserId: string) => void;
|
|
6
|
+
handleCreateTeacherOption: (newTeacher: IOptions, studentUserId: string) => void;
|
|
7
|
+
setSelectedTeachers: import("react").Dispatch<import("react").SetStateAction<object | undefined>>;
|
|
8
|
+
};
|
|
9
|
+
export default useTeacherList;
|
|
@@ -1,24 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
id?: string;
|
|
4
|
-
firstName: string;
|
|
5
|
-
lastName: string;
|
|
6
|
-
email?: string;
|
|
7
|
-
dateOfBirth?: string;
|
|
8
|
-
roles: string[];
|
|
9
|
-
isActive: boolean;
|
|
10
|
-
profileImageFileName: string;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
import { IOptions } from "../configs/type";
|
|
2
|
+
type UserDetail = {
|
|
3
|
+
id?: string;
|
|
4
|
+
firstName: string;
|
|
5
|
+
lastName: string;
|
|
6
|
+
email?: string;
|
|
7
|
+
dateOfBirth?: string;
|
|
8
|
+
roles: string[];
|
|
9
|
+
isActive: boolean;
|
|
10
|
+
profileImageFileName: string;
|
|
11
|
+
teacherUserId?: string[];
|
|
12
|
+
};
|
|
13
|
+
declare const useUserDetail: (id?: string) => {
|
|
14
|
+
userDetail: UserDetail;
|
|
15
|
+
backToList: (user?: string) => void;
|
|
16
|
+
confirmData: (data: any) => Promise<void>;
|
|
17
|
+
file: any;
|
|
18
|
+
setFile: import("react").Dispatch<any>;
|
|
19
|
+
edited: boolean;
|
|
20
|
+
currentRoles: string[];
|
|
21
|
+
setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
22
|
+
setEditedTrue: () => Promise<void>;
|
|
23
|
+
confirmChangePassword: (data: any) => Promise<void>;
|
|
24
|
+
forgotPasswordRequest: (data: any) => Promise<void>;
|
|
25
|
+
handleDisableRoles: (currentRoles: string) => boolean;
|
|
26
|
+
classFontSize: string;
|
|
27
|
+
teacherOptions: IOptions[];
|
|
28
|
+
handleToggleModel: () => void;
|
|
29
|
+
openModel: boolean;
|
|
30
|
+
};
|
|
31
|
+
export default useUserDetail;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
declare const useUserList: () => {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
declare const useUserList: () => {
|
|
2
|
+
fullName: string;
|
|
3
|
+
userList: any;
|
|
4
|
+
totalItems: any;
|
|
5
|
+
filters: import("../configs/type").UserFilter;
|
|
6
|
+
queryName: string | null;
|
|
7
|
+
getData: () => Promise<void>;
|
|
8
|
+
removeData: (id: string) => void;
|
|
9
|
+
changeFilters: (updatedFilters: any) => void;
|
|
10
|
+
reDirectDetailPage: (id?: number) => void;
|
|
11
|
+
switchUser: (record: any) => Promise<void>;
|
|
12
|
+
classFontSize: string;
|
|
13
|
+
};
|
|
14
|
+
export default useUserList;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { UserFilter } from "../configs/type";
|
|
2
|
+
declare const useFilters: () => {
|
|
3
|
+
filters: UserFilter;
|
|
4
|
+
setFilters: import("react").Dispatch<import("react").SetStateAction<UserFilter>>;
|
|
5
|
+
changeFilters: (updatedFilters: any) => void;
|
|
6
|
+
};
|
|
7
|
+
export default useFilters;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default UserDetail;
|
|
1
|
+
declare const UserDetail: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default UserDetail;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default UserList;
|
|
1
|
+
declare const UserList: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default UserList;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export default useFilters;
|
|
1
|
+
import { Filter } from "../types/Filter";
|
|
2
|
+
declare const useFilters: () => {
|
|
3
|
+
filters: Filter;
|
|
4
|
+
setFilters: import("react").Dispatch<import("react").SetStateAction<Filter>>;
|
|
5
|
+
changeFilters: (updatedFilters: any) => void;
|
|
6
|
+
};
|
|
7
|
+
export default useFilters;
|
package/dist/i18n.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import i18n from "i18next";
|
|
2
|
+
export default i18n;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,110 +1,111 @@
|
|
|
1
|
-
import "bootstrap/dist/css/bootstrap.min.css";
|
|
2
|
-
import i18n from "./i18n";
|
|
3
|
-
import { useTranslation, I18nextProvider } from "react-i18next";
|
|
4
|
-
import Login from "./containers/Login/views/Login";
|
|
5
|
-
import Dashboard from "./containers/Login/views/Dashboard";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import {
|
|
51
|
-
import
|
|
52
|
-
import {
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import {
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import
|
|
99
|
-
import
|
|
100
|
-
import
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import
|
|
107
|
-
import
|
|
108
|
-
import
|
|
109
|
-
|
|
110
|
-
|
|
1
|
+
import "bootstrap/dist/css/bootstrap.min.css";
|
|
2
|
+
import i18n from "./i18n.js";
|
|
3
|
+
import { useTranslation, I18nextProvider } from "react-i18next";
|
|
4
|
+
import Login from "./containers/Login/views/Login";
|
|
5
|
+
import Dashboard from "./containers/Login/views/Dashboard";
|
|
6
|
+
import TheContent from "./layouts/TheContent";
|
|
7
|
+
import EmailTemplateList from "./containers/EmailTemplate/views/EmailTemplateList";
|
|
8
|
+
import EmailTemplateDetail from "./containers/EmailTemplate/views/EmailTemplateDetail";
|
|
9
|
+
import FaqList from "./containers/Faq/views/FaqList";
|
|
10
|
+
import SkillList from "./containers/Skill/views/SkillList";
|
|
11
|
+
import UserContainer from "./containers/User/views/UserContainer";
|
|
12
|
+
import UserDetail from "./containers/User/views/UserDetail";
|
|
13
|
+
import Loading from "./components/Loading/Loading";
|
|
14
|
+
import ScrollToTop from "./components/Scroll/ScrollToTop";
|
|
15
|
+
import NotificationModal from "./components/Modals/NotificationModal";
|
|
16
|
+
import CommonHeader from "./components/Headers/CommonHeader";
|
|
17
|
+
import CommonModal from "./components/Modals/CommonModal";
|
|
18
|
+
import AddButton from "./components/Buttons/AddButton";
|
|
19
|
+
import DeleteButtonIcon from "./components/Buttons/DeleteButtonIcon";
|
|
20
|
+
import EditButtonIcon from "./components/Buttons/EditButtonIcon";
|
|
21
|
+
import CustomPagination from "./components/Pagination/CustomPagination";
|
|
22
|
+
import LinkEditButton from "./components/Buttons/LinkEditButton";
|
|
23
|
+
import EmptyDataAlert from "./components/Alerts/EmptyDataAlert";
|
|
24
|
+
import CreatableSelector from "./components/Selectors/CreatableSelector";
|
|
25
|
+
import SearchBox from "./components/Inputs/SearchBox";
|
|
26
|
+
import QuestionTypeSelector from "./components/Selectors/QuestionTypeSelector";
|
|
27
|
+
import SuggestionCategorySelector from "./components/Selectors/SuggestionCategorySelector";
|
|
28
|
+
import QuestionCategorySelector from "./components/Selectors/QuestionCategorySelector";
|
|
29
|
+
import ErrorHandler from "./components/Alerts/ErrorHandler";
|
|
30
|
+
import DetailActionButtons from "./components/Buttons/DetailActionButtons";
|
|
31
|
+
import RequiredLabel from "./components/Labels/RequiredLabel";
|
|
32
|
+
import StarRatingSelector from "./components/Selectors/StarRatingSelector";
|
|
33
|
+
import ToggleButton from "./components/Buttons/ToggleButton";
|
|
34
|
+
import FileInput from "./components/Inputs/FileInput";
|
|
35
|
+
import NotFound from "./containers/Commons/NotFound";
|
|
36
|
+
import NotificationList from "./containers/Notifications/views/NotificationList";
|
|
37
|
+
import CustomSelector from "./components/Selectors/CustomSelector";
|
|
38
|
+
import UploadFileButton from "./components/Buttons/UploadFileButton";
|
|
39
|
+
import SearchBoxContainer from "./components/Inputs/SearchBoxContainer";
|
|
40
|
+
import CustomTab from "./components/Tabs/CustomTab";
|
|
41
|
+
import CommonAlert from "./components/Alerts/CommonAlert";
|
|
42
|
+
import GalleryList from "./containers/Gallery/views/GalleryList";
|
|
43
|
+
import MediaList from "./containers/Gallery/components/MediaList";
|
|
44
|
+
import useGalleryList from "./containers/Gallery/hooks/useGalleryList";
|
|
45
|
+
import QuitPrompt from "./components/Others/QuitPrompt";
|
|
46
|
+
import AcademicClassSelector from "./components/Selectors/AcademicClassSelector";
|
|
47
|
+
import SchoolList from "./containers/DistrictSchools/views/SchoolList";
|
|
48
|
+
import { isLocalhost, DEFAULT_LANGUAGE_CODE, LANGUAGES, SUPPORTED_LANGUAGES_CODE, IS_USER_SESSION_BROWSER } from "./utils/constants";
|
|
49
|
+
import store from "./store";
|
|
50
|
+
import { api, apiUpload } from "./services/api";
|
|
51
|
+
import editorConfig from "./configs/editorConfig";
|
|
52
|
+
import { BASE_URL, DEFAULT_FILTER, LICENSE_AGGRID, TINY_MCE_API_KEY, QUESTION_TYPES, ANSWER_EDITOR_HEIGHT, CHAT_CHANNEL, NOTIFICATION_CHANNEL, DATE_RESULT, DATE_FORMAT, FULL_DATE_RESULT, ACCESS_TOKEN, GOOGLE_RECAPTCHA_KEY, EMOTIONS, QUESTION_TYPES_OPTIONS, TAB_COLORS, NOTIFICATION_ALERT_KEY } from "./utils/constants";
|
|
53
|
+
import firstCheckToken from "./utils/firstCheckToken";
|
|
54
|
+
import canAccessRoute from "./utils/canAccessRoute";
|
|
55
|
+
import { getInfo } from "./services/accountService";
|
|
56
|
+
import { getLanguage } from "./services/languageService";
|
|
57
|
+
import { isInViewport } from "./utils/domHelpers";
|
|
58
|
+
import debounce from "./utils/debounce";
|
|
59
|
+
import getFileUrl from "./utils/getFileUrl";
|
|
60
|
+
import getTextFromHTML from "./utils/getTextFromHTML";
|
|
61
|
+
import utcToLocalTime from "./utils/utcToLocalTime";
|
|
62
|
+
import { uploadFile, systemStudentBadge, systemCertificateUpload } from "./services/fileServices";
|
|
63
|
+
import { setLoading, setModal, setAlert, setUser, reset, setCurrentStudentId, setCurrentStudentUserId, setCurrentStudentName, setTurnOffPassWhenChangeMode, showMenuBar, showFontSize, setUnreadNotification } from "./redux/commons/action";
|
|
64
|
+
import { setClassList } from "./redux/classes/action";
|
|
65
|
+
import { setConferenceRubricList } from "./redux/conferenceRubrics/action";
|
|
66
|
+
import { setSuggestionList } from "./redux/suggestionBanks/action";
|
|
67
|
+
import { setStrategyList } from "./redux/learningStrategies/action";
|
|
68
|
+
import { setSubjectList } from "./redux/subjects/action";
|
|
69
|
+
import { setLearningSupportCategoryList } from "./redux/learningSupportCategories/action";
|
|
70
|
+
import { setQuestionList } from "./redux/questionBanks/action";
|
|
71
|
+
import { setBadgeList } from "./redux/badges/action";
|
|
72
|
+
import { setSemesterList } from "./redux/semester/action";
|
|
73
|
+
import { setAssignmentList } from "./redux/assignment/action";
|
|
74
|
+
import { setGoalExampleList } from "./redux/goalExamples/action";
|
|
75
|
+
import { setUserList, setStudentList } from "./redux/users/action";
|
|
76
|
+
import { setFeedbackList } from "./redux/feedback/action";
|
|
77
|
+
import { setAssessmentList } from "./redux/assessments/action";
|
|
78
|
+
import { setMyStudent } from "./redux/teacher/myStudent/action";
|
|
79
|
+
import { setQuestionByCategory, setSelectQuestion, setMoveItemQuestion, setEditItemQuesion, setResetQuestionList } from "./redux/questionByCategory/action";
|
|
80
|
+
import { setImproveMyClass } from "./redux/improveMyClass/action";
|
|
81
|
+
import { setAssistantList } from "./redux/assistants/action";
|
|
82
|
+
import { setMailCategory } from "./redux/mailCategories/action";
|
|
83
|
+
import { setReflectionList } from "./redux/reflectionForms/action";
|
|
84
|
+
import { setReflectionResultList } from "./redux/reflectionResults/action";
|
|
85
|
+
import { setSessionTemplateList } from "./redux/sessionTemplates/action";
|
|
86
|
+
import { setSessionTemplateGeneralClassList } from "./redux/sessionTemplateGeneralClasses/action";
|
|
87
|
+
import { setTutorialScreenList } from "./redux/tutorialScreen/action";
|
|
88
|
+
import { setCustomAlertList } from "./redux/customAlert/action";
|
|
89
|
+
import { setCertificateList } from "./redux/certificate/action";
|
|
90
|
+
import { changeNote, changeTags, answerQuestion, setSessionPlayer, setStartTime } from "./redux/sessionPlayers/action";
|
|
91
|
+
import { closeTab, addTab, editTab, clearTab } from "./redux/dashboard/action";
|
|
92
|
+
import { setSchoolBlankDayList } from "./redux/schoolBlankDays/action";
|
|
93
|
+
import type { Filter } from "./types/Filter";
|
|
94
|
+
import type { Conversation } from "./types/Conversation";
|
|
95
|
+
import type { Message } from "./types/Message";
|
|
96
|
+
import type { ConversationMember } from "./types/ConversationMember";
|
|
97
|
+
import type { NavbarTab } from "./types/Dashboard";
|
|
98
|
+
import generateRandomString from "./utils/generateRandomString";
|
|
99
|
+
import Images from "./assets/Images";
|
|
100
|
+
import { setQuestionCateList } from "./redux/questionCategory/action";
|
|
101
|
+
import { setDataPlayer, answerQuestionDataPlayer } from "./redux/dataPlayer/action";
|
|
102
|
+
import { setFilterWidget } from "./redux/widget/action";
|
|
103
|
+
import { setBandScoreList } from "./redux/bandScores/action";
|
|
104
|
+
import { setStudentIdSelectedByTeacher } from "./redux/navMobile/action";
|
|
105
|
+
import { setEnableIEP, setEnableSurvey, setConversationOneToOne } from "./redux/commons/action";
|
|
106
|
+
import useFilters from "./hooks/useFilters";
|
|
107
|
+
import getStaticFileUrl from "./utils/getStaticFileUrl";
|
|
108
|
+
import { setLanguage } from "./redux/commons/action";
|
|
109
|
+
import NotificationLogoutModal from "./components/Modals/NotificationLogoutModal";
|
|
110
|
+
import getAccessToken from "./utils/getAccessToken";
|
|
111
|
+
export { Login, Dashboard, TheContent, NotFound, EmailTemplateList, EmailTemplateDetail, FaqList, SkillList, UserContainer, UserDetail, Loading, NotificationModal, CommonHeader, CommonModal, AddButton, DeleteButtonIcon, EditButtonIcon, LinkEditButton, ToggleButton, EmptyDataAlert, CreatableSelector, CustomPagination, SearchBox, FileInput, QuitPrompt, QuestionTypeSelector, QuestionCategorySelector, SuggestionCategorySelector, ErrorHandler, DetailActionButtons, RequiredLabel, StarRatingSelector, NotificationList, CustomSelector, UploadFileButton, SearchBoxContainer, CustomTab, CommonAlert, GalleryList, MediaList, useGalleryList, AcademicClassSelector, SchoolList, store, showMenuBar, showFontSize, setLoading, setModal, setAlert, setClassList, setConferenceRubricList, setSuggestionList, setStrategyList, setSubjectList, setLearningSupportCategoryList, setQuestionList, setUserList, setStudentList, setBadgeList, setGoalExampleList, setSemesterList, setFeedbackList, setAssessmentList, setQuestionByCategory, setSelectQuestion, setMoveItemQuestion, setReflectionList, setReflectionResultList, setEditItemQuesion, setResetQuestionList, setMailCategory, setUser, setAssignmentList, setAssistantList, setSessionTemplateList, setTutorialScreenList, setSessionTemplateGeneralClassList, setCustomAlertList, setCertificateList, setUnreadNotification, closeTab, addTab, editTab, clearTab, changeNote, changeTags, answerQuestion, setSessionPlayer, setStartTime, setTurnOffPassWhenChangeMode, reset, setImproveMyClass, setSchoolBlankDayList, setEnableIEP, setEnableSurvey, setConversationOneToOne, i18n, useTranslation, I18nextProvider, api, apiUpload, uploadFile, systemStudentBadge, systemCertificateUpload, BASE_URL, DEFAULT_FILTER, LICENSE_AGGRID, TINY_MCE_API_KEY, QUESTION_TYPES, QUESTION_TYPES_OPTIONS, ANSWER_EDITOR_HEIGHT, CHAT_CHANNEL, NOTIFICATION_CHANNEL, DATE_RESULT, DATE_FORMAT, FULL_DATE_RESULT, ACCESS_TOKEN, GOOGLE_RECAPTCHA_KEY, EMOTIONS, TAB_COLORS, Filter, Conversation, Message, ConversationMember, NavbarTab, editorConfig, generateRandomString, isInViewport, debounce, firstCheckToken, canAccessRoute, getFileUrl, getTextFromHTML, utcToLocalTime, getInfo, getLanguage, Images, setQuestionCateList, setMyStudent, setDataPlayer, answerQuestionDataPlayer, setCurrentStudentUserId, setCurrentStudentId, setCurrentStudentName, setFilterWidget, setBandScoreList, setStudentIdSelectedByTeacher, useFilters, ScrollToTop, isLocalhost, getStaticFileUrl, setLanguage, DEFAULT_LANGUAGE_CODE, LANGUAGES, SUPPORTED_LANGUAGES_CODE, IS_USER_SESSION_BROWSER, NOTIFICATION_ALERT_KEY, NotificationLogoutModal, getAccessToken };
|