identity-admin-ui 1.12.19 → 1.12.21

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 (28) hide show
  1. package/lib/cjs/index.css +20 -18
  2. package/lib/cjs/index.js +12 -12
  3. package/lib/cjs/types/components/DashboardFormFields/RichTextField.d.ts +2 -1
  4. package/lib/cjs/types/components/DashboardShowFields/Fields/JSONRichText.d.ts +2 -0
  5. package/lib/cjs/types/components/DashboardShowFields/Sections/RichText/JSONRichTextShow.d.ts +4 -0
  6. package/lib/cjs/types/components/ImportAction/ImportAction.d.ts +9 -0
  7. package/lib/cjs/types/components/ImportAction/ImportNewFileDialog.d.ts +17 -0
  8. package/lib/cjs/types/components/hook-form/RHFRichText/JSONRichText.d.ts +4 -0
  9. package/lib/cjs/types/context/Resource.d.ts +1 -0
  10. package/lib/cjs/types/helpers/EnumHelper.d.ts +1 -0
  11. package/lib/cjs/types/layout/dashboard/config-navigation.d.ts +4 -4
  12. package/lib/cjs/types/routes/AdminRouter.d.ts +10 -10
  13. package/lib/cjs/types/routes/paths.d.ts +5 -5
  14. package/lib/esm/index.css +20 -18
  15. package/lib/esm/index.js +13 -13
  16. package/lib/esm/types/components/DashboardFormFields/RichTextField.d.ts +2 -1
  17. package/lib/esm/types/components/DashboardShowFields/Fields/JSONRichText.d.ts +2 -0
  18. package/lib/esm/types/components/DashboardShowFields/Sections/RichText/JSONRichTextShow.d.ts +4 -0
  19. package/lib/esm/types/components/ImportAction/ImportAction.d.ts +9 -0
  20. package/lib/esm/types/components/ImportAction/ImportNewFileDialog.d.ts +17 -0
  21. package/lib/esm/types/components/hook-form/RHFRichText/JSONRichText.d.ts +4 -0
  22. package/lib/esm/types/context/Resource.d.ts +1 -0
  23. package/lib/esm/types/helpers/EnumHelper.d.ts +1 -0
  24. package/lib/esm/types/layout/dashboard/config-navigation.d.ts +4 -4
  25. package/lib/esm/types/routes/AdminRouter.d.ts +10 -10
  26. package/lib/esm/types/routes/paths.d.ts +5 -5
  27. package/lib/index.d.ts +2 -0
  28. package/package.json +95 -95
@@ -1,7 +1,8 @@
1
1
  import { IInputFieldProps } from './IFieldProps';
2
2
  export declare enum RichTextType {
3
3
  TYPE_ONE = 0,
4
- TYPE_TWO = 1
4
+ TYPE_TWO = 1,
5
+ JSON_TYPE = 2
5
6
  }
6
7
  interface IRichTextProps extends IInputFieldProps {
7
8
  type: RichTextType;
@@ -0,0 +1,2 @@
1
+ import { IShowField } from '../IShowField';
2
+ export declare function JSONRichTextField(props: IShowField): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css';
2
+ export declare function JSONRichTextShow({ stringifiedJson }: {
3
+ stringifiedJson: string;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -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 {};
@@ -0,0 +1,4 @@
1
+ import 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css';
2
+ import './styles.css';
3
+ import { IRichText } from './RHFRichText';
4
+ export default function RHFJSONRichText({ name, disabled }: IRichText): import("react/jsx-runtime").JSX.Element;
@@ -98,6 +98,7 @@ export interface IAction {
98
98
  edit: IActionMin;
99
99
  new: IActionMin;
100
100
  show: IActionMin;
101
+ import?: IActionMin;
101
102
  extras?: IExtras;
102
103
  }
103
104
  export interface IExtras {
@@ -28,6 +28,7 @@ export declare enum FieldTypes {
28
28
  LOCATION = "LOCATION",
29
29
  RICH_TEXT_I = "RICH_TEXT_I",
30
30
  RICH_TEXT_II = "RICH_TEXT_II",
31
+ JSON_RICH_TEXT = "JSON_RICH_TEXT",
31
32
  EXTERNAL_LINK = "EXTERNAL_LINK",
32
33
  MULTIPLE_TEXT = "MULTIPLE_TEXT"
33
34
  }
@@ -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
@@ -123,6 +123,7 @@ declare enum FieldTypes {
123
123
  LOCATION = "LOCATION",
124
124
  RICH_TEXT_I = "RICH_TEXT_I",
125
125
  RICH_TEXT_II = "RICH_TEXT_II",
126
+ JSON_RICH_TEXT = "JSON_RICH_TEXT",
126
127
  EXTERNAL_LINK = "EXTERNAL_LINK",
127
128
  MULTIPLE_TEXT = "MULTIPLE_TEXT"
128
129
  }
@@ -247,6 +248,7 @@ interface IAction {
247
248
  edit: IActionMin;
248
249
  new: IActionMin;
249
250
  show: IActionMin;
251
+ import?: IActionMin;
250
252
  extras?: IExtras;
251
253
  }
252
254
  interface IExtras {
package/package.json CHANGED
@@ -1,95 +1,95 @@
1
- {
2
- "name": "identity-admin-ui",
3
- "version": "1.12.19",
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-replace": "^6.0.2",
31
- "@rollup/plugin-typescript": "^11.1.2",
32
- "@types/autosuggest-highlight": "^3.2.0",
33
- "@types/axios": "^0.14.0",
34
- "@types/draftjs-to-html": "^0.8.2",
35
- "@types/html-to-draftjs": "^1.4.1",
36
- "@types/moment": "^2.13.0",
37
- "@types/nprogress": "^0.2.0",
38
- "@types/numeral": "^2.0.2",
39
- "@types/react": "^18.2.20",
40
- "@types/react-beautiful-dnd": "^13.1.4",
41
- "@types/react-draft-wysiwyg": "^1.13.5",
42
- "@types/react-helmet-async": "^1.0.3",
43
- "@types/react-lazy-load-image-component": "^1.5.3",
44
- "@types/react-lazyload": "^3.2.3",
45
- "@types/stylis": "^4.2.0",
46
- "autosuggest-highlight": "^3.3.4",
47
- "aws-amplify": "^5.3.8",
48
- "axios": "^1.4.0",
49
- "compressorjs": "^1.2.1",
50
- "date-fns": "^2.30.0",
51
- "dayjs": "^1.11.9",
52
- "framer-motion": "^10.15.0",
53
- "highlight.js": "^11.8.0",
54
- "i18next": "^23.4.4",
55
- "i18next-browser-languagedetector": "^7.1.0",
56
- "i18next-http-backend": "^2.2.1",
57
- "material-ui-phone-number": "^3.0.0",
58
- "moment": "^2.29.4",
59
- "notistack": "^3.0.1",
60
- "nprogress": "^0.2.0",
61
- "numeral": "^2.0.6",
62
- "pluralize": "^8.0.0",
63
- "react": "^18.2.0",
64
- "react-beautiful-dnd": "^13.1.1",
65
- "react-dropzone": "^14.2.3",
66
- "react-helmet-async": "^1.3.0",
67
- "react-hook-form": "^7.45.4",
68
- "react-i18next": "^11.18.6",
69
- "react-lazy-load-image-component": "^1.6.0",
70
- "react-router-dom": "^6.14.2",
71
- "rollup": "^3.27.0",
72
- "rollup-plugin-css-bundle": "^1.0.4",
73
- "rollup-plugin-dts": "^5.3.1",
74
- "rollup-plugin-image": "^1.0.2",
75
- "rollup-plugin-peer-deps-external": "^2.2.4",
76
- "rollup-plugin-postcss": "^4.0.2",
77
- "rollup-plugin-postcss-modules": "^2.1.1",
78
- "rollup-plugin-preserve-directives": "^0.2.0",
79
- "rollup-plugin-terser": "^7.0.2",
80
- "simplebar-react": "^3.2.4",
81
- "stylis": "^4.3.0",
82
- "stylis-plugin-rtl": "^2.1.1",
83
- "tslib": "^2.6.1",
84
- "typescript": "^5.1.6",
85
- "yup": "^1.2.0"
86
- },
87
- "dependencies": {
88
- "@rollup/plugin-json": "^6.1.0",
89
- "draftjs-to-html": "^0.9.1",
90
- "html-to-draftjs": "^1.5.0",
91
- "react-draft-wysiwyg": "^1.15.0",
92
- "react-lazyload": "^3.2.1",
93
- "react-quill": "^2.0.0"
94
- }
95
- }
1
+ {
2
+ "name": "identity-admin-ui",
3
+ "version": "1.12.21",
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-replace": "^6.0.2",
31
+ "@rollup/plugin-typescript": "^11.1.2",
32
+ "@types/autosuggest-highlight": "^3.2.0",
33
+ "@types/axios": "^0.14.0",
34
+ "@types/draftjs-to-html": "^0.8.2",
35
+ "@types/html-to-draftjs": "^1.4.1",
36
+ "@types/moment": "^2.13.0",
37
+ "@types/nprogress": "^0.2.0",
38
+ "@types/numeral": "^2.0.2",
39
+ "@types/react": "^18.2.20",
40
+ "@types/react-beautiful-dnd": "^13.1.4",
41
+ "@types/react-draft-wysiwyg": "^1.13.5",
42
+ "@types/react-helmet-async": "^1.0.3",
43
+ "@types/react-lazy-load-image-component": "^1.5.3",
44
+ "@types/react-lazyload": "^3.2.3",
45
+ "@types/stylis": "^4.2.0",
46
+ "autosuggest-highlight": "^3.3.4",
47
+ "aws-amplify": "^5.3.8",
48
+ "axios": "^1.4.0",
49
+ "compressorjs": "^1.2.1",
50
+ "date-fns": "^2.30.0",
51
+ "dayjs": "^1.11.9",
52
+ "framer-motion": "^10.15.0",
53
+ "highlight.js": "^11.8.0",
54
+ "i18next": "^23.4.4",
55
+ "i18next-browser-languagedetector": "^7.1.0",
56
+ "i18next-http-backend": "^2.2.1",
57
+ "material-ui-phone-number": "^3.0.0",
58
+ "moment": "^2.29.4",
59
+ "notistack": "^3.0.1",
60
+ "nprogress": "^0.2.0",
61
+ "numeral": "^2.0.6",
62
+ "pluralize": "^8.0.0",
63
+ "react": "^18.2.0",
64
+ "react-beautiful-dnd": "^13.1.1",
65
+ "react-dropzone": "^14.2.3",
66
+ "react-helmet-async": "^1.3.0",
67
+ "react-hook-form": "^7.45.4",
68
+ "react-i18next": "^11.18.6",
69
+ "react-lazy-load-image-component": "^1.6.0",
70
+ "react-router-dom": "^6.14.2",
71
+ "rollup": "^3.27.0",
72
+ "rollup-plugin-css-bundle": "^1.0.4",
73
+ "rollup-plugin-dts": "^5.3.1",
74
+ "rollup-plugin-image": "^1.0.2",
75
+ "rollup-plugin-peer-deps-external": "^2.2.4",
76
+ "rollup-plugin-postcss": "^4.0.2",
77
+ "rollup-plugin-postcss-modules": "^2.1.1",
78
+ "rollup-plugin-preserve-directives": "^0.2.0",
79
+ "rollup-plugin-terser": "^7.0.2",
80
+ "simplebar-react": "^3.2.4",
81
+ "stylis": "^4.3.0",
82
+ "stylis-plugin-rtl": "^2.1.1",
83
+ "tslib": "^2.6.1",
84
+ "typescript": "^5.1.6",
85
+ "yup": "^1.2.0"
86
+ },
87
+ "dependencies": {
88
+ "@rollup/plugin-json": "^6.1.0",
89
+ "draftjs-to-html": "^0.9.1",
90
+ "html-to-draftjs": "^1.5.0",
91
+ "react-draft-wysiwyg": "^1.15.0",
92
+ "react-lazyload": "^3.2.1",
93
+ "react-quill": "^2.0.0"
94
+ }
95
+ }