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
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
export
|
|
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
|
|
15
|
-
searchString?: string;
|
|
16
|
-
types?: MediaType[];
|
|
17
|
-
prefix?: string;
|
|
18
|
-
fromDate?: number;
|
|
19
|
-
toDate?: number;
|
|
20
|
-
|
|
1
|
+
export 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 type FilterType = {
|
|
15
|
+
searchString?: string;
|
|
16
|
+
types?: MediaType[];
|
|
17
|
+
prefix?: string;
|
|
18
|
+
fromDate?: number;
|
|
19
|
+
toDate?: number;
|
|
20
|
+
isLibrary?: boolean;
|
|
21
|
+
};
|
|
@@ -1,4 +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;
|
|
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;
|
|
@@ -1,31 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
export default useGalleryList;
|
|
1
|
+
import { FilterType } from "../constants/gallery.types";
|
|
2
|
+
import { S3Object } from "../constants/gallery.types";
|
|
3
|
+
interface FormDataMediaType {
|
|
4
|
+
file: File;
|
|
5
|
+
key?: string;
|
|
6
|
+
}
|
|
7
|
+
interface RouterType {
|
|
8
|
+
link: string;
|
|
9
|
+
step: number;
|
|
10
|
+
}
|
|
11
|
+
declare const useGalleryList: (isLibrary?: boolean) => {
|
|
12
|
+
mediaList: any;
|
|
13
|
+
filters: FilterType;
|
|
14
|
+
totalItems: any;
|
|
15
|
+
targetMedia: S3Object;
|
|
16
|
+
router: RouterType;
|
|
17
|
+
breadcrumb: string;
|
|
18
|
+
getData: () => Promise<void>;
|
|
19
|
+
changeFilters: (updatedFilters: FilterType) => void;
|
|
20
|
+
handleSelectFile: import("react").Dispatch<import("react").SetStateAction<FormDataMediaType | undefined>>;
|
|
21
|
+
handleOpenFolder: (media: S3Object) => void;
|
|
22
|
+
handleSelectMedia: (media: S3Object) => void;
|
|
23
|
+
handleRenameFile: (name: string) => Promise<void>;
|
|
24
|
+
handleDownloadMedia: () => void;
|
|
25
|
+
handleDeleteMediaOrFolder: () => Promise<void>;
|
|
26
|
+
handleCreateFolder: (prefix: string, folderName: string) => Promise<void>;
|
|
27
|
+
handleGoBack: () => void;
|
|
28
|
+
showErrorAlert: (message: string) => void;
|
|
29
|
+
};
|
|
30
|
+
export default useGalleryList;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
interface Props {
|
|
3
|
-
isLibrary?: boolean;
|
|
4
|
-
}
|
|
5
|
-
declare const GalleryList: FC<Props>;
|
|
6
|
-
export default GalleryList;
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
isLibrary?: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const GalleryList: FC<Props>;
|
|
6
|
+
export default GalleryList;
|
|
@@ -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,34 @@
|
|
|
1
|
+
export interface ICreatePassword {
|
|
2
|
+
password: string;
|
|
3
|
+
reEnterPassword: string;
|
|
4
|
+
email: string;
|
|
5
|
+
userId: string;
|
|
6
|
+
token: string;
|
|
7
|
+
}
|
|
8
|
+
export declare enum TypeLogin {
|
|
9
|
+
Google = 0,
|
|
10
|
+
ClassLink = 1,
|
|
11
|
+
MicrosoftSSO = 2
|
|
12
|
+
}
|
|
13
|
+
export interface IInformationUser {
|
|
14
|
+
firstName: string;
|
|
15
|
+
lastName: string;
|
|
16
|
+
fullName: string;
|
|
17
|
+
imageUrl: string | null;
|
|
18
|
+
email: string;
|
|
19
|
+
accessToken: string;
|
|
20
|
+
googleId: string;
|
|
21
|
+
}
|
|
22
|
+
export declare enum LoginType {
|
|
23
|
+
Default = 0,
|
|
24
|
+
Google = 1,
|
|
25
|
+
Impersonate = 2
|
|
26
|
+
}
|
|
27
|
+
export interface ISchool {
|
|
28
|
+
schoolName: string;
|
|
29
|
+
schoolLogo: string;
|
|
30
|
+
schoolId: number;
|
|
31
|
+
}
|
|
32
|
+
export interface IDashboard {
|
|
33
|
+
version?: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ICreatePassword } from "../constant/types";
|
|
2
|
+
declare const useCreatePassword: () => {
|
|
3
|
+
createPasswordRequest: (data: ICreatePassword) => Promise<void>;
|
|
4
|
+
isShowNewPassword: boolean;
|
|
5
|
+
setIsShowNewPassword: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
6
|
+
isShowReTypePassword: boolean;
|
|
7
|
+
setIsShowReTypePassword: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
8
|
+
clickHandler: () => Promise<any>;
|
|
9
|
+
handleVerify: () => void;
|
|
10
|
+
initialValues: ICreatePassword;
|
|
11
|
+
};
|
|
12
|
+
export default useCreatePassword;
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
|
|
1
|
+
import { ICreatePassword } from "../constant/types";
|
|
2
|
+
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, key: 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
|
+
initialValues: ICreatePassword;
|
|
21
|
+
};
|
|
22
|
+
export default useForgotPassword;
|
|
@@ -1,16 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
email: string;
|
|
4
|
-
password: string;
|
|
5
|
-
captcha: string;
|
|
6
|
-
rememberMe: boolean;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { TypeLogin, ISchool } from "../constant/types";
|
|
2
|
+
type LoginInfo = {
|
|
3
|
+
email: string;
|
|
4
|
+
password: string;
|
|
5
|
+
captcha: string;
|
|
6
|
+
rememberMe: boolean;
|
|
7
|
+
isSessionUserBrowser?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const useLogin: () => {
|
|
10
|
+
defaultInfo: LoginInfo;
|
|
11
|
+
userLogin: (data: any) => Promise<void>;
|
|
12
|
+
openLogin: boolean;
|
|
13
|
+
toggle: () => void;
|
|
14
|
+
isShowPassword: boolean;
|
|
15
|
+
setIsShowPassword: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
16
|
+
fnIsCheckLogin: (type: TypeLogin, data: any, token: string, clickHandler?: any) => Promise<void>;
|
|
17
|
+
isLoginGoogle: any;
|
|
18
|
+
infoUser: any;
|
|
19
|
+
submitLogin: (teacherId: number, clickHandler: any) => Promise<void>;
|
|
20
|
+
googleClientId: string;
|
|
21
|
+
googleRecaptchaId: string;
|
|
22
|
+
handleCancelModelAssign: () => void;
|
|
23
|
+
openModelAssign: boolean;
|
|
24
|
+
fnLoginSSO: (clickHandler?: any) => Promise<void>;
|
|
25
|
+
school: ISchool;
|
|
26
|
+
extensionEmail: string;
|
|
27
|
+
handleLoginWidthClever: () => void;
|
|
28
|
+
};
|
|
29
|
+
export default useLogin;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const useLoginTwoFactor: () => {
|
|
2
|
-
userLoginTwoFactor: (data: any) => Promise<void>;
|
|
3
|
-
};
|
|
4
|
-
export default useLoginTwoFactor;
|
|
1
|
+
declare const useLoginTwoFactor: () => {
|
|
2
|
+
userLoginTwoFactor: (data: any) => Promise<void>;
|
|
3
|
+
};
|
|
4
|
+
export default useLoginTwoFactor;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const Dashboard: () => JSX.Element;
|
|
3
|
-
export default Dashboard;
|
|
1
|
+
import { IDashboard } from "../constant/types";
|
|
2
|
+
declare const Dashboard: ({ version }: IDashboard) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default Dashboard;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
declare const Login: (props: loginProps) => JSX.Element;
|
|
9
|
-
export default Login;
|
|
1
|
+
interface loginProps {
|
|
2
|
+
isLogin?: boolean;
|
|
3
|
+
isForgotPassword?: boolean;
|
|
4
|
+
isResetPassword?: boolean;
|
|
5
|
+
isLoginTwoFactor?: boolean;
|
|
6
|
+
isCreatePassword?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const Login: (props: loginProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default Login;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { ISchool } from "../../constant/types";
|
|
2
|
+
interface Props {
|
|
3
|
+
school: ISchool;
|
|
4
|
+
}
|
|
5
|
+
declare const BlockForgetPassword: ({ school }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default BlockForgetPassword;
|
|
@@ -1,7 +1,21 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { ISchool } from "../../constant/types";
|
|
3
|
+
interface Props {
|
|
4
|
+
defaultInfo?: any;
|
|
5
|
+
userLogin?: any;
|
|
6
|
+
onCancelModelAssign: Function;
|
|
7
|
+
openModelAssign: boolean;
|
|
8
|
+
school: ISchool;
|
|
9
|
+
isShowPassword: boolean;
|
|
10
|
+
setIsShowPassword: Function;
|
|
11
|
+
fnIsCheckLogin: Function;
|
|
12
|
+
isLoginGoogle: boolean;
|
|
13
|
+
submitLogin: Function;
|
|
14
|
+
infoUser: any;
|
|
15
|
+
googleClientId: string;
|
|
16
|
+
fnLoginSSO: Function;
|
|
17
|
+
extensionEmail: string;
|
|
18
|
+
onLoginWidthClever: Function;
|
|
19
|
+
}
|
|
20
|
+
declare const BlockLogin: FC<Props>;
|
|
21
|
+
export default BlockLogin;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default BlockResetPassword;
|
|
1
|
+
declare const BlockResetPassword: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default BlockResetPassword;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
defaultValue?: any;
|
|
3
|
+
isDisabled?: boolean;
|
|
4
|
+
openModal: boolean;
|
|
5
|
+
onSubmit: any;
|
|
6
|
+
token: string;
|
|
7
|
+
email: string;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<unknown>>;
|
|
10
|
+
export default _default;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default BlockTwoFactorLogin;
|
|
1
|
+
declare const BlockTwoFactorLogin: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default BlockTwoFactorLogin;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
interface Props {
|
|
3
|
-
to: string;
|
|
4
|
-
}
|
|
5
|
-
declare const CloseBlock: FC<Props>;
|
|
6
|
-
export default CloseBlock;
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
to: string;
|
|
4
|
+
}
|
|
5
|
+
declare const CloseBlock: FC<Props>;
|
|
6
|
+
export default CloseBlock;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
interface Props {
|
|
3
|
-
}
|
|
4
|
-
declare const ContentHomePage: FC<Props>;
|
|
5
|
-
export default ContentHomePage;
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
}
|
|
4
|
+
declare const ContentHomePage: FC<Props>;
|
|
5
|
+
export default ContentHomePage;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
interface Props {
|
|
3
|
-
srcIcon
|
|
4
|
-
content
|
|
5
|
-
}
|
|
6
|
-
declare const IconContent: FC<Props>;
|
|
7
|
-
export default IconContent;
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
srcIcon: string;
|
|
4
|
+
content: string;
|
|
5
|
+
}
|
|
6
|
+
declare const IconContent: FC<Props>;
|
|
7
|
+
export default IconContent;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
title?: string;
|
|
4
|
-
descriptions?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const QuoteContent: FC<Props>;
|
|
7
|
-
export default QuoteContent;
|
|
1
|
+
declare const QuoteContent: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default QuoteContent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
interface Props {
|
|
3
|
-
}
|
|
4
|
-
declare const NotificationButton: FC<Props>;
|
|
5
|
-
export default NotificationButton;
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
}
|
|
4
|
+
declare const NotificationButton: FC<Props>;
|
|
5
|
+
export default NotificationButton;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export default _default;
|
|
1
|
+
interface Props {
|
|
2
|
+
value: boolean;
|
|
3
|
+
onChange: any;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("react").NamedExoticComponent<Props>;
|
|
6
|
+
export default _default;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
declare const useNotificationList: () => {
|
|
2
|
-
notificationList: any;
|
|
3
|
-
totalItems: any;
|
|
4
|
-
unReadNotification: any;
|
|
5
|
-
filters: {
|
|
6
|
-
currentPage: number;
|
|
7
|
-
pageSize: number;
|
|
8
|
-
searchString: string;
|
|
9
|
-
isRead: boolean;
|
|
10
|
-
};
|
|
11
|
-
changeFilters: (objectValue: any) => void;
|
|
12
|
-
updateNotification: (id:
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
declare const useNotificationList: () => {
|
|
2
|
+
notificationList: any;
|
|
3
|
+
totalItems: any;
|
|
4
|
+
unReadNotification: any;
|
|
5
|
+
filters: {
|
|
6
|
+
currentPage: number;
|
|
7
|
+
pageSize: number;
|
|
8
|
+
searchString: string;
|
|
9
|
+
isRead: boolean;
|
|
10
|
+
};
|
|
11
|
+
changeFilters: (objectValue: any) => void;
|
|
12
|
+
updateNotification: (id: number, isRead: boolean) => void;
|
|
13
|
+
viewNotification: (notification: any) => void;
|
|
14
|
+
updateAll: () => Promise<void>;
|
|
15
|
+
toggleUpdateAllStatus: boolean;
|
|
16
|
+
};
|
|
17
|
+
export default useNotificationList;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const useUnReadNotification: () => {
|
|
2
|
-
unReadNotification: any;
|
|
3
|
-
};
|
|
4
|
-
export default useUnReadNotification;
|
|
1
|
+
declare const useUnReadNotification: () => {
|
|
2
|
+
unReadNotification: any;
|
|
3
|
+
};
|
|
4
|
+
export default useUnReadNotification;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default NotificationList;
|
|
1
|
+
declare const NotificationList: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default NotificationList;
|
|
@@ -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,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default SkillSelector;
|
|
1
|
+
declare const SkillSelector: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default SkillSelector;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export default useSkillDetail;
|
|
1
|
+
type SkillDetail = {
|
|
2
|
+
name: string;
|
|
3
|
+
description: string;
|
|
4
|
+
path: string;
|
|
5
|
+
parentSkillId?: number | null;
|
|
6
|
+
};
|
|
7
|
+
declare const useSkillDetail: () => {
|
|
8
|
+
id: number;
|
|
9
|
+
setId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
10
|
+
skillDetail: SkillDetail;
|
|
11
|
+
confirmData: (values: any, cb: any) => Promise<void>;
|
|
12
|
+
initValue: SkillDetail;
|
|
13
|
+
reset: () => void;
|
|
14
|
+
edited: boolean;
|
|
15
|
+
setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
16
|
+
setEditedTrue: () => Promise<void>;
|
|
17
|
+
setEditedFalse: () => Promise<void>;
|
|
18
|
+
};
|
|
19
|
+
export default useSkillDetail;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export default useSkillList;
|
|
1
|
+
declare const useSkillList: () => {
|
|
2
|
+
skillList: any;
|
|
3
|
+
totalItems: any;
|
|
4
|
+
filters: import("../../..").Filter;
|
|
5
|
+
changeFilters: (updatedFilters: any) => void;
|
|
6
|
+
getData: () => Promise<void>;
|
|
7
|
+
removeData: (id: number) => void;
|
|
8
|
+
};
|
|
9
|
+
export default useSkillList;
|