@undp/carbon-library 1.0.293-CARBON-Sprint-54.6 → 1.0.293-CARBON-428.1

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/cjs/index.js CHANGED
@@ -964,7 +964,7 @@ var CompanyManagementComponent = function (props) {
964
964
  {
965
965
  key: searchByTermOrganisation,
966
966
  operation: "like",
967
- value: networksearchOrganisations + "%",
967
+ value: "%" + networksearchOrganisations + "%",
968
968
  },
969
969
  ];
970
970
  }
@@ -981,7 +981,7 @@ var CompanyManagementComponent = function (props) {
981
981
  {
982
982
  key: searchByTermOrganisation,
983
983
  operation: "like",
984
- value: networksearchOrganisations + "%",
984
+ value: "%" + networksearchOrganisations + "%",
985
985
  },
986
986
  {
987
987
  key: "companyRole",
@@ -6229,7 +6229,7 @@ var AddNewCompanyComponent = function (props) {
6229
6229
  });
6230
6230
  }); };
6231
6231
  var getRegionList = function () { return __awaiter(void 0, void 0, void 0, function () {
6232
- var response, regionNames, error_1;
6232
+ var response, regionNames, uniqueRegionNames, error_1;
6233
6233
  return __generator(this, function (_a) {
6234
6234
  switch (_a.label) {
6235
6235
  case 0:
@@ -6252,7 +6252,8 @@ var AddNewCompanyComponent = function (props) {
6252
6252
  response = _a.sent();
6253
6253
  if (response.data) {
6254
6254
  regionNames = response.data.map(function (item) { return item.regionName; });
6255
- setRegionsList(__spreadArray([t("national")], regionNames, true));
6255
+ uniqueRegionNames = Array.from(new Set(regionNames));
6256
+ setRegionsList(__spreadArray([t("national")], uniqueRegionNames, true));
6256
6257
  }
6257
6258
  return [3 /*break*/, 5];
6258
6259
  case 3:
@@ -6713,7 +6714,7 @@ var AddNewCompanyComponent = function (props) {
6713
6714
  React.createElement(antd.Radio.Button, { className: companyRoleClassName, value: companyRole },
6714
6715
  companyRole === exports.CompanyRole.CERTIFIER ? (React.createElement(icons.SafetyOutlined, { className: "role-icons" })) : companyRole ===
6715
6716
  exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(icons.ExperimentOutlined, { className: "role-icons" })) : companyRole === exports.CompanyRole.MINISTRY ? (React.createElement(icons.AuditOutlined, { className: "role-icons" })) : (React.createElement(icons.BankOutlined, { className: "role-icons" })),
6716
- (companyRole === exports.CompanyRole.PROGRAMME_DEVELOPER) ? "Developer" : companyRole))) : (React.createElement(React.Fragment, null,
6717
+ companyRole))) : (React.createElement(React.Fragment, null,
6717
6718
  React.createElement("div", { className: "certifier-radio-container", style: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
6718
6719
  exports.CompanyRole.MINISTRY
6719
6720
  ? {
@@ -6979,7 +6980,7 @@ styleInject(css_248z$u);
6979
6980
  var CompanyRoleIcon = function (props) {
6980
6981
  var role = props.role;
6981
6982
  return (React.createElement("div", { style: { display: 'flex', alignItems: 'center' } },
6982
- role === 'Government' ? (React.createElement(RoleIcon, { icon: React.createElement(icons.BankOutlined, null), bg: GovBGColor, color: GovColor })) : role === 'Certifier' ? (React.createElement(RoleIcon, { icon: React.createElement(icons.SafetyOutlined, null), bg: CertBGColor, color: CertColor })) : role === 'ProgrammeDeveloper' ? (React.createElement(RoleIcon, { icon: React.createElement(icons.ExperimentOutlined, null), bg: DevBGColor, color: DevColor })) : React.createElement(RoleIcon, { icon: React.createElement(icons.AuditOutlined, null), bg: MinBGColor, color: MinColor }),
6983
+ role === 'Government' ? (React.createElement(RoleIcon, { icon: React.createElement(icons.BankOutlined, null), bg: GovBGColor, color: GovColor })) : role === 'Certifier' ? (React.createElement(RoleIcon, { icon: React.createElement(icons.SafetyOutlined, null), bg: CertBGColor, color: CertColor })) : (React.createElement(RoleIcon, { icon: React.createElement(icons.ExperimentOutlined, null), bg: DevBGColor, color: DevColor })),
6983
6984
  role === 'ProgrammeDeveloper' ? React.createElement("div", null, 'Developer') : React.createElement("div", null, role)));
6984
6985
  };
6985
6986
 
@@ -7653,7 +7654,7 @@ var ProgrammeManagementComponent = function (props) {
7653
7654
  filter.push({
7654
7655
  key: "title",
7655
7656
  operation: "like",
7656
- value: "".concat(search, "%"),
7657
+ value: "%".concat(search, "%"),
7657
7658
  });
7658
7659
  }
7659
7660
  if (ministryLevelFilter) {
@@ -13750,7 +13751,7 @@ var ProgrammeCreationComponent = function (props) {
13750
13751
  });
13751
13752
  }); };
13752
13753
  var getRegionList = function () { return __awaiter(void 0, void 0, void 0, function () {
13753
- var response, regionNames, error_2;
13754
+ var response, regionNames, uniqueRegionNames, error_2;
13754
13755
  return __generator(this, function (_a) {
13755
13756
  switch (_a.label) {
13756
13757
  case 0:
@@ -13773,7 +13774,8 @@ var ProgrammeCreationComponent = function (props) {
13773
13774
  response = _a.sent();
13774
13775
  if (response.data) {
13775
13776
  regionNames = response.data.map(function (item) { return item.regionName; });
13776
- setRegionsList(__spreadArray(["National"], regionNames, true));
13777
+ uniqueRegionNames = Array.from(new Set(regionNames));
13778
+ setRegionsList(__spreadArray(["National"], uniqueRegionNames, true));
13777
13779
  }
13778
13780
  return [3 /*break*/, 5];
13779
13781
  case 3:
@@ -15474,7 +15476,7 @@ var UserManagementComponent = function (props) {
15474
15476
  {
15475
15477
  key: searchByTermUser,
15476
15478
  operation: "like",
15477
- value: networksearchUsers + "%",
15479
+ value: "%" + networksearchUsers + "%",
15478
15480
  },
15479
15481
  ];
15480
15482
  }
@@ -15492,7 +15494,7 @@ var UserManagementComponent = function (props) {
15492
15494
  {
15493
15495
  key: searchByTermUser,
15494
15496
  operation: "like",
15495
- value: networksearchUsers + "%",
15497
+ value: "%" + networksearchUsers + "%",
15496
15498
  },
15497
15499
  {
15498
15500
  key: "role",
@@ -15515,7 +15517,7 @@ var UserManagementComponent = function (props) {
15515
15517
  {
15516
15518
  key: searchByTermUser,
15517
15519
  operation: "like",
15518
- value: networksearchUsers + "%",
15520
+ value: "%" + networksearchUsers + "%",
15519
15521
  },
15520
15522
  {
15521
15523
  key: "role",
@@ -15533,7 +15535,7 @@ var UserManagementComponent = function (props) {
15533
15535
  {
15534
15536
  key: searchByTermUser,
15535
15537
  operation: "like",
15536
- value: networksearchUsers + "%",
15538
+ value: "%" + networksearchUsers + "%",
15537
15539
  },
15538
15540
  {
15539
15541
  key: "companyRole",
@@ -16039,7 +16041,7 @@ var InvestmentCreationComponent = function (props) {
16039
16041
  .startOf("day")
16040
16042
  .unix();
16041
16043
  }
16042
- payload.instrument = [payload.instrument];
16044
+ payload.instrument = Array.isArray(payload.instrument) ? payload.instrument : [payload.instrument];
16043
16045
  payload.fromCompanyIds = data.companyId.map(function (e) { return Number(e); });
16044
16046
  payload.percentage = val.percentage;
16045
16047
  payload.toCompanyId = Number(payload.toCompanyId);
@@ -16767,7 +16769,7 @@ var InvestmentManagementComponent = function (props) {
16767
16769
  {
16768
16770
  key: "programmeTitle",
16769
16771
  operation: "like",
16770
- value: "".concat(search, "%"),
16772
+ value: "%".concat(search, "%"),
16771
16773
  },
16772
16774
  ];
16773
16775
  if (!isNaN(Number(search))) {
@@ -17029,7 +17031,7 @@ var InvestmentManagementComponent = function (props) {
17029
17031
  style: "color-primary",
17030
17032
  click: function () {
17031
17033
  showModalOnAction(record, {
17032
- title: t("creditTransfer:acceptFinancingTitle"),
17034
+ title: t("creditTransfer:acceptTitle"),
17033
17035
  icon: React.createElement(Icon__namespace.ClipboardCheck, null),
17034
17036
  actionBtnText: t("creditTransfer:proceed"),
17035
17037
  okAction: function (requestId, comment) {
@@ -17713,7 +17715,7 @@ var SupportManagementComponent = function (props) {
17713
17715
  {
17714
17716
  key: "programmeTitle",
17715
17717
  operation: "like",
17716
- value: "".concat(search, "%"),
17718
+ value: "%".concat(search, "%"),
17717
17719
  },
17718
17720
  ];
17719
17721
  if (!isNaN(Number(search))) {
@@ -18298,14 +18300,14 @@ var NdcActionManagementComponent = function (props) {
18298
18300
  {
18299
18301
  key: "programmeName",
18300
18302
  operation: "like",
18301
- value: "".concat(search, "%"),
18303
+ value: "%".concat(search, "%"),
18302
18304
  },
18303
18305
  ];
18304
18306
  if (!isNaN(Number(search))) {
18305
18307
  interFilterOr.push({
18306
18308
  key: "id",
18307
18309
  operation: "like",
18308
- value: "".concat(search),
18310
+ value: "%".concat(search, "%"),
18309
18311
  });
18310
18312
  }
18311
18313
  filter.push({
@@ -19558,7 +19560,7 @@ var GenderParity = function (props) {
19558
19560
  };
19559
19561
 
19560
19562
  var Assessment = function (props) {
19561
- var onFormSubmit = props.onFormSubmit, assessmentViewData = props.assessmentViewData, viewOnly = props.viewOnly, translator = props.translator;
19563
+ var onFormSubmit = props.onFormSubmit, assessmentViewData = props.assessmentViewData, viewOnly = props.viewOnly, useConnection = props.useConnection, translator = props.translator;
19562
19564
  translator.setDefaultNamespace("coBenifits");
19563
19565
  var t = translator.t;
19564
19566
  var form1 = antd.Form.useForm()[0];
@@ -19655,26 +19657,20 @@ var Assessment = function (props) {
19655
19657
  if (info.changedFields && info.changedFields.length > 0) {
19656
19658
  info.changedFields.map(function (changedField) { return __awaiter(void 0, void 0, void 0, function () {
19657
19659
  var base64Value, values_1;
19658
- var _a;
19659
- return __generator(this, function (_b) {
19660
- switch (_b.label) {
19660
+ return __generator(this, function (_a) {
19661
+ switch (_a.label) {
19661
19662
  case 0:
19662
19663
  if (!(changedField.name[0] === "document")) return [3 /*break*/, 2];
19663
19664
  return [4 /*yield*/, getBase64(changedField.value[0].originFileObj)];
19664
19665
  case 1:
19665
- base64Value = _b.sent();
19666
+ base64Value = _a.sent();
19666
19667
  console.log("FEAsibility document : ", base64Value);
19667
19668
  values_1 = base64Value;
19668
19669
  setCobenefitsAssessmentDetails(function (pre) { return (__assign(__assign({}, pre), { document: values_1 })); });
19669
19670
  return [3 /*break*/, 3];
19670
19671
  case 2:
19671
- if (changedField.value && ((_a = changedField.value) === null || _a === void 0 ? void 0 : _a.length) > 0) {
19672
- changedValues[changedField.name[0]] = changedField.value;
19673
- }
19674
- else {
19675
- changedValues[changedField.name[0]] = undefined;
19676
- }
19677
- _b.label = 3;
19672
+ changedValues[changedField.name[0]] = changedField.value;
19673
+ _a.label = 3;
19678
19674
  case 3: return [2 /*return*/];
19679
19675
  }
19680
19676
  });
@@ -21979,18 +21975,7 @@ var CoBenifitsComponent = function (props) {
21979
21975
  setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { sdgGoals: sdgGoalsDetails })); });
21980
21976
  };
21981
21977
  var onGenderParityFormSubmit = function (genderParityDetails) {
21982
- if (genderParityDetails) {
21983
- var values = Object.values(genderParityDetails).filter(function (val) {
21984
- return (val !== undefined && val.trim().length === 0) || val === undefined;
21985
- });
21986
- var keys = Object.keys(genderParityDetails);
21987
- if (keys.length === values.length) {
21988
- setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { genderPariy: undefined })); });
21989
- }
21990
- else {
21991
- setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { genderPariy: genderParityDetails })); });
21992
- }
21993
- }
21978
+ setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { genderPariy: genderParityDetails })); });
21994
21979
  };
21995
21980
  var onEnvironmentalFormSubmit = function (environmentalsDetails) {
21996
21981
  setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { environmental: environmentalsDetails })); });
@@ -21999,19 +21984,8 @@ var CoBenifitsComponent = function (props) {
21999
21984
  setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { economic: economicDetails })); });
22000
21985
  };
22001
21986
  var onAssessmentFormSubmit = function (coBenefitsAssessmentDetails, isFormValid) {
22002
- if (coBenefitsAssessmentDetails) {
22003
- var values = Object.values(coBenefitsAssessmentDetails).filter(function (val) {
22004
- return (val !== undefined && val.trim().length === 0) || val === undefined;
22005
- });
22006
- var keys = Object.keys(coBenefitsAssessmentDetails);
22007
- if (keys.length === values.length) {
22008
- setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { assessmentDetails: undefined })); });
22009
- }
22010
- else {
22011
- setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { assessmentDetails: coBenefitsAssessmentDetails })); });
22012
- }
22013
- setIsAssessmentFormValid(isFormValid);
22014
- }
21987
+ setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { assessmentDetails: coBenefitsAssessmentDetails })); });
21988
+ setIsAssessmentFormValid(isFormValid);
22015
21989
  };
22016
21990
  var onSafeguardFormSubmit = function (safeguardDetails) {
22017
21991
  setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { safeguardDetails: safeguardDetails })); });
@@ -23246,7 +23220,7 @@ var CreditTransferComponent = function (props) {
23246
23220
  {
23247
23221
  key: "programmeTitle",
23248
23222
  operation: "like",
23249
- value: "".concat(search, "%"),
23223
+ value: "%".concat(search, "%"),
23250
23224
  },
23251
23225
  ];
23252
23226
  if (!isNaN(Number(search))) {
@@ -23504,7 +23478,7 @@ var CreditTransferComponent = function (props) {
23504
23478
  style: "color-primary",
23505
23479
  click: function () {
23506
23480
  showModalOnAction(record, {
23507
- title: t("creditTransfer:acceptCreditTransferTitle"),
23481
+ title: t("creditTransfer:acceptTitle"),
23508
23482
  icon: React.createElement(Icon__namespace.ClipboardCheck, null),
23509
23483
  actionBtnText: t("creditTransfer:proceed"),
23510
23484
  okAction: function (requestId, comment) {
@@ -23564,7 +23538,7 @@ var CreditTransferComponent = function (props) {
23564
23538
  icon: React.createElement(Icon__namespace.XOctagon, null),
23565
23539
  actionBtnText: t("creditTransfer:notrecognise"),
23566
23540
  okAction: function (requestId, comment) {
23567
- return handleRequestOk(requestId, comment, "transferReject", "".concat(t("creditTransfer:internationalTranferReqAccepted")));
23541
+ return handleRequestOk(requestId, comment, "transferReject", "".concat(t("creditTransfer:internationalTransferReqRejected")));
23568
23542
  },
23569
23543
  type: "danger",
23570
23544
  remarkRequired: true,
@@ -23852,7 +23826,7 @@ var CreditTransferComponent = function (props) {
23852
23826
  }, actionBtnText: popupInfo.actionBtnText, onFinish: popupInfo === null || popupInfo === void 0 ? void 0 : popupInfo.okAction, subText: "", openModal: modalVisible, icon: popupInfo.icon, title: popupInfo.title, type: popupInfo.type, remarkRequired: popupInfo.remarkRequired, translator: translator }))));
23853
23827
  };
23854
23828
 
23855
- var css_248z$c = ".mapboxgl-popup-content {\n background-color: #ffffff !important;\n color: rgba(58, 53, 65, 0.8) !important; }\n\n.unit {\n display: flex;\n font-family: \"Inter\";\n font-size: 1.15rem;\n font-weight: 500;\n color: rgba(58, 53, 65, 0.5); }\n\n.card-icons {\n color: #16b1ff; }\n\n.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {\n border-top-color: #ffffff !important; }\n\n.mapboxgl-popup-close-button,\n.mapboxgl-popup-close-button:hover {\n display: none; }\n\n.total-container {\n display: flex;\n flex-direction: column;\n border: 1px solid gray; }\n\n.margin-top-6 {\n margin-top: 7.5rem; }\n\n.margin-top-2 {\n margin-top: 2rem; }\n\n.margin-top-1 {\n margin-top: 1rem; }\n\n.ant-btn.mrvdefault {\n border-radius: 5px 0px 0px 5px !important; }\n\n.ant-btn.mrvdefault-right {\n border-radius: 0px 5px 5px 0px !important; }\n\n.ant-btn.mrvprimary {\n border-radius: 0px 0px 0px 0px !important; }\n\n.cards-title {\n font-family: \"Inter\";\n align-items: flex-start;\n justify-content: flex-start;\n font-style: normal;\n font-weight: 600;\n height: 50px;\n font-size: 1.15rem;\n margin-top: 1rem;\n color: rgba(58, 53, 65, 0.8); }\n\n.dashboard-main-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n border-radius: 5px;\n padding: 0 2rem 0 2rem; }\n .dashboard-main-container .header-and-title {\n display: flex;\n flex-direction: row;\n width: 100%;\n padding: 0 15px 0 15px;\n font-family: \"Inter-Regular\";\n font-size: 1.4rem;\n font-weight: 600; }\n .dashboard-main-container .stastics-cards-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: center; }\n .dashboard-main-container .stastics-cards-container .stastic-card-row {\n width: 100%; }\n .dashboard-main-container .stastics-cards-container .stastic-card-row .stastic-card-col {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center; }\n .dashboard-main-container .filter-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n margin-top: 2rem;\n padding: 0 1.2rem 0 1.2rem; }\n .dashboard-main-container .filter-container .radio-selection .ant-radio-button-wrapper {\n height: 35px !important;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n color: rgba(58, 53, 65, 0.5); }\n .dashboard-main-container .filter-container .radio-selection .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n)::before {\n background-color: transparent !important; }\n .dashboard-main-container .filter-container .radio-selection .overall {\n border-radius: 5px 0 0 5px !important; }\n .dashboard-main-container .filter-container .radio-selection .mine {\n border-radius: 0 5px 5px 0 !important; }\n .dashboard-main-container .center {\n align-items: center;\n justify-content: center; }\n .dashboard-main-container .height-pie-rem {\n height: 26.2rem; }\n .dashboard-main-container .height-pie-rem .apexcharts-legend {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between !important;\n inset: auto 0px 0px 5px !important; }\n .dashboard-main-container .height-pie-rem .apexcharts-legend-series {\n display: flex !important;\n width: 42%; }\n .dashboard-main-container .height-bar-rem {\n height: 29rem; }\n .dashboard-main-container .height-map-rem {\n height: 510px; }\n .dashboard-main-container .stastics-and-charts-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n margin-top: 2rem;\n margin-bottom: 2rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row {\n width: 100%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card {\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n border-radius: 10px;\n padding: 0 1rem 0.7rem 1rem;\n width: 100%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .margin-top-2 {\n width: 100%;\n margin-top: 2rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .title-section {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n width: 100%;\n padding: 1rem 1rem 0 1rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .title-section .title {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 600;\n width: 90%;\n font-size: 1.15rem;\n color: rgba(58, 53, 65, 0.8); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .title-section .info-container {\n display: flex;\n flex-direction: row;\n width: 10%;\n height: 30px;\n align-items: center;\n justify-content: flex-end; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-details {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n height: 150px;\n margin-top: 1rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-details .details {\n display: flex;\n flex-direction: column;\n width: 70%;\n padding: 0 1rem 0 0.8rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-details .details .detail {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 400;\n font-size: 0.875rem;\n line-height: 1.375rem;\n padding-left: 0.125rem;\n color: rgba(58, 53, 65, 0.8);\n margin-bottom: 0.5rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-details .details .value {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 600;\n font-size: 1.6rem;\n line-height: 22px;\n padding-left: 0.125rem;\n padding: 0;\n color: #16b1ff; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-details .icon {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n width: 30%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-details .icon img {\n height: 80px; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n height: 100px;\n width: 100%;\n margin-top: 1rem;\n margin-bottom: 0.5rem;\n padding: 0 0.5rem 0 0.5rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n width: 100%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon {\n display: flex;\n flex-direction: row;\n width: 20%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .icon-container,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .icon-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n width: 2.813rem;\n height: 2.813rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .reject,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .reject {\n background-color: rgba(255, 166, 166, 0.4); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .transfer,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .transfer {\n background-color: rgba(254, 241, 173, 0.5); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .pending,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .pending {\n background-color: rgba(164, 162, 168, 0.5); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .authorized,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .authorized {\n background-color: rgba(185, 226, 244, 0.4); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .details,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .details {\n display: flex;\n flex-direction: column;\n width: 80%;\n height: 3.438rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .details .label-and-value,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .details .label-and-value {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .details .label-and-value .label,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .details .label-and-value .label {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 400;\n font-size: 0.875rem;\n color: rgba(58, 53, 65, 0.5); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .details .label-and-value .value,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .details .label-and-value .value {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 400;\n height: 30px;\n font-size: 1.5rem;\n margin-top: -8px;\n color: rgba(58, 53, 65, 0.8); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .stage-legends {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n margin-top: 1rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .updated-on {\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n justify-content: flex-start;\n padding: 0 1rem 0 0.8rem;\n height: 50px; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .updated-on .updated-moment-container {\n display: flex;\n flex-direction: row;\n font-size: 0.75rem;\n border-radius: 3.125rem;\n padding: 0.05rem 0.8rem 0.05rem 0.8rem;\n color: #16b1ff;\n background-color: rgba(222, 205, 254, 0.4); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-top {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: 0 1rem 0 1rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-top .pie-charts-title {\n display: flex;\n flex-direction: row;\n font-family: \"Inter\";\n align-items: flex-start;\n justify-content: flex-start;\n font-style: normal;\n font-weight: 600;\n height: 50px;\n font-size: 1.15rem;\n margin-top: 1rem;\n color: rgba(58, 53, 65, 0.8); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-top .pie-charts-title .unit {\n display: flex;\n margin: 0 0 0 0.5rem;\n font-family: \"Inter\";\n font-size: 1.15rem;\n font-weight: 500;\n color: rgba(58, 53, 65, 0.5); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-top .info-container {\n display: flex;\n flex-direction: row;\n align-items: center; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-section {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-and-pie-card:hover {\n box-shadow: rgba(0, 5, 18, 0.2) 0px 8px 24px; }\n .dashboard-main-container .stastics-charts-container-total-programmes {\n display: flex;\n flex-direction: row;\n width: 98%;\n margin: 60px 10px 25px 15px; }\n .dashboard-main-container .stastics-charts-container-total-programmes .stastic-charts-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-charts-container-total-programmes .stastic-charts-row .stastic-charts-col {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-charts-container-total-programmes .stastic-charts-row .stastic-charts-col .chart-card {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 400px;\n background: #f6f6f6;\n box-shadow: rgba(106, 106, 106, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-charts-container-total-programmes .stastic-charts-row .stastic-charts-col .chart-card:hover {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n background: #f1f1f1;\n box-shadow: rgba(124, 124, 124, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-charts-container-certified-programmes {\n display: flex;\n flex-direction: row;\n width: 98%;\n margin: 5px 10px 25px 15px; }\n .dashboard-main-container .stastics-charts-container-certified-programmes .stastic-charts-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-charts-container-certified-programmes .stastic-charts-row .stastic-charts-col {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-charts-container-certified-programmes .stastic-charts-row .stastic-charts-col .chart-card {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 400px;\n background: #f6f6f6;\n box-shadow: rgba(106, 106, 106, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-charts-container-certified-programmes .stastic-charts-row .stastic-charts-col .chart-card:hover {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n background: #f1f1f1;\n box-shadow: rgba(124, 124, 124, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-pie-charts-container {\n display: flex;\n flex-direction: row;\n width: 98%;\n margin: 5px 10px 25px 15px; }\n .dashboard-main-container .stastics-pie-charts-container .stastic-charts-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-pie-charts-container .stastic-charts-row .stastic-charts-col {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-pie-charts-container .stastic-charts-row .stastic-charts-col .chart-card {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 400px;\n background: #f6f6f6;\n box-shadow: rgba(106, 106, 106, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-pie-charts-container .stastic-charts-row .stastic-charts-col .chart-card:hover {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n background: #f1f1f1;\n box-shadow: rgba(124, 124, 124, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .maps-container {\n display: flex;\n flex-direction: row;\n border-radius: 10px;\n margin: 25px 20px 25px 15px;\n height: auto; }\n .dashboard-main-container .maps-container .maps-container-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .maps-container .maps-container-row .maps-container-col {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n";
23829
+ var css_248z$c = ".mapboxgl-popup-content {\n background-color: #ffffff !important;\n color: rgba(58, 53, 65, 0.8) !important; }\n\n.unit {\n display: flex;\n font-family: \"Inter\";\n font-size: 1.15rem;\n font-weight: 500;\n color: rgba(58, 53, 65, 0.5); }\n\n.card-icons {\n color: #16b1ff; }\n\n.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {\n border-top-color: #ffffff !important; }\n\n.mapboxgl-popup-close-button,\n.mapboxgl-popup-close-button:hover {\n display: none; }\n\n.total-container {\n display: flex;\n flex-direction: column;\n border: 1px solid gray; }\n\n.margin-top-6 {\n margin-top: 7.5rem; }\n\n.margin-top-2 {\n margin-top: 2rem; }\n\n.margin-top-1 {\n margin-top: 1rem; }\n\n.ant-btn.mrvdefault {\n border-radius: 5px 0px 0px 5px !important; }\n\n.ant-btn.mrvdefault-right {\n border-radius: 0px 5px 5px 0px !important; }\n\n.ant-btn.mrvprimary {\n border-radius: 0px 0px 0px 0px !important; }\n\n.cards-title {\n font-family: \"Inter\";\n align-items: flex-start;\n justify-content: flex-start;\n font-style: normal;\n font-weight: 600;\n height: 50px;\n font-size: 1.15rem;\n margin-top: 1rem;\n color: rgba(58, 53, 65, 0.8); }\n\n.dashboard-main-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n border-radius: 5px;\n padding: 0 2rem 0 2rem; }\n .dashboard-main-container .header-and-title {\n display: flex;\n flex-direction: row;\n width: 100%;\n padding: 0 15px 0 15px;\n font-family: \"Inter-Regular\";\n font-size: 1.4rem;\n font-weight: 600; }\n .dashboard-main-container .stastics-cards-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: center; }\n .dashboard-main-container .stastics-cards-container .stastic-card-row {\n width: 100%; }\n .dashboard-main-container .stastics-cards-container .stastic-card-row .stastic-card-col {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center; }\n .dashboard-main-container .filter-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n margin-top: 2rem;\n padding: 0 1.2rem 0 1.2rem; }\n .dashboard-main-container .filter-container .radio-selection .ant-radio-button-wrapper {\n height: 35px !important;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n color: rgba(58, 53, 65, 0.5); }\n .dashboard-main-container .filter-container .radio-selection .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n)::before {\n background-color: transparent !important; }\n .dashboard-main-container .filter-container .radio-selection .overall {\n border-radius: 5px 0 0 5px !important; }\n .dashboard-main-container .filter-container .radio-selection .mine {\n border-radius: 0 5px 5px 0 !important; }\n .dashboard-main-container .center {\n align-items: center;\n justify-content: center; }\n .dashboard-main-container .height-pie-rem {\n height: 26.2rem; }\n .dashboard-main-container .height-pie-rem .apexcharts-legend {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between !important; }\n .dashboard-main-container .height-pie-rem .apexcharts-legend-series {\n display: flex !important;\n width: 42%; }\n .dashboard-main-container .height-bar-rem {\n height: 29rem; }\n .dashboard-main-container .height-map-rem {\n height: 510px; }\n .dashboard-main-container .stastics-and-charts-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n margin-top: 2rem;\n margin-bottom: 2rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row {\n width: 100%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card {\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n border-radius: 10px;\n padding: 0 1rem 0.7rem 1rem;\n width: 100%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .margin-top-2 {\n width: 100%;\n margin-top: 2rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .title-section {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n width: 100%;\n padding: 1rem 1rem 0 1rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .title-section .title {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 600;\n width: 90%;\n font-size: 1.15rem;\n color: rgba(58, 53, 65, 0.8); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .title-section .info-container {\n display: flex;\n flex-direction: row;\n width: 10%;\n height: 30px;\n align-items: center;\n justify-content: flex-end; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-details {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n height: 150px;\n margin-top: 1rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-details .details {\n display: flex;\n flex-direction: column;\n width: 70%;\n padding: 0 1rem 0 0.8rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-details .details .detail {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 400;\n font-size: 0.875rem;\n line-height: 1.375rem;\n padding-left: 0.125rem;\n color: rgba(58, 53, 65, 0.8);\n margin-bottom: 0.5rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-details .details .value {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 600;\n font-size: 1.6rem;\n line-height: 22px;\n padding-left: 0.125rem;\n padding: 0;\n color: #16b1ff; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-details .icon {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n width: 30%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-details .icon img {\n height: 80px; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n height: 100px;\n width: 100%;\n margin-top: 1rem;\n margin-bottom: 0.5rem;\n padding: 0 0.5rem 0 0.5rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n width: 100%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon {\n display: flex;\n flex-direction: row;\n width: 20%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .icon-container,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .icon-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n width: 2.813rem;\n height: 2.813rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .reject,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .reject {\n background-color: rgba(255, 166, 166, 0.4); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .transfer,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .transfer {\n background-color: rgba(254, 241, 173, 0.5); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .pending,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .pending {\n background-color: rgba(164, 162, 168, 0.5); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .authorized,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .authorized {\n background-color: rgba(185, 226, 244, 0.4); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .details,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .details {\n display: flex;\n flex-direction: column;\n width: 80%;\n height: 3.438rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .details .label-and-value,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .details .label-and-value {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .details .label-and-value .label,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .details .label-and-value .label {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 400;\n font-size: 0.875rem;\n color: rgba(58, 53, 65, 0.5); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .details .label-and-value .value,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .details .label-and-value .value {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 400;\n height: 30px;\n font-size: 1.5rem;\n margin-top: -8px;\n color: rgba(58, 53, 65, 0.8); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .stage-legends {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n margin-top: 1rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .updated-on {\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n justify-content: flex-start;\n padding: 0 1rem 0 0.8rem;\n height: 50px; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .updated-on .updated-moment-container {\n display: flex;\n flex-direction: row;\n font-size: 0.75rem;\n border-radius: 3.125rem;\n padding: 0.05rem 0.8rem 0.05rem 0.8rem;\n color: #16b1ff;\n background-color: rgba(222, 205, 254, 0.4); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-top {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: 0 1rem 0 1rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-top .pie-charts-title {\n display: flex;\n flex-direction: row;\n font-family: \"Inter\";\n align-items: flex-start;\n justify-content: flex-start;\n font-style: normal;\n font-weight: 600;\n height: 50px;\n font-size: 1.15rem;\n margin-top: 1rem;\n color: rgba(58, 53, 65, 0.8); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-top .pie-charts-title .unit {\n display: flex;\n margin: 0 0 0 0.5rem;\n font-family: \"Inter\";\n font-size: 1.15rem;\n font-weight: 500;\n color: rgba(58, 53, 65, 0.5); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-top .info-container {\n display: flex;\n flex-direction: row;\n align-items: center; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-section {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-and-pie-card:hover {\n box-shadow: rgba(0, 5, 18, 0.2) 0px 8px 24px; }\n .dashboard-main-container .stastics-charts-container-total-programmes {\n display: flex;\n flex-direction: row;\n width: 98%;\n margin: 60px 10px 25px 15px; }\n .dashboard-main-container .stastics-charts-container-total-programmes .stastic-charts-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-charts-container-total-programmes .stastic-charts-row .stastic-charts-col {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-charts-container-total-programmes .stastic-charts-row .stastic-charts-col .chart-card {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 400px;\n background: #f6f6f6;\n box-shadow: rgba(106, 106, 106, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-charts-container-total-programmes .stastic-charts-row .stastic-charts-col .chart-card:hover {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n background: #f1f1f1;\n box-shadow: rgba(124, 124, 124, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-charts-container-certified-programmes {\n display: flex;\n flex-direction: row;\n width: 98%;\n margin: 5px 10px 25px 15px; }\n .dashboard-main-container .stastics-charts-container-certified-programmes .stastic-charts-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-charts-container-certified-programmes .stastic-charts-row .stastic-charts-col {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-charts-container-certified-programmes .stastic-charts-row .stastic-charts-col .chart-card {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 400px;\n background: #f6f6f6;\n box-shadow: rgba(106, 106, 106, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-charts-container-certified-programmes .stastic-charts-row .stastic-charts-col .chart-card:hover {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n background: #f1f1f1;\n box-shadow: rgba(124, 124, 124, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-pie-charts-container {\n display: flex;\n flex-direction: row;\n width: 98%;\n margin: 5px 10px 25px 15px; }\n .dashboard-main-container .stastics-pie-charts-container .stastic-charts-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-pie-charts-container .stastic-charts-row .stastic-charts-col {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-pie-charts-container .stastic-charts-row .stastic-charts-col .chart-card {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 400px;\n background: #f6f6f6;\n box-shadow: rgba(106, 106, 106, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-pie-charts-container .stastic-charts-row .stastic-charts-col .chart-card:hover {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n background: #f1f1f1;\n box-shadow: rgba(124, 124, 124, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .maps-container {\n display: flex;\n flex-direction: row;\n border-radius: 10px;\n margin: 25px 20px 25px 15px;\n height: auto; }\n .dashboard-main-container .maps-container .maps-container-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .maps-container .maps-container-row .maps-container-col {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n";
23856
23830
  styleInject(css_248z$c);
23857
23831
 
23858
23832
  var MrvPieChartsStatComponent = function (props) {
@@ -25583,215 +25557,19 @@ var optionDonutPieB = {
25583
25557
  var css_248z$8 = ".stastic-card-main-container {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 11.2rem;\n background-color: white;\n border-radius: 0.625rem;\n padding: 1rem 1.875rem 0 1.875rem; }\n .stastic-card-main-container .title-section {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n height: 3.3rem; }\n .stastic-card-main-container .title-section .title {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: flex-start;\n font-family: 'Inter';\n font-size: 1.15rem;\n font-weight: 600;\n width: 95%;\n color: rgba(58, 53, 65, 0.8); }\n .stastic-card-main-container .title-section .info-container {\n display: flex;\n flex-direction: row;\n width: 5%;\n align-items: center;\n justify-content: flex-end; }\n .stastic-card-main-container .values-section {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: flex-start;\n justify-content: space-between;\n height: 5rem; }\n .stastic-card-main-container .values-section .values-and-unit {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n width: 60%; }\n .stastic-card-main-container .values-section .values-and-unit .value {\n font-family: 'Inter';\n font-size: 2rem;\n font-weight: 600;\n width: 100%;\n color: #16b1ff;\n padding: 0; }\n .stastic-card-main-container .values-section .values-and-unit .unit {\n margin-bottom: -0.6rem;\n margin-left: 0.2rem;\n margin-top: -0.66rem;\n font-family: 'Inter';\n font-size: 0.875rem;\n font-weight: 500;\n width: 100%;\n color: rgba(58, 53, 65, 0.5); }\n .stastic-card-main-container .values-section .icon-section {\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n width: 40%;\n justify-content: flex-start; }\n .stastic-card-main-container .values-section .icon-section img {\n height: 80px; }\n .stastic-card-main-container .values-section .updated-on-null {\n display: flex;\n flex-direction: row;\n font-size: 0.813rem;\n border-radius: 3.125rem;\n padding: 0 0.5rem 0 0.5rem;\n margin-top: 1rem;\n color: transparent;\n background-color: transparent; }\n .stastic-card-main-container .updated-on {\n display: flex;\n flex-direction: row;\n font-size: 0.75rem;\n border-radius: 3.125rem;\n padding: 0.05rem 0.8rem 0.05rem 0.8rem;\n width: max-content;\n color: #16b1ff;\n background-color: rgba(185, 226, 244, 0.4); }\n\n.stastic-card-main-container:hover {\n box-shadow: rgba(0, 5, 18, 0.2) 0px 8px 24px; }\n";
25584
25558
  styleInject(css_248z$8);
25585
25559
 
25586
- var toolTipTextGen = function (companyRole, cardType, mine) {
25587
- var text = '';
25588
- if (companyRole === exports.CompanyRole.GOVERNMENT) {
25589
- if (cardType === exports.StatsCardsTypes.PROGRAMMES_PENDING) {
25590
- text = 'Pending state projects awaiting authorisation';
25591
- }
25592
- else if (cardType === exports.StatsCardsTypes.TRANSFER_REQUEST_SENT) {
25593
- text =
25594
- 'Pending credit transfer requests sent to project owners initiated by your organisation';
25595
- }
25596
- else if (cardType === exports.StatsCardsTypes.CREDIT_BALANCE) {
25597
- text = 'Total credit balance owned by your organisation';
25598
- }
25599
- else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
25600
- text =
25601
- 'Number of projects created during the specified period and their project state in the carbon registry at present';
25602
- }
25603
- else if (cardType === exports.StatsCardsTypes.CREDITS) {
25604
- text =
25605
- 'Number of credits of projects created during the specified period and their credit state in the carbon registry at present';
25606
- }
25607
- else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
25608
- text =
25609
- 'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present';
25610
- }
25611
- else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
25612
- text =
25613
- 'Graphical representation of the number of projects created during the specified period in each project state in the carbon registry at present';
25614
- }
25615
- else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
25616
- text =
25617
- 'Graphical representation of the number of projects in each project sector created during the specified time in the carbon registry';
25618
- }
25619
- else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
25620
- text =
25621
- 'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
25622
- }
25623
- else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
25624
- text =
25625
- 'Graphical representation of the number of credits of projects created during the specified period certified, uncertified and revoked in the carbon registry at present';
25626
- }
25627
- else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
25628
- text =
25629
- 'Locations of the projects created during the specified period and their project states in the carbon registry at present';
25630
- }
25631
- else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
25632
- text =
25633
- 'Locations of credits of international transfer requests recognised during the specified period';
25634
- }
25635
- }
25636
- else if (companyRole === exports.CompanyRole.PROGRAMME_DEVELOPER) {
25637
- if (cardType === exports.StatsCardsTypes.TRANSFER_REQUEST_RECEIVED) {
25638
- text = 'Pending credit transfer requests received by your organisation';
25639
- }
25640
- else if (cardType === exports.StatsCardsTypes.TRANSFER_REQUEST_SENT) {
25641
- text = 'Pending local credit transfer requests initiated by your organisation';
25642
- }
25643
- else if (cardType === exports.StatsCardsTypes.CREDIT_BALANCE) {
25644
- text = 'Total credit balance owned by your organisation';
25645
- }
25646
- else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
25647
- text =
25648
- 'Number of projects created during the specified period and their project state in the carbon registry at present, owned by your organisation';
25649
- }
25650
- else if (cardType === exports.StatsCardsTypes.CREDITS) {
25651
- text =
25652
- 'Number of credits of projects created during the specified period and their credit state in the carbon registry at present, owned by your organisation';
25653
- }
25654
- else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
25655
- text =
25656
- 'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present, owned by your organisation';
25657
- }
25658
- else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
25659
- text =
25660
- 'Graphical representation of the number of projects created during the specified period, owned by your organisation, in each project state in the carbon registry at present';
25661
- }
25662
- else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
25663
- text =
25664
- 'Graphical representation of the number of projects owned by your organisation, in each project sector created during the specified time in the carbon registry';
25665
- }
25666
- else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
25667
- text =
25668
- 'Graphical representation of the number of credits of projects created during the specified period, owned by your organisation, in each credit state in the carbon registry at present';
25669
- }
25670
- else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
25671
- text =
25672
- 'Graphical representation of the number of credits of projects created during the specified period, owned by your organisation, certified, uncertified and revoked in the carbon registry at present';
25673
- }
25674
- else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
25675
- text =
25676
- 'Locations of the projects created during the specified period, owned by your organisation, and their project states in the carbon registry at present';
25677
- }
25678
- else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
25679
- text =
25680
- 'Locations of credits international transfer requests of projects owned by your organisation recognised during the specified period';
25681
- }
25682
- }
25683
- else if (companyRole === exports.CompanyRole.CERTIFIER && mine === true) {
25684
- if (cardType === exports.StatsCardsTypes.PROGRAMMES_UNCERTIFIED) {
25685
- text =
25686
- 'Number of projects not yet certified including certificates revoked by your organisation';
25687
- }
25688
- else if (cardType === exports.StatsCardsTypes.PROGRAMMES_CERTIFIED) {
25689
- text = 'Number of projects certified by your organisation';
25690
- }
25691
- else if (cardType === exports.StatsCardsTypes.CREDIT_CERTIFIED) {
25692
- text = 'Number of credits certified by your organisation';
25693
- }
25694
- else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
25695
- text =
25696
- 'Number of projects created during the specified period, certified by your organisation, and their project state in the carbon registry at present';
25697
- }
25698
- else if (cardType === exports.StatsCardsTypes.CREDITS) {
25699
- text =
25700
- 'Number of credits of projects created during the specified period, certified by your organisation and their credit state in the carbon registry at present';
25701
- }
25702
- else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
25703
- text =
25704
- 'Number of credits of projects created during the specified period, certified by your organisation, uncertified, certified and revoked in the carbon registry at present';
25705
- }
25706
- else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
25707
- text =
25708
- 'Graphical representation of the number of projects in each project sector created during the specified time, certified by your company, in the carbon registry';
25709
- }
25710
- else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
25711
- text =
25712
- 'Graphical representation of the number of projects in each project sector created during the specified time, certified by your company, in the carbon registry';
25713
- }
25714
- else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
25715
- text =
25716
- 'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
25717
- }
25718
- else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
25719
- text =
25720
- 'Graphical representation of the number of credits of projects certified, uncertified and revoked (refer above for states), by your organisation, spread over the specified time';
25721
- }
25722
- else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
25723
- text =
25724
- 'Locations of the projects created during the specified period, certified by your organisation, and their project states in the carbon registry at present';
25725
- }
25726
- else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
25727
- text =
25728
- 'Locations of credits of international transfer requests of projects certified by your organisation recognised during the specified period';
25729
- }
25730
- }
25731
- else if (companyRole === exports.CompanyRole.CERTIFIER && !mine) {
25732
- if (cardType === exports.StatsCardsTypes.PROGRAMMES_UNCERTIFIED) {
25733
- text =
25734
- 'Number of projects not yet certified including certificates revoked by your organisation';
25735
- }
25736
- else if (cardType === exports.StatsCardsTypes.PROGRAMMES_CERTIFIED) {
25737
- text = 'Number of projects certified by your organisation';
25738
- }
25739
- else if (cardType === exports.StatsCardsTypes.CREDIT_CERTIFIED) {
25740
- text = 'Number of credits certified by your organisation';
25741
- }
25742
- else if (cardType === exports.StatsCardsTypes.PROGRAMMES) {
25743
- text =
25744
- 'Number of projects created during the specified period and their project state in the carbon registry at present';
25745
- }
25746
- else if (cardType === exports.StatsCardsTypes.CREDITS) {
25747
- text =
25748
- 'Number of credits of projects created during the specified period and their credit state in the carbon registry at present';
25749
- }
25750
- else if (cardType === exports.StatsCardsTypes.CERTIFIED_CREDITS) {
25751
- text =
25752
- 'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present';
25753
- }
25754
- else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES) {
25755
- text =
25756
- 'Graphical representation of the number of projects created during the specified period in each project state in the carbon registry at present';
25757
- }
25758
- else if (cardType === exports.StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
25759
- text =
25760
- 'Graphical representation of the number of projects in each project sector created during the specified time in the carbon registry';
25761
- }
25762
- else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS) {
25763
- text =
25764
- 'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
25765
- }
25766
- else if (cardType === exports.StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
25767
- text =
25768
- 'Graphical representation of the number of credits of projects created during the specified period certified, uncertified and revoked in the carbon registry at present';
25769
- }
25770
- else if (cardType === exports.StatsCardsTypes.PROGRAMME_LOCATIONS) {
25771
- text =
25772
- 'Locations of the projects created during the specified period and their project states in the carbon registry at present';
25773
- }
25774
- else if (cardType === exports.StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
25775
- text =
25776
- 'Locations of credits of international transfer requests recognised during the specified period';
25777
- }
25778
- }
25779
- return text;
25780
- };
25781
-
25782
25560
  var StasticCard = function (props) {
25783
- var value = props.value, title = props.title, updatedDate = props.updatedDate, icon = props.icon, loading = props.loading, companyRole = props.companyRole;
25561
+ var value = props.value, title = props.title, updatedDate = props.updatedDate, icon = props.icon, loading = props.loading; props.companyRole; var tooltip = props.tooltip, t = props.t;
25784
25562
  return (React.createElement("div", { className: "stastic-card-main-container" }, loading ? (React.createElement(antd.Skeleton, { active: true })) : (React.createElement(React.Fragment, null,
25785
25563
  React.createElement("div", { className: "title-section" },
25786
- React.createElement("div", { className: "title" }, title),
25564
+ React.createElement("div", { className: "title" }, t(title)),
25787
25565
  React.createElement("div", { className: "info-container" },
25788
- React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "bottomRight", trigger: "hover", title: toolTipTextGen(companyRole, title) },
25566
+ React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "bottomRight", trigger: "hover", title: tooltip },
25789
25567
  React.createElement(Icon.InfoCircle, { color: "#000000", size: 17 })))),
25790
25568
  React.createElement("div", { className: "values-section" },
25791
25569
  React.createElement("div", { className: "values-and-unit" },
25792
- title.includes('Credit') && React.createElement("div", { className: "unit" }, "ITMOs"),
25793
- React.createElement("div", { className: "value" }, title.includes('Credit')
25794
- ? value === 0 || String(value) === 'NaN'
25570
+ title.includes("credit") && React.createElement("div", { className: "unit" }, "ITMOs"),
25571
+ React.createElement("div", { className: "value" }, title.includes("credit")
25572
+ ? value === 0 || String(value) === "NaN"
25795
25573
  ? 0
25796
25574
  : addCommSep(value)
25797
25575
  : value)),
@@ -27397,54 +27175,69 @@ var RegistryDashboardComponent = function (props) {
27397
27175
  : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
27398
27176
  exports.CompanyRole.PROGRAMME_DEVELOPER
27399
27177
  ? transferRequestReceived
27400
- : programmesUnCertifed, title: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27178
+ : programmesUnCertifed, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27401
27179
  ? "programmesPending"
27402
27180
  : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
27403
27181
  exports.CompanyRole.PROGRAMME_DEVELOPER
27404
27182
  ? "trasnferReqReceived"
27405
- : "programmesUnCertified"), updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27183
+ : "programmesUnCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27406
27184
  ? lastUpdateProgrammesStats
27407
27185
  : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
27408
27186
  exports.CompanyRole.PROGRAMME_DEVELOPER
27409
27187
  ? lastUpdatePendingTransferReceived
27410
27188
  : lastUpdateProgrammesCertifiable, icon: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT ? (React.createElement(Icon.ClockHistory, { color: "#16B1FF", size: 80 })) : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
27411
- exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(Icon.BoxArrowInRight, { color: "#16B1FF", size: 80 })) : (React.createElement(Icon.ShieldX, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole })),
27189
+ exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(Icon.BoxArrowInRight, { color: "#16B1FF", size: 80 })) : (React.createElement(Icon.ShieldX, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole, tooltip: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27190
+ ? "tTprogrammespendingGoverment"
27191
+ : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
27192
+ exports.CompanyRole.PROGRAMME_DEVELOPER
27193
+ ? "tTTransferReqRecProgrammeDev"
27194
+ : "tTProgrammesUnCertiCertifier"), t: t })),
27412
27195
  React.createElement(antd.Col, { xxl: 8, xl: 8, md: 12, className: "stastic-card-col" },
27413
27196
  React.createElement(StasticCard, { value: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27414
27197
  ? transferRequestSent
27415
27198
  : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
27416
27199
  exports.CompanyRole.PROGRAMME_DEVELOPER
27417
27200
  ? transferRequestSent
27418
- : programmesCertifed, title: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27201
+ : programmesCertifed, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27419
27202
  ? "trasnferReqInit"
27420
27203
  : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
27421
27204
  exports.CompanyRole.PROGRAMME_DEVELOPER
27422
27205
  ? "trasnferReqInit"
27423
- : "programmesCertified"), updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27206
+ : "programmesCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27424
27207
  ? lastUpdatePendingTransferSent
27425
27208
  : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
27426
27209
  exports.CompanyRole.PROGRAMME_DEVELOPER
27427
27210
  ? lastUpdatePendingTransferSent
27428
27211
  : lastUpdateProgrammesCertified, icon: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT ? (React.createElement(Icon.BoxArrowRight, { color: "#16B1FF", size: 80 })) : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
27429
- exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(Icon.BoxArrowRight, { color: "#16B1FF", size: 80 })) : (React.createElement(Icon.ShieldCheck, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole })),
27212
+ exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(Icon.BoxArrowRight, { color: "#16B1FF", size: 80 })) : (React.createElement(Icon.ShieldCheck, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole, tooltip: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27213
+ ? "tTTransferReqSentGovernment"
27214
+ : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
27215
+ exports.CompanyRole.PROGRAMME_DEVELOPER
27216
+ ? "tTTransferReqInitProgrammeDev"
27217
+ : "tTProgrammesCertiCertifier"), t: t })),
27430
27218
  React.createElement(antd.Col, { xxl: 8, xl: 8, md: 12, className: "stastic-card-col" },
27431
27219
  React.createElement(StasticCard, { value: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27432
27220
  ? creditBalanceWithoutTimeRange
27433
27221
  : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
27434
27222
  exports.CompanyRole.PROGRAMME_DEVELOPER
27435
27223
  ? creditBalanceWithoutTimeRange
27436
- : creditCertiedBalanceWithoutTimeRange, title: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27224
+ : creditCertiedBalanceWithoutTimeRange, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27437
27225
  ? "creditBal"
27438
27226
  : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
27439
27227
  exports.CompanyRole.PROGRAMME_DEVELOPER
27440
27228
  ? "creditBal"
27441
- : "creditCertified"), updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27229
+ : "creditCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27442
27230
  ? lastUpdateCreditBalance
27443
27231
  : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
27444
27232
  exports.CompanyRole.PROGRAMME_DEVELOPER
27445
27233
  ? lastUpdateCreditBalance
27446
27234
  : lastUpdateProgrammesCertified, icon: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT ? (React.createElement(Icon.Gem, { color: "#16B1FF", size: 80 })) : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
27447
- exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(Icon.Gem, { color: "#16B1FF", size: 80 })) : (React.createElement(Icon.ShieldExclamation, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole })))),
27235
+ exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(Icon.Gem, { color: "#16B1FF", size: 80 })) : (React.createElement(Icon.ShieldExclamation, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole, tooltip: t((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT
27236
+ ? "tTCreditBalanceGovernment"
27237
+ : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
27238
+ exports.CompanyRole.PROGRAMME_DEVELOPER
27239
+ ? "tTCreditBalanceProgrammeDev"
27240
+ : "tTCreditCertifiedCertifier"), t: t })))),
27448
27241
  ((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.GOVERNMENT ||
27449
27242
  (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.CERTIFIER ||
27450
27243
  (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.MINISTRY) &&
@@ -28754,7 +28547,7 @@ var ProgrammeRetireForm = function (props) {
28754
28547
  {
28755
28548
  key: "name",
28756
28549
  operation: "like",
28757
- value: newValue.charAt(0).toUpperCase() + newValue.slice(1) + "%",
28550
+ value: "%" + newValue.charAt(0).toUpperCase() + newValue.slice(1) + "%",
28758
28551
  },
28759
28552
  ],
28760
28553
  sort: {
@@ -28855,7 +28648,7 @@ var ProgrammeRetireForm = function (props) {
28855
28648
  // programme.companyId.map((n) => Number(n));
28856
28649
  // d.companyCredit = d.companyCredit.map((n: any) => (n === undefined ? 0 : n));
28857
28650
  d.toCompanyMeta = {
28858
- name: (d.company !== "" && d.company !== null && d.company !== undefined) ? d.company : undefined,
28651
+ name: d.company,
28859
28652
  country: d.country,
28860
28653
  };
28861
28654
  }
@@ -29086,7 +28879,7 @@ var ProgrammeTransferForm = function (props) {
29086
28879
  {
29087
28880
  key: "name",
29088
28881
  operation: "like",
29089
- value: newValue + "%",
28882
+ value: "%" + newValue + "%",
29090
28883
  },
29091
28884
  {
29092
28885
  key: "companyRole",
@@ -29292,7 +29085,7 @@ var RejectDocumentationConfirmationModel = function (props) {
29292
29085
  React.createElement(antd.Button, { className: "mg-left-2", type: "primary", danger: true, htmlType: "submit", loading: loading, disabled: actionInfo.type === "reject" && comment === "" }, "REJECT")))));
29293
29086
  };
29294
29087
 
29295
- var css_248z$5 = ".ndc-action-body {\n display: flex;\n flex-direction: column;\n width: 100%; }\n .ndc-action-body .report-details {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: flex-start;\n justify-content: space-between; }\n .ndc-action-body .report-details .report-type {\n display: flex;\n flex-direction: row;\n width: 60%;\n align-items: flex-start; }\n .ndc-action-body .report-details .report-type .name-time-container {\n display: flex;\n flex-direction: column;\n width: 70%;\n margin-bottom: 0.5rem; }\n .ndc-action-body .report-details .report-type .name {\n font-weight: 600;\n color: rgba(58, 53, 65, 0.8); }\n .ndc-action-body .report-details .report-type .icon {\n display: flex;\n width: 30%; }\n .ndc-action-body .report-details .report-type .empty {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link {\n display: flex;\n flex-direction: row;\n width: 40%;\n justify-content: flex-start;\n gap: 20px;\n align-items: center; }\n .ndc-action-body .report-details .report-link .version {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link .link {\n margin-left: 1rem; }\n";
29088
+ var css_248z$5 = ".ndc-action-body {\n display: flex;\n flex-direction: column;\n width: 100%; }\n .ndc-action-body .report-details {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: flex-start;\n justify-content: space-between; }\n .ndc-action-body .report-details .report-type {\n display: flex;\n flex-direction: row;\n width: 60%;\n align-items: flex-start; }\n .ndc-action-body .report-details .report-type .name-time-container {\n display: flex;\n flex-direction: column;\n width: 70%;\n margin-bottom: 0.5rem; }\n .ndc-action-body .report-details .report-type .name {\n font-weight: 600;\n color: rgba(58, 53, 65, 0.8); }\n .ndc-action-body .report-details .report-type .icon {\n display: flex;\n width: 30%; }\n .ndc-action-body .report-details .report-type .empty {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link {\n display: flex;\n flex-direction: row;\n width: 40%;\n justify-content: flex-start;\n gap: 20px;\n align-items: start; }\n .ndc-action-body .report-details .report-link .version {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link .link {\n margin-left: 1rem; }\n";
29296
29089
  styleInject(css_248z$5);
29297
29090
 
29298
29091
  var NdcActionBody = function (props) {
@@ -29586,12 +29379,12 @@ var NdcActionBody = function (props) {
29586
29379
  ? {
29587
29380
  color: "#3F3A47",
29588
29381
  cursor: "pointer",
29589
- margin: "0px 0px 1.5px 0px",
29382
+ margin: "0px 0px 2.5px 0px",
29590
29383
  }
29591
29384
  : {
29592
29385
  color: "#cacaca",
29593
29386
  cursor: "default",
29594
- margin: "0px 0px 1.5px 0px",
29387
+ margin: "0px 0px 2.5px 0px",
29595
29388
  }, onClick: function () {
29596
29389
  if (canUploadMonitorReport &&
29597
29390
  uploadDocUserPermission(userInfoState, exports.DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
@@ -29618,12 +29411,12 @@ var NdcActionBody = function (props) {
29618
29411
  ? {
29619
29412
  color: "#3F3A47",
29620
29413
  cursor: "pointer",
29621
- margin: "0px 0px 1.5px 0px",
29414
+ margin: "0px 0px 2.5px 0px",
29622
29415
  }
29623
29416
  : {
29624
29417
  color: "#cacaca",
29625
29418
  cursor: "default",
29626
- margin: "0px 0px 1.5px 0px",
29419
+ margin: "0px 0px 2.5px 0px",
29627
29420
  }, onClick: function () {
29628
29421
  if (canUploadMonitorReport &&
29629
29422
  uploadDocUserPermission(userInfoState, exports.DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
@@ -29676,12 +29469,12 @@ var NdcActionBody = function (props) {
29676
29469
  ? {
29677
29470
  color: "#3F3A47",
29678
29471
  cursor: "pointer",
29679
- margin: "0px 0px 1.5px 0px",
29472
+ margin: "0px 0px 2.5px 0px",
29680
29473
  }
29681
29474
  : {
29682
29475
  color: "#cacaca",
29683
29476
  cursor: "default",
29684
- margin: "0px 0px 1.5px 0px",
29477
+ margin: "0px 0px 2.5px 0px",
29685
29478
  }, onClick: function () {
29686
29479
  if (monitoringReportAccepted &&
29687
29480
  uploadDocUserPermission(userInfoState, exports.DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
@@ -29708,12 +29501,12 @@ var NdcActionBody = function (props) {
29708
29501
  ? {
29709
29502
  color: "#3F3A47",
29710
29503
  cursor: "pointer",
29711
- margin: "0px 0px 1.5px 0px",
29504
+ margin: "0px 0px 2.5px 0px",
29712
29505
  }
29713
29506
  : {
29714
29507
  color: "#cacaca",
29715
29508
  cursor: "default",
29716
- margin: "0px 0px 1.5px 0px",
29509
+ margin: "0px 0px 2.5px 0px",
29717
29510
  }, onClick: function () {
29718
29511
  if (monitoringReportAccepted &&
29719
29512
  uploadDocUserPermission(userInfoState, exports.DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {