identity-admin-ui 1.12.36 → 1.12.38
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 +26 -26
- package/lib/cjs/index.js +3 -3
- package/lib/cjs/types/components/Notifications/NotificationsLocalization.d.ts +6 -2
- package/lib/cjs/types/components/editor/toolbar.d.ts +7 -7
- package/lib/cjs/types/context/NotificationsContext.d.ts +2 -0
- package/lib/cjs/types/hooks/useNotifications.d.ts +2 -0
- package/lib/cjs/types/layout/dashboard/config-navigation.d.ts +4 -4
- package/lib/cjs/types/layouts/dashboard/header/NotificationsPopover.d.ts +0 -12
- 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 +26 -26
- package/lib/esm/index.js +4 -4
- package/lib/esm/types/components/Notifications/NotificationsLocalization.d.ts +6 -2
- package/lib/esm/types/components/editor/toolbar.d.ts +7 -7
- package/lib/esm/types/context/NotificationsContext.d.ts +2 -0
- package/lib/esm/types/hooks/useNotifications.d.ts +2 -0
- package/lib/esm/types/layout/dashboard/config-navigation.d.ts +4 -4
- package/lib/esm/types/layouts/dashboard/header/NotificationsPopover.d.ts +0 -12
- 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 +4 -0
- package/package.json +95 -95
|
@@ -3,12 +3,16 @@ export declare enum ArabicNotification {
|
|
|
3
3
|
youHave = "\u0644\u062F\u064A\u0643",
|
|
4
4
|
unreadMessages = "\u0631\u0633\u0627\u0626\u0644 \u063A\u064A\u0631 \u0645\u0642\u0631\u0648\u0621\u0629",
|
|
5
5
|
showMore = "\u0639\u0631\u0636 \u0627\u0644\u0645\u0632\u064A\u062F",
|
|
6
|
-
showLess = "\u0639\u0631\u0636 \u0623\u0642\u0644"
|
|
6
|
+
showLess = "\u0639\u0631\u0636 \u0623\u0642\u0644",
|
|
7
|
+
viewAll = "\u0639\u0631\u0636 \u0627\u0644\u0643\u0644",
|
|
8
|
+
markAllAsRead = "\u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0643\u0644 \u0643\u0645\u0642\u0631\u0648\u0621"
|
|
7
9
|
}
|
|
8
10
|
export declare enum EnglishNotification {
|
|
9
11
|
notifications = "Notifications",
|
|
10
12
|
youHave = "You have",
|
|
11
13
|
unreadMessages = "unread messages",
|
|
12
14
|
showMore = "Show more",
|
|
13
|
-
showLess = "Show less"
|
|
15
|
+
showLess = "Show less",
|
|
16
|
+
viewAll = "View all",
|
|
17
|
+
markAllAsRead = "Mark all as read"
|
|
14
18
|
}
|
|
@@ -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 {};
|
|
@@ -4,6 +4,8 @@ import { IDashboardNotification } from '../components/Notifications/IDashboardNo
|
|
|
4
4
|
declare const NotificationContext: import("react").Context<{
|
|
5
5
|
notifications?: IDashboardNotification[] | undefined;
|
|
6
6
|
getNotifications: () => void;
|
|
7
|
+
markOneRead: (id: string) => void;
|
|
8
|
+
markAllAsRead: () => void;
|
|
7
9
|
state: RequestState;
|
|
8
10
|
clearNotifications: () => void;
|
|
9
11
|
}>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare const useNotifications: () => {
|
|
2
2
|
notifications?: import("../components/Notifications/IDashboardNotifications").IDashboardNotification[] | undefined;
|
|
3
3
|
getNotifications: () => void;
|
|
4
|
+
markOneRead: (id: string) => void;
|
|
5
|
+
markAllAsRead: () => void;
|
|
4
6
|
state: import("./RequetState").RequestState;
|
|
5
7
|
clearNotifications: () => void;
|
|
6
8
|
};
|
|
@@ -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,13 +1 @@
|
|
|
1
|
-
export interface IDashboardNotifications {
|
|
2
|
-
id: string;
|
|
3
|
-
text: string;
|
|
4
|
-
createdAt: Date;
|
|
5
|
-
clickable: boolean;
|
|
6
|
-
redirectUrl?: string;
|
|
7
|
-
redirectUrlType: any;
|
|
8
|
-
isRead: boolean;
|
|
9
|
-
priority: any;
|
|
10
|
-
type?: string;
|
|
11
|
-
data?: string;
|
|
12
|
-
}
|
|
13
1
|
export default function NotificationsPopover(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
@@ -453,6 +453,8 @@ interface IDashboardNotification {
|
|
|
453
453
|
declare const NotificationContext: react.Context<{
|
|
454
454
|
notifications?: IDashboardNotification[] | undefined;
|
|
455
455
|
getNotifications: () => void;
|
|
456
|
+
markOneRead: (id: string) => void;
|
|
457
|
+
markAllAsRead: () => void;
|
|
456
458
|
state: RequestState;
|
|
457
459
|
clearNotifications: () => void;
|
|
458
460
|
}>;
|
|
@@ -895,6 +897,8 @@ declare const useDialogs: () => {
|
|
|
895
897
|
declare const useNotifications: () => {
|
|
896
898
|
notifications?: IDashboardNotification[] | undefined;
|
|
897
899
|
getNotifications: () => void;
|
|
900
|
+
markOneRead: (id: string) => void;
|
|
901
|
+
markAllAsRead: () => void;
|
|
898
902
|
state: RequestState;
|
|
899
903
|
clearNotifications: () => void;
|
|
900
904
|
};
|
package/package.json
CHANGED
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "identity-admin-ui",
|
|
3
|
-
"version": "1.12.
|
|
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.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-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
|
+
}
|