mario-education 3.0.4-admin → 3.0.6-counselor

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 (27) hide show
  1. package/dist/MarioFramework.Education/ClientApp/src/containers/AssignAssistant/components/AssignAssistantModal.d.ts +4 -0
  2. package/dist/MarioFramework.Education/ClientApp/src/containers/AssignAssistant/hooks/useAssignAssistant.d.ts +18 -0
  3. package/dist/MarioFramework.Education/ClientApp/src/containers/AssignAssistant/utils/constants.d.ts +3 -0
  4. package/dist/MarioFramework.Education/ClientApp/src/containers/AssignAssistant/utils/type.interface.d.ts +45 -0
  5. package/dist/MarioFramework.Education/ClientApp/src/containers/AssignAssistant/views/AssignAssistantList.d.ts +3 -0
  6. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/apiClient/index.d.ts +7 -0
  7. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/components/SelectorTemplate.d.ts +3 -0
  8. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/components/SubjectDetailModal.d.ts +3 -0
  9. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/components/TemplateDialogModal.d.ts +3 -0
  10. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/configs/types.d.ts +12 -0
  11. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useSubjectDetail.d.ts +19 -0
  12. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useSubjectList.d.ts +9 -0
  13. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateBuilder.d.ts +9 -0
  14. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateDetail.d.ts +20 -0
  15. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateList.d.ts +9 -0
  16. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateStart.d.ts +9 -0
  17. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateBuilderPage.d.ts +3 -0
  18. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateContainer.d.ts +3 -0
  19. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateIEPList.d.ts +3 -0
  20. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateStartBuild.d.ts +3 -0
  21. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateSystemList.d.ts +3 -0
  22. package/dist/MarioFramework.Education/ClientApp/src/services/userService.d.ts +4 -0
  23. package/dist/index.js +418 -39
  24. package/dist/index.js.map +1 -1
  25. package/dist/index.modern.js +418 -39
  26. package/dist/index.modern.js.map +1 -1
  27. package/package.json +2 -2
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { IAssignAssistantModal } from "../utils/type.interface";
3
+ declare const _default: React.ForwardRefExoticComponent<IAssignAssistantModal & React.RefAttributes<HTMLInputElement>>;
4
+ export default _default;
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import { IOptions, IStudentWithoutAssistantItem } from "../utils/type.interface";
3
+ declare const useAssignAssistant: () => {
4
+ userList: IStudentWithoutAssistantItem[];
5
+ totalItems: number;
6
+ filters: import("mario-core").Filter;
7
+ changeFilters: (updatedFilters: any) => void;
8
+ modal: import("react").MutableRefObject<any>;
9
+ userChoiced: IStudentWithoutAssistantItem;
10
+ options: IOptions[];
11
+ changeAssistantId: (id: number) => void;
12
+ assistantChangeId: number;
13
+ handleAssign: () => Promise<void>;
14
+ resetData: () => void;
15
+ choiceUser: (userChoiced: IStudentWithoutAssistantItem) => void;
16
+ isChecked: boolean;
17
+ };
18
+ export default useAssignAssistant;
@@ -0,0 +1,3 @@
1
+ import { IStudentWithoutAssistantItem } from "./type.interface";
2
+ export declare const INITIAL_USER_CHOICE: IStudentWithoutAssistantItem;
3
+ export declare const DEFAULT_DATE = "0001-01-01T00:00:00";
@@ -0,0 +1,45 @@
1
+ export interface IOptions {
2
+ label: string;
3
+ value: number;
4
+ }
5
+ export declare type USER_CHOICE = {
6
+ id: string;
7
+ studentName: string;
8
+ emailStudent: string;
9
+ assistantId: string;
10
+ emailAssistant: string;
11
+ assistantName: string;
12
+ };
13
+ export declare type Assistant = {
14
+ id: string;
15
+ assistantId: number;
16
+ firstName: string;
17
+ lastName: string;
18
+ fullName: string;
19
+ email: string;
20
+ };
21
+ export interface IAssignAssistantModal {
22
+ header: string;
23
+ onAssign: () => Promise<void>;
24
+ resetData: () => void;
25
+ userChoiced: IStudentWithoutAssistantItem;
26
+ options: IOptions[];
27
+ assistantChangeId: number;
28
+ setAssistantChangeId: (value: any) => void;
29
+ isChecked: boolean;
30
+ }
31
+ export interface IStudentWithoutAssistantItem {
32
+ id: number;
33
+ emailStudent: string;
34
+ studentName: string;
35
+ teacherId?: number;
36
+ dateOfBirth: string;
37
+ createdAt: string;
38
+ }
39
+ export declare type TypeStudentWithoutAssistantData = {
40
+ currentPage: number;
41
+ pageSize: number;
42
+ totalItems: number;
43
+ totalPages: number;
44
+ items: IStudentWithoutAssistantItem[];
45
+ };
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const AssignAssistantList: () => JSX.Element;
3
+ export default AssignAssistantList;
@@ -0,0 +1,7 @@
1
+ export declare const get: (filter?: any) => Promise<import("axios").AxiosResponse<any>>;
2
+ export declare const getById: (id: number) => Promise<import("axios").AxiosResponse<any>>;
3
+ export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any>>;
4
+ export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any>>;
5
+ export declare const remove: (id: number) => Promise<import("axios").AxiosResponse<any>>;
6
+ export declare const getAllTemplatePage: (isTemplateIEP: boolean) => Promise<import("axios").AxiosResponse<any>>;
7
+ export declare const updateTemplatePage: (templateId: number, subTemplateId: number) => Promise<import("axios").AxiosResponse<any>>;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const SelectorTemplate: (props: any) => JSX.Element;
3
+ export default SelectorTemplate;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
+ export default _default;
@@ -0,0 +1,12 @@
1
+ export declare enum TypeEnumTemplate {
2
+ Default = 0,
3
+ Header = 1,
4
+ Footer = 2,
5
+ Page = 3
6
+ }
7
+ export declare const typeNameTemplate: string[];
8
+ export declare const arrListTemplates: {
9
+ id: TypeEnumTemplate;
10
+ label: string;
11
+ value: TypeEnumTemplate;
12
+ }[];
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ import { TypeEnumTemplate } from "../configs/types";
3
+ declare type SubjectDetail = {
4
+ name: string;
5
+ typeId: TypeEnumTemplate;
6
+ };
7
+ declare const useSubjectDetail: () => {
8
+ id: number;
9
+ setId: import("react").Dispatch<import("react").SetStateAction<number>>;
10
+ subjectDetail: SubjectDetail;
11
+ confirmData: (values: any, cb: any) => Promise<void>;
12
+ initValue: SubjectDetail;
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 useSubjectDetail;
@@ -0,0 +1,9 @@
1
+ declare const useSubjectList: () => {
2
+ subjectList: any;
3
+ totalItems: any;
4
+ filters: import("mario-core").Filter;
5
+ changeFilters: (updatedFilters: any) => void;
6
+ getData: () => Promise<void>;
7
+ removeData: (id: number) => void;
8
+ };
9
+ export default useSubjectList;
@@ -0,0 +1,9 @@
1
+ import { TypeEnumTemplate } from "../configs/types";
2
+ declare type TemplateDetail = {
3
+ name: string;
4
+ type: TypeEnumTemplate;
5
+ };
6
+ declare const useTemplateBuilder: (templateId: number) => {
7
+ templateDetail: TemplateDetail;
8
+ };
9
+ export default useTemplateBuilder;
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ import { TypeEnumTemplate } from "../configs/types";
3
+ declare type TemplateDetail = {
4
+ name: string;
5
+ type: TypeEnumTemplate;
6
+ isTemplateIEP: boolean;
7
+ };
8
+ declare const useTemplateDetail: (isTemplateIEP: boolean) => {
9
+ id: number;
10
+ setId: import("react").Dispatch<import("react").SetStateAction<number>>;
11
+ templateDetail: TemplateDetail;
12
+ confirmData: (values: any, cb: any) => Promise<void>;
13
+ initValue: TemplateDetail;
14
+ reset: () => void;
15
+ edited: boolean;
16
+ setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
17
+ setEditedTrue: () => Promise<void>;
18
+ setEditedFalse: () => Promise<void>;
19
+ };
20
+ export default useTemplateDetail;
@@ -0,0 +1,9 @@
1
+ declare const useTemplateList: (isTemplateIEP: boolean) => {
2
+ templateList: never[];
3
+ totalItems: number;
4
+ filters: import("mario-core").Filter;
5
+ changeFilters: (updatedFilters: any) => void;
6
+ getData: () => Promise<void>;
7
+ removeData: (id: number) => void;
8
+ };
9
+ export default useTemplateList;
@@ -0,0 +1,9 @@
1
+ declare const useTemplateStart: (isTemplateIEP: boolean) => {
2
+ templateList: never[];
3
+ getData: () => Promise<void>;
4
+ subTemplateId: number;
5
+ templateName: string;
6
+ onClickTemplate: (templateId: number, templateName: string) => void;
7
+ onUpdateTemplate: (subTemplateId: number) => Promise<void>;
8
+ };
9
+ export default useTemplateStart;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const TemplateBuilderPage: FC;
3
+ export default TemplateBuilderPage;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const TemplateContainer: () => JSX.Element;
3
+ export default TemplateContainer;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const TemplateIEPList: FC;
3
+ export default TemplateIEPList;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const TemplateStartBuild: FC;
3
+ export default TemplateStartBuild;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const TemplateSystemList: FC;
3
+ export default TemplateSystemList;
@@ -1,7 +1,11 @@
1
+ import { TypeStudentWithoutAssistantData } from "../containers/AssignAssistant/utils/type.interface";
1
2
  import { TypeStudentAssistantData } from "../containers/SwitchAssistant/utils/type.interface";
2
3
  import { IStudentWidthAssistant } from "../utils/serviceType.interface";
3
4
  export declare const getStudentAssistant: (data: IStudentWidthAssistant) => Promise<import("axios").AxiosResponse<TypeStudentAssistantData>>;
5
+ export declare const getStudentWithoutAssistant: (data: IStudentWidthAssistant) => Promise<import("axios").AxiosResponse<TypeStudentWithoutAssistantData>>;
4
6
  export declare const getAssistant: () => Promise<import("axios").AxiosResponse<any>>;
5
7
  export declare const getAssistantByStudentId: (studentId: number) => Promise<import("axios").AxiosResponse<any>>;
8
+ export declare const getAssistants: () => Promise<import("axios").AxiosResponse<any>>;
6
9
  export declare const changeAssistantOfStudent: (id: number, assistantUserId: string) => Promise<import("axios").AxiosResponse<any>>;
10
+ export declare const assignAssistantOfStudent: (studentId: number, teacherId: number, assistantId: number) => Promise<import("axios").AxiosResponse<any>>;
7
11
  export declare const removeAssistantForStudent: (studentId: number) => Promise<import("axios").AxiosResponse<any>>;