mario-education 2.4.0 → 2.4.3

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 (95) hide show
  1. package/dist/MarioFramework.Education/ClientApp/src/containers/CSVImport/hooks/useCSVImport.d.ts +8 -0
  2. package/dist/MarioFramework.Education/ClientApp/src/containers/Classes/components/TeacherSelector.d.ts +4 -0
  3. package/dist/{containers/Assessment/components/AssessmentDetailModal.d.ts → MarioFramework.Education/ClientApp/src/containers/SwitchTeacher/components/SwitchTeacherModal.d.ts} +0 -0
  4. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchTeacher/hooks/useSwitchTeacher.d.ts +38 -0
  5. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchTeacher/views/SwitchTeacherList.d.ts +3 -0
  6. package/dist/MarioFramework.Education/ClientApp/src/services/csvService.d.ts +1 -0
  7. package/dist/MarioFramework.Education/ClientApp/src/services/userDeletedService.d.ts +2 -0
  8. package/dist/index.css +135 -135
  9. package/dist/index.js +536 -49
  10. package/dist/index.js.map +1 -1
  11. package/dist/index.modern.js +536 -49
  12. package/dist/index.modern.js.map +1 -1
  13. package/package.json +91 -91
  14. package/dist/containers/Assessment/hooks/useAssessmentDetail.d.ts +0 -17
  15. package/dist/containers/Assessment/hooks/useAssessmentList.d.ts +0 -9
  16. package/dist/containers/Assessment/views/AssessmentAssignment.d.ts +0 -3
  17. package/dist/containers/Assessment/views/AssessmentList.d.ts +0 -3
  18. package/dist/containers/Badge/components/BadgeDetailModal.d.ts +0 -3
  19. package/dist/containers/Badge/hooks/useBadgeDetail.d.ts +0 -14
  20. package/dist/containers/Badge/hooks/useBadgeList.d.ts +0 -9
  21. package/dist/containers/Badge/views/BadgeList.d.ts +0 -3
  22. package/dist/containers/Classes/components/ClassDetailModal.d.ts +0 -3
  23. package/dist/containers/Classes/hooks/useClassDetail.d.ts +0 -12
  24. package/dist/containers/Classes/hooks/useClassList.d.ts +0 -9
  25. package/dist/containers/Classes/views/ClassList.d.ts +0 -3
  26. package/dist/containers/ConferenceRubric/components/CellList.d.ts +0 -10
  27. package/dist/containers/ConferenceRubric/components/ColumnList.d.ts +0 -11
  28. package/dist/containers/ConferenceRubric/components/RowList.d.ts +0 -11
  29. package/dist/containers/ConferenceRubric/configs/conferenceRubricDetailSchema.d.ts +0 -8
  30. package/dist/containers/ConferenceRubric/hooks/useConferenceRubricDetail.d.ts +0 -48
  31. package/dist/containers/ConferenceRubric/hooks/useConferenceRubricList.d.ts +0 -10
  32. package/dist/containers/ConferenceRubric/views/ConferenceRubricDetail.d.ts +0 -3
  33. package/dist/containers/ConferenceRubric/views/ConferenceRubricList.d.ts +0 -3
  34. package/dist/containers/Feedback/components/FeedbackDetailModal.d.ts +0 -3
  35. package/dist/containers/Feedback/hooks/useFeedbackDetail.d.ts +0 -12
  36. package/dist/containers/Feedback/hooks/useFeedbackList.d.ts +0 -8
  37. package/dist/containers/Feedback/views/FeedbackList.d.ts +0 -3
  38. package/dist/containers/GoalExample/components/GoalExampleDetailModal.d.ts +0 -3
  39. package/dist/containers/GoalExample/hooks/useGoalExampleDetail.d.ts +0 -13
  40. package/dist/containers/GoalExample/hooks/useGoalExampleList.d.ts +0 -9
  41. package/dist/containers/GoalExample/views/GoalExampleList.d.ts +0 -3
  42. package/dist/containers/LearningStrategy/components/StrategyDetailModal.d.ts +0 -3
  43. package/dist/containers/LearningStrategy/hooks/useLearningStrategyList.d.ts +0 -9
  44. package/dist/containers/LearningStrategy/hooks/useStrategyDetail.d.ts +0 -13
  45. package/dist/containers/LearningStrategy/views/LearningStrategyList.d.ts +0 -3
  46. package/dist/containers/ManageAssistant/views/ManageAssistantList.d.ts +0 -3
  47. package/dist/containers/QuestionBank/components/AdditionalComponent.d.ts +0 -7
  48. package/dist/containers/QuestionBank/components/AgGridComponents.d.ts +0 -9
  49. package/dist/containers/QuestionBank/components/AnswerList.d.ts +0 -8
  50. package/dist/containers/QuestionBank/components/QuestionPreview.d.ts +0 -3
  51. package/dist/containers/QuestionBank/components/SliderScale.d.ts +0 -8
  52. package/dist/containers/QuestionBank/components/StarRating.d.ts +0 -7
  53. package/dist/containers/QuestionBank/configs/questionDetailSchema.d.ts +0 -21
  54. package/dist/containers/QuestionBank/configs/validationAnswerId.d.ts +0 -2
  55. package/dist/containers/QuestionBank/configs/validationChoices.d.ts +0 -2
  56. package/dist/containers/QuestionBank/hooks/useQuestionAnswerList.d.ts +0 -7
  57. package/dist/containers/QuestionBank/hooks/useQuestionDetail.d.ts +0 -23
  58. package/dist/containers/QuestionBank/hooks/useQuestionList.d.ts +0 -12
  59. package/dist/containers/QuestionBank/views/QuestionBankList.d.ts +0 -3
  60. package/dist/containers/QuestionBank/views/QuestionDetail.d.ts +0 -3
  61. package/dist/containers/QuestionCategory/components/QuestionCateModal.d.ts +0 -3
  62. package/dist/containers/QuestionCategory/hooks/useQuestionCateDetail.d.ts +0 -13
  63. package/dist/containers/QuestionCategory/hooks/useQuestionCateList.d.ts +0 -9
  64. package/dist/containers/QuestionCategory/views/QuestionCategogyList.d.ts +0 -3
  65. package/dist/containers/ReflectionForm/components/QuestionSplitPaneSelector.d.ts +0 -3
  66. package/dist/containers/ReflectionForm/components/ReflectionDetailModal.d.ts +0 -3
  67. package/dist/containers/ReflectionForm/hooks/useQuestionCategory.d.ts +0 -13
  68. package/dist/containers/ReflectionForm/hooks/useReflectionFormDetail.d.ts +0 -16
  69. package/dist/containers/ReflectionForm/hooks/useReflectionFormList.d.ts +0 -9
  70. package/dist/containers/ReflectionForm/views/ReflectionFormList.d.ts +0 -3
  71. package/dist/containers/Setup/views/SetupContainer.d.ts +0 -3
  72. package/dist/containers/Subject/components/SubjectDetailModal.d.ts +0 -3
  73. package/dist/containers/Subject/hooks/useSubjectDetail.d.ts +0 -13
  74. package/dist/containers/Subject/hooks/useSubjectList.d.ts +0 -9
  75. package/dist/containers/Subject/views/SubjectList.d.ts +0 -3
  76. package/dist/containers/SuggestionBank/components/SuggestionDetailModal.d.ts +0 -3
  77. package/dist/containers/SuggestionBank/hooks/useKeywordList.d.ts +0 -10
  78. package/dist/containers/SuggestionBank/hooks/useSuggestionDetail.d.ts +0 -24
  79. package/dist/containers/SuggestionBank/hooks/useSuggestionList.d.ts +0 -10
  80. package/dist/containers/SuggestionBank/views/SuggestionList.d.ts +0 -3
  81. package/dist/index.d.ts +0 -16
  82. package/dist/index.test.d.ts +0 -1
  83. package/dist/services/assessmentService.d.ts +0 -6
  84. package/dist/services/badgeService.d.ts +0 -6
  85. package/dist/services/classService.d.ts +0 -6
  86. package/dist/services/conferenceRubricService.d.ts +0 -7
  87. package/dist/services/feedbackService.d.ts +0 -6
  88. package/dist/services/goalExampleService.d.ts +0 -6
  89. package/dist/services/learningStrategyService.d.ts +0 -6
  90. package/dist/services/questionCategoryService.d.ts +0 -6
  91. package/dist/services/questionService.d.ts +0 -6
  92. package/dist/services/reflectionFormService.d.ts +0 -6
  93. package/dist/services/studentService.d.ts +0 -2
  94. package/dist/services/subjectService.d.ts +0 -6
  95. package/dist/services/suggestionService.d.ts +0 -6
@@ -1,23 +0,0 @@
1
- declare type Answer = {
2
- text: string;
3
- isCorrectAnswer: boolean;
4
- mark: number;
5
- };
6
- declare type QuestionDetail = {
7
- id?: number;
8
- type: string;
9
- text: string;
10
- categoryId: number;
11
- explainAnswer?: string;
12
- fromLabel?: string;
13
- toLabel?: string;
14
- numberOfStars?: number;
15
- answers: Answer[];
16
- };
17
- declare const useQuestionDetail: (id?: number | undefined) => {
18
- questionDetail: QuestionDetail;
19
- setEditorRef: (node: any) => any;
20
- backToList: () => void;
21
- confirmData: (data: any) => Promise<void>;
22
- };
23
- export default useQuestionDetail;
@@ -1,12 +0,0 @@
1
- import { Filter } from "mario-core";
2
- declare const useQuestionList: () => {
3
- gridOptions: any;
4
- setRef: (node: any) => any;
5
- questionList: any;
6
- filters: Filter;
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,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const QuestionBankList: FC;
3
- 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;
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- declare type questionCateDetail = {
3
- name: string;
4
- ParentCategoryId: number | null;
5
- };
6
- declare const useQuestionCateDetail: () => {
7
- id: number;
8
- setId: import("react").Dispatch<import("react").SetStateAction<number>>;
9
- questionCateDetail: questionCateDetail;
10
- confirmData: (values: any, cb: any) => Promise<void>;
11
- initValue: questionCateDetail;
12
- };
13
- export default useQuestionCateDetail;
@@ -1,9 +0,0 @@
1
- import { Filter } from "mario-core";
2
- declare const useQuestionCateList: () => {
3
- questionCateList: any;
4
- filters: Filter;
5
- changeFilters: (updatedFilters: any) => void;
6
- getData: () => Promise<void>;
7
- removeData: (id: number) => void;
8
- };
9
- export default useQuestionCateList;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const QuestionCateList: FC;
3
- export default QuestionCateList;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const QuestionSplitPaneSelector: (props: any) => JSX.Element;
3
- export default QuestionSplitPaneSelector;
@@ -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,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,16 +0,0 @@
1
- /// <reference types="react" />
2
- declare type ReflectionFormDetail = {
3
- id?: number;
4
- name: string;
5
- category: string;
6
- questionIds: number[];
7
- search: string;
8
- };
9
- declare const useReflectionFormDetail: () => {
10
- id: number;
11
- setId: import("react").Dispatch<import("react").SetStateAction<number>>;
12
- reflectionformDetail: ReflectionFormDetail;
13
- confirmData: (values: any, cb: any) => Promise<void>;
14
- initValue: ReflectionFormDetail;
15
- };
16
- export default useReflectionFormDetail;
@@ -1,9 +0,0 @@
1
- import { Filter } from "mario-core";
2
- declare const useReflectionFormList: () => {
3
- reflectiontList: any;
4
- filters: Filter;
5
- changeFilters: (updatedFilters: any) => void;
6
- getData: () => Promise<void>;
7
- removeData: (id: number) => Promise<void>;
8
- };
9
- export default useReflectionFormList;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const ReflectionFormList: FC;
3
- export default ReflectionFormList;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const SetupContainer: () => JSX.Element;
3
- export default SetupContainer;
@@ -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,13 +0,0 @@
1
- /// <reference types="react" />
2
- declare type SubjectDetail = {
3
- name: string;
4
- description: string;
5
- };
6
- declare const useSubjectDetail: () => {
7
- id: number;
8
- setId: import("react").Dispatch<import("react").SetStateAction<number>>;
9
- subjectDetail: SubjectDetail;
10
- confirmData: (values: any, cb: any) => Promise<void>;
11
- initValue: SubjectDetail;
12
- };
13
- export default useSubjectDetail;
@@ -1,9 +0,0 @@
1
- import { Filter } from "mario-core";
2
- declare const useSubjectList: () => {
3
- subjectList: any;
4
- filters: Filter;
5
- changeFilters: (updatedFilters: any) => void;
6
- getData: () => Promise<void>;
7
- removeData: (id: number) => void;
8
- };
9
- export default useSubjectList;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const SubjectList: FC;
3
- export default SubjectList;
@@ -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
- declare const useKeywordList: (initKeywords: any) => {
2
- inputValue: string;
3
- value: any;
4
- handleChange: (newValue: any) => void;
5
- handleInputChange: (newInputValue: string) => void;
6
- handleKeyDown: (e: any) => void;
7
- placeholder: string;
8
- keywords: any;
9
- };
10
- export default useKeywordList;
@@ -1,24 +0,0 @@
1
- /// <reference types="react" />
2
- declare type SuggestionDetail = {
3
- description: string;
4
- suggestionKeywords?: any;
5
- suggestionKeywordsToAdd?: any;
6
- suggestionKeywordsToDelete?: any;
7
- categoryId: any;
8
- };
9
- declare const useSuggestionDetail: () => {
10
- id: number;
11
- setId: import("react").Dispatch<import("react").SetStateAction<number>>;
12
- suggestionDetail: SuggestionDetail;
13
- changeSuggestionDetail: (dataUpdated: any) => void;
14
- confirmData: (cb: any) => Promise<void>;
15
- initValue: SuggestionDetail;
16
- inputValue: string;
17
- value: any;
18
- handleChange: (newValue: any) => void;
19
- handleInputChange: (newInputValue: string) => void;
20
- handleKeyDown: (e: any) => void;
21
- placeholder: string;
22
- keywords: any;
23
- };
24
- export default useSuggestionDetail;
@@ -1,10 +0,0 @@
1
- import { Filter } from "mario-core";
2
- declare const useSuggestionList: () => {
3
- suggestionList: any;
4
- filters: Filter;
5
- changeFilters: (updatedFilters: any) => void;
6
- getData: () => Promise<void>;
7
- removeData: (id: number) => void;
8
- getKeywords: (keywords: any) => any;
9
- };
10
- export default useSuggestionList;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const SuggestionBankList: FC;
3
- export default SuggestionBankList;
package/dist/index.d.ts DELETED
@@ -1,16 +0,0 @@
1
- import ClassList from "./containers/Classes/views/ClassList";
2
- import ConferenceRubricList from "./containers/ConferenceRubric/views/ConferenceRubricList";
3
- import ConferenceRubricDetail from "./containers/ConferenceRubric/views/ConferenceRubricDetail";
4
- import SuggestionList from "./containers/SuggestionBank/views/SuggestionList";
5
- import LearningStrategyList from "./containers/LearningStrategy/views/LearningStrategyList";
6
- import SetupContainer from "./containers/Setup/views/SetupContainer";
7
- import QuestionBankList from "./containers/QuestionBank/views/QuestionBankList";
8
- import ReflectionFormList from "./containers/ReflectionForm/views/ReflectionFormList";
9
- import QuestionDetail from "./containers/QuestionBank/views/QuestionDetail";
10
- import SubjectList from "./containers/Subject/views/SubjectList";
11
- import AssessmentList from "./containers/Assessment/views/AssessmentList";
12
- import AssessmentAssignment from "./containers/Assessment/views/AssessmentAssignment";
13
- import BadgeList from "./containers/Badge/views/BadgeList";
14
- import FeedbackList from "./containers/Feedback/views/FeedbackList";
15
- import GoalExampleList from "./containers/GoalExample/views/GoalExampleList";
16
- export { ClassList, ConferenceRubricList, ConferenceRubricDetail, SuggestionList, LearningStrategyList, SetupContainer, QuestionBankList, ReflectionFormList, QuestionDetail, SubjectList, BadgeList, GoalExampleList, FeedbackList, AssessmentList, AssessmentAssignment };
@@ -1 +0,0 @@
1
- export {};
@@ -1,6 +0,0 @@
1
- import { Filter } from "mario-core";
2
- export declare const get: (filter: Filter) => any;
3
- export declare const getById: (id: number) => any;
4
- export declare const create: (data: any) => any;
5
- export declare const update: (data: any) => any;
6
- export declare const remove: (id: number) => any;
@@ -1,6 +0,0 @@
1
- import { Filter } from "mario-core";
2
- export declare const get: (filter: Filter) => any;
3
- export declare const getById: (id: number) => any;
4
- export declare const create: (data: any) => any;
5
- export declare const update: (data: any) => any;
6
- export declare const remove: (id: number) => any;
@@ -1,6 +0,0 @@
1
- import { Filter } from "mario-core";
2
- export declare const get: (filter: Filter) => any;
3
- export declare const getById: (id: number) => any;
4
- export declare const create: (data: any) => any;
5
- export declare const update: (data: any) => any;
6
- export declare const remove: (id: number) => any;
@@ -1,7 +0,0 @@
1
- import { Filter } from "mario-core";
2
- export declare const RUBRIC_URL: string;
3
- export declare const get: (filter: Filter) => any;
4
- export declare const getById: (id: number) => any;
5
- export declare const create: (data: any) => any;
6
- export declare const update: (data: any) => any;
7
- export declare const remove: (id: number) => any;
@@ -1,6 +0,0 @@
1
- import { Filter } from "mario-core";
2
- export declare const get: (filter: Filter) => any;
3
- export declare const getById: (id: number) => any;
4
- export declare const create: (data: any) => any;
5
- export declare const update: (data: any) => any;
6
- export declare const remove: (id: number) => any;
@@ -1,6 +0,0 @@
1
- import { Filter } from "mario-core";
2
- export declare const get: (filter: Filter) => any;
3
- export declare const getById: (id: number) => any;
4
- export declare const create: (data: any) => any;
5
- export declare const update: (data: any) => any;
6
- export declare const remove: (id: number) => any;
@@ -1,6 +0,0 @@
1
- import { Filter } from "mario-core";
2
- export declare const get: (filter: Filter) => any;
3
- export declare const getById: (id: number) => any;
4
- export declare const create: (data: any) => any;
5
- export declare const update: (data: any) => any;
6
- export declare const remove: (id: number) => any;
@@ -1,6 +0,0 @@
1
- import { Filter } from "mario-core";
2
- export declare const get: (filter: Filter) => any;
3
- export declare const getById: (id: number) => any;
4
- export declare const create: (data: any) => any;
5
- export declare const update: (data: any) => any;
6
- export declare const remove: (id: number) => any;
@@ -1,6 +0,0 @@
1
- import { Filter } from "mario-core";
2
- export declare const get: (filter: Filter) => any;
3
- export declare const getById: (id: number) => any;
4
- export declare const create: (data: any) => any;
5
- export declare const update: (data: any) => any;
6
- export declare const remove: (id: number) => any;
@@ -1,6 +0,0 @@
1
- import { Filter } from "mario-core";
2
- export declare const get: (filter: Filter) => any;
3
- export declare const getById: (id: number) => any;
4
- export declare const create: (data: any) => any;
5
- export declare const update: (data: any) => any;
6
- export declare const remove: (id: number) => any;
@@ -1,2 +0,0 @@
1
- import { Filter } from "mario-core";
2
- export declare const get: (filter?: Partial<Filter> | undefined) => any;
@@ -1,6 +0,0 @@
1
- import { Filter } from "mario-core";
2
- export declare const get: (filter: Filter) => any;
3
- export declare const getById: (id: number) => any;
4
- export declare const create: (data: any) => any;
5
- export declare const update: (data: any) => any;
6
- export declare const remove: (id: number) => any;
@@ -1,6 +0,0 @@
1
- import { Filter } from "mario-core";
2
- export declare const get: (filter: Filter) => any;
3
- export declare const getById: (id: number) => any;
4
- export declare const create: (data: any) => any;
5
- export declare const update: (data: any) => any;
6
- export declare const remove: (id: number) => any;