mario-education 2.4.120-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 (23) 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/SwitchCounselor/hooks/useSwitchAssistant.d.ts +18 -0
  3. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/components/SwitchCounselorModal.d.ts +4 -0
  4. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/hooks/useSwitchCounselor.d.ts +18 -0
  5. package/dist/index.js +1 -1
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.modern.js +1 -1
  8. package/dist/index.modern.js.map +1 -1
  9. package/package.json +1 -1
  10. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/apiClient/index.d.ts +0 -7
  11. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/components/SelectorTemplate.d.ts +0 -3
  12. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/components/TemplateDialogModal.d.ts +0 -3
  13. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/configs/types.d.ts +0 -12
  14. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateBuilder.d.ts +0 -9
  15. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateDetail.d.ts +0 -20
  16. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateList.d.ts +0 -9
  17. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateStart.d.ts +0 -9
  18. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateBuilderPage.d.ts +0 -3
  19. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateContainer.d.ts +0 -3
  20. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateIEPList.d.ts +0 -3
  21. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateStartBuild.d.ts +0 -3
  22. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateSystemList.d.ts +0 -3
  23. /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;
@@ -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;
package/dist/index.js CHANGED
@@ -29267,7 +29267,7 @@ var readinesToLearnoptions = function readinesToLearnoptions(seriesName, data) {
29267
29267
  var student = series.find(function (r) {
29268
29268
  return r.includes(studentName);
29269
29269
  });
29270
- !!student && history.push("/student-detail/overview/" + student[student.length - 1]);
29270
+ !!student && history.push("/student-detail/overview/" + student[student.length - 1] + "?isReadOnly=true");
29271
29271
  }
29272
29272
  }
29273
29273
  },