identity-admin-ui 1.11.41 → 1.11.43
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 +37 -37
- package/lib/cjs/index.js +3 -3
- package/lib/cjs/types/components/editor/toolbar.d.ts +7 -7
- package/lib/cjs/types/components/filter/OnSubmitFilter.d.ts +2 -1
- package/lib/cjs/types/context/ResourcesContext.d.ts +2 -0
- package/lib/cjs/types/helpers/CrudHelper/Show/ShowRecordProps.d.ts +4 -0
- package/lib/cjs/types/hooks/useResources.d.ts +2 -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/esm/index.css +37 -37
- package/lib/esm/index.js +3 -3
- package/lib/esm/types/components/editor/toolbar.d.ts +7 -7
- package/lib/esm/types/components/filter/OnSubmitFilter.d.ts +2 -1
- package/lib/esm/types/context/ResourcesContext.d.ts +2 -0
- package/lib/esm/types/helpers/CrudHelper/Show/ShowRecordProps.d.ts +4 -0
- package/lib/esm/types/hooks/useResources.d.ts +2 -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/index.d.ts +9 -0
- package/package.json +89 -89
|
@@ -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 {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { NavigateOptions } from 'react-router';
|
|
2
2
|
import { URLSearchParamsInit } from 'react-router-dom';
|
|
3
|
-
|
|
3
|
+
import { ResourceResponse } from '../../context';
|
|
4
|
+
export declare function onSubmitFilter(data: any, handleFilterDrawerClose: () => void, schema: any, searchParams: URLSearchParams, setSearchParams: (nextInit?: URLSearchParamsInit | ((prev: URLSearchParams) => URLSearchParamsInit) | undefined, navigateOpts?: NavigateOptions | undefined) => void, scopeKey?: string, scopeValue?: string, resources?: ResourceResponse): string;
|
|
@@ -14,6 +14,8 @@ declare const ResourcesContext: import("react").Context<{
|
|
|
14
14
|
getResources: () => void;
|
|
15
15
|
state: RequestState;
|
|
16
16
|
clearResources: () => void;
|
|
17
|
+
loadingLogo?: string | undefined;
|
|
18
|
+
logoSxProps?: SxProps | undefined;
|
|
17
19
|
}>;
|
|
18
20
|
export interface ResourcesContextConfig {
|
|
19
21
|
resourcesUrl: string;
|
|
@@ -61,4 +61,8 @@ export interface ShowRecordProps extends INextpreviousExtras {
|
|
|
61
61
|
* An optional flag to disable default actions like edit.
|
|
62
62
|
*/
|
|
63
63
|
hideHeaderBreadcrumbs?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* An optional flag to disable skeleton before loading record.
|
|
66
|
+
*/
|
|
67
|
+
hideSkeleton?: boolean;
|
|
64
68
|
}
|
|
@@ -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/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { ReactElement, ReactNode, Dispatch, SetStateAction } from 'react';
|
|
|
5
5
|
import { GridCellParams, GridRenderCellParams, GridDensity, GridSortDirection, GridRowSelectionModel } from '@mui/x-data-grid';
|
|
6
6
|
import * as axios from 'axios';
|
|
7
7
|
import { AxiosRequestConfig } from 'axios';
|
|
8
|
+
import * as _mui_system from '@mui/system';
|
|
8
9
|
import * as _mui_material from '@mui/material';
|
|
9
10
|
import { SxProps, AlertColor as AlertColor$1 } from '@mui/material';
|
|
10
11
|
import * as notistack from 'notistack';
|
|
@@ -301,6 +302,8 @@ declare const ResourcesContext: react.Context<{
|
|
|
301
302
|
getResources: () => void;
|
|
302
303
|
state: RequestState;
|
|
303
304
|
clearResources: () => void;
|
|
305
|
+
loadingLogo?: string | undefined;
|
|
306
|
+
logoSxProps?: SxProps | undefined;
|
|
304
307
|
}>;
|
|
305
308
|
interface ResourcesContextConfig {
|
|
306
309
|
resourcesUrl: string;
|
|
@@ -591,6 +594,10 @@ interface ShowRecordProps extends INextpreviousExtras {
|
|
|
591
594
|
* An optional flag to disable default actions like edit.
|
|
592
595
|
*/
|
|
593
596
|
hideHeaderBreadcrumbs?: boolean;
|
|
597
|
+
/**
|
|
598
|
+
* An optional flag to disable skeleton before loading record.
|
|
599
|
+
*/
|
|
600
|
+
hideSkeleton?: boolean;
|
|
594
601
|
}
|
|
595
602
|
|
|
596
603
|
/**
|
|
@@ -687,6 +694,8 @@ declare const useResources: () => {
|
|
|
687
694
|
getResources: () => void;
|
|
688
695
|
state: RequestState;
|
|
689
696
|
clearResources: () => void;
|
|
697
|
+
loadingLogo?: string | undefined;
|
|
698
|
+
logoSxProps?: _mui_system.SxProps | undefined;
|
|
690
699
|
};
|
|
691
700
|
|
|
692
701
|
declare const useCredentials: () => CredentialKeys;
|
package/package.json
CHANGED
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "identity-admin-ui",
|
|
3
|
-
"version": "1.11.
|
|
4
|
-
"description": "Identity solutions UI package using for identity-admin dashboard",
|
|
5
|
-
"main": "lib/cjs/index.js",
|
|
6
|
-
"module": "lib/esm/index.js",
|
|
7
|
-
"files": [
|
|
8
|
-
"lib/**/*"
|
|
9
|
-
],
|
|
10
|
-
"types": "lib/index.d.ts",
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "rollup -c --bundleConfigAsCjs",
|
|
13
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
14
|
-
},
|
|
15
|
-
"author": "",
|
|
16
|
-
"license": "ISC",
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"@emotion/cache": "^11.11.0",
|
|
19
|
-
"@emotion/react": "^11.11.1",
|
|
20
|
-
"@emotion/styled": "^11.11.0",
|
|
21
|
-
"@hookform/resolvers": "^3.2.0",
|
|
22
|
-
"@iconify/react": "^4.1.0",
|
|
23
|
-
"@mui/icons-material": "^5.14.3",
|
|
24
|
-
"@mui/lab": "^5.0.0-alpha.139",
|
|
25
|
-
"@mui/material": "^5.14.5",
|
|
26
|
-
"@mui/x-data-grid": "^6.11.1",
|
|
27
|
-
"@mui/x-date-pickers": "^6.11.1",
|
|
28
|
-
"@rollup/plugin-commonjs": "^25.0.3",
|
|
29
|
-
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
30
|
-
"@rollup/plugin-typescript": "^11.1.2",
|
|
31
|
-
"@types/autosuggest-highlight": "^3.2.0",
|
|
32
|
-
"@types/axios": "^0.14.0",
|
|
33
|
-
"@types/draftjs-to-html": "^0.8.2",
|
|
34
|
-
"@types/html-to-draftjs": "^1.4.1",
|
|
35
|
-
"@types/moment": "^2.13.0",
|
|
36
|
-
"@types/nprogress": "^0.2.0",
|
|
37
|
-
"@types/numeral": "^2.0.2",
|
|
38
|
-
"@types/react": "^18.2.20",
|
|
39
|
-
"@types/react-beautiful-dnd": "^13.1.4",
|
|
40
|
-
"@types/react-draft-wysiwyg": "^1.13.5",
|
|
41
|
-
"@types/react-helmet-async": "^1.0.3",
|
|
42
|
-
"@types/react-lazy-load-image-component": "^1.5.3",
|
|
43
|
-
"@types/react-lazyload": "^3.2.3",
|
|
44
|
-
"@types/stylis": "^4.2.0",
|
|
45
|
-
"autosuggest-highlight": "^3.3.4",
|
|
46
|
-
"aws-amplify": "^5.3.8",
|
|
47
|
-
"axios": "^1.4.0",
|
|
48
|
-
"compressorjs": "^1.2.1",
|
|
49
|
-
"date-fns": "^2.30.0",
|
|
50
|
-
"dayjs": "^1.11.9",
|
|
51
|
-
"framer-motion": "^10.15.0",
|
|
52
|
-
"highlight.js": "^11.8.0",
|
|
53
|
-
"material-ui-phone-number": "^3.0.0",
|
|
54
|
-
"moment": "^2.29.4",
|
|
55
|
-
"notistack": "^3.0.1",
|
|
56
|
-
"nprogress": "^0.2.0",
|
|
57
|
-
"numeral": "^2.0.6",
|
|
58
|
-
"pluralize": "^8.0.0",
|
|
59
|
-
"react": "^18.2.0",
|
|
60
|
-
"react-beautiful-dnd": "^13.1.1",
|
|
61
|
-
"react-dropzone": "^14.2.3",
|
|
62
|
-
"react-helmet-async": "^1.3.0",
|
|
63
|
-
"react-hook-form": "^7.45.4",
|
|
64
|
-
"react-lazy-load-image-component": "^1.6.0",
|
|
65
|
-
"react-router-dom": "^6.14.2",
|
|
66
|
-
"rollup": "^3.27.0",
|
|
67
|
-
"rollup-plugin-css-bundle": "^1.0.4",
|
|
68
|
-
"rollup-plugin-dts": "^5.3.1",
|
|
69
|
-
"rollup-plugin-image": "^1.0.2",
|
|
70
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
71
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
72
|
-
"rollup-plugin-postcss-modules": "^2.1.1",
|
|
73
|
-
"rollup-plugin-preserve-directives": "^0.2.0",
|
|
74
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
75
|
-
"simplebar-react": "^3.2.4",
|
|
76
|
-
"stylis": "^4.3.0",
|
|
77
|
-
"stylis-plugin-rtl": "^2.1.1",
|
|
78
|
-
"tslib": "^2.6.1",
|
|
79
|
-
"typescript": "^5.1.6",
|
|
80
|
-
"yup": "^1.2.0"
|
|
81
|
-
},
|
|
82
|
-
"dependencies": {
|
|
83
|
-
"draftjs-to-html": "^0.9.1",
|
|
84
|
-
"html-to-draftjs": "^1.5.0",
|
|
85
|
-
"react-draft-wysiwyg": "^1.15.0",
|
|
86
|
-
"react-lazyload": "^3.2.1",
|
|
87
|
-
"react-quill": "^2.0.0"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "identity-admin-ui",
|
|
3
|
+
"version": "1.11.43",
|
|
4
|
+
"description": "Identity solutions UI package using for identity-admin dashboard",
|
|
5
|
+
"main": "lib/cjs/index.js",
|
|
6
|
+
"module": "lib/esm/index.js",
|
|
7
|
+
"files": [
|
|
8
|
+
"lib/**/*"
|
|
9
|
+
],
|
|
10
|
+
"types": "lib/index.d.ts",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "rollup -c --bundleConfigAsCjs",
|
|
13
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
14
|
+
},
|
|
15
|
+
"author": "",
|
|
16
|
+
"license": "ISC",
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@emotion/cache": "^11.11.0",
|
|
19
|
+
"@emotion/react": "^11.11.1",
|
|
20
|
+
"@emotion/styled": "^11.11.0",
|
|
21
|
+
"@hookform/resolvers": "^3.2.0",
|
|
22
|
+
"@iconify/react": "^4.1.0",
|
|
23
|
+
"@mui/icons-material": "^5.14.3",
|
|
24
|
+
"@mui/lab": "^5.0.0-alpha.139",
|
|
25
|
+
"@mui/material": "^5.14.5",
|
|
26
|
+
"@mui/x-data-grid": "^6.11.1",
|
|
27
|
+
"@mui/x-date-pickers": "^6.11.1",
|
|
28
|
+
"@rollup/plugin-commonjs": "^25.0.3",
|
|
29
|
+
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
30
|
+
"@rollup/plugin-typescript": "^11.1.2",
|
|
31
|
+
"@types/autosuggest-highlight": "^3.2.0",
|
|
32
|
+
"@types/axios": "^0.14.0",
|
|
33
|
+
"@types/draftjs-to-html": "^0.8.2",
|
|
34
|
+
"@types/html-to-draftjs": "^1.4.1",
|
|
35
|
+
"@types/moment": "^2.13.0",
|
|
36
|
+
"@types/nprogress": "^0.2.0",
|
|
37
|
+
"@types/numeral": "^2.0.2",
|
|
38
|
+
"@types/react": "^18.2.20",
|
|
39
|
+
"@types/react-beautiful-dnd": "^13.1.4",
|
|
40
|
+
"@types/react-draft-wysiwyg": "^1.13.5",
|
|
41
|
+
"@types/react-helmet-async": "^1.0.3",
|
|
42
|
+
"@types/react-lazy-load-image-component": "^1.5.3",
|
|
43
|
+
"@types/react-lazyload": "^3.2.3",
|
|
44
|
+
"@types/stylis": "^4.2.0",
|
|
45
|
+
"autosuggest-highlight": "^3.3.4",
|
|
46
|
+
"aws-amplify": "^5.3.8",
|
|
47
|
+
"axios": "^1.4.0",
|
|
48
|
+
"compressorjs": "^1.2.1",
|
|
49
|
+
"date-fns": "^2.30.0",
|
|
50
|
+
"dayjs": "^1.11.9",
|
|
51
|
+
"framer-motion": "^10.15.0",
|
|
52
|
+
"highlight.js": "^11.8.0",
|
|
53
|
+
"material-ui-phone-number": "^3.0.0",
|
|
54
|
+
"moment": "^2.29.4",
|
|
55
|
+
"notistack": "^3.0.1",
|
|
56
|
+
"nprogress": "^0.2.0",
|
|
57
|
+
"numeral": "^2.0.6",
|
|
58
|
+
"pluralize": "^8.0.0",
|
|
59
|
+
"react": "^18.2.0",
|
|
60
|
+
"react-beautiful-dnd": "^13.1.1",
|
|
61
|
+
"react-dropzone": "^14.2.3",
|
|
62
|
+
"react-helmet-async": "^1.3.0",
|
|
63
|
+
"react-hook-form": "^7.45.4",
|
|
64
|
+
"react-lazy-load-image-component": "^1.6.0",
|
|
65
|
+
"react-router-dom": "^6.14.2",
|
|
66
|
+
"rollup": "^3.27.0",
|
|
67
|
+
"rollup-plugin-css-bundle": "^1.0.4",
|
|
68
|
+
"rollup-plugin-dts": "^5.3.1",
|
|
69
|
+
"rollup-plugin-image": "^1.0.2",
|
|
70
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
71
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
72
|
+
"rollup-plugin-postcss-modules": "^2.1.1",
|
|
73
|
+
"rollup-plugin-preserve-directives": "^0.2.0",
|
|
74
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
75
|
+
"simplebar-react": "^3.2.4",
|
|
76
|
+
"stylis": "^4.3.0",
|
|
77
|
+
"stylis-plugin-rtl": "^2.1.1",
|
|
78
|
+
"tslib": "^2.6.1",
|
|
79
|
+
"typescript": "^5.1.6",
|
|
80
|
+
"yup": "^1.2.0"
|
|
81
|
+
},
|
|
82
|
+
"dependencies": {
|
|
83
|
+
"draftjs-to-html": "^0.9.1",
|
|
84
|
+
"html-to-draftjs": "^1.5.0",
|
|
85
|
+
"react-draft-wysiwyg": "^1.15.0",
|
|
86
|
+
"react-lazyload": "^3.2.1",
|
|
87
|
+
"react-quill": "^2.0.0"
|
|
88
|
+
}
|
|
89
|
+
}
|