mario-education 2.4.124-beta → 2.4.125-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 (46) hide show
  1. package/dist/MarioFramework.Education/ClientApp/src/containers/CSVImport/hooks/useCSVImport.d.ts +1 -0
  2. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/AreaChart.d.ts +1 -0
  3. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/BarChart.d.ts +1 -0
  4. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/DashboardToPDF.d.ts +2 -1
  5. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/GenerateChartData.d.ts +4 -0
  6. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/HeaderChart/HeaderChart.d.ts +1 -1
  7. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/LineChart.d.ts +1 -0
  8. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/ReadinessToLearn.d.ts +7 -0
  9. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/constants.d.ts +23 -0
  10. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +52 -0
  11. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/utils.d.ts +8 -3
  12. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useBehavior.d.ts +1 -4
  13. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useChartDatas.d.ts +17 -55
  14. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/hooks/useDashboard.d.ts +12 -46
  15. package/dist/MarioFramework.Education/ClientApp/src/containers/LearningSupportCategory/hooks/useLearningSupportCategoryDetail.d.ts +1 -0
  16. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/components/AgGridComponents.d.ts +1 -0
  17. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/components/UserForQuestion.d.ts +7 -0
  18. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/configs/constants.d.ts +4 -0
  19. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/hooks/useQuestionDetail.d.ts +1 -0
  20. package/dist/MarioFramework.Education/ClientApp/src/containers/Subject/views/SubjectList.d.ts +2 -2
  21. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchCounselor/hooks/useSwitchAssistant.d.ts +18 -0
  22. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/components/SwitchCounselorModal.d.ts +4 -0
  23. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/hooks/useSwitchCounselor.d.ts +18 -0
  24. package/dist/MarioFramework.Education/ClientApp/src/index.d.ts +1 -4
  25. package/dist/MarioFramework.Education/ClientApp/src/services/csvService.d.ts +1 -0
  26. package/dist/MarioFramework.Education/ClientApp/src/utils/type.d.ts +7 -0
  27. package/dist/index.css +1118 -939
  28. package/dist/index.js +2697 -5186
  29. package/dist/index.js.map +1 -1
  30. package/dist/index.modern.js +2700 -5186
  31. package/dist/index.modern.js.map +1 -1
  32. package/package.json +94 -96
  33. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/apiClient/index.d.ts +0 -8
  34. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/components/SelectorTemplate.d.ts +0 -3
  35. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/components/TemplateDialogModal.d.ts +0 -3
  36. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/configs/types.d.ts +0 -12
  37. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateBuilder.d.ts +0 -10
  38. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateDetail.d.ts +0 -20
  39. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateList.d.ts +0 -9
  40. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateStart.d.ts +0 -9
  41. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateBuilderPage.d.ts +0 -3
  42. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateContainer.d.ts +0 -3
  43. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateIEPList.d.ts +0 -3
  44. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateStartBuild.d.ts +0 -3
  45. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateSystemList.d.ts +0 -3
  46. /package/dist/MarioFramework.Education/ClientApp/src/utils/{serviceType.interface.d.ts → servicetype.interface.d.ts} +0 -0
package/package.json CHANGED
@@ -1,96 +1,94 @@
1
- {
2
- "name": "mario-education",
3
- "version": "2.4.124-beta",
4
- "description": "Contains education components && functions for BRSS Mario project",
5
- "author": "brss",
6
- "license": "MIT",
7
- "repository": "brss/mario-education",
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
- "react": "^16.0.0",
28
- "react-table": "*",
29
- "reactstrap": "*",
30
- "react-dom": "*",
31
- "react-redux": "*",
32
- "react-router-dom": "*"
33
- },
34
- "devDependencies": {
35
- "@rollup/plugin-commonjs": "11.0.2",
36
- "@testing-library/jest-dom": "^4.2.4",
37
- "@testing-library/react": "^9.5.0",
38
- "@testing-library/user-event": "^7.2.1",
39
- "@types/jest": "^25.1.4",
40
- "@types/node": "^12.12.38",
41
- "@types/react": "^16.9.27",
42
- "@types/react-dom": "^16.9.7",
43
- "@types/react-redux": "^7.1.16",
44
- "@types/react-router-dom": "^5.1.7",
45
- "@types/react-table": "^7.0.28",
46
- "@types/reactstrap": "",
47
- "@typescript-eslint/eslint-plugin": "^2.26.0",
48
- "@typescript-eslint/parser": "^2.26.0",
49
- "@types/yup": "^0.29.11",
50
- "babel-eslint": "^10.0.3",
51
- "cross-env": "^7.0.2",
52
- "eslint": "^6.8.0",
53
- "eslint-config-prettier": "^6.7.0",
54
- "eslint-config-standard": "^14.1.0",
55
- "eslint-config-standard-react": "^9.2.0",
56
- "eslint-plugin-import": "^2.18.2",
57
- "eslint-plugin-node": "^11.0.0",
58
- "eslint-plugin-prettier": "^3.1.1",
59
- "eslint-plugin-promise": "^4.2.1",
60
- "eslint-plugin-react": "^7.17.0",
61
- "eslint-plugin-standard": "^4.0.1",
62
- "gh-pages": "^2.2.0",
63
- "microbundle-crl": "^0.13.10",
64
- "npm-run-all": "^4.1.5",
65
- "prettier": "^2.0.4",
66
- "react-scripts": "^3.4.1",
67
- "typescript": "^3.7.5"
68
- },
69
- "files": [
70
- "dist"
71
- ],
72
- "dependencies": {
73
- "@ag-grid-community/client-side-row-model": "^22.1.1",
74
- "@ag-grid-community/react": "^22.0.0",
75
- "@ag-grid-enterprise/core": "^22.1.1",
76
- "@ag-grid-enterprise/master-detail": "^22.1.1",
77
- "@date-io/moment": "^1.3.13",
78
- "@tinymce/tinymce-react": "^3.9.0",
79
- "@types/react-datepicker": "^4.8.0",
80
- "apexcharts": "^3.26.3",
81
- "axios": "^0.21.1",
82
- "date-fns": "^2.19.0",
83
- "formik": "^2.2.6",
84
- "grapesjs": "^0.15.10",
85
- "grapesjs-preset-webpage": "^0.1.11",
86
- "html2canvas": "^1.4.1",
87
- "jspdf": "^2.5.1",
88
- "mario-core": "2.9.121-beta",
89
- "react-apexcharts": "^1.3.9",
90
- "react-datepicker": "^3.8.0",
91
- "react-icons": "^4.2.0",
92
- "react-simple-star-rating": "^1.0.6",
93
- "reactstrap": "^8.10.0",
94
- "yup": "^0.32.9"
95
- }
96
- }
1
+ {
2
+ "name": "mario-education",
3
+ "version": "2.4.125-admin",
4
+ "description": "Contains education components && functions for BRSS Mario project",
5
+ "author": "brss",
6
+ "license": "MIT",
7
+ "repository": "brss/mario-education",
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
+ "react": "^16.0.0",
28
+ "react-table": "*",
29
+ "reactstrap": "*",
30
+ "react-dom": "*",
31
+ "react-redux": "*",
32
+ "react-router-dom": "*"
33
+ },
34
+ "devDependencies": {
35
+ "@rollup/plugin-commonjs": "11.0.2",
36
+ "@testing-library/jest-dom": "^4.2.4",
37
+ "@testing-library/react": "^9.5.0",
38
+ "@testing-library/user-event": "^7.2.1",
39
+ "@types/jest": "^25.1.4",
40
+ "@types/node": "^12.12.38",
41
+ "@types/react": "^16.9.27",
42
+ "@types/react-dom": "^16.9.7",
43
+ "@types/react-redux": "^7.1.16",
44
+ "@types/react-router-dom": "^5.1.7",
45
+ "@types/react-table": "^7.0.28",
46
+ "@types/reactstrap": "",
47
+ "@typescript-eslint/eslint-plugin": "^2.26.0",
48
+ "@typescript-eslint/parser": "^2.26.0",
49
+ "@types/yup": "^0.29.11",
50
+ "babel-eslint": "^10.0.3",
51
+ "cross-env": "^7.0.2",
52
+ "eslint": "^6.8.0",
53
+ "eslint-config-prettier": "^6.7.0",
54
+ "eslint-config-standard": "^14.1.0",
55
+ "eslint-config-standard-react": "^9.2.0",
56
+ "eslint-plugin-import": "^2.18.2",
57
+ "eslint-plugin-node": "^11.0.0",
58
+ "eslint-plugin-prettier": "^3.1.1",
59
+ "eslint-plugin-promise": "^4.2.1",
60
+ "eslint-plugin-react": "^7.17.0",
61
+ "eslint-plugin-standard": "^4.0.1",
62
+ "gh-pages": "^2.2.0",
63
+ "microbundle-crl": "^0.13.10",
64
+ "npm-run-all": "^4.1.5",
65
+ "prettier": "^2.0.4",
66
+ "react-scripts": "^3.4.1",
67
+ "typescript": "^3.7.5"
68
+ },
69
+ "files": [
70
+ "dist"
71
+ ],
72
+ "dependencies": {
73
+ "@ag-grid-community/client-side-row-model": "^22.1.1",
74
+ "@ag-grid-community/react": "^22.0.0",
75
+ "@ag-grid-enterprise/core": "^22.1.1",
76
+ "@ag-grid-enterprise/master-detail": "^22.1.1",
77
+ "@date-io/moment": "^1.3.13",
78
+ "@tinymce/tinymce-react": "^3.9.0",
79
+ "@types/react-datepicker": "^4.8.0",
80
+ "apexcharts": "^3.26.3",
81
+ "axios": "^0.21.1",
82
+ "date-fns": "^2.19.0",
83
+ "formik": "^2.2.6",
84
+ "html2canvas": "^1.4.1",
85
+ "jspdf": "^2.5.1",
86
+ "mario-core": "2.9.125-admin",
87
+ "react-apexcharts": "^1.3.9",
88
+ "react-datepicker": "^3.8.0",
89
+ "react-icons": "^4.2.0",
90
+ "react-simple-star-rating": "^1.0.6",
91
+ "reactstrap": "^8.10.0",
92
+ "yup": "^0.32.9"
93
+ }
94
+ }
@@ -1,8 +0,0 @@
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>>;
8
- export declare const updateHTMLIEP: (id: number, body: any) => Promise<import("axios").AxiosResponse<any>>;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const SelectorTemplate: (props: any) => JSX.Element;
3
- export default SelectorTemplate;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
- export default _default;
@@ -1,12 +0,0 @@
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
- }[];
@@ -1,10 +0,0 @@
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
- saveHTMLTemplate: (isPublish?: boolean | undefined) => Promise<void>;
9
- };
10
- export default useTemplateBuilder;
@@ -1,20 +0,0 @@
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;
@@ -1,9 +0,0 @@
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;
@@ -1,9 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const TemplateBuilderPage: FC;
3
- export default TemplateBuilderPage;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const TemplateContainer: () => JSX.Element;
3
- export default TemplateContainer;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const TemplateIEPList: FC;
3
- export default TemplateIEPList;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const TemplateStartBuild: FC;
3
- export default TemplateStartBuild;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const TemplateSystemList: FC;
3
- export default TemplateSystemList;