@dexteel/mesf-core 3.4.1 → 3.5.1

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 (62) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/MESFMain.d.ts +8 -1
  3. package/dist/account/AuthProvider.d.ts +3 -3
  4. package/dist/account/account.d.ts +1 -1
  5. package/dist/account/models/login.models.d.ts +3 -3
  6. package/dist/components/navigation/Header.d.ts +3 -1
  7. package/dist/components/navigation/Navigation.d.ts +3 -1
  8. package/dist/components/navigation/areaSelector/area-selector.d.ts +2 -0
  9. package/dist/components/navigation/hooks/useDefaultAreaId.d.ts +1 -0
  10. package/dist/configuration/pages/job/JobsPage.d.ts +1 -1
  11. package/dist/configuration/pages/job/components/JobsTable/customHooks/TableDataJobs/useJobsTableData.d.ts +1 -1
  12. package/dist/configuration/pages/job/index.d.ts +1 -1
  13. package/dist/configuration/pages/log/LogsPage.d.ts +1 -1
  14. package/dist/configuration/pages/log/components/Filters/codeFilter.d.ts +1 -1
  15. package/dist/configuration/pages/log/components/Filters/dateFilter.d.ts +1 -1
  16. package/dist/configuration/pages/log/components/Filters/searchFilter.d.ts +1 -1
  17. package/dist/configuration/pages/log/components/ModalLogSelected/ModalLogSelected.d.ts +1 -1
  18. package/dist/configuration/pages/log/components/hook/useGetLogsFromAPI.d.ts +1 -1
  19. package/dist/configuration/pages/log/index.d.ts +1 -1
  20. package/dist/configuration/pages/profiles/ProfilesPage.d.ts +1 -1
  21. package/dist/configuration/pages/profiles/components/Create/CreateProfile.d.ts +1 -1
  22. package/dist/configuration/pages/profiles/components/Delete/DeleteProfile.d.ts +1 -1
  23. package/dist/configuration/pages/profiles/components/Edit/EditProfile.d.ts +1 -1
  24. package/dist/configuration/pages/profiles/components/ProfilesTable/TableProfiles.d.ts +1 -1
  25. package/dist/configuration/pages/profiles/components/ProfilesTable/customHooks/useTableData.d.ts +1 -1
  26. package/dist/configuration/pages/profiles/components/common/Permissions/hooks/useGetPermissionsEffect.d.ts +1 -1
  27. package/dist/configuration/pages/profiles/components/common/Permissions/hooks/useHandleAsignedPermission.d.ts +1 -1
  28. package/dist/configuration/pages/profiles/components/common/Permissions/hooks/useIsPermissionInherited.d.ts +1 -1
  29. package/dist/configuration/pages/profiles/components/common/Pickers/PermissionsPicker.d.ts +1 -1
  30. package/dist/configuration/pages/profiles/components/common/Pickers/ProfilesPicker.d.ts +1 -1
  31. package/dist/configuration/pages/profiles/components/common/Profiles/hook/useGetProfilesEffect.d.ts +1 -1
  32. package/dist/configuration/pages/profiles/components/common/hooks/useGetColorByPermissionId.d.ts +1 -1
  33. package/dist/configuration/pages/profiles/index.d.ts +1 -1
  34. package/dist/configuration/pages/shifCrew/ShiftsCrewsPage.d.ts +1 -1
  35. package/dist/configuration/pages/shifCrew/components/Create/CreateShift.d.ts +1 -1
  36. package/dist/configuration/pages/shifCrew/components/Delete/DeleteShift.d.ts +1 -1
  37. package/dist/configuration/pages/shifCrew/components/Edit/EditShift.d.ts +1 -1
  38. package/dist/configuration/pages/shifCrew/components/TableShifts.d.ts +1 -1
  39. package/dist/configuration/pages/shifCrew/components/customHooks/useTableShift.d.ts +1 -1
  40. package/dist/configuration/pages/shifCrew/index.d.ts +1 -1
  41. package/dist/configuration/pages/users/UsersPage.d.ts +1 -1
  42. package/dist/configuration/pages/users/components/ChangePassword/ChangePassword.d.ts +1 -1
  43. package/dist/configuration/pages/users/components/Create/CreateUser.d.ts +1 -1
  44. package/dist/configuration/pages/users/components/Delete/DeleteUser.d.ts +1 -1
  45. package/dist/configuration/pages/users/components/EditUser/EditUser.d.ts +1 -1
  46. package/dist/configuration/pages/users/components/UsersDataTable/TableUsers.d.ts +1 -1
  47. package/dist/configuration/pages/users/components/UsersDataTable/customHooks/useTableData.d.ts +1 -1
  48. package/dist/configuration/pages/users/components/common/ProfilesPicker.d.ts +1 -1
  49. package/dist/configuration/pages/users/index.d.ts +1 -1
  50. package/dist/configurationMenu.d.ts +2 -2
  51. package/dist/context/userContext.d.ts +82 -0
  52. package/dist/controls/filters/filters.d.ts +2 -2
  53. package/dist/controls/panels.d.ts +4 -4
  54. package/dist/hooks/useSearchAssets.d.ts +4 -0
  55. package/dist/index.d.ts +1 -0
  56. package/dist/index.esm.js +511 -180
  57. package/dist/models/Area.d.ts +4 -0
  58. package/dist/models/Asset.d.ts +6 -0
  59. package/dist/reducers/UserReducer.d.ts +77 -0
  60. package/dist/repositorie/MESF-frontend-Repositorie.d.ts +45 -0
  61. package/dist/services/ApiService.d.ts +4 -4
  62. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
1
  # CHANGELOG
2
+ ## 3.5.1
3
+ - Change Area to Area name in navbar
4
+ ## 3.5.0
5
+ - Add AreaSelector to navbar (optional). **REQUIRES mesf-core@7d51f66352b48508ddb4efc8f70ff68774df2834**
2
6
  ## 3.4.1
3
7
  - TreePickerControl receives `inputTitle` as prop
4
8
  ## 2.2.0
@@ -1,4 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import './css/index.css';
3
- declare function MESFMain(props: any): JSX.Element;
3
+ interface Props {
4
+ authentication: any;
5
+ routes: any;
6
+ navbar: any;
7
+ configurations: any;
8
+ showAreaSelector?: boolean;
9
+ }
10
+ declare function MESFMain({ authentication, routes, navbar, configurations, showAreaSelector }: Props): JSX.Element;
4
11
  export { MESFMain };
@@ -1,17 +1,17 @@
1
1
  import React from 'react';
2
2
  export declare const AuthContext: React.Context<any>;
3
- export type AuthConfig = {
3
+ export declare type AuthConfig = {
4
4
  guestIsEnabled: boolean;
5
5
  useEmailAndPassword: boolean;
6
6
  useAzureAD: boolean;
7
7
  AzureConfig: AzureConfig;
8
8
  };
9
- export type AzureConfig = {
9
+ export declare type AzureConfig = {
10
10
  clientId: string;
11
11
  authority: string;
12
12
  redirectUri: string;
13
13
  };
14
- type AuthProviderProps = {
14
+ declare type AuthProviderProps = {
15
15
  children: any;
16
16
  authConfig: AuthConfig;
17
17
  };
@@ -1,2 +1,2 @@
1
1
  /// <reference types="react" />
2
- export declare function Account(): JSX.Element;
2
+ export declare const Account: () => JSX.Element;
@@ -1,10 +1,10 @@
1
1
  import { AuthConfig } from "../AuthProvider";
2
- export type LoginParams = {
2
+ export declare type LoginParams = {
3
3
  setToken?: Function;
4
4
  authConfig: AuthConfig;
5
5
  };
6
- type Permission = string;
7
- export type UserMESData = {
6
+ declare type Permission = string;
7
+ export declare type UserMESData = {
8
8
  id: number;
9
9
  firstName: string;
10
10
  lastName: string;
@@ -1,2 +1,4 @@
1
1
  /// <reference types="react" />
2
- export default function Header(): JSX.Element;
2
+ export default function Header({ showAreaSelector }: {
3
+ showAreaSelector?: boolean;
4
+ }): JSX.Element;
@@ -1,3 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare const Navigation: () => JSX.Element;
2
+ declare const Navigation: ({ showAreaSelector }: {
3
+ showAreaSelector?: boolean | undefined;
4
+ }) => JSX.Element;
3
5
  export default Navigation;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const AreaSelector: () => JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const useDefaultAreaId: () => () => void;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- type Props = {};
2
+ declare type Props = {};
3
3
  export declare const Jobs: (prop: Props) => JSX.Element;
4
4
  export {};
@@ -1,5 +1,5 @@
1
1
  import { GridColumns } from "@material-ui/data-grid";
2
- type Props = {
2
+ declare type Props = {
3
3
  getJobsFromAPI: () => Promise<void>;
4
4
  setMessageLoading: Function;
5
5
  setMessageSuccesful: Function;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- type Props = {};
2
+ declare type Props = {};
3
3
  declare const JobsPage: (props: Props) => JSX.Element;
4
4
  export default JobsPage;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- type Props = {};
2
+ declare type Props = {};
3
3
  export declare const Logs: (prop: Props) => JSX.Element;
4
4
  export {};
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  LogTypeCode: number | string | null;
4
4
  setLogTypeCodeFilter: (logTypeCode: number | string | null) => void;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  date: Date;
4
4
  setDate: (date: Date) => void;
5
5
  label: string | undefined;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  search: string;
4
4
  setSearch: Function;
5
5
  };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { Log } from '../../models/Log';
3
- type Props = {
3
+ declare type Props = {
4
4
  show: boolean;
5
5
  onHide: (show: boolean) => void;
6
6
  selectedLog: Log | undefined;
@@ -1,4 +1,4 @@
1
- type Props = {
1
+ declare type Props = {
2
2
  Start: Date;
3
3
  End: Date;
4
4
  Search: string;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- type Props = {};
2
+ declare type Props = {};
3
3
  declare const LogsPage: (props: Props) => JSX.Element;
4
4
  export default LogsPage;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- type Props = {};
2
+ declare type Props = {};
3
3
  export declare const Profiles: (prop: Props) => JSX.Element;
4
4
  export {};
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  show: boolean;
4
4
  onHide: () => void;
5
5
  getProfilesFromAPI: Function;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { Profile } from '../../models/Profile';
3
- type Props = {
3
+ declare type Props = {
4
4
  profileForDelete: Profile | null;
5
5
  show: boolean;
6
6
  onHide: (shouldUpdate: boolean) => void;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { Profile } from '../../models/Profile';
3
- type Props = {
3
+ declare type Props = {
4
4
  profileForEdit: Profile | null;
5
5
  show: boolean;
6
6
  onHide: (shouldUpdate: boolean) => void;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  getProfilesFromAPI: Function;
4
4
  isLoading: boolean;
5
5
  };
@@ -1,6 +1,6 @@
1
1
  import { GridColDef } from "@material-ui/data-grid";
2
2
  import { Profile } from '../../../models/Profile';
3
- type Props = {
3
+ declare type Props = {
4
4
  setProfileForEdit: (profile: Profile) => void;
5
5
  setModalEditPermissionsProfile: (showModal: boolean) => void;
6
6
  setProfileForDelete: (profile: Profile) => void;
@@ -1,5 +1,5 @@
1
1
  import { Permission } from "../../../../models/Permission";
2
- type Props = {
2
+ declare type Props = {
3
3
  setIsLoading: (isLoading: boolean) => void;
4
4
  setPermissions: (permissions: Permission[]) => void;
5
5
  };
@@ -1,4 +1,4 @@
1
- type Props = {
1
+ declare type Props = {
2
2
  asignedPermissions: number[];
3
3
  onChange: Function;
4
4
  };
@@ -1,4 +1,4 @@
1
- type Props = {
1
+ declare type Props = {
2
2
  profilesToProfiles: number[];
3
3
  };
4
4
  export declare const useIsPermissionInherited: ({ profilesToProfiles }: Props) => (PermissionId: number) => boolean;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  value: number[];
4
4
  onChange: Function;
5
5
  profileForDelete: number | null;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  value: number[];
4
4
  onChange: Function;
5
5
  profileForDelete: number | null;
@@ -1,5 +1,5 @@
1
1
  import { Profile } from "../../../../models/Profile";
2
- type Props = {
2
+ declare type Props = {
3
3
  setIsLoading: (isLoading: boolean) => void;
4
4
  setProfiles: (permissions: Profile[]) => void;
5
5
  };
@@ -1,4 +1,4 @@
1
- type Props = {
1
+ declare type Props = {
2
2
  profilesToProfiles: number[];
3
3
  };
4
4
  export declare const useGetColorByPermissionId: ({ profilesToProfiles }: Props) => (PermissionId: number) => string | false;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- type Props = {};
2
+ declare type Props = {};
3
3
  declare const UsersPage: (props: Props) => JSX.Element;
4
4
  export default UsersPage;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- type Props = {};
2
+ declare type Props = {};
3
3
  export declare const ShiftsCrews: (prop: Props) => JSX.Element;
4
4
  export {};
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  show: boolean;
4
4
  onHide: () => void;
5
5
  getShiftsCrewsFromAPI: Function;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  show: boolean;
4
4
  onHide: (shouldUpdate: boolean) => void;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  show: boolean;
4
4
  onHide: (shouldUpdate: boolean) => void;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  getShiftsCrewsFromAPI: Function;
4
4
  isLoading: boolean;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { GridColDef } from "@material-ui/data-grid";
2
- type Props = {
2
+ declare type Props = {
3
3
  setModalEditShift: Function;
4
4
  setModalDeleteShift: Function;
5
5
  };
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- type Props = {};
2
+ declare type Props = {};
3
3
  declare const ShiftsCrewsPage: (props: Props) => JSX.Element;
4
4
  export default ShiftsCrewsPage;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- type Props = {};
2
+ declare type Props = {};
3
3
  export declare const Users: (prop: Props) => JSX.Element;
4
4
  export {};
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  show: boolean;
4
4
  userId: number | null;
5
5
  onHide: (shouldUpdate: boolean) => void;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  show: boolean;
4
4
  onHide: () => void;
5
5
  getUsersFromAPI: Function;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  userIdForDelete: number | null;
4
4
  show: boolean;
5
5
  onHide: (shouldUpdate: boolean) => void;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  userIdForEdit: number | null;
4
4
  show: boolean;
5
5
  onHide: (shouldUpdate: boolean) => void;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  getUsersFromAPI: Function;
4
4
  isLoading: boolean;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { GridColDef } from '@material-ui/data-grid';
2
- type Props = {
2
+ declare type Props = {
3
3
  setModalEditDataUser: Function;
4
4
  setModalDeleteUser: Function;
5
5
  setUserIdForEdit: Function;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type Props = {
2
+ declare type Props = {
3
3
  value: number[];
4
4
  onChange: Function;
5
5
  userIdForDelete: number | null;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- type Props = {};
2
+ declare type Props = {};
3
3
  declare const UsersPage: (props: Props) => JSX.Element;
4
4
  export default UsersPage;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- type SectionComponent = {
2
+ declare type SectionComponent = {
3
3
  path: string;
4
4
  sidebar: React.FunctionComponent;
5
5
  main: React.FunctionComponent;
@@ -9,7 +9,7 @@ export interface SidebarType extends React.FunctionComponent<{
9
9
  option?: string;
10
10
  }> {
11
11
  }
12
- export type ConfigurationsType = [
12
+ export declare type ConfigurationsType = [
13
13
  SectionComponent[],
14
14
  SidebarType
15
15
  ];
@@ -0,0 +1,82 @@
1
+ import { ReactNode } from "react";
2
+ export declare const useUserContext: () => {
3
+ state: {
4
+ userLastName: string;
5
+ userId: number | null;
6
+ defaultAreaId: string | number | null;
7
+ listAllAssets: import("../models/Asset").Asset[];
8
+ listAllAssetsExtensions: import("../models/Area").Area[];
9
+ areasList: any[];
10
+ };
11
+ actions: import("@reduxjs/toolkit").CaseReducerActions<{
12
+ setUserId(state: import("immer/dist/internal").WritableDraft<{
13
+ userLastName: string;
14
+ userId: number | null;
15
+ defaultAreaId: string | number | null;
16
+ listAllAssets: import("../models/Asset").Asset[];
17
+ listAllAssetsExtensions: import("../models/Area").Area[];
18
+ areasList: any[];
19
+ }>, { payload }: {
20
+ payload: any;
21
+ type: string;
22
+ }): void;
23
+ setUserLastName(state: import("immer/dist/internal").WritableDraft<{
24
+ userLastName: string;
25
+ userId: number | null;
26
+ defaultAreaId: string | number | null;
27
+ listAllAssets: import("../models/Asset").Asset[];
28
+ listAllAssetsExtensions: import("../models/Area").Area[];
29
+ areasList: any[];
30
+ }>, { payload }: {
31
+ payload: any;
32
+ type: string;
33
+ }): void;
34
+ setDefaultAreaId(state: import("immer/dist/internal").WritableDraft<{
35
+ userLastName: string;
36
+ userId: number | null;
37
+ defaultAreaId: string | number | null;
38
+ listAllAssets: import("../models/Asset").Asset[];
39
+ listAllAssetsExtensions: import("../models/Area").Area[];
40
+ areasList: any[];
41
+ }>, { payload }: {
42
+ payload: any;
43
+ type: string;
44
+ }): void;
45
+ setListAllAssets(state: import("immer/dist/internal").WritableDraft<{
46
+ userLastName: string;
47
+ userId: number | null;
48
+ defaultAreaId: string | number | null;
49
+ listAllAssets: import("../models/Asset").Asset[];
50
+ listAllAssetsExtensions: import("../models/Area").Area[];
51
+ areasList: any[];
52
+ }>, { payload }: {
53
+ payload: any;
54
+ type: string;
55
+ }): void;
56
+ setListAllAssetsExtensions(state: import("immer/dist/internal").WritableDraft<{
57
+ userLastName: string;
58
+ userId: number | null;
59
+ defaultAreaId: string | number | null;
60
+ listAllAssets: import("../models/Asset").Asset[];
61
+ listAllAssetsExtensions: import("../models/Area").Area[];
62
+ areasList: any[];
63
+ }>, { payload }: {
64
+ payload: any;
65
+ type: string;
66
+ }): void;
67
+ setAreasList(state: import("immer/dist/internal").WritableDraft<{
68
+ userLastName: string;
69
+ userId: number | null;
70
+ defaultAreaId: string | number | null;
71
+ listAllAssets: import("../models/Asset").Asset[];
72
+ listAllAssetsExtensions: import("../models/Area").Area[];
73
+ areasList: any[];
74
+ }>, { payload }: {
75
+ payload: any;
76
+ type: string;
77
+ }): void;
78
+ }, "__">;
79
+ };
80
+ export declare const UserProvider: ({ children }: {
81
+ children: ReactNode;
82
+ }) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { Component } from "react";
2
- type TreePickerControlProps = {
2
+ declare type TreePickerControlProps = {
3
3
  onSelect: (value: string, description: string, findNode: any) => void;
4
4
  [key: string]: any;
5
5
  };
@@ -11,7 +11,7 @@ export declare class SimplePasswordControl extends Component<any> {
11
11
  render(): JSX.Element;
12
12
  }
13
13
  export declare const formatNumber: (value: number) => string;
14
- export type NumericTextControlProps = {
14
+ export declare type NumericTextControlProps = {
15
15
  value: any;
16
16
  title: any;
17
17
  styleLabel: any;
@@ -1,5 +1,5 @@
1
1
  import { Component, MouseEventHandler } from "react";
2
- type GenericPanelProps = {
2
+ declare type GenericPanelProps = {
3
3
  title: string;
4
4
  description: string;
5
5
  showPromptSuccess?: boolean;
@@ -13,7 +13,7 @@ type GenericPanelProps = {
13
13
  /********************MATERIAL UI STYLES********************************** */
14
14
  /************************************************************************* */
15
15
  declare const GenericPanel: ({ title, description, showPromptSuccess, showPromptError, onDismissSuccess, onDismissError, successMessage, error, children, }: GenericPanelProps) => JSX.Element;
16
- type MasterDetailPanelProps = {
16
+ declare type MasterDetailPanelProps = {
17
17
  title: string;
18
18
  onSave: MouseEventHandler;
19
19
  onCancel: MouseEventHandler;
@@ -27,11 +27,11 @@ declare class MasterDetailPanel extends Component<MasterDetailPanelProps> {
27
27
  useStyles(): (props?: any) => import("@material-ui/styles").ClassNameMap<"root">;
28
28
  render(): JSX.Element;
29
29
  }
30
- type ExtraButton = {
30
+ declare type ExtraButton = {
31
31
  name: string;
32
32
  onClick: MouseEventHandler;
33
33
  };
34
- type FilterPanelProps = {
34
+ declare type FilterPanelProps = {
35
35
  onClickExport?: Function;
36
36
  onClickReset: Function;
37
37
  OnClickGo: Function;
@@ -0,0 +1,4 @@
1
+ export declare const useSearchAssets: () => {
2
+ searchAssets: () => void;
3
+ searchAssetExtension: () => void;
4
+ };
package/dist/index.d.ts CHANGED
@@ -5,3 +5,4 @@ export * from './account';
5
5
  export * from './controls';
6
6
  export * from './MESFMain';
7
7
  export * from './components/modals/modal.mesf';
8
+ export * from './context/userContext';