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

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