@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.js
CHANGED
|
@@ -7925,7 +7925,7 @@ const WSMyApplications = () => {
|
|
|
7925
7925
|
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]
|
|
7926
7926
|
});
|
|
7927
7927
|
});
|
|
7928
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(
|
|
7928
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(WSInfoLabel, {
|
|
7929
7929
|
t: t
|
|
7930
7930
|
}), /*#__PURE__*/React__default.createElement("div", null, ((_applicationsList = applicationsList) === null || _applicationsList === void 0 ? void 0 : _applicationsList.length) > 0 && applicationsList.sort((a, b) => {
|
|
7931
7931
|
var _b$auditDetails, _a$auditDetails;
|
|
@@ -8512,7 +8512,7 @@ const WSResponse = props => {
|
|
|
8512
8512
|
};
|
|
8513
8513
|
|
|
8514
8514
|
const App = _ref => {
|
|
8515
|
-
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;
|
|
8515
|
+
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;
|
|
8516
8516
|
let path = _ref.path;
|
|
8517
8517
|
const location = reactRouterDom.useLocation();
|
|
8518
8518
|
const _useTranslation = reactI18next.useTranslation(),
|
|
@@ -8522,6 +8522,40 @@ const App = _ref => {
|
|
|
8522
8522
|
let isAcknowledgement = window.location.href.includes("/acknowledgement") || window.location.href.includes("/disconnect-acknowledge");
|
|
8523
8523
|
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");
|
|
8524
8524
|
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");
|
|
8525
|
+
const user = window.Digit.UserService.getUser();
|
|
8526
|
+
const tenantId = "dl.djb";
|
|
8527
|
+
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;
|
|
8528
|
+
const isMyApps = location.pathname.includes("/my-applications");
|
|
8529
|
+
const _window$Digit$Hooks$w = window.Digit.Hooks.ws.useMyApplicationSearch({
|
|
8530
|
+
filters: {
|
|
8531
|
+
tenantId,
|
|
8532
|
+
mobileNumber: userMobileNumber
|
|
8533
|
+
}
|
|
8534
|
+
}, {
|
|
8535
|
+
filters: {
|
|
8536
|
+
tenantId,
|
|
8537
|
+
mobileNumber: userMobileNumber
|
|
8538
|
+
},
|
|
8539
|
+
enabled: isMyApps
|
|
8540
|
+
}),
|
|
8541
|
+
wsData = _window$Digit$Hooks$w.data;
|
|
8542
|
+
const _window$Digit$Hooks$w2 = window.Digit.Hooks.ws.useMyApplicationSearch({
|
|
8543
|
+
filters: {
|
|
8544
|
+
tenantId,
|
|
8545
|
+
mobileNumber: userMobileNumber
|
|
8546
|
+
},
|
|
8547
|
+
BusinessService: "SW"
|
|
8548
|
+
}, {
|
|
8549
|
+
filters: {
|
|
8550
|
+
tenantId,
|
|
8551
|
+
mobileNumber: userMobileNumber
|
|
8552
|
+
},
|
|
8553
|
+
enabled: isMyApps
|
|
8554
|
+
}),
|
|
8555
|
+
swData = _window$Digit$Hooks$w2.data;
|
|
8556
|
+
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;
|
|
8557
|
+
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;
|
|
8558
|
+
let totalAppsCount = wsCount + swCount;
|
|
8525
8559
|
const crumbs = [{
|
|
8526
8560
|
path: "/digit-ui/employee",
|
|
8527
8561
|
show: true,
|
|
@@ -8539,7 +8573,7 @@ const App = _ref => {
|
|
|
8539
8573
|
show: location.pathname.includes("/search")
|
|
8540
8574
|
}, {
|
|
8541
8575
|
path: "/digit-ui/citizen/ws/my-applications",
|
|
8542
|
-
label: t("CS_HOME_MY_APPLICATIONS"),
|
|
8576
|
+
label: t("CS_HOME_MY_APPLICATIONS") + " " + (totalAppsCount ? "(" + totalAppsCount + ")" : ""),
|
|
8543
8577
|
show: location.pathname.includes("/my-applications")
|
|
8544
8578
|
}, {
|
|
8545
8579
|
path: "/digit-ui/citizen/ws/my-connections",
|
|
@@ -8557,6 +8591,10 @@ const App = _ref => {
|
|
|
8557
8591
|
path: "/digit-ui/citizen/ws/old-application",
|
|
8558
8592
|
label: t("WS_COMMON_APPL_NEW_CONNECTION"),
|
|
8559
8593
|
show: location.pathname.includes("/old-application")
|
|
8594
|
+
}, {
|
|
8595
|
+
path: location.pathname,
|
|
8596
|
+
label: t("WS_APPLICATION_DETAILS_HEADER"),
|
|
8597
|
+
show: location.pathname.includes("/connection/application")
|
|
8560
8598
|
}];
|
|
8561
8599
|
const getDynamicBreadcrumbs = () => {
|
|
8562
8600
|
return crumbs.filter(crumb => crumb.show);
|
|
@@ -10256,36 +10294,29 @@ const WSDocsRequired = _ref => {
|
|
|
10256
10294
|
}))));
|
|
10257
10295
|
};
|
|
10258
10296
|
|
|
10259
|
-
|
|
10260
|
-
|
|
10261
|
-
const _iteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator"))) : "@@iterator";
|
|
10262
|
-
|
|
10263
|
-
const _asyncIteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator"))) : "@@asyncIterator";
|
|
10264
|
-
|
|
10265
|
-
// Asynchronously call a function and send errors to recovery continuation
|
|
10297
|
+
const _iteratorSymbol = /*#__PURE__*/typeof Symbol !== "undefined" ? Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator")) : "@@iterator";
|
|
10298
|
+
const _asyncIteratorSymbol = /*#__PURE__*/typeof Symbol !== "undefined" ? Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator")) : "@@asyncIterator";
|
|
10266
10299
|
function _catch(body, recover) {
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
|
|
10275
|
-
|
|
10300
|
+
try {
|
|
10301
|
+
var result = body();
|
|
10302
|
+
} catch (e) {
|
|
10303
|
+
return recover(e);
|
|
10304
|
+
}
|
|
10305
|
+
if (result && result.then) {
|
|
10306
|
+
return result.then(void 0, recover);
|
|
10307
|
+
}
|
|
10308
|
+
return result;
|
|
10276
10309
|
}
|
|
10277
|
-
|
|
10278
|
-
// Asynchronously await a promise and pass the result to a finally continuation
|
|
10279
10310
|
function _finallyRethrows(body, finalizer) {
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
|
|
10286
|
-
|
|
10287
|
-
|
|
10288
|
-
|
|
10311
|
+
try {
|
|
10312
|
+
var result = body();
|
|
10313
|
+
} catch (e) {
|
|
10314
|
+
return finalizer(true, e);
|
|
10315
|
+
}
|
|
10316
|
+
if (result && result.then) {
|
|
10317
|
+
return result.then(finalizer.bind(null, false), finalizer.bind(null, true));
|
|
10318
|
+
}
|
|
10319
|
+
return finalizer(false, result);
|
|
10289
10320
|
}
|
|
10290
10321
|
|
|
10291
10322
|
const WSSewerageConnectionDetails = _ref => {
|
|
@@ -25179,385 +25210,394 @@ const config = [{
|
|
|
25179
25210
|
}]
|
|
25180
25211
|
}];
|
|
25181
25212
|
|
|
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
|
-
|
|
25212
|
-
|
|
25213
|
-
|
|
25214
|
-
isContextProvider: isContextProvider,
|
|
25215
|
-
isElement: isElement,
|
|
25216
|
-
isForwardRef: isForwardRef,
|
|
25217
|
-
isFragment: isFragment,
|
|
25218
|
-
isLazy: isLazy,
|
|
25219
|
-
isMemo: isMemo,
|
|
25220
|
-
isPortal: isPortal,
|
|
25221
|
-
isProfiler: isProfiler,
|
|
25222
|
-
isStrictMode: isStrictMode,
|
|
25223
|
-
isSuspense: isSuspense,
|
|
25224
|
-
isValidElementType: isValidElementType,
|
|
25225
|
-
typeOf: typeOf
|
|
25226
|
-
};
|
|
25227
|
-
|
|
25228
|
-
var reactIs_development = createCommonjsModule(function (module, exports) {
|
|
25229
|
-
|
|
25230
|
-
|
|
25231
|
-
|
|
25232
|
-
if (process.env.NODE_ENV !== "production") {
|
|
25233
|
-
(function() {
|
|
25234
|
-
|
|
25235
|
-
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
25236
|
-
// nor polyfill, then a plain number is used for performance.
|
|
25237
|
-
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
25238
|
-
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
25239
|
-
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
25240
|
-
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
25241
|
-
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
25242
|
-
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
25243
|
-
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
25244
|
-
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
25245
|
-
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
25246
|
-
|
|
25247
|
-
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
25248
|
-
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
25249
|
-
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
25250
|
-
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
25251
|
-
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
25252
|
-
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
25253
|
-
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
25254
|
-
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
25255
|
-
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
25256
|
-
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
25257
|
-
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
25258
|
-
|
|
25259
|
-
function isValidElementType(type) {
|
|
25260
|
-
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
25261
|
-
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);
|
|
25262
|
-
}
|
|
25263
|
-
|
|
25264
|
-
function typeOf(object) {
|
|
25265
|
-
if (typeof object === 'object' && object !== null) {
|
|
25266
|
-
var $$typeof = object.$$typeof;
|
|
25267
|
-
|
|
25268
|
-
switch ($$typeof) {
|
|
25269
|
-
case REACT_ELEMENT_TYPE:
|
|
25270
|
-
var type = object.type;
|
|
25271
|
-
|
|
25272
|
-
switch (type) {
|
|
25273
|
-
case REACT_ASYNC_MODE_TYPE:
|
|
25274
|
-
case REACT_CONCURRENT_MODE_TYPE:
|
|
25275
|
-
case REACT_FRAGMENT_TYPE:
|
|
25276
|
-
case REACT_PROFILER_TYPE:
|
|
25277
|
-
case REACT_STRICT_MODE_TYPE:
|
|
25278
|
-
case REACT_SUSPENSE_TYPE:
|
|
25279
|
-
return type;
|
|
25280
|
-
|
|
25213
|
+
var b = "function" === typeof Symbol && Symbol.for,
|
|
25214
|
+
c = b ? Symbol.for("react.element") : 60103,
|
|
25215
|
+
d = b ? Symbol.for("react.portal") : 60106,
|
|
25216
|
+
e = b ? Symbol.for("react.fragment") : 60107,
|
|
25217
|
+
f = b ? Symbol.for("react.strict_mode") : 60108,
|
|
25218
|
+
g = b ? Symbol.for("react.profiler") : 60114,
|
|
25219
|
+
h = b ? Symbol.for("react.provider") : 60109,
|
|
25220
|
+
k = b ? Symbol.for("react.context") : 60110,
|
|
25221
|
+
l = b ? Symbol.for("react.async_mode") : 60111,
|
|
25222
|
+
m = b ? Symbol.for("react.concurrent_mode") : 60111,
|
|
25223
|
+
n = b ? Symbol.for("react.forward_ref") : 60112,
|
|
25224
|
+
p = b ? Symbol.for("react.suspense") : 60113,
|
|
25225
|
+
q = b ? Symbol.for("react.suspense_list") : 60120,
|
|
25226
|
+
r = b ? Symbol.for("react.memo") : 60115,
|
|
25227
|
+
t = b ? Symbol.for("react.lazy") : 60116,
|
|
25228
|
+
v = b ? Symbol.for("react.block") : 60121,
|
|
25229
|
+
w = b ? Symbol.for("react.fundamental") : 60117,
|
|
25230
|
+
x = b ? Symbol.for("react.responder") : 60118,
|
|
25231
|
+
y = b ? Symbol.for("react.scope") : 60119;
|
|
25232
|
+
function z(a) {
|
|
25233
|
+
if ("object" === typeof a && null !== a) {
|
|
25234
|
+
var u = a.$$typeof;
|
|
25235
|
+
switch (u) {
|
|
25236
|
+
case c:
|
|
25237
|
+
switch (a = a.type, a) {
|
|
25238
|
+
case l:
|
|
25239
|
+
case m:
|
|
25240
|
+
case e:
|
|
25241
|
+
case g:
|
|
25242
|
+
case f:
|
|
25243
|
+
case p:
|
|
25244
|
+
return a;
|
|
25281
25245
|
default:
|
|
25282
|
-
|
|
25283
|
-
|
|
25284
|
-
|
|
25285
|
-
case
|
|
25286
|
-
case
|
|
25287
|
-
case
|
|
25288
|
-
|
|
25289
|
-
case REACT_PROVIDER_TYPE:
|
|
25290
|
-
return $$typeofType;
|
|
25291
|
-
|
|
25246
|
+
switch (a = a && a.$$typeof, a) {
|
|
25247
|
+
case k:
|
|
25248
|
+
case n:
|
|
25249
|
+
case t:
|
|
25250
|
+
case r:
|
|
25251
|
+
case h:
|
|
25252
|
+
return a;
|
|
25292
25253
|
default:
|
|
25293
|
-
return
|
|
25254
|
+
return u;
|
|
25294
25255
|
}
|
|
25295
|
-
|
|
25296
25256
|
}
|
|
25297
|
-
|
|
25298
|
-
|
|
25299
|
-
return $$typeof;
|
|
25257
|
+
case d:
|
|
25258
|
+
return u;
|
|
25300
25259
|
}
|
|
25301
25260
|
}
|
|
25302
|
-
|
|
25303
|
-
return undefined;
|
|
25304
|
-
} // AsyncMode is deprecated along with isAsyncMode
|
|
25305
|
-
|
|
25306
|
-
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
25307
|
-
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
25308
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
25309
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
25310
|
-
var Element = REACT_ELEMENT_TYPE;
|
|
25311
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
25312
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
25313
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
25314
|
-
var Memo = REACT_MEMO_TYPE;
|
|
25315
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
25316
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
25317
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
25318
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
25319
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
25320
|
-
|
|
25321
|
-
function isAsyncMode(object) {
|
|
25322
|
-
{
|
|
25323
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
25324
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
25325
|
-
|
|
25326
|
-
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.');
|
|
25327
|
-
}
|
|
25328
|
-
}
|
|
25329
|
-
|
|
25330
|
-
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
25331
|
-
}
|
|
25332
|
-
function isConcurrentMode(object) {
|
|
25333
|
-
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
25334
|
-
}
|
|
25335
|
-
function isContextConsumer(object) {
|
|
25336
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
25337
|
-
}
|
|
25338
|
-
function isContextProvider(object) {
|
|
25339
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
25340
25261
|
}
|
|
25341
|
-
function
|
|
25342
|
-
return
|
|
25343
|
-
}
|
|
25344
|
-
function isForwardRef(object) {
|
|
25345
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
25346
|
-
}
|
|
25347
|
-
function isFragment(object) {
|
|
25348
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
25349
|
-
}
|
|
25350
|
-
function isLazy(object) {
|
|
25351
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
|
25352
|
-
}
|
|
25353
|
-
function isMemo(object) {
|
|
25354
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
|
25355
|
-
}
|
|
25356
|
-
function isPortal(object) {
|
|
25357
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
25358
|
-
}
|
|
25359
|
-
function isProfiler(object) {
|
|
25360
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
25361
|
-
}
|
|
25362
|
-
function isStrictMode(object) {
|
|
25363
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
25364
|
-
}
|
|
25365
|
-
function isSuspense(object) {
|
|
25366
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
25262
|
+
function A(a) {
|
|
25263
|
+
return z(a) === m;
|
|
25367
25264
|
}
|
|
25265
|
+
var AsyncMode = l;
|
|
25266
|
+
var ConcurrentMode = m;
|
|
25267
|
+
var ContextConsumer = k;
|
|
25268
|
+
var ContextProvider = h;
|
|
25269
|
+
var Element = c;
|
|
25270
|
+
var ForwardRef = n;
|
|
25271
|
+
var Fragment = e;
|
|
25272
|
+
var Lazy = t;
|
|
25273
|
+
var Memo = r;
|
|
25274
|
+
var Portal = d;
|
|
25275
|
+
var Profiler = g;
|
|
25276
|
+
var StrictMode = f;
|
|
25277
|
+
var Suspense = p;
|
|
25278
|
+
var isAsyncMode = function (a) {
|
|
25279
|
+
return A(a) || z(a) === l;
|
|
25280
|
+
};
|
|
25281
|
+
var isConcurrentMode = A;
|
|
25282
|
+
var isContextConsumer = function (a) {
|
|
25283
|
+
return z(a) === k;
|
|
25284
|
+
};
|
|
25285
|
+
var isContextProvider = function (a) {
|
|
25286
|
+
return z(a) === h;
|
|
25287
|
+
};
|
|
25288
|
+
var isElement = function (a) {
|
|
25289
|
+
return "object" === typeof a && null !== a && a.$$typeof === c;
|
|
25290
|
+
};
|
|
25291
|
+
var isForwardRef = function (a) {
|
|
25292
|
+
return z(a) === n;
|
|
25293
|
+
};
|
|
25294
|
+
var isFragment = function (a) {
|
|
25295
|
+
return z(a) === e;
|
|
25296
|
+
};
|
|
25297
|
+
var isLazy = function (a) {
|
|
25298
|
+
return z(a) === t;
|
|
25299
|
+
};
|
|
25300
|
+
var isMemo = function (a) {
|
|
25301
|
+
return z(a) === r;
|
|
25302
|
+
};
|
|
25303
|
+
var isPortal = function (a) {
|
|
25304
|
+
return z(a) === d;
|
|
25305
|
+
};
|
|
25306
|
+
var isProfiler = function (a) {
|
|
25307
|
+
return z(a) === g;
|
|
25308
|
+
};
|
|
25309
|
+
var isStrictMode = function (a) {
|
|
25310
|
+
return z(a) === f;
|
|
25311
|
+
};
|
|
25312
|
+
var isSuspense = function (a) {
|
|
25313
|
+
return z(a) === p;
|
|
25314
|
+
};
|
|
25315
|
+
var isValidElementType = function (a) {
|
|
25316
|
+
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);
|
|
25317
|
+
};
|
|
25318
|
+
var typeOf = z;
|
|
25319
|
+
var reactIs_production_min = {
|
|
25320
|
+
AsyncMode: AsyncMode,
|
|
25321
|
+
ConcurrentMode: ConcurrentMode,
|
|
25322
|
+
ContextConsumer: ContextConsumer,
|
|
25323
|
+
ContextProvider: ContextProvider,
|
|
25324
|
+
Element: Element,
|
|
25325
|
+
ForwardRef: ForwardRef,
|
|
25326
|
+
Fragment: Fragment,
|
|
25327
|
+
Lazy: Lazy,
|
|
25328
|
+
Memo: Memo,
|
|
25329
|
+
Portal: Portal,
|
|
25330
|
+
Profiler: Profiler,
|
|
25331
|
+
StrictMode: StrictMode,
|
|
25332
|
+
Suspense: Suspense,
|
|
25333
|
+
isAsyncMode: isAsyncMode,
|
|
25334
|
+
isConcurrentMode: isConcurrentMode,
|
|
25335
|
+
isContextConsumer: isContextConsumer,
|
|
25336
|
+
isContextProvider: isContextProvider,
|
|
25337
|
+
isElement: isElement,
|
|
25338
|
+
isForwardRef: isForwardRef,
|
|
25339
|
+
isFragment: isFragment,
|
|
25340
|
+
isLazy: isLazy,
|
|
25341
|
+
isMemo: isMemo,
|
|
25342
|
+
isPortal: isPortal,
|
|
25343
|
+
isProfiler: isProfiler,
|
|
25344
|
+
isStrictMode: isStrictMode,
|
|
25345
|
+
isSuspense: isSuspense,
|
|
25346
|
+
isValidElementType: isValidElementType,
|
|
25347
|
+
typeOf: typeOf
|
|
25348
|
+
};
|
|
25368
25349
|
|
|
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
|
-
|
|
25396
|
-
|
|
25397
|
-
|
|
25398
|
-
|
|
25350
|
+
var reactIs_development = createCommonjsModule(function (module, exports) {
|
|
25351
|
+
|
|
25352
|
+
if (process.env.NODE_ENV !== "production") {
|
|
25353
|
+
(function () {
|
|
25354
|
+
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
25355
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
25356
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
25357
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
25358
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
25359
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
25360
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
25361
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
|
|
25362
|
+
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
25363
|
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
25364
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
25365
|
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
25366
|
+
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
25367
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
25368
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
25369
|
+
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
25370
|
+
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
25371
|
+
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
25372
|
+
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
25373
|
+
function isValidElementType(type) {
|
|
25374
|
+
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);
|
|
25375
|
+
}
|
|
25376
|
+
function typeOf(object) {
|
|
25377
|
+
if (typeof object === 'object' && object !== null) {
|
|
25378
|
+
var $$typeof = object.$$typeof;
|
|
25379
|
+
switch ($$typeof) {
|
|
25380
|
+
case REACT_ELEMENT_TYPE:
|
|
25381
|
+
var type = object.type;
|
|
25382
|
+
switch (type) {
|
|
25383
|
+
case REACT_ASYNC_MODE_TYPE:
|
|
25384
|
+
case REACT_CONCURRENT_MODE_TYPE:
|
|
25385
|
+
case REACT_FRAGMENT_TYPE:
|
|
25386
|
+
case REACT_PROFILER_TYPE:
|
|
25387
|
+
case REACT_STRICT_MODE_TYPE:
|
|
25388
|
+
case REACT_SUSPENSE_TYPE:
|
|
25389
|
+
return type;
|
|
25390
|
+
default:
|
|
25391
|
+
var $$typeofType = type && type.$$typeof;
|
|
25392
|
+
switch ($$typeofType) {
|
|
25393
|
+
case REACT_CONTEXT_TYPE:
|
|
25394
|
+
case REACT_FORWARD_REF_TYPE:
|
|
25395
|
+
case REACT_LAZY_TYPE:
|
|
25396
|
+
case REACT_MEMO_TYPE:
|
|
25397
|
+
case REACT_PROVIDER_TYPE:
|
|
25398
|
+
return $$typeofType;
|
|
25399
|
+
default:
|
|
25400
|
+
return $$typeof;
|
|
25401
|
+
}
|
|
25402
|
+
}
|
|
25403
|
+
case REACT_PORTAL_TYPE:
|
|
25404
|
+
return $$typeof;
|
|
25405
|
+
}
|
|
25406
|
+
}
|
|
25407
|
+
return undefined;
|
|
25408
|
+
}
|
|
25409
|
+
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
25410
|
+
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
25411
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
25412
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
25413
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
25414
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
25415
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
25416
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
25417
|
+
var Memo = REACT_MEMO_TYPE;
|
|
25418
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
25419
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
25420
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
25421
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
25422
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
25423
|
+
function isAsyncMode(object) {
|
|
25424
|
+
{
|
|
25425
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
25426
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true;
|
|
25427
|
+
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.');
|
|
25428
|
+
}
|
|
25429
|
+
}
|
|
25430
|
+
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
25431
|
+
}
|
|
25432
|
+
function isConcurrentMode(object) {
|
|
25433
|
+
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
25434
|
+
}
|
|
25435
|
+
function isContextConsumer(object) {
|
|
25436
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
25437
|
+
}
|
|
25438
|
+
function isContextProvider(object) {
|
|
25439
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
25440
|
+
}
|
|
25441
|
+
function isElement(object) {
|
|
25442
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
25443
|
+
}
|
|
25444
|
+
function isForwardRef(object) {
|
|
25445
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
25446
|
+
}
|
|
25447
|
+
function isFragment(object) {
|
|
25448
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
25449
|
+
}
|
|
25450
|
+
function isLazy(object) {
|
|
25451
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
25452
|
+
}
|
|
25453
|
+
function isMemo(object) {
|
|
25454
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
25455
|
+
}
|
|
25456
|
+
function isPortal(object) {
|
|
25457
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
25458
|
+
}
|
|
25459
|
+
function isProfiler(object) {
|
|
25460
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
25461
|
+
}
|
|
25462
|
+
function isStrictMode(object) {
|
|
25463
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
25464
|
+
}
|
|
25465
|
+
function isSuspense(object) {
|
|
25466
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
25467
|
+
}
|
|
25468
|
+
exports.AsyncMode = AsyncMode;
|
|
25469
|
+
exports.ConcurrentMode = ConcurrentMode;
|
|
25470
|
+
exports.ContextConsumer = ContextConsumer;
|
|
25471
|
+
exports.ContextProvider = ContextProvider;
|
|
25472
|
+
exports.Element = Element;
|
|
25473
|
+
exports.ForwardRef = ForwardRef;
|
|
25474
|
+
exports.Fragment = Fragment;
|
|
25475
|
+
exports.Lazy = Lazy;
|
|
25476
|
+
exports.Memo = Memo;
|
|
25477
|
+
exports.Portal = Portal;
|
|
25478
|
+
exports.Profiler = Profiler;
|
|
25479
|
+
exports.StrictMode = StrictMode;
|
|
25480
|
+
exports.Suspense = Suspense;
|
|
25481
|
+
exports.isAsyncMode = isAsyncMode;
|
|
25482
|
+
exports.isConcurrentMode = isConcurrentMode;
|
|
25483
|
+
exports.isContextConsumer = isContextConsumer;
|
|
25484
|
+
exports.isContextProvider = isContextProvider;
|
|
25485
|
+
exports.isElement = isElement;
|
|
25486
|
+
exports.isForwardRef = isForwardRef;
|
|
25487
|
+
exports.isFragment = isFragment;
|
|
25488
|
+
exports.isLazy = isLazy;
|
|
25489
|
+
exports.isMemo = isMemo;
|
|
25490
|
+
exports.isPortal = isPortal;
|
|
25491
|
+
exports.isProfiler = isProfiler;
|
|
25492
|
+
exports.isStrictMode = isStrictMode;
|
|
25493
|
+
exports.isSuspense = isSuspense;
|
|
25494
|
+
exports.isValidElementType = isValidElementType;
|
|
25495
|
+
exports.typeOf = typeOf;
|
|
25496
|
+
})();
|
|
25497
|
+
}
|
|
25399
25498
|
});
|
|
25400
25499
|
|
|
25401
25500
|
var reactIs = createCommonjsModule(function (module) {
|
|
25402
25501
|
|
|
25403
|
-
if (process.env.NODE_ENV === 'production') {
|
|
25404
|
-
|
|
25405
|
-
} else {
|
|
25406
|
-
|
|
25407
|
-
}
|
|
25502
|
+
if (process.env.NODE_ENV === 'production') {
|
|
25503
|
+
module.exports = reactIs_production_min;
|
|
25504
|
+
} else {
|
|
25505
|
+
module.exports = reactIs_development;
|
|
25506
|
+
}
|
|
25408
25507
|
});
|
|
25409
25508
|
|
|
25410
|
-
/*
|
|
25411
|
-
object-assign
|
|
25412
|
-
(c) Sindre Sorhus
|
|
25413
|
-
@license MIT
|
|
25414
|
-
*/
|
|
25415
|
-
/* eslint-disable no-unused-vars */
|
|
25416
25509
|
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
25417
25510
|
var hasOwnProperty$a = Object.prototype.hasOwnProperty;
|
|
25418
25511
|
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
25419
|
-
|
|
25420
25512
|
function toObject(val) {
|
|
25421
|
-
|
|
25422
|
-
|
|
25423
|
-
|
|
25424
|
-
|
|
25425
|
-
return Object(val);
|
|
25513
|
+
if (val === null || val === undefined) {
|
|
25514
|
+
throw new TypeError('Object.assign cannot be called with null or undefined');
|
|
25515
|
+
}
|
|
25516
|
+
return Object(val);
|
|
25426
25517
|
}
|
|
25427
|
-
|
|
25428
25518
|
function shouldUseNative() {
|
|
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
|
-
|
|
25458
|
-
|
|
25459
|
-
});
|
|
25460
|
-
if (Object.keys(Object.assign({}, test3)).join('') !==
|
|
25461
|
-
'abcdefghijklmnopqrst') {
|
|
25462
|
-
return false;
|
|
25463
|
-
}
|
|
25464
|
-
|
|
25465
|
-
return true;
|
|
25466
|
-
} catch (err) {
|
|
25467
|
-
// We don't expect any of the above to throw, but better to be safe.
|
|
25468
|
-
return false;
|
|
25469
|
-
}
|
|
25519
|
+
try {
|
|
25520
|
+
if (!Object.assign) {
|
|
25521
|
+
return false;
|
|
25522
|
+
}
|
|
25523
|
+
var test1 = new String('abc');
|
|
25524
|
+
test1[5] = 'de';
|
|
25525
|
+
if (Object.getOwnPropertyNames(test1)[0] === '5') {
|
|
25526
|
+
return false;
|
|
25527
|
+
}
|
|
25528
|
+
var test2 = {};
|
|
25529
|
+
for (var i = 0; i < 10; i++) {
|
|
25530
|
+
test2['_' + String.fromCharCode(i)] = i;
|
|
25531
|
+
}
|
|
25532
|
+
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
|
|
25533
|
+
return test2[n];
|
|
25534
|
+
});
|
|
25535
|
+
if (order2.join('') !== '0123456789') {
|
|
25536
|
+
return false;
|
|
25537
|
+
}
|
|
25538
|
+
var test3 = {};
|
|
25539
|
+
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
|
|
25540
|
+
test3[letter] = letter;
|
|
25541
|
+
});
|
|
25542
|
+
if (Object.keys(Object.assign({}, test3)).join('') !== 'abcdefghijklmnopqrst') {
|
|
25543
|
+
return false;
|
|
25544
|
+
}
|
|
25545
|
+
return true;
|
|
25546
|
+
} catch (err) {
|
|
25547
|
+
return false;
|
|
25548
|
+
}
|
|
25470
25549
|
}
|
|
25471
|
-
|
|
25472
25550
|
var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
|
25473
|
-
|
|
25474
|
-
|
|
25475
|
-
|
|
25476
|
-
|
|
25477
|
-
|
|
25478
|
-
|
|
25479
|
-
|
|
25480
|
-
|
|
25481
|
-
|
|
25482
|
-
|
|
25483
|
-
|
|
25484
|
-
|
|
25485
|
-
|
|
25486
|
-
|
|
25487
|
-
|
|
25488
|
-
|
|
25489
|
-
|
|
25490
|
-
|
|
25491
|
-
|
|
25492
|
-
|
|
25493
|
-
}
|
|
25494
|
-
}
|
|
25495
|
-
|
|
25496
|
-
return to;
|
|
25551
|
+
var from;
|
|
25552
|
+
var to = toObject(target);
|
|
25553
|
+
var symbols;
|
|
25554
|
+
for (var s = 1; s < arguments.length; s++) {
|
|
25555
|
+
from = Object(arguments[s]);
|
|
25556
|
+
for (var key in from) {
|
|
25557
|
+
if (hasOwnProperty$a.call(from, key)) {
|
|
25558
|
+
to[key] = from[key];
|
|
25559
|
+
}
|
|
25560
|
+
}
|
|
25561
|
+
if (getOwnPropertySymbols) {
|
|
25562
|
+
symbols = getOwnPropertySymbols(from);
|
|
25563
|
+
for (var i = 0; i < symbols.length; i++) {
|
|
25564
|
+
if (propIsEnumerable.call(from, symbols[i])) {
|
|
25565
|
+
to[symbols[i]] = from[symbols[i]];
|
|
25566
|
+
}
|
|
25567
|
+
}
|
|
25568
|
+
}
|
|
25569
|
+
}
|
|
25570
|
+
return to;
|
|
25497
25571
|
};
|
|
25498
25572
|
|
|
25499
|
-
/**
|
|
25500
|
-
* Copyright (c) 2013-present, Facebook, Inc.
|
|
25501
|
-
*
|
|
25502
|
-
* This source code is licensed under the MIT license found in the
|
|
25503
|
-
* LICENSE file in the root directory of this source tree.
|
|
25504
|
-
*/
|
|
25505
|
-
|
|
25506
25573
|
var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
25507
|
-
|
|
25508
25574
|
var ReactPropTypesSecret_1 = ReactPropTypesSecret;
|
|
25509
25575
|
|
|
25510
25576
|
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
25511
25577
|
|
|
25512
|
-
var printWarning = function() {};
|
|
25513
|
-
|
|
25578
|
+
var printWarning = function () {};
|
|
25514
25579
|
if (process.env.NODE_ENV !== 'production') {
|
|
25515
25580
|
var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
|
|
25516
25581
|
var loggedTypeFailures = {};
|
|
25517
25582
|
var has$1 = has;
|
|
25518
|
-
|
|
25519
|
-
printWarning = function(text) {
|
|
25583
|
+
printWarning = function (text) {
|
|
25520
25584
|
var message = 'Warning: ' + text;
|
|
25521
25585
|
if (typeof console !== 'undefined') {
|
|
25522
25586
|
console.error(message);
|
|
25523
25587
|
}
|
|
25524
25588
|
try {
|
|
25525
|
-
// --- Welcome to debugging React ---
|
|
25526
|
-
// This error was thrown as a convenience so that you can use this stack
|
|
25527
|
-
// to find the callsite that caused this warning to fire.
|
|
25528
25589
|
throw new Error(message);
|
|
25529
|
-
} catch (x) {
|
|
25590
|
+
} catch (x) {}
|
|
25530
25591
|
};
|
|
25531
25592
|
}
|
|
25532
|
-
|
|
25533
|
-
/**
|
|
25534
|
-
* Assert that the values match with the type specs.
|
|
25535
|
-
* Error messages are memorized and will only be shown once.
|
|
25536
|
-
*
|
|
25537
|
-
* @param {object} typeSpecs Map of name to a ReactPropType
|
|
25538
|
-
* @param {object} values Runtime values that need to be type-checked
|
|
25539
|
-
* @param {string} location e.g. "prop", "context", "child context"
|
|
25540
|
-
* @param {string} componentName Name of the component for error messages.
|
|
25541
|
-
* @param {?Function} getStack Returns the component stack.
|
|
25542
|
-
* @private
|
|
25543
|
-
*/
|
|
25544
25593
|
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
25545
25594
|
if (process.env.NODE_ENV !== 'production') {
|
|
25546
25595
|
for (var typeSpecName in typeSpecs) {
|
|
25547
25596
|
if (has$1(typeSpecs, typeSpecName)) {
|
|
25548
25597
|
var error;
|
|
25549
|
-
// Prop type validation may throw. In case they do, we don't want to
|
|
25550
|
-
// fail the render phase where it didn't fail before. So we log it.
|
|
25551
|
-
// After these have been cleaned up, we'll let them throw.
|
|
25552
25598
|
try {
|
|
25553
|
-
// This is intentionally an invariant that gets caught. It's the same
|
|
25554
|
-
// behavior as without this statement except with a better message.
|
|
25555
25599
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
25556
|
-
var err = Error(
|
|
25557
|
-
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
25558
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
25559
|
-
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
25560
|
-
);
|
|
25600
|
+
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`.');
|
|
25561
25601
|
err.name = 'Invariant Violation';
|
|
25562
25602
|
throw err;
|
|
25563
25603
|
}
|
|
@@ -25566,142 +25606,49 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
|
25566
25606
|
error = ex;
|
|
25567
25607
|
}
|
|
25568
25608
|
if (error && !(error instanceof Error)) {
|
|
25569
|
-
printWarning(
|
|
25570
|
-
(componentName || 'React class') + ': type specification of ' +
|
|
25571
|
-
location + ' `' + typeSpecName + '` is invalid; the type checker ' +
|
|
25572
|
-
'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
|
|
25573
|
-
'You may have forgotten to pass an argument to the type checker ' +
|
|
25574
|
-
'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
|
|
25575
|
-
'shape all require an argument).'
|
|
25576
|
-
);
|
|
25609
|
+
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).');
|
|
25577
25610
|
}
|
|
25578
25611
|
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
|
|
25579
|
-
// Only monitor this failure once because there tends to be a lot of the
|
|
25580
|
-
// same error.
|
|
25581
25612
|
loggedTypeFailures[error.message] = true;
|
|
25582
|
-
|
|
25583
25613
|
var stack = getStack ? getStack() : '';
|
|
25584
|
-
|
|
25585
|
-
printWarning(
|
|
25586
|
-
'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
|
|
25587
|
-
);
|
|
25614
|
+
printWarning('Failed ' + location + ' type: ' + error.message + (stack != null ? stack : ''));
|
|
25588
25615
|
}
|
|
25589
25616
|
}
|
|
25590
25617
|
}
|
|
25591
25618
|
}
|
|
25592
25619
|
}
|
|
25593
|
-
|
|
25594
|
-
/**
|
|
25595
|
-
* Resets warning cache when testing.
|
|
25596
|
-
*
|
|
25597
|
-
* @private
|
|
25598
|
-
*/
|
|
25599
|
-
checkPropTypes.resetWarningCache = function() {
|
|
25620
|
+
checkPropTypes.resetWarningCache = function () {
|
|
25600
25621
|
if (process.env.NODE_ENV !== 'production') {
|
|
25601
25622
|
loggedTypeFailures = {};
|
|
25602
25623
|
}
|
|
25603
25624
|
};
|
|
25604
|
-
|
|
25605
25625
|
var checkPropTypes_1 = checkPropTypes;
|
|
25606
25626
|
|
|
25607
|
-
var printWarning$1 = function() {};
|
|
25608
|
-
|
|
25627
|
+
var printWarning$1 = function () {};
|
|
25609
25628
|
if (process.env.NODE_ENV !== 'production') {
|
|
25610
|
-
printWarning$1 = function(text) {
|
|
25629
|
+
printWarning$1 = function (text) {
|
|
25611
25630
|
var message = 'Warning: ' + text;
|
|
25612
25631
|
if (typeof console !== 'undefined') {
|
|
25613
25632
|
console.error(message);
|
|
25614
25633
|
}
|
|
25615
25634
|
try {
|
|
25616
|
-
// --- Welcome to debugging React ---
|
|
25617
|
-
// This error was thrown as a convenience so that you can use this stack
|
|
25618
|
-
// to find the callsite that caused this warning to fire.
|
|
25619
25635
|
throw new Error(message);
|
|
25620
25636
|
} catch (x) {}
|
|
25621
25637
|
};
|
|
25622
25638
|
}
|
|
25623
|
-
|
|
25624
25639
|
function emptyFunctionThatReturnsNull() {
|
|
25625
25640
|
return null;
|
|
25626
25641
|
}
|
|
25627
|
-
|
|
25628
|
-
var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
25629
|
-
/* global Symbol */
|
|
25642
|
+
var factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {
|
|
25630
25643
|
var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
|
25631
|
-
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
|
25632
|
-
|
|
25633
|
-
/**
|
|
25634
|
-
* Returns the iterator method function contained on the iterable object.
|
|
25635
|
-
*
|
|
25636
|
-
* Be sure to invoke the function with the iterable as context:
|
|
25637
|
-
*
|
|
25638
|
-
* var iteratorFn = getIteratorFn(myIterable);
|
|
25639
|
-
* if (iteratorFn) {
|
|
25640
|
-
* var iterator = iteratorFn.call(myIterable);
|
|
25641
|
-
* ...
|
|
25642
|
-
* }
|
|
25643
|
-
*
|
|
25644
|
-
* @param {?object} maybeIterable
|
|
25645
|
-
* @return {?function}
|
|
25646
|
-
*/
|
|
25644
|
+
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
|
25647
25645
|
function getIteratorFn(maybeIterable) {
|
|
25648
25646
|
var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
|
|
25649
25647
|
if (typeof iteratorFn === 'function') {
|
|
25650
25648
|
return iteratorFn;
|
|
25651
25649
|
}
|
|
25652
25650
|
}
|
|
25653
|
-
|
|
25654
|
-
/**
|
|
25655
|
-
* Collection of methods that allow declaration and validation of props that are
|
|
25656
|
-
* supplied to React components. Example usage:
|
|
25657
|
-
*
|
|
25658
|
-
* var Props = require('ReactPropTypes');
|
|
25659
|
-
* var MyArticle = React.createClass({
|
|
25660
|
-
* propTypes: {
|
|
25661
|
-
* // An optional string prop named "description".
|
|
25662
|
-
* description: Props.string,
|
|
25663
|
-
*
|
|
25664
|
-
* // A required enum prop named "category".
|
|
25665
|
-
* category: Props.oneOf(['News','Photos']).isRequired,
|
|
25666
|
-
*
|
|
25667
|
-
* // A prop named "dialog" that requires an instance of Dialog.
|
|
25668
|
-
* dialog: Props.instanceOf(Dialog).isRequired
|
|
25669
|
-
* },
|
|
25670
|
-
* render: function() { ... }
|
|
25671
|
-
* });
|
|
25672
|
-
*
|
|
25673
|
-
* A more formal specification of how these methods are used:
|
|
25674
|
-
*
|
|
25675
|
-
* type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
|
|
25676
|
-
* decl := ReactPropTypes.{type}(.isRequired)?
|
|
25677
|
-
*
|
|
25678
|
-
* Each and every declaration produces a function with the same signature. This
|
|
25679
|
-
* allows the creation of custom validation functions. For example:
|
|
25680
|
-
*
|
|
25681
|
-
* var MyLink = React.createClass({
|
|
25682
|
-
* propTypes: {
|
|
25683
|
-
* // An optional string or URI prop named "href".
|
|
25684
|
-
* href: function(props, propName, componentName) {
|
|
25685
|
-
* var propValue = props[propName];
|
|
25686
|
-
* if (propValue != null && typeof propValue !== 'string' &&
|
|
25687
|
-
* !(propValue instanceof URI)) {
|
|
25688
|
-
* return new Error(
|
|
25689
|
-
* 'Expected a string or an URI for ' + propName + ' in ' +
|
|
25690
|
-
* componentName
|
|
25691
|
-
* );
|
|
25692
|
-
* }
|
|
25693
|
-
* }
|
|
25694
|
-
* },
|
|
25695
|
-
* render: function() {...}
|
|
25696
|
-
* });
|
|
25697
|
-
*
|
|
25698
|
-
* @internal
|
|
25699
|
-
*/
|
|
25700
|
-
|
|
25701
25651
|
var ANONYMOUS = '<<anonymous>>';
|
|
25702
|
-
|
|
25703
|
-
// Important!
|
|
25704
|
-
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
25705
25652
|
var ReactPropTypes = {
|
|
25706
25653
|
array: createPrimitiveTypeChecker('array'),
|
|
25707
25654
|
bigint: createPrimitiveTypeChecker('bigint'),
|
|
@@ -25711,7 +25658,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25711
25658
|
object: createPrimitiveTypeChecker('object'),
|
|
25712
25659
|
string: createPrimitiveTypeChecker('string'),
|
|
25713
25660
|
symbol: createPrimitiveTypeChecker('symbol'),
|
|
25714
|
-
|
|
25715
25661
|
any: createAnyTypeChecker(),
|
|
25716
25662
|
arrayOf: createArrayOfTypeChecker,
|
|
25717
25663
|
element: createElementTypeChecker(),
|
|
@@ -25722,42 +25668,21 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25722
25668
|
oneOf: createEnumTypeChecker,
|
|
25723
25669
|
oneOfType: createUnionTypeChecker,
|
|
25724
25670
|
shape: createShapeTypeChecker,
|
|
25725
|
-
exact: createStrictShapeTypeChecker
|
|
25671
|
+
exact: createStrictShapeTypeChecker
|
|
25726
25672
|
};
|
|
25727
|
-
|
|
25728
|
-
/**
|
|
25729
|
-
* inlined Object.is polyfill to avoid requiring consumers ship their own
|
|
25730
|
-
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
|
|
25731
|
-
*/
|
|
25732
|
-
/*eslint-disable no-self-compare*/
|
|
25733
25673
|
function is(x, y) {
|
|
25734
|
-
// SameValue algorithm
|
|
25735
25674
|
if (x === y) {
|
|
25736
|
-
// Steps 1-5, 7-10
|
|
25737
|
-
// Steps 6.b-6.e: +0 != -0
|
|
25738
25675
|
return x !== 0 || 1 / x === 1 / y;
|
|
25739
25676
|
} else {
|
|
25740
|
-
// Step 6.a: NaN == NaN
|
|
25741
25677
|
return x !== x && y !== y;
|
|
25742
25678
|
}
|
|
25743
25679
|
}
|
|
25744
|
-
/*eslint-enable no-self-compare*/
|
|
25745
|
-
|
|
25746
|
-
/**
|
|
25747
|
-
* We use an Error-like object for backward compatibility as people may call
|
|
25748
|
-
* PropTypes directly and inspect their output. However, we don't use real
|
|
25749
|
-
* Errors anymore. We don't inspect their stack anyway, and creating them
|
|
25750
|
-
* is prohibitively expensive if they are created too often, such as what
|
|
25751
|
-
* happens in oneOfType() for any type before the one that matched.
|
|
25752
|
-
*/
|
|
25753
25680
|
function PropTypeError(message, data) {
|
|
25754
25681
|
this.message = message;
|
|
25755
|
-
this.data = data && typeof data === 'object' ? data: {};
|
|
25682
|
+
this.data = data && typeof data === 'object' ? data : {};
|
|
25756
25683
|
this.stack = '';
|
|
25757
25684
|
}
|
|
25758
|
-
// Make `instanceof Error` still work for returned errors.
|
|
25759
25685
|
PropTypeError.prototype = Error.prototype;
|
|
25760
|
-
|
|
25761
25686
|
function createChainableTypeChecker(validate) {
|
|
25762
25687
|
if (process.env.NODE_ENV !== 'production') {
|
|
25763
25688
|
var manualPropTypeCallCache = {};
|
|
@@ -25766,32 +25691,15 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25766
25691
|
function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
|
|
25767
25692
|
componentName = componentName || ANONYMOUS;
|
|
25768
25693
|
propFullName = propFullName || propName;
|
|
25769
|
-
|
|
25770
25694
|
if (secret !== ReactPropTypesSecret_1) {
|
|
25771
25695
|
if (throwOnDirectAccess) {
|
|
25772
|
-
|
|
25773
|
-
var err = new Error(
|
|
25774
|
-
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
|
|
25775
|
-
'Use `PropTypes.checkPropTypes()` to call them. ' +
|
|
25776
|
-
'Read more at http://fb.me/use-check-prop-types'
|
|
25777
|
-
);
|
|
25696
|
+
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');
|
|
25778
25697
|
err.name = 'Invariant Violation';
|
|
25779
25698
|
throw err;
|
|
25780
25699
|
} else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
|
|
25781
|
-
// Old behavior for people using React.PropTypes
|
|
25782
25700
|
var cacheKey = componentName + ':' + propName;
|
|
25783
|
-
if (
|
|
25784
|
-
|
|
25785
|
-
// Avoid spamming the console because they are often not actionable except for lib authors
|
|
25786
|
-
manualPropTypeWarningCount < 3
|
|
25787
|
-
) {
|
|
25788
|
-
printWarning$1(
|
|
25789
|
-
'You are manually calling a React.PropTypes validation ' +
|
|
25790
|
-
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
25791
|
-
'and will throw in the standalone `prop-types` package. ' +
|
|
25792
|
-
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
25793
|
-
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
25794
|
-
);
|
|
25701
|
+
if (!manualPropTypeCallCache[cacheKey] && manualPropTypeWarningCount < 3) {
|
|
25702
|
+
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.');
|
|
25795
25703
|
manualPropTypeCallCache[cacheKey] = true;
|
|
25796
25704
|
manualPropTypeWarningCount++;
|
|
25797
25705
|
}
|
|
@@ -25809,37 +25717,27 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25809
25717
|
return validate(props, propName, componentName, location, propFullName);
|
|
25810
25718
|
}
|
|
25811
25719
|
}
|
|
25812
|
-
|
|
25813
25720
|
var chainedCheckType = checkType.bind(null, false);
|
|
25814
25721
|
chainedCheckType.isRequired = checkType.bind(null, true);
|
|
25815
|
-
|
|
25816
25722
|
return chainedCheckType;
|
|
25817
25723
|
}
|
|
25818
|
-
|
|
25819
25724
|
function createPrimitiveTypeChecker(expectedType) {
|
|
25820
25725
|
function validate(props, propName, componentName, location, propFullName, secret) {
|
|
25821
25726
|
var propValue = props[propName];
|
|
25822
25727
|
var propType = getPropType(propValue);
|
|
25823
25728
|
if (propType !== expectedType) {
|
|
25824
|
-
// `propValue` being instance of, say, date/regexp, pass the 'object'
|
|
25825
|
-
// check, but we can offer a more precise error message here rather than
|
|
25826
|
-
// 'of type `object`'.
|
|
25827
25729
|
var preciseType = getPreciseType(propValue);
|
|
25828
|
-
|
|
25829
|
-
|
|
25830
|
-
|
|
25831
|
-
{expectedType: expectedType}
|
|
25832
|
-
);
|
|
25730
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'), {
|
|
25731
|
+
expectedType: expectedType
|
|
25732
|
+
});
|
|
25833
25733
|
}
|
|
25834
25734
|
return null;
|
|
25835
25735
|
}
|
|
25836
25736
|
return createChainableTypeChecker(validate);
|
|
25837
25737
|
}
|
|
25838
|
-
|
|
25839
25738
|
function createAnyTypeChecker() {
|
|
25840
25739
|
return createChainableTypeChecker(emptyFunctionThatReturnsNull);
|
|
25841
25740
|
}
|
|
25842
|
-
|
|
25843
25741
|
function createArrayOfTypeChecker(typeChecker) {
|
|
25844
25742
|
function validate(props, propName, componentName, location, propFullName) {
|
|
25845
25743
|
if (typeof typeChecker !== 'function') {
|
|
@@ -25860,7 +25758,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25860
25758
|
}
|
|
25861
25759
|
return createChainableTypeChecker(validate);
|
|
25862
25760
|
}
|
|
25863
|
-
|
|
25864
25761
|
function createElementTypeChecker() {
|
|
25865
25762
|
function validate(props, propName, componentName, location, propFullName) {
|
|
25866
25763
|
var propValue = props[propName];
|
|
@@ -25872,7 +25769,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25872
25769
|
}
|
|
25873
25770
|
return createChainableTypeChecker(validate);
|
|
25874
25771
|
}
|
|
25875
|
-
|
|
25876
25772
|
function createElementTypeTypeChecker() {
|
|
25877
25773
|
function validate(props, propName, componentName, location, propFullName) {
|
|
25878
25774
|
var propValue = props[propName];
|
|
@@ -25884,7 +25780,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25884
25780
|
}
|
|
25885
25781
|
return createChainableTypeChecker(validate);
|
|
25886
25782
|
}
|
|
25887
|
-
|
|
25888
25783
|
function createInstanceTypeChecker(expectedClass) {
|
|
25889
25784
|
function validate(props, propName, componentName, location, propFullName) {
|
|
25890
25785
|
if (!(props[propName] instanceof expectedClass)) {
|
|
@@ -25896,22 +25791,17 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25896
25791
|
}
|
|
25897
25792
|
return createChainableTypeChecker(validate);
|
|
25898
25793
|
}
|
|
25899
|
-
|
|
25900
25794
|
function createEnumTypeChecker(expectedValues) {
|
|
25901
25795
|
if (!Array.isArray(expectedValues)) {
|
|
25902
25796
|
if (process.env.NODE_ENV !== 'production') {
|
|
25903
25797
|
if (arguments.length > 1) {
|
|
25904
|
-
printWarning$1(
|
|
25905
|
-
'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
|
|
25906
|
-
'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
|
|
25907
|
-
);
|
|
25798
|
+
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]).');
|
|
25908
25799
|
} else {
|
|
25909
25800
|
printWarning$1('Invalid argument supplied to oneOf, expected an array.');
|
|
25910
25801
|
}
|
|
25911
25802
|
}
|
|
25912
25803
|
return emptyFunctionThatReturnsNull;
|
|
25913
25804
|
}
|
|
25914
|
-
|
|
25915
25805
|
function validate(props, propName, componentName, location, propFullName) {
|
|
25916
25806
|
var propValue = props[propName];
|
|
25917
25807
|
for (var i = 0; i < expectedValues.length; i++) {
|
|
@@ -25919,7 +25809,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25919
25809
|
return null;
|
|
25920
25810
|
}
|
|
25921
25811
|
}
|
|
25922
|
-
|
|
25923
25812
|
var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
|
|
25924
25813
|
var type = getPreciseType(value);
|
|
25925
25814
|
if (type === 'symbol') {
|
|
@@ -25931,7 +25820,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25931
25820
|
}
|
|
25932
25821
|
return createChainableTypeChecker(validate);
|
|
25933
25822
|
}
|
|
25934
|
-
|
|
25935
25823
|
function createObjectOfTypeChecker(typeChecker) {
|
|
25936
25824
|
function validate(props, propName, componentName, location, propFullName) {
|
|
25937
25825
|
if (typeof typeChecker !== 'function') {
|
|
@@ -25954,24 +25842,18 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25954
25842
|
}
|
|
25955
25843
|
return createChainableTypeChecker(validate);
|
|
25956
25844
|
}
|
|
25957
|
-
|
|
25958
25845
|
function createUnionTypeChecker(arrayOfTypeCheckers) {
|
|
25959
25846
|
if (!Array.isArray(arrayOfTypeCheckers)) {
|
|
25960
25847
|
process.env.NODE_ENV !== 'production' ? printWarning$1('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
|
|
25961
25848
|
return emptyFunctionThatReturnsNull;
|
|
25962
25849
|
}
|
|
25963
|
-
|
|
25964
25850
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
25965
25851
|
var checker = arrayOfTypeCheckers[i];
|
|
25966
25852
|
if (typeof checker !== 'function') {
|
|
25967
|
-
printWarning$1(
|
|
25968
|
-
'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
|
|
25969
|
-
'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
|
|
25970
|
-
);
|
|
25853
|
+
printWarning$1('Invalid argument supplied to oneOfType. Expected an array of check functions, but ' + 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.');
|
|
25971
25854
|
return emptyFunctionThatReturnsNull;
|
|
25972
25855
|
}
|
|
25973
25856
|
}
|
|
25974
|
-
|
|
25975
25857
|
function validate(props, propName, componentName, location, propFullName) {
|
|
25976
25858
|
var expectedTypes = [];
|
|
25977
25859
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
@@ -25984,12 +25866,11 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25984
25866
|
expectedTypes.push(checkerResult.data.expectedType);
|
|
25985
25867
|
}
|
|
25986
25868
|
}
|
|
25987
|
-
var expectedTypesMessage =
|
|
25869
|
+
var expectedTypesMessage = expectedTypes.length > 0 ? ', expected one of type [' + expectedTypes.join(', ') + ']' : '';
|
|
25988
25870
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
25989
25871
|
}
|
|
25990
25872
|
return createChainableTypeChecker(validate);
|
|
25991
25873
|
}
|
|
25992
|
-
|
|
25993
25874
|
function createNodeChecker() {
|
|
25994
25875
|
function validate(props, propName, componentName, location, propFullName) {
|
|
25995
25876
|
if (!isNode(props[propName])) {
|
|
@@ -25999,14 +25880,9 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
25999
25880
|
}
|
|
26000
25881
|
return createChainableTypeChecker(validate);
|
|
26001
25882
|
}
|
|
26002
|
-
|
|
26003
25883
|
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
26004
|
-
return new PropTypeError(
|
|
26005
|
-
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
26006
|
-
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
26007
|
-
);
|
|
25884
|
+
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 + '`.');
|
|
26008
25885
|
}
|
|
26009
|
-
|
|
26010
25886
|
function createShapeTypeChecker(shapeTypes) {
|
|
26011
25887
|
function validate(props, propName, componentName, location, propFullName) {
|
|
26012
25888
|
var propValue = props[propName];
|
|
@@ -26028,7 +25904,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26028
25904
|
}
|
|
26029
25905
|
return createChainableTypeChecker(validate);
|
|
26030
25906
|
}
|
|
26031
|
-
|
|
26032
25907
|
function createStrictShapeTypeChecker(shapeTypes) {
|
|
26033
25908
|
function validate(props, propName, componentName, location, propFullName) {
|
|
26034
25909
|
var propValue = props[propName];
|
|
@@ -26036,7 +25911,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26036
25911
|
if (propType !== 'object') {
|
|
26037
25912
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
26038
25913
|
}
|
|
26039
|
-
// We need to check all keys in case some are required but missing from props.
|
|
26040
25914
|
var allKeys = objectAssign({}, props[propName], shapeTypes);
|
|
26041
25915
|
for (var key in allKeys) {
|
|
26042
25916
|
var checker = shapeTypes[key];
|
|
@@ -26044,11 +25918,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26044
25918
|
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
26045
25919
|
}
|
|
26046
25920
|
if (!checker) {
|
|
26047
|
-
return new PropTypeError(
|
|
26048
|
-
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
26049
|
-
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
26050
|
-
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
26051
|
-
);
|
|
25921
|
+
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, ' '));
|
|
26052
25922
|
}
|
|
26053
25923
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
|
|
26054
25924
|
if (error) {
|
|
@@ -26057,10 +25927,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26057
25927
|
}
|
|
26058
25928
|
return null;
|
|
26059
25929
|
}
|
|
26060
|
-
|
|
26061
25930
|
return createChainableTypeChecker(validate);
|
|
26062
25931
|
}
|
|
26063
|
-
|
|
26064
25932
|
function isNode(propValue) {
|
|
26065
25933
|
switch (typeof propValue) {
|
|
26066
25934
|
case 'number':
|
|
@@ -26076,7 +25944,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26076
25944
|
if (propValue === null || isValidElement(propValue)) {
|
|
26077
25945
|
return true;
|
|
26078
25946
|
}
|
|
26079
|
-
|
|
26080
25947
|
var iteratorFn = getIteratorFn(propValue);
|
|
26081
25948
|
if (iteratorFn) {
|
|
26082
25949
|
var iterator = iteratorFn.call(propValue);
|
|
@@ -26088,7 +25955,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26088
25955
|
}
|
|
26089
25956
|
}
|
|
26090
25957
|
} else {
|
|
26091
|
-
// Iterator will provide entry [k,v] tuples rather than values.
|
|
26092
25958
|
while (!(step = iterator.next()).done) {
|
|
26093
25959
|
var entry = step.value;
|
|
26094
25960
|
if (entry) {
|
|
@@ -26101,47 +25967,32 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26101
25967
|
} else {
|
|
26102
25968
|
return false;
|
|
26103
25969
|
}
|
|
26104
|
-
|
|
26105
25970
|
return true;
|
|
26106
25971
|
default:
|
|
26107
25972
|
return false;
|
|
26108
25973
|
}
|
|
26109
25974
|
}
|
|
26110
|
-
|
|
26111
25975
|
function isSymbol(propType, propValue) {
|
|
26112
|
-
// Native Symbol.
|
|
26113
25976
|
if (propType === 'symbol') {
|
|
26114
25977
|
return true;
|
|
26115
25978
|
}
|
|
26116
|
-
|
|
26117
|
-
// falsy value can't be a Symbol
|
|
26118
25979
|
if (!propValue) {
|
|
26119
25980
|
return false;
|
|
26120
25981
|
}
|
|
26121
|
-
|
|
26122
|
-
// 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
|
|
26123
25982
|
if (propValue['@@toStringTag'] === 'Symbol') {
|
|
26124
25983
|
return true;
|
|
26125
25984
|
}
|
|
26126
|
-
|
|
26127
|
-
// Fallback for non-spec compliant Symbols which are polyfilled.
|
|
26128
25985
|
if (typeof Symbol === 'function' && propValue instanceof Symbol) {
|
|
26129
25986
|
return true;
|
|
26130
25987
|
}
|
|
26131
|
-
|
|
26132
25988
|
return false;
|
|
26133
25989
|
}
|
|
26134
|
-
|
|
26135
|
-
// Equivalent of `typeof` but with special handling for array and regexp.
|
|
26136
25990
|
function getPropType(propValue) {
|
|
26137
25991
|
var propType = typeof propValue;
|
|
26138
25992
|
if (Array.isArray(propValue)) {
|
|
26139
25993
|
return 'array';
|
|
26140
25994
|
}
|
|
26141
25995
|
if (propValue instanceof RegExp) {
|
|
26142
|
-
// Old webkits (at least until Android 4.0) return 'function' rather than
|
|
26143
|
-
// 'object' for typeof a RegExp. We'll normalize this here so that /bla/
|
|
26144
|
-
// passes PropTypes.object.
|
|
26145
25996
|
return 'object';
|
|
26146
25997
|
}
|
|
26147
25998
|
if (isSymbol(propType, propValue)) {
|
|
@@ -26149,9 +26000,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26149
26000
|
}
|
|
26150
26001
|
return propType;
|
|
26151
26002
|
}
|
|
26152
|
-
|
|
26153
|
-
// This handles more types than `getPropType`. Only used for error messages.
|
|
26154
|
-
// See `createPrimitiveTypeChecker`.
|
|
26155
26003
|
function getPreciseType(propValue) {
|
|
26156
26004
|
if (typeof propValue === 'undefined' || propValue === null) {
|
|
26157
26005
|
return '' + propValue;
|
|
@@ -26166,9 +26014,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26166
26014
|
}
|
|
26167
26015
|
return propType;
|
|
26168
26016
|
}
|
|
26169
|
-
|
|
26170
|
-
// Returns a string that is postfixed to a warning about an invalid type.
|
|
26171
|
-
// For example, "undefined" or "of type array"
|
|
26172
26017
|
function getPostfixForTypeWarning(value) {
|
|
26173
26018
|
var type = getPreciseType(value);
|
|
26174
26019
|
switch (type) {
|
|
@@ -26183,44 +26028,34 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
26183
26028
|
return type;
|
|
26184
26029
|
}
|
|
26185
26030
|
}
|
|
26186
|
-
|
|
26187
|
-
// Returns class name of the object, if any.
|
|
26188
26031
|
function getClassName(propValue) {
|
|
26189
26032
|
if (!propValue.constructor || !propValue.constructor.name) {
|
|
26190
26033
|
return ANONYMOUS;
|
|
26191
26034
|
}
|
|
26192
26035
|
return propValue.constructor.name;
|
|
26193
26036
|
}
|
|
26194
|
-
|
|
26195
26037
|
ReactPropTypes.checkPropTypes = checkPropTypes_1;
|
|
26196
26038
|
ReactPropTypes.resetWarningCache = checkPropTypes_1.resetWarningCache;
|
|
26197
26039
|
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
26198
|
-
|
|
26199
26040
|
return ReactPropTypes;
|
|
26200
26041
|
};
|
|
26201
26042
|
|
|
26202
26043
|
function emptyFunction() {}
|
|
26203
26044
|
function emptyFunctionWithReset() {}
|
|
26204
26045
|
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
26205
|
-
|
|
26206
|
-
var factoryWithThrowingShims = function() {
|
|
26046
|
+
var factoryWithThrowingShims = function () {
|
|
26207
26047
|
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
26208
26048
|
if (secret === ReactPropTypesSecret_1) {
|
|
26209
|
-
// It is still safe when called from React.
|
|
26210
26049
|
return;
|
|
26211
26050
|
}
|
|
26212
|
-
var err = new Error(
|
|
26213
|
-
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
|
|
26214
|
-
'Use PropTypes.checkPropTypes() to call them. ' +
|
|
26215
|
-
'Read more at http://fb.me/use-check-prop-types'
|
|
26216
|
-
);
|
|
26051
|
+
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');
|
|
26217
26052
|
err.name = 'Invariant Violation';
|
|
26218
26053
|
throw err;
|
|
26219
|
-
}
|
|
26054
|
+
}
|
|
26055
|
+
shim.isRequired = shim;
|
|
26220
26056
|
function getShim() {
|
|
26221
26057
|
return shim;
|
|
26222
|
-
}
|
|
26223
|
-
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
26058
|
+
}
|
|
26224
26059
|
var ReactPropTypes = {
|
|
26225
26060
|
array: shim,
|
|
26226
26061
|
bigint: shim,
|
|
@@ -26230,7 +26065,6 @@ var factoryWithThrowingShims = function() {
|
|
|
26230
26065
|
object: shim,
|
|
26231
26066
|
string: shim,
|
|
26232
26067
|
symbol: shim,
|
|
26233
|
-
|
|
26234
26068
|
any: shim,
|
|
26235
26069
|
arrayOf: getShim,
|
|
26236
26070
|
element: shim,
|
|
@@ -26242,36 +26076,21 @@ var factoryWithThrowingShims = function() {
|
|
|
26242
26076
|
oneOfType: getShim,
|
|
26243
26077
|
shape: getShim,
|
|
26244
26078
|
exact: getShim,
|
|
26245
|
-
|
|
26246
26079
|
checkPropTypes: emptyFunctionWithReset,
|
|
26247
26080
|
resetWarningCache: emptyFunction
|
|
26248
26081
|
};
|
|
26249
|
-
|
|
26250
26082
|
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
26251
|
-
|
|
26252
26083
|
return ReactPropTypes;
|
|
26253
26084
|
};
|
|
26254
26085
|
|
|
26255
26086
|
var propTypes = createCommonjsModule(function (module) {
|
|
26256
|
-
|
|
26257
|
-
|
|
26258
|
-
|
|
26259
|
-
|
|
26260
|
-
|
|
26261
|
-
|
|
26262
|
-
|
|
26263
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
26264
|
-
var ReactIs = reactIs;
|
|
26265
|
-
|
|
26266
|
-
// By explicitly using `prop-types` you are opting into new development behavior.
|
|
26267
|
-
// http://fb.me/prop-types-in-prod
|
|
26268
|
-
var throwOnDirectAccess = true;
|
|
26269
|
-
module.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);
|
|
26270
|
-
} else {
|
|
26271
|
-
// By explicitly using `prop-types` you are opting into new production behavior.
|
|
26272
|
-
// http://fb.me/prop-types-in-prod
|
|
26273
|
-
module.exports = factoryWithThrowingShims();
|
|
26274
|
-
}
|
|
26087
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
26088
|
+
var ReactIs = reactIs;
|
|
26089
|
+
var throwOnDirectAccess = true;
|
|
26090
|
+
module.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);
|
|
26091
|
+
} else {
|
|
26092
|
+
module.exports = factoryWithThrowingShims();
|
|
26093
|
+
}
|
|
26275
26094
|
});
|
|
26276
26095
|
|
|
26277
26096
|
const SearchConnection = _ref => {
|
|
@@ -28046,31 +27865,31 @@ const checkForNA$1 = value => {
|
|
|
28046
27865
|
return value ? value : "CS_NA";
|
|
28047
27866
|
};
|
|
28048
27867
|
const WSApplicationDetails = () => {
|
|
28049
|
-
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;
|
|
27868
|
+
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;
|
|
28050
27869
|
const getDisconnectionNoticeSearch = function () {
|
|
28051
27870
|
try {
|
|
28052
|
-
var _data$
|
|
27871
|
+
var _data$WaterConnection174, _data$WaterConnection175, _data$SewerageConnect169, _data$SewerageConnect170;
|
|
28053
27872
|
let key = "ws-waterdisconnectionnotice";
|
|
28054
27873
|
let details = {};
|
|
28055
27874
|
if (applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS")) {
|
|
28056
|
-
var _data$
|
|
27875
|
+
var _data$WaterConnection173, _PTData$Properties9;
|
|
28057
27876
|
details = {
|
|
28058
|
-
WaterConnection: [_extends({}, data === null || data === void 0 ? void 0 : (_data$
|
|
27877
|
+
WaterConnection: [_extends({}, data === null || data === void 0 ? void 0 : (_data$WaterConnection173 = data.WaterConnection) === null || _data$WaterConnection173 === void 0 ? void 0 : _data$WaterConnection173[0], {
|
|
28059
27878
|
property: PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties9 = PTData.Properties) === null || _PTData$Properties9 === void 0 ? void 0 : _PTData$Properties9[0]
|
|
28060
27879
|
})]
|
|
28061
27880
|
};
|
|
28062
27881
|
} else {
|
|
28063
|
-
var _data$
|
|
27882
|
+
var _data$SewerageConnect168, _PTData$Properties0;
|
|
28064
27883
|
key = "ws-seweragedisconnectionnotice";
|
|
28065
27884
|
details = {
|
|
28066
|
-
SewerageConnection: [_extends({}, data === null || data === void 0 ? void 0 : (_data$
|
|
27885
|
+
SewerageConnection: [_extends({}, data === null || data === void 0 ? void 0 : (_data$SewerageConnect168 = data.SewerageConnections) === null || _data$SewerageConnect168 === void 0 ? void 0 : _data$SewerageConnect168[0], {
|
|
28067
27886
|
property: PTData === null || PTData === void 0 ? void 0 : (_PTData$Properties0 = PTData.Properties) === null || _PTData$Properties0 === void 0 ? void 0 : _PTData$Properties0[0]
|
|
28068
27887
|
})]
|
|
28069
27888
|
};
|
|
28070
27889
|
}
|
|
28071
|
-
return Promise.resolve(Digit.WSService.WSDisconnectionNotice((data === null || data === void 0 ? void 0 : (_data$
|
|
28072
|
-
var _data$
|
|
28073
|
-
return Promise.resolve(Digit.PaymentService.printReciept((data === null || data === void 0 ? void 0 : (_data$
|
|
27890
|
+
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) {
|
|
27891
|
+
var _data$WaterConnection176, _data$WaterConnection177, _data$SewerageConnect171, _data$SewerageConnect172;
|
|
27892
|
+
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), {
|
|
28074
27893
|
fileStoreIds: response.filestoreIds[0]
|
|
28075
27894
|
})).then(function (fileStore) {
|
|
28076
27895
|
window.open(fileStore[response === null || response === void 0 ? void 0 : response.filestoreIds[0]], "_blank");
|
|
@@ -28089,8 +27908,7 @@ const WSApplicationDetails = () => {
|
|
|
28089
27908
|
const _useState = React.useState(false),
|
|
28090
27909
|
showOptions = _useState[0],
|
|
28091
27910
|
setShowOptions = _useState[1];
|
|
28092
|
-
const _useState2 = React.useState(false)
|
|
28093
|
-
setViewTimeline = _useState2[1];
|
|
27911
|
+
const _useState2 = React.useState(false);
|
|
28094
27912
|
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_"));
|
|
28095
27913
|
let filter1 = {
|
|
28096
27914
|
tenantId: tenantId,
|
|
@@ -28191,15 +28009,6 @@ const WSApplicationDetails = () => {
|
|
|
28191
28009
|
return Promise.reject(e);
|
|
28192
28010
|
}
|
|
28193
28011
|
};
|
|
28194
|
-
const handleViewTimeline = () => {
|
|
28195
|
-
const timelineSection = document.getElementById("timeline");
|
|
28196
|
-
if (timelineSection) {
|
|
28197
|
-
timelineSection.scrollIntoView({
|
|
28198
|
-
behavior: "smooth"
|
|
28199
|
-
});
|
|
28200
|
-
}
|
|
28201
|
-
setViewTimeline(true);
|
|
28202
|
-
};
|
|
28203
28012
|
const printApplicationReceipts = function () {
|
|
28204
28013
|
try {
|
|
28205
28014
|
var _data$WaterConnection24, _data$WaterConnection25, _data$WaterConnection26, _data$WaterConnection27, _data$SewerageConnect24, _data$SewerageConnect25;
|
|
@@ -28315,12 +28124,34 @@ const WSApplicationDetails = () => {
|
|
|
28315
28124
|
let serviceType = data && data !== null && data !== void 0 && (_data$WaterConnection44 = data.WaterConnection) !== null && _data$WaterConnection44 !== void 0 && _data$WaterConnection44[0] ? "WATER" : "SEWERAGE";
|
|
28316
28125
|
sessionStorage.setItem("ApplicationNoState", applicationNobyData);
|
|
28317
28126
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
28127
|
+
className: "employee-main-application-details",
|
|
28128
|
+
style: {
|
|
28129
|
+
display: "flex",
|
|
28130
|
+
gap: "20px"
|
|
28131
|
+
}
|
|
28132
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
28133
|
+
className: "workflow-timeline-wrapper no-scrollbar",
|
|
28134
|
+
style: {
|
|
28135
|
+
flex: "1 1 300px",
|
|
28136
|
+
maxWidth: "400px"
|
|
28137
|
+
}
|
|
28138
|
+
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Card, null, /*#__PURE__*/React__default.createElement("div", {
|
|
28139
|
+
id: "timeline"
|
|
28140
|
+
}, /*#__PURE__*/React__default.createElement(WSWFApplicationTimeline, {
|
|
28141
|
+
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]),
|
|
28142
|
+
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),
|
|
28143
|
+
paymentbuttonenabled: false
|
|
28144
|
+
})))), /*#__PURE__*/React__default.createElement("div", {
|
|
28145
|
+
style: {
|
|
28146
|
+
flex: "2 1 500px"
|
|
28147
|
+
}
|
|
28148
|
+
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Card, null, /*#__PURE__*/React__default.createElement("div", {
|
|
28318
28149
|
className: "cardHeaderWithOptions",
|
|
28319
28150
|
style: {
|
|
28320
28151
|
marginRight: "auto",
|
|
28321
28152
|
maxWidth: "960px"
|
|
28322
28153
|
}
|
|
28323
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
28154
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
28324
28155
|
style: {
|
|
28325
28156
|
zIndex: "10",
|
|
28326
28157
|
display: "flex",
|
|
@@ -28335,69 +28166,55 @@ const WSApplicationDetails = () => {
|
|
|
28335
28166
|
onHeadClick: () => setShowOptions(!showOptions),
|
|
28336
28167
|
displayOptions: showOptions,
|
|
28337
28168
|
options: downloadOptions
|
|
28338
|
-
})), /*#__PURE__*/React__default.createElement(
|
|
28339
|
-
label: t("VIEW_TIMELINE"),
|
|
28340
|
-
style: {
|
|
28341
|
-
color: "#A52A2A"
|
|
28342
|
-
},
|
|
28343
|
-
onClick: handleViewTimeline
|
|
28344
|
-
}))), checkifPrivacyenabled && /*#__PURE__*/React__default.createElement(WSInfoLabel, {
|
|
28169
|
+
})))), checkifPrivacyenabled && /*#__PURE__*/React__default.createElement(WSInfoLabel, {
|
|
28345
28170
|
t: t
|
|
28346
28171
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
28347
28172
|
className: "hide-seperator"
|
|
28348
|
-
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.
|
|
28349
|
-
className: "border-none",
|
|
28173
|
+
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28350
28174
|
label: t("WS_MYCONNECTIONS_APPLICATION_NO"),
|
|
28351
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
28175
|
+
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),
|
|
28352
28176
|
textStyle: {}
|
|
28353
|
-
}), ((data === null || data === void 0 ? void 0 : (_data$
|
|
28354
|
-
className: "border-none",
|
|
28177
|
+
}), ((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__default.createElement(digitUiReactComponents.Row, {
|
|
28355
28178
|
label: t("WS_MYCONNECTIONS_CONSUMER_NO"),
|
|
28356
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
28179
|
+
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),
|
|
28357
28180
|
textStyle: {
|
|
28358
28181
|
wordBreak: "break-word"
|
|
28359
28182
|
}
|
|
28360
28183
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28361
|
-
className: "border-none",
|
|
28362
28184
|
label: t("WS_SERVICE_NAME_LABEL"),
|
|
28363
|
-
text: t("WS_APPLICATION_TYPE_" + ((data === null || data === void 0 ? void 0 : (_data$
|
|
28185
|
+
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))),
|
|
28364
28186
|
textStyle: {
|
|
28365
28187
|
wordBreak: "break-word"
|
|
28366
28188
|
}
|
|
28367
|
-
}), ((data === null || data === void 0 ? void 0 : (_data$
|
|
28368
|
-
className: "border-none",
|
|
28189
|
+
}), ((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__default.createElement(digitUiReactComponents.Row, {
|
|
28369
28190
|
label: t("WS_DISCONNECTION_PROPOSED_DATE"),
|
|
28370
|
-
text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? convertEpochToDate(data === null || data === void 0 ? void 0 : (_data$
|
|
28191
|
+
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),
|
|
28371
28192
|
textStyle: {
|
|
28372
28193
|
wordBreak: "break-word"
|
|
28373
28194
|
}
|
|
28374
|
-
}), ((data === null || data === void 0 ? void 0 : (_data$
|
|
28375
|
-
className: "border-none",
|
|
28195
|
+
}), ((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__default.createElement(digitUiReactComponents.Row, {
|
|
28376
28196
|
label: t("WS_DISCONNECTION_EXECUTED_DATE"),
|
|
28377
|
-
text: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? convertEpochToDate(data === null || data === void 0 ? void 0 : (_data$
|
|
28197
|
+
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),
|
|
28378
28198
|
textStyle: {
|
|
28379
28199
|
wordBreak: "break-word"
|
|
28380
28200
|
}
|
|
28381
|
-
}), ((data === null || data === void 0 ? void 0 : (_data$
|
|
28382
|
-
className: "border-none",
|
|
28201
|
+
}), ((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__default.createElement(digitUiReactComponents.Row, {
|
|
28383
28202
|
label: t("WS_DISCONNECTION_REASON"),
|
|
28384
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
28203
|
+
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"),
|
|
28385
28204
|
textStyle: {
|
|
28386
28205
|
wordBreak: "break-word"
|
|
28387
28206
|
}
|
|
28388
|
-
}))
|
|
28207
|
+
})), (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__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardHeader, {
|
|
28389
28208
|
styles: {
|
|
28390
28209
|
fontSize: "28px"
|
|
28391
28210
|
}
|
|
28392
28211
|
}, t("WS_FEE_DEATAILS_HEADER")), /*#__PURE__*/React__default.createElement(digitUiReactComponents.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__default.createElement(digitUiReactComponents.Row, {
|
|
28393
|
-
className: "border-none",
|
|
28394
28212
|
label: t(bill === null || bill === void 0 ? void 0 : bill.taxHeadCode),
|
|
28395
28213
|
text: "\u20B9" + Number(bill === null || bill === void 0 ? void 0 : bill.amount).toFixed(2),
|
|
28396
28214
|
textStyle: {
|
|
28397
28215
|
textAlign: "right"
|
|
28398
28216
|
}
|
|
28399
28217
|
})), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28400
|
-
className: "border-none",
|
|
28401
28218
|
label: t("WS_TOTAL_AMOUNT_DUE"),
|
|
28402
28219
|
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),
|
|
28403
28220
|
textStyle: {
|
|
@@ -28406,7 +28223,6 @@ const WSApplicationDetails = () => {
|
|
|
28406
28223
|
fontWeight: "700"
|
|
28407
28224
|
}
|
|
28408
28225
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28409
|
-
className: "border-none",
|
|
28410
28226
|
label: t("WS_COMMON_TABLE_COL_APPLICATION_STATUS"),
|
|
28411
28227
|
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"),
|
|
28412
28228
|
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 ? {
|
|
@@ -28416,7 +28232,7 @@ const WSApplicationDetails = () => {
|
|
|
28416
28232
|
textAlign: "right",
|
|
28417
28233
|
color: "red"
|
|
28418
28234
|
}
|
|
28419
|
-
}))), /*#__PURE__*/React__default.createElement(digitUiReactComponents.
|
|
28235
|
+
}))), /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardHeader, {
|
|
28420
28236
|
styles: {
|
|
28421
28237
|
fontSize: "28px"
|
|
28422
28238
|
}
|
|
@@ -28449,19 +28265,18 @@ const WSApplicationDetails = () => {
|
|
|
28449
28265
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28450
28266
|
label: t("WS_NATURE_OF_WORK"),
|
|
28451
28267
|
text: "" + t(checkForNA$1(connectionDetails === null || connectionDetails === void 0 ? void 0 : connectionDetails.natureOfWork))
|
|
28452
|
-
})))
|
|
28268
|
+
}))), (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__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardHeader, {
|
|
28453
28269
|
styles: {
|
|
28454
28270
|
fontSize: "28px"
|
|
28455
28271
|
}
|
|
28456
28272
|
}, t("WS_COMMON_CONNECTION_HOLDER_DETAILS_HEADER")), /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28457
|
-
className: "border-none",
|
|
28458
28273
|
label: t("WS_OWN_DETAIL_MOBILE_NO_LABEL"),
|
|
28459
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
28274
|
+
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),
|
|
28460
28275
|
textStyle: {
|
|
28461
28276
|
whiteSpace: "pre"
|
|
28462
28277
|
},
|
|
28463
28278
|
privacy: {
|
|
28464
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
28279
|
+
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,
|
|
28465
28280
|
fieldName: "connectionHoldersMobileNumber",
|
|
28466
28281
|
model: "WnSConnectionOwner",
|
|
28467
28282
|
showValue: false,
|
|
@@ -28477,21 +28292,19 @@ const WSApplicationDetails = () => {
|
|
|
28477
28292
|
}
|
|
28478
28293
|
}
|
|
28479
28294
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28480
|
-
className: "border-none",
|
|
28481
28295
|
label: t("WS_OWN_DETAIL_OWN_NAME_LABEL"),
|
|
28482
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
28296
|
+
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),
|
|
28483
28297
|
textStyle: {
|
|
28484
28298
|
whiteSpace: "pre"
|
|
28485
28299
|
}
|
|
28486
28300
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28487
|
-
className: "border-none",
|
|
28488
28301
|
label: t("WS_OWN_DETAIL_GENDER_LABEL"),
|
|
28489
|
-
text: t((data === null || data === void 0 ? void 0 : (_data$
|
|
28302
|
+
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)),
|
|
28490
28303
|
textStyle: {
|
|
28491
28304
|
whiteSpace: "pre"
|
|
28492
28305
|
},
|
|
28493
28306
|
privacy: {
|
|
28494
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
28307
|
+
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,
|
|
28495
28308
|
fieldName: "gender",
|
|
28496
28309
|
model: "WnSConnectionOwner",
|
|
28497
28310
|
showValue: false,
|
|
@@ -28507,14 +28320,13 @@ const WSApplicationDetails = () => {
|
|
|
28507
28320
|
}
|
|
28508
28321
|
}
|
|
28509
28322
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28510
|
-
className: "border-none",
|
|
28511
28323
|
label: t("WS_OWN_DETAIL_FATHER_OR_HUSBAND_NAME"),
|
|
28512
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
28324
|
+
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"),
|
|
28513
28325
|
textStyle: {
|
|
28514
28326
|
whiteSpace: "pre"
|
|
28515
28327
|
},
|
|
28516
28328
|
privacy: {
|
|
28517
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
28329
|
+
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,
|
|
28518
28330
|
fieldName: "fatherOrHusbandName",
|
|
28519
28331
|
model: "WnSConnectionOwner",
|
|
28520
28332
|
showValue: false,
|
|
@@ -28530,14 +28342,13 @@ const WSApplicationDetails = () => {
|
|
|
28530
28342
|
}
|
|
28531
28343
|
}
|
|
28532
28344
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28533
|
-
className: "border-none",
|
|
28534
28345
|
label: t("WS_OWN_DETAIL_RELATION_LABEL"),
|
|
28535
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
28346
|
+
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"),
|
|
28536
28347
|
textStyle: {
|
|
28537
28348
|
whiteSpace: "pre"
|
|
28538
28349
|
},
|
|
28539
28350
|
privacy: {
|
|
28540
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
28351
|
+
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,
|
|
28541
28352
|
fieldName: "relationship",
|
|
28542
28353
|
model: "WnSConnection",
|
|
28543
28354
|
showValue: false,
|
|
@@ -28553,11 +28364,10 @@ const WSApplicationDetails = () => {
|
|
|
28553
28364
|
}
|
|
28554
28365
|
}
|
|
28555
28366
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28556
|
-
className: "border-none",
|
|
28557
28367
|
label: t("WS_OWN_DETAIL_CROSADD"),
|
|
28558
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
28368
|
+
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"),
|
|
28559
28369
|
privacy: {
|
|
28560
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
28370
|
+
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,
|
|
28561
28371
|
fieldName: "correspondenceAddress",
|
|
28562
28372
|
model: "WnSConnectionOwner",
|
|
28563
28373
|
showValue: false,
|
|
@@ -28573,42 +28383,13 @@ const WSApplicationDetails = () => {
|
|
|
28573
28383
|
}
|
|
28574
28384
|
}
|
|
28575
28385
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28576
|
-
className: "border-none",
|
|
28577
|
-
label: t("WS_OWN_DETAIL_SPECIAL_APPLICANT_LABEL"),
|
|
28578
|
-
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,
|
|
28579
|
-
textStyle: {
|
|
28580
|
-
whiteSpace: "pre"
|
|
28581
|
-
},
|
|
28582
|
-
privacy: {
|
|
28583
|
-
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,
|
|
28584
|
-
fieldName: "ownerType",
|
|
28585
|
-
model: "WnSConnection",
|
|
28586
|
-
showValue: false,
|
|
28587
|
-
loadData: {
|
|
28588
|
-
serviceName: serviceType === "WATER" ? "/ws-services/wc/_search" : "/sw-services/swc/_search",
|
|
28589
|
-
requestBody: {},
|
|
28590
|
-
requestParam: {
|
|
28591
|
-
tenantId,
|
|
28592
|
-
applicationNumber: applicationNobyData
|
|
28593
|
-
},
|
|
28594
|
-
jsonPath: serviceType === "WATER" ? "WaterConnection[0].connectionHolders[0].ownerType" : "SewerageConnections[0].connectionHolders[0].ownerType",
|
|
28595
|
-
isArray: false,
|
|
28596
|
-
d: res => {
|
|
28597
|
-
var _res$WaterConnection, _res$WaterConnection2, _res$WaterConnection3, _res$WaterConnection4, _res$WaterConnection5, _res$WaterConnection6, _res$SewerageConnecti, _res$SewerageConnecti2, _res$SewerageConnecti3, _res$SewerageConnecti4, _res$SewerageConnecti5;
|
|
28598
|
-
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()));
|
|
28599
|
-
return resultString;
|
|
28600
|
-
}
|
|
28601
|
-
}
|
|
28602
|
-
}
|
|
28603
|
-
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28604
|
-
className: "border-none",
|
|
28605
28386
|
label: t("WS_OWN_DETAIL_EMAIL_ID_LABEL"),
|
|
28606
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
28387
|
+
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",
|
|
28607
28388
|
textStyle: {
|
|
28608
28389
|
whiteSpace: "pre"
|
|
28609
28390
|
},
|
|
28610
28391
|
privacy: {
|
|
28611
|
-
uuid: applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("WS") ? data === null || data === void 0 ? void 0 : (_data$
|
|
28392
|
+
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,
|
|
28612
28393
|
fieldName: "connectionHoldersEmailId",
|
|
28613
28394
|
model: "WnSConnectionOwner",
|
|
28614
28395
|
showValue: false,
|
|
@@ -28623,19 +28404,17 @@ const WSApplicationDetails = () => {
|
|
|
28623
28404
|
isArray: false
|
|
28624
28405
|
}
|
|
28625
28406
|
}
|
|
28626
|
-
}))) : /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.
|
|
28407
|
+
}))) : /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardSubHeader, null, t("WS_COMMON_CONNECTION_HOLDER_DETAILS_HEADER")), /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardText, null, t("WS_SAME_AS_PROPERTY_OWNERS"))), /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardHeader, {
|
|
28627
28408
|
styles: {
|
|
28628
28409
|
fontSize: "28px"
|
|
28629
28410
|
}
|
|
28630
28411
|
}, t("WS_COMMON_PROPERTY_DETAILS")), /*#__PURE__*/React__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28631
|
-
className: "border-none",
|
|
28632
28412
|
label: t("WS_PROPERTY_ID_LABEL"),
|
|
28633
|
-
text: (data === null || data === void 0 ? void 0 : (_data$
|
|
28413
|
+
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),
|
|
28634
28414
|
textStyle: {
|
|
28635
28415
|
wordBreak: "break-word"
|
|
28636
28416
|
}
|
|
28637
28417
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28638
|
-
className: "border-none",
|
|
28639
28418
|
label: t("WS_OWN_DETAIL_OWN_NAME_LABEL"),
|
|
28640
28419
|
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) => {
|
|
28641
28420
|
var _a$additionalDetails, _b$additionalDetails;
|
|
@@ -28645,7 +28424,6 @@ const WSApplicationDetails = () => {
|
|
|
28645
28424
|
whiteSpace: "pre"
|
|
28646
28425
|
}
|
|
28647
28426
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28648
|
-
className: "border-none",
|
|
28649
28427
|
label: t("WS_PROPERTY_ADDRESS"),
|
|
28650
28428
|
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"),
|
|
28651
28429
|
textStyle: {
|
|
@@ -28673,13 +28451,13 @@ const WSApplicationDetails = () => {
|
|
|
28673
28451
|
}
|
|
28674
28452
|
}
|
|
28675
28453
|
}), /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
|
|
28676
|
-
to: "/digit-ui/citizen/commonpt/view-property?propertyId=" + ((data === null || data === void 0 ? void 0 : (_data$
|
|
28454
|
+
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))
|
|
28677
28455
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.LinkButton, {
|
|
28678
28456
|
style: {
|
|
28679
28457
|
textAlign: "left"
|
|
28680
28458
|
},
|
|
28681
28459
|
label: t("WS_VIEW_PROPERTY")
|
|
28682
|
-
})))), /*#__PURE__*/React__default.createElement(digitUiReactComponents.
|
|
28460
|
+
})))), /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardHeader, {
|
|
28683
28461
|
styles: {
|
|
28684
28462
|
fontSize: "28px"
|
|
28685
28463
|
}
|
|
@@ -28745,7 +28523,7 @@ const WSApplicationDetails = () => {
|
|
|
28745
28523
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28746
28524
|
label: t("LANDMARK"),
|
|
28747
28525
|
text: "" + t(checkForNA$1(propertyAddress === null || propertyAddress === void 0 ? void 0 : propertyAddress.landmark))
|
|
28748
|
-
}))
|
|
28526
|
+
})), /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardHeader, {
|
|
28749
28527
|
styles: {
|
|
28750
28528
|
fontSize: "28px"
|
|
28751
28529
|
}
|
|
@@ -28781,7 +28559,7 @@ const WSApplicationDetails = () => {
|
|
|
28781
28559
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28782
28560
|
label: t("WS_NUMBER_OF_DWELLING_UNITS"),
|
|
28783
28561
|
text: "" + t(checkForNA$1((useDetails === null || useDetails === void 0 ? void 0 : useDetails.NumberofDwellingUnits) || (useDetails === null || useDetails === void 0 ? void 0 : useDetails.noOfDwellingUnits)))
|
|
28784
|
-
}))
|
|
28562
|
+
})), /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardHeader, {
|
|
28785
28563
|
styles: {
|
|
28786
28564
|
fontSize: "28px"
|
|
28787
28565
|
}
|
|
@@ -28802,7 +28580,7 @@ const WSApplicationDetails = () => {
|
|
|
28802
28580
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28803
28581
|
label: t("WS_EMPLOYEE_DESIGNATION"),
|
|
28804
28582
|
text: "" + t(checkForNA$1(djbEmployee === null || djbEmployee === void 0 ? void 0 : djbEmployee.designation))
|
|
28805
|
-
})))
|
|
28583
|
+
}))), /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardHeader, {
|
|
28806
28584
|
styles: {
|
|
28807
28585
|
fontSize: "28px"
|
|
28808
28586
|
}
|
|
@@ -28823,19 +28601,19 @@ const WSApplicationDetails = () => {
|
|
|
28823
28601
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
28824
28602
|
label: t("WS_BANK_ACCOUNT_NO"),
|
|
28825
28603
|
text: "" + t(checkForNA$1((bankDetails === null || bankDetails === void 0 ? void 0 : bankDetails.bankAccountNumber) || (bankDetails === null || bankDetails === void 0 ? void 0 : bankDetails.accountNumber)))
|
|
28826
|
-
}))
|
|
28604
|
+
})), /*#__PURE__*/React__default.createElement(digitUiReactComponents.CardHeader, {
|
|
28827
28605
|
styles: {
|
|
28828
28606
|
fontSize: "28px"
|
|
28829
28607
|
}
|
|
28830
|
-
}, t("WS_COMMON_DOCUMENT_DETAILS")), (data === null || data === void 0 ? void 0 : (_data$
|
|
28831
|
-
var _doc$documentType, _data$
|
|
28608
|
+
}, 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) => {
|
|
28609
|
+
var _doc$documentType, _data$WaterConnection135, _data$WaterConnection136, _data$WaterConnection137, _data$WaterConnection138;
|
|
28832
28610
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
28833
28611
|
key: "doc-" + index
|
|
28834
28612
|
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.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__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(WSDocument, {
|
|
28835
|
-
value: data === null || data === void 0 ? void 0 : (_data$
|
|
28613
|
+
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,
|
|
28836
28614
|
Code: doc === null || doc === void 0 ? void 0 : doc.documentType,
|
|
28837
28615
|
index: index
|
|
28838
|
-
}), (data === null || data === void 0 ? void 0 : (_data$
|
|
28616
|
+
}), (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__default.createElement("hr", {
|
|
28839
28617
|
style: {
|
|
28840
28618
|
color: "#cccccc",
|
|
28841
28619
|
backgroundColor: "#cccccc",
|
|
@@ -28844,15 +28622,15 @@ const WSApplicationDetails = () => {
|
|
|
28844
28622
|
marginBottom: "20px"
|
|
28845
28623
|
}
|
|
28846
28624
|
}) : null)));
|
|
28847
|
-
})), (data === null || data === void 0 ? void 0 : (_data$
|
|
28848
|
-
var _doc$documentType2, _data$
|
|
28625
|
+
})), (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) => {
|
|
28626
|
+
var _doc$documentType2, _data$SewerageConnect130, _data$SewerageConnect131, _data$SewerageConnect132, _data$SewerageConnect133;
|
|
28849
28627
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
28850
28628
|
key: "doc-" + index
|
|
28851
28629
|
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(digitUiReactComponents.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__default.createElement(digitUiReactComponents.StatusTable, null, /*#__PURE__*/React__default.createElement(WSDocument, {
|
|
28852
|
-
value: data === null || data === void 0 ? void 0 : (_data$
|
|
28630
|
+
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,
|
|
28853
28631
|
Code: doc === null || doc === void 0 ? void 0 : doc.documentType,
|
|
28854
28632
|
index: index
|
|
28855
|
-
}), (data === null || data === void 0 ? void 0 : (_data$
|
|
28633
|
+
}), (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__default.createElement("hr", {
|
|
28856
28634
|
style: {
|
|
28857
28635
|
color: "white",
|
|
28858
28636
|
backgroundColor: "white",
|
|
@@ -28861,42 +28639,36 @@ const WSApplicationDetails = () => {
|
|
|
28861
28639
|
marginBottom: "20px"
|
|
28862
28640
|
}
|
|
28863
28641
|
}) : null)));
|
|
28864
|
-
}))
|
|
28865
|
-
id: "timeline"
|
|
28866
|
-
}, /*#__PURE__*/React__default.createElement(WSWFApplicationTimeline, {
|
|
28867
|
-
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]),
|
|
28868
|
-
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),
|
|
28869
|
-
paymentbuttonenabled: false
|
|
28870
|
-
})), (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__default.createElement(reactRouterDom.Link, {
|
|
28642
|
+
})), (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__default.createElement(reactRouterDom.Link, {
|
|
28871
28643
|
to: {
|
|
28872
|
-
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$
|
|
28644
|
+
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),
|
|
28873
28645
|
state: {}
|
|
28874
28646
|
}
|
|
28875
28647
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.SubmitBar, {
|
|
28876
28648
|
label: t("MAKE_PAYMENT")
|
|
28877
|
-
})) : null, !(data !== null && data !== void 0 && (_data$
|
|
28649
|
+
})) : 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__default.createElement(reactRouterDom.Link, {
|
|
28878
28650
|
to: {
|
|
28879
|
-
pathname: "/digit-ui/citizen/ws/edit-application/" + ((data === null || data === void 0 ? void 0 : (_data$
|
|
28651
|
+
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)),
|
|
28880
28652
|
state: {
|
|
28881
|
-
id: "" + ((data === null || data === void 0 ? void 0 : (_data$
|
|
28653
|
+
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))
|
|
28882
28654
|
}
|
|
28883
28655
|
}
|
|
28884
28656
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.SubmitBar, {
|
|
28885
28657
|
label: t("COMMON_EDIT")
|
|
28886
|
-
})) : null, data !== null && data !== void 0 && (_data$
|
|
28658
|
+
})) : 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__default.createElement(reactRouterDom.Link, {
|
|
28887
28659
|
to: {
|
|
28888
28660
|
pathname: "/digit-ui/citizen/ws/resubmit-disconnect-application",
|
|
28889
28661
|
state: {
|
|
28890
|
-
id: "" + ((data === null || data === void 0 ? void 0 : (_data$
|
|
28662
|
+
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))
|
|
28891
28663
|
}
|
|
28892
28664
|
}
|
|
28893
28665
|
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.SubmitBar, {
|
|
28894
28666
|
label: t("RESUBMIT_APPLICATION"),
|
|
28895
28667
|
onSubmit: Digit.SessionStorage.set("WS_DISCONNECTION", applicationNobyData !== null && applicationNobyData !== void 0 && applicationNobyData.includes("SW") ? {
|
|
28896
|
-
applicationData: data === null || data === void 0 ? void 0 : (_data$
|
|
28668
|
+
applicationData: data === null || data === void 0 ? void 0 : (_data$SewerageConnect159 = data.SewerageConnections) === null || _data$SewerageConnect159 === void 0 ? void 0 : _data$SewerageConnect159[0],
|
|
28897
28669
|
serviceType: "SEWERAGE",
|
|
28898
28670
|
WSDisconnectionForm: {
|
|
28899
|
-
type: data !== null && data !== void 0 && (_data$
|
|
28671
|
+
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 ? {
|
|
28900
28672
|
code: "type",
|
|
28901
28673
|
value: {
|
|
28902
28674
|
name: "Temporary",
|
|
@@ -28913,18 +28685,18 @@ const WSApplicationDetails = () => {
|
|
|
28913
28685
|
code: "Permanent"
|
|
28914
28686
|
}
|
|
28915
28687
|
},
|
|
28916
|
-
date: convertEpochToDateDMY(data === null || data === void 0 ? void 0 : (_data$
|
|
28688
|
+
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),
|
|
28917
28689
|
reason: {
|
|
28918
28690
|
code: "reason",
|
|
28919
|
-
value: data === null || data === void 0 ? void 0 : (_data$
|
|
28691
|
+
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
|
|
28920
28692
|
},
|
|
28921
|
-
documents: data === null || data === void 0 ? void 0 : (_data$
|
|
28693
|
+
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
|
|
28922
28694
|
}
|
|
28923
28695
|
} : {
|
|
28924
|
-
applicationData: data === null || data === void 0 ? void 0 : (_data$
|
|
28696
|
+
applicationData: data === null || data === void 0 ? void 0 : (_data$WaterConnection164 = data.WaterConnection) === null || _data$WaterConnection164 === void 0 ? void 0 : _data$WaterConnection164[0],
|
|
28925
28697
|
serviceType: "WATER",
|
|
28926
28698
|
WSDisconnectionForm: {
|
|
28927
|
-
type: data !== null && data !== void 0 && (_data$
|
|
28699
|
+
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 ? {
|
|
28928
28700
|
code: "type",
|
|
28929
28701
|
value: {
|
|
28930
28702
|
name: "Temporary",
|
|
@@ -28941,15 +28713,15 @@ const WSApplicationDetails = () => {
|
|
|
28941
28713
|
code: "Permanent"
|
|
28942
28714
|
}
|
|
28943
28715
|
},
|
|
28944
|
-
date: convertEpochToDateDMY(data === null || data === void 0 ? void 0 : (_data$
|
|
28716
|
+
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),
|
|
28945
28717
|
reason: {
|
|
28946
28718
|
code: "reason",
|
|
28947
|
-
value: data === null || data === void 0 ? void 0 : (_data$
|
|
28719
|
+
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
|
|
28948
28720
|
},
|
|
28949
|
-
documents: data === null || data === void 0 ? void 0 : (_data$
|
|
28721
|
+
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
|
|
28950
28722
|
}
|
|
28951
28723
|
})
|
|
28952
|
-
})) : null)));
|
|
28724
|
+
})) : null)))));
|
|
28953
28725
|
};
|
|
28954
28726
|
|
|
28955
28727
|
const WSAdditionalDetails = () => {
|
|
@@ -32469,10 +32241,7 @@ const PropertyLocationDetails = _ref => {
|
|
|
32469
32241
|
props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
32470
32242
|
const _useTranslation = reactI18next.useTranslation(),
|
|
32471
32243
|
t = _useTranslation.t;
|
|
32472
|
-
const _useState = React.useState(
|
|
32473
|
-
showToast = _useState[0],
|
|
32474
|
-
setShowToast = _useState[1];
|
|
32475
|
-
const _useState2 = React.useState({
|
|
32244
|
+
const _useState = React.useState({
|
|
32476
32245
|
addressType: (address === null || address === void 0 ? void 0 : address.addressType) || "",
|
|
32477
32246
|
pincode: (address === null || address === void 0 ? void 0 : address.pinCode) || "",
|
|
32478
32247
|
city: (address === null || address === void 0 ? void 0 : address.city) || "",
|
|
@@ -32494,8 +32263,8 @@ const PropertyLocationDetails = _ref => {
|
|
|
32494
32263
|
actualWard: (address === null || address === void 0 ? void 0 : address.actualWard) || "",
|
|
32495
32264
|
actualZone: (address === null || address === void 0 ? void 0 : address.actualZone) || ""
|
|
32496
32265
|
}),
|
|
32497
|
-
formData =
|
|
32498
|
-
setFormData =
|
|
32266
|
+
formData = _useState[0],
|
|
32267
|
+
setFormData = _useState[1];
|
|
32499
32268
|
const isPropertyFound = window.location.href.includes("ws/old-application");
|
|
32500
32269
|
React.useEffect(() => {
|
|
32501
32270
|
if (props.register) {
|
|
@@ -32590,26 +32359,7 @@ const PropertyLocationDetails = _ref => {
|
|
|
32590
32359
|
onSelect((config === null || config === void 0 ? void 0 : config.key) || "address", clearedData);
|
|
32591
32360
|
}
|
|
32592
32361
|
}, [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]);
|
|
32593
|
-
|
|
32594
|
-
if (showToast) {
|
|
32595
|
-
const timer = setTimeout(() => {
|
|
32596
|
-
setShowToast(null);
|
|
32597
|
-
}, 1000);
|
|
32598
|
-
return () => clearTimeout(timer);
|
|
32599
|
-
}
|
|
32600
|
-
}, [showToast]);
|
|
32601
|
-
return /*#__PURE__*/React__default.createElement(digitUiReactComponents.CollapsibleCardPage, {
|
|
32602
|
-
title: t("PT_LOCATION_DETAILS") + (config !== null && config !== void 0 && config.isAutomaticFill ? " (Automatic Fill by Property )" : ""),
|
|
32603
|
-
defaultOpen: config !== null && config !== void 0 && config.isAutomaticFill ? false : true
|
|
32604
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
|
32605
|
-
style: _extends({
|
|
32606
|
-
boxShadow: "none"
|
|
32607
|
-
}, props.style)
|
|
32608
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
|
32609
|
-
style: {
|
|
32610
|
-
marginTop: "20px"
|
|
32611
|
-
}
|
|
32612
|
-
}, /*#__PURE__*/React__default.createElement(digitUiReactComponents.AddressDetails, {
|
|
32362
|
+
return /*#__PURE__*/React__default.createElement(digitUiReactComponents.AddressDetails, {
|
|
32613
32363
|
t: t,
|
|
32614
32364
|
formData: formData,
|
|
32615
32365
|
onSelect: (key, data) => {
|
|
@@ -32624,7 +32374,7 @@ const PropertyLocationDetails = _ref => {
|
|
|
32624
32374
|
showMapActualLocation: true,
|
|
32625
32375
|
disable: isPropertyFound,
|
|
32626
32376
|
hideNextButton: true
|
|
32627
|
-
})
|
|
32377
|
+
});
|
|
32628
32378
|
};
|
|
32629
32379
|
|
|
32630
32380
|
const WSPropertyLocationDetails = props => {
|
|
@@ -36713,31 +36463,6 @@ const WorkflowTimeline = _ref => {
|
|
|
36713
36463
|
})));
|
|
36714
36464
|
};
|
|
36715
36465
|
|
|
36716
|
-
const _iteratorSymbol$1 = /*#__PURE__*/typeof Symbol !== "undefined" ? Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator")) : "@@iterator";
|
|
36717
|
-
const _asyncIteratorSymbol$1 = /*#__PURE__*/typeof Symbol !== "undefined" ? Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator")) : "@@asyncIterator";
|
|
36718
|
-
function _catch$1(body, recover) {
|
|
36719
|
-
try {
|
|
36720
|
-
var result = body();
|
|
36721
|
-
} catch (e) {
|
|
36722
|
-
return recover(e);
|
|
36723
|
-
}
|
|
36724
|
-
if (result && result.then) {
|
|
36725
|
-
return result.then(void 0, recover);
|
|
36726
|
-
}
|
|
36727
|
-
return result;
|
|
36728
|
-
}
|
|
36729
|
-
function _finallyRethrows$1(body, finalizer) {
|
|
36730
|
-
try {
|
|
36731
|
-
var result = body();
|
|
36732
|
-
} catch (e) {
|
|
36733
|
-
return finalizer(true, e);
|
|
36734
|
-
}
|
|
36735
|
-
if (result && result.then) {
|
|
36736
|
-
return result.then(finalizer.bind(null, false), finalizer.bind(null, true));
|
|
36737
|
-
}
|
|
36738
|
-
return finalizer(false, result);
|
|
36739
|
-
}
|
|
36740
|
-
|
|
36741
36466
|
const configPTApproverApplication = _ref => {
|
|
36742
36467
|
var _action$assigneeRoles;
|
|
36743
36468
|
let t = _ref.t,
|
|
@@ -37486,7 +37211,7 @@ const ActionModal = _ref => {
|
|
|
37486
37211
|
if (file.size >= 5242880) {
|
|
37487
37212
|
setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
|
|
37488
37213
|
} else {
|
|
37489
|
-
const _temp = _catch
|
|
37214
|
+
const _temp = _catch(function () {
|
|
37490
37215
|
return Promise.resolve(Digit.UploadServices.Filestorage("PT", file, Digit.ULBService.getStateId())).then(function (response) {
|
|
37491
37216
|
var _response$data, _response$data$files;
|
|
37492
37217
|
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) {
|
|
@@ -37713,7 +37438,7 @@ const ActionModal$1 = _ref => {
|
|
|
37713
37438
|
if (file.size >= 5242880) {
|
|
37714
37439
|
setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
|
|
37715
37440
|
} else {
|
|
37716
|
-
const _temp = _catch
|
|
37441
|
+
const _temp = _catch(function () {
|
|
37717
37442
|
return Promise.resolve(Digit.UploadServices.Filestorage("PT", file, Digit.ULBService.getStateId())).then(function (response) {
|
|
37718
37443
|
var _response$data, _response$data$files;
|
|
37719
37444
|
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) {
|
|
@@ -37883,7 +37608,7 @@ const ActionModal$2 = _ref => {
|
|
|
37883
37608
|
if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
|
|
37884
37609
|
setError(t("NOT_SUPPORTED_FILE_TYPE"));
|
|
37885
37610
|
} else {
|
|
37886
|
-
const _temp = _catch
|
|
37611
|
+
const _temp = _catch(function () {
|
|
37887
37612
|
return Promise.resolve(Digit.UploadServices.Filestorage("OBPS", file, Digit.ULBService.getStateId() || (tenantId === null || tenantId === void 0 ? void 0 : tenantId.split(".")[0]))).then(function (response) {
|
|
37888
37613
|
var _response$data, _response$data$files;
|
|
37889
37614
|
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) {
|
|
@@ -38166,7 +37891,7 @@ const ActionModal$3 = _ref => {
|
|
|
38166
37891
|
if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
|
|
38167
37892
|
setError(t("NOT_SUPPORTED_FILE_TYPE"));
|
|
38168
37893
|
} else {
|
|
38169
|
-
const _temp = _catch
|
|
37894
|
+
const _temp = _catch(function () {
|
|
38170
37895
|
return Promise.resolve(Digit.UploadServices.Filestorage("OBPS", file, Digit.ULBService.getStateId() || (tenantId === null || tenantId === void 0 ? void 0 : tenantId.split(".")[0]))).then(function (response) {
|
|
38171
37896
|
var _response$data, _response$data$files;
|
|
38172
37897
|
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) {
|
|
@@ -38424,7 +38149,7 @@ const ActionModal$4 = _ref => {
|
|
|
38424
38149
|
if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
|
|
38425
38150
|
setError(t("NOT_SUPPORTED_FILE_TYPE"));
|
|
38426
38151
|
} else {
|
|
38427
|
-
const _temp = _catch
|
|
38152
|
+
const _temp = _catch(function () {
|
|
38428
38153
|
return Promise.resolve(Digit.UploadServices.Filestorage("NOC", file, Digit.ULBService.getStateId() || (tenantId === null || tenantId === void 0 ? void 0 : tenantId.split(".")[0]))).then(function (response) {
|
|
38429
38154
|
var _response$data, _response$data$files;
|
|
38430
38155
|
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) {
|
|
@@ -38651,7 +38376,7 @@ const ActionModal$5 = _ref => {
|
|
|
38651
38376
|
if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
|
|
38652
38377
|
setError(t("NOT_SUPPORTED_FILE_TYPE"));
|
|
38653
38378
|
} else {
|
|
38654
|
-
const _temp = _catch
|
|
38379
|
+
const _temp = _catch(function () {
|
|
38655
38380
|
return Promise.resolve(Digit.UploadServices.Filestorage("WS", file, Digit.ULBService.getCurrentTenantId())).then(function (response) {
|
|
38656
38381
|
var _response$data, _response$data$files;
|
|
38657
38382
|
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) {
|
|
@@ -38961,7 +38686,7 @@ const ActionModal$6 = _ref => {
|
|
|
38961
38686
|
if (file.size >= 5242880) {
|
|
38962
38687
|
setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
|
|
38963
38688
|
} else {
|
|
38964
|
-
const _temp = _catch
|
|
38689
|
+
const _temp = _catch(function () {
|
|
38965
38690
|
return Promise.resolve(Digit.UploadServices.Filestorage("PTR", file, Digit.ULBService.getStateId())).then(function (response) {
|
|
38966
38691
|
var _response$data, _response$data$files;
|
|
38967
38692
|
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) {
|
|
@@ -39251,7 +38976,7 @@ const ActionModal$8 = _ref => {
|
|
|
39251
38976
|
if (file.size >= 5242880) {
|
|
39252
38977
|
setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
|
|
39253
38978
|
} else {
|
|
39254
|
-
const _temp = _catch
|
|
38979
|
+
const _temp = _catch(function () {
|
|
39255
38980
|
return Promise.resolve(Digit.UploadServices.Filestorage("CHB", file, tenantId)).then(function (response) {
|
|
39256
38981
|
var _response$data, _response$data$files;
|
|
39257
38982
|
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) {
|
|
@@ -39417,7 +39142,7 @@ const ActionModal$9 = _ref => {
|
|
|
39417
39142
|
if (file.size >= 5242880) {
|
|
39418
39143
|
setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
|
|
39419
39144
|
} else {
|
|
39420
|
-
const _temp = _catch
|
|
39145
|
+
const _temp = _catch(function () {
|
|
39421
39146
|
return Promise.resolve(Digit.UploadServices.Filestorage("PTR", file, Digit.ULBService.getStateId())).then(function (response) {
|
|
39422
39147
|
var _response$data, _response$data$files;
|
|
39423
39148
|
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) {
|
|
@@ -39589,8 +39314,8 @@ const ActionModal$a = _ref => {
|
|
|
39589
39314
|
if (file.size >= 5242880) {
|
|
39590
39315
|
setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
|
|
39591
39316
|
} else {
|
|
39592
|
-
const _temp = _finallyRethrows
|
|
39593
|
-
return _catch
|
|
39317
|
+
const _temp = _finallyRethrows(function () {
|
|
39318
|
+
return _catch(function () {
|
|
39594
39319
|
return Promise.resolve(Digit.UploadServices.Filestorage("StreetVending", file, tenantId)).then(function (response) {
|
|
39595
39320
|
var _response$data, _response$data$files;
|
|
39596
39321
|
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) {
|
|
@@ -39876,7 +39601,7 @@ const ActionModal$b = _ref => {
|
|
|
39876
39601
|
if (file.size >= 5242880) {
|
|
39877
39602
|
setError(t("CS_MAXIMUM_UPLOAD_SIZE_EXCEEDED"));
|
|
39878
39603
|
} else {
|
|
39879
|
-
const _temp = _catch
|
|
39604
|
+
const _temp = _catch(function () {
|
|
39880
39605
|
return Promise.resolve(Digit.UploadServices.Filestorage("WT", file, tenantId)).then(function (response) {
|
|
39881
39606
|
var _response$data, _response$data$files;
|
|
39882
39607
|
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) {
|
|
@@ -40564,7 +40289,7 @@ function SelectDocument$4(_ref) {
|
|
|
40564
40289
|
if (file !== null && file !== void 0 && file.type && !allowedFileTypesRegex.test(file === null || file === void 0 ? void 0 : file.type)) {
|
|
40565
40290
|
setError(t("NOT_SUPPORTED_FILE_TYPE"));
|
|
40566
40291
|
} else {
|
|
40567
|
-
const _temp = _catch
|
|
40292
|
+
const _temp = _catch(function () {
|
|
40568
40293
|
setUploadedFile(null);
|
|
40569
40294
|
return Promise.resolve(Digit.UploadServices.Filestorage("PT", file, Digit.ULBService.getStateId())).then(function (response) {
|
|
40570
40295
|
var _response$data, _response$data$files;
|
|
@@ -40954,7 +40679,7 @@ function PropertyDocuments(_ref) {
|
|
|
40954
40679
|
};
|
|
40955
40680
|
const forceDownload = function (url, fileName) {
|
|
40956
40681
|
try {
|
|
40957
|
-
return Promise.resolve(_catch
|
|
40682
|
+
return Promise.resolve(_catch(function () {
|
|
40958
40683
|
return Promise.resolve(fetch(url)).then(function (response) {
|
|
40959
40684
|
if (!response.ok) {
|
|
40960
40685
|
throw new Error("HTTP error! status: " + response.status);
|
|
@@ -41217,7 +40942,7 @@ function PropertyDocuments(_ref) {
|
|
|
41217
40942
|
}));
|
|
41218
40943
|
}
|
|
41219
40944
|
}
|
|
41220
|
-
}), "Check Verified"));
|
|
40945
|
+
}), t("Check Verified")));
|
|
41221
40946
|
})())
|
|
41222
40947
|
})));
|
|
41223
40948
|
};
|
|
@@ -44164,7 +43889,7 @@ const ApplicationDetails = props => {
|
|
|
44164
43889
|
const nocPrmomises = (_nocData = nocData) === null || _nocData === void 0 ? void 0 : _nocData.map(noc => {
|
|
44165
43890
|
return nocMutation === null || nocMutation === void 0 ? void 0 : nocMutation.mutateAsync(noc);
|
|
44166
43891
|
});
|
|
44167
|
-
const _temp = _catch
|
|
43892
|
+
const _temp = _catch(function () {
|
|
44168
43893
|
setIsEnableLoader(true);
|
|
44169
43894
|
return Promise.resolve(Promise.all(nocPrmomises)).then(function (values) {
|
|
44170
43895
|
values && values.map(ob => {
|