mario-education 2.1.7 → 2.2.2

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 (195) hide show
  1. package/dist/MarioFramework.Education/ClientApp/src/containers/CSVImport/hooks/useCSVImport.d.ts +1 -0
  2. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/hooks/useQuestionDetail.d.ts +1 -0
  3. package/dist/index.js +17 -19
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.modern.js +17 -19
  6. package/dist/index.modern.js.map +1 -1
  7. package/package.json +91 -91
  8. package/dist/MarioFramework.Education/ClientApp/src/components/Teachers/MyStudent/ConfirmDelete.d.ts +0 -10
  9. package/dist/MarioFramework.Education/ClientApp/src/containers/PersonalizeLearning/views/PersonalizeLearningedu.d.ts +0 -3
  10. package/dist/MarioFramework.Education/ClientApp/src/containers/UserDeleted/hooks/useUserDeleted.d.ts +0 -8
  11. package/dist/MarioFramework.Education/ClientApp/src/containers/UserDeleted/views/UserDeletedDetail.d.ts +0 -3
  12. package/dist/components/Input/ToggleInput.d.ts +0 -10
  13. package/dist/components/Questions/QuestionList.d.ts +0 -7
  14. package/dist/components/Questions/QuestionSelector.d.ts +0 -9
  15. package/dist/containers/Assessment/components/AssessmentDetailModal.d.ts +0 -3
  16. package/dist/containers/Assessment/components/QuestionSplitPaneSelector.d.ts +0 -3
  17. package/dist/containers/Assessment/hooks/useAssessmentDetail.d.ts +0 -24
  18. package/dist/containers/Assessment/hooks/useAssessmentList.d.ts +0 -10
  19. package/dist/containers/Assessment/hooks/useQuestionCategory.d.ts +0 -13
  20. package/dist/containers/Assessment/views/AssessmentList.d.ts +0 -3
  21. package/dist/containers/AssessmentAssignment/views/AssessmentAssignmentContainer.d.ts +0 -3
  22. package/dist/containers/Assignment/components/AcademicClassSelector.d.ts +0 -3
  23. package/dist/containers/Assignment/components/AssessmentSelector.d.ts +0 -3
  24. package/dist/containers/Assignment/components/AssignmentDetailModal.d.ts +0 -3
  25. package/dist/containers/Assignment/configs/types.d.ts +0 -12
  26. package/dist/containers/Assignment/hooks/useAssignmentDetail.d.ts +0 -24
  27. package/dist/containers/Assignment/hooks/useAssignmentList.d.ts +0 -10
  28. package/dist/containers/Assignment/hooks/useAssignmentResultDetail.d.ts +0 -8
  29. package/dist/containers/Assignment/hooks/useAssignmentResultList.d.ts +0 -10
  30. package/dist/containers/Assignment/views/AssignmentList.d.ts +0 -3
  31. package/dist/containers/Assignment/views/AssignmentResultList.d.ts +0 -3
  32. package/dist/containers/Badge/components/BadgeDetailModal.d.ts +0 -3
  33. package/dist/containers/Badge/hooks/useBadgeDetail.d.ts +0 -20
  34. package/dist/containers/Badge/hooks/useBadgeList.d.ts +0 -10
  35. package/dist/containers/Badge/views/BadgeList.d.ts +0 -3
  36. package/dist/containers/CSVImport/components/UploadCSVButton.d.ts +0 -10
  37. package/dist/containers/CSVImport/hooks/useCSVImport.d.ts +0 -21
  38. package/dist/containers/CSVImport/views/CSVImport.d.ts +0 -3
  39. package/dist/containers/Certificate/components/CertificateDetailModal.d.ts +0 -3
  40. package/dist/containers/Certificate/components/CertificateList.d.ts +0 -3
  41. package/dist/containers/Certificate/components/CertificateReview.d.ts +0 -3
  42. package/dist/containers/Certificate/hooks/useCertificateDetail.d.ts +0 -26
  43. package/dist/containers/Certificate/hooks/useCertificateList.d.ts +0 -10
  44. package/dist/containers/Certificate/hooks/useCertificateReview.d.ts +0 -2
  45. package/dist/containers/Certificate/views/CertificateContainer.d.ts +0 -3
  46. package/dist/containers/Certificate/views/CertificateList.d.ts +0 -3
  47. package/dist/containers/Classes/components/ClassDetailModal.d.ts +0 -3
  48. package/dist/containers/Classes/components/ClassStudentModal.d.ts +0 -3
  49. package/dist/containers/Classes/components/StudentList.d.ts +0 -8
  50. package/dist/containers/Classes/components/StudentSelector.d.ts +0 -8
  51. package/dist/containers/Classes/components/TeacherSelector.d.ts +0 -7
  52. package/dist/containers/Classes/hooks/useClassDetail.d.ts +0 -25
  53. package/dist/containers/Classes/hooks/useClassList.d.ts +0 -13
  54. package/dist/containers/Classes/views/ClassList.d.ts +0 -3
  55. package/dist/containers/ConferenceRubric/components/ConferenceRubricItem.d.ts +0 -14
  56. package/dist/containers/ConferenceRubric/components/ConferenceRubricTypeSelector.d.ts +0 -7
  57. package/dist/containers/ConferenceRubric/components/SkillSelector.d.ts +0 -8
  58. package/dist/containers/ConferenceRubric/components/ToggleInput.d.ts +0 -9
  59. package/dist/containers/ConferenceRubric/configs/types.d.ts +0 -44
  60. package/dist/containers/ConferenceRubric/hooks/useConferenceRubricDetail.d.ts +0 -36
  61. package/dist/containers/ConferenceRubric/hooks/useConferenceRubricList.d.ts +0 -11
  62. package/dist/containers/ConferenceRubric/views/ConferenceRubricDetail.d.ts +0 -3
  63. package/dist/containers/ConferenceRubric/views/ConferenceRubricList.d.ts +0 -3
  64. package/dist/containers/CustomAlert/components/CustomAlertDetailModal.d.ts +0 -3
  65. package/dist/containers/CustomAlert/hooks/useCustomAlertDetail.d.ts +0 -22
  66. package/dist/containers/CustomAlert/hooks/useCustomAlertList.d.ts +0 -10
  67. package/dist/containers/CustomAlert/views/CustomAlertList.d.ts +0 -3
  68. package/dist/containers/Feedback/components/FeedbackDetailModal.d.ts +0 -3
  69. package/dist/containers/Feedback/hooks/useFeedbackDetail.d.ts +0 -11
  70. package/dist/containers/Feedback/hooks/useFeedbackList.d.ts +0 -9
  71. package/dist/containers/Feedback/views/FeedbackList.d.ts +0 -3
  72. package/dist/containers/GoalExample/components/GoalExampleDetailModal.d.ts +0 -3
  73. package/dist/containers/GoalExample/hooks/useGoalExampleDetail.d.ts +0 -27
  74. package/dist/containers/GoalExample/hooks/useGoalExampleList.d.ts +0 -11
  75. package/dist/containers/GoalExample/hooks/useShortTermTargetExampleList.d.ts +0 -12
  76. package/dist/containers/GoalExample/views/GoalExampleList.d.ts +0 -3
  77. package/dist/containers/LearningStrategy/components/StrategyDetailModal.d.ts +0 -3
  78. package/dist/containers/LearningStrategy/hooks/useLearningStrategyList.d.ts +0 -10
  79. package/dist/containers/LearningStrategy/hooks/useStrategyDetail.d.ts +0 -18
  80. package/dist/containers/LearningStrategy/views/LearningStrategyList.d.ts +0 -3
  81. package/dist/containers/LearningSupportCategory/components/LearningSupportCategoryDetailModal.d.ts +0 -3
  82. package/dist/containers/LearningSupportCategory/components/LearningSupportCategorySelector.d.ts +0 -7
  83. package/dist/containers/LearningSupportCategory/hooks/useLearningSupportCategoryDetail.d.ts +0 -19
  84. package/dist/containers/LearningSupportCategory/hooks/useLearningSupportCategoryList.d.ts +0 -10
  85. package/dist/containers/LearningSupportCategory/views/LearningSupportCategoryList.d.ts +0 -3
  86. package/dist/containers/ManageAssistant/views/ManageAssistantList.d.ts +0 -3
  87. package/dist/containers/QuestionBank/components/AdditionalComponent.d.ts +0 -7
  88. package/dist/containers/QuestionBank/components/AgGridComponents.d.ts +0 -11
  89. package/dist/containers/QuestionBank/components/AnswerList.d.ts +0 -9
  90. package/dist/containers/QuestionBank/components/DefaultQuestionStudentTeacherFilter.d.ts +0 -8
  91. package/dist/containers/QuestionBank/components/DefaultQuestionTypeSelector.d.ts +0 -7
  92. package/dist/containers/QuestionBank/components/QuestionPreview.d.ts +0 -3
  93. package/dist/containers/QuestionBank/components/SliderScale.d.ts +0 -8
  94. package/dist/containers/QuestionBank/components/StarRating.d.ts +0 -7
  95. package/dist/containers/QuestionBank/components/SubQuestions.d.ts +0 -7
  96. package/dist/containers/QuestionBank/configs/questionDetailSchema.d.ts +0 -25
  97. package/dist/containers/QuestionBank/configs/validationAnswerId.d.ts +0 -2
  98. package/dist/containers/QuestionBank/configs/validationChoices.d.ts +0 -2
  99. package/dist/containers/QuestionBank/hooks/useQuestionAnswerList.d.ts +0 -7
  100. package/dist/containers/QuestionBank/hooks/useQuestionDetail.d.ts +0 -32
  101. package/dist/containers/QuestionBank/hooks/useQuestionList.d.ts +0 -12
  102. package/dist/containers/QuestionBank/hooks/useSubQuestionList.d.ts +0 -6
  103. package/dist/containers/QuestionBank/views/QuestionBankContainer.d.ts +0 -3
  104. package/dist/containers/QuestionBank/views/QuestionBankList.d.ts +0 -6
  105. package/dist/containers/QuestionBank/views/QuestionDetail.d.ts +0 -3
  106. package/dist/containers/QuestionCategory/components/QuestionCateModal.d.ts +0 -3
  107. package/dist/containers/QuestionCategory/hooks/useQuestionCateDetail.d.ts +0 -18
  108. package/dist/containers/QuestionCategory/hooks/useQuestionCateList.d.ts +0 -10
  109. package/dist/containers/QuestionCategory/views/QuestionCategogyList.d.ts +0 -3
  110. package/dist/containers/ReflectionForm/components/QuestionResponse/EmotionalResponse.d.ts +0 -3
  111. package/dist/containers/ReflectionForm/components/QuestionResponse/MultipleChoiceResponse.d.ts +0 -3
  112. package/dist/containers/ReflectionForm/components/QuestionResponse/RatingReponse.d.ts +0 -3
  113. package/dist/containers/ReflectionForm/components/QuestionResponse/RatingStarReponse.d.ts +0 -3
  114. package/dist/containers/ReflectionForm/components/QuestionResponse/TextInputResponse.d.ts +0 -3
  115. package/dist/containers/ReflectionForm/components/QuestionSplitPaneSelector.d.ts +0 -3
  116. package/dist/containers/ReflectionForm/components/ReflectionDetailModal.d.ts +0 -3
  117. package/dist/containers/ReflectionForm/components/ReflectionResultDetailModal.d.ts +0 -3
  118. package/dist/containers/ReflectionForm/configs/types.d.ts +0 -43
  119. package/dist/containers/ReflectionForm/hooks/useQuestionCategory.d.ts +0 -13
  120. package/dist/containers/ReflectionForm/hooks/useReflectionFormDetail.d.ts +0 -21
  121. package/dist/containers/ReflectionForm/hooks/useReflectionFormList.d.ts +0 -10
  122. package/dist/containers/ReflectionForm/hooks/useReflectionResultDetail.d.ts +0 -8
  123. package/dist/containers/ReflectionForm/hooks/useReflectionResultList.d.ts +0 -9
  124. package/dist/containers/ReflectionForm/views/ReflectionContainer.d.ts +0 -3
  125. package/dist/containers/ReflectionForm/views/ReflectionFormList.d.ts +0 -3
  126. package/dist/containers/ReflectionForm/views/ReflectionResultList.d.ts +0 -3
  127. package/dist/containers/Semester/components/BreakingMonthModal.d.ts +0 -3
  128. package/dist/containers/Semester/components/SemesterDetailModal.d.ts +0 -3
  129. package/dist/containers/Semester/hooks/useBreakingMonth.d.ts +0 -14
  130. package/dist/containers/Semester/hooks/useSemesterDetail.d.ts +0 -19
  131. package/dist/containers/Semester/hooks/useSemesterList.d.ts +0 -10
  132. package/dist/containers/Semester/views/SemesterList.d.ts +0 -3
  133. package/dist/containers/SessionTemplate/components/AddQuestionModal.d.ts +0 -11
  134. package/dist/containers/SessionTemplate/components/CategorySelector.d.ts +0 -7
  135. package/dist/containers/SessionTemplate/components/ConferenceRubricSelector.d.ts +0 -7
  136. package/dist/containers/SessionTemplate/components/ReflectionFormSelector.d.ts +0 -7
  137. package/dist/containers/SessionTemplate/components/SkillSelector.d.ts +0 -7
  138. package/dist/containers/SessionTemplate/configs/validationSchema.d.ts +0 -21
  139. package/dist/containers/SessionTemplate/hooks/useAddQuestion.d.ts +0 -8
  140. package/dist/containers/SessionTemplate/hooks/useSessionTemplateDetail.d.ts +0 -29
  141. package/dist/containers/SessionTemplate/hooks/useSessionTemplateList.d.ts +0 -11
  142. package/dist/containers/SessionTemplate/views/SessionTemplateDetail.d.ts +0 -3
  143. package/dist/containers/SessionTemplate/views/SessionTemplateList.d.ts +0 -3
  144. package/dist/containers/SessionTemplateContainer/views/SessionTemplateContainer.d.ts +0 -3
  145. package/dist/containers/SessionTemplateGeneralClass/components/SubjectSelector.d.ts +0 -7
  146. package/dist/containers/SessionTemplateGeneralClass/hooks/useSessionTemplateGeneralClassDetail.d.ts +0 -27
  147. package/dist/containers/SessionTemplateGeneralClass/hooks/useSessionTemplateGeneralClassList.d.ts +0 -11
  148. package/dist/containers/SessionTemplateGeneralClass/views/SessionTemplateGeneralClassDetail.d.ts +0 -3
  149. package/dist/containers/SessionTemplateGeneralClass/views/SessionTemplateGeneralClassList.d.ts +0 -3
  150. package/dist/containers/Setup/views/SetupContainer.d.ts +0 -3
  151. package/dist/containers/Subject/components/SubjectDetailModal.d.ts +0 -3
  152. package/dist/containers/Subject/hooks/useSubjectDetail.d.ts +0 -19
  153. package/dist/containers/Subject/hooks/useSubjectList.d.ts +0 -10
  154. package/dist/containers/Subject/views/SubjectList.d.ts +0 -3
  155. package/dist/containers/SuggestionBank/components/SuggestionDetailModal.d.ts +0 -3
  156. package/dist/containers/SuggestionBank/hooks/useKeywordList.d.ts +0 -12
  157. package/dist/containers/SuggestionBank/hooks/useSuggestionDetail.d.ts +0 -30
  158. package/dist/containers/SuggestionBank/hooks/useSuggestionList.d.ts +0 -11
  159. package/dist/containers/SuggestionBank/views/SuggestionList.d.ts +0 -3
  160. package/dist/containers/TutorialScreen/components/TutorialScreenDetailModal.d.ts +0 -3
  161. package/dist/containers/TutorialScreen/components/TutorialScreenList.d.ts +0 -7
  162. package/dist/containers/TutorialScreen/enums/TutorialScreenType.d.ts +0 -7
  163. package/dist/containers/TutorialScreen/hooks/useTutorialScreenDetail.d.ts +0 -20
  164. package/dist/containers/TutorialScreen/hooks/useTutorialScreenList.d.ts +0 -11
  165. package/dist/containers/TutorialScreen/views/TutorialScreenContainer.d.ts +0 -3
  166. package/dist/containers/TutorialScreen/views/TutorialScreenList.d.ts +0 -3
  167. package/dist/index.d.ts +0 -27
  168. package/dist/index.test.d.ts +0 -1
  169. package/dist/services/academicYearService.d.ts +0 -2
  170. package/dist/services/assessmentService.d.ts +0 -6
  171. package/dist/services/assignmentResultService.d.ts +0 -3
  172. package/dist/services/assignmentService.d.ts +0 -7
  173. package/dist/services/assistantService.d.ts +0 -2
  174. package/dist/services/badgeService.d.ts +0 -6
  175. package/dist/services/certificateService.d.ts +0 -6
  176. package/dist/services/classService.d.ts +0 -9
  177. package/dist/services/conferenceRubricService.d.ts +0 -9
  178. package/dist/services/csvService.d.ts +0 -1
  179. package/dist/services/customAlertService.d.ts +0 -7
  180. package/dist/services/feedbackService.d.ts +0 -6
  181. package/dist/services/goalExampleService.d.ts +0 -6
  182. package/dist/services/learningStrategyService.d.ts +0 -6
  183. package/dist/services/learningSupportCategoryService.d.ts +0 -6
  184. package/dist/services/questionCategoryService.d.ts +0 -6
  185. package/dist/services/questionService.d.ts +0 -6
  186. package/dist/services/reflectionFormResponseService.d.ts +0 -3
  187. package/dist/services/reflectionFormService.d.ts +0 -6
  188. package/dist/services/semesterService.d.ts +0 -6
  189. package/dist/services/sessionTemplateGeneralClassService.d.ts +0 -6
  190. package/dist/services/sessionTemplateService.d.ts +0 -11
  191. package/dist/services/studentService.d.ts +0 -2
  192. package/dist/services/subjectService.d.ts +0 -6
  193. package/dist/services/suggestionService.d.ts +0 -6
  194. package/dist/services/tutorialScreenService.d.ts +0 -5
  195. package/dist/utils/constants.d.ts +0 -7
package/package.json CHANGED
@@ -1,91 +1,91 @@
1
- {
2
- "name": "mario-education",
3
- "version": "2.1.7",
4
- "description": "Contains education components && functions for BRSS Mario project",
5
- "author": "brss",
6
- "license": "MIT",
7
- "repository": "brss/mario-education",
8
- "main": "dist/index.js",
9
- "module": "dist/index.modern.js",
10
- "source": "src/index.tsx",
11
- "engines": {
12
- "node": ">=10"
13
- },
14
- "scripts": {
15
- "build": "microbundle-crl --no-compress --format modern,cjs",
16
- "start": "microbundle-crl watch --no-compress --format modern,cjs",
17
- "prepare": "run-s build",
18
- "test": "run-s test:unit test:lint test:build",
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",
23
- "predeploy": "cd example && npm install && npm run build",
24
- "deploy": "gh-pages -d example/build"
25
- },
26
- "peerDependencies": {
27
- "react": "^16.0.0",
28
- "react-table": "*",
29
- "reactstrap": "*",
30
- "react-dom": "*",
31
- "react-redux": "*",
32
- "react-router-dom": "*"
33
- },
34
- "devDependencies": {
35
- "@rollup/plugin-commonjs": "11.0.2",
36
- "@testing-library/jest-dom": "^4.2.4",
37
- "@testing-library/react": "^9.5.0",
38
- "@testing-library/user-event": "^7.2.1",
39
- "@types/jest": "^25.1.4",
40
- "@types/node": "^12.12.38",
41
- "@types/react": "^16.9.27",
42
- "@types/react-dom": "^16.9.7",
43
- "@types/react-redux": "^7.1.16",
44
- "@types/react-router-dom": "^5.1.7",
45
- "@types/react-table": "^7.0.28",
46
- "@types/reactstrap": "",
47
- "@typescript-eslint/eslint-plugin": "^2.26.0",
48
- "@typescript-eslint/parser": "^2.26.0",
49
- "@types/yup": "^0.29.11",
50
- "babel-eslint": "^10.0.3",
51
- "cross-env": "^7.0.2",
52
- "eslint": "^6.8.0",
53
- "eslint-config-prettier": "^6.7.0",
54
- "eslint-config-standard": "^14.1.0",
55
- "eslint-config-standard-react": "^9.2.0",
56
- "eslint-plugin-import": "^2.18.2",
57
- "eslint-plugin-node": "^11.0.0",
58
- "eslint-plugin-prettier": "^3.1.1",
59
- "eslint-plugin-promise": "^4.2.1",
60
- "eslint-plugin-react": "^7.17.0",
61
- "eslint-plugin-standard": "^4.0.1",
62
- "gh-pages": "^2.2.0",
63
- "microbundle-crl": "^0.13.10",
64
- "npm-run-all": "^4.1.5",
65
- "prettier": "^2.0.4",
66
- "react-scripts": "^3.4.1",
67
- "typescript": "^3.7.5"
68
- },
69
- "files": [
70
- "dist"
71
- ],
72
- "dependencies": {
73
- "@ag-grid-community/client-side-row-model": "^22.1.1",
74
- "@ag-grid-community/react": "^22.0.0",
75
- "@ag-grid-enterprise/core": "^22.1.1",
76
- "@ag-grid-enterprise/master-detail": "^22.1.1",
77
- "@tinymce/tinymce-react": "^3.9.0",
78
- "@types/react-datepicker": "^3.1.7",
79
- "apexcharts": "^3.26.3",
80
- "axios": "^0.21.1",
81
- "date-fns": "^2.19.0",
82
- "formik": "^2.2.6",
83
- "mario-core": "^2.4.8",
84
- "react-apexcharts": "^1.3.9",
85
- "react-datepicker": "^3.6.0",
86
- "react-icons": "^4.2.0",
87
- "react-simple-star-rating": "^1.0.6",
88
- "reactstrap": "^8.10.0",
89
- "yup": "^0.32.9"
90
- }
91
- }
1
+ {
2
+ "name": "mario-education",
3
+ "version": "2.2.2",
4
+ "description": "Contains education components && functions for BRSS Mario project",
5
+ "author": "brss",
6
+ "license": "MIT",
7
+ "repository": "brss/mario-education",
8
+ "main": "dist/index.js",
9
+ "module": "dist/index.modern.js",
10
+ "source": "src/index.tsx",
11
+ "engines": {
12
+ "node": ">=10"
13
+ },
14
+ "scripts": {
15
+ "build": "microbundle-crl --no-compress --format modern,cjs",
16
+ "start": "microbundle-crl watch --no-compress --format modern,cjs",
17
+ "prepare": "run-s build",
18
+ "test": "run-s test:unit test:lint test:build",
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",
23
+ "predeploy": "cd example && npm install && npm run build",
24
+ "deploy": "gh-pages -d example/build"
25
+ },
26
+ "peerDependencies": {
27
+ "react": "^16.0.0",
28
+ "react-table": "*",
29
+ "reactstrap": "*",
30
+ "react-dom": "*",
31
+ "react-redux": "*",
32
+ "react-router-dom": "*"
33
+ },
34
+ "devDependencies": {
35
+ "@rollup/plugin-commonjs": "11.0.2",
36
+ "@testing-library/jest-dom": "^4.2.4",
37
+ "@testing-library/react": "^9.5.0",
38
+ "@testing-library/user-event": "^7.2.1",
39
+ "@types/jest": "^25.1.4",
40
+ "@types/node": "^12.12.38",
41
+ "@types/react": "^16.9.27",
42
+ "@types/react-dom": "^16.9.7",
43
+ "@types/react-redux": "^7.1.16",
44
+ "@types/react-router-dom": "^5.1.7",
45
+ "@types/react-table": "^7.0.28",
46
+ "@types/reactstrap": "",
47
+ "@typescript-eslint/eslint-plugin": "^2.26.0",
48
+ "@typescript-eslint/parser": "^2.26.0",
49
+ "@types/yup": "^0.29.11",
50
+ "babel-eslint": "^10.0.3",
51
+ "cross-env": "^7.0.2",
52
+ "eslint": "^6.8.0",
53
+ "eslint-config-prettier": "^6.7.0",
54
+ "eslint-config-standard": "^14.1.0",
55
+ "eslint-config-standard-react": "^9.2.0",
56
+ "eslint-plugin-import": "^2.18.2",
57
+ "eslint-plugin-node": "^11.0.0",
58
+ "eslint-plugin-prettier": "^3.1.1",
59
+ "eslint-plugin-promise": "^4.2.1",
60
+ "eslint-plugin-react": "^7.17.0",
61
+ "eslint-plugin-standard": "^4.0.1",
62
+ "gh-pages": "^2.2.0",
63
+ "microbundle-crl": "^0.13.10",
64
+ "npm-run-all": "^4.1.5",
65
+ "prettier": "^2.0.4",
66
+ "react-scripts": "^3.4.1",
67
+ "typescript": "^3.7.5"
68
+ },
69
+ "files": [
70
+ "dist"
71
+ ],
72
+ "dependencies": {
73
+ "@ag-grid-community/client-side-row-model": "^22.1.1",
74
+ "@ag-grid-community/react": "^22.0.0",
75
+ "@ag-grid-enterprise/core": "^22.1.1",
76
+ "@ag-grid-enterprise/master-detail": "^22.1.1",
77
+ "@tinymce/tinymce-react": "^3.9.0",
78
+ "@types/react-datepicker": "^3.1.7",
79
+ "apexcharts": "^3.26.3",
80
+ "axios": "^0.21.1",
81
+ "date-fns": "^2.19.0",
82
+ "formik": "^2.2.6",
83
+ "mario-core": "^2.4.8",
84
+ "react-apexcharts": "^1.3.9",
85
+ "react-datepicker": "^3.6.0",
86
+ "react-icons": "^4.2.0",
87
+ "react-simple-star-rating": "^1.0.6",
88
+ "reactstrap": "^8.10.0",
89
+ "yup": "^0.32.9"
90
+ }
91
+ }
@@ -1,10 +0,0 @@
1
- import { FC } from "react";
2
- interface Props {
3
- text?: string;
4
- title?: string;
5
- isOpen?: boolean;
6
- confirm?(): void;
7
- cancel?(): void;
8
- }
9
- declare const ConfirmDelete: FC<Props>;
10
- export default ConfirmDelete;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const PersonalizeLearningedu: () => JSX.Element;
3
- export default PersonalizeLearningedu;
@@ -1,8 +0,0 @@
1
- declare const useUserDeletedList: () => {
2
- userList: never[];
3
- totalItems: number;
4
- filters: import("mario-core").Filter;
5
- getData: () => Promise<void>;
6
- changeFilters: (updatedFilters: any) => void;
7
- };
8
- export default useUserDeletedList;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const UserDetail: () => JSX.Element;
3
- export default UserDetail;
@@ -1,10 +0,0 @@
1
- import { FC } from "react";
2
- interface Props {
3
- value: string;
4
- onChange: Function;
5
- children?: any | null;
6
- noMb?: boolean;
7
- defaultValue?: string;
8
- }
9
- declare const ToggleInput: FC<Props>;
10
- export default ToggleInput;
@@ -1,7 +0,0 @@
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;
@@ -1,9 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const QuestionSplitPaneSelector: (props: any) => JSX.Element;
3
- export default QuestionSplitPaneSelector;
@@ -1,24 +0,0 @@
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;
@@ -1,10 +0,0 @@
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;
@@ -1,13 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const AssessmentList: FC;
3
- export default AssessmentList;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const AssessmentAssignmentContainer: () => JSX.Element;
3
- export default AssessmentAssignmentContainer;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const AcademicClassSelector: (props: any) => JSX.Element;
3
- export default AcademicClassSelector;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const AssessmentSelector: (props: any) => JSX.Element;
3
- export default AssessmentSelector;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
- export default _default;
@@ -1,12 +0,0 @@
1
- import { QuestionResponse, AnswerText } from "../../ReflectionForm/configs/types";
2
- export declare type AssignmentResult = {
3
- id: number;
4
- studentName: string;
5
- assignmentName: string;
6
- beginDate: string;
7
- endDate: string;
8
- };
9
- export declare type AssignmentResultDetail = {
10
- questionResponses: QuestionResponse[];
11
- answerTexts: AnswerText[];
12
- };
@@ -1,24 +0,0 @@
1
- /// <reference types="react" />
2
- declare type AssignmentDetail = {
3
- assessmentId: number;
4
- assessment: any;
5
- studentIds?: number[];
6
- students: any;
7
- academicClassId?: number;
8
- beginDate: string;
9
- endDate: string;
10
- };
11
- declare const useAssignmentDetail: () => {
12
- id: number;
13
- setId: import("react").Dispatch<import("react").SetStateAction<number>>;
14
- assignmentDetail: AssignmentDetail;
15
- confirmData: (values: any, cb: any) => Promise<void>;
16
- onRemoveStudent: (assignmentStudentId: number, cb: any) => void;
17
- initValue: AssignmentDetail;
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 useAssignmentDetail;
@@ -1,10 +0,0 @@
1
- import { Filter } from "mario-core";
2
- declare const useAssignmentList: () => {
3
- assignmentList: 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 useAssignmentList;
@@ -1,8 +0,0 @@
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;
@@ -1,10 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const AssignmentList: FC;
3
- export default AssignmentList;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const ReflectionResultList: FC;
3
- export default ReflectionResultList;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
- export default _default;
@@ -1,20 +0,0 @@
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;
@@ -1,10 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const BadgeList: FC;
3
- export default BadgeList;
@@ -1,10 +0,0 @@
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;
@@ -1,21 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const CSVImport: FC;
3
- export default CSVImport;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const CertificateList: FC;
3
- export default CertificateList;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const CertificateReview: FC;
3
- export default CertificateReview;
@@ -1,26 +0,0 @@
1
- /// <reference types="react" />
2
- declare type CertificateItem = {
3
- id: number;
4
- text: string;
5
- };
6
- declare type CertificateDetail = {
7
- name: string;
8
- description: string;
9
- imageUrl: string;
10
- certificateItems: CertificateItem[];
11
- };
12
- declare const useCertificateDetail: () => {
13
- id: number;
14
- setId: import("react").Dispatch<import("react").SetStateAction<number>>;
15
- certificateDetail: CertificateDetail;
16
- initItemValue: CertificateItem;
17
- confirmData: (values: any, cb: any) => Promise<void>;
18
- initValue: CertificateDetail;
19
- reset: () => void;
20
- setFile: import("react").Dispatch<any>;
21
- edited: boolean;
22
- setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
23
- setEditedTrue: () => Promise<void>;
24
- setEditedFalse: () => Promise<void>;
25
- };
26
- export default useCertificateDetail;
@@ -1,10 +0,0 @@
1
- import { Filter } from "mario-core";
2
- declare const useCertificateList: () => {
3
- certificateList: 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 useCertificateList;
@@ -1,2 +0,0 @@
1
- declare const useCertificateList: () => {};
2
- export default useCertificateList;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const CertificateContainer: () => JSX.Element;
3
- export default CertificateContainer;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const CertificateList: FC;
3
- export default CertificateList;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
- export default _default;
@@ -1,8 +0,0 @@
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;
@@ -1,8 +0,0 @@
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;
@@ -1,7 +0,0 @@
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;
@@ -1,25 +0,0 @@
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;