@djb25/digit-ui-module-ekyc 1.0.25 → 1.0.27
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 +1443 -643
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AadhaarVerification.js +245 -308
- package/src/components/AssignEkyc.js +15 -15
- package/src/components/AssignEkycModal.js +3 -8
- package/src/components/DesktopInbox.js +1 -1
- package/src/components/MeterDetails.js +227 -263
- package/src/components/PropertyInfo.js +176 -215
- package/src/components/Review.js +71 -14
- package/src/config/AadhaarVerificationConfig.js +367 -0
- package/src/config/MeterDetailsConfig.js +297 -0
- package/src/config/PropertyInfoConfig.js +145 -0
- package/src/config/config.js +1 -0
- package/src/hook/SupervisorInboxTableConfig.js +0 -7
- package/src/hook/useInboxTableConfig.js +1 -1
- package/src/pages/citizen/Inbox.js +14 -4
- package/src/pages/employee/ConsumerDetails.js +82 -24
- package/src/pages/employee/EKYCForm.js +1 -1
- package/src/pages/employee/Inbox.js +2 -0
|
@@ -71,9 +71,9 @@ const AssignEkyc = () => {
|
|
|
71
71
|
|
|
72
72
|
const totalRecords = dashboardData?.dashboardInfo?.totalRecords || dashboardData?.totalCount || 0;
|
|
73
73
|
|
|
74
|
-
const PropsForInboxLinks = {
|
|
75
|
-
|
|
76
|
-
};
|
|
74
|
+
// const PropsForInboxLinks = {
|
|
75
|
+
// headerText: "EKYC_MODULE",
|
|
76
|
+
// };
|
|
77
77
|
|
|
78
78
|
const SearchFormFields = useCallback(
|
|
79
79
|
({ registerRef, searchFormState, controlSearchForm }) => (
|
|
@@ -117,18 +117,18 @@ const AssignEkyc = () => {
|
|
|
117
117
|
className: "search-form-wns-inbox",
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const FilterFormFields = useCallback(
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
);
|
|
124
|
-
|
|
125
|
-
const propsForFilterForm = {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
};
|
|
120
|
+
// const FilterFormFields = useCallback(
|
|
121
|
+
// ({ registerRef, controlFilterForm, setFilterFormValue, getFilterFormValue }) => <React.Fragment></React.Fragment>,
|
|
122
|
+
// []
|
|
123
|
+
// );
|
|
124
|
+
|
|
125
|
+
// const propsForFilterForm = {
|
|
126
|
+
// FilterFormFields,
|
|
127
|
+
// onFilterFormSubmit: () => { },
|
|
128
|
+
// filterFormDefaultValues: "",
|
|
129
|
+
// resetFilterFormDefaultValues: "",
|
|
130
|
+
// onFilterFormReset: () => { },
|
|
131
|
+
// };
|
|
132
132
|
|
|
133
133
|
const onPageSizeChange = (e) => {
|
|
134
134
|
const newLimit = Number(e.target.value);
|
|
@@ -134,25 +134,20 @@ const AssignEkycModal = ({ surveyor, closeModal, refetchDashboard }) => {
|
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
console.log("=-=-==-=-=-=-", {
|
|
138
|
-
assignmentType: "KNO",
|
|
139
|
-
assignmentValues: selectedKnos,
|
|
140
|
-
});
|
|
141
|
-
|
|
142
137
|
return {
|
|
143
138
|
assignmentType: "KNO",
|
|
144
|
-
|
|
139
|
+
assignmentValue: selectedKnos,
|
|
145
140
|
};
|
|
146
141
|
};
|
|
142
|
+
|
|
147
143
|
const handleAssign = () => {
|
|
148
|
-
const { assignmentType, assignmentValue
|
|
144
|
+
const { assignmentType, assignmentValue } = getAssignmentPayload();
|
|
149
145
|
|
|
150
146
|
assignmentMutation.mutate({
|
|
151
147
|
tenantId: "dl.djb",
|
|
152
148
|
surveyorId: surveyor?.owner?.uuid,
|
|
153
149
|
assignmentType,
|
|
154
150
|
assignmentValue,
|
|
155
|
-
assignmentValues,
|
|
156
151
|
});
|
|
157
152
|
};
|
|
158
153
|
|
|
@@ -80,7 +80,7 @@ const DesktopInbox = ({ tableConfig, filterComponent, ...props }) => {
|
|
|
80
80
|
Header: t("EKYC_EKYC_STATUS"),
|
|
81
81
|
accessor: "ekycStatus",
|
|
82
82
|
Cell: ({ row }) => {
|
|
83
|
-
const ekycStatus = row.original?.ekycstatus || "NA";
|
|
83
|
+
const ekycStatus = row.original?.ekycStatus || row.original?.ekycstatus || "NA";
|
|
84
84
|
return <span className={`ekyc-status-tag ${ekycStatus}`}>{t(`${ekycStatus}`)}</span>
|
|
85
85
|
}
|
|
86
86
|
},
|