identity-admin-ui 1.8.38 → 1.8.40

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.
@@ -0,0 +1,2 @@
1
+ import { IFieldSection } from '.';
2
+ export declare function ImageSection(props: IFieldSection): import("react/jsx-runtime").JSX.Element;
@@ -9,7 +9,7 @@ export interface RequestConfig {
9
9
  onError?: (error: any) => void;
10
10
  rowResponse?: boolean;
11
11
  }
12
- declare function useApi<T>(): {
12
+ declare function useApi<T>(initialValue?: IState<any>): {
13
13
  requestState: IState<T>;
14
14
  get: (requstConfig: RequestConfig) => void;
15
15
  post: (requstConfig: RequestConfig) => void;
@@ -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
@@ -501,7 +501,7 @@ interface RequestConfig {
501
501
  onError?: (error: any) => void;
502
502
  rowResponse?: boolean;
503
503
  }
504
- declare function useApi<T>(): {
504
+ declare function useApi<T>(initialValue?: IState<any>): {
505
505
  requestState: IState<T>;
506
506
  get: (requstConfig: RequestConfig) => void;
507
507
  post: (requstConfig: RequestConfig) => void;
package/package.json CHANGED
@@ -1,86 +1,86 @@
1
- {
2
- "name": "identity-admin-ui",
3
- "version": "1.8.38",
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.40",
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
+ }