identity-admin-ui 1.8.27 → 1.8.30

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 (26) 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/SingleImageField.d.ts +2 -1
  4. package/lib/cjs/types/components/DashboardShowFields/Fields/ExternalLinkField.d.ts +2 -0
  5. package/lib/cjs/types/components/DashboardShowFields/Sections/ExternalLink.d.ts +3 -0
  6. package/lib/cjs/types/components/editor/index.d.ts +1 -1
  7. package/lib/cjs/types/components/hook-form/RHFUpload.d.ts +1 -0
  8. package/lib/cjs/types/components/upload/type.d.ts +1 -0
  9. package/lib/cjs/types/helpers/EnumHelper.d.ts +2 -1
  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/esm/index.css +18 -18
  14. package/lib/esm/index.js +9 -9
  15. package/lib/esm/types/components/DashboardFormFields/SingleImageField.d.ts +2 -1
  16. package/lib/esm/types/components/DashboardShowFields/Fields/ExternalLinkField.d.ts +2 -0
  17. package/lib/esm/types/components/DashboardShowFields/Sections/ExternalLink.d.ts +3 -0
  18. package/lib/esm/types/components/editor/index.d.ts +1 -1
  19. package/lib/esm/types/components/hook-form/RHFUpload.d.ts +1 -0
  20. package/lib/esm/types/components/upload/type.d.ts +1 -0
  21. package/lib/esm/types/helpers/EnumHelper.d.ts +2 -1
  22. package/lib/esm/types/layout/dashboard/config-navigation.d.ts +4 -4
  23. package/lib/esm/types/routes/AdminRouter.d.ts +10 -10
  24. package/lib/esm/types/routes/paths.d.ts +5 -5
  25. package/lib/index.d.ts +2 -1
  26. package/package.json +86 -86
@@ -2,5 +2,6 @@ export interface ISingleImageField {
2
2
  handleDrop: (file: any, fullKey: string) => void;
3
3
  key: string;
4
4
  name: string;
5
+ label: string;
5
6
  }
6
- export declare function SingleImageField({ key, name, handleDrop }: ISingleImageField): import("react/jsx-runtime").JSX.Element;
7
+ export declare function SingleImageField({ key, label, name, handleDrop }: ISingleImageField): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { IShowField } from '../IShowField';
2
+ export declare function ExternalLinkField(props: IShowField): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ export declare function ExternalLinkSection({ link }: {
2
+ link: string;
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  export * from './types';
2
- export { default } from './editor';
2
+ export { default } from './Editor';
@@ -1,6 +1,7 @@
1
1
  import { UploadProps, UploadMultiFileProps } from '../upload';
2
2
  interface Props extends Omit<UploadProps, 'file'> {
3
3
  name: string;
4
+ label?: string;
4
5
  }
5
6
  export declare function RHFUploadAvatar({ name, ...other }: Props): import("react/jsx-runtime").JSX.Element;
6
7
  export declare function RHFUploadSingleFile({ name, ...other }: Props): import("react/jsx-runtime").JSX.Element;
@@ -14,6 +14,7 @@ export interface UploadProps extends DropzoneOptions {
14
14
  error?: boolean;
15
15
  file: CustomFile | string | null;
16
16
  helperText?: ReactNode;
17
+ label?: string;
17
18
  sx?: SxProps<Theme>;
18
19
  }
19
20
  export interface UploadMultiFileProps extends DropzoneOptions {
@@ -27,7 +27,8 @@ export declare enum FieldTypes {
27
27
  FILE = "File",
28
28
  LOCATION = "LOCATION",
29
29
  RICH_TEXT_I = "RICH_TEXT_I",
30
- RICH_TEXT_II = "RICH_TEXT_II"
30
+ RICH_TEXT_II = "RICH_TEXT_II",
31
+ EXTERNAL_LINK = "EXTERNAL_LINK"
31
32
  }
32
33
  export declare enum HandlerStrategy {
33
34
  NORMAL = "NORMAL",
@@ -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
@@ -101,7 +101,8 @@ declare enum FieldTypes {
101
101
  FILE = "File",
102
102
  LOCATION = "LOCATION",
103
103
  RICH_TEXT_I = "RICH_TEXT_I",
104
- RICH_TEXT_II = "RICH_TEXT_II"
104
+ RICH_TEXT_II = "RICH_TEXT_II",
105
+ EXTERNAL_LINK = "EXTERNAL_LINK"
105
106
  }
106
107
 
107
108
  type SizeType = 'small' | 'medium' | undefined;
package/package.json CHANGED
@@ -1,86 +1,86 @@
1
- {
2
- "name": "identity-admin-ui",
3
- "version": "1.8.27",
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.30",
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
+ }