mario-teacher-student-client 3.0.3-admin → 3.0.5-admin

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 (81) hide show
  1. package/dist/containers/MyStudent/components/NewOverview/Chat/ApiClient/{Conference.d.ts → conference.d.ts} +0 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.modern.js.map +1 -1
  5. package/package.json +107 -107
  6. package/dist/components/Button/SwitchComponent.d.ts +0 -9
  7. package/dist/components/Tabs/CustomTabNote.d.ts +0 -3
  8. package/dist/containers/ConductSurvey/components/ConductTop/ConductTop.d.ts +0 -17
  9. package/dist/containers/ConductSurvey/hooks/useConductOne.d.ts +0 -21
  10. package/dist/containers/ConductSurvey/hooks/useCountDown.d.ts +0 -8
  11. package/dist/containers/ConductSurvey/hooks/useIsMounted.d.ts +0 -2
  12. package/dist/containers/ConductSurvey/views/SessionResultComponent.d.ts +0 -3
  13. package/dist/containers/ExternalSurvey/components/IBLearnerComponent.d.ts +0 -12
  14. package/dist/containers/ExternalSurvey/hooks/useConductSurvey.d.ts +0 -21
  15. package/dist/containers/GoalPage/apiClient/apiGoals.d.ts +0 -6
  16. package/dist/containers/GoalPage/components/CardGoalItem.d.ts +0 -3
  17. package/dist/containers/GoalPage/components/CardItem/CardGoalItem.d.ts +0 -4
  18. package/dist/containers/GoalPage/components/CardItem/StatusTargetComponent.d.ts +0 -4
  19. package/dist/containers/GoalPage/components/CardItem/TargetItem.d.ts +0 -4
  20. package/dist/containers/GoalPage/components/CreateGoalModel.d.ts +0 -4
  21. package/dist/containers/GoalPage/components/CustomInputDatePicker.d.ts +0 -4
  22. package/dist/containers/GoalPage/components/FilterGoalPage.d.ts +0 -3
  23. package/dist/containers/GoalPage/components/Steps/BaseLine.d.ts +0 -4
  24. package/dist/containers/GoalPage/components/Steps/ChooseArea.d.ts +0 -4
  25. package/dist/containers/GoalPage/components/Steps/DetailFormCreate.d.ts +0 -4
  26. package/dist/containers/GoalPage/components/Steps/ModelPickTarget.d.ts +0 -4
  27. package/dist/containers/GoalPage/components/Steps/ModelSelectCategory.d.ts +0 -4
  28. package/dist/containers/GoalPage/constants/constants.d.ts +0 -205
  29. package/dist/containers/GoalPage/hook/useGoals.d.ts +0 -19
  30. package/dist/containers/GoalPage/services/goalService.d.ts +0 -3
  31. package/dist/containers/GoalPage/styles/makeStyles.d.ts +0 -1
  32. package/dist/containers/GoalPage/types/types.d.ts +0 -71
  33. package/dist/containers/GoalPage/views/MyGoals.d.ts +0 -3
  34. package/dist/containers/Home/components/mutipleSelectBox/mutipleSelectBox.d.ts +0 -8
  35. package/dist/containers/LearningStrategies/hook/useEditaLearningStrategies.d.ts +0 -5
  36. package/dist/containers/MyConferences/components/Tabs/CustomTabNote.d.ts +0 -3
  37. package/dist/containers/MyConferences/components/dialog/DialogNodes.d.ts +0 -3
  38. package/dist/containers/MyOneToOne/components/dialog/DialogNodes.d.ts +0 -3
  39. package/dist/containers/MyStudent/components/ClassReflectionTable.d.ts +0 -3
  40. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/hooks/useChartConference.d.ts +0 -19
  41. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/services/ConferenceChart.d.ts +0 -1
  42. package/dist/containers/MyStudent/components/NewOverview/TopLearningStrategies/view/ConferenceChart.d.ts +0 -6
  43. package/dist/containers/MyStudent/hooks/useOverviewToPDF.d.ts +0 -7
  44. package/dist/containers/MySurvey/styles/makeStyles.d.ts +0 -2
  45. package/dist/containers/MySurvey/views/MySurvey.d.ts +0 -3
  46. package/dist/containers/ScaffoldingExample/components/OneToOne.d.ts +0 -3
  47. package/dist/containers/ScaffoldingExample/components/PicChat.d.ts +0 -2
  48. package/dist/containers/ScaffoldingExample/components/RightPicChatScreenFour.d.ts +0 -8
  49. package/dist/containers/ScaffoldingExample/components/RightPicChatScreenOne.d.ts +0 -8
  50. package/dist/containers/ScaffoldingExample/components/RightPicChatScreenThree.d.ts +0 -8
  51. package/dist/containers/ScaffoldingExample/components/RightPicChatScreenTwo.d.ts +0 -8
  52. package/dist/containers/ScaffoldingExample/components/ScaffoldingFloatTab/MineNotes/views/ScaffoldingNote.d.ts +0 -10
  53. package/dist/containers/ScaffoldingExample/components/ScreenTab.d.ts +0 -3
  54. package/dist/containers/ScaffoldingExample/components/SliderRange.d.ts +0 -2
  55. package/dist/containers/ScaffoldingExample/components/TeacherView/PrivateNotes/view/PrivateNote.d.ts +0 -3
  56. package/dist/containers/ScaffoldingExample/components/TeacherView/StudentNotes/view/StudentNote.d.ts +0 -3
  57. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/hooks/useTeacherNotes.d.ts +0 -23
  58. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/services/index.d.ts +0 -12
  59. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingFirstScreen.d.ts +0 -12
  60. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingQuestionAndAnswer.d.ts +0 -12
  61. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/ScaffoldingSecondScreen.d.ts +0 -3
  62. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherNotes/views/TeacherScreen.d.ts +0 -7
  63. package/dist/containers/ScaffoldingExample/components/TeacherView/TeacherTab.d.ts +0 -8
  64. package/dist/containers/SettingPageV1/contants/contants.d.ts +0 -19
  65. package/dist/containers/SettingPageV1/contants/type.d.ts +0 -17
  66. package/dist/containers/StageDebug/hooks/useStageDebug.d.ts +0 -4
  67. package/dist/containers/StageDebug/views/StageDebugPage.d.ts +0 -3
  68. package/dist/containers/Surveys/apiClient/survey.d.ts +0 -2
  69. package/dist/containers/Surveys/components/ChartOverview/BarChart.d.ts +0 -9
  70. package/dist/containers/Surveys/components/SurveyDetail.d.ts +0 -3
  71. package/dist/containers/Surveys/components/SurveyStudentCompleted.d.ts +0 -3
  72. package/dist/containers/Surveys/components/SurveyStudentMissed.d.ts +0 -3
  73. package/dist/containers/Surveys/components/SurveyStudentPending.d.ts +0 -3
  74. package/dist/containers/Surveys/hook/useActionNeededSurvey.d.ts +0 -9
  75. package/dist/containers/Surveys/hook/useAllSurvey.d.ts +0 -10
  76. package/dist/containers/Surveys/hook/usePendingSurvey.d.ts +0 -10
  77. package/dist/containers/Surveys/hook/useRepliedSurvey.d.ts +0 -9
  78. package/dist/containers/Surveys/views/ViewSurveyStudent.d.ts +0 -3
  79. package/dist/hooks/useUploadFile.d.ts +0 -4
  80. package/dist/services/File.d.ts +0 -1
  81. package/dist/utils/function.d.ts +0 -1
package/package.json CHANGED
@@ -1,107 +1,107 @@
1
- {
2
- "name": "mario-teacher-student-client",
3
- "version": "3.0.3-admin",
4
- "description": "Made with create-react-library",
5
- "author": "brss",
6
- "license": "MIT",
7
- "repository": "brss/mario-chat",
8
- "main": "dist/index.js",
9
- "module": "dist/index.modern.js",
10
- "source": "src/index.tsx",
11
- "engines": {
12
- "node": ">=10"
13
- },
14
- "scripts": {
15
- "build": "microbundle-crl --no-compress --format modern,cjs",
16
- "start": "microbundle-crl watch --no-compress --format modern,cjs",
17
- "prepare": "run-s build",
18
- "test": "run-s test:unit test:lint test:build",
19
- "test:build": "run-s build",
20
- "test:lint": "eslint .",
21
- "test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
22
- "test:watch": "react-scripts test --env=jsdom",
23
- "predeploy": "cd example && npm install && npm run build",
24
- "deploy": "gh-pages -d example/build"
25
- },
26
- "peerDependencies": {
27
- "axios": "*",
28
- "react": "*",
29
- "react-dom": "*",
30
- "react-redux": "*",
31
- "react-router-dom": "*"
32
- },
33
- "devDependencies": {
34
- "@rollup/plugin-commonjs": "11.0.2",
35
- "@testing-library/jest-dom": "^4.2.4",
36
- "@testing-library/react": "^9.5.0",
37
- "@testing-library/user-event": "^7.2.1",
38
- "@types/dom-mediacapture-record": "^1.0.7",
39
- "@types/jest": "^25.1.4",
40
- "@types/node": "^12.12.38",
41
- "@types/react-datepicker": "^4.3.4",
42
- "@types/react-redux": "^7.1.16",
43
- "@types/react-router-dom": "^5.1.7",
44
- "@types/yup": "^0.29.11",
45
- "@typescript-eslint/eslint-plugin": "^2.26.0",
46
- "@typescript-eslint/parser": "^2.26.0",
47
- "babel-eslint": "^10.0.3",
48
- "cross-env": "^7.0.2",
49
- "eslint": "^6.8.0",
50
- "eslint-config-prettier": "^6.7.0",
51
- "eslint-config-standard": "^14.1.0",
52
- "eslint-config-standard-react": "^9.2.0",
53
- "eslint-plugin-import": "^2.18.2",
54
- "eslint-plugin-node": "^11.0.0",
55
- "eslint-plugin-prettier": "^3.1.1",
56
- "eslint-plugin-promise": "^4.2.1",
57
- "eslint-plugin-react": "^7.17.0",
58
- "eslint-plugin-standard": "^4.0.1",
59
- "gh-pages": "^2.2.0",
60
- "microbundle-crl": "^0.13.10",
61
- "npm-run-all": "^4.1.5",
62
- "prettier": "^2.0.4",
63
- "react-scripts": "^3.4.1",
64
- "typescript": "^3.7.5"
65
- },
66
- "files": [
67
- "dist"
68
- ],
69
- "dependencies": {
70
- "@date-io/date-fns": "^1.3.13",
71
- "@date-io/moment": "^1.3.13",
72
- "@emotion/react": "^11.6.0",
73
- "@emotion/styled": "^11.6.0",
74
- "@fullcalendar/daygrid": "^5.10.1",
75
- "@fullcalendar/moment": "^5.10.1",
76
- "@fullcalendar/react": "^5.10.1",
77
- "@fullcalendar/timegrid": "^5.10.1",
78
- "@material-ui/core": "^4.12.3",
79
- "@material-ui/data-grid": "^4.0.0-alpha.37",
80
- "@material-ui/icons": "^4.11.2",
81
- "@material-ui/lab": "^4.0.0-alpha.60",
82
- "@material-ui/pickers": "^3.2.8",
83
- "@types/chart.js": "^2.9.35",
84
- "@types/react": "^17.0.35",
85
- "@types/react-dom": "^17.0.11",
86
- "apexcharts": "^3.33.1",
87
- "array-move": "^4.0.0",
88
- "chart.js": "^2.9.4",
89
- "date-fns": "^2.19.0",
90
- "formik": "^2.2.6",
91
- "fullcalendar": "^5.10.1",
92
- "jspdf": "^2.5.0",
93
- "lodash": "^4.17.21",
94
- "mario-chat": "^1.7.9",
95
- "mario-core": "^3.0.1-admin",
96
- "material-ui": "^0.20.2",
97
- "moment": "^2.29.1",
98
- "node-sass": "^5.0.0",
99
- "pusher-js": "^7.0.3",
100
- "react-apexcharts": "^1.3.9",
101
- "react-datepicker": "^4.5.0",
102
- "react-draggable": "^4.4.4",
103
- "react-select": "^5.2.1",
104
- "react-smooth-dnd": "^0.11.1",
105
- "yup": "^0.32.9"
106
- }
107
- }
1
+ {
2
+ "name": "mario-teacher-student-client",
3
+ "version": "3.0.5-admin",
4
+ "description": "Made with create-react-library",
5
+ "author": "brss",
6
+ "license": "MIT",
7
+ "repository": "brss/mario-chat",
8
+ "main": "dist/index.js",
9
+ "module": "dist/index.modern.js",
10
+ "source": "src/index.tsx",
11
+ "engines": {
12
+ "node": ">=10"
13
+ },
14
+ "scripts": {
15
+ "build": "microbundle-crl --no-compress --format modern,cjs",
16
+ "start": "microbundle-crl watch --no-compress --format modern,cjs",
17
+ "prepare": "run-s build",
18
+ "test": "run-s test:unit test:lint test:build",
19
+ "test:build": "run-s build",
20
+ "test:lint": "eslint .",
21
+ "test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
22
+ "test:watch": "react-scripts test --env=jsdom",
23
+ "predeploy": "cd example && npm install && npm run build",
24
+ "deploy": "gh-pages -d example/build"
25
+ },
26
+ "peerDependencies": {
27
+ "axios": "*",
28
+ "react": "*",
29
+ "react-dom": "*",
30
+ "react-redux": "*",
31
+ "react-router-dom": "*"
32
+ },
33
+ "devDependencies": {
34
+ "@rollup/plugin-commonjs": "11.0.2",
35
+ "@testing-library/jest-dom": "^4.2.4",
36
+ "@testing-library/react": "^9.5.0",
37
+ "@testing-library/user-event": "^7.2.1",
38
+ "@types/dom-mediacapture-record": "^1.0.7",
39
+ "@types/jest": "^25.1.4",
40
+ "@types/node": "^12.12.38",
41
+ "@types/react-datepicker": "^4.3.4",
42
+ "@types/react-redux": "^7.1.16",
43
+ "@types/react-router-dom": "^5.1.7",
44
+ "@types/yup": "^0.29.11",
45
+ "@typescript-eslint/eslint-plugin": "^2.26.0",
46
+ "@typescript-eslint/parser": "^2.26.0",
47
+ "babel-eslint": "^10.0.3",
48
+ "cross-env": "^7.0.2",
49
+ "eslint": "^6.8.0",
50
+ "eslint-config-prettier": "^6.7.0",
51
+ "eslint-config-standard": "^14.1.0",
52
+ "eslint-config-standard-react": "^9.2.0",
53
+ "eslint-plugin-import": "^2.18.2",
54
+ "eslint-plugin-node": "^11.0.0",
55
+ "eslint-plugin-prettier": "^3.1.1",
56
+ "eslint-plugin-promise": "^4.2.1",
57
+ "eslint-plugin-react": "^7.17.0",
58
+ "eslint-plugin-standard": "^4.0.1",
59
+ "gh-pages": "^2.2.0",
60
+ "microbundle-crl": "^0.13.10",
61
+ "npm-run-all": "^4.1.5",
62
+ "prettier": "^2.0.4",
63
+ "react-scripts": "^3.4.1",
64
+ "typescript": "^3.7.5"
65
+ },
66
+ "files": [
67
+ "dist"
68
+ ],
69
+ "dependencies": {
70
+ "@date-io/date-fns": "^1.3.13",
71
+ "@date-io/moment": "^1.3.13",
72
+ "@emotion/react": "^11.6.0",
73
+ "@emotion/styled": "^11.6.0",
74
+ "@fullcalendar/daygrid": "^5.10.1",
75
+ "@fullcalendar/moment": "^5.10.1",
76
+ "@fullcalendar/react": "^5.10.1",
77
+ "@fullcalendar/timegrid": "^5.10.1",
78
+ "@material-ui/core": "^4.12.3",
79
+ "@material-ui/data-grid": "^4.0.0-alpha.37",
80
+ "@material-ui/icons": "^4.11.2",
81
+ "@material-ui/lab": "^4.0.0-alpha.60",
82
+ "@material-ui/pickers": "^3.2.8",
83
+ "@types/chart.js": "^2.9.35",
84
+ "@types/react": "^17.0.35",
85
+ "@types/react-dom": "^17.0.11",
86
+ "apexcharts": "^3.33.1",
87
+ "array-move": "^4.0.0",
88
+ "chart.js": "^2.9.4",
89
+ "date-fns": "^2.19.0",
90
+ "formik": "^2.2.6",
91
+ "fullcalendar": "^5.10.1",
92
+ "jspdf": "^2.5.0",
93
+ "lodash": "^4.17.21",
94
+ "mario-chat": "^1.7.9",
95
+ "mario-core": "^3.0.2-admin",
96
+ "material-ui": "^0.20.2",
97
+ "moment": "^2.29.1",
98
+ "node-sass": "^5.0.0",
99
+ "pusher-js": "^7.0.3",
100
+ "react-apexcharts": "^1.3.9",
101
+ "react-datepicker": "^4.5.0",
102
+ "react-draggable": "^4.4.4",
103
+ "react-select": "^5.2.1",
104
+ "react-smooth-dnd": "^0.11.1",
105
+ "yup": "^0.32.9"
106
+ }
107
+ }
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- interface IProps {
3
- title: string;
4
- value: boolean;
5
- onChange: Function;
6
- name: string;
7
- }
8
- declare const SwitchComponent: ({ title, value, onChange, name }: IProps) => JSX.Element;
9
- export default SwitchComponent;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const CustomTabNote: (props: any) => JSX.Element;
3
- export default CustomTabNote;
@@ -1,17 +0,0 @@
1
- import { FC } from "react";
2
- interface Props {
3
- name: string;
4
- imageUrl: string;
5
- isResultSession?: boolean;
6
- lengthSession?: string;
7
- startTime?: string;
8
- createdByTeacher?: boolean;
9
- gradeLevel?: string;
10
- informationUser?: any;
11
- clickOpenProfileDialog?: any;
12
- isConference?: boolean;
13
- sessionType?: string;
14
- classFontSize?: string;
15
- }
16
- declare const ConductTop: FC<Props>;
17
- export default ConductTop;
@@ -1,21 +0,0 @@
1
- /// <reference types="react" />
2
- declare const useConductOne: () => {
3
- currentUser: any;
4
- isTeacher: any;
5
- isStudent: any;
6
- listQuestionTeachers: any;
7
- listQuestionStudents: any;
8
- updateQuestionAnswer: (questionId: number, text: string) => void;
9
- fnfinishSession: (cb: any) => Promise<void>;
10
- surveyId: string;
11
- surveyResultId: number;
12
- startTime: string;
13
- informationUser: any;
14
- category: string;
15
- setCategory: import("react").Dispatch<import("react").SetStateAction<string>>;
16
- classFontSize: string;
17
- isStudentChangeAfter: boolean;
18
- isUserChangeSession: boolean;
19
- setIsUserChangeSession: import("react").Dispatch<import("react").SetStateAction<boolean>>;
20
- };
21
- export default useConductOne;
@@ -1,8 +0,0 @@
1
- import { TypeTime } from "../constant/types";
2
- declare const useCountDown: (typeTime: TypeTime, sessionResultId: number, isUserChangeSession: boolean, isTeacherSessionDone: boolean) => {
3
- hour: number;
4
- minute: number;
5
- second: number;
6
- clearTimer: () => void;
7
- };
8
- export default useCountDown;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function useIsMounted(): import("react").MutableRefObject<boolean>;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const SessionResultComponent: FC;
3
- export default SessionResultComponent;
@@ -1,12 +0,0 @@
1
- import { FC } from "react";
2
- import { LearningStrategyType } from "../constant/types";
3
- interface Props {
4
- listLearningStrategory: LearningStrategyType[];
5
- questionId?: number;
6
- onChangeQuestionAnswer?: Function;
7
- valueText?: string;
8
- isResultPage?: boolean;
9
- isUserChangeConference?: boolean;
10
- }
11
- declare const IBLearnerComponent: FC<Props>;
12
- export default IBLearnerComponent;
@@ -1,21 +0,0 @@
1
- /// <reference types="react" />
2
- declare const useConductSurvey: () => {
3
- listQuestionTeachers: any;
4
- listQuestionStudents: any;
5
- updateQuestionAnswer: (questionId: number, text: string, isAdditional?: boolean | undefined) => void;
6
- fnfinishSurvey: (cb: any) => Promise<void>;
7
- informationUser: any;
8
- category: string;
9
- setCategory: import("react").Dispatch<import("react").SetStateAction<string>>;
10
- classFontSize: string;
11
- isStudentChangeAfter: boolean;
12
- isUserChangeSession: boolean;
13
- setIsUserChangeSession: import("react").Dispatch<import("react").SetStateAction<boolean>>;
14
- listAdditionalQuestionAnswer: any;
15
- questionSummarize: any;
16
- setQuestionSummarize: import("react").Dispatch<any>;
17
- updateAnswerIBLearner: (_answer: string) => Promise<void>;
18
- questionIBLearner: string;
19
- setQuestionIBLearner: import("react").Dispatch<import("react").SetStateAction<string>>;
20
- };
21
- export default useConductSurvey;
@@ -1,6 +0,0 @@
1
- import { IGoal, ITarget } from "../types/types";
2
- export declare const createItem: (data: IGoal) => Promise<import("axios").AxiosResponse<any>>;
3
- export declare const getAllItem: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
4
- export declare const createCheckpoint: (id: number, studentId: number, data: ITarget[]) => Promise<import("axios").AxiosResponse<any>>;
5
- export declare const getOneItem: (goalId: number) => Promise<import("axios").AxiosResponse<any>>;
6
- export declare const updateItem: (id: number, studentId: number, data: IGoal) => Promise<import("axios").AxiosResponse<any>>;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const CardGoalItem: () => JSX.Element;
3
- export default CardGoalItem;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { IGoalItem } from "../../types/types";
3
- declare const CardGoalItem: ({ item, onGetDataOfGoal }: IGoalItem) => JSX.Element;
4
- export default CardGoalItem;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { IStatusProps } from "../../types/types";
3
- declare const StatusTargetComponent: ({ status }: IStatusProps) => JSX.Element;
4
- export default StatusTargetComponent;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { ITargetProps } from "../../types/types";
3
- declare const TargetItem: ({ target, index }: ITargetProps) => JSX.Element;
4
- export default TargetItem;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { IPropModelCreate } from "../types/types";
3
- declare const CreateGoalModel: ({ open, onToggleModel, activeStep, handleChangeStep, goalFormCreate, handleChangeValueForm, handleReturnCategoryOptions, handleReturnNameOptions, handleReturnDetailOptions, handleReturnTargetOptions, handleRemoveTarget, handleCreateGoal }: IPropModelCreate) => JSX.Element;
4
- export default CreateGoalModel;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { ICustomInputDatePicker } from "../types/types";
3
- declare const CustomInputDatePicker: ({ value, onClick, placeholder }: ICustomInputDatePicker) => JSX.Element;
4
- export default CustomInputDatePicker;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const FilterGoalPage: () => JSX.Element;
3
- export default FilterGoalPage;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { IBaseLineModel } from "../../types/types";
3
- declare const BaseLine: ({ onCreateGoal, valueBaseLine, onChangeValueForm }: IBaseLineModel) => JSX.Element;
4
- export default BaseLine;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { IChooseArea } from "../../types/types";
3
- declare const ChooseArea: ({ onChangeStep, onReturnNameOptions, onChangeValueForm, valueName }: IChooseArea) => JSX.Element;
4
- export default ChooseArea;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { IDetailFormCreate } from "../../types/types";
3
- declare const DetailFormCreate: ({ onChangeStep, onReturnDetailOptions, valueDetail, onChangeValueForm }: IDetailFormCreate) => JSX.Element;
4
- export default DetailFormCreate;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { IPickTarget } from "../../types/types";
3
- declare const ModelPickTarget: ({ onChangeStep, onReturnTargetOptions, valueTargetOptions, onChangeValueForm, onRemoveTarget }: IPickTarget) => JSX.Element;
4
- export default ModelPickTarget;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { ISelectCategory } from "../../types/types";
3
- declare const ModelSelectCategory: ({ onChangeStep, valueCategory, onChangeValueForm, onReturnCategoryOptions }: ISelectCategory) => JSX.Element;
4
- export default ModelSelectCategory;
@@ -1,205 +0,0 @@
1
- export declare const initialTarget: {
2
- text: string;
3
- description: string;
4
- status: string;
5
- signatureCheckpoints: never[];
6
- time: null;
7
- endTime: null;
8
- };
9
- export declare const initialGoalModel: {
10
- name: string;
11
- detail: string;
12
- status: string;
13
- source: string;
14
- baseLineChecked: string;
15
- category: string;
16
- checkPoints: {
17
- text: string;
18
- description: string;
19
- status: string;
20
- signatureCheckpoints: never[];
21
- time: null;
22
- endTime: null;
23
- }[];
24
- };
25
- export declare const optionStatusTarget: string[];
26
- export declare const optionSelect: {
27
- "Well-being": {
28
- "Improve my sleeping habits": {
29
- "I will create a sleep routine.": string[];
30
- "I will go to bed on time.": string[];
31
- "I will wake up on time.": string[];
32
- "I will set an alarm to remind me to get ready for sleep 1 hour before bedtime.": string[];
33
- "I will set a morning alarm that gives me plenty of time to get ready for school.": string[];
34
- "I will get out of bed at the same time each day.": string[];
35
- "I will only press snooze one time each morning": string[];
36
- "I will put my electronics away 1 hour before it is time for me to sleep.": string[];
37
- "I will read for 20 minutes before bed.": string[];
38
- "I will meditate or listen to relaxing music before going to sleep.": string[];
39
- "I will set my phone to focus or do not disturb mode for an hour before bedtime and until my morning alarm.": string[];
40
- "I will create a morning routine to be ready for the day.": string[];
41
- "I will create an evening routine to get me ready for bed.": string[];
42
- "I will get at least 8 hours of sleep each night.": string[];
43
- };
44
- "Cope with stressful situations": {
45
- "I will practice meditation.": string[];
46
- "I will start an exercise routine.": string[];
47
- "I will understand the cause of my stress.": string[];
48
- "I will learn about coping skills.": string[];
49
- "I will start journaling my thoughts and feelings.": string[];
50
- "I will get outside or in nature.": string[];
51
- "I will make time for something fun.": string[];
52
- "I will make time for being still and quiet.": string[];
53
- };
54
- "Increase my mindfulness": {
55
- "I will practice meditation.": string[];
56
- "I will start journaling my thoughts and feelings.": string[];
57
- "I will get outside or in nature.": string[];
58
- "I will take minibreaks throughout the day.": string[];
59
- };
60
- "Create relaxation opportunities": {
61
- "I will use visualization to help me relax.": string[];
62
- "I will do deep breathing exercises.": string[];
63
- "I will practice meditation.": string[];
64
- "I will listen to relaxing music.": string[];
65
- "I will practice yoga.": string[];
66
- "I will do an art project that is enjoyable.": string[];
67
- };
68
- "Keeping fit": {
69
- "I will exercise more.": string[];
70
- "I will join a sports team or club.": string[];
71
- "I will learn a new sport or activity.": string[];
72
- "I will choose a challenge to complete (ex. 100 pushups program)": string[];
73
- "I will sign up for a race.": string[];
74
- "I will create an at-home exercise routine.": string[];
75
- "I will join and go to a gym.": string[];
76
- };
77
- "Eating healthier": {
78
- "I will add more fruits and veggies into my diet.": never[];
79
- "I will swap x for x when I go out to eat.": never[];
80
- "I will limit my sugary drinks.": never[];
81
- "I will drink more water.": string[];
82
- "I will learn to cook simple meals.": string[];
83
- };
84
- "Improve my timekeeping (not late for school/class)": {
85
- "I will add buffer time to my schedule in the morning to make sure I get to school on time.": never[];
86
- "I will set alarms or calendar alert on my phone to remind me to go to my next class.": never[];
87
- "I will set an alarm to tell me 5 minutes before I need to leave for school.": never[];
88
- "I will put my school schedule in a planner or on my phone.": never[];
89
- };
90
- "Making friends": {
91
- "I will join a club or sports team.": string[];
92
- "I will find someone with a common interest.": never[];
93
- "I will ask someone to hang out outside of school.": never[];
94
- "I will attend events or parties I'm invited to.": never[];
95
- "I will eat lunch with someone I want to get to know better.": never[];
96
- "I will learn some good questions to ask others to get to know them.": never[];
97
- "I will learn how to engage in conversation more.": never[];
98
- "I will think about what I want in a friend.": never[];
99
- "I will think about what it means to be a good friend.": string[];
100
- };
101
- "Joining a club/sport": {
102
- "I will choose a club to join.": string[];
103
- "I will choose a sport to try out for.": string[];
104
- };
105
- "Learning a new activity": {
106
- "I will choose a new activity to learn.": string[];
107
- };
108
- };
109
- Academics: {
110
- "Improve homework": {
111
- "I will turn in my homework on-time.": never[];
112
- "I will turn in high-quality homework.": never[];
113
- };
114
- "Work on longterm assignments (planned and making progress)": {
115
- "I will set up a study/work plan for long term projects": never[];
116
- };
117
- "Studying for tests (routines and effective study strategies)": {
118
- "I will set up a study/work plan for tests": never[];
119
- };
120
- "Make notes in class (high quality, organised)": {
121
- "I will take notes (digital/paper)in class and organise them in a folder/notebook for each of my core/key classes.": never[];
122
- "I will research note-taking methods": never[];
123
- };
124
- "Improve grade in x subject by x amount": {
125
- "I will review material from class an additional (on top of/as well as/ not including homelearning)": never[];
126
- "Study x amount of time on x subject x times/hours a week": never[];
127
- "Finish work early and check against instructions/rubric then edit": never[];
128
- };
129
- "Improve the quality/grades of homelearning assignments": {
130
- "Finish work early and check against instructions/rubric then edit": never[];
131
- };
132
- };
133
- Organization: {
134
- "Create a regular study/homework schedule": {
135
- "I will create a schedule for my week detailing study days, times and how long I will study by x date.": never[];
136
- };
137
- "Improve email, Google drive, calendar, or planner organization": {
138
- "I will check my inbox/unread emails at least x times a week and reply if necessary.": never[];
139
- "I will create folders/labels and organise emails into the correct ones.": never[];
140
- "I will create folders for each subject and organsie docs into the correct folders.": never[];
141
- };
142
- "Create reminders or calendar events for important events/deadlines/study times": {
143
- "I will create reminders or calendar events for my most important events/deadlines or study sessions immediately or as soon as I can.": never[];
144
- };
145
- "Create a longterm assignment planner": {
146
- "I will create a schedule for my week detailing study days, times and how long I will study by x date.": string[];
147
- };
148
- "Improve my todo list habits": {
149
- "I will add tasks to my todo list immidietly or as soon as I can and review it 3 times a week": never[];
150
- };
151
- "Work on longterm assignments (planned and making progress)": {
152
- "I will create a schedule for longterm assihnments detailing study days, times and how long I will study by x date.": never[];
153
- };
154
- };
155
- Focus: {
156
- "I will take notes (digital/paper)in class and organise them in a folder/notebook for all my classes.": {
157
- "Keep devices off, on silent, or put away in class": never[];
158
- };
159
- "Keep devices off, on silent, or put away": {
160
- "Keep devices off, on silent, or put away during study time": string[];
161
- "Set a schedule on my phone on focus or do not disturb during class times": never[];
162
- "Set a schedule on my phone on focus or do not disturb during planned study times": never[];
163
- };
164
- "Reduce or limit time spent on social media": {
165
- "I will set up time limits on my apps or websites.": never[];
166
- "I will set a timer when I am taking a break on social media.": never[];
167
- };
168
- "Increase engagement in class": {
169
- "Avoid distracting websites/other tasks in class": never[];
170
- "I will pay attention to the instructions in class.": never[];
171
- "I will actively participate in class more.": never[];
172
- "I will participate more in class activities.": never[];
173
- "I will ask questions in class related to the topic to improve my understanding/learning.": never[];
174
- "I will volunteer to answer questions in class more.": never[];
175
- };
176
- "Avoid distracting websites": {
177
- "I will set up time limits for distracting website via a chrome extension.": never[];
178
- "I will close all tabs not related to my task.": never[];
179
- };
180
- };
181
- "Self-advocacy": {
182
- "Getting help when needed": {
183
- "I will meet with my teacher outside of class when I need help": never[];
184
- "I will email my teacher when I need help": never[];
185
- "I will ask questions in class when I do not know what to do": never[];
186
- };
187
- "Understanding my accommodations": {
188
- "I will know and understand my accommodations": never[];
189
- "I will ask for my accommodations when I need them in class": never[];
190
- "I will tell my case manager when I no longer need an accommodations.": never[];
191
- "I will talk to my case manager when I feel I need additional or different accommodations.": never[];
192
- };
193
- };
194
- Procrastination: {
195
- "Planning ahead": {
196
- "I will spend x amount of time x times a week on longterm projects": never[];
197
- "I will plan tasks for the week on Monday or the Friday before": never[];
198
- "I will add task to my planner when assigned in class": never[];
199
- };
200
- "Task initiation": {
201
- "I will start tasks on the day given and finish if time allows": never[];
202
- "I will finish tasks early or before they are due": never[];
203
- };
204
- };
205
- };
@@ -1,19 +0,0 @@
1
- import { IGoal } from "../types/types";
2
- declare const useGoals: () => {
3
- activeStep: number;
4
- handleChangeStep: (isBackStep?: boolean | undefined) => void;
5
- handleBackPage: () => void;
6
- openModelCreate: boolean;
7
- handleToggleModelCreate: () => void;
8
- goalFormCreate: IGoal;
9
- handleChangeValueForm: (value: string, name: string, index?: number | undefined, secondName?: string | undefined) => void;
10
- handleReturnCategoryOptions: () => string[];
11
- handleReturnNameOptions: () => string[];
12
- handleReturnDetailOptions: () => string[];
13
- handleReturnTargetOptions: () => any;
14
- handleRemoveTarget: (index: number) => void;
15
- handleCreateGoal: () => Promise<void>;
16
- goalList: IGoal[];
17
- getById: (goalId: number) => Promise<void>;
18
- };
19
- export default useGoals;
@@ -1,3 +0,0 @@
1
- import { IGoal } from "../types/types";
2
- export declare const getAll: () => Promise<any>;
3
- export declare const create: (data: IGoal) => Promise<void>;