mario-core 1.0.2 → 1.0.3-base-upgrade

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.
Files changed (272) hide show
  1. package/dist/assets/Images.d.ts +9 -0
  2. package/dist/components/Alerts/CommonAlert.d.ts +3 -0
  3. package/dist/components/Alerts/EmptyDataAlert.d.ts +2 -2
  4. package/dist/components/Alerts/SandboxAlert.d.ts +3 -0
  5. package/dist/components/Buttons/AddButton.d.ts +1 -1
  6. package/dist/components/Buttons/CloseButton.d.ts +8 -0
  7. package/dist/components/Buttons/DeleteButtonIcon.d.ts +2 -1
  8. package/dist/components/Buttons/LoginNavButton.d.ts +8 -0
  9. package/dist/components/Buttons/SyncButton.d.ts +8 -0
  10. package/dist/components/Buttons/ToggleButton.d.ts +10 -0
  11. package/dist/components/Buttons/UploadFileButton.d.ts +13 -0
  12. package/dist/components/Image/UploadImage.d.ts +3 -0
  13. package/dist/components/Inputs/FileInput.d.ts +8 -0
  14. package/dist/components/Inputs/PasswordInput.d.ts +9 -0
  15. package/dist/components/Inputs/SearchBoxContainer.d.ts +10 -0
  16. package/dist/components/Labels/RequiredLabel.d.ts +1 -0
  17. package/dist/components/Modals/NotificationLogoutModal.d.ts +3 -0
  18. package/dist/components/Modals/NotificationModal.d.ts +2 -2
  19. package/dist/components/Others/QuitPrompt.d.ts +5 -0
  20. package/dist/components/Pagination/CustomPagination.d.ts +2 -2
  21. package/dist/components/Scroll/ScrollToTop.d.ts +3 -0
  22. package/dist/components/Selectors/AcademicClassSelector.d.ts +3 -0
  23. package/dist/components/Selectors/CategorySelector.d.ts +3 -0
  24. package/dist/components/Selectors/CreatableSelector.d.ts +2 -2
  25. package/dist/components/Selectors/CustomSelector.d.ts +2 -2
  26. package/dist/components/Selectors/MailCategorySelectors.d.ts +2 -2
  27. package/dist/components/Selectors/QuestionCategorySelector.d.ts +3 -0
  28. package/dist/components/Selectors/QuestionTypeSelector.d.ts +2 -2
  29. package/dist/components/Selectors/StarRatingSelector.d.ts +2 -2
  30. package/dist/components/Selectors/SuggestionCategorySelector.d.ts +3 -0
  31. package/dist/components/Selectors/constants/constant.d.ts +10 -0
  32. package/dist/components/Selectors/hooks/useCategorySelector.d.ts +5 -0
  33. package/dist/components/Tabs/CustomTab.d.ts +3 -0
  34. package/dist/components/Tabs/TabsWithComponent.d.ts +10 -0
  35. package/dist/configs/editorConfig.d.ts +6 -6
  36. package/dist/containers/DistrictSchools/views/SchoolList.d.ts +3 -0
  37. package/dist/containers/EmailTemplate/components/AttachmentFile.d.ts +7 -0
  38. package/dist/containers/EmailTemplate/components/MailParam.d.ts +1 -0
  39. package/dist/containers/EmailTemplate/configs/emailTemplateSchema.d.ts +11 -9
  40. package/dist/containers/EmailTemplate/hooks/useEmailTemplateDetail.d.ts +16 -2
  41. package/dist/containers/EmailTemplate/hooks/useEmailTemplateList.d.ts +3 -2
  42. package/dist/containers/Gallery/components/Filter.d.ts +8 -0
  43. package/dist/containers/Gallery/components/Media.d.ts +8 -0
  44. package/dist/containers/Gallery/components/MediaDetail.d.ts +7 -0
  45. package/dist/containers/Gallery/components/MediaList.d.ts +7 -0
  46. package/dist/containers/Gallery/components/MediaNav.d.ts +18 -0
  47. package/dist/containers/Gallery/constants/gallery.types.d.ts +21 -0
  48. package/dist/containers/Gallery/extensions/helpers.d.ts +4 -0
  49. package/dist/containers/Gallery/hooks/useGalleryList.d.ts +31 -0
  50. package/dist/containers/Gallery/views/GalleryList.d.ts +6 -0
  51. package/dist/containers/Login/constant/authConfig.d.ts +38 -0
  52. package/dist/containers/Login/constant/types.d.ts +34 -0
  53. package/dist/containers/Login/hooks/useCreatePassword.d.ts +13 -0
  54. package/dist/containers/Login/hooks/useForgotPassword.d.ts +23 -0
  55. package/dist/containers/Login/hooks/useLogin.d.ts +21 -0
  56. package/dist/containers/Login/hooks/useLoginTwoFactor.d.ts +4 -0
  57. package/dist/containers/Login/views/Dashboard.d.ts +4 -0
  58. package/dist/containers/Login/views/Login.d.ts +9 -2
  59. package/dist/containers/Login/views/block/BlockBackground.d.ts +7 -0
  60. package/dist/containers/Login/views/block/BlockCreatePassword.d.ts +3 -0
  61. package/dist/containers/Login/views/block/BlockForgetPassword.d.ts +7 -0
  62. package/dist/containers/Login/views/block/BlockLogin.d.ts +21 -0
  63. package/dist/containers/Login/views/block/BlockResetPassword.d.ts +3 -0
  64. package/dist/containers/Login/views/block/BlockSelectTeacher.d.ts +11 -0
  65. package/dist/containers/Login/views/block/BlockTwoFactorLogin.d.ts +3 -0
  66. package/dist/containers/Login/views/block/CloseBlock.d.ts +6 -0
  67. package/dist/containers/Login/views/block/ContentHomePage.d.ts +5 -0
  68. package/dist/containers/Login/views/block/IconContent.d.ts +7 -0
  69. package/dist/containers/Login/views/block/QuoteContent.d.ts +3 -0
  70. package/dist/containers/Notifications/components/NotificationButton.d.ts +5 -0
  71. package/dist/containers/Notifications/components/NotificationStatusSelector.d.ts +7 -0
  72. package/dist/containers/Notifications/hooks/useNotificationList.d.ts +17 -0
  73. package/dist/containers/Notifications/hooks/useUnreadNotification.d.ts +4 -0
  74. package/dist/containers/Notifications/views/NotificationList.d.ts +3 -0
  75. package/dist/containers/Skill/components/SkillSelector.d.ts +3 -0
  76. package/dist/containers/Skill/hooks/useSkillDetail.d.ts +8 -1
  77. package/dist/containers/Skill/hooks/useSkillList.d.ts +2 -2
  78. package/dist/containers/User/components/AssignStudentModal.d.ts +20 -0
  79. package/dist/containers/User/components/DeleteBulkModel copy.d.ts +4 -0
  80. package/dist/containers/User/components/DeleteBulkModel.d.ts +4 -0
  81. package/dist/containers/User/components/FilterPopover.d.ts +21 -0
  82. package/dist/containers/User/components/HeaderCell.d.ts +19 -0
  83. package/dist/containers/User/components/RemoveAssistant.d.ts +4 -0
  84. package/dist/containers/User/components/RemoveCounselor.d.ts +4 -0
  85. package/dist/containers/User/components/RemoveSupportTeacher.d.ts +4 -0
  86. package/dist/containers/User/components/RemoveTeacher.d.ts +4 -0
  87. package/dist/containers/User/components/SwitchDataTeacherModel.d.ts +12 -0
  88. package/dist/containers/User/components/TableHeader.d.ts +15 -0
  89. package/dist/containers/User/components/TeacherSelector.d.ts +3 -0
  90. package/dist/containers/User/components/UploadCSVButton.d.ts +11 -0
  91. package/dist/containers/User/components/UserDeletedModal.d.ts +3 -0
  92. package/dist/containers/User/configs/changePasswordSchema.d.ts +11 -0
  93. package/dist/containers/User/configs/userSchema.d.ts +13 -0
  94. package/dist/containers/User/configs/utils.d.ts +8 -0
  95. package/dist/containers/User/constants/constants.d.ts +63 -0
  96. package/dist/containers/User/constants/types.d.ts +265 -0
  97. package/dist/containers/User/hooks/useAssignStudent.d.ts +45 -0
  98. package/dist/containers/User/hooks/useAssignStudentList.d.ts +36 -0
  99. package/dist/containers/User/hooks/useAssistantList.d.ts +10 -0
  100. package/dist/containers/User/hooks/useCSVImport.d.ts +38 -0
  101. package/dist/containers/User/hooks/useCSVImportTab.d.ts +46 -0
  102. package/dist/containers/User/hooks/useClickOutside.d.ts +2 -0
  103. package/dist/containers/User/hooks/useCounselorList.d.ts +10 -0
  104. package/dist/containers/User/hooks/useExportUsersCsv.d.ts +5 -0
  105. package/dist/containers/User/hooks/useFilterPopover.d.ts +37 -0
  106. package/dist/containers/User/hooks/useResendMail.d.ts +5 -0
  107. package/dist/containers/User/hooks/useRosterUserSelector.d.ts +8 -0
  108. package/dist/containers/User/hooks/useSecondaryTeacherList.d.ts +10 -0
  109. package/dist/containers/User/hooks/useTableHeader.d.ts +20 -0
  110. package/dist/containers/User/hooks/useTeacherList.d.ts +10 -0
  111. package/dist/containers/User/hooks/useUserDeletedList.d.ts +22 -0
  112. package/dist/containers/User/hooks/useUserDeletedModal.d.ts +14 -0
  113. package/dist/containers/User/hooks/useUserDetail.d.ts +42 -0
  114. package/dist/containers/User/hooks/useUserList.d.ts +11 -2
  115. package/dist/containers/User/hooks/userFilters.d.ts +8 -0
  116. package/dist/containers/User/views/AssignStudentList.d.ts +3 -0
  117. package/dist/containers/User/views/CSVImport.d.ts +3 -0
  118. package/dist/containers/User/views/RosterUserSelector.d.ts +8 -0
  119. package/dist/containers/User/views/UserContainer.d.ts +3 -0
  120. package/dist/containers/User/views/UserDeletedList.d.ts +3 -0
  121. package/dist/containers/User/views/UserDetail.d.ts +3 -0
  122. package/dist/containers/User/views/UserList.d.ts +2 -2
  123. package/dist/hooks/useFilters.d.ts +8 -0
  124. package/dist/hooks/useLanguages.d.ts +10 -0
  125. package/dist/i18n.d.ts +2 -0
  126. package/dist/index.css +1236 -3
  127. package/dist/index.d.ts +77 -6
  128. package/dist/index.js +34974 -1984
  129. package/dist/index.js.map +1 -1
  130. package/dist/index.modern.js +34477 -1611
  131. package/dist/index.modern.js.map +1 -1
  132. package/dist/layouts/TheContent.d.ts +1 -1
  133. package/dist/redux/assessments/action.d.ts +1 -0
  134. package/dist/redux/assessments/reducer.d.ts +13 -0
  135. package/dist/redux/assignment/action.d.ts +1 -0
  136. package/dist/{commons → redux/assignment}/reducer.d.ts +3 -1
  137. package/dist/redux/assistants/action.d.ts +1 -0
  138. package/dist/redux/assistants/reducer.d.ts +4 -0
  139. package/dist/redux/badges/action.d.ts +1 -1
  140. package/dist/redux/badges/reducer.d.ts +3 -1
  141. package/dist/redux/bandScores/action.d.ts +1 -0
  142. package/dist/redux/bandScores/reducer.d.ts +4 -0
  143. package/dist/redux/certificate/action.d.ts +1 -0
  144. package/dist/redux/certificate/reducer.d.ts +4 -0
  145. package/dist/redux/classes/action.d.ts +1 -1
  146. package/dist/redux/classes/reducer.d.ts +3 -1
  147. package/dist/redux/commons/action.d.ts +19 -0
  148. package/dist/redux/commons/reducer.d.ts +3 -1
  149. package/dist/redux/conferenceRubrics/action.d.ts +1 -0
  150. package/dist/redux/conferenceRubrics/reducer.d.ts +4 -0
  151. package/dist/redux/customAlert/action.d.ts +1 -0
  152. package/dist/redux/customAlert/reducer.d.ts +4 -0
  153. package/dist/redux/dashboard/action.d.ts +5 -0
  154. package/dist/redux/dashboard/reducer.d.ts +4 -0
  155. package/dist/redux/dataPlayer/action.d.ts +2 -0
  156. package/dist/redux/dataPlayer/reducer.d.ts +4 -0
  157. package/dist/redux/emailTemplates/action.d.ts +1 -1
  158. package/dist/redux/emailTemplates/reducer.d.ts +3 -1
  159. package/dist/redux/faqs/action.d.ts +1 -1
  160. package/dist/redux/faqs/reducer.d.ts +3 -1
  161. package/dist/redux/feedback/action.d.ts +1 -0
  162. package/dist/redux/feedback/reducer.d.ts +4 -0
  163. package/dist/redux/gallery/action.d.ts +2 -0
  164. package/dist/redux/gallery/reducer.d.ts +4 -0
  165. package/dist/redux/goalExamples/reducer.d.ts +3 -1
  166. package/dist/redux/improveMyClass/action.d.ts +1 -0
  167. package/dist/redux/improveMyClass/reducer.d.ts +4 -0
  168. package/dist/redux/learningStrategies/action.d.ts +1 -1
  169. package/dist/redux/learningStrategies/reducer.d.ts +3 -1
  170. package/dist/redux/learningSupportCategories/action.d.ts +1 -0
  171. package/dist/redux/learningSupportCategories/reducer.d.ts +4 -0
  172. package/dist/redux/mailCategories/action.d.ts +1 -0
  173. package/dist/redux/mailCategories/reducer.d.ts +4 -0
  174. package/dist/redux/navMobile/action.d.ts +1 -0
  175. package/dist/redux/navMobile/reducer.d.ts +4 -0
  176. package/dist/redux/notifications/action.d.ts +3 -0
  177. package/dist/redux/notifications/reducer.d.ts +4 -0
  178. package/dist/redux/questionBanks/action.d.ts +1 -1
  179. package/dist/redux/questionBanks/reducer.d.ts +3 -1
  180. package/dist/redux/questionByCategory/action.d.ts +8 -0
  181. package/dist/redux/questionByCategory/reducer.d.ts +4 -0
  182. package/dist/redux/questionCategory/action.d.ts +1 -0
  183. package/dist/redux/questionCategory/reducer.d.ts +4 -0
  184. package/dist/redux/reflectionForms/action.d.ts +1 -0
  185. package/dist/redux/reflectionForms/reducer.d.ts +4 -0
  186. package/dist/redux/reflectionResults/action.d.ts +1 -0
  187. package/dist/redux/reflectionResults/reducer.d.ts +4 -0
  188. package/dist/redux/schoolBlankDays/action.d.ts +1 -0
  189. package/dist/redux/schoolBlankDays/reducer.d.ts +4 -0
  190. package/dist/redux/semester/action.d.ts +1 -0
  191. package/dist/redux/semester/reducer.d.ts +4 -0
  192. package/dist/redux/sessionPlayers/action.d.ts +5 -0
  193. package/dist/redux/sessionPlayers/reducer.d.ts +4 -0
  194. package/dist/redux/sessionTemplateGeneralClasses/action.d.ts +1 -0
  195. package/dist/redux/sessionTemplateGeneralClasses/reducer.d.ts +4 -0
  196. package/dist/redux/sessionTemplates/action.d.ts +1 -0
  197. package/dist/redux/sessionTemplates/reducer.d.ts +4 -0
  198. package/dist/redux/skills/action.d.ts +1 -1
  199. package/dist/redux/skills/reducer.d.ts +3 -1
  200. package/dist/redux/subjects/action.d.ts +1 -1
  201. package/dist/redux/subjects/reducer.d.ts +3 -1
  202. package/dist/redux/suggestionBanks/action.d.ts +1 -1
  203. package/dist/redux/suggestionBanks/reducer.d.ts +3 -1
  204. package/dist/redux/teacher/myStudent/action.d.ts +1 -0
  205. package/dist/redux/teacher/myStudent/reducer.d.ts +4 -0
  206. package/dist/redux/tutorialScreen/action.d.ts +1 -0
  207. package/dist/redux/tutorialScreen/reducer.d.ts +13 -0
  208. package/dist/redux/users/action.d.ts +1 -0
  209. package/dist/redux/users/reducer.d.ts +3 -1
  210. package/dist/redux/weeklyQuests/action.d.ts +2 -0
  211. package/dist/redux/weeklyQuests/reducer.d.ts +16 -0
  212. package/dist/redux/widget/action.d.ts +1 -0
  213. package/dist/redux/widget/reducer.d.ts +4 -0
  214. package/dist/rootReducer.d.ts +93 -2
  215. package/dist/services/accountService.d.ts +21 -3
  216. package/dist/services/api.d.ts +3 -2
  217. package/dist/services/classService.d.ts +1 -0
  218. package/dist/services/csvImportService.d.ts +9 -0
  219. package/dist/services/csvService.d.ts +8 -0
  220. package/dist/services/emailTemplateService.d.ts +6 -5
  221. package/dist/services/fileServices.d.ts +13 -0
  222. package/dist/services/galleryService.d.ts +2 -0
  223. package/dist/services/mailCategoryService.d.ts +1 -0
  224. package/dist/services/notificationService.d.ts +7 -0
  225. package/dist/services/questionCategoryService.d.ts +3 -0
  226. package/dist/services/schoolService.d.ts +2 -0
  227. package/dist/services/skillService.d.ts +5 -5
  228. package/dist/services/suggestionCategoryService.d.ts +1 -0
  229. package/dist/services/userService.d.ts +37 -6
  230. package/dist/types/ConversationMember.d.ts +5 -0
  231. package/dist/types/Dashboard.d.ts +5 -0
  232. package/dist/types/Filter.d.ts +8 -0
  233. package/dist/types/Language.d.ts +8 -0
  234. package/dist/types/Message.d.ts +13 -0
  235. package/dist/types/Notification.d.ts +8 -0
  236. package/dist/types/Payload.d.ts +17 -0
  237. package/dist/types/user.d.ts +3 -0
  238. package/dist/utils/constants.d.ts +48 -2
  239. package/dist/utils/debounce.d.ts +2 -0
  240. package/dist/utils/domHelpers.d.ts +2 -0
  241. package/dist/utils/getCookieValue.d.ts +2 -0
  242. package/dist/utils/getFileUrl.d.ts +2 -0
  243. package/dist/utils/getStaticFileUrl.d.ts +2 -0
  244. package/dist/utils/getTextFromHTML.d.ts +2 -0
  245. package/dist/utils/utcToLocalTime.d.ts +1 -1
  246. package/package.json +56 -53
  247. package/README.md +0 -30
  248. package/dist/commons/action.d.ts +0 -2
  249. package/dist/containers/Classes/views/ClassList.d.ts +0 -3
  250. package/dist/containers/EmailTemplateDetail.d.ts +0 -3
  251. package/dist/containers/EmailTemplateList.d.ts +0 -3
  252. package/dist/containers/Faq/hooks/useFaqDetail.d.ts +0 -13
  253. package/dist/containers/Faq/hooks/useFaqList.d.ts +0 -9
  254. package/dist/containers/Faq/views/FaqList.d.ts +0 -3
  255. package/dist/containers/Login.d.ts +0 -3
  256. package/dist/containers/User.d.ts +0 -3
  257. package/dist/layouts/TheFooter.d.ts +0 -3
  258. package/dist/layouts/TheHeader.d.ts +0 -3
  259. package/dist/layouts/TheHeaderDropdown.d.ts +0 -3
  260. package/dist/layouts/TheLayout.d.ts +0 -3
  261. package/dist/layouts/TheSidebar.d.ts +0 -3
  262. package/dist/services/faqService.d.ts +0 -6
  263. package/dist/types/ClassDetail.d.ts +0 -3
  264. package/dist/utils/index.d.ts +0 -1
  265. package/dist/views/TheContent.d.ts +0 -3
  266. package/dist/views/TheFooter.d.ts +0 -3
  267. package/dist/views/TheHeader.d.ts +0 -3
  268. package/dist/views/TheHeaderDropdown.d.ts +0 -3
  269. package/dist/views/TheLayout.d.ts +0 -3
  270. package/dist/views/TheSidebar.d.ts +0 -3
  271. /package/dist/containers/{Classes/components/ClassDetailModal.d.ts → Gallery/components/ActionModal.d.ts} +0 -0
  272. /package/dist/containers/{Faq/components/FaqDetailModal.d.ts → User/components/SwitchTeacherModal.d.ts} +0 -0
@@ -1,3 +1,21 @@
1
- export declare const logIn: (data: any) => any;
2
- export declare const checkToken: (token: string) => any;
3
- export declare const getInfo: () => any;
1
+ import { ICreatePassword } from "../containers/Login/constant/types";
2
+ export declare const apiInforUserClassLink: (data: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
3
+ export declare const logIn: (data: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
4
+ export declare const checkToken: (token: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
5
+ export declare const getInfo: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
6
+ export declare const forgotPassword: (data: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
7
+ export declare const getUserNewPassword: (userId: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
8
+ export declare const checkResetToken: (token: string, key: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
9
+ export declare const resetPassword: (data: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
10
+ export declare const getStudentProfile: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
11
+ export declare const logInTwoFactor: (data: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
12
+ export declare const checkUserGoogle: (type: any, body: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
13
+ export declare const getAllLoginTeacher: (param: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
14
+ export declare const getGoogleClientId: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
15
+ export declare const registerUserStudent: (body: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
16
+ export declare const createPassword: (data: ICreatePassword) => Promise<import("axios").AxiosResponse<any, any, {}>>;
17
+ export declare const checkStudentAssign: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
18
+ export declare const assignTeacherByCode: (teacherCode: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
19
+ export declare const get: (filter: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
20
+ export declare const remove: (id: string, userChangeId?: string | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
21
+ export declare const getTeacher: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -1,2 +1,3 @@
1
- export declare const api: any;
2
- export declare const apiUpload: any;
1
+ import { AxiosInstance } from "axios";
2
+ export declare const api: AxiosInstance;
3
+ export declare const apiUpload: AxiosInstance;
@@ -0,0 +1 @@
1
+ export declare const get: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -0,0 +1,9 @@
1
+ import { CsvImportType } from "../utils/constants";
2
+ export declare const downloadTemplateFile: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
3
+ export declare const importCSV: (formData: FormData, subFolder: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
4
+ export declare const importStudentCSV: (formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
5
+ export declare const importClassReflectionCSV: (formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
6
+ export declare const importStudentByTeacher: (teacherId: number, formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
7
+ export declare const importUsersCSV: (formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
8
+ export declare const downloadTemplateFileUser: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
9
+ export declare const validateCsvApi: (formData: FormData, type: CsvImportType) => Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -0,0 +1,8 @@
1
+ export declare const downloadTemplateFile: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
2
+ export declare const importCSV: (formData: FormData, subFolder: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
3
+ export declare const importStudentCSV: (formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
4
+ export declare const importClassReflectionCSV: (formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
5
+ export declare const importStudentByTeacher: (teacherId: number, formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
6
+ export declare const importUsersCSV: (formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
7
+ export declare const importChunkFileUsers: (data: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
8
+ export declare const downloadTemplateFileUser: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -1,6 +1,7 @@
1
1
  import { Filter } from "../types/Filter";
2
- export declare const get: (filter: Filter) => any;
3
- export declare const getById: (id: number) => any;
4
- export declare const create: (data: any) => any;
5
- export declare const update: (data: any) => any;
6
- export declare const remove: (id: number) => any;
2
+ export declare const get: (filter: Filter) => Promise<import("axios").AxiosResponse<any, any, {}>>;
3
+ export declare const getById: (id: number) => Promise<import("axios").AxiosResponse<any, any, {}>>;
4
+ export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
5
+ export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
6
+ export declare const remove: (id: number) => Promise<import("axios").AxiosResponse<any, any, {}>>;
7
+ export declare const getTinyMCEKeyApi: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -0,0 +1,13 @@
1
+ export declare const uploadFile: (formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
2
+ export declare const systemStudentBadge: (formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
3
+ export declare const systemCertificateUpload: (formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
4
+ export declare const systemProfileUpload: (formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
5
+ export declare const systemEmailUpload: (formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
6
+ export declare const systemQuestionUpload: (formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
7
+ export declare const systemAnswerUpload: (formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
8
+ export declare const systemTutorialUpload: (formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
9
+ export declare const customKeyUpload: (formData: FormData) => Promise<import("axios").AxiosResponse<any, any, {}>>;
10
+ export declare const deleteFile: (key: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
11
+ export declare const deleteFolder: (key: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
12
+ export declare const createFolder: (prefix: string, folderName: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
13
+ export declare const renameFile: (key: string, name: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -0,0 +1,2 @@
1
+ import { FilterType } from './../containers/Gallery/constants/gallery.types';
2
+ export declare const get: (filter: FilterType) => Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -0,0 +1 @@
1
+ export declare const get: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -0,0 +1,7 @@
1
+ export declare const get: (filter: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
2
+ export declare const getUnReadNotifications: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
3
+ export declare const updateLastTimeCheckNotification: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
4
+ export declare const getById: (id: number) => Promise<import("axios").AxiosResponse<any, any, {}>>;
5
+ export declare const updateStatusNotification: (id: number) => Promise<import("axios").AxiosResponse<any, any, {}>>;
6
+ export declare const clearChatNotification: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
7
+ export declare const updateAllStatus: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -0,0 +1,3 @@
1
+ import { Filter } from "../types/Filter";
2
+ export declare const get: (parentCategoryId?: number | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
3
+ export declare const getByFilter: (filter?: Filter | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -0,0 +1,2 @@
1
+ export declare const getSchoolSettings: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
2
+ export declare const getInfo: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -1,6 +1,6 @@
1
1
  import { Filter } from "../types/Filter";
2
- export declare const get: (filter: Filter) => any;
3
- export declare const getById: (id: number) => any;
4
- export declare const create: (data: any) => any;
5
- export declare const update: (data: any) => any;
6
- export declare const remove: (id: number) => any;
2
+ export declare const get: (filter?: Filter | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
3
+ export declare const getById: (id: number) => Promise<import("axios").AxiosResponse<any, any, {}>>;
4
+ export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
5
+ export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
6
+ export declare const remove: (id: number) => Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -0,0 +1 @@
1
+ export declare const get: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -1,6 +1,37 @@
1
- import { Filter } from "../types/Filter";
2
- export declare const get: (filter: Filter) => any;
3
- export declare const getById: (id: string) => any;
4
- export declare const create: (data: any) => any;
5
- export declare const update: (data: any) => any;
6
- export declare const remove: (id: string) => any;
1
+ import { Filter, UserRosterFilter } from "../types/Filter";
2
+ import { ResetPasswordDto } from "../types/user";
3
+ import { AssignStudentDto, StudentFilter, UserFilter, UserFilterField } from "../containers/User/constants/types";
4
+ export declare const get: (filter: Filter) => Promise<import("axios").AxiosResponse<any, any, {}>>;
5
+ export declare const getRosterUser: (filter: UserFilter) => Promise<import("axios").AxiosResponse<any, any, {}>>;
6
+ export declare const getFilterRosterUser: (filter: UserFilterField) => Promise<import("axios").AxiosResponse<any, any, {}>>;
7
+ export declare const getStudentFilter: (filter: UserFilterField) => Promise<import("axios").AxiosResponse<any, any, {}>>;
8
+ export declare const getRosterUserExport: (filter: UserFilter) => Promise<import("axios").AxiosResponse<any, any, {}>>;
9
+ export declare const getById: (id: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
10
+ export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
11
+ export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
12
+ export declare const updateStatusAll: (ids: string[]) => Promise<import("axios").AxiosResponse<any, any, {}>>;
13
+ export declare const remove: (id: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
14
+ export declare const getAllStudent: (filter?: Filter | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
15
+ export declare const changePassword: (formData: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
16
+ export declare const forgotChangePassword: (data: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
17
+ export declare const switchAccountUser: (id: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
18
+ export declare const getRosterUsersApi: (filter: UserRosterFilter) => Promise<import("axios").AxiosResponse<any, any, {}>>;
19
+ export declare const getRosterUserBySourcedIdApi: (sourcedId: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
20
+ export declare const syncRosterUsersApi: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
21
+ export declare const resetPasswordForAdmin: (data: ResetPasswordDto) => Promise<import("axios").AxiosResponse<any, any, {}>>;
22
+ export declare const getAssignStudentApi: (filter: StudentFilter) => Promise<import("axios").AxiosResponse<any, any, {}>>;
23
+ export declare const getCounselors: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
24
+ export declare const getAssistants: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
25
+ export declare const getSecondaryTeachers: () => Promise<import("axios").AxiosResponse<any, any, {}>>;
26
+ export declare const getTeachers: (filters: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
27
+ export declare const assignStudentsApi: (data?: AssignStudentDto[] | undefined) => Promise<import("axios").AxiosResponse<any, any, {}>>;
28
+ export declare const userRoleHasData: (userId: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
29
+ export declare const addGradeToStudent: (userId: string, grade: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
30
+ export declare const changeMultiTeacherOfStudent: (params: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
31
+ export declare const changeMultiCounselorsOfStudent: (params: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
32
+ export declare const changeAssistantOfStudents: (params: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
33
+ export declare const changeSecondaryTeacherOfStudents: (params: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
34
+ export declare const changeGradeOfStudents: (id: string, gradeLevel: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
35
+ export declare const getRosterAllUserId: (filter: UserFilter) => Promise<import("axios").AxiosResponse<any, any, {}>>;
36
+ export declare const postRequestResendMail: (data: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
37
+ export declare const removeBulkStaff: (data: any) => Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -0,0 +1,5 @@
1
+ export declare type ConversationMember = {
2
+ id: string;
3
+ name: string;
4
+ avatarPath?: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ export declare type NavbarTab = {
2
+ label: string;
3
+ color: string;
4
+ url: string;
5
+ };
@@ -1,3 +1,4 @@
1
+ import { MediaType } from "../containers/Gallery/constants/gallery.types";
1
2
  export declare type Filter = {
2
3
  currentPage: number;
3
4
  pageSize: number;
@@ -5,4 +6,11 @@ export declare type Filter = {
5
6
  sortBy: string;
6
7
  sortOrder: string;
7
8
  name: string;
9
+ queryTypes?: MediaType[];
10
+ };
11
+ export declare type UserRosterFilter = {
12
+ currentPage?: number;
13
+ pageSize?: number;
14
+ searchString?: string;
15
+ roles?: string[];
8
16
  };
@@ -0,0 +1,8 @@
1
+ export declare type Language = {
2
+ code: string;
3
+ name: string;
4
+ fullName: string;
5
+ shortName: string;
6
+ nativeName: string;
7
+ image: string;
8
+ };
@@ -0,0 +1,13 @@
1
+ export declare type Message = {
2
+ id: number;
3
+ senderId: string;
4
+ text: string;
5
+ time: string;
6
+ messageType: string;
7
+ filePath?: string;
8
+ fileType?: string;
9
+ category: string;
10
+ isFirstMessage: boolean;
11
+ isLastMessage: boolean;
12
+ isLastReadMessage: boolean;
13
+ };
@@ -0,0 +1,8 @@
1
+ export declare type Notification = {
2
+ id?: number;
3
+ text: string;
4
+ type: string;
5
+ time: string;
6
+ isRead: boolean;
7
+ recordId?: number;
8
+ };
@@ -0,0 +1,17 @@
1
+ export interface IinitAmplitude {
2
+ name: string;
3
+ event: string;
4
+ page?: string;
5
+ part?: string;
6
+ iep_date?: string;
7
+ saved?: boolean;
8
+ student_id?: string;
9
+ user_id?: string;
10
+ status?: string;
11
+ first_login?: string;
12
+ last_page?: string;
13
+ duration_since?: number;
14
+ answer?: string;
15
+ roles?: string[];
16
+ chart?: string;
17
+ }
@@ -0,0 +1,3 @@
1
+ export interface ResetPasswordDto {
2
+ userId: string;
3
+ }
@@ -1,6 +1,11 @@
1
1
  import { Filter } from "../types/Filter";
2
- export declare const TINY_MCE_API_KEY = "h6l5ro4mqd0eo2mmhxnt3sxqnlx89uz7124h2rwcus8yukv5";
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 INIT_AMPLITUDE_KEY_PROD = "860fa99c52ae79d98e904b4c862ddaac";
6
+ export declare const INIT_AMPLITUDE_KEY_STAGE = "adf89d0ed9b0d5fcc0d1bcfd535345dc";
3
7
  export declare const ACCESS_TOKEN = "ACCESS_TOKEN";
8
+ export declare const IS_USER_SESSION_BROWSER = "IS_USER_SESSION_BROWSER";
4
9
  export declare const DEFAULT_PAGE_SIZE_VALUES: {
5
10
  label: string;
6
11
  value: number;
@@ -17,9 +22,13 @@ export declare const COLORS: {
17
22
  INFO: string;
18
23
  };
19
24
  export declare const DATE_FORMAT = "yyyy-MM-dd";
25
+ export declare const DATE_RESULT = "dd-MM-yyyy";
26
+ export declare const FULL_DATE_RESULT = "dd-MM-yyyy HH:mm";
27
+ export declare const FULL_DATE_FORMAT = "yyyy-MM-dd HH:mm";
20
28
  export declare const DATE_MIN_VALUE = "0001-01-01T00:00:00";
21
29
  export declare const LICENSE_AGGRID = "Alhanko&Johnson_BASE23_single_1_Devs__22_November_2020_[v2]_MTYwNjAwMzIwMDAwMA==d452f38afc893671cad92795e95d52a1";
22
30
  export declare const BASE_URL: string;
31
+ export declare const isLocalhost: boolean;
23
32
  export declare const QUESTION_TYPES_OPTIONS: {
24
33
  label: string;
25
34
  value: string;
@@ -32,10 +41,47 @@ export declare const QUESTION_TYPES: {
32
41
  PROGRESS_BAR: string;
33
42
  STAR_RATING: string;
34
43
  TEXT_INPUT_WITH_SUGGESTIONS: string;
44
+ EMOTIONAL: string;
45
+ SUMMARIZE: string;
46
+ RATING: string;
47
+ LEARNING_STRATEGY: string;
48
+ DROPDOWN: string;
35
49
  };
36
50
  export declare const STAR_OPTIONS: {
37
51
  label: number;
38
52
  value: number;
39
53
  }[];
40
54
  export declare const ANSWER_EDITOR_HEIGHT = 150;
41
- export declare const USER_ROLE: string[];
55
+ export declare const USER_ROLES: string[];
56
+ export declare const CHAT_CHANNEL = "chat-channel";
57
+ export declare const NOTIFICATION_CHANNEL = "NOTIFICATION_CHANNEL";
58
+ export declare const NEW_NOTIFICATION = "NEW_NOTIFICATION";
59
+ export declare const SANDBOX_NOTIFICATION = "SANDBOX_NOTIFICATION";
60
+ export declare const DEFAULT_IMAGE_URL = "https://tleliteracy.com/wp-content/uploads/2017/02/default-avatar.png";
61
+ export declare const EMOTIONS: string[];
62
+ export declare const TAB_COLORS: {
63
+ reflect: string;
64
+ goal: string;
65
+ };
66
+ export declare const ROLES: {
67
+ ADMIN: string;
68
+ TEACHER: string;
69
+ ASSISTANT: string;
70
+ EDUTEACHER: string;
71
+ STUDENT: string;
72
+ PARENT: string;
73
+ COUNSELOR: string;
74
+ SECONDARY_TEACHER: string;
75
+ };
76
+ export declare const NOTIFICATION_ALERT_KEY = "NOTIFICATION_ALERT_KEY";
77
+ export declare const handleUserRole: (userRoles: string[]) => string[];
78
+ export declare const MARIO_SUCCESS_BASE_URL = "https://www.mariosuccess.com";
79
+ export declare const LANGUAGES: Language[];
80
+ export declare const DEFAULT_LANGUAGE_CODE = "en-US";
81
+ export declare const SUPPORTED_LANGUAGES_CODE: string[];
82
+ export declare const screenWidth: number;
83
+ export declare enum CsvImportType {
84
+ Teacher = 0,
85
+ Admin = 1
86
+ }
87
+ export declare const isMalvernCollege: boolean;
@@ -0,0 +1,2 @@
1
+ declare const debounce: (callback: any, wait: number) => (...args: any[]) => void;
2
+ export default debounce;
@@ -0,0 +1,2 @@
1
+ export declare const isInViewport: (el: any) => boolean;
2
+ export declare const toogleSidebar: () => void;
@@ -0,0 +1,2 @@
1
+ declare const getCookieValue: (name: string) => string;
2
+ export default getCookieValue;
@@ -0,0 +1,2 @@
1
+ declare const getFileUrl: (fileName: string) => string;
2
+ export default getFileUrl;
@@ -0,0 +1,2 @@
1
+ declare const getStaticFileUrl: (url: string) => string;
2
+ export default getStaticFileUrl;
@@ -0,0 +1,2 @@
1
+ declare const getTextFromHTML: (htmlString: string) => string;
2
+ export default getTextFromHTML;
@@ -1,2 +1,2 @@
1
- declare const _default: (time: string) => string;
1
+ declare const _default: (time: string, FORMAT?: string | undefined) => string;
2
2
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mario-core",
3
- "version": "1.0.2",
3
+ "version": "1.0.3-base-upgrade",
4
4
  "description": "Contains core components && functions for Mario project",
5
5
  "author": "brss",
6
6
  "license": "MIT",
@@ -9,80 +9,83 @@
9
9
  "module": "dist/index.modern.js",
10
10
  "source": "src/index.tsx",
11
11
  "engines": {
12
- "node": ">=10"
12
+ "node": ">=20"
13
13
  },
14
14
  "scripts": {
15
15
  "build": "microbundle-crl --no-compress --format modern,cjs",
16
16
  "start": "microbundle-crl watch --no-compress --format modern,cjs",
17
17
  "prepare": "run-s build",
18
- "test": "run-s test:unit test:lint test:build",
18
+ "test": "run-s test:lint test:build",
19
19
  "test:build": "run-s build",
20
- "test:lint": "eslint .",
21
- "test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
22
- "test:watch": "react-scripts test --env=jsdom"
20
+ "test:lint": "eslint ."
23
21
  },
24
22
  "peerDependencies": {
25
- "react": "^16.0.0",
26
- "react-dom": "*",
27
- "react-router-dom": "*",
28
- "react-redux": "*"
23
+ "react": "^18 || ^19",
24
+ "react-dom": "^18 || ^19",
25
+ "react-redux": "*",
26
+ "react-router-dom": "^6.30.2"
29
27
  },
30
28
  "devDependencies": {
29
+ "@babel/plugin-proposal-unicode-property-regex": "^7.18.6",
30
+ "@eslint/js": "^9.39.2",
31
31
  "@rollup/plugin-commonjs": "11.0.2",
32
- "@testing-library/jest-dom": "^4.2.4",
33
- "@testing-library/react": "^9.5.0",
34
- "@testing-library/user-event": "^7.2.1",
32
+ "@testing-library/jest-dom": "^6.9.1",
33
+ "@testing-library/react": "^16.3.1",
34
+ "@testing-library/user-event": "^14.6.1",
35
35
  "@types/date-fns": "^2.6.0",
36
36
  "@types/jest": "^25.1.4",
37
- "@types/node": "^12.12.38",
38
- "@types/react": "^16.9.27",
37
+ "@types/node": "^25.0.2",
38
+ "@types/papaparse": "^5.3.16",
39
+ "@types/react": "^18.3.27",
39
40
  "@types/react-datepicker": "^3.1.7",
40
- "@types/react-dom": "^16.9.7",
41
- "@types/react-redux": "^7.1.16",
42
- "@types/react-router-dom": "^5.1.7",
43
- "@types/react-select": "^4.0.13",
44
- "@types/redux-logger": "^3.0.8",
45
- "@types/yup": "^0.29.11",
46
- "@typescript-eslint/eslint-plugin": "^2.26.0",
47
- "@typescript-eslint/parser": "^2.26.0",
48
- "babel-eslint": "^10.0.3",
41
+ "@types/react-dom": "^18.3.7",
42
+ "@types/react-notifications-component": "2.4.0",
43
+ "@types/react-redux": "^7.1.34",
44
+ "@typescript-eslint/eslint-plugin": "^8.50.0",
45
+ "@typescript-eslint/parser": "^8.50.0",
49
46
  "cross-env": "^7.0.2",
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",
47
+ "eslint": "^9.39.2",
48
+ "eslint-config-prettier": "^10.1.8",
49
+ "eslint-plugin-import": "^2.32.0",
50
+ "eslint-plugin-react": "^7.37.5",
51
+ "eslint-plugin-react-hooks": "^7.0.1",
52
+ "microbundle-crl": "^0.13.11",
62
53
  "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"
54
+ "prettier": "^3.7.4",
55
+ "typescript": "^5.9.3"
67
56
  },
68
57
  "files": [
69
58
  "dist"
70
59
  ],
71
60
  "dependencies": {
72
- "@coreui/icons": "2.0.0-rc.0",
73
- "@coreui/icons-react": "1.0.2",
74
- "@coreui/react": "3.4.0",
75
- "@reduxjs/toolkit": "^1.5.0",
76
- "@tinymce/tinymce-react": "^3.10.2",
77
- "axios": "^0.21.1",
78
- "bootstrap": "^4.6.0",
79
- "date-fns": "^2.19.0",
61
+ "@amplitude/analytics-browser": "2.11.8",
62
+ "@azure/msal-browser": "4.27.0",
63
+ "@azure/msal-common": "14.6.0",
64
+ "@azure/msal-react": "3.0.23",
65
+ "@coreui/icons": "^3.0.1",
66
+ "@coreui/icons-react": "^2.3.0",
67
+ "@coreui/react": "^5.0.0",
68
+ "@react-oauth/google": "^0.12.2",
69
+ "@reduxjs/toolkit": "^2.11.2",
70
+ "@tinymce/tinymce-react": "^6.3.0",
71
+ "axios": "^1.13.2",
72
+ "bootstrap": "^5.3.8",
73
+ "date-fns": "^4.1.0",
74
+ "date-fns-tz": "^3.2.0",
80
75
  "formik": "^2.2.6",
81
- "react-datepicker": "^3.6.0",
76
+ "i18next": "^25.7.3",
77
+ "moment": "^2.30.1",
78
+ "papaparse": "^5.5.3",
79
+ "pusher-js": "^7.0.3",
80
+ "react-datepicker": "^9.0.0",
81
+ "react-google-recaptcha-v3": "^1.9.3",
82
+ "react-i18next": "15.4.0",
82
83
  "react-icons": "^4.2.0",
83
- "react-select": "^4.1.0",
84
- "reactstrap": "^8.9.0",
85
- "redux-thunk": "^2.3.0",
86
- "yup": "^0.32.9"
84
+ "react-select": "^5.10.2",
85
+ "reactstrap": "^9.2.3",
86
+ "redux-thunk": "^3.1.0",
87
+ "sass": "^1.96.0",
88
+ "symbol-observable": "^4.0.0",
89
+ "yup": "^1.7.1"
87
90
  }
88
91
  }
package/README.md DELETED
@@ -1,30 +0,0 @@
1
- # mario-core
2
-
3
- > Contains core components && functions for BRSS Mario project
4
-
5
- [![NPM](https://img.shields.io/npm/v/mario-core.svg)](https://www.npmjs.com/package/@mario/core) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
6
-
7
- ## Install
8
-
9
- ```bash
10
- npm install --save mario-core
11
- ```
12
-
13
- ## Usage
14
-
15
- ```tsx
16
- import React, { Component } from 'react'
17
-
18
- import MyComponent from 'mario-core'
19
- import 'mario-core/dist/index.css'
20
-
21
- class Example extends Component {
22
- render() {
23
- return <MyComponent />
24
- }
25
- }
26
- ```
27
-
28
- ## License
29
-
30
- MIT © [brss](https://github.com/brss)
@@ -1,2 +0,0 @@
1
- export declare const setLoading: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<boolean | undefined, string>;
2
- export declare const setModal: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const ClassList: FC;
3
- export default ClassList;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const EmailTemplateDetail: FC;
3
- export default EmailTemplateDetail;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const EmailTemplateList: FC;
3
- export default EmailTemplateList;
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- declare type FaqDetail = {
3
- question: string;
4
- answer: string;
5
- };
6
- declare const useFaqDetail: () => {
7
- id: number;
8
- setId: import("react").Dispatch<import("react").SetStateAction<number>>;
9
- faqDetail: FaqDetail;
10
- confirmData: (values: any, cb: any) => Promise<void>;
11
- initValue: FaqDetail;
12
- };
13
- export default useFaqDetail;
@@ -1,9 +0,0 @@
1
- import { Filter } from "../../../types/Filter";
2
- declare const useFaqList: () => {
3
- faqList: any;
4
- filters: Filter;
5
- changeFilters: (updatedFilters: any) => void;
6
- getData: () => Promise<void>;
7
- removeData: (id: number) => void;
8
- };
9
- export default useFaqList;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const FaqList: FC;
3
- export default FaqList;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const Login: () => JSX.Element;
3
- export default Login;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const User: FC;
3
- export default User;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const _default: React.MemoExoticComponent<() => JSX.Element>;
3
- export default _default;