identity-admin-ui 1.11.42 → 1.11.44
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 +1 -1
- package/lib/cjs/types/context/ResourcesContext.d.ts +2 -0
- package/lib/cjs/types/helpers/CrudHelper/Show/ShowRecordProps.d.ts +4 -0
- package/lib/cjs/types/hooks/useResources.d.ts +2 -0
- package/lib/esm/index.js +2 -2
- package/lib/esm/types/context/ResourcesContext.d.ts +2 -0
- package/lib/esm/types/helpers/CrudHelper/Show/ShowRecordProps.d.ts +4 -0
- package/lib/esm/types/hooks/useResources.d.ts +2 -0
- package/lib/index.d.ts +9 -0
- package/package.json +1 -1
|
@@ -14,6 +14,8 @@ declare const ResourcesContext: import("react").Context<{
|
|
|
14
14
|
getResources: () => void;
|
|
15
15
|
state: RequestState;
|
|
16
16
|
clearResources: () => void;
|
|
17
|
+
loadingLogo?: string | undefined;
|
|
18
|
+
logoSxProps?: SxProps | undefined;
|
|
17
19
|
}>;
|
|
18
20
|
export interface ResourcesContextConfig {
|
|
19
21
|
resourcesUrl: string;
|
|
@@ -61,4 +61,8 @@ export interface ShowRecordProps extends INextpreviousExtras {
|
|
|
61
61
|
* An optional flag to disable default actions like edit.
|
|
62
62
|
*/
|
|
63
63
|
hideHeaderBreadcrumbs?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* An optional flag to disable skeleton before loading record.
|
|
66
|
+
*/
|
|
67
|
+
hideSkeleton?: boolean;
|
|
64
68
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { ReactElement, ReactNode, Dispatch, SetStateAction } from 'react';
|
|
|
5
5
|
import { GridCellParams, GridRenderCellParams, GridDensity, GridSortDirection, GridRowSelectionModel } from '@mui/x-data-grid';
|
|
6
6
|
import * as axios from 'axios';
|
|
7
7
|
import { AxiosRequestConfig } from 'axios';
|
|
8
|
+
import * as _mui_system from '@mui/system';
|
|
8
9
|
import * as _mui_material from '@mui/material';
|
|
9
10
|
import { SxProps, AlertColor as AlertColor$1 } from '@mui/material';
|
|
10
11
|
import * as notistack from 'notistack';
|
|
@@ -301,6 +302,8 @@ declare const ResourcesContext: react.Context<{
|
|
|
301
302
|
getResources: () => void;
|
|
302
303
|
state: RequestState;
|
|
303
304
|
clearResources: () => void;
|
|
305
|
+
loadingLogo?: string | undefined;
|
|
306
|
+
logoSxProps?: SxProps | undefined;
|
|
304
307
|
}>;
|
|
305
308
|
interface ResourcesContextConfig {
|
|
306
309
|
resourcesUrl: string;
|
|
@@ -591,6 +594,10 @@ interface ShowRecordProps extends INextpreviousExtras {
|
|
|
591
594
|
* An optional flag to disable default actions like edit.
|
|
592
595
|
*/
|
|
593
596
|
hideHeaderBreadcrumbs?: boolean;
|
|
597
|
+
/**
|
|
598
|
+
* An optional flag to disable skeleton before loading record.
|
|
599
|
+
*/
|
|
600
|
+
hideSkeleton?: boolean;
|
|
594
601
|
}
|
|
595
602
|
|
|
596
603
|
/**
|
|
@@ -687,6 +694,8 @@ declare const useResources: () => {
|
|
|
687
694
|
getResources: () => void;
|
|
688
695
|
state: RequestState;
|
|
689
696
|
clearResources: () => void;
|
|
697
|
+
loadingLogo?: string | undefined;
|
|
698
|
+
logoSxProps?: _mui_system.SxProps | undefined;
|
|
690
699
|
};
|
|
691
700
|
|
|
692
701
|
declare const useCredentials: () => CredentialKeys;
|