identity-admin-ui 1.11.28 → 1.11.30

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.
@@ -2,6 +2,7 @@
2
2
  type Props = {
3
3
  handleChange: (event: React.SyntheticEvent, newValue: string) => void;
4
4
  includeFrench?: boolean;
5
+ includeGerman?: boolean;
5
6
  };
6
- export default function LocalizedTabs({ handleChange, includeFrench }: Props): import("react/jsx-runtime").JSX.Element;
7
+ export default function LocalizedTabs({ handleChange, includeFrench, includeGerman }: Props): import("react/jsx-runtime").JSX.Element;
7
8
  export {};
@@ -9,9 +9,10 @@ type Props = {
9
9
  isEdit?: boolean;
10
10
  value: string;
11
11
  includeFrench?: boolean;
12
+ includeGerman?: boolean;
12
13
  setValue: UseFormSetValue<any>;
13
14
  getValues: (name: string) => any;
14
15
  handleChange: (event: React.SyntheticEvent, newValue: string) => void;
15
16
  };
16
- export default function LocalizedStringForm({ title, includeFrench, size, value, isEdit, fieldName, numberOfRows, setValue, getValues, handleChange, }: Props): import("react/jsx-runtime").JSX.Element;
17
+ export default function LocalizedStringForm({ title, includeFrench, includeGerman, size, value, isEdit, fieldName, numberOfRows, setValue, getValues, handleChange, }: Props): import("react/jsx-runtime").JSX.Element;
17
18
  export {};
@@ -1,4 +1,4 @@
1
1
  import { UseFormGetValues, UseFormSetValue } from 'react-hook-form';
2
2
  import { SizeType } from '../../helpers/Types';
3
3
  import { IPaginatedReference } from '../../helpers/ReferencedValues/IPaginatedReference';
4
- export declare function getFieldType(SIZE: SizeType, key: string, schema: any, paginatedRefValues: IPaginatedReference, loading: any, fullKey: string, isEnglish: boolean, handlePaginatedReferenceOpen: (apiRoute: string, pathRoute: string, value: any, key: string, fullKey: string, page: number, filter?: string) => Promise<void>, onRefrenceChanged: (value: any, key: string) => void, setValue: UseFormSetValue<any>, getValues: UseFormGetValues<any>): import("react/jsx-runtime").JSX.Element | undefined;
4
+ export declare function getFieldType(SIZE: SizeType, key: string, schema: any, paginatedRefValues: IPaginatedReference, loading: any, fullKey: string, isEnglish: boolean, handlePaginatedReferenceOpen: (apiRoute: string, pathRoute: string, value: any, key: string, fullKey: string, page: number, filter?: string, filters?: string) => Promise<void>, onRefrenceChanged: (value: any, key: string) => void, setValue: UseFormSetValue<any>, getValues: UseFormGetValues<any>, resources: any): import("react/jsx-runtime").JSX.Element | undefined;
@@ -3,4 +3,4 @@ import { SizeType } from '../../../helpers/Types';
3
3
  import { IPaginatedReference } from '../../../helpers/ReferencedValues/IPaginatedReference';
4
4
  export declare function getQuickFilterFieldType(SIZE: SizeType, key: string, schema: any, paginatedRefValues: IPaginatedReference, loading: any, fullKey: string, isEnglish: boolean, values: {
5
5
  [key: string]: any;
6
- }, handlePaginatedReferenceOpen: (apiRoute: string, pathRoute: string, value: any, key: string, fullKey: string, page: number, filter?: string) => Promise<void>, onChange: (key: any, value: any, searchParamsfields: string[]) => Promise<void>, setValue: UseFormSetValue<any>, getValues: UseFormGetValues<any>): import("react/jsx-runtime").JSX.Element | undefined;
6
+ }, handlePaginatedReferenceOpen: (apiRoute: string, pathRoute: string, value: any, key: string, fullKey: string, page: number, filter?: string, filters?: string) => Promise<void>, onChange: (key: any, value: any, searchParamsfields: string[]) => Promise<void>, setValue: UseFormSetValue<any>, getValues: UseFormGetValues<any>, resources: any): import("react/jsx-runtime").JSX.Element | undefined;
@@ -1,5 +1,6 @@
1
1
  export declare enum Flags {
2
2
  ENGLISH_FLAG = "https://pngimg.com/uploads/flags/flags_PNG14592.png",
3
3
  ARABIC_FLAG = "/assets/icons/flags/ic_flag_sa.svg",
4
- FRENCH_FLAG = "/assets/icons/flags/ic_flag_fr.svg"
4
+ FRENCH_FLAG = "/assets/icons/flags/ic_flag_fr.svg",
5
+ GERMAN_FLAG = "/assets/icons/flags/ic_flag_de.svg"
5
6
  }
@@ -1,5 +1,6 @@
1
1
  export declare enum Languages {
2
2
  ENGLISH = "en",
3
3
  ARABIC = "ar",
4
- FRENCH = "fr"
4
+ FRENCH = "fr",
5
+ GERMAN = "de"
5
6
  }
@@ -22,4 +22,5 @@ export interface IPaginatedReferenceValueProps {
22
22
  setReferencedValues: (value: any) => void;
23
23
  page: number;
24
24
  filter?: string;
25
+ filters?: string;
25
26
  }
@@ -1,2 +1,20 @@
1
1
  import { IPaginatedReferenceValueProps } from './IPaginatedReference';
2
- export declare function getPaginatedReferenceValues({ referencedValues, value, loading, extraKey, fullKey, key, apiRoute, resources, pathRoute, schema, setLoading, setReferencedValues, page, filter, }: IPaginatedReferenceValueProps): Promise<void>;
2
+ export declare function getPaginatedReferenceValues({ referencedValues, value, loading, extraKey, fullKey, key, apiRoute, resources, pathRoute, schema, setLoading, setReferencedValues, page, filter, filters, }: IPaginatedReferenceValueProps): Promise<void>;
3
+ /**
4
+ * Enum for filter types
5
+ * @readonly
6
+ * @enum {string}
7
+ */
8
+ export declare enum FilterType {
9
+ FORM_LIST = "formList",
10
+ FILTER_LIST = "filterList"
11
+ }
12
+ /**
13
+ * Generates default filters for reference fields based on schema configuration
14
+ * @param {Object} schema - The schema object containing field configuration
15
+ * @param {string} key - The key of the current field
16
+ * @param {string} filterType - The type of filter to use ('formList' or 'filterList')
17
+ * @param {Object} resource - resource object
18
+ * @returns {string} - URL encoded filter string
19
+ */
20
+ export declare const generateDefaultFilters: (schema: any, key: string, filterType: FilterType, resource?: any) => string;