@undp/carbon-library 1.0.293-CARBON-Sprint-54.6 → 1.0.293-CARBON-367.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +83 -290
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/Common/StasticCard/stasticCard.d.ts +2 -0
- package/dist/cjs/types/Definitions/Definitions/programme.definitions.d.ts +1 -1
- package/dist/esm/index.js +83 -290
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/Common/StasticCard/stasticCard.d.ts +2 -0
- package/dist/esm/types/Definitions/Definitions/programme.definitions.d.ts +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/locales/i18n/companyProfile/en.json +2 -2
- package/dist/locales/i18n/creditTransfer/en.json +1 -2
- package/dist/locales/i18n/view/en.json +3 -3
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
@@ -263,8 +263,8 @@ var getStageTagType = function (stage) {
|
|
263
263
|
return "error";
|
264
264
|
case ProgrammeStageR.Authorised:
|
265
265
|
return "processing";
|
266
|
-
|
267
|
-
|
266
|
+
case ProgrammeStageR.Approved:
|
267
|
+
return 'purple';
|
268
268
|
default:
|
269
269
|
return "default";
|
270
270
|
}
|
@@ -943,7 +943,7 @@ var CompanyManagementComponent = function (props) {
|
|
943
943
|
{
|
944
944
|
key: searchByTermOrganisation,
|
945
945
|
operation: "like",
|
946
|
-
value: networksearchOrganisations + "%",
|
946
|
+
value: "%" + networksearchOrganisations + "%",
|
947
947
|
},
|
948
948
|
];
|
949
949
|
}
|
@@ -960,7 +960,7 @@ var CompanyManagementComponent = function (props) {
|
|
960
960
|
{
|
961
961
|
key: searchByTermOrganisation,
|
962
962
|
operation: "like",
|
963
|
-
value: networksearchOrganisations + "%",
|
963
|
+
value: "%" + networksearchOrganisations + "%",
|
964
964
|
},
|
965
965
|
{
|
966
966
|
key: "companyRole",
|
@@ -1260,9 +1260,9 @@ var getStatusTagType = function (status) {
|
|
1260
1260
|
case InvestmentStatus.REJECTED:
|
1261
1261
|
return "error";
|
1262
1262
|
case InvestmentStatus.PENDING:
|
1263
|
-
return "processing";
|
1264
|
-
case InvestmentStatus.APPROVED:
|
1265
1263
|
return "success";
|
1264
|
+
case InvestmentStatus.APPROVED:
|
1265
|
+
return "processing";
|
1266
1266
|
default:
|
1267
1267
|
return "default";
|
1268
1268
|
}
|
@@ -2408,9 +2408,9 @@ var getNdcActionStatusEnumVal$1 = function (value) {
|
|
2408
2408
|
var getNdcStatusTagType = function (status) {
|
2409
2409
|
switch (getNdcActionStatusEnumVal$1(status)) {
|
2410
2410
|
case NdcActionStatus.PENDING:
|
2411
|
-
return "processing";
|
2412
|
-
case NdcActionStatus.APPROVED:
|
2413
2411
|
return "success";
|
2412
|
+
case NdcActionStatus.APPROVED:
|
2413
|
+
return "processing";
|
2414
2414
|
default:
|
2415
2415
|
return "default";
|
2416
2416
|
}
|
@@ -6208,7 +6208,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6208
6208
|
});
|
6209
6209
|
}); };
|
6210
6210
|
var getRegionList = function () { return __awaiter(void 0, void 0, void 0, function () {
|
6211
|
-
var response, regionNames, error_1;
|
6211
|
+
var response, regionNames, uniqueRegionNames, error_1;
|
6212
6212
|
return __generator(this, function (_a) {
|
6213
6213
|
switch (_a.label) {
|
6214
6214
|
case 0:
|
@@ -6231,7 +6231,8 @@ var AddNewCompanyComponent = function (props) {
|
|
6231
6231
|
response = _a.sent();
|
6232
6232
|
if (response.data) {
|
6233
6233
|
regionNames = response.data.map(function (item) { return item.regionName; });
|
6234
|
-
|
6234
|
+
uniqueRegionNames = Array.from(new Set(regionNames));
|
6235
|
+
setRegionsList(__spreadArray([t("national")], uniqueRegionNames, true));
|
6235
6236
|
}
|
6236
6237
|
return [3 /*break*/, 5];
|
6237
6238
|
case 3:
|
@@ -6692,7 +6693,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6692
6693
|
React.createElement(Radio.Button, { className: companyRoleClassName, value: companyRole },
|
6693
6694
|
companyRole === CompanyRole.CERTIFIER ? (React.createElement(SafetyOutlined, { className: "role-icons" })) : companyRole ===
|
6694
6695
|
CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(ExperimentOutlined, { className: "role-icons" })) : companyRole === CompanyRole.MINISTRY ? (React.createElement(AuditOutlined, { className: "role-icons" })) : (React.createElement(BankOutlined, { className: "role-icons" })),
|
6695
|
-
|
6696
|
+
companyRole))) : (React.createElement(React.Fragment, null,
|
6696
6697
|
React.createElement("div", { className: "certifier-radio-container", style: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
6697
6698
|
CompanyRole.MINISTRY
|
6698
6699
|
? {
|
@@ -6958,7 +6959,7 @@ styleInject(css_248z$u);
|
|
6958
6959
|
var CompanyRoleIcon = function (props) {
|
6959
6960
|
var role = props.role;
|
6960
6961
|
return (React.createElement("div", { style: { display: 'flex', alignItems: 'center' } },
|
6961
|
-
role === 'Government' ? (React.createElement(RoleIcon, { icon: React.createElement(BankOutlined, null), bg: GovBGColor, color: GovColor })) : role === 'Certifier' ? (React.createElement(RoleIcon, { icon: React.createElement(SafetyOutlined, null), bg: CertBGColor, color: CertColor })) :
|
6962
|
+
role === 'Government' ? (React.createElement(RoleIcon, { icon: React.createElement(BankOutlined, null), bg: GovBGColor, color: GovColor })) : role === 'Certifier' ? (React.createElement(RoleIcon, { icon: React.createElement(SafetyOutlined, null), bg: CertBGColor, color: CertColor })) : (React.createElement(RoleIcon, { icon: React.createElement(ExperimentOutlined, null), bg: DevBGColor, color: DevColor })),
|
6962
6963
|
role === 'ProgrammeDeveloper' ? React.createElement("div", null, 'Developer') : React.createElement("div", null, role)));
|
6963
6964
|
};
|
6964
6965
|
|
@@ -7632,7 +7633,7 @@ var ProgrammeManagementComponent = function (props) {
|
|
7632
7633
|
filter.push({
|
7633
7634
|
key: "title",
|
7634
7635
|
operation: "like",
|
7635
|
-
value: "".concat(search, "%"),
|
7636
|
+
value: "%".concat(search, "%"),
|
7636
7637
|
});
|
7637
7638
|
}
|
7638
7639
|
if (ministryLevelFilter) {
|
@@ -13729,7 +13730,7 @@ var ProgrammeCreationComponent = function (props) {
|
|
13729
13730
|
});
|
13730
13731
|
}); };
|
13731
13732
|
var getRegionList = function () { return __awaiter(void 0, void 0, void 0, function () {
|
13732
|
-
var response, regionNames, error_2;
|
13733
|
+
var response, regionNames, uniqueRegionNames, error_2;
|
13733
13734
|
return __generator(this, function (_a) {
|
13734
13735
|
switch (_a.label) {
|
13735
13736
|
case 0:
|
@@ -13752,7 +13753,8 @@ var ProgrammeCreationComponent = function (props) {
|
|
13752
13753
|
response = _a.sent();
|
13753
13754
|
if (response.data) {
|
13754
13755
|
regionNames = response.data.map(function (item) { return item.regionName; });
|
13755
|
-
|
13756
|
+
uniqueRegionNames = Array.from(new Set(regionNames));
|
13757
|
+
setRegionsList(__spreadArray(["National"], uniqueRegionNames, true));
|
13756
13758
|
}
|
13757
13759
|
return [3 /*break*/, 5];
|
13758
13760
|
case 3:
|
@@ -15453,7 +15455,7 @@ var UserManagementComponent = function (props) {
|
|
15453
15455
|
{
|
15454
15456
|
key: searchByTermUser,
|
15455
15457
|
operation: "like",
|
15456
|
-
value: networksearchUsers + "%",
|
15458
|
+
value: "%" + networksearchUsers + "%",
|
15457
15459
|
},
|
15458
15460
|
];
|
15459
15461
|
}
|
@@ -15471,7 +15473,7 @@ var UserManagementComponent = function (props) {
|
|
15471
15473
|
{
|
15472
15474
|
key: searchByTermUser,
|
15473
15475
|
operation: "like",
|
15474
|
-
value: networksearchUsers + "%",
|
15476
|
+
value: "%" + networksearchUsers + "%",
|
15475
15477
|
},
|
15476
15478
|
{
|
15477
15479
|
key: "role",
|
@@ -15494,7 +15496,7 @@ var UserManagementComponent = function (props) {
|
|
15494
15496
|
{
|
15495
15497
|
key: searchByTermUser,
|
15496
15498
|
operation: "like",
|
15497
|
-
value: networksearchUsers + "%",
|
15499
|
+
value: "%" + networksearchUsers + "%",
|
15498
15500
|
},
|
15499
15501
|
{
|
15500
15502
|
key: "role",
|
@@ -15512,7 +15514,7 @@ var UserManagementComponent = function (props) {
|
|
15512
15514
|
{
|
15513
15515
|
key: searchByTermUser,
|
15514
15516
|
operation: "like",
|
15515
|
-
value: networksearchUsers + "%",
|
15517
|
+
value: "%" + networksearchUsers + "%",
|
15516
15518
|
},
|
15517
15519
|
{
|
15518
15520
|
key: "companyRole",
|
@@ -15809,7 +15811,7 @@ var UserManagementComponent = function (props) {
|
|
15809
15811
|
React.createElement(UserActionConfirmationModel, { t: t, actionInfo: actionInfo, onActionConfirmed: handleOk, onActionCanceled: handleCancel, openModal: openDeleteConfirmationModal, errorMsg: errorMsg, loading: loading })));
|
15810
15812
|
};
|
15811
15813
|
|
15812
|
-
var css_248z$m = ".steps-actions {\n display: flex;\n flex-direction: row-reverse;\n margin-right: 1rem;\n justify-content: flex-start; }\n\n.investment-title-bar {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: 0px 0px 30px 0px; }\n .investment-title-bar .title {\n display: flex;\n flex-direction: column;\n justify-content: space-between; }\n .investment-title-bar .actions {\n display: flex;\n align-items: center;\n justify-content: flex-end; }\n .investment-title-bar .flex-display {\n margin-left: 15px; }\n\n.ownership-container {\n padding: 15px 0px; }\n .ownership-container .label {\n color: rgba(58, 53, 65, 0.5); }\n\n.separator {\n padding: 5px;\n color: #d8d8d8; }\n\n.role-group .ant-col-13 {\n max-width: 320px; }\n\n.role-group .condition-radio-container {\n width: 48%;\n text-align: center; }\n .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none;\n max-width: 200px; }\n\n.role-group .ant-radio-button-wrapper::before {\n background-color: transparent; }\n\n.role-group .anticon {\n margin-right: 0.5rem; }\n\n.role-group .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9;\n color: rgba(140, 140, 140, 0.7) !important;\n width: 100% !important; }\n\n.role-group .condition-radio {\n width: 100%;\n text-transform: uppercase; }\n .role-group .condition-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n\n.role-group .role-icons {\n margin-right: 5px; }\n\n.investment-management .role-icon {\n padding: 0.5rem 0.6rem; }\n\n.investment-management .ant-tag {\n border: none; }\n\n.investment-management .ant-checkbox-checked .ant-checkbox-input[value='Rejected'] + .ant-checkbox-inner {\n background-color: rgba(237, 77, 71, 0.6);\n border: none; }\n\n.investment-management .ant-checkbox-checked .ant-checkbox-input[value='Cancelled'] + .ant-checkbox-inner {\n background-color: rgba(58, 53, 65, 0.4);\n border: none; }\n\n.investment-management .ant-checkbox-checked .ant-checkbox-input[value='Accepted'] + .ant-checkbox-inner {\n background-color: #16b1ff;\n border: none; }\n\n.investment-management .ant-checkbox-checked .ant-checkbox-input[value='Pending'] + .ant-checkbox-inner {\n background-color: rgba(118, 195, 39, 0.6);\n border: none; }\n\n.investment-management .ant-checkbox-checked .ant-checkbox-input[value='Recognised'] + .ant-checkbox-inner {\n background-color: #976ed7;\n border: none; }\n\n.investment-management .ant-checkbox-checked .ant-checkbox-input[value='NotRecognised'] + .ant-checkbox-inner {\n background-color: #ffa070;\n border: none; }\n\n.add-programme-main-container .adding-section .form-section .investment-sought-form-container .investment-sought-form .investment-radio-button .ant-radio-group {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n width: fit-content; }\n\n.add-programme-main-container .adding-section .form-section .investment-sought-form-container .investment-sought-form .details-part-two .row .ant-picker-large {\n height: 40px !important;\n width: 100%; }\n";
|
15814
|
+
var css_248z$m = ".steps-actions {\n display: flex;\n flex-direction: row-reverse;\n margin-right: 1rem;\n justify-content: flex-start; }\n\n.investment-title-bar {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: 0px 0px 30px 0px; }\n .investment-title-bar .title {\n display: flex;\n flex-direction: column;\n justify-content: space-between; }\n .investment-title-bar .actions {\n display: flex;\n align-items: center;\n justify-content: flex-end; }\n .investment-title-bar .flex-display {\n margin-left: 15px; }\n\n.ownership-container {\n padding: 15px 0px; }\n .ownership-container .label {\n color: rgba(58, 53, 65, 0.5); }\n\n.separator {\n padding: 5px;\n color: #d8d8d8; }\n\n.role-group .ant-col-13 {\n max-width: 320px; }\n\n.role-group .condition-radio-container {\n width: 48%;\n text-align: center; }\n .role-group .condition-radio-container .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none;\n max-width: 200px; }\n\n.role-group .ant-radio-button-wrapper::before {\n background-color: transparent; }\n\n.role-group .anticon {\n margin-right: 0.5rem; }\n\n.role-group .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9;\n color: rgba(140, 140, 140, 0.7) !important;\n width: 100% !important; }\n\n.role-group .condition-radio {\n width: 100%;\n text-transform: uppercase; }\n .role-group .condition-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n\n.role-group .role-icons {\n margin-right: 5px; }\n\n.investment-management .role-icon {\n padding: 0.5rem 0.6rem; }\n\n.investment-management .ant-tag {\n border: none; }\n\n.investment-management .ant-checkbox-checked .ant-checkbox-input[value='Rejected'] + .ant-checkbox-inner {\n background-color: rgba(237, 77, 71, 0.6);\n border: none; }\n\n.investment-management .ant-checkbox-checked .ant-checkbox-input[value='Cancelled'] + .ant-checkbox-inner {\n background-color: rgba(58, 53, 65, 0.4);\n border: none; }\n\n.investment-management .ant-checkbox-checked .ant-checkbox-input[value='Accepted'] + .ant-checkbox-inner {\n background-color: #16b1ff;\n border: none; }\n\n.investment-management .ant-checkbox-checked .ant-checkbox-input[value='Pending'] + .ant-checkbox-inner {\n background-color: rgba(118, 195, 39, 0.6);\n border: none; }\n\n.investment-management .ant-checkbox-checked .ant-checkbox-input[value='Recognised'] + .ant-checkbox-inner {\n background-color: #976ed7;\n border: none; }\n\n.investment-management .ant-checkbox-checked .ant-checkbox-input[value='NotRecognised'] + .ant-checkbox-inner {\n background-color: #ffa070;\n border: none; }\n\n.investment-management .ant-checkbox-checked .ant-checkbox-input[value='Approved'] + .ant-checkbox-inner {\n background-color: #16b1ff;\n border: none; }\n\n.add-programme-main-container .adding-section .form-section .investment-sought-form-container .investment-sought-form .investment-radio-button .ant-radio-group {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n width: fit-content; }\n\n.add-programme-main-container .adding-section .form-section .investment-sought-form-container .investment-sought-form .details-part-two .row .ant-picker-large {\n height: 40px !important;\n width: 100%; }\n";
|
15813
15815
|
styleInject(css_248z$m);
|
15814
15816
|
|
15815
15817
|
var Loading = function () {
|
@@ -16018,7 +16020,7 @@ var InvestmentCreationComponent = function (props) {
|
|
16018
16020
|
.startOf("day")
|
16019
16021
|
.unix();
|
16020
16022
|
}
|
16021
|
-
payload.instrument = [payload.instrument];
|
16023
|
+
payload.instrument = Array.isArray(payload.instrument) ? payload.instrument : [payload.instrument];
|
16022
16024
|
payload.fromCompanyIds = data.companyId.map(function (e) { return Number(e); });
|
16023
16025
|
payload.percentage = val.percentage;
|
16024
16026
|
payload.toCompanyId = Number(payload.toCompanyId);
|
@@ -16746,7 +16748,7 @@ var InvestmentManagementComponent = function (props) {
|
|
16746
16748
|
{
|
16747
16749
|
key: "programmeTitle",
|
16748
16750
|
operation: "like",
|
16749
|
-
value: "".concat(search, "%"),
|
16751
|
+
value: "%".concat(search, "%"),
|
16750
16752
|
},
|
16751
16753
|
];
|
16752
16754
|
if (!isNaN(Number(search))) {
|
@@ -17008,7 +17010,7 @@ var InvestmentManagementComponent = function (props) {
|
|
17008
17010
|
style: "color-primary",
|
17009
17011
|
click: function () {
|
17010
17012
|
showModalOnAction(record, {
|
17011
|
-
title: t("creditTransfer:
|
17013
|
+
title: t("creditTransfer:acceptTitle"),
|
17012
17014
|
icon: React.createElement(Icon.ClipboardCheck, null),
|
17013
17015
|
actionBtnText: t("creditTransfer:proceed"),
|
17014
17016
|
okAction: function (requestId, comment) {
|
@@ -17692,7 +17694,7 @@ var SupportManagementComponent = function (props) {
|
|
17692
17694
|
{
|
17693
17695
|
key: "programmeTitle",
|
17694
17696
|
operation: "like",
|
17695
|
-
value: "".concat(search, "%"),
|
17697
|
+
value: "%".concat(search, "%"),
|
17696
17698
|
},
|
17697
17699
|
];
|
17698
17700
|
if (!isNaN(Number(search))) {
|
@@ -18277,14 +18279,14 @@ var NdcActionManagementComponent = function (props) {
|
|
18277
18279
|
{
|
18278
18280
|
key: "programmeName",
|
18279
18281
|
operation: "like",
|
18280
|
-
value: "".concat(search, "%"),
|
18282
|
+
value: "%".concat(search, "%"),
|
18281
18283
|
},
|
18282
18284
|
];
|
18283
18285
|
if (!isNaN(Number(search))) {
|
18284
18286
|
interFilterOr.push({
|
18285
18287
|
key: "id",
|
18286
18288
|
operation: "like",
|
18287
|
-
value: "".concat(search),
|
18289
|
+
value: "%".concat(search, "%"),
|
18288
18290
|
});
|
18289
18291
|
}
|
18290
18292
|
filter.push({
|
@@ -19537,7 +19539,7 @@ var GenderParity = function (props) {
|
|
19537
19539
|
};
|
19538
19540
|
|
19539
19541
|
var Assessment = function (props) {
|
19540
|
-
var onFormSubmit = props.onFormSubmit, assessmentViewData = props.assessmentViewData, viewOnly = props.viewOnly, translator = props.translator;
|
19542
|
+
var onFormSubmit = props.onFormSubmit, assessmentViewData = props.assessmentViewData, viewOnly = props.viewOnly, useConnection = props.useConnection, translator = props.translator;
|
19541
19543
|
translator.setDefaultNamespace("coBenifits");
|
19542
19544
|
var t = translator.t;
|
19543
19545
|
var form1 = Form.useForm()[0];
|
@@ -19634,26 +19636,20 @@ var Assessment = function (props) {
|
|
19634
19636
|
if (info.changedFields && info.changedFields.length > 0) {
|
19635
19637
|
info.changedFields.map(function (changedField) { return __awaiter(void 0, void 0, void 0, function () {
|
19636
19638
|
var base64Value, values_1;
|
19637
|
-
|
19638
|
-
|
19639
|
-
switch (_b.label) {
|
19639
|
+
return __generator(this, function (_a) {
|
19640
|
+
switch (_a.label) {
|
19640
19641
|
case 0:
|
19641
19642
|
if (!(changedField.name[0] === "document")) return [3 /*break*/, 2];
|
19642
19643
|
return [4 /*yield*/, getBase64(changedField.value[0].originFileObj)];
|
19643
19644
|
case 1:
|
19644
|
-
base64Value =
|
19645
|
+
base64Value = _a.sent();
|
19645
19646
|
console.log("FEAsibility document : ", base64Value);
|
19646
19647
|
values_1 = base64Value;
|
19647
19648
|
setCobenefitsAssessmentDetails(function (pre) { return (__assign(__assign({}, pre), { document: values_1 })); });
|
19648
19649
|
return [3 /*break*/, 3];
|
19649
19650
|
case 2:
|
19650
|
-
|
19651
|
-
|
19652
|
-
}
|
19653
|
-
else {
|
19654
|
-
changedValues[changedField.name[0]] = undefined;
|
19655
|
-
}
|
19656
|
-
_b.label = 3;
|
19651
|
+
changedValues[changedField.name[0]] = changedField.value;
|
19652
|
+
_a.label = 3;
|
19657
19653
|
case 3: return [2 /*return*/];
|
19658
19654
|
}
|
19659
19655
|
});
|
@@ -21958,18 +21954,7 @@ var CoBenifitsComponent = function (props) {
|
|
21958
21954
|
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { sdgGoals: sdgGoalsDetails })); });
|
21959
21955
|
};
|
21960
21956
|
var onGenderParityFormSubmit = function (genderParityDetails) {
|
21961
|
-
|
21962
|
-
var values = Object.values(genderParityDetails).filter(function (val) {
|
21963
|
-
return (val !== undefined && val.trim().length === 0) || val === undefined;
|
21964
|
-
});
|
21965
|
-
var keys = Object.keys(genderParityDetails);
|
21966
|
-
if (keys.length === values.length) {
|
21967
|
-
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { genderPariy: undefined })); });
|
21968
|
-
}
|
21969
|
-
else {
|
21970
|
-
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { genderPariy: genderParityDetails })); });
|
21971
|
-
}
|
21972
|
-
}
|
21957
|
+
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { genderPariy: genderParityDetails })); });
|
21973
21958
|
};
|
21974
21959
|
var onEnvironmentalFormSubmit = function (environmentalsDetails) {
|
21975
21960
|
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { environmental: environmentalsDetails })); });
|
@@ -21978,19 +21963,8 @@ var CoBenifitsComponent = function (props) {
|
|
21978
21963
|
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { economic: economicDetails })); });
|
21979
21964
|
};
|
21980
21965
|
var onAssessmentFormSubmit = function (coBenefitsAssessmentDetails, isFormValid) {
|
21981
|
-
|
21982
|
-
|
21983
|
-
return (val !== undefined && val.trim().length === 0) || val === undefined;
|
21984
|
-
});
|
21985
|
-
var keys = Object.keys(coBenefitsAssessmentDetails);
|
21986
|
-
if (keys.length === values.length) {
|
21987
|
-
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { assessmentDetails: undefined })); });
|
21988
|
-
}
|
21989
|
-
else {
|
21990
|
-
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { assessmentDetails: coBenefitsAssessmentDetails })); });
|
21991
|
-
}
|
21992
|
-
setIsAssessmentFormValid(isFormValid);
|
21993
|
-
}
|
21966
|
+
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { assessmentDetails: coBenefitsAssessmentDetails })); });
|
21967
|
+
setIsAssessmentFormValid(isFormValid);
|
21994
21968
|
};
|
21995
21969
|
var onSafeguardFormSubmit = function (safeguardDetails) {
|
21996
21970
|
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { safeguardDetails: safeguardDetails })); });
|
@@ -23225,7 +23199,7 @@ var CreditTransferComponent = function (props) {
|
|
23225
23199
|
{
|
23226
23200
|
key: "programmeTitle",
|
23227
23201
|
operation: "like",
|
23228
|
-
value: "".concat(search, "%"),
|
23202
|
+
value: "%".concat(search, "%"),
|
23229
23203
|
},
|
23230
23204
|
];
|
23231
23205
|
if (!isNaN(Number(search))) {
|
@@ -23483,7 +23457,7 @@ var CreditTransferComponent = function (props) {
|
|
23483
23457
|
style: "color-primary",
|
23484
23458
|
click: function () {
|
23485
23459
|
showModalOnAction(record, {
|
23486
|
-
title: t("creditTransfer:
|
23460
|
+
title: t("creditTransfer:acceptTitle"),
|
23487
23461
|
icon: React.createElement(Icon.ClipboardCheck, null),
|
23488
23462
|
actionBtnText: t("creditTransfer:proceed"),
|
23489
23463
|
okAction: function (requestId, comment) {
|
@@ -23543,7 +23517,7 @@ var CreditTransferComponent = function (props) {
|
|
23543
23517
|
icon: React.createElement(Icon.XOctagon, null),
|
23544
23518
|
actionBtnText: t("creditTransfer:notrecognise"),
|
23545
23519
|
okAction: function (requestId, comment) {
|
23546
|
-
return handleRequestOk(requestId, comment, "transferReject", "".concat(t("creditTransfer:
|
23520
|
+
return handleRequestOk(requestId, comment, "transferReject", "".concat(t("creditTransfer:internationalTransferReqRejected")));
|
23547
23521
|
},
|
23548
23522
|
type: "danger",
|
23549
23523
|
remarkRequired: true,
|
@@ -23831,7 +23805,7 @@ var CreditTransferComponent = function (props) {
|
|
23831
23805
|
}, 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 }))));
|
23832
23806
|
};
|
23833
23807
|
|
23834
|
-
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";
|
23808
|
+
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";
|
23835
23809
|
styleInject(css_248z$c);
|
23836
23810
|
|
23837
23811
|
var MrvPieChartsStatComponent = function (props) {
|
@@ -25562,215 +25536,19 @@ var optionDonutPieB = {
|
|
25562
25536
|
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";
|
25563
25537
|
styleInject(css_248z$8);
|
25564
25538
|
|
25565
|
-
var toolTipTextGen = function (companyRole, cardType, mine) {
|
25566
|
-
var text = '';
|
25567
|
-
if (companyRole === CompanyRole.GOVERNMENT) {
|
25568
|
-
if (cardType === StatsCardsTypes.PROGRAMMES_PENDING) {
|
25569
|
-
text = 'Pending state projects awaiting authorisation';
|
25570
|
-
}
|
25571
|
-
else if (cardType === StatsCardsTypes.TRANSFER_REQUEST_SENT) {
|
25572
|
-
text =
|
25573
|
-
'Pending credit transfer requests sent to project owners initiated by your organisation';
|
25574
|
-
}
|
25575
|
-
else if (cardType === StatsCardsTypes.CREDIT_BALANCE) {
|
25576
|
-
text = 'Total credit balance owned by your organisation';
|
25577
|
-
}
|
25578
|
-
else if (cardType === StatsCardsTypes.PROGRAMMES) {
|
25579
|
-
text =
|
25580
|
-
'Number of projects created during the specified period and their project state in the carbon registry at present';
|
25581
|
-
}
|
25582
|
-
else if (cardType === StatsCardsTypes.CREDITS) {
|
25583
|
-
text =
|
25584
|
-
'Number of credits of projects created during the specified period and their credit state in the carbon registry at present';
|
25585
|
-
}
|
25586
|
-
else if (cardType === StatsCardsTypes.CERTIFIED_CREDITS) {
|
25587
|
-
text =
|
25588
|
-
'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present';
|
25589
|
-
}
|
25590
|
-
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES) {
|
25591
|
-
text =
|
25592
|
-
'Graphical representation of the number of projects created during the specified period in each project state in the carbon registry at present';
|
25593
|
-
}
|
25594
|
-
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
25595
|
-
text =
|
25596
|
-
'Graphical representation of the number of projects in each project sector created during the specified time in the carbon registry';
|
25597
|
-
}
|
25598
|
-
else if (cardType === StatsCardsTypes.TOTAL_CREDITS) {
|
25599
|
-
text =
|
25600
|
-
'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
|
25601
|
-
}
|
25602
|
-
else if (cardType === StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
25603
|
-
text =
|
25604
|
-
'Graphical representation of the number of credits of projects created during the specified period certified, uncertified and revoked in the carbon registry at present';
|
25605
|
-
}
|
25606
|
-
else if (cardType === StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
25607
|
-
text =
|
25608
|
-
'Locations of the projects created during the specified period and their project states in the carbon registry at present';
|
25609
|
-
}
|
25610
|
-
else if (cardType === StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
25611
|
-
text =
|
25612
|
-
'Locations of credits of international transfer requests recognised during the specified period';
|
25613
|
-
}
|
25614
|
-
}
|
25615
|
-
else if (companyRole === CompanyRole.PROGRAMME_DEVELOPER) {
|
25616
|
-
if (cardType === StatsCardsTypes.TRANSFER_REQUEST_RECEIVED) {
|
25617
|
-
text = 'Pending credit transfer requests received by your organisation';
|
25618
|
-
}
|
25619
|
-
else if (cardType === StatsCardsTypes.TRANSFER_REQUEST_SENT) {
|
25620
|
-
text = 'Pending local credit transfer requests initiated by your organisation';
|
25621
|
-
}
|
25622
|
-
else if (cardType === StatsCardsTypes.CREDIT_BALANCE) {
|
25623
|
-
text = 'Total credit balance owned by your organisation';
|
25624
|
-
}
|
25625
|
-
else if (cardType === StatsCardsTypes.PROGRAMMES) {
|
25626
|
-
text =
|
25627
|
-
'Number of projects created during the specified period and their project state in the carbon registry at present, owned by your organisation';
|
25628
|
-
}
|
25629
|
-
else if (cardType === StatsCardsTypes.CREDITS) {
|
25630
|
-
text =
|
25631
|
-
'Number of credits of projects created during the specified period and their credit state in the carbon registry at present, owned by your organisation';
|
25632
|
-
}
|
25633
|
-
else if (cardType === StatsCardsTypes.CERTIFIED_CREDITS) {
|
25634
|
-
text =
|
25635
|
-
'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present, owned by your organisation';
|
25636
|
-
}
|
25637
|
-
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES) {
|
25638
|
-
text =
|
25639
|
-
'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';
|
25640
|
-
}
|
25641
|
-
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
25642
|
-
text =
|
25643
|
-
'Graphical representation of the number of projects owned by your organisation, in each project sector created during the specified time in the carbon registry';
|
25644
|
-
}
|
25645
|
-
else if (cardType === StatsCardsTypes.TOTAL_CREDITS) {
|
25646
|
-
text =
|
25647
|
-
'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';
|
25648
|
-
}
|
25649
|
-
else if (cardType === StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
25650
|
-
text =
|
25651
|
-
'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';
|
25652
|
-
}
|
25653
|
-
else if (cardType === StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
25654
|
-
text =
|
25655
|
-
'Locations of the projects created during the specified period, owned by your organisation, and their project states in the carbon registry at present';
|
25656
|
-
}
|
25657
|
-
else if (cardType === StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
25658
|
-
text =
|
25659
|
-
'Locations of credits international transfer requests of projects owned by your organisation recognised during the specified period';
|
25660
|
-
}
|
25661
|
-
}
|
25662
|
-
else if (companyRole === CompanyRole.CERTIFIER && mine === true) {
|
25663
|
-
if (cardType === StatsCardsTypes.PROGRAMMES_UNCERTIFIED) {
|
25664
|
-
text =
|
25665
|
-
'Number of projects not yet certified including certificates revoked by your organisation';
|
25666
|
-
}
|
25667
|
-
else if (cardType === StatsCardsTypes.PROGRAMMES_CERTIFIED) {
|
25668
|
-
text = 'Number of projects certified by your organisation';
|
25669
|
-
}
|
25670
|
-
else if (cardType === StatsCardsTypes.CREDIT_CERTIFIED) {
|
25671
|
-
text = 'Number of credits certified by your organisation';
|
25672
|
-
}
|
25673
|
-
else if (cardType === StatsCardsTypes.PROGRAMMES) {
|
25674
|
-
text =
|
25675
|
-
'Number of projects created during the specified period, certified by your organisation, and their project state in the carbon registry at present';
|
25676
|
-
}
|
25677
|
-
else if (cardType === StatsCardsTypes.CREDITS) {
|
25678
|
-
text =
|
25679
|
-
'Number of credits of projects created during the specified period, certified by your organisation and their credit state in the carbon registry at present';
|
25680
|
-
}
|
25681
|
-
else if (cardType === StatsCardsTypes.CERTIFIED_CREDITS) {
|
25682
|
-
text =
|
25683
|
-
'Number of credits of projects created during the specified period, certified by your organisation, uncertified, certified and revoked in the carbon registry at present';
|
25684
|
-
}
|
25685
|
-
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES) {
|
25686
|
-
text =
|
25687
|
-
'Graphical representation of the number of projects in each project sector created during the specified time, certified by your company, in the carbon registry';
|
25688
|
-
}
|
25689
|
-
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
25690
|
-
text =
|
25691
|
-
'Graphical representation of the number of projects in each project sector created during the specified time, certified by your company, in the carbon registry';
|
25692
|
-
}
|
25693
|
-
else if (cardType === StatsCardsTypes.TOTAL_CREDITS) {
|
25694
|
-
text =
|
25695
|
-
'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
|
25696
|
-
}
|
25697
|
-
else if (cardType === StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
25698
|
-
text =
|
25699
|
-
'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';
|
25700
|
-
}
|
25701
|
-
else if (cardType === StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
25702
|
-
text =
|
25703
|
-
'Locations of the projects created during the specified period, certified by your organisation, and their project states in the carbon registry at present';
|
25704
|
-
}
|
25705
|
-
else if (cardType === StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
25706
|
-
text =
|
25707
|
-
'Locations of credits of international transfer requests of projects certified by your organisation recognised during the specified period';
|
25708
|
-
}
|
25709
|
-
}
|
25710
|
-
else if (companyRole === CompanyRole.CERTIFIER && !mine) {
|
25711
|
-
if (cardType === StatsCardsTypes.PROGRAMMES_UNCERTIFIED) {
|
25712
|
-
text =
|
25713
|
-
'Number of projects not yet certified including certificates revoked by your organisation';
|
25714
|
-
}
|
25715
|
-
else if (cardType === StatsCardsTypes.PROGRAMMES_CERTIFIED) {
|
25716
|
-
text = 'Number of projects certified by your organisation';
|
25717
|
-
}
|
25718
|
-
else if (cardType === StatsCardsTypes.CREDIT_CERTIFIED) {
|
25719
|
-
text = 'Number of credits certified by your organisation';
|
25720
|
-
}
|
25721
|
-
else if (cardType === StatsCardsTypes.PROGRAMMES) {
|
25722
|
-
text =
|
25723
|
-
'Number of projects created during the specified period and their project state in the carbon registry at present';
|
25724
|
-
}
|
25725
|
-
else if (cardType === StatsCardsTypes.CREDITS) {
|
25726
|
-
text =
|
25727
|
-
'Number of credits of projects created during the specified period and their credit state in the carbon registry at present';
|
25728
|
-
}
|
25729
|
-
else if (cardType === StatsCardsTypes.CERTIFIED_CREDITS) {
|
25730
|
-
text =
|
25731
|
-
'Number of credits of projects created during the specified period, uncertified, certified and revoked in the carbon registry at present';
|
25732
|
-
}
|
25733
|
-
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES) {
|
25734
|
-
text =
|
25735
|
-
'Graphical representation of the number of projects created during the specified period in each project state in the carbon registry at present';
|
25736
|
-
}
|
25737
|
-
else if (cardType === StatsCardsTypes.TOTAL_PROGRAMMES_SECTOR) {
|
25738
|
-
text =
|
25739
|
-
'Graphical representation of the number of projects in each project sector created during the specified time in the carbon registry';
|
25740
|
-
}
|
25741
|
-
else if (cardType === StatsCardsTypes.TOTAL_CREDITS) {
|
25742
|
-
text =
|
25743
|
-
'Graphical representation of the number of credits of projects created during the specified period in each credit state in the carbon registry at present';
|
25744
|
-
}
|
25745
|
-
else if (cardType === StatsCardsTypes.TOTAL_CREDITS_CERTIFIED) {
|
25746
|
-
text =
|
25747
|
-
'Graphical representation of the number of credits of projects created during the specified period certified, uncertified and revoked in the carbon registry at present';
|
25748
|
-
}
|
25749
|
-
else if (cardType === StatsCardsTypes.PROGRAMME_LOCATIONS) {
|
25750
|
-
text =
|
25751
|
-
'Locations of the projects created during the specified period and their project states in the carbon registry at present';
|
25752
|
-
}
|
25753
|
-
else if (cardType === StatsCardsTypes.TRANSFER_LOCATIONS_INTERNATIONAL) {
|
25754
|
-
text =
|
25755
|
-
'Locations of credits of international transfer requests recognised during the specified period';
|
25756
|
-
}
|
25757
|
-
}
|
25758
|
-
return text;
|
25759
|
-
};
|
25760
|
-
|
25761
25539
|
var StasticCard = function (props) {
|
25762
|
-
var value = props.value, title = props.title, updatedDate = props.updatedDate, icon = props.icon, loading = props.loading
|
25540
|
+
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;
|
25763
25541
|
return (React.createElement("div", { className: "stastic-card-main-container" }, loading ? (React.createElement(Skeleton, { active: true })) : (React.createElement(React.Fragment, null,
|
25764
25542
|
React.createElement("div", { className: "title-section" },
|
25765
|
-
React.createElement("div", { className: "title" }, title),
|
25543
|
+
React.createElement("div", { className: "title" }, t(title)),
|
25766
25544
|
React.createElement("div", { className: "info-container" },
|
25767
|
-
React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "bottomRight", trigger: "hover", title:
|
25545
|
+
React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "bottomRight", trigger: "hover", title: tooltip },
|
25768
25546
|
React.createElement(InfoCircle, { color: "#000000", size: 17 })))),
|
25769
25547
|
React.createElement("div", { className: "values-section" },
|
25770
25548
|
React.createElement("div", { className: "values-and-unit" },
|
25771
|
-
title.includes(
|
25772
|
-
React.createElement("div", { className: "value" }, title.includes(
|
25773
|
-
? value === 0 || String(value) ===
|
25549
|
+
title.includes("credit") && React.createElement("div", { className: "unit" }, "ITMOs"),
|
25550
|
+
React.createElement("div", { className: "value" }, title.includes("credit")
|
25551
|
+
? value === 0 || String(value) === "NaN"
|
25774
25552
|
? 0
|
25775
25553
|
: addCommSep(value)
|
25776
25554
|
: value)),
|
@@ -27376,54 +27154,69 @@ var RegistryDashboardComponent = function (props) {
|
|
27376
27154
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27377
27155
|
CompanyRole.PROGRAMME_DEVELOPER
|
27378
27156
|
? transferRequestReceived
|
27379
|
-
: programmesUnCertifed, title:
|
27157
|
+
: programmesUnCertifed, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27380
27158
|
? "programmesPending"
|
27381
27159
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27382
27160
|
CompanyRole.PROGRAMME_DEVELOPER
|
27383
27161
|
? "trasnferReqReceived"
|
27384
|
-
: "programmesUnCertified"
|
27162
|
+
: "programmesUnCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27385
27163
|
? lastUpdateProgrammesStats
|
27386
27164
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27387
27165
|
CompanyRole.PROGRAMME_DEVELOPER
|
27388
27166
|
? lastUpdatePendingTransferReceived
|
27389
27167
|
: lastUpdateProgrammesCertifiable, icon: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT ? (React.createElement(ClockHistory, { color: "#16B1FF", size: 80 })) : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27390
|
-
CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(BoxArrowInRight, { color: "#16B1FF", size: 80 })) : (React.createElement(ShieldX, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole
|
27168
|
+
CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(BoxArrowInRight, { color: "#16B1FF", size: 80 })) : (React.createElement(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) === CompanyRole.GOVERNMENT
|
27169
|
+
? "tTprogrammespendingGoverment"
|
27170
|
+
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27171
|
+
CompanyRole.PROGRAMME_DEVELOPER
|
27172
|
+
? "tTTransferReqRecProgrammeDev"
|
27173
|
+
: "tTProgrammesUnCertiCertifier"), t: t })),
|
27391
27174
|
React.createElement(Col, { xxl: 8, xl: 8, md: 12, className: "stastic-card-col" },
|
27392
27175
|
React.createElement(StasticCard, { value: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27393
27176
|
? transferRequestSent
|
27394
27177
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27395
27178
|
CompanyRole.PROGRAMME_DEVELOPER
|
27396
27179
|
? transferRequestSent
|
27397
|
-
: programmesCertifed, title:
|
27180
|
+
: programmesCertifed, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27398
27181
|
? "trasnferReqInit"
|
27399
27182
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27400
27183
|
CompanyRole.PROGRAMME_DEVELOPER
|
27401
27184
|
? "trasnferReqInit"
|
27402
|
-
: "programmesCertified"
|
27185
|
+
: "programmesCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27403
27186
|
? lastUpdatePendingTransferSent
|
27404
27187
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27405
27188
|
CompanyRole.PROGRAMME_DEVELOPER
|
27406
27189
|
? lastUpdatePendingTransferSent
|
27407
27190
|
: lastUpdateProgrammesCertified, icon: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT ? (React.createElement(BoxArrowRight, { color: "#16B1FF", size: 80 })) : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27408
|
-
CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(BoxArrowRight, { color: "#16B1FF", size: 80 })) : (React.createElement(ShieldCheck, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole
|
27191
|
+
CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(BoxArrowRight, { color: "#16B1FF", size: 80 })) : (React.createElement(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) === CompanyRole.GOVERNMENT
|
27192
|
+
? "tTTransferReqSentGovernment"
|
27193
|
+
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27194
|
+
CompanyRole.PROGRAMME_DEVELOPER
|
27195
|
+
? "tTTransferReqInitProgrammeDev"
|
27196
|
+
: "tTProgrammesCertiCertifier"), t: t })),
|
27409
27197
|
React.createElement(Col, { xxl: 8, xl: 8, md: 12, className: "stastic-card-col" },
|
27410
27198
|
React.createElement(StasticCard, { value: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27411
27199
|
? creditBalanceWithoutTimeRange
|
27412
27200
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27413
27201
|
CompanyRole.PROGRAMME_DEVELOPER
|
27414
27202
|
? creditBalanceWithoutTimeRange
|
27415
|
-
: creditCertiedBalanceWithoutTimeRange, title:
|
27203
|
+
: creditCertiedBalanceWithoutTimeRange, title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27416
27204
|
? "creditBal"
|
27417
27205
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27418
27206
|
CompanyRole.PROGRAMME_DEVELOPER
|
27419
27207
|
? "creditBal"
|
27420
|
-
: "creditCertified"
|
27208
|
+
: "creditCertified", updatedDate: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT
|
27421
27209
|
? lastUpdateCreditBalance
|
27422
27210
|
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27423
27211
|
CompanyRole.PROGRAMME_DEVELOPER
|
27424
27212
|
? lastUpdateCreditBalance
|
27425
27213
|
: lastUpdateProgrammesCertified, icon: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT ? (React.createElement(Gem, { color: "#16B1FF", size: 80 })) : (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27426
|
-
CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(Gem, { color: "#16B1FF", size: 80 })) : (React.createElement(ShieldExclamation, { color: "#16B1FF", size: 80 })), loading: loadingWithoutTimeRange, companyRole: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole
|
27214
|
+
CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(Gem, { color: "#16B1FF", size: 80 })) : (React.createElement(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) === CompanyRole.GOVERNMENT
|
27215
|
+
? "tTCreditBalanceGovernment"
|
27216
|
+
: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
27217
|
+
CompanyRole.PROGRAMME_DEVELOPER
|
27218
|
+
? "tTCreditBalanceProgrammeDev"
|
27219
|
+
: "tTCreditCertifiedCertifier"), t: t })))),
|
27427
27220
|
((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.GOVERNMENT ||
|
27428
27221
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.CERTIFIER ||
|
27429
27222
|
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.MINISTRY) &&
|
@@ -28733,7 +28526,7 @@ var ProgrammeRetireForm = function (props) {
|
|
28733
28526
|
{
|
28734
28527
|
key: "name",
|
28735
28528
|
operation: "like",
|
28736
|
-
value: newValue.charAt(0).toUpperCase() + newValue.slice(1) + "%",
|
28529
|
+
value: "%" + newValue.charAt(0).toUpperCase() + newValue.slice(1) + "%",
|
28737
28530
|
},
|
28738
28531
|
],
|
28739
28532
|
sort: {
|
@@ -28834,7 +28627,7 @@ var ProgrammeRetireForm = function (props) {
|
|
28834
28627
|
// programme.companyId.map((n) => Number(n));
|
28835
28628
|
// d.companyCredit = d.companyCredit.map((n: any) => (n === undefined ? 0 : n));
|
28836
28629
|
d.toCompanyMeta = {
|
28837
|
-
name:
|
28630
|
+
name: d.company,
|
28838
28631
|
country: d.country,
|
28839
28632
|
};
|
28840
28633
|
}
|
@@ -29065,7 +28858,7 @@ var ProgrammeTransferForm = function (props) {
|
|
29065
28858
|
{
|
29066
28859
|
key: "name",
|
29067
28860
|
operation: "like",
|
29068
|
-
value: newValue + "%",
|
28861
|
+
value: "%" + newValue + "%",
|
29069
28862
|
},
|
29070
28863
|
{
|
29071
28864
|
key: "companyRole",
|
@@ -29271,7 +29064,7 @@ var RejectDocumentationConfirmationModel = function (props) {
|
|
29271
29064
|
React.createElement(Button, { className: "mg-left-2", type: "primary", danger: true, htmlType: "submit", loading: loading, disabled: actionInfo.type === "reject" && comment === "" }, "REJECT")))));
|
29272
29065
|
};
|
29273
29066
|
|
29274
|
-
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:
|
29067
|
+
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";
|
29275
29068
|
styleInject(css_248z$5);
|
29276
29069
|
|
29277
29070
|
var NdcActionBody = function (props) {
|
@@ -29565,12 +29358,12 @@ var NdcActionBody = function (props) {
|
|
29565
29358
|
? {
|
29566
29359
|
color: "#3F3A47",
|
29567
29360
|
cursor: "pointer",
|
29568
|
-
margin: "0px 0px
|
29361
|
+
margin: "0px 0px 2.5px 0px",
|
29569
29362
|
}
|
29570
29363
|
: {
|
29571
29364
|
color: "#cacaca",
|
29572
29365
|
cursor: "default",
|
29573
|
-
margin: "0px 0px
|
29366
|
+
margin: "0px 0px 2.5px 0px",
|
29574
29367
|
}, onClick: function () {
|
29575
29368
|
if (canUploadMonitorReport &&
|
29576
29369
|
uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
@@ -29597,12 +29390,12 @@ var NdcActionBody = function (props) {
|
|
29597
29390
|
? {
|
29598
29391
|
color: "#3F3A47",
|
29599
29392
|
cursor: "pointer",
|
29600
|
-
margin: "0px 0px
|
29393
|
+
margin: "0px 0px 2.5px 0px",
|
29601
29394
|
}
|
29602
29395
|
: {
|
29603
29396
|
color: "#cacaca",
|
29604
29397
|
cursor: "default",
|
29605
|
-
margin: "0px 0px
|
29398
|
+
margin: "0px 0px 2.5px 0px",
|
29606
29399
|
}, onClick: function () {
|
29607
29400
|
if (canUploadMonitorReport &&
|
29608
29401
|
uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
@@ -29655,12 +29448,12 @@ var NdcActionBody = function (props) {
|
|
29655
29448
|
? {
|
29656
29449
|
color: "#3F3A47",
|
29657
29450
|
cursor: "pointer",
|
29658
|
-
margin: "0px 0px
|
29451
|
+
margin: "0px 0px 2.5px 0px",
|
29659
29452
|
}
|
29660
29453
|
: {
|
29661
29454
|
color: "#cacaca",
|
29662
29455
|
cursor: "default",
|
29663
|
-
margin: "0px 0px
|
29456
|
+
margin: "0px 0px 2.5px 0px",
|
29664
29457
|
}, onClick: function () {
|
29665
29458
|
if (monitoringReportAccepted &&
|
29666
29459
|
uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
@@ -29687,12 +29480,12 @@ var NdcActionBody = function (props) {
|
|
29687
29480
|
? {
|
29688
29481
|
color: "#3F3A47",
|
29689
29482
|
cursor: "pointer",
|
29690
|
-
margin: "0px 0px
|
29483
|
+
margin: "0px 0px 2.5px 0px",
|
29691
29484
|
}
|
29692
29485
|
: {
|
29693
29486
|
color: "#cacaca",
|
29694
29487
|
cursor: "default",
|
29695
|
-
margin: "0px 0px
|
29488
|
+
margin: "0px 0px 2.5px 0px",
|
29696
29489
|
}, onClick: function () {
|
29697
29490
|
if (monitoringReportAccepted &&
|
29698
29491
|
uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
|