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.
- package/dist/MarioFramework.Education/ClientApp/src/containers/CSVImport/hooks/useCSVImport.d.ts +1 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/hooks/useQuestionDetail.d.ts +1 -0
- package/dist/index.js +17 -19
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +17 -19
- package/dist/index.modern.js.map +1 -1
- package/package.json +91 -91
- package/dist/MarioFramework.Education/ClientApp/src/components/Teachers/MyStudent/ConfirmDelete.d.ts +0 -10
- package/dist/MarioFramework.Education/ClientApp/src/containers/PersonalizeLearning/views/PersonalizeLearningedu.d.ts +0 -3
- package/dist/MarioFramework.Education/ClientApp/src/containers/UserDeleted/hooks/useUserDeleted.d.ts +0 -8
- package/dist/MarioFramework.Education/ClientApp/src/containers/UserDeleted/views/UserDeletedDetail.d.ts +0 -3
- package/dist/components/Input/ToggleInput.d.ts +0 -10
- package/dist/components/Questions/QuestionList.d.ts +0 -7
- package/dist/components/Questions/QuestionSelector.d.ts +0 -9
- package/dist/containers/Assessment/components/AssessmentDetailModal.d.ts +0 -3
- package/dist/containers/Assessment/components/QuestionSplitPaneSelector.d.ts +0 -3
- package/dist/containers/Assessment/hooks/useAssessmentDetail.d.ts +0 -24
- package/dist/containers/Assessment/hooks/useAssessmentList.d.ts +0 -10
- package/dist/containers/Assessment/hooks/useQuestionCategory.d.ts +0 -13
- package/dist/containers/Assessment/views/AssessmentList.d.ts +0 -3
- package/dist/containers/AssessmentAssignment/views/AssessmentAssignmentContainer.d.ts +0 -3
- package/dist/containers/Assignment/components/AcademicClassSelector.d.ts +0 -3
- package/dist/containers/Assignment/components/AssessmentSelector.d.ts +0 -3
- package/dist/containers/Assignment/components/AssignmentDetailModal.d.ts +0 -3
- package/dist/containers/Assignment/configs/types.d.ts +0 -12
- package/dist/containers/Assignment/hooks/useAssignmentDetail.d.ts +0 -24
- package/dist/containers/Assignment/hooks/useAssignmentList.d.ts +0 -10
- package/dist/containers/Assignment/hooks/useAssignmentResultDetail.d.ts +0 -8
- package/dist/containers/Assignment/hooks/useAssignmentResultList.d.ts +0 -10
- package/dist/containers/Assignment/views/AssignmentList.d.ts +0 -3
- package/dist/containers/Assignment/views/AssignmentResultList.d.ts +0 -3
- package/dist/containers/Badge/components/BadgeDetailModal.d.ts +0 -3
- package/dist/containers/Badge/hooks/useBadgeDetail.d.ts +0 -20
- package/dist/containers/Badge/hooks/useBadgeList.d.ts +0 -10
- package/dist/containers/Badge/views/BadgeList.d.ts +0 -3
- package/dist/containers/CSVImport/components/UploadCSVButton.d.ts +0 -10
- package/dist/containers/CSVImport/hooks/useCSVImport.d.ts +0 -21
- package/dist/containers/CSVImport/views/CSVImport.d.ts +0 -3
- package/dist/containers/Certificate/components/CertificateDetailModal.d.ts +0 -3
- package/dist/containers/Certificate/components/CertificateList.d.ts +0 -3
- package/dist/containers/Certificate/components/CertificateReview.d.ts +0 -3
- package/dist/containers/Certificate/hooks/useCertificateDetail.d.ts +0 -26
- package/dist/containers/Certificate/hooks/useCertificateList.d.ts +0 -10
- package/dist/containers/Certificate/hooks/useCertificateReview.d.ts +0 -2
- package/dist/containers/Certificate/views/CertificateContainer.d.ts +0 -3
- package/dist/containers/Certificate/views/CertificateList.d.ts +0 -3
- package/dist/containers/Classes/components/ClassDetailModal.d.ts +0 -3
- package/dist/containers/Classes/components/ClassStudentModal.d.ts +0 -3
- package/dist/containers/Classes/components/StudentList.d.ts +0 -8
- package/dist/containers/Classes/components/StudentSelector.d.ts +0 -8
- package/dist/containers/Classes/components/TeacherSelector.d.ts +0 -7
- package/dist/containers/Classes/hooks/useClassDetail.d.ts +0 -25
- package/dist/containers/Classes/hooks/useClassList.d.ts +0 -13
- package/dist/containers/Classes/views/ClassList.d.ts +0 -3
- package/dist/containers/ConferenceRubric/components/ConferenceRubricItem.d.ts +0 -14
- package/dist/containers/ConferenceRubric/components/ConferenceRubricTypeSelector.d.ts +0 -7
- package/dist/containers/ConferenceRubric/components/SkillSelector.d.ts +0 -8
- package/dist/containers/ConferenceRubric/components/ToggleInput.d.ts +0 -9
- package/dist/containers/ConferenceRubric/configs/types.d.ts +0 -44
- package/dist/containers/ConferenceRubric/hooks/useConferenceRubricDetail.d.ts +0 -36
- package/dist/containers/ConferenceRubric/hooks/useConferenceRubricList.d.ts +0 -11
- package/dist/containers/ConferenceRubric/views/ConferenceRubricDetail.d.ts +0 -3
- package/dist/containers/ConferenceRubric/views/ConferenceRubricList.d.ts +0 -3
- package/dist/containers/CustomAlert/components/CustomAlertDetailModal.d.ts +0 -3
- package/dist/containers/CustomAlert/hooks/useCustomAlertDetail.d.ts +0 -22
- package/dist/containers/CustomAlert/hooks/useCustomAlertList.d.ts +0 -10
- package/dist/containers/CustomAlert/views/CustomAlertList.d.ts +0 -3
- package/dist/containers/Feedback/components/FeedbackDetailModal.d.ts +0 -3
- package/dist/containers/Feedback/hooks/useFeedbackDetail.d.ts +0 -11
- package/dist/containers/Feedback/hooks/useFeedbackList.d.ts +0 -9
- package/dist/containers/Feedback/views/FeedbackList.d.ts +0 -3
- package/dist/containers/GoalExample/components/GoalExampleDetailModal.d.ts +0 -3
- package/dist/containers/GoalExample/hooks/useGoalExampleDetail.d.ts +0 -27
- package/dist/containers/GoalExample/hooks/useGoalExampleList.d.ts +0 -11
- package/dist/containers/GoalExample/hooks/useShortTermTargetExampleList.d.ts +0 -12
- package/dist/containers/GoalExample/views/GoalExampleList.d.ts +0 -3
- package/dist/containers/LearningStrategy/components/StrategyDetailModal.d.ts +0 -3
- package/dist/containers/LearningStrategy/hooks/useLearningStrategyList.d.ts +0 -10
- package/dist/containers/LearningStrategy/hooks/useStrategyDetail.d.ts +0 -18
- package/dist/containers/LearningStrategy/views/LearningStrategyList.d.ts +0 -3
- package/dist/containers/LearningSupportCategory/components/LearningSupportCategoryDetailModal.d.ts +0 -3
- package/dist/containers/LearningSupportCategory/components/LearningSupportCategorySelector.d.ts +0 -7
- package/dist/containers/LearningSupportCategory/hooks/useLearningSupportCategoryDetail.d.ts +0 -19
- package/dist/containers/LearningSupportCategory/hooks/useLearningSupportCategoryList.d.ts +0 -10
- package/dist/containers/LearningSupportCategory/views/LearningSupportCategoryList.d.ts +0 -3
- package/dist/containers/ManageAssistant/views/ManageAssistantList.d.ts +0 -3
- package/dist/containers/QuestionBank/components/AdditionalComponent.d.ts +0 -7
- package/dist/containers/QuestionBank/components/AgGridComponents.d.ts +0 -11
- package/dist/containers/QuestionBank/components/AnswerList.d.ts +0 -9
- package/dist/containers/QuestionBank/components/DefaultQuestionStudentTeacherFilter.d.ts +0 -8
- package/dist/containers/QuestionBank/components/DefaultQuestionTypeSelector.d.ts +0 -7
- package/dist/containers/QuestionBank/components/QuestionPreview.d.ts +0 -3
- package/dist/containers/QuestionBank/components/SliderScale.d.ts +0 -8
- package/dist/containers/QuestionBank/components/StarRating.d.ts +0 -7
- package/dist/containers/QuestionBank/components/SubQuestions.d.ts +0 -7
- package/dist/containers/QuestionBank/configs/questionDetailSchema.d.ts +0 -25
- package/dist/containers/QuestionBank/configs/validationAnswerId.d.ts +0 -2
- package/dist/containers/QuestionBank/configs/validationChoices.d.ts +0 -2
- package/dist/containers/QuestionBank/hooks/useQuestionAnswerList.d.ts +0 -7
- package/dist/containers/QuestionBank/hooks/useQuestionDetail.d.ts +0 -32
- package/dist/containers/QuestionBank/hooks/useQuestionList.d.ts +0 -12
- package/dist/containers/QuestionBank/hooks/useSubQuestionList.d.ts +0 -6
- package/dist/containers/QuestionBank/views/QuestionBankContainer.d.ts +0 -3
- package/dist/containers/QuestionBank/views/QuestionBankList.d.ts +0 -6
- package/dist/containers/QuestionBank/views/QuestionDetail.d.ts +0 -3
- package/dist/containers/QuestionCategory/components/QuestionCateModal.d.ts +0 -3
- package/dist/containers/QuestionCategory/hooks/useQuestionCateDetail.d.ts +0 -18
- package/dist/containers/QuestionCategory/hooks/useQuestionCateList.d.ts +0 -10
- package/dist/containers/QuestionCategory/views/QuestionCategogyList.d.ts +0 -3
- package/dist/containers/ReflectionForm/components/QuestionResponse/EmotionalResponse.d.ts +0 -3
- package/dist/containers/ReflectionForm/components/QuestionResponse/MultipleChoiceResponse.d.ts +0 -3
- package/dist/containers/ReflectionForm/components/QuestionResponse/RatingReponse.d.ts +0 -3
- package/dist/containers/ReflectionForm/components/QuestionResponse/RatingStarReponse.d.ts +0 -3
- package/dist/containers/ReflectionForm/components/QuestionResponse/TextInputResponse.d.ts +0 -3
- package/dist/containers/ReflectionForm/components/QuestionSplitPaneSelector.d.ts +0 -3
- package/dist/containers/ReflectionForm/components/ReflectionDetailModal.d.ts +0 -3
- package/dist/containers/ReflectionForm/components/ReflectionResultDetailModal.d.ts +0 -3
- package/dist/containers/ReflectionForm/configs/types.d.ts +0 -43
- package/dist/containers/ReflectionForm/hooks/useQuestionCategory.d.ts +0 -13
- package/dist/containers/ReflectionForm/hooks/useReflectionFormDetail.d.ts +0 -21
- package/dist/containers/ReflectionForm/hooks/useReflectionFormList.d.ts +0 -10
- package/dist/containers/ReflectionForm/hooks/useReflectionResultDetail.d.ts +0 -8
- package/dist/containers/ReflectionForm/hooks/useReflectionResultList.d.ts +0 -9
- package/dist/containers/ReflectionForm/views/ReflectionContainer.d.ts +0 -3
- package/dist/containers/ReflectionForm/views/ReflectionFormList.d.ts +0 -3
- package/dist/containers/ReflectionForm/views/ReflectionResultList.d.ts +0 -3
- package/dist/containers/Semester/components/BreakingMonthModal.d.ts +0 -3
- package/dist/containers/Semester/components/SemesterDetailModal.d.ts +0 -3
- package/dist/containers/Semester/hooks/useBreakingMonth.d.ts +0 -14
- package/dist/containers/Semester/hooks/useSemesterDetail.d.ts +0 -19
- package/dist/containers/Semester/hooks/useSemesterList.d.ts +0 -10
- package/dist/containers/Semester/views/SemesterList.d.ts +0 -3
- package/dist/containers/SessionTemplate/components/AddQuestionModal.d.ts +0 -11
- package/dist/containers/SessionTemplate/components/CategorySelector.d.ts +0 -7
- package/dist/containers/SessionTemplate/components/ConferenceRubricSelector.d.ts +0 -7
- package/dist/containers/SessionTemplate/components/ReflectionFormSelector.d.ts +0 -7
- package/dist/containers/SessionTemplate/components/SkillSelector.d.ts +0 -7
- package/dist/containers/SessionTemplate/configs/validationSchema.d.ts +0 -21
- package/dist/containers/SessionTemplate/hooks/useAddQuestion.d.ts +0 -8
- package/dist/containers/SessionTemplate/hooks/useSessionTemplateDetail.d.ts +0 -29
- package/dist/containers/SessionTemplate/hooks/useSessionTemplateList.d.ts +0 -11
- package/dist/containers/SessionTemplate/views/SessionTemplateDetail.d.ts +0 -3
- package/dist/containers/SessionTemplate/views/SessionTemplateList.d.ts +0 -3
- package/dist/containers/SessionTemplateContainer/views/SessionTemplateContainer.d.ts +0 -3
- package/dist/containers/SessionTemplateGeneralClass/components/SubjectSelector.d.ts +0 -7
- package/dist/containers/SessionTemplateGeneralClass/hooks/useSessionTemplateGeneralClassDetail.d.ts +0 -27
- package/dist/containers/SessionTemplateGeneralClass/hooks/useSessionTemplateGeneralClassList.d.ts +0 -11
- package/dist/containers/SessionTemplateGeneralClass/views/SessionTemplateGeneralClassDetail.d.ts +0 -3
- package/dist/containers/SessionTemplateGeneralClass/views/SessionTemplateGeneralClassList.d.ts +0 -3
- package/dist/containers/Setup/views/SetupContainer.d.ts +0 -3
- package/dist/containers/Subject/components/SubjectDetailModal.d.ts +0 -3
- package/dist/containers/Subject/hooks/useSubjectDetail.d.ts +0 -19
- package/dist/containers/Subject/hooks/useSubjectList.d.ts +0 -10
- package/dist/containers/Subject/views/SubjectList.d.ts +0 -3
- package/dist/containers/SuggestionBank/components/SuggestionDetailModal.d.ts +0 -3
- package/dist/containers/SuggestionBank/hooks/useKeywordList.d.ts +0 -12
- package/dist/containers/SuggestionBank/hooks/useSuggestionDetail.d.ts +0 -30
- package/dist/containers/SuggestionBank/hooks/useSuggestionList.d.ts +0 -11
- package/dist/containers/SuggestionBank/views/SuggestionList.d.ts +0 -3
- package/dist/containers/TutorialScreen/components/TutorialScreenDetailModal.d.ts +0 -3
- package/dist/containers/TutorialScreen/components/TutorialScreenList.d.ts +0 -7
- package/dist/containers/TutorialScreen/enums/TutorialScreenType.d.ts +0 -7
- package/dist/containers/TutorialScreen/hooks/useTutorialScreenDetail.d.ts +0 -20
- package/dist/containers/TutorialScreen/hooks/useTutorialScreenList.d.ts +0 -11
- package/dist/containers/TutorialScreen/views/TutorialScreenContainer.d.ts +0 -3
- package/dist/containers/TutorialScreen/views/TutorialScreenList.d.ts +0 -3
- package/dist/index.d.ts +0 -27
- package/dist/index.test.d.ts +0 -1
- package/dist/services/academicYearService.d.ts +0 -2
- package/dist/services/assessmentService.d.ts +0 -6
- package/dist/services/assignmentResultService.d.ts +0 -3
- package/dist/services/assignmentService.d.ts +0 -7
- package/dist/services/assistantService.d.ts +0 -2
- package/dist/services/badgeService.d.ts +0 -6
- package/dist/services/certificateService.d.ts +0 -6
- package/dist/services/classService.d.ts +0 -9
- package/dist/services/conferenceRubricService.d.ts +0 -9
- package/dist/services/csvService.d.ts +0 -1
- package/dist/services/customAlertService.d.ts +0 -7
- package/dist/services/feedbackService.d.ts +0 -6
- package/dist/services/goalExampleService.d.ts +0 -6
- package/dist/services/learningStrategyService.d.ts +0 -6
- package/dist/services/learningSupportCategoryService.d.ts +0 -6
- package/dist/services/questionCategoryService.d.ts +0 -6
- package/dist/services/questionService.d.ts +0 -6
- package/dist/services/reflectionFormResponseService.d.ts +0 -3
- package/dist/services/reflectionFormService.d.ts +0 -6
- package/dist/services/semesterService.d.ts +0 -6
- package/dist/services/sessionTemplateGeneralClassService.d.ts +0 -6
- package/dist/services/sessionTemplateService.d.ts +0 -11
- package/dist/services/studentService.d.ts +0 -2
- package/dist/services/subjectService.d.ts +0 -6
- package/dist/services/suggestionService.d.ts +0 -6
- package/dist/services/tutorialScreenService.d.ts +0 -5
- package/dist/utils/constants.d.ts +0 -7
package/package.json
CHANGED
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mario-education",
|
|
3
|
-
"version": "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
|
+
{
|
|
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,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,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,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,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,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,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;
|