identity-admin-ui 1.6.16 → 1.7.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.
- package/lib/cjs/index.js +2 -2
- package/lib/cjs/types/components/dataGrid/DataGridd.d.ts +5 -1
- package/lib/cjs/types/components/dataGrid/GridField.d.ts +10 -0
- package/lib/cjs/types/components/dataGrid/GridUtils.d.ts +1 -3
- package/lib/cjs/types/context/Resource.d.ts +1 -0
- package/lib/esm/index.js +2 -2
- package/lib/esm/types/components/dataGrid/DataGridd.d.ts +5 -1
- package/lib/esm/types/components/dataGrid/GridField.d.ts +10 -0
- package/lib/esm/types/components/dataGrid/GridUtils.d.ts +1 -3
- package/lib/esm/types/context/Resource.d.ts +1 -0
- package/lib/index.d.ts +10 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { GridRenderCellParams } from '@mui/x-data-grid';
|
|
3
|
+
import { ParamsState, ListProps } from './GridTypes';
|
|
3
4
|
import { IBulkActionsDialogState } from '../BulkActions/BulkActionDialogs';
|
|
4
5
|
export interface IGridExtras {
|
|
5
6
|
noRowsText?: string;
|
|
@@ -9,6 +10,9 @@ export interface IGridExtras {
|
|
|
9
10
|
itemsSelectedText?: string;
|
|
10
11
|
cancelText?: string;
|
|
11
12
|
confirmText?: string;
|
|
13
|
+
onClickProperty?: {
|
|
14
|
+
[key: string]: (prop: ListProps, resourceName: string, params: GridRenderCellParams) => void;
|
|
15
|
+
};
|
|
12
16
|
}
|
|
13
17
|
export interface GridProps {
|
|
14
18
|
resources: any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { GridRenderCellParams } from '@mui/x-data-grid';
|
|
2
|
+
import { ListProps } from './GridTypes';
|
|
3
|
+
import { IGridExtras } from './DataGridd';
|
|
4
|
+
export interface IGridField {
|
|
5
|
+
params: GridRenderCellParams;
|
|
6
|
+
props: ListProps;
|
|
7
|
+
resourceName: string;
|
|
8
|
+
extras?: IGridExtras;
|
|
9
|
+
}
|
|
10
|
+
export declare function GridField({ params, props, resourceName, extras }: IGridField): import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,6 +12,4 @@ export declare function setGridMode(mode: GridMode): {
|
|
|
12
12
|
sortingMode: GridMode;
|
|
13
13
|
filterMode: GridMode;
|
|
14
14
|
};
|
|
15
|
-
export declare function createColumns(listProperties: ListProps[], resources: any, resourceName: string, dialogState: DialogState, gridState: ParamsState,
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
}, baseApiRoute: string, isDesktop?: boolean, extras?: IGridExtras): GridColDef[];
|
|
15
|
+
export declare function createColumns(listProperties: ListProps[], resources: any, resourceName: string, dialogState: DialogState, gridState: ParamsState, isDesktop?: boolean, extras?: IGridExtras): GridColDef[];
|