@djb25/digit-ui-module-ws 1.0.117 → 1.0.118
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 +163 -56
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +163 -56
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -27829,10 +27829,15 @@ const WSConnectionHolderDetails = _ref => {
|
|
|
27829
27829
|
} = useLocation();
|
|
27830
27830
|
const filters = getQueryStringParams(location.search);
|
|
27831
27831
|
const [connectionHolderDetails, setConnectionHolderDetails] = useState(() => {
|
|
27832
|
-
|
|
27833
|
-
|
|
27832
|
+
var _Digit$SessionStorage, _formData$ConnectionH, _sessionDetails$;
|
|
27833
|
+
const sessionDetails = (_Digit$SessionStorage = Digit.SessionStorage.get("PT_CREATE_EMP_WS_NEW_FORM")) === null || _Digit$SessionStorage === void 0 ? void 0 : _Digit$SessionStorage.ConnectionHolderDetails;
|
|
27834
|
+
if (formData !== null && formData !== void 0 && formData.ConnectionHolderDetails && formData.ConnectionHolderDetails.length > 0 && (_formData$ConnectionH = formData.ConnectionHolderDetails[0]) !== null && _formData$ConnectionH !== void 0 && _formData$ConnectionH.name) {
|
|
27834
27835
|
return [{
|
|
27835
|
-
...
|
|
27836
|
+
...formData.ConnectionHolderDetails[0]
|
|
27837
|
+
}];
|
|
27838
|
+
} else if (sessionDetails && sessionDetails.length > 0 && (_sessionDetails$ = sessionDetails[0]) !== null && _sessionDetails$ !== void 0 && _sessionDetails$.name) {
|
|
27839
|
+
return [{
|
|
27840
|
+
...sessionDetails[0]
|
|
27836
27841
|
}];
|
|
27837
27842
|
} else {
|
|
27838
27843
|
var _Digit$UserService$ge;
|
|
@@ -27902,6 +27907,17 @@ const WSConnectionHolderDetails = _ref => {
|
|
|
27902
27907
|
}
|
|
27903
27908
|
}
|
|
27904
27909
|
}, [connectionHolderDetails, config === null || config === void 0 ? void 0 : config.key]);
|
|
27910
|
+
useEffect(() => {
|
|
27911
|
+
if (formData !== null && formData !== void 0 && formData.ConnectionHolderDetails && formData.ConnectionHolderDetails.length > 0) {
|
|
27912
|
+
const incoming = formData.ConnectionHolderDetails[0];
|
|
27913
|
+
const current = connectionHolderDetails === null || connectionHolderDetails === void 0 ? void 0 : connectionHolderDetails[0];
|
|
27914
|
+
if (incoming && (incoming.name || incoming.middleName || incoming.lastName) && !lodash.isEqual(current, incoming)) {
|
|
27915
|
+
setConnectionHolderDetails([{
|
|
27916
|
+
...incoming
|
|
27917
|
+
}]);
|
|
27918
|
+
}
|
|
27919
|
+
}
|
|
27920
|
+
}, [formData === null || formData === void 0 ? void 0 : formData.ConnectionHolderDetails]);
|
|
27905
27921
|
function ispagereloadingenabled(eyeclick) {
|
|
27906
27922
|
var _Object$values, _formData$ConnectionH2;
|
|
27907
27923
|
if ((window.location.href.includes("edit") || window.location.href.includes("modify")) && formData !== null && formData !== void 0 && formData.ConnectionHolderDetails && ((_Object$values = Object.values(formData === null || formData === void 0 ? void 0 : (_formData$ConnectionH2 = formData.ConnectionHolderDetails) === null || _formData$ConnectionH2 === void 0 ? void 0 : _formData$ConnectionH2[0])) === null || _Object$values === void 0 ? void 0 : _Object$values.length) > 1) {
|
|
@@ -28047,6 +28063,23 @@ const ConnectionDetails$1 = _props => {
|
|
|
28047
28063
|
watsAppMobileNumber,
|
|
28048
28064
|
isWatsappSameAsMobile
|
|
28049
28065
|
}), [name, middleName, lastName, gender, mobileNumber, guardian, relationship, ownerType, sameAsOwnerDetails, address, uuid, emailId, watsAppMobileNumber, isWatsappSameAsMobile]);
|
|
28066
|
+
useEffect(() => {
|
|
28067
|
+
if (connectionHolderDetail) {
|
|
28068
|
+
if (connectionHolderDetail.name !== undefined && connectionHolderDetail.name !== name) setName(connectionHolderDetail.name);
|
|
28069
|
+
if (connectionHolderDetail.middleName !== undefined && connectionHolderDetail.middleName !== middleName) setMiddleName(connectionHolderDetail.middleName);
|
|
28070
|
+
if (connectionHolderDetail.lastName !== undefined && connectionHolderDetail.lastName !== lastName) setLastName(connectionHolderDetail.lastName);
|
|
28071
|
+
if (connectionHolderDetail.gender !== undefined && connectionHolderDetail.gender !== gender) setGender(connectionHolderDetail.gender);
|
|
28072
|
+
if (connectionHolderDetail.mobileNumber !== undefined && connectionHolderDetail.mobileNumber !== mobileNumber) setMobileNumber(connectionHolderDetail.mobileNumber);
|
|
28073
|
+
if (connectionHolderDetail.guardian !== undefined && connectionHolderDetail.guardian !== guardian) setGuardian(connectionHolderDetail.guardian);
|
|
28074
|
+
if (connectionHolderDetail.relationship !== undefined && connectionHolderDetail.relationship !== relationship) setRelationship(connectionHolderDetail.relationship);
|
|
28075
|
+
if (connectionHolderDetail.address !== undefined && connectionHolderDetail.address !== address) setAddress(connectionHolderDetail.address);
|
|
28076
|
+
if (connectionHolderDetail.ownerType !== undefined && connectionHolderDetail.ownerType !== ownerType) setOwnerType(connectionHolderDetail.ownerType);
|
|
28077
|
+
if (connectionHolderDetail.sameAsOwnerDetails !== undefined && connectionHolderDetail.sameAsOwnerDetails !== sameAsOwnerDetails) setSameAsOwnerDetails(connectionHolderDetail.sameAsOwnerDetails);
|
|
28078
|
+
if (connectionHolderDetail.emailId !== undefined && connectionHolderDetail.emailId !== emailId) setEmailId(connectionHolderDetail.emailId);
|
|
28079
|
+
if (connectionHolderDetail.watsAppMobileNumber !== undefined && connectionHolderDetail.watsAppMobileNumber !== watsAppMobileNumber) setWatsAppMobileNumber(connectionHolderDetail.watsAppMobileNumber);
|
|
28080
|
+
if (connectionHolderDetail.isWatsappSameAsMobile !== undefined && connectionHolderDetail.isWatsappSameAsMobile !== isWatsappSameAsMobile) setIsWatsappSameAsMobile(connectionHolderDetail.isWatsappSameAsMobile);
|
|
28081
|
+
}
|
|
28082
|
+
}, [connectionHolderDetail]);
|
|
28050
28083
|
const {
|
|
28051
28084
|
errors
|
|
28052
28085
|
} = localFormState;
|
|
@@ -38497,6 +38530,7 @@ const WSDeclaration = _ref => {
|
|
|
38497
38530
|
const initialFsId = (formData === null || formData === void 0 ? void 0 : (_formData$declaration = formData.declarationData) === null || _formData$declaration === void 0 ? void 0 : _formData$declaration.signatureFileStoreId) || (formData === null || formData === void 0 ? void 0 : (_formData$declaration2 = formData.declaration) === null || _formData$declaration2 === void 0 ? void 0 : _formData$declaration2.signatureFileStoreId) || (formData === null || formData === void 0 ? void 0 : (_formData$declaration3 = formData.declarationData) === null || _formData$declaration3 === void 0 ? void 0 : (_formData$declaration4 = _formData$declaration3.signatureFile) === null || _formData$declaration4 === void 0 ? void 0 : _formData$declaration4.fileStoreId) || (formData === null || formData === void 0 ? void 0 : (_formData$declaration5 = formData.declaration) === null || _formData$declaration5 === void 0 ? void 0 : (_formData$declaration6 = _formData$declaration5.signatureFile) === null || _formData$declaration6 === void 0 ? void 0 : _formData$declaration6.fileStoreId) || (typeof (formData === null || formData === void 0 ? void 0 : (_formData$declaration7 = formData.declarationData) === null || _formData$declaration7 === void 0 ? void 0 : _formData$declaration7.signatureFile) === "string" ? formData === null || formData === void 0 ? void 0 : (_formData$declaration8 = formData.declarationData) === null || _formData$declaration8 === void 0 ? void 0 : _formData$declaration8.signatureFile : null) || (typeof (formData === null || formData === void 0 ? void 0 : (_formData$declaration9 = formData.declaration) === null || _formData$declaration9 === void 0 ? void 0 : _formData$declaration9.signatureFile) === "string" ? formData === null || formData === void 0 ? void 0 : (_formData$declaration0 = formData.declaration) === null || _formData$declaration0 === void 0 ? void 0 : _formData$declaration0.signatureFile : null) || (formData === null || formData === void 0 ? void 0 : (_formData$additionalD = formData.additionalDetails) === null || _formData$additionalD === void 0 ? void 0 : _formData$additionalD.signatureFileStoreId) || null;
|
|
38498
38531
|
const initialFileName = (formData === null || formData === void 0 ? void 0 : (_formData$declaration1 = formData.declarationData) === null || _formData$declaration1 === void 0 ? void 0 : _formData$declaration1.signatureFileName) || (formData === null || formData === void 0 ? void 0 : (_formData$declaration10 = formData.declaration) === null || _formData$declaration10 === void 0 ? void 0 : _formData$declaration10.signatureFileName) || (formData === null || formData === void 0 ? void 0 : (_formData$declaration11 = formData.declarationData) === null || _formData$declaration11 === void 0 ? void 0 : (_formData$declaration12 = _formData$declaration11.signatureFile) === null || _formData$declaration12 === void 0 ? void 0 : _formData$declaration12.fileName) || (formData === null || formData === void 0 ? void 0 : (_formData$declaration13 = formData.declaration) === null || _formData$declaration13 === void 0 ? void 0 : (_formData$declaration14 = _formData$declaration13.signatureFile) === null || _formData$declaration14 === void 0 ? void 0 : _formData$declaration14.fileName) || (formData === null || formData === void 0 ? void 0 : (_formData$declaration15 = formData.declarationData) === null || _formData$declaration15 === void 0 ? void 0 : (_formData$declaration16 = _formData$declaration15.signatureFile) === null || _formData$declaration16 === void 0 ? void 0 : _formData$declaration16.name) || (formData === null || formData === void 0 ? void 0 : (_formData$declaration17 = formData.declaration) === null || _formData$declaration17 === void 0 ? void 0 : (_formData$declaration18 = _formData$declaration17.signatureFile) === null || _formData$declaration18 === void 0 ? void 0 : _formData$declaration18.name) || (formData === null || formData === void 0 ? void 0 : (_formData$additionalD2 = formData.additionalDetails) === null || _formData$additionalD2 === void 0 ? void 0 : _formData$additionalD2.signatureFileName) || (initialFsId ? "signature.png" : "");
|
|
38499
38532
|
const [signatureFileStoreId, setSignatureFileStoreId] = useState(initialFsId);
|
|
38533
|
+
const [localFile, setLocalFile] = useState(null);
|
|
38500
38534
|
const [signatureFile, setSignatureFile] = useState((formData === null || formData === void 0 ? void 0 : (_formData$declaration19 = formData.declarationData) === null || _formData$declaration19 === void 0 ? void 0 : _formData$declaration19.signatureFile) || (formData === null || formData === void 0 ? void 0 : (_formData$declaration20 = formData.declaration) === null || _formData$declaration20 === void 0 ? void 0 : _formData$declaration20.signatureFile) || (initialFsId ? {
|
|
38501
38535
|
fileStoreId: initialFsId,
|
|
38502
38536
|
fileName: initialFileName
|
|
@@ -38571,11 +38605,8 @@ const WSDeclaration = _ref => {
|
|
|
38571
38605
|
} : null
|
|
38572
38606
|
};
|
|
38573
38607
|
if (!lodash.isEqual(lastSentValue.current, currentValues)) {
|
|
38574
|
-
|
|
38575
|
-
|
|
38576
|
-
onSelect(config === null || config === void 0 ? void 0 : config.key, currentValues);
|
|
38577
|
-
}, 200);
|
|
38578
|
-
return () => clearTimeout(timer);
|
|
38608
|
+
lastSentValue.current = currentValues;
|
|
38609
|
+
onSelect(config === null || config === void 0 ? void 0 : config.key, currentValues);
|
|
38579
38610
|
}
|
|
38580
38611
|
}, [formValue, signatureFileStoreId, signatureFile, config === null || config === void 0 ? void 0 : config.key, onSelect]);
|
|
38581
38612
|
const onUploadSignature = function (e) {
|
|
@@ -38586,6 +38617,7 @@ const WSDeclaration = _ref => {
|
|
|
38586
38617
|
if (file) {
|
|
38587
38618
|
const _temp2 = function () {
|
|
38588
38619
|
if (file.size >= 5242880) {} else {
|
|
38620
|
+
setLocalFile(file);
|
|
38589
38621
|
const _temp = _catch(function () {
|
|
38590
38622
|
return Promise.resolve(Digit.UploadServices.Filestorage("WS", file, Digit.ULBService.getStateId())).then(function (response) {
|
|
38591
38623
|
var _response$data, _response$data$files;
|
|
@@ -38598,13 +38630,23 @@ const WSDeclaration = _ref => {
|
|
|
38598
38630
|
};
|
|
38599
38631
|
setSignatureFileStoreId(fsId);
|
|
38600
38632
|
setSignatureFile(sigObj);
|
|
38601
|
-
setValue("signatureFileStoreId", fsId
|
|
38602
|
-
|
|
38603
|
-
|
|
38633
|
+
setValue("signatureFileStoreId", fsId, {
|
|
38634
|
+
shouldDirty: true,
|
|
38635
|
+
shouldValidate: true
|
|
38636
|
+
});
|
|
38637
|
+
setValue("signatureFile", sigObj, {
|
|
38638
|
+
shouldDirty: true,
|
|
38639
|
+
shouldValidate: true
|
|
38640
|
+
});
|
|
38641
|
+
setValue("signatureFileName", file.name, {
|
|
38642
|
+
shouldDirty: true,
|
|
38643
|
+
shouldValidate: true
|
|
38644
|
+
});
|
|
38604
38645
|
}
|
|
38605
38646
|
});
|
|
38606
38647
|
}, function (err) {
|
|
38607
38648
|
console.error("Signature upload failed", err);
|
|
38649
|
+
setLocalFile(null);
|
|
38608
38650
|
});
|
|
38609
38651
|
if (_temp && _temp.then) return _temp.then(function () {});
|
|
38610
38652
|
}
|
|
@@ -38694,12 +38736,23 @@ const WSDeclaration = _ref => {
|
|
|
38694
38736
|
})
|
|
38695
38737
|
})), /*#__PURE__*/React.createElement("div", {
|
|
38696
38738
|
className: "formcomposer-section-grid"
|
|
38697
|
-
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(LabelFieldPair, null, /*#__PURE__*/React.createElement(CardLabel, null, t("WS_UPLOAD_SIGNATURE_FILE")
|
|
38739
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(LabelFieldPair, null, /*#__PURE__*/React.createElement(CardLabel, null, t("WS_UPLOAD_SIGNATURE_FILE"), " ", /*#__PURE__*/React.createElement("span", {
|
|
38740
|
+
style: {
|
|
38741
|
+
color: "red"
|
|
38742
|
+
}
|
|
38743
|
+
}, "*")), /*#__PURE__*/React.createElement("div", {
|
|
38698
38744
|
className: "field",
|
|
38745
|
+
style: {
|
|
38746
|
+
display: "flex",
|
|
38747
|
+
flexDirection: "column",
|
|
38748
|
+
gap: "6px"
|
|
38749
|
+
}
|
|
38750
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
38699
38751
|
style: {
|
|
38700
38752
|
display: "flex",
|
|
38701
38753
|
gap: "10px",
|
|
38702
|
-
alignItems: "center"
|
|
38754
|
+
alignItems: "center",
|
|
38755
|
+
width: "100%"
|
|
38703
38756
|
}
|
|
38704
38757
|
}, /*#__PURE__*/React.createElement("div", {
|
|
38705
38758
|
style: {
|
|
@@ -38708,10 +38761,21 @@ const WSDeclaration = _ref => {
|
|
|
38708
38761
|
}, /*#__PURE__*/React.createElement(UploadFile, {
|
|
38709
38762
|
onUpload: onUploadSignature,
|
|
38710
38763
|
onDelete: () => {
|
|
38764
|
+
setLocalFile(null);
|
|
38711
38765
|
setSignatureFile(null);
|
|
38712
38766
|
setSignatureFileStoreId(null);
|
|
38713
|
-
setValue("signatureFile", null
|
|
38714
|
-
|
|
38767
|
+
setValue("signatureFile", null, {
|
|
38768
|
+
shouldDirty: true,
|
|
38769
|
+
shouldValidate: true
|
|
38770
|
+
});
|
|
38771
|
+
setValue("signatureFileStoreId", null, {
|
|
38772
|
+
shouldDirty: true,
|
|
38773
|
+
shouldValidate: true
|
|
38774
|
+
});
|
|
38775
|
+
setValue("signatureFileName", "", {
|
|
38776
|
+
shouldDirty: true,
|
|
38777
|
+
shouldValidate: true
|
|
38778
|
+
});
|
|
38715
38779
|
},
|
|
38716
38780
|
id: "ws-declaration-signature",
|
|
38717
38781
|
message: signatureFileStoreId ? `1 ${t(`CS_ACTION_FILEUPLOADED`)}` : t(`CS_ACTION_NO_FILEUPLOADED`),
|
|
@@ -38720,22 +38784,38 @@ const WSDeclaration = _ref => {
|
|
|
38720
38784
|
},
|
|
38721
38785
|
buttonType: "button",
|
|
38722
38786
|
accept: "image/*, .pdf, .png, .jpeg, .jpg",
|
|
38723
|
-
uploadedFiles: signatureFileStoreId ? [[(formValue === null || formValue === void 0 ? void 0 : formValue.signatureFileName) || "
|
|
38787
|
+
uploadedFiles: signatureFileStoreId && !localFile ? [[(formValue === null || formValue === void 0 ? void 0 : formValue.signatureFileName) || (signatureFile === null || signatureFile === void 0 ? void 0 : signatureFile.fileName) || (signatureFile === null || signatureFile === void 0 ? void 0 : signatureFile.name) || "signature.png", {
|
|
38724
38788
|
fileStoreId: signatureFileStoreId
|
|
38725
38789
|
}]] : undefined,
|
|
38726
38790
|
removeTargetedFile: () => {
|
|
38791
|
+
setLocalFile(null);
|
|
38727
38792
|
setSignatureFile(null);
|
|
38728
38793
|
setSignatureFileStoreId(null);
|
|
38729
|
-
setValue("signatureFile", null
|
|
38730
|
-
|
|
38731
|
-
|
|
38794
|
+
setValue("signatureFile", null, {
|
|
38795
|
+
shouldDirty: true,
|
|
38796
|
+
shouldValidate: true
|
|
38797
|
+
});
|
|
38798
|
+
setValue("signatureFileStoreId", null, {
|
|
38799
|
+
shouldDirty: true,
|
|
38800
|
+
shouldValidate: true
|
|
38801
|
+
});
|
|
38802
|
+
setValue("signatureFileName", "", {
|
|
38803
|
+
shouldDirty: true,
|
|
38804
|
+
shouldValidate: true
|
|
38805
|
+
});
|
|
38732
38806
|
}
|
|
38733
38807
|
})), signatureFileStoreId && /*#__PURE__*/React.createElement("div", {
|
|
38734
38808
|
onClick: viewDocument,
|
|
38735
38809
|
style: {
|
|
38736
38810
|
cursor: "pointer"
|
|
38737
38811
|
}
|
|
38738
|
-
}, /*#__PURE__*/React.createElement(ViewsIcon, null)))
|
|
38812
|
+
}, /*#__PURE__*/React.createElement(ViewsIcon, null))), !signatureFileStoreId && (formValue === null || formValue === void 0 ? void 0 : formValue.agree) && /*#__PURE__*/React.createElement(CardLabelError, {
|
|
38813
|
+
style: {
|
|
38814
|
+
color: "red",
|
|
38815
|
+
fontSize: "12px",
|
|
38816
|
+
marginTop: "4px"
|
|
38817
|
+
}
|
|
38818
|
+
}, t("WS_SIGNATURE_MANDATORY_ERROR") || "Signature is mandatory to submit application")))))), showDocModal && /*#__PURE__*/React.createElement(Modal, {
|
|
38739
38819
|
open: showDocModal,
|
|
38740
38820
|
headerBarMain: t("WS_VIEW_DOCUMENT") || "View Document",
|
|
38741
38821
|
headerBarEnd: /*#__PURE__*/React.createElement("div", {
|
|
@@ -51641,7 +51721,7 @@ const ReSubmitDisconnectionApplication = () => {
|
|
|
51641
51721
|
};
|
|
51642
51722
|
|
|
51643
51723
|
const CheckPage = _ref => {
|
|
51644
|
-
var _value$ConnectionDeta, _value$waterConnectio, _cpt$details12, _cpt$details13, _reversedOwners$, _cpt$details14, _cpt$details15, _cpt$details16, _connectionDetails$se, _connectionDetails$se2, _connectionDetails$co, _connectionDetails$co2, _connectionDetails$wa, _connectionDetails$wa2, _connectionDetails$ap, _connectionDetails$ap2, _connectionDetails$ad, _connectionDetails$ad2, _connectionDetails$ad3, _data, _data$additionalDetai, _connectionDetails$do, _connectionDetails$do2, _connectionDetails$do3, _connectionDetails$de, _connectionDetails$de2, _ConnectionHolderDeta, _ConnectionHolderDeta2, _ConnectionHolderDeta3, _ConnectionHolderDeta4, _ConnectionHolderDeta5, _ConnectionHolderDeta6, _ConnectionHolderDeta7, _ConnectionHolderDeta8, _ConnectionHolderDeta9, _ConnectionHolderDeta0, _propertyAddress$zro, _propertyAddress$addi, _propertyAddress$addr, _propertyAddress$addr2, _propertyAddress$city, _propertyAddress$city2, _propertyAddress$loca, _propertyAddress$loca2, _propertyAddress$subL, _propertyAddress$subL2, _propertyAddress$asse, _propertyAddress$asse2, _propertyAddress$bloc, _propertyAddress$bloc2, _propertyAddress$ward, _propertyAddress$ward2, _propertyAddress$zone, _propertyAddress$zone2,
|
|
51724
|
+
var _value$ConnectionDeta, _value$waterConnectio, _cpt$details12, _cpt$details13, _reversedOwners$, _cpt$details14, _cpt$details15, _cpt$details16, _connectionDetails$se, _connectionDetails$se2, _connectionDetails$co, _connectionDetails$co2, _connectionDetails$wa, _connectionDetails$wa2, _connectionDetails$ap, _connectionDetails$ap2, _connectionDetails$ad, _connectionDetails$ad2, _connectionDetails$ad3, _data, _data$additionalDetai, _connectionDetails$do, _connectionDetails$do2, _connectionDetails$do3, _connectionDetails$de, _connectionDetails$de2, _ConnectionHolderDeta, _ConnectionHolderDeta2, _ConnectionHolderDeta3, _ConnectionHolderDeta4, _ConnectionHolderDeta5, _ConnectionHolderDeta6, _ConnectionHolderDeta7, _ConnectionHolderDeta8, _ConnectionHolderDeta9, _ConnectionHolderDeta0, _propertyAddress$zro, _propertyAddress$addi, _propertyAddress$addr, _propertyAddress$addr2, _propertyAddress$city, _propertyAddress$city2, _propertyAddress$loca, _propertyAddress$loca2, _propertyAddress$subL, _propertyAddress$subL2, _propertyAddress$asse, _propertyAddress$asse2, _cpt$details17, _cpt$details17$addres, _propertyAddress$bloc, _propertyAddress$bloc2, _propertyAddress$ward, _propertyAddress$ward2, _cpt$details18, _cpt$details18$addres, _cpt$details19, _cpt$details19$addres, _propertyAddress$zone, _propertyAddress$zone2, _cpt$details20, _cpt$details20$addres, _cpt$details21, _cpt$details21$addres, _cpt$details22, _cpt$details22$addres, _cpt$details23, _cpt$details23$addres, _useDetails$categoryT, _useDetails$categoryT2, _useDetails$propertyC, _useDetails$propertyC2, _useDetails$propertyT, _useDetails$propertyT2, _useDetails$WaterConn, _useDetails$WaterConn2, _useDetails$waterConn, _useDetails$waterConn2, _useDetails$numberOfF, _useDetails$numberOfF2, _useDetails$noOfFloor, _useDetails$noOfFloor2, _property, _property$additionalD, _property2, _property2$additional, _property3, _property4, _property5, _property6, _property6$additional, _property7, _property7$additional, _property8, _property9, _property0, _property0$additional, _property1, _property1$additional, _useDetails$SelectYea, _useDetails$SelectYea2, _useDetails$SelectYea3, _useDetails$construct, _useDetails$construct2, _useDetails$propertyC3, _useDetails$propertyC4, _cpt$additionalDetail, _cpt$additionalDetail2, _cpt$additionalDetail3, _cpt$propertyType, _cpt$additionalDetail4, _cpt$additionalDetail5;
|
|
51645
51725
|
let {
|
|
51646
51726
|
onSubmit,
|
|
51647
51727
|
value
|
|
@@ -51901,22 +51981,22 @@ const CheckPage = _ref => {
|
|
|
51901
51981
|
text: `${t(checkForNA(propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.longitude))}`
|
|
51902
51982
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
51903
51983
|
label: t("COMMON_ASSEMBLY"),
|
|
51904
|
-
text: `${t(checkForNA((propertyAddress === null || propertyAddress === void 0 ? void 0 : (_propertyAddress$asse = propertyAddress.assembly) === null || _propertyAddress$asse === void 0 ? void 0 : _propertyAddress$asse.name) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : (_propertyAddress$asse2 = propertyAddress.assembly) === null || _propertyAddress$asse2 === void 0 ? void 0 : _propertyAddress$asse2.code) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.assembly) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.assembly)))}`
|
|
51984
|
+
text: `${t(checkForNA((propertyAddress === null || propertyAddress === void 0 ? void 0 : (_propertyAddress$asse = propertyAddress.assembly) === null || _propertyAddress$asse === void 0 ? void 0 : _propertyAddress$asse.name) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : (_propertyAddress$asse2 = propertyAddress.assembly) === null || _propertyAddress$asse2 === void 0 ? void 0 : _propertyAddress$asse2.code) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.assembly) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$details17 = cpt.details) === null || _cpt$details17 === void 0 ? void 0 : (_cpt$details17$addres = _cpt$details17.address) === null || _cpt$details17$addres === void 0 ? void 0 : _cpt$details17$addres.assembly) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.assembly)))}`
|
|
51905
51985
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
51906
51986
|
label: t("COMMON_WARD"),
|
|
51907
|
-
text: `${t(checkForNA((propertyAddress === null || propertyAddress === void 0 ? void 0 : (_propertyAddress$bloc = propertyAddress.block) === null || _propertyAddress$bloc === void 0 ? void 0 : _propertyAddress$bloc.name) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : (_propertyAddress$bloc2 = propertyAddress.block) === null || _propertyAddress$bloc2 === void 0 ? void 0 : _propertyAddress$bloc2.code) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.block) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : (_propertyAddress$ward = propertyAddress.ward) === null || _propertyAddress$ward === void 0 ? void 0 : _propertyAddress$ward.name) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : (_propertyAddress$ward2 = propertyAddress.ward) === null || _propertyAddress$ward2 === void 0 ? void 0 : _propertyAddress$ward2.code) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.ward) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.ward)))}`
|
|
51987
|
+
text: `${t(checkForNA((propertyAddress === null || propertyAddress === void 0 ? void 0 : (_propertyAddress$bloc = propertyAddress.block) === null || _propertyAddress$bloc === void 0 ? void 0 : _propertyAddress$bloc.name) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : (_propertyAddress$bloc2 = propertyAddress.block) === null || _propertyAddress$bloc2 === void 0 ? void 0 : _propertyAddress$bloc2.code) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.block) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : (_propertyAddress$ward = propertyAddress.ward) === null || _propertyAddress$ward === void 0 ? void 0 : _propertyAddress$ward.name) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : (_propertyAddress$ward2 = propertyAddress.ward) === null || _propertyAddress$ward2 === void 0 ? void 0 : _propertyAddress$ward2.code) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.ward) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$details18 = cpt.details) === null || _cpt$details18 === void 0 ? void 0 : (_cpt$details18$addres = _cpt$details18.address) === null || _cpt$details18$addres === void 0 ? void 0 : _cpt$details18$addres.ward) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$details19 = cpt.details) === null || _cpt$details19 === void 0 ? void 0 : (_cpt$details19$addres = _cpt$details19.address) === null || _cpt$details19$addres === void 0 ? void 0 : _cpt$details19$addres.block) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.ward)))}`
|
|
51908
51988
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
51909
51989
|
label: t("COMMON_ZONE"),
|
|
51910
|
-
text: `${t(checkForNA((propertyAddress === null || propertyAddress === void 0 ? void 0 : (_propertyAddress$zone = propertyAddress.zone) === null || _propertyAddress$zone === void 0 ? void 0 : _propertyAddress$zone.name) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : (_propertyAddress$zone2 = propertyAddress.zone) === null || _propertyAddress$zone2 === void 0 ? void 0 : _propertyAddress$zone2.code) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.zone) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.zone)))}`
|
|
51990
|
+
text: `${t(checkForNA((propertyAddress === null || propertyAddress === void 0 ? void 0 : (_propertyAddress$zone = propertyAddress.zone) === null || _propertyAddress$zone === void 0 ? void 0 : _propertyAddress$zone.name) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : (_propertyAddress$zone2 = propertyAddress.zone) === null || _propertyAddress$zone2 === void 0 ? void 0 : _propertyAddress$zone2.code) || (propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.zone) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$details20 = cpt.details) === null || _cpt$details20 === void 0 ? void 0 : (_cpt$details20$addres = _cpt$details20.address) === null || _cpt$details20$addres === void 0 ? void 0 : _cpt$details20$addres.zone) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.zone)))}`
|
|
51911
51991
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
51912
|
-
label: t("COMMON_CURRENT_ASSEMBLY"),
|
|
51913
|
-
text: `${t(checkForNA((propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.actualAssembly) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.actualAssembly)))}`
|
|
51992
|
+
label: t("COMMON_CURRENT_ASSEMBLY") && t("COMMON_CURRENT_ASSEMBLY") !== "Assembly" && t("COMMON_CURRENT_ASSEMBLY") !== "COMMON_CURRENT_ASSEMBLY" ? t("COMMON_CURRENT_ASSEMBLY") : "Actual Assembly",
|
|
51993
|
+
text: `${t(checkForNA((propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.actualAssembly) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$details21 = cpt.details) === null || _cpt$details21 === void 0 ? void 0 : (_cpt$details21$addres = _cpt$details21.address) === null || _cpt$details21$addres === void 0 ? void 0 : _cpt$details21$addres.actualAssembly) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.actualAssembly)))}`
|
|
51914
51994
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
51915
|
-
label: t("COMMON_CURRENT_WARD"),
|
|
51916
|
-
text: `${t(checkForNA((propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.actualWard) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.actualWard)))}`
|
|
51995
|
+
label: t("COMMON_CURRENT_WARD") && t("COMMON_CURRENT_WARD") !== "Ward" && t("COMMON_CURRENT_WARD") !== "COMMON_CURRENT_WARD" ? t("COMMON_CURRENT_WARD") : "Actual Ward",
|
|
51996
|
+
text: `${t(checkForNA((propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.actualWard) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$details22 = cpt.details) === null || _cpt$details22 === void 0 ? void 0 : (_cpt$details22$addres = _cpt$details22.address) === null || _cpt$details22$addres === void 0 ? void 0 : _cpt$details22$addres.actualWard) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.actualWard)))}`
|
|
51917
51997
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
51918
|
-
label: t("COMMON_CURRENT_ZONE"),
|
|
51919
|
-
text: `${t(checkForNA((propertyAddress === null || propertyAddress === void 0 ? void 0 :
|
|
51998
|
+
label: t("COMMON_CURRENT_ZONE") && t("COMMON_CURRENT_ZONE") !== "Zone" && t("COMMON_CURRENT_ZONE") !== "COMMON_CURRENT_ZONE" ? t("COMMON_CURRENT_ZONE") : "Actual Zone",
|
|
51999
|
+
text: `${t(checkForNA((propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.actualZone) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$details23 = cpt.details) === null || _cpt$details23 === void 0 ? void 0 : (_cpt$details23$addres = _cpt$details23.address) === null || _cpt$details23$addres === void 0 ? void 0 : _cpt$details23$addres.actualZone) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.actualZone)))}`
|
|
51920
52000
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
51921
52001
|
label: t("LANDMARK"),
|
|
51922
52002
|
text: `${t(checkForNA(propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.landmark))}`
|
|
@@ -66592,7 +66672,7 @@ const openFilePDF = fileId => {
|
|
|
66592
66672
|
}).catch(error => console.error("Error fetching file:", error));
|
|
66593
66673
|
};
|
|
66594
66674
|
const CheckPage$4 = _ref2 => {
|
|
66595
|
-
var _Digit$UserService$ge, _data$cpt, _propertyAddress, _propertyAddress2, _cpt$additionalDetail, _cpt$additionalDetail2, _data$cpt2, _data$cpt2$details, _data$cpt2$details$ad, _data$cpt3, _data$cpt3$details, _data$cpt3$details$ad, _data$cpt4, _data$cpt4$details, _propertyAddress3, _propertyAddress4, _cpt$additionalDetail3, _cpt$additionalDetail4, _data$cpt5, _data$cpt5$details, _data$cpt5$details$ad, _data$cpt6, _data$cpt6$details, _data$cpt6$details$ad, _data$ConnectionDetai, _data$connectionDetai, _data$ConnectionHolde, _data$connectionHolde, _data$useDetails, _data$DocumentsRequir, _data$documents, _data$djbEmployee, _data$disability, _data$rainWaterHarves, _connectionDetails, _connectionDetails$se, _connectionDetails2, _connectionDetails2$s, _connectionDetails3, _connectionDetails4, _connectionDetails4$a, _connectionDetails5, _connectionDetails5$a, _connectionDetails6, _connectionDetails1, _connectionDetails1$a, _connectionDetails10, _connectionDetails10$, _connectionDetails11, _connectionDetails11$, _connectionDetails12, _data$additionalDetai4, _holderDetails, _holderDetails2, _holderDetails3, _holderDetails4, _holderDetails4$gende, _holderDetails5, _holderDetails5$gende, _holderDetails6, _holderDetails7, _holderDetails8, _holderDetails9, _propertyAddress5, _propertyAddress5$zro, _propertyAddress6, _propertyAddress7, _propertyAddress8, _propertyAddress8$add, _propertyAddress9, _propertyAddress9$add, _propertyAddress0, _propertyAddress0$add, _propertyAddress1, _propertyAddress10, _propertyAddress10$ci, _propertyAddress11, _propertyAddress11$ci, _propertyAddress12, _propertyAddress13, _propertyAddress14, _propertyAddress15, _propertyAddress15$lo, _propertyAddress16, _propertyAddress16$lo, _propertyAddress17, _propertyAddress18, _propertyAddress18$su, _propertyAddress19, _propertyAddress19$su, _propertyAddress20, _propertyAddress21, _propertyAddress22, _propertyAddress23, _propertyAddress24, _propertyAddress25, _propertyAddress26, _propertyAddress27, _propertyAddress28, _propertyAddress29, _propertyAddress30, _propertyAddress31, _propertyAddress31$as, _propertyAddress32, _propertyAddress32$as, _propertyAddress33, _propertyAddress34, _propertyAddress34$bl, _propertyAddress35, _propertyAddress35$bl, _propertyAddress36, _propertyAddress37, _propertyAddress37$wa, _propertyAddress38, _propertyAddress38$wa, _propertyAddress39, _propertyAddress40, _propertyAddress40$zo, _propertyAddress41, _propertyAddress41$zo, _propertyAddress42, _propertyAddress43, _propertyAddress44, _propertyAddress45, _useDetails$categoryT, _useDetails$categoryT2, _useDetails$propertyC, _useDetails$propertyC2, _useDetails$propertyT, _useDetails$propertyT2, _useDetails$WaterConn, _useDetails$WaterConn2, _useDetails$waterConn, _useDetails$waterConn2, _useDetails$SelectYea, _useDetails$SelectYea2, _useDetails$SelectYea3, _useDetails$construct, _useDetails$construct2, _useDetails$propertyC3, _useDetails$propertyC4, _cpt$
|
|
66675
|
+
var _Digit$UserService$ge, _data$cpt, _propertyAddress, _propertyAddress2, _cpt$additionalDetail, _cpt$additionalDetail2, _data$cpt2, _data$cpt2$details, _data$cpt2$details$ad, _data$cpt3, _data$cpt3$details, _data$cpt3$details$ad, _data$cpt4, _data$cpt4$details, _propertyAddress3, _propertyAddress4, _cpt$additionalDetail3, _cpt$additionalDetail4, _data$cpt5, _data$cpt5$details, _data$cpt5$details$ad, _data$cpt6, _data$cpt6$details, _data$cpt6$details$ad, _data$ConnectionDetai, _data$connectionDetai, _data$ConnectionHolde, _data$connectionHolde, _data$useDetails, _data$DocumentsRequir, _data$documents, _data$djbEmployee, _data$disability, _data$rainWaterHarves, _connectionDetails, _connectionDetails$se, _connectionDetails2, _connectionDetails2$s, _connectionDetails3, _connectionDetails4, _connectionDetails4$a, _connectionDetails5, _connectionDetails5$a, _connectionDetails6, _connectionDetails1, _connectionDetails1$a, _connectionDetails10, _connectionDetails10$, _connectionDetails11, _connectionDetails11$, _connectionDetails12, _data$additionalDetai4, _holderDetails, _holderDetails2, _holderDetails3, _holderDetails4, _holderDetails4$gende, _holderDetails5, _holderDetails5$gende, _holderDetails6, _holderDetails7, _holderDetails8, _holderDetails9, _propertyAddress5, _propertyAddress5$zro, _propertyAddress6, _propertyAddress7, _propertyAddress8, _propertyAddress8$add, _propertyAddress9, _propertyAddress9$add, _propertyAddress0, _propertyAddress0$add, _propertyAddress1, _propertyAddress10, _propertyAddress10$ci, _propertyAddress11, _propertyAddress11$ci, _propertyAddress12, _propertyAddress13, _propertyAddress14, _propertyAddress15, _propertyAddress15$lo, _propertyAddress16, _propertyAddress16$lo, _propertyAddress17, _propertyAddress18, _propertyAddress18$su, _propertyAddress19, _propertyAddress19$su, _propertyAddress20, _propertyAddress21, _propertyAddress22, _propertyAddress23, _propertyAddress24, _propertyAddress25, _propertyAddress26, _propertyAddress27, _propertyAddress28, _propertyAddress29, _propertyAddress30, _propertyAddress31, _propertyAddress31$as, _propertyAddress32, _propertyAddress32$as, _propertyAddress33, _cpt$address, _propertyAddress34, _propertyAddress34$bl, _propertyAddress35, _propertyAddress35$bl, _propertyAddress36, _propertyAddress37, _propertyAddress37$wa, _propertyAddress38, _propertyAddress38$wa, _propertyAddress39, _cpt$address2, _cpt$address3, _propertyAddress40, _propertyAddress40$zo, _propertyAddress41, _propertyAddress41$zo, _propertyAddress42, _cpt$address4, _propertyAddress43, _cpt$address5, _cpt$additionalDetail5, _propertyAddress44, _cpt$address6, _cpt$additionalDetail6, _propertyAddress45, _cpt$address7, _cpt$additionalDetail7, _useDetails$categoryT, _useDetails$categoryT2, _useDetails$propertyC, _useDetails$propertyC2, _useDetails$propertyT, _useDetails$propertyT2, _useDetails$WaterConn, _useDetails$WaterConn2, _useDetails$waterConn, _useDetails$waterConn2, _useDetails$SelectYea, _useDetails$SelectYea2, _useDetails$SelectYea3, _useDetails$construct, _useDetails$construct2, _useDetails$propertyC3, _useDetails$propertyC4, _cpt$additionalDetail8, _cpt$additionalDetail9, _cpt$additionalDetail0, _cpt$propertyType, _cpt$additionalDetail1, _cpt$additionalDetail10;
|
|
66596
66676
|
let {
|
|
66597
66677
|
data,
|
|
66598
66678
|
onSubmit,
|
|
@@ -66785,22 +66865,22 @@ const CheckPage$4 = _ref2 => {
|
|
|
66785
66865
|
text: `${t(checkForNA$1((_propertyAddress30 = propertyAddress) === null || _propertyAddress30 === void 0 ? void 0 : _propertyAddress30.longitude))}`
|
|
66786
66866
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
66787
66867
|
label: t("COMMON_ASSEMBLY"),
|
|
66788
|
-
text: `${t(checkForNA$1(((_propertyAddress31 = propertyAddress) === null || _propertyAddress31 === void 0 ? void 0 : (_propertyAddress31$as = _propertyAddress31.assembly) === null || _propertyAddress31$as === void 0 ? void 0 : _propertyAddress31$as.name) || ((_propertyAddress32 = propertyAddress) === null || _propertyAddress32 === void 0 ? void 0 : (_propertyAddress32$as = _propertyAddress32.assembly) === null || _propertyAddress32$as === void 0 ? void 0 : _propertyAddress32$as.code) || ((_propertyAddress33 = propertyAddress) === null || _propertyAddress33 === void 0 ? void 0 : _propertyAddress33.assembly) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.assembly)))}`
|
|
66868
|
+
text: `${t(checkForNA$1(((_propertyAddress31 = propertyAddress) === null || _propertyAddress31 === void 0 ? void 0 : (_propertyAddress31$as = _propertyAddress31.assembly) === null || _propertyAddress31$as === void 0 ? void 0 : _propertyAddress31$as.name) || ((_propertyAddress32 = propertyAddress) === null || _propertyAddress32 === void 0 ? void 0 : (_propertyAddress32$as = _propertyAddress32.assembly) === null || _propertyAddress32$as === void 0 ? void 0 : _propertyAddress32$as.code) || ((_propertyAddress33 = propertyAddress) === null || _propertyAddress33 === void 0 ? void 0 : _propertyAddress33.assembly) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$address = cpt.address) === null || _cpt$address === void 0 ? void 0 : _cpt$address.assembly) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.assembly)))}`
|
|
66789
66869
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
66790
66870
|
label: t("COMMON_WARD"),
|
|
66791
|
-
text: `${t(checkForNA$1(((_propertyAddress34 = propertyAddress) === null || _propertyAddress34 === void 0 ? void 0 : (_propertyAddress34$bl = _propertyAddress34.block) === null || _propertyAddress34$bl === void 0 ? void 0 : _propertyAddress34$bl.name) || ((_propertyAddress35 = propertyAddress) === null || _propertyAddress35 === void 0 ? void 0 : (_propertyAddress35$bl = _propertyAddress35.block) === null || _propertyAddress35$bl === void 0 ? void 0 : _propertyAddress35$bl.code) || ((_propertyAddress36 = propertyAddress) === null || _propertyAddress36 === void 0 ? void 0 : _propertyAddress36.block) || ((_propertyAddress37 = propertyAddress) === null || _propertyAddress37 === void 0 ? void 0 : (_propertyAddress37$wa = _propertyAddress37.ward) === null || _propertyAddress37$wa === void 0 ? void 0 : _propertyAddress37$wa.name) || ((_propertyAddress38 = propertyAddress) === null || _propertyAddress38 === void 0 ? void 0 : (_propertyAddress38$wa = _propertyAddress38.ward) === null || _propertyAddress38$wa === void 0 ? void 0 : _propertyAddress38$wa.code) || ((_propertyAddress39 = propertyAddress) === null || _propertyAddress39 === void 0 ? void 0 : _propertyAddress39.ward) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.ward)))}`
|
|
66871
|
+
text: `${t(checkForNA$1(((_propertyAddress34 = propertyAddress) === null || _propertyAddress34 === void 0 ? void 0 : (_propertyAddress34$bl = _propertyAddress34.block) === null || _propertyAddress34$bl === void 0 ? void 0 : _propertyAddress34$bl.name) || ((_propertyAddress35 = propertyAddress) === null || _propertyAddress35 === void 0 ? void 0 : (_propertyAddress35$bl = _propertyAddress35.block) === null || _propertyAddress35$bl === void 0 ? void 0 : _propertyAddress35$bl.code) || ((_propertyAddress36 = propertyAddress) === null || _propertyAddress36 === void 0 ? void 0 : _propertyAddress36.block) || ((_propertyAddress37 = propertyAddress) === null || _propertyAddress37 === void 0 ? void 0 : (_propertyAddress37$wa = _propertyAddress37.ward) === null || _propertyAddress37$wa === void 0 ? void 0 : _propertyAddress37$wa.name) || ((_propertyAddress38 = propertyAddress) === null || _propertyAddress38 === void 0 ? void 0 : (_propertyAddress38$wa = _propertyAddress38.ward) === null || _propertyAddress38$wa === void 0 ? void 0 : _propertyAddress38$wa.code) || ((_propertyAddress39 = propertyAddress) === null || _propertyAddress39 === void 0 ? void 0 : _propertyAddress39.ward) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$address2 = cpt.address) === null || _cpt$address2 === void 0 ? void 0 : _cpt$address2.ward) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$address3 = cpt.address) === null || _cpt$address3 === void 0 ? void 0 : _cpt$address3.block) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.ward)))}`
|
|
66792
66872
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
66793
66873
|
label: t("COMMON_ZONE"),
|
|
66794
|
-
text: `${t(checkForNA$1(((_propertyAddress40 = propertyAddress) === null || _propertyAddress40 === void 0 ? void 0 : (_propertyAddress40$zo = _propertyAddress40.zone) === null || _propertyAddress40$zo === void 0 ? void 0 : _propertyAddress40$zo.name) || ((_propertyAddress41 = propertyAddress) === null || _propertyAddress41 === void 0 ? void 0 : (_propertyAddress41$zo = _propertyAddress41.zone) === null || _propertyAddress41$zo === void 0 ? void 0 : _propertyAddress41$zo.code) || ((_propertyAddress42 = propertyAddress) === null || _propertyAddress42 === void 0 ? void 0 : _propertyAddress42.zone) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.zone)))}`
|
|
66874
|
+
text: `${t(checkForNA$1(((_propertyAddress40 = propertyAddress) === null || _propertyAddress40 === void 0 ? void 0 : (_propertyAddress40$zo = _propertyAddress40.zone) === null || _propertyAddress40$zo === void 0 ? void 0 : _propertyAddress40$zo.name) || ((_propertyAddress41 = propertyAddress) === null || _propertyAddress41 === void 0 ? void 0 : (_propertyAddress41$zo = _propertyAddress41.zone) === null || _propertyAddress41$zo === void 0 ? void 0 : _propertyAddress41$zo.code) || ((_propertyAddress42 = propertyAddress) === null || _propertyAddress42 === void 0 ? void 0 : _propertyAddress42.zone) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$address4 = cpt.address) === null || _cpt$address4 === void 0 ? void 0 : _cpt$address4.zone) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.zone)))}`
|
|
66795
66875
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
66796
|
-
label: t("COMMON_CURRENT_ASSEMBLY"),
|
|
66797
|
-
text: `${t(checkForNA$1(((_propertyAddress43 = propertyAddress) === null || _propertyAddress43 === void 0 ? void 0 : _propertyAddress43.actualAssembly) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.actualAssembly)))}`
|
|
66876
|
+
label: t("COMMON_CURRENT_ASSEMBLY") && t("COMMON_CURRENT_ASSEMBLY") !== "Assembly" && t("COMMON_CURRENT_ASSEMBLY") !== "COMMON_CURRENT_ASSEMBLY" ? t("COMMON_CURRENT_ASSEMBLY") : "Actual Assembly",
|
|
66877
|
+
text: `${t(checkForNA$1(((_propertyAddress43 = propertyAddress) === null || _propertyAddress43 === void 0 ? void 0 : _propertyAddress43.actualAssembly) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$address5 = cpt.address) === null || _cpt$address5 === void 0 ? void 0 : _cpt$address5.actualAssembly) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.actualAssembly) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$additionalDetail5 = cpt.additionalDetails) === null || _cpt$additionalDetail5 === void 0 ? void 0 : _cpt$additionalDetail5.actualAssembly)))}`
|
|
66798
66878
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
66799
|
-
label: t("COMMON_CURRENT_WARD"),
|
|
66800
|
-
text: `${t(checkForNA$1(((_propertyAddress44 = propertyAddress) === null || _propertyAddress44 === void 0 ? void 0 : _propertyAddress44.actualWard) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.actualWard)))}`
|
|
66879
|
+
label: t("COMMON_CURRENT_WARD") && t("COMMON_CURRENT_WARD") !== "Ward" && t("COMMON_CURRENT_WARD") !== "COMMON_CURRENT_WARD" ? t("COMMON_CURRENT_WARD") : "Actual Ward",
|
|
66880
|
+
text: `${t(checkForNA$1(((_propertyAddress44 = propertyAddress) === null || _propertyAddress44 === void 0 ? void 0 : _propertyAddress44.actualWard) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$address6 = cpt.address) === null || _cpt$address6 === void 0 ? void 0 : _cpt$address6.actualWard) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.actualWard) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$additionalDetail6 = cpt.additionalDetails) === null || _cpt$additionalDetail6 === void 0 ? void 0 : _cpt$additionalDetail6.actualWard)))}`
|
|
66801
66881
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
66802
|
-
label: t("COMMON_CURRENT_ZONE"),
|
|
66803
|
-
text: `${t(checkForNA$1(((_propertyAddress45 = propertyAddress) === null || _propertyAddress45 === void 0 ? void 0 : _propertyAddress45.actualZone) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.actualZone)))}`
|
|
66882
|
+
label: t("COMMON_CURRENT_ZONE") && t("COMMON_CURRENT_ZONE") !== "Zone" && t("COMMON_CURRENT_ZONE") !== "COMMON_CURRENT_ZONE" ? t("COMMON_CURRENT_ZONE") : "Actual Zone",
|
|
66883
|
+
text: `${t(checkForNA$1(((_propertyAddress45 = propertyAddress) === null || _propertyAddress45 === void 0 ? void 0 : _propertyAddress45.actualZone) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$address7 = cpt.address) === null || _cpt$address7 === void 0 ? void 0 : _cpt$address7.actualZone) || (additionalDetails === null || additionalDetails === void 0 ? void 0 : additionalDetails.actualZone) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$additionalDetail7 = cpt.additionalDetails) === null || _cpt$additionalDetail7 === void 0 ? void 0 : _cpt$additionalDetail7.actualZone)))}`
|
|
66804
66884
|
})), /*#__PURE__*/React.createElement(CardSubHeader, null, t("WS_PROPERTY_AND_WATER_CONNECTION_USE_DETAILS")), /*#__PURE__*/React.createElement(StatusTable, {
|
|
66805
66885
|
style: {
|
|
66806
66886
|
marginTop: "10px",
|
|
@@ -66833,10 +66913,10 @@ const CheckPage$4 = _ref2 => {
|
|
|
66833
66913
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
66834
66914
|
label: t("WS_SELECT_YEAR_OF_CONSTRUCTION"),
|
|
66835
66915
|
text: `${t(checkForNA$1((useDetails === null || useDetails === void 0 ? void 0 : (_useDetails$SelectYea = useDetails.SelectYearofConstruction) === null || _useDetails$SelectYea === void 0 ? void 0 : _useDetails$SelectYea.i18nKey) || (useDetails === null || useDetails === void 0 ? void 0 : (_useDetails$SelectYea2 = useDetails.SelectYearofConstruction) === null || _useDetails$SelectYea2 === void 0 ? void 0 : _useDetails$SelectYea2.value) || (useDetails === null || useDetails === void 0 ? void 0 : (_useDetails$SelectYea3 = useDetails.SelectYearofConstruction) === null || _useDetails$SelectYea3 === void 0 ? void 0 : _useDetails$SelectYea3.code) || (useDetails === null || useDetails === void 0 ? void 0 : useDetails.SelectYearofConstruction) || (useDetails === null || useDetails === void 0 ? void 0 : (_useDetails$construct = useDetails.constructionYear) === null || _useDetails$construct === void 0 ? void 0 : _useDetails$construct.i18nKey) || (useDetails === null || useDetails === void 0 ? void 0 : (_useDetails$construct2 = useDetails.constructionYear) === null || _useDetails$construct2 === void 0 ? void 0 : _useDetails$construct2.code) || (useDetails === null || useDetails === void 0 ? void 0 : useDetails.constructionYear)))}`
|
|
66836
|
-
}), String((useDetails === null || useDetails === void 0 ? void 0 : (_useDetails$propertyC3 = useDetails.propertyCategory) === null || _useDetails$propertyC3 === void 0 ? void 0 : _useDetails$propertyC3.code) || (useDetails === null || useDetails === void 0 ? void 0 : (_useDetails$propertyC4 = useDetails.propertyCategory) === null || _useDetails$propertyC4 === void 0 ? void 0 : _useDetails$propertyC4.name) || (useDetails === null || useDetails === void 0 ? void 0 : useDetails.propertyCategory) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$
|
|
66916
|
+
}), String((useDetails === null || useDetails === void 0 ? void 0 : (_useDetails$propertyC3 = useDetails.propertyCategory) === null || _useDetails$propertyC3 === void 0 ? void 0 : _useDetails$propertyC3.code) || (useDetails === null || useDetails === void 0 ? void 0 : (_useDetails$propertyC4 = useDetails.propertyCategory) === null || _useDetails$propertyC4 === void 0 ? void 0 : _useDetails$propertyC4.name) || (useDetails === null || useDetails === void 0 ? void 0 : useDetails.propertyCategory) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$additionalDetail8 = cpt.additionalDetails) === null || _cpt$additionalDetail8 === void 0 ? void 0 : (_cpt$additionalDetail9 = _cpt$additionalDetail8.propertyCategory) === null || _cpt$additionalDetail9 === void 0 ? void 0 : _cpt$additionalDetail9.code) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$additionalDetail0 = cpt.additionalDetails) === null || _cpt$additionalDetail0 === void 0 ? void 0 : _cpt$additionalDetail0.propertyCategory) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$propertyType = cpt.propertyType) === null || _cpt$propertyType === void 0 ? void 0 : _cpt$propertyType.propertyCategory) || (cpt === null || cpt === void 0 ? void 0 : cpt.usageCategory) || "").toUpperCase().includes("RESIDENTIAL") ? /*#__PURE__*/React.createElement(Row, {
|
|
66837
66917
|
label: t("WS_NUMBER_OF_DWELLING_UNITS"),
|
|
66838
66918
|
text: `${t(checkForNA$1((useDetails === null || useDetails === void 0 ? void 0 : useDetails.NumberofDwellingUnits) || (useDetails === null || useDetails === void 0 ? void 0 : useDetails.noOfDwellingUnits)))}`
|
|
66839
|
-
}) : null, (Array.isArray((useDetails === null || useDetails === void 0 ? void 0 : useDetails.questions) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$
|
|
66919
|
+
}) : null, (Array.isArray((useDetails === null || useDetails === void 0 ? void 0 : useDetails.questions) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$additionalDetail1 = cpt.additionalDetails) === null || _cpt$additionalDetail1 === void 0 ? void 0 : _cpt$additionalDetail1.questions)) ? (useDetails === null || useDetails === void 0 ? void 0 : useDetails.questions) || (cpt === null || cpt === void 0 ? void 0 : (_cpt$additionalDetail10 = cpt.additionalDetails) === null || _cpt$additionalDetail10 === void 0 ? void 0 : _cpt$additionalDetail10.questions) : []).map((q, idx) => {
|
|
66840
66920
|
var _q$answer, _q$answer2, _q$answer3;
|
|
66841
66921
|
const qText = typeof q === "object" ? (q === null || q === void 0 ? void 0 : q.question) || (q === null || q === void 0 ? void 0 : q.questionText) || (q === null || q === void 0 ? void 0 : q.title) || `Question ${idx + 1}` : `Question ${idx + 1}`;
|
|
66842
66922
|
const aText = typeof q === "object" ? typeof (q === null || q === void 0 ? void 0 : q.answer) === "object" ? (q === null || q === void 0 ? void 0 : (_q$answer = q.answer) === null || _q$answer === void 0 ? void 0 : _q$answer.name) || (q === null || q === void 0 ? void 0 : (_q$answer2 = q.answer) === null || _q$answer2 === void 0 ? void 0 : _q$answer2.value) || (q === null || q === void 0 ? void 0 : (_q$answer3 = q.answer) === null || _q$answer3 === void 0 ? void 0 : _q$answer3.code) : q === null || q === void 0 ? void 0 : q.answer : q;
|
|
@@ -66928,17 +67008,24 @@ const CheckPage$4 = _ref2 => {
|
|
|
66928
67008
|
declarationData: declarationData
|
|
66929
67009
|
},
|
|
66930
67010
|
userType: "employee"
|
|
66931
|
-
})),
|
|
66932
|
-
|
|
66933
|
-
|
|
66934
|
-
|
|
66935
|
-
|
|
66936
|
-
|
|
66937
|
-
|
|
66938
|
-
|
|
66939
|
-
|
|
66940
|
-
|
|
66941
|
-
|
|
67011
|
+
})), ((_declarationData$sign, _data$declarationData, _data$declaration, _data$additionalDetai7) => {
|
|
67012
|
+
const hasSignature = Boolean((declarationData === null || declarationData === void 0 ? void 0 : declarationData.signatureFileStoreId) || (declarationData === null || declarationData === void 0 ? void 0 : declarationData.signature) || (declarationData === null || declarationData === void 0 ? void 0 : (_declarationData$sign = declarationData.signatureFile) === null || _declarationData$sign === void 0 ? void 0 : _declarationData$sign.fileStoreId) || typeof (declarationData === null || declarationData === void 0 ? void 0 : declarationData.signatureFile) === "string" && (declarationData === null || declarationData === void 0 ? void 0 : declarationData.signatureFile.trim()) || (data === null || data === void 0 ? void 0 : (_data$declarationData = data.declarationData) === null || _data$declarationData === void 0 ? void 0 : _data$declarationData.signatureFileStoreId) || (data === null || data === void 0 ? void 0 : (_data$declaration = data.declaration) === null || _data$declaration === void 0 ? void 0 : _data$declaration.signatureFileStoreId) || (data === null || data === void 0 ? void 0 : (_data$additionalDetai7 = data.additionalDetails) === null || _data$additionalDetai7 === void 0 ? void 0 : _data$additionalDetai7.signatureFileStoreId));
|
|
67013
|
+
const isSubmitDisabled = !(declarationData !== null && declarationData !== void 0 && declarationData.agree) || !hasSignature;
|
|
67014
|
+
return /*#__PURE__*/React.createElement(ActionBar, null, /*#__PURE__*/React.createElement(SubmitBar, {
|
|
67015
|
+
label: t("CS_COMMON_SUBMIT"),
|
|
67016
|
+
onSubmit: () => {
|
|
67017
|
+
if (isSubmitDisabled) return;
|
|
67018
|
+
onSubmit({
|
|
67019
|
+
...data,
|
|
67020
|
+
declarationData
|
|
67021
|
+
});
|
|
67022
|
+
},
|
|
67023
|
+
style: {
|
|
67024
|
+
width: "150px"
|
|
67025
|
+
},
|
|
67026
|
+
disabled: isSubmitDisabled
|
|
67027
|
+
}));
|
|
67028
|
+
})()), showDocModal && /*#__PURE__*/React.createElement(Modal, {
|
|
66942
67029
|
open: showDocModal,
|
|
66943
67030
|
headerBarMain: t("WS_VIEW_DOCUMENT") || "View Document",
|
|
66944
67031
|
headerBarEnd: /*#__PURE__*/React.createElement("div", {
|
|
@@ -67058,8 +67145,12 @@ const OLDApplication = () => {
|
|
|
67058
67145
|
const formDataRef = useRef(sessionFormData || {});
|
|
67059
67146
|
const sessionSaveTimeoutRef = useRef(null);
|
|
67060
67147
|
const defaultValues = useMemo(() => {
|
|
67061
|
-
|
|
67062
|
-
|
|
67148
|
+
const fromStorage = Digit.SessionStorage.get("PT_CREATE_EMP_WS_NEW_FORM");
|
|
67149
|
+
if (fromStorage && Object.keys(fromStorage).length > 0) return fromStorage;
|
|
67150
|
+
if (sessionFormData && Object.keys(sessionFormData).length > 0) return sessionFormData;
|
|
67151
|
+
if (formDataRef.current && Object.keys(formDataRef.current).length > 0) return formDataRef.current;
|
|
67152
|
+
return {};
|
|
67153
|
+
}, [sessionFormData, showCheckPage]);
|
|
67063
67154
|
const {
|
|
67064
67155
|
data: propertyDetails
|
|
67065
67156
|
} = Digit.Hooks.pt.usePropertySearch({
|
|
@@ -67259,6 +67350,7 @@ const OLDApplication = () => {
|
|
|
67259
67350
|
}
|
|
67260
67351
|
sessionSaveTimeoutRef.current = setTimeout(() => {
|
|
67261
67352
|
Digit.SessionStorage.set("PT_CREATE_EMP_WS_NEW_FORM", formDataRef.current);
|
|
67353
|
+
setSessionFormData(formDataRef.current);
|
|
67262
67354
|
}, 300);
|
|
67263
67355
|
sessionStorage.setItem("FORMSTATE_ERRORS", JSON.stringify((formState === null || formState === void 0 ? void 0 : formState.errors) || {}));
|
|
67264
67356
|
const cptPropId = formData === null || formData === void 0 ? void 0 : (_formData$cpt = formData.cpt) === null || _formData$cpt === void 0 ? void 0 : (_formData$cpt$details = _formData$cpt.details) === null || _formData$cpt$details === void 0 ? void 0 : _formData$cpt$details.propertyId;
|
|
@@ -67307,6 +67399,7 @@ const OLDApplication = () => {
|
|
|
67307
67399
|
};
|
|
67308
67400
|
formDataRef.current = combinedData;
|
|
67309
67401
|
Digit.SessionStorage.set("PT_CREATE_EMP_WS_NEW_FORM", combinedData);
|
|
67402
|
+
setSessionFormData(combinedData);
|
|
67310
67403
|
const hasProperty = (combinedData === null || combinedData === void 0 ? void 0 : (_combinedData$cpt = combinedData.cpt) === null || _combinedData$cpt === void 0 ? void 0 : (_combinedData$cpt$det = _combinedData$cpt.details) === null || _combinedData$cpt$det === void 0 ? void 0 : _combinedData$cpt$det.propertyId) || sessionStorage.getItem("WS_OTP_VERIFIED_PROPERTY_ID") || propertyId || (propertyDetails === null || propertyDetails === void 0 ? void 0 : (_propertyDetails$Prop5 = propertyDetails.Properties) === null || _propertyDetails$Prop5 === void 0 ? void 0 : (_propertyDetails$Prop6 = _propertyDetails$Prop5[0]) === null || _propertyDetails$Prop6 === void 0 ? void 0 : _propertyDetails$Prop6.propertyId);
|
|
67311
67404
|
if (!hasProperty) {
|
|
67312
67405
|
console.warn("[WS] onSubmit EXIT: invalid property", {
|
|
@@ -67472,6 +67565,13 @@ const OLDApplication = () => {
|
|
|
67472
67565
|
var _data$declarationData, _data$declarationData2, _data$declarationData3, _data$declarationData4, _data$declarationData5, _data$declarationData6, _data$declarationData7, _data$declarationData8, _data$declarationData9, _data$declarationData0, _data$declarationData1, _data$declarationData10, _data$declarationData11, _data$declarationData12, _data$declarationData13, _data$declarationData14, _data$declarationData15;
|
|
67473
67566
|
const declarations = (_data$declarationData = data.declarationData) !== null && _data$declarationData !== void 0 && _data$declarationData.agree ? true : false;
|
|
67474
67567
|
const sigFsId = ((_data$declarationData2 = data.declarationData) === null || _data$declarationData2 === void 0 ? void 0 : _data$declarationData2.signatureFileStoreId) || ((_data$declarationData3 = data.declarationData) === null || _data$declarationData3 === void 0 ? void 0 : (_data$declarationData4 = _data$declarationData3.signatureFile) === null || _data$declarationData4 === void 0 ? void 0 : _data$declarationData4.fileStoreId) || (typeof ((_data$declarationData5 = data.declarationData) === null || _data$declarationData5 === void 0 ? void 0 : _data$declarationData5.signatureFile) === "string" ? (_data$declarationData6 = data.declarationData) === null || _data$declarationData6 === void 0 ? void 0 : _data$declarationData6.signatureFile : null) || ((_data$declarationData7 = data.declarationData) === null || _data$declarationData7 === void 0 ? void 0 : _data$declarationData7.signature) || null;
|
|
67568
|
+
if (!sigFsId) {
|
|
67569
|
+
setShowToast({
|
|
67570
|
+
key: "error",
|
|
67571
|
+
message: t("ERR_SIGNATURE_MANDATORY") || "Signature is mandatory to submit application"
|
|
67572
|
+
});
|
|
67573
|
+
return Promise.resolve();
|
|
67574
|
+
}
|
|
67475
67575
|
const sigFileName = ((_data$declarationData8 = data.declarationData) === null || _data$declarationData8 === void 0 ? void 0 : _data$declarationData8.signatureFileName) || ((_data$declarationData9 = data.declarationData) === null || _data$declarationData9 === void 0 ? void 0 : (_data$declarationData0 = _data$declarationData9.signatureFile) === null || _data$declarationData0 === void 0 ? void 0 : _data$declarationData0.name) || ((_data$declarationData1 = data.declarationData) === null || _data$declarationData1 === void 0 ? void 0 : (_data$declarationData10 = _data$declarationData1.signatureFile) === null || _data$declarationData10 === void 0 ? void 0 : _data$declarationData10.fileName) || "signature.png";
|
|
67476
67576
|
data.declaration = {
|
|
67477
67577
|
...data.declarationData,
|
|
@@ -67684,6 +67784,13 @@ const OLDApplication = () => {
|
|
|
67684
67784
|
if (isEnableLoader || isLoading) {
|
|
67685
67785
|
return /*#__PURE__*/React.createElement(Loader, null);
|
|
67686
67786
|
}
|
|
67787
|
+
const handleEdit = () => {
|
|
67788
|
+
setShowCheckPage(false);
|
|
67789
|
+
window.scrollTo({
|
|
67790
|
+
top: 0,
|
|
67791
|
+
behavior: "smooth"
|
|
67792
|
+
});
|
|
67793
|
+
};
|
|
67687
67794
|
if (showCheckPage) {
|
|
67688
67795
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
67689
67796
|
className: "employee-form-section-wrapper"
|
|
@@ -67694,7 +67801,7 @@ const OLDApplication = () => {
|
|
|
67694
67801
|
}), /*#__PURE__*/React.createElement(CheckPage$4, {
|
|
67695
67802
|
data: formDataRef.current || sessionFormData,
|
|
67696
67803
|
onSubmit: finalData => processSubmission(finalData || formDataRef.current || sessionFormData),
|
|
67697
|
-
onEdit:
|
|
67804
|
+
onEdit: handleEdit
|
|
67698
67805
|
})));
|
|
67699
67806
|
}
|
|
67700
67807
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|