@undp/carbon-library 1.0.298-CARBON-Sprint-55.1 → 1.0.298-CARBON-428-hotfix.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -16245,7 +16245,7 @@ var InvestmentCreationComponent = function (props) {
16245
16245
  payload.nationalInvestmentId = investmentData.requestId;
16246
16246
  }
16247
16247
  else {
16248
- payload.instrument = [payload.instrument];
16248
+ payload.instrument = payload.instrument;
16249
16249
  }
16250
16250
  payload.programmeId = projectData === null || projectData === void 0 ? void 0 : projectData.programmeId;
16251
16251
  payload.fromCompanyIds = projectData === null || projectData === void 0 ? void 0 : projectData.companyId.map(function (e) { return Number(e); });
@@ -16255,7 +16255,7 @@ var InvestmentCreationComponent = function (props) {
16255
16255
  response = _a.sent();
16256
16256
  return [3 /*break*/, 5];
16257
16257
  case 3:
16258
- payload.instrument = [payload.instrument];
16258
+ payload.instrument = payload.instrument;
16259
16259
  return [4 /*yield*/, post("national/organisation/addInvestment", payload)];
16260
16260
  case 4:
16261
16261
  response = _a.sent();
@@ -19837,59 +19837,60 @@ var GenderParity = function (props) {
19837
19837
  var onFormSubmit = props.onFormSubmit, genderParityViewData = props.genderParityViewData, viewOnly = props.viewOnly, translator = props.translator;
19838
19838
  var formOne = Form.useForm()[0];
19839
19839
  var formTwo = Form.useForm()[0];
19840
+ translator.setDefaultNamespace("genderParity");
19840
19841
  var t = translator.t;
19841
19842
  var _a = useState(), genderParityDetails = _a[0], setGenderParityDetails = _a[1];
19842
19843
  var genderParityDetailsOne = [
19843
19844
  {
19844
- label: t("genderParity:benifit1"),
19845
+ label: t("benifit1"),
19845
19846
  name: "descriminationAgainstGirls",
19846
19847
  value: true,
19847
19848
  },
19848
19849
  {
19849
- label: t("genderParity:benifit2"),
19850
+ label: t("benifit2"),
19850
19851
  name: "violationAgainstGirls",
19851
19852
  value: true,
19852
19853
  },
19853
19854
  {
19854
- label: t("genderParity:benifit3"),
19855
+ label: t("benifit3"),
19855
19856
  name: "harmfulPracticesAgainstGirls",
19856
19857
  value: true,
19857
19858
  },
19858
19859
  {
19859
- label: t("genderParity:benifit4"),
19860
+ label: t("benifit4"),
19860
19861
  name: "equealRightsToGirls",
19861
19862
  value: true,
19862
19863
  },
19863
19864
  {
19864
- label: t("genderParity:benifit5"),
19865
+ label: t("benifit5"),
19865
19866
  name: "equealRightsToHealthToGirls",
19866
19867
  value: true,
19867
19868
  },
19868
19869
  ];
19869
19870
  var genderParityDetailsTwo = [
19870
19871
  {
19871
- label: t("genderParity:benifit6"),
19872
+ label: t("benifit6"),
19872
19873
  name: "numberOfWomenEmpoyed",
19873
19874
  col: { md: 18, lg: 10 },
19874
19875
  labelCol: 24,
19875
19876
  wrapperCol: 18,
19876
19877
  },
19877
19878
  {
19878
- label: t("genderParity:benifit7"),
19879
+ label: t("benifit7"),
19879
19880
  name: "numberOfWomenTrained",
19880
19881
  col: { md: 18, lg: 10 },
19881
19882
  labelCol: 24,
19882
19883
  wrapperCol: 18,
19883
19884
  },
19884
19885
  {
19885
- label: t("genderParity:benifit8"),
19886
+ label: t("benifit8"),
19886
19887
  name: "numberOfWomenSelectedForDecisionMaking",
19887
19888
  col: { md: 18, lg: 16 },
19888
19889
  labelCol: 24,
19889
19890
  wrapperCol: 11,
19890
19891
  },
19891
19892
  {
19892
- label: t("genderParity:benifit9"),
19893
+ label: t("benifit9"),
19893
19894
  name: "numberOfWomenProvidedAccessForTech",
19894
19895
  col: { md: 18, lg: 16 },
19895
19896
  labelCol: 24,
@@ -19941,12 +19942,12 @@ var GenderParity = function (props) {
19941
19942
  React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: true },
19942
19943
  React.createElement("div", { className: "yes-no-radio-container" },
19943
19944
  React.createElement(Radio.Button, { className: "yes-no-radio", value: genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value }, (genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value) === true
19944
- ? t("genderParity:yes")
19945
- : t("genderParity:no")))))) : (React.createElement(Radio.Group, { size: "middle", onChange: function () { } },
19945
+ ? t("yes")
19946
+ : t("no")))))) : (React.createElement(Radio.Group, { size: "middle", onChange: function () { } },
19946
19947
  React.createElement("div", { className: "yes-no-radio-container" },
19947
- React.createElement(Radio.Button, { className: "yes-no-radio", value: genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value }, t("genderParity:yes"))),
19948
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value }, t("yes"))),
19948
19949
  React.createElement("div", { className: "yes-no-radio-container" },
19949
- React.createElement(Radio.Button, { className: "yes-no-radio", value: !(genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value) }, t("genderParity:no")))))));
19950
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: !(genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value) }, t("no")))))));
19950
19951
  })),
19951
19952
  React.createElement("div", { className: "part-two" },
19952
19953
  React.createElement(Form, { name: "additional-details", layout: "vertical", form: formTwo, onValuesChange: onGenderParityValuesChangedSub },
@@ -19964,6 +19965,7 @@ var GenderParity = function (props) {
19964
19965
 
19965
19966
  var Assessment = function (props) {
19966
19967
  var onFormSubmit = props.onFormSubmit, assessmentViewData = props.assessmentViewData, viewOnly = props.viewOnly, translator = props.translator;
19968
+ translator.setDefaultNamespace("coBenifits");
19967
19969
  var t = translator.t;
19968
19970
  var form1 = Form.useForm()[0];
19969
19971
  var form2 = Form.useForm()[0];
@@ -20121,105 +20123,105 @@ var Assessment = function (props) {
20121
20123
  React.createElement(Row, null,
20122
20124
  React.createElement(Form, { name: "from1", labelCol: { span: 18 }, labelWrap: true, labelAlign: "left", wrapperCol: { span: 6 }, layout: "horizontal", requiredMark: true, form: form1, onValuesChange: function () { return validateForms(); } },
20123
20125
  !viewOnly && (React.createElement("div", { className: "radio-content" },
20124
- React.createElement(Form.Item, { label: t("coBenifits:assessmentIsThirdPartyVerified", {
20126
+ React.createElement(Form.Item, { label: t("assessmentIsThirdPartyVerified", {
20125
20127
  ns: "coBenifits",
20126
20128
  }), className: "form-item", name: "IsThirdPartyVerified" },
20127
20129
  React.createElement(Radio.Group, { size: "middle", onChange: onIsThirdPartyVerifiedChanged },
20128
20130
  React.createElement("div", { className: "radio-container" },
20129
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
20131
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
20130
20132
  React.createElement("div", { className: "radio-container" },
20131
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
20133
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
20132
20134
  React.createElement("div", { className: "radio-container" },
20133
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
20134
- isVerifyingOrgVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:verifyingOrgNamelbl"), name: "verifyingOrgName", rules: [
20135
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("n/a"))))),
20136
+ isVerifyingOrgVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("verifyingOrgNamelbl"), name: "verifyingOrgName", rules: [
20135
20137
  {
20136
20138
  required: true,
20137
20139
  message: "",
20138
20140
  },
20139
20141
  ] },
20140
20142
  React.createElement(Input, { style: { width: 303 } }))),
20141
- React.createElement(Form.Item, { label: t("coBenifits:assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
20143
+ React.createElement(Form.Item, { label: t("assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
20142
20144
  React.createElement(Radio.Group, { size: "middle", onChange: onIsWillingToVerifiedChanged },
20143
20145
  React.createElement("div", { className: "radio-container" },
20144
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
20146
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
20145
20147
  React.createElement("div", { className: "radio-container" },
20146
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
20148
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
20147
20149
  React.createElement("div", { className: "radio-container" },
20148
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
20149
- isVerifyingDetailsVisible === true && (React.createElement(Form.Item, { label: t("coBenifits:verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
20150
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("n/a"))))),
20151
+ isVerifyingDetailsVisible === true && (React.createElement(Form.Item, { label: t("verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
20150
20152
  React.createElement(Input, { style: { width: 303 } }))))),
20151
20153
  viewOnly && (React.createElement("div", { className: "radio-content view-section" },
20152
- assessmentViewData.hasOwnProperty("IsThirdPartyVerified") && (React.createElement(Form.Item, { label: t("coBenifits:assessmentIsThirdPartyVerified"), className: "form-item", name: "IsThirdPartyVerified" },
20154
+ assessmentViewData.hasOwnProperty("IsThirdPartyVerified") && (React.createElement(Form.Item, { label: t("assessmentIsThirdPartyVerified"), className: "form-item", name: "IsThirdPartyVerified" },
20153
20155
  React.createElement(Radio.Group, { size: "middle", disabled: true },
20154
20156
  React.createElement("div", { className: "radio-container" },
20155
20157
  React.createElement(Radio.Button, { className: "radio" }, assessmentViewData.IsThirdPartyVerified))))),
20156
20158
  assessmentViewData.IsThirdPartyVerified ===
20157
- RadioButtonStatus.YES && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:verifyingOrgNamelbl"), name: "verifyingOrgName" },
20159
+ RadioButtonStatus.YES && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("verifyingOrgNamelbl"), name: "verifyingOrgName" },
20158
20160
  React.createElement(Input, { disabled: true, style: { width: 303 }, defaultValue: assessmentViewData.verifyingOrgName
20159
20161
  ? assessmentViewData.verifyingOrgName
20160
20162
  : "-" }))),
20161
- assessmentViewData.hasOwnProperty("IsWillingToVerified") && (React.createElement(Form.Item, { label: t("coBenifits:assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
20163
+ assessmentViewData.hasOwnProperty("IsWillingToVerified") && (React.createElement(Form.Item, { label: t("assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
20162
20164
  React.createElement(Radio.Group, { size: "middle", disabled: true },
20163
20165
  React.createElement("div", { className: "radio-container" },
20164
20166
  React.createElement(Radio.Button, { className: "radio" }, assessmentViewData.IsWillingToVerified))))),
20165
20167
  assessmentViewData.IsWillingToVerified ===
20166
- RadioButtonStatus.YES && (React.createElement(Form.Item, { label: t("coBenifits:verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
20168
+ RadioButtonStatus.YES && (React.createElement(Form.Item, { label: t("verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
20167
20169
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.verifyingDetails
20168
20170
  ? assessmentViewData.verifyingDetails
20169
20171
  : "-", style: { width: 303 } }))))))),
20170
20172
  React.createElement(Row, null,
20171
20173
  React.createElement(Form, { name: "form2", labelCol: { span: 14 }, labelWrap: true, labelAlign: "left", wrapperCol: { span: 8 }, layout: "vertical", requiredMark: true, form: form2, className: "view-section" },
20172
20174
  React.createElement(Row, { className: "mg-bottom-1" },
20173
- React.createElement("label", { className: "co-sub-title-text" }, t("coBenifits:contactInformation"))),
20175
+ React.createElement("label", { className: "co-sub-title-text" }, t("contactInformation"))),
20174
20176
  React.createElement(Row, { justify: "start", gutter: 16 },
20175
20177
  React.createElement(Col, { flex: "139px" },
20176
20178
  React.createElement(React.Fragment, null,
20177
- !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTitle"), name: "title" },
20179
+ !viewOnly && (React.createElement(Form.Item, { label: t("assessmentTitle"), name: "title" },
20178
20180
  React.createElement(Select, { size: "large", style: {
20179
20181
  width: "139px",
20180
20182
  borderRadius: "4px",
20181
20183
  }, options: titleList }))),
20182
- viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTitle"), name: "title" },
20184
+ viewOnly && (React.createElement(Form.Item, { label: t("assessmentTitle"), name: "title" },
20183
20185
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.title
20184
20186
  ? assessmentViewData.title
20185
20187
  : "-", style: { width: 303 } }))))),
20186
20188
  React.createElement(Col, { flex: "303px" },
20187
20189
  React.createElement(React.Fragment, null,
20188
- !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFirstName"), name: "firstName" },
20190
+ !viewOnly && (React.createElement(Form.Item, { label: t("assessmentFirstName"), name: "firstName" },
20189
20191
  React.createElement(Input, { style: { width: 303 } }))),
20190
- viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFirstName"), name: "firstName" },
20192
+ viewOnly && (React.createElement(Form.Item, { label: t("assessmentFirstName"), name: "firstName" },
20191
20193
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.firstName
20192
20194
  ? assessmentViewData.firstName
20193
20195
  : "-", style: { width: 303 } }))))),
20194
20196
  React.createElement(Col, { flex: "303px" },
20195
20197
  React.createElement(React.Fragment, null,
20196
- !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentLastName"), name: "lastName" },
20198
+ !viewOnly && (React.createElement(Form.Item, { label: t("assessmentLastName"), name: "lastName" },
20197
20199
  React.createElement(Input, { style: { width: 303 } }))),
20198
- viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentLastName"), name: "lastName" },
20200
+ viewOnly && (React.createElement(Form.Item, { label: t("assessmentLastName"), name: "lastName" },
20199
20201
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.lastName
20200
20202
  ? assessmentViewData.lastName
20201
20203
  : "-", style: { width: 303 } })))))),
20202
20204
  React.createElement(Row, { justify: "start", gutter: 16 },
20203
20205
  React.createElement(Col, { flex: "462px" },
20204
20206
  React.createElement(React.Fragment, null,
20205
- !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentOrganisation"), name: "organisation" },
20207
+ !viewOnly && (React.createElement(Form.Item, { label: t("assessmentOrganisation"), name: "organisation" },
20206
20208
  React.createElement(Input, { style: { width: 462 } }))),
20207
- viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentOrganisation"), name: "organisation" },
20209
+ viewOnly && (React.createElement(Form.Item, { label: t("assessmentOrganisation"), name: "organisation" },
20208
20210
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.organisation
20209
20211
  ? assessmentViewData.organisation
20210
20212
  : "-", style: { width: 462 } }))))),
20211
20213
  React.createElement(Col, { flex: "303px" },
20212
20214
  React.createElement(React.Fragment, null,
20213
- React.createElement(Skeleton, { loading: isCountryListLoading, active: true }, !viewOnly && countries.length > 0 && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTelephone"), name: "telephone" },
20215
+ React.createElement(Skeleton, { loading: isCountryListLoading, active: true }, !viewOnly && countries.length > 0 && (React.createElement(Form.Item, { label: t("assessmentTelephone"), name: "telephone" },
20214
20216
  React.createElement(PhoneInput, { style: { width: 303 }, international: true, defaultCountry: "LK", countryCallingCodeEditable: false, onChange: function (v) { }, countries: countries })))),
20215
- viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTelephone"), name: "telephone" },
20217
+ viewOnly && (React.createElement(Form.Item, { label: t("assessmentTelephone"), name: "telephone" },
20216
20218
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.telephone
20217
20219
  ? assessmentViewData.telephone
20218
20220
  : "-", style: { width: 303 } })))))),
20219
20221
  React.createElement(Row, { justify: "start", gutter: 16 },
20220
20222
  React.createElement(Col, { flex: "303px" },
20221
20223
  React.createElement(React.Fragment, null,
20222
- !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentEmail"), name: "email", rules: [
20224
+ !viewOnly && (React.createElement(Form.Item, { label: t("assessmentEmail"), name: "email", rules: [
20223
20225
  {
20224
20226
  validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
20225
20227
  var val, reg, matches;
@@ -20240,15 +20242,15 @@ var Assessment = function (props) {
20240
20242
  },
20241
20243
  ] },
20242
20244
  React.createElement(Input, { style: { width: 303 } }))),
20243
- viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentEmail"), name: "email" },
20245
+ viewOnly && (React.createElement(Form.Item, { label: t("assessmentEmail"), name: "email" },
20244
20246
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.email
20245
20247
  ? assessmentViewData.email
20246
20248
  : "-", style: { width: 303 } }))))),
20247
20249
  React.createElement(Col, { flex: "462px" },
20248
20250
  React.createElement(React.Fragment, null,
20249
- !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentAffiliationCDM"), name: "affiliationCDM" },
20251
+ !viewOnly && (React.createElement(Form.Item, { label: t("assessmentAffiliationCDM"), name: "affiliationCDM" },
20250
20252
  React.createElement(Input, { style: { width: 462 } }))),
20251
- viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentAffiliationCDM"), name: "affiliationCDM" },
20253
+ viewOnly && (React.createElement(Form.Item, { label: t("assessmentAffiliationCDM"), name: "affiliationCDM" },
20252
20254
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.affiliationCDM
20253
20255
  ? assessmentViewData.affiliationCDM
20254
20256
  : "-", style: { width: 462 } })))))))),
@@ -20256,15 +20258,15 @@ var Assessment = function (props) {
20256
20258
  React.createElement(Col, { span: 24 },
20257
20259
  React.createElement(Form, { name: "form3", labelCol: { span: 18 }, labelWrap: true, labelAlign: "left", wrapperCol: { span: 6 }, layout: "horizontal", requiredMark: true, form: form3, onValuesChange: function () { return validateForms(); } },
20258
20260
  !viewOnly && (React.createElement("div", { className: "radio-content" },
20259
- React.createElement(Form.Item, { label: t("coBenifits:assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
20261
+ React.createElement(Form.Item, { label: t("assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
20260
20262
  React.createElement(Radio.Group, { size: "middle", onChange: onIsThePersonListedChanged },
20261
20263
  React.createElement("div", { className: "radio-container" },
20262
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
20264
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
20263
20265
  React.createElement("div", { className: "radio-container" },
20264
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
20266
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
20265
20267
  React.createElement("div", { className: "radio-container" },
20266
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
20267
- isPersonListedDetailsVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:specify"), name: "personListedDetails", rules: [
20268
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("n/a"))))),
20269
+ isPersonListedDetailsVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("specify"), name: "personListedDetails", rules: [
20268
20270
  {
20269
20271
  required: true,
20270
20272
  message: "",
@@ -20272,45 +20274,45 @@ var Assessment = function (props) {
20272
20274
  ] },
20273
20275
  React.createElement(Input, { style: { width: 303 } }))))),
20274
20276
  viewOnly && (React.createElement("div", { className: "radio-content view-section" },
20275
- assessmentViewData.hasOwnProperty("isThePersonListed") && (React.createElement(Form.Item, { label: t("coBenifits:assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
20277
+ assessmentViewData.hasOwnProperty("isThePersonListed") && (React.createElement(Form.Item, { label: t("assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
20276
20278
  React.createElement(Radio.Group, { size: "middle", disabled: true },
20277
20279
  React.createElement("div", { className: "radio-container" },
20278
20280
  React.createElement(Radio.Button, { className: "radio" }, assessmentViewData.isThePersonListed))))),
20279
20281
  assessmentViewData.isThePersonListed ===
20280
- RadioButtonStatus.NO && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:specify"), name: "personListedDetails" },
20282
+ RadioButtonStatus.NO && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("specify"), name: "personListedDetails" },
20281
20283
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.personListedDetails
20282
20284
  ? assessmentViewData.personListedDetails
20283
20285
  : "-", style: { width: 303 } })))))))),
20284
20286
  React.createElement(Row, null,
20285
20287
  React.createElement(Form, { layout: "vertical", name: "form4", form: form4, className: "view-section" },
20286
20288
  React.createElement(Row, { className: "mg-bottom-1" },
20287
- React.createElement("label", { className: "co-sub-title-text" }, t("coBenifits:feasibilityReport"))),
20289
+ React.createElement("label", { className: "co-sub-title-text" }, t("feasibilityReport"))),
20288
20290
  React.createElement(Row, { justify: "start", gutter: 16 },
20289
20291
  React.createElement(Col, { flex: "303px" },
20290
20292
  React.createElement(React.Fragment, null,
20291
- !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentStudyName"), name: "studyName" },
20293
+ !viewOnly && (React.createElement(Form.Item, { label: t("assessmentStudyName"), name: "studyName" },
20292
20294
  React.createElement(Input, { style: { width: 303 } }))),
20293
- viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentStudyName"), name: "studyName" },
20295
+ viewOnly && (React.createElement(Form.Item, { label: t("assessmentStudyName"), name: "studyName" },
20294
20296
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.studyName
20295
20297
  ? assessmentViewData.studyName
20296
20298
  : "-", style: { width: 303 } }))))),
20297
20299
  React.createElement(Col, { flex: "303px" },
20298
20300
  React.createElement(React.Fragment, null,
20299
- !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFunder"), name: "funder" },
20301
+ !viewOnly && (React.createElement(Form.Item, { label: t("assessmentFunder"), name: "funder" },
20300
20302
  React.createElement(Input, { style: { width: 303 } }))),
20301
- viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFunder"), name: "funder" },
20303
+ viewOnly && (React.createElement(Form.Item, { label: t("assessmentFunder"), name: "funder" },
20302
20304
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.funder
20303
20305
  ? assessmentViewData.funder
20304
20306
  : "-", style: { width: 303 } })))))),
20305
20307
  React.createElement(Row, null,
20306
- !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentDocuments"), name: "document", valuePropName: "fileList", getValueFromEvent: normFile, required: false, rules: [
20308
+ !viewOnly && (React.createElement(Form.Item, { label: t("assessmentDocuments"), name: "document", valuePropName: "fileList", getValueFromEvent: normFile, required: false, rules: [
20307
20309
  {
20308
20310
  validator: function (rule, file) { return __awaiter(void 0, void 0, void 0, function () {
20309
20311
  var _a, _b;
20310
20312
  return __generator(this, function (_c) {
20311
20313
  if ((file === null || file === void 0 ? void 0 : file.length) > 0) {
20312
20314
  if (!isValidateFileType((_a = file[0]) === null || _a === void 0 ? void 0 : _a.type)) {
20313
- throw new Error("".concat(t("coBenifits:invalidFileFormat")));
20315
+ throw new Error("".concat(t("invalidFileFormat")));
20314
20316
  }
20315
20317
  else if (((_b = file[0]) === null || _b === void 0 ? void 0 : _b.size) > maximumFileSize) {
20316
20318
  throw new Error("".concat(t("common:maxSizeVal")));
@@ -20325,7 +20327,7 @@ var Assessment = function (props) {
20325
20327
  return false;
20326
20328
  }, className: "design-upload-section", name: "document", listType: "picture", multiple: false, maxCount: 1 },
20327
20329
  React.createElement(Button, { className: "upload-doc", size: "large", icon: React.createElement(UploadOutlined, null) }, "Upload")))),
20328
- viewOnly && assessmentViewData.document && (React.createElement(Form.Item, { label: t("coBenifits:assessmentDocuments"), name: "assessmentDocuments" },
20330
+ viewOnly && assessmentViewData.document && (React.createElement(Form.Item, { label: t("assessmentDocuments"), name: "assessmentDocuments" },
20329
20331
  React.createElement("a", { href: assessmentViewData.document, target: "_blank", rel: "noopener noreferrer", download: true }, assessmentViewData.document))))))))));
20330
20332
  };
20331
20333
 
@@ -20501,175 +20503,176 @@ var SdgGoals = function (props) {
20501
20503
 
20502
20504
  var Safeguards = function (props) {
20503
20505
  var onFormSubmit = props.onFormSubmit, safeGuardViewData = props.safeGuardViewData, viewOnly = props.viewOnly, translator = props.translator;
20506
+ translator.setDefaultNamespace("safeguards");
20504
20507
  var t = translator.t;
20505
20508
  var _a = useState(), safeguardDetails = _a[0], setSafeguardDetails = _a[1];
20506
20509
  var form = Form.useForm()[0];
20507
20510
  var initialFormElementList = [
20508
20511
  {
20509
20512
  type: FormElementType.Label,
20510
- label: t("safeguards:humanRights"),
20513
+ label: t("humanRights"),
20511
20514
  items: [
20512
20515
  {
20513
20516
  type: FormElementType.Radio,
20514
- label: t("safeguards:isRespectHumanRights"),
20517
+ label: t("isRespectHumanRights"),
20515
20518
  name: "isRespectHumanRights",
20516
20519
  },
20517
20520
  {
20518
20521
  type: FormElementType.Radio,
20519
- label: t("safeguards:isProjectdiscriminate"),
20522
+ label: t("isProjectdiscriminate"),
20520
20523
  name: "isProjectdiscriminate",
20521
20524
  },
20522
20525
  ],
20523
20526
  },
20524
20527
  {
20525
20528
  type: FormElementType.Label,
20526
- label: t("safeguards:genderEquality"),
20529
+ label: t("genderEquality"),
20527
20530
  items: [
20528
20531
  {
20529
20532
  type: FormElementType.Radio,
20530
- label: t("safeguards:genderEqualityQ1"),
20533
+ label: t("genderEqualityQ1"),
20531
20534
  name: "genderEqualityQ1",
20532
20535
  },
20533
20536
  {
20534
20537
  type: FormElementType.Radio,
20535
- label: t("safeguards:genderEqualityQ2"),
20538
+ label: t("genderEqualityQ2"),
20536
20539
  name: "genderEqualityQ2",
20537
20540
  },
20538
20541
  {
20539
20542
  type: FormElementType.Radio,
20540
- label: t("safeguards:genderEqualityQ3"),
20543
+ label: t("genderEqualityQ3"),
20541
20544
  name: "genderEqualityQ3",
20542
20545
  },
20543
20546
  {
20544
20547
  type: FormElementType.Radio,
20545
- label: t("safeguards:genderEqualityQ4"),
20548
+ label: t("genderEqualityQ4"),
20546
20549
  name: "genderEqualityQ4",
20547
20550
  },
20548
20551
  ],
20549
20552
  },
20550
20553
  {
20551
20554
  type: FormElementType.Label,
20552
- label: t("safeguards:communityHealth"),
20555
+ label: t("communityHealth"),
20553
20556
  items: [
20554
20557
  {
20555
20558
  type: FormElementType.Radio,
20556
- label: t("safeguards:communityHealthQ1"),
20559
+ label: t("communityHealthQ1"),
20557
20560
  name: "communityHealthQ1",
20558
20561
  },
20559
20562
  ],
20560
20563
  },
20561
20564
  {
20562
20565
  type: FormElementType.Label,
20563
- label: t("safeguards:historicHeritage"),
20566
+ label: t("historicHeritage"),
20564
20567
  items: [
20565
20568
  {
20566
20569
  type: FormElementType.Radio,
20567
- label: t("safeguards:historicHeritageQ1"),
20570
+ label: t("historicHeritageQ1"),
20568
20571
  name: "historicHeritageQ1",
20569
20572
  },
20570
20573
  ],
20571
20574
  },
20572
20575
  {
20573
20576
  type: FormElementType.Label,
20574
- label: t("safeguards:forcedEviction"),
20577
+ label: t("forcedEviction"),
20575
20578
  items: [
20576
20579
  {
20577
20580
  type: FormElementType.Radio,
20578
- label: t("safeguards:forcedEvictionQ1"),
20581
+ label: t("forcedEvictionQ1"),
20579
20582
  name: "forcedEvictionQ1",
20580
20583
  },
20581
20584
  ],
20582
20585
  },
20583
20586
  {
20584
20587
  type: FormElementType.Label,
20585
- label: t("safeguards:landTenure"),
20588
+ label: t("landTenure"),
20586
20589
  items: [
20587
20590
  {
20588
20591
  type: FormElementType.Radio,
20589
- label: t("safeguards:landTenureQ1"),
20592
+ label: t("landTenureQ1"),
20590
20593
  name: "landTenureQ1",
20591
20594
  },
20592
20595
  {
20593
20596
  type: FormElementType.Radio,
20594
- label: t("safeguards:landTenureQ2"),
20597
+ label: t("landTenureQ2"),
20595
20598
  name: "landTenureQ2",
20596
20599
  },
20597
20600
  ],
20598
20601
  },
20599
20602
  {
20600
20603
  type: FormElementType.Label,
20601
- label: t("safeguards:indegenousPeople"),
20604
+ label: t("indegenousPeople"),
20602
20605
  items: [
20603
20606
  {
20604
20607
  type: FormElementType.Radio,
20605
- label: t("safeguards:indegenousPeopleQ1"),
20608
+ label: t("indegenousPeopleQ1"),
20606
20609
  name: "indegenousPeopleQ1",
20607
20610
  },
20608
20611
  ],
20609
20612
  },
20610
20613
  {
20611
20614
  type: FormElementType.Label,
20612
- label: t("safeguards:corruption"),
20615
+ label: t("corruption"),
20613
20616
  items: [
20614
20617
  {
20615
20618
  type: FormElementType.Radio,
20616
- label: t("safeguards:corruptionQ1"),
20619
+ label: t("corruptionQ1"),
20617
20620
  name: "corruptionQ1",
20618
20621
  },
20619
20622
  ],
20620
20623
  },
20621
20624
  {
20622
20625
  type: FormElementType.Label,
20623
- label: t("safeguards:labourRights"),
20626
+ label: t("labourRights"),
20624
20627
  items: [
20625
20628
  {
20626
20629
  type: FormElementType.Radio,
20627
- label: t("safeguards:labourRightsQ1"),
20630
+ label: t("labourRightsQ1"),
20628
20631
  name: "labourRightsQ1",
20629
20632
  },
20630
20633
  {
20631
20634
  type: FormElementType.Radio,
20632
- label: t("safeguards:labourRightsQ2"),
20635
+ label: t("labourRightsQ2"),
20633
20636
  name: "labourRightsQ2",
20634
20637
  },
20635
20638
  {
20636
20639
  type: FormElementType.Label,
20637
- label: t("safeguards:labourRightsSubLabel"),
20640
+ label: t("labourRightsSubLabel"),
20638
20641
  className: "mg-left-2",
20639
20642
  items: [
20640
20643
  {
20641
20644
  type: FormElementType.Radio,
20642
- label: t("safeguards:labourRightsSubQ1"),
20645
+ label: t("labourRightsSubQ1"),
20643
20646
  name: "labourRightsSubQ1",
20644
20647
  className: "mg-left-4",
20645
20648
  },
20646
20649
  {
20647
20650
  type: FormElementType.Radio,
20648
- label: t("safeguards:labourRightsSubQ2"),
20651
+ label: t("labourRightsSubQ2"),
20649
20652
  name: "labourRightsSubQ2",
20650
20653
  className: "mg-left-4",
20651
20654
  },
20652
20655
  {
20653
20656
  type: FormElementType.Radio,
20654
- label: t("safeguards:labourRightsSubQ3"),
20657
+ label: t("labourRightsSubQ3"),
20655
20658
  name: "labourRightsSubQ3",
20656
20659
  className: "mg-left-4",
20657
20660
  },
20658
20661
  {
20659
20662
  type: FormElementType.Radio,
20660
- label: t("safeguards:labourRightsSubQ4"),
20663
+ label: t("labourRightsSubQ4"),
20661
20664
  name: "labourRightsSubQ4",
20662
20665
  className: "mg-left-4",
20663
20666
  },
20664
20667
  {
20665
20668
  type: FormElementType.Radio,
20666
- label: t("safeguards:labourRightsSubQ5"),
20669
+ label: t("labourRightsSubQ5"),
20667
20670
  name: "labourRightsSubQ5",
20668
20671
  className: "mg-left-4",
20669
20672
  },
20670
20673
  {
20671
20674
  type: FormElementType.Radio,
20672
- label: t("safeguards:labourRightsSubQ6"),
20675
+ label: t("labourRightsSubQ6"),
20673
20676
  name: "labourRightsSubQ6",
20674
20677
  className: "mg-left-4",
20675
20678
  },
@@ -20677,198 +20680,198 @@ var Safeguards = function (props) {
20677
20680
  },
20678
20681
  {
20679
20682
  type: FormElementType.Radio,
20680
- label: t("safeguards:labourRightsQ3"),
20683
+ label: t("labourRightsQ3"),
20681
20684
  name: "labourRightsQ3",
20682
20685
  },
20683
20686
  {
20684
20687
  type: FormElementType.Radio,
20685
- label: t("safeguards:labourRightsQ4"),
20688
+ label: t("labourRightsQ4"),
20686
20689
  name: "labourRightsQ4",
20687
20690
  },
20688
20691
  ],
20689
20692
  },
20690
20693
  {
20691
20694
  type: FormElementType.Label,
20692
- label: t("safeguards:economicConsequences"),
20695
+ label: t("economicConsequences"),
20693
20696
  items: [
20694
20697
  {
20695
20698
  type: FormElementType.Radio,
20696
- label: t("safeguards:economicConsequencesQ1"),
20699
+ label: t("economicConsequencesQ1"),
20697
20700
  name: "economicConsequencesQ1",
20698
20701
  },
20699
20702
  ],
20700
20703
  },
20701
20704
  {
20702
20705
  type: FormElementType.Label,
20703
- label: t("safeguards:emissions"),
20706
+ label: t("emissions"),
20704
20707
  items: [
20705
20708
  {
20706
20709
  type: FormElementType.Radio,
20707
- label: t("safeguards:emissionsQ1"),
20710
+ label: t("emissionsQ1"),
20708
20711
  name: "emissionsQ1",
20709
20712
  },
20710
20713
  ],
20711
20714
  },
20712
20715
  {
20713
20716
  type: FormElementType.Label,
20714
- label: t("safeguards:energySupply"),
20717
+ label: t("energySupply"),
20715
20718
  items: [
20716
20719
  {
20717
20720
  type: FormElementType.Radio,
20718
- label: t("safeguards:energySupplyQ1"),
20721
+ label: t("energySupplyQ1"),
20719
20722
  name: "energySupplyQ1",
20720
20723
  },
20721
20724
  ],
20722
20725
  },
20723
20726
  {
20724
20727
  type: FormElementType.Label,
20725
- label: t("safeguards:waterPattern"),
20728
+ label: t("waterPattern"),
20726
20729
  items: [
20727
20730
  {
20728
20731
  type: FormElementType.Radio,
20729
- label: t("safeguards:waterPatternQ1"),
20732
+ label: t("waterPatternQ1"),
20730
20733
  name: "waterPatternQ1",
20731
20734
  },
20732
20735
  ],
20733
20736
  },
20734
20737
  {
20735
20738
  type: FormElementType.Label,
20736
- label: t("safeguards:erosoin"),
20739
+ label: t("erosoin"),
20737
20740
  items: [
20738
20741
  {
20739
20742
  type: FormElementType.Radio,
20740
- label: t("safeguards:erosoinQ1"),
20743
+ label: t("erosoinQ1"),
20741
20744
  name: "erosoinQ1",
20742
20745
  },
20743
20746
  {
20744
20747
  type: FormElementType.Radio,
20745
- label: t("safeguards:erosoinQ2"),
20748
+ label: t("erosoinQ2"),
20746
20749
  name: "erosoinQ2",
20747
20750
  },
20748
20751
  ],
20749
20752
  },
20750
20753
  {
20751
20754
  type: FormElementType.Label,
20752
- label: t("safeguards:landscape"),
20755
+ label: t("landscape"),
20753
20756
  items: [
20754
20757
  {
20755
20758
  type: FormElementType.Radio,
20756
- label: t("safeguards:landscapeQ1"),
20759
+ label: t("landscapeQ1"),
20757
20760
  name: "landscapeQ1",
20758
20761
  },
20759
20762
  ],
20760
20763
  },
20761
20764
  {
20762
20765
  type: FormElementType.Label,
20763
- label: t("safeguards:naturalDisaster"),
20766
+ label: t("naturalDisaster"),
20764
20767
  items: [
20765
20768
  {
20766
20769
  type: FormElementType.Radio,
20767
- label: t("safeguards:naturalDisasterQ1"),
20770
+ label: t("naturalDisasterQ1"),
20768
20771
  name: "naturalDisasterQ1",
20769
20772
  },
20770
20773
  ],
20771
20774
  },
20772
20775
  {
20773
20776
  type: FormElementType.Label,
20774
- label: t("safeguards:genetic"),
20777
+ label: t("genetic"),
20775
20778
  items: [
20776
20779
  {
20777
20780
  type: FormElementType.Radio,
20778
- label: t("safeguards:geneticQ1"),
20781
+ label: t("geneticQ1"),
20779
20782
  name: "geneticQ1",
20780
20783
  },
20781
20784
  ],
20782
20785
  },
20783
20786
  {
20784
20787
  type: FormElementType.Label,
20785
- label: t("safeguards:pollutants"),
20788
+ label: t("pollutants"),
20786
20789
  items: [
20787
20790
  {
20788
20791
  type: FormElementType.Radio,
20789
- label: t("safeguards:pollutantsQ1"),
20792
+ label: t("pollutantsQ1"),
20790
20793
  name: "pollutantsQ1",
20791
20794
  },
20792
20795
  ],
20793
20796
  },
20794
20797
  {
20795
20798
  type: FormElementType.Label,
20796
- label: t("safeguards:hazardousWaste"),
20799
+ label: t("hazardousWaste"),
20797
20800
  items: [
20798
20801
  {
20799
20802
  type: FormElementType.Radio,
20800
- label: t("safeguards:hazardousWasteQ1"),
20803
+ label: t("hazardousWasteQ1"),
20801
20804
  name: "hazardousWasteQ1",
20802
20805
  },
20803
20806
  ],
20804
20807
  },
20805
20808
  {
20806
20809
  type: FormElementType.Label,
20807
- label: t("safeguards:pesticides"),
20810
+ label: t("pesticides"),
20808
20811
  items: [
20809
20812
  {
20810
20813
  type: FormElementType.Radio,
20811
- label: t("safeguards:pesticidesQ1"),
20814
+ label: t("pesticidesQ1"),
20812
20815
  name: "pesticidesQ1",
20813
20816
  },
20814
20817
  ],
20815
20818
  },
20816
20819
  {
20817
20820
  type: FormElementType.Label,
20818
- label: t("safeguards:harvestForests"),
20821
+ label: t("harvestForests"),
20819
20822
  items: [
20820
20823
  {
20821
20824
  type: FormElementType.Radio,
20822
- label: t("safeguards:harvestForestsQ1"),
20825
+ label: t("harvestForestsQ1"),
20823
20826
  name: "harvestForestsQ1",
20824
20827
  },
20825
20828
  ],
20826
20829
  },
20827
20830
  {
20828
20831
  type: FormElementType.Label,
20829
- label: t("safeguards:food"),
20832
+ label: t("food"),
20830
20833
  items: [
20831
20834
  {
20832
20835
  type: FormElementType.Radio,
20833
- label: t("safeguards:foodQ1"),
20836
+ label: t("foodQ1"),
20834
20837
  name: "foodQ1",
20835
20838
  },
20836
20839
  ],
20837
20840
  },
20838
20841
  {
20839
20842
  type: FormElementType.Label,
20840
- label: t("safeguards:animalHusbandry"),
20843
+ label: t("animalHusbandry"),
20841
20844
  items: [
20842
20845
  {
20843
20846
  type: FormElementType.Radio,
20844
- label: t("safeguards:animalHusbandryQ1"),
20847
+ label: t("animalHusbandryQ1"),
20845
20848
  name: "animalHusbandryQ1",
20846
20849
  },
20847
20850
  ],
20848
20851
  },
20849
20852
  {
20850
20853
  type: FormElementType.Label,
20851
- label: t("safeguards:criticalHabitats"),
20854
+ label: t("criticalHabitats"),
20852
20855
  items: [
20853
20856
  {
20854
20857
  type: FormElementType.Radio,
20855
- label: t("safeguards:criticalHabitatsQ1"),
20858
+ label: t("criticalHabitatsQ1"),
20856
20859
  name: "criticalHabitatsQ1",
20857
20860
  },
20858
20861
  ],
20859
20862
  },
20860
20863
  {
20861
20864
  type: FormElementType.Label,
20862
- label: t("safeguards:endangeredSpecies"),
20865
+ label: t("endangeredSpecies"),
20863
20866
  items: [
20864
20867
  {
20865
20868
  type: FormElementType.Radio,
20866
- label: t("safeguards:endangeredSpeciesQ1"),
20869
+ label: t("endangeredSpeciesQ1"),
20867
20870
  name: "endangeredSpeciesQ1",
20868
20871
  },
20869
20872
  {
20870
20873
  type: FormElementType.Radio,
20871
- label: t("safeguards:endangeredSpeciesQ2"),
20874
+ label: t("endangeredSpeciesQ2"),
20872
20875
  name: "endangeredSpeciesQ2",
20873
20876
  },
20874
20877
  ],
@@ -20933,7 +20936,7 @@ var Safeguards = function (props) {
20933
20936
  React.createElement(Row, { justify: "center", align: "middle", style: { width: "100%" } },
20934
20937
  React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
20935
20938
  React.createElement("span", null,
20936
- React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("safeguards:undpSespTitle")))),
20939
+ React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("undpSespTitle")))),
20937
20940
  React.createElement(Col, { span: 24 },
20938
20941
  React.createElement("div", { className: "undpSesp-section-divider" })))),
20939
20942
  React.createElement(Form, { onValuesChange: onSafeguardValuesChanged, name: "safeguardDetails", labelWrap: true, labelAlign: "left", labelCol: { md: 16, lg: 18, xl: 18 }, wrapperCol: { md: 8, lg: 6, xl: 6 }, layout: "horizontal", form: form }, updatedFormElementList.map(function (sectionItem) {
@@ -20952,11 +20955,11 @@ var Safeguards = function (props) {
20952
20955
  ] },
20953
20956
  React.createElement(Radio.Group, { size: "middle" },
20954
20957
  React.createElement("div", { className: "radio-container" },
20955
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("safeguards:yes"))),
20958
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("yes"))),
20956
20959
  React.createElement("div", { className: "radio-container" },
20957
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("safeguards:maybe"))),
20960
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("maybe"))),
20958
20961
  React.createElement("div", { className: "radio-container" },
20959
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("safeguards:no")))))),
20962
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("no")))))),
20960
20963
  viewOnly &&
20961
20964
  safeGuardViewData.hasOwnProperty(item === null || item === void 0 ? void 0 : item.name) && (React.createElement("div", { className: "view-section" },
20962
20965
  React.createElement(Form.Item, { label: item === null || item === void 0 ? void 0 : item.label, className: item.className
@@ -20981,11 +20984,11 @@ var Safeguards = function (props) {
20981
20984
  ] },
20982
20985
  React.createElement(Radio.Group, { size: "middle" },
20983
20986
  React.createElement("div", { className: "radio-container" },
20984
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("safeguards:yes"))),
20987
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("yes"))),
20985
20988
  React.createElement("div", { className: "radio-container" },
20986
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("safeguards:maybe"))),
20989
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("maybe"))),
20987
20990
  React.createElement("div", { className: "radio-container" },
20988
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("safeguards:no")))))),
20991
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("no")))))),
20989
20992
  viewOnly &&
20990
20993
  safeGuardViewData.hasOwnProperty(subItem === null || subItem === void 0 ? void 0 : subItem.name) && (React.createElement("div", { className: "view-section" },
20991
20994
  React.createElement(Form.Item, { label: subItem === null || subItem === void 0 ? void 0 : subItem.label, className: subItem.className
@@ -21002,203 +21005,204 @@ var Safeguards = function (props) {
21002
21005
 
21003
21006
  var Environmental = function (props) {
21004
21007
  var onFormSubmit = props.onFormSubmit, environmentalViewData = props.environmentalViewData, viewOnly = props.viewOnly, translator = props.translator;
21008
+ translator.setDefaultNamespace("unfcccSdTool");
21005
21009
  var t = translator.t;
21006
21010
  var environmentalDetailsInitial = [
21007
21011
  {
21008
- section: t("unfcccSdTool:air"),
21012
+ section: t("air"),
21009
21013
  fields: [
21010
21014
  {
21011
21015
  name: "airQ1",
21012
- label: t("unfcccSdTool:airQ1"),
21016
+ label: t("airQ1"),
21013
21017
  hide: false,
21014
21018
  required: false,
21015
21019
  },
21016
21020
  {
21017
21021
  name: "airQ2",
21018
- label: t("unfcccSdTool:airQ2"),
21022
+ label: t("airQ2"),
21019
21023
  hide: true,
21020
21024
  required: true,
21021
21025
  },
21022
21026
  {
21023
21027
  name: "airQ3",
21024
- label: t("unfcccSdTool:airQ3"),
21028
+ label: t("airQ3"),
21025
21029
  hide: true,
21026
21030
  required: true,
21027
21031
  },
21028
21032
  {
21029
21033
  name: "airQ4",
21030
- label: t("unfcccSdTool:airQ4"),
21034
+ label: t("airQ4"),
21031
21035
  hide: true,
21032
21036
  required: true,
21033
21037
  },
21034
21038
  {
21035
21039
  name: "airQ5",
21036
- label: t("unfcccSdTool:airQ5"),
21040
+ label: t("airQ5"),
21037
21041
  hide: true,
21038
21042
  required: true,
21039
21043
  },
21040
21044
  {
21041
21045
  name: "airQ6",
21042
- label: t("unfcccSdTool:airQ6"),
21046
+ label: t("airQ6"),
21043
21047
  hide: true,
21044
21048
  required: true,
21045
21049
  },
21046
21050
  {
21047
21051
  name: "airQ7",
21048
- label: t("unfcccSdTool:airQ7"),
21052
+ label: t("airQ7"),
21049
21053
  hide: true,
21050
21054
  required: true,
21051
21055
  },
21052
21056
  {
21053
21057
  name: "airQ8",
21054
- label: t("unfcccSdTool:airQ8"),
21058
+ label: t("airQ8"),
21055
21059
  hide: true,
21056
21060
  required: true,
21057
21061
  },
21058
21062
  {
21059
21063
  name: "airQ9",
21060
- label: t("unfcccSdTool:airQ9"),
21064
+ label: t("airQ9"),
21061
21065
  hide: true,
21062
21066
  required: true,
21063
21067
  },
21064
21068
  ],
21065
21069
  },
21066
21070
  {
21067
- section: t("unfcccSdTool:land"),
21071
+ section: t("land"),
21068
21072
  fields: [
21069
21073
  {
21070
21074
  name: "landQ1",
21071
- label: t("unfcccSdTool:landQ1"),
21075
+ label: t("landQ1"),
21072
21076
  hide: false,
21073
21077
  required: false,
21074
21078
  },
21075
21079
  {
21076
21080
  name: "landQ2",
21077
- label: t("unfcccSdTool:landQ2"),
21081
+ label: t("landQ2"),
21078
21082
  hide: true,
21079
21083
  required: true,
21080
21084
  },
21081
21085
  {
21082
21086
  name: "landQ3",
21083
- label: t("unfcccSdTool:landQ3"),
21087
+ label: t("landQ3"),
21084
21088
  hide: true,
21085
21089
  required: true,
21086
21090
  },
21087
21091
  {
21088
21092
  name: "landQ4",
21089
- label: t("unfcccSdTool:landQ4"),
21093
+ label: t("landQ4"),
21090
21094
  hide: true,
21091
21095
  required: true,
21092
21096
  },
21093
21097
  {
21094
21098
  name: "landQ5",
21095
- label: t("unfcccSdTool:landQ5"),
21099
+ label: t("landQ5"),
21096
21100
  hide: true,
21097
21101
  required: true,
21098
21102
  },
21099
21103
  {
21100
21104
  name: "landQ6",
21101
- label: t("unfcccSdTool:landQ6"),
21105
+ label: t("landQ6"),
21102
21106
  hide: true,
21103
21107
  required: true,
21104
21108
  },
21105
21109
  {
21106
21110
  name: "landQ7",
21107
- label: t("unfcccSdTool:landQ7"),
21111
+ label: t("landQ7"),
21108
21112
  hide: true,
21109
21113
  required: true,
21110
21114
  },
21111
21115
  {
21112
21116
  name: "landQ8",
21113
- label: t("unfcccSdTool:landQ8"),
21117
+ label: t("landQ8"),
21114
21118
  hide: true,
21115
21119
  required: true,
21116
21120
  },
21117
21121
  ],
21118
21122
  },
21119
21123
  {
21120
- section: t("unfcccSdTool:water"),
21124
+ section: t("water"),
21121
21125
  fields: [
21122
21126
  {
21123
21127
  name: "waterQ1",
21124
- label: t("unfcccSdTool:waterQ1"),
21128
+ label: t("waterQ1"),
21125
21129
  hide: false,
21126
21130
  required: false,
21127
21131
  },
21128
21132
  {
21129
21133
  name: "waterQ2",
21130
- label: t("unfcccSdTool:waterQ2"),
21134
+ label: t("waterQ2"),
21131
21135
  hide: true,
21132
21136
  required: true,
21133
21137
  },
21134
21138
  {
21135
21139
  name: "waterQ3",
21136
- label: t("unfcccSdTool:waterQ3"),
21140
+ label: t("waterQ3"),
21137
21141
  hide: true,
21138
21142
  required: true,
21139
21143
  },
21140
21144
  {
21141
21145
  name: "waterQ4",
21142
- label: t("unfcccSdTool:waterQ4"),
21146
+ label: t("waterQ4"),
21143
21147
  hide: true,
21144
21148
  required: true,
21145
21149
  },
21146
21150
  {
21147
21151
  name: "waterQ5",
21148
- label: t("unfcccSdTool:waterQ5"),
21152
+ label: t("waterQ5"),
21149
21153
  hide: true,
21150
21154
  required: true,
21151
21155
  },
21152
21156
  {
21153
21157
  name: "waterQ6",
21154
- label: t("unfcccSdTool:waterQ6"),
21158
+ label: t("waterQ6"),
21155
21159
  hide: true,
21156
21160
  required: true,
21157
21161
  },
21158
21162
  {
21159
21163
  name: "waterQ7",
21160
- label: t("unfcccSdTool:waterQ7"),
21164
+ label: t("waterQ7"),
21161
21165
  hide: true,
21162
21166
  required: true,
21163
21167
  },
21164
21168
  ],
21165
21169
  },
21166
21170
  {
21167
- section: t("unfcccSdTool:naturalResource"),
21171
+ section: t("naturalResource"),
21168
21172
  fields: [
21169
21173
  {
21170
21174
  name: "naturalResourceQ1",
21171
- label: t("unfcccSdTool:naturalResourceQ1"),
21175
+ label: t("naturalResourceQ1"),
21172
21176
  hide: false,
21173
21177
  required: false,
21174
21178
  },
21175
21179
  {
21176
21180
  name: "naturalResourceQ2",
21177
- label: t("unfcccSdTool:naturalResourceQ2"),
21181
+ label: t("naturalResourceQ2"),
21178
21182
  hide: true,
21179
21183
  required: true,
21180
21184
  },
21181
21185
  {
21182
21186
  name: "naturalResourceQ3",
21183
- label: t("unfcccSdTool:naturalResourceQ3"),
21187
+ label: t("naturalResourceQ3"),
21184
21188
  hide: true,
21185
21189
  required: true,
21186
21190
  },
21187
21191
  {
21188
21192
  name: "naturalResourceQ4",
21189
- label: t("unfcccSdTool:naturalResourceQ4"),
21193
+ label: t("naturalResourceQ4"),
21190
21194
  hide: true,
21191
21195
  required: true,
21192
21196
  },
21193
21197
  {
21194
21198
  name: "naturalResourceQ5",
21195
- label: t("unfcccSdTool:naturalResourceQ5"),
21199
+ label: t("naturalResourceQ5"),
21196
21200
  hide: true,
21197
21201
  required: true,
21198
21202
  },
21199
21203
  {
21200
21204
  name: "naturalResourceQ6",
21201
- label: t("unfcccSdTool:naturalResourceQ6"),
21205
+ label: t("naturalResourceQ6"),
21202
21206
  hide: true,
21203
21207
  required: true,
21204
21208
  },
@@ -21216,7 +21220,7 @@ var Environmental = function (props) {
21216
21220
  if (changedFieldName.includes("1")) {
21217
21221
  var sectionName_1 = changedFieldName.replace(/\d/g, "").replace("Q", "");
21218
21222
  var updatedEnvironmentalDetails = __spreadArray([], environmentalDetails, true);
21219
- var sectionIndex = updatedEnvironmentalDetails.findIndex(function (section) { return section.section === t("unfcccSdTool:" + sectionName_1); });
21223
+ var sectionIndex = updatedEnvironmentalDetails.findIndex(function (section) { return section.section === t(sectionName_1); });
21220
21224
  updatedEnvironmentalDetails[sectionIndex].fields.forEach(function (field) {
21221
21225
  if (field.name !== changedFieldName) {
21222
21226
  field.hide = changedFieldValue !== RadioButtonStatus.YES;
@@ -21235,41 +21239,41 @@ var Environmental = function (props) {
21235
21239
  if (environmentalViewData && viewOnly === true) {
21236
21240
  var updatedEnvironmentalData = [
21237
21241
  {
21238
- section: t("unfcccSdTool:air"),
21242
+ section: t("air"),
21239
21243
  fields: [],
21240
21244
  },
21241
21245
  {
21242
- section: t("unfcccSdTool:land"),
21246
+ section: t("land"),
21243
21247
  fields: [],
21244
21248
  },
21245
21249
  {
21246
- section: t("unfcccSdTool:water"),
21250
+ section: t("water"),
21247
21251
  fields: [],
21248
21252
  },
21249
21253
  {
21250
- section: t("unfcccSdTool:naturalResource"),
21254
+ section: t("naturalResource"),
21251
21255
  fields: [],
21252
21256
  },
21253
21257
  ];
21254
21258
  var _loop_1 = function (key) {
21255
21259
  var section = "";
21256
21260
  if (String(key).includes("air")) {
21257
- section = t("unfcccSdTool:air");
21261
+ section = t("air");
21258
21262
  }
21259
21263
  else if (String(key).includes("land")) {
21260
- section = t("unfcccSdTool:land");
21264
+ section = t("land");
21261
21265
  }
21262
21266
  else if (String(key).includes("water")) {
21263
- section = t("unfcccSdTool:water");
21267
+ section = t("water");
21264
21268
  }
21265
21269
  else if (String(key).includes("naturalResource")) {
21266
- section = t("unfcccSdTool:naturalResource");
21270
+ section = t("naturalResource");
21267
21271
  }
21268
21272
  var environmentalItem = updatedEnvironmentalData.find(function (item) { return item.section === section; });
21269
21273
  if (environmentalItem) {
21270
21274
  environmentalItem.fields.push({
21271
21275
  name: key,
21272
- label: t("unfcccSdTool:" + key),
21276
+ label: t(key),
21273
21277
  hide: false,
21274
21278
  value: environmentalViewData[key],
21275
21279
  });
@@ -21291,11 +21295,11 @@ var Environmental = function (props) {
21291
21295
  React.createElement(Row, { justify: "center", align: "middle", style: { width: "100%" } },
21292
21296
  React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
21293
21297
  React.createElement("span", null,
21294
- React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("unfcccSdTool:unfcccSdToolTitle")))),
21298
+ React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("unfcccSdToolTitle")))),
21295
21299
  React.createElement(Col, { span: 24 },
21296
21300
  React.createElement("div", { className: "unfccSdTool-section-divider" })),
21297
21301
  React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
21298
- React.createElement("span", null, t("unfcccSdTool:environmental"))),
21302
+ React.createElement("span", null, t("environmental"))),
21299
21303
  React.createElement(Col, { span: 24 },
21300
21304
  React.createElement("div", { className: "unfccSdTool-section-divider", style: { marginBottom: "20px" } })))),
21301
21305
  (environmentalDetails === null || environmentalDetails === void 0 ? void 0 : environmentalDetails.length) === 0 && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })), environmentalDetails === null || environmentalDetails === void 0 ? void 0 :
@@ -21308,188 +21312,189 @@ var Environmental = function (props) {
21308
21312
  {
21309
21313
  required: field === null || field === void 0 ? void 0 : field.required,
21310
21314
  message: (field === null || field === void 0 ? void 0 : field.required) &&
21311
- "".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("unfcccSdTool:isRequired")),
21315
+ "".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("isRequired")),
21312
21316
  },
21313
21317
  ] },
21314
21318
  React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: environmentalViewData && true }, environmentalViewData ? (React.createElement(React.Fragment, null,
21315
21319
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
21316
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes")))),
21320
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes")))),
21317
21321
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
21318
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no")))),
21322
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no")))),
21319
21323
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
21320
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na")))))) : (React.createElement(React.Fragment, null,
21324
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
21321
21325
  React.createElement("div", { className: "yes-no-radio-container" },
21322
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
21326
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes"))),
21323
21327
  React.createElement("div", { className: "yes-no-radio-container" },
21324
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
21328
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no"))),
21325
21329
  React.createElement("div", { className: "yes-no-radio-container" },
21326
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))))));
21330
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na"))))))));
21327
21331
  })));
21328
21332
  })))));
21329
21333
  };
21330
21334
 
21331
21335
  var Economic = function (props) {
21332
21336
  var onFormSubmit = props.onFormSubmit, economicViewData = props.economicViewData, viewOnly = props.viewOnly, translator = props.translator;
21337
+ translator.setDefaultNamespace("unfcccSdTool");
21333
21338
  var t = translator.t;
21334
21339
  var economicDetailsInitial = [
21335
21340
  {
21336
- section: t("unfcccSdTool:growth"),
21341
+ section: t("growth"),
21337
21342
  fields: [
21338
21343
  {
21339
21344
  name: "growthQ1",
21340
- label: t("unfcccSdTool:growthQ1"),
21345
+ label: t("growthQ1"),
21341
21346
  hide: false,
21342
21347
  required: false,
21343
21348
  },
21344
21349
  {
21345
21350
  name: "growthQ2",
21346
- label: t("unfcccSdTool:growthQ2"),
21351
+ label: t("growthQ2"),
21347
21352
  hide: true,
21348
21353
  required: true,
21349
21354
  },
21350
21355
  {
21351
21356
  name: "growthQ3",
21352
- label: t("unfcccSdTool:growthQ3"),
21357
+ label: t("growthQ3"),
21353
21358
  hide: true,
21354
21359
  required: true,
21355
21360
  },
21356
21361
  {
21357
21362
  name: "growthQ4",
21358
- label: t("unfcccSdTool:growthQ4"),
21363
+ label: t("growthQ4"),
21359
21364
  hide: true,
21360
21365
  required: true,
21361
21366
  },
21362
21367
  {
21363
21368
  name: "growthQ5",
21364
- label: t("unfcccSdTool:growthQ5"),
21369
+ label: t("growthQ5"),
21365
21370
  hide: true,
21366
21371
  required: true,
21367
21372
  },
21368
21373
  {
21369
21374
  name: "growthQ6",
21370
- label: t("unfcccSdTool:growthQ6"),
21375
+ label: t("growthQ6"),
21371
21376
  hide: true,
21372
21377
  required: true,
21373
21378
  },
21374
21379
  {
21375
21380
  name: "growthQ7",
21376
- label: t("unfcccSdTool:growthQ7"),
21381
+ label: t("growthQ7"),
21377
21382
  hide: true,
21378
21383
  required: true,
21379
21384
  },
21380
21385
  {
21381
21386
  name: "growthQ8",
21382
- label: t("unfcccSdTool:growthQ8"),
21387
+ label: t("growthQ8"),
21383
21388
  hide: true,
21384
21389
  required: true,
21385
21390
  },
21386
21391
  ],
21387
21392
  },
21388
21393
  {
21389
- section: t("unfcccSdTool:energy"),
21394
+ section: t("energy"),
21390
21395
  fields: [
21391
21396
  {
21392
21397
  name: "energyQ1",
21393
- label: t("unfcccSdTool:energyQ1"),
21398
+ label: t("energyQ1"),
21394
21399
  hide: false,
21395
21400
  required: false,
21396
21401
  },
21397
21402
  {
21398
21403
  name: "energyQ2",
21399
- label: t("unfcccSdTool:energyQ2"),
21404
+ label: t("energyQ2"),
21400
21405
  hide: true,
21401
21406
  required: true,
21402
21407
  },
21403
21408
  {
21404
21409
  name: "energyQ3",
21405
- label: t("unfcccSdTool:energyQ3"),
21410
+ label: t("energyQ3"),
21406
21411
  hide: true,
21407
21412
  required: true,
21408
21413
  },
21409
21414
  {
21410
21415
  name: "energyQ4",
21411
- label: t("unfcccSdTool:energyQ4"),
21416
+ label: t("energyQ4"),
21412
21417
  hide: true,
21413
21418
  required: true,
21414
21419
  },
21415
21420
  {
21416
21421
  name: "energyQ5",
21417
- label: t("unfcccSdTool:energyQ5"),
21422
+ label: t("energyQ5"),
21418
21423
  hide: true,
21419
21424
  required: true,
21420
21425
  },
21421
21426
  ],
21422
21427
  },
21423
21428
  {
21424
- section: t("unfcccSdTool:techTransfer"),
21429
+ section: t("techTransfer"),
21425
21430
  fields: [
21426
21431
  {
21427
21432
  name: "techTransferQ1",
21428
- label: t("unfcccSdTool:techTransferQ1"),
21433
+ label: t("techTransferQ1"),
21429
21434
  hide: false,
21430
21435
  required: false,
21431
21436
  },
21432
21437
  {
21433
21438
  name: "techTransferQ2",
21434
- label: t("unfcccSdTool:techTransferQ2"),
21439
+ label: t("techTransferQ2"),
21435
21440
  hide: true,
21436
21441
  required: true,
21437
21442
  },
21438
21443
  {
21439
21444
  name: "techTransferQ3",
21440
- label: t("unfcccSdTool:techTransferQ3"),
21445
+ label: t("techTransferQ3"),
21441
21446
  hide: true,
21442
21447
  required: true,
21443
21448
  },
21444
21449
  {
21445
21450
  name: "techTransferQ4",
21446
- label: t("unfcccSdTool:techTransferQ4"),
21451
+ label: t("techTransferQ4"),
21447
21452
  hide: true,
21448
21453
  required: true,
21449
21454
  },
21450
21455
  {
21451
21456
  name: "techTransferQ5",
21452
- label: t("unfcccSdTool:techTransferQ5"),
21457
+ label: t("techTransferQ5"),
21453
21458
  hide: true,
21454
21459
  required: true,
21455
21460
  },
21456
21461
  {
21457
21462
  name: "techTransferQ6",
21458
- label: t("unfcccSdTool:techTransferQ6"),
21463
+ label: t("techTransferQ6"),
21459
21464
  hide: true,
21460
21465
  required: true,
21461
21466
  },
21462
21467
  ],
21463
21468
  },
21464
21469
  {
21465
- section: t("unfcccSdTool:balanceOfPayments"),
21470
+ section: t("balanceOfPayments"),
21466
21471
  fields: [
21467
21472
  {
21468
21473
  name: "balanceOfPaymentsQ1",
21469
- label: t("unfcccSdTool:balanceOfPaymentsQ1"),
21474
+ label: t("balanceOfPaymentsQ1"),
21470
21475
  hide: false,
21471
21476
  required: false,
21472
21477
  },
21473
21478
  {
21474
21479
  name: "balanceOfPaymentsQ2",
21475
- label: t("unfcccSdTool:balanceOfPaymentsQ2"),
21480
+ label: t("balanceOfPaymentsQ2"),
21476
21481
  hide: true,
21477
21482
  required: true,
21478
21483
  },
21479
21484
  {
21480
21485
  name: "balanceOfPaymentsQ3",
21481
- label: t("unfcccSdTool:balanceOfPaymentsQ3"),
21486
+ label: t("balanceOfPaymentsQ3"),
21482
21487
  hide: true,
21483
21488
  required: true,
21484
21489
  },
21485
21490
  ],
21486
21491
  },
21487
21492
  {
21488
- section: t("unfcccSdTool:furtherInfo"),
21493
+ section: t("furtherInfo"),
21489
21494
  fields: [
21490
21495
  {
21491
21496
  name: "furtherInfoQ1",
21492
- label: t("unfcccSdTool:furtherInfoQ1"),
21497
+ label: t("furtherInfoQ1"),
21493
21498
  hide: false,
21494
21499
  required: false,
21495
21500
  },
@@ -21506,7 +21511,7 @@ var Economic = function (props) {
21506
21511
  if (changedFieldName.includes("1")) {
21507
21512
  var sectionName_1 = changedFieldName.replace(/\d/g, "").replace("Q", "");
21508
21513
  var updatedEconomicDetails = __spreadArray([], economicDetails, true);
21509
- var sectionIndex = updatedEconomicDetails.findIndex(function (section) { return section.section === t("unfcccSdTool:" + sectionName_1); });
21514
+ var sectionIndex = updatedEconomicDetails.findIndex(function (section) { return section.section === t(sectionName_1); });
21510
21515
  updatedEconomicDetails[sectionIndex].fields.forEach(function (field) {
21511
21516
  if (field.name !== changedFieldName) {
21512
21517
  field.hide = changedFieldValue !== RadioButtonStatus.YES;
@@ -21525,48 +21530,48 @@ var Economic = function (props) {
21525
21530
  if (economicViewData && viewOnly === true) {
21526
21531
  var updatedEconomicData = [
21527
21532
  {
21528
- section: t("unfcccSdTool:growth"),
21533
+ section: t("growth"),
21529
21534
  fields: [],
21530
21535
  },
21531
21536
  {
21532
- section: t("unfcccSdTool:energy"),
21537
+ section: t("energy"),
21533
21538
  fields: [],
21534
21539
  },
21535
21540
  {
21536
- section: t("unfcccSdTool:techTransfer"),
21541
+ section: t("techTransfer"),
21537
21542
  fields: [],
21538
21543
  },
21539
21544
  {
21540
- section: t("unfcccSdTool:balanceOfPayments"),
21545
+ section: t("balanceOfPayments"),
21541
21546
  fields: [],
21542
21547
  },
21543
21548
  {
21544
- section: t("unfcccSdTool:furtherInfo"),
21549
+ section: t("furtherInfo"),
21545
21550
  fields: [],
21546
21551
  },
21547
21552
  ];
21548
21553
  var _loop_1 = function (key) {
21549
21554
  var section = "";
21550
21555
  if (String(key).includes("growth")) {
21551
- section = t("unfcccSdTool:growth");
21556
+ section = t("growth");
21552
21557
  }
21553
21558
  else if (String(key).includes("energy")) {
21554
- section = t("unfcccSdTool:energy");
21559
+ section = t("energy");
21555
21560
  }
21556
21561
  else if (String(key).includes("techTransfer")) {
21557
- section = t("unfcccSdTool:techTransfer");
21562
+ section = t("techTransfer");
21558
21563
  }
21559
21564
  else if (String(key).includes("balanceOfPayments")) {
21560
- section = t("unfcccSdTool:balanceOfPayments");
21565
+ section = t("balanceOfPayments");
21561
21566
  }
21562
21567
  else if (String(key).includes("furtherInfo")) {
21563
- section = t("unfcccSdTool:furtherInfo");
21568
+ section = t("furtherInfo");
21564
21569
  }
21565
21570
  var economicItem = updatedEconomicData.find(function (item) { return item.section === section; });
21566
21571
  if (economicItem) {
21567
21572
  economicItem.fields.push({
21568
21573
  name: key,
21569
- label: t("unfcccSdTool:" + key),
21574
+ label: t(key),
21570
21575
  hide: false,
21571
21576
  value: economicViewData[key],
21572
21577
  });
@@ -21588,7 +21593,7 @@ var Economic = function (props) {
21588
21593
  React.createElement(Col, { span: 24 },
21589
21594
  React.createElement("div", { className: "unfccSdTool-section-divider" })),
21590
21595
  React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
21591
- React.createElement("span", null, t("unfcccSdTool:economic"))))),
21596
+ React.createElement("span", null, t("economic"))))),
21592
21597
  (economicDetails === null || economicDetails === void 0 ? void 0 : economicDetails.length) === 0 && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })), economicDetails === null || economicDetails === void 0 ? void 0 :
21593
21598
  economicDetails.map(function (environmentalDetail) {
21594
21599
  var _a;
@@ -21604,23 +21609,24 @@ var Economic = function (props) {
21604
21609
  ] },
21605
21610
  React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: economicViewData && true }, economicViewData ? (React.createElement(React.Fragment, null,
21606
21611
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
21607
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes")))),
21612
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes")))),
21608
21613
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
21609
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no")))),
21614
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no")))),
21610
21615
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
21611
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na")))))) : (React.createElement(React.Fragment, null,
21616
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
21612
21617
  React.createElement("div", { className: "yes-no-radio-container" },
21613
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
21618
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes"))),
21614
21619
  React.createElement("div", { className: "yes-no-radio-container" },
21615
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
21620
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no"))),
21616
21621
  React.createElement("div", { className: "yes-no-radio-container" },
21617
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))))));
21622
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na"))))))));
21618
21623
  })));
21619
21624
  })))));
21620
21625
  };
21621
21626
 
21622
21627
  var Social = function (props) {
21623
21628
  var onFormSubmit = props.onFormSubmit, socialViewData = props.socialViewData, viewOnly = props.viewOnly, translator = props.translator;
21629
+ translator.setDefaultNamespace("unfcccSdTool");
21624
21630
  var t = translator.t;
21625
21631
  var form = Form.useForm()[0];
21626
21632
  var _a = useState(0); _a[0]; var setRefreshCounter = _a[1];
@@ -21628,164 +21634,164 @@ var Social = function (props) {
21628
21634
  var _c = useState(true), isFormValid = _c[0], setIsFormValid = _c[1];
21629
21635
  var SocialElementDetails = [
21630
21636
  {
21631
- title: t("unfcccSdTool:jobs"),
21632
- label: t("unfcccSdTool:jobRelatedMainQ"),
21637
+ title: t("jobs"),
21638
+ label: t("jobRelatedMainQ"),
21633
21639
  name: "jobRelatedMainQ",
21634
21640
  subItems: [
21635
21641
  {
21636
21642
  type: FormElementType.Radio,
21637
- label: t("unfcccSdTool:jobRelatedSubQ1"),
21643
+ label: t("jobRelatedSubQ1"),
21638
21644
  name: "jobRelatedSubQ1",
21639
21645
  },
21640
21646
  {
21641
21647
  type: FormElementType.Radio,
21642
- label: t("unfcccSdTool:jobRelatedSubQ2"),
21648
+ label: t("jobRelatedSubQ2"),
21643
21649
  name: "jobRelatedSubQ2",
21644
21650
  },
21645
21651
  {
21646
21652
  type: FormElementType.Radio,
21647
- label: t("unfcccSdTool:jobRelatedSubQ3"),
21653
+ label: t("jobRelatedSubQ3"),
21648
21654
  name: "jobRelatedSubQ3",
21649
21655
  },
21650
21656
  {
21651
21657
  type: FormElementType.Radio,
21652
- label: t("unfcccSdTool:jobRelatedSubQ4"),
21658
+ label: t("jobRelatedSubQ4"),
21653
21659
  name: "jobRelatedSubQ4",
21654
21660
  },
21655
21661
  {
21656
21662
  type: FormElementType.Input,
21657
- label: t("unfcccSdTool:jobRelatedSubQ5"),
21663
+ label: t("jobRelatedSubQ5"),
21658
21664
  name: "jobRelatedSubQ5",
21659
21665
  },
21660
21666
  {
21661
21667
  type: FormElementType.Input,
21662
- label: t("unfcccSdTool:jobRelatedSubQ6"),
21668
+ label: t("jobRelatedSubQ6"),
21663
21669
  name: "jobRelatedSubQ6",
21664
21670
  },
21665
21671
  {
21666
21672
  type: FormElementType.Input,
21667
- label: t("unfcccSdTool:jobRelatedSubQ7"),
21673
+ label: t("jobRelatedSubQ7"),
21668
21674
  name: "jobRelatedSubQ7",
21669
21675
  },
21670
21676
  ],
21671
21677
  },
21672
21678
  {
21673
- title: t("unfcccSdTool:health"),
21674
- label: t("unfcccSdTool:healthRelatedMainQ"),
21679
+ title: t("health"),
21680
+ label: t("healthRelatedMainQ"),
21675
21681
  name: "healthRelatedMainQ",
21676
21682
  subItems: [
21677
21683
  {
21678
21684
  type: FormElementType.Radio,
21679
- label: t("unfcccSdTool:healthRelatedSubQ1"),
21685
+ label: t("healthRelatedSubQ1"),
21680
21686
  name: "healthRelatedSubQ1",
21681
21687
  },
21682
21688
  {
21683
21689
  type: FormElementType.Radio,
21684
- label: t("unfcccSdTool:healthRelatedSubQ2"),
21690
+ label: t("healthRelatedSubQ2"),
21685
21691
  name: "healthRelatedSubQ2",
21686
21692
  },
21687
21693
  {
21688
21694
  type: FormElementType.Radio,
21689
- label: t("unfcccSdTool:healthRelatedSubQ3"),
21695
+ label: t("healthRelatedSubQ3"),
21690
21696
  name: "healthRelatedSubQ3",
21691
21697
  },
21692
21698
  {
21693
21699
  type: FormElementType.Radio,
21694
- label: t("unfcccSdTool:healthRelatedSubQ4"),
21700
+ label: t("healthRelatedSubQ4"),
21695
21701
  name: "healthRelatedSubQ4",
21696
21702
  },
21697
21703
  {
21698
21704
  type: FormElementType.Radio,
21699
- label: t("unfcccSdTool:healthRelatedSubQ5"),
21705
+ label: t("healthRelatedSubQ5"),
21700
21706
  name: "healthRelatedSubQ5",
21701
21707
  },
21702
21708
  {
21703
21709
  type: FormElementType.Radio,
21704
- label: t("unfcccSdTool:healthRelatedSubQ6"),
21710
+ label: t("healthRelatedSubQ6"),
21705
21711
  name: "healthRelatedSubQ6",
21706
21712
  },
21707
21713
  {
21708
21714
  type: FormElementType.Radio,
21709
- label: t("unfcccSdTool:healthRelatedSubQ7"),
21715
+ label: t("healthRelatedSubQ7"),
21710
21716
  name: "healthRelatedSubQ7",
21711
21717
  },
21712
21718
  {
21713
21719
  type: FormElementType.Radio,
21714
- label: t("unfcccSdTool:healthRelatedSubQ8"),
21720
+ label: t("healthRelatedSubQ8"),
21715
21721
  name: "healthRelatedSubQ8",
21716
21722
  },
21717
21723
  ],
21718
21724
  },
21719
21725
  {
21720
- title: t("unfcccSdTool:educational"),
21721
- label: t("unfcccSdTool:educationRelatedMainQ"),
21726
+ title: t("educational"),
21727
+ label: t("educationRelatedMainQ"),
21722
21728
  name: "educationRelatedMainQ",
21723
21729
  subItems: [
21724
21730
  {
21725
21731
  type: FormElementType.Radio,
21726
- label: t("unfcccSdTool:educationRelatedSubQ1"),
21732
+ label: t("educationRelatedSubQ1"),
21727
21733
  name: "educationRelatedSubQ1",
21728
21734
  },
21729
21735
  {
21730
21736
  type: FormElementType.Radio,
21731
- label: t("unfcccSdTool:educationRelatedSubQ2"),
21737
+ label: t("educationRelatedSubQ2"),
21732
21738
  name: "educationRelatedSubQ2",
21733
21739
  },
21734
21740
  {
21735
21741
  type: FormElementType.Radio,
21736
- label: t("unfcccSdTool:educationRelatedSubQ3"),
21742
+ label: t("educationRelatedSubQ3"),
21737
21743
  name: "educationRelatedSubQ3",
21738
21744
  },
21739
21745
  {
21740
21746
  type: FormElementType.Radio,
21741
- label: t("unfcccSdTool:educationRelatedSubQ4"),
21747
+ label: t("educationRelatedSubQ4"),
21742
21748
  name: "educationRelatedSubQ4",
21743
21749
  },
21744
21750
  ],
21745
21751
  },
21746
21752
  {
21747
- title: t("unfcccSdTool:welfare"),
21748
- label: t("unfcccSdTool:welfareRelatedMainQ"),
21753
+ title: t("welfare"),
21754
+ label: t("welfareRelatedMainQ"),
21749
21755
  name: "welfareRelatedMainQ",
21750
21756
  subItems: [
21751
21757
  {
21752
21758
  type: FormElementType.Radio,
21753
- label: t("unfcccSdTool:welfareRelatedSubQ1"),
21759
+ label: t("welfareRelatedSubQ1"),
21754
21760
  name: "welfareRelatedSubQ1",
21755
21761
  },
21756
21762
  {
21757
21763
  type: FormElementType.Radio,
21758
- label: t("unfcccSdTool:welfareRelatedSubQ2"),
21764
+ label: t("welfareRelatedSubQ2"),
21759
21765
  name: "welfareRelatedSubQ2",
21760
21766
  },
21761
21767
  {
21762
21768
  type: FormElementType.Radio,
21763
- label: t("unfcccSdTool:welfareRelatedSubQ3"),
21769
+ label: t("welfareRelatedSubQ3"),
21764
21770
  name: "welfareRelatedSubQ3",
21765
21771
  },
21766
21772
  {
21767
21773
  type: FormElementType.Radio,
21768
- label: t("unfcccSdTool:welfareRelatedSubQ4"),
21774
+ label: t("welfareRelatedSubQ4"),
21769
21775
  name: "welfareRelatedSubQ4",
21770
21776
  },
21771
21777
  {
21772
21778
  type: FormElementType.Radio,
21773
- label: t("unfcccSdTool:welfareRelatedSubQ5"),
21779
+ label: t("welfareRelatedSubQ5"),
21774
21780
  name: "welfareRelatedSubQ5",
21775
21781
  },
21776
21782
  {
21777
21783
  type: FormElementType.Radio,
21778
- label: t("unfcccSdTool:welfareRelatedSubQ6"),
21784
+ label: t("welfareRelatedSubQ6"),
21779
21785
  name: "welfareRelatedSubQ6",
21780
21786
  },
21781
21787
  {
21782
21788
  type: FormElementType.Radio,
21783
- label: t("unfcccSdTool:welfareRelatedSubQ7"),
21789
+ label: t("welfareRelatedSubQ7"),
21784
21790
  name: "welfareRelatedSubQ7",
21785
21791
  },
21786
21792
  {
21787
21793
  type: FormElementType.Radio,
21788
- label: t("unfcccSdTool:welfareRelatedSubQ8"),
21794
+ label: t("welfareRelatedSubQ8"),
21789
21795
  name: "welfareRelatedSubQ8",
21790
21796
  },
21791
21797
  ],
@@ -21844,7 +21850,7 @@ var Social = function (props) {
21844
21850
  React.createElement(Col, { span: 24 },
21845
21851
  React.createElement("div", { className: "unfccSdTool-section-divider" })),
21846
21852
  React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
21847
- React.createElement("span", null, t("unfcccSdTool:social"))))),
21853
+ React.createElement("span", null, t("social"))))),
21848
21854
  viewOnly && !socialViewData && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })),
21849
21855
  ((viewOnly && socialViewData) || !viewOnly) && (React.createElement(Form, { name: "socialDetails", labelWrap: true, form: form, labelAlign: "left", labelCol: { md: 16, lg: 18, xl: 18 }, wrapperCol: { md: 8, lg: 6, xl: 6 }, layout: "horizontal", onValuesChange: onSocialValuesChanged }, SocialElementDetails.map(function (element) {
21850
21856
  return (React.createElement(React.Fragment, null,
@@ -21855,11 +21861,11 @@ var Social = function (props) {
21855
21861
  React.createElement(Form.Item, { className: "mg-left-2", label: element.label, name: element.name },
21856
21862
  React.createElement(Radio.Group, { size: "middle", onChange: onRadioStatusChanged },
21857
21863
  React.createElement("div", { className: "radio-container" },
21858
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
21864
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
21859
21865
  React.createElement("div", { className: "radio-container" },
21860
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
21866
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
21861
21867
  React.createElement("div", { className: "radio-container" },
21862
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))),
21868
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("na"))))),
21863
21869
  form.getFieldValue(element.name) ===
21864
21870
  RadioButtonStatus.YES &&
21865
21871
  element.subItems.map(function (elementItem) {
@@ -21872,11 +21878,11 @@ var Social = function (props) {
21872
21878
  ] },
21873
21879
  React.createElement(Radio.Group, { size: "middle" },
21874
21880
  React.createElement("div", { className: "radio-container" },
21875
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
21881
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
21876
21882
  React.createElement("div", { className: "radio-container" },
21877
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
21883
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
21878
21884
  React.createElement("div", { className: "radio-container" },
21879
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))));
21885
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("na"))))));
21880
21886
  }
21881
21887
  else if (elementItem.type === FormElementType.Input) {
21882
21888
  return (React.createElement(Form.Item, { className: "mg-left-4", labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: elementItem.label, name: elementItem.name },
@@ -21912,88 +21918,89 @@ var Social = function (props) {
21912
21918
 
21913
21919
  var SocialEnvironmentalRisk = function (props) {
21914
21920
  var onFormSubmit = props.onFormSubmit, SocialEnvironmentalRiskData = props.SocialEnvironmentalRiskData, viewOnly = props.viewOnly, translator = props.translator;
21921
+ translator.setDefaultNamespace("socialEnvironmentalRisk");
21915
21922
  var t = translator.t;
21916
21923
  var form = Form.useForm()[0];
21917
21924
  var _a = useState(), socialEnvironmentalFormDetails = _a[0], setSocialEnvironmentalFormDetails = _a[1];
21918
21925
  var _b = useState([
21919
21926
  {
21920
- title: t("socialEnvironmentalRisk:humanRightsSubHeader"),
21927
+ title: t("humanRightsSubHeader"),
21921
21928
  isTitleVisible: true,
21922
21929
  subItems: [
21923
21930
  {
21924
- title: t("socialEnvironmentalRisk:humanRights"),
21931
+ title: t("humanRights"),
21925
21932
  isTitleVisible: true,
21926
21933
  subItems: [
21927
21934
  {
21928
- label: t("socialEnvironmentalRisk:humanRightsQ1"),
21935
+ label: t("humanRightsQ1"),
21929
21936
  name: "humanRightsQ1",
21930
21937
  },
21931
21938
  {
21932
- label: t("socialEnvironmentalRisk:humanRightsQ2"),
21939
+ label: t("humanRightsQ2"),
21933
21940
  name: "humanRightsQ2",
21934
21941
  },
21935
21942
  {
21936
- label: t("socialEnvironmentalRisk:humanRightsQ3"),
21943
+ label: t("humanRightsQ3"),
21937
21944
  name: "humanRightsQ3",
21938
21945
  },
21939
21946
  {
21940
- label: t("socialEnvironmentalRisk:humanRightsQ4"),
21947
+ label: t("humanRightsQ4"),
21941
21948
  name: "humanRightsQ4",
21942
21949
  },
21943
21950
  {
21944
- label: t("socialEnvironmentalRisk:humanRightsQ5"),
21951
+ label: t("humanRightsQ5"),
21945
21952
  name: "humanRightsQ5",
21946
21953
  },
21947
21954
  {
21948
- label: t("socialEnvironmentalRisk:humanRightsQ6"),
21955
+ label: t("humanRightsQ6"),
21949
21956
  name: "humanRightsQ6",
21950
21957
  },
21951
21958
  {
21952
- label: t("socialEnvironmentalRisk:humanRightsQ7"),
21959
+ label: t("humanRightsQ7"),
21953
21960
  name: "humanRightsQ7",
21954
21961
  },
21955
21962
  ],
21956
21963
  },
21957
21964
  {
21958
- title: t("socialEnvironmentalRisk:genderEqalityWomenEmpower"),
21965
+ title: t("genderEqalityWomenEmpower"),
21959
21966
  isTitleVisible: true,
21960
21967
  subItems: [
21961
21968
  {
21962
- label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ1"),
21969
+ label: t("genderEqalityWomenEmpowerQ1"),
21963
21970
  name: "genderEqalityWomenEmpowerQ1",
21964
21971
  },
21965
21972
  {
21966
- label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ2"),
21973
+ label: t("genderEqalityWomenEmpowerQ2"),
21967
21974
  name: "genderEqalityWomenEmpowerQ2",
21968
21975
  },
21969
21976
  {
21970
- label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ3"),
21977
+ label: t("genderEqalityWomenEmpowerQ3"),
21971
21978
  name: "genderEqalityWomenEmpowerQ3",
21972
21979
  },
21973
21980
  {
21974
- label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ4"),
21981
+ label: t("genderEqalityWomenEmpowerQ4"),
21975
21982
  name: "genderEqalityWomenEmpowerQ4",
21976
21983
  },
21977
21984
  {
21978
- label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ5"),
21985
+ label: t("genderEqalityWomenEmpowerQ5"),
21979
21986
  name: "genderEqalityWomenEmpowerQ5",
21980
21987
  },
21981
21988
  ],
21982
21989
  },
21983
21990
  {
21984
- title: t("socialEnvironmentalRisk:accountability"),
21991
+ title: t("accountability"),
21985
21992
  isTitleVisible: true,
21986
21993
  subItems: [
21987
21994
  {
21988
- label: t("socialEnvironmentalRisk:accountabilityQ1"),
21995
+ label: t("accountabilityQ1"),
21989
21996
  name: "accountabilityQ1",
21990
21997
  },
21991
21998
  {
21992
- label: t("socialEnvironmentalRisk:accountabilityQ2"),
21999
+ label: t("accountabilityQ2"),
21993
22000
  name: "AccountabilityQ2",
21994
22001
  },
21995
22002
  {
21996
- label: t("socialEnvironmentalRisk:accountabilityQ3"),
22003
+ label: t("accountabilityQ3"),
21997
22004
  name: "accountabilityQ3",
21998
22005
  },
21999
22006
  ],
@@ -22001,277 +22008,277 @@ var SocialEnvironmentalRisk = function (props) {
22001
22008
  ],
22002
22009
  },
22003
22010
  {
22004
- title: t("socialEnvironmentalRisk:standardSubHeader"),
22011
+ title: t("standardSubHeader"),
22005
22012
  isTitleVisible: true,
22006
22013
  subItems: [
22007
22014
  {
22008
- title: t("socialEnvironmentalRisk:standard1"),
22015
+ title: t("standard1"),
22009
22016
  isTitleVisible: true,
22010
22017
  subItems: [
22011
22018
  {
22012
- label: t("socialEnvironmentalRisk:standard1Q1"),
22019
+ label: t("standard1Q1"),
22013
22020
  name: "standard1Q1",
22014
22021
  },
22015
22022
  {
22016
- label: t("socialEnvironmentalRisk:standard1Q2"),
22023
+ label: t("standard1Q2"),
22017
22024
  name: "standard1Q2",
22018
22025
  },
22019
22026
  {
22020
- label: t("socialEnvironmentalRisk:standard1Q3"),
22027
+ label: t("standard1Q3"),
22021
22028
  name: "standard1Q3",
22022
22029
  },
22023
22030
  {
22024
- label: t("socialEnvironmentalRisk:standard1Q4"),
22031
+ label: t("standard1Q4"),
22025
22032
  name: "standard1Q4",
22026
22033
  },
22027
22034
  {
22028
- label: t("socialEnvironmentalRisk:standard1Q5"),
22035
+ label: t("standard1Q5"),
22029
22036
  name: "standard1Q5",
22030
22037
  },
22031
22038
  {
22032
- label: t("socialEnvironmentalRisk:standard1Q6"),
22039
+ label: t("standard1Q6"),
22033
22040
  name: "standard1Q6",
22034
22041
  },
22035
22042
  {
22036
- label: t("socialEnvironmentalRisk:standard1Q7"),
22043
+ label: t("standard1Q7"),
22037
22044
  name: "standard1Q7",
22038
22045
  },
22039
22046
  {
22040
- label: t("socialEnvironmentalRisk:standard1Q8"),
22047
+ label: t("standard1Q8"),
22041
22048
  name: "standard1Q8",
22042
22049
  },
22043
22050
  {
22044
- label: t("socialEnvironmentalRisk:standard1Q9"),
22051
+ label: t("standard1Q9"),
22045
22052
  name: "standard1Q9",
22046
22053
  },
22047
22054
  {
22048
- label: t("socialEnvironmentalRisk:standard1Q10"),
22055
+ label: t("standard1Q10"),
22049
22056
  name: "standard1Q10",
22050
22057
  },
22051
22058
  {
22052
- label: t("socialEnvironmentalRisk:standard1Q11"),
22059
+ label: t("standard1Q11"),
22053
22060
  name: "standard1Q11",
22054
22061
  },
22055
22062
  {
22056
- label: t("socialEnvironmentalRisk:standard1Q12"),
22063
+ label: t("standard1Q12"),
22057
22064
  name: "standard1Q12",
22058
22065
  },
22059
22066
  {
22060
- label: t("socialEnvironmentalRisk:standard1Q13"),
22067
+ label: t("standard1Q13"),
22061
22068
  name: "standard1Q13",
22062
22069
  },
22063
22070
  {
22064
- label: t("socialEnvironmentalRisk:standard1Q14"),
22071
+ label: t("standard1Q14"),
22065
22072
  name: "standard1Q14",
22066
22073
  },
22067
22074
  ],
22068
22075
  },
22069
22076
  {
22070
- title: t("socialEnvironmentalRisk:standard2"),
22077
+ title: t("standard2"),
22071
22078
  isTitleVisible: true,
22072
22079
  subItems: [
22073
22080
  {
22074
- label: t("socialEnvironmentalRisk:standard2Q1"),
22081
+ label: t("standard2Q1"),
22075
22082
  name: "standard2Q1",
22076
22083
  },
22077
22084
  {
22078
- label: t("socialEnvironmentalRisk:standard2Q2"),
22085
+ label: t("standard2Q2"),
22079
22086
  name: "standard2Q2",
22080
22087
  },
22081
22088
  {
22082
- label: t("socialEnvironmentalRisk:standard2Q3"),
22089
+ label: t("standard2Q3"),
22083
22090
  name: "standard2Q3",
22084
22091
  },
22085
22092
  {
22086
- label: t("socialEnvironmentalRisk:standard2Q4"),
22093
+ label: t("standard2Q4"),
22087
22094
  name: "standard2Q4",
22088
22095
  },
22089
22096
  ],
22090
22097
  },
22091
22098
  {
22092
- title: t("socialEnvironmentalRisk:standard3"),
22099
+ title: t("standard3"),
22093
22100
  isTitleVisible: true,
22094
22101
  subItems: [
22095
22102
  {
22096
- label: t("socialEnvironmentalRisk:standard3Q1"),
22103
+ label: t("standard3Q1"),
22097
22104
  name: "standard3Q1",
22098
22105
  },
22099
22106
  {
22100
- label: t("socialEnvironmentalRisk:standard3Q2"),
22107
+ label: t("standard3Q2"),
22101
22108
  name: "standard3Q2",
22102
22109
  },
22103
22110
  {
22104
- label: t("socialEnvironmentalRisk:standard3Q3"),
22111
+ label: t("standard3Q3"),
22105
22112
  name: "standard3Q3",
22106
22113
  },
22107
22114
  {
22108
- label: t("socialEnvironmentalRisk:standard3Q4"),
22115
+ label: t("standard3Q4"),
22109
22116
  name: "standard3Q4",
22110
22117
  },
22111
22118
  {
22112
- label: t("socialEnvironmentalRisk:standard3Q5"),
22119
+ label: t("standard3Q5"),
22113
22120
  name: "standard3Q5",
22114
22121
  },
22115
22122
  {
22116
- label: t("socialEnvironmentalRisk:standard3Q6"),
22123
+ label: t("standard3Q6"),
22117
22124
  name: "standard3Q6",
22118
22125
  },
22119
22126
  {
22120
- label: t("socialEnvironmentalRisk:standard3Q7"),
22127
+ label: t("standard3Q7"),
22121
22128
  name: "standard3Q7",
22122
22129
  },
22123
22130
  {
22124
- label: t("socialEnvironmentalRisk:standard3Q8"),
22131
+ label: t("standard3Q8"),
22125
22132
  name: "standard3Q8",
22126
22133
  },
22127
22134
  ],
22128
22135
  },
22129
22136
  {
22130
- title: t("socialEnvironmentalRisk:standard4"),
22137
+ title: t("standard4"),
22131
22138
  isTitleVisible: true,
22132
22139
  subItems: [
22133
22140
  {
22134
- label: t("socialEnvironmentalRisk:standard4Q1"),
22141
+ label: t("standard4Q1"),
22135
22142
  name: "standard4Q1",
22136
22143
  },
22137
22144
  {
22138
- label: t("socialEnvironmentalRisk:standard4Q2"),
22145
+ label: t("standard4Q2"),
22139
22146
  name: "standard4Q2",
22140
22147
  },
22141
22148
  {
22142
- label: t("socialEnvironmentalRisk:standard4Q3"),
22149
+ label: t("standard4Q3"),
22143
22150
  name: "standard4Q3",
22144
22151
  },
22145
22152
  {
22146
- label: t("socialEnvironmentalRisk:standard4Q4"),
22153
+ label: t("standard4Q4"),
22147
22154
  name: "standard4Q4",
22148
22155
  },
22149
22156
  {
22150
- label: t("socialEnvironmentalRisk:standard4Q5"),
22157
+ label: t("standard4Q5"),
22151
22158
  name: "standard4Q5",
22152
22159
  },
22153
22160
  ],
22154
22161
  },
22155
22162
  {
22156
- title: t("socialEnvironmentalRisk:standard5"),
22163
+ title: t("standard5"),
22157
22164
  isTitleVisible: true,
22158
22165
  subItems: [
22159
22166
  {
22160
- label: t("socialEnvironmentalRisk:standard5Q1"),
22167
+ label: t("standard5Q1"),
22161
22168
  name: "standard5Q1",
22162
22169
  },
22163
22170
  {
22164
- label: t("socialEnvironmentalRisk:standard5Q2"),
22171
+ label: t("standard5Q2"),
22165
22172
  name: "standard5Q2",
22166
22173
  },
22167
22174
  {
22168
- label: t("socialEnvironmentalRisk:standard5Q3"),
22175
+ label: t("standard5Q3"),
22169
22176
  name: "standard5Q3",
22170
22177
  },
22171
22178
  {
22172
- label: t("socialEnvironmentalRisk:standard5Q4"),
22179
+ label: t("standard5Q4"),
22173
22180
  name: "standard5Q4",
22174
22181
  },
22175
22182
  ],
22176
22183
  },
22177
22184
  {
22178
- title: t("socialEnvironmentalRisk:standard6"),
22185
+ title: t("standard6"),
22179
22186
  isTitleVisible: true,
22180
22187
  subItems: [
22181
22188
  {
22182
- label: t("socialEnvironmentalRisk:standard6Q1"),
22189
+ label: t("standard6Q1"),
22183
22190
  name: "standard6Q1",
22184
22191
  },
22185
22192
  {
22186
- label: t("socialEnvironmentalRisk:standard6Q2"),
22193
+ label: t("standard6Q2"),
22187
22194
  name: "standard6Q2",
22188
22195
  },
22189
22196
  {
22190
- label: t("socialEnvironmentalRisk:standard6Q3"),
22197
+ label: t("standard6Q3"),
22191
22198
  name: "standard6Q3",
22192
22199
  },
22193
22200
  {
22194
- label: t("socialEnvironmentalRisk:standard6Q4"),
22201
+ label: t("standard6Q4"),
22195
22202
  name: "standard6Q4",
22196
22203
  },
22197
22204
  {
22198
- label: t("socialEnvironmentalRisk:standard6Q5"),
22205
+ label: t("standard6Q5"),
22199
22206
  name: "standard6Q5",
22200
22207
  },
22201
22208
  {
22202
- label: t("socialEnvironmentalRisk:standard6Q6"),
22209
+ label: t("standard6Q6"),
22203
22210
  name: "standard6Q6",
22204
22211
  },
22205
22212
  {
22206
- label: t("socialEnvironmentalRisk:standard6Q7"),
22213
+ label: t("standard6Q7"),
22207
22214
  name: "standard6Q7",
22208
22215
  },
22209
22216
  {
22210
- label: t("socialEnvironmentalRisk:standard6Q8"),
22217
+ label: t("standard6Q8"),
22211
22218
  name: "standard6Q8",
22212
22219
  },
22213
22220
  {
22214
- label: t("socialEnvironmentalRisk:standard6Q9"),
22221
+ label: t("standard6Q9"),
22215
22222
  name: "standard6Q9",
22216
22223
  },
22217
22224
  ],
22218
22225
  },
22219
22226
  {
22220
- title: t("socialEnvironmentalRisk:standard7"),
22227
+ title: t("standard7"),
22221
22228
  isTitleVisible: true,
22222
22229
  subItems: [
22223
22230
  {
22224
- label: t("socialEnvironmentalRisk:standard7Q1"),
22231
+ label: t("standard7Q1"),
22225
22232
  name: "standard7Q1",
22226
22233
  },
22227
22234
  {
22228
- label: t("socialEnvironmentalRisk:standard7Q2"),
22235
+ label: t("standard7Q2"),
22229
22236
  name: "standard7Q2",
22230
22237
  },
22231
22238
  {
22232
- label: t("socialEnvironmentalRisk:standard7Q3"),
22239
+ label: t("standard7Q3"),
22233
22240
  name: "standard7Q3",
22234
22241
  },
22235
22242
  {
22236
- label: t("socialEnvironmentalRisk:standard7Q4"),
22243
+ label: t("standard7Q4"),
22237
22244
  name: "standard7Q4",
22238
22245
  },
22239
22246
  {
22240
- label: t("socialEnvironmentalRisk:standard7Q5"),
22247
+ label: t("standard7Q5"),
22241
22248
  name: "standard7Q5",
22242
22249
  },
22243
22250
  {
22244
- label: t("socialEnvironmentalRisk:standard7Q6"),
22251
+ label: t("standard7Q6"),
22245
22252
  name: "standard7Q6",
22246
22253
  },
22247
22254
  ],
22248
22255
  },
22249
22256
  {
22250
- title: t("socialEnvironmentalRisk:standard8"),
22257
+ title: t("standard8"),
22251
22258
  isTitleVisible: true,
22252
22259
  subItems: [
22253
22260
  {
22254
- label: t("socialEnvironmentalRisk:standard8Q1"),
22261
+ label: t("standard8Q1"),
22255
22262
  name: "standard8Q1",
22256
22263
  },
22257
22264
  {
22258
- label: t("socialEnvironmentalRisk:standard8Q2"),
22265
+ label: t("standard8Q2"),
22259
22266
  name: "standard8Q2",
22260
22267
  },
22261
22268
  {
22262
- label: t("socialEnvironmentalRisk:standard8Q3"),
22269
+ label: t("standard8Q3"),
22263
22270
  name: "standard8Q3",
22264
22271
  },
22265
22272
  {
22266
- label: t("socialEnvironmentalRisk:standard8Q4"),
22273
+ label: t("standard8Q4"),
22267
22274
  name: "standard8Q4",
22268
22275
  },
22269
22276
  {
22270
- label: t("socialEnvironmentalRisk:standard8Q5"),
22277
+ label: t("standard8Q5"),
22271
22278
  name: "standard8Q5",
22272
22279
  },
22273
22280
  {
22274
- label: t("socialEnvironmentalRisk:standard8Q6"),
22281
+ label: t("standard8Q6"),
22275
22282
  name: "standard8Q6",
22276
22283
  },
22277
22284
  ],
@@ -22332,9 +22339,9 @@ var SocialEnvironmentalRisk = function (props) {
22332
22339
  return (React.createElement(Form.Item, { className: "mg-left-2 form-item", label: element.label, name: element.name },
22333
22340
  React.createElement(Radio.Group, { size: "middle" },
22334
22341
  React.createElement("div", { className: "radio-container" },
22335
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("socialEnvironmentalRisk:yes"))),
22342
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
22336
22343
  React.createElement("div", { className: "radio-container" },
22337
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("socialEnvironmentalRisk:no"))))));
22344
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))))));
22338
22345
  })));
22339
22346
  })));
22340
22347
  }),
@@ -22366,6 +22373,7 @@ var CoBenifitsComponent = function (props) {
22366
22373
  var _b = useState(), coBenefitDetails = _b[0], setCoBenefitDetails = _b[1];
22367
22374
  var _c = useState(true), isSocialFormValid = _c[0], setIsSocialFormValid = _c[1];
22368
22375
  var _d = useState(true), isAssessmentFormValid = _d[0], setIsAssessmentFormValid = _d[1];
22376
+ translator.setDefaultNamespace("coBenifits");
22369
22377
  var t = translator.t;
22370
22378
  var onSdgGoalsFormSubmit = function (sdgGoalsDetails) {
22371
22379
  setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { sdgGoals: sdgGoalsDetails })); });