mario-education 2.5.13-release → 2.5.14-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,5 @@
1
+ declare const DeleteIcon: ({ color, opacity }: {
2
+ color?: string | undefined;
3
+ opacity?: number | undefined;
4
+ }) => JSX.Element;
5
+ export default DeleteIcon;
@@ -0,0 +1,2 @@
1
+ declare const FrequencyAndSetupIcon: () => JSX.Element;
2
+ export default FrequencyAndSetupIcon;
@@ -0,0 +1,2 @@
1
+ declare const TeacherWellBeingIcon: () => JSX.Element;
2
+ export default TeacherWellBeingIcon;
@@ -0,0 +1,2 @@
1
+ declare const WellBeingDashboardIcon: () => JSX.Element;
2
+ export default WellBeingDashboardIcon;
@@ -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,6 @@
1
+ interface IProps {
2
+ listSort: any[];
3
+ setListSort: any;
4
+ }
5
+ declare const FrequencyModeDetail: ({ listSort, setListSort }: IProps) => JSX.Element;
6
+ export default FrequencyModeDetail;
@@ -0,0 +1,6 @@
1
+ interface IProps {
2
+ id: string;
3
+ data: any;
4
+ }
5
+ declare const SortableItem: ({ id, data }: IProps) => JSX.Element;
6
+ export default SortableItem;
@@ -0,0 +1,8 @@
1
+ interface IProps {
2
+ title: string;
3
+ description: string;
4
+ children: any;
5
+ classChild?: string;
6
+ }
7
+ declare const WrapperWellBeing: ({ title, description, children, classChild }: IProps) => JSX.Element;
8
+ export default WrapperWellBeing;
@@ -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,5 @@
1
+ import { FC } from 'react';
2
+ interface Props {
3
+ }
4
+ declare const FrequencyAndSetup: FC<Props>;
5
+ export default FrequencyAndSetup;
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ interface IProps {
3
+ }
4
+ declare const WellBeingDashboard: FC<IProps>;
5
+ export default WellBeingDashboard;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mario-education",
3
- "version": "2.05.13-release",
3
+ "version": "2.05.14-release",
4
4
  "description": "Contains education components && functions for BRSS Mario project",
5
5
  "author": "brss",
6
6
  "license": "MIT",
@@ -96,7 +96,7 @@
96
96
  "grapesjs-preset-webpage": "^0.1.11",
97
97
  "html2canvas": "^1.4.1",
98
98
  "jspdf": "^2.5.1",
99
- "mario-core": "2.10.11-release",
99
+ "mario-core": "2.10.12-release",
100
100
  "papaparse": "^5.5.2",
101
101
  "react-apexcharts": "^1.3.9",
102
102
  "react-datepicker": "^3.8.0",