identity-admin-ui 1.5.9 → 1.5.11
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/lib/cjs/index.js +9 -9
- package/lib/cjs/types/components/dataGrid/CustomNoRowsOverlay.d.ts +1 -1
- package/lib/cjs/types/components/dataGrid/DataGridd.d.ts +5 -1
- package/lib/cjs/types/helpers/CrudHelper/List/ListProps.d.ts +2 -0
- package/lib/esm/index.js +2 -2
- package/lib/esm/types/components/dataGrid/CustomNoRowsOverlay.d.ts +1 -1
- package/lib/esm/types/components/dataGrid/DataGridd.d.ts +5 -1
- package/lib/esm/types/helpers/CrudHelper/List/ListProps.d.ts +2 -0
- package/lib/index.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function CustomNoRowsOverlay(): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export default function CustomNoRowsOverlay(noRowsText?: string): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ParamsState } from './GridTypes';
|
|
3
3
|
import { IBulkActionsDialogState } from '../BulkActions/BulkActionDialogs';
|
|
4
|
+
export interface IGridExtras {
|
|
5
|
+
noRowsText?: string;
|
|
6
|
+
}
|
|
4
7
|
export interface GridProps {
|
|
5
8
|
resources: any;
|
|
6
9
|
resourceName: string;
|
|
@@ -11,5 +14,6 @@ export interface GridProps {
|
|
|
11
14
|
setBulkActionsDialogState: React.Dispatch<React.SetStateAction<{
|
|
12
15
|
[key: string]: IBulkActionsDialogState;
|
|
13
16
|
} | undefined>>;
|
|
17
|
+
extras?: IGridExtras;
|
|
14
18
|
}
|
|
15
|
-
export default function DataGridd({ resources, resourceName, paramsState, bulkActionsDialogState, setBulkActionsDialogState }: GridProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export default function DataGridd({ resources, resourceName, paramsState, bulkActionsDialogState, extras, setBulkActionsDialogState }: GridProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IBulkActionComponent } from '../../../components/BulkActions/IBulkActionComponent';
|
|
3
|
+
import { IGridExtras } from '../../../components/dataGrid/DataGridd';
|
|
3
4
|
import { ListParams } from '../../../components/dataGrid/GridTypes';
|
|
4
5
|
export interface IListProps {
|
|
5
6
|
apiRoute: string;
|
|
@@ -12,6 +13,7 @@ export interface IActionsProps {
|
|
|
12
13
|
setParams: React.Dispatch<React.SetStateAction<ListParams>>;
|
|
13
14
|
}
|
|
14
15
|
export interface IListRecordsProps extends IListProps {
|
|
16
|
+
extras?: IGridExtras;
|
|
15
17
|
Actions?: (props: IActionsProps) => JSX.Element;
|
|
16
18
|
bulkActionsComponents?: IBulkActionComponent;
|
|
17
19
|
}
|