@djb25/digit-ui-module-ws 1.0.60 → 1.0.62

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.
@@ -1337,7 +1337,12 @@ const checkForEmployee = roles => {
1337
1337
  });
1338
1338
  return rolesArray === null || rolesArray === void 0 ? void 0 : rolesArray.length;
1339
1339
  };
1340
- const getBusinessService = data => {
1340
+ const getBusinessService = (data, applicationDetails) => {
1341
+ var _applicationDetails$a, _data$serviceType;
1342
+ const appType = (data === null || data === void 0 ? void 0 : data.applicationType) || (applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a = applicationDetails.applicationData) === null || _applicationDetails$a === void 0 ? void 0 : _applicationDetails$a.applicationType) || (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationType);
1343
+ if (appType !== null && appType !== void 0 && appType.includes("MUTATION") || data !== null && data !== void 0 && (_data$serviceType = data.serviceType) !== null && _data$serviceType !== void 0 && _data$serviceType.includes("MUTATION") || (data === null || data === void 0 ? void 0 : data.businessService) === "WS.MUTATION") {
1344
+ return (data === null || data === void 0 ? void 0 : data.service) === "SEWERAGE" || (data === null || data === void 0 ? void 0 : data.serviceType) === "SEWERAGE" ? "SW.MUTATION" : "WS.MUTATION";
1345
+ }
1341
1346
  if ((data === null || data === void 0 ? void 0 : data.service) == "WATER") return "WS.ONE_TIME_FEE";else return "SW.ONE_TIME_FEE";
1342
1347
  };
1343
1348
  const convertApplicationData = function (data, serviceType, modify, editByConfig, t) {
@@ -15859,7 +15864,7 @@ const WSActivationPageDetails = _ref => {
15859
15864
  filters
15860
15865
  };
15861
15866
  return /*#__PURE__*/React.createElement(React.Fragment, null, activationDetails.map((activationDetail, index) => /*#__PURE__*/React.createElement(ConnectionDetails$3, _extends({
15862
- key: activationDetail.key,
15867
+ key: (activationDetail === null || activationDetail === void 0 ? void 0 : activationDetail.key) || index,
15863
15868
  index: index,
15864
15869
  activationDetail: activationDetail
15865
15870
  }, commonProps))));
@@ -28963,7 +28968,7 @@ const ActionButton = _ref3 => {
28963
28968
  }, label));
28964
28969
  };
28965
28970
  const WSWFApplicationTimeline = props => {
28966
- var _props$application, _props$application2, _data$timeline, _data$timeline2, _data$timeline3, _data$timeline4;
28971
+ var _props$application, _props$application2, _props$application8, _props$application8$a, _props$application9, _props$application0, _data$timeline, _data$timeline2, _data$timeline3, _data$timeline4;
28967
28972
  const _useTranslation = useTranslation(),
28968
28973
  t = _useTranslation.t;
28969
28974
  const businessService = (_props$application = props.application) === null || _props$application === void 0 ? void 0 : _props$application.applicationNo.split("_")[0];
@@ -29023,6 +29028,8 @@ const WSWFApplicationTimeline = props => {
29023
29028
  });
29024
29029
  }
29025
29030
  };
29031
+ const isMutation = (_props$application8 = props.application) === null || _props$application8 === void 0 ? void 0 : (_props$application8$a = _props$application8.applicationType) === null || _props$application8$a === void 0 ? void 0 : _props$application8$a.includes("MUTATION");
29032
+ const payBusinessService = isMutation ? ((_props$application9 = props.application) === null || _props$application9 === void 0 ? void 0 : _props$application9.serviceType) === "SEWERAGE" || ((_props$application0 = props.application) === null || _props$application0 === void 0 ? void 0 : _props$application0.service) === "SEWERAGE" ? "SW.MUTATION" : "WS.MUTATION" : businessService;
29026
29033
  const showNextActions = nextActions => {
29027
29034
  var _nextAction;
29028
29035
  if (!(nextActions !== null && nextActions !== void 0 && nextActions.length)) return null;
@@ -29037,7 +29044,7 @@ const WSWFApplicationTimeline = props => {
29037
29044
  case "PAY":
29038
29045
  if ((props === null || props === void 0 ? void 0 : props.paymentbuttonenabled) !== false) return /*#__PURE__*/React.createElement(ActionButton, {
29039
29046
  label: t("CS_APPLICATION_DETAILS_MAKE_PAYMENT"),
29040
- to: "/digit-ui/citizen/payment/collect/" + businessService + "/" + props.id + "?consumerCode=" + props.id + "&&workflow=WNS",
29047
+ to: "/digit-ui/citizen/payment/collect/" + payBusinessService + "/" + props.id + "?consumerCode=" + props.id + "&&workflow=WNS",
29041
29048
  state: {
29042
29049
  tenantId: props.application.tenantId
29043
29050
  }
@@ -30028,7 +30035,7 @@ const ViewBreakup = _ref => {
30028
30035
  label: "Sewer Infra Charges",
30029
30036
  value: infrastructureChargeDetail.sewerComponentIFC,
30030
30037
  currency: true
30031
- }, {
30038
+ }, ...(infrastructureChargeDetail.rebateAmount > 0 ? [{
30032
30039
  label: "Rebate",
30033
30040
  value: infrastructureChargeDetail.rebatePercentage,
30034
30041
  unit: "%"
@@ -30036,7 +30043,31 @@ const ViewBreakup = _ref => {
30036
30043
  label: "Rebate amount",
30037
30044
  value: infrastructureChargeDetail.rebateAmount,
30038
30045
  currency: true
30046
+ }] : []), ...(infrastructureChargeDetail.institutionalRebateApplied ? [{
30047
+ label: "Institutional rebate",
30048
+ value: infrastructureChargeDetail.institutionalRebatePercentage,
30049
+ unit: "%"
30050
+ }, {
30051
+ label: "Institutional rebate amount",
30052
+ value: infrastructureChargeDetail.institutionalRebateAmount,
30053
+ currency: true
30054
+ }, {
30055
+ label: "Institutional rebate reason",
30056
+ value: t(infrastructureChargeDetail.institutionalRebateReason),
30057
+ isText: true
30058
+ }] : []), ...(infrastructureChargeDetail.dwellingRebateApplied ? [{
30059
+ label: "Dwelling rebate",
30060
+ value: infrastructureChargeDetail.dwellingRebatePercentage,
30061
+ unit: "%"
30062
+ }, {
30063
+ label: "Dwelling rebate amount",
30064
+ value: infrastructureChargeDetail.dwellingRebateAmount,
30065
+ currency: true
30039
30066
  }, {
30067
+ label: "Dwelling rebate reason",
30068
+ value: t(infrastructureChargeDetail.dwellingRebateReason),
30069
+ isText: true
30070
+ }] : []), {
30040
30071
  label: "Net IFC",
30041
30072
  value: infrastructureChargeDetail.netIFC,
30042
30073
  currency: true
@@ -31380,7 +31411,7 @@ const getConnectionDetailsPDF = function (application, property, tenantInfo, t)
31380
31411
  };
31381
31412
 
31382
31413
  const ConnectionDetails$5 = () => {
31383
- var _Digit$SessionStorage, _user$info, _data$SewerageConnect, _data$SewerageConnect2, _data$WaterConnection, _data$WaterConnection2, _Object$keys, _connectionData$Water, _connectionData$Sewer, _data$WaterConnection3, _data$WaterConnection4, _data$WaterConnection5, _data$WaterConnection6, _data$WaterConnection7, _data$WaterConnection8, _data$WaterConnection9, _data$WaterConnection0, _data$SewerageConnect3, _data$SewerageConnect4, _data$SewerageConnect5, _data$SewerageConnect6, _state, _state$applicationNo, _state2, _state3, _state4, _state4$applicationTy, _state5, _state6, _state7, _state8, _state8$applicationTy, _state9, _state0, _state1, _state10, _state10$applicationT, _state11, _state12, _state13, _state14, _state15, _state15$applicationT, _state16, _state16$waterSource, _state16$waterSource$, _state17, _state18, _state18$waterSource, _state18$waterSource$, _state19, _state20, _state21, _state22, _state22$additionalDe, _state23, _state24, _state25, _state26, _state26$property, _state26$property$own, _PTData$Properties2, _PTData$Properties2$, _PTData$Properties3, _PTData$Properties3$, _PTData$Properties3$$, _PTData$Properties3$$2, _PTData$Properties4, _PTData$Properties4$, _user$info2, _user$info2$userName, _user$info3, _user$info4, _state27, _state28, _state29, _state30, _state30$connectionHo, _state30$connectionHo2, _data$WaterConnection16, _data$WaterConnection17, _data$WaterConnection18, _data$WaterConnection19, _data$SewerageConnect0, _data$SewerageConnect1, _data$SewerageConnect10, _data$SewerageConnect11, _data$WaterConnection20, _data$WaterConnection21, _data$WaterConnection22, _data$WaterConnection23, _data$SewerageConnect12, _data$SewerageConnect13, _data$SewerageConnect14, _data$SewerageConnect15, _data$WaterConnection24, _data$WaterConnection25, _data$WaterConnection26, _data$WaterConnection27, _data$SewerageConnect16, _data$SewerageConnect17, _data$SewerageConnect18, _data$SewerageConnect19, _data$WaterConnection28, _data$WaterConnection29, _data$WaterConnection30, _data$WaterConnection31, _data$SewerageConnect20, _data$SewerageConnect21, _data$SewerageConnect22, _data$SewerageConnect23, _data$WaterConnection32, _data$WaterConnection33, _data$WaterConnection34, _data$WaterConnection35, _data$SewerageConnect24, _data$SewerageConnect25, _data$SewerageConnect26, _data$SewerageConnect27, _data$WaterConnection36, _data$WaterConnection37, _data$WaterConnection38, _data$WaterConnection39, _data$SewerageConnect28, _data$SewerageConnect29, _data$SewerageConnect30, _data$SewerageConnect31, _data$WaterConnection40, _data$WaterConnection41, _data$WaterConnection42, _data$WaterConnection43, _data$SewerageConnect32, _data$SewerageConnect33, _data$SewerageConnect34, _data$SewerageConnect35, _data$WaterConnection44, _data$WaterConnection45, _data$WaterConnection46, _data$WaterConnection47, _data$SewerageConnect36, _data$SewerageConnect37, _data$SewerageConnect38, _data$SewerageConnect39, _data$WaterConnection48, _data$WaterConnection49, _data$WaterConnection50, _data$WaterConnection51, _data$SewerageConnect40, _data$SewerageConnect41, _data$SewerageConnect42, _data$SewerageConnect43, _data$WaterConnection52, _data$WaterConnection53, _data$WaterConnection54, _data$WaterConnection55, _data$SewerageConnect44, _data$SewerageConnect45, _data$SewerageConnect46, _data$SewerageConnect47, _state31, _data$WaterConnection56, _data$WaterConnection57, _data$WaterConnection58, _data$WaterConnection59, _data$WaterConnection60, _data$SewerageConnect48, _data$SewerageConnect49, _data$SewerageConnect50, _data$SewerageConnect51, _data$SewerageConnect52, _data$WaterConnection61, _data$WaterConnection62, _data$WaterConnection63, _data$WaterConnection64, _data$SewerageConnect53, _data$SewerageConnect54, _data$SewerageConnect55, _data$SewerageConnect56, _data$WaterConnection65, _data$WaterConnection66, _data$WaterConnection67, _data$WaterConnection68, _data$SewerageConnect57, _data$SewerageConnect58, _data$SewerageConnect59, _data$SewerageConnect60, _data$WaterConnection69, _data$WaterConnection70, _data$WaterConnection71, _data$WaterConnection72, _data$SewerageConnect61, _data$SewerageConnect62, _data$SewerageConnect63, _data$SewerageConnect64, _state32, _state32$connectionHo, _state32$connectionHo2, _data$WaterConnection73, _data$WaterConnection74, _data$WaterConnection75, _data$WaterConnection76, _data$SewerageConnect65, _data$SewerageConnect66, _data$SewerageConnect67, _data$SewerageConnect68, _data$WaterConnection77, _data$WaterConnection78, _data$WaterConnection79, _data$WaterConnection80, _data$SewerageConnect69, _data$SewerageConnect70, _data$SewerageConnect71, _data$SewerageConnect72, _state33, _state34, _state35, _state36, _state37, _state38, _paymentDetails$data17, _paymentDetails$data18;
31414
+ var _Digit$SessionStorage, _user$info, _data$SewerageConnect, _data$SewerageConnect2, _data$WaterConnection, _data$WaterConnection2, _Object$keys, _connectionData$Water, _connectionData$Sewer, _data$WaterConnection3, _data$WaterConnection4, _data$WaterConnection5, _data$WaterConnection6, _data$WaterConnection7, _data$WaterConnection8, _data$WaterConnection9, _data$WaterConnection0, _data$SewerageConnect3, _data$SewerageConnect4, _data$SewerageConnect5, _data$SewerageConnect6, _state, _state$applicationNo, _state2, _state3, _state4, _state4$applicationTy, _state5, _state6, _state7, _state8, _state8$applicationTy, _state9, _state0, _state1, _state10, _state10$applicationT, _state11, _state12, _state13, _state14, _state15, _state15$applicationT, _state16, _state16$waterSource, _state16$waterSource$, _state17, _state18, _state18$waterSource, _state18$waterSource$, _state19, _state20, _state21, _state22, _state22$additionalDe, _state23, _state23$applicationT, _state24, _state24$additionalDe, _state24$additionalDe2, _state25, _state25$additionalDe, _state25$additionalDe2, _state26, _state26$additionalDe, _state27, _state27$additionalDe, _state28, _state28$additionalDe, _state28$additionalDe2, _state29, _state29$additionalDe, _state30, _state31, _state32, _state33, _state33$property, _state33$property$own, _PTData$Properties2, _PTData$Properties2$, _PTData$Properties3, _PTData$Properties3$, _PTData$Properties3$$, _PTData$Properties3$$2, _PTData$Properties4, _PTData$Properties4$, _user$info2, _user$info2$userName, _user$info3, _user$info4, _state34, _state34$additionalDe, _state34$additionalDe2, _state35, _state35$additionalDe, _state35$additionalDe2, _state36, _state36$additionalDe, _state37, _state37$additionalDe, _state38, _state38$additionalDe, _state39, _state39$additionalDe, _state40, _state40$additionalDe, _state41, _state42, _state43, _state44, _state44$connectionHo, _state44$connectionHo2, _data$WaterConnection16, _data$WaterConnection17, _data$WaterConnection18, _data$WaterConnection19, _data$SewerageConnect0, _data$SewerageConnect1, _data$SewerageConnect10, _data$SewerageConnect11, _data$WaterConnection20, _data$WaterConnection21, _data$WaterConnection22, _data$WaterConnection23, _data$SewerageConnect12, _data$SewerageConnect13, _data$SewerageConnect14, _data$SewerageConnect15, _data$WaterConnection24, _data$WaterConnection25, _data$WaterConnection26, _data$WaterConnection27, _data$SewerageConnect16, _data$SewerageConnect17, _data$SewerageConnect18, _data$SewerageConnect19, _data$WaterConnection28, _data$WaterConnection29, _data$WaterConnection30, _data$WaterConnection31, _data$SewerageConnect20, _data$SewerageConnect21, _data$SewerageConnect22, _data$SewerageConnect23, _data$WaterConnection32, _data$WaterConnection33, _data$WaterConnection34, _data$WaterConnection35, _data$SewerageConnect24, _data$SewerageConnect25, _data$SewerageConnect26, _data$SewerageConnect27, _data$WaterConnection36, _data$WaterConnection37, _data$WaterConnection38, _data$WaterConnection39, _data$SewerageConnect28, _data$SewerageConnect29, _data$SewerageConnect30, _data$SewerageConnect31, _data$WaterConnection40, _data$WaterConnection41, _data$WaterConnection42, _data$WaterConnection43, _data$SewerageConnect32, _data$SewerageConnect33, _data$SewerageConnect34, _data$SewerageConnect35, _data$WaterConnection44, _data$WaterConnection45, _data$WaterConnection46, _data$WaterConnection47, _data$SewerageConnect36, _data$SewerageConnect37, _data$SewerageConnect38, _data$SewerageConnect39, _data$WaterConnection48, _data$WaterConnection49, _data$WaterConnection50, _data$WaterConnection51, _data$SewerageConnect40, _data$SewerageConnect41, _data$SewerageConnect42, _data$SewerageConnect43, _data$WaterConnection52, _data$WaterConnection53, _data$WaterConnection54, _data$WaterConnection55, _data$SewerageConnect44, _data$SewerageConnect45, _data$SewerageConnect46, _data$SewerageConnect47, _state45, _state45$additionalDe, _state46, _state46$additionalDe, _state47, _state47$additionalDe, _state48, _state48$additionalDe, _state49, _state49$additionalDe, _state50, _state51, _state54, _state55, _state56, _state57, _state58, _state59, _paymentDetails$data17, _paymentDetails$data18;
31384
31415
  const _useTranslation = useTranslation(),
31385
31416
  t = _useTranslation.t;
31386
31417
  const menuRef = useRef();
@@ -31658,7 +31689,7 @@ const ConnectionDetails$5 = () => {
31658
31689
  marginRight: "auto",
31659
31690
  maxWidth: "960px"
31660
31691
  }
31661
- }, /*#__PURE__*/React.createElement(Header, null, t("WS_COMMON_CONNECTION_DETAIL")), downloadOptions && downloadOptions.length > 0 && /*#__PURE__*/React.createElement("div", {
31692
+ }, downloadOptions && downloadOptions.length > 0 && /*#__PURE__*/React.createElement("div", {
31662
31693
  ref: menuRef
31663
31694
  }, /*#__PURE__*/React.createElement(MultiLink, {
31664
31695
  className: "multilinkWrapper",
@@ -31666,7 +31697,7 @@ const ConnectionDetails$5 = () => {
31666
31697
  displayOptions: showOptions,
31667
31698
  options: downloadOptions,
31668
31699
  optionsStyle: {
31669
- margin: '0px'
31700
+ margin: "0px"
31670
31701
  }
31671
31702
  }))), checkifPrivacyenabled && /*#__PURE__*/React.createElement(WSInfoLabel, {
31672
31703
  t: t
@@ -31778,8 +31809,43 @@ const ConnectionDetails$5 = () => {
31778
31809
  textStyle: {
31779
31810
  whiteSpace: "pre"
31780
31811
  }
31781
- })), ((_state23 = state) === null || _state23 === void 0 ? void 0 : _state23.connectionType) === "Metered" && /*#__PURE__*/React.createElement(Link, {
31782
- to: "/digit-ui/citizen/ws/consumption/details?applicationNo=" + ((_state24 = state) === null || _state24 === void 0 ? void 0 : _state24.connectionNo)
31812
+ })), ((_state23 = state) === null || _state23 === void 0 ? void 0 : (_state23$applicationT = _state23.applicationType) === null || _state23$applicationT === void 0 ? void 0 : _state23$applicationT.includes("WATER")) && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Row, {
31813
+ className: "border-none",
31814
+ label: t("WS_WATER_DEMAND_TYPE"),
31815
+ text: (_state24 = state) !== null && _state24 !== void 0 && (_state24$additionalDe = _state24.additionalDetails) !== null && _state24$additionalDe !== void 0 && (_state24$additionalDe2 = _state24$additionalDe.waterDemandType) !== null && _state24$additionalDe2 !== void 0 && _state24$additionalDe2.i18nKey ? t((_state25 = state) === null || _state25 === void 0 ? void 0 : (_state25$additionalDe = _state25.additionalDetails) === null || _state25$additionalDe === void 0 ? void 0 : (_state25$additionalDe2 = _state25$additionalDe.waterDemandType) === null || _state25$additionalDe2 === void 0 ? void 0 : _state25$additionalDe2.i18nKey) : "NA",
31816
+ textStyle: {
31817
+ whiteSpace: "pre"
31818
+ }
31819
+ }), /*#__PURE__*/React.createElement(Row, {
31820
+ className: "border-none",
31821
+ label: t("WS_CATEGORY_TYPE"),
31822
+ text: ((_state26 = state) === null || _state26 === void 0 ? void 0 : (_state26$additionalDe = _state26.additionalDetails) === null || _state26$additionalDe === void 0 ? void 0 : _state26$additionalDe.categoryType) || "NA",
31823
+ textStyle: {
31824
+ whiteSpace: "pre"
31825
+ }
31826
+ }), /*#__PURE__*/React.createElement(Row, {
31827
+ className: "border-none",
31828
+ label: t("WS_ZRO_NAME"),
31829
+ text: ((_state27 = state) === null || _state27 === void 0 ? void 0 : (_state27$additionalDe = _state27.additionalDetails) === null || _state27$additionalDe === void 0 ? void 0 : _state27$additionalDe.zro) || "NA",
31830
+ textStyle: {
31831
+ whiteSpace: "pre"
31832
+ }
31833
+ }), /*#__PURE__*/React.createElement(Row, {
31834
+ className: "border-none",
31835
+ label: t("WS_CONNECTION_USAGE_TYPE"),
31836
+ text: ((_state28 = state) === null || _state28 === void 0 ? void 0 : (_state28$additionalDe = _state28.additionalDetails) === null || _state28$additionalDe === void 0 ? void 0 : (_state28$additionalDe2 = _state28$additionalDe.WaterConnectionUsageType) === null || _state28$additionalDe2 === void 0 ? void 0 : _state28$additionalDe2.name) || "NA",
31837
+ textStyle: {
31838
+ whiteSpace: "pre"
31839
+ }
31840
+ }), /*#__PURE__*/React.createElement(Row, {
31841
+ className: "border-none",
31842
+ label: t("WS_TEMPORARY_CONNECTION"),
31843
+ text: ((_state29 = state) === null || _state29 === void 0 ? void 0 : (_state29$additionalDe = _state29.additionalDetails) === null || _state29$additionalDe === void 0 ? void 0 : _state29$additionalDe.temporaryConnection) || "NA",
31844
+ textStyle: {
31845
+ whiteSpace: "pre"
31846
+ }
31847
+ })), ((_state30 = state) === null || _state30 === void 0 ? void 0 : _state30.connectionType) === "Metered" && /*#__PURE__*/React.createElement(Link, {
31848
+ to: "/digit-ui/citizen/ws/consumption/details?applicationNo=" + ((_state31 = state) === null || _state31 === void 0 ? void 0 : _state31.connectionNo)
31783
31849
  }, /*#__PURE__*/React.createElement(LinkButton, {
31784
31850
  style: {
31785
31851
  textAlign: "left",
@@ -31794,11 +31860,11 @@ const ConnectionDetails$5 = () => {
31794
31860
  }, t("WS_COMMON_PROPERTY_DETAILS")), /*#__PURE__*/React.createElement(StatusTable, null, /*#__PURE__*/React.createElement(Row, {
31795
31861
  className: "border-none",
31796
31862
  label: t("WS_PROPERTY_ID_LABEL"),
31797
- text: (_state25 = state) === null || _state25 === void 0 ? void 0 : _state25.propertyId
31863
+ text: (_state32 = state) === null || _state32 === void 0 ? void 0 : _state32.propertyId
31798
31864
  }), /*#__PURE__*/React.createElement(Row, {
31799
31865
  className: "border-none",
31800
31866
  label: t("WS_OWN_DETAIL_OWN_NAME_LABEL"),
31801
- text: (_state26 = state) === null || _state26 === void 0 ? void 0 : (_state26$property = _state26.property) === null || _state26$property === void 0 ? void 0 : (_state26$property$own = _state26$property.owners) === null || _state26$property$own === void 0 ? void 0 : _state26$property$own.map(owner => owner.name).join(","),
31867
+ text: (_state33 = state) === null || _state33 === void 0 ? void 0 : (_state33$property = _state33.property) === null || _state33$property === void 0 ? void 0 : (_state33$property$own = _state33$property.owners) === null || _state33$property$own === void 0 ? void 0 : _state33$property$own.map(owner => owner.name).join(","),
31802
31868
  textStyle: {
31803
31869
  whiteSpace: "pre"
31804
31870
  }
@@ -31830,8 +31896,36 @@ const ConnectionDetails$5 = () => {
31830
31896
  }
31831
31897
  }
31832
31898
  }
31899
+ }), /*#__PURE__*/React.createElement(Row, {
31900
+ className: "border-none",
31901
+ label: t("WS_PROPERTY_TYPE"),
31902
+ text: ((_state34 = state) === null || _state34 === void 0 ? void 0 : (_state34$additionalDe = _state34.additionalDetails) === null || _state34$additionalDe === void 0 ? void 0 : (_state34$additionalDe2 = _state34$additionalDe.propertyType) === null || _state34$additionalDe2 === void 0 ? void 0 : _state34$additionalDe2.name) || "NA"
31903
+ }), /*#__PURE__*/React.createElement(Row, {
31904
+ className: "border-none",
31905
+ label: t("WS_PROPERTY_CATEGORY"),
31906
+ text: ((_state35 = state) === null || _state35 === void 0 ? void 0 : (_state35$additionalDe = _state35.additionalDetails) === null || _state35$additionalDe === void 0 ? void 0 : (_state35$additionalDe2 = _state35$additionalDe.propertyCategory) === null || _state35$additionalDe2 === void 0 ? void 0 : _state35$additionalDe2.name) || "NA"
31907
+ }), /*#__PURE__*/React.createElement(Row, {
31908
+ className: "border-none",
31909
+ label: t("WS_PLOT_AREA"),
31910
+ text: ((_state36 = state) === null || _state36 === void 0 ? void 0 : (_state36$additionalDe = _state36.additionalDetails) === null || _state36$additionalDe === void 0 ? void 0 : _state36$additionalDe.plotArea) || "NA"
31911
+ }), /*#__PURE__*/React.createElement(Row, {
31912
+ className: "border-none",
31913
+ label: t("WS_BUILT_UP_AREA"),
31914
+ text: ((_state37 = state) === null || _state37 === void 0 ? void 0 : (_state37$additionalDe = _state37.additionalDetails) === null || _state37$additionalDe === void 0 ? void 0 : _state37$additionalDe.builtUpArea) || "NA"
31915
+ }), /*#__PURE__*/React.createElement(Row, {
31916
+ className: "border-none",
31917
+ label: t("WS_NO_OF_FLOORS"),
31918
+ text: ((_state38 = state) === null || _state38 === void 0 ? void 0 : (_state38$additionalDe = _state38.additionalDetails) === null || _state38$additionalDe === void 0 ? void 0 : _state38$additionalDe.noOfFloors) || "NA"
31919
+ }), /*#__PURE__*/React.createElement(Row, {
31920
+ className: "border-none",
31921
+ label: t("WS_NO_OF_DWELLING_UNITS"),
31922
+ text: ((_state39 = state) === null || _state39 === void 0 ? void 0 : (_state39$additionalDe = _state39.additionalDetails) === null || _state39$additionalDe === void 0 ? void 0 : _state39$additionalDe.NumberofDwellingUnits) || "NA"
31923
+ }), /*#__PURE__*/React.createElement(Row, {
31924
+ className: "border-none",
31925
+ label: t("WS_LOCALITY"),
31926
+ text: ((_state40 = state) === null || _state40 === void 0 ? void 0 : (_state40$additionalDe = _state40.additionalDetails) === null || _state40$additionalDe === void 0 ? void 0 : _state40$additionalDe.locality) || "NA"
31833
31927
  }), /*#__PURE__*/React.createElement(Link, {
31834
- to: "/digit-ui/citizen/commonpt/view-property?propertyId=" + ((_state27 = state) === null || _state27 === void 0 ? void 0 : _state27.propertyId) + "&tenantId=" + ((_state28 = state) === null || _state28 === void 0 ? void 0 : _state28.tenantId)
31928
+ to: "/digit-ui/citizen/commonpt/view-property?propertyId=" + ((_state41 = state) === null || _state41 === void 0 ? void 0 : _state41.propertyId) + "&tenantId=" + ((_state42 = state) === null || _state42 === void 0 ? void 0 : _state42.tenantId)
31835
31929
  }, /*#__PURE__*/React.createElement(LinkButton, {
31836
31930
  style: {
31837
31931
  textAlign: "left",
@@ -31843,10 +31937,10 @@ const ConnectionDetails$5 = () => {
31843
31937
  styles: {
31844
31938
  fontSize: "28px"
31845
31939
  }
31846
- }, t("WS_COMMON_CONNECTION_HOLDER_DETAILS_HEADER")), (_state29 = state) !== null && _state29 !== void 0 && _state29.connectionHolders ? /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(StatusTable, null, /*#__PURE__*/React.createElement(Row, {
31940
+ }, t("WS_COMMON_CONNECTION_HOLDER_DETAILS_HEADER")), (_state43 = state) !== null && _state43 !== void 0 && _state43.connectionHolders ? /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(StatusTable, null, /*#__PURE__*/React.createElement(Row, {
31847
31941
  className: "border-none",
31848
31942
  label: t("WS_OWN_DETAIL_OWN_NAME_LABEL"),
31849
- text: (_state30 = state) === null || _state30 === void 0 ? void 0 : (_state30$connectionHo = _state30.connectionHolders) === null || _state30$connectionHo === void 0 ? void 0 : (_state30$connectionHo2 = _state30$connectionHo[0]) === null || _state30$connectionHo2 === void 0 ? void 0 : _state30$connectionHo2.name,
31943
+ text: (_state44 = state) === null || _state44 === void 0 ? void 0 : (_state44$connectionHo = _state44.connectionHolders) === null || _state44$connectionHo === void 0 ? void 0 : (_state44$connectionHo2 = _state44$connectionHo[0]) === null || _state44$connectionHo2 === void 0 ? void 0 : _state44$connectionHo2.name,
31850
31944
  textStyle: {
31851
31945
  whiteSpace: "pre"
31852
31946
  }
@@ -31942,65 +32036,15 @@ const ConnectionDetails$5 = () => {
31942
32036
  isArray: false
31943
32037
  }
31944
32038
  }
31945
- }), /*#__PURE__*/React.createElement(Row, {
31946
- className: "border-none",
31947
- label: t("WS_OWN_DETAIL_CROSADD"),
31948
- text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection48 = data.WaterConnection) === null || _data$WaterConnection48 === void 0 ? void 0 : (_data$WaterConnection49 = _data$WaterConnection48[0]) === null || _data$WaterConnection49 === void 0 ? void 0 : (_data$WaterConnection50 = _data$WaterConnection49.connectionHolders) === null || _data$WaterConnection50 === void 0 ? void 0 : (_data$WaterConnection51 = _data$WaterConnection50[0]) === null || _data$WaterConnection51 === void 0 ? void 0 : _data$WaterConnection51.correspondenceAddress : data === null || data === void 0 ? void 0 : (_data$SewerageConnect40 = data.SewerageConnections) === null || _data$SewerageConnect40 === void 0 ? void 0 : (_data$SewerageConnect41 = _data$SewerageConnect40[0]) === null || _data$SewerageConnect41 === void 0 ? void 0 : (_data$SewerageConnect42 = _data$SewerageConnect41.connectionHolders) === null || _data$SewerageConnect42 === void 0 ? void 0 : (_data$SewerageConnect43 = _data$SewerageConnect42[0]) === null || _data$SewerageConnect43 === void 0 ? void 0 : _data$SewerageConnect43.correspondenceAddress,
31949
- privacy: {
31950
- uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection52 = data.WaterConnection) === null || _data$WaterConnection52 === void 0 ? void 0 : (_data$WaterConnection53 = _data$WaterConnection52[0]) === null || _data$WaterConnection53 === void 0 ? void 0 : (_data$WaterConnection54 = _data$WaterConnection53.connectionHolders) === null || _data$WaterConnection54 === void 0 ? void 0 : (_data$WaterConnection55 = _data$WaterConnection54[0]) === null || _data$WaterConnection55 === void 0 ? void 0 : _data$WaterConnection55.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect44 = data.SewerageConnections) === null || _data$SewerageConnect44 === void 0 ? void 0 : (_data$SewerageConnect45 = _data$SewerageConnect44[0]) === null || _data$SewerageConnect45 === void 0 ? void 0 : (_data$SewerageConnect46 = _data$SewerageConnect45.connectionHolders) === null || _data$SewerageConnect46 === void 0 ? void 0 : (_data$SewerageConnect47 = _data$SewerageConnect46[0]) === null || _data$SewerageConnect47 === void 0 ? void 0 : _data$SewerageConnect47.uuid,
31951
- fieldName: "correspondenceAddress",
31952
- model: "WnSConnectionOwner",
31953
- hide: !((_state31 = state) !== null && _state31 !== void 0 && _state31.connectionHolders),
31954
- showValue: false,
31955
- loadData: {
31956
- serviceName: serviceType === "WATER" ? "/ws-services/wc/_search" : "/sw-services/swc/_search",
31957
- requestBody: {},
31958
- requestParam: {
31959
- tenantId,
31960
- applicationNumber: applicationNobyData
31961
- },
31962
- jsonPath: serviceType === "WATER" ? "WaterConnection[0].connectionHolders[0].correspondenceAddress" : "SewerageConnections[0].connectionHolders[0].correspondenceAddress",
31963
- isArray: false
31964
- }
31965
- }
31966
- }), /*#__PURE__*/React.createElement(Row, {
31967
- className: "border-none",
31968
- label: t("WS_OWN_DETAIL_SPECIAL_APPLICANT_LABEL"),
31969
- text: (applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? !(data !== null && data !== void 0 && (_data$WaterConnection56 = data.WaterConnection) !== null && _data$WaterConnection56 !== void 0 && (_data$WaterConnection57 = _data$WaterConnection56[0]) !== null && _data$WaterConnection57 !== void 0 && (_data$WaterConnection58 = _data$WaterConnection57.connectionHolders) !== null && _data$WaterConnection58 !== void 0 && (_data$WaterConnection59 = _data$WaterConnection58[0]) !== null && _data$WaterConnection59 !== void 0 && (_data$WaterConnection60 = _data$WaterConnection59.ownerType) !== null && _data$WaterConnection60 !== void 0 && _data$WaterConnection60.includes("*")) : !(data !== null && data !== void 0 && (_data$SewerageConnect48 = data.SewerageConnections) !== null && _data$SewerageConnect48 !== void 0 && (_data$SewerageConnect49 = _data$SewerageConnect48[0]) !== null && _data$SewerageConnect49 !== void 0 && (_data$SewerageConnect50 = _data$SewerageConnect49.connectionHolders) !== null && _data$SewerageConnect50 !== void 0 && (_data$SewerageConnect51 = _data$SewerageConnect50[0]) !== null && _data$SewerageConnect51 !== void 0 && (_data$SewerageConnect52 = _data$SewerageConnect51.ownerType) !== null && _data$SewerageConnect52 !== void 0 && _data$SewerageConnect52.includes("*"))) ? t("COMMON_MASTERS_OWNERTYPE_" + (applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection61 = data.WaterConnection) === null || _data$WaterConnection61 === void 0 ? void 0 : (_data$WaterConnection62 = _data$WaterConnection61[0]) === null || _data$WaterConnection62 === void 0 ? void 0 : (_data$WaterConnection63 = _data$WaterConnection62.connectionHolders) === null || _data$WaterConnection63 === void 0 ? void 0 : (_data$WaterConnection64 = _data$WaterConnection63[0]) === null || _data$WaterConnection64 === void 0 ? void 0 : _data$WaterConnection64.ownerType : data === null || data === void 0 ? void 0 : (_data$SewerageConnect53 = data.SewerageConnections) === null || _data$SewerageConnect53 === void 0 ? void 0 : (_data$SewerageConnect54 = _data$SewerageConnect53[0]) === null || _data$SewerageConnect54 === void 0 ? void 0 : (_data$SewerageConnect55 = _data$SewerageConnect54.connectionHolders) === null || _data$SewerageConnect55 === void 0 ? void 0 : (_data$SewerageConnect56 = _data$SewerageConnect55[0]) === null || _data$SewerageConnect56 === void 0 ? void 0 : _data$SewerageConnect56.ownerType)) : applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection65 = data.WaterConnection) === null || _data$WaterConnection65 === void 0 ? void 0 : (_data$WaterConnection66 = _data$WaterConnection65[0]) === null || _data$WaterConnection66 === void 0 ? void 0 : (_data$WaterConnection67 = _data$WaterConnection66.connectionHolders) === null || _data$WaterConnection67 === void 0 ? void 0 : (_data$WaterConnection68 = _data$WaterConnection67[0]) === null || _data$WaterConnection68 === void 0 ? void 0 : _data$WaterConnection68.ownerType : data === null || data === void 0 ? void 0 : (_data$SewerageConnect57 = data.SewerageConnections) === null || _data$SewerageConnect57 === void 0 ? void 0 : (_data$SewerageConnect58 = _data$SewerageConnect57[0]) === null || _data$SewerageConnect58 === void 0 ? void 0 : (_data$SewerageConnect59 = _data$SewerageConnect58.connectionHolders) === null || _data$SewerageConnect59 === void 0 ? void 0 : (_data$SewerageConnect60 = _data$SewerageConnect59[0]) === null || _data$SewerageConnect60 === void 0 ? void 0 : _data$SewerageConnect60.ownerType,
31970
- textStyle: {
31971
- whiteSpace: "pre"
31972
- },
31973
- privacy: {
31974
- uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection69 = data.WaterConnection) === null || _data$WaterConnection69 === void 0 ? void 0 : (_data$WaterConnection70 = _data$WaterConnection69[0]) === null || _data$WaterConnection70 === void 0 ? void 0 : (_data$WaterConnection71 = _data$WaterConnection70.connectionHolders) === null || _data$WaterConnection71 === void 0 ? void 0 : (_data$WaterConnection72 = _data$WaterConnection71[0]) === null || _data$WaterConnection72 === void 0 ? void 0 : _data$WaterConnection72.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect61 = data.SewerageConnections) === null || _data$SewerageConnect61 === void 0 ? void 0 : (_data$SewerageConnect62 = _data$SewerageConnect61[0]) === null || _data$SewerageConnect62 === void 0 ? void 0 : (_data$SewerageConnect63 = _data$SewerageConnect62.connectionHolders) === null || _data$SewerageConnect63 === void 0 ? void 0 : (_data$SewerageConnect64 = _data$SewerageConnect63[0]) === null || _data$SewerageConnect64 === void 0 ? void 0 : _data$SewerageConnect64.uuid,
31975
- fieldName: "ownerType",
31976
- model: "WnSConnection",
31977
- hide: !((_state32 = state) !== null && _state32 !== void 0 && (_state32$connectionHo = _state32.connectionHolders) !== null && _state32$connectionHo !== void 0 && (_state32$connectionHo2 = _state32$connectionHo[0]) !== null && _state32$connectionHo2 !== void 0 && _state32$connectionHo2.ownerType),
31978
- showValue: false,
31979
- loadData: {
31980
- serviceName: serviceType === "WATER" ? "/ws-services/wc/_search" : "/sw-services/swc/_search",
31981
- requestBody: {},
31982
- requestParam: {
31983
- tenantId,
31984
- applicationNumber: applicationNobyData
31985
- },
31986
- jsonPath: serviceType === "WATER" ? "WaterConnection[0].connectionHolders[0].ownerType" : "SewerageConnections[0].connectionHolders[0].ownerType",
31987
- isArray: false,
31988
- d: res => {
31989
- var _res$WaterConnection, _res$WaterConnection2, _res$WaterConnection3, _res$WaterConnection4, _res$WaterConnection5, _res$WaterConnection6, _res$SewerageConnecti, _res$SewerageConnecti2, _res$SewerageConnecti3, _res$SewerageConnecti4, _res$SewerageConnecti5;
31990
- let resultString = res !== null && res !== void 0 && (_res$WaterConnection = res.WaterConnection) !== null && _res$WaterConnection !== void 0 && _res$WaterConnection[0] ? t("PROPERTYTAX_OWNERTYPE_" + (res === null || res === void 0 ? void 0 : (_res$WaterConnection2 = res.WaterConnection) === null || _res$WaterConnection2 === void 0 ? void 0 : (_res$WaterConnection3 = _res$WaterConnection2[0]) === null || _res$WaterConnection3 === void 0 ? void 0 : (_res$WaterConnection4 = _res$WaterConnection3.connectionHolders) === null || _res$WaterConnection4 === void 0 ? void 0 : (_res$WaterConnection5 = _res$WaterConnection4[0]) === null || _res$WaterConnection5 === void 0 ? void 0 : (_res$WaterConnection6 = _res$WaterConnection5.ownerType) === null || _res$WaterConnection6 === void 0 ? void 0 : _res$WaterConnection6.toUpperCase())) : t("PROPERTYTAX_OWNERTYPE_" + (res === null || res === void 0 ? void 0 : (_res$SewerageConnecti = res.SewerageConnections) === null || _res$SewerageConnecti === void 0 ? void 0 : (_res$SewerageConnecti2 = _res$SewerageConnecti[0]) === null || _res$SewerageConnecti2 === void 0 ? void 0 : (_res$SewerageConnecti3 = _res$SewerageConnecti2.connectionHolders) === null || _res$SewerageConnecti3 === void 0 ? void 0 : (_res$SewerageConnecti4 = _res$SewerageConnecti3[0]) === null || _res$SewerageConnecti4 === void 0 ? void 0 : (_res$SewerageConnecti5 = _res$SewerageConnecti4.ownerType) === null || _res$SewerageConnecti5 === void 0 ? void 0 : _res$SewerageConnecti5.toUpperCase()));
31991
- return resultString;
31992
- }
31993
- }
31994
- }
31995
32039
  }), /*#__PURE__*/React.createElement(Row, {
31996
32040
  className: "border-none",
31997
32041
  label: t("WS_OWN_EMAIL_IDNO_LABEL"),
31998
- text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection73 = data.WaterConnection) === null || _data$WaterConnection73 === void 0 ? void 0 : (_data$WaterConnection74 = _data$WaterConnection73[0]) === null || _data$WaterConnection74 === void 0 ? void 0 : (_data$WaterConnection75 = _data$WaterConnection74.connectionHolders) === null || _data$WaterConnection75 === void 0 ? void 0 : (_data$WaterConnection76 = _data$WaterConnection75[0]) === null || _data$WaterConnection76 === void 0 ? void 0 : _data$WaterConnection76.emailId : data === null || data === void 0 ? void 0 : (_data$SewerageConnect65 = data.SewerageConnections) === null || _data$SewerageConnect65 === void 0 ? void 0 : (_data$SewerageConnect66 = _data$SewerageConnect65[0]) === null || _data$SewerageConnect66 === void 0 ? void 0 : (_data$SewerageConnect67 = _data$SewerageConnect66.connectionHolders) === null || _data$SewerageConnect67 === void 0 ? void 0 : (_data$SewerageConnect68 = _data$SewerageConnect67[0]) === null || _data$SewerageConnect68 === void 0 ? void 0 : _data$SewerageConnect68.emailId,
32042
+ text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection48 = data.WaterConnection) === null || _data$WaterConnection48 === void 0 ? void 0 : (_data$WaterConnection49 = _data$WaterConnection48[0]) === null || _data$WaterConnection49 === void 0 ? void 0 : (_data$WaterConnection50 = _data$WaterConnection49.connectionHolders) === null || _data$WaterConnection50 === void 0 ? void 0 : (_data$WaterConnection51 = _data$WaterConnection50[0]) === null || _data$WaterConnection51 === void 0 ? void 0 : _data$WaterConnection51.emailId : data === null || data === void 0 ? void 0 : (_data$SewerageConnect40 = data.SewerageConnections) === null || _data$SewerageConnect40 === void 0 ? void 0 : (_data$SewerageConnect41 = _data$SewerageConnect40[0]) === null || _data$SewerageConnect41 === void 0 ? void 0 : (_data$SewerageConnect42 = _data$SewerageConnect41.connectionHolders) === null || _data$SewerageConnect42 === void 0 ? void 0 : (_data$SewerageConnect43 = _data$SewerageConnect42[0]) === null || _data$SewerageConnect43 === void 0 ? void 0 : _data$SewerageConnect43.emailId,
31999
32043
  textStyle: {
32000
32044
  whiteSpace: "pre"
32001
32045
  },
32002
32046
  privacy: {
32003
- uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection77 = data.WaterConnection) === null || _data$WaterConnection77 === void 0 ? void 0 : (_data$WaterConnection78 = _data$WaterConnection77[0]) === null || _data$WaterConnection78 === void 0 ? void 0 : (_data$WaterConnection79 = _data$WaterConnection78.connectionHolders) === null || _data$WaterConnection79 === void 0 ? void 0 : (_data$WaterConnection80 = _data$WaterConnection79[0]) === null || _data$WaterConnection80 === void 0 ? void 0 : _data$WaterConnection80.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect69 = data.SewerageConnections) === null || _data$SewerageConnect69 === void 0 ? void 0 : (_data$SewerageConnect70 = _data$SewerageConnect69[0]) === null || _data$SewerageConnect70 === void 0 ? void 0 : (_data$SewerageConnect71 = _data$SewerageConnect70.connectionHolders) === null || _data$SewerageConnect71 === void 0 ? void 0 : (_data$SewerageConnect72 = _data$SewerageConnect71[0]) === null || _data$SewerageConnect72 === void 0 ? void 0 : _data$SewerageConnect72.uuid,
32047
+ uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection52 = data.WaterConnection) === null || _data$WaterConnection52 === void 0 ? void 0 : (_data$WaterConnection53 = _data$WaterConnection52[0]) === null || _data$WaterConnection53 === void 0 ? void 0 : (_data$WaterConnection54 = _data$WaterConnection53.connectionHolders) === null || _data$WaterConnection54 === void 0 ? void 0 : (_data$WaterConnection55 = _data$WaterConnection54[0]) === null || _data$WaterConnection55 === void 0 ? void 0 : _data$WaterConnection55.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect44 = data.SewerageConnections) === null || _data$SewerageConnect44 === void 0 ? void 0 : (_data$SewerageConnect45 = _data$SewerageConnect44[0]) === null || _data$SewerageConnect45 === void 0 ? void 0 : (_data$SewerageConnect46 = _data$SewerageConnect45.connectionHolders) === null || _data$SewerageConnect46 === void 0 ? void 0 : (_data$SewerageConnect47 = _data$SewerageConnect46[0]) === null || _data$SewerageConnect47 === void 0 ? void 0 : _data$SewerageConnect47.uuid,
32004
32048
  fieldName: "connectionHoldersEmailId",
32005
32049
  model: "WnSConnectionOwner",
32006
32050
  showValue: false,
@@ -32015,7 +32059,48 @@ const ConnectionDetails$5 = () => {
32015
32059
  isArray: false
32016
32060
  }
32017
32061
  }
32018
- }))) : /*#__PURE__*/React.createElement(CardText, null, t("WS_PROPERTY_OWNER_SAME_AS_CONN_HOLDERS")), (((_state33 = state) === null || _state33 === void 0 ? void 0 : _state33.status) !== "inactive" || ((_state34 = state) === null || _state34 === void 0 ? void 0 : _state34.applicationStatus) !== "Inactive" || ((_state35 = state) === null || _state35 === void 0 ? void 0 : _state35.applicationStatus) !== "INACTIVE") && !isDisconnectionDone ? /*#__PURE__*/React.createElement(ActionBar, {
32062
+ }))) : /*#__PURE__*/React.createElement(CardText, null, t("WS_PROPERTY_OWNER_SAME_AS_CONN_HOLDERS")), /*#__PURE__*/React.createElement(CardHeader, {
32063
+ styles: {
32064
+ fontSize: "28px"
32065
+ }
32066
+ }, t("WS_COMMON_BANK_DETAILS")), /*#__PURE__*/React.createElement(StatusTable, null, /*#__PURE__*/React.createElement(Row, {
32067
+ className: "border-none",
32068
+ label: t("WS_BANK_NAME"),
32069
+ text: ((_state45 = state) === null || _state45 === void 0 ? void 0 : (_state45$additionalDe = _state45.additionalDetails) === null || _state45$additionalDe === void 0 ? void 0 : _state45$additionalDe.bankName) || "NA"
32070
+ }), /*#__PURE__*/React.createElement(Row, {
32071
+ className: "border-none",
32072
+ label: t("WS_BANK_BRANCH_NAME"),
32073
+ text: ((_state46 = state) === null || _state46 === void 0 ? void 0 : (_state46$additionalDe = _state46.additionalDetails) === null || _state46$additionalDe === void 0 ? void 0 : _state46$additionalDe.bankBranchName) || "NA"
32074
+ }), /*#__PURE__*/React.createElement(Row, {
32075
+ className: "border-none",
32076
+ label: t("WS_BANK_ACCOUNT_NUMBER"),
32077
+ text: ((_state47 = state) === null || _state47 === void 0 ? void 0 : (_state47$additionalDe = _state47.additionalDetails) === null || _state47$additionalDe === void 0 ? void 0 : _state47$additionalDe.accountNumber) || ((_state48 = state) === null || _state48 === void 0 ? void 0 : (_state48$additionalDe = _state48.additionalDetails) === null || _state48$additionalDe === void 0 ? void 0 : _state48$additionalDe.bankAccountNumber) || "NA"
32078
+ }), /*#__PURE__*/React.createElement(Row, {
32079
+ className: "border-none",
32080
+ label: t("WS_BANK_IFSC_CODE"),
32081
+ text: ((_state49 = state) === null || _state49 === void 0 ? void 0 : (_state49$additionalDe = _state49.additionalDetails) === null || _state49$additionalDe === void 0 ? void 0 : _state49$additionalDe.ifscCode) || "NA"
32082
+ })), /*#__PURE__*/React.createElement(CardHeader, {
32083
+ styles: {
32084
+ fontSize: "28px"
32085
+ }
32086
+ }, t("WS_COMMON_BANK_DETAILS")), ((_state50 = state) === null || _state50 === void 0 ? void 0 : _state50.documents) && ((_state51 = state) === null || _state51 === void 0 ? void 0 : _state51.documents.map((doc, index) => {
32087
+ var _doc$documentType, _state52, _state53;
32088
+ return /*#__PURE__*/React.createElement("div", {
32089
+ key: "doc-" + index
32090
+ }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(CardSectionHeader, null, t(doc === null || doc === void 0 ? void 0 : (_doc$documentType = doc.documentType) === null || _doc$documentType === void 0 ? void 0 : _doc$documentType.split(".").slice(0, 2).join("_"))), /*#__PURE__*/React.createElement(StatusTable, null, /*#__PURE__*/React.createElement(WSDocument, {
32091
+ value: (_state52 = state) === null || _state52 === void 0 ? void 0 : _state52.documents,
32092
+ Code: doc === null || doc === void 0 ? void 0 : doc.documentType,
32093
+ index: index
32094
+ }), ((_state53 = state) === null || _state53 === void 0 ? void 0 : _state53.documents.length) != index + 1 ? /*#__PURE__*/React.createElement("hr", {
32095
+ style: {
32096
+ color: "#cccccc",
32097
+ backgroundColor: "#cccccc",
32098
+ height: "2px",
32099
+ marginTop: "20px",
32100
+ marginBottom: "20px"
32101
+ }
32102
+ }) : null)));
32103
+ })), (((_state54 = state) === null || _state54 === void 0 ? void 0 : _state54.status) !== "inactive" || ((_state55 = state) === null || _state55 === void 0 ? void 0 : _state55.applicationStatus) !== "Inactive" || ((_state56 = state) === null || _state56 === void 0 ? void 0 : _state56.applicationStatus) !== "INACTIVE") && !isDisconnectionDone ? /*#__PURE__*/React.createElement(ActionBar, {
32019
32104
  style: {
32020
32105
  position: "relative",
32021
32106
  boxShadow: "none",
@@ -32034,7 +32119,7 @@ const ConnectionDetails$5 = () => {
32034
32119
  },
32035
32120
  label: t("WS_DISCONNECTION_BUTTON"),
32036
32121
  onSubmit: onActionSelect
32037
- }))) : ((_state36 = state) === null || _state36 === void 0 ? void 0 : _state36.applicationStatus) == "DISCONNECTION_EXECUTED" && ((_state37 = state) === null || _state37 === void 0 ? void 0 : _state37.status) == "Inactive" && ((_state38 = state) === null || _state38 === void 0 ? void 0 : _state38.isDisconnectionTemporary) && /*#__PURE__*/React.createElement(ActionBar, {
32122
+ }))) : ((_state57 = state) === null || _state57 === void 0 ? void 0 : _state57.applicationStatus) == "DISCONNECTION_EXECUTED" && ((_state58 = state) === null || _state58 === void 0 ? void 0 : _state58.status) == "Inactive" && ((_state59 = state) === null || _state59 === void 0 ? void 0 : _state59.isDisconnectionTemporary) && /*#__PURE__*/React.createElement(ActionBar, {
32038
32123
  style: {
32039
32124
  position: "relative",
32040
32125
  boxShadow: "none",
@@ -32066,8 +32151,8 @@ const ConnectionDetails$5 = () => {
32066
32151
  actionSingleLabel: t("COMMON_MAKE_PAYMENT"),
32067
32152
  hideSubmit: true,
32068
32153
  actionSingleSubmit: () => {
32069
- var _state39, _state40;
32070
- history.push("/digit-ui/citizen/payment/collect/" + (isSW ? "SW" : "WS") + "/" + encodeURIComponent((_state39 = state) === null || _state39 === void 0 ? void 0 : _state39.connectionNo) + "/" + tenantId + "?consumerCode=" + ((_state40 = state) === null || _state40 === void 0 ? void 0 : _state40.connectionNo) + "&&tenantId=" + tenantId + "&&workflow=WNS");
32154
+ var _state60, _state61;
32155
+ history.push("/digit-ui/citizen/payment/collect/" + (isSW ? "SW" : "WS") + "/" + encodeURIComponent((_state60 = state) === null || _state60 === void 0 ? void 0 : _state60.connectionNo) + "/" + tenantId + "?consumerCode=" + ((_state61 = state) === null || _state61 === void 0 ? void 0 : _state61.connectionNo) + "&&tenantId=" + tenantId + "&&workflow=WNS");
32071
32156
  setshowModal(false);
32072
32157
  },
32073
32158
  popupStyles: mobileView ? {
@@ -46200,7 +46285,7 @@ const ApplicationDetails$1 = () => {
46200
46285
  };
46201
46286
  } else {
46202
46287
  action.redirectionUrll = {
46203
- pathname: getBusinessService(filters) + "/" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationNo) + "/" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId) + "?tenantId=" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId) + "&ISWSAPP&applicationNumber=" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationNo),
46288
+ pathname: getBusinessService(filters, applicationDetails) + "/" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationNo) + "/" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId) + "?tenantId=" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId) + "&ISWSAPP&applicationNumber=" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationNo),
46204
46289
  state: applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId
46205
46290
  };
46206
46291
  }
@@ -46221,7 +46306,7 @@ const ApplicationDetails$1 = () => {
46221
46306
  };
46222
46307
  } else {
46223
46308
  action.redirectionUrll = {
46224
- pathname: getBusinessService(filters) + "/" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationNo) + "/" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId) + "?tenantId=" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId) + "&ISWSAPP&applicationNumber=" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationNo),
46309
+ pathname: getBusinessService(filters, applicationDetails) + "/" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationNo) + "/" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId) + "?tenantId=" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId) + "&ISWSAPP&applicationNumber=" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationNo),
46225
46310
  state: applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId
46226
46311
  };
46227
46312
  }
@@ -48581,8 +48666,367 @@ const EditModifyApplication = () => {
48581
48666
  }));
48582
48667
  };
48583
48668
 
48669
+ const WSMutationApplicantDetails = _ref => {
48670
+ var _formData$config$key, _errors$proposedNewCo, _errors$newOwnerMobil, _errors$newOwnerEmail, _errors$relationshipW, _errors$reasonForName;
48671
+ let t = _ref.t,
48672
+ config = _ref.config,
48673
+ onSelect = _ref.onSelect,
48674
+ formData = _ref.formData,
48675
+ clearErrors = _ref.clearErrors;
48676
+ const _useForm = useForm({
48677
+ defaultValues: (formData === null || formData === void 0 ? void 0 : formData[config.key]) || {}
48678
+ }),
48679
+ control = _useForm.control,
48680
+ watch = _useForm.watch,
48681
+ localFormState = _useForm.formState;
48682
+ const formValue = watch();
48683
+ const errors = localFormState.errors;
48684
+ const reasonOptions = [{
48685
+ code: "SALE_PURCHASE",
48686
+ i18nKey: "Sale / Purchase of Property"
48687
+ }, {
48688
+ code: "DEVOLUTION_INHERITANCE",
48689
+ i18nKey: "Devolution/Inheritance"
48690
+ }, {
48691
+ code: "OTHER",
48692
+ i18nKey: "Other Reason(Gift, Lease, etc)"
48693
+ }];
48694
+ const relationshipOptions = [{
48695
+ code: "MOTHER",
48696
+ i18nKey: "Mother"
48697
+ }, {
48698
+ code: "FATHER",
48699
+ i18nKey: "Father"
48700
+ }, {
48701
+ code: "SIBLING",
48702
+ i18nKey: "Sibling"
48703
+ }, {
48704
+ code: "SPOUSE",
48705
+ i18nKey: "Spouse"
48706
+ }, {
48707
+ code: "SON",
48708
+ i18nKey: "Son"
48709
+ }, {
48710
+ code: "DAUGHTER",
48711
+ i18nKey: "Daughter"
48712
+ }, {
48713
+ code: "LEGAL_HEIR",
48714
+ i18nKey: "Legal heir"
48715
+ }, {
48716
+ code: "OTHER",
48717
+ i18nKey: "Other"
48718
+ }];
48719
+ const _useState = useState((formData === null || formData === void 0 ? void 0 : (_formData$config$key = formData[config.key]) === null || _formData$config$key === void 0 ? void 0 : _formData$config$key.saleDeedDocumentId) || null),
48720
+ uploadedFile = _useState[0],
48721
+ setUploadedFile = _useState[1];
48722
+ const _useState2 = useState(null),
48723
+ file = _useState2[0],
48724
+ setFile = _useState2[1];
48725
+ const _useState3 = useState(false),
48726
+ isUploading = _useState3[0],
48727
+ setIsUploading = _useState3[1];
48728
+ useEffect(() => {
48729
+ const currentState = _extends({}, formValue, {
48730
+ saleDeedDocumentId: uploadedFile
48731
+ });
48732
+ if (!lodash.isEqual(formData === null || formData === void 0 ? void 0 : formData[config.key], currentState)) {
48733
+ onSelect(config.key, currentState);
48734
+ }
48735
+ }, [formValue, uploadedFile]);
48736
+ useEffect(() => {
48737
+ (function () {
48738
+ try {
48739
+ const _temp2 = function () {
48740
+ if (file) {
48741
+ const _temp = _finallyRethrows(function () {
48742
+ return _catch(function () {
48743
+ setIsUploading(true);
48744
+ return Promise.resolve(window.Digit.UploadServices.Filestorage("WS", file, window.Digit.ULBService.getStateId())).then(function (response) {
48745
+ var _response$data, _response$data$files;
48746
+ if ((response === null || response === void 0 ? void 0 : (_response$data = response.data) === null || _response$data === void 0 ? void 0 : (_response$data$files = _response$data.files) === null || _response$data$files === void 0 ? void 0 : _response$data$files.length) > 0) {
48747
+ setUploadedFile(response.data.files[0].fileStoreId);
48748
+ clearErrors && clearErrors(config.key);
48749
+ }
48750
+ });
48751
+ }, function (err) {
48752
+ console.error("File upload error", err);
48753
+ });
48754
+ }, function (_wasThrown, _result) {
48755
+ setIsUploading(false);
48756
+ if (_wasThrown) throw _result;
48757
+ return _result;
48758
+ });
48759
+ if (_temp && _temp.then) return _temp.then(function () {});
48760
+ }
48761
+ }();
48762
+ return _temp2 && _temp2.then ? _temp2.then(function () {}) : void 0;
48763
+ } catch (e) {
48764
+ Promise.reject(e);
48765
+ }
48766
+ })();
48767
+ }, [file]);
48768
+ const errorStyle = {
48769
+ width: "100%",
48770
+ marginLeft: "0px",
48771
+ fontSize: "12px",
48772
+ marginTop: "4px"
48773
+ };
48774
+ return /*#__PURE__*/React.createElement("div", {
48775
+ className: "formcomposer-section-grid",
48776
+ style: {
48777
+ gridTemplateColumns: "1fr 1fr",
48778
+ gap: "20px",
48779
+ display: "grid"
48780
+ }
48781
+ }, /*#__PURE__*/React.createElement("div", {
48782
+ style: {
48783
+ display: "flex",
48784
+ flexDirection: "column",
48785
+ gap: "20px"
48786
+ }
48787
+ }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(LabelFieldPair, {
48788
+ style: {
48789
+ display: "flex",
48790
+ flexDirection: "column",
48791
+ alignItems: "flex-start",
48792
+ gap: "4px"
48793
+ }
48794
+ }, /*#__PURE__*/React.createElement(CardLabel, {
48795
+ style: {
48796
+ margin: 0,
48797
+ fontWeight: "bold"
48798
+ }
48799
+ }, "PROPOSED NEW CONSUMER NAME*"), /*#__PURE__*/React.createElement("div", {
48800
+ className: "field",
48801
+ style: {
48802
+ width: "100%"
48803
+ }
48804
+ }, /*#__PURE__*/React.createElement(Controller, {
48805
+ control: control,
48806
+ name: "proposedNewConsumerName",
48807
+ rules: {
48808
+ required: "Required field"
48809
+ },
48810
+ render: props => /*#__PURE__*/React.createElement(TextInput, {
48811
+ value: props.value,
48812
+ onChange: e => {
48813
+ props.onChange(e.target.value);
48814
+ },
48815
+ placeholder: "Enter full legal name of new owner",
48816
+ onBlur: props.onBlur
48817
+ })
48818
+ }))), (errors === null || errors === void 0 ? void 0 : errors.proposedNewConsumerName) && /*#__PURE__*/React.createElement(CardLabelError, {
48819
+ style: errorStyle
48820
+ }, errors === null || errors === void 0 ? void 0 : (_errors$proposedNewCo = errors.proposedNewConsumerName) === null || _errors$proposedNewCo === void 0 ? void 0 : _errors$proposedNewCo.message)), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(LabelFieldPair, {
48821
+ style: {
48822
+ display: "flex",
48823
+ flexDirection: "column",
48824
+ alignItems: "flex-start",
48825
+ gap: "4px"
48826
+ }
48827
+ }, /*#__PURE__*/React.createElement(CardLabel, {
48828
+ style: {
48829
+ margin: 0,
48830
+ fontWeight: "bold"
48831
+ }
48832
+ }, "NEW OWNER MOBILE NUMBER*"), /*#__PURE__*/React.createElement("div", {
48833
+ className: "field",
48834
+ style: {
48835
+ width: "100%"
48836
+ }
48837
+ }, /*#__PURE__*/React.createElement(Controller, {
48838
+ control: control,
48839
+ name: "newOwnerMobileNumber",
48840
+ rules: {
48841
+ required: "Required field",
48842
+ pattern: {
48843
+ value: /^[6-9]\d{9}$/,
48844
+ message: "Invalid mobile number"
48845
+ }
48846
+ },
48847
+ render: props => /*#__PURE__*/React.createElement(MobileNumber, {
48848
+ value: props.value || "",
48849
+ onChange: val => {
48850
+ props.onChange(val);
48851
+ },
48852
+ placeholder: "Enter mobile number",
48853
+ onBlur: props.onBlur
48854
+ })
48855
+ }))), (errors === null || errors === void 0 ? void 0 : errors.newOwnerMobileNumber) && /*#__PURE__*/React.createElement(CardLabelError, {
48856
+ style: errorStyle
48857
+ }, errors === null || errors === void 0 ? void 0 : (_errors$newOwnerMobil = errors.newOwnerMobileNumber) === null || _errors$newOwnerMobil === void 0 ? void 0 : _errors$newOwnerMobil.message)), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(LabelFieldPair, {
48858
+ style: {
48859
+ display: "flex",
48860
+ flexDirection: "column",
48861
+ alignItems: "flex-start",
48862
+ gap: "4px"
48863
+ }
48864
+ }, /*#__PURE__*/React.createElement(CardLabel, {
48865
+ style: {
48866
+ margin: 0,
48867
+ fontWeight: "bold"
48868
+ }
48869
+ }, "NEW OWNER EMAIL ADDRESS"), /*#__PURE__*/React.createElement("div", {
48870
+ className: "field",
48871
+ style: {
48872
+ width: "100%"
48873
+ }
48874
+ }, /*#__PURE__*/React.createElement(Controller, {
48875
+ control: control,
48876
+ name: "newOwnerEmailAddress",
48877
+ rules: {
48878
+ pattern: {
48879
+ value: /^[^\s@]+@[^\s@]+\.[^\s@]+$/,
48880
+ message: "Invalid email address"
48881
+ }
48882
+ },
48883
+ render: props => /*#__PURE__*/React.createElement(TextInput, {
48884
+ value: props.value,
48885
+ onChange: e => {
48886
+ props.onChange(e.target.value);
48887
+ },
48888
+ placeholder: "Enter email address",
48889
+ onBlur: props.onBlur
48890
+ })
48891
+ }))), (errors === null || errors === void 0 ? void 0 : errors.newOwnerEmailAddress) && /*#__PURE__*/React.createElement(CardLabelError, {
48892
+ style: errorStyle
48893
+ }, errors === null || errors === void 0 ? void 0 : (_errors$newOwnerEmail = errors.newOwnerEmailAddress) === null || _errors$newOwnerEmail === void 0 ? void 0 : _errors$newOwnerEmail.message)), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(LabelFieldPair, {
48894
+ style: {
48895
+ display: "flex",
48896
+ flexDirection: "column",
48897
+ alignItems: "flex-start",
48898
+ gap: "4px"
48899
+ }
48900
+ }, /*#__PURE__*/React.createElement(CardLabel, {
48901
+ style: {
48902
+ margin: 0,
48903
+ fontWeight: "bold"
48904
+ }
48905
+ }, "RELATIONSHIP WITH EXISTING CONSUMER*"), /*#__PURE__*/React.createElement("div", {
48906
+ className: "field",
48907
+ style: {
48908
+ width: "100%"
48909
+ }
48910
+ }, /*#__PURE__*/React.createElement(Controller, {
48911
+ control: control,
48912
+ name: "relationshipWithExistingConsumer",
48913
+ rules: {
48914
+ required: "Required field"
48915
+ },
48916
+ render: props => /*#__PURE__*/React.createElement(Dropdown, {
48917
+ selected: props.value,
48918
+ option: relationshipOptions,
48919
+ select: e => {
48920
+ props.onChange(e);
48921
+ },
48922
+ optionKey: "i18nKey",
48923
+ t: t,
48924
+ placeholder: "Select relationship"
48925
+ })
48926
+ }))), (errors === null || errors === void 0 ? void 0 : errors.relationshipWithExistingConsumer) && /*#__PURE__*/React.createElement(CardLabelError, {
48927
+ style: errorStyle
48928
+ }, errors === null || errors === void 0 ? void 0 : (_errors$relationshipW = errors.relationshipWithExistingConsumer) === null || _errors$relationshipW === void 0 ? void 0 : _errors$relationshipW.message))), /*#__PURE__*/React.createElement("div", {
48929
+ style: {
48930
+ display: "flex",
48931
+ flexDirection: "column",
48932
+ gap: "20px"
48933
+ }
48934
+ }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(LabelFieldPair, {
48935
+ style: {
48936
+ display: "flex",
48937
+ flexDirection: "column",
48938
+ alignItems: "flex-start",
48939
+ gap: "4px"
48940
+ }
48941
+ }, /*#__PURE__*/React.createElement(CardLabel, {
48942
+ style: {
48943
+ margin: 0,
48944
+ fontWeight: "bold"
48945
+ }
48946
+ }, "REASON FOR NAME CHANGE*"), /*#__PURE__*/React.createElement("div", {
48947
+ className: "field",
48948
+ style: {
48949
+ width: "100%"
48950
+ }
48951
+ }, /*#__PURE__*/React.createElement(Controller, {
48952
+ control: control,
48953
+ name: "reasonForNameChange",
48954
+ rules: {
48955
+ required: "Required field"
48956
+ },
48957
+ render: props => /*#__PURE__*/React.createElement(Dropdown, {
48958
+ selected: props.value,
48959
+ option: reasonOptions,
48960
+ select: e => {
48961
+ props.onChange(e);
48962
+ },
48963
+ optionKey: "i18nKey",
48964
+ t: t,
48965
+ placeholder: "Select reason"
48966
+ })
48967
+ }))), (errors === null || errors === void 0 ? void 0 : errors.reasonForNameChange) && /*#__PURE__*/React.createElement(CardLabelError, {
48968
+ style: errorStyle
48969
+ }, errors === null || errors === void 0 ? void 0 : (_errors$reasonForName = errors.reasonForNameChange) === null || _errors$reasonForName === void 0 ? void 0 : _errors$reasonForName.message)), /*#__PURE__*/React.createElement("div", {
48970
+ style: {
48971
+ marginTop: "10px",
48972
+ padding: "20px",
48973
+ border: "1px dashed #ccc",
48974
+ borderRadius: "8px",
48975
+ backgroundColor: "#fafafa"
48976
+ }
48977
+ }, /*#__PURE__*/React.createElement(LabelFieldPair, {
48978
+ style: {
48979
+ display: "flex",
48980
+ flexDirection: "column",
48981
+ alignItems: "flex-start",
48982
+ gap: "4px"
48983
+ }
48984
+ }, /*#__PURE__*/React.createElement(CardLabel, {
48985
+ style: {
48986
+ margin: 0,
48987
+ fontWeight: "bold"
48988
+ }
48989
+ }, "UPLOAD REGISTERED SALE DEED*"), /*#__PURE__*/React.createElement("p", {
48990
+ style: {
48991
+ color: "#666",
48992
+ fontSize: "12px",
48993
+ marginBottom: "15px",
48994
+ marginTop: "5px"
48995
+ }
48996
+ }, "Submit a clear scan of the stamp duty Registered Sale Deed."), /*#__PURE__*/React.createElement("div", {
48997
+ className: "field",
48998
+ style: {
48999
+ width: "100%"
49000
+ }
49001
+ }, /*#__PURE__*/React.createElement(UploadFile, {
49002
+ id: "sale-deed-upload",
49003
+ onUpload: e => {
49004
+ setFile(e.target.files[0]);
49005
+ },
49006
+ onDelete: () => {
49007
+ setUploadedFile(null);
49008
+ setFile(null);
49009
+ },
49010
+ message: uploadedFile ? "1 File Uploaded" : "Click to upload document",
49011
+ accept: "image/*, .pdf, .png, .jpeg, .jpg",
49012
+ uploadedFiles: uploadedFile && !file ? [["Document", {
49013
+ fileStoreId: uploadedFile
49014
+ }]] : undefined,
49015
+ removeTargetedFile: () => {
49016
+ setUploadedFile(null);
49017
+ setFile(null);
49018
+ }
49019
+ }))), isUploading && /*#__PURE__*/React.createElement("span", {
49020
+ style: {
49021
+ color: "#00497e",
49022
+ fontWeight: "bold",
49023
+ fontSize: "12px"
49024
+ }
49025
+ }, "Uploading..."))));
49026
+ };
49027
+
48584
49028
  const MutationApplication = () => {
48585
- var _state, _details, _details2, _details2$application;
49029
+ var _state, _details, _details2, _details2$application, _applicationDetails$a, _applicationDetails$a2, _applicationDetails$a3, _applicationDetails$a4, _applicationDetails$a5, _applicationDetails$a6, _applicationDetails$a7;
48586
49030
  const _useTranslation = useTranslation(),
48587
49031
  t = _useTranslation.t;
48588
49032
  let _useLocation = useLocation(),
@@ -48614,15 +49058,14 @@ const MutationApplication = () => {
48614
49058
  isEnableLoader = _useState7[0],
48615
49059
  setIsEnableLoader = _useState7[1];
48616
49060
  let tenantId = Digit.ULBService.getCurrentTenantId();
49061
+ const applicationNumber = filters === null || filters === void 0 ? void 0 : filters.applicationNumber;
48617
49062
  const serviceType = filters === null || filters === void 0 ? void 0 : filters.service;
48618
49063
  const stateId = Digit.ULBService.getStateId();
48619
49064
  let _Digit$Hooks$ws$useWS = Digit.Hooks.ws.useWSConfigMDMS.WSCreateConfig(stateId, {}),
48620
49065
  newConfig = _Digit$Hooks$ws$useWS.data,
48621
49066
  isConfigLoading = _Digit$Hooks$ws$useWS.isLoading;
48622
49067
  let details = cloneDeep_1((_state = state) === null || _state === void 0 ? void 0 : _state.data);
48623
- let _Digit$Hooks$ws$useWS2 = Digit.Hooks.ws.useWSDetailsPage(t, tenantId, (_details = details) === null || _details === void 0 ? void 0 : _details.applicationNo, (_details2 = details) === null || _details2 === void 0 ? void 0 : (_details2$application = _details2.applicationData) === null || _details2$application === void 0 ? void 0 : _details2$application.serviceType, {
48624
- privacy: Digit.Utils.getPrivacyObject()
48625
- }),
49068
+ let _Digit$Hooks$ws$useWS2 = Digit.Hooks.ws.useWSDetailsPage(t, tenantId, ((_details = details) === null || _details === void 0 ? void 0 : _details.applicationNo) || applicationNumber, (serviceType === null || serviceType === void 0 ? void 0 : serviceType.toUpperCase()) || ((_details2 = details) === null || _details2 === void 0 ? void 0 : (_details2$application = _details2.applicationData) === null || _details2$application === void 0 ? void 0 : _details2$application.serviceType)),
48626
49069
  applicationDetails = _Digit$Hooks$ws$useWS2.data;
48627
49070
  details = applicationDetails;
48628
49071
  const _useState8 = useState(new URLSearchParams(useLocation().search).get("propertyId")),
@@ -48642,13 +49085,12 @@ const MutationApplication = () => {
48642
49085
  propertyIds: propertyId
48643
49086
  },
48644
49087
  tenantId: tenantId,
48645
- enabled: propertyId && propertyId != "" ? true : false,
48646
- privacy: Digit.Utils.getPrivacyObject()
49088
+ enabled: propertyId && propertyId != "" ? true : false
48647
49089
  }),
48648
49090
  propertyDetails = _Digit$Hooks$pt$usePr.data;
48649
49091
  useEffect(() => {
48650
49092
  if (!isConfigLoading && newConfig && Array.isArray(newConfig)) {
48651
- const config = newConfig.find(conf => conf.hideInCitizen && conf.isModify);
49093
+ const config = cloneDeep_1(newConfig.find(conf => conf.hideInCitizen && conf.isModify));
48652
49094
  if (config) {
48653
49095
  var _config$body;
48654
49096
  config.head = "WS_WATER_AND_SEWERAGE_MUTATION_CONNECTION_LABEL";
@@ -48657,7 +49099,21 @@ const MutationApplication = () => {
48657
49099
  if (data !== null && data !== void 0 && data.isModifyConnection) bodyDetails.push(data);
48658
49100
  });
48659
49101
  bodyDetails.forEach(bdyData => {
48660
- if ((bdyData === null || bdyData === void 0 ? void 0 : bdyData.head) == "WS_COMMON_PROPERTY_DETAILS") bdyData.head = "";
49102
+ if ((bdyData === null || bdyData === void 0 ? void 0 : bdyData.head) === "WS_COMMON_PROPERTY_DETAILS") {
49103
+ bdyData.head = "";
49104
+ bdyData.className = "mutation-disabled-section";
49105
+ } else if ((bdyData === null || bdyData === void 0 ? void 0 : bdyData.head) === "WS_COMMON_CONNECTION_HOLDER_DETAILS_HEADER") {
49106
+ bdyData.head = "Specify ownership updates and transfer reason:";
49107
+ bdyData.body = [{
49108
+ type: "component",
49109
+ key: "MutationApplicantDetails",
49110
+ component: WSMutationApplicantDetails,
49111
+ withoutLabel: true
49112
+ }];
49113
+ } else {
49114
+ bdyData.head = "";
49115
+ bdyData.className = "mutation-hidden-section";
49116
+ }
48661
49117
  });
48662
49118
  config.body = bodyDetails;
48663
49119
  setConfig(config);
@@ -48673,9 +49129,10 @@ const MutationApplication = () => {
48673
49129
  const IsDetailsExists = sessionStorage.getItem("IsDetailsExists") ? JSON.parse(sessionStorage.getItem("IsDetailsExists")) : false;
48674
49130
  const _temp = function (_details3, _details3$application) {
48675
49131
  if ((_details3 = details) !== null && _details3 !== void 0 && (_details3$application = _details3.applicationData) !== null && _details3$application !== void 0 && _details3$application.id) {
48676
- return Promise.resolve(convertApplicationData(details, serviceType, true, undefined, t)).then(function (convertAppData) {
48677
- setSessionFormData(_extends({}, sessionFormData, convertAppData));
48678
- setAppData(_extends({}, convertAppData));
49132
+ var _details4, _details4$application;
49133
+ return Promise.resolve(convertApplicationData(details, (serviceType === null || serviceType === void 0 ? void 0 : serviceType.toUpperCase()) || ((_details4 = details) === null || _details4 === void 0 ? void 0 : (_details4$application = _details4.applicationData) === null || _details4$application === void 0 ? void 0 : _details4$application.serviceType), true, undefined, t)).then(function (convertAppData) {
49134
+ setSessionFormData(prev => _extends({}, prev, convertAppData));
49135
+ setAppData(prev => _extends({}, prev, convertAppData));
48679
49136
  sessionStorage.setItem("IsDetailsExists", JSON.stringify(true));
48680
49137
  });
48681
49138
  }
@@ -48687,11 +49144,16 @@ const MutationApplication = () => {
48687
49144
  }, [details, applicationDetails]);
48688
49145
  useEffect(() => {
48689
49146
  var _propertyDetails$Prop;
48690
- setSessionFormData(_extends({}, sessionFormData, {
48691
- cpt: {
48692
- details: propertyDetails === null || propertyDetails === void 0 ? void 0 : (_propertyDetails$Prop = propertyDetails.Properties) === null || _propertyDetails$Prop === void 0 ? void 0 : _propertyDetails$Prop[0]
48693
- }
48694
- }));
49147
+ if (propertyDetails !== null && propertyDetails !== void 0 && (_propertyDetails$Prop = propertyDetails.Properties) !== null && _propertyDetails$Prop !== void 0 && _propertyDetails$Prop[0]) {
49148
+ setSessionFormData(prev => {
49149
+ var _propertyDetails$Prop2;
49150
+ return _extends({}, prev, {
49151
+ cpt: {
49152
+ details: propertyDetails === null || propertyDetails === void 0 ? void 0 : (_propertyDetails$Prop2 = propertyDetails.Properties) === null || _propertyDetails$Prop2 === void 0 ? void 0 : _propertyDetails$Prop2[0]
49153
+ }
49154
+ });
49155
+ });
49156
+ }
48695
49157
  }, [propertyDetails]);
48696
49158
  useEffect(() => {
48697
49159
  var _sessionFormData$Conn, _sessionFormData$Conn2;
@@ -48714,17 +49176,19 @@ const MutationApplication = () => {
48714
49176
  const _Digit$Hooks$ws$useWS4 = Digit.Hooks.ws.useWSApplicationActions("SEWERAGE");
48715
49177
  const onFormValueChange = (setValue, formData, formState) => {
48716
49178
  var _formData$cpt, _formData$cpt$details;
48717
- if (!lodash.isEqual(sessionFormData, formData)) {
48718
- setSessionFormData(_extends({}, sessionFormData, formData));
49179
+ const updatedData = _extends({}, sessionFormData, formData);
49180
+ if (!lodash.isEqual(sessionFormData, updatedData)) {
49181
+ setSessionFormData(updatedData);
48719
49182
  }
48720
49183
  if (Object.keys(formState.errors).length > 0 && Object.keys(formState.errors).length == 1 && formState.errors["owners"] && Object.values(formState.errors["owners"].type).filter(ob => ob.type === "required").length == 0 && !(formData !== null && formData !== void 0 && (_formData$cpt = formData.cpt) !== null && _formData$cpt !== void 0 && (_formData$cpt$details = _formData$cpt.details) !== null && _formData$cpt$details !== void 0 && _formData$cpt$details.propertyId)) setSubmitValve(true);else setSubmitValve(!Object.keys(formState.errors).length);
48721
49184
  };
48722
49185
  const onSubmit = function (data) {
48723
49186
  try {
48724
- var _data$cpt, _propertyDetails$Prop2;
48725
- if (!(data !== null && data !== void 0 && (_data$cpt = data.cpt) !== null && _data$cpt !== void 0 && _data$cpt.id) && !(propertyDetails !== null && propertyDetails !== void 0 && (_propertyDetails$Prop2 = propertyDetails.Properties) !== null && _propertyDetails$Prop2 !== void 0 && _propertyDetails$Prop2[0])) {
48726
- var _data$cpt2;
48727
- if (!(data !== null && data !== void 0 && (_data$cpt2 = data.cpt) !== null && _data$cpt2 !== void 0 && _data$cpt2.details) || !propertyDetails) {
49187
+ var _finalData$cpt, _propertyDetails$Prop3;
49188
+ let finalData = _extends({}, sessionFormData, data);
49189
+ if (!(finalData !== null && finalData !== void 0 && (_finalData$cpt = finalData.cpt) !== null && _finalData$cpt !== void 0 && _finalData$cpt.id) && !(propertyDetails !== null && propertyDetails !== void 0 && (_propertyDetails$Prop3 = propertyDetails.Properties) !== null && _propertyDetails$Prop3 !== void 0 && _propertyDetails$Prop3[0])) {
49190
+ var _finalData$cpt2;
49191
+ if (!(finalData !== null && finalData !== void 0 && (_finalData$cpt2 = finalData.cpt) !== null && _finalData$cpt2 !== void 0 && _finalData$cpt2.details) || !propertyDetails) {
48728
49192
  setShowToast({
48729
49193
  key: "error",
48730
49194
  message: "ERR_INVALID_PROPERTY_ID"
@@ -48742,15 +49206,26 @@ const MutationApplication = () => {
48742
49206
  setShowToast(false);
48743
49207
  }, 3000);
48744
49208
  } else {
48745
- var _data$cpt3;
48746
- if (!(data !== null && data !== void 0 && (_data$cpt3 = data.cpt) !== null && _data$cpt3 !== void 0 && _data$cpt3.details)) {
48747
- var _propertyDetails$Prop3;
48748
- data.cpt = {
48749
- details: propertyDetails === null || propertyDetails === void 0 ? void 0 : (_propertyDetails$Prop3 = propertyDetails.Properties) === null || _propertyDetails$Prop3 === void 0 ? void 0 : _propertyDetails$Prop3[0]
49209
+ var _finalData$cpt3;
49210
+ if (!(finalData !== null && finalData !== void 0 && (_finalData$cpt3 = finalData.cpt) !== null && _finalData$cpt3 !== void 0 && _finalData$cpt3.details)) {
49211
+ var _propertyDetails$Prop4;
49212
+ finalData.cpt = {
49213
+ details: propertyDetails === null || propertyDetails === void 0 ? void 0 : (_propertyDetails$Prop4 = propertyDetails.Properties) === null || _propertyDetails$Prop4 === void 0 ? void 0 : _propertyDetails$Prop4[0]
48750
49214
  };
48751
49215
  }
49216
+ if (finalData !== null && finalData !== void 0 && finalData.MutationApplicantDetails) {
49217
+ var _finalData$Connection;
49218
+ const mutDetails = finalData.MutationApplicantDetails;
49219
+ const existingHolder = (finalData === null || finalData === void 0 ? void 0 : (_finalData$Connection = finalData.ConnectionHolderDetails) === null || _finalData$Connection === void 0 ? void 0 : _finalData$Connection[0]) || {};
49220
+ finalData.ConnectionHolderDetails = [_extends({}, existingHolder, {
49221
+ name: mutDetails.proposedNewConsumerName || existingHolder.name,
49222
+ mobileNumber: mutDetails.newOwnerMobileNumber || existingHolder.mobileNumber,
49223
+ emailId: mutDetails.newOwnerEmailAddress || existingHolder.emailId,
49224
+ sameAsOwnerDetails: false
49225
+ })];
49226
+ }
48752
49227
  const details = sessionStorage.getItem("WS_EDIT_APPLICATION_DETAILS") ? JSON.parse(sessionStorage.getItem("WS_EDIT_APPLICATION_DETAILS")) : {};
48753
- return Promise.resolve(convertModifyApplicationDetails(data, details, "APPLY_MUTATION")).then(function (convertAppData) {
49228
+ return Promise.resolve(convertModifyApplicationDetails(finalData, details, "APPLY_MUTATION")).then(function (convertAppData) {
48754
49229
  function _temp6() {
48755
49230
  const _temp4 = function () {
48756
49231
  if (serviceType !== "WATER") {
@@ -48785,6 +49260,27 @@ const MutationApplication = () => {
48785
49260
  }();
48786
49261
  if (_temp4 && _temp4.then) return _temp4.then(function () {});
48787
49262
  }
49263
+ if (finalData !== null && finalData !== void 0 && finalData.MutationApplicantDetails) {
49264
+ var _mutDetails$reasonFor;
49265
+ const mutDetails = finalData.MutationApplicantDetails;
49266
+ if (!convertAppData.additionalDetails) convertAppData.additionalDetails = {};
49267
+ if (mutDetails.reasonForNameChange) convertAppData.additionalDetails.reasonForNameChange = ((_mutDetails$reasonFor = mutDetails.reasonForNameChange) === null || _mutDetails$reasonFor === void 0 ? void 0 : _mutDetails$reasonFor.code) || mutDetails.reasonForNameChange;
49268
+ if (mutDetails.relationshipWithExistingConsumer) {
49269
+ var _mutDetails$relations;
49270
+ const relationCode = ((_mutDetails$relations = mutDetails.relationshipWithExistingConsumer) === null || _mutDetails$relations === void 0 ? void 0 : _mutDetails$relations.code) || mutDetails.relationshipWithExistingConsumer;
49271
+ convertAppData.additionalDetails.relationshipWithExistingConsumer = relationCode;
49272
+ convertAppData.additionalDetails.isBloodRelation = relationCode !== "OTHER";
49273
+ }
49274
+ if (mutDetails.saleDeedDocumentId) {
49275
+ convertAppData.additionalDetails.saleDeedDocumentId = mutDetails.saleDeedDocumentId;
49276
+ if (!convertAppData.documents) convertAppData.documents = [];
49277
+ convertAppData.documents.push({
49278
+ documentType: "REGISTERED_SALE_DEED",
49279
+ fileStoreId: mutDetails.saleDeedDocumentId,
49280
+ documentUid: mutDetails.saleDeedDocumentId
49281
+ });
49282
+ }
49283
+ }
48788
49284
  convertAppData.applicationType = serviceType == "WATER" ? "MUTATION_WATER_CONNECTION" : "MUTATION_SEWERAGE_CONNECTION";
48789
49285
  const reqDetails = serviceType == "WATER" ? {
48790
49286
  WaterConnection: convertAppData,
@@ -48844,11 +49340,22 @@ const MutationApplication = () => {
48844
49340
  if (enabledLoader || isEnableLoader || isConfigLoading) {
48845
49341
  return /*#__PURE__*/React.createElement(Loader, null);
48846
49342
  }
48847
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
48848
- style: {
48849
- marginLeft: "15px"
48850
- }
48851
- }, /*#__PURE__*/React.createElement(Header, null, t(config.head))), /*#__PURE__*/React.createElement(FormComposer, {
49343
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("style", null, "\n .mutation-disabled-section { pointer-events: none; opacity: 0.8; margin-top: -24px !important; }\n .mutation-hidden-section { display: none !important; margin: 0 !important; padding: 0 !important; height: 0 !important; overflow: hidden !important; border: 0 !important; }\n .mutation-hidden-section + hr { display: none !important; margin: 0 !important; }\n .mutation-hidden-section + .break-line { display: none !important; margin: 0 !important; }\n "), /*#__PURE__*/React.createElement(Header, null, t(config.head)), /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(CardSubHeader, null, t("WS_MUTATION_DETAILS")), /*#__PURE__*/React.createElement(StatusTable, null, /*#__PURE__*/React.createElement(Row, {
49344
+ label: t("WS_MYCONNECTIONS_APPLICATION_NO"),
49345
+ text: (applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a = applicationDetails.applicationData) === null || _applicationDetails$a === void 0 ? void 0 : _applicationDetails$a.applicationNo) || "NA"
49346
+ }), /*#__PURE__*/React.createElement(Row, {
49347
+ label: t("WS_CONNECTION_CATEGORY"),
49348
+ text: (applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a2 = applicationDetails.applicationData) === null || _applicationDetails$a2 === void 0 ? void 0 : _applicationDetails$a2.connectionCategory) || "NA"
49349
+ }), /*#__PURE__*/React.createElement(Row, {
49350
+ label: t("WS_PROPERTY_ID_LABEL"),
49351
+ text: (applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a3 = applicationDetails.applicationData) === null || _applicationDetails$a3 === void 0 ? void 0 : _applicationDetails$a3.propertyId) || propertyId || "NA"
49352
+ }), /*#__PURE__*/React.createElement(Row, {
49353
+ label: t("WS_APPLICATION_ID"),
49354
+ text: (applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a4 = applicationDetails.applicationData) === null || _applicationDetails$a4 === void 0 ? void 0 : _applicationDetails$a4.id) || (applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a5 = applicationDetails.applicationData) === null || _applicationDetails$a5 === void 0 ? void 0 : _applicationDetails$a5.connectionNo) || "NA"
49355
+ }), /*#__PURE__*/React.createElement(Row, {
49356
+ label: t("WS_CONNECTION_DATE"),
49357
+ text: applicationDetails !== null && applicationDetails !== void 0 && (_applicationDetails$a6 = applicationDetails.applicationData) !== null && _applicationDetails$a6 !== void 0 && _applicationDetails$a6.connectionExecutionDate ? Digit.DateUtils.ConvertEpochToDate(applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$a7 = applicationDetails.applicationData) === null || _applicationDetails$a7 === void 0 ? void 0 : _applicationDetails$a7.connectionExecutionDate) : "NA"
49358
+ }))), /*#__PURE__*/React.createElement(FormComposer, {
48852
49359
  config: config.body,
48853
49360
  userType: "employee",
48854
49361
  onFormValueChange: onFormValueChange,
@@ -49599,7 +50106,7 @@ const ModifyApplicationDetails = () => {
49599
50106
  workflowDetails === null || workflowDetails === void 0 ? void 0 : (_workflowDetails$data29 = workflowDetails.data) === null || _workflowDetails$data29 === void 0 ? void 0 : (_workflowDetails$data30 = _workflowDetails$data29.nextActions) === null || _workflowDetails$data30 === void 0 ? void 0 : _workflowDetails$data30.forEach(action => {
49600
50107
  if ((action === null || action === void 0 ? void 0 : action.action) === "PAY") {
49601
50108
  action.redirectionUrll = {
49602
- pathname: getBusinessService(filters) + "/" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationNo) + "/" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId) + "?tenantId=" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId) + "&ISWSAPP&applicationNumber=" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationNo),
50109
+ pathname: getBusinessService(filters, applicationDetails) + "/" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationNo) + "/" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId) + "?tenantId=" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId) + "&ISWSAPP&applicationNumber=" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationNo),
49603
50110
  state: applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId
49604
50111
  };
49605
50112
  }
@@ -49607,7 +50114,7 @@ const ModifyApplicationDetails = () => {
49607
50114
  workflowDetails === null || workflowDetails === void 0 ? void 0 : (_workflowDetails$data31 = workflowDetails.data) === null || _workflowDetails$data31 === void 0 ? void 0 : (_workflowDetails$data32 = _workflowDetails$data31.actionState) === null || _workflowDetails$data32 === void 0 ? void 0 : (_workflowDetails$data33 = _workflowDetails$data32.nextActions) === null || _workflowDetails$data33 === void 0 ? void 0 : _workflowDetails$data33.forEach(action => {
49608
50115
  if ((action === null || action === void 0 ? void 0 : action.action) === "PAY") {
49609
50116
  action.redirectionUrll = {
49610
- pathname: getBusinessService(filters) + "/" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationNo) + "/" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId) + "?tenantId=" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId) + "&ISWSAPP&applicationNumber=" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationNo),
50117
+ pathname: getBusinessService(filters, applicationDetails) + "/" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationNo) + "/" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId) + "?tenantId=" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId) + "&ISWSAPP&applicationNumber=" + (applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.applicationNo),
49611
50118
  state: applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.tenantId
49612
50119
  };
49613
50120
  }