identity-admin-ui 1.8.24 → 1.8.26

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.
@@ -5,6 +5,8 @@ export interface RequestConfig {
5
5
  body?: any;
6
6
  axiosRequestConfig?: AxiosRequestConfig;
7
7
  query?: any;
8
+ onSuccess?: (data: any) => void;
9
+ onError?: (error: any) => void;
8
10
  }
9
11
  declare function useApi<T>(): {
10
12
  requestState: IState<T>;
@@ -8,3 +8,4 @@ export { default as ThemeProvider } from './theme';
8
8
  export * from './routes';
9
9
  export { NextPreviousButtons } from './components/Buttons/NextPreviousButtons';
10
10
  export * from './components';
11
+ export * from './sections/dashboard';
@@ -0,0 +1 @@
1
+ export { default as ShowRecord } from './ShowRecord';
package/lib/index.d.ts CHANGED
@@ -495,6 +495,8 @@ interface RequestConfig {
495
495
  body?: any;
496
496
  axiosRequestConfig?: AxiosRequestConfig;
497
497
  query?: any;
498
+ onSuccess?: (data: any) => void;
499
+ onError?: (error: any) => void;
498
500
  }
499
501
  declare function useApi<T>(): {
500
502
  requestState: IState<T>;
@@ -593,4 +595,16 @@ declare function DashBoardRouter(props: any): {
593
595
  }[];
594
596
  };
595
597
 
596
- export { ApiContext, ApiContextConfig, ApiContextProps, ApiContextProvider, AppConfigurationsContext, AppConfigurationsContextProvider, CredentialKeys, CredentialsContext, CredentialsContextProvider, DashboardLayout, DialogContext, DialogContextProvider, IAction, IActionMin, IDialogProps, IExtarAction, IExtras, IFilter, IMainProperty, IOptionalResource, 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 };
598
+ interface IdentityShowProps {
599
+ record: {
600
+ [key: string]: any;
601
+ };
602
+ userPath: {
603
+ [key: string]: ResourcePaths;
604
+ };
605
+ path: any;
606
+ }
607
+
608
+ declare function IdentityShow({ record, path, userPath }: IdentityShowProps): react_jsx_runtime.JSX.Element;
609
+
610
+ export { ApiContext, ApiContextConfig, ApiContextProps, ApiContextProvider, AppConfigurationsContext, AppConfigurationsContextProvider, CredentialKeys, CredentialsContext, CredentialsContextProvider, DashboardLayout, DialogContext, DialogContextProvider, IAction, IActionMin, IDialogProps, IExtarAction, IExtras, IFilter, IMainProperty, IOptionalResource, 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, IdentityShow as ShowRecord, 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.8.24",
3
+ "version": "1.8.26",
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",