@mseva/upyog-ui-module-chb 1.0.79 → 1.0.80

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.
@@ -541,10 +541,6 @@ function createCommonjsModule(fn, module) {
541
541
  return module = { exports: {} }, fn(module, module.exports), module.exports;
542
542
  }
543
543
 
544
- function getCjsExportFromNamespace (n) {
545
- return n && n['default'] || n;
546
- }
547
-
548
544
  var jquery = createCommonjsModule(function (module) {
549
545
  (function (global, factory) {
550
546
 
@@ -14390,8 +14386,6 @@ var accessibility = createCommonjsModule(function (module, exports) {
14390
14386
  });
14391
14387
  unwrapExports(accessibility);
14392
14388
 
14393
- var _shallowEqual = getCjsExportFromNamespace(index_esm);
14394
-
14395
14389
  var Calendar_1 = createCommonjsModule(function (module, exports) {
14396
14390
 
14397
14391
  function _typeof(obj) {
@@ -15046,7 +15040,7 @@ var Calendar_1 = createCommonjsModule(function (module, exports) {
15046
15040
  monthNames: this.getMonthNames()
15047
15041
  });
15048
15042
  }
15049
- if (!(0, _shallowEqual.shallowEqualObjects)(prevProps.scroll, this.props.scroll)) {
15043
+ if (!(0, index_esm.shallowEqualObjects)(prevProps.scroll, this.props.scroll)) {
15050
15044
  this.setState({
15051
15045
  scrollArea: this.calcScrollArea(this.props)
15052
15046
  });
@@ -43600,8 +43594,9 @@ const ModalConfig = ({
43600
43594
  assigneeLabel,
43601
43595
  businessService
43602
43596
  }) => {
43597
+ console.log("action=====", action);
43603
43598
  let checkCondtions = true;
43604
- if ((action === null || action === void 0 ? void 0 : action.action) == "SENDBACKTOCITIZEN" || (action === null || action === void 0 ? void 0 : action.action) == "APPROVE" || (action === null || action === void 0 ? void 0 : action.action) == "REJECT" || (action === null || action === void 0 ? void 0 : action.action) == "SENDBACK") checkCondtions = false;
43599
+ if ((action === null || action === void 0 ? void 0 : action.action) == "SENDBACKTOCITIZEN" || (action === null || action === void 0 ? void 0 : action.action) == "APPROVE" || (action === null || action === void 0 ? void 0 : action.action) == "NOT_VERIFIED" || (action === null || action === void 0 ? void 0 : action.action) == "SENDBACK" || (action === null || action === void 0 ? void 0 : action.action) == "VERIFIED") checkCondtions = false;
43605
43600
  if (action.isTerminateState) checkCondtions = false;
43606
43601
  console.log("action=====", action.action);
43607
43602
  return {
@@ -44240,7 +44235,7 @@ const CHBApplicationDetails$1 = () => {
44240
44235
  comment: filtData === null || filtData === void 0 ? void 0 : filtData.comment,
44241
44236
  documents: filtData === null || filtData === void 0 ? void 0 : filtData.wfDocuments
44242
44237
  };
44243
- if (!(filtData !== null && filtData !== void 0 && filtData.assignee) && filtData.action !== "SENDBACKTOCITIZEN" && filtData.action !== "APPROVE" && filtData.action !== "REJECT" && filtData.action !== "SENDBACK") {
44238
+ if (!(filtData !== null && filtData !== void 0 && filtData.assignee) && filtData.action !== "SENDBACKTOCITIZEN" && filtData.action !== "APPROVE" && filtData.action !== "REJECT" && filtData.action !== "SENDBACK" && filtData.action !== "NOT_VERIFIED" && filtData.action !== "VERIFIED") {
44244
44239
  setErrorOne("Assignee is Mandatory");
44245
44240
  setShowErrorToastt(true);
44246
44241
  return;
@@ -45857,6 +45852,12 @@ const CHBCitizenDetailsNew = ({
45857
45852
  applicantEmailId: data === null || data === void 0 ? void 0 : data.emailId,
45858
45853
  type: user === null || user === void 0 ? void 0 : (_user$info4 = user.info) === null || _user$info4 === void 0 ? void 0 : _user$info4.type
45859
45854
  };
45855
+ const owners = [{
45856
+ name: data === null || data === void 0 ? void 0 : data.name,
45857
+ mobileNumber: data === null || data === void 0 ? void 0 : data.mobileNumber,
45858
+ emailId: data === null || data === void 0 ? void 0 : data.emailId,
45859
+ type: "CITIZEN"
45860
+ }];
45860
45861
  const address = {
45861
45862
  addressLine1: data === null || data === void 0 ? void 0 : data.address
45862
45863
  };
@@ -45864,7 +45865,8 @@ const CHBCitizenDetailsNew = ({
45864
45865
  hallsBookingApplication: {
45865
45866
  ...baseApplication,
45866
45867
  applicantDetail,
45867
- address
45868
+ address,
45869
+ owners
45868
45870
  }
45869
45871
  };
45870
45872
  console.log("final payload", payload);