@mseva/upyog-ui-module-chb 1.1.31 → 1.1.32

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.
@@ -542,6 +542,10 @@ function createCommonjsModule(fn, module) {
542
542
  return module = { exports: {} }, fn(module, module.exports), module.exports;
543
543
  }
544
544
 
545
+ function getCjsExportFromNamespace (n) {
546
+ return n && n['default'] || n;
547
+ }
548
+
545
549
  var jquery = createCommonjsModule(function (module) {
546
550
  (function (global, factory) {
547
551
 
@@ -47084,6 +47088,8 @@ var reactLifecyclesCompat_es = {
47084
47088
  polyfill: polyfill
47085
47089
  };
47086
47090
 
47091
+ var _reactLifecyclesCompat = getCjsExportFromNamespace(reactLifecyclesCompat_es);
47092
+
47087
47093
  var Modal_1 = createCommonjsModule(function (module, exports) {
47088
47094
 
47089
47095
  Object.defineProperty(exports, "__esModule", {
@@ -47372,7 +47378,7 @@ var Modal_1 = createCommonjsModule(function (module, exports) {
47372
47378
  padding: "20px"
47373
47379
  }
47374
47380
  };
47375
- (0, reactLifecyclesCompat_es.polyfill)(Modal);
47381
+ (0, _reactLifecyclesCompat.polyfill)(Modal);
47376
47382
  if (process.env.NODE_ENV !== "production") {
47377
47383
  Modal.setCreateHTMLElement = function (fn) {
47378
47384
  return createHTMLElement = fn;
@@ -47410,7 +47416,6 @@ const CitizenConsent = ({
47410
47416
  } = useTranslation();
47411
47417
  const user = Digit.UserService.getUser();
47412
47418
  const ownername = user === null || user === void 0 ? void 0 : (_user$info = user.info) === null || _user$info === void 0 ? void 0 : _user$info.name;
47413
- const ownermobileNumber = user === null || user === void 0 ? void 0 : user.info.mobileNumber;
47414
47419
  const {
47415
47420
  id
47416
47421
  } = useParams();
@@ -47433,60 +47438,94 @@ const CitizenConsent = ({
47433
47438
  };
47434
47439
  const formattedUlbName = formatUlbName(getModalData === null || getModalData === void 0 ? void 0 : getModalData.ulbName);
47435
47440
  const selfdeclarationform = `
47436
- <div style="font-family:'Times New Roman', Times, serif; color:#000; font-size:16px; line-height:1.18; margin-top:-100px; padding:0;">
47437
- <div style="margin-top:-52px;">
47438
- <p style="margin-bottom:-32px;"><strong>To,</strong></p>
47439
- <p style="margin-bottom:-32px;"><strong>The President & Executive Officer</strong></p>
47440
- <p style="margin-bottom:-32px;"><strong>Municipal Council,${formattedUlbName}.</strong></p>
47441
- </div>
47441
+ <div style="font-family:'Times New Roman', Times, serif; color:#000; font-size:16px; line-height:1.4; padding:20px;">
47442
+
47443
+ <!-- Header -->
47444
+ <h1 style="text-align:center; font-weight:bold; font-size:20px; margin-bottom:30px; text-decoration:underline;">
47445
+ SELF-DECLARATION FOR COMMUNITY HALL BOOKING
47446
+ </h1>
47447
+
47448
+ <!-- Opening Statement -->
47449
+ <div style="margin-bottom:20px; line-height:1.4;">
47450
+ <p style="margin:0;">
47451
+ I, <span style="border-bottom:1px solid #000; display:inline-block; min-width:200px; text-align:center; font-weight:bold;">${(getModalData === null || getModalData === void 0 ? void 0 : getModalData.name) || ownername || "____________________"}</span>
47452
+ s/d of <span style="border-bottom:1px solid #000; display:inline-block; min-width:200px; text-align:center; font-weight:bold;">${(getModalData === null || getModalData === void 0 ? void 0 : getModalData.sonOf) || "____________________"}</span>, resident of
47453
+ </p>
47454
+ <p style="margin:0;">
47455
+ <span style="border-bottom:1px solid #000; display:inline-block; min-width:300px; text-align:center; font-weight:bold;">${(getModalData === null || getModalData === void 0 ? void 0 : getModalData.residentOf) || (getModalData === null || getModalData === void 0 ? void 0 : getModalData.address) || "____________________"}</span>, do hereby self-declare that:
47456
+ </p>
47457
+ </div>
47442
47458
 
47443
- <p style="margin-top:-20px;"><strong>Sub:- Application for allotment of Community Centre.</strong></p>
47444
-
47445
- <p style="margin-top:-52px;margin-bottom:-32px; text-align:justify;">
47446
- I need the <strong>${(getModalData === null || getModalData === void 0 ? void 0 : getModalData.communityHallName) || "Community Centre"}</strong> community centre for the purpose of <strong>${(getModalData === null || getModalData === void 0 ? void 0 : (_getModalData$purpose = getModalData.purpose) === null || _getModalData$purpose === void 0 ? void 0 : _getModalData$purpose.name) || "RELIGIOUS"}</strong> for <strong>${(getModalData === null || getModalData === void 0 ? void 0 : getModalData.days) || "1"}</strong> days, from <strong>${(getModalData === null || getModalData === void 0 ? void 0 : getModalData.bookingDate) || ""}</strong> to <strong>${(getModalData === null || getModalData === void 0 ? void 0 : getModalData.bookingEndDate) || ""}</strong>.
47447
- </p>
47448
-
47449
- <p style="margin-top:-52px;margin-bottom:-32px; text-align:justify;">
47450
- It is requested that the community centre may please allotted to me for the purpose detailed above for the period requested for, Will pay Rs. <strong>${(getModalData === null || getModalData === void 0 ? void 0 : getModalData.security) || "0"}</strong> as security and Rs. <strong>${(getModalData === null || getModalData === void 0 ? void 0 : getModalData.rent) || "0"}</strong> as rent.
47451
- </p>
47452
-
47453
- <p style="margin-top:-52px;margin-bottom:-32px; text-align:justify;">
47454
- I will not cause any damage to the M.C. property. In case of damage M.C. may deduct from my security the entire cost of restoration of damage, suitable amount as penalty, water charges and electricity charges if any may also be recovered from my security.
47455
- </p>
47456
-
47457
- <p style="margin-top:-52px;margin-bottom:-32px; text-align:justify;">
47458
- <strong>Note:- I will arrange the Generator temporary matter from P.S.E.B. separate for decoration lights.</strong>
47459
- </p>
47460
-
47461
- <!-- Signature / details section -->
47462
- <div style="margin-top:6px;">
47463
- <!-- Centered line above table -->
47464
- <p style="text-align:center; margin:0 0 8px 0;justify-content:flex-end; margin-right: 192px; display:flex; font-family:'Times New Roman', Times, serif;">Yours faithfully,</p>
47465
-
47466
- <!-- Right-aligned table (no borders) -->
47467
- <div style="display:flex; justify-content:flex-end; margin-top:-72px;">
47468
- <table style="border-collapse:collapse; font-size:14px; width:340px; border:0; margin-top:4px;">
47469
- <tr>
47470
- <td style="padding:6px 8px; width:120px; font-weight:700; text-align:left; border:0;">Sig.</td>
47471
- <td style="padding:6px 8px; text-align:left; border:0;">${(getModalData === null || getModalData === void 0 ? void 0 : getModalData.name) || ownername}</td>
47472
- </tr>
47473
- <tr>
47474
- <td style="padding:6px 8px; font-weight:700; text-align:left; border:0;">Name.</td>
47475
- <td style="padding:6px 8px; text-align:left; border:0;">${(getModalData === null || getModalData === void 0 ? void 0 : getModalData.name) || ownername}</td>
47476
- </tr>
47477
- <tr>
47478
- <td style="padding:6px 8px; font-weight:700; text-align:left; border:0;">Ph No.</td>
47479
- <td style="padding:6px 8px; text-align:left; border:0;">${(getModalData === null || getModalData === void 0 ? void 0 : getModalData.mobileNumber) || ownermobileNumber}</td>
47480
- </tr>
47481
- <tr>
47482
- <td style="padding:6px 8px; font-weight:700; text-align:left; border:0;">Address.</td>
47483
- <td style="padding:6px 8px; text-align:left; border:0;">${(getModalData === null || getModalData === void 0 ? void 0 : getModalData.address) || ""}</td>
47484
- </tr>
47485
- </table>
47459
+ <!-- Declaration Points -->
47460
+ <ol style="margin-left:30px; line-height:1.4; list-style-type:none; counter-reset:item;">
47461
+ <li style="margin-bottom:8px; text-align:justify; counter-increment:item; display:flex;">
47462
+ <span style="min-width:30px;">${1}.</span>
47463
+ <span>I want to book the community hall – <span style="border-bottom:1px solid #000; display:inline-block; min-width:250px; text-align:center; font-weight:bold;">${(getModalData === null || getModalData === void 0 ? void 0 : getModalData.communityHallName) || "____________________"}</span> for the purpose of <span style="border-bottom:1px solid #000; display:inline-block; min-width:250px; text-align:center; font-weight:bold;">${(getModalData === null || getModalData === void 0 ? void 0 : (_getModalData$purpose = getModalData.purpose) === null || _getModalData$purpose === void 0 ? void 0 : _getModalData$purpose.name) || "____________________"}</span>.</span>
47464
+ </li>
47465
+
47466
+ <li style="margin-bottom:8px; text-align:justify; counter-increment:item; display:flex;">
47467
+ <span style="min-width:30px;">${2}.</span>
47468
+ <span>I will obey all government directions issued from time to time regarding <span style="text-decoration:underline;">Coronavirus</span> or any other epidemic.</span>
47469
+ </li>
47470
+
47471
+ <li style="margin-bottom:8px; text-align:justify; counter-increment:item; display:flex;">
47472
+ <span style="min-width:30px;">${3}.</span>
47473
+ <span>The Municipal Corporation / Council will have the right to deduct charges for cleanliness, electricity, or any maintenance of the community hall.</span>
47474
+ </li>
47475
+
47476
+ <li style="margin-bottom:8px; text-align:justify; counter-increment:item; display:flex;">
47477
+ <span style="min-width:30px;">${4}.</span>
47478
+ <span>I will not serve alcohol without valid government permission from the concerned department. If I do serve alcohol without permission, I will be liable for punishment as per law.</span>
47479
+ </li>
47480
+
47481
+ <li style="margin-bottom:8px; text-align:justify; counter-increment:item; display:flex;">
47482
+ <span style="min-width:30px;">${5}.</span>
47483
+ <span>I will not use Single Use Plastic or <span style="text-decoration:underline;">thermocol</span> as per Solid Waste Management (SWM) guidelines.</span>
47484
+ </li>
47485
+
47486
+ <li style="margin-bottom:8px; text-align:justify; counter-increment:item; display:flex;">
47487
+ <span style="min-width:30px;">${6}.</span>
47488
+ <span>I will ensure proper cleanliness of the community hall.</span>
47489
+ </li>
47490
+
47491
+ <li style="margin-bottom:8px; text-align:justify; counter-increment:item; display:flex;">
47492
+ <span style="min-width:30px;">${7}.</span>
47493
+ <span>I will be responsible for any fight or damage to government property and will be liable for any penalty.</span>
47494
+ </li>
47495
+
47496
+ <li style="margin-bottom:8px; text-align:justify; counter-increment:item; display:flex;">
47497
+ <span style="min-width:30px;">${8}.</span>
47498
+ <span>The Municipal Corporation / Council reserves the right to cancel my booking for any emergency government program.</span>
47499
+ </li>
47500
+
47501
+ <li style="margin-bottom:8px; text-align:justify; counter-increment:item; display:flex;">
47502
+ <span style="min-width:30px;">${9}.</span>
47503
+ <span>I will play DJ music at low volume only up to 10 PM in the community hall, as per government guidelines.</span>
47504
+ </li>
47505
+
47506
+ <li style="margin-bottom:8px; text-align:justify; counter-increment:item; display:flex;">
47507
+ <span style="min-width:30px;">${10}.</span>
47508
+ <span>I will be responsible if any illegal electricity connection is used in the community hall.</span>
47509
+ </li>
47510
+
47511
+ <li style="margin-bottom:8px; text-align:justify; counter-increment:item; display:flex;">
47512
+ <span style="min-width:30px;">${11}.</span>
47513
+ <span>I have checked the current status of the community hall and I am ready to proceed with the booking.</span>
47514
+ </li>
47515
+ </ol>
47516
+
47517
+ <!-- Signature Section -->
47518
+ <div style="margin-top:50px; display:flex; justify-content:flex-end;">
47519
+ <div style="min-width:300px;">
47520
+ <p style="margin:10px 0; text-align:right; font-weight:bold;">Applicant Name</p>
47521
+ <p style="margin:10px 0; text-align:right; font-weight:bold;">${(getModalData === null || getModalData === void 0 ? void 0 : getModalData.name) || ownername || "____________________"}</p>
47522
+
47523
+ <p style="margin:20px 0 10px 0; text-align:right; font-weight:bold;">Address</p>
47524
+ <p style="margin:10px 0; text-align:right; font-weight:bold;">${(getModalData === null || getModalData === void 0 ? void 0 : getModalData.address) || "____________________"}</p>
47525
+ </div>
47486
47526
  </div>
47487
47527
  </div>
47488
- </div>
47489
- `;
47528
+ `;
47490
47529
  const closeModal = () => {
47491
47530
  setShowTermsPopupOwner(false);
47492
47531
  };
@@ -47584,7 +47623,6 @@ const CitizenConsent = ({
47584
47623
  }
47585
47624
  }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
47586
47625
  style: {
47587
- whiteSpace: "pre-wrap",
47588
47626
  wordWrap: "break-word",
47589
47627
  textAlign: "justify",
47590
47628
  fontFamily: "Roboto, serif"