@djb25/digit-ui-module-ws 1.0.40 → 1.0.42

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.
@@ -1,7 +1,7 @@
1
1
  import React, { useState, useEffect, useRef, useMemo, Fragment as Fragment$1, useReducer, useCallback } from 'react';
2
2
  import { useTranslation } from 'react-i18next';
3
3
  import { Link, useHistory, useLocation, Switch, Route, useRouteMatch, Redirect, useParams } from 'react-router-dom';
4
- import { Loader, Card, KeyNote, SubmitBar, InfoBannerIcon, Header, Banner, CardText, ActionBar, HomeIcon, AppContainer, ModuleHeader, ArrowLeft, PrivateRoute, LayoutWrapper, PrintBtnCommon, MultiLink, LinkButton, Toast, TickMark, FormStep, CardLabel, TextInput, RadioOrSelect, CardHeader, CitizenInfoLabel, CardSubHeader, LabelFieldPair, DatePicker, CollapsibleCardPage, Dropdown, RadioButtons, UploadFile, ViewsIcon, Modal, DeleteIcon, CardLabelError, WrapUnMaskComponent, MobileNumber, CheckBox, StatusTable, Row, CardSectionHeader, InfoIcon, TextArea, SearchField, FilterFormField, RemoveableTag, MultiSelectDropdown, InboxComposer, DropIcon, WSICon, EmployeeModuleCard, SearchAction, PopUp, DetailsCard, SearchForm, CloseSvg, Table, Localities, DownloadBtnCommon, CollectionIcon, ResponseComposer, TelePhone, DisplayPhotos, CheckPoint, ConnectingCheckPoints, ActionLinks, PDFSvg, GenericFileIcon, EditIcon, Label, AddressDetails, CardSectionSubText, DownloadIcon, CardLabelDesc, VerticalTimeline, FormComposer, MultiUploadWrapper, Close as Close$e, BreakLine, AddIcon, Menu, ButtonSelector, CitizenHomeCard } from '@djb25/digit-ui-react-components';
4
+ import { Loader, Card, KeyNote, SubmitBar, InfoBannerIcon, Banner, CardText, ActionBar, HomeIcon, AppContainer, ModuleHeader, ArrowLeft, PrivateRoute, LayoutWrapper, PrintBtnCommon, MultiLink, LinkButton, Toast, TickMark, FormStep, CardLabel, TextInput, RadioOrSelect, CardHeader, CitizenInfoLabel, CardSubHeader, LabelFieldPair, DatePicker, CollapsibleCardPage, Dropdown, RadioButtons, UploadFile, ViewsIcon, Modal, DeleteIcon, CardLabelError, WrapUnMaskComponent, MobileNumber, CheckBox, StatusTable, Row, Header, CardSectionHeader, InfoIcon, TextArea, SearchField, FilterFormField, RemoveableTag, MultiSelectDropdown, InboxComposer, DropIcon, WSICon, EmployeeModuleCard, SearchAction, PopUp, DetailsCard, SearchForm, CloseSvg, Table, Localities, DownloadBtnCommon, CollectionIcon, ResponseComposer, TelePhone, DisplayPhotos, CheckPoint, ConnectingCheckPoints, ActionLinks, PDFSvg, GenericFileIcon, EditIcon, Label, AddressDetails, CardSectionSubText, DownloadIcon, CardLabelDesc, VerticalTimeline, FormComposer, MultiUploadWrapper, Close as Close$e, BreakLine, AddIcon, Menu, ButtonSelector, CitizenHomeCard } from '@djb25/digit-ui-react-components';
5
5
  import { useForm, Controller, useWatch, useFormContext } from 'react-hook-form';
6
6
  import { read, utils as utils$1 } from 'xlsx';
7
7
  import { useQueryClient } from 'react-query';
@@ -7922,7 +7922,7 @@ const WSMyApplications = () => {
7922
7922
  property: PTdata === null || PTdata === void 0 ? void 0 : (_PTdata$Properties = PTdata.Properties) === null || _PTdata$Properties === void 0 ? void 0 : _PTdata$Properties.filter(pt => (pt === null || pt === void 0 ? void 0 : pt.propertyId) === (ob === null || ob === void 0 ? void 0 : ob.propertyId))[0]
7923
7923
  });
7924
7924
  });
7925
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Header, null, t("CS_HOME_MY_APPLICATIONS") + " " + (applicationsList ? "(" + applicationsList.length + ")" : "")), /*#__PURE__*/React.createElement(WSInfoLabel, {
7925
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(WSInfoLabel, {
7926
7926
  t: t
7927
7927
  }), /*#__PURE__*/React.createElement("div", null, ((_applicationsList = applicationsList) === null || _applicationsList === void 0 ? void 0 : _applicationsList.length) > 0 && applicationsList.sort((a, b) => {
7928
7928
  var _b$auditDetails, _a$auditDetails;
@@ -8509,7 +8509,7 @@ const WSResponse = props => {
8509
8509
  };
8510
8510
 
8511
8511
  const App = _ref => {
8512
- var _Digit, _Digit$ComponentRegis, _Digit2, _Digit2$ComponentRegi, _Digit3, _Digit3$ComponentRegi, _Digit4, _Digit4$ComponentRegi, _Digit5, _Digit5$ComponentRegi, _Digit6, _Digit6$ComponentRegi, _Digit7, _Digit7$ComponentRegi, _Digit8, _Digit8$ComponentRegi, _Digit9, _Digit9$ComponentRegi, _Digit0, _Digit0$ComponentRegi, _Digit1, _Digit1$ComponentRegi, _Digit10, _Digit10$ComponentReg, _Digit11, _Digit11$ComponentReg, _Digit12, _Digit12$ComponentReg, _Digit13, _Digit13$ComponentReg, _Digit14, _Digit14$ComponentReg, _Digit15, _Digit15$ComponentReg, _Digit16, _Digit16$ComponentReg;
8512
+ var _Digit, _Digit$ComponentRegis, _Digit2, _Digit2$ComponentRegi, _user$info, _user$info$userName, _user$info2, _user$info3, _wsData$WaterConnecti, _wsData$WaterConnecti2, _swData$SewerageConne, _swData$SewerageConne2, _Digit3, _Digit3$ComponentRegi, _Digit4, _Digit4$ComponentRegi, _Digit5, _Digit5$ComponentRegi, _Digit6, _Digit6$ComponentRegi, _Digit7, _Digit7$ComponentRegi, _Digit8, _Digit8$ComponentRegi, _Digit9, _Digit9$ComponentRegi, _Digit0, _Digit0$ComponentRegi, _Digit1, _Digit1$ComponentRegi, _Digit10, _Digit10$ComponentReg, _Digit11, _Digit11$ComponentReg, _Digit12, _Digit12$ComponentReg, _Digit13, _Digit13$ComponentReg, _Digit14, _Digit14$ComponentReg, _Digit15, _Digit15$ComponentReg, _Digit16, _Digit16$ComponentReg;
8513
8513
  let path = _ref.path;
8514
8514
  const location = useLocation();
8515
8515
  const _useTranslation = useTranslation(),
@@ -8519,6 +8519,40 @@ const App = _ref => {
8519
8519
  let isAcknowledgement = window.location.href.includes("/acknowledgement") || window.location.href.includes("/disconnect-acknowledge");
8520
8520
  const WSDisconnectAcknowledgement = (_Digit = Digit) === null || _Digit === void 0 ? void 0 : (_Digit$ComponentRegis = _Digit.ComponentRegistryService) === null || _Digit$ComponentRegis === void 0 ? void 0 : _Digit$ComponentRegis.getComponent("WSDisconnectAcknowledgement");
8521
8521
  const WSRestorationAcknowledgement = (_Digit2 = Digit) === null || _Digit2 === void 0 ? void 0 : (_Digit2$ComponentRegi = _Digit2.ComponentRegistryService) === null || _Digit2$ComponentRegi === void 0 ? void 0 : _Digit2$ComponentRegi.getComponent("WSRestorationAcknowledgement");
8522
+ const user = window.Digit.UserService.getUser();
8523
+ const tenantId = "dl.djb";
8524
+ const userMobileNumber = user !== null && user !== void 0 && (_user$info = user.info) !== null && _user$info !== void 0 && (_user$info$userName = _user$info.userName) !== null && _user$info$userName !== void 0 && _user$info$userName.match(/^[0-9]{10}$/) ? user === null || user === void 0 ? void 0 : (_user$info2 = user.info) === null || _user$info2 === void 0 ? void 0 : _user$info2.userName : user === null || user === void 0 ? void 0 : (_user$info3 = user.info) === null || _user$info3 === void 0 ? void 0 : _user$info3.mobileNumber;
8525
+ const isMyApps = location.pathname.includes("/my-applications");
8526
+ const _window$Digit$Hooks$w = window.Digit.Hooks.ws.useMyApplicationSearch({
8527
+ filters: {
8528
+ tenantId,
8529
+ mobileNumber: userMobileNumber
8530
+ }
8531
+ }, {
8532
+ filters: {
8533
+ tenantId,
8534
+ mobileNumber: userMobileNumber
8535
+ },
8536
+ enabled: isMyApps
8537
+ }),
8538
+ wsData = _window$Digit$Hooks$w.data;
8539
+ const _window$Digit$Hooks$w2 = window.Digit.Hooks.ws.useMyApplicationSearch({
8540
+ filters: {
8541
+ tenantId,
8542
+ mobileNumber: userMobileNumber
8543
+ },
8544
+ BusinessService: "SW"
8545
+ }, {
8546
+ filters: {
8547
+ tenantId,
8548
+ mobileNumber: userMobileNumber
8549
+ },
8550
+ enabled: isMyApps
8551
+ }),
8552
+ swData = _window$Digit$Hooks$w2.data;
8553
+ let wsCount = (wsData === null || wsData === void 0 ? void 0 : (_wsData$WaterConnecti = wsData.WaterConnection) === null || _wsData$WaterConnecti === void 0 ? void 0 : (_wsData$WaterConnecti2 = _wsData$WaterConnecti.filter(ob => (ob === null || ob === void 0 ? void 0 : ob.applicationType) !== "MODIFY_WATER_CONNECTION")) === null || _wsData$WaterConnecti2 === void 0 ? void 0 : _wsData$WaterConnecti2.length) || 0;
8554
+ let swCount = (swData === null || swData === void 0 ? void 0 : (_swData$SewerageConne = swData.SewerageConnections) === null || _swData$SewerageConne === void 0 ? void 0 : (_swData$SewerageConne2 = _swData$SewerageConne.filter(ob => (ob === null || ob === void 0 ? void 0 : ob.applicationType) !== "MODIFY_SEWERAGE_CONNECTION")) === null || _swData$SewerageConne2 === void 0 ? void 0 : _swData$SewerageConne2.length) || 0;
8555
+ let totalAppsCount = wsCount + swCount;
8522
8556
  const crumbs = [{
8523
8557
  path: "/digit-ui/employee",
8524
8558
  show: true,
@@ -8536,7 +8570,7 @@ const App = _ref => {
8536
8570
  show: location.pathname.includes("/search")
8537
8571
  }, {
8538
8572
  path: "/digit-ui/citizen/ws/my-applications",
8539
- label: t("CS_HOME_MY_APPLICATIONS"),
8573
+ label: t("CS_HOME_MY_APPLICATIONS") + " " + (totalAppsCount ? "(" + totalAppsCount + ")" : ""),
8540
8574
  show: location.pathname.includes("/my-applications")
8541
8575
  }, {
8542
8576
  path: "/digit-ui/citizen/ws/my-connections",
@@ -8554,6 +8588,10 @@ const App = _ref => {
8554
8588
  path: "/digit-ui/citizen/ws/old-application",
8555
8589
  label: t("WS_COMMON_APPL_NEW_CONNECTION"),
8556
8590
  show: location.pathname.includes("/old-application")
8591
+ }, {
8592
+ path: location.pathname,
8593
+ label: t("WS_APPLICATION_DETAILS_HEADER"),
8594
+ show: location.pathname.includes("/connection/application")
8557
8595
  }];
8558
8596
  const getDynamicBreadcrumbs = () => {
8559
8597
  return crumbs.filter(crumb => crumb.show);
@@ -10253,36 +10291,29 @@ const WSDocsRequired = _ref => {
10253
10291
  }))));
10254
10292
  };
10255
10293
 
10256
- // A type of promise-like that resolves synchronously and supports only one observer
10257
-
10258
- const _iteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator"))) : "@@iterator";
10259
-
10260
- const _asyncIteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator"))) : "@@asyncIterator";
10261
-
10262
- // Asynchronously call a function and send errors to recovery continuation
10294
+ const _iteratorSymbol = /*#__PURE__*/typeof Symbol !== "undefined" ? Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator")) : "@@iterator";
10295
+ const _asyncIteratorSymbol = /*#__PURE__*/typeof Symbol !== "undefined" ? Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator")) : "@@asyncIterator";
10263
10296
  function _catch(body, recover) {
10264
- try {
10265
- var result = body();
10266
- } catch(e) {
10267
- return recover(e);
10268
- }
10269
- if (result && result.then) {
10270
- return result.then(void 0, recover);
10271
- }
10272
- return result;
10297
+ try {
10298
+ var result = body();
10299
+ } catch (e) {
10300
+ return recover(e);
10301
+ }
10302
+ if (result && result.then) {
10303
+ return result.then(void 0, recover);
10304
+ }
10305
+ return result;
10273
10306
  }
10274
-
10275
- // Asynchronously await a promise and pass the result to a finally continuation
10276
10307
  function _finallyRethrows(body, finalizer) {
10277
- try {
10278
- var result = body();
10279
- } catch (e) {
10280
- return finalizer(true, e);
10281
- }
10282
- if (result && result.then) {
10283
- return result.then(finalizer.bind(null, false), finalizer.bind(null, true));
10284
- }
10285
- return finalizer(false, result);
10308
+ try {
10309
+ var result = body();
10310
+ } catch (e) {
10311
+ return finalizer(true, e);
10312
+ }
10313
+ if (result && result.then) {
10314
+ return result.then(finalizer.bind(null, false), finalizer.bind(null, true));
10315
+ }
10316
+ return finalizer(false, result);
10286
10317
  }
10287
10318
 
10288
10319
  const WSSewerageConnectionDetails = _ref => {
@@ -20724,16 +20755,6 @@ const SearchFormFieldsComponents = _ref => {
20724
20755
  title: t("ERR_INVALID_APPLICATION_NO")
20725
20756
  }))), /*#__PURE__*/React.createElement(SearchField, {
20726
20757
  className: "wns-search-field"
20727
- }, /*#__PURE__*/React.createElement("label", null, t("WS_MYCONNECTIONS_CONSUMER_NO")), /*#__PURE__*/React.createElement(TextInput, _extends({
20728
- name: "consumerNo",
20729
- inputRef: registerRef({})
20730
- }, validation = {
20731
- isRequired: false,
20732
- pattern: "^[a-zA-Z0-9/-]*$",
20733
- type: "text",
20734
- title: t("ERR_INVALID_CONSUMER_NO")
20735
- }))), /*#__PURE__*/React.createElement(SearchField, {
20736
- className: "wns-search-field"
20737
20758
  }, /*#__PURE__*/React.createElement("label", null, t("CORE_COMMON_MOBILE_NUMBER")), /*#__PURE__*/React.createElement(MobileNumber, _extends({
20738
20759
  name: "mobileNumber",
20739
20760
  type: "number",
@@ -20949,10 +20970,6 @@ const useInboxTableConfig = _ref => {
20949
20970
  className: "link"
20950
20971
  }, row.original["applicationNo"])));
20951
20972
  }
20952
- }, {
20953
- Header: t("WS_COMMON_TABLE_COL_CONSUMER_NO_LABEL"),
20954
- accessor: "connectionNo",
20955
- disableSortBy: true
20956
20973
  }, {
20957
20974
  Header: t("WS_COMMON_TABLE_COL_OWN_NAME_LABEL"),
20958
20975
  accessor: "owner",
@@ -21137,7 +21154,7 @@ const WSInbox = _ref => {
21137
21154
  sortOrder: "DESC"
21138
21155
  };
21139
21156
  sessionStorage.removeItem("Digit.BILL.INBOX");
21140
- sessionStorage.removeItem("Digit.SW.INBOX");
21157
+ sessionStorage.removeItem("Digit.BILL.SW.INBOX");
21141
21158
  function formReducer(state, payload) {
21142
21159
  if (checkPathName) {
21143
21160
  switch (payload.action) {
@@ -21189,7 +21206,7 @@ const WSInbox = _ref => {
21189
21206
  }
21190
21207
  }
21191
21208
  }
21192
- const InboxObjectInSessionStorage = Digit.SessionStorage.get("BILL.INBOX");
21209
+ const InboxObjectInSessionStorage = checkPathName ? Digit.SessionStorage.get("BILL.INBOX") : Digit.SessionStorage.get("BILL.SW.INBOX");
21193
21210
  const onSearchFormReset = setSearchFormValue => {
21194
21211
  setSearchFormValue("mobileNumber", null);
21195
21212
  setSearchFormValue("applicationNumber", null);
@@ -23399,9 +23416,14 @@ const WSCard = () => {
23399
23416
  }],
23400
23417
  links: [{
23401
23418
  count: isWSInboxLoading ? "-" : wsData === null || wsData === void 0 ? void 0 : wsData.totalCount,
23402
- label: t("WS_INBOX_HEADER"),
23419
+ label: t("WATER_INBOX"),
23403
23420
  link: "/digit-ui/employee/ws/water/inbox",
23404
23421
  roles: ["WS_CEMP", "WS_APPROVER", "WS_FIELD_INSPECTOR", "WS_DOC_VERIFIER", "WS_CLERK"]
23422
+ }, {
23423
+ count: isWSInboxLoading ? "-" : wsData === null || wsData === void 0 ? void 0 : wsData.totalCount,
23424
+ label: t("SEWERAGE_INBOX"),
23425
+ link: "/digit-ui/employee/ws/sewerage/inbox",
23426
+ roles: ["SW_CEMP", "SW_APPROVER", "SW_FIELD_INSPECTOR", "SW_DOC_VERIFIER", "SW_CLERK"]
23405
23427
  }, ...links, {
23406
23428
  label: t("WS_WATER_CONNECTION_SEARCH_LABEL"),
23407
23429
  link: "/digit-ui/employee/ws/water/search-connection",
@@ -25185,385 +25207,394 @@ const config = [{
25185
25207
  }]
25186
25208
  }];
25187
25209
 
25188
- /** @license React v16.13.1
25189
- * react-is.production.min.js
25190
- *
25191
- * Copyright (c) Facebook, Inc. and its affiliates.
25192
- *
25193
- * This source code is licensed under the MIT license found in the
25194
- * LICENSE file in the root directory of this source tree.
25195
- */
25196
- var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
25197
- Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
25198
- function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}var AsyncMode=l;var ConcurrentMode=m;var ContextConsumer=k;var ContextProvider=h;var Element=c;var ForwardRef=n;var Fragment=e;var Lazy=t;var Memo=r;var Portal=d;
25199
- var Profiler=g;var StrictMode=f;var Suspense=p;var isAsyncMode=function(a){return A(a)||z(a)===l};var isConcurrentMode=A;var isContextConsumer=function(a){return z(a)===k};var isContextProvider=function(a){return z(a)===h};var isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};var isForwardRef=function(a){return z(a)===n};var isFragment=function(a){return z(a)===e};var isLazy=function(a){return z(a)===t};
25200
- var isMemo=function(a){return z(a)===r};var isPortal=function(a){return z(a)===d};var isProfiler=function(a){return z(a)===g};var isStrictMode=function(a){return z(a)===f};var isSuspense=function(a){return z(a)===p};
25201
- var isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};var typeOf=z;
25202
-
25203
- var reactIs_production_min = {
25204
- AsyncMode: AsyncMode,
25205
- ConcurrentMode: ConcurrentMode,
25206
- ContextConsumer: ContextConsumer,
25207
- ContextProvider: ContextProvider,
25208
- Element: Element,
25209
- ForwardRef: ForwardRef,
25210
- Fragment: Fragment,
25211
- Lazy: Lazy,
25212
- Memo: Memo,
25213
- Portal: Portal,
25214
- Profiler: Profiler,
25215
- StrictMode: StrictMode,
25216
- Suspense: Suspense,
25217
- isAsyncMode: isAsyncMode,
25218
- isConcurrentMode: isConcurrentMode,
25219
- isContextConsumer: isContextConsumer,
25220
- isContextProvider: isContextProvider,
25221
- isElement: isElement,
25222
- isForwardRef: isForwardRef,
25223
- isFragment: isFragment,
25224
- isLazy: isLazy,
25225
- isMemo: isMemo,
25226
- isPortal: isPortal,
25227
- isProfiler: isProfiler,
25228
- isStrictMode: isStrictMode,
25229
- isSuspense: isSuspense,
25230
- isValidElementType: isValidElementType,
25231
- typeOf: typeOf
25232
- };
25233
-
25234
- var reactIs_development = createCommonjsModule(function (module, exports) {
25235
-
25236
-
25237
-
25238
- if (process.env.NODE_ENV !== "production") {
25239
- (function() {
25240
-
25241
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
25242
- // nor polyfill, then a plain number is used for performance.
25243
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
25244
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
25245
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
25246
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
25247
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
25248
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
25249
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
25250
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
25251
- // (unstable) APIs that have been removed. Can we remove the symbols?
25252
-
25253
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
25254
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
25255
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
25256
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
25257
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
25258
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
25259
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
25260
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
25261
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
25262
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
25263
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
25264
-
25265
- function isValidElementType(type) {
25266
- return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
25267
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
25268
- }
25269
-
25270
- function typeOf(object) {
25271
- if (typeof object === 'object' && object !== null) {
25272
- var $$typeof = object.$$typeof;
25273
-
25274
- switch ($$typeof) {
25275
- case REACT_ELEMENT_TYPE:
25276
- var type = object.type;
25277
-
25278
- switch (type) {
25279
- case REACT_ASYNC_MODE_TYPE:
25280
- case REACT_CONCURRENT_MODE_TYPE:
25281
- case REACT_FRAGMENT_TYPE:
25282
- case REACT_PROFILER_TYPE:
25283
- case REACT_STRICT_MODE_TYPE:
25284
- case REACT_SUSPENSE_TYPE:
25285
- return type;
25286
-
25210
+ var b = "function" === typeof Symbol && Symbol.for,
25211
+ c = b ? Symbol.for("react.element") : 60103,
25212
+ d = b ? Symbol.for("react.portal") : 60106,
25213
+ e = b ? Symbol.for("react.fragment") : 60107,
25214
+ f = b ? Symbol.for("react.strict_mode") : 60108,
25215
+ g = b ? Symbol.for("react.profiler") : 60114,
25216
+ h = b ? Symbol.for("react.provider") : 60109,
25217
+ k = b ? Symbol.for("react.context") : 60110,
25218
+ l = b ? Symbol.for("react.async_mode") : 60111,
25219
+ m = b ? Symbol.for("react.concurrent_mode") : 60111,
25220
+ n = b ? Symbol.for("react.forward_ref") : 60112,
25221
+ p = b ? Symbol.for("react.suspense") : 60113,
25222
+ q = b ? Symbol.for("react.suspense_list") : 60120,
25223
+ r = b ? Symbol.for("react.memo") : 60115,
25224
+ t = b ? Symbol.for("react.lazy") : 60116,
25225
+ v = b ? Symbol.for("react.block") : 60121,
25226
+ w = b ? Symbol.for("react.fundamental") : 60117,
25227
+ x = b ? Symbol.for("react.responder") : 60118,
25228
+ y = b ? Symbol.for("react.scope") : 60119;
25229
+ function z(a) {
25230
+ if ("object" === typeof a && null !== a) {
25231
+ var u = a.$$typeof;
25232
+ switch (u) {
25233
+ case c:
25234
+ switch (a = a.type, a) {
25235
+ case l:
25236
+ case m:
25237
+ case e:
25238
+ case g:
25239
+ case f:
25240
+ case p:
25241
+ return a;
25287
25242
  default:
25288
- var $$typeofType = type && type.$$typeof;
25289
-
25290
- switch ($$typeofType) {
25291
- case REACT_CONTEXT_TYPE:
25292
- case REACT_FORWARD_REF_TYPE:
25293
- case REACT_LAZY_TYPE:
25294
- case REACT_MEMO_TYPE:
25295
- case REACT_PROVIDER_TYPE:
25296
- return $$typeofType;
25297
-
25243
+ switch (a = a && a.$$typeof, a) {
25244
+ case k:
25245
+ case n:
25246
+ case t:
25247
+ case r:
25248
+ case h:
25249
+ return a;
25298
25250
  default:
25299
- return $$typeof;
25251
+ return u;
25300
25252
  }
25301
-
25302
25253
  }
25303
-
25304
- case REACT_PORTAL_TYPE:
25305
- return $$typeof;
25254
+ case d:
25255
+ return u;
25306
25256
  }
25307
25257
  }
25308
-
25309
- return undefined;
25310
- } // AsyncMode is deprecated along with isAsyncMode
25311
-
25312
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
25313
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
25314
- var ContextConsumer = REACT_CONTEXT_TYPE;
25315
- var ContextProvider = REACT_PROVIDER_TYPE;
25316
- var Element = REACT_ELEMENT_TYPE;
25317
- var ForwardRef = REACT_FORWARD_REF_TYPE;
25318
- var Fragment = REACT_FRAGMENT_TYPE;
25319
- var Lazy = REACT_LAZY_TYPE;
25320
- var Memo = REACT_MEMO_TYPE;
25321
- var Portal = REACT_PORTAL_TYPE;
25322
- var Profiler = REACT_PROFILER_TYPE;
25323
- var StrictMode = REACT_STRICT_MODE_TYPE;
25324
- var Suspense = REACT_SUSPENSE_TYPE;
25325
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
25326
-
25327
- function isAsyncMode(object) {
25328
- {
25329
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
25330
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
25331
-
25332
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
25333
- }
25334
- }
25335
-
25336
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
25337
- }
25338
- function isConcurrentMode(object) {
25339
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
25340
- }
25341
- function isContextConsumer(object) {
25342
- return typeOf(object) === REACT_CONTEXT_TYPE;
25343
- }
25344
- function isContextProvider(object) {
25345
- return typeOf(object) === REACT_PROVIDER_TYPE;
25346
- }
25347
- function isElement(object) {
25348
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
25349
25258
  }
25350
- function isForwardRef(object) {
25351
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
25352
- }
25353
- function isFragment(object) {
25354
- return typeOf(object) === REACT_FRAGMENT_TYPE;
25355
- }
25356
- function isLazy(object) {
25357
- return typeOf(object) === REACT_LAZY_TYPE;
25358
- }
25359
- function isMemo(object) {
25360
- return typeOf(object) === REACT_MEMO_TYPE;
25361
- }
25362
- function isPortal(object) {
25363
- return typeOf(object) === REACT_PORTAL_TYPE;
25364
- }
25365
- function isProfiler(object) {
25366
- return typeOf(object) === REACT_PROFILER_TYPE;
25367
- }
25368
- function isStrictMode(object) {
25369
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
25370
- }
25371
- function isSuspense(object) {
25372
- return typeOf(object) === REACT_SUSPENSE_TYPE;
25259
+ function A(a) {
25260
+ return z(a) === m;
25373
25261
  }
25262
+ var AsyncMode = l;
25263
+ var ConcurrentMode = m;
25264
+ var ContextConsumer = k;
25265
+ var ContextProvider = h;
25266
+ var Element = c;
25267
+ var ForwardRef = n;
25268
+ var Fragment = e;
25269
+ var Lazy = t;
25270
+ var Memo = r;
25271
+ var Portal = d;
25272
+ var Profiler = g;
25273
+ var StrictMode = f;
25274
+ var Suspense = p;
25275
+ var isAsyncMode = function (a) {
25276
+ return A(a) || z(a) === l;
25277
+ };
25278
+ var isConcurrentMode = A;
25279
+ var isContextConsumer = function (a) {
25280
+ return z(a) === k;
25281
+ };
25282
+ var isContextProvider = function (a) {
25283
+ return z(a) === h;
25284
+ };
25285
+ var isElement = function (a) {
25286
+ return "object" === typeof a && null !== a && a.$$typeof === c;
25287
+ };
25288
+ var isForwardRef = function (a) {
25289
+ return z(a) === n;
25290
+ };
25291
+ var isFragment = function (a) {
25292
+ return z(a) === e;
25293
+ };
25294
+ var isLazy = function (a) {
25295
+ return z(a) === t;
25296
+ };
25297
+ var isMemo = function (a) {
25298
+ return z(a) === r;
25299
+ };
25300
+ var isPortal = function (a) {
25301
+ return z(a) === d;
25302
+ };
25303
+ var isProfiler = function (a) {
25304
+ return z(a) === g;
25305
+ };
25306
+ var isStrictMode = function (a) {
25307
+ return z(a) === f;
25308
+ };
25309
+ var isSuspense = function (a) {
25310
+ return z(a) === p;
25311
+ };
25312
+ var isValidElementType = function (a) {
25313
+ return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
25314
+ };
25315
+ var typeOf = z;
25316
+ var reactIs_production_min = {
25317
+ AsyncMode: AsyncMode,
25318
+ ConcurrentMode: ConcurrentMode,
25319
+ ContextConsumer: ContextConsumer,
25320
+ ContextProvider: ContextProvider,
25321
+ Element: Element,
25322
+ ForwardRef: ForwardRef,
25323
+ Fragment: Fragment,
25324
+ Lazy: Lazy,
25325
+ Memo: Memo,
25326
+ Portal: Portal,
25327
+ Profiler: Profiler,
25328
+ StrictMode: StrictMode,
25329
+ Suspense: Suspense,
25330
+ isAsyncMode: isAsyncMode,
25331
+ isConcurrentMode: isConcurrentMode,
25332
+ isContextConsumer: isContextConsumer,
25333
+ isContextProvider: isContextProvider,
25334
+ isElement: isElement,
25335
+ isForwardRef: isForwardRef,
25336
+ isFragment: isFragment,
25337
+ isLazy: isLazy,
25338
+ isMemo: isMemo,
25339
+ isPortal: isPortal,
25340
+ isProfiler: isProfiler,
25341
+ isStrictMode: isStrictMode,
25342
+ isSuspense: isSuspense,
25343
+ isValidElementType: isValidElementType,
25344
+ typeOf: typeOf
25345
+ };
25374
25346
 
25375
- exports.AsyncMode = AsyncMode;
25376
- exports.ConcurrentMode = ConcurrentMode;
25377
- exports.ContextConsumer = ContextConsumer;
25378
- exports.ContextProvider = ContextProvider;
25379
- exports.Element = Element;
25380
- exports.ForwardRef = ForwardRef;
25381
- exports.Fragment = Fragment;
25382
- exports.Lazy = Lazy;
25383
- exports.Memo = Memo;
25384
- exports.Portal = Portal;
25385
- exports.Profiler = Profiler;
25386
- exports.StrictMode = StrictMode;
25387
- exports.Suspense = Suspense;
25388
- exports.isAsyncMode = isAsyncMode;
25389
- exports.isConcurrentMode = isConcurrentMode;
25390
- exports.isContextConsumer = isContextConsumer;
25391
- exports.isContextProvider = isContextProvider;
25392
- exports.isElement = isElement;
25393
- exports.isForwardRef = isForwardRef;
25394
- exports.isFragment = isFragment;
25395
- exports.isLazy = isLazy;
25396
- exports.isMemo = isMemo;
25397
- exports.isPortal = isPortal;
25398
- exports.isProfiler = isProfiler;
25399
- exports.isStrictMode = isStrictMode;
25400
- exports.isSuspense = isSuspense;
25401
- exports.isValidElementType = isValidElementType;
25402
- exports.typeOf = typeOf;
25403
- })();
25404
- }
25347
+ var reactIs_development = createCommonjsModule(function (module, exports) {
25348
+
25349
+ if (process.env.NODE_ENV !== "production") {
25350
+ (function () {
25351
+ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
25352
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
25353
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
25354
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
25355
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
25356
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
25357
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
25358
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
25359
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
25360
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
25361
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
25362
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
25363
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
25364
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
25365
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
25366
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
25367
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
25368
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
25369
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
25370
+ function isValidElementType(type) {
25371
+ return typeof type === 'string' || typeof type === 'function' || type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
25372
+ }
25373
+ function typeOf(object) {
25374
+ if (typeof object === 'object' && object !== null) {
25375
+ var $$typeof = object.$$typeof;
25376
+ switch ($$typeof) {
25377
+ case REACT_ELEMENT_TYPE:
25378
+ var type = object.type;
25379
+ switch (type) {
25380
+ case REACT_ASYNC_MODE_TYPE:
25381
+ case REACT_CONCURRENT_MODE_TYPE:
25382
+ case REACT_FRAGMENT_TYPE:
25383
+ case REACT_PROFILER_TYPE:
25384
+ case REACT_STRICT_MODE_TYPE:
25385
+ case REACT_SUSPENSE_TYPE:
25386
+ return type;
25387
+ default:
25388
+ var $$typeofType = type && type.$$typeof;
25389
+ switch ($$typeofType) {
25390
+ case REACT_CONTEXT_TYPE:
25391
+ case REACT_FORWARD_REF_TYPE:
25392
+ case REACT_LAZY_TYPE:
25393
+ case REACT_MEMO_TYPE:
25394
+ case REACT_PROVIDER_TYPE:
25395
+ return $$typeofType;
25396
+ default:
25397
+ return $$typeof;
25398
+ }
25399
+ }
25400
+ case REACT_PORTAL_TYPE:
25401
+ return $$typeof;
25402
+ }
25403
+ }
25404
+ return undefined;
25405
+ }
25406
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
25407
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
25408
+ var ContextConsumer = REACT_CONTEXT_TYPE;
25409
+ var ContextProvider = REACT_PROVIDER_TYPE;
25410
+ var Element = REACT_ELEMENT_TYPE;
25411
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
25412
+ var Fragment = REACT_FRAGMENT_TYPE;
25413
+ var Lazy = REACT_LAZY_TYPE;
25414
+ var Memo = REACT_MEMO_TYPE;
25415
+ var Portal = REACT_PORTAL_TYPE;
25416
+ var Profiler = REACT_PROFILER_TYPE;
25417
+ var StrictMode = REACT_STRICT_MODE_TYPE;
25418
+ var Suspense = REACT_SUSPENSE_TYPE;
25419
+ var hasWarnedAboutDeprecatedIsAsyncMode = false;
25420
+ function isAsyncMode(object) {
25421
+ {
25422
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
25423
+ hasWarnedAboutDeprecatedIsAsyncMode = true;
25424
+ console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
25425
+ }
25426
+ }
25427
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
25428
+ }
25429
+ function isConcurrentMode(object) {
25430
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
25431
+ }
25432
+ function isContextConsumer(object) {
25433
+ return typeOf(object) === REACT_CONTEXT_TYPE;
25434
+ }
25435
+ function isContextProvider(object) {
25436
+ return typeOf(object) === REACT_PROVIDER_TYPE;
25437
+ }
25438
+ function isElement(object) {
25439
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
25440
+ }
25441
+ function isForwardRef(object) {
25442
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
25443
+ }
25444
+ function isFragment(object) {
25445
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
25446
+ }
25447
+ function isLazy(object) {
25448
+ return typeOf(object) === REACT_LAZY_TYPE;
25449
+ }
25450
+ function isMemo(object) {
25451
+ return typeOf(object) === REACT_MEMO_TYPE;
25452
+ }
25453
+ function isPortal(object) {
25454
+ return typeOf(object) === REACT_PORTAL_TYPE;
25455
+ }
25456
+ function isProfiler(object) {
25457
+ return typeOf(object) === REACT_PROFILER_TYPE;
25458
+ }
25459
+ function isStrictMode(object) {
25460
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
25461
+ }
25462
+ function isSuspense(object) {
25463
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
25464
+ }
25465
+ exports.AsyncMode = AsyncMode;
25466
+ exports.ConcurrentMode = ConcurrentMode;
25467
+ exports.ContextConsumer = ContextConsumer;
25468
+ exports.ContextProvider = ContextProvider;
25469
+ exports.Element = Element;
25470
+ exports.ForwardRef = ForwardRef;
25471
+ exports.Fragment = Fragment;
25472
+ exports.Lazy = Lazy;
25473
+ exports.Memo = Memo;
25474
+ exports.Portal = Portal;
25475
+ exports.Profiler = Profiler;
25476
+ exports.StrictMode = StrictMode;
25477
+ exports.Suspense = Suspense;
25478
+ exports.isAsyncMode = isAsyncMode;
25479
+ exports.isConcurrentMode = isConcurrentMode;
25480
+ exports.isContextConsumer = isContextConsumer;
25481
+ exports.isContextProvider = isContextProvider;
25482
+ exports.isElement = isElement;
25483
+ exports.isForwardRef = isForwardRef;
25484
+ exports.isFragment = isFragment;
25485
+ exports.isLazy = isLazy;
25486
+ exports.isMemo = isMemo;
25487
+ exports.isPortal = isPortal;
25488
+ exports.isProfiler = isProfiler;
25489
+ exports.isStrictMode = isStrictMode;
25490
+ exports.isSuspense = isSuspense;
25491
+ exports.isValidElementType = isValidElementType;
25492
+ exports.typeOf = typeOf;
25493
+ })();
25494
+ }
25405
25495
  });
25406
25496
 
25407
25497
  var reactIs = createCommonjsModule(function (module) {
25408
25498
 
25409
- if (process.env.NODE_ENV === 'production') {
25410
- module.exports = reactIs_production_min;
25411
- } else {
25412
- module.exports = reactIs_development;
25413
- }
25499
+ if (process.env.NODE_ENV === 'production') {
25500
+ module.exports = reactIs_production_min;
25501
+ } else {
25502
+ module.exports = reactIs_development;
25503
+ }
25414
25504
  });
25415
25505
 
25416
- /*
25417
- object-assign
25418
- (c) Sindre Sorhus
25419
- @license MIT
25420
- */
25421
- /* eslint-disable no-unused-vars */
25422
25506
  var getOwnPropertySymbols = Object.getOwnPropertySymbols;
25423
25507
  var hasOwnProperty$a = Object.prototype.hasOwnProperty;
25424
25508
  var propIsEnumerable = Object.prototype.propertyIsEnumerable;
25425
-
25426
25509
  function toObject(val) {
25427
- if (val === null || val === undefined) {
25428
- throw new TypeError('Object.assign cannot be called with null or undefined');
25429
- }
25430
-
25431
- return Object(val);
25510
+ if (val === null || val === undefined) {
25511
+ throw new TypeError('Object.assign cannot be called with null or undefined');
25512
+ }
25513
+ return Object(val);
25432
25514
  }
25433
-
25434
25515
  function shouldUseNative() {
25435
- try {
25436
- if (!Object.assign) {
25437
- return false;
25438
- }
25439
-
25440
- // Detect buggy property enumeration order in older V8 versions.
25441
-
25442
- // https://bugs.chromium.org/p/v8/issues/detail?id=4118
25443
- var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
25444
- test1[5] = 'de';
25445
- if (Object.getOwnPropertyNames(test1)[0] === '5') {
25446
- return false;
25447
- }
25448
-
25449
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
25450
- var test2 = {};
25451
- for (var i = 0; i < 10; i++) {
25452
- test2['_' + String.fromCharCode(i)] = i;
25453
- }
25454
- var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
25455
- return test2[n];
25456
- });
25457
- if (order2.join('') !== '0123456789') {
25458
- return false;
25459
- }
25460
-
25461
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
25462
- var test3 = {};
25463
- 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
25464
- test3[letter] = letter;
25465
- });
25466
- if (Object.keys(Object.assign({}, test3)).join('') !==
25467
- 'abcdefghijklmnopqrst') {
25468
- return false;
25469
- }
25470
-
25471
- return true;
25472
- } catch (err) {
25473
- // We don't expect any of the above to throw, but better to be safe.
25474
- return false;
25475
- }
25516
+ try {
25517
+ if (!Object.assign) {
25518
+ return false;
25519
+ }
25520
+ var test1 = new String('abc');
25521
+ test1[5] = 'de';
25522
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
25523
+ return false;
25524
+ }
25525
+ var test2 = {};
25526
+ for (var i = 0; i < 10; i++) {
25527
+ test2['_' + String.fromCharCode(i)] = i;
25528
+ }
25529
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
25530
+ return test2[n];
25531
+ });
25532
+ if (order2.join('') !== '0123456789') {
25533
+ return false;
25534
+ }
25535
+ var test3 = {};
25536
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
25537
+ test3[letter] = letter;
25538
+ });
25539
+ if (Object.keys(Object.assign({}, test3)).join('') !== 'abcdefghijklmnopqrst') {
25540
+ return false;
25541
+ }
25542
+ return true;
25543
+ } catch (err) {
25544
+ return false;
25545
+ }
25476
25546
  }
25477
-
25478
25547
  var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
25479
- var from;
25480
- var to = toObject(target);
25481
- var symbols;
25482
-
25483
- for (var s = 1; s < arguments.length; s++) {
25484
- from = Object(arguments[s]);
25485
-
25486
- for (var key in from) {
25487
- if (hasOwnProperty$a.call(from, key)) {
25488
- to[key] = from[key];
25489
- }
25490
- }
25491
-
25492
- if (getOwnPropertySymbols) {
25493
- symbols = getOwnPropertySymbols(from);
25494
- for (var i = 0; i < symbols.length; i++) {
25495
- if (propIsEnumerable.call(from, symbols[i])) {
25496
- to[symbols[i]] = from[symbols[i]];
25497
- }
25498
- }
25499
- }
25500
- }
25501
-
25502
- return to;
25548
+ var from;
25549
+ var to = toObject(target);
25550
+ var symbols;
25551
+ for (var s = 1; s < arguments.length; s++) {
25552
+ from = Object(arguments[s]);
25553
+ for (var key in from) {
25554
+ if (hasOwnProperty$a.call(from, key)) {
25555
+ to[key] = from[key];
25556
+ }
25557
+ }
25558
+ if (getOwnPropertySymbols) {
25559
+ symbols = getOwnPropertySymbols(from);
25560
+ for (var i = 0; i < symbols.length; i++) {
25561
+ if (propIsEnumerable.call(from, symbols[i])) {
25562
+ to[symbols[i]] = from[symbols[i]];
25563
+ }
25564
+ }
25565
+ }
25566
+ }
25567
+ return to;
25503
25568
  };
25504
25569
 
25505
- /**
25506
- * Copyright (c) 2013-present, Facebook, Inc.
25507
- *
25508
- * This source code is licensed under the MIT license found in the
25509
- * LICENSE file in the root directory of this source tree.
25510
- */
25511
-
25512
25570
  var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
25513
-
25514
25571
  var ReactPropTypesSecret_1 = ReactPropTypesSecret;
25515
25572
 
25516
25573
  var has = Function.call.bind(Object.prototype.hasOwnProperty);
25517
25574
 
25518
- var printWarning = function() {};
25519
-
25575
+ var printWarning = function () {};
25520
25576
  if (process.env.NODE_ENV !== 'production') {
25521
25577
  var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
25522
25578
  var loggedTypeFailures = {};
25523
25579
  var has$1 = has;
25524
-
25525
- printWarning = function(text) {
25580
+ printWarning = function (text) {
25526
25581
  var message = 'Warning: ' + text;
25527
25582
  if (typeof console !== 'undefined') {
25528
25583
  console.error(message);
25529
25584
  }
25530
25585
  try {
25531
- // --- Welcome to debugging React ---
25532
- // This error was thrown as a convenience so that you can use this stack
25533
- // to find the callsite that caused this warning to fire.
25534
25586
  throw new Error(message);
25535
- } catch (x) { /**/ }
25587
+ } catch (x) {}
25536
25588
  };
25537
25589
  }
25538
-
25539
- /**
25540
- * Assert that the values match with the type specs.
25541
- * Error messages are memorized and will only be shown once.
25542
- *
25543
- * @param {object} typeSpecs Map of name to a ReactPropType
25544
- * @param {object} values Runtime values that need to be type-checked
25545
- * @param {string} location e.g. "prop", "context", "child context"
25546
- * @param {string} componentName Name of the component for error messages.
25547
- * @param {?Function} getStack Returns the component stack.
25548
- * @private
25549
- */
25550
25590
  function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
25551
25591
  if (process.env.NODE_ENV !== 'production') {
25552
25592
  for (var typeSpecName in typeSpecs) {
25553
25593
  if (has$1(typeSpecs, typeSpecName)) {
25554
25594
  var error;
25555
- // Prop type validation may throw. In case they do, we don't want to
25556
- // fail the render phase where it didn't fail before. So we log it.
25557
- // After these have been cleaned up, we'll let them throw.
25558
25595
  try {
25559
- // This is intentionally an invariant that gets caught. It's the same
25560
- // behavior as without this statement except with a better message.
25561
25596
  if (typeof typeSpecs[typeSpecName] !== 'function') {
25562
- var err = Error(
25563
- (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
25564
- 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
25565
- 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
25566
- );
25597
+ var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');
25567
25598
  err.name = 'Invariant Violation';
25568
25599
  throw err;
25569
25600
  }
@@ -25572,142 +25603,49 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
25572
25603
  error = ex;
25573
25604
  }
25574
25605
  if (error && !(error instanceof Error)) {
25575
- printWarning(
25576
- (componentName || 'React class') + ': type specification of ' +
25577
- location + ' `' + typeSpecName + '` is invalid; the type checker ' +
25578
- 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
25579
- 'You may have forgotten to pass an argument to the type checker ' +
25580
- 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
25581
- 'shape all require an argument).'
25582
- );
25606
+ printWarning((componentName || 'React class') + ': type specification of ' + location + ' `' + typeSpecName + '` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).');
25583
25607
  }
25584
25608
  if (error instanceof Error && !(error.message in loggedTypeFailures)) {
25585
- // Only monitor this failure once because there tends to be a lot of the
25586
- // same error.
25587
25609
  loggedTypeFailures[error.message] = true;
25588
-
25589
25610
  var stack = getStack ? getStack() : '';
25590
-
25591
- printWarning(
25592
- 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
25593
- );
25611
+ printWarning('Failed ' + location + ' type: ' + error.message + (stack != null ? stack : ''));
25594
25612
  }
25595
25613
  }
25596
25614
  }
25597
25615
  }
25598
25616
  }
25599
-
25600
- /**
25601
- * Resets warning cache when testing.
25602
- *
25603
- * @private
25604
- */
25605
- checkPropTypes.resetWarningCache = function() {
25617
+ checkPropTypes.resetWarningCache = function () {
25606
25618
  if (process.env.NODE_ENV !== 'production') {
25607
25619
  loggedTypeFailures = {};
25608
25620
  }
25609
25621
  };
25610
-
25611
25622
  var checkPropTypes_1 = checkPropTypes;
25612
25623
 
25613
- var printWarning$1 = function() {};
25614
-
25624
+ var printWarning$1 = function () {};
25615
25625
  if (process.env.NODE_ENV !== 'production') {
25616
- printWarning$1 = function(text) {
25626
+ printWarning$1 = function (text) {
25617
25627
  var message = 'Warning: ' + text;
25618
25628
  if (typeof console !== 'undefined') {
25619
25629
  console.error(message);
25620
25630
  }
25621
25631
  try {
25622
- // --- Welcome to debugging React ---
25623
- // This error was thrown as a convenience so that you can use this stack
25624
- // to find the callsite that caused this warning to fire.
25625
25632
  throw new Error(message);
25626
25633
  } catch (x) {}
25627
25634
  };
25628
25635
  }
25629
-
25630
25636
  function emptyFunctionThatReturnsNull() {
25631
25637
  return null;
25632
25638
  }
25633
-
25634
- var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
25635
- /* global Symbol */
25639
+ var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
25636
25640
  var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
25637
- var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
25638
-
25639
- /**
25640
- * Returns the iterator method function contained on the iterable object.
25641
- *
25642
- * Be sure to invoke the function with the iterable as context:
25643
- *
25644
- * var iteratorFn = getIteratorFn(myIterable);
25645
- * if (iteratorFn) {
25646
- * var iterator = iteratorFn.call(myIterable);
25647
- * ...
25648
- * }
25649
- *
25650
- * @param {?object} maybeIterable
25651
- * @return {?function}
25652
- */
25641
+ var FAUX_ITERATOR_SYMBOL = '@@iterator';
25653
25642
  function getIteratorFn(maybeIterable) {
25654
25643
  var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
25655
25644
  if (typeof iteratorFn === 'function') {
25656
25645
  return iteratorFn;
25657
25646
  }
25658
25647
  }
25659
-
25660
- /**
25661
- * Collection of methods that allow declaration and validation of props that are
25662
- * supplied to React components. Example usage:
25663
- *
25664
- * var Props = require('ReactPropTypes');
25665
- * var MyArticle = React.createClass({
25666
- * propTypes: {
25667
- * // An optional string prop named "description".
25668
- * description: Props.string,
25669
- *
25670
- * // A required enum prop named "category".
25671
- * category: Props.oneOf(['News','Photos']).isRequired,
25672
- *
25673
- * // A prop named "dialog" that requires an instance of Dialog.
25674
- * dialog: Props.instanceOf(Dialog).isRequired
25675
- * },
25676
- * render: function() { ... }
25677
- * });
25678
- *
25679
- * A more formal specification of how these methods are used:
25680
- *
25681
- * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
25682
- * decl := ReactPropTypes.{type}(.isRequired)?
25683
- *
25684
- * Each and every declaration produces a function with the same signature. This
25685
- * allows the creation of custom validation functions. For example:
25686
- *
25687
- * var MyLink = React.createClass({
25688
- * propTypes: {
25689
- * // An optional string or URI prop named "href".
25690
- * href: function(props, propName, componentName) {
25691
- * var propValue = props[propName];
25692
- * if (propValue != null && typeof propValue !== 'string' &&
25693
- * !(propValue instanceof URI)) {
25694
- * return new Error(
25695
- * 'Expected a string or an URI for ' + propName + ' in ' +
25696
- * componentName
25697
- * );
25698
- * }
25699
- * }
25700
- * },
25701
- * render: function() {...}
25702
- * });
25703
- *
25704
- * @internal
25705
- */
25706
-
25707
25648
  var ANONYMOUS = '<<anonymous>>';
25708
-
25709
- // Important!
25710
- // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
25711
25649
  var ReactPropTypes = {
25712
25650
  array: createPrimitiveTypeChecker('array'),
25713
25651
  bigint: createPrimitiveTypeChecker('bigint'),
@@ -25717,7 +25655,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
25717
25655
  object: createPrimitiveTypeChecker('object'),
25718
25656
  string: createPrimitiveTypeChecker('string'),
25719
25657
  symbol: createPrimitiveTypeChecker('symbol'),
25720
-
25721
25658
  any: createAnyTypeChecker(),
25722
25659
  arrayOf: createArrayOfTypeChecker,
25723
25660
  element: createElementTypeChecker(),
@@ -25728,42 +25665,21 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
25728
25665
  oneOf: createEnumTypeChecker,
25729
25666
  oneOfType: createUnionTypeChecker,
25730
25667
  shape: createShapeTypeChecker,
25731
- exact: createStrictShapeTypeChecker,
25668
+ exact: createStrictShapeTypeChecker
25732
25669
  };
25733
-
25734
- /**
25735
- * inlined Object.is polyfill to avoid requiring consumers ship their own
25736
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
25737
- */
25738
- /*eslint-disable no-self-compare*/
25739
25670
  function is(x, y) {
25740
- // SameValue algorithm
25741
25671
  if (x === y) {
25742
- // Steps 1-5, 7-10
25743
- // Steps 6.b-6.e: +0 != -0
25744
25672
  return x !== 0 || 1 / x === 1 / y;
25745
25673
  } else {
25746
- // Step 6.a: NaN == NaN
25747
25674
  return x !== x && y !== y;
25748
25675
  }
25749
25676
  }
25750
- /*eslint-enable no-self-compare*/
25751
-
25752
- /**
25753
- * We use an Error-like object for backward compatibility as people may call
25754
- * PropTypes directly and inspect their output. However, we don't use real
25755
- * Errors anymore. We don't inspect their stack anyway, and creating them
25756
- * is prohibitively expensive if they are created too often, such as what
25757
- * happens in oneOfType() for any type before the one that matched.
25758
- */
25759
25677
  function PropTypeError(message, data) {
25760
25678
  this.message = message;
25761
- this.data = data && typeof data === 'object' ? data: {};
25679
+ this.data = data && typeof data === 'object' ? data : {};
25762
25680
  this.stack = '';
25763
25681
  }
25764
- // Make `instanceof Error` still work for returned errors.
25765
25682
  PropTypeError.prototype = Error.prototype;
25766
-
25767
25683
  function createChainableTypeChecker(validate) {
25768
25684
  if (process.env.NODE_ENV !== 'production') {
25769
25685
  var manualPropTypeCallCache = {};
@@ -25772,32 +25688,15 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
25772
25688
  function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
25773
25689
  componentName = componentName || ANONYMOUS;
25774
25690
  propFullName = propFullName || propName;
25775
-
25776
25691
  if (secret !== ReactPropTypesSecret_1) {
25777
25692
  if (throwOnDirectAccess) {
25778
- // New behavior only for users of `prop-types` package
25779
- var err = new Error(
25780
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
25781
- 'Use `PropTypes.checkPropTypes()` to call them. ' +
25782
- 'Read more at http://fb.me/use-check-prop-types'
25783
- );
25693
+ var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use `PropTypes.checkPropTypes()` to call them. ' + 'Read more at http://fb.me/use-check-prop-types');
25784
25694
  err.name = 'Invariant Violation';
25785
25695
  throw err;
25786
25696
  } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
25787
- // Old behavior for people using React.PropTypes
25788
25697
  var cacheKey = componentName + ':' + propName;
25789
- if (
25790
- !manualPropTypeCallCache[cacheKey] &&
25791
- // Avoid spamming the console because they are often not actionable except for lib authors
25792
- manualPropTypeWarningCount < 3
25793
- ) {
25794
- printWarning$1(
25795
- 'You are manually calling a React.PropTypes validation ' +
25796
- 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
25797
- 'and will throw in the standalone `prop-types` package. ' +
25798
- 'You may be seeing this warning due to a third-party PropTypes ' +
25799
- 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
25800
- );
25698
+ if (!manualPropTypeCallCache[cacheKey] && manualPropTypeWarningCount < 3) {
25699
+ printWarning$1('You are manually calling a React.PropTypes validation ' + 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' + 'and will throw in the standalone `prop-types` package. ' + 'You may be seeing this warning due to a third-party PropTypes ' + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.');
25801
25700
  manualPropTypeCallCache[cacheKey] = true;
25802
25701
  manualPropTypeWarningCount++;
25803
25702
  }
@@ -25815,37 +25714,27 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
25815
25714
  return validate(props, propName, componentName, location, propFullName);
25816
25715
  }
25817
25716
  }
25818
-
25819
25717
  var chainedCheckType = checkType.bind(null, false);
25820
25718
  chainedCheckType.isRequired = checkType.bind(null, true);
25821
-
25822
25719
  return chainedCheckType;
25823
25720
  }
25824
-
25825
25721
  function createPrimitiveTypeChecker(expectedType) {
25826
25722
  function validate(props, propName, componentName, location, propFullName, secret) {
25827
25723
  var propValue = props[propName];
25828
25724
  var propType = getPropType(propValue);
25829
25725
  if (propType !== expectedType) {
25830
- // `propValue` being instance of, say, date/regexp, pass the 'object'
25831
- // check, but we can offer a more precise error message here rather than
25832
- // 'of type `object`'.
25833
25726
  var preciseType = getPreciseType(propValue);
25834
-
25835
- return new PropTypeError(
25836
- 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
25837
- {expectedType: expectedType}
25838
- );
25727
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'), {
25728
+ expectedType: expectedType
25729
+ });
25839
25730
  }
25840
25731
  return null;
25841
25732
  }
25842
25733
  return createChainableTypeChecker(validate);
25843
25734
  }
25844
-
25845
25735
  function createAnyTypeChecker() {
25846
25736
  return createChainableTypeChecker(emptyFunctionThatReturnsNull);
25847
25737
  }
25848
-
25849
25738
  function createArrayOfTypeChecker(typeChecker) {
25850
25739
  function validate(props, propName, componentName, location, propFullName) {
25851
25740
  if (typeof typeChecker !== 'function') {
@@ -25866,7 +25755,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
25866
25755
  }
25867
25756
  return createChainableTypeChecker(validate);
25868
25757
  }
25869
-
25870
25758
  function createElementTypeChecker() {
25871
25759
  function validate(props, propName, componentName, location, propFullName) {
25872
25760
  var propValue = props[propName];
@@ -25878,7 +25766,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
25878
25766
  }
25879
25767
  return createChainableTypeChecker(validate);
25880
25768
  }
25881
-
25882
25769
  function createElementTypeTypeChecker() {
25883
25770
  function validate(props, propName, componentName, location, propFullName) {
25884
25771
  var propValue = props[propName];
@@ -25890,7 +25777,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
25890
25777
  }
25891
25778
  return createChainableTypeChecker(validate);
25892
25779
  }
25893
-
25894
25780
  function createInstanceTypeChecker(expectedClass) {
25895
25781
  function validate(props, propName, componentName, location, propFullName) {
25896
25782
  if (!(props[propName] instanceof expectedClass)) {
@@ -25902,22 +25788,17 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
25902
25788
  }
25903
25789
  return createChainableTypeChecker(validate);
25904
25790
  }
25905
-
25906
25791
  function createEnumTypeChecker(expectedValues) {
25907
25792
  if (!Array.isArray(expectedValues)) {
25908
25793
  if (process.env.NODE_ENV !== 'production') {
25909
25794
  if (arguments.length > 1) {
25910
- printWarning$1(
25911
- 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
25912
- 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
25913
- );
25795
+ printWarning$1('Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' + 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).');
25914
25796
  } else {
25915
25797
  printWarning$1('Invalid argument supplied to oneOf, expected an array.');
25916
25798
  }
25917
25799
  }
25918
25800
  return emptyFunctionThatReturnsNull;
25919
25801
  }
25920
-
25921
25802
  function validate(props, propName, componentName, location, propFullName) {
25922
25803
  var propValue = props[propName];
25923
25804
  for (var i = 0; i < expectedValues.length; i++) {
@@ -25925,7 +25806,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
25925
25806
  return null;
25926
25807
  }
25927
25808
  }
25928
-
25929
25809
  var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
25930
25810
  var type = getPreciseType(value);
25931
25811
  if (type === 'symbol') {
@@ -25937,7 +25817,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
25937
25817
  }
25938
25818
  return createChainableTypeChecker(validate);
25939
25819
  }
25940
-
25941
25820
  function createObjectOfTypeChecker(typeChecker) {
25942
25821
  function validate(props, propName, componentName, location, propFullName) {
25943
25822
  if (typeof typeChecker !== 'function') {
@@ -25960,24 +25839,18 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
25960
25839
  }
25961
25840
  return createChainableTypeChecker(validate);
25962
25841
  }
25963
-
25964
25842
  function createUnionTypeChecker(arrayOfTypeCheckers) {
25965
25843
  if (!Array.isArray(arrayOfTypeCheckers)) {
25966
25844
  process.env.NODE_ENV !== 'production' ? printWarning$1('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
25967
25845
  return emptyFunctionThatReturnsNull;
25968
25846
  }
25969
-
25970
25847
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
25971
25848
  var checker = arrayOfTypeCheckers[i];
25972
25849
  if (typeof checker !== 'function') {
25973
- printWarning$1(
25974
- 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
25975
- 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
25976
- );
25850
+ printWarning$1('Invalid argument supplied to oneOfType. Expected an array of check functions, but ' + 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.');
25977
25851
  return emptyFunctionThatReturnsNull;
25978
25852
  }
25979
25853
  }
25980
-
25981
25854
  function validate(props, propName, componentName, location, propFullName) {
25982
25855
  var expectedTypes = [];
25983
25856
  for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
@@ -25990,12 +25863,11 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
25990
25863
  expectedTypes.push(checkerResult.data.expectedType);
25991
25864
  }
25992
25865
  }
25993
- var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
25866
+ var expectedTypesMessage = expectedTypes.length > 0 ? ', expected one of type [' + expectedTypes.join(', ') + ']' : '';
25994
25867
  return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
25995
25868
  }
25996
25869
  return createChainableTypeChecker(validate);
25997
25870
  }
25998
-
25999
25871
  function createNodeChecker() {
26000
25872
  function validate(props, propName, componentName, location, propFullName) {
26001
25873
  if (!isNode(props[propName])) {
@@ -26005,14 +25877,9 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
26005
25877
  }
26006
25878
  return createChainableTypeChecker(validate);
26007
25879
  }
26008
-
26009
25880
  function invalidValidatorError(componentName, location, propFullName, key, type) {
26010
- return new PropTypeError(
26011
- (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
26012
- 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
26013
- );
25881
+ return new PropTypeError((componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.');
26014
25882
  }
26015
-
26016
25883
  function createShapeTypeChecker(shapeTypes) {
26017
25884
  function validate(props, propName, componentName, location, propFullName) {
26018
25885
  var propValue = props[propName];
@@ -26034,7 +25901,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
26034
25901
  }
26035
25902
  return createChainableTypeChecker(validate);
26036
25903
  }
26037
-
26038
25904
  function createStrictShapeTypeChecker(shapeTypes) {
26039
25905
  function validate(props, propName, componentName, location, propFullName) {
26040
25906
  var propValue = props[propName];
@@ -26042,7 +25908,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
26042
25908
  if (propType !== 'object') {
26043
25909
  return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
26044
25910
  }
26045
- // We need to check all keys in case some are required but missing from props.
26046
25911
  var allKeys = objectAssign({}, props[propName], shapeTypes);
26047
25912
  for (var key in allKeys) {
26048
25913
  var checker = shapeTypes[key];
@@ -26050,11 +25915,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
26050
25915
  return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
26051
25916
  }
26052
25917
  if (!checker) {
26053
- return new PropTypeError(
26054
- 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
26055
- '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
26056
- '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
26057
- );
25918
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' + '\nBad object: ' + JSON.stringify(props[propName], null, ' ') + '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' '));
26058
25919
  }
26059
25920
  var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
26060
25921
  if (error) {
@@ -26063,10 +25924,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
26063
25924
  }
26064
25925
  return null;
26065
25926
  }
26066
-
26067
25927
  return createChainableTypeChecker(validate);
26068
25928
  }
26069
-
26070
25929
  function isNode(propValue) {
26071
25930
  switch (typeof propValue) {
26072
25931
  case 'number':
@@ -26082,7 +25941,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
26082
25941
  if (propValue === null || isValidElement(propValue)) {
26083
25942
  return true;
26084
25943
  }
26085
-
26086
25944
  var iteratorFn = getIteratorFn(propValue);
26087
25945
  if (iteratorFn) {
26088
25946
  var iterator = iteratorFn.call(propValue);
@@ -26094,7 +25952,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
26094
25952
  }
26095
25953
  }
26096
25954
  } else {
26097
- // Iterator will provide entry [k,v] tuples rather than values.
26098
25955
  while (!(step = iterator.next()).done) {
26099
25956
  var entry = step.value;
26100
25957
  if (entry) {
@@ -26107,47 +25964,32 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
26107
25964
  } else {
26108
25965
  return false;
26109
25966
  }
26110
-
26111
25967
  return true;
26112
25968
  default:
26113
25969
  return false;
26114
25970
  }
26115
25971
  }
26116
-
26117
25972
  function isSymbol(propType, propValue) {
26118
- // Native Symbol.
26119
25973
  if (propType === 'symbol') {
26120
25974
  return true;
26121
25975
  }
26122
-
26123
- // falsy value can't be a Symbol
26124
25976
  if (!propValue) {
26125
25977
  return false;
26126
25978
  }
26127
-
26128
- // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
26129
25979
  if (propValue['@@toStringTag'] === 'Symbol') {
26130
25980
  return true;
26131
25981
  }
26132
-
26133
- // Fallback for non-spec compliant Symbols which are polyfilled.
26134
25982
  if (typeof Symbol === 'function' && propValue instanceof Symbol) {
26135
25983
  return true;
26136
25984
  }
26137
-
26138
25985
  return false;
26139
25986
  }
26140
-
26141
- // Equivalent of `typeof` but with special handling for array and regexp.
26142
25987
  function getPropType(propValue) {
26143
25988
  var propType = typeof propValue;
26144
25989
  if (Array.isArray(propValue)) {
26145
25990
  return 'array';
26146
25991
  }
26147
25992
  if (propValue instanceof RegExp) {
26148
- // Old webkits (at least until Android 4.0) return 'function' rather than
26149
- // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
26150
- // passes PropTypes.object.
26151
25993
  return 'object';
26152
25994
  }
26153
25995
  if (isSymbol(propType, propValue)) {
@@ -26155,9 +25997,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
26155
25997
  }
26156
25998
  return propType;
26157
25999
  }
26158
-
26159
- // This handles more types than `getPropType`. Only used for error messages.
26160
- // See `createPrimitiveTypeChecker`.
26161
26000
  function getPreciseType(propValue) {
26162
26001
  if (typeof propValue === 'undefined' || propValue === null) {
26163
26002
  return '' + propValue;
@@ -26172,9 +26011,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
26172
26011
  }
26173
26012
  return propType;
26174
26013
  }
26175
-
26176
- // Returns a string that is postfixed to a warning about an invalid type.
26177
- // For example, "undefined" or "of type array"
26178
26014
  function getPostfixForTypeWarning(value) {
26179
26015
  var type = getPreciseType(value);
26180
26016
  switch (type) {
@@ -26189,44 +26025,34 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
26189
26025
  return type;
26190
26026
  }
26191
26027
  }
26192
-
26193
- // Returns class name of the object, if any.
26194
26028
  function getClassName(propValue) {
26195
26029
  if (!propValue.constructor || !propValue.constructor.name) {
26196
26030
  return ANONYMOUS;
26197
26031
  }
26198
26032
  return propValue.constructor.name;
26199
26033
  }
26200
-
26201
26034
  ReactPropTypes.checkPropTypes = checkPropTypes_1;
26202
26035
  ReactPropTypes.resetWarningCache = checkPropTypes_1.resetWarningCache;
26203
26036
  ReactPropTypes.PropTypes = ReactPropTypes;
26204
-
26205
26037
  return ReactPropTypes;
26206
26038
  };
26207
26039
 
26208
26040
  function emptyFunction() {}
26209
26041
  function emptyFunctionWithReset() {}
26210
26042
  emptyFunctionWithReset.resetWarningCache = emptyFunction;
26211
-
26212
- var factoryWithThrowingShims = function() {
26043
+ var factoryWithThrowingShims = function () {
26213
26044
  function shim(props, propName, componentName, location, propFullName, secret) {
26214
26045
  if (secret === ReactPropTypesSecret_1) {
26215
- // It is still safe when called from React.
26216
26046
  return;
26217
26047
  }
26218
- var err = new Error(
26219
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
26220
- 'Use PropTypes.checkPropTypes() to call them. ' +
26221
- 'Read more at http://fb.me/use-check-prop-types'
26222
- );
26048
+ var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use PropTypes.checkPropTypes() to call them. ' + 'Read more at http://fb.me/use-check-prop-types');
26223
26049
  err.name = 'Invariant Violation';
26224
26050
  throw err;
26225
- } shim.isRequired = shim;
26051
+ }
26052
+ shim.isRequired = shim;
26226
26053
  function getShim() {
26227
26054
  return shim;
26228
- } // Important!
26229
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
26055
+ }
26230
26056
  var ReactPropTypes = {
26231
26057
  array: shim,
26232
26058
  bigint: shim,
@@ -26236,7 +26062,6 @@ var factoryWithThrowingShims = function() {
26236
26062
  object: shim,
26237
26063
  string: shim,
26238
26064
  symbol: shim,
26239
-
26240
26065
  any: shim,
26241
26066
  arrayOf: getShim,
26242
26067
  element: shim,
@@ -26248,36 +26073,21 @@ var factoryWithThrowingShims = function() {
26248
26073
  oneOfType: getShim,
26249
26074
  shape: getShim,
26250
26075
  exact: getShim,
26251
-
26252
26076
  checkPropTypes: emptyFunctionWithReset,
26253
26077
  resetWarningCache: emptyFunction
26254
26078
  };
26255
-
26256
26079
  ReactPropTypes.PropTypes = ReactPropTypes;
26257
-
26258
26080
  return ReactPropTypes;
26259
26081
  };
26260
26082
 
26261
26083
  var propTypes = createCommonjsModule(function (module) {
26262
- /**
26263
- * Copyright (c) 2013-present, Facebook, Inc.
26264
- *
26265
- * This source code is licensed under the MIT license found in the
26266
- * LICENSE file in the root directory of this source tree.
26267
- */
26268
-
26269
- if (process.env.NODE_ENV !== 'production') {
26270
- var ReactIs = reactIs;
26271
-
26272
- // By explicitly using `prop-types` you are opting into new development behavior.
26273
- // http://fb.me/prop-types-in-prod
26274
- var throwOnDirectAccess = true;
26275
- module.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);
26276
- } else {
26277
- // By explicitly using `prop-types` you are opting into new production behavior.
26278
- // http://fb.me/prop-types-in-prod
26279
- module.exports = factoryWithThrowingShims();
26280
- }
26084
+ if (process.env.NODE_ENV !== 'production') {
26085
+ var ReactIs = reactIs;
26086
+ var throwOnDirectAccess = true;
26087
+ module.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);
26088
+ } else {
26089
+ module.exports = factoryWithThrowingShims();
26090
+ }
26281
26091
  });
26282
26092
 
26283
26093
  const SearchConnection = _ref => {
@@ -28052,31 +27862,31 @@ const checkForNA$1 = value => {
28052
27862
  return value ? value : "CS_NA";
28053
27863
  };
28054
27864
  const WSApplicationDetails = () => {
28055
- var _user$info, _user$info$userName, _user$info2, _user$info3, _Digit$SessionStorage, _user$info4, _data$WaterConnection, _data$WaterConnection2, _data$SewerageConnect, _data$SewerageConnect2, _data$WaterConnection3, _data$WaterConnection4, _data$SewerageConnect3, _data$SewerageConnect4, _data$WaterConnection5, _data$WaterConnection6, _data$SewerageConnect5, _data$SewerageConnect6, _data$WaterConnection7, _data$WaterConnection8, _data$SewerageConnect7, _data$SewerageConnect8, _data$WaterConnection9, _data$WaterConnection0, _data$SewerageConnect9, _data$SewerageConnect0, _data$WaterConnection1, _data$SewerageConnect1, _PTData$Properties, _PTData$Properties$, _data$WaterConnection10, _data$WaterConnection11, _data$WaterConnection12, _data$WaterConnection13, _data$SewerageConnect10, _data$SewerageConnect11, _data$SewerageConnect12, _data$SewerageConnect13, _data$WaterConnection14, _data$WaterConnection15, _data$WaterConnection16, _data$WaterConnection17, _data$SewerageConnect14, _data$SewerageConnect15, _data$SewerageConnect16, _data$SewerageConnect17, _data$WaterConnection36, _data$WaterConnection37, _data$SewerageConnect32, _data$SewerageConnect33, _data$WaterConnection38, _data$WaterConnection39, _data$SewerageConnect34, _data$SewerageConnect35, _data$WaterConnection40, _data$WaterConnection41, _data$SewerageConnect36, _data$SewerageConnect37, _data$WaterConnection42, _data$WaterConnection43, _data$SewerageConnect38, _data$SewerageConnect39, _data$WaterConnection44, _data$WaterConnection45, _data$WaterConnection46, _data$SewerageConnect40, _data$SewerageConnect41, _data$WaterConnection47, _data$WaterConnection48, _data$SewerageConnect42, _data$SewerageConnect43, _data$WaterConnection49, _data$WaterConnection50, _data$SewerageConnect44, _data$SewerageConnect45, _data$WaterConnection51, _data$WaterConnection52, _data$SewerageConnect46, _data$SewerageConnect47, _data$WaterConnection53, _data$WaterConnection54, _data$SewerageConnect48, _data$SewerageConnect49, _data$WaterConnection55, _data$WaterConnection56, _data$SewerageConnect50, _data$SewerageConnect51, _data$WaterConnection57, _data$WaterConnection58, _data$SewerageConnect52, _data$SewerageConnect53, _data$WaterConnection59, _data$WaterConnection60, _data$SewerageConnect54, _data$SewerageConnect55, _data$WaterConnection61, _data$WaterConnection62, _data$SewerageConnect56, _data$SewerageConnect57, _data$WaterConnection63, _data$WaterConnection64, _data$WaterConnection65, _data$WaterConnection66, _data$SewerageConnect58, _data$SewerageConnect59, _data$SewerageConnect60, _data$SewerageConnect61, _paymentDetails$data, _paymentDetails$data$, _paymentDetails$data$2, _paymentDetails$data$3, _paymentDetails$data$4, _paymentDetails$data2, _paymentDetails$data3, _paymentDetails$data4, _paymentDetails$data5, _paymentDetails$data6, _paymentDetails$data7, _paymentDetails$data8, _paymentDetails$data9, _paymentDetails$data0, _paymentDetails$data1, _paymentDetails$data10, _paymentDetails$data11, _paymentDetails$data12, _paymentDetails$data13, _paymentDetails$data14, _paymentDetails$data15, _paymentDetails$data16, _paymentDetails$data17, _paymentDetails$data18, _paymentDetails$data19, _connectionDetails$se, _connectionDetails$se2, _connectionDetails$co, _connectionDetails$co2, _connectionDetails$wa, _connectionDetails$wa2, _connectionDetails$ap, _connectionDetails$ap2, _connectionDetails$do, _connectionDetails$do2, _connectionDetails$do3, _connectionDetails$de, _connectionDetails$de2, _data$WaterConnection67, _data$WaterConnection68, _data$WaterConnection69, _data$SewerageConnect62, _data$SewerageConnect63, _data$SewerageConnect64, _data$WaterConnection70, _data$WaterConnection71, _data$WaterConnection72, _data$WaterConnection73, _data$SewerageConnect65, _data$SewerageConnect66, _data$SewerageConnect67, _data$SewerageConnect68, _data$WaterConnection74, _data$WaterConnection75, _data$WaterConnection76, _data$WaterConnection77, _data$SewerageConnect69, _data$SewerageConnect70, _data$SewerageConnect71, _data$SewerageConnect72, _data$WaterConnection78, _data$WaterConnection79, _data$WaterConnection80, _data$WaterConnection81, _data$SewerageConnect73, _data$SewerageConnect74, _data$SewerageConnect75, _data$SewerageConnect76, _data$WaterConnection82, _data$WaterConnection83, _data$WaterConnection84, _data$WaterConnection85, _data$SewerageConnect77, _data$SewerageConnect78, _data$SewerageConnect79, _data$SewerageConnect80, _data$WaterConnection86, _data$WaterConnection87, _data$WaterConnection88, _data$WaterConnection89, _data$SewerageConnect81, _data$SewerageConnect82, _data$SewerageConnect83, _data$SewerageConnect84, _data$WaterConnection90, _data$WaterConnection91, _data$WaterConnection92, _data$WaterConnection93, _data$SewerageConnect85, _data$SewerageConnect86, _data$SewerageConnect87, _data$SewerageConnect88, _data$WaterConnection94, _data$WaterConnection95, _data$WaterConnection96, _data$WaterConnection97, _data$SewerageConnect89, _data$SewerageConnect90, _data$SewerageConnect91, _data$SewerageConnect92, _data$WaterConnection98, _data$WaterConnection99, _data$WaterConnection100, _data$WaterConnection101, _data$SewerageConnect93, _data$SewerageConnect94, _data$SewerageConnect95, _data$SewerageConnect96, _data$WaterConnection102, _data$WaterConnection103, _data$WaterConnection104, _data$WaterConnection105, _data$SewerageConnect97, _data$SewerageConnect98, _data$SewerageConnect99, _data$SewerageConnect100, _data$WaterConnection106, _data$WaterConnection107, _data$WaterConnection108, _data$WaterConnection109, _data$SewerageConnect101, _data$SewerageConnect102, _data$SewerageConnect103, _data$SewerageConnect104, _data$WaterConnection110, _data$WaterConnection111, _data$WaterConnection112, _data$WaterConnection113, _data$SewerageConnect105, _data$SewerageConnect106, _data$SewerageConnect107, _data$SewerageConnect108, _data$WaterConnection114, _data$WaterConnection115, _data$WaterConnection116, _data$WaterConnection117, _data$WaterConnection118, _data$SewerageConnect109, _data$SewerageConnect110, _data$SewerageConnect111, _data$SewerageConnect112, _data$SewerageConnect113, _data$WaterConnection119, _data$WaterConnection120, _data$WaterConnection121, _data$WaterConnection122, _data$SewerageConnect114, _data$SewerageConnect115, _data$SewerageConnect116, _data$SewerageConnect117, _data$WaterConnection123, _data$WaterConnection124, _data$WaterConnection125, _data$WaterConnection126, _data$SewerageConnect118, _data$SewerageConnect119, _data$SewerageConnect120, _data$SewerageConnect121, _data$WaterConnection127, _data$WaterConnection128, _data$WaterConnection129, _data$WaterConnection130, _data$SewerageConnect122, _data$SewerageConnect123, _data$SewerageConnect124, _data$SewerageConnect125, _data$WaterConnection131, _data$WaterConnection132, _data$WaterConnection133, _data$WaterConnection134, _data$SewerageConnect126, _data$SewerageConnect127, _data$SewerageConnect128, _data$SewerageConnect129, _data$WaterConnection135, _data$WaterConnection136, _data$WaterConnection137, _data$WaterConnection138, _data$SewerageConnect130, _data$SewerageConnect131, _data$SewerageConnect132, _data$SewerageConnect133, _data$WaterConnection139, _data$WaterConnection140, _data$SewerageConnect134, _data$SewerageConnect135, _PTData$Properties4, _PTData$Properties4$, _PTData$Properties4$$, _PTData$Properties4$$2, _PTData$Properties5, _PTData$Properties5$, _PTData$Properties6, _PTData$Properties6$, _PTData$Properties6$$, _PTData$Properties6$$2, _PTData$Properties7, _PTData$Properties7$, _data$WaterConnection141, _data$WaterConnection142, _data$SewerageConnect136, _data$SewerageConnect137, _data$WaterConnection143, _data$WaterConnection144, _data$SewerageConnect138, _data$SewerageConnect139, _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, _useDetails$categoryT, _useDetails$categoryT2, _useDetails$propertyC, _useDetails$propertyC2, _useDetails$propertyT, _useDetails$propertyT2, _useDetails$WaterConn, _useDetails$WaterConn2, _useDetails$waterConn, _useDetails$waterConn2, _useDetails$noOfFloor, _useDetails$noOfFloor2, _useDetails$SelectYea, _useDetails$SelectYea2, _useDetails$SelectYea3, _useDetails$construct, _useDetails$construct2, _data$WaterConnection145, _data$WaterConnection146, _data$WaterConnection147, _data$WaterConnection148, _data$SewerageConnect140, _data$SewerageConnect141, _data$SewerageConnect142, _data$SewerageConnect143, _data$WaterConnection153, _data$SewerageConnect148, _data$WaterConnection154, _data$WaterConnection155, _data$SewerageConnect149, _data$SewerageConnect150, _data$WaterConnection156, _data$WaterConnection157, _data$SewerageConnect151, _data$SewerageConnect152, _paymentDetails$data20, _paymentDetails$data21, _paymentDetails$data22, _data$WaterConnection158, _data$WaterConnection159, _data$SewerageConnect153, _data$SewerageConnect154, _data$WaterConnection160, _data$WaterConnection161, _data$SewerageConnect155, _data$SewerageConnect156, _data$WaterConnection162, _data$WaterConnection163, _data$SewerageConnect157, _data$SewerageConnect158, _data$WaterConnection164, _data$WaterConnection165, _data$WaterConnection166, _data$SewerageConnect159, _data$SewerageConnect160, _data$SewerageConnect161, _PTData$Properties8, _PTData$Properties8$, _PTData$Properties8$$, _data$WaterConnection167, _data$WaterConnection168, _data$WaterConnection169, _data$WaterConnection170, _data$SewerageConnect162, _data$SewerageConnect163, _data$SewerageConnect164, _data$SewerageConnect165, _data$WaterConnection171, _data$WaterConnection172, _data$SewerageConnect166, _data$SewerageConnect167, _data$WaterConnection173, _data$WaterConnection174, _data$SewerageConnect168, _data$SewerageConnect169, _data$WaterConnection175, _data$WaterConnection176, _data$WaterConnection177, _data$WaterConnection178, _data$SewerageConnect170, _data$SewerageConnect171, _data$SewerageConnect172, _data$SewerageConnect173, _data$WaterConnection179, _data$WaterConnection180, _data$SewerageConnect174, _data$SewerageConnect175, _data$SewerageConnect176, _data$SewerageConnect177, _data$SewerageConnect178, _data$SewerageConnect179, _data$SewerageConnect180, _data$SewerageConnect181, _data$SewerageConnect182, _data$SewerageConnect183, _data$SewerageConnect184, _data$WaterConnection181, _data$WaterConnection182, _data$WaterConnection183, _data$WaterConnection184, _data$WaterConnection185, _data$WaterConnection186, _data$WaterConnection187, _data$WaterConnection188, _data$WaterConnection189;
27865
+ var _user$info, _user$info$userName, _user$info2, _user$info3, _Digit$SessionStorage, _user$info4, _data$WaterConnection, _data$WaterConnection2, _data$SewerageConnect, _data$SewerageConnect2, _data$WaterConnection3, _data$WaterConnection4, _data$SewerageConnect3, _data$SewerageConnect4, _data$WaterConnection5, _data$WaterConnection6, _data$SewerageConnect5, _data$SewerageConnect6, _data$WaterConnection7, _data$WaterConnection8, _data$SewerageConnect7, _data$SewerageConnect8, _data$WaterConnection9, _data$WaterConnection0, _data$SewerageConnect9, _data$SewerageConnect0, _data$WaterConnection1, _data$SewerageConnect1, _PTData$Properties, _PTData$Properties$, _data$WaterConnection10, _data$WaterConnection11, _data$WaterConnection12, _data$WaterConnection13, _data$SewerageConnect10, _data$SewerageConnect11, _data$SewerageConnect12, _data$SewerageConnect13, _data$WaterConnection14, _data$WaterConnection15, _data$WaterConnection16, _data$WaterConnection17, _data$SewerageConnect14, _data$SewerageConnect15, _data$SewerageConnect16, _data$SewerageConnect17, _data$WaterConnection36, _data$WaterConnection37, _data$SewerageConnect32, _data$SewerageConnect33, _data$WaterConnection38, _data$WaterConnection39, _data$SewerageConnect34, _data$SewerageConnect35, _data$WaterConnection40, _data$WaterConnection41, _data$SewerageConnect36, _data$SewerageConnect37, _data$WaterConnection42, _data$WaterConnection43, _data$SewerageConnect38, _data$SewerageConnect39, _data$WaterConnection44, _data$WaterConnection45, _data$SewerageConnect40, _data$WaterConnection46, _data$WaterConnection47, _data$SewerageConnect41, _data$SewerageConnect42, _data$WaterConnection48, _data$WaterConnection49, _data$SewerageConnect43, _data$SewerageConnect44, _data$WaterConnection50, _data$WaterConnection51, _data$SewerageConnect45, _data$SewerageConnect46, _data$WaterConnection52, _data$WaterConnection53, _data$SewerageConnect47, _data$SewerageConnect48, _data$WaterConnection54, _data$WaterConnection55, _data$SewerageConnect49, _data$SewerageConnect50, _data$WaterConnection56, _data$WaterConnection57, _data$SewerageConnect51, _data$SewerageConnect52, _data$WaterConnection58, _data$WaterConnection59, _data$SewerageConnect53, _data$SewerageConnect54, _data$WaterConnection60, _data$WaterConnection61, _data$SewerageConnect55, _data$SewerageConnect56, _data$WaterConnection62, _data$WaterConnection63, _data$SewerageConnect57, _data$SewerageConnect58, _data$WaterConnection64, _data$WaterConnection65, _data$SewerageConnect59, _data$SewerageConnect60, _data$WaterConnection66, _data$WaterConnection67, _data$WaterConnection68, _data$WaterConnection69, _data$SewerageConnect61, _data$SewerageConnect62, _data$SewerageConnect63, _data$SewerageConnect64, _paymentDetails$data, _paymentDetails$data$, _paymentDetails$data$2, _paymentDetails$data$3, _paymentDetails$data$4, _paymentDetails$data2, _paymentDetails$data3, _paymentDetails$data4, _paymentDetails$data5, _paymentDetails$data6, _paymentDetails$data7, _paymentDetails$data8, _paymentDetails$data9, _paymentDetails$data0, _paymentDetails$data1, _paymentDetails$data10, _paymentDetails$data11, _paymentDetails$data12, _paymentDetails$data13, _paymentDetails$data14, _paymentDetails$data15, _paymentDetails$data16, _paymentDetails$data17, _paymentDetails$data18, _paymentDetails$data19, _connectionDetails$se, _connectionDetails$se2, _connectionDetails$co, _connectionDetails$co2, _connectionDetails$wa, _connectionDetails$wa2, _connectionDetails$ap, _connectionDetails$ap2, _connectionDetails$do, _connectionDetails$do2, _connectionDetails$do3, _connectionDetails$de, _connectionDetails$de2, _data$WaterConnection70, _data$WaterConnection71, _data$WaterConnection72, _data$SewerageConnect65, _data$SewerageConnect66, _data$SewerageConnect67, _data$WaterConnection73, _data$WaterConnection74, _data$WaterConnection75, _data$WaterConnection76, _data$SewerageConnect68, _data$SewerageConnect69, _data$SewerageConnect70, _data$SewerageConnect71, _data$WaterConnection77, _data$WaterConnection78, _data$WaterConnection79, _data$WaterConnection80, _data$SewerageConnect72, _data$SewerageConnect73, _data$SewerageConnect74, _data$SewerageConnect75, _data$WaterConnection81, _data$WaterConnection82, _data$WaterConnection83, _data$WaterConnection84, _data$SewerageConnect76, _data$SewerageConnect77, _data$SewerageConnect78, _data$SewerageConnect79, _data$WaterConnection85, _data$WaterConnection86, _data$WaterConnection87, _data$WaterConnection88, _data$SewerageConnect80, _data$SewerageConnect81, _data$SewerageConnect82, _data$SewerageConnect83, _data$WaterConnection89, _data$WaterConnection90, _data$WaterConnection91, _data$WaterConnection92, _data$SewerageConnect84, _data$SewerageConnect85, _data$SewerageConnect86, _data$SewerageConnect87, _data$WaterConnection93, _data$WaterConnection94, _data$WaterConnection95, _data$WaterConnection96, _data$SewerageConnect88, _data$SewerageConnect89, _data$SewerageConnect90, _data$SewerageConnect91, _data$WaterConnection97, _data$WaterConnection98, _data$WaterConnection99, _data$WaterConnection100, _data$SewerageConnect92, _data$SewerageConnect93, _data$SewerageConnect94, _data$SewerageConnect95, _data$WaterConnection101, _data$WaterConnection102, _data$WaterConnection103, _data$WaterConnection104, _data$SewerageConnect96, _data$SewerageConnect97, _data$SewerageConnect98, _data$SewerageConnect99, _data$WaterConnection105, _data$WaterConnection106, _data$WaterConnection107, _data$WaterConnection108, _data$SewerageConnect100, _data$SewerageConnect101, _data$SewerageConnect102, _data$SewerageConnect103, _data$WaterConnection109, _data$WaterConnection110, _data$WaterConnection111, _data$WaterConnection112, _data$SewerageConnect104, _data$SewerageConnect105, _data$SewerageConnect106, _data$SewerageConnect107, _data$WaterConnection113, _data$WaterConnection114, _data$WaterConnection115, _data$WaterConnection116, _data$SewerageConnect108, _data$SewerageConnect109, _data$SewerageConnect110, _data$SewerageConnect111, _data$WaterConnection117, _data$WaterConnection118, _data$WaterConnection119, _data$WaterConnection120, _data$SewerageConnect112, _data$SewerageConnect113, _data$SewerageConnect114, _data$SewerageConnect115, _data$WaterConnection121, _data$WaterConnection122, _data$WaterConnection123, _data$WaterConnection124, _data$SewerageConnect116, _data$SewerageConnect117, _data$SewerageConnect118, _data$SewerageConnect119, _data$WaterConnection125, _data$WaterConnection126, _data$SewerageConnect120, _data$SewerageConnect121, _PTData$Properties4, _PTData$Properties4$, _PTData$Properties4$$, _PTData$Properties4$$2, _PTData$Properties5, _PTData$Properties5$, _PTData$Properties6, _PTData$Properties6$, _PTData$Properties6$$, _PTData$Properties6$$2, _PTData$Properties7, _PTData$Properties7$, _data$WaterConnection127, _data$WaterConnection128, _data$SewerageConnect122, _data$SewerageConnect123, _data$WaterConnection129, _data$WaterConnection130, _data$SewerageConnect124, _data$SewerageConnect125, _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, _useDetails$categoryT, _useDetails$categoryT2, _useDetails$propertyC, _useDetails$propertyC2, _useDetails$propertyT, _useDetails$propertyT2, _useDetails$WaterConn, _useDetails$WaterConn2, _useDetails$waterConn, _useDetails$waterConn2, _useDetails$noOfFloor, _useDetails$noOfFloor2, _useDetails$SelectYea, _useDetails$SelectYea2, _useDetails$SelectYea3, _useDetails$construct, _useDetails$construct2, _data$WaterConnection131, _data$WaterConnection132, _data$WaterConnection133, _data$WaterConnection134, _data$SewerageConnect126, _data$SewerageConnect127, _data$SewerageConnect128, _data$SewerageConnect129, _data$WaterConnection139, _data$WaterConnection140, _data$SewerageConnect134, _data$SewerageConnect135, _paymentDetails$data20, _paymentDetails$data21, _paymentDetails$data22, _data$WaterConnection141, _data$WaterConnection142, _data$SewerageConnect136, _data$SewerageConnect137, _data$WaterConnection143, _data$WaterConnection144, _data$SewerageConnect138, _data$SewerageConnect139, _data$WaterConnection145, _data$WaterConnection146, _data$SewerageConnect140, _data$SewerageConnect141, _data$WaterConnection147, _data$WaterConnection148, _data$WaterConnection149, _data$SewerageConnect142, _data$SewerageConnect143, _data$SewerageConnect144, _PTData$Properties8, _PTData$Properties8$, _PTData$Properties8$$, _data$WaterConnection150, _data$WaterConnection151, _data$WaterConnection152, _data$WaterConnection153, _data$SewerageConnect145, _data$SewerageConnect146, _data$SewerageConnect147, _data$SewerageConnect148, _data$WaterConnection154, _data$WaterConnection155, _data$SewerageConnect149, _data$SewerageConnect150, _data$WaterConnection156, _data$WaterConnection157, _data$SewerageConnect151, _data$SewerageConnect152, _data$WaterConnection158, _data$WaterConnection159, _data$WaterConnection160, _data$WaterConnection161, _data$SewerageConnect153, _data$SewerageConnect154, _data$SewerageConnect155, _data$SewerageConnect156, _data$WaterConnection162, _data$WaterConnection163, _data$SewerageConnect157, _data$SewerageConnect158, _data$SewerageConnect159, _data$SewerageConnect160, _data$SewerageConnect161, _data$SewerageConnect162, _data$SewerageConnect163, _data$SewerageConnect164, _data$SewerageConnect165, _data$SewerageConnect166, _data$SewerageConnect167, _data$WaterConnection164, _data$WaterConnection165, _data$WaterConnection166, _data$WaterConnection167, _data$WaterConnection168, _data$WaterConnection169, _data$WaterConnection170, _data$WaterConnection171, _data$WaterConnection172;
28056
27866
  const getDisconnectionNoticeSearch = function () {
28057
27867
  try {
28058
- var _data$WaterConnection191, _data$WaterConnection192, _data$SewerageConnect186, _data$SewerageConnect187;
27868
+ var _data$WaterConnection174, _data$WaterConnection175, _data$SewerageConnect169, _data$SewerageConnect170;
28059
27869
  let key = "ws-waterdisconnectionnotice";
28060
27870
  let details = {};
28061
27871
  if (applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS")) {
28062
- var _data$WaterConnection190, _PTData$Properties9;
27872
+ var _data$WaterConnection173, _PTData$Properties9;
28063
27873
  details = {
28064
- WaterConnection: [_extends({}, data === null || data === void 0 ? void 0 : (_data$WaterConnection190 = data.WaterConnection) === null || _data$WaterConnection190 === void 0 ? void 0 : _data$WaterConnection190[0], {
27874
+ WaterConnection: [_extends({}, data === null || data === void 0 ? void 0 : (_data$WaterConnection173 = data.WaterConnection) === null || _data$WaterConnection173 === void 0 ? void 0 : _data$WaterConnection173[0], {
28065
27875
  property: PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties9 = PTData.Properties) === null || _PTData$Properties9 === void 0 ? void 0 : _PTData$Properties9[0]
28066
27876
  })]
28067
27877
  };
28068
27878
  } else {
28069
- var _data$SewerageConnect185, _PTData$Properties0;
27879
+ var _data$SewerageConnect168, _PTData$Properties0;
28070
27880
  key = "ws-seweragedisconnectionnotice";
28071
27881
  details = {
28072
- SewerageConnection: [_extends({}, data === null || data === void 0 ? void 0 : (_data$SewerageConnect185 = data.SewerageConnections) === null || _data$SewerageConnect185 === void 0 ? void 0 : _data$SewerageConnect185[0], {
27882
+ SewerageConnection: [_extends({}, data === null || data === void 0 ? void 0 : (_data$SewerageConnect168 = data.SewerageConnections) === null || _data$SewerageConnect168 === void 0 ? void 0 : _data$SewerageConnect168[0], {
28073
27883
  property: PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties0 = PTData.Properties) === null || _PTData$Properties0 === void 0 ? void 0 : _PTData$Properties0[0]
28074
27884
  })]
28075
27885
  };
28076
27886
  }
28077
- return Promise.resolve(Digit.WSService.WSDisconnectionNotice((data === null || data === void 0 ? void 0 : (_data$WaterConnection191 = data.WaterConnection) === null || _data$WaterConnection191 === void 0 ? void 0 : (_data$WaterConnection192 = _data$WaterConnection191[0]) === null || _data$WaterConnection192 === void 0 ? void 0 : _data$WaterConnection192.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect186 = data.SewerageConnections) === null || _data$SewerageConnect186 === void 0 ? void 0 : (_data$SewerageConnect187 = _data$SewerageConnect186[0]) === null || _data$SewerageConnect187 === void 0 ? void 0 : _data$SewerageConnect187.tenantId), details, key)).then(function (response) {
28078
- var _data$WaterConnection193, _data$WaterConnection194, _data$SewerageConnect188, _data$SewerageConnect189;
28079
- return Promise.resolve(Digit.PaymentService.printReciept((data === null || data === void 0 ? void 0 : (_data$WaterConnection193 = data.WaterConnection) === null || _data$WaterConnection193 === void 0 ? void 0 : (_data$WaterConnection194 = _data$WaterConnection193[0]) === null || _data$WaterConnection194 === void 0 ? void 0 : _data$WaterConnection194.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect188 = data.SewerageConnections) === null || _data$SewerageConnect188 === void 0 ? void 0 : (_data$SewerageConnect189 = _data$SewerageConnect188[0]) === null || _data$SewerageConnect189 === void 0 ? void 0 : _data$SewerageConnect189.tenantId), {
27887
+ return Promise.resolve(Digit.WSService.WSDisconnectionNotice((data === null || data === void 0 ? void 0 : (_data$WaterConnection174 = data.WaterConnection) === null || _data$WaterConnection174 === void 0 ? void 0 : (_data$WaterConnection175 = _data$WaterConnection174[0]) === null || _data$WaterConnection175 === void 0 ? void 0 : _data$WaterConnection175.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect169 = data.SewerageConnections) === null || _data$SewerageConnect169 === void 0 ? void 0 : (_data$SewerageConnect170 = _data$SewerageConnect169[0]) === null || _data$SewerageConnect170 === void 0 ? void 0 : _data$SewerageConnect170.tenantId), details, key)).then(function (response) {
27888
+ var _data$WaterConnection176, _data$WaterConnection177, _data$SewerageConnect171, _data$SewerageConnect172;
27889
+ return Promise.resolve(Digit.PaymentService.printReciept((data === null || data === void 0 ? void 0 : (_data$WaterConnection176 = data.WaterConnection) === null || _data$WaterConnection176 === void 0 ? void 0 : (_data$WaterConnection177 = _data$WaterConnection176[0]) === null || _data$WaterConnection177 === void 0 ? void 0 : _data$WaterConnection177.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect171 = data.SewerageConnections) === null || _data$SewerageConnect171 === void 0 ? void 0 : (_data$SewerageConnect172 = _data$SewerageConnect171[0]) === null || _data$SewerageConnect172 === void 0 ? void 0 : _data$SewerageConnect172.tenantId), {
28080
27890
  fileStoreIds: response.filestoreIds[0]
28081
27891
  })).then(function (fileStore) {
28082
27892
  window.open(fileStore[response === null || response === void 0 ? void 0 : response.filestoreIds[0]], "_blank");
@@ -28095,8 +27905,7 @@ const WSApplicationDetails = () => {
28095
27905
  const _useState = useState(false),
28096
27906
  showOptions = _useState[0],
28097
27907
  setShowOptions = _useState[1];
28098
- const _useState2 = useState(false),
28099
- setViewTimeline = _useState2[1];
27908
+ const _useState2 = useState(false);
28100
27909
  const applicationNobyData = window.location.href.includes("SW_") ? window.location.href.substring(window.location.href.indexOf("SW_")) : window.location.href.substring(window.location.href.indexOf("WS_"));
28101
27910
  let filter1 = {
28102
27911
  tenantId: tenantId,
@@ -28197,15 +28006,6 @@ const WSApplicationDetails = () => {
28197
28006
  return Promise.reject(e);
28198
28007
  }
28199
28008
  };
28200
- const handleViewTimeline = () => {
28201
- const timelineSection = document.getElementById("timeline");
28202
- if (timelineSection) {
28203
- timelineSection.scrollIntoView({
28204
- behavior: "smooth"
28205
- });
28206
- }
28207
- setViewTimeline(true);
28208
- };
28209
28009
  const printApplicationReceipts = function () {
28210
28010
  try {
28211
28011
  var _data$WaterConnection24, _data$WaterConnection25, _data$WaterConnection26, _data$WaterConnection27, _data$SewerageConnect24, _data$SewerageConnect25;
@@ -28321,12 +28121,34 @@ const WSApplicationDetails = () => {
28321
28121
  let serviceType = data && data !== null && data !== void 0 && (_data$WaterConnection44 = data.WaterConnection) !== null && _data$WaterConnection44 !== void 0 && _data$WaterConnection44[0] ? "WATER" : "SEWERAGE";
28322
28122
  sessionStorage.setItem("ApplicationNoState", applicationNobyData);
28323
28123
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
28124
+ className: "employee-main-application-details",
28125
+ style: {
28126
+ display: "flex",
28127
+ gap: "20px"
28128
+ }
28129
+ }, /*#__PURE__*/React.createElement("div", {
28130
+ className: "workflow-timeline-wrapper no-scrollbar",
28131
+ style: {
28132
+ flex: "1 1 300px",
28133
+ maxWidth: "400px"
28134
+ }
28135
+ }, /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement("div", {
28136
+ id: "timeline"
28137
+ }, /*#__PURE__*/React.createElement(WSWFApplicationTimeline, {
28138
+ application: (data === null || data === void 0 ? void 0 : (_data$WaterConnection45 = data.WaterConnection) === null || _data$WaterConnection45 === void 0 ? void 0 : _data$WaterConnection45[0]) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect40 = data.SewerageConnections) === null || _data$SewerageConnect40 === void 0 ? void 0 : _data$SewerageConnect40[0]),
28139
+ id: (data === null || data === void 0 ? void 0 : (_data$WaterConnection46 = data.WaterConnection) === null || _data$WaterConnection46 === void 0 ? void 0 : (_data$WaterConnection47 = _data$WaterConnection46[0]) === null || _data$WaterConnection47 === void 0 ? void 0 : _data$WaterConnection47.applicationNo) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect41 = data.SewerageConnections) === null || _data$SewerageConnect41 === void 0 ? void 0 : (_data$SewerageConnect42 = _data$SewerageConnect41[0]) === null || _data$SewerageConnect42 === void 0 ? void 0 : _data$SewerageConnect42.applicationNo),
28140
+ paymentbuttonenabled: false
28141
+ })))), /*#__PURE__*/React.createElement("div", {
28142
+ style: {
28143
+ flex: "2 1 500px"
28144
+ }
28145
+ }, /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement("div", {
28324
28146
  className: "cardHeaderWithOptions",
28325
28147
  style: {
28326
28148
  marginRight: "auto",
28327
28149
  maxWidth: "960px"
28328
28150
  }
28329
- }, /*#__PURE__*/React.createElement(Header, null, t("WS_APPLICATION_DETAILS_HEADER")), /*#__PURE__*/React.createElement("div", {
28151
+ }, /*#__PURE__*/React.createElement("div", {
28330
28152
  style: {
28331
28153
  zIndex: "10",
28332
28154
  display: "flex",
@@ -28341,69 +28163,55 @@ const WSApplicationDetails = () => {
28341
28163
  onHeadClick: () => setShowOptions(!showOptions),
28342
28164
  displayOptions: showOptions,
28343
28165
  options: downloadOptions
28344
- })), /*#__PURE__*/React.createElement(LinkButton, {
28345
- label: t("VIEW_TIMELINE"),
28346
- style: {
28347
- color: "#A52A2A"
28348
- },
28349
- onClick: handleViewTimeline
28350
- }))), checkifPrivacyenabled && /*#__PURE__*/React.createElement(WSInfoLabel, {
28166
+ })))), checkifPrivacyenabled && /*#__PURE__*/React.createElement(WSInfoLabel, {
28351
28167
  t: t
28352
28168
  }), /*#__PURE__*/React.createElement("div", {
28353
28169
  className: "hide-seperator"
28354
- }, /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(StatusTable, null, /*#__PURE__*/React.createElement(Row, {
28355
- className: "border-none",
28170
+ }, /*#__PURE__*/React.createElement(StatusTable, null, /*#__PURE__*/React.createElement(Row, {
28356
28171
  label: t("WS_MYCONNECTIONS_APPLICATION_NO"),
28357
- text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection45 = data.WaterConnection) === null || _data$WaterConnection45 === void 0 ? void 0 : (_data$WaterConnection46 = _data$WaterConnection45[0]) === null || _data$WaterConnection46 === void 0 ? void 0 : _data$WaterConnection46.applicationNo) || (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$SewerageConnect41.applicationNo),
28172
+ text: (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$WaterConnection49.applicationNo) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect43 = data.SewerageConnections) === null || _data$SewerageConnect43 === void 0 ? void 0 : (_data$SewerageConnect44 = _data$SewerageConnect43[0]) === null || _data$SewerageConnect44 === void 0 ? void 0 : _data$SewerageConnect44.applicationNo),
28358
28173
  textStyle: {}
28359
- }), ((data === null || data === void 0 ? void 0 : (_data$WaterConnection47 = data.WaterConnection) === null || _data$WaterConnection47 === void 0 ? void 0 : (_data$WaterConnection48 = _data$WaterConnection47[0].applicationType) === null || _data$WaterConnection48 === void 0 ? void 0 : _data$WaterConnection48.includes("DISCONNECT")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect42 = data.SewerageConnections) === null || _data$SewerageConnect42 === void 0 ? void 0 : (_data$SewerageConnect43 = _data$SewerageConnect42[0].applicationType) === null || _data$SewerageConnect43 === void 0 ? void 0 : _data$SewerageConnect43.includes("DISCONNECT"))) && /*#__PURE__*/React.createElement(Row, {
28360
- className: "border-none",
28174
+ }), ((data === null || data === void 0 ? void 0 : (_data$WaterConnection50 = data.WaterConnection) === null || _data$WaterConnection50 === void 0 ? void 0 : (_data$WaterConnection51 = _data$WaterConnection50[0].applicationType) === null || _data$WaterConnection51 === void 0 ? void 0 : _data$WaterConnection51.includes("DISCONNECT")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect45 = data.SewerageConnections) === null || _data$SewerageConnect45 === void 0 ? void 0 : (_data$SewerageConnect46 = _data$SewerageConnect45[0].applicationType) === null || _data$SewerageConnect46 === void 0 ? void 0 : _data$SewerageConnect46.includes("DISCONNECT"))) && /*#__PURE__*/React.createElement(Row, {
28361
28175
  label: t("WS_MYCONNECTIONS_CONSUMER_NO"),
28362
- text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection49 = data.WaterConnection) === null || _data$WaterConnection49 === void 0 ? void 0 : (_data$WaterConnection50 = _data$WaterConnection49[0]) === null || _data$WaterConnection50 === void 0 ? void 0 : _data$WaterConnection50.connectionNo) || (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$SewerageConnect45.connectionNo),
28176
+ text: (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$WaterConnection53.connectionNo) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect47 = data.SewerageConnections) === null || _data$SewerageConnect47 === void 0 ? void 0 : (_data$SewerageConnect48 = _data$SewerageConnect47[0]) === null || _data$SewerageConnect48 === void 0 ? void 0 : _data$SewerageConnect48.connectionNo),
28363
28177
  textStyle: {
28364
28178
  wordBreak: "break-word"
28365
28179
  }
28366
28180
  }), /*#__PURE__*/React.createElement(Row, {
28367
- className: "border-none",
28368
28181
  label: t("WS_SERVICE_NAME_LABEL"),
28369
- text: t("WS_APPLICATION_TYPE_" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection51 = data.WaterConnection) === null || _data$WaterConnection51 === void 0 ? void 0 : (_data$WaterConnection52 = _data$WaterConnection51[0]) === null || _data$WaterConnection52 === void 0 ? void 0 : _data$WaterConnection52.applicationType) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect46 = data.SewerageConnections) === null || _data$SewerageConnect46 === void 0 ? void 0 : (_data$SewerageConnect47 = _data$SewerageConnect46[0]) === null || _data$SewerageConnect47 === void 0 ? void 0 : _data$SewerageConnect47.applicationType))),
28182
+ text: t("WS_APPLICATION_TYPE_" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection54 = data.WaterConnection) === null || _data$WaterConnection54 === void 0 ? void 0 : (_data$WaterConnection55 = _data$WaterConnection54[0]) === null || _data$WaterConnection55 === void 0 ? void 0 : _data$WaterConnection55.applicationType) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect49 = data.SewerageConnections) === null || _data$SewerageConnect49 === void 0 ? void 0 : (_data$SewerageConnect50 = _data$SewerageConnect49[0]) === null || _data$SewerageConnect50 === void 0 ? void 0 : _data$SewerageConnect50.applicationType))),
28370
28183
  textStyle: {
28371
28184
  wordBreak: "break-word"
28372
28185
  }
28373
- }), ((data === null || data === void 0 ? void 0 : (_data$WaterConnection53 = data.WaterConnection) === null || _data$WaterConnection53 === void 0 ? void 0 : (_data$WaterConnection54 = _data$WaterConnection53[0].applicationType) === null || _data$WaterConnection54 === void 0 ? void 0 : _data$WaterConnection54.includes("DISCONNECT")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect48 = data.SewerageConnections) === null || _data$SewerageConnect48 === void 0 ? void 0 : (_data$SewerageConnect49 = _data$SewerageConnect48[0].applicationType) === null || _data$SewerageConnect49 === void 0 ? void 0 : _data$SewerageConnect49.includes("DISCONNECT"))) && /*#__PURE__*/React.createElement(Row, {
28374
- className: "border-none",
28186
+ }), ((data === null || data === void 0 ? void 0 : (_data$WaterConnection56 = data.WaterConnection) === null || _data$WaterConnection56 === void 0 ? void 0 : (_data$WaterConnection57 = _data$WaterConnection56[0].applicationType) === null || _data$WaterConnection57 === void 0 ? void 0 : _data$WaterConnection57.includes("DISCONNECT")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect51 = data.SewerageConnections) === null || _data$SewerageConnect51 === void 0 ? void 0 : (_data$SewerageConnect52 = _data$SewerageConnect51[0].applicationType) === null || _data$SewerageConnect52 === void 0 ? void 0 : _data$SewerageConnect52.includes("DISCONNECT"))) && /*#__PURE__*/React.createElement(Row, {
28375
28187
  label: t("WS_DISCONNECTION_PROPOSED_DATE"),
28376
- text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? convertEpochToDate(data === null || data === void 0 ? void 0 : (_data$WaterConnection55 = data.WaterConnection) === null || _data$WaterConnection55 === void 0 ? void 0 : (_data$WaterConnection56 = _data$WaterConnection55[0]) === null || _data$WaterConnection56 === void 0 ? void 0 : _data$WaterConnection56.dateEffectiveFrom) : convertEpochToDate(data === null || data === void 0 ? void 0 : (_data$SewerageConnect50 = data.SewerageConnections) === null || _data$SewerageConnect50 === void 0 ? void 0 : (_data$SewerageConnect51 = _data$SewerageConnect50[0]) === null || _data$SewerageConnect51 === void 0 ? void 0 : _data$SewerageConnect51.dateEffectiveFrom),
28188
+ text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? convertEpochToDate(data === null || data === void 0 ? void 0 : (_data$WaterConnection58 = data.WaterConnection) === null || _data$WaterConnection58 === void 0 ? void 0 : (_data$WaterConnection59 = _data$WaterConnection58[0]) === null || _data$WaterConnection59 === void 0 ? void 0 : _data$WaterConnection59.dateEffectiveFrom) : convertEpochToDate(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$SewerageConnect54.dateEffectiveFrom),
28377
28189
  textStyle: {
28378
28190
  wordBreak: "break-word"
28379
28191
  }
28380
- }), ((data === null || data === void 0 ? void 0 : (_data$WaterConnection57 = data.WaterConnection) === null || _data$WaterConnection57 === void 0 ? void 0 : (_data$WaterConnection58 = _data$WaterConnection57[0].applicationType) === null || _data$WaterConnection58 === void 0 ? void 0 : _data$WaterConnection58.includes("DISCONNECT")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect52 = data.SewerageConnections) === null || _data$SewerageConnect52 === void 0 ? void 0 : (_data$SewerageConnect53 = _data$SewerageConnect52[0].applicationType) === null || _data$SewerageConnect53 === void 0 ? void 0 : _data$SewerageConnect53.includes("DISCONNECT"))) && /*#__PURE__*/React.createElement(Row, {
28381
- className: "border-none",
28192
+ }), ((data === null || data === void 0 ? void 0 : (_data$WaterConnection60 = data.WaterConnection) === null || _data$WaterConnection60 === void 0 ? void 0 : (_data$WaterConnection61 = _data$WaterConnection60[0].applicationType) === null || _data$WaterConnection61 === void 0 ? void 0 : _data$WaterConnection61.includes("DISCONNECT")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect55 = data.SewerageConnections) === null || _data$SewerageConnect55 === void 0 ? void 0 : (_data$SewerageConnect56 = _data$SewerageConnect55[0].applicationType) === null || _data$SewerageConnect56 === void 0 ? void 0 : _data$SewerageConnect56.includes("DISCONNECT"))) && /*#__PURE__*/React.createElement(Row, {
28382
28193
  label: t("WS_DISCONNECTION_EXECUTED_DATE"),
28383
- text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? convertEpochToDate(data === null || data === void 0 ? void 0 : (_data$WaterConnection59 = data.WaterConnection) === null || _data$WaterConnection59 === void 0 ? void 0 : (_data$WaterConnection60 = _data$WaterConnection59[0]) === null || _data$WaterConnection60 === void 0 ? void 0 : _data$WaterConnection60.disconnectionExecutionDate) : convertEpochToDate(data === null || data === void 0 ? void 0 : (_data$SewerageConnect54 = data.SewerageConnections) === null || _data$SewerageConnect54 === void 0 ? void 0 : (_data$SewerageConnect55 = _data$SewerageConnect54[0]) === null || _data$SewerageConnect55 === void 0 ? void 0 : _data$SewerageConnect55.disconnectionExecutionDate),
28194
+ text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? convertEpochToDate(data === null || data === void 0 ? void 0 : (_data$WaterConnection62 = data.WaterConnection) === null || _data$WaterConnection62 === void 0 ? void 0 : (_data$WaterConnection63 = _data$WaterConnection62[0]) === null || _data$WaterConnection63 === void 0 ? void 0 : _data$WaterConnection63.disconnectionExecutionDate) : convertEpochToDate(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$SewerageConnect58.disconnectionExecutionDate),
28384
28195
  textStyle: {
28385
28196
  wordBreak: "break-word"
28386
28197
  }
28387
- }), ((data === null || data === void 0 ? void 0 : (_data$WaterConnection61 = data.WaterConnection) === null || _data$WaterConnection61 === void 0 ? void 0 : (_data$WaterConnection62 = _data$WaterConnection61[0].applicationType) === null || _data$WaterConnection62 === void 0 ? void 0 : _data$WaterConnection62.includes("DISCONNECT")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect56 = data.SewerageConnections) === null || _data$SewerageConnect56 === void 0 ? void 0 : (_data$SewerageConnect57 = _data$SewerageConnect56[0].applicationType) === null || _data$SewerageConnect57 === void 0 ? void 0 : _data$SewerageConnect57.includes("DISCONNECT"))) && /*#__PURE__*/React.createElement(Row, {
28388
- className: "border-none",
28198
+ }), ((data === null || data === void 0 ? void 0 : (_data$WaterConnection64 = data.WaterConnection) === null || _data$WaterConnection64 === void 0 ? void 0 : (_data$WaterConnection65 = _data$WaterConnection64[0].applicationType) === null || _data$WaterConnection65 === void 0 ? void 0 : _data$WaterConnection65.includes("DISCONNECT")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect59 = data.SewerageConnections) === null || _data$SewerageConnect59 === void 0 ? void 0 : (_data$SewerageConnect60 = _data$SewerageConnect59[0].applicationType) === null || _data$SewerageConnect60 === void 0 ? void 0 : _data$SewerageConnect60.includes("DISCONNECT"))) && /*#__PURE__*/React.createElement(Row, {
28389
28199
  label: t("WS_DISCONNECTION_REASON"),
28390
- text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection63 = data.WaterConnection) === null || _data$WaterConnection63 === void 0 ? void 0 : (_data$WaterConnection64 = _data$WaterConnection63[0]) === null || _data$WaterConnection64 === void 0 ? void 0 : _data$WaterConnection64.disconnectionReason) != null ? 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$WaterConnection66.disconnectionReason : (data === null || data === void 0 ? void 0 : (_data$SewerageConnect58 = data.SewerageConnections) === null || _data$SewerageConnect58 === void 0 ? void 0 : (_data$SewerageConnect59 = _data$SewerageConnect58[0]) === null || _data$SewerageConnect59 === void 0 ? void 0 : _data$SewerageConnect59.disconnectionReason) != null ? data === null || data === void 0 ? void 0 : (_data$SewerageConnect60 = data.SewerageConnections) === null || _data$SewerageConnect60 === void 0 ? void 0 : (_data$SewerageConnect61 = _data$SewerageConnect60[0]) === null || _data$SewerageConnect61 === void 0 ? void 0 : _data$SewerageConnect61.disconnectionReason : t("NA"),
28200
+ text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection66 = data.WaterConnection) === null || _data$WaterConnection66 === void 0 ? void 0 : (_data$WaterConnection67 = _data$WaterConnection66[0]) === null || _data$WaterConnection67 === void 0 ? void 0 : _data$WaterConnection67.disconnectionReason) != null ? data === null || data === void 0 ? void 0 : (_data$WaterConnection68 = data.WaterConnection) === null || _data$WaterConnection68 === void 0 ? void 0 : (_data$WaterConnection69 = _data$WaterConnection68[0]) === null || _data$WaterConnection69 === void 0 ? void 0 : _data$WaterConnection69.disconnectionReason : (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$SewerageConnect62.disconnectionReason) != null ? data === null || data === void 0 ? void 0 : (_data$SewerageConnect63 = data.SewerageConnections) === null || _data$SewerageConnect63 === void 0 ? void 0 : (_data$SewerageConnect64 = _data$SewerageConnect63[0]) === null || _data$SewerageConnect64 === void 0 ? void 0 : _data$SewerageConnect64.disconnectionReason : t("NA"),
28391
28201
  textStyle: {
28392
28202
  wordBreak: "break-word"
28393
28203
  }
28394
- }))), (paymentDetails === null || paymentDetails === void 0 ? void 0 : (_paymentDetails$data = paymentDetails.data) === null || _paymentDetails$data === void 0 ? void 0 : (_paymentDetails$data$ = _paymentDetails$data.Bill) === null || _paymentDetails$data$ === void 0 ? void 0 : (_paymentDetails$data$2 = _paymentDetails$data$[0]) === null || _paymentDetails$data$2 === void 0 ? void 0 : (_paymentDetails$data$3 = _paymentDetails$data$2.billDetails) === null || _paymentDetails$data$3 === void 0 ? void 0 : (_paymentDetails$data$4 = _paymentDetails$data$3[0]) === null || _paymentDetails$data$4 === void 0 ? void 0 : _paymentDetails$data$4.billAccountDetails.length) > 0 && /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(CardHeader, {
28204
+ })), (paymentDetails === null || paymentDetails === void 0 ? void 0 : (_paymentDetails$data = paymentDetails.data) === null || _paymentDetails$data === void 0 ? void 0 : (_paymentDetails$data$ = _paymentDetails$data.Bill) === null || _paymentDetails$data$ === void 0 ? void 0 : (_paymentDetails$data$2 = _paymentDetails$data$[0]) === null || _paymentDetails$data$2 === void 0 ? void 0 : (_paymentDetails$data$3 = _paymentDetails$data$2.billDetails) === null || _paymentDetails$data$3 === void 0 ? void 0 : (_paymentDetails$data$4 = _paymentDetails$data$3[0]) === null || _paymentDetails$data$4 === void 0 ? void 0 : _paymentDetails$data$4.billAccountDetails.length) > 0 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(CardHeader, {
28395
28205
  styles: {
28396
28206
  fontSize: "28px"
28397
28207
  }
28398
28208
  }, t("WS_FEE_DEATAILS_HEADER")), /*#__PURE__*/React.createElement(StatusTable, null, paymentDetails === null || paymentDetails === void 0 ? void 0 : (_paymentDetails$data2 = paymentDetails.data) === null || _paymentDetails$data2 === void 0 ? void 0 : (_paymentDetails$data3 = _paymentDetails$data2.Bill) === null || _paymentDetails$data3 === void 0 ? void 0 : (_paymentDetails$data4 = _paymentDetails$data3[0]) === null || _paymentDetails$data4 === void 0 ? void 0 : (_paymentDetails$data5 = _paymentDetails$data4.billDetails) === null || _paymentDetails$data5 === void 0 ? void 0 : (_paymentDetails$data6 = _paymentDetails$data5[0]) === null || _paymentDetails$data6 === void 0 ? void 0 : _paymentDetails$data6.billAccountDetails.map(bill => /*#__PURE__*/React.createElement(Row, {
28399
- className: "border-none",
28400
28209
  label: t(bill === null || bill === void 0 ? void 0 : bill.taxHeadCode),
28401
28210
  text: "\u20B9" + Number(bill === null || bill === void 0 ? void 0 : bill.amount).toFixed(2),
28402
28211
  textStyle: {
28403
28212
  textAlign: "right"
28404
28213
  }
28405
28214
  })), /*#__PURE__*/React.createElement(Row, {
28406
- className: "border-none",
28407
28215
  label: t("WS_TOTAL_AMOUNT_DUE"),
28408
28216
  text: "\u20B9" + Number(isPaid ? 0 : paymentDetails === null || paymentDetails === void 0 ? void 0 : (_paymentDetails$data7 = paymentDetails.data) === null || _paymentDetails$data7 === void 0 ? void 0 : (_paymentDetails$data8 = _paymentDetails$data7.Bill) === null || _paymentDetails$data8 === void 0 ? void 0 : (_paymentDetails$data9 = _paymentDetails$data8[0]) === null || _paymentDetails$data9 === void 0 ? void 0 : (_paymentDetails$data0 = _paymentDetails$data9.billDetails) === null || _paymentDetails$data0 === void 0 ? void 0 : (_paymentDetails$data1 = _paymentDetails$data0[0]) === null || _paymentDetails$data1 === void 0 ? void 0 : _paymentDetails$data1.amount).toFixed(2),
28409
28217
  textStyle: {
@@ -28412,7 +28220,6 @@ const WSApplicationDetails = () => {
28412
28220
  fontWeight: "700"
28413
28221
  }
28414
28222
  }), /*#__PURE__*/React.createElement(Row, {
28415
- className: "border-none",
28416
28223
  label: t("WS_COMMON_TABLE_COL_APPLICATION_STATUS"),
28417
28224
  text: isPaid || Number(paymentDetails === null || paymentDetails === void 0 ? void 0 : (_paymentDetails$data10 = paymentDetails.data) === null || _paymentDetails$data10 === void 0 ? void 0 : (_paymentDetails$data11 = _paymentDetails$data10.Bill) === null || _paymentDetails$data11 === void 0 ? void 0 : (_paymentDetails$data12 = _paymentDetails$data11[0]) === null || _paymentDetails$data12 === void 0 ? void 0 : (_paymentDetails$data13 = _paymentDetails$data12.billDetails) === null || _paymentDetails$data13 === void 0 ? void 0 : (_paymentDetails$data14 = _paymentDetails$data13[0]) === null || _paymentDetails$data14 === void 0 ? void 0 : _paymentDetails$data14.amount).toFixed(2) == 0 ? t("WS_COMMON_PAID_LABEL") : t("WS_COMMON_NOT_PAID"),
28418
28225
  textStyle: isPaid || Number(paymentDetails === null || paymentDetails === void 0 ? void 0 : (_paymentDetails$data15 = paymentDetails.data) === null || _paymentDetails$data15 === void 0 ? void 0 : (_paymentDetails$data16 = _paymentDetails$data15.Bill) === null || _paymentDetails$data16 === void 0 ? void 0 : (_paymentDetails$data17 = _paymentDetails$data16[0]) === null || _paymentDetails$data17 === void 0 ? void 0 : (_paymentDetails$data18 = _paymentDetails$data17.billDetails) === null || _paymentDetails$data18 === void 0 ? void 0 : (_paymentDetails$data19 = _paymentDetails$data18[0]) === null || _paymentDetails$data19 === void 0 ? void 0 : _paymentDetails$data19.amount).toFixed(2) == 0 ? {
@@ -28422,7 +28229,7 @@ const WSApplicationDetails = () => {
28422
28229
  textAlign: "right",
28423
28230
  color: "red"
28424
28231
  }
28425
- }))), /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(CardHeader, {
28232
+ }))), /*#__PURE__*/React.createElement(CardHeader, {
28426
28233
  styles: {
28427
28234
  fontSize: "28px"
28428
28235
  }
@@ -28455,19 +28262,18 @@ const WSApplicationDetails = () => {
28455
28262
  }), /*#__PURE__*/React.createElement(Row, {
28456
28263
  label: t("WS_NATURE_OF_WORK"),
28457
28264
  text: "" + t(checkForNA$1(connectionDetails === null || connectionDetails === void 0 ? void 0 : connectionDetails.natureOfWork))
28458
- })))), (data === null || data === void 0 ? void 0 : (_data$WaterConnection67 = data.WaterConnection) === null || _data$WaterConnection67 === void 0 ? void 0 : (_data$WaterConnection68 = _data$WaterConnection67[0]) === null || _data$WaterConnection68 === void 0 ? void 0 : (_data$WaterConnection69 = _data$WaterConnection68.connectionHolders) === null || _data$WaterConnection69 === void 0 ? void 0 : _data$WaterConnection69.length) > 0 || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect62 = data.SewerageConnections) === null || _data$SewerageConnect62 === void 0 ? void 0 : (_data$SewerageConnect63 = _data$SewerageConnect62[0]) === null || _data$SewerageConnect63 === void 0 ? void 0 : (_data$SewerageConnect64 = _data$SewerageConnect63.connectionHolders) === null || _data$SewerageConnect64 === void 0 ? void 0 : _data$SewerageConnect64.length) > 0 ? /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(CardHeader, {
28265
+ }))), (data === null || data === void 0 ? void 0 : (_data$WaterConnection70 = data.WaterConnection) === null || _data$WaterConnection70 === void 0 ? void 0 : (_data$WaterConnection71 = _data$WaterConnection70[0]) === null || _data$WaterConnection71 === void 0 ? void 0 : (_data$WaterConnection72 = _data$WaterConnection71.connectionHolders) === null || _data$WaterConnection72 === void 0 ? void 0 : _data$WaterConnection72.length) > 0 || (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$SewerageConnect67.length) > 0 ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(CardHeader, {
28459
28266
  styles: {
28460
28267
  fontSize: "28px"
28461
28268
  }
28462
28269
  }, t("WS_COMMON_CONNECTION_HOLDER_DETAILS_HEADER")), /*#__PURE__*/React.createElement(StatusTable, null, /*#__PURE__*/React.createElement(Row, {
28463
- className: "border-none",
28464
28270
  label: t("WS_OWN_DETAIL_MOBILE_NO_LABEL"),
28465
- text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection70 = data.WaterConnection) === null || _data$WaterConnection70 === void 0 ? void 0 : (_data$WaterConnection71 = _data$WaterConnection70[0]) === null || _data$WaterConnection71 === void 0 ? void 0 : (_data$WaterConnection72 = _data$WaterConnection71.connectionHolders) === null || _data$WaterConnection72 === void 0 ? void 0 : (_data$WaterConnection73 = _data$WaterConnection72[0]) === null || _data$WaterConnection73 === void 0 ? void 0 : _data$WaterConnection73.mobileNumber) || (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.mobileNumber),
28271
+ text: (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.mobileNumber) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect68 = data.SewerageConnections) === null || _data$SewerageConnect68 === void 0 ? void 0 : (_data$SewerageConnect69 = _data$SewerageConnect68[0]) === null || _data$SewerageConnect69 === void 0 ? void 0 : (_data$SewerageConnect70 = _data$SewerageConnect69.connectionHolders) === null || _data$SewerageConnect70 === void 0 ? void 0 : (_data$SewerageConnect71 = _data$SewerageConnect70[0]) === null || _data$SewerageConnect71 === void 0 ? void 0 : _data$SewerageConnect71.mobileNumber),
28466
28272
  textStyle: {
28467
28273
  whiteSpace: "pre"
28468
28274
  },
28469
28275
  privacy: {
28470
- uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection74 = data.WaterConnection) === null || _data$WaterConnection74 === void 0 ? void 0 : (_data$WaterConnection75 = _data$WaterConnection74[0]) === null || _data$WaterConnection75 === void 0 ? void 0 : (_data$WaterConnection76 = _data$WaterConnection75.connectionHolders) === null || _data$WaterConnection76 === void 0 ? void 0 : (_data$WaterConnection77 = _data$WaterConnection76[0]) === null || _data$WaterConnection77 === void 0 ? void 0 : _data$WaterConnection77.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,
28276
+ 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$SewerageConnect72 = data.SewerageConnections) === null || _data$SewerageConnect72 === void 0 ? void 0 : (_data$SewerageConnect73 = _data$SewerageConnect72[0]) === null || _data$SewerageConnect73 === void 0 ? void 0 : (_data$SewerageConnect74 = _data$SewerageConnect73.connectionHolders) === null || _data$SewerageConnect74 === void 0 ? void 0 : (_data$SewerageConnect75 = _data$SewerageConnect74[0]) === null || _data$SewerageConnect75 === void 0 ? void 0 : _data$SewerageConnect75.uuid,
28471
28277
  fieldName: "connectionHoldersMobileNumber",
28472
28278
  model: "WnSConnectionOwner",
28473
28279
  showValue: false,
@@ -28483,21 +28289,19 @@ const WSApplicationDetails = () => {
28483
28289
  }
28484
28290
  }
28485
28291
  }), /*#__PURE__*/React.createElement(Row, {
28486
- className: "border-none",
28487
28292
  label: t("WS_OWN_DETAIL_OWN_NAME_LABEL"),
28488
- text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection78 = data.WaterConnection) === null || _data$WaterConnection78 === void 0 ? void 0 : (_data$WaterConnection79 = _data$WaterConnection78[0]) === null || _data$WaterConnection79 === void 0 ? void 0 : (_data$WaterConnection80 = _data$WaterConnection79.connectionHolders) === null || _data$WaterConnection80 === void 0 ? void 0 : (_data$WaterConnection81 = _data$WaterConnection80[0]) === null || _data$WaterConnection81 === void 0 ? void 0 : _data$WaterConnection81.name) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect73 = data.SewerageConnections) === null || _data$SewerageConnect73 === void 0 ? void 0 : (_data$SewerageConnect74 = _data$SewerageConnect73[0]) === null || _data$SewerageConnect74 === void 0 ? void 0 : (_data$SewerageConnect75 = _data$SewerageConnect74.connectionHolders) === null || _data$SewerageConnect75 === void 0 ? void 0 : (_data$SewerageConnect76 = _data$SewerageConnect75[0]) === null || _data$SewerageConnect76 === void 0 ? void 0 : _data$SewerageConnect76.name),
28293
+ text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection81 = data.WaterConnection) === null || _data$WaterConnection81 === void 0 ? void 0 : (_data$WaterConnection82 = _data$WaterConnection81[0]) === null || _data$WaterConnection82 === void 0 ? void 0 : (_data$WaterConnection83 = _data$WaterConnection82.connectionHolders) === null || _data$WaterConnection83 === void 0 ? void 0 : (_data$WaterConnection84 = _data$WaterConnection83[0]) === null || _data$WaterConnection84 === void 0 ? void 0 : _data$WaterConnection84.name) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect76 = data.SewerageConnections) === null || _data$SewerageConnect76 === void 0 ? void 0 : (_data$SewerageConnect77 = _data$SewerageConnect76[0]) === null || _data$SewerageConnect77 === void 0 ? void 0 : (_data$SewerageConnect78 = _data$SewerageConnect77.connectionHolders) === null || _data$SewerageConnect78 === void 0 ? void 0 : (_data$SewerageConnect79 = _data$SewerageConnect78[0]) === null || _data$SewerageConnect79 === void 0 ? void 0 : _data$SewerageConnect79.name),
28489
28294
  textStyle: {
28490
28295
  whiteSpace: "pre"
28491
28296
  }
28492
28297
  }), /*#__PURE__*/React.createElement(Row, {
28493
- className: "border-none",
28494
28298
  label: t("WS_OWN_DETAIL_GENDER_LABEL"),
28495
- text: t((data === null || data === void 0 ? void 0 : (_data$WaterConnection82 = data.WaterConnection) === null || _data$WaterConnection82 === void 0 ? void 0 : (_data$WaterConnection83 = _data$WaterConnection82[0]) === null || _data$WaterConnection83 === void 0 ? void 0 : (_data$WaterConnection84 = _data$WaterConnection83.connectionHolders) === null || _data$WaterConnection84 === void 0 ? void 0 : (_data$WaterConnection85 = _data$WaterConnection84[0]) === null || _data$WaterConnection85 === void 0 ? void 0 : _data$WaterConnection85.gender) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect77 = data.SewerageConnections) === null || _data$SewerageConnect77 === void 0 ? void 0 : (_data$SewerageConnect78 = _data$SewerageConnect77[0]) === null || _data$SewerageConnect78 === void 0 ? void 0 : (_data$SewerageConnect79 = _data$SewerageConnect78.connectionHolders) === null || _data$SewerageConnect79 === void 0 ? void 0 : (_data$SewerageConnect80 = _data$SewerageConnect79[0]) === null || _data$SewerageConnect80 === void 0 ? void 0 : _data$SewerageConnect80.gender)),
28299
+ text: t((data === null || data === void 0 ? void 0 : (_data$WaterConnection85 = data.WaterConnection) === null || _data$WaterConnection85 === void 0 ? void 0 : (_data$WaterConnection86 = _data$WaterConnection85[0]) === null || _data$WaterConnection86 === void 0 ? void 0 : (_data$WaterConnection87 = _data$WaterConnection86.connectionHolders) === null || _data$WaterConnection87 === void 0 ? void 0 : (_data$WaterConnection88 = _data$WaterConnection87[0]) === null || _data$WaterConnection88 === void 0 ? void 0 : _data$WaterConnection88.gender) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect80 = data.SewerageConnections) === null || _data$SewerageConnect80 === void 0 ? void 0 : (_data$SewerageConnect81 = _data$SewerageConnect80[0]) === null || _data$SewerageConnect81 === void 0 ? void 0 : (_data$SewerageConnect82 = _data$SewerageConnect81.connectionHolders) === null || _data$SewerageConnect82 === void 0 ? void 0 : (_data$SewerageConnect83 = _data$SewerageConnect82[0]) === null || _data$SewerageConnect83 === void 0 ? void 0 : _data$SewerageConnect83.gender)),
28496
28300
  textStyle: {
28497
28301
  whiteSpace: "pre"
28498
28302
  },
28499
28303
  privacy: {
28500
- uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection86 = data.WaterConnection) === null || _data$WaterConnection86 === void 0 ? void 0 : (_data$WaterConnection87 = _data$WaterConnection86[0]) === null || _data$WaterConnection87 === void 0 ? void 0 : (_data$WaterConnection88 = _data$WaterConnection87.connectionHolders) === null || _data$WaterConnection88 === void 0 ? void 0 : (_data$WaterConnection89 = _data$WaterConnection88[0]) === null || _data$WaterConnection89 === void 0 ? void 0 : _data$WaterConnection89.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect81 = data.SewerageConnections) === null || _data$SewerageConnect81 === void 0 ? void 0 : (_data$SewerageConnect82 = _data$SewerageConnect81[0]) === null || _data$SewerageConnect82 === void 0 ? void 0 : (_data$SewerageConnect83 = _data$SewerageConnect82.connectionHolders) === null || _data$SewerageConnect83 === void 0 ? void 0 : (_data$SewerageConnect84 = _data$SewerageConnect83[0]) === null || _data$SewerageConnect84 === void 0 ? void 0 : _data$SewerageConnect84.uuid,
28304
+ uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection89 = data.WaterConnection) === null || _data$WaterConnection89 === void 0 ? void 0 : (_data$WaterConnection90 = _data$WaterConnection89[0]) === null || _data$WaterConnection90 === void 0 ? void 0 : (_data$WaterConnection91 = _data$WaterConnection90.connectionHolders) === null || _data$WaterConnection91 === void 0 ? void 0 : (_data$WaterConnection92 = _data$WaterConnection91[0]) === null || _data$WaterConnection92 === void 0 ? void 0 : _data$WaterConnection92.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect84 = data.SewerageConnections) === null || _data$SewerageConnect84 === void 0 ? void 0 : (_data$SewerageConnect85 = _data$SewerageConnect84[0]) === null || _data$SewerageConnect85 === void 0 ? void 0 : (_data$SewerageConnect86 = _data$SewerageConnect85.connectionHolders) === null || _data$SewerageConnect86 === void 0 ? void 0 : (_data$SewerageConnect87 = _data$SewerageConnect86[0]) === null || _data$SewerageConnect87 === void 0 ? void 0 : _data$SewerageConnect87.uuid,
28501
28305
  fieldName: "gender",
28502
28306
  model: "WnSConnectionOwner",
28503
28307
  showValue: false,
@@ -28513,14 +28317,13 @@ const WSApplicationDetails = () => {
28513
28317
  }
28514
28318
  }
28515
28319
  }), /*#__PURE__*/React.createElement(Row, {
28516
- className: "border-none",
28517
28320
  label: t("WS_OWN_DETAIL_FATHER_OR_HUSBAND_NAME"),
28518
- text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection90 = data.WaterConnection) === null || _data$WaterConnection90 === void 0 ? void 0 : (_data$WaterConnection91 = _data$WaterConnection90[0]) === null || _data$WaterConnection91 === void 0 ? void 0 : (_data$WaterConnection92 = _data$WaterConnection91.connectionHolders) === null || _data$WaterConnection92 === void 0 ? void 0 : (_data$WaterConnection93 = _data$WaterConnection92[0]) === null || _data$WaterConnection93 === void 0 ? void 0 : _data$WaterConnection93.fatherOrHusbandName) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect85 = data.SewerageConnections) === null || _data$SewerageConnect85 === void 0 ? void 0 : (_data$SewerageConnect86 = _data$SewerageConnect85[0]) === null || _data$SewerageConnect86 === void 0 ? void 0 : (_data$SewerageConnect87 = _data$SewerageConnect86.connectionHolders) === null || _data$SewerageConnect87 === void 0 ? void 0 : (_data$SewerageConnect88 = _data$SewerageConnect87[0]) === null || _data$SewerageConnect88 === void 0 ? void 0 : _data$SewerageConnect88.fatherOrHusbandName) || t("CS_NA"),
28321
+ text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection93 = data.WaterConnection) === null || _data$WaterConnection93 === void 0 ? void 0 : (_data$WaterConnection94 = _data$WaterConnection93[0]) === null || _data$WaterConnection94 === void 0 ? void 0 : (_data$WaterConnection95 = _data$WaterConnection94.connectionHolders) === null || _data$WaterConnection95 === void 0 ? void 0 : (_data$WaterConnection96 = _data$WaterConnection95[0]) === null || _data$WaterConnection96 === void 0 ? void 0 : _data$WaterConnection96.fatherOrHusbandName) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect88 = data.SewerageConnections) === null || _data$SewerageConnect88 === void 0 ? void 0 : (_data$SewerageConnect89 = _data$SewerageConnect88[0]) === null || _data$SewerageConnect89 === void 0 ? void 0 : (_data$SewerageConnect90 = _data$SewerageConnect89.connectionHolders) === null || _data$SewerageConnect90 === void 0 ? void 0 : (_data$SewerageConnect91 = _data$SewerageConnect90[0]) === null || _data$SewerageConnect91 === void 0 ? void 0 : _data$SewerageConnect91.fatherOrHusbandName) || t("CS_NA"),
28519
28322
  textStyle: {
28520
28323
  whiteSpace: "pre"
28521
28324
  },
28522
28325
  privacy: {
28523
- uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection94 = data.WaterConnection) === null || _data$WaterConnection94 === void 0 ? void 0 : (_data$WaterConnection95 = _data$WaterConnection94[0]) === null || _data$WaterConnection95 === void 0 ? void 0 : (_data$WaterConnection96 = _data$WaterConnection95.connectionHolders) === null || _data$WaterConnection96 === void 0 ? void 0 : (_data$WaterConnection97 = _data$WaterConnection96[0]) === null || _data$WaterConnection97 === void 0 ? void 0 : _data$WaterConnection97.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect89 = data.SewerageConnections) === null || _data$SewerageConnect89 === void 0 ? void 0 : (_data$SewerageConnect90 = _data$SewerageConnect89[0]) === null || _data$SewerageConnect90 === void 0 ? void 0 : (_data$SewerageConnect91 = _data$SewerageConnect90.connectionHolders) === null || _data$SewerageConnect91 === void 0 ? void 0 : (_data$SewerageConnect92 = _data$SewerageConnect91[0]) === null || _data$SewerageConnect92 === void 0 ? void 0 : _data$SewerageConnect92.uuid,
28326
+ uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection97 = data.WaterConnection) === null || _data$WaterConnection97 === void 0 ? void 0 : (_data$WaterConnection98 = _data$WaterConnection97[0]) === null || _data$WaterConnection98 === void 0 ? void 0 : (_data$WaterConnection99 = _data$WaterConnection98.connectionHolders) === null || _data$WaterConnection99 === void 0 ? void 0 : (_data$WaterConnection100 = _data$WaterConnection99[0]) === null || _data$WaterConnection100 === void 0 ? void 0 : _data$WaterConnection100.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect92 = data.SewerageConnections) === null || _data$SewerageConnect92 === void 0 ? void 0 : (_data$SewerageConnect93 = _data$SewerageConnect92[0]) === null || _data$SewerageConnect93 === void 0 ? void 0 : (_data$SewerageConnect94 = _data$SewerageConnect93.connectionHolders) === null || _data$SewerageConnect94 === void 0 ? void 0 : (_data$SewerageConnect95 = _data$SewerageConnect94[0]) === null || _data$SewerageConnect95 === void 0 ? void 0 : _data$SewerageConnect95.uuid,
28524
28327
  fieldName: "fatherOrHusbandName",
28525
28328
  model: "WnSConnectionOwner",
28526
28329
  showValue: false,
@@ -28536,14 +28339,13 @@ const WSApplicationDetails = () => {
28536
28339
  }
28537
28340
  }
28538
28341
  }), /*#__PURE__*/React.createElement(Row, {
28539
- className: "border-none",
28540
28342
  label: t("WS_OWN_DETAIL_RELATION_LABEL"),
28541
- text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection98 = data.WaterConnection) === null || _data$WaterConnection98 === void 0 ? void 0 : (_data$WaterConnection99 = _data$WaterConnection98[0]) === null || _data$WaterConnection99 === void 0 ? void 0 : (_data$WaterConnection100 = _data$WaterConnection99.connectionHolders) === null || _data$WaterConnection100 === void 0 ? void 0 : (_data$WaterConnection101 = _data$WaterConnection100[0]) === null || _data$WaterConnection101 === void 0 ? void 0 : _data$WaterConnection101.relationship) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect93 = data.SewerageConnections) === null || _data$SewerageConnect93 === void 0 ? void 0 : (_data$SewerageConnect94 = _data$SewerageConnect93[0]) === null || _data$SewerageConnect94 === void 0 ? void 0 : (_data$SewerageConnect95 = _data$SewerageConnect94.connectionHolders) === null || _data$SewerageConnect95 === void 0 ? void 0 : (_data$SewerageConnect96 = _data$SewerageConnect95[0]) === null || _data$SewerageConnect96 === void 0 ? void 0 : _data$SewerageConnect96.relationship) || t("CS_NA"),
28343
+ text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection101 = data.WaterConnection) === null || _data$WaterConnection101 === void 0 ? void 0 : (_data$WaterConnection102 = _data$WaterConnection101[0]) === null || _data$WaterConnection102 === void 0 ? void 0 : (_data$WaterConnection103 = _data$WaterConnection102.connectionHolders) === null || _data$WaterConnection103 === void 0 ? void 0 : (_data$WaterConnection104 = _data$WaterConnection103[0]) === null || _data$WaterConnection104 === void 0 ? void 0 : _data$WaterConnection104.relationship) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect96 = data.SewerageConnections) === null || _data$SewerageConnect96 === void 0 ? void 0 : (_data$SewerageConnect97 = _data$SewerageConnect96[0]) === null || _data$SewerageConnect97 === void 0 ? void 0 : (_data$SewerageConnect98 = _data$SewerageConnect97.connectionHolders) === null || _data$SewerageConnect98 === void 0 ? void 0 : (_data$SewerageConnect99 = _data$SewerageConnect98[0]) === null || _data$SewerageConnect99 === void 0 ? void 0 : _data$SewerageConnect99.relationship) || t("CS_NA"),
28542
28344
  textStyle: {
28543
28345
  whiteSpace: "pre"
28544
28346
  },
28545
28347
  privacy: {
28546
- uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection102 = data.WaterConnection) === null || _data$WaterConnection102 === void 0 ? void 0 : (_data$WaterConnection103 = _data$WaterConnection102[0]) === null || _data$WaterConnection103 === void 0 ? void 0 : (_data$WaterConnection104 = _data$WaterConnection103.connectionHolders) === null || _data$WaterConnection104 === void 0 ? void 0 : (_data$WaterConnection105 = _data$WaterConnection104[0]) === null || _data$WaterConnection105 === void 0 ? void 0 : _data$WaterConnection105.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect97 = data.SewerageConnections) === null || _data$SewerageConnect97 === void 0 ? void 0 : (_data$SewerageConnect98 = _data$SewerageConnect97[0]) === null || _data$SewerageConnect98 === void 0 ? void 0 : (_data$SewerageConnect99 = _data$SewerageConnect98.connectionHolders) === null || _data$SewerageConnect99 === void 0 ? void 0 : (_data$SewerageConnect100 = _data$SewerageConnect99[0]) === null || _data$SewerageConnect100 === void 0 ? void 0 : _data$SewerageConnect100.uuid,
28348
+ uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection105 = data.WaterConnection) === null || _data$WaterConnection105 === void 0 ? void 0 : (_data$WaterConnection106 = _data$WaterConnection105[0]) === null || _data$WaterConnection106 === void 0 ? void 0 : (_data$WaterConnection107 = _data$WaterConnection106.connectionHolders) === null || _data$WaterConnection107 === void 0 ? void 0 : (_data$WaterConnection108 = _data$WaterConnection107[0]) === null || _data$WaterConnection108 === void 0 ? void 0 : _data$WaterConnection108.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect100 = data.SewerageConnections) === null || _data$SewerageConnect100 === void 0 ? void 0 : (_data$SewerageConnect101 = _data$SewerageConnect100[0]) === null || _data$SewerageConnect101 === void 0 ? void 0 : (_data$SewerageConnect102 = _data$SewerageConnect101.connectionHolders) === null || _data$SewerageConnect102 === void 0 ? void 0 : (_data$SewerageConnect103 = _data$SewerageConnect102[0]) === null || _data$SewerageConnect103 === void 0 ? void 0 : _data$SewerageConnect103.uuid,
28547
28349
  fieldName: "relationship",
28548
28350
  model: "WnSConnection",
28549
28351
  showValue: false,
@@ -28559,11 +28361,10 @@ const WSApplicationDetails = () => {
28559
28361
  }
28560
28362
  }
28561
28363
  }), /*#__PURE__*/React.createElement(Row, {
28562
- className: "border-none",
28563
28364
  label: t("WS_OWN_DETAIL_CROSADD"),
28564
- text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection106 = data.WaterConnection) === null || _data$WaterConnection106 === void 0 ? void 0 : (_data$WaterConnection107 = _data$WaterConnection106[0]) === null || _data$WaterConnection107 === void 0 ? void 0 : (_data$WaterConnection108 = _data$WaterConnection107.connectionHolders) === null || _data$WaterConnection108 === void 0 ? void 0 : (_data$WaterConnection109 = _data$WaterConnection108[0]) === null || _data$WaterConnection109 === void 0 ? void 0 : _data$WaterConnection109.correspondenceAddress) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect101 = data.SewerageConnections) === null || _data$SewerageConnect101 === void 0 ? void 0 : (_data$SewerageConnect102 = _data$SewerageConnect101[0]) === null || _data$SewerageConnect102 === void 0 ? void 0 : (_data$SewerageConnect103 = _data$SewerageConnect102.connectionHolders) === null || _data$SewerageConnect103 === void 0 ? void 0 : (_data$SewerageConnect104 = _data$SewerageConnect103[0]) === null || _data$SewerageConnect104 === void 0 ? void 0 : _data$SewerageConnect104.correspondenceAddress) || t("CS_NA"),
28365
+ text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection109 = data.WaterConnection) === null || _data$WaterConnection109 === void 0 ? void 0 : (_data$WaterConnection110 = _data$WaterConnection109[0]) === null || _data$WaterConnection110 === void 0 ? void 0 : (_data$WaterConnection111 = _data$WaterConnection110.connectionHolders) === null || _data$WaterConnection111 === void 0 ? void 0 : (_data$WaterConnection112 = _data$WaterConnection111[0]) === null || _data$WaterConnection112 === void 0 ? void 0 : _data$WaterConnection112.correspondenceAddress) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect104 = data.SewerageConnections) === null || _data$SewerageConnect104 === void 0 ? void 0 : (_data$SewerageConnect105 = _data$SewerageConnect104[0]) === null || _data$SewerageConnect105 === void 0 ? void 0 : (_data$SewerageConnect106 = _data$SewerageConnect105.connectionHolders) === null || _data$SewerageConnect106 === void 0 ? void 0 : (_data$SewerageConnect107 = _data$SewerageConnect106[0]) === null || _data$SewerageConnect107 === void 0 ? void 0 : _data$SewerageConnect107.correspondenceAddress) || t("CS_NA"),
28565
28366
  privacy: {
28566
- uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection110 = data.WaterConnection) === null || _data$WaterConnection110 === void 0 ? void 0 : (_data$WaterConnection111 = _data$WaterConnection110[0]) === null || _data$WaterConnection111 === void 0 ? void 0 : (_data$WaterConnection112 = _data$WaterConnection111.connectionHolders) === null || _data$WaterConnection112 === void 0 ? void 0 : (_data$WaterConnection113 = _data$WaterConnection112[0]) === null || _data$WaterConnection113 === void 0 ? void 0 : _data$WaterConnection113.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect105 = data.SewerageConnections) === null || _data$SewerageConnect105 === void 0 ? void 0 : (_data$SewerageConnect106 = _data$SewerageConnect105[0]) === null || _data$SewerageConnect106 === void 0 ? void 0 : (_data$SewerageConnect107 = _data$SewerageConnect106.connectionHolders) === null || _data$SewerageConnect107 === void 0 ? void 0 : (_data$SewerageConnect108 = _data$SewerageConnect107[0]) === null || _data$SewerageConnect108 === void 0 ? void 0 : _data$SewerageConnect108.uuid,
28367
+ uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection113 = data.WaterConnection) === null || _data$WaterConnection113 === void 0 ? void 0 : (_data$WaterConnection114 = _data$WaterConnection113[0]) === null || _data$WaterConnection114 === void 0 ? void 0 : (_data$WaterConnection115 = _data$WaterConnection114.connectionHolders) === null || _data$WaterConnection115 === void 0 ? void 0 : (_data$WaterConnection116 = _data$WaterConnection115[0]) === null || _data$WaterConnection116 === void 0 ? void 0 : _data$WaterConnection116.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect108 = data.SewerageConnections) === null || _data$SewerageConnect108 === void 0 ? void 0 : (_data$SewerageConnect109 = _data$SewerageConnect108[0]) === null || _data$SewerageConnect109 === void 0 ? void 0 : (_data$SewerageConnect110 = _data$SewerageConnect109.connectionHolders) === null || _data$SewerageConnect110 === void 0 ? void 0 : (_data$SewerageConnect111 = _data$SewerageConnect110[0]) === null || _data$SewerageConnect111 === void 0 ? void 0 : _data$SewerageConnect111.uuid,
28567
28368
  fieldName: "correspondenceAddress",
28568
28369
  model: "WnSConnectionOwner",
28569
28370
  showValue: false,
@@ -28579,42 +28380,13 @@ const WSApplicationDetails = () => {
28579
28380
  }
28580
28381
  }
28581
28382
  }), /*#__PURE__*/React.createElement(Row, {
28582
- className: "border-none",
28583
- label: t("WS_OWN_DETAIL_SPECIAL_APPLICANT_LABEL"),
28584
- text: (applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? !(data !== null && data !== void 0 && (_data$WaterConnection114 = data.WaterConnection) !== null && _data$WaterConnection114 !== void 0 && (_data$WaterConnection115 = _data$WaterConnection114[0]) !== null && _data$WaterConnection115 !== void 0 && (_data$WaterConnection116 = _data$WaterConnection115.connectionHolders) !== null && _data$WaterConnection116 !== void 0 && (_data$WaterConnection117 = _data$WaterConnection116[0]) !== null && _data$WaterConnection117 !== void 0 && (_data$WaterConnection118 = _data$WaterConnection117.ownerType) !== null && _data$WaterConnection118 !== void 0 && _data$WaterConnection118.includes("*")) : !(data !== null && data !== void 0 && (_data$SewerageConnect109 = data.SewerageConnections) !== null && _data$SewerageConnect109 !== void 0 && (_data$SewerageConnect110 = _data$SewerageConnect109[0]) !== null && _data$SewerageConnect110 !== void 0 && (_data$SewerageConnect111 = _data$SewerageConnect110.connectionHolders) !== null && _data$SewerageConnect111 !== void 0 && (_data$SewerageConnect112 = _data$SewerageConnect111[0]) !== null && _data$SewerageConnect112 !== void 0 && (_data$SewerageConnect113 = _data$SewerageConnect112.ownerType) !== null && _data$SewerageConnect113 !== void 0 && _data$SewerageConnect113.includes("*"))) ? t("COMMON_MASTERS_OWNERTYPE_" + (applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection119 = data.WaterConnection) === null || _data$WaterConnection119 === void 0 ? void 0 : (_data$WaterConnection120 = _data$WaterConnection119[0]) === null || _data$WaterConnection120 === void 0 ? void 0 : (_data$WaterConnection121 = _data$WaterConnection120.connectionHolders) === null || _data$WaterConnection121 === void 0 ? void 0 : (_data$WaterConnection122 = _data$WaterConnection121[0]) === null || _data$WaterConnection122 === void 0 ? void 0 : _data$WaterConnection122.ownerType : data === null || data === void 0 ? void 0 : (_data$SewerageConnect114 = data.SewerageConnections) === null || _data$SewerageConnect114 === void 0 ? void 0 : (_data$SewerageConnect115 = _data$SewerageConnect114[0]) === null || _data$SewerageConnect115 === void 0 ? void 0 : (_data$SewerageConnect116 = _data$SewerageConnect115.connectionHolders) === null || _data$SewerageConnect116 === void 0 ? void 0 : (_data$SewerageConnect117 = _data$SewerageConnect116[0]) === null || _data$SewerageConnect117 === void 0 ? void 0 : _data$SewerageConnect117.ownerType)) : applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection123 = data.WaterConnection) === null || _data$WaterConnection123 === void 0 ? void 0 : (_data$WaterConnection124 = _data$WaterConnection123[0]) === null || _data$WaterConnection124 === void 0 ? void 0 : (_data$WaterConnection125 = _data$WaterConnection124.connectionHolders) === null || _data$WaterConnection125 === void 0 ? void 0 : (_data$WaterConnection126 = _data$WaterConnection125[0]) === null || _data$WaterConnection126 === void 0 ? void 0 : _data$WaterConnection126.ownerType : data === null || data === void 0 ? void 0 : (_data$SewerageConnect118 = data.SewerageConnections) === null || _data$SewerageConnect118 === void 0 ? void 0 : (_data$SewerageConnect119 = _data$SewerageConnect118[0]) === null || _data$SewerageConnect119 === void 0 ? void 0 : (_data$SewerageConnect120 = _data$SewerageConnect119.connectionHolders) === null || _data$SewerageConnect120 === void 0 ? void 0 : (_data$SewerageConnect121 = _data$SewerageConnect120[0]) === null || _data$SewerageConnect121 === void 0 ? void 0 : _data$SewerageConnect121.ownerType,
28585
- textStyle: {
28586
- whiteSpace: "pre"
28587
- },
28588
- privacy: {
28589
- uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection127 = data.WaterConnection) === null || _data$WaterConnection127 === void 0 ? void 0 : (_data$WaterConnection128 = _data$WaterConnection127[0]) === null || _data$WaterConnection128 === void 0 ? void 0 : (_data$WaterConnection129 = _data$WaterConnection128.connectionHolders) === null || _data$WaterConnection129 === void 0 ? void 0 : (_data$WaterConnection130 = _data$WaterConnection129[0]) === null || _data$WaterConnection130 === void 0 ? void 0 : _data$WaterConnection130.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect122 = data.SewerageConnections) === null || _data$SewerageConnect122 === void 0 ? void 0 : (_data$SewerageConnect123 = _data$SewerageConnect122[0]) === null || _data$SewerageConnect123 === void 0 ? void 0 : (_data$SewerageConnect124 = _data$SewerageConnect123.connectionHolders) === null || _data$SewerageConnect124 === void 0 ? void 0 : (_data$SewerageConnect125 = _data$SewerageConnect124[0]) === null || _data$SewerageConnect125 === void 0 ? void 0 : _data$SewerageConnect125.uuid,
28590
- fieldName: "ownerType",
28591
- model: "WnSConnection",
28592
- showValue: false,
28593
- loadData: {
28594
- serviceName: serviceType === "WATER" ? "/ws-services/wc/_search" : "/sw-services/swc/_search",
28595
- requestBody: {},
28596
- requestParam: {
28597
- tenantId,
28598
- applicationNumber: applicationNobyData
28599
- },
28600
- jsonPath: serviceType === "WATER" ? "WaterConnection[0].connectionHolders[0].ownerType" : "SewerageConnections[0].connectionHolders[0].ownerType",
28601
- isArray: false,
28602
- d: res => {
28603
- var _res$WaterConnection, _res$WaterConnection2, _res$WaterConnection3, _res$WaterConnection4, _res$WaterConnection5, _res$WaterConnection6, _res$SewerageConnecti, _res$SewerageConnecti2, _res$SewerageConnecti3, _res$SewerageConnecti4, _res$SewerageConnecti5;
28604
- 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()));
28605
- return resultString;
28606
- }
28607
- }
28608
- }
28609
- }), /*#__PURE__*/React.createElement(Row, {
28610
- className: "border-none",
28611
28383
  label: t("WS_OWN_DETAIL_EMAIL_ID_LABEL"),
28612
- text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection131 = data.WaterConnection) === null || _data$WaterConnection131 === void 0 ? void 0 : (_data$WaterConnection132 = _data$WaterConnection131[0]) === null || _data$WaterConnection132 === void 0 ? void 0 : (_data$WaterConnection133 = _data$WaterConnection132.connectionHolders) === null || _data$WaterConnection133 === void 0 ? void 0 : (_data$WaterConnection134 = _data$WaterConnection133[0]) === null || _data$WaterConnection134 === void 0 ? void 0 : _data$WaterConnection134.emailId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect126 = data.SewerageConnections) === null || _data$SewerageConnect126 === void 0 ? void 0 : (_data$SewerageConnect127 = _data$SewerageConnect126[0]) === null || _data$SewerageConnect127 === void 0 ? void 0 : (_data$SewerageConnect128 = _data$SewerageConnect127.connectionHolders) === null || _data$SewerageConnect128 === void 0 ? void 0 : (_data$SewerageConnect129 = _data$SewerageConnect128[0]) === null || _data$SewerageConnect129 === void 0 ? void 0 : _data$SewerageConnect129.emailId) || "NA",
28384
+ text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection117 = data.WaterConnection) === null || _data$WaterConnection117 === void 0 ? void 0 : (_data$WaterConnection118 = _data$WaterConnection117[0]) === null || _data$WaterConnection118 === void 0 ? void 0 : (_data$WaterConnection119 = _data$WaterConnection118.connectionHolders) === null || _data$WaterConnection119 === void 0 ? void 0 : (_data$WaterConnection120 = _data$WaterConnection119[0]) === null || _data$WaterConnection120 === void 0 ? void 0 : _data$WaterConnection120.emailId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect112 = data.SewerageConnections) === null || _data$SewerageConnect112 === void 0 ? void 0 : (_data$SewerageConnect113 = _data$SewerageConnect112[0]) === null || _data$SewerageConnect113 === void 0 ? void 0 : (_data$SewerageConnect114 = _data$SewerageConnect113.connectionHolders) === null || _data$SewerageConnect114 === void 0 ? void 0 : (_data$SewerageConnect115 = _data$SewerageConnect114[0]) === null || _data$SewerageConnect115 === void 0 ? void 0 : _data$SewerageConnect115.emailId) || "NA",
28613
28385
  textStyle: {
28614
28386
  whiteSpace: "pre"
28615
28387
  },
28616
28388
  privacy: {
28617
- uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection135 = data.WaterConnection) === null || _data$WaterConnection135 === void 0 ? void 0 : (_data$WaterConnection136 = _data$WaterConnection135[0]) === null || _data$WaterConnection136 === void 0 ? void 0 : (_data$WaterConnection137 = _data$WaterConnection136.connectionHolders) === null || _data$WaterConnection137 === void 0 ? void 0 : (_data$WaterConnection138 = _data$WaterConnection137[0]) === null || _data$WaterConnection138 === void 0 ? void 0 : _data$WaterConnection138.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect130 = data.SewerageConnections) === null || _data$SewerageConnect130 === void 0 ? void 0 : (_data$SewerageConnect131 = _data$SewerageConnect130[0]) === null || _data$SewerageConnect131 === void 0 ? void 0 : (_data$SewerageConnect132 = _data$SewerageConnect131.connectionHolders) === null || _data$SewerageConnect132 === void 0 ? void 0 : (_data$SewerageConnect133 = _data$SewerageConnect132[0]) === null || _data$SewerageConnect133 === void 0 ? void 0 : _data$SewerageConnect133.uuid,
28389
+ uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$WaterConnection121 = data.WaterConnection) === null || _data$WaterConnection121 === void 0 ? void 0 : (_data$WaterConnection122 = _data$WaterConnection121[0]) === null || _data$WaterConnection122 === void 0 ? void 0 : (_data$WaterConnection123 = _data$WaterConnection122.connectionHolders) === null || _data$WaterConnection123 === void 0 ? void 0 : (_data$WaterConnection124 = _data$WaterConnection123[0]) === null || _data$WaterConnection124 === void 0 ? void 0 : _data$WaterConnection124.uuid : data === null || data === void 0 ? void 0 : (_data$SewerageConnect116 = data.SewerageConnections) === null || _data$SewerageConnect116 === void 0 ? void 0 : (_data$SewerageConnect117 = _data$SewerageConnect116[0]) === null || _data$SewerageConnect117 === void 0 ? void 0 : (_data$SewerageConnect118 = _data$SewerageConnect117.connectionHolders) === null || _data$SewerageConnect118 === void 0 ? void 0 : (_data$SewerageConnect119 = _data$SewerageConnect118[0]) === null || _data$SewerageConnect119 === void 0 ? void 0 : _data$SewerageConnect119.uuid,
28618
28390
  fieldName: "connectionHoldersEmailId",
28619
28391
  model: "WnSConnectionOwner",
28620
28392
  showValue: false,
@@ -28629,19 +28401,17 @@ const WSApplicationDetails = () => {
28629
28401
  isArray: false
28630
28402
  }
28631
28403
  }
28632
- }))) : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(CardSubHeader, null, t("WS_COMMON_CONNECTION_HOLDER_DETAILS_HEADER")), /*#__PURE__*/React.createElement(CardText, null, t("WS_SAME_AS_PROPERTY_OWNERS")))), /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(CardHeader, {
28404
+ }))) : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(CardSubHeader, null, t("WS_COMMON_CONNECTION_HOLDER_DETAILS_HEADER")), /*#__PURE__*/React.createElement(CardText, null, t("WS_SAME_AS_PROPERTY_OWNERS"))), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(CardHeader, {
28633
28405
  styles: {
28634
28406
  fontSize: "28px"
28635
28407
  }
28636
28408
  }, t("WS_COMMON_PROPERTY_DETAILS")), /*#__PURE__*/React.createElement(StatusTable, null, /*#__PURE__*/React.createElement(Row, {
28637
- className: "border-none",
28638
28409
  label: t("WS_PROPERTY_ID_LABEL"),
28639
- text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection139 = data.WaterConnection) === null || _data$WaterConnection139 === void 0 ? void 0 : (_data$WaterConnection140 = _data$WaterConnection139[0]) === null || _data$WaterConnection140 === void 0 ? void 0 : _data$WaterConnection140.propertyId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect134 = data.SewerageConnections) === null || _data$SewerageConnect134 === void 0 ? void 0 : (_data$SewerageConnect135 = _data$SewerageConnect134[0]) === null || _data$SewerageConnect135 === void 0 ? void 0 : _data$SewerageConnect135.propertyId),
28410
+ text: (data === null || data === void 0 ? void 0 : (_data$WaterConnection125 = data.WaterConnection) === null || _data$WaterConnection125 === void 0 ? void 0 : (_data$WaterConnection126 = _data$WaterConnection125[0]) === null || _data$WaterConnection126 === void 0 ? void 0 : _data$WaterConnection126.propertyId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect120 = data.SewerageConnections) === null || _data$SewerageConnect120 === void 0 ? void 0 : (_data$SewerageConnect121 = _data$SewerageConnect120[0]) === null || _data$SewerageConnect121 === void 0 ? void 0 : _data$SewerageConnect121.propertyId),
28640
28411
  textStyle: {
28641
28412
  wordBreak: "break-word"
28642
28413
  }
28643
28414
  }), /*#__PURE__*/React.createElement(Row, {
28644
- className: "border-none",
28645
28415
  label: t("WS_OWN_DETAIL_OWN_NAME_LABEL"),
28646
28416
  text: PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties4 = PTData.Properties) === null || _PTData$Properties4 === void 0 ? void 0 : (_PTData$Properties4$ = _PTData$Properties4[0]) === null || _PTData$Properties4$ === void 0 ? void 0 : (_PTData$Properties4$$ = _PTData$Properties4$.owners.sort((a, b) => {
28647
28417
  var _a$additionalDetails, _b$additionalDetails;
@@ -28651,7 +28421,6 @@ const WSApplicationDetails = () => {
28651
28421
  whiteSpace: "pre"
28652
28422
  }
28653
28423
  }), /*#__PURE__*/React.createElement(Row, {
28654
- className: "border-none",
28655
28424
  label: t("WS_PROPERTY_ADDRESS"),
28656
28425
  text: getAddress(PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties5 = PTData.Properties) === null || _PTData$Properties5 === void 0 ? void 0 : (_PTData$Properties5$ = _PTData$Properties5[0]) === null || _PTData$Properties5$ === void 0 ? void 0 : _PTData$Properties5$.address, t) || t("CS_NA"),
28657
28426
  textStyle: {
@@ -28679,13 +28448,13 @@ const WSApplicationDetails = () => {
28679
28448
  }
28680
28449
  }
28681
28450
  }), /*#__PURE__*/React.createElement(Link, {
28682
- to: "/digit-ui/citizen/commonpt/view-property?propertyId=" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection141 = data.WaterConnection) === null || _data$WaterConnection141 === void 0 ? void 0 : (_data$WaterConnection142 = _data$WaterConnection141[0]) === null || _data$WaterConnection142 === void 0 ? void 0 : _data$WaterConnection142.propertyId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect136 = data.SewerageConnections) === null || _data$SewerageConnect136 === void 0 ? void 0 : (_data$SewerageConnect137 = _data$SewerageConnect136[0]) === null || _data$SewerageConnect137 === void 0 ? void 0 : _data$SewerageConnect137.propertyId)) + "&tenantId=" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection143 = data.WaterConnection) === null || _data$WaterConnection143 === void 0 ? void 0 : (_data$WaterConnection144 = _data$WaterConnection143[0]) === null || _data$WaterConnection144 === void 0 ? void 0 : _data$WaterConnection144.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect138 = data.SewerageConnections) === null || _data$SewerageConnect138 === void 0 ? void 0 : (_data$SewerageConnect139 = _data$SewerageConnect138[0]) === null || _data$SewerageConnect139 === void 0 ? void 0 : _data$SewerageConnect139.tenantId))
28451
+ to: "/digit-ui/citizen/commonpt/view-property?propertyId=" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection127 = data.WaterConnection) === null || _data$WaterConnection127 === void 0 ? void 0 : (_data$WaterConnection128 = _data$WaterConnection127[0]) === null || _data$WaterConnection128 === void 0 ? void 0 : _data$WaterConnection128.propertyId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect122 = data.SewerageConnections) === null || _data$SewerageConnect122 === void 0 ? void 0 : (_data$SewerageConnect123 = _data$SewerageConnect122[0]) === null || _data$SewerageConnect123 === void 0 ? void 0 : _data$SewerageConnect123.propertyId)) + "&tenantId=" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection129 = data.WaterConnection) === null || _data$WaterConnection129 === void 0 ? void 0 : (_data$WaterConnection130 = _data$WaterConnection129[0]) === null || _data$WaterConnection130 === void 0 ? void 0 : _data$WaterConnection130.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect124 = data.SewerageConnections) === null || _data$SewerageConnect124 === void 0 ? void 0 : (_data$SewerageConnect125 = _data$SewerageConnect124[0]) === null || _data$SewerageConnect125 === void 0 ? void 0 : _data$SewerageConnect125.tenantId))
28683
28452
  }, /*#__PURE__*/React.createElement(LinkButton, {
28684
28453
  style: {
28685
28454
  textAlign: "left"
28686
28455
  },
28687
28456
  label: t("WS_VIEW_PROPERTY")
28688
- })))), /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(CardHeader, {
28457
+ })))), /*#__PURE__*/React.createElement(CardHeader, {
28689
28458
  styles: {
28690
28459
  fontSize: "28px"
28691
28460
  }
@@ -28751,7 +28520,7 @@ const WSApplicationDetails = () => {
28751
28520
  }), /*#__PURE__*/React.createElement(Row, {
28752
28521
  label: t("LANDMARK"),
28753
28522
  text: "" + t(checkForNA$1(propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.landmark))
28754
- }))), /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(CardHeader, {
28523
+ })), /*#__PURE__*/React.createElement(CardHeader, {
28755
28524
  styles: {
28756
28525
  fontSize: "28px"
28757
28526
  }
@@ -28787,7 +28556,7 @@ const WSApplicationDetails = () => {
28787
28556
  }), /*#__PURE__*/React.createElement(Row, {
28788
28557
  label: t("WS_NUMBER_OF_DWELLING_UNITS"),
28789
28558
  text: "" + t(checkForNA$1((useDetails === null || useDetails === void 0 ? void 0 : useDetails.NumberofDwellingUnits) || (useDetails === null || useDetails === void 0 ? void 0 : useDetails.noOfDwellingUnits)))
28790
- }))), /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(CardHeader, {
28559
+ })), /*#__PURE__*/React.createElement(CardHeader, {
28791
28560
  styles: {
28792
28561
  fontSize: "28px"
28793
28562
  }
@@ -28808,7 +28577,7 @@ const WSApplicationDetails = () => {
28808
28577
  }), /*#__PURE__*/React.createElement(Row, {
28809
28578
  label: t("WS_EMPLOYEE_DESIGNATION"),
28810
28579
  text: "" + t(checkForNA$1(djbEmployee === null || djbEmployee === void 0 ? void 0 : djbEmployee.designation))
28811
- })))), /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(CardHeader, {
28580
+ }))), /*#__PURE__*/React.createElement(CardHeader, {
28812
28581
  styles: {
28813
28582
  fontSize: "28px"
28814
28583
  }
@@ -28829,19 +28598,19 @@ const WSApplicationDetails = () => {
28829
28598
  }), /*#__PURE__*/React.createElement(Row, {
28830
28599
  label: t("WS_BANK_ACCOUNT_NO"),
28831
28600
  text: "" + t(checkForNA$1((bankDetails === null || bankDetails === void 0 ? void 0 : bankDetails.bankAccountNumber) || (bankDetails === null || bankDetails === void 0 ? void 0 : bankDetails.accountNumber)))
28832
- }))), /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement(CardHeader, {
28601
+ })), /*#__PURE__*/React.createElement(CardHeader, {
28833
28602
  styles: {
28834
28603
  fontSize: "28px"
28835
28604
  }
28836
- }, t("WS_COMMON_DOCUMENT_DETAILS")), (data === null || data === void 0 ? void 0 : (_data$WaterConnection145 = data.WaterConnection) === null || _data$WaterConnection145 === void 0 ? void 0 : (_data$WaterConnection146 = _data$WaterConnection145[0]) === null || _data$WaterConnection146 === void 0 ? void 0 : _data$WaterConnection146.documents) && (data === null || data === void 0 ? void 0 : (_data$WaterConnection147 = data.WaterConnection) === null || _data$WaterConnection147 === void 0 ? void 0 : (_data$WaterConnection148 = _data$WaterConnection147[0]) === null || _data$WaterConnection148 === void 0 ? void 0 : _data$WaterConnection148.documents.map((doc, index) => {
28837
- var _doc$documentType, _data$WaterConnection149, _data$WaterConnection150, _data$WaterConnection151, _data$WaterConnection152;
28605
+ }, t("WS_COMMON_DOCUMENT_DETAILS")), (data === null || data === void 0 ? void 0 : (_data$WaterConnection131 = data.WaterConnection) === null || _data$WaterConnection131 === void 0 ? void 0 : (_data$WaterConnection132 = _data$WaterConnection131[0]) === null || _data$WaterConnection132 === void 0 ? void 0 : _data$WaterConnection132.documents) && (data === null || data === void 0 ? void 0 : (_data$WaterConnection133 = data.WaterConnection) === null || _data$WaterConnection133 === void 0 ? void 0 : (_data$WaterConnection134 = _data$WaterConnection133[0]) === null || _data$WaterConnection134 === void 0 ? void 0 : _data$WaterConnection134.documents.map((doc, index) => {
28606
+ var _doc$documentType, _data$WaterConnection135, _data$WaterConnection136, _data$WaterConnection137, _data$WaterConnection138;
28838
28607
  return /*#__PURE__*/React.createElement("div", {
28839
28608
  key: "doc-" + index
28840
28609
  }, /*#__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, {
28841
- value: data === null || data === void 0 ? void 0 : (_data$WaterConnection149 = data.WaterConnection) === null || _data$WaterConnection149 === void 0 ? void 0 : (_data$WaterConnection150 = _data$WaterConnection149[0]) === null || _data$WaterConnection150 === void 0 ? void 0 : _data$WaterConnection150.documents,
28610
+ value: data === null || data === void 0 ? void 0 : (_data$WaterConnection135 = data.WaterConnection) === null || _data$WaterConnection135 === void 0 ? void 0 : (_data$WaterConnection136 = _data$WaterConnection135[0]) === null || _data$WaterConnection136 === void 0 ? void 0 : _data$WaterConnection136.documents,
28842
28611
  Code: doc === null || doc === void 0 ? void 0 : doc.documentType,
28843
28612
  index: index
28844
- }), (data === null || data === void 0 ? void 0 : (_data$WaterConnection151 = data.WaterConnection) === null || _data$WaterConnection151 === void 0 ? void 0 : (_data$WaterConnection152 = _data$WaterConnection151[0]) === null || _data$WaterConnection152 === void 0 ? void 0 : _data$WaterConnection152.documents.length) != index + 1 ? /*#__PURE__*/React.createElement("hr", {
28613
+ }), (data === null || data === void 0 ? void 0 : (_data$WaterConnection137 = data.WaterConnection) === null || _data$WaterConnection137 === void 0 ? void 0 : (_data$WaterConnection138 = _data$WaterConnection137[0]) === null || _data$WaterConnection138 === void 0 ? void 0 : _data$WaterConnection138.documents.length) != index + 1 ? /*#__PURE__*/React.createElement("hr", {
28845
28614
  style: {
28846
28615
  color: "#cccccc",
28847
28616
  backgroundColor: "#cccccc",
@@ -28850,15 +28619,15 @@ const WSApplicationDetails = () => {
28850
28619
  marginBottom: "20px"
28851
28620
  }
28852
28621
  }) : null)));
28853
- })), (data === null || data === void 0 ? void 0 : (_data$SewerageConnect140 = data.SewerageConnections) === null || _data$SewerageConnect140 === void 0 ? void 0 : (_data$SewerageConnect141 = _data$SewerageConnect140[0]) === null || _data$SewerageConnect141 === void 0 ? void 0 : _data$SewerageConnect141.documents) && (data === null || data === void 0 ? void 0 : (_data$SewerageConnect142 = data.SewerageConnections) === null || _data$SewerageConnect142 === void 0 ? void 0 : (_data$SewerageConnect143 = _data$SewerageConnect142[0]) === null || _data$SewerageConnect143 === void 0 ? void 0 : _data$SewerageConnect143.documents.map((doc, index) => {
28854
- var _doc$documentType2, _data$SewerageConnect144, _data$SewerageConnect145, _data$SewerageConnect146, _data$SewerageConnect147;
28622
+ })), (data === null || data === void 0 ? void 0 : (_data$SewerageConnect126 = data.SewerageConnections) === null || _data$SewerageConnect126 === void 0 ? void 0 : (_data$SewerageConnect127 = _data$SewerageConnect126[0]) === null || _data$SewerageConnect127 === void 0 ? void 0 : _data$SewerageConnect127.documents) && (data === null || data === void 0 ? void 0 : (_data$SewerageConnect128 = data.SewerageConnections) === null || _data$SewerageConnect128 === void 0 ? void 0 : (_data$SewerageConnect129 = _data$SewerageConnect128[0]) === null || _data$SewerageConnect129 === void 0 ? void 0 : _data$SewerageConnect129.documents.map((doc, index) => {
28623
+ var _doc$documentType2, _data$SewerageConnect130, _data$SewerageConnect131, _data$SewerageConnect132, _data$SewerageConnect133;
28855
28624
  return /*#__PURE__*/React.createElement("div", {
28856
28625
  key: "doc-" + index
28857
28626
  }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(CardSectionHeader, null, t(doc === null || doc === void 0 ? void 0 : (_doc$documentType2 = doc.documentType) === null || _doc$documentType2 === void 0 ? void 0 : _doc$documentType2.split(".").slice(0, 2).join("_"))), /*#__PURE__*/React.createElement(StatusTable, null, /*#__PURE__*/React.createElement(WSDocument, {
28858
- value: data === null || data === void 0 ? void 0 : (_data$SewerageConnect144 = data.SewerageConnections) === null || _data$SewerageConnect144 === void 0 ? void 0 : (_data$SewerageConnect145 = _data$SewerageConnect144[0]) === null || _data$SewerageConnect145 === void 0 ? void 0 : _data$SewerageConnect145.documents,
28627
+ value: data === null || data === void 0 ? void 0 : (_data$SewerageConnect130 = data.SewerageConnections) === null || _data$SewerageConnect130 === void 0 ? void 0 : (_data$SewerageConnect131 = _data$SewerageConnect130[0]) === null || _data$SewerageConnect131 === void 0 ? void 0 : _data$SewerageConnect131.documents,
28859
28628
  Code: doc === null || doc === void 0 ? void 0 : doc.documentType,
28860
28629
  index: index
28861
- }), (data === null || data === void 0 ? void 0 : (_data$SewerageConnect146 = data.SewerageConnections) === null || _data$SewerageConnect146 === void 0 ? void 0 : (_data$SewerageConnect147 = _data$SewerageConnect146[0]) === null || _data$SewerageConnect147 === void 0 ? void 0 : _data$SewerageConnect147.documents.length) != index + 1 ? /*#__PURE__*/React.createElement("hr", {
28630
+ }), (data === null || data === void 0 ? void 0 : (_data$SewerageConnect132 = data.SewerageConnections) === null || _data$SewerageConnect132 === void 0 ? void 0 : (_data$SewerageConnect133 = _data$SewerageConnect132[0]) === null || _data$SewerageConnect133 === void 0 ? void 0 : _data$SewerageConnect133.documents.length) != index + 1 ? /*#__PURE__*/React.createElement("hr", {
28862
28631
  style: {
28863
28632
  color: "white",
28864
28633
  backgroundColor: "white",
@@ -28867,42 +28636,36 @@ const WSApplicationDetails = () => {
28867
28636
  marginBottom: "20px"
28868
28637
  }
28869
28638
  }) : null)));
28870
- }))), /*#__PURE__*/React.createElement(Card, null, /*#__PURE__*/React.createElement("div", {
28871
- id: "timeline"
28872
- }, /*#__PURE__*/React.createElement(WSWFApplicationTimeline, {
28873
- application: (data === null || data === void 0 ? void 0 : (_data$WaterConnection153 = data.WaterConnection) === null || _data$WaterConnection153 === void 0 ? void 0 : _data$WaterConnection153[0]) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect148 = data.SewerageConnections) === null || _data$SewerageConnect148 === void 0 ? void 0 : _data$SewerageConnect148[0]),
28874
- id: (data === null || data === void 0 ? void 0 : (_data$WaterConnection154 = data.WaterConnection) === null || _data$WaterConnection154 === void 0 ? void 0 : (_data$WaterConnection155 = _data$WaterConnection154[0]) === null || _data$WaterConnection155 === void 0 ? void 0 : _data$WaterConnection155.applicationNo) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect149 = data.SewerageConnections) === null || _data$SewerageConnect149 === void 0 ? void 0 : (_data$SewerageConnect150 = _data$SewerageConnect149[0]) === null || _data$SewerageConnect150 === void 0 ? void 0 : _data$SewerageConnect150.applicationNo),
28875
- paymentbuttonenabled: false
28876
- })), (data === null || data === void 0 ? void 0 : (_data$WaterConnection156 = data.WaterConnection) === null || _data$WaterConnection156 === void 0 ? void 0 : (_data$WaterConnection157 = _data$WaterConnection156[0]) === null || _data$WaterConnection157 === void 0 ? void 0 : _data$WaterConnection157.applicationStatus) === "PENDING_FOR_PAYMENT" || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect151 = data.SewerageConnections) === null || _data$SewerageConnect151 === void 0 ? void 0 : (_data$SewerageConnect152 = _data$SewerageConnect151[0]) === null || _data$SewerageConnect152 === void 0 ? void 0 : _data$SewerageConnect152.applicationStatus) === "PENDING_FOR_PAYMENT" ? /*#__PURE__*/React.createElement(Link, {
28639
+ })), (data === null || data === void 0 ? void 0 : (_data$WaterConnection139 = data.WaterConnection) === null || _data$WaterConnection139 === void 0 ? void 0 : (_data$WaterConnection140 = _data$WaterConnection139[0]) === null || _data$WaterConnection140 === void 0 ? void 0 : _data$WaterConnection140.applicationStatus) === "PENDING_FOR_PAYMENT" || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect134 = data.SewerageConnections) === null || _data$SewerageConnect134 === void 0 ? void 0 : (_data$SewerageConnect135 = _data$SewerageConnect134[0]) === null || _data$SewerageConnect135 === void 0 ? void 0 : _data$SewerageConnect135.applicationStatus) === "PENDING_FOR_PAYMENT" ? /*#__PURE__*/React.createElement(Link, {
28877
28640
  to: {
28878
- pathname: "/digit-ui/citizen/payment/my-bills/" + (paymentDetails === null || paymentDetails === void 0 ? void 0 : (_paymentDetails$data20 = paymentDetails.data) === null || _paymentDetails$data20 === void 0 ? void 0 : (_paymentDetails$data21 = _paymentDetails$data20.Bill) === null || _paymentDetails$data21 === void 0 ? void 0 : (_paymentDetails$data22 = _paymentDetails$data21[0]) === null || _paymentDetails$data22 === void 0 ? void 0 : _paymentDetails$data22.businessService) + "/" + (applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("DC") ? stringReplaceAll(data === null || data === void 0 ? void 0 : (_data$WaterConnection158 = data.WaterConnection) === null || _data$WaterConnection158 === void 0 ? void 0 : (_data$WaterConnection159 = _data$WaterConnection158[0]) === null || _data$WaterConnection159 === void 0 ? void 0 : _data$WaterConnection159.connectionNo, "/", "+") || stringReplaceAll(data === null || data === void 0 ? void 0 : (_data$SewerageConnect153 = data.SewerageConnections) === null || _data$SewerageConnect153 === void 0 ? void 0 : (_data$SewerageConnect154 = _data$SewerageConnect153[0]) === null || _data$SewerageConnect154 === void 0 ? void 0 : _data$SewerageConnect154.connectionNo, "/", "+") : stringReplaceAll(data === null || data === void 0 ? void 0 : (_data$WaterConnection160 = data.WaterConnection) === null || _data$WaterConnection160 === void 0 ? void 0 : (_data$WaterConnection161 = _data$WaterConnection160[0]) === null || _data$WaterConnection161 === void 0 ? void 0 : _data$WaterConnection161.applicationNo, "/", "+") || stringReplaceAll(data === null || data === void 0 ? void 0 : (_data$SewerageConnect155 = data.SewerageConnections) === null || _data$SewerageConnect155 === void 0 ? void 0 : (_data$SewerageConnect156 = _data$SewerageConnect155[0]) === null || _data$SewerageConnect156 === void 0 ? void 0 : _data$SewerageConnect156.applicationNo, "/", "+")) + "?workflow=WNS&tenantId=" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection162 = data.WaterConnection) === null || _data$WaterConnection162 === void 0 ? void 0 : (_data$WaterConnection163 = _data$WaterConnection162[0]) === null || _data$WaterConnection163 === void 0 ? void 0 : _data$WaterConnection163.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect157 = data.SewerageConnections) === null || _data$SewerageConnect157 === void 0 ? void 0 : (_data$SewerageConnect158 = _data$SewerageConnect157[0]) === null || _data$SewerageConnect158 === void 0 ? void 0 : _data$SewerageConnect158.tenantId)) + "&ConsumerName=" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection164 = data.WaterConnection) === null || _data$WaterConnection164 === void 0 ? void 0 : (_data$WaterConnection165 = _data$WaterConnection164[0]) === null || _data$WaterConnection165 === void 0 ? void 0 : (_data$WaterConnection166 = _data$WaterConnection165.connectionHolders) === null || _data$WaterConnection166 === void 0 ? void 0 : _data$WaterConnection166.map(owner => owner.name).join(",")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect159 = data.SewerageConnections) === null || _data$SewerageConnect159 === void 0 ? void 0 : (_data$SewerageConnect160 = _data$SewerageConnect159[0]) === null || _data$SewerageConnect160 === void 0 ? void 0 : (_data$SewerageConnect161 = _data$SewerageConnect160.connectionHolders) === null || _data$SewerageConnect161 === void 0 ? void 0 : _data$SewerageConnect161.map(owner => owner.name).join(",")) || (PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties8 = PTData.Properties) === null || _PTData$Properties8 === void 0 ? void 0 : (_PTData$Properties8$ = _PTData$Properties8[0]) === null || _PTData$Properties8$ === void 0 ? void 0 : (_PTData$Properties8$$ = _PTData$Properties8$.owners) === null || _PTData$Properties8$$ === void 0 ? void 0 : _PTData$Properties8$$.map(owner => owner.name).join(","))) + "&isDisoconnectFlow=" + (applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("DC") ? true : false),
28641
+ pathname: "/digit-ui/citizen/payment/my-bills/" + (paymentDetails === null || paymentDetails === void 0 ? void 0 : (_paymentDetails$data20 = paymentDetails.data) === null || _paymentDetails$data20 === void 0 ? void 0 : (_paymentDetails$data21 = _paymentDetails$data20.Bill) === null || _paymentDetails$data21 === void 0 ? void 0 : (_paymentDetails$data22 = _paymentDetails$data21[0]) === null || _paymentDetails$data22 === void 0 ? void 0 : _paymentDetails$data22.businessService) + "/" + (applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("DC") ? stringReplaceAll(data === null || data === void 0 ? void 0 : (_data$WaterConnection141 = data.WaterConnection) === null || _data$WaterConnection141 === void 0 ? void 0 : (_data$WaterConnection142 = _data$WaterConnection141[0]) === null || _data$WaterConnection142 === void 0 ? void 0 : _data$WaterConnection142.connectionNo, "/", "+") || stringReplaceAll(data === null || data === void 0 ? void 0 : (_data$SewerageConnect136 = data.SewerageConnections) === null || _data$SewerageConnect136 === void 0 ? void 0 : (_data$SewerageConnect137 = _data$SewerageConnect136[0]) === null || _data$SewerageConnect137 === void 0 ? void 0 : _data$SewerageConnect137.connectionNo, "/", "+") : stringReplaceAll(data === null || data === void 0 ? void 0 : (_data$WaterConnection143 = data.WaterConnection) === null || _data$WaterConnection143 === void 0 ? void 0 : (_data$WaterConnection144 = _data$WaterConnection143[0]) === null || _data$WaterConnection144 === void 0 ? void 0 : _data$WaterConnection144.applicationNo, "/", "+") || stringReplaceAll(data === null || data === void 0 ? void 0 : (_data$SewerageConnect138 = data.SewerageConnections) === null || _data$SewerageConnect138 === void 0 ? void 0 : (_data$SewerageConnect139 = _data$SewerageConnect138[0]) === null || _data$SewerageConnect139 === void 0 ? void 0 : _data$SewerageConnect139.applicationNo, "/", "+")) + "?workflow=WNS&tenantId=" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection145 = data.WaterConnection) === null || _data$WaterConnection145 === void 0 ? void 0 : (_data$WaterConnection146 = _data$WaterConnection145[0]) === null || _data$WaterConnection146 === void 0 ? void 0 : _data$WaterConnection146.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect140 = data.SewerageConnections) === null || _data$SewerageConnect140 === void 0 ? void 0 : (_data$SewerageConnect141 = _data$SewerageConnect140[0]) === null || _data$SewerageConnect141 === void 0 ? void 0 : _data$SewerageConnect141.tenantId)) + "&ConsumerName=" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection147 = data.WaterConnection) === null || _data$WaterConnection147 === void 0 ? void 0 : (_data$WaterConnection148 = _data$WaterConnection147[0]) === null || _data$WaterConnection148 === void 0 ? void 0 : (_data$WaterConnection149 = _data$WaterConnection148.connectionHolders) === null || _data$WaterConnection149 === void 0 ? void 0 : _data$WaterConnection149.map(owner => owner.name).join(",")) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect142 = data.SewerageConnections) === null || _data$SewerageConnect142 === void 0 ? void 0 : (_data$SewerageConnect143 = _data$SewerageConnect142[0]) === null || _data$SewerageConnect143 === void 0 ? void 0 : (_data$SewerageConnect144 = _data$SewerageConnect143.connectionHolders) === null || _data$SewerageConnect144 === void 0 ? void 0 : _data$SewerageConnect144.map(owner => owner.name).join(",")) || (PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties8 = PTData.Properties) === null || _PTData$Properties8 === void 0 ? void 0 : (_PTData$Properties8$ = _PTData$Properties8[0]) === null || _PTData$Properties8$ === void 0 ? void 0 : (_PTData$Properties8$$ = _PTData$Properties8$.owners) === null || _PTData$Properties8$$ === void 0 ? void 0 : _PTData$Properties8$$.map(owner => owner.name).join(","))) + "&isDisoconnectFlow=" + (applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("DC") ? true : false),
28879
28642
  state: {}
28880
28643
  }
28881
28644
  }, /*#__PURE__*/React.createElement(SubmitBar, {
28882
28645
  label: t("MAKE_PAYMENT")
28883
- })) : null, !(data !== null && data !== void 0 && (_data$WaterConnection167 = data.WaterConnection) !== null && _data$WaterConnection167 !== void 0 && (_data$WaterConnection168 = _data$WaterConnection167[0]) !== null && _data$WaterConnection168 !== void 0 && _data$WaterConnection168.applicationType.includes("DISCONNECT")) && data !== null && data !== void 0 && (_data$WaterConnection169 = data.WaterConnection) !== null && _data$WaterConnection169 !== void 0 && (_data$WaterConnection170 = _data$WaterConnection169[0]) !== null && _data$WaterConnection170 !== void 0 && _data$WaterConnection170.applicationStatus.includes("PENDING_FOR_CITIZEN_ACTION") || !(data !== null && data !== void 0 && (_data$SewerageConnect162 = data.SewerageConnections) !== null && _data$SewerageConnect162 !== void 0 && (_data$SewerageConnect163 = _data$SewerageConnect162[0]) !== null && _data$SewerageConnect163 !== void 0 && _data$SewerageConnect163.applicationType.includes("DISCONNECT")) && data !== null && data !== void 0 && (_data$SewerageConnect164 = data.SewerageConnections) !== null && _data$SewerageConnect164 !== void 0 && (_data$SewerageConnect165 = _data$SewerageConnect164[0]) !== null && _data$SewerageConnect165 !== void 0 && _data$SewerageConnect165.applicationStatus.includes("PENDING_FOR_CITIZEN_ACTION") ? /*#__PURE__*/React.createElement(Link, {
28646
+ })) : null, !(data !== null && data !== void 0 && (_data$WaterConnection150 = data.WaterConnection) !== null && _data$WaterConnection150 !== void 0 && (_data$WaterConnection151 = _data$WaterConnection150[0]) !== null && _data$WaterConnection151 !== void 0 && _data$WaterConnection151.applicationType.includes("DISCONNECT")) && data !== null && data !== void 0 && (_data$WaterConnection152 = data.WaterConnection) !== null && _data$WaterConnection152 !== void 0 && (_data$WaterConnection153 = _data$WaterConnection152[0]) !== null && _data$WaterConnection153 !== void 0 && _data$WaterConnection153.applicationStatus.includes("PENDING_FOR_CITIZEN_ACTION") || !(data !== null && data !== void 0 && (_data$SewerageConnect145 = data.SewerageConnections) !== null && _data$SewerageConnect145 !== void 0 && (_data$SewerageConnect146 = _data$SewerageConnect145[0]) !== null && _data$SewerageConnect146 !== void 0 && _data$SewerageConnect146.applicationType.includes("DISCONNECT")) && data !== null && data !== void 0 && (_data$SewerageConnect147 = data.SewerageConnections) !== null && _data$SewerageConnect147 !== void 0 && (_data$SewerageConnect148 = _data$SewerageConnect147[0]) !== null && _data$SewerageConnect148 !== void 0 && _data$SewerageConnect148.applicationStatus.includes("PENDING_FOR_CITIZEN_ACTION") ? /*#__PURE__*/React.createElement(Link, {
28884
28647
  to: {
28885
- pathname: "/digit-ui/citizen/ws/edit-application/" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection171 = data.WaterConnection) === null || _data$WaterConnection171 === void 0 ? void 0 : (_data$WaterConnection172 = _data$WaterConnection171[0]) === null || _data$WaterConnection172 === void 0 ? void 0 : _data$WaterConnection172.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect166 = data.SewerageConnections) === null || _data$SewerageConnect166 === void 0 ? void 0 : (_data$SewerageConnect167 = _data$SewerageConnect166[0]) === null || _data$SewerageConnect167 === void 0 ? void 0 : _data$SewerageConnect167.tenantId)),
28648
+ pathname: "/digit-ui/citizen/ws/edit-application/" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection154 = data.WaterConnection) === null || _data$WaterConnection154 === void 0 ? void 0 : (_data$WaterConnection155 = _data$WaterConnection154[0]) === null || _data$WaterConnection155 === void 0 ? void 0 : _data$WaterConnection155.tenantId) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect149 = data.SewerageConnections) === null || _data$SewerageConnect149 === void 0 ? void 0 : (_data$SewerageConnect150 = _data$SewerageConnect149[0]) === null || _data$SewerageConnect150 === void 0 ? void 0 : _data$SewerageConnect150.tenantId)),
28886
28649
  state: {
28887
- id: "" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection173 = data.WaterConnection) === null || _data$WaterConnection173 === void 0 ? void 0 : (_data$WaterConnection174 = _data$WaterConnection173[0]) === null || _data$WaterConnection174 === void 0 ? void 0 : _data$WaterConnection174.applicationNo) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect168 = data.SewerageConnections) === null || _data$SewerageConnect168 === void 0 ? void 0 : (_data$SewerageConnect169 = _data$SewerageConnect168[0]) === null || _data$SewerageConnect169 === void 0 ? void 0 : _data$SewerageConnect169.applicationNo))
28650
+ id: "" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection156 = data.WaterConnection) === null || _data$WaterConnection156 === void 0 ? void 0 : (_data$WaterConnection157 = _data$WaterConnection156[0]) === null || _data$WaterConnection157 === void 0 ? void 0 : _data$WaterConnection157.applicationNo) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect151 = data.SewerageConnections) === null || _data$SewerageConnect151 === void 0 ? void 0 : (_data$SewerageConnect152 = _data$SewerageConnect151[0]) === null || _data$SewerageConnect152 === void 0 ? void 0 : _data$SewerageConnect152.applicationNo))
28888
28651
  }
28889
28652
  }
28890
28653
  }, /*#__PURE__*/React.createElement(SubmitBar, {
28891
28654
  label: t("COMMON_EDIT")
28892
- })) : null, data !== null && data !== void 0 && (_data$WaterConnection175 = data.WaterConnection) !== null && _data$WaterConnection175 !== void 0 && (_data$WaterConnection176 = _data$WaterConnection175[0]) !== null && _data$WaterConnection176 !== void 0 && _data$WaterConnection176.applicationType.includes("DISCONNECT") && data !== null && data !== void 0 && (_data$WaterConnection177 = data.WaterConnection) !== null && _data$WaterConnection177 !== void 0 && (_data$WaterConnection178 = _data$WaterConnection177[0]) !== null && _data$WaterConnection178 !== void 0 && _data$WaterConnection178.applicationStatus.includes("PENDING_FOR_CITIZEN_ACTION") || data !== null && data !== void 0 && (_data$SewerageConnect170 = data.SewerageConnections) !== null && _data$SewerageConnect170 !== void 0 && (_data$SewerageConnect171 = _data$SewerageConnect170[0]) !== null && _data$SewerageConnect171 !== void 0 && _data$SewerageConnect171.applicationType.includes("DISCONNECT") && data !== null && data !== void 0 && (_data$SewerageConnect172 = data.SewerageConnections) !== null && _data$SewerageConnect172 !== void 0 && (_data$SewerageConnect173 = _data$SewerageConnect172[0]) !== null && _data$SewerageConnect173 !== void 0 && _data$SewerageConnect173.applicationStatus.includes("PENDING_FOR_CITIZEN_ACTION") ? /*#__PURE__*/React.createElement(Link, {
28655
+ })) : null, data !== null && data !== void 0 && (_data$WaterConnection158 = data.WaterConnection) !== null && _data$WaterConnection158 !== void 0 && (_data$WaterConnection159 = _data$WaterConnection158[0]) !== null && _data$WaterConnection159 !== void 0 && _data$WaterConnection159.applicationType.includes("DISCONNECT") && data !== null && data !== void 0 && (_data$WaterConnection160 = data.WaterConnection) !== null && _data$WaterConnection160 !== void 0 && (_data$WaterConnection161 = _data$WaterConnection160[0]) !== null && _data$WaterConnection161 !== void 0 && _data$WaterConnection161.applicationStatus.includes("PENDING_FOR_CITIZEN_ACTION") || data !== null && data !== void 0 && (_data$SewerageConnect153 = data.SewerageConnections) !== null && _data$SewerageConnect153 !== void 0 && (_data$SewerageConnect154 = _data$SewerageConnect153[0]) !== null && _data$SewerageConnect154 !== void 0 && _data$SewerageConnect154.applicationType.includes("DISCONNECT") && data !== null && data !== void 0 && (_data$SewerageConnect155 = data.SewerageConnections) !== null && _data$SewerageConnect155 !== void 0 && (_data$SewerageConnect156 = _data$SewerageConnect155[0]) !== null && _data$SewerageConnect156 !== void 0 && _data$SewerageConnect156.applicationStatus.includes("PENDING_FOR_CITIZEN_ACTION") ? /*#__PURE__*/React.createElement(Link, {
28893
28656
  to: {
28894
28657
  pathname: "/digit-ui/citizen/ws/resubmit-disconnect-application",
28895
28658
  state: {
28896
- id: "" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection179 = data.WaterConnection) === null || _data$WaterConnection179 === void 0 ? void 0 : (_data$WaterConnection180 = _data$WaterConnection179[0]) === null || _data$WaterConnection180 === void 0 ? void 0 : _data$WaterConnection180.applicationNo) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect174 = data.SewerageConnections) === null || _data$SewerageConnect174 === void 0 ? void 0 : (_data$SewerageConnect175 = _data$SewerageConnect174[0]) === null || _data$SewerageConnect175 === void 0 ? void 0 : _data$SewerageConnect175.applicationNo))
28659
+ id: "" + ((data === null || data === void 0 ? void 0 : (_data$WaterConnection162 = data.WaterConnection) === null || _data$WaterConnection162 === void 0 ? void 0 : (_data$WaterConnection163 = _data$WaterConnection162[0]) === null || _data$WaterConnection163 === void 0 ? void 0 : _data$WaterConnection163.applicationNo) || (data === null || data === void 0 ? void 0 : (_data$SewerageConnect157 = data.SewerageConnections) === null || _data$SewerageConnect157 === void 0 ? void 0 : (_data$SewerageConnect158 = _data$SewerageConnect157[0]) === null || _data$SewerageConnect158 === void 0 ? void 0 : _data$SewerageConnect158.applicationNo))
28897
28660
  }
28898
28661
  }
28899
28662
  }, /*#__PURE__*/React.createElement(SubmitBar, {
28900
28663
  label: t("RESUBMIT_APPLICATION"),
28901
28664
  onSubmit: Digit.SessionStorage.set("WS_DISCONNECTION", applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("SW") ? {
28902
- applicationData: data === null || data === void 0 ? void 0 : (_data$SewerageConnect176 = data.SewerageConnections) === null || _data$SewerageConnect176 === void 0 ? void 0 : _data$SewerageConnect176[0],
28665
+ applicationData: data === null || data === void 0 ? void 0 : (_data$SewerageConnect159 = data.SewerageConnections) === null || _data$SewerageConnect159 === void 0 ? void 0 : _data$SewerageConnect159[0],
28903
28666
  serviceType: "SEWERAGE",
28904
28667
  WSDisconnectionForm: {
28905
- type: data !== null && data !== void 0 && (_data$SewerageConnect177 = data.SewerageConnections) !== null && _data$SewerageConnect177 !== void 0 && (_data$SewerageConnect178 = _data$SewerageConnect177[0]) !== null && _data$SewerageConnect178 !== void 0 && _data$SewerageConnect178.isDisconnectionTemporary ? {
28668
+ type: data !== null && data !== void 0 && (_data$SewerageConnect160 = data.SewerageConnections) !== null && _data$SewerageConnect160 !== void 0 && (_data$SewerageConnect161 = _data$SewerageConnect160[0]) !== null && _data$SewerageConnect161 !== void 0 && _data$SewerageConnect161.isDisconnectionTemporary ? {
28906
28669
  code: "type",
28907
28670
  value: {
28908
28671
  name: "Temporary",
@@ -28919,18 +28682,18 @@ const WSApplicationDetails = () => {
28919
28682
  code: "Permanent"
28920
28683
  }
28921
28684
  },
28922
- date: convertEpochToDateDMY(data === null || data === void 0 ? void 0 : (_data$SewerageConnect179 = data.SewerageConnections) === null || _data$SewerageConnect179 === void 0 ? void 0 : (_data$SewerageConnect180 = _data$SewerageConnect179[0]) === null || _data$SewerageConnect180 === void 0 ? void 0 : _data$SewerageConnect180.dateEffectiveFrom, true),
28685
+ date: convertEpochToDateDMY(data === null || data === void 0 ? void 0 : (_data$SewerageConnect162 = data.SewerageConnections) === null || _data$SewerageConnect162 === void 0 ? void 0 : (_data$SewerageConnect163 = _data$SewerageConnect162[0]) === null || _data$SewerageConnect163 === void 0 ? void 0 : _data$SewerageConnect163.dateEffectiveFrom, true),
28923
28686
  reason: {
28924
28687
  code: "reason",
28925
- value: data === null || data === void 0 ? void 0 : (_data$SewerageConnect181 = data.SewerageConnections) === null || _data$SewerageConnect181 === void 0 ? void 0 : (_data$SewerageConnect182 = _data$SewerageConnect181[0]) === null || _data$SewerageConnect182 === void 0 ? void 0 : _data$SewerageConnect182.disconnectionReason
28688
+ value: data === null || data === void 0 ? void 0 : (_data$SewerageConnect164 = data.SewerageConnections) === null || _data$SewerageConnect164 === void 0 ? void 0 : (_data$SewerageConnect165 = _data$SewerageConnect164[0]) === null || _data$SewerageConnect165 === void 0 ? void 0 : _data$SewerageConnect165.disconnectionReason
28926
28689
  },
28927
- documents: data === null || data === void 0 ? void 0 : (_data$SewerageConnect183 = data.SewerageConnections) === null || _data$SewerageConnect183 === void 0 ? void 0 : (_data$SewerageConnect184 = _data$SewerageConnect183[0]) === null || _data$SewerageConnect184 === void 0 ? void 0 : _data$SewerageConnect184.documents
28690
+ documents: data === null || data === void 0 ? void 0 : (_data$SewerageConnect166 = data.SewerageConnections) === null || _data$SewerageConnect166 === void 0 ? void 0 : (_data$SewerageConnect167 = _data$SewerageConnect166[0]) === null || _data$SewerageConnect167 === void 0 ? void 0 : _data$SewerageConnect167.documents
28928
28691
  }
28929
28692
  } : {
28930
- applicationData: data === null || data === void 0 ? void 0 : (_data$WaterConnection181 = data.WaterConnection) === null || _data$WaterConnection181 === void 0 ? void 0 : _data$WaterConnection181[0],
28693
+ applicationData: data === null || data === void 0 ? void 0 : (_data$WaterConnection164 = data.WaterConnection) === null || _data$WaterConnection164 === void 0 ? void 0 : _data$WaterConnection164[0],
28931
28694
  serviceType: "WATER",
28932
28695
  WSDisconnectionForm: {
28933
- type: data !== null && data !== void 0 && (_data$WaterConnection182 = data.WaterConnection) !== null && _data$WaterConnection182 !== void 0 && (_data$WaterConnection183 = _data$WaterConnection182[0]) !== null && _data$WaterConnection183 !== void 0 && _data$WaterConnection183.isDisconnectionTemporary ? {
28696
+ type: data !== null && data !== void 0 && (_data$WaterConnection165 = data.WaterConnection) !== null && _data$WaterConnection165 !== void 0 && (_data$WaterConnection166 = _data$WaterConnection165[0]) !== null && _data$WaterConnection166 !== void 0 && _data$WaterConnection166.isDisconnectionTemporary ? {
28934
28697
  code: "type",
28935
28698
  value: {
28936
28699
  name: "Temporary",
@@ -28947,15 +28710,15 @@ const WSApplicationDetails = () => {
28947
28710
  code: "Permanent"
28948
28711
  }
28949
28712
  },
28950
- date: convertEpochToDateDMY(data === null || data === void 0 ? void 0 : (_data$WaterConnection184 = data.WaterConnection) === null || _data$WaterConnection184 === void 0 ? void 0 : (_data$WaterConnection185 = _data$WaterConnection184[0]) === null || _data$WaterConnection185 === void 0 ? void 0 : _data$WaterConnection185.dateEffectiveFrom, true),
28713
+ date: convertEpochToDateDMY(data === null || data === void 0 ? void 0 : (_data$WaterConnection167 = data.WaterConnection) === null || _data$WaterConnection167 === void 0 ? void 0 : (_data$WaterConnection168 = _data$WaterConnection167[0]) === null || _data$WaterConnection168 === void 0 ? void 0 : _data$WaterConnection168.dateEffectiveFrom, true),
28951
28714
  reason: {
28952
28715
  code: "reason",
28953
- value: data === null || data === void 0 ? void 0 : (_data$WaterConnection186 = data.WaterConnection) === null || _data$WaterConnection186 === void 0 ? void 0 : (_data$WaterConnection187 = _data$WaterConnection186[0]) === null || _data$WaterConnection187 === void 0 ? void 0 : _data$WaterConnection187.disconnectionReason
28716
+ value: data === null || data === void 0 ? void 0 : (_data$WaterConnection169 = data.WaterConnection) === null || _data$WaterConnection169 === void 0 ? void 0 : (_data$WaterConnection170 = _data$WaterConnection169[0]) === null || _data$WaterConnection170 === void 0 ? void 0 : _data$WaterConnection170.disconnectionReason
28954
28717
  },
28955
- documents: data === null || data === void 0 ? void 0 : (_data$WaterConnection188 = data.WaterConnection) === null || _data$WaterConnection188 === void 0 ? void 0 : (_data$WaterConnection189 = _data$WaterConnection188[0]) === null || _data$WaterConnection189 === void 0 ? void 0 : _data$WaterConnection189.documents
28718
+ documents: data === null || data === void 0 ? void 0 : (_data$WaterConnection171 = data.WaterConnection) === null || _data$WaterConnection171 === void 0 ? void 0 : (_data$WaterConnection172 = _data$WaterConnection171[0]) === null || _data$WaterConnection172 === void 0 ? void 0 : _data$WaterConnection172.documents
28956
28719
  }
28957
28720
  })
28958
- })) : null)));
28721
+ })) : null)))));
28959
28722
  };
28960
28723
 
28961
28724
  const WSAdditionalDetails = () => {
@@ -32459,7 +32222,7 @@ const WSInfoPage = () => {
32459
32222
  }) : /*#__PURE__*/React.createElement(SubmitBar, {
32460
32223
  label: t("CS_COMMON_NEXT"),
32461
32224
  onSubmit: handleNext,
32462
- disabled: (hasProperty === null || hasProperty === void 0 ? void 0 : hasProperty.code) === "NO" && isEmployee
32225
+ disabled: (hasProperty === null || hasProperty === void 0 ? void 0 : hasProperty.code) === "NO"
32463
32226
  })));
32464
32227
  };
32465
32228
 
@@ -32475,10 +32238,7 @@ const PropertyLocationDetails = _ref => {
32475
32238
  props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
32476
32239
  const _useTranslation = useTranslation(),
32477
32240
  t = _useTranslation.t;
32478
- const _useState = useState(null),
32479
- showToast = _useState[0],
32480
- setShowToast = _useState[1];
32481
- const _useState2 = useState({
32241
+ const _useState = useState({
32482
32242
  addressType: (address === null || address === void 0 ? void 0 : address.addressType) || "",
32483
32243
  pincode: (address === null || address === void 0 ? void 0 : address.pinCode) || "",
32484
32244
  city: (address === null || address === void 0 ? void 0 : address.city) || "",
@@ -32500,8 +32260,8 @@ const PropertyLocationDetails = _ref => {
32500
32260
  actualWard: (address === null || address === void 0 ? void 0 : address.actualWard) || "",
32501
32261
  actualZone: (address === null || address === void 0 ? void 0 : address.actualZone) || ""
32502
32262
  }),
32503
- formData = _useState2[0],
32504
- setFormData = _useState2[1];
32263
+ formData = _useState[0],
32264
+ setFormData = _useState[1];
32505
32265
  const isPropertyFound = window.location.href.includes("ws/old-application");
32506
32266
  useEffect(() => {
32507
32267
  if (props.register) {
@@ -32596,26 +32356,7 @@ const PropertyLocationDetails = _ref => {
32596
32356
  onSelect((config === null || config === void 0 ? void 0 : config.key) || "address", clearedData);
32597
32357
  }
32598
32358
  }, [formDataProp === null || formDataProp === void 0 ? void 0 : (_formDataProp$cpt2 = formDataProp.cpt) === null || _formDataProp$cpt2 === void 0 ? void 0 : _formDataProp$cpt2.details, formDataProp === null || formDataProp === void 0 ? void 0 : formDataProp.cpt]);
32599
- useEffect(() => {
32600
- if (showToast) {
32601
- const timer = setTimeout(() => {
32602
- setShowToast(null);
32603
- }, 1000);
32604
- return () => clearTimeout(timer);
32605
- }
32606
- }, [showToast]);
32607
- return /*#__PURE__*/React.createElement(CollapsibleCardPage, {
32608
- title: t("PT_LOCATION_DETAILS") + (config !== null && config !== void 0 && config.isAutomaticFill ? " (Automatic Fill by Property )" : ""),
32609
- defaultOpen: config !== null && config !== void 0 && config.isAutomaticFill ? false : true
32610
- }, /*#__PURE__*/React.createElement("div", {
32611
- style: _extends({
32612
- boxShadow: "none"
32613
- }, props.style)
32614
- }, /*#__PURE__*/React.createElement("div", {
32615
- style: {
32616
- marginTop: "20px"
32617
- }
32618
- }, /*#__PURE__*/React.createElement(AddressDetails, {
32359
+ return /*#__PURE__*/React.createElement(AddressDetails, {
32619
32360
  t: t,
32620
32361
  formData: formData,
32621
32362
  onSelect: (key, data) => {
@@ -32630,7 +32371,7 @@ const PropertyLocationDetails = _ref => {
32630
32371
  showMapActualLocation: true,
32631
32372
  disable: isPropertyFound,
32632
32373
  hideNextButton: true
32633
- }))));
32374
+ });
32634
32375
  };
32635
32376
 
32636
32377
  const WSPropertyLocationDetails = props => {
@@ -36719,31 +36460,6 @@ const WorkflowTimeline = _ref => {
36719
36460
  })));
36720
36461
  };
36721
36462
 
36722
- const _iteratorSymbol$1 = /*#__PURE__*/typeof Symbol !== "undefined" ? Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator")) : "@@iterator";
36723
- const _asyncIteratorSymbol$1 = /*#__PURE__*/typeof Symbol !== "undefined" ? Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator")) : "@@asyncIterator";
36724
- function _catch$1(body, recover) {
36725
- try {
36726
- var result = body();
36727
- } catch (e) {
36728
- return recover(e);
36729
- }
36730
- if (result && result.then) {
36731
- return result.then(void 0, recover);
36732
- }
36733
- return result;
36734
- }
36735
- function _finallyRethrows$1(body, finalizer) {
36736
- try {
36737
- var result = body();
36738
- } catch (e) {
36739
- return finalizer(true, e);
36740
- }
36741
- if (result && result.then) {
36742
- return result.then(finalizer.bind(null, false), finalizer.bind(null, true));
36743
- }
36744
- return finalizer(false, result);
36745
- }
36746
-
36747
36463
  const configPTApproverApplication = _ref => {
36748
36464
  var _action$assigneeRoles;
36749
36465
  let t = _ref.t,
@@ -37492,7 +37208,7 @@ const ActionModal = _ref => {
37492
37208
  if (file.size >= 5242880) {
37493
37209
  setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
37494
37210
  } else {
37495
- const _temp = _catch$1(function () {
37211
+ const _temp = _catch(function () {
37496
37212
  return Promise.resolve(Digit.UploadServices.Filestorage("PT", file, Digit.ULBService.getStateId())).then(function (response) {
37497
37213
  var _response$data, _response$data$files;
37498
37214
  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) {
@@ -37719,7 +37435,7 @@ const ActionModal$1 = _ref => {
37719
37435
  if (file.size >= 5242880) {
37720
37436
  setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
37721
37437
  } else {
37722
- const _temp = _catch$1(function () {
37438
+ const _temp = _catch(function () {
37723
37439
  return Promise.resolve(Digit.UploadServices.Filestorage("PT", file, Digit.ULBService.getStateId())).then(function (response) {
37724
37440
  var _response$data, _response$data$files;
37725
37441
  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) {
@@ -37889,7 +37605,7 @@ const ActionModal$2 = _ref => {
37889
37605
  if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
37890
37606
  setError(t("NOT_SUPPORTED_FILE_TYPE"));
37891
37607
  } else {
37892
- const _temp = _catch$1(function () {
37608
+ const _temp = _catch(function () {
37893
37609
  return Promise.resolve(Digit.UploadServices.Filestorage("OBPS", file, Digit.ULBService.getStateId() || (tenantId === null || tenantId === void 0 ? void 0 : tenantId.split(".")[0]))).then(function (response) {
37894
37610
  var _response$data, _response$data$files;
37895
37611
  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) {
@@ -38172,7 +37888,7 @@ const ActionModal$3 = _ref => {
38172
37888
  if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
38173
37889
  setError(t("NOT_SUPPORTED_FILE_TYPE"));
38174
37890
  } else {
38175
- const _temp = _catch$1(function () {
37891
+ const _temp = _catch(function () {
38176
37892
  return Promise.resolve(Digit.UploadServices.Filestorage("OBPS", file, Digit.ULBService.getStateId() || (tenantId === null || tenantId === void 0 ? void 0 : tenantId.split(".")[0]))).then(function (response) {
38177
37893
  var _response$data, _response$data$files;
38178
37894
  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) {
@@ -38430,7 +38146,7 @@ const ActionModal$4 = _ref => {
38430
38146
  if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
38431
38147
  setError(t("NOT_SUPPORTED_FILE_TYPE"));
38432
38148
  } else {
38433
- const _temp = _catch$1(function () {
38149
+ const _temp = _catch(function () {
38434
38150
  return Promise.resolve(Digit.UploadServices.Filestorage("NOC", file, Digit.ULBService.getStateId() || (tenantId === null || tenantId === void 0 ? void 0 : tenantId.split(".")[0]))).then(function (response) {
38435
38151
  var _response$data, _response$data$files;
38436
38152
  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) {
@@ -38657,7 +38373,7 @@ const ActionModal$5 = _ref => {
38657
38373
  if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
38658
38374
  setError(t("NOT_SUPPORTED_FILE_TYPE"));
38659
38375
  } else {
38660
- const _temp = _catch$1(function () {
38376
+ const _temp = _catch(function () {
38661
38377
  return Promise.resolve(Digit.UploadServices.Filestorage("WS", file, Digit.ULBService.getCurrentTenantId())).then(function (response) {
38662
38378
  var _response$data, _response$data$files;
38663
38379
  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) {
@@ -38967,7 +38683,7 @@ const ActionModal$6 = _ref => {
38967
38683
  if (file.size >= 5242880) {
38968
38684
  setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
38969
38685
  } else {
38970
- const _temp = _catch$1(function () {
38686
+ const _temp = _catch(function () {
38971
38687
  return Promise.resolve(Digit.UploadServices.Filestorage("PTR", file, Digit.ULBService.getStateId())).then(function (response) {
38972
38688
  var _response$data, _response$data$files;
38973
38689
  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) {
@@ -39257,7 +38973,7 @@ const ActionModal$8 = _ref => {
39257
38973
  if (file.size >= 5242880) {
39258
38974
  setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
39259
38975
  } else {
39260
- const _temp = _catch$1(function () {
38976
+ const _temp = _catch(function () {
39261
38977
  return Promise.resolve(Digit.UploadServices.Filestorage("CHB", file, tenantId)).then(function (response) {
39262
38978
  var _response$data, _response$data$files;
39263
38979
  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) {
@@ -39423,7 +39139,7 @@ const ActionModal$9 = _ref => {
39423
39139
  if (file.size >= 5242880) {
39424
39140
  setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
39425
39141
  } else {
39426
- const _temp = _catch$1(function () {
39142
+ const _temp = _catch(function () {
39427
39143
  return Promise.resolve(Digit.UploadServices.Filestorage("PTR", file, Digit.ULBService.getStateId())).then(function (response) {
39428
39144
  var _response$data, _response$data$files;
39429
39145
  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) {
@@ -39595,8 +39311,8 @@ const ActionModal$a = _ref => {
39595
39311
  if (file.size >= 5242880) {
39596
39312
  setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
39597
39313
  } else {
39598
- const _temp = _finallyRethrows$1(function () {
39599
- return _catch$1(function () {
39314
+ const _temp = _finallyRethrows(function () {
39315
+ return _catch(function () {
39600
39316
  return Promise.resolve(Digit.UploadServices.Filestorage("StreetVending", file, tenantId)).then(function (response) {
39601
39317
  var _response$data, _response$data$files;
39602
39318
  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) {
@@ -39882,7 +39598,7 @@ const ActionModal$b = _ref => {
39882
39598
  if (file.size >= 5242880) {
39883
39599
  setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
39884
39600
  } else {
39885
- const _temp = _catch$1(function () {
39601
+ const _temp = _catch(function () {
39886
39602
  return Promise.resolve(Digit.UploadServices.Filestorage("WT", file, tenantId)).then(function (response) {
39887
39603
  var _response$data, _response$data$files;
39888
39604
  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) {
@@ -40570,7 +40286,7 @@ function SelectDocument$4(_ref) {
40570
40286
  if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
40571
40287
  setError(t("NOT_SUPPORTED_FILE_TYPE"));
40572
40288
  } else {
40573
- const _temp = _catch$1(function () {
40289
+ const _temp = _catch(function () {
40574
40290
  setUploadedFile(null);
40575
40291
  return Promise.resolve(Digit.UploadServices.Filestorage("PT", file, Digit.ULBService.getStateId())).then(function (response) {
40576
40292
  var _response$data, _response$data$files;
@@ -40960,7 +40676,7 @@ function PropertyDocuments(_ref) {
40960
40676
  };
40961
40677
  const forceDownload = function (url, fileName) {
40962
40678
  try {
40963
- return Promise.resolve(_catch$1(function () {
40679
+ return Promise.resolve(_catch(function () {
40964
40680
  return Promise.resolve(fetch(url)).then(function (response) {
40965
40681
  if (!response.ok) {
40966
40682
  throw new Error("HTTP error! status: " + response.status);
@@ -41223,7 +40939,7 @@ function PropertyDocuments(_ref) {
41223
40939
  }));
41224
40940
  }
41225
40941
  }
41226
- }), "Check Verified"));
40942
+ }), t("Check Verified")));
41227
40943
  })())
41228
40944
  })));
41229
40945
  };
@@ -44170,7 +43886,7 @@ const ApplicationDetails = props => {
44170
43886
  const nocPrmomises = (_nocData = nocData) === null || _nocData === void 0 ? void 0 : _nocData.map(noc => {
44171
43887
  return nocMutation === null || nocMutation === void 0 ? void 0 : nocMutation.mutateAsync(noc);
44172
43888
  });
44173
- const _temp = _catch$1(function () {
43889
+ const _temp = _catch(function () {
44174
43890
  setIsEnableLoader(true);
44175
43891
  return Promise.resolve(Promise.all(nocPrmomises)).then(function (values) {
44176
43892
  values && values.map(ob => {