mario-education 2.4.121-beta → 2.4.122-beta

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 (29) hide show
  1. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/ReadinessToLearn.d.ts +7 -0
  2. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/components/AgGridComponents.d.ts +1 -0
  3. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/configs/constants.d.ts +4 -0
  4. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/hooks/useQuestionDetail.d.ts +1 -0
  5. package/dist/MarioFramework.Education/ClientApp/src/containers/Subject/views/SubjectList.d.ts +2 -2
  6. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchCounselor/hooks/useSwitchAssistant.d.ts +18 -0
  7. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/components/SwitchCounselorModal.d.ts +4 -0
  8. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/hooks/useSwitchCounselor.d.ts +18 -0
  9. package/dist/MarioFramework.Education/ClientApp/src/index.d.ts +1 -4
  10. package/dist/index.css +0 -46
  11. package/dist/index.js +129 -1085
  12. package/dist/index.js.map +1 -1
  13. package/dist/index.modern.js +130 -1083
  14. package/dist/index.modern.js.map +1 -1
  15. package/package.json +2 -4
  16. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/apiClient/index.d.ts +0 -8
  17. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/components/SelectorTemplate.d.ts +0 -3
  18. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/components/TemplateDialogModal.d.ts +0 -3
  19. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/configs/types.d.ts +0 -12
  20. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateBuilder.d.ts +0 -10
  21. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateDetail.d.ts +0 -20
  22. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateList.d.ts +0 -9
  23. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateStart.d.ts +0 -9
  24. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateBuilderPage.d.ts +0 -3
  25. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateContainer.d.ts +0 -3
  26. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateIEPList.d.ts +0 -3
  27. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateStartBuild.d.ts +0 -3
  28. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateSystemList.d.ts +0 -3
  29. /package/dist/MarioFramework.Education/ClientApp/src/utils/{serviceType.interface.d.ts → servicetype.interface.d.ts} +0 -0
@@ -0,0 +1,7 @@
1
+ import { FC } from "react";
2
+ import { IReadinessToLearning } from "../configs/types";
3
+ interface Props {
4
+ data: IReadinessToLearning[];
5
+ }
6
+ declare const ReadinessToLearn: FC<Props>;
7
+ export default ReadinessToLearn;
@@ -8,4 +8,5 @@ export declare const renderQuestionText: (params: any) => JSX.Element;
8
8
  export declare const renderActions: ({ params, edit, remove }: ActionProps) => JSX.Element;
9
9
  export declare const renderCategory: (params: any) => JSX.Element;
10
10
  export declare const renderType: (params: any) => JSX.Element;
11
+ export declare const renderUserQuestion: (params: any) => JSX.Element;
11
12
  export {};
@@ -5,3 +5,7 @@ export declare enum TYPE_QUESTION {
5
5
  Conference = 3,
6
6
  Survey = 4
7
7
  }
8
+ export declare const userForQuestion: {
9
+ value: string;
10
+ label: string;
11
+ }[];
@@ -24,6 +24,7 @@ declare type QuestionDetail = {
24
24
  subQuestions: string[];
25
25
  isBeforeSession: boolean;
26
26
  isDefaultQuestionSurvey: boolean;
27
+ userForQuestion?: string;
27
28
  };
28
29
  declare const useQuestionDetail: (id?: number | undefined, type?: number | undefined) => {
29
30
  questionDetail: QuestionDetail;
@@ -1,3 +1,3 @@
1
1
  import { FC } from "react";
2
- declare const TemplateSystemList: FC;
3
- export default TemplateSystemList;
2
+ declare const SubjectList: FC;
3
+ export default SubjectList;
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import { IOptions, IStudentAssistantItem } from "../utils/type.interface";
3
+ declare const useSwitchAssistant: () => {
4
+ userList: IStudentAssistantItem[];
5
+ totalItems: number;
6
+ filters: import("mario-core").Filter;
7
+ changeFilters: (updatedFilters: any) => void;
8
+ modal: import("react").MutableRefObject<any>;
9
+ userChoiced: IStudentAssistantItem;
10
+ options: IOptions[];
11
+ setAssistantChangeId: import("react").Dispatch<import("react").SetStateAction<string>>;
12
+ assistantChangeId: string;
13
+ removeData: (teacherUserId: string, studentId: number) => Promise<void>;
14
+ resetData: () => void;
15
+ choiceUser: (userChoiced: IStudentAssistantItem) => void;
16
+ onDeleteAssistant: (studentId: number) => Promise<void>;
17
+ };
18
+ export default useSwitchAssistant;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { ISwitchCounselorModal } from "../utils/type.interface";
3
+ declare const _default: React.ForwardRefExoticComponent<ISwitchCounselorModal & React.RefAttributes<HTMLInputElement>>;
4
+ export default _default;
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import { IOptions, IStudentCounselorItem } from "../utils/type.interface";
3
+ declare const useSwitchCounselor: () => {
4
+ userList: IStudentCounselorItem[];
5
+ totalItems: number;
6
+ filters: import("mario-core").Filter;
7
+ changeFilters: (updatedFilters: any) => void;
8
+ modal: import("react").MutableRefObject<any>;
9
+ userChoiced: IStudentCounselorItem;
10
+ options: IOptions[];
11
+ setCounselorChangeId: import("react").Dispatch<import("react").SetStateAction<string>>;
12
+ counselorChangeId: string;
13
+ removeData: (counselorId: string, studentId: number) => Promise<void>;
14
+ resetData: () => void;
15
+ choiceUser: (userChoiced: IStudentCounselorItem) => void;
16
+ onDeleteCounselor: (studentId: number) => Promise<void>;
17
+ };
18
+ export default useSwitchCounselor;
@@ -30,9 +30,6 @@ import CompareTeacher from "./containers/CompareTeacher/views/CompareTeacher";
30
30
  import Dashboard from "./containers/Dashboard/views/Dashboard";
31
31
  import SessionTemplateList from "./containers/SessionTemplate/views/SessionTemplateList";
32
32
  import SessionTemplateGeneralClassList from "./containers/SessionTemplateGeneralClass/views/SessionTemplateGeneralClassList";
33
- import TemplateContainer from "./containers/TemplateSystem/views/TemplateContainer";
34
- import TemplateBuilderPage from "./containers/TemplateSystem/views/TemplateBuilderPage";
35
- import TemplateStartBuild from "./containers/TemplateSystem/views/TemplateStartBuild";
36
33
  import LoadLanguage from "./components/Loading/LoadLanguage";
37
34
  import AdminTraining from "./containers/AdminTraining/views/AdminTraining";
38
- export { ClassList, ConferenceRubricList, ConferenceRubricDetail, SuggestionList, LearningStrategyList, SetupContainer, QuestionBankList, ReflectionFormList, ReflectionContainer, QuestionDetail, SubjectList, LearningSupportCategoryList, BadgeList, GoalExampleList, TutorialScreenContainer, FeedbackList, AssessmentList, QuestionBankContainer, SurveyQuestionContainer, QuestionCategoryList, AssignmentList, AssessmentAssignmentContainer, SessionTemplateContainer, SessionTemplateDetail, SessionTemplateGeneralClassDetail, CustomAlertList, CertificateContainer, CompareTeacher, AssetLog, SessionTemplateList, SessionTemplateGeneralClassList, Dashboard, LoadLanguage, AdminTraining, TemplateContainer, TemplateBuilderPage, TemplateStartBuild };
35
+ export { ClassList, ConferenceRubricList, ConferenceRubricDetail, SuggestionList, LearningStrategyList, SetupContainer, QuestionBankList, ReflectionFormList, ReflectionContainer, QuestionDetail, SubjectList, LearningSupportCategoryList, BadgeList, GoalExampleList, TutorialScreenContainer, FeedbackList, AssessmentList, QuestionBankContainer, SurveyQuestionContainer, QuestionCategoryList, AssignmentList, AssessmentAssignmentContainer, SessionTemplateContainer, SessionTemplateDetail, SessionTemplateGeneralClassDetail, CustomAlertList, CertificateContainer, CompareTeacher, AssetLog, SessionTemplateList, SessionTemplateGeneralClassList, Dashboard, LoadLanguage, AdminTraining };
package/dist/index.css CHANGED
@@ -195,52 +195,6 @@ tbody._b-AXV tr {
195
195
  display: flex;
196
196
  width: 40%;
197
197
  padding-bottom: 10px;
198
- }
199
- ._1WxAe {
200
- border-right: 1px solid #d8dbe0;
201
- height: 100vh;
202
- padding: 20px 0px 35px 0px;
203
- margin: 0;
204
- }
205
- ._3_Ed7 {
206
- text-align: center;
207
- margin-bottom: 25px;
208
- cursor: pointer;
209
- height: 260px;
210
- }
211
-
212
- ._3_Ed7 h5 {
213
- font-size: 15px;
214
- }
215
- ._3uUiv {
216
- height: 200px;
217
- border-radius: 10px;
218
- background: #fff;
219
- box-shadow: 0px 0px 10px 5px #cdcdcd;
220
- margin-bottom: 12px;
221
- }
222
- ._3_Ed7._3sodH ._3uUiv {
223
- box-shadow: 0px 0px 10px 5px #3c65e0;
224
- }
225
- ._3_Ed7._3sodH h5 {
226
- font-size: 15px;
227
- color: #3c65e0;
228
- }
229
-
230
- ._Az5Kt {
231
- padding: 15px;
232
- display: flex;
233
- border-bottom: 1px solid #d8dbe0;
234
- position: sticky;
235
- justify-content: space-between;
236
- align-items: center;
237
- }
238
- ._Az5Kt h5 {
239
- font-size: 15px;
240
- margin-bottom: 0px;
241
- }
242
- ._1Jrg_ {
243
- padding: 15px 20px;
244
198
  }
245
199
  ._3DVMZ {
246
200
  display: flex;