@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 CHANGED
@@ -6719,7 +6719,7 @@ var AddNewCompanyComponent = function (props) {
6719
6719
  React.createElement(antd.Radio.Button, { className: companyRoleClassName, value: companyRole },
6720
6720
  companyRole === exports.CompanyRole.CERTIFIER ? (React.createElement(icons.SafetyOutlined, { className: "role-icons" })) : companyRole ===
6721
6721
  exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(icons.ExperimentOutlined, { className: "role-icons" })) : companyRole === exports.CompanyRole.MINISTRY ? (React.createElement(icons.AuditOutlined, { className: "role-icons" })) : (React.createElement(icons.BankOutlined, { className: "role-icons" })),
6722
- (companyRole === exports.CompanyRole.PROGRAMME_DEVELOPER) ? "Developer" : companyRole))) : (React.createElement(React.Fragment, null,
6722
+ companyRole))) : (React.createElement(React.Fragment, null,
6723
6723
  React.createElement("div", { className: "certifier-radio-container", style: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
6724
6724
  exports.CompanyRole.MINISTRY
6725
6725
  ? {
@@ -6987,7 +6987,7 @@ styleInject(css_248z$u);
6987
6987
  var CompanyRoleIcon = function (props) {
6988
6988
  var role = props.role;
6989
6989
  return (React.createElement("div", { style: { display: 'flex', alignItems: 'center' } },
6990
- role === 'Government' ? (React.createElement(RoleIcon, { icon: React.createElement(icons.BankOutlined, null), bg: GovBGColor, color: GovColor })) : role === 'Certifier' ? (React.createElement(RoleIcon, { icon: React.createElement(icons.SafetyOutlined, null), bg: CertBGColor, color: CertColor })) : role === 'ProgrammeDeveloper' ? (React.createElement(RoleIcon, { icon: React.createElement(icons.ExperimentOutlined, null), bg: DevBGColor, color: DevColor })) : React.createElement(RoleIcon, { icon: React.createElement(icons.AuditOutlined, null), bg: MinBGColor, color: MinColor }),
6990
+ role === 'Government' ? (React.createElement(RoleIcon, { icon: React.createElement(icons.BankOutlined, null), bg: GovBGColor, color: GovColor })) : role === 'Certifier' ? (React.createElement(RoleIcon, { icon: React.createElement(icons.SafetyOutlined, null), bg: CertBGColor, color: CertColor })) : (React.createElement(RoleIcon, { icon: React.createElement(icons.ExperimentOutlined, null), bg: DevBGColor, color: DevColor })),
6991
6991
  role === 'ProgrammeDeveloper' ? React.createElement("div", null, 'Developer') : React.createElement("div", null, role)));
6992
6992
  };
6993
6993
 
@@ -17449,7 +17449,7 @@ var InvestmentManagementComponent = function (props) {
17449
17449
  style: "color-primary",
17450
17450
  click: function () {
17451
17451
  showModalOnAction(record, {
17452
- title: t("creditTransfer:acceptFinancingTitle"),
17452
+ title: t("creditTransfer:acceptTitle"),
17453
17453
  icon: React.createElement(Icon__namespace.ClipboardCheck, null),
17454
17454
  actionBtnText: t("creditTransfer:proceed"),
17455
17455
  okAction: function (requestId, comment) {
@@ -19864,60 +19864,59 @@ var GenderParity = function (props) {
19864
19864
  var onFormSubmit = props.onFormSubmit, genderParityViewData = props.genderParityViewData, viewOnly = props.viewOnly, translator = props.translator;
19865
19865
  var formOne = antd.Form.useForm()[0];
19866
19866
  var formTwo = antd.Form.useForm()[0];
19867
- translator.setDefaultNamespace("genderParity");
19868
19867
  var t = translator.t;
19869
19868
  var _a = React.useState(), genderParityDetails = _a[0], setGenderParityDetails = _a[1];
19870
19869
  var genderParityDetailsOne = [
19871
19870
  {
19872
- label: t("benifit1"),
19871
+ label: t("genderParity:benifit1"),
19873
19872
  name: "descriminationAgainstGirls",
19874
19873
  value: true,
19875
19874
  },
19876
19875
  {
19877
- label: t("benifit2"),
19876
+ label: t("genderParity:benifit2"),
19878
19877
  name: "violationAgainstGirls",
19879
19878
  value: true,
19880
19879
  },
19881
19880
  {
19882
- label: t("benifit3"),
19881
+ label: t("genderParity:benifit3"),
19883
19882
  name: "harmfulPracticesAgainstGirls",
19884
19883
  value: true,
19885
19884
  },
19886
19885
  {
19887
- label: t("benifit4"),
19886
+ label: t("genderParity:benifit4"),
19888
19887
  name: "equealRightsToGirls",
19889
19888
  value: true,
19890
19889
  },
19891
19890
  {
19892
- label: t("benifit5"),
19891
+ label: t("genderParity:benifit5"),
19893
19892
  name: "equealRightsToHealthToGirls",
19894
19893
  value: true,
19895
19894
  },
19896
19895
  ];
19897
19896
  var genderParityDetailsTwo = [
19898
19897
  {
19899
- label: t("benifit6"),
19898
+ label: t("genderParity:benifit6"),
19900
19899
  name: "numberOfWomenEmpoyed",
19901
19900
  col: { md: 18, lg: 10 },
19902
19901
  labelCol: 24,
19903
19902
  wrapperCol: 18,
19904
19903
  },
19905
19904
  {
19906
- label: t("benifit7"),
19905
+ label: t("genderParity:benifit7"),
19907
19906
  name: "numberOfWomenTrained",
19908
19907
  col: { md: 18, lg: 10 },
19909
19908
  labelCol: 24,
19910
19909
  wrapperCol: 18,
19911
19910
  },
19912
19911
  {
19913
- label: t("benifit8"),
19912
+ label: t("genderParity:benifit8"),
19914
19913
  name: "numberOfWomenSelectedForDecisionMaking",
19915
19914
  col: { md: 18, lg: 16 },
19916
19915
  labelCol: 24,
19917
19916
  wrapperCol: 11,
19918
19917
  },
19919
19918
  {
19920
- label: t("benifit9"),
19919
+ label: t("genderParity:benifit9"),
19921
19920
  name: "numberOfWomenProvidedAccessForTech",
19922
19921
  col: { md: 18, lg: 16 },
19923
19922
  labelCol: 24,
@@ -19944,12 +19943,9 @@ var GenderParity = function (props) {
19944
19943
  var updatedGenderParityFormOneFields = genderParityFormOneFields
19945
19944
  .filter(function (field) { return genderParityViewData.hasOwnProperty(field.name); })
19946
19945
  .map(function (field) { return (__assign(__assign({}, field), { value: genderParityViewData[field.name] })); });
19947
- var updatedGenderParityFormTwoFields = genderParityFormTwoFields.map(function (field) {
19948
- var _a;
19949
- return (__assign(__assign({}, field), { value: ((_a = genderParityViewData[field.name]) === null || _a === void 0 ? void 0 : _a.length) > 0
19950
- ? genderParityViewData[field.name]
19951
- : "-" }));
19952
- });
19946
+ var updatedGenderParityFormTwoFields = genderParityFormTwoFields
19947
+ .filter(function (field) { return genderParityViewData.hasOwnProperty(field.name); })
19948
+ .map(function (field) { return (__assign(__assign({}, field), { value: genderParityViewData[field.name] })); });
19953
19949
  setGenderParityFormOneFields(updatedGenderParityFormOneFields);
19954
19950
  setGenderParityFormTwoFields(updatedGenderParityFormTwoFields);
19955
19951
  if ((updatedGenderParityFormTwoFields === null || updatedGenderParityFormTwoFields === void 0 ? void 0 : updatedGenderParityFormTwoFields.length) > 0) {
@@ -19972,37 +19968,29 @@ var GenderParity = function (props) {
19972
19968
  React.createElement(antd.Radio.Group, { size: "middle", onChange: function () { }, disabled: true },
19973
19969
  React.createElement("div", { className: "yes-no-radio-container" },
19974
19970
  React.createElement(antd.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
19975
- ? t("yes")
19976
- : t("no")))))) : (React.createElement(antd.Radio.Group, { size: "middle", onChange: function () { } },
19971
+ ? t("genderParity:yes")
19972
+ : t("genderParity:no")))))) : (React.createElement(antd.Radio.Group, { size: "middle", onChange: function () { } },
19977
19973
  React.createElement("div", { className: "yes-no-radio-container" },
19978
- React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value }, t("yes"))),
19974
+ React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value }, t("genderParity:yes"))),
19979
19975
  React.createElement("div", { className: "yes-no-radio-container" },
19980
- React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: !(genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value) }, t("no")))))));
19976
+ React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: !(genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value) }, t("genderParity:no")))))));
19981
19977
  })),
19982
19978
  React.createElement("div", { className: "part-two" },
19983
19979
  React.createElement(antd.Form, { name: "additional-details", layout: "vertical", form: formTwo, onValuesChange: onGenderParityValuesChangedSub },
19984
19980
  React.createElement(antd.Row, { gutter: [16, 16] }, genderParityFormTwoFields === null || genderParityFormTwoFields === void 0 ? void 0 : genderParityFormTwoFields.map(function (genderDetail) {
19985
19981
  var _a, _b;
19986
19982
  return (React.createElement(antd.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 },
19987
- React.createElement(antd.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: [
19983
+ React.createElement(antd.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: [
19988
19984
  {
19989
19985
  required: false,
19990
19986
  },
19991
- ] }, genderParityViewData ? (React.createElement(antd.Input, { disabled: genderParityViewData && true, size: "large", defaultValue: (genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.value)
19992
- ? genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.value
19993
- : !genderParityViewData
19994
- ? undefined
19995
- : undefined })) : (React.createElement(antd.Input, { disabled: genderParityViewData && true, size: "large", defaultValue: (genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.value)
19996
- ? genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.value
19997
- : !genderParityViewData
19998
- ? undefined
19999
- : undefined })))));
19987
+ ] },
19988
+ React.createElement(antd.Input, { disabled: genderParityViewData && true, size: "large" }))));
20000
19989
  })))))));
20001
19990
  };
20002
19991
 
20003
19992
  var Assessment = function (props) {
20004
19993
  var onFormSubmit = props.onFormSubmit, assessmentViewData = props.assessmentViewData, viewOnly = props.viewOnly, translator = props.translator;
20005
- translator.setDefaultNamespace("coBenifits");
20006
19994
  var t = translator.t;
20007
19995
  var form1 = antd.Form.useForm()[0];
20008
19996
  var form2 = antd.Form.useForm()[0];
@@ -20098,26 +20086,20 @@ var Assessment = function (props) {
20098
20086
  if (info.changedFields && info.changedFields.length > 0) {
20099
20087
  info.changedFields.map(function (changedField) { return __awaiter(void 0, void 0, void 0, function () {
20100
20088
  var base64Value, values_1;
20101
- var _a;
20102
- return __generator(this, function (_b) {
20103
- switch (_b.label) {
20089
+ return __generator(this, function (_a) {
20090
+ switch (_a.label) {
20104
20091
  case 0:
20105
20092
  if (!(changedField.name[0] === "document")) return [3 /*break*/, 2];
20106
20093
  return [4 /*yield*/, getBase64(changedField.value[0].originFileObj)];
20107
20094
  case 1:
20108
- base64Value = _b.sent();
20095
+ base64Value = _a.sent();
20109
20096
  console.log("FEAsibility document : ", base64Value);
20110
20097
  values_1 = base64Value;
20111
20098
  setCobenefitsAssessmentDetails(function (pre) { return (__assign(__assign({}, pre), { document: values_1 })); });
20112
20099
  return [3 /*break*/, 3];
20113
20100
  case 2:
20114
- if (changedField.value && ((_a = changedField.value) === null || _a === void 0 ? void 0 : _a.length) > 0) {
20115
- changedValues[changedField.name[0]] = changedField.value;
20116
- }
20117
- else {
20118
- changedValues[changedField.name[0]] = undefined;
20119
- }
20120
- _b.label = 3;
20101
+ changedValues[changedField.name[0]] = changedField.value;
20102
+ _a.label = 3;
20121
20103
  case 3: return [2 /*return*/];
20122
20104
  }
20123
20105
  });
@@ -20166,105 +20148,105 @@ var Assessment = function (props) {
20166
20148
  React.createElement(antd.Row, null,
20167
20149
  React.createElement(antd.Form, { name: "from1", labelCol: { span: 18 }, labelWrap: true, labelAlign: "left", wrapperCol: { span: 6 }, layout: "horizontal", requiredMark: true, form: form1, onValuesChange: function () { return validateForms(); } },
20168
20150
  !viewOnly && (React.createElement("div", { className: "radio-content" },
20169
- React.createElement(antd.Form.Item, { label: t("assessmentIsThirdPartyVerified", {
20151
+ React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentIsThirdPartyVerified", {
20170
20152
  ns: "coBenifits",
20171
20153
  }), className: "form-item", name: "IsThirdPartyVerified" },
20172
20154
  React.createElement(antd.Radio.Group, { size: "middle", onChange: onIsThirdPartyVerifiedChanged },
20173
20155
  React.createElement("div", { className: "radio-container" },
20174
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("yes"))),
20156
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("coBenifits:yes"))),
20175
20157
  React.createElement("div", { className: "radio-container" },
20176
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("no"))),
20158
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("coBenifits:no"))),
20177
20159
  React.createElement("div", { className: "radio-container" },
20178
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("n/a"))))),
20179
- isVerifyingOrgVisible === true && (React.createElement(antd.Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("verifyingOrgNamelbl"), name: "verifyingOrgName", rules: [
20160
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
20161
+ isVerifyingOrgVisible === true && (React.createElement(antd.Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:verifyingOrgNamelbl"), name: "verifyingOrgName", rules: [
20180
20162
  {
20181
20163
  required: true,
20182
20164
  message: "",
20183
20165
  },
20184
20166
  ] },
20185
20167
  React.createElement(antd.Input, { style: { width: 303 } }))),
20186
- React.createElement(antd.Form.Item, { label: t("assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
20168
+ React.createElement(antd.Form.Item, { label: t("coBenifits:assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
20187
20169
  React.createElement(antd.Radio.Group, { size: "middle", onChange: onIsWillingToVerifiedChanged },
20188
20170
  React.createElement("div", { className: "radio-container" },
20189
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("yes"))),
20171
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("coBenifits:yes"))),
20190
20172
  React.createElement("div", { className: "radio-container" },
20191
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("no"))),
20173
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("coBenifits:no"))),
20192
20174
  React.createElement("div", { className: "radio-container" },
20193
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("n/a"))))),
20194
- isVerifyingDetailsVisible === true && (React.createElement(antd.Form.Item, { label: t("verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
20175
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
20176
+ isVerifyingDetailsVisible === true && (React.createElement(antd.Form.Item, { label: t("coBenifits:verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
20195
20177
  React.createElement(antd.Input, { style: { width: 303 } }))))),
20196
20178
  viewOnly && (React.createElement("div", { className: "radio-content view-section" },
20197
- assessmentViewData.hasOwnProperty("IsThirdPartyVerified") && (React.createElement(antd.Form.Item, { label: t("assessmentIsThirdPartyVerified"), className: "form-item", name: "IsThirdPartyVerified" },
20179
+ assessmentViewData.hasOwnProperty("IsThirdPartyVerified") && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentIsThirdPartyVerified"), className: "form-item", name: "IsThirdPartyVerified" },
20198
20180
  React.createElement(antd.Radio.Group, { size: "middle", disabled: true },
20199
20181
  React.createElement("div", { className: "radio-container" },
20200
20182
  React.createElement(antd.Radio.Button, { className: "radio" }, assessmentViewData.IsThirdPartyVerified))))),
20201
20183
  assessmentViewData.IsThirdPartyVerified ===
20202
- exports.RadioButtonStatus.YES && (React.createElement(antd.Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("verifyingOrgNamelbl"), name: "verifyingOrgName" },
20184
+ exports.RadioButtonStatus.YES && (React.createElement(antd.Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:verifyingOrgNamelbl"), name: "verifyingOrgName" },
20203
20185
  React.createElement(antd.Input, { disabled: true, style: { width: 303 }, defaultValue: assessmentViewData.verifyingOrgName
20204
20186
  ? assessmentViewData.verifyingOrgName
20205
20187
  : "-" }))),
20206
- assessmentViewData.hasOwnProperty("IsWillingToVerified") && (React.createElement(antd.Form.Item, { label: t("assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
20188
+ assessmentViewData.hasOwnProperty("IsWillingToVerified") && (React.createElement(antd.Form.Item, { label: t("coBenifits:assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
20207
20189
  React.createElement(antd.Radio.Group, { size: "middle", disabled: true },
20208
20190
  React.createElement("div", { className: "radio-container" },
20209
20191
  React.createElement(antd.Radio.Button, { className: "radio" }, assessmentViewData.IsWillingToVerified))))),
20210
20192
  assessmentViewData.IsWillingToVerified ===
20211
- exports.RadioButtonStatus.YES && (React.createElement(antd.Form.Item, { label: t("verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
20193
+ exports.RadioButtonStatus.YES && (React.createElement(antd.Form.Item, { label: t("coBenifits:verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
20212
20194
  React.createElement(antd.Input, { disabled: true, defaultValue: assessmentViewData.verifyingDetails
20213
20195
  ? assessmentViewData.verifyingDetails
20214
20196
  : "-", style: { width: 303 } }))))))),
20215
20197
  React.createElement(antd.Row, null,
20216
20198
  React.createElement(antd.Form, { name: "form2", labelCol: { span: 14 }, labelWrap: true, labelAlign: "left", wrapperCol: { span: 8 }, layout: "vertical", requiredMark: true, form: form2, className: "view-section" },
20217
20199
  React.createElement(antd.Row, { className: "mg-bottom-1" },
20218
- React.createElement("label", { className: "co-sub-title-text" }, t("contactInformation"))),
20200
+ React.createElement("label", { className: "co-sub-title-text" }, t("coBenifits:contactInformation"))),
20219
20201
  React.createElement(antd.Row, { justify: "start", gutter: 16 },
20220
20202
  React.createElement(antd.Col, { flex: "139px" },
20221
20203
  React.createElement(React.Fragment, null,
20222
- !viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentTitle"), name: "title" },
20204
+ !viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentTitle"), name: "title" },
20223
20205
  React.createElement(antd.Select, { size: "large", style: {
20224
20206
  width: "139px",
20225
20207
  borderRadius: "4px",
20226
20208
  }, options: titleList }))),
20227
- viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentTitle"), name: "title" },
20209
+ viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentTitle"), name: "title" },
20228
20210
  React.createElement(antd.Input, { disabled: true, defaultValue: assessmentViewData.title
20229
20211
  ? assessmentViewData.title
20230
20212
  : "-", style: { width: 303 } }))))),
20231
20213
  React.createElement(antd.Col, { flex: "303px" },
20232
20214
  React.createElement(React.Fragment, null,
20233
- !viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentFirstName"), name: "firstName" },
20215
+ !viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentFirstName"), name: "firstName" },
20234
20216
  React.createElement(antd.Input, { style: { width: 303 } }))),
20235
- viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentFirstName"), name: "firstName" },
20217
+ viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentFirstName"), name: "firstName" },
20236
20218
  React.createElement(antd.Input, { disabled: true, defaultValue: assessmentViewData.firstName
20237
20219
  ? assessmentViewData.firstName
20238
20220
  : "-", style: { width: 303 } }))))),
20239
20221
  React.createElement(antd.Col, { flex: "303px" },
20240
20222
  React.createElement(React.Fragment, null,
20241
- !viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentLastName"), name: "lastName" },
20223
+ !viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentLastName"), name: "lastName" },
20242
20224
  React.createElement(antd.Input, { style: { width: 303 } }))),
20243
- viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentLastName"), name: "lastName" },
20225
+ viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentLastName"), name: "lastName" },
20244
20226
  React.createElement(antd.Input, { disabled: true, defaultValue: assessmentViewData.lastName
20245
20227
  ? assessmentViewData.lastName
20246
20228
  : "-", style: { width: 303 } })))))),
20247
20229
  React.createElement(antd.Row, { justify: "start", gutter: 16 },
20248
20230
  React.createElement(antd.Col, { flex: "462px" },
20249
20231
  React.createElement(React.Fragment, null,
20250
- !viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentOrganisation"), name: "organisation" },
20232
+ !viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentOrganisation"), name: "organisation" },
20251
20233
  React.createElement(antd.Input, { style: { width: 462 } }))),
20252
- viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentOrganisation"), name: "organisation" },
20234
+ viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentOrganisation"), name: "organisation" },
20253
20235
  React.createElement(antd.Input, { disabled: true, defaultValue: assessmentViewData.organisation
20254
20236
  ? assessmentViewData.organisation
20255
20237
  : "-", style: { width: 462 } }))))),
20256
20238
  React.createElement(antd.Col, { flex: "303px" },
20257
20239
  React.createElement(React.Fragment, null,
20258
- React.createElement(antd.Skeleton, { loading: isCountryListLoading, active: true }, !viewOnly && countries.length > 0 && (React.createElement(antd.Form.Item, { label: t("assessmentTelephone"), name: "telephone" },
20240
+ React.createElement(antd.Skeleton, { loading: isCountryListLoading, active: true }, !viewOnly && countries.length > 0 && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentTelephone"), name: "telephone" },
20259
20241
  React.createElement(PhoneInput, { style: { width: 303 }, international: true, defaultCountry: "LK", countryCallingCodeEditable: false, onChange: function (v) { }, countries: countries })))),
20260
- viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentTelephone"), name: "telephone" },
20242
+ viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentTelephone"), name: "telephone" },
20261
20243
  React.createElement(antd.Input, { disabled: true, defaultValue: assessmentViewData.telephone
20262
20244
  ? assessmentViewData.telephone
20263
20245
  : "-", style: { width: 303 } })))))),
20264
20246
  React.createElement(antd.Row, { justify: "start", gutter: 16 },
20265
20247
  React.createElement(antd.Col, { flex: "303px" },
20266
20248
  React.createElement(React.Fragment, null,
20267
- !viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentEmail"), name: "email", rules: [
20249
+ !viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentEmail"), name: "email", rules: [
20268
20250
  {
20269
20251
  validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
20270
20252
  var val, reg, matches;
@@ -20285,15 +20267,15 @@ var Assessment = function (props) {
20285
20267
  },
20286
20268
  ] },
20287
20269
  React.createElement(antd.Input, { style: { width: 303 } }))),
20288
- viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentEmail"), name: "email" },
20270
+ viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentEmail"), name: "email" },
20289
20271
  React.createElement(antd.Input, { disabled: true, defaultValue: assessmentViewData.email
20290
20272
  ? assessmentViewData.email
20291
20273
  : "-", style: { width: 303 } }))))),
20292
20274
  React.createElement(antd.Col, { flex: "462px" },
20293
20275
  React.createElement(React.Fragment, null,
20294
- !viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentAffiliationCDM"), name: "affiliationCDM" },
20276
+ !viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentAffiliationCDM"), name: "affiliationCDM" },
20295
20277
  React.createElement(antd.Input, { style: { width: 462 } }))),
20296
- viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentAffiliationCDM"), name: "affiliationCDM" },
20278
+ viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentAffiliationCDM"), name: "affiliationCDM" },
20297
20279
  React.createElement(antd.Input, { disabled: true, defaultValue: assessmentViewData.affiliationCDM
20298
20280
  ? assessmentViewData.affiliationCDM
20299
20281
  : "-", style: { width: 462 } })))))))),
@@ -20301,15 +20283,15 @@ var Assessment = function (props) {
20301
20283
  React.createElement(antd.Col, { span: 24 },
20302
20284
  React.createElement(antd.Form, { name: "form3", labelCol: { span: 18 }, labelWrap: true, labelAlign: "left", wrapperCol: { span: 6 }, layout: "horizontal", requiredMark: true, form: form3, onValuesChange: function () { return validateForms(); } },
20303
20285
  !viewOnly && (React.createElement("div", { className: "radio-content" },
20304
- React.createElement(antd.Form.Item, { label: t("assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
20286
+ React.createElement(antd.Form.Item, { label: t("coBenifits:assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
20305
20287
  React.createElement(antd.Radio.Group, { size: "middle", onChange: onIsThePersonListedChanged },
20306
20288
  React.createElement("div", { className: "radio-container" },
20307
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("yes"))),
20289
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("coBenifits:yes"))),
20308
20290
  React.createElement("div", { className: "radio-container" },
20309
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("no"))),
20291
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("coBenifits:no"))),
20310
20292
  React.createElement("div", { className: "radio-container" },
20311
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("n/a"))))),
20312
- isPersonListedDetailsVisible === true && (React.createElement(antd.Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("specify"), name: "personListedDetails", rules: [
20293
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
20294
+ isPersonListedDetailsVisible === true && (React.createElement(antd.Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:specify"), name: "personListedDetails", rules: [
20313
20295
  {
20314
20296
  required: true,
20315
20297
  message: "",
@@ -20317,45 +20299,45 @@ var Assessment = function (props) {
20317
20299
  ] },
20318
20300
  React.createElement(antd.Input, { style: { width: 303 } }))))),
20319
20301
  viewOnly && (React.createElement("div", { className: "radio-content view-section" },
20320
- assessmentViewData.hasOwnProperty("isThePersonListed") && (React.createElement(antd.Form.Item, { label: t("assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
20302
+ assessmentViewData.hasOwnProperty("isThePersonListed") && (React.createElement(antd.Form.Item, { label: t("coBenifits:assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
20321
20303
  React.createElement(antd.Radio.Group, { size: "middle", disabled: true },
20322
20304
  React.createElement("div", { className: "radio-container" },
20323
20305
  React.createElement(antd.Radio.Button, { className: "radio" }, assessmentViewData.isThePersonListed))))),
20324
20306
  assessmentViewData.isThePersonListed ===
20325
- exports.RadioButtonStatus.NO && (React.createElement(antd.Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("specify"), name: "personListedDetails" },
20307
+ exports.RadioButtonStatus.NO && (React.createElement(antd.Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:specify"), name: "personListedDetails" },
20326
20308
  React.createElement(antd.Input, { disabled: true, defaultValue: assessmentViewData.personListedDetails
20327
20309
  ? assessmentViewData.personListedDetails
20328
20310
  : "-", style: { width: 303 } })))))))),
20329
20311
  React.createElement(antd.Row, null,
20330
20312
  React.createElement(antd.Form, { layout: "vertical", name: "form4", form: form4, className: "view-section" },
20331
20313
  React.createElement(antd.Row, { className: "mg-bottom-1" },
20332
- React.createElement("label", { className: "co-sub-title-text" }, t("feasibilityReport"))),
20314
+ React.createElement("label", { className: "co-sub-title-text" }, t("coBenifits:feasibilityReport"))),
20333
20315
  React.createElement(antd.Row, { justify: "start", gutter: 16 },
20334
20316
  React.createElement(antd.Col, { flex: "303px" },
20335
20317
  React.createElement(React.Fragment, null,
20336
- !viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentStudyName"), name: "studyName" },
20318
+ !viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentStudyName"), name: "studyName" },
20337
20319
  React.createElement(antd.Input, { style: { width: 303 } }))),
20338
- viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentStudyName"), name: "studyName" },
20320
+ viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentStudyName"), name: "studyName" },
20339
20321
  React.createElement(antd.Input, { disabled: true, defaultValue: assessmentViewData.studyName
20340
20322
  ? assessmentViewData.studyName
20341
20323
  : "-", style: { width: 303 } }))))),
20342
20324
  React.createElement(antd.Col, { flex: "303px" },
20343
20325
  React.createElement(React.Fragment, null,
20344
- !viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentFunder"), name: "funder" },
20326
+ !viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentFunder"), name: "funder" },
20345
20327
  React.createElement(antd.Input, { style: { width: 303 } }))),
20346
- viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentFunder"), name: "funder" },
20328
+ viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentFunder"), name: "funder" },
20347
20329
  React.createElement(antd.Input, { disabled: true, defaultValue: assessmentViewData.funder
20348
20330
  ? assessmentViewData.funder
20349
20331
  : "-", style: { width: 303 } })))))),
20350
20332
  React.createElement(antd.Row, null,
20351
- !viewOnly && (React.createElement(antd.Form.Item, { label: t("assessmentDocuments"), name: "document", valuePropName: "fileList", getValueFromEvent: normFile, required: false, rules: [
20333
+ !viewOnly && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentDocuments"), name: "document", valuePropName: "fileList", getValueFromEvent: normFile, required: false, rules: [
20352
20334
  {
20353
20335
  validator: function (rule, file) { return __awaiter(void 0, void 0, void 0, function () {
20354
20336
  var _a, _b;
20355
20337
  return __generator(this, function (_c) {
20356
20338
  if ((file === null || file === void 0 ? void 0 : file.length) > 0) {
20357
20339
  if (!isValidateFileType((_a = file[0]) === null || _a === void 0 ? void 0 : _a.type)) {
20358
- throw new Error("".concat(t("invalidFileFormat")));
20340
+ throw new Error("".concat(t("coBenifits:invalidFileFormat")));
20359
20341
  }
20360
20342
  else if (((_b = file[0]) === null || _b === void 0 ? void 0 : _b.size) > maximumFileSize) {
20361
20343
  throw new Error("".concat(t("common:maxSizeVal")));
@@ -20370,7 +20352,7 @@ var Assessment = function (props) {
20370
20352
  return false;
20371
20353
  }, className: "design-upload-section", name: "document", listType: "picture", multiple: false, maxCount: 1 },
20372
20354
  React.createElement(antd.Button, { className: "upload-doc", size: "large", icon: React.createElement(icons.UploadOutlined, null) }, "Upload")))),
20373
- viewOnly && assessmentViewData.document && (React.createElement(antd.Form.Item, { label: t("assessmentDocuments"), name: "assessmentDocuments" },
20355
+ viewOnly && assessmentViewData.document && (React.createElement(antd.Form.Item, { label: t("coBenifits:assessmentDocuments"), name: "assessmentDocuments" },
20374
20356
  React.createElement("a", { href: assessmentViewData.document, target: "_blank", rel: "noopener noreferrer", download: true }, assessmentViewData.document))))))))));
20375
20357
  };
20376
20358
 
@@ -20546,176 +20528,175 @@ var SdgGoals = function (props) {
20546
20528
 
20547
20529
  var Safeguards = function (props) {
20548
20530
  var onFormSubmit = props.onFormSubmit, safeGuardViewData = props.safeGuardViewData, viewOnly = props.viewOnly, translator = props.translator;
20549
- translator.setDefaultNamespace("safeguards");
20550
20531
  var t = translator.t;
20551
20532
  var _a = React.useState(), safeguardDetails = _a[0], setSafeguardDetails = _a[1];
20552
20533
  var form = antd.Form.useForm()[0];
20553
20534
  var initialFormElementList = [
20554
20535
  {
20555
20536
  type: exports.FormElementType.Label,
20556
- label: t("humanRights"),
20537
+ label: t("safeguards:humanRights"),
20557
20538
  items: [
20558
20539
  {
20559
20540
  type: exports.FormElementType.Radio,
20560
- label: t("isRespectHumanRights"),
20541
+ label: t("safeguards:isRespectHumanRights"),
20561
20542
  name: "isRespectHumanRights",
20562
20543
  },
20563
20544
  {
20564
20545
  type: exports.FormElementType.Radio,
20565
- label: t("isProjectdiscriminate"),
20546
+ label: t("safeguards:isProjectdiscriminate"),
20566
20547
  name: "isProjectdiscriminate",
20567
20548
  },
20568
20549
  ],
20569
20550
  },
20570
20551
  {
20571
20552
  type: exports.FormElementType.Label,
20572
- label: t("genderEquality"),
20553
+ label: t("safeguards:genderEquality"),
20573
20554
  items: [
20574
20555
  {
20575
20556
  type: exports.FormElementType.Radio,
20576
- label: t("genderEqualityQ1"),
20557
+ label: t("safeguards:genderEqualityQ1"),
20577
20558
  name: "genderEqualityQ1",
20578
20559
  },
20579
20560
  {
20580
20561
  type: exports.FormElementType.Radio,
20581
- label: t("genderEqualityQ2"),
20562
+ label: t("safeguards:genderEqualityQ2"),
20582
20563
  name: "genderEqualityQ2",
20583
20564
  },
20584
20565
  {
20585
20566
  type: exports.FormElementType.Radio,
20586
- label: t("genderEqualityQ3"),
20567
+ label: t("safeguards:genderEqualityQ3"),
20587
20568
  name: "genderEqualityQ3",
20588
20569
  },
20589
20570
  {
20590
20571
  type: exports.FormElementType.Radio,
20591
- label: t("genderEqualityQ4"),
20572
+ label: t("safeguards:genderEqualityQ4"),
20592
20573
  name: "genderEqualityQ4",
20593
20574
  },
20594
20575
  ],
20595
20576
  },
20596
20577
  {
20597
20578
  type: exports.FormElementType.Label,
20598
- label: t("communityHealth"),
20579
+ label: t("safeguards:communityHealth"),
20599
20580
  items: [
20600
20581
  {
20601
20582
  type: exports.FormElementType.Radio,
20602
- label: t("communityHealthQ1"),
20583
+ label: t("safeguards:communityHealthQ1"),
20603
20584
  name: "communityHealthQ1",
20604
20585
  },
20605
20586
  ],
20606
20587
  },
20607
20588
  {
20608
20589
  type: exports.FormElementType.Label,
20609
- label: t("historicHeritage"),
20590
+ label: t("safeguards:historicHeritage"),
20610
20591
  items: [
20611
20592
  {
20612
20593
  type: exports.FormElementType.Radio,
20613
- label: t("historicHeritageQ1"),
20594
+ label: t("safeguards:historicHeritageQ1"),
20614
20595
  name: "historicHeritageQ1",
20615
20596
  },
20616
20597
  ],
20617
20598
  },
20618
20599
  {
20619
20600
  type: exports.FormElementType.Label,
20620
- label: t("forcedEviction"),
20601
+ label: t("safeguards:forcedEviction"),
20621
20602
  items: [
20622
20603
  {
20623
20604
  type: exports.FormElementType.Radio,
20624
- label: t("forcedEvictionQ1"),
20605
+ label: t("safeguards:forcedEvictionQ1"),
20625
20606
  name: "forcedEvictionQ1",
20626
20607
  },
20627
20608
  ],
20628
20609
  },
20629
20610
  {
20630
20611
  type: exports.FormElementType.Label,
20631
- label: t("landTenure"),
20612
+ label: t("safeguards:landTenure"),
20632
20613
  items: [
20633
20614
  {
20634
20615
  type: exports.FormElementType.Radio,
20635
- label: t("landTenureQ1"),
20616
+ label: t("safeguards:landTenureQ1"),
20636
20617
  name: "landTenureQ1",
20637
20618
  },
20638
20619
  {
20639
20620
  type: exports.FormElementType.Radio,
20640
- label: t("landTenureQ2"),
20621
+ label: t("safeguards:landTenureQ2"),
20641
20622
  name: "landTenureQ2",
20642
20623
  },
20643
20624
  ],
20644
20625
  },
20645
20626
  {
20646
20627
  type: exports.FormElementType.Label,
20647
- label: t("indegenousPeople"),
20628
+ label: t("safeguards:indegenousPeople"),
20648
20629
  items: [
20649
20630
  {
20650
20631
  type: exports.FormElementType.Radio,
20651
- label: t("indegenousPeopleQ1"),
20632
+ label: t("safeguards:indegenousPeopleQ1"),
20652
20633
  name: "indegenousPeopleQ1",
20653
20634
  },
20654
20635
  ],
20655
20636
  },
20656
20637
  {
20657
20638
  type: exports.FormElementType.Label,
20658
- label: t("corruption"),
20639
+ label: t("safeguards:corruption"),
20659
20640
  items: [
20660
20641
  {
20661
20642
  type: exports.FormElementType.Radio,
20662
- label: t("corruptionQ1"),
20643
+ label: t("safeguards:corruptionQ1"),
20663
20644
  name: "corruptionQ1",
20664
20645
  },
20665
20646
  ],
20666
20647
  },
20667
20648
  {
20668
20649
  type: exports.FormElementType.Label,
20669
- label: t("labourRights"),
20650
+ label: t("safeguards:labourRights"),
20670
20651
  items: [
20671
20652
  {
20672
20653
  type: exports.FormElementType.Radio,
20673
- label: t("labourRightsQ1"),
20654
+ label: t("safeguards:labourRightsQ1"),
20674
20655
  name: "labourRightsQ1",
20675
20656
  },
20676
20657
  {
20677
20658
  type: exports.FormElementType.Radio,
20678
- label: t("labourRightsQ2"),
20659
+ label: t("safeguards:labourRightsQ2"),
20679
20660
  name: "labourRightsQ2",
20680
20661
  },
20681
20662
  {
20682
20663
  type: exports.FormElementType.Label,
20683
- label: t("labourRightsSubLabel"),
20664
+ label: t("safeguards:labourRightsSubLabel"),
20684
20665
  className: "mg-left-2",
20685
20666
  items: [
20686
20667
  {
20687
20668
  type: exports.FormElementType.Radio,
20688
- label: t("labourRightsSubQ1"),
20669
+ label: t("safeguards:labourRightsSubQ1"),
20689
20670
  name: "labourRightsSubQ1",
20690
20671
  className: "mg-left-4",
20691
20672
  },
20692
20673
  {
20693
20674
  type: exports.FormElementType.Radio,
20694
- label: t("labourRightsSubQ2"),
20675
+ label: t("safeguards:labourRightsSubQ2"),
20695
20676
  name: "labourRightsSubQ2",
20696
20677
  className: "mg-left-4",
20697
20678
  },
20698
20679
  {
20699
20680
  type: exports.FormElementType.Radio,
20700
- label: t("labourRightsSubQ3"),
20681
+ label: t("safeguards:labourRightsSubQ3"),
20701
20682
  name: "labourRightsSubQ3",
20702
20683
  className: "mg-left-4",
20703
20684
  },
20704
20685
  {
20705
20686
  type: exports.FormElementType.Radio,
20706
- label: t("labourRightsSubQ4"),
20687
+ label: t("safeguards:labourRightsSubQ4"),
20707
20688
  name: "labourRightsSubQ4",
20708
20689
  className: "mg-left-4",
20709
20690
  },
20710
20691
  {
20711
20692
  type: exports.FormElementType.Radio,
20712
- label: t("labourRightsSubQ5"),
20693
+ label: t("safeguards:labourRightsSubQ5"),
20713
20694
  name: "labourRightsSubQ5",
20714
20695
  className: "mg-left-4",
20715
20696
  },
20716
20697
  {
20717
20698
  type: exports.FormElementType.Radio,
20718
- label: t("labourRightsSubQ6"),
20699
+ label: t("safeguards:labourRightsSubQ6"),
20719
20700
  name: "labourRightsSubQ6",
20720
20701
  className: "mg-left-4",
20721
20702
  },
@@ -20723,198 +20704,198 @@ var Safeguards = function (props) {
20723
20704
  },
20724
20705
  {
20725
20706
  type: exports.FormElementType.Radio,
20726
- label: t("labourRightsQ3"),
20707
+ label: t("safeguards:labourRightsQ3"),
20727
20708
  name: "labourRightsQ3",
20728
20709
  },
20729
20710
  {
20730
20711
  type: exports.FormElementType.Radio,
20731
- label: t("labourRightsQ4"),
20712
+ label: t("safeguards:labourRightsQ4"),
20732
20713
  name: "labourRightsQ4",
20733
20714
  },
20734
20715
  ],
20735
20716
  },
20736
20717
  {
20737
20718
  type: exports.FormElementType.Label,
20738
- label: t("economicConsequences"),
20719
+ label: t("safeguards:economicConsequences"),
20739
20720
  items: [
20740
20721
  {
20741
20722
  type: exports.FormElementType.Radio,
20742
- label: t("economicConsequencesQ1"),
20723
+ label: t("safeguards:economicConsequencesQ1"),
20743
20724
  name: "economicConsequencesQ1",
20744
20725
  },
20745
20726
  ],
20746
20727
  },
20747
20728
  {
20748
20729
  type: exports.FormElementType.Label,
20749
- label: t("emissions"),
20730
+ label: t("safeguards:emissions"),
20750
20731
  items: [
20751
20732
  {
20752
20733
  type: exports.FormElementType.Radio,
20753
- label: t("emissionsQ1"),
20734
+ label: t("safeguards:emissionsQ1"),
20754
20735
  name: "emissionsQ1",
20755
20736
  },
20756
20737
  ],
20757
20738
  },
20758
20739
  {
20759
20740
  type: exports.FormElementType.Label,
20760
- label: t("energySupply"),
20741
+ label: t("safeguards:energySupply"),
20761
20742
  items: [
20762
20743
  {
20763
20744
  type: exports.FormElementType.Radio,
20764
- label: t("energySupplyQ1"),
20745
+ label: t("safeguards:energySupplyQ1"),
20765
20746
  name: "energySupplyQ1",
20766
20747
  },
20767
20748
  ],
20768
20749
  },
20769
20750
  {
20770
20751
  type: exports.FormElementType.Label,
20771
- label: t("waterPattern"),
20752
+ label: t("safeguards:waterPattern"),
20772
20753
  items: [
20773
20754
  {
20774
20755
  type: exports.FormElementType.Radio,
20775
- label: t("waterPatternQ1"),
20756
+ label: t("safeguards:waterPatternQ1"),
20776
20757
  name: "waterPatternQ1",
20777
20758
  },
20778
20759
  ],
20779
20760
  },
20780
20761
  {
20781
20762
  type: exports.FormElementType.Label,
20782
- label: t("erosoin"),
20763
+ label: t("safeguards:erosoin"),
20783
20764
  items: [
20784
20765
  {
20785
20766
  type: exports.FormElementType.Radio,
20786
- label: t("erosoinQ1"),
20767
+ label: t("safeguards:erosoinQ1"),
20787
20768
  name: "erosoinQ1",
20788
20769
  },
20789
20770
  {
20790
20771
  type: exports.FormElementType.Radio,
20791
- label: t("erosoinQ2"),
20772
+ label: t("safeguards:erosoinQ2"),
20792
20773
  name: "erosoinQ2",
20793
20774
  },
20794
20775
  ],
20795
20776
  },
20796
20777
  {
20797
20778
  type: exports.FormElementType.Label,
20798
- label: t("landscape"),
20779
+ label: t("safeguards:landscape"),
20799
20780
  items: [
20800
20781
  {
20801
20782
  type: exports.FormElementType.Radio,
20802
- label: t("landscapeQ1"),
20783
+ label: t("safeguards:landscapeQ1"),
20803
20784
  name: "landscapeQ1",
20804
20785
  },
20805
20786
  ],
20806
20787
  },
20807
20788
  {
20808
20789
  type: exports.FormElementType.Label,
20809
- label: t("naturalDisaster"),
20790
+ label: t("safeguards:naturalDisaster"),
20810
20791
  items: [
20811
20792
  {
20812
20793
  type: exports.FormElementType.Radio,
20813
- label: t("naturalDisasterQ1"),
20794
+ label: t("safeguards:naturalDisasterQ1"),
20814
20795
  name: "naturalDisasterQ1",
20815
20796
  },
20816
20797
  ],
20817
20798
  },
20818
20799
  {
20819
20800
  type: exports.FormElementType.Label,
20820
- label: t("genetic"),
20801
+ label: t("safeguards:genetic"),
20821
20802
  items: [
20822
20803
  {
20823
20804
  type: exports.FormElementType.Radio,
20824
- label: t("geneticQ1"),
20805
+ label: t("safeguards:geneticQ1"),
20825
20806
  name: "geneticQ1",
20826
20807
  },
20827
20808
  ],
20828
20809
  },
20829
20810
  {
20830
20811
  type: exports.FormElementType.Label,
20831
- label: t("pollutants"),
20812
+ label: t("safeguards:pollutants"),
20832
20813
  items: [
20833
20814
  {
20834
20815
  type: exports.FormElementType.Radio,
20835
- label: t("pollutantsQ1"),
20816
+ label: t("safeguards:pollutantsQ1"),
20836
20817
  name: "pollutantsQ1",
20837
20818
  },
20838
20819
  ],
20839
20820
  },
20840
20821
  {
20841
20822
  type: exports.FormElementType.Label,
20842
- label: t("hazardousWaste"),
20823
+ label: t("safeguards:hazardousWaste"),
20843
20824
  items: [
20844
20825
  {
20845
20826
  type: exports.FormElementType.Radio,
20846
- label: t("hazardousWasteQ1"),
20827
+ label: t("safeguards:hazardousWasteQ1"),
20847
20828
  name: "hazardousWasteQ1",
20848
20829
  },
20849
20830
  ],
20850
20831
  },
20851
20832
  {
20852
20833
  type: exports.FormElementType.Label,
20853
- label: t("pesticides"),
20834
+ label: t("safeguards:pesticides"),
20854
20835
  items: [
20855
20836
  {
20856
20837
  type: exports.FormElementType.Radio,
20857
- label: t("pesticidesQ1"),
20838
+ label: t("safeguards:pesticidesQ1"),
20858
20839
  name: "pesticidesQ1",
20859
20840
  },
20860
20841
  ],
20861
20842
  },
20862
20843
  {
20863
20844
  type: exports.FormElementType.Label,
20864
- label: t("harvestForests"),
20845
+ label: t("safeguards:harvestForests"),
20865
20846
  items: [
20866
20847
  {
20867
20848
  type: exports.FormElementType.Radio,
20868
- label: t("harvestForestsQ1"),
20849
+ label: t("safeguards:harvestForestsQ1"),
20869
20850
  name: "harvestForestsQ1",
20870
20851
  },
20871
20852
  ],
20872
20853
  },
20873
20854
  {
20874
20855
  type: exports.FormElementType.Label,
20875
- label: t("food"),
20856
+ label: t("safeguards:food"),
20876
20857
  items: [
20877
20858
  {
20878
20859
  type: exports.FormElementType.Radio,
20879
- label: t("foodQ1"),
20860
+ label: t("safeguards:foodQ1"),
20880
20861
  name: "foodQ1",
20881
20862
  },
20882
20863
  ],
20883
20864
  },
20884
20865
  {
20885
20866
  type: exports.FormElementType.Label,
20886
- label: t("animalHusbandry"),
20867
+ label: t("safeguards:animalHusbandry"),
20887
20868
  items: [
20888
20869
  {
20889
20870
  type: exports.FormElementType.Radio,
20890
- label: t("animalHusbandryQ1"),
20871
+ label: t("safeguards:animalHusbandryQ1"),
20891
20872
  name: "animalHusbandryQ1",
20892
20873
  },
20893
20874
  ],
20894
20875
  },
20895
20876
  {
20896
20877
  type: exports.FormElementType.Label,
20897
- label: t("criticalHabitats"),
20878
+ label: t("safeguards:criticalHabitats"),
20898
20879
  items: [
20899
20880
  {
20900
20881
  type: exports.FormElementType.Radio,
20901
- label: t("criticalHabitatsQ1"),
20882
+ label: t("safeguards:criticalHabitatsQ1"),
20902
20883
  name: "criticalHabitatsQ1",
20903
20884
  },
20904
20885
  ],
20905
20886
  },
20906
20887
  {
20907
20888
  type: exports.FormElementType.Label,
20908
- label: t("endangeredSpecies"),
20889
+ label: t("safeguards:endangeredSpecies"),
20909
20890
  items: [
20910
20891
  {
20911
20892
  type: exports.FormElementType.Radio,
20912
- label: t("endangeredSpeciesQ1"),
20893
+ label: t("safeguards:endangeredSpeciesQ1"),
20913
20894
  name: "endangeredSpeciesQ1",
20914
20895
  },
20915
20896
  {
20916
20897
  type: exports.FormElementType.Radio,
20917
- label: t("endangeredSpeciesQ2"),
20898
+ label: t("safeguards:endangeredSpeciesQ2"),
20918
20899
  name: "endangeredSpeciesQ2",
20919
20900
  },
20920
20901
  ],
@@ -20979,7 +20960,7 @@ var Safeguards = function (props) {
20979
20960
  React.createElement(antd.Row, { justify: "center", align: "middle", style: { width: "100%" } },
20980
20961
  React.createElement(antd.Col, { span: 24, className: "unfcccSdTool-section-title" },
20981
20962
  React.createElement("span", null,
20982
- React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("undpSespTitle")))),
20963
+ React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("safeguards:undpSespTitle")))),
20983
20964
  React.createElement(antd.Col, { span: 24 },
20984
20965
  React.createElement("div", { className: "undpSesp-section-divider" })))),
20985
20966
  React.createElement(antd.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) {
@@ -20998,11 +20979,11 @@ var Safeguards = function (props) {
20998
20979
  ] },
20999
20980
  React.createElement(antd.Radio.Group, { size: "middle" },
21000
20981
  React.createElement("div", { className: "radio-container" },
21001
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus2.YES }, t("yes"))),
20982
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus2.YES }, t("safeguards:yes"))),
21002
20983
  React.createElement("div", { className: "radio-container" },
21003
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus2.MAYBE }, t("maybe"))),
20984
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus2.MAYBE }, t("safeguards:maybe"))),
21004
20985
  React.createElement("div", { className: "radio-container" },
21005
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus2.NO }, t("no")))))),
20986
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus2.NO }, t("safeguards:no")))))),
21006
20987
  viewOnly &&
21007
20988
  safeGuardViewData.hasOwnProperty(item === null || item === void 0 ? void 0 : item.name) && (React.createElement("div", { className: "view-section" },
21008
20989
  React.createElement(antd.Form.Item, { label: item === null || item === void 0 ? void 0 : item.label, className: item.className
@@ -21027,11 +21008,11 @@ var Safeguards = function (props) {
21027
21008
  ] },
21028
21009
  React.createElement(antd.Radio.Group, { size: "middle" },
21029
21010
  React.createElement("div", { className: "radio-container" },
21030
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus2.YES }, t("yes"))),
21011
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus2.YES }, t("safeguards:yes"))),
21031
21012
  React.createElement("div", { className: "radio-container" },
21032
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus2.MAYBE }, t("maybe"))),
21013
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus2.MAYBE }, t("safeguards:maybe"))),
21033
21014
  React.createElement("div", { className: "radio-container" },
21034
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus2.NO }, t("no")))))),
21015
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus2.NO }, t("safeguards:no")))))),
21035
21016
  viewOnly &&
21036
21017
  safeGuardViewData.hasOwnProperty(subItem === null || subItem === void 0 ? void 0 : subItem.name) && (React.createElement("div", { className: "view-section" },
21037
21018
  React.createElement(antd.Form.Item, { label: subItem === null || subItem === void 0 ? void 0 : subItem.label, className: subItem.className
@@ -21048,204 +21029,203 @@ var Safeguards = function (props) {
21048
21029
 
21049
21030
  var Environmental = function (props) {
21050
21031
  var onFormSubmit = props.onFormSubmit, environmentalViewData = props.environmentalViewData, viewOnly = props.viewOnly, translator = props.translator;
21051
- translator.setDefaultNamespace("unfcccSdTool");
21052
21032
  var t = translator.t;
21053
21033
  var environmentalDetailsInitial = [
21054
21034
  {
21055
- section: t("air"),
21035
+ section: t("unfcccSdTool:air"),
21056
21036
  fields: [
21057
21037
  {
21058
21038
  name: "airQ1",
21059
- label: t("airQ1"),
21039
+ label: t("unfcccSdTool:airQ1"),
21060
21040
  hide: false,
21061
21041
  required: false,
21062
21042
  },
21063
21043
  {
21064
21044
  name: "airQ2",
21065
- label: t("airQ2"),
21045
+ label: t("unfcccSdTool:airQ2"),
21066
21046
  hide: true,
21067
21047
  required: true,
21068
21048
  },
21069
21049
  {
21070
21050
  name: "airQ3",
21071
- label: t("airQ3"),
21051
+ label: t("unfcccSdTool:airQ3"),
21072
21052
  hide: true,
21073
21053
  required: true,
21074
21054
  },
21075
21055
  {
21076
21056
  name: "airQ4",
21077
- label: t("airQ4"),
21057
+ label: t("unfcccSdTool:airQ4"),
21078
21058
  hide: true,
21079
21059
  required: true,
21080
21060
  },
21081
21061
  {
21082
21062
  name: "airQ5",
21083
- label: t("airQ5"),
21063
+ label: t("unfcccSdTool:airQ5"),
21084
21064
  hide: true,
21085
21065
  required: true,
21086
21066
  },
21087
21067
  {
21088
21068
  name: "airQ6",
21089
- label: t("airQ6"),
21069
+ label: t("unfcccSdTool:airQ6"),
21090
21070
  hide: true,
21091
21071
  required: true,
21092
21072
  },
21093
21073
  {
21094
21074
  name: "airQ7",
21095
- label: t("airQ7"),
21075
+ label: t("unfcccSdTool:airQ7"),
21096
21076
  hide: true,
21097
21077
  required: true,
21098
21078
  },
21099
21079
  {
21100
21080
  name: "airQ8",
21101
- label: t("airQ8"),
21081
+ label: t("unfcccSdTool:airQ8"),
21102
21082
  hide: true,
21103
21083
  required: true,
21104
21084
  },
21105
21085
  {
21106
21086
  name: "airQ9",
21107
- label: t("airQ9"),
21087
+ label: t("unfcccSdTool:airQ9"),
21108
21088
  hide: true,
21109
21089
  required: true,
21110
21090
  },
21111
21091
  ],
21112
21092
  },
21113
21093
  {
21114
- section: t("land"),
21094
+ section: t("unfcccSdTool:land"),
21115
21095
  fields: [
21116
21096
  {
21117
21097
  name: "landQ1",
21118
- label: t("landQ1"),
21098
+ label: t("unfcccSdTool:landQ1"),
21119
21099
  hide: false,
21120
21100
  required: false,
21121
21101
  },
21122
21102
  {
21123
21103
  name: "landQ2",
21124
- label: t("landQ2"),
21104
+ label: t("unfcccSdTool:landQ2"),
21125
21105
  hide: true,
21126
21106
  required: true,
21127
21107
  },
21128
21108
  {
21129
21109
  name: "landQ3",
21130
- label: t("landQ3"),
21110
+ label: t("unfcccSdTool:landQ3"),
21131
21111
  hide: true,
21132
21112
  required: true,
21133
21113
  },
21134
21114
  {
21135
21115
  name: "landQ4",
21136
- label: t("landQ4"),
21116
+ label: t("unfcccSdTool:landQ4"),
21137
21117
  hide: true,
21138
21118
  required: true,
21139
21119
  },
21140
21120
  {
21141
21121
  name: "landQ5",
21142
- label: t("landQ5"),
21122
+ label: t("unfcccSdTool:landQ5"),
21143
21123
  hide: true,
21144
21124
  required: true,
21145
21125
  },
21146
21126
  {
21147
21127
  name: "landQ6",
21148
- label: t("landQ6"),
21128
+ label: t("unfcccSdTool:landQ6"),
21149
21129
  hide: true,
21150
21130
  required: true,
21151
21131
  },
21152
21132
  {
21153
21133
  name: "landQ7",
21154
- label: t("landQ7"),
21134
+ label: t("unfcccSdTool:landQ7"),
21155
21135
  hide: true,
21156
21136
  required: true,
21157
21137
  },
21158
21138
  {
21159
21139
  name: "landQ8",
21160
- label: t("landQ8"),
21140
+ label: t("unfcccSdTool:landQ8"),
21161
21141
  hide: true,
21162
21142
  required: true,
21163
21143
  },
21164
21144
  ],
21165
21145
  },
21166
21146
  {
21167
- section: t("water"),
21147
+ section: t("unfcccSdTool:water"),
21168
21148
  fields: [
21169
21149
  {
21170
21150
  name: "waterQ1",
21171
- label: t("waterQ1"),
21151
+ label: t("unfcccSdTool:waterQ1"),
21172
21152
  hide: false,
21173
21153
  required: false,
21174
21154
  },
21175
21155
  {
21176
21156
  name: "waterQ2",
21177
- label: t("waterQ2"),
21157
+ label: t("unfcccSdTool:waterQ2"),
21178
21158
  hide: true,
21179
21159
  required: true,
21180
21160
  },
21181
21161
  {
21182
21162
  name: "waterQ3",
21183
- label: t("waterQ3"),
21163
+ label: t("unfcccSdTool:waterQ3"),
21184
21164
  hide: true,
21185
21165
  required: true,
21186
21166
  },
21187
21167
  {
21188
21168
  name: "waterQ4",
21189
- label: t("waterQ4"),
21169
+ label: t("unfcccSdTool:waterQ4"),
21190
21170
  hide: true,
21191
21171
  required: true,
21192
21172
  },
21193
21173
  {
21194
21174
  name: "waterQ5",
21195
- label: t("waterQ5"),
21175
+ label: t("unfcccSdTool:waterQ5"),
21196
21176
  hide: true,
21197
21177
  required: true,
21198
21178
  },
21199
21179
  {
21200
21180
  name: "waterQ6",
21201
- label: t("waterQ6"),
21181
+ label: t("unfcccSdTool:waterQ6"),
21202
21182
  hide: true,
21203
21183
  required: true,
21204
21184
  },
21205
21185
  {
21206
21186
  name: "waterQ7",
21207
- label: t("waterQ7"),
21187
+ label: t("unfcccSdTool:waterQ7"),
21208
21188
  hide: true,
21209
21189
  required: true,
21210
21190
  },
21211
21191
  ],
21212
21192
  },
21213
21193
  {
21214
- section: t("naturalResource"),
21194
+ section: t("unfcccSdTool:naturalResource"),
21215
21195
  fields: [
21216
21196
  {
21217
21197
  name: "naturalResourceQ1",
21218
- label: t("naturalResourceQ1"),
21198
+ label: t("unfcccSdTool:naturalResourceQ1"),
21219
21199
  hide: false,
21220
21200
  required: false,
21221
21201
  },
21222
21202
  {
21223
21203
  name: "naturalResourceQ2",
21224
- label: t("naturalResourceQ2"),
21204
+ label: t("unfcccSdTool:naturalResourceQ2"),
21225
21205
  hide: true,
21226
21206
  required: true,
21227
21207
  },
21228
21208
  {
21229
21209
  name: "naturalResourceQ3",
21230
- label: t("naturalResourceQ3"),
21210
+ label: t("unfcccSdTool:naturalResourceQ3"),
21231
21211
  hide: true,
21232
21212
  required: true,
21233
21213
  },
21234
21214
  {
21235
21215
  name: "naturalResourceQ4",
21236
- label: t("naturalResourceQ4"),
21216
+ label: t("unfcccSdTool:naturalResourceQ4"),
21237
21217
  hide: true,
21238
21218
  required: true,
21239
21219
  },
21240
21220
  {
21241
21221
  name: "naturalResourceQ5",
21242
- label: t("naturalResourceQ5"),
21222
+ label: t("unfcccSdTool:naturalResourceQ5"),
21243
21223
  hide: true,
21244
21224
  required: true,
21245
21225
  },
21246
21226
  {
21247
21227
  name: "naturalResourceQ6",
21248
- label: t("naturalResourceQ6"),
21228
+ label: t("unfcccSdTool:naturalResourceQ6"),
21249
21229
  hide: true,
21250
21230
  required: true,
21251
21231
  },
@@ -21263,7 +21243,7 @@ var Environmental = function (props) {
21263
21243
  if (changedFieldName.includes("1")) {
21264
21244
  var sectionName_1 = changedFieldName.replace(/\d/g, "").replace("Q", "");
21265
21245
  var updatedEnvironmentalDetails = __spreadArray([], environmentalDetails, true);
21266
- var sectionIndex = updatedEnvironmentalDetails.findIndex(function (section) { return section.section === t(sectionName_1); });
21246
+ var sectionIndex = updatedEnvironmentalDetails.findIndex(function (section) { return section.section === t("unfcccSdTool:" + sectionName_1); });
21267
21247
  updatedEnvironmentalDetails[sectionIndex].fields.forEach(function (field) {
21268
21248
  if (field.name !== changedFieldName) {
21269
21249
  field.hide = changedFieldValue !== exports.RadioButtonStatus.YES;
@@ -21282,41 +21262,41 @@ var Environmental = function (props) {
21282
21262
  if (environmentalViewData && viewOnly === true) {
21283
21263
  var updatedEnvironmentalData = [
21284
21264
  {
21285
- section: t("air"),
21265
+ section: t("unfcccSdTool:air"),
21286
21266
  fields: [],
21287
21267
  },
21288
21268
  {
21289
- section: t("land"),
21269
+ section: t("unfcccSdTool:land"),
21290
21270
  fields: [],
21291
21271
  },
21292
21272
  {
21293
- section: t("water"),
21273
+ section: t("unfcccSdTool:water"),
21294
21274
  fields: [],
21295
21275
  },
21296
21276
  {
21297
- section: t("naturalResource"),
21277
+ section: t("unfcccSdTool:naturalResource"),
21298
21278
  fields: [],
21299
21279
  },
21300
21280
  ];
21301
21281
  var _loop_1 = function (key) {
21302
21282
  var section = "";
21303
21283
  if (String(key).includes("air")) {
21304
- section = t("air");
21284
+ section = t("unfcccSdTool:air");
21305
21285
  }
21306
21286
  else if (String(key).includes("land")) {
21307
- section = t("land");
21287
+ section = t("unfcccSdTool:land");
21308
21288
  }
21309
21289
  else if (String(key).includes("water")) {
21310
- section = t("water");
21290
+ section = t("unfcccSdTool:water");
21311
21291
  }
21312
21292
  else if (String(key).includes("naturalResource")) {
21313
- section = t("naturalResource");
21293
+ section = t("unfcccSdTool:naturalResource");
21314
21294
  }
21315
21295
  var environmentalItem = updatedEnvironmentalData.find(function (item) { return item.section === section; });
21316
21296
  if (environmentalItem) {
21317
21297
  environmentalItem.fields.push({
21318
21298
  name: key,
21319
- label: t(key),
21299
+ label: t("unfcccSdTool:" + key),
21320
21300
  hide: false,
21321
21301
  value: environmentalViewData[key],
21322
21302
  });
@@ -21338,11 +21318,11 @@ var Environmental = function (props) {
21338
21318
  React.createElement(antd.Row, { justify: "center", align: "middle", style: { width: "100%" } },
21339
21319
  React.createElement(antd.Col, { span: 24, className: "unfcccSdTool-section-title" },
21340
21320
  React.createElement("span", null,
21341
- React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("unfcccSdToolTitle")))),
21321
+ React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("unfcccSdTool:unfcccSdToolTitle")))),
21342
21322
  React.createElement(antd.Col, { span: 24 },
21343
21323
  React.createElement("div", { className: "unfccSdTool-section-divider" })),
21344
21324
  React.createElement(antd.Col, { span: 24, className: "unfcccSdTool-section-title" },
21345
- React.createElement("span", null, t("environmental"))),
21325
+ React.createElement("span", null, t("unfcccSdTool:environmental"))),
21346
21326
  React.createElement(antd.Col, { span: 24 },
21347
21327
  React.createElement("div", { className: "unfccSdTool-section-divider", style: { marginBottom: "20px" } })))),
21348
21328
  (environmentalDetails === null || environmentalDetails === void 0 ? void 0 : environmentalDetails.length) === 0 && (React.createElement(antd.Empty, { image: antd.Empty.PRESENTED_IMAGE_SIMPLE })), environmentalDetails === null || environmentalDetails === void 0 ? void 0 :
@@ -21355,189 +21335,188 @@ var Environmental = function (props) {
21355
21335
  {
21356
21336
  required: field === null || field === void 0 ? void 0 : field.required,
21357
21337
  message: (field === null || field === void 0 ? void 0 : field.required) &&
21358
- "".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("isRequired")),
21338
+ "".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("unfcccSdTool:isRequired")),
21359
21339
  },
21360
21340
  ] },
21361
21341
  React.createElement(antd.Radio.Group, { size: "middle", onChange: function () { }, disabled: environmentalViewData && true }, environmentalViewData ? (React.createElement(React.Fragment, null,
21362
21342
  (field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
21363
- React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("yes")))),
21343
+ React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("unfcccSdTool:yes")))),
21364
21344
  (field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
21365
- React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("no")))),
21345
+ React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("unfcccSdTool:no")))),
21366
21346
  (field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
21367
- React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
21347
+ React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("unfcccSdTool:na")))))) : (React.createElement(React.Fragment, null,
21368
21348
  React.createElement("div", { className: "yes-no-radio-container" },
21369
- React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("yes"))),
21349
+ React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
21370
21350
  React.createElement("div", { className: "yes-no-radio-container" },
21371
- React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("no"))),
21351
+ React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
21372
21352
  React.createElement("div", { className: "yes-no-radio-container" },
21373
- React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("na"))))))));
21353
+ React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("unfcccSdTool:na"))))))));
21374
21354
  })));
21375
21355
  })))));
21376
21356
  };
21377
21357
 
21378
21358
  var Economic = function (props) {
21379
21359
  var onFormSubmit = props.onFormSubmit, economicViewData = props.economicViewData, viewOnly = props.viewOnly, translator = props.translator;
21380
- translator.setDefaultNamespace("unfcccSdTool");
21381
21360
  var t = translator.t;
21382
21361
  var economicDetailsInitial = [
21383
21362
  {
21384
- section: t("growth"),
21363
+ section: t("unfcccSdTool:growth"),
21385
21364
  fields: [
21386
21365
  {
21387
21366
  name: "growthQ1",
21388
- label: t("growthQ1"),
21367
+ label: t("unfcccSdTool:growthQ1"),
21389
21368
  hide: false,
21390
21369
  required: false,
21391
21370
  },
21392
21371
  {
21393
21372
  name: "growthQ2",
21394
- label: t("growthQ2"),
21373
+ label: t("unfcccSdTool:growthQ2"),
21395
21374
  hide: true,
21396
21375
  required: true,
21397
21376
  },
21398
21377
  {
21399
21378
  name: "growthQ3",
21400
- label: t("growthQ3"),
21379
+ label: t("unfcccSdTool:growthQ3"),
21401
21380
  hide: true,
21402
21381
  required: true,
21403
21382
  },
21404
21383
  {
21405
21384
  name: "growthQ4",
21406
- label: t("growthQ4"),
21385
+ label: t("unfcccSdTool:growthQ4"),
21407
21386
  hide: true,
21408
21387
  required: true,
21409
21388
  },
21410
21389
  {
21411
21390
  name: "growthQ5",
21412
- label: t("growthQ5"),
21391
+ label: t("unfcccSdTool:growthQ5"),
21413
21392
  hide: true,
21414
21393
  required: true,
21415
21394
  },
21416
21395
  {
21417
21396
  name: "growthQ6",
21418
- label: t("growthQ6"),
21397
+ label: t("unfcccSdTool:growthQ6"),
21419
21398
  hide: true,
21420
21399
  required: true,
21421
21400
  },
21422
21401
  {
21423
21402
  name: "growthQ7",
21424
- label: t("growthQ7"),
21403
+ label: t("unfcccSdTool:growthQ7"),
21425
21404
  hide: true,
21426
21405
  required: true,
21427
21406
  },
21428
21407
  {
21429
21408
  name: "growthQ8",
21430
- label: t("growthQ8"),
21409
+ label: t("unfcccSdTool:growthQ8"),
21431
21410
  hide: true,
21432
21411
  required: true,
21433
21412
  },
21434
21413
  ],
21435
21414
  },
21436
21415
  {
21437
- section: t("energy"),
21416
+ section: t("unfcccSdTool:energy"),
21438
21417
  fields: [
21439
21418
  {
21440
21419
  name: "energyQ1",
21441
- label: t("energyQ1"),
21420
+ label: t("unfcccSdTool:energyQ1"),
21442
21421
  hide: false,
21443
21422
  required: false,
21444
21423
  },
21445
21424
  {
21446
21425
  name: "energyQ2",
21447
- label: t("energyQ2"),
21426
+ label: t("unfcccSdTool:energyQ2"),
21448
21427
  hide: true,
21449
21428
  required: true,
21450
21429
  },
21451
21430
  {
21452
21431
  name: "energyQ3",
21453
- label: t("energyQ3"),
21432
+ label: t("unfcccSdTool:energyQ3"),
21454
21433
  hide: true,
21455
21434
  required: true,
21456
21435
  },
21457
21436
  {
21458
21437
  name: "energyQ4",
21459
- label: t("energyQ4"),
21438
+ label: t("unfcccSdTool:energyQ4"),
21460
21439
  hide: true,
21461
21440
  required: true,
21462
21441
  },
21463
21442
  {
21464
21443
  name: "energyQ5",
21465
- label: t("energyQ5"),
21444
+ label: t("unfcccSdTool:energyQ5"),
21466
21445
  hide: true,
21467
21446
  required: true,
21468
21447
  },
21469
21448
  ],
21470
21449
  },
21471
21450
  {
21472
- section: t("techTransfer"),
21451
+ section: t("unfcccSdTool:techTransfer"),
21473
21452
  fields: [
21474
21453
  {
21475
21454
  name: "techTransferQ1",
21476
- label: t("techTransferQ1"),
21455
+ label: t("unfcccSdTool:techTransferQ1"),
21477
21456
  hide: false,
21478
21457
  required: false,
21479
21458
  },
21480
21459
  {
21481
21460
  name: "techTransferQ2",
21482
- label: t("techTransferQ2"),
21461
+ label: t("unfcccSdTool:techTransferQ2"),
21483
21462
  hide: true,
21484
21463
  required: true,
21485
21464
  },
21486
21465
  {
21487
21466
  name: "techTransferQ3",
21488
- label: t("techTransferQ3"),
21467
+ label: t("unfcccSdTool:techTransferQ3"),
21489
21468
  hide: true,
21490
21469
  required: true,
21491
21470
  },
21492
21471
  {
21493
21472
  name: "techTransferQ4",
21494
- label: t("techTransferQ4"),
21473
+ label: t("unfcccSdTool:techTransferQ4"),
21495
21474
  hide: true,
21496
21475
  required: true,
21497
21476
  },
21498
21477
  {
21499
21478
  name: "techTransferQ5",
21500
- label: t("techTransferQ5"),
21479
+ label: t("unfcccSdTool:techTransferQ5"),
21501
21480
  hide: true,
21502
21481
  required: true,
21503
21482
  },
21504
21483
  {
21505
21484
  name: "techTransferQ6",
21506
- label: t("techTransferQ6"),
21485
+ label: t("unfcccSdTool:techTransferQ6"),
21507
21486
  hide: true,
21508
21487
  required: true,
21509
21488
  },
21510
21489
  ],
21511
21490
  },
21512
21491
  {
21513
- section: t("balanceOfPayments"),
21492
+ section: t("unfcccSdTool:balanceOfPayments"),
21514
21493
  fields: [
21515
21494
  {
21516
21495
  name: "balanceOfPaymentsQ1",
21517
- label: t("balanceOfPaymentsQ1"),
21496
+ label: t("unfcccSdTool:balanceOfPaymentsQ1"),
21518
21497
  hide: false,
21519
21498
  required: false,
21520
21499
  },
21521
21500
  {
21522
21501
  name: "balanceOfPaymentsQ2",
21523
- label: t("balanceOfPaymentsQ2"),
21502
+ label: t("unfcccSdTool:balanceOfPaymentsQ2"),
21524
21503
  hide: true,
21525
21504
  required: true,
21526
21505
  },
21527
21506
  {
21528
21507
  name: "balanceOfPaymentsQ3",
21529
- label: t("balanceOfPaymentsQ3"),
21508
+ label: t("unfcccSdTool:balanceOfPaymentsQ3"),
21530
21509
  hide: true,
21531
21510
  required: true,
21532
21511
  },
21533
21512
  ],
21534
21513
  },
21535
21514
  {
21536
- section: t("furtherInfo"),
21515
+ section: t("unfcccSdTool:furtherInfo"),
21537
21516
  fields: [
21538
21517
  {
21539
21518
  name: "furtherInfoQ1",
21540
- label: t("furtherInfoQ1"),
21519
+ label: t("unfcccSdTool:furtherInfoQ1"),
21541
21520
  hide: false,
21542
21521
  required: false,
21543
21522
  },
@@ -21554,7 +21533,7 @@ var Economic = function (props) {
21554
21533
  if (changedFieldName.includes("1")) {
21555
21534
  var sectionName_1 = changedFieldName.replace(/\d/g, "").replace("Q", "");
21556
21535
  var updatedEconomicDetails = __spreadArray([], economicDetails, true);
21557
- var sectionIndex = updatedEconomicDetails.findIndex(function (section) { return section.section === t(sectionName_1); });
21536
+ var sectionIndex = updatedEconomicDetails.findIndex(function (section) { return section.section === t("unfcccSdTool:" + sectionName_1); });
21558
21537
  updatedEconomicDetails[sectionIndex].fields.forEach(function (field) {
21559
21538
  if (field.name !== changedFieldName) {
21560
21539
  field.hide = changedFieldValue !== exports.RadioButtonStatus.YES;
@@ -21573,48 +21552,48 @@ var Economic = function (props) {
21573
21552
  if (economicViewData && viewOnly === true) {
21574
21553
  var updatedEconomicData = [
21575
21554
  {
21576
- section: t("growth"),
21555
+ section: t("unfcccSdTool:growth"),
21577
21556
  fields: [],
21578
21557
  },
21579
21558
  {
21580
- section: t("energy"),
21559
+ section: t("unfcccSdTool:energy"),
21581
21560
  fields: [],
21582
21561
  },
21583
21562
  {
21584
- section: t("techTransfer"),
21563
+ section: t("unfcccSdTool:techTransfer"),
21585
21564
  fields: [],
21586
21565
  },
21587
21566
  {
21588
- section: t("balanceOfPayments"),
21567
+ section: t("unfcccSdTool:balanceOfPayments"),
21589
21568
  fields: [],
21590
21569
  },
21591
21570
  {
21592
- section: t("furtherInfo"),
21571
+ section: t("unfcccSdTool:furtherInfo"),
21593
21572
  fields: [],
21594
21573
  },
21595
21574
  ];
21596
21575
  var _loop_1 = function (key) {
21597
21576
  var section = "";
21598
21577
  if (String(key).includes("growth")) {
21599
- section = t("growth");
21578
+ section = t("unfcccSdTool:growth");
21600
21579
  }
21601
21580
  else if (String(key).includes("energy")) {
21602
- section = t("energy");
21581
+ section = t("unfcccSdTool:energy");
21603
21582
  }
21604
21583
  else if (String(key).includes("techTransfer")) {
21605
- section = t("techTransfer");
21584
+ section = t("unfcccSdTool:techTransfer");
21606
21585
  }
21607
21586
  else if (String(key).includes("balanceOfPayments")) {
21608
- section = t("balanceOfPayments");
21587
+ section = t("unfcccSdTool:balanceOfPayments");
21609
21588
  }
21610
21589
  else if (String(key).includes("furtherInfo")) {
21611
- section = t("furtherInfo");
21590
+ section = t("unfcccSdTool:furtherInfo");
21612
21591
  }
21613
21592
  var economicItem = updatedEconomicData.find(function (item) { return item.section === section; });
21614
21593
  if (economicItem) {
21615
21594
  economicItem.fields.push({
21616
21595
  name: key,
21617
- label: t(key),
21596
+ label: t("unfcccSdTool:" + key),
21618
21597
  hide: false,
21619
21598
  value: economicViewData[key],
21620
21599
  });
@@ -21636,7 +21615,7 @@ var Economic = function (props) {
21636
21615
  React.createElement(antd.Col, { span: 24 },
21637
21616
  React.createElement("div", { className: "unfccSdTool-section-divider" })),
21638
21617
  React.createElement(antd.Col, { span: 24, className: "unfcccSdTool-section-title" },
21639
- React.createElement("span", null, t("economic"))))),
21618
+ React.createElement("span", null, t("unfcccSdTool:economic"))))),
21640
21619
  (economicDetails === null || economicDetails === void 0 ? void 0 : economicDetails.length) === 0 && (React.createElement(antd.Empty, { image: antd.Empty.PRESENTED_IMAGE_SIMPLE })), economicDetails === null || economicDetails === void 0 ? void 0 :
21641
21620
  economicDetails.map(function (environmentalDetail) {
21642
21621
  var _a;
@@ -21652,24 +21631,23 @@ var Economic = function (props) {
21652
21631
  ] },
21653
21632
  React.createElement(antd.Radio.Group, { size: "middle", onChange: function () { }, disabled: economicViewData && true }, economicViewData ? (React.createElement(React.Fragment, null,
21654
21633
  (field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
21655
- React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("yes")))),
21634
+ React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("unfcccSdTool:yes")))),
21656
21635
  (field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
21657
- React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("no")))),
21636
+ React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("unfcccSdTool:no")))),
21658
21637
  (field === null || field === void 0 ? void 0 : field.value) === exports.RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
21659
- React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
21638
+ React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("unfcccSdTool:na")))))) : (React.createElement(React.Fragment, null,
21660
21639
  React.createElement("div", { className: "yes-no-radio-container" },
21661
- React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("yes"))),
21640
+ React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
21662
21641
  React.createElement("div", { className: "yes-no-radio-container" },
21663
- React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("no"))),
21642
+ React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
21664
21643
  React.createElement("div", { className: "yes-no-radio-container" },
21665
- React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("na"))))))));
21644
+ React.createElement(antd.Radio.Button, { className: "yes-no-radio", value: exports.RadioButtonStatus.NA }, t("unfcccSdTool:na"))))))));
21666
21645
  })));
21667
21646
  })))));
21668
21647
  };
21669
21648
 
21670
21649
  var Social = function (props) {
21671
21650
  var onFormSubmit = props.onFormSubmit, socialViewData = props.socialViewData, viewOnly = props.viewOnly, translator = props.translator;
21672
- translator.setDefaultNamespace("unfcccSdTool");
21673
21651
  var t = translator.t;
21674
21652
  var form = antd.Form.useForm()[0];
21675
21653
  var _a = React.useState(0); _a[0]; var setRefreshCounter = _a[1];
@@ -21677,164 +21655,164 @@ var Social = function (props) {
21677
21655
  var _c = React.useState(true), isFormValid = _c[0], setIsFormValid = _c[1];
21678
21656
  var SocialElementDetails = [
21679
21657
  {
21680
- title: t("jobs"),
21681
- label: t("jobRelatedMainQ"),
21658
+ title: t("unfcccSdTool:jobs"),
21659
+ label: t("unfcccSdTool:jobRelatedMainQ"),
21682
21660
  name: "jobRelatedMainQ",
21683
21661
  subItems: [
21684
21662
  {
21685
21663
  type: exports.FormElementType.Radio,
21686
- label: t("jobRelatedSubQ1"),
21664
+ label: t("unfcccSdTool:jobRelatedSubQ1"),
21687
21665
  name: "jobRelatedSubQ1",
21688
21666
  },
21689
21667
  {
21690
21668
  type: exports.FormElementType.Radio,
21691
- label: t("jobRelatedSubQ2"),
21669
+ label: t("unfcccSdTool:jobRelatedSubQ2"),
21692
21670
  name: "jobRelatedSubQ2",
21693
21671
  },
21694
21672
  {
21695
21673
  type: exports.FormElementType.Radio,
21696
- label: t("jobRelatedSubQ3"),
21674
+ label: t("unfcccSdTool:jobRelatedSubQ3"),
21697
21675
  name: "jobRelatedSubQ3",
21698
21676
  },
21699
21677
  {
21700
21678
  type: exports.FormElementType.Radio,
21701
- label: t("jobRelatedSubQ4"),
21679
+ label: t("unfcccSdTool:jobRelatedSubQ4"),
21702
21680
  name: "jobRelatedSubQ4",
21703
21681
  },
21704
21682
  {
21705
21683
  type: exports.FormElementType.Input,
21706
- label: t("jobRelatedSubQ5"),
21684
+ label: t("unfcccSdTool:jobRelatedSubQ5"),
21707
21685
  name: "jobRelatedSubQ5",
21708
21686
  },
21709
21687
  {
21710
21688
  type: exports.FormElementType.Input,
21711
- label: t("jobRelatedSubQ6"),
21689
+ label: t("unfcccSdTool:jobRelatedSubQ6"),
21712
21690
  name: "jobRelatedSubQ6",
21713
21691
  },
21714
21692
  {
21715
21693
  type: exports.FormElementType.Input,
21716
- label: t("jobRelatedSubQ7"),
21694
+ label: t("unfcccSdTool:jobRelatedSubQ7"),
21717
21695
  name: "jobRelatedSubQ7",
21718
21696
  },
21719
21697
  ],
21720
21698
  },
21721
21699
  {
21722
- title: t("health"),
21723
- label: t("healthRelatedMainQ"),
21700
+ title: t("unfcccSdTool:health"),
21701
+ label: t("unfcccSdTool:healthRelatedMainQ"),
21724
21702
  name: "healthRelatedMainQ",
21725
21703
  subItems: [
21726
21704
  {
21727
21705
  type: exports.FormElementType.Radio,
21728
- label: t("healthRelatedSubQ1"),
21706
+ label: t("unfcccSdTool:healthRelatedSubQ1"),
21729
21707
  name: "healthRelatedSubQ1",
21730
21708
  },
21731
21709
  {
21732
21710
  type: exports.FormElementType.Radio,
21733
- label: t("healthRelatedSubQ2"),
21711
+ label: t("unfcccSdTool:healthRelatedSubQ2"),
21734
21712
  name: "healthRelatedSubQ2",
21735
21713
  },
21736
21714
  {
21737
21715
  type: exports.FormElementType.Radio,
21738
- label: t("healthRelatedSubQ3"),
21716
+ label: t("unfcccSdTool:healthRelatedSubQ3"),
21739
21717
  name: "healthRelatedSubQ3",
21740
21718
  },
21741
21719
  {
21742
21720
  type: exports.FormElementType.Radio,
21743
- label: t("healthRelatedSubQ4"),
21721
+ label: t("unfcccSdTool:healthRelatedSubQ4"),
21744
21722
  name: "healthRelatedSubQ4",
21745
21723
  },
21746
21724
  {
21747
21725
  type: exports.FormElementType.Radio,
21748
- label: t("healthRelatedSubQ5"),
21726
+ label: t("unfcccSdTool:healthRelatedSubQ5"),
21749
21727
  name: "healthRelatedSubQ5",
21750
21728
  },
21751
21729
  {
21752
21730
  type: exports.FormElementType.Radio,
21753
- label: t("healthRelatedSubQ6"),
21731
+ label: t("unfcccSdTool:healthRelatedSubQ6"),
21754
21732
  name: "healthRelatedSubQ6",
21755
21733
  },
21756
21734
  {
21757
21735
  type: exports.FormElementType.Radio,
21758
- label: t("healthRelatedSubQ7"),
21736
+ label: t("unfcccSdTool:healthRelatedSubQ7"),
21759
21737
  name: "healthRelatedSubQ7",
21760
21738
  },
21761
21739
  {
21762
21740
  type: exports.FormElementType.Radio,
21763
- label: t("healthRelatedSubQ8"),
21741
+ label: t("unfcccSdTool:healthRelatedSubQ8"),
21764
21742
  name: "healthRelatedSubQ8",
21765
21743
  },
21766
21744
  ],
21767
21745
  },
21768
21746
  {
21769
- title: t("educational"),
21770
- label: t("educationRelatedMainQ"),
21747
+ title: t("unfcccSdTool:educational"),
21748
+ label: t("unfcccSdTool:educationRelatedMainQ"),
21771
21749
  name: "educationRelatedMainQ",
21772
21750
  subItems: [
21773
21751
  {
21774
21752
  type: exports.FormElementType.Radio,
21775
- label: t("educationRelatedSubQ1"),
21753
+ label: t("unfcccSdTool:educationRelatedSubQ1"),
21776
21754
  name: "educationRelatedSubQ1",
21777
21755
  },
21778
21756
  {
21779
21757
  type: exports.FormElementType.Radio,
21780
- label: t("educationRelatedSubQ2"),
21758
+ label: t("unfcccSdTool:educationRelatedSubQ2"),
21781
21759
  name: "educationRelatedSubQ2",
21782
21760
  },
21783
21761
  {
21784
21762
  type: exports.FormElementType.Radio,
21785
- label: t("educationRelatedSubQ3"),
21763
+ label: t("unfcccSdTool:educationRelatedSubQ3"),
21786
21764
  name: "educationRelatedSubQ3",
21787
21765
  },
21788
21766
  {
21789
21767
  type: exports.FormElementType.Radio,
21790
- label: t("educationRelatedSubQ4"),
21768
+ label: t("unfcccSdTool:educationRelatedSubQ4"),
21791
21769
  name: "educationRelatedSubQ4",
21792
21770
  },
21793
21771
  ],
21794
21772
  },
21795
21773
  {
21796
- title: t("welfare"),
21797
- label: t("welfareRelatedMainQ"),
21774
+ title: t("unfcccSdTool:welfare"),
21775
+ label: t("unfcccSdTool:welfareRelatedMainQ"),
21798
21776
  name: "welfareRelatedMainQ",
21799
21777
  subItems: [
21800
21778
  {
21801
21779
  type: exports.FormElementType.Radio,
21802
- label: t("welfareRelatedSubQ1"),
21780
+ label: t("unfcccSdTool:welfareRelatedSubQ1"),
21803
21781
  name: "welfareRelatedSubQ1",
21804
21782
  },
21805
21783
  {
21806
21784
  type: exports.FormElementType.Radio,
21807
- label: t("welfareRelatedSubQ2"),
21785
+ label: t("unfcccSdTool:welfareRelatedSubQ2"),
21808
21786
  name: "welfareRelatedSubQ2",
21809
21787
  },
21810
21788
  {
21811
21789
  type: exports.FormElementType.Radio,
21812
- label: t("welfareRelatedSubQ3"),
21790
+ label: t("unfcccSdTool:welfareRelatedSubQ3"),
21813
21791
  name: "welfareRelatedSubQ3",
21814
21792
  },
21815
21793
  {
21816
21794
  type: exports.FormElementType.Radio,
21817
- label: t("welfareRelatedSubQ4"),
21795
+ label: t("unfcccSdTool:welfareRelatedSubQ4"),
21818
21796
  name: "welfareRelatedSubQ4",
21819
21797
  },
21820
21798
  {
21821
21799
  type: exports.FormElementType.Radio,
21822
- label: t("welfareRelatedSubQ5"),
21800
+ label: t("unfcccSdTool:welfareRelatedSubQ5"),
21823
21801
  name: "welfareRelatedSubQ5",
21824
21802
  },
21825
21803
  {
21826
21804
  type: exports.FormElementType.Radio,
21827
- label: t("welfareRelatedSubQ6"),
21805
+ label: t("unfcccSdTool:welfareRelatedSubQ6"),
21828
21806
  name: "welfareRelatedSubQ6",
21829
21807
  },
21830
21808
  {
21831
21809
  type: exports.FormElementType.Radio,
21832
- label: t("welfareRelatedSubQ7"),
21810
+ label: t("unfcccSdTool:welfareRelatedSubQ7"),
21833
21811
  name: "welfareRelatedSubQ7",
21834
21812
  },
21835
21813
  {
21836
21814
  type: exports.FormElementType.Radio,
21837
- label: t("welfareRelatedSubQ8"),
21815
+ label: t("unfcccSdTool:welfareRelatedSubQ8"),
21838
21816
  name: "welfareRelatedSubQ8",
21839
21817
  },
21840
21818
  ],
@@ -21893,7 +21871,7 @@ var Social = function (props) {
21893
21871
  React.createElement(antd.Col, { span: 24 },
21894
21872
  React.createElement("div", { className: "unfccSdTool-section-divider" })),
21895
21873
  React.createElement(antd.Col, { span: 24, className: "unfcccSdTool-section-title" },
21896
- React.createElement("span", null, t("social"))))),
21874
+ React.createElement("span", null, t("unfcccSdTool:social"))))),
21897
21875
  viewOnly && !socialViewData && (React.createElement(antd.Empty, { image: antd.Empty.PRESENTED_IMAGE_SIMPLE })),
21898
21876
  ((viewOnly && socialViewData) || !viewOnly) && (React.createElement(antd.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) {
21899
21877
  return (React.createElement(React.Fragment, null,
@@ -21904,11 +21882,11 @@ var Social = function (props) {
21904
21882
  React.createElement(antd.Form.Item, { className: "mg-left-2", label: element.label, name: element.name },
21905
21883
  React.createElement(antd.Radio.Group, { size: "middle", onChange: onRadioStatusChanged },
21906
21884
  React.createElement("div", { className: "radio-container" },
21907
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("yes"))),
21885
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
21908
21886
  React.createElement("div", { className: "radio-container" },
21909
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("no"))),
21887
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
21910
21888
  React.createElement("div", { className: "radio-container" },
21911
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("na"))))),
21889
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("unfcccSdTool:na"))))),
21912
21890
  form.getFieldValue(element.name) ===
21913
21891
  exports.RadioButtonStatus.YES &&
21914
21892
  element.subItems.map(function (elementItem) {
@@ -21921,11 +21899,11 @@ var Social = function (props) {
21921
21899
  ] },
21922
21900
  React.createElement(antd.Radio.Group, { size: "middle" },
21923
21901
  React.createElement("div", { className: "radio-container" },
21924
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("yes"))),
21902
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
21925
21903
  React.createElement("div", { className: "radio-container" },
21926
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("no"))),
21904
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
21927
21905
  React.createElement("div", { className: "radio-container" },
21928
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("na"))))));
21906
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NA }, t("unfcccSdTool:na"))))));
21929
21907
  }
21930
21908
  else if (elementItem.type === exports.FormElementType.Input) {
21931
21909
  return (React.createElement(antd.Form.Item, { className: "mg-left-4", labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: elementItem.label, name: elementItem.name },
@@ -21961,89 +21939,88 @@ var Social = function (props) {
21961
21939
 
21962
21940
  var SocialEnvironmentalRisk = function (props) {
21963
21941
  var onFormSubmit = props.onFormSubmit, SocialEnvironmentalRiskData = props.SocialEnvironmentalRiskData, viewOnly = props.viewOnly, translator = props.translator;
21964
- translator.setDefaultNamespace("socialEnvironmentalRisk");
21965
21942
  var t = translator.t;
21966
21943
  var form = antd.Form.useForm()[0];
21967
21944
  var _a = React.useState(), socialEnvironmentalFormDetails = _a[0], setSocialEnvironmentalFormDetails = _a[1];
21968
21945
  var _b = React.useState([
21969
21946
  {
21970
- title: t("humanRightsSubHeader"),
21947
+ title: t("socialEnvironmentalRisk:humanRightsSubHeader"),
21971
21948
  isTitleVisible: true,
21972
21949
  subItems: [
21973
21950
  {
21974
- title: t("humanRights"),
21951
+ title: t("socialEnvironmentalRisk:humanRights"),
21975
21952
  isTitleVisible: true,
21976
21953
  subItems: [
21977
21954
  {
21978
- label: t("humanRightsQ1"),
21955
+ label: t("socialEnvironmentalRisk:humanRightsQ1"),
21979
21956
  name: "humanRightsQ1",
21980
21957
  },
21981
21958
  {
21982
- label: t("humanRightsQ2"),
21959
+ label: t("socialEnvironmentalRisk:humanRightsQ2"),
21983
21960
  name: "humanRightsQ2",
21984
21961
  },
21985
21962
  {
21986
- label: t("humanRightsQ3"),
21963
+ label: t("socialEnvironmentalRisk:humanRightsQ3"),
21987
21964
  name: "humanRightsQ3",
21988
21965
  },
21989
21966
  {
21990
- label: t("humanRightsQ4"),
21967
+ label: t("socialEnvironmentalRisk:humanRightsQ4"),
21991
21968
  name: "humanRightsQ4",
21992
21969
  },
21993
21970
  {
21994
- label: t("humanRightsQ5"),
21971
+ label: t("socialEnvironmentalRisk:humanRightsQ5"),
21995
21972
  name: "humanRightsQ5",
21996
21973
  },
21997
21974
  {
21998
- label: t("humanRightsQ6"),
21975
+ label: t("socialEnvironmentalRisk:humanRightsQ6"),
21999
21976
  name: "humanRightsQ6",
22000
21977
  },
22001
21978
  {
22002
- label: t("humanRightsQ7"),
21979
+ label: t("socialEnvironmentalRisk:humanRightsQ7"),
22003
21980
  name: "humanRightsQ7",
22004
21981
  },
22005
21982
  ],
22006
21983
  },
22007
21984
  {
22008
- title: t("genderEqalityWomenEmpower"),
21985
+ title: t("socialEnvironmentalRisk:genderEqalityWomenEmpower"),
22009
21986
  isTitleVisible: true,
22010
21987
  subItems: [
22011
21988
  {
22012
- label: t("genderEqalityWomenEmpowerQ1"),
21989
+ label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ1"),
22013
21990
  name: "genderEqalityWomenEmpowerQ1",
22014
21991
  },
22015
21992
  {
22016
- label: t("genderEqalityWomenEmpowerQ2"),
21993
+ label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ2"),
22017
21994
  name: "genderEqalityWomenEmpowerQ2",
22018
21995
  },
22019
21996
  {
22020
- label: t("genderEqalityWomenEmpowerQ3"),
21997
+ label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ3"),
22021
21998
  name: "genderEqalityWomenEmpowerQ3",
22022
21999
  },
22023
22000
  {
22024
- label: t("genderEqalityWomenEmpowerQ4"),
22001
+ label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ4"),
22025
22002
  name: "genderEqalityWomenEmpowerQ4",
22026
22003
  },
22027
22004
  {
22028
- label: t("genderEqalityWomenEmpowerQ5"),
22005
+ label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ5"),
22029
22006
  name: "genderEqalityWomenEmpowerQ5",
22030
22007
  },
22031
22008
  ],
22032
22009
  },
22033
22010
  {
22034
- title: t("accountability"),
22011
+ title: t("socialEnvironmentalRisk:accountability"),
22035
22012
  isTitleVisible: true,
22036
22013
  subItems: [
22037
22014
  {
22038
- label: t("accountabilityQ1"),
22015
+ label: t("socialEnvironmentalRisk:accountabilityQ1"),
22039
22016
  name: "accountabilityQ1",
22040
22017
  },
22041
22018
  {
22042
- label: t("accountabilityQ2"),
22019
+ label: t("socialEnvironmentalRisk:accountabilityQ2"),
22043
22020
  name: "AccountabilityQ2",
22044
22021
  },
22045
22022
  {
22046
- label: t("accountabilityQ3"),
22023
+ label: t("socialEnvironmentalRisk:accountabilityQ3"),
22047
22024
  name: "accountabilityQ3",
22048
22025
  },
22049
22026
  ],
@@ -22051,277 +22028,277 @@ var SocialEnvironmentalRisk = function (props) {
22051
22028
  ],
22052
22029
  },
22053
22030
  {
22054
- title: t("standardSubHeader"),
22031
+ title: t("socialEnvironmentalRisk:standardSubHeader"),
22055
22032
  isTitleVisible: true,
22056
22033
  subItems: [
22057
22034
  {
22058
- title: t("standard1"),
22035
+ title: t("socialEnvironmentalRisk:standard1"),
22059
22036
  isTitleVisible: true,
22060
22037
  subItems: [
22061
22038
  {
22062
- label: t("standard1Q1"),
22039
+ label: t("socialEnvironmentalRisk:standard1Q1"),
22063
22040
  name: "standard1Q1",
22064
22041
  },
22065
22042
  {
22066
- label: t("standard1Q2"),
22043
+ label: t("socialEnvironmentalRisk:standard1Q2"),
22067
22044
  name: "standard1Q2",
22068
22045
  },
22069
22046
  {
22070
- label: t("standard1Q3"),
22047
+ label: t("socialEnvironmentalRisk:standard1Q3"),
22071
22048
  name: "standard1Q3",
22072
22049
  },
22073
22050
  {
22074
- label: t("standard1Q4"),
22051
+ label: t("socialEnvironmentalRisk:standard1Q4"),
22075
22052
  name: "standard1Q4",
22076
22053
  },
22077
22054
  {
22078
- label: t("standard1Q5"),
22055
+ label: t("socialEnvironmentalRisk:standard1Q5"),
22079
22056
  name: "standard1Q5",
22080
22057
  },
22081
22058
  {
22082
- label: t("standard1Q6"),
22059
+ label: t("socialEnvironmentalRisk:standard1Q6"),
22083
22060
  name: "standard1Q6",
22084
22061
  },
22085
22062
  {
22086
- label: t("standard1Q7"),
22063
+ label: t("socialEnvironmentalRisk:standard1Q7"),
22087
22064
  name: "standard1Q7",
22088
22065
  },
22089
22066
  {
22090
- label: t("standard1Q8"),
22067
+ label: t("socialEnvironmentalRisk:standard1Q8"),
22091
22068
  name: "standard1Q8",
22092
22069
  },
22093
22070
  {
22094
- label: t("standard1Q9"),
22071
+ label: t("socialEnvironmentalRisk:standard1Q9"),
22095
22072
  name: "standard1Q9",
22096
22073
  },
22097
22074
  {
22098
- label: t("standard1Q10"),
22075
+ label: t("socialEnvironmentalRisk:standard1Q10"),
22099
22076
  name: "standard1Q10",
22100
22077
  },
22101
22078
  {
22102
- label: t("standard1Q11"),
22079
+ label: t("socialEnvironmentalRisk:standard1Q11"),
22103
22080
  name: "standard1Q11",
22104
22081
  },
22105
22082
  {
22106
- label: t("standard1Q12"),
22083
+ label: t("socialEnvironmentalRisk:standard1Q12"),
22107
22084
  name: "standard1Q12",
22108
22085
  },
22109
22086
  {
22110
- label: t("standard1Q13"),
22087
+ label: t("socialEnvironmentalRisk:standard1Q13"),
22111
22088
  name: "standard1Q13",
22112
22089
  },
22113
22090
  {
22114
- label: t("standard1Q14"),
22091
+ label: t("socialEnvironmentalRisk:standard1Q14"),
22115
22092
  name: "standard1Q14",
22116
22093
  },
22117
22094
  ],
22118
22095
  },
22119
22096
  {
22120
- title: t("standard2"),
22097
+ title: t("socialEnvironmentalRisk:standard2"),
22121
22098
  isTitleVisible: true,
22122
22099
  subItems: [
22123
22100
  {
22124
- label: t("standard2Q1"),
22101
+ label: t("socialEnvironmentalRisk:standard2Q1"),
22125
22102
  name: "standard2Q1",
22126
22103
  },
22127
22104
  {
22128
- label: t("standard2Q2"),
22105
+ label: t("socialEnvironmentalRisk:standard2Q2"),
22129
22106
  name: "standard2Q2",
22130
22107
  },
22131
22108
  {
22132
- label: t("standard2Q3"),
22109
+ label: t("socialEnvironmentalRisk:standard2Q3"),
22133
22110
  name: "standard2Q3",
22134
22111
  },
22135
22112
  {
22136
- label: t("standard2Q4"),
22113
+ label: t("socialEnvironmentalRisk:standard2Q4"),
22137
22114
  name: "standard2Q4",
22138
22115
  },
22139
22116
  ],
22140
22117
  },
22141
22118
  {
22142
- title: t("standard3"),
22119
+ title: t("socialEnvironmentalRisk:standard3"),
22143
22120
  isTitleVisible: true,
22144
22121
  subItems: [
22145
22122
  {
22146
- label: t("standard3Q1"),
22123
+ label: t("socialEnvironmentalRisk:standard3Q1"),
22147
22124
  name: "standard3Q1",
22148
22125
  },
22149
22126
  {
22150
- label: t("standard3Q2"),
22127
+ label: t("socialEnvironmentalRisk:standard3Q2"),
22151
22128
  name: "standard3Q2",
22152
22129
  },
22153
22130
  {
22154
- label: t("standard3Q3"),
22131
+ label: t("socialEnvironmentalRisk:standard3Q3"),
22155
22132
  name: "standard3Q3",
22156
22133
  },
22157
22134
  {
22158
- label: t("standard3Q4"),
22135
+ label: t("socialEnvironmentalRisk:standard3Q4"),
22159
22136
  name: "standard3Q4",
22160
22137
  },
22161
22138
  {
22162
- label: t("standard3Q5"),
22139
+ label: t("socialEnvironmentalRisk:standard3Q5"),
22163
22140
  name: "standard3Q5",
22164
22141
  },
22165
22142
  {
22166
- label: t("standard3Q6"),
22143
+ label: t("socialEnvironmentalRisk:standard3Q6"),
22167
22144
  name: "standard3Q6",
22168
22145
  },
22169
22146
  {
22170
- label: t("standard3Q7"),
22147
+ label: t("socialEnvironmentalRisk:standard3Q7"),
22171
22148
  name: "standard3Q7",
22172
22149
  },
22173
22150
  {
22174
- label: t("standard3Q8"),
22151
+ label: t("socialEnvironmentalRisk:standard3Q8"),
22175
22152
  name: "standard3Q8",
22176
22153
  },
22177
22154
  ],
22178
22155
  },
22179
22156
  {
22180
- title: t("standard4"),
22157
+ title: t("socialEnvironmentalRisk:standard4"),
22181
22158
  isTitleVisible: true,
22182
22159
  subItems: [
22183
22160
  {
22184
- label: t("standard4Q1"),
22161
+ label: t("socialEnvironmentalRisk:standard4Q1"),
22185
22162
  name: "standard4Q1",
22186
22163
  },
22187
22164
  {
22188
- label: t("standard4Q2"),
22165
+ label: t("socialEnvironmentalRisk:standard4Q2"),
22189
22166
  name: "standard4Q2",
22190
22167
  },
22191
22168
  {
22192
- label: t("standard4Q3"),
22169
+ label: t("socialEnvironmentalRisk:standard4Q3"),
22193
22170
  name: "standard4Q3",
22194
22171
  },
22195
22172
  {
22196
- label: t("standard4Q4"),
22173
+ label: t("socialEnvironmentalRisk:standard4Q4"),
22197
22174
  name: "standard4Q4",
22198
22175
  },
22199
22176
  {
22200
- label: t("standard4Q5"),
22177
+ label: t("socialEnvironmentalRisk:standard4Q5"),
22201
22178
  name: "standard4Q5",
22202
22179
  },
22203
22180
  ],
22204
22181
  },
22205
22182
  {
22206
- title: t("standard5"),
22183
+ title: t("socialEnvironmentalRisk:standard5"),
22207
22184
  isTitleVisible: true,
22208
22185
  subItems: [
22209
22186
  {
22210
- label: t("standard5Q1"),
22187
+ label: t("socialEnvironmentalRisk:standard5Q1"),
22211
22188
  name: "standard5Q1",
22212
22189
  },
22213
22190
  {
22214
- label: t("standard5Q2"),
22191
+ label: t("socialEnvironmentalRisk:standard5Q2"),
22215
22192
  name: "standard5Q2",
22216
22193
  },
22217
22194
  {
22218
- label: t("standard5Q3"),
22195
+ label: t("socialEnvironmentalRisk:standard5Q3"),
22219
22196
  name: "standard5Q3",
22220
22197
  },
22221
22198
  {
22222
- label: t("standard5Q4"),
22199
+ label: t("socialEnvironmentalRisk:standard5Q4"),
22223
22200
  name: "standard5Q4",
22224
22201
  },
22225
22202
  ],
22226
22203
  },
22227
22204
  {
22228
- title: t("standard6"),
22205
+ title: t("socialEnvironmentalRisk:standard6"),
22229
22206
  isTitleVisible: true,
22230
22207
  subItems: [
22231
22208
  {
22232
- label: t("standard6Q1"),
22209
+ label: t("socialEnvironmentalRisk:standard6Q1"),
22233
22210
  name: "standard6Q1",
22234
22211
  },
22235
22212
  {
22236
- label: t("standard6Q2"),
22213
+ label: t("socialEnvironmentalRisk:standard6Q2"),
22237
22214
  name: "standard6Q2",
22238
22215
  },
22239
22216
  {
22240
- label: t("standard6Q3"),
22217
+ label: t("socialEnvironmentalRisk:standard6Q3"),
22241
22218
  name: "standard6Q3",
22242
22219
  },
22243
22220
  {
22244
- label: t("standard6Q4"),
22221
+ label: t("socialEnvironmentalRisk:standard6Q4"),
22245
22222
  name: "standard6Q4",
22246
22223
  },
22247
22224
  {
22248
- label: t("standard6Q5"),
22225
+ label: t("socialEnvironmentalRisk:standard6Q5"),
22249
22226
  name: "standard6Q5",
22250
22227
  },
22251
22228
  {
22252
- label: t("standard6Q6"),
22229
+ label: t("socialEnvironmentalRisk:standard6Q6"),
22253
22230
  name: "standard6Q6",
22254
22231
  },
22255
22232
  {
22256
- label: t("standard6Q7"),
22233
+ label: t("socialEnvironmentalRisk:standard6Q7"),
22257
22234
  name: "standard6Q7",
22258
22235
  },
22259
22236
  {
22260
- label: t("standard6Q8"),
22237
+ label: t("socialEnvironmentalRisk:standard6Q8"),
22261
22238
  name: "standard6Q8",
22262
22239
  },
22263
22240
  {
22264
- label: t("standard6Q9"),
22241
+ label: t("socialEnvironmentalRisk:standard6Q9"),
22265
22242
  name: "standard6Q9",
22266
22243
  },
22267
22244
  ],
22268
22245
  },
22269
22246
  {
22270
- title: t("standard7"),
22247
+ title: t("socialEnvironmentalRisk:standard7"),
22271
22248
  isTitleVisible: true,
22272
22249
  subItems: [
22273
22250
  {
22274
- label: t("standard7Q1"),
22251
+ label: t("socialEnvironmentalRisk:standard7Q1"),
22275
22252
  name: "standard7Q1",
22276
22253
  },
22277
22254
  {
22278
- label: t("standard7Q2"),
22255
+ label: t("socialEnvironmentalRisk:standard7Q2"),
22279
22256
  name: "standard7Q2",
22280
22257
  },
22281
22258
  {
22282
- label: t("standard7Q3"),
22259
+ label: t("socialEnvironmentalRisk:standard7Q3"),
22283
22260
  name: "standard7Q3",
22284
22261
  },
22285
22262
  {
22286
- label: t("standard7Q4"),
22263
+ label: t("socialEnvironmentalRisk:standard7Q4"),
22287
22264
  name: "standard7Q4",
22288
22265
  },
22289
22266
  {
22290
- label: t("standard7Q5"),
22267
+ label: t("socialEnvironmentalRisk:standard7Q5"),
22291
22268
  name: "standard7Q5",
22292
22269
  },
22293
22270
  {
22294
- label: t("standard7Q6"),
22271
+ label: t("socialEnvironmentalRisk:standard7Q6"),
22295
22272
  name: "standard7Q6",
22296
22273
  },
22297
22274
  ],
22298
22275
  },
22299
22276
  {
22300
- title: t("standard8"),
22277
+ title: t("socialEnvironmentalRisk:standard8"),
22301
22278
  isTitleVisible: true,
22302
22279
  subItems: [
22303
22280
  {
22304
- label: t("standard8Q1"),
22281
+ label: t("socialEnvironmentalRisk:standard8Q1"),
22305
22282
  name: "standard8Q1",
22306
22283
  },
22307
22284
  {
22308
- label: t("standard8Q2"),
22285
+ label: t("socialEnvironmentalRisk:standard8Q2"),
22309
22286
  name: "standard8Q2",
22310
22287
  },
22311
22288
  {
22312
- label: t("standard8Q3"),
22289
+ label: t("socialEnvironmentalRisk:standard8Q3"),
22313
22290
  name: "standard8Q3",
22314
22291
  },
22315
22292
  {
22316
- label: t("standard8Q4"),
22293
+ label: t("socialEnvironmentalRisk:standard8Q4"),
22317
22294
  name: "standard8Q4",
22318
22295
  },
22319
22296
  {
22320
- label: t("standard8Q5"),
22297
+ label: t("socialEnvironmentalRisk:standard8Q5"),
22321
22298
  name: "standard8Q5",
22322
22299
  },
22323
22300
  {
22324
- label: t("standard8Q6"),
22301
+ label: t("socialEnvironmentalRisk:standard8Q6"),
22325
22302
  name: "standard8Q6",
22326
22303
  },
22327
22304
  ],
@@ -22382,9 +22359,9 @@ var SocialEnvironmentalRisk = function (props) {
22382
22359
  return (React.createElement(antd.Form.Item, { className: "mg-left-2 form-item", label: element.label, name: element.name },
22383
22360
  React.createElement(antd.Radio.Group, { size: "middle" },
22384
22361
  React.createElement("div", { className: "radio-container" },
22385
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("yes"))),
22362
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.YES }, t("socialEnvironmentalRisk:yes"))),
22386
22363
  React.createElement("div", { className: "radio-container" },
22387
- React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("no"))))));
22364
+ React.createElement(antd.Radio.Button, { className: "radio", value: exports.RadioButtonStatus.NO }, t("socialEnvironmentalRisk:no"))))));
22388
22365
  })));
22389
22366
  })));
22390
22367
  }),
@@ -22416,27 +22393,12 @@ var CoBenifitsComponent = function (props) {
22416
22393
  var _b = React.useState(), coBenefitDetails = _b[0], setCoBenefitDetails = _b[1];
22417
22394
  var _c = React.useState(true), isSocialFormValid = _c[0], setIsSocialFormValid = _c[1];
22418
22395
  var _d = React.useState(true), isAssessmentFormValid = _d[0], setIsAssessmentFormValid = _d[1];
22419
- translator.setDefaultNamespace("coBenifits");
22420
22396
  var t = translator.t;
22421
22397
  var onSdgGoalsFormSubmit = function (sdgGoalsDetails) {
22422
22398
  setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { sdgGoals: sdgGoalsDetails })); });
22423
22399
  };
22424
22400
  var onGenderParityFormSubmit = function (genderParityDetails) {
22425
- if (genderParityDetails) {
22426
- var values = Object.values(genderParityDetails).filter(function (val) {
22427
- return (val !== undefined &&
22428
- typeof val != "boolean" &&
22429
- val.trim().length === 0) ||
22430
- val === undefined;
22431
- });
22432
- var keys = Object.keys(genderParityDetails);
22433
- if (keys.length === values.length) {
22434
- setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { genderPariy: undefined })); });
22435
- }
22436
- else {
22437
- setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { genderPariy: genderParityDetails })); });
22438
- }
22439
- }
22401
+ setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { genderPariy: genderParityDetails })); });
22440
22402
  };
22441
22403
  var onEnvironmentalFormSubmit = function (environmentalsDetails) {
22442
22404
  setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { environmental: environmentalsDetails })); });
@@ -22445,22 +22407,8 @@ var CoBenifitsComponent = function (props) {
22445
22407
  setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { economic: economicDetails })); });
22446
22408
  };
22447
22409
  var onAssessmentFormSubmit = function (coBenefitsAssessmentDetails, isFormValid) {
22448
- if (coBenefitsAssessmentDetails) {
22449
- var values = Object.values(coBenefitsAssessmentDetails).filter(function (val) {
22450
- return (val !== undefined &&
22451
- typeof val != "boolean" &&
22452
- val.trim().length === 0) ||
22453
- val === undefined;
22454
- });
22455
- var keys = Object.keys(coBenefitsAssessmentDetails);
22456
- if (keys.length === values.length) {
22457
- setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { assessmentDetails: undefined })); });
22458
- }
22459
- else {
22460
- setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { assessmentDetails: coBenefitsAssessmentDetails })); });
22461
- }
22462
- setIsAssessmentFormValid(isFormValid);
22463
- }
22410
+ setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { assessmentDetails: coBenefitsAssessmentDetails })); });
22411
+ setIsAssessmentFormValid(isFormValid);
22464
22412
  };
22465
22413
  var onSafeguardFormSubmit = function (safeguardDetails) {
22466
22414
  setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { safeguardDetails: safeguardDetails })); });
@@ -23953,7 +23901,7 @@ var CreditTransferComponent = function (props) {
23953
23901
  style: "color-primary",
23954
23902
  click: function () {
23955
23903
  showModalOnAction(record, {
23956
- title: t("creditTransfer:acceptCreditTransferTitle"),
23904
+ title: t("creditTransfer:acceptTitle"),
23957
23905
  icon: React.createElement(Icon__namespace.ClipboardCheck, null),
23958
23906
  actionBtnText: t("creditTransfer:proceed"),
23959
23907
  okAction: function (requestId, comment) {
@@ -24301,7 +24249,7 @@ var CreditTransferComponent = function (props) {
24301
24249
  }, 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 }))));
24302
24250
  };
24303
24251
 
24304
- 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";
24252
+ 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";
24305
24253
  styleInject(css_248z$c);
24306
24254
 
24307
24255
  var MrvPieChartsStatComponent = function (props) {
@@ -29122,7 +29070,7 @@ var ProgrammeRetireForm = function (props) {
29122
29070
  // programme.companyId.map((n) => Number(n));
29123
29071
  // d.companyCredit = d.companyCredit.map((n: any) => (n === undefined ? 0 : n));
29124
29072
  d.toCompanyMeta = {
29125
- name: (d.company !== "" && d.company !== null && d.company !== undefined) ? d.company : undefined,
29073
+ name: d.company,
29126
29074
  country: d.country,
29127
29075
  };
29128
29076
  }
@@ -29559,7 +29507,7 @@ var RejectDocumentationConfirmationModel = function (props) {
29559
29507
  React.createElement(antd.Button, { className: "mg-left-2", type: "primary", danger: true, htmlType: "submit", loading: loading, disabled: actionInfo.type === "reject" && comment === "" }, "REJECT")))));
29560
29508
  };
29561
29509
 
29562
- var css_248z$5 = ".ndc-action-body {\n display: flex;\n flex-direction: column;\n width: 100%; }\n .ndc-action-body .report-details {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: flex-start;\n justify-content: space-between; }\n .ndc-action-body .report-details .report-type {\n display: flex;\n flex-direction: row;\n width: 60%;\n align-items: flex-start; }\n .ndc-action-body .report-details .report-type .name-time-container {\n display: flex;\n flex-direction: column;\n width: 70%;\n margin-bottom: 0.5rem; }\n .ndc-action-body .report-details .report-type .name {\n font-weight: 600;\n color: rgba(58, 53, 65, 0.8); }\n .ndc-action-body .report-details .report-type .icon {\n display: flex;\n width: 30%; }\n .ndc-action-body .report-details .report-type .empty {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link {\n display: flex;\n flex-direction: row;\n width: 40%;\n justify-content: flex-start;\n gap: 20px;\n align-items: center; }\n .ndc-action-body .report-details .report-link .version {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link .link {\n margin-left: 1rem; }\n";
29510
+ 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";
29563
29511
  styleInject(css_248z$5);
29564
29512
 
29565
29513
  var NdcActionBody = function (props) {
@@ -29853,12 +29801,12 @@ var NdcActionBody = function (props) {
29853
29801
  ? {
29854
29802
  color: "#3F3A47",
29855
29803
  cursor: "pointer",
29856
- margin: "0px 0px 1.5px 0px",
29804
+ margin: "0px 0px 2.5px 0px",
29857
29805
  }
29858
29806
  : {
29859
29807
  color: "#cacaca",
29860
29808
  cursor: "default",
29861
- margin: "0px 0px 1.5px 0px",
29809
+ margin: "0px 0px 2.5px 0px",
29862
29810
  }, onClick: function () {
29863
29811
  if (canUploadMonitorReport &&
29864
29812
  uploadDocUserPermission(userInfoState, exports.DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
@@ -29885,12 +29833,12 @@ var NdcActionBody = function (props) {
29885
29833
  ? {
29886
29834
  color: "#3F3A47",
29887
29835
  cursor: "pointer",
29888
- margin: "0px 0px 1.5px 0px",
29836
+ margin: "0px 0px 2.5px 0px",
29889
29837
  }
29890
29838
  : {
29891
29839
  color: "#cacaca",
29892
29840
  cursor: "default",
29893
- margin: "0px 0px 1.5px 0px",
29841
+ margin: "0px 0px 2.5px 0px",
29894
29842
  }, onClick: function () {
29895
29843
  if (canUploadMonitorReport &&
29896
29844
  uploadDocUserPermission(userInfoState, exports.DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
@@ -29943,12 +29891,12 @@ var NdcActionBody = function (props) {
29943
29891
  ? {
29944
29892
  color: "#3F3A47",
29945
29893
  cursor: "pointer",
29946
- margin: "0px 0px 1.5px 0px",
29894
+ margin: "0px 0px 2.5px 0px",
29947
29895
  }
29948
29896
  : {
29949
29897
  color: "#cacaca",
29950
29898
  cursor: "default",
29951
- margin: "0px 0px 1.5px 0px",
29899
+ margin: "0px 0px 2.5px 0px",
29952
29900
  }, onClick: function () {
29953
29901
  if (monitoringReportAccepted &&
29954
29902
  uploadDocUserPermission(userInfoState, exports.DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
@@ -29975,12 +29923,12 @@ var NdcActionBody = function (props) {
29975
29923
  ? {
29976
29924
  color: "#3F3A47",
29977
29925
  cursor: "pointer",
29978
- margin: "0px 0px 1.5px 0px",
29926
+ margin: "0px 0px 2.5px 0px",
29979
29927
  }
29980
29928
  : {
29981
29929
  color: "#cacaca",
29982
29930
  cursor: "default",
29983
- margin: "0px 0px 1.5px 0px",
29931
+ margin: "0px 0px 2.5px 0px",
29984
29932
  }, onClick: function () {
29985
29933
  if (monitoringReportAccepted &&
29986
29934
  uploadDocUserPermission(userInfoState, exports.DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {