mario-core 2.0.0 → 2.0.1-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.
Files changed (284) hide show
  1. package/dist/assets/Images.d.ts +14 -14
  2. package/dist/components/Alerts/CommonAlert.d.ts +3 -3
  3. package/dist/components/Alerts/EmptyDataAlert.d.ts +8 -8
  4. package/dist/components/Alerts/ErrorHandler.d.ts +6 -6
  5. package/dist/components/Alerts/SandboxAlert.d.ts +3 -0
  6. package/dist/components/Buttons/AddButton.d.ts +7 -7
  7. package/dist/components/Buttons/AddButtonIcon.d.ts +6 -6
  8. package/dist/components/Buttons/CloseButton.d.ts +8 -8
  9. package/dist/components/Buttons/DeleteButtonIcon.d.ts +7 -6
  10. package/dist/components/Buttons/DetailActionButtons.d.ts +8 -8
  11. package/dist/components/Buttons/EditButtonIcon.d.ts +7 -6
  12. package/dist/components/Buttons/LinkEditButton.d.ts +7 -7
  13. package/dist/components/Buttons/LoginNavButton.d.ts +8 -8
  14. package/dist/components/Buttons/SyncButton.d.ts +8 -0
  15. package/dist/components/Buttons/ToggleButton.d.ts +10 -10
  16. package/dist/components/Buttons/UploadFileButton.d.ts +13 -13
  17. package/dist/components/Headers/CommonHeader.d.ts +7 -7
  18. package/dist/components/Image/UploadImage.d.ts +2 -3
  19. package/dist/components/Inputs/FileInput.d.ts +8 -8
  20. package/dist/components/Inputs/PasswordInput.d.ts +9 -8
  21. package/dist/components/Inputs/SearchBox.d.ts +10 -10
  22. package/dist/components/Inputs/SearchBoxContainer.d.ts +9 -10
  23. package/dist/components/Labels/RequiredLabel.d.ts +6 -6
  24. package/dist/components/Loading/Loading.d.ts +3 -3
  25. package/dist/components/Modals/CommonModal.d.ts +2 -3
  26. package/dist/components/Modals/NotificationLogoutModal.d.ts +2 -0
  27. package/dist/components/Modals/NotificationModal.d.ts +2 -3
  28. package/dist/components/Others/QuitPrompt.d.ts +5 -2
  29. package/dist/components/Pagination/CustomPagination.d.ts +2 -3
  30. package/dist/components/Scroll/ScrollToTop.d.ts +3 -0
  31. package/dist/components/Selectors/AcademicClassSelector.d.ts +2 -3
  32. package/dist/components/Selectors/CategorySelector.d.ts +2 -0
  33. package/dist/components/Selectors/CreatableSelector.d.ts +2 -3
  34. package/dist/components/Selectors/CustomSelector.d.ts +2 -3
  35. package/dist/components/Selectors/MailCategorySelectors.d.ts +2 -3
  36. package/dist/components/Selectors/QuestionCategorySelector.d.ts +2 -3
  37. package/dist/components/Selectors/QuestionTypeSelector.d.ts +2 -3
  38. package/dist/components/Selectors/StarRatingSelector.d.ts +2 -3
  39. package/dist/components/Selectors/SuggestionCategorySelector.d.ts +2 -3
  40. package/dist/components/Selectors/constants/constant.d.ts +10 -0
  41. package/dist/components/Selectors/hooks/useCategorySelector.d.ts +5 -0
  42. package/dist/components/Tabs/CustomTab.d.ts +2 -3
  43. package/dist/components/Tabs/TabsWithComponent.d.ts +10 -0
  44. package/dist/configs/editorConfig.d.ts +7 -7
  45. package/dist/containers/Commons/NotFound.d.ts +3 -3
  46. package/dist/containers/DistrictSchools/views/SchoolList.d.ts +3 -3
  47. package/dist/containers/EmailTemplate/components/AttachmentFile.d.ts +7 -7
  48. package/dist/containers/EmailTemplate/components/MailParam.d.ts +7 -7
  49. package/dist/containers/EmailTemplate/configs/emailTemplateSchema.d.ts +13 -13
  50. package/dist/containers/EmailTemplate/hooks/useEmailTemplateDetail.d.ts +28 -28
  51. package/dist/containers/EmailTemplate/hooks/useEmailTemplateList.d.ts +11 -12
  52. package/dist/containers/EmailTemplate/views/EmailTemplateDetail.d.ts +3 -3
  53. package/dist/containers/EmailTemplate/views/EmailTemplateList.d.ts +3 -3
  54. package/dist/containers/Gallery/components/ActionModal.d.ts +2 -3
  55. package/dist/containers/Gallery/components/Filter.d.ts +8 -8
  56. package/dist/containers/Gallery/components/Media.d.ts +7 -8
  57. package/dist/containers/Gallery/components/MediaDetail.d.ts +6 -7
  58. package/dist/containers/Gallery/components/MediaList.d.ts +7 -7
  59. package/dist/containers/Gallery/components/MediaNav.d.ts +17 -18
  60. package/dist/containers/Gallery/constants/gallery.types.d.ts +21 -20
  61. package/dist/containers/Gallery/extensions/helpers.d.ts +4 -4
  62. package/dist/containers/Gallery/hooks/useGalleryList.d.ts +30 -31
  63. package/dist/containers/Gallery/views/GalleryList.d.ts +6 -6
  64. package/dist/containers/Login/constant/authConfig.d.ts +38 -0
  65. package/dist/containers/Login/constant/types.d.ts +34 -0
  66. package/dist/containers/Login/hooks/useCreatePassword.d.ts +12 -0
  67. package/dist/containers/Login/hooks/useForgotPassword.d.ts +22 -21
  68. package/dist/containers/Login/hooks/useLogin.d.ts +29 -15
  69. package/dist/containers/Login/hooks/useLoginTwoFactor.d.ts +4 -0
  70. package/dist/containers/Login/views/Dashboard.d.ts +3 -3
  71. package/dist/containers/Login/views/Login.d.ts +9 -8
  72. package/dist/containers/Login/views/block/BlockBackground.d.ts +7 -0
  73. package/dist/containers/Login/views/block/BlockCreatePassword.d.ts +2 -0
  74. package/dist/containers/Login/views/block/BlockForgetPassword.d.ts +6 -3
  75. package/dist/containers/Login/views/block/BlockLogin.d.ts +21 -7
  76. package/dist/containers/Login/views/block/BlockResetPassword.d.ts +2 -3
  77. package/dist/containers/Login/views/block/BlockSelectTeacher.d.ts +10 -0
  78. package/dist/containers/Login/views/block/BlockTwoFactorLogin.d.ts +2 -0
  79. package/dist/containers/Login/views/block/CloseBlock.d.ts +6 -6
  80. package/dist/containers/Login/views/block/ContentHomePage.d.ts +5 -5
  81. package/dist/containers/Login/views/block/IconContent.d.ts +7 -7
  82. package/dist/containers/Login/views/block/QuoteContent.d.ts +2 -7
  83. package/dist/containers/Notifications/components/NotificationButton.d.ts +5 -5
  84. package/dist/containers/Notifications/components/NotificationStatusSelector.d.ts +6 -7
  85. package/dist/containers/Notifications/hooks/useNotificationList.d.ts +17 -14
  86. package/dist/containers/Notifications/hooks/useUnreadNotification.d.ts +4 -4
  87. package/dist/containers/Notifications/views/NotificationList.d.ts +2 -3
  88. package/dist/containers/Skill/components/SkillDetailModal.d.ts +2 -3
  89. package/dist/containers/Skill/components/SkillSelector.d.ts +2 -3
  90. package/dist/containers/Skill/hooks/useSkillDetail.d.ts +19 -20
  91. package/dist/containers/Skill/hooks/useSkillList.d.ts +9 -10
  92. package/dist/containers/Skill/views/SkillList.d.ts +3 -3
  93. package/dist/containers/User/components/AssignStudentModal.d.ts +20 -0
  94. package/dist/containers/User/components/DeleteBulkModel.d.ts +3 -0
  95. package/dist/containers/User/components/FilterPopover.d.ts +21 -0
  96. package/dist/containers/User/components/HeaderCell.d.ts +19 -0
  97. package/dist/containers/User/components/RemoveAssistant.d.ts +3 -0
  98. package/dist/containers/User/components/RemoveCounselor.d.ts +3 -0
  99. package/dist/containers/User/components/RemoveSupportTeacher.d.ts +3 -0
  100. package/dist/containers/User/components/RemoveTeacher.d.ts +3 -0
  101. package/dist/containers/User/components/SwitchDataTeacherModel.d.ts +12 -0
  102. package/dist/containers/User/components/SwitchTeacherModal.d.ts +2 -0
  103. package/dist/containers/User/components/TableHeader.d.ts +15 -0
  104. package/dist/containers/User/components/TeacherSelector.d.ts +2 -0
  105. package/dist/containers/User/components/UploadCSVButton.d.ts +11 -0
  106. package/dist/containers/User/components/UserDeletedModal.d.ts +2 -0
  107. package/dist/containers/User/configs/changePasswordSchema.d.ts +11 -0
  108. package/dist/containers/User/configs/userSchema.d.ts +13 -15
  109. package/dist/containers/User/configs/utils.d.ts +8 -0
  110. package/dist/containers/User/constants/constants.d.ts +63 -0
  111. package/dist/containers/User/constants/types.d.ts +265 -0
  112. package/dist/containers/User/hooks/useAssignStudent.d.ts +44 -0
  113. package/dist/containers/User/hooks/useAssignStudentList.d.ts +36 -0
  114. package/dist/containers/User/hooks/useAssistantList.d.ts +9 -0
  115. package/dist/containers/User/hooks/useCSVImport.d.ts +37 -0
  116. package/dist/containers/User/hooks/useCSVImportTab.d.ts +45 -0
  117. package/dist/containers/User/hooks/useClickOutside.d.ts +2 -0
  118. package/dist/containers/User/hooks/useCounselorList.d.ts +9 -0
  119. package/dist/containers/User/hooks/useExportUsersCsv.d.ts +5 -0
  120. package/dist/containers/User/hooks/useFilterPopover.d.ts +37 -0
  121. package/dist/containers/User/hooks/useResendMail.d.ts +5 -0
  122. package/dist/containers/User/hooks/useRosterUserSelector.d.ts +8 -0
  123. package/dist/containers/User/hooks/useSecondaryTeacherList.d.ts +9 -0
  124. package/dist/containers/User/hooks/useTableHeader.d.ts +20 -0
  125. package/dist/containers/User/hooks/useTeacherList.d.ts +9 -0
  126. package/dist/containers/User/hooks/useUserDeletedList.d.ts +21 -0
  127. package/dist/containers/User/hooks/useUserDeletedModal.d.ts +13 -0
  128. package/dist/containers/User/hooks/useUserDetail.d.ts +41 -22
  129. package/dist/containers/User/hooks/useUserList.d.ts +18 -11
  130. package/dist/containers/User/hooks/userFilters.d.ts +7 -0
  131. package/dist/containers/User/views/AssignStudentList.d.ts +2 -0
  132. package/dist/containers/User/views/CSVImport.d.ts +3 -0
  133. package/dist/containers/User/views/RosterUserSelector.d.ts +8 -0
  134. package/dist/containers/User/views/UserContainer.d.ts +2 -0
  135. package/dist/containers/User/views/UserDeletedList.d.ts +2 -0
  136. package/dist/containers/User/views/UserDetail.d.ts +2 -3
  137. package/dist/containers/User/views/UserList.d.ts +2 -3
  138. package/dist/hooks/useFilters.d.ts +7 -0
  139. package/dist/hooks/useLanguages.d.ts +9 -0
  140. package/dist/i18n.d.ts +2 -0
  141. package/dist/index.d.ts +114 -101
  142. package/dist/index.js +24 -7326
  143. package/dist/index.modern.js +28540 -6799
  144. package/dist/layouts/TheContent.d.ts +2 -3
  145. package/dist/mario-core.css +1 -0
  146. package/dist/redux/assessments/action.d.ts +1 -1
  147. package/dist/redux/assessments/reducer.d.ts +10 -5
  148. package/dist/redux/assignment/action.d.ts +1 -1
  149. package/dist/redux/assignment/reducer.d.ts +4 -2
  150. package/dist/redux/assistants/action.d.ts +1 -1
  151. package/dist/redux/assistants/reducer.d.ts +4 -2
  152. package/dist/redux/badges/action.d.ts +1 -1
  153. package/dist/redux/badges/reducer.d.ts +4 -2
  154. package/dist/redux/bandScores/action.d.ts +1 -1
  155. package/dist/redux/bandScores/reducer.d.ts +4 -2
  156. package/dist/redux/certificate/action.d.ts +1 -1
  157. package/dist/redux/certificate/reducer.d.ts +4 -2
  158. package/dist/redux/classes/action.d.ts +1 -1
  159. package/dist/redux/classes/reducer.d.ts +4 -2
  160. package/dist/redux/commons/action.d.ts +23 -8
  161. package/dist/redux/commons/reducer.d.ts +4 -2
  162. package/dist/redux/conferenceRubrics/action.d.ts +1 -1
  163. package/dist/redux/conferenceRubrics/reducer.d.ts +4 -2
  164. package/dist/redux/customAlert/action.d.ts +1 -1
  165. package/dist/redux/customAlert/reducer.d.ts +4 -2
  166. package/dist/redux/dashboard/action.d.ts +5 -4
  167. package/dist/redux/dashboard/reducer.d.ts +4 -2
  168. package/dist/redux/dataPlayer/action.d.ts +2 -2
  169. package/dist/redux/dataPlayer/reducer.d.ts +4 -2
  170. package/dist/redux/emailTemplates/action.d.ts +1 -1
  171. package/dist/redux/emailTemplates/reducer.d.ts +4 -2
  172. package/dist/redux/faqs/action.d.ts +1 -1
  173. package/dist/redux/faqs/reducer.d.ts +4 -2
  174. package/dist/redux/feedback/action.d.ts +1 -1
  175. package/dist/redux/feedback/reducer.d.ts +4 -2
  176. package/dist/redux/gallery/action.d.ts +2 -2
  177. package/dist/redux/gallery/reducer.d.ts +4 -2
  178. package/dist/redux/goalExamples/action.d.ts +1 -1
  179. package/dist/redux/goalExamples/reducer.d.ts +4 -2
  180. package/dist/redux/improveMyClass/action.d.ts +1 -1
  181. package/dist/redux/improveMyClass/reducer.d.ts +4 -2
  182. package/dist/redux/learningStrategies/action.d.ts +1 -1
  183. package/dist/redux/learningStrategies/reducer.d.ts +4 -2
  184. package/dist/redux/learningSupportCategories/action.d.ts +1 -1
  185. package/dist/redux/learningSupportCategories/reducer.d.ts +4 -2
  186. package/dist/redux/mailCategories/action.d.ts +1 -1
  187. package/dist/redux/mailCategories/reducer.d.ts +4 -2
  188. package/dist/redux/navMobile/action.d.ts +1 -0
  189. package/dist/redux/navMobile/reducer.d.ts +4 -0
  190. package/dist/redux/notifications/action.d.ts +3 -3
  191. package/dist/redux/notifications/reducer.d.ts +4 -2
  192. package/dist/redux/questionBanks/action.d.ts +1 -1
  193. package/dist/redux/questionBanks/reducer.d.ts +4 -2
  194. package/dist/redux/questionByCategory/action.d.ts +8 -8
  195. package/dist/redux/questionByCategory/reducer.d.ts +4 -2
  196. package/dist/redux/questionCategory/action.d.ts +1 -1
  197. package/dist/redux/questionCategory/reducer.d.ts +4 -2
  198. package/dist/redux/reflectionForms/action.d.ts +1 -1
  199. package/dist/redux/reflectionForms/reducer.d.ts +4 -2
  200. package/dist/redux/reflectionResults/action.d.ts +1 -1
  201. package/dist/redux/reflectionResults/reducer.d.ts +4 -2
  202. package/dist/redux/schoolBlankDays/action.d.ts +1 -1
  203. package/dist/redux/schoolBlankDays/reducer.d.ts +4 -2
  204. package/dist/redux/semester/action.d.ts +1 -1
  205. package/dist/redux/semester/reducer.d.ts +4 -2
  206. package/dist/redux/sessionPlayers/action.d.ts +5 -4
  207. package/dist/redux/sessionPlayers/reducer.d.ts +4 -2
  208. package/dist/redux/sessionTemplateGeneralClasses/action.d.ts +1 -1
  209. package/dist/redux/sessionTemplateGeneralClasses/reducer.d.ts +4 -2
  210. package/dist/redux/sessionTemplates/action.d.ts +1 -1
  211. package/dist/redux/sessionTemplates/reducer.d.ts +4 -2
  212. package/dist/redux/skills/action.d.ts +1 -1
  213. package/dist/redux/skills/reducer.d.ts +4 -2
  214. package/dist/redux/subjects/action.d.ts +1 -1
  215. package/dist/redux/subjects/reducer.d.ts +4 -2
  216. package/dist/redux/suggestionBanks/action.d.ts +1 -1
  217. package/dist/redux/suggestionBanks/reducer.d.ts +4 -2
  218. package/dist/redux/teacher/myStudent/action.d.ts +1 -1
  219. package/dist/redux/teacher/myStudent/reducer.d.ts +4 -2
  220. package/dist/redux/tutorialScreen/action.d.ts +1 -1
  221. package/dist/redux/tutorialScreen/reducer.d.ts +10 -5
  222. package/dist/redux/users/action.d.ts +2 -2
  223. package/dist/redux/users/reducer.d.ts +4 -2
  224. package/dist/redux/weeklyQuests/action.d.ts +2 -0
  225. package/dist/redux/weeklyQuests/reducer.d.ts +12 -0
  226. package/dist/redux/widget/action.d.ts +1 -1
  227. package/dist/redux/widget/reducer.d.ts +4 -2
  228. package/dist/rootReducer.d.ts +106 -48
  229. package/dist/services/accountService.d.ts +22 -7
  230. package/dist/services/api.d.ts +3 -3
  231. package/dist/services/classService.d.ts +1 -1
  232. package/dist/services/csvImportService.d.ts +9 -0
  233. package/dist/services/csvService.d.ts +8 -0
  234. package/dist/services/emailTemplateService.d.ts +7 -6
  235. package/dist/services/fileServices.d.ts +13 -13
  236. package/dist/services/galleryService.d.ts +2 -2
  237. package/dist/services/mailCategoryService.d.ts +1 -1
  238. package/dist/services/notificationService.d.ts +7 -6
  239. package/dist/services/questionCategoryService.d.ts +3 -1
  240. package/dist/services/schoolService.d.ts +2 -0
  241. package/dist/services/skillService.d.ts +6 -6
  242. package/dist/services/suggestionCategoryService.d.ts +1 -1
  243. package/dist/services/userService.d.ts +37 -7
  244. package/dist/store.d.ts +3 -3
  245. package/dist/types/Conversation.d.ts +8 -8
  246. package/dist/types/ConversationMember.d.ts +5 -5
  247. package/dist/types/Dashboard.d.ts +5 -5
  248. package/dist/types/Filter.d.ts +16 -10
  249. package/dist/types/Language.d.ts +8 -0
  250. package/dist/types/Message.d.ts +13 -13
  251. package/dist/types/Notification.d.ts +8 -8
  252. package/dist/types/Payload.d.ts +17 -0
  253. package/dist/types/user.d.ts +3 -0
  254. package/dist/utils/canAccessRoute.d.ts +2 -2
  255. package/dist/utils/constants.d.ts +87 -57
  256. package/dist/utils/debounce.d.ts +2 -2
  257. package/dist/utils/domHelpers.d.ts +2 -2
  258. package/dist/utils/encodeParams.d.ts +2 -2
  259. package/dist/utils/firstCheckToken.d.ts +2 -2
  260. package/dist/utils/generateRandomString.d.ts +2 -2
  261. package/dist/utils/getAccessToken.d.ts +2 -2
  262. package/dist/utils/getCookieValue.d.ts +2 -0
  263. package/dist/utils/getFileUrl.d.ts +2 -2
  264. package/dist/utils/getStaticFileUrl.d.ts +2 -0
  265. package/dist/utils/getTextFromHTML.d.ts +2 -2
  266. package/dist/utils/utcToLocalTime.d.ts +1 -2
  267. package/package.json +79 -63
  268. package/dist/components/Alerts/ReactNotification.d.ts +0 -4
  269. package/dist/containers/Faq/components/FaqDetailModal.d.ts +0 -3
  270. package/dist/containers/Faq/hooks/useFaqDetail.d.ts +0 -18
  271. package/dist/containers/Faq/hooks/useFaqList.d.ts +0 -10
  272. package/dist/containers/Faq/views/FaqList.d.ts +0 -3
  273. package/dist/index.css +0 -499
  274. package/dist/index.js.map +0 -1
  275. package/dist/index.modern.js.map +0 -1
  276. package/dist/index.test.d.ts +0 -1
  277. package/dist/layouts/TheFooter.d.ts +0 -3
  278. package/dist/layouts/TheHeader.d.ts +0 -3
  279. package/dist/layouts/TheHeaderDropdown.d.ts +0 -3
  280. package/dist/layouts/TheLayout.d.ts +0 -3
  281. package/dist/layouts/TheSidebar.d.ts +0 -3
  282. package/dist/redux/bandScoreBreakPoint/action.d.ts +0 -1
  283. package/dist/redux/bandScoreBreakPoint/reducer.d.ts +0 -2
  284. package/dist/services/faqService.d.ts +0 -6
@@ -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?: string;
4
- content?: string;
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
- import { FC } from "react";
2
- interface Props {
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
- import React from "react";
2
- interface Props {
3
- value: boolean;
4
- onChange: any;
5
- }
6
- declare const _default: React.NamedExoticComponent<Props>;
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: any, isRead: any) => void;
13
- };
14
- export default useNotificationList;
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
- /// <reference types="react" />
2
- declare const NotificationList: () => JSX.Element;
3
- export default NotificationList;
1
+ declare const NotificationList: () => import("react/jsx-runtime").JSX.Element;
2
+ export default NotificationList;
@@ -1,3 +1,2 @@
1
- import React from "react";
2
- declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
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
- /// <reference types="react" />
2
- declare const SkillSelector: (props: any) => JSX.Element;
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
- /// <reference types="react" />
2
- declare type SkillDetail = {
3
- name: string;
4
- description: string;
5
- path: string;
6
- parentSkillId?: number | null;
7
- };
8
- declare const useSkillDetail: () => {
9
- id: number;
10
- setId: import("react").Dispatch<import("react").SetStateAction<number>>;
11
- skillDetail: SkillDetail;
12
- confirmData: (values: any, cb: any) => Promise<void>;
13
- initValue: SkillDetail;
14
- reset: () => void;
15
- edited: boolean;
16
- setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
17
- setEditedTrue: () => Promise<void>;
18
- setEditedFalse: () => Promise<void>;
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
- import { Filter } from "../../../types/Filter";
2
- declare const useSkillList: () => {
3
- skillList: any;
4
- totalItems: any;
5
- filters: Filter;
6
- changeFilters: (updatedFilters: any) => void;
7
- getData: () => Promise<void>;
8
- removeData: (id: number) => void;
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;
@@ -1,3 +1,3 @@
1
- import { FC } from "react";
2
- declare const SkillList: FC;
3
- export default SkillList;
1
+ import { FC } from "react";
2
+ declare const SkillList: FC;
3
+ export default SkillList;
@@ -0,0 +1,20 @@
1
+ import { FC } from 'react';
2
+ import { IStaffAssign, StudentAssign } from '../constants/types';
3
+ interface IProps {
4
+ openDetailModal: boolean;
5
+ onClose: Function;
6
+ selectedUser: StudentAssign;
7
+ staffBulkAssign: IStaffAssign;
8
+ teacherOptions: any[];
9
+ assistantOptions: any[];
10
+ counselorOptions: any[];
11
+ secondaryTeacherOptions: any[];
12
+ handleChangeTeacherBulk: Function;
13
+ handleChangeCounselorBulk: Function;
14
+ handleChangeStaffBulk: Function;
15
+ handleEditAssignForStudents: Function;
16
+ toggleCollapse: (index: number) => void;
17
+ activeIndex: number;
18
+ }
19
+ declare const AssignStudentModal: FC<IProps>;
20
+ export default AssignStudentModal;
@@ -0,0 +1,3 @@
1
+ import { IDeleteBulkModel } from "../constants/types";
2
+ declare const DeleteBulkModel: ({ open, onClose, teachers, onChangeStaffRemove, switchStaffUsers, assistants, onRemoveBulkStaff, counselors, studentUserIds, secondaryTeachers }: IDeleteBulkModel) => import("react/jsx-runtime").JSX.Element;
3
+ export default DeleteBulkModel;
@@ -0,0 +1,21 @@
1
+ import { FC } from "react";
2
+ import { PopoverProps } from "reactstrap";
3
+ import { FilterOption, SearchBy, UserFilter, UserOrder } from "../constants/types";
4
+ interface Props extends PopoverProps {
5
+ filters?: UserFilter;
6
+ sortBy: UserOrder;
7
+ searchBy?: SearchBy;
8
+ users: string[];
9
+ defaultOptions?: FilterOption[];
10
+ selectedOptions?: string[];
11
+ searchKey: string;
12
+ onChangeSearchKey: (value: string) => void;
13
+ onOptionsChange?: (value?: string[], searchBy?: SearchBy) => void;
14
+ onSearch?: (search: string, searchBy: SearchBy) => void;
15
+ onClose?: () => void;
16
+ onFilter?: () => void;
17
+ onChangeFilters?: (filter: UserFilter) => void;
18
+ getOption?: (user: any, t?: any) => FilterOption;
19
+ }
20
+ declare const FilterPopover: FC<Props>;
21
+ export default FilterPopover;
@@ -0,0 +1,19 @@
1
+ import { FC } from "react";
2
+ import { SearchBy, UserColumn, UserFilter, UserOrder } from "../constants/types";
3
+ interface Props {
4
+ data: UserColumn;
5
+ popoverId?: string;
6
+ filters?: UserFilter;
7
+ searchString?: string;
8
+ users: string[];
9
+ selectedOptions?: string[];
10
+ onOptionsChange?: (value?: string[], searchBy?: SearchBy) => void;
11
+ onSearch?: (search: string, searchBy: SearchBy) => void;
12
+ onOpenFilter?: (id: string, searchBy?: SearchBy, searchStringBy?: string, sortBy?: UserOrder) => void;
13
+ onClose?: () => void;
14
+ onChangeFilters?: (filter: UserFilter) => void;
15
+ isCenter?: boolean;
16
+ isActive?: boolean;
17
+ }
18
+ declare const HeaderCell: FC<Props>;
19
+ export default HeaderCell;
@@ -0,0 +1,3 @@
1
+ import { IRemoveAssistant } from "../constants/types";
2
+ declare const RemoveAssistant: ({ assistants, onChangeStaffRemove, switchStaffUsers }: IRemoveAssistant) => import("react/jsx-runtime").JSX.Element;
3
+ export default RemoveAssistant;
@@ -0,0 +1,3 @@
1
+ import { IRemoveCounselor } from "../constants/types";
2
+ declare const RemoveCounselor: ({ counselors, onChangeStaffRemove, switchStaffUsers }: IRemoveCounselor) => import("react/jsx-runtime").JSX.Element;
3
+ export default RemoveCounselor;
@@ -0,0 +1,3 @@
1
+ import { IRemoveSupportTeacher } from "../constants/types";
2
+ declare const RemoveSupportTeacher: ({ secondaryTeachers, onChangeStaffRemove, switchStaffUsers }: IRemoveSupportTeacher) => import("react/jsx-runtime").JSX.Element;
3
+ export default RemoveSupportTeacher;
@@ -0,0 +1,3 @@
1
+ import { IRemoveTeacher } from "../constants/types";
2
+ declare const RemoveTeacher: ({ teachers, onChangeStaffRemove, switchStaffUsers }: IRemoveTeacher) => import("react/jsx-runtime").JSX.Element;
3
+ export default RemoveTeacher;
@@ -0,0 +1,12 @@
1
+ import { FC } from "react";
2
+ import { ITeachers } from "../constants/types";
3
+ interface IProps {
4
+ open: boolean;
5
+ onClose: Function;
6
+ teachers: ITeachers[];
7
+ onConfirm: Function;
8
+ teacherSwitchUserId: string;
9
+ setTeacherSwitchUserId: Function;
10
+ }
11
+ declare const SwitchDataTeacherModel: FC<IProps>;
12
+ export default SwitchDataTeacherModel;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<unknown>>;
2
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import { FC } from "react";
2
+ import { UserColumn, UserFilter } from "../constants/types";
3
+ interface Props {
4
+ headers: UserColumn[];
5
+ filters: UserFilter;
6
+ fullName?: string;
7
+ onChangeFilters?: (filter: UserFilter) => void;
8
+ isStudentFilter?: boolean;
9
+ teacherOptions?: any[];
10
+ assistantOptions?: any[];
11
+ counselorOptions?: any[];
12
+ secondaryTeacherOptions?: any[];
13
+ }
14
+ declare const TableHeader: FC<Props>;
15
+ export default TableHeader;
@@ -0,0 +1,2 @@
1
+ declare const TeacherSelector: ({ options, isDisabled, scrollBottom, onCreateOption, ...rest }: any) => import("react/jsx-runtime").JSX.Element;
2
+ export default TeacherSelector;
@@ -0,0 +1,11 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ htmlFor: string;
4
+ isDisabled: boolean;
5
+ text: string;
6
+ backgroundColor: string;
7
+ onClick: Function;
8
+ isClassReflection?: boolean;
9
+ }
10
+ declare const UploadCSVButton: FC<Props>;
11
+ export default UploadCSVButton;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<unknown>>;
2
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import * as yup from "yup";
2
+ declare const changePasswordSchema: yup.ObjectSchema<{
3
+ oldPassword: string;
4
+ newPassword: string;
5
+ confirmedNewPassword: string;
6
+ }, yup.AnyObject, {
7
+ oldPassword: undefined;
8
+ newPassword: undefined;
9
+ confirmedNewPassword: undefined;
10
+ }, "">;
11
+ export default changePasswordSchema;
@@ -1,15 +1,13 @@
1
- import * as yup from "yup";
2
- declare const userSchema: import("yup/lib/object").OptionalObjectSchema<{
3
- firstName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
4
- lastName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
5
- dateOfBirth: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
6
- email: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
7
- roles: yup.ArraySchema<yup.StringSchema<string | undefined, Record<string, any>, string | undefined>, Record<string, any>, (string | undefined)[] | undefined, (string | undefined)[] | undefined>;
8
- }, Record<string, any>, import("yup/lib/object").TypeOfShape<{
9
- firstName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
10
- lastName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
11
- dateOfBirth: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
12
- email: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
13
- roles: yup.ArraySchema<yup.StringSchema<string | undefined, Record<string, any>, string | undefined>, Record<string, any>, (string | undefined)[] | undefined, (string | undefined)[] | undefined>;
14
- }>>;
15
- export default userSchema;
1
+ import * as yup from "yup";
2
+ declare const userSchema: yup.ObjectSchema<{
3
+ firstName: string;
4
+ lastName: string;
5
+ email: string;
6
+ roles: (string | undefined)[] | undefined;
7
+ }, yup.AnyObject, {
8
+ firstName: undefined;
9
+ lastName: undefined;
10
+ email: undefined;
11
+ roles: "";
12
+ }, "">;
13
+ export default userSchema;
@@ -0,0 +1,8 @@
1
+ import { StudentAssign, TeacherType } from "../constants/types";
2
+ type StaffItem = {
3
+ label: string;
4
+ value: string;
5
+ name: string;
6
+ };
7
+ export declare const extractStaffList: (students: StudentAssign[], type: TeacherType) => StaffItem[];
8
+ export {};
@@ -0,0 +1,63 @@
1
+ import { IOptions, IStaffAssign, StudentFilter, USER_CHOICE, UserColumn, UserFilter } from "./types";
2
+ export declare const userOrders: {
3
+ 0: string;
4
+ 1: string;
5
+ 2: string;
6
+ 3: string;
7
+ 4: string;
8
+ 5: string;
9
+ 6: string;
10
+ 7: string;
11
+ 8: string;
12
+ 9: string;
13
+ 10: string;
14
+ 11: string;
15
+ 12: string;
16
+ };
17
+ export declare const UserColumns: UserColumn[];
18
+ export declare const DEFAULT_PAGE_SIZE: {
19
+ label: string;
20
+ value: number;
21
+ };
22
+ export declare const DEFAULT_FILTER: UserFilter;
23
+ export declare const DEFAULT_STUDENT_FILTER: StudentFilter;
24
+ export declare const DEFAULT_FILTER_POPOVER: UserFilter;
25
+ export declare const CSV_PREFIX = "data:text/csv;charset=utf-8,";
26
+ export declare const initialStaffBulk: IStaffAssign;
27
+ export declare const initAssignStd: {
28
+ studentId: number;
29
+ id: string;
30
+ email: string;
31
+ fullName: string;
32
+ gradeLevel: string;
33
+ phoneNumber: string;
34
+ isActive: boolean;
35
+ dateOfBirth: string;
36
+ profileImageFileName: string;
37
+ quote: string;
38
+ assistantName: string;
39
+ assistantEmail: string;
40
+ assistantUserId: string;
41
+ counselors: never[];
42
+ secondaryTeacherName: string;
43
+ secondaryTeacherEmail: string;
44
+ secondaryTeacherUserId: string;
45
+ teachers: never[];
46
+ };
47
+ export declare const GRADE_DEFAULT: {
48
+ label: string;
49
+ value: string;
50
+ }[];
51
+ export declare const GRADE: string[];
52
+ export declare const gradeOptions: IOptions[];
53
+ export declare const initStaffDeleteBulk: {
54
+ assistantRemoveUserId: never[];
55
+ counselorRemoveUserIds: never[];
56
+ teacherRemoveUserIds: never[];
57
+ teacherSwitchDataUserId: string;
58
+ assistantSwitchDataUserId: string;
59
+ counselorSwitchDataUserId: string;
60
+ supportTeacherRemoveUserIds: never[];
61
+ supportTeacherSwitchDataUserId: string;
62
+ };
63
+ export declare const initialUserChoice: USER_CHOICE;