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.
- package/dist/containers/QuestionBank/hooks/useQuestionDetail.d.ts +0 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +19 -12
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +19 -12
- package/dist/index.modern.js.map +1 -1
- package/dist/{components → src/components}/Input/ToggleInput.d.ts +0 -0
- package/dist/src/components/Questions/QuestionList.d.ts +7 -0
- package/dist/src/components/Questions/QuestionSelector.d.ts +9 -0
- package/dist/{containers/Certificate/components/CertificateDetailModal.d.ts → src/containers/Assessment/components/AssessmentDetailModal.d.ts} +0 -0
- package/dist/src/containers/Assessment/components/QuestionSplitPaneSelector.d.ts +3 -0
- package/dist/src/containers/Assessment/hooks/useAssessmentDetail.d.ts +24 -0
- package/dist/src/containers/Assessment/hooks/useAssessmentList.d.ts +10 -0
- package/dist/src/containers/Assessment/hooks/useQuestionCategory.d.ts +13 -0
- package/dist/src/containers/Assessment/views/AssessmentList.d.ts +3 -0
- package/dist/src/containers/AssessmentAssignment/views/AssessmentAssignmentContainer.d.ts +3 -0
- package/dist/src/containers/Assignment/components/AcademicClassSelector.d.ts +3 -0
- package/dist/src/containers/Assignment/components/AssessmentSelector.d.ts +3 -0
- package/dist/src/containers/Assignment/components/AssignmentDetailModal.d.ts +3 -0
- package/dist/src/containers/Assignment/components/SemesterSelector.d.ts +8 -0
- package/dist/src/containers/Assignment/configs/types.d.ts +13 -0
- package/dist/src/containers/Assignment/hooks/useAssignmentDetail.d.ts +27 -0
- package/dist/src/containers/Assignment/hooks/useAssignmentList.d.ts +18 -0
- package/dist/src/containers/Assignment/hooks/useAssignmentResultDetail.d.ts +8 -0
- package/dist/src/containers/Assignment/hooks/useAssignmentResultList.d.ts +10 -0
- package/dist/src/containers/Assignment/views/AssignmentList.d.ts +3 -0
- package/dist/src/containers/Assignment/views/AssignmentResultList.d.ts +3 -0
- package/dist/src/containers/Badge/components/BadgeDetailModal.d.ts +3 -0
- package/dist/src/containers/Badge/hooks/useBadgeDetail.d.ts +20 -0
- package/dist/src/containers/Badge/hooks/useBadgeList.d.ts +10 -0
- package/dist/src/containers/Badge/views/BadgeList.d.ts +3 -0
- package/dist/src/containers/BandScore/components/BandScoreDetailModal.d.ts +3 -0
- package/dist/src/containers/BandScore/hooks/useBandScoreDetail.d.ts +18 -0
- package/dist/src/containers/BandScore/hooks/useBandScoreList.d.ts +7 -0
- package/dist/src/containers/BandScore/hooks/useBreakPoint.d.ts +12 -0
- package/dist/src/containers/BandScore/views/BandScoreList.d.ts +3 -0
- package/dist/src/containers/CSVImport/components/UploadCSVButton.d.ts +10 -0
- package/dist/src/containers/CSVImport/hooks/useCSVImport.d.ts +21 -0
- package/dist/src/containers/CSVImport/views/CSVImport.d.ts +3 -0
- package/dist/src/containers/Certificate/components/CertificateApproved.d.ts +3 -0
- package/dist/src/containers/Certificate/components/CertificateDetailModal.d.ts +3 -0
- package/dist/src/containers/Certificate/components/CertificateItem.d.ts +9 -0
- package/dist/{containers → src/containers}/Certificate/components/CertificateList.d.ts +0 -0
- package/dist/{containers → src/containers}/Certificate/components/CertificateReview.d.ts +0 -0
- package/dist/src/containers/Certificate/config/constants.d.ts +19 -0
- package/dist/{containers → src/containers}/Certificate/hooks/useCertificateDetail.d.ts +0 -0
- package/dist/{containers → src/containers}/Certificate/hooks/useCertificateList.d.ts +0 -0
- package/dist/src/containers/Certificate/hooks/useCertificateReview.d.ts +7 -0
- package/dist/{containers → src/containers}/Certificate/views/CertificateContainer.d.ts +0 -0
- package/dist/src/containers/Classes/components/ClassDetailModal.d.ts +3 -0
- package/dist/src/containers/Classes/components/ClassStudentModal.d.ts +3 -0
- package/dist/src/containers/Classes/components/StudentList.d.ts +8 -0
- package/dist/src/containers/Classes/components/StudentSelector.d.ts +8 -0
- package/dist/src/containers/Classes/components/TeacherMultiSelector.d.ts +7 -0
- package/dist/src/containers/Classes/components/TeacherSelector.d.ts +7 -0
- package/dist/src/containers/Classes/hooks/useClassDetail.d.ts +25 -0
- package/dist/src/containers/Classes/hooks/useClassList.d.ts +13 -0
- package/dist/src/containers/Classes/views/ClassList.d.ts +3 -0
- package/dist/src/containers/CompareTeacher/components/TeacherItem.d.ts +8 -0
- package/dist/src/containers/CompareTeacher/configs/constants.d.ts +18 -0
- package/dist/src/containers/CompareTeacher/hooks/useCompareTeacher.d.ts +17 -0
- package/dist/src/containers/CompareTeacher/views/CompareTeacher.d.ts +3 -0
- package/dist/src/containers/ConferenceRubric/components/ConferenceRubricItem.d.ts +14 -0
- package/dist/src/containers/ConferenceRubric/components/ConferenceRubricTypeSelector.d.ts +7 -0
- package/dist/src/containers/ConferenceRubric/components/SkillSelector.d.ts +8 -0
- package/dist/src/containers/ConferenceRubric/configs/types.d.ts +44 -0
- package/dist/src/containers/ConferenceRubric/hooks/useConferenceRubricDetail.d.ts +36 -0
- package/dist/src/containers/ConferenceRubric/hooks/useConferenceRubricList.d.ts +11 -0
- package/dist/src/containers/ConferenceRubric/views/ConferenceRubricDetail.d.ts +3 -0
- package/dist/src/containers/ConferenceRubric/views/ConferenceRubricList.d.ts +3 -0
- package/dist/src/containers/CurrentLicense/hooks/useCurrentLicense.d.ts +6 -0
- package/dist/src/containers/CurrentLicense/views/CurrentLicense.d.ts +3 -0
- package/dist/src/containers/CustomAlert/components/CustomAlertDetailModal.d.ts +3 -0
- package/dist/src/containers/CustomAlert/hooks/useCustomAlertDetail.d.ts +22 -0
- package/dist/src/containers/CustomAlert/hooks/useCustomAlertList.d.ts +10 -0
- package/dist/src/containers/CustomAlert/views/CustomAlertList.d.ts +3 -0
- package/dist/src/containers/Dashboard/components/CustomCheckbox.d.ts +9 -0
- package/dist/src/containers/Dashboard/components/DashboardCard.d.ts +7 -0
- package/dist/src/containers/Dashboard/components/GoalProgress.d.ts +7 -0
- package/dist/src/containers/Dashboard/components/Grade.d.ts +7 -0
- package/dist/src/containers/Dashboard/components/HighImpact.d.ts +6 -0
- package/dist/src/containers/Dashboard/components/Loading.d.ts +3 -0
- package/dist/src/containers/Dashboard/components/LoginCouting.d.ts +7 -0
- package/dist/src/containers/Dashboard/components/PerceivedImpact.d.ts +7 -0
- package/dist/src/containers/Dashboard/components/Quantity.d.ts +7 -0
- package/dist/src/containers/Dashboard/components/Skill.d.ts +7 -0
- package/dist/src/containers/Dashboard/components/TimeInSession.d.ts +7 -0
- package/dist/src/containers/Dashboard/configs/constants.d.ts +1 -0
- package/dist/src/containers/Dashboard/configs/types.d.ts +48 -0
- package/dist/src/containers/Dashboard/configs/utils.d.ts +1 -0
- package/dist/src/containers/Dashboard/hooks/useDashboard.d.ts +12 -0
- package/dist/src/containers/Dashboard/hooks/useSkillFormat.d.ts +9 -0
- package/dist/src/containers/Dashboard/views/Dashboard.d.ts +3 -0
- package/dist/src/containers/Feedback/components/FeedbackDetailModal.d.ts +3 -0
- package/dist/src/containers/Feedback/hooks/useFeedbackDetail.d.ts +11 -0
- package/dist/src/containers/Feedback/hooks/useFeedbackList.d.ts +9 -0
- package/dist/src/containers/Feedback/views/FeedbackList.d.ts +3 -0
- package/dist/src/containers/GoalExample/components/GoalExampleDetailModal.d.ts +3 -0
- package/dist/src/containers/GoalExample/hooks/useGoalExampleDetail.d.ts +27 -0
- package/dist/src/containers/GoalExample/hooks/useGoalExampleList.d.ts +11 -0
- package/dist/src/containers/GoalExample/hooks/useShortTermTargetExampleList.d.ts +12 -0
- package/dist/src/containers/GoalExample/views/GoalExampleList.d.ts +3 -0
- package/dist/src/containers/LearningStrategy/components/StrategyDetailModal.d.ts +3 -0
- package/dist/src/containers/LearningStrategy/hooks/useLearningStrategyList.d.ts +10 -0
- package/dist/src/containers/LearningStrategy/hooks/useStrategyDetail.d.ts +18 -0
- package/dist/src/containers/LearningStrategy/views/LearningStrategyList.d.ts +3 -0
- package/dist/src/containers/LearningSupportCategory/components/LearningSupportCategoryDetailModal.d.ts +3 -0
- package/dist/src/containers/LearningSupportCategory/components/LearningSupportCategorySelector.d.ts +7 -0
- package/dist/src/containers/LearningSupportCategory/hooks/useLearningSupportCategoryDetail.d.ts +19 -0
- package/dist/src/containers/LearningSupportCategory/hooks/useLearningSupportCategoryList.d.ts +10 -0
- package/dist/src/containers/LearningSupportCategory/views/LearningSupportCategoryList.d.ts +3 -0
- package/dist/src/containers/ManageAssistant/views/ManageAssistantList.d.ts +3 -0
- package/dist/src/containers/QuestionBank/components/AdditionalComponent.d.ts +7 -0
- package/dist/src/containers/QuestionBank/components/AgGridComponents.d.ts +11 -0
- package/dist/src/containers/QuestionBank/components/AnswerList.d.ts +9 -0
- package/dist/src/containers/QuestionBank/components/DefaultQuestionStudentTeacherFilter.d.ts +8 -0
- package/dist/src/containers/QuestionBank/components/DefaultQuestionTypeSelector.d.ts +7 -0
- package/dist/src/containers/QuestionBank/components/QuestionPreview.d.ts +3 -0
- package/dist/src/containers/QuestionBank/components/SliderScale.d.ts +8 -0
- package/dist/src/containers/QuestionBank/components/StarRating.d.ts +7 -0
- package/dist/src/containers/QuestionBank/components/SubQuestions.d.ts +7 -0
- package/dist/src/containers/QuestionBank/configs/questionDetailSchema.d.ts +25 -0
- package/dist/src/containers/QuestionBank/configs/validationAnswerId.d.ts +2 -0
- package/dist/src/containers/QuestionBank/configs/validationChoices.d.ts +2 -0
- package/dist/src/containers/QuestionBank/hooks/useQuestionAnswerList.d.ts +7 -0
- package/dist/src/containers/QuestionBank/hooks/useQuestionDetail.d.ts +32 -0
- package/dist/src/containers/QuestionBank/hooks/useQuestionList.d.ts +12 -0
- package/dist/src/containers/QuestionBank/hooks/useSubQuestionList.d.ts +6 -0
- package/dist/src/containers/QuestionBank/views/QuestionBankContainer.d.ts +3 -0
- package/dist/src/containers/QuestionBank/views/QuestionBankList.d.ts +6 -0
- package/dist/src/containers/QuestionBank/views/QuestionDetail.d.ts +3 -0
- package/dist/src/containers/QuestionCategory/components/QuestionCateModal.d.ts +3 -0
- package/dist/src/containers/QuestionCategory/hooks/useQuestionCateDetail.d.ts +18 -0
- package/dist/src/containers/QuestionCategory/hooks/useQuestionCateList.d.ts +10 -0
- package/dist/src/containers/QuestionCategory/views/QuestionCategogyList.d.ts +3 -0
- package/dist/src/containers/ReflectionForm/components/QuestionResponse/EmotionalResponse.d.ts +3 -0
- package/dist/src/containers/ReflectionForm/components/QuestionResponse/MultipleChoiceResponse.d.ts +3 -0
- package/dist/src/containers/ReflectionForm/components/QuestionResponse/RatingReponse.d.ts +3 -0
- package/dist/src/containers/ReflectionForm/components/QuestionResponse/RatingStarReponse.d.ts +3 -0
- package/dist/src/containers/ReflectionForm/components/QuestionResponse/TextInputResponse.d.ts +3 -0
- package/dist/src/containers/ReflectionForm/components/QuestionSplitPaneSelector.d.ts +3 -0
- package/dist/src/containers/ReflectionForm/components/ReflectionDetailModal.d.ts +3 -0
- package/dist/src/containers/ReflectionForm/components/ReflectionResultDetailModal.d.ts +3 -0
- package/dist/src/containers/ReflectionForm/configs/types.d.ts +43 -0
- package/dist/src/containers/ReflectionForm/hooks/useQuestionCategory.d.ts +13 -0
- package/dist/src/containers/ReflectionForm/hooks/useReflectionFormDetail.d.ts +21 -0
- package/dist/src/containers/ReflectionForm/hooks/useReflectionFormList.d.ts +10 -0
- package/dist/src/containers/ReflectionForm/hooks/useReflectionResultDetail.d.ts +8 -0
- package/dist/src/containers/ReflectionForm/hooks/useReflectionResultList.d.ts +9 -0
- package/dist/src/containers/ReflectionForm/views/ReflectionContainer.d.ts +3 -0
- package/dist/src/containers/ReflectionForm/views/ReflectionFormList.d.ts +3 -0
- package/dist/src/containers/ReflectionForm/views/ReflectionResultList.d.ts +3 -0
- package/dist/src/containers/SchoolBlankDay/components/SchoolBlankDayDetailModal.d.ts +3 -0
- package/dist/src/containers/SchoolBlankDay/hooks/useSchoolBlankDayDetail.d.ts +19 -0
- package/dist/src/containers/SchoolBlankDay/hooks/useSchoolBlankDayList.d.ts +10 -0
- package/dist/src/containers/SchoolBlankDay/views/SchoolBlankDayList.d.ts +3 -0
- package/dist/src/containers/Semester/components/BreakingMonthModal.d.ts +3 -0
- package/dist/src/containers/Semester/components/SemesterDetailModal.d.ts +3 -0
- package/dist/src/containers/Semester/hooks/useBreakingMonth.d.ts +14 -0
- package/dist/src/containers/Semester/hooks/useSemesterDetail.d.ts +19 -0
- package/dist/src/containers/Semester/hooks/useSemesterList.d.ts +10 -0
- package/dist/src/containers/Semester/views/SemesterList.d.ts +3 -0
- package/dist/src/containers/SessionTemplate/components/AddQuestionModal.d.ts +11 -0
- package/dist/src/containers/SessionTemplate/components/CategorySelector.d.ts +7 -0
- package/dist/src/containers/SessionTemplate/components/ConferenceRubricSelector.d.ts +7 -0
- package/dist/src/containers/SessionTemplate/components/ReflectionFormSelector.d.ts +7 -0
- package/dist/src/containers/SessionTemplate/components/SkillSelector.d.ts +7 -0
- package/dist/src/containers/SessionTemplate/configs/validationSchema.d.ts +21 -0
- package/dist/src/containers/SessionTemplate/hooks/useAddQuestion.d.ts +8 -0
- package/dist/src/containers/SessionTemplate/hooks/useSessionTemplateDetail.d.ts +29 -0
- package/dist/src/containers/SessionTemplate/hooks/useSessionTemplateList.d.ts +11 -0
- package/dist/src/containers/SessionTemplate/views/SessionTemplateDetail.d.ts +3 -0
- package/dist/src/containers/SessionTemplate/views/SessionTemplateList.d.ts +3 -0
- package/dist/src/containers/SessionTemplateContainer/views/SessionTemplateContainer.d.ts +3 -0
- package/dist/src/containers/SessionTemplateGeneralClass/components/SubjectSelector.d.ts +7 -0
- package/dist/src/containers/SessionTemplateGeneralClass/hooks/useSessionTemplateGeneralClassDetail.d.ts +27 -0
- package/dist/src/containers/SessionTemplateGeneralClass/hooks/useSessionTemplateGeneralClassList.d.ts +11 -0
- package/dist/src/containers/SessionTemplateGeneralClass/views/SessionTemplateGeneralClassDetail.d.ts +3 -0
- package/dist/src/containers/SessionTemplateGeneralClass/views/SessionTemplateGeneralClassList.d.ts +3 -0
- package/dist/src/containers/Setup/views/SetupContainer.d.ts +3 -0
- package/dist/src/containers/Subject/components/SubjectDetailModal.d.ts +3 -0
- package/dist/src/containers/Subject/hooks/useSubjectDetail.d.ts +19 -0
- package/dist/src/containers/Subject/hooks/useSubjectList.d.ts +10 -0
- package/dist/src/containers/Subject/views/SubjectList.d.ts +3 -0
- package/dist/src/containers/SuggestionBank/components/SuggestionDetailModal.d.ts +3 -0
- package/dist/src/containers/SuggestionBank/hooks/useKeywordList.d.ts +12 -0
- package/dist/src/containers/SuggestionBank/hooks/useSuggestionDetail.d.ts +30 -0
- package/dist/src/containers/SuggestionBank/hooks/useSuggestionList.d.ts +11 -0
- package/dist/src/containers/SuggestionBank/views/SuggestionList.d.ts +3 -0
- package/dist/src/containers/TutorialScreen/components/TutorialScreenDetailModal.d.ts +3 -0
- package/dist/src/containers/TutorialScreen/components/TutorialScreenList.d.ts +7 -0
- package/dist/src/containers/TutorialScreen/enums/TutorialScreenType.d.ts +7 -0
- package/dist/src/containers/TutorialScreen/hooks/useTutorialScreenDetail.d.ts +20 -0
- package/dist/src/containers/TutorialScreen/hooks/useTutorialScreenList.d.ts +11 -0
- package/dist/src/containers/TutorialScreen/views/TutorialScreenContainer.d.ts +3 -0
- package/dist/src/index.d.ts +29 -0
- package/dist/src/index.test.d.ts +1 -0
- package/dist/src/services/academicYearService.d.ts +2 -0
- package/dist/{services/certificateService.d.ts → src/services/assessmentService.d.ts} +0 -0
- package/dist/src/services/assignmentResultService.d.ts +3 -0
- package/dist/src/services/assignmentService.d.ts +8 -0
- package/dist/src/services/assistantService.d.ts +2 -0
- package/dist/src/services/badgeService.d.ts +6 -0
- package/dist/src/services/bandScoreService.d.ts +7 -0
- package/dist/src/services/certificateService.d.ts +8 -0
- package/dist/src/services/classService.d.ts +9 -0
- package/dist/src/services/compareService.d.ts +1 -0
- package/dist/src/services/conferenceRubricService.d.ts +9 -0
- package/dist/src/services/csvService.d.ts +1 -0
- package/dist/src/services/currentLicenseService.d.ts +3 -0
- package/dist/src/services/customAlertService.d.ts +7 -0
- package/dist/src/services/dashboardService.d.ts +8 -0
- package/dist/src/services/feedbackService.d.ts +6 -0
- package/dist/src/services/goalExampleService.d.ts +6 -0
- package/dist/src/services/learningStrategyService.d.ts +6 -0
- package/dist/src/services/learningSupportCategoryService.d.ts +6 -0
- package/dist/src/services/questionCategoryService.d.ts +6 -0
- package/dist/src/services/questionService.d.ts +6 -0
- package/dist/src/services/reflectionFormResponseService.d.ts +3 -0
- package/dist/src/services/reflectionFormService.d.ts +6 -0
- package/dist/src/services/schoolBlankDayService.d.ts +6 -0
- package/dist/src/services/semesterService.d.ts +6 -0
- package/dist/src/services/sessionTemplateGeneralClassService.d.ts +6 -0
- package/dist/src/services/sessionTemplateService.d.ts +11 -0
- package/dist/src/services/studentService.d.ts +2 -0
- package/dist/src/services/subjectService.d.ts +6 -0
- package/dist/src/services/suggestionService.d.ts +6 -0
- package/dist/src/services/tutorialScreenService.d.ts +5 -0
- package/dist/src/utils/constants.d.ts +7 -0
- 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/containers/Certificate/hooks/useCertificateReview.d.ts +0 -2
- package/dist/containers/Certificate/views/CertificateList.d.ts +0 -3
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ConferenceRubric, ConferenceRubricQuestion, ConferenceRubricSkill } from "../configs/types";
|
|
3
|
+
declare const useConferenceRubricDetail: (id?: number | null | undefined) => {
|
|
4
|
+
conferenceRubricDetail: ConferenceRubric;
|
|
5
|
+
temporarySkill: ConferenceRubricSkill | null;
|
|
6
|
+
setTemporarySkill: import("react").Dispatch<import("react").SetStateAction<ConferenceRubricSkill | null>>;
|
|
7
|
+
newRowTexts: any;
|
|
8
|
+
changeNewRowText: (skillId: any, text: any) => void;
|
|
9
|
+
confirmData: () => Promise<void>;
|
|
10
|
+
backToList: () => void;
|
|
11
|
+
addItem: () => void;
|
|
12
|
+
removeItem: (skillId: number) => void;
|
|
13
|
+
changeConferenceRubricDetail: (valueObject: object) => void;
|
|
14
|
+
changeConferenceRubricItemRowText: (skillId: number, rowIndex: number, text: string) => void;
|
|
15
|
+
changeConferenceRubricItemColumnText: (skillId: number, columnIndex: number, text: string) => void;
|
|
16
|
+
addConferenceRubricItemRow: (skillId: number) => void;
|
|
17
|
+
removeConferenceRubricRow: (skillId: number, rowId: number | string) => void;
|
|
18
|
+
addQuestion: () => void;
|
|
19
|
+
removeQuestion: (questionId: number) => void;
|
|
20
|
+
categoryId: number;
|
|
21
|
+
setCategoryId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
22
|
+
temporaryQuestion: ConferenceRubricQuestion | null;
|
|
23
|
+
setTemporaryQuestion: import("react").Dispatch<import("react").SetStateAction<ConferenceRubricQuestion | null>>;
|
|
24
|
+
questionSelectorValue: {
|
|
25
|
+
id: number;
|
|
26
|
+
value: number;
|
|
27
|
+
label: string;
|
|
28
|
+
text: string;
|
|
29
|
+
} | null;
|
|
30
|
+
checked: boolean;
|
|
31
|
+
rowColInvalid: boolean;
|
|
32
|
+
edited: boolean;
|
|
33
|
+
setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
34
|
+
setEditedTrue: () => Promise<void>;
|
|
35
|
+
};
|
|
36
|
+
export default useConferenceRubricDetail;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Filter } from "mario-core";
|
|
2
|
+
declare const useConferenceRubricList: () => {
|
|
3
|
+
conferenceRubricList: any;
|
|
4
|
+
totalItems: any;
|
|
5
|
+
filters: Filter;
|
|
6
|
+
changeFilters: (updatedFilters: any) => void;
|
|
7
|
+
getData: () => Promise<void>;
|
|
8
|
+
removeData: (id: number) => void;
|
|
9
|
+
goToDetail: (id?: number | undefined) => void;
|
|
10
|
+
};
|
|
11
|
+
export default useConferenceRubricList;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type CustomAlertDetail = {
|
|
3
|
+
learningSupportCategoryId: number;
|
|
4
|
+
numberOfSessions: number;
|
|
5
|
+
beginDate: string;
|
|
6
|
+
duration: string;
|
|
7
|
+
studentIds?: number[];
|
|
8
|
+
};
|
|
9
|
+
declare const useCustomAlertDetail: () => {
|
|
10
|
+
id: number;
|
|
11
|
+
setId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
12
|
+
customAlertDetail: CustomAlertDetail;
|
|
13
|
+
confirmData: (values: any, cb: any) => Promise<void>;
|
|
14
|
+
onRemoveStudent: (customAlertStudentId: number, cb: any) => void;
|
|
15
|
+
initValue: CustomAlertDetail;
|
|
16
|
+
reset: () => void;
|
|
17
|
+
edited: boolean;
|
|
18
|
+
setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
19
|
+
setEditedTrue: () => Promise<void>;
|
|
20
|
+
setEditedFalse: () => Promise<void>;
|
|
21
|
+
};
|
|
22
|
+
export default useCustomAlertDetail;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Filter } from "mario-core";
|
|
2
|
+
declare const useCustomAlertList: () => {
|
|
3
|
+
customAlertList: 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 useCustomAlertList;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const colors: string[];
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare type LoginCountingReport = {
|
|
2
|
+
date: string;
|
|
3
|
+
studentLoginCount: number;
|
|
4
|
+
teacherLoginCount: number;
|
|
5
|
+
};
|
|
6
|
+
export declare type QuantityReport = {
|
|
7
|
+
teacherPercentage: number;
|
|
8
|
+
studentPercentage: number;
|
|
9
|
+
assistantPercentage: number;
|
|
10
|
+
};
|
|
11
|
+
export declare type SkillReportItem = {
|
|
12
|
+
skillName: string;
|
|
13
|
+
ratings: SkillRating[];
|
|
14
|
+
};
|
|
15
|
+
declare type SkillRating = {
|
|
16
|
+
time: string;
|
|
17
|
+
rating: number;
|
|
18
|
+
};
|
|
19
|
+
export declare type GoalProgressReport = {
|
|
20
|
+
createdAt: string;
|
|
21
|
+
noProgress: number;
|
|
22
|
+
slight: number;
|
|
23
|
+
moderate: number;
|
|
24
|
+
significant: number;
|
|
25
|
+
achived: number;
|
|
26
|
+
total: number;
|
|
27
|
+
};
|
|
28
|
+
export declare type TimeInSessionReport = {
|
|
29
|
+
sessionCategory: string;
|
|
30
|
+
studentPerceivedImpact: number;
|
|
31
|
+
teacherPerceivedImpact: number;
|
|
32
|
+
};
|
|
33
|
+
export declare type PerceivedImpactReport = {
|
|
34
|
+
learningStrategyName: string;
|
|
35
|
+
studentRating: number;
|
|
36
|
+
teacherRating: number;
|
|
37
|
+
};
|
|
38
|
+
export declare type GradeReport = {
|
|
39
|
+
beforeIntervention: number;
|
|
40
|
+
duringIntervention: number;
|
|
41
|
+
afterIntervention: number;
|
|
42
|
+
bandScores: BandScore[];
|
|
43
|
+
};
|
|
44
|
+
export declare type BandScore = {
|
|
45
|
+
label: string;
|
|
46
|
+
value: number;
|
|
47
|
+
};
|
|
48
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getColors: (length: number) => string[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LoginCountingReport, QuantityReport, SkillReportItem, GoalProgressReport, TimeInSessionReport, PerceivedImpactReport, GradeReport } from "../configs/types";
|
|
2
|
+
declare const useDashboard: () => {
|
|
3
|
+
loginCounting: LoginCountingReport[] | null;
|
|
4
|
+
quantity: QuantityReport | null;
|
|
5
|
+
skill: SkillReportItem[] | null;
|
|
6
|
+
goalProgress: GoalProgressReport[] | null;
|
|
7
|
+
highImpact: any;
|
|
8
|
+
perceivedImpact: PerceivedImpactReport[] | null;
|
|
9
|
+
timeInSession: TimeInSessionReport[] | null;
|
|
10
|
+
grade: GradeReport | null;
|
|
11
|
+
};
|
|
12
|
+
export default useDashboard;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type FeedbackDetail = {
|
|
3
|
+
description: string;
|
|
4
|
+
};
|
|
5
|
+
declare const useFeedbackDetail: () => {
|
|
6
|
+
id: number;
|
|
7
|
+
setId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
8
|
+
feedbackDetail: FeedbackDetail;
|
|
9
|
+
initValue: FeedbackDetail;
|
|
10
|
+
};
|
|
11
|
+
export default useFeedbackDetail;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type GoalExampleDetail = {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
shortTermTargetExamples: any;
|
|
6
|
+
};
|
|
7
|
+
declare const useGoalExampleDetail: () => {
|
|
8
|
+
id: number;
|
|
9
|
+
setId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
10
|
+
goalExampleDetail: GoalExampleDetail;
|
|
11
|
+
confirmData: (values: any, cb: any) => Promise<void>;
|
|
12
|
+
initValue: GoalExampleDetail;
|
|
13
|
+
reset: () => void;
|
|
14
|
+
edited: boolean;
|
|
15
|
+
setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
16
|
+
setEditedTrue: () => Promise<void>;
|
|
17
|
+
setEditedFalse: () => Promise<void>;
|
|
18
|
+
inputValue: string;
|
|
19
|
+
value: any;
|
|
20
|
+
setValue: import("react").Dispatch<any>;
|
|
21
|
+
handleChangeShortTermTargetE: (newValue: any) => void;
|
|
22
|
+
handleInputChange: (newInputValue: string) => void;
|
|
23
|
+
handleKeyDown: (e: any) => void;
|
|
24
|
+
placeholder: string;
|
|
25
|
+
shortTermTargetExamples: any;
|
|
26
|
+
};
|
|
27
|
+
export default useGoalExampleDetail;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Filter } from "mario-core";
|
|
2
|
+
declare const useGoalExampleList: () => {
|
|
3
|
+
goalExampleList: any;
|
|
4
|
+
totalItems: any;
|
|
5
|
+
filters: Filter;
|
|
6
|
+
changeFilters: (updatedFilters: any) => void;
|
|
7
|
+
getData: () => Promise<void>;
|
|
8
|
+
removeData: (id: number) => void;
|
|
9
|
+
getShortTermTargetExamples: (shortTermTargetExamples: any) => any;
|
|
10
|
+
};
|
|
11
|
+
export default useGoalExampleList;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const useShortTermTargetExampleList: (initShortTermtargetExamples: any) => {
|
|
3
|
+
inputValue: string;
|
|
4
|
+
value: any;
|
|
5
|
+
setValue: import("react").Dispatch<any>;
|
|
6
|
+
handleChangeShortTermTargetE: (newValue: any) => void;
|
|
7
|
+
handleInputChange: (newInputValue: string) => void;
|
|
8
|
+
handleKeyDown: (e: any) => void;
|
|
9
|
+
placeholder: string;
|
|
10
|
+
shortTermTargetExamples: any;
|
|
11
|
+
};
|
|
12
|
+
export default useShortTermTargetExampleList;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Filter } from "mario-core";
|
|
2
|
+
declare const useStrategyList: () => {
|
|
3
|
+
strategyList: 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 useStrategyList;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type StrategyDetail = {
|
|
3
|
+
name: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const useStrategyDetail: () => {
|
|
7
|
+
id: number;
|
|
8
|
+
setId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
9
|
+
strategyDetail: StrategyDetail;
|
|
10
|
+
confirmData: (values: any, cb: any) => Promise<void>;
|
|
11
|
+
initValue: StrategyDetail;
|
|
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 useStrategyDetail;
|
package/dist/src/containers/LearningSupportCategory/hooks/useLearningSupportCategoryDetail.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type LearningSupportCategoryDetail = {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
defaultColor: string;
|
|
6
|
+
};
|
|
7
|
+
declare const useLearningSupportCategoryDetail: () => {
|
|
8
|
+
id: number;
|
|
9
|
+
setId: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
10
|
+
learningSupportCategoryDetail: LearningSupportCategoryDetail;
|
|
11
|
+
confirmData: (values: any, cb: any) => Promise<void>;
|
|
12
|
+
initValue: LearningSupportCategoryDetail;
|
|
13
|
+
reset: () => void;
|
|
14
|
+
edited: boolean;
|
|
15
|
+
setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
16
|
+
setEditedTrue: () => Promise<void>;
|
|
17
|
+
setEditedFalse: () => Promise<void>;
|
|
18
|
+
};
|
|
19
|
+
export default useLearningSupportCategoryDetail;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Filter } from "mario-core";
|
|
2
|
+
declare const useLearningSupportCategoryList: () => {
|
|
3
|
+
learningSupportCategoryList: 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 useLearningSupportCategoryList;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface ActionProps {
|
|
3
|
+
params: any;
|
|
4
|
+
edit: (id?: number) => any;
|
|
5
|
+
remove: (id?: number) => any;
|
|
6
|
+
}
|
|
7
|
+
export declare const renderQuestionText: (params: any) => JSX.Element;
|
|
8
|
+
export declare const renderActions: ({ params, edit, remove }: ActionProps) => JSX.Element;
|
|
9
|
+
export declare const renderCategory: (params: any) => JSX.Element;
|
|
10
|
+
export declare const renderType: (params: any) => JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface Props {
|
|
3
|
+
isDefaultQuestionTeacher: boolean | null | undefined;
|
|
4
|
+
onChange: any;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const DefaultQuestionStudentTeacherFilter: FC<Props>;
|
|
8
|
+
export default DefaultQuestionStudentTeacherFilter;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as yup from "yup";
|
|
2
|
+
declare const schema: import("yup/lib/object").OptionalObjectSchema<{
|
|
3
|
+
text: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
4
|
+
type: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
5
|
+
categoryId: import("yup/lib/number").RequiredNumberSchema<number | undefined, Record<string, any>>;
|
|
6
|
+
explainAnswer: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
7
|
+
fromLabel: yup.StringSchema<string | null | undefined, Record<string, any>, string | null | undefined>;
|
|
8
|
+
toLabel: yup.StringSchema<string | null | undefined, Record<string, any>, string | null | undefined>;
|
|
9
|
+
numberOfStars: yup.NumberSchema<number | null | undefined, Record<string, any>, number | null | undefined>;
|
|
10
|
+
answers: import("yup/lib/array").OptionalArraySchema<yup.AnySchema<any, any, any>, any, any[] | undefined>;
|
|
11
|
+
isDefaultQuestion: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
|
|
12
|
+
isDefaultQuestionTeacher: yup.BooleanSchema<boolean | null | undefined, Record<string, any>, boolean | null | undefined>;
|
|
13
|
+
}, Record<string, any>, import("yup/lib/object").TypeOfShape<{
|
|
14
|
+
text: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
15
|
+
type: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
|
|
16
|
+
categoryId: import("yup/lib/number").RequiredNumberSchema<number | undefined, Record<string, any>>;
|
|
17
|
+
explainAnswer: yup.StringSchema<string | undefined, Record<string, any>, string | undefined>;
|
|
18
|
+
fromLabel: yup.StringSchema<string | null | undefined, Record<string, any>, string | null | undefined>;
|
|
19
|
+
toLabel: yup.StringSchema<string | null | undefined, Record<string, any>, string | null | undefined>;
|
|
20
|
+
numberOfStars: yup.NumberSchema<number | null | undefined, Record<string, any>, number | null | undefined>;
|
|
21
|
+
answers: import("yup/lib/array").OptionalArraySchema<yup.AnySchema<any, any, any>, any, any[] | undefined>;
|
|
22
|
+
isDefaultQuestion: yup.BooleanSchema<boolean | undefined, Record<string, any>, boolean | undefined>;
|
|
23
|
+
isDefaultQuestionTeacher: yup.BooleanSchema<boolean | null | undefined, Record<string, any>, boolean | null | undefined>;
|
|
24
|
+
}>>;
|
|
25
|
+
export default schema;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const useQuestionAnswerList: (type: string, answers: any[], setFieldValue: any) => {
|
|
2
|
+
addAnswer: () => void;
|
|
3
|
+
editAnswer: (id: any, valueObject: any) => void;
|
|
4
|
+
removeAnswer: (id: any) => void;
|
|
5
|
+
checkIsCorrect: (id: any, isChecked: any) => void;
|
|
6
|
+
};
|
|
7
|
+
export default useQuestionAnswerList;
|