mario-education 2.4.421-release → 2.4.422-release

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.
@@ -0,0 +1,2 @@
1
+ declare const HeaderSideBar: ({ children, navigations, onToggleModel }: any) => JSX.Element;
2
+ export default HeaderSideBar;
@@ -0,0 +1,14 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ step: number;
4
+ title: string;
5
+ message: string;
6
+ onStepNext: Function;
7
+ totalStep: number;
8
+ isOpenNotificationBanner?: boolean;
9
+ onOpenNavigationItem?: Function;
10
+ openNavigationItem?: object;
11
+ navigations?: any;
12
+ }
13
+ declare const NotificationStepLogin: FC<Props>;
14
+ export default NotificationStepLogin;
@@ -0,0 +1,20 @@
1
+ export declare const LIST_TEACHER_STEP_POPUP: {
2
+ id: number;
3
+ title: string;
4
+ message: string;
5
+ }[];
6
+ export declare const LIST_ASSISTANT_STEP_POPUP: {
7
+ id: number;
8
+ title: string;
9
+ message: string;
10
+ }[];
11
+ export declare const LIST_STUDENT_STEP_POPUP: {
12
+ id: number;
13
+ title: string;
14
+ message: string;
15
+ }[];
16
+ export declare const STEP_PROFILE: {
17
+ id: number;
18
+ title: string;
19
+ message: string;
20
+ };
@@ -9,7 +9,8 @@ export declare enum RubricItemColumnOrder {
9
9
  }
10
10
  export declare type ConferenceRubric = {
11
11
  id?: number | null;
12
- name: string | null;
12
+ title: string | null;
13
+ type: string | null;
13
14
  instruction: string;
14
15
  conferenceRubricItems: ConferenceRubricItem[];
15
16
  questions: ConferenceRubricQuestion[];
@@ -0,0 +1,14 @@
1
+ import { FC } from "react";
2
+ import { ISkillTest, ISkillTestReponse } from "../../../utils/serviceType.interface";
3
+ import { ISkillTestDetail } from "../utils/type.interface";
4
+ export interface IProps {
5
+ ref: any;
6
+ isOpen: boolean;
7
+ isEdit?: boolean;
8
+ onConfirm: (values: ISkillTestDetail) => void;
9
+ onCancel: () => void;
10
+ value: ISkillTest;
11
+ skillTestList: ISkillTestReponse;
12
+ }
13
+ declare const SettingSkillTestModal: FC<IProps>;
14
+ export default SettingSkillTestModal;
@@ -0,0 +1,19 @@
1
+ import { ISkillTestReponse, IFilter, ISkillTest } from "../../../utils/serviceType.interface";
2
+ import { ISkillTestDetail } from "../utils/type.interface";
3
+ declare const useSkillTest: () => {
4
+ currItem: ISkillTestDetail;
5
+ skillTestList: ISkillTestReponse;
6
+ isOpenModal: boolean;
7
+ openModalCreate: () => void;
8
+ getSkillTestList: () => Promise<void>;
9
+ openModalEdit: (item: ISkillTestDetail) => void;
10
+ openModalRemove: (id: number) => void;
11
+ addSkillTest: (data: ISkillTestDetail) => Promise<void>;
12
+ editSkillTest: (item: ISkillTest, data: ISkillTest) => Promise<void>;
13
+ deleteSkillTest: (id: number) => Promise<void>;
14
+ onCancelModal: () => void;
15
+ onConfirm: (value: ISkillTest) => Promise<void>;
16
+ filter: IFilter;
17
+ changeFilters: (filters: IFilter) => void;
18
+ };
19
+ export default useSkillTest;
@@ -0,0 +1,17 @@
1
+ export declare const INIT_SKILL_TEST: {
2
+ currentPage: number;
3
+ items: never[];
4
+ pageSize: number;
5
+ totalItems: number;
6
+ totalPages: number;
7
+ };
8
+ export declare const INIT_FILTER: {
9
+ currentPage: number;
10
+ pageSize: number;
11
+ };
12
+ export declare const INIT_SKILL_TEST_ITEM: {
13
+ id: number;
14
+ name: string;
15
+ description: string;
16
+ parentSkillId: number;
17
+ };
@@ -0,0 +1,7 @@
1
+ export declare type ISkillTestDetail = {
2
+ id: number;
3
+ name: string;
4
+ description?: string;
5
+ parentSkillId?: number;
6
+ };
7
+ export declare const INIT_SKILL_TEST: ISkillTestDetail;
@@ -0,0 +1,8 @@
1
+ import { ISkillTest } from "../../../utils/serviceType.interface";
2
+ import { ISkillTestDetail } from "./type.interface";
3
+ export declare const schemaDestination: import("yup/lib/object").OptionalObjectSchema<{
4
+ name: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
5
+ }, Record<string, any>, import("yup/lib/object").TypeOfShape<{
6
+ name: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
7
+ }>>;
8
+ export declare const initEditSkillTest: (skillTest: ISkillTest[], item: ISkillTestDetail) => ISkillTest;
@@ -0,0 +1,2 @@
1
+ declare const SkillTest: () => JSX.Element;
2
+ export default SkillTest;