identity-admin-ui 1.5.3 → 1.5.5

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 @@
1
+ export declare function LoadingPlaceHolder(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ type INeighborButton = {
2
+ title: string;
3
+ icon: string;
4
+ loading?: boolean;
5
+ onClick: () => void;
6
+ };
7
+ export declare function NeighborButton({ title, loading, icon, onClick }: INeighborButton): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare enum NeighborTypes {
2
+ NEXT = "NEXT",
3
+ PREVIOUS = "PREVIOUS"
4
+ }
@@ -1,12 +1,12 @@
1
1
  export interface INextPrevious {
2
- nextEnabled?: boolean;
3
- previousEnabled?: boolean;
4
- nextId?: string;
5
- previousId?: string;
2
+ recordId: string;
3
+ modelPath: string;
6
4
  path?: any;
5
+ onNoNextText?: string;
6
+ onNoPreviousText?: string;
7
7
  previousButtonTitle?: string;
8
8
  nextButtonTitle?: string;
9
- onClickNext?: (nextId?: string) => void;
10
- onClickPrevious?: (previousId?: string) => void;
9
+ onClickNext?: (currentRecordId?: string) => void;
10
+ onClickPrevious?: (currentRecordId?: string) => void;
11
11
  }
12
- export declare function NextPreviousButtons({ nextEnabled, previousEnabled, nextId, previousId, path, nextButtonTitle, previousButtonTitle, onClickNext, onClickPrevious, }: INextPrevious): import("react/jsx-runtime").JSX.Element;
12
+ export declare function NextPreviousButtons({ path, modelPath, onNoNextText, onNoPreviousText, recordId, nextButtonTitle, previousButtonTitle, onClickNext, onClickPrevious, }: INextPrevious): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { GridRenderCellParams } from "@mui/x-data-grid";
2
- import { ListProps } from "./GridTypes";
1
+ import { GridRenderCellParams } from '@mui/x-data-grid';
2
+ import { ListProps } from './GridTypes';
3
3
  export declare function FieldFormatting(model: string, property: ListProps, cellParams: GridRenderCellParams, resources: any): string;
@@ -1,7 +1,3 @@
1
1
  export interface IRecordResponseData {
2
2
  record: any;
3
- hasNext?: boolean;
4
- hasPrevious?: boolean;
5
- nextId?: string;
6
- previousId?: string;
7
3
  }
@@ -6,6 +6,10 @@ export interface ShowRecordProps {
6
6
  enableNextPreviousButtons?: boolean;
7
7
  previousButtonTitle?: string;
8
8
  nextButtonTitle?: string;
9
+ onNoNextText?: string;
10
+ onNoPreviousText?: string;
11
+ onClickNext?: (currentRecordId?: string) => void;
12
+ onClickPrevious?: (currentRecordId?: string) => void;
9
13
  Component?: (props: any) => JSX.Element;
10
14
  HeadingView?: (props: any) => JSX.Element;
11
15
  Actions?: (props: any) => JSX.Element;