identity-admin-ui 1.12.32 → 1.12.34

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.
@@ -1,4 +1,5 @@
1
+ import { NavListProps } from './type';
1
2
  export { default as NavSectionVertical } from './vertical';
2
3
  export { default as NavSectionHorizontal } from './horizontal';
3
4
  export declare function isExternalLink(path: string): boolean;
4
- export declare function getActive(path: string, pathname: string): boolean;
5
+ export declare function getActive(list: NavListProps, pathname: string): boolean;
@@ -1,23 +1,23 @@
1
- /// <reference types="react" />
2
- export interface INewEditFormProps {
3
- isEdit: boolean;
4
- isDuplicate?: boolean;
5
- id?: string;
6
- record?: any;
7
- path: string;
8
- mediaUploaderFields?: string[];
9
- onSubmitForm?: any;
10
- referencedMap?: any;
11
- modelRoute: string;
12
- redirectPath?: (record: any) => string;
13
- afterEditSnackText?: (recordName: string) => string;
14
- afterCreateSnackText?: (recordName: string) => string;
15
- enableCreateNewButtonOnReference?: boolean;
16
- keepFullWidthElements?: boolean;
17
- fieldsMap?: Record<string, (props: {
18
- name: string;
19
- record?: any;
20
- setUploading: (value: boolean) => void;
21
- }) => JSX.Element>;
22
- }
23
- 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;
1
+ /// <reference types="react" />
2
+ export interface INewEditFormProps {
3
+ isEdit: boolean;
4
+ isDuplicate?: boolean;
5
+ id?: string;
6
+ record?: any;
7
+ path: string;
8
+ mediaUploaderFields?: string[];
9
+ onSubmitForm?: any;
10
+ referencedMap?: any;
11
+ modelRoute: string;
12
+ redirectPath?: (record: any) => string;
13
+ afterEditSnackText?: (recordName: string) => string;
14
+ afterCreateSnackText?: (recordName: string) => string;
15
+ enableCreateNewButtonOnReference?: boolean;
16
+ keepFullWidthElements?: boolean;
17
+ fieldsMap?: Record<string, (props: {
18
+ name: string;
19
+ record?: any;
20
+ setUploading: (value: boolean) => void;
21
+ }) => JSX.Element>;
22
+ }
23
+ 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "identity-admin-ui",
3
- "version": "1.12.32",
3
+ "version": "1.12.34",
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",