identity-admin-ui 1.12.25 → 1.12.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.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/types/helpers/CrudHelper/Show/IdentityShowProps.d.ts +7 -0
- package/lib/cjs/types/helpers/CrudHelper/Show/ShowRecordProps.d.ts +4 -0
- package/lib/cjs/types/pages/IdentityEditPage.d.ts +4 -0
- package/lib/cjs/types/sections/dashboard/NewEditForm.d.ts +6 -1
- package/lib/cjs/types/sections/dashboard/ShowRecord.d.ts +1 -1
- package/lib/esm/index.js +1 -1
- package/lib/esm/types/helpers/CrudHelper/Show/IdentityShowProps.d.ts +7 -0
- package/lib/esm/types/helpers/CrudHelper/Show/ShowRecordProps.d.ts +4 -0
- package/lib/esm/types/pages/IdentityEditPage.d.ts +4 -0
- package/lib/esm/types/sections/dashboard/NewEditForm.d.ts +6 -1
- package/lib/esm/types/sections/dashboard/ShowRecord.d.ts +1 -1
- package/lib/index.d.ts +15 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ResourcePaths } from "../../../context/PathsContext";
|
|
2
3
|
/**
|
|
3
4
|
* Props for the IdentityShow component, providing information
|
|
@@ -22,4 +23,10 @@ export interface IdentityShowProps {
|
|
|
22
23
|
* The path to the specific resource being shown.
|
|
23
24
|
*/
|
|
24
25
|
path: any;
|
|
26
|
+
/**
|
|
27
|
+
* Fields map for custom fields view;
|
|
28
|
+
*/
|
|
29
|
+
fieldsMap?: Record<string, (props: {
|
|
30
|
+
record: any;
|
|
31
|
+
}) => JSX.Element>;
|
|
25
32
|
}
|
|
@@ -69,4 +69,8 @@ export interface ShowRecordProps extends INextpreviousExtras {
|
|
|
69
69
|
* An optional flag to disable fetching the record.
|
|
70
70
|
*/
|
|
71
71
|
disableFetchRecord?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Fields map for custom fields view;
|
|
74
|
+
*/
|
|
75
|
+
fieldsMap?: Record<string, (record: any) => JSX.Element>;
|
|
72
76
|
}
|
|
@@ -23,5 +23,9 @@ export interface ICreateEdit extends INextpreviousExtras {
|
|
|
23
23
|
defaultFilters?: string | undefined;
|
|
24
24
|
showFilterChips?: boolean;
|
|
25
25
|
hideHeaderBreadcrumbs?: boolean;
|
|
26
|
+
fieldsMap?: Record<string, (props: {
|
|
27
|
+
name: string;
|
|
28
|
+
record?: any;
|
|
29
|
+
}) => JSX.Element>;
|
|
26
30
|
}
|
|
27
31
|
export default function CreateEdit(props: ICreateEdit): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface INewEditFormProps {
|
|
2
3
|
isEdit: boolean;
|
|
3
4
|
isDuplicate?: boolean;
|
|
@@ -13,5 +14,9 @@ export interface INewEditFormProps {
|
|
|
13
14
|
afterCreateSnackText?: (recordName: string) => string;
|
|
14
15
|
enableCreateNewButtonOnReference?: boolean;
|
|
15
16
|
keepFullWidthElements?: boolean;
|
|
17
|
+
fieldsMap?: Record<string, (props: {
|
|
18
|
+
name: string;
|
|
19
|
+
record?: any;
|
|
20
|
+
}) => JSX.Element>;
|
|
16
21
|
}
|
|
17
|
-
export default function NewEditForm({ isEdit, isDuplicate, id, record, path, mediaUploaderFields, onSubmitForm, referencedMap, modelRoute, redirectPath, afterCreateSnackText, afterEditSnackText, enableCreateNewButtonOnReference, keepFullWidthElements, }: INewEditFormProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export default function NewEditForm({ isEdit, isDuplicate, id, record, path, mediaUploaderFields, onSubmitForm, referencedMap, modelRoute, redirectPath, afterCreateSnackText, afterEditSnackText, enableCreateNewButtonOnReference, keepFullWidthElements, fieldsMap }: INewEditFormProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,4 +12,4 @@ import { IdentityShowProps } from '../../helpers/CrudHelper/Show/IdentityShowPro
|
|
|
12
12
|
* <IdentityShow record={record} path="userPath" userPath="userDetails" />
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
|
-
export default function IdentityShow({ record, path, userPath }: IdentityShowProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default function IdentityShow({ record, path, userPath, fieldsMap }: IdentityShowProps): import("react/jsx-runtime").JSX.Element;
|