identity-admin-ui 1.12.17 → 1.12.19

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.
Files changed (32) hide show
  1. package/lib/cjs/index.css +18 -18
  2. package/lib/cjs/index.js +13 -13
  3. package/lib/cjs/types/components/DashboardFormFields/ArrayField/IdentityArray.d.ts +1 -1
  4. package/lib/cjs/types/components/index.d.ts +1 -0
  5. package/lib/cjs/types/components/upload/MultiFileShow.d.ts +1 -1
  6. package/lib/cjs/types/components/upload/type.d.ts +2 -0
  7. package/lib/cjs/types/context/AppConfigurationsContext.d.ts +7 -1
  8. package/lib/cjs/types/helpers/FileManager/FileData.d.ts +2 -0
  9. package/lib/cjs/types/hooks/useAppConfigurations.d.ts +6 -0
  10. package/lib/cjs/types/layout/dashboard/config-navigation.d.ts +4 -4
  11. package/lib/cjs/types/routes/AdminRouter.d.ts +10 -10
  12. package/lib/cjs/types/routes/paths.d.ts +5 -5
  13. package/lib/cjs/types/sections/dashboard/ImageCard.d.ts +2 -1
  14. package/lib/cjs/types/utils/i18n.d.ts +2 -0
  15. package/lib/cjs/types/utils/index.d.ts +1 -0
  16. package/lib/esm/index.css +18 -18
  17. package/lib/esm/index.js +13 -13
  18. package/lib/esm/types/components/DashboardFormFields/ArrayField/IdentityArray.d.ts +1 -1
  19. package/lib/esm/types/components/index.d.ts +1 -0
  20. package/lib/esm/types/components/upload/MultiFileShow.d.ts +1 -1
  21. package/lib/esm/types/components/upload/type.d.ts +2 -0
  22. package/lib/esm/types/context/AppConfigurationsContext.d.ts +7 -1
  23. package/lib/esm/types/helpers/FileManager/FileData.d.ts +2 -0
  24. package/lib/esm/types/hooks/useAppConfigurations.d.ts +6 -0
  25. package/lib/esm/types/layout/dashboard/config-navigation.d.ts +4 -4
  26. package/lib/esm/types/routes/AdminRouter.d.ts +10 -10
  27. package/lib/esm/types/routes/paths.d.ts +5 -5
  28. package/lib/esm/types/sections/dashboard/ImageCard.d.ts +2 -1
  29. package/lib/esm/types/utils/i18n.d.ts +2 -0
  30. package/lib/esm/types/utils/index.d.ts +1 -0
  31. package/lib/index.d.ts +32 -14
  32. package/package.json +95 -92
@@ -5,7 +5,7 @@ export interface IIdentiyArray {
5
5
  handleRemove: (index: number) => void;
6
6
  itemComponent: (index: number, item: any) => JSX.Element;
7
7
  handleDrop?: (droppedItem: any) => void;
8
- handleAdd: () => void;
8
+ handleAdd?: () => void;
9
9
  addButtonText?: string;
10
10
  list: any;
11
11
  direction?: ArrayDirection;
@@ -2,4 +2,5 @@ export { default as IdentityGrid } from './dataGrid/DataGridd';
2
2
  export { default as NotificationPopover } from './Notifications/NotificationsPopover';
3
3
  export { default as MotionLazyContainer } from './MotionLazyContainer';
4
4
  export { default as SvgIconStyle } from './SvgIconStyle';
5
+ export { default as ThemeSettings } from './settings/index';
5
6
  export * from './Dialog/ActionDialog';
@@ -1,2 +1,2 @@
1
1
  import { UploadMultiImages } from './type';
2
- export default function MultiImagePreview({ showPreview, files, type, disabled, onRemove, setImages, }: UploadMultiImages): import("react/jsx-runtime").JSX.Element;
2
+ export default function MultiImagePreview({ showPreview, files, type, disabled, onRemove, setImages, keyValue, isDraggable }: UploadMultiImages): import("react/jsx-runtime").JSX.Element;
@@ -40,4 +40,6 @@ export interface UploadMultiImages extends DropzoneOptions {
40
40
  onUpload?: VoidFunction;
41
41
  onRemove: (file: FileData) => void;
42
42
  onRemoveAll?: VoidFunction;
43
+ keyValue: string;
44
+ isDraggable?: boolean;
43
45
  }
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { SizeType } from '../helpers/Types';
3
- import { PaletteOptions } from '@mui/material';
3
+ import { BoxProps, PaletteOptions, SxProps } from '@mui/material';
4
4
  type AppConfigurations = {
5
5
  children?: ReactNode;
6
6
  textFieldSize?: SizeType;
@@ -15,6 +15,12 @@ type AppConfigurations = {
15
15
  loginLogo?: string;
16
16
  loginLoginMessage?: string;
17
17
  palette?: PaletteOptions;
18
+ loadingLogoSxProps?: BoxProps;
19
+ loginWelcomeImageSxProps?: SxProps;
20
+ navBarLogoSxProps?: BoxProps;
21
+ miniNavBarLogoSxProps?: SxProps;
22
+ loginLogoSxProps?: SxProps;
23
+ loginMessageSxProps?: SxProps;
18
24
  };
19
25
  declare const AppConfigurationsContext: import("react").Context<AppConfigurations>;
20
26
  declare const AppConfigurationsContextProvider: (props: AppConfigurations) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,10 @@
1
1
  export interface FileData {
2
2
  id: string;
3
3
  name: string;
4
+ url?: string;
4
5
  }
5
6
  export declare function getFileData(file: FileData): {
6
7
  key: string;
7
8
  name: string;
9
+ url: string | undefined;
8
10
  };
@@ -13,4 +13,10 @@ export declare const useAppConfigurations: () => {
13
13
  loginLogo?: string | undefined;
14
14
  loginLoginMessage?: string | undefined;
15
15
  palette?: import("@mui/material").PaletteOptions | undefined;
16
+ loadingLogoSxProps?: import("@mui/material").BoxProps | undefined;
17
+ loginWelcomeImageSxProps?: import("@mui/system").SxProps | undefined;
18
+ navBarLogoSxProps?: import("@mui/material").BoxProps | undefined;
19
+ miniNavBarLogoSxProps?: import("@mui/system").SxProps | undefined;
20
+ loginLogoSxProps?: import("@mui/system").SxProps | undefined;
21
+ loginMessageSxProps?: import("@mui/system").SxProps | undefined;
16
22
  };
@@ -1,4 +1,4 @@
1
- export declare function useNavData(): {
2
- subheader: string;
3
- items: any;
4
- }[];
1
+ export declare function useNavData(): {
2
+ subheader: string;
3
+ items: any;
4
+ }[];
@@ -1,10 +1,10 @@
1
- import { SizeType } from '../helpers/Types';
2
- export declare var SIZE: SizeType;
3
- export default function AdminRouter(): {
4
- path: any;
5
- children: {
6
- path: string;
7
- element: import("react/jsx-runtime").JSX.Element;
8
- children: any[];
9
- }[];
10
- };
1
+ import { SizeType } from '../helpers/Types';
2
+ export declare var SIZE: SizeType;
3
+ export default function AdminRouter(): {
4
+ path: any;
5
+ children: {
6
+ path: string;
7
+ element: import("react/jsx-runtime").JSX.Element;
8
+ children: any[];
9
+ }[];
10
+ };
@@ -1,5 +1,5 @@
1
- export declare function path(root: string, sublink: string): string;
2
- export declare const ADMIN_ROOT = "/admin";
3
- export declare var ADMIN_PATH: {
4
- [key: string]: any;
5
- };
1
+ export declare function path(root: string, sublink: string): string;
2
+ export declare const ADMIN_ROOT = "/admin";
3
+ export declare var ADMIN_PATH: {
4
+ [key: string]: any;
5
+ };
@@ -17,6 +17,7 @@ export interface IImageProps {
17
17
  handleEditImage: (key: string) => void;
18
18
  imageOptimizingCategory?: ImageOptimizingCategories;
19
19
  disableImageOptimization?: boolean;
20
+ isDraggable?: boolean;
20
21
  setImageDialogState: React.Dispatch<React.SetStateAction<{
21
22
  [key: string]: boolean;
22
23
  }>>;
@@ -39,4 +40,4 @@ export interface IImageProps {
39
40
  shouldTouch: boolean;
40
41
  }> | undefined) => void;
41
42
  }
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;
43
+ export default function ImageCard({ image, keyValue, isEnglish, imageDialogState, imageOptimizingCategory, label, multiple, fileType, dismissDialogState, setImages, handleEditImage, handleRemoveImage, setImageDialogState, setImage, setValue, disableImageOptimization, isDraggable, }: IImageProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import i18next from 'i18next';
2
+ export default i18next;
@@ -1 +1,2 @@
1
1
  export * from './format-number';
2
+ export { default as i18ninit } from './i18n';
package/lib/esm/index.css CHANGED
@@ -1,3 +1,21 @@
1
+ .editor {
2
+ padding-left: 20px;
3
+ padding-right: 20px;
4
+ max-height: 350px;
5
+ overflow: auto;
6
+ }
7
+ .toolBar {
8
+ border-style: solid;
9
+ border-width: 0.1px;
10
+ border-radius: 10px;
11
+ border-color:lightgray;
12
+ }
13
+ .wrapper {
14
+ border-style: solid;
15
+ border-width: 0.1px;
16
+ border-radius: 10px;
17
+ border-color:lightgray;
18
+ }
1
19
  /*!
2
20
  Theme: Tomorrow Night
3
21
  Author: Chris Kempson (http://chriskempson.com)
@@ -5,24 +23,6 @@
5
23
  Maintainer: @highlightjs/core-team
6
24
  Version: 2021.09.0
7
25
  */pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#ccc;background:#2d2d2d}.hljs ::selection,.hljs::selection{background-color:#515151;color:#ccc}.hljs-comment{color:#999}.hljs-tag{color:#b4b7b4}.hljs-operator,.hljs-punctuation,.hljs-subst{color:#ccc}.hljs-operator{opacity:.7}.hljs-bullet,.hljs-deletion,.hljs-name,.hljs-selector-tag,.hljs-template-variable,.hljs-variable{color:#f2777a}.hljs-attr,.hljs-link,.hljs-literal,.hljs-number,.hljs-symbol,.hljs-variable.constant_{color:#f99157}.hljs-class .hljs-title,.hljs-title,.hljs-title.class_{color:#fc6}.hljs-strong{font-weight:700;color:#fc6}.hljs-addition,.hljs-code,.hljs-string,.hljs-title.class_.inherited__{color:#9c9}.hljs-built_in,.hljs-doctag,.hljs-keyword.hljs-atrule,.hljs-quote,.hljs-regexp{color:#6cc}.hljs-attribute,.hljs-function .hljs-title,.hljs-section,.hljs-title.function_,.ruby .hljs-property{color:#69c}.diff .hljs-meta,.hljs-keyword,.hljs-template-tag,.hljs-type{color:#c9c}.hljs-emphasis{color:#c9c;font-style:italic}.hljs-meta,.hljs-meta .hljs-keyword,.hljs-meta .hljs-string{color:#a3685a}.hljs-meta .hljs-keyword,.hljs-meta-keyword{font-weight:700}
8
- .editor {
9
- padding-left: 20px;
10
- padding-right: 20px;
11
- max-height: 350px;
12
- overflow: auto;
13
- }
14
- .toolBar {
15
- border-style: solid;
16
- border-width: 0.1px;
17
- border-radius: 10px;
18
- border-color:lightgray;
19
- }
20
- .wrapper {
21
- border-style: solid;
22
- border-width: 0.1px;
23
- border-radius: 10px;
24
- border-color:lightgray;
25
- }
26
26
  /*!
27
27
  * Quill Editor v1.3.7
28
28
  * https://quilljs.com/