identity-admin-ui 1.12.12 → 1.12.14

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.
@@ -4,6 +4,9 @@ type Props = {
4
4
  includeFrench?: boolean;
5
5
  includeGerman?: boolean;
6
6
  includeSpanish?: boolean;
7
+ includeDanish?: boolean;
8
+ includeNorwegian?: boolean;
9
+ includeSwedish?: boolean;
7
10
  };
8
- export default function LocalizedTabs({ handleChange, includeFrench, includeGerman, includeSpanish }: Props): import("react/jsx-runtime").JSX.Element;
11
+ export default function LocalizedTabs({ handleChange, includeFrench, includeGerman, includeSpanish, includeDanish, includeNorwegian, includeSwedish, }: Props): import("react/jsx-runtime").JSX.Element;
9
12
  export {};
@@ -11,9 +11,12 @@ type Props = {
11
11
  includeFrench?: boolean;
12
12
  includeGerman?: boolean;
13
13
  includeSpanish?: boolean;
14
+ includeDanish?: boolean;
15
+ includeNorwegian?: boolean;
16
+ includeSwedish?: boolean;
14
17
  setValue: UseFormSetValue<any>;
15
18
  getValues: (name: string) => any;
16
19
  handleChange: (event: React.SyntheticEvent, newValue: string) => void;
17
20
  };
18
- export default function LocalizedStringForm({ title, includeFrench, includeGerman, includeSpanish, size, value, isEdit, fieldName, numberOfRows, setValue, getValues, handleChange, }: Props): import("react/jsx-runtime").JSX.Element;
21
+ export default function LocalizedStringForm({ title, includeFrench, includeGerman, includeSpanish, includeDanish, includeNorwegian, includeSwedish, size, value, isEdit, fieldName, numberOfRows, setValue, getValues, handleChange, }: Props): import("react/jsx-runtime").JSX.Element;
19
22
  export {};
@@ -3,6 +3,7 @@ export interface ResourcePaths {
3
3
  root: string;
4
4
  list: string;
5
5
  edit: (id: string) => string;
6
+ duplicate: (id: string) => string;
6
7
  show: (id: string) => string;
7
8
  new: string;
8
9
  }
@@ -3,5 +3,8 @@ export declare enum Flags {
3
3
  ARABIC_FLAG = "/assets/icons/flags/ic_flag_sa.svg",
4
4
  FRENCH_FLAG = "/assets/icons/flags/ic_flag_fr.svg",
5
5
  GERMAN_FLAG = "/assets/icons/flags/ic_flag_de.svg",
6
- SPANISH_FLAG = "/assets/icons/flags/ic_flag_es.svg"
6
+ SPANISH_FLAG = "/assets/icons/flags/ic_flag_es.svg",
7
+ DANISH_FLAG = "/assets/icons/flags/ic_flag_da.svg",
8
+ NORWEGIAN_FLAG = "/assets/icons/flags/ic_flag_no.svg",
9
+ SWEDISH_FLAG = "/assets/icons/flags/ic_flag_se.svg"
7
10
  }
@@ -3,5 +3,8 @@ export declare enum Languages {
3
3
  ARABIC = "ar",
4
4
  FRENCH = "fr",
5
5
  GERMAN = "de",
6
- SPANISH = "es"
6
+ SPANISH = "es",
7
+ DANISH = "da",
8
+ NORWEGIAN = "no",
9
+ SWEDISH = "se"
7
10
  }
@@ -4,6 +4,7 @@ import { TLink } from '../components/Breadcrumbs';
4
4
  import 'react-quill/dist/quill.snow.css';
5
5
  export interface ICreateEdit extends INextpreviousExtras {
6
6
  isEdit: boolean;
7
+ isDuplicate?: boolean;
7
8
  modelRoute: string;
8
9
  key?: string;
9
10
  path: string;
@@ -1,5 +1,6 @@
1
1
  export interface INewEditFormProps {
2
2
  isEdit: boolean;
3
+ isDuplicate?: boolean;
3
4
  id?: string;
4
5
  record?: any;
5
6
  path: string;
@@ -13,4 +14,4 @@ export interface INewEditFormProps {
13
14
  enableCreateNewButtonOnReference?: boolean;
14
15
  keepFullWidthElements?: boolean;
15
16
  }
16
- export default function NewEditForm({ isEdit, id, record, path, mediaUploaderFields, onSubmitForm, referencedMap, modelRoute, redirectPath, afterCreateSnackText, afterEditSnackText, enableCreateNewButtonOnReference, keepFullWidthElements, }: INewEditFormProps): import("react/jsx-runtime").JSX.Element;
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;