@djb25/digit-ui-module-ekyc 1.0.12 → 1.0.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/{src/components/analytics/styles/Dashboard.css → dist/index.css} +6 -6
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1468 -13
- package/dist/index.modern.js.map +1 -1
- package/package.json +34 -29
- package/src/Module.js +2 -2
- package/src/components/CeoDashboard.js +255 -196
- package/src/components/CeoDashboard.jsx +334 -0
- package/src/components/DesktopInbox.js +8 -0
- package/src/components/EKYCCard.js +5 -1
- package/src/components/VendorDetails.jsx +214 -0
- package/src/components/analytics/charts/ExecutiveBarChart.jsx +30 -0
- package/src/components/analytics/charts/ExecutiveLineChart.jsx +159 -0
- package/src/components/analytics/charts/ExecutivePieChart.jsx +24 -0
- package/src/components/analytics/charts/TaskStatusChart.js +1 -3
- package/src/components/analytics/components/DashboardLayout.js +26 -46
- package/src/components/mockData.js +772 -0
- package/src/hook/useInboxTableConfig.js +10 -2
- package/src/pages/employee/Mapping.js +162 -449
- package/src/pages/employee/index.js +28 -0
|
@@ -3,6 +3,8 @@ import React from "react";
|
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { Switch, useLocation } from "react-router-dom";
|
|
5
5
|
import Dashboard from "../../components/Dashboard";
|
|
6
|
+
import CeoDashboard from "../../components/CeoDashboard.jsx";
|
|
7
|
+
import VendorDetails from "../../components/VendorDetails.jsx";
|
|
6
8
|
import Inbox from "./Inbox";
|
|
7
9
|
import Mapping from "./Mapping";
|
|
8
10
|
import Create from "./Create";
|
|
@@ -84,6 +86,14 @@ const EmployeeApp = ({ path }) => {
|
|
|
84
86
|
</LayoutWrapper>
|
|
85
87
|
)}
|
|
86
88
|
/>
|
|
89
|
+
<PrivateRoute
|
|
90
|
+
path={`${path}/assign`}
|
|
91
|
+
component={() => (
|
|
92
|
+
<LayoutWrapper layoutClass="normal">
|
|
93
|
+
<Mapping />
|
|
94
|
+
</LayoutWrapper>
|
|
95
|
+
)}
|
|
96
|
+
/>
|
|
87
97
|
|
|
88
98
|
<PrivateRoute
|
|
89
99
|
path={formStepRoutes.map((route) => `${path}/${route}`)}
|
|
@@ -103,6 +113,24 @@ const EmployeeApp = ({ path }) => {
|
|
|
103
113
|
)}
|
|
104
114
|
/>
|
|
105
115
|
|
|
116
|
+
<PrivateRoute
|
|
117
|
+
path={`${path}/ceo-dashboard`}
|
|
118
|
+
component={() => (
|
|
119
|
+
<LayoutWrapper layoutClass="normal">
|
|
120
|
+
<CeoDashboard />
|
|
121
|
+
</LayoutWrapper>
|
|
122
|
+
)}
|
|
123
|
+
/>
|
|
124
|
+
|
|
125
|
+
<PrivateRoute
|
|
126
|
+
path={`${path}/vendors/:vendorId`}
|
|
127
|
+
component={() => (
|
|
128
|
+
<LayoutWrapper layoutClass="normal">
|
|
129
|
+
<VendorDetails />
|
|
130
|
+
</LayoutWrapper>
|
|
131
|
+
)}
|
|
132
|
+
/>
|
|
133
|
+
|
|
106
134
|
{/* <PrivateRoute
|
|
107
135
|
path={`${path}/`}
|
|
108
136
|
component={() => <Inbox parentRoute={path} businessService="EKYC" moduleCode="EKYC" isInbox={true} />}
|