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
@@ -1,13 +0,0 @@
1
- import { Filter } from "mario-core";
2
- declare const useClassList: () => {
3
- classList: any;
4
- totalItems: any;
5
- filters: Filter;
6
- students: any;
7
- changeFilters: (updatedFilters: any) => void;
8
- getData: () => Promise<void>;
9
- removeData: (id: number) => void;
10
- getClassStudents: (classId: number) => Promise<void>;
11
- goToUserDetail: (userId: string) => void;
12
- };
13
- export default useClassList;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const ClassList: FC;
3
- export default ClassList;
@@ -1,14 +0,0 @@
1
- import { FC } from "react";
2
- import { ConferenceRubricItem } from "../configs/types";
3
- interface Props {
4
- conferenceRubricItem: ConferenceRubricItem;
5
- removeItem: Function;
6
- changeConferenceRubricItemRowText: Function;
7
- changeConferenceRubricItemColumnText: Function;
8
- addConferenceRubricItemRow: Function;
9
- removeConferenceRubricItemRow: Function;
10
- newRowTexts: any;
11
- changeNewRowText: Function;
12
- }
13
- declare const ConferenceRubricItem: FC<Props>;
14
- export default ConferenceRubricItem;
@@ -1,7 +0,0 @@
1
- import { FC } from "react";
2
- interface Props {
3
- defaultValue?: string | null;
4
- onChange: Function;
5
- }
6
- declare const ConferenceRubricTypeSelector: FC<Props>;
7
- export default ConferenceRubricTypeSelector;
@@ -1,8 +0,0 @@
1
- import { FC } from "react";
2
- interface Props {
3
- defaultValue?: number;
4
- onChange: Function;
5
- externalIds: number[];
6
- }
7
- declare const SkillSelector: FC<Props>;
8
- export default SkillSelector;
@@ -1,9 +0,0 @@
1
- import { FC } from "react";
2
- interface Props {
3
- value: string;
4
- onChange: Function;
5
- children?: any | null;
6
- noMb?: boolean;
7
- }
8
- declare const ToggleInput: FC<Props>;
9
- export default ToggleInput;
@@ -1,44 +0,0 @@
1
- export declare enum RubricItemColumnOrder {
2
- Default = 0,
3
- Order1 = 1,
4
- Order2 = 2,
5
- Order3 = 3,
6
- Order4 = 4,
7
- Order5 = 5,
8
- Order6 = 6
9
- }
10
- export declare type ConferenceRubric = {
11
- id?: number | null;
12
- name: string | null;
13
- instruction: string;
14
- conferenceRubricItems: ConferenceRubricItem[];
15
- questions: ConferenceRubricQuestion[];
16
- };
17
- export declare type ConferenceRubricItem = {
18
- id?: number | null;
19
- skillId?: number | null;
20
- skill?: ConferenceRubricSkill;
21
- columns: ConferenceRubricItemColumn[];
22
- rows: ConferenceRubricItemRow[];
23
- };
24
- export declare type ConferenceRubricSkill = {
25
- id: number;
26
- name: string;
27
- };
28
- export declare type ConferenceRubricItemRow = {
29
- id?: number | null;
30
- text: string;
31
- guid?: string;
32
- };
33
- export declare type ConferenceRubricItemColumn = {
34
- id?: number | null;
35
- order: RubricItemColumnOrder;
36
- text: string;
37
- };
38
- export declare type ConferenceRubricQuestion = {
39
- id: number;
40
- text: string;
41
- };
42
- export declare const initValue: ConferenceRubric;
43
- export declare const conferenceRubricItemColumns: ConferenceRubricItemColumn[];
44
- export declare const conferenceRubricItemRow: ConferenceRubricItemRow;
@@ -1,36 +0,0 @@
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;
@@ -1,11 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const ConferenceRubricDetail: () => JSX.Element;
3
- export default ConferenceRubricDetail;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const ConferenceRubricList: FC;
3
- export default ConferenceRubricList;
@@ -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,22 +0,0 @@
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;
@@ -1,10 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const CustomAlertList: FC;
3
- export default CustomAlertList;
@@ -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,11 +0,0 @@
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;
@@ -1,9 +0,0 @@
1
- import { Filter } from "mario-core";
2
- declare const useFeedbackList: () => {
3
- feedbackList: any;
4
- totalItems: any;
5
- filters: Filter;
6
- changeFilters: (updatedFilters: any) => void;
7
- getData: () => Promise<void>;
8
- };
9
- export default useFeedbackList;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const FeedbackList: FC;
3
- export default FeedbackList;
@@ -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,27 +0,0 @@
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;
@@ -1,11 +0,0 @@
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;
@@ -1,12 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const GoalExampleList: FC;
3
- export default GoalExampleList;
@@ -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,10 +0,0 @@
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;
@@ -1,18 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const LearningStrategyList: FC;
3
- export default LearningStrategyList;
@@ -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,7 +0,0 @@
1
- import { FC } from "react";
2
- interface Props {
3
- defaultValue: number | undefined;
4
- onChange: Function;
5
- }
6
- declare const LearningSupportCategorySelector: FC<Props>;
7
- export default LearningSupportCategorySelector;
@@ -1,19 +0,0 @@
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;
@@ -1,10 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const LearningSupportCategoryList: FC;
3
- export default LearningSupportCategoryList;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const ManageAssistantList: FC;
3
- export default ManageAssistantList;
@@ -1,7 +0,0 @@
1
- import { FC } from "react";
2
- interface Props {
3
- values: any;
4
- setFieldValue: any;
5
- }
6
- declare const AdditionalComponent: FC<Props>;
7
- export default AdditionalComponent;
@@ -1,11 +0,0 @@
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 {};
@@ -1,9 +0,0 @@
1
- import { FC } from "react";
2
- interface Props {
3
- type: string;
4
- answers: any[];
5
- setFieldValue: () => any;
6
- isSurvey: boolean;
7
- }
8
- declare const AnswerList: FC<Props>;
9
- export default AnswerList;
@@ -1,8 +0,0 @@
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;
@@ -1,7 +0,0 @@
1
- import { FC } from "react";
2
- interface Props {
3
- defaultValue?: string;
4
- onChange: any;
5
- }
6
- declare const DefaultQuestionTypeSelector: FC<Props>;
7
- export default DefaultQuestionTypeSelector;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const QuestionPreview: (props: any) => JSX.Element;
3
- export default QuestionPreview;
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- interface Props {
3
- fromLabel: string;
4
- toLabel: string;
5
- setFieldValue: any;
6
- }
7
- declare const _default: React.NamedExoticComponent<Props>;
8
- export default _default;
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- interface Props {
3
- numberOfStars: number;
4
- setFieldValue: any;
5
- }
6
- declare const _default: React.NamedExoticComponent<Props>;
7
- export default _default;
@@ -1,7 +0,0 @@
1
- import { FC } from "react";
2
- interface Props {
3
- subQuestions: string[];
4
- setFieldValue: any;
5
- }
6
- declare const SubQuestions: FC<Props>;
7
- export default SubQuestions;
@@ -1,25 +0,0 @@
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;
@@ -1,2 +0,0 @@
1
- declare const validationAnswerId: (data: any) => any;
2
- export default validationAnswerId;
@@ -1,2 +0,0 @@
1
- declare const validationChoices: any;
2
- export default validationChoices;
@@ -1,7 +0,0 @@
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;
@@ -1,32 +0,0 @@
1
- /// <reference types="react" />
2
- declare type Answer = {
3
- text: string;
4
- isCorrectAnswer: boolean;
5
- mark: number;
6
- emotionalText: string;
7
- };
8
- declare type QuestionDetail = {
9
- id?: number;
10
- type: string;
11
- text: string;
12
- isDefaultQuestion: boolean;
13
- isDefaultQuestionTeacher: boolean | null;
14
- categoryId: number;
15
- explainAnswer?: string;
16
- fromLabel?: string;
17
- toLabel?: string;
18
- numberOfStars?: number;
19
- answers: Answer[];
20
- isSurvey: boolean;
21
- subQuestions: string[];
22
- };
23
- declare const useQuestionDetail: (id?: number | undefined) => {
24
- questionDetail: QuestionDetail;
25
- setEditorRef: (node: any) => any;
26
- backToList: () => void;
27
- confirmData: (data: any) => Promise<void>;
28
- edited: boolean;
29
- setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
30
- setEditedTrue: () => Promise<void>;
31
- };
32
- export default useQuestionDetail;
@@ -1,12 +0,0 @@
1
- declare const useQuestionList: (isDefaultQuestion?: boolean) => {
2
- gridOptions: any;
3
- setRef: (node: any) => any;
4
- questionList: any;
5
- totalItems: any;
6
- filters: any;
7
- changeFilters: (updatedFilters: any) => void;
8
- getData: () => Promise<void>;
9
- removeData: (id: number) => void;
10
- goToDetail: (id?: number | undefined) => void;
11
- };
12
- export default useQuestionList;
@@ -1,6 +0,0 @@
1
- declare const useSubQuestionList: (subQuestions: string[], setFieldValue: any) => {
2
- addSubQuestion: () => void;
3
- editSubQuestion: (index: number, valueObject: string) => void;
4
- removeSubQuestion: (index: number) => void;
5
- };
6
- export default useSubQuestionList;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const QuestionBankContainer: () => JSX.Element;
3
- export default QuestionBankContainer;
@@ -1,6 +0,0 @@
1
- import { FC } from "react";
2
- interface Props {
3
- isDefaultQuestion: boolean;
4
- }
5
- declare const QuestionBankList: FC<Props>;
6
- export default QuestionBankList;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const QuestionDetail: FC;
3
- export default QuestionDetail;
@@ -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;