@undp/carbon-library 1.0.302-gayanath-merge-patch.0 → 1.0.302-gayanath-merge-patch.2

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -19852,60 +19852,59 @@ var GenderParity = function (props) {
19852
19852
  var onFormSubmit = props.onFormSubmit, genderParityViewData = props.genderParityViewData, viewOnly = props.viewOnly, translator = props.translator;
19853
19853
  var formOne = Form.useForm()[0];
19854
19854
  var formTwo = Form.useForm()[0];
19855
- translator.setDefaultNamespace("genderParity");
19856
19855
  var t = translator.t;
19857
19856
  var _a = useState(), genderParityDetails = _a[0], setGenderParityDetails = _a[1];
19858
19857
  var genderParityDetailsOne = [
19859
19858
  {
19860
- label: t("benifit1"),
19859
+ label: t("genderParity:benifit1"),
19861
19860
  name: "descriminationAgainstGirls",
19862
19861
  value: true,
19863
19862
  },
19864
19863
  {
19865
- label: t("benifit2"),
19864
+ label: t("genderParity:benifit2"),
19866
19865
  name: "violationAgainstGirls",
19867
19866
  value: true,
19868
19867
  },
19869
19868
  {
19870
- label: t("benifit3"),
19869
+ label: t("genderParity:benifit3"),
19871
19870
  name: "harmfulPracticesAgainstGirls",
19872
19871
  value: true,
19873
19872
  },
19874
19873
  {
19875
- label: t("benifit4"),
19874
+ label: t("genderParity:benifit4"),
19876
19875
  name: "equealRightsToGirls",
19877
19876
  value: true,
19878
19877
  },
19879
19878
  {
19880
- label: t("benifit5"),
19879
+ label: t("genderParity:benifit5"),
19881
19880
  name: "equealRightsToHealthToGirls",
19882
19881
  value: true,
19883
19882
  },
19884
19883
  ];
19885
19884
  var genderParityDetailsTwo = [
19886
19885
  {
19887
- label: t("benifit6"),
19886
+ label: t("genderParity:benifit6"),
19888
19887
  name: "numberOfWomenEmpoyed",
19889
19888
  col: { md: 18, lg: 10 },
19890
19889
  labelCol: 24,
19891
19890
  wrapperCol: 18,
19892
19891
  },
19893
19892
  {
19894
- label: t("benifit7"),
19893
+ label: t("genderParity:benifit7"),
19895
19894
  name: "numberOfWomenTrained",
19896
19895
  col: { md: 18, lg: 10 },
19897
19896
  labelCol: 24,
19898
19897
  wrapperCol: 18,
19899
19898
  },
19900
19899
  {
19901
- label: t("benifit8"),
19900
+ label: t("genderParity:benifit8"),
19902
19901
  name: "numberOfWomenSelectedForDecisionMaking",
19903
19902
  col: { md: 18, lg: 16 },
19904
19903
  labelCol: 24,
19905
19904
  wrapperCol: 11,
19906
19905
  },
19907
19906
  {
19908
- label: t("benifit9"),
19907
+ label: t("genderParity:benifit9"),
19909
19908
  name: "numberOfWomenProvidedAccessForTech",
19910
19909
  col: { md: 18, lg: 16 },
19911
19910
  labelCol: 24,
@@ -19960,12 +19959,12 @@ var GenderParity = function (props) {
19960
19959
  React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: true },
19961
19960
  React.createElement("div", { className: "yes-no-radio-container" },
19962
19961
  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
19963
- ? t("yes")
19964
- : t("no")))))) : (React.createElement(Radio.Group, { size: "middle", onChange: function () { } },
19962
+ ? t("genderParity:yes")
19963
+ : t("genderParity:no")))))) : (React.createElement(Radio.Group, { size: "middle", onChange: function () { } },
19965
19964
  React.createElement("div", { className: "yes-no-radio-container" },
19966
- React.createElement(Radio.Button, { className: "yes-no-radio", value: genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value }, t("yes"))),
19965
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value }, t("genderParity:yes"))),
19967
19966
  React.createElement("div", { className: "yes-no-radio-container" },
19968
- React.createElement(Radio.Button, { className: "yes-no-radio", value: !(genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value) }, t("no")))))));
19967
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: !(genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value) }, t("genderParity:no")))))));
19969
19968
  })),
19970
19969
  React.createElement("div", { className: "part-two" },
19971
19970
  React.createElement(Form, { name: "additional-details", layout: "vertical", form: formTwo, onValuesChange: onGenderParityValuesChangedSub },
@@ -19990,7 +19989,6 @@ var GenderParity = function (props) {
19990
19989
 
19991
19990
  var Assessment = function (props) {
19992
19991
  var onFormSubmit = props.onFormSubmit, assessmentViewData = props.assessmentViewData, viewOnly = props.viewOnly, translator = props.translator;
19993
- translator.setDefaultNamespace("coBenifits");
19994
19992
  var t = translator.t;
19995
19993
  var form1 = Form.useForm()[0];
19996
19994
  var form2 = Form.useForm()[0];
@@ -20182,105 +20180,105 @@ var Assessment = function (props) {
20182
20180
  React.createElement(Row, null,
20183
20181
  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(); } },
20184
20182
  !viewOnly && (React.createElement("div", { className: "radio-content" },
20185
- React.createElement(Form.Item, { label: t("assessmentIsThirdPartyVerified", {
20183
+ React.createElement(Form.Item, { label: t("coBenifits:assessmentIsThirdPartyVerified", {
20186
20184
  ns: "coBenifits",
20187
20185
  }), className: "form-item", name: "IsThirdPartyVerified" },
20188
20186
  React.createElement(Radio.Group, { size: "middle", onChange: onIsThirdPartyVerifiedChanged },
20189
20187
  React.createElement("div", { className: "radio-container" },
20190
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
20188
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
20191
20189
  React.createElement("div", { className: "radio-container" },
20192
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
20190
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
20193
20191
  React.createElement("div", { className: "radio-container" },
20194
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("n/a"))))),
20195
- isVerifyingOrgVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("verifyingOrgNamelbl"), name: "verifyingOrgName", rules: [
20192
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
20193
+ isVerifyingOrgVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:verifyingOrgNamelbl"), name: "verifyingOrgName", rules: [
20196
20194
  {
20197
20195
  required: true,
20198
20196
  message: "",
20199
20197
  },
20200
20198
  ] },
20201
20199
  React.createElement(Input, { style: { width: 303 } }))),
20202
- React.createElement(Form.Item, { label: t("assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
20200
+ React.createElement(Form.Item, { label: t("coBenifits:assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
20203
20201
  React.createElement(Radio.Group, { size: "middle", onChange: onIsWillingToVerifiedChanged },
20204
20202
  React.createElement("div", { className: "radio-container" },
20205
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
20203
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
20206
20204
  React.createElement("div", { className: "radio-container" },
20207
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
20205
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
20208
20206
  React.createElement("div", { className: "radio-container" },
20209
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("n/a"))))),
20210
- isVerifyingDetailsVisible === true && (React.createElement(Form.Item, { label: t("verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
20207
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
20208
+ isVerifyingDetailsVisible === true && (React.createElement(Form.Item, { label: t("coBenifits:verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
20211
20209
  React.createElement(Input, { style: { width: 303 } }))))),
20212
20210
  viewOnly && (React.createElement("div", { className: "radio-content view-section" },
20213
- assessmentViewData.hasOwnProperty("IsThirdPartyVerified") && (React.createElement(Form.Item, { label: t("assessmentIsThirdPartyVerified"), className: "form-item", name: "IsThirdPartyVerified" },
20211
+ assessmentViewData.hasOwnProperty("IsThirdPartyVerified") && (React.createElement(Form.Item, { label: t("coBenifits:assessmentIsThirdPartyVerified"), className: "form-item", name: "IsThirdPartyVerified" },
20214
20212
  React.createElement(Radio.Group, { size: "middle", disabled: true },
20215
20213
  React.createElement("div", { className: "radio-container" },
20216
20214
  React.createElement(Radio.Button, { className: "radio" }, assessmentViewData.IsThirdPartyVerified))))),
20217
20215
  assessmentViewData.IsThirdPartyVerified ===
20218
- RadioButtonStatus.YES && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("verifyingOrgNamelbl"), name: "verifyingOrgName" },
20216
+ RadioButtonStatus.YES && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:verifyingOrgNamelbl"), name: "verifyingOrgName" },
20219
20217
  React.createElement(Input, { disabled: true, style: { width: 303 }, defaultValue: assessmentViewData.verifyingOrgName
20220
20218
  ? assessmentViewData.verifyingOrgName
20221
20219
  : "-" }))),
20222
- assessmentViewData.hasOwnProperty("IsWillingToVerified") && (React.createElement(Form.Item, { label: t("assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
20220
+ assessmentViewData.hasOwnProperty("IsWillingToVerified") && (React.createElement(Form.Item, { label: t("coBenifits:assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
20223
20221
  React.createElement(Radio.Group, { size: "middle", disabled: true },
20224
20222
  React.createElement("div", { className: "radio-container" },
20225
20223
  React.createElement(Radio.Button, { className: "radio" }, assessmentViewData.IsWillingToVerified))))),
20226
20224
  assessmentViewData.IsWillingToVerified ===
20227
- RadioButtonStatus.YES && (React.createElement(Form.Item, { label: t("verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
20225
+ RadioButtonStatus.YES && (React.createElement(Form.Item, { label: t("coBenifits:verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
20228
20226
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.verifyingDetails
20229
20227
  ? assessmentViewData.verifyingDetails
20230
20228
  : "-", style: { width: 303 } }))))))),
20231
20229
  React.createElement(Row, null,
20232
20230
  React.createElement(Form, { name: "form2", labelCol: { span: 14 }, labelWrap: true, labelAlign: "left", wrapperCol: { span: 8 }, layout: "vertical", requiredMark: true, form: form2, className: "view-section" },
20233
20231
  React.createElement(Row, { className: "mg-bottom-1" },
20234
- React.createElement("label", { className: "co-sub-title-text" }, t("contactInformation"))),
20232
+ React.createElement("label", { className: "co-sub-title-text" }, t("coBenifits:contactInformation"))),
20235
20233
  React.createElement(Row, { justify: "start", gutter: 16 },
20236
20234
  React.createElement(Col, { flex: "139px" },
20237
20235
  React.createElement(React.Fragment, null,
20238
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentTitle"), name: "title" },
20236
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTitle"), name: "title" },
20239
20237
  React.createElement(Select, { size: "large", style: {
20240
20238
  width: "139px",
20241
20239
  borderRadius: "4px",
20242
20240
  }, options: titleList }))),
20243
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentTitle"), name: "title" },
20241
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTitle"), name: "title" },
20244
20242
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.title
20245
20243
  ? assessmentViewData.title
20246
20244
  : "-", style: { width: 303 } }))))),
20247
20245
  React.createElement(Col, { flex: "303px" },
20248
20246
  React.createElement(React.Fragment, null,
20249
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentFirstName"), name: "firstName" },
20247
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFirstName"), name: "firstName" },
20250
20248
  React.createElement(Input, { style: { width: 303 } }))),
20251
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentFirstName"), name: "firstName" },
20249
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFirstName"), name: "firstName" },
20252
20250
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.firstName
20253
20251
  ? assessmentViewData.firstName
20254
20252
  : "-", style: { width: 303 } }))))),
20255
20253
  React.createElement(Col, { flex: "303px" },
20256
20254
  React.createElement(React.Fragment, null,
20257
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentLastName"), name: "lastName" },
20255
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentLastName"), name: "lastName" },
20258
20256
  React.createElement(Input, { style: { width: 303 } }))),
20259
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentLastName"), name: "lastName" },
20257
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentLastName"), name: "lastName" },
20260
20258
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.lastName
20261
20259
  ? assessmentViewData.lastName
20262
20260
  : "-", style: { width: 303 } })))))),
20263
20261
  React.createElement(Row, { justify: "start", gutter: 16 },
20264
20262
  React.createElement(Col, { flex: "462px" },
20265
20263
  React.createElement(React.Fragment, null,
20266
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentOrganisation"), name: "organisation" },
20264
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentOrganisation"), name: "organisation" },
20267
20265
  React.createElement(Input, { style: { width: 462 } }))),
20268
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentOrganisation"), name: "organisation" },
20266
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentOrganisation"), name: "organisation" },
20269
20267
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.organisation
20270
20268
  ? assessmentViewData.organisation
20271
20269
  : "-", style: { width: 462 } }))))),
20272
20270
  React.createElement(Col, { flex: "303px" },
20273
20271
  React.createElement(React.Fragment, null,
20274
- React.createElement(Skeleton, { loading: isCountryListLoading, active: true }, !viewOnly && countries.length > 0 && (React.createElement(Form.Item, { label: t("assessmentTelephone"), name: "telephone" },
20272
+ React.createElement(Skeleton, { loading: isCountryListLoading, active: true }, !viewOnly && countries.length > 0 && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTelephone"), name: "telephone" },
20275
20273
  React.createElement(PhoneInput, { style: { width: 303 }, international: true, defaultCountry: "LK", countryCallingCodeEditable: false, onChange: function (v) { }, countries: countries })))),
20276
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentTelephone"), name: "telephone" },
20274
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTelephone"), name: "telephone" },
20277
20275
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.telephone
20278
20276
  ? assessmentViewData.telephone
20279
20277
  : "-", style: { width: 303 } })))))),
20280
20278
  React.createElement(Row, { justify: "start", gutter: 16 },
20281
20279
  React.createElement(Col, { flex: "303px" },
20282
20280
  React.createElement(React.Fragment, null,
20283
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentEmail"), name: "email", rules: [
20281
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentEmail"), name: "email", rules: [
20284
20282
  {
20285
20283
  validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
20286
20284
  var val, reg, matches;
@@ -20301,15 +20299,15 @@ var Assessment = function (props) {
20301
20299
  },
20302
20300
  ] },
20303
20301
  React.createElement(Input, { style: { width: 303 } }))),
20304
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentEmail"), name: "email" },
20302
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentEmail"), name: "email" },
20305
20303
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.email
20306
20304
  ? assessmentViewData.email
20307
20305
  : "-", style: { width: 303 } }))))),
20308
20306
  React.createElement(Col, { flex: "462px" },
20309
20307
  React.createElement(React.Fragment, null,
20310
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentAffiliationCDM"), name: "affiliationCDM" },
20308
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentAffiliationCDM"), name: "affiliationCDM" },
20311
20309
  React.createElement(Input, { style: { width: 462 } }))),
20312
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentAffiliationCDM"), name: "affiliationCDM" },
20310
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentAffiliationCDM"), name: "affiliationCDM" },
20313
20311
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.affiliationCDM
20314
20312
  ? assessmentViewData.affiliationCDM
20315
20313
  : "-", style: { width: 462 } })))))))),
@@ -20317,15 +20315,15 @@ var Assessment = function (props) {
20317
20315
  React.createElement(Col, { span: 24 },
20318
20316
  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(); } },
20319
20317
  !viewOnly && (React.createElement("div", { className: "radio-content" },
20320
- React.createElement(Form.Item, { label: t("assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
20318
+ React.createElement(Form.Item, { label: t("coBenifits:assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
20321
20319
  React.createElement(Radio.Group, { size: "middle", onChange: onIsThePersonListedChanged },
20322
20320
  React.createElement("div", { className: "radio-container" },
20323
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
20321
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
20324
20322
  React.createElement("div", { className: "radio-container" },
20325
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
20323
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
20326
20324
  React.createElement("div", { className: "radio-container" },
20327
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("n/a"))))),
20328
- isPersonListedDetailsVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("specify"), name: "personListedDetails", rules: [
20325
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
20326
+ isPersonListedDetailsVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:specify"), name: "personListedDetails", rules: [
20329
20327
  {
20330
20328
  required: true,
20331
20329
  message: "",
@@ -20333,45 +20331,45 @@ var Assessment = function (props) {
20333
20331
  ] },
20334
20332
  React.createElement(Input, { style: { width: 303 } }))))),
20335
20333
  viewOnly && (React.createElement("div", { className: "radio-content view-section" },
20336
- assessmentViewData.hasOwnProperty("isThePersonListed") && (React.createElement(Form.Item, { label: t("assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
20334
+ assessmentViewData.hasOwnProperty("isThePersonListed") && (React.createElement(Form.Item, { label: t("coBenifits:assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
20337
20335
  React.createElement(Radio.Group, { size: "middle", disabled: true },
20338
20336
  React.createElement("div", { className: "radio-container" },
20339
20337
  React.createElement(Radio.Button, { className: "radio" }, assessmentViewData.isThePersonListed))))),
20340
20338
  assessmentViewData.isThePersonListed ===
20341
- RadioButtonStatus.NO && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("specify"), name: "personListedDetails" },
20339
+ RadioButtonStatus.NO && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:specify"), name: "personListedDetails" },
20342
20340
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.personListedDetails
20343
20341
  ? assessmentViewData.personListedDetails
20344
20342
  : "-", style: { width: 303 } })))))))),
20345
20343
  React.createElement(Row, null,
20346
20344
  React.createElement(Form, { layout: "vertical", name: "form4", form: form4, className: "view-section" },
20347
20345
  React.createElement(Row, { className: "mg-bottom-1" },
20348
- React.createElement("label", { className: "co-sub-title-text" }, t("feasibilityReport"))),
20346
+ React.createElement("label", { className: "co-sub-title-text" }, t("coBenifits:feasibilityReport"))),
20349
20347
  React.createElement(Row, { justify: "start", gutter: 16 },
20350
20348
  React.createElement(Col, { flex: "303px" },
20351
20349
  React.createElement(React.Fragment, null,
20352
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentStudyName"), name: "studyName" },
20350
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentStudyName"), name: "studyName" },
20353
20351
  React.createElement(Input, { style: { width: 303 } }))),
20354
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentStudyName"), name: "studyName" },
20352
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentStudyName"), name: "studyName" },
20355
20353
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.studyName
20356
20354
  ? assessmentViewData.studyName
20357
20355
  : "-", style: { width: 303 } }))))),
20358
20356
  React.createElement(Col, { flex: "303px" },
20359
20357
  React.createElement(React.Fragment, null,
20360
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentFunder"), name: "funder" },
20358
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFunder"), name: "funder" },
20361
20359
  React.createElement(Input, { style: { width: 303 } }))),
20362
- viewOnly && (React.createElement(Form.Item, { label: t("assessmentFunder"), name: "funder" },
20360
+ viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFunder"), name: "funder" },
20363
20361
  React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.funder
20364
20362
  ? assessmentViewData.funder
20365
20363
  : "-", style: { width: 303 } })))))),
20366
20364
  React.createElement(Row, null,
20367
- !viewOnly && (React.createElement(Form.Item, { label: t("assessmentDocuments"), name: "document", valuePropName: "fileList", getValueFromEvent: normFile, required: false, rules: [
20365
+ !viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentDocuments"), name: "document", valuePropName: "fileList", getValueFromEvent: normFile, required: false, rules: [
20368
20366
  {
20369
20367
  validator: function (rule, file) { return __awaiter(void 0, void 0, void 0, function () {
20370
20368
  var _a, _b;
20371
20369
  return __generator(this, function (_c) {
20372
20370
  if ((file === null || file === void 0 ? void 0 : file.length) > 0) {
20373
20371
  if (!isValidateFileType((_a = file[0]) === null || _a === void 0 ? void 0 : _a.type)) {
20374
- throw new Error("".concat(t("invalidFileFormat")));
20372
+ throw new Error("".concat(t("coBenifits:invalidFileFormat")));
20375
20373
  }
20376
20374
  else if (((_b = file[0]) === null || _b === void 0 ? void 0 : _b.size) > maximumFileSize) {
20377
20375
  throw new Error("".concat(t("common:maxSizeVal")));
@@ -20386,7 +20384,7 @@ var Assessment = function (props) {
20386
20384
  return false;
20387
20385
  }, className: "design-upload-section", name: "document", listType: "picture", multiple: false, maxCount: 1, onChange: onAssesmentDocument },
20388
20386
  React.createElement(Button, { className: "upload-doc", size: "large", icon: React.createElement(UploadOutlined, null) }, "Upload")))),
20389
- viewOnly && assessmentViewData.document && (React.createElement(Form.Item, { label: t("assessmentDocuments"), name: "assessmentDocuments" },
20387
+ viewOnly && assessmentViewData.document && (React.createElement(Form.Item, { label: t("coBenifits:assessmentDocuments"), name: "assessmentDocuments" },
20390
20388
  React.createElement("a", { href: assessmentViewData.document, target: "_blank", rel: "noopener noreferrer", download: true }, assessmentViewData.document))))))))));
20391
20389
  };
20392
20390
 
@@ -20562,176 +20560,175 @@ var SdgGoals = function (props) {
20562
20560
 
20563
20561
  var Safeguards = function (props) {
20564
20562
  var onFormSubmit = props.onFormSubmit, safeGuardViewData = props.safeGuardViewData, viewOnly = props.viewOnly, translator = props.translator;
20565
- translator.setDefaultNamespace("safeguards");
20566
20563
  var t = translator.t;
20567
20564
  var _a = useState(), safeguardDetails = _a[0], setSafeguardDetails = _a[1];
20568
20565
  var form = Form.useForm()[0];
20569
20566
  var initialFormElementList = [
20570
20567
  {
20571
20568
  type: FormElementType.Label,
20572
- label: t("humanRights"),
20569
+ label: t("safeguards:humanRights"),
20573
20570
  items: [
20574
20571
  {
20575
20572
  type: FormElementType.Radio,
20576
- label: t("isRespectHumanRights"),
20573
+ label: t("safeguards:isRespectHumanRights"),
20577
20574
  name: "isRespectHumanRights",
20578
20575
  },
20579
20576
  {
20580
20577
  type: FormElementType.Radio,
20581
- label: t("isProjectdiscriminate"),
20578
+ label: t("safeguards:isProjectdiscriminate"),
20582
20579
  name: "isProjectdiscriminate",
20583
20580
  },
20584
20581
  ],
20585
20582
  },
20586
20583
  {
20587
20584
  type: FormElementType.Label,
20588
- label: t("genderEquality"),
20585
+ label: t("safeguards:genderEquality"),
20589
20586
  items: [
20590
20587
  {
20591
20588
  type: FormElementType.Radio,
20592
- label: t("genderEqualityQ1"),
20589
+ label: t("safeguards:genderEqualityQ1"),
20593
20590
  name: "genderEqualityQ1",
20594
20591
  },
20595
20592
  {
20596
20593
  type: FormElementType.Radio,
20597
- label: t("genderEqualityQ2"),
20594
+ label: t("safeguards:genderEqualityQ2"),
20598
20595
  name: "genderEqualityQ2",
20599
20596
  },
20600
20597
  {
20601
20598
  type: FormElementType.Radio,
20602
- label: t("genderEqualityQ3"),
20599
+ label: t("safeguards:genderEqualityQ3"),
20603
20600
  name: "genderEqualityQ3",
20604
20601
  },
20605
20602
  {
20606
20603
  type: FormElementType.Radio,
20607
- label: t("genderEqualityQ4"),
20604
+ label: t("safeguards:genderEqualityQ4"),
20608
20605
  name: "genderEqualityQ4",
20609
20606
  },
20610
20607
  ],
20611
20608
  },
20612
20609
  {
20613
20610
  type: FormElementType.Label,
20614
- label: t("communityHealth"),
20611
+ label: t("safeguards:communityHealth"),
20615
20612
  items: [
20616
20613
  {
20617
20614
  type: FormElementType.Radio,
20618
- label: t("communityHealthQ1"),
20615
+ label: t("safeguards:communityHealthQ1"),
20619
20616
  name: "communityHealthQ1",
20620
20617
  },
20621
20618
  ],
20622
20619
  },
20623
20620
  {
20624
20621
  type: FormElementType.Label,
20625
- label: t("historicHeritage"),
20622
+ label: t("safeguards:historicHeritage"),
20626
20623
  items: [
20627
20624
  {
20628
20625
  type: FormElementType.Radio,
20629
- label: t("historicHeritageQ1"),
20626
+ label: t("safeguards:historicHeritageQ1"),
20630
20627
  name: "historicHeritageQ1",
20631
20628
  },
20632
20629
  ],
20633
20630
  },
20634
20631
  {
20635
20632
  type: FormElementType.Label,
20636
- label: t("forcedEviction"),
20633
+ label: t("safeguards:forcedEviction"),
20637
20634
  items: [
20638
20635
  {
20639
20636
  type: FormElementType.Radio,
20640
- label: t("forcedEvictionQ1"),
20637
+ label: t("safeguards:forcedEvictionQ1"),
20641
20638
  name: "forcedEvictionQ1",
20642
20639
  },
20643
20640
  ],
20644
20641
  },
20645
20642
  {
20646
20643
  type: FormElementType.Label,
20647
- label: t("landTenure"),
20644
+ label: t("safeguards:landTenure"),
20648
20645
  items: [
20649
20646
  {
20650
20647
  type: FormElementType.Radio,
20651
- label: t("landTenureQ1"),
20648
+ label: t("safeguards:landTenureQ1"),
20652
20649
  name: "landTenureQ1",
20653
20650
  },
20654
20651
  {
20655
20652
  type: FormElementType.Radio,
20656
- label: t("landTenureQ2"),
20653
+ label: t("safeguards:landTenureQ2"),
20657
20654
  name: "landTenureQ2",
20658
20655
  },
20659
20656
  ],
20660
20657
  },
20661
20658
  {
20662
20659
  type: FormElementType.Label,
20663
- label: t("indegenousPeople"),
20660
+ label: t("safeguards:indegenousPeople"),
20664
20661
  items: [
20665
20662
  {
20666
20663
  type: FormElementType.Radio,
20667
- label: t("indegenousPeopleQ1"),
20664
+ label: t("safeguards:indegenousPeopleQ1"),
20668
20665
  name: "indegenousPeopleQ1",
20669
20666
  },
20670
20667
  ],
20671
20668
  },
20672
20669
  {
20673
20670
  type: FormElementType.Label,
20674
- label: t("corruption"),
20671
+ label: t("safeguards:corruption"),
20675
20672
  items: [
20676
20673
  {
20677
20674
  type: FormElementType.Radio,
20678
- label: t("corruptionQ1"),
20675
+ label: t("safeguards:corruptionQ1"),
20679
20676
  name: "corruptionQ1",
20680
20677
  },
20681
20678
  ],
20682
20679
  },
20683
20680
  {
20684
20681
  type: FormElementType.Label,
20685
- label: t("labourRights"),
20682
+ label: t("safeguards:labourRights"),
20686
20683
  items: [
20687
20684
  {
20688
20685
  type: FormElementType.Radio,
20689
- label: t("labourRightsQ1"),
20686
+ label: t("safeguards:labourRightsQ1"),
20690
20687
  name: "labourRightsQ1",
20691
20688
  },
20692
20689
  {
20693
20690
  type: FormElementType.Radio,
20694
- label: t("labourRightsQ2"),
20691
+ label: t("safeguards:labourRightsQ2"),
20695
20692
  name: "labourRightsQ2",
20696
20693
  },
20697
20694
  {
20698
20695
  type: FormElementType.Label,
20699
- label: t("labourRightsSubLabel"),
20696
+ label: t("safeguards:labourRightsSubLabel"),
20700
20697
  className: "mg-left-2",
20701
20698
  items: [
20702
20699
  {
20703
20700
  type: FormElementType.Radio,
20704
- label: t("labourRightsSubQ1"),
20701
+ label: t("safeguards:labourRightsSubQ1"),
20705
20702
  name: "labourRightsSubQ1",
20706
20703
  className: "mg-left-4",
20707
20704
  },
20708
20705
  {
20709
20706
  type: FormElementType.Radio,
20710
- label: t("labourRightsSubQ2"),
20707
+ label: t("safeguards:labourRightsSubQ2"),
20711
20708
  name: "labourRightsSubQ2",
20712
20709
  className: "mg-left-4",
20713
20710
  },
20714
20711
  {
20715
20712
  type: FormElementType.Radio,
20716
- label: t("labourRightsSubQ3"),
20713
+ label: t("safeguards:labourRightsSubQ3"),
20717
20714
  name: "labourRightsSubQ3",
20718
20715
  className: "mg-left-4",
20719
20716
  },
20720
20717
  {
20721
20718
  type: FormElementType.Radio,
20722
- label: t("labourRightsSubQ4"),
20719
+ label: t("safeguards:labourRightsSubQ4"),
20723
20720
  name: "labourRightsSubQ4",
20724
20721
  className: "mg-left-4",
20725
20722
  },
20726
20723
  {
20727
20724
  type: FormElementType.Radio,
20728
- label: t("labourRightsSubQ5"),
20725
+ label: t("safeguards:labourRightsSubQ5"),
20729
20726
  name: "labourRightsSubQ5",
20730
20727
  className: "mg-left-4",
20731
20728
  },
20732
20729
  {
20733
20730
  type: FormElementType.Radio,
20734
- label: t("labourRightsSubQ6"),
20731
+ label: t("safeguards:labourRightsSubQ6"),
20735
20732
  name: "labourRightsSubQ6",
20736
20733
  className: "mg-left-4",
20737
20734
  },
@@ -20739,198 +20736,198 @@ var Safeguards = function (props) {
20739
20736
  },
20740
20737
  {
20741
20738
  type: FormElementType.Radio,
20742
- label: t("labourRightsQ3"),
20739
+ label: t("safeguards:labourRightsQ3"),
20743
20740
  name: "labourRightsQ3",
20744
20741
  },
20745
20742
  {
20746
20743
  type: FormElementType.Radio,
20747
- label: t("labourRightsQ4"),
20744
+ label: t("safeguards:labourRightsQ4"),
20748
20745
  name: "labourRightsQ4",
20749
20746
  },
20750
20747
  ],
20751
20748
  },
20752
20749
  {
20753
20750
  type: FormElementType.Label,
20754
- label: t("economicConsequences"),
20751
+ label: t("safeguards:economicConsequences"),
20755
20752
  items: [
20756
20753
  {
20757
20754
  type: FormElementType.Radio,
20758
- label: t("economicConsequencesQ1"),
20755
+ label: t("safeguards:economicConsequencesQ1"),
20759
20756
  name: "economicConsequencesQ1",
20760
20757
  },
20761
20758
  ],
20762
20759
  },
20763
20760
  {
20764
20761
  type: FormElementType.Label,
20765
- label: t("emissions"),
20762
+ label: t("safeguards:emissions"),
20766
20763
  items: [
20767
20764
  {
20768
20765
  type: FormElementType.Radio,
20769
- label: t("emissionsQ1"),
20766
+ label: t("safeguards:emissionsQ1"),
20770
20767
  name: "emissionsQ1",
20771
20768
  },
20772
20769
  ],
20773
20770
  },
20774
20771
  {
20775
20772
  type: FormElementType.Label,
20776
- label: t("energySupply"),
20773
+ label: t("safeguards:energySupply"),
20777
20774
  items: [
20778
20775
  {
20779
20776
  type: FormElementType.Radio,
20780
- label: t("energySupplyQ1"),
20777
+ label: t("safeguards:energySupplyQ1"),
20781
20778
  name: "energySupplyQ1",
20782
20779
  },
20783
20780
  ],
20784
20781
  },
20785
20782
  {
20786
20783
  type: FormElementType.Label,
20787
- label: t("waterPattern"),
20784
+ label: t("safeguards:waterPattern"),
20788
20785
  items: [
20789
20786
  {
20790
20787
  type: FormElementType.Radio,
20791
- label: t("waterPatternQ1"),
20788
+ label: t("safeguards:waterPatternQ1"),
20792
20789
  name: "waterPatternQ1",
20793
20790
  },
20794
20791
  ],
20795
20792
  },
20796
20793
  {
20797
20794
  type: FormElementType.Label,
20798
- label: t("erosoin"),
20795
+ label: t("safeguards:erosoin"),
20799
20796
  items: [
20800
20797
  {
20801
20798
  type: FormElementType.Radio,
20802
- label: t("erosoinQ1"),
20799
+ label: t("safeguards:erosoinQ1"),
20803
20800
  name: "erosoinQ1",
20804
20801
  },
20805
20802
  {
20806
20803
  type: FormElementType.Radio,
20807
- label: t("erosoinQ2"),
20804
+ label: t("safeguards:erosoinQ2"),
20808
20805
  name: "erosoinQ2",
20809
20806
  },
20810
20807
  ],
20811
20808
  },
20812
20809
  {
20813
20810
  type: FormElementType.Label,
20814
- label: t("landscape"),
20811
+ label: t("safeguards:landscape"),
20815
20812
  items: [
20816
20813
  {
20817
20814
  type: FormElementType.Radio,
20818
- label: t("landscapeQ1"),
20815
+ label: t("safeguards:landscapeQ1"),
20819
20816
  name: "landscapeQ1",
20820
20817
  },
20821
20818
  ],
20822
20819
  },
20823
20820
  {
20824
20821
  type: FormElementType.Label,
20825
- label: t("naturalDisaster"),
20822
+ label: t("safeguards:naturalDisaster"),
20826
20823
  items: [
20827
20824
  {
20828
20825
  type: FormElementType.Radio,
20829
- label: t("naturalDisasterQ1"),
20826
+ label: t("safeguards:naturalDisasterQ1"),
20830
20827
  name: "naturalDisasterQ1",
20831
20828
  },
20832
20829
  ],
20833
20830
  },
20834
20831
  {
20835
20832
  type: FormElementType.Label,
20836
- label: t("genetic"),
20833
+ label: t("safeguards:genetic"),
20837
20834
  items: [
20838
20835
  {
20839
20836
  type: FormElementType.Radio,
20840
- label: t("geneticQ1"),
20837
+ label: t("safeguards:geneticQ1"),
20841
20838
  name: "geneticQ1",
20842
20839
  },
20843
20840
  ],
20844
20841
  },
20845
20842
  {
20846
20843
  type: FormElementType.Label,
20847
- label: t("pollutants"),
20844
+ label: t("safeguards:pollutants"),
20848
20845
  items: [
20849
20846
  {
20850
20847
  type: FormElementType.Radio,
20851
- label: t("pollutantsQ1"),
20848
+ label: t("safeguards:pollutantsQ1"),
20852
20849
  name: "pollutantsQ1",
20853
20850
  },
20854
20851
  ],
20855
20852
  },
20856
20853
  {
20857
20854
  type: FormElementType.Label,
20858
- label: t("hazardousWaste"),
20855
+ label: t("safeguards:hazardousWaste"),
20859
20856
  items: [
20860
20857
  {
20861
20858
  type: FormElementType.Radio,
20862
- label: t("hazardousWasteQ1"),
20859
+ label: t("safeguards:hazardousWasteQ1"),
20863
20860
  name: "hazardousWasteQ1",
20864
20861
  },
20865
20862
  ],
20866
20863
  },
20867
20864
  {
20868
20865
  type: FormElementType.Label,
20869
- label: t("pesticides"),
20866
+ label: t("safeguards:pesticides"),
20870
20867
  items: [
20871
20868
  {
20872
20869
  type: FormElementType.Radio,
20873
- label: t("pesticidesQ1"),
20870
+ label: t("safeguards:pesticidesQ1"),
20874
20871
  name: "pesticidesQ1",
20875
20872
  },
20876
20873
  ],
20877
20874
  },
20878
20875
  {
20879
20876
  type: FormElementType.Label,
20880
- label: t("harvestForests"),
20877
+ label: t("safeguards:harvestForests"),
20881
20878
  items: [
20882
20879
  {
20883
20880
  type: FormElementType.Radio,
20884
- label: t("harvestForestsQ1"),
20881
+ label: t("safeguards:harvestForestsQ1"),
20885
20882
  name: "harvestForestsQ1",
20886
20883
  },
20887
20884
  ],
20888
20885
  },
20889
20886
  {
20890
20887
  type: FormElementType.Label,
20891
- label: t("food"),
20888
+ label: t("safeguards:food"),
20892
20889
  items: [
20893
20890
  {
20894
20891
  type: FormElementType.Radio,
20895
- label: t("foodQ1"),
20892
+ label: t("safeguards:foodQ1"),
20896
20893
  name: "foodQ1",
20897
20894
  },
20898
20895
  ],
20899
20896
  },
20900
20897
  {
20901
20898
  type: FormElementType.Label,
20902
- label: t("animalHusbandry"),
20899
+ label: t("safeguards:animalHusbandry"),
20903
20900
  items: [
20904
20901
  {
20905
20902
  type: FormElementType.Radio,
20906
- label: t("animalHusbandryQ1"),
20903
+ label: t("safeguards:animalHusbandryQ1"),
20907
20904
  name: "animalHusbandryQ1",
20908
20905
  },
20909
20906
  ],
20910
20907
  },
20911
20908
  {
20912
20909
  type: FormElementType.Label,
20913
- label: t("criticalHabitats"),
20910
+ label: t("safeguards:criticalHabitats"),
20914
20911
  items: [
20915
20912
  {
20916
20913
  type: FormElementType.Radio,
20917
- label: t("criticalHabitatsQ1"),
20914
+ label: t("safeguards:criticalHabitatsQ1"),
20918
20915
  name: "criticalHabitatsQ1",
20919
20916
  },
20920
20917
  ],
20921
20918
  },
20922
20919
  {
20923
20920
  type: FormElementType.Label,
20924
- label: t("endangeredSpecies"),
20921
+ label: t("safeguards:endangeredSpecies"),
20925
20922
  items: [
20926
20923
  {
20927
20924
  type: FormElementType.Radio,
20928
- label: t("endangeredSpeciesQ1"),
20925
+ label: t("safeguards:endangeredSpeciesQ1"),
20929
20926
  name: "endangeredSpeciesQ1",
20930
20927
  },
20931
20928
  {
20932
20929
  type: FormElementType.Radio,
20933
- label: t("endangeredSpeciesQ2"),
20930
+ label: t("safeguards:endangeredSpeciesQ2"),
20934
20931
  name: "endangeredSpeciesQ2",
20935
20932
  },
20936
20933
  ],
@@ -20995,7 +20992,7 @@ var Safeguards = function (props) {
20995
20992
  React.createElement(Row, { justify: "center", align: "middle", style: { width: "100%" } },
20996
20993
  React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
20997
20994
  React.createElement("span", null,
20998
- React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("undpSespTitle")))),
20995
+ React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("safeguards:undpSespTitle")))),
20999
20996
  React.createElement(Col, { span: 24 },
21000
20997
  React.createElement("div", { className: "undpSesp-section-divider" })))),
21001
20998
  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) {
@@ -21014,11 +21011,11 @@ var Safeguards = function (props) {
21014
21011
  ] },
21015
21012
  React.createElement(Radio.Group, { size: "middle" },
21016
21013
  React.createElement("div", { className: "radio-container" },
21017
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("yes"))),
21014
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("safeguards:yes"))),
21018
21015
  React.createElement("div", { className: "radio-container" },
21019
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("maybe"))),
21016
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("safeguards:maybe"))),
21020
21017
  React.createElement("div", { className: "radio-container" },
21021
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("no")))))),
21018
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("safeguards:no")))))),
21022
21019
  viewOnly &&
21023
21020
  safeGuardViewData.hasOwnProperty(item === null || item === void 0 ? void 0 : item.name) && (React.createElement("div", { className: "view-section" },
21024
21021
  React.createElement(Form.Item, { label: item === null || item === void 0 ? void 0 : item.label, className: item.className
@@ -21043,11 +21040,11 @@ var Safeguards = function (props) {
21043
21040
  ] },
21044
21041
  React.createElement(Radio.Group, { size: "middle" },
21045
21042
  React.createElement("div", { className: "radio-container" },
21046
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("yes"))),
21043
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("safeguards:yes"))),
21047
21044
  React.createElement("div", { className: "radio-container" },
21048
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("maybe"))),
21045
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("safeguards:maybe"))),
21049
21046
  React.createElement("div", { className: "radio-container" },
21050
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("no")))))),
21047
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("safeguards:no")))))),
21051
21048
  viewOnly &&
21052
21049
  safeGuardViewData.hasOwnProperty(subItem === null || subItem === void 0 ? void 0 : subItem.name) && (React.createElement("div", { className: "view-section" },
21053
21050
  React.createElement(Form.Item, { label: subItem === null || subItem === void 0 ? void 0 : subItem.label, className: subItem.className
@@ -21064,203 +21061,203 @@ var Safeguards = function (props) {
21064
21061
 
21065
21062
  var Environmental = function (props) {
21066
21063
  var onFormSubmit = props.onFormSubmit, environmentalViewData = props.environmentalViewData, viewOnly = props.viewOnly, translator = props.translator;
21067
- var t = translator;
21064
+ var t = translator.t;
21068
21065
  var environmentalDetailsInitial = [
21069
21066
  {
21070
- section: t("coBenifits:air"),
21067
+ section: t("unfcccSdTool:air"),
21071
21068
  fields: [
21072
21069
  {
21073
21070
  name: "airQ1",
21074
- label: t("coBenifits:airQ1"),
21071
+ label: t("unfcccSdTool:airQ1"),
21075
21072
  hide: false,
21076
21073
  required: false,
21077
21074
  },
21078
21075
  {
21079
21076
  name: "airQ2",
21080
- label: t("coBenifits:airQ2"),
21077
+ label: t("unfcccSdTool:airQ2"),
21081
21078
  hide: true,
21082
21079
  required: true,
21083
21080
  },
21084
21081
  {
21085
21082
  name: "airQ3",
21086
- label: t("coBenifits:airQ3"),
21083
+ label: t("unfcccSdTool:airQ3"),
21087
21084
  hide: true,
21088
21085
  required: true,
21089
21086
  },
21090
21087
  {
21091
21088
  name: "airQ4",
21092
- label: t("coBenifits:airQ4"),
21089
+ label: t("unfcccSdTool:airQ4"),
21093
21090
  hide: true,
21094
21091
  required: true,
21095
21092
  },
21096
21093
  {
21097
21094
  name: "airQ5",
21098
- label: t("coBenifits:airQ5"),
21095
+ label: t("unfcccSdTool:airQ5"),
21099
21096
  hide: true,
21100
21097
  required: true,
21101
21098
  },
21102
21099
  {
21103
21100
  name: "airQ6",
21104
- label: t("coBenifits:airQ6"),
21101
+ label: t("unfcccSdTool:airQ6"),
21105
21102
  hide: true,
21106
21103
  required: true,
21107
21104
  },
21108
21105
  {
21109
21106
  name: "airQ7",
21110
- label: t("coBenifits:airQ7"),
21107
+ label: t("unfcccSdTool:airQ7"),
21111
21108
  hide: true,
21112
21109
  required: true,
21113
21110
  },
21114
21111
  {
21115
21112
  name: "airQ8",
21116
- label: t("coBenifits:airQ8"),
21113
+ label: t("unfcccSdTool:airQ8"),
21117
21114
  hide: true,
21118
21115
  required: true,
21119
21116
  },
21120
21117
  {
21121
21118
  name: "airQ9",
21122
- label: t("coBenifits:airQ9"),
21119
+ label: t("unfcccSdTool:airQ9"),
21123
21120
  hide: true,
21124
21121
  required: true,
21125
21122
  },
21126
21123
  ],
21127
21124
  },
21128
21125
  {
21129
- section: t("coBenifits:land"),
21126
+ section: t("unfcccSdTool:land"),
21130
21127
  fields: [
21131
21128
  {
21132
21129
  name: "landQ1",
21133
- label: t("coBenifits:landQ1"),
21130
+ label: t("unfcccSdTool:landQ1"),
21134
21131
  hide: false,
21135
21132
  required: false,
21136
21133
  },
21137
21134
  {
21138
21135
  name: "landQ2",
21139
- label: t("coBenifits:landQ2"),
21136
+ label: t("unfcccSdTool:landQ2"),
21140
21137
  hide: true,
21141
21138
  required: true,
21142
21139
  },
21143
21140
  {
21144
21141
  name: "landQ3",
21145
- label: t("coBenifits:landQ3"),
21142
+ label: t("unfcccSdTool:landQ3"),
21146
21143
  hide: true,
21147
21144
  required: true,
21148
21145
  },
21149
21146
  {
21150
21147
  name: "landQ4",
21151
- label: t("coBenifits:landQ4"),
21148
+ label: t("unfcccSdTool:landQ4"),
21152
21149
  hide: true,
21153
21150
  required: true,
21154
21151
  },
21155
21152
  {
21156
21153
  name: "landQ5",
21157
- label: t("coBenifits:landQ5"),
21154
+ label: t("unfcccSdTool:landQ5"),
21158
21155
  hide: true,
21159
21156
  required: true,
21160
21157
  },
21161
21158
  {
21162
21159
  name: "landQ6",
21163
- label: t("coBenifits:landQ6"),
21160
+ label: t("unfcccSdTool:landQ6"),
21164
21161
  hide: true,
21165
21162
  required: true,
21166
21163
  },
21167
21164
  {
21168
21165
  name: "landQ7",
21169
- label: t("coBenifits:landQ7"),
21166
+ label: t("unfcccSdTool:landQ7"),
21170
21167
  hide: true,
21171
21168
  required: true,
21172
21169
  },
21173
21170
  {
21174
21171
  name: "landQ8",
21175
- label: t("coBenifits:landQ8"),
21172
+ label: t("unfcccSdTool:landQ8"),
21176
21173
  hide: true,
21177
21174
  required: true,
21178
21175
  },
21179
21176
  ],
21180
21177
  },
21181
21178
  {
21182
- section: t("coBenifits:water"),
21179
+ section: t("unfcccSdTool:water"),
21183
21180
  fields: [
21184
21181
  {
21185
21182
  name: "waterQ1",
21186
- label: t("coBenifits:waterQ1"),
21183
+ label: t("unfcccSdTool:waterQ1"),
21187
21184
  hide: false,
21188
21185
  required: false,
21189
21186
  },
21190
21187
  {
21191
21188
  name: "waterQ2",
21192
- label: t("coBenifits:waterQ2"),
21189
+ label: t("unfcccSdTool:waterQ2"),
21193
21190
  hide: true,
21194
21191
  required: true,
21195
21192
  },
21196
21193
  {
21197
21194
  name: "waterQ3",
21198
- label: t("coBenifits:waterQ3"),
21195
+ label: t("unfcccSdTool:waterQ3"),
21199
21196
  hide: true,
21200
21197
  required: true,
21201
21198
  },
21202
21199
  {
21203
21200
  name: "waterQ4",
21204
- label: t("coBenifits:waterQ4"),
21201
+ label: t("unfcccSdTool:waterQ4"),
21205
21202
  hide: true,
21206
21203
  required: true,
21207
21204
  },
21208
21205
  {
21209
21206
  name: "waterQ5",
21210
- label: t("coBenifits:waterQ5"),
21207
+ label: t("unfcccSdTool:waterQ5"),
21211
21208
  hide: true,
21212
21209
  required: true,
21213
21210
  },
21214
21211
  {
21215
21212
  name: "waterQ6",
21216
- label: t("coBenifits:waterQ6"),
21213
+ label: t("unfcccSdTool:waterQ6"),
21217
21214
  hide: true,
21218
21215
  required: true,
21219
21216
  },
21220
21217
  {
21221
21218
  name: "waterQ7",
21222
- label: t("coBenifits:waterQ7"),
21219
+ label: t("unfcccSdTool:waterQ7"),
21223
21220
  hide: true,
21224
21221
  required: true,
21225
21222
  },
21226
21223
  ],
21227
21224
  },
21228
21225
  {
21229
- section: t("coBenifits:naturalResource"),
21226
+ section: t("unfcccSdTool:naturalResource"),
21230
21227
  fields: [
21231
21228
  {
21232
21229
  name: "naturalResourceQ1",
21233
- label: t("coBenifits:naturalResourceQ1"),
21230
+ label: t("unfcccSdTool:naturalResourceQ1"),
21234
21231
  hide: false,
21235
21232
  required: false,
21236
21233
  },
21237
21234
  {
21238
21235
  name: "naturalResourceQ2",
21239
- label: t("coBenifits:naturalResourceQ2"),
21236
+ label: t("unfcccSdTool:naturalResourceQ2"),
21240
21237
  hide: true,
21241
21238
  required: true,
21242
21239
  },
21243
21240
  {
21244
21241
  name: "naturalResourceQ3",
21245
- label: t("coBenifits:naturalResourceQ3"),
21242
+ label: t("unfcccSdTool:naturalResourceQ3"),
21246
21243
  hide: true,
21247
21244
  required: true,
21248
21245
  },
21249
21246
  {
21250
21247
  name: "naturalResourceQ4",
21251
- label: t("coBenifits:naturalResourceQ4"),
21248
+ label: t("unfcccSdTool:naturalResourceQ4"),
21252
21249
  hide: true,
21253
21250
  required: true,
21254
21251
  },
21255
21252
  {
21256
21253
  name: "naturalResourceQ5",
21257
- label: t("coBenifits:naturalResourceQ5"),
21254
+ label: t("unfcccSdTool:naturalResourceQ5"),
21258
21255
  hide: true,
21259
21256
  required: true,
21260
21257
  },
21261
21258
  {
21262
21259
  name: "naturalResourceQ6",
21263
- label: t("coBenifits:naturalResourceQ6"),
21260
+ label: t("unfcccSdTool:naturalResourceQ6"),
21264
21261
  hide: true,
21265
21262
  required: true,
21266
21263
  },
@@ -21278,7 +21275,7 @@ var Environmental = function (props) {
21278
21275
  if (changedFieldName.includes("1")) {
21279
21276
  var sectionName_1 = changedFieldName.replace(/\d/g, "").replace("Q", "");
21280
21277
  var updatedEnvironmentalDetails = __spreadArray([], environmentalDetails, true);
21281
- var sectionIndex = updatedEnvironmentalDetails.findIndex(function (section) { return section.section === t("coBenifits:".concat(sectionName_1)); });
21278
+ var sectionIndex = updatedEnvironmentalDetails.findIndex(function (section) { return section.section === t("unfcccSdTool:" + sectionName_1); });
21282
21279
  updatedEnvironmentalDetails[sectionIndex].fields.forEach(function (field) {
21283
21280
  if (field.name !== changedFieldName) {
21284
21281
  field.hide = changedFieldValue !== RadioButtonStatus.YES;
@@ -21297,41 +21294,41 @@ var Environmental = function (props) {
21297
21294
  if (environmentalViewData && viewOnly === true) {
21298
21295
  var updatedEnvironmentalData = [
21299
21296
  {
21300
- section: t("coBenifits:air"),
21297
+ section: t("unfcccSdTool:air"),
21301
21298
  fields: [],
21302
21299
  },
21303
21300
  {
21304
- section: t("coBenifits:land"),
21301
+ section: t("unfcccSdTool:land"),
21305
21302
  fields: [],
21306
21303
  },
21307
21304
  {
21308
- section: t("coBenifits:water"),
21305
+ section: t("unfcccSdTool:water"),
21309
21306
  fields: [],
21310
21307
  },
21311
21308
  {
21312
- section: t("coBenifits:naturalResource"),
21309
+ section: t("unfcccSdTool:naturalResource"),
21313
21310
  fields: [],
21314
21311
  },
21315
21312
  ];
21316
21313
  var _loop_1 = function (key) {
21317
21314
  var section = "";
21318
21315
  if (String(key).includes("air")) {
21319
- section = t("coBenifits:air");
21316
+ section = t("unfcccSdTool:air");
21320
21317
  }
21321
21318
  else if (String(key).includes("land")) {
21322
- section = t("coBenifits:land");
21319
+ section = t("unfcccSdTool:land");
21323
21320
  }
21324
21321
  else if (String(key).includes("water")) {
21325
- section = t("coBenifits:water");
21322
+ section = t("unfcccSdTool:water");
21326
21323
  }
21327
21324
  else if (String(key).includes("naturalResource")) {
21328
- section = t("coBenifits:naturalResource");
21325
+ section = t("unfcccSdTool:naturalResource");
21329
21326
  }
21330
21327
  var environmentalItem = updatedEnvironmentalData.find(function (item) { return item.section === section; });
21331
21328
  if (environmentalItem) {
21332
21329
  environmentalItem.fields.push({
21333
21330
  name: key,
21334
- label: t(key),
21331
+ label: t("unfcccSdTool:" + key),
21335
21332
  hide: false,
21336
21333
  value: environmentalViewData[key],
21337
21334
  });
@@ -21353,11 +21350,11 @@ var Environmental = function (props) {
21353
21350
  React.createElement(Row, { justify: "center", align: "middle", style: { width: "100%" } },
21354
21351
  React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
21355
21352
  React.createElement("span", null,
21356
- React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("coBenifits:unfcccSdToolTitle")))),
21353
+ React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("unfcccSdTool:unfcccSdToolTitle")))),
21357
21354
  React.createElement(Col, { span: 24 },
21358
21355
  React.createElement("div", { className: "unfccSdTool-section-divider" })),
21359
21356
  React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
21360
- React.createElement("span", null, t("coBenifits:environmental"))),
21357
+ React.createElement("span", null, t("unfcccSdTool:environmental"))),
21361
21358
  React.createElement(Col, { span: 24 },
21362
21359
  React.createElement("div", { className: "unfccSdTool-section-divider", style: { marginBottom: "20px" } })))),
21363
21360
  (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 :
@@ -21370,188 +21367,188 @@ var Environmental = function (props) {
21370
21367
  {
21371
21368
  required: field === null || field === void 0 ? void 0 : field.required,
21372
21369
  message: (field === null || field === void 0 ? void 0 : field.required) &&
21373
- "".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("coBenifits:isRequired")),
21370
+ "".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("unfcccSdTool:isRequired")),
21374
21371
  },
21375
21372
  ] },
21376
21373
  React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: environmentalViewData && true }, environmentalViewData ? (React.createElement(React.Fragment, null,
21377
21374
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
21378
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("coBenifits:yes")))),
21375
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes")))),
21379
21376
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
21380
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("coBenifits:no")))),
21377
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no")))),
21381
21378
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
21382
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("coBenifits:na")))))) : (React.createElement(React.Fragment, null,
21379
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na")))))) : (React.createElement(React.Fragment, null,
21383
21380
  React.createElement("div", { className: "yes-no-radio-container" },
21384
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
21381
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
21385
21382
  React.createElement("div", { className: "yes-no-radio-container" },
21386
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
21383
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
21387
21384
  React.createElement("div", { className: "yes-no-radio-container" },
21388
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("coBenifits:na"))))))));
21385
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))))));
21389
21386
  })));
21390
21387
  })))));
21391
21388
  };
21392
21389
 
21393
21390
  var Economic = function (props) {
21394
21391
  var onFormSubmit = props.onFormSubmit, economicViewData = props.economicViewData, viewOnly = props.viewOnly, translator = props.translator;
21395
- var t = translator;
21392
+ var t = translator.t;
21396
21393
  var economicDetailsInitial = [
21397
21394
  {
21398
- section: t("coBenifits:growth"),
21395
+ section: t("unfcccSdTool:growth"),
21399
21396
  fields: [
21400
21397
  {
21401
21398
  name: "growthQ1",
21402
- label: t("coBenifits:growthQ1"),
21399
+ label: t("unfcccSdTool:growthQ1"),
21403
21400
  hide: false,
21404
21401
  required: false,
21405
21402
  },
21406
21403
  {
21407
21404
  name: "growthQ2",
21408
- label: t("coBenifits:growthQ2"),
21405
+ label: t("unfcccSdTool:growthQ2"),
21409
21406
  hide: true,
21410
21407
  required: true,
21411
21408
  },
21412
21409
  {
21413
21410
  name: "growthQ3",
21414
- label: t("coBenifits:growthQ3"),
21411
+ label: t("unfcccSdTool:growthQ3"),
21415
21412
  hide: true,
21416
21413
  required: true,
21417
21414
  },
21418
21415
  {
21419
21416
  name: "growthQ4",
21420
- label: t("coBenifits:growthQ4"),
21417
+ label: t("unfcccSdTool:growthQ4"),
21421
21418
  hide: true,
21422
21419
  required: true,
21423
21420
  },
21424
21421
  {
21425
21422
  name: "growthQ5",
21426
- label: t("coBenifits:growthQ5"),
21423
+ label: t("unfcccSdTool:growthQ5"),
21427
21424
  hide: true,
21428
21425
  required: true,
21429
21426
  },
21430
21427
  {
21431
21428
  name: "growthQ6",
21432
- label: t("coBenifits:growthQ6"),
21429
+ label: t("unfcccSdTool:growthQ6"),
21433
21430
  hide: true,
21434
21431
  required: true,
21435
21432
  },
21436
21433
  {
21437
21434
  name: "growthQ7",
21438
- label: t("coBenifits:growthQ7"),
21435
+ label: t("unfcccSdTool:growthQ7"),
21439
21436
  hide: true,
21440
21437
  required: true,
21441
21438
  },
21442
21439
  {
21443
21440
  name: "growthQ8",
21444
- label: t("coBenifits:growthQ8"),
21441
+ label: t("unfcccSdTool:growthQ8"),
21445
21442
  hide: true,
21446
21443
  required: true,
21447
21444
  },
21448
21445
  ],
21449
21446
  },
21450
21447
  {
21451
- section: t("coBenifits:energy"),
21448
+ section: t("unfcccSdTool:energy"),
21452
21449
  fields: [
21453
21450
  {
21454
21451
  name: "energyQ1",
21455
- label: t("coBenifits:energyQ1"),
21452
+ label: t("unfcccSdTool:energyQ1"),
21456
21453
  hide: false,
21457
21454
  required: false,
21458
21455
  },
21459
21456
  {
21460
21457
  name: "energyQ2",
21461
- label: t("coBenifits:energyQ2"),
21458
+ label: t("unfcccSdTool:energyQ2"),
21462
21459
  hide: true,
21463
21460
  required: true,
21464
21461
  },
21465
21462
  {
21466
21463
  name: "energyQ3",
21467
- label: t("coBenifits:energyQ3"),
21464
+ label: t("unfcccSdTool:energyQ3"),
21468
21465
  hide: true,
21469
21466
  required: true,
21470
21467
  },
21471
21468
  {
21472
21469
  name: "energyQ4",
21473
- label: t("coBenifits:energyQ4"),
21470
+ label: t("unfcccSdTool:energyQ4"),
21474
21471
  hide: true,
21475
21472
  required: true,
21476
21473
  },
21477
21474
  {
21478
21475
  name: "energyQ5",
21479
- label: t("coBenifits:energyQ5"),
21476
+ label: t("unfcccSdTool:energyQ5"),
21480
21477
  hide: true,
21481
21478
  required: true,
21482
21479
  },
21483
21480
  ],
21484
21481
  },
21485
21482
  {
21486
- section: t("coBenifits:techTransfer"),
21483
+ section: t("unfcccSdTool:techTransfer"),
21487
21484
  fields: [
21488
21485
  {
21489
21486
  name: "techTransferQ1",
21490
- label: t("coBenifits:techTransferQ1"),
21487
+ label: t("unfcccSdTool:techTransferQ1"),
21491
21488
  hide: false,
21492
21489
  required: false,
21493
21490
  },
21494
21491
  {
21495
21492
  name: "techTransferQ2",
21496
- label: t("coBenifits:techTransferQ2"),
21493
+ label: t("unfcccSdTool:techTransferQ2"),
21497
21494
  hide: true,
21498
21495
  required: true,
21499
21496
  },
21500
21497
  {
21501
21498
  name: "techTransferQ3",
21502
- label: t("coBenifits:techTransferQ3"),
21499
+ label: t("unfcccSdTool:techTransferQ3"),
21503
21500
  hide: true,
21504
21501
  required: true,
21505
21502
  },
21506
21503
  {
21507
21504
  name: "techTransferQ4",
21508
- label: t("coBenifits:techTransferQ4"),
21505
+ label: t("unfcccSdTool:techTransferQ4"),
21509
21506
  hide: true,
21510
21507
  required: true,
21511
21508
  },
21512
21509
  {
21513
21510
  name: "techTransferQ5",
21514
- label: t("coBenifits:techTransferQ5"),
21511
+ label: t("unfcccSdTool:techTransferQ5"),
21515
21512
  hide: true,
21516
21513
  required: true,
21517
21514
  },
21518
21515
  {
21519
21516
  name: "techTransferQ6",
21520
- label: t("coBenifits:techTransferQ6"),
21517
+ label: t("unfcccSdTool:techTransferQ6"),
21521
21518
  hide: true,
21522
21519
  required: true,
21523
21520
  },
21524
21521
  ],
21525
21522
  },
21526
21523
  {
21527
- section: t("coBenifits:balanceOfPayments"),
21524
+ section: t("unfcccSdTool:balanceOfPayments"),
21528
21525
  fields: [
21529
21526
  {
21530
21527
  name: "balanceOfPaymentsQ1",
21531
- label: t("coBenifits:balanceOfPaymentsQ1"),
21528
+ label: t("unfcccSdTool:balanceOfPaymentsQ1"),
21532
21529
  hide: false,
21533
21530
  required: false,
21534
21531
  },
21535
21532
  {
21536
21533
  name: "balanceOfPaymentsQ2",
21537
- label: t("coBenifits:balanceOfPaymentsQ2"),
21534
+ label: t("unfcccSdTool:balanceOfPaymentsQ2"),
21538
21535
  hide: true,
21539
21536
  required: true,
21540
21537
  },
21541
21538
  {
21542
21539
  name: "balanceOfPaymentsQ3",
21543
- label: t("coBenifits:balanceOfPaymentsQ3"),
21540
+ label: t("unfcccSdTool:balanceOfPaymentsQ3"),
21544
21541
  hide: true,
21545
21542
  required: true,
21546
21543
  },
21547
21544
  ],
21548
21545
  },
21549
21546
  {
21550
- section: t("coBenifits:furtherInfo"),
21547
+ section: t("unfcccSdTool:furtherInfo"),
21551
21548
  fields: [
21552
21549
  {
21553
21550
  name: "furtherInfoQ1",
21554
- label: t("coBenifits:furtherInfoQ1"),
21551
+ label: t("unfcccSdTool:furtherInfoQ1"),
21555
21552
  hide: false,
21556
21553
  required: false,
21557
21554
  },
@@ -21568,7 +21565,7 @@ var Economic = function (props) {
21568
21565
  if (changedFieldName.includes("1")) {
21569
21566
  var sectionName_1 = changedFieldName.replace(/\d/g, "").replace("Q", "");
21570
21567
  var updatedEconomicDetails = __spreadArray([], economicDetails, true);
21571
- var sectionIndex = updatedEconomicDetails.findIndex(function (section) { return section.section === t("coBenifits:".concat(sectionName_1)); });
21568
+ var sectionIndex = updatedEconomicDetails.findIndex(function (section) { return section.section === t("unfcccSdTool:" + sectionName_1); });
21572
21569
  updatedEconomicDetails[sectionIndex].fields.forEach(function (field) {
21573
21570
  if (field.name !== changedFieldName) {
21574
21571
  field.hide = changedFieldValue !== RadioButtonStatus.YES;
@@ -21587,48 +21584,48 @@ var Economic = function (props) {
21587
21584
  if (economicViewData && viewOnly === true) {
21588
21585
  var updatedEconomicData = [
21589
21586
  {
21590
- section: t("coBenifits:growth"),
21587
+ section: t("unfcccSdTool:growth"),
21591
21588
  fields: [],
21592
21589
  },
21593
21590
  {
21594
- section: t("coBenifits:energy"),
21591
+ section: t("unfcccSdTool:energy"),
21595
21592
  fields: [],
21596
21593
  },
21597
21594
  {
21598
- section: t("coBenifits:techTransfer"),
21595
+ section: t("unfcccSdTool:techTransfer"),
21599
21596
  fields: [],
21600
21597
  },
21601
21598
  {
21602
- section: t("coBenifits:balanceOfPayments"),
21599
+ section: t("unfcccSdTool:balanceOfPayments"),
21603
21600
  fields: [],
21604
21601
  },
21605
21602
  {
21606
- section: t("coBenifits:furtherInfo"),
21603
+ section: t("unfcccSdTool:furtherInfo"),
21607
21604
  fields: [],
21608
21605
  },
21609
21606
  ];
21610
21607
  var _loop_1 = function (key) {
21611
21608
  var section = "";
21612
21609
  if (String(key).includes("growth")) {
21613
- section = t("coBenifits:growth");
21610
+ section = t("unfcccSdTool:growth");
21614
21611
  }
21615
21612
  else if (String(key).includes("energy")) {
21616
- section = t("coBenifits:energy");
21613
+ section = t("unfcccSdTool:energy");
21617
21614
  }
21618
21615
  else if (String(key).includes("techTransfer")) {
21619
- section = t("coBenifits:techTransfer");
21616
+ section = t("unfcccSdTool:techTransfer");
21620
21617
  }
21621
21618
  else if (String(key).includes("balanceOfPayments")) {
21622
- section = t("coBenifits:balanceOfPayments");
21619
+ section = t("unfcccSdTool:balanceOfPayments");
21623
21620
  }
21624
21621
  else if (String(key).includes("furtherInfo")) {
21625
- section = t("coBenifits:furtherInfo");
21622
+ section = t("unfcccSdTool:furtherInfo");
21626
21623
  }
21627
21624
  var economicItem = updatedEconomicData.find(function (item) { return item.section === section; });
21628
21625
  if (economicItem) {
21629
21626
  economicItem.fields.push({
21630
21627
  name: key,
21631
- label: t(key),
21628
+ label: t("unfcccSdTool:" + key),
21632
21629
  hide: false,
21633
21630
  value: economicViewData[key],
21634
21631
  });
@@ -21650,7 +21647,7 @@ var Economic = function (props) {
21650
21647
  React.createElement(Col, { span: 24 },
21651
21648
  React.createElement("div", { className: "unfccSdTool-section-divider" })),
21652
21649
  React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
21653
- React.createElement("span", null, t("coBenifits:economic"))))),
21650
+ React.createElement("span", null, t("unfcccSdTool:economic"))))),
21654
21651
  (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 :
21655
21652
  economicDetails.map(function (environmentalDetail) {
21656
21653
  var _a;
@@ -21666,188 +21663,188 @@ var Economic = function (props) {
21666
21663
  ] },
21667
21664
  React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: economicViewData && true }, economicViewData ? (React.createElement(React.Fragment, null,
21668
21665
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
21669
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("coBenifits:yes")))),
21666
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes")))),
21670
21667
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
21671
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("coBenifits:no")))),
21668
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no")))),
21672
21669
  (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
21673
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("coBenifits:na")))))) : (React.createElement(React.Fragment, null,
21670
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na")))))) : (React.createElement(React.Fragment, null,
21674
21671
  React.createElement("div", { className: "yes-no-radio-container" },
21675
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
21672
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
21676
21673
  React.createElement("div", { className: "yes-no-radio-container" },
21677
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
21674
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
21678
21675
  React.createElement("div", { className: "yes-no-radio-container" },
21679
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("coBenifits:na"))))))));
21676
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))))));
21680
21677
  })));
21681
21678
  })))));
21682
21679
  };
21683
21680
 
21684
21681
  var Social = function (props) {
21685
21682
  var onFormSubmit = props.onFormSubmit, socialViewData = props.socialViewData, viewOnly = props.viewOnly, translator = props.translator;
21686
- var t = translator;
21683
+ var t = translator.t;
21687
21684
  var form = Form.useForm()[0];
21688
21685
  var _a = useState(0); _a[0]; var setRefreshCounter = _a[1];
21689
21686
  var _b = useState(), socialDetails = _b[0], setSocialDetails = _b[1];
21690
21687
  var _c = useState(true), isFormValid = _c[0], setIsFormValid = _c[1];
21691
21688
  var SocialElementDetails = [
21692
21689
  {
21693
- title: t("coBenifits:jobs"),
21694
- label: t("coBenifits:jobRelatedMainQ"),
21690
+ title: t("unfcccSdTool:jobs"),
21691
+ label: t("unfcccSdTool:jobRelatedMainQ"),
21695
21692
  name: "jobRelatedMainQ",
21696
21693
  subItems: [
21697
21694
  {
21698
21695
  type: FormElementType.Radio,
21699
- label: t("coBenifits:jobRelatedSubQ1"),
21696
+ label: t("unfcccSdTool:jobRelatedSubQ1"),
21700
21697
  name: "jobRelatedSubQ1",
21701
21698
  },
21702
21699
  {
21703
21700
  type: FormElementType.Radio,
21704
- label: t("coBenifits:jobRelatedSubQ2"),
21701
+ label: t("unfcccSdTool:jobRelatedSubQ2"),
21705
21702
  name: "jobRelatedSubQ2",
21706
21703
  },
21707
21704
  {
21708
21705
  type: FormElementType.Radio,
21709
- label: t("coBenifits:jobRelatedSubQ3"),
21706
+ label: t("unfcccSdTool:jobRelatedSubQ3"),
21710
21707
  name: "jobRelatedSubQ3",
21711
21708
  },
21712
21709
  {
21713
21710
  type: FormElementType.Radio,
21714
- label: t("coBenifits:jobRelatedSubQ4"),
21711
+ label: t("unfcccSdTool:jobRelatedSubQ4"),
21715
21712
  name: "jobRelatedSubQ4",
21716
21713
  },
21717
21714
  {
21718
21715
  type: FormElementType.Input,
21719
- label: t("coBenifits:jobRelatedSubQ5"),
21716
+ label: t("unfcccSdTool:jobRelatedSubQ5"),
21720
21717
  name: "jobRelatedSubQ5",
21721
21718
  },
21722
21719
  {
21723
21720
  type: FormElementType.Input,
21724
- label: t("coBenifits:jobRelatedSubQ6"),
21721
+ label: t("unfcccSdTool:jobRelatedSubQ6"),
21725
21722
  name: "jobRelatedSubQ6",
21726
21723
  },
21727
21724
  {
21728
21725
  type: FormElementType.Input,
21729
- label: t("coBenifits:jobRelatedSubQ7"),
21726
+ label: t("unfcccSdTool:jobRelatedSubQ7"),
21730
21727
  name: "jobRelatedSubQ7",
21731
21728
  },
21732
21729
  ],
21733
21730
  },
21734
21731
  {
21735
- title: t("coBenifits:health"),
21736
- label: t("coBenifits:healthRelatedMainQ"),
21732
+ title: t("unfcccSdTool:health"),
21733
+ label: t("unfcccSdTool:healthRelatedMainQ"),
21737
21734
  name: "healthRelatedMainQ",
21738
21735
  subItems: [
21739
21736
  {
21740
21737
  type: FormElementType.Radio,
21741
- label: t("coBenifits:healthRelatedSubQ1"),
21738
+ label: t("unfcccSdTool:healthRelatedSubQ1"),
21742
21739
  name: "healthRelatedSubQ1",
21743
21740
  },
21744
21741
  {
21745
21742
  type: FormElementType.Radio,
21746
- label: t("coBenifits:healthRelatedSubQ2"),
21743
+ label: t("unfcccSdTool:healthRelatedSubQ2"),
21747
21744
  name: "healthRelatedSubQ2",
21748
21745
  },
21749
21746
  {
21750
21747
  type: FormElementType.Radio,
21751
- label: t("coBenifits:healthRelatedSubQ3"),
21748
+ label: t("unfcccSdTool:healthRelatedSubQ3"),
21752
21749
  name: "healthRelatedSubQ3",
21753
21750
  },
21754
21751
  {
21755
21752
  type: FormElementType.Radio,
21756
- label: t("coBenifits:healthRelatedSubQ4"),
21753
+ label: t("unfcccSdTool:healthRelatedSubQ4"),
21757
21754
  name: "healthRelatedSubQ4",
21758
21755
  },
21759
21756
  {
21760
21757
  type: FormElementType.Radio,
21761
- label: t("coBenifits:healthRelatedSubQ5"),
21758
+ label: t("unfcccSdTool:healthRelatedSubQ5"),
21762
21759
  name: "healthRelatedSubQ5",
21763
21760
  },
21764
21761
  {
21765
21762
  type: FormElementType.Radio,
21766
- label: t("coBenifits:healthRelatedSubQ6"),
21763
+ label: t("unfcccSdTool:healthRelatedSubQ6"),
21767
21764
  name: "healthRelatedSubQ6",
21768
21765
  },
21769
21766
  {
21770
21767
  type: FormElementType.Radio,
21771
- label: t("coBenifits:healthRelatedSubQ7"),
21768
+ label: t("unfcccSdTool:healthRelatedSubQ7"),
21772
21769
  name: "healthRelatedSubQ7",
21773
21770
  },
21774
21771
  {
21775
21772
  type: FormElementType.Radio,
21776
- label: t("coBenifits:healthRelatedSubQ8"),
21773
+ label: t("unfcccSdTool:healthRelatedSubQ8"),
21777
21774
  name: "healthRelatedSubQ8",
21778
21775
  },
21779
21776
  ],
21780
21777
  },
21781
21778
  {
21782
- title: t("coBenifits:educational"),
21783
- label: t("coBenifits:educationRelatedMainQ"),
21779
+ title: t("unfcccSdTool:educational"),
21780
+ label: t("unfcccSdTool:educationRelatedMainQ"),
21784
21781
  name: "educationRelatedMainQ",
21785
21782
  subItems: [
21786
21783
  {
21787
21784
  type: FormElementType.Radio,
21788
- label: t("coBenifits:educationRelatedSubQ1"),
21785
+ label: t("unfcccSdTool:educationRelatedSubQ1"),
21789
21786
  name: "educationRelatedSubQ1",
21790
21787
  },
21791
21788
  {
21792
21789
  type: FormElementType.Radio,
21793
- label: t("coBenifits:educationRelatedSubQ2"),
21790
+ label: t("unfcccSdTool:educationRelatedSubQ2"),
21794
21791
  name: "educationRelatedSubQ2",
21795
21792
  },
21796
21793
  {
21797
21794
  type: FormElementType.Radio,
21798
- label: t("coBenifits:educationRelatedSubQ3"),
21795
+ label: t("unfcccSdTool:educationRelatedSubQ3"),
21799
21796
  name: "educationRelatedSubQ3",
21800
21797
  },
21801
21798
  {
21802
21799
  type: FormElementType.Radio,
21803
- label: t("coBenifits:educationRelatedSubQ4"),
21800
+ label: t("unfcccSdTool:educationRelatedSubQ4"),
21804
21801
  name: "educationRelatedSubQ4",
21805
21802
  },
21806
21803
  ],
21807
21804
  },
21808
21805
  {
21809
- title: t("coBenifits:welfare"),
21810
- label: t("coBenifits:welfareRelatedMainQ"),
21806
+ title: t("unfcccSdTool:welfare"),
21807
+ label: t("unfcccSdTool:welfareRelatedMainQ"),
21811
21808
  name: "welfareRelatedMainQ",
21812
21809
  subItems: [
21813
21810
  {
21814
21811
  type: FormElementType.Radio,
21815
- label: t("coBenifits:welfareRelatedSubQ1"),
21812
+ label: t("unfcccSdTool:welfareRelatedSubQ1"),
21816
21813
  name: "welfareRelatedSubQ1",
21817
21814
  },
21818
21815
  {
21819
21816
  type: FormElementType.Radio,
21820
- label: t("coBenifits:welfareRelatedSubQ2"),
21817
+ label: t("unfcccSdTool:welfareRelatedSubQ2"),
21821
21818
  name: "welfareRelatedSubQ2",
21822
21819
  },
21823
21820
  {
21824
21821
  type: FormElementType.Radio,
21825
- label: t("coBenifits:welfareRelatedSubQ3"),
21822
+ label: t("unfcccSdTool:welfareRelatedSubQ3"),
21826
21823
  name: "welfareRelatedSubQ3",
21827
21824
  },
21828
21825
  {
21829
21826
  type: FormElementType.Radio,
21830
- label: t("coBenifits:welfareRelatedSubQ4"),
21827
+ label: t("unfcccSdTool:welfareRelatedSubQ4"),
21831
21828
  name: "welfareRelatedSubQ4",
21832
21829
  },
21833
21830
  {
21834
21831
  type: FormElementType.Radio,
21835
- label: t("coBenifits:welfareRelatedSubQ5"),
21832
+ label: t("unfcccSdTool:welfareRelatedSubQ5"),
21836
21833
  name: "welfareRelatedSubQ5",
21837
21834
  },
21838
21835
  {
21839
21836
  type: FormElementType.Radio,
21840
- label: t("coBenifits:welfareRelatedSubQ6"),
21837
+ label: t("unfcccSdTool:welfareRelatedSubQ6"),
21841
21838
  name: "welfareRelatedSubQ6",
21842
21839
  },
21843
21840
  {
21844
21841
  type: FormElementType.Radio,
21845
- label: t("coBenifits:welfareRelatedSubQ7"),
21842
+ label: t("unfcccSdTool:welfareRelatedSubQ7"),
21846
21843
  name: "welfareRelatedSubQ7",
21847
21844
  },
21848
21845
  {
21849
21846
  type: FormElementType.Radio,
21850
- label: t("coBenifits:welfareRelatedSubQ8"),
21847
+ label: t("unfcccSdTool:welfareRelatedSubQ8"),
21851
21848
  name: "welfareRelatedSubQ8",
21852
21849
  },
21853
21850
  ],
@@ -21906,7 +21903,7 @@ var Social = function (props) {
21906
21903
  React.createElement(Col, { span: 24 },
21907
21904
  React.createElement("div", { className: "unfccSdTool-section-divider" })),
21908
21905
  React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
21909
- React.createElement("span", null, t("coBenifits:social"))))),
21906
+ React.createElement("span", null, t("unfcccSdTool:social"))))),
21910
21907
  viewOnly && !socialViewData && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })),
21911
21908
  ((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) {
21912
21909
  return (React.createElement(React.Fragment, null,
@@ -21917,11 +21914,11 @@ var Social = function (props) {
21917
21914
  React.createElement(Form.Item, { className: "mg-left-2", label: element.label, name: element.name },
21918
21915
  React.createElement(Radio.Group, { size: "middle", onChange: onRadioStatusChanged },
21919
21916
  React.createElement("div", { className: "radio-container" },
21920
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
21917
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
21921
21918
  React.createElement("div", { className: "radio-container" },
21922
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
21919
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
21923
21920
  React.createElement("div", { className: "radio-container" },
21924
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:na"))))),
21921
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))),
21925
21922
  form.getFieldValue(element.name) ===
21926
21923
  RadioButtonStatus.YES &&
21927
21924
  element.subItems.map(function (elementItem) {
@@ -21934,11 +21931,11 @@ var Social = function (props) {
21934
21931
  ] },
21935
21932
  React.createElement(Radio.Group, { size: "middle" },
21936
21933
  React.createElement("div", { className: "radio-container" },
21937
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
21934
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
21938
21935
  React.createElement("div", { className: "radio-container" },
21939
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
21936
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
21940
21937
  React.createElement("div", { className: "radio-container" },
21941
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:na"))))));
21938
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))));
21942
21939
  }
21943
21940
  else if (elementItem.type === FormElementType.Input) {
21944
21941
  return (React.createElement(Form.Item, { className: "mg-left-4", labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: elementItem.label, name: elementItem.name },
@@ -21974,89 +21971,88 @@ var Social = function (props) {
21974
21971
 
21975
21972
  var SocialEnvironmentalRisk = function (props) {
21976
21973
  var onFormSubmit = props.onFormSubmit, SocialEnvironmentalRiskData = props.SocialEnvironmentalRiskData, viewOnly = props.viewOnly, translator = props.translator;
21977
- translator.setDefaultNamespace("socialEnvironmentalRisk");
21978
21974
  var t = translator.t;
21979
21975
  var form = Form.useForm()[0];
21980
21976
  var _a = useState(), socialEnvironmentalFormDetails = _a[0], setSocialEnvironmentalFormDetails = _a[1];
21981
21977
  var _b = useState([
21982
21978
  {
21983
- title: t("humanRightsSubHeader"),
21979
+ title: t("socialEnvironmentalRisk:humanRightsSubHeader"),
21984
21980
  isTitleVisible: true,
21985
21981
  subItems: [
21986
21982
  {
21987
- title: t("humanRights"),
21983
+ title: t("socialEnvironmentalRisk:humanRights"),
21988
21984
  isTitleVisible: true,
21989
21985
  subItems: [
21990
21986
  {
21991
- label: t("humanRightsQ1"),
21987
+ label: t("socialEnvironmentalRisk:humanRightsQ1"),
21992
21988
  name: "humanRightsQ1",
21993
21989
  },
21994
21990
  {
21995
- label: t("humanRightsQ2"),
21991
+ label: t("socialEnvironmentalRisk:humanRightsQ2"),
21996
21992
  name: "humanRightsQ2",
21997
21993
  },
21998
21994
  {
21999
- label: t("humanRightsQ3"),
21995
+ label: t("socialEnvironmentalRisk:humanRightsQ3"),
22000
21996
  name: "humanRightsQ3",
22001
21997
  },
22002
21998
  {
22003
- label: t("humanRightsQ4"),
21999
+ label: t("socialEnvironmentalRisk:humanRightsQ4"),
22004
22000
  name: "humanRightsQ4",
22005
22001
  },
22006
22002
  {
22007
- label: t("humanRightsQ5"),
22003
+ label: t("socialEnvironmentalRisk:humanRightsQ5"),
22008
22004
  name: "humanRightsQ5",
22009
22005
  },
22010
22006
  {
22011
- label: t("humanRightsQ6"),
22007
+ label: t("socialEnvironmentalRisk:humanRightsQ6"),
22012
22008
  name: "humanRightsQ6",
22013
22009
  },
22014
22010
  {
22015
- label: t("humanRightsQ7"),
22011
+ label: t("socialEnvironmentalRisk:humanRightsQ7"),
22016
22012
  name: "humanRightsQ7",
22017
22013
  },
22018
22014
  ],
22019
22015
  },
22020
22016
  {
22021
- title: t("genderEqalityWomenEmpower"),
22017
+ title: t("socialEnvironmentalRisk:genderEqalityWomenEmpower"),
22022
22018
  isTitleVisible: true,
22023
22019
  subItems: [
22024
22020
  {
22025
- label: t("genderEqalityWomenEmpowerQ1"),
22021
+ label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ1"),
22026
22022
  name: "genderEqalityWomenEmpowerQ1",
22027
22023
  },
22028
22024
  {
22029
- label: t("genderEqalityWomenEmpowerQ2"),
22025
+ label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ2"),
22030
22026
  name: "genderEqalityWomenEmpowerQ2",
22031
22027
  },
22032
22028
  {
22033
- label: t("genderEqalityWomenEmpowerQ3"),
22029
+ label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ3"),
22034
22030
  name: "genderEqalityWomenEmpowerQ3",
22035
22031
  },
22036
22032
  {
22037
- label: t("genderEqalityWomenEmpowerQ4"),
22033
+ label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ4"),
22038
22034
  name: "genderEqalityWomenEmpowerQ4",
22039
22035
  },
22040
22036
  {
22041
- label: t("genderEqalityWomenEmpowerQ5"),
22037
+ label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ5"),
22042
22038
  name: "genderEqalityWomenEmpowerQ5",
22043
22039
  },
22044
22040
  ],
22045
22041
  },
22046
22042
  {
22047
- title: t("accountability"),
22043
+ title: t("socialEnvironmentalRisk:accountability"),
22048
22044
  isTitleVisible: true,
22049
22045
  subItems: [
22050
22046
  {
22051
- label: t("accountabilityQ1"),
22047
+ label: t("socialEnvironmentalRisk:accountabilityQ1"),
22052
22048
  name: "accountabilityQ1",
22053
22049
  },
22054
22050
  {
22055
- label: t("accountabilityQ2"),
22051
+ label: t("socialEnvironmentalRisk:accountabilityQ2"),
22056
22052
  name: "AccountabilityQ2",
22057
22053
  },
22058
22054
  {
22059
- label: t("accountabilityQ3"),
22055
+ label: t("socialEnvironmentalRisk:accountabilityQ3"),
22060
22056
  name: "accountabilityQ3",
22061
22057
  },
22062
22058
  ],
@@ -22064,277 +22060,277 @@ var SocialEnvironmentalRisk = function (props) {
22064
22060
  ],
22065
22061
  },
22066
22062
  {
22067
- title: t("standardSubHeader"),
22063
+ title: t("socialEnvironmentalRisk:standardSubHeader"),
22068
22064
  isTitleVisible: true,
22069
22065
  subItems: [
22070
22066
  {
22071
- title: t("standard1"),
22067
+ title: t("socialEnvironmentalRisk:standard1"),
22072
22068
  isTitleVisible: true,
22073
22069
  subItems: [
22074
22070
  {
22075
- label: t("standard1Q1"),
22071
+ label: t("socialEnvironmentalRisk:standard1Q1"),
22076
22072
  name: "standard1Q1",
22077
22073
  },
22078
22074
  {
22079
- label: t("standard1Q2"),
22075
+ label: t("socialEnvironmentalRisk:standard1Q2"),
22080
22076
  name: "standard1Q2",
22081
22077
  },
22082
22078
  {
22083
- label: t("standard1Q3"),
22079
+ label: t("socialEnvironmentalRisk:standard1Q3"),
22084
22080
  name: "standard1Q3",
22085
22081
  },
22086
22082
  {
22087
- label: t("standard1Q4"),
22083
+ label: t("socialEnvironmentalRisk:standard1Q4"),
22088
22084
  name: "standard1Q4",
22089
22085
  },
22090
22086
  {
22091
- label: t("standard1Q5"),
22087
+ label: t("socialEnvironmentalRisk:standard1Q5"),
22092
22088
  name: "standard1Q5",
22093
22089
  },
22094
22090
  {
22095
- label: t("standard1Q6"),
22091
+ label: t("socialEnvironmentalRisk:standard1Q6"),
22096
22092
  name: "standard1Q6",
22097
22093
  },
22098
22094
  {
22099
- label: t("standard1Q7"),
22095
+ label: t("socialEnvironmentalRisk:standard1Q7"),
22100
22096
  name: "standard1Q7",
22101
22097
  },
22102
22098
  {
22103
- label: t("standard1Q8"),
22099
+ label: t("socialEnvironmentalRisk:standard1Q8"),
22104
22100
  name: "standard1Q8",
22105
22101
  },
22106
22102
  {
22107
- label: t("standard1Q9"),
22103
+ label: t("socialEnvironmentalRisk:standard1Q9"),
22108
22104
  name: "standard1Q9",
22109
22105
  },
22110
22106
  {
22111
- label: t("standard1Q10"),
22107
+ label: t("socialEnvironmentalRisk:standard1Q10"),
22112
22108
  name: "standard1Q10",
22113
22109
  },
22114
22110
  {
22115
- label: t("standard1Q11"),
22111
+ label: t("socialEnvironmentalRisk:standard1Q11"),
22116
22112
  name: "standard1Q11",
22117
22113
  },
22118
22114
  {
22119
- label: t("standard1Q12"),
22115
+ label: t("socialEnvironmentalRisk:standard1Q12"),
22120
22116
  name: "standard1Q12",
22121
22117
  },
22122
22118
  {
22123
- label: t("standard1Q13"),
22119
+ label: t("socialEnvironmentalRisk:standard1Q13"),
22124
22120
  name: "standard1Q13",
22125
22121
  },
22126
22122
  {
22127
- label: t("standard1Q14"),
22123
+ label: t("socialEnvironmentalRisk:standard1Q14"),
22128
22124
  name: "standard1Q14",
22129
22125
  },
22130
22126
  ],
22131
22127
  },
22132
22128
  {
22133
- title: t("standard2"),
22129
+ title: t("socialEnvironmentalRisk:standard2"),
22134
22130
  isTitleVisible: true,
22135
22131
  subItems: [
22136
22132
  {
22137
- label: t("standard2Q1"),
22133
+ label: t("socialEnvironmentalRisk:standard2Q1"),
22138
22134
  name: "standard2Q1",
22139
22135
  },
22140
22136
  {
22141
- label: t("standard2Q2"),
22137
+ label: t("socialEnvironmentalRisk:standard2Q2"),
22142
22138
  name: "standard2Q2",
22143
22139
  },
22144
22140
  {
22145
- label: t("standard2Q3"),
22141
+ label: t("socialEnvironmentalRisk:standard2Q3"),
22146
22142
  name: "standard2Q3",
22147
22143
  },
22148
22144
  {
22149
- label: t("standard2Q4"),
22145
+ label: t("socialEnvironmentalRisk:standard2Q4"),
22150
22146
  name: "standard2Q4",
22151
22147
  },
22152
22148
  ],
22153
22149
  },
22154
22150
  {
22155
- title: t("standard3"),
22151
+ title: t("socialEnvironmentalRisk:standard3"),
22156
22152
  isTitleVisible: true,
22157
22153
  subItems: [
22158
22154
  {
22159
- label: t("standard3Q1"),
22155
+ label: t("socialEnvironmentalRisk:standard3Q1"),
22160
22156
  name: "standard3Q1",
22161
22157
  },
22162
22158
  {
22163
- label: t("standard3Q2"),
22159
+ label: t("socialEnvironmentalRisk:standard3Q2"),
22164
22160
  name: "standard3Q2",
22165
22161
  },
22166
22162
  {
22167
- label: t("standard3Q3"),
22163
+ label: t("socialEnvironmentalRisk:standard3Q3"),
22168
22164
  name: "standard3Q3",
22169
22165
  },
22170
22166
  {
22171
- label: t("standard3Q4"),
22167
+ label: t("socialEnvironmentalRisk:standard3Q4"),
22172
22168
  name: "standard3Q4",
22173
22169
  },
22174
22170
  {
22175
- label: t("standard3Q5"),
22171
+ label: t("socialEnvironmentalRisk:standard3Q5"),
22176
22172
  name: "standard3Q5",
22177
22173
  },
22178
22174
  {
22179
- label: t("standard3Q6"),
22175
+ label: t("socialEnvironmentalRisk:standard3Q6"),
22180
22176
  name: "standard3Q6",
22181
22177
  },
22182
22178
  {
22183
- label: t("standard3Q7"),
22179
+ label: t("socialEnvironmentalRisk:standard3Q7"),
22184
22180
  name: "standard3Q7",
22185
22181
  },
22186
22182
  {
22187
- label: t("standard3Q8"),
22183
+ label: t("socialEnvironmentalRisk:standard3Q8"),
22188
22184
  name: "standard3Q8",
22189
22185
  },
22190
22186
  ],
22191
22187
  },
22192
22188
  {
22193
- title: t("standard4"),
22189
+ title: t("socialEnvironmentalRisk:standard4"),
22194
22190
  isTitleVisible: true,
22195
22191
  subItems: [
22196
22192
  {
22197
- label: t("standard4Q1"),
22193
+ label: t("socialEnvironmentalRisk:standard4Q1"),
22198
22194
  name: "standard4Q1",
22199
22195
  },
22200
22196
  {
22201
- label: t("standard4Q2"),
22197
+ label: t("socialEnvironmentalRisk:standard4Q2"),
22202
22198
  name: "standard4Q2",
22203
22199
  },
22204
22200
  {
22205
- label: t("standard4Q3"),
22201
+ label: t("socialEnvironmentalRisk:standard4Q3"),
22206
22202
  name: "standard4Q3",
22207
22203
  },
22208
22204
  {
22209
- label: t("standard4Q4"),
22205
+ label: t("socialEnvironmentalRisk:standard4Q4"),
22210
22206
  name: "standard4Q4",
22211
22207
  },
22212
22208
  {
22213
- label: t("standard4Q5"),
22209
+ label: t("socialEnvironmentalRisk:standard4Q5"),
22214
22210
  name: "standard4Q5",
22215
22211
  },
22216
22212
  ],
22217
22213
  },
22218
22214
  {
22219
- title: t("standard5"),
22215
+ title: t("socialEnvironmentalRisk:standard5"),
22220
22216
  isTitleVisible: true,
22221
22217
  subItems: [
22222
22218
  {
22223
- label: t("standard5Q1"),
22219
+ label: t("socialEnvironmentalRisk:standard5Q1"),
22224
22220
  name: "standard5Q1",
22225
22221
  },
22226
22222
  {
22227
- label: t("standard5Q2"),
22223
+ label: t("socialEnvironmentalRisk:standard5Q2"),
22228
22224
  name: "standard5Q2",
22229
22225
  },
22230
22226
  {
22231
- label: t("standard5Q3"),
22227
+ label: t("socialEnvironmentalRisk:standard5Q3"),
22232
22228
  name: "standard5Q3",
22233
22229
  },
22234
22230
  {
22235
- label: t("standard5Q4"),
22231
+ label: t("socialEnvironmentalRisk:standard5Q4"),
22236
22232
  name: "standard5Q4",
22237
22233
  },
22238
22234
  ],
22239
22235
  },
22240
22236
  {
22241
- title: t("standard6"),
22237
+ title: t("socialEnvironmentalRisk:standard6"),
22242
22238
  isTitleVisible: true,
22243
22239
  subItems: [
22244
22240
  {
22245
- label: t("standard6Q1"),
22241
+ label: t("socialEnvironmentalRisk:standard6Q1"),
22246
22242
  name: "standard6Q1",
22247
22243
  },
22248
22244
  {
22249
- label: t("standard6Q2"),
22245
+ label: t("socialEnvironmentalRisk:standard6Q2"),
22250
22246
  name: "standard6Q2",
22251
22247
  },
22252
22248
  {
22253
- label: t("standard6Q3"),
22249
+ label: t("socialEnvironmentalRisk:standard6Q3"),
22254
22250
  name: "standard6Q3",
22255
22251
  },
22256
22252
  {
22257
- label: t("standard6Q4"),
22253
+ label: t("socialEnvironmentalRisk:standard6Q4"),
22258
22254
  name: "standard6Q4",
22259
22255
  },
22260
22256
  {
22261
- label: t("standard6Q5"),
22257
+ label: t("socialEnvironmentalRisk:standard6Q5"),
22262
22258
  name: "standard6Q5",
22263
22259
  },
22264
22260
  {
22265
- label: t("standard6Q6"),
22261
+ label: t("socialEnvironmentalRisk:standard6Q6"),
22266
22262
  name: "standard6Q6",
22267
22263
  },
22268
22264
  {
22269
- label: t("standard6Q7"),
22265
+ label: t("socialEnvironmentalRisk:standard6Q7"),
22270
22266
  name: "standard6Q7",
22271
22267
  },
22272
22268
  {
22273
- label: t("standard6Q8"),
22269
+ label: t("socialEnvironmentalRisk:standard6Q8"),
22274
22270
  name: "standard6Q8",
22275
22271
  },
22276
22272
  {
22277
- label: t("standard6Q9"),
22273
+ label: t("socialEnvironmentalRisk:standard6Q9"),
22278
22274
  name: "standard6Q9",
22279
22275
  },
22280
22276
  ],
22281
22277
  },
22282
22278
  {
22283
- title: t("standard7"),
22279
+ title: t("socialEnvironmentalRisk:standard7"),
22284
22280
  isTitleVisible: true,
22285
22281
  subItems: [
22286
22282
  {
22287
- label: t("standard7Q1"),
22283
+ label: t("socialEnvironmentalRisk:standard7Q1"),
22288
22284
  name: "standard7Q1",
22289
22285
  },
22290
22286
  {
22291
- label: t("standard7Q2"),
22287
+ label: t("socialEnvironmentalRisk:standard7Q2"),
22292
22288
  name: "standard7Q2",
22293
22289
  },
22294
22290
  {
22295
- label: t("standard7Q3"),
22291
+ label: t("socialEnvironmentalRisk:standard7Q3"),
22296
22292
  name: "standard7Q3",
22297
22293
  },
22298
22294
  {
22299
- label: t("standard7Q4"),
22295
+ label: t("socialEnvironmentalRisk:standard7Q4"),
22300
22296
  name: "standard7Q4",
22301
22297
  },
22302
22298
  {
22303
- label: t("standard7Q5"),
22299
+ label: t("socialEnvironmentalRisk:standard7Q5"),
22304
22300
  name: "standard7Q5",
22305
22301
  },
22306
22302
  {
22307
- label: t("standard7Q6"),
22303
+ label: t("socialEnvironmentalRisk:standard7Q6"),
22308
22304
  name: "standard7Q6",
22309
22305
  },
22310
22306
  ],
22311
22307
  },
22312
22308
  {
22313
- title: t("standard8"),
22309
+ title: t("socialEnvironmentalRisk:standard8"),
22314
22310
  isTitleVisible: true,
22315
22311
  subItems: [
22316
22312
  {
22317
- label: t("standard8Q1"),
22313
+ label: t("socialEnvironmentalRisk:standard8Q1"),
22318
22314
  name: "standard8Q1",
22319
22315
  },
22320
22316
  {
22321
- label: t("standard8Q2"),
22317
+ label: t("socialEnvironmentalRisk:standard8Q2"),
22322
22318
  name: "standard8Q2",
22323
22319
  },
22324
22320
  {
22325
- label: t("standard8Q3"),
22321
+ label: t("socialEnvironmentalRisk:standard8Q3"),
22326
22322
  name: "standard8Q3",
22327
22323
  },
22328
22324
  {
22329
- label: t("standard8Q4"),
22325
+ label: t("socialEnvironmentalRisk:standard8Q4"),
22330
22326
  name: "standard8Q4",
22331
22327
  },
22332
22328
  {
22333
- label: t("standard8Q5"),
22329
+ label: t("socialEnvironmentalRisk:standard8Q5"),
22334
22330
  name: "standard8Q5",
22335
22331
  },
22336
22332
  {
22337
- label: t("standard8Q6"),
22333
+ label: t("socialEnvironmentalRisk:standard8Q6"),
22338
22334
  name: "standard8Q6",
22339
22335
  },
22340
22336
  ],
@@ -22395,9 +22391,9 @@ var SocialEnvironmentalRisk = function (props) {
22395
22391
  return (React.createElement(Form.Item, { className: "mg-left-2 form-item", label: element.label, name: element.name },
22396
22392
  React.createElement(Radio.Group, { size: "middle" },
22397
22393
  React.createElement("div", { className: "radio-container" },
22398
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
22394
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("socialEnvironmentalRisk:yes"))),
22399
22395
  React.createElement("div", { className: "radio-container" },
22400
- React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))))));
22396
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("socialEnvironmentalRisk:no"))))));
22401
22397
  })));
22402
22398
  })));
22403
22399
  }),
@@ -22429,7 +22425,6 @@ var CoBenifitsComponent = function (props) {
22429
22425
  var _b = useState(), coBenefitDetails = _b[0], setCoBenefitDetails = _b[1];
22430
22426
  var _c = useState(true), isSocialFormValid = _c[0], setIsSocialFormValid = _c[1];
22431
22427
  var _d = useState(true), isAssessmentFormValid = _d[0], setIsAssessmentFormValid = _d[1];
22432
- translator.setDefaultNamespace("coBenifits");
22433
22428
  var t = translator.t;
22434
22429
  var onSdgGoalsFormSubmit = function (sdgGoalsDetails) {
22435
22430
  setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { sdgGoals: sdgGoalsDetails })); });
@@ -22521,7 +22516,7 @@ var CoBenifitsComponent = function (props) {
22521
22516
  ? (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.economic)
22522
22517
  ? coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.economic
22523
22518
  : {}
22524
- : undefined, viewOnly: viewOnly || false, translator: t }))),
22519
+ : undefined, viewOnly: viewOnly || false, translator: translator }))),
22525
22520
  },
22526
22521
  {
22527
22522
  label: t("coBenifits:assessment"),