identity-admin-ui 1.7.5 → 1.7.6

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.
@@ -7,3 +7,4 @@ export * from './theme';
7
7
  export { default as ThemeProvider } from './theme';
8
8
  export * from './routes';
9
9
  export { NextPreviousButtons } from './components/Buttons/NextPreviousButtons';
10
+ export * from './components';
package/lib/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import * as react from 'react';
4
- import { ReactElement, ReactNode } from 'react';
4
+ import { ReactElement, Dispatch, SetStateAction, ReactNode } from 'react';
5
5
  import { GridRenderCellParams, GridSortDirection, GridRowSelectionModel } from '@mui/x-data-grid';
6
6
  import * as axios from 'axios';
7
7
  import { AxiosRequestConfig } from 'axios';
@@ -53,6 +53,19 @@ interface IGridExtras {
53
53
  [key: string]: (prop: ListProps, resourceName: string, params: GridRenderCellParams) => void;
54
54
  };
55
55
  }
56
+ interface GridProps {
57
+ resources: any;
58
+ resourceName: string;
59
+ paramsState: ParamsState;
60
+ bulkActionsDialogState: {
61
+ [key: string]: IBulkActionsDialogState;
62
+ } | undefined;
63
+ setBulkActionsDialogState: react.Dispatch<react.SetStateAction<{
64
+ [key: string]: IBulkActionsDialogState;
65
+ } | undefined>>;
66
+ extras?: IGridExtras;
67
+ }
68
+ declare function DataGridd({ resources, resourceName, paramsState, bulkActionsDialogState, extras, setBulkActionsDialogState }: GridProps): react_jsx_runtime.JSX.Element;
56
69
 
57
70
  interface ListProps {
58
71
  value: string;
@@ -68,6 +81,7 @@ interface ListParams {
68
81
  scope?: string;
69
82
  filters?: string;
70
83
  }
84
+ type ParamsState = [ListParams, Dispatch<SetStateAction<ListParams>>];
71
85
 
72
86
  interface IBulkActionsDialogState {
73
87
  state: boolean;
@@ -550,4 +564,4 @@ declare function DashBoardRouter(props: any): {
550
564
  }[];
551
565
  };
552
566
 
553
- export { ApiContext, ApiContextConfig, ApiContextProps, ApiContextProvider, AppConfigurationsContext, AppConfigurationsContextProvider, CredentialKeys, CredentialsContext, CredentialsContextProvider, DashboardLayout, DialogContext, DialogContextProvider, IAction, IActionMin, IDialogProps, IExtarAction, IExtras, IFilter, IMainProperty, IParent, IProperty, ISchemaObject, ISnackMessageProps, IState, IdentityModelConfigurationPage as IdenityModelConfiguration, IdentityClient, CreateEdit as IdentityEdit, ListRecords as IdentityList, IdentityPage, IdentityPageProps, DashBoardRouter as IdentityRouter, ShowRecord as IdentityShow, NextPreviousButtons, PageVariant, PathsContext, PathsContextConfig, PathsContextProvider, RequestConfig, RequestState, ResourcePaths, ResourceResponse, ResourcesContext, ResourcesContextConfig, ResourcesContextProvider, SettingsValueProps, Severity, SnackAlertContext, SnackAlertProvider, State, ThemeProps, ThemeProvider, orderTypes, path, useApi, useAppConfigurations, useCredentials, useDialogs, useNavData, usePaths, useResources, useSnackAlert };
567
+ export { ApiContext, ApiContextConfig, ApiContextProps, ApiContextProvider, AppConfigurationsContext, AppConfigurationsContextProvider, CredentialKeys, CredentialsContext, CredentialsContextProvider, DashboardLayout, DialogContext, DialogContextProvider, IAction, IActionMin, IDialogProps, IExtarAction, IExtras, IFilter, IMainProperty, IParent, IProperty, ISchemaObject, ISnackMessageProps, IState, IdentityModelConfigurationPage as IdenityModelConfiguration, IdentityClient, CreateEdit as IdentityEdit, DataGridd as IdentityGrid, ListRecords as IdentityList, IdentityPage, IdentityPageProps, DashBoardRouter as IdentityRouter, ShowRecord as IdentityShow, NextPreviousButtons, PageVariant, PathsContext, PathsContextConfig, PathsContextProvider, RequestConfig, RequestState, ResourcePaths, ResourceResponse, ResourcesContext, ResourcesContextConfig, ResourcesContextProvider, SettingsValueProps, Severity, SnackAlertContext, SnackAlertProvider, State, ThemeProps, ThemeProvider, orderTypes, path, useApi, useAppConfigurations, useCredentials, useDialogs, useNavData, usePaths, useResources, useSnackAlert };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "identity-admin-ui",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "description": "Identity solutions UI package using for identity-admin dashboard",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/esm/index.js",