identity-admin-ui 1.11.46 → 1.12.0

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.
@@ -3,6 +3,7 @@ type Props = {
3
3
  handleChange: (event: React.SyntheticEvent, newValue: string) => void;
4
4
  includeFrench?: boolean;
5
5
  includeGerman?: boolean;
6
+ includeSpanish?: boolean;
6
7
  };
7
- export default function LocalizedTabs({ handleChange, includeFrench, includeGerman }: Props): import("react/jsx-runtime").JSX.Element;
8
+ export default function LocalizedTabs({ handleChange, includeFrench, includeGerman, includeSpanish }: Props): import("react/jsx-runtime").JSX.Element;
8
9
  export {};
@@ -10,9 +10,10 @@ type Props = {
10
10
  value: string;
11
11
  includeFrench?: boolean;
12
12
  includeGerman?: boolean;
13
+ includeSpanish?: boolean;
13
14
  setValue: UseFormSetValue<any>;
14
15
  getValues: (name: string) => any;
15
16
  handleChange: (event: React.SyntheticEvent, newValue: string) => void;
16
17
  };
17
- export default function LocalizedStringForm({ title, includeFrench, includeGerman, size, value, isEdit, fieldName, numberOfRows, setValue, getValues, handleChange, }: Props): import("react/jsx-runtime").JSX.Element;
18
+ export default function LocalizedStringForm({ title, includeFrench, includeGerman, includeSpanish, size, value, isEdit, fieldName, numberOfRows, setValue, getValues, handleChange, }: Props): import("react/jsx-runtime").JSX.Element;
18
19
  export {};
@@ -0,0 +1,3 @@
1
+ export declare function ExpandableCell({ value }: {
2
+ value: string;
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
- export declare const formats: string[];
2
- type EditorToolbarProps = {
3
- id: string;
4
- isSimple?: boolean;
5
- };
6
- export default function Toolbar({ id, isSimple, ...other }: EditorToolbarProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
1
+ export declare const formats: string[];
2
+ type EditorToolbarProps = {
3
+ id: string;
4
+ isSimple?: boolean;
5
+ };
6
+ export default function Toolbar({ id, isSimple, ...other }: EditorToolbarProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -2,5 +2,6 @@ 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
4
  FRENCH_FLAG = "/assets/icons/flags/ic_flag_fr.svg",
5
- GERMAN_FLAG = "/assets/icons/flags/ic_flag_de.svg"
5
+ GERMAN_FLAG = "/assets/icons/flags/ic_flag_de.svg",
6
+ SPANISH_FLAG = "/assets/icons/flags/ic_flag_es.svg"
6
7
  }
@@ -1,72 +1,72 @@
1
- /// <reference types="react" />
2
- import { TLink } from '../../../components/Breadcrumbs';
3
- import { INextpreviousExtras } from '../../../components/Buttons/NextPreviousButtons';
4
- /**
5
- * Props interface for the ShowRecord component.
6
- * This interface defines the properties required to render the record detail view,
7
- * including optional custom components and actions.
8
- */
9
- export interface ShowRecordProps extends INextpreviousExtras {
10
- /**
11
- * An optional key for React's reconciliation process.
12
- */
13
- key?: string;
14
- /**
15
- * The path to the specific resource being shown.
16
- */
17
- path: string;
18
- /**
19
- * The API route to fetch the model data for the resource.
20
- */
21
- modelRoute: string;
22
- /**
23
- * An optional custom component to render the record details.
24
- * @param props - The props passed to the component.
25
- * @returns {JSX.Element} The rendered component.
26
- */
27
- Component?: (props: any) => JSX.Element;
28
- /**
29
- * An optional custom component for rendering the heading view.
30
- * @param props - The props passed to the component.
31
- * @returns {JSX.Element} The rendered component.
32
- */
33
- HeadingView?: (props: any) => JSX.Element;
34
- /**
35
- * An optional component to render additional actions related to the record.
36
- * @param props - The props passed to the component.
37
- * @returns {JSX.Element} The rendered component.
38
- */
39
- Actions?: (props: any) => JSX.Element;
40
- /**
41
- * An optional component to render children elements within the breadcrumbs.
42
- * @param props - The props passed to the component.
43
- * @returns {JSX.Element} The rendered component.
44
- */
45
- BreadcrumbsChildren?: (props: any) => JSX.Element;
46
- /**
47
- * An optional array of links for the breadcrumbs navigation.
48
- * This can be used to generate links based on the current record's data.
49
- */
50
- BreadCrumbLinks?: (props: any) => TLink[];
51
- /**
52
- * An optional flag to disable default actions like edit.
53
- */
54
- disableDefaultActions?: boolean;
55
- /**
56
- * An optional string representing default filters to apply when fetching records.
57
- */
58
- defaultFilters?: string;
59
- showFilterChips?: boolean;
60
- /**
61
- * An optional flag to disable default actions like edit.
62
- */
63
- hideHeaderBreadcrumbs?: boolean;
64
- /**
65
- * An optional flag to disable skeleton before loading record.
66
- */
67
- hideSkeleton?: boolean;
68
- /**
69
- * An optional flag to disable fetching the record.
70
- */
71
- disableFetchRecord?: boolean;
72
- }
1
+ /// <reference types="react" />
2
+ import { TLink } from '../../../components/Breadcrumbs';
3
+ import { INextpreviousExtras } from '../../../components/Buttons/NextPreviousButtons';
4
+ /**
5
+ * Props interface for the ShowRecord component.
6
+ * This interface defines the properties required to render the record detail view,
7
+ * including optional custom components and actions.
8
+ */
9
+ export interface ShowRecordProps extends INextpreviousExtras {
10
+ /**
11
+ * An optional key for React's reconciliation process.
12
+ */
13
+ key?: string;
14
+ /**
15
+ * The path to the specific resource being shown.
16
+ */
17
+ path: string;
18
+ /**
19
+ * The API route to fetch the model data for the resource.
20
+ */
21
+ modelRoute: string;
22
+ /**
23
+ * An optional custom component to render the record details.
24
+ * @param props - The props passed to the component.
25
+ * @returns {JSX.Element} The rendered component.
26
+ */
27
+ Component?: (props: any) => JSX.Element;
28
+ /**
29
+ * An optional custom component for rendering the heading view.
30
+ * @param props - The props passed to the component.
31
+ * @returns {JSX.Element} The rendered component.
32
+ */
33
+ HeadingView?: (props: any) => JSX.Element;
34
+ /**
35
+ * An optional component to render additional actions related to the record.
36
+ * @param props - The props passed to the component.
37
+ * @returns {JSX.Element} The rendered component.
38
+ */
39
+ Actions?: (props: any) => JSX.Element;
40
+ /**
41
+ * An optional component to render children elements within the breadcrumbs.
42
+ * @param props - The props passed to the component.
43
+ * @returns {JSX.Element} The rendered component.
44
+ */
45
+ BreadcrumbsChildren?: (props: any) => JSX.Element;
46
+ /**
47
+ * An optional array of links for the breadcrumbs navigation.
48
+ * This can be used to generate links based on the current record's data.
49
+ */
50
+ BreadCrumbLinks?: (props: any) => TLink[];
51
+ /**
52
+ * An optional flag to disable default actions like edit.
53
+ */
54
+ disableDefaultActions?: boolean;
55
+ /**
56
+ * An optional string representing default filters to apply when fetching records.
57
+ */
58
+ defaultFilters?: string;
59
+ showFilterChips?: boolean;
60
+ /**
61
+ * An optional flag to disable default actions like edit.
62
+ */
63
+ hideHeaderBreadcrumbs?: boolean;
64
+ /**
65
+ * An optional flag to disable skeleton before loading record.
66
+ */
67
+ hideSkeleton?: boolean;
68
+ /**
69
+ * An optional flag to disable fetching the record.
70
+ */
71
+ disableFetchRecord?: boolean;
72
+ }
@@ -2,5 +2,6 @@ export declare enum Languages {
2
2
  ENGLISH = "en",
3
3
  ARABIC = "ar",
4
4
  FRENCH = "fr",
5
- GERMAN = "de"
5
+ GERMAN = "de",
6
+ SPANISH = "es"
6
7
  }
@@ -0,0 +1 @@
1
+ export declare const isLongUnbreakableText: (value: any) => boolean;