identity-admin-ui 1.12.18 → 1.12.20
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.css +18 -18
- package/lib/cjs/index.js +13 -13
- package/lib/cjs/types/components/ImportAction/ImportAction.d.ts +9 -0
- package/lib/cjs/types/components/ImportAction/ImportNewFileDialog.d.ts +17 -0
- package/lib/cjs/types/components/index.d.ts +1 -0
- package/lib/cjs/types/context/AppConfigurationsContext.d.ts +7 -1
- package/lib/cjs/types/context/Resource.d.ts +1 -0
- package/lib/cjs/types/hooks/useAppConfigurations.d.ts +6 -0
- package/lib/cjs/types/layout/dashboard/config-navigation.d.ts +4 -4
- package/lib/cjs/types/routes/AdminRouter.d.ts +10 -10
- package/lib/cjs/types/routes/paths.d.ts +5 -5
- package/lib/cjs/types/utils/i18n.d.ts +2 -0
- package/lib/cjs/types/utils/index.d.ts +1 -0
- package/lib/esm/index.css +18 -18
- package/lib/esm/index.js +13 -13
- package/lib/esm/types/components/ImportAction/ImportAction.d.ts +9 -0
- package/lib/esm/types/components/ImportAction/ImportNewFileDialog.d.ts +17 -0
- package/lib/esm/types/components/index.d.ts +1 -0
- package/lib/esm/types/context/AppConfigurationsContext.d.ts +7 -1
- package/lib/esm/types/context/Resource.d.ts +1 -0
- package/lib/esm/types/hooks/useAppConfigurations.d.ts +6 -0
- package/lib/esm/types/layout/dashboard/config-navigation.d.ts +4 -4
- package/lib/esm/types/routes/AdminRouter.d.ts +10 -10
- package/lib/esm/types/routes/paths.d.ts +5 -5
- package/lib/esm/types/utils/i18n.d.ts +2 -0
- package/lib/esm/types/utils/index.d.ts +1 -0
- package/lib/index.d.ts +33 -14
- package/package.json +95 -92
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ListParams } from '../dataGrid/GridTypes';
|
|
3
|
+
interface IImportActionProps {
|
|
4
|
+
setParams: (value: React.SetStateAction<ListParams>) => void;
|
|
5
|
+
path: string;
|
|
6
|
+
buttonValue?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function ImportAction({ setParams, path, buttonValue }: IImportActionProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DialogProps } from '@mui/material';
|
|
3
|
+
interface Props extends DialogProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
uploadMessage?: string;
|
|
6
|
+
removeMessage?: string;
|
|
7
|
+
path: string;
|
|
8
|
+
onCreate?: VoidFunction;
|
|
9
|
+
onUpdate?: VoidFunction;
|
|
10
|
+
folderName?: string;
|
|
11
|
+
onChangeFolderName?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
12
|
+
open: boolean;
|
|
13
|
+
onClose: VoidFunction;
|
|
14
|
+
setParams?: (value: React.SetStateAction<any>) => void;
|
|
15
|
+
}
|
|
16
|
+
export declare function ImportNewFileDialog({ title, uploadMessage, removeMessage, open, path, setParams, onClose, onCreate, onUpdate, folderName, onChangeFolderName, ...other }: Props): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -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,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;
|
|
@@ -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
|
+
};
|
package/lib/esm/index.css
CHANGED
|
@@ -1,21 +1,3 @@
|
|
|
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
|
-
}
|
|
19
1
|
/*!
|
|
20
2
|
Theme: Tomorrow Night
|
|
21
3
|
Author: Chris Kempson (http://chriskempson.com)
|
|
@@ -23,6 +5,24 @@
|
|
|
23
5
|
Maintainer: @highlightjs/core-team
|
|
24
6
|
Version: 2021.09.0
|
|
25
7
|
*/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/
|