mario-core 1.0.3 → 1.0.4-es-multi-teacher
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 +9 -0
- package/dist/components/Alerts/CommonAlert.d.ts +3 -0
- package/dist/components/Alerts/ReactNotification.d.ts +4 -0
- package/dist/components/Buttons/AddButton.d.ts +1 -0
- package/dist/components/Buttons/CloseButton.d.ts +8 -0
- package/dist/components/Buttons/DeleteButtonIcon.d.ts +1 -1
- package/dist/components/Buttons/DetailActionButtons.d.ts +1 -0
- package/dist/components/Buttons/LinkEditButton.d.ts +1 -0
- package/dist/components/Buttons/LoginNavButton.d.ts +8 -0
- package/dist/components/Buttons/ToggleButton.d.ts +10 -0
- package/dist/components/Buttons/UploadFileButton.d.ts +13 -0
- package/dist/components/Image/UploadImage.d.ts +3 -0
- package/dist/components/Inputs/FileInput.d.ts +8 -0
- package/dist/components/Inputs/PasswordInput.d.ts +8 -0
- package/dist/components/Inputs/SearchBoxContainer.d.ts +10 -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 +3 -0
- package/dist/components/Selectors/QuestionCategorySelector.d.ts +3 -0
- package/dist/components/Selectors/SuggestionCategorySelector.d.ts +3 -0
- package/dist/components/Tabs/CustomTab.d.ts +3 -0
- package/dist/configs/editorConfig.d.ts +6 -6
- 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/configs/emailTemplateSchema.d.ts +2 -0
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateDetail.d.ts +15 -2
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateList.d.ts +3 -2
- package/dist/containers/Faq/hooks/useFaqDetail.d.ts +5 -0
- package/dist/containers/Faq/hooks/useFaqList.d.ts +2 -2
- package/dist/containers/Gallery/components/ActionModal.d.ts +3 -0
- 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 +24 -0
- package/dist/containers/Login/hooks/useForgotPassword.d.ts +21 -0
- package/dist/containers/Login/hooks/useLogin.d.ts +20 -0
- package/dist/containers/Login/hooks/useLoginTwoFactor.d.ts +4 -0
- package/dist/containers/Login/views/Dashboard.d.ts +3 -0
- package/dist/containers/Login/views/Login.d.ts +7 -1
- package/dist/containers/Login/views/block/BlockBackground.d.ts +7 -0
- package/dist/containers/Login/views/block/BlockForgetPassword.d.ts +7 -0
- package/dist/containers/Login/views/block/BlockLogin.d.ts +9 -0
- package/dist/containers/Login/views/block/BlockResetPassword.d.ts +3 -0
- 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/ContentHomePage.d.ts +5 -0
- package/dist/containers/Login/views/block/IconContent.d.ts +7 -0
- package/dist/containers/Login/views/block/QuoteContent.d.ts +3 -0
- package/dist/containers/Notifications/components/NotificationButton.d.ts +5 -0
- package/dist/containers/Notifications/components/NotificationStatusSelector.d.ts +7 -0
- package/dist/containers/Notifications/hooks/useNotificationList.d.ts +17 -0
- package/dist/containers/Notifications/hooks/useUnreadNotification.d.ts +4 -0
- package/dist/containers/Notifications/views/NotificationList.d.ts +3 -0
- package/dist/containers/Skill/components/SkillSelector.d.ts +3 -0
- package/dist/containers/Skill/hooks/useSkillDetail.d.ts +8 -1
- package/dist/containers/Skill/hooks/useSkillList.d.ts +3 -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 +131 -0
- package/dist/containers/User/configs/userSchema.d.ts +7 -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 +13 -1
- package/dist/containers/User/hooks/useUserList.d.ts +6 -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 +989 -9
- package/dist/index.d.ts +73 -5
- package/dist/index.js +30929 -1923
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +30802 -1912
- 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/assessments/action.d.ts +1 -0
- package/dist/redux/assessments/reducer.d.ts +5 -0
- package/dist/redux/assignment/action.d.ts +1 -0
- package/dist/redux/assignment/reducer.d.ts +2 -0
- package/dist/redux/assistants/action.d.ts +1 -0
- package/dist/redux/assistants/reducer.d.ts +2 -0
- package/dist/redux/badges/action.d.ts +1 -1
- package/dist/redux/bandScores/action.d.ts +1 -0
- package/dist/redux/bandScores/reducer.d.ts +2 -0
- package/dist/redux/certificate/action.d.ts +1 -0
- package/dist/redux/certificate/reducer.d.ts +2 -0
- package/dist/redux/classes/action.d.ts +1 -1
- package/dist/redux/commons/action.d.ts +15 -0
- package/dist/redux/conferenceRubrics/action.d.ts +1 -0
- package/dist/redux/conferenceRubrics/reducer.d.ts +2 -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/emailTemplates/action.d.ts +1 -1
- package/dist/redux/faqs/action.d.ts +1 -1
- package/dist/redux/feedback/action.d.ts +1 -0
- package/dist/redux/feedback/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/learningStrategies/action.d.ts +1 -1
- package/dist/redux/learningSupportCategories/action.d.ts +1 -0
- package/dist/redux/learningSupportCategories/reducer.d.ts +2 -0
- package/dist/redux/mailCategories/action.d.ts +1 -0
- package/dist/redux/mailCategories/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/notifications/action.d.ts +3 -0
- package/dist/redux/notifications/reducer.d.ts +2 -0
- package/dist/redux/questionBanks/action.d.ts +1 -1
- package/dist/redux/questionByCategory/action.d.ts +8 -0
- package/dist/redux/questionByCategory/reducer.d.ts +2 -0
- package/dist/redux/questionCategory/action.d.ts +1 -0
- package/dist/redux/questionCategory/reducer.d.ts +2 -0
- package/dist/redux/reflectionForms/action.d.ts +1 -0
- package/dist/redux/reflectionForms/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/sessionTemplates/action.d.ts +1 -0
- package/dist/redux/sessionTemplates/reducer.d.ts +2 -0
- package/dist/redux/skills/action.d.ts +1 -1
- package/dist/redux/subjects/action.d.ts +1 -1
- package/dist/redux/suggestionBanks/action.d.ts +1 -1
- package/dist/redux/teacher/myStudent/action.d.ts +1 -0
- package/dist/redux/teacher/myStudent/reducer.d.ts +2 -0
- package/dist/redux/tutorialScreen/action.d.ts +1 -0
- package/dist/redux/tutorialScreen/reducer.d.ts +5 -0
- package/dist/redux/unreadNotification/action.d.ts +1 -0
- package/dist/redux/users/action.d.ts +1 -0
- package/dist/redux/widget/action.d.ts +1 -0
- package/dist/redux/widget/reducer.d.ts +2 -0
- package/dist/rootReducer.d.ts +34 -0
- package/dist/services/accountService.d.ts +12 -3
- 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 -0
- package/dist/services/galleryService.d.ts +2 -0
- package/dist/services/languageService.d.ts +1 -0
- package/dist/services/mailCategoryService.d.ts +1 -0
- package/dist/services/notificationService.d.ts +7 -0
- package/dist/services/questionCategoryService.d.ts +1 -0
- package/dist/services/schoolService.d.ts +1 -0
- package/dist/services/skillService.d.ts +5 -5
- package/dist/services/suggestionCategoryService.d.ts +1 -0
- package/dist/services/userService.d.ts +17 -5
- package/dist/types/ConversationMember.d.ts +5 -0
- 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/types/Message.d.ts +13 -0
- package/dist/types/Notification.d.ts +8 -0
- package/dist/types/Payload.d.ts +15 -0
- package/dist/utils/constants.d.ts +38 -2
- package/dist/utils/debounce.d.ts +2 -0
- package/dist/utils/domHelpers.d.ts +2 -0
- package/dist/utils/getCookieValue.d.ts +2 -0
- package/dist/utils/getFileUrl.d.ts +2 -0
- package/dist/utils/getStaticFileUrl.d.ts +2 -0
- package/dist/utils/getTextFromHTML.d.ts +2 -0
- package/dist/utils/utcToLocalTime.d.ts +1 -1
- package/package.json +16 -2
- package/README.md +0 -30
- package/dist/components/Alerts/EmptyDataAlert.js +0 -11
- package/dist/components/Alerts/EmptyDataAlert.js.map +0 -1
- package/dist/components/Alerts/ErrorHandler.js +0 -10
- package/dist/components/Alerts/ErrorHandler.js.map +0 -1
- package/dist/components/Buttons/AddButton.js +0 -14
- package/dist/components/Buttons/AddButton.js.map +0 -1
- package/dist/components/Buttons/AddButtonIcon.js +0 -9
- package/dist/components/Buttons/AddButtonIcon.js.map +0 -1
- package/dist/components/Buttons/DeleteButtonIcon.js +0 -9
- package/dist/components/Buttons/DeleteButtonIcon.js.map +0 -1
- package/dist/components/Buttons/DetailActionButtons.js +0 -21
- package/dist/components/Buttons/DetailActionButtons.js.map +0 -1
- package/dist/components/Buttons/EditButtonIcon.js +0 -9
- package/dist/components/Buttons/EditButtonIcon.js.map +0 -1
- package/dist/components/Buttons/LinkEditButton.js +0 -8
- package/dist/components/Buttons/LinkEditButton.js.map +0 -1
- package/dist/components/Headers/CommonHeader.js +0 -21
- package/dist/components/Headers/CommonHeader.js.map +0 -1
- package/dist/components/Inputs/SearchBox.js +0 -15
- package/dist/components/Inputs/SearchBox.js.map +0 -1
- package/dist/components/Labels/RequiredLabel.js +0 -10
- package/dist/components/Labels/RequiredLabel.js.map +0 -1
- package/dist/components/Loading/Loading.js +0 -22
- package/dist/components/Loading/Loading.js.map +0 -1
- package/dist/components/Modals/CommonModal.js +0 -24
- package/dist/components/Modals/CommonModal.js.map +0 -1
- package/dist/components/Modals/NotificationModal.js +0 -50
- package/dist/components/Modals/NotificationModal.js.map +0 -1
- package/dist/components/Pagination/CustomPagination.js +0 -35
- package/dist/components/Pagination/CustomPagination.js.map +0 -1
- package/dist/components/Selectors/CreatableSelector.js +0 -11
- package/dist/components/Selectors/CreatableSelector.js.map +0 -1
- package/dist/components/Selectors/MailCategorySelectors.js +0 -27
- package/dist/components/Selectors/MailCategorySelectors.js.map +0 -1
- package/dist/components/Selectors/QuestionTypeSelector.js +0 -23
- package/dist/components/Selectors/QuestionTypeSelector.js.map +0 -1
- package/dist/components/Selectors/StarRatingSelector.js +0 -23
- package/dist/components/Selectors/StarRatingSelector.js.map +0 -1
- package/dist/configs/editorConfig.js +0 -13
- package/dist/configs/editorConfig.js.map +0 -1
- package/dist/containers/EmailTemplate/components/MailParam.js +0 -23
- package/dist/containers/EmailTemplate/components/MailParam.js.map +0 -1
- package/dist/containers/EmailTemplate/configs/emailTemplateSchema.js +0 -12
- package/dist/containers/EmailTemplate/configs/emailTemplateSchema.js.map +0 -1
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateDetail.js +0 -122
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateDetail.js.map +0 -1
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateList.js +0 -134
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateList.js.map +0 -1
- package/dist/containers/EmailTemplate/views/EmailTemplateDetail.js +0 -62
- package/dist/containers/EmailTemplate/views/EmailTemplateDetail.js.map +0 -1
- package/dist/containers/EmailTemplate/views/EmailTemplateList.js +0 -57
- package/dist/containers/EmailTemplate/views/EmailTemplateList.js.map +0 -1
- package/dist/containers/Faq/components/FaqDetailModal.js +0 -16
- package/dist/containers/Faq/components/FaqDetailModal.js.map +0 -1
- package/dist/containers/Faq/hooks/useFaqDetail.js +0 -122
- package/dist/containers/Faq/hooks/useFaqDetail.js.map +0 -1
- package/dist/containers/Faq/hooks/useFaqList.js +0 -119
- package/dist/containers/Faq/hooks/useFaqList.js.map +0 -1
- package/dist/containers/Faq/views/FaqList.js +0 -57
- package/dist/containers/Faq/views/FaqList.js.map +0 -1
- package/dist/containers/Login/views/Login.js +0 -30
- package/dist/containers/Login/views/Login.js.map +0 -1
- package/dist/containers/Login.d.ts +0 -3
- package/dist/containers/Skill/components/SkillDetailModal.js +0 -16
- package/dist/containers/Skill/components/SkillDetailModal.js.map +0 -1
- package/dist/containers/Skill/hooks/useSkillDetail.js +0 -122
- package/dist/containers/Skill/hooks/useSkillDetail.js.map +0 -1
- package/dist/containers/Skill/hooks/useSkillList.js +0 -125
- package/dist/containers/Skill/hooks/useSkillList.js.map +0 -1
- package/dist/containers/Skill/views/SkillList.js +0 -61
- package/dist/containers/Skill/views/SkillList.js.map +0 -1
- package/dist/containers/User.d.ts +0 -3
- package/dist/containers/User.js +0 -42
- package/dist/containers/User.js.map +0 -1
- package/dist/index.test.js +0 -7
- package/dist/index.test.js.map +0 -1
- package/dist/layouts/TheContent.js +0 -16
- package/dist/layouts/TheContent.js.map +0 -1
- package/dist/layouts/TheFooter.js +0 -13
- package/dist/layouts/TheFooter.js.map +0 -1
- package/dist/layouts/TheHeader.js +0 -16
- package/dist/layouts/TheHeader.js.map +0 -1
- package/dist/layouts/TheHeaderDropdown.js +0 -15
- package/dist/layouts/TheHeaderDropdown.js.map +0 -1
- package/dist/layouts/TheLayout.js +0 -16
- package/dist/layouts/TheLayout.js.map +0 -1
- package/dist/layouts/TheSidebar.js +0 -23
- package/dist/layouts/TheSidebar.js.map +0 -1
- package/dist/redux/badges/action.js +0 -3
- package/dist/redux/badges/action.js.map +0 -1
- package/dist/redux/badges/reducer.js +0 -12
- package/dist/redux/badges/reducer.js.map +0 -1
- package/dist/redux/classes/action.js +0 -3
- package/dist/redux/classes/action.js.map +0 -1
- package/dist/redux/classes/reducer.js +0 -13
- package/dist/redux/classes/reducer.js.map +0 -1
- package/dist/redux/commons/action.js +0 -4
- package/dist/redux/commons/action.js.map +0 -1
- package/dist/redux/commons/reducer.js +0 -19
- package/dist/redux/commons/reducer.js.map +0 -1
- package/dist/redux/emailTemplates/action.js +0 -3
- package/dist/redux/emailTemplates/action.js.map +0 -1
- package/dist/redux/emailTemplates/reducer.js +0 -13
- package/dist/redux/emailTemplates/reducer.js.map +0 -1
- package/dist/redux/faqs/action.js +0 -3
- package/dist/redux/faqs/action.js.map +0 -1
- package/dist/redux/faqs/reducer.js +0 -13
- package/dist/redux/faqs/reducer.js.map +0 -1
- package/dist/redux/learningStrategies/action.js +0 -3
- package/dist/redux/learningStrategies/action.js.map +0 -1
- package/dist/redux/learningStrategies/reducer.js +0 -13
- package/dist/redux/learningStrategies/reducer.js.map +0 -1
- package/dist/redux/questionBanks/action.js +0 -3
- package/dist/redux/questionBanks/action.js.map +0 -1
- package/dist/redux/questionBanks/reducer.js +0 -12
- package/dist/redux/questionBanks/reducer.js.map +0 -1
- package/dist/redux/skills/action.js +0 -3
- package/dist/redux/skills/action.js.map +0 -1
- package/dist/redux/skills/reducer.js +0 -13
- package/dist/redux/skills/reducer.js.map +0 -1
- package/dist/redux/subjects/action.js +0 -3
- package/dist/redux/subjects/action.js.map +0 -1
- package/dist/redux/subjects/reducer.js +0 -12
- package/dist/redux/subjects/reducer.js.map +0 -1
- package/dist/redux/suggestionBanks/action.js +0 -3
- package/dist/redux/suggestionBanks/action.js.map +0 -1
- package/dist/redux/suggestionBanks/reducer.js +0 -12
- package/dist/redux/suggestionBanks/reducer.js.map +0 -1
- package/dist/rootReducer.js +0 -25
- package/dist/rootReducer.js.map +0 -1
- package/dist/services/api.js +0 -29
- package/dist/services/api.js.map +0 -1
- package/dist/services/emailTemplateService.js +0 -13
- package/dist/services/emailTemplateService.js.map +0 -1
- package/dist/services/faqService.js +0 -9
- package/dist/services/faqService.js.map +0 -1
- package/dist/services/skillService.js +0 -9
- package/dist/services/skillService.js.map +0 -1
- package/dist/store.js +0 -9
- package/dist/store.js.map +0 -1
- package/dist/types/Filter.js +0 -2
- package/dist/types/Filter.js.map +0 -1
- package/dist/utils/constants.js +0 -55
- package/dist/utils/constants.js.map +0 -1
- package/dist/utils/encodeParams.js +0 -11
- package/dist/utils/encodeParams.js.map +0 -1
- package/dist/utils/generateRandomString.js +0 -2
- package/dist/utils/generateRandomString.js.map +0 -1
- package/dist/utils/getAccessToken.js +0 -10
- package/dist/utils/getAccessToken.js.map +0 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/index.js +0 -5
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/utcToLocalTime.js +0 -14
- package/dist/utils/utcToLocalTime.js.map +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/assets/Images.d.ts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
declare const Images: {
|
|
2
2
|
USER_CONVERSATION_AVATAR: string;
|
|
3
3
|
GROUP_CONVERSATION_AVATAR: string;
|
|
4
|
+
LOGO: string;
|
|
5
|
+
LOGO_HEADER: string;
|
|
6
|
+
LOGO_MINIMIZED: string;
|
|
7
|
+
DOCS_IMAGE: string;
|
|
8
|
+
AUDIO_IMAGE: string;
|
|
9
|
+
PHOTO_IMAGE: string;
|
|
10
|
+
VIDEO_IMAGE: string;
|
|
11
|
+
FOLDER_IMAGE: string;
|
|
12
|
+
UNKNOW_IMAGE: string;
|
|
4
13
|
};
|
|
5
14
|
export default Images;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
fileName?: string;
|
|
4
|
+
maxWidth?: string;
|
|
5
|
+
maxHeight?: string;
|
|
6
|
+
setFile: any;
|
|
7
|
+
onAddImage?: any;
|
|
8
|
+
canDelete?: boolean;
|
|
9
|
+
onDelete?: () => void;
|
|
10
|
+
isCheckFeedBack?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const UploadFileButton: FC<Props>;
|
|
13
|
+
export default UploadFileButton;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
text: string;
|
|
4
|
+
onClick: () => void;
|
|
5
|
+
initValue: string;
|
|
6
|
+
onSearch: (searchString?: string) => void;
|
|
7
|
+
placeholder: string;
|
|
8
|
+
}
|
|
9
|
+
declare const SearchBoxContainer: FC<Props>;
|
|
10
|
+
export default SearchBoxContainer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
declare const editorConfig: {
|
|
2
|
+
email: any;
|
|
3
|
+
question: any;
|
|
4
|
+
answer: any;
|
|
5
|
+
tutorial: any;
|
|
6
6
|
};
|
|
7
|
-
export default
|
|
7
|
+
export default editorConfig;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import * as yup from "yup";
|
|
2
2
|
declare const schema: import("yup/lib/object").OptionalObjectSchema<{
|
|
3
3
|
subject: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
4
|
+
categoryId: import("yup/lib/number").RequiredNumberSchema<number | undefined, Record<string, any>>;
|
|
4
5
|
comment: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
5
6
|
body: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
6
7
|
}, Record<string, any>, import("yup/lib/object").TypeOfShape<{
|
|
7
8
|
subject: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
9
|
+
categoryId: import("yup/lib/number").RequiredNumberSchema<number | undefined, Record<string, any>>;
|
|
8
10
|
comment: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
9
11
|
body: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
10
12
|
}>>;
|
|
@@ -1,15 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type Attachment = {
|
|
3
|
+
id?: number;
|
|
4
|
+
name: string;
|
|
5
|
+
key: string;
|
|
6
|
+
};
|
|
1
7
|
declare type EmailTemplateDetail = {
|
|
2
8
|
id?: number;
|
|
3
9
|
subject: string;
|
|
4
10
|
categoryId: number;
|
|
5
|
-
comment: string;
|
|
6
11
|
body: string;
|
|
12
|
+
attachments: Attachment[];
|
|
7
13
|
};
|
|
8
14
|
declare const useEmailTemplateDetail: (id?: number | undefined) => {
|
|
9
15
|
emailTemplateDetail: EmailTemplateDetail;
|
|
10
16
|
setEditorRef: (node: any) => any;
|
|
11
|
-
addParams: (
|
|
17
|
+
addParams: (params: any) => void;
|
|
12
18
|
backToList: () => void;
|
|
13
19
|
confirmData: (data: any) => Promise<void>;
|
|
20
|
+
edited: boolean;
|
|
21
|
+
setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
22
|
+
setEditedTrue: () => Promise<void>;
|
|
23
|
+
onAttachFile: () => void;
|
|
24
|
+
updateAttachment: () => void;
|
|
25
|
+
fileUpload: any;
|
|
26
|
+
removeAttachment: (inputId: string, fileName: string) => void;
|
|
14
27
|
};
|
|
15
28
|
export default useEmailTemplateDetail;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { Filter } from "../../../types/Filter";
|
|
2
1
|
declare const useEmailTemplateList: () => {
|
|
3
2
|
emailTemplateList: any;
|
|
4
|
-
|
|
3
|
+
totalItems: any;
|
|
4
|
+
filters: import("../../..").Filter;
|
|
5
5
|
changeFilters: (updatedFilters: any) => void;
|
|
6
6
|
getData: () => Promise<void>;
|
|
7
7
|
removeData: (id: number) => void;
|
|
8
8
|
goToDetail: (id?: number | undefined) => void;
|
|
9
|
+
mailCategoryList: any;
|
|
9
10
|
};
|
|
10
11
|
export default useEmailTemplateList;
|
|
@@ -9,5 +9,10 @@ declare const useFaqDetail: () => {
|
|
|
9
9
|
faqDetail: FaqDetail;
|
|
10
10
|
confirmData: (values: any, cb: any) => Promise<void>;
|
|
11
11
|
initValue: FaqDetail;
|
|
12
|
+
reset: () => void;
|
|
13
|
+
edited: boolean;
|
|
14
|
+
setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
15
|
+
setEditedTrue: () => Promise<void>;
|
|
16
|
+
setEditedFalse: () => Promise<void>;
|
|
12
17
|
};
|
|
13
18
|
export default useFaqDetail;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Filter } from "../../../types/Filter";
|
|
2
1
|
declare const useFaqList: () => {
|
|
3
2
|
faqList: any;
|
|
4
|
-
|
|
3
|
+
totalItems: any;
|
|
4
|
+
filters: import("../../..").Filter;
|
|
5
5
|
changeFilters: (updatedFilters: any) => void;
|
|
6
6
|
getData: () => Promise<void>;
|
|
7
7
|
removeData: (id: number) => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { FilterType } from "../constants/gallery.types";
|
|
3
|
+
interface FilterInterface {
|
|
4
|
+
changeFilters: (filter: FilterType) => void;
|
|
5
|
+
filters: FilterType;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const Filter: FC<FilterInterface>;
|
|
9
|
+
export default Filter;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { S3Object } from '../constants/gallery.types';
|
|
3
|
+
interface MediaInterface {
|
|
4
|
+
media: S3Object;
|
|
5
|
+
isTarget: boolean;
|
|
6
|
+
className?: String;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: React.NamedExoticComponent<MediaInterface>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { S3Object } from "../constants/gallery.types";
|
|
3
|
+
interface MediaNavInterface {
|
|
4
|
+
isLibrary?: boolean;
|
|
5
|
+
step: number;
|
|
6
|
+
breadcumb: string;
|
|
7
|
+
currentPrefix: string;
|
|
8
|
+
targetMedia: S3Object;
|
|
9
|
+
handleSelectFile: Function;
|
|
10
|
+
handleCreateFolder: Function;
|
|
11
|
+
handleRenameFile: Function;
|
|
12
|
+
handleGoBack: () => void;
|
|
13
|
+
handleDownloadMedia: () => void;
|
|
14
|
+
handleDeleteMediaOrFolder: () => void;
|
|
15
|
+
showErrorAlert: (message: string) => void;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
declare const _default: React.NamedExoticComponent<MediaNavInterface>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare type S3Object = {
|
|
2
|
+
name?: string;
|
|
3
|
+
key?: string;
|
|
4
|
+
extension?: string;
|
|
5
|
+
isFolder?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare enum MediaType {
|
|
8
|
+
IMAGE = 0,
|
|
9
|
+
VIDEO = 1,
|
|
10
|
+
AUDIO = 2,
|
|
11
|
+
DOC = 3,
|
|
12
|
+
UNKNOW = 4
|
|
13
|
+
}
|
|
14
|
+
export declare type FilterType = {
|
|
15
|
+
searchString?: string;
|
|
16
|
+
types?: MediaType[];
|
|
17
|
+
prefix?: string;
|
|
18
|
+
fromDate?: number;
|
|
19
|
+
toDate?: number;
|
|
20
|
+
isLibrary?: boolean;
|
|
21
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { MediaType, S3Object } from '../constants/gallery.types';
|
|
2
|
+
export declare const getTypeByExtension: (extension: string | undefined) => MediaType;
|
|
3
|
+
export declare const getMediaThumbnail: (media: S3Object) => string;
|
|
4
|
+
export declare const getMediaImage: (media: S3Object) => string;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FilterType } from "../constants/gallery.types";
|
|
3
|
+
import { S3Object } from "../constants/gallery.types";
|
|
4
|
+
interface FormDataMediaType {
|
|
5
|
+
file: File;
|
|
6
|
+
key?: string;
|
|
7
|
+
}
|
|
8
|
+
interface RouterType {
|
|
9
|
+
link: string;
|
|
10
|
+
step: number;
|
|
11
|
+
}
|
|
12
|
+
declare const useGalleryList: (isLibrary?: boolean) => {
|
|
13
|
+
mediaList: any;
|
|
14
|
+
filters: FilterType;
|
|
15
|
+
totalItems: any;
|
|
16
|
+
targetMedia: S3Object;
|
|
17
|
+
router: RouterType;
|
|
18
|
+
breadcrumb: string;
|
|
19
|
+
getData: () => Promise<void>;
|
|
20
|
+
changeFilters: (updatedFilters: FilterType) => void;
|
|
21
|
+
handleSelectFile: import("react").Dispatch<import("react").SetStateAction<FormDataMediaType | undefined>>;
|
|
22
|
+
handleOpenFolder: (media: S3Object) => void;
|
|
23
|
+
handleSelectMedia: (media: S3Object) => void;
|
|
24
|
+
handleRenameFile: (name: string) => Promise<void>;
|
|
25
|
+
handleDownloadMedia: () => void;
|
|
26
|
+
handleDeleteMediaOrFolder: () => Promise<void>;
|
|
27
|
+
handleCreateFolder: (prefix: string, folderName: string) => Promise<void>;
|
|
28
|
+
handleGoBack: () => void;
|
|
29
|
+
showErrorAlert: (message: string) => void;
|
|
30
|
+
};
|
|
31
|
+
export default useGalleryList;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { LogLevel } from "@azure/msal-browser";
|
|
2
|
+
/**
|
|
3
|
+
* Configuration object to be passed to MSAL instance on creation.
|
|
4
|
+
* For a full list of MSAL.js configuration parameters, visit:
|
|
5
|
+
* https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/configuration.md
|
|
6
|
+
*/
|
|
7
|
+
export declare const msalConfig: {
|
|
8
|
+
auth: {
|
|
9
|
+
clientId: string;
|
|
10
|
+
authority: string;
|
|
11
|
+
redirectUri: string;
|
|
12
|
+
};
|
|
13
|
+
cache: {
|
|
14
|
+
cacheLocation: string;
|
|
15
|
+
storeAuthStateInCookie: boolean;
|
|
16
|
+
};
|
|
17
|
+
system: {
|
|
18
|
+
loggerOptions: {
|
|
19
|
+
loggerCallback: (level: LogLevel, message: string, containsPii: any) => void;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Scopes you add here will be prompted for user consent during sign-in.
|
|
25
|
+
* By default, MSAL.js will add OIDC scopes (openid, profile, email) to any login request.
|
|
26
|
+
* For more information about OIDC scopes, visit:
|
|
27
|
+
* https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent#openid-connect-scopes
|
|
28
|
+
*/
|
|
29
|
+
export declare const loginRequest: {
|
|
30
|
+
scopes: string[];
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Add here the scopes to request when obtaining an access token for MS Graph API. For more information, see:
|
|
34
|
+
* https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/resources-and-scopes.md
|
|
35
|
+
*/
|
|
36
|
+
export declare const graphConfig: {
|
|
37
|
+
graphMeEndpoint: string;
|
|
38
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare enum TypeLogin {
|
|
2
|
+
Google = 0,
|
|
3
|
+
ClassLink = 1,
|
|
4
|
+
MicrosoftSSO = 2
|
|
5
|
+
}
|
|
6
|
+
export interface IInformationUser {
|
|
7
|
+
firstName: string;
|
|
8
|
+
lastName: string;
|
|
9
|
+
fullName: string;
|
|
10
|
+
imageUrl: string | null;
|
|
11
|
+
email: string;
|
|
12
|
+
accessToken: string;
|
|
13
|
+
googleId: string;
|
|
14
|
+
}
|
|
15
|
+
export declare enum LoginType {
|
|
16
|
+
Default = 0,
|
|
17
|
+
Google = 1,
|
|
18
|
+
Impersonate = 2
|
|
19
|
+
}
|
|
20
|
+
export interface ISchool {
|
|
21
|
+
schoolName: string;
|
|
22
|
+
schoolLogo: string;
|
|
23
|
+
schoolId: number;
|
|
24
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type ForgotPasswordInfo = {
|
|
3
|
+
email: string;
|
|
4
|
+
captcha: string;
|
|
5
|
+
};
|
|
6
|
+
declare const useForgotPassword: () => {
|
|
7
|
+
defaultInfo: ForgotPasswordInfo;
|
|
8
|
+
forgotPasswordRequest: (data: any) => Promise<void>;
|
|
9
|
+
checkResetTokenRequest: (token: string) => Promise<void>;
|
|
10
|
+
validLink: boolean;
|
|
11
|
+
resetPasswordRequest: (data: any) => Promise<void>;
|
|
12
|
+
openLogin: boolean;
|
|
13
|
+
toggle: () => void;
|
|
14
|
+
isShowNewPassword: boolean;
|
|
15
|
+
setIsShowNewPassword: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
16
|
+
isShowReTypePassword: boolean;
|
|
17
|
+
setIsShowReTypePassword: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
18
|
+
clickHandler: () => Promise<any>;
|
|
19
|
+
handleVerify: () => void;
|
|
20
|
+
};
|
|
21
|
+
export default useForgotPassword;
|
|
@@ -1,9 +1,29 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ISchool, TypeLogin } from "../constant/types";
|
|
1
3
|
declare type LoginInfo = {
|
|
2
4
|
email: string;
|
|
3
5
|
password: string;
|
|
6
|
+
captcha: string;
|
|
7
|
+
rememberMe: boolean;
|
|
8
|
+
isSessionUserBrowser?: boolean;
|
|
4
9
|
};
|
|
5
10
|
declare const useLogin: () => {
|
|
6
11
|
defaultInfo: LoginInfo;
|
|
7
12
|
userLogin: (data: any) => Promise<void>;
|
|
13
|
+
openLogin: boolean;
|
|
14
|
+
toggle: () => void;
|
|
15
|
+
isShowPassword: boolean;
|
|
16
|
+
setIsShowPassword: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
17
|
+
fnIsCheckLogin: (type: TypeLogin, data: any, token: string, clickHandler: any) => Promise<void>;
|
|
18
|
+
isLoginGoogle: boolean;
|
|
19
|
+
infoUser: any;
|
|
20
|
+
setInfoUser: import("react").Dispatch<any>;
|
|
21
|
+
submitLogin: (teacherId: number, clickHandler: any) => Promise<void>;
|
|
22
|
+
setIsLoginGoogle: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
23
|
+
googleClientId: string;
|
|
24
|
+
googleRecaptchaId: string;
|
|
25
|
+
school: ISchool;
|
|
26
|
+
fnLoginSSO: (clickHandler?: any) => Promise<void>;
|
|
27
|
+
handleLoginWidthClever: () => void;
|
|
8
28
|
};
|
|
9
29
|
export default useLogin;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
interface loginProps {
|
|
3
|
+
isLogin?: boolean;
|
|
4
|
+
isForgotPassword?: boolean;
|
|
5
|
+
isResetPassword?: boolean;
|
|
6
|
+
isLoginTwoFactor?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const Login: (props: loginProps) => JSX.Element;
|
|
3
9
|
export default Login;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
defaultValue?: any;
|
|
4
|
+
isDisabled?: boolean;
|
|
5
|
+
openModal: boolean;
|
|
6
|
+
onSubmit: any;
|
|
7
|
+
token: string;
|
|
8
|
+
email: string;
|
|
9
|
+
setOpenModal: any;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: React.ForwardRefExoticComponent<Props & React.RefAttributes<unknown>>;
|
|
12
|
+
export default _default;
|