@djb25/digit-ui-module-ws 1.0.26 → 1.0.28
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 +216 -42
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState, useEffect, useRef, useMemo, Fragment as Fragment$1, useReducer, useCallback } from 'react';
|
|
2
2
|
import { useTranslation } from 'react-i18next';
|
|
3
3
|
import { Link, useLocation, Switch, Route, useHistory, useRouteMatch, Redirect, useParams } from 'react-router-dom';
|
|
4
|
-
import { Loader, Card, KeyNote, SubmitBar, InfoBannerIcon, Header,
|
|
4
|
+
import { Loader, Card, KeyNote, SubmitBar, InfoBannerIcon, Header, AppContainer, ModuleHeader, ArrowLeft, PrivateRoute, Banner, CardText, ActionBar, LayoutWrapper, HomeIcon, PrintBtnCommon, MultiLink, LinkButton, Toast, TickMark, FormStep, CardLabel, RadioOrSelect, TextInput, CardHeader, CitizenInfoLabel, CardSubHeader, Dropdown, UploadFile, CheckBox, RadioButtons, MobileNumber, LabelFieldPair, DatePicker, CollapsibleCardPage, ViewsIcon, Modal, DeleteIcon, CardLabelError, WrapUnMaskComponent, StatusTable, Row, CardSectionHeader, InfoIcon, TextArea, SearchField, FilterFormField, RemoveableTag, MultiSelectDropdown, InboxComposer, DropIcon, WSICon, EmployeeModuleCard, SearchAction, PopUp, DetailsCard, SearchForm, CloseSvg, Table, Localities, DownloadBtnCommon, CollectionIcon, ResponseComposer, TelePhone, DisplayPhotos, CheckPoint, ConnectingCheckPoints, ActionLinks, PDFSvg, EditIcon, CardSectionSubText, DownloadIcon, CardLabelDesc, VerticalTimeline, FormComposer, MultiUploadWrapper, Close as Close$e, BreakLine, Menu, ButtonSelector, CitizenHomeCard } from '@djb25/digit-ui-react-components';
|
|
5
5
|
import { useForm, Controller, useWatch, useFormContext } from 'react-hook-form';
|
|
6
6
|
import { read, utils as utils$1 } from 'xlsx';
|
|
7
7
|
import { useQueryClient } from 'react-query';
|
|
@@ -441,7 +441,7 @@ const getFiles = async (filesArray, tenant) => {
|
|
|
441
441
|
response !== null && response !== void 0 && (_response$data = response.data) !== null && _response$data !== void 0 && (_response$data$fileSt = _response$data.fileStoreIds) !== null && _response$data$fileSt !== void 0 && (_response$data$fileSt2 = _response$data$fileSt[0]) !== null && _response$data$fileSt2 !== void 0 && _response$data$fileSt2.url ? window.open(response === null || response === void 0 ? void 0 : (_response$data2 = response.data) === null || _response$data2 === void 0 ? void 0 : (_response$data2$fileS = _response$data2.fileStoreIds) === null || _response$data2$fileS === void 0 ? void 0 : (_response$data2$fileS2 = _response$data2$fileS[0]) === null || _response$data2$fileS2 === void 0 ? void 0 : _response$data2$fileS2.url) : null;
|
|
442
442
|
};
|
|
443
443
|
const createPayloadOfWS = async data => {
|
|
444
|
-
var _data$cpt, _data$cpt$details, _data$cpt$details$own, _data$applicationSele, _data$ConnectionDetai, _data$ConnectionDetai2, _ref, _data$ConnectionHolde, _data$useDetails, _data$useDetails2, _data$useDetails3, _data$useDetails3$pro, _connectionDetailsObj, _connectionDetailsObj2, _data$useDetails4, _data$useDetails4$pro, _connectionDetailsObj3, _connectionDetailsObj4, _data$useDetails5, _data$useDetails6, _data$useDetails7, _data$useDetails8, _connectionHolder$gen, _data$cpt2, _data$cpt2$details, _data$cpt2$details$ow, _data$cpt2$details$ow2, _connectionHolder$own, _connectionHolder$rel, _data$propertyAddress, _data$applicant, _data$useDetails9, _data$useDetails9$gen, _data$contact, _data$applicant2, _data$applicant3, _data$applicant4, _data$contact2, _data$contact3, _data$applicationSele2, _data$applicationSele3, _data$contact4, _data$cpt3, _data$cpt4, _data$cpt4$details, _data$propertyAddress2, _data$propertyAddress3, _data$propertyAddress4, _data$cpt5, _data$cpt5$details, _data$cpt5$details$ad, _data$propertyAddress5, _data$cpt6, _data$cpt6$details, _data$cpt6$details$ad, _data$propertyAddress6, _data$cpt7, _data$cpt7$details, _data$cpt7$details$ad, _data$propertyAddress7, _data$cpt8, _data$cpt8$details, _data$cpt8$details$ad, _data$propertyAddress8, _data$cpt9, _data$cpt9$details, _data$cpt9$details$ad, _data$propertyAddress9, _data$cpt0, _data$cpt0$details, _data$cpt0$details$ad, _data$propertyAddress0, _data$cpt1, _data$cpt1$details, _data$cpt1$details$ad, _data$propertyAddress1, _data$cpt10, _data$cpt10$details, _data$cpt10$details$a, _data$propertyAddress10, _data$cpt11, _data$cpt11$details, _data$cpt11$details$a, _data$cpt12, _data$cpt12$details, _data$cpt12$details$a, _data$propertyAddress11, _data$cpt13, _data$cpt13$details, _data$cpt13$details$a, _data$cpt13$details$a2, _data$propertyAddress12, _data$cpt14, _data$cpt14$details, _data$cpt14$details$a, _data$cpt14$details$a2, _data$propertyAddress13, _data$cpt15, _data$cpt15$details, _data$cpt15$details$a, _data$cpt15$details$a2, _data$cpt16, _data$cpt16$details, _data$roadCuttingDeta, _data$plumberDetails, _data$zro, _data$propertyAddress14, _data$propertyAddress15, _data$cpt17, _data$cpt17$details, _data$cpt17$details$a, _data$cpt17$details$a2, _data$plumberDetails2, _data$plumberDetails3, _data$plumberDetails4, _data$plumberDetails5, _data$plumberDetails6, _data$applicationSele4, _data$applicationSele5, _data$applicationSele6, _data$applicationSele7, _connectionDetailsObj5, _data$applicationSele8, _data$applicationSele9, _connectionHolder$own2, _data$applicationSele0, _data$applicationSele1, _data$applicationSele10, _data$applicationSele11, _data$applicationSele12, _data$applicationSele13, _data$applicationSele14, _data$applicationSele15, _data$applicationSele16, _data$applicationSele17, _data$applicationSele18, _data$applicationSele19, _data$applicationSele20, _data$applicationSele21, _data$applicationSele22, _data$applicationSele23, _data$applicationSele24, _data$contact5, _data$documents, _data$documents2, _data$documents3, _data$documents4, _data$cpt18, _Digit, _Digit$Customizations, _Digit$Customizations2, _Digit2, _Digit2$Customization, _Digit2$Customization2;
|
|
444
|
+
var _data$cpt, _data$cpt$details, _data$cpt$details$own, _data$applicationSele, _data$ConnectionDetai, _data$ConnectionDetai2, _ref, _data$ConnectionHolde, _data$useDetails, _data$useDetails2, _data$useDetails3, _data$useDetails3$pro, _connectionDetailsObj, _connectionDetailsObj2, _data$useDetails4, _data$useDetails4$pro, _connectionDetailsObj3, _connectionDetailsObj4, _data$useDetails5, _data$useDetails6, _data$useDetails7, _data$useDetails8, _connectionHolder$gen, _data$cpt2, _data$cpt2$details, _data$cpt2$details$ow, _data$cpt2$details$ow2, _connectionHolder$own, _connectionHolder$rel, _data$propertyAddress, _data$applicant, _data$useDetails9, _data$useDetails9$gen, _data$contact, _data$applicant2, _data$applicant3, _data$applicant4, _data$contact2, _data$contact3, _data$applicationSele2, _data$applicationSele3, _data$contact4, _data$cpt3, _data$cpt4, _data$cpt4$details, _data$propertyAddress2, _data$propertyAddress3, _data$propertyAddress4, _data$cpt5, _data$cpt5$details, _data$cpt5$details$ad, _data$propertyAddress5, _data$cpt6, _data$cpt6$details, _data$cpt6$details$ad, _data$propertyAddress6, _data$cpt7, _data$cpt7$details, _data$cpt7$details$ad, _data$propertyAddress7, _data$cpt8, _data$cpt8$details, _data$cpt8$details$ad, _data$propertyAddress8, _data$cpt9, _data$cpt9$details, _data$cpt9$details$ad, _data$propertyAddress9, _data$cpt0, _data$cpt0$details, _data$cpt0$details$ad, _data$propertyAddress0, _data$cpt1, _data$cpt1$details, _data$cpt1$details$ad, _data$propertyAddress1, _data$cpt10, _data$cpt10$details, _data$cpt10$details$a, _data$propertyAddress10, _data$cpt11, _data$cpt11$details, _data$cpt11$details$a, _data$cpt12, _data$cpt12$details, _data$cpt12$details$a, _data$propertyAddress11, _data$cpt13, _data$cpt13$details, _data$cpt13$details$a, _data$cpt13$details$a2, _data$propertyAddress12, _data$cpt14, _data$cpt14$details, _data$cpt14$details$a, _data$cpt14$details$a2, _data$propertyAddress13, _data$cpt15, _data$cpt15$details, _data$cpt15$details$a, _data$cpt15$details$a2, _data$cpt16, _data$cpt16$details, _data$roadCuttingDeta, _data$plumberDetails, _data$zro, _data$propertyAddress14, _data$propertyAddress15, _data$cpt17, _data$cpt17$details, _data$cpt17$details$a, _data$cpt17$details$a2, _data$plumberDetails2, _data$plumberDetails3, _data$plumberDetails4, _data$plumberDetails5, _data$plumberDetails6, _data$applicationSele4, _data$applicationSele5, _data$applicationSele6, _data$applicationSele7, _connectionDetailsObj5, _data$applicationSele8, _data$applicationSele9, _connectionHolder$own2, _data$applicationSele0, _data$applicationSele1, _data$applicationSele10, _data$applicationSele11, _data$applicationSele12, _data$applicationSele13, _data$applicationSele14, _data$applicationSele15, _data$applicationSele16, _data$applicationSele17, _data$applicationSele18, _data$applicationSele19, _data$applicationSele20, _data$applicationSele21, _data$applicationSele22, _data$applicationSele23, _data$applicationSele24, _data$contact5, _data$documents, _data$documents2, _data$documents3, _Digit$UserService$ge, _data$documents4, _data$cpt18, _Digit, _Digit$Customizations, _Digit$Customizations2, _Digit2, _Digit2$Customization, _Digit2$Customization2;
|
|
445
445
|
data === null || data === void 0 ? void 0 : (_data$cpt = data.cpt) === null || _data$cpt === void 0 ? void 0 : (_data$cpt$details = _data$cpt.details) === null || _data$cpt$details === void 0 ? void 0 : (_data$cpt$details$own = _data$cpt$details.owners) === null || _data$cpt$details$own === void 0 ? void 0 : _data$cpt$details$own.forEach(owner => {
|
|
446
446
|
if (owner !== null && owner !== void 0 && owner.permanentAddress) owner.correspondenceAddress = owner === null || owner === void 0 ? void 0 : owner.permanentAddress;
|
|
447
447
|
});
|
|
@@ -570,7 +570,7 @@ const createPayloadOfWS = async data => {
|
|
|
570
570
|
processInstance: {
|
|
571
571
|
action: "INITIATE"
|
|
572
572
|
},
|
|
573
|
-
channel: Digit.UserService.getType() === "CITIZEN" ? "CITIZEN" : "CFC_COUNTER"
|
|
573
|
+
channel: ((_Digit$UserService$ge = Digit.UserService.getType()) === null || _Digit$UserService$ge === void 0 ? void 0 : _Digit$UserService$ge.toUpperCase()) === "CITIZEN" ? "CITIZEN" : "CFC_COUNTER"
|
|
574
574
|
};
|
|
575
575
|
sessionStorage.setItem("WS_DOCUMENTS_INOF", JSON.stringify((data === null || data === void 0 ? void 0 : (_data$documents4 = data.documents) === null || _data$documents4 === void 0 ? void 0 : _data$documents4.documents) || (data === null || data === void 0 ? void 0 : data.documents) || []));
|
|
576
576
|
sessionStorage.setItem("WS_PROPERTY_INOF", JSON.stringify((data === null || data === void 0 ? void 0 : (_data$cpt18 = data.cpt) === null || _data$cpt18 === void 0 ? void 0 : _data$cpt18.details) || {}));
|
|
@@ -607,7 +607,7 @@ const convertToWSUpdate = data => {
|
|
|
607
607
|
return formdata;
|
|
608
608
|
};
|
|
609
609
|
const convertToEditWSUpdate = data => {
|
|
610
|
-
var _data$WaterConnection3, _data$WaterConnection4, _data$documents6, _data$ConnectionHolde2, _data$ConnectionHolde3, _data$ConnectionHolde4, _data$ConnectionHolde5, _data$ConnectionHolde6, _data$ConnectionHolde7, _data$ConnectionHolde8, _data$ConnectionHolde9, _data$ConnectionHolde0, _data$ConnectionHolde1, _data$ConnectionHolde10, _data$ConnectionHolde11, _data$ConnectionHolde12, _data$ConnectionHolde13, _data$ConnectionHolde14, _data$ConnectionHolde15, _data$waterConectionD, _data$waterConectionD2, _data$waterConectionD3, _data$applicationType, _data$applicationType2, _data$serviceName, _waterResult$serviceN, _data$documents7, _data$sewerageConnect, _data$sewerageConnect2, _Digit7, _Digit7$Customization, _Digit7$Customization2, _Digit8, _Digit8$Customization, _Digit8$Customization2;
|
|
610
|
+
var _data$WaterConnection3, _data$WaterConnection4, _data$documents6, _data$ConnectionHolde2, _data$ConnectionHolde3, _data$ConnectionHolde4, _data$ConnectionHolde5, _data$ConnectionHolde6, _data$ConnectionHolde7, _data$ConnectionHolde8, _data$ConnectionHolde9, _data$ConnectionHolde0, _data$ConnectionHolde1, _data$ConnectionHolde10, _data$ConnectionHolde11, _data$ConnectionHolde12, _data$ConnectionHolde13, _data$ConnectionHolde14, _data$ConnectionHolde15, _Digit$UserService$ge2, _data$waterConectionD, _data$waterConectionD2, _data$waterConectionD3, _data$applicationType, _data$applicationType2, _data$serviceName, _waterResult$serviceN, _data$documents7, _data$sewerageConnect, _data$sewerageConnect2, _Digit7, _Digit7$Customization, _Digit7$Customization2, _Digit8, _Digit8$Customization, _Digit8$Customization2;
|
|
611
611
|
let waterResult = data === null || data === void 0 ? void 0 : (_data$WaterConnection3 = data.WaterConnectionResult) === null || _data$WaterConnection3 === void 0 ? void 0 : (_data$WaterConnection4 = _data$WaterConnection3.WaterConnection) === null || _data$WaterConnection4 === void 0 ? void 0 : _data$WaterConnection4[0];
|
|
612
612
|
let formdata = {
|
|
613
613
|
WaterConnection: {
|
|
@@ -657,7 +657,7 @@ const convertToEditWSUpdate = data => {
|
|
|
657
657
|
sameAsPropertyAddress: data === null || data === void 0 ? void 0 : (_data$ConnectionHolde15 = data.ConnectionHolderDetails) === null || _data$ConnectionHolde15 === void 0 ? void 0 : _data$ConnectionHolde15.sameAsOwnerDetails
|
|
658
658
|
}] : null : waterResult === null || waterResult === void 0 ? void 0 : waterResult.connectionHolders,
|
|
659
659
|
oldApplication: false,
|
|
660
|
-
channel: Digit.UserService.getType() === "CITIZEN" ? "CITIZEN" : "CFC_COUNTER",
|
|
660
|
+
channel: ((_Digit$UserService$ge2 = Digit.UserService.getType()) === null || _Digit$UserService$ge2 === void 0 ? void 0 : _Digit$UserService$ge2.toUpperCase()) === "CITIZEN" ? "CITIZEN" : "CFC_COUNTER",
|
|
661
661
|
waterSource: (data !== null && data !== void 0 && data.isEditApplication ? data === null || data === void 0 ? void 0 : data.waterSource : waterResult === null || waterResult === void 0 ? void 0 : waterResult.waterSource) || null,
|
|
662
662
|
meterId: (data !== null && data !== void 0 && data.isEditApplication ? data === null || data === void 0 ? void 0 : data.meterId : waterResult === null || waterResult === void 0 ? void 0 : waterResult.meterId) || null,
|
|
663
663
|
meterInstallationDate: (data !== null && data !== void 0 && data.isEditApplication ? data === null || data === void 0 ? void 0 : data.meterInstallationDate : waterResult === null || waterResult === void 0 ? void 0 : waterResult.meterInstallationDate) || null,
|
|
@@ -689,7 +689,7 @@ const convertToEditWSUpdate = data => {
|
|
|
689
689
|
return formdata;
|
|
690
690
|
};
|
|
691
691
|
const convertToEditSWUpdate = data => {
|
|
692
|
-
var _data$SewerageConnect, _data$SewerageConnect2, _data$documents8, _data$ConnectionHolde16, _data$ConnectionHolde17, _data$ConnectionHolde18, _data$ConnectionHolde19, _data$ConnectionHolde20, _data$ConnectionHolde21, _data$ConnectionHolde22, _data$ConnectionHolde23, _data$ConnectionHolde24, _data$ConnectionHolde25, _data$ConnectionHolde26, _data$ConnectionHolde27, _data$ConnectionHolde28, _data$ConnectionHolde29, _data$ConnectionHolde30, _data$ConnectionHolde31, _data$waterConectionD4, _data$waterConectionD5, _data$waterConectionD6, _data$applicationType3, _data$applicationType4, _data$serviceName2, _SewerageResult$servi, _data$documents9, _data$sewerageConnect3, _data$sewerageConnect4, _Digit9, _Digit9$Customization, _Digit9$Customization2, _Digit0, _Digit0$Customization, _Digit0$Customization2;
|
|
692
|
+
var _data$SewerageConnect, _data$SewerageConnect2, _data$documents8, _data$ConnectionHolde16, _data$ConnectionHolde17, _data$ConnectionHolde18, _data$ConnectionHolde19, _data$ConnectionHolde20, _data$ConnectionHolde21, _data$ConnectionHolde22, _data$ConnectionHolde23, _data$ConnectionHolde24, _data$ConnectionHolde25, _data$ConnectionHolde26, _data$ConnectionHolde27, _data$ConnectionHolde28, _data$ConnectionHolde29, _data$ConnectionHolde30, _data$ConnectionHolde31, _Digit$UserService$ge3, _data$waterConectionD4, _data$waterConectionD5, _data$waterConectionD6, _data$applicationType3, _data$applicationType4, _data$serviceName2, _SewerageResult$servi, _data$documents9, _data$sewerageConnect3, _data$sewerageConnect4, _Digit9, _Digit9$Customization, _Digit9$Customization2, _Digit0, _Digit0$Customization, _Digit0$Customization2;
|
|
693
693
|
let SewerageResult = data === null || data === void 0 ? void 0 : (_data$SewerageConnect = data.SewerageConnectionResult) === null || _data$SewerageConnect === void 0 ? void 0 : (_data$SewerageConnect2 = _data$SewerageConnect.SewerageConnections) === null || _data$SewerageConnect2 === void 0 ? void 0 : _data$SewerageConnect2[0];
|
|
694
694
|
let formdata = {
|
|
695
695
|
SewerageConnection: {
|
|
@@ -739,7 +739,7 @@ const convertToEditSWUpdate = data => {
|
|
|
739
739
|
sameAsPropertyAddress: data === null || data === void 0 ? void 0 : (_data$ConnectionHolde31 = data.ConnectionHolderDetails) === null || _data$ConnectionHolde31 === void 0 ? void 0 : _data$ConnectionHolde31.sameAsOwnerDetails
|
|
740
740
|
}] : null : SewerageResult === null || SewerageResult === void 0 ? void 0 : SewerageResult.connectionHolders,
|
|
741
741
|
oldApplication: false,
|
|
742
|
-
channel: Digit.UserService.getType() === "CITIZEN" ? "CITIZEN" : "CFC_COUNTER",
|
|
742
|
+
channel: ((_Digit$UserService$ge3 = Digit.UserService.getType()) === null || _Digit$UserService$ge3 === void 0 ? void 0 : _Digit$UserService$ge3.toUpperCase()) === "CITIZEN" ? "CITIZEN" : "CFC_COUNTER",
|
|
743
743
|
waterSource: (data !== null && data !== void 0 && data.isEditApplication ? data === null || data === void 0 ? void 0 : data.waterSource : SewerageResult === null || SewerageResult === void 0 ? void 0 : SewerageResult.waterSource) || null,
|
|
744
744
|
meterId: (data !== null && data !== void 0 && data.isEditApplication ? data === null || data === void 0 ? void 0 : data.meterId : SewerageResult === null || SewerageResult === void 0 ? void 0 : SewerageResult.meterId) || null,
|
|
745
745
|
meterInstallationDate: (data !== null && data !== void 0 && data.isEditApplication ? data === null || data === void 0 ? void 0 : data.meterInstallationDate : SewerageResult === null || SewerageResult === void 0 ? void 0 : SewerageResult.meterInstallationDate) || null,
|
|
@@ -834,7 +834,7 @@ const createPayloadOfWSDisconnection = async (data, storeData, service) => {
|
|
|
834
834
|
...(storeData === null || storeData === void 0 ? void 0 : (_storeData$applicatio44 = storeData.applicationData) === null || _storeData$applicatio44 === void 0 ? void 0 : _storeData$applicatio44.processInstance),
|
|
835
835
|
action: "INITIATE"
|
|
836
836
|
},
|
|
837
|
-
channel: user === "
|
|
837
|
+
channel: (user === null || user === void 0 ? void 0 : user.toUpperCase()) === "CITIZEN" ? "CITIZEN" : "CFC_COUNTER"
|
|
838
838
|
},
|
|
839
839
|
disconnectRequest: true
|
|
840
840
|
};
|
|
@@ -879,7 +879,7 @@ const createPayloadOfWSDisconnection = async (data, storeData, service) => {
|
|
|
879
879
|
...(storeData === null || storeData === void 0 ? void 0 : (_storeData$applicatio63 = storeData.applicationData) === null || _storeData$applicatio63 === void 0 ? void 0 : _storeData$applicatio63.processInstance),
|
|
880
880
|
action: "INITIATE"
|
|
881
881
|
},
|
|
882
|
-
channel: user === "
|
|
882
|
+
channel: (user === null || user === void 0 ? void 0 : user.toUpperCase()) === "CITIZEN" ? "CITIZEN" : "CFC_COUNTER"
|
|
883
883
|
},
|
|
884
884
|
disconnectRequest: true
|
|
885
885
|
};
|
|
@@ -937,7 +937,7 @@ const createPayloadOfWSReconnection = async (data, storeData, service) => {
|
|
|
937
937
|
action: "INITIATE",
|
|
938
938
|
businessService: "WSReconnection"
|
|
939
939
|
},
|
|
940
|
-
channel: user === "
|
|
940
|
+
channel: (user === null || user === void 0 ? void 0 : user.toUpperCase()) === "CITIZEN" ? "CITIZEN" : "CFC_COUNTER"
|
|
941
941
|
},
|
|
942
942
|
disconnectRequest: false
|
|
943
943
|
};
|
|
@@ -983,7 +983,7 @@ const createPayloadOfWSReconnection = async (data, storeData, service) => {
|
|
|
983
983
|
action: "INITIATE",
|
|
984
984
|
businessService: "SWReconnection"
|
|
985
985
|
},
|
|
986
|
-
channel: user === "
|
|
986
|
+
channel: (user === null || user === void 0 ? void 0 : user.toUpperCase()) === "CITIZEN" ? "CITIZEN" : "CFC_COUNTER"
|
|
987
987
|
},
|
|
988
988
|
disconnectRequest: false
|
|
989
989
|
};
|
|
@@ -1655,7 +1655,7 @@ const getConvertedDate = async dateOfTime => {
|
|
|
1655
1655
|
return convertedDate;
|
|
1656
1656
|
};
|
|
1657
1657
|
const convertModifyApplicationDetails = async (data, appData, actionData = "INITIATE") => {
|
|
1658
|
-
var _data$cpt33, _data$cpt33$details, _data$cpt33$details$o, _data$cpt34, _data$cpt34$details, _data$cpt35, _data$cpt35$details, _data$connectionDetai, _data$connectionDetai2, _data$connectionDetai3, _data$connectionDetai4, _data$connectionDetai5, _data$connectionDetai6, _data$connectionDetai7, _data$connectionDetai8, _data$connectionDetai9, _data$connectionDetai0, _data$connectionDetai1, _data$connectionDetai10, _data$connectionDetai11, _data$connectionDetai12, _data$connectionDetai13, _data$connectionDetai14, _data$connectionDetai15, _data$connectionDetai16, _data$connectionDetai17, _data$connectionDetai18, _data$connectionDetai19, _data$connectionDetai20, _data$connectionDetai21, _data$connectionDetai22, _data$connectionDetai23, _data$connectionDetai24, _data$connectionDetai25, _data$connectionDetai26, _data$connectionDetai27, _data$connectionDetai28, _data$activationDetai, _data$activationDetai2, _data$activationDetai3, _data$activationDetai4, _data$activationDetai5, _data$activationDetai6, _data$activationDetai7, _data$activationDetai8, _data$activationDetai9, _data$activationDetai0, _data$activationDetai1, _data$activationDetai10, _data$activationDetai11, _data$activationDetai12, _data$activationDetai13, _data$activationDetai14, _data$activationDetai15, _data$activationDetai16, _data$activationDetai17, _data$activationDetai18, _data$DocumentsRequir3, _data$DocumentsRequir4, _data$DocumentsRequir5, _data$ConnectionHolde61, _data$ConnectionHolde62, _data$DocumentsRequir6, _data$cpt36;
|
|
1658
|
+
var _data$cpt33, _data$cpt33$details, _data$cpt33$details$o, _data$cpt34, _data$cpt34$details, _data$cpt35, _data$cpt35$details, _data$connectionDetai, _data$connectionDetai2, _data$connectionDetai3, _data$connectionDetai4, _data$connectionDetai5, _data$connectionDetai6, _data$connectionDetai7, _data$connectionDetai8, _data$connectionDetai9, _data$connectionDetai0, _data$connectionDetai1, _data$connectionDetai10, _data$connectionDetai11, _data$connectionDetai12, _data$connectionDetai13, _data$connectionDetai14, _data$connectionDetai15, _data$connectionDetai16, _data$connectionDetai17, _data$connectionDetai18, _data$connectionDetai19, _data$connectionDetai20, _data$connectionDetai21, _data$connectionDetai22, _data$connectionDetai23, _data$connectionDetai24, _data$connectionDetai25, _data$connectionDetai26, _data$connectionDetai27, _data$connectionDetai28, _data$activationDetai, _data$activationDetai2, _data$activationDetai3, _data$activationDetai4, _data$activationDetai5, _data$activationDetai6, _data$activationDetai7, _data$activationDetai8, _data$activationDetai9, _data$activationDetai0, _data$activationDetai1, _data$activationDetai10, _data$activationDetai11, _data$activationDetai12, _data$activationDetai13, _data$activationDetai14, _data$activationDetai15, _data$activationDetai16, _data$activationDetai17, _data$activationDetai18, _data$DocumentsRequir3, _data$DocumentsRequir4, _data$DocumentsRequir5, _data$ConnectionHolde61, _data$ConnectionHolde62, _Digit$UserService$ge4, _data$DocumentsRequir6, _data$cpt36;
|
|
1659
1659
|
data === null || data === void 0 ? void 0 : (_data$cpt33 = data.cpt) === null || _data$cpt33 === void 0 ? void 0 : (_data$cpt33$details = _data$cpt33.details) === null || _data$cpt33$details === void 0 ? void 0 : (_data$cpt33$details$o = _data$cpt33$details.owners) === null || _data$cpt33$details$o === void 0 ? void 0 : _data$cpt33$details$o.forEach(owner => {
|
|
1660
1660
|
if (owner !== null && owner !== void 0 && owner.permanentAddress) owner.correspondenceAddress = owner === null || owner === void 0 ? void 0 : owner.permanentAddress;
|
|
1661
1661
|
});
|
|
@@ -1697,7 +1697,7 @@ const convertModifyApplicationDetails = async (data, appData, actionData = "INIT
|
|
|
1697
1697
|
action: actionData
|
|
1698
1698
|
};
|
|
1699
1699
|
formData.action = actionData;
|
|
1700
|
-
formData.channel = "CFC_COUNTER";
|
|
1700
|
+
formData.channel = ((_Digit$UserService$ge4 = Digit.UserService.getType()) === null || _Digit$UserService$ge4 === void 0 ? void 0 : _Digit$UserService$ge4.toUpperCase()) === "CITIZEN" ? "CITIZEN" : "CFC_COUNTER";
|
|
1701
1701
|
sessionStorage.setItem("WS_DOCUMENTS_INOF", JSON.stringify((data === null || data === void 0 ? void 0 : (_data$DocumentsRequir6 = data.DocumentsRequired) === null || _data$DocumentsRequir6 === void 0 ? void 0 : _data$DocumentsRequir6.documents) || []));
|
|
1702
1702
|
sessionStorage.setItem("WS_PROPERTY_INOF", JSON.stringify(data === null || data === void 0 ? void 0 : (_data$cpt36 = data.cpt) === null || _data$cpt36 === void 0 ? void 0 : _data$cpt36.details));
|
|
1703
1703
|
return formData;
|
|
@@ -7855,7 +7855,7 @@ const WSMyApplications = () => {
|
|
|
7855
7855
|
const App = ({
|
|
7856
7856
|
path
|
|
7857
7857
|
}) => {
|
|
7858
|
-
var _Digit, _Digit$ComponentRegis, _Digit2, _Digit2$ComponentRegi, _Digit3, _Digit3$ComponentRegi, _Digit4, _Digit4$ComponentRegi, _Digit5, _Digit5$ComponentRegi, _Digit6, _Digit6$ComponentRegi, _Digit7, _Digit7$ComponentRegi, _Digit8, _Digit8$ComponentRegi, _Digit9, _Digit9$ComponentRegi, _Digit0, _Digit0$ComponentRegi, _Digit1, _Digit1$ComponentRegi, _Digit10, _Digit10$ComponentReg, _Digit11, _Digit11$ComponentReg, _Digit12, _Digit12$ComponentReg, _Digit13, _Digit13$ComponentReg, _Digit14, _Digit14$ComponentReg;
|
|
7858
|
+
var _Digit, _Digit$ComponentRegis, _Digit2, _Digit2$ComponentRegi, _Digit3, _Digit3$ComponentRegi, _Digit4, _Digit4$ComponentRegi, _Digit5, _Digit5$ComponentRegi, _Digit6, _Digit6$ComponentRegi, _Digit7, _Digit7$ComponentRegi, _Digit8, _Digit8$ComponentRegi, _Digit9, _Digit9$ComponentRegi, _Digit0, _Digit0$ComponentRegi, _Digit1, _Digit1$ComponentRegi, _Digit10, _Digit10$ComponentReg, _Digit11, _Digit11$ComponentReg, _Digit12, _Digit12$ComponentReg, _Digit13, _Digit13$ComponentReg, _Digit14, _Digit14$ComponentReg, _Digit15, _Digit15$ComponentReg;
|
|
7859
7859
|
const location = useLocation();
|
|
7860
7860
|
const {
|
|
7861
7861
|
t
|
|
@@ -7864,13 +7864,41 @@ const App = ({
|
|
|
7864
7864
|
let isAcknowledgement = window.location.href.includes("/acknowledgement") || window.location.href.includes("/disconnect-acknowledge");
|
|
7865
7865
|
const WSDisconnectAcknowledgement = (_Digit = Digit) === null || _Digit === void 0 ? void 0 : (_Digit$ComponentRegis = _Digit.ComponentRegistryService) === null || _Digit$ComponentRegis === void 0 ? void 0 : _Digit$ComponentRegis.getComponent("WSDisconnectAcknowledgement");
|
|
7866
7866
|
const WSRestorationAcknowledgement = (_Digit2 = Digit) === null || _Digit2 === void 0 ? void 0 : (_Digit2$ComponentRegi = _Digit2.ComponentRegistryService) === null || _Digit2$ComponentRegi === void 0 ? void 0 : _Digit2$ComponentRegi.getComponent("WSRestorationAcknowledgement");
|
|
7867
|
-
const
|
|
7868
|
-
|
|
7869
|
-
|
|
7870
|
-
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
|
|
7867
|
+
const crumbs = [{
|
|
7868
|
+
path: "/digit-ui/citizen",
|
|
7869
|
+
content: t("CS_COMMON_HOME"),
|
|
7870
|
+
show: true
|
|
7871
|
+
}, {
|
|
7872
|
+
path: "/digit-ui/citizen/ws/create-application",
|
|
7873
|
+
content: t("CS_WS_CREATE_APPLICATION"),
|
|
7874
|
+
show: location.pathname.includes("/create-application")
|
|
7875
|
+
}, {
|
|
7876
|
+
path: "/digit-ui/citizen/ws/search",
|
|
7877
|
+
content: t("CS_WS_SEARCH_CONNECTION"),
|
|
7878
|
+
show: location.pathname.includes("/search")
|
|
7879
|
+
}, {
|
|
7880
|
+
path: "/digit-ui/citizen/ws/my-applications",
|
|
7881
|
+
content: t("CS_WS_MY_APPLICATIONS"),
|
|
7882
|
+
show: location.pathname.includes("/my-applications")
|
|
7883
|
+
}, {
|
|
7884
|
+
path: "/digit-ui/citizen/ws/my-connections",
|
|
7885
|
+
content: t("CS_WS_MY_CONNECTIONS"),
|
|
7886
|
+
show: location.pathname.includes("/my-connections")
|
|
7887
|
+
}, {
|
|
7888
|
+
path: "/digit-ui/citizen/ws/my-bills",
|
|
7889
|
+
content: t("CS_WS_MY_BILLS"),
|
|
7890
|
+
show: location.pathname.includes("/my-bills")
|
|
7891
|
+
}, {
|
|
7892
|
+
path: "/digit-ui/citizen/ws/my-payments",
|
|
7893
|
+
content: t("CS_WS_MY_PAYMENTS"),
|
|
7894
|
+
show: location.pathname.includes("/my-payments")
|
|
7895
|
+
}, {
|
|
7896
|
+
path: "/digit-ui/citizen/ws/old-application",
|
|
7897
|
+
content: t("WS_OLD_APPLICATION"),
|
|
7898
|
+
show: location.pathname.includes("/old-application")
|
|
7899
|
+
}];
|
|
7900
|
+
const getDynamicBreadcrumbs = () => {
|
|
7901
|
+
return crumbs.filter(crumb => crumb.show);
|
|
7874
7902
|
};
|
|
7875
7903
|
const WSCreate = (_Digit3 = Digit) === null || _Digit3 === void 0 ? void 0 : (_Digit3$ComponentRegi = _Digit3.ComponentRegistryService) === null || _Digit3$ComponentRegi === void 0 ? void 0 : _Digit3$ComponentRegi.getComponent("WSCreate");
|
|
7876
7904
|
const WSDisconnection = (_Digit4 = Digit) === null || _Digit4 === void 0 ? void 0 : (_Digit4$ComponentRegi = _Digit4.ComponentRegistryService) === null || _Digit4$ComponentRegi === void 0 ? void 0 : _Digit4$ComponentRegi.getComponent("WSDisconnection");
|
|
@@ -7886,14 +7914,20 @@ const App = ({
|
|
|
7886
7914
|
const WSReSubmitDisconnectionApplication = (_Digit12 = Digit) === null || _Digit12 === void 0 ? void 0 : (_Digit12$ComponentReg = _Digit12.ComponentRegistryService) === null || _Digit12$ComponentReg === void 0 ? void 0 : _Digit12$ComponentReg.getComponent("WSReSubmitDisconnectionApplication");
|
|
7887
7915
|
const WSMyConnections = (_Digit13 = Digit) === null || _Digit13 === void 0 ? void 0 : (_Digit13$ComponentReg = _Digit13.ComponentRegistryService) === null || _Digit13$ComponentReg === void 0 ? void 0 : _Digit13$ComponentReg.getComponent("WSMyConnections");
|
|
7888
7916
|
const WNSMyBillsComponent = (_Digit14 = Digit) === null || _Digit14 === void 0 ? void 0 : (_Digit14$ComponentReg = _Digit14.ComponentRegistryService) === null || _Digit14$ComponentReg === void 0 ? void 0 : _Digit14$ComponentReg.getComponent("WNSMyBillsComponent");
|
|
7889
|
-
|
|
7890
|
-
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
|
|
7917
|
+
const WSOLDApplication = (_Digit15 = Digit) === null || _Digit15 === void 0 ? void 0 : (_Digit15$ComponentReg = _Digit15.ComponentRegistryService) === null || _Digit15$ComponentReg === void 0 ? void 0 : _Digit15$ComponentReg.getComponent("WSOLDApplication");
|
|
7918
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Switch, null, /*#__PURE__*/React.createElement(AppContainer, null, /*#__PURE__*/React.createElement("div", {
|
|
7919
|
+
className: "ground-container employee-app-container form-container"
|
|
7920
|
+
}, /*#__PURE__*/React.createElement(ModuleHeader, {
|
|
7921
|
+
leftContent: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ArrowLeft, {
|
|
7922
|
+
className: "icon"
|
|
7923
|
+
}), "Back"),
|
|
7924
|
+
onLeftClick: () => window.history.back(),
|
|
7925
|
+
breadcrumbs: getDynamicBreadcrumbs()
|
|
7926
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
7927
|
+
className: "employee-form"
|
|
7928
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
7929
|
+
className: "employee-form-content"
|
|
7930
|
+
}, /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
7897
7931
|
path: `${path}/create-application`,
|
|
7898
7932
|
component: WSCreate
|
|
7899
7933
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
@@ -7950,7 +7984,10 @@ const App = ({
|
|
|
7950
7984
|
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
7951
7985
|
path: `${path}/modify-connection/:tenantId`,
|
|
7952
7986
|
component: WSCitizenEditApplication
|
|
7953
|
-
})
|
|
7987
|
+
}), /*#__PURE__*/React.createElement(PrivateRoute, {
|
|
7988
|
+
path: `${path}/old-application`,
|
|
7989
|
+
component: WSOLDApplication
|
|
7990
|
+
})))))));
|
|
7954
7991
|
};
|
|
7955
7992
|
|
|
7956
7993
|
const getPropertyAddress = property => {
|
|
@@ -21006,6 +21043,35 @@ const WSInbox = ({
|
|
|
21006
21043
|
...formState
|
|
21007
21044
|
}
|
|
21008
21045
|
});
|
|
21046
|
+
const cards = useMemo(() => {
|
|
21047
|
+
if (!statuses) return [];
|
|
21048
|
+
const statusMap = {};
|
|
21049
|
+
statuses.forEach(status => {
|
|
21050
|
+
const appStatus = status.applicationstatus;
|
|
21051
|
+
const statusId = status.statusid;
|
|
21052
|
+
if (!statusMap[appStatus]) {
|
|
21053
|
+
statusMap[appStatus] = {
|
|
21054
|
+
label: `CS_${appStatus}`,
|
|
21055
|
+
count: 0,
|
|
21056
|
+
filter: []
|
|
21057
|
+
};
|
|
21058
|
+
}
|
|
21059
|
+
statusMap[appStatus].count += status.count;
|
|
21060
|
+
statusMap[appStatus].filter.push(statusId);
|
|
21061
|
+
});
|
|
21062
|
+
const colorMap = {
|
|
21063
|
+
PENDING_FOR_DOCUMENT_VERIFICATION: "#3B82F6",
|
|
21064
|
+
PENDING_FOR_FIELD_INSPECTION: "#F59E0B",
|
|
21065
|
+
PENDING_APPROVAL_FOR_CONNECTION: "#10B981",
|
|
21066
|
+
PAYMENT_FAILED: "#8B5CF6",
|
|
21067
|
+
REJECTED: "#EF4444",
|
|
21068
|
+
INITIATED: "#0ea5e9"
|
|
21069
|
+
};
|
|
21070
|
+
return Object.entries(statusMap).map(([appStatus, card]) => ({
|
|
21071
|
+
...card,
|
|
21072
|
+
color: colorMap[appStatus] || "#3B82F6"
|
|
21073
|
+
}));
|
|
21074
|
+
}, [statuses]);
|
|
21009
21075
|
let links = [{
|
|
21010
21076
|
text: t("WS_APPLY_NEW_CONNECTION_HOME_CARD_LABEL"),
|
|
21011
21077
|
link: `/digit-ui/employee/ws/create-application`,
|
|
@@ -21119,7 +21185,8 @@ const WSInbox = ({
|
|
|
21119
21185
|
}, propsForSearchForm, propsForFilterForm, propsForMobileSortForm, {
|
|
21120
21186
|
propsForInboxTable,
|
|
21121
21187
|
propsForInboxMobileCards,
|
|
21122
|
-
formState
|
|
21188
|
+
formState,
|
|
21189
|
+
cards
|
|
21123
21190
|
})));
|
|
21124
21191
|
};
|
|
21125
21192
|
|
|
@@ -41367,6 +41434,122 @@ const RenewPopup = ({
|
|
|
41367
41434
|
})))));
|
|
41368
41435
|
};
|
|
41369
41436
|
|
|
41437
|
+
const DueVerification = () => {
|
|
41438
|
+
const {
|
|
41439
|
+
t
|
|
41440
|
+
} = useTranslation();
|
|
41441
|
+
const [kno, setKno] = useState("");
|
|
41442
|
+
const [tableData, setTableData] = useState([]);
|
|
41443
|
+
const columns = useMemo(() => [{
|
|
41444
|
+
Header: t("K No."),
|
|
41445
|
+
accessor: "kno"
|
|
41446
|
+
}, {
|
|
41447
|
+
Header: t("Full Name"),
|
|
41448
|
+
accessor: "fullName"
|
|
41449
|
+
}, {
|
|
41450
|
+
Header: t("Full Address"),
|
|
41451
|
+
accessor: "fullAddress"
|
|
41452
|
+
}, {
|
|
41453
|
+
Header: t("Due Amount"),
|
|
41454
|
+
accessor: "dueAmount"
|
|
41455
|
+
}, {
|
|
41456
|
+
Header: t("Total Amount"),
|
|
41457
|
+
accessor: "totalAmount"
|
|
41458
|
+
}], [t]);
|
|
41459
|
+
const handleAdd = () => {
|
|
41460
|
+
if (kno) {
|
|
41461
|
+
const mockData = {
|
|
41462
|
+
kno: kno,
|
|
41463
|
+
fullName: "John Doe",
|
|
41464
|
+
fullAddress: "123 Main St, New Delhi, Delhi 110001",
|
|
41465
|
+
dueAmount: "1500",
|
|
41466
|
+
totalAmount: "1500"
|
|
41467
|
+
};
|
|
41468
|
+
setTableData([...tableData, mockData]);
|
|
41469
|
+
setKno("");
|
|
41470
|
+
}
|
|
41471
|
+
};
|
|
41472
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
41473
|
+
style: {
|
|
41474
|
+
marginBottom: "20px"
|
|
41475
|
+
}
|
|
41476
|
+
}, /*#__PURE__*/React.createElement("h2", {
|
|
41477
|
+
style: {
|
|
41478
|
+
fontSize: "24px",
|
|
41479
|
+
fontWeight: "bold",
|
|
41480
|
+
color: "#4f6cfc",
|
|
41481
|
+
marginBottom: "16px"
|
|
41482
|
+
}
|
|
41483
|
+
}, t("Due Verification")), /*#__PURE__*/React.createElement("div", {
|
|
41484
|
+
style: {
|
|
41485
|
+
display: "flex",
|
|
41486
|
+
alignItems: "flex-end",
|
|
41487
|
+
gap: "20px",
|
|
41488
|
+
marginBottom: "20px"
|
|
41489
|
+
}
|
|
41490
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
41491
|
+
style: {
|
|
41492
|
+
flex: 1
|
|
41493
|
+
}
|
|
41494
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
41495
|
+
style: {
|
|
41496
|
+
fontSize: "16px",
|
|
41497
|
+
color: "#0B0C0C",
|
|
41498
|
+
marginBottom: "8px",
|
|
41499
|
+
display: "inline-block"
|
|
41500
|
+
}
|
|
41501
|
+
}, t("K No.(Existing KNo of same property)"), " ", /*#__PURE__*/React.createElement("span", {
|
|
41502
|
+
style: {
|
|
41503
|
+
color: "red"
|
|
41504
|
+
}
|
|
41505
|
+
}, "*")), /*#__PURE__*/React.createElement(TextInput, {
|
|
41506
|
+
type: "number",
|
|
41507
|
+
value: kno,
|
|
41508
|
+
onChange: e => setKno(e.target.value),
|
|
41509
|
+
style: {
|
|
41510
|
+
width: "100%",
|
|
41511
|
+
marginBottom: "0"
|
|
41512
|
+
}
|
|
41513
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
41514
|
+
style: {
|
|
41515
|
+
flex: 1,
|
|
41516
|
+
paddingBottom: "2px"
|
|
41517
|
+
}
|
|
41518
|
+
}, /*#__PURE__*/React.createElement("button", {
|
|
41519
|
+
type: "button",
|
|
41520
|
+
onClick: handleAdd,
|
|
41521
|
+
style: {
|
|
41522
|
+
backgroundColor: "#4f6cfc",
|
|
41523
|
+
color: "white",
|
|
41524
|
+
padding: "8px 24px",
|
|
41525
|
+
borderRadius: "4px",
|
|
41526
|
+
border: "none",
|
|
41527
|
+
cursor: "pointer"
|
|
41528
|
+
}
|
|
41529
|
+
}, t("Add")))), tableData.length > 0 && /*#__PURE__*/React.createElement("div", {
|
|
41530
|
+
style: {
|
|
41531
|
+
marginTop: "30px",
|
|
41532
|
+
overflowX: "auto"
|
|
41533
|
+
}
|
|
41534
|
+
}, /*#__PURE__*/React.createElement(Table, {
|
|
41535
|
+
className: "customTable table-fixed-first-column table-border-style",
|
|
41536
|
+
t: t,
|
|
41537
|
+
disableSort: false,
|
|
41538
|
+
autoSort: true,
|
|
41539
|
+
manualPagination: false,
|
|
41540
|
+
isPaginationRequired: false,
|
|
41541
|
+
data: tableData,
|
|
41542
|
+
columns: columns,
|
|
41543
|
+
getCellProps: cellInfo => {
|
|
41544
|
+
return {
|
|
41545
|
+
style: {
|
|
41546
|
+
padding: "12px"
|
|
41547
|
+
}
|
|
41548
|
+
};
|
|
41549
|
+
}
|
|
41550
|
+
})));
|
|
41551
|
+
};
|
|
41552
|
+
|
|
41370
41553
|
function ApplicationDetailsContent({
|
|
41371
41554
|
applicationDetails,
|
|
41372
41555
|
workflowDetails,
|
|
@@ -41865,7 +42048,7 @@ function ApplicationDetailsContent({
|
|
|
41865
42048
|
}), (detail === null || detail === void 0 ? void 0 : detail.isWaterConnectionDetails) && /*#__PURE__*/React.createElement(WSAdditonalDetails, {
|
|
41866
42049
|
wsAdditionalDetails: detail,
|
|
41867
42050
|
oldValue: oldValue
|
|
41868
|
-
}), (detail === null || detail === void 0 ? void 0 : (_detail$additionalDet23 = detail.additionalDetails) === null || _detail$additionalDet23 === void 0 ? void 0 : _detail$additionalDet23.redirectUrl) && /*#__PURE__*/React.createElement(Link, {
|
|
42051
|
+
}), (detail === null || detail === void 0 ? void 0 : detail.isDueVerification) && (applicationData === null || applicationData === void 0 ? void 0 : applicationData.applicationStatus) === "PENDING_FOR_FIELD_INSPECTION" && /*#__PURE__*/React.createElement(DueVerification, null), (detail === null || detail === void 0 ? void 0 : (_detail$additionalDet23 = detail.additionalDetails) === null || _detail$additionalDet23 === void 0 ? void 0 : _detail$additionalDet23.redirectUrl) && /*#__PURE__*/React.createElement(Link, {
|
|
41869
42052
|
to: detail === null || detail === void 0 ? void 0 : (_detail$additionalDet24 = detail.additionalDetails) === null || _detail$additionalDet24 === void 0 ? void 0 : (_detail$additionalDet25 = _detail$additionalDet24.redirectUrl) === null || _detail$additionalDet25 === void 0 ? void 0 : _detail$additionalDet25.url
|
|
41870
42053
|
}, /*#__PURE__*/React.createElement("span", {
|
|
41871
42054
|
className: "add-details-link hover-button"
|
|
@@ -47291,17 +47474,8 @@ const WSLinks = ({
|
|
|
47291
47474
|
t
|
|
47292
47475
|
} = useTranslation();
|
|
47293
47476
|
const links = [{
|
|
47294
|
-
link: `${matchPath}/
|
|
47295
|
-
i18nKey: t("ACTION_TEST_WNS_MY_BILLS")
|
|
47296
|
-
}, {
|
|
47297
|
-
link: `${matchPath}/my-payments`,
|
|
47298
|
-
i18nKey: t("ACTION_TEST_MY_PAYMENTS")
|
|
47299
|
-
}, {
|
|
47300
|
-
link: `${matchPath}/create-application`,
|
|
47477
|
+
link: `${matchPath}/old-application`,
|
|
47301
47478
|
i18nKey: t("ACTION_TEST_APPLY_NEW_CONNECTION")
|
|
47302
|
-
}, {
|
|
47303
|
-
link: `${matchPath}/search`,
|
|
47304
|
-
i18nKey: t("ACTION_TEXT_WS_SEARCH_AND_PAY")
|
|
47305
47479
|
}, {
|
|
47306
47480
|
link: `${matchPath}/my-applications`,
|
|
47307
47481
|
i18nKey: t("ACTION_TEXT_WS_MY_APPLICATION")
|