mario-education 2.1.6 → 2.2.0

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 (236) hide show
  1. package/dist/containers/QuestionBank/hooks/useQuestionDetail.d.ts +0 -1
  2. package/dist/index.d.ts +1 -2
  3. package/dist/index.js +19 -12
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.modern.js +19 -12
  6. package/dist/index.modern.js.map +1 -1
  7. package/dist/{components → src/components}/Input/ToggleInput.d.ts +0 -0
  8. package/dist/src/components/Questions/QuestionList.d.ts +7 -0
  9. package/dist/src/components/Questions/QuestionSelector.d.ts +9 -0
  10. package/dist/{containers/Certificate/components/CertificateDetailModal.d.ts → src/containers/Assessment/components/AssessmentDetailModal.d.ts} +0 -0
  11. package/dist/src/containers/Assessment/components/QuestionSplitPaneSelector.d.ts +3 -0
  12. package/dist/src/containers/Assessment/hooks/useAssessmentDetail.d.ts +24 -0
  13. package/dist/src/containers/Assessment/hooks/useAssessmentList.d.ts +10 -0
  14. package/dist/src/containers/Assessment/hooks/useQuestionCategory.d.ts +13 -0
  15. package/dist/src/containers/Assessment/views/AssessmentList.d.ts +3 -0
  16. package/dist/src/containers/AssessmentAssignment/views/AssessmentAssignmentContainer.d.ts +3 -0
  17. package/dist/src/containers/Assignment/components/AcademicClassSelector.d.ts +3 -0
  18. package/dist/src/containers/Assignment/components/AssessmentSelector.d.ts +3 -0
  19. package/dist/src/containers/Assignment/components/AssignmentDetailModal.d.ts +3 -0
  20. package/dist/src/containers/Assignment/components/SemesterSelector.d.ts +8 -0
  21. package/dist/src/containers/Assignment/configs/types.d.ts +13 -0
  22. package/dist/src/containers/Assignment/hooks/useAssignmentDetail.d.ts +27 -0
  23. package/dist/src/containers/Assignment/hooks/useAssignmentList.d.ts +18 -0
  24. package/dist/src/containers/Assignment/hooks/useAssignmentResultDetail.d.ts +8 -0
  25. package/dist/src/containers/Assignment/hooks/useAssignmentResultList.d.ts +10 -0
  26. package/dist/src/containers/Assignment/views/AssignmentList.d.ts +3 -0
  27. package/dist/src/containers/Assignment/views/AssignmentResultList.d.ts +3 -0
  28. package/dist/src/containers/Badge/components/BadgeDetailModal.d.ts +3 -0
  29. package/dist/src/containers/Badge/hooks/useBadgeDetail.d.ts +20 -0
  30. package/dist/src/containers/Badge/hooks/useBadgeList.d.ts +10 -0
  31. package/dist/src/containers/Badge/views/BadgeList.d.ts +3 -0
  32. package/dist/src/containers/BandScore/components/BandScoreDetailModal.d.ts +3 -0
  33. package/dist/src/containers/BandScore/hooks/useBandScoreDetail.d.ts +18 -0
  34. package/dist/src/containers/BandScore/hooks/useBandScoreList.d.ts +7 -0
  35. package/dist/src/containers/BandScore/hooks/useBreakPoint.d.ts +12 -0
  36. package/dist/src/containers/BandScore/views/BandScoreList.d.ts +3 -0
  37. package/dist/src/containers/CSVImport/components/UploadCSVButton.d.ts +10 -0
  38. package/dist/src/containers/CSVImport/hooks/useCSVImport.d.ts +21 -0
  39. package/dist/src/containers/CSVImport/views/CSVImport.d.ts +3 -0
  40. package/dist/src/containers/Certificate/components/CertificateApproved.d.ts +3 -0
  41. package/dist/src/containers/Certificate/components/CertificateDetailModal.d.ts +3 -0
  42. package/dist/src/containers/Certificate/components/CertificateItem.d.ts +9 -0
  43. package/dist/{containers → src/containers}/Certificate/components/CertificateList.d.ts +0 -0
  44. package/dist/{containers → src/containers}/Certificate/components/CertificateReview.d.ts +0 -0
  45. package/dist/src/containers/Certificate/config/constants.d.ts +19 -0
  46. package/dist/{containers → src/containers}/Certificate/hooks/useCertificateDetail.d.ts +0 -0
  47. package/dist/{containers → src/containers}/Certificate/hooks/useCertificateList.d.ts +0 -0
  48. package/dist/src/containers/Certificate/hooks/useCertificateReview.d.ts +7 -0
  49. package/dist/{containers → src/containers}/Certificate/views/CertificateContainer.d.ts +0 -0
  50. package/dist/src/containers/Classes/components/ClassDetailModal.d.ts +3 -0
  51. package/dist/src/containers/Classes/components/ClassStudentModal.d.ts +3 -0
  52. package/dist/src/containers/Classes/components/StudentList.d.ts +8 -0
  53. package/dist/src/containers/Classes/components/StudentSelector.d.ts +8 -0
  54. package/dist/src/containers/Classes/components/TeacherMultiSelector.d.ts +7 -0
  55. package/dist/src/containers/Classes/components/TeacherSelector.d.ts +7 -0
  56. package/dist/src/containers/Classes/hooks/useClassDetail.d.ts +25 -0
  57. package/dist/src/containers/Classes/hooks/useClassList.d.ts +13 -0
  58. package/dist/src/containers/Classes/views/ClassList.d.ts +3 -0
  59. package/dist/src/containers/CompareTeacher/components/TeacherItem.d.ts +8 -0
  60. package/dist/src/containers/CompareTeacher/configs/constants.d.ts +18 -0
  61. package/dist/src/containers/CompareTeacher/hooks/useCompareTeacher.d.ts +17 -0
  62. package/dist/src/containers/CompareTeacher/views/CompareTeacher.d.ts +3 -0
  63. package/dist/src/containers/ConferenceRubric/components/ConferenceRubricItem.d.ts +14 -0
  64. package/dist/src/containers/ConferenceRubric/components/ConferenceRubricTypeSelector.d.ts +7 -0
  65. package/dist/src/containers/ConferenceRubric/components/SkillSelector.d.ts +8 -0
  66. package/dist/src/containers/ConferenceRubric/configs/types.d.ts +44 -0
  67. package/dist/src/containers/ConferenceRubric/hooks/useConferenceRubricDetail.d.ts +36 -0
  68. package/dist/src/containers/ConferenceRubric/hooks/useConferenceRubricList.d.ts +11 -0
  69. package/dist/src/containers/ConferenceRubric/views/ConferenceRubricDetail.d.ts +3 -0
  70. package/dist/src/containers/ConferenceRubric/views/ConferenceRubricList.d.ts +3 -0
  71. package/dist/src/containers/CurrentLicense/hooks/useCurrentLicense.d.ts +6 -0
  72. package/dist/src/containers/CurrentLicense/views/CurrentLicense.d.ts +3 -0
  73. package/dist/src/containers/CustomAlert/components/CustomAlertDetailModal.d.ts +3 -0
  74. package/dist/src/containers/CustomAlert/hooks/useCustomAlertDetail.d.ts +22 -0
  75. package/dist/src/containers/CustomAlert/hooks/useCustomAlertList.d.ts +10 -0
  76. package/dist/src/containers/CustomAlert/views/CustomAlertList.d.ts +3 -0
  77. package/dist/src/containers/Dashboard/components/CustomCheckbox.d.ts +9 -0
  78. package/dist/src/containers/Dashboard/components/DashboardCard.d.ts +7 -0
  79. package/dist/src/containers/Dashboard/components/GoalProgress.d.ts +7 -0
  80. package/dist/src/containers/Dashboard/components/Grade.d.ts +7 -0
  81. package/dist/src/containers/Dashboard/components/HighImpact.d.ts +6 -0
  82. package/dist/src/containers/Dashboard/components/Loading.d.ts +3 -0
  83. package/dist/src/containers/Dashboard/components/LoginCouting.d.ts +7 -0
  84. package/dist/src/containers/Dashboard/components/PerceivedImpact.d.ts +7 -0
  85. package/dist/src/containers/Dashboard/components/Quantity.d.ts +7 -0
  86. package/dist/src/containers/Dashboard/components/Skill.d.ts +7 -0
  87. package/dist/src/containers/Dashboard/components/TimeInSession.d.ts +7 -0
  88. package/dist/src/containers/Dashboard/configs/constants.d.ts +1 -0
  89. package/dist/src/containers/Dashboard/configs/types.d.ts +48 -0
  90. package/dist/src/containers/Dashboard/configs/utils.d.ts +1 -0
  91. package/dist/src/containers/Dashboard/hooks/useDashboard.d.ts +12 -0
  92. package/dist/src/containers/Dashboard/hooks/useSkillFormat.d.ts +9 -0
  93. package/dist/src/containers/Dashboard/views/Dashboard.d.ts +3 -0
  94. package/dist/src/containers/Feedback/components/FeedbackDetailModal.d.ts +3 -0
  95. package/dist/src/containers/Feedback/hooks/useFeedbackDetail.d.ts +11 -0
  96. package/dist/src/containers/Feedback/hooks/useFeedbackList.d.ts +9 -0
  97. package/dist/src/containers/Feedback/views/FeedbackList.d.ts +3 -0
  98. package/dist/src/containers/GoalExample/components/GoalExampleDetailModal.d.ts +3 -0
  99. package/dist/src/containers/GoalExample/hooks/useGoalExampleDetail.d.ts +27 -0
  100. package/dist/src/containers/GoalExample/hooks/useGoalExampleList.d.ts +11 -0
  101. package/dist/src/containers/GoalExample/hooks/useShortTermTargetExampleList.d.ts +12 -0
  102. package/dist/src/containers/GoalExample/views/GoalExampleList.d.ts +3 -0
  103. package/dist/src/containers/LearningStrategy/components/StrategyDetailModal.d.ts +3 -0
  104. package/dist/src/containers/LearningStrategy/hooks/useLearningStrategyList.d.ts +10 -0
  105. package/dist/src/containers/LearningStrategy/hooks/useStrategyDetail.d.ts +18 -0
  106. package/dist/src/containers/LearningStrategy/views/LearningStrategyList.d.ts +3 -0
  107. package/dist/src/containers/LearningSupportCategory/components/LearningSupportCategoryDetailModal.d.ts +3 -0
  108. package/dist/src/containers/LearningSupportCategory/components/LearningSupportCategorySelector.d.ts +7 -0
  109. package/dist/src/containers/LearningSupportCategory/hooks/useLearningSupportCategoryDetail.d.ts +19 -0
  110. package/dist/src/containers/LearningSupportCategory/hooks/useLearningSupportCategoryList.d.ts +10 -0
  111. package/dist/src/containers/LearningSupportCategory/views/LearningSupportCategoryList.d.ts +3 -0
  112. package/dist/src/containers/ManageAssistant/views/ManageAssistantList.d.ts +3 -0
  113. package/dist/src/containers/QuestionBank/components/AdditionalComponent.d.ts +7 -0
  114. package/dist/src/containers/QuestionBank/components/AgGridComponents.d.ts +11 -0
  115. package/dist/src/containers/QuestionBank/components/AnswerList.d.ts +9 -0
  116. package/dist/src/containers/QuestionBank/components/DefaultQuestionStudentTeacherFilter.d.ts +8 -0
  117. package/dist/src/containers/QuestionBank/components/DefaultQuestionTypeSelector.d.ts +7 -0
  118. package/dist/src/containers/QuestionBank/components/QuestionPreview.d.ts +3 -0
  119. package/dist/src/containers/QuestionBank/components/SliderScale.d.ts +8 -0
  120. package/dist/src/containers/QuestionBank/components/StarRating.d.ts +7 -0
  121. package/dist/src/containers/QuestionBank/components/SubQuestions.d.ts +7 -0
  122. package/dist/src/containers/QuestionBank/configs/questionDetailSchema.d.ts +25 -0
  123. package/dist/src/containers/QuestionBank/configs/validationAnswerId.d.ts +2 -0
  124. package/dist/src/containers/QuestionBank/configs/validationChoices.d.ts +2 -0
  125. package/dist/src/containers/QuestionBank/hooks/useQuestionAnswerList.d.ts +7 -0
  126. package/dist/src/containers/QuestionBank/hooks/useQuestionDetail.d.ts +32 -0
  127. package/dist/src/containers/QuestionBank/hooks/useQuestionList.d.ts +12 -0
  128. package/dist/src/containers/QuestionBank/hooks/useSubQuestionList.d.ts +6 -0
  129. package/dist/src/containers/QuestionBank/views/QuestionBankContainer.d.ts +3 -0
  130. package/dist/src/containers/QuestionBank/views/QuestionBankList.d.ts +6 -0
  131. package/dist/src/containers/QuestionBank/views/QuestionDetail.d.ts +3 -0
  132. package/dist/src/containers/QuestionCategory/components/QuestionCateModal.d.ts +3 -0
  133. package/dist/src/containers/QuestionCategory/hooks/useQuestionCateDetail.d.ts +18 -0
  134. package/dist/src/containers/QuestionCategory/hooks/useQuestionCateList.d.ts +10 -0
  135. package/dist/src/containers/QuestionCategory/views/QuestionCategogyList.d.ts +3 -0
  136. package/dist/src/containers/ReflectionForm/components/QuestionResponse/EmotionalResponse.d.ts +3 -0
  137. package/dist/src/containers/ReflectionForm/components/QuestionResponse/MultipleChoiceResponse.d.ts +3 -0
  138. package/dist/src/containers/ReflectionForm/components/QuestionResponse/RatingReponse.d.ts +3 -0
  139. package/dist/src/containers/ReflectionForm/components/QuestionResponse/RatingStarReponse.d.ts +3 -0
  140. package/dist/src/containers/ReflectionForm/components/QuestionResponse/TextInputResponse.d.ts +3 -0
  141. package/dist/src/containers/ReflectionForm/components/QuestionSplitPaneSelector.d.ts +3 -0
  142. package/dist/src/containers/ReflectionForm/components/ReflectionDetailModal.d.ts +3 -0
  143. package/dist/src/containers/ReflectionForm/components/ReflectionResultDetailModal.d.ts +3 -0
  144. package/dist/src/containers/ReflectionForm/configs/types.d.ts +43 -0
  145. package/dist/src/containers/ReflectionForm/hooks/useQuestionCategory.d.ts +13 -0
  146. package/dist/src/containers/ReflectionForm/hooks/useReflectionFormDetail.d.ts +21 -0
  147. package/dist/src/containers/ReflectionForm/hooks/useReflectionFormList.d.ts +10 -0
  148. package/dist/src/containers/ReflectionForm/hooks/useReflectionResultDetail.d.ts +8 -0
  149. package/dist/src/containers/ReflectionForm/hooks/useReflectionResultList.d.ts +9 -0
  150. package/dist/src/containers/ReflectionForm/views/ReflectionContainer.d.ts +3 -0
  151. package/dist/src/containers/ReflectionForm/views/ReflectionFormList.d.ts +3 -0
  152. package/dist/src/containers/ReflectionForm/views/ReflectionResultList.d.ts +3 -0
  153. package/dist/src/containers/SchoolBlankDay/components/SchoolBlankDayDetailModal.d.ts +3 -0
  154. package/dist/src/containers/SchoolBlankDay/hooks/useSchoolBlankDayDetail.d.ts +19 -0
  155. package/dist/src/containers/SchoolBlankDay/hooks/useSchoolBlankDayList.d.ts +10 -0
  156. package/dist/src/containers/SchoolBlankDay/views/SchoolBlankDayList.d.ts +3 -0
  157. package/dist/src/containers/Semester/components/BreakingMonthModal.d.ts +3 -0
  158. package/dist/src/containers/Semester/components/SemesterDetailModal.d.ts +3 -0
  159. package/dist/src/containers/Semester/hooks/useBreakingMonth.d.ts +14 -0
  160. package/dist/src/containers/Semester/hooks/useSemesterDetail.d.ts +19 -0
  161. package/dist/src/containers/Semester/hooks/useSemesterList.d.ts +10 -0
  162. package/dist/src/containers/Semester/views/SemesterList.d.ts +3 -0
  163. package/dist/src/containers/SessionTemplate/components/AddQuestionModal.d.ts +11 -0
  164. package/dist/src/containers/SessionTemplate/components/CategorySelector.d.ts +7 -0
  165. package/dist/src/containers/SessionTemplate/components/ConferenceRubricSelector.d.ts +7 -0
  166. package/dist/src/containers/SessionTemplate/components/ReflectionFormSelector.d.ts +7 -0
  167. package/dist/src/containers/SessionTemplate/components/SkillSelector.d.ts +7 -0
  168. package/dist/src/containers/SessionTemplate/configs/validationSchema.d.ts +21 -0
  169. package/dist/src/containers/SessionTemplate/hooks/useAddQuestion.d.ts +8 -0
  170. package/dist/src/containers/SessionTemplate/hooks/useSessionTemplateDetail.d.ts +29 -0
  171. package/dist/src/containers/SessionTemplate/hooks/useSessionTemplateList.d.ts +11 -0
  172. package/dist/src/containers/SessionTemplate/views/SessionTemplateDetail.d.ts +3 -0
  173. package/dist/src/containers/SessionTemplate/views/SessionTemplateList.d.ts +3 -0
  174. package/dist/src/containers/SessionTemplateContainer/views/SessionTemplateContainer.d.ts +3 -0
  175. package/dist/src/containers/SessionTemplateGeneralClass/components/SubjectSelector.d.ts +7 -0
  176. package/dist/src/containers/SessionTemplateGeneralClass/hooks/useSessionTemplateGeneralClassDetail.d.ts +27 -0
  177. package/dist/src/containers/SessionTemplateGeneralClass/hooks/useSessionTemplateGeneralClassList.d.ts +11 -0
  178. package/dist/src/containers/SessionTemplateGeneralClass/views/SessionTemplateGeneralClassDetail.d.ts +3 -0
  179. package/dist/src/containers/SessionTemplateGeneralClass/views/SessionTemplateGeneralClassList.d.ts +3 -0
  180. package/dist/src/containers/Setup/views/SetupContainer.d.ts +3 -0
  181. package/dist/src/containers/Subject/components/SubjectDetailModal.d.ts +3 -0
  182. package/dist/src/containers/Subject/hooks/useSubjectDetail.d.ts +19 -0
  183. package/dist/src/containers/Subject/hooks/useSubjectList.d.ts +10 -0
  184. package/dist/src/containers/Subject/views/SubjectList.d.ts +3 -0
  185. package/dist/src/containers/SuggestionBank/components/SuggestionDetailModal.d.ts +3 -0
  186. package/dist/src/containers/SuggestionBank/hooks/useKeywordList.d.ts +12 -0
  187. package/dist/src/containers/SuggestionBank/hooks/useSuggestionDetail.d.ts +30 -0
  188. package/dist/src/containers/SuggestionBank/hooks/useSuggestionList.d.ts +11 -0
  189. package/dist/src/containers/SuggestionBank/views/SuggestionList.d.ts +3 -0
  190. package/dist/src/containers/TutorialScreen/components/TutorialScreenDetailModal.d.ts +3 -0
  191. package/dist/src/containers/TutorialScreen/components/TutorialScreenList.d.ts +7 -0
  192. package/dist/src/containers/TutorialScreen/enums/TutorialScreenType.d.ts +7 -0
  193. package/dist/src/containers/TutorialScreen/hooks/useTutorialScreenDetail.d.ts +20 -0
  194. package/dist/src/containers/TutorialScreen/hooks/useTutorialScreenList.d.ts +11 -0
  195. package/dist/src/containers/TutorialScreen/views/TutorialScreenContainer.d.ts +3 -0
  196. package/dist/src/index.d.ts +29 -0
  197. package/dist/src/index.test.d.ts +1 -0
  198. package/dist/src/services/academicYearService.d.ts +2 -0
  199. package/dist/{services/certificateService.d.ts → src/services/assessmentService.d.ts} +0 -0
  200. package/dist/src/services/assignmentResultService.d.ts +3 -0
  201. package/dist/src/services/assignmentService.d.ts +8 -0
  202. package/dist/src/services/assistantService.d.ts +2 -0
  203. package/dist/src/services/badgeService.d.ts +6 -0
  204. package/dist/src/services/bandScoreService.d.ts +7 -0
  205. package/dist/src/services/certificateService.d.ts +8 -0
  206. package/dist/src/services/classService.d.ts +9 -0
  207. package/dist/src/services/compareService.d.ts +1 -0
  208. package/dist/src/services/conferenceRubricService.d.ts +9 -0
  209. package/dist/src/services/csvService.d.ts +1 -0
  210. package/dist/src/services/currentLicenseService.d.ts +3 -0
  211. package/dist/src/services/customAlertService.d.ts +7 -0
  212. package/dist/src/services/dashboardService.d.ts +8 -0
  213. package/dist/src/services/feedbackService.d.ts +6 -0
  214. package/dist/src/services/goalExampleService.d.ts +6 -0
  215. package/dist/src/services/learningStrategyService.d.ts +6 -0
  216. package/dist/src/services/learningSupportCategoryService.d.ts +6 -0
  217. package/dist/src/services/questionCategoryService.d.ts +6 -0
  218. package/dist/src/services/questionService.d.ts +6 -0
  219. package/dist/src/services/reflectionFormResponseService.d.ts +3 -0
  220. package/dist/src/services/reflectionFormService.d.ts +6 -0
  221. package/dist/src/services/schoolBlankDayService.d.ts +6 -0
  222. package/dist/src/services/semesterService.d.ts +6 -0
  223. package/dist/src/services/sessionTemplateGeneralClassService.d.ts +6 -0
  224. package/dist/src/services/sessionTemplateService.d.ts +11 -0
  225. package/dist/src/services/studentService.d.ts +2 -0
  226. package/dist/src/services/subjectService.d.ts +6 -0
  227. package/dist/src/services/suggestionService.d.ts +6 -0
  228. package/dist/src/services/tutorialScreenService.d.ts +5 -0
  229. package/dist/src/utils/constants.d.ts +7 -0
  230. package/package.json +91 -91
  231. package/dist/MarioFramework.Education/ClientApp/src/components/Teachers/MyStudent/ConfirmDelete.d.ts +0 -10
  232. package/dist/MarioFramework.Education/ClientApp/src/containers/PersonalizeLearning/views/PersonalizeLearningedu.d.ts +0 -3
  233. package/dist/MarioFramework.Education/ClientApp/src/containers/UserDeleted/hooks/useUserDeleted.d.ts +0 -8
  234. package/dist/MarioFramework.Education/ClientApp/src/containers/UserDeleted/views/UserDeletedDetail.d.ts +0 -3
  235. package/dist/containers/Certificate/hooks/useCertificateReview.d.ts +0 -2
  236. package/dist/containers/Certificate/views/CertificateList.d.ts +0 -3
@@ -0,0 +1,7 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ questions: object[];
4
+ onRemove: Function;
5
+ }
6
+ declare const QuestionList: FC<Props>;
7
+ export default QuestionList;
@@ -0,0 +1,9 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ categoryId: number;
4
+ onChange: Function;
5
+ value: any | null;
6
+ externalQuestionIds: number[];
7
+ }
8
+ declare const QuestionSelector: FC<Props>;
9
+ export default QuestionSelector;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const QuestionSplitPaneSelector: (props: any) => JSX.Element;
3
+ export default QuestionSplitPaneSelector;
@@ -0,0 +1,24 @@
1
+ /// <reference types="react" />
2
+ declare type AssessmentDetail = {
3
+ name: string;
4
+ beginDate?: string;
5
+ endDate?: string;
6
+ studentIds: any;
7
+ category: string;
8
+ questionIds: number[];
9
+ search: string;
10
+ };
11
+ declare const useAssessmentDetail: () => {
12
+ id: number;
13
+ setId: import("react").Dispatch<import("react").SetStateAction<number>>;
14
+ assessmentDetail: AssessmentDetail;
15
+ setAssessmentDetail: import("react").Dispatch<import("react").SetStateAction<AssessmentDetail>>;
16
+ confirmData: (values: any, cb: any) => Promise<void>;
17
+ initValue: AssessmentDetail;
18
+ reset: () => void;
19
+ edited: boolean;
20
+ setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
21
+ setEditedTrue: () => Promise<void>;
22
+ setEditedFalse: () => Promise<void>;
23
+ };
24
+ export default useAssessmentDetail;
@@ -0,0 +1,10 @@
1
+ import { Filter } from "mario-core";
2
+ declare const useAssessmentList: () => {
3
+ assessmentList: 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 useAssessmentList;
@@ -0,0 +1,13 @@
1
+ import { Filter } from "mario-core";
2
+ declare const useQuestionCategory: () => {
3
+ filters: Filter;
4
+ changeFilters: (updatedFilters: any) => void;
5
+ selectQuestion: any;
6
+ selectedQuestions: any;
7
+ questionByCategoryList: any;
8
+ getQuestionByCategory: (Id: any) => Promise<void>;
9
+ setSelectedQuestion: (question: any) => void;
10
+ MoveItemQuestion: (type: any) => void;
11
+ resetQuestionList: () => void;
12
+ };
13
+ export default useQuestionCategory;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const AssessmentList: FC;
3
+ export default AssessmentList;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const AssessmentAssignmentContainer: () => JSX.Element;
3
+ export default AssessmentAssignmentContainer;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const AcademicClassSelector: (props: any) => JSX.Element;
3
+ export default AcademicClassSelector;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const AssessmentSelector: (props: any) => JSX.Element;
3
+ export default AssessmentSelector;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ value?: string;
4
+ onChange: Function;
5
+ listSemester: any;
6
+ }
7
+ declare const SemesterSelector: FC<Props>;
8
+ export default SemesterSelector;
@@ -0,0 +1,13 @@
1
+ import { QuestionResponse, AnswerText } from "../../ReflectionForm/configs/types";
2
+ export declare type AssignmentResult = {
3
+ id: number;
4
+ teacherName: string;
5
+ studentName: string;
6
+ assignmentName: string;
7
+ beginDate: string;
8
+ endDate: string;
9
+ };
10
+ export declare type AssignmentResultDetail = {
11
+ questionResponses: QuestionResponse[];
12
+ answerTexts: AnswerText[];
13
+ };
@@ -0,0 +1,27 @@
1
+ /// <reference types="react" />
2
+ declare type AssignmentDetail = {
3
+ assessmentId: number;
4
+ assessment: any;
5
+ studentIds?: number[];
6
+ students: any;
7
+ teacherIds?: number[];
8
+ teachers: any;
9
+ academicClassId?: number;
10
+ beginDate: string;
11
+ endDate: string;
12
+ timeSemester: any;
13
+ };
14
+ declare const useAssignmentDetail: () => {
15
+ id: number;
16
+ setId: import("react").Dispatch<import("react").SetStateAction<number>>;
17
+ assignmentDetail: AssignmentDetail;
18
+ confirmData: (values: any, cb: any) => Promise<void>;
19
+ onRemoveStudent: (assignmentStudentId: number, cb: any) => void;
20
+ initValue: AssignmentDetail;
21
+ reset: () => void;
22
+ edited: boolean;
23
+ setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
24
+ setEditedTrue: () => Promise<void>;
25
+ setEditedFalse: () => Promise<void>;
26
+ };
27
+ export default useAssignmentDetail;
@@ -0,0 +1,18 @@
1
+ import { Filter } from "mario-core";
2
+ interface Semester {
3
+ id: number;
4
+ name: string;
5
+ startTime: any;
6
+ endTime: any;
7
+ }
8
+ declare const useAssignmentList: () => {
9
+ listSemester: Semester[];
10
+ assignmentList: any;
11
+ totalItems: any;
12
+ filters: Filter;
13
+ changeFilters: (updatedFilters: any) => void;
14
+ getData: () => Promise<void>;
15
+ isRoleAdmin: boolean;
16
+ removeData: (id: number) => void;
17
+ };
18
+ export default useAssignmentList;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { AssignmentResultDetail } from "../configs/types";
3
+ declare const useReflectionResultDetail: () => {
4
+ id: number;
5
+ setId: import("react").Dispatch<import("react").SetStateAction<number>>;
6
+ assignmentResultDetail: AssignmentResultDetail;
7
+ };
8
+ export default useReflectionResultDetail;
@@ -0,0 +1,10 @@
1
+ import { Filter } from "mario-core";
2
+ import { AssignmentResult } from "../configs/types";
3
+ declare const useAssignmentResultList: () => {
4
+ assignmentResultList: AssignmentResult[];
5
+ totalItems: number | undefined;
6
+ filters: Filter;
7
+ changeFilters: (updateFilters: any) => void;
8
+ getData: () => Promise<void>;
9
+ };
10
+ export default useAssignmentResultList;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const AssignmentList: FC;
3
+ export default AssignmentList;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const ReflectionResultList: FC;
3
+ export default ReflectionResultList;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
+ export default _default;
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ declare type BadgeDetail = {
3
+ name: string;
4
+ description: string;
5
+ imgUrl: string;
6
+ };
7
+ declare const useBadgeDetail: () => {
8
+ id: number;
9
+ setId: import("react").Dispatch<import("react").SetStateAction<number>>;
10
+ setFile: import("react").Dispatch<any>;
11
+ badgeDetail: BadgeDetail;
12
+ confirmData: (values: any, cb: any) => Promise<void>;
13
+ initValue: BadgeDetail;
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 useBadgeDetail;
@@ -0,0 +1,10 @@
1
+ import { Filter } from "mario-core";
2
+ declare const useBadgeList: () => {
3
+ badgeList: 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 useBadgeList;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const BadgeList: FC;
3
+ export default BadgeList;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
+ export default _default;
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ declare type BandScoreDetail = {
3
+ label: string;
4
+ value: number;
5
+ };
6
+ declare const useBandScoreDetail: () => {
7
+ id: number;
8
+ setId: import("react").Dispatch<import("react").SetStateAction<number>>;
9
+ bandScoreDetail: BandScoreDetail;
10
+ confirmData: (values: any, cb: any) => Promise<void>;
11
+ initValue: BandScoreDetail;
12
+ reset: () => void;
13
+ edited: boolean;
14
+ setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
15
+ setEditedTrue: () => Promise<void>;
16
+ setEditedFalse: () => Promise<void>;
17
+ };
18
+ export default useBandScoreDetail;
@@ -0,0 +1,7 @@
1
+ declare const useBandScoreList: () => {
2
+ bandScoreList: any;
3
+ totalItems: any;
4
+ getData: () => Promise<void>;
5
+ removeData: (id: number) => void;
6
+ };
7
+ export default useBandScoreList;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ declare const useBreakPoint: () => {
3
+ breakPoint: {
4
+ breakPointValue: number;
5
+ };
6
+ setBreakPoint: import("react").Dispatch<import("react").SetStateAction<{
7
+ breakPointValue: number;
8
+ }>>;
9
+ getBreakPoint: () => Promise<void>;
10
+ updateBreakPoint: (data: any) => Promise<void>;
11
+ };
12
+ export default useBreakPoint;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const BandScoreList: FC;
3
+ export default BandScoreList;
@@ -0,0 +1,10 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ htmlFor: string;
4
+ isDisabled: boolean;
5
+ text: string;
6
+ backgroundColor: string;
7
+ onClick: Function;
8
+ }
9
+ declare const UploadCSVButton: FC<Props>;
10
+ export default UploadCSVButton;
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ declare enum CSVType {
3
+ Students = "students",
4
+ Subjects = "subjects",
5
+ Grades = "grades",
6
+ Attendances = "attendances",
7
+ Others = "others"
8
+ }
9
+ interface CSVImportButton {
10
+ text: string;
11
+ backgroundColor: string;
12
+ type: CSVType;
13
+ }
14
+ declare const useCSVImport: () => {
15
+ isLoading: any;
16
+ buttons: CSVImportButton[];
17
+ id: string;
18
+ setType: import("react").Dispatch<import("react").SetStateAction<CSVType | null>>;
19
+ upload: (file: any) => Promise<void>;
20
+ };
21
+ export default useCSVImport;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const CSVImport: FC;
3
+ export default CSVImport;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const CertificateApproved: FC;
3
+ export default CertificateApproved;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { FC } from "react";
2
+ import { CERTIFICATION_TEACHER_ITEM } from "../config/constants";
3
+ interface Props {
4
+ item: CERTIFICATION_TEACHER_ITEM;
5
+ approveCertificate: Function;
6
+ isApproved: boolean;
7
+ }
8
+ declare const CertificateItem: FC<Props>;
9
+ export default CertificateItem;
@@ -0,0 +1,19 @@
1
+ import { CERTIFICATION_ITEM } from "../../../../../../MarioFramework.TeacherStudent/ClientApp/src/containers/Course/configs/constants";
2
+ export declare type CERTIFICATE = {
3
+ id: number;
4
+ name: string;
5
+ imageUrl: string;
6
+ };
7
+ export declare type CERTIFICATE_SUB_ITEM = {
8
+ id: number;
9
+ progress: number;
10
+ certificateItem: CERTIFICATION_ITEM;
11
+ };
12
+ export declare type CERTIFICATION_TEACHER_ITEM = {
13
+ id: number;
14
+ nameTeacher: string;
15
+ status: string;
16
+ expired: boolean;
17
+ certificate: CERTIFICATE;
18
+ teacherCertificateItems: CERTIFICATE_SUB_ITEM[];
19
+ };
@@ -0,0 +1,7 @@
1
+ import { CERTIFICATION_TEACHER_ITEM } from "../config/constants";
2
+ declare const useCertificateList: () => {
3
+ listWaiting: CERTIFICATION_TEACHER_ITEM[];
4
+ approveCertificate: (teacherCertificateId: number) => Promise<void>;
5
+ listApproved: CERTIFICATION_TEACHER_ITEM[];
6
+ };
7
+ export default useCertificateList;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ students: object[];
4
+ onRemove: Function;
5
+ goToUserDetail: Function;
6
+ }
7
+ declare const StudentList: FC<Props>;
8
+ export default StudentList;
@@ -0,0 +1,8 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ value?: any;
4
+ onChange: any;
5
+ externalStudentIds?: number[];
6
+ }
7
+ declare const StudentSelector: FC<Props>;
8
+ export default StudentSelector;
@@ -0,0 +1,7 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ value?: number[];
4
+ onChange: any;
5
+ }
6
+ declare const TeacherMultiSelector: FC<Props>;
7
+ export default TeacherMultiSelector;
@@ -0,0 +1,7 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ defaultValue: number | null | undefined;
4
+ onChange: Function;
5
+ }
6
+ declare const TeacherSelector: FC<Props>;
7
+ export default TeacherSelector;
@@ -0,0 +1,25 @@
1
+ /// <reference types="react" />
2
+ declare type ClassDetail = {
3
+ id?: 0;
4
+ name: string;
5
+ studentIds: number[];
6
+ teacherId: number;
7
+ };
8
+ declare const useClassDetail: () => {
9
+ id: number;
10
+ setId: import("react").Dispatch<import("react").SetStateAction<number>>;
11
+ classDetail: ClassDetail;
12
+ confirmData: (values: any, cb: any) => Promise<void>;
13
+ initValue: ClassDetail;
14
+ temporaryStudents: any;
15
+ setTemporaryStudents: import("react").Dispatch<any>;
16
+ students: any;
17
+ onAddStudents: () => void;
18
+ onRemoveStudent: (studentId: string) => void;
19
+ reset: () => void;
20
+ edited: boolean;
21
+ setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
22
+ setEditedTrue: () => Promise<void>;
23
+ setEditedFalse: () => Promise<void>;
24
+ };
25
+ export default useClassDetail;
@@ -0,0 +1,13 @@
1
+ import { Filter } from "mario-core";
2
+ declare const useClassList: () => {
3
+ classList: any;
4
+ totalItems: any;
5
+ filters: Filter;
6
+ students: any;
7
+ changeFilters: (updatedFilters: any) => void;
8
+ getData: () => Promise<void>;
9
+ removeData: (id: number) => void;
10
+ getClassStudents: (classId: number) => Promise<void>;
11
+ goToUserDetail: (userId: string) => void;
12
+ };
13
+ export default useClassList;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const ClassList: FC;
3
+ export default ClassList;
@@ -0,0 +1,8 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ text: string;
4
+ isSelected: boolean;
5
+ onClick: Function;
6
+ }
7
+ declare const TeacherItem: FC<Props>;
8
+ export default TeacherItem;
@@ -0,0 +1,18 @@
1
+ export declare type CompareTeacherResult = {
2
+ name: string;
3
+ email: string;
4
+ measureResult: TeacherMeasurePerformance;
5
+ };
6
+ export declare type TeacherMeasurePerformance = {
7
+ measured: number;
8
+ ambitious: number;
9
+ researchBased: number;
10
+ innovative: number;
11
+ oneToOneLearning: number;
12
+ };
13
+ export declare type Teacher = {
14
+ userId: string;
15
+ teacherId: number;
16
+ name: string;
17
+ email: string;
18
+ };
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ import { CompareTeacherResult, Teacher } from "../configs/constants";
3
+ declare const useCompareTeacher: () => {
4
+ results: CompareTeacherResult[];
5
+ teachers: Teacher[];
6
+ teacherUserIds: string[];
7
+ searchString: string;
8
+ compareSides: {
9
+ label: string;
10
+ field: string;
11
+ }[];
12
+ toggleTeacherUserId: (teacherUserId: string) => void;
13
+ setSearchString: import("react").Dispatch<import("react").SetStateAction<string>>;
14
+ getData: () => Promise<void>;
15
+ calculateLevel: (value: number) => "level1" | "level2" | "level3" | "level4";
16
+ };
17
+ export default useCompareTeacher;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const CompareTeacher: FC;
3
+ export default CompareTeacher;
@@ -0,0 +1,14 @@
1
+ import { FC } from "react";
2
+ import { ConferenceRubricItem } from "../configs/types";
3
+ interface Props {
4
+ conferenceRubricItem: ConferenceRubricItem;
5
+ removeItem: Function;
6
+ changeConferenceRubricItemRowText: Function;
7
+ changeConferenceRubricItemColumnText: Function;
8
+ addConferenceRubricItemRow: Function;
9
+ removeConferenceRubricItemRow: Function;
10
+ newRowTexts: any;
11
+ changeNewRowText: Function;
12
+ }
13
+ declare const ConferenceRubricItem: FC<Props>;
14
+ export default ConferenceRubricItem;
@@ -0,0 +1,7 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ defaultValue?: string | null;
4
+ onChange: Function;
5
+ }
6
+ declare const ConferenceRubricTypeSelector: FC<Props>;
7
+ export default ConferenceRubricTypeSelector;
@@ -0,0 +1,8 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ defaultValue?: number;
4
+ onChange: Function;
5
+ externalIds: number[];
6
+ }
7
+ declare const SkillSelector: FC<Props>;
8
+ export default SkillSelector;
@@ -0,0 +1,44 @@
1
+ export declare enum RubricItemColumnOrder {
2
+ Default = 0,
3
+ Order1 = 1,
4
+ Order2 = 2,
5
+ Order3 = 3,
6
+ Order4 = 4,
7
+ Order5 = 5,
8
+ Order6 = 6
9
+ }
10
+ export declare type ConferenceRubric = {
11
+ id?: number | null;
12
+ name: string | null;
13
+ instruction: string;
14
+ conferenceRubricItems: ConferenceRubricItem[];
15
+ questions: ConferenceRubricQuestion[];
16
+ };
17
+ export declare type ConferenceRubricItem = {
18
+ id?: number | null;
19
+ skillId?: number | null;
20
+ skill?: ConferenceRubricSkill;
21
+ columns: ConferenceRubricItemColumn[];
22
+ rows: ConferenceRubricItemRow[];
23
+ };
24
+ export declare type ConferenceRubricSkill = {
25
+ id: number;
26
+ name: string;
27
+ };
28
+ export declare type ConferenceRubricItemRow = {
29
+ id?: number | null;
30
+ text: string;
31
+ guid?: string;
32
+ };
33
+ export declare type ConferenceRubricItemColumn = {
34
+ id?: number | null;
35
+ order: RubricItemColumnOrder;
36
+ text: string;
37
+ };
38
+ export declare type ConferenceRubricQuestion = {
39
+ id: number;
40
+ text: string;
41
+ };
42
+ export declare const initValue: ConferenceRubric;
43
+ export declare const conferenceRubricItemColumns: ConferenceRubricItemColumn[];
44
+ export declare const conferenceRubricItemRow: ConferenceRubricItemRow;