mario-core 2.0.2 → 2.0.3-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/Dashboard-C8i4BvyG.js +1 -0
- package/dist/Dashboard-CZW-qGyN.mjs +206 -0
- package/dist/EmailTemplateDetail-CITCgbC8.mjs +417 -0
- package/dist/EmailTemplateDetail-mdYeUDJg.js +1 -0
- package/dist/EmailTemplateList-BV-QOv5K.mjs +168 -0
- package/dist/EmailTemplateList-Dgf0hucr.js +1 -0
- package/dist/GalleryList-BYwvWx1S.js +1 -0
- package/dist/GalleryList-JJbcEbTi.mjs +329 -0
- package/dist/Login-BWsVc8Np.mjs +1384 -0
- package/dist/Login-SxZya_gO.js +1 -0
- package/dist/NotificationList-BDtxAveg.js +2 -0
- package/dist/NotificationList-BFTZrMUI.mjs +3878 -0
- package/dist/SchoolList-CClJ_UPT.js +1 -0
- package/dist/SchoolList-JmrmL2zE.mjs +5 -0
- package/dist/SkillList-B8uw4QZF.mjs +386 -0
- package/dist/SkillList-D_tQAQqL.js +1 -0
- package/dist/TeacherSelector-BKSay316.mjs +30 -0
- package/dist/TeacherSelector-DXv_vBJI.js +1 -0
- package/dist/TheContent-CDVWxnOm.js +1 -0
- package/dist/TheContent-mTUR10lr.mjs +28 -0
- package/dist/UserContainer-CilrSMeD.mjs +2771 -0
- package/dist/UserContainer-DuoEITq2.js +5 -0
- package/dist/UserDetail-GaRReB9G.mjs +902 -0
- package/dist/UserDetail-qXX-264Q.js +1 -0
- package/dist/UserList-7gE8aU_I.js +5 -0
- package/dist/UserList-B7sk8bc6.mjs +1162 -0
- 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/Alerts/SandboxAlert.d.ts +3 -0
- package/dist/components/Buttons/AddButton.d.ts +7 -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 +7 -6
- package/dist/components/Buttons/DetailActionButtons.d.ts +8 -8
- package/dist/components/Buttons/EditButtonIcon.d.ts +7 -6
- package/dist/components/Buttons/LinkEditButton.d.ts +7 -7
- package/dist/components/Buttons/LoginNavButton.d.ts +8 -8
- package/dist/components/Buttons/SyncButton.d.ts +8 -0
- 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 +9 -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 -0
- package/dist/components/Selectors/AcademicClassSelector.d.ts +2 -3
- package/dist/components/Selectors/CategorySelector.d.ts +2 -0
- 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/Selectors/constants/constant.d.ts +10 -0
- package/dist/components/Selectors/hooks/useCategorySelector.d.ts +5 -0
- package/dist/components/Tabs/CustomTab.d.ts +2 -3
- package/dist/components/Tabs/TabsWithComponent.d.ts +10 -0
- package/dist/configs/editorConfig.d.ts +7 -7
- package/dist/constants-CGewtxeZ.mjs +320 -0
- package/dist/constants-CNvNsffe.js +1 -0
- 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 +7 -7
- package/dist/containers/EmailTemplate/components/MailParam.d.ts +7 -7
- package/dist/containers/EmailTemplate/configs/emailTemplateSchema.d.ts +13 -13
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateDetail.d.ts +28 -28
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateList.d.ts +11 -12
- package/dist/containers/EmailTemplate/views/EmailTemplateDetail.d.ts +3 -3
- package/dist/containers/EmailTemplate/views/EmailTemplateList.d.ts +3 -3
- package/dist/containers/Gallery/components/ActionModal.d.ts +2 -3
- package/dist/containers/Gallery/components/Filter.d.ts +8 -8
- package/dist/containers/Gallery/components/Media.d.ts +7 -8
- package/dist/containers/Gallery/components/MediaDetail.d.ts +6 -7
- package/dist/containers/Gallery/components/MediaList.d.ts +7 -7
- package/dist/containers/Gallery/components/MediaNav.d.ts +17 -18
- package/dist/containers/Gallery/constants/gallery.types.d.ts +21 -20
- 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/constant/authConfig.d.ts +38 -0
- package/dist/containers/Login/constant/types.d.ts +34 -0
- package/dist/containers/Login/hooks/useCreatePassword.d.ts +12 -0
- package/dist/containers/Login/hooks/useForgotPassword.d.ts +22 -21
- package/dist/containers/Login/hooks/useLogin.d.ts +29 -16
- 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 +9 -9
- package/dist/containers/Login/views/block/BlockBackground.d.ts +7 -0
- package/dist/containers/Login/views/block/BlockCreatePassword.d.ts +2 -0
- package/dist/containers/Login/views/block/BlockForgetPassword.d.ts +6 -3
- package/dist/containers/Login/views/block/BlockLogin.d.ts +21 -7
- package/dist/containers/Login/views/block/BlockResetPassword.d.ts +2 -3
- package/dist/containers/Login/views/block/BlockSelectTeacher.d.ts +10 -0
- 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 -7
- 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 -14
- 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 +9 -10
- package/dist/containers/Skill/views/SkillList.d.ts +3 -3
- package/dist/containers/User/components/AssignStudentModal.d.ts +20 -0
- package/dist/containers/User/components/DeleteBulkModel copy.d.ts +4 -0
- package/dist/containers/User/components/DeleteBulkModel.d.ts +3 -0
- package/dist/containers/User/components/FilterPopover.d.ts +21 -0
- package/dist/containers/User/components/HeaderCell.d.ts +19 -0
- package/dist/containers/User/components/RemoveAssistant.d.ts +3 -0
- package/dist/containers/User/components/RemoveCounselor.d.ts +3 -0
- package/dist/containers/User/components/RemoveSupportTeacher.d.ts +3 -0
- package/dist/containers/User/components/RemoveTeacher.d.ts +3 -0
- package/dist/containers/User/components/SwitchDataTeacherModel.d.ts +12 -0
- package/dist/containers/User/components/SwitchTeacherModal.d.ts +2 -0
- package/dist/containers/User/components/TableHeader.d.ts +15 -0
- package/dist/containers/User/components/TeacherSelector.d.ts +2 -0
- package/dist/containers/User/components/UploadCSVButton.d.ts +11 -0
- package/dist/containers/User/components/UserDeletedModal.d.ts +2 -0
- package/dist/containers/User/configs/changePasswordSchema.d.ts +11 -0
- package/dist/containers/User/configs/userSchema.d.ts +13 -15
- package/dist/containers/User/configs/utils.d.ts +8 -0
- package/dist/containers/User/constants/constants.d.ts +63 -0
- package/dist/containers/User/constants/types.d.ts +265 -0
- package/dist/containers/User/hooks/useAssignStudent.d.ts +44 -0
- package/dist/containers/User/hooks/useAssignStudentList.d.ts +36 -0
- package/dist/containers/User/hooks/useAssistantList.d.ts +9 -0
- package/dist/containers/User/hooks/useCSVImport.d.ts +37 -0
- package/dist/containers/User/hooks/useCSVImportTab.d.ts +45 -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/useExportUsersCsv.d.ts +5 -0
- package/dist/containers/User/hooks/useFilterPopover.d.ts +37 -0
- package/dist/containers/User/hooks/useResendMail.d.ts +5 -0
- package/dist/containers/User/hooks/useRosterUserSelector.d.ts +8 -0
- package/dist/containers/User/hooks/useSecondaryTeacherList.d.ts +9 -0
- package/dist/containers/User/hooks/useTableHeader.d.ts +20 -0
- package/dist/containers/User/hooks/useTeacherList.d.ts +9 -0
- package/dist/containers/User/hooks/useUserDeletedList.d.ts +21 -0
- package/dist/containers/User/hooks/useUserDeletedModal.d.ts +13 -0
- package/dist/containers/User/hooks/useUserDetail.d.ts +41 -22
- package/dist/containers/User/hooks/useUserList.d.ts +18 -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/CSVImport.d.ts +3 -0
- package/dist/containers/User/views/RosterUserSelector.d.ts +8 -0
- package/dist/containers/User/views/UserContainer.d.ts +2 -0
- package/dist/containers/User/views/UserDeletedList.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/useFilters.d.ts +7 -0
- package/dist/hooks/useLanguages.d.ts +9 -0
- package/dist/i18n.d.ts +2 -0
- package/dist/index-B4U_4-fu.js +15 -0
- package/dist/index-CFvswiRi.mjs +17591 -0
- package/dist/index.css +1037 -296
- package/dist/index.d.ts +114 -101
- package/dist/index.esm-B63qcj54.js +1 -0
- package/dist/index.esm-D6Zacg53.mjs +19 -0
- package/dist/index.js +24 -7493
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +28540 -6956
- package/dist/index.modern.js.map +1 -1
- package/dist/layouts/TheContent.d.ts +2 -3
- package/dist/mailCategoryService-CEgGm2FV.js +1 -0
- package/dist/mailCategoryService-Dis1n9kR.mjs +11 -0
- package/dist/mario-core.css +1 -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 +23 -8
- 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 -4
- 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 -0
- package/dist/redux/navMobile/reducer.d.ts +4 -0
- 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 -4
- 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/weeklyQuests/action.d.ts +2 -0
- package/dist/redux/weeklyQuests/reducer.d.ts +12 -0
- package/dist/redux/widget/action.d.ts +1 -1
- package/dist/redux/widget/reducer.d.ts +4 -2
- package/dist/rootReducer.d.ts +106 -48
- package/dist/services/accountService.d.ts +22 -8
- package/dist/services/api.d.ts +3 -3
- package/dist/services/classService.d.ts +1 -1
- package/dist/services/csvImportService.d.ts +9 -0
- package/dist/services/csvService.d.ts +8 -0
- package/dist/services/emailTemplateService.d.ts +7 -6
- package/dist/services/fileServices.d.ts +13 -13
- package/dist/services/galleryService.d.ts +2 -2
- package/dist/services/mailCategoryService.d.ts +1 -1
- package/dist/services/notificationService.d.ts +7 -6
- package/dist/services/questionCategoryService.d.ts +3 -1
- package/dist/services/schoolService.d.ts +2 -0
- package/dist/services/skillService.d.ts +6 -6
- package/dist/services/suggestionCategoryService.d.ts +1 -1
- package/dist/services/userService.d.ts +37 -7
- 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 +16 -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/types/Payload.d.ts +17 -0
- package/dist/types/user.d.ts +3 -0
- package/dist/types-BvnbDeJF.mjs +5 -0
- package/dist/types-CTFcZUFS.js +1 -0
- package/dist/utils/canAccessRoute.d.ts +2 -2
- package/dist/utils/constants.d.ts +87 -57
- 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 +1 -2
- package/package.json +79 -63
- package/dist/components/Alerts/ReactNotification.d.ts +0 -4
- package/dist/containers/Faq/components/FaqDetailModal.d.ts +0 -3
- package/dist/containers/Faq/hooks/useFaqDetail.d.ts +0 -18
- package/dist/containers/Faq/hooks/useFaqList.d.ts +0 -10
- package/dist/containers/Faq/views/FaqList.d.ts +0 -3
- 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/TheLayout.d.ts +0 -3
- package/dist/layouts/TheSidebar.d.ts +0 -3
- package/dist/services/faqService.d.ts +0 -6
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
import { aj as p, i as a, B as n, ak as i } from "./index-CFvswiRi.mjs";
|
|
2
|
+
function m(e, l) {
|
|
3
|
+
if (l.length < e)
|
|
4
|
+
throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + l.length + " present");
|
|
5
|
+
}
|
|
6
|
+
function R(e) {
|
|
7
|
+
m(1, arguments);
|
|
8
|
+
var l = Object.prototype.toString.call(e);
|
|
9
|
+
return e instanceof Date || p(e) === "object" && l === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || l === "[object Number]" ? new Date(e) : ((typeof e == "string" || l === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
|
|
10
|
+
}
|
|
11
|
+
const s = `${n}/api/user`, v = `${n}/api/Account/changePassword`, c = `${n}/api/account`, o = `${n}/api/User`, g = `${n}/api/usersOneRoster`, u = `${n}/api/mappingRosterUsers`, h = (e) => a.get(`${u}`, { params: e }), A = (e) => a.get(`${u}/filters`, { params: e }), $ = (e) => a.get(`${o}/student-filters`, { params: e }), E = (e) => a.get(`${o}/export-csv`, { params: e }), S = (e) => a.get(`${s}/detail-user/${e}`), I = (e) => a.post(`${s}`, e), N = (e) => a.put(`${s}/${e.id}`, e), C = (e) => a.put(`${s}/update-status-all`, e), T = (e) => a.delete(`${o}/delete-item-user/${e}`), _ = (e) => a.post(v, e), U = (e) => a.post(`${c}/forgotchangepassword`, e), w = (e) => a.post(`${o}/switch-user/${e}`), D = (e) => a.get(`${g}`, {
|
|
12
|
+
params: e
|
|
13
|
+
}), G = (e) => a.get(`${g}/${e}`), y = () => a.put(`${o}/sync-roster-user`), L = (e) => a.post(`${c}/reset-password-for-admin`, e), P = (e) => a.get(`${o}/student-assign`, {
|
|
14
|
+
params: e
|
|
15
|
+
}), F = () => a.get(`${n}/api/counselor`), k = () => a.get(`${n}/api/assistant`), j = () => a.get(`${n}/api/secondaryTeacher`), K = (e) => a.get(`${s}/all/teacher`, {
|
|
16
|
+
params: e
|
|
17
|
+
}), M = (e) => a.post(`${s}/student-assign`, e), x = (e) => a.get(`${n}/api/user/check-role-data/${e}`), z = (e, l) => a.post(`${o}/change-grade-for-student`, { studentUserId: e, gradeLevel: l }), q = (e) => a.put(`${s}/change-multi-teachers`, e), H = (e) => a.put(`${s}/change-multi-counselors`, e), V = (e) => a.put(`${s}/change-assistants`, e), W = (e) => a.put(`${s}/change-secondary-teachers`, e), X = (e, l) => a.put(`${s}/update-user-grade/${e}`, { gradeLevel: l }), J = (e) => a.get(`${u}/all-userId`, { params: e }), Q = (e) => a.post(`${c}/re-send-welcome-mail`, e), Z = (e) => a.post(`${o}/remove-bulk-staff`, e);
|
|
18
|
+
var t = /* @__PURE__ */ ((e) => (e[e.Id = 0] = "Id", e[e.Name = 1] = "Name", e[e.Email = 2] = "Email", e[e.Age = 3] = "Age", e[e.Role = 4] = "Role", e[e.Status = 5] = "Status", e[e.CreatedAt = 6] = "CreatedAt", e[e.RosterUser = 7] = "RosterUser", e[e.Grade = 8] = "Grade", e[e.Teacher = 9] = "Teacher", e[e.Assistant = 10] = "Assistant", e[e.Counselor = 11] = "Counselor", e[e.SecondaryTeacher = 12] = "SecondaryTeacher", e))(t || {}), r = /* @__PURE__ */ ((e) => (e[e.Id = 0] = "Id", e[e.Name = 1] = "Name", e[e.Email = 2] = "Email", e[e.Role = 3] = "Role", e[e.RosterUser = 4] = "RosterUser", e[e.Status = 5] = "Status", e[e.Grade = 6] = "Grade", e[e.Teacher = 7] = "Teacher", e[e.Assistant = 8] = "Assistant", e[e.Counselor = 9] = "Counselor", e[e.SecondaryTeacher = 10] = "SecondaryTeacher", e))(r || {}), f = /* @__PURE__ */ ((e) => (e[e.Teacher = 0] = "Teacher", e[e.Assistant = 1] = "Assistant", e[e.Counselor = 2] = "Counselor", e[e.SecondaryTeacher = 3] = "SecondaryTeacher", e))(f || {});
|
|
19
|
+
const B = {
|
|
20
|
+
[t.Id]: "filter-id",
|
|
21
|
+
[t.Name]: "filter-name",
|
|
22
|
+
[t.Email]: "filter-email",
|
|
23
|
+
[t.Age]: "filter-age",
|
|
24
|
+
[t.Role]: "filter-role",
|
|
25
|
+
[t.Status]: "filter-status",
|
|
26
|
+
[t.CreatedAt]: "filter-createdAt",
|
|
27
|
+
[t.RosterUser]: "filter-roster",
|
|
28
|
+
[t.Grade]: "filter-grade",
|
|
29
|
+
[t.Teacher]: "filter-teacher",
|
|
30
|
+
[t.Assistant]: "filter-assistant",
|
|
31
|
+
[t.Counselor]: "filter-counselor",
|
|
32
|
+
[t.SecondaryTeacher]: "filter-secondary"
|
|
33
|
+
}, Y = [
|
|
34
|
+
{
|
|
35
|
+
name: "name",
|
|
36
|
+
isCenter: !0,
|
|
37
|
+
sortBy: t.Name,
|
|
38
|
+
searchBy: r.Name,
|
|
39
|
+
className: "align-top",
|
|
40
|
+
getOption: (e) => ({
|
|
41
|
+
label: e || "empty",
|
|
42
|
+
value: e
|
|
43
|
+
})
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: "email",
|
|
47
|
+
isCenter: !0,
|
|
48
|
+
sortBy: t.Email,
|
|
49
|
+
searchBy: r.Email,
|
|
50
|
+
className: "align-top",
|
|
51
|
+
getOption: (e) => ({
|
|
52
|
+
label: e || "empty",
|
|
53
|
+
value: e
|
|
54
|
+
})
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: "age",
|
|
58
|
+
isCenter: !0,
|
|
59
|
+
sortBy: t.Age,
|
|
60
|
+
className: "align-top"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: "role",
|
|
64
|
+
isCenter: !0,
|
|
65
|
+
sortBy: t.Role,
|
|
66
|
+
searchBy: r.Role,
|
|
67
|
+
className: "align-top",
|
|
68
|
+
getOption: (e) => ({
|
|
69
|
+
label: e ? e?.replace?.("SecondaryTeacher", "SupportTeacher") : "empty",
|
|
70
|
+
value: e
|
|
71
|
+
})
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: "active_status",
|
|
75
|
+
isCenter: !0,
|
|
76
|
+
sortBy: t.Status,
|
|
77
|
+
searchBy: r.Status,
|
|
78
|
+
className: "align-top",
|
|
79
|
+
options: [
|
|
80
|
+
{
|
|
81
|
+
label: "Active",
|
|
82
|
+
value: "true"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
label: "Inactive",
|
|
86
|
+
value: "false"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: "created_time",
|
|
92
|
+
isCenter: !0,
|
|
93
|
+
sortBy: t.CreatedAt,
|
|
94
|
+
className: "align-top"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
name: "information_roster_sourced_id_full_name_email",
|
|
98
|
+
isCenter: !0,
|
|
99
|
+
sortBy: t.RosterUser,
|
|
100
|
+
searchBy: r.RosterUser,
|
|
101
|
+
className: "align-top",
|
|
102
|
+
getOption: (e) => ({
|
|
103
|
+
label: e || "empty",
|
|
104
|
+
value: e
|
|
105
|
+
})
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
name: "impersonate",
|
|
109
|
+
isCenter: !0,
|
|
110
|
+
className: "align-top"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: "delete",
|
|
114
|
+
isCenter: !0,
|
|
115
|
+
className: "align-top"
|
|
116
|
+
}
|
|
117
|
+
], d = {
|
|
118
|
+
value: 10
|
|
119
|
+
}, O = {
|
|
120
|
+
searchString: "",
|
|
121
|
+
currentPage: 1,
|
|
122
|
+
pageSize: d.value
|
|
123
|
+
}, ee = {
|
|
124
|
+
searchString: "",
|
|
125
|
+
currentPage: 1,
|
|
126
|
+
pageSize: d.value
|
|
127
|
+
}, ae = {
|
|
128
|
+
currentPage: 1,
|
|
129
|
+
pageSize: 200
|
|
130
|
+
}, te = "data:text/csv;charset=utf-8,", se = {
|
|
131
|
+
assistantId: "",
|
|
132
|
+
counselors: [],
|
|
133
|
+
secondaryTeacherId: "",
|
|
134
|
+
teacher: [],
|
|
135
|
+
assistantEmail: "",
|
|
136
|
+
secondaryTeacherEmail: ""
|
|
137
|
+
}, le = {
|
|
138
|
+
studentId: 0,
|
|
139
|
+
id: "",
|
|
140
|
+
email: "",
|
|
141
|
+
fullName: "",
|
|
142
|
+
gradeLevel: "",
|
|
143
|
+
phoneNumber: "",
|
|
144
|
+
isActive: !0,
|
|
145
|
+
dateOfBirth: "",
|
|
146
|
+
profileImageFileName: "",
|
|
147
|
+
quote: "",
|
|
148
|
+
assistantName: "",
|
|
149
|
+
assistantEmail: "",
|
|
150
|
+
assistantUserId: "",
|
|
151
|
+
counselors: [],
|
|
152
|
+
secondaryTeacherName: "",
|
|
153
|
+
secondaryTeacherEmail: "",
|
|
154
|
+
secondaryTeacherUserId: "",
|
|
155
|
+
teachers: []
|
|
156
|
+
}, ne = [
|
|
157
|
+
{ label: "K", value: "K" },
|
|
158
|
+
{ label: "G", value: "G" },
|
|
159
|
+
{ label: "1", value: "1" },
|
|
160
|
+
{ label: "2", value: "2" },
|
|
161
|
+
{ label: "3", value: "3" },
|
|
162
|
+
{ label: "4", value: "4" },
|
|
163
|
+
{ label: "5", value: "5" },
|
|
164
|
+
{ label: "6", value: "6" },
|
|
165
|
+
{ label: "7", value: "7" },
|
|
166
|
+
{ label: "8", value: "8" },
|
|
167
|
+
{ label: "9", value: "9" },
|
|
168
|
+
{ label: "10", value: "10" },
|
|
169
|
+
{ label: "11", value: "11" },
|
|
170
|
+
{ label: "12", value: "12" },
|
|
171
|
+
...i ? [{ label: "12/13", value: "12/13" }] : [],
|
|
172
|
+
{ label: "13", value: "13" }
|
|
173
|
+
], oe = [
|
|
174
|
+
"K",
|
|
175
|
+
"G",
|
|
176
|
+
"1",
|
|
177
|
+
"2",
|
|
178
|
+
"3",
|
|
179
|
+
"4",
|
|
180
|
+
"5",
|
|
181
|
+
"6",
|
|
182
|
+
"7",
|
|
183
|
+
"8",
|
|
184
|
+
"9",
|
|
185
|
+
"10",
|
|
186
|
+
"11",
|
|
187
|
+
"12",
|
|
188
|
+
...i ? ["12/13"] : [],
|
|
189
|
+
"13"
|
|
190
|
+
], re = [
|
|
191
|
+
{
|
|
192
|
+
label: "K",
|
|
193
|
+
value: "K"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
label: "G",
|
|
197
|
+
value: "G"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
label: "1",
|
|
201
|
+
value: "1"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
label: "2",
|
|
205
|
+
value: "2"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
label: "3",
|
|
209
|
+
value: "3"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
label: "4",
|
|
213
|
+
value: "4"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
label: "5",
|
|
217
|
+
value: "5"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
label: "6",
|
|
221
|
+
value: "6"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
label: "7",
|
|
225
|
+
value: "7"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
label: "8",
|
|
229
|
+
value: "8"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
label: "9",
|
|
233
|
+
value: "9"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
label: "10",
|
|
237
|
+
value: "10"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
label: "11",
|
|
241
|
+
value: "11"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
label: "12",
|
|
245
|
+
value: "12"
|
|
246
|
+
},
|
|
247
|
+
...i ? [{ label: "12/13", value: "12/13" }] : [],
|
|
248
|
+
{
|
|
249
|
+
label: "13",
|
|
250
|
+
value: "13"
|
|
251
|
+
}
|
|
252
|
+
], ie = {
|
|
253
|
+
assistantRemoveUserId: [],
|
|
254
|
+
counselorRemoveUserIds: [],
|
|
255
|
+
teacherRemoveUserIds: [],
|
|
256
|
+
teacherSwitchDataUserId: "",
|
|
257
|
+
assistantSwitchDataUserId: "",
|
|
258
|
+
counselorSwitchDataUserId: "",
|
|
259
|
+
supportTeacherRemoveUserIds: [],
|
|
260
|
+
supportTeacherSwitchDataUserId: ""
|
|
261
|
+
}, ce = {
|
|
262
|
+
id: "",
|
|
263
|
+
firstName: "",
|
|
264
|
+
lastName: "",
|
|
265
|
+
email: "",
|
|
266
|
+
fullName: "",
|
|
267
|
+
roles: []
|
|
268
|
+
};
|
|
269
|
+
export {
|
|
270
|
+
ae as A,
|
|
271
|
+
A as B,
|
|
272
|
+
$ as C,
|
|
273
|
+
ee as D,
|
|
274
|
+
oe as E,
|
|
275
|
+
E as F,
|
|
276
|
+
ne as G,
|
|
277
|
+
te as H,
|
|
278
|
+
Q as I,
|
|
279
|
+
Y as J,
|
|
280
|
+
x as K,
|
|
281
|
+
S as L,
|
|
282
|
+
N as M,
|
|
283
|
+
I as N,
|
|
284
|
+
X as O,
|
|
285
|
+
U as P,
|
|
286
|
+
L as Q,
|
|
287
|
+
_ as R,
|
|
288
|
+
r as S,
|
|
289
|
+
f as T,
|
|
290
|
+
t as U,
|
|
291
|
+
D as V,
|
|
292
|
+
G as W,
|
|
293
|
+
re as X,
|
|
294
|
+
F as a,
|
|
295
|
+
k as b,
|
|
296
|
+
j as c,
|
|
297
|
+
K as d,
|
|
298
|
+
se as e,
|
|
299
|
+
ie as f,
|
|
300
|
+
P as g,
|
|
301
|
+
M as h,
|
|
302
|
+
le as i,
|
|
303
|
+
z as j,
|
|
304
|
+
q as k,
|
|
305
|
+
V as l,
|
|
306
|
+
H as m,
|
|
307
|
+
W as n,
|
|
308
|
+
ce as o,
|
|
309
|
+
m as p,
|
|
310
|
+
O as q,
|
|
311
|
+
Z as r,
|
|
312
|
+
J as s,
|
|
313
|
+
R as t,
|
|
314
|
+
C as u,
|
|
315
|
+
h as v,
|
|
316
|
+
T as w,
|
|
317
|
+
w as x,
|
|
318
|
+
y,
|
|
319
|
+
B as z
|
|
320
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("./index-B4U_4-fu.js");function c(e,n){if(n.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+n.length+" present")}function g(e){c(1,arguments);var n=Object.prototype.toString.call(e);return e instanceof Date||t._typeof(e)==="object"&&n==="[object Date]"?new Date(e.getTime()):typeof e=="number"||n==="[object Number]"?new Date(e):((typeof e=="string"||n==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}const s=`${t.BASE_URL}/api/user`,m=`${t.BASE_URL}/api/Account/changePassword`,r=`${t.BASE_URL}/api/account`,l=`${t.BASE_URL}/api/User`,u=`${t.BASE_URL}/api/usersOneRoster`,i=`${t.BASE_URL}/api/mappingRosterUsers`,R=e=>t.api.get(`${i}`,{params:e}),A=e=>t.api.get(`${i}/filters`,{params:e}),f=e=>t.api.get(`${l}/student-filters`,{params:e}),S=e=>t.api.get(`${l}/export-csv`,{params:e}),v=e=>t.api.get(`${s}/detail-user/${e}`),h=e=>t.api.post(`${s}`,e),E=e=>t.api.put(`${s}/${e.id}`,e),b=e=>t.api.put(`${s}/update-status-all`,e),U=e=>t.api.delete(`${l}/delete-item-user/${e}`),T=e=>t.api.post(m,e),_=e=>t.api.post(`${r}/forgotchangepassword`,e),$=e=>t.api.post(`${l}/switch-user/${e}`),I=e=>t.api.get(`${u}`,{params:e}),C=e=>t.api.get(`${u}/${e}`),N=()=>t.api.put(`${l}/sync-roster-user`),D=e=>t.api.post(`${r}/reset-password-for-admin`,e),L=e=>t.api.get(`${l}/student-assign`,{params:e}),w=()=>t.api.get(`${t.BASE_URL}/api/counselor`),y=()=>t.api.get(`${t.BASE_URL}/api/assistant`),F=()=>t.api.get(`${t.BASE_URL}/api/secondaryTeacher`),G=e=>t.api.get(`${s}/all/teacher`,{params:e}),P=e=>t.api.post(`${s}/student-assign`,e),B=e=>t.api.get(`${t.BASE_URL}/api/user/check-role-data/${e}`),M=(e,n)=>t.api.post(`${l}/change-grade-for-student`,{studentUserId:e,gradeLevel:n}),k=e=>t.api.put(`${s}/change-multi-teachers`,e),O=e=>t.api.put(`${s}/change-multi-counselors`,e),j=e=>t.api.put(`${s}/change-assistants`,e),q=e=>t.api.put(`${s}/change-secondary-teachers`,e),x=(e,n)=>t.api.put(`${s}/update-user-grade/${e}`,{gradeLevel:n}),K=e=>t.api.get(`${i}/all-userId`,{params:e}),V=e=>t.api.post(`${r}/re-send-welcome-mail`,e),z=e=>t.api.post(`${l}/remove-bulk-staff`,e);var a=(e=>(e[e.Id=0]="Id",e[e.Name=1]="Name",e[e.Email=2]="Email",e[e.Age=3]="Age",e[e.Role=4]="Role",e[e.Status=5]="Status",e[e.CreatedAt=6]="CreatedAt",e[e.RosterUser=7]="RosterUser",e[e.Grade=8]="Grade",e[e.Teacher=9]="Teacher",e[e.Assistant=10]="Assistant",e[e.Counselor=11]="Counselor",e[e.SecondaryTeacher=12]="SecondaryTeacher",e))(a||{}),o=(e=>(e[e.Id=0]="Id",e[e.Name=1]="Name",e[e.Email=2]="Email",e[e.Role=3]="Role",e[e.RosterUser=4]="RosterUser",e[e.Status=5]="Status",e[e.Grade=6]="Grade",e[e.Teacher=7]="Teacher",e[e.Assistant=8]="Assistant",e[e.Counselor=9]="Counselor",e[e.SecondaryTeacher=10]="SecondaryTeacher",e))(o||{}),p=(e=>(e[e.Teacher=0]="Teacher",e[e.Assistant=1]="Assistant",e[e.Counselor=2]="Counselor",e[e.SecondaryTeacher=3]="SecondaryTeacher",e))(p||{});const H={[a.Id]:"filter-id",[a.Name]:"filter-name",[a.Email]:"filter-email",[a.Age]:"filter-age",[a.Role]:"filter-role",[a.Status]:"filter-status",[a.CreatedAt]:"filter-createdAt",[a.RosterUser]:"filter-roster",[a.Grade]:"filter-grade",[a.Teacher]:"filter-teacher",[a.Assistant]:"filter-assistant",[a.Counselor]:"filter-counselor",[a.SecondaryTeacher]:"filter-secondary"},X=[{name:"name",isCenter:!0,sortBy:a.Name,searchBy:o.Name,className:"align-top",getOption:e=>({label:e||"empty",value:e})},{name:"email",isCenter:!0,sortBy:a.Email,searchBy:o.Email,className:"align-top",getOption:e=>({label:e||"empty",value:e})},{name:"age",isCenter:!0,sortBy:a.Age,className:"align-top"},{name:"role",isCenter:!0,sortBy:a.Role,searchBy:o.Role,className:"align-top",getOption:e=>({label:e?e?.replace?.("SecondaryTeacher","SupportTeacher"):"empty",value:e})},{name:"active_status",isCenter:!0,sortBy:a.Status,searchBy:o.Status,className:"align-top",options:[{label:"Active",value:"true"},{label:"Inactive",value:"false"}]},{name:"created_time",isCenter:!0,sortBy:a.CreatedAt,className:"align-top"},{name:"information_roster_sourced_id_full_name_email",isCenter:!0,sortBy:a.RosterUser,searchBy:o.RosterUser,className:"align-top",getOption:e=>({label:e||"empty",value:e})},{name:"impersonate",isCenter:!0,className:"align-top"},{name:"delete",isCenter:!0,className:"align-top"}],d={value:10},W={searchString:"",currentPage:1,pageSize:d.value},Z={searchString:"",currentPage:1,pageSize:d.value},J={currentPage:1,pageSize:200},Q="data:text/csv;charset=utf-8,",Y={assistantId:"",counselors:[],secondaryTeacherId:"",teacher:[],assistantEmail:"",secondaryTeacherEmail:""},ee={studentId:0,id:"",email:"",fullName:"",gradeLevel:"",phoneNumber:"",isActive:!0,dateOfBirth:"",profileImageFileName:"",quote:"",assistantName:"",assistantEmail:"",assistantUserId:"",counselors:[],secondaryTeacherName:"",secondaryTeacherEmail:"",secondaryTeacherUserId:"",teachers:[]},te=[{label:"K",value:"K"},{label:"G",value:"G"},{label:"1",value:"1"},{label:"2",value:"2"},{label:"3",value:"3"},{label:"4",value:"4"},{label:"5",value:"5"},{label:"6",value:"6"},{label:"7",value:"7"},{label:"8",value:"8"},{label:"9",value:"9"},{label:"10",value:"10"},{label:"11",value:"11"},{label:"12",value:"12"},...t.isMalvernCollege?[{label:"12/13",value:"12/13"}]:[],{label:"13",value:"13"}],ae=["K","G","1","2","3","4","5","6","7","8","9","10","11","12",...t.isMalvernCollege?["12/13"]:[],"13"],se=[{label:"K",value:"K"},{label:"G",value:"G"},{label:"1",value:"1"},{label:"2",value:"2"},{label:"3",value:"3"},{label:"4",value:"4"},{label:"5",value:"5"},{label:"6",value:"6"},{label:"7",value:"7"},{label:"8",value:"8"},{label:"9",value:"9"},{label:"10",value:"10"},{label:"11",value:"11"},{label:"12",value:"12"},...t.isMalvernCollege?[{label:"12/13",value:"12/13"}]:[],{label:"13",value:"13"}],ne={assistantRemoveUserId:[],counselorRemoveUserIds:[],teacherRemoveUserIds:[],teacherSwitchDataUserId:"",assistantSwitchDataUserId:"",counselorSwitchDataUserId:"",supportTeacherRemoveUserIds:[],supportTeacherSwitchDataUserId:""},le={id:"",firstName:"",lastName:"",email:"",fullName:"",roles:[]};exports.CSV_PREFIX=Q;exports.DEFAULT_FILTER=W;exports.DEFAULT_FILTER_POPOVER=J;exports.DEFAULT_STUDENT_FILTER=Z;exports.GRADE=ae;exports.GRADE_DEFAULT=te;exports.SearchBy=o;exports.TeacherType=p;exports.UserColumns=X;exports.UserOrder=a;exports.addGradeToStudent=M;exports.assignStudentsApi=P;exports.changeAssistantOfStudents=j;exports.changeGradeOfStudents=x;exports.changeMultiCounselorsOfStudent=O;exports.changeMultiTeacherOfStudent=k;exports.changePassword=T;exports.changeSecondaryTeacherOfStudents=q;exports.create=h;exports.forgotChangePassword=_;exports.getAssignStudentApi=L;exports.getAssistants=y;exports.getById=v;exports.getCounselors=w;exports.getFilterRosterUser=A;exports.getRosterAllUserId=K;exports.getRosterUser=R;exports.getRosterUserBySourcedIdApi=C;exports.getRosterUserExport=S;exports.getRosterUsersApi=I;exports.getSecondaryTeachers=F;exports.getStudentFilter=f;exports.getTeachers=G;exports.gradeOptions=se;exports.initAssignStd=ee;exports.initStaffDeleteBulk=ne;exports.initialStaffBulk=Y;exports.initialUserChoice=le;exports.postRequestResendMail=V;exports.remove=U;exports.removeBulkStaff=z;exports.requiredArgs=c;exports.resetPasswordForAdmin=D;exports.switchAccountUser=$;exports.syncRosterUsersApi=N;exports.toDate=g;exports.update=E;exports.updateStatusAll=b;exports.userOrders=H;exports.userRoleHasData=B;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
declare const NotFound: FC;
|
|
3
|
-
export default NotFound;
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
declare const NotFound: FC;
|
|
3
|
+
export default NotFound;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
declare const SchoolList: FC;
|
|
3
|
-
export default SchoolList;
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
declare const SchoolList: FC;
|
|
3
|
+
export default SchoolList;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
interface Props {
|
|
3
|
-
label: string;
|
|
4
|
-
onRemove: any;
|
|
5
|
-
}
|
|
6
|
-
declare const AttachmentFile: FC<Props>;
|
|
7
|
-
export default AttachmentFile;
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
label: string;
|
|
4
|
+
onRemove: any;
|
|
5
|
+
}
|
|
6
|
+
declare const AttachmentFile: FC<Props>;
|
|
7
|
+
export default AttachmentFile;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
interface Props {
|
|
3
|
-
onClick: any;
|
|
4
|
-
isResetPasswordTemplate: any;
|
|
5
|
-
}
|
|
6
|
-
declare const MailSubject: FC<Props>;
|
|
7
|
-
export default MailSubject;
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
onClick: any;
|
|
4
|
+
isResetPasswordTemplate: any;
|
|
5
|
+
}
|
|
6
|
+
declare const MailSubject: FC<Props>;
|
|
7
|
+
export default MailSubject;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as yup from "yup";
|
|
2
|
-
declare const schema:
|
|
3
|
-
subject:
|
|
4
|
-
categoryId:
|
|
5
|
-
comment:
|
|
6
|
-
body:
|
|
7
|
-
},
|
|
8
|
-
subject:
|
|
9
|
-
categoryId:
|
|
10
|
-
comment:
|
|
11
|
-
body:
|
|
12
|
-
}
|
|
13
|
-
export default schema;
|
|
1
|
+
import * as yup from "yup";
|
|
2
|
+
declare const schema: yup.ObjectSchema<{
|
|
3
|
+
subject: string;
|
|
4
|
+
categoryId: number;
|
|
5
|
+
comment: string | undefined;
|
|
6
|
+
body: string;
|
|
7
|
+
}, yup.AnyObject, {
|
|
8
|
+
subject: undefined;
|
|
9
|
+
categoryId: undefined;
|
|
10
|
+
comment: undefined;
|
|
11
|
+
body: undefined;
|
|
12
|
+
}, "">;
|
|
13
|
+
export default schema;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
28
|
-
export default useEmailTemplateDetail;
|
|
1
|
+
type Attachment = {
|
|
2
|
+
id?: number;
|
|
3
|
+
name: string;
|
|
4
|
+
key: string;
|
|
5
|
+
};
|
|
6
|
+
type EmailTemplateDetail = {
|
|
7
|
+
id?: number;
|
|
8
|
+
subject: string;
|
|
9
|
+
categoryId: number;
|
|
10
|
+
body: string;
|
|
11
|
+
attachments: Attachment[];
|
|
12
|
+
};
|
|
13
|
+
declare const useEmailTemplateDetail: (id?: number) => {
|
|
14
|
+
emailTemplateDetail: EmailTemplateDetail;
|
|
15
|
+
setEditorRef: (node: any) => any;
|
|
16
|
+
addParams: (params: any) => void;
|
|
17
|
+
backToList: () => void;
|
|
18
|
+
confirmData: (data: any) => Promise<void>;
|
|
19
|
+
edited: boolean;
|
|
20
|
+
setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
21
|
+
setEditedTrue: () => Promise<void>;
|
|
22
|
+
onAttachFile: () => void;
|
|
23
|
+
updateAttachment: () => void;
|
|
24
|
+
fileUpload: any;
|
|
25
|
+
removeAttachment: (inputId: string, fileName: string) => void;
|
|
26
|
+
tinyMCEKey: string;
|
|
27
|
+
};
|
|
28
|
+
export default useEmailTemplateDetail;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export default useEmailTemplateList;
|
|
1
|
+
declare const useEmailTemplateList: () => {
|
|
2
|
+
emailTemplateList: any;
|
|
3
|
+
totalItems: any;
|
|
4
|
+
filters: import("../../..").Filter;
|
|
5
|
+
changeFilters: (updatedFilters: any) => void;
|
|
6
|
+
getData: () => Promise<void>;
|
|
7
|
+
removeData: (id: number) => void;
|
|
8
|
+
goToDetail: (id?: number) => void;
|
|
9
|
+
mailCategoryList: any;
|
|
10
|
+
};
|
|
11
|
+
export default useEmailTemplateList;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
declare const EmailTemplateDetail: FC;
|
|
3
|
-
export default EmailTemplateDetail;
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
declare const EmailTemplateDetail: FC;
|
|
3
|
+
export default EmailTemplateDetail;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
declare const EmailTemplateList: FC;
|
|
3
|
-
export default EmailTemplateList;
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
declare const EmailTemplateList: FC;
|
|
3
|
+
export default EmailTemplateList;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export default _default;
|
|
1
|
+
declare const _default: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<unknown>>;
|
|
2
|
+
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
import { FilterType } from "../constants/gallery.types";
|
|
3
|
-
interface FilterInterface {
|
|
4
|
-
changeFilters: (filter: FilterType) => void;
|
|
5
|
-
filters: FilterType;
|
|
6
|
-
}
|
|
7
|
-
declare const Filter: FC<FilterInterface>;
|
|
8
|
-
export default Filter;
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { FilterType } from "../constants/gallery.types";
|
|
3
|
+
interface FilterInterface {
|
|
4
|
+
changeFilters: (filter: FilterType) => void;
|
|
5
|
+
filters: FilterType;
|
|
6
|
+
}
|
|
7
|
+
declare const Filter: FC<FilterInterface>;
|
|
8
|
+
export default Filter;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export default _default;
|
|
1
|
+
import { S3Object } from '../constants/gallery.types';
|
|
2
|
+
interface MediaInterface {
|
|
3
|
+
media: S3Object;
|
|
4
|
+
isTarget: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("react").NamedExoticComponent<MediaInterface>;
|
|
7
|
+
export default _default;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export default _default;
|
|
1
|
+
import { S3Object } from "../constants/gallery.types";
|
|
2
|
+
interface MediaDetailInterface {
|
|
3
|
+
targetMedia: S3Object;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("react").NamedExoticComponent<MediaDetailInterface>;
|
|
6
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
interface Props {
|
|
3
|
-
height: string;
|
|
4
|
-
isLibrary?: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare const MediaList: FC<Props>;
|
|
7
|
-
export default MediaList;
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
height: string;
|
|
4
|
+
isLibrary?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const MediaList: FC<Props>;
|
|
7
|
+
export default MediaList;
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export default _default;
|
|
1
|
+
import { S3Object } from "../constants/gallery.types";
|
|
2
|
+
interface MediaNavInterface {
|
|
3
|
+
isLibrary?: boolean;
|
|
4
|
+
step: number;
|
|
5
|
+
breadcumb: string;
|
|
6
|
+
currentPrefix: string;
|
|
7
|
+
targetMedia: S3Object;
|
|
8
|
+
handleSelectFile: Function;
|
|
9
|
+
handleCreateFolder: Function;
|
|
10
|
+
handleRenameFile: Function;
|
|
11
|
+
handleGoBack: () => void;
|
|
12
|
+
handleDownloadMedia: () => void;
|
|
13
|
+
handleDeleteMediaOrFolder: () => void;
|
|
14
|
+
showErrorAlert: (message: string) => void;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: import("react").NamedExoticComponent<MediaNavInterface>;
|
|
17
|
+
export default _default;
|