identity-admin-ui 1.8.12 → 1.8.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.
- package/lib/cjs/index.css +18 -18
- package/lib/cjs/index.js +3 -3
- package/lib/cjs/types/components/editor/index.d.ts +1 -1
- package/lib/cjs/types/context/Resource.d.ts +3 -0
- package/lib/cjs/types/context/ResourcesContext.d.ts +1 -0
- package/lib/cjs/types/helpers/Permissions/checker.d.ts +3 -0
- package/lib/cjs/types/helpers/Permissions/keys.d.ts +6 -0
- package/lib/cjs/types/hooks/useApi.d.ts +1 -0
- package/lib/cjs/types/hooks/useResources.d.ts +1 -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 +18 -18
- package/lib/esm/index.js +9 -9
- package/lib/esm/types/components/editor/index.d.ts +1 -1
- package/lib/esm/types/context/Resource.d.ts +3 -0
- package/lib/esm/types/context/ResourcesContext.d.ts +1 -0
- package/lib/esm/types/helpers/Permissions/checker.d.ts +3 -0
- package/lib/esm/types/helpers/Permissions/keys.d.ts +6 -0
- package/lib/esm/types/hooks/useApi.d.ts +1 -0
- package/lib/esm/types/hooks/useResources.d.ts +1 -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 +6 -0
- package/package.json +86 -86
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './types';
|
|
2
|
-
export { default } from './
|
|
2
|
+
export { default } from './Editor';
|
|
@@ -9,6 +9,9 @@ export default interface IResource {
|
|
|
9
9
|
listProperties: IProperty[];
|
|
10
10
|
showProperties: IProperty[];
|
|
11
11
|
properties: IMainProperty;
|
|
12
|
+
permissions?: {
|
|
13
|
+
[permissionKey: string]: boolean;
|
|
14
|
+
};
|
|
12
15
|
}
|
|
13
16
|
export interface IOptionalResource {
|
|
14
17
|
filterProperties?: string[];
|
|
@@ -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
|
@@ -126,6 +126,9 @@ interface IResource {
|
|
|
126
126
|
listProperties: IProperty[];
|
|
127
127
|
showProperties: IProperty[];
|
|
128
128
|
properties: IMainProperty;
|
|
129
|
+
permissions?: {
|
|
130
|
+
[permissionKey: string]: boolean;
|
|
131
|
+
};
|
|
129
132
|
}
|
|
130
133
|
interface IOptionalResource {
|
|
131
134
|
filterProperties?: string[];
|
|
@@ -258,6 +261,7 @@ declare const ResourcesContext: react.Context<{
|
|
|
258
261
|
resources: ResourceResponse;
|
|
259
262
|
getResources: () => void;
|
|
260
263
|
state: RequestState;
|
|
264
|
+
clearResources: () => void;
|
|
261
265
|
}>;
|
|
262
266
|
interface ResourcesContextConfig {
|
|
263
267
|
resourcesUrl: string;
|
|
@@ -498,6 +502,7 @@ declare function useApi<T>(): {
|
|
|
498
502
|
post: (requstConfig: RequestConfig) => void;
|
|
499
503
|
patch: (requstConfig: RequestConfig) => void;
|
|
500
504
|
remove: (requstConfig: RequestConfig) => void;
|
|
505
|
+
revertToIdle: () => void;
|
|
501
506
|
};
|
|
502
507
|
|
|
503
508
|
declare function useNavData(): {
|
|
@@ -520,6 +525,7 @@ declare const useResources: () => {
|
|
|
520
525
|
resources: ResourceResponse;
|
|
521
526
|
getResources: () => void;
|
|
522
527
|
state: RequestState;
|
|
528
|
+
clearResources: () => void;
|
|
523
529
|
};
|
|
524
530
|
|
|
525
531
|
declare const useCredentials: () => CredentialKeys;
|
package/package.json
CHANGED
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "identity-admin-ui",
|
|
3
|
-
"version": "1.8.
|
|
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/stylis": "^4.2.0",
|
|
44
|
-
"autosuggest-highlight": "^3.3.4",
|
|
45
|
-
"aws-amplify": "^5.3.8",
|
|
46
|
-
"axios": "^1.4.0",
|
|
47
|
-
"compressorjs": "^1.2.1",
|
|
48
|
-
"date-fns": "^2.30.0",
|
|
49
|
-
"dayjs": "^1.11.9",
|
|
50
|
-
"framer-motion": "^10.15.0",
|
|
51
|
-
"highlight.js": "^11.8.0",
|
|
52
|
-
"material-ui-phone-number": "^3.0.0",
|
|
53
|
-
"moment": "^2.29.4",
|
|
54
|
-
"notistack": "^3.0.1",
|
|
55
|
-
"nprogress": "^0.2.0",
|
|
56
|
-
"numeral": "^2.0.6",
|
|
57
|
-
"pluralize": "^8.0.0",
|
|
58
|
-
"react": "^18.2.0",
|
|
59
|
-
"react-beautiful-dnd": "^13.1.1",
|
|
60
|
-
"react-dropzone": "^14.2.3",
|
|
61
|
-
"react-helmet-async": "^1.3.0",
|
|
62
|
-
"react-hook-form": "^7.45.4",
|
|
63
|
-
"react-lazy-load-image-component": "^1.6.0",
|
|
64
|
-
"react-router-dom": "^6.14.2",
|
|
65
|
-
"rollup": "^3.27.0",
|
|
66
|
-
"rollup-plugin-css-bundle": "^1.0.4",
|
|
67
|
-
"rollup-plugin-dts": "^5.3.1",
|
|
68
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
69
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
70
|
-
"rollup-plugin-postcss-modules": "^2.1.1",
|
|
71
|
-
"rollup-plugin-preserve-directives": "^0.2.0",
|
|
72
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
73
|
-
"simplebar-react": "^3.2.4",
|
|
74
|
-
"stylis": "^4.3.0",
|
|
75
|
-
"stylis-plugin-rtl": "^2.1.1",
|
|
76
|
-
"tslib": "^2.6.1",
|
|
77
|
-
"typescript": "^5.1.6",
|
|
78
|
-
"yup": "^1.2.0"
|
|
79
|
-
},
|
|
80
|
-
"dependencies": {
|
|
81
|
-
"draftjs-to-html": "^0.9.1",
|
|
82
|
-
"html-to-draftjs": "^1.5.0",
|
|
83
|
-
"react-draft-wysiwyg": "^1.15.0",
|
|
84
|
-
"react-quill": "^2.0.0"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "identity-admin-ui",
|
|
3
|
+
"version": "1.8.14",
|
|
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/stylis": "^4.2.0",
|
|
44
|
+
"autosuggest-highlight": "^3.3.4",
|
|
45
|
+
"aws-amplify": "^5.3.8",
|
|
46
|
+
"axios": "^1.4.0",
|
|
47
|
+
"compressorjs": "^1.2.1",
|
|
48
|
+
"date-fns": "^2.30.0",
|
|
49
|
+
"dayjs": "^1.11.9",
|
|
50
|
+
"framer-motion": "^10.15.0",
|
|
51
|
+
"highlight.js": "^11.8.0",
|
|
52
|
+
"material-ui-phone-number": "^3.0.0",
|
|
53
|
+
"moment": "^2.29.4",
|
|
54
|
+
"notistack": "^3.0.1",
|
|
55
|
+
"nprogress": "^0.2.0",
|
|
56
|
+
"numeral": "^2.0.6",
|
|
57
|
+
"pluralize": "^8.0.0",
|
|
58
|
+
"react": "^18.2.0",
|
|
59
|
+
"react-beautiful-dnd": "^13.1.1",
|
|
60
|
+
"react-dropzone": "^14.2.3",
|
|
61
|
+
"react-helmet-async": "^1.3.0",
|
|
62
|
+
"react-hook-form": "^7.45.4",
|
|
63
|
+
"react-lazy-load-image-component": "^1.6.0",
|
|
64
|
+
"react-router-dom": "^6.14.2",
|
|
65
|
+
"rollup": "^3.27.0",
|
|
66
|
+
"rollup-plugin-css-bundle": "^1.0.4",
|
|
67
|
+
"rollup-plugin-dts": "^5.3.1",
|
|
68
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
69
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
70
|
+
"rollup-plugin-postcss-modules": "^2.1.1",
|
|
71
|
+
"rollup-plugin-preserve-directives": "^0.2.0",
|
|
72
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
73
|
+
"simplebar-react": "^3.2.4",
|
|
74
|
+
"stylis": "^4.3.0",
|
|
75
|
+
"stylis-plugin-rtl": "^2.1.1",
|
|
76
|
+
"tslib": "^2.6.1",
|
|
77
|
+
"typescript": "^5.1.6",
|
|
78
|
+
"yup": "^1.2.0"
|
|
79
|
+
},
|
|
80
|
+
"dependencies": {
|
|
81
|
+
"draftjs-to-html": "^0.9.1",
|
|
82
|
+
"html-to-draftjs": "^1.5.0",
|
|
83
|
+
"react-draft-wysiwyg": "^1.15.0",
|
|
84
|
+
"react-quill": "^2.0.0"
|
|
85
|
+
}
|
|
86
|
+
}
|