@djb25/digit-ui-module-ws 1.0.41 → 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.
- package/dist/index.js +548 -823
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +549 -824
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState, useEffect, useRef, useMemo, Fragment as Fragment$1, useReducer, useCallback } from 'react';
|
|
2
2
|
import { useTranslation } from 'react-i18next';
|
|
3
3
|
import { Link, useHistory, useLocation, Switch, Route, useRouteMatch, Redirect, useParams } from 'react-router-dom';
|
|
4
|
-
import { Loader, Card, KeyNote, SubmitBar, InfoBannerIcon,
|
|
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(
|
|
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
|
-
|
|
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
|
-
|
|
10265
|
-
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
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
|
-
|
|
10278
|
-
|
|
10279
|
-
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
|
|
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 => {
|
|
@@ -25176,385 +25207,394 @@ const config = [{
|
|
|
25176
25207
|
}]
|
|
25177
25208
|
}];
|
|
25178
25209
|
|
|
25179
|
-
|
|
25180
|
-
|
|
25181
|
-
|
|
25182
|
-
|
|
25183
|
-
|
|
25184
|
-
|
|
25185
|
-
|
|
25186
|
-
|
|
25187
|
-
|
|
25188
|
-
|
|
25189
|
-
|
|
25190
|
-
|
|
25191
|
-
|
|
25192
|
-
|
|
25193
|
-
|
|
25194
|
-
|
|
25195
|
-
|
|
25196
|
-
|
|
25197
|
-
|
|
25198
|
-
|
|
25199
|
-
|
|
25200
|
-
|
|
25201
|
-
|
|
25202
|
-
|
|
25203
|
-
|
|
25204
|
-
|
|
25205
|
-
|
|
25206
|
-
|
|
25207
|
-
|
|
25208
|
-
|
|
25209
|
-
|
|
25210
|
-
|
|
25211
|
-
isContextProvider: isContextProvider,
|
|
25212
|
-
isElement: isElement,
|
|
25213
|
-
isForwardRef: isForwardRef,
|
|
25214
|
-
isFragment: isFragment,
|
|
25215
|
-
isLazy: isLazy,
|
|
25216
|
-
isMemo: isMemo,
|
|
25217
|
-
isPortal: isPortal,
|
|
25218
|
-
isProfiler: isProfiler,
|
|
25219
|
-
isStrictMode: isStrictMode,
|
|
25220
|
-
isSuspense: isSuspense,
|
|
25221
|
-
isValidElementType: isValidElementType,
|
|
25222
|
-
typeOf: typeOf
|
|
25223
|
-
};
|
|
25224
|
-
|
|
25225
|
-
var reactIs_development = createCommonjsModule(function (module, exports) {
|
|
25226
|
-
|
|
25227
|
-
|
|
25228
|
-
|
|
25229
|
-
if (process.env.NODE_ENV !== "production") {
|
|
25230
|
-
(function() {
|
|
25231
|
-
|
|
25232
|
-
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
25233
|
-
// nor polyfill, then a plain number is used for performance.
|
|
25234
|
-
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
25235
|
-
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
25236
|
-
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
25237
|
-
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
25238
|
-
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
25239
|
-
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
25240
|
-
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
25241
|
-
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
25242
|
-
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
25243
|
-
|
|
25244
|
-
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
25245
|
-
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
25246
|
-
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
25247
|
-
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
25248
|
-
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
25249
|
-
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
25250
|
-
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
25251
|
-
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
25252
|
-
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
25253
|
-
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
25254
|
-
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
25255
|
-
|
|
25256
|
-
function isValidElementType(type) {
|
|
25257
|
-
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
25258
|
-
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);
|
|
25259
|
-
}
|
|
25260
|
-
|
|
25261
|
-
function typeOf(object) {
|
|
25262
|
-
if (typeof object === 'object' && object !== null) {
|
|
25263
|
-
var $$typeof = object.$$typeof;
|
|
25264
|
-
|
|
25265
|
-
switch ($$typeof) {
|
|
25266
|
-
case REACT_ELEMENT_TYPE:
|
|
25267
|
-
var type = object.type;
|
|
25268
|
-
|
|
25269
|
-
switch (type) {
|
|
25270
|
-
case REACT_ASYNC_MODE_TYPE:
|
|
25271
|
-
case REACT_CONCURRENT_MODE_TYPE:
|
|
25272
|
-
case REACT_FRAGMENT_TYPE:
|
|
25273
|
-
case REACT_PROFILER_TYPE:
|
|
25274
|
-
case REACT_STRICT_MODE_TYPE:
|
|
25275
|
-
case REACT_SUSPENSE_TYPE:
|
|
25276
|
-
return type;
|
|
25277
|
-
|
|
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;
|
|
25278
25242
|
default:
|
|
25279
|
-
|
|
25280
|
-
|
|
25281
|
-
|
|
25282
|
-
case
|
|
25283
|
-
case
|
|
25284
|
-
case
|
|
25285
|
-
|
|
25286
|
-
case REACT_PROVIDER_TYPE:
|
|
25287
|
-
return $$typeofType;
|
|
25288
|
-
|
|
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;
|
|
25289
25250
|
default:
|
|
25290
|
-
return
|
|
25251
|
+
return u;
|
|
25291
25252
|
}
|
|
25292
|
-
|
|
25293
25253
|
}
|
|
25294
|
-
|
|
25295
|
-
|
|
25296
|
-
return $$typeof;
|
|
25254
|
+
case d:
|
|
25255
|
+
return u;
|
|
25297
25256
|
}
|
|
25298
25257
|
}
|
|
25299
|
-
|
|
25300
|
-
return undefined;
|
|
25301
|
-
} // AsyncMode is deprecated along with isAsyncMode
|
|
25302
|
-
|
|
25303
|
-
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
25304
|
-
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
25305
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
25306
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
25307
|
-
var Element = REACT_ELEMENT_TYPE;
|
|
25308
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
25309
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
25310
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
25311
|
-
var Memo = REACT_MEMO_TYPE;
|
|
25312
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
25313
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
25314
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
25315
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
25316
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
25317
|
-
|
|
25318
|
-
function isAsyncMode(object) {
|
|
25319
|
-
{
|
|
25320
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
25321
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
25322
|
-
|
|
25323
|
-
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.');
|
|
25324
|
-
}
|
|
25325
|
-
}
|
|
25326
|
-
|
|
25327
|
-
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
25328
|
-
}
|
|
25329
|
-
function isConcurrentMode(object) {
|
|
25330
|
-
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
25331
|
-
}
|
|
25332
|
-
function isContextConsumer(object) {
|
|
25333
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
25334
|
-
}
|
|
25335
|
-
function isContextProvider(object) {
|
|
25336
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
25337
25258
|
}
|
|
25338
|
-
function
|
|
25339
|
-
return
|
|
25340
|
-
}
|
|
25341
|
-
function isForwardRef(object) {
|
|
25342
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
25343
|
-
}
|
|
25344
|
-
function isFragment(object) {
|
|
25345
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
25346
|
-
}
|
|
25347
|
-
function isLazy(object) {
|
|
25348
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
|
25349
|
-
}
|
|
25350
|
-
function isMemo(object) {
|
|
25351
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
|
25352
|
-
}
|
|
25353
|
-
function isPortal(object) {
|
|
25354
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
25355
|
-
}
|
|
25356
|
-
function isProfiler(object) {
|
|
25357
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
25358
|
-
}
|
|
25359
|
-
function isStrictMode(object) {
|
|
25360
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
25361
|
-
}
|
|
25362
|
-
function isSuspense(object) {
|
|
25363
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
25259
|
+
function A(a) {
|
|
25260
|
+
return z(a) === m;
|
|
25364
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
|
+
};
|
|
25365
25346
|
|
|
25366
|
-
|
|
25367
|
-
|
|
25368
|
-
|
|
25369
|
-
|
|
25370
|
-
|
|
25371
|
-
|
|
25372
|
-
|
|
25373
|
-
|
|
25374
|
-
|
|
25375
|
-
|
|
25376
|
-
|
|
25377
|
-
|
|
25378
|
-
|
|
25379
|
-
|
|
25380
|
-
|
|
25381
|
-
|
|
25382
|
-
|
|
25383
|
-
|
|
25384
|
-
|
|
25385
|
-
|
|
25386
|
-
|
|
25387
|
-
|
|
25388
|
-
|
|
25389
|
-
|
|
25390
|
-
|
|
25391
|
-
|
|
25392
|
-
|
|
25393
|
-
|
|
25394
|
-
|
|
25395
|
-
|
|
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
|
+
}
|
|
25396
25495
|
});
|
|
25397
25496
|
|
|
25398
25497
|
var reactIs = createCommonjsModule(function (module) {
|
|
25399
25498
|
|
|
25400
|
-
if (process.env.NODE_ENV === 'production') {
|
|
25401
|
-
|
|
25402
|
-
} else {
|
|
25403
|
-
|
|
25404
|
-
}
|
|
25499
|
+
if (process.env.NODE_ENV === 'production') {
|
|
25500
|
+
module.exports = reactIs_production_min;
|
|
25501
|
+
} else {
|
|
25502
|
+
module.exports = reactIs_development;
|
|
25503
|
+
}
|
|
25405
25504
|
});
|
|
25406
25505
|
|
|
25407
|
-
/*
|
|
25408
|
-
object-assign
|
|
25409
|
-
(c) Sindre Sorhus
|
|
25410
|
-
@license MIT
|
|
25411
|
-
*/
|
|
25412
|
-
/* eslint-disable no-unused-vars */
|
|
25413
25506
|
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
25414
25507
|
var hasOwnProperty$a = Object.prototype.hasOwnProperty;
|
|
25415
25508
|
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
25416
|
-
|
|
25417
25509
|
function toObject(val) {
|
|
25418
|
-
|
|
25419
|
-
|
|
25420
|
-
|
|
25421
|
-
|
|
25422
|
-
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);
|
|
25423
25514
|
}
|
|
25424
|
-
|
|
25425
25515
|
function shouldUseNative() {
|
|
25426
|
-
|
|
25427
|
-
|
|
25428
|
-
|
|
25429
|
-
|
|
25430
|
-
|
|
25431
|
-
|
|
25432
|
-
|
|
25433
|
-
|
|
25434
|
-
|
|
25435
|
-
|
|
25436
|
-
|
|
25437
|
-
|
|
25438
|
-
|
|
25439
|
-
|
|
25440
|
-
|
|
25441
|
-
|
|
25442
|
-
|
|
25443
|
-
|
|
25444
|
-
|
|
25445
|
-
|
|
25446
|
-
|
|
25447
|
-
|
|
25448
|
-
|
|
25449
|
-
|
|
25450
|
-
|
|
25451
|
-
|
|
25452
|
-
|
|
25453
|
-
|
|
25454
|
-
|
|
25455
|
-
|
|
25456
|
-
});
|
|
25457
|
-
if (Object.keys(Object.assign({}, test3)).join('') !==
|
|
25458
|
-
'abcdefghijklmnopqrst') {
|
|
25459
|
-
return false;
|
|
25460
|
-
}
|
|
25461
|
-
|
|
25462
|
-
return true;
|
|
25463
|
-
} catch (err) {
|
|
25464
|
-
// We don't expect any of the above to throw, but better to be safe.
|
|
25465
|
-
return false;
|
|
25466
|
-
}
|
|
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
|
+
}
|
|
25467
25546
|
}
|
|
25468
|
-
|
|
25469
25547
|
var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
|
25470
|
-
|
|
25471
|
-
|
|
25472
|
-
|
|
25473
|
-
|
|
25474
|
-
|
|
25475
|
-
|
|
25476
|
-
|
|
25477
|
-
|
|
25478
|
-
|
|
25479
|
-
|
|
25480
|
-
|
|
25481
|
-
|
|
25482
|
-
|
|
25483
|
-
|
|
25484
|
-
|
|
25485
|
-
|
|
25486
|
-
|
|
25487
|
-
|
|
25488
|
-
|
|
25489
|
-
|
|
25490
|
-
}
|
|
25491
|
-
}
|
|
25492
|
-
|
|
25493
|
-
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;
|
|
25494
25568
|
};
|
|
25495
25569
|
|
|
25496
|
-
/**
|
|
25497
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
25498
|
-
*
|
|
25499
|
-
* This source code is licensed under the MIT license found in the
|
|
25500
|
-
* LICENSE file in the root directory of this source tree.
|
|
25501
|
-
*/
|
|
25502
|
-
|
|
25503
25570
|
var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
25504
|
-
|
|
25505
25571
|
var ReactPropTypesSecret_1 = ReactPropTypesSecret;
|
|
25506
25572
|
|
|
25507
25573
|
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
25508
25574
|
|
|
25509
|
-
var printWarning = function() {};
|
|
25510
|
-
|
|
25575
|
+
var printWarning = function () {};
|
|
25511
25576
|
if (process.env.NODE_ENV !== 'production') {
|
|
25512
25577
|
var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
|
|
25513
25578
|
var loggedTypeFailures = {};
|
|
25514
25579
|
var has$1 = has;
|
|
25515
|
-
|
|
25516
|
-
printWarning = function(text) {
|
|
25580
|
+
printWarning = function (text) {
|
|
25517
25581
|
var message = 'Warning: ' + text;
|
|
25518
25582
|
if (typeof console !== 'undefined') {
|
|
25519
25583
|
console.error(message);
|
|
25520
25584
|
}
|
|
25521
25585
|
try {
|
|
25522
|
-
// --- Welcome to debugging React ---
|
|
25523
|
-
// This error was thrown as a convenience so that you can use this stack
|
|
25524
|
-
// to find the callsite that caused this warning to fire.
|
|
25525
25586
|
throw new Error(message);
|
|
25526
|
-
} catch (x) {
|
|
25587
|
+
} catch (x) {}
|
|
25527
25588
|
};
|
|
25528
25589
|
}
|
|
25529
|
-
|
|
25530
|
-
/**
|
|
25531
|
-
* Assert that the values match with the type specs.
|
|
25532
|
-
* Error messages are memorized and will only be shown once.
|
|
25533
|
-
*
|
|
25534
|
-
* @param {object} typeSpecs Map of name to a ReactPropType
|
|
25535
|
-
* @param {object} values Runtime values that need to be type-checked
|
|
25536
|
-
* @param {string} location e.g. "prop", "context", "child context"
|
|
25537
|
-
* @param {string} componentName Name of the component for error messages.
|
|
25538
|
-
* @param {?Function} getStack Returns the component stack.
|
|
25539
|
-
* @private
|
|
25540
|
-
*/
|
|
25541
25590
|
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
25542
25591
|
if (process.env.NODE_ENV !== 'production') {
|
|
25543
25592
|
for (var typeSpecName in typeSpecs) {
|
|
25544
25593
|
if (has$1(typeSpecs, typeSpecName)) {
|
|
25545
25594
|
var error;
|
|
25546
|
-
// Prop type validation may throw. In case they do, we don't want to
|
|
25547
|
-
// fail the render phase where it didn't fail before. So we log it.
|
|
25548
|
-
// After these have been cleaned up, we'll let them throw.
|
|
25549
25595
|
try {
|
|
25550
|
-
// This is intentionally an invariant that gets caught. It's the same
|
|
25551
|
-
// behavior as without this statement except with a better message.
|
|
25552
25596
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
25553
|
-
var err = Error(
|
|
25554
|
-
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
25555
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
25556
|
-
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
25557
|
-
);
|
|
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`.');
|
|
25558
25598
|
err.name = 'Invariant Violation';
|
|
25559
25599
|
throw err;
|
|
25560
25600
|
}
|
|
@@ -25563,142 +25603,49 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
|
25563
25603
|
error = ex;
|
|
25564
25604
|
}
|
|
25565
25605
|
if (error && !(error instanceof Error)) {
|
|
25566
|
-
printWarning(
|
|
25567
|
-
(componentName || 'React class') + ': type specification of ' +
|
|
25568
|
-
location + ' `' + typeSpecName + '` is invalid; the type checker ' +
|
|
25569
|
-
'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
|
|
25570
|
-
'You may have forgotten to pass an argument to the type checker ' +
|
|
25571
|
-
'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
|
|
25572
|
-
'shape all require an argument).'
|
|
25573
|
-
);
|
|
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).');
|
|
25574
25607
|
}
|
|
25575
25608
|
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
|
|
25576
|
-
// Only monitor this failure once because there tends to be a lot of the
|
|
25577
|
-
// same error.
|
|
25578
25609
|
loggedTypeFailures[error.message] = true;
|
|
25579
|
-
|
|
25580
25610
|
var stack = getStack ? getStack() : '';
|
|
25581
|
-
|
|
25582
|
-
printWarning(
|
|
25583
|
-
'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
|
|
25584
|
-
);
|
|
25611
|
+
printWarning('Failed ' + location + ' type: ' + error.message + (stack != null ? stack : ''));
|
|
25585
25612
|
}
|
|
25586
25613
|
}
|
|
25587
25614
|
}
|
|
25588
25615
|
}
|
|
25589
25616
|
}
|
|
25590
|
-
|
|
25591
|
-
/**
|
|
25592
|
-
* Resets warning cache when testing.
|
|
25593
|
-
*
|
|
25594
|
-
* @private
|
|
25595
|
-
*/
|
|
25596
|
-
checkPropTypes.resetWarningCache = function() {
|
|
25617
|
+
checkPropTypes.resetWarningCache = function () {
|
|
25597
25618
|
if (process.env.NODE_ENV !== 'production') {
|
|
25598
25619
|
loggedTypeFailures = {};
|
|
25599
25620
|
}
|
|
25600
25621
|
};
|
|
25601
|
-
|
|
25602
25622
|
var checkPropTypes_1 = checkPropTypes;
|
|
25603
25623
|
|
|
25604
|
-
var printWarning$1 = function() {};
|
|
25605
|
-
|
|
25624
|
+
var printWarning$1 = function () {};
|
|
25606
25625
|
if (process.env.NODE_ENV !== 'production') {
|
|
25607
|
-
printWarning$1 = function(text) {
|
|
25626
|
+
printWarning$1 = function (text) {
|
|
25608
25627
|
var message = 'Warning: ' + text;
|
|
25609
25628
|
if (typeof console !== 'undefined') {
|
|
25610
25629
|
console.error(message);
|
|
25611
25630
|
}
|
|
25612
25631
|
try {
|
|
25613
|
-
// --- Welcome to debugging React ---
|
|
25614
|
-
// This error was thrown as a convenience so that you can use this stack
|
|
25615
|
-
// to find the callsite that caused this warning to fire.
|
|
25616
25632
|
throw new Error(message);
|
|
25617
25633
|
} catch (x) {}
|
|
25618
25634
|
};
|
|
25619
25635
|
}
|
|
25620
|
-
|
|
25621
25636
|
function emptyFunctionThatReturnsNull() {
|
|
25622
25637
|
return null;
|
|
25623
25638
|
}
|
|
25624
|
-
|
|
25625
|
-
var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
25626
|
-
/* global Symbol */
|
|
25639
|
+
var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
|
|
25627
25640
|
var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
|
25628
|
-
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
|
25629
|
-
|
|
25630
|
-
/**
|
|
25631
|
-
* Returns the iterator method function contained on the iterable object.
|
|
25632
|
-
*
|
|
25633
|
-
* Be sure to invoke the function with the iterable as context:
|
|
25634
|
-
*
|
|
25635
|
-
* var iteratorFn = getIteratorFn(myIterable);
|
|
25636
|
-
* if (iteratorFn) {
|
|
25637
|
-
* var iterator = iteratorFn.call(myIterable);
|
|
25638
|
-
* ...
|
|
25639
|
-
* }
|
|
25640
|
-
*
|
|
25641
|
-
* @param {?object} maybeIterable
|
|
25642
|
-
* @return {?function}
|
|
25643
|
-
*/
|
|
25641
|
+
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
|
25644
25642
|
function getIteratorFn(maybeIterable) {
|
|
25645
25643
|
var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
|
|
25646
25644
|
if (typeof iteratorFn === 'function') {
|
|
25647
25645
|
return iteratorFn;
|
|
25648
25646
|
}
|
|
25649
25647
|
}
|
|
25650
|
-
|
|
25651
|
-
/**
|
|
25652
|
-
* Collection of methods that allow declaration and validation of props that are
|
|
25653
|
-
* supplied to React components. Example usage:
|
|
25654
|
-
*
|
|
25655
|
-
* var Props = require('ReactPropTypes');
|
|
25656
|
-
* var MyArticle = React.createClass({
|
|
25657
|
-
* propTypes: {
|
|
25658
|
-
* // An optional string prop named "description".
|
|
25659
|
-
* description: Props.string,
|
|
25660
|
-
*
|
|
25661
|
-
* // A required enum prop named "category".
|
|
25662
|
-
* category: Props.oneOf(['News','Photos']).isRequired,
|
|
25663
|
-
*
|
|
25664
|
-
* // A prop named "dialog" that requires an instance of Dialog.
|
|
25665
|
-
* dialog: Props.instanceOf(Dialog).isRequired
|
|
25666
|
-
* },
|
|
25667
|
-
* render: function() { ... }
|
|
25668
|
-
* });
|
|
25669
|
-
*
|
|
25670
|
-
* A more formal specification of how these methods are used:
|
|
25671
|
-
*
|
|
25672
|
-
* type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
|
|
25673
|
-
* decl := ReactPropTypes.{type}(.isRequired)?
|
|
25674
|
-
*
|
|
25675
|
-
* Each and every declaration produces a function with the same signature. This
|
|
25676
|
-
* allows the creation of custom validation functions. For example:
|
|
25677
|
-
*
|
|
25678
|
-
* var MyLink = React.createClass({
|
|
25679
|
-
* propTypes: {
|
|
25680
|
-
* // An optional string or URI prop named "href".
|
|
25681
|
-
* href: function(props, propName, componentName) {
|
|
25682
|
-
* var propValue = props[propName];
|
|
25683
|
-
* if (propValue != null && typeof propValue !== 'string' &&
|
|
25684
|
-
* !(propValue instanceof URI)) {
|
|
25685
|
-
* return new Error(
|
|
25686
|
-
* 'Expected a string or an URI for ' + propName + ' in ' +
|
|
25687
|
-
* componentName
|
|
25688
|
-
* );
|
|
25689
|
-
* }
|
|
25690
|
-
* }
|
|
25691
|
-
* },
|
|
25692
|
-
* render: function() {...}
|
|
25693
|
-
* });
|
|
25694
|
-
*
|
|
25695
|
-
* @internal
|
|
25696
|
-
*/
|
|
25697
|
-
|
|
25698
25648
|
var ANONYMOUS = '<<anonymous>>';
|
|
25699
|
-
|
|
25700
|
-
// Important!
|
|
25701
|
-
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
25702
25649
|
var ReactPropTypes = {
|
|
25703
25650
|
array: createPrimitiveTypeChecker('array'),
|
|
25704
25651
|
bigint: createPrimitiveTypeChecker('bigint'),
|
|
@@ -25708,7 +25655,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25708
25655
|
object: createPrimitiveTypeChecker('object'),
|
|
25709
25656
|
string: createPrimitiveTypeChecker('string'),
|
|
25710
25657
|
symbol: createPrimitiveTypeChecker('symbol'),
|
|
25711
|
-
|
|
25712
25658
|
any: createAnyTypeChecker(),
|
|
25713
25659
|
arrayOf: createArrayOfTypeChecker,
|
|
25714
25660
|
element: createElementTypeChecker(),
|
|
@@ -25719,42 +25665,21 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25719
25665
|
oneOf: createEnumTypeChecker,
|
|
25720
25666
|
oneOfType: createUnionTypeChecker,
|
|
25721
25667
|
shape: createShapeTypeChecker,
|
|
25722
|
-
exact: createStrictShapeTypeChecker
|
|
25668
|
+
exact: createStrictShapeTypeChecker
|
|
25723
25669
|
};
|
|
25724
|
-
|
|
25725
|
-
/**
|
|
25726
|
-
* inlined Object.is polyfill to avoid requiring consumers ship their own
|
|
25727
|
-
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
|
|
25728
|
-
*/
|
|
25729
|
-
/*eslint-disable no-self-compare*/
|
|
25730
25670
|
function is(x, y) {
|
|
25731
|
-
// SameValue algorithm
|
|
25732
25671
|
if (x === y) {
|
|
25733
|
-
// Steps 1-5, 7-10
|
|
25734
|
-
// Steps 6.b-6.e: +0 != -0
|
|
25735
25672
|
return x !== 0 || 1 / x === 1 / y;
|
|
25736
25673
|
} else {
|
|
25737
|
-
// Step 6.a: NaN == NaN
|
|
25738
25674
|
return x !== x && y !== y;
|
|
25739
25675
|
}
|
|
25740
25676
|
}
|
|
25741
|
-
/*eslint-enable no-self-compare*/
|
|
25742
|
-
|
|
25743
|
-
/**
|
|
25744
|
-
* We use an Error-like object for backward compatibility as people may call
|
|
25745
|
-
* PropTypes directly and inspect their output. However, we don't use real
|
|
25746
|
-
* Errors anymore. We don't inspect their stack anyway, and creating them
|
|
25747
|
-
* is prohibitively expensive if they are created too often, such as what
|
|
25748
|
-
* happens in oneOfType() for any type before the one that matched.
|
|
25749
|
-
*/
|
|
25750
25677
|
function PropTypeError(message, data) {
|
|
25751
25678
|
this.message = message;
|
|
25752
|
-
this.data = data && typeof data === 'object' ? data: {};
|
|
25679
|
+
this.data = data && typeof data === 'object' ? data : {};
|
|
25753
25680
|
this.stack = '';
|
|
25754
25681
|
}
|
|
25755
|
-
// Make `instanceof Error` still work for returned errors.
|
|
25756
25682
|
PropTypeError.prototype = Error.prototype;
|
|
25757
|
-
|
|
25758
25683
|
function createChainableTypeChecker(validate) {
|
|
25759
25684
|
if (process.env.NODE_ENV !== 'production') {
|
|
25760
25685
|
var manualPropTypeCallCache = {};
|
|
@@ -25763,32 +25688,15 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25763
25688
|
function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
|
|
25764
25689
|
componentName = componentName || ANONYMOUS;
|
|
25765
25690
|
propFullName = propFullName || propName;
|
|
25766
|
-
|
|
25767
25691
|
if (secret !== ReactPropTypesSecret_1) {
|
|
25768
25692
|
if (throwOnDirectAccess) {
|
|
25769
|
-
|
|
25770
|
-
var err = new Error(
|
|
25771
|
-
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
|
|
25772
|
-
'Use `PropTypes.checkPropTypes()` to call them. ' +
|
|
25773
|
-
'Read more at http://fb.me/use-check-prop-types'
|
|
25774
|
-
);
|
|
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');
|
|
25775
25694
|
err.name = 'Invariant Violation';
|
|
25776
25695
|
throw err;
|
|
25777
25696
|
} else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
|
|
25778
|
-
// Old behavior for people using React.PropTypes
|
|
25779
25697
|
var cacheKey = componentName + ':' + propName;
|
|
25780
|
-
if (
|
|
25781
|
-
|
|
25782
|
-
// Avoid spamming the console because they are often not actionable except for lib authors
|
|
25783
|
-
manualPropTypeWarningCount < 3
|
|
25784
|
-
) {
|
|
25785
|
-
printWarning$1(
|
|
25786
|
-
'You are manually calling a React.PropTypes validation ' +
|
|
25787
|
-
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
25788
|
-
'and will throw in the standalone `prop-types` package. ' +
|
|
25789
|
-
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
25790
|
-
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
25791
|
-
);
|
|
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.');
|
|
25792
25700
|
manualPropTypeCallCache[cacheKey] = true;
|
|
25793
25701
|
manualPropTypeWarningCount++;
|
|
25794
25702
|
}
|
|
@@ -25806,37 +25714,27 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25806
25714
|
return validate(props, propName, componentName, location, propFullName);
|
|
25807
25715
|
}
|
|
25808
25716
|
}
|
|
25809
|
-
|
|
25810
25717
|
var chainedCheckType = checkType.bind(null, false);
|
|
25811
25718
|
chainedCheckType.isRequired = checkType.bind(null, true);
|
|
25812
|
-
|
|
25813
25719
|
return chainedCheckType;
|
|
25814
25720
|
}
|
|
25815
|
-
|
|
25816
25721
|
function createPrimitiveTypeChecker(expectedType) {
|
|
25817
25722
|
function validate(props, propName, componentName, location, propFullName, secret) {
|
|
25818
25723
|
var propValue = props[propName];
|
|
25819
25724
|
var propType = getPropType(propValue);
|
|
25820
25725
|
if (propType !== expectedType) {
|
|
25821
|
-
// `propValue` being instance of, say, date/regexp, pass the 'object'
|
|
25822
|
-
// check, but we can offer a more precise error message here rather than
|
|
25823
|
-
// 'of type `object`'.
|
|
25824
25726
|
var preciseType = getPreciseType(propValue);
|
|
25825
|
-
|
|
25826
|
-
|
|
25827
|
-
|
|
25828
|
-
{expectedType: expectedType}
|
|
25829
|
-
);
|
|
25727
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'), {
|
|
25728
|
+
expectedType: expectedType
|
|
25729
|
+
});
|
|
25830
25730
|
}
|
|
25831
25731
|
return null;
|
|
25832
25732
|
}
|
|
25833
25733
|
return createChainableTypeChecker(validate);
|
|
25834
25734
|
}
|
|
25835
|
-
|
|
25836
25735
|
function createAnyTypeChecker() {
|
|
25837
25736
|
return createChainableTypeChecker(emptyFunctionThatReturnsNull);
|
|
25838
25737
|
}
|
|
25839
|
-
|
|
25840
25738
|
function createArrayOfTypeChecker(typeChecker) {
|
|
25841
25739
|
function validate(props, propName, componentName, location, propFullName) {
|
|
25842
25740
|
if (typeof typeChecker !== 'function') {
|
|
@@ -25857,7 +25755,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25857
25755
|
}
|
|
25858
25756
|
return createChainableTypeChecker(validate);
|
|
25859
25757
|
}
|
|
25860
|
-
|
|
25861
25758
|
function createElementTypeChecker() {
|
|
25862
25759
|
function validate(props, propName, componentName, location, propFullName) {
|
|
25863
25760
|
var propValue = props[propName];
|
|
@@ -25869,7 +25766,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25869
25766
|
}
|
|
25870
25767
|
return createChainableTypeChecker(validate);
|
|
25871
25768
|
}
|
|
25872
|
-
|
|
25873
25769
|
function createElementTypeTypeChecker() {
|
|
25874
25770
|
function validate(props, propName, componentName, location, propFullName) {
|
|
25875
25771
|
var propValue = props[propName];
|
|
@@ -25881,7 +25777,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25881
25777
|
}
|
|
25882
25778
|
return createChainableTypeChecker(validate);
|
|
25883
25779
|
}
|
|
25884
|
-
|
|
25885
25780
|
function createInstanceTypeChecker(expectedClass) {
|
|
25886
25781
|
function validate(props, propName, componentName, location, propFullName) {
|
|
25887
25782
|
if (!(props[propName] instanceof expectedClass)) {
|
|
@@ -25893,22 +25788,17 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25893
25788
|
}
|
|
25894
25789
|
return createChainableTypeChecker(validate);
|
|
25895
25790
|
}
|
|
25896
|
-
|
|
25897
25791
|
function createEnumTypeChecker(expectedValues) {
|
|
25898
25792
|
if (!Array.isArray(expectedValues)) {
|
|
25899
25793
|
if (process.env.NODE_ENV !== 'production') {
|
|
25900
25794
|
if (arguments.length > 1) {
|
|
25901
|
-
printWarning$1(
|
|
25902
|
-
'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
|
|
25903
|
-
'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
|
|
25904
|
-
);
|
|
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]).');
|
|
25905
25796
|
} else {
|
|
25906
25797
|
printWarning$1('Invalid argument supplied to oneOf, expected an array.');
|
|
25907
25798
|
}
|
|
25908
25799
|
}
|
|
25909
25800
|
return emptyFunctionThatReturnsNull;
|
|
25910
25801
|
}
|
|
25911
|
-
|
|
25912
25802
|
function validate(props, propName, componentName, location, propFullName) {
|
|
25913
25803
|
var propValue = props[propName];
|
|
25914
25804
|
for (var i = 0; i < expectedValues.length; i++) {
|
|
@@ -25916,7 +25806,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25916
25806
|
return null;
|
|
25917
25807
|
}
|
|
25918
25808
|
}
|
|
25919
|
-
|
|
25920
25809
|
var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
|
|
25921
25810
|
var type = getPreciseType(value);
|
|
25922
25811
|
if (type === 'symbol') {
|
|
@@ -25928,7 +25817,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25928
25817
|
}
|
|
25929
25818
|
return createChainableTypeChecker(validate);
|
|
25930
25819
|
}
|
|
25931
|
-
|
|
25932
25820
|
function createObjectOfTypeChecker(typeChecker) {
|
|
25933
25821
|
function validate(props, propName, componentName, location, propFullName) {
|
|
25934
25822
|
if (typeof typeChecker !== 'function') {
|
|
@@ -25951,24 +25839,18 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25951
25839
|
}
|
|
25952
25840
|
return createChainableTypeChecker(validate);
|
|
25953
25841
|
}
|
|
25954
|
-
|
|
25955
25842
|
function createUnionTypeChecker(arrayOfTypeCheckers) {
|
|
25956
25843
|
if (!Array.isArray(arrayOfTypeCheckers)) {
|
|
25957
25844
|
process.env.NODE_ENV !== 'production' ? printWarning$1('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
|
|
25958
25845
|
return emptyFunctionThatReturnsNull;
|
|
25959
25846
|
}
|
|
25960
|
-
|
|
25961
25847
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
25962
25848
|
var checker = arrayOfTypeCheckers[i];
|
|
25963
25849
|
if (typeof checker !== 'function') {
|
|
25964
|
-
printWarning$1(
|
|
25965
|
-
'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
|
|
25966
|
-
'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
|
|
25967
|
-
);
|
|
25850
|
+
printWarning$1('Invalid argument supplied to oneOfType. Expected an array of check functions, but ' + 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.');
|
|
25968
25851
|
return emptyFunctionThatReturnsNull;
|
|
25969
25852
|
}
|
|
25970
25853
|
}
|
|
25971
|
-
|
|
25972
25854
|
function validate(props, propName, componentName, location, propFullName) {
|
|
25973
25855
|
var expectedTypes = [];
|
|
25974
25856
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
@@ -25981,12 +25863,11 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25981
25863
|
expectedTypes.push(checkerResult.data.expectedType);
|
|
25982
25864
|
}
|
|
25983
25865
|
}
|
|
25984
|
-
var expectedTypesMessage =
|
|
25866
|
+
var expectedTypesMessage = expectedTypes.length > 0 ? ', expected one of type [' + expectedTypes.join(', ') + ']' : '';
|
|
25985
25867
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
25986
25868
|
}
|
|
25987
25869
|
return createChainableTypeChecker(validate);
|
|
25988
25870
|
}
|
|
25989
|
-
|
|
25990
25871
|
function createNodeChecker() {
|
|
25991
25872
|
function validate(props, propName, componentName, location, propFullName) {
|
|
25992
25873
|
if (!isNode(props[propName])) {
|
|
@@ -25996,14 +25877,9 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25996
25877
|
}
|
|
25997
25878
|
return createChainableTypeChecker(validate);
|
|
25998
25879
|
}
|
|
25999
|
-
|
|
26000
25880
|
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
26001
|
-
return new PropTypeError(
|
|
26002
|
-
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
26003
|
-
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
26004
|
-
);
|
|
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 + '`.');
|
|
26005
25882
|
}
|
|
26006
|
-
|
|
26007
25883
|
function createShapeTypeChecker(shapeTypes) {
|
|
26008
25884
|
function validate(props, propName, componentName, location, propFullName) {
|
|
26009
25885
|
var propValue = props[propName];
|
|
@@ -26025,7 +25901,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26025
25901
|
}
|
|
26026
25902
|
return createChainableTypeChecker(validate);
|
|
26027
25903
|
}
|
|
26028
|
-
|
|
26029
25904
|
function createStrictShapeTypeChecker(shapeTypes) {
|
|
26030
25905
|
function validate(props, propName, componentName, location, propFullName) {
|
|
26031
25906
|
var propValue = props[propName];
|
|
@@ -26033,7 +25908,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26033
25908
|
if (propType !== 'object') {
|
|
26034
25909
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
26035
25910
|
}
|
|
26036
|
-
// We need to check all keys in case some are required but missing from props.
|
|
26037
25911
|
var allKeys = objectAssign({}, props[propName], shapeTypes);
|
|
26038
25912
|
for (var key in allKeys) {
|
|
26039
25913
|
var checker = shapeTypes[key];
|
|
@@ -26041,11 +25915,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26041
25915
|
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
26042
25916
|
}
|
|
26043
25917
|
if (!checker) {
|
|
26044
|
-
return new PropTypeError(
|
|
26045
|
-
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
26046
|
-
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
26047
|
-
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
26048
|
-
);
|
|
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, ' '));
|
|
26049
25919
|
}
|
|
26050
25920
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
|
|
26051
25921
|
if (error) {
|
|
@@ -26054,10 +25924,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26054
25924
|
}
|
|
26055
25925
|
return null;
|
|
26056
25926
|
}
|
|
26057
|
-
|
|
26058
25927
|
return createChainableTypeChecker(validate);
|
|
26059
25928
|
}
|
|
26060
|
-
|
|
26061
25929
|
function isNode(propValue) {
|
|
26062
25930
|
switch (typeof propValue) {
|
|
26063
25931
|
case 'number':
|
|
@@ -26073,7 +25941,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26073
25941
|
if (propValue === null || isValidElement(propValue)) {
|
|
26074
25942
|
return true;
|
|
26075
25943
|
}
|
|
26076
|
-
|
|
26077
25944
|
var iteratorFn = getIteratorFn(propValue);
|
|
26078
25945
|
if (iteratorFn) {
|
|
26079
25946
|
var iterator = iteratorFn.call(propValue);
|
|
@@ -26085,7 +25952,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26085
25952
|
}
|
|
26086
25953
|
}
|
|
26087
25954
|
} else {
|
|
26088
|
-
// Iterator will provide entry [k,v] tuples rather than values.
|
|
26089
25955
|
while (!(step = iterator.next()).done) {
|
|
26090
25956
|
var entry = step.value;
|
|
26091
25957
|
if (entry) {
|
|
@@ -26098,47 +25964,32 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26098
25964
|
} else {
|
|
26099
25965
|
return false;
|
|
26100
25966
|
}
|
|
26101
|
-
|
|
26102
25967
|
return true;
|
|
26103
25968
|
default:
|
|
26104
25969
|
return false;
|
|
26105
25970
|
}
|
|
26106
25971
|
}
|
|
26107
|
-
|
|
26108
25972
|
function isSymbol(propType, propValue) {
|
|
26109
|
-
// Native Symbol.
|
|
26110
25973
|
if (propType === 'symbol') {
|
|
26111
25974
|
return true;
|
|
26112
25975
|
}
|
|
26113
|
-
|
|
26114
|
-
// falsy value can't be a Symbol
|
|
26115
25976
|
if (!propValue) {
|
|
26116
25977
|
return false;
|
|
26117
25978
|
}
|
|
26118
|
-
|
|
26119
|
-
// 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
|
|
26120
25979
|
if (propValue['@@toStringTag'] === 'Symbol') {
|
|
26121
25980
|
return true;
|
|
26122
25981
|
}
|
|
26123
|
-
|
|
26124
|
-
// Fallback for non-spec compliant Symbols which are polyfilled.
|
|
26125
25982
|
if (typeof Symbol === 'function' && propValue instanceof Symbol) {
|
|
26126
25983
|
return true;
|
|
26127
25984
|
}
|
|
26128
|
-
|
|
26129
25985
|
return false;
|
|
26130
25986
|
}
|
|
26131
|
-
|
|
26132
|
-
// Equivalent of `typeof` but with special handling for array and regexp.
|
|
26133
25987
|
function getPropType(propValue) {
|
|
26134
25988
|
var propType = typeof propValue;
|
|
26135
25989
|
if (Array.isArray(propValue)) {
|
|
26136
25990
|
return 'array';
|
|
26137
25991
|
}
|
|
26138
25992
|
if (propValue instanceof RegExp) {
|
|
26139
|
-
// Old webkits (at least until Android 4.0) return 'function' rather than
|
|
26140
|
-
// 'object' for typeof a RegExp. We'll normalize this here so that /bla/
|
|
26141
|
-
// passes PropTypes.object.
|
|
26142
25993
|
return 'object';
|
|
26143
25994
|
}
|
|
26144
25995
|
if (isSymbol(propType, propValue)) {
|
|
@@ -26146,9 +25997,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26146
25997
|
}
|
|
26147
25998
|
return propType;
|
|
26148
25999
|
}
|
|
26149
|
-
|
|
26150
|
-
// This handles more types than `getPropType`. Only used for error messages.
|
|
26151
|
-
// See `createPrimitiveTypeChecker`.
|
|
26152
26000
|
function getPreciseType(propValue) {
|
|
26153
26001
|
if (typeof propValue === 'undefined' || propValue === null) {
|
|
26154
26002
|
return '' + propValue;
|
|
@@ -26163,9 +26011,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26163
26011
|
}
|
|
26164
26012
|
return propType;
|
|
26165
26013
|
}
|
|
26166
|
-
|
|
26167
|
-
// Returns a string that is postfixed to a warning about an invalid type.
|
|
26168
|
-
// For example, "undefined" or "of type array"
|
|
26169
26014
|
function getPostfixForTypeWarning(value) {
|
|
26170
26015
|
var type = getPreciseType(value);
|
|
26171
26016
|
switch (type) {
|
|
@@ -26180,44 +26025,34 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26180
26025
|
return type;
|
|
26181
26026
|
}
|
|
26182
26027
|
}
|
|
26183
|
-
|
|
26184
|
-
// Returns class name of the object, if any.
|
|
26185
26028
|
function getClassName(propValue) {
|
|
26186
26029
|
if (!propValue.constructor || !propValue.constructor.name) {
|
|
26187
26030
|
return ANONYMOUS;
|
|
26188
26031
|
}
|
|
26189
26032
|
return propValue.constructor.name;
|
|
26190
26033
|
}
|
|
26191
|
-
|
|
26192
26034
|
ReactPropTypes.checkPropTypes = checkPropTypes_1;
|
|
26193
26035
|
ReactPropTypes.resetWarningCache = checkPropTypes_1.resetWarningCache;
|
|
26194
26036
|
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
26195
|
-
|
|
26196
26037
|
return ReactPropTypes;
|
|
26197
26038
|
};
|
|
26198
26039
|
|
|
26199
26040
|
function emptyFunction() {}
|
|
26200
26041
|
function emptyFunctionWithReset() {}
|
|
26201
26042
|
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
26202
|
-
|
|
26203
|
-
var factoryWithThrowingShims = function() {
|
|
26043
|
+
var factoryWithThrowingShims = function () {
|
|
26204
26044
|
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
26205
26045
|
if (secret === ReactPropTypesSecret_1) {
|
|
26206
|
-
// It is still safe when called from React.
|
|
26207
26046
|
return;
|
|
26208
26047
|
}
|
|
26209
|
-
var err = new Error(
|
|
26210
|
-
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
|
|
26211
|
-
'Use PropTypes.checkPropTypes() to call them. ' +
|
|
26212
|
-
'Read more at http://fb.me/use-check-prop-types'
|
|
26213
|
-
);
|
|
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');
|
|
26214
26049
|
err.name = 'Invariant Violation';
|
|
26215
26050
|
throw err;
|
|
26216
|
-
}
|
|
26051
|
+
}
|
|
26052
|
+
shim.isRequired = shim;
|
|
26217
26053
|
function getShim() {
|
|
26218
26054
|
return shim;
|
|
26219
|
-
}
|
|
26220
|
-
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
26055
|
+
}
|
|
26221
26056
|
var ReactPropTypes = {
|
|
26222
26057
|
array: shim,
|
|
26223
26058
|
bigint: shim,
|
|
@@ -26227,7 +26062,6 @@ var factoryWithThrowingShims = function() {
|
|
|
26227
26062
|
object: shim,
|
|
26228
26063
|
string: shim,
|
|
26229
26064
|
symbol: shim,
|
|
26230
|
-
|
|
26231
26065
|
any: shim,
|
|
26232
26066
|
arrayOf: getShim,
|
|
26233
26067
|
element: shim,
|
|
@@ -26239,36 +26073,21 @@ var factoryWithThrowingShims = function() {
|
|
|
26239
26073
|
oneOfType: getShim,
|
|
26240
26074
|
shape: getShim,
|
|
26241
26075
|
exact: getShim,
|
|
26242
|
-
|
|
26243
26076
|
checkPropTypes: emptyFunctionWithReset,
|
|
26244
26077
|
resetWarningCache: emptyFunction
|
|
26245
26078
|
};
|
|
26246
|
-
|
|
26247
26079
|
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
26248
|
-
|
|
26249
26080
|
return ReactPropTypes;
|
|
26250
26081
|
};
|
|
26251
26082
|
|
|
26252
26083
|
var propTypes = createCommonjsModule(function (module) {
|
|
26253
|
-
|
|
26254
|
-
|
|
26255
|
-
|
|
26256
|
-
|
|
26257
|
-
|
|
26258
|
-
|
|
26259
|
-
|
|
26260
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
26261
|
-
var ReactIs = reactIs;
|
|
26262
|
-
|
|
26263
|
-
// By explicitly using `prop-types` you are opting into new development behavior.
|
|
26264
|
-
// http://fb.me/prop-types-in-prod
|
|
26265
|
-
var throwOnDirectAccess = true;
|
|
26266
|
-
module.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);
|
|
26267
|
-
} else {
|
|
26268
|
-
// By explicitly using `prop-types` you are opting into new production behavior.
|
|
26269
|
-
// http://fb.me/prop-types-in-prod
|
|
26270
|
-
module.exports = factoryWithThrowingShims();
|
|
26271
|
-
}
|
|
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
|
+
}
|
|
26272
26091
|
});
|
|
26273
26092
|
|
|
26274
26093
|
const SearchConnection = _ref => {
|
|
@@ -28043,31 +27862,31 @@ const checkForNA$1 = value => {
|
|
|
28043
27862
|
return value ? value : "CS_NA";
|
|
28044
27863
|
};
|
|
28045
27864
|
const WSApplicationDetails = () => {
|
|
28046
|
-
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;
|
|
28047
27866
|
const getDisconnectionNoticeSearch = function () {
|
|
28048
27867
|
try {
|
|
28049
|
-
var _data$
|
|
27868
|
+
var _data$WaterConnection174, _data$WaterConnection175, _data$SewerageConnect169, _data$SewerageConnect170;
|
|
28050
27869
|
let key = "ws-waterdisconnectionnotice";
|
|
28051
27870
|
let details = {};
|
|
28052
27871
|
if (applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS")) {
|
|
28053
|
-
var _data$
|
|
27872
|
+
var _data$WaterConnection173, _PTData$Properties9;
|
|
28054
27873
|
details = {
|
|
28055
|
-
WaterConnection: [_extends({}, data === null || data === void 0 ? void 0 : (_data$
|
|
27874
|
+
WaterConnection: [_extends({}, data === null || data === void 0 ? void 0 : (_data$WaterConnection173 = data.WaterConnection) === null || _data$WaterConnection173 === void 0 ? void 0 : _data$WaterConnection173[0], {
|
|
28056
27875
|
property: PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties9 = PTData.Properties) === null || _PTData$Properties9 === void 0 ? void 0 : _PTData$Properties9[0]
|
|
28057
27876
|
})]
|
|
28058
27877
|
};
|
|
28059
27878
|
} else {
|
|
28060
|
-
var _data$
|
|
27879
|
+
var _data$SewerageConnect168, _PTData$Properties0;
|
|
28061
27880
|
key = "ws-seweragedisconnectionnotice";
|
|
28062
27881
|
details = {
|
|
28063
|
-
SewerageConnection: [_extends({}, data === null || data === void 0 ? void 0 : (_data$
|
|
27882
|
+
SewerageConnection: [_extends({}, data === null || data === void 0 ? void 0 : (_data$SewerageConnect168 = data.SewerageConnections) === null || _data$SewerageConnect168 === void 0 ? void 0 : _data$SewerageConnect168[0], {
|
|
28064
27883
|
property: PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties0 = PTData.Properties) === null || _PTData$Properties0 === void 0 ? void 0 : _PTData$Properties0[0]
|
|
28065
27884
|
})]
|
|
28066
27885
|
};
|
|
28067
27886
|
}
|
|
28068
|
-
return Promise.resolve(Digit.WSService.WSDisconnectionNotice((data === null || data === void 0 ? void 0 : (_data$
|
|
28069
|
-
var _data$
|
|
28070
|
-
return Promise.resolve(Digit.PaymentService.printReciept((data === null || data === void 0 ? void 0 : (_data$
|
|
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), {
|
|
28071
27890
|
fileStoreIds: response.filestoreIds[0]
|
|
28072
27891
|
})).then(function (fileStore) {
|
|
28073
27892
|
window.open(fileStore[response === null || response === void 0 ? void 0 : response.filestoreIds[0]], "_blank");
|
|
@@ -28086,8 +27905,7 @@ const WSApplicationDetails = () => {
|
|
|
28086
27905
|
const _useState = useState(false),
|
|
28087
27906
|
showOptions = _useState[0],
|
|
28088
27907
|
setShowOptions = _useState[1];
|
|
28089
|
-
const _useState2 = useState(false)
|
|
28090
|
-
setViewTimeline = _useState2[1];
|
|
27908
|
+
const _useState2 = useState(false);
|
|
28091
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_"));
|
|
28092
27910
|
let filter1 = {
|
|
28093
27911
|
tenantId: tenantId,
|
|
@@ -28188,15 +28006,6 @@ const WSApplicationDetails = () => {
|
|
|
28188
28006
|
return Promise.reject(e);
|
|
28189
28007
|
}
|
|
28190
28008
|
};
|
|
28191
|
-
const handleViewTimeline = () => {
|
|
28192
|
-
const timelineSection = document.getElementById("timeline");
|
|
28193
|
-
if (timelineSection) {
|
|
28194
|
-
timelineSection.scrollIntoView({
|
|
28195
|
-
behavior: "smooth"
|
|
28196
|
-
});
|
|
28197
|
-
}
|
|
28198
|
-
setViewTimeline(true);
|
|
28199
|
-
};
|
|
28200
28009
|
const printApplicationReceipts = function () {
|
|
28201
28010
|
try {
|
|
28202
28011
|
var _data$WaterConnection24, _data$WaterConnection25, _data$WaterConnection26, _data$WaterConnection27, _data$SewerageConnect24, _data$SewerageConnect25;
|
|
@@ -28312,12 +28121,34 @@ const WSApplicationDetails = () => {
|
|
|
28312
28121
|
let serviceType = data && data !== null && data !== void 0 && (_data$WaterConnection44 = data.WaterConnection) !== null && _data$WaterConnection44 !== void 0 && _data$WaterConnection44[0] ? "WATER" : "SEWERAGE";
|
|
28313
28122
|
sessionStorage.setItem("ApplicationNoState", applicationNobyData);
|
|
28314
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", {
|
|
28315
28146
|
className: "cardHeaderWithOptions",
|
|
28316
28147
|
style: {
|
|
28317
28148
|
marginRight: "auto",
|
|
28318
28149
|
maxWidth: "960px"
|
|
28319
28150
|
}
|
|
28320
|
-
}, /*#__PURE__*/React.createElement(
|
|
28151
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
28321
28152
|
style: {
|
|
28322
28153
|
zIndex: "10",
|
|
28323
28154
|
display: "flex",
|
|
@@ -28332,69 +28163,55 @@ const WSApplicationDetails = () => {
|
|
|
28332
28163
|
onHeadClick: () => setShowOptions(!showOptions),
|
|
28333
28164
|
displayOptions: showOptions,
|
|
28334
28165
|
options: downloadOptions
|
|
28335
|
-
})), /*#__PURE__*/React.createElement(
|
|
28336
|
-
label: t("VIEW_TIMELINE"),
|
|
28337
|
-
style: {
|
|
28338
|
-
color: "#A52A2A"
|
|
28339
|
-
},
|
|
28340
|
-
onClick: handleViewTimeline
|
|
28341
|
-
}))), checkifPrivacyenabled && /*#__PURE__*/React.createElement(WSInfoLabel, {
|
|
28166
|
+
})))), checkifPrivacyenabled && /*#__PURE__*/React.createElement(WSInfoLabel, {
|
|
28342
28167
|
t: t
|
|
28343
28168
|
}), /*#__PURE__*/React.createElement("div", {
|
|
28344
28169
|
className: "hide-seperator"
|
|
28345
|
-
}, /*#__PURE__*/React.createElement(
|
|
28346
|
-
className: "border-none",
|
|
28170
|
+
}, /*#__PURE__*/React.createElement(StatusTable, null, /*#__PURE__*/React.createElement(Row, {
|
|
28347
28171
|
label: t("WS_MYCONNECTIONS_APPLICATION_NO"),
|
|
28348
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
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),
|
|
28349
28173
|
textStyle: {}
|
|
28350
|
-
}), ((data === null || data === void 0 ? void 0 : (_data$
|
|
28351
|
-
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, {
|
|
28352
28175
|
label: t("WS_MYCONNECTIONS_CONSUMER_NO"),
|
|
28353
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
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),
|
|
28354
28177
|
textStyle: {
|
|
28355
28178
|
wordBreak: "break-word"
|
|
28356
28179
|
}
|
|
28357
28180
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
28358
|
-
className: "border-none",
|
|
28359
28181
|
label: t("WS_SERVICE_NAME_LABEL"),
|
|
28360
|
-
text: t("WS_APPLICATION_TYPE_" + ((data === null || data === void 0 ? void 0 : (_data$
|
|
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))),
|
|
28361
28183
|
textStyle: {
|
|
28362
28184
|
wordBreak: "break-word"
|
|
28363
28185
|
}
|
|
28364
|
-
}), ((data === null || data === void 0 ? void 0 : (_data$
|
|
28365
|
-
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, {
|
|
28366
28187
|
label: t("WS_DISCONNECTION_PROPOSED_DATE"),
|
|
28367
|
-
text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? convertEpochToDate(data === null || data === void 0 ? void 0 : (_data$
|
|
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),
|
|
28368
28189
|
textStyle: {
|
|
28369
28190
|
wordBreak: "break-word"
|
|
28370
28191
|
}
|
|
28371
|
-
}), ((data === null || data === void 0 ? void 0 : (_data$
|
|
28372
|
-
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, {
|
|
28373
28193
|
label: t("WS_DISCONNECTION_EXECUTED_DATE"),
|
|
28374
|
-
text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? convertEpochToDate(data === null || data === void 0 ? void 0 : (_data$
|
|
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),
|
|
28375
28195
|
textStyle: {
|
|
28376
28196
|
wordBreak: "break-word"
|
|
28377
28197
|
}
|
|
28378
|
-
}), ((data === null || data === void 0 ? void 0 : (_data$
|
|
28379
|
-
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, {
|
|
28380
28199
|
label: t("WS_DISCONNECTION_REASON"),
|
|
28381
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
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"),
|
|
28382
28201
|
textStyle: {
|
|
28383
28202
|
wordBreak: "break-word"
|
|
28384
28203
|
}
|
|
28385
|
-
}))
|
|
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, {
|
|
28386
28205
|
styles: {
|
|
28387
28206
|
fontSize: "28px"
|
|
28388
28207
|
}
|
|
28389
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, {
|
|
28390
|
-
className: "border-none",
|
|
28391
28209
|
label: t(bill === null || bill === void 0 ? void 0 : bill.taxHeadCode),
|
|
28392
28210
|
text: "\u20B9" + Number(bill === null || bill === void 0 ? void 0 : bill.amount).toFixed(2),
|
|
28393
28211
|
textStyle: {
|
|
28394
28212
|
textAlign: "right"
|
|
28395
28213
|
}
|
|
28396
28214
|
})), /*#__PURE__*/React.createElement(Row, {
|
|
28397
|
-
className: "border-none",
|
|
28398
28215
|
label: t("WS_TOTAL_AMOUNT_DUE"),
|
|
28399
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),
|
|
28400
28217
|
textStyle: {
|
|
@@ -28403,7 +28220,6 @@ const WSApplicationDetails = () => {
|
|
|
28403
28220
|
fontWeight: "700"
|
|
28404
28221
|
}
|
|
28405
28222
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
28406
|
-
className: "border-none",
|
|
28407
28223
|
label: t("WS_COMMON_TABLE_COL_APPLICATION_STATUS"),
|
|
28408
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"),
|
|
28409
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 ? {
|
|
@@ -28413,7 +28229,7 @@ const WSApplicationDetails = () => {
|
|
|
28413
28229
|
textAlign: "right",
|
|
28414
28230
|
color: "red"
|
|
28415
28231
|
}
|
|
28416
|
-
}))), /*#__PURE__*/React.createElement(
|
|
28232
|
+
}))), /*#__PURE__*/React.createElement(CardHeader, {
|
|
28417
28233
|
styles: {
|
|
28418
28234
|
fontSize: "28px"
|
|
28419
28235
|
}
|
|
@@ -28446,19 +28262,18 @@ const WSApplicationDetails = () => {
|
|
|
28446
28262
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
28447
28263
|
label: t("WS_NATURE_OF_WORK"),
|
|
28448
28264
|
text: "" + t(checkForNA$1(connectionDetails === null || connectionDetails === void 0 ? void 0 : connectionDetails.natureOfWork))
|
|
28449
|
-
})))
|
|
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, {
|
|
28450
28266
|
styles: {
|
|
28451
28267
|
fontSize: "28px"
|
|
28452
28268
|
}
|
|
28453
28269
|
}, t("WS_COMMON_CONNECTION_HOLDER_DETAILS_HEADER")), /*#__PURE__*/React.createElement(StatusTable, null, /*#__PURE__*/React.createElement(Row, {
|
|
28454
|
-
className: "border-none",
|
|
28455
28270
|
label: t("WS_OWN_DETAIL_MOBILE_NO_LABEL"),
|
|
28456
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
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),
|
|
28457
28272
|
textStyle: {
|
|
28458
28273
|
whiteSpace: "pre"
|
|
28459
28274
|
},
|
|
28460
28275
|
privacy: {
|
|
28461
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
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,
|
|
28462
28277
|
fieldName: "connectionHoldersMobileNumber",
|
|
28463
28278
|
model: "WnSConnectionOwner",
|
|
28464
28279
|
showValue: false,
|
|
@@ -28474,21 +28289,19 @@ const WSApplicationDetails = () => {
|
|
|
28474
28289
|
}
|
|
28475
28290
|
}
|
|
28476
28291
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
28477
|
-
className: "border-none",
|
|
28478
28292
|
label: t("WS_OWN_DETAIL_OWN_NAME_LABEL"),
|
|
28479
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
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),
|
|
28480
28294
|
textStyle: {
|
|
28481
28295
|
whiteSpace: "pre"
|
|
28482
28296
|
}
|
|
28483
28297
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
28484
|
-
className: "border-none",
|
|
28485
28298
|
label: t("WS_OWN_DETAIL_GENDER_LABEL"),
|
|
28486
|
-
text: t((data === null || data === void 0 ? void 0 : (_data$
|
|
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)),
|
|
28487
28300
|
textStyle: {
|
|
28488
28301
|
whiteSpace: "pre"
|
|
28489
28302
|
},
|
|
28490
28303
|
privacy: {
|
|
28491
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
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,
|
|
28492
28305
|
fieldName: "gender",
|
|
28493
28306
|
model: "WnSConnectionOwner",
|
|
28494
28307
|
showValue: false,
|
|
@@ -28504,14 +28317,13 @@ const WSApplicationDetails = () => {
|
|
|
28504
28317
|
}
|
|
28505
28318
|
}
|
|
28506
28319
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
28507
|
-
className: "border-none",
|
|
28508
28320
|
label: t("WS_OWN_DETAIL_FATHER_OR_HUSBAND_NAME"),
|
|
28509
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
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"),
|
|
28510
28322
|
textStyle: {
|
|
28511
28323
|
whiteSpace: "pre"
|
|
28512
28324
|
},
|
|
28513
28325
|
privacy: {
|
|
28514
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
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,
|
|
28515
28327
|
fieldName: "fatherOrHusbandName",
|
|
28516
28328
|
model: "WnSConnectionOwner",
|
|
28517
28329
|
showValue: false,
|
|
@@ -28527,14 +28339,13 @@ const WSApplicationDetails = () => {
|
|
|
28527
28339
|
}
|
|
28528
28340
|
}
|
|
28529
28341
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
28530
|
-
className: "border-none",
|
|
28531
28342
|
label: t("WS_OWN_DETAIL_RELATION_LABEL"),
|
|
28532
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
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"),
|
|
28533
28344
|
textStyle: {
|
|
28534
28345
|
whiteSpace: "pre"
|
|
28535
28346
|
},
|
|
28536
28347
|
privacy: {
|
|
28537
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
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,
|
|
28538
28349
|
fieldName: "relationship",
|
|
28539
28350
|
model: "WnSConnection",
|
|
28540
28351
|
showValue: false,
|
|
@@ -28550,11 +28361,10 @@ const WSApplicationDetails = () => {
|
|
|
28550
28361
|
}
|
|
28551
28362
|
}
|
|
28552
28363
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
28553
|
-
className: "border-none",
|
|
28554
28364
|
label: t("WS_OWN_DETAIL_CROSADD"),
|
|
28555
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
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"),
|
|
28556
28366
|
privacy: {
|
|
28557
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
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,
|
|
28558
28368
|
fieldName: "correspondenceAddress",
|
|
28559
28369
|
model: "WnSConnectionOwner",
|
|
28560
28370
|
showValue: false,
|
|
@@ -28570,42 +28380,13 @@ const WSApplicationDetails = () => {
|
|
|
28570
28380
|
}
|
|
28571
28381
|
}
|
|
28572
28382
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
28573
|
-
className: "border-none",
|
|
28574
|
-
label: t("WS_OWN_DETAIL_SPECIAL_APPLICANT_LABEL"),
|
|
28575
|
-
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,
|
|
28576
|
-
textStyle: {
|
|
28577
|
-
whiteSpace: "pre"
|
|
28578
|
-
},
|
|
28579
|
-
privacy: {
|
|
28580
|
-
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,
|
|
28581
|
-
fieldName: "ownerType",
|
|
28582
|
-
model: "WnSConnection",
|
|
28583
|
-
showValue: false,
|
|
28584
|
-
loadData: {
|
|
28585
|
-
serviceName: serviceType === "WATER" ? "/ws-services/wc/_search" : "/sw-services/swc/_search",
|
|
28586
|
-
requestBody: {},
|
|
28587
|
-
requestParam: {
|
|
28588
|
-
tenantId,
|
|
28589
|
-
applicationNumber: applicationNobyData
|
|
28590
|
-
},
|
|
28591
|
-
jsonPath: serviceType === "WATER" ? "WaterConnection[0].connectionHolders[0].ownerType" : "SewerageConnections[0].connectionHolders[0].ownerType",
|
|
28592
|
-
isArray: false,
|
|
28593
|
-
d: res => {
|
|
28594
|
-
var _res$WaterConnection, _res$WaterConnection2, _res$WaterConnection3, _res$WaterConnection4, _res$WaterConnection5, _res$WaterConnection6, _res$SewerageConnecti, _res$SewerageConnecti2, _res$SewerageConnecti3, _res$SewerageConnecti4, _res$SewerageConnecti5;
|
|
28595
|
-
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()));
|
|
28596
|
-
return resultString;
|
|
28597
|
-
}
|
|
28598
|
-
}
|
|
28599
|
-
}
|
|
28600
|
-
}), /*#__PURE__*/React.createElement(Row, {
|
|
28601
|
-
className: "border-none",
|
|
28602
28383
|
label: t("WS_OWN_DETAIL_EMAIL_ID_LABEL"),
|
|
28603
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
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",
|
|
28604
28385
|
textStyle: {
|
|
28605
28386
|
whiteSpace: "pre"
|
|
28606
28387
|
},
|
|
28607
28388
|
privacy: {
|
|
28608
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
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,
|
|
28609
28390
|
fieldName: "connectionHoldersEmailId",
|
|
28610
28391
|
model: "WnSConnectionOwner",
|
|
28611
28392
|
showValue: false,
|
|
@@ -28620,19 +28401,17 @@ const WSApplicationDetails = () => {
|
|
|
28620
28401
|
isArray: false
|
|
28621
28402
|
}
|
|
28622
28403
|
}
|
|
28623
|
-
}))) : /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(
|
|
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, {
|
|
28624
28405
|
styles: {
|
|
28625
28406
|
fontSize: "28px"
|
|
28626
28407
|
}
|
|
28627
28408
|
}, t("WS_COMMON_PROPERTY_DETAILS")), /*#__PURE__*/React.createElement(StatusTable, null, /*#__PURE__*/React.createElement(Row, {
|
|
28628
|
-
className: "border-none",
|
|
28629
28409
|
label: t("WS_PROPERTY_ID_LABEL"),
|
|
28630
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
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),
|
|
28631
28411
|
textStyle: {
|
|
28632
28412
|
wordBreak: "break-word"
|
|
28633
28413
|
}
|
|
28634
28414
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
28635
|
-
className: "border-none",
|
|
28636
28415
|
label: t("WS_OWN_DETAIL_OWN_NAME_LABEL"),
|
|
28637
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) => {
|
|
28638
28417
|
var _a$additionalDetails, _b$additionalDetails;
|
|
@@ -28642,7 +28421,6 @@ const WSApplicationDetails = () => {
|
|
|
28642
28421
|
whiteSpace: "pre"
|
|
28643
28422
|
}
|
|
28644
28423
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
28645
|
-
className: "border-none",
|
|
28646
28424
|
label: t("WS_PROPERTY_ADDRESS"),
|
|
28647
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"),
|
|
28648
28426
|
textStyle: {
|
|
@@ -28670,13 +28448,13 @@ const WSApplicationDetails = () => {
|
|
|
28670
28448
|
}
|
|
28671
28449
|
}
|
|
28672
28450
|
}), /*#__PURE__*/React.createElement(Link, {
|
|
28673
|
-
to: "/digit-ui/citizen/commonpt/view-property?propertyId=" + ((data === null || data === void 0 ? void 0 : (_data$
|
|
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))
|
|
28674
28452
|
}, /*#__PURE__*/React.createElement(LinkButton, {
|
|
28675
28453
|
style: {
|
|
28676
28454
|
textAlign: "left"
|
|
28677
28455
|
},
|
|
28678
28456
|
label: t("WS_VIEW_PROPERTY")
|
|
28679
|
-
})))), /*#__PURE__*/React.createElement(
|
|
28457
|
+
})))), /*#__PURE__*/React.createElement(CardHeader, {
|
|
28680
28458
|
styles: {
|
|
28681
28459
|
fontSize: "28px"
|
|
28682
28460
|
}
|
|
@@ -28742,7 +28520,7 @@ const WSApplicationDetails = () => {
|
|
|
28742
28520
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
28743
28521
|
label: t("LANDMARK"),
|
|
28744
28522
|
text: "" + t(checkForNA$1(propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.landmark))
|
|
28745
|
-
}))
|
|
28523
|
+
})), /*#__PURE__*/React.createElement(CardHeader, {
|
|
28746
28524
|
styles: {
|
|
28747
28525
|
fontSize: "28px"
|
|
28748
28526
|
}
|
|
@@ -28778,7 +28556,7 @@ const WSApplicationDetails = () => {
|
|
|
28778
28556
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
28779
28557
|
label: t("WS_NUMBER_OF_DWELLING_UNITS"),
|
|
28780
28558
|
text: "" + t(checkForNA$1((useDetails === null || useDetails === void 0 ? void 0 : useDetails.NumberofDwellingUnits) || (useDetails === null || useDetails === void 0 ? void 0 : useDetails.noOfDwellingUnits)))
|
|
28781
|
-
}))
|
|
28559
|
+
})), /*#__PURE__*/React.createElement(CardHeader, {
|
|
28782
28560
|
styles: {
|
|
28783
28561
|
fontSize: "28px"
|
|
28784
28562
|
}
|
|
@@ -28799,7 +28577,7 @@ const WSApplicationDetails = () => {
|
|
|
28799
28577
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
28800
28578
|
label: t("WS_EMPLOYEE_DESIGNATION"),
|
|
28801
28579
|
text: "" + t(checkForNA$1(djbEmployee === null || djbEmployee === void 0 ? void 0 : djbEmployee.designation))
|
|
28802
|
-
})))
|
|
28580
|
+
}))), /*#__PURE__*/React.createElement(CardHeader, {
|
|
28803
28581
|
styles: {
|
|
28804
28582
|
fontSize: "28px"
|
|
28805
28583
|
}
|
|
@@ -28820,19 +28598,19 @@ const WSApplicationDetails = () => {
|
|
|
28820
28598
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
28821
28599
|
label: t("WS_BANK_ACCOUNT_NO"),
|
|
28822
28600
|
text: "" + t(checkForNA$1((bankDetails === null || bankDetails === void 0 ? void 0 : bankDetails.bankAccountNumber) || (bankDetails === null || bankDetails === void 0 ? void 0 : bankDetails.accountNumber)))
|
|
28823
|
-
}))
|
|
28601
|
+
})), /*#__PURE__*/React.createElement(CardHeader, {
|
|
28824
28602
|
styles: {
|
|
28825
28603
|
fontSize: "28px"
|
|
28826
28604
|
}
|
|
28827
|
-
}, t("WS_COMMON_DOCUMENT_DETAILS")), (data === null || data === void 0 ? void 0 : (_data$
|
|
28828
|
-
var _doc$documentType, _data$
|
|
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;
|
|
28829
28607
|
return /*#__PURE__*/React.createElement("div", {
|
|
28830
28608
|
key: "doc-" + index
|
|
28831
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, {
|
|
28832
|
-
value: data === null || data === void 0 ? void 0 : (_data$
|
|
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,
|
|
28833
28611
|
Code: doc === null || doc === void 0 ? void 0 : doc.documentType,
|
|
28834
28612
|
index: index
|
|
28835
|
-
}), (data === null || data === void 0 ? void 0 : (_data$
|
|
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", {
|
|
28836
28614
|
style: {
|
|
28837
28615
|
color: "#cccccc",
|
|
28838
28616
|
backgroundColor: "#cccccc",
|
|
@@ -28841,15 +28619,15 @@ const WSApplicationDetails = () => {
|
|
|
28841
28619
|
marginBottom: "20px"
|
|
28842
28620
|
}
|
|
28843
28621
|
}) : null)));
|
|
28844
|
-
})), (data === null || data === void 0 ? void 0 : (_data$
|
|
28845
|
-
var _doc$documentType2, _data$
|
|
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;
|
|
28846
28624
|
return /*#__PURE__*/React.createElement("div", {
|
|
28847
28625
|
key: "doc-" + index
|
|
28848
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, {
|
|
28849
|
-
value: data === null || data === void 0 ? void 0 : (_data$
|
|
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,
|
|
28850
28628
|
Code: doc === null || doc === void 0 ? void 0 : doc.documentType,
|
|
28851
28629
|
index: index
|
|
28852
|
-
}), (data === null || data === void 0 ? void 0 : (_data$
|
|
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", {
|
|
28853
28631
|
style: {
|
|
28854
28632
|
color: "white",
|
|
28855
28633
|
backgroundColor: "white",
|
|
@@ -28858,42 +28636,36 @@ const WSApplicationDetails = () => {
|
|
|
28858
28636
|
marginBottom: "20px"
|
|
28859
28637
|
}
|
|
28860
28638
|
}) : null)));
|
|
28861
|
-
}))
|
|
28862
|
-
id: "timeline"
|
|
28863
|
-
}, /*#__PURE__*/React.createElement(WSWFApplicationTimeline, {
|
|
28864
|
-
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]),
|
|
28865
|
-
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),
|
|
28866
|
-
paymentbuttonenabled: false
|
|
28867
|
-
})), (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, {
|
|
28868
28640
|
to: {
|
|
28869
|
-
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$
|
|
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),
|
|
28870
28642
|
state: {}
|
|
28871
28643
|
}
|
|
28872
28644
|
}, /*#__PURE__*/React.createElement(SubmitBar, {
|
|
28873
28645
|
label: t("MAKE_PAYMENT")
|
|
28874
|
-
})) : null, !(data !== null && data !== void 0 && (_data$
|
|
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, {
|
|
28875
28647
|
to: {
|
|
28876
|
-
pathname: "/digit-ui/citizen/ws/edit-application/" + ((data === null || data === void 0 ? void 0 : (_data$
|
|
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)),
|
|
28877
28649
|
state: {
|
|
28878
|
-
id: "" + ((data === null || data === void 0 ? void 0 : (_data$
|
|
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))
|
|
28879
28651
|
}
|
|
28880
28652
|
}
|
|
28881
28653
|
}, /*#__PURE__*/React.createElement(SubmitBar, {
|
|
28882
28654
|
label: t("COMMON_EDIT")
|
|
28883
|
-
})) : null, data !== null && data !== void 0 && (_data$
|
|
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, {
|
|
28884
28656
|
to: {
|
|
28885
28657
|
pathname: "/digit-ui/citizen/ws/resubmit-disconnect-application",
|
|
28886
28658
|
state: {
|
|
28887
|
-
id: "" + ((data === null || data === void 0 ? void 0 : (_data$
|
|
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))
|
|
28888
28660
|
}
|
|
28889
28661
|
}
|
|
28890
28662
|
}, /*#__PURE__*/React.createElement(SubmitBar, {
|
|
28891
28663
|
label: t("RESUBMIT_APPLICATION"),
|
|
28892
28664
|
onSubmit: Digit.SessionStorage.set("WS_DISCONNECTION", applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("SW") ? {
|
|
28893
|
-
applicationData: data === null || data === void 0 ? void 0 : (_data$
|
|
28665
|
+
applicationData: data === null || data === void 0 ? void 0 : (_data$SewerageConnect159 = data.SewerageConnections) === null || _data$SewerageConnect159 === void 0 ? void 0 : _data$SewerageConnect159[0],
|
|
28894
28666
|
serviceType: "SEWERAGE",
|
|
28895
28667
|
WSDisconnectionForm: {
|
|
28896
|
-
type: data !== null && data !== void 0 && (_data$
|
|
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 ? {
|
|
28897
28669
|
code: "type",
|
|
28898
28670
|
value: {
|
|
28899
28671
|
name: "Temporary",
|
|
@@ -28910,18 +28682,18 @@ const WSApplicationDetails = () => {
|
|
|
28910
28682
|
code: "Permanent"
|
|
28911
28683
|
}
|
|
28912
28684
|
},
|
|
28913
|
-
date: convertEpochToDateDMY(data === null || data === void 0 ? void 0 : (_data$
|
|
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),
|
|
28914
28686
|
reason: {
|
|
28915
28687
|
code: "reason",
|
|
28916
|
-
value: data === null || data === void 0 ? void 0 : (_data$
|
|
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
|
|
28917
28689
|
},
|
|
28918
|
-
documents: data === null || data === void 0 ? void 0 : (_data$
|
|
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
|
|
28919
28691
|
}
|
|
28920
28692
|
} : {
|
|
28921
|
-
applicationData: data === null || data === void 0 ? void 0 : (_data$
|
|
28693
|
+
applicationData: data === null || data === void 0 ? void 0 : (_data$WaterConnection164 = data.WaterConnection) === null || _data$WaterConnection164 === void 0 ? void 0 : _data$WaterConnection164[0],
|
|
28922
28694
|
serviceType: "WATER",
|
|
28923
28695
|
WSDisconnectionForm: {
|
|
28924
|
-
type: data !== null && data !== void 0 && (_data$
|
|
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 ? {
|
|
28925
28697
|
code: "type",
|
|
28926
28698
|
value: {
|
|
28927
28699
|
name: "Temporary",
|
|
@@ -28938,15 +28710,15 @@ const WSApplicationDetails = () => {
|
|
|
28938
28710
|
code: "Permanent"
|
|
28939
28711
|
}
|
|
28940
28712
|
},
|
|
28941
|
-
date: convertEpochToDateDMY(data === null || data === void 0 ? void 0 : (_data$
|
|
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),
|
|
28942
28714
|
reason: {
|
|
28943
28715
|
code: "reason",
|
|
28944
|
-
value: data === null || data === void 0 ? void 0 : (_data$
|
|
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
|
|
28945
28717
|
},
|
|
28946
|
-
documents: data === null || data === void 0 ? void 0 : (_data$
|
|
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
|
|
28947
28719
|
}
|
|
28948
28720
|
})
|
|
28949
|
-
})) : null)));
|
|
28721
|
+
})) : null)))));
|
|
28950
28722
|
};
|
|
28951
28723
|
|
|
28952
28724
|
const WSAdditionalDetails = () => {
|
|
@@ -32466,10 +32238,7 @@ const PropertyLocationDetails = _ref => {
|
|
|
32466
32238
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
32467
32239
|
const _useTranslation = useTranslation(),
|
|
32468
32240
|
t = _useTranslation.t;
|
|
32469
|
-
const _useState = useState(
|
|
32470
|
-
showToast = _useState[0],
|
|
32471
|
-
setShowToast = _useState[1];
|
|
32472
|
-
const _useState2 = useState({
|
|
32241
|
+
const _useState = useState({
|
|
32473
32242
|
addressType: (address === null || address === void 0 ? void 0 : address.addressType) || "",
|
|
32474
32243
|
pincode: (address === null || address === void 0 ? void 0 : address.pinCode) || "",
|
|
32475
32244
|
city: (address === null || address === void 0 ? void 0 : address.city) || "",
|
|
@@ -32491,8 +32260,8 @@ const PropertyLocationDetails = _ref => {
|
|
|
32491
32260
|
actualWard: (address === null || address === void 0 ? void 0 : address.actualWard) || "",
|
|
32492
32261
|
actualZone: (address === null || address === void 0 ? void 0 : address.actualZone) || ""
|
|
32493
32262
|
}),
|
|
32494
|
-
formData =
|
|
32495
|
-
setFormData =
|
|
32263
|
+
formData = _useState[0],
|
|
32264
|
+
setFormData = _useState[1];
|
|
32496
32265
|
const isPropertyFound = window.location.href.includes("ws/old-application");
|
|
32497
32266
|
useEffect(() => {
|
|
32498
32267
|
if (props.register) {
|
|
@@ -32587,26 +32356,7 @@ const PropertyLocationDetails = _ref => {
|
|
|
32587
32356
|
onSelect((config === null || config === void 0 ? void 0 : config.key) || "address", clearedData);
|
|
32588
32357
|
}
|
|
32589
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]);
|
|
32590
|
-
|
|
32591
|
-
if (showToast) {
|
|
32592
|
-
const timer = setTimeout(() => {
|
|
32593
|
-
setShowToast(null);
|
|
32594
|
-
}, 1000);
|
|
32595
|
-
return () => clearTimeout(timer);
|
|
32596
|
-
}
|
|
32597
|
-
}, [showToast]);
|
|
32598
|
-
return /*#__PURE__*/React.createElement(CollapsibleCardPage, {
|
|
32599
|
-
title: t("PT_LOCATION_DETAILS") + (config !== null && config !== void 0 && config.isAutomaticFill ? " (Automatic Fill by Property )" : ""),
|
|
32600
|
-
defaultOpen: config !== null && config !== void 0 && config.isAutomaticFill ? false : true
|
|
32601
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
32602
|
-
style: _extends({
|
|
32603
|
-
boxShadow: "none"
|
|
32604
|
-
}, props.style)
|
|
32605
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
32606
|
-
style: {
|
|
32607
|
-
marginTop: "20px"
|
|
32608
|
-
}
|
|
32609
|
-
}, /*#__PURE__*/React.createElement(AddressDetails, {
|
|
32359
|
+
return /*#__PURE__*/React.createElement(AddressDetails, {
|
|
32610
32360
|
t: t,
|
|
32611
32361
|
formData: formData,
|
|
32612
32362
|
onSelect: (key, data) => {
|
|
@@ -32621,7 +32371,7 @@ const PropertyLocationDetails = _ref => {
|
|
|
32621
32371
|
showMapActualLocation: true,
|
|
32622
32372
|
disable: isPropertyFound,
|
|
32623
32373
|
hideNextButton: true
|
|
32624
|
-
})
|
|
32374
|
+
});
|
|
32625
32375
|
};
|
|
32626
32376
|
|
|
32627
32377
|
const WSPropertyLocationDetails = props => {
|
|
@@ -36710,31 +36460,6 @@ const WorkflowTimeline = _ref => {
|
|
|
36710
36460
|
})));
|
|
36711
36461
|
};
|
|
36712
36462
|
|
|
36713
|
-
const _iteratorSymbol$1 = /*#__PURE__*/typeof Symbol !== "undefined" ? Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator")) : "@@iterator";
|
|
36714
|
-
const _asyncIteratorSymbol$1 = /*#__PURE__*/typeof Symbol !== "undefined" ? Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator")) : "@@asyncIterator";
|
|
36715
|
-
function _catch$1(body, recover) {
|
|
36716
|
-
try {
|
|
36717
|
-
var result = body();
|
|
36718
|
-
} catch (e) {
|
|
36719
|
-
return recover(e);
|
|
36720
|
-
}
|
|
36721
|
-
if (result && result.then) {
|
|
36722
|
-
return result.then(void 0, recover);
|
|
36723
|
-
}
|
|
36724
|
-
return result;
|
|
36725
|
-
}
|
|
36726
|
-
function _finallyRethrows$1(body, finalizer) {
|
|
36727
|
-
try {
|
|
36728
|
-
var result = body();
|
|
36729
|
-
} catch (e) {
|
|
36730
|
-
return finalizer(true, e);
|
|
36731
|
-
}
|
|
36732
|
-
if (result && result.then) {
|
|
36733
|
-
return result.then(finalizer.bind(null, false), finalizer.bind(null, true));
|
|
36734
|
-
}
|
|
36735
|
-
return finalizer(false, result);
|
|
36736
|
-
}
|
|
36737
|
-
|
|
36738
36463
|
const configPTApproverApplication = _ref => {
|
|
36739
36464
|
var _action$assigneeRoles;
|
|
36740
36465
|
let t = _ref.t,
|
|
@@ -37483,7 +37208,7 @@ const ActionModal = _ref => {
|
|
|
37483
37208
|
if (file.size >= 5242880) {
|
|
37484
37209
|
setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
|
|
37485
37210
|
} else {
|
|
37486
|
-
const _temp = _catch
|
|
37211
|
+
const _temp = _catch(function () {
|
|
37487
37212
|
return Promise.resolve(Digit.UploadServices.Filestorage("PT", file, Digit.ULBService.getStateId())).then(function (response) {
|
|
37488
37213
|
var _response$data, _response$data$files;
|
|
37489
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) {
|
|
@@ -37710,7 +37435,7 @@ const ActionModal$1 = _ref => {
|
|
|
37710
37435
|
if (file.size >= 5242880) {
|
|
37711
37436
|
setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
|
|
37712
37437
|
} else {
|
|
37713
|
-
const _temp = _catch
|
|
37438
|
+
const _temp = _catch(function () {
|
|
37714
37439
|
return Promise.resolve(Digit.UploadServices.Filestorage("PT", file, Digit.ULBService.getStateId())).then(function (response) {
|
|
37715
37440
|
var _response$data, _response$data$files;
|
|
37716
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) {
|
|
@@ -37880,7 +37605,7 @@ const ActionModal$2 = _ref => {
|
|
|
37880
37605
|
if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
|
|
37881
37606
|
setError(t("NOT_SUPPORTED_FILE_TYPE"));
|
|
37882
37607
|
} else {
|
|
37883
|
-
const _temp = _catch
|
|
37608
|
+
const _temp = _catch(function () {
|
|
37884
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) {
|
|
37885
37610
|
var _response$data, _response$data$files;
|
|
37886
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) {
|
|
@@ -38163,7 +37888,7 @@ const ActionModal$3 = _ref => {
|
|
|
38163
37888
|
if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
|
|
38164
37889
|
setError(t("NOT_SUPPORTED_FILE_TYPE"));
|
|
38165
37890
|
} else {
|
|
38166
|
-
const _temp = _catch
|
|
37891
|
+
const _temp = _catch(function () {
|
|
38167
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) {
|
|
38168
37893
|
var _response$data, _response$data$files;
|
|
38169
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) {
|
|
@@ -38421,7 +38146,7 @@ const ActionModal$4 = _ref => {
|
|
|
38421
38146
|
if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
|
|
38422
38147
|
setError(t("NOT_SUPPORTED_FILE_TYPE"));
|
|
38423
38148
|
} else {
|
|
38424
|
-
const _temp = _catch
|
|
38149
|
+
const _temp = _catch(function () {
|
|
38425
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) {
|
|
38426
38151
|
var _response$data, _response$data$files;
|
|
38427
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) {
|
|
@@ -38648,7 +38373,7 @@ const ActionModal$5 = _ref => {
|
|
|
38648
38373
|
if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
|
|
38649
38374
|
setError(t("NOT_SUPPORTED_FILE_TYPE"));
|
|
38650
38375
|
} else {
|
|
38651
|
-
const _temp = _catch
|
|
38376
|
+
const _temp = _catch(function () {
|
|
38652
38377
|
return Promise.resolve(Digit.UploadServices.Filestorage("WS", file, Digit.ULBService.getCurrentTenantId())).then(function (response) {
|
|
38653
38378
|
var _response$data, _response$data$files;
|
|
38654
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) {
|
|
@@ -38958,7 +38683,7 @@ const ActionModal$6 = _ref => {
|
|
|
38958
38683
|
if (file.size >= 5242880) {
|
|
38959
38684
|
setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
|
|
38960
38685
|
} else {
|
|
38961
|
-
const _temp = _catch
|
|
38686
|
+
const _temp = _catch(function () {
|
|
38962
38687
|
return Promise.resolve(Digit.UploadServices.Filestorage("PTR", file, Digit.ULBService.getStateId())).then(function (response) {
|
|
38963
38688
|
var _response$data, _response$data$files;
|
|
38964
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) {
|
|
@@ -39248,7 +38973,7 @@ const ActionModal$8 = _ref => {
|
|
|
39248
38973
|
if (file.size >= 5242880) {
|
|
39249
38974
|
setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
|
|
39250
38975
|
} else {
|
|
39251
|
-
const _temp = _catch
|
|
38976
|
+
const _temp = _catch(function () {
|
|
39252
38977
|
return Promise.resolve(Digit.UploadServices.Filestorage("CHB", file, tenantId)).then(function (response) {
|
|
39253
38978
|
var _response$data, _response$data$files;
|
|
39254
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) {
|
|
@@ -39414,7 +39139,7 @@ const ActionModal$9 = _ref => {
|
|
|
39414
39139
|
if (file.size >= 5242880) {
|
|
39415
39140
|
setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
|
|
39416
39141
|
} else {
|
|
39417
|
-
const _temp = _catch
|
|
39142
|
+
const _temp = _catch(function () {
|
|
39418
39143
|
return Promise.resolve(Digit.UploadServices.Filestorage("PTR", file, Digit.ULBService.getStateId())).then(function (response) {
|
|
39419
39144
|
var _response$data, _response$data$files;
|
|
39420
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) {
|
|
@@ -39586,8 +39311,8 @@ const ActionModal$a = _ref => {
|
|
|
39586
39311
|
if (file.size >= 5242880) {
|
|
39587
39312
|
setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
|
|
39588
39313
|
} else {
|
|
39589
|
-
const _temp = _finallyRethrows
|
|
39590
|
-
return _catch
|
|
39314
|
+
const _temp = _finallyRethrows(function () {
|
|
39315
|
+
return _catch(function () {
|
|
39591
39316
|
return Promise.resolve(Digit.UploadServices.Filestorage("StreetVending", file, tenantId)).then(function (response) {
|
|
39592
39317
|
var _response$data, _response$data$files;
|
|
39593
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) {
|
|
@@ -39873,7 +39598,7 @@ const ActionModal$b = _ref => {
|
|
|
39873
39598
|
if (file.size >= 5242880) {
|
|
39874
39599
|
setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
|
|
39875
39600
|
} else {
|
|
39876
|
-
const _temp = _catch
|
|
39601
|
+
const _temp = _catch(function () {
|
|
39877
39602
|
return Promise.resolve(Digit.UploadServices.Filestorage("WT", file, tenantId)).then(function (response) {
|
|
39878
39603
|
var _response$data, _response$data$files;
|
|
39879
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) {
|
|
@@ -40561,7 +40286,7 @@ function SelectDocument$4(_ref) {
|
|
|
40561
40286
|
if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
|
|
40562
40287
|
setError(t("NOT_SUPPORTED_FILE_TYPE"));
|
|
40563
40288
|
} else {
|
|
40564
|
-
const _temp = _catch
|
|
40289
|
+
const _temp = _catch(function () {
|
|
40565
40290
|
setUploadedFile(null);
|
|
40566
40291
|
return Promise.resolve(Digit.UploadServices.Filestorage("PT", file, Digit.ULBService.getStateId())).then(function (response) {
|
|
40567
40292
|
var _response$data, _response$data$files;
|
|
@@ -40951,7 +40676,7 @@ function PropertyDocuments(_ref) {
|
|
|
40951
40676
|
};
|
|
40952
40677
|
const forceDownload = function (url, fileName) {
|
|
40953
40678
|
try {
|
|
40954
|
-
return Promise.resolve(_catch
|
|
40679
|
+
return Promise.resolve(_catch(function () {
|
|
40955
40680
|
return Promise.resolve(fetch(url)).then(function (response) {
|
|
40956
40681
|
if (!response.ok) {
|
|
40957
40682
|
throw new Error("HTTP error! status: " + response.status);
|
|
@@ -41214,7 +40939,7 @@ function PropertyDocuments(_ref) {
|
|
|
41214
40939
|
}));
|
|
41215
40940
|
}
|
|
41216
40941
|
}
|
|
41217
|
-
}), "Check Verified"));
|
|
40942
|
+
}), t("Check Verified")));
|
|
41218
40943
|
})())
|
|
41219
40944
|
})));
|
|
41220
40945
|
};
|
|
@@ -44161,7 +43886,7 @@ const ApplicationDetails = props => {
|
|
|
44161
43886
|
const nocPrmomises = (_nocData = nocData) === null || _nocData === void 0 ? void 0 : _nocData.map(noc => {
|
|
44162
43887
|
return nocMutation === null || nocMutation === void 0 ? void 0 : nocMutation.mutateAsync(noc);
|
|
44163
43888
|
});
|
|
44164
|
-
const _temp = _catch
|
|
43889
|
+
const _temp = _catch(function () {
|
|
44165
43890
|
setIsEnableLoader(true);
|
|
44166
43891
|
return Promise.resolve(Promise.all(nocPrmomises)).then(function (values) {
|
|
44167
43892
|
values && values.map(ob => {
|