@djb25/digit-ui-module-ekyc 1.0.14 → 1.0.16
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3334 -3345
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AssignEkyc.js +317 -0
- package/src/components/AssignEkycModal.js +362 -0
- package/src/components/EKYCCard.js +6 -4
- package/src/components/Review.js +155 -88
- package/src/components/StatusCards.js +6 -17
- package/src/components/SurveyorDetailsCard.js +282 -0
- package/src/components/VendorDetails.jsx +18 -1
- package/src/hook/SupervisorInboxTableConfig.js +138 -0
- package/src/hook/useInboxTableConfig.js +4 -3
- package/src/pages/citizen/Home.js +27 -14
- package/src/pages/citizen/index.js +48 -1
- package/src/pages/employee/index.js +94 -85
|
@@ -8,9 +8,10 @@ import VendorDetails from "../../components/VendorDetails.jsx";
|
|
|
8
8
|
import Inbox from "./Inbox";
|
|
9
9
|
import Mapping from "./Mapping";
|
|
10
10
|
import Create from "./Create";
|
|
11
|
-
|
|
12
11
|
import Review from "../../components/Review";
|
|
13
12
|
import EKYCForm from "./EKYCForm";
|
|
13
|
+
import SurveyorDetailsCard from "../../components/SurveyorDetailsCard.js";
|
|
14
|
+
import AssignEkyc from "../../components/AssignEkyc.js";
|
|
14
15
|
|
|
15
16
|
const EmployeeApp = ({ path }) => {
|
|
16
17
|
const { t } = useTranslation();
|
|
@@ -50,93 +51,101 @@ const EmployeeApp = ({ path }) => {
|
|
|
50
51
|
/>
|
|
51
52
|
|
|
52
53
|
<div className="employee-form">
|
|
53
|
-
<
|
|
54
|
-
<
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
<
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
<
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
<
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
<
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
54
|
+
<Switch>
|
|
55
|
+
<PrivateRoute
|
|
56
|
+
path={`${path}/dashboard`}
|
|
57
|
+
component={() => (
|
|
58
|
+
<LayoutWrapper layoutClass="normal">
|
|
59
|
+
<Dashboard parentRoute={path} businessService="EKYC" moduleCode="EKYC" isInbox={true} />
|
|
60
|
+
</LayoutWrapper>
|
|
61
|
+
)}
|
|
62
|
+
/>
|
|
63
|
+
<PrivateRoute
|
|
64
|
+
path={`${path}/inbox`}
|
|
65
|
+
component={() => (
|
|
66
|
+
<LayoutWrapper layoutClass="normal">
|
|
67
|
+
<Inbox parentRoute={path} businessService="EKYC" moduleCode="EKYC" isInbox={true} />
|
|
68
|
+
</LayoutWrapper>
|
|
69
|
+
)}
|
|
70
|
+
/>
|
|
71
|
+
|
|
72
|
+
<PrivateRoute
|
|
73
|
+
path={`${path}/create-kyc`}
|
|
74
|
+
component={() => (
|
|
75
|
+
<LayoutWrapper layoutClass="normal">
|
|
76
|
+
<Create />
|
|
77
|
+
</LayoutWrapper>
|
|
78
|
+
)}
|
|
79
|
+
/>
|
|
80
|
+
|
|
81
|
+
<PrivateRoute
|
|
82
|
+
path={`${path}/mapping`}
|
|
83
|
+
component={() => (
|
|
84
|
+
<LayoutWrapper layoutClass="normal">
|
|
85
|
+
<Mapping />
|
|
86
|
+
</LayoutWrapper>
|
|
87
|
+
)}
|
|
88
|
+
/>
|
|
89
|
+
<PrivateRoute
|
|
90
|
+
path={`${path}/assign`}
|
|
91
|
+
exact
|
|
92
|
+
component={() => (
|
|
93
|
+
<LayoutWrapper layoutClass="normal">
|
|
94
|
+
<AssignEkyc />
|
|
95
|
+
</LayoutWrapper>
|
|
96
|
+
)}
|
|
97
|
+
/>
|
|
98
|
+
<PrivateRoute
|
|
99
|
+
path={`${path}/assign/surveyor-details/:id`}
|
|
100
|
+
exact
|
|
101
|
+
component={() => (
|
|
102
|
+
<LayoutWrapper layoutClass="action">
|
|
103
|
+
<SurveyorDetailsCard />
|
|
104
|
+
</LayoutWrapper>
|
|
105
|
+
)}
|
|
106
|
+
/>
|
|
107
|
+
|
|
108
|
+
<PrivateRoute
|
|
109
|
+
path={formStepRoutes.map((route) => `${path}/${route}`)}
|
|
110
|
+
component={(props) => (
|
|
111
|
+
<LayoutWrapper layoutClass="normal">
|
|
112
|
+
<EKYCForm {...props} path={path} />
|
|
113
|
+
</LayoutWrapper>
|
|
114
|
+
)}
|
|
115
|
+
/>
|
|
116
|
+
|
|
117
|
+
<PrivateRoute
|
|
118
|
+
path={`${path}/review/:kno`}
|
|
119
|
+
component={() => (
|
|
120
|
+
<LayoutWrapper layoutClass="action">
|
|
121
|
+
<Review />
|
|
122
|
+
</LayoutWrapper>
|
|
123
|
+
)}
|
|
124
|
+
/>
|
|
125
|
+
|
|
126
|
+
<PrivateRoute
|
|
127
|
+
path={`${path}/ceo-dashboard`}
|
|
128
|
+
component={() => (
|
|
129
|
+
<LayoutWrapper layoutClass="normal">
|
|
130
|
+
<CeoDashboard />
|
|
131
|
+
</LayoutWrapper>
|
|
132
|
+
)}
|
|
133
|
+
/>
|
|
134
|
+
|
|
135
|
+
<PrivateRoute
|
|
136
|
+
path={`${path}/vendors/:vendorId`}
|
|
137
|
+
component={() => (
|
|
138
|
+
<LayoutWrapper layoutClass="normal">
|
|
139
|
+
<VendorDetails />
|
|
140
|
+
</LayoutWrapper>
|
|
141
|
+
)}
|
|
142
|
+
/>
|
|
143
|
+
|
|
144
|
+
{/* <PrivateRoute
|
|
135
145
|
path={`${path}/`}
|
|
136
146
|
component={() => <Inbox parentRoute={path} businessService="EKYC" moduleCode="EKYC" isInbox={true} />}
|
|
137
147
|
/> */}
|
|
138
|
-
|
|
139
|
-
</div>
|
|
148
|
+
</Switch>
|
|
140
149
|
</div>
|
|
141
150
|
</div>
|
|
142
151
|
</AppContainer>
|