mario-education 2.4.572-feedback → 2.4.574-feedback
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.
- package/dist/components/Loading/LoadLanguage.d.ts +3 -0
- package/dist/components/layouts/icons/DeleteIcon.d.ts +5 -0
- package/dist/components/layouts/icons/FrequencyAndSetupIcon.d.ts +2 -0
- package/dist/components/layouts/icons/TeacherWellBeingIcon.d.ts +2 -0
- package/dist/components/layouts/icons/WellBeingDashboardIcon.d.ts +2 -0
- package/dist/components/selector/RosterUserSelector.d.ts +8 -0
- package/dist/components/selector/TeacherSelector.d.ts +1 -1
- package/dist/containers/Dashboard/configs/utils.d.ts +1 -0
- package/dist/containers/Dashboard/hooks/useDashboard.d.ts +1 -1
- package/dist/containers/FrequencyAndSetup/components/ContactFlowInformation.d.ts +12 -0
- package/dist/containers/FrequencyAndSetup/components/FrequencyModeDetail.d.ts +6 -0
- package/dist/containers/FrequencyAndSetup/components/SortableItem.d.ts +6 -0
- package/dist/containers/FrequencyAndSetup/components/WrapperWellBeing.d.ts +8 -0
- package/dist/containers/FrequencyAndSetup/configs/constants.d.ts +17 -0
- package/dist/containers/FrequencyAndSetup/configs/type.d.ts +15 -0
- package/dist/containers/FrequencyAndSetup/hooks/useFrequencyAndSetup.d.ts +23 -0
- package/dist/containers/FrequencyAndSetup/views/FrequencyAndSetup.d.ts +5 -0
- package/dist/containers/WellBeingDashboard/views/WellBeingDashboard.d.ts +5 -0
- package/dist/hooks/useRosterUserSelector.d.ts +8 -0
- package/dist/index.css +14902 -14892
- package/dist/index.js +1371 -986
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1357 -972
- package/dist/index.modern.js.map +1 -1
- package/dist/services/userService.d.ts +3 -0
- package/dist/types/types.d.ts +15 -0
- package/package.json +110 -110
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const TeacherSelector: ({ isShowDropDownIcon, classes, setSelectTeacherUserId }: any) => JSX.Element;
|
|
1
|
+
declare const TeacherSelector: ({ isShowDropDownIcon, classes, setSelectTeacherUserId, setSelected }: any) => JSX.Element;
|
|
2
2
|
export default TeacherSelector;
|
|
@@ -141,4 +141,5 @@ declare type PropertySelector<T> = (item: T) => any;
|
|
|
141
141
|
export declare const customSortBy: <T>(array: T[], selector: PropertySelector<T>) => T[];
|
|
142
142
|
export declare const formatLowMetricLabels: (labels: string[]) => string;
|
|
143
143
|
export declare const getDescriptionFromPercent: (percent: number, descriptions: any[], isStress?: boolean) => any;
|
|
144
|
+
export declare const getUniqueSortedGrades: (students: any) => unknown[];
|
|
144
145
|
export {};
|
|
@@ -88,6 +88,6 @@ declare const useDashboard: () => {
|
|
|
88
88
|
setOptionDate: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
89
89
|
stressValue: number[];
|
|
90
90
|
conversationKpi: IConversationKpi;
|
|
91
|
-
setSelectTeacherUserId: (
|
|
91
|
+
setSelectTeacherUserId: (value: any) => Promise<void>;
|
|
92
92
|
};
|
|
93
93
|
export default useDashboard;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ContactFlow } from '../configs/type';
|
|
2
|
+
interface IProps {
|
|
3
|
+
listContactFlow: ContactFlow[];
|
|
4
|
+
handleAddContactFlow: Function;
|
|
5
|
+
handleDeleteContactFlow: any;
|
|
6
|
+
handleChangeValueContact: Function;
|
|
7
|
+
contactIdToDeleteRef: any;
|
|
8
|
+
openModalDelete: boolean;
|
|
9
|
+
setOpenModalDelete: Function;
|
|
10
|
+
}
|
|
11
|
+
declare const ContactFlowInformation: ({ listContactFlow, handleAddContactFlow, handleDeleteContactFlow, handleChangeValueContact, contactIdToDeleteRef, openModalDelete, setOpenModalDelete }: IProps) => JSX.Element;
|
|
12
|
+
export default ContactFlowInformation;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ContactFlow, Frequency_Mode, Frequency_Setting } from "./type";
|
|
2
|
+
export declare const FrequencyMode: {
|
|
3
|
+
value: Frequency_Mode;
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
}[];
|
|
7
|
+
export declare const FrequencySetting: {
|
|
8
|
+
value: Frequency_Setting;
|
|
9
|
+
title: string;
|
|
10
|
+
}[];
|
|
11
|
+
export declare const listSortCheckIn: {
|
|
12
|
+
icon: string;
|
|
13
|
+
label: string;
|
|
14
|
+
value: string;
|
|
15
|
+
order: number;
|
|
16
|
+
}[];
|
|
17
|
+
export declare const InitialContactFlow: ContactFlow;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare enum Frequency_Mode {
|
|
2
|
+
Bulk = 0,
|
|
3
|
+
Detailed = 1
|
|
4
|
+
}
|
|
5
|
+
export declare enum Frequency_Setting {
|
|
6
|
+
Weekly = 0,
|
|
7
|
+
Monthly = 1,
|
|
8
|
+
Custom = 2
|
|
9
|
+
}
|
|
10
|
+
export interface ContactFlow {
|
|
11
|
+
id: number;
|
|
12
|
+
specialContactName: string;
|
|
13
|
+
contactRole: string;
|
|
14
|
+
contactEmail: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ContactFlow, Frequency_Mode, Frequency_Setting } from '../configs/type';
|
|
3
|
+
declare const useFrequencyAndSetup: () => {
|
|
4
|
+
frequencyMode: Frequency_Mode;
|
|
5
|
+
setFrequencyMode: import("react").Dispatch<import("react").SetStateAction<Frequency_Mode>>;
|
|
6
|
+
frequencySetting: Frequency_Setting;
|
|
7
|
+
setFrequencySetting: import("react").Dispatch<import("react").SetStateAction<Frequency_Setting>>;
|
|
8
|
+
listSort: any[];
|
|
9
|
+
setListSort: import("react").Dispatch<import("react").SetStateAction<any[]>>;
|
|
10
|
+
valueSettingCustom: number;
|
|
11
|
+
setValueSettingCustom: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
12
|
+
switchContactFlow: boolean;
|
|
13
|
+
setSwitchContactFlow: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
14
|
+
listContactFlow: ContactFlow[];
|
|
15
|
+
setListContactFlow: import("react").Dispatch<import("react").SetStateAction<ContactFlow[]>>;
|
|
16
|
+
handleAddContactFlow: () => void;
|
|
17
|
+
handleDeleteContactFlow: (id: number) => void;
|
|
18
|
+
handleChangeValueContact: (id: number, key: string, value: string) => void;
|
|
19
|
+
contactIdToDeleteRef: import("react").MutableRefObject<number>;
|
|
20
|
+
openModalDelete: boolean;
|
|
21
|
+
setOpenModalDelete: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
22
|
+
};
|
|
23
|
+
export default useFrequencyAndSetup;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Option } from "../types/types";
|
|
2
|
+
declare const useRosterUserSelector: (roles: string[], value?: string | undefined) => {
|
|
3
|
+
users: Option[];
|
|
4
|
+
isLoading: boolean;
|
|
5
|
+
user: Option | undefined;
|
|
6
|
+
handleInputChange: (value: string) => void;
|
|
7
|
+
};
|
|
8
|
+
export default useRosterUserSelector;
|