identity-admin-ui 1.12.11 → 1.12.13
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 +3 -3
- package/lib/cjs/types/components/LocalesTabes.d.ts +4 -1
- package/lib/cjs/types/components/LocalizedStringForm.d.ts +4 -1
- package/lib/cjs/types/context/PathsContext.d.ts +1 -0
- package/lib/cjs/types/helpers/Contsants.d.ts +4 -1
- package/lib/cjs/types/helpers/Localization/LocalesEnums.d.ts +4 -1
- package/lib/cjs/types/pages/IdentityEditPage.d.ts +1 -0
- package/lib/cjs/types/sections/dashboard/ImageCard.d.ts +1 -1
- package/lib/cjs/types/sections/dashboard/NewEditForm.d.ts +2 -1
- package/lib/cjs/types/utils/AwsConfig.d.ts +1 -1
- package/lib/esm/index.js +13 -13
- package/lib/esm/types/components/LocalesTabes.d.ts +4 -1
- package/lib/esm/types/components/LocalizedStringForm.d.ts +4 -1
- package/lib/esm/types/context/PathsContext.d.ts +1 -0
- package/lib/esm/types/helpers/Contsants.d.ts +4 -1
- package/lib/esm/types/helpers/Localization/LocalesEnums.d.ts +4 -1
- package/lib/esm/types/pages/IdentityEditPage.d.ts +1 -0
- package/lib/esm/types/sections/dashboard/ImageCard.d.ts +1 -1
- package/lib/esm/types/sections/dashboard/NewEditForm.d.ts +2 -1
- package/lib/esm/types/utils/AwsConfig.d.ts +1 -1
- package/lib/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -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,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
|
}
|
|
@@ -39,4 +39,4 @@ export interface IImageProps {
|
|
|
39
39
|
shouldTouch: boolean;
|
|
40
40
|
}> | undefined) => void;
|
|
41
41
|
}
|
|
42
|
-
export default function ImageCard({ image, keyValue, isEnglish, imageDialogState, imageOptimizingCategory, label, multiple, fileType, dismissDialogState, setImages, handleEditImage, handleRemoveImage, setImageDialogState, setImage, setValue, disableImageOptimization }: IImageProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
export default function ImageCard({ image, keyValue, isEnglish, imageDialogState, imageOptimizingCategory, label, multiple, fileType, dismissDialogState, setImages, handleEditImage, handleRemoveImage, setImageDialogState, setImage, setValue, disableImageOptimization, }: IImageProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -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;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FileTypes, ImageOptimizingCategories } from '../helpers/Types';
|
|
2
2
|
export declare const uploadFile: (file: any, isImage: boolean, imageOptimizingCategory: ImageOptimizingCategories, callBack?: ((link: string) => void) | undefined) => Promise<unknown>;
|
|
3
|
-
export declare const uploadFiles: (files: File[], fileType: FileTypes) => Promise<string[]>;
|
|
3
|
+
export declare const uploadFiles: (files: File[], fileType: FileTypes, callBack?: ((link: string) => void) | undefined) => Promise<string[]>;
|
package/lib/index.d.ts
CHANGED
|
@@ -330,6 +330,7 @@ interface ResourcePaths {
|
|
|
330
330
|
root: string;
|
|
331
331
|
list: string;
|
|
332
332
|
edit: (id: string) => string;
|
|
333
|
+
duplicate: (id: string) => string;
|
|
333
334
|
show: (id: string) => string;
|
|
334
335
|
new: string;
|
|
335
336
|
}
|
|
@@ -700,6 +701,7 @@ declare function ShowRecord(props: ShowRecordProps): react_jsx_runtime.JSX.Eleme
|
|
|
700
701
|
|
|
701
702
|
interface ICreateEdit extends INextpreviousExtras {
|
|
702
703
|
isEdit: boolean;
|
|
704
|
+
isDuplicate?: boolean;
|
|
703
705
|
modelRoute: string;
|
|
704
706
|
key?: string;
|
|
705
707
|
path: string;
|