@dexteel/mesf-core 4.1.0 → 4.3.0

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.
@@ -4,8 +4,9 @@ interface Props {
4
4
  authentication: any;
5
5
  routes: any;
6
6
  navbar: any;
7
+ navbarTitle?: string;
7
8
  configurations: any;
8
9
  showAreaSelector?: boolean;
9
10
  }
10
- declare function MESFMain({ authentication, routes, navbar, configurations, showAreaSelector }: Props): React.JSX.Element;
11
+ declare function MESFMain({ authentication, routes, navbar, navbarTitle, configurations, showAreaSelector }: Props): React.JSX.Element;
11
12
  export { MESFMain };
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
- export default function Header({ showAreaSelector }: {
2
+ export default function Header({ showAreaSelector, navbarTitle }: {
3
3
  showAreaSelector?: boolean;
4
+ navbarTitle?: string;
4
5
  }): React.JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
- declare const Navigation: ({ showAreaSelector }: {
2
+ declare const Navigation: ({ showAreaSelector, navbarTitle }: {
3
3
  showAreaSelector?: boolean | undefined;
4
+ navbarTitle?: string | undefined;
4
5
  }) => React.JSX.Element;
5
6
  export default Navigation;
@@ -5,6 +5,8 @@ import { Action } from '../../../models/Action';
5
5
  interface Props {
6
6
  actionsOfProfile: Action[];
7
7
  onSelectionChanged: Function;
8
+ profileName: string;
9
+ setProfileName: (profileName: string) => void;
8
10
  }
9
- export declare const DataTable: ({ actionsOfProfile, onSelectionChanged }: Props) => React.JSX.Element;
11
+ export declare const DataTable: ({ actionsOfProfile, onSelectionChanged, profileName, setProfileName }: Props) => React.JSX.Element;
10
12
  export {};
@@ -3,11 +3,10 @@ import { ColDef } from 'ag-grid-community';
3
3
  type Props = {
4
4
  setProfileForEdit: (profile: Profile) => void;
5
5
  setModalProceduresProfile: (showModal: boolean) => void;
6
- setModalEditProfile: (showModal: boolean) => void;
7
6
  setProfileForDelete: (profile: Profile) => void;
8
7
  setModalDeleteProfile: (showModal: boolean) => void;
9
8
  };
10
- export declare const useTableData: ({ setProfileForEdit, setModalProceduresProfile, setModalEditProfile, setProfileForDelete, setModalDeleteProfile }: Props) => {
9
+ export declare const useTableData: ({ setProfileForEdit, setModalProceduresProfile, setProfileForDelete, setModalDeleteProfile }: Props) => {
11
10
  rows: {
12
11
  id: number | null;
13
12
  ProfileId: number | null;
@@ -7,7 +7,7 @@ export declare const getProfiles: () => Promise<{
7
7
  ok: true;
8
8
  data: any;
9
9
  }>;
10
- export declare const upsertProfile: (profile: Profile) => Promise<{
10
+ export declare const upsertProfile: (ProfileId: number, ProfileName: string) => Promise<{
11
11
  ok: false;
12
12
  message: string;
13
13
  } | {