mario-education 2.4.403-multi → 2.4.404-multi

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mario-education",
3
- "version": "2.4.403-multi",
3
+ "version": "2.4.404-multi",
4
4
  "description": "Contains education components && functions for BRSS Mario project",
5
5
  "author": "brss",
6
6
  "license": "MIT",
@@ -93,7 +93,7 @@
93
93
  "grapesjs-preset-webpage": "^0.1.11",
94
94
  "html2canvas": "^1.4.1",
95
95
  "jspdf": "^2.5.1",
96
- "mario-core": "2.9.246-multi",
96
+ "mario-core": "2.9.248-multi",
97
97
  "react-apexcharts": "^1.3.9",
98
98
  "react-datepicker": "^3.8.0",
99
99
  "react-icons": "^4.2.0",
@@ -1,3 +0,0 @@
1
- import { IDetailTokenModel } from "../configs/types";
2
- declare const DetailTokenModel: ({ open, children, toggle, isCreate, onConfirm }: IDetailTokenModel) => JSX.Element;
3
- export default DetailTokenModel;
@@ -1,3 +0,0 @@
1
- import { IPermissionSelected } from "../configs/types";
2
- declare const PermissionSelected: ({ permission, name, onChange }: IPermissionSelected) => JSX.Element;
3
- export default PermissionSelected;
@@ -1,3 +0,0 @@
1
- import { IAccessToken } from "./types";
2
- export declare const DATE_RESULT = "dd-MM-yyyy";
3
- export declare const initToken: IAccessToken;
@@ -1,24 +0,0 @@
1
- export interface IPermission {
2
- checkIn: string[];
3
- conference: string[];
4
- classReflection: string[];
5
- survey: string[];
6
- }
7
- export interface IAccessToken {
8
- permission: IPermission;
9
- token: string;
10
- createDate: string;
11
- id?: number;
12
- }
13
- export interface IDetailTokenModel {
14
- open: boolean;
15
- children: JSX.Element | JSX.Element[];
16
- toggle: Function;
17
- isCreate: boolean;
18
- onConfirm: Function;
19
- }
20
- export interface IPermissionSelected {
21
- name: string;
22
- permission: string[];
23
- onChange: Function;
24
- }
@@ -1,12 +0,0 @@
1
- import { IAccessToken } from "../configs/types";
2
- declare const useExternalApi: () => {
3
- generateToken: (isCreate: boolean) => Promise<void>;
4
- tokens: IAccessToken[];
5
- changeFilters: (updatedFilters: any) => void;
6
- filters: import("mario-core").Filter;
7
- removeToken: (id: number) => Promise<void>;
8
- goToDetailToken: (token: IAccessToken | null) => void;
9
- tokenDetail: IAccessToken | null;
10
- handleChangePermission: (property: string, value: string) => void;
11
- };
12
- export default useExternalApi;
@@ -1,2 +0,0 @@
1
- declare const ExternalApi: () => JSX.Element;
2
- export default ExternalApi;
@@ -1,4 +0,0 @@
1
- export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any>>;
2
- export declare const update: (id: any, data: any) => Promise<import("axios").AxiosResponse<any>>;
3
- export declare const get: (filters: any) => Promise<import("axios").AxiosResponse<any>>;
4
- export declare const remove: (id: number) => Promise<import("axios").AxiosResponse<any>>;