@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.
@@ -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} />}