@undp/carbon-library 1.0.302-CARBON-Sprint-54.0 → 1.0.302-CARBON-Sprint-55.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +388 -440
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +388 -440
- package/dist/esm/index.js.map +1 -1
- package/dist/locales/i18n/creditTransfer/en.json +1 -2
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
@@ -6698,7 +6698,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6698
6698
|
React.createElement(Radio.Button, { className: companyRoleClassName, value: companyRole },
|
6699
6699
|
companyRole === CompanyRole.CERTIFIER ? (React.createElement(SafetyOutlined, { className: "role-icons" })) : companyRole ===
|
6700
6700
|
CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(ExperimentOutlined, { className: "role-icons" })) : companyRole === CompanyRole.MINISTRY ? (React.createElement(AuditOutlined, { className: "role-icons" })) : (React.createElement(BankOutlined, { className: "role-icons" })),
|
6701
|
-
|
6701
|
+
companyRole))) : (React.createElement(React.Fragment, null,
|
6702
6702
|
React.createElement("div", { className: "certifier-radio-container", style: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
6703
6703
|
CompanyRole.MINISTRY
|
6704
6704
|
? {
|
@@ -6966,7 +6966,7 @@ styleInject(css_248z$u);
|
|
6966
6966
|
var CompanyRoleIcon = function (props) {
|
6967
6967
|
var role = props.role;
|
6968
6968
|
return (React.createElement("div", { style: { display: 'flex', alignItems: 'center' } },
|
6969
|
-
role === 'Government' ? (React.createElement(RoleIcon, { icon: React.createElement(BankOutlined, null), bg: GovBGColor, color: GovColor })) : role === 'Certifier' ? (React.createElement(RoleIcon, { icon: React.createElement(SafetyOutlined, null), bg: CertBGColor, color: CertColor })) :
|
6969
|
+
role === 'Government' ? (React.createElement(RoleIcon, { icon: React.createElement(BankOutlined, null), bg: GovBGColor, color: GovColor })) : role === 'Certifier' ? (React.createElement(RoleIcon, { icon: React.createElement(SafetyOutlined, null), bg: CertBGColor, color: CertColor })) : (React.createElement(RoleIcon, { icon: React.createElement(ExperimentOutlined, null), bg: DevBGColor, color: DevColor })),
|
6970
6970
|
role === 'ProgrammeDeveloper' ? React.createElement("div", null, 'Developer') : React.createElement("div", null, role)));
|
6971
6971
|
};
|
6972
6972
|
|
@@ -17428,7 +17428,7 @@ var InvestmentManagementComponent = function (props) {
|
|
17428
17428
|
style: "color-primary",
|
17429
17429
|
click: function () {
|
17430
17430
|
showModalOnAction(record, {
|
17431
|
-
title: t("creditTransfer:
|
17431
|
+
title: t("creditTransfer:acceptTitle"),
|
17432
17432
|
icon: React.createElement(Icon.ClipboardCheck, null),
|
17433
17433
|
actionBtnText: t("creditTransfer:proceed"),
|
17434
17434
|
okAction: function (requestId, comment) {
|
@@ -19843,60 +19843,59 @@ var GenderParity = function (props) {
|
|
19843
19843
|
var onFormSubmit = props.onFormSubmit, genderParityViewData = props.genderParityViewData, viewOnly = props.viewOnly, translator = props.translator;
|
19844
19844
|
var formOne = Form.useForm()[0];
|
19845
19845
|
var formTwo = Form.useForm()[0];
|
19846
|
-
translator.setDefaultNamespace("genderParity");
|
19847
19846
|
var t = translator.t;
|
19848
19847
|
var _a = useState(), genderParityDetails = _a[0], setGenderParityDetails = _a[1];
|
19849
19848
|
var genderParityDetailsOne = [
|
19850
19849
|
{
|
19851
|
-
label: t("benifit1"),
|
19850
|
+
label: t("genderParity:benifit1"),
|
19852
19851
|
name: "descriminationAgainstGirls",
|
19853
19852
|
value: true,
|
19854
19853
|
},
|
19855
19854
|
{
|
19856
|
-
label: t("benifit2"),
|
19855
|
+
label: t("genderParity:benifit2"),
|
19857
19856
|
name: "violationAgainstGirls",
|
19858
19857
|
value: true,
|
19859
19858
|
},
|
19860
19859
|
{
|
19861
|
-
label: t("benifit3"),
|
19860
|
+
label: t("genderParity:benifit3"),
|
19862
19861
|
name: "harmfulPracticesAgainstGirls",
|
19863
19862
|
value: true,
|
19864
19863
|
},
|
19865
19864
|
{
|
19866
|
-
label: t("benifit4"),
|
19865
|
+
label: t("genderParity:benifit4"),
|
19867
19866
|
name: "equealRightsToGirls",
|
19868
19867
|
value: true,
|
19869
19868
|
},
|
19870
19869
|
{
|
19871
|
-
label: t("benifit5"),
|
19870
|
+
label: t("genderParity:benifit5"),
|
19872
19871
|
name: "equealRightsToHealthToGirls",
|
19873
19872
|
value: true,
|
19874
19873
|
},
|
19875
19874
|
];
|
19876
19875
|
var genderParityDetailsTwo = [
|
19877
19876
|
{
|
19878
|
-
label: t("benifit6"),
|
19877
|
+
label: t("genderParity:benifit6"),
|
19879
19878
|
name: "numberOfWomenEmpoyed",
|
19880
19879
|
col: { md: 18, lg: 10 },
|
19881
19880
|
labelCol: 24,
|
19882
19881
|
wrapperCol: 18,
|
19883
19882
|
},
|
19884
19883
|
{
|
19885
|
-
label: t("benifit7"),
|
19884
|
+
label: t("genderParity:benifit7"),
|
19886
19885
|
name: "numberOfWomenTrained",
|
19887
19886
|
col: { md: 18, lg: 10 },
|
19888
19887
|
labelCol: 24,
|
19889
19888
|
wrapperCol: 18,
|
19890
19889
|
},
|
19891
19890
|
{
|
19892
|
-
label: t("benifit8"),
|
19891
|
+
label: t("genderParity:benifit8"),
|
19893
19892
|
name: "numberOfWomenSelectedForDecisionMaking",
|
19894
19893
|
col: { md: 18, lg: 16 },
|
19895
19894
|
labelCol: 24,
|
19896
19895
|
wrapperCol: 11,
|
19897
19896
|
},
|
19898
19897
|
{
|
19899
|
-
label: t("benifit9"),
|
19898
|
+
label: t("genderParity:benifit9"),
|
19900
19899
|
name: "numberOfWomenProvidedAccessForTech",
|
19901
19900
|
col: { md: 18, lg: 16 },
|
19902
19901
|
labelCol: 24,
|
@@ -19923,12 +19922,9 @@ var GenderParity = function (props) {
|
|
19923
19922
|
var updatedGenderParityFormOneFields = genderParityFormOneFields
|
19924
19923
|
.filter(function (field) { return genderParityViewData.hasOwnProperty(field.name); })
|
19925
19924
|
.map(function (field) { return (__assign(__assign({}, field), { value: genderParityViewData[field.name] })); });
|
19926
|
-
var updatedGenderParityFormTwoFields = genderParityFormTwoFields
|
19927
|
-
|
19928
|
-
return (__assign(__assign({}, field), { value:
|
19929
|
-
? genderParityViewData[field.name]
|
19930
|
-
: "-" }));
|
19931
|
-
});
|
19925
|
+
var updatedGenderParityFormTwoFields = genderParityFormTwoFields
|
19926
|
+
.filter(function (field) { return genderParityViewData.hasOwnProperty(field.name); })
|
19927
|
+
.map(function (field) { return (__assign(__assign({}, field), { value: genderParityViewData[field.name] })); });
|
19932
19928
|
setGenderParityFormOneFields(updatedGenderParityFormOneFields);
|
19933
19929
|
setGenderParityFormTwoFields(updatedGenderParityFormTwoFields);
|
19934
19930
|
if ((updatedGenderParityFormTwoFields === null || updatedGenderParityFormTwoFields === void 0 ? void 0 : updatedGenderParityFormTwoFields.length) > 0) {
|
@@ -19951,37 +19947,29 @@ var GenderParity = function (props) {
|
|
19951
19947
|
React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: true },
|
19952
19948
|
React.createElement("div", { className: "yes-no-radio-container" },
|
19953
19949
|
React.createElement(Radio.Button, { className: "yes-no-radio", value: genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value }, (genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value) === true
|
19954
|
-
? t("yes")
|
19955
|
-
: t("no")))))) : (React.createElement(Radio.Group, { size: "middle", onChange: function () { } },
|
19950
|
+
? t("genderParity:yes")
|
19951
|
+
: t("genderParity:no")))))) : (React.createElement(Radio.Group, { size: "middle", onChange: function () { } },
|
19956
19952
|
React.createElement("div", { className: "yes-no-radio-container" },
|
19957
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value }, t("yes"))),
|
19953
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value }, t("genderParity:yes"))),
|
19958
19954
|
React.createElement("div", { className: "yes-no-radio-container" },
|
19959
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: !(genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value) }, t("no")))))));
|
19955
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: !(genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value) }, t("genderParity:no")))))));
|
19960
19956
|
})),
|
19961
19957
|
React.createElement("div", { className: "part-two" },
|
19962
19958
|
React.createElement(Form, { name: "additional-details", layout: "vertical", form: formTwo, onValuesChange: onGenderParityValuesChangedSub },
|
19963
19959
|
React.createElement(Row, { gutter: [16, 16] }, genderParityFormTwoFields === null || genderParityFormTwoFields === void 0 ? void 0 : genderParityFormTwoFields.map(function (genderDetail) {
|
19964
19960
|
var _a, _b;
|
19965
19961
|
return (React.createElement(Col, { md: (_a = genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.col) === null || _a === void 0 ? void 0 : _a.md, lg: (_b = genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.col) === null || _b === void 0 ? void 0 : _b.lg },
|
19966
|
-
React.createElement(Form.Item, { labelCol: { span: genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.labelCol }, wrapperCol: { span: genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.wrapperCol }, label: genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.label, className: "form-item", name: genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.name, rules: [
|
19962
|
+
React.createElement(Form.Item, { labelCol: { span: genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.labelCol }, wrapperCol: { span: genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.wrapperCol }, label: genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.label, className: "form-item", name: genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.name, initialValue: genderParityViewData ? genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.value : undefined, rules: [
|
19967
19963
|
{
|
19968
19964
|
required: false,
|
19969
19965
|
},
|
19970
|
-
] },
|
19971
|
-
|
19972
|
-
: !genderParityViewData
|
19973
|
-
? undefined
|
19974
|
-
: undefined })) : (React.createElement(Input, { disabled: genderParityViewData && true, size: "large", defaultValue: (genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.value)
|
19975
|
-
? genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.value
|
19976
|
-
: !genderParityViewData
|
19977
|
-
? undefined
|
19978
|
-
: undefined })))));
|
19966
|
+
] },
|
19967
|
+
React.createElement(Input, { disabled: genderParityViewData && true, size: "large" }))));
|
19979
19968
|
})))))));
|
19980
19969
|
};
|
19981
19970
|
|
19982
19971
|
var Assessment = function (props) {
|
19983
19972
|
var onFormSubmit = props.onFormSubmit, assessmentViewData = props.assessmentViewData, viewOnly = props.viewOnly, translator = props.translator;
|
19984
|
-
translator.setDefaultNamespace("coBenifits");
|
19985
19973
|
var t = translator.t;
|
19986
19974
|
var form1 = Form.useForm()[0];
|
19987
19975
|
var form2 = Form.useForm()[0];
|
@@ -20077,26 +20065,20 @@ var Assessment = function (props) {
|
|
20077
20065
|
if (info.changedFields && info.changedFields.length > 0) {
|
20078
20066
|
info.changedFields.map(function (changedField) { return __awaiter(void 0, void 0, void 0, function () {
|
20079
20067
|
var base64Value, values_1;
|
20080
|
-
|
20081
|
-
|
20082
|
-
switch (_b.label) {
|
20068
|
+
return __generator(this, function (_a) {
|
20069
|
+
switch (_a.label) {
|
20083
20070
|
case 0:
|
20084
20071
|
if (!(changedField.name[0] === "document")) return [3 /*break*/, 2];
|
20085
20072
|
return [4 /*yield*/, getBase64(changedField.value[0].originFileObj)];
|
20086
20073
|
case 1:
|
20087
|
-
base64Value =
|
20074
|
+
base64Value = _a.sent();
|
20088
20075
|
console.log("FEAsibility document : ", base64Value);
|
20089
20076
|
values_1 = base64Value;
|
20090
20077
|
setCobenefitsAssessmentDetails(function (pre) { return (__assign(__assign({}, pre), { document: values_1 })); });
|
20091
20078
|
return [3 /*break*/, 3];
|
20092
20079
|
case 2:
|
20093
|
-
|
20094
|
-
|
20095
|
-
}
|
20096
|
-
else {
|
20097
|
-
changedValues[changedField.name[0]] = undefined;
|
20098
|
-
}
|
20099
|
-
_b.label = 3;
|
20080
|
+
changedValues[changedField.name[0]] = changedField.value;
|
20081
|
+
_a.label = 3;
|
20100
20082
|
case 3: return [2 /*return*/];
|
20101
20083
|
}
|
20102
20084
|
});
|
@@ -20145,105 +20127,105 @@ var Assessment = function (props) {
|
|
20145
20127
|
React.createElement(Row, null,
|
20146
20128
|
React.createElement(Form, { name: "from1", labelCol: { span: 18 }, labelWrap: true, labelAlign: "left", wrapperCol: { span: 6 }, layout: "horizontal", requiredMark: true, form: form1, onValuesChange: function () { return validateForms(); } },
|
20147
20129
|
!viewOnly && (React.createElement("div", { className: "radio-content" },
|
20148
|
-
React.createElement(Form.Item, { label: t("assessmentIsThirdPartyVerified", {
|
20130
|
+
React.createElement(Form.Item, { label: t("coBenifits:assessmentIsThirdPartyVerified", {
|
20149
20131
|
ns: "coBenifits",
|
20150
20132
|
}), className: "form-item", name: "IsThirdPartyVerified" },
|
20151
20133
|
React.createElement(Radio.Group, { size: "middle", onChange: onIsThirdPartyVerifiedChanged },
|
20152
20134
|
React.createElement("div", { className: "radio-container" },
|
20153
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
|
20135
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
|
20154
20136
|
React.createElement("div", { className: "radio-container" },
|
20155
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
|
20137
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
|
20156
20138
|
React.createElement("div", { className: "radio-container" },
|
20157
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("n/a"))))),
|
20158
|
-
isVerifyingOrgVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("verifyingOrgNamelbl"), name: "verifyingOrgName", rules: [
|
20139
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
|
20140
|
+
isVerifyingOrgVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:verifyingOrgNamelbl"), name: "verifyingOrgName", rules: [
|
20159
20141
|
{
|
20160
20142
|
required: true,
|
20161
20143
|
message: "",
|
20162
20144
|
},
|
20163
20145
|
] },
|
20164
20146
|
React.createElement(Input, { style: { width: 303 } }))),
|
20165
|
-
React.createElement(Form.Item, { label: t("assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
|
20147
|
+
React.createElement(Form.Item, { label: t("coBenifits:assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
|
20166
20148
|
React.createElement(Radio.Group, { size: "middle", onChange: onIsWillingToVerifiedChanged },
|
20167
20149
|
React.createElement("div", { className: "radio-container" },
|
20168
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
|
20150
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
|
20169
20151
|
React.createElement("div", { className: "radio-container" },
|
20170
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
|
20152
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
|
20171
20153
|
React.createElement("div", { className: "radio-container" },
|
20172
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("n/a"))))),
|
20173
|
-
isVerifyingDetailsVisible === true && (React.createElement(Form.Item, { label: t("verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
|
20154
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
|
20155
|
+
isVerifyingDetailsVisible === true && (React.createElement(Form.Item, { label: t("coBenifits:verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
|
20174
20156
|
React.createElement(Input, { style: { width: 303 } }))))),
|
20175
20157
|
viewOnly && (React.createElement("div", { className: "radio-content view-section" },
|
20176
|
-
assessmentViewData.hasOwnProperty("IsThirdPartyVerified") && (React.createElement(Form.Item, { label: t("assessmentIsThirdPartyVerified"), className: "form-item", name: "IsThirdPartyVerified" },
|
20158
|
+
assessmentViewData.hasOwnProperty("IsThirdPartyVerified") && (React.createElement(Form.Item, { label: t("coBenifits:assessmentIsThirdPartyVerified"), className: "form-item", name: "IsThirdPartyVerified" },
|
20177
20159
|
React.createElement(Radio.Group, { size: "middle", disabled: true },
|
20178
20160
|
React.createElement("div", { className: "radio-container" },
|
20179
20161
|
React.createElement(Radio.Button, { className: "radio" }, assessmentViewData.IsThirdPartyVerified))))),
|
20180
20162
|
assessmentViewData.IsThirdPartyVerified ===
|
20181
|
-
RadioButtonStatus.YES && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("verifyingOrgNamelbl"), name: "verifyingOrgName" },
|
20163
|
+
RadioButtonStatus.YES && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:verifyingOrgNamelbl"), name: "verifyingOrgName" },
|
20182
20164
|
React.createElement(Input, { disabled: true, style: { width: 303 }, defaultValue: assessmentViewData.verifyingOrgName
|
20183
20165
|
? assessmentViewData.verifyingOrgName
|
20184
20166
|
: "-" }))),
|
20185
|
-
assessmentViewData.hasOwnProperty("IsWillingToVerified") && (React.createElement(Form.Item, { label: t("assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
|
20167
|
+
assessmentViewData.hasOwnProperty("IsWillingToVerified") && (React.createElement(Form.Item, { label: t("coBenifits:assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
|
20186
20168
|
React.createElement(Radio.Group, { size: "middle", disabled: true },
|
20187
20169
|
React.createElement("div", { className: "radio-container" },
|
20188
20170
|
React.createElement(Radio.Button, { className: "radio" }, assessmentViewData.IsWillingToVerified))))),
|
20189
20171
|
assessmentViewData.IsWillingToVerified ===
|
20190
|
-
RadioButtonStatus.YES && (React.createElement(Form.Item, { label: t("verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
|
20172
|
+
RadioButtonStatus.YES && (React.createElement(Form.Item, { label: t("coBenifits:verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
|
20191
20173
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.verifyingDetails
|
20192
20174
|
? assessmentViewData.verifyingDetails
|
20193
20175
|
: "-", style: { width: 303 } }))))))),
|
20194
20176
|
React.createElement(Row, null,
|
20195
20177
|
React.createElement(Form, { name: "form2", labelCol: { span: 14 }, labelWrap: true, labelAlign: "left", wrapperCol: { span: 8 }, layout: "vertical", requiredMark: true, form: form2, className: "view-section" },
|
20196
20178
|
React.createElement(Row, { className: "mg-bottom-1" },
|
20197
|
-
React.createElement("label", { className: "co-sub-title-text" }, t("contactInformation"))),
|
20179
|
+
React.createElement("label", { className: "co-sub-title-text" }, t("coBenifits:contactInformation"))),
|
20198
20180
|
React.createElement(Row, { justify: "start", gutter: 16 },
|
20199
20181
|
React.createElement(Col, { flex: "139px" },
|
20200
20182
|
React.createElement(React.Fragment, null,
|
20201
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentTitle"), name: "title" },
|
20183
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTitle"), name: "title" },
|
20202
20184
|
React.createElement(Select, { size: "large", style: {
|
20203
20185
|
width: "139px",
|
20204
20186
|
borderRadius: "4px",
|
20205
20187
|
}, options: titleList }))),
|
20206
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentTitle"), name: "title" },
|
20188
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTitle"), name: "title" },
|
20207
20189
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.title
|
20208
20190
|
? assessmentViewData.title
|
20209
20191
|
: "-", style: { width: 303 } }))))),
|
20210
20192
|
React.createElement(Col, { flex: "303px" },
|
20211
20193
|
React.createElement(React.Fragment, null,
|
20212
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentFirstName"), name: "firstName" },
|
20194
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFirstName"), name: "firstName" },
|
20213
20195
|
React.createElement(Input, { style: { width: 303 } }))),
|
20214
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentFirstName"), name: "firstName" },
|
20196
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFirstName"), name: "firstName" },
|
20215
20197
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.firstName
|
20216
20198
|
? assessmentViewData.firstName
|
20217
20199
|
: "-", style: { width: 303 } }))))),
|
20218
20200
|
React.createElement(Col, { flex: "303px" },
|
20219
20201
|
React.createElement(React.Fragment, null,
|
20220
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentLastName"), name: "lastName" },
|
20202
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentLastName"), name: "lastName" },
|
20221
20203
|
React.createElement(Input, { style: { width: 303 } }))),
|
20222
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentLastName"), name: "lastName" },
|
20204
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentLastName"), name: "lastName" },
|
20223
20205
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.lastName
|
20224
20206
|
? assessmentViewData.lastName
|
20225
20207
|
: "-", style: { width: 303 } })))))),
|
20226
20208
|
React.createElement(Row, { justify: "start", gutter: 16 },
|
20227
20209
|
React.createElement(Col, { flex: "462px" },
|
20228
20210
|
React.createElement(React.Fragment, null,
|
20229
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentOrganisation"), name: "organisation" },
|
20211
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentOrganisation"), name: "organisation" },
|
20230
20212
|
React.createElement(Input, { style: { width: 462 } }))),
|
20231
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentOrganisation"), name: "organisation" },
|
20213
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentOrganisation"), name: "organisation" },
|
20232
20214
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.organisation
|
20233
20215
|
? assessmentViewData.organisation
|
20234
20216
|
: "-", style: { width: 462 } }))))),
|
20235
20217
|
React.createElement(Col, { flex: "303px" },
|
20236
20218
|
React.createElement(React.Fragment, null,
|
20237
|
-
React.createElement(Skeleton, { loading: isCountryListLoading, active: true }, !viewOnly && countries.length > 0 && (React.createElement(Form.Item, { label: t("assessmentTelephone"), name: "telephone" },
|
20219
|
+
React.createElement(Skeleton, { loading: isCountryListLoading, active: true }, !viewOnly && countries.length > 0 && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTelephone"), name: "telephone" },
|
20238
20220
|
React.createElement(PhoneInput, { style: { width: 303 }, international: true, defaultCountry: "LK", countryCallingCodeEditable: false, onChange: function (v) { }, countries: countries })))),
|
20239
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentTelephone"), name: "telephone" },
|
20221
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTelephone"), name: "telephone" },
|
20240
20222
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.telephone
|
20241
20223
|
? assessmentViewData.telephone
|
20242
20224
|
: "-", style: { width: 303 } })))))),
|
20243
20225
|
React.createElement(Row, { justify: "start", gutter: 16 },
|
20244
20226
|
React.createElement(Col, { flex: "303px" },
|
20245
20227
|
React.createElement(React.Fragment, null,
|
20246
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentEmail"), name: "email", rules: [
|
20228
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentEmail"), name: "email", rules: [
|
20247
20229
|
{
|
20248
20230
|
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
20249
20231
|
var val, reg, matches;
|
@@ -20264,15 +20246,15 @@ var Assessment = function (props) {
|
|
20264
20246
|
},
|
20265
20247
|
] },
|
20266
20248
|
React.createElement(Input, { style: { width: 303 } }))),
|
20267
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentEmail"), name: "email" },
|
20249
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentEmail"), name: "email" },
|
20268
20250
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.email
|
20269
20251
|
? assessmentViewData.email
|
20270
20252
|
: "-", style: { width: 303 } }))))),
|
20271
20253
|
React.createElement(Col, { flex: "462px" },
|
20272
20254
|
React.createElement(React.Fragment, null,
|
20273
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentAffiliationCDM"), name: "affiliationCDM" },
|
20255
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentAffiliationCDM"), name: "affiliationCDM" },
|
20274
20256
|
React.createElement(Input, { style: { width: 462 } }))),
|
20275
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentAffiliationCDM"), name: "affiliationCDM" },
|
20257
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentAffiliationCDM"), name: "affiliationCDM" },
|
20276
20258
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.affiliationCDM
|
20277
20259
|
? assessmentViewData.affiliationCDM
|
20278
20260
|
: "-", style: { width: 462 } })))))))),
|
@@ -20280,15 +20262,15 @@ var Assessment = function (props) {
|
|
20280
20262
|
React.createElement(Col, { span: 24 },
|
20281
20263
|
React.createElement(Form, { name: "form3", labelCol: { span: 18 }, labelWrap: true, labelAlign: "left", wrapperCol: { span: 6 }, layout: "horizontal", requiredMark: true, form: form3, onValuesChange: function () { return validateForms(); } },
|
20282
20264
|
!viewOnly && (React.createElement("div", { className: "radio-content" },
|
20283
|
-
React.createElement(Form.Item, { label: t("assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
|
20265
|
+
React.createElement(Form.Item, { label: t("coBenifits:assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
|
20284
20266
|
React.createElement(Radio.Group, { size: "middle", onChange: onIsThePersonListedChanged },
|
20285
20267
|
React.createElement("div", { className: "radio-container" },
|
20286
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
|
20268
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
|
20287
20269
|
React.createElement("div", { className: "radio-container" },
|
20288
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
|
20270
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
|
20289
20271
|
React.createElement("div", { className: "radio-container" },
|
20290
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("n/a"))))),
|
20291
|
-
isPersonListedDetailsVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("specify"), name: "personListedDetails", rules: [
|
20272
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
|
20273
|
+
isPersonListedDetailsVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:specify"), name: "personListedDetails", rules: [
|
20292
20274
|
{
|
20293
20275
|
required: true,
|
20294
20276
|
message: "",
|
@@ -20296,45 +20278,45 @@ var Assessment = function (props) {
|
|
20296
20278
|
] },
|
20297
20279
|
React.createElement(Input, { style: { width: 303 } }))))),
|
20298
20280
|
viewOnly && (React.createElement("div", { className: "radio-content view-section" },
|
20299
|
-
assessmentViewData.hasOwnProperty("isThePersonListed") && (React.createElement(Form.Item, { label: t("assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
|
20281
|
+
assessmentViewData.hasOwnProperty("isThePersonListed") && (React.createElement(Form.Item, { label: t("coBenifits:assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
|
20300
20282
|
React.createElement(Radio.Group, { size: "middle", disabled: true },
|
20301
20283
|
React.createElement("div", { className: "radio-container" },
|
20302
20284
|
React.createElement(Radio.Button, { className: "radio" }, assessmentViewData.isThePersonListed))))),
|
20303
20285
|
assessmentViewData.isThePersonListed ===
|
20304
|
-
RadioButtonStatus.NO && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("specify"), name: "personListedDetails" },
|
20286
|
+
RadioButtonStatus.NO && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:specify"), name: "personListedDetails" },
|
20305
20287
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.personListedDetails
|
20306
20288
|
? assessmentViewData.personListedDetails
|
20307
20289
|
: "-", style: { width: 303 } })))))))),
|
20308
20290
|
React.createElement(Row, null,
|
20309
20291
|
React.createElement(Form, { layout: "vertical", name: "form4", form: form4, className: "view-section" },
|
20310
20292
|
React.createElement(Row, { className: "mg-bottom-1" },
|
20311
|
-
React.createElement("label", { className: "co-sub-title-text" }, t("feasibilityReport"))),
|
20293
|
+
React.createElement("label", { className: "co-sub-title-text" }, t("coBenifits:feasibilityReport"))),
|
20312
20294
|
React.createElement(Row, { justify: "start", gutter: 16 },
|
20313
20295
|
React.createElement(Col, { flex: "303px" },
|
20314
20296
|
React.createElement(React.Fragment, null,
|
20315
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentStudyName"), name: "studyName" },
|
20297
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentStudyName"), name: "studyName" },
|
20316
20298
|
React.createElement(Input, { style: { width: 303 } }))),
|
20317
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentStudyName"), name: "studyName" },
|
20299
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentStudyName"), name: "studyName" },
|
20318
20300
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.studyName
|
20319
20301
|
? assessmentViewData.studyName
|
20320
20302
|
: "-", style: { width: 303 } }))))),
|
20321
20303
|
React.createElement(Col, { flex: "303px" },
|
20322
20304
|
React.createElement(React.Fragment, null,
|
20323
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentFunder"), name: "funder" },
|
20305
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFunder"), name: "funder" },
|
20324
20306
|
React.createElement(Input, { style: { width: 303 } }))),
|
20325
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentFunder"), name: "funder" },
|
20307
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFunder"), name: "funder" },
|
20326
20308
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.funder
|
20327
20309
|
? assessmentViewData.funder
|
20328
20310
|
: "-", style: { width: 303 } })))))),
|
20329
20311
|
React.createElement(Row, null,
|
20330
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentDocuments"), name: "document", valuePropName: "fileList", getValueFromEvent: normFile, required: false, rules: [
|
20312
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentDocuments"), name: "document", valuePropName: "fileList", getValueFromEvent: normFile, required: false, rules: [
|
20331
20313
|
{
|
20332
20314
|
validator: function (rule, file) { return __awaiter(void 0, void 0, void 0, function () {
|
20333
20315
|
var _a, _b;
|
20334
20316
|
return __generator(this, function (_c) {
|
20335
20317
|
if ((file === null || file === void 0 ? void 0 : file.length) > 0) {
|
20336
20318
|
if (!isValidateFileType((_a = file[0]) === null || _a === void 0 ? void 0 : _a.type)) {
|
20337
|
-
throw new Error("".concat(t("invalidFileFormat")));
|
20319
|
+
throw new Error("".concat(t("coBenifits:invalidFileFormat")));
|
20338
20320
|
}
|
20339
20321
|
else if (((_b = file[0]) === null || _b === void 0 ? void 0 : _b.size) > maximumFileSize) {
|
20340
20322
|
throw new Error("".concat(t("common:maxSizeVal")));
|
@@ -20349,7 +20331,7 @@ var Assessment = function (props) {
|
|
20349
20331
|
return false;
|
20350
20332
|
}, className: "design-upload-section", name: "document", listType: "picture", multiple: false, maxCount: 1 },
|
20351
20333
|
React.createElement(Button, { className: "upload-doc", size: "large", icon: React.createElement(UploadOutlined, null) }, "Upload")))),
|
20352
|
-
viewOnly && assessmentViewData.document && (React.createElement(Form.Item, { label: t("assessmentDocuments"), name: "assessmentDocuments" },
|
20334
|
+
viewOnly && assessmentViewData.document && (React.createElement(Form.Item, { label: t("coBenifits:assessmentDocuments"), name: "assessmentDocuments" },
|
20353
20335
|
React.createElement("a", { href: assessmentViewData.document, target: "_blank", rel: "noopener noreferrer", download: true }, assessmentViewData.document))))))))));
|
20354
20336
|
};
|
20355
20337
|
|
@@ -20525,176 +20507,175 @@ var SdgGoals = function (props) {
|
|
20525
20507
|
|
20526
20508
|
var Safeguards = function (props) {
|
20527
20509
|
var onFormSubmit = props.onFormSubmit, safeGuardViewData = props.safeGuardViewData, viewOnly = props.viewOnly, translator = props.translator;
|
20528
|
-
translator.setDefaultNamespace("safeguards");
|
20529
20510
|
var t = translator.t;
|
20530
20511
|
var _a = useState(), safeguardDetails = _a[0], setSafeguardDetails = _a[1];
|
20531
20512
|
var form = Form.useForm()[0];
|
20532
20513
|
var initialFormElementList = [
|
20533
20514
|
{
|
20534
20515
|
type: FormElementType.Label,
|
20535
|
-
label: t("humanRights"),
|
20516
|
+
label: t("safeguards:humanRights"),
|
20536
20517
|
items: [
|
20537
20518
|
{
|
20538
20519
|
type: FormElementType.Radio,
|
20539
|
-
label: t("isRespectHumanRights"),
|
20520
|
+
label: t("safeguards:isRespectHumanRights"),
|
20540
20521
|
name: "isRespectHumanRights",
|
20541
20522
|
},
|
20542
20523
|
{
|
20543
20524
|
type: FormElementType.Radio,
|
20544
|
-
label: t("isProjectdiscriminate"),
|
20525
|
+
label: t("safeguards:isProjectdiscriminate"),
|
20545
20526
|
name: "isProjectdiscriminate",
|
20546
20527
|
},
|
20547
20528
|
],
|
20548
20529
|
},
|
20549
20530
|
{
|
20550
20531
|
type: FormElementType.Label,
|
20551
|
-
label: t("genderEquality"),
|
20532
|
+
label: t("safeguards:genderEquality"),
|
20552
20533
|
items: [
|
20553
20534
|
{
|
20554
20535
|
type: FormElementType.Radio,
|
20555
|
-
label: t("genderEqualityQ1"),
|
20536
|
+
label: t("safeguards:genderEqualityQ1"),
|
20556
20537
|
name: "genderEqualityQ1",
|
20557
20538
|
},
|
20558
20539
|
{
|
20559
20540
|
type: FormElementType.Radio,
|
20560
|
-
label: t("genderEqualityQ2"),
|
20541
|
+
label: t("safeguards:genderEqualityQ2"),
|
20561
20542
|
name: "genderEqualityQ2",
|
20562
20543
|
},
|
20563
20544
|
{
|
20564
20545
|
type: FormElementType.Radio,
|
20565
|
-
label: t("genderEqualityQ3"),
|
20546
|
+
label: t("safeguards:genderEqualityQ3"),
|
20566
20547
|
name: "genderEqualityQ3",
|
20567
20548
|
},
|
20568
20549
|
{
|
20569
20550
|
type: FormElementType.Radio,
|
20570
|
-
label: t("genderEqualityQ4"),
|
20551
|
+
label: t("safeguards:genderEqualityQ4"),
|
20571
20552
|
name: "genderEqualityQ4",
|
20572
20553
|
},
|
20573
20554
|
],
|
20574
20555
|
},
|
20575
20556
|
{
|
20576
20557
|
type: FormElementType.Label,
|
20577
|
-
label: t("communityHealth"),
|
20558
|
+
label: t("safeguards:communityHealth"),
|
20578
20559
|
items: [
|
20579
20560
|
{
|
20580
20561
|
type: FormElementType.Radio,
|
20581
|
-
label: t("communityHealthQ1"),
|
20562
|
+
label: t("safeguards:communityHealthQ1"),
|
20582
20563
|
name: "communityHealthQ1",
|
20583
20564
|
},
|
20584
20565
|
],
|
20585
20566
|
},
|
20586
20567
|
{
|
20587
20568
|
type: FormElementType.Label,
|
20588
|
-
label: t("historicHeritage"),
|
20569
|
+
label: t("safeguards:historicHeritage"),
|
20589
20570
|
items: [
|
20590
20571
|
{
|
20591
20572
|
type: FormElementType.Radio,
|
20592
|
-
label: t("historicHeritageQ1"),
|
20573
|
+
label: t("safeguards:historicHeritageQ1"),
|
20593
20574
|
name: "historicHeritageQ1",
|
20594
20575
|
},
|
20595
20576
|
],
|
20596
20577
|
},
|
20597
20578
|
{
|
20598
20579
|
type: FormElementType.Label,
|
20599
|
-
label: t("forcedEviction"),
|
20580
|
+
label: t("safeguards:forcedEviction"),
|
20600
20581
|
items: [
|
20601
20582
|
{
|
20602
20583
|
type: FormElementType.Radio,
|
20603
|
-
label: t("forcedEvictionQ1"),
|
20584
|
+
label: t("safeguards:forcedEvictionQ1"),
|
20604
20585
|
name: "forcedEvictionQ1",
|
20605
20586
|
},
|
20606
20587
|
],
|
20607
20588
|
},
|
20608
20589
|
{
|
20609
20590
|
type: FormElementType.Label,
|
20610
|
-
label: t("landTenure"),
|
20591
|
+
label: t("safeguards:landTenure"),
|
20611
20592
|
items: [
|
20612
20593
|
{
|
20613
20594
|
type: FormElementType.Radio,
|
20614
|
-
label: t("landTenureQ1"),
|
20595
|
+
label: t("safeguards:landTenureQ1"),
|
20615
20596
|
name: "landTenureQ1",
|
20616
20597
|
},
|
20617
20598
|
{
|
20618
20599
|
type: FormElementType.Radio,
|
20619
|
-
label: t("landTenureQ2"),
|
20600
|
+
label: t("safeguards:landTenureQ2"),
|
20620
20601
|
name: "landTenureQ2",
|
20621
20602
|
},
|
20622
20603
|
],
|
20623
20604
|
},
|
20624
20605
|
{
|
20625
20606
|
type: FormElementType.Label,
|
20626
|
-
label: t("indegenousPeople"),
|
20607
|
+
label: t("safeguards:indegenousPeople"),
|
20627
20608
|
items: [
|
20628
20609
|
{
|
20629
20610
|
type: FormElementType.Radio,
|
20630
|
-
label: t("indegenousPeopleQ1"),
|
20611
|
+
label: t("safeguards:indegenousPeopleQ1"),
|
20631
20612
|
name: "indegenousPeopleQ1",
|
20632
20613
|
},
|
20633
20614
|
],
|
20634
20615
|
},
|
20635
20616
|
{
|
20636
20617
|
type: FormElementType.Label,
|
20637
|
-
label: t("corruption"),
|
20618
|
+
label: t("safeguards:corruption"),
|
20638
20619
|
items: [
|
20639
20620
|
{
|
20640
20621
|
type: FormElementType.Radio,
|
20641
|
-
label: t("corruptionQ1"),
|
20622
|
+
label: t("safeguards:corruptionQ1"),
|
20642
20623
|
name: "corruptionQ1",
|
20643
20624
|
},
|
20644
20625
|
],
|
20645
20626
|
},
|
20646
20627
|
{
|
20647
20628
|
type: FormElementType.Label,
|
20648
|
-
label: t("labourRights"),
|
20629
|
+
label: t("safeguards:labourRights"),
|
20649
20630
|
items: [
|
20650
20631
|
{
|
20651
20632
|
type: FormElementType.Radio,
|
20652
|
-
label: t("labourRightsQ1"),
|
20633
|
+
label: t("safeguards:labourRightsQ1"),
|
20653
20634
|
name: "labourRightsQ1",
|
20654
20635
|
},
|
20655
20636
|
{
|
20656
20637
|
type: FormElementType.Radio,
|
20657
|
-
label: t("labourRightsQ2"),
|
20638
|
+
label: t("safeguards:labourRightsQ2"),
|
20658
20639
|
name: "labourRightsQ2",
|
20659
20640
|
},
|
20660
20641
|
{
|
20661
20642
|
type: FormElementType.Label,
|
20662
|
-
label: t("labourRightsSubLabel"),
|
20643
|
+
label: t("safeguards:labourRightsSubLabel"),
|
20663
20644
|
className: "mg-left-2",
|
20664
20645
|
items: [
|
20665
20646
|
{
|
20666
20647
|
type: FormElementType.Radio,
|
20667
|
-
label: t("labourRightsSubQ1"),
|
20648
|
+
label: t("safeguards:labourRightsSubQ1"),
|
20668
20649
|
name: "labourRightsSubQ1",
|
20669
20650
|
className: "mg-left-4",
|
20670
20651
|
},
|
20671
20652
|
{
|
20672
20653
|
type: FormElementType.Radio,
|
20673
|
-
label: t("labourRightsSubQ2"),
|
20654
|
+
label: t("safeguards:labourRightsSubQ2"),
|
20674
20655
|
name: "labourRightsSubQ2",
|
20675
20656
|
className: "mg-left-4",
|
20676
20657
|
},
|
20677
20658
|
{
|
20678
20659
|
type: FormElementType.Radio,
|
20679
|
-
label: t("labourRightsSubQ3"),
|
20660
|
+
label: t("safeguards:labourRightsSubQ3"),
|
20680
20661
|
name: "labourRightsSubQ3",
|
20681
20662
|
className: "mg-left-4",
|
20682
20663
|
},
|
20683
20664
|
{
|
20684
20665
|
type: FormElementType.Radio,
|
20685
|
-
label: t("labourRightsSubQ4"),
|
20666
|
+
label: t("safeguards:labourRightsSubQ4"),
|
20686
20667
|
name: "labourRightsSubQ4",
|
20687
20668
|
className: "mg-left-4",
|
20688
20669
|
},
|
20689
20670
|
{
|
20690
20671
|
type: FormElementType.Radio,
|
20691
|
-
label: t("labourRightsSubQ5"),
|
20672
|
+
label: t("safeguards:labourRightsSubQ5"),
|
20692
20673
|
name: "labourRightsSubQ5",
|
20693
20674
|
className: "mg-left-4",
|
20694
20675
|
},
|
20695
20676
|
{
|
20696
20677
|
type: FormElementType.Radio,
|
20697
|
-
label: t("labourRightsSubQ6"),
|
20678
|
+
label: t("safeguards:labourRightsSubQ6"),
|
20698
20679
|
name: "labourRightsSubQ6",
|
20699
20680
|
className: "mg-left-4",
|
20700
20681
|
},
|
@@ -20702,198 +20683,198 @@ var Safeguards = function (props) {
|
|
20702
20683
|
},
|
20703
20684
|
{
|
20704
20685
|
type: FormElementType.Radio,
|
20705
|
-
label: t("labourRightsQ3"),
|
20686
|
+
label: t("safeguards:labourRightsQ3"),
|
20706
20687
|
name: "labourRightsQ3",
|
20707
20688
|
},
|
20708
20689
|
{
|
20709
20690
|
type: FormElementType.Radio,
|
20710
|
-
label: t("labourRightsQ4"),
|
20691
|
+
label: t("safeguards:labourRightsQ4"),
|
20711
20692
|
name: "labourRightsQ4",
|
20712
20693
|
},
|
20713
20694
|
],
|
20714
20695
|
},
|
20715
20696
|
{
|
20716
20697
|
type: FormElementType.Label,
|
20717
|
-
label: t("economicConsequences"),
|
20698
|
+
label: t("safeguards:economicConsequences"),
|
20718
20699
|
items: [
|
20719
20700
|
{
|
20720
20701
|
type: FormElementType.Radio,
|
20721
|
-
label: t("economicConsequencesQ1"),
|
20702
|
+
label: t("safeguards:economicConsequencesQ1"),
|
20722
20703
|
name: "economicConsequencesQ1",
|
20723
20704
|
},
|
20724
20705
|
],
|
20725
20706
|
},
|
20726
20707
|
{
|
20727
20708
|
type: FormElementType.Label,
|
20728
|
-
label: t("emissions"),
|
20709
|
+
label: t("safeguards:emissions"),
|
20729
20710
|
items: [
|
20730
20711
|
{
|
20731
20712
|
type: FormElementType.Radio,
|
20732
|
-
label: t("emissionsQ1"),
|
20713
|
+
label: t("safeguards:emissionsQ1"),
|
20733
20714
|
name: "emissionsQ1",
|
20734
20715
|
},
|
20735
20716
|
],
|
20736
20717
|
},
|
20737
20718
|
{
|
20738
20719
|
type: FormElementType.Label,
|
20739
|
-
label: t("energySupply"),
|
20720
|
+
label: t("safeguards:energySupply"),
|
20740
20721
|
items: [
|
20741
20722
|
{
|
20742
20723
|
type: FormElementType.Radio,
|
20743
|
-
label: t("energySupplyQ1"),
|
20724
|
+
label: t("safeguards:energySupplyQ1"),
|
20744
20725
|
name: "energySupplyQ1",
|
20745
20726
|
},
|
20746
20727
|
],
|
20747
20728
|
},
|
20748
20729
|
{
|
20749
20730
|
type: FormElementType.Label,
|
20750
|
-
label: t("waterPattern"),
|
20731
|
+
label: t("safeguards:waterPattern"),
|
20751
20732
|
items: [
|
20752
20733
|
{
|
20753
20734
|
type: FormElementType.Radio,
|
20754
|
-
label: t("waterPatternQ1"),
|
20735
|
+
label: t("safeguards:waterPatternQ1"),
|
20755
20736
|
name: "waterPatternQ1",
|
20756
20737
|
},
|
20757
20738
|
],
|
20758
20739
|
},
|
20759
20740
|
{
|
20760
20741
|
type: FormElementType.Label,
|
20761
|
-
label: t("erosoin"),
|
20742
|
+
label: t("safeguards:erosoin"),
|
20762
20743
|
items: [
|
20763
20744
|
{
|
20764
20745
|
type: FormElementType.Radio,
|
20765
|
-
label: t("erosoinQ1"),
|
20746
|
+
label: t("safeguards:erosoinQ1"),
|
20766
20747
|
name: "erosoinQ1",
|
20767
20748
|
},
|
20768
20749
|
{
|
20769
20750
|
type: FormElementType.Radio,
|
20770
|
-
label: t("erosoinQ2"),
|
20751
|
+
label: t("safeguards:erosoinQ2"),
|
20771
20752
|
name: "erosoinQ2",
|
20772
20753
|
},
|
20773
20754
|
],
|
20774
20755
|
},
|
20775
20756
|
{
|
20776
20757
|
type: FormElementType.Label,
|
20777
|
-
label: t("landscape"),
|
20758
|
+
label: t("safeguards:landscape"),
|
20778
20759
|
items: [
|
20779
20760
|
{
|
20780
20761
|
type: FormElementType.Radio,
|
20781
|
-
label: t("landscapeQ1"),
|
20762
|
+
label: t("safeguards:landscapeQ1"),
|
20782
20763
|
name: "landscapeQ1",
|
20783
20764
|
},
|
20784
20765
|
],
|
20785
20766
|
},
|
20786
20767
|
{
|
20787
20768
|
type: FormElementType.Label,
|
20788
|
-
label: t("naturalDisaster"),
|
20769
|
+
label: t("safeguards:naturalDisaster"),
|
20789
20770
|
items: [
|
20790
20771
|
{
|
20791
20772
|
type: FormElementType.Radio,
|
20792
|
-
label: t("naturalDisasterQ1"),
|
20773
|
+
label: t("safeguards:naturalDisasterQ1"),
|
20793
20774
|
name: "naturalDisasterQ1",
|
20794
20775
|
},
|
20795
20776
|
],
|
20796
20777
|
},
|
20797
20778
|
{
|
20798
20779
|
type: FormElementType.Label,
|
20799
|
-
label: t("genetic"),
|
20780
|
+
label: t("safeguards:genetic"),
|
20800
20781
|
items: [
|
20801
20782
|
{
|
20802
20783
|
type: FormElementType.Radio,
|
20803
|
-
label: t("geneticQ1"),
|
20784
|
+
label: t("safeguards:geneticQ1"),
|
20804
20785
|
name: "geneticQ1",
|
20805
20786
|
},
|
20806
20787
|
],
|
20807
20788
|
},
|
20808
20789
|
{
|
20809
20790
|
type: FormElementType.Label,
|
20810
|
-
label: t("pollutants"),
|
20791
|
+
label: t("safeguards:pollutants"),
|
20811
20792
|
items: [
|
20812
20793
|
{
|
20813
20794
|
type: FormElementType.Radio,
|
20814
|
-
label: t("pollutantsQ1"),
|
20795
|
+
label: t("safeguards:pollutantsQ1"),
|
20815
20796
|
name: "pollutantsQ1",
|
20816
20797
|
},
|
20817
20798
|
],
|
20818
20799
|
},
|
20819
20800
|
{
|
20820
20801
|
type: FormElementType.Label,
|
20821
|
-
label: t("hazardousWaste"),
|
20802
|
+
label: t("safeguards:hazardousWaste"),
|
20822
20803
|
items: [
|
20823
20804
|
{
|
20824
20805
|
type: FormElementType.Radio,
|
20825
|
-
label: t("hazardousWasteQ1"),
|
20806
|
+
label: t("safeguards:hazardousWasteQ1"),
|
20826
20807
|
name: "hazardousWasteQ1",
|
20827
20808
|
},
|
20828
20809
|
],
|
20829
20810
|
},
|
20830
20811
|
{
|
20831
20812
|
type: FormElementType.Label,
|
20832
|
-
label: t("pesticides"),
|
20813
|
+
label: t("safeguards:pesticides"),
|
20833
20814
|
items: [
|
20834
20815
|
{
|
20835
20816
|
type: FormElementType.Radio,
|
20836
|
-
label: t("pesticidesQ1"),
|
20817
|
+
label: t("safeguards:pesticidesQ1"),
|
20837
20818
|
name: "pesticidesQ1",
|
20838
20819
|
},
|
20839
20820
|
],
|
20840
20821
|
},
|
20841
20822
|
{
|
20842
20823
|
type: FormElementType.Label,
|
20843
|
-
label: t("harvestForests"),
|
20824
|
+
label: t("safeguards:harvestForests"),
|
20844
20825
|
items: [
|
20845
20826
|
{
|
20846
20827
|
type: FormElementType.Radio,
|
20847
|
-
label: t("harvestForestsQ1"),
|
20828
|
+
label: t("safeguards:harvestForestsQ1"),
|
20848
20829
|
name: "harvestForestsQ1",
|
20849
20830
|
},
|
20850
20831
|
],
|
20851
20832
|
},
|
20852
20833
|
{
|
20853
20834
|
type: FormElementType.Label,
|
20854
|
-
label: t("food"),
|
20835
|
+
label: t("safeguards:food"),
|
20855
20836
|
items: [
|
20856
20837
|
{
|
20857
20838
|
type: FormElementType.Radio,
|
20858
|
-
label: t("foodQ1"),
|
20839
|
+
label: t("safeguards:foodQ1"),
|
20859
20840
|
name: "foodQ1",
|
20860
20841
|
},
|
20861
20842
|
],
|
20862
20843
|
},
|
20863
20844
|
{
|
20864
20845
|
type: FormElementType.Label,
|
20865
|
-
label: t("animalHusbandry"),
|
20846
|
+
label: t("safeguards:animalHusbandry"),
|
20866
20847
|
items: [
|
20867
20848
|
{
|
20868
20849
|
type: FormElementType.Radio,
|
20869
|
-
label: t("animalHusbandryQ1"),
|
20850
|
+
label: t("safeguards:animalHusbandryQ1"),
|
20870
20851
|
name: "animalHusbandryQ1",
|
20871
20852
|
},
|
20872
20853
|
],
|
20873
20854
|
},
|
20874
20855
|
{
|
20875
20856
|
type: FormElementType.Label,
|
20876
|
-
label: t("criticalHabitats"),
|
20857
|
+
label: t("safeguards:criticalHabitats"),
|
20877
20858
|
items: [
|
20878
20859
|
{
|
20879
20860
|
type: FormElementType.Radio,
|
20880
|
-
label: t("criticalHabitatsQ1"),
|
20861
|
+
label: t("safeguards:criticalHabitatsQ1"),
|
20881
20862
|
name: "criticalHabitatsQ1",
|
20882
20863
|
},
|
20883
20864
|
],
|
20884
20865
|
},
|
20885
20866
|
{
|
20886
20867
|
type: FormElementType.Label,
|
20887
|
-
label: t("endangeredSpecies"),
|
20868
|
+
label: t("safeguards:endangeredSpecies"),
|
20888
20869
|
items: [
|
20889
20870
|
{
|
20890
20871
|
type: FormElementType.Radio,
|
20891
|
-
label: t("endangeredSpeciesQ1"),
|
20872
|
+
label: t("safeguards:endangeredSpeciesQ1"),
|
20892
20873
|
name: "endangeredSpeciesQ1",
|
20893
20874
|
},
|
20894
20875
|
{
|
20895
20876
|
type: FormElementType.Radio,
|
20896
|
-
label: t("endangeredSpeciesQ2"),
|
20877
|
+
label: t("safeguards:endangeredSpeciesQ2"),
|
20897
20878
|
name: "endangeredSpeciesQ2",
|
20898
20879
|
},
|
20899
20880
|
],
|
@@ -20958,7 +20939,7 @@ var Safeguards = function (props) {
|
|
20958
20939
|
React.createElement(Row, { justify: "center", align: "middle", style: { width: "100%" } },
|
20959
20940
|
React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
|
20960
20941
|
React.createElement("span", null,
|
20961
|
-
React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("undpSespTitle")))),
|
20942
|
+
React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("safeguards:undpSespTitle")))),
|
20962
20943
|
React.createElement(Col, { span: 24 },
|
20963
20944
|
React.createElement("div", { className: "undpSesp-section-divider" })))),
|
20964
20945
|
React.createElement(Form, { onValuesChange: onSafeguardValuesChanged, name: "safeguardDetails", labelWrap: true, labelAlign: "left", labelCol: { md: 16, lg: 18, xl: 18 }, wrapperCol: { md: 8, lg: 6, xl: 6 }, layout: "horizontal", form: form }, updatedFormElementList.map(function (sectionItem) {
|
@@ -20977,11 +20958,11 @@ var Safeguards = function (props) {
|
|
20977
20958
|
] },
|
20978
20959
|
React.createElement(Radio.Group, { size: "middle" },
|
20979
20960
|
React.createElement("div", { className: "radio-container" },
|
20980
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("yes"))),
|
20961
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("safeguards:yes"))),
|
20981
20962
|
React.createElement("div", { className: "radio-container" },
|
20982
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("maybe"))),
|
20963
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("safeguards:maybe"))),
|
20983
20964
|
React.createElement("div", { className: "radio-container" },
|
20984
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("no")))))),
|
20965
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("safeguards:no")))))),
|
20985
20966
|
viewOnly &&
|
20986
20967
|
safeGuardViewData.hasOwnProperty(item === null || item === void 0 ? void 0 : item.name) && (React.createElement("div", { className: "view-section" },
|
20987
20968
|
React.createElement(Form.Item, { label: item === null || item === void 0 ? void 0 : item.label, className: item.className
|
@@ -21006,11 +20987,11 @@ var Safeguards = function (props) {
|
|
21006
20987
|
] },
|
21007
20988
|
React.createElement(Radio.Group, { size: "middle" },
|
21008
20989
|
React.createElement("div", { className: "radio-container" },
|
21009
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("yes"))),
|
20990
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("safeguards:yes"))),
|
21010
20991
|
React.createElement("div", { className: "radio-container" },
|
21011
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("maybe"))),
|
20992
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("safeguards:maybe"))),
|
21012
20993
|
React.createElement("div", { className: "radio-container" },
|
21013
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("no")))))),
|
20994
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("safeguards:no")))))),
|
21014
20995
|
viewOnly &&
|
21015
20996
|
safeGuardViewData.hasOwnProperty(subItem === null || subItem === void 0 ? void 0 : subItem.name) && (React.createElement("div", { className: "view-section" },
|
21016
20997
|
React.createElement(Form.Item, { label: subItem === null || subItem === void 0 ? void 0 : subItem.label, className: subItem.className
|
@@ -21027,204 +21008,203 @@ var Safeguards = function (props) {
|
|
21027
21008
|
|
21028
21009
|
var Environmental = function (props) {
|
21029
21010
|
var onFormSubmit = props.onFormSubmit, environmentalViewData = props.environmentalViewData, viewOnly = props.viewOnly, translator = props.translator;
|
21030
|
-
translator.setDefaultNamespace("unfcccSdTool");
|
21031
21011
|
var t = translator.t;
|
21032
21012
|
var environmentalDetailsInitial = [
|
21033
21013
|
{
|
21034
|
-
section: t("air"),
|
21014
|
+
section: t("unfcccSdTool:air"),
|
21035
21015
|
fields: [
|
21036
21016
|
{
|
21037
21017
|
name: "airQ1",
|
21038
|
-
label: t("airQ1"),
|
21018
|
+
label: t("unfcccSdTool:airQ1"),
|
21039
21019
|
hide: false,
|
21040
21020
|
required: false,
|
21041
21021
|
},
|
21042
21022
|
{
|
21043
21023
|
name: "airQ2",
|
21044
|
-
label: t("airQ2"),
|
21024
|
+
label: t("unfcccSdTool:airQ2"),
|
21045
21025
|
hide: true,
|
21046
21026
|
required: true,
|
21047
21027
|
},
|
21048
21028
|
{
|
21049
21029
|
name: "airQ3",
|
21050
|
-
label: t("airQ3"),
|
21030
|
+
label: t("unfcccSdTool:airQ3"),
|
21051
21031
|
hide: true,
|
21052
21032
|
required: true,
|
21053
21033
|
},
|
21054
21034
|
{
|
21055
21035
|
name: "airQ4",
|
21056
|
-
label: t("airQ4"),
|
21036
|
+
label: t("unfcccSdTool:airQ4"),
|
21057
21037
|
hide: true,
|
21058
21038
|
required: true,
|
21059
21039
|
},
|
21060
21040
|
{
|
21061
21041
|
name: "airQ5",
|
21062
|
-
label: t("airQ5"),
|
21042
|
+
label: t("unfcccSdTool:airQ5"),
|
21063
21043
|
hide: true,
|
21064
21044
|
required: true,
|
21065
21045
|
},
|
21066
21046
|
{
|
21067
21047
|
name: "airQ6",
|
21068
|
-
label: t("airQ6"),
|
21048
|
+
label: t("unfcccSdTool:airQ6"),
|
21069
21049
|
hide: true,
|
21070
21050
|
required: true,
|
21071
21051
|
},
|
21072
21052
|
{
|
21073
21053
|
name: "airQ7",
|
21074
|
-
label: t("airQ7"),
|
21054
|
+
label: t("unfcccSdTool:airQ7"),
|
21075
21055
|
hide: true,
|
21076
21056
|
required: true,
|
21077
21057
|
},
|
21078
21058
|
{
|
21079
21059
|
name: "airQ8",
|
21080
|
-
label: t("airQ8"),
|
21060
|
+
label: t("unfcccSdTool:airQ8"),
|
21081
21061
|
hide: true,
|
21082
21062
|
required: true,
|
21083
21063
|
},
|
21084
21064
|
{
|
21085
21065
|
name: "airQ9",
|
21086
|
-
label: t("airQ9"),
|
21066
|
+
label: t("unfcccSdTool:airQ9"),
|
21087
21067
|
hide: true,
|
21088
21068
|
required: true,
|
21089
21069
|
},
|
21090
21070
|
],
|
21091
21071
|
},
|
21092
21072
|
{
|
21093
|
-
section: t("land"),
|
21073
|
+
section: t("unfcccSdTool:land"),
|
21094
21074
|
fields: [
|
21095
21075
|
{
|
21096
21076
|
name: "landQ1",
|
21097
|
-
label: t("landQ1"),
|
21077
|
+
label: t("unfcccSdTool:landQ1"),
|
21098
21078
|
hide: false,
|
21099
21079
|
required: false,
|
21100
21080
|
},
|
21101
21081
|
{
|
21102
21082
|
name: "landQ2",
|
21103
|
-
label: t("landQ2"),
|
21083
|
+
label: t("unfcccSdTool:landQ2"),
|
21104
21084
|
hide: true,
|
21105
21085
|
required: true,
|
21106
21086
|
},
|
21107
21087
|
{
|
21108
21088
|
name: "landQ3",
|
21109
|
-
label: t("landQ3"),
|
21089
|
+
label: t("unfcccSdTool:landQ3"),
|
21110
21090
|
hide: true,
|
21111
21091
|
required: true,
|
21112
21092
|
},
|
21113
21093
|
{
|
21114
21094
|
name: "landQ4",
|
21115
|
-
label: t("landQ4"),
|
21095
|
+
label: t("unfcccSdTool:landQ4"),
|
21116
21096
|
hide: true,
|
21117
21097
|
required: true,
|
21118
21098
|
},
|
21119
21099
|
{
|
21120
21100
|
name: "landQ5",
|
21121
|
-
label: t("landQ5"),
|
21101
|
+
label: t("unfcccSdTool:landQ5"),
|
21122
21102
|
hide: true,
|
21123
21103
|
required: true,
|
21124
21104
|
},
|
21125
21105
|
{
|
21126
21106
|
name: "landQ6",
|
21127
|
-
label: t("landQ6"),
|
21107
|
+
label: t("unfcccSdTool:landQ6"),
|
21128
21108
|
hide: true,
|
21129
21109
|
required: true,
|
21130
21110
|
},
|
21131
21111
|
{
|
21132
21112
|
name: "landQ7",
|
21133
|
-
label: t("landQ7"),
|
21113
|
+
label: t("unfcccSdTool:landQ7"),
|
21134
21114
|
hide: true,
|
21135
21115
|
required: true,
|
21136
21116
|
},
|
21137
21117
|
{
|
21138
21118
|
name: "landQ8",
|
21139
|
-
label: t("landQ8"),
|
21119
|
+
label: t("unfcccSdTool:landQ8"),
|
21140
21120
|
hide: true,
|
21141
21121
|
required: true,
|
21142
21122
|
},
|
21143
21123
|
],
|
21144
21124
|
},
|
21145
21125
|
{
|
21146
|
-
section: t("water"),
|
21126
|
+
section: t("unfcccSdTool:water"),
|
21147
21127
|
fields: [
|
21148
21128
|
{
|
21149
21129
|
name: "waterQ1",
|
21150
|
-
label: t("waterQ1"),
|
21130
|
+
label: t("unfcccSdTool:waterQ1"),
|
21151
21131
|
hide: false,
|
21152
21132
|
required: false,
|
21153
21133
|
},
|
21154
21134
|
{
|
21155
21135
|
name: "waterQ2",
|
21156
|
-
label: t("waterQ2"),
|
21136
|
+
label: t("unfcccSdTool:waterQ2"),
|
21157
21137
|
hide: true,
|
21158
21138
|
required: true,
|
21159
21139
|
},
|
21160
21140
|
{
|
21161
21141
|
name: "waterQ3",
|
21162
|
-
label: t("waterQ3"),
|
21142
|
+
label: t("unfcccSdTool:waterQ3"),
|
21163
21143
|
hide: true,
|
21164
21144
|
required: true,
|
21165
21145
|
},
|
21166
21146
|
{
|
21167
21147
|
name: "waterQ4",
|
21168
|
-
label: t("waterQ4"),
|
21148
|
+
label: t("unfcccSdTool:waterQ4"),
|
21169
21149
|
hide: true,
|
21170
21150
|
required: true,
|
21171
21151
|
},
|
21172
21152
|
{
|
21173
21153
|
name: "waterQ5",
|
21174
|
-
label: t("waterQ5"),
|
21154
|
+
label: t("unfcccSdTool:waterQ5"),
|
21175
21155
|
hide: true,
|
21176
21156
|
required: true,
|
21177
21157
|
},
|
21178
21158
|
{
|
21179
21159
|
name: "waterQ6",
|
21180
|
-
label: t("waterQ6"),
|
21160
|
+
label: t("unfcccSdTool:waterQ6"),
|
21181
21161
|
hide: true,
|
21182
21162
|
required: true,
|
21183
21163
|
},
|
21184
21164
|
{
|
21185
21165
|
name: "waterQ7",
|
21186
|
-
label: t("waterQ7"),
|
21166
|
+
label: t("unfcccSdTool:waterQ7"),
|
21187
21167
|
hide: true,
|
21188
21168
|
required: true,
|
21189
21169
|
},
|
21190
21170
|
],
|
21191
21171
|
},
|
21192
21172
|
{
|
21193
|
-
section: t("naturalResource"),
|
21173
|
+
section: t("unfcccSdTool:naturalResource"),
|
21194
21174
|
fields: [
|
21195
21175
|
{
|
21196
21176
|
name: "naturalResourceQ1",
|
21197
|
-
label: t("naturalResourceQ1"),
|
21177
|
+
label: t("unfcccSdTool:naturalResourceQ1"),
|
21198
21178
|
hide: false,
|
21199
21179
|
required: false,
|
21200
21180
|
},
|
21201
21181
|
{
|
21202
21182
|
name: "naturalResourceQ2",
|
21203
|
-
label: t("naturalResourceQ2"),
|
21183
|
+
label: t("unfcccSdTool:naturalResourceQ2"),
|
21204
21184
|
hide: true,
|
21205
21185
|
required: true,
|
21206
21186
|
},
|
21207
21187
|
{
|
21208
21188
|
name: "naturalResourceQ3",
|
21209
|
-
label: t("naturalResourceQ3"),
|
21189
|
+
label: t("unfcccSdTool:naturalResourceQ3"),
|
21210
21190
|
hide: true,
|
21211
21191
|
required: true,
|
21212
21192
|
},
|
21213
21193
|
{
|
21214
21194
|
name: "naturalResourceQ4",
|
21215
|
-
label: t("naturalResourceQ4"),
|
21195
|
+
label: t("unfcccSdTool:naturalResourceQ4"),
|
21216
21196
|
hide: true,
|
21217
21197
|
required: true,
|
21218
21198
|
},
|
21219
21199
|
{
|
21220
21200
|
name: "naturalResourceQ5",
|
21221
|
-
label: t("naturalResourceQ5"),
|
21201
|
+
label: t("unfcccSdTool:naturalResourceQ5"),
|
21222
21202
|
hide: true,
|
21223
21203
|
required: true,
|
21224
21204
|
},
|
21225
21205
|
{
|
21226
21206
|
name: "naturalResourceQ6",
|
21227
|
-
label: t("naturalResourceQ6"),
|
21207
|
+
label: t("unfcccSdTool:naturalResourceQ6"),
|
21228
21208
|
hide: true,
|
21229
21209
|
required: true,
|
21230
21210
|
},
|
@@ -21242,7 +21222,7 @@ var Environmental = function (props) {
|
|
21242
21222
|
if (changedFieldName.includes("1")) {
|
21243
21223
|
var sectionName_1 = changedFieldName.replace(/\d/g, "").replace("Q", "");
|
21244
21224
|
var updatedEnvironmentalDetails = __spreadArray([], environmentalDetails, true);
|
21245
|
-
var sectionIndex = updatedEnvironmentalDetails.findIndex(function (section) { return section.section === t(sectionName_1); });
|
21225
|
+
var sectionIndex = updatedEnvironmentalDetails.findIndex(function (section) { return section.section === t("unfcccSdTool:" + sectionName_1); });
|
21246
21226
|
updatedEnvironmentalDetails[sectionIndex].fields.forEach(function (field) {
|
21247
21227
|
if (field.name !== changedFieldName) {
|
21248
21228
|
field.hide = changedFieldValue !== RadioButtonStatus.YES;
|
@@ -21261,41 +21241,41 @@ var Environmental = function (props) {
|
|
21261
21241
|
if (environmentalViewData && viewOnly === true) {
|
21262
21242
|
var updatedEnvironmentalData = [
|
21263
21243
|
{
|
21264
|
-
section: t("air"),
|
21244
|
+
section: t("unfcccSdTool:air"),
|
21265
21245
|
fields: [],
|
21266
21246
|
},
|
21267
21247
|
{
|
21268
|
-
section: t("land"),
|
21248
|
+
section: t("unfcccSdTool:land"),
|
21269
21249
|
fields: [],
|
21270
21250
|
},
|
21271
21251
|
{
|
21272
|
-
section: t("water"),
|
21252
|
+
section: t("unfcccSdTool:water"),
|
21273
21253
|
fields: [],
|
21274
21254
|
},
|
21275
21255
|
{
|
21276
|
-
section: t("naturalResource"),
|
21256
|
+
section: t("unfcccSdTool:naturalResource"),
|
21277
21257
|
fields: [],
|
21278
21258
|
},
|
21279
21259
|
];
|
21280
21260
|
var _loop_1 = function (key) {
|
21281
21261
|
var section = "";
|
21282
21262
|
if (String(key).includes("air")) {
|
21283
|
-
section = t("air");
|
21263
|
+
section = t("unfcccSdTool:air");
|
21284
21264
|
}
|
21285
21265
|
else if (String(key).includes("land")) {
|
21286
|
-
section = t("land");
|
21266
|
+
section = t("unfcccSdTool:land");
|
21287
21267
|
}
|
21288
21268
|
else if (String(key).includes("water")) {
|
21289
|
-
section = t("water");
|
21269
|
+
section = t("unfcccSdTool:water");
|
21290
21270
|
}
|
21291
21271
|
else if (String(key).includes("naturalResource")) {
|
21292
|
-
section = t("naturalResource");
|
21272
|
+
section = t("unfcccSdTool:naturalResource");
|
21293
21273
|
}
|
21294
21274
|
var environmentalItem = updatedEnvironmentalData.find(function (item) { return item.section === section; });
|
21295
21275
|
if (environmentalItem) {
|
21296
21276
|
environmentalItem.fields.push({
|
21297
21277
|
name: key,
|
21298
|
-
label: t(key),
|
21278
|
+
label: t("unfcccSdTool:" + key),
|
21299
21279
|
hide: false,
|
21300
21280
|
value: environmentalViewData[key],
|
21301
21281
|
});
|
@@ -21317,11 +21297,11 @@ var Environmental = function (props) {
|
|
21317
21297
|
React.createElement(Row, { justify: "center", align: "middle", style: { width: "100%" } },
|
21318
21298
|
React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
|
21319
21299
|
React.createElement("span", null,
|
21320
|
-
React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("unfcccSdToolTitle")))),
|
21300
|
+
React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("unfcccSdTool:unfcccSdToolTitle")))),
|
21321
21301
|
React.createElement(Col, { span: 24 },
|
21322
21302
|
React.createElement("div", { className: "unfccSdTool-section-divider" })),
|
21323
21303
|
React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
|
21324
|
-
React.createElement("span", null, t("environmental"))),
|
21304
|
+
React.createElement("span", null, t("unfcccSdTool:environmental"))),
|
21325
21305
|
React.createElement(Col, { span: 24 },
|
21326
21306
|
React.createElement("div", { className: "unfccSdTool-section-divider", style: { marginBottom: "20px" } })))),
|
21327
21307
|
(environmentalDetails === null || environmentalDetails === void 0 ? void 0 : environmentalDetails.length) === 0 && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })), environmentalDetails === null || environmentalDetails === void 0 ? void 0 :
|
@@ -21334,189 +21314,188 @@ var Environmental = function (props) {
|
|
21334
21314
|
{
|
21335
21315
|
required: field === null || field === void 0 ? void 0 : field.required,
|
21336
21316
|
message: (field === null || field === void 0 ? void 0 : field.required) &&
|
21337
|
-
"".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("isRequired")),
|
21317
|
+
"".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("unfcccSdTool:isRequired")),
|
21338
21318
|
},
|
21339
21319
|
] },
|
21340
21320
|
React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: environmentalViewData && true }, environmentalViewData ? (React.createElement(React.Fragment, null,
|
21341
21321
|
(field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
|
21342
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes")))),
|
21322
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes")))),
|
21343
21323
|
(field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
|
21344
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no")))),
|
21324
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no")))),
|
21345
21325
|
(field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
|
21346
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
|
21326
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na")))))) : (React.createElement(React.Fragment, null,
|
21347
21327
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21348
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes"))),
|
21328
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
|
21349
21329
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21350
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no"))),
|
21330
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
|
21351
21331
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21352
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na"))))))));
|
21332
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))))));
|
21353
21333
|
})));
|
21354
21334
|
})))));
|
21355
21335
|
};
|
21356
21336
|
|
21357
21337
|
var Economic = function (props) {
|
21358
21338
|
var onFormSubmit = props.onFormSubmit, economicViewData = props.economicViewData, viewOnly = props.viewOnly, translator = props.translator;
|
21359
|
-
translator.setDefaultNamespace("unfcccSdTool");
|
21360
21339
|
var t = translator.t;
|
21361
21340
|
var economicDetailsInitial = [
|
21362
21341
|
{
|
21363
|
-
section: t("growth"),
|
21342
|
+
section: t("unfcccSdTool:growth"),
|
21364
21343
|
fields: [
|
21365
21344
|
{
|
21366
21345
|
name: "growthQ1",
|
21367
|
-
label: t("growthQ1"),
|
21346
|
+
label: t("unfcccSdTool:growthQ1"),
|
21368
21347
|
hide: false,
|
21369
21348
|
required: false,
|
21370
21349
|
},
|
21371
21350
|
{
|
21372
21351
|
name: "growthQ2",
|
21373
|
-
label: t("growthQ2"),
|
21352
|
+
label: t("unfcccSdTool:growthQ2"),
|
21374
21353
|
hide: true,
|
21375
21354
|
required: true,
|
21376
21355
|
},
|
21377
21356
|
{
|
21378
21357
|
name: "growthQ3",
|
21379
|
-
label: t("growthQ3"),
|
21358
|
+
label: t("unfcccSdTool:growthQ3"),
|
21380
21359
|
hide: true,
|
21381
21360
|
required: true,
|
21382
21361
|
},
|
21383
21362
|
{
|
21384
21363
|
name: "growthQ4",
|
21385
|
-
label: t("growthQ4"),
|
21364
|
+
label: t("unfcccSdTool:growthQ4"),
|
21386
21365
|
hide: true,
|
21387
21366
|
required: true,
|
21388
21367
|
},
|
21389
21368
|
{
|
21390
21369
|
name: "growthQ5",
|
21391
|
-
label: t("growthQ5"),
|
21370
|
+
label: t("unfcccSdTool:growthQ5"),
|
21392
21371
|
hide: true,
|
21393
21372
|
required: true,
|
21394
21373
|
},
|
21395
21374
|
{
|
21396
21375
|
name: "growthQ6",
|
21397
|
-
label: t("growthQ6"),
|
21376
|
+
label: t("unfcccSdTool:growthQ6"),
|
21398
21377
|
hide: true,
|
21399
21378
|
required: true,
|
21400
21379
|
},
|
21401
21380
|
{
|
21402
21381
|
name: "growthQ7",
|
21403
|
-
label: t("growthQ7"),
|
21382
|
+
label: t("unfcccSdTool:growthQ7"),
|
21404
21383
|
hide: true,
|
21405
21384
|
required: true,
|
21406
21385
|
},
|
21407
21386
|
{
|
21408
21387
|
name: "growthQ8",
|
21409
|
-
label: t("growthQ8"),
|
21388
|
+
label: t("unfcccSdTool:growthQ8"),
|
21410
21389
|
hide: true,
|
21411
21390
|
required: true,
|
21412
21391
|
},
|
21413
21392
|
],
|
21414
21393
|
},
|
21415
21394
|
{
|
21416
|
-
section: t("energy"),
|
21395
|
+
section: t("unfcccSdTool:energy"),
|
21417
21396
|
fields: [
|
21418
21397
|
{
|
21419
21398
|
name: "energyQ1",
|
21420
|
-
label: t("energyQ1"),
|
21399
|
+
label: t("unfcccSdTool:energyQ1"),
|
21421
21400
|
hide: false,
|
21422
21401
|
required: false,
|
21423
21402
|
},
|
21424
21403
|
{
|
21425
21404
|
name: "energyQ2",
|
21426
|
-
label: t("energyQ2"),
|
21405
|
+
label: t("unfcccSdTool:energyQ2"),
|
21427
21406
|
hide: true,
|
21428
21407
|
required: true,
|
21429
21408
|
},
|
21430
21409
|
{
|
21431
21410
|
name: "energyQ3",
|
21432
|
-
label: t("energyQ3"),
|
21411
|
+
label: t("unfcccSdTool:energyQ3"),
|
21433
21412
|
hide: true,
|
21434
21413
|
required: true,
|
21435
21414
|
},
|
21436
21415
|
{
|
21437
21416
|
name: "energyQ4",
|
21438
|
-
label: t("energyQ4"),
|
21417
|
+
label: t("unfcccSdTool:energyQ4"),
|
21439
21418
|
hide: true,
|
21440
21419
|
required: true,
|
21441
21420
|
},
|
21442
21421
|
{
|
21443
21422
|
name: "energyQ5",
|
21444
|
-
label: t("energyQ5"),
|
21423
|
+
label: t("unfcccSdTool:energyQ5"),
|
21445
21424
|
hide: true,
|
21446
21425
|
required: true,
|
21447
21426
|
},
|
21448
21427
|
],
|
21449
21428
|
},
|
21450
21429
|
{
|
21451
|
-
section: t("techTransfer"),
|
21430
|
+
section: t("unfcccSdTool:techTransfer"),
|
21452
21431
|
fields: [
|
21453
21432
|
{
|
21454
21433
|
name: "techTransferQ1",
|
21455
|
-
label: t("techTransferQ1"),
|
21434
|
+
label: t("unfcccSdTool:techTransferQ1"),
|
21456
21435
|
hide: false,
|
21457
21436
|
required: false,
|
21458
21437
|
},
|
21459
21438
|
{
|
21460
21439
|
name: "techTransferQ2",
|
21461
|
-
label: t("techTransferQ2"),
|
21440
|
+
label: t("unfcccSdTool:techTransferQ2"),
|
21462
21441
|
hide: true,
|
21463
21442
|
required: true,
|
21464
21443
|
},
|
21465
21444
|
{
|
21466
21445
|
name: "techTransferQ3",
|
21467
|
-
label: t("techTransferQ3"),
|
21446
|
+
label: t("unfcccSdTool:techTransferQ3"),
|
21468
21447
|
hide: true,
|
21469
21448
|
required: true,
|
21470
21449
|
},
|
21471
21450
|
{
|
21472
21451
|
name: "techTransferQ4",
|
21473
|
-
label: t("techTransferQ4"),
|
21452
|
+
label: t("unfcccSdTool:techTransferQ4"),
|
21474
21453
|
hide: true,
|
21475
21454
|
required: true,
|
21476
21455
|
},
|
21477
21456
|
{
|
21478
21457
|
name: "techTransferQ5",
|
21479
|
-
label: t("techTransferQ5"),
|
21458
|
+
label: t("unfcccSdTool:techTransferQ5"),
|
21480
21459
|
hide: true,
|
21481
21460
|
required: true,
|
21482
21461
|
},
|
21483
21462
|
{
|
21484
21463
|
name: "techTransferQ6",
|
21485
|
-
label: t("techTransferQ6"),
|
21464
|
+
label: t("unfcccSdTool:techTransferQ6"),
|
21486
21465
|
hide: true,
|
21487
21466
|
required: true,
|
21488
21467
|
},
|
21489
21468
|
],
|
21490
21469
|
},
|
21491
21470
|
{
|
21492
|
-
section: t("balanceOfPayments"),
|
21471
|
+
section: t("unfcccSdTool:balanceOfPayments"),
|
21493
21472
|
fields: [
|
21494
21473
|
{
|
21495
21474
|
name: "balanceOfPaymentsQ1",
|
21496
|
-
label: t("balanceOfPaymentsQ1"),
|
21475
|
+
label: t("unfcccSdTool:balanceOfPaymentsQ1"),
|
21497
21476
|
hide: false,
|
21498
21477
|
required: false,
|
21499
21478
|
},
|
21500
21479
|
{
|
21501
21480
|
name: "balanceOfPaymentsQ2",
|
21502
|
-
label: t("balanceOfPaymentsQ2"),
|
21481
|
+
label: t("unfcccSdTool:balanceOfPaymentsQ2"),
|
21503
21482
|
hide: true,
|
21504
21483
|
required: true,
|
21505
21484
|
},
|
21506
21485
|
{
|
21507
21486
|
name: "balanceOfPaymentsQ3",
|
21508
|
-
label: t("balanceOfPaymentsQ3"),
|
21487
|
+
label: t("unfcccSdTool:balanceOfPaymentsQ3"),
|
21509
21488
|
hide: true,
|
21510
21489
|
required: true,
|
21511
21490
|
},
|
21512
21491
|
],
|
21513
21492
|
},
|
21514
21493
|
{
|
21515
|
-
section: t("furtherInfo"),
|
21494
|
+
section: t("unfcccSdTool:furtherInfo"),
|
21516
21495
|
fields: [
|
21517
21496
|
{
|
21518
21497
|
name: "furtherInfoQ1",
|
21519
|
-
label: t("furtherInfoQ1"),
|
21498
|
+
label: t("unfcccSdTool:furtherInfoQ1"),
|
21520
21499
|
hide: false,
|
21521
21500
|
required: false,
|
21522
21501
|
},
|
@@ -21533,7 +21512,7 @@ var Economic = function (props) {
|
|
21533
21512
|
if (changedFieldName.includes("1")) {
|
21534
21513
|
var sectionName_1 = changedFieldName.replace(/\d/g, "").replace("Q", "");
|
21535
21514
|
var updatedEconomicDetails = __spreadArray([], economicDetails, true);
|
21536
|
-
var sectionIndex = updatedEconomicDetails.findIndex(function (section) { return section.section === t(sectionName_1); });
|
21515
|
+
var sectionIndex = updatedEconomicDetails.findIndex(function (section) { return section.section === t("unfcccSdTool:" + sectionName_1); });
|
21537
21516
|
updatedEconomicDetails[sectionIndex].fields.forEach(function (field) {
|
21538
21517
|
if (field.name !== changedFieldName) {
|
21539
21518
|
field.hide = changedFieldValue !== RadioButtonStatus.YES;
|
@@ -21552,48 +21531,48 @@ var Economic = function (props) {
|
|
21552
21531
|
if (economicViewData && viewOnly === true) {
|
21553
21532
|
var updatedEconomicData = [
|
21554
21533
|
{
|
21555
|
-
section: t("growth"),
|
21534
|
+
section: t("unfcccSdTool:growth"),
|
21556
21535
|
fields: [],
|
21557
21536
|
},
|
21558
21537
|
{
|
21559
|
-
section: t("energy"),
|
21538
|
+
section: t("unfcccSdTool:energy"),
|
21560
21539
|
fields: [],
|
21561
21540
|
},
|
21562
21541
|
{
|
21563
|
-
section: t("techTransfer"),
|
21542
|
+
section: t("unfcccSdTool:techTransfer"),
|
21564
21543
|
fields: [],
|
21565
21544
|
},
|
21566
21545
|
{
|
21567
|
-
section: t("balanceOfPayments"),
|
21546
|
+
section: t("unfcccSdTool:balanceOfPayments"),
|
21568
21547
|
fields: [],
|
21569
21548
|
},
|
21570
21549
|
{
|
21571
|
-
section: t("furtherInfo"),
|
21550
|
+
section: t("unfcccSdTool:furtherInfo"),
|
21572
21551
|
fields: [],
|
21573
21552
|
},
|
21574
21553
|
];
|
21575
21554
|
var _loop_1 = function (key) {
|
21576
21555
|
var section = "";
|
21577
21556
|
if (String(key).includes("growth")) {
|
21578
|
-
section = t("growth");
|
21557
|
+
section = t("unfcccSdTool:growth");
|
21579
21558
|
}
|
21580
21559
|
else if (String(key).includes("energy")) {
|
21581
|
-
section = t("energy");
|
21560
|
+
section = t("unfcccSdTool:energy");
|
21582
21561
|
}
|
21583
21562
|
else if (String(key).includes("techTransfer")) {
|
21584
|
-
section = t("techTransfer");
|
21563
|
+
section = t("unfcccSdTool:techTransfer");
|
21585
21564
|
}
|
21586
21565
|
else if (String(key).includes("balanceOfPayments")) {
|
21587
|
-
section = t("balanceOfPayments");
|
21566
|
+
section = t("unfcccSdTool:balanceOfPayments");
|
21588
21567
|
}
|
21589
21568
|
else if (String(key).includes("furtherInfo")) {
|
21590
|
-
section = t("furtherInfo");
|
21569
|
+
section = t("unfcccSdTool:furtherInfo");
|
21591
21570
|
}
|
21592
21571
|
var economicItem = updatedEconomicData.find(function (item) { return item.section === section; });
|
21593
21572
|
if (economicItem) {
|
21594
21573
|
economicItem.fields.push({
|
21595
21574
|
name: key,
|
21596
|
-
label: t(key),
|
21575
|
+
label: t("unfcccSdTool:" + key),
|
21597
21576
|
hide: false,
|
21598
21577
|
value: economicViewData[key],
|
21599
21578
|
});
|
@@ -21615,7 +21594,7 @@ var Economic = function (props) {
|
|
21615
21594
|
React.createElement(Col, { span: 24 },
|
21616
21595
|
React.createElement("div", { className: "unfccSdTool-section-divider" })),
|
21617
21596
|
React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
|
21618
|
-
React.createElement("span", null, t("economic"))))),
|
21597
|
+
React.createElement("span", null, t("unfcccSdTool:economic"))))),
|
21619
21598
|
(economicDetails === null || economicDetails === void 0 ? void 0 : economicDetails.length) === 0 && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })), economicDetails === null || economicDetails === void 0 ? void 0 :
|
21620
21599
|
economicDetails.map(function (environmentalDetail) {
|
21621
21600
|
var _a;
|
@@ -21631,24 +21610,23 @@ var Economic = function (props) {
|
|
21631
21610
|
] },
|
21632
21611
|
React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: economicViewData && true }, economicViewData ? (React.createElement(React.Fragment, null,
|
21633
21612
|
(field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
|
21634
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes")))),
|
21613
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes")))),
|
21635
21614
|
(field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
|
21636
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no")))),
|
21615
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no")))),
|
21637
21616
|
(field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
|
21638
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
|
21617
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na")))))) : (React.createElement(React.Fragment, null,
|
21639
21618
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21640
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes"))),
|
21619
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
|
21641
21620
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21642
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no"))),
|
21621
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
|
21643
21622
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21644
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na"))))))));
|
21623
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))))));
|
21645
21624
|
})));
|
21646
21625
|
})))));
|
21647
21626
|
};
|
21648
21627
|
|
21649
21628
|
var Social = function (props) {
|
21650
21629
|
var onFormSubmit = props.onFormSubmit, socialViewData = props.socialViewData, viewOnly = props.viewOnly, translator = props.translator;
|
21651
|
-
translator.setDefaultNamespace("unfcccSdTool");
|
21652
21630
|
var t = translator.t;
|
21653
21631
|
var form = Form.useForm()[0];
|
21654
21632
|
var _a = useState(0); _a[0]; var setRefreshCounter = _a[1];
|
@@ -21656,164 +21634,164 @@ var Social = function (props) {
|
|
21656
21634
|
var _c = useState(true), isFormValid = _c[0], setIsFormValid = _c[1];
|
21657
21635
|
var SocialElementDetails = [
|
21658
21636
|
{
|
21659
|
-
title: t("jobs"),
|
21660
|
-
label: t("jobRelatedMainQ"),
|
21637
|
+
title: t("unfcccSdTool:jobs"),
|
21638
|
+
label: t("unfcccSdTool:jobRelatedMainQ"),
|
21661
21639
|
name: "jobRelatedMainQ",
|
21662
21640
|
subItems: [
|
21663
21641
|
{
|
21664
21642
|
type: FormElementType.Radio,
|
21665
|
-
label: t("jobRelatedSubQ1"),
|
21643
|
+
label: t("unfcccSdTool:jobRelatedSubQ1"),
|
21666
21644
|
name: "jobRelatedSubQ1",
|
21667
21645
|
},
|
21668
21646
|
{
|
21669
21647
|
type: FormElementType.Radio,
|
21670
|
-
label: t("jobRelatedSubQ2"),
|
21648
|
+
label: t("unfcccSdTool:jobRelatedSubQ2"),
|
21671
21649
|
name: "jobRelatedSubQ2",
|
21672
21650
|
},
|
21673
21651
|
{
|
21674
21652
|
type: FormElementType.Radio,
|
21675
|
-
label: t("jobRelatedSubQ3"),
|
21653
|
+
label: t("unfcccSdTool:jobRelatedSubQ3"),
|
21676
21654
|
name: "jobRelatedSubQ3",
|
21677
21655
|
},
|
21678
21656
|
{
|
21679
21657
|
type: FormElementType.Radio,
|
21680
|
-
label: t("jobRelatedSubQ4"),
|
21658
|
+
label: t("unfcccSdTool:jobRelatedSubQ4"),
|
21681
21659
|
name: "jobRelatedSubQ4",
|
21682
21660
|
},
|
21683
21661
|
{
|
21684
21662
|
type: FormElementType.Input,
|
21685
|
-
label: t("jobRelatedSubQ5"),
|
21663
|
+
label: t("unfcccSdTool:jobRelatedSubQ5"),
|
21686
21664
|
name: "jobRelatedSubQ5",
|
21687
21665
|
},
|
21688
21666
|
{
|
21689
21667
|
type: FormElementType.Input,
|
21690
|
-
label: t("jobRelatedSubQ6"),
|
21668
|
+
label: t("unfcccSdTool:jobRelatedSubQ6"),
|
21691
21669
|
name: "jobRelatedSubQ6",
|
21692
21670
|
},
|
21693
21671
|
{
|
21694
21672
|
type: FormElementType.Input,
|
21695
|
-
label: t("jobRelatedSubQ7"),
|
21673
|
+
label: t("unfcccSdTool:jobRelatedSubQ7"),
|
21696
21674
|
name: "jobRelatedSubQ7",
|
21697
21675
|
},
|
21698
21676
|
],
|
21699
21677
|
},
|
21700
21678
|
{
|
21701
|
-
title: t("health"),
|
21702
|
-
label: t("healthRelatedMainQ"),
|
21679
|
+
title: t("unfcccSdTool:health"),
|
21680
|
+
label: t("unfcccSdTool:healthRelatedMainQ"),
|
21703
21681
|
name: "healthRelatedMainQ",
|
21704
21682
|
subItems: [
|
21705
21683
|
{
|
21706
21684
|
type: FormElementType.Radio,
|
21707
|
-
label: t("healthRelatedSubQ1"),
|
21685
|
+
label: t("unfcccSdTool:healthRelatedSubQ1"),
|
21708
21686
|
name: "healthRelatedSubQ1",
|
21709
21687
|
},
|
21710
21688
|
{
|
21711
21689
|
type: FormElementType.Radio,
|
21712
|
-
label: t("healthRelatedSubQ2"),
|
21690
|
+
label: t("unfcccSdTool:healthRelatedSubQ2"),
|
21713
21691
|
name: "healthRelatedSubQ2",
|
21714
21692
|
},
|
21715
21693
|
{
|
21716
21694
|
type: FormElementType.Radio,
|
21717
|
-
label: t("healthRelatedSubQ3"),
|
21695
|
+
label: t("unfcccSdTool:healthRelatedSubQ3"),
|
21718
21696
|
name: "healthRelatedSubQ3",
|
21719
21697
|
},
|
21720
21698
|
{
|
21721
21699
|
type: FormElementType.Radio,
|
21722
|
-
label: t("healthRelatedSubQ4"),
|
21700
|
+
label: t("unfcccSdTool:healthRelatedSubQ4"),
|
21723
21701
|
name: "healthRelatedSubQ4",
|
21724
21702
|
},
|
21725
21703
|
{
|
21726
21704
|
type: FormElementType.Radio,
|
21727
|
-
label: t("healthRelatedSubQ5"),
|
21705
|
+
label: t("unfcccSdTool:healthRelatedSubQ5"),
|
21728
21706
|
name: "healthRelatedSubQ5",
|
21729
21707
|
},
|
21730
21708
|
{
|
21731
21709
|
type: FormElementType.Radio,
|
21732
|
-
label: t("healthRelatedSubQ6"),
|
21710
|
+
label: t("unfcccSdTool:healthRelatedSubQ6"),
|
21733
21711
|
name: "healthRelatedSubQ6",
|
21734
21712
|
},
|
21735
21713
|
{
|
21736
21714
|
type: FormElementType.Radio,
|
21737
|
-
label: t("healthRelatedSubQ7"),
|
21715
|
+
label: t("unfcccSdTool:healthRelatedSubQ7"),
|
21738
21716
|
name: "healthRelatedSubQ7",
|
21739
21717
|
},
|
21740
21718
|
{
|
21741
21719
|
type: FormElementType.Radio,
|
21742
|
-
label: t("healthRelatedSubQ8"),
|
21720
|
+
label: t("unfcccSdTool:healthRelatedSubQ8"),
|
21743
21721
|
name: "healthRelatedSubQ8",
|
21744
21722
|
},
|
21745
21723
|
],
|
21746
21724
|
},
|
21747
21725
|
{
|
21748
|
-
title: t("educational"),
|
21749
|
-
label: t("educationRelatedMainQ"),
|
21726
|
+
title: t("unfcccSdTool:educational"),
|
21727
|
+
label: t("unfcccSdTool:educationRelatedMainQ"),
|
21750
21728
|
name: "educationRelatedMainQ",
|
21751
21729
|
subItems: [
|
21752
21730
|
{
|
21753
21731
|
type: FormElementType.Radio,
|
21754
|
-
label: t("educationRelatedSubQ1"),
|
21732
|
+
label: t("unfcccSdTool:educationRelatedSubQ1"),
|
21755
21733
|
name: "educationRelatedSubQ1",
|
21756
21734
|
},
|
21757
21735
|
{
|
21758
21736
|
type: FormElementType.Radio,
|
21759
|
-
label: t("educationRelatedSubQ2"),
|
21737
|
+
label: t("unfcccSdTool:educationRelatedSubQ2"),
|
21760
21738
|
name: "educationRelatedSubQ2",
|
21761
21739
|
},
|
21762
21740
|
{
|
21763
21741
|
type: FormElementType.Radio,
|
21764
|
-
label: t("educationRelatedSubQ3"),
|
21742
|
+
label: t("unfcccSdTool:educationRelatedSubQ3"),
|
21765
21743
|
name: "educationRelatedSubQ3",
|
21766
21744
|
},
|
21767
21745
|
{
|
21768
21746
|
type: FormElementType.Radio,
|
21769
|
-
label: t("educationRelatedSubQ4"),
|
21747
|
+
label: t("unfcccSdTool:educationRelatedSubQ4"),
|
21770
21748
|
name: "educationRelatedSubQ4",
|
21771
21749
|
},
|
21772
21750
|
],
|
21773
21751
|
},
|
21774
21752
|
{
|
21775
|
-
title: t("welfare"),
|
21776
|
-
label: t("welfareRelatedMainQ"),
|
21753
|
+
title: t("unfcccSdTool:welfare"),
|
21754
|
+
label: t("unfcccSdTool:welfareRelatedMainQ"),
|
21777
21755
|
name: "welfareRelatedMainQ",
|
21778
21756
|
subItems: [
|
21779
21757
|
{
|
21780
21758
|
type: FormElementType.Radio,
|
21781
|
-
label: t("welfareRelatedSubQ1"),
|
21759
|
+
label: t("unfcccSdTool:welfareRelatedSubQ1"),
|
21782
21760
|
name: "welfareRelatedSubQ1",
|
21783
21761
|
},
|
21784
21762
|
{
|
21785
21763
|
type: FormElementType.Radio,
|
21786
|
-
label: t("welfareRelatedSubQ2"),
|
21764
|
+
label: t("unfcccSdTool:welfareRelatedSubQ2"),
|
21787
21765
|
name: "welfareRelatedSubQ2",
|
21788
21766
|
},
|
21789
21767
|
{
|
21790
21768
|
type: FormElementType.Radio,
|
21791
|
-
label: t("welfareRelatedSubQ3"),
|
21769
|
+
label: t("unfcccSdTool:welfareRelatedSubQ3"),
|
21792
21770
|
name: "welfareRelatedSubQ3",
|
21793
21771
|
},
|
21794
21772
|
{
|
21795
21773
|
type: FormElementType.Radio,
|
21796
|
-
label: t("welfareRelatedSubQ4"),
|
21774
|
+
label: t("unfcccSdTool:welfareRelatedSubQ4"),
|
21797
21775
|
name: "welfareRelatedSubQ4",
|
21798
21776
|
},
|
21799
21777
|
{
|
21800
21778
|
type: FormElementType.Radio,
|
21801
|
-
label: t("welfareRelatedSubQ5"),
|
21779
|
+
label: t("unfcccSdTool:welfareRelatedSubQ5"),
|
21802
21780
|
name: "welfareRelatedSubQ5",
|
21803
21781
|
},
|
21804
21782
|
{
|
21805
21783
|
type: FormElementType.Radio,
|
21806
|
-
label: t("welfareRelatedSubQ6"),
|
21784
|
+
label: t("unfcccSdTool:welfareRelatedSubQ6"),
|
21807
21785
|
name: "welfareRelatedSubQ6",
|
21808
21786
|
},
|
21809
21787
|
{
|
21810
21788
|
type: FormElementType.Radio,
|
21811
|
-
label: t("welfareRelatedSubQ7"),
|
21789
|
+
label: t("unfcccSdTool:welfareRelatedSubQ7"),
|
21812
21790
|
name: "welfareRelatedSubQ7",
|
21813
21791
|
},
|
21814
21792
|
{
|
21815
21793
|
type: FormElementType.Radio,
|
21816
|
-
label: t("welfareRelatedSubQ8"),
|
21794
|
+
label: t("unfcccSdTool:welfareRelatedSubQ8"),
|
21817
21795
|
name: "welfareRelatedSubQ8",
|
21818
21796
|
},
|
21819
21797
|
],
|
@@ -21872,7 +21850,7 @@ var Social = function (props) {
|
|
21872
21850
|
React.createElement(Col, { span: 24 },
|
21873
21851
|
React.createElement("div", { className: "unfccSdTool-section-divider" })),
|
21874
21852
|
React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
|
21875
|
-
React.createElement("span", null, t("social"))))),
|
21853
|
+
React.createElement("span", null, t("unfcccSdTool:social"))))),
|
21876
21854
|
viewOnly && !socialViewData && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })),
|
21877
21855
|
((viewOnly && socialViewData) || !viewOnly) && (React.createElement(Form, { name: "socialDetails", labelWrap: true, form: form, labelAlign: "left", labelCol: { md: 16, lg: 18, xl: 18 }, wrapperCol: { md: 8, lg: 6, xl: 6 }, layout: "horizontal", onValuesChange: onSocialValuesChanged }, SocialElementDetails.map(function (element) {
|
21878
21856
|
return (React.createElement(React.Fragment, null,
|
@@ -21883,11 +21861,11 @@ var Social = function (props) {
|
|
21883
21861
|
React.createElement(Form.Item, { className: "mg-left-2", label: element.label, name: element.name },
|
21884
21862
|
React.createElement(Radio.Group, { size: "middle", onChange: onRadioStatusChanged },
|
21885
21863
|
React.createElement("div", { className: "radio-container" },
|
21886
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
|
21864
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
|
21887
21865
|
React.createElement("div", { className: "radio-container" },
|
21888
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
|
21866
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
|
21889
21867
|
React.createElement("div", { className: "radio-container" },
|
21890
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("na"))))),
|
21868
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))),
|
21891
21869
|
form.getFieldValue(element.name) ===
|
21892
21870
|
RadioButtonStatus.YES &&
|
21893
21871
|
element.subItems.map(function (elementItem) {
|
@@ -21900,11 +21878,11 @@ var Social = function (props) {
|
|
21900
21878
|
] },
|
21901
21879
|
React.createElement(Radio.Group, { size: "middle" },
|
21902
21880
|
React.createElement("div", { className: "radio-container" },
|
21903
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
|
21881
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
|
21904
21882
|
React.createElement("div", { className: "radio-container" },
|
21905
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
|
21883
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
|
21906
21884
|
React.createElement("div", { className: "radio-container" },
|
21907
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("na"))))));
|
21885
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))));
|
21908
21886
|
}
|
21909
21887
|
else if (elementItem.type === FormElementType.Input) {
|
21910
21888
|
return (React.createElement(Form.Item, { className: "mg-left-4", labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: elementItem.label, name: elementItem.name },
|
@@ -21940,89 +21918,88 @@ var Social = function (props) {
|
|
21940
21918
|
|
21941
21919
|
var SocialEnvironmentalRisk = function (props) {
|
21942
21920
|
var onFormSubmit = props.onFormSubmit, SocialEnvironmentalRiskData = props.SocialEnvironmentalRiskData, viewOnly = props.viewOnly, translator = props.translator;
|
21943
|
-
translator.setDefaultNamespace("socialEnvironmentalRisk");
|
21944
21921
|
var t = translator.t;
|
21945
21922
|
var form = Form.useForm()[0];
|
21946
21923
|
var _a = useState(), socialEnvironmentalFormDetails = _a[0], setSocialEnvironmentalFormDetails = _a[1];
|
21947
21924
|
var _b = useState([
|
21948
21925
|
{
|
21949
|
-
title: t("humanRightsSubHeader"),
|
21926
|
+
title: t("socialEnvironmentalRisk:humanRightsSubHeader"),
|
21950
21927
|
isTitleVisible: true,
|
21951
21928
|
subItems: [
|
21952
21929
|
{
|
21953
|
-
title: t("humanRights"),
|
21930
|
+
title: t("socialEnvironmentalRisk:humanRights"),
|
21954
21931
|
isTitleVisible: true,
|
21955
21932
|
subItems: [
|
21956
21933
|
{
|
21957
|
-
label: t("humanRightsQ1"),
|
21934
|
+
label: t("socialEnvironmentalRisk:humanRightsQ1"),
|
21958
21935
|
name: "humanRightsQ1",
|
21959
21936
|
},
|
21960
21937
|
{
|
21961
|
-
label: t("humanRightsQ2"),
|
21938
|
+
label: t("socialEnvironmentalRisk:humanRightsQ2"),
|
21962
21939
|
name: "humanRightsQ2",
|
21963
21940
|
},
|
21964
21941
|
{
|
21965
|
-
label: t("humanRightsQ3"),
|
21942
|
+
label: t("socialEnvironmentalRisk:humanRightsQ3"),
|
21966
21943
|
name: "humanRightsQ3",
|
21967
21944
|
},
|
21968
21945
|
{
|
21969
|
-
label: t("humanRightsQ4"),
|
21946
|
+
label: t("socialEnvironmentalRisk:humanRightsQ4"),
|
21970
21947
|
name: "humanRightsQ4",
|
21971
21948
|
},
|
21972
21949
|
{
|
21973
|
-
label: t("humanRightsQ5"),
|
21950
|
+
label: t("socialEnvironmentalRisk:humanRightsQ5"),
|
21974
21951
|
name: "humanRightsQ5",
|
21975
21952
|
},
|
21976
21953
|
{
|
21977
|
-
label: t("humanRightsQ6"),
|
21954
|
+
label: t("socialEnvironmentalRisk:humanRightsQ6"),
|
21978
21955
|
name: "humanRightsQ6",
|
21979
21956
|
},
|
21980
21957
|
{
|
21981
|
-
label: t("humanRightsQ7"),
|
21958
|
+
label: t("socialEnvironmentalRisk:humanRightsQ7"),
|
21982
21959
|
name: "humanRightsQ7",
|
21983
21960
|
},
|
21984
21961
|
],
|
21985
21962
|
},
|
21986
21963
|
{
|
21987
|
-
title: t("genderEqalityWomenEmpower"),
|
21964
|
+
title: t("socialEnvironmentalRisk:genderEqalityWomenEmpower"),
|
21988
21965
|
isTitleVisible: true,
|
21989
21966
|
subItems: [
|
21990
21967
|
{
|
21991
|
-
label: t("genderEqalityWomenEmpowerQ1"),
|
21968
|
+
label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ1"),
|
21992
21969
|
name: "genderEqalityWomenEmpowerQ1",
|
21993
21970
|
},
|
21994
21971
|
{
|
21995
|
-
label: t("genderEqalityWomenEmpowerQ2"),
|
21972
|
+
label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ2"),
|
21996
21973
|
name: "genderEqalityWomenEmpowerQ2",
|
21997
21974
|
},
|
21998
21975
|
{
|
21999
|
-
label: t("genderEqalityWomenEmpowerQ3"),
|
21976
|
+
label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ3"),
|
22000
21977
|
name: "genderEqalityWomenEmpowerQ3",
|
22001
21978
|
},
|
22002
21979
|
{
|
22003
|
-
label: t("genderEqalityWomenEmpowerQ4"),
|
21980
|
+
label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ4"),
|
22004
21981
|
name: "genderEqalityWomenEmpowerQ4",
|
22005
21982
|
},
|
22006
21983
|
{
|
22007
|
-
label: t("genderEqalityWomenEmpowerQ5"),
|
21984
|
+
label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ5"),
|
22008
21985
|
name: "genderEqalityWomenEmpowerQ5",
|
22009
21986
|
},
|
22010
21987
|
],
|
22011
21988
|
},
|
22012
21989
|
{
|
22013
|
-
title: t("accountability"),
|
21990
|
+
title: t("socialEnvironmentalRisk:accountability"),
|
22014
21991
|
isTitleVisible: true,
|
22015
21992
|
subItems: [
|
22016
21993
|
{
|
22017
|
-
label: t("accountabilityQ1"),
|
21994
|
+
label: t("socialEnvironmentalRisk:accountabilityQ1"),
|
22018
21995
|
name: "accountabilityQ1",
|
22019
21996
|
},
|
22020
21997
|
{
|
22021
|
-
label: t("accountabilityQ2"),
|
21998
|
+
label: t("socialEnvironmentalRisk:accountabilityQ2"),
|
22022
21999
|
name: "AccountabilityQ2",
|
22023
22000
|
},
|
22024
22001
|
{
|
22025
|
-
label: t("accountabilityQ3"),
|
22002
|
+
label: t("socialEnvironmentalRisk:accountabilityQ3"),
|
22026
22003
|
name: "accountabilityQ3",
|
22027
22004
|
},
|
22028
22005
|
],
|
@@ -22030,277 +22007,277 @@ var SocialEnvironmentalRisk = function (props) {
|
|
22030
22007
|
],
|
22031
22008
|
},
|
22032
22009
|
{
|
22033
|
-
title: t("standardSubHeader"),
|
22010
|
+
title: t("socialEnvironmentalRisk:standardSubHeader"),
|
22034
22011
|
isTitleVisible: true,
|
22035
22012
|
subItems: [
|
22036
22013
|
{
|
22037
|
-
title: t("standard1"),
|
22014
|
+
title: t("socialEnvironmentalRisk:standard1"),
|
22038
22015
|
isTitleVisible: true,
|
22039
22016
|
subItems: [
|
22040
22017
|
{
|
22041
|
-
label: t("standard1Q1"),
|
22018
|
+
label: t("socialEnvironmentalRisk:standard1Q1"),
|
22042
22019
|
name: "standard1Q1",
|
22043
22020
|
},
|
22044
22021
|
{
|
22045
|
-
label: t("standard1Q2"),
|
22022
|
+
label: t("socialEnvironmentalRisk:standard1Q2"),
|
22046
22023
|
name: "standard1Q2",
|
22047
22024
|
},
|
22048
22025
|
{
|
22049
|
-
label: t("standard1Q3"),
|
22026
|
+
label: t("socialEnvironmentalRisk:standard1Q3"),
|
22050
22027
|
name: "standard1Q3",
|
22051
22028
|
},
|
22052
22029
|
{
|
22053
|
-
label: t("standard1Q4"),
|
22030
|
+
label: t("socialEnvironmentalRisk:standard1Q4"),
|
22054
22031
|
name: "standard1Q4",
|
22055
22032
|
},
|
22056
22033
|
{
|
22057
|
-
label: t("standard1Q5"),
|
22034
|
+
label: t("socialEnvironmentalRisk:standard1Q5"),
|
22058
22035
|
name: "standard1Q5",
|
22059
22036
|
},
|
22060
22037
|
{
|
22061
|
-
label: t("standard1Q6"),
|
22038
|
+
label: t("socialEnvironmentalRisk:standard1Q6"),
|
22062
22039
|
name: "standard1Q6",
|
22063
22040
|
},
|
22064
22041
|
{
|
22065
|
-
label: t("standard1Q7"),
|
22042
|
+
label: t("socialEnvironmentalRisk:standard1Q7"),
|
22066
22043
|
name: "standard1Q7",
|
22067
22044
|
},
|
22068
22045
|
{
|
22069
|
-
label: t("standard1Q8"),
|
22046
|
+
label: t("socialEnvironmentalRisk:standard1Q8"),
|
22070
22047
|
name: "standard1Q8",
|
22071
22048
|
},
|
22072
22049
|
{
|
22073
|
-
label: t("standard1Q9"),
|
22050
|
+
label: t("socialEnvironmentalRisk:standard1Q9"),
|
22074
22051
|
name: "standard1Q9",
|
22075
22052
|
},
|
22076
22053
|
{
|
22077
|
-
label: t("standard1Q10"),
|
22054
|
+
label: t("socialEnvironmentalRisk:standard1Q10"),
|
22078
22055
|
name: "standard1Q10",
|
22079
22056
|
},
|
22080
22057
|
{
|
22081
|
-
label: t("standard1Q11"),
|
22058
|
+
label: t("socialEnvironmentalRisk:standard1Q11"),
|
22082
22059
|
name: "standard1Q11",
|
22083
22060
|
},
|
22084
22061
|
{
|
22085
|
-
label: t("standard1Q12"),
|
22062
|
+
label: t("socialEnvironmentalRisk:standard1Q12"),
|
22086
22063
|
name: "standard1Q12",
|
22087
22064
|
},
|
22088
22065
|
{
|
22089
|
-
label: t("standard1Q13"),
|
22066
|
+
label: t("socialEnvironmentalRisk:standard1Q13"),
|
22090
22067
|
name: "standard1Q13",
|
22091
22068
|
},
|
22092
22069
|
{
|
22093
|
-
label: t("standard1Q14"),
|
22070
|
+
label: t("socialEnvironmentalRisk:standard1Q14"),
|
22094
22071
|
name: "standard1Q14",
|
22095
22072
|
},
|
22096
22073
|
],
|
22097
22074
|
},
|
22098
22075
|
{
|
22099
|
-
title: t("standard2"),
|
22076
|
+
title: t("socialEnvironmentalRisk:standard2"),
|
22100
22077
|
isTitleVisible: true,
|
22101
22078
|
subItems: [
|
22102
22079
|
{
|
22103
|
-
label: t("standard2Q1"),
|
22080
|
+
label: t("socialEnvironmentalRisk:standard2Q1"),
|
22104
22081
|
name: "standard2Q1",
|
22105
22082
|
},
|
22106
22083
|
{
|
22107
|
-
label: t("standard2Q2"),
|
22084
|
+
label: t("socialEnvironmentalRisk:standard2Q2"),
|
22108
22085
|
name: "standard2Q2",
|
22109
22086
|
},
|
22110
22087
|
{
|
22111
|
-
label: t("standard2Q3"),
|
22088
|
+
label: t("socialEnvironmentalRisk:standard2Q3"),
|
22112
22089
|
name: "standard2Q3",
|
22113
22090
|
},
|
22114
22091
|
{
|
22115
|
-
label: t("standard2Q4"),
|
22092
|
+
label: t("socialEnvironmentalRisk:standard2Q4"),
|
22116
22093
|
name: "standard2Q4",
|
22117
22094
|
},
|
22118
22095
|
],
|
22119
22096
|
},
|
22120
22097
|
{
|
22121
|
-
title: t("standard3"),
|
22098
|
+
title: t("socialEnvironmentalRisk:standard3"),
|
22122
22099
|
isTitleVisible: true,
|
22123
22100
|
subItems: [
|
22124
22101
|
{
|
22125
|
-
label: t("standard3Q1"),
|
22102
|
+
label: t("socialEnvironmentalRisk:standard3Q1"),
|
22126
22103
|
name: "standard3Q1",
|
22127
22104
|
},
|
22128
22105
|
{
|
22129
|
-
label: t("standard3Q2"),
|
22106
|
+
label: t("socialEnvironmentalRisk:standard3Q2"),
|
22130
22107
|
name: "standard3Q2",
|
22131
22108
|
},
|
22132
22109
|
{
|
22133
|
-
label: t("standard3Q3"),
|
22110
|
+
label: t("socialEnvironmentalRisk:standard3Q3"),
|
22134
22111
|
name: "standard3Q3",
|
22135
22112
|
},
|
22136
22113
|
{
|
22137
|
-
label: t("standard3Q4"),
|
22114
|
+
label: t("socialEnvironmentalRisk:standard3Q4"),
|
22138
22115
|
name: "standard3Q4",
|
22139
22116
|
},
|
22140
22117
|
{
|
22141
|
-
label: t("standard3Q5"),
|
22118
|
+
label: t("socialEnvironmentalRisk:standard3Q5"),
|
22142
22119
|
name: "standard3Q5",
|
22143
22120
|
},
|
22144
22121
|
{
|
22145
|
-
label: t("standard3Q6"),
|
22122
|
+
label: t("socialEnvironmentalRisk:standard3Q6"),
|
22146
22123
|
name: "standard3Q6",
|
22147
22124
|
},
|
22148
22125
|
{
|
22149
|
-
label: t("standard3Q7"),
|
22126
|
+
label: t("socialEnvironmentalRisk:standard3Q7"),
|
22150
22127
|
name: "standard3Q7",
|
22151
22128
|
},
|
22152
22129
|
{
|
22153
|
-
label: t("standard3Q8"),
|
22130
|
+
label: t("socialEnvironmentalRisk:standard3Q8"),
|
22154
22131
|
name: "standard3Q8",
|
22155
22132
|
},
|
22156
22133
|
],
|
22157
22134
|
},
|
22158
22135
|
{
|
22159
|
-
title: t("standard4"),
|
22136
|
+
title: t("socialEnvironmentalRisk:standard4"),
|
22160
22137
|
isTitleVisible: true,
|
22161
22138
|
subItems: [
|
22162
22139
|
{
|
22163
|
-
label: t("standard4Q1"),
|
22140
|
+
label: t("socialEnvironmentalRisk:standard4Q1"),
|
22164
22141
|
name: "standard4Q1",
|
22165
22142
|
},
|
22166
22143
|
{
|
22167
|
-
label: t("standard4Q2"),
|
22144
|
+
label: t("socialEnvironmentalRisk:standard4Q2"),
|
22168
22145
|
name: "standard4Q2",
|
22169
22146
|
},
|
22170
22147
|
{
|
22171
|
-
label: t("standard4Q3"),
|
22148
|
+
label: t("socialEnvironmentalRisk:standard4Q3"),
|
22172
22149
|
name: "standard4Q3",
|
22173
22150
|
},
|
22174
22151
|
{
|
22175
|
-
label: t("standard4Q4"),
|
22152
|
+
label: t("socialEnvironmentalRisk:standard4Q4"),
|
22176
22153
|
name: "standard4Q4",
|
22177
22154
|
},
|
22178
22155
|
{
|
22179
|
-
label: t("standard4Q5"),
|
22156
|
+
label: t("socialEnvironmentalRisk:standard4Q5"),
|
22180
22157
|
name: "standard4Q5",
|
22181
22158
|
},
|
22182
22159
|
],
|
22183
22160
|
},
|
22184
22161
|
{
|
22185
|
-
title: t("standard5"),
|
22162
|
+
title: t("socialEnvironmentalRisk:standard5"),
|
22186
22163
|
isTitleVisible: true,
|
22187
22164
|
subItems: [
|
22188
22165
|
{
|
22189
|
-
label: t("standard5Q1"),
|
22166
|
+
label: t("socialEnvironmentalRisk:standard5Q1"),
|
22190
22167
|
name: "standard5Q1",
|
22191
22168
|
},
|
22192
22169
|
{
|
22193
|
-
label: t("standard5Q2"),
|
22170
|
+
label: t("socialEnvironmentalRisk:standard5Q2"),
|
22194
22171
|
name: "standard5Q2",
|
22195
22172
|
},
|
22196
22173
|
{
|
22197
|
-
label: t("standard5Q3"),
|
22174
|
+
label: t("socialEnvironmentalRisk:standard5Q3"),
|
22198
22175
|
name: "standard5Q3",
|
22199
22176
|
},
|
22200
22177
|
{
|
22201
|
-
label: t("standard5Q4"),
|
22178
|
+
label: t("socialEnvironmentalRisk:standard5Q4"),
|
22202
22179
|
name: "standard5Q4",
|
22203
22180
|
},
|
22204
22181
|
],
|
22205
22182
|
},
|
22206
22183
|
{
|
22207
|
-
title: t("standard6"),
|
22184
|
+
title: t("socialEnvironmentalRisk:standard6"),
|
22208
22185
|
isTitleVisible: true,
|
22209
22186
|
subItems: [
|
22210
22187
|
{
|
22211
|
-
label: t("standard6Q1"),
|
22188
|
+
label: t("socialEnvironmentalRisk:standard6Q1"),
|
22212
22189
|
name: "standard6Q1",
|
22213
22190
|
},
|
22214
22191
|
{
|
22215
|
-
label: t("standard6Q2"),
|
22192
|
+
label: t("socialEnvironmentalRisk:standard6Q2"),
|
22216
22193
|
name: "standard6Q2",
|
22217
22194
|
},
|
22218
22195
|
{
|
22219
|
-
label: t("standard6Q3"),
|
22196
|
+
label: t("socialEnvironmentalRisk:standard6Q3"),
|
22220
22197
|
name: "standard6Q3",
|
22221
22198
|
},
|
22222
22199
|
{
|
22223
|
-
label: t("standard6Q4"),
|
22200
|
+
label: t("socialEnvironmentalRisk:standard6Q4"),
|
22224
22201
|
name: "standard6Q4",
|
22225
22202
|
},
|
22226
22203
|
{
|
22227
|
-
label: t("standard6Q5"),
|
22204
|
+
label: t("socialEnvironmentalRisk:standard6Q5"),
|
22228
22205
|
name: "standard6Q5",
|
22229
22206
|
},
|
22230
22207
|
{
|
22231
|
-
label: t("standard6Q6"),
|
22208
|
+
label: t("socialEnvironmentalRisk:standard6Q6"),
|
22232
22209
|
name: "standard6Q6",
|
22233
22210
|
},
|
22234
22211
|
{
|
22235
|
-
label: t("standard6Q7"),
|
22212
|
+
label: t("socialEnvironmentalRisk:standard6Q7"),
|
22236
22213
|
name: "standard6Q7",
|
22237
22214
|
},
|
22238
22215
|
{
|
22239
|
-
label: t("standard6Q8"),
|
22216
|
+
label: t("socialEnvironmentalRisk:standard6Q8"),
|
22240
22217
|
name: "standard6Q8",
|
22241
22218
|
},
|
22242
22219
|
{
|
22243
|
-
label: t("standard6Q9"),
|
22220
|
+
label: t("socialEnvironmentalRisk:standard6Q9"),
|
22244
22221
|
name: "standard6Q9",
|
22245
22222
|
},
|
22246
22223
|
],
|
22247
22224
|
},
|
22248
22225
|
{
|
22249
|
-
title: t("standard7"),
|
22226
|
+
title: t("socialEnvironmentalRisk:standard7"),
|
22250
22227
|
isTitleVisible: true,
|
22251
22228
|
subItems: [
|
22252
22229
|
{
|
22253
|
-
label: t("standard7Q1"),
|
22230
|
+
label: t("socialEnvironmentalRisk:standard7Q1"),
|
22254
22231
|
name: "standard7Q1",
|
22255
22232
|
},
|
22256
22233
|
{
|
22257
|
-
label: t("standard7Q2"),
|
22234
|
+
label: t("socialEnvironmentalRisk:standard7Q2"),
|
22258
22235
|
name: "standard7Q2",
|
22259
22236
|
},
|
22260
22237
|
{
|
22261
|
-
label: t("standard7Q3"),
|
22238
|
+
label: t("socialEnvironmentalRisk:standard7Q3"),
|
22262
22239
|
name: "standard7Q3",
|
22263
22240
|
},
|
22264
22241
|
{
|
22265
|
-
label: t("standard7Q4"),
|
22242
|
+
label: t("socialEnvironmentalRisk:standard7Q4"),
|
22266
22243
|
name: "standard7Q4",
|
22267
22244
|
},
|
22268
22245
|
{
|
22269
|
-
label: t("standard7Q5"),
|
22246
|
+
label: t("socialEnvironmentalRisk:standard7Q5"),
|
22270
22247
|
name: "standard7Q5",
|
22271
22248
|
},
|
22272
22249
|
{
|
22273
|
-
label: t("standard7Q6"),
|
22250
|
+
label: t("socialEnvironmentalRisk:standard7Q6"),
|
22274
22251
|
name: "standard7Q6",
|
22275
22252
|
},
|
22276
22253
|
],
|
22277
22254
|
},
|
22278
22255
|
{
|
22279
|
-
title: t("standard8"),
|
22256
|
+
title: t("socialEnvironmentalRisk:standard8"),
|
22280
22257
|
isTitleVisible: true,
|
22281
22258
|
subItems: [
|
22282
22259
|
{
|
22283
|
-
label: t("standard8Q1"),
|
22260
|
+
label: t("socialEnvironmentalRisk:standard8Q1"),
|
22284
22261
|
name: "standard8Q1",
|
22285
22262
|
},
|
22286
22263
|
{
|
22287
|
-
label: t("standard8Q2"),
|
22264
|
+
label: t("socialEnvironmentalRisk:standard8Q2"),
|
22288
22265
|
name: "standard8Q2",
|
22289
22266
|
},
|
22290
22267
|
{
|
22291
|
-
label: t("standard8Q3"),
|
22268
|
+
label: t("socialEnvironmentalRisk:standard8Q3"),
|
22292
22269
|
name: "standard8Q3",
|
22293
22270
|
},
|
22294
22271
|
{
|
22295
|
-
label: t("standard8Q4"),
|
22272
|
+
label: t("socialEnvironmentalRisk:standard8Q4"),
|
22296
22273
|
name: "standard8Q4",
|
22297
22274
|
},
|
22298
22275
|
{
|
22299
|
-
label: t("standard8Q5"),
|
22276
|
+
label: t("socialEnvironmentalRisk:standard8Q5"),
|
22300
22277
|
name: "standard8Q5",
|
22301
22278
|
},
|
22302
22279
|
{
|
22303
|
-
label: t("standard8Q6"),
|
22280
|
+
label: t("socialEnvironmentalRisk:standard8Q6"),
|
22304
22281
|
name: "standard8Q6",
|
22305
22282
|
},
|
22306
22283
|
],
|
@@ -22361,9 +22338,9 @@ var SocialEnvironmentalRisk = function (props) {
|
|
22361
22338
|
return (React.createElement(Form.Item, { className: "mg-left-2 form-item", label: element.label, name: element.name },
|
22362
22339
|
React.createElement(Radio.Group, { size: "middle" },
|
22363
22340
|
React.createElement("div", { className: "radio-container" },
|
22364
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
|
22341
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("socialEnvironmentalRisk:yes"))),
|
22365
22342
|
React.createElement("div", { className: "radio-container" },
|
22366
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))))));
|
22343
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("socialEnvironmentalRisk:no"))))));
|
22367
22344
|
})));
|
22368
22345
|
})));
|
22369
22346
|
}),
|
@@ -22395,27 +22372,12 @@ var CoBenifitsComponent = function (props) {
|
|
22395
22372
|
var _b = useState(), coBenefitDetails = _b[0], setCoBenefitDetails = _b[1];
|
22396
22373
|
var _c = useState(true), isSocialFormValid = _c[0], setIsSocialFormValid = _c[1];
|
22397
22374
|
var _d = useState(true), isAssessmentFormValid = _d[0], setIsAssessmentFormValid = _d[1];
|
22398
|
-
translator.setDefaultNamespace("coBenifits");
|
22399
22375
|
var t = translator.t;
|
22400
22376
|
var onSdgGoalsFormSubmit = function (sdgGoalsDetails) {
|
22401
22377
|
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { sdgGoals: sdgGoalsDetails })); });
|
22402
22378
|
};
|
22403
22379
|
var onGenderParityFormSubmit = function (genderParityDetails) {
|
22404
|
-
|
22405
|
-
var values = Object.values(genderParityDetails).filter(function (val) {
|
22406
|
-
return (val !== undefined &&
|
22407
|
-
typeof val != "boolean" &&
|
22408
|
-
val.trim().length === 0) ||
|
22409
|
-
val === undefined;
|
22410
|
-
});
|
22411
|
-
var keys = Object.keys(genderParityDetails);
|
22412
|
-
if (keys.length === values.length) {
|
22413
|
-
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { genderPariy: undefined })); });
|
22414
|
-
}
|
22415
|
-
else {
|
22416
|
-
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { genderPariy: genderParityDetails })); });
|
22417
|
-
}
|
22418
|
-
}
|
22380
|
+
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { genderPariy: genderParityDetails })); });
|
22419
22381
|
};
|
22420
22382
|
var onEnvironmentalFormSubmit = function (environmentalsDetails) {
|
22421
22383
|
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { environmental: environmentalsDetails })); });
|
@@ -22424,22 +22386,8 @@ var CoBenifitsComponent = function (props) {
|
|
22424
22386
|
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { economic: economicDetails })); });
|
22425
22387
|
};
|
22426
22388
|
var onAssessmentFormSubmit = function (coBenefitsAssessmentDetails, isFormValid) {
|
22427
|
-
|
22428
|
-
|
22429
|
-
return (val !== undefined &&
|
22430
|
-
typeof val != "boolean" &&
|
22431
|
-
val.trim().length === 0) ||
|
22432
|
-
val === undefined;
|
22433
|
-
});
|
22434
|
-
var keys = Object.keys(coBenefitsAssessmentDetails);
|
22435
|
-
if (keys.length === values.length) {
|
22436
|
-
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { assessmentDetails: undefined })); });
|
22437
|
-
}
|
22438
|
-
else {
|
22439
|
-
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { assessmentDetails: coBenefitsAssessmentDetails })); });
|
22440
|
-
}
|
22441
|
-
setIsAssessmentFormValid(isFormValid);
|
22442
|
-
}
|
22389
|
+
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { assessmentDetails: coBenefitsAssessmentDetails })); });
|
22390
|
+
setIsAssessmentFormValid(isFormValid);
|
22443
22391
|
};
|
22444
22392
|
var onSafeguardFormSubmit = function (safeguardDetails) {
|
22445
22393
|
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { safeguardDetails: safeguardDetails })); });
|
@@ -23932,7 +23880,7 @@ var CreditTransferComponent = function (props) {
|
|
23932
23880
|
style: "color-primary",
|
23933
23881
|
click: function () {
|
23934
23882
|
showModalOnAction(record, {
|
23935
|
-
title: t("creditTransfer:
|
23883
|
+
title: t("creditTransfer:acceptTitle"),
|
23936
23884
|
icon: React.createElement(Icon.ClipboardCheck, null),
|
23937
23885
|
actionBtnText: t("creditTransfer:proceed"),
|
23938
23886
|
okAction: function (requestId, comment) {
|
@@ -24280,7 +24228,7 @@ var CreditTransferComponent = function (props) {
|
|
24280
24228
|
}, 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 }))));
|
24281
24229
|
};
|
24282
24230
|
|
24283
|
-
var css_248z$c = ".mapboxgl-popup-content {\n background-color: #ffffff !important;\n color: rgba(58, 53, 65, 0.8) !important; }\n\n.unit {\n display: flex;\n font-family: \"Inter\";\n font-size: 1.15rem;\n font-weight: 500;\n color: rgba(58, 53, 65, 0.5); }\n\n.card-icons {\n color: #16b1ff; }\n\n.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {\n border-top-color: #ffffff !important; }\n\n.mapboxgl-popup-close-button,\n.mapboxgl-popup-close-button:hover {\n display: none; }\n\n.total-container {\n display: flex;\n flex-direction: column;\n border: 1px solid gray; }\n\n.margin-top-6 {\n margin-top: 7.5rem; }\n\n.margin-top-2 {\n margin-top: 2rem; }\n\n.margin-top-1 {\n margin-top: 1rem; }\n\n.ant-btn.mrvdefault {\n border-radius: 5px 0px 0px 5px !important; }\n\n.ant-btn.mrvdefault-right {\n border-radius: 0px 5px 5px 0px !important; }\n\n.ant-btn.mrvprimary {\n border-radius: 0px 0px 0px 0px !important; }\n\n.cards-title {\n font-family: \"Inter\";\n align-items: flex-start;\n justify-content: flex-start;\n font-style: normal;\n font-weight: 600;\n height: 50px;\n font-size: 1.15rem;\n margin-top: 1rem;\n color: rgba(58, 53, 65, 0.8); }\n\n.dashboard-main-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n border-radius: 5px;\n padding: 0 2rem 0 2rem; }\n .dashboard-main-container .header-and-title {\n display: flex;\n flex-direction: row;\n width: 100%;\n padding: 0 15px 0 15px;\n font-family: \"Inter-Regular\";\n font-size: 1.4rem;\n font-weight: 600; }\n .dashboard-main-container .stastics-cards-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: center; }\n .dashboard-main-container .stastics-cards-container .stastic-card-row {\n width: 100%; }\n .dashboard-main-container .stastics-cards-container .stastic-card-row .stastic-card-col {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center; }\n .dashboard-main-container .filter-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n margin-top: 2rem;\n padding: 0 1.2rem 0 1.2rem; }\n .dashboard-main-container .filter-container .radio-selection .ant-radio-button-wrapper {\n height: 35px !important;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n color: rgba(58, 53, 65, 0.5); }\n .dashboard-main-container .filter-container .radio-selection .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n)::before {\n background-color: transparent !important; }\n .dashboard-main-container .filter-container .radio-selection .overall {\n border-radius: 5px 0 0 5px !important; }\n .dashboard-main-container .filter-container .radio-selection .mine {\n border-radius: 0 5px 5px 0 !important; }\n .dashboard-main-container .center {\n align-items: center;\n justify-content: center; }\n .dashboard-main-container .height-pie-rem {\n height: 26.2rem; }\n .dashboard-main-container .height-pie-rem .apexcharts-legend {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between !important;\n inset: auto 0px 0px 5px !important; }\n .dashboard-main-container .height-pie-rem .apexcharts-legend-series {\n display: flex !important;\n width: 42%; }\n .dashboard-main-container .height-bar-rem {\n height: 29rem; }\n .dashboard-main-container .height-map-rem {\n height: 510px; }\n .dashboard-main-container .stastics-and-charts-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n margin-top: 2rem;\n margin-bottom: 2rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row {\n width: 100%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card {\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n border-radius: 10px;\n padding: 0 1rem 0.7rem 1rem;\n width: 100%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .margin-top-2 {\n width: 100%;\n margin-top: 2rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .title-section {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n width: 100%;\n padding: 1rem 1rem 0 1rem;\n flex-wrap: wrap; }\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 .mrv-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 .mrv-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 .mrv-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 .mrv-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 .mrv-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 .mrv-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";
|
24231
|
+
var css_248z$c = ".mapboxgl-popup-content {\n background-color: #ffffff !important;\n color: rgba(58, 53, 65, 0.8) !important; }\n\n.unit {\n display: flex;\n font-family: \"Inter\";\n font-size: 1.15rem;\n font-weight: 500;\n color: rgba(58, 53, 65, 0.5); }\n\n.card-icons {\n color: #16b1ff; }\n\n.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {\n border-top-color: #ffffff !important; }\n\n.mapboxgl-popup-close-button,\n.mapboxgl-popup-close-button:hover {\n display: none; }\n\n.total-container {\n display: flex;\n flex-direction: column;\n border: 1px solid gray; }\n\n.margin-top-6 {\n margin-top: 7.5rem; }\n\n.margin-top-2 {\n margin-top: 2rem; }\n\n.margin-top-1 {\n margin-top: 1rem; }\n\n.ant-btn.mrvdefault {\n border-radius: 5px 0px 0px 5px !important; }\n\n.ant-btn.mrvdefault-right {\n border-radius: 0px 5px 5px 0px !important; }\n\n.ant-btn.mrvprimary {\n border-radius: 0px 0px 0px 0px !important; }\n\n.cards-title {\n font-family: \"Inter\";\n align-items: flex-start;\n justify-content: flex-start;\n font-style: normal;\n font-weight: 600;\n height: 50px;\n font-size: 1.15rem;\n margin-top: 1rem;\n color: rgba(58, 53, 65, 0.8); }\n\n.dashboard-main-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n border-radius: 5px;\n padding: 0 2rem 0 2rem; }\n .dashboard-main-container .header-and-title {\n display: flex;\n flex-direction: row;\n width: 100%;\n padding: 0 15px 0 15px;\n font-family: \"Inter-Regular\";\n font-size: 1.4rem;\n font-weight: 600; }\n .dashboard-main-container .stastics-cards-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: center; }\n .dashboard-main-container .stastics-cards-container .stastic-card-row {\n width: 100%; }\n .dashboard-main-container .stastics-cards-container .stastic-card-row .stastic-card-col {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center; }\n .dashboard-main-container .filter-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n margin-top: 2rem;\n padding: 0 1.2rem 0 1.2rem; }\n .dashboard-main-container .filter-container .radio-selection .ant-radio-button-wrapper {\n height: 35px !important;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n color: rgba(58, 53, 65, 0.5); }\n .dashboard-main-container .filter-container .radio-selection .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n)::before {\n background-color: transparent !important; }\n .dashboard-main-container .filter-container .radio-selection .overall {\n border-radius: 5px 0 0 5px !important; }\n .dashboard-main-container .filter-container .radio-selection .mine {\n border-radius: 0 5px 5px 0 !important; }\n .dashboard-main-container .center {\n align-items: center;\n justify-content: center; }\n .dashboard-main-container .height-pie-rem {\n height: 26.2rem; }\n .dashboard-main-container .height-pie-rem .apexcharts-legend {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between !important; }\n .dashboard-main-container .height-pie-rem .apexcharts-legend-series {\n display: flex !important;\n width: 42%; }\n .dashboard-main-container .height-bar-rem {\n height: 29rem; }\n .dashboard-main-container .height-map-rem {\n height: 510px; }\n .dashboard-main-container .stastics-and-charts-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n margin-top: 2rem;\n margin-bottom: 2rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row {\n width: 100%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card {\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n border-radius: 10px;\n padding: 0 1rem 0.7rem 1rem;\n width: 100%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .margin-top-2 {\n width: 100%;\n margin-top: 2rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .title-section {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n width: 100%;\n padding: 1rem 1rem 0 1rem;\n flex-wrap: wrap; }\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 .mrv-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 .mrv-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 .mrv-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 .mrv-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 .mrv-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 .mrv-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";
|
24284
24232
|
styleInject(css_248z$c);
|
24285
24233
|
|
24286
24234
|
var MrvPieChartsStatComponent = function (props) {
|
@@ -29101,7 +29049,7 @@ var ProgrammeRetireForm = function (props) {
|
|
29101
29049
|
// programme.companyId.map((n) => Number(n));
|
29102
29050
|
// d.companyCredit = d.companyCredit.map((n: any) => (n === undefined ? 0 : n));
|
29103
29051
|
d.toCompanyMeta = {
|
29104
|
-
name:
|
29052
|
+
name: d.company,
|
29105
29053
|
country: d.country,
|
29106
29054
|
};
|
29107
29055
|
}
|
@@ -29538,7 +29486,7 @@ var RejectDocumentationConfirmationModel = function (props) {
|
|
29538
29486
|
React.createElement(Button, { className: "mg-left-2", type: "primary", danger: true, htmlType: "submit", loading: loading, disabled: actionInfo.type === "reject" && comment === "" }, "REJECT")))));
|
29539
29487
|
};
|
29540
29488
|
|
29541
|
-
var css_248z$5 = ".ndc-action-body {\n display: flex;\n flex-direction: column;\n width: 100%; }\n .ndc-action-body .report-details {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: flex-start;\n justify-content: space-between; }\n .ndc-action-body .report-details .report-type {\n display: flex;\n flex-direction: row;\n width: 60%;\n align-items: flex-start; }\n .ndc-action-body .report-details .report-type .name-time-container {\n display: flex;\n flex-direction: column;\n width: 70%;\n margin-bottom: 0.5rem; }\n .ndc-action-body .report-details .report-type .name {\n font-weight: 600;\n color: rgba(58, 53, 65, 0.8); }\n .ndc-action-body .report-details .report-type .icon {\n display: flex;\n width: 30%; }\n .ndc-action-body .report-details .report-type .empty {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link {\n display: flex;\n flex-direction: row;\n width: 40%;\n justify-content: flex-start;\n gap: 20px;\n align-items:
|
29489
|
+
var css_248z$5 = ".ndc-action-body {\n display: flex;\n flex-direction: column;\n width: 100%; }\n .ndc-action-body .report-details {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: flex-start;\n justify-content: space-between; }\n .ndc-action-body .report-details .report-type {\n display: flex;\n flex-direction: row;\n width: 60%;\n align-items: flex-start; }\n .ndc-action-body .report-details .report-type .name-time-container {\n display: flex;\n flex-direction: column;\n width: 70%;\n margin-bottom: 0.5rem; }\n .ndc-action-body .report-details .report-type .name {\n font-weight: 600;\n color: rgba(58, 53, 65, 0.8); }\n .ndc-action-body .report-details .report-type .icon {\n display: flex;\n width: 30%; }\n .ndc-action-body .report-details .report-type .empty {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link {\n display: flex;\n flex-direction: row;\n width: 40%;\n justify-content: flex-start;\n gap: 20px;\n align-items: start; }\n .ndc-action-body .report-details .report-link .version {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link .link {\n margin-left: 1rem; }\n";
|
29542
29490
|
styleInject(css_248z$5);
|
29543
29491
|
|
29544
29492
|
var NdcActionBody = function (props) {
|
@@ -29832,12 +29780,12 @@ var NdcActionBody = function (props) {
|
|
29832
29780
|
? {
|
29833
29781
|
color: "#3F3A47",
|
29834
29782
|
cursor: "pointer",
|
29835
|
-
margin: "0px 0px
|
29783
|
+
margin: "0px 0px 2.5px 0px",
|
29836
29784
|
}
|
29837
29785
|
: {
|
29838
29786
|
color: "#cacaca",
|
29839
29787
|
cursor: "default",
|
29840
|
-
margin: "0px 0px
|
29788
|
+
margin: "0px 0px 2.5px 0px",
|
29841
29789
|
}, onClick: function () {
|
29842
29790
|
if (canUploadMonitorReport &&
|
29843
29791
|
uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
@@ -29864,12 +29812,12 @@ var NdcActionBody = function (props) {
|
|
29864
29812
|
? {
|
29865
29813
|
color: "#3F3A47",
|
29866
29814
|
cursor: "pointer",
|
29867
|
-
margin: "0px 0px
|
29815
|
+
margin: "0px 0px 2.5px 0px",
|
29868
29816
|
}
|
29869
29817
|
: {
|
29870
29818
|
color: "#cacaca",
|
29871
29819
|
cursor: "default",
|
29872
|
-
margin: "0px 0px
|
29820
|
+
margin: "0px 0px 2.5px 0px",
|
29873
29821
|
}, onClick: function () {
|
29874
29822
|
if (canUploadMonitorReport &&
|
29875
29823
|
uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
@@ -29922,12 +29870,12 @@ var NdcActionBody = function (props) {
|
|
29922
29870
|
? {
|
29923
29871
|
color: "#3F3A47",
|
29924
29872
|
cursor: "pointer",
|
29925
|
-
margin: "0px 0px
|
29873
|
+
margin: "0px 0px 2.5px 0px",
|
29926
29874
|
}
|
29927
29875
|
: {
|
29928
29876
|
color: "#cacaca",
|
29929
29877
|
cursor: "default",
|
29930
|
-
margin: "0px 0px
|
29878
|
+
margin: "0px 0px 2.5px 0px",
|
29931
29879
|
}, onClick: function () {
|
29932
29880
|
if (monitoringReportAccepted &&
|
29933
29881
|
uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
@@ -29954,12 +29902,12 @@ var NdcActionBody = function (props) {
|
|
29954
29902
|
? {
|
29955
29903
|
color: "#3F3A47",
|
29956
29904
|
cursor: "pointer",
|
29957
|
-
margin: "0px 0px
|
29905
|
+
margin: "0px 0px 2.5px 0px",
|
29958
29906
|
}
|
29959
29907
|
: {
|
29960
29908
|
color: "#cacaca",
|
29961
29909
|
cursor: "default",
|
29962
|
-
margin: "0px 0px
|
29910
|
+
margin: "0px 0px 2.5px 0px",
|
29963
29911
|
}, onClick: function () {
|
29964
29912
|
if (monitoringReportAccepted &&
|
29965
29913
|
uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
|