mario-core 3.0.8-admin → 3.0.8-es
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-DiUm-pc-.js +186 -0
- package/dist/Dashboard-HV1eiElu.cjs +1 -0
- package/dist/EmailTemplateDetail-D0D3bpWO.cjs +1 -0
- package/dist/EmailTemplateDetail-KvZuTCLF.js +411 -0
- package/dist/EmailTemplateList-B3YqSFaY.js +172 -0
- package/dist/EmailTemplateList-BAejgUUG.cjs +1 -0
- package/dist/FaqList-D5XugT5h.js +320 -0
- package/dist/FaqList-DpUzQ2vq.cjs +1 -0
- package/dist/GalleryList-B5QA3Rol.cjs +1 -0
- package/dist/GalleryList-CTo33BcT.js +53 -0
- package/dist/Login-CHAmP5ek.js +897 -0
- package/dist/Login-Cxbto5eM.cjs +1 -0
- package/dist/NotificationList-2Mf_NsOP.js +3631 -0
- package/dist/NotificationList-D1jMOBwH.cjs +8 -0
- package/dist/SchoolList-CClJ_UPT.cjs +1 -0
- package/dist/SchoolList-JmrmL2zE.js +5 -0
- package/dist/SkillList-BMyhRY78.js +406 -0
- package/dist/SkillList-DlMx_Evw.cjs +1 -0
- package/dist/TeacherSelector-B4zvSVhk.js +71 -0
- package/dist/TeacherSelector-DORi8RIb.cjs +1 -0
- package/dist/TheContent-BHmlooLu.cjs +1 -0
- package/dist/TheContent-V2T-Pqz8.js +38 -0
- package/dist/UserContainer-B-4oVOEp.cjs +1 -0
- package/dist/UserContainer-BaHMryYI.js +2337 -0
- package/dist/UserDetail-B-Mq_itT.cjs +1 -0
- package/dist/UserDetail-BBRiU97G.js +665 -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/Buttons/AddButton.d.ts +8 -7
- package/dist/components/Buttons/AddButtonIcon.d.ts +6 -6
- package/dist/components/Buttons/CloseButton.d.ts +8 -8
- package/dist/components/Buttons/DeleteButtonIcon.d.ts +6 -6
- package/dist/components/Buttons/DetailActionButtons.d.ts +9 -8
- package/dist/components/Buttons/EditButtonIcon.d.ts +6 -6
- package/dist/components/Buttons/LinkEditButton.d.ts +8 -7
- package/dist/components/Buttons/LoginNavButton.d.ts +8 -8
- package/dist/components/Buttons/ToggleButton.d.ts +10 -10
- package/dist/components/Buttons/UploadFileButton.d.ts +13 -13
- package/dist/components/Headers/CommonHeader.d.ts +7 -7
- package/dist/components/Image/UploadImage.d.ts +2 -3
- package/dist/components/Inputs/FileInput.d.ts +8 -8
- package/dist/components/Inputs/PasswordInput.d.ts +8 -8
- package/dist/components/Inputs/SearchBox.d.ts +10 -10
- package/dist/components/Inputs/SearchBoxContainer.d.ts +9 -10
- package/dist/components/Labels/RequiredLabel.d.ts +6 -6
- package/dist/components/Loading/Loading.d.ts +3 -3
- package/dist/components/Modals/CommonModal.d.ts +2 -3
- package/dist/components/Modals/NotificationLogoutModal.d.ts +2 -0
- package/dist/components/Modals/NotificationModal.d.ts +2 -3
- package/dist/components/Others/QuitPrompt.d.ts +5 -2
- package/dist/components/Pagination/CustomPagination.d.ts +2 -3
- package/dist/components/Scroll/ScrollToTop.d.ts +3 -3
- package/dist/components/Selectors/AcademicClassSelector.d.ts +2 -3
- package/dist/components/Selectors/CreatableSelector.d.ts +2 -3
- package/dist/components/Selectors/CustomSelector.d.ts +2 -3
- package/dist/components/Selectors/MailCategorySelectors.d.ts +2 -3
- package/dist/components/Selectors/QuestionCategorySelector.d.ts +2 -3
- package/dist/components/Selectors/QuestionTypeSelector.d.ts +2 -3
- package/dist/components/Selectors/StarRatingSelector.d.ts +2 -3
- package/dist/components/Selectors/SuggestionCategorySelector.d.ts +2 -3
- package/dist/components/Tabs/CustomTab.d.ts +2 -3
- package/dist/components/Tabs/TabsWithComponent.d.ts +10 -0
- package/dist/configs/editorConfig.d.ts +7 -7
- package/dist/containers/Commons/NotFound.d.ts +3 -3
- package/dist/containers/DistrictSchools/views/SchoolList.d.ts +3 -3
- package/dist/containers/EmailTemplate/components/AttachmentFile.d.ts +8 -7
- package/dist/containers/EmailTemplate/components/MailParam.d.ts +8 -7
- package/dist/containers/EmailTemplate/configs/emailTemplateSchema.d.ts +13 -13
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateDetail.d.ts +27 -28
- package/dist/containers/EmailTemplate/hooks/useEmailTemplateList.d.ts +11 -11
- package/dist/containers/EmailTemplate/views/EmailTemplateDetail.d.ts +3 -3
- package/dist/containers/EmailTemplate/views/EmailTemplateList.d.ts +3 -3
- package/dist/containers/Faq/components/FaqDetailModal.d.ts +2 -3
- package/dist/containers/Faq/hooks/useFaqDetail.d.ts +17 -18
- package/dist/containers/Faq/hooks/useFaqList.d.ts +9 -9
- package/dist/containers/Faq/views/FaqList.d.ts +3 -3
- package/dist/containers/Gallery/components/ActionModal.d.ts +2 -3
- package/dist/containers/Gallery/components/Filter.d.ts +9 -8
- package/dist/containers/Gallery/components/Media.d.ts +9 -8
- package/dist/containers/Gallery/components/MediaDetail.d.ts +7 -7
- package/dist/containers/Gallery/components/MediaList.d.ts +7 -7
- package/dist/containers/Gallery/components/MediaNav.d.ts +19 -18
- package/dist/containers/Gallery/constants/gallery.types.d.ts +21 -21
- package/dist/containers/Gallery/extensions/helpers.d.ts +4 -4
- package/dist/containers/Gallery/hooks/useGalleryList.d.ts +30 -31
- package/dist/containers/Gallery/views/GalleryList.d.ts +6 -6
- package/dist/containers/Login/components/GoogleLoginButton.d.ts +10 -0
- package/dist/containers/Login/constant/authConfig.d.ts +38 -0
- package/dist/containers/Login/constant/types.d.ts +27 -0
- package/dist/containers/Login/hooks/useForgotPassword.d.ts +20 -21
- package/dist/containers/Login/hooks/useLogin.d.ts +26 -23
- package/dist/containers/Login/hooks/useLoginTwoFactor.d.ts +4 -4
- package/dist/containers/Login/views/Dashboard.d.ts +3 -3
- package/dist/containers/Login/views/Login.d.ts +8 -9
- package/dist/containers/Login/views/block/BlockBackground.d.ts +7 -0
- package/dist/containers/Login/views/block/BlockForgetPassword.d.ts +6 -3
- package/dist/containers/Login/views/block/BlockLogin.d.ts +9 -7
- package/dist/containers/Login/views/block/BlockResetPassword.d.ts +2 -3
- package/dist/containers/Login/views/block/BlockSelectTeacher.d.ts +11 -12
- package/dist/containers/Login/views/block/BlockTwoFactorLogin.d.ts +2 -3
- package/dist/containers/Login/views/block/CloseBlock.d.ts +6 -6
- package/dist/containers/Login/views/block/ContentHomePage.d.ts +5 -5
- package/dist/containers/Login/views/block/IconContent.d.ts +7 -7
- package/dist/containers/Login/views/block/QuoteContent.d.ts +2 -3
- package/dist/containers/Notifications/components/NotificationButton.d.ts +5 -5
- package/dist/containers/Notifications/components/NotificationStatusSelector.d.ts +6 -7
- package/dist/containers/Notifications/hooks/useNotificationList.d.ts +17 -17
- package/dist/containers/Notifications/hooks/useUnreadNotification.d.ts +4 -4
- package/dist/containers/Notifications/views/NotificationList.d.ts +2 -3
- package/dist/containers/Skill/components/SkillDetailModal.d.ts +2 -3
- package/dist/containers/Skill/components/SkillSelector.d.ts +2 -3
- package/dist/containers/Skill/hooks/useSkillDetail.d.ts +19 -20
- package/dist/containers/Skill/hooks/useSkillList.d.ts +10 -9
- package/dist/containers/Skill/views/SkillList.d.ts +3 -3
- package/dist/containers/User/components/AssignStudentModal.d.ts +19 -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/RemoveTeacher.d.ts +3 -0
- package/dist/containers/User/components/TableHeader.d.ts +14 -0
- package/dist/containers/User/components/TeacherSelector.d.ts +2 -0
- package/dist/containers/User/configs/changePasswordSchema.d.ts +11 -10
- package/dist/containers/User/configs/constants.d.ts +62 -0
- package/dist/containers/User/configs/type.d.ts +210 -0
- package/dist/containers/User/configs/userSchema.d.ts +15 -15
- package/dist/containers/User/hooks/useAssignStudent.d.ts +33 -0
- package/dist/containers/User/hooks/useAssignStudentList.d.ts +33 -0
- package/dist/containers/User/hooks/useAssistantList.d.ts +9 -0
- package/dist/containers/User/hooks/useClickOutside.d.ts +2 -0
- package/dist/containers/User/hooks/useCounselorList.d.ts +9 -0
- package/dist/containers/User/hooks/useFilterPopover.d.ts +36 -0
- package/dist/containers/User/hooks/useTableHeader.d.ts +19 -0
- package/dist/containers/User/hooks/useTeacherList.d.ts +9 -0
- package/dist/containers/User/hooks/useUserDetail.d.ts +31 -24
- package/dist/containers/User/hooks/useUserList.d.ts +14 -11
- package/dist/containers/User/hooks/userFilters.d.ts +7 -0
- package/dist/containers/User/views/AssignStudentList.d.ts +2 -0
- package/dist/containers/User/views/UserContainer.d.ts +2 -0
- package/dist/containers/User/views/UserDetail.d.ts +2 -3
- package/dist/containers/User/views/UserList.d.ts +2 -3
- package/dist/hooks/useClassFontSize.d.ts +4 -0
- package/dist/hooks/useFilters.d.ts +7 -8
- package/dist/i18n.d.ts +2 -2
- package/dist/index-C95SWLrn.js +18163 -0
- package/dist/index-DixwqZ17.cjs +29 -0
- package/dist/index.d.ts +111 -110
- package/dist/index.esm-BckW25l9.cjs +1 -0
- package/dist/index.esm-hqKUWCW0.js +15 -0
- package/dist/index.js +1 -10373
- package/dist/index.modern.js +159 -10213
- package/dist/layouts/TheContent.d.ts +3 -3
- package/dist/mailCategoryService-BqDtPJRc.js +10 -0
- package/dist/mailCategoryService-DBMJOyls.cjs +1 -0
- package/dist/mario-core.css +5 -0
- package/dist/redux/assessments/action.d.ts +1 -1
- package/dist/redux/assessments/reducer.d.ts +10 -5
- package/dist/redux/assignment/action.d.ts +1 -1
- package/dist/redux/assignment/reducer.d.ts +4 -2
- package/dist/redux/assistants/action.d.ts +1 -1
- package/dist/redux/assistants/reducer.d.ts +4 -2
- package/dist/redux/badges/action.d.ts +1 -1
- package/dist/redux/badges/reducer.d.ts +4 -2
- package/dist/redux/bandScores/action.d.ts +1 -1
- package/dist/redux/bandScores/reducer.d.ts +4 -2
- package/dist/redux/certificate/action.d.ts +1 -1
- package/dist/redux/certificate/reducer.d.ts +4 -2
- package/dist/redux/classes/action.d.ts +1 -1
- package/dist/redux/classes/reducer.d.ts +4 -2
- package/dist/redux/commons/action.d.ts +18 -18
- package/dist/redux/commons/reducer.d.ts +4 -2
- package/dist/redux/conferenceRubrics/action.d.ts +1 -1
- package/dist/redux/conferenceRubrics/reducer.d.ts +4 -2
- package/dist/redux/customAlert/action.d.ts +1 -1
- package/dist/redux/customAlert/reducer.d.ts +4 -2
- package/dist/redux/dashboard/action.d.ts +5 -5
- package/dist/redux/dashboard/reducer.d.ts +4 -2
- package/dist/redux/dataPlayer/action.d.ts +2 -2
- package/dist/redux/dataPlayer/reducer.d.ts +4 -2
- package/dist/redux/emailTemplates/action.d.ts +1 -1
- package/dist/redux/emailTemplates/reducer.d.ts +4 -2
- package/dist/redux/faqs/action.d.ts +1 -1
- package/dist/redux/faqs/reducer.d.ts +4 -2
- package/dist/redux/feedback/action.d.ts +1 -1
- package/dist/redux/feedback/reducer.d.ts +4 -2
- package/dist/redux/gallery/action.d.ts +2 -2
- package/dist/redux/gallery/reducer.d.ts +4 -2
- package/dist/redux/goalExamples/action.d.ts +1 -1
- package/dist/redux/goalExamples/reducer.d.ts +4 -2
- package/dist/redux/improveMyClass/action.d.ts +1 -1
- package/dist/redux/improveMyClass/reducer.d.ts +4 -2
- package/dist/redux/learningStrategies/action.d.ts +1 -1
- package/dist/redux/learningStrategies/reducer.d.ts +4 -2
- package/dist/redux/learningSupportCategories/action.d.ts +1 -1
- package/dist/redux/learningSupportCategories/reducer.d.ts +4 -2
- package/dist/redux/mailCategories/action.d.ts +1 -1
- package/dist/redux/mailCategories/reducer.d.ts +4 -2
- package/dist/redux/navMobile/action.d.ts +1 -1
- package/dist/redux/navMobile/reducer.d.ts +4 -2
- package/dist/redux/notifications/action.d.ts +3 -3
- package/dist/redux/notifications/reducer.d.ts +4 -2
- package/dist/redux/questionBanks/action.d.ts +1 -1
- package/dist/redux/questionBanks/reducer.d.ts +4 -2
- package/dist/redux/questionByCategory/action.d.ts +8 -8
- package/dist/redux/questionByCategory/reducer.d.ts +4 -2
- package/dist/redux/questionCategory/action.d.ts +1 -1
- package/dist/redux/questionCategory/reducer.d.ts +4 -2
- package/dist/redux/reflectionForms/action.d.ts +1 -1
- package/dist/redux/reflectionForms/reducer.d.ts +4 -2
- package/dist/redux/reflectionResults/action.d.ts +1 -1
- package/dist/redux/reflectionResults/reducer.d.ts +4 -2
- package/dist/redux/schoolBlankDays/action.d.ts +1 -1
- package/dist/redux/schoolBlankDays/reducer.d.ts +4 -2
- package/dist/redux/semester/action.d.ts +1 -1
- package/dist/redux/semester/reducer.d.ts +4 -2
- package/dist/redux/sessionPlayers/action.d.ts +5 -5
- package/dist/redux/sessionPlayers/reducer.d.ts +4 -2
- package/dist/redux/sessionTemplateGeneralClasses/action.d.ts +1 -1
- package/dist/redux/sessionTemplateGeneralClasses/reducer.d.ts +4 -2
- package/dist/redux/sessionTemplates/action.d.ts +1 -1
- package/dist/redux/sessionTemplates/reducer.d.ts +4 -2
- package/dist/redux/skills/action.d.ts +1 -1
- package/dist/redux/skills/reducer.d.ts +4 -2
- package/dist/redux/subjects/action.d.ts +1 -1
- package/dist/redux/subjects/reducer.d.ts +4 -2
- package/dist/redux/suggestionBanks/action.d.ts +1 -1
- package/dist/redux/suggestionBanks/reducer.d.ts +4 -2
- package/dist/redux/teacher/myStudent/action.d.ts +1 -1
- package/dist/redux/teacher/myStudent/reducer.d.ts +4 -2
- package/dist/redux/tutorialScreen/action.d.ts +1 -1
- package/dist/redux/tutorialScreen/reducer.d.ts +10 -5
- package/dist/redux/users/action.d.ts +2 -2
- package/dist/redux/users/reducer.d.ts +4 -2
- package/dist/redux/widget/action.d.ts +1 -1
- package/dist/redux/widget/reducer.d.ts +4 -2
- package/dist/rootReducer.d.ts +96 -49
- package/dist/services/accountService.d.ts +13 -12
- package/dist/services/api.d.ts +3 -3
- package/dist/services/classService.d.ts +1 -1
- package/dist/services/emailTemplateService.d.ts +6 -6
- package/dist/services/faqService.d.ts +6 -6
- package/dist/services/fileServices.d.ts +13 -13
- package/dist/services/galleryService.d.ts +2 -2
- package/dist/services/languageService.d.ts +1 -0
- package/dist/services/mailCategoryService.d.ts +1 -1
- package/dist/services/notificationService.d.ts +7 -7
- package/dist/services/questionCategoryService.d.ts +1 -1
- package/dist/services/schoolService.d.ts +1 -0
- package/dist/services/skillService.d.ts +6 -6
- package/dist/services/suggestionCategoryService.d.ts +1 -1
- package/dist/services/userService.d.ts +21 -9
- package/dist/store.d.ts +3 -3
- package/dist/types/Conversation.d.ts +8 -8
- package/dist/types/ConversationMember.d.ts +5 -5
- package/dist/types/Dashboard.d.ts +5 -5
- package/dist/types/Filter.d.ts +10 -10
- package/dist/types/Language.d.ts +8 -0
- package/dist/types/Message.d.ts +13 -13
- package/dist/types/Notification.d.ts +8 -8
- package/dist/utils/canAccessRoute.d.ts +2 -2
- package/dist/utils/constants.d.ts +77 -67
- package/dist/utils/debounce.d.ts +2 -2
- package/dist/utils/domHelpers.d.ts +2 -2
- package/dist/utils/encodeParams.d.ts +2 -2
- package/dist/utils/firstCheckToken.d.ts +2 -2
- package/dist/utils/generateRandomString.d.ts +2 -2
- package/dist/utils/getAccessToken.d.ts +2 -2
- package/dist/utils/getCookieValue.d.ts +2 -0
- package/dist/utils/getFileUrl.d.ts +2 -2
- package/dist/utils/getStaticFileUrl.d.ts +2 -0
- package/dist/utils/getTextFromHTML.d.ts +2 -2
- package/dist/utils/utcToLocalTime.d.ts +2 -2
- package/package.json +68 -77
- package/dist/components/Alerts/ReactNotification.d.ts +0 -4
- package/dist/containers/Login/constant/type.d.ts +0 -5
- package/dist/containers/Login/views/ModelSelectRole.d.ts +0 -4
- package/dist/index.css +0 -658
- package/dist/index.js.map +0 -1
- package/dist/index.modern.js.map +0 -1
- package/dist/index.test.d.ts +0 -1
- package/dist/layouts/TheFooter.d.ts +0 -3
- package/dist/layouts/TheHeader.d.ts +0 -3
- package/dist/layouts/TheHeaderDropdown.d.ts +0 -3
- package/dist/layouts/TheLanguageDropdown.d.ts +0 -3
- package/dist/layouts/TheLayout.d.ts +0 -4
- package/dist/layouts/TheSidebar.d.ts +0 -3
- package/dist/types/Payload.d.ts +0 -15
- package/dist/utils/amplitude.d.ts +0 -1
|
@@ -1,67 +1,77 @@
|
|
|
1
|
-
import { Filter } from "../types/Filter";
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const ACCESS_TOKEN = "ACCESS_TOKEN";
|
|
6
|
-
export declare const DEFAULT_PAGE_SIZE_VALUES: {
|
|
7
|
-
label: string;
|
|
8
|
-
value: number;
|
|
9
|
-
}[];
|
|
10
|
-
export declare const DEFAULT_PAGE_SIZE: {
|
|
11
|
-
label: string;
|
|
12
|
-
value: number;
|
|
13
|
-
};
|
|
14
|
-
export declare const DEFAULT_FILTER: Filter;
|
|
15
|
-
export declare const COLORS: {
|
|
16
|
-
DANGER: string;
|
|
17
|
-
WARNING: string;
|
|
18
|
-
SUCCESS: string;
|
|
19
|
-
INFO: string;
|
|
20
|
-
};
|
|
21
|
-
export declare const DATE_FORMAT = "yyyy-MM-dd";
|
|
22
|
-
export declare const DATE_RESULT = "dd-MM-yyyy";
|
|
23
|
-
export declare const FULL_DATE_RESULT = "dd-MM-yyyy HH:mm";
|
|
24
|
-
export declare const FULL_DATE_FORMAT = "yyyy-MM-dd HH:mm";
|
|
25
|
-
export declare const DATE_MIN_VALUE = "0001-01-01T00:00:00";
|
|
26
|
-
export declare const LICENSE_AGGRID = "Alhanko&Johnson_BASE23_single_1_Devs__22_November_2020_[v2]_MTYwNjAwMzIwMDAwMA==d452f38afc893671cad92795e95d52a1";
|
|
27
|
-
export declare const BASE_URL: string;
|
|
28
|
-
export declare const
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
export declare const
|
|
51
|
-
export declare const
|
|
52
|
-
export declare const
|
|
53
|
-
export declare const
|
|
54
|
-
export declare const
|
|
55
|
-
export declare const
|
|
56
|
-
export declare const
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
1
|
+
import { Filter } from "../types/Filter";
|
|
2
|
+
import { Language } from "../types/Language";
|
|
3
|
+
export declare const TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";
|
|
4
|
+
export declare const GOOGLE_RECAPTCHA_KEY = "6LfNtLUaAAAAAL24lbBV11jS-gBtt1mhtxb4NXs0";
|
|
5
|
+
export declare const ACCESS_TOKEN = "ACCESS_TOKEN";
|
|
6
|
+
export declare const DEFAULT_PAGE_SIZE_VALUES: {
|
|
7
|
+
label: string;
|
|
8
|
+
value: number;
|
|
9
|
+
}[];
|
|
10
|
+
export declare const DEFAULT_PAGE_SIZE: {
|
|
11
|
+
label: string;
|
|
12
|
+
value: number;
|
|
13
|
+
};
|
|
14
|
+
export declare const DEFAULT_FILTER: Filter;
|
|
15
|
+
export declare const COLORS: {
|
|
16
|
+
DANGER: string;
|
|
17
|
+
WARNING: string;
|
|
18
|
+
SUCCESS: string;
|
|
19
|
+
INFO: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const DATE_FORMAT = "yyyy-MM-dd";
|
|
22
|
+
export declare const DATE_RESULT = "dd-MM-yyyy";
|
|
23
|
+
export declare const FULL_DATE_RESULT = "dd-MM-yyyy HH:mm";
|
|
24
|
+
export declare const FULL_DATE_FORMAT = "yyyy-MM-dd HH:mm";
|
|
25
|
+
export declare const DATE_MIN_VALUE = "0001-01-01T00:00:00";
|
|
26
|
+
export declare const LICENSE_AGGRID = "Alhanko&Johnson_BASE23_single_1_Devs__22_November_2020_[v2]_MTYwNjAwMzIwMDAwMA==d452f38afc893671cad92795e95d52a1";
|
|
27
|
+
export declare const BASE_URL: string;
|
|
28
|
+
export declare const isLocalhost: boolean;
|
|
29
|
+
export declare const QUESTION_TYPES_OPTIONS: {
|
|
30
|
+
label: string;
|
|
31
|
+
value: string;
|
|
32
|
+
}[];
|
|
33
|
+
export declare const QUESTION_TYPES: {
|
|
34
|
+
SINGLE_CHOICE: string;
|
|
35
|
+
MULTIPLE_CHOICE: string;
|
|
36
|
+
TEXT_INPUT: string;
|
|
37
|
+
SLIDER: string;
|
|
38
|
+
PROGRESS_BAR: string;
|
|
39
|
+
STAR_RATING: string;
|
|
40
|
+
TEXT_INPUT_WITH_SUGGESTIONS: string;
|
|
41
|
+
EMOTIONAL: string;
|
|
42
|
+
SUMMARIZE: string;
|
|
43
|
+
RATING: string;
|
|
44
|
+
LEARNING_STRATEGY: string;
|
|
45
|
+
};
|
|
46
|
+
export declare const STAR_OPTIONS: {
|
|
47
|
+
label: number;
|
|
48
|
+
value: number;
|
|
49
|
+
}[];
|
|
50
|
+
export declare const ANSWER_EDITOR_HEIGHT = 150;
|
|
51
|
+
export declare const USER_ROLES: string[];
|
|
52
|
+
export declare const CHAT_CHANNEL = "chat-channel";
|
|
53
|
+
export declare const NOTIFICATION_CHANNEL = "NOTIFICATION_CHANNEL";
|
|
54
|
+
export declare const NEW_NOTIFICATION = "NEW_NOTIFICATION";
|
|
55
|
+
export declare const DEFAULT_IMAGE_URL = "https://tleliteracy.com/wp-content/uploads/2017/02/default-avatar.png";
|
|
56
|
+
export declare const EMOTIONS: string[];
|
|
57
|
+
export declare const TAB_COLORS: {
|
|
58
|
+
reflect: string;
|
|
59
|
+
goal: string;
|
|
60
|
+
};
|
|
61
|
+
export declare const ROLES: {
|
|
62
|
+
ADMIN: string;
|
|
63
|
+
TEACHER: string;
|
|
64
|
+
ASSISTANT: string;
|
|
65
|
+
EDUTEACHER: string;
|
|
66
|
+
STUDENT: string;
|
|
67
|
+
PARENT: string;
|
|
68
|
+
};
|
|
69
|
+
export declare const NOTIFICATION_ALERT_KEY = "NOTIFICATION_ALERT_KEY";
|
|
70
|
+
export declare const handleUserRole: (userRoles: string[]) => string[];
|
|
71
|
+
export declare const MARIO_LEARNING_STUDIO_BASE_URL = "https://mariolearningstudio.com";
|
|
72
|
+
export declare const DEFAULT_LANGUAGE_CODE = "en-US";
|
|
73
|
+
export declare const LANGUAGES: Language[];
|
|
74
|
+
export declare const SUPPORTED_LANGUAGES_CODE: string[];
|
|
75
|
+
export declare const IS_USER_SESSION_BROWSER = "IS_USER_SESSION_BROWSER";
|
|
76
|
+
export declare const defaultFontSmall = 12;
|
|
77
|
+
export declare const defaultFontLarge = 20;
|
package/dist/utils/debounce.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const debounce: (callback: any, wait: number) => (...args: any[]) => void;
|
|
2
|
-
export default debounce;
|
|
1
|
+
declare const debounce: (callback: any, wait: number) => (...args: any[]) => void;
|
|
2
|
+
export default debounce;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const isInViewport: (el: any) => boolean;
|
|
2
|
-
export declare const toogleSidebar: () => void;
|
|
1
|
+
export declare const isInViewport: (el: any) => boolean;
|
|
2
|
+
export declare const toogleSidebar: () => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: (params: any) => string;
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: (params: any) => string;
|
|
2
|
+
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const firstCheckToken: () => Promise<boolean>;
|
|
2
|
-
export default firstCheckToken;
|
|
1
|
+
declare const firstCheckToken: () => Promise<boolean>;
|
|
2
|
+
export default firstCheckToken;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: () => string;
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: () => string;
|
|
2
|
+
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: () => string | null;
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: () => string | null;
|
|
2
|
+
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const getFileUrl: (fileName: string) => string;
|
|
2
|
-
export default getFileUrl;
|
|
1
|
+
declare const getFileUrl: (fileName: string) => string;
|
|
2
|
+
export default getFileUrl;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const getTextFromHTML: (htmlString: string) => string;
|
|
2
|
-
export default getTextFromHTML;
|
|
1
|
+
declare const getTextFromHTML: (htmlString: string) => string;
|
|
2
|
+
export default getTextFromHTML;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: (time: string, FORMAT?: string
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: (time: string, FORMAT?: string) => string;
|
|
2
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,100 +1,91 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mario-core",
|
|
3
|
-
"version": "3.0.8-
|
|
3
|
+
"version": "3.0.8-es",
|
|
4
4
|
"description": "Contains core components && functions for Mario project",
|
|
5
5
|
"author": "brss",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"
|
|
8
|
-
"main": "dist/index.js",
|
|
9
|
-
"module": "dist/index.modern.js",
|
|
10
|
-
"
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./dist/index.js",
|
|
9
|
+
"module": "./dist/index.modern.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.modern.js",
|
|
15
|
+
"require": "./dist/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./dist/mario-core.css": "./dist/mario-core.css"
|
|
18
|
+
},
|
|
11
19
|
"engines": {
|
|
12
|
-
|
|
20
|
+
"node": ">=24"
|
|
13
21
|
},
|
|
14
22
|
"scripts": {
|
|
15
|
-
"build": "
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
23
|
+
"build:types": "tsc -p tsconfig.build.json",
|
|
24
|
+
"build:js": "vite build --mode production",
|
|
25
|
+
"build": "npm run build:types && npm run build:js",
|
|
26
|
+
"start": "concurrently -k \"tsc --noEmit --watch\" \"vite build --watch --mode development\"",
|
|
27
|
+
"prepare": "npm run build",
|
|
28
|
+
"test": "npm run test:lint && npm run test:build",
|
|
29
|
+
"test:build": "npm run build",
|
|
20
30
|
"test:lint": "eslint .",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
31
|
+
"dev": "vite",
|
|
32
|
+
"preview": "vite preview",
|
|
33
|
+
"type-check": "tsc --noEmit"
|
|
23
34
|
},
|
|
24
35
|
"peerDependencies": {
|
|
25
|
-
"react": "^
|
|
26
|
-
"react-dom": "
|
|
27
|
-
"react-
|
|
28
|
-
"react-
|
|
36
|
+
"react": "^18 || ^19",
|
|
37
|
+
"react-dom": "^18 || ^19",
|
|
38
|
+
"react-redux": "*",
|
|
39
|
+
"react-router-dom": "^6.30.2"
|
|
29
40
|
},
|
|
30
41
|
"devDependencies": {
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@types/
|
|
36
|
-
"@types/
|
|
37
|
-
"@
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"eslint": "^6.8.0",
|
|
51
|
-
"eslint-config-prettier": "^6.7.0",
|
|
52
|
-
"eslint-config-standard": "^14.1.0",
|
|
53
|
-
"eslint-config-standard-react": "^9.2.0",
|
|
54
|
-
"eslint-plugin-import": "^2.18.2",
|
|
55
|
-
"eslint-plugin-node": "^11.0.0",
|
|
56
|
-
"eslint-plugin-prettier": "^3.3.1",
|
|
57
|
-
"eslint-plugin-promise": "^4.2.1",
|
|
58
|
-
"eslint-plugin-react": "^7.17.0",
|
|
59
|
-
"eslint-plugin-standard": "^4.0.1",
|
|
60
|
-
"gh-pages": "^2.2.0",
|
|
61
|
-
"microbundle-crl": "^0.13.10",
|
|
62
|
-
"npm-run-all": "^4.1.5",
|
|
63
|
-
"prettier": "^2.0.4",
|
|
64
|
-
"react-scripts": "^3.4.1",
|
|
65
|
-
"redux-logger": "^3.0.6",
|
|
66
|
-
"typescript": "^3.7.5"
|
|
42
|
+
"@eslint/js": "^9.39.1",
|
|
43
|
+
"@types/node": "^22.0.0",
|
|
44
|
+
"@types/prop-types": "^15.7.15",
|
|
45
|
+
"@types/react": "^18.3.0",
|
|
46
|
+
"@types/react-dom": "^18.3.0",
|
|
47
|
+
"@types/react-datepicker": "^7.0.0",
|
|
48
|
+
"@vitejs/plugin-react": "^5.1.1",
|
|
49
|
+
"babel-plugin-react-compiler": "^1.0.0",
|
|
50
|
+
"concurrently": "^9.2.1",
|
|
51
|
+
"eslint": "^9.39.1",
|
|
52
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
53
|
+
"eslint-plugin-react-refresh": "^0.4.24",
|
|
54
|
+
"eslint-plugin-unused-imports": "^4.3.0",
|
|
55
|
+
"globals": "^16.5.0",
|
|
56
|
+
"prettier": "^3.7.4",
|
|
57
|
+
"sass": "^1.83.4",
|
|
58
|
+
"typescript": "5.7.3",
|
|
59
|
+
"typescript-eslint": "^8.46.4",
|
|
60
|
+
"vite": "^6.0.6"
|
|
67
61
|
},
|
|
68
62
|
"files": [
|
|
69
63
|
"dist"
|
|
70
64
|
],
|
|
71
65
|
"dependencies": {
|
|
72
|
-
"@
|
|
73
|
-
"@
|
|
74
|
-
"@coreui/react": "
|
|
75
|
-
"@
|
|
76
|
-
"@
|
|
66
|
+
"@azure/msal-browser": "^4.27.0",
|
|
67
|
+
"@azure/msal-react": "^3.0.23",
|
|
68
|
+
"@coreui/react": "^5.0.0",
|
|
69
|
+
"@react-oauth/google": "^0.12.2",
|
|
70
|
+
"@reduxjs/toolkit": "^2.11.2",
|
|
71
|
+
"@tinymce/tinymce-react": "^6.3.0",
|
|
77
72
|
"@types/amplitude-js": "^8.16.2",
|
|
78
|
-
"@types/react-notifications-component": "2.4.0",
|
|
79
73
|
"amplitude-js": "^8.18.5",
|
|
80
|
-
"axios": "^
|
|
81
|
-
"bootstrap": "^
|
|
82
|
-
"date-fns": "^
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"react-
|
|
90
|
-
"react-google-login": "^5.2.2",
|
|
91
|
-
"react-google-recaptcha-v3": "^1.9.3",
|
|
92
|
-
"react-i18next": "^11.8.5",
|
|
74
|
+
"axios": "^1.13.2",
|
|
75
|
+
"bootstrap": "^5.3.8",
|
|
76
|
+
"date-fns": "^4.1.0",
|
|
77
|
+
"date-fns-tz": "^3.2.0",
|
|
78
|
+
"formik": "^2.4.6",
|
|
79
|
+
"i18next": "^25.7.3",
|
|
80
|
+
"pusher-js": "^8.4.0",
|
|
81
|
+
"react-datepicker": "^7.5.0",
|
|
82
|
+
"react-google-recaptcha-v3": "^1.10.1",
|
|
83
|
+
"react-i18next": "^15.2.0",
|
|
93
84
|
"react-icons": "^4.2.0",
|
|
94
|
-
"react-
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"yup": "^
|
|
85
|
+
"react-select": "^5.10.2",
|
|
86
|
+
"reactstrap": "^9.1.9",
|
|
87
|
+
"redux-thunk": "^3.1.0",
|
|
88
|
+
"tinymce": "^8.3.1",
|
|
89
|
+
"yup": "^1.7.1"
|
|
99
90
|
}
|
|
100
91
|
}
|