@undp/carbon-library 1.0.136-CARBON-343.0 → 1.0.136-support-section-changes.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +1059 -414
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/Support/AddNewSupport/supportCreationComponent.d.ts +3 -0
- package/dist/cjs/types/Components/Support/SupportManagement/supportManagementComponent.d.ts +4 -0
- package/dist/cjs/types/Components/index.d.ts +2 -1
- package/dist/cjs/types/Definitions/Enums/investment.enum.d.ts +4 -0
- package/dist/esm/index.js +1059 -415
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/Support/AddNewSupport/supportCreationComponent.d.ts +3 -0
- package/dist/esm/types/Components/Support/SupportManagement/supportManagementComponent.d.ts +4 -0
- package/dist/esm/types/Components/index.d.ts +2 -1
- package/dist/esm/types/Definitions/Enums/investment.enum.d.ts +4 -0
- package/dist/index.d.ts +9 -3
- package/package.json +1 -1
- package/dist/cjs/types/Components/Common/AntComponents/antTableComponents.d.ts +0 -21
- package/dist/cjs/types/Components/Ndc/ndcDetailsComponent.d.ts +0 -3
- package/dist/esm/types/Components/Common/AntComponents/antTableComponents.d.ts +0 -21
- package/dist/esm/types/Components/Ndc/ndcDetailsComponent.d.ts +0 -3
package/dist/cjs/index.js
CHANGED
@@ -12,6 +12,7 @@ var Icon = require('react-bootstrap-icons');
|
|
12
12
|
require('react-phone-number-input/style.css');
|
13
13
|
var mapboxgl = require('mapbox-gl');
|
14
14
|
require('mapbox-gl/dist/mapbox-gl.css');
|
15
|
+
var ApexCharts = require('react-apexcharts');
|
15
16
|
|
16
17
|
function _interopNamespaceDefault(e) {
|
17
18
|
var n = Object.create(null);
|
@@ -924,6 +925,11 @@ exports.InvestmentType = void 0;
|
|
924
925
|
InvestmentType["PUBLIC"] = "Public";
|
925
926
|
InvestmentType["PRIVATE"] = "Private";
|
926
927
|
})(exports.InvestmentType || (exports.InvestmentType = {}));
|
928
|
+
exports.InvestmentCreationType = void 0;
|
929
|
+
(function (InvestmentCreationType) {
|
930
|
+
InvestmentCreationType["EXISTING"] = "Existing";
|
931
|
+
InvestmentCreationType["NEW"] = "New";
|
932
|
+
})(exports.InvestmentCreationType || (exports.InvestmentCreationType = {}));
|
927
933
|
exports.InvestmentStream = void 0;
|
928
934
|
(function (InvestmentStream) {
|
929
935
|
InvestmentStream["CLIMATE_FINANCE"] = "ClimateFinance";
|
@@ -13996,7 +14002,7 @@ var UserManagementComponent = function (props) {
|
|
13996
14002
|
React.createElement(UserActionConfirmationModel, { t: t, actionInfo: actionInfo, onActionConfirmed: handleOk, onActionCanceled: handleCancel, openModal: openDeleteConfirmationModal, errorMsg: errorMsg, loading: loading })));
|
13997
14003
|
};
|
13998
14004
|
|
13999
|
-
var css_248z$i = ".steps-actions {\n text-align: right; }\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";
|
14005
|
+
var css_248z$i = ".steps-actions {\n text-align: right; }\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";
|
14000
14006
|
styleInject(css_248z$i);
|
14001
14007
|
|
14002
14008
|
var Loading = function () {
|
@@ -14051,7 +14057,7 @@ var InvestmentCreationComponent = function (props) {
|
|
14051
14057
|
value: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyId,
|
14052
14058
|
});
|
14053
14059
|
}
|
14054
|
-
for (_i = 0, _a = data.companyId; _i < _a.length; _i++) {
|
14060
|
+
for (_i = 0, _a = data === null || data === void 0 ? void 0 : data.companyId; _i < _a.length; _i++) {
|
14055
14061
|
c = _a[_i];
|
14056
14062
|
filterAnd.push({
|
14057
14063
|
key: "companyId",
|
@@ -14082,22 +14088,28 @@ var InvestmentCreationComponent = function (props) {
|
|
14082
14088
|
});
|
14083
14089
|
}); };
|
14084
14090
|
React.useEffect(function () {
|
14091
|
+
console.log("state ---------------- > ", state);
|
14085
14092
|
if (!state) {
|
14086
14093
|
onNavigateToProgrammeManagementView();
|
14087
14094
|
return;
|
14088
14095
|
}
|
14089
|
-
|
14096
|
+
if (state === null || state === void 0 ? void 0 : state.record) {
|
14097
|
+
setData(state === null || state === void 0 ? void 0 : state.record);
|
14098
|
+
}
|
14099
|
+
else {
|
14100
|
+
setData({});
|
14101
|
+
}
|
14090
14102
|
}, []);
|
14091
14103
|
React.useEffect(function () {
|
14092
14104
|
getOrganisationsDetails();
|
14093
14105
|
}, [data]);
|
14094
|
-
if (!data) {
|
14106
|
+
if (!data || !(state === null || state === void 0 ? void 0 : state.ownership)) {
|
14095
14107
|
return React.createElement(Loading, null);
|
14096
14108
|
}
|
14097
14109
|
var companyName = {};
|
14098
|
-
for (var _i = 0, _j = data.company; _i < _j.length; _i++) {
|
14110
|
+
for (var _i = 0, _j = data === null || data === void 0 ? void 0 : data.company; _i < _j.length; _i++) {
|
14099
14111
|
var company = _j[_i];
|
14100
|
-
companyName[company.companyId] = company;
|
14112
|
+
companyName[company === null || company === void 0 ? void 0 : company.companyId] = company;
|
14101
14113
|
}
|
14102
14114
|
if (!data.proponentPercentage) {
|
14103
14115
|
data.proponentPercentage = [100];
|
@@ -14184,6 +14196,17 @@ var InvestmentCreationComponent = function (props) {
|
|
14184
14196
|
description: current === 0 && (React.createElement("div", { className: "investment-sought-form-container" },
|
14185
14197
|
React.createElement("div", { className: "investment-sought-form" },
|
14186
14198
|
React.createElement(antd.Form, { labelCol: { span: 20 }, wrapperCol: { span: 24 }, name: "investment-sought", className: "investment-sought-form", layout: "vertical", requiredMark: true, form: formOne, onFinish: nextOne },
|
14199
|
+
React.createElement(antd.Row, { className: "row", gutter: [4, 4] },
|
14200
|
+
React.createElement(antd.Col, { xl: 8, md: 12 },
|
14201
|
+
React.createElement(antd.Form.Item, { label: t("programme:typeCreation"), wrapperCol: { span: 13 }, className: "role-group", name: "typeCreation", rules: [
|
14202
|
+
{
|
14203
|
+
required: true,
|
14204
|
+
},
|
14205
|
+
] },
|
14206
|
+
React.createElement(antd.Radio.Group, { size: "large", defaultValue: "New" }, Object.values(exports.InvestmentCreationType).map(function (k, index) { return (React.createElement("div", { className: "condition-radio-container" },
|
14207
|
+
React.createElement(antd.Radio.Button, { className: "condition-radio", value: k, onClick: function (e) {
|
14208
|
+
return deselectOnClick(e, "type");
|
14209
|
+
} }, t("programme:" + k)))); }))))),
|
14187
14210
|
React.createElement(antd.Row, { className: "row", gutter: [16, 16] },
|
14188
14211
|
React.createElement(antd.Col, { xl: 12, md: 24 },
|
14189
14212
|
React.createElement("div", { className: "details-part-one" },
|
@@ -14389,7 +14412,7 @@ var InvestmentCreationComponent = function (props) {
|
|
14389
14412
|
React.createElement("div", { className: "step-count" }, "02"),
|
14390
14413
|
React.createElement("div", { className: "title" }, t("programme:ownership")))),
|
14391
14414
|
description: current === 1 && (React.createElement("div", null,
|
14392
|
-
React.createElement("div", { className: "programme-sought-form-container ownership-container" },
|
14415
|
+
React.createElement("div", { className: "programme-sought-form-container ownership-container" }, (state === null || state === void 0 ? void 0 : state.ownership) !== true &&
|
14393
14416
|
React.createElement("div", { className: "programme-sought-form" },
|
14394
14417
|
React.createElement(antd.Form, { labelCol: { span: 20 }, wrapperCol: { span: 24 }, form: formTwo, name: "investment-sought", className: "investment-sought-form", layout: "vertical", requiredMark: true, onChange: onPercentageChange, onFinish: submitInvestment }, data === null || data === void 0 ? void 0 :
|
14395
14418
|
data.companyId.map(function (companyId, index) {
|
@@ -14460,113 +14483,1001 @@ var InvestmentCreationComponent = function (props) {
|
|
14460
14483
|
] })))));
|
14461
14484
|
};
|
14462
14485
|
|
14463
|
-
var InvestmentActionModel = function (props) {
|
14464
|
-
var investment = props.investment, onFinish = props.onFinish, onCancel = props.onCancel, actionBtnText = props.actionBtnText; props.subText; var openModal = props.openModal, title = props.title, icon = props.icon, type = props.type, remarkRequired = props.remarkRequired, translator = props.translator;
|
14465
|
-
var _a = React.useState(undefined), popupError = _a[0], setPopupError = _a[1];
|
14466
|
-
var _b = React.useState(false), loading = _b[0], setLoading = _b[1];
|
14467
|
-
var _c = React.useState(false), checked = _c[0], setChecked = _c[1];
|
14468
|
-
var t = translator.t;
|
14469
|
-
var companyList = !investment.isRetirement
|
14470
|
-
? [
|
14471
|
-
{
|
14472
|
-
value: investment.toCompanyId,
|
14473
|
-
label: investment.receiver[0].name,
|
14474
|
-
},
|
14475
|
-
]
|
14476
|
-
: [
|
14477
|
-
{
|
14478
|
-
value: investment.fromCompanyId,
|
14479
|
-
label: investment.sender[0].name,
|
14480
|
-
},
|
14481
|
-
];
|
14482
|
-
return (React.createElement(antd.Modal, { title: React.createElement("div", { className: "popup-header" },
|
14483
|
-
React.createElement("div", { className: "icon" }, icon),
|
14484
|
-
React.createElement("div", null, title)), className: "popup-" + type, open: openModal, width: Math.min(430, window.innerWidth), centered: true, footer: null, onCancel: onCancel, destroyOnClose: true },
|
14485
|
-
React.createElement("div", { className: "transfer-form" },
|
14486
|
-
React.createElement(antd.Form, { name: "transfer_init_popup", layout: "vertical", initialValues: {
|
14487
|
-
toCompanyId: !investment.isRetirement
|
14488
|
-
? investment.toCompanyId
|
14489
|
-
: investment.fromCompanyId,
|
14490
|
-
programmeName: investment.programmeTitle,
|
14491
|
-
serialNo: investment.serialNo,
|
14492
|
-
creditAmount: investment.creditAmount,
|
14493
|
-
company: investment.toCompanyMeta
|
14494
|
-
? investment.toCompanyMeta.name
|
14495
|
-
: null,
|
14496
|
-
country: investment.toCompanyMeta
|
14497
|
-
? investment.toCompanyMeta.country
|
14498
|
-
: null,
|
14499
|
-
countryName: investment.toCompanyMeta
|
14500
|
-
? investment.toCompanyMeta.countryName
|
14501
|
-
: null,
|
14502
|
-
}, onChange: function () { return setPopupError(undefined); }, onFinish: function (d) { return __awaiter(void 0, void 0, void 0, function () {
|
14503
|
-
var res;
|
14504
|
-
return __generator(this, function (_a) {
|
14505
|
-
switch (_a.label) {
|
14506
|
-
case 0:
|
14507
|
-
setLoading(true);
|
14508
|
-
if (d.comment) {
|
14509
|
-
d.comment = d.comment.trim();
|
14510
|
-
}
|
14511
|
-
return [4 /*yield*/, onFinish(investment.requestId, d.comment)];
|
14512
|
-
case 1:
|
14513
|
-
res = _a.sent();
|
14514
|
-
setPopupError(res);
|
14515
|
-
setLoading(false);
|
14516
|
-
return [2 /*return*/];
|
14517
|
-
}
|
14518
|
-
});
|
14519
|
-
}); } },
|
14520
|
-
React.createElement(antd.Row, null,
|
14521
|
-
React.createElement(antd.Col, { span: 24 },
|
14522
|
-
React.createElement(antd.Form.Item, { className: "remarks-label", label: t("view:from"), name: "toCompanyId" },
|
14523
|
-
React.createElement(antd.Select, { showSearch: true, disabled: true, placeholder: t("view:searchCompany"), showArrow: true, filterOption: false, options: companyList })))),
|
14524
|
-
React.createElement(antd.Row, null,
|
14525
|
-
React.createElement(antd.Col, { span: 24 },
|
14526
|
-
React.createElement(antd.Form.Item, { className: "remarks-label", label: t("view:programme"), name: "programmeName" },
|
14527
|
-
React.createElement(antd.Input, { disabled: true })))),
|
14528
|
-
React.createElement(antd.Row, null,
|
14529
|
-
React.createElement(antd.Col, { lg: 18, md: 20 },
|
14530
|
-
React.createElement("div", { className: "label" }, "".concat(t("view:ownershipPercentage")))),
|
14531
|
-
React.createElement(antd.Col, { lg: 6, md: 4 },
|
14532
|
-
React.createElement(antd.Form.Item, { className: "popup-credit-input" },
|
14533
|
-
React.createElement(antd.InputNumber, { placeholder: investment.percentage + "%", disabled: true })))),
|
14534
|
-
React.createElement(antd.Row, null,
|
14535
|
-
React.createElement(antd.Col, { span: 24 },
|
14536
|
-
React.createElement(antd.Form.Item, { className: "remarks-label", label: "Remarks", name: "comment", rules: [
|
14537
|
-
{
|
14538
|
-
required: remarkRequired,
|
14539
|
-
message: "Required field",
|
14540
|
-
},
|
14541
|
-
function (_a) {
|
14542
|
-
_a.getFieldValue;
|
14543
|
-
return ({
|
14544
|
-
validator: function (rule, v) {
|
14545
|
-
if (remarkRequired &&
|
14546
|
-
v !== undefined &&
|
14547
|
-
v !== "" &&
|
14548
|
-
v.trim() === "") {
|
14549
|
-
// eslint-disable-next-line prefer-promise-reject-errors
|
14550
|
-
return Promise.reject("Required field");
|
14551
|
-
}
|
14552
|
-
return Promise.resolve();
|
14553
|
-
},
|
14554
|
-
});
|
14555
|
-
},
|
14556
|
-
] },
|
14557
|
-
React.createElement(antd.Input.TextArea, { placeholder: "" })))),
|
14558
|
-
React.createElement(antd.Row, null,
|
14559
|
-
React.createElement(antd.Col, { span: 24 },
|
14560
|
-
React.createElement(antd.Form.Item, { className: "text-left", valuePropName: "checked", label: "", name: "confirm" },
|
14561
|
-
React.createElement(antd.Checkbox, { className: "label", onChange: function (v) { return setChecked(v.target.checked); } }, t("view:confirmClosure"))))),
|
14562
|
-
popupError ? (React.createElement(antd.Alert, { className: "error", message: popupError, type: "error", showIcon: true })) : (""),
|
14563
|
-
React.createElement(antd.Form.Item, { className: "footer" },
|
14564
|
-
React.createElement(antd.Button, { htmlType: "button", onClick: onCancel }, t("view:cancel")),
|
14565
|
-
React.createElement(antd.Button, { className: "mg-left-2", type: "primary", htmlType: "submit", loading: loading, disabled: !checked }, actionBtnText))))));
|
14566
|
-
};
|
14567
|
-
|
14568
|
-
var InvestmentManagementComponent = function (props) {
|
14569
|
-
var translator = props.translator, useConnection = props.useConnection, onNavigateToProgrammeView = props.onNavigateToProgrammeView, useUserContext = props.useUserContext, useSettingsContext = props.useSettingsContext;
|
14486
|
+
var InvestmentActionModel = function (props) {
|
14487
|
+
var investment = props.investment, onFinish = props.onFinish, onCancel = props.onCancel, actionBtnText = props.actionBtnText; props.subText; var openModal = props.openModal, title = props.title, icon = props.icon, type = props.type, remarkRequired = props.remarkRequired, translator = props.translator;
|
14488
|
+
var _a = React.useState(undefined), popupError = _a[0], setPopupError = _a[1];
|
14489
|
+
var _b = React.useState(false), loading = _b[0], setLoading = _b[1];
|
14490
|
+
var _c = React.useState(false), checked = _c[0], setChecked = _c[1];
|
14491
|
+
var t = translator.t;
|
14492
|
+
var companyList = !investment.isRetirement
|
14493
|
+
? [
|
14494
|
+
{
|
14495
|
+
value: investment.toCompanyId,
|
14496
|
+
label: investment.receiver[0].name,
|
14497
|
+
},
|
14498
|
+
]
|
14499
|
+
: [
|
14500
|
+
{
|
14501
|
+
value: investment.fromCompanyId,
|
14502
|
+
label: investment.sender[0].name,
|
14503
|
+
},
|
14504
|
+
];
|
14505
|
+
return (React.createElement(antd.Modal, { title: React.createElement("div", { className: "popup-header" },
|
14506
|
+
React.createElement("div", { className: "icon" }, icon),
|
14507
|
+
React.createElement("div", null, title)), className: "popup-" + type, open: openModal, width: Math.min(430, window.innerWidth), centered: true, footer: null, onCancel: onCancel, destroyOnClose: true },
|
14508
|
+
React.createElement("div", { className: "transfer-form" },
|
14509
|
+
React.createElement(antd.Form, { name: "transfer_init_popup", layout: "vertical", initialValues: {
|
14510
|
+
toCompanyId: !investment.isRetirement
|
14511
|
+
? investment.toCompanyId
|
14512
|
+
: investment.fromCompanyId,
|
14513
|
+
programmeName: investment.programmeTitle,
|
14514
|
+
serialNo: investment.serialNo,
|
14515
|
+
creditAmount: investment.creditAmount,
|
14516
|
+
company: investment.toCompanyMeta
|
14517
|
+
? investment.toCompanyMeta.name
|
14518
|
+
: null,
|
14519
|
+
country: investment.toCompanyMeta
|
14520
|
+
? investment.toCompanyMeta.country
|
14521
|
+
: null,
|
14522
|
+
countryName: investment.toCompanyMeta
|
14523
|
+
? investment.toCompanyMeta.countryName
|
14524
|
+
: null,
|
14525
|
+
}, onChange: function () { return setPopupError(undefined); }, onFinish: function (d) { return __awaiter(void 0, void 0, void 0, function () {
|
14526
|
+
var res;
|
14527
|
+
return __generator(this, function (_a) {
|
14528
|
+
switch (_a.label) {
|
14529
|
+
case 0:
|
14530
|
+
setLoading(true);
|
14531
|
+
if (d.comment) {
|
14532
|
+
d.comment = d.comment.trim();
|
14533
|
+
}
|
14534
|
+
return [4 /*yield*/, onFinish(investment.requestId, d.comment)];
|
14535
|
+
case 1:
|
14536
|
+
res = _a.sent();
|
14537
|
+
setPopupError(res);
|
14538
|
+
setLoading(false);
|
14539
|
+
return [2 /*return*/];
|
14540
|
+
}
|
14541
|
+
});
|
14542
|
+
}); } },
|
14543
|
+
React.createElement(antd.Row, null,
|
14544
|
+
React.createElement(antd.Col, { span: 24 },
|
14545
|
+
React.createElement(antd.Form.Item, { className: "remarks-label", label: t("view:from"), name: "toCompanyId" },
|
14546
|
+
React.createElement(antd.Select, { showSearch: true, disabled: true, placeholder: t("view:searchCompany"), showArrow: true, filterOption: false, options: companyList })))),
|
14547
|
+
React.createElement(antd.Row, null,
|
14548
|
+
React.createElement(antd.Col, { span: 24 },
|
14549
|
+
React.createElement(antd.Form.Item, { className: "remarks-label", label: t("view:programme"), name: "programmeName" },
|
14550
|
+
React.createElement(antd.Input, { disabled: true })))),
|
14551
|
+
React.createElement(antd.Row, null,
|
14552
|
+
React.createElement(antd.Col, { lg: 18, md: 20 },
|
14553
|
+
React.createElement("div", { className: "label" }, "".concat(t("view:ownershipPercentage")))),
|
14554
|
+
React.createElement(antd.Col, { lg: 6, md: 4 },
|
14555
|
+
React.createElement(antd.Form.Item, { className: "popup-credit-input" },
|
14556
|
+
React.createElement(antd.InputNumber, { placeholder: investment.percentage + "%", disabled: true })))),
|
14557
|
+
React.createElement(antd.Row, null,
|
14558
|
+
React.createElement(antd.Col, { span: 24 },
|
14559
|
+
React.createElement(antd.Form.Item, { className: "remarks-label", label: "Remarks", name: "comment", rules: [
|
14560
|
+
{
|
14561
|
+
required: remarkRequired,
|
14562
|
+
message: "Required field",
|
14563
|
+
},
|
14564
|
+
function (_a) {
|
14565
|
+
_a.getFieldValue;
|
14566
|
+
return ({
|
14567
|
+
validator: function (rule, v) {
|
14568
|
+
if (remarkRequired &&
|
14569
|
+
v !== undefined &&
|
14570
|
+
v !== "" &&
|
14571
|
+
v.trim() === "") {
|
14572
|
+
// eslint-disable-next-line prefer-promise-reject-errors
|
14573
|
+
return Promise.reject("Required field");
|
14574
|
+
}
|
14575
|
+
return Promise.resolve();
|
14576
|
+
},
|
14577
|
+
});
|
14578
|
+
},
|
14579
|
+
] },
|
14580
|
+
React.createElement(antd.Input.TextArea, { placeholder: "" })))),
|
14581
|
+
React.createElement(antd.Row, null,
|
14582
|
+
React.createElement(antd.Col, { span: 24 },
|
14583
|
+
React.createElement(antd.Form.Item, { className: "text-left", valuePropName: "checked", label: "", name: "confirm" },
|
14584
|
+
React.createElement(antd.Checkbox, { className: "label", onChange: function (v) { return setChecked(v.target.checked); } }, t("view:confirmClosure"))))),
|
14585
|
+
popupError ? (React.createElement(antd.Alert, { className: "error", message: popupError, type: "error", showIcon: true })) : (""),
|
14586
|
+
React.createElement(antd.Form.Item, { className: "footer" },
|
14587
|
+
React.createElement(antd.Button, { htmlType: "button", onClick: onCancel }, t("view:cancel")),
|
14588
|
+
React.createElement(antd.Button, { className: "mg-left-2", type: "primary", htmlType: "submit", loading: loading, disabled: !checked }, actionBtnText))))));
|
14589
|
+
};
|
14590
|
+
|
14591
|
+
var InvestmentManagementComponent = function (props) {
|
14592
|
+
var translator = props.translator, useConnection = props.useConnection, onNavigateToProgrammeView = props.onNavigateToProgrammeView, useUserContext = props.useUserContext, useSettingsContext = props.useSettingsContext, onClickAddOwnership = props.onClickAddOwnership, enableAddOwnership = props.enableAddOwnership;
|
14593
|
+
var t = translator.t;
|
14594
|
+
var statusOptions = Object.keys(exports.InvestmentStatus).map(function (k, index) { return ({
|
14595
|
+
label: addSpaces(Object.values(exports.InvestmentStatus)[index]),
|
14596
|
+
value: Object.values(exports.InvestmentStatus)[index],
|
14597
|
+
}); });
|
14598
|
+
var _a = React.useState(statusOptions.map(function (e) { return e.value; })), selectedStatus = _a[0], setSelectedStatus = _a[1];
|
14599
|
+
var _b = React.useState(false), indeterminate = _b[0], setIndeterminate = _b[1];
|
14600
|
+
var _c = React.useState(true), checkAll = _c[0], setCheckAll = _c[1];
|
14601
|
+
var userInfoState = useUserContext().userInfoState;
|
14602
|
+
var _d = useConnection(), post = _d.post; _d.get;
|
14603
|
+
var _e = React.useState(), totalProgramme = _e[0], setTotalProgramme = _e[1];
|
14604
|
+
var _f = React.useState(), dataFilter = _f[0]; _f[1];
|
14605
|
+
var _g = React.useState(false), loading = _g[0], setLoading = _g[1];
|
14606
|
+
var _h = React.useState([]), tableData = _h[0], setTableData = _h[1];
|
14607
|
+
var _j = React.useState(1), currentPage = _j[0], setCurrentPage = _j[1];
|
14608
|
+
var _k = React.useState(10), pageSize = _k[0], setPageSize = _k[1];
|
14609
|
+
var _l = React.useState(), search = _l[0], setSearch = _l[1];
|
14610
|
+
var _m = React.useState(), searchText = _m[0], setSearchText = _m[1];
|
14611
|
+
var _o = React.useState(), statusFilter = _o[0], setStatusFilter = _o[1];
|
14612
|
+
var _p = React.useState(), sortOrder = _p[0], setSortOrder = _p[1];
|
14613
|
+
var _q = React.useState(), sortField = _q[0], setSortField = _q[1];
|
14614
|
+
var _r = React.useState(false), modalVisible = _r[0], setModalVisible = _r[1];
|
14615
|
+
var _s = React.useState(), selectedReq = _s[0], setSelectedReq = _s[1];
|
14616
|
+
var _t = React.useState(), popupInfo = _t[0], setPopupInfo = _t[1];
|
14617
|
+
var _u = useSettingsContext(), isTransferFrozen = _u.isTransferFrozen; _u.setTransferFrozen;
|
14618
|
+
var _v = React.useState([]), ministrySectoralScope = _v[0], setMinistrySectoralScope = _v[1];
|
14619
|
+
var _w = React.useState(false), ministryLevelFilter = _w[0], setMinistryLevelFilter = _w[1];
|
14620
|
+
var onStatusQuery = function (checkedValues) { return __awaiter(void 0, void 0, void 0, function () {
|
14621
|
+
return __generator(this, function (_a) {
|
14622
|
+
console.log(checkedValues);
|
14623
|
+
if (checkedValues !== selectedStatus) {
|
14624
|
+
setSelectedStatus(checkedValues);
|
14625
|
+
}
|
14626
|
+
if (checkedValues.length === 0) {
|
14627
|
+
setTableData([]);
|
14628
|
+
setTotalProgramme(0);
|
14629
|
+
return [2 /*return*/];
|
14630
|
+
}
|
14631
|
+
setStatusFilter({
|
14632
|
+
key: "status",
|
14633
|
+
operation: "in",
|
14634
|
+
value: checkedValues,
|
14635
|
+
});
|
14636
|
+
return [2 /*return*/];
|
14637
|
+
});
|
14638
|
+
}); };
|
14639
|
+
antd.Form.useForm()[0];
|
14640
|
+
var Search = antd.Input.Search;
|
14641
|
+
var onCheckAllChange = function (e) {
|
14642
|
+
var nw = e.target.checked ? statusOptions.map(function (el) { return el.value; }) : [];
|
14643
|
+
setSelectedStatus(nw);
|
14644
|
+
setIndeterminate(false);
|
14645
|
+
setCheckAll(e.target.checked);
|
14646
|
+
onStatusQuery(nw);
|
14647
|
+
};
|
14648
|
+
var getInvestmentData = function () { return __awaiter(void 0, void 0, void 0, function () {
|
14649
|
+
var filter, interFilterOr, sort, filterBy, response, error_1;
|
14650
|
+
return __generator(this, function (_a) {
|
14651
|
+
switch (_a.label) {
|
14652
|
+
case 0:
|
14653
|
+
setLoading(true);
|
14654
|
+
filter = [];
|
14655
|
+
if (statusFilter) {
|
14656
|
+
filter.push(statusFilter);
|
14657
|
+
}
|
14658
|
+
if (search && search !== "") {
|
14659
|
+
interFilterOr = [
|
14660
|
+
{
|
14661
|
+
key: "programmeTitle",
|
14662
|
+
operation: "like",
|
14663
|
+
value: "".concat(search, "%"),
|
14664
|
+
},
|
14665
|
+
];
|
14666
|
+
if (!isNaN(Number(search))) {
|
14667
|
+
interFilterOr.push({
|
14668
|
+
key: "requestId",
|
14669
|
+
operation: "=",
|
14670
|
+
value: "".concat(search),
|
14671
|
+
});
|
14672
|
+
}
|
14673
|
+
filter.push({
|
14674
|
+
value: {
|
14675
|
+
page: currentPage,
|
14676
|
+
size: pageSize,
|
14677
|
+
filterOr: interFilterOr,
|
14678
|
+
},
|
14679
|
+
});
|
14680
|
+
}
|
14681
|
+
if (sortOrder && sortField) {
|
14682
|
+
sort = {
|
14683
|
+
key: sortField,
|
14684
|
+
order: sortOrder,
|
14685
|
+
nullFirst: false,
|
14686
|
+
};
|
14687
|
+
}
|
14688
|
+
else {
|
14689
|
+
sort = {
|
14690
|
+
key: "requestId",
|
14691
|
+
order: "DESC",
|
14692
|
+
};
|
14693
|
+
}
|
14694
|
+
if (ministryLevelFilter) {
|
14695
|
+
filterBy = {
|
14696
|
+
key: "ministryLevel",
|
14697
|
+
value: ministrySectoralScope,
|
14698
|
+
};
|
14699
|
+
}
|
14700
|
+
_a.label = 1;
|
14701
|
+
case 1:
|
14702
|
+
_a.trys.push([1, 3, , 4]);
|
14703
|
+
return [4 /*yield*/, post("national/programme/investmentQuery", {
|
14704
|
+
page: currentPage,
|
14705
|
+
size: pageSize,
|
14706
|
+
filterAnd: filter,
|
14707
|
+
filterOr: dataFilter,
|
14708
|
+
sort: sort,
|
14709
|
+
filterBy: filterBy,
|
14710
|
+
})];
|
14711
|
+
case 2:
|
14712
|
+
response = _a.sent();
|
14713
|
+
console.log(response);
|
14714
|
+
setTableData(response.data);
|
14715
|
+
setTotalProgramme(response.response.data.total);
|
14716
|
+
setLoading(false);
|
14717
|
+
return [3 /*break*/, 4];
|
14718
|
+
case 3:
|
14719
|
+
error_1 = _a.sent();
|
14720
|
+
console.log("Error in getting programme investment", error_1);
|
14721
|
+
antd.message.open({
|
14722
|
+
type: "error",
|
14723
|
+
content: error_1.message,
|
14724
|
+
duration: 3,
|
14725
|
+
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
14726
|
+
});
|
14727
|
+
setLoading(false);
|
14728
|
+
return [3 /*break*/, 4];
|
14729
|
+
case 4: return [2 /*return*/];
|
14730
|
+
}
|
14731
|
+
});
|
14732
|
+
}); };
|
14733
|
+
var getUserDetails = function () { return __awaiter(void 0, void 0, void 0, function () {
|
14734
|
+
var response, error_2;
|
14735
|
+
var _a, _b, _c, _d, _e, _f;
|
14736
|
+
return __generator(this, function (_g) {
|
14737
|
+
switch (_g.label) {
|
14738
|
+
case 0:
|
14739
|
+
setLoading(true);
|
14740
|
+
_g.label = 1;
|
14741
|
+
case 1:
|
14742
|
+
_g.trys.push([1, 3, , 4]);
|
14743
|
+
return [4 /*yield*/, post("national/user/query", {
|
14744
|
+
page: 1,
|
14745
|
+
size: 10,
|
14746
|
+
filterAnd: [
|
14747
|
+
{
|
14748
|
+
key: "id",
|
14749
|
+
operation: "=",
|
14750
|
+
value: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.id,
|
14751
|
+
},
|
14752
|
+
],
|
14753
|
+
})];
|
14754
|
+
case 2:
|
14755
|
+
response = _g.sent();
|
14756
|
+
if (response && response.data) {
|
14757
|
+
if (((_a = response === null || response === void 0 ? void 0 : response.data[0]) === null || _a === void 0 ? void 0 : _a.companyRole) === exports.CompanyRole.MINISTRY &&
|
14758
|
+
((_b = response === null || response === void 0 ? void 0 : response.data[0]) === null || _b === void 0 ? void 0 : _b.company) &&
|
14759
|
+
((_d = (_c = response === null || response === void 0 ? void 0 : response.data[0]) === null || _c === void 0 ? void 0 : _c.company) === null || _d === void 0 ? void 0 : _d.sectoralScope)) {
|
14760
|
+
setMinistrySectoralScope((_f = (_e = response === null || response === void 0 ? void 0 : response.data[0]) === null || _e === void 0 ? void 0 : _e.company) === null || _f === void 0 ? void 0 : _f.sectoralScope);
|
14761
|
+
}
|
14762
|
+
}
|
14763
|
+
setLoading(false);
|
14764
|
+
return [3 /*break*/, 4];
|
14765
|
+
case 3:
|
14766
|
+
error_2 = _g.sent();
|
14767
|
+
console.log("Error in getting users", error_2);
|
14768
|
+
setLoading(false);
|
14769
|
+
return [3 /*break*/, 4];
|
14770
|
+
case 4: return [2 /*return*/];
|
14771
|
+
}
|
14772
|
+
});
|
14773
|
+
}); };
|
14774
|
+
React.useEffect(function () {
|
14775
|
+
if ((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.MINISTRY) {
|
14776
|
+
getUserDetails();
|
14777
|
+
}
|
14778
|
+
}, []);
|
14779
|
+
React.useEffect(function () {
|
14780
|
+
if (currentPage !== 1) {
|
14781
|
+
setCurrentPage(1);
|
14782
|
+
}
|
14783
|
+
else {
|
14784
|
+
getInvestmentData();
|
14785
|
+
}
|
14786
|
+
}, [statusFilter, dataFilter]);
|
14787
|
+
React.useEffect(function () {
|
14788
|
+
getInvestmentData();
|
14789
|
+
}, [
|
14790
|
+
currentPage,
|
14791
|
+
pageSize,
|
14792
|
+
sortField,
|
14793
|
+
sortOrder,
|
14794
|
+
search,
|
14795
|
+
ministryLevelFilter,
|
14796
|
+
]);
|
14797
|
+
var handleRequestOk = function (reqId, remarks, endpoint, successText, isRetire) { return __awaiter(void 0, void 0, void 0, function () {
|
14798
|
+
var response, successMsg, error_3;
|
14799
|
+
return __generator(this, function (_a) {
|
14800
|
+
switch (_a.label) {
|
14801
|
+
case 0:
|
14802
|
+
setLoading(true);
|
14803
|
+
_a.label = 1;
|
14804
|
+
case 1:
|
14805
|
+
_a.trys.push([1, 3, , 4]);
|
14806
|
+
return [4 /*yield*/, post("national/programme/" + endpoint, {
|
14807
|
+
requestId: reqId,
|
14808
|
+
comment: remarks,
|
14809
|
+
})];
|
14810
|
+
case 2:
|
14811
|
+
response = _a.sent();
|
14812
|
+
successMsg = response.message;
|
14813
|
+
if (isRetire) {
|
14814
|
+
successMsg = t("creditTransfer:internationalTransferReqCancelled");
|
14815
|
+
}
|
14816
|
+
console.log(response);
|
14817
|
+
antd.message.open({
|
14818
|
+
type: "success",
|
14819
|
+
content: successText ? successText : successMsg,
|
14820
|
+
duration: 3,
|
14821
|
+
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
14822
|
+
});
|
14823
|
+
setLoading(false);
|
14824
|
+
getInvestmentData();
|
14825
|
+
setModalVisible(false);
|
14826
|
+
return [3 /*break*/, 4];
|
14827
|
+
case 3:
|
14828
|
+
error_3 = _a.sent();
|
14829
|
+
console.log("Error in Cancelling transfer request", error_3);
|
14830
|
+
setLoading(false);
|
14831
|
+
return [2 /*return*/, error_3.message];
|
14832
|
+
case 4: return [2 /*return*/];
|
14833
|
+
}
|
14834
|
+
});
|
14835
|
+
}); };
|
14836
|
+
var showModalOnAction = function (record, info) {
|
14837
|
+
setSelectedReq(record);
|
14838
|
+
setModalVisible(true);
|
14839
|
+
setPopupInfo(info);
|
14840
|
+
};
|
14841
|
+
var actionMenu = function (record) {
|
14842
|
+
var isRetire = false;
|
14843
|
+
if (record.isRetirement === true) {
|
14844
|
+
isRetire = true;
|
14845
|
+
}
|
14846
|
+
if (record.status === "Pending" &&
|
14847
|
+
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) !== exports.Role.ViewOnly) {
|
14848
|
+
return (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyId) === record.initiatorCompanyId ? (React.createElement(antd.List, { className: "action-menu", size: "small", dataSource: [
|
14849
|
+
{
|
14850
|
+
text: t("creditTransfer:cancel"),
|
14851
|
+
icon: React.createElement(Icon__namespace.ExclamationOctagon, null),
|
14852
|
+
click: function () {
|
14853
|
+
showModalOnAction(record, {
|
14854
|
+
title: t("creditTransfer:cancelTitle"),
|
14855
|
+
icon: React.createElement(Icon__namespace.ExclamationOctagon, null),
|
14856
|
+
actionBtnText: t("creditTransfer:proceed"),
|
14857
|
+
okAction: function (requestId, comment) {
|
14858
|
+
return handleRequestOk(requestId, comment, "investmentCancel", undefined, isRetire);
|
14859
|
+
},
|
14860
|
+
type: "danger",
|
14861
|
+
remarkRequired: true,
|
14862
|
+
});
|
14863
|
+
},
|
14864
|
+
},
|
14865
|
+
], renderItem: function (item) { return (React.createElement(antd.List.Item, { onClick: item.click },
|
14866
|
+
React.createElement(antd.Typography.Text, { className: "action-icon color-error" }, item.icon),
|
14867
|
+
React.createElement("span", null, item.text))); } })) : record.fromCompanyId === (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyId) ? (React.createElement(antd.List, { className: "action-menu", size: "small", dataSource: [
|
14868
|
+
{
|
14869
|
+
text: t("creditTransfer:accept"),
|
14870
|
+
icon: React.createElement(Icon__namespace.ClipboardCheck, null),
|
14871
|
+
style: "color-primary",
|
14872
|
+
click: function () {
|
14873
|
+
showModalOnAction(record, {
|
14874
|
+
title: t("creditTransfer:acceptTitle"),
|
14875
|
+
icon: React.createElement(Icon__namespace.ClipboardCheck, null),
|
14876
|
+
actionBtnText: t("creditTransfer:proceed"),
|
14877
|
+
okAction: function (requestId, comment) {
|
14878
|
+
return handleRequestOk(requestId, comment, "investmentApprove", "".concat(t("programme:investmentReqApproved")));
|
14879
|
+
},
|
14880
|
+
type: "primary",
|
14881
|
+
remarkRequired: false,
|
14882
|
+
});
|
14883
|
+
},
|
14884
|
+
},
|
14885
|
+
{
|
14886
|
+
text: t("creditTransfer:reject"),
|
14887
|
+
icon: React.createElement(Icon__namespace.XOctagon, null),
|
14888
|
+
style: "color-error",
|
14889
|
+
click: function () {
|
14890
|
+
showModalOnAction(record, {
|
14891
|
+
title: t("creditTransfer:rejectTitle"),
|
14892
|
+
icon: React.createElement(Icon__namespace.XOctagon, null),
|
14893
|
+
actionBtnText: t("creditTransfer:reject"),
|
14894
|
+
okAction: function (requestId, comment) {
|
14895
|
+
return handleRequestOk(requestId, comment, "investmentReject");
|
14896
|
+
},
|
14897
|
+
type: "danger",
|
14898
|
+
remarkRequired: true,
|
14899
|
+
});
|
14900
|
+
},
|
14901
|
+
},
|
14902
|
+
], renderItem: function (item) { return (React.createElement(antd.List.Item, { onClick: item.click },
|
14903
|
+
React.createElement(antd.Typography.Text, { className: "action-icon ".concat(item.style) }, item.icon),
|
14904
|
+
React.createElement("span", null, item.text))); } })) : null;
|
14905
|
+
}
|
14906
|
+
};
|
14907
|
+
var columns = [
|
14908
|
+
{
|
14909
|
+
title: t("programme:requestId"),
|
14910
|
+
dataIndex: "requestId",
|
14911
|
+
key: "requestId",
|
14912
|
+
sorter: true,
|
14913
|
+
},
|
14914
|
+
{
|
14915
|
+
title: t("programme:date"),
|
14916
|
+
key: "txTime",
|
14917
|
+
sorter: true,
|
14918
|
+
align: "left",
|
14919
|
+
render: function (item, itemObj) {
|
14920
|
+
return (React.createElement("div", { style: { display: "flex", alignItems: "center" } }, luxon.DateTime.fromMillis(parseInt(itemObj.txTime)).toFormat("dd LLLL yyyy")));
|
14921
|
+
},
|
14922
|
+
},
|
14923
|
+
{
|
14924
|
+
title: t("programme:programmeName"),
|
14925
|
+
dataIndex: "programmeTitle",
|
14926
|
+
key: "programmeTitle",
|
14927
|
+
sorter: true,
|
14928
|
+
align: "left",
|
14929
|
+
render: function (item) {
|
14930
|
+
return React.createElement("span", { className: "clickable" }, item);
|
14931
|
+
},
|
14932
|
+
onCell: function (record, rowIndex) {
|
14933
|
+
return {
|
14934
|
+
onClick: function (ev) {
|
14935
|
+
onNavigateToProgrammeView(record.programmeId);
|
14936
|
+
},
|
14937
|
+
};
|
14938
|
+
},
|
14939
|
+
},
|
14940
|
+
{
|
14941
|
+
title: t("programme:type"),
|
14942
|
+
key: "type",
|
14943
|
+
sorter: true,
|
14944
|
+
align: "center",
|
14945
|
+
render: function (item, Obj) {
|
14946
|
+
if (!Obj.type) {
|
14947
|
+
return React.createElement("span", null, "-");
|
14948
|
+
}
|
14949
|
+
return (React.createElement(antd.Tooltip, { title: addSpaces(Obj.type), color: TooltipColor, key: TooltipColor },
|
14950
|
+
React.createElement("div", null,
|
14951
|
+
React.createElement(RoleIcon, { icon: Obj.type === exports.InvestmentType.PUBLIC ? (React.createElement(Icon__namespace.Eye, null)) : (React.createElement(Icon__namespace.EyeSlash, null)), bg: InvestmentBGColor, color: InvestmentColor }))));
|
14952
|
+
},
|
14953
|
+
},
|
14954
|
+
{
|
14955
|
+
title: t("programme:level"),
|
14956
|
+
key: "level",
|
14957
|
+
sorter: true,
|
14958
|
+
align: "center",
|
14959
|
+
render: function (item, Obj) {
|
14960
|
+
if (!Obj.level) {
|
14961
|
+
return React.createElement("span", null, "-");
|
14962
|
+
}
|
14963
|
+
return (React.createElement(antd.Tooltip, { title: addSpaces(Obj.level), color: TooltipColor, key: TooltipColor },
|
14964
|
+
React.createElement("div", null,
|
14965
|
+
React.createElement(RoleIcon, { icon: Obj.level === exports.InvestmentLevel.INTERNATIONAL ? (React.createElement(Icon__namespace.Globe2, null)) : (React.createElement(Icon__namespace.Flag, null)), bg: InvestmentBGColor, color: InvestmentColor }))));
|
14966
|
+
},
|
14967
|
+
},
|
14968
|
+
{
|
14969
|
+
title: t("programme:stream"),
|
14970
|
+
key: "stream",
|
14971
|
+
sorter: true,
|
14972
|
+
align: "center",
|
14973
|
+
render: function (item, Obj) {
|
14974
|
+
if (!Obj.stream) {
|
14975
|
+
return React.createElement("span", null, "-");
|
14976
|
+
}
|
14977
|
+
return (React.createElement(antd.Tooltip, { title: addSpaces(Obj.stream), color: TooltipColor, key: TooltipColor },
|
14978
|
+
React.createElement("div", null,
|
14979
|
+
React.createElement(RoleIcon, { icon: Obj.stream === exports.InvestmentStream.CLIMATE_FINANCE ? (React.createElement(Icon__namespace.Bank, null)) : (React.createElement(Icon__namespace.GraphUpArrow, null)), bg: InvestmentBGColor, color: InvestmentColor }))));
|
14980
|
+
},
|
14981
|
+
},
|
14982
|
+
{
|
14983
|
+
title: t("programme:sector"),
|
14984
|
+
dataIndex: "programmeSector",
|
14985
|
+
key: "programmeSector",
|
14986
|
+
sorter: true,
|
14987
|
+
align: "left",
|
14988
|
+
},
|
14989
|
+
{
|
14990
|
+
title: t("programme:investor"),
|
14991
|
+
key: "toCompanyId",
|
14992
|
+
sorter: true,
|
14993
|
+
align: "left",
|
14994
|
+
render: function (item, itemObj) {
|
14995
|
+
return (React.createElement("div", { style: { display: "flex", alignItems: "center" } }, itemObj.receiver &&
|
14996
|
+
itemObj.receiver.map(function (v, i) {
|
14997
|
+
return (React.createElement(antd.Tooltip, { title: v.name, color: TooltipColor, key: TooltipColor },
|
14998
|
+
React.createElement("div", null,
|
14999
|
+
React.createElement(ProfileIcon, { icon: v.logo, bg: getCompanyBgColor(v.companyRole), name: v.name }))));
|
15000
|
+
})));
|
15001
|
+
},
|
15002
|
+
},
|
15003
|
+
{
|
15004
|
+
title: t("programme:owner"),
|
15005
|
+
key: "fromCompanyId",
|
15006
|
+
sorter: true,
|
15007
|
+
align: "left",
|
15008
|
+
render: function (item, itemObj) {
|
15009
|
+
return (React.createElement("div", { style: { display: "flex", alignItems: "center" } }, itemObj.sender &&
|
15010
|
+
itemObj.sender.map(function (v, i) {
|
15011
|
+
return (React.createElement(antd.Tooltip, { title: v.name, color: TooltipColor, key: TooltipColor },
|
15012
|
+
React.createElement("div", null,
|
15013
|
+
React.createElement(ProfileIcon, { icon: v.logo, bg: getCompanyBgColor(v.companyRole), name: v.name }))));
|
15014
|
+
})));
|
15015
|
+
},
|
15016
|
+
},
|
15017
|
+
{
|
15018
|
+
title: t("programme:status"),
|
15019
|
+
key: "status",
|
15020
|
+
sorter: true,
|
15021
|
+
align: "center",
|
15022
|
+
render: function (item, Obj) {
|
15023
|
+
return (React.createElement(antd.Tooltip, { title: Obj.serialNo, color: TooltipColor, key: TooltipColor },
|
15024
|
+
React.createElement(antd.Tag, { className: "clickable", color: getStatusTagType(Obj.status) }, addSpaces(Obj.status))));
|
15025
|
+
},
|
15026
|
+
},
|
15027
|
+
{
|
15028
|
+
title: t("programme:amount"),
|
15029
|
+
dataIndex: "amount",
|
15030
|
+
key: "amount",
|
15031
|
+
sorter: true,
|
15032
|
+
align: "right",
|
15033
|
+
render: function (item) {
|
15034
|
+
return React.createElement("span", { className: "clickable" }, addCommSepRound(item));
|
15035
|
+
},
|
15036
|
+
},
|
15037
|
+
{
|
15038
|
+
align: "right",
|
15039
|
+
render: function (_, record) {
|
15040
|
+
var menu = actionMenu(record);
|
15041
|
+
return menu && !isTransferFrozen ? (React.createElement(antd.Popover, { placement: "bottomRight", content: menu, trigger: "click" },
|
15042
|
+
React.createElement(icons.EllipsisOutlined, { rotate: 90, style: { fontWeight: 600, fontSize: "1rem", cursor: "pointer" } }))) : (React.createElement("span", null));
|
15043
|
+
},
|
15044
|
+
},
|
15045
|
+
];
|
15046
|
+
var onSearch = function () { return __awaiter(void 0, void 0, void 0, function () {
|
15047
|
+
return __generator(this, function (_a) {
|
15048
|
+
setSearch(searchText);
|
15049
|
+
return [2 /*return*/];
|
15050
|
+
});
|
15051
|
+
}); };
|
15052
|
+
var onChange = function (page, size) {
|
15053
|
+
setCurrentPage(page);
|
15054
|
+
setPageSize(size);
|
15055
|
+
};
|
15056
|
+
var handleTableChange = function (pag, sorter) {
|
15057
|
+
console.log(pag, sorter);
|
15058
|
+
setSortOrder(sorter.order === "ascend"
|
15059
|
+
? "ASC"
|
15060
|
+
: sorter.order === "descend"
|
15061
|
+
? "DESC"
|
15062
|
+
: undefined);
|
15063
|
+
setSortField(sorter.columnKey);
|
15064
|
+
// setCurrentPage(1);
|
15065
|
+
};
|
15066
|
+
return (React.createElement("div", { className: "investment-management content-container" },
|
15067
|
+
React.createElement("div", { className: "investment-title-bar" },
|
15068
|
+
React.createElement("div", { className: "title-bar" },
|
15069
|
+
React.createElement("div", { className: "body-title" }, t("programme:investmentTitle")),
|
15070
|
+
React.createElement("div", { className: "body-sub-title" }, t("programme:investmentDesc"))),
|
15071
|
+
React.createElement("div", { className: "actions" }, enableAddOwnership && (React.createElement("div", { className: "action-bar" },
|
15072
|
+
React.createElement(antd.Button, { type: "primary", size: "large", block: true, icon: React.createElement(icons.PlusOutlined, null), onClick: onClickAddOwnership }, t("programme:addOwnership")))))),
|
15073
|
+
React.createElement("div", { className: "content-card" },
|
15074
|
+
React.createElement(antd.Row, null,
|
15075
|
+
React.createElement(antd.Col, { lg: { span: 15 }, md: { span: 14 } },
|
15076
|
+
React.createElement("div", { className: "action-bar" },
|
15077
|
+
React.createElement(antd.Checkbox, { className: "all-check", indeterminate: indeterminate, onChange: onCheckAllChange, checked: checkAll, defaultChecked: true }, "All"),
|
15078
|
+
React.createElement(antd.Checkbox.Group, { options: statusOptions, defaultValue: statusOptions.map(function (e) { return e.value; }), value: selectedStatus, onChange: onStatusQuery }))),
|
15079
|
+
React.createElement(antd.Col, { lg: { span: 9 }, md: { span: 10 } },
|
15080
|
+
React.createElement("div", { className: "filter-section" },
|
15081
|
+
(userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.MINISTRY && (React.createElement("div", { className: "search-filter" },
|
15082
|
+
React.createElement(antd.Checkbox, { className: "label", onChange: function (v) {
|
15083
|
+
if (userInfoState.companyRole === exports.CompanyRole.MINISTRY) {
|
15084
|
+
if (v.target.checked) {
|
15085
|
+
setMinistryLevelFilter(true);
|
15086
|
+
}
|
15087
|
+
else {
|
15088
|
+
setMinistryLevelFilter(false);
|
15089
|
+
}
|
15090
|
+
}
|
15091
|
+
} }, t("programme:ministryLevel")))),
|
15092
|
+
React.createElement("div", { className: "search-bar" },
|
15093
|
+
React.createElement(Search, { onPressEnter: onSearch, placeholder: "Search", allowClear: true, onChange: function (e) {
|
15094
|
+
return e.target.value === ""
|
15095
|
+
? setSearch(e.target.value)
|
15096
|
+
: setSearchText(e.target.value);
|
15097
|
+
}, onSearch: setSearch, style: { width: 265 } }))))),
|
15098
|
+
React.createElement(antd.Row, null,
|
15099
|
+
React.createElement(antd.Col, { span: 24 },
|
15100
|
+
React.createElement("div", { className: "programmeManagement-table-container" },
|
15101
|
+
React.createElement(antd.Table, { dataSource: tableData, columns: columns, className: "common-table-class", loading: loading, pagination: {
|
15102
|
+
current: currentPage,
|
15103
|
+
pageSize: pageSize,
|
15104
|
+
total: totalProgramme,
|
15105
|
+
showQuickJumper: true,
|
15106
|
+
showSizeChanger: true,
|
15107
|
+
onChange: onChange,
|
15108
|
+
}, onChange: function (val, filter, sorter) {
|
15109
|
+
return handleTableChange(val, sorter);
|
15110
|
+
}, locale: {
|
15111
|
+
emptyText: (React.createElement(antd.Empty, { image: antd.Empty.PRESENTED_IMAGE_SIMPLE, description: tableData.length === 0
|
15112
|
+
? t("creditTransfer:noTransfer")
|
15113
|
+
: null })),
|
15114
|
+
} }))))),
|
15115
|
+
popupInfo && selectedReq && (React.createElement(InvestmentActionModel, { investment: selectedReq, onCancel: function () {
|
15116
|
+
setModalVisible(false);
|
15117
|
+
setSelectedReq(undefined);
|
15118
|
+
}, 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 }))));
|
15119
|
+
};
|
15120
|
+
|
15121
|
+
var css_248z$h = ".steps-actions {\n text-align: right; }\n\n.support-title-bar {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: 0px 0px 30px 0px; }\n .support-title-bar .title {\n display: flex;\n flex-direction: column;\n justify-content: space-between; }\n .support-title-bar .actions {\n display: flex;\n align-items: center;\n justify-content: flex-end; }\n .support-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";
|
15122
|
+
styleInject(css_248z$h);
|
15123
|
+
|
15124
|
+
var SupportCreationComponent = function (props) {
|
15125
|
+
var t = props.t, useConnection = props.useConnection, userInfoState = props.userInfoState, useLocation = props.useLocation; props.onNavigateToProgrammeManagementView; props.onNavigateToProgrammeView;
|
15126
|
+
useLocation().state;
|
15127
|
+
var _a = React.useState(); _a[0]; _a[1];
|
15128
|
+
var formOne = antd.Form.useForm()[0];
|
15129
|
+
antd.Form.useForm()[0];
|
15130
|
+
var post = useConnection().post;
|
15131
|
+
var _b = React.useState(false), loading = _b[0]; _b[1];
|
15132
|
+
var _c = React.useState(false), loadingList = _c[0], setLoadingList = _c[1];
|
15133
|
+
var _d = React.useState(0), current = _d[0], setCurrent = _d[1];
|
15134
|
+
var _e = React.useState(0); _e[0]; _e[1];
|
15135
|
+
var _f = React.useState([]), organisationsList = _f[0], setOrganisationList = _f[1];
|
15136
|
+
var _g = React.useState([]), instrument = _g[0], setInstrument = _g[1];
|
15137
|
+
var _h = React.useState(); _h[0]; var setStepOneData = _h[1];
|
15138
|
+
var instrumentOptions = Object.keys(exports.Instrument).map(function (k, index) { return ({
|
15139
|
+
label: addSpaces(Object.values(exports.Instrument)[index]),
|
15140
|
+
value: Object.values(exports.Instrument)[index],
|
15141
|
+
}); });
|
15142
|
+
var onInstrumentChange = function (value) {
|
15143
|
+
setInstrument(value);
|
15144
|
+
};
|
15145
|
+
var getOrganisationsDetails = function () { return __awaiter(void 0, void 0, void 0, function () {
|
15146
|
+
var filterAnd, response, error_1;
|
15147
|
+
return __generator(this, function (_a) {
|
15148
|
+
switch (_a.label) {
|
15149
|
+
case 0:
|
15150
|
+
setLoadingList(true);
|
15151
|
+
_a.label = 1;
|
15152
|
+
case 1:
|
15153
|
+
_a.trys.push([1, 3, 4, 5]);
|
15154
|
+
filterAnd = [];
|
15155
|
+
filterAnd = [
|
15156
|
+
{
|
15157
|
+
key: "companyRole",
|
15158
|
+
operation: "=",
|
15159
|
+
value: exports.CompanyRole.PROGRAMME_DEVELOPER.toString(),
|
15160
|
+
},
|
15161
|
+
];
|
15162
|
+
if ((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.PROGRAMME_DEVELOPER) {
|
15163
|
+
filterAnd.push({
|
15164
|
+
key: "companyId",
|
15165
|
+
operation: "!=",
|
15166
|
+
value: userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyId,
|
15167
|
+
});
|
15168
|
+
}
|
15169
|
+
return [4 /*yield*/, post("national/organisation/queryNames", {
|
15170
|
+
page: 1,
|
15171
|
+
size: 100,
|
15172
|
+
filterAnd: filterAnd,
|
15173
|
+
})];
|
15174
|
+
case 2:
|
15175
|
+
response = _a.sent();
|
15176
|
+
if (response.data) {
|
15177
|
+
setOrganisationList(response === null || response === void 0 ? void 0 : response.data);
|
15178
|
+
}
|
15179
|
+
return [3 /*break*/, 5];
|
15180
|
+
case 3:
|
15181
|
+
error_1 = _a.sent();
|
15182
|
+
console.log("Error in getting organisation list", error_1);
|
15183
|
+
return [3 /*break*/, 5];
|
15184
|
+
case 4:
|
15185
|
+
setLoadingList(false);
|
15186
|
+
return [7 /*endfinally*/];
|
15187
|
+
case 5: return [2 /*return*/];
|
15188
|
+
}
|
15189
|
+
});
|
15190
|
+
}); };
|
15191
|
+
React.useEffect(function () {
|
15192
|
+
getOrganisationsDetails();
|
15193
|
+
}, []);
|
15194
|
+
// const companyName: any = {};
|
15195
|
+
// for (const company of data!?.company) {
|
15196
|
+
// companyName[company.companyId] = company;
|
15197
|
+
// }
|
15198
|
+
// if (!data!.proponentPercentage) {
|
15199
|
+
// data.proponentPercentage = [100];
|
15200
|
+
// }
|
15201
|
+
var nextOne = function (val) {
|
15202
|
+
setCurrent(current + 1);
|
15203
|
+
setStepOneData(val);
|
15204
|
+
};
|
15205
|
+
// const submitInvestment = async (val: any) => {
|
15206
|
+
// console.log(val);
|
15207
|
+
// console.log(stepOneData);
|
15208
|
+
// setLoading(true);
|
15209
|
+
// const payload = stepOneData;
|
15210
|
+
// payload.programmeId = data.programmeId;
|
15211
|
+
// payload.amount = parseFloat(payload.amount);
|
15212
|
+
// if (payload.interestRate) {
|
15213
|
+
// payload.interestRate = parseFloat(payload.interestRate);
|
15214
|
+
// }
|
15215
|
+
// if (payload.paymentPerMetric) {
|
15216
|
+
// payload.paymentPerMetric = parseFloat(payload.paymentPerMetric);
|
15217
|
+
// }
|
15218
|
+
// payload.fromCompanyIds = data.companyId.map((e) => Number(e));
|
15219
|
+
// payload.percentage = val.percentage;
|
15220
|
+
// payload.toCompanyId = Number(payload.toCompanyId);
|
15221
|
+
// try {
|
15222
|
+
// const response: any = await post(
|
15223
|
+
// "national/programme/addInvestment",
|
15224
|
+
// payload
|
15225
|
+
// );
|
15226
|
+
// console.log("investment creation -> ", response);
|
15227
|
+
// if (response?.statusText === "SUCCESS") {
|
15228
|
+
// message.open({
|
15229
|
+
// type: "success",
|
15230
|
+
// content: t("programme:investmentCreationSuccess"),
|
15231
|
+
// duration: 4,
|
15232
|
+
// style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
15233
|
+
// });
|
15234
|
+
// }
|
15235
|
+
// onNavigateToProgrammeView();
|
15236
|
+
// } catch (error: any) {
|
15237
|
+
// console.log("Error in investment creation - ", error);
|
15238
|
+
// message.open({
|
15239
|
+
// type: "error",
|
15240
|
+
// content: error?.message,
|
15241
|
+
// duration: 4,
|
15242
|
+
// style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
15243
|
+
// });
|
15244
|
+
// } finally {
|
15245
|
+
// setLoading(false);
|
15246
|
+
// }
|
15247
|
+
// };
|
15248
|
+
var deselectOnClick = function (e, fieldName) {
|
15249
|
+
var value = e.target.value;
|
15250
|
+
if (value === formOne.getFieldValue(fieldName)) {
|
15251
|
+
console.log("double clicked button", value);
|
15252
|
+
formOne.setFieldValue(fieldName, null);
|
15253
|
+
}
|
15254
|
+
};
|
15255
|
+
return (React.createElement("div", { className: "add-programme-main-container" },
|
15256
|
+
React.createElement("div", { className: "title-container" },
|
15257
|
+
React.createElement("div", { className: "main" }, t("programme:addSupport")),
|
15258
|
+
React.createElement("div", { className: "sub" }, t("programme:addSupportSub"))),
|
15259
|
+
React.createElement("div", { className: "adding-section" },
|
15260
|
+
React.createElement("div", { className: "form-section" },
|
15261
|
+
React.createElement(antd.Steps, { progressDot: true, direction: "vertical", current: current, items: [
|
15262
|
+
{
|
15263
|
+
title: (React.createElement("div", { className: "step-title-container" },
|
15264
|
+
React.createElement("div", { className: "step-count" }, "01"),
|
15265
|
+
React.createElement("div", { className: "title" }, t("programme:programmeFinancingInvested")))),
|
15266
|
+
description: current === 0 && (React.createElement("div", { className: "investment-sought-form-container" },
|
15267
|
+
React.createElement("div", { className: "investment-sought-form" },
|
15268
|
+
React.createElement(antd.Form, { labelCol: { span: 20 }, wrapperCol: { span: 24 }, name: "investment-sought", className: "investment-sought-form", layout: "vertical", requiredMark: true, form: formOne, onFinish: nextOne },
|
15269
|
+
React.createElement(antd.Row, { className: "row", gutter: [16, 16] },
|
15270
|
+
React.createElement(antd.Col, { xl: 12, md: 24 },
|
15271
|
+
React.createElement("div", { className: "details-part-one" },
|
15272
|
+
React.createElement(antd.Form.Item, { label: t("programme:investorName"), name: "toCompanyId", wrapperCol: { span: 24 }, className: "organisation", rules: [
|
15273
|
+
{
|
15274
|
+
required: true,
|
15275
|
+
message: "".concat(t("programme:investorName"), " ").concat(t("isRequired")),
|
15276
|
+
},
|
15277
|
+
] },
|
15278
|
+
React.createElement(antd.Select, { size: "large", loading: loadingList }, organisationsList.map(function (organisation) { return (React.createElement(antd.Select.Option, { key: organisation.companyId, value: organisation.companyId }, organisation.name)); }))))),
|
15279
|
+
React.createElement(antd.Col, { xl: 12, md: 24 },
|
15280
|
+
React.createElement("div", { className: "details-part-two" },
|
15281
|
+
React.createElement(antd.Form.Item, { label: t("programme:amountInvested"), name: "amount", rules: [
|
15282
|
+
{
|
15283
|
+
required: true,
|
15284
|
+
message: "",
|
15285
|
+
},
|
15286
|
+
{
|
15287
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
15288
|
+
return __generator(this, function (_a) {
|
15289
|
+
if (String(value).trim() === "" ||
|
15290
|
+
String(value).trim() === undefined ||
|
15291
|
+
value === null ||
|
15292
|
+
value === undefined) {
|
15293
|
+
throw new Error("".concat(t("programme:amountInvested"), " ").concat(t("isRequired")));
|
15294
|
+
}
|
15295
|
+
else if (!isNaN(value) &&
|
15296
|
+
Number(value) > 0) {
|
15297
|
+
return [2 /*return*/, Promise.resolve()];
|
15298
|
+
}
|
15299
|
+
else {
|
15300
|
+
throw new Error("".concat(t("programme:amountInvested"), " ").concat(t("isInvalid")));
|
15301
|
+
}
|
15302
|
+
});
|
15303
|
+
}); },
|
15304
|
+
},
|
15305
|
+
] },
|
15306
|
+
React.createElement(antd.Input, { size: "large" }))))),
|
15307
|
+
React.createElement(antd.Row, { className: "row", gutter: [16, 16] },
|
15308
|
+
React.createElement(antd.Col, { xl: 24, md: 24 },
|
15309
|
+
React.createElement(antd.Form.Item, { label: t("programme:instrument"), name: "instrument", wrapperCol: { span: 24 }, className: "" },
|
15310
|
+
React.createElement(antd.Checkbox.Group, { options: instrumentOptions, defaultValue: instrumentOptions.map(function (e) { return e.value; }), onChange: onInstrumentChange })))),
|
15311
|
+
instrument &&
|
15312
|
+
instrument.indexOf(exports.Instrument.LOAN) >= 0 && (React.createElement(antd.Row, { className: "row", gutter: [16, 16] },
|
15313
|
+
React.createElement(antd.Col, { xl: 8, md: 12 },
|
15314
|
+
React.createElement("div", { className: "details-part-two" },
|
15315
|
+
React.createElement(antd.Form.Item, { label: t("programme:interestRate"), name: "interestRate", rules: [
|
15316
|
+
{
|
15317
|
+
required: true,
|
15318
|
+
message: "",
|
15319
|
+
},
|
15320
|
+
{
|
15321
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
15322
|
+
return __generator(this, function (_a) {
|
15323
|
+
if (String(value).trim() === "" ||
|
15324
|
+
String(value).trim() ===
|
15325
|
+
undefined ||
|
15326
|
+
value === null ||
|
15327
|
+
value === undefined) {
|
15328
|
+
throw new Error("".concat(t("programme:interestRate"), " ").concat(t("isRequired")));
|
15329
|
+
}
|
15330
|
+
else if (!isNaN(value)) {
|
15331
|
+
return [2 /*return*/, Promise.resolve()];
|
15332
|
+
}
|
15333
|
+
else {
|
15334
|
+
throw new Error("".concat(t("programme:interestRate"), " ").concat(t("isInvalid")));
|
15335
|
+
}
|
15336
|
+
});
|
15337
|
+
}); },
|
15338
|
+
},
|
15339
|
+
] },
|
15340
|
+
React.createElement(antd.Input, { size: "large" })))))),
|
15341
|
+
instrument &&
|
15342
|
+
instrument.indexOf(exports.Instrument.RESULT_BASED) >= 0 && (React.createElement(antd.Row, { className: "row", gutter: [16, 16] },
|
15343
|
+
React.createElement(antd.Col, { xl: 12, md: 24 },
|
15344
|
+
React.createElement("div", { className: "details-part-two" },
|
15345
|
+
React.createElement(antd.Form.Item, { label: t("programme:resultMetric"), name: "resultMetric", rules: [
|
15346
|
+
{
|
15347
|
+
required: true,
|
15348
|
+
message: "",
|
15349
|
+
},
|
15350
|
+
{
|
15351
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
15352
|
+
return __generator(this, function (_a) {
|
15353
|
+
if (String(value).trim() === "" ||
|
15354
|
+
String(value).trim() ===
|
15355
|
+
undefined ||
|
15356
|
+
value === null ||
|
15357
|
+
value === undefined) {
|
15358
|
+
throw new Error("".concat(t("programme:resultMetric"), " ").concat(t("isRequired")));
|
15359
|
+
}
|
15360
|
+
return [2 /*return*/];
|
15361
|
+
});
|
15362
|
+
}); },
|
15363
|
+
},
|
15364
|
+
] },
|
15365
|
+
React.createElement(antd.Input, { size: "large" })))),
|
15366
|
+
React.createElement(antd.Col, { xl: 12, md: 24 },
|
15367
|
+
React.createElement("div", { className: "details-part-two" },
|
15368
|
+
React.createElement(antd.Form.Item, { label: t("programme:paymentPerMetric"), name: "paymentPerMetric", rules: [
|
15369
|
+
{
|
15370
|
+
required: true,
|
15371
|
+
message: "",
|
15372
|
+
},
|
15373
|
+
{
|
15374
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
15375
|
+
return __generator(this, function (_a) {
|
15376
|
+
if (String(value).trim() === "" ||
|
15377
|
+
String(value).trim() ===
|
15378
|
+
undefined ||
|
15379
|
+
value === null ||
|
15380
|
+
value === undefined) {
|
15381
|
+
throw new Error("".concat(t("programme:paymentPerMetric"), " ").concat(t("isRequired")));
|
15382
|
+
}
|
15383
|
+
else if (!isNaN(value)) {
|
15384
|
+
return [2 /*return*/, Promise.resolve()];
|
15385
|
+
}
|
15386
|
+
else {
|
15387
|
+
throw new Error("".concat(t("programme:paymentPerMetric"), " ").concat(t("isInvalid")));
|
15388
|
+
}
|
15389
|
+
});
|
15390
|
+
}); },
|
15391
|
+
},
|
15392
|
+
] },
|
15393
|
+
React.createElement(antd.Input, { size: "large" })))))),
|
15394
|
+
instrument &&
|
15395
|
+
instrument.indexOf(exports.Instrument.INKIND) >= 0 && (React.createElement(antd.Row, { className: "row", gutter: [16, 16] },
|
15396
|
+
React.createElement(antd.Col, { xl: 12, md: 24 },
|
15397
|
+
React.createElement("div", { className: "details-part-two" },
|
15398
|
+
React.createElement(antd.Form.Item, { label: t("programme:description"), name: "description", rules: [
|
15399
|
+
{
|
15400
|
+
required: false,
|
15401
|
+
message: "",
|
15402
|
+
},
|
15403
|
+
] },
|
15404
|
+
React.createElement(antd.Input, { size: "large" })))))),
|
15405
|
+
instrument &&
|
15406
|
+
instrument.indexOf(exports.Instrument.OTHER) >= 0 && (React.createElement(antd.Row, { className: "row", gutter: [16, 16] },
|
15407
|
+
React.createElement(antd.Col, { xl: 12, md: 24 },
|
15408
|
+
React.createElement("div", { className: "details-part-two" },
|
15409
|
+
React.createElement(antd.Form.Item, { label: t("programme:comments"), name: "comments", rules: [
|
15410
|
+
{
|
15411
|
+
required: true,
|
15412
|
+
message: "",
|
15413
|
+
},
|
15414
|
+
{
|
15415
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
15416
|
+
return __generator(this, function (_a) {
|
15417
|
+
if (String(value).trim() === "" ||
|
15418
|
+
String(value).trim() ===
|
15419
|
+
undefined ||
|
15420
|
+
value === null ||
|
15421
|
+
value === undefined) {
|
15422
|
+
throw new Error("".concat(t("programme:comments"), " ").concat(t("isRequired")));
|
15423
|
+
}
|
15424
|
+
return [2 /*return*/];
|
15425
|
+
});
|
15426
|
+
}); },
|
15427
|
+
},
|
15428
|
+
] },
|
15429
|
+
React.createElement(antd.Input, { size: "large" })))))),
|
15430
|
+
React.createElement(antd.Row, { className: "row", gutter: [4, 4] },
|
15431
|
+
React.createElement(antd.Col, { xl: 8, md: 12 },
|
15432
|
+
React.createElement(antd.Form.Item, { label: t("programme:type"), wrapperCol: { span: 13 }, className: "role-group", name: "type", rules: [
|
15433
|
+
{
|
15434
|
+
required: false,
|
15435
|
+
},
|
15436
|
+
] },
|
15437
|
+
React.createElement(antd.Radio.Group, { size: "large" }, Object.values(exports.InvestmentType).map(function (k, index) { return (React.createElement("div", { className: "condition-radio-container" },
|
15438
|
+
React.createElement(antd.Radio.Button, { className: "condition-radio", value: k, onClick: function (e) {
|
15439
|
+
return deselectOnClick(e, "type");
|
15440
|
+
} }, t("programme:" + k)))); })))),
|
15441
|
+
React.createElement(antd.Col, { xl: 8, md: 12 },
|
15442
|
+
React.createElement(antd.Form.Item, { label: t("programme:level"), wrapperCol: { span: 13 }, className: "role-group", name: "level", rules: [
|
15443
|
+
{
|
15444
|
+
required: false,
|
15445
|
+
},
|
15446
|
+
] },
|
15447
|
+
React.createElement(antd.Radio.Group, { size: "large" }, Object.values(exports.InvestmentLevel).map(function (k, index) { return (React.createElement("div", { className: "condition-radio-container" },
|
15448
|
+
React.createElement(antd.Radio.Button, { className: "condition-radio", value: k, onClick: function (e) {
|
15449
|
+
return deselectOnClick(e, "level");
|
15450
|
+
} }, t("programme:" + k)))); })))),
|
15451
|
+
React.createElement(antd.Col, { xl: 8, md: 12 },
|
15452
|
+
React.createElement(antd.Form.Item, { label: t("programme:stream"), wrapperCol: { span: 13 }, className: "role-group", name: "stream", rules: [
|
15453
|
+
{
|
15454
|
+
required: false,
|
15455
|
+
},
|
15456
|
+
] },
|
15457
|
+
React.createElement(antd.Radio.Group, { size: "large" }, Object.values(exports.InvestmentStream).map(function (k, index) { return (React.createElement("div", { className: "condition-radio-container" },
|
15458
|
+
React.createElement(antd.Radio.Button, { className: "condition-radio", value: k, onClick: function (e) {
|
15459
|
+
return deselectOnClick(e, "stream");
|
15460
|
+
} }, t("programme:" + k)))); }))))),
|
15461
|
+
React.createElement(antd.Row, { className: "row", gutter: [16, 16] },
|
15462
|
+
React.createElement(antd.Col, { xl: 12, md: 24 },
|
15463
|
+
React.createElement(antd.Form.Item, { label: t("programme:esgType"), name: "esgClassification" },
|
15464
|
+
React.createElement(antd.Select, { size: "large" }, Object.values(exports.ESGType).map(function (esg) { return (React.createElement(antd.Select.Option, { value: esg }, esg)); }))))),
|
15465
|
+
React.createElement(antd.Form.Item, null,
|
15466
|
+
React.createElement("div", { className: "steps-actions" },
|
15467
|
+
React.createElement(antd.Button, { type: "primary", htmlType: "submit", loading: loading, onSubmit: nextOne }, t("programme:next")))))))),
|
15468
|
+
},
|
15469
|
+
{
|
15470
|
+
title: (React.createElement("div", { className: "step-title-container" },
|
15471
|
+
React.createElement("div", { className: "step-count" }, "02"),
|
15472
|
+
React.createElement("div", { className: "title" }, t("programme:ownership")))),
|
15473
|
+
description: current === 1 && (React.createElement("div", null,
|
15474
|
+
React.createElement("div", { className: "programme-sought-form-container ownership-container" }))),
|
15475
|
+
},
|
15476
|
+
] })))));
|
15477
|
+
};
|
15478
|
+
|
15479
|
+
var SupportManagementComponent = function (props) {
|
15480
|
+
var translator = props.translator, useConnection = props.useConnection; props.onNavigateToProgrammeView; var useUserContext = props.useUserContext, useSettingsContext = props.useSettingsContext, enableAddSupport = props.enableAddSupport, onClickAddSupport = props.onClickAddSupport;
|
14570
15481
|
var t = translator.t;
|
14571
15482
|
var statusOptions = Object.keys(exports.InvestmentStatus).map(function (k, index) { return ({
|
14572
15483
|
label: addSpaces(Object.values(exports.InvestmentStatus)[index]),
|
@@ -14897,23 +15808,6 @@ var InvestmentManagementComponent = function (props) {
|
|
14897
15808
|
return (React.createElement("div", { style: { display: "flex", alignItems: "center" } }, luxon.DateTime.fromMillis(parseInt(itemObj.txTime)).toFormat("dd LLLL yyyy")));
|
14898
15809
|
},
|
14899
15810
|
},
|
14900
|
-
{
|
14901
|
-
title: t("programme:programmeName"),
|
14902
|
-
dataIndex: "programmeTitle",
|
14903
|
-
key: "programmeTitle",
|
14904
|
-
sorter: true,
|
14905
|
-
align: "left",
|
14906
|
-
render: function (item) {
|
14907
|
-
return React.createElement("span", { className: "clickable" }, item);
|
14908
|
-
},
|
14909
|
-
onCell: function (record, rowIndex) {
|
14910
|
-
return {
|
14911
|
-
onClick: function (ev) {
|
14912
|
-
onNavigateToProgrammeView(record.programmeId);
|
14913
|
-
},
|
14914
|
-
};
|
14915
|
-
},
|
14916
|
-
},
|
14917
15811
|
{
|
14918
15812
|
title: t("programme:type"),
|
14919
15813
|
key: "type",
|
@@ -14977,20 +15871,6 @@ var InvestmentManagementComponent = function (props) {
|
|
14977
15871
|
})));
|
14978
15872
|
},
|
14979
15873
|
},
|
14980
|
-
{
|
14981
|
-
title: t("programme:owner"),
|
14982
|
-
key: "fromCompanyId",
|
14983
|
-
sorter: true,
|
14984
|
-
align: "left",
|
14985
|
-
render: function (item, itemObj) {
|
14986
|
-
return (React.createElement("div", { style: { display: "flex", alignItems: "center" } }, itemObj.sender &&
|
14987
|
-
itemObj.sender.map(function (v, i) {
|
14988
|
-
return (React.createElement(antd.Tooltip, { title: v.name, color: TooltipColor, key: TooltipColor },
|
14989
|
-
React.createElement("div", null,
|
14990
|
-
React.createElement(ProfileIcon, { icon: v.logo, bg: getCompanyBgColor(v.companyRole), name: v.name }))));
|
14991
|
-
})));
|
14992
|
-
},
|
14993
|
-
},
|
14994
15874
|
{
|
14995
15875
|
title: t("programme:status"),
|
14996
15876
|
key: "status",
|
@@ -15041,11 +15921,12 @@ var InvestmentManagementComponent = function (props) {
|
|
15041
15921
|
// setCurrentPage(1);
|
15042
15922
|
};
|
15043
15923
|
return (React.createElement("div", { className: "investment-management content-container" },
|
15044
|
-
React.createElement("div", { className: "title-bar" },
|
15045
|
-
React.createElement(
|
15046
|
-
React.createElement(
|
15047
|
-
|
15048
|
-
|
15924
|
+
React.createElement("div", { className: "support-title-bar" },
|
15925
|
+
React.createElement("div", { className: "title-bar" },
|
15926
|
+
React.createElement("div", { className: "body-title" }, t("programme:supportTitle")),
|
15927
|
+
React.createElement("div", { className: "body-sub-title" }, t("programme:supportDesc"))),
|
15928
|
+
React.createElement("div", { className: "actions" }, enableAddSupport && (React.createElement("div", { className: "action-bar" },
|
15929
|
+
React.createElement(antd.Button, { type: "primary", size: "large", block: true, icon: React.createElement(icons.PlusOutlined, null), onClick: onClickAddSupport }, t("programme:addOwnership")))))),
|
15049
15930
|
React.createElement("div", { className: "content-card" },
|
15050
15931
|
React.createElement(antd.Row, null,
|
15051
15932
|
React.createElement(antd.Col, { lg: { span: 15 }, md: { span: 14 } },
|
@@ -15094,8 +15975,8 @@ var InvestmentManagementComponent = function (props) {
|
|
15094
15975
|
}, 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 }))));
|
15095
15976
|
};
|
15096
15977
|
|
15097
|
-
var css_248z$
|
15098
|
-
styleInject(css_248z$
|
15978
|
+
var css_248z$g = ".ndc-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.ndc-management .ant-checkbox-checked .ant-checkbox-input[value='Approved'] + .ant-checkbox-inner {\n background-color: #16b1ff;\n border: none; }\n";
|
15979
|
+
styleInject(css_248z$g);
|
15099
15980
|
|
15100
15981
|
var NdcActionManagementComponent = function (props) {
|
15101
15982
|
var t = props.t, useConnection = props.useConnection, useUserContext = props.useUserContext, onNavigateToNdcManagementView = props.onNavigateToNdcManagementView, onNavigateToProgrammeManagementView = props.onNavigateToProgrammeManagementView;
|
@@ -15475,8 +16356,8 @@ var NdcActionManagementComponent = function (props) {
|
|
15475
16356
|
} })))))));
|
15476
16357
|
};
|
15477
16358
|
|
15478
|
-
var css_248z$
|
15479
|
-
styleInject(css_248z$
|
16359
|
+
var css_248z$f = ".ndc-action-details-container Input {\n height: 40px; }\n\n.ndc-action-details-container .in-nap-col {\n width: 100%; }\n\n.ndc-action-details-container .included-nap-col {\n width: 40%;\n display: flex; }\n .ndc-action-details-container .included-nap-col .in-nap-row {\n width: 100%;\n align-items: center; }\n .ndc-action-details-container .included-nap-col .in-nap-row .included-label {\n display: flex;\n flex-direction: row;\n width: fit-content;\n align-items: center;\n justify-content: space-between;\n font-size: 14px;\n color: rgba(58, 53, 65, 0.5); }\n .ndc-action-details-container .included-nap-col .in-nap-row .included-label .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 .ndc-action-details-container .included-nap-col .in-nap-row .included-val {\n width: 100%; }\n .ndc-action-details-container .included-nap-col .in-nap-row .included-val .yes-no-radio-container {\n width: 43%;\n text-align: center; }\n .ndc-action-details-container .included-nap-col .in-nap-row .included-val .yes-no-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 border-radius: 4px; }\n .ndc-action-details-container .included-nap-col .in-nap-row .included-val .ant-radio-button-wrapper::before {\n background-color: transparent;\n border-radius: 4px; }\n .ndc-action-details-container .included-nap-col .in-nap-row .included-val .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n color: #8c8c8c; }\n .ndc-action-details-container .included-nap-col .in-nap-row .included-val .anticon {\n margin-right: 0.5rem; }\n .ndc-action-details-container .included-nap-col .in-nap-row .included-val .yes-no-radio {\n width: 100%; }\n .ndc-action-details-container .included-nap-col .in-nap-row .included-val .yes-no-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n\n.ndc-action-details-container .row-custom-1 {\n display: flex;\n margin-bottom: 2px; }\n\n.ndc-action-details-container .row-custom {\n display: flex;\n width: 200px;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 1rem; }\n .ndc-action-details-container .row-custom .ant-input-number {\n height: 35px;\n display: flex;\n align-items: center;\n justify-content: center; }\n\n.ndc-action-details-container .enablement-type-item {\n display: flex;\n width: 100%; }\n .ndc-action-details-container .enablement-type-item .ant-form-item-row {\n display: flex;\n width: 100%; }\n .ndc-action-details-container .enablement-type-item .ant-checkbox-wrapper {\n color: rgba(58, 53, 65, 0.5);\n font-size: 14px; }\n .ndc-action-details-container .enablement-type-item .type-checkbox-grp {\n display: flex;\n width: 100%; }\n .ndc-action-details-container .enablement-type-item .type-checkbox-grp .grp-row {\n display: flex;\n width: 100%; }\n\n.ndc-action-details-container .ant-select-selection-item {\n color: #949599 !important; }\n\n.ndc-action-details-container .ant-select-dropdown {\n font-family: \"Inter\";\n color: #949599 !important; }\n\n.ndc-action-details-container .ant-select-selector {\n color: #949599 !important; }\n\n.ndc-action-details-container .label-heading {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n color: rgba(58, 53, 65, 0.5);\n margin-bottom: 5px; }\n\n.ndc-action-details-container .steps-actions {\n display: flex;\n flex-direction: row-reverse; }\n .ndc-action-details-container .steps-actions .mg-left-1 {\n margin-left: 1rem; }\n\n.ndc-action-details-container .upload-doc {\n height: 40px !important;\n margin-right: 240px; }\n\n.ndc-action-details-container .ant-upload-list-item {\n border-radius: 5px !important;\n height: 40px !important; }\n\n.ndc-action-details-container .design-upload-section {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: start;\n width: 100%; }\n .ndc-action-details-container .design-upload-section .icon-color {\n color: #16b1ff !important; }\n .ndc-action-details-container .design-upload-section .ant-upload {\n width: 20%; }\n .ndc-action-details-container .design-upload-section .ant-upload-list {\n align-items: center;\n justify-content: center;\n width: 75%; }\n .ndc-action-details-container .design-upload-section .ant-upload-list .ant-upload-list-item {\n margin-top: 0; }\n";
|
16360
|
+
styleInject(css_248z$f);
|
15480
16361
|
|
15481
16362
|
var EnablementTypes;
|
15482
16363
|
(function (EnablementTypes) {
|
@@ -16083,12 +16964,12 @@ var NdcActionDetails = function (props) {
|
|
16083
16964
|
React.createElement(antd.Button, { className: "mg-left-1", type: "primary", htmlType: "submit" }, t("ndcAction:next")))))));
|
16084
16965
|
};
|
16085
16966
|
|
16086
|
-
var css_248z$
|
16087
|
-
styleInject(css_248z$f);
|
16088
|
-
|
16089
|
-
var css_248z$e = ".co-benifits-container {\n width: 100%; }\n .co-benifits-container .ant-form-item-label > label::after {\n content: none; }\n .co-benifits-container .ant-radio-button-wrapper {\n border-radius: 4px !important;\n color: rgba(140, 140, 140, 0.7) !important; }\n .co-benifits-container .view-section .ant-radio-button-wrapper-disabled:first-child,\n .co-benifits-container .view-section .ant-radio-button-wrapper-disabled:hover {\n color: rgba(140, 140, 140, 0.7);\n background-color: #ffffff;\n border-color: rgba(140, 140, 140, 0.7); }\n .co-benifits-container .view-section .ant-input[disabled] {\n color: rgba(140, 140, 140, 0.7) !important;\n background-color: #ffffff !important;\n border-color: rgba(140, 140, 140, 0.7) !important; }\n .co-benifits-container .steps-actions {\n display: flex;\n flex-direction: row-reverse; }\n .co-benifits-container .steps-actions .mg-left-1 {\n margin-left: 1rem; }\n .co-benifits-container .co-sub-title-text {\n color: rgba(58, 53, 65, 0.5);\n font-size: 14px;\n font-family: Inter;\n font-weight: 600;\n line-height: 22px; }\n .co-benifits-container .co-view-label-text {\n color: rgba(58, 53, 65, 0.5);\n font-size: 14px;\n font-family: Inter;\n font-weight: 400;\n line-height: 18.5px; }\n .co-benifits-container .benifits-tabs {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item {\n width: 100%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity {\n width: 95%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-form-item-label {\n display: flex;\n flex-direction: row;\n align-items: center;\n text-align: left;\n justify-content: flex-start;\n white-space: initial; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-radio-group {\n width: 95%;\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-radio-group .yes-no-radio-container:first-child {\n margin-right: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .yes-no-radio-container {\n width: 35%;\n text-align: center;\n max-width: 90px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .anticon {\n margin-right: 0.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .yes-no-radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .yes-no-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals {\n width: 95%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container {\n display: flex;\n width: 88%;\n align-items: center;\n justify-content: center;\n padding-top: 1.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container .images {\n display: flex;\n border: 1px solid black;\n width: 100%;\n align-items: center;\n justify-content: center; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container img {\n width: 100%;\n height: auto;\n border: 1px solid #e4e4e4;\n border-radius: 5px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container img:hover {\n box-shadow: 0 0 11px rgba(33, 33, 33, 0.2); }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container-data {\n display: flex;\n width: 88%;\n align-items: center;\n justify-content: center;\n padding-top: 1.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container-data .images {\n display: flex;\n border: 1px solid black;\n width: 100%;\n align-items: center;\n justify-content: center; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container-data img {\n width: 100%;\n height: auto;\n border: 1px solid #e4e4e4;\n border-radius: 5px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental {\n width: 95%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section {\n width: 100%;\n display: flex;\n flex-direction: column; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .title {\n width: 100%;\n color: rgba(58, 53, 65, 0.5);\n font-weight: 600; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .field-margin {\n padding-left: 2rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item {\n width: 100%;\n padding-left: 2rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-form-item-label {\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n text-align: left;\n justify-content: flex-start;\n white-space: initial; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-group {\n width: 95%;\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-group .yes-no-radio-container:first-child {\n margin-right: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-group .yes-no-radio-container:last-child {\n margin-left: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .yes-no-radio-container {\n width: 25%;\n text-align: center;\n max-width: 90px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .anticon {\n margin-right: 0.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .yes-no-radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .yes-no-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic {\n width: 95%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section {\n width: 100%;\n display: flex;\n flex-direction: column; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .title {\n width: 100%;\n color: rgba(58, 53, 65, 0.5);\n font-weight: 600; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .field-margin {\n padding-left: 2rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item {\n width: 100%;\n padding-left: 2rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-form-item-label {\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n text-align: left;\n justify-content: flex-start;\n white-space: initial; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-group {\n width: 95%;\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-group .yes-no-radio-container:first-child {\n margin-right: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-group .yes-no-radio-container:last-child {\n margin-left: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .yes-no-radio-container {\n width: 25%;\n text-align: center;\n max-width: 90px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .anticon {\n margin-right: 0.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .yes-no-radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .yes-no-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .row .col {\n display: flex;\n flex-direction: column !important; }\n .co-benifits-container .benifits-tabs .assesment-tab-item {\n width: 95%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group {\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group .radio-container {\n margin-right: 1rem;\n width: 35%;\n max-width: 90px;\n text-align: center; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group .radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group .radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group .radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .assesment-tab-item Input {\n height: 40px; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .design-upload-section {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: start;\n width: 100%; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .design-upload-section .icon-color {\n color: #16b1ff !important; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .design-upload-section .ant-upload-list {\n align-items: center;\n justify-content: center;\n max-width: 500px;\n margin-left: 5px; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .design-upload-section .ant-upload-list .ant-upload-list-item {\n margin-top: 0; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .upload-doc {\n height: 40px !important;\n margin-right: 240px; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-upload-list-item {\n border-radius: 5px !important;\n height: 40px !important; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-form-item-label-left {\n padding-right: 5px; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item {\n width: 95%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group {\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group .radio-container {\n margin-right: 1rem;\n width: 35%;\n max-width: 90px;\n text-align: center; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group .radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group .radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group .radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item Input {\n height: 40px; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-form-item-label-left {\n padding-right: 5px; }\n .co-benifits-container .benifits-tabs .social-tab-item {\n width: 95%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group {\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio-container {\n margin-right: 1rem;\n width: 35%;\n max-width: 90px;\n text-align: center; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .social-tab-item Input {\n height: 40px; }\n";
|
16967
|
+
var css_248z$e = ".add-ndc-main-container {\n display: flex;\n flex-direction: column;\n border-radius: 5px;\n padding: 0 50px; }\n .add-ndc-main-container .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,\n .add-ndc-main-container .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {\n border-color: #ff4d4f !important; }\n .add-ndc-main-container .step-title-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 1rem; }\n .add-ndc-main-container .step-title-container .step-count {\n font-size: 2.2rem;\n font-weight: 800;\n margin-right: 0.4rem;\n color: rgba(58, 53, 65, 0.8); }\n .add-ndc-main-container .step-title-container .title {\n font-size: 1rem;\n font-weight: 600;\n color: #3a3541;\n white-space: nowrap; }\n .add-ndc-main-container .title-container {\n display: flex;\n flex-direction: column;\n border-radius: 5px; }\n .add-ndc-main-container .title-container .main {\n font-size: 1.25rem;\n font-weight: 500;\n color: #6642eb; }\n .add-ndc-main-container .title-container .sub {\n font-size: 0.8rem;\n color: #555657; }\n .add-ndc-main-container .steps-actions {\n display: flex;\n flex-direction: row-reverse; }\n .add-ndc-main-container .steps-actions .mg-left-1 {\n margin-left: 1rem; }\n .add-ndc-main-container .adding-section {\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n margin: 1rem 0 1rem 0;\n border-radius: 10px;\n padding: 2.5rem 1.5rem 2.5rem 1.5rem; }\n .add-ndc-main-container .adding-section .design-upload-section {\n display: flex;\n flex-direction: row;\n justify-content: start;\n align-items: start;\n width: 100%; }\n .add-ndc-main-container .adding-section .design-upload-section .icon-color {\n color: #9155fd !important; }\n .add-ndc-main-container .adding-section .design-upload-section .ant-upload {\n width: 130px; }\n .add-ndc-main-container .adding-section .design-upload-section .ant-upload-list {\n align-items: center;\n justify-content: center;\n width: 300px; }\n .add-ndc-main-container .adding-section .design-upload-section .ant-upload-list .ant-upload-list-item {\n margin-top: 0; }\n .add-ndc-main-container .info-container {\n display: flex;\n flex-direction: row;\n width: 10%;\n height: 30px;\n align-items: center;\n justify-content: start;\n margin-left: 10px; }\n .add-ndc-main-container .upload-doc {\n height: 40px !important;\n margin-right: 240px; }\n .add-ndc-main-container .ant-upload-list-item {\n border-radius: 5px !important;\n height: 40px !important; }\n";
|
16090
16968
|
styleInject(css_248z$e);
|
16091
16969
|
|
16970
|
+
var css_248z$d = ".co-benifits-container {\n width: 100%; }\n .co-benifits-container .ant-form-item-label > label::after {\n content: none; }\n .co-benifits-container .ant-radio-button-wrapper {\n border-radius: 4px !important;\n color: rgba(140, 140, 140, 0.7) !important; }\n .co-benifits-container .view-section .ant-radio-button-wrapper-disabled:first-child,\n .co-benifits-container .view-section .ant-radio-button-wrapper-disabled:hover {\n color: rgba(140, 140, 140, 0.7);\n background-color: #ffffff;\n border-color: rgba(140, 140, 140, 0.7); }\n .co-benifits-container .view-section .ant-input[disabled] {\n color: rgba(140, 140, 140, 0.7) !important;\n background-color: #ffffff !important;\n border-color: rgba(140, 140, 140, 0.7) !important; }\n .co-benifits-container .steps-actions {\n display: flex;\n flex-direction: row-reverse; }\n .co-benifits-container .steps-actions .mg-left-1 {\n margin-left: 1rem; }\n .co-benifits-container .co-sub-title-text {\n color: rgba(58, 53, 65, 0.5);\n font-size: 14px;\n font-family: Inter;\n font-weight: 600;\n line-height: 22px; }\n .co-benifits-container .co-view-label-text {\n color: rgba(58, 53, 65, 0.5);\n font-size: 14px;\n font-family: Inter;\n font-weight: 400;\n line-height: 18.5px; }\n .co-benifits-container .benifits-tabs {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item {\n width: 100%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity {\n width: 95%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-form-item-label {\n display: flex;\n flex-direction: row;\n align-items: center;\n text-align: left;\n justify-content: flex-start;\n white-space: initial; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-radio-group {\n width: 95%;\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-radio-group .yes-no-radio-container:first-child {\n margin-right: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .yes-no-radio-container {\n width: 35%;\n text-align: center;\n max-width: 90px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .anticon {\n margin-right: 0.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .yes-no-radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .yes-no-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals {\n width: 95%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container {\n display: flex;\n width: 88%;\n align-items: center;\n justify-content: center;\n padding-top: 1.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container .images {\n display: flex;\n border: 1px solid black;\n width: 100%;\n align-items: center;\n justify-content: center; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container img {\n width: 100%;\n height: auto;\n border: 1px solid #e4e4e4;\n border-radius: 5px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container img:hover {\n box-shadow: 0 0 11px rgba(33, 33, 33, 0.2); }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container-data {\n display: flex;\n width: 88%;\n align-items: center;\n justify-content: center;\n padding-top: 1.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container-data .images {\n display: flex;\n border: 1px solid black;\n width: 100%;\n align-items: center;\n justify-content: center; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container-data img {\n width: 100%;\n height: auto;\n border: 1px solid #e4e4e4;\n border-radius: 5px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental {\n width: 95%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section {\n width: 100%;\n display: flex;\n flex-direction: column; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .title {\n width: 100%;\n color: rgba(58, 53, 65, 0.5);\n font-weight: 600; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .field-margin {\n padding-left: 2rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item {\n width: 100%;\n padding-left: 2rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-form-item-label {\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n text-align: left;\n justify-content: flex-start;\n white-space: initial; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-group {\n width: 95%;\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-group .yes-no-radio-container:first-child {\n margin-right: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-group .yes-no-radio-container:last-child {\n margin-left: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .yes-no-radio-container {\n width: 25%;\n text-align: center;\n max-width: 90px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .anticon {\n margin-right: 0.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .yes-no-radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .yes-no-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic {\n width: 95%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section {\n width: 100%;\n display: flex;\n flex-direction: column; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .title {\n width: 100%;\n color: rgba(58, 53, 65, 0.5);\n font-weight: 600; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .field-margin {\n padding-left: 2rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item {\n width: 100%;\n padding-left: 2rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-form-item-label {\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n text-align: left;\n justify-content: flex-start;\n white-space: initial; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-group {\n width: 95%;\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-group .yes-no-radio-container:first-child {\n margin-right: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-group .yes-no-radio-container:last-child {\n margin-left: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .yes-no-radio-container {\n width: 25%;\n text-align: center;\n max-width: 90px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .anticon {\n margin-right: 0.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .yes-no-radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .yes-no-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .row .col {\n display: flex;\n flex-direction: column !important; }\n .co-benifits-container .benifits-tabs .assesment-tab-item {\n width: 95%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group {\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group .radio-container {\n margin-right: 1rem;\n width: 35%;\n max-width: 90px;\n text-align: center; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group .radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group .radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group .radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .assesment-tab-item Input {\n height: 40px; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .design-upload-section {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: start;\n width: 100%; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .design-upload-section .icon-color {\n color: #16b1ff !important; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .design-upload-section .ant-upload-list {\n align-items: center;\n justify-content: center;\n max-width: 500px;\n margin-left: 5px; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .design-upload-section .ant-upload-list .ant-upload-list-item {\n margin-top: 0; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .upload-doc {\n height: 40px !important;\n margin-right: 240px; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-upload-list-item {\n border-radius: 5px !important;\n height: 40px !important; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-form-item-label-left {\n padding-right: 5px; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item {\n width: 95%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group {\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group .radio-container {\n margin-right: 1rem;\n width: 35%;\n max-width: 90px;\n text-align: center; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group .radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group .radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group .radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item Input {\n height: 40px; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-form-item-label-left {\n padding-right: 5px; }\n .co-benifits-container .benifits-tabs .social-tab-item {\n width: 95%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group {\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio-container {\n margin-right: 1rem;\n width: 35%;\n max-width: 90px;\n text-align: center; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .social-tab-item Input {\n height: 40px; }\n";
|
16971
|
+
styleInject(css_248z$d);
|
16972
|
+
|
16092
16973
|
var GenderParity = function (props) {
|
16093
16974
|
var onFormSubmit = props.onFormSubmit, genderParityViewData = props.genderParityViewData, viewOnly = props.viewOnly, translator = props.translator;
|
16094
16975
|
var formOne = antd.Form.useForm()[0];
|
@@ -18574,12 +19455,12 @@ var AddNdcActionComponent = function (props) {
|
|
18574
19455
|
React.createElement(antd.Steps, { progressDot: true, direction: "vertical", current: current, items: stepItems })))));
|
18575
19456
|
};
|
18576
19457
|
|
18577
|
-
var css_248z$
|
18578
|
-
styleInject(css_248z$d);
|
18579
|
-
|
18580
|
-
var css_248z$c = ".info-view .title-icon {\n padding-right: 10px; }\n\n.info-view .title-text {\n color: rgba(58, 53, 65, 0.8);\n font-weight: 600; }\n\n.info-view .title {\n margin-bottom: 5px; }\n\n.info-view .field-key {\n color: rgba(58, 53, 65, 0.6);\n font-weight: 500;\n text-overflow: ellipsis;\n overflow: hidden; }\n\n.info-view .field-value {\n color: rgba(58, 53, 65, 0.6);\n text-overflow: ellipsis;\n overflow: hidden; }\n .info-view .field-value .row {\n display: flex;\n width: 40%;\n align-items: center;\n justify-content: space-between; }\n .info-view .field-value .row .key {\n display: flex;\n width: 50%;\n align-items: center;\n justify-content: flex-start; }\n .info-view .field-value .row .data {\n display: flex;\n width: 50%;\n align-items: center;\n justify-content: flex-start; }\n\n.info-view .field {\n margin: 15px 25px;\n font-size: 0.8rem; }\n";
|
19458
|
+
var css_248z$c = ".ndc-details-view .card-container {\n margin-bottom: 16px;\n width: 100%;\n border-radius: 10px; }\n .ndc-details-view .card-container .co-benifits-view .title {\n color: rgba(58, 53, 65, 0.8);\n font-weight: 600;\n margin-left: 0.5rem; }\n .ndc-details-view .card-container .action-btns {\n margin-top: 25px;\n margin-bottom: -15px;\n justify-content: end; }\n\n.ndc-details-view .fix-height {\n height: 350px; }\n";
|
18581
19459
|
styleInject(css_248z$c);
|
18582
19460
|
|
19461
|
+
var css_248z$b = ".info-view .title-icon {\n padding-right: 10px; }\n\n.info-view .title-text {\n color: rgba(58, 53, 65, 0.8);\n font-weight: 600; }\n\n.info-view .title {\n margin-bottom: 5px; }\n\n.info-view .field-key {\n color: rgba(58, 53, 65, 0.6);\n font-weight: 500;\n text-overflow: ellipsis;\n overflow: hidden; }\n\n.info-view .field-value {\n color: rgba(58, 53, 65, 0.6);\n text-overflow: ellipsis;\n overflow: hidden; }\n .info-view .field-value .row {\n display: flex;\n width: 40%;\n align-items: center;\n justify-content: space-between; }\n .info-view .field-value .row .key {\n display: flex;\n width: 50%;\n align-items: center;\n justify-content: flex-start; }\n .info-view .field-value .row .data {\n display: flex;\n width: 50%;\n align-items: center;\n justify-content: flex-start; }\n\n.info-view .field {\n margin: 15px 25px;\n font-size: 0.8rem; }\n";
|
19462
|
+
styleInject(css_248z$b);
|
19463
|
+
|
18583
19464
|
var InfoView = function (props) {
|
18584
19465
|
var title = props.title, data = props.data, icon = props.icon, hiddenColumns = props.hiddenColumns;
|
18585
19466
|
return (React.createElement("div", { className: "info-view" },
|
@@ -19062,12 +19943,12 @@ var NdcActionViewComponent = function (props) {
|
|
19062
19943
|
React.createElement(CoBenifitsComponent, { viewOnly: true, coBenifitsViewDetails: (_c = state === null || state === void 0 ? void 0 : state.record) === null || _c === void 0 ? void 0 : _c.coBenefitsProperties, sdgGoalImages: sdgGoalImages, useConnection: useConnection, translator: translator })))))))));
|
19063
19944
|
};
|
19064
19945
|
|
19065
|
-
var css_248z$
|
19066
|
-
styleInject(css_248z$b);
|
19067
|
-
|
19068
|
-
var css_248z$a = ".credit-transfer-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.credit-transfer-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.credit-transfer-management .ant-checkbox-checked .ant-checkbox-input[value='Accepted'] + .ant-checkbox-inner {\n background-color: #16b1ff;\n border: none; }\n\n.credit-transfer-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.credit-transfer-management .ant-checkbox-checked .ant-checkbox-input[value='Recognised'] + .ant-checkbox-inner {\n background-color: #976ed7;\n border: none; }\n\n.credit-transfer-management .ant-checkbox-checked .ant-checkbox-input[value='NotRecognised'] + .ant-checkbox-inner {\n background-color: #ffa070;\n border: none; }\n\n.credit-transfer-management .transfer-freeze-icon {\n float: right; }\n .credit-transfer-management .transfer-freeze-icon .pause-circle {\n color: rgba(255, 77, 79, 0.8); }\n .credit-transfer-management .transfer-freeze-icon .play-circle {\n color: rgba(118, 195, 39, 0.6); }\n";
|
19946
|
+
var css_248z$a = ".credit-transfer-management .certify-list {\n width: 110px;\n display: flex;\n align-items: center;\n flex-wrap: wrap; }\n .credit-transfer-management .certify-list .profile-icon {\n margin-bottom: 4px; }\n\n.credit-transfer-management .table-actions-section {\n margin-bottom: 0px; }\n .credit-transfer-management .table-actions-section input {\n font-family: \"Inter\";\n font-size: 0.8rem; }\n\n.credit-transfer-management .all-check {\n margin-right: 10px; }\n .credit-transfer-management .all-check .ant-checkbox-inner::after {\n background-color: rgba(58, 53, 65, 0.5); }\n .credit-transfer-management .all-check .ant-checkbox-checked .ant-checkbox-inner::after {\n background-color: transparent; }\n .credit-transfer-management .all-check .ant-checkbox-checked .ant-checkbox-inner {\n background-color: rgba(58, 53, 65, 0.5);\n border: none; }\n\n.credit-transfer-management .ant-checkbox-checked .ant-checkbox-input[value='Retired'] + .ant-checkbox-inner {\n background-color: rgba(58, 53, 65, 0.4);\n border: none; }\n\n.credit-transfer-management .ant-checkbox-checked .ant-checkbox-input[value='AwaitingAuthorization'] + .ant-checkbox-inner {\n background-color: rgba(237, 77, 71, 0.6);\n border: none; }\n\n.credit-transfer-management .ant-checkbox-checked .ant-checkbox-input[value='Rejected'] + .ant-checkbox-inner {\n background-color: rgba(58, 53, 65, 0.4);\n border: none; }\n\n.credit-transfer-management .ant-checkbox-checked .ant-checkbox-input[value='Issued'] + .ant-checkbox-inner {\n background-color: #16b1ff;\n border: none; }\n\n.credit-transfer-management .ant-checkbox-checked .ant-checkbox-input[value='Transferred'] + .ant-checkbox-inner {\n background-color: rgba(118, 195, 39, 0.6);\n border: none; }\n\n.credit-transfer-modal-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n margin: 2rem 0 0 0;\n width: 100%; }\n .credit-transfer-modal-container .icon-credit {\n margin-bottom: 15px; }\n .credit-transfer-modal-container .credit-transfer-details {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n margin-bottom: 10px; }\n .credit-transfer-modal-container .credit-transfer-details .content-credit-transfer {\n font-family: 'Inter' !important;\n font-style: normal;\n font-weight: 600;\n font-size: 0.9rem;\n line-height: 1.3rem;\n padding: 0 1rem 0 1rem;\n text-align: center;\n color: rgba(58, 53, 65, 0.8) !important; }\n .credit-transfer-modal-container .credit-transfer-details .sub-content-credit-transfer {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600;\n font-size: 0.8rem;\n line-height: 1.375rem;\n text-align: center;\n color: rgba(58, 53, 65, 0.5); }\n .credit-transfer-modal-container .remarks-credit-transfer {\n flex-direction: row;\n width: 100%;\n padding: 0.5rem 1rem 0 1rem; }\n .credit-transfer-modal-container .remarks-credit-transfer .modal-form .ant-form-item-explain-error {\n display: flex;\n flex-direction: row; }\n .credit-transfer-modal-container .remarks-credit-transfer .modal-form .ant-form {\n width: 100%; }\n .credit-transfer-modal-container .remarks-credit-transfer .modal-form .ant-form .ant-form-item-label > label {\n font-size: 0.8rem; }\n .credit-transfer-modal-container .remarks-credit-transfer .modal-form .modal-credit-transfer-btns {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n margin-top: 1rem; }\n .credit-transfer-modal-container .remarks-credit-transfer .modal-form .modal-credit-transfer-btns .center {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between; }\n .credit-transfer-modal-container .remarks-credit-transfer .modal-form .modal-credit-transfer-btns .width-60 {\n width: 60%; }\n\n.common-table-class .ant-table .ant-table-thead .ant-table-cell {\n font-size: 0.75rem;\n font-weight: 600; }\n";
|
19069
19947
|
styleInject(css_248z$a);
|
19070
19948
|
|
19949
|
+
var css_248z$9 = ".credit-transfer-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.credit-transfer-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.credit-transfer-management .ant-checkbox-checked .ant-checkbox-input[value='Accepted'] + .ant-checkbox-inner {\n background-color: #16b1ff;\n border: none; }\n\n.credit-transfer-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.credit-transfer-management .ant-checkbox-checked .ant-checkbox-input[value='Recognised'] + .ant-checkbox-inner {\n background-color: #976ed7;\n border: none; }\n\n.credit-transfer-management .ant-checkbox-checked .ant-checkbox-input[value='NotRecognised'] + .ant-checkbox-inner {\n background-color: #ffa070;\n border: none; }\n\n.credit-transfer-management .transfer-freeze-icon {\n float: right; }\n .credit-transfer-management .transfer-freeze-icon .pause-circle {\n color: rgba(255, 77, 79, 0.8); }\n .credit-transfer-management .transfer-freeze-icon .play-circle {\n color: rgba(118, 195, 39, 0.6); }\n";
|
19950
|
+
styleInject(css_248z$9);
|
19951
|
+
|
19071
19952
|
function n(){return (n=Object.assign?Object.assign.bind():function(a){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(a[e]=t[e]);}return a}).apply(this,arguments)}function t(a,n){if(null==a)return {};var t,e,r={},s=Object.keys(a);for(e=0;e<s.length;e++)n.indexOf(t=s[e])>=0||(r[t]=a[t]);return r}var e={ac:!0,ad:!0,ae:!0,af:!0,afar:!0,ag:!0,ai:!0,al:!0,am:!0,ao:!0,aq:!0,ar:!0,as:!0,at:!0,au:!0,"au-aboriginal":!0,"au-act":!0,"au-nsw":!0,"au-nt":!0,"au-qld":!0,"au-tas":!0,"au-vic":!0,"au-wa":!0,aw:!0,ax:!0,az:!0,ba:!0,bb:!0,bd:!0,be:!0,bf:!0,bg:!0,bh:!0,bi:!0,bj:!0,bl:!0,bm:!0,bn:!0,bo:!0,"bq-bo":!0,"bq-sa":!0,"bq-se":!0,bq:!0,br:!0,bs:!0,bt:!0,bv:!0,bw:!0,by:!0,bz:!0,"ca-bc":!0,ca:!0,cc:!0,cd:!0,cf:!0,cg:!0,"ch-gr":!0,ch:!0,ci:!0,ck:!0,cl:!0,cm:!0,"cn-xj":!0,cn:!0,co:!0,cp:!0,cq:!0,cr:!0,cu:!0,cv:!0,cw:!0,cx:!0,cy:!0,cz:!0,de:!0,dg:!0,dj:!0,dk:!0,dm:!0,do:!0,dz:!0,ea:!0,earth:!0,east_african_federation:!0,easter_island:!0,"ec-w":!0,ec:!0,ee:!0,eg:!0,eh:!0,er:!0,"es-ar":!0,"es-ce":!0,"es-cn":!0,"es-ct":!0,"es-ga":!0,"es-ib":!0,"es-ml":!0,"es-pv":!0,"es-variant":!0,es:!0,"et-or":!0,"et-ti":!0,et:!0,eu:!0,european_union:!0,ewe:!0,fi:!0,fj:!0,fk:!0,fm:!0,fo:!0,"fr-20r":!0,"fr-bre":!0,"fr-cp":!0,fr:!0,fx:!0,ga:!0,"gb-con":!0,"gb-eng":!0,"gb-nir":!0,"gb-ork":!0,"gb-sct":!0,"gb-wls":!0,gb:!0,gd:!0,"ge-ab":!0,ge:!0,gf:!0,gg:!0,gh:!0,gi:!0,gl:!0,gm:!0,gn:!0,gp:!0,gq:!0,gr:!0,gs:!0,gt:!0,gu:!0,guarani:!0,gw:!0,gy:!0,hausa:!0,hk:!0,hm:!0,hmong:!0,hn:!0,hr:!0,ht:!0,hu:!0,ic:!0,id:!0,"id-jb":!0,"id-jt":!0,ie:!0,il:!0,im:!0,"in-as":!0,"in-gj":!0,"in-ka":!0,"in-or":!0,"in-tn":!0,in:!0,io:!0,iq:!0,ir:!0,is:!0,"it-23":!0,"it-82":!0,"it-88":!0,it:!0,je:!0,jm:!0,jo:!0,jp:!0,kanuri:!0,ke:!0,kg:!0,kh:!0,ki:!0,kikuyu:!0,km:!0,kn:!0,kongo:!0,kp:!0,kr:!0,kurdistan:!0,kw:!0,ky:!0,kz:!0,la:!0,lb:!0,lc:!0,li:!0,lk:!0,lr:!0,ls:!0,lt:!0,lu:!0,lv:!0,ly:!0,ma:!0,malayali:!0,manipur:!0,maori:!0,mc:!0,md:!0,me:!0,mf:!0,mg:!0,mh:!0,mizoram:!0,mk:!0,ml:!0,mm:!0,mn:!0,mo:!0,mp:!0,mq:!0,mr:!0,ms:!0,mt:!0,mu:!0,mv:!0,mw:!0,mx:!0,my:!0,mz:!0,na:!0,nato:!0,nc:!0,ne:!0,nf:!0,ng:!0,ni:!0,"nl-fr":!0,nl:!0,no:!0,northern_cyprus:!0,np:!0,nr:!0,nu:!0,nz:!0,occitania:!0,olympics:!0,om:!0,otomi:!0,pa:!0,pe:!0,pf:!0,pg:!0,ph:!0,"pk-jk":!0,"pk-sd":!0,pk:!0,pl:!0,pm:!0,pn:!0,pr:!0,ps:!0,"pt-20":!0,"pt-30":!0,pt:!0,pw:!0,py:!0,qa:!0,quechua:!0,re:!0,ro:!0,rs:!0,ru:!0,"ru-ba":!0,"ru-ce":!0,"ru-cu":!0,"ru-da":!0,"ru-ko":!0,"ru-ta":!0,"ru-ud":!0,rw:!0,sa:!0,sami:!0,sb:!0,sc:!0,sd:!0,se:!0,sg:!0,"sh-ac":!0,"sh-hl":!0,"sh-ta":!0,sh:!0,si:!0,sj:!0,sk:!0,sl:!0,sm:!0,sn:!0,so:!0,somaliland:!0,south_ossetia:!0,soviet_union:!0,sr:!0,ss:!0,st:!0,su:!0,sv:!0,sx:!0,sy:!0,sz:!0,ta:!0,tc:!0,td:!0,tf:!0,tg:!0,th:!0,tibet:!0,tj:!0,tk:!0,tl:!0,tm:!0,tn:!0,to:!0,torres_strait_islands:!0,tr:!0,transnistria:!0,tt:!0,tv:!0,tw:!0,tz:!0,ua:!0,ug:!0,uk:!0,um:!0,un:!0,united_nations:!0,"us-hi":!0,us:!0,uy:!0,uz:!0,va:!0,vc:!0,ve:!0,vg:!0,vi:!0,vn:!0,vu:!0,wf:!0,wiphala:!0,ws:!0,xk:!0,xx:!0,ye:!0,yorubaland:!0,yt:!0,za:!0,zm:!0,zw:!0},s=["countryCode","cdnUrl"],c=function(a,t,e,r){return void 0===r&&(r=""),n({},e,{title:e.title||a,height:e.height||100,src:""+(t||"https://hatscripts.github.io/circle-flags/flags/")+r+a+".svg"})},u=function(r){var i=r.countryCode,u=r.cdnUrl,o=t(r,s);return React.createElement("img",n({"data-testid":"circle-country-flag"},c(function(a){return e[a]?a:"xx"}(i).toLowerCase(),u,o)))};
|
19072
19953
|
|
19073
19954
|
var TransferActionModel = function (props) {
|
@@ -19817,8 +20698,8 @@ var CreditTransferComponent = function (props) {
|
|
19817
20698
|
}, 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 }))));
|
19818
20699
|
};
|
19819
20700
|
|
19820
|
-
var css_248z$9 = ".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-tooltip-inner {\n border-radius: 5px;\n background-color: #9155fd; }\n\n.ant-tooltip-arrow-content {\n --antd-arrow-background-color: linear-gradient(\n to right bottom,\n #9155fd,\n #9155fd\n ) !important; }\n\n.ant-btn.mrvdefault {\n border-radius: 5px 0px 0px 5px !important; }\n\n.ant-btn.mrvprimary {\n border-radius: 0px 5px 5px 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";
|
19821
|
-
styleInject(css_248z$
|
20701
|
+
var css_248z$8 = ".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-tooltip-inner {\n border-radius: 5px;\n background-color: #9155fd; }\n\n.ant-tooltip-arrow-content {\n --antd-arrow-background-color: linear-gradient(\n to right bottom,\n #9155fd,\n #9155fd\n ) !important; }\n\n.ant-btn.mrvdefault {\n border-radius: 5px 0px 0px 5px !important; }\n\n.ant-btn.mrvprimary {\n border-radius: 0px 5px 5px 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";
|
20702
|
+
styleInject(css_248z$8);
|
19822
20703
|
|
19823
20704
|
var MrvPieChartsStatComponent = function (props) {
|
19824
20705
|
var id = props.id, title = props.title, options = props.options, series = props.series, lastUpdate = props.lastUpdate, loading = props.loading, toolTipText = props.toolTipText, Chart = props.Chart;
|
@@ -19996,8 +20877,8 @@ var ListWidgetComponent = function (props) {
|
|
19996
20877
|
React.createElement("div", { className: "updated-on margin-top-6" }, updatedDate !== "0" && (React.createElement("div", { className: "updated-moment-container" }, updatedDate)))))));
|
19997
20878
|
};
|
19998
20879
|
|
19999
|
-
var css_248z$
|
20000
|
-
styleInject(css_248z$
|
20880
|
+
var css_248z$7 = ".map-box-container .mapboxgl-popup-content {\n background-color: #ffffff !important;\n color: rgba(58, 53, 65, 0.8) !important; }\n\n.map-box-container .mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {\n border-top-color: #ffffff !important; }\n\n.map-box-container .mapboxgl-popup-close-button,\n.map-box-container .mapboxgl-popup-close-button:hover {\n display: none; }\n";
|
20881
|
+
styleInject(css_248z$7);
|
20001
20882
|
|
20002
20883
|
var MapboxComponent = function (props) {
|
20003
20884
|
var mapContainerRef = React.useRef(null);
|
@@ -20087,8 +20968,8 @@ var MapComponent = function (props) {
|
|
20087
20968
|
return React.createElement("div", null, mapType === exports.MapTypes.Mapbox ? MapboxComponent(props) : "");
|
20088
20969
|
};
|
20089
20970
|
|
20090
|
-
var css_248z$
|
20091
|
-
styleInject(css_248z$
|
20971
|
+
var css_248z$6 = ".legend-item-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n font-size: 14px;\n font-weight: 400;\n margin-left: 0.75rem; }\n .legend-item-container .text {\n margin-left: 0.2rem; }\n";
|
20972
|
+
styleInject(css_248z$6);
|
20092
20973
|
|
20093
20974
|
var LegendItem = function (props) {
|
20094
20975
|
var text = props.text, color = props.color;
|
@@ -20719,8 +21600,8 @@ var MrvDashboardComponent = function (props) {
|
|
20719
21600
|
React.createElement(antd.Row, { gutter: [40, 40], className: "stastic-card-row" }, row.map(function (item, j) { return getWidgetJSX(item); })))); }))));
|
20720
21601
|
};
|
20721
21602
|
|
20722
|
-
var css_248z$6 = ".mapboxgl-popup-content {\n background-color: #ffffff !important;\n color: rgba(58, 53, 65, 0.8) !important; }\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.annual-report {\n display: flex;\n margin-top: 30px;\n margin-left: 22px; }\n\n.ant-btn.annual-report-downloadbutton {\n border-radius: 0px 5px 5px 0px !important; }\n\n.ant-btn.annual-report-dropdownbutton {\n margin-left: 20px;\n border-radius: 5px 0px 0px 0px !important; }\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.rgprimary {\n border-radius: 5px 0px 0px 5px !important; }\n\n.ant-btn.rgdefault {\n border-radius: 0px 5px 5px 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: 38%; }\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-end;\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: -0.5rem; }\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(185, 226, 244, 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";
|
20723
|
-
styleInject(css_248z$
|
21603
|
+
var css_248z$5 = ".mapboxgl-popup-content {\n background-color: #ffffff !important;\n color: rgba(58, 53, 65, 0.8) !important; }\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.annual-report {\n display: flex;\n margin-top: 30px;\n margin-left: 22px; }\n\n.ant-btn.annual-report-downloadbutton {\n border-radius: 0px 5px 5px 0px !important; }\n\n.ant-btn.annual-report-dropdownbutton {\n margin-left: 20px;\n border-radius: 5px 0px 0px 0px !important; }\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.rgprimary {\n border-radius: 5px 0px 0px 5px !important; }\n\n.ant-btn.rgdefault {\n border-radius: 0px 5px 5px 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: 38%; }\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-end;\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: -0.5rem; }\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(185, 226, 244, 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";
|
21604
|
+
styleInject(css_248z$5);
|
20724
21605
|
|
20725
21606
|
var getTotalProgrammesInitialValues = function () {
|
20726
21607
|
var totalProgrammmesStatusInitialValues = [];
|
@@ -21554,8 +22435,8 @@ var optionDonutPieB = {
|
|
21554
22435
|
],
|
21555
22436
|
};
|
21556
22437
|
|
21557
|
-
var css_248z$
|
21558
|
-
styleInject(css_248z$
|
22438
|
+
var css_248z$4 = ".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";
|
22439
|
+
styleInject(css_248z$4);
|
21559
22440
|
|
21560
22441
|
var toolTipTextGen = function (companyRole, cardType, mine) {
|
21561
22442
|
var text = '';
|
@@ -23568,243 +24449,6 @@ var RegistryDashboardComponent = function (props) {
|
|
23568
24449
|
lastUpdateTransferLocations))))))))) : ("")));
|
23569
24450
|
};
|
23570
24451
|
|
23571
|
-
var EditableContext = React.createContext(null);
|
23572
|
-
var EditableRow = function (_a) {
|
23573
|
-
_a.index; var props = __rest(_a, ["index"]);
|
23574
|
-
var form = antd.Form.useForm()[0];
|
23575
|
-
return (React.createElement(antd.Form, { form: form, component: false },
|
23576
|
-
React.createElement(EditableContext.Provider, { value: form },
|
23577
|
-
React.createElement("tr", __assign({}, props)))));
|
23578
|
-
};
|
23579
|
-
var EditableCell = function (_a) {
|
23580
|
-
var title = _a.title, editable = _a.editable, children = _a.children, dataIndex = _a.dataIndex, record = _a.record, handleSave = _a.handleSave, restProps = __rest(_a, ["title", "editable", "children", "dataIndex", "record", "handleSave"]);
|
23581
|
-
var _b = React.useState(false), editing = _b[0], setEditing = _b[1];
|
23582
|
-
var inputRef = React.useRef(null);
|
23583
|
-
var form = React.useContext(EditableContext);
|
23584
|
-
React.useEffect(function () {
|
23585
|
-
if (editing) {
|
23586
|
-
inputRef.current.focus();
|
23587
|
-
}
|
23588
|
-
}, [editing]);
|
23589
|
-
var toggleEdit = function () {
|
23590
|
-
var _a;
|
23591
|
-
setEditing(!editing);
|
23592
|
-
form.setFieldsValue((_a = {}, _a[dataIndex] = record[dataIndex], _a));
|
23593
|
-
};
|
23594
|
-
var save = function () { return __awaiter(void 0, void 0, void 0, function () {
|
23595
|
-
var values, errInfo_1;
|
23596
|
-
return __generator(this, function (_a) {
|
23597
|
-
switch (_a.label) {
|
23598
|
-
case 0:
|
23599
|
-
_a.trys.push([0, 2, , 3]);
|
23600
|
-
return [4 /*yield*/, form.validateFields()];
|
23601
|
-
case 1:
|
23602
|
-
values = _a.sent();
|
23603
|
-
toggleEdit();
|
23604
|
-
handleSave(__assign(__assign({}, record), values));
|
23605
|
-
return [3 /*break*/, 3];
|
23606
|
-
case 2:
|
23607
|
-
errInfo_1 = _a.sent();
|
23608
|
-
console.log('Save failed:', errInfo_1);
|
23609
|
-
return [3 /*break*/, 3];
|
23610
|
-
case 3: return [2 /*return*/];
|
23611
|
-
}
|
23612
|
-
});
|
23613
|
-
}); };
|
23614
|
-
var childNode = children;
|
23615
|
-
if (editable) {
|
23616
|
-
childNode = editing ? (React.createElement(antd.Form.Item, { style: { margin: 0 }, name: dataIndex, rules: [
|
23617
|
-
{
|
23618
|
-
required: true,
|
23619
|
-
message: "".concat(title, " is required."),
|
23620
|
-
},
|
23621
|
-
] },
|
23622
|
-
React.createElement(antd.Input, { ref: inputRef, onPressEnter: save, onBlur: save }))) : (React.createElement("div", { className: "editable-cell-value-wrap", style: { paddingRight: 24 }, onClick: toggleEdit }, children));
|
23623
|
-
}
|
23624
|
-
return React.createElement("td", __assign({}, restProps), childNode);
|
23625
|
-
};
|
23626
|
-
|
23627
|
-
var css_248z$4 = ".steps-actions {\n display: flex;\n flex-direction: row-reverse;\n margin-right: 1rem;\n justify-content: center; }\n .steps-actions .action-btn {\n border: 1px solid #16b1ff;\n color: #16b1ff;\n margin-right: 1rem; }\n .steps-actions .back-btn {\n border: 1px solid rgba(140, 140, 140, 0.7);\n color: rgba(140, 140, 140, 0.7);\n margin-right: 1rem; }\n .steps-actions .mg-left-1 {\n margin-left: 1rem; }\n";
|
23628
|
-
styleInject(css_248z$4);
|
23629
|
-
|
23630
|
-
var NdcDetailsComponent = function (props) {
|
23631
|
-
var t = props.t; props.useConnection;
|
23632
|
-
var RangePicker = antd.DatePicker.RangePicker;
|
23633
|
-
var _a = React.useState([]), ndcDetailsData = _a[0], setNdcDetailsData = _a[1];
|
23634
|
-
var _b = React.useState(false), loading = _b[0]; _b[1];
|
23635
|
-
var periodItemsRef = React.useRef([]);
|
23636
|
-
var _c = React.useState([]), periodItems = _c[0], setPeriodItems = _c[1];
|
23637
|
-
var _d = React.useState("add_new"), selectedTab = _d[0], setSelectedTab = _d[1];
|
23638
|
-
var selectedPeriod = React.useRef({});
|
23639
|
-
var handleSave = function (row) {
|
23640
|
-
var newData = __spreadArray([], ndcDetailsData, true);
|
23641
|
-
var index = newData.findIndex(function (item) { return row.key === item.key; });
|
23642
|
-
var item = newData[index];
|
23643
|
-
newData.splice(index, 1, __assign(__assign({}, item), row));
|
23644
|
-
setNdcDetailsData(newData);
|
23645
|
-
};
|
23646
|
-
var defaultColumns = [
|
23647
|
-
{
|
23648
|
-
title: t("ndc:ndcColumnsNationalPlanObj"),
|
23649
|
-
dataIndex: "nationalPlanObj",
|
23650
|
-
key: "nationalPlanObj",
|
23651
|
-
align: "left",
|
23652
|
-
editable: true,
|
23653
|
-
},
|
23654
|
-
{
|
23655
|
-
title: t("ndc:ndcColumnsKpi"),
|
23656
|
-
dataIndex: "kpi",
|
23657
|
-
key: "kpi",
|
23658
|
-
align: "left",
|
23659
|
-
editable: true,
|
23660
|
-
},
|
23661
|
-
];
|
23662
|
-
var columns = defaultColumns.map(function (col) {
|
23663
|
-
if (!col.editable) {
|
23664
|
-
return col;
|
23665
|
-
}
|
23666
|
-
return __assign(__assign({}, col), { onCell: function (record) { return ({
|
23667
|
-
record: record,
|
23668
|
-
editable: col.editable,
|
23669
|
-
dataIndex: col.dataIndex,
|
23670
|
-
title: col.title,
|
23671
|
-
handleSave: handleSave,
|
23672
|
-
}); } });
|
23673
|
-
});
|
23674
|
-
function onAddNewNdcDetail() {
|
23675
|
-
var newData = {
|
23676
|
-
startDate: new Date("2014-12-24 23:12:00"),
|
23677
|
-
endDate: new Date("2014-12-24 23:12:00"),
|
23678
|
-
nationalPlanObj: "sample text2",
|
23679
|
-
kpi: 34,
|
23680
|
-
};
|
23681
|
-
setNdcDetailsData(__spreadArray(__spreadArray([], ndcDetailsData, true), [newData], false));
|
23682
|
-
}
|
23683
|
-
var components = {
|
23684
|
-
body: {
|
23685
|
-
row: EditableRow,
|
23686
|
-
cell: EditableCell,
|
23687
|
-
},
|
23688
|
-
};
|
23689
|
-
//commented because rendering issue
|
23690
|
-
function ndcDetailsTableContent() {
|
23691
|
-
return (React.createElement("div", null)
|
23692
|
-
// <div>
|
23693
|
-
// <Button
|
23694
|
-
// onClick={onAddNewNdcDetail}
|
23695
|
-
// type="primary"
|
23696
|
-
// style={{
|
23697
|
-
// marginBottom: 16,
|
23698
|
-
// }}
|
23699
|
-
// >
|
23700
|
-
// Add a row
|
23701
|
-
// </Button>
|
23702
|
-
// <Table
|
23703
|
-
// components={components}
|
23704
|
-
// rowClassName={() => 'editable-row'}
|
23705
|
-
// bordered
|
23706
|
-
// dataSource={ndcDetailsData}
|
23707
|
-
// columns={columns}
|
23708
|
-
// />
|
23709
|
-
// </div>
|
23710
|
-
);
|
23711
|
-
}
|
23712
|
-
var onCancelPeriod = function () { };
|
23713
|
-
var onAddNewPeriod = function () {
|
23714
|
-
if (selectedPeriod && selectedPeriod.current) {
|
23715
|
-
var newPeriodItem_1 = {
|
23716
|
-
key: "".concat(selectedPeriod.current.start, "-").concat(selectedPeriod.current.end),
|
23717
|
-
label: "".concat(selectedPeriod.current.start, "-").concat(selectedPeriod.current.end),
|
23718
|
-
start: selectedPeriod.current.start,
|
23719
|
-
end: selectedPeriod.current.end,
|
23720
|
-
children: ndcDetailsTableContent(),
|
23721
|
-
};
|
23722
|
-
var existingIndex = periodItemsRef.current.findIndex(function (item) { return item.start === newPeriodItem_1.start || item.end === newPeriodItem_1.end; });
|
23723
|
-
if (existingIndex === -1) {
|
23724
|
-
setPeriodItems(function (items) { return __spreadArray(__spreadArray([], items, true), [newPeriodItem_1], false); });
|
23725
|
-
periodItemsRef.current = __spreadArray(__spreadArray([], periodItemsRef.current, true), [newPeriodItem_1], false);
|
23726
|
-
}
|
23727
|
-
else {
|
23728
|
-
antd.message.open({
|
23729
|
-
type: "error",
|
23730
|
-
content: t("ndc:rangeAlreadyExists"),
|
23731
|
-
duration: 3,
|
23732
|
-
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
23733
|
-
});
|
23734
|
-
}
|
23735
|
-
}
|
23736
|
-
};
|
23737
|
-
React.useEffect(function () {
|
23738
|
-
if (periodItems && periodItems.length > 1) {
|
23739
|
-
setSelectedTab(periodItems[periodItems.length - 1].key);
|
23740
|
-
}
|
23741
|
-
}, [periodItems]);
|
23742
|
-
var onDateRangeChanged = function (range) {
|
23743
|
-
var period = {
|
23744
|
-
start: Number(moment(range[0]).year()),
|
23745
|
-
end: Number(moment(range[1]).year()),
|
23746
|
-
};
|
23747
|
-
selectedPeriod.current = period;
|
23748
|
-
};
|
23749
|
-
function addNewPeriodContent() {
|
23750
|
-
return (React.createElement("div", null,
|
23751
|
-
React.createElement(antd.Row, null,
|
23752
|
-
React.createElement(RangePicker, { onChange: onDateRangeChanged, picker: "year" })),
|
23753
|
-
React.createElement(antd.Row, { className: "mg-top-1" },
|
23754
|
-
React.createElement("div", { className: "steps-actions" },
|
23755
|
-
React.createElement(antd.Button, { type: "primary", onClick: onAddNewPeriod, htmlType: "submit", loading: loading }, t("ndc:submit")),
|
23756
|
-
React.createElement(antd.Button, { className: "back-btn", onClick: onCancelPeriod, loading: loading }, t("ndc:back"))))));
|
23757
|
-
}
|
23758
|
-
var onTabChange = function (key) {
|
23759
|
-
setSelectedTab(key);
|
23760
|
-
};
|
23761
|
-
React.useEffect(function () {
|
23762
|
-
var defaultNdcDetails = [
|
23763
|
-
{
|
23764
|
-
startDate: new Date("2022-03-25"),
|
23765
|
-
endDate: new Date("2023-03-25"),
|
23766
|
-
nationalPlanObj: "sample text1",
|
23767
|
-
kpi: 23,
|
23768
|
-
},
|
23769
|
-
{
|
23770
|
-
startDate: new Date("2023-03-25"),
|
23771
|
-
endDate: new Date("2024-03-25"),
|
23772
|
-
nationalPlanObj: "sample text2",
|
23773
|
-
kpi: 34,
|
23774
|
-
},
|
23775
|
-
{
|
23776
|
-
startDate: new Date("2024-03-25"),
|
23777
|
-
endDate: new Date("2025-03-25"),
|
23778
|
-
nationalPlanObj: "sample text3",
|
23779
|
-
kpi: 25,
|
23780
|
-
},
|
23781
|
-
];
|
23782
|
-
var addNewItem = {
|
23783
|
-
key: "add_new",
|
23784
|
-
label: "Add New",
|
23785
|
-
children: addNewPeriodContent(),
|
23786
|
-
};
|
23787
|
-
setPeriodItems([addNewItem]);
|
23788
|
-
periodItemsRef.current = [addNewItem];
|
23789
|
-
setNdcDetailsData(defaultNdcDetails);
|
23790
|
-
}, []);
|
23791
|
-
return (React.createElement("div", { className: "ndc-management content-container" },
|
23792
|
-
React.createElement("div", { className: "title-bar" },
|
23793
|
-
React.createElement(antd.Row, { justify: "space-between", align: "middle" },
|
23794
|
-
React.createElement(antd.Col, { span: 20 },
|
23795
|
-
React.createElement("div", { className: "body-title" }, t("ndc:ndcTitle")),
|
23796
|
-
React.createElement("div", { className: "body-sub-title" }, t("ndc:ndcSubTitle"))))),
|
23797
|
-
React.createElement("div", null,
|
23798
|
-
React.createElement(antd.Tabs, { centered: false, defaultActiveKey: "1", items: periodItems, activeKey: selectedTab, onChange: onTabChange })),
|
23799
|
-
selectedTab !== "add_new" && (React.createElement("div", null,
|
23800
|
-
React.createElement("div", null,
|
23801
|
-
React.createElement(antd.Table, { components: components, rowClassName: function () { return "editable-row"; }, bordered: true, dataSource: ndcDetailsData, columns: columns, footer: function () { return (React.createElement(antd.Row, { justify: "center" },
|
23802
|
-
React.createElement(antd.Button, { onClick: onAddNewNdcDetail, type: "default", style: {
|
23803
|
-
marginBottom: 16,
|
23804
|
-
width: '100%'
|
23805
|
-
} }, t("ndc:addNdcAction")))); } }))))));
|
23806
|
-
};
|
23807
|
-
|
23808
24452
|
var ImgWithFallback = function (_a) {
|
23809
24453
|
var src = _a.src, alt = _a.alt, fallbackSrc = _a.fallbackSrc, mediaType = _a.mediaType, className = _a.className, delegated = __rest(_a, ["src", "alt", "fallbackSrc", "mediaType", "className"]);
|
23810
24454
|
return (React.createElement("picture", null,
|
@@ -25274,7 +25918,6 @@ exports.MrvDashboardComponent = MrvDashboardComponent;
|
|
25274
25918
|
exports.NdcActionBody = NdcActionBody;
|
25275
25919
|
exports.NdcActionManagementComponent = NdcActionManagementComponent;
|
25276
25920
|
exports.NdcActionViewComponent = NdcActionViewComponent;
|
25277
|
-
exports.NdcDetailsComponent = NdcDetailsComponent;
|
25278
25921
|
exports.OrganisationStatus = OrganisationStatus;
|
25279
25922
|
exports.ProfileIcon = ProfileIcon;
|
25280
25923
|
exports.ProgrammeCertify = ProgrammeCertify;
|
@@ -25293,6 +25936,8 @@ exports.RoleIcon = RoleIcon;
|
|
25293
25936
|
exports.RootBGColor = RootBGColor;
|
25294
25937
|
exports.RootColor = RootColor;
|
25295
25938
|
exports.StasticCard = StasticCard;
|
25939
|
+
exports.SupportCreationComponent = SupportCreationComponent;
|
25940
|
+
exports.SupportManagementComponent = SupportManagementComponent;
|
25296
25941
|
exports.TimelineBody = TimelineBody;
|
25297
25942
|
exports.TooltipColor = TooltipColor;
|
25298
25943
|
exports.TransferActionModel = TransferActionModel;
|