mario-core 2.9.40-admin → 2.9.40-lang

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,3 @@
1
+ /// <reference types="react" />
2
+ declare const TheLanguageDropdown: () => JSX.Element;
3
+ export default TheLanguageDropdown;
@@ -1,3 +1,4 @@
1
1
  /// <reference types="react" />
2
+ import "../i18n";
2
3
  declare const TheLayout: ({ routes, navigation }: any) => JSX.Element;
3
4
  export default TheLayout;
@@ -9,6 +9,7 @@ export declare const showMenuBar: import("@reduxjs/toolkit").ActionCreatorWithPa
9
9
  export declare const showFontSize: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
10
10
  export declare const setEnableIEP: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
11
11
  export declare const setConversationOneToOne: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
12
+ export declare const setLanguage: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>;
12
13
  export declare const setCurrentStudentId: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, string>;
13
14
  export declare const setCurrentStudentUserId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>;
14
15
  export declare const setCurrentStudentName: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>;
@@ -3,16 +3,6 @@ export declare const TINY_MCE_API_KEY = "adpshj9swgsscf83gw4gs2f74nx0vicpd5ydka2
3
3
  export declare const GOOGLE_RECAPTCHA_KEY = "6LfNtLUaAAAAAL24lbBV11jS-gBtt1mhtxb4NXs0";
4
4
  export declare const INIT_AMPLITUDE_KEY = "860fa99c52ae79d98e904b4c862ddaac";
5
5
  export declare const ACCESS_TOKEN = "ACCESS_TOKEN";
6
- export declare const FIREBASE_CONFIG: {
7
- apiKey: string;
8
- authDomain: string;
9
- databaseURL: string;
10
- projectId: string;
11
- storageBucket: string;
12
- messagingSenderId: string;
13
- appId: string;
14
- measurementId: string;
15
- };
16
6
  export declare const DEFAULT_PAGE_SIZE_VALUES: {
17
7
  label: string;
18
8
  value: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mario-core",
3
- "version": "2.9.40-admin",
3
+ "version": "2.9.40-lang",
4
4
  "description": "Contains core components && functions for Mario project",
5
5
  "author": "brss",
6
6
  "license": "MIT",
@@ -81,6 +81,7 @@
81
81
  "bootstrap": "^4.6.0",
82
82
  "date-fns": "^2.19.0",
83
83
  "formik": "^2.2.6",
84
+ "i18next": "^19.8.7",
84
85
  "link": "^1.5.1",
85
86
  "moment": "^2.29.1",
86
87
  "node-sass": "^5.0.0",
@@ -88,6 +89,7 @@
88
89
  "react-datepicker": "^3.6.0",
89
90
  "react-google-login": "^5.2.2",
90
91
  "react-google-recaptcha-v3": "^1.9.3",
92
+ "react-i18next": "^11.8.5",
91
93
  "react-icons": "^4.2.0",
92
94
  "react-notifications-component": "3.0.4",
93
95
  "react-select": "^4.1.0",
@@ -1,5 +0,0 @@
1
- export interface IModelSelectRoles {
2
- isOpenModel: boolean;
3
- userRoles: string[];
4
- onSelectUserRoles: Function;
5
- }
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { IModelSelectRoles } from "../constant/type";
3
- declare const ModelSelectRole: ({ isOpenModel, userRoles, onSelectUserRoles }: IModelSelectRoles) => JSX.Element;
4
- export default ModelSelectRole;
@@ -1 +0,0 @@
1
- export declare const initAmplitude: () => void;